remotion 4.0.534 → 4.0.536
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/README.md +1 -1
- package/dist/cjs/AbsoluteFill.d.ts +2 -7
- package/dist/cjs/AbsoluteFill.js +1 -1
- package/dist/cjs/Composition.js +15 -20
- package/dist/cjs/CompositionManager.d.ts +0 -4
- package/dist/cjs/CompositionManagerContext.d.ts +1 -6
- package/dist/cjs/CompositionManagerContext.js +0 -4
- package/dist/cjs/CompositionManagerProvider.js +77 -169
- package/dist/cjs/CompositionRegistryProvider.d.ts +5 -0
- package/dist/cjs/CompositionRegistryProvider.js +142 -0
- package/dist/cjs/DefaultPremountContext.d.ts +1 -0
- package/dist/cjs/DefaultPremountContext.js +6 -0
- package/dist/cjs/Folder.js +11 -20
- package/dist/cjs/HtmlInCanvas.d.ts +6 -4
- package/dist/cjs/HtmlInCanvas.js +179 -32
- package/dist/cjs/IFrame.js +40 -8
- package/dist/cjs/Img.d.ts +4 -2
- package/dist/cjs/Img.js +4 -3
- package/dist/cjs/Interactive.d.ts +31 -5
- package/dist/cjs/Interactive.js +40 -8
- package/dist/cjs/RemotionRoot.js +2 -1
- package/dist/cjs/Sequence.d.ts +2 -3
- package/dist/cjs/Sequence.js +117 -39
- package/dist/cjs/SequenceActivityBoundary.d.ts +10 -0
- package/dist/cjs/SequenceActivityBoundary.js +101 -0
- package/dist/cjs/SequenceActivityBudget.d.ts +13 -0
- package/dist/cjs/SequenceActivityBudget.js +196 -0
- package/dist/cjs/SequenceActivitySuspensionProvider.d.ts +4 -0
- package/dist/cjs/SequenceActivitySuspensionProvider.js +45 -0
- package/dist/cjs/SequenceManager.d.ts +9 -22
- package/dist/cjs/SequenceManager.js +54 -196
- package/dist/cjs/SequenceRegistryProvider.d.ts +4 -0
- package/dist/cjs/SequenceRegistryProvider.js +292 -0
- package/dist/cjs/Track.d.ts +10 -3
- package/dist/cjs/Track.js +8 -8
- package/dist/cjs/animated-image/AnimatedImage.d.ts +3 -2
- package/dist/cjs/animated-image/AnimatedImage.js +47 -34
- package/dist/cjs/animated-image/canvas.d.ts +2 -1
- package/dist/cjs/animated-image/canvas.js +2 -2
- package/dist/cjs/animated-image/props.d.ts +2 -1
- package/dist/cjs/asset-types.d.ts +4 -0
- package/dist/cjs/audio/AudioForPreview.js +54 -41
- package/dist/cjs/audio/get-audio-sync-anchor-tolerance.d.ts +1 -0
- package/dist/cjs/audio/get-audio-sync-anchor-tolerance.js +11 -0
- package/dist/cjs/audio/shared-audio-tags.d.ts +1 -1
- package/dist/cjs/audio/shared-audio-tags.js +1 -1
- package/dist/cjs/audio/use-audio-context.js +26 -7
- package/dist/cjs/canvas-image/CanvasImage.d.ts +3 -2
- package/dist/cjs/canvas-image/CanvasImage.js +5 -4
- package/dist/cjs/canvas-image/props.d.ts +2 -1
- package/dist/cjs/committed-metadata.d.ts +68 -0
- package/dist/cjs/committed-metadata.js +39 -0
- package/dist/cjs/component-identity.d.ts +6 -0
- package/dist/cjs/component-identity.js +39 -0
- package/dist/cjs/composition-registry-fallback.d.ts +14 -0
- package/dist/cjs/composition-registry-fallback.js +35 -0
- package/dist/cjs/create-element-source-proxy.d.ts +4 -0
- package/dist/cjs/create-element-source-proxy.js +46 -0
- package/dist/cjs/default-premount-in-seconds.d.ts +3 -0
- package/dist/cjs/default-premount-in-seconds.js +12 -0
- package/dist/cjs/effects/Solid.d.ts +3 -2
- package/dist/cjs/effects/Solid.js +5 -4
- package/dist/cjs/effects/canvas-pool.d.ts +1 -0
- package/dist/cjs/effects/canvas-pool.js +15 -10
- package/dist/cjs/effects/effect-types.d.ts +4 -0
- package/dist/cjs/effects/index.d.ts +1 -1
- package/dist/cjs/effects/run-effect-chain.d.ts +3 -1
- package/dist/cjs/effects/run-effect-chain.js +94 -56
- package/dist/cjs/effects/use-effect-chain-state.d.ts +2 -1
- package/dist/cjs/effects/use-effect-chain-state.js +11 -2
- package/dist/cjs/effects/use-memoized-effects.js +96 -17
- package/dist/cjs/enable-sequence-stack-traces.d.ts +2 -8
- package/dist/cjs/enable-sequence-stack-traces.js +7 -38
- package/dist/cjs/freeze.js +4 -1
- package/dist/cjs/index.d.ts +1 -3
- package/dist/cjs/index.js +0 -2
- package/dist/cjs/interactivity-schema.d.ts +50 -14
- package/dist/cjs/interactivity-schema.js +32 -4
- package/dist/cjs/internals.d.ts +110 -33
- package/dist/cjs/internals.js +29 -8
- package/dist/cjs/interpolate-keyframed-status.d.ts +4 -0
- package/dist/cjs/interpolate-keyframed-status.js +38 -1
- package/dist/cjs/interpolate.d.ts +12 -0
- package/dist/cjs/interpolate.js +15 -1
- package/dist/cjs/no-react.d.ts +5 -1
- package/dist/cjs/no-react.js +6 -0
- package/dist/cjs/optimistic-sequence-deletion.d.ts +17 -0
- package/dist/cjs/optimistic-sequence-deletion.js +114 -0
- package/dist/cjs/registry-store.d.ts +17 -0
- package/dist/cjs/registry-store.js +68 -0
- package/dist/cjs/sequence-activity-context.d.ts +13 -0
- package/dist/cjs/sequence-activity-context.js +21 -0
- package/dist/cjs/sequence-activity-defaults.d.ts +1 -0
- package/dist/cjs/sequence-activity-defaults.js +4 -0
- package/dist/cjs/sequence-outline.js +1 -2
- package/dist/cjs/sequence-registry-context.d.ts +26 -0
- package/dist/cjs/sequence-registry-context.js +71 -0
- package/dist/cjs/series/index.d.ts +2 -1
- package/dist/cjs/series/index.js +12 -4
- package/dist/cjs/timeline-position-state.js +11 -3
- package/dist/cjs/timeline-track-context.d.ts +1 -1
- package/dist/cjs/timeline-track-context.js +1 -2
- package/dist/cjs/use-lazy-component.js +29 -15
- package/dist/cjs/use-media-in-timeline.d.ts +7 -14
- package/dist/cjs/use-media-in-timeline.js +15 -117
- package/dist/cjs/use-premounting.js +3 -4
- package/dist/cjs/use-schema.js +3 -1
- package/dist/cjs/use-sequence-registration.d.ts +1 -1
- package/dist/cjs/use-sequence-registration.js +22 -6
- package/dist/cjs/use-timeline-seek.d.ts +1 -0
- package/dist/cjs/use-timeline-seek.js +10 -0
- package/dist/cjs/use-video.d.ts +7 -2
- package/dist/cjs/use-video.js +11 -3
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/cjs/video/VideoForPreview.js +55 -42
- package/dist/cjs/video/seek-until-right.js +11 -7
- package/dist/cjs/with-interactivity-schema.js +40 -14
- package/dist/cjs/wrap-remotion-context.d.ts +15 -3
- package/dist/cjs/wrap-remotion-context.js +101 -7
- package/dist/esm/index.mjs +3562 -2347
- package/dist/esm/no-react.mjs +74 -37
- package/dist/esm/version.mjs +1 -1
- package/package.json +2 -2
- package/dist/cjs/nonce.d.ts +0 -11
- package/dist/cjs/nonce.js +0 -42
- package/dist/cjs/sequence-order-marker.d.ts +0 -58
- package/dist/cjs/sequence-order-marker.js +0 -44
|
@@ -86,12 +86,17 @@ export type ColorFieldSchema = {
|
|
|
86
86
|
description?: string;
|
|
87
87
|
keyframable?: boolean;
|
|
88
88
|
};
|
|
89
|
-
export type
|
|
90
|
-
type: '
|
|
89
|
+
export type StringFieldSchema = {
|
|
90
|
+
type: 'string';
|
|
91
91
|
default: string;
|
|
92
92
|
description?: string;
|
|
93
93
|
keyframable?: false;
|
|
94
94
|
};
|
|
95
|
+
/** @deprecated Use StringFieldSchema with type: 'string' instead. */
|
|
96
|
+
export type TextContentFieldSchema = Omit<StringFieldSchema, 'type'> & {
|
|
97
|
+
/** @deprecated Use 'string' instead. */
|
|
98
|
+
type: 'text-content';
|
|
99
|
+
};
|
|
95
100
|
export type SvgPathFieldSchema = {
|
|
96
101
|
type: 'svg-path';
|
|
97
102
|
default: string | undefined;
|
|
@@ -152,7 +157,7 @@ export type CaptionsFieldSchema = {
|
|
|
152
157
|
description?: string;
|
|
153
158
|
keyframable: false;
|
|
154
159
|
};
|
|
155
|
-
export type VisibleFieldSchema = NumberFieldSchema | BooleanFieldSchema | RotationCssFieldSchema | RotationDegreesFieldSchema | TranslateFieldSchema | TransformOriginFieldSchema | ScaleFieldSchema | UvCoordinateFieldSchema | ColorFieldSchema | TextContentFieldSchema | SvgPathFieldSchema | FontFamilyFieldSchema | FontWeightFieldSchema | AssetFieldSchema | ArrayFieldSchema | CaptionsFieldSchema | EnumFieldSchema;
|
|
160
|
+
export type VisibleFieldSchema = NumberFieldSchema | BooleanFieldSchema | RotationCssFieldSchema | RotationDegreesFieldSchema | TranslateFieldSchema | TransformOriginFieldSchema | ScaleFieldSchema | UvCoordinateFieldSchema | ColorFieldSchema | StringFieldSchema | TextContentFieldSchema | SvgPathFieldSchema | FontFamilyFieldSchema | FontWeightFieldSchema | AssetFieldSchema | ArrayFieldSchema | CaptionsFieldSchema | EnumFieldSchema;
|
|
156
161
|
export type InteractivitySchemaField = VisibleFieldSchema | HiddenFieldSchema;
|
|
157
162
|
export type InteractivitySchema = {
|
|
158
163
|
[key: string]: InteractivitySchemaField;
|
|
@@ -431,18 +436,21 @@ export declare const svgPaintSchema: {
|
|
|
431
436
|
readonly description: "Fill";
|
|
432
437
|
};
|
|
433
438
|
};
|
|
439
|
+
/**
|
|
440
|
+
* Controls for children content. Currently uses a string field, but the field
|
|
441
|
+
* type may evolve to support richer content.
|
|
442
|
+
*/
|
|
443
|
+
export declare const childrenSchema: {
|
|
444
|
+
children: InteractivitySchemaField;
|
|
445
|
+
};
|
|
446
|
+
/** @deprecated Use childrenSchema instead. */
|
|
434
447
|
export declare const textContentSchema: {
|
|
435
|
-
|
|
436
|
-
readonly type: "text-content";
|
|
437
|
-
readonly default: "";
|
|
438
|
-
readonly description: "Text";
|
|
439
|
-
readonly keyframable: false;
|
|
440
|
-
};
|
|
448
|
+
children: InteractivitySchemaField;
|
|
441
449
|
};
|
|
442
450
|
export declare const premountSchema: {
|
|
443
451
|
readonly premountFor: {
|
|
444
452
|
readonly type: "number";
|
|
445
|
-
readonly default:
|
|
453
|
+
readonly default: undefined;
|
|
446
454
|
readonly description: "Premount For";
|
|
447
455
|
readonly min: 0;
|
|
448
456
|
readonly step: 1;
|
|
@@ -461,7 +469,7 @@ export declare const premountSchema: {
|
|
|
461
469
|
export declare const sequencePremountSchema: {
|
|
462
470
|
readonly premountFor: {
|
|
463
471
|
readonly type: "number";
|
|
464
|
-
readonly default:
|
|
472
|
+
readonly default: undefined;
|
|
465
473
|
readonly description: "Premount For";
|
|
466
474
|
readonly min: 0;
|
|
467
475
|
readonly step: 1;
|
|
@@ -675,7 +683,7 @@ export declare const sequenceStyleSchema: {
|
|
|
675
683
|
};
|
|
676
684
|
readonly premountFor: {
|
|
677
685
|
readonly type: "number";
|
|
678
|
-
readonly default:
|
|
686
|
+
readonly default: undefined;
|
|
679
687
|
readonly description: "Premount For";
|
|
680
688
|
readonly min: 0;
|
|
681
689
|
readonly step: 1;
|
|
@@ -756,6 +764,34 @@ export declare const trimBeforeField: {
|
|
|
756
764
|
readonly step: 1;
|
|
757
765
|
readonly hiddenFromList: true;
|
|
758
766
|
};
|
|
767
|
+
export declare const sequenceTimingSchema: {
|
|
768
|
+
readonly from: {
|
|
769
|
+
readonly type: "number";
|
|
770
|
+
readonly default: 0;
|
|
771
|
+
readonly step: 1;
|
|
772
|
+
readonly description: "From";
|
|
773
|
+
readonly hiddenFromList: false;
|
|
774
|
+
readonly keyframable: false;
|
|
775
|
+
};
|
|
776
|
+
readonly durationInFrames: {
|
|
777
|
+
readonly type: "number";
|
|
778
|
+
readonly default: undefined;
|
|
779
|
+
readonly min: 1;
|
|
780
|
+
readonly step: 1;
|
|
781
|
+
readonly description: "Duration";
|
|
782
|
+
readonly hiddenFromList: false;
|
|
783
|
+
readonly keyframable: false;
|
|
784
|
+
};
|
|
785
|
+
readonly trimBefore: {
|
|
786
|
+
readonly type: "number";
|
|
787
|
+
readonly default: 0;
|
|
788
|
+
readonly min: 0;
|
|
789
|
+
readonly step: 1;
|
|
790
|
+
readonly description: "Trim before";
|
|
791
|
+
readonly hiddenFromList: false;
|
|
792
|
+
readonly keyframable: false;
|
|
793
|
+
};
|
|
794
|
+
};
|
|
759
795
|
export declare const trimAfterField: {
|
|
760
796
|
readonly type: "number";
|
|
761
797
|
readonly default: undefined;
|
|
@@ -1004,7 +1040,7 @@ export declare const sequenceSchema: {
|
|
|
1004
1040
|
};
|
|
1005
1041
|
readonly premountFor: {
|
|
1006
1042
|
readonly type: "number";
|
|
1007
|
-
readonly default:
|
|
1043
|
+
readonly default: undefined;
|
|
1008
1044
|
readonly description: "Premount For";
|
|
1009
1045
|
readonly min: 0;
|
|
1010
1046
|
readonly step: 1;
|
|
@@ -1250,7 +1286,7 @@ export declare const sequenceSchemaWithoutFrom: {
|
|
|
1250
1286
|
};
|
|
1251
1287
|
readonly premountFor: {
|
|
1252
1288
|
readonly type: "number";
|
|
1253
|
-
readonly default:
|
|
1289
|
+
readonly default: undefined;
|
|
1254
1290
|
readonly description: "Premount For";
|
|
1255
1291
|
readonly min: 0;
|
|
1256
1292
|
readonly step: 1;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.sequenceSchemaDefaultLayoutNone = exports.sequenceSchemaWithoutFrom = exports.baseSchemaWithoutFrom = exports.sequenceSchema = exports.baseSchemaWithoutPlaybackRate = exports.baseSchema = exports.freezeField = exports.loopField = exports.trimAfterField = exports.trimBeforeField = exports.fromField = exports.durationInFramesField = exports.extendSchemaWithSequenceName = exports.sequenceNameField = exports.hiddenField = exports.sequenceStyleSchema = exports.sequenceCropSchema = exports.cropSchema = exports.sequencePremountSchema = exports.premountSchema = exports.textContentSchema = exports.svgPaintSchema = exports.svgStrokeSchema = exports.backgroundSchema = exports.borderRadiusSchema = exports.borderSchema = exports.textSchema = exports.sequenceVisualStyleSchema = exports.transformSchema = exports.captionsSchema = void 0;
|
|
3
|
+
exports.sequenceSchemaDefaultLayoutNone = exports.sequenceSchemaWithoutFrom = exports.baseSchemaWithoutFrom = exports.sequenceSchema = exports.baseSchemaWithoutPlaybackRate = exports.baseSchema = exports.freezeField = exports.loopField = exports.trimAfterField = exports.sequenceTimingSchema = exports.trimBeforeField = exports.fromField = exports.durationInFramesField = exports.extendSchemaWithSequenceName = exports.sequenceNameField = exports.hiddenField = exports.sequenceStyleSchema = exports.sequenceCropSchema = exports.cropSchema = exports.sequencePremountSchema = exports.premountSchema = exports.textContentSchema = exports.childrenSchema = exports.svgPaintSchema = exports.svgStrokeSchema = exports.backgroundSchema = exports.borderRadiusSchema = exports.borderSchema = exports.textSchema = exports.sequenceVisualStyleSchema = exports.transformSchema = exports.captionsSchema = void 0;
|
|
4
4
|
exports.captionsSchema = {
|
|
5
5
|
captions: {
|
|
6
6
|
type: 'remotion-captions',
|
|
@@ -228,18 +228,25 @@ exports.svgPaintSchema = {
|
|
|
228
228
|
},
|
|
229
229
|
...exports.svgStrokeSchema,
|
|
230
230
|
};
|
|
231
|
-
|
|
231
|
+
/**
|
|
232
|
+
* Controls for children content. Currently uses a string field, but the field
|
|
233
|
+
* type may evolve to support richer content.
|
|
234
|
+
*/
|
|
235
|
+
exports.childrenSchema = {
|
|
232
236
|
children: {
|
|
233
|
-
type: '
|
|
237
|
+
type: 'string',
|
|
234
238
|
default: '',
|
|
235
239
|
description: 'Text',
|
|
236
240
|
keyframable: false,
|
|
237
241
|
},
|
|
238
242
|
};
|
|
243
|
+
/** @deprecated Use childrenSchema instead. */
|
|
244
|
+
exports.textContentSchema = exports.childrenSchema;
|
|
239
245
|
exports.premountSchema = {
|
|
240
246
|
premountFor: {
|
|
241
247
|
type: 'number',
|
|
242
|
-
default
|
|
248
|
+
// Omission inherits the preview's default; zero explicitly disables it.
|
|
249
|
+
default: undefined,
|
|
243
250
|
description: 'Premount For',
|
|
244
251
|
min: 0,
|
|
245
252
|
step: 1,
|
|
@@ -347,6 +354,27 @@ exports.trimBeforeField = {
|
|
|
347
354
|
step: 1,
|
|
348
355
|
hiddenFromList: true,
|
|
349
356
|
};
|
|
357
|
+
// Packed timeline containers expose timing through the inspector.
|
|
358
|
+
exports.sequenceTimingSchema = {
|
|
359
|
+
from: {
|
|
360
|
+
...exports.fromField,
|
|
361
|
+
description: 'From',
|
|
362
|
+
hiddenFromList: false,
|
|
363
|
+
keyframable: false,
|
|
364
|
+
},
|
|
365
|
+
durationInFrames: {
|
|
366
|
+
...exports.durationInFramesField,
|
|
367
|
+
description: 'Duration',
|
|
368
|
+
hiddenFromList: false,
|
|
369
|
+
keyframable: false,
|
|
370
|
+
},
|
|
371
|
+
trimBefore: {
|
|
372
|
+
...exports.trimBeforeField,
|
|
373
|
+
description: 'Trim before',
|
|
374
|
+
hiddenFromList: false,
|
|
375
|
+
keyframable: false,
|
|
376
|
+
},
|
|
377
|
+
};
|
|
350
378
|
exports.trimAfterField = {
|
|
351
379
|
type: 'number',
|
|
352
380
|
default: undefined,
|
package/dist/cjs/internals.d.ts
CHANGED
|
@@ -7,24 +7,60 @@ import type { CompositionManagerContext } from './CompositionManagerContext.js';
|
|
|
7
7
|
import * as CSSUtils from './default-css.js';
|
|
8
8
|
import { type OriginalSourceLocation } from './enable-sequence-stack-traces.js';
|
|
9
9
|
import type { SerializedJSONWithCustomFields } from './input-props-serialization.js';
|
|
10
|
-
import { type
|
|
10
|
+
import { type ArrayFieldSchema, type ArrayItemFieldSchema, type AssetFieldSchema, type InteractivitySchema, type InteractivitySchemaField, type VisibleFieldSchema } from './interactivity-schema.js';
|
|
11
11
|
import type { LoggingContextValue } from './log-level-context.js';
|
|
12
12
|
import type { RemotionEnvironment } from './remotion-environment-context.js';
|
|
13
13
|
import type { OverrideIdToNodePaths, OverrideToNodePathGetters, OverrideToNodeSetters } from './sequence-node-path.js';
|
|
14
14
|
import { OverrideIdsToNodePathsGettersContext, OverrideIdsToNodePathsSettersContext } from './sequence-node-path.js';
|
|
15
15
|
import type { ResolvedStackLocation } from './sequence-stack-traces.js';
|
|
16
16
|
import type { CannotUpdateSequenceReason } from './SequenceManager.js';
|
|
17
|
-
import { type CanUpdateEffectPropsResponse, type CanUpdateEffectPropsResponseFalse, type CanUpdateEffectPropsResponseTrue, type CanUpdateSequencePropsResponse, type CanUpdateSequencePropsResponseFalse, type CanUpdateSequencePropsResponseTrue, type SequenceNodePath, type
|
|
17
|
+
import { type CanUpdateEffectPropsResponse, type CanUpdateEffectPropsResponseFalse, type CanUpdateEffectPropsResponseTrue, type CanUpdateSequencePropsResponse, type CanUpdateSequencePropsResponseFalse, type CanUpdateSequencePropsResponseTrue, type SequenceNodePath, type SequencePropsStatusRemapping, type SequencePropsSubscriptionKey, type VideoConfigValues } from './SequenceManager.js';
|
|
18
18
|
import * as TimelinePosition from './timeline-position-state.js';
|
|
19
19
|
import { type PlaybackRateContextValue, type SetTimelineContextValue, type TimelineContextValue } from './TimelineContext.js';
|
|
20
20
|
import { truthy } from './truthy.js';
|
|
21
|
-
import type {
|
|
21
|
+
import type { CanUpdateSequencePropStatusEasing, CanUpdateSequencePropStatusFalse, CanUpdateSequencePropStatusKeyframed, CanUpdateSequencePropStatusStatic, DragOverrideValue, GetDragOverrides, GetEffectDragOverrides, GetEffectPropStatuses, GetPropStatuses, VideoConfigNumericExpression } from './use-schema.js';
|
|
22
22
|
import { type CanUpdateSequencePropStatus, type DragOverrides, type EffectDragOverrides, type PropStatuses } from './use-schema.js';
|
|
23
23
|
import type { MediaVolumeContextValue, SetMediaVolumeContextValue } from './volume-position-state.js';
|
|
24
24
|
import type { WatchRemotionStaticFilesPayload } from './watch-static-file.js';
|
|
25
25
|
import { useRemotionContexts } from './wrap-remotion-context.js';
|
|
26
26
|
export type { EffectChainState } from './effects/run-effect-chain.js';
|
|
27
27
|
export declare const Internals: {
|
|
28
|
+
readonly OptimisticSequenceDeletion: {
|
|
29
|
+
register: (stack: string | null, node: {
|
|
30
|
+
absolutePath: string;
|
|
31
|
+
nodePath: SequenceNodePath;
|
|
32
|
+
} | null) => void;
|
|
33
|
+
isDeleted: (node: {
|
|
34
|
+
absolutePath: string;
|
|
35
|
+
nodePath: SequenceNodePath;
|
|
36
|
+
} | null, pending: ReadonlySet<string>) => boolean;
|
|
37
|
+
isElementDeleted: (element: import("react").ReactNode, pending: ReadonlySet<string>) => boolean;
|
|
38
|
+
set: (nodes: readonly {
|
|
39
|
+
absolutePath: string;
|
|
40
|
+
nodePath: SequenceNodePath;
|
|
41
|
+
}[], revision: number, deleted: boolean) => void;
|
|
42
|
+
rollback: (nodes: readonly {
|
|
43
|
+
absolutePath: string;
|
|
44
|
+
nodePath: SequenceNodePath;
|
|
45
|
+
}[], revision: number) => void;
|
|
46
|
+
restore: (nodes: readonly {
|
|
47
|
+
absolutePath: string;
|
|
48
|
+
nodePath: SequenceNodePath;
|
|
49
|
+
}[], revision: number, deleted: boolean) => void;
|
|
50
|
+
prepareRetirement: (nodes: readonly {
|
|
51
|
+
absolutePath: string;
|
|
52
|
+
nodePath: SequenceNodePath;
|
|
53
|
+
}[], dispatchedRevision: number) => () => void;
|
|
54
|
+
};
|
|
55
|
+
readonly usePendingSequenceDeletions: () => ReadonlySet<string>;
|
|
56
|
+
readonly createElementSourceProxy: <T extends typeof import("react").createElement | typeof import("react/jsx-runtime").jsx | typeof import("react/jsx-dev-runtime").jsxDEV>(api: T, sourceArgumentIndex: number | null, getSourceFileName: (fileName: string) => string) => T;
|
|
57
|
+
readonly CommittedMetadataProvider: import("react").ProviderExoticComponent<import("react").ProviderProps<null> & {
|
|
58
|
+
readonly _remotionCommitMetadata: import("./committed-metadata.js").CommittedMetadata | null;
|
|
59
|
+
}>;
|
|
60
|
+
readonly withCommittedMetadata: <T>(provider: import("react").Provider<T>) => import("react").ProviderExoticComponent<import("react").ProviderProps<T> & {
|
|
61
|
+
readonly _remotionCommitMetadata: import("./committed-metadata.js").CommittedMetadata | null;
|
|
62
|
+
}>;
|
|
63
|
+
readonly DefaultPremountContext: import("react").Context<number>;
|
|
28
64
|
readonly evaluateSourceNumericValue: (expression: import("./use-schema.js").SourceNumericValue, config: VideoConfigValues | null) => number;
|
|
29
65
|
readonly evaluateSourcePropStatuses: (props: Record<string, import("./use-schema.js").CanUpdateSequencePropSource>, config: VideoConfigValues | null) => Record<string, CanUpdateSequencePropStatus>;
|
|
30
66
|
readonly AbsoluteFillElement: import("react").ForwardRefExoticComponent<Omit<import("./AbsoluteFillElement.js").AbsoluteFillElementProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -102,25 +138,26 @@ export declare const Internals: {
|
|
|
102
138
|
readonly VisualModePropStatusesRefContext: import("react").Context<import("./SequenceManager.js").VisualModePropStatusesRef>;
|
|
103
139
|
readonly VisualModeBatchSettersContext: import("react").Context<import("./SequenceManager.js").VisualModeBatchSetters | null>;
|
|
104
140
|
readonly VisualModeDragOverridesContext: import("react").Context<import("./SequenceManager.js").VisualModeDragOverrides>;
|
|
141
|
+
readonly VisualModeDragOverridesRefContext: import("react").Context<import("react").RefObject<import("./SequenceManager.js").VisualModeDragOverrides>>;
|
|
105
142
|
readonly VisualModeSettersContext: import("react").Context<import("./SequenceManager.js").VisualModeSetters>;
|
|
106
|
-
readonly SequenceManager: import("react").Context<import("./SequenceManager.js").SequenceManagerContext>;
|
|
107
143
|
readonly SequenceManagerProvider: import("react").FC<{
|
|
108
144
|
readonly children: import("react").ReactNode;
|
|
109
145
|
}>;
|
|
110
|
-
readonly SequenceManagerRefContext: import("react").Context<import("./
|
|
146
|
+
readonly SequenceManagerRefContext: import("react").Context<import("./sequence-registry-context.js").SequenceManagerRef>;
|
|
147
|
+
readonly SequenceRegistryContext: import("react").Context<import("./registry-store.js").RegistryStore<TSequence[]> | null>;
|
|
111
148
|
readonly useActiveFromDragOverrideKeys: () => ReadonlySet<string>;
|
|
149
|
+
readonly useDragOverridesForNodePath: (nodePath: SequencePropsSubscriptionKey | null) => Record<string, DragOverrideValue>;
|
|
112
150
|
readonly useSequenceManagerSequences: () => TSequence[];
|
|
113
151
|
readonly SequenceRegistrationContext: import("react").Context<boolean>;
|
|
114
152
|
readonly DisableSequenceRegistrationProvider: import("react").FC<{
|
|
115
153
|
readonly children: import("react").ReactNode;
|
|
116
154
|
}>;
|
|
117
|
-
readonly
|
|
118
|
-
|
|
119
|
-
compositionMarker: symbol;
|
|
120
|
-
folderMarker: symbol;
|
|
121
|
-
sequenceManagerMarker: symbol;
|
|
122
|
-
sequenceMarker: symbol;
|
|
155
|
+
readonly CommittedMetadataInternals: {
|
|
156
|
+
metadataProp: "_remotionCommitMetadata";
|
|
123
157
|
eventName: string;
|
|
158
|
+
installationMarker: symbol;
|
|
159
|
+
failureMarker: symbol;
|
|
160
|
+
registrationErrorEventName: string;
|
|
124
161
|
};
|
|
125
162
|
readonly SequenceOutlineInternals: {
|
|
126
163
|
createRef: () => import("react").RefObject<Element | null>;
|
|
@@ -327,7 +364,7 @@ export declare const Internals: {
|
|
|
327
364
|
};
|
|
328
365
|
readonly premountFor: {
|
|
329
366
|
readonly type: "number";
|
|
330
|
-
readonly default:
|
|
367
|
+
readonly default: undefined;
|
|
331
368
|
readonly description: "Premount For";
|
|
332
369
|
readonly min: 0;
|
|
333
370
|
readonly step: 1;
|
|
@@ -387,6 +424,41 @@ export declare const Internals: {
|
|
|
387
424
|
};
|
|
388
425
|
};
|
|
389
426
|
};
|
|
427
|
+
readonly sequenceTimingSchema: {
|
|
428
|
+
readonly from: {
|
|
429
|
+
readonly type: "number";
|
|
430
|
+
readonly default: 0;
|
|
431
|
+
readonly step: 1;
|
|
432
|
+
readonly description: "From";
|
|
433
|
+
readonly hiddenFromList: false;
|
|
434
|
+
readonly keyframable: false;
|
|
435
|
+
};
|
|
436
|
+
readonly durationInFrames: {
|
|
437
|
+
readonly type: "number";
|
|
438
|
+
readonly default: undefined;
|
|
439
|
+
readonly min: 1;
|
|
440
|
+
readonly step: 1;
|
|
441
|
+
readonly description: "Duration";
|
|
442
|
+
readonly hiddenFromList: false;
|
|
443
|
+
readonly keyframable: false;
|
|
444
|
+
};
|
|
445
|
+
readonly trimBefore: {
|
|
446
|
+
readonly type: "number";
|
|
447
|
+
readonly default: 0;
|
|
448
|
+
readonly min: 0;
|
|
449
|
+
readonly step: 1;
|
|
450
|
+
readonly description: "Trim before";
|
|
451
|
+
readonly hiddenFromList: false;
|
|
452
|
+
readonly keyframable: false;
|
|
453
|
+
};
|
|
454
|
+
};
|
|
455
|
+
readonly SequenceContent: import("react").FC<{
|
|
456
|
+
readonly children: import("react").ReactNode;
|
|
457
|
+
}>;
|
|
458
|
+
readonly DEFAULT_SEQUENCE_ACTIVITY_LIMIT: number;
|
|
459
|
+
readonly SequenceActivitySettingsContext: import("react").Context<{
|
|
460
|
+
readonly limit: number;
|
|
461
|
+
} | null>;
|
|
390
462
|
readonly SequenceWithoutSchema: import("react").ForwardRefExoticComponent<import("./Sequence.js").SequenceProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
391
463
|
readonly sequenceStyleSchema: {
|
|
392
464
|
readonly 'style.transformOrigin': {
|
|
@@ -502,7 +574,7 @@ export declare const Internals: {
|
|
|
502
574
|
};
|
|
503
575
|
readonly premountFor: {
|
|
504
576
|
readonly type: "number";
|
|
505
|
-
readonly default:
|
|
577
|
+
readonly default: undefined;
|
|
506
578
|
readonly description: "Premount For";
|
|
507
579
|
readonly min: 0;
|
|
508
580
|
readonly step: 1;
|
|
@@ -598,7 +670,7 @@ export declare const Internals: {
|
|
|
598
670
|
readonly sequencePremountSchema: {
|
|
599
671
|
readonly premountFor: {
|
|
600
672
|
readonly type: "number";
|
|
601
|
-
readonly default:
|
|
673
|
+
readonly default: undefined;
|
|
602
674
|
readonly description: "Premount For";
|
|
603
675
|
readonly min: 0;
|
|
604
676
|
readonly step: 1;
|
|
@@ -760,7 +832,7 @@ export declare const Internals: {
|
|
|
760
832
|
readonly premountSchema: {
|
|
761
833
|
readonly premountFor: {
|
|
762
834
|
readonly type: "number";
|
|
763
|
-
readonly default:
|
|
835
|
+
readonly default: undefined;
|
|
764
836
|
readonly description: "Premount For";
|
|
765
837
|
readonly min: 0;
|
|
766
838
|
readonly step: 1;
|
|
@@ -796,15 +868,20 @@ export declare const Internals: {
|
|
|
796
868
|
readonly initialCompositions: import("./CompositionManager.js").AnyComposition[];
|
|
797
869
|
readonly initialCanvasContent: import("./CompositionManagerContext.js").CanvasContent | null;
|
|
798
870
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
871
|
+
readonly CompositionRegistryProvider: import("react").ForwardRefExoticComponent<{
|
|
872
|
+
readonly children: import("react").ReactNode;
|
|
873
|
+
readonly onSnapshot: (snapshot: import("./committed-metadata.js").CommittedCompositionSnapshot) => void;
|
|
874
|
+
} & import("react").RefAttributes<() => void>>;
|
|
799
875
|
readonly useVideo: () => (import("./video-config.js").VideoConfig & {
|
|
800
876
|
component: import("react").LazyExoticComponent<import("react").ComponentType<Record<string, unknown>>> | import("react").ComponentType<Record<string, unknown>>;
|
|
801
877
|
}) | null;
|
|
878
|
+
readonly VideoProvider: import("react").FC<{
|
|
879
|
+
readonly children: import("react").ReactNode;
|
|
880
|
+
}>;
|
|
802
881
|
readonly getRoot: () => import("react").FC<{}> | null;
|
|
803
882
|
readonly useMediaVolumeState: () => readonly [number, (u: number) => void];
|
|
804
883
|
readonly usePlayerMutedState: () => readonly [boolean, (u: import("react").SetStateAction<boolean>) => void];
|
|
805
|
-
readonly useMediaInTimeline: ({
|
|
806
|
-
volume: import("./volume-prop.js").VolumeProp | undefined;
|
|
807
|
-
mediaVolume: number;
|
|
884
|
+
readonly useMediaInTimeline: ({ src, mediaType, playbackRate, displayName, id, getStack, showInTimeline, premountDisplay, postmountDisplay, loopDisplay, documentationLink, muted, }: {
|
|
808
885
|
src: string | undefined;
|
|
809
886
|
mediaType: "audio" | "video";
|
|
810
887
|
playbackRate: number;
|
|
@@ -815,10 +892,12 @@ export declare const Internals: {
|
|
|
815
892
|
premountDisplay: number | null;
|
|
816
893
|
postmountDisplay: number | null;
|
|
817
894
|
loopDisplay: import("./CompositionManager.js").LoopDisplay | undefined;
|
|
818
|
-
loopVolumeCurveBehavior: import("./index.js").LoopVolumeCurveBehavior;
|
|
819
895
|
documentationLink: string | null;
|
|
820
896
|
muted: boolean;
|
|
821
|
-
}) =>
|
|
897
|
+
}) => {
|
|
898
|
+
automaticOutlineRef: import("react").RefObject<Element | null> | null;
|
|
899
|
+
registration: TSequence | null;
|
|
900
|
+
};
|
|
822
901
|
readonly useLazyComponent: <Props>({ compProps, componentName, noSuspense, }: {
|
|
823
902
|
compProps: CompProps<Props>;
|
|
824
903
|
componentName: string;
|
|
@@ -829,8 +908,7 @@ export declare const Internals: {
|
|
|
829
908
|
readonly truthy: typeof truthy;
|
|
830
909
|
readonly SequenceContext: import("react").Context<import("./SequenceContext.js").SequenceContextType | null>;
|
|
831
910
|
readonly TimelineTrackContext: import("react").Context<import("./timeline-track-context.js").TimelineTrack | null>;
|
|
832
|
-
readonly
|
|
833
|
-
readonly TrackWithoutSchema: import("react").FC<import("./Sequence.js").SequenceProps>;
|
|
911
|
+
readonly TrackWithoutSchema: import("react").FC<import("./Track.js").TrackWithoutSchemaProps>;
|
|
834
912
|
readonly PremountContext: import("react").Context<import("./PremountContext.js").PremountContextValue>;
|
|
835
913
|
readonly usePremounting: ({ from, durationInFrames, premountFor, postmountFor, style, styleWhilePremounted, styleWhilePostmounted, hideWhilePremounted, }: {
|
|
836
914
|
readonly from: number;
|
|
@@ -876,7 +954,7 @@ export declare const Internals: {
|
|
|
876
954
|
resumeAsAutoPlay: () => Promise<void>;
|
|
877
955
|
suspend: () => Promise<void>;
|
|
878
956
|
getIsResumingAudioContext: () => Promise<import("./audio/wait-until-actually-resumed.js").AudioContextResumeResult> | null;
|
|
879
|
-
unscheduleAudioNode: (node: AudioBufferSourceNode) =>
|
|
957
|
+
unscheduleAudioNode: (node: AudioBufferSourceNode) => boolean;
|
|
880
958
|
_experimentalKeepAudioContextAlive: boolean;
|
|
881
959
|
} | null>;
|
|
882
960
|
readonly SharedAudioContextProvider: import("react").FC<{
|
|
@@ -923,6 +1001,7 @@ export declare const Internals: {
|
|
|
923
1001
|
readonly numberOfAudioTags: number;
|
|
924
1002
|
readonly children: import("react").ReactNode;
|
|
925
1003
|
}>;
|
|
1004
|
+
readonly getAudioSyncAnchorTolerance: (audioContext: AudioContext) => number;
|
|
926
1005
|
readonly invalidCompositionErrorMessage: string;
|
|
927
1006
|
readonly invalidFolderNameErrorMessage: string;
|
|
928
1007
|
readonly calculateMediaDuration: ({ trimAfter, mediaDurationInFrames, playbackRate, trimBefore, }: {
|
|
@@ -1069,7 +1148,6 @@ export declare const Internals: {
|
|
|
1069
1148
|
};
|
|
1070
1149
|
} | null>;
|
|
1071
1150
|
readonly getComponentsToAddStacksTo: () => unknown[];
|
|
1072
|
-
readonly getSequenceComponent: () => unknown;
|
|
1073
1151
|
readonly getSingleChildComponent: (children: import("react").ReactNode) => unknown;
|
|
1074
1152
|
readonly getStackForControls: (controls: import("./CompositionManager.js").SequenceControls) => string | null;
|
|
1075
1153
|
readonly makeOriginalSourceStack: ({ fileName, lineNumber, columnNumber, }: {
|
|
@@ -1194,9 +1272,7 @@ export declare const Internals: {
|
|
|
1194
1272
|
}, "ref"> & import("react").RefAttributes<HTMLAudioElement>>;
|
|
1195
1273
|
readonly OBJECTFIT_CONTAIN_CLASS_NAME: "__remotion_objectfitcontain";
|
|
1196
1274
|
readonly InnerOffthreadVideo: import("react").FC<import("./video/props.js").AllOffthreadVideoProps>;
|
|
1197
|
-
readonly useBasicMediaInTimeline: ({
|
|
1198
|
-
volume: import("./volume-prop.js").VolumeProp | undefined;
|
|
1199
|
-
mediaVolume: number;
|
|
1275
|
+
readonly useBasicMediaInTimeline: ({ src, displayName, trimBefore, trimAfter, playbackRate, sequenceDurationInFrames, mediaStartsAt, loop, muted, }: {
|
|
1200
1276
|
src: string | undefined;
|
|
1201
1277
|
displayName: string | null;
|
|
1202
1278
|
trimBefore: number | undefined;
|
|
@@ -1204,13 +1280,10 @@ export declare const Internals: {
|
|
|
1204
1280
|
playbackRate: number;
|
|
1205
1281
|
sequenceDurationInFrames: number;
|
|
1206
1282
|
mediaStartsAt: number;
|
|
1207
|
-
mediaFrom: number;
|
|
1208
1283
|
loop: boolean;
|
|
1209
1284
|
muted: boolean;
|
|
1210
1285
|
}) => {
|
|
1211
|
-
volumes: string | number;
|
|
1212
1286
|
duration: number;
|
|
1213
|
-
doesVolumeChange: boolean;
|
|
1214
1287
|
finalDisplayName: string;
|
|
1215
1288
|
startMediaFrom: number;
|
|
1216
1289
|
src: string;
|
|
@@ -1241,12 +1314,12 @@ export declare const Internals: {
|
|
|
1241
1314
|
shouldResortToDefaultValueIfUndefined: boolean;
|
|
1242
1315
|
}) => unknown;
|
|
1243
1316
|
readonly CompositionRenderErrorContext: import("react").Context<import("./composition-render-error-context.js").CompositionRenderErrorContextType>;
|
|
1244
|
-
readonly useEffectChainState: () => {
|
|
1317
|
+
readonly useEffectChainState: (effectsOutputSize?: import("./index.js").EffectsOutputSize | null) => {
|
|
1245
1318
|
get: (width: number, height: number) => import("./internals.js").EffectChainState | null;
|
|
1246
1319
|
};
|
|
1247
1320
|
readonly createEffectChainState: (width: number, height: number) => import("./internals.js").EffectChainState;
|
|
1248
1321
|
readonly cleanupEffectChainState: (state: import("./internals.js").EffectChainState) => void;
|
|
1249
|
-
readonly runEffectChain: (
|
|
1322
|
+
readonly runEffectChain: (options: import("./effects/run-effect-chain.js").RunEffectChainOptions) => Promise<boolean>;
|
|
1250
1323
|
readonly useMemoizedEffects: ({ effects, overrideId, videoConfigValues, }: {
|
|
1251
1324
|
effects: readonly import("./index.js").EffectDescriptor<unknown>[];
|
|
1252
1325
|
readonly overrideId: string | null;
|
|
@@ -1273,6 +1346,10 @@ export declare const Internals: {
|
|
|
1273
1346
|
forceSpringAllowTail: boolean | null;
|
|
1274
1347
|
status: CanUpdateSequencePropStatusKeyframed;
|
|
1275
1348
|
}) => string | number | boolean | readonly number[] | null;
|
|
1349
|
+
readonly prepareNumericKeyframedStatus: ({ forceSpringAllowTail, status, }: {
|
|
1350
|
+
forceSpringAllowTail: boolean | null;
|
|
1351
|
+
status: CanUpdateSequencePropStatusKeyframed;
|
|
1352
|
+
}) => ((frame: number) => number | null) | null;
|
|
1276
1353
|
readonly setInterpolatePaths: (interpolator: (input: number, inputRange: readonly number[], outputRange: readonly string[], options: Pick<Partial<{
|
|
1277
1354
|
easing: readonly import("./interpolate.js").EasingFunction[] | import("./interpolate.js").EasingFunction;
|
|
1278
1355
|
extrapolateLeft: import("./interpolate.js").ExtrapolateType;
|
|
@@ -1352,5 +1429,5 @@ export declare const Internals: {
|
|
|
1352
1429
|
readonly componentName: string;
|
|
1353
1430
|
}) => import("react").CSSProperties | null;
|
|
1354
1431
|
};
|
|
1355
|
-
export type { ArrayFieldSchema,
|
|
1432
|
+
export type { ArrayFieldSchema, ArrayItemFieldSchema, AssetFieldSchema, CannotUpdateSequenceReason, CanUpdateEffectPropsResponse, CanUpdateEffectPropsResponseFalse, CanUpdateEffectPropsResponseTrue, CanUpdateSequencePropsResponse, CanUpdateSequencePropsResponseFalse, CanUpdateSequencePropsResponseTrue, CanUpdateSequencePropStatus, CanUpdateSequencePropStatusEasing, CanUpdateSequencePropStatusFalse, CanUpdateSequencePropStatusKeyframed, CanUpdateSequencePropStatusStatic, CompositionManagerContext, CompProps, DragOverrides, DragOverrideValue, EffectDragOverrides, GetDragOverrides, GetEffectDragOverrides, GetEffectPropStatuses, GetPropStatuses, InteractivitySchema, InteractivitySchemaField, JsxComponentIdentity, LoggingContextValue, MediaVolumeContextValue, OriginalSourceLocation, OverrideIdsToNodePathsGettersContext, OverrideIdsToNodePathsSettersContext, OverrideIdToNodePaths, OverrideToNodePathGetters, OverrideToNodeSetters, PlaybackRateContextValue, PropStatuses, RemotionAudioContextState, RemotionEnvironment, ResolvedStackLocation, ScheduleAudioNodeOptions, ScheduleAudioNodeResult, SequenceNodePath, SequencePropsStatusRemapping, SequencePropsSubscriptionKey, SerializedJSONWithCustomFields, SetMediaVolumeContextValue, SetTimelineContextValue, TCompMetadata, TComposition, TimelineContextValue, TRenderAsset, TSequence, VideoConfigNumericExpression, VideoConfigValues, VisibleFieldSchema, WatchRemotionStaticFilesPayload, };
|
|
1356
1433
|
export type { CanUpdateSequencePropSource, SourceNumericValue, VideoConfigNumericBinding, } from './use-schema.js';
|
package/dist/cjs/internals.js
CHANGED
|
@@ -39,18 +39,24 @@ const absolute_src_js_1 = require("./absolute-src.js");
|
|
|
39
39
|
const AbsoluteFillElement_js_1 = require("./AbsoluteFillElement.js");
|
|
40
40
|
const get_duration_in_seconds_js_1 = require("./animated-image/get-duration-in-seconds.js");
|
|
41
41
|
const AudioForPreview_js_1 = require("./audio/AudioForPreview.js");
|
|
42
|
+
const get_audio_sync_anchor_tolerance_js_1 = require("./audio/get-audio-sync-anchor-tolerance.js");
|
|
42
43
|
const shared_audio_tags_js_1 = require("./audio/shared-audio-tags.js");
|
|
43
44
|
const use_audio_frame_js_1 = require("./audio/use-audio-frame.js");
|
|
44
45
|
const use_media_audio_state_js_1 = require("./audio/use-media-audio-state.js");
|
|
45
46
|
const buffering_js_1 = require("./buffering.js");
|
|
46
47
|
const calculate_media_duration_js_1 = require("./calculate-media-duration.js");
|
|
47
48
|
const CanUseRemotionHooks_js_1 = require("./CanUseRemotionHooks.js");
|
|
49
|
+
const committed_metadata_js_1 = require("./committed-metadata.js");
|
|
50
|
+
const component_identity_js_1 = require("./component-identity.js");
|
|
48
51
|
const composition_render_error_context_js_1 = require("./composition-render-error-context.js");
|
|
49
52
|
const CompositionManager_js_1 = require("./CompositionManager.js");
|
|
50
53
|
const CompositionManagerContext_js_1 = require("./CompositionManagerContext.js");
|
|
51
54
|
const CompositionManagerProvider_js_1 = require("./CompositionManagerProvider.js");
|
|
55
|
+
const CompositionRegistryProvider_js_1 = require("./CompositionRegistryProvider.js");
|
|
56
|
+
const create_element_source_proxy_js_1 = require("./create-element-source-proxy.js");
|
|
52
57
|
const CSSUtils = __importStar(require("./default-css.js"));
|
|
53
58
|
const default_css_js_1 = require("./default-css.js");
|
|
59
|
+
const DefaultPremountContext_js_1 = require("./DefaultPremountContext.js");
|
|
54
60
|
const EditorProps_js_1 = require("./EditorProps.js");
|
|
55
61
|
const create_effect_js_1 = require("./effects/create-effect.js");
|
|
56
62
|
const run_effect_chain_js_1 = require("./effects/run-effect-chain.js");
|
|
@@ -74,6 +80,7 @@ const log_level_context_js_1 = require("./log-level-context.js");
|
|
|
74
80
|
const log_js_1 = require("./log.js");
|
|
75
81
|
const max_video_cache_size_js_1 = require("./max-video-cache-size.js");
|
|
76
82
|
const media_resource_manager_js_1 = require("./media-resource-manager.js");
|
|
83
|
+
const optimistic_sequence_deletion_js_1 = require("./optimistic-sequence-deletion.js");
|
|
77
84
|
const playback_logging_js_1 = require("./playback-logging.js");
|
|
78
85
|
const portal_node_js_1 = require("./portal-node.js");
|
|
79
86
|
const prefetch_state_js_1 = require("./prefetch-state.js");
|
|
@@ -89,9 +96,9 @@ const resolve_sequence_duration_js_1 = require("./resolve-sequence-duration.js")
|
|
|
89
96
|
const resolve_video_config_js_1 = require("./resolve-video-config.js");
|
|
90
97
|
const ResolveCompositionConfig_js_1 = require("./ResolveCompositionConfig.js");
|
|
91
98
|
const runtime_value_store_js_1 = require("./runtime-value-store.js");
|
|
99
|
+
const sequence_activity_context_js_1 = require("./sequence-activity-context.js");
|
|
92
100
|
const sequence_crop_js_1 = require("./sequence-crop.js");
|
|
93
101
|
const sequence_node_path_js_1 = require("./sequence-node-path.js");
|
|
94
|
-
const sequence_order_marker_js_1 = require("./sequence-order-marker.js");
|
|
95
102
|
const sequence_outline_js_1 = require("./sequence-outline.js");
|
|
96
103
|
const sequence_stack_traces_js_1 = require("./sequence-stack-traces.js");
|
|
97
104
|
const Sequence_js_1 = require("./Sequence.js");
|
|
@@ -139,6 +146,12 @@ const compositionSelectorRef = (0, react_1.createRef)();
|
|
|
139
146
|
// Mark them as Internals so use don't assume this is public
|
|
140
147
|
// API and are less likely to use it
|
|
141
148
|
exports.Internals = {
|
|
149
|
+
OptimisticSequenceDeletion: optimistic_sequence_deletion_js_1.OptimisticSequenceDeletion,
|
|
150
|
+
usePendingSequenceDeletions: optimistic_sequence_deletion_js_1.usePendingSequenceDeletions,
|
|
151
|
+
createElementSourceProxy: create_element_source_proxy_js_1.createElementSourceProxy,
|
|
152
|
+
CommittedMetadataProvider: committed_metadata_js_1.CommittedMetadataProvider,
|
|
153
|
+
withCommittedMetadata: committed_metadata_js_1.withCommittedMetadata,
|
|
154
|
+
DefaultPremountContext: DefaultPremountContext_js_1.DefaultPremountContext,
|
|
142
155
|
evaluateSourceNumericValue: evaluate_source_expressions_js_1.evaluateSourceNumericValue,
|
|
143
156
|
evaluateSourcePropStatuses: evaluate_source_expressions_js_1.evaluateSourcePropStatuses,
|
|
144
157
|
AbsoluteFillElement: AbsoluteFillElement_js_1.AbsoluteFillElement,
|
|
@@ -172,20 +185,26 @@ exports.Internals = {
|
|
|
172
185
|
VisualModePropStatusesRefContext: SequenceManager_js_1.VisualModePropStatusesRefContext,
|
|
173
186
|
VisualModeBatchSettersContext: SequenceManager_js_1.VisualModeBatchSettersContext,
|
|
174
187
|
VisualModeDragOverridesContext: SequenceManager_js_1.VisualModeDragOverridesContext,
|
|
188
|
+
VisualModeDragOverridesRefContext: SequenceManager_js_1.VisualModeDragOverridesRefContext,
|
|
175
189
|
VisualModeSettersContext: SequenceManager_js_1.VisualModeSettersContext,
|
|
176
|
-
SequenceManager: SequenceManager_js_1.SequenceManager,
|
|
177
190
|
SequenceManagerProvider: SequenceManager_js_1.SequenceManagerProvider,
|
|
178
191
|
SequenceManagerRefContext: SequenceManager_js_1.SequenceManagerRefContext,
|
|
192
|
+
SequenceRegistryContext: SequenceManager_js_1.SequenceRegistryContext,
|
|
179
193
|
useActiveFromDragOverrideKeys: SequenceManager_js_1.useActiveFromDragOverrideKeys,
|
|
194
|
+
useDragOverridesForNodePath: SequenceManager_js_1.useDragOverridesForNodePath,
|
|
180
195
|
useSequenceManagerSequences: SequenceManager_js_1.useSequenceManagerSequences,
|
|
181
196
|
SequenceRegistrationContext: SequenceManager_js_1.SequenceRegistrationContext,
|
|
182
197
|
DisableSequenceRegistrationProvider: SequenceManager_js_1.DisableSequenceRegistrationProvider,
|
|
183
|
-
|
|
198
|
+
CommittedMetadataInternals: committed_metadata_js_1.CommittedMetadataInternals,
|
|
184
199
|
SequenceOutlineInternals: sequence_outline_js_1.SequenceOutlineInternals,
|
|
185
200
|
SequenceOutlineContext: sequence_outline_js_1.SequenceOutlineContext,
|
|
186
201
|
SequenceStackTracesUpdateContext: sequence_stack_traces_js_1.SequenceStackTracesUpdateContext,
|
|
187
202
|
baseSchema: interactivity_schema_js_1.baseSchema,
|
|
188
203
|
sequenceSchema: interactivity_schema_js_1.sequenceSchema,
|
|
204
|
+
sequenceTimingSchema: interactivity_schema_js_1.sequenceTimingSchema,
|
|
205
|
+
SequenceContent: sequence_activity_context_js_1.SequenceContent,
|
|
206
|
+
DEFAULT_SEQUENCE_ACTIVITY_LIMIT: sequence_activity_context_js_1.DEFAULT_SEQUENCE_ACTIVITY_LIMIT,
|
|
207
|
+
SequenceActivitySettingsContext: sequence_activity_context_js_1.SequenceActivitySettingsContext,
|
|
189
208
|
SequenceWithoutSchema: Sequence_js_1.SequenceWithoutSchema,
|
|
190
209
|
sequenceStyleSchema: interactivity_schema_js_1.sequenceStyleSchema,
|
|
191
210
|
sequenceVisualStyleSchema: interactivity_schema_js_1.sequenceVisualStyleSchema,
|
|
@@ -198,16 +217,17 @@ exports.Internals = {
|
|
|
198
217
|
getFlatSchemaWithAllKeys: flatten_schema_js_1.getFlatSchemaWithAllKeys,
|
|
199
218
|
RemotionRootContexts: RemotionRoot_js_1.RemotionRootContexts,
|
|
200
219
|
CompositionManagerProvider: CompositionManagerProvider_js_1.CompositionManagerProvider,
|
|
220
|
+
CompositionRegistryProvider: CompositionRegistryProvider_js_1.CompositionRegistryProvider,
|
|
201
221
|
useVideo: use_video_js_1.useVideo,
|
|
222
|
+
VideoProvider: use_video_js_1.VideoProvider,
|
|
202
223
|
getRoot: register_root_js_1.getRoot,
|
|
203
224
|
useMediaVolumeState: volume_position_state_js_1.useMediaVolumeState,
|
|
204
225
|
usePlayerMutedState: volume_position_state_js_1.usePlayerMutedState,
|
|
205
|
-
useMediaInTimeline: use_media_in_timeline_js_1.
|
|
226
|
+
useMediaInTimeline: use_media_in_timeline_js_1.useMediaInTimelineRegistration,
|
|
206
227
|
useLazyComponent: use_lazy_component_js_1.useLazyComponent,
|
|
207
228
|
truthy: truthy_js_1.truthy,
|
|
208
229
|
SequenceContext: SequenceContext_js_1.SequenceContext,
|
|
209
230
|
TimelineTrackContext: timeline_track_context_js_1.TimelineTrackContext,
|
|
210
|
-
ExperimentalTracksEnabledContext: timeline_track_context_js_1.ExperimentalTracksEnabledContext,
|
|
211
231
|
TrackWithoutSchema: Track_js_1.TrackWithoutSchema,
|
|
212
232
|
PremountContext: PremountContext_js_1.PremountContext,
|
|
213
233
|
usePremounting: use_premounting_js_1.usePremounting,
|
|
@@ -223,6 +243,7 @@ exports.Internals = {
|
|
|
223
243
|
SharedAudioContextProvider: shared_audio_tags_js_1.SharedAudioContextProvider,
|
|
224
244
|
SharedAudioTagsContext: shared_audio_tags_js_1.SharedAudioTagsContext,
|
|
225
245
|
SharedAudioTagsContextProvider: shared_audio_tags_js_1.SharedAudioTagsContextProvider,
|
|
246
|
+
getAudioSyncAnchorTolerance: get_audio_sync_anchor_tolerance_js_1.getAudioSyncAnchorTolerance,
|
|
226
247
|
invalidCompositionErrorMessage: validate_composition_id_js_1.invalidCompositionErrorMessage,
|
|
227
248
|
invalidFolderNameErrorMessage: validate_folder_name_js_1.invalidFolderNameErrorMessage,
|
|
228
249
|
calculateMediaDuration: calculate_media_duration_js_1.calculateMediaDuration,
|
|
@@ -266,13 +287,12 @@ exports.Internals = {
|
|
|
266
287
|
BufferingProvider: buffering_js_1.BufferingProvider,
|
|
267
288
|
BufferingContextReact: buffering_js_1.BufferingContextReact,
|
|
268
289
|
getComponentsToAddStacksTo: enable_sequence_stack_traces_js_1.getComponentsToAddStacksTo,
|
|
269
|
-
|
|
270
|
-
getSingleChildComponent: enable_sequence_stack_traces_js_1.getSingleChildComponent,
|
|
290
|
+
getSingleChildComponent: component_identity_js_1.getSingleChildComponent,
|
|
271
291
|
getStackForControls: enable_sequence_stack_traces_js_1.getStackForControls,
|
|
272
292
|
makeOriginalSourceStack: enable_sequence_stack_traces_js_1.makeOriginalSourceStack,
|
|
273
293
|
parseOriginalSourceStack: enable_sequence_stack_traces_js_1.parseOriginalSourceStack,
|
|
274
294
|
REMOTION_INTERNAL_STACK_PROP: enable_sequence_stack_traces_js_1.REMOTION_INTERNAL_STACK_PROP,
|
|
275
|
-
setComponentIdentityResolver:
|
|
295
|
+
setComponentIdentityResolver: component_identity_js_1.setComponentIdentityResolver,
|
|
276
296
|
CurrentScaleContext: use_current_scale_js_1.CurrentScaleContext,
|
|
277
297
|
PixelDensityContext: use_pixel_density_js_1.PixelDensityContext,
|
|
278
298
|
PreviewSizeContext: use_current_scale_js_1.PreviewSizeContext,
|
|
@@ -316,6 +336,7 @@ exports.Internals = {
|
|
|
316
336
|
createWebGL2ContextError: webgl2_context_error_js_1.createWebGL2ContextError,
|
|
317
337
|
computeEffectiveSchemaValuesDotNotation: use_schema_js_1.computeEffectiveSchemaValuesDotNotation,
|
|
318
338
|
interpolateKeyframedStatus: interpolate_keyframed_status_js_1.interpolateKeyframedStatus,
|
|
339
|
+
prepareNumericKeyframedStatus: interpolate_keyframed_status_js_1.prepareNumericKeyframedStatus,
|
|
319
340
|
setInterpolatePaths: interpolate_keyframed_status_js_1.setInterpolatePaths,
|
|
320
341
|
makeStaticDragOverride: use_schema_js_1.makeStaticDragOverride,
|
|
321
342
|
makeKeyframedDragOverride: use_schema_js_1.makeKeyframedDragOverride,
|