@remotion/cli 3.2.21 → 3.2.23-ensure-ffmpeg.123
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/LICENSE.md +8 -8
- package/dist/ansi/ansi-diff.d.ts +0 -0
- package/dist/ansi/ansi-diff.js +0 -0
- package/dist/ansi/ansi-regex.d.ts +0 -0
- package/dist/ansi/ansi-regex.js +0 -0
- package/dist/ansi/ansi-split.d.ts +0 -0
- package/dist/ansi/ansi-split.js +0 -0
- package/dist/benchmark.d.ts +1 -0
- package/dist/benchmark.js +186 -0
- package/dist/chalk/index.d.ts +0 -0
- package/dist/chalk/index.js +0 -0
- package/dist/code-frame.d.ts +0 -0
- package/dist/code-frame.js +0 -0
- package/dist/composition-prompts.d.ts +8 -0
- package/dist/composition-prompts.js +26 -0
- package/dist/compositions.d.ts +1 -1
- package/dist/compositions.js +7 -4
- package/dist/config/bitrate.d.ts +4 -0
- package/dist/config/bitrate.js +21 -0
- package/dist/config/browser-executable.d.ts +0 -0
- package/dist/config/browser-executable.js +0 -0
- package/dist/config/browser.d.ts +0 -0
- package/dist/config/browser.js +0 -0
- package/dist/config/chromium-flags.d.ts +0 -0
- package/dist/config/chromium-flags.js +0 -0
- package/dist/config/codec.d.ts +0 -0
- package/dist/config/codec.js +0 -0
- package/dist/config/concurrency.d.ts +0 -0
- package/dist/config/concurrency.js +0 -0
- package/dist/config/crf.d.ts +1 -2
- package/dist/config/crf.js +1 -9
- package/dist/config/enforce-audio-track.d.ts +0 -0
- package/dist/config/enforce-audio-track.js +0 -0
- package/dist/config/entry-point.d.ts +2 -0
- package/dist/config/entry-point.js +12 -0
- package/dist/config/env-file.d.ts +0 -0
- package/dist/config/env-file.js +0 -0
- package/dist/config/every-nth-frame.d.ts +1 -2
- package/dist/config/every-nth-frame.js +3 -11
- package/dist/config/ffmpeg-executable.d.ts +0 -0
- package/dist/config/ffmpeg-executable.js +0 -0
- package/dist/config/ffmpeg-override.d.ts +3 -0
- package/dist/config/ffmpeg-override.js +12 -0
- package/dist/config/frame-range.d.ts +0 -0
- package/dist/config/frame-range.js +0 -0
- package/dist/config/height.d.ts +2 -0
- package/dist/config/height.js +15 -0
- package/dist/config/image-format.d.ts +0 -0
- package/dist/config/image-format.js +8 -1
- package/dist/config/image-sequence.d.ts +0 -0
- package/dist/config/image-sequence.js +0 -0
- package/dist/config/index.d.ts +12 -4
- package/dist/config/index.js +26 -12
- package/dist/config/keyboard-shortcuts.d.ts +0 -0
- package/dist/config/keyboard-shortcuts.js +0 -0
- package/dist/config/log.d.ts +0 -0
- package/dist/config/log.js +0 -0
- package/dist/config/max-timeline-tracks.d.ts +0 -0
- package/dist/config/max-timeline-tracks.js +0 -0
- package/dist/config/muted.d.ts +0 -0
- package/dist/config/muted.js +0 -0
- package/dist/config/number-of-gif-loops.d.ts +1 -2
- package/dist/config/number-of-gif-loops.js +3 -9
- package/dist/config/output-location.d.ts +0 -0
- package/dist/config/output-location.js +0 -0
- package/dist/config/override-webpack.d.ts +0 -0
- package/dist/config/override-webpack.js +0 -0
- package/dist/config/overwrite.d.ts +3 -1
- package/dist/config/overwrite.js +2 -3
- package/dist/config/pixel-format.d.ts +0 -0
- package/dist/config/pixel-format.js +0 -0
- package/dist/config/preview-server.d.ts +0 -0
- package/dist/config/preview-server.js +0 -0
- package/dist/config/prores-profile.d.ts +0 -0
- package/dist/config/prores-profile.js +0 -0
- package/dist/config/public-dir.d.ts +0 -0
- package/dist/config/public-dir.js +0 -0
- package/dist/config/quality.d.ts +0 -0
- package/dist/config/quality.js +0 -0
- package/dist/config/scale.d.ts +0 -0
- package/dist/config/scale.js +0 -0
- package/dist/config/still-frame.d.ts +0 -0
- package/dist/config/still-frame.js +0 -0
- package/dist/config/timeout.d.ts +0 -0
- package/dist/config/timeout.js +0 -0
- package/dist/config/webpack-caching.d.ts +0 -0
- package/dist/config/webpack-caching.js +0 -0
- package/dist/config/width.d.ts +2 -0
- package/dist/config/width.js +17 -0
- package/dist/determine-image-format.d.ts +11 -0
- package/dist/determine-image-format.js +48 -0
- package/dist/download-progress.d.ts +0 -0
- package/dist/download-progress.js +0 -0
- package/dist/editor/components/AudioWaveform.d.ts +0 -0
- package/dist/editor/components/AudioWaveform.js +0 -0
- package/dist/editor/components/AudioWaveformBar.d.ts +0 -0
- package/dist/editor/components/AudioWaveformBar.js +0 -0
- package/dist/editor/components/Canvas.d.ts +0 -0
- package/dist/editor/components/Canvas.js +9 -2
- package/dist/editor/components/CheckboardToggle.d.ts +0 -0
- package/dist/editor/components/CheckboardToggle.js +0 -0
- package/dist/editor/components/ClipboardIcon.d.ts +0 -0
- package/dist/editor/components/ClipboardIcon.js +0 -0
- package/dist/editor/components/CollapsedCompositionSelector.d.ts +0 -0
- package/dist/editor/components/CollapsedCompositionSelector.js +0 -0
- package/dist/editor/components/CompositionSelector.d.ts +0 -0
- package/dist/editor/components/CompositionSelector.js +0 -0
- package/dist/editor/components/CompositionSelectorItem.d.ts +0 -0
- package/dist/editor/components/CompositionSelectorItem.js +0 -0
- package/dist/editor/components/ControlButton.d.ts +0 -0
- package/dist/editor/components/ControlButton.js +0 -0
- package/dist/editor/components/CopyButton.d.ts +0 -0
- package/dist/editor/components/CopyButton.js +0 -0
- package/dist/editor/components/CurrentComposition.d.ts +0 -0
- package/dist/editor/components/CurrentComposition.js +0 -0
- package/dist/editor/components/Editor.d.ts +0 -0
- package/dist/editor/components/Editor.js +4 -2
- package/dist/editor/components/EditorContent.d.ts +0 -0
- package/dist/editor/components/EditorContent.js +0 -0
- package/dist/editor/components/EditorContexts.d.ts +0 -0
- package/dist/editor/components/EditorContexts.js +0 -0
- package/dist/editor/components/FpsCounter.d.ts +0 -0
- package/dist/editor/components/FpsCounter.js +0 -0
- package/dist/editor/components/FramePersistor.d.ts +0 -0
- package/dist/editor/components/FramePersistor.js +0 -0
- package/dist/editor/components/GlobalKeybindings.d.ts +0 -0
- package/dist/editor/components/GlobalKeybindings.js +20 -1
- package/dist/editor/components/InitialCompositionLoader.d.ts +0 -0
- package/dist/editor/components/InitialCompositionLoader.js +0 -0
- package/dist/editor/components/KeyboardShortcutsExplainer.d.ts +2 -0
- package/dist/editor/components/KeyboardShortcutsExplainer.js +56 -0
- package/dist/editor/components/KeyboardShortcutsModal.d.ts +0 -0
- package/dist/editor/components/KeyboardShortcutsModal.js +0 -0
- package/dist/editor/components/LoopToggle.d.ts +0 -0
- package/dist/editor/components/LoopToggle.js +0 -0
- package/dist/editor/components/Menu/MenuDivider.d.ts +0 -0
- package/dist/editor/components/Menu/MenuDivider.js +0 -0
- package/dist/editor/components/Menu/MenuItem.d.ts +0 -0
- package/dist/editor/components/Menu/MenuItem.js +0 -0
- package/dist/editor/components/Menu/MenuSubItem.d.ts +0 -0
- package/dist/editor/components/Menu/MenuSubItem.js +0 -0
- package/dist/editor/components/Menu/SubMenu.d.ts +0 -0
- package/dist/editor/components/Menu/SubMenu.js +0 -0
- package/dist/editor/components/Menu/portals.d.ts +0 -0
- package/dist/editor/components/Menu/portals.js +0 -0
- package/dist/editor/components/Menu/styles.d.ts +0 -0
- package/dist/editor/components/Menu/styles.js +0 -0
- package/dist/editor/components/MenuBuildIndicator.d.ts +0 -0
- package/dist/editor/components/MenuBuildIndicator.js +0 -0
- package/dist/editor/components/MenuToolbar.d.ts +0 -0
- package/dist/editor/components/MenuToolbar.js +3 -449
- package/dist/editor/components/ModalContainer.d.ts +0 -0
- package/dist/editor/components/ModalContainer.js +0 -0
- package/dist/editor/components/ModalHeader.d.ts +0 -0
- package/dist/editor/components/ModalHeader.js +0 -0
- package/dist/editor/components/MuteToggle.d.ts +0 -0
- package/dist/editor/components/MuteToggle.js +0 -0
- package/dist/editor/components/NewComposition/CancelButton.d.ts +0 -0
- package/dist/editor/components/NewComposition/CancelButton.js +0 -0
- package/dist/editor/components/NewComposition/ComboBox.d.ts +2 -1
- package/dist/editor/components/NewComposition/ComboBox.js +0 -0
- package/dist/editor/components/NewComposition/CopyHint.d.ts +0 -0
- package/dist/editor/components/NewComposition/CopyHint.js +0 -0
- package/dist/editor/components/NewComposition/InputDragger.d.ts +0 -0
- package/dist/editor/components/NewComposition/InputDragger.js +0 -0
- package/dist/editor/components/NewComposition/MenuContent.d.ts +0 -0
- package/dist/editor/components/NewComposition/MenuContent.js +7 -0
- package/dist/editor/components/NewComposition/NewCompAspectRatio.d.ts +0 -0
- package/dist/editor/components/NewComposition/NewCompAspectRatio.js +0 -0
- package/dist/editor/components/NewComposition/NewCompCode.d.ts +0 -0
- package/dist/editor/components/NewComposition/NewCompCode.js +0 -0
- package/dist/editor/components/NewComposition/NewCompDuration.d.ts +0 -0
- package/dist/editor/components/NewComposition/NewCompDuration.js +0 -0
- package/dist/editor/components/NewComposition/NewComposition.d.ts +0 -0
- package/dist/editor/components/NewComposition/NewComposition.js +3 -0
- package/dist/editor/components/NewComposition/RemInput.d.ts +0 -0
- package/dist/editor/components/NewComposition/RemInput.js +1 -1
- package/dist/editor/components/NewComposition/ToggleAspectRatio.d.ts +0 -0
- package/dist/editor/components/NewComposition/ToggleAspectRatio.js +0 -0
- package/dist/editor/components/NewComposition/ValidationMessage.d.ts +0 -0
- package/dist/editor/components/NewComposition/ValidationMessage.js +0 -0
- package/dist/editor/components/NewComposition/new-comp-layout.d.ts +0 -0
- package/dist/editor/components/NewComposition/new-comp-layout.js +0 -0
- package/dist/editor/components/NewComposition/render-aspect-ratio.d.ts +0 -0
- package/dist/editor/components/NewComposition/render-aspect-ratio.js +0 -0
- package/dist/editor/components/NoRegisterRoot.d.ts +0 -0
- package/dist/editor/components/NoRegisterRoot.js +0 -0
- package/dist/editor/components/Notifications/ColorDot.d.ts +0 -0
- package/dist/editor/components/Notifications/ColorDot.js +0 -0
- package/dist/editor/components/Notifications/Notification.d.ts +0 -0
- package/dist/editor/components/Notifications/Notification.js +0 -0
- package/dist/editor/components/Notifications/NotificationCenter.d.ts +0 -0
- package/dist/editor/components/Notifications/NotificationCenter.js +1 -1
- package/dist/editor/components/Notifications/ServerDisconnected.d.ts +0 -0
- package/dist/editor/components/Notifications/ServerDisconnected.js +0 -0
- package/dist/editor/components/PlayPause.d.ts +0 -0
- package/dist/editor/components/PlayPause.js +8 -1
- package/dist/editor/components/PlaybackKeyboardShortcutsManager.d.ts +0 -0
- package/dist/editor/components/PlaybackKeyboardShortcutsManager.js +3 -0
- package/dist/editor/components/PlaybackRatePersistor.d.ts +0 -0
- package/dist/editor/components/PlaybackRatePersistor.js +0 -0
- package/dist/editor/components/PlaybackRateSelector.d.ts +0 -0
- package/dist/editor/components/PlaybackRateSelector.js +1 -0
- package/dist/editor/components/Preview.d.ts +0 -0
- package/dist/editor/components/Preview.js +0 -0
- package/dist/editor/components/PreviewToolbar.d.ts +0 -0
- package/dist/editor/components/PreviewToolbar.js +0 -0
- package/dist/editor/components/QuickSwitcher/AlgoliaCredit.d.ts +2 -0
- package/dist/editor/components/QuickSwitcher/AlgoliaCredit.js +11 -0
- package/dist/editor/components/QuickSwitcher/NoResults.d.ts +6 -0
- package/dist/editor/components/QuickSwitcher/NoResults.js +20 -0
- package/dist/editor/components/QuickSwitcher/QuickSwitcher.d.ts +7 -0
- package/dist/editor/components/QuickSwitcher/QuickSwitcher.js +16 -0
- package/dist/editor/components/QuickSwitcher/QuickSwitcherContent.d.ts +6 -0
- package/dist/editor/components/QuickSwitcher/QuickSwitcherContent.js +269 -0
- package/dist/editor/components/QuickSwitcher/QuickSwitcherResult.d.ts +21 -0
- package/dist/editor/components/QuickSwitcher/QuickSwitcherResult.js +109 -0
- package/dist/editor/components/QuickSwitcher/agolia-search.d.ts +2 -0
- package/dist/editor/components/QuickSwitcher/agolia-search.js +40 -0
- package/dist/editor/components/QuickSwitcher/algolia-search.d.ts +29 -0
- package/dist/editor/components/QuickSwitcher/algolia-search.js +63 -0
- package/dist/editor/components/QuickSwitcher/fuzzy-search.d.ts +2 -0
- package/dist/editor/components/QuickSwitcher/fuzzy-search.js +26 -0
- package/dist/editor/components/ResetZoomButton.d.ts +0 -0
- package/dist/editor/components/ResetZoomButton.js +0 -0
- package/dist/editor/components/RichTimelineToggle.d.ts +0 -0
- package/dist/editor/components/RichTimelineToggle.js +0 -0
- package/dist/editor/components/SizeSelector.d.ts +0 -0
- package/dist/editor/components/SizeSelector.js +2 -1
- package/dist/editor/components/Splitter/SplitterContainer.d.ts +0 -0
- package/dist/editor/components/Splitter/SplitterContainer.js +0 -0
- package/dist/editor/components/Splitter/SplitterContext.d.ts +0 -0
- package/dist/editor/components/Splitter/SplitterContext.js +0 -0
- package/dist/editor/components/Splitter/SplitterElement.d.ts +0 -0
- package/dist/editor/components/Splitter/SplitterElement.js +0 -0
- package/dist/editor/components/Splitter/SplitterHandle.d.ts +0 -0
- package/dist/editor/components/Splitter/SplitterHandle.js +0 -0
- package/dist/editor/components/Thumbnail.d.ts +0 -0
- package/dist/editor/components/Thumbnail.js +0 -0
- package/dist/editor/components/TimeValue.d.ts +0 -0
- package/dist/editor/components/TimeValue.js +0 -0
- package/dist/editor/components/Timeline/LoopedIndicator.d.ts +0 -0
- package/dist/editor/components/Timeline/LoopedIndicator.js +0 -0
- package/dist/editor/components/Timeline/LoopedTimelineIndicators.d.ts +0 -0
- package/dist/editor/components/Timeline/LoopedTimelineIndicators.js +0 -0
- package/dist/editor/components/Timeline/MaxTimelineTracks.d.ts +0 -0
- package/dist/editor/components/Timeline/MaxTimelineTracks.js +0 -0
- package/dist/editor/components/Timeline/Timeline.d.ts +0 -0
- package/dist/editor/components/Timeline/Timeline.js +1 -1
- package/dist/editor/components/Timeline/TimelineCollapseToggle.d.ts +0 -0
- package/dist/editor/components/Timeline/TimelineCollapseToggle.js +0 -0
- package/dist/editor/components/Timeline/TimelineDragHandler.d.ts +0 -0
- package/dist/editor/components/Timeline/TimelineDragHandler.js +0 -0
- package/dist/editor/components/Timeline/TimelineInOutPointer.d.ts +0 -0
- package/dist/editor/components/Timeline/TimelineInOutPointer.js +0 -0
- package/dist/editor/components/Timeline/TimelineInOutPointerHandle.d.ts +0 -0
- package/dist/editor/components/Timeline/TimelineInOutPointerHandle.js +0 -0
- package/dist/editor/components/Timeline/TimelineList.d.ts +0 -0
- package/dist/editor/components/Timeline/TimelineList.js +0 -0
- package/dist/editor/components/Timeline/TimelineListItem.d.ts +0 -0
- package/dist/editor/components/Timeline/TimelineListItem.js +0 -0
- package/dist/editor/components/Timeline/TimelinePlayCursorSyncer.d.ts +0 -0
- package/dist/editor/components/Timeline/TimelinePlayCursorSyncer.js +0 -0
- package/dist/editor/components/Timeline/TimelineScrollable.d.ts +0 -0
- package/dist/editor/components/Timeline/TimelineScrollable.js +0 -0
- package/dist/editor/components/Timeline/TimelineSequence.d.ts +0 -0
- package/dist/editor/components/Timeline/TimelineSequence.js +0 -0
- package/dist/editor/components/Timeline/TimelineSequenceFrame.d.ts +0 -0
- package/dist/editor/components/Timeline/TimelineSequenceFrame.js +0 -0
- package/dist/editor/components/Timeline/TimelineSlider.d.ts +0 -0
- package/dist/editor/components/Timeline/TimelineSlider.js +1 -1
- package/dist/editor/components/Timeline/TimelineSliderHandle.d.ts +0 -0
- package/dist/editor/components/Timeline/TimelineSliderHandle.js +0 -0
- package/dist/editor/components/Timeline/TimelineTimeIndicators.d.ts +0 -0
- package/dist/editor/components/Timeline/TimelineTimeIndicators.js +0 -0
- package/dist/editor/components/Timeline/TimelineTracks.d.ts +0 -0
- package/dist/editor/components/Timeline/TimelineTracks.js +0 -0
- package/dist/editor/components/Timeline/TimelineVideoInfo.d.ts +0 -0
- package/dist/editor/components/Timeline/TimelineVideoInfo.js +0 -0
- package/dist/editor/components/Timeline/TimelineZoomControls.d.ts +0 -0
- package/dist/editor/components/Timeline/TimelineZoomControls.js +0 -0
- package/dist/editor/components/Timeline/imperative-state.d.ts +0 -0
- package/dist/editor/components/Timeline/imperative-state.js +0 -0
- package/dist/editor/components/Timeline/is-collapsed.d.ts +0 -0
- package/dist/editor/components/Timeline/is-collapsed.js +0 -0
- package/dist/editor/components/Timeline/timeline-refs.d.ts +0 -0
- package/dist/editor/components/Timeline/timeline-refs.js +0 -0
- package/dist/editor/components/Timeline/timeline-scroll-logic.d.ts +0 -0
- package/dist/editor/components/Timeline/timeline-scroll-logic.js +0 -0
- package/dist/editor/components/Timeline/timeline-state-reducer.d.ts +0 -0
- package/dist/editor/components/Timeline/timeline-state-reducer.js +0 -0
- package/dist/editor/components/TimelineInOutToggle.d.ts +0 -0
- package/dist/editor/components/TimelineInOutToggle.js +4 -1
- package/dist/editor/components/TopPanel.d.ts +0 -0
- package/dist/editor/components/TopPanel.js +0 -0
- package/dist/editor/components/UpdateCheck.d.ts +0 -0
- package/dist/editor/components/UpdateCheck.js +0 -0
- package/dist/editor/components/UpdateModal/UpdateModal.d.ts +0 -0
- package/dist/editor/components/UpdateModal/UpdateModal.js +0 -0
- package/dist/editor/components/ZoomPersistor.d.ts +0 -0
- package/dist/editor/components/ZoomPersistor.js +0 -0
- package/dist/editor/components/layout.d.ts +0 -0
- package/dist/editor/components/layout.js +0 -0
- package/dist/editor/helpers/calculate-timeline.d.ts +0 -0
- package/dist/editor/helpers/calculate-timeline.js +0 -0
- package/dist/editor/helpers/checkerboard-background.d.ts +0 -0
- package/dist/editor/helpers/checkerboard-background.js +0 -0
- package/dist/editor/helpers/colors.d.ts +0 -0
- package/dist/editor/helpers/colors.js +0 -0
- package/dist/editor/helpers/copy-text.d.ts +0 -0
- package/dist/editor/helpers/copy-text.js +0 -0
- package/dist/editor/helpers/create-folder-tree.d.ts +0 -0
- package/dist/editor/helpers/create-folder-tree.js +0 -0
- package/dist/editor/helpers/get-effective-translation.d.ts +0 -0
- package/dist/editor/helpers/get-effective-translation.js +0 -0
- package/dist/editor/helpers/get-left-of-timeline-slider.d.ts +0 -0
- package/dist/editor/helpers/get-left-of-timeline-slider.js +0 -0
- package/dist/editor/helpers/get-sequence-visible-range.d.ts +0 -0
- package/dist/editor/helpers/get-sequence-visible-range.js +0 -0
- package/dist/editor/helpers/get-timeline-nestedness.d.ts +0 -0
- package/dist/editor/helpers/get-timeline-nestedness.js +0 -0
- package/dist/editor/helpers/get-timeline-sequence-hash.d.ts +0 -0
- package/dist/editor/helpers/get-timeline-sequence-hash.js +0 -0
- package/dist/editor/helpers/get-timeline-sequence-layout.d.ts +0 -0
- package/dist/editor/helpers/get-timeline-sequence-layout.js +0 -0
- package/dist/editor/helpers/get-timeline-sequence-sort-key.d.ts +0 -0
- package/dist/editor/helpers/get-timeline-sequence-sort-key.js +0 -0
- package/dist/editor/helpers/is-composition-still.d.ts +0 -0
- package/dist/editor/helpers/is-composition-still.js +0 -0
- package/dist/editor/helpers/is-current-selected-still.d.ts +0 -0
- package/dist/editor/helpers/is-current-selected-still.js +0 -0
- package/dist/editor/helpers/noop.d.ts +0 -0
- package/dist/editor/helpers/noop.js +0 -0
- package/dist/editor/helpers/persist-open-folders.d.ts +0 -0
- package/dist/editor/helpers/persist-open-folders.js +0 -0
- package/dist/editor/helpers/pick-color.d.ts +0 -0
- package/dist/editor/helpers/pick-color.js +0 -0
- package/dist/editor/helpers/timeline-layout.d.ts +0 -0
- package/dist/editor/helpers/timeline-layout.js +0 -0
- package/dist/editor/helpers/use-compact-ui.d.ts +0 -0
- package/dist/editor/helpers/use-compact-ui.js +0 -0
- package/dist/editor/helpers/use-keybinding.d.ts +1 -0
- package/dist/editor/helpers/use-keybinding.js +3 -1
- package/dist/editor/helpers/use-menu-structure.d.ts +7 -0
- package/dist/editor/helpers/use-menu-structure.js +575 -0
- package/dist/editor/helpers/validate-new-comp-data.d.ts +0 -0
- package/dist/editor/helpers/validate-new-comp-data.js +0 -0
- package/dist/editor/icons/Checkmark.d.ts +0 -0
- package/dist/editor/icons/Checkmark.js +0 -0
- package/dist/editor/icons/caret.d.ts +0 -0
- package/dist/editor/icons/caret.js +0 -0
- package/dist/editor/icons/film.d.ts +0 -0
- package/dist/editor/icons/film.js +0 -0
- package/dist/editor/icons/folder.d.ts +0 -0
- package/dist/editor/icons/folder.js +0 -0
- package/dist/editor/icons/jump-to-start.d.ts +0 -0
- package/dist/editor/icons/jump-to-start.js +0 -0
- package/dist/editor/icons/keys.d.ts +0 -0
- package/dist/editor/icons/keys.js +0 -0
- package/dist/editor/icons/lock.d.ts +0 -0
- package/dist/editor/icons/lock.js +0 -0
- package/dist/editor/icons/media-volume.d.ts +0 -0
- package/dist/editor/icons/media-volume.js +0 -0
- package/dist/editor/icons/minus.d.ts +0 -0
- package/dist/editor/icons/minus.js +0 -0
- package/dist/editor/icons/pause.d.ts +0 -0
- package/dist/editor/icons/pause.js +0 -0
- package/dist/editor/icons/play.d.ts +0 -0
- package/dist/editor/icons/play.js +0 -0
- package/dist/editor/icons/plus.d.ts +0 -0
- package/dist/editor/icons/plus.js +0 -0
- package/dist/editor/icons/step-back.d.ts +0 -0
- package/dist/editor/icons/step-back.js +0 -0
- package/dist/editor/icons/step-forward.d.ts +0 -0
- package/dist/editor/icons/step-forward.js +0 -0
- package/dist/editor/icons/still.d.ts +0 -0
- package/dist/editor/icons/still.js +0 -0
- package/dist/editor/icons/timeline.d.ts +0 -0
- package/dist/editor/icons/timeline.js +0 -0
- package/dist/editor/icons/timelineInOutPointer.d.ts +0 -0
- package/dist/editor/icons/timelineInOutPointer.js +0 -0
- package/dist/editor/state/aspect-ratio-locked.d.ts +0 -0
- package/dist/editor/state/aspect-ratio-locked.js +0 -0
- package/dist/editor/state/checkerboard.d.ts +0 -0
- package/dist/editor/state/checkerboard.js +0 -0
- package/dist/editor/state/folders.d.ts +0 -0
- package/dist/editor/state/folders.js +0 -0
- package/dist/editor/state/highest-z-index.d.ts +0 -0
- package/dist/editor/state/highest-z-index.js +0 -0
- package/dist/editor/state/in-out.d.ts +0 -0
- package/dist/editor/state/in-out.js +0 -0
- package/dist/editor/state/input-dragger-click-lock.d.ts +0 -0
- package/dist/editor/state/input-dragger-click-lock.js +0 -0
- package/dist/editor/state/keybindings.d.ts +0 -0
- package/dist/editor/state/keybindings.js +0 -0
- package/dist/editor/state/loop.d.ts +0 -0
- package/dist/editor/state/loop.js +0 -0
- package/dist/editor/state/marks.d.ts +0 -0
- package/dist/editor/state/marks.js +0 -0
- package/dist/editor/state/modals.d.ts +4 -1
- package/dist/editor/state/modals.js +0 -0
- package/dist/editor/state/mute.d.ts +0 -0
- package/dist/editor/state/mute.js +0 -0
- package/dist/editor/state/playbackrate.d.ts +0 -0
- package/dist/editor/state/playbackrate.js +0 -0
- package/dist/editor/state/preview-size.d.ts +0 -0
- package/dist/editor/state/preview-size.js +0 -0
- package/dist/editor/state/render-frame.d.ts +0 -0
- package/dist/editor/state/render-frame.js +0 -0
- package/dist/editor/state/rich-timeline.d.ts +0 -0
- package/dist/editor/state/rich-timeline.js +0 -0
- package/dist/editor/state/sidebar.d.ts +0 -0
- package/dist/editor/state/sidebar.js +0 -0
- package/dist/editor/state/timeline-ref.d.ts +0 -0
- package/dist/editor/state/timeline-ref.js +0 -0
- package/dist/editor/state/timeline-zoom.d.ts +0 -0
- package/dist/editor/state/timeline-zoom.js +0 -0
- package/dist/editor/state/timeline.d.ts +0 -0
- package/dist/editor/state/timeline.js +0 -0
- package/dist/editor/state/z-index.d.ts +0 -0
- package/dist/editor/state/z-index.js +1 -0
- package/dist/entry-point.d.ts +5 -0
- package/dist/entry-point.js +46 -0
- package/dist/event-source-events.d.ts +3 -0
- package/dist/event-source-events.js +0 -0
- package/dist/event-source.d.ts +0 -0
- package/dist/event-source.js +12 -10
- package/dist/find-closest-package-json.d.ts +0 -0
- package/dist/find-closest-package-json.js +0 -0
- package/dist/format-bytes.d.ts +0 -0
- package/dist/format-bytes.js +0 -0
- package/dist/get-cli-options.d.ts +17 -6
- package/dist/get-cli-options.js +40 -54
- package/dist/get-composition-id.d.ts +7 -1
- package/dist/get-composition-id.js +30 -7
- package/dist/get-composition-with-dimension-override.d.ts +12 -0
- package/dist/get-composition-with-dimension-override.js +16 -0
- package/dist/get-config-file-name.d.ts +0 -0
- package/dist/get-config-file-name.js +0 -0
- package/dist/get-env.d.ts +1 -1
- package/dist/get-env.js +60 -8
- package/dist/get-filename.d.ts +2 -1
- package/dist/get-filename.js +2 -1
- package/dist/get-final-output-codec.d.ts +9 -5
- package/dist/get-final-output-codec.js +51 -48
- package/dist/get-input-props.d.ts +0 -0
- package/dist/get-input-props.js +0 -0
- package/dist/get-latest-remotion-version.d.ts +0 -0
- package/dist/get-latest-remotion-version.js +0 -0
- package/dist/get-network-address.d.ts +1 -0
- package/dist/get-network-address.js +16 -0
- package/dist/get-render-media-options.d.ts +8 -0
- package/dist/get-render-media-options.js +52 -0
- package/dist/handle-common-errors.d.ts +0 -0
- package/dist/handle-common-errors.js +0 -0
- package/dist/image-formats.d.ts +0 -0
- package/dist/image-formats.js +0 -0
- package/dist/index.d.ts +39 -11
- package/dist/index.js +32 -20
- package/dist/initialize-cli.d.ts +1 -0
- package/dist/{initialize-render-cli.js → initialize-cli.js} +4 -4
- package/dist/is-javascript.d.ts +0 -0
- package/dist/is-javascript.js +0 -0
- package/dist/lambda-command.d.ts +1 -1
- package/dist/lambda-command.js +3 -6
- package/dist/list-of-remotion-packages.d.ts +0 -0
- package/dist/list-of-remotion-packages.js +3 -0
- package/dist/load-config.d.ts +0 -0
- package/dist/load-config.js +0 -0
- package/dist/log.d.ts +0 -0
- package/dist/log.js +0 -0
- package/dist/make-progress-bar.d.ts +0 -0
- package/dist/make-progress-bar.js +0 -0
- package/dist/parse-command-line.d.ts +4 -1
- package/dist/parse-command-line.js +13 -12
- package/dist/preview-server/dev-middleware/compatible-api.d.ts +0 -0
- package/dist/preview-server/dev-middleware/compatible-api.js +0 -0
- package/dist/preview-server/dev-middleware/get-paths.d.ts +0 -0
- package/dist/preview-server/dev-middleware/get-paths.js +0 -0
- package/dist/preview-server/dev-middleware/index.d.ts +0 -0
- package/dist/preview-server/dev-middleware/index.js +0 -0
- package/dist/preview-server/dev-middleware/is-color-supported.d.ts +0 -0
- package/dist/preview-server/dev-middleware/is-color-supported.js +0 -0
- package/dist/preview-server/dev-middleware/middleware.d.ts +0 -0
- package/dist/preview-server/dev-middleware/middleware.js +0 -0
- package/dist/preview-server/dev-middleware/range-parser.d.ts +0 -0
- package/dist/preview-server/dev-middleware/range-parser.js +0 -0
- package/dist/preview-server/dev-middleware/ready.d.ts +0 -0
- package/dist/preview-server/dev-middleware/ready.js +0 -0
- package/dist/preview-server/dev-middleware/setup-hooks.d.ts +0 -0
- package/dist/preview-server/dev-middleware/setup-hooks.js +15 -4
- package/dist/preview-server/dev-middleware/setup-output-filesystem.d.ts +0 -0
- package/dist/preview-server/dev-middleware/setup-output-filesystem.js +0 -0
- package/dist/preview-server/dev-middleware/types.d.ts +0 -0
- package/dist/preview-server/dev-middleware/types.js +0 -0
- package/dist/preview-server/error-overlay/entry-basic.d.ts +0 -0
- package/dist/preview-server/error-overlay/entry-basic.js +0 -0
- package/dist/preview-server/error-overlay/react-overlay/effects/format-warning.d.ts +0 -0
- package/dist/preview-server/error-overlay/react-overlay/effects/format-warning.js +0 -0
- package/dist/preview-server/error-overlay/react-overlay/effects/map-error-to-react-stack.d.ts +0 -0
- package/dist/preview-server/error-overlay/react-overlay/effects/map-error-to-react-stack.js +0 -0
- package/dist/preview-server/error-overlay/react-overlay/effects/proxy-console.d.ts +0 -0
- package/dist/preview-server/error-overlay/react-overlay/effects/proxy-console.js +0 -0
- package/dist/preview-server/error-overlay/react-overlay/effects/resolve-file-source.d.ts +0 -0
- package/dist/preview-server/error-overlay/react-overlay/effects/resolve-file-source.js +0 -0
- package/dist/preview-server/error-overlay/react-overlay/effects/stack-trace-limit.d.ts +0 -0
- package/dist/preview-server/error-overlay/react-overlay/effects/stack-trace-limit.js +0 -0
- package/dist/preview-server/error-overlay/react-overlay/effects/unhandled-error.d.ts +0 -0
- package/dist/preview-server/error-overlay/react-overlay/effects/unhandled-error.js +0 -0
- package/dist/preview-server/error-overlay/react-overlay/effects/unhandled-rejection.d.ts +0 -0
- package/dist/preview-server/error-overlay/react-overlay/effects/unhandled-rejection.js +0 -0
- package/dist/preview-server/error-overlay/react-overlay/index.d.ts +0 -0
- package/dist/preview-server/error-overlay/react-overlay/index.js +0 -0
- package/dist/preview-server/error-overlay/react-overlay/listen-to-runtime-errors.d.ts +0 -0
- package/dist/preview-server/error-overlay/react-overlay/listen-to-runtime-errors.js +0 -0
- package/dist/preview-server/error-overlay/react-overlay/utils/get-file-source.d.ts +0 -0
- package/dist/preview-server/error-overlay/react-overlay/utils/get-file-source.js +0 -0
- package/dist/preview-server/error-overlay/react-overlay/utils/get-lines-around.d.ts +0 -0
- package/dist/preview-server/error-overlay/react-overlay/utils/get-lines-around.js +0 -0
- package/dist/preview-server/error-overlay/react-overlay/utils/get-source-map.d.ts +0 -0
- package/dist/preview-server/error-overlay/react-overlay/utils/get-source-map.js +0 -0
- package/dist/preview-server/error-overlay/react-overlay/utils/get-stack-frames.d.ts +0 -0
- package/dist/preview-server/error-overlay/react-overlay/utils/get-stack-frames.js +0 -0
- package/dist/preview-server/error-overlay/react-overlay/utils/open-in-editor.d.ts +0 -0
- package/dist/preview-server/error-overlay/react-overlay/utils/open-in-editor.js +0 -0
- package/dist/preview-server/error-overlay/react-overlay/utils/parser.d.ts +0 -0
- package/dist/preview-server/error-overlay/react-overlay/utils/parser.js +0 -0
- package/dist/preview-server/error-overlay/react-overlay/utils/stack-frame.d.ts +0 -0
- package/dist/preview-server/error-overlay/react-overlay/utils/stack-frame.js +0 -0
- package/dist/preview-server/error-overlay/react-overlay/utils/unmapper.d.ts +0 -0
- package/dist/preview-server/error-overlay/react-overlay/utils/unmapper.js +0 -0
- package/dist/preview-server/error-overlay/remotion-overlay/AskOnDiscord.d.ts +0 -0
- package/dist/preview-server/error-overlay/remotion-overlay/AskOnDiscord.js +1 -0
- package/dist/preview-server/error-overlay/remotion-overlay/Button.d.ts +0 -0
- package/dist/preview-server/error-overlay/remotion-overlay/Button.js +0 -0
- package/dist/preview-server/error-overlay/remotion-overlay/CodeFrame.d.ts +0 -0
- package/dist/preview-server/error-overlay/remotion-overlay/CodeFrame.js +0 -0
- package/dist/preview-server/error-overlay/remotion-overlay/DismissButton.d.ts +0 -0
- package/dist/preview-server/error-overlay/remotion-overlay/DismissButton.js +0 -0
- package/dist/preview-server/error-overlay/remotion-overlay/ErrorDisplay.d.ts +0 -0
- package/dist/preview-server/error-overlay/remotion-overlay/ErrorDisplay.js +0 -0
- package/dist/preview-server/error-overlay/remotion-overlay/ErrorLoader.d.ts +0 -0
- package/dist/preview-server/error-overlay/remotion-overlay/ErrorLoader.js +0 -0
- package/dist/preview-server/error-overlay/remotion-overlay/ErrorMessage.d.ts +0 -0
- package/dist/preview-server/error-overlay/remotion-overlay/ErrorMessage.js +0 -0
- package/dist/preview-server/error-overlay/remotion-overlay/ErrorTitle.d.ts +0 -0
- package/dist/preview-server/error-overlay/remotion-overlay/ErrorTitle.js +0 -0
- package/dist/preview-server/error-overlay/remotion-overlay/HelpLink.d.ts +0 -0
- package/dist/preview-server/error-overlay/remotion-overlay/HelpLink.js +1 -0
- package/dist/preview-server/error-overlay/remotion-overlay/OpenInEditor.d.ts +0 -0
- package/dist/preview-server/error-overlay/remotion-overlay/OpenInEditor.js +1 -0
- package/dist/preview-server/error-overlay/remotion-overlay/Overlay.d.ts +0 -0
- package/dist/preview-server/error-overlay/remotion-overlay/Overlay.js +0 -0
- package/dist/preview-server/error-overlay/remotion-overlay/SearchGitHubIssues.d.ts +0 -0
- package/dist/preview-server/error-overlay/remotion-overlay/SearchGitHubIssues.js +1 -0
- package/dist/preview-server/error-overlay/remotion-overlay/ShortcutHint.d.ts +1 -0
- package/dist/preview-server/error-overlay/remotion-overlay/ShortcutHint.js +3 -3
- package/dist/preview-server/error-overlay/remotion-overlay/StackFrame.d.ts +0 -0
- package/dist/preview-server/error-overlay/remotion-overlay/StackFrame.js +0 -0
- package/dist/preview-server/error-overlay/remotion-overlay/Symbolicating.d.ts +0 -0
- package/dist/preview-server/error-overlay/remotion-overlay/Symbolicating.js +0 -0
- package/dist/preview-server/error-overlay/remotion-overlay/carets.d.ts +0 -0
- package/dist/preview-server/error-overlay/remotion-overlay/carets.js +0 -0
- package/dist/preview-server/error-overlay/remotion-overlay/format-location.d.ts +0 -0
- package/dist/preview-server/error-overlay/remotion-overlay/format-location.js +0 -0
- package/dist/preview-server/error-overlay/remotion-overlay/get-help-link.d.ts +0 -0
- package/dist/preview-server/error-overlay/remotion-overlay/get-help-link.js +0 -0
- package/dist/preview-server/error-overlay/remotion-overlay/index.d.ts +0 -0
- package/dist/preview-server/error-overlay/remotion-overlay/index.js +0 -0
- package/dist/preview-server/get-package-manager.d.ts +1 -1
- package/dist/preview-server/get-package-manager.js +10 -1
- package/dist/preview-server/hot-middleware/client.d.ts +0 -0
- package/dist/preview-server/hot-middleware/client.js +0 -0
- package/dist/preview-server/hot-middleware/index.d.ts +0 -0
- package/dist/preview-server/hot-middleware/index.js +1 -2
- package/dist/preview-server/hot-middleware/process-update.d.ts +0 -0
- package/dist/preview-server/hot-middleware/process-update.js +0 -0
- package/dist/preview-server/hot-middleware/strip-ansi.d.ts +0 -0
- package/dist/preview-server/hot-middleware/strip-ansi.js +0 -0
- package/dist/preview-server/hot-middleware/types.d.ts +0 -0
- package/dist/preview-server/hot-middleware/types.js +0 -0
- package/dist/preview-server/live-events.d.ts +0 -0
- package/dist/preview-server/live-events.js +0 -0
- package/dist/preview-server/project-info.d.ts +0 -0
- package/dist/preview-server/project-info.js +9 -1
- package/dist/preview-server/routes.d.ts +2 -1
- package/dist/preview-server/routes.js +5 -3
- package/dist/preview-server/serve-static.d.ts +0 -0
- package/dist/preview-server/serve-static.js +0 -0
- package/dist/preview-server/start-server.d.ts +1 -1
- package/dist/preview-server/start-server.js +13 -6
- package/dist/preview-server/update-available.d.ts +0 -0
- package/dist/preview-server/update-available.js +2 -2
- package/dist/preview.d.ts +1 -1
- package/dist/preview.js +24 -8
- package/dist/previewEntry.d.ts +0 -0
- package/dist/previewEntry.js +0 -0
- package/dist/print-error.d.ts +0 -0
- package/dist/print-error.js +0 -0
- package/dist/print-help.d.ts +0 -0
- package/dist/print-help.js +14 -3
- package/dist/progress-bar.d.ts +0 -0
- package/dist/progress-bar.js +3 -1
- package/dist/render.d.ts +1 -1
- package/dist/render.js +55 -48
- package/dist/resolve-from.d.ts +0 -0
- package/dist/resolve-from.js +0 -0
- package/dist/select-composition.d.ts +7 -0
- package/dist/select-composition.js +51 -0
- package/dist/setup-cache.d.ts +0 -0
- package/dist/setup-cache.js +0 -0
- package/dist/smooth-zoom.d.ts +0 -0
- package/dist/smooth-zoom.js +0 -0
- package/dist/step.d.ts +0 -0
- package/dist/step.js +0 -0
- package/dist/still.d.ts +1 -1
- package/dist/still.js +41 -42
- package/dist/truthy.d.ts +0 -0
- package/dist/truthy.js +0 -0
- package/dist/upgrade.d.ts +1 -1
- package/dist/upgrade.js +4 -2
- package/dist/user-passed-output-location.d.ts +3 -2
- package/dist/user-passed-output-location.js +5 -7
- package/dist/versions.d.ts +0 -0
- package/dist/versions.js +1 -1
- package/package.json +13 -12
- package/dist/bundle.d.ts +0 -1
- package/dist/bundle.js +0 -32
- package/dist/check-version.d.ts +0 -1
- package/dist/check-version.js +0 -14
- package/dist/config/bundle-out-dir.d.ts +0 -2
- package/dist/config/bundle-out-dir.js +0 -12
- package/dist/config/get-public-path.d.ts +0 -2
- package/dist/config/get-public-path.js +0 -12
- package/dist/editor/components/Button.d.ts +0 -4
- package/dist/editor/components/Button.js +0 -24
- package/dist/editor/components/PreviewZoomControls.d.ts +0 -2
- package/dist/editor/components/PreviewZoomControls.js +0 -49
- package/dist/editor/helpers/normalize-wheel.d.ts +0 -5
- package/dist/editor/helpers/normalize-wheel.js +0 -20
- package/dist/initialize-render-cli.d.ts +0 -1
- package/dist/prepare-entry-point.d.ts +0 -12
- package/dist/prepare-entry-point.js +0 -37
- package/dist/validate-ffmpeg-version.d.ts +0 -3
- package/dist/validate-ffmpeg-version.js +0 -17
- package/dist/warn-about-ffmpeg-version.d.ts +0 -5
- package/dist/warn-about-ffmpeg-version.js +0 -38
- package/dist/webpack-cache.d.ts +0 -12
- package/dist/webpack-cache.js +0 -66
- package/vitest.config.ts +0 -9
package/dist/config/index.js
CHANGED
|
@@ -31,16 +31,13 @@ const browser_executable_1 = require("./browser-executable");
|
|
|
31
31
|
const chromium_flags_1 = require("./chromium-flags");
|
|
32
32
|
const codec_1 = require("./codec");
|
|
33
33
|
const concurrency_1 = require("./concurrency");
|
|
34
|
-
const crf_1 = require("./crf");
|
|
35
34
|
const env_file_1 = require("./env-file");
|
|
36
|
-
const every_nth_frame_1 = require("./every-nth-frame");
|
|
37
35
|
const ffmpeg_executable_1 = require("./ffmpeg-executable");
|
|
38
36
|
const frame_range_1 = require("./frame-range");
|
|
39
37
|
const image_format_1 = require("./image-format");
|
|
40
38
|
const image_sequence_1 = require("./image-sequence");
|
|
41
39
|
const Logging = __importStar(require("./log"));
|
|
42
40
|
const max_timeline_tracks_1 = require("./max-timeline-tracks");
|
|
43
|
-
const number_of_gif_loops_1 = require("./number-of-gif-loops");
|
|
44
41
|
const output_location_1 = require("./output-location");
|
|
45
42
|
const override_webpack_1 = require("./override-webpack");
|
|
46
43
|
const overwrite_1 = require("./overwrite");
|
|
@@ -52,23 +49,27 @@ const scale_1 = require("./scale");
|
|
|
52
49
|
const still_frame_1 = require("./still-frame");
|
|
53
50
|
const timeout_1 = require("./timeout");
|
|
54
51
|
const webpack_caching_1 = require("./webpack-caching");
|
|
52
|
+
const bitrate_1 = require("./bitrate");
|
|
55
53
|
const browser_executable_2 = require("./browser-executable");
|
|
56
54
|
const chromium_flags_2 = require("./chromium-flags");
|
|
57
55
|
const codec_2 = require("./codec");
|
|
58
56
|
const concurrency_2 = require("./concurrency");
|
|
59
|
-
const
|
|
57
|
+
const crf_1 = require("./crf");
|
|
60
58
|
const enforce_audio_track_1 = require("./enforce-audio-track");
|
|
59
|
+
const entry_point_1 = require("./entry-point");
|
|
61
60
|
const env_file_2 = require("./env-file");
|
|
62
|
-
const
|
|
61
|
+
const every_nth_frame_1 = require("./every-nth-frame");
|
|
63
62
|
const ffmpeg_executable_2 = require("./ffmpeg-executable");
|
|
63
|
+
const ffmpeg_override_1 = require("./ffmpeg-override");
|
|
64
64
|
const frame_range_2 = require("./frame-range");
|
|
65
|
+
const height_1 = require("./height");
|
|
65
66
|
const image_format_2 = require("./image-format");
|
|
66
67
|
const image_sequence_2 = require("./image-sequence");
|
|
67
68
|
const keyboard_shortcuts_1 = require("./keyboard-shortcuts");
|
|
68
69
|
const log_1 = require("./log");
|
|
69
70
|
const max_timeline_tracks_2 = require("./max-timeline-tracks");
|
|
70
71
|
const muted_1 = require("./muted");
|
|
71
|
-
const
|
|
72
|
+
const number_of_gif_loops_1 = require("./number-of-gif-loops");
|
|
72
73
|
const output_location_2 = require("./output-location");
|
|
73
74
|
const override_webpack_2 = require("./override-webpack");
|
|
74
75
|
const overwrite_2 = require("./overwrite");
|
|
@@ -80,6 +81,7 @@ const quality_2 = require("./quality");
|
|
|
80
81
|
const scale_2 = require("./scale");
|
|
81
82
|
const timeout_2 = require("./timeout");
|
|
82
83
|
const webpack_caching_2 = require("./webpack-caching");
|
|
84
|
+
const width_1 = require("./width");
|
|
83
85
|
exports.Config = {
|
|
84
86
|
Preview: {
|
|
85
87
|
setMaxTimelineTracks: max_timeline_tracks_2.setMaxTimelineTracks,
|
|
@@ -90,6 +92,7 @@ exports.Config = {
|
|
|
90
92
|
setCachingEnabled: webpack_caching_2.setWebpackCaching,
|
|
91
93
|
setPort: preview_server_2.setPort,
|
|
92
94
|
setPublicDir: public_dir_1.setPublicDir,
|
|
95
|
+
setEntryPoint: entry_point_1.setEntryPoint,
|
|
93
96
|
},
|
|
94
97
|
Log: {
|
|
95
98
|
setLevel: log_1.setLogLevel,
|
|
@@ -111,8 +114,8 @@ exports.Config = {
|
|
|
111
114
|
setFfmpegExecutable: ffmpeg_executable_2.setFfmpegExecutable,
|
|
112
115
|
setFfprobeExecutable: ffmpeg_executable_2.setFfprobeExecutable,
|
|
113
116
|
setScale: scale_2.setScale,
|
|
114
|
-
setEveryNthFrame:
|
|
115
|
-
setNumberOfGifLoops:
|
|
117
|
+
setEveryNthFrame: every_nth_frame_1.setEveryNthFrame,
|
|
118
|
+
setNumberOfGifLoops: number_of_gif_loops_1.setNumberOfGifLoops,
|
|
116
119
|
setMuted: muted_1.setMuted,
|
|
117
120
|
setEnforceAudioTrack: enforce_audio_track_1.setEnforceAudioTrack,
|
|
118
121
|
},
|
|
@@ -122,9 +125,14 @@ exports.Config = {
|
|
|
122
125
|
setPixelFormat: pixel_format_2.setPixelFormat,
|
|
123
126
|
setOutputFormat: codec_2.setOutputFormat,
|
|
124
127
|
setCodec: codec_2.setCodec,
|
|
125
|
-
setCrf:
|
|
128
|
+
setCrf: crf_1.setCrf,
|
|
126
129
|
setImageSequence: image_sequence_2.setImageSequence,
|
|
127
130
|
setProResProfile: prores_profile_2.setProResProfile,
|
|
131
|
+
setAudioBitrate: bitrate_1.setAudioBitrate,
|
|
132
|
+
setVideoBitrate: bitrate_1.setVideoBitrate,
|
|
133
|
+
overrideHeight: height_1.overrideHeight,
|
|
134
|
+
overrideWidth: width_1.overrideWidth,
|
|
135
|
+
overrideFfmpegCommand: ffmpeg_override_1.setFfmpegOverrideFunction,
|
|
128
136
|
},
|
|
129
137
|
};
|
|
130
138
|
// eslint-disable-next-line no-restricted-imports
|
|
@@ -133,7 +141,6 @@ exports.ConfigInternals = {
|
|
|
133
141
|
getOutputCodecOrUndefined: codec_1.getOutputCodecOrUndefined,
|
|
134
142
|
getCustomFfmpegExecutable: ffmpeg_executable_1.getCustomFfmpegExecutable,
|
|
135
143
|
getBrowser: browser_1.getBrowser,
|
|
136
|
-
getActualCrf: crf_1.getActualCrf,
|
|
137
144
|
getPixelFormat: pixel_format_1.getPixelFormat,
|
|
138
145
|
getProResProfile: prores_profile_1.getProResProfile,
|
|
139
146
|
getShouldOverwrite: overwrite_1.getShouldOverwrite,
|
|
@@ -145,8 +152,7 @@ exports.ConfigInternals = {
|
|
|
145
152
|
getIgnoreCertificateErrors: chromium_flags_1.getIgnoreCertificateErrors,
|
|
146
153
|
getChromiumHeadlessMode: chromium_flags_1.getChromiumHeadlessMode,
|
|
147
154
|
getChromiumOpenGlRenderer: chromium_flags_1.getChromiumOpenGlRenderer,
|
|
148
|
-
|
|
149
|
-
getAndValidateNumberOfGifLoops: number_of_gif_loops_1.getAndValidateNumberOfGifLoops,
|
|
155
|
+
getEveryNthFrame: every_nth_frame_1.getEveryNthFrame,
|
|
150
156
|
getConcurrency: concurrency_1.getConcurrency,
|
|
151
157
|
getCurrentPuppeteerTimeout: timeout_1.getCurrentPuppeteerTimeout,
|
|
152
158
|
getQuality: quality_1.getQuality,
|
|
@@ -168,6 +174,14 @@ exports.ConfigInternals = {
|
|
|
168
174
|
setEnforceAudioTrack: enforce_audio_track_1.setEnforceAudioTrack,
|
|
169
175
|
getKeyboardShortcutsEnabled: keyboard_shortcuts_1.getKeyboardShortcutsEnabled,
|
|
170
176
|
getPublicDir: public_dir_1.getPublicDir,
|
|
177
|
+
getFfmpegOverrideFunction: ffmpeg_override_1.getFfmpegOverrideFunction,
|
|
178
|
+
getAudioBitrate: bitrate_1.getAudioBitrate,
|
|
179
|
+
getVideoBitrate: bitrate_1.getVideoBitrate,
|
|
180
|
+
getHeight: height_1.getHeight,
|
|
181
|
+
getWidth: width_1.getWidth,
|
|
182
|
+
getCrfOrUndefined: crf_1.getCrfOrUndefined,
|
|
183
|
+
getEntryPoint: entry_point_1.getEntryPoint,
|
|
184
|
+
getNumberOfGifLoops: number_of_gif_loops_1.getNumberOfGifLoops,
|
|
171
185
|
};
|
|
172
186
|
const overrideRemotion = () => {
|
|
173
187
|
Object.assign(remotion_1.Config, exports.Config);
|
|
File without changes
|
|
File without changes
|
package/dist/config/log.d.ts
CHANGED
|
File without changes
|
package/dist/config/log.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/config/muted.d.ts
CHANGED
|
File without changes
|
package/dist/config/muted.js
CHANGED
|
File without changes
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { Codec } from '@remotion/renderer';
|
|
2
1
|
export declare type Loop = number | null;
|
|
3
2
|
export declare const setNumberOfGifLoops: (newLoop: Loop | null) => void;
|
|
4
|
-
export declare const
|
|
3
|
+
export declare const getNumberOfGifLoops: () => Loop;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.getNumberOfGifLoops = exports.setNumberOfGifLoops = void 0;
|
|
4
4
|
let currentLoop = null;
|
|
5
5
|
const setNumberOfGifLoops = (newLoop) => {
|
|
6
6
|
if (newLoop !== null && typeof newLoop !== 'number') {
|
|
@@ -9,13 +9,7 @@ const setNumberOfGifLoops = (newLoop) => {
|
|
|
9
9
|
currentLoop = newLoop;
|
|
10
10
|
};
|
|
11
11
|
exports.setNumberOfGifLoops = setNumberOfGifLoops;
|
|
12
|
-
const
|
|
13
|
-
if (currentLoop === null) {
|
|
14
|
-
return currentLoop;
|
|
15
|
-
}
|
|
16
|
-
if (codec !== 'gif') {
|
|
17
|
-
throw new Error(`The "numberOfGifLoops" setting can only be used for GIFs. The codec is set to ${codec}`);
|
|
18
|
-
}
|
|
12
|
+
const getNumberOfGifLoops = () => {
|
|
19
13
|
return currentLoop;
|
|
20
14
|
};
|
|
21
|
-
exports.
|
|
15
|
+
exports.getNumberOfGifLoops = getNumberOfGifLoops;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/config/overwrite.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getShouldOverwrite = exports.setOverwriteOutput = void 0;
|
|
4
|
-
|
|
5
|
-
let shouldOverwrite = renderer_1.RenderInternals.DEFAULT_OVERWRITE;
|
|
4
|
+
let shouldOverwrite = null;
|
|
6
5
|
const setOverwriteOutput = (newOverwrite) => {
|
|
7
6
|
if (typeof newOverwrite !== 'boolean') {
|
|
8
7
|
throw new Error(`overwriteExisting must be a boolean but got ${typeof newOverwrite} (${JSON.stringify(newOverwrite)})`);
|
|
@@ -10,5 +9,5 @@ const setOverwriteOutput = (newOverwrite) => {
|
|
|
10
9
|
shouldOverwrite = newOverwrite;
|
|
11
10
|
};
|
|
12
11
|
exports.setOverwriteOutput = setOverwriteOutput;
|
|
13
|
-
const getShouldOverwrite = () => shouldOverwrite;
|
|
12
|
+
const getShouldOverwrite = ({ defaultValue, }) => shouldOverwrite !== null && shouldOverwrite !== void 0 ? shouldOverwrite : defaultValue;
|
|
14
13
|
exports.getShouldOverwrite = getShouldOverwrite;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/config/quality.d.ts
CHANGED
|
File without changes
|
package/dist/config/quality.js
CHANGED
|
File without changes
|
package/dist/config/scale.d.ts
CHANGED
|
File without changes
|
package/dist/config/scale.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/config/timeout.d.ts
CHANGED
|
File without changes
|
package/dist/config/timeout.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getWidth = exports.overrideWidth = void 0;
|
|
4
|
+
// eslint-disable-next-line no-restricted-imports
|
|
5
|
+
const remotion_1 = require("remotion");
|
|
6
|
+
let passedWidth = null;
|
|
7
|
+
const overrideWidth = (newWidth) => {
|
|
8
|
+
if (typeof newWidth !== 'number') {
|
|
9
|
+
remotion_1.Internals.validateDimension(newWidth, 'width', 'passed to `setWidth()`');
|
|
10
|
+
}
|
|
11
|
+
passedWidth = newWidth;
|
|
12
|
+
};
|
|
13
|
+
exports.overrideWidth = overrideWidth;
|
|
14
|
+
const getWidth = () => {
|
|
15
|
+
return passedWidth;
|
|
16
|
+
};
|
|
17
|
+
exports.getWidth = getWidth;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ImageFormat, StillImageFormat } from '@remotion/renderer';
|
|
2
|
+
export declare const determineFinalImageFormat: ({ downloadName, outName, configImageFormat, cliFlag, isLambda, }: {
|
|
3
|
+
downloadName: string | null;
|
|
4
|
+
outName: string | null;
|
|
5
|
+
configImageFormat: ImageFormat | null;
|
|
6
|
+
cliFlag: ImageFormat | null;
|
|
7
|
+
isLambda: boolean;
|
|
8
|
+
}) => {
|
|
9
|
+
format: StillImageFormat;
|
|
10
|
+
source: string;
|
|
11
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.determineFinalImageFormat = void 0;
|
|
4
|
+
const deriveExtensionFromFilename = (filename) => {
|
|
5
|
+
if (filename === null || filename === void 0 ? void 0 : filename.endsWith('.png')) {
|
|
6
|
+
return 'png';
|
|
7
|
+
}
|
|
8
|
+
if (filename === null || filename === void 0 ? void 0 : filename.endsWith('.jpg')) {
|
|
9
|
+
return 'jpeg';
|
|
10
|
+
}
|
|
11
|
+
if (filename === null || filename === void 0 ? void 0 : filename.endsWith('.jpeg')) {
|
|
12
|
+
return 'jpeg';
|
|
13
|
+
}
|
|
14
|
+
return null;
|
|
15
|
+
};
|
|
16
|
+
const determineFinalImageFormat = ({ downloadName, outName, configImageFormat, cliFlag, isLambda, }) => {
|
|
17
|
+
const outNameExtension = deriveExtensionFromFilename(outName);
|
|
18
|
+
const downloadNameExtension = deriveExtensionFromFilename(downloadName);
|
|
19
|
+
const outNameDescription = isLambda ? 'S3 output key' : 'out name';
|
|
20
|
+
if (outNameExtension &&
|
|
21
|
+
downloadNameExtension &&
|
|
22
|
+
outNameExtension !== downloadNameExtension) {
|
|
23
|
+
throw new TypeError(`Image format mismatch: ${outName} was given as the ${outNameDescription} and ${downloadName} was given as the download name, but the extensions don't match.`);
|
|
24
|
+
}
|
|
25
|
+
if (downloadNameExtension) {
|
|
26
|
+
if (cliFlag && downloadNameExtension !== cliFlag) {
|
|
27
|
+
throw new TypeError(`Image format mismatch: ${downloadName} was given as the download name, but --image-format=${cliFlag} was passed. The image formats must match.`);
|
|
28
|
+
}
|
|
29
|
+
return { format: downloadNameExtension, source: 'Download name extension' };
|
|
30
|
+
}
|
|
31
|
+
if (outNameExtension) {
|
|
32
|
+
if (cliFlag && outNameExtension !== cliFlag) {
|
|
33
|
+
throw new TypeError(`Image format mismatch: ${outName} was given as the ${outNameDescription}, but --image-format=${cliFlag} was passed. The image formats must match.`);
|
|
34
|
+
}
|
|
35
|
+
return { format: outNameExtension, source: 'Out name extension' };
|
|
36
|
+
}
|
|
37
|
+
if (cliFlag === 'none') {
|
|
38
|
+
throw new TypeError('The --image-format flag must not be "none" for stills.');
|
|
39
|
+
}
|
|
40
|
+
if (cliFlag !== null) {
|
|
41
|
+
return { format: cliFlag, source: '--image-format flag' };
|
|
42
|
+
}
|
|
43
|
+
if (configImageFormat !== null && configImageFormat !== 'none') {
|
|
44
|
+
return { format: configImageFormat, source: 'Config file' };
|
|
45
|
+
}
|
|
46
|
+
return { format: 'png', source: 'Default' };
|
|
47
|
+
};
|
|
48
|
+
exports.determineFinalImageFormat = determineFinalImageFormat;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -122,8 +122,12 @@ const Canvas = () => {
|
|
|
122
122
|
if (!current) {
|
|
123
123
|
return;
|
|
124
124
|
}
|
|
125
|
-
current.addEventListener('wheel', onWheel);
|
|
126
|
-
return () =>
|
|
125
|
+
current.addEventListener('wheel', onWheel, { passive: false });
|
|
126
|
+
return () =>
|
|
127
|
+
// @ts-expect-error
|
|
128
|
+
current.removeEventListener('wheel', onWheel, {
|
|
129
|
+
passive: false,
|
|
130
|
+
});
|
|
127
131
|
}, [onWheel]);
|
|
128
132
|
const onReset = (0, react_1.useCallback)(() => {
|
|
129
133
|
setSize(() => {
|
|
@@ -188,18 +192,21 @@ const Canvas = () => {
|
|
|
188
192
|
key: '0',
|
|
189
193
|
commandCtrlKey: false,
|
|
190
194
|
callback: onReset,
|
|
195
|
+
preventDefault: true,
|
|
191
196
|
});
|
|
192
197
|
const zoomIn = keybindings.registerKeybinding({
|
|
193
198
|
event: 'keydown',
|
|
194
199
|
key: '+',
|
|
195
200
|
commandCtrlKey: false,
|
|
196
201
|
callback: onZoomIn,
|
|
202
|
+
preventDefault: true,
|
|
197
203
|
});
|
|
198
204
|
const zoomOut = keybindings.registerKeybinding({
|
|
199
205
|
event: 'keydown',
|
|
200
206
|
key: '-',
|
|
201
207
|
commandCtrlKey: false,
|
|
202
208
|
callback: onZoomOut,
|
|
209
|
+
preventDefault: true,
|
|
203
210
|
});
|
|
204
211
|
return () => {
|
|
205
212
|
resetBinding.unregister();
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -15,10 +15,10 @@ const z_index_1 = require("../state/z-index");
|
|
|
15
15
|
const EditorContent_1 = require("./EditorContent");
|
|
16
16
|
const FramePersistor_1 = require("./FramePersistor");
|
|
17
17
|
const GlobalKeybindings_1 = require("./GlobalKeybindings");
|
|
18
|
-
const KeyboardShortcutsModal_1 = require("./KeyboardShortcutsModal");
|
|
19
18
|
const NewComposition_1 = __importDefault(require("./NewComposition/NewComposition"));
|
|
20
19
|
const NoRegisterRoot_1 = require("./NoRegisterRoot");
|
|
21
20
|
const NotificationCenter_1 = require("./Notifications/NotificationCenter");
|
|
21
|
+
const QuickSwitcher_1 = __importDefault(require("./QuickSwitcher/QuickSwitcher"));
|
|
22
22
|
const UpdateModal_1 = require("./UpdateModal/UpdateModal");
|
|
23
23
|
const ZoomPersistor_1 = require("./ZoomPersistor");
|
|
24
24
|
const background = {
|
|
@@ -48,6 +48,8 @@ const Editor = () => {
|
|
|
48
48
|
});
|
|
49
49
|
return () => cleanup();
|
|
50
50
|
}, [Root, waitForRoot]);
|
|
51
|
-
return ((0, jsx_runtime_1.jsxs)(z_index_1.HigherZIndex, { onEscape: noop_1.noop, onOutsideClick: noop_1.noop, children: [(0, jsx_runtime_1.jsx)(timeline_zoom_1.TimelineZoomContext, { children: (0, jsx_runtime_1.jsxs)("div", { style: background, children: [Root === null ? null : (0, jsx_runtime_1.jsx)(Root, {}), (0, jsx_runtime_1.jsxs)(remotion_1.Internals.CanUseRemotionHooksProvider, { children: [(0, jsx_runtime_1.jsx)(FramePersistor_1.FramePersistor, {}), (0, jsx_runtime_1.jsx)(ZoomPersistor_1.ZoomPersistor, {}), Root === null ? (0, jsx_runtime_1.jsx)(NoRegisterRoot_1.NoRegisterRoot, {}) : (0, jsx_runtime_1.jsx)(EditorContent_1.EditorContent, {}), (0, jsx_runtime_1.jsx)(GlobalKeybindings_1.GlobalKeybindings, {})] })
|
|
51
|
+
return ((0, jsx_runtime_1.jsxs)(z_index_1.HigherZIndex, { onEscape: noop_1.noop, onOutsideClick: noop_1.noop, children: [(0, jsx_runtime_1.jsx)(timeline_zoom_1.TimelineZoomContext, { children: (0, jsx_runtime_1.jsxs)("div", { style: background, children: [Root === null ? null : (0, jsx_runtime_1.jsx)(Root, {}), (0, jsx_runtime_1.jsxs)(remotion_1.Internals.CanUseRemotionHooksProvider, { children: [(0, jsx_runtime_1.jsx)(FramePersistor_1.FramePersistor, {}), (0, jsx_runtime_1.jsx)(ZoomPersistor_1.ZoomPersistor, {}), Root === null ? (0, jsx_runtime_1.jsx)(NoRegisterRoot_1.NoRegisterRoot, {}) : (0, jsx_runtime_1.jsx)(EditorContent_1.EditorContent, {}), (0, jsx_runtime_1.jsx)(GlobalKeybindings_1.GlobalKeybindings, {})] }), (0, jsx_runtime_1.jsx)(NotificationCenter_1.NotificationCenter, {}), modalContextType && modalContextType.type === 'quick-switcher' && (
|
|
52
|
+
// Quick switcher here because requires timeline zoom ctx
|
|
53
|
+
(0, jsx_runtime_1.jsx)(QuickSwitcher_1.default, { invocationTimestamp: modalContextType.invocationTimestamp, initialMode: modalContextType.mode }))] }) }), modalContextType && modalContextType.type === 'new-comp' && ((0, jsx_runtime_1.jsx)(NewComposition_1.default, { initialCompType: modalContextType.compType })), modalContextType && modalContextType.type === 'update' && ((0, jsx_runtime_1.jsx)(UpdateModal_1.UpdateModal, { info: modalContextType.info }))] }));
|
|
52
54
|
};
|
|
53
55
|
exports.Editor = Editor;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -20,6 +20,20 @@ const GlobalKeybindings = () => {
|
|
|
20
20
|
});
|
|
21
21
|
},
|
|
22
22
|
commandCtrlKey: false,
|
|
23
|
+
preventDefault: true,
|
|
24
|
+
});
|
|
25
|
+
const cmdKKey = keybindings.registerKeybinding({
|
|
26
|
+
event: 'keydown',
|
|
27
|
+
key: 'k',
|
|
28
|
+
callback: () => {
|
|
29
|
+
setSelectedModal({
|
|
30
|
+
type: 'quick-switcher',
|
|
31
|
+
mode: 'compositions',
|
|
32
|
+
invocationTimestamp: Date.now(),
|
|
33
|
+
});
|
|
34
|
+
},
|
|
35
|
+
commandCtrlKey: true,
|
|
36
|
+
preventDefault: true,
|
|
23
37
|
});
|
|
24
38
|
const cKey = keybindings.registerKeybinding({
|
|
25
39
|
event: 'keypress',
|
|
@@ -28,21 +42,26 @@ const GlobalKeybindings = () => {
|
|
|
28
42
|
setCheckerboard((c) => !c);
|
|
29
43
|
},
|
|
30
44
|
commandCtrlKey: true,
|
|
45
|
+
preventDefault: true,
|
|
31
46
|
});
|
|
32
47
|
const questionMark = keybindings.registerKeybinding({
|
|
33
48
|
event: 'keypress',
|
|
34
49
|
key: '?',
|
|
35
50
|
callback: () => {
|
|
36
51
|
setSelectedModal({
|
|
37
|
-
type: '
|
|
52
|
+
type: 'quick-switcher',
|
|
53
|
+
mode: 'docs',
|
|
54
|
+
invocationTimestamp: Date.now(),
|
|
38
55
|
});
|
|
39
56
|
},
|
|
40
57
|
commandCtrlKey: false,
|
|
58
|
+
preventDefault: true,
|
|
41
59
|
});
|
|
42
60
|
return () => {
|
|
43
61
|
nKey.unregister();
|
|
44
62
|
cKey.unregister();
|
|
45
63
|
questionMark.unregister();
|
|
64
|
+
cmdKKey.unregister();
|
|
46
65
|
};
|
|
47
66
|
}, [keybindings, setCheckerboard, setSelectedModal]);
|
|
48
67
|
return null;
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.KeyboardShortcutsExplainer = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const ShortcutHint_1 = require("../../preview-server/error-overlay/remotion-overlay/ShortcutHint");
|
|
6
|
+
const use_keybinding_1 = require("../helpers/use-keybinding");
|
|
7
|
+
const keys_1 = require("../icons/keys");
|
|
8
|
+
const layout_1 = require("./layout");
|
|
9
|
+
const left = {
|
|
10
|
+
width: 85,
|
|
11
|
+
paddingTop: 8,
|
|
12
|
+
paddingBottom: 8,
|
|
13
|
+
};
|
|
14
|
+
const key = {
|
|
15
|
+
background: '#333',
|
|
16
|
+
padding: '3px 6px',
|
|
17
|
+
color: 'white',
|
|
18
|
+
borderRadius: 3,
|
|
19
|
+
border: '1px solid black',
|
|
20
|
+
borderBottomWidth: 3,
|
|
21
|
+
fontSize: 13,
|
|
22
|
+
fontFamily: 'monospace',
|
|
23
|
+
};
|
|
24
|
+
const right = {
|
|
25
|
+
fontSize: 14,
|
|
26
|
+
color: '#eee',
|
|
27
|
+
};
|
|
28
|
+
const container = {
|
|
29
|
+
paddingLeft: 20,
|
|
30
|
+
paddingRight: 40,
|
|
31
|
+
paddingTop: 10,
|
|
32
|
+
paddingBottom: 10,
|
|
33
|
+
};
|
|
34
|
+
const title = {
|
|
35
|
+
fontWeight: 'bold',
|
|
36
|
+
color: 'white',
|
|
37
|
+
fontSize: 14,
|
|
38
|
+
marginBottom: 10,
|
|
39
|
+
};
|
|
40
|
+
const keyboardShortcutsDisabled = {
|
|
41
|
+
padding: 12,
|
|
42
|
+
width: '100%',
|
|
43
|
+
fontSize: 14,
|
|
44
|
+
backgroundColor: 'rgba(255, 255, 255, 0.1)',
|
|
45
|
+
};
|
|
46
|
+
const ul = {
|
|
47
|
+
marginTop: 0,
|
|
48
|
+
marginBottom: 0,
|
|
49
|
+
};
|
|
50
|
+
const li = {
|
|
51
|
+
fontSize: 14,
|
|
52
|
+
};
|
|
53
|
+
const KeyboardShortcutsExplainer = () => {
|
|
54
|
+
return ((0, jsx_runtime_1.jsxs)("div", { children: [(0, use_keybinding_1.areKeyboardShortcutsDisabled)() ? ((0, jsx_runtime_1.jsxs)("div", { style: keyboardShortcutsDisabled, children: ["Keyboard shortcuts disabled either due to:", (0, jsx_runtime_1.jsxs)("ul", { style: ul, children: [(0, jsx_runtime_1.jsx)("li", { style: li, children: "a) --disable-keyboard-shortcuts being passed" }), (0, jsx_runtime_1.jsx)("li", { style: li, children: "b) Config.Preview.setKeyboardShortcutsEnabled(false) being set or" }), (0, jsx_runtime_1.jsx)("li", { style: li, children: " c) a Remotion version mismatch." })] })] })) : null, (0, jsx_runtime_1.jsxs)(layout_1.Row, { style: container, children: [(0, jsx_runtime_1.jsxs)(layout_1.Column, { children: [(0, jsx_runtime_1.jsx)("div", { style: title, children: "Playback" }), (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsxs)("div", { style: left, children: [(0, jsx_runtime_1.jsx)("kbd", { style: key, children: (0, jsx_runtime_1.jsx)(keys_1.ShiftIcon, {}) }), (0, jsx_runtime_1.jsx)(layout_1.Spacing, { x: 0.3 }), (0, jsx_runtime_1.jsx)("kbd", { style: key, children: (0, jsx_runtime_1.jsx)(keys_1.ArrowLeft, {}) })] }), (0, jsx_runtime_1.jsx)("div", { style: right, children: "1 second back" })] }), (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsx)("div", { style: left, children: (0, jsx_runtime_1.jsx)("kbd", { style: key, children: (0, jsx_runtime_1.jsx)(keys_1.ArrowLeft, {}) }) }), (0, jsx_runtime_1.jsx)("div", { style: right, children: "Previous frame" })] }), (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsx)("div", { style: left, children: (0, jsx_runtime_1.jsx)("kbd", { style: key, children: "Space" }) }), (0, jsx_runtime_1.jsx)("div", { style: right, children: "Play / Pause" })] }), (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsx)("div", { style: left, children: (0, jsx_runtime_1.jsx)("kbd", { style: key, children: (0, jsx_runtime_1.jsx)(keys_1.ArrowRight, {}) }) }), (0, jsx_runtime_1.jsx)("div", { style: right, children: "Next frame" })] }), (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsxs)("div", { style: left, children: [(0, jsx_runtime_1.jsx)("kbd", { style: key, children: (0, jsx_runtime_1.jsx)(keys_1.ShiftIcon, {}) }), (0, jsx_runtime_1.jsx)(layout_1.Spacing, { x: 0.3 }), (0, jsx_runtime_1.jsx)("kbd", { style: key, children: (0, jsx_runtime_1.jsx)(keys_1.ArrowRight, {}) })] }), (0, jsx_runtime_1.jsx)("div", { style: right, children: "1 second forward" })] }), (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsx)("div", { style: left, children: (0, jsx_runtime_1.jsx)("kbd", { style: key, children: "A" }) }), (0, jsx_runtime_1.jsx)("div", { style: right, children: "Jump to beginning" })] }), (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsx)("div", { style: left, children: (0, jsx_runtime_1.jsx)("kbd", { style: key, children: "E" }) }), (0, jsx_runtime_1.jsx)("div", { style: right, children: "Jump to end" })] }), (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsx)("div", { style: left, children: (0, jsx_runtime_1.jsx)("kbd", { style: key, children: "J" }) }), (0, jsx_runtime_1.jsx)("div", { style: right, children: "Reverse playback" })] }), (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsx)("div", { style: left, children: (0, jsx_runtime_1.jsx)("kbd", { style: key, children: "K" }) }), (0, jsx_runtime_1.jsx)("div", { style: right, children: "Pause" })] }), (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsx)("div", { style: left, children: (0, jsx_runtime_1.jsx)("kbd", { style: key, children: "L" }) }), (0, jsx_runtime_1.jsx)("div", { style: right, children: "Play / Speed up" })] }), (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsx)("div", { style: left, children: (0, jsx_runtime_1.jsx)("kbd", { style: key, children: "Enter" }) }), (0, jsx_runtime_1.jsx)("div", { style: right, children: "Pause & return to playback start" })] }), (0, jsx_runtime_1.jsx)("br", {})] }), (0, jsx_runtime_1.jsx)(layout_1.Spacing, { x: 8 }), (0, jsx_runtime_1.jsxs)(layout_1.Column, { children: [(0, jsx_runtime_1.jsx)("div", { style: title, children: "Navigation" }), (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsx)("div", { style: left, children: (0, jsx_runtime_1.jsx)("kbd", { style: key, children: "N" }) }), (0, jsx_runtime_1.jsx)("div", { style: right, children: "New composition" })] }), (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsx)("div", { style: left, children: (0, jsx_runtime_1.jsx)("kbd", { style: key, children: "T" }) }), (0, jsx_runtime_1.jsx)("div", { style: right, children: "Toggle checkerboard transparency" })] }), (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsx)("div", { style: left, children: (0, jsx_runtime_1.jsx)("kbd", { style: key, children: "?" }) }), (0, jsx_runtime_1.jsx)("div", { style: right, children: "Show keyboard shortcuts" })] }), (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsxs)("div", { style: left, children: [(0, jsx_runtime_1.jsx)("kbd", { style: key, children: ShortcutHint_1.cmdOrCtrlCharacter }), (0, jsx_runtime_1.jsx)(layout_1.Spacing, { x: 0.3 }), (0, jsx_runtime_1.jsx)("kbd", { style: key, children: "K" })] }), (0, jsx_runtime_1.jsx)("div", { style: right, children: "Quick Switcher" })] }), (0, jsx_runtime_1.jsx)("br", {}), (0, jsx_runtime_1.jsx)("div", { style: title, children: "Playback range" }), (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsx)("div", { style: left, children: (0, jsx_runtime_1.jsx)("kbd", { style: key, children: "I" }) }), (0, jsx_runtime_1.jsx)("div", { style: right, children: "Set In Point" })] }), (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsx)("div", { style: left, children: (0, jsx_runtime_1.jsx)("kbd", { style: key, children: "O" }) }), (0, jsx_runtime_1.jsx)("div", { style: right, children: "Set Out Point" })] }), (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsx)("div", { style: left, children: (0, jsx_runtime_1.jsx)("kbd", { style: key, children: "X" }) }), (0, jsx_runtime_1.jsx)("div", { style: right, children: "Clear In/Out Points" })] }), (0, jsx_runtime_1.jsx)("br", {}), (0, jsx_runtime_1.jsx)("div", { style: title, children: "Zoom" }), (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsx)("div", { style: left, children: (0, jsx_runtime_1.jsx)("kbd", { style: key, children: "+" }) }), (0, jsx_runtime_1.jsx)("div", { style: right, children: "Zoom in" })] }), (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsx)("div", { style: left, children: (0, jsx_runtime_1.jsx)("kbd", { style: key, children: "-" }) }), (0, jsx_runtime_1.jsx)("div", { style: right, children: "Zoom out" })] }), (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsx)("div", { style: left, children: (0, jsx_runtime_1.jsx)("kbd", { style: key, children: "0" }) }), (0, jsx_runtime_1.jsx)("div", { style: right, children: "Reset zoom" })] })] })] })] }));
|
|
55
|
+
};
|
|
56
|
+
exports.KeyboardShortcutsExplainer = KeyboardShortcutsExplainer;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|