@remotion/cli 3.0.0-lambda.387 → 3.0.0-lambda.388

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.
Files changed (113) hide show
  1. package/.turbo/turbo-build.log +1 -1
  2. package/.turbo/turbo-lint.log +0 -0
  3. package/.turbo/turbo-test.log +21 -0
  4. package/dist/editor/components/IFrameWrapper.d.ts +6 -0
  5. package/dist/editor/components/IFrameWrapper.d.ts.map +1 -0
  6. package/dist/editor/components/IFrameWrapper.js +19 -0
  7. package/dist/editor/components/IFrameWrapper.js.map +1 -0
  8. package/dist/editor/components/KeyboardShortcuts.d.ts +1 -0
  9. package/dist/editor/components/KeyboardShortcuts.d.ts.map +1 -0
  10. package/dist/editor/components/KeyboardShortcuts.js +2 -0
  11. package/dist/editor/components/KeyboardShortcuts.js.map +1 -0
  12. package/dist/editor/components/NewComposition/ModalHeader.d.ts +3 -0
  13. package/dist/editor/components/NewComposition/ModalHeader.d.ts.map +1 -0
  14. package/dist/editor/components/NewComposition/ModalHeader.js +29 -0
  15. package/dist/editor/components/NewComposition/ModalHeader.js.map +1 -0
  16. package/dist/editor/helpers/css-reset.d.ts +3 -0
  17. package/dist/editor/helpers/css-reset.d.ts.map +1 -0
  18. package/dist/editor/helpers/css-reset.js +9 -0
  19. package/dist/editor/helpers/css-reset.js.map +1 -0
  20. package/dist/empty-audio.d.ts +2 -0
  21. package/dist/empty-audio.d.ts.map +1 -0
  22. package/dist/empty-audio.js +5 -0
  23. package/dist/empty-audio.js.map +1 -0
  24. package/dist/homepage/homepage.d.ts +3 -0
  25. package/dist/homepage/homepage.d.ts.map +1 -0
  26. package/dist/homepage/homepage.js +9 -0
  27. package/dist/homepage/homepage.js.map +1 -0
  28. package/dist/index.d.ts +1 -1
  29. package/package.json +7 -7
  30. package/dist/cycle-browser-tabs.d.ts +0 -7
  31. package/dist/cycle-browser-tabs.d.ts.map +0 -1
  32. package/dist/cycle-browser-tabs.js +0 -24
  33. package/dist/cycle-browser-tabs.js.map +0 -1
  34. package/dist/editor/components/ErrorOverlay.d.ts +0 -9
  35. package/dist/editor/components/ErrorOverlay.d.ts.map +0 -1
  36. package/dist/editor/components/ErrorOverlay.js +0 -22
  37. package/dist/editor/components/ErrorOverlay.js.map +0 -1
  38. package/dist/editor/components/Errors/ErrorDisplay.d.ts +0 -12
  39. package/dist/editor/components/Errors/ErrorDisplay.d.ts.map +0 -1
  40. package/dist/editor/components/Errors/ErrorDisplay.js +0 -43
  41. package/dist/editor/components/Errors/ErrorDisplay.js.map +0 -1
  42. package/dist/editor/components/Errors/ErrorOverlay.d.ts +0 -9
  43. package/dist/editor/components/Errors/ErrorOverlay.d.ts.map +0 -1
  44. package/dist/editor/components/Errors/ErrorOverlay.js +0 -22
  45. package/dist/editor/components/Errors/ErrorOverlay.js.map +0 -1
  46. package/dist/editor/components/Errors/stack-frame.d.ts +0 -46
  47. package/dist/editor/components/Errors/stack-frame.d.ts.map +0 -1
  48. package/dist/editor/components/Errors/stack-frame.js +0 -82
  49. package/dist/editor/components/Errors/stack-frame.js.map +0 -1
  50. package/dist/editor/components/FramePersister.d.ts +0 -4
  51. package/dist/editor/components/FramePersister.d.ts.map +0 -1
  52. package/dist/editor/components/FramePersister.js +0 -28
  53. package/dist/editor/components/FramePersister.js.map +0 -1
  54. package/dist/editor/components/MediaVolumeSlider.d.ts +0 -3
  55. package/dist/editor/components/MediaVolumeSlider.d.ts.map +0 -1
  56. package/dist/editor/components/MediaVolumeSlider.js +0 -113
  57. package/dist/editor/components/MediaVolumeSlider.js.map +0 -1
  58. package/dist/editor/components/Menu/Checkmark.d.ts +0 -2
  59. package/dist/editor/components/Menu/Checkmark.d.ts.map +0 -1
  60. package/dist/editor/components/Menu/Checkmark.js +0 -11
  61. package/dist/editor/components/Menu/Checkmark.js.map +0 -1
  62. package/dist/editor/components/Menu/is-menu-click.d.ts +0 -1
  63. package/dist/editor/components/Menu/is-menu-click.d.ts.map +0 -1
  64. package/dist/editor/components/Menu/is-menu-click.js +0 -2
  65. package/dist/editor/components/Menu/is-menu-click.js.map +0 -1
  66. package/dist/editor/components/NewComposition/LazyLoadNewComposition.d.ts +0 -6
  67. package/dist/editor/components/NewComposition/LazyLoadNewComposition.d.ts.map +0 -1
  68. package/dist/editor/components/NewComposition/LazyLoadNewComposition.js +0 -32
  69. package/dist/editor/components/NewComposition/LazyLoadNewComposition.js.map +0 -1
  70. package/dist/editor/components/NewComposition.d.ts +0 -3
  71. package/dist/editor/components/NewComposition.d.ts.map +0 -1
  72. package/dist/editor/components/NewComposition.js +0 -47
  73. package/dist/editor/components/NewComposition.js.map +0 -1
  74. package/dist/editor/components/NewSequence.d.ts +0 -3
  75. package/dist/editor/components/NewSequence.d.ts.map +0 -1
  76. package/dist/editor/components/NewSequence.js +0 -47
  77. package/dist/editor/components/NewSequence.js.map +0 -1
  78. package/dist/editor/components/Spacing.d.ts +0 -7
  79. package/dist/editor/components/Spacing.d.ts.map +0 -1
  80. package/dist/editor/components/Spacing.js +0 -18
  81. package/dist/editor/components/Spacing.js.map +0 -1
  82. package/dist/editor/components/Timeline/LoopIndicator.d.ts +0 -5
  83. package/dist/editor/components/Timeline/LoopIndicator.d.ts.map +0 -1
  84. package/dist/editor/components/Timeline/LoopIndicator.js +0 -37
  85. package/dist/editor/components/Timeline/LoopIndicator.js.map +0 -1
  86. package/dist/editor/helpers/isCompositionStill.d.ts +0 -1
  87. package/dist/editor/helpers/isCompositionStill.d.ts.map +0 -1
  88. package/dist/editor/helpers/isCompositionStill.js +0 -2
  89. package/dist/editor/helpers/isCompositionStill.js.map +0 -1
  90. package/dist/editor/helpers/validate-composition-name.d.ts +0 -3
  91. package/dist/editor/helpers/validate-composition-name.d.ts.map +0 -1
  92. package/dist/editor/helpers/validate-composition-name.js +0 -15
  93. package/dist/editor/helpers/validate-composition-name.js.map +0 -1
  94. package/dist/editor/hooks/get-el-size.d.ts +0 -8
  95. package/dist/editor/hooks/get-el-size.d.ts.map +0 -1
  96. package/dist/editor/hooks/get-el-size.js +0 -43
  97. package/dist/editor/hooks/get-el-size.js.map +0 -1
  98. package/dist/editor/icons/fast-back.d.ts +0 -3
  99. package/dist/editor/icons/fast-back.d.ts.map +0 -1
  100. package/dist/editor/icons/fast-back.js +0 -9
  101. package/dist/editor/icons/fast-back.js.map +0 -1
  102. package/dist/editor/icons/fast-forward.d.ts +0 -3
  103. package/dist/editor/icons/fast-forward.d.ts.map +0 -1
  104. package/dist/editor/icons/fast-forward.js +0 -9
  105. package/dist/editor/icons/fast-forward.js.map +0 -1
  106. package/dist/editor/state/global-menu-id.d.ts +0 -4
  107. package/dist/editor/state/global-menu-id.d.ts.map +0 -1
  108. package/dist/editor/state/global-menu-id.js +0 -11
  109. package/dist/editor/state/global-menu-id.js.map +0 -1
  110. package/dist/editor/state/menu-selection.d.ts +0 -8
  111. package/dist/editor/state/menu-selection.d.ts.map +0 -1
  112. package/dist/editor/state/menu-selection.js +0 -14
  113. package/dist/editor/state/menu-selection.js.map +0 -1
