@remotion/studio 4.0.357 → 4.0.360
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-formatting.log +4 -0
- package/.turbo/turbo-lint.log +28 -0
- package/.turbo/turbo-make.log +2 -5
- package/dist/api/get-static-files.d.ts +1 -1
- package/dist/components/Timeline/LoopedIndicator.js +1 -1
- package/dist/components/Timeline/LoopedTimelineIndicators.js +6 -5
- package/dist/esm/{chunk-9b7dmaxn.js → chunk-j2wqjmwz.js} +24 -18
- package/dist/esm/{chunk-h26rhase.js → chunk-wc2c2x4m.js} +17 -11
- package/dist/esm/internals.mjs +16 -10
- package/dist/esm/previewEntry.mjs +16 -10
- package/dist/esm/renderEntry.mjs +2 -2
- package/package.json +92 -92
- package/tsconfig.tsbuildinfo +1 -1
- package/.turbo/turbo-test.log +0 -86
- package/LICENSE.md +0 -49
- package/dist/esm/chunk-4pe36a6v.js +0 -46840
- package/dist/esm/chunk-537k7w8j.js +0 -46766
- package/dist/esm/chunk-621t537e.js +0 -46761
- package/dist/esm/chunk-7ebekhek.js +0 -46772
- package/dist/esm/chunk-arzxf57z.js +0 -47030
- package/dist/esm/chunk-avss9483.js +0 -47028
- package/dist/esm/chunk-bcs5xcvy.js +0 -46764
- package/dist/esm/chunk-bgfkgcmg.js +0 -25
- package/dist/esm/chunk-cf4g1482.js +0 -25
- package/dist/esm/chunk-ckeskzn9.js +0 -46840
- package/dist/esm/chunk-ckv2bvaf.js +0 -46840
- package/dist/esm/chunk-ec8ke7ka.js +0 -47031
- package/dist/esm/chunk-genqsbxw.js +0 -46840
- package/dist/esm/chunk-gsv9zjt5.js +0 -47029
- package/dist/esm/chunk-h0d5z5fq.js +0 -46840
- package/dist/esm/chunk-jj18anfn.js +0 -46774
- package/dist/esm/chunk-jz78ytrt.js +0 -47027
- package/dist/esm/chunk-kdprv7ha.js +0 -46760
- package/dist/esm/chunk-qv5xwxwh.js +0 -46763
- package/dist/esm/chunk-r343ardc.js +0 -46773
- package/dist/esm/chunk-xnv9k83w.js +0 -46761
- package/dist/esm/chunk-z1myjaxv.js +0 -46764
- package/dist/esm/chunk-zjtmp09e.js +0 -46840
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
|
|
2
|
+
[0m[2m[35m$[0m [2m[1mprettier --experimental-cli src --check[0m
|
|
3
|
+
[?25l[1G[36m-[39m Checking formatting...[0K[1G[36m\[39m Checking formatting...[0K[1G[36m|[39m Checking formatting...[0K[1G[36m/[39m Checking formatting...[0K[1G[36m-[39m Checking formatting...[0K[1G[36m\[39m Checking formatting...[0K[1G[36m|[39m Checking formatting...[0K[1G[36m/[39m Checking formatting...[0K[1G[36m-[39m Checking formatting...[0K[1G[36m\[39m Checking formatting...[0K[1G[36m|[39m Checking formatting...[0K[1G[36m/[39m Checking formatting...[0K[1G[36m-[39m Checking formatting...[0K[1G[36m\[39m Checking formatting...[0K[1G[36m|[39m Checking formatting...[0K[1G[36m/[39m Checking formatting...[0K[1G[36m-[39m Checking formatting...[0K[1G[36m\[39m Checking formatting...[0K[1G[36m|[39m Checking formatting...[0K[1G[36m/[39m Checking formatting...[0K[1G[36m-[39m Checking formatting...[0K[1G[36m\[39m Checking formatting...[0K[1G[36m|[39m Checking formatting...[0K[1G[36m/[39m Checking formatting...[0K[1G[36m-[39m Checking formatting...[0K[1G[36m\[39m Checking formatting...[0K[1G[36m|[39m Checking formatting...[0K[1G[36m/[39m Checking formatting...[0K[1G[36m-[39m Checking formatting...[0K[1G[36m\[39m Checking formatting...[0K[1G[36m|[39m Checking formatting...[0K[1G[36m/[39m Checking formatting...[0K[1G[36m-[39m Checking formatting...[0K[1G[36m\[39m Checking formatting...[0K[1G[36m|[39m Checking formatting...[0K[1G[36m/[39m Checking formatting...[0K[1G[36m-[39m Checking formatting...[0K[1G[36m\[39m Checking formatting...[0K[1G[36m|[39m Checking formatting...[0K[1G[36m/[39m Checking formatting...[0K[1G[36m-[39m Checking formatting...[0K[1G[36m\[39m Checking formatting...[0K[1G[36m|[39m Checking formatting...[0K[1G[36m/[39m src/internals.ts[0K[1G[36m-[39m src/internals.ts[0K[1G[36m\[39m src/internals.ts[0K[1G[36m|[39m src/internals.ts[0K[1G[36m/[39m src/internals.ts[0K[1G[36m-[39m src/internals.ts[0K[1G[36m\[39m src/internals.ts[0K[1G[36m|[39m src/internals.ts[0K[1G[36m/[39m src/internals.ts[0K[1G[36m-[39m src/api/play.ts[0K[1G[36m\[39m src/api/play.ts[0K[1G[36m|[39m src/api/delete-static-file.ts[0K[1G[36m/[39m src/Studio.tsx[0K[1G[36m-[39m src/api/get-zod-schema-from-primitive.ts[0K[1G[36m\[39m src/api/write-static-file.ts[0K[1G[36m|[39m src/api/write-static-file.ts[0K[1G[36m/[39m src/api/write-static-file.ts[0K[1G[36m-[39m src/api/write-static-file.ts[0K[1G[36m\[39m src/api/write-static-file.ts[0K[1G[36m|[39m src/api/watch-static-file.ts[0K[1G[36m/[39m src/api/watch-static-file.ts[0K[1G[36m-[39m src/api/watch-static-file.ts[0K[1G[36m\[39m src/api/watch-static-file.ts[0K[1G[36m|[39m src/api/watch-static-file.ts[0K[1G[36m/[39m src/components/AskAiModal.tsx[0K[1G[36m-[39m src/components/AskAiModal.tsx[0K[1G[36m\[39m src/components/CheckboardToggle.tsx[0K[1G[36m|[39m src/components/CheckboardToggle.tsx[0K[1G[36m/[39m src/components/CheckboardToggle.tsx[0K[1G[36m-[39m src/api/seek.ts[0K[1G[36m\[39m src/api/update-default-props.ts[0K[1G[36m|[39m src/components/Checkbox.tsx[0K[1G[36m/[39m src/components/Checkbox.tsx[0K[1G[36m-[39m src/components/CanvasIfSizeIsAvailable.tsx[0K[1G[36m\[39m src/components/CanvasIfSizeIsAvailable.tsx[0K[1G[36m|[39m src/components/CanvasIfSizeIsAvailable.tsx[0K[1G[36m/[39m src/components/CanvasIfSizeIsAvailable.tsx[0K[1G[36m-[39m src/components/CopyButton.tsx[0K[1G[36m\[39m src/components/CopyButton.tsx[0K[1G[36m|[39m src/components/AssetSelector.tsx[0K[1G[36m/[39m src/components/CheckerboardProvider.tsx[0K[1G[36m-[39m src/components/EditorContent.tsx[0K[1G[36m\[39m src/components/ContextMenu.tsx[0K[1G[36m|[39m src/components/ContextMenu.tsx[0K[1G[36m/[39m src/components/CompSelectorRef.tsx[0K[1G[36m-[39m src/components/FramePersistor.tsx[0K[1G[36m\[39m src/components/GlobalKeybindings.tsx[0K[1G[36m|[39m src/components/ExplorerPanel.tsx[0K[1G[36m/[39m src/components/InitialCompositionLoader.tsx[0K[1G[36m-[39m src/components/InstallablePackage.tsx[0K[1G[36m\[39m src/components/Editor.tsx[0K[1G[36m|[39m src/components/FullscreenToggle.tsx[0K[1G[36m/[39m src/api/reevaluate-composition.ts[0K[1G[36m-[39m src/components/ModalFooter.tsx[0K[1G[36m\[39m src/components/MobilePanel.tsx[0K[1G[36m|[39m src/components/PlayBeepSound.tsx[0K[1G[36m/[39m src/components/NoRegisterRoot.tsx[0K[1G[36m-[39m src/components/PlaybackRateSelector.tsx[0K[1G[36m\[39m src/components/ShowRulersProvider.tsx[0K[1G[36m|[39m src/components/RenderPreview.tsx[0K[1G[36m/[39m src/components/TextViewer.tsx[0K[1G[36m-[39m src/components/PlayPause.tsx[0K[1G[36m\[39m src/components/PlayPause.tsx[0K[1G[36m|[39m src/components/RenderButton.tsx[0K[1G[36m/[39m src/error-overlay/entry-basic.ts[0K[1G[36m-[39m src/components/ZoomPersistor.tsx[0K[1G[36m\[39m src/helpers/calculate-timeline.ts[0K[1G[36m|[39m src/helpers/calculate-timeline.ts[0K[1G[36m/[39m src/components/load-canvas-content-from-url.ts[0K[1G[36m-[39m src/helpers/create-folder-tree.ts[0K[1G[36m\[39m src/helpers/copy-text.ts[0K[1G[36m|[39m src/helpers/get-timeline-nestedness.ts[0K[1G[36m/[39m src/components/TimelineInOutToggle.tsx[0K[1G[36m-[39m src/helpers/editor-ruler.ts[0K[1G[36m\[39m src/helpers/persist-open-folders.tsx[0K[1G[36m|[39m src/helpers/smooth-zoom.ts[0K[1G[36m/[39m src/helpers/use-max-media-duration.ts[0K[1G[36m-[39m src/helpers/use-file-existence.ts[0K[1G[36m\[39m src/helpers/noop.ts[0K[1G[36m|[39m src/icons/audio.tsx[0K[1G[36m/[39m src/helpers/validate-new-comp-data.ts[0K[1G[36m-[39m src/icons/render.tsx[0K[1G[36m\[39m src/state/input-dragger-click-lock.ts[0K[1G[36m|[39m src/state/keybindings.tsx[0K[1G[36m/[39m src/icons/plus.tsx[0K[1G[36m-[39m src/test/format-time.test.ts[0K[1G[36m\[39m src/test/color-math.test.ts[0K[1G[36m|[39m src/helpers/use-menu-structure.tsx[0K[1G[36m/[39m src/components/EditorRuler/use-is-ruler-visible.ts[0K[1G[36m-[39m src/components/EditorGuides/index.tsx[0K[1G[36m\[39m src/components/EditorGuides/index.tsx[0K[1G[36m|[39m src/state/modals.ts[0K[1G[36m/[39m src/components/Menu/portals.ts[0K[1G[36m-[39m src/components/NewComposition/DismissableModal.tsx[0K[1G[36m\[39m src/components/NewComposition/DiffPreview.tsx[0K[1G[36m|[39m src/components/NewComposition/DeleteComposition.tsx[0K[1G[36m/[39m src/components/NewComposition/InputDragger.tsx[0K[1G[36m-[39m src/components/Menu/MenuSubItem.tsx[0K[1G[36m\[39m src/components/Notifications/ServerDisconnected.tsx[0K[1G[36m|[39m src/components/NewComposition/RemInputTypeColor.tsx[0K[1G[36m/[39m src/components/NewComposition/RemInputTypeColor.tsx[0K[1G[36m-[39m src/components/NewComposition/render-aspect-ratio.tsx[0K[1G[36m\[39m src/components/QuickSwitcher/fuzzy-search.ts[0K[1G[36m|[39m src/components/QuickSwitcher/fuzzy-search.ts[0K[1G[36m/[39m src/components/NewComposition/ComboBox.tsx[0K[1G[36m-[39m src/components/RenderModal/CliCopyButton.tsx[0K[1G[36m\[39m src/components/RenderModal/EnforceAudioTrackSetting.tsx[0K[1G[36m|[39m src/components/RenderModal/FrameRangeSetting.tsx[0K[1G[36m/[39m src/components/RenderModal/FrameRangeSetting.tsx[0K[1G[36m-[39m src/components/RenderModal/NumberOfLoopsSetting.tsx[0K[1G[36m\[39m src/components/RenderModal/RenderModalGif.tsx[0K[1G[36m|[39m src/components/RenderModal/OptionExplainerBubble.tsx[0K[1G[36m/[39m src/components/RenderModal/OptionExplainer.tsx[0K[1G[36m-[39m src/components/RenderModal/RenderModalAdvanced.tsx[0K[1G[36m\[39m src/components/RenderModal/WarningIndicatorButton.tsx[0K[1G[36m|[39m src/components/RenderModal/RenderModalBasic.tsx[0K[1G[36m/[39m src/components/RenderModal/out-name-checker.ts[0K[1G[36m-[39m src/components/RenderModal/GuiRenderStatus.tsx[0K[1G[36m\[39m src/components/RenderModal/RenderModalJSONPropsEditor.tsx[0K[1G[36m|[39m src/components/RenderQueue/RenderQueueError.tsx[0K[1G[36m/[39m src/components/RenderQueue/RenderQueueOpenInFolder.tsx[0K[1G[36m-[39m src/components/RenderQueue/item-style.ts[0K[1G[36m\[39m src/components/Splitter/SplitterContext.tsx[0K[1G[36m|[39m src/components/Splitter/SplitterContext.tsx[0K[1G[36m/[39m src/components/Splitter/SplitterContext.tsx[0K[1G[36m-[39m src/components/Timeline/LoopedIndicator.tsx[0K[1G[36m\[39m src/components/Timeline/MaxTimelineTracks.tsx[0K[1G[36m|[39m src/components/Timeline/TimelineList.tsx[0K[1G[36m/[39m src/components/Tabs/vertical.tsx[0K[1G[36m-[39m src/components/Timeline/TimelineTracks.tsx[0K[1G[36m\[39m src/components/Timeline/imperative-state.ts[0K[1G[36m|[39m src/components/UpdateModal/OpenIssueButton.tsx[0K[1G[36m/[39m src/components/Timeline/is-collapsed.ts[0K[1G[36m-[39m src/components/WebRender/TriggerWebRender.tsx[0K[1G[36m\[39m src/components/VisualControls/get-original-stack-trace.ts[0K[1G[36m|[39m src/components/Timeline/TimelineTimeIndicators.tsx[0K[1G[36m/[39m src/components/Timeline/TimelineVideoInfo.tsx[0K[1G[36m-[39m src/error-overlay/react-overlay/listen-to-runtime-errors.ts[0K[1G[36m\[39m src/error-overlay/remotion-overlay/Retry.tsx[0K[1G[36m|[39m src/error-overlay/remotion-overlay/format-location.ts[0K[1G[36m/[39m src/error-overlay/remotion-overlay/get-help-link.ts[0K[1G[36m-[39m src/components/RenderModal/SchemaEditor/SchemaLabel.tsx[0K[1G[36m\[39m src/components/RenderModal/SchemaEditor/SchemaErrorMessages.tsx[0K[1G[36m|[39m src/components/Timeline/TimelineDragHandler.tsx[0K[1G[36m/[39m src/components/RenderModal/SchemaEditor/Fieldset.tsx[0K[1G[36m-[39m src/error-overlay/remotion-overlay/ErrorMessage.tsx[0K[1G[36m\[39m src/components/VisualControls/VisualControlHandle.tsx[0K[1G[36m|[39m src/components/RenderModal/SchemaEditor/SchemaVerticalGuide.tsx[0K[1G[36m/[39m src/components/RenderModal/SchemaEditor/ZodFieldValidation.tsx[0K[1G[36m-[39m src/components/RenderModal/SchemaEditor/ZodNonEditableValue.tsx[0K[1G[36m\[39m src/components/RenderModal/SchemaEditor/ZodNonEditableValue.tsx[0K[1G[36m|[39m src/components/RenderModal/SchemaEditor/ZodTupleItemEditor.tsx[0K[1G[36m/[39m src/components/RenderModal/SchemaEditor/deep-equal.ts[0K[1G[36m-[39m src/components/RenderModal/SchemaEditor/scroll-to-default-props-path.ts[0K[1G[36m\[39m src/components/RenderModal/SchemaEditor/ZodStaticFileEditor.tsx[0K[1G[36m|[39m src/components/RenderModal/SchemaEditor/ZodObjectEditor.tsx[0K[1G[36m/[39m src/components/RenderModal/SchemaEditor/local-state.tsx[0K[1G[36m-[39m src/error-overlay/react-overlay/utils/get-stack-frames.ts[0K[1G[36m\[39m src/components/RenderModal/SchemaEditor/ZodUnionEditor.tsx[0K[1G[36m|[39m src/components/RenderModal/SchemaEditor/create-zod-values.ts[0K[1G[36m/[39m src/error-overlay/react-overlay/utils/parser.ts[0K[1G[36m-[39m src/error-overlay/react-overlay/utils/parser.ts[0K[1G[36m\[39m src/components/RenderModal/SchemaEditor/ZodSwitch.tsx[0K[?25h[1GChecking formatting...[0K
|
|
4
|
+
[?25hAll matched files use Prettier code style!
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
|
|
2
|
+
[0m[2m[35m$[0m [2m[1meslint src[0m
|
|
3
|
+
=============
|
|
4
|
+
|
|
5
|
+
WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree.
|
|
6
|
+
|
|
7
|
+
You may find that it works just fine, or you may not.
|
|
8
|
+
|
|
9
|
+
SUPPORTED TYPESCRIPT VERSIONS: >=4.7.4 <5.7.0
|
|
10
|
+
|
|
11
|
+
YOUR TYPESCRIPT VERSION: 5.8.2
|
|
12
|
+
|
|
13
|
+
Please only submit bug reports when using the officially supported version.
|
|
14
|
+
|
|
15
|
+
=============
|
|
16
|
+
[0m[0m
|
|
17
|
+
[0m[4m/Users/jonathanburger/remotion/packages/studio/src/components/QuickSwitcher/fuzzy-search.ts[24m[0m
|
|
18
|
+
[0m [2m23:3[22m [33mwarning[39m Unused eslint-disable directive (no problems were reported from 'no-bitwise')[0m
|
|
19
|
+
[0m[0m
|
|
20
|
+
[0m[4m/Users/jonathanburger/remotion/packages/studio/src/error-overlay/react-overlay/utils/get-source-map.ts[24m[0m
|
|
21
|
+
[0m [2m54:1[22m [33mwarning[39m Unexpected 'todo' comment: 'TODO: Can import this from...' [2mno-warning-comments[22m[0m
|
|
22
|
+
[0m[0m
|
|
23
|
+
[0m[4m/Users/jonathanburger/remotion/packages/studio/src/visual-controls/get-current-edited-value.ts[24m[0m
|
|
24
|
+
[0m [2m10:2[22m [33mwarning[39m Unexpected 'todo' comment: 'TODO: What if z.null()' [2mno-warning-comments[22m[0m
|
|
25
|
+
[0m[0m
|
|
26
|
+
[0m[33m[1m✖ 3 problems (0 errors, 3 warnings)[22m[39m[0m
|
|
27
|
+
[0m[33m[1m[22m[39m[33m[1m 0 errors and 1 warning potentially fixable with the `--fix` option.[22m[39m[0m
|
|
28
|
+
[0m[33m[1m[22m[39m[0m
|
package/.turbo/turbo-make.log
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
> tsc -d && bun --env-file=../.env.bundle bundle.ts
|
|
5
|
-
|
|
6
|
-
[0m[2m[[1m55.83ms[0m[2m][0m Generated.
|
|
2
|
+
[0m[2m[35m$[0m [2m[1mtsc -d && bun --env-file=../.env.bundle bundle.ts[0m
|
|
3
|
+
[0m[2m[[1m52.83ms[0m[2m][0m Generated.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const getStaticFiles: () => StaticFile[];
|
|
2
2
|
export type StaticFile = {
|
|
3
3
|
/**
|
|
4
|
-
* A string that you can pass to the `src` attribute of an `<Audio>`, `<Img>`
|
|
4
|
+
* A string that you can pass to the `src` attribute of an `<Audio>`, `<Img>`, `<Video>`, `<Html5Audio>`, `<Html5Video>` or `<OffthreadVideo>` element.
|
|
5
5
|
*/
|
|
6
6
|
src: string;
|
|
7
7
|
/**
|
|
@@ -13,10 +13,11 @@ const row = {
|
|
|
13
13
|
flexDirection: 'row',
|
|
14
14
|
};
|
|
15
15
|
const LoopedTimelineIndicator = ({ loops }) => {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
16
|
+
const leftOver = loops % 1;
|
|
17
|
+
return ((0, jsx_runtime_1.jsxs)(remotion_1.AbsoluteFill, { style: row, children: [new Array(Math.floor(loops)).fill(true).map((_l, i) => {
|
|
18
|
+
return ((0, jsx_runtime_1.jsxs)(react_1.default.Fragment
|
|
19
|
+
// eslint-disable-next-line
|
|
20
|
+
, { children: [(0, jsx_runtime_1.jsx)(layout_1.Flex, {}), i === loops - 1 ? null : (0, jsx_runtime_1.jsx)(LoopedIndicator_1.LoopedIndicator, {})] }, i));
|
|
21
|
+
}), leftOver > 0 ? (0, jsx_runtime_1.jsx)("div", { style: { flex: leftOver } }) : null] }));
|
|
21
22
|
};
|
|
22
23
|
exports.LoopedTimelineIndicator = LoopedTimelineIndicator;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__require,
|
|
3
3
|
__toESM
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-6jf1natv.js";
|
|
5
5
|
|
|
6
6
|
// src/Studio.tsx
|
|
7
7
|
import { useLayoutEffect as useLayoutEffect2 } from "react";
|
|
@@ -15976,6 +15976,7 @@ var makeRetryPayload = (job) => {
|
|
|
15976
15976
|
initialConcurrency: defaults.concurrency,
|
|
15977
15977
|
maxConcurrency: defaults.maxConcurrency,
|
|
15978
15978
|
minConcurrency: defaults.minConcurrency,
|
|
15979
|
+
initialHeadless: job.chromiumOptions.headless,
|
|
15979
15980
|
initialMuted: defaults.muted,
|
|
15980
15981
|
initialEnforceAudioTrack: defaults.enforceAudioTrack,
|
|
15981
15982
|
initialProResProfile: defaults.proResProfile,
|
|
@@ -15989,7 +15990,6 @@ var makeRetryPayload = (job) => {
|
|
|
15989
15990
|
initialEnvVariables: job.envVariables,
|
|
15990
15991
|
initialDisableWebSecurity: job.chromiumOptions.disableWebSecurity,
|
|
15991
15992
|
initialOpenGlRenderer: job.chromiumOptions.gl,
|
|
15992
|
-
initialHeadless: job.chromiumOptions.headless,
|
|
15993
15993
|
initialIgnoreCertificateErrors: job.chromiumOptions.ignoreCertificateErrors,
|
|
15994
15994
|
defaultProps: NoReactInternals11.deserializeJSONWithSpecialTypes(job.serializedInputPropsWithCustomSchema),
|
|
15995
15995
|
initialStillImageFormat: defaults.stillImageFormat,
|
|
@@ -16040,8 +16040,8 @@ var makeRetryPayload = (job) => {
|
|
|
16040
16040
|
initialEnvVariables: job.envVariables,
|
|
16041
16041
|
initialDisableWebSecurity: job.chromiumOptions.disableWebSecurity,
|
|
16042
16042
|
initialOpenGlRenderer: job.chromiumOptions.gl,
|
|
16043
|
-
initialHeadless: job.chromiumOptions.headless,
|
|
16044
16043
|
initialIgnoreCertificateErrors: job.chromiumOptions.ignoreCertificateErrors,
|
|
16044
|
+
initialHeadless: job.chromiumOptions.headless,
|
|
16045
16045
|
defaultProps: NoReactInternals11.deserializeJSONWithSpecialTypes(job.serializedInputPropsWithCustomSchema),
|
|
16046
16046
|
inFrameMark: job.startFrame,
|
|
16047
16047
|
outFrameMark: job.endFrame,
|
|
@@ -38095,7 +38095,7 @@ var useMaxMediaDuration = (s, fps) => {
|
|
|
38095
38095
|
const durationOrInfinity = metadata.durationInSeconds ?? Infinity;
|
|
38096
38096
|
cache.set(src, Math.floor(durationOrInfinity * fps));
|
|
38097
38097
|
setMaxMediaDuration(Math.floor(durationOrInfinity * fps));
|
|
38098
|
-
});
|
|
38098
|
+
}).catch(() => {});
|
|
38099
38099
|
});
|
|
38100
38100
|
return () => {
|
|
38101
38101
|
try {
|
|
@@ -38277,7 +38277,7 @@ import { AbsoluteFill as AbsoluteFill4 } from "remotion";
|
|
|
38277
38277
|
import { AbsoluteFill as AbsoluteFill3 } from "remotion";
|
|
38278
38278
|
import { jsx as jsx198, jsxs as jsxs95 } from "react/jsx-runtime";
|
|
38279
38279
|
var width = {
|
|
38280
|
-
width:
|
|
38280
|
+
width: 0,
|
|
38281
38281
|
flexDirection: "row",
|
|
38282
38282
|
display: "flex",
|
|
38283
38283
|
position: "relative"
|
|
@@ -38347,16 +38347,22 @@ var row6 = {
|
|
|
38347
38347
|
flexDirection: "row"
|
|
38348
38348
|
};
|
|
38349
38349
|
var LoopedTimelineIndicator = ({ loops }) => {
|
|
38350
|
-
|
|
38350
|
+
const leftOver = loops % 1;
|
|
38351
|
+
return /* @__PURE__ */ jsxs96(AbsoluteFill4, {
|
|
38351
38352
|
style: row6,
|
|
38352
|
-
children:
|
|
38353
|
-
|
|
38354
|
-
|
|
38355
|
-
|
|
38356
|
-
|
|
38357
|
-
|
|
38358
|
-
|
|
38359
|
-
|
|
38353
|
+
children: [
|
|
38354
|
+
new Array(Math.floor(loops)).fill(true).map((_l, i) => {
|
|
38355
|
+
return /* @__PURE__ */ jsxs96(React136.Fragment, {
|
|
38356
|
+
children: [
|
|
38357
|
+
/* @__PURE__ */ jsx199(Flex, {}),
|
|
38358
|
+
i === loops - 1 ? null : /* @__PURE__ */ jsx199(LoopedIndicator, {})
|
|
38359
|
+
]
|
|
38360
|
+
}, i);
|
|
38361
|
+
}),
|
|
38362
|
+
leftOver > 0 ? /* @__PURE__ */ jsx199("div", {
|
|
38363
|
+
style: { flex: leftOver }
|
|
38364
|
+
}) : null
|
|
38365
|
+
]
|
|
38360
38366
|
});
|
|
38361
38367
|
};
|
|
38362
38368
|
|
|
@@ -44791,20 +44797,20 @@ var RenderModal = ({
|
|
|
44791
44797
|
const [userAgent, setUserAgent] = useState78(() => initialUserAgent === null ? null : initialUserAgent.trim() === "" ? null : initialUserAgent);
|
|
44792
44798
|
const chromiumOptions = useMemo126(() => {
|
|
44793
44799
|
return {
|
|
44794
|
-
headless,
|
|
44795
44800
|
disableWebSecurity,
|
|
44796
44801
|
ignoreCertificateErrors,
|
|
44797
44802
|
gl: openGlOption === "default" ? null : openGlOption,
|
|
44798
44803
|
userAgent: userAgent === null ? null : userAgent.trim() === "" ? null : userAgent,
|
|
44799
|
-
enableMultiProcessOnLinux: multiProcessOnLinux
|
|
44804
|
+
enableMultiProcessOnLinux: multiProcessOnLinux,
|
|
44805
|
+
headless
|
|
44800
44806
|
};
|
|
44801
44807
|
}, [
|
|
44802
|
-
headless,
|
|
44803
44808
|
disableWebSecurity,
|
|
44804
44809
|
ignoreCertificateErrors,
|
|
44805
44810
|
openGlOption,
|
|
44806
44811
|
userAgent,
|
|
44807
|
-
multiProcessOnLinux
|
|
44812
|
+
multiProcessOnLinux,
|
|
44813
|
+
headless
|
|
44808
44814
|
]);
|
|
44809
44815
|
const [outName, setOutName] = useState78(() => initialOutName);
|
|
44810
44816
|
const [endFrameOrNull, setEndFrame] = useState78(() => outFrameMark ?? null);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__require,
|
|
3
3
|
__toESM
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-6jf1natv.js";
|
|
5
5
|
|
|
6
6
|
// src/Studio.tsx
|
|
7
7
|
import { useLayoutEffect as useLayoutEffect2 } from "react";
|
|
@@ -38277,7 +38277,7 @@ import { AbsoluteFill as AbsoluteFill4 } from "remotion";
|
|
|
38277
38277
|
import { AbsoluteFill as AbsoluteFill3 } from "remotion";
|
|
38278
38278
|
import { jsx as jsx198, jsxs as jsxs95 } from "react/jsx-runtime";
|
|
38279
38279
|
var width = {
|
|
38280
|
-
width:
|
|
38280
|
+
width: 0,
|
|
38281
38281
|
flexDirection: "row",
|
|
38282
38282
|
display: "flex",
|
|
38283
38283
|
position: "relative"
|
|
@@ -38347,16 +38347,22 @@ var row6 = {
|
|
|
38347
38347
|
flexDirection: "row"
|
|
38348
38348
|
};
|
|
38349
38349
|
var LoopedTimelineIndicator = ({ loops }) => {
|
|
38350
|
-
|
|
38350
|
+
const leftOver = loops % 1;
|
|
38351
|
+
return /* @__PURE__ */ jsxs96(AbsoluteFill4, {
|
|
38351
38352
|
style: row6,
|
|
38352
|
-
children:
|
|
38353
|
-
|
|
38354
|
-
|
|
38355
|
-
|
|
38356
|
-
|
|
38357
|
-
|
|
38358
|
-
|
|
38359
|
-
|
|
38353
|
+
children: [
|
|
38354
|
+
new Array(Math.floor(loops)).fill(true).map((_l, i) => {
|
|
38355
|
+
return /* @__PURE__ */ jsxs96(React136.Fragment, {
|
|
38356
|
+
children: [
|
|
38357
|
+
/* @__PURE__ */ jsx199(Flex, {}),
|
|
38358
|
+
i === loops - 1 ? null : /* @__PURE__ */ jsx199(LoopedIndicator, {})
|
|
38359
|
+
]
|
|
38360
|
+
}, i);
|
|
38361
|
+
}),
|
|
38362
|
+
leftOver > 0 ? /* @__PURE__ */ jsx199("div", {
|
|
38363
|
+
style: { flex: leftOver }
|
|
38364
|
+
}) : null
|
|
38365
|
+
]
|
|
38360
38366
|
});
|
|
38361
38367
|
};
|
|
38362
38368
|
|
package/dist/esm/internals.mjs
CHANGED
|
@@ -38296,7 +38296,7 @@ import { AbsoluteFill as AbsoluteFill4 } from "remotion";
|
|
|
38296
38296
|
import { AbsoluteFill as AbsoluteFill3 } from "remotion";
|
|
38297
38297
|
import { jsx as jsx198, jsxs as jsxs95 } from "react/jsx-runtime";
|
|
38298
38298
|
var width = {
|
|
38299
|
-
width:
|
|
38299
|
+
width: 0,
|
|
38300
38300
|
flexDirection: "row",
|
|
38301
38301
|
display: "flex",
|
|
38302
38302
|
position: "relative"
|
|
@@ -38366,16 +38366,22 @@ var row6 = {
|
|
|
38366
38366
|
flexDirection: "row"
|
|
38367
38367
|
};
|
|
38368
38368
|
var LoopedTimelineIndicator = ({ loops }) => {
|
|
38369
|
-
|
|
38369
|
+
const leftOver = loops % 1;
|
|
38370
|
+
return /* @__PURE__ */ jsxs96(AbsoluteFill4, {
|
|
38370
38371
|
style: row6,
|
|
38371
|
-
children:
|
|
38372
|
-
|
|
38373
|
-
|
|
38374
|
-
|
|
38375
|
-
|
|
38376
|
-
|
|
38377
|
-
|
|
38378
|
-
|
|
38372
|
+
children: [
|
|
38373
|
+
new Array(Math.floor(loops)).fill(true).map((_l, i) => {
|
|
38374
|
+
return /* @__PURE__ */ jsxs96(React136.Fragment, {
|
|
38375
|
+
children: [
|
|
38376
|
+
/* @__PURE__ */ jsx199(Flex, {}),
|
|
38377
|
+
i === loops - 1 ? null : /* @__PURE__ */ jsx199(LoopedIndicator, {})
|
|
38378
|
+
]
|
|
38379
|
+
}, i);
|
|
38380
|
+
}),
|
|
38381
|
+
leftOver > 0 ? /* @__PURE__ */ jsx199("div", {
|
|
38382
|
+
style: { flex: leftOver }
|
|
38383
|
+
}) : null
|
|
38384
|
+
]
|
|
38379
38385
|
});
|
|
38380
38386
|
};
|
|
38381
38387
|
|
|
@@ -38576,7 +38576,7 @@ import { AbsoluteFill as AbsoluteFill5 } from "remotion";
|
|
|
38576
38576
|
import { AbsoluteFill as AbsoluteFill4 } from "remotion";
|
|
38577
38577
|
import { jsx as jsx199, jsxs as jsxs95 } from "react/jsx-runtime";
|
|
38578
38578
|
var width = {
|
|
38579
|
-
width:
|
|
38579
|
+
width: 0,
|
|
38580
38580
|
flexDirection: "row",
|
|
38581
38581
|
display: "flex",
|
|
38582
38582
|
position: "relative"
|
|
@@ -38646,16 +38646,22 @@ var row6 = {
|
|
|
38646
38646
|
flexDirection: "row"
|
|
38647
38647
|
};
|
|
38648
38648
|
var LoopedTimelineIndicator = ({ loops }) => {
|
|
38649
|
-
|
|
38649
|
+
const leftOver = loops % 1;
|
|
38650
|
+
return /* @__PURE__ */ jsxs96(AbsoluteFill5, {
|
|
38650
38651
|
style: row6,
|
|
38651
|
-
children:
|
|
38652
|
-
|
|
38653
|
-
|
|
38654
|
-
|
|
38655
|
-
|
|
38656
|
-
|
|
38657
|
-
|
|
38658
|
-
|
|
38652
|
+
children: [
|
|
38653
|
+
new Array(Math.floor(loops)).fill(true).map((_l, i) => {
|
|
38654
|
+
return /* @__PURE__ */ jsxs96(React137.Fragment, {
|
|
38655
|
+
children: [
|
|
38656
|
+
/* @__PURE__ */ jsx200(Flex, {}),
|
|
38657
|
+
i === loops - 1 ? null : /* @__PURE__ */ jsx200(LoopedIndicator, {})
|
|
38658
|
+
]
|
|
38659
|
+
}, i);
|
|
38660
|
+
}),
|
|
38661
|
+
leftOver > 0 ? /* @__PURE__ */ jsx200("div", {
|
|
38662
|
+
style: { flex: leftOver }
|
|
38663
|
+
}) : null
|
|
38664
|
+
]
|
|
38659
38665
|
});
|
|
38660
38666
|
};
|
|
38661
38667
|
|
package/dist/esm/renderEntry.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__require,
|
|
3
3
|
__toESM
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-6jf1natv.js";
|
|
5
5
|
|
|
6
6
|
// src/renderEntry.tsx
|
|
7
7
|
import { useContext, useEffect, useRef, useState } from "react";
|
|
@@ -185,7 +185,7 @@ var renderContent = (Root) => {
|
|
|
185
185
|
renderToDOM(/* @__PURE__ */ jsx("div", {
|
|
186
186
|
children: /* @__PURE__ */ jsx(DelayedSpinner, {})
|
|
187
187
|
}));
|
|
188
|
-
import("./chunk-
|
|
188
|
+
import("./chunk-wc2c2x4m.js").then(({ StudioInternals }) => {
|
|
189
189
|
window.remotion_isStudio = true;
|
|
190
190
|
window.remotion_isReadOnlyStudio = true;
|
|
191
191
|
Internals.enableSequenceStackTraces();
|
package/package.json
CHANGED
|
@@ -1,93 +1,93 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
}
|
|
2
|
+
"repository": {
|
|
3
|
+
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/studio"
|
|
4
|
+
},
|
|
5
|
+
"name": "@remotion/studio",
|
|
6
|
+
"version": "4.0.360",
|
|
7
|
+
"description": "APIs for interacting with the Remotion Studio",
|
|
8
|
+
"main": "dist",
|
|
9
|
+
"sideEffects": false,
|
|
10
|
+
"scripts": {
|
|
11
|
+
"lint": "eslint src",
|
|
12
|
+
"make": "tsc -d && bun --env-file=../.env.bundle bundle.ts",
|
|
13
|
+
"test": "bun test src",
|
|
14
|
+
"formatting": "prettier --experimental-cli src --check"
|
|
15
|
+
},
|
|
16
|
+
"author": "Jonny Burger <jonny@remotion.dev>",
|
|
17
|
+
"contributors": [],
|
|
18
|
+
"license": "MIT",
|
|
19
|
+
"bugs": {
|
|
20
|
+
"url": "https://github.com/remotion-dev/remotion/issues"
|
|
21
|
+
},
|
|
22
|
+
"peerDependencies": {
|
|
23
|
+
"react": ">=16.8.0",
|
|
24
|
+
"react-dom": ">=16.8.0"
|
|
25
|
+
},
|
|
26
|
+
"dependencies": {
|
|
27
|
+
"semver": "7.5.3",
|
|
28
|
+
"remotion": "4.0.359",
|
|
29
|
+
"@remotion/player": "4.0.359",
|
|
30
|
+
"@remotion/media-utils": "4.0.359",
|
|
31
|
+
"@remotion/media-parser": "4.0.359",
|
|
32
|
+
"@remotion/renderer": "4.0.359",
|
|
33
|
+
"@remotion/web-renderer": "4.0.359",
|
|
34
|
+
"@remotion/studio-shared": "4.0.359",
|
|
35
|
+
"@remotion/webcodecs": "4.0.359",
|
|
36
|
+
"@remotion/zod-types": "4.0.359",
|
|
37
|
+
"memfs": "3.4.3",
|
|
38
|
+
"source-map": "0.7.3",
|
|
39
|
+
"open": "^8.4.2",
|
|
40
|
+
"zod": "3.22.3"
|
|
41
|
+
},
|
|
42
|
+
"devDependencies": {
|
|
43
|
+
"react": "19.0.0",
|
|
44
|
+
"react-dom": "19.0.0",
|
|
45
|
+
"@types/semver": "^7.3.4",
|
|
46
|
+
"@remotion/eslint-config-internal": "4.0.359",
|
|
47
|
+
"eslint": "9.19.0"
|
|
48
|
+
},
|
|
49
|
+
"publishConfig": {
|
|
50
|
+
"access": "public"
|
|
51
|
+
},
|
|
52
|
+
"exports": {
|
|
53
|
+
"./package.json": "./package.json",
|
|
54
|
+
".": {
|
|
55
|
+
"types": "./dist/index.d.ts",
|
|
56
|
+
"require": "./dist/index.js",
|
|
57
|
+
"module": "./dist/esm/index.mjs",
|
|
58
|
+
"import": "./dist/esm/index.mjs"
|
|
59
|
+
},
|
|
60
|
+
"./renderEntry": {
|
|
61
|
+
"types": "./dist/renderEntry.d.ts",
|
|
62
|
+
"require": "./dist/renderEntry.js",
|
|
63
|
+
"module": "./dist/esm/renderEntry.mjs",
|
|
64
|
+
"import": "./dist/esm/renderEntry.mjs"
|
|
65
|
+
},
|
|
66
|
+
"./internals": {
|
|
67
|
+
"types": "./dist/internals.d.ts",
|
|
68
|
+
"require": "./dist/internals.js",
|
|
69
|
+
"module": "./dist/esm/internals.mjs",
|
|
70
|
+
"import": "./dist/esm/internals.mjs"
|
|
71
|
+
},
|
|
72
|
+
"./previewEntry": {
|
|
73
|
+
"types": "./dist/previewEntry.d.ts",
|
|
74
|
+
"require": "./dist/previewEntry.js",
|
|
75
|
+
"module": "./dist/esm/previewEntry.mjs",
|
|
76
|
+
"import": "./dist/esm/previewEntry.mjs"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"homepage": "https://www.remotion.dev/docs/studio/api",
|
|
80
|
+
"typesVersions": {
|
|
81
|
+
">=1.0": {
|
|
82
|
+
"renderEntry": [
|
|
83
|
+
"./dist/renderEntry.d.ts"
|
|
84
|
+
],
|
|
85
|
+
"internals": [
|
|
86
|
+
"./dist/internals.d.ts"
|
|
87
|
+
],
|
|
88
|
+
"previewEntry": [
|
|
89
|
+
"./dist/previewEntry.d.ts"
|
|
90
|
+
]
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|