@remotion/cli 4.0.0-alpha.4 → 4.0.0-alpha4
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 +182 -0
- package/dist/better-opn/index.d.ts +6 -0
- package/dist/better-opn/index.js +202 -0
- package/dist/chalk/index.d.ts +0 -0
- package/dist/chalk/index.js +0 -0
- package/dist/cleanup-before-quit.d.ts +3 -0
- package/dist/cleanup-before-quit.js +23 -0
- package/dist/code-frame.d.ts +0 -0
- package/dist/code-frame.js +18 -7
- 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 +15 -57
- package/dist/config/audio-codec.d.ts +3 -0
- package/dist/config/audio-codec.js +20 -0
- 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 +2 -2
- 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 +2 -0
- package/dist/config/enforce-audio-track.js +13 -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 +14 -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 +23 -5
- package/dist/config/index.js +108 -52
- package/dist/config/keyboard-shortcuts.d.ts +2 -0
- package/dist/config/keyboard-shortcuts.js +12 -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 +2 -0
- package/dist/config/muted.js +13 -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/number-of-shared-audio-tags.d.ts +2 -0
- package/dist/config/number-of-shared-audio-tags.js +12 -0
- package/dist/config/open-browser.d.ts +2 -0
- package/dist/config/open-browser.js +15 -0
- 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 +2 -0
- package/dist/config/public-dir.js +12 -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 +6 -2
- package/dist/config/timeout.d.ts +0 -0
- package/dist/config/timeout.js +1 -1
- package/dist/config/user-agent.d.ts +4 -0
- package/dist/config/user-agent.js +12 -0
- package/dist/config/webpack-caching.d.ts +0 -0
- package/dist/config/webpack-caching.js +0 -0
- package/dist/config/webpack-poll.d.ts +2 -0
- package/dist/config/webpack-poll.js +16 -0
- package/dist/config/width.d.ts +2 -0
- package/dist/config/width.js +16 -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 +1 -0
- package/dist/editor/components/AudioWaveform.js +10 -3
- 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 +198 -1
- package/dist/editor/components/CheckboardToggle.d.ts +0 -0
- package/dist/editor/components/CheckboardToggle.js +8 -1
- 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 +3 -16
- 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 +7 -91
- package/dist/editor/components/EditorContent.d.ts +0 -0
- package/dist/editor/components/EditorContent.js +0 -0
- package/dist/editor/components/EditorContexts.d.ts +4 -0
- package/dist/editor/components/EditorContexts.js +98 -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 +13 -0
- package/dist/editor/components/KeyboardShortcutsExplainer.d.ts +2 -0
- package/dist/editor/components/KeyboardShortcutsExplainer.js +56 -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 +2 -1
- package/dist/editor/components/Menu/MenuItem.js +20 -3
- package/dist/editor/components/Menu/MenuSubItem.d.ts +0 -0
- package/dist/editor/components/Menu/MenuSubItem.js +4 -2
- package/dist/editor/components/Menu/SubMenu.d.ts +0 -0
- package/dist/editor/components/Menu/SubMenu.js +0 -0
- package/dist/editor/components/Menu/is-menu-item.d.ts +3 -0
- package/dist/editor/components/Menu/is-menu-item.js +12 -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 -2
- 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 -444
- 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 +39 -3
- 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 +1 -0
- package/dist/editor/components/NewComposition/InputDragger.js +23 -4
- package/dist/editor/components/NewComposition/MenuContent.d.ts +0 -0
- package/dist/editor/components/NewComposition/MenuContent.js +11 -1
- 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 +5 -3
- package/dist/editor/components/NewComposition/NewComposition.d.ts +0 -0
- package/dist/editor/components/NewComposition/NewComposition.js +8 -5
- package/dist/editor/components/NewComposition/RemInput.d.ts +3 -1
- 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 +6 -0
- package/dist/editor/components/Notifications/ServerDisconnected.js +59 -0
- package/dist/editor/components/PlayPause.d.ts +0 -0
- package/dist/editor/components/PlayPause.js +49 -24
- package/dist/editor/components/PlaybackKeyboardShortcutsManager.d.ts +0 -0
- package/dist/editor/components/PlaybackKeyboardShortcutsManager.js +9 -18
- 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 +6 -0
- package/dist/editor/components/Preview.d.ts +1 -0
- package/dist/editor/components/Preview.js +17 -9
- package/dist/editor/components/PreviewToolbar.d.ts +0 -0
- package/dist/editor/components/PreviewToolbar.js +2 -2
- 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/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 +4 -0
- package/dist/editor/components/ResetZoomButton.js +9 -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 +2 -1
- package/dist/editor/components/SizeSelector.js +59 -18
- 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 +2 -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 +8 -5
- 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 +1 -0
- package/dist/editor/components/Timeline/MaxTimelineTracks.js +6 -4
- package/dist/editor/components/Timeline/Timeline.d.ts +0 -0
- package/dist/editor/components/Timeline/Timeline.js +22 -9
- 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 +120 -23
- 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 +5 -4
- package/dist/editor/components/Timeline/TimelineListItem.d.ts +1 -0
- package/dist/editor/components/Timeline/TimelineListItem.js +17 -5
- package/dist/editor/components/Timeline/TimelinePlayCursorSyncer.d.ts +0 -0
- package/dist/editor/components/Timeline/TimelinePlayCursorSyncer.js +3 -2
- package/dist/editor/components/Timeline/TimelineScrollable.d.ts +0 -0
- package/dist/editor/components/Timeline/TimelineScrollable.js +3 -1
- package/dist/editor/components/Timeline/TimelineSequence.d.ts +0 -0
- package/dist/editor/components/Timeline/TimelineSequence.js +1 -1
- 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 +3 -0
- package/dist/editor/components/Timeline/TimelineSlider.js +35 -2
- package/dist/editor/components/Timeline/TimelineSliderHandle.d.ts +0 -0
- package/dist/editor/components/Timeline/TimelineSliderHandle.js +1 -3
- package/dist/editor/components/Timeline/TimelineTimeIndicators.d.ts +1 -1
- package/dist/editor/components/Timeline/TimelineTimeIndicators.js +106 -17
- package/dist/editor/components/Timeline/TimelineTracks.d.ts +0 -0
- package/dist/editor/components/Timeline/TimelineTracks.js +14 -9
- 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 +3 -1
- package/dist/editor/components/Timeline/imperative-state.d.ts +3 -0
- package/dist/editor/components/Timeline/imperative-state.js +10 -1
- 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 +2 -0
- package/dist/editor/components/Timeline/timeline-refs.js +3 -1
- package/dist/editor/components/Timeline/timeline-scroll-logic.d.ts +1 -1
- package/dist/editor/components/Timeline/timeline-scroll-logic.js +10 -7
- 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 +2 -2
- package/dist/editor/components/TimelineInOutToggle.js +69 -17
- 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 +1 -1
- package/dist/editor/components/ZoomPersistor.js +4 -4
- 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 +2 -1
- package/dist/editor/helpers/colors.js +2 -1
- 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 +26 -0
- package/dist/editor/helpers/get-effective-translation.js +45 -0
- package/dist/editor/helpers/get-left-of-timeline-slider.d.ts +1 -0
- package/dist/editor/helpers/get-left-of-timeline-slider.js +7 -4
- 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 +29 -9
- 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 +4 -0
- package/dist/editor/helpers/is-current-selected-still.js +15 -1
- package/dist/editor/helpers/noop.d.ts +0 -0
- package/dist/editor/helpers/noop.js +0 -0
- package/dist/editor/helpers/open-in-editor.d.ts +2 -0
- package/dist/editor/helpers/open-in-editor.js +22 -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 +2 -0
- package/dist/editor/helpers/use-keybinding.js +16 -2
- package/dist/editor/helpers/use-menu-structure.d.ts +7 -0
- package/dist/editor/helpers/use-menu-structure.js +657 -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/editor-zoom-gestures.d.ts +9 -0
- package/dist/editor/state/editor-zoom-gestures.js +17 -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 +5 -2
- package/dist/editor/state/preview-size.js +49 -5
- 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 +25 -11
- package/dist/entry-point.d.ts +5 -0
- package/dist/entry-point.js +89 -0
- package/dist/event-source-events.d.ts +7 -0
- package/dist/event-source-events.js +0 -0
- package/dist/event-source.d.ts +0 -0
- package/dist/event-source.js +20 -1
- package/dist/format-bytes.d.ts +0 -0
- package/dist/format-bytes.js +0 -0
- package/dist/get-audio-codec.d.ts +2 -0
- package/dist/get-audio-codec.js +10 -0
- package/dist/get-cli-options.d.ts +21 -6
- package/dist/get-cli-options.js +47 -56
- 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 -3
- package/dist/get-filename.js +7 -23
- package/dist/get-final-output-codec.d.ts +9 -5
- package/dist/get-final-output-codec.js +51 -57
- package/dist/get-input-props.d.ts +4 -0
- package/dist/get-input-props.js +4 -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 +55 -0
- package/dist/handle-common-errors.d.ts +0 -0
- package/dist/handle-common-errors.js +28 -1
- package/dist/image-formats.d.ts +0 -0
- package/dist/image-formats.js +0 -0
- package/dist/index.d.ts +47 -11
- package/dist/index.js +44 -20
- package/dist/initialize-cli.d.ts +1 -0
- package/dist/{initialize-render-cli.js → initialize-cli.js} +4 -4
- package/dist/install.d.ts +2 -0
- package/dist/install.js +36 -0
- 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 +4 -7
- package/dist/list-of-remotion-packages.d.ts +1 -0
- package/dist/list-of-remotion-packages.js +27 -0
- package/dist/load-config.d.ts +0 -0
- package/dist/load-config.js +6 -16
- 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 +14 -1
- package/dist/parse-command-line.d.ts +23 -4
- package/dist/parse-command-line.js +59 -35
- 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 +3 -4
- 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/env-supports-fs-recursive.d.ts +1 -0
- package/dist/preview-server/env-supports-fs-recursive.js +18 -0
- package/dist/preview-server/error-overlay/entry-basic.d.ts +0 -0
- package/dist/preview-server/error-overlay/entry-basic.js +2 -2
- 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 +9 -1
- 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 +1 -3
- package/dist/preview-server/error-overlay/react-overlay/utils/open-in-editor.d.ts +1 -1
- package/dist/preview-server/error-overlay/react-overlay/utils/open-in-editor.js +28 -18
- 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 +1 -0
- package/dist/preview-server/error-overlay/remotion-overlay/Button.js +9 -2
- package/dist/preview-server/error-overlay/remotion-overlay/CodeFrame.d.ts +0 -0
- package/dist/preview-server/error-overlay/remotion-overlay/CodeFrame.js +2 -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 +4 -2
- package/dist/preview-server/error-overlay/remotion-overlay/ErrorTitle.d.ts +0 -0
- package/dist/preview-server/error-overlay/remotion-overlay/ErrorTitle.js +1 -1
- package/dist/preview-server/error-overlay/remotion-overlay/HelpLink.d.ts +0 -0
- package/dist/preview-server/error-overlay/remotion-overlay/HelpLink.js +6 -1
- package/dist/preview-server/error-overlay/remotion-overlay/OpenInEditor.d.ts +0 -0
- package/dist/preview-server/error-overlay/remotion-overlay/OpenInEditor.js +3 -9
- 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 +3 -1
- 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 +30 -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-absolute-public-dir.d.ts +4 -0
- package/dist/preview-server/get-absolute-public-dir.js +14 -0
- package/dist/preview-server/get-package-manager.d.ts +2 -1
- package/dist/preview-server/get-package-manager.js +18 -2
- 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 +94 -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 +5 -6
- 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 +4 -0
- package/dist/preview-server/project-info.d.ts +0 -0
- package/dist/preview-server/project-info.js +9 -1
- package/dist/preview-server/public-folder.d.ts +17 -0
- package/dist/preview-server/public-folder.js +56 -0
- package/dist/preview-server/routes.d.ts +3 -1
- package/dist/preview-server/routes.js +34 -6
- package/dist/preview-server/serve-static.d.ts +0 -0
- package/dist/preview-server/serve-static.js +2 -1
- package/dist/preview-server/start-server.d.ts +12 -4
- package/dist/preview-server/start-server.js +56 -23
- 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 +98 -12
- package/dist/previewEntry.d.ts +0 -0
- package/dist/previewEntry.js +9 -3
- package/dist/print-compositions.d.ts +2 -0
- package/dist/print-compositions.js +50 -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 +18 -3
- package/dist/progress-bar.d.ts +13 -1
- package/dist/progress-bar.js +51 -5
- package/dist/render.d.ts +1 -1
- package/dist/render.js +78 -69
- 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 +5 -3
- package/dist/setup-cache.js +66 -14
- package/dist/smooth-zoom.d.ts +4 -0
- package/dist/smooth-zoom.js +20 -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 +47 -50
- package/dist/truthy.d.ts +0 -0
- package/dist/truthy.js +0 -0
- package/dist/upgrade.d.ts +1 -1
- package/dist/upgrade.js +18 -22
- package/dist/user-passed-output-location.d.ts +4 -2
- package/dist/user-passed-output-location.js +14 -10
- package/dist/versions.d.ts +0 -0
- package/dist/versions.js +3 -16
- package/package.json +72 -74
- package/styles/styles.css +2 -0
- package/web/favicon.png +0 -0
- package/.prettierrc.js +0 -14
- package/dist/ansi/ansi-diff.d.ts.map +0 -1
- package/dist/ansi/ansi-diff.js.map +0 -1
- package/dist/ansi/ansi-regex.d.ts.map +0 -1
- package/dist/ansi/ansi-regex.js.map +0 -1
- package/dist/ansi/ansi-split.d.ts.map +0 -1
- package/dist/ansi/ansi-split.js.map +0 -1
- package/dist/check-version.d.ts +0 -1
- package/dist/check-version.d.ts.map +0 -1
- package/dist/check-version.js +0 -14
- package/dist/check-version.js.map +0 -1
- package/dist/code-frame.d.ts.map +0 -1
- package/dist/code-frame.js.map +0 -1
- package/dist/compositions.d.ts.map +0 -1
- package/dist/compositions.js.map +0 -1
- package/dist/editor/components/AudioWaveform.d.ts.map +0 -1
- package/dist/editor/components/AudioWaveform.js.map +0 -1
- package/dist/editor/components/AudioWaveformBar.d.ts.map +0 -1
- package/dist/editor/components/AudioWaveformBar.js.map +0 -1
- package/dist/editor/components/Canvas.d.ts.map +0 -1
- package/dist/editor/components/Canvas.js.map +0 -1
- package/dist/editor/components/CheckboardToggle.d.ts.map +0 -1
- package/dist/editor/components/CheckboardToggle.js.map +0 -1
- package/dist/editor/components/ClipboardIcon.d.ts.map +0 -1
- package/dist/editor/components/ClipboardIcon.js.map +0 -1
- package/dist/editor/components/CompositionSelector.d.ts.map +0 -1
- package/dist/editor/components/CompositionSelector.js.map +0 -1
- package/dist/editor/components/CompositionSelectorItem.d.ts.map +0 -1
- package/dist/editor/components/CompositionSelectorItem.js.map +0 -1
- package/dist/editor/components/ControlButton.d.ts.map +0 -1
- package/dist/editor/components/ControlButton.js.map +0 -1
- package/dist/editor/components/CopyButton.d.ts.map +0 -1
- package/dist/editor/components/CopyButton.js.map +0 -1
- package/dist/editor/components/CurrentComposition.d.ts.map +0 -1
- package/dist/editor/components/CurrentComposition.js.map +0 -1
- package/dist/editor/components/Editor.d.ts.map +0 -1
- package/dist/editor/components/Editor.js.map +0 -1
- package/dist/editor/components/EditorContent.d.ts.map +0 -1
- package/dist/editor/components/EditorContent.js.map +0 -1
- package/dist/editor/components/FpsCounter.d.ts.map +0 -1
- package/dist/editor/components/FpsCounter.js.map +0 -1
- package/dist/editor/components/FramePersistor.d.ts.map +0 -1
- package/dist/editor/components/FramePersistor.js.map +0 -1
- package/dist/editor/components/GlobalKeybindings.d.ts.map +0 -1
- package/dist/editor/components/GlobalKeybindings.js.map +0 -1
- package/dist/editor/components/KeyboardShortcutsModal.d.ts +0 -2
- package/dist/editor/components/KeyboardShortcutsModal.d.ts.map +0 -1
- package/dist/editor/components/KeyboardShortcutsModal.js +0 -53
- package/dist/editor/components/KeyboardShortcutsModal.js.map +0 -1
- package/dist/editor/components/LoadingIndicator.d.ts +0 -3
- package/dist/editor/components/LoadingIndicator.d.ts.map +0 -1
- package/dist/editor/components/LoadingIndicator.js +0 -36
- package/dist/editor/components/LoadingIndicator.js.map +0 -1
- package/dist/editor/components/LoopToggle.d.ts.map +0 -1
- package/dist/editor/components/LoopToggle.js.map +0 -1
- package/dist/editor/components/Menu/MenuDivider.d.ts.map +0 -1
- package/dist/editor/components/Menu/MenuDivider.js.map +0 -1
- package/dist/editor/components/Menu/MenuItem.d.ts.map +0 -1
- package/dist/editor/components/Menu/MenuItem.js.map +0 -1
- package/dist/editor/components/Menu/MenuSubItem.d.ts.map +0 -1
- package/dist/editor/components/Menu/MenuSubItem.js.map +0 -1
- package/dist/editor/components/Menu/SubMenu.d.ts.map +0 -1
- package/dist/editor/components/Menu/SubMenu.js.map +0 -1
- package/dist/editor/components/Menu/portals.d.ts.map +0 -1
- package/dist/editor/components/Menu/portals.js.map +0 -1
- package/dist/editor/components/Menu/styles.d.ts.map +0 -1
- package/dist/editor/components/Menu/styles.js.map +0 -1
- package/dist/editor/components/MenuToolbar.d.ts.map +0 -1
- package/dist/editor/components/MenuToolbar.js.map +0 -1
- package/dist/editor/components/ModalContainer.d.ts.map +0 -1
- package/dist/editor/components/ModalContainer.js.map +0 -1
- package/dist/editor/components/ModalHeader.d.ts.map +0 -1
- package/dist/editor/components/ModalHeader.js.map +0 -1
- package/dist/editor/components/MuteToggle.d.ts.map +0 -1
- package/dist/editor/components/MuteToggle.js.map +0 -1
- package/dist/editor/components/NewComposition/CancelButton.d.ts.map +0 -1
- package/dist/editor/components/NewComposition/CancelButton.js.map +0 -1
- package/dist/editor/components/NewComposition/ComboBox.d.ts.map +0 -1
- package/dist/editor/components/NewComposition/ComboBox.js.map +0 -1
- package/dist/editor/components/NewComposition/CopyHint.d.ts.map +0 -1
- package/dist/editor/components/NewComposition/CopyHint.js.map +0 -1
- package/dist/editor/components/NewComposition/InputDragger.d.ts.map +0 -1
- package/dist/editor/components/NewComposition/InputDragger.js.map +0 -1
- package/dist/editor/components/NewComposition/MenuContent.d.ts.map +0 -1
- package/dist/editor/components/NewComposition/MenuContent.js.map +0 -1
- package/dist/editor/components/NewComposition/NewCompAspectRatio.d.ts.map +0 -1
- package/dist/editor/components/NewComposition/NewCompAspectRatio.js.map +0 -1
- package/dist/editor/components/NewComposition/NewCompCode.d.ts.map +0 -1
- package/dist/editor/components/NewComposition/NewCompCode.js.map +0 -1
- package/dist/editor/components/NewComposition/NewCompDuration.d.ts.map +0 -1
- package/dist/editor/components/NewComposition/NewCompDuration.js.map +0 -1
- package/dist/editor/components/NewComposition/NewComposition.d.ts.map +0 -1
- package/dist/editor/components/NewComposition/NewComposition.js.map +0 -1
- package/dist/editor/components/NewComposition/RemInput.d.ts.map +0 -1
- package/dist/editor/components/NewComposition/RemInput.js.map +0 -1
- package/dist/editor/components/NewComposition/ToggleAspectRatio.d.ts.map +0 -1
- package/dist/editor/components/NewComposition/ToggleAspectRatio.js.map +0 -1
- package/dist/editor/components/NewComposition/ValidationMessage.d.ts.map +0 -1
- package/dist/editor/components/NewComposition/ValidationMessage.js.map +0 -1
- package/dist/editor/components/NewComposition/new-comp-layout.d.ts.map +0 -1
- package/dist/editor/components/NewComposition/new-comp-layout.js.map +0 -1
- package/dist/editor/components/NewComposition/render-aspect-ratio.d.ts.map +0 -1
- package/dist/editor/components/NewComposition/render-aspect-ratio.js.map +0 -1
- package/dist/editor/components/PlayPause.d.ts.map +0 -1
- package/dist/editor/components/PlayPause.js.map +0 -1
- package/dist/editor/components/PlaybackKeyboardShortcutsManager.d.ts.map +0 -1
- package/dist/editor/components/PlaybackKeyboardShortcutsManager.js.map +0 -1
- package/dist/editor/components/PlaybackRatePersistor.d.ts.map +0 -1
- package/dist/editor/components/PlaybackRatePersistor.js.map +0 -1
- package/dist/editor/components/PlaybackRateSelector.d.ts.map +0 -1
- package/dist/editor/components/PlaybackRateSelector.js.map +0 -1
- package/dist/editor/components/Preview.d.ts.map +0 -1
- package/dist/editor/components/Preview.js.map +0 -1
- package/dist/editor/components/PreviewToolbar.d.ts.map +0 -1
- package/dist/editor/components/PreviewToolbar.js.map +0 -1
- package/dist/editor/components/RichTimelineToggle.d.ts.map +0 -1
- package/dist/editor/components/RichTimelineToggle.js.map +0 -1
- package/dist/editor/components/SizeSelector.d.ts.map +0 -1
- package/dist/editor/components/SizeSelector.js.map +0 -1
- package/dist/editor/components/Splitter/SplitterContainer.d.ts.map +0 -1
- package/dist/editor/components/Splitter/SplitterContainer.js.map +0 -1
- package/dist/editor/components/Splitter/SplitterContext.d.ts.map +0 -1
- package/dist/editor/components/Splitter/SplitterContext.js.map +0 -1
- package/dist/editor/components/Splitter/SplitterElement.d.ts.map +0 -1
- package/dist/editor/components/Splitter/SplitterElement.js.map +0 -1
- package/dist/editor/components/Splitter/SplitterHandle.d.ts.map +0 -1
- package/dist/editor/components/Splitter/SplitterHandle.js.map +0 -1
- package/dist/editor/components/Thumbnail.d.ts.map +0 -1
- package/dist/editor/components/Thumbnail.js.map +0 -1
- package/dist/editor/components/TimeValue.d.ts.map +0 -1
- package/dist/editor/components/TimeValue.js.map +0 -1
- package/dist/editor/components/Timeline/LoopedIndicator.d.ts.map +0 -1
- package/dist/editor/components/Timeline/LoopedIndicator.js.map +0 -1
- package/dist/editor/components/Timeline/LoopedTimelineIndicators.d.ts.map +0 -1
- package/dist/editor/components/Timeline/LoopedTimelineIndicators.js.map +0 -1
- package/dist/editor/components/Timeline/MaxTimelineTracks.d.ts.map +0 -1
- package/dist/editor/components/Timeline/MaxTimelineTracks.js.map +0 -1
- package/dist/editor/components/Timeline/Timeline.d.ts.map +0 -1
- package/dist/editor/components/Timeline/Timeline.js.map +0 -1
- package/dist/editor/components/Timeline/TimelineCollapseToggle.d.ts.map +0 -1
- package/dist/editor/components/Timeline/TimelineCollapseToggle.js.map +0 -1
- package/dist/editor/components/Timeline/TimelineDragHandler.d.ts.map +0 -1
- package/dist/editor/components/Timeline/TimelineDragHandler.js.map +0 -1
- package/dist/editor/components/Timeline/TimelineInOutPointer.d.ts.map +0 -1
- package/dist/editor/components/Timeline/TimelineInOutPointer.js.map +0 -1
- package/dist/editor/components/Timeline/TimelineInOutPointerHandle.d.ts.map +0 -1
- package/dist/editor/components/Timeline/TimelineInOutPointerHandle.js.map +0 -1
- package/dist/editor/components/Timeline/TimelineList.d.ts.map +0 -1
- package/dist/editor/components/Timeline/TimelineList.js.map +0 -1
- package/dist/editor/components/Timeline/TimelineListItem.d.ts.map +0 -1
- package/dist/editor/components/Timeline/TimelineListItem.js.map +0 -1
- package/dist/editor/components/Timeline/TimelineSequence.d.ts.map +0 -1
- package/dist/editor/components/Timeline/TimelineSequence.js.map +0 -1
- package/dist/editor/components/Timeline/TimelineSequenceFrame.d.ts.map +0 -1
- package/dist/editor/components/Timeline/TimelineSequenceFrame.js.map +0 -1
- package/dist/editor/components/Timeline/TimelineSlider.d.ts.map +0 -1
- package/dist/editor/components/Timeline/TimelineSlider.js.map +0 -1
- package/dist/editor/components/Timeline/TimelineSliderHandle.d.ts.map +0 -1
- package/dist/editor/components/Timeline/TimelineSliderHandle.js.map +0 -1
- package/dist/editor/components/Timeline/TimelineTracks.d.ts.map +0 -1
- package/dist/editor/components/Timeline/TimelineTracks.js.map +0 -1
- package/dist/editor/components/Timeline/TimelineVideoInfo.d.ts.map +0 -1
- package/dist/editor/components/Timeline/TimelineVideoInfo.js.map +0 -1
- package/dist/editor/components/Timeline/is-collapsed.d.ts.map +0 -1
- package/dist/editor/components/Timeline/is-collapsed.js.map +0 -1
- package/dist/editor/components/Timeline/timeline-refs.d.ts.map +0 -1
- package/dist/editor/components/Timeline/timeline-refs.js.map +0 -1
- package/dist/editor/components/Timeline/timeline-state-reducer.d.ts.map +0 -1
- package/dist/editor/components/Timeline/timeline-state-reducer.js.map +0 -1
- package/dist/editor/components/TimelineInOutToggle.d.ts.map +0 -1
- package/dist/editor/components/TimelineInOutToggle.js.map +0 -1
- package/dist/editor/components/TopPanel.d.ts.map +0 -1
- package/dist/editor/components/TopPanel.js.map +0 -1
- package/dist/editor/components/UpdateCheck.d.ts.map +0 -1
- package/dist/editor/components/UpdateCheck.js.map +0 -1
- package/dist/editor/components/UpdateModal/UpdateModal.d.ts.map +0 -1
- package/dist/editor/components/UpdateModal/UpdateModal.js.map +0 -1
- package/dist/editor/components/layout.d.ts.map +0 -1
- package/dist/editor/components/layout.js.map +0 -1
- package/dist/editor/helpers/calculate-timeline.d.ts.map +0 -1
- package/dist/editor/helpers/calculate-timeline.js.map +0 -1
- package/dist/editor/helpers/checkerboard-background.d.ts.map +0 -1
- package/dist/editor/helpers/checkerboard-background.js.map +0 -1
- package/dist/editor/helpers/colors.d.ts.map +0 -1
- package/dist/editor/helpers/colors.js.map +0 -1
- package/dist/editor/helpers/copy-text.d.ts.map +0 -1
- package/dist/editor/helpers/copy-text.js.map +0 -1
- package/dist/editor/helpers/get-left-of-timeline-slider.d.ts.map +0 -1
- package/dist/editor/helpers/get-left-of-timeline-slider.js.map +0 -1
- package/dist/editor/helpers/get-sequence-visible-range.d.ts.map +0 -1
- package/dist/editor/helpers/get-sequence-visible-range.js.map +0 -1
- package/dist/editor/helpers/get-timeline-nestedness.d.ts.map +0 -1
- package/dist/editor/helpers/get-timeline-nestedness.js.map +0 -1
- package/dist/editor/helpers/get-timeline-sequence-hash.d.ts.map +0 -1
- package/dist/editor/helpers/get-timeline-sequence-hash.js.map +0 -1
- package/dist/editor/helpers/get-timeline-sequence-layout.d.ts.map +0 -1
- package/dist/editor/helpers/get-timeline-sequence-layout.js.map +0 -1
- package/dist/editor/helpers/get-timeline-sequence-sort-key.d.ts.map +0 -1
- package/dist/editor/helpers/get-timeline-sequence-sort-key.js.map +0 -1
- package/dist/editor/helpers/is-composition-still.d.ts.map +0 -1
- package/dist/editor/helpers/is-composition-still.js.map +0 -1
- package/dist/editor/helpers/is-current-selected-still.d.ts.map +0 -1
- package/dist/editor/helpers/is-current-selected-still.js.map +0 -1
- package/dist/editor/helpers/noop.d.ts.map +0 -1
- package/dist/editor/helpers/noop.js.map +0 -1
- package/dist/editor/helpers/timeline-layout.d.ts.map +0 -1
- package/dist/editor/helpers/timeline-layout.js.map +0 -1
- package/dist/editor/helpers/use-keybinding.d.ts.map +0 -1
- package/dist/editor/helpers/use-keybinding.js.map +0 -1
- package/dist/editor/helpers/validate-new-comp-data.d.ts.map +0 -1
- package/dist/editor/helpers/validate-new-comp-data.js.map +0 -1
- package/dist/editor/icons/Checkmark.d.ts.map +0 -1
- package/dist/editor/icons/Checkmark.js.map +0 -1
- package/dist/editor/icons/caret.d.ts.map +0 -1
- package/dist/editor/icons/caret.js.map +0 -1
- package/dist/editor/icons/film.d.ts.map +0 -1
- package/dist/editor/icons/film.js.map +0 -1
- package/dist/editor/icons/keys.d.ts.map +0 -1
- package/dist/editor/icons/keys.js.map +0 -1
- package/dist/editor/icons/lock.d.ts.map +0 -1
- package/dist/editor/icons/lock.js.map +0 -1
- package/dist/editor/icons/media-volume.d.ts.map +0 -1
- package/dist/editor/icons/media-volume.js.map +0 -1
- package/dist/editor/icons/pause.d.ts.map +0 -1
- package/dist/editor/icons/pause.js.map +0 -1
- package/dist/editor/icons/play.d.ts.map +0 -1
- package/dist/editor/icons/play.js.map +0 -1
- package/dist/editor/icons/step-back.d.ts.map +0 -1
- package/dist/editor/icons/step-back.js.map +0 -1
- package/dist/editor/icons/step-forward.d.ts.map +0 -1
- package/dist/editor/icons/step-forward.js.map +0 -1
- package/dist/editor/icons/still.d.ts.map +0 -1
- package/dist/editor/icons/still.js.map +0 -1
- package/dist/editor/icons/timeline.d.ts.map +0 -1
- package/dist/editor/icons/timeline.js.map +0 -1
- package/dist/editor/icons/timelineInOutPointer.d.ts.map +0 -1
- package/dist/editor/icons/timelineInOutPointer.js.map +0 -1
- package/dist/editor/state/aspect-ratio-locked.d.ts.map +0 -1
- package/dist/editor/state/aspect-ratio-locked.js.map +0 -1
- package/dist/editor/state/checkerboard.d.ts.map +0 -1
- package/dist/editor/state/checkerboard.js.map +0 -1
- package/dist/editor/state/highest-z-index.d.ts.map +0 -1
- package/dist/editor/state/highest-z-index.js.map +0 -1
- package/dist/editor/state/input-dragger-click-lock.d.ts.map +0 -1
- package/dist/editor/state/input-dragger-click-lock.js.map +0 -1
- package/dist/editor/state/keybindings.d.ts.map +0 -1
- package/dist/editor/state/keybindings.js.map +0 -1
- package/dist/editor/state/loop.d.ts.map +0 -1
- package/dist/editor/state/loop.js.map +0 -1
- package/dist/editor/state/marks.d.ts.map +0 -1
- package/dist/editor/state/marks.js.map +0 -1
- package/dist/editor/state/modals.d.ts.map +0 -1
- package/dist/editor/state/modals.js.map +0 -1
- package/dist/editor/state/mute.d.ts.map +0 -1
- package/dist/editor/state/mute.js.map +0 -1
- package/dist/editor/state/playbackrate.d.ts.map +0 -1
- package/dist/editor/state/playbackrate.js.map +0 -1
- package/dist/editor/state/preview-size.d.ts.map +0 -1
- package/dist/editor/state/preview-size.js.map +0 -1
- package/dist/editor/state/render-frame.d.ts.map +0 -1
- package/dist/editor/state/render-frame.js.map +0 -1
- package/dist/editor/state/rich-timeline.d.ts.map +0 -1
- package/dist/editor/state/rich-timeline.js.map +0 -1
- package/dist/editor/state/timeline-ref.d.ts.map +0 -1
- package/dist/editor/state/timeline-ref.js.map +0 -1
- package/dist/editor/state/timeline.d.ts.map +0 -1
- package/dist/editor/state/timeline.js.map +0 -1
- package/dist/editor/state/z-index.d.ts.map +0 -1
- package/dist/editor/state/z-index.js.map +0 -1
- package/dist/find-closest-package-json.d.ts +0 -2
- package/dist/find-closest-package-json.js +0 -35
- package/dist/get-cli-options.d.ts.map +0 -1
- package/dist/get-cli-options.js.map +0 -1
- package/dist/get-composition-id.d.ts.map +0 -1
- package/dist/get-composition-id.js.map +0 -1
- package/dist/get-config-file-name.d.ts.map +0 -1
- package/dist/get-config-file-name.js.map +0 -1
- package/dist/get-env.d.ts.map +0 -1
- package/dist/get-env.js.map +0 -1
- package/dist/get-filename.d.ts.map +0 -1
- package/dist/get-filename.js.map +0 -1
- package/dist/get-input-props.d.ts.map +0 -1
- package/dist/get-input-props.js.map +0 -1
- package/dist/handle-common-errors.d.ts.map +0 -1
- package/dist/handle-common-errors.js.map +0 -1
- package/dist/image-formats.d.ts.map +0 -1
- package/dist/image-formats.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/initialize-render-cli.d.ts +0 -1
- package/dist/initialize-render-cli.d.ts.map +0 -1
- package/dist/initialize-render-cli.js.map +0 -1
- package/dist/is-javascript.d.ts.map +0 -1
- package/dist/is-javascript.js.map +0 -1
- package/dist/lambda-command.d.ts.map +0 -1
- package/dist/lambda-command.js.map +0 -1
- package/dist/load-config.d.ts.map +0 -1
- package/dist/load-config.js.map +0 -1
- package/dist/log.d.ts.map +0 -1
- package/dist/log.js.map +0 -1
- package/dist/parse-command-line.d.ts.map +0 -1
- package/dist/parse-command-line.js.map +0 -1
- package/dist/preview.d.ts.map +0 -1
- package/dist/preview.js.map +0 -1
- package/dist/previewEntry.d.ts.map +0 -1
- package/dist/previewEntry.js.map +0 -1
- package/dist/print-error.d.ts.map +0 -1
- package/dist/print-error.js.map +0 -1
- package/dist/print-help.d.ts.map +0 -1
- package/dist/print-help.js.map +0 -1
- package/dist/progress-bar.d.ts.map +0 -1
- package/dist/progress-bar.js.map +0 -1
- package/dist/render.d.ts.map +0 -1
- package/dist/render.js.map +0 -1
- package/dist/resolve-from.d.ts.map +0 -1
- package/dist/resolve-from.js.map +0 -1
- package/dist/setup-cache.d.ts.map +0 -1
- package/dist/setup-cache.js.map +0 -1
- package/dist/step.d.ts.map +0 -1
- package/dist/step.js.map +0 -1
- package/dist/still.d.ts.map +0 -1
- package/dist/still.js.map +0 -1
- package/dist/upgrade.d.ts.map +0 -1
- package/dist/upgrade.js.map +0 -1
- package/dist/user-passed-output-location.d.ts.map +0 -1
- package/dist/user-passed-output-location.js.map +0 -1
- package/dist/validate-ffmpeg-version.d.ts +0 -3
- package/dist/validate-ffmpeg-version.d.ts.map +0 -1
- package/dist/validate-ffmpeg-version.js +0 -17
- package/dist/validate-ffmpeg-version.js.map +0 -1
- package/dist/versions.d.ts.map +0 -1
- package/dist/versions.js.map +0 -1
- package/dist/warn-about-ffmpeg-version.d.ts +0 -5
- package/dist/warn-about-ffmpeg-version.d.ts.map +0 -1
- package/dist/warn-about-ffmpeg-version.js +0 -38
- package/dist/warn-about-ffmpeg-version.js.map +0 -1
- package/dist/webpack-cache.d.ts +0 -12
- package/dist/webpack-cache.js +0 -66
- package/tsconfig.json +0 -17
- package/vitest.config.ts +0 -9
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type { BrowserExecutable, Codec, FfmpegExecutable, ImageFormat, OpenGlRenderer, PixelFormat, ProResProfile } from '@remotion/renderer';
|
|
2
|
-
import minimist from 'minimist';
|
|
1
|
+
import type { AudioCodec, BrowserExecutable, Codec, FfmpegExecutable, ImageFormat, OpenGlRenderer, PixelFormat, ProResProfile } from '@remotion/renderer';
|
|
3
2
|
export declare type CommandLineOptions = {
|
|
4
3
|
['browser-executable']: BrowserExecutable;
|
|
5
4
|
['ffmpeg-executable']: FfmpegExecutable;
|
|
@@ -13,10 +12,15 @@ export declare type CommandLineOptions = {
|
|
|
13
12
|
['disable-web-security']: string;
|
|
14
13
|
['every-nth-frame']: number;
|
|
15
14
|
['number-of-gif-loops']: number;
|
|
15
|
+
['number-of-shared-audio-tags']: number;
|
|
16
16
|
codec: Codec;
|
|
17
17
|
concurrency: number;
|
|
18
18
|
timeout: number;
|
|
19
19
|
config: string;
|
|
20
|
+
['public-dir']: string;
|
|
21
|
+
['audio-bitrate']: string;
|
|
22
|
+
['video-bitrate']: string;
|
|
23
|
+
['audio-codec']: AudioCodec;
|
|
20
24
|
crf: number;
|
|
21
25
|
force: boolean;
|
|
22
26
|
overwrite: boolean;
|
|
@@ -33,9 +37,24 @@ export declare type CommandLineOptions = {
|
|
|
33
37
|
port: number;
|
|
34
38
|
frame: string | number;
|
|
35
39
|
['disable-headless']: boolean;
|
|
40
|
+
['disable-keyboard-shortcuts']: boolean;
|
|
41
|
+
muted: boolean;
|
|
42
|
+
height: number;
|
|
43
|
+
width: number;
|
|
44
|
+
runs: number;
|
|
45
|
+
concurrencies: string;
|
|
46
|
+
['enforce-audio-track']: boolean;
|
|
36
47
|
gl: OpenGlRenderer;
|
|
48
|
+
['package-manager']: string;
|
|
49
|
+
['webpack-poll']: number;
|
|
50
|
+
['no-open']: boolean;
|
|
51
|
+
['browser']: string;
|
|
52
|
+
['browser-args']: string;
|
|
53
|
+
['user-agent']: string;
|
|
37
54
|
};
|
|
38
55
|
export declare const BooleanFlags: string[];
|
|
39
|
-
export declare const parsedCli: CommandLineOptions &
|
|
40
|
-
|
|
56
|
+
export declare const parsedCli: CommandLineOptions & {
|
|
57
|
+
_: string[];
|
|
58
|
+
};
|
|
59
|
+
export declare const parseCommandLine: () => void;
|
|
41
60
|
export declare const quietFlagProvided: () => boolean;
|
|
@@ -16,6 +16,8 @@ exports.BooleanFlags = [
|
|
|
16
16
|
'help',
|
|
17
17
|
'quiet',
|
|
18
18
|
'q',
|
|
19
|
+
'muted',
|
|
20
|
+
'enforce-audio-track',
|
|
19
21
|
// Lambda flags
|
|
20
22
|
'force',
|
|
21
23
|
'disable-chunk-optimization',
|
|
@@ -26,40 +28,46 @@ exports.BooleanFlags = [
|
|
|
26
28
|
'disable-web-security',
|
|
27
29
|
'ignore-certificate-errors',
|
|
28
30
|
'disable-headless',
|
|
31
|
+
'disable-keyboard-shortcuts',
|
|
32
|
+
'default-only',
|
|
33
|
+
'no-open',
|
|
29
34
|
];
|
|
30
35
|
exports.parsedCli = (0, minimist_1.default)(process.argv.slice(2), {
|
|
31
36
|
boolean: exports.BooleanFlags,
|
|
32
37
|
});
|
|
33
|
-
const parseCommandLine = (
|
|
38
|
+
const parseCommandLine = () => {
|
|
34
39
|
if (exports.parsedCli['pixel-format']) {
|
|
35
|
-
config_1.Config.
|
|
40
|
+
config_1.Config.setPixelFormat(exports.parsedCli['pixel-format']);
|
|
36
41
|
}
|
|
37
42
|
if (exports.parsedCli['image-format']) {
|
|
38
|
-
config_1.Config.
|
|
43
|
+
config_1.Config.setImageFormat(exports.parsedCli['image-format']);
|
|
39
44
|
}
|
|
40
45
|
if (exports.parsedCli['browser-executable']) {
|
|
41
|
-
config_1.Config.
|
|
46
|
+
config_1.Config.setBrowserExecutable(exports.parsedCli['browser-executable']);
|
|
42
47
|
}
|
|
43
48
|
if (exports.parsedCli['ffmpeg-executable']) {
|
|
44
|
-
config_1.Config.
|
|
49
|
+
config_1.Config.setFfmpegExecutable((0, path_1.resolve)(exports.parsedCli['ffmpeg-executable']));
|
|
45
50
|
}
|
|
46
51
|
if (exports.parsedCli['number-of-gif-loops']) {
|
|
47
|
-
config_1.Config.
|
|
52
|
+
config_1.Config.setNumberOfGifLoops(exports.parsedCli['number-of-gif-loops']);
|
|
48
53
|
}
|
|
49
54
|
if (exports.parsedCli['ffprobe-executable']) {
|
|
50
|
-
config_1.Config.
|
|
55
|
+
config_1.Config.setFfprobeExecutable((0, path_1.resolve)(exports.parsedCli['ffprobe-executable']));
|
|
51
56
|
}
|
|
52
57
|
if (typeof exports.parsedCli['bundle-cache'] !== 'undefined') {
|
|
53
|
-
config_1.Config.
|
|
58
|
+
config_1.Config.setCachingEnabled(exports.parsedCli['bundle-cache'] !== 'false');
|
|
54
59
|
}
|
|
55
60
|
if (exports.parsedCli['disable-web-security']) {
|
|
56
|
-
config_1.Config.
|
|
61
|
+
config_1.Config.setChromiumDisableWebSecurity(true);
|
|
57
62
|
}
|
|
58
63
|
if (exports.parsedCli['ignore-certificate-errors']) {
|
|
59
|
-
config_1.Config.
|
|
64
|
+
config_1.Config.setChromiumIgnoreCertificateErrors(true);
|
|
60
65
|
}
|
|
61
66
|
if (exports.parsedCli['disable-headless']) {
|
|
62
|
-
config_1.Config.
|
|
67
|
+
config_1.Config.setChromiumHeadlessMode(false);
|
|
68
|
+
}
|
|
69
|
+
if (exports.parsedCli['user-agent']) {
|
|
70
|
+
config_1.Config.setChromiumUserAgent(exports.parsedCli['user-agent']);
|
|
63
71
|
}
|
|
64
72
|
if (exports.parsedCli.log) {
|
|
65
73
|
if (!renderer_1.RenderInternals.isValidLogLevel(exports.parsedCli.log)) {
|
|
@@ -72,59 +80,75 @@ const parseCommandLine = (type) => {
|
|
|
72
80
|
config_1.ConfigInternals.Logging.setLogLevel(exports.parsedCli.log);
|
|
73
81
|
}
|
|
74
82
|
if (exports.parsedCli.concurrency) {
|
|
75
|
-
config_1.Config.
|
|
83
|
+
config_1.Config.setConcurrency(exports.parsedCli.concurrency);
|
|
76
84
|
}
|
|
77
85
|
if (exports.parsedCli.timeout) {
|
|
78
|
-
config_1.Config.
|
|
86
|
+
config_1.Config.setTimeoutInMilliseconds(exports.parsedCli.timeout);
|
|
87
|
+
}
|
|
88
|
+
if (exports.parsedCli.height) {
|
|
89
|
+
config_1.Config.overrideHeight(exports.parsedCli.height);
|
|
90
|
+
}
|
|
91
|
+
if (exports.parsedCli.width) {
|
|
92
|
+
config_1.Config.overrideWidth(exports.parsedCli.width);
|
|
79
93
|
}
|
|
80
94
|
if (exports.parsedCli.frames) {
|
|
81
|
-
if (type === 'still') {
|
|
82
|
-
log_1.Log.error('--frames flag was passed to the `still` command. This flag only works with the `render` command. Did you mean `--frame`? See reference: https://www.remotion.dev/docs/cli/');
|
|
83
|
-
process.exit(1);
|
|
84
|
-
}
|
|
85
95
|
config_1.ConfigInternals.setFrameRangeFromCli(exports.parsedCli.frames);
|
|
86
96
|
}
|
|
87
97
|
if (exports.parsedCli.frame) {
|
|
88
|
-
if (type === 'sequence') {
|
|
89
|
-
log_1.Log.error('--frame flag was passed to the `render` command. This flag only works with the `still` command. Did you mean `--frames`? See reference: https://www.remotion.dev/docs/cli/');
|
|
90
|
-
process.exit(1);
|
|
91
|
-
}
|
|
92
98
|
config_1.ConfigInternals.setStillFrame(Number(exports.parsedCli.frame));
|
|
93
99
|
}
|
|
94
100
|
if (exports.parsedCli.png) {
|
|
95
101
|
log_1.Log.warn('The --png flag has been deprecrated. Use --sequence --image-format=png from now on.');
|
|
96
|
-
config_1.Config.
|
|
97
|
-
config_1.Config.
|
|
102
|
+
config_1.Config.setImageSequence(true);
|
|
103
|
+
config_1.Config.setImageFormat('png');
|
|
98
104
|
}
|
|
99
105
|
if (exports.parsedCli.sequence) {
|
|
100
|
-
config_1.Config.
|
|
106
|
+
config_1.Config.setImageSequence(true);
|
|
101
107
|
}
|
|
102
108
|
if (typeof exports.parsedCli.crf !== 'undefined') {
|
|
103
|
-
config_1.Config.
|
|
104
|
-
}
|
|
105
|
-
if (exports.parsedCli.codec) {
|
|
106
|
-
config_1.Config.Output.setCodec(exports.parsedCli.codec);
|
|
109
|
+
config_1.Config.setCrf(exports.parsedCli.crf);
|
|
107
110
|
}
|
|
108
111
|
if (exports.parsedCli['every-nth-frame']) {
|
|
109
|
-
config_1.Config.
|
|
112
|
+
config_1.Config.setEveryNthFrame(exports.parsedCli['every-nth-frame']);
|
|
110
113
|
}
|
|
111
114
|
if (exports.parsedCli.gl) {
|
|
112
|
-
config_1.Config.
|
|
115
|
+
config_1.Config.setChromiumOpenGlRenderer(exports.parsedCli.gl);
|
|
113
116
|
}
|
|
114
117
|
if (exports.parsedCli['prores-profile']) {
|
|
115
|
-
config_1.Config.
|
|
118
|
+
config_1.Config.setProResProfile(String(exports.parsedCli['prores-profile']));
|
|
116
119
|
}
|
|
117
120
|
if (exports.parsedCli.overwrite) {
|
|
118
|
-
config_1.Config.
|
|
121
|
+
config_1.Config.setOverwriteOutput(exports.parsedCli.overwrite);
|
|
119
122
|
}
|
|
120
123
|
if (typeof exports.parsedCli.quality !== 'undefined') {
|
|
121
|
-
config_1.Config.
|
|
124
|
+
config_1.Config.setQuality(exports.parsedCli.quality);
|
|
122
125
|
}
|
|
123
126
|
if (typeof exports.parsedCli.scale !== 'undefined') {
|
|
124
|
-
config_1.Config.
|
|
127
|
+
config_1.Config.setScale(exports.parsedCli.scale);
|
|
125
128
|
}
|
|
126
129
|
if (typeof exports.parsedCli.port !== 'undefined') {
|
|
127
|
-
config_1.Config.
|
|
130
|
+
config_1.Config.setPort(exports.parsedCli.port);
|
|
131
|
+
}
|
|
132
|
+
if (typeof exports.parsedCli.muted !== 'undefined') {
|
|
133
|
+
config_1.Config.setMuted(exports.parsedCli.muted);
|
|
134
|
+
}
|
|
135
|
+
if (typeof exports.parsedCli['disable-keyboard-shortcuts'] !== 'undefined') {
|
|
136
|
+
config_1.Config.setKeyboardShortcutsEnabled(!exports.parsedCli['disable-keyboard-shortcuts']);
|
|
137
|
+
}
|
|
138
|
+
if (typeof exports.parsedCli['enforce-audio-track'] !== 'undefined') {
|
|
139
|
+
config_1.Config.setEnforceAudioTrack(exports.parsedCli['enforce-audio-track']);
|
|
140
|
+
}
|
|
141
|
+
if (typeof exports.parsedCli['public-dir'] !== 'undefined') {
|
|
142
|
+
config_1.Config.setPublicDir(exports.parsedCli['public-dir']);
|
|
143
|
+
}
|
|
144
|
+
if (typeof exports.parsedCli['webpack-poll'] !== 'undefined') {
|
|
145
|
+
config_1.Config.setWebpackPollingInMilliseconds(exports.parsedCli['webpack-poll']);
|
|
146
|
+
}
|
|
147
|
+
if (typeof exports.parsedCli['audio-bitrate'] !== 'undefined') {
|
|
148
|
+
config_1.Config.setAudioBitrate(exports.parsedCli['audio-bitrate']);
|
|
149
|
+
}
|
|
150
|
+
if (typeof exports.parsedCli['video-bitrate'] !== 'undefined') {
|
|
151
|
+
config_1.Config.setVideoBitrate(exports.parsedCli['video-bitrate']);
|
|
128
152
|
}
|
|
129
153
|
};
|
|
130
154
|
exports.parseCommandLine = parseCommandLine;
|
|
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
|
|
@@ -6,13 +6,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.middleware = exports.getValueContentRangeHeader = exports.getFilenameFromUrl = void 0;
|
|
7
7
|
const renderer_1 = require("@remotion/renderer");
|
|
8
8
|
const path_1 = __importDefault(require("path"));
|
|
9
|
-
const compatible_api_1 = require("./compatible-api");
|
|
10
|
-
const range_parser_1 = require("./range-parser");
|
|
11
|
-
const ready_1 = require("./ready");
|
|
12
|
-
// eslint-disable-next-line no-restricted-imports
|
|
13
9
|
const querystring_1 = __importDefault(require("querystring"));
|
|
14
10
|
const url_1 = require("url");
|
|
11
|
+
const compatible_api_1 = require("./compatible-api");
|
|
15
12
|
const get_paths_1 = require("./get-paths");
|
|
13
|
+
const range_parser_1 = require("./range-parser");
|
|
14
|
+
const ready_1 = require("./ready");
|
|
16
15
|
const cacheStore = new WeakMap();
|
|
17
16
|
const mem = (fn, { cache = new Map() } = {}) => {
|
|
18
17
|
const memoized = (...arguments_) => {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.setupHooks = void 0;
|
|
4
4
|
const log_1 = require("../../log");
|
|
5
|
+
const truthy_1 = require("../../truthy");
|
|
5
6
|
const is_color_supported_1 = require("./is-color-supported");
|
|
6
7
|
function setupHooks(context) {
|
|
7
8
|
function invalid() {
|
|
@@ -21,13 +22,23 @@ function setupHooks(context) {
|
|
|
21
22
|
}
|
|
22
23
|
logger.log('Compilation finished');
|
|
23
24
|
const statsOptions = {
|
|
24
|
-
preset: '
|
|
25
|
+
preset: 'errors-warnings',
|
|
25
26
|
colors: is_color_supported_1.isColorSupported,
|
|
26
27
|
};
|
|
27
28
|
const printedStats = stats.toString(statsOptions);
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
const lines = printedStats
|
|
30
|
+
.split('\n')
|
|
31
|
+
.map((a) => a.trimEnd())
|
|
32
|
+
.filter(truthy_1.truthy)
|
|
33
|
+
.map((a) => {
|
|
34
|
+
if (a.startsWith('webpack compiled')) {
|
|
35
|
+
return `Built in ${stats.endTime - stats.startTime}ms`;
|
|
36
|
+
}
|
|
37
|
+
return a;
|
|
38
|
+
})
|
|
39
|
+
.join('\n');
|
|
40
|
+
if (lines) {
|
|
41
|
+
log_1.Log.info(lines);
|
|
31
42
|
}
|
|
32
43
|
context.callbacks = [];
|
|
33
44
|
callbacks.forEach((callback) => {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const envSupportsFsRecursive: () => boolean;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.envSupportsFsRecursive = void 0;
|
|
4
|
+
const envSupportsFsRecursive = () => {
|
|
5
|
+
const nodeVersion = process.version.replace('v', '').split('.');
|
|
6
|
+
if (process.platform === 'darwin' || process.platform === 'win32') {
|
|
7
|
+
return true;
|
|
8
|
+
}
|
|
9
|
+
if (parseInt(nodeVersion[0], 10) > 19) {
|
|
10
|
+
return true;
|
|
11
|
+
}
|
|
12
|
+
if (parseInt(nodeVersion[0], 10) === 19 &&
|
|
13
|
+
parseInt(nodeVersion[1], 10) >= 1) {
|
|
14
|
+
return true;
|
|
15
|
+
}
|
|
16
|
+
return false;
|
|
17
|
+
};
|
|
18
|
+
exports.envSupportsFsRecursive = envSupportsFsRecursive;
|
|
File without changes
|
|
@@ -4,8 +4,8 @@ const react_overlay_1 = require("./react-overlay");
|
|
|
4
4
|
const remotion_overlay_1 = require("./remotion-overlay");
|
|
5
5
|
const Overlay_1 = require("./remotion-overlay/Overlay");
|
|
6
6
|
(0, react_overlay_1.startReportingRuntimeErrors)(() => {
|
|
7
|
-
if (
|
|
8
|
-
|
|
7
|
+
if (__webpack_module__.hot) {
|
|
8
|
+
__webpack_module__.hot.addStatusHandler((status) => {
|
|
9
9
|
var _a;
|
|
10
10
|
if (status === 'apply') {
|
|
11
11
|
if ((0, react_overlay_1.didUnmountReactApp)()) {
|
|
File without changes
|
|
File without changes
|
package/dist/preview-server/error-overlay/react-overlay/effects/map-error-to-react-stack.d.ts
CHANGED
|
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
|
|
@@ -31,7 +31,15 @@ const crashWithFrames = (crash) => (error) => {
|
|
|
31
31
|
var _a;
|
|
32
32
|
const didHookOrderChange = error.message.startsWith('Rendered fewer hooks') ||
|
|
33
33
|
error.message.startsWith('Rendered more hooks');
|
|
34
|
-
|
|
34
|
+
const key = 'remotion.lastCrashBecauseOfHooks';
|
|
35
|
+
const previousCrashWasBecauseOfHooks = window.localStorage.getItem(key);
|
|
36
|
+
// When rendering conditional hooks, refreshing does not help.
|
|
37
|
+
// So we only refresh once.
|
|
38
|
+
const justRefreshedBecauseOfHooks = previousCrashWasBecauseOfHooks
|
|
39
|
+
? Date.now() - Number(previousCrashWasBecauseOfHooks) < 5000
|
|
40
|
+
: false;
|
|
41
|
+
window.localStorage.setItem('remotion.lastCrashBecauseOfHooks', String(Date.now()));
|
|
42
|
+
if (didHookOrderChange && !justRefreshedBecauseOfHooks) {
|
|
35
43
|
// eslint-disable-next-line no-console
|
|
36
44
|
console.log('Hook order changed. Reloading app...');
|
|
37
45
|
window.location.reload();
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -17,9 +17,7 @@ const getStackFrames = async (error, contextSize) => {
|
|
|
17
17
|
const enhancedFrames = await (0, unmapper_1.unmap)(parsedFrames, contextSize);
|
|
18
18
|
if (enhancedFrames
|
|
19
19
|
.map((f) => f.originalFileName)
|
|
20
|
-
.filter((f_1) => f_1 !== null &&
|
|
21
|
-
f_1 !== undefined &&
|
|
22
|
-
f_1.indexOf('node_modules') === -1).length === 0) {
|
|
20
|
+
.filter((f_1) => f_1 !== null && f_1 !== undefined).length === 0) {
|
|
23
21
|
return null;
|
|
24
22
|
}
|
|
25
23
|
return enhancedFrames;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const editorNames: readonly ["atom", "/Applications/Atom Beta.app/Contents/MacOS/Atom Beta", "brackets", "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl", "/Applications/Sublime Text Dev.app/Contents/SharedSupport/bin/subl", "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl", "code", "code-insiders", "vscodium", "/Applications/AppCode.app/Contents/MacOS/appcode", "/Applications/CLion.app/Contents/MacOS/clion", "/Applications/IntelliJ IDEA.app/Contents/MacOS/idea", "/Applications/PhpStorm.app/Contents/MacOS/phpstorm", "/Applications/PyCharm.app/Contents/MacOS/pycharm", "/Applications/PyCharm CE.app/Contents/MacOS/pycharm", "/Applications/RubyMine.app/Contents/MacOS/rubymine", "/Applications/WebStorm.app/Contents/MacOS/webstorm", "/Applications/GoLand.app/Contents/MacOS/goland", "/Applications/Rider.app/Contents/MacOS/rider", "mvim", "emacs", "gvim", "idea", "phpstorm", "pycharm", "rubymine", "sublime_text", "vim", "webstorm", "goland", "rider", "Brackets.exe", "Code.exe", "Code - Insiders.exe", "VSCodium.exe", "atom.exe", "sublime_text.exe", "notepad++.exe", "clion.exe", "clion64.exe", "idea.exe", "idea64.exe", "phpstorm.exe", "phpstorm64.exe", "pycharm.exe", "pycharm64.exe", "rubymine.exe", "rubymine64.exe", "webstorm.exe", "webstorm64.exe", "goland.exe", "goland64.exe", "rider.exe", "rider64.exe", "nano"];
|
|
1
|
+
declare const editorNames: readonly ["atom", "/Applications/Atom Beta.app/Contents/MacOS/Atom Beta", "brackets", "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl", "/Applications/Sublime Text Dev.app/Contents/SharedSupport/bin/subl", "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl", "code", "code-insiders", "vscodium", "/Applications/AppCode.app/Contents/MacOS/appcode", "/Applications/CLion.app/Contents/MacOS/clion", "/Applications/IntelliJ IDEA.app/Contents/MacOS/idea", "/Applications/PhpStorm.app/Contents/MacOS/phpstorm", "/Applications/PyCharm.app/Contents/MacOS/pycharm", "/Applications/PyCharm CE.app/Contents/MacOS/pycharm", "/Applications/RubyMine.app/Contents/MacOS/rubymine", "/Applications/WebStorm.app/Contents/MacOS/webstorm", "/Applications/GoLand.app/Contents/MacOS/goland", "/Applications/Rider.app/Contents/MacOS/rider", "mvim", "emacs", "gvim", "idea", "phpstorm", "pycharm", "rubymine", "subl", "sublime_text", "vim", "webstorm", "goland", "rider", "Brackets.exe", "Code.exe", "Code - Insiders.exe", "VSCodium.exe", "atom.exe", "sublime_text.exe", "notepad++.exe", "clion.exe", "clion64.exe", "idea.exe", "idea64.exe", "phpstorm.exe", "phpstorm64.exe", "pycharm.exe", "pycharm64.exe", "rubymine.exe", "rubymine64.exe", "webstorm.exe", "webstorm64.exe", "goland.exe", "goland64.exe", "rider.exe", "rider64.exe", "nano"];
|
|
2
2
|
export declare const getDisplayNameForEditor: (editor: Editor | null) => string | null;
|
|
3
3
|
declare type Editor = typeof editorNames[number];
|
|
4
4
|
declare type ProcessAndCommand = {
|
|
@@ -80,6 +80,7 @@ const editorNames = [
|
|
|
80
80
|
'phpstorm',
|
|
81
81
|
'pycharm',
|
|
82
82
|
'rubymine',
|
|
83
|
+
'subl',
|
|
83
84
|
'sublime_text',
|
|
84
85
|
'vim',
|
|
85
86
|
'webstorm',
|
|
@@ -161,6 +162,7 @@ const displayNameForEditor = {
|
|
|
161
162
|
pycharm: 'PyCharm',
|
|
162
163
|
rider: 'Rider',
|
|
163
164
|
rubymine: 'RubyMine',
|
|
165
|
+
subl: 'Sublime Text',
|
|
164
166
|
sublime_text: 'Sublime Text',
|
|
165
167
|
vim: 'vim',
|
|
166
168
|
vscodium: 'VS Codium',
|
|
@@ -215,7 +217,7 @@ const COMMON_EDITORS_LINUX = {
|
|
|
215
217
|
'phpstorm.sh': 'phpstorm',
|
|
216
218
|
'pycharm.sh': 'pycharm',
|
|
217
219
|
'rubymine.sh': 'rubymine',
|
|
218
|
-
sublime_text: '
|
|
220
|
+
sublime_text: 'subl',
|
|
219
221
|
vim: 'vim',
|
|
220
222
|
'webstorm.sh': 'webstorm',
|
|
221
223
|
'goland.sh': 'goland',
|
|
@@ -252,6 +254,7 @@ const COMMON_EDITORS_WIN = [
|
|
|
252
254
|
const WINDOWS_FILE_NAME_WHITELIST = /^([A-Za-z]:[/\\])?(?:[\x2D-9A-Z\\_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEF\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7B9\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDF00-\uDF1C\uDF27\uDF30-\uDF45]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF1A]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFF1]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D])+$/;
|
|
253
255
|
function getArgumentsForLineNumber(editor, fileName, lineNumber, colNumber) {
|
|
254
256
|
const editorBasename = path_1.default.basename(editor).replace(/\.(exe|cmd|bat)$/i, '');
|
|
257
|
+
const isFolder = fs_1.default.existsSync(fileName) && fs_1.default.lstatSync(fileName).isDirectory();
|
|
255
258
|
switch (editorBasename) {
|
|
256
259
|
case 'atom':
|
|
257
260
|
case 'Atom':
|
|
@@ -259,7 +262,9 @@ function getArgumentsForLineNumber(editor, fileName, lineNumber, colNumber) {
|
|
|
259
262
|
case 'subl':
|
|
260
263
|
case 'sublime':
|
|
261
264
|
case 'sublime_text':
|
|
262
|
-
return
|
|
265
|
+
return isFolder
|
|
266
|
+
? [fileName]
|
|
267
|
+
: [fileName + ':' + lineNumber + ':' + colNumber];
|
|
263
268
|
case 'wstorm':
|
|
264
269
|
case 'charm':
|
|
265
270
|
return [fileName + ':' + lineNumber];
|
|
@@ -461,23 +466,28 @@ async function launchEditor({ colNumber, editor, fileName, lineNumber, vsCodeNew
|
|
|
461
466
|
}
|
|
462
467
|
});
|
|
463
468
|
});
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
else {
|
|
470
|
-
_childProcess = child_process_1.default.spawn(binaryToUse, args, { stdio: 'inherit' });
|
|
471
|
-
}
|
|
472
|
-
_childProcess.on('exit', (errorCode) => {
|
|
473
|
-
_childProcess = null;
|
|
474
|
-
if (errorCode) {
|
|
475
|
-
log_1.Log.error(`Process exited with code ${errorCode}`);
|
|
469
|
+
return new Promise((resolve, reject) => {
|
|
470
|
+
if (process.platform === 'win32') {
|
|
471
|
+
// On Windows, launch the editor in a shell because spawn can only
|
|
472
|
+
// launch .exe files.
|
|
473
|
+
_childProcess = child_process_1.default.spawn('cmd.exe', ['/C', binaryToUse].concat(args), { stdio: 'inherit', detached: true });
|
|
476
474
|
}
|
|
475
|
+
else {
|
|
476
|
+
_childProcess = child_process_1.default.spawn(binaryToUse, args, {
|
|
477
|
+
stdio: 'inherit',
|
|
478
|
+
});
|
|
479
|
+
}
|
|
480
|
+
_childProcess.on('exit', (errorCode) => {
|
|
481
|
+
_childProcess = null;
|
|
482
|
+
if (errorCode) {
|
|
483
|
+
log_1.Log.error(`Process exited with code ${errorCode}`);
|
|
484
|
+
}
|
|
485
|
+
});
|
|
486
|
+
_childProcess.on('error', (error) => {
|
|
487
|
+
log_1.Log.error('Error opening file in editor', fileName, error.message);
|
|
488
|
+
reject(new Error('Error opening file in editor'));
|
|
489
|
+
});
|
|
490
|
+
resolve(true);
|
|
477
491
|
});
|
|
478
|
-
_childProcess.on('error', (error) => {
|
|
479
|
-
log_1.Log.error('Error opening file in editor', fileName, error.message);
|
|
480
|
-
});
|
|
481
|
-
return true;
|
|
482
492
|
}
|
|
483
493
|
exports.launchEditor = launchEditor;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Button = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const react_1 = require("react");
|
|
5
6
|
const colors_1 = require("../../../editor/helpers/colors");
|
|
6
7
|
const button = {
|
|
7
8
|
border: `1px solid ${colors_1.INPUT_BORDER_COLOR_UNHOVERED}`,
|
|
@@ -18,7 +19,13 @@ const buttonContainer = {
|
|
|
18
19
|
cursor: 'pointer',
|
|
19
20
|
fontSize: 14,
|
|
20
21
|
};
|
|
21
|
-
const Button = ({ children, onClick, disabled }) => {
|
|
22
|
-
|
|
22
|
+
const Button = ({ children, onClick, disabled, style }) => {
|
|
23
|
+
const combined = (0, react_1.useMemo)(() => {
|
|
24
|
+
return {
|
|
25
|
+
...button,
|
|
26
|
+
...(style !== null && style !== void 0 ? style : {}),
|
|
27
|
+
};
|
|
28
|
+
}, [style]);
|
|
29
|
+
return ((0, jsx_runtime_1.jsx)("button", { style: combined, type: "button", disabled: disabled, onClick: onClick, children: (0, jsx_runtime_1.jsx)("div", { className: "css-reset", style: buttonContainer, children: children }) }));
|
|
23
30
|
};
|
|
24
31
|
exports.Button = Button;
|
|
File without changes
|