@@ -1,4 +1,4 @@
1
- @remotion/cli:build: cache hit, replaying output deb5c261c2a8b022
1
+ @remotion/cli:build: cache hit, replaying output 5442645d3d0f8a43
2
2
  @remotion/cli:build: 
3
3
  @remotion/cli:build: > @remotion/cli@2.6.9 build /Users/jonathanburger/remotion/packages/cli
4
4
  @remotion/cli:build: > tsc -d
File without changes
@@ -0,0 +1,21 @@
1
+ @remotion/cli:test: cache hit, replaying output cd1adf3960bfd67d
2
+ @remotion/cli:test: 
3
+ @remotion/cli:test: > @remotion/cli@2.6.7 test /Users/jonathanburger/remotion/packages/cli
4
+ @remotion/cli:test: > jest
5
+ @remotion/cli:test: 
6
+ @remotion/cli:test: watchman warning: Recrawled this watch 45 times, most recently because:
7
+ @remotion/cli:test: MustScanSubDirs UserDroppedTo resolve, please review the information on
8
+ @remotion/cli:test: https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
9
+ @remotion/cli:test: To clear this warning, run:
10
+ @remotion/cli:test: `watchman watch-del '/Users/jonathanburger/remotion' ; watchman watch-project '/Users/jonathanburger/remotion'`
11
+ @remotion/cli:test: 
12
+ @remotion/cli:test: PASS src/test/timeline-sequence-layout.test.ts (10.943 s)
13
+ @remotion/cli:test: PASS src/test/timeline.test.ts (11.478 s)
14
+ @remotion/cli:test: PASS src/test/big-timeline.test.ts (11.621 s)
15
+ @remotion/cli:test: PASS src/test/sequenced-timeline.test.ts (11.594 s)
16
+ @remotion/cli:test: 
17
+ @remotion/cli:test: Test Suites: 4 passed, 4 total
18
+ @remotion/cli:test: Tests: 7 passed, 7 total
19
+ @remotion/cli:test: Snapshots: 0 total
20
+ @remotion/cli:test: Time: 12.487 s
21
+ @remotion/cli:test: Ran all test suites.
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ export declare const IFrameWrapper: React.FC<{
3
+ width: number;
4
+ height: number;
5
+ }>;
6
+ //# sourceMappingURL=IFrameWrapper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IFrameWrapper.d.ts","sourceRoot":"","sources":["../../../src/editor/components/IFrameWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiB,MAAM,OAAO,CAAC;AAGtC,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CACf,CAmBA,CAAC"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IFrameWrapper = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const react_1 = require("react");
6
+ const react_dom_1 = require("react-dom");
7
+ const IFrameWrapper = ({ children, width, height, ...props }) => {
8
+ var _a, _b;
9
+ const [contentRef, setContentRef] = (0, react_1.useState)(null);
10
+ const mountNode = (_b = (_a = contentRef === null || contentRef === void 0 ? void 0 : contentRef.contentWindow) === null || _a === void 0 ? void 0 : _a.document) === null || _b === void 0 ? void 0 : _b.body;
11
+ return ((0, jsx_runtime_1.jsx)("iframe", Object.assign({ style: {
12
+ position: 'absolute',
13
+ width,
14
+ height,
15
+ border: 'none',
16
+ }, id: "IframeWrapper" }, props, { ref: setContentRef }, { children: mountNode && (0, react_dom_1.createPortal)(children, mountNode) }), void 0));
17
+ };
18
+ exports.IFrameWrapper = IFrameWrapper;
19
+ //# sourceMappingURL=IFrameWrapper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IFrameWrapper.js","sourceRoot":"","sources":["../../../src/editor/components/IFrameWrapper.tsx"],"names":[],"mappings":";;;;AAAA,iCAAsC;AACtC,yCAAuC;AAEhC,MAAM,aAAa,GAGrB,CAAC,EAAC,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,KAAK,EAAC,EAAE,EAAE;;IAC5C,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,IAAA,gBAAQ,EAAoB,IAAI,CAAC,CAAC;IACtE,MAAM,SAAS,GAAG,MAAA,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,aAAa,0CAAE,QAAQ,0CAAE,IAAI,CAAC;IAE5D,OAAO,CACN,iDACC,KAAK,EAAE;YACN,QAAQ,EAAE,UAAU;YACpB,KAAK;YACL,MAAM;YACN,MAAM,EAAE,MAAM;SACd,EACD,EAAE,EAAC,eAAe,IACd,KAAK,IACT,GAAG,EAAE,aAAa,gBAEjB,SAAS,IAAI,IAAA,wBAAY,EAAC,QAAQ,EAAE,SAAS,CAAC,YACvC,CACT,CAAC;AACH,CAAC,CAAC;AAtBW,QAAA,aAAa,iBAsBxB"}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=KeyboardShortcuts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KeyboardShortcuts.d.ts","sourceRoot":"","sources":["../../../src/editor/components/KeyboardShortcuts.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ //# sourceMappingURL=KeyboardShortcuts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KeyboardShortcuts.js","sourceRoot":"","sources":["../../../src/editor/components/KeyboardShortcuts.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ export declare const NewCompHeader: React.FC;
3
+ //# sourceMappingURL=ModalHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ModalHeader.d.ts","sourceRoot":"","sources":["../../../../src/editor/components/NewComposition/ModalHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAmBrD,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAYjC,CAAC"}
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.NewCompHeader = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const react_1 = require("react");
6
+ const modals_1 = require("../../state/modals");
7
+ const layout_1 = require("../layout");
8
+ const CancelButton_1 = require("./CancelButton");
9
+ const container = {
10
+ display: 'flex',
11
+ flexDirection: 'row',
12
+ alignItems: 'center',
13
+ padding: 12,
14
+ width: '100%',
15
+ borderBottom: '1px solid black',
16
+ };
17
+ const icon = {
18
+ height: 20,
19
+ width: 20,
20
+ };
21
+ const NewCompHeader = () => {
22
+ const { setSelectedModal } = (0, react_1.useContext)(modals_1.ModalsContext);
23
+ const onPress = (0, react_1.useCallback)(() => {
24
+ setSelectedModal(null);
25
+ }, [setSelectedModal]);
26
+ return ((0, jsx_runtime_1.jsxs)("div", Object.assign({ style: container }, { children: [(0, jsx_runtime_1.jsx)("div", { children: "New composition" }, void 0), (0, jsx_runtime_1.jsx)(layout_1.Flex, {}, void 0), (0, jsx_runtime_1.jsx)(CancelButton_1.CancelButton, { style: icon, onPress: onPress }, void 0)] }), void 0));
27
+ };
28
+ exports.NewCompHeader = NewCompHeader;
29
+ //# sourceMappingURL=ModalHeader.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ModalHeader.js","sourceRoot":"","sources":["../../../../src/editor/components/NewComposition/ModalHeader.tsx"],"names":[],"mappings":";;;;AAAA,iCAAqD;AACrD,+CAAiD;AACjD,sCAA+B;AAC/B,iDAA4C;AAE5C,MAAM,SAAS,GAAwB;IACtC,OAAO,EAAE,MAAM;IACf,aAAa,EAAE,KAAK;IACpB,UAAU,EAAE,QAAQ;IACpB,OAAO,EAAE,EAAE;IACX,KAAK,EAAE,MAAM;IACb,YAAY,EAAE,iBAAiB;CAC/B,CAAC;AAEF,MAAM,IAAI,GAAwB;IACjC,MAAM,EAAE,EAAE;IACV,KAAK,EAAE,EAAE;CACT,CAAC;AAEK,MAAM,aAAa,GAAa,GAAG,EAAE;IAC3C,MAAM,EAAC,gBAAgB,EAAC,GAAG,IAAA,kBAAU,EAAC,sBAAa,CAAC,CAAC;IACrD,MAAM,OAAO,GAAG,IAAA,mBAAW,EAAC,GAAG,EAAE;QAChC,gBAAgB,CAAC,IAAI,CAAC,CAAC;IACxB,CAAC,EAAE,CAAC,gBAAgB,CAAC,CAAC,CAAC;IACvB,OAAO,CACN,+CAAK,KAAK,EAAE,SAAS,iBACpB,sEAA0B,EAC1B,uBAAC,aAAI,aAAG,EACR,uBAAC,2BAAY,IAAC,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,WAAI,aAC1C,CACN,CAAC;AACH,CAAC,CAAC;AAZW,QAAA,aAAa,iBAYxB"}
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ export declare const cssReset: React.CSSProperties;
3
+ //# sourceMappingURL=css-reset.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"css-reset.d.ts","sourceRoot":"","sources":["../../../src/editor/helpers/css-reset.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,aAI5B,CAAC"}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.cssReset = void 0;
4
+ exports.cssReset = {
5
+ fontSize: 16,
6
+ lineHeight: 1,
7
+ color: 'black',
8
+ };
9
+ //# sourceMappingURL=css-reset.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"css-reset.js","sourceRoot":"","sources":["../../../src/editor/helpers/css-reset.ts"],"names":[],"mappings":";;;AAEa,QAAA,QAAQ,GAAwB;IAC5C,QAAQ,EAAE,EAAE;IACZ,UAAU,EAAE,CAAC;IACb,KAAK,EAAE,OAAO;CACd,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const EMPTY_AUDIO = "SUQzBAAAAAACDVRYWFgAAAASAAADbWFqb3JfYnJhbmQATTRBIABUWFhYAAAAEQAAA21pbm9yX3ZlcnNpb24AMABUWFhYAAAAIAAAA2NvbXBhdGlibGVfYnJhbmRzAE00QSBpc29tbXA0MgBUWFhYAAAAfwAAA2lUdW5TTVBCACAwMDAwMDAwMCAwMDAwMDg0MCAwMDAwMDMwMyAwMDAwMDAwMDAwMDAwNEJEIDAwMDAwMDAwIDAwMDAwMDAwIDAwMDAwMDAwIDAwMDAwMDAwIDAwMDAwMDAwIDAwMDAwMDAwIDAwMDAwMDAwIDAwMDAwMDAwAFRTU0UAAAAPAAADTGF2ZjU4Ljc2LjEwMAAAAAAAAAAAAAAA/+M4wAAAAAAAAAAAAEluZm8AAAAPAAAABgAAAogAcXFxcXFxcXFxcXFxcXFxcY6Ojo6Ojo6Ojo6Ojo6Ojo6OqqqqqqqqqqqqqqqqqqqqqsfHx8fHx8fHx8fHx8fHx8fH4+Pj4+Pj4+Pj4+Pj4+Pj4+P/////////////////////AAAAAExhdmM1OC4xMwAAAAAAAAAAAAAAACQDgAAAAAAAAAKIql7rrgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/+MYxAALg13diAgEzAAoAZ/////81/oR/+eRv6n36v/53J////7dT29FPIzHqc76gbwgAUDdCMgAoGf/////4jF3/90X/J3y/+MYxA0MM134ABAKsH/6N////67KwkOkQiCLncaKoJ1c7jQVRdxhQiLKgwFHgOw0Wf/////njP/Gujf79xcQb/8X////+ulD/+MYxBcLu2YQAAgKsKERVViOyFKdFSRlKLxhQQxHOIibg7GFzv/////isjf/Q3+I6iqt///////GtLFVFVQxlRHeuV5VPdw7/+MYxCMLu2X8ABAKsKCwsEREREQ6BQVBjZ//CGa/ITmGQv/iE/////6rDbSq8rytc602qrqKjhZxWmFhU2igVA2ZFMiNNEZG/+MYxC8KM1ngAABRSH//8v/+ZEf///yyX8mCggVRyMv/7LLUMj5ZKRkyhnWVTEFNRTMuMTAwVVVVVVVVVVVVVVVVVVVVVVVV/+MYxEEJU2FECABHSVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV";
2
+ //# sourceMappingURL=empty-audio.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"empty-audio.d.ts","sourceRoot":"","sources":["../src/empty-audio.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,ytCAC+rC,CAAC"}
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EMPTY_AUDIO = void 0;
4
+ exports.EMPTY_AUDIO = 'SUQzBAAAAAACDVRYWFgAAAASAAADbWFqb3JfYnJhbmQATTRBIABUWFhYAAAAEQAAA21pbm9yX3ZlcnNpb24AMABUWFhYAAAAIAAAA2NvbXBhdGlibGVfYnJhbmRzAE00QSBpc29tbXA0MgBUWFhYAAAAfwAAA2lUdW5TTVBCACAwMDAwMDAwMCAwMDAwMDg0MCAwMDAwMDMwMyAwMDAwMDAwMDAwMDAwNEJEIDAwMDAwMDAwIDAwMDAwMDAwIDAwMDAwMDAwIDAwMDAwMDAwIDAwMDAwMDAwIDAwMDAwMDAwIDAwMDAwMDAwIDAwMDAwMDAwAFRTU0UAAAAPAAADTGF2ZjU4Ljc2LjEwMAAAAAAAAAAAAAAA/+M4wAAAAAAAAAAAAEluZm8AAAAPAAAABgAAAogAcXFxcXFxcXFxcXFxcXFxcY6Ojo6Ojo6Ojo6Ojo6Ojo6OqqqqqqqqqqqqqqqqqqqqqsfHx8fHx8fHx8fHx8fHx8fH4+Pj4+Pj4+Pj4+Pj4+Pj4+P/////////////////////AAAAAExhdmM1OC4xMwAAAAAAAAAAAAAAACQDgAAAAAAAAAKIql7rrgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/+MYxAALg13diAgEzAAoAZ/////81/oR/+eRv6n36v/53J////7dT29FPIzHqc76gbwgAUDdCMgAoGf/////4jF3/90X/J3y/+MYxA0MM134ABAKsH/6N////67KwkOkQiCLncaKoJ1c7jQVRdxhQiLKgwFHgOw0Wf/////njP/Gujf79xcQb/8X////+ulD/+MYxBcLu2YQAAgKsKERVViOyFKdFSRlKLxhQQxHOIibg7GFzv/////isjf/Q3+I6iqt///////GtLFVFVQxlRHeuV5VPdw7/+MYxCMLu2X8ABAKsKCwsEREREQ6BQVBjZ//CGa/ITmGQv/iE/////6rDbSq8rytc602qrqKjhZxWmFhU2igVA2ZFMiNNEZG/+MYxC8KM1ngAABRSH//8v/+ZEf///yyX8mCggVRyMv/7LLUMj5ZKRkyhnWVTEFNRTMuMTAwVVVVVVVVVVVVVVVVVVVVVVVV/+MYxEEJU2FECABHSVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV';
5
+ //# sourceMappingURL=empty-audio.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"empty-audio.js","sourceRoot":"","sources":["../src/empty-audio.ts"],"names":[],"mappings":";;;AAAa,QAAA,WAAW,GACvB,stCAAstC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ export declare const Homepage: React.FC;
3
+ //# sourceMappingURL=homepage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"homepage.d.ts","sourceRoot":"","sources":["../../src/homepage/homepage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAQ5B,CAAC"}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Homepage = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const Homepage = () => {
6
+ return ((0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsx)("ul", { children: (0, jsx_runtime_1.jsx)("li", { children: "hi" }, void 0) }, void 0) }, void 0));
7
+ };
8
+ exports.Homepage = Homepage;
9
+ //# sourceMappingURL=homepage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"homepage.js","sourceRoot":"","sources":["../../src/homepage/homepage.tsx"],"names":[],"mappings":";;;;AAEO,MAAM,QAAQ,GAAa,GAAG,EAAE;IACtC,OAAO,CACN,0CACC,yCACC,wDAAW,WACP,WACA,CACN,CAAC;AACH,CAAC,CAAC;AARW,QAAA,QAAQ,YAQnB"}
package/dist/index.d.ts CHANGED
@@ -12,7 +12,7 @@ export declare const CliInternals: {
12
12
  Color: ("black" | "blue" | "cyan" | "gray" | "green" | "grey" | "magenta" | "red" | "white" | "yellow" | "blackBright" | "redBright" | "greenBright" | "yellowBright" | "blueBright" | "magentaBright" | "cyanBright" | "whiteBright") | ("bgBlack" | "bgRed" | "bgGreen" | "bgYellow" | "bgBlue" | "bgMagenta" | "bgCyan" | "bgWhite" | "bgGray" | "bgGrey" | "bgBlackBright" | "bgRedBright" | "bgGreenBright" | "bgYellowBright" | "bgBlueBright" | "bgMagentaBright" | "bgCyanBright" | "bgWhiteBright");
13
13
  ForegroundColor: "black" | "blue" | "cyan" | "gray" | "green" | "grey" | "magenta" | "red" | "white" | "yellow" | "blackBright" | "redBright" | "greenBright" | "yellowBright" | "blueBright" | "magentaBright" | "cyanBright" | "whiteBright";
14
14
  BackgroundColor: "bgBlack" | "bgRed" | "bgGreen" | "bgYellow" | "bgBlue" | "bgMagenta" | "bgCyan" | "bgWhite" | "bgGray" | "bgGrey" | "bgBlackBright" | "bgRedBright" | "bgGreenBright" | "bgYellowBright" | "bgBlueBright" | "bgMagentaBright" | "bgCyanBright" | "bgWhiteBright";
15
- Modifiers: "bold" | "hidden" | "reset" | "visible" | "italic" | "underline" | "dim" | "inverse" | "strikethrough";
15
+ Modifiers: "bold" | "reset" | "hidden" | "visible" | "italic" | "underline" | "dim" | "inverse" | "strikethrough";
16
16
  stderr: chalk.Chalk & {
17
17
  supportsColor: false | chalk.ColorSupport;
18
18
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/cli",
3
- "version": "3.0.0-lambda.387+564e77a4f",
3
+ "version": "3.0.0-lambda.388+6e1372eca",
4
4
  "description": "CLI for Remotion",
5
5
  "main": "dist/index.js",
6
6
  "sideEffects": false,
@@ -20,16 +20,16 @@
20
20
  "author": "Jonny Burger <jonny@remotion.dev>",
21
21
  "license": "SEE LICENSE IN LICENSE.md",
22
22
  "dependencies": {
23
- "@remotion/bundler": "3.0.0-lambda.387+564e77a4f",
24
- "@remotion/media-utils": "3.0.0-lambda.387+564e77a4f",
25
- "@remotion/player": "3.0.0-lambda.387+564e77a4f",
26
- "@remotion/renderer": "3.0.0-lambda.387+564e77a4f",
23
+ "@remotion/bundler": "3.0.0-lambda.388+6e1372eca",
24
+ "@remotion/media-utils": "3.0.0-lambda.388+6e1372eca",
25
+ "@remotion/player": "3.0.0-lambda.388+6e1372eca",
26
+ "@remotion/renderer": "3.0.0-lambda.388+6e1372eca",
27
27
  "better-opn": "2.1.1",
28
28
  "chalk": "4.1.2",
29
29
  "dotenv": "9.0.2",
30
30
  "execa": "5.1.1",
31
31
  "minimist": "1.2.5",
32
- "remotion": "3.0.0-lambda.387+564e77a4f",
32
+ "remotion": "3.0.0-lambda.388+6e1372eca",
33
33
  "semver": "7.3.5",
34
34
  "webpack": "5.60.0"
35
35
  },
@@ -56,5 +56,5 @@
56
56
  "publishConfig": {
57
57
  "access": "public"
58
58
  },
59
- "gitHead": "564e77a4f5aec64e3868d65a0751fb990df6c8dd"
59
+ "gitHead": "6e1372eca7e2f8b36a3a2b18df653d3bdf6fb49c"
60
60
  }
@@ -1,7 +0,0 @@
1
- import { RenderInternals } from '@remotion/renderer';
2
- declare type Await<T> = T extends PromiseLike<infer U> ? U : T;
3
- export declare const cycleBrowserTabs: (openedBrowser: Await<ReturnType<typeof RenderInternals.openBrowser>>) => {
4
- stopCycling: () => void;
5
- };
6
- export {};
7
- //# sourceMappingURL=cycle-browser-tabs.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cycle-browser-tabs.d.ts","sourceRoot":"","sources":["../src/cycle-browser-tabs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,oBAAoB,CAAC;AAGnD,aAAK,KAAK,CAAC,CAAC,IAAI,CAAC,SAAS,WAAW,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AAEvD,eAAO,MAAM,gBAAgB,kBACb,MAAM,WAAW,OAAO,gBAAgB,WAAW,CAAC,CAAC;;CAmBpE,CAAC"}
@@ -1,24 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.cycleBrowserTabs = void 0;
4
- const log_1 = require("./log");
5
- const cycleBrowserTabs = (openedBrowser) => {
6
- let i = 0;
7
- const interval = setInterval(() => {
8
- openedBrowser
9
- .pages()
10
- .then((pages) => {
11
- const currentPage = pages[i % pages.length];
12
- i++;
13
- if (!currentPage.isClosed()) {
14
- currentPage.bringToFront();
15
- }
16
- })
17
- .catch((err) => log_1.Log.error(err));
18
- }, 100);
19
- return {
20
- stopCycling: () => clearInterval(interval),
21
- };
22
- };
23
- exports.cycleBrowserTabs = cycleBrowserTabs;
24
- //# sourceMappingURL=cycle-browser-tabs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cycle-browser-tabs.js","sourceRoot":"","sources":["../src/cycle-browser-tabs.ts"],"names":[],"mappings":";;;AACA,+BAA0B;AAInB,MAAM,gBAAgB,GAAG,CAC/B,aAAoE,EACnE,EAAE;IACH,IAAI,CAAC,GAAG,CAAC,CAAC;IACV,MAAM,QAAQ,GAAG,WAAW,CAAC,GAAG,EAAE;QACjC,aAAa;aACX,KAAK,EAAE;aACP,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE;YACf,MAAM,WAAW,GAAG,KAAK,CAAC,CAAC,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;YAC5C,CAAC,EAAE,CAAC;YACJ,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,EAAE;gBAC5B,WAAW,CAAC,YAAY,EAAE,CAAC;aAC3B;QACF,CAAC,CAAC;aACD,KAAK,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,SAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;IAClC,CAAC,EAAE,GAAG,CAAC,CAAC;IAER,OAAO;QACN,WAAW,EAAE,GAAG,EAAE,CAAC,aAAa,CAAC,QAAQ,CAAC;KAC1C,CAAC;AACH,CAAC,CAAC;AApBW,QAAA,gBAAgB,oBAoB3B"}
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import { ErrorRecord } from '../react-overlay/listen-to-runtime-errors';
3
- declare type SetErrors = {
4
- setErrors: (errs: ErrorRecord[]) => void;
5
- };
6
- export declare const setErrorsRef: React.RefObject<SetErrors>;
7
- export declare const Overlay: React.FC;
8
- export {};
9
- //# sourceMappingURL=ErrorOverlay.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ErrorOverlay.d.ts","sourceRoot":"","sources":["../../../src/editor/components/ErrorOverlay.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAEtE,OAAO,EAAC,WAAW,EAAC,MAAM,2CAA2C,CAAC;AAGtE,aAAK,SAAS,GAAG;IAChB,SAAS,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,IAAI,CAAC;CACzC,CAAC;AAEF,eAAO,MAAM,YAAY,4BAAyB,CAAC;AAEnD,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAwB3B,CAAC"}
@@ -1,22 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Overlay = exports.setErrorsRef = void 0;
4
- const jsx_runtime_1 = require("react/jsx-runtime");
5
- const react_1 = require("react");
6
- const remotion_1 = require("remotion");
7
- const ErrorDisplay_1 = require("./ErrorDisplay");
8
- exports.setErrorsRef = (0, react_1.createRef)();
9
- const Overlay = () => {
10
- const [errors, setErrors] = (0, react_1.useState)([]);
11
- (0, react_1.useImperativeHandle)(exports.setErrorsRef, () => {
12
- return { setErrors };
13
- }, []);
14
- if (errors.length === 0) {
15
- return null;
16
- }
17
- return ((0, jsx_runtime_1.jsx)(remotion_1.AbsoluteFill, Object.assign({ style: { backgroundColor: '#1f2428', overflow: 'auto', color: 'white' } }, { children: errors.map((err) => {
18
- return (0, jsx_runtime_1.jsx)(ErrorDisplay_1.ErrorDisplay, { display: err }, err.error.stack);
19
- }) }), void 0));
20
- };
21
- exports.Overlay = Overlay;
22
- //# sourceMappingURL=ErrorOverlay.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ErrorOverlay.js","sourceRoot":"","sources":["../../../src/editor/components/ErrorOverlay.tsx"],"names":[],"mappings":";;;;AAAA,iCAAsE;AACtE,uCAAsC;AAEtC,iDAA4C;AAM/B,QAAA,YAAY,GAAG,IAAA,iBAAS,GAAa,CAAC;AAE5C,MAAM,OAAO,GAAa,GAAG,EAAE;IACrC,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,IAAA,gBAAQ,EAAgB,EAAE,CAAC,CAAC;IAExD,IAAA,2BAAmB,EAClB,oBAAY,EACZ,GAAG,EAAE;QACJ,OAAO,EAAC,SAAS,EAAC,CAAC;IACpB,CAAC,EACD,EAAE,CACF,CAAC;IAEF,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC,EAAE;QACxB,OAAO,IAAI,CAAC;KACZ;IAED,OAAO,CACN,uBAAC,uBAAY,kBACZ,KAAK,EAAE,EAAC,eAAe,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAC,gBAEpE,MAAM,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE;YACnB,OAAO,uBAAC,2BAAY,IAAuB,OAAO,EAAE,GAAG,IAA7B,GAAG,CAAC,KAAK,CAAC,KAAK,CAAkB,CAAC;QAC7D,CAAC,CAAC,YACY,CACf,CAAC;AACH,CAAC,CAAC;AAxBW,QAAA,OAAO,WAwBlB"}
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- export declare type ErrorRecord = {
3
- error: Error;
4
- unhandledRejection: boolean;
5
- contextSize: number;
6
- stackFrames: StackFrame[];
7
- };
8
- import { StackFrame } from './stack-frame';
9
- export declare const ErrorDisplay: React.FC<{
10
- display: ErrorRecord;
11
- }>;
12
- //# sourceMappingURL=ErrorDisplay.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ErrorDisplay.d.ts","sourceRoot":"","sources":["../../../../src/editor/components/Errors/ErrorDisplay.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,oBAAY,WAAW,GAAG;IACzB,KAAK,EAAE,KAAK,CAAC;IACb,kBAAkB,EAAE,OAAO,CAAC;IAC5B,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,UAAU,EAAE,CAAC;CAC1B,CAAC;AAEF,OAAO,EAAC,UAAU,EAAC,MAAM,eAAe,CAAC;AA4BzC,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC;IACnC,OAAO,EAAE,WAAW,CAAC;CACrB,CAuCA,CAAC"}
@@ -1,43 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ErrorDisplay = void 0;
4
- const jsx_runtime_1 = require("react/jsx-runtime");
5
- const container = {
6
- width: '100%',
7
- maxWidth: 1000,
8
- marginLeft: 'auto',
9
- marginRight: 'auto',
10
- fontFamily: 'sans-serif',
11
- paddingTop: '5vh',
12
- };
13
- const title = {
14
- fontSize: '1.5em',
15
- fontWeight: 'bold',
16
- };
17
- const stack = {
18
- backgroundColor: 'black',
19
- marginTop: 17,
20
- };
21
- const stackLine = {
22
- paddingTop: 8,
23
- paddingBottom: 8,
24
- paddingLeft: 14,
25
- paddingRight: 14,
26
- };
27
- const ErrorDisplay = ({ display }) => {
28
- return ((0, jsx_runtime_1.jsxs)("div", Object.assign({ style: container }, { children: [(0, jsx_runtime_1.jsxs)("div", Object.assign({ style: title }, { children: [display.error.name, ": ", display.error.message] }), void 0), (0, jsx_runtime_1.jsx)("div", Object.assign({ style: stack }, { children: display.stackFrames.map((s, i) => {
29
- var _a;
30
- return (
31
- // eslint-disable-next-line react/no-array-index-key
32
- (0, jsx_runtime_1.jsxs)("div", Object.assign({ style: stackLine }, { children: [(0, jsx_runtime_1.jsx)("div", { children: s.functionName }, void 0), (0, jsx_runtime_1.jsxs)("div", { children: [s._originalFileName, ":", s.columnNumber] }, void 0), (0, jsx_runtime_1.jsx)("div", { children: (_a = s._originalScriptCode) === null || _a === void 0 ? void 0 : _a.map((s, j) => {
33
- return ((0, jsx_runtime_1.jsx)("div", Object.assign({ style: {
34
- fontFamily: 'monospace',
35
- whiteSpace: 'pre',
36
- tabSize: 2,
37
- color: s.highlight ? 'red' : 'inherit',
38
- } }, { children: s.content }), j));
39
- }) }, void 0)] }), i));
40
- }) }), void 0)] }), void 0));
41
- };
42
- exports.ErrorDisplay = ErrorDisplay;
43
- //# sourceMappingURL=ErrorDisplay.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ErrorDisplay.js","sourceRoot":"","sources":["../../../../src/editor/components/Errors/ErrorDisplay.tsx"],"names":[],"mappings":";;;;AAWA,MAAM,SAAS,GAAwB;IACtC,KAAK,EAAE,MAAM;IACb,QAAQ,EAAE,IAAI;IACd,UAAU,EAAE,MAAM;IAClB,WAAW,EAAE,MAAM;IACnB,UAAU,EAAE,YAAY;IACxB,UAAU,EAAE,KAAK;CACjB,CAAC;AAEF,MAAM,KAAK,GAAwB;IAClC,QAAQ,EAAE,OAAO;IACjB,UAAU,EAAE,MAAM;CAClB,CAAC;AAEF,MAAM,KAAK,GAAwB;IAClC,eAAe,EAAE,OAAO;IACxB,SAAS,EAAE,EAAE;CACb,CAAC;AAEF,MAAM,SAAS,GAAwB;IACtC,UAAU,EAAE,CAAC;IACb,aAAa,EAAE,CAAC;IAChB,WAAW,EAAE,EAAE;IACf,YAAY,EAAE,EAAE;CAChB,CAAC;AAEK,MAAM,YAAY,GAEpB,CAAC,EAAC,OAAO,EAAC,EAAE,EAAE;IAClB,OAAO,CACN,+CAAK,KAAK,EAAE,SAAS,iBACpB,+CAAK,KAAK,EAAE,KAAK,iBACf,OAAO,CAAC,KAAK,CAAC,IAAI,QAAI,OAAO,CAAC,KAAK,CAAC,OAAO,aACvC,EACN,8CAAK,KAAK,EAAE,KAAK,gBACf,OAAO,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;;oBACjC,OAAO;oBACN,oDAAoD;oBACpD,+CAAa,KAAK,EAAE,SAAS,iBAC5B,0CAAM,CAAC,CAAC,YAAY,WAAO,EAC3B,4CACE,CAAC,CAAC,iBAAiB,OAAG,CAAC,CAAC,YAAY,YAChC,EACN,0CACE,MAAA,CAAC,CAAC,mBAAmB,0CAAE,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;oCACpC,OAAO,CACN,8CAGC,KAAK,EAAE;4CACN,UAAU,EAAE,WAAW;4CACvB,UAAU,EAAE,KAAK;4CACjB,OAAO,EAAE,CAAC;4CACV,KAAK,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS;yCACtC,gBAEA,CAAC,CAAC,OAAO,KARL,CAAC,CASD,CACN,CAAC;gCACH,CAAC,CAAC,WACG,MAtBG,CAAC,CAuBL,CACN,CAAC;gBACH,CAAC,CAAC,YACG,aACD,CACN,CAAC;AACH,CAAC,CAAC;AAzCW,QAAA,YAAY,gBAyCvB"}
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import { ErrorRecord } from './ErrorDisplay';
3
- declare type SetErrors = {
4
- setErrors: (errs: ErrorRecord[]) => void;
5
- };
6
- export declare const setErrorsRef: React.RefObject<SetErrors>;
7
- export declare const Overlay: React.FC;
8
- export {};
9
- //# sourceMappingURL=ErrorOverlay.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ErrorOverlay.d.ts","sourceRoot":"","sources":["../../../../src/editor/components/Errors/ErrorOverlay.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAEtE,OAAO,EAAe,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAEzD,aAAK,SAAS,GAAG;IAChB,SAAS,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,IAAI,CAAC;CACzC,CAAC;AAEF,eAAO,MAAM,YAAY,4BAAyB,CAAC;AAEnD,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAwB3B,CAAC"}
@@ -1,22 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Overlay = exports.setErrorsRef = void 0;
4
- const jsx_runtime_1 = require("react/jsx-runtime");
5
- const react_1 = require("react");
6
- const remotion_1 = require("remotion");
7
- const ErrorDisplay_1 = require("./ErrorDisplay");
8
- exports.setErrorsRef = (0, react_1.createRef)();
9
- const Overlay = () => {
10
- const [errors, setErrors] = (0, react_1.useState)([]);
11
- (0, react_1.useImperativeHandle)(exports.setErrorsRef, () => {
12
- return { setErrors };
13
- }, []);
14
- if (errors.length === 0) {
15
- return null;
16
- }
17
- return ((0, jsx_runtime_1.jsx)(remotion_1.AbsoluteFill, Object.assign({ style: { backgroundColor: '#1f2428', overflow: 'auto', color: 'white' } }, { children: errors.map((err) => {
18
- return (0, jsx_runtime_1.jsx)(ErrorDisplay_1.ErrorDisplay, { display: err }, err.error.stack);
19
- }) }), void 0));
20
- };
21
- exports.Overlay = Overlay;
22
- //# sourceMappingURL=ErrorOverlay.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ErrorOverlay.js","sourceRoot":"","sources":["../../../../src/editor/components/Errors/ErrorOverlay.tsx"],"names":[],"mappings":";;;;AAAA,iCAAsE;AACtE,uCAAsC;AACtC,iDAAyD;AAM5C,QAAA,YAAY,GAAG,IAAA,iBAAS,GAAa,CAAC;AAE5C,MAAM,OAAO,GAAa,GAAG,EAAE;IACrC,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,IAAA,gBAAQ,EAAgB,EAAE,CAAC,CAAC;IAExD,IAAA,2BAAmB,EAClB,oBAAY,EACZ,GAAG,EAAE;QACJ,OAAO,EAAC,SAAS,EAAC,CAAC;IACpB,CAAC,EACD,EAAE,CACF,CAAC;IAEF,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC,EAAE;QACxB,OAAO,IAAI,CAAC;KACZ;IAED,OAAO,CACN,uBAAC,uBAAY,kBACZ,KAAK,EAAE,EAAC,eAAe,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAC,gBAEpE,MAAM,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE;YACnB,OAAO,uBAAC,2BAAY,IAAuB,OAAO,EAAE,GAAG,IAA7B,GAAG,CAAC,KAAK,CAAC,KAAK,CAAkB,CAAC;QAC7D,CAAC,CAAC,YACY,CACf,CAAC;AACH,CAAC,CAAC;AAxBW,QAAA,OAAO,WAwBlB"}
@@ -1,46 +0,0 @@
1
- /**
2
- * Copyright (c) 2015-present, Facebook, Inc.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- */
7
- /** A container holding a script line. */
8
- export declare class ScriptLine {
9
- /** The line number of this line of source. */
10
- lineNumber: number;
11
- /** The content (or value) of this line of source. */
12
- content: string;
13
- /** Whether or not this line should be highlighted. Particularly useful for error reporting with context. */
14
- highlight: boolean;
15
- constructor(lineNumber: number, content: string, highlight?: boolean);
16
- }
17
- /**
18
- * A representation of a stack frame.
19
- */
20
- export declare class StackFrame {
21
- functionName: string | null;
22
- fileName: string | null;
23
- lineNumber: number | null;
24
- columnNumber: number | null;
25
- _originalFunctionName: string | null;
26
- _originalFileName: string | null;
27
- _originalLineNumber: number | null;
28
- _originalColumnNumber: number | null;
29
- _scriptCode: ScriptLine[] | null;
30
- _originalScriptCode: ScriptLine[] | null;
31
- constructor(functionName?: string | null, fileName?: string | null, lineNumber?: number | null, columnNumber?: number | null, scriptCode?: ScriptLine[] | null, sourceFunctionName?: string | null, sourceFileName?: string | null, sourceLineNumber?: number | null, sourceColumnNumber?: number | null, sourceScriptCode?: ScriptLine[] | null);
32
- /**
33
- * Returns the name of this function.
34
- */
35
- getFunctionName(): string;
36
- /**
37
- * Returns the source of the frame.
38
- * This contains the file name, line number, and column number when available.
39
- */
40
- getSource(): string;
41
- /**
42
- * Returns a pretty version of this stack frame.
43
- */
44
- toString(): string;
45
- }
46
- //# sourceMappingURL=stack-frame.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"stack-frame.d.ts","sourceRoot":"","sources":["../../../../src/editor/components/Errors/stack-frame.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,yCAAyC;AACzC,qBAAa,UAAU;IACtB,8CAA8C;IAC9C,UAAU,EAAE,MAAM,CAAC;IACnB,qDAAqD;IACrD,OAAO,EAAE,MAAM,CAAC;IAChB,4GAA4G;IAC5G,SAAS,EAAE,OAAO,CAAC;gBAEP,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,SAAS,UAAQ;CAKlE;AAED;;GAEG;AACH,qBAAa,UAAU;IACtB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B,qBAAqB,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,qBAAqB,EAAE,MAAM,GAAG,IAAI,CAAC;IAErC,WAAW,EAAE,UAAU,EAAE,GAAG,IAAI,CAAC;IACjC,mBAAmB,EAAE,UAAU,EAAE,GAAG,IAAI,CAAC;gBAIxC,YAAY,GAAE,MAAM,GAAG,IAAW,EAClC,QAAQ,GAAE,MAAM,GAAG,IAAW,EAC9B,UAAU,GAAE,MAAM,GAAG,IAAW,EAChC,YAAY,GAAE,MAAM,GAAG,IAAW,EAClC,UAAU,GAAE,UAAU,EAAE,GAAG,IAAW,EACtC,kBAAkB,GAAE,MAAM,GAAG,IAAW,EACxC,cAAc,GAAE,MAAM,GAAG,IAAW,EACpC,gBAAgB,GAAE,MAAM,GAAG,IAAW,EACtC,kBAAkB,GAAE,MAAM,GAAG,IAAW,EACxC,gBAAgB,GAAE,UAAU,EAAE,GAAG,IAAW;IAiC7C;;OAEG;IACH,eAAe,IAAI,MAAM;IAIzB;;;OAGG;IACH,SAAS,IAAI,MAAM;IAiBnB;;OAEG;IACH,QAAQ,IAAI,MAAM;CAKlB"}
@@ -1,82 +0,0 @@
1
- "use strict";
2
- /**
3
- * Copyright (c) 2015-present, Facebook, Inc.
4
- *
5
- * This source code is licensed under the MIT license found in the
6
- * LICENSE file in the root directory of this source tree.
7
- */
8
- Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.StackFrame = exports.ScriptLine = void 0;
10
- /** A container holding a script line. */
11
- class ScriptLine {
12
- constructor(lineNumber, content, highlight = false) {
13
- this.lineNumber = lineNumber;
14
- this.content = content;
15
- this.highlight = highlight;
16
- }
17
- }
18
- exports.ScriptLine = ScriptLine;
19
- /**
20
- * A representation of a stack frame.
21
- */
22
- class StackFrame {
23
- // eslint-disable-next-line max-params
24
- constructor(functionName = null, fileName = null, lineNumber = null, columnNumber = null, scriptCode = null, sourceFunctionName = null, sourceFileName = null, sourceLineNumber = null, sourceColumnNumber = null, sourceScriptCode = null) {
25
- if (functionName && functionName.indexOf('Object.') === 0) {
26
- functionName = functionName.slice('Object.'.length);
27
- }
28
- if (
29
- // Chrome has a bug with inferring function.name:
30
- // https://github.com/facebook/create-react-app/issues/2097
31
- // Let's ignore a meaningless name we get for top-level modules.
32
- functionName === 'friendlySyntaxErrorLabel' ||
33
- functionName === 'exports.__esModule' ||
34
- functionName === '<anonymous>' ||
35
- !functionName) {
36
- functionName = null;
37
- }
38
- this.functionName = functionName;
39
- this.fileName = fileName;
40
- this.lineNumber = lineNumber;
41
- this.columnNumber = columnNumber;
42
- this._originalFunctionName = sourceFunctionName;
43
- this._originalFileName = sourceFileName;
44
- this._originalLineNumber = sourceLineNumber;
45
- this._originalColumnNumber = sourceColumnNumber;
46
- this._scriptCode = scriptCode;
47
- this._originalScriptCode = sourceScriptCode;
48
- }
49
- /**
50
- * Returns the name of this function.
51
- */
52
- getFunctionName() {
53
- return this.functionName || '(anonymous function)';
54
- }
55
- /**
56
- * Returns the source of the frame.
57
- * This contains the file name, line number, and column number when available.
58
- */
59
- getSource() {
60
- let str = '';
61
- if (this.fileName !== null) {
62
- str += this.fileName + ':';
63
- }
64
- if (this.lineNumber !== null) {
65
- str += this.lineNumber + ':';
66
- }
67
- if (this.columnNumber !== null) {
68
- str += this.columnNumber + ':';
69
- }
70
- return str.slice(0, -1);
71
- }
72
- /**
73
- * Returns a pretty version of this stack frame.
74
- */
75
- toString() {
76
- const functionName = this.getFunctionName();
77
- const source = this.getSource();
78
- return `${functionName}${source ? ` (${source})` : ``}`;
79
- }
80
- }
81
- exports.StackFrame = StackFrame;
82
- //# sourceMappingURL=stack-frame.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"stack-frame.js","sourceRoot":"","sources":["../../../../src/editor/components/Errors/stack-frame.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,yCAAyC;AACzC,MAAa,UAAU;IAQtB,YAAY,UAAkB,EAAE,OAAe,EAAE,SAAS,GAAG,KAAK;QACjE,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC5B,CAAC;CACD;AAbD,gCAaC;AAED;;GAEG;AACH,MAAa,UAAU;IActB,sCAAsC;IACtC,YACC,eAA8B,IAAI,EAClC,WAA0B,IAAI,EAC9B,aAA4B,IAAI,EAChC,eAA8B,IAAI,EAClC,aAAkC,IAAI,EACtC,qBAAoC,IAAI,EACxC,iBAAgC,IAAI,EACpC,mBAAkC,IAAI,EACtC,qBAAoC,IAAI,EACxC,mBAAwC,IAAI;QAE5C,IAAI,YAAY,IAAI,YAAY,CAAC,OAAO,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE;YAC1D,YAAY,GAAG,YAAY,CAAC,KAAK,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;SACpD;QAED;QACC,iDAAiD;QACjD,2DAA2D;QAC3D,gEAAgE;QAChE,YAAY,KAAK,0BAA0B;YAC3C,YAAY,KAAK,oBAAoB;YACrC,YAAY,KAAK,aAAa;YAC9B,CAAC,YAAY,EACZ;YACD,YAAY,GAAG,IAAI,CAAC;SACpB;QAED,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QAEjC,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QAEjC,IAAI,CAAC,qBAAqB,GAAG,kBAAkB,CAAC;QAChD,IAAI,CAAC,iBAAiB,GAAG,cAAc,CAAC;QACxC,IAAI,CAAC,mBAAmB,GAAG,gBAAgB,CAAC;QAC5C,IAAI,CAAC,qBAAqB,GAAG,kBAAkB,CAAC;QAEhD,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC;QAC9B,IAAI,CAAC,mBAAmB,GAAG,gBAAgB,CAAC;IAC7C,CAAC;IAED;;OAEG;IACH,eAAe;QACd,OAAO,IAAI,CAAC,YAAY,IAAI,sBAAsB,CAAC;IACpD,CAAC;IAED;;;OAGG;IACH,SAAS;QACR,IAAI,GAAG,GAAG,EAAE,CAAC;QACb,IAAI,IAAI,CAAC,QAAQ,KAAK,IAAI,EAAE;YAC3B,GAAG,IAAI,IAAI,CAAC,QAAQ,GAAG,GAAG,CAAC;SAC3B;QAED,IAAI,IAAI,CAAC,UAAU,KAAK,IAAI,EAAE;YAC7B,GAAG,IAAI,IAAI,CAAC,UAAU,GAAG,GAAG,CAAC;SAC7B;QAED,IAAI,IAAI,CAAC,YAAY,KAAK,IAAI,EAAE;YAC/B,GAAG,IAAI,IAAI,CAAC,YAAY,GAAG,GAAG,CAAC;SAC/B;QAED,OAAO,GAAG,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;IACzB,CAAC;IAED;;OAEG;IACH,QAAQ;QACP,MAAM,YAAY,GAAG,IAAI,CAAC,eAAe,EAAE,CAAC;QAC5C,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,EAAE,CAAC;QAChC,OAAO,GAAG,YAAY,GAAG,MAAM,CAAC,CAAC,CAAC,KAAK,MAAM,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACzD,CAAC;CACD;AA9FD,gCA8FC"}
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- export declare const getCurrentCompositionFromUrl: () => string;
3
- export declare const FramePersistor: React.FC;
4
- //# sourceMappingURL=FramePersister.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FramePersister.d.ts","sourceRoot":"","sources":["../../../src/editor/components/FramePersister.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,eAAO,MAAM,4BAA4B,cAExC,CAAC;AAcF,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAWlC,CAAC"}