remotion 3.0.3 → 3.0.4
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/.turbo/turbo-build.log +5 -5
- package/.turbo/turbo-lint.log +11 -11
- package/.turbo/turbo-test.log +30 -36
- package/dist/IFrame.js +4 -4
- package/dist/IFrame.js.map +1 -1
- package/dist/Img.js +5 -5
- package/dist/Img.js.map +1 -1
- package/dist/Still.d.ts +1 -0
- package/dist/Still.d.ts.map +1 -1
- package/dist/audio/Audio.d.ts +2 -2
- package/dist/audio/AudioForDevelopment.d.ts +2 -2
- package/dist/audio/AudioForRendering.d.ts +1 -1
- package/dist/config/index.d.ts +2 -2
- package/dist/config/index.js +3 -3
- package/dist/config/index.js.map +1 -1
- package/dist/internals.d.ts +4 -3
- package/dist/internals.d.ts.map +1 -1
- package/dist/interpolateColors.d.ts.map +1 -1
- package/dist/interpolateColors.js +2 -1
- package/dist/interpolateColors.js.map +1 -1
- package/dist/timeline-inout-position-state.d.ts.map +1 -1
- package/dist/timeline-inout-position-state.js.map +1 -1
- package/dist/use-video-config.js.map +1 -1
- package/dist/video/Video.d.ts +2 -2
- package/dist/video/VideoForDevelopment.d.ts +1 -1
- package/dist/video/VideoForRendering.d.ts +1 -1
- package/package.json +2 -2
- package/dist/audio/use-frame-for-volume-prop.d.ts +0 -6
- package/dist/audio/use-frame-for-volume-prop.d.ts.map +0 -1
- package/dist/audio/use-frame-for-volume-prop.js +0 -16
- package/dist/audio/use-frame-for-volume-prop.js.map +0 -1
- package/dist/audio/use-media-starts-at.d.ts +0 -2
- package/dist/audio/use-media-starts-at.d.ts.map +0 -1
- package/dist/audio/use-media-starts-at.js +0 -13
- package/dist/audio/use-media-starts-at.js.map +0 -1
- package/dist/ready-manager.d.ts +0 -15
- package/dist/ready-manager.d.ts.map +0 -1
- package/dist/ready-manager.js +0 -78
- package/dist/ready-manager.js.map +0 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
[
|
|
2
|
-
[
|
|
3
|
-
[
|
|
4
|
-
[
|
|
5
|
-
[
|
|
1
|
+
[35mremotion:build: [0mcache hit, replaying output [2m565d05c82ac1beb6[0m
|
|
2
|
+
[35mremotion:build: [0m
|
|
3
|
+
[35mremotion:build: [0m> remotion@3.0.3 build /Users/jonathanburger/remotion/packages/core
|
|
4
|
+
[35mremotion:build: [0m> tsc -d
|
|
5
|
+
[35mremotion:build: [0m
|
package/.turbo/turbo-lint.log
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
[
|
|
2
|
-
[
|
|
3
|
-
[
|
|
4
|
-
[
|
|
5
|
-
[
|
|
6
|
-
[
|
|
7
|
-
[
|
|
8
|
-
[
|
|
9
|
-
[
|
|
10
|
-
[
|
|
11
|
-
[
|
|
1
|
+
[33mremotion:lint: [0mcache hit, replaying output [2mcfd1b8e3d4bfaf71[0m
|
|
2
|
+
[33mremotion:lint: [0m
|
|
3
|
+
[33mremotion:lint: [0m> remotion@2.6.15 lint /Users/jonathanburger/remotion/packages/core
|
|
4
|
+
[33mremotion:lint: [0m> eslint src --ext ts,tsx
|
|
5
|
+
[33mremotion:lint: [0m
|
|
6
|
+
[33mremotion:lint: [0m
|
|
7
|
+
[33mremotion:lint: [0m/Users/jonathanburger/remotion/packages/core/src/use-lazy-component.ts
|
|
8
|
+
[33mremotion:lint: [0m 9:50 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
9
|
+
[33mremotion:lint: [0m
|
|
10
|
+
[33mremotion:lint: [0m✖ 1 problem (0 errors, 1 warning)
|
|
11
|
+
[33mremotion:lint: [0m
|
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,14 +1,8 @@
|
|
|
1
|
-
[34mremotion:test: [0mcache hit, replaying output [
|
|
1
|
+
[34mremotion:test: [0mcache hit, replaying output [2md00af95c326f9762[0m
|
|
2
2
|
[34mremotion:test: [0m
|
|
3
|
-
[34mremotion:test: [0m> remotion@
|
|
3
|
+
[34mremotion:test: [0m> remotion@2.6.15 test /Users/jonathanburger/remotion/packages/core
|
|
4
4
|
[34mremotion:test: [0m> jest --coverage && node generate-badges.js
|
|
5
5
|
[34mremotion:test: [0m
|
|
6
|
-
[34mremotion:test: [0mwatchman warning: Recrawled this watch 15 times, most recently because:
|
|
7
|
-
[34mremotion:test: [0mMustScanSubDirs UserDroppedTo resolve, please review the information on
|
|
8
|
-
[34mremotion:test: [0mhttps://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
|
|
9
|
-
[34mremotion:test: [0mTo clear this warning, run:
|
|
10
|
-
[34mremotion:test: [0m`watchman watch-del '/Users/jonathanburger/remotion' ; watchman watch-project '/Users/jonathanburger/remotion'`
|
|
11
|
-
[34mremotion:test: [0m
|
|
12
6
|
[34mremotion:test: [0mBrowserslist: caniuse-lite is outdated. Please run:
|
|
13
7
|
[34mremotion:test: [0m npx browserslist@latest --update-db
|
|
14
8
|
[34mremotion:test: [0m Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
|
|
@@ -18,67 +12,67 @@
|
|
|
18
12
|
[34mremotion:test: [0mBrowserslist: caniuse-lite is outdated. Please run:
|
|
19
13
|
[34mremotion:test: [0m npx browserslist@latest --update-db
|
|
20
14
|
[34mremotion:test: [0m Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
|
|
21
|
-
[34mremotion:test: [0mPASS src/test/easing.test.ts (11.085 s)
|
|
22
|
-
[34mremotion:test: [0mPASS src/test/crf.test.ts (11.217 s)
|
|
23
|
-
[34mremotion:test: [0mPASS src/test/interpolate.test.ts (11.633 s)
|
|
24
15
|
[34mremotion:test: [0mBrowserslist: caniuse-lite is outdated. Please run:
|
|
25
16
|
[34mremotion:test: [0m npx browserslist@latest --update-db
|
|
26
17
|
[34mremotion:test: [0m Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
|
|
27
|
-
[34mremotion:test: [0mPASS src/test/
|
|
18
|
+
[34mremotion:test: [0mPASS src/test/crf.test.ts (22.562 s)
|
|
19
|
+
[34mremotion:test: [0mPASS src/test/easing.test.ts (23.331 s)
|
|
20
|
+
[34mremotion:test: [0mPASS src/test/interpolate.test.ts (23.825 s)
|
|
28
21
|
[34mremotion:test: [0mBrowserslist: caniuse-lite is outdated. Please run:
|
|
29
22
|
[34mremotion:test: [0m npx browserslist@latest --update-db
|
|
30
23
|
[34mremotion:test: [0m Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
|
|
24
|
+
[34mremotion:test: [0mPASS src/test/volume-prop.test.ts
|
|
31
25
|
[34mremotion:test: [0mBrowserslist: caniuse-lite is outdated. Please run:
|
|
32
26
|
[34mremotion:test: [0m npx browserslist@latest --update-db
|
|
33
27
|
[34mremotion:test: [0m Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
|
|
34
28
|
[34mremotion:test: [0mPASS src/test/interpolateColors.test.ts
|
|
35
|
-
[34mremotion:test: [0mPASS src/test/nested-sequences.test.tsx (15.341 s)
|
|
36
29
|
[34mremotion:test: [0mPASS src/test/pixel-format.test.ts
|
|
37
30
|
[34mremotion:test: [0mBrowserslist: caniuse-lite is outdated. Please run:
|
|
38
31
|
[34mremotion:test: [0m npx browserslist@latest --update-db
|
|
39
32
|
[34mremotion:test: [0m Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
|
|
33
|
+
[34mremotion:test: [0mPASS src/test/nested-sequences.test.tsx (30.022 s)
|
|
40
34
|
[34mremotion:test: [0mPASS src/test/media-validation.test.tsx
|
|
41
|
-
[34mremotion:test: [0mPASS src/test/random.test.ts
|
|
42
35
|
[34mremotion:test: [0mPASS src/test/image-format.test.ts
|
|
36
|
+
[34mremotion:test: [0mPASS src/test/random.test.ts
|
|
43
37
|
[34mremotion:test: [0mPASS src/test/codec.test.ts
|
|
44
38
|
[34mremotion:test: [0mPASS src/test/get-current-time.test.ts
|
|
45
|
-
[34mremotion:test: [0mPASS src/test/sequence-validation.test.tsx
|
|
46
|
-
[34mremotion:test: [0mPASS src/test/range.test.tsx (
|
|
47
|
-
[34mremotion:test: [0mPASS src/test/audio-for-rendering.test.tsx (
|
|
48
|
-
[34mremotion:test: [0mPASS src/test/use-audio-frame.test.tsx
|
|
39
|
+
[34mremotion:test: [0mPASS src/test/sequence-validation.test.tsx
|
|
40
|
+
[34mremotion:test: [0mPASS src/test/range.test.tsx (13.571 s)
|
|
41
|
+
[34mremotion:test: [0mPASS src/test/audio-for-rendering.test.tsx (11.012 s)
|
|
42
|
+
[34mremotion:test: [0mPASS src/test/use-audio-frame.test.tsx
|
|
49
43
|
[34mremotion:test: [0mPASS src/test/validate-start-from-props.test.ts
|
|
50
|
-
[34mremotion:test: [0mPASS src/test/composition-rules.test.tsx (
|
|
51
|
-
[34mremotion:test: [0mPASS src/test/
|
|
52
|
-
[34mremotion:test: [0mPASS src/test/
|
|
53
|
-
[34mremotion:test: [0mPASS src/test/
|
|
54
|
-
[34mremotion:test: [0mPASS src/test/
|
|
55
|
-
[34mremotion:test: [0mPASS src/test/freeze.test.tsx (18.901 s)
|
|
44
|
+
[34mremotion:test: [0mPASS src/test/composition-rules.test.tsx (5.238 s)
|
|
45
|
+
[34mremotion:test: [0mPASS src/test/freeze.test.tsx (8.949 s)
|
|
46
|
+
[34mremotion:test: [0mPASS src/test/loop-validation.test.tsx (42.302 s)
|
|
47
|
+
[34mremotion:test: [0mPASS src/test/series.test.tsx (42.599 s)
|
|
48
|
+
[34mremotion:test: [0mPASS src/test/composition-validation.test.tsx (43.496 s)
|
|
56
49
|
[34mremotion:test: [0mPASS src/test/use-sync-volume-with-media-tag.test.ts
|
|
57
50
|
[34mremotion:test: [0mPASS src/test/log.test.ts
|
|
58
|
-
[34mremotion:test: [0mPASS src/test/
|
|
59
|
-
[34mremotion:test: [0mPASS src/test/
|
|
60
|
-
[34mremotion:test: [0mPASS src/test/use-media-tag-volume.test.tsx
|
|
51
|
+
[34mremotion:test: [0mPASS src/test/audio.test.tsx (6.1 s)
|
|
52
|
+
[34mremotion:test: [0mPASS src/test/measure-spring.test.ts
|
|
53
|
+
[34mremotion:test: [0mPASS src/test/use-media-tag-volume.test.tsx
|
|
61
54
|
[34mremotion:test: [0mPASS src/test/bezier.test.ts
|
|
62
|
-
[34mremotion:test: [0mPASS src/test/
|
|
55
|
+
[34mremotion:test: [0mPASS src/test/video.test.tsx (7.679 s)
|
|
56
|
+
[34mremotion:test: [0mPASS src/test/pro-res-profile.test.ts
|
|
63
57
|
[34mremotion:test: [0mPASS src/test/quality.test.ts
|
|
58
|
+
[34mremotion:test: [0mPASS src/test/overwrite.test.ts
|
|
59
|
+
[34mremotion:test: [0mPASS src/test/image-sequence.test.ts
|
|
64
60
|
[34mremotion:test: [0mPASS src/test/concurrency.test.ts
|
|
61
|
+
[34mremotion:test: [0mPASS src/test/use-media-in-timeline.test.tsx
|
|
62
|
+
[34mremotion:test: [0mPASS src/test/webpack-caching.test.ts
|
|
63
|
+
[34mremotion:test: [0mPASS src/test/input-props.test.ts
|
|
65
64
|
[34mremotion:test: [0mPASS src/test/validate-frame.test.ts
|
|
66
|
-
[34mremotion:test: [0mPASS src/test/overwrite.test.ts
|
|
67
|
-
[34mremotion:test: [0mPASS src/test/audio.test.tsx (13.874 s)
|
|
68
65
|
[34mremotion:test: [0mPASS src/test/preview-server.test.ts
|
|
69
|
-
[34mremotion:test: [0mPASS src/test/
|
|
66
|
+
[34mremotion:test: [0mPASS src/test/spring.test.ts
|
|
70
67
|
[34mremotion:test: [0mPASS src/test/ready-manager.test.ts
|
|
71
|
-
[34mremotion:test: [0mPASS src/test/
|
|
68
|
+
[34mremotion:test: [0mPASS src/test/validate-image-format.test.ts
|
|
72
69
|
[34mremotion:test: [0mPASS src/test/get-asset-file-name.test.ts
|
|
73
|
-
[34mremotion:test: [0mPASS src/test/webpack-caching.test.ts
|
|
74
|
-
[34mremotion:test: [0mPASS src/test/spring.test.ts
|
|
75
70
|
[34mremotion:test: [0mPASS src/test/truthy.test.ts
|
|
76
71
|
[34mremotion:test: [0mPASS src/test/absolute-src.test.ts
|
|
77
|
-
[34mremotion:test: [0mPASS src/test/validate-image-format.test.ts
|
|
78
72
|
[34mremotion:test: [0mPASS src/test/Img.test.tsx
|
|
79
73
|
[34mremotion:test: [0m
|
|
80
74
|
[34mremotion:test: [0mTest Suites: 46 passed, 46 total
|
|
81
75
|
[34mremotion:test: [0mTests: 474 passed, 474 total
|
|
82
76
|
[34mremotion:test: [0mSnapshots: 0 total
|
|
83
|
-
[34mremotion:test: [0mTime:
|
|
77
|
+
[34mremotion:test: [0mTime: 50.985 s
|
|
84
78
|
[34mremotion:test: [0mRan all test suites.
|
package/dist/IFrame.js
CHANGED
|
@@ -3,15 +3,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.IFrame = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const react_1 = require("react");
|
|
6
|
-
const
|
|
6
|
+
const delay_render_1 = require("./delay-render");
|
|
7
7
|
const IFrameRefForwarding = ({ onLoad, onError, ...props }, ref) => {
|
|
8
|
-
const [handle] = (0, react_1.useState)(() => (0,
|
|
8
|
+
const [handle] = (0, react_1.useState)(() => (0, delay_render_1.delayRender)(`Loading <IFrame> with source ${props.src}`));
|
|
9
9
|
const didLoad = (0, react_1.useCallback)((e) => {
|
|
10
|
-
(0,
|
|
10
|
+
(0, delay_render_1.continueRender)(handle);
|
|
11
11
|
onLoad === null || onLoad === void 0 ? void 0 : onLoad(e);
|
|
12
12
|
}, [handle, onLoad]);
|
|
13
13
|
const didGetError = (0, react_1.useCallback)((e) => {
|
|
14
|
-
(0,
|
|
14
|
+
(0, delay_render_1.continueRender)(handle);
|
|
15
15
|
if (onError) {
|
|
16
16
|
onError(e);
|
|
17
17
|
}
|
package/dist/IFrame.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IFrame.js","sourceRoot":"","sources":["../src/IFrame.tsx"],"names":[],"mappings":";;;;AAAA,iCAA+D;AAC/D,
|
|
1
|
+
{"version":3,"file":"IFrame.js","sourceRoot":"","sources":["../src/IFrame.tsx"],"names":[],"mappings":";;;;AAAA,iCAA+D;AAC/D,iDAA2D;AAE3D,MAAM,mBAAmB,GAMrB,CAAC,EAAC,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,EAAC,EAAE,GAAG,EAAE,EAAE;IACxC,MAAM,CAAC,MAAM,CAAC,GAAG,IAAA,gBAAQ,EAAC,GAAG,EAAE,CAC9B,IAAA,0BAAW,EAAC,gCAAgC,KAAK,CAAC,GAAG,EAAE,CAAC,CACxD,CAAC;IAEF,MAAM,OAAO,GAAG,IAAA,mBAAW,EAC1B,CAAC,CAAiD,EAAE,EAAE;QACrD,IAAA,6BAAc,EAAC,MAAM,CAAC,CAAC;QACvB,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAG,CAAC,CAAC,CAAC;IACb,CAAC,EACD,CAAC,MAAM,EAAE,MAAM,CAAC,CAChB,CAAC;IAEF,MAAM,WAAW,GAAG,IAAA,mBAAW,EAC9B,CAAC,CAAiD,EAAE,EAAE;QACrD,IAAA,6BAAc,EAAC,MAAM,CAAC,CAAC;QACvB,IAAI,OAAO,EAAE;YACZ,OAAO,CAAC,CAAC,CAAC,CAAC;SACX;aAAM;YACN,OAAO,CAAC,KAAK,CACZ,uBAAuB,EACvB,CAAC,EACD,2EAA2E,CAC3E,CAAC;SACF;IACF,CAAC,EACD,CAAC,MAAM,EAAE,OAAO,CAAC,CACjB,CAAC;IAEF,OAAO,sCAAY,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,WAAI,CAAC;AAC/E,CAAC,CAAC;AAEW,QAAA,MAAM,GAAG,IAAA,kBAAU,EAAC,mBAAmB,CAAC,CAAC"}
|
package/dist/Img.js
CHANGED
|
@@ -3,21 +3,21 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Img = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const react_1 = require("react");
|
|
6
|
-
const
|
|
6
|
+
const delay_render_1 = require("./delay-render");
|
|
7
7
|
const ImgRefForwarding = ({ onLoad, onError, ...props }, ref) => {
|
|
8
|
-
const [handle] = (0, react_1.useState)(() => (0,
|
|
8
|
+
const [handle] = (0, react_1.useState)(() => (0, delay_render_1.delayRender)('Loading <Img> with src=' + props.src));
|
|
9
9
|
(0, react_1.useEffect)(() => {
|
|
10
10
|
if (ref &&
|
|
11
11
|
ref.current.complete) {
|
|
12
|
-
(0,
|
|
12
|
+
(0, delay_render_1.continueRender)(handle);
|
|
13
13
|
}
|
|
14
14
|
}, [handle, ref]);
|
|
15
15
|
const didLoad = (0, react_1.useCallback)((e) => {
|
|
16
|
-
(0,
|
|
16
|
+
(0, delay_render_1.continueRender)(handle);
|
|
17
17
|
onLoad === null || onLoad === void 0 ? void 0 : onLoad(e);
|
|
18
18
|
}, [handle, onLoad]);
|
|
19
19
|
const didGetError = (0, react_1.useCallback)((e) => {
|
|
20
|
-
(0,
|
|
20
|
+
(0, delay_render_1.continueRender)(handle);
|
|
21
21
|
if (onError) {
|
|
22
22
|
onError(e);
|
|
23
23
|
}
|
package/dist/Img.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Img.js","sourceRoot":"","sources":["../src/Img.tsx"],"names":[],"mappings":";;;;AAAA,iCAA0E;AAC1E,
|
|
1
|
+
{"version":3,"file":"Img.js","sourceRoot":"","sources":["../src/Img.tsx"],"names":[],"mappings":";;;;AAAA,iCAA0E;AAC1E,iDAA2D;AAE3D,MAAM,gBAAgB,GAMlB,CAAC,EAAC,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,EAAC,EAAE,GAAG,EAAE,EAAE;IACxC,MAAM,CAAC,MAAM,CAAC,GAAG,IAAA,gBAAQ,EAAC,GAAG,EAAE,CAC9B,IAAA,0BAAW,EAAC,yBAAyB,GAAG,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|
+
{"version":3,"file":"Still.d.ts","sourceRoot":"","sources":["../src/Still.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAc,UAAU,EAAC,MAAM,eAAe,CAAC;AAEtD,eAAO,MAAM,KAAK,0CAEjB,CAAC"}
|
package/dist/audio/Audio.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { RemotionMainAudioProps } from './props';
|
|
3
|
-
export declare const Audio: React.ForwardRefExoticComponent<Pick<Omit<React.DetailedHTMLProps<React.AudioHTMLAttributes<HTMLAudioElement>, HTMLAudioElement>, "
|
|
3
|
+
export declare const Audio: React.ForwardRefExoticComponent<Pick<Omit<React.DetailedHTMLProps<React.AudioHTMLAttributes<HTMLAudioElement>, HTMLAudioElement>, "onEnded" | "autoPlay" | "controls" | "loop"> & {
|
|
4
4
|
volume?: import("../volume-prop").VolumeProp | undefined;
|
|
5
5
|
playbackRate?: number | undefined;
|
|
6
|
-
} & RemotionMainAudioProps, "
|
|
6
|
+
} & RemotionMainAudioProps, "style" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "src" | "volume" | "playbackRate" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "key" | keyof RemotionMainAudioProps> & React.RefAttributes<HTMLAudioElement>>;
|
|
7
7
|
//# sourceMappingURL=Audio.d.ts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export declare const AudioForDevelopment: React.ForwardRefExoticComponent<Pick<Omit<React.DetailedHTMLProps<React.AudioHTMLAttributes<HTMLAudioElement>, HTMLAudioElement>, "
|
|
2
|
+
export declare const AudioForDevelopment: React.ForwardRefExoticComponent<Pick<Omit<React.DetailedHTMLProps<React.AudioHTMLAttributes<HTMLAudioElement>, HTMLAudioElement>, "onEnded" | "autoPlay" | "controls" | "loop"> & {
|
|
3
3
|
volume?: import("../volume-prop").VolumeProp | undefined;
|
|
4
4
|
playbackRate?: number | undefined;
|
|
5
5
|
} & {
|
|
6
6
|
shouldPreMountAudioTags: boolean;
|
|
7
|
-
}, "
|
|
7
|
+
}, "style" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "src" | "volume" | "playbackRate" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "key" | "shouldPreMountAudioTags"> & React.RefAttributes<HTMLAudioElement>>;
|
|
8
8
|
//# sourceMappingURL=AudioForDevelopment.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { RemotionAudioProps } from './props';
|
|
3
|
-
export declare const AudioForRendering: React.ForwardRefExoticComponent<Pick<RemotionAudioProps, "
|
|
3
|
+
export declare const AudioForRendering: React.ForwardRefExoticComponent<Pick<RemotionAudioProps, "style" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "src" | "volume" | "playbackRate" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "key"> & React.RefAttributes<HTMLAudioElement>>;
|
|
4
4
|
//# sourceMappingURL=AudioForRendering.d.ts.map
|
package/dist/config/index.d.ts
CHANGED
|
@@ -99,7 +99,7 @@ export declare const Config: {
|
|
|
99
99
|
/** Decide in which image format to render. Can be either 'jpeg' or 'png'.
|
|
100
100
|
* PNG is slower, but supports transparency.
|
|
101
101
|
*/
|
|
102
|
-
readonly setImageFormat: (format: "
|
|
102
|
+
readonly setImageFormat: (format: "none" | "png" | "jpeg") => void;
|
|
103
103
|
/**
|
|
104
104
|
* Render only a subset of a video.
|
|
105
105
|
* Pass in a tuple [20, 30] to only render frames 20-30 into a video.
|
|
@@ -156,7 +156,7 @@ export declare const Config: {
|
|
|
156
156
|
* Possible values: 4444-xq, 4444, hq, standard, light, proxy. Default: 'hq'
|
|
157
157
|
* See https://avpres.net/FFmpeg/im_ProRes.html for meaning of possible values.
|
|
158
158
|
*/
|
|
159
|
-
readonly setProResProfile: (profile: "4444-xq" | "4444" | "hq" | "standard" | "
|
|
159
|
+
readonly setProResProfile: (profile: "light" | "4444-xq" | "4444" | "hq" | "standard" | "proxy" | undefined) => void;
|
|
160
160
|
};
|
|
161
161
|
};
|
|
162
162
|
export type { PixelFormat, Concurrency, WebpackConfiguration, WebpackOverrideFn, BrowserExecutable, FfmpegExecutable, ImageFormat, Codec, Browser, FrameRange, LogLevel, StillImageFormat, };
|
package/dist/config/index.js
CHANGED
|
@@ -2,10 +2,12 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Config = void 0;
|
|
4
4
|
const browser_executable_1 = require("./browser-executable");
|
|
5
|
+
const chromium_flags_1 = require("./chromium-flags");
|
|
5
6
|
const codec_1 = require("./codec");
|
|
6
7
|
const concurrency_1 = require("./concurrency");
|
|
7
8
|
const crf_1 = require("./crf");
|
|
8
9
|
const env_file_1 = require("./env-file");
|
|
10
|
+
const ffmpeg_executable_1 = require("./ffmpeg-executable");
|
|
9
11
|
const frame_range_1 = require("./frame-range");
|
|
10
12
|
const image_format_1 = require("./image-format");
|
|
11
13
|
const image_sequence_1 = require("./image-sequence");
|
|
@@ -17,11 +19,9 @@ const pixel_format_1 = require("./pixel-format");
|
|
|
17
19
|
const preview_server_1 = require("./preview-server");
|
|
18
20
|
const prores_profile_1 = require("./prores-profile");
|
|
19
21
|
const quality_1 = require("./quality");
|
|
20
|
-
const webpack_caching_1 = require("./webpack-caching");
|
|
21
|
-
const ffmpeg_executable_1 = require("./ffmpeg-executable");
|
|
22
22
|
const scale_1 = require("./scale");
|
|
23
23
|
const timeout_1 = require("./timeout");
|
|
24
|
-
const
|
|
24
|
+
const webpack_caching_1 = require("./webpack-caching");
|
|
25
25
|
exports.Config = {
|
|
26
26
|
Preview: {
|
|
27
27
|
/**
|
package/dist/config/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":";;;AACA,6DAA6E;AAC7E,mCAAyD;AACzD,+CAA0D;AAC1D,+BAA6B;AAC7B,yCAA6C;AAC7C,+CAAwD;AACxD,iDAA6E;AAC7E,qDAAkD;AAClD,+BAA4C;AAC5C,+DAA2D;AAC3D,yDAI4B;AAC5B,2CAA+C;AAC/C,iDAA2D;AAC3D,qDAAyC;AACzC,qDAAkD;AAClD,uCAAqC;AACrC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":";;;AACA,6DAA6E;AAC7E,qDAK0B;AAC1B,mCAAyD;AACzD,+CAA0D;AAC1D,+BAA6B;AAC7B,yCAA6C;AAC7C,2DAA0E;AAC1E,+CAAwD;AACxD,iDAA6E;AAC7E,qDAAkD;AAClD,+BAA4C;AAC5C,+DAA2D;AAC3D,yDAI4B;AAC5B,2CAA+C;AAC/C,iDAA2D;AAC3D,qDAAyC;AACzC,qDAAkD;AAClD,uCAAqC;AACrC,mCAAiC;AACjC,uCAA8C;AAC9C,uDAAoD;AAEvC,QAAA,MAAM,GAAG;IACrB,OAAO,EAAE;QACR;;;;WAIG;QACH,oBAAoB,EAApB,0CAAoB;KACpB;IACD,QAAQ,EAAE;QACT;;;;WAIG;QACH,qBAAqB,EAArB,wCAAqB;QACrB;;;WAGG;QACH,iBAAiB,EAAE,mCAAiB;QACpC;;;;WAIG;QACH,OAAO,EAAP,wBAAO;KACP;IACD,GAAG,EAAE;QACJ;;;;;;WAMG;QACH,QAAQ,EAAE,iBAAW;KACrB;IACD,SAAS,EAAE;QACV;;;WAGG;QACH,oBAAoB,EAApB,yCAAoB;QACpB;;;WAGG;QACH,wBAAwB,EAAE,6BAAmB;QAC7C;;;WAGG;QACH,6BAA6B,EAA7B,8CAA6B;QAC7B;;;WAGG;QACH,kCAAkC,EAAlC,mDAAkC;QAClC;;;WAGG;QACH,uBAAuB,EAAvB,wCAAuB;QACvB;;;WAGG;QACH,yBAAyB,EAAzB,0CAAyB;KACzB;IACD,SAAS,EAAE;QACV;;;WAGG;QACH,iBAAiB,EAAjB,4BAAiB;QACjB;;;WAGG;QACH,cAAc,EAAd,4BAAc;QACd;;;;;WAKG;QACH,UAAU,EAAV,oBAAU;QACV;;WAEG;QACH,cAAc,EAAd,6BAAc;QACd;;;;;WAKG;QACH,aAAa,EAAb,2BAAa;QAEb;;;WAGG;QACH,mBAAmB,EAAnB,uCAAmB;QACnB;;;WAGG;QACH,QAAQ,EAAR,gBAAQ;KACR;IACD,MAAM,EAAE;QACP;;;WAGG;QACH,kBAAkB,EAAlB,8BAAkB;QAClB;;;;WAIG;QACH,cAAc,EAAd,6BAAc;QACd;;;WAGG;QACH,eAAe,EAAf,uBAAe;QACf;;;WAGG;QACH,QAAQ,EAAR,gBAAQ;QACR;;;;WAIG;QACH,MAAM,EAAN,YAAM;QACN;;WAEG;QACH,gBAAgB,EAAhB,iCAAgB;QAChB;;;;;WAKG;QACH,gBAAgB,EAAhB,iCAAgB;KAChB;CACQ,CAAC"}
|
package/dist/internals.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { CompProps } from './Composition';
|
|
2
3
|
import { CompositionManagerContext, RenderAssetInfo, TAsset, TCompMetadata, TComposition, TSequence } from './CompositionManager';
|
|
3
4
|
import * as AssetCompression from './compress-assets';
|
|
@@ -103,9 +104,9 @@ export declare const Internals: {
|
|
|
103
104
|
validateFps: (fps: number, location: string) => void;
|
|
104
105
|
validateDimension: (amount: number, nameOfProp: string, location: string) => void;
|
|
105
106
|
getRemotionEnvironment: () => RemotionEnvironment;
|
|
106
|
-
getProResProfile: () => "4444-xq" | "4444" | "hq" | "standard" | "
|
|
107
|
-
setProResProfile: (profile: "4444-xq" | "4444" | "hq" | "standard" | "
|
|
108
|
-
validateSelectedCodecAndProResCombination: (actualCodec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv", actualProResProfile: "4444-xq" | "4444" | "hq" | "standard" | "
|
|
107
|
+
getProResProfile: () => "light" | "4444-xq" | "4444" | "hq" | "standard" | "proxy" | undefined;
|
|
108
|
+
setProResProfile: (profile: "light" | "4444-xq" | "4444" | "hq" | "standard" | "proxy" | undefined) => void;
|
|
109
|
+
validateSelectedCodecAndProResCombination: (actualCodec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv", actualProResProfile: "light" | "4444-xq" | "4444" | "hq" | "standard" | "proxy" | undefined) => void;
|
|
109
110
|
getMaxTimelineTracks: () => number;
|
|
110
111
|
SharedAudioContext: import("react").Context<{
|
|
111
112
|
registerAudio: (aud: import("./audio").RemotionAudioProps) => {
|
package/dist/internals.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internals.d.ts","sourceRoot":"","sources":["../src/internals.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;AACxC,OAAO,EAEN,yBAAyB,EAEzB,eAAe,EACf,MAAM,EACN,aAAa,EACb,YAAY,EACZ,SAAS,EACT,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,gBAAgB,MAAM,mBAAmB,CAAC;AAiCtD,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AAExC,OAAO,EAGN,iBAAiB,EACjB,MAAM,2BAA2B,CAAC;AAQnC,OAAO,EAEN,aAAa,EAGb,MAAM,yBAAyB,CAAC;AAYjC,OAAO,KAAK,QAAQ,MAAM,eAAe,CAAC;AAG1C,OAAO,EAAyB,mBAAmB,EAAC,MAAM,mBAAmB,CAAC;AAO9E,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAK/B,OAAO,KAAK,qBAAqB,MAAM,iCAAiC,CAAC;AACzE,OAAO,EACN,4BAA4B,EAC5B,yBAAyB,EACzB,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EACN,uBAAuB,EACvB,oBAAoB,EACpB,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAAC,MAAM,EAAC,MAAM,UAAU,CAAC;AAahC,OAAO,EACN,cAAc,EAEd,MAAM,uCAAuC,CAAC;AAE/C,OAAO,EAEN,uBAAuB,EAEvB,0BAA0B,EAG1B,MAAM,yBAAyB,CAAC;AACjC,OAAO,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KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EACN,uBAAuB,EACvB,oBAAoB,EACpB,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAAC,MAAM,EAAC,MAAM,UAAU,CAAC;AAahC,OAAO,EACN,cAAc,EAEd,MAAM,uCAAuC,CAAC;AAE/C,OAAO,EAEN,uBAAuB,EAEvB,0BAA0B,EAG1B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAEN,mBAAmB,EACnB,MAAM,yBAAyB,CAAC;AACjC,QAAA,MAAM,QAAQ;;;;;;;;;;CAAkD,CAAC;AAIjE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsFrB,CAAC;AAEF,YAAY,EACX,YAAY,EACZ,QAAQ,EACR,aAAa,EACb,SAAS,EACT,iBAAiB,EACjB,MAAM,EACN,eAAe,EACf,oBAAoB,EACpB,uBAAuB,EACvB,yBAAyB,EACzB,4BAA4B,EAC5B,SAAS,EACT,yBAAyB,EACzB,uBAAuB,EACvB,0BAA0B,EAC1B,mBAAmB,EACnB,aAAa,EACb,cAAc,GACd,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interpolateColors.d.ts","sourceRoot":"","sources":["../src/interpolateColors.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"interpolateColors.d.ts","sourceRoot":"","sources":["../src/interpolateColors.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAudH,eAAO,MAAM,iBAAiB,UACtB,MAAM,cACD,SAAS,MAAM,EAAE,eAChB,SAAS,MAAM,EAAE,KAC5B,MA0BF,CAAC"}
|
|
@@ -31,7 +31,8 @@ function getMatchers() {
|
|
|
31
31
|
cachedMatchers.hsl = new RegExp('hsl' + call(NUMBER, PERCENTAGE, PERCENTAGE));
|
|
32
32
|
cachedMatchers.hsla = new RegExp('hsla' + call(NUMBER, PERCENTAGE, PERCENTAGE, NUMBER));
|
|
33
33
|
cachedMatchers.hex3 = /^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/;
|
|
34
|
-
cachedMatchers.hex4 =
|
|
34
|
+
cachedMatchers.hex4 =
|
|
35
|
+
/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/;
|
|
35
36
|
cachedMatchers.hex6 = /^#([0-9a-fA-F]{6})$/;
|
|
36
37
|
cachedMatchers.hex8 = /^#([0-9a-fA-F]{8})$/;
|
|
37
38
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interpolateColors.js","sourceRoot":"","sources":["../src/interpolateColors.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,0BAA0B;AAC1B,+CAA0C;AAI1C,6BAA6B;AAC7B,MAAM,MAAM,GAAG,mBAAmB,CAAC;AACnC,MAAM,UAAU,GAAG,MAAM,GAAG,GAAG,CAAC;AAEhC,SAAS,IAAI,CAAC,GAAG,IAAe;IAC/B,OAAO,UAAU,GAAG,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,GAAG,UAAU,CAAC;AAC3D,CAAC;AAgBD,SAAS,WAAW;IACnB,MAAM,cAAc,GAAa;QAChC,GAAG,EAAE,SAAS;QACd,IAAI,EAAE,SAAS;QACf,GAAG,EAAE,SAAS;QACd,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,SAAS;KACf,CAAC;IACF,IAAI,cAAc,CAAC,GAAG,KAAK,SAAS,EAAE;QACrC,cAAc,CAAC,GAAG,GAAG,IAAI,MAAM,CAAC,KAAK,GAAG,IAAI,CAAC,MAAM,EAAE,MAAM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AAC;SACpC;QAED,OAAO,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;IAC9B,CAAC,CAAC,CAAC;IACH,OAAO,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;AAC9B,CAAC,CAAC;AAEK,MAAM,iBAAiB,GAAG,CAChC,KAAa,EACb,UAA6B,EAC7B,WAA8B,EACrB,EAAE;IACX,IAAI,OAAO,KAAK,KAAK,WAAW,EAAE;QACjC,MAAM,IAAI,SAAS,CAAC,4BAA4B,CAAC,CAAC;KAClD;IAED,IAAI,OAAO,UAAU,KAAK,WAAW,EAAE;QACtC,MAAM,IAAI,SAAS,CAAC,iCAAiC,CAAC,CAAC;KACvD;IAED,IAAI,OAAO,WAAW,KAAK,WAAW,EAAE;QACvC,MAAM,IAAI,SAAS,CAAC,kCAAkC,CAAC,CAAC;KACxD;IAED,IAAI,UAAU,CAAC,MAAM,KAAK,WAAW,CAAC,MAAM,EAAE;QAC7C,MAAM,IAAI,SAAS,CAClB,cAAc;YACb,UAAU,CAAC,MAAM;YACjB,qCAAqC;YACrC,WAAW,CAAC,MAAM;YAClB,6CAA6C,CAC9C,CAAC;KACF;IAED,MAAM,oBAAoB,GAAG,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC;IAErE,OAAO,oBAAoB,CAAC,KAAK,EAAE,UAAU,EAAE,oBAAoB,CAAC,CAAC;AACtE,CAAC,CAAC;AA9BW,QAAA,iBAAiB,qBA8B5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"timeline-inout-position-state.d.ts","sourceRoot":"","sources":["../src/timeline-inout-position-state.ts"],"names":[],"mappings":"AAAA,OAAO,KAAkC,MAAM,OAAO,CAAC;AAEvD,oBAAY,yBAAyB,GAAG;IACvC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB,CAAC;AAEF,oBAAY,4BAA4B,GAAG;IAC1C,iBAAiB,EAAE,CAClB,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,yBAAyB,CAAC,KAC9C,IAAI,CAAC;CACV,CAAC;AAEF,eAAO,MAAM,oBAAoB,0CAG/B,CAAC;AAEH,eAAO,MAAM,uBAAuB,
|
|
1
|
+
{"version":3,"file":"timeline-inout-position-state.d.ts","sourceRoot":"","sources":["../src/timeline-inout-position-state.ts"],"names":[],"mappings":"AAAA,OAAO,KAAkC,MAAM,OAAO,CAAC;AAEvD,oBAAY,yBAAyB,GAAG;IACvC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB,CAAC;AAEF,oBAAY,4BAA4B,GAAG;IAC1C,iBAAiB,EAAE,CAClB,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,yBAAyB,CAAC,KAC9C,IAAI,CAAC;CACV,CAAC;AAEF,eAAO,MAAM,oBAAoB,0CAG/B,CAAC;AAEH,eAAO,MAAM,uBAAuB,6CAKjC,CAAC;AAEJ,eAAO,MAAM,6BAA6B,QAAO,yBAGhD,CAAC;AAEF,eAAO,MAAM,gCAAgC,QACxC,4BAGH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"timeline-inout-position-state.js","sourceRoot":"","sources":["../src/timeline-inout-position-state.ts"],"names":[],"mappings":";;;AAAA,iCAAuD;AAa1C,QAAA,oBAAoB,GAAG,IAAA,qBAAa,EAA4B;IAC5E,OAAO,EAAE,IAAI;IACb,QAAQ,EAAE,IAAI;CACd,CAAC,CAAC;AAEU,QAAA,uBAAuB,
|
|
1
|
+
{"version":3,"file":"timeline-inout-position-state.js","sourceRoot":"","sources":["../src/timeline-inout-position-state.ts"],"names":[],"mappings":";;;AAAA,iCAAuD;AAa1C,QAAA,oBAAoB,GAAG,IAAA,qBAAa,EAA4B;IAC5E,OAAO,EAAE,IAAI;IACb,QAAQ,EAAE,IAAI;CACd,CAAC,CAAC;AAEU,QAAA,uBAAuB,GACnC,IAAA,qBAAa,EAA+B;IAC3C,iBAAiB,EAAE,GAAG,EAAE;QACvB,MAAM,IAAI,KAAK,CAAC,SAAS,CAAC,CAAC;IAC5B,CAAC;CACD,CAAC,CAAC;AAEG,MAAM,6BAA6B,GAAG,GAA8B,EAAE;IAC5E,MAAM,KAAK,GAAG,IAAA,kBAAU,EAAC,4BAAoB,CAAC,CAAC;IAC/C,OAAO,KAAK,CAAC;AACd,CAAC,CAAC;AAHW,QAAA,6BAA6B,iCAGxC;AAEK,MAAM,gCAAgC,GAC5C,GAAiC,EAAE;IAClC,MAAM,EAAC,iBAAiB,EAAC,GAAG,IAAA,kBAAU,EAAC,+BAAuB,CAAC,CAAC;IAChE,OAAO,EAAC,iBAAiB,EAAC,CAAC;AAC5B,CAAC,CAAC;AAJU,QAAA,gCAAgC,oCAI1C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-video-config.js","sourceRoot":"","sources":["../src/use-video-config.ts"],"names":[],"mappings":";;;AAAA,uEAA+D;AAG/D;;;;GAIG;AACI,MAAM,cAAc,GAAG,GAAgB,EAAE;IAC/C,MAAM,WAAW,GAAG,IAAA,8CAAoB,GAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"use-video-config.js","sourceRoot":"","sources":["../src/use-video-config.ts"],"names":[],"mappings":";;;AAAA,uEAA+D;AAG/D;;;;GAIG;AACI,MAAM,cAAc,GAAG,GAAgB,EAAE;IAC/C,MAAM,WAAW,GAAG,IAAA,8CAAoB,GAAE,CAAC;IAE3C,IAAI,CAAC,WAAW,EAAE;QACjB,IAAI,OAAO,MAAM,KAAK,WAAW,IAAI,MAAM,CAAC,iBAAiB,EAAE;YAC9D,MAAM,IAAI,KAAK,CACd,6MAA6M,CAC7M,CAAC;SACF;QAED,MAAM,IAAI,KAAK,CACd,sOAAsO,CACtO,CAAC;KACF;IAED,OAAO,WAAW,CAAC;AACpB,CAAC,CAAC;AAhBW,QAAA,cAAc,kBAgBzB"}
|
package/dist/video/Video.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { RemotionMainVideoProps } from './props';
|
|
3
|
-
export declare const Video: React.ForwardRefExoticComponent<Pick<Omit<React.DetailedHTMLProps<React.VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement>, "
|
|
3
|
+
export declare const Video: React.ForwardRefExoticComponent<Pick<Omit<React.DetailedHTMLProps<React.VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement>, "onEnded" | "autoPlay" | "controls" | "loop"> & {
|
|
4
4
|
volume?: import("../volume-prop").VolumeProp | undefined;
|
|
5
5
|
playbackRate?: number | undefined;
|
|
6
|
-
} & RemotionMainVideoProps, "
|
|
6
|
+
} & RemotionMainVideoProps, "style" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "height" | "width" | "src" | "volume" | "playbackRate" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "key" | "poster" | "disablePictureInPicture" | "disableRemotePlayback" | keyof RemotionMainVideoProps> & React.RefAttributes<HTMLVideoElement>>;
|
|
7
7
|
//# sourceMappingURL=Video.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { RemotionVideoProps } from './props';
|
|
3
|
-
export declare const VideoForDevelopment: React.ForwardRefExoticComponent<Pick<RemotionVideoProps, "
|
|
3
|
+
export declare const VideoForDevelopment: React.ForwardRefExoticComponent<Pick<RemotionVideoProps, "style" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "height" | "width" | "src" | "volume" | "playbackRate" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "key" | "poster" | "disablePictureInPicture" | "disableRemotePlayback"> & React.RefAttributes<HTMLVideoElement>>;
|
|
4
4
|
//# sourceMappingURL=VideoForDevelopment.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { RemotionVideoProps } from './props';
|
|
3
|
-
export declare const VideoForRendering: React.ForwardRefExoticComponent<Pick<RemotionVideoProps, "
|
|
3
|
+
export declare const VideoForRendering: React.ForwardRefExoticComponent<Pick<RemotionVideoProps, "style" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "height" | "width" | "src" | "volume" | "playbackRate" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "key" | "poster" | "disablePictureInPicture" | "disableRemotePlayback"> & React.RefAttributes<HTMLVideoElement>>;
|
|
4
4
|
//# sourceMappingURL=VideoForRendering.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "remotion",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.4",
|
|
4
4
|
"description": "Render videos in React",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"publishConfig": {
|
|
56
56
|
"access": "public"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "fe6cd08c090ed8aa6c2a1b610851c0ab97749a2c"
|
|
59
59
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-frame-for-volume-prop.d.ts","sourceRoot":"","sources":["../../src/audio/use-frame-for-volume-prop.tsx"],"names":[],"mappings":"AAGA;;;GAGG;AACH,eAAO,MAAM,qBAAqB,cAIjC,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.useFrameForVolumeProp = void 0;
|
|
4
|
-
const use_frame_1 = require("../use-frame");
|
|
5
|
-
const use_media_starts_at_1 = require("./use-media-starts-at");
|
|
6
|
-
/**
|
|
7
|
-
* When passing a function as the prop for `volume`,
|
|
8
|
-
* we calculate the way more intuitive value for currentFrame
|
|
9
|
-
*/
|
|
10
|
-
const useFrameForVolumeProp = () => {
|
|
11
|
-
const frame = (0, use_frame_1.useCurrentFrame)();
|
|
12
|
-
const startsAt = (0, use_media_starts_at_1.useMediaStartsAt)();
|
|
13
|
-
return frame + startsAt;
|
|
14
|
-
};
|
|
15
|
-
exports.useFrameForVolumeProp = useFrameForVolumeProp;
|
|
16
|
-
//# sourceMappingURL=use-frame-for-volume-prop.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-frame-for-volume-prop.js","sourceRoot":"","sources":["../../src/audio/use-frame-for-volume-prop.tsx"],"names":[],"mappings":";;;AAAA,4CAA6C;AAC7C,+DAAuD;AAEvD;;;GAGG;AACI,MAAM,qBAAqB,GAAG,GAAG,EAAE;IACzC,MAAM,KAAK,GAAG,IAAA,2BAAe,GAAE,CAAC;IAChC,MAAM,QAAQ,GAAG,IAAA,sCAAgB,GAAE,CAAC;IACpC,OAAO,KAAK,GAAG,QAAQ,CAAC;AACzB,CAAC,CAAC;AAJW,QAAA,qBAAqB,yBAIhC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-media-starts-at.d.ts","sourceRoot":"","sources":["../../src/audio/use-media-starts-at.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,gBAAgB,cAI5B,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.useMediaStartsAt = void 0;
|
|
4
|
-
const react_1 = require("react");
|
|
5
|
-
const sequencing_1 = require("../sequencing");
|
|
6
|
-
const useMediaStartsAt = () => {
|
|
7
|
-
var _a;
|
|
8
|
-
const parentSequence = (0, react_1.useContext)(sequencing_1.SequenceContext);
|
|
9
|
-
const startsAt = Math.min(0, (_a = parentSequence === null || parentSequence === void 0 ? void 0 : parentSequence.relativeFrom) !== null && _a !== void 0 ? _a : 0);
|
|
10
|
-
return startsAt;
|
|
11
|
-
};
|
|
12
|
-
exports.useMediaStartsAt = useMediaStartsAt;
|
|
13
|
-
//# sourceMappingURL=use-media-starts-at.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-media-starts-at.js","sourceRoot":"","sources":["../../src/audio/use-media-starts-at.ts"],"names":[],"mappings":";;;AAAA,iCAAiC;AACjC,8CAA8C;AAEvC,MAAM,gBAAgB,GAAG,GAAG,EAAE;;IACpC,MAAM,cAAc,GAAG,IAAA,kBAAU,EAAC,4BAAe,CAAC,CAAC;IACnD,MAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,MAAA,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAE,YAAY,mCAAI,CAAC,CAAC,CAAC;IAChE,OAAO,QAAQ,CAAC;AACjB,CAAC,CAAC;AAJW,QAAA,gBAAgB,oBAI3B"}
|
package/dist/ready-manager.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export declare const DELAY_RENDER_CALLSTACK_TOKEN = "The delayRender was called:";
|
|
2
|
-
/**
|
|
3
|
-
* Call this function to tell Remotion to wait before capturing this frame until data has loaded. Use continueRender() to unblock the render.
|
|
4
|
-
* @param label _optional_ A label to identify the call in case it does time out.
|
|
5
|
-
* @returns {number} An identifier to be passed to continueRender().
|
|
6
|
-
* @link https://www.remotion.dev/docs/delay-render
|
|
7
|
-
*/
|
|
8
|
-
export declare const delayRender: (label?: string | undefined) => number;
|
|
9
|
-
/**
|
|
10
|
-
* Unblock a render that has been blocked by delayRender()
|
|
11
|
-
* @param handle The return value of delayRender().
|
|
12
|
-
* @link https://www.remotion.dev/docs/continue-render
|
|
13
|
-
*/
|
|
14
|
-
export declare const continueRender: (handle: number) => void;
|
|
15
|
-
//# sourceMappingURL=ready-manager.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ready-manager.d.ts","sourceRoot":"","sources":["../src/ready-manager.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,4BAA4B,gCAAgC,CAAC;AAE1E;;;;;GAKG;AACH,eAAO,MAAM,WAAW,kCAAqB,MAqC5C,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,cAAc,WAAY,MAAM,KAAG,IA4B/C,CAAC"}
|
package/dist/ready-manager.js
DELETED
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.continueRender = exports.delayRender = exports.DELAY_RENDER_CALLSTACK_TOKEN = void 0;
|
|
4
|
-
const get_environment_1 = require("./get-environment");
|
|
5
|
-
const timeout_1 = require("./timeout");
|
|
6
|
-
const truthy_1 = require("./truthy");
|
|
7
|
-
if (typeof window !== 'undefined') {
|
|
8
|
-
window.ready = false;
|
|
9
|
-
}
|
|
10
|
-
let handles = [];
|
|
11
|
-
const timeouts = {};
|
|
12
|
-
exports.DELAY_RENDER_CALLSTACK_TOKEN = 'The delayRender was called:';
|
|
13
|
-
/**
|
|
14
|
-
* Call this function to tell Remotion to wait before capturing this frame until data has loaded. Use continueRender() to unblock the render.
|
|
15
|
-
* @param label _optional_ A label to identify the call in case it does time out.
|
|
16
|
-
* @returns {number} An identifier to be passed to continueRender().
|
|
17
|
-
* @link https://www.remotion.dev/docs/delay-render
|
|
18
|
-
*/
|
|
19
|
-
const delayRender = (label) => {
|
|
20
|
-
var _a, _b;
|
|
21
|
-
if (typeof label !== 'string' && typeof label !== 'undefined') {
|
|
22
|
-
throw new Error('The label parameter of delayRender() must be a string or undefined, got: ' +
|
|
23
|
-
JSON.stringify(label));
|
|
24
|
-
}
|
|
25
|
-
const handle = Math.random();
|
|
26
|
-
handles.push(handle);
|
|
27
|
-
const called = (_b = (_a = Error().stack) === null || _a === void 0 ? void 0 : _a.replace(/^Error/g, '')) !== null && _b !== void 0 ? _b : '';
|
|
28
|
-
if ((0, get_environment_1.getRemotionEnvironment)() === 'rendering') {
|
|
29
|
-
const timeoutToUse = typeof window === 'undefined'
|
|
30
|
-
? timeout_1.DEFAULT_PUPPETEER_TIMEOUT
|
|
31
|
-
: window.remotion_puppeteerTimeout - 2000;
|
|
32
|
-
timeouts[handle] = setTimeout(() => {
|
|
33
|
-
const message = [
|
|
34
|
-
`A delayRender()`,
|
|
35
|
-
label ? `"${label}"` : null,
|
|
36
|
-
`was called but not cleared after ${timeoutToUse}ms. See https://remotion.dev/docs/timeout for help.`,
|
|
37
|
-
exports.DELAY_RENDER_CALLSTACK_TOKEN,
|
|
38
|
-
called,
|
|
39
|
-
]
|
|
40
|
-
.filter(truthy_1.truthy)
|
|
41
|
-
.join(' ');
|
|
42
|
-
throw new Error(message);
|
|
43
|
-
}, timeoutToUse);
|
|
44
|
-
}
|
|
45
|
-
if (typeof window !== 'undefined') {
|
|
46
|
-
window.ready = false;
|
|
47
|
-
}
|
|
48
|
-
return handle;
|
|
49
|
-
};
|
|
50
|
-
exports.delayRender = delayRender;
|
|
51
|
-
/**
|
|
52
|
-
* Unblock a render that has been blocked by delayRender()
|
|
53
|
-
* @param handle The return value of delayRender().
|
|
54
|
-
* @link https://www.remotion.dev/docs/continue-render
|
|
55
|
-
*/
|
|
56
|
-
const continueRender = (handle) => {
|
|
57
|
-
if (typeof handle === 'undefined') {
|
|
58
|
-
throw new TypeError('The continueRender() method must be called with a parameter that is the return value of delayRender(). No value was passed.');
|
|
59
|
-
}
|
|
60
|
-
if (typeof handle !== 'number') {
|
|
61
|
-
throw new TypeError('The parameter passed into continueRender() must be the return value of delayRender() which is a number. Got: ' +
|
|
62
|
-
JSON.stringify(handle));
|
|
63
|
-
}
|
|
64
|
-
handles = handles.filter((h) => {
|
|
65
|
-
if (h === handle) {
|
|
66
|
-
if ((0, get_environment_1.getRemotionEnvironment)() === 'rendering') {
|
|
67
|
-
clearTimeout(timeouts[handle]);
|
|
68
|
-
}
|
|
69
|
-
return false;
|
|
70
|
-
}
|
|
71
|
-
return true;
|
|
72
|
-
});
|
|
73
|
-
if (handles.length === 0 && typeof window !== 'undefined') {
|
|
74
|
-
window.ready = true;
|
|
75
|
-
}
|
|
76
|
-
};
|
|
77
|
-
exports.continueRender = continueRender;
|
|
78
|
-
//# sourceMapping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