@clypra-studio/engine 2.0.0 → 2.2.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/dist/captions/index.cjs +16 -0
- package/dist/captions/index.cjs.map +1 -1
- package/dist/captions/index.d.cts +4 -0
- package/dist/captions/index.d.ts +4 -0
- package/dist/captions/index.js +1 -1
- package/dist/{chunk-ZV3RQAUJ.js → chunk-3AVGIISI.js} +175 -11
- package/dist/chunk-3AVGIISI.js.map +1 -0
- package/dist/{chunk-YBOYDQU5.js → chunk-4AT7MAXU.js} +9 -3
- package/dist/chunk-4AT7MAXU.js.map +1 -0
- package/dist/{chunk-MVUSVC4T.js → chunk-5DNPTBGA.js} +17 -1
- package/dist/{chunk-MVUSVC4T.js.map → chunk-5DNPTBGA.js.map} +1 -1
- package/dist/{chunk-V5VSY64D.js → chunk-IZH6P7WL.js} +2 -2
- package/dist/{index-Qc3rcMrW.d.ts → index-BRT37RMX.d.ts} +21 -6
- package/dist/{index-9XU-qEO-.d.cts → index-Nn5el7W0.d.cts} +21 -6
- package/dist/index.cjs +201 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +12 -5
- package/dist/index.d.ts +12 -5
- package/dist/index.js +24 -20
- package/dist/index.js.map +1 -1
- package/dist/rendering/index.cjs +179 -11
- 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 +2 -2
- package/dist/textEffects/index.cjs +8 -2
- package/dist/textEffects/index.cjs.map +1 -1
- package/dist/textEffects/index.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-YBOYDQU5.js.map +0 -1
- package/dist/chunk-ZV3RQAUJ.js.map +0 -1
- /package/dist/{chunk-V5VSY64D.js.map → chunk-IZH6P7WL.js.map} +0 -0
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 { B as BubbleAppearance, d as BubbleAssetDefinition, e as BubblePathCommand, f as BubbleRenderMode, g as BubbleRenderOptions, h as BubbleShape, i as BubbleTailPosition, j as BubbleTailSide, k as BubbleTexture, l as CANONICAL_RENDERER_VERSION, m as CANONICAL_SCHEMA_VERSION, n as CanonicalRenderContext, o as CanonicalRenderInput, p as CanonicalRenderResult, q as CapabilityReport, r as CapabilityStatus, s as CompiledTemplateRenderLayer, E as EvaluatedTemplateScene, F as FreeformBubbleDefinition, P as ParametricBubbleDefinition, t as PublishedRevision, u as RenderCapability, v as RenderDiagnostic, w as RenderDiagnostics, x as RenderEnvironment, y as RenderIdentity, z as RenderTarget, S as SceneDocumentV2, A as TEXT_TEMPLATE_KIND, D as TEXT_TEMPLATE_RENDERER_VERSION, G as TEXT_TEMPLATE_SCHEMA_VERSION, H as TemplateAssetRef, I as TemplateBackgroundPanel, J as TemplateCapabilityReport, K as TemplateContainerNode, L as TemplateContainerNodeStyle, M as TemplateControl, N as TemplateControlConstraints, O as
|
|
5
|
+
import { R as RenderPlan, T as TextTemplateArtifact, a as ResolveTemplateControlValuesOptions, b as TemplateCustomization, c as TemplateRenderContext, C as CompiledTextTemplate } from './index-Nn5el7W0.cjs';
|
|
6
|
+
export { B as BubbleAppearance, d as BubbleAssetDefinition, e as BubblePathCommand, f as BubbleRenderMode, g as BubbleRenderOptions, h as BubbleShape, i as BubbleTailPosition, j as BubbleTailSide, k as BubbleTexture, l as CANONICAL_RENDERER_VERSION, m as CANONICAL_SCHEMA_VERSION, n as CanonicalRenderContext, o as CanonicalRenderInput, p as CanonicalRenderResult, q as CapabilityReport, r as CapabilityStatus, s as CompiledTemplateRenderLayer, E as EvaluatedTemplateScene, F as FreeformBubbleDefinition, P as ParametricBubbleDefinition, t as PublishedRevision, u as RenderCapability, v as RenderDiagnostic, w as RenderDiagnostics, x as RenderEnvironment, y as RenderIdentity, z as RenderTarget, S as SceneDocumentV2, A as TEXT_TEMPLATE_KIND, D as TEXT_TEMPLATE_RENDERER_VERSION, G as TEXT_TEMPLATE_SCHEMA_VERSION, H as TemplateAssetRef, I as TemplateBackgroundPanel, J as TemplateCapabilityReport, K as TemplateContainerNode, L as TemplateContainerNodeStyle, M as TemplateControl, N as TemplateControlConstraints, O as TemplateControlEnumMapTransform, Q as TemplateControlLinearTransform, U as TemplateControlOption, V as TemplateControlTarget, W as TemplateControlTransform, X as TemplateControlType, Y as TemplateDependencyManifest, Z as TemplateDurationPolicy, _ as TemplateFontRef, $ as TemplateImageNode, a0 as TemplateLayerV2, a1 as TemplateMetadata, a2 as TemplateNode, a3 as TemplateNodeAnimation, a4 as TemplatePreviewArtifacts, a5 as TemplatePropertyKeyframes, a6 as TemplateProtectedRegion, a7 as TemplateRenderTarget, a8 as TemplateRevision, a9 as TemplateShapeNode, aa as TemplateShapeNodeStyle, ab as TemplateStyleRef, ac as TemplateTextNode, ad as TemplateTextNodeStyle, ae as TemplateTimelineMarker, af as TemplateTiming, ag as TextBubbleCategory, ah as TextBubbleLayout, ai as TextBubblePadding, aj as TextBubblePreset, ak as TextEffectRenderInput, al as TextTemplateCanvas, am as TextTemplateClip, an as TextTemplateDocument, ao as TextTemplateDocumentV2, ap as TextTemplateFlexLayout, aq as TextTemplateRenderInput, ar as canonicalContentHash, as as canonicalizeSceneDocument, at as compileBubblePath, au as compileBubbleSvg, av as createBubbleAssetDefinition, aw as createFreeformBubbleAssetDefinition, ax as drawChalkSpeechBubble, ay as drawComicBurst, az as drawRibbonBanner, aA as drawSpeechBubble, aB as drawThoughtCloud, aC as drawTornPaper, aD as evaluateTextEffect, aE as evaluateTextTemplate, aF as getRenderCapabilities, aG as getTextTemplateControls, aH as normalizeTextEffect, aI as normalizeTextTemplate, aJ as pseudoNoise, aK as renderBubbleAssetDefinition, aL as renderBubbleBackground, aM as renderBubblePresetBackground, aN as renderCanonicalToCanvas, aO as renderTextEffectToCanvas, aP as renderTextTemplateToCanvas, aQ as resolveBubbleLayout, aR as resolveTemplateFontFamily, aS as resolveTextTemplateArtifact, aT as validateBubbleAssetDefinition } from './index-Nn5el7W0.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';
|
|
@@ -3265,11 +3265,18 @@ interface TextTemplateDiagnostic {
|
|
|
3265
3265
|
message: string;
|
|
3266
3266
|
nodeId?: string;
|
|
3267
3267
|
}
|
|
3268
|
-
|
|
3269
|
-
|
|
3268
|
+
interface TextTemplateValidationOptions {
|
|
3269
|
+
/** Enable publish-time checks for legacy primary control paths and types. */
|
|
3270
|
+
strictControlTargets?: boolean;
|
|
3271
|
+
}
|
|
3272
|
+
declare function validateTextTemplateArtifact(artifact: TextTemplateArtifact, options?: TextTemplateValidationOptions): TextTemplateDiagnostic[];
|
|
3273
|
+
declare function assertValidTextTemplateArtifact(artifact: TextTemplateArtifact, options?: TextTemplateValidationOptions): void;
|
|
3270
3274
|
|
|
3271
3275
|
declare function compileTextTemplate(artifact: TextTemplateArtifact, context: TemplateRenderContext): CompiledTextTemplate;
|
|
3272
3276
|
|
|
3277
|
+
declare function isTextTemplateRendererVersionNewer(required: string, current?: "1.6.0"): boolean;
|
|
3278
|
+
declare function assertCompatibleTextTemplateRenderer(artifact: TextTemplateArtifact, current?: "1.6.0"): void;
|
|
3279
|
+
|
|
3273
3280
|
/**
|
|
3274
3281
|
* @deprecated This file has been moved to @clypra/runtime/project
|
|
3275
3282
|
*
|
|
@@ -7240,4 +7247,4 @@ declare function calculateSha256(data: Uint8Array | ArrayBuffer | string): Promi
|
|
|
7240
7247
|
/** Package version */
|
|
7241
7248
|
declare const VERSION = "1.4.0";
|
|
7242
7249
|
|
|
7243
|
-
export { ASPECT_RATIO_PRESETS, type AddBreakpointCommand, type AddDataPreviewSetCommand, type AddNodeCommand, type AddTimelineMarkerCommand, type AddVariableCommand, type AlignmentGuide, type AlignmentMode, type AnchorSide, type AnchorXMode, type AnchorYMode, type AnimBuildOpts, type AnimKeyframe, AnimTrack, type AnimTrackDef, type AnimatableParamDef, AnimatableValue, type AnimationCategory, type AnimationDiagnostic, type AnimationDiagnosticSeverity, type AnimationEvaluationOptions, AnimationPresetSchema, AnimationRuntime, AnimationSchema, type AnimationStartSpec, type AnimationState, AnimationValidator, type AnnotationNode, type ArcGeometryOutput, type AssetHandle, type AssetKind, type AssetManifest, type AssetRef, AssetRegistry$1 as AssetRegistry, type AssetScanResult, type AssetSource, type AudioNode, type AudioPlaybackConfig, type AvatarNode, type AvoidRegionKind, type AxisConfig, BUILTIN_CANVAS_TEMPLATES, type BarGeometryItem, type BaseCommand, type BaseEditorCommand, type BatchCommand, type BatchCommandsCommand, type BatchInjection, type BehaviorKind, type BehaviorSpec, BezierControlPoints, type BindingDefinition, type BodySegmentationOptions, type BodySegmentationRequest, type BodySegmentationResponse, type BodySegmentationRuntime, type BodySegmentationRuntimeConfig, type BoundingBox, BoundingBoxSchema, type BoundingRegion, type BreadcrumbItem, type Breakpoint, type BreakpointSet, COMPOSITION_PRESETS, type CalloutNode, CanvasDevice, type CanvasSnapResult, type ChartAnimationConfig, type ChartBarStyle, type ChartNode, type ChartScale, type ChartSeries, type ChartType, type ClipConform, type ClipSegment, type CodeOverlayContent, type CodeSmartOverlayContent, type ColumnDefinition, type Command, type CommandBuffer, CommandBufferBuilder, type CommandExecutionResult, CommandExecutor, CommandHistory, type CommandHistoryOptions, type CommandType, type ComparisonItem, type ComparisonOverlayContent, type ComparisonSmartOverlayContent, CompiledTextTemplate, type ComponentCategory, type ComponentDefinition, type ComponentNode, type CompositionPreset, type ComputedCell, type ComputedColumn, type ComputedNodeBounds, type ComputedRow, type ComputedSplitUnitTransform, type ConformMode, type ConnectorNode, type ContainerNode, type CountUpEasing, DEFAULT_TEXT_STYLE, DataBindingAuthoringEngine, DataBindingEngine, type DataBindingRule, type DataPreviewSet, type DeleteNodeCommand, type DeleteNodesCommand, type DependencyGraph, type DetachComponentCommand, type DimensionMode, type DividerNode, type DocumentCommand, DocumentMigrator, type DocumentPoint, DocumentValidator, type DocumentVariable, type DotLottieManifest, type DrawPerCharTextOptions, type DuplicateNodesCommand, EMPHASIS_PRESETS, ENTRANCE_PRESETS, EXIT_PRESETS, EXPORT_PROFILE_PRESETS, type EasingControlPoint, type EditorAddNodeCommand, type EditorCommand, EditorCommandSystem, type EditorCommandType, type EditorExecutionResult, EffectBevelSchema, EffectFillSchema, EffectFullDefinitionSchema, EffectGlowSchema, EffectIndexItemSchema, type EffectInstance, EffectLayer, EffectPanelSchema, EffectShadowSchema, EffectStackSchema, EffectStrokeSchema, type EncodedFileEntry, type EncodedOutput, type EvaluatedBroadcastFrame, type EvaluatedContent, type EvaluatedExportFrame, type EvaluatedMilestone, type EvaluatedNode, type EvaluatedNodeState, type EvaluatedScene, type EvaluatedSceneState, type EvaluatedStyle, type EvaluatedThreshold, type EvaluatedTransform, type EvaluatedVideoStateAtTime, type EvaluationDiagnostic, type ExecutionPlanner, type ExecutionPolicy, type ExecutionQuality, ExportAbortError, type ExportConfig, type ExportDiagnosticCode, type ExportDiagnosticSeverity, type ExportFormat, type ExportFrameDescriptor, ExportJob, type ExportJobRecord, type ExportProfile, type ExportProgress, type ExportValidationDiagnostic, ExportValidator, FONT_WEIGHT_OPTIONS, type FillType, type FocalPoint$1 as FocalPoint, type FontRef, FontRegistry, FontSchema, type FontSpec, type FrameGraph, FrameGraphBuilder, type FrameNode, type GaugeNode, type GaugeThreshold, GifEncoder, type GifExportOptions, type GifFrame, GlowLayer, type GradientDir, type GradientNode, GradientStop, GradientStopSchema, GraphValidator, GridEngine, type GroupNodesCommand, type HandleType, type IconNode, type ImageFitMode, type ImageFittingInput, type ImageFittingResult, ImageLayerSchema, type JobChangeListener, type JobStatus, Keyframe, type KeyframeTrack, LOOP_PRESETS, LOTTIE_ANIM_PRESETS, LOTTIE_TEMPLATE_PRESETS, LayerAnimationSchema, type LayoutComputedState, LayoutEngine, type LayoutMode, type LineNode, type ListOverlayContent, type ListOverlayItem, type ListSmartOverlayContent, LiveBroadcastBridge, type LiveBroadcastOptions, type LottieAnimPreset, type LottieFileInfo, type LottieFontEntry, type LottieFontUsage, type LottieGradientStop, type LottieKeyframe, type LottieNode, type LottiePropertyPath, type LottieScanResult, type LottieTemplatePreset, type LowerThirdOverlayContent, type LowerThirdSmartOverlayContent, MAX_ASSET_BYTES, MAX_LOTTIE_BYTES, type MediaEncoder, MediaEncoderRegistry, type MediaFitMode, MediaImageEngine, type MediaLayout, type MetricDelta, MetricEngine, type MetricEvaluationResult, type MetricFormatOptions, type MetricNode, type MilestoneItem, type MotionPreset, type MotionPresetDefinition, type MotionPresetParameter, MotionPresetRegistry, type MoveNodesCommand, type Mp4ExportOptions, Mp4VideoEncoder, type NodeAnimationRules, type NodeConstraints, type NodeDefinition, type NodeLayoutRules, NodeRegistry, type NodeSizingPolicy, type NodeStartTransform, type NodeStyleRules, type NormalizedCrop, NullBackend, type OverlayDocument, type ParsedTextLayer, type PlaybackDirection, type PlaybackMode, PngSequenceEncoder, type PngSequenceFrame, type PngSequenceOptions, Preset, type PrimitiveDefinition, type PrimitiveMediaNode, PrimitiveRegistry, type PrimitiveShapeNode, type PrimitiveTextNode, ProResVideoEncoder, type ProfileCanvasDimensions, type ProgressNode, ProjectCompiler, ProjectHelper, type ProjectManifestV2, type PropertyAnimationDefinition, PropertyAnimationRegistry, type PropertyDefinition, PropertyInspectorEngine, PropertyInterpolator, type PropertySchemaField, type PropertyValueType, type PublishedOverlayArtifact, type QuoteOverlayContent, type QuoteSmartOverlayContent, RawFramesEncoder, type RecordedExecution, type RegisterAssetCommand, type RegisteredAsset, type RegisteredFont, type RemoveAssetCommand, type RemoveBreakpointCommand, type RemoveDataPreviewSetCommand, type RemoveTimelineMarkerCommand, type RemoveVariableCommand, type RenderBackend, type RenderPass, RenderPlan, type RendererCapabilities, type ReorderNodesCommand, type ReparentNodeCommand, type RepeaterNode, type ResizeHandle, type ResizeNodeCommand, type ResizeOptions, ResolveTemplateControlValuesOptions, type ResolvedAsset, type ResolvedFit, type ResolvedFont, type ResolvedImageDimensions, type ResolvedLayoutBounds, type ResolvedMediaLayout, type ResourceAllocation, type ResourceRequest, type ResourceState$1 as ResourceState, ResponsiveAnchorConfig, type ResponsiveNodeOverride, type RichTextNode, type RichTextSpan, RuntimeAssetResolver, type RuntimeContext, SMART_OVERLAY_PRESETS, SUPPORTED_FONT_FAMILIES, type SceneCanvasContext, SceneDocument, type SceneNode, type SceneNodeBase, type SceneNodeType, type ScratchElementBlock, type ScratchOverlayTemplate, type ScreenPoint, SelectionEngine, type SemanticAnimationConfig, type SemanticBehaviorConfig, type SemanticContent, type SemanticIntent, type SemanticOverlayDefinition, type SemanticSlotDefinition, type SemanticSpatialConstraints, SeriesEngine, type SeriesPoint, type SetActiveBreakpointCommand, type SetAssetRefCommand, type SetBindingCommand, type SetDocumentCommand, type SetFontRefCommand, type SetResponsiveOverrideCommand, type ShaderCompilation, type ShapeKind, ShapeLayerSchema, type ShotBoundary, type Size, type SizingDimensionInput, type SmartAlignmentGuide, SmartGuideEngine, type SmartOverlayAnimation, type SmartOverlayClip, type SmartOverlayContentUnion, type SmartOverlayLayout, type SmartOverlayPreset, type SmartOverlayRegistryItem, SmartOverlayRegistryService, SmartOverlayRenderer, type SmartOverlayStyle, type SmartOverlayType, type SmartSnapResult, SnapEngine, type SnapResult, type SocialOverlayContent, type SocialSmartOverlayContent, type SpatialAnchorConfig, type SpatialConstraintSpec, SplitMode, type SplitUnit, SpringParams, type StatOverlayContent, type StatSmartOverlayContent, StyleRecipe, type SubtitleRegion, TEMPLATE_CATEGORIES, type TableColumn, type TableLayoutResult, type TableNode, TemplateCategory, TemplateCategorySchema, TemplateCustomization, TemplateEasingFunction, TemplateKeyframe, TemplateLayer, TemplateLayerSchema, type TemplateManifest, type TemplatePresetCategory, TemplateRenderContext, TemplateRenderer, type TemporalKeyframedRegion, type TextAlign, type TextCustomization, TextEffectBuilder, TextEffectConfig, TextEffectDefinition, TextEffectDefinitionSchema, type TextLayerConfig, TextLayerSchema, type TextLayerStyle, type TextLayoutBounds, type TextLayoutResult, TextSplitAnimator, type TextStyleOverride, TextStyleSpan, TextTemplate, TextTemplateArtifact, type TextTemplateDiagnostic, TextTemplateSchema, type ThresholdBand, type TimelineEvent, type TimelineMarker, type TimelineNode, type TimelineOverlayContent, type TimelineOverlayNode, type TimelineSmartOverlayContent, type TrackDefinition, type TrackedSubject, type TranscriptSegment, TransformEngine, type UngroupNodesCommand, type UpdateAnimationCommand, type UpdateCanvasSizeCommand, type UpdateDataPreviewSetCommand, type UpdateDocumentMetaCommand, type UpdateKeyframeTracksCommand, type UpdateNodePropertyCommand, type UpdateNodeStyleCommand, type UpdatePropCommand, type UpdateStyleCommand, type UpdateTimelineMarkerCommand, type UpdateVariableCommand, type Command$1 as V2Command, VERSION, type ValidatedEffectDefinition, type ValidatedTextEffectDefinition, type ValidatedTextTemplate, type ValidationDiagnostic, type ValidationError, type ValidationResult, type VideoCodecProfile, type VideoContext, type VideoNode, type VideoPlaybackConfig, type ViewportState, ViewportTransform, type VirtualWindow, WEBM_EXPORT_MAX_FRAMES, WebMEncoder, type WebMExportOptions, _resetPlatformCache, addImageLayer, addKeyframe, addKeyframeAtTime, addOrUpdateKeyframe, addShapeLayer, addSolidLayer, addTextLayer, addTrack, addVectorShape, alignToLottieJ, animationRuntime, animationValidator, applyEasing, applyFillColorToAll, applyLetterSpacing, applyMaskReveal, applyRecipeToScene, applyStyleToLottie, applyStyleToLottieLayer, applyTimelineAtTime, assertValidTextTemplateArtifact, assetRegistry, bakeAnimationIntoLayer, blendConfigs, blendScenes, buildDotLottie, buildFontEntries, buildLottieFontName, buildPngSequenceZip, builtInRecipes, calculateCropFromFocalPoint, calculateDefaultCoverCrop, calculateMediaFit, calculateResizeBounds, calculateRotationAngle, calculateSha256, canonicalTemplateHash, captureImageSourceDimensions, captureLottieFrames, captureVideoSourceDimensions, clearAnimationFromLayer, clearFontCache, clearRecipeCache, cloneSceneWithNewIds, commandExecutor, compileSemanticOverlay, compileTextTemplate, componentRegistry, computeAutoFitFontSize, computeFitZoom, computeTextLayout, convertScratchTemplateToClip, countTextGlyphs, createBlankLottie, createBlankScratchTemplate, createCanvas, createDefaultRevealTrack, createDefaultScratchBlock, createKeyframed, createPulseOpacityTrack, cubicBezier, dataBindingAuthoringEngine, dataBindingEngine, deleteKeyframe, deserializeTemplate, documentMigrator, documentValidator, downloadDotLottie, downloadLottieJson, downloadLottieMp4, downloadPngSequenceZip, downloadSceneWebM, drawPerCharText, drawRoundedRect, duplicateTrackAtPlayhead, ease, editorCommandSystem, enableKeyframing, encodeGif, ensureDefaultTimeline, ensureFontInLottie, evaluateAnimatable, evaluateExportFrame, evaluateOverlayDocument, evaluateSplitTextTransforms, exportLottieToMp4, exportValidator, findTrackIndex, fontRegistry, formatValidationErrors, getAnimPreset, getAnimatableParamDef, getAnimatableParamsForLayer, getCanvasTemplatePreset, getCanvasTemplatesByCategory, getClipLayout, getDefaultText, getLayerById, getPresetScene, getSourceCropRect, getSpanForCharIndex, getSupportedWebMMimeType, getTemplatePreset, getTemplatesByCategory, getWebMFrameCount, hexToLottieColor, hexToLottieRgb, hitTestTransformHandles, injectBatch, injectColor, injectGlobalTextStyle, injectSolidColor, injectText, injectTextStyle, inspectLottieJson, inspectStickerAsset, interpolateColorString, interpolateValue, isKeyframed, isMp4ExportSupported, isWebMExportSupported, layoutEngine, liveBroadcastBridge, loadLottieFonts, lottieColorToHex, lottieJToAlign, measureTextFits, measureTextWidth, mediaEncoderRegistry, motionPresetRegistry, moveKeyframe, normalizeTextTemplateArtifact, parseHistorySnapshot, parseLottieJson, preloadGoogleFont, presetToRecipe, primitiveRegistry, propertyAnimationRegistry, propertyInspectorEngine, propertyInterpolator, pruneTracksForLayer, rainbowCharFillColors, readLayerScalar, readStyleFromLottieLayer, reindexLayers, releaseCanvas, removeKeyframe, removeTemplateKeyframe, removeTrack, renderEvaluatedSceneToCanvas, renderPngSequence, renderSceneWebM, resizeCharFillColors, resolveAnchorPosition, resolveAnimatedScalar, resolveBehaviorToAnimationSpec, resolveConform, resolveDocumentForBreakpoint, resolveExportCanvasDimensions, resolveMediaLayout, resolveNodeForBreakpoint, resolveSpatialConstraints, resolveTemplateControlValues, restoreLetterSpacing, rotateCrop, runtimeAssetResolver, sampleVideoContextAtTime, scanLottieFonts, scanLottieNodes, scanTextLayers, selectionEngine, serializeTemplate, setCharFillColor, setTracks, shouldUsePerCharFill, smartOverlayRegistry, snapEngine, snapshotScene, solveSpring, sortKeyframes, splitTextContent, streamExportFrames, supportsCtxFilter, supportsLetterSpacing, supportsOffscreenCanvas, supportsRoundRect, trackId, updateKeyframe, updateSceneBevel, updateSceneCanvas, updateSceneFill, updateSceneGlow, updateScenePanel, updateSceneShadow, updateSceneStack, updateSceneStroke, updateSceneText, updateStaticProperty, updateTimeline, updateTrack, updateTrackMatte, upsertKeyframe, validateEffectDefinition, validateEffectDefinitionStrict, validateTextEffectDefinition, validateTextEffectDefinitionStrict, validateTextTemplate, validateTextTemplateArtifact, validateTextTemplateStrict, viewportTransform, waitForFontsReady, wrapTextToWidth };
|
|
7250
|
+
export { ASPECT_RATIO_PRESETS, type AddBreakpointCommand, type AddDataPreviewSetCommand, type AddNodeCommand, type AddTimelineMarkerCommand, type AddVariableCommand, type AlignmentGuide, type AlignmentMode, type AnchorSide, type AnchorXMode, type AnchorYMode, type AnimBuildOpts, type AnimKeyframe, AnimTrack, type AnimTrackDef, type AnimatableParamDef, AnimatableValue, type AnimationCategory, type AnimationDiagnostic, type AnimationDiagnosticSeverity, type AnimationEvaluationOptions, AnimationPresetSchema, AnimationRuntime, AnimationSchema, type AnimationStartSpec, type AnimationState, AnimationValidator, type AnnotationNode, type ArcGeometryOutput, type AssetHandle, type AssetKind, type AssetManifest, type AssetRef, AssetRegistry$1 as AssetRegistry, type AssetScanResult, type AssetSource, type AudioNode, type AudioPlaybackConfig, type AvatarNode, type AvoidRegionKind, type AxisConfig, BUILTIN_CANVAS_TEMPLATES, type BarGeometryItem, type BaseCommand, type BaseEditorCommand, type BatchCommand, type BatchCommandsCommand, type BatchInjection, type BehaviorKind, type BehaviorSpec, BezierControlPoints, type BindingDefinition, type BodySegmentationOptions, type BodySegmentationRequest, type BodySegmentationResponse, type BodySegmentationRuntime, type BodySegmentationRuntimeConfig, type BoundingBox, BoundingBoxSchema, type BoundingRegion, type BreadcrumbItem, type Breakpoint, type BreakpointSet, COMPOSITION_PRESETS, type CalloutNode, CanvasDevice, type CanvasSnapResult, type ChartAnimationConfig, type ChartBarStyle, type ChartNode, type ChartScale, type ChartSeries, type ChartType, type ClipConform, type ClipSegment, type CodeOverlayContent, type CodeSmartOverlayContent, type ColumnDefinition, type Command, type CommandBuffer, CommandBufferBuilder, type CommandExecutionResult, CommandExecutor, CommandHistory, type CommandHistoryOptions, type CommandType, type ComparisonItem, type ComparisonOverlayContent, type ComparisonSmartOverlayContent, CompiledTextTemplate, type ComponentCategory, type ComponentDefinition, type ComponentNode, type CompositionPreset, type ComputedCell, type ComputedColumn, type ComputedNodeBounds, type ComputedRow, type ComputedSplitUnitTransform, type ConformMode, type ConnectorNode, type ContainerNode, type CountUpEasing, DEFAULT_TEXT_STYLE, DataBindingAuthoringEngine, DataBindingEngine, type DataBindingRule, type DataPreviewSet, type DeleteNodeCommand, type DeleteNodesCommand, type DependencyGraph, type DetachComponentCommand, type DimensionMode, type DividerNode, type DocumentCommand, DocumentMigrator, type DocumentPoint, DocumentValidator, type DocumentVariable, type DotLottieManifest, type DrawPerCharTextOptions, type DuplicateNodesCommand, EMPHASIS_PRESETS, ENTRANCE_PRESETS, EXIT_PRESETS, EXPORT_PROFILE_PRESETS, type EasingControlPoint, type EditorAddNodeCommand, type EditorCommand, EditorCommandSystem, type EditorCommandType, type EditorExecutionResult, EffectBevelSchema, EffectFillSchema, EffectFullDefinitionSchema, EffectGlowSchema, EffectIndexItemSchema, type EffectInstance, EffectLayer, EffectPanelSchema, EffectShadowSchema, EffectStackSchema, EffectStrokeSchema, type EncodedFileEntry, type EncodedOutput, type EvaluatedBroadcastFrame, type EvaluatedContent, type EvaluatedExportFrame, type EvaluatedMilestone, type EvaluatedNode, type EvaluatedNodeState, type EvaluatedScene, type EvaluatedSceneState, type EvaluatedStyle, type EvaluatedThreshold, type EvaluatedTransform, type EvaluatedVideoStateAtTime, type EvaluationDiagnostic, type ExecutionPlanner, type ExecutionPolicy, type ExecutionQuality, ExportAbortError, type ExportConfig, type ExportDiagnosticCode, type ExportDiagnosticSeverity, type ExportFormat, type ExportFrameDescriptor, ExportJob, type ExportJobRecord, type ExportProfile, type ExportProgress, type ExportValidationDiagnostic, ExportValidator, FONT_WEIGHT_OPTIONS, type FillType, type FocalPoint$1 as FocalPoint, type FontRef, FontRegistry, FontSchema, type FontSpec, type FrameGraph, FrameGraphBuilder, type FrameNode, type GaugeNode, type GaugeThreshold, GifEncoder, type GifExportOptions, type GifFrame, GlowLayer, type GradientDir, type GradientNode, GradientStop, GradientStopSchema, GraphValidator, GridEngine, type GroupNodesCommand, type HandleType, type IconNode, type ImageFitMode, type ImageFittingInput, type ImageFittingResult, ImageLayerSchema, type JobChangeListener, type JobStatus, Keyframe, type KeyframeTrack, LOOP_PRESETS, LOTTIE_ANIM_PRESETS, LOTTIE_TEMPLATE_PRESETS, LayerAnimationSchema, type LayoutComputedState, LayoutEngine, type LayoutMode, type LineNode, type ListOverlayContent, type ListOverlayItem, type ListSmartOverlayContent, LiveBroadcastBridge, type LiveBroadcastOptions, type LottieAnimPreset, type LottieFileInfo, type LottieFontEntry, type LottieFontUsage, type LottieGradientStop, type LottieKeyframe, type LottieNode, type LottiePropertyPath, type LottieScanResult, type LottieTemplatePreset, type LowerThirdOverlayContent, type LowerThirdSmartOverlayContent, MAX_ASSET_BYTES, MAX_LOTTIE_BYTES, type MediaEncoder, MediaEncoderRegistry, type MediaFitMode, MediaImageEngine, type MediaLayout, type MetricDelta, MetricEngine, type MetricEvaluationResult, type MetricFormatOptions, type MetricNode, type MilestoneItem, type MotionPreset, type MotionPresetDefinition, type MotionPresetParameter, MotionPresetRegistry, type MoveNodesCommand, type Mp4ExportOptions, Mp4VideoEncoder, type NodeAnimationRules, type NodeConstraints, type NodeDefinition, type NodeLayoutRules, NodeRegistry, type NodeSizingPolicy, type NodeStartTransform, type NodeStyleRules, type NormalizedCrop, NullBackend, type OverlayDocument, type ParsedTextLayer, type PlaybackDirection, type PlaybackMode, PngSequenceEncoder, type PngSequenceFrame, type PngSequenceOptions, Preset, type PrimitiveDefinition, type PrimitiveMediaNode, PrimitiveRegistry, type PrimitiveShapeNode, type PrimitiveTextNode, ProResVideoEncoder, type ProfileCanvasDimensions, type ProgressNode, ProjectCompiler, ProjectHelper, type ProjectManifestV2, type PropertyAnimationDefinition, PropertyAnimationRegistry, type PropertyDefinition, PropertyInspectorEngine, PropertyInterpolator, type PropertySchemaField, type PropertyValueType, type PublishedOverlayArtifact, type QuoteOverlayContent, type QuoteSmartOverlayContent, RawFramesEncoder, type RecordedExecution, type RegisterAssetCommand, type RegisteredAsset, type RegisteredFont, type RemoveAssetCommand, type RemoveBreakpointCommand, type RemoveDataPreviewSetCommand, type RemoveTimelineMarkerCommand, type RemoveVariableCommand, type RenderBackend, type RenderPass, RenderPlan, type RendererCapabilities, type ReorderNodesCommand, type ReparentNodeCommand, type RepeaterNode, type ResizeHandle, type ResizeNodeCommand, type ResizeOptions, ResolveTemplateControlValuesOptions, type ResolvedAsset, type ResolvedFit, type ResolvedFont, type ResolvedImageDimensions, type ResolvedLayoutBounds, type ResolvedMediaLayout, type ResourceAllocation, type ResourceRequest, type ResourceState$1 as ResourceState, ResponsiveAnchorConfig, type ResponsiveNodeOverride, type RichTextNode, type RichTextSpan, RuntimeAssetResolver, type RuntimeContext, SMART_OVERLAY_PRESETS, SUPPORTED_FONT_FAMILIES, type SceneCanvasContext, SceneDocument, type SceneNode, type SceneNodeBase, type SceneNodeType, type ScratchElementBlock, type ScratchOverlayTemplate, type ScreenPoint, SelectionEngine, type SemanticAnimationConfig, type SemanticBehaviorConfig, type SemanticContent, type SemanticIntent, type SemanticOverlayDefinition, type SemanticSlotDefinition, type SemanticSpatialConstraints, SeriesEngine, type SeriesPoint, type SetActiveBreakpointCommand, type SetAssetRefCommand, type SetBindingCommand, type SetDocumentCommand, type SetFontRefCommand, type SetResponsiveOverrideCommand, type ShaderCompilation, type ShapeKind, ShapeLayerSchema, type ShotBoundary, type Size, type SizingDimensionInput, type SmartAlignmentGuide, SmartGuideEngine, type SmartOverlayAnimation, type SmartOverlayClip, type SmartOverlayContentUnion, type SmartOverlayLayout, type SmartOverlayPreset, type SmartOverlayRegistryItem, SmartOverlayRegistryService, SmartOverlayRenderer, type SmartOverlayStyle, type SmartOverlayType, type SmartSnapResult, SnapEngine, type SnapResult, type SocialOverlayContent, type SocialSmartOverlayContent, type SpatialAnchorConfig, type SpatialConstraintSpec, SplitMode, type SplitUnit, SpringParams, type StatOverlayContent, type StatSmartOverlayContent, StyleRecipe, type SubtitleRegion, TEMPLATE_CATEGORIES, type TableColumn, type TableLayoutResult, type TableNode, TemplateCategory, TemplateCategorySchema, TemplateCustomization, TemplateEasingFunction, TemplateKeyframe, TemplateLayer, TemplateLayerSchema, type TemplateManifest, type TemplatePresetCategory, TemplateRenderContext, TemplateRenderer, type TemporalKeyframedRegion, type TextAlign, type TextCustomization, TextEffectBuilder, TextEffectConfig, TextEffectDefinition, TextEffectDefinitionSchema, type TextLayerConfig, TextLayerSchema, type TextLayerStyle, type TextLayoutBounds, type TextLayoutResult, TextSplitAnimator, type TextStyleOverride, TextStyleSpan, TextTemplate, TextTemplateArtifact, type TextTemplateDiagnostic, TextTemplateSchema, type TextTemplateValidationOptions, type ThresholdBand, type TimelineEvent, type TimelineMarker, type TimelineNode, type TimelineOverlayContent, type TimelineOverlayNode, type TimelineSmartOverlayContent, type TrackDefinition, type TrackedSubject, type TranscriptSegment, TransformEngine, type UngroupNodesCommand, type UpdateAnimationCommand, type UpdateCanvasSizeCommand, type UpdateDataPreviewSetCommand, type UpdateDocumentMetaCommand, type UpdateKeyframeTracksCommand, type UpdateNodePropertyCommand, type UpdateNodeStyleCommand, type UpdatePropCommand, type UpdateStyleCommand, type UpdateTimelineMarkerCommand, type UpdateVariableCommand, type Command$1 as V2Command, VERSION, type ValidatedEffectDefinition, type ValidatedTextEffectDefinition, type ValidatedTextTemplate, type ValidationDiagnostic, type ValidationError, type ValidationResult, type VideoCodecProfile, type VideoContext, type VideoNode, type VideoPlaybackConfig, type ViewportState, ViewportTransform, type VirtualWindow, WEBM_EXPORT_MAX_FRAMES, WebMEncoder, type WebMExportOptions, _resetPlatformCache, addImageLayer, addKeyframe, addKeyframeAtTime, addOrUpdateKeyframe, addShapeLayer, addSolidLayer, addTextLayer, addTrack, addVectorShape, alignToLottieJ, animationRuntime, animationValidator, applyEasing, applyFillColorToAll, applyLetterSpacing, applyMaskReveal, applyRecipeToScene, applyStyleToLottie, applyStyleToLottieLayer, applyTimelineAtTime, assertCompatibleTextTemplateRenderer, assertValidTextTemplateArtifact, assetRegistry, bakeAnimationIntoLayer, blendConfigs, blendScenes, buildDotLottie, buildFontEntries, buildLottieFontName, buildPngSequenceZip, builtInRecipes, calculateCropFromFocalPoint, calculateDefaultCoverCrop, calculateMediaFit, calculateResizeBounds, calculateRotationAngle, calculateSha256, canonicalTemplateHash, captureImageSourceDimensions, captureLottieFrames, captureVideoSourceDimensions, clearAnimationFromLayer, clearFontCache, clearRecipeCache, cloneSceneWithNewIds, commandExecutor, compileSemanticOverlay, compileTextTemplate, componentRegistry, computeAutoFitFontSize, computeFitZoom, computeTextLayout, convertScratchTemplateToClip, countTextGlyphs, createBlankLottie, createBlankScratchTemplate, createCanvas, createDefaultRevealTrack, createDefaultScratchBlock, createKeyframed, createPulseOpacityTrack, cubicBezier, dataBindingAuthoringEngine, dataBindingEngine, deleteKeyframe, deserializeTemplate, documentMigrator, documentValidator, downloadDotLottie, downloadLottieJson, downloadLottieMp4, downloadPngSequenceZip, downloadSceneWebM, drawPerCharText, drawRoundedRect, duplicateTrackAtPlayhead, ease, editorCommandSystem, enableKeyframing, encodeGif, ensureDefaultTimeline, ensureFontInLottie, evaluateAnimatable, evaluateExportFrame, evaluateOverlayDocument, evaluateSplitTextTransforms, exportLottieToMp4, exportValidator, findTrackIndex, fontRegistry, formatValidationErrors, getAnimPreset, getAnimatableParamDef, getAnimatableParamsForLayer, getCanvasTemplatePreset, getCanvasTemplatesByCategory, getClipLayout, getDefaultText, getLayerById, getPresetScene, getSourceCropRect, getSpanForCharIndex, getSupportedWebMMimeType, getTemplatePreset, getTemplatesByCategory, getWebMFrameCount, hexToLottieColor, hexToLottieRgb, hitTestTransformHandles, injectBatch, injectColor, injectGlobalTextStyle, injectSolidColor, injectText, injectTextStyle, inspectLottieJson, inspectStickerAsset, interpolateColorString, interpolateValue, isKeyframed, isMp4ExportSupported, isTextTemplateRendererVersionNewer, isWebMExportSupported, layoutEngine, liveBroadcastBridge, loadLottieFonts, lottieColorToHex, lottieJToAlign, measureTextFits, measureTextWidth, mediaEncoderRegistry, motionPresetRegistry, moveKeyframe, normalizeTextTemplateArtifact, parseHistorySnapshot, parseLottieJson, preloadGoogleFont, presetToRecipe, primitiveRegistry, propertyAnimationRegistry, propertyInspectorEngine, propertyInterpolator, pruneTracksForLayer, rainbowCharFillColors, readLayerScalar, readStyleFromLottieLayer, reindexLayers, releaseCanvas, removeKeyframe, removeTemplateKeyframe, removeTrack, renderEvaluatedSceneToCanvas, renderPngSequence, renderSceneWebM, resizeCharFillColors, resolveAnchorPosition, resolveAnimatedScalar, resolveBehaviorToAnimationSpec, resolveConform, resolveDocumentForBreakpoint, resolveExportCanvasDimensions, resolveMediaLayout, resolveNodeForBreakpoint, resolveSpatialConstraints, resolveTemplateControlValues, restoreLetterSpacing, rotateCrop, runtimeAssetResolver, sampleVideoContextAtTime, scanLottieFonts, scanLottieNodes, scanTextLayers, selectionEngine, serializeTemplate, setCharFillColor, setTracks, shouldUsePerCharFill, smartOverlayRegistry, snapEngine, snapshotScene, solveSpring, sortKeyframes, splitTextContent, streamExportFrames, supportsCtxFilter, supportsLetterSpacing, supportsOffscreenCanvas, supportsRoundRect, trackId, updateKeyframe, updateSceneBevel, updateSceneCanvas, updateSceneFill, updateSceneGlow, updateScenePanel, updateSceneShadow, updateSceneStack, updateSceneStroke, updateSceneText, updateStaticProperty, updateTimeline, updateTrack, updateTrackMatte, upsertKeyframe, validateEffectDefinition, validateEffectDefinitionStrict, validateTextEffectDefinition, validateTextEffectDefinitionStrict, validateTextTemplate, validateTextTemplateArtifact, validateTextTemplateStrict, viewportTransform, waitForFontsReady, wrapTextToWidth };
|
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 { B as BubbleAppearance, d as BubbleAssetDefinition, e as BubblePathCommand, f as BubbleRenderMode, g as BubbleRenderOptions, h as BubbleShape, i as BubbleTailPosition, j as BubbleTailSide, k as BubbleTexture, l as CANONICAL_RENDERER_VERSION, m as CANONICAL_SCHEMA_VERSION, n as CanonicalRenderContext, o as CanonicalRenderInput, p as CanonicalRenderResult, q as CapabilityReport, r as CapabilityStatus, s as CompiledTemplateRenderLayer, E as EvaluatedTemplateScene, F as FreeformBubbleDefinition, P as ParametricBubbleDefinition, t as PublishedRevision, u as RenderCapability, v as RenderDiagnostic, w as RenderDiagnostics, x as RenderEnvironment, y as RenderIdentity, z as RenderTarget, S as SceneDocumentV2, A as TEXT_TEMPLATE_KIND, D as TEXT_TEMPLATE_RENDERER_VERSION, G as TEXT_TEMPLATE_SCHEMA_VERSION, H as TemplateAssetRef, I as TemplateBackgroundPanel, J as TemplateCapabilityReport, K as TemplateContainerNode, L as TemplateContainerNodeStyle, M as TemplateControl, N as TemplateControlConstraints, O as
|
|
5
|
+
import { R as RenderPlan, T as TextTemplateArtifact, a as ResolveTemplateControlValuesOptions, b as TemplateCustomization, c as TemplateRenderContext, C as CompiledTextTemplate } from './index-BRT37RMX.js';
|
|
6
|
+
export { B as BubbleAppearance, d as BubbleAssetDefinition, e as BubblePathCommand, f as BubbleRenderMode, g as BubbleRenderOptions, h as BubbleShape, i as BubbleTailPosition, j as BubbleTailSide, k as BubbleTexture, l as CANONICAL_RENDERER_VERSION, m as CANONICAL_SCHEMA_VERSION, n as CanonicalRenderContext, o as CanonicalRenderInput, p as CanonicalRenderResult, q as CapabilityReport, r as CapabilityStatus, s as CompiledTemplateRenderLayer, E as EvaluatedTemplateScene, F as FreeformBubbleDefinition, P as ParametricBubbleDefinition, t as PublishedRevision, u as RenderCapability, v as RenderDiagnostic, w as RenderDiagnostics, x as RenderEnvironment, y as RenderIdentity, z as RenderTarget, S as SceneDocumentV2, A as TEXT_TEMPLATE_KIND, D as TEXT_TEMPLATE_RENDERER_VERSION, G as TEXT_TEMPLATE_SCHEMA_VERSION, H as TemplateAssetRef, I as TemplateBackgroundPanel, J as TemplateCapabilityReport, K as TemplateContainerNode, L as TemplateContainerNodeStyle, M as TemplateControl, N as TemplateControlConstraints, O as TemplateControlEnumMapTransform, Q as TemplateControlLinearTransform, U as TemplateControlOption, V as TemplateControlTarget, W as TemplateControlTransform, X as TemplateControlType, Y as TemplateDependencyManifest, Z as TemplateDurationPolicy, _ as TemplateFontRef, $ as TemplateImageNode, a0 as TemplateLayerV2, a1 as TemplateMetadata, a2 as TemplateNode, a3 as TemplateNodeAnimation, a4 as TemplatePreviewArtifacts, a5 as TemplatePropertyKeyframes, a6 as TemplateProtectedRegion, a7 as TemplateRenderTarget, a8 as TemplateRevision, a9 as TemplateShapeNode, aa as TemplateShapeNodeStyle, ab as TemplateStyleRef, ac as TemplateTextNode, ad as TemplateTextNodeStyle, ae as TemplateTimelineMarker, af as TemplateTiming, ag as TextBubbleCategory, ah as TextBubbleLayout, ai as TextBubblePadding, aj as TextBubblePreset, ak as TextEffectRenderInput, al as TextTemplateCanvas, am as TextTemplateClip, an as TextTemplateDocument, ao as TextTemplateDocumentV2, ap as TextTemplateFlexLayout, aq as TextTemplateRenderInput, ar as canonicalContentHash, as as canonicalizeSceneDocument, at as compileBubblePath, au as compileBubbleSvg, av as createBubbleAssetDefinition, aw as createFreeformBubbleAssetDefinition, ax as drawChalkSpeechBubble, ay as drawComicBurst, az as drawRibbonBanner, aA as drawSpeechBubble, aB as drawThoughtCloud, aC as drawTornPaper, aD as evaluateTextEffect, aE as evaluateTextTemplate, aF as getRenderCapabilities, aG as getTextTemplateControls, aH as normalizeTextEffect, aI as normalizeTextTemplate, aJ as pseudoNoise, aK as renderBubbleAssetDefinition, aL as renderBubbleBackground, aM as renderBubblePresetBackground, aN as renderCanonicalToCanvas, aO as renderTextEffectToCanvas, aP as renderTextTemplateToCanvas, aQ as resolveBubbleLayout, aR as resolveTemplateFontFamily, aS as resolveTextTemplateArtifact, aT as validateBubbleAssetDefinition } from './index-BRT37RMX.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';
|
|
@@ -3265,11 +3265,18 @@ interface TextTemplateDiagnostic {
|
|
|
3265
3265
|
message: string;
|
|
3266
3266
|
nodeId?: string;
|
|
3267
3267
|
}
|
|
3268
|
-
|
|
3269
|
-
|
|
3268
|
+
interface TextTemplateValidationOptions {
|
|
3269
|
+
/** Enable publish-time checks for legacy primary control paths and types. */
|
|
3270
|
+
strictControlTargets?: boolean;
|
|
3271
|
+
}
|
|
3272
|
+
declare function validateTextTemplateArtifact(artifact: TextTemplateArtifact, options?: TextTemplateValidationOptions): TextTemplateDiagnostic[];
|
|
3273
|
+
declare function assertValidTextTemplateArtifact(artifact: TextTemplateArtifact, options?: TextTemplateValidationOptions): void;
|
|
3270
3274
|
|
|
3271
3275
|
declare function compileTextTemplate(artifact: TextTemplateArtifact, context: TemplateRenderContext): CompiledTextTemplate;
|
|
3272
3276
|
|
|
3277
|
+
declare function isTextTemplateRendererVersionNewer(required: string, current?: "1.6.0"): boolean;
|
|
3278
|
+
declare function assertCompatibleTextTemplateRenderer(artifact: TextTemplateArtifact, current?: "1.6.0"): void;
|
|
3279
|
+
|
|
3273
3280
|
/**
|
|
3274
3281
|
* @deprecated This file has been moved to @clypra/runtime/project
|
|
3275
3282
|
*
|
|
@@ -7240,4 +7247,4 @@ declare function calculateSha256(data: Uint8Array | ArrayBuffer | string): Promi
|
|
|
7240
7247
|
/** Package version */
|
|
7241
7248
|
declare const VERSION = "1.4.0";
|
|
7242
7249
|
|
|
7243
|
-
export { ASPECT_RATIO_PRESETS, type AddBreakpointCommand, type AddDataPreviewSetCommand, type AddNodeCommand, type AddTimelineMarkerCommand, type AddVariableCommand, type AlignmentGuide, type AlignmentMode, type AnchorSide, type AnchorXMode, type AnchorYMode, type AnimBuildOpts, type AnimKeyframe, AnimTrack, type AnimTrackDef, type AnimatableParamDef, AnimatableValue, type AnimationCategory, type AnimationDiagnostic, type AnimationDiagnosticSeverity, type AnimationEvaluationOptions, AnimationPresetSchema, AnimationRuntime, AnimationSchema, type AnimationStartSpec, type AnimationState, AnimationValidator, type AnnotationNode, type ArcGeometryOutput, type AssetHandle, type AssetKind, type AssetManifest, type AssetRef, AssetRegistry$1 as AssetRegistry, type AssetScanResult, type AssetSource, type AudioNode, type AudioPlaybackConfig, type AvatarNode, type AvoidRegionKind, type AxisConfig, BUILTIN_CANVAS_TEMPLATES, type BarGeometryItem, type BaseCommand, type BaseEditorCommand, type BatchCommand, type BatchCommandsCommand, type BatchInjection, type BehaviorKind, type BehaviorSpec, BezierControlPoints, type BindingDefinition, type BodySegmentationOptions, type BodySegmentationRequest, type BodySegmentationResponse, type BodySegmentationRuntime, type BodySegmentationRuntimeConfig, type BoundingBox, BoundingBoxSchema, type BoundingRegion, type BreadcrumbItem, type Breakpoint, type BreakpointSet, COMPOSITION_PRESETS, type CalloutNode, CanvasDevice, type CanvasSnapResult, type ChartAnimationConfig, type ChartBarStyle, type ChartNode, type ChartScale, type ChartSeries, type ChartType, type ClipConform, type ClipSegment, type CodeOverlayContent, type CodeSmartOverlayContent, type ColumnDefinition, type Command, type CommandBuffer, CommandBufferBuilder, type CommandExecutionResult, CommandExecutor, CommandHistory, type CommandHistoryOptions, type CommandType, type ComparisonItem, type ComparisonOverlayContent, type ComparisonSmartOverlayContent, CompiledTextTemplate, type ComponentCategory, type ComponentDefinition, type ComponentNode, type CompositionPreset, type ComputedCell, type ComputedColumn, type ComputedNodeBounds, type ComputedRow, type ComputedSplitUnitTransform, type ConformMode, type ConnectorNode, type ContainerNode, type CountUpEasing, DEFAULT_TEXT_STYLE, DataBindingAuthoringEngine, DataBindingEngine, type DataBindingRule, type DataPreviewSet, type DeleteNodeCommand, type DeleteNodesCommand, type DependencyGraph, type DetachComponentCommand, type DimensionMode, type DividerNode, type DocumentCommand, DocumentMigrator, type DocumentPoint, DocumentValidator, type DocumentVariable, type DotLottieManifest, type DrawPerCharTextOptions, type DuplicateNodesCommand, EMPHASIS_PRESETS, ENTRANCE_PRESETS, EXIT_PRESETS, EXPORT_PROFILE_PRESETS, type EasingControlPoint, type EditorAddNodeCommand, type EditorCommand, EditorCommandSystem, type EditorCommandType, type EditorExecutionResult, EffectBevelSchema, EffectFillSchema, EffectFullDefinitionSchema, EffectGlowSchema, EffectIndexItemSchema, type EffectInstance, EffectLayer, EffectPanelSchema, EffectShadowSchema, EffectStackSchema, EffectStrokeSchema, type EncodedFileEntry, type EncodedOutput, type EvaluatedBroadcastFrame, type EvaluatedContent, type EvaluatedExportFrame, type EvaluatedMilestone, type EvaluatedNode, type EvaluatedNodeState, type EvaluatedScene, type EvaluatedSceneState, type EvaluatedStyle, type EvaluatedThreshold, type EvaluatedTransform, type EvaluatedVideoStateAtTime, type EvaluationDiagnostic, type ExecutionPlanner, type ExecutionPolicy, type ExecutionQuality, ExportAbortError, type ExportConfig, type ExportDiagnosticCode, type ExportDiagnosticSeverity, type ExportFormat, type ExportFrameDescriptor, ExportJob, type ExportJobRecord, type ExportProfile, type ExportProgress, type ExportValidationDiagnostic, ExportValidator, FONT_WEIGHT_OPTIONS, type FillType, type FocalPoint$1 as FocalPoint, type FontRef, FontRegistry, FontSchema, type FontSpec, type FrameGraph, FrameGraphBuilder, type FrameNode, type GaugeNode, type GaugeThreshold, GifEncoder, type GifExportOptions, type GifFrame, GlowLayer, type GradientDir, type GradientNode, GradientStop, GradientStopSchema, GraphValidator, GridEngine, type GroupNodesCommand, type HandleType, type IconNode, type ImageFitMode, type ImageFittingInput, type ImageFittingResult, ImageLayerSchema, type JobChangeListener, type JobStatus, Keyframe, type KeyframeTrack, LOOP_PRESETS, LOTTIE_ANIM_PRESETS, LOTTIE_TEMPLATE_PRESETS, LayerAnimationSchema, type LayoutComputedState, LayoutEngine, type LayoutMode, type LineNode, type ListOverlayContent, type ListOverlayItem, type ListSmartOverlayContent, LiveBroadcastBridge, type LiveBroadcastOptions, type LottieAnimPreset, type LottieFileInfo, type LottieFontEntry, type LottieFontUsage, type LottieGradientStop, type LottieKeyframe, type LottieNode, type LottiePropertyPath, type LottieScanResult, type LottieTemplatePreset, type LowerThirdOverlayContent, type LowerThirdSmartOverlayContent, MAX_ASSET_BYTES, MAX_LOTTIE_BYTES, type MediaEncoder, MediaEncoderRegistry, type MediaFitMode, MediaImageEngine, type MediaLayout, type MetricDelta, MetricEngine, type MetricEvaluationResult, type MetricFormatOptions, type MetricNode, type MilestoneItem, type MotionPreset, type MotionPresetDefinition, type MotionPresetParameter, MotionPresetRegistry, type MoveNodesCommand, type Mp4ExportOptions, Mp4VideoEncoder, type NodeAnimationRules, type NodeConstraints, type NodeDefinition, type NodeLayoutRules, NodeRegistry, type NodeSizingPolicy, type NodeStartTransform, type NodeStyleRules, type NormalizedCrop, NullBackend, type OverlayDocument, type ParsedTextLayer, type PlaybackDirection, type PlaybackMode, PngSequenceEncoder, type PngSequenceFrame, type PngSequenceOptions, Preset, type PrimitiveDefinition, type PrimitiveMediaNode, PrimitiveRegistry, type PrimitiveShapeNode, type PrimitiveTextNode, ProResVideoEncoder, type ProfileCanvasDimensions, type ProgressNode, ProjectCompiler, ProjectHelper, type ProjectManifestV2, type PropertyAnimationDefinition, PropertyAnimationRegistry, type PropertyDefinition, PropertyInspectorEngine, PropertyInterpolator, type PropertySchemaField, type PropertyValueType, type PublishedOverlayArtifact, type QuoteOverlayContent, type QuoteSmartOverlayContent, RawFramesEncoder, type RecordedExecution, type RegisterAssetCommand, type RegisteredAsset, type RegisteredFont, type RemoveAssetCommand, type RemoveBreakpointCommand, type RemoveDataPreviewSetCommand, type RemoveTimelineMarkerCommand, type RemoveVariableCommand, type RenderBackend, type RenderPass, RenderPlan, type RendererCapabilities, type ReorderNodesCommand, type ReparentNodeCommand, type RepeaterNode, type ResizeHandle, type ResizeNodeCommand, type ResizeOptions, ResolveTemplateControlValuesOptions, type ResolvedAsset, type ResolvedFit, type ResolvedFont, type ResolvedImageDimensions, type ResolvedLayoutBounds, type ResolvedMediaLayout, type ResourceAllocation, type ResourceRequest, type ResourceState$1 as ResourceState, ResponsiveAnchorConfig, type ResponsiveNodeOverride, type RichTextNode, type RichTextSpan, RuntimeAssetResolver, type RuntimeContext, SMART_OVERLAY_PRESETS, SUPPORTED_FONT_FAMILIES, type SceneCanvasContext, SceneDocument, type SceneNode, type SceneNodeBase, type SceneNodeType, type ScratchElementBlock, type ScratchOverlayTemplate, type ScreenPoint, SelectionEngine, type SemanticAnimationConfig, type SemanticBehaviorConfig, type SemanticContent, type SemanticIntent, type SemanticOverlayDefinition, type SemanticSlotDefinition, type SemanticSpatialConstraints, SeriesEngine, type SeriesPoint, type SetActiveBreakpointCommand, type SetAssetRefCommand, type SetBindingCommand, type SetDocumentCommand, type SetFontRefCommand, type SetResponsiveOverrideCommand, type ShaderCompilation, type ShapeKind, ShapeLayerSchema, type ShotBoundary, type Size, type SizingDimensionInput, type SmartAlignmentGuide, SmartGuideEngine, type SmartOverlayAnimation, type SmartOverlayClip, type SmartOverlayContentUnion, type SmartOverlayLayout, type SmartOverlayPreset, type SmartOverlayRegistryItem, SmartOverlayRegistryService, SmartOverlayRenderer, type SmartOverlayStyle, type SmartOverlayType, type SmartSnapResult, SnapEngine, type SnapResult, type SocialOverlayContent, type SocialSmartOverlayContent, type SpatialAnchorConfig, type SpatialConstraintSpec, SplitMode, type SplitUnit, SpringParams, type StatOverlayContent, type StatSmartOverlayContent, StyleRecipe, type SubtitleRegion, TEMPLATE_CATEGORIES, type TableColumn, type TableLayoutResult, type TableNode, TemplateCategory, TemplateCategorySchema, TemplateCustomization, TemplateEasingFunction, TemplateKeyframe, TemplateLayer, TemplateLayerSchema, type TemplateManifest, type TemplatePresetCategory, TemplateRenderContext, TemplateRenderer, type TemporalKeyframedRegion, type TextAlign, type TextCustomization, TextEffectBuilder, TextEffectConfig, TextEffectDefinition, TextEffectDefinitionSchema, type TextLayerConfig, TextLayerSchema, type TextLayerStyle, type TextLayoutBounds, type TextLayoutResult, TextSplitAnimator, type TextStyleOverride, TextStyleSpan, TextTemplate, TextTemplateArtifact, type TextTemplateDiagnostic, TextTemplateSchema, type ThresholdBand, type TimelineEvent, type TimelineMarker, type TimelineNode, type TimelineOverlayContent, type TimelineOverlayNode, type TimelineSmartOverlayContent, type TrackDefinition, type TrackedSubject, type TranscriptSegment, TransformEngine, type UngroupNodesCommand, type UpdateAnimationCommand, type UpdateCanvasSizeCommand, type UpdateDataPreviewSetCommand, type UpdateDocumentMetaCommand, type UpdateKeyframeTracksCommand, type UpdateNodePropertyCommand, type UpdateNodeStyleCommand, type UpdatePropCommand, type UpdateStyleCommand, type UpdateTimelineMarkerCommand, type UpdateVariableCommand, type Command$1 as V2Command, VERSION, type ValidatedEffectDefinition, type ValidatedTextEffectDefinition, type ValidatedTextTemplate, type ValidationDiagnostic, type ValidationError, type ValidationResult, type VideoCodecProfile, type VideoContext, type VideoNode, type VideoPlaybackConfig, type ViewportState, ViewportTransform, type VirtualWindow, WEBM_EXPORT_MAX_FRAMES, WebMEncoder, type WebMExportOptions, _resetPlatformCache, addImageLayer, addKeyframe, addKeyframeAtTime, addOrUpdateKeyframe, addShapeLayer, addSolidLayer, addTextLayer, addTrack, addVectorShape, alignToLottieJ, animationRuntime, animationValidator, applyEasing, applyFillColorToAll, applyLetterSpacing, applyMaskReveal, applyRecipeToScene, applyStyleToLottie, applyStyleToLottieLayer, applyTimelineAtTime, assertValidTextTemplateArtifact, assetRegistry, bakeAnimationIntoLayer, blendConfigs, blendScenes, buildDotLottie, buildFontEntries, buildLottieFontName, buildPngSequenceZip, builtInRecipes, calculateCropFromFocalPoint, calculateDefaultCoverCrop, calculateMediaFit, calculateResizeBounds, calculateRotationAngle, calculateSha256, canonicalTemplateHash, captureImageSourceDimensions, captureLottieFrames, captureVideoSourceDimensions, clearAnimationFromLayer, clearFontCache, clearRecipeCache, cloneSceneWithNewIds, commandExecutor, compileSemanticOverlay, compileTextTemplate, componentRegistry, computeAutoFitFontSize, computeFitZoom, computeTextLayout, convertScratchTemplateToClip, countTextGlyphs, createBlankLottie, createBlankScratchTemplate, createCanvas, createDefaultRevealTrack, createDefaultScratchBlock, createKeyframed, createPulseOpacityTrack, cubicBezier, dataBindingAuthoringEngine, dataBindingEngine, deleteKeyframe, deserializeTemplate, documentMigrator, documentValidator, downloadDotLottie, downloadLottieJson, downloadLottieMp4, downloadPngSequenceZip, downloadSceneWebM, drawPerCharText, drawRoundedRect, duplicateTrackAtPlayhead, ease, editorCommandSystem, enableKeyframing, encodeGif, ensureDefaultTimeline, ensureFontInLottie, evaluateAnimatable, evaluateExportFrame, evaluateOverlayDocument, evaluateSplitTextTransforms, exportLottieToMp4, exportValidator, findTrackIndex, fontRegistry, formatValidationErrors, getAnimPreset, getAnimatableParamDef, getAnimatableParamsForLayer, getCanvasTemplatePreset, getCanvasTemplatesByCategory, getClipLayout, getDefaultText, getLayerById, getPresetScene, getSourceCropRect, getSpanForCharIndex, getSupportedWebMMimeType, getTemplatePreset, getTemplatesByCategory, getWebMFrameCount, hexToLottieColor, hexToLottieRgb, hitTestTransformHandles, injectBatch, injectColor, injectGlobalTextStyle, injectSolidColor, injectText, injectTextStyle, inspectLottieJson, inspectStickerAsset, interpolateColorString, interpolateValue, isKeyframed, isMp4ExportSupported, isWebMExportSupported, layoutEngine, liveBroadcastBridge, loadLottieFonts, lottieColorToHex, lottieJToAlign, measureTextFits, measureTextWidth, mediaEncoderRegistry, motionPresetRegistry, moveKeyframe, normalizeTextTemplateArtifact, parseHistorySnapshot, parseLottieJson, preloadGoogleFont, presetToRecipe, primitiveRegistry, propertyAnimationRegistry, propertyInspectorEngine, propertyInterpolator, pruneTracksForLayer, rainbowCharFillColors, readLayerScalar, readStyleFromLottieLayer, reindexLayers, releaseCanvas, removeKeyframe, removeTemplateKeyframe, removeTrack, renderEvaluatedSceneToCanvas, renderPngSequence, renderSceneWebM, resizeCharFillColors, resolveAnchorPosition, resolveAnimatedScalar, resolveBehaviorToAnimationSpec, resolveConform, resolveDocumentForBreakpoint, resolveExportCanvasDimensions, resolveMediaLayout, resolveNodeForBreakpoint, resolveSpatialConstraints, resolveTemplateControlValues, restoreLetterSpacing, rotateCrop, runtimeAssetResolver, sampleVideoContextAtTime, scanLottieFonts, scanLottieNodes, scanTextLayers, selectionEngine, serializeTemplate, setCharFillColor, setTracks, shouldUsePerCharFill, smartOverlayRegistry, snapEngine, snapshotScene, solveSpring, sortKeyframes, splitTextContent, streamExportFrames, supportsCtxFilter, supportsLetterSpacing, supportsOffscreenCanvas, supportsRoundRect, trackId, updateKeyframe, updateSceneBevel, updateSceneCanvas, updateSceneFill, updateSceneGlow, updateScenePanel, updateSceneShadow, updateSceneStack, updateSceneStroke, updateSceneText, updateStaticProperty, updateTimeline, updateTrack, updateTrackMatte, upsertKeyframe, validateEffectDefinition, validateEffectDefinitionStrict, validateTextEffectDefinition, validateTextEffectDefinitionStrict, validateTextTemplate, validateTextTemplateArtifact, validateTextTemplateStrict, viewportTransform, waitForFontsReady, wrapTextToWidth };
|
|
7250
|
+
export { ASPECT_RATIO_PRESETS, type AddBreakpointCommand, type AddDataPreviewSetCommand, type AddNodeCommand, type AddTimelineMarkerCommand, type AddVariableCommand, type AlignmentGuide, type AlignmentMode, type AnchorSide, type AnchorXMode, type AnchorYMode, type AnimBuildOpts, type AnimKeyframe, AnimTrack, type AnimTrackDef, type AnimatableParamDef, AnimatableValue, type AnimationCategory, type AnimationDiagnostic, type AnimationDiagnosticSeverity, type AnimationEvaluationOptions, AnimationPresetSchema, AnimationRuntime, AnimationSchema, type AnimationStartSpec, type AnimationState, AnimationValidator, type AnnotationNode, type ArcGeometryOutput, type AssetHandle, type AssetKind, type AssetManifest, type AssetRef, AssetRegistry$1 as AssetRegistry, type AssetScanResult, type AssetSource, type AudioNode, type AudioPlaybackConfig, type AvatarNode, type AvoidRegionKind, type AxisConfig, BUILTIN_CANVAS_TEMPLATES, type BarGeometryItem, type BaseCommand, type BaseEditorCommand, type BatchCommand, type BatchCommandsCommand, type BatchInjection, type BehaviorKind, type BehaviorSpec, BezierControlPoints, type BindingDefinition, type BodySegmentationOptions, type BodySegmentationRequest, type BodySegmentationResponse, type BodySegmentationRuntime, type BodySegmentationRuntimeConfig, type BoundingBox, BoundingBoxSchema, type BoundingRegion, type BreadcrumbItem, type Breakpoint, type BreakpointSet, COMPOSITION_PRESETS, type CalloutNode, CanvasDevice, type CanvasSnapResult, type ChartAnimationConfig, type ChartBarStyle, type ChartNode, type ChartScale, type ChartSeries, type ChartType, type ClipConform, type ClipSegment, type CodeOverlayContent, type CodeSmartOverlayContent, type ColumnDefinition, type Command, type CommandBuffer, CommandBufferBuilder, type CommandExecutionResult, CommandExecutor, CommandHistory, type CommandHistoryOptions, type CommandType, type ComparisonItem, type ComparisonOverlayContent, type ComparisonSmartOverlayContent, CompiledTextTemplate, type ComponentCategory, type ComponentDefinition, type ComponentNode, type CompositionPreset, type ComputedCell, type ComputedColumn, type ComputedNodeBounds, type ComputedRow, type ComputedSplitUnitTransform, type ConformMode, type ConnectorNode, type ContainerNode, type CountUpEasing, DEFAULT_TEXT_STYLE, DataBindingAuthoringEngine, DataBindingEngine, type DataBindingRule, type DataPreviewSet, type DeleteNodeCommand, type DeleteNodesCommand, type DependencyGraph, type DetachComponentCommand, type DimensionMode, type DividerNode, type DocumentCommand, DocumentMigrator, type DocumentPoint, DocumentValidator, type DocumentVariable, type DotLottieManifest, type DrawPerCharTextOptions, type DuplicateNodesCommand, EMPHASIS_PRESETS, ENTRANCE_PRESETS, EXIT_PRESETS, EXPORT_PROFILE_PRESETS, type EasingControlPoint, type EditorAddNodeCommand, type EditorCommand, EditorCommandSystem, type EditorCommandType, type EditorExecutionResult, EffectBevelSchema, EffectFillSchema, EffectFullDefinitionSchema, EffectGlowSchema, EffectIndexItemSchema, type EffectInstance, EffectLayer, EffectPanelSchema, EffectShadowSchema, EffectStackSchema, EffectStrokeSchema, type EncodedFileEntry, type EncodedOutput, type EvaluatedBroadcastFrame, type EvaluatedContent, type EvaluatedExportFrame, type EvaluatedMilestone, type EvaluatedNode, type EvaluatedNodeState, type EvaluatedScene, type EvaluatedSceneState, type EvaluatedStyle, type EvaluatedThreshold, type EvaluatedTransform, type EvaluatedVideoStateAtTime, type EvaluationDiagnostic, type ExecutionPlanner, type ExecutionPolicy, type ExecutionQuality, ExportAbortError, type ExportConfig, type ExportDiagnosticCode, type ExportDiagnosticSeverity, type ExportFormat, type ExportFrameDescriptor, ExportJob, type ExportJobRecord, type ExportProfile, type ExportProgress, type ExportValidationDiagnostic, ExportValidator, FONT_WEIGHT_OPTIONS, type FillType, type FocalPoint$1 as FocalPoint, type FontRef, FontRegistry, FontSchema, type FontSpec, type FrameGraph, FrameGraphBuilder, type FrameNode, type GaugeNode, type GaugeThreshold, GifEncoder, type GifExportOptions, type GifFrame, GlowLayer, type GradientDir, type GradientNode, GradientStop, GradientStopSchema, GraphValidator, GridEngine, type GroupNodesCommand, type HandleType, type IconNode, type ImageFitMode, type ImageFittingInput, type ImageFittingResult, ImageLayerSchema, type JobChangeListener, type JobStatus, Keyframe, type KeyframeTrack, LOOP_PRESETS, LOTTIE_ANIM_PRESETS, LOTTIE_TEMPLATE_PRESETS, LayerAnimationSchema, type LayoutComputedState, LayoutEngine, type LayoutMode, type LineNode, type ListOverlayContent, type ListOverlayItem, type ListSmartOverlayContent, LiveBroadcastBridge, type LiveBroadcastOptions, type LottieAnimPreset, type LottieFileInfo, type LottieFontEntry, type LottieFontUsage, type LottieGradientStop, type LottieKeyframe, type LottieNode, type LottiePropertyPath, type LottieScanResult, type LottieTemplatePreset, type LowerThirdOverlayContent, type LowerThirdSmartOverlayContent, MAX_ASSET_BYTES, MAX_LOTTIE_BYTES, type MediaEncoder, MediaEncoderRegistry, type MediaFitMode, MediaImageEngine, type MediaLayout, type MetricDelta, MetricEngine, type MetricEvaluationResult, type MetricFormatOptions, type MetricNode, type MilestoneItem, type MotionPreset, type MotionPresetDefinition, type MotionPresetParameter, MotionPresetRegistry, type MoveNodesCommand, type Mp4ExportOptions, Mp4VideoEncoder, type NodeAnimationRules, type NodeConstraints, type NodeDefinition, type NodeLayoutRules, NodeRegistry, type NodeSizingPolicy, type NodeStartTransform, type NodeStyleRules, type NormalizedCrop, NullBackend, type OverlayDocument, type ParsedTextLayer, type PlaybackDirection, type PlaybackMode, PngSequenceEncoder, type PngSequenceFrame, type PngSequenceOptions, Preset, type PrimitiveDefinition, type PrimitiveMediaNode, PrimitiveRegistry, type PrimitiveShapeNode, type PrimitiveTextNode, ProResVideoEncoder, type ProfileCanvasDimensions, type ProgressNode, ProjectCompiler, ProjectHelper, type ProjectManifestV2, type PropertyAnimationDefinition, PropertyAnimationRegistry, type PropertyDefinition, PropertyInspectorEngine, PropertyInterpolator, type PropertySchemaField, type PropertyValueType, type PublishedOverlayArtifact, type QuoteOverlayContent, type QuoteSmartOverlayContent, RawFramesEncoder, type RecordedExecution, type RegisterAssetCommand, type RegisteredAsset, type RegisteredFont, type RemoveAssetCommand, type RemoveBreakpointCommand, type RemoveDataPreviewSetCommand, type RemoveTimelineMarkerCommand, type RemoveVariableCommand, type RenderBackend, type RenderPass, RenderPlan, type RendererCapabilities, type ReorderNodesCommand, type ReparentNodeCommand, type RepeaterNode, type ResizeHandle, type ResizeNodeCommand, type ResizeOptions, ResolveTemplateControlValuesOptions, type ResolvedAsset, type ResolvedFit, type ResolvedFont, type ResolvedImageDimensions, type ResolvedLayoutBounds, type ResolvedMediaLayout, type ResourceAllocation, type ResourceRequest, type ResourceState$1 as ResourceState, ResponsiveAnchorConfig, type ResponsiveNodeOverride, type RichTextNode, type RichTextSpan, RuntimeAssetResolver, type RuntimeContext, SMART_OVERLAY_PRESETS, SUPPORTED_FONT_FAMILIES, type SceneCanvasContext, SceneDocument, type SceneNode, type SceneNodeBase, type SceneNodeType, type ScratchElementBlock, type ScratchOverlayTemplate, type ScreenPoint, SelectionEngine, type SemanticAnimationConfig, type SemanticBehaviorConfig, type SemanticContent, type SemanticIntent, type SemanticOverlayDefinition, type SemanticSlotDefinition, type SemanticSpatialConstraints, SeriesEngine, type SeriesPoint, type SetActiveBreakpointCommand, type SetAssetRefCommand, type SetBindingCommand, type SetDocumentCommand, type SetFontRefCommand, type SetResponsiveOverrideCommand, type ShaderCompilation, type ShapeKind, ShapeLayerSchema, type ShotBoundary, type Size, type SizingDimensionInput, type SmartAlignmentGuide, SmartGuideEngine, type SmartOverlayAnimation, type SmartOverlayClip, type SmartOverlayContentUnion, type SmartOverlayLayout, type SmartOverlayPreset, type SmartOverlayRegistryItem, SmartOverlayRegistryService, SmartOverlayRenderer, type SmartOverlayStyle, type SmartOverlayType, type SmartSnapResult, SnapEngine, type SnapResult, type SocialOverlayContent, type SocialSmartOverlayContent, type SpatialAnchorConfig, type SpatialConstraintSpec, SplitMode, type SplitUnit, SpringParams, type StatOverlayContent, type StatSmartOverlayContent, StyleRecipe, type SubtitleRegion, TEMPLATE_CATEGORIES, type TableColumn, type TableLayoutResult, type TableNode, TemplateCategory, TemplateCategorySchema, TemplateCustomization, TemplateEasingFunction, TemplateKeyframe, TemplateLayer, TemplateLayerSchema, type TemplateManifest, type TemplatePresetCategory, TemplateRenderContext, TemplateRenderer, type TemporalKeyframedRegion, type TextAlign, type TextCustomization, TextEffectBuilder, TextEffectConfig, TextEffectDefinition, TextEffectDefinitionSchema, type TextLayerConfig, TextLayerSchema, type TextLayerStyle, type TextLayoutBounds, type TextLayoutResult, TextSplitAnimator, type TextStyleOverride, TextStyleSpan, TextTemplate, TextTemplateArtifact, type TextTemplateDiagnostic, TextTemplateSchema, type TextTemplateValidationOptions, type ThresholdBand, type TimelineEvent, type TimelineMarker, type TimelineNode, type TimelineOverlayContent, type TimelineOverlayNode, type TimelineSmartOverlayContent, type TrackDefinition, type TrackedSubject, type TranscriptSegment, TransformEngine, type UngroupNodesCommand, type UpdateAnimationCommand, type UpdateCanvasSizeCommand, type UpdateDataPreviewSetCommand, type UpdateDocumentMetaCommand, type UpdateKeyframeTracksCommand, type UpdateNodePropertyCommand, type UpdateNodeStyleCommand, type UpdatePropCommand, type UpdateStyleCommand, type UpdateTimelineMarkerCommand, type UpdateVariableCommand, type Command$1 as V2Command, VERSION, type ValidatedEffectDefinition, type ValidatedTextEffectDefinition, type ValidatedTextTemplate, type ValidationDiagnostic, type ValidationError, type ValidationResult, type VideoCodecProfile, type VideoContext, type VideoNode, type VideoPlaybackConfig, type ViewportState, ViewportTransform, type VirtualWindow, WEBM_EXPORT_MAX_FRAMES, WebMEncoder, type WebMExportOptions, _resetPlatformCache, addImageLayer, addKeyframe, addKeyframeAtTime, addOrUpdateKeyframe, addShapeLayer, addSolidLayer, addTextLayer, addTrack, addVectorShape, alignToLottieJ, animationRuntime, animationValidator, applyEasing, applyFillColorToAll, applyLetterSpacing, applyMaskReveal, applyRecipeToScene, applyStyleToLottie, applyStyleToLottieLayer, applyTimelineAtTime, assertCompatibleTextTemplateRenderer, assertValidTextTemplateArtifact, assetRegistry, bakeAnimationIntoLayer, blendConfigs, blendScenes, buildDotLottie, buildFontEntries, buildLottieFontName, buildPngSequenceZip, builtInRecipes, calculateCropFromFocalPoint, calculateDefaultCoverCrop, calculateMediaFit, calculateResizeBounds, calculateRotationAngle, calculateSha256, canonicalTemplateHash, captureImageSourceDimensions, captureLottieFrames, captureVideoSourceDimensions, clearAnimationFromLayer, clearFontCache, clearRecipeCache, cloneSceneWithNewIds, commandExecutor, compileSemanticOverlay, compileTextTemplate, componentRegistry, computeAutoFitFontSize, computeFitZoom, computeTextLayout, convertScratchTemplateToClip, countTextGlyphs, createBlankLottie, createBlankScratchTemplate, createCanvas, createDefaultRevealTrack, createDefaultScratchBlock, createKeyframed, createPulseOpacityTrack, cubicBezier, dataBindingAuthoringEngine, dataBindingEngine, deleteKeyframe, deserializeTemplate, documentMigrator, documentValidator, downloadDotLottie, downloadLottieJson, downloadLottieMp4, downloadPngSequenceZip, downloadSceneWebM, drawPerCharText, drawRoundedRect, duplicateTrackAtPlayhead, ease, editorCommandSystem, enableKeyframing, encodeGif, ensureDefaultTimeline, ensureFontInLottie, evaluateAnimatable, evaluateExportFrame, evaluateOverlayDocument, evaluateSplitTextTransforms, exportLottieToMp4, exportValidator, findTrackIndex, fontRegistry, formatValidationErrors, getAnimPreset, getAnimatableParamDef, getAnimatableParamsForLayer, getCanvasTemplatePreset, getCanvasTemplatesByCategory, getClipLayout, getDefaultText, getLayerById, getPresetScene, getSourceCropRect, getSpanForCharIndex, getSupportedWebMMimeType, getTemplatePreset, getTemplatesByCategory, getWebMFrameCount, hexToLottieColor, hexToLottieRgb, hitTestTransformHandles, injectBatch, injectColor, injectGlobalTextStyle, injectSolidColor, injectText, injectTextStyle, inspectLottieJson, inspectStickerAsset, interpolateColorString, interpolateValue, isKeyframed, isMp4ExportSupported, isTextTemplateRendererVersionNewer, isWebMExportSupported, layoutEngine, liveBroadcastBridge, loadLottieFonts, lottieColorToHex, lottieJToAlign, measureTextFits, measureTextWidth, mediaEncoderRegistry, motionPresetRegistry, moveKeyframe, normalizeTextTemplateArtifact, parseHistorySnapshot, parseLottieJson, preloadGoogleFont, presetToRecipe, primitiveRegistry, propertyAnimationRegistry, propertyInspectorEngine, propertyInterpolator, pruneTracksForLayer, rainbowCharFillColors, readLayerScalar, readStyleFromLottieLayer, reindexLayers, releaseCanvas, removeKeyframe, removeTemplateKeyframe, removeTrack, renderEvaluatedSceneToCanvas, renderPngSequence, renderSceneWebM, resizeCharFillColors, resolveAnchorPosition, resolveAnimatedScalar, resolveBehaviorToAnimationSpec, resolveConform, resolveDocumentForBreakpoint, resolveExportCanvasDimensions, resolveMediaLayout, resolveNodeForBreakpoint, resolveSpatialConstraints, resolveTemplateControlValues, restoreLetterSpacing, rotateCrop, runtimeAssetResolver, sampleVideoContextAtTime, scanLottieFonts, scanLottieNodes, scanTextLayers, selectionEngine, serializeTemplate, setCharFillColor, setTracks, shouldUsePerCharFill, smartOverlayRegistry, snapEngine, snapshotScene, solveSpring, sortKeyframes, splitTextContent, streamExportFrames, supportsCtxFilter, supportsLetterSpacing, supportsOffscreenCanvas, supportsRoundRect, trackId, updateKeyframe, updateSceneBevel, updateSceneCanvas, updateSceneFill, updateSceneGlow, updateScenePanel, updateSceneShadow, updateSceneStack, updateSceneStroke, updateSceneText, updateStaticProperty, updateTimeline, updateTrack, updateTrackMatte, upsertKeyframe, validateEffectDefinition, validateEffectDefinitionStrict, validateTextEffectDefinition, validateTextEffectDefinitionStrict, validateTextTemplate, validateTextTemplateArtifact, validateTextTemplateStrict, viewportTransform, waitForFontsReady, wrapTextToWidth };
|
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
getCaptionPreset,
|
|
15
15
|
hashCaptionPreset,
|
|
16
16
|
renderCaptionToCanvas
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-5DNPTBGA.js";
|
|
18
18
|
import {
|
|
19
19
|
CANONICAL_RENDERER_VERSION,
|
|
20
20
|
CANONICAL_SCHEMA_VERSION,
|
|
@@ -23,6 +23,7 @@ import {
|
|
|
23
23
|
TEXT_TEMPLATE_SCHEMA_VERSION,
|
|
24
24
|
addKeyframe,
|
|
25
25
|
applyEasing,
|
|
26
|
+
assertCompatibleTextTemplateRenderer,
|
|
26
27
|
assertValidTextTemplateArtifact,
|
|
27
28
|
canonicalContentHash,
|
|
28
29
|
canonicalTemplateHash,
|
|
@@ -50,6 +51,7 @@ import {
|
|
|
50
51
|
interpolateColorString,
|
|
51
52
|
interpolateValue,
|
|
52
53
|
isKeyframed,
|
|
54
|
+
isTextTemplateRendererVersionNewer,
|
|
53
55
|
normalizeTextEffect,
|
|
54
56
|
normalizeTextTemplate,
|
|
55
57
|
normalizeTextTemplateArtifact,
|
|
@@ -69,7 +71,7 @@ import {
|
|
|
69
71
|
splitTextContent,
|
|
70
72
|
validateBubbleAssetDefinition,
|
|
71
73
|
validateTextTemplateArtifact
|
|
72
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-3AVGIISI.js";
|
|
73
75
|
import {
|
|
74
76
|
FontLoader,
|
|
75
77
|
checkFontVariant,
|
|
@@ -78,7 +80,7 @@ import {
|
|
|
78
80
|
initializeFontSystem,
|
|
79
81
|
injectFontVariantRules,
|
|
80
82
|
resetFontLoader
|
|
81
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-IZH6P7WL.js";
|
|
82
84
|
import {
|
|
83
85
|
COMPOSITION_PRESETS,
|
|
84
86
|
CanvasDevice,
|
|
@@ -139,23 +141,7 @@ import {
|
|
|
139
141
|
syncCompositorFromScene,
|
|
140
142
|
textEffectConfigToScene,
|
|
141
143
|
wrapTextToWidth
|
|
142
|
-
} from "./chunk-
|
|
143
|
-
import {
|
|
144
|
-
ALL_TRANSITIONS,
|
|
145
|
-
TRANSITION_CATEGORIES,
|
|
146
|
-
TRANSITION_PRESETS,
|
|
147
|
-
TransitionRenderer,
|
|
148
|
-
getAllTransitionTags,
|
|
149
|
-
getAllTransitions,
|
|
150
|
-
getRecommendedDuration,
|
|
151
|
-
getTransitionById,
|
|
152
|
-
getTransitionByRenderer,
|
|
153
|
-
getTransitionCategories,
|
|
154
|
-
getTransitionCountByCategory,
|
|
155
|
-
getTransitionsByCategory,
|
|
156
|
-
getTransitionsByTags,
|
|
157
|
-
searchTransitions
|
|
158
|
-
} from "./chunk-PU3Q4QI7.js";
|
|
144
|
+
} from "./chunk-4AT7MAXU.js";
|
|
159
145
|
import {
|
|
160
146
|
EFFECTS_REGISTRY,
|
|
161
147
|
EffectEngine,
|
|
@@ -180,6 +166,22 @@ import {
|
|
|
180
166
|
searchEffectsForApi,
|
|
181
167
|
withContext
|
|
182
168
|
} from "./chunk-XHHAW7MS.js";
|
|
169
|
+
import {
|
|
170
|
+
ALL_TRANSITIONS,
|
|
171
|
+
TRANSITION_CATEGORIES,
|
|
172
|
+
TRANSITION_PRESETS,
|
|
173
|
+
TransitionRenderer,
|
|
174
|
+
getAllTransitionTags,
|
|
175
|
+
getAllTransitions,
|
|
176
|
+
getRecommendedDuration,
|
|
177
|
+
getTransitionById,
|
|
178
|
+
getTransitionByRenderer,
|
|
179
|
+
getTransitionCategories,
|
|
180
|
+
getTransitionCountByCategory,
|
|
181
|
+
getTransitionsByCategory,
|
|
182
|
+
getTransitionsByTags,
|
|
183
|
+
searchTransitions
|
|
184
|
+
} from "./chunk-PU3Q4QI7.js";
|
|
183
185
|
|
|
184
186
|
// src/validation.ts
|
|
185
187
|
import { z } from "zod";
|
|
@@ -17985,6 +17987,7 @@ export {
|
|
|
17985
17987
|
applyStyleToLottie,
|
|
17986
17988
|
applyStyleToLottieLayer,
|
|
17987
17989
|
applyTimelineAtTime,
|
|
17990
|
+
assertCompatibleTextTemplateRenderer,
|
|
17988
17991
|
assertValidTextTemplateArtifact,
|
|
17989
17992
|
assetRegistry,
|
|
17990
17993
|
bakeAnimationIntoLayer,
|
|
@@ -18137,6 +18140,7 @@ export {
|
|
|
18137
18140
|
interpolateValue,
|
|
18138
18141
|
isKeyframed,
|
|
18139
18142
|
isMp4ExportSupported,
|
|
18143
|
+
isTextTemplateRendererVersionNewer,
|
|
18140
18144
|
isWebMExportSupported,
|
|
18141
18145
|
layerToTextEffectConfig,
|
|
18142
18146
|
layoutEngine,
|