@rendiv/core 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/__tests__/animated-image.test.d.ts +2 -0
- package/dist/__tests__/animated-image.test.d.ts.map +1 -0
- package/dist/__tests__/audio.test.d.ts +2 -0
- package/dist/__tests__/audio.test.d.ts.map +1 -0
- package/dist/__tests__/delay-render.test.d.ts +2 -0
- package/dist/__tests__/delay-render.test.d.ts.map +1 -0
- package/dist/__tests__/freeze.test.d.ts +2 -0
- package/dist/__tests__/freeze.test.d.ts.map +1 -0
- package/dist/__tests__/iframe.test.d.ts +2 -0
- package/dist/__tests__/iframe.test.d.ts.map +1 -0
- package/dist/__tests__/img.test.d.ts +2 -0
- package/dist/__tests__/img.test.d.ts.map +1 -0
- package/dist/__tests__/interpolate.test.d.ts +2 -0
- package/dist/__tests__/interpolate.test.d.ts.map +1 -0
- package/dist/__tests__/loop.test.d.ts +2 -0
- package/dist/__tests__/loop.test.d.ts.map +1 -0
- package/dist/__tests__/sequence.test.d.ts +2 -0
- package/dist/__tests__/sequence.test.d.ts.map +1 -0
- package/dist/__tests__/series.test.d.ts +2 -0
- package/dist/__tests__/series.test.d.ts.map +1 -0
- package/dist/__tests__/spring.test.d.ts +2 -0
- package/dist/__tests__/spring.test.d.ts.map +1 -0
- package/dist/__tests__/video.test.d.ts +2 -0
- package/dist/__tests__/video.test.d.ts.map +1 -0
- package/dist/animation/easing.d.ts +17 -0
- package/dist/animation/easing.d.ts.map +1 -0
- package/dist/animation/interpolate-colors.d.ts +3 -0
- package/dist/animation/interpolate-colors.d.ts.map +1 -0
- package/dist/animation/interpolate.d.ts +9 -0
- package/dist/animation/interpolate.d.ts.map +1 -0
- package/dist/animation/measure-spring.d.ts +10 -0
- package/dist/animation/measure-spring.d.ts.map +1 -0
- package/dist/animation/spring.d.ts +17 -0
- package/dist/animation/spring.d.ts.map +1 -0
- package/dist/components/AnimatedImage.d.ts +15 -0
- package/dist/components/AnimatedImage.d.ts.map +1 -0
- package/dist/components/Audio.d.ts +18 -0
- package/dist/components/Audio.d.ts.map +1 -0
- package/dist/components/Composition.d.ts +14 -0
- package/dist/components/Composition.d.ts.map +1 -0
- package/dist/components/Fill.d.ts +3 -0
- package/dist/components/Fill.d.ts.map +1 -0
- package/dist/components/Folder.d.ts +7 -0
- package/dist/components/Folder.d.ts.map +1 -0
- package/dist/components/Freeze.d.ts +10 -0
- package/dist/components/Freeze.d.ts.map +1 -0
- package/dist/components/IFrame.d.ts +10 -0
- package/dist/components/IFrame.d.ts.map +1 -0
- package/dist/components/Img.d.ts +10 -0
- package/dist/components/Img.d.ts.map +1 -0
- package/dist/components/Loop.d.ts +13 -0
- package/dist/components/Loop.d.ts.map +1 -0
- package/dist/components/Sequence.d.ts +11 -0
- package/dist/components/Sequence.d.ts.map +1 -0
- package/dist/components/Series.d.ts +27 -0
- package/dist/components/Series.d.ts.map +1 -0
- package/dist/components/Still.d.ts +10 -0
- package/dist/components/Still.d.ts.map +1 -0
- package/dist/components/Video.d.ts +22 -0
- package/dist/components/Video.d.ts.map +1 -0
- package/dist/context/CompositionContext.d.ts +10 -0
- package/dist/context/CompositionContext.d.ts.map +1 -0
- package/dist/context/CompositionManagerContext.d.ts +34 -0
- package/dist/context/CompositionManagerContext.d.ts.map +1 -0
- package/dist/context/FolderContext.d.ts +2 -0
- package/dist/context/FolderContext.d.ts.map +1 -0
- package/dist/context/RendivEnvironmentContext.d.ts +6 -0
- package/dist/context/RendivEnvironmentContext.d.ts.map +1 -0
- package/dist/context/SequenceContext.d.ts +10 -0
- package/dist/context/SequenceContext.d.ts.map +1 -0
- package/dist/context/TimelineContext.d.ts +8 -0
- package/dist/context/TimelineContext.d.ts.map +1 -0
- package/dist/context/TimelineRegistryContext.d.ts +17 -0
- package/dist/context/TimelineRegistryContext.d.ts.map +1 -0
- package/dist/delay-render.d.ts +11 -0
- package/dist/delay-render.d.ts.map +1 -0
- package/dist/get-input-props.d.ts +7 -0
- package/dist/get-input-props.d.ts.map +1 -0
- package/dist/get-rendiv-environment.d.ts +11 -0
- package/dist/get-rendiv-environment.d.ts.map +1 -0
- package/dist/hooks/use-composition-config.d.ts +3 -0
- package/dist/hooks/use-composition-config.d.ts.map +1 -0
- package/dist/hooks/use-frame.d.ts +2 -0
- package/dist/hooks/use-frame.d.ts.map +1 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +33 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +829 -0
- package/dist/register-root.d.ts +4 -0
- package/dist/register-root.d.ts.map +1 -0
- package/dist/static-file.d.ts +2 -0
- package/dist/static-file.d.ts.map +1 -0
- package/package.json +42 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"animated-image.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/animated-image.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"audio.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/audio.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delay-render.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/delay-render.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"freeze.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/freeze.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"iframe.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/iframe.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"img.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/img.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interpolate.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/interpolate.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loop.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/loop.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sequence.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/sequence.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"series.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/series.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spring.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/spring.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"video.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/video.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export type EasingFunction = (t: number) => number;
|
|
2
|
+
declare function cubicBezier(x1: number, y1: number, x2: number, y2: number): EasingFunction;
|
|
3
|
+
export declare const Easing: {
|
|
4
|
+
linear: EasingFunction;
|
|
5
|
+
ease: EasingFunction;
|
|
6
|
+
easeIn: EasingFunction;
|
|
7
|
+
easeOut: EasingFunction;
|
|
8
|
+
easeInOut: EasingFunction;
|
|
9
|
+
bezier: typeof cubicBezier;
|
|
10
|
+
bounce: EasingFunction;
|
|
11
|
+
elastic: (bounciness?: number) => EasingFunction;
|
|
12
|
+
in: (easing: EasingFunction) => EasingFunction;
|
|
13
|
+
out: (easing: EasingFunction) => EasingFunction;
|
|
14
|
+
inOut: (easing: EasingFunction) => EasingFunction;
|
|
15
|
+
};
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=easing.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"easing.d.ts","sourceRoot":"","sources":["../../src/animation/easing.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,EAAE,MAAM,KAAK,MAAM,CAAC;AAEnD,iBAAS,WAAW,CAClB,EAAE,EAAE,MAAM,EACV,EAAE,EAAE,MAAM,EACV,EAAE,EAAE,MAAM,EACV,EAAE,EAAE,MAAM,GACT,cAAc,CAmDhB;AAED,eAAO,MAAM,MAAM;YACa,cAAc;;;;;;YAoBtC,cAAc;2BAEE,MAAM,KAAO,cAAc;iBAapC,cAAc,KAAG,cAAc;kBAE9B,cAAc,KAAG,cAAc;oBAI7B,cAAc,KAAG,cAAc;CAMhD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interpolate-colors.d.ts","sourceRoot":"","sources":["../../src/animation/interpolate-colors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAiFrE,wBAAgB,WAAW,CACzB,KAAK,EAAE,MAAM,EACb,UAAU,EAAE,SAAS,MAAM,EAAE,EAC7B,WAAW,EAAE,SAAS,MAAM,EAAE,EAC9B,OAAO,CAAC,EAAE,kBAAkB,GAC3B,MAAM,CAsCR"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { EasingFunction } from './easing';
|
|
2
|
+
export type ExtrapolationType = 'extend' | 'clamp' | 'identity';
|
|
3
|
+
export interface InterpolateOptions {
|
|
4
|
+
easing?: EasingFunction;
|
|
5
|
+
extrapolateLeft?: ExtrapolationType;
|
|
6
|
+
extrapolateRight?: ExtrapolationType;
|
|
7
|
+
}
|
|
8
|
+
export declare function interpolate(input: number, inputRange: readonly number[], outputRange: readonly number[], options?: InterpolateOptions): number;
|
|
9
|
+
//# sourceMappingURL=interpolate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interpolate.d.ts","sourceRoot":"","sources":["../../src/animation/interpolate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,OAAO,GAAG,UAAU,CAAC;AAEhE,MAAM,WAAW,kBAAkB;IACjC,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB,eAAe,CAAC,EAAE,iBAAiB,CAAC;IACpC,gBAAgB,CAAC,EAAE,iBAAiB,CAAC;CACtC;AAkCD,wBAAgB,WAAW,CACzB,KAAK,EAAE,MAAM,EACb,UAAU,EAAE,SAAS,MAAM,EAAE,EAC7B,WAAW,EAAE,SAAS,MAAM,EAAE,EAC9B,OAAO,CAAC,EAAE,kBAAkB,GAC3B,MAAM,CAsER"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SpringConfig } from './spring';
|
|
2
|
+
export interface GetSpringDurationOptions {
|
|
3
|
+
fps: number;
|
|
4
|
+
config?: SpringConfig;
|
|
5
|
+
from?: number;
|
|
6
|
+
to?: number;
|
|
7
|
+
threshold?: number;
|
|
8
|
+
}
|
|
9
|
+
export declare function getSpringDuration(options: GetSpringDurationOptions): number;
|
|
10
|
+
//# sourceMappingURL=measure-spring.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"measure-spring.d.ts","sourceRoot":"","sources":["../../src/animation/measure-spring.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,YAAY,EAAE,MAAM,UAAU,CAAC;AAErD,MAAM,WAAW,wBAAwB;IACvC,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,wBAAwB,GAAG,MAAM,CA2B3E"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface SpringConfig {
|
|
2
|
+
damping?: number;
|
|
3
|
+
mass?: number;
|
|
4
|
+
stiffness?: number;
|
|
5
|
+
clampOvershoot?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export interface SpringOptions {
|
|
8
|
+
frame: number;
|
|
9
|
+
fps: number;
|
|
10
|
+
config?: SpringConfig;
|
|
11
|
+
from?: number;
|
|
12
|
+
to?: number;
|
|
13
|
+
durationInFrames?: number;
|
|
14
|
+
durationRestThreshold?: number;
|
|
15
|
+
}
|
|
16
|
+
export declare function spring(options: SpringOptions): number;
|
|
17
|
+
//# sourceMappingURL=spring.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spring.d.ts","sourceRoot":"","sources":["../../src/animation/spring.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AAsBD,wBAAgB,MAAM,CAAC,OAAO,EAAE,aAAa,GAAG,MAAM,CA2DrD"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { default as React, CSSProperties } from 'react';
|
|
2
|
+
export interface AnimatedImageProps {
|
|
3
|
+
src: string;
|
|
4
|
+
width?: number;
|
|
5
|
+
height?: number;
|
|
6
|
+
style?: CSSProperties;
|
|
7
|
+
className?: string;
|
|
8
|
+
/** Timeout for holdRender in milliseconds. Default: 30000 */
|
|
9
|
+
holdRenderTimeout?: number;
|
|
10
|
+
}
|
|
11
|
+
export declare function AnimatedImage({ src, width, height, style, className, holdRenderTimeout, }: AnimatedImageProps): React.ReactElement;
|
|
12
|
+
export declare namespace AnimatedImage {
|
|
13
|
+
var displayName: string;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=AnimatedImage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AnimatedImage.d.ts","sourceRoot":"","sources":["../../src/components/AnimatedImage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAA2C,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAY3F,MAAM,WAAW,kBAAkB;IACjC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,6DAA6D;IAC7D,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,wBAAgB,aAAa,CAAC,EAC5B,GAAG,EACH,KAAK,EACL,MAAM,EACN,KAAK,EACL,SAAS,EACT,iBAAyB,GAC1B,EAAE,kBAAkB,GAAG,KAAK,CAAC,YAAY,CA6IzC;yBApJe,aAAa"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface AudioProps {
|
|
3
|
+
src: string;
|
|
4
|
+
/** Frame offset into the audio to start from. Default: 0 */
|
|
5
|
+
startFrom?: number;
|
|
6
|
+
/** Frame at which to stop the audio (relative to the audio timeline). */
|
|
7
|
+
endAt?: number;
|
|
8
|
+
/** Volume from 0 to 1. Default: 1 */
|
|
9
|
+
volume?: number;
|
|
10
|
+
/** Playback speed multiplier. Default: 1 */
|
|
11
|
+
playbackRate?: number;
|
|
12
|
+
muted?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export declare function Audio({ src, startFrom, endAt, volume, playbackRate, muted, }: AudioProps): React.ReactElement | null;
|
|
15
|
+
export declare namespace Audio {
|
|
16
|
+
var displayName: string;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=Audio.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Audio.d.ts","sourceRoot":"","sources":["../../src/components/Audio.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAM7D,MAAM,WAAW,UAAU;IACzB,GAAG,EAAE,MAAM,CAAC;IACZ,4DAA4D;IAC5D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yEAAyE;IACzE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qCAAqC;IACrC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,4CAA4C;IAC5C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,wBAAgB,KAAK,CAAC,EACpB,GAAG,EACH,SAAa,EACb,KAAK,EACL,MAAU,EACV,YAAgB,EAChB,KAAa,GACd,EAAE,UAAU,GAAG,KAAK,CAAC,YAAY,GAAG,IAAI,CAwDxC;yBA/De,KAAK"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ComponentType, LazyExoticComponent } from 'react';
|
|
2
|
+
import { ResolveConfigFunction } from '../context/CompositionManagerContext';
|
|
3
|
+
export interface CompositionProps<Props extends Record<string, unknown> = Record<string, unknown>> {
|
|
4
|
+
id: string;
|
|
5
|
+
component: LazyExoticComponent<ComponentType<Props>> | ComponentType<Props>;
|
|
6
|
+
durationInFrames: number;
|
|
7
|
+
fps: number;
|
|
8
|
+
width: number;
|
|
9
|
+
height: number;
|
|
10
|
+
defaultProps?: Props;
|
|
11
|
+
resolveConfig?: ResolveConfigFunction<Props>;
|
|
12
|
+
}
|
|
13
|
+
export declare function Composition<Props extends Record<string, unknown> = Record<string, unknown>>(props: CompositionProps<Props>): null;
|
|
14
|
+
//# sourceMappingURL=Composition.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Composition.d.ts","sourceRoot":"","sources":["../../src/components/Composition.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAyB,KAAK,aAAa,EAAE,KAAK,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAC5F,OAAO,EAEL,KAAK,qBAAqB,EAC3B,MAAM,sCAAsC,CAAC;AAG9C,MAAM,WAAW,gBAAgB,CAAC,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAC/F,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,mBAAmB,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,GAAG,aAAa,CAAC,KAAK,CAAC,CAAC;IAC5E,gBAAgB,EAAE,MAAM,CAAC;IACzB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,KAAK,CAAC;IACrB,aAAa,CAAC,EAAE,qBAAqB,CAAC,KAAK,CAAC,CAAC;CAC9C;AAED,wBAAgB,WAAW,CAAC,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACzF,KAAK,EAAE,gBAAgB,CAAC,KAAK,CAAC,GAC7B,IAAI,CAqBN"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Fill.d.ts","sourceRoot":"","sources":["../../src/components/Fill.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8D,MAAM,OAAO,CAAC;AAcnF,eAAO,MAAM,IAAI,6GAUhB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Folder.d.ts","sourceRoot":"","sources":["../../src/components/Folder.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAc,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAG1D,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CASxC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as React, ReactNode } from 'react';
|
|
2
|
+
export interface FreezeProps {
|
|
3
|
+
frame: number;
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
}
|
|
6
|
+
export declare function Freeze({ frame: frozenFrame, children }: FreezeProps): React.ReactElement;
|
|
7
|
+
export declare namespace Freeze {
|
|
8
|
+
var displayName: string;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=Freeze.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Freeze.d.ts","sourceRoot":"","sources":["../../src/components/Freeze.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAuB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGnE,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,wBAAgB,MAAM,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,EAAE,WAAW,GAAG,KAAK,CAAC,YAAY,CAiBxF;yBAjBe,MAAM"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as React, IframeHTMLAttributes } from 'react';
|
|
2
|
+
export interface IFrameProps extends IframeHTMLAttributes<HTMLIFrameElement> {
|
|
3
|
+
/** Timeout for holdRender in milliseconds. Default: 30000 */
|
|
4
|
+
holdRenderTimeout?: number;
|
|
5
|
+
}
|
|
6
|
+
export declare function IFrame({ holdRenderTimeout, onLoad: userOnLoad, onError: userOnError, ...iframeProps }: IFrameProps): React.ReactElement;
|
|
7
|
+
export declare namespace IFrame {
|
|
8
|
+
var displayName: string;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=IFrame.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IFrame.d.ts","sourceRoot":"","sources":["../../src/components/IFrame.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAkC,KAAK,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAGzF,MAAM,WAAW,WAAY,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC;IAC1E,6DAA6D;IAC7D,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,wBAAgB,MAAM,CAAC,EACrB,iBAAyB,EACzB,MAAM,EAAE,UAAU,EAClB,OAAO,EAAE,WAAW,EACpB,GAAG,WAAW,EACf,EAAE,WAAW,GAAG,KAAK,CAAC,YAAY,CA+ClC;yBApDe,MAAM"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as React, ImgHTMLAttributes } from 'react';
|
|
2
|
+
export interface ImgProps extends ImgHTMLAttributes<HTMLImageElement> {
|
|
3
|
+
/** Timeout for holdRender in milliseconds. Default: 30000 */
|
|
4
|
+
holdRenderTimeout?: number;
|
|
5
|
+
}
|
|
6
|
+
export declare function Img({ holdRenderTimeout, onLoad: userOnLoad, onError: userOnError, ...imgProps }: ImgProps): React.ReactElement;
|
|
7
|
+
export declare namespace Img {
|
|
8
|
+
var displayName: string;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=Img.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Img.d.ts","sourceRoot":"","sources":["../../src/components/Img.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAkC,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAGtF,MAAM,WAAW,QAAS,SAAQ,iBAAiB,CAAC,gBAAgB,CAAC;IACnE,6DAA6D;IAC7D,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,wBAAgB,GAAG,CAAC,EAClB,iBAAyB,EACzB,MAAM,EAAE,UAAU,EAClB,OAAO,EAAE,WAAW,EACpB,GAAG,QAAQ,EACZ,EAAE,QAAQ,GAAG,KAAK,CAAC,YAAY,CA+C/B;yBApDe,GAAG"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { default as React, CSSProperties, ReactNode } from 'react';
|
|
2
|
+
export interface LoopProps {
|
|
3
|
+
durationInFrames: number;
|
|
4
|
+
times?: number;
|
|
5
|
+
layout?: 'none' | 'absolute-fill';
|
|
6
|
+
style?: CSSProperties;
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
}
|
|
9
|
+
export declare function Loop({ durationInFrames, times, layout, style, children, }: LoopProps): React.ReactElement | null;
|
|
10
|
+
export declare namespace Loop {
|
|
11
|
+
var displayName: string;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=Loop.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Loop.d.ts","sourceRoot":"","sources":["../../src/components/Loop.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAuB,KAAK,aAAa,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvF,MAAM,WAAW,SAAS;IACxB,gBAAgB,EAAE,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,GAAG,eAAe,CAAC;IAClC,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,wBAAgB,IAAI,CAAC,EACnB,gBAAgB,EAChB,KAAgB,EAChB,MAAwB,EACxB,KAAK,EACL,QAAQ,GACT,EAAE,SAAS,GAAG,KAAK,CAAC,YAAY,GAAG,IAAI,CA6CvC;yBAnDe,IAAI"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { default as React, CSSProperties, ReactNode } from 'react';
|
|
2
|
+
export interface SequenceProps {
|
|
3
|
+
from?: number;
|
|
4
|
+
durationInFrames?: number;
|
|
5
|
+
name?: string;
|
|
6
|
+
layout?: 'none' | 'absolute-fill';
|
|
7
|
+
style?: CSSProperties;
|
|
8
|
+
children: ReactNode;
|
|
9
|
+
}
|
|
10
|
+
export declare const Sequence: React.FC<SequenceProps>;
|
|
11
|
+
//# sourceMappingURL=Sequence.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Sequence.d.ts","sourceRoot":"","sources":["../../src/components/Sequence.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAyC,KAAK,aAAa,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAKzG,MAAM,WAAW,aAAa;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,GAAG,eAAe,CAAC;IAClC,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CA0D5C,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { default as React, CSSProperties, ReactNode } from 'react';
|
|
2
|
+
export interface SeriesSequenceProps {
|
|
3
|
+
durationInFrames: number;
|
|
4
|
+
/** Additional offset to shift this entry. Negative values create overlaps. */
|
|
5
|
+
offset?: number;
|
|
6
|
+
/** Display name for this sequence in the Studio timeline. */
|
|
7
|
+
name?: string;
|
|
8
|
+
layout?: 'none' | 'absolute-fill';
|
|
9
|
+
style?: CSSProperties;
|
|
10
|
+
children: ReactNode;
|
|
11
|
+
}
|
|
12
|
+
export interface SeriesProps {
|
|
13
|
+
children: ReactNode;
|
|
14
|
+
}
|
|
15
|
+
declare function SeriesSequence(_props: SeriesSequenceProps): React.ReactNode;
|
|
16
|
+
declare namespace SeriesSequence {
|
|
17
|
+
var displayName: string;
|
|
18
|
+
}
|
|
19
|
+
declare function SeriesRoot({ children }: SeriesProps): React.ReactElement;
|
|
20
|
+
declare namespace SeriesRoot {
|
|
21
|
+
var displayName: string;
|
|
22
|
+
}
|
|
23
|
+
export declare const Series: typeof SeriesRoot & {
|
|
24
|
+
Sequence: typeof SeriesSequence;
|
|
25
|
+
};
|
|
26
|
+
export {};
|
|
27
|
+
//# sourceMappingURL=Series.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Series.d.ts","sourceRoot":"","sources":["../../src/components/Series.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAY,KAAK,aAAa,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAG5E,MAAM,WAAW,mBAAmB;IAClC,gBAAgB,EAAE,MAAM,CAAC;IACzB,8EAA8E;IAC9E,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,6DAA6D;IAC7D,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,GAAG,eAAe,CAAC;IAClC,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,MAAM,WAAW,WAAW;IAC1B,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,iBAAS,cAAc,CAAC,MAAM,EAAE,mBAAmB,GAAG,KAAK,CAAC,SAAS,CAIpE;kBAJQ,cAAc;;;AAQvB,iBAAS,UAAU,CAAC,EAAE,QAAQ,EAAE,EAAE,WAAW,GAAG,KAAK,CAAC,YAAY,CAwDjE;kBAxDQ,UAAU;;;AA4DnB,eAAO,MAAM,MAAM;;CAEjB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ComponentType, LazyExoticComponent } from 'react';
|
|
2
|
+
export interface StillProps<Props extends Record<string, unknown> = Record<string, unknown>> {
|
|
3
|
+
id: string;
|
|
4
|
+
component: LazyExoticComponent<ComponentType<Props>> | ComponentType<Props>;
|
|
5
|
+
width: number;
|
|
6
|
+
height: number;
|
|
7
|
+
defaultProps?: Props;
|
|
8
|
+
}
|
|
9
|
+
export declare function Still<Props extends Record<string, unknown> = Record<string, unknown>>(props: StillProps<Props>): null;
|
|
10
|
+
//# sourceMappingURL=Still.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Still.d.ts","sourceRoot":"","sources":["../../src/components/Still.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAyB,KAAK,aAAa,EAAE,KAAK,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAI5F,MAAM,WAAW,UAAU,CAAC,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IACzF,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,mBAAmB,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,GAAG,aAAa,CAAC,KAAK,CAAC,CAAC;IAC5E,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,KAAK,CAAC;CACtB;AAED,wBAAgB,KAAK,CAAC,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACnF,KAAK,EAAE,UAAU,CAAC,KAAK,CAAC,GACvB,IAAI,CAoBN"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { default as React, CSSProperties, VideoHTMLAttributes } from 'react';
|
|
2
|
+
export interface VideoProps extends Omit<VideoHTMLAttributes<HTMLVideoElement>, 'autoPlay'> {
|
|
3
|
+
src: string;
|
|
4
|
+
/** Frame offset into the video to start from. Default: 0 */
|
|
5
|
+
startFrom?: number;
|
|
6
|
+
/** Frame at which to stop the video (relative to the video timeline). */
|
|
7
|
+
endAt?: number;
|
|
8
|
+
/** Volume from 0 to 1. Default: 1 */
|
|
9
|
+
volume?: number;
|
|
10
|
+
/** Playback speed multiplier. Default: 1 */
|
|
11
|
+
playbackRate?: number;
|
|
12
|
+
muted?: boolean;
|
|
13
|
+
style?: CSSProperties;
|
|
14
|
+
className?: string;
|
|
15
|
+
/** Timeout for holdRender in milliseconds. Default: 30000 */
|
|
16
|
+
holdRenderTimeout?: number;
|
|
17
|
+
}
|
|
18
|
+
export declare function Video({ src, startFrom, endAt, volume, playbackRate, muted, style, className, holdRenderTimeout, ...restProps }: VideoProps): React.ReactElement;
|
|
19
|
+
export declare namespace Video {
|
|
20
|
+
var displayName: string;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=Video.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Video.d.ts","sourceRoot":"","sources":["../../src/components/Video.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAKZ,KAAK,aAAa,EAClB,KAAK,mBAAmB,EACzB,MAAM,OAAO,CAAC;AAOf,MAAM,WAAW,UACf,SAAQ,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,UAAU,CAAC;IAC/D,GAAG,EAAE,MAAM,CAAC;IACZ,4DAA4D;IAC5D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yEAAyE;IACzE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qCAAqC;IACrC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,4CAA4C;IAC5C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,6DAA6D;IAC7D,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,wBAAgB,KAAK,CAAC,EACpB,GAAG,EACH,SAAa,EACb,KAAK,EACL,MAAU,EACV,YAAgB,EAChB,KAAa,EACb,KAAK,EACL,SAAS,EACT,iBAAyB,EACzB,GAAG,SAAS,EACb,EAAE,UAAU,GAAG,KAAK,CAAC,YAAY,CAyHjC;yBApIe,KAAK"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface CompositionConfig {
|
|
2
|
+
id: string;
|
|
3
|
+
width: number;
|
|
4
|
+
height: number;
|
|
5
|
+
fps: number;
|
|
6
|
+
durationInFrames: number;
|
|
7
|
+
defaultProps: Record<string, unknown>;
|
|
8
|
+
}
|
|
9
|
+
export declare const CompositionContext: import('react').Context<CompositionConfig | null>;
|
|
10
|
+
//# sourceMappingURL=CompositionContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CompositionContext.d.ts","sourceRoot":"","sources":["../../src/context/CompositionContext.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,gBAAgB,EAAE,MAAM,CAAC;IACzB,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACvC;AAED,eAAO,MAAM,kBAAkB,mDAAgD,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ComponentType, LazyExoticComponent } from 'react';
|
|
2
|
+
export type ResolveConfigFunction<Props> = (options: {
|
|
3
|
+
defaultProps: Props;
|
|
4
|
+
props: Props;
|
|
5
|
+
abortSignal: AbortSignal;
|
|
6
|
+
}) => Promise<{
|
|
7
|
+
durationInFrames?: number;
|
|
8
|
+
fps?: number;
|
|
9
|
+
width?: number;
|
|
10
|
+
height?: number;
|
|
11
|
+
props?: Props;
|
|
12
|
+
}>;
|
|
13
|
+
export interface CompositionEntry<Props = Record<string, unknown>> {
|
|
14
|
+
id: string;
|
|
15
|
+
component: LazyExoticComponent<ComponentType<Props>> | ComponentType<Props>;
|
|
16
|
+
durationInFrames: number;
|
|
17
|
+
fps: number;
|
|
18
|
+
width: number;
|
|
19
|
+
height: number;
|
|
20
|
+
defaultProps: Props;
|
|
21
|
+
group: string | null;
|
|
22
|
+
resolveConfig?: ResolveConfigFunction<Props>;
|
|
23
|
+
type: 'composition' | 'still';
|
|
24
|
+
}
|
|
25
|
+
export interface CompositionManagerContextValue {
|
|
26
|
+
compositions: CompositionEntry[];
|
|
27
|
+
registerComposition: (comp: CompositionEntry) => void;
|
|
28
|
+
unregisterComposition: (id: string) => void;
|
|
29
|
+
currentCompositionId: string | null;
|
|
30
|
+
setCurrentCompositionId: (id: string | null) => void;
|
|
31
|
+
inputProps: Record<string, unknown>;
|
|
32
|
+
}
|
|
33
|
+
export declare const CompositionManagerContext: import('react').Context<CompositionManagerContextValue>;
|
|
34
|
+
//# sourceMappingURL=CompositionManagerContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CompositionManagerContext.d.ts","sourceRoot":"","sources":["../../src/context/CompositionManagerContext.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,aAAa,EAAE,KAAK,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAEpF,MAAM,MAAM,qBAAqB,CAAC,KAAK,IAAI,CAAC,OAAO,EAAE;IACnD,YAAY,EAAE,KAAK,CAAC;IACpB,KAAK,EAAE,KAAK,CAAC;IACb,WAAW,EAAE,WAAW,CAAC;CAC1B,KAAK,OAAO,CAAC;IACZ,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,KAAK,CAAC;CACf,CAAC,CAAC;AAEH,MAAM,WAAW,gBAAgB,CAAC,KAAK,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAC/D,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,mBAAmB,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,GAAG,aAAa,CAAC,KAAK,CAAC,CAAC;IAC5E,gBAAgB,EAAE,MAAM,CAAC;IACzB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,KAAK,CAAC;IACpB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,aAAa,CAAC,EAAE,qBAAqB,CAAC,KAAK,CAAC,CAAC;IAC7C,IAAI,EAAE,aAAa,GAAG,OAAO,CAAC;CAC/B;AAED,MAAM,WAAW,8BAA8B;IAC7C,YAAY,EAAE,gBAAgB,EAAE,CAAC;IACjC,mBAAmB,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,IAAI,CAAC;IACtD,qBAAqB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,uBAAuB,EAAE,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACrD,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACrC;AAID,eAAO,MAAM,yBAAyB,yDAOpC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FolderContext.d.ts","sourceRoot":"","sources":["../../src/context/FolderContext.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,wCAAqC,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export type RendivEnvironment = 'studio' | 'rendering' | 'player';
|
|
2
|
+
export interface RendivEnvironmentContextValue {
|
|
3
|
+
environment: RendivEnvironment;
|
|
4
|
+
}
|
|
5
|
+
export declare const RendivEnvironmentContext: import('react').Context<RendivEnvironmentContextValue>;
|
|
6
|
+
//# sourceMappingURL=RendivEnvironmentContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RendivEnvironmentContext.d.ts","sourceRoot":"","sources":["../../src/context/RendivEnvironmentContext.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,WAAW,GAAG,QAAQ,CAAC;AAElE,MAAM,WAAW,6BAA6B;IAC5C,WAAW,EAAE,iBAAiB,CAAC;CAChC;AAED,eAAO,MAAM,wBAAwB,wDAEnC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface SequenceContextValue {
|
|
2
|
+
id: string | null;
|
|
3
|
+
from: number;
|
|
4
|
+
durationInFrames: number;
|
|
5
|
+
parentOffset: number;
|
|
6
|
+
accumulatedOffset: number;
|
|
7
|
+
localOffset: number;
|
|
8
|
+
}
|
|
9
|
+
export declare const SequenceContext: import('react').Context<SequenceContextValue>;
|
|
10
|
+
//# sourceMappingURL=SequenceContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SequenceContext.d.ts","sourceRoot":"","sources":["../../src/context/SequenceContext.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,gBAAgB,EAAE,MAAM,CAAC;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,eAAe,+CAO1B,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { MutableRefObject } from 'react';
|
|
2
|
+
export interface TimelineContextValue {
|
|
3
|
+
frame: number;
|
|
4
|
+
playing: boolean;
|
|
5
|
+
playingRef: MutableRefObject<boolean>;
|
|
6
|
+
}
|
|
7
|
+
export declare const TimelineContext: import('react').Context<TimelineContextValue>;
|
|
8
|
+
//# sourceMappingURL=TimelineContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TimelineContext.d.ts","sourceRoot":"","sources":["../../src/context/TimelineContext.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAE7D,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;CACvC;AAED,eAAO,MAAM,eAAe,+CAI1B,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface TimelineEntry {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
from: number;
|
|
5
|
+
durationInFrames: number;
|
|
6
|
+
parentId: string | null;
|
|
7
|
+
}
|
|
8
|
+
export interface TimelineRegistryContextValue {
|
|
9
|
+
register: (entry: TimelineEntry) => void;
|
|
10
|
+
unregister: (id: string) => void;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Context for timeline entry registration. Only provided in Studio mode.
|
|
14
|
+
* When null (default), Sequence components skip registration for zero overhead.
|
|
15
|
+
*/
|
|
16
|
+
export declare const TimelineRegistryContext: import('react').Context<TimelineRegistryContextValue | null>;
|
|
17
|
+
//# sourceMappingURL=TimelineRegistryContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TimelineRegistryContext.d.ts","sourceRoot":"","sources":["../../src/context/TimelineRegistryContext.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,gBAAgB,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB;AAED,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;IACzC,UAAU,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CAClC;AAED;;;GAGG;AACH,eAAO,MAAM,uBAAuB,8DAA2D,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface HoldRenderOptions {
|
|
2
|
+
timeoutInMilliseconds?: number;
|
|
3
|
+
}
|
|
4
|
+
export declare function holdRender(label?: string, options?: HoldRenderOptions): number;
|
|
5
|
+
export declare function releaseRender(handle: number): void;
|
|
6
|
+
export declare function abortRender(message: string): void;
|
|
7
|
+
export declare function getPendingHoldCount(): number;
|
|
8
|
+
export declare function getPendingHoldLabels(): string[];
|
|
9
|
+
/** Reset all pending holds. For testing only. */
|
|
10
|
+
export declare function _resetPendingHolds(): void;
|
|
11
|
+
//# sourceMappingURL=delay-render.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delay-render.d.ts","sourceRoot":"","sources":["../src/delay-render.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AAUD,wBAAgB,UAAU,CACxB,KAAK,CAAC,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,iBAAiB,GAC1B,MAAM,CAqBR;AAED,wBAAgB,aAAa,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAWlD;AAED,wBAAgB,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAEjD;AAED,wBAAgB,mBAAmB,IAAI,MAAM,CAE5C;AAED,wBAAgB,oBAAoB,IAAI,MAAM,EAAE,CAE/C;AAED,iDAAiD;AACjD,wBAAgB,kBAAkB,IAAI,IAAI,CAQzC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-input-props.d.ts","sourceRoot":"","sources":["../src/get-input-props.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,sBAAsB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KAClD;CACF;AAED,wBAAgB,aAAa,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,CAAC,CAK9D"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare function useRendivEnvironment(): {
|
|
2
|
+
isStudio: boolean;
|
|
3
|
+
isRendering: boolean;
|
|
4
|
+
isPlayer: boolean;
|
|
5
|
+
};
|
|
6
|
+
export declare function getRendivEnvironment(): {
|
|
7
|
+
isStudio: boolean;
|
|
8
|
+
isRendering: boolean;
|
|
9
|
+
isPlayer: boolean;
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=get-rendiv-environment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-rendiv-environment.d.ts","sourceRoot":"","sources":["../src/get-rendiv-environment.ts"],"names":[],"mappings":"AAGA,wBAAgB,oBAAoB;;;;EAOnC;AAED,wBAAgB,oBAAoB,IAAI;IACtC,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,EAAE,OAAO,CAAC;IACrB,QAAQ,EAAE,OAAO,CAAC;CACnB,CAWA"}
|