@remotion/cli 3.0.0-wrappedup.222 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +5 -0
- package/.turbo/turbo-lint.log +15 -0
- package/.turbo/turbo-test.log +15 -0
- package/LICENSE.md +2 -2
- package/dist/ansi/ansi-diff.d.ts +41 -0
- package/dist/ansi/ansi-diff.d.ts.map +1 -0
- package/dist/ansi/ansi-diff.js +227 -0
- package/dist/ansi/ansi-diff.js.map +1 -0
- package/dist/ansi/ansi-regex.d.ts +3 -0
- package/dist/ansi/ansi-regex.d.ts.map +1 -0
- package/dist/ansi/ansi-regex.js +19 -0
- package/dist/ansi/ansi-regex.js.map +1 -0
- package/dist/ansi/ansi-split.d.ts +2 -0
- package/dist/ansi/ansi-split.d.ts.map +1 -0
- package/dist/ansi/ansi-split.js +32 -0
- package/dist/ansi/ansi-split.js.map +1 -0
- package/dist/check-version.d.ts +0 -0
- package/dist/check-version.d.ts.map +0 -0
- package/dist/check-version.js +0 -0
- package/dist/check-version.js.map +0 -0
- package/dist/code-frame.d.ts +3 -0
- package/dist/code-frame.d.ts.map +1 -0
- package/dist/code-frame.js +79 -0
- package/dist/code-frame.js.map +1 -0
- package/dist/compositions.d.ts +2 -0
- package/dist/compositions.d.ts.map +1 -0
- package/dist/compositions.js +64 -0
- package/dist/compositions.js.map +1 -0
- package/dist/cycle-browser-tabs.d.ts +7 -0
- package/dist/cycle-browser-tabs.d.ts.map +1 -0
- package/dist/cycle-browser-tabs.js +24 -0
- package/dist/cycle-browser-tabs.js.map +1 -0
- package/dist/delete-directory.d.ts +0 -0
- package/dist/delete-directory.d.ts.map +0 -0
- package/dist/delete-directory.js +0 -0
- package/dist/delete-directory.js.map +0 -0
- package/dist/editor/components/AudioWaveform.d.ts +0 -0
- package/dist/editor/components/AudioWaveform.d.ts.map +0 -0
- package/dist/editor/components/AudioWaveform.js +2 -2
- package/dist/editor/components/AudioWaveform.js.map +1 -1
- package/dist/editor/components/AudioWaveformBar.d.ts +0 -0
- package/dist/editor/components/AudioWaveformBar.d.ts.map +0 -0
- package/dist/editor/components/AudioWaveformBar.js +0 -0
- package/dist/editor/components/AudioWaveformBar.js.map +0 -0
- package/dist/editor/components/Canvas.d.ts +0 -0
- package/dist/editor/components/Canvas.d.ts.map +1 -1
- package/dist/editor/components/Canvas.js +2 -1
- package/dist/editor/components/Canvas.js.map +1 -1
- package/dist/editor/components/CheckboardToggle.d.ts +0 -0
- package/dist/editor/components/CheckboardToggle.d.ts.map +0 -0
- package/dist/editor/components/CheckboardToggle.js +1 -1
- package/dist/editor/components/CheckboardToggle.js.map +1 -1
- package/dist/editor/components/ClipboardIcon.d.ts +0 -0
- package/dist/editor/components/ClipboardIcon.d.ts.map +0 -0
- package/dist/editor/components/ClipboardIcon.js +2 -2
- package/dist/editor/components/ClipboardIcon.js.map +1 -1
- package/dist/editor/components/CompositionSelector.d.ts +0 -0
- package/dist/editor/components/CompositionSelector.d.ts.map +0 -0
- package/dist/editor/components/CompositionSelector.js +2 -2
- package/dist/editor/components/CompositionSelector.js.map +1 -1
- package/dist/editor/components/CompositionSelectorItem.d.ts +0 -0
- package/dist/editor/components/CompositionSelectorItem.d.ts.map +0 -0
- package/dist/editor/components/CompositionSelectorItem.js +1 -1
- package/dist/editor/components/CompositionSelectorItem.js.map +1 -1
- package/dist/editor/components/ControlButton.d.ts +0 -0
- package/dist/editor/components/ControlButton.d.ts.map +0 -0
- package/dist/editor/components/ControlButton.js +1 -1
- package/dist/editor/components/ControlButton.js.map +1 -1
- package/dist/editor/components/CopyButton.d.ts +0 -0
- package/dist/editor/components/CopyButton.d.ts.map +0 -0
- package/dist/editor/components/CopyButton.js +2 -2
- package/dist/editor/components/CopyButton.js.map +1 -1
- package/dist/editor/components/CurrentComposition.d.ts +0 -0
- package/dist/editor/components/CurrentComposition.d.ts.map +1 -1
- package/dist/editor/components/CurrentComposition.js +8 -1
- package/dist/editor/components/CurrentComposition.js.map +1 -1
- package/dist/editor/components/Editor.d.ts +0 -0
- package/dist/editor/components/Editor.d.ts.map +1 -1
- package/dist/editor/components/Editor.js +4 -3
- package/dist/editor/components/Editor.js.map +1 -1
- package/dist/editor/components/EditorContent.d.ts +0 -0
- package/dist/editor/components/EditorContent.d.ts.map +0 -0
- package/dist/editor/components/EditorContent.js +1 -1
- package/dist/editor/components/EditorContent.js.map +1 -1
- package/dist/editor/components/ErrorOverlay.d.ts +9 -0
- package/dist/editor/components/ErrorOverlay.d.ts.map +1 -0
- package/dist/editor/components/ErrorOverlay.js +22 -0
- package/dist/editor/components/ErrorOverlay.js.map +1 -0
- package/dist/editor/components/Errors/ErrorDisplay.d.ts +12 -0
- package/dist/editor/components/Errors/ErrorDisplay.d.ts.map +1 -0
- package/dist/editor/components/Errors/ErrorDisplay.js +43 -0
- package/dist/editor/components/Errors/ErrorDisplay.js.map +1 -0
- package/dist/editor/components/Errors/ErrorOverlay.d.ts +9 -0
- package/dist/editor/components/Errors/ErrorOverlay.d.ts.map +1 -0
- package/dist/editor/components/Errors/ErrorOverlay.js +22 -0
- package/dist/editor/components/Errors/ErrorOverlay.js.map +1 -0
- package/dist/editor/components/Errors/stack-frame.d.ts +46 -0
- package/dist/editor/components/Errors/stack-frame.d.ts.map +1 -0
- package/dist/editor/components/Errors/stack-frame.js +82 -0
- package/dist/editor/components/Errors/stack-frame.js.map +1 -0
- package/dist/editor/components/FpsCounter.d.ts +0 -0
- package/dist/editor/components/FpsCounter.d.ts.map +0 -0
- package/dist/editor/components/FpsCounter.js +1 -1
- package/dist/editor/components/FpsCounter.js.map +1 -1
- package/dist/editor/components/FramePersister.d.ts +4 -0
- package/dist/editor/components/FramePersister.d.ts.map +1 -0
- package/dist/editor/components/FramePersister.js +28 -0
- package/dist/editor/components/FramePersister.js.map +1 -0
- package/dist/editor/components/FramePersistor.d.ts +0 -0
- package/dist/editor/components/FramePersistor.d.ts.map +0 -0
- package/dist/editor/components/FramePersistor.js +0 -0
- package/dist/editor/components/FramePersistor.js.map +0 -0
- package/dist/editor/components/GlobalKeybindings.d.ts +0 -0
- package/dist/editor/components/GlobalKeybindings.d.ts.map +0 -0
- package/dist/editor/components/GlobalKeybindings.js +0 -0
- package/dist/editor/components/GlobalKeybindings.js.map +0 -0
- package/dist/editor/components/KeyboardShortcutsModal.d.ts +0 -0
- package/dist/editor/components/KeyboardShortcutsModal.d.ts.map +0 -0
- package/dist/editor/components/KeyboardShortcutsModal.js +1 -1
- package/dist/editor/components/KeyboardShortcutsModal.js.map +1 -1
- package/dist/editor/components/LoadingIndicator.d.ts +0 -0
- package/dist/editor/components/LoadingIndicator.d.ts.map +1 -1
- package/dist/editor/components/LoadingIndicator.js +3 -2
- package/dist/editor/components/LoadingIndicator.js.map +1 -1
- package/dist/editor/components/LoopToggle.d.ts +0 -0
- package/dist/editor/components/LoopToggle.d.ts.map +0 -0
- package/dist/editor/components/LoopToggle.js +1 -1
- package/dist/editor/components/LoopToggle.js.map +1 -1
- package/dist/editor/components/MediaVolumeSlider.d.ts +3 -0
- package/dist/editor/components/MediaVolumeSlider.d.ts.map +1 -0
- package/dist/editor/components/MediaVolumeSlider.js +113 -0
- package/dist/editor/components/MediaVolumeSlider.js.map +1 -0
- package/dist/editor/components/Menu/Checkmark.d.ts +2 -0
- package/dist/editor/components/Menu/Checkmark.d.ts.map +1 -0
- package/dist/editor/components/Menu/Checkmark.js +11 -0
- package/dist/editor/components/Menu/Checkmark.js.map +1 -0
- package/dist/editor/components/Menu/MenuDivider.d.ts +0 -0
- package/dist/editor/components/Menu/MenuDivider.d.ts.map +0 -0
- package/dist/editor/components/Menu/MenuDivider.js +0 -0
- package/dist/editor/components/Menu/MenuDivider.js.map +0 -0
- package/dist/editor/components/Menu/MenuItem.d.ts +0 -0
- package/dist/editor/components/Menu/MenuItem.d.ts.map +1 -1
- package/dist/editor/components/Menu/MenuItem.js +3 -2
- package/dist/editor/components/Menu/MenuItem.js.map +1 -1
- package/dist/editor/components/Menu/MenuSubItem.d.ts +0 -0
- package/dist/editor/components/Menu/MenuSubItem.d.ts.map +1 -1
- package/dist/editor/components/Menu/MenuSubItem.js +3 -2
- package/dist/editor/components/Menu/MenuSubItem.js.map +1 -1
- package/dist/editor/components/Menu/SubMenu.d.ts +0 -0
- package/dist/editor/components/Menu/SubMenu.d.ts.map +0 -0
- package/dist/editor/components/Menu/SubMenu.js +2 -2
- package/dist/editor/components/Menu/SubMenu.js.map +1 -1
- package/dist/editor/components/Menu/is-menu-click.d.ts +1 -0
- package/dist/editor/components/Menu/is-menu-click.d.ts.map +1 -0
- package/dist/editor/components/Menu/is-menu-click.js +2 -0
- package/dist/editor/components/Menu/is-menu-click.js.map +1 -0
- package/dist/editor/components/Menu/portals.d.ts +0 -0
- package/dist/editor/components/Menu/portals.d.ts.map +0 -0
- package/dist/editor/components/Menu/portals.js +0 -0
- package/dist/editor/components/Menu/portals.js.map +0 -0
- package/dist/editor/components/Menu/styles.d.ts +0 -0
- package/dist/editor/components/Menu/styles.d.ts.map +0 -0
- package/dist/editor/components/Menu/styles.js +0 -0
- package/dist/editor/components/Menu/styles.js.map +0 -0
- package/dist/editor/components/MenuToolbar.d.ts +0 -0
- package/dist/editor/components/MenuToolbar.d.ts.map +1 -1
- package/dist/editor/components/MenuToolbar.js +11 -3
- package/dist/editor/components/MenuToolbar.js.map +1 -1
- package/dist/editor/components/ModalContainer.d.ts +1 -0
- package/dist/editor/components/ModalContainer.d.ts.map +1 -1
- package/dist/editor/components/ModalContainer.js +1 -1
- package/dist/editor/components/ModalContainer.js.map +1 -1
- package/dist/editor/components/ModalHeader.d.ts +0 -0
- package/dist/editor/components/ModalHeader.d.ts.map +0 -0
- package/dist/editor/components/ModalHeader.js +1 -1
- package/dist/editor/components/ModalHeader.js.map +1 -1
- package/dist/editor/components/MuteToggle.d.ts +6 -0
- package/dist/editor/components/MuteToggle.d.ts.map +1 -0
- package/dist/editor/components/MuteToggle.js +25 -0
- package/dist/editor/components/MuteToggle.js.map +1 -0
- package/dist/editor/components/NewComposition/CancelButton.d.ts +0 -0
- package/dist/editor/components/NewComposition/CancelButton.d.ts.map +0 -0
- package/dist/editor/components/NewComposition/CancelButton.js +1 -1
- package/dist/editor/components/NewComposition/CancelButton.js.map +1 -1
- package/dist/editor/components/NewComposition/ComboBox.d.ts +0 -0
- package/dist/editor/components/NewComposition/ComboBox.d.ts.map +1 -1
- package/dist/editor/components/NewComposition/ComboBox.js +3 -2
- package/dist/editor/components/NewComposition/ComboBox.js.map +1 -1
- package/dist/editor/components/NewComposition/CompositionType.d.ts +0 -0
- package/dist/editor/components/NewComposition/CompositionType.d.ts.map +0 -0
- package/dist/editor/components/NewComposition/CompositionType.js +0 -0
- package/dist/editor/components/NewComposition/CompositionType.js.map +0 -0
- package/dist/editor/components/NewComposition/CopyHint.d.ts +0 -0
- package/dist/editor/components/NewComposition/CopyHint.d.ts.map +0 -0
- package/dist/editor/components/NewComposition/CopyHint.js +1 -1
- package/dist/editor/components/NewComposition/CopyHint.js.map +1 -1
- package/dist/editor/components/NewComposition/InputDragger.d.ts +0 -0
- package/dist/editor/components/NewComposition/InputDragger.d.ts.map +0 -0
- package/dist/editor/components/NewComposition/InputDragger.js +2 -2
- package/dist/editor/components/NewComposition/InputDragger.js.map +1 -1
- package/dist/editor/components/NewComposition/LazyLoadNewComposition.d.ts +6 -0
- package/dist/editor/components/NewComposition/LazyLoadNewComposition.d.ts.map +1 -0
- package/dist/editor/components/NewComposition/LazyLoadNewComposition.js +32 -0
- package/dist/editor/components/NewComposition/LazyLoadNewComposition.js.map +1 -0
- package/dist/editor/components/NewComposition/MenuContent.d.ts +0 -0
- package/dist/editor/components/NewComposition/MenuContent.d.ts.map +0 -0
- package/dist/editor/components/NewComposition/MenuContent.js +2 -2
- package/dist/editor/components/NewComposition/MenuContent.js.map +1 -1
- package/dist/editor/components/NewComposition/NewCompAspectRatio.d.ts +0 -0
- package/dist/editor/components/NewComposition/NewCompAspectRatio.d.ts.map +0 -0
- package/dist/editor/components/NewComposition/NewCompAspectRatio.js +1 -1
- package/dist/editor/components/NewComposition/NewCompAspectRatio.js.map +1 -1
- package/dist/editor/components/NewComposition/NewCompCode.d.ts +0 -0
- package/dist/editor/components/NewComposition/NewCompCode.d.ts.map +0 -0
- package/dist/editor/components/NewComposition/NewCompCode.js +6 -6
- package/dist/editor/components/NewComposition/NewCompCode.js.map +1 -1
- package/dist/editor/components/NewComposition/NewCompDuration.d.ts +0 -0
- package/dist/editor/components/NewComposition/NewCompDuration.d.ts.map +0 -0
- package/dist/editor/components/NewComposition/NewCompDuration.js +1 -1
- package/dist/editor/components/NewComposition/NewCompDuration.js.map +1 -1
- package/dist/editor/components/NewComposition/NewCompHeader.d.ts +0 -0
- package/dist/editor/components/NewComposition/NewCompHeader.d.ts.map +0 -0
- package/dist/editor/components/NewComposition/NewCompHeader.js +0 -0
- package/dist/editor/components/NewComposition/NewCompHeader.js.map +0 -0
- package/dist/editor/components/NewComposition/NewComposition.d.ts +0 -0
- package/dist/editor/components/NewComposition/NewComposition.d.ts.map +0 -0
- package/dist/editor/components/NewComposition/NewComposition.js +3 -3
- package/dist/editor/components/NewComposition/NewComposition.js.map +1 -1
- package/dist/editor/components/NewComposition/RemInput.d.ts +1 -3
- package/dist/editor/components/NewComposition/RemInput.d.ts.map +1 -1
- package/dist/editor/components/NewComposition/RemInput.js +1 -1
- package/dist/editor/components/NewComposition/RemInput.js.map +1 -1
- package/dist/editor/components/NewComposition/ToggleAspectRatio.d.ts +0 -0
- package/dist/editor/components/NewComposition/ToggleAspectRatio.d.ts.map +0 -0
- package/dist/editor/components/NewComposition/ToggleAspectRatio.js +1 -1
- package/dist/editor/components/NewComposition/ToggleAspectRatio.js.map +1 -1
- package/dist/editor/components/NewComposition/ValidationMessage.d.ts +0 -0
- package/dist/editor/components/NewComposition/ValidationMessage.d.ts.map +0 -0
- package/dist/editor/components/NewComposition/ValidationMessage.js +2 -2
- package/dist/editor/components/NewComposition/ValidationMessage.js.map +1 -1
- package/dist/editor/components/NewComposition/new-comp-layout.d.ts +0 -0
- package/dist/editor/components/NewComposition/new-comp-layout.d.ts.map +0 -0
- package/dist/editor/components/NewComposition/new-comp-layout.js +0 -0
- package/dist/editor/components/NewComposition/new-comp-layout.js.map +0 -0
- package/dist/editor/components/NewComposition/render-aspect-ratio.d.ts +0 -0
- package/dist/editor/components/NewComposition/render-aspect-ratio.d.ts.map +0 -0
- package/dist/editor/components/NewComposition/render-aspect-ratio.js +0 -0
- package/dist/editor/components/NewComposition/render-aspect-ratio.js.map +0 -0
- package/dist/editor/components/NewComposition.d.ts +3 -0
- package/dist/editor/components/NewComposition.d.ts.map +1 -0
- package/dist/editor/components/NewComposition.js +47 -0
- package/dist/editor/components/NewComposition.js.map +1 -0
- package/dist/editor/components/NewSequence.d.ts +3 -0
- package/dist/editor/components/NewSequence.d.ts.map +1 -0
- package/dist/editor/components/NewSequence.js +47 -0
- package/dist/editor/components/NewSequence.js.map +1 -0
- package/dist/editor/components/PlayPause.d.ts +0 -0
- package/dist/editor/components/PlayPause.d.ts.map +0 -0
- package/dist/editor/components/PlayPause.js +2 -2
- package/dist/editor/components/PlayPause.js.map +1 -1
- package/dist/editor/components/PlaybackKeyboardShortcutsManager.d.ts +0 -0
- package/dist/editor/components/PlaybackKeyboardShortcutsManager.d.ts.map +0 -0
- package/dist/editor/components/PlaybackKeyboardShortcutsManager.js +0 -0
- package/dist/editor/components/PlaybackKeyboardShortcutsManager.js.map +0 -0
- package/dist/editor/components/PlaybackRatePersistor.d.ts +0 -0
- package/dist/editor/components/PlaybackRatePersistor.d.ts.map +0 -0
- package/dist/editor/components/PlaybackRatePersistor.js +0 -0
- package/dist/editor/components/PlaybackRatePersistor.js.map +0 -0
- package/dist/editor/components/PlaybackRateSelector.d.ts +0 -0
- package/dist/editor/components/PlaybackRateSelector.d.ts.map +0 -0
- package/dist/editor/components/PlaybackRateSelector.js +1 -1
- package/dist/editor/components/PlaybackRateSelector.js.map +1 -1
- package/dist/editor/components/Preview.d.ts +0 -0
- package/dist/editor/components/Preview.d.ts.map +1 -1
- package/dist/editor/components/Preview.js +2 -2
- package/dist/editor/components/Preview.js.map +1 -1
- package/dist/editor/components/PreviewToolbar.d.ts +0 -0
- package/dist/editor/components/PreviewToolbar.d.ts.map +1 -1
- package/dist/editor/components/PreviewToolbar.js +4 -1
- package/dist/editor/components/PreviewToolbar.js.map +1 -1
- package/dist/editor/components/RichTimelineToggle.d.ts +0 -0
- package/dist/editor/components/RichTimelineToggle.d.ts.map +0 -0
- package/dist/editor/components/RichTimelineToggle.js +2 -2
- package/dist/editor/components/RichTimelineToggle.js.map +1 -1
- package/dist/editor/components/SizeSelector.d.ts +0 -0
- package/dist/editor/components/SizeSelector.d.ts.map +0 -0
- package/dist/editor/components/SizeSelector.js +1 -1
- package/dist/editor/components/SizeSelector.js.map +1 -1
- package/dist/editor/components/Spacing.d.ts +7 -0
- package/dist/editor/components/Spacing.d.ts.map +1 -0
- package/dist/editor/components/Spacing.js +18 -0
- package/dist/editor/components/Spacing.js.map +1 -0
- package/dist/editor/components/Splitter/SplitterContainer.d.ts +1 -0
- package/dist/editor/components/Splitter/SplitterContainer.d.ts.map +1 -1
- package/dist/editor/components/Splitter/SplitterContainer.js +1 -1
- package/dist/editor/components/Splitter/SplitterContainer.js.map +1 -1
- package/dist/editor/components/Splitter/SplitterContext.d.ts +0 -0
- package/dist/editor/components/Splitter/SplitterContext.d.ts.map +0 -0
- package/dist/editor/components/Splitter/SplitterContext.js +0 -0
- package/dist/editor/components/Splitter/SplitterContext.js.map +0 -0
- package/dist/editor/components/Splitter/SplitterElement.d.ts +1 -0
- package/dist/editor/components/Splitter/SplitterElement.d.ts.map +1 -1
- package/dist/editor/components/Splitter/SplitterElement.js +1 -1
- package/dist/editor/components/Splitter/SplitterElement.js.map +1 -1
- package/dist/editor/components/Splitter/SplitterHandle.d.ts +0 -0
- package/dist/editor/components/Splitter/SplitterHandle.d.ts.map +1 -1
- package/dist/editor/components/Splitter/SplitterHandle.js +2 -0
- package/dist/editor/components/Splitter/SplitterHandle.js.map +1 -1
- package/dist/editor/components/Thumbnail.d.ts +0 -0
- package/dist/editor/components/Thumbnail.d.ts.map +1 -1
- package/dist/editor/components/Thumbnail.js +4 -3
- package/dist/editor/components/Thumbnail.js.map +1 -1
- package/dist/editor/components/TimeValue.d.ts +0 -0
- package/dist/editor/components/TimeValue.d.ts.map +0 -0
- package/dist/editor/components/TimeValue.js +1 -1
- package/dist/editor/components/TimeValue.js.map +1 -1
- package/dist/editor/components/Timeline/LoopIndicator.d.ts +5 -0
- package/dist/editor/components/Timeline/LoopIndicator.d.ts.map +1 -0
- package/dist/editor/components/Timeline/LoopIndicator.js +37 -0
- package/dist/editor/components/Timeline/LoopIndicator.js.map +1 -0
- package/dist/editor/components/Timeline/LoopedIndicator.d.ts +0 -0
- package/dist/editor/components/Timeline/LoopedIndicator.d.ts.map +0 -0
- package/dist/editor/components/Timeline/LoopedIndicator.js +2 -2
- package/dist/editor/components/Timeline/LoopedIndicator.js.map +1 -1
- package/dist/editor/components/Timeline/LoopedTimelineIndicators.d.ts +0 -0
- package/dist/editor/components/Timeline/LoopedTimelineIndicators.d.ts.map +0 -0
- package/dist/editor/components/Timeline/LoopedTimelineIndicators.js +2 -2
- package/dist/editor/components/Timeline/LoopedTimelineIndicators.js.map +1 -1
- package/dist/editor/components/Timeline/MaxTimelineTracks.d.ts +0 -0
- package/dist/editor/components/Timeline/MaxTimelineTracks.d.ts.map +0 -0
- package/dist/editor/components/Timeline/MaxTimelineTracks.js +1 -1
- package/dist/editor/components/Timeline/MaxTimelineTracks.js.map +1 -1
- package/dist/editor/components/Timeline/Timeline.d.ts +0 -0
- package/dist/editor/components/Timeline/Timeline.d.ts.map +0 -0
- package/dist/editor/components/Timeline/Timeline.js +1 -1
- package/dist/editor/components/Timeline/Timeline.js.map +1 -1
- package/dist/editor/components/Timeline/TimelineCollapseToggle.d.ts +0 -0
- package/dist/editor/components/Timeline/TimelineCollapseToggle.d.ts.map +0 -0
- package/dist/editor/components/Timeline/TimelineCollapseToggle.js +2 -2
- package/dist/editor/components/Timeline/TimelineCollapseToggle.js.map +1 -1
- package/dist/editor/components/Timeline/TimelineDragHandler.d.ts +0 -0
- package/dist/editor/components/Timeline/TimelineDragHandler.d.ts.map +1 -1
- package/dist/editor/components/Timeline/TimelineDragHandler.js +4 -3
- package/dist/editor/components/Timeline/TimelineDragHandler.js.map +1 -1
- package/dist/editor/components/Timeline/TimelineInOutPointer.d.ts +0 -0
- package/dist/editor/components/Timeline/TimelineInOutPointer.d.ts.map +0 -0
- package/dist/editor/components/Timeline/TimelineInOutPointer.js +0 -0
- package/dist/editor/components/Timeline/TimelineInOutPointer.js.map +0 -0
- package/dist/editor/components/Timeline/TimelineInOutPointerHandle.d.ts +0 -0
- package/dist/editor/components/Timeline/TimelineInOutPointerHandle.d.ts.map +0 -0
- package/dist/editor/components/Timeline/TimelineInOutPointerHandle.js +0 -0
- package/dist/editor/components/Timeline/TimelineInOutPointerHandle.js.map +0 -0
- package/dist/editor/components/Timeline/TimelineList.d.ts +0 -0
- package/dist/editor/components/Timeline/TimelineList.d.ts.map +0 -0
- package/dist/editor/components/Timeline/TimelineList.js +2 -2
- package/dist/editor/components/Timeline/TimelineList.js.map +1 -1
- package/dist/editor/components/Timeline/TimelineListItem.d.ts +0 -0
- package/dist/editor/components/Timeline/TimelineListItem.d.ts.map +0 -0
- package/dist/editor/components/Timeline/TimelineListItem.js +1 -1
- package/dist/editor/components/Timeline/TimelineListItem.js.map +1 -1
- package/dist/editor/components/Timeline/TimelineSequence.d.ts +0 -0
- package/dist/editor/components/Timeline/TimelineSequence.d.ts.map +1 -1
- package/dist/editor/components/Timeline/TimelineSequence.js +2 -1
- package/dist/editor/components/Timeline/TimelineSequence.js.map +1 -1
- package/dist/editor/components/Timeline/TimelineSequenceFrame.d.ts +0 -0
- package/dist/editor/components/Timeline/TimelineSequenceFrame.d.ts.map +0 -0
- package/dist/editor/components/Timeline/TimelineSequenceFrame.js +2 -2
- package/dist/editor/components/Timeline/TimelineSequenceFrame.js.map +1 -1
- package/dist/editor/components/Timeline/TimelineSlider.d.ts +0 -0
- package/dist/editor/components/Timeline/TimelineSlider.d.ts.map +1 -1
- package/dist/editor/components/Timeline/TimelineSlider.js +10 -2
- package/dist/editor/components/Timeline/TimelineSlider.js.map +1 -1
- package/dist/editor/components/Timeline/TimelineSliderHandle.d.ts +0 -0
- package/dist/editor/components/Timeline/TimelineSliderHandle.d.ts.map +1 -1
- package/dist/editor/components/Timeline/TimelineSliderHandle.js +4 -1
- package/dist/editor/components/Timeline/TimelineSliderHandle.js.map +1 -1
- package/dist/editor/components/Timeline/TimelineTracks.d.ts +0 -0
- package/dist/editor/components/Timeline/TimelineTracks.d.ts.map +0 -0
- package/dist/editor/components/Timeline/TimelineTracks.js +3 -3
- package/dist/editor/components/Timeline/TimelineTracks.js.map +1 -1
- package/dist/editor/components/Timeline/TimelineVideoInfo.d.ts +0 -0
- package/dist/editor/components/Timeline/TimelineVideoInfo.d.ts.map +0 -0
- package/dist/editor/components/Timeline/TimelineVideoInfo.js +1 -1
- package/dist/editor/components/Timeline/TimelineVideoInfo.js.map +1 -1
- package/dist/editor/components/Timeline/is-collapsed.d.ts +0 -0
- package/dist/editor/components/Timeline/is-collapsed.d.ts.map +0 -0
- package/dist/editor/components/Timeline/is-collapsed.js +0 -0
- package/dist/editor/components/Timeline/is-collapsed.js.map +0 -0
- package/dist/editor/components/Timeline/timeline-refs.d.ts +0 -0
- package/dist/editor/components/Timeline/timeline-refs.d.ts.map +0 -0
- package/dist/editor/components/Timeline/timeline-refs.js +0 -0
- package/dist/editor/components/Timeline/timeline-refs.js.map +0 -0
- package/dist/editor/components/Timeline/timeline-state-reducer.d.ts +0 -0
- package/dist/editor/components/Timeline/timeline-state-reducer.d.ts.map +0 -0
- package/dist/editor/components/Timeline/timeline-state-reducer.js +0 -0
- package/dist/editor/components/Timeline/timeline-state-reducer.js.map +0 -0
- package/dist/editor/components/TimelineInOutToggle.d.ts +0 -0
- package/dist/editor/components/TimelineInOutToggle.d.ts.map +0 -0
- package/dist/editor/components/TimelineInOutToggle.js +1 -1
- package/dist/editor/components/TimelineInOutToggle.js.map +1 -1
- package/dist/editor/components/TopPanel.d.ts +0 -0
- package/dist/editor/components/TopPanel.d.ts.map +0 -0
- package/dist/editor/components/TopPanel.js +1 -1
- package/dist/editor/components/TopPanel.js.map +1 -1
- package/dist/editor/components/UpdateCheck.d.ts +2 -3
- package/dist/editor/components/UpdateCheck.d.ts.map +1 -1
- package/dist/editor/components/UpdateCheck.js +16 -4
- package/dist/editor/components/UpdateCheck.js.map +1 -1
- package/dist/editor/components/UpdateModal/UpdateModal.d.ts +0 -0
- package/dist/editor/components/UpdateModal/UpdateModal.d.ts.map +1 -1
- package/dist/editor/components/UpdateModal/UpdateModal.js +8 -2
- package/dist/editor/components/UpdateModal/UpdateModal.js.map +1 -1
- package/dist/editor/components/layout.d.ts +5 -1
- package/dist/editor/components/layout.d.ts.map +1 -1
- package/dist/editor/components/layout.js +3 -3
- package/dist/editor/components/layout.js.map +1 -1
- package/dist/editor/helpers/calculate-timeline.d.ts +0 -0
- package/dist/editor/helpers/calculate-timeline.d.ts.map +0 -0
- package/dist/editor/helpers/calculate-timeline.js +0 -0
- package/dist/editor/helpers/calculate-timeline.js.map +0 -0
- package/dist/editor/helpers/checkerboard-background.d.ts +0 -0
- package/dist/editor/helpers/checkerboard-background.d.ts.map +0 -0
- package/dist/editor/helpers/checkerboard-background.js +0 -0
- package/dist/editor/helpers/checkerboard-background.js.map +0 -0
- package/dist/editor/helpers/colors.d.ts +0 -0
- package/dist/editor/helpers/colors.d.ts.map +0 -0
- package/dist/editor/helpers/colors.js +0 -0
- package/dist/editor/helpers/colors.js.map +0 -0
- package/dist/editor/helpers/copy-text.d.ts +0 -0
- package/dist/editor/helpers/copy-text.d.ts.map +0 -0
- package/dist/editor/helpers/copy-text.js +0 -0
- package/dist/editor/helpers/copy-text.js.map +0 -0
- package/dist/editor/helpers/font.d.ts +0 -0
- package/dist/editor/helpers/font.d.ts.map +0 -0
- package/dist/editor/helpers/font.js +0 -0
- package/dist/editor/helpers/font.js.map +0 -0
- package/dist/editor/helpers/get-left-of-timeline-slider.d.ts +0 -0
- package/dist/editor/helpers/get-left-of-timeline-slider.d.ts.map +1 -1
- package/dist/editor/helpers/get-left-of-timeline-slider.js +1 -0
- package/dist/editor/helpers/get-left-of-timeline-slider.js.map +1 -1
- package/dist/editor/helpers/get-sequence-visible-range.d.ts +0 -0
- package/dist/editor/helpers/get-sequence-visible-range.d.ts.map +0 -0
- package/dist/editor/helpers/get-sequence-visible-range.js +0 -0
- package/dist/editor/helpers/get-sequence-visible-range.js.map +0 -0
- package/dist/editor/helpers/get-timeline-nestedness.d.ts +0 -0
- package/dist/editor/helpers/get-timeline-nestedness.d.ts.map +0 -0
- package/dist/editor/helpers/get-timeline-nestedness.js +0 -0
- package/dist/editor/helpers/get-timeline-nestedness.js.map +0 -0
- package/dist/editor/helpers/get-timeline-sequence-hash.d.ts +0 -0
- package/dist/editor/helpers/get-timeline-sequence-hash.d.ts.map +0 -0
- package/dist/editor/helpers/get-timeline-sequence-hash.js +0 -0
- package/dist/editor/helpers/get-timeline-sequence-hash.js.map +0 -0
- package/dist/editor/helpers/get-timeline-sequence-layout.d.ts +0 -0
- package/dist/editor/helpers/get-timeline-sequence-layout.d.ts.map +0 -0
- package/dist/editor/helpers/get-timeline-sequence-layout.js +0 -0
- package/dist/editor/helpers/get-timeline-sequence-layout.js.map +0 -0
- package/dist/editor/helpers/get-timeline-sequence-sort-key.d.ts +0 -0
- package/dist/editor/helpers/get-timeline-sequence-sort-key.d.ts.map +0 -0
- package/dist/editor/helpers/get-timeline-sequence-sort-key.js +0 -0
- package/dist/editor/helpers/get-timeline-sequence-sort-key.js.map +0 -0
- package/dist/editor/helpers/is-composition-still.d.ts +0 -0
- package/dist/editor/helpers/is-composition-still.d.ts.map +0 -0
- package/dist/editor/helpers/is-composition-still.js +0 -0
- package/dist/editor/helpers/is-composition-still.js.map +0 -0
- package/dist/editor/helpers/is-current-selected-still.d.ts +0 -0
- package/dist/editor/helpers/is-current-selected-still.d.ts.map +0 -0
- package/dist/editor/helpers/is-current-selected-still.js +0 -0
- package/dist/editor/helpers/is-current-selected-still.js.map +0 -0
- package/dist/editor/helpers/isCompositionStill.d.ts +1 -0
- package/dist/editor/helpers/isCompositionStill.d.ts.map +1 -0
- package/dist/editor/helpers/isCompositionStill.js +2 -0
- package/dist/editor/helpers/isCompositionStill.js.map +1 -0
- package/dist/editor/helpers/noop.d.ts +0 -0
- package/dist/editor/helpers/noop.d.ts.map +0 -0
- package/dist/editor/helpers/noop.js +0 -0
- package/dist/editor/helpers/noop.js.map +0 -0
- package/dist/editor/helpers/timeline-layout.d.ts +0 -0
- package/dist/editor/helpers/timeline-layout.d.ts.map +0 -0
- package/dist/editor/helpers/timeline-layout.js +0 -0
- package/dist/editor/helpers/timeline-layout.js.map +0 -0
- package/dist/editor/helpers/use-keybinding.d.ts +0 -0
- package/dist/editor/helpers/use-keybinding.d.ts.map +0 -0
- package/dist/editor/helpers/use-keybinding.js +0 -0
- package/dist/editor/helpers/use-keybinding.js.map +0 -0
- package/dist/editor/helpers/validate-composition-name.d.ts +3 -0
- package/dist/editor/helpers/validate-composition-name.d.ts.map +1 -0
- package/dist/editor/helpers/validate-composition-name.js +15 -0
- package/dist/editor/helpers/validate-composition-name.js.map +1 -0
- package/dist/editor/helpers/validate-new-comp-data.d.ts +0 -0
- package/dist/editor/helpers/validate-new-comp-data.d.ts.map +0 -0
- package/dist/editor/helpers/validate-new-comp-data.js +0 -0
- package/dist/editor/helpers/validate-new-comp-data.js.map +0 -0
- package/dist/editor/hooks/get-el-size.d.ts +8 -0
- package/dist/editor/hooks/get-el-size.d.ts.map +1 -0
- package/dist/editor/hooks/get-el-size.js +43 -0
- package/dist/editor/hooks/get-el-size.js.map +1 -0
- package/dist/editor/icons/Checkmark.d.ts +0 -0
- package/dist/editor/icons/Checkmark.d.ts.map +0 -0
- package/dist/editor/icons/Checkmark.js +1 -1
- package/dist/editor/icons/Checkmark.js.map +1 -1
- package/dist/editor/icons/caret.d.ts +0 -0
- package/dist/editor/icons/caret.d.ts.map +0 -0
- package/dist/editor/icons/caret.js +2 -2
- package/dist/editor/icons/caret.js.map +1 -1
- package/dist/editor/icons/fast-back.d.ts +3 -0
- package/dist/editor/icons/fast-back.d.ts.map +1 -0
- package/dist/editor/icons/fast-back.js +9 -0
- package/dist/editor/icons/fast-back.js.map +1 -0
- package/dist/editor/icons/fast-forward.d.ts +3 -0
- package/dist/editor/icons/fast-forward.d.ts.map +1 -0
- package/dist/editor/icons/fast-forward.js +9 -0
- package/dist/editor/icons/fast-forward.js.map +1 -0
- package/dist/editor/icons/film.d.ts +0 -0
- package/dist/editor/icons/film.d.ts.map +0 -0
- package/dist/editor/icons/film.js +1 -1
- package/dist/editor/icons/film.js.map +1 -1
- package/dist/editor/icons/keys.d.ts +0 -0
- package/dist/editor/icons/keys.d.ts.map +0 -0
- package/dist/editor/icons/keys.js +3 -3
- package/dist/editor/icons/keys.js.map +1 -1
- package/dist/editor/icons/lock.d.ts +0 -0
- package/dist/editor/icons/lock.d.ts.map +0 -0
- package/dist/editor/icons/lock.js +2 -2
- package/dist/editor/icons/lock.js.map +1 -1
- package/dist/editor/icons/media-volume.d.ts +0 -0
- package/dist/editor/icons/media-volume.d.ts.map +0 -0
- package/dist/editor/icons/media-volume.js +2 -2
- package/dist/editor/icons/media-volume.js.map +1 -1
- package/dist/editor/icons/pause.d.ts +0 -0
- package/dist/editor/icons/pause.d.ts.map +0 -0
- package/dist/editor/icons/pause.js +1 -1
- package/dist/editor/icons/pause.js.map +1 -1
- package/dist/editor/icons/play.d.ts +0 -0
- package/dist/editor/icons/play.d.ts.map +0 -0
- package/dist/editor/icons/play.js +1 -1
- package/dist/editor/icons/play.js.map +1 -1
- package/dist/editor/icons/step-back.d.ts +0 -0
- package/dist/editor/icons/step-back.d.ts.map +0 -0
- package/dist/editor/icons/step-back.js +1 -1
- package/dist/editor/icons/step-back.js.map +1 -1
- package/dist/editor/icons/step-forward.d.ts +0 -0
- package/dist/editor/icons/step-forward.d.ts.map +0 -0
- package/dist/editor/icons/step-forward.js +1 -1
- package/dist/editor/icons/step-forward.js.map +1 -1
- package/dist/editor/icons/still.d.ts +0 -0
- package/dist/editor/icons/still.d.ts.map +0 -0
- package/dist/editor/icons/still.js +1 -1
- package/dist/editor/icons/still.js.map +1 -1
- package/dist/editor/icons/timeline.d.ts +0 -0
- package/dist/editor/icons/timeline.d.ts.map +0 -0
- package/dist/editor/icons/timeline.js +1 -1
- package/dist/editor/icons/timeline.js.map +1 -1
- package/dist/editor/icons/timelineInOutPointer.d.ts +0 -0
- package/dist/editor/icons/timelineInOutPointer.d.ts.map +0 -0
- package/dist/editor/icons/timelineInOutPointer.js +2 -2
- package/dist/editor/icons/timelineInOutPointer.js.map +1 -1
- package/dist/editor/state/aspect-ratio-locked.d.ts +0 -0
- package/dist/editor/state/aspect-ratio-locked.d.ts.map +0 -0
- package/dist/editor/state/aspect-ratio-locked.js +0 -0
- package/dist/editor/state/aspect-ratio-locked.js.map +0 -0
- package/dist/editor/state/checkerboard.d.ts +0 -0
- package/dist/editor/state/checkerboard.d.ts.map +0 -0
- package/dist/editor/state/checkerboard.js +0 -0
- package/dist/editor/state/checkerboard.js.map +0 -0
- package/dist/editor/state/global-menu-id.d.ts +4 -0
- package/dist/editor/state/global-menu-id.d.ts.map +1 -0
- package/dist/editor/state/global-menu-id.js +11 -0
- package/dist/editor/state/global-menu-id.js.map +1 -0
- package/dist/editor/state/highest-z-index.d.ts +3 -1
- package/dist/editor/state/highest-z-index.d.ts.map +1 -1
- package/dist/editor/state/highest-z-index.js +1 -1
- package/dist/editor/state/highest-z-index.js.map +1 -1
- package/dist/editor/state/input-dragger-click-lock.d.ts +0 -0
- package/dist/editor/state/input-dragger-click-lock.d.ts.map +0 -0
- package/dist/editor/state/input-dragger-click-lock.js +0 -0
- package/dist/editor/state/input-dragger-click-lock.js.map +0 -0
- package/dist/editor/state/keybindings.d.ts +3 -1
- package/dist/editor/state/keybindings.d.ts.map +1 -1
- package/dist/editor/state/keybindings.js +1 -1
- package/dist/editor/state/keybindings.js.map +1 -1
- package/dist/editor/state/loop.d.ts +0 -0
- package/dist/editor/state/loop.d.ts.map +0 -0
- package/dist/editor/state/loop.js +0 -0
- package/dist/editor/state/loop.js.map +0 -0
- package/dist/editor/state/marks.d.ts +0 -0
- package/dist/editor/state/marks.d.ts.map +0 -0
- package/dist/editor/state/marks.js +0 -0
- package/dist/editor/state/marks.js.map +0 -0
- package/dist/editor/state/menu-selection.d.ts +8 -0
- package/dist/editor/state/menu-selection.d.ts.map +1 -0
- package/dist/editor/state/menu-selection.js +14 -0
- package/dist/editor/state/menu-selection.js.map +1 -0
- package/dist/editor/state/modals.d.ts +0 -0
- package/dist/editor/state/modals.d.ts.map +0 -0
- package/dist/editor/state/modals.js +0 -0
- package/dist/editor/state/modals.js.map +0 -0
- package/dist/editor/state/mute.d.ts +3 -0
- package/dist/editor/state/mute.d.ts.map +1 -0
- package/dist/editor/state/mute.js +14 -0
- package/dist/editor/state/mute.js.map +1 -0
- package/dist/editor/state/playbackrate.d.ts +0 -0
- package/dist/editor/state/playbackrate.d.ts.map +0 -0
- package/dist/editor/state/playbackrate.js +0 -0
- package/dist/editor/state/playbackrate.js.map +0 -0
- package/dist/editor/state/preview-size.d.ts +0 -0
- package/dist/editor/state/preview-size.d.ts.map +0 -0
- package/dist/editor/state/preview-size.js +0 -0
- package/dist/editor/state/preview-size.js.map +0 -0
- package/dist/editor/state/render-frame.d.ts +0 -0
- package/dist/editor/state/render-frame.d.ts.map +0 -0
- package/dist/editor/state/render-frame.js +0 -0
- package/dist/editor/state/render-frame.js.map +0 -0
- package/dist/editor/state/rich-timeline.d.ts +0 -0
- package/dist/editor/state/rich-timeline.d.ts.map +0 -0
- package/dist/editor/state/rich-timeline.js +0 -0
- package/dist/editor/state/rich-timeline.js.map +0 -0
- package/dist/editor/state/timeline-ref.d.ts +0 -0
- package/dist/editor/state/timeline-ref.d.ts.map +0 -0
- package/dist/editor/state/timeline-ref.js +0 -0
- package/dist/editor/state/timeline-ref.js.map +0 -0
- package/dist/editor/state/timeline.d.ts +0 -0
- package/dist/editor/state/timeline.d.ts.map +0 -0
- package/dist/editor/state/timeline.js +0 -0
- package/dist/editor/state/timeline.js.map +0 -0
- package/dist/editor/state/z-index.d.ts +1 -0
- package/dist/editor/state/z-index.d.ts.map +1 -1
- package/dist/editor/state/z-index.js +1 -1
- package/dist/editor/state/z-index.js.map +1 -1
- package/dist/get-cli-options.d.ts +4 -1
- package/dist/get-cli-options.d.ts.map +1 -1
- package/dist/get-cli-options.js +11 -1
- package/dist/get-cli-options.js.map +1 -1
- package/dist/get-composition-id.d.ts +0 -0
- package/dist/get-composition-id.d.ts.map +0 -0
- package/dist/get-composition-id.js +0 -0
- package/dist/get-composition-id.js.map +0 -0
- package/dist/get-config-file-name.d.ts +0 -0
- package/dist/get-config-file-name.d.ts.map +0 -0
- package/dist/get-config-file-name.js +0 -0
- package/dist/get-config-file-name.js.map +0 -0
- package/dist/get-env.d.ts +0 -0
- package/dist/get-env.d.ts.map +1 -1
- package/dist/get-env.js +2 -2
- package/dist/get-env.js.map +1 -1
- package/dist/get-filename.d.ts +0 -0
- package/dist/get-filename.d.ts.map +0 -0
- package/dist/get-filename.js +0 -0
- package/dist/get-filename.js.map +0 -0
- package/dist/get-input-props.d.ts +0 -0
- package/dist/get-input-props.d.ts.map +0 -0
- package/dist/get-input-props.js +0 -0
- package/dist/get-input-props.js.map +0 -0
- package/dist/handle-common-errors.d.ts +1 -1
- package/dist/handle-common-errors.d.ts.map +1 -1
- package/dist/handle-common-errors.js +11 -2
- package/dist/handle-common-errors.js.map +1 -1
- package/dist/image-formats.d.ts +0 -0
- package/dist/image-formats.d.ts.map +0 -0
- package/dist/image-formats.js +0 -0
- package/dist/image-formats.js.map +0 -0
- package/dist/index.d.ts +9 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +17 -2
- package/dist/index.js.map +1 -1
- package/dist/initialize-render-cli.d.ts +0 -0
- package/dist/initialize-render-cli.d.ts.map +0 -0
- package/dist/initialize-render-cli.js +0 -0
- package/dist/initialize-render-cli.js.map +0 -0
- package/dist/is-javascript.d.ts +0 -0
- package/dist/is-javascript.d.ts.map +0 -0
- package/dist/is-javascript.js +0 -0
- package/dist/is-javascript.js.map +0 -0
- package/dist/lambda-command.d.ts +0 -0
- package/dist/lambda-command.d.ts.map +0 -0
- package/dist/lambda-command.js +0 -0
- package/dist/lambda-command.js.map +0 -0
- package/dist/listCompositions.d.ts +2 -0
- package/dist/listCompositions.d.ts.map +1 -0
- package/dist/listCompositions.js +46 -0
- package/dist/listCompositions.js.map +1 -0
- package/dist/load-config.d.ts +0 -0
- package/dist/load-config.d.ts.map +0 -0
- package/dist/load-config.js +2 -2
- package/dist/load-config.js.map +1 -1
- package/dist/log.d.ts +0 -0
- package/dist/log.d.ts.map +0 -0
- package/dist/log.js +0 -0
- package/dist/log.js.map +0 -0
- package/dist/parse-command-line.d.ts +11 -4
- package/dist/parse-command-line.d.ts.map +1 -1
- package/dist/parse-command-line.js +26 -6
- package/dist/parse-command-line.js.map +1 -1
- package/dist/preview.d.ts +0 -0
- package/dist/preview.d.ts.map +1 -1
- package/dist/preview.js +7 -3
- package/dist/preview.js.map +1 -1
- package/dist/previewEntry.d.ts +0 -0
- package/dist/previewEntry.d.ts.map +1 -1
- package/dist/previewEntry.js +12 -3
- package/dist/previewEntry.js.map +1 -1
- package/dist/print-error.d.ts +2 -0
- package/dist/print-error.d.ts.map +1 -0
- package/dist/print-error.js +36 -0
- package/dist/print-error.js.map +1 -0
- package/dist/print-help.d.ts +0 -0
- package/dist/print-help.d.ts.map +1 -1
- package/dist/print-help.js +8 -0
- package/dist/print-help.js.map +1 -1
- package/dist/progress-bar.d.ts +2 -2
- package/dist/progress-bar.d.ts.map +1 -1
- package/dist/progress-bar.js +10 -6
- package/dist/progress-bar.js.map +1 -1
- package/dist/render.d.ts +0 -0
- package/dist/render.d.ts.map +1 -1
- package/dist/render.js +29 -3
- package/dist/render.js.map +1 -1
- package/dist/resolve-from.d.ts +2 -0
- package/dist/resolve-from.d.ts.map +1 -0
- package/dist/resolve-from.js +34 -0
- package/dist/resolve-from.js.map +1 -0
- package/dist/setup-cache.d.ts +0 -0
- package/dist/setup-cache.d.ts.map +1 -1
- package/dist/setup-cache.js +5 -2
- package/dist/setup-cache.js.map +1 -1
- package/dist/step.d.ts +0 -0
- package/dist/step.d.ts.map +0 -0
- package/dist/step.js +0 -0
- package/dist/step.js.map +0 -0
- package/dist/still.d.ts +0 -0
- package/dist/still.d.ts.map +1 -1
- package/dist/still.js +20 -22
- package/dist/still.js.map +1 -1
- package/dist/upgrade.d.ts +0 -0
- package/dist/upgrade.d.ts.map +1 -1
- package/dist/upgrade.js +23 -24
- package/dist/upgrade.js.map +1 -1
- package/dist/user-passed-output-location.d.ts +0 -0
- package/dist/user-passed-output-location.d.ts.map +0 -0
- package/dist/user-passed-output-location.js +0 -0
- package/dist/user-passed-output-location.js.map +0 -0
- package/dist/validate-ffmpeg-version.d.ts +0 -0
- package/dist/validate-ffmpeg-version.d.ts.map +0 -0
- package/dist/validate-ffmpeg-version.js +0 -0
- package/dist/validate-ffmpeg-version.js.map +0 -0
- package/dist/versions.d.ts +4 -0
- package/dist/versions.d.ts.map +1 -0
- package/dist/versions.js +107 -0
- package/dist/versions.js.map +1 -0
- package/dist/warn-about-ffmpeg-version.d.ts +0 -0
- package/dist/warn-about-ffmpeg-version.d.ts.map +0 -0
- package/dist/warn-about-ffmpeg-version.js +0 -0
- package/dist/warn-about-ffmpeg-version.js.map +0 -0
- package/package.json +42 -24
- package/remotion-cli.js +1 -1
- package/dist/editor/components/IFrameWrapper.d.ts +0 -6
- package/dist/editor/components/IFrameWrapper.d.ts.map +0 -1
- package/dist/editor/components/IFrameWrapper.js +0 -19
- package/dist/editor/components/IFrameWrapper.js.map +0 -1
- package/dist/editor/components/KeyboardShortcuts.d.ts +0 -1
- package/dist/editor/components/KeyboardShortcuts.d.ts.map +0 -1
- package/dist/editor/components/KeyboardShortcuts.js +0 -2
- package/dist/editor/components/KeyboardShortcuts.js.map +0 -1
- package/dist/editor/components/NewComposition/ModalHeader.d.ts +0 -3
- package/dist/editor/components/NewComposition/ModalHeader.d.ts.map +0 -1
- package/dist/editor/components/NewComposition/ModalHeader.js +0 -29
- package/dist/editor/components/NewComposition/ModalHeader.js.map +0 -1
- package/dist/editor/helpers/css-reset.d.ts +0 -3
- package/dist/editor/helpers/css-reset.d.ts.map +0 -1
- package/dist/editor/helpers/css-reset.js +0 -9
- package/dist/editor/helpers/css-reset.js.map +0 -1
- package/dist/empty-audio.d.ts +0 -2
- package/dist/empty-audio.d.ts.map +0 -1
- package/dist/empty-audio.js +0 -5
- package/dist/empty-audio.js.map +0 -1
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
[32m@remotion/cli:build: [0mcache hit, replaying output [2m38c5a5924f23dc16[0m
|
|
2
|
+
[32m@remotion/cli:build: [0m
|
|
3
|
+
[32m@remotion/cli:build: [0m> @remotion/cli@2.6.16 build /Users/jonathanburger/remotion/packages/cli
|
|
4
|
+
[32m@remotion/cli:build: [0m> tsc -d
|
|
5
|
+
[32m@remotion/cli:build: [0m
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
[35m@remotion/cli:lint: [0mcache hit, replaying output [2mdab7100943d4b084[0m
|
|
2
|
+
[35m@remotion/cli:lint: [0m
|
|
3
|
+
[35m@remotion/cli:lint: [0m> @remotion/cli@2.6.15 lint /Users/jonathanburger/remotion/packages/cli
|
|
4
|
+
[35m@remotion/cli:lint: [0m> eslint src --ext ts,tsx
|
|
5
|
+
[35m@remotion/cli:lint: [0m
|
|
6
|
+
[35m@remotion/cli:lint: [0m
|
|
7
|
+
[35m@remotion/cli:lint: [0m/Users/jonathanburger/remotion/packages/cli/src/editor/components/MenuToolbar.tsx
|
|
8
|
+
[35m@remotion/cli:lint: [0m 486:4 warning Empty components are self-closing react/self-closing-comp
|
|
9
|
+
[35m@remotion/cli:lint: [0m
|
|
10
|
+
[35m@remotion/cli:lint: [0m/Users/jonathanburger/remotion/packages/cli/src/editor/components/Timeline/is-collapsed.ts
|
|
11
|
+
[35m@remotion/cli:lint: [0m 22:3 warning Unexpected 'todo' comment: 'TODO: Tighten up, when toggling rich...' no-warning-comments
|
|
12
|
+
[35m@remotion/cli:lint: [0m
|
|
13
|
+
[35m@remotion/cli:lint: [0m✖ 2 problems (0 errors, 2 warnings)
|
|
14
|
+
[35m@remotion/cli:lint: [0m 0 errors and 1 warning potentially fixable with the `--fix` option.
|
|
15
|
+
[35m@remotion/cli:lint: [0m
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
[35m@remotion/cli:test: [0mcache hit, replaying output [2m3009984626421fa9[0m
|
|
2
|
+
[35m@remotion/cli:test: [0m
|
|
3
|
+
[35m@remotion/cli:test: [0m> @remotion/cli@2.6.15 test /Users/jonathanburger/remotion/packages/cli
|
|
4
|
+
[35m@remotion/cli:test: [0m> jest
|
|
5
|
+
[35m@remotion/cli:test: [0m
|
|
6
|
+
[35m@remotion/cli:test: [0mPASS src/test/timeline-sequence-layout.test.ts (7.756 s)
|
|
7
|
+
[35m@remotion/cli:test: [0mPASS src/test/sequenced-timeline.test.ts (7.955 s)
|
|
8
|
+
[35m@remotion/cli:test: [0mPASS src/test/timeline.test.ts (7.833 s)
|
|
9
|
+
[35m@remotion/cli:test: [0mPASS src/test/big-timeline.test.ts (8.2 s)
|
|
10
|
+
[35m@remotion/cli:test: [0m
|
|
11
|
+
[35m@remotion/cli:test: [0mTest Suites: 4 passed, 4 total
|
|
12
|
+
[35m@remotion/cli:test: [0mTests: 7 passed, 7 total
|
|
13
|
+
[35m@remotion/cli:test: [0mSnapshots: 0 total
|
|
14
|
+
[35m@remotion/cli:test: [0mTime: 9.355 s
|
|
15
|
+
[35m@remotion/cli:test: [0mRan all test suites.
|
package/LICENSE.md
CHANGED
|
@@ -7,7 +7,7 @@ Depending on the type of your legal entity, you are granted permission to use Re
|
|
|
7
7
|
|
|
8
8
|
## Free license
|
|
9
9
|
|
|
10
|
-
Copyright ©
|
|
10
|
+
Copyright © 2022 [Jonny Burger](https://jonny.io)
|
|
11
11
|
|
|
12
12
|
### Eligibility
|
|
13
13
|
|
|
@@ -32,7 +32,7 @@ The software is provided "as is", without warranty of any kind, express or impli
|
|
|
32
32
|
|
|
33
33
|
### Support
|
|
34
34
|
|
|
35
|
-
Support is provided on a best-we-can-do basis via GitHub Issues.
|
|
35
|
+
Support is provided on a best-we-can-do basis via GitHub Issues and Discord.
|
|
36
36
|
|
|
37
37
|
## Company license
|
|
38
38
|
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
declare type Options = {
|
|
3
|
+
width?: number;
|
|
4
|
+
height?: number;
|
|
5
|
+
};
|
|
6
|
+
export declare class AnsiDiff {
|
|
7
|
+
x: number;
|
|
8
|
+
y: number;
|
|
9
|
+
width: number;
|
|
10
|
+
height: number;
|
|
11
|
+
_buffer: string | null;
|
|
12
|
+
_out: Buffer[];
|
|
13
|
+
_lines: Line[];
|
|
14
|
+
constructor(opts?: Options);
|
|
15
|
+
resize: (opts: Options) => void;
|
|
16
|
+
toString(): string | null;
|
|
17
|
+
update(buffer: string | Buffer, opts?: {
|
|
18
|
+
moveTo?: [number, number];
|
|
19
|
+
}): Buffer;
|
|
20
|
+
_clearDown(y: number): void;
|
|
21
|
+
_newline(): void;
|
|
22
|
+
_write(line: Line): void;
|
|
23
|
+
_moveTo(x: number, y: number): void;
|
|
24
|
+
_push: (buf: Buffer) => void;
|
|
25
|
+
}
|
|
26
|
+
declare class Line {
|
|
27
|
+
y: number;
|
|
28
|
+
width: number;
|
|
29
|
+
parts: string[];
|
|
30
|
+
height: number;
|
|
31
|
+
remainder: number;
|
|
32
|
+
raw: string;
|
|
33
|
+
length: number;
|
|
34
|
+
newline: boolean;
|
|
35
|
+
constructor(str: string, y: number, nl: boolean, term: AnsiDiff);
|
|
36
|
+
diffLeft(other: Line): number;
|
|
37
|
+
diffRight(other: Line): number;
|
|
38
|
+
toBuffer(): Buffer;
|
|
39
|
+
}
|
|
40
|
+
export {};
|
|
41
|
+
//# sourceMappingURL=ansi-diff.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ansi-diff.d.ts","sourceRoot":"","sources":["../../src/ansi/ansi-diff.ts"],"names":[],"mappings":";AAKA,aAAK,OAAO,GAAG;IAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAC,CAAC;AAEjD,qBAAa,QAAQ;IACpB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,MAAM,EAAE,IAAI,EAAE,CAAC;gBAEH,IAAI,CAAC,EAAE,OAAO;IAW1B,MAAM,SAAU,OAAO,UAkBrB;IAEF,QAAQ;IAIR,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,IAAI,CAAC,EAAE;QAAC,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;KAAC;IAuElE,UAAU,CAAC,CAAC,EAAE,MAAM;IASpB,QAAQ;IAMR,MAAM,CAAC,IAAI,EAAE,IAAI;IAMjB,OAAO,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM;IAa5B,KAAK,QAAS,MAAM,UAElB;CACF;AAeD,cAAM,IAAI;IACT,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;gBACL,GAAG,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ;IAe/D,QAAQ,CAAC,KAAK,EAAE,IAAI;IASpB,SAAS,CAAC,KAAK,EAAE,IAAI;IAUrB,QAAQ;CAGR"}
|
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AnsiDiff = void 0;
|
|
4
|
+
const ansi_split_1 = require("./ansi-split");
|
|
5
|
+
const CLEAR_LINE = Buffer.from([0x1b, 0x5b, 0x30, 0x4b]);
|
|
6
|
+
const NEWLINE = Buffer.from('\n');
|
|
7
|
+
class AnsiDiff {
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
this.resize = (opts) => {
|
|
10
|
+
if (!opts)
|
|
11
|
+
opts = {};
|
|
12
|
+
if (opts.width)
|
|
13
|
+
this.width = opts.width;
|
|
14
|
+
if (opts.height)
|
|
15
|
+
this.height = opts.height;
|
|
16
|
+
if (this._buffer)
|
|
17
|
+
this.update(this._buffer);
|
|
18
|
+
const last = top(this._lines);
|
|
19
|
+
// eslint-disable-next-line no-negated-condition
|
|
20
|
+
if (!last) {
|
|
21
|
+
this.x = 0;
|
|
22
|
+
this.y = 0;
|
|
23
|
+
}
|
|
24
|
+
else {
|
|
25
|
+
this.x = last.remainder;
|
|
26
|
+
this.y = last.y + last.height;
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
this._push = (buf) => {
|
|
30
|
+
this._out.push(buf);
|
|
31
|
+
};
|
|
32
|
+
this.x = 0;
|
|
33
|
+
this.y = 0;
|
|
34
|
+
this.width = (opts === null || opts === void 0 ? void 0 : opts.width) || Infinity;
|
|
35
|
+
this.height = (opts === null || opts === void 0 ? void 0 : opts.height) || Infinity;
|
|
36
|
+
this._buffer = null;
|
|
37
|
+
this._out = [];
|
|
38
|
+
this._lines = [];
|
|
39
|
+
}
|
|
40
|
+
toString() {
|
|
41
|
+
return this._buffer;
|
|
42
|
+
}
|
|
43
|
+
update(buffer, opts) {
|
|
44
|
+
this._buffer = Buffer.isBuffer(buffer) ? buffer.toString() : buffer;
|
|
45
|
+
const other = this._buffer;
|
|
46
|
+
const oldLines = this._lines;
|
|
47
|
+
const lines = split(other, this);
|
|
48
|
+
this._lines = lines;
|
|
49
|
+
this._out = [];
|
|
50
|
+
const min = Math.min(lines.length, oldLines.length);
|
|
51
|
+
let i = 0;
|
|
52
|
+
let a;
|
|
53
|
+
let b;
|
|
54
|
+
let scrub = false;
|
|
55
|
+
for (; i < min; i++) {
|
|
56
|
+
a = lines[i];
|
|
57
|
+
b = oldLines[i];
|
|
58
|
+
if (same(a, b))
|
|
59
|
+
continue;
|
|
60
|
+
// if x === width there is an edgecase with inline diffing
|
|
61
|
+
// easiest solution is just not to do it then! :)
|
|
62
|
+
if (!scrub && this.x !== this.width && inlineDiff(a, b)) {
|
|
63
|
+
const left = a.diffLeft(b);
|
|
64
|
+
const right = a.diffRight(b);
|
|
65
|
+
const slice = a.raw.slice(left, right ? -right : a.length);
|
|
66
|
+
if (left + right > 4 && left + slice.length < this.width - 1) {
|
|
67
|
+
this._moveTo(left, a.y);
|
|
68
|
+
this._push(Buffer.from(slice));
|
|
69
|
+
this.x += slice.length;
|
|
70
|
+
continue;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
this._moveTo(0, a.y);
|
|
74
|
+
this._write(a);
|
|
75
|
+
if (a.y !== b.y || a.height !== b.height)
|
|
76
|
+
scrub = true;
|
|
77
|
+
if (b.length > a.length || scrub)
|
|
78
|
+
this._push(CLEAR_LINE);
|
|
79
|
+
if (a.newline)
|
|
80
|
+
this._newline();
|
|
81
|
+
}
|
|
82
|
+
for (; i < lines.length; i++) {
|
|
83
|
+
a = lines[i];
|
|
84
|
+
this._moveTo(0, a.y);
|
|
85
|
+
this._write(a);
|
|
86
|
+
if (scrub)
|
|
87
|
+
this._push(CLEAR_LINE);
|
|
88
|
+
if (a.newline)
|
|
89
|
+
this._newline();
|
|
90
|
+
}
|
|
91
|
+
const oldLast = top(oldLines);
|
|
92
|
+
const last = top(lines);
|
|
93
|
+
if (oldLast &&
|
|
94
|
+
(!last || last.y + last.height < oldLast.y + oldLast.height)) {
|
|
95
|
+
this._clearDown(oldLast.y + oldLast.height);
|
|
96
|
+
}
|
|
97
|
+
if (opts === null || opts === void 0 ? void 0 : opts.moveTo) {
|
|
98
|
+
this._moveTo(opts.moveTo[0], opts.moveTo[1]);
|
|
99
|
+
}
|
|
100
|
+
else if (last) {
|
|
101
|
+
this._moveTo(last.remainder, last.y + last.height);
|
|
102
|
+
}
|
|
103
|
+
return Buffer.concat(this._out);
|
|
104
|
+
}
|
|
105
|
+
_clearDown(y) {
|
|
106
|
+
let { x } = this;
|
|
107
|
+
for (let i = this.y; i <= y; i++) {
|
|
108
|
+
this._moveTo(x, i);
|
|
109
|
+
this._push(CLEAR_LINE);
|
|
110
|
+
x = 0;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
_newline() {
|
|
114
|
+
this._push(NEWLINE);
|
|
115
|
+
this.x = 0;
|
|
116
|
+
this.y++;
|
|
117
|
+
}
|
|
118
|
+
_write(line) {
|
|
119
|
+
this._out.push(line.toBuffer());
|
|
120
|
+
this.x = line.remainder;
|
|
121
|
+
this.y += line.height;
|
|
122
|
+
}
|
|
123
|
+
_moveTo(x, y) {
|
|
124
|
+
const dx = x - this.x;
|
|
125
|
+
const dy = y - this.y;
|
|
126
|
+
if (dx > 0)
|
|
127
|
+
this._push(moveRight(dx));
|
|
128
|
+
else if (dx < 0)
|
|
129
|
+
this._push(moveLeft(-dx));
|
|
130
|
+
if (dy > 0)
|
|
131
|
+
this._push(moveDown(dy));
|
|
132
|
+
else if (dy < 0)
|
|
133
|
+
this._push(moveUp(-dy));
|
|
134
|
+
this.x = x;
|
|
135
|
+
this.y = y;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
exports.AnsiDiff = AnsiDiff;
|
|
139
|
+
function same(a, b) {
|
|
140
|
+
return (a.y === b.y &&
|
|
141
|
+
a.width === b.width &&
|
|
142
|
+
a.raw === b.raw &&
|
|
143
|
+
a.newline === b.newline);
|
|
144
|
+
}
|
|
145
|
+
function top(list) {
|
|
146
|
+
return list.length ? list[list.length - 1] : null;
|
|
147
|
+
}
|
|
148
|
+
class Line {
|
|
149
|
+
constructor(str, y, nl, term) {
|
|
150
|
+
this.y = y;
|
|
151
|
+
this.width = term.width;
|
|
152
|
+
this.parts = (0, ansi_split_1.splitAnsi)(str);
|
|
153
|
+
this.length = length(this.parts);
|
|
154
|
+
this.raw = str;
|
|
155
|
+
this.newline = nl;
|
|
156
|
+
this.height = Math.floor(this.length / term.width);
|
|
157
|
+
this.remainder = this.length - (this.height && this.height * term.width);
|
|
158
|
+
if (this.height && !this.remainder) {
|
|
159
|
+
this.height--;
|
|
160
|
+
this.remainder = this.width;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
diffLeft(other) {
|
|
164
|
+
let left = 0;
|
|
165
|
+
for (; left < this.length; left++) {
|
|
166
|
+
if (this.raw[left] !== other.raw[left])
|
|
167
|
+
return left;
|
|
168
|
+
}
|
|
169
|
+
return left;
|
|
170
|
+
}
|
|
171
|
+
diffRight(other) {
|
|
172
|
+
let right = 0;
|
|
173
|
+
for (; right < this.length; right++) {
|
|
174
|
+
const r = this.length - right - 1;
|
|
175
|
+
if (this.raw[r] !== other.raw[r])
|
|
176
|
+
return right;
|
|
177
|
+
}
|
|
178
|
+
return right;
|
|
179
|
+
}
|
|
180
|
+
toBuffer() {
|
|
181
|
+
return Buffer.from(this.raw);
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
function inlineDiff(a, b) {
|
|
185
|
+
return (a.length === b.length &&
|
|
186
|
+
a.parts.length === 1 &&
|
|
187
|
+
b.parts.length === 1 &&
|
|
188
|
+
a.y === b.y &&
|
|
189
|
+
a.newline &&
|
|
190
|
+
b.newline &&
|
|
191
|
+
a.width === b.width);
|
|
192
|
+
}
|
|
193
|
+
function split(str, term) {
|
|
194
|
+
let y = 0;
|
|
195
|
+
const lines = str.split('\n');
|
|
196
|
+
const wrapped = [];
|
|
197
|
+
let line;
|
|
198
|
+
for (let i = 0; i < lines.length; i++) {
|
|
199
|
+
line = new Line(lines[i], y, i < lines.length - 1, term);
|
|
200
|
+
y += line.height + (line.newline ? 1 : 0);
|
|
201
|
+
wrapped.push(line);
|
|
202
|
+
}
|
|
203
|
+
return wrapped;
|
|
204
|
+
}
|
|
205
|
+
function moveUp(n) {
|
|
206
|
+
return Buffer.from('1b5b' + toHex(n) + '41', 'hex');
|
|
207
|
+
}
|
|
208
|
+
function moveDown(n) {
|
|
209
|
+
return Buffer.from('1b5b' + toHex(n) + '42', 'hex');
|
|
210
|
+
}
|
|
211
|
+
function moveRight(n) {
|
|
212
|
+
return Buffer.from('1b5b' + toHex(n) + '43', 'hex');
|
|
213
|
+
}
|
|
214
|
+
function moveLeft(n) {
|
|
215
|
+
return Buffer.from('1b5b' + toHex(n) + '44', 'hex');
|
|
216
|
+
}
|
|
217
|
+
function length(parts) {
|
|
218
|
+
let len = 0;
|
|
219
|
+
for (let i = 0; i < parts.length; i += 2) {
|
|
220
|
+
len += parts[i].length;
|
|
221
|
+
}
|
|
222
|
+
return len;
|
|
223
|
+
}
|
|
224
|
+
function toHex(n) {
|
|
225
|
+
return Buffer.from(String(n)).toString('hex');
|
|
226
|
+
}
|
|
227
|
+
//# sourceMappingURL=ansi-diff.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ansi-diff.js","sourceRoot":"","sources":["../../src/ansi/ansi-diff.ts"],"names":[],"mappings":";;;AAAA,6CAAuC;AAEvC,MAAM,UAAU,GAAG,MAAM,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AAC,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE;QACzC,GAAG,IAAI,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC;KACvB;IAED,OAAO,GAAG,CAAC;AACZ,CAAC;AAED,SAAS,KAAK,CAAC,CAAS;IACvB,OAAO,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;AAC/C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ansi-regex.d.ts","sourceRoot":"","sources":["../../src/ansi/ansi-regex.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,cAOrB,CAAC;AAEF,eAAO,MAAM,SAAS,QAAS,MAAM,WAMpC,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.stripAnsi = exports.ansiRegex = void 0;
|
|
4
|
+
const ansiRegex = () => {
|
|
5
|
+
const pattern = [
|
|
6
|
+
'[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)',
|
|
7
|
+
'(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))',
|
|
8
|
+
].join('|');
|
|
9
|
+
return new RegExp(pattern, 'g');
|
|
10
|
+
};
|
|
11
|
+
exports.ansiRegex = ansiRegex;
|
|
12
|
+
const stripAnsi = (str) => {
|
|
13
|
+
if (typeof str !== 'string') {
|
|
14
|
+
throw new TypeError(`Expected a \`string\`, got \`${typeof str}\``);
|
|
15
|
+
}
|
|
16
|
+
return str.replace((0, exports.ansiRegex)(), '');
|
|
17
|
+
};
|
|
18
|
+
exports.stripAnsi = stripAnsi;
|
|
19
|
+
//# sourceMappingURL=ansi-regex.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ansi-regex.js","sourceRoot":"","sources":["../../src/ansi/ansi-regex.ts"],"names":[],"mappings":";;;AAAO,MAAM,SAAS,GAAG,GAAG,EAAE;IAC7B,MAAM,OAAO,GAAG;QACf,8HAA8H;QAC9H,0DAA0D;KAC1D,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAEZ,OAAO,IAAI,MAAM,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC;AACjC,CAAC,CAAC;AAPW,QAAA,SAAS,aAOpB;AAEK,MAAM,SAAS,GAAG,CAAC,GAAW,EAAE,EAAE;IACxC,IAAI,OAAO,GAAG,KAAK,QAAQ,EAAE;QAC5B,MAAM,IAAI,SAAS,CAAC,gCAAgC,OAAO,GAAG,IAAI,CAAC,CAAC;KACpE;IAED,OAAO,GAAG,CAAC,OAAO,CAAC,IAAA,iBAAS,GAAE,EAAE,EAAE,CAAC,CAAC;AACrC,CAAC,CAAC;AANW,QAAA,SAAS,aAMpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ansi-split.d.ts","sourceRoot":"","sources":["../../src/ansi/ansi-split.ts"],"names":[],"mappings":"AAEA,wBAAgB,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,EAAE,CAwB/C"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.splitAnsi = void 0;
|
|
4
|
+
const ansi_regex_1 = require("./ansi-regex");
|
|
5
|
+
function splitAnsi(str) {
|
|
6
|
+
const parts = str.match((0, ansi_regex_1.ansiRegex)());
|
|
7
|
+
if (!parts)
|
|
8
|
+
return [str];
|
|
9
|
+
const result = [];
|
|
10
|
+
let offset = 0;
|
|
11
|
+
let ptr = 0;
|
|
12
|
+
for (let i = 0; i < parts.length; i++) {
|
|
13
|
+
offset = str.indexOf(parts[i], offset);
|
|
14
|
+
if (offset === -1)
|
|
15
|
+
throw new Error('Could not split string');
|
|
16
|
+
if (ptr !== offset)
|
|
17
|
+
result.push(str.slice(ptr, offset));
|
|
18
|
+
if (ptr === offset && result.length) {
|
|
19
|
+
result[result.length - 1] += parts[i];
|
|
20
|
+
}
|
|
21
|
+
else {
|
|
22
|
+
if (offset === 0)
|
|
23
|
+
result.push('');
|
|
24
|
+
result.push(parts[i]);
|
|
25
|
+
}
|
|
26
|
+
ptr = offset + parts[i].length;
|
|
27
|
+
}
|
|
28
|
+
result.push(str.slice(ptr));
|
|
29
|
+
return result;
|
|
30
|
+
}
|
|
31
|
+
exports.splitAnsi = splitAnsi;
|
|
32
|
+
//# sourceMappingURL=ansi-split.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ansi-split.js","sourceRoot":"","sources":["../../src/ansi/ansi-split.ts"],"names":[],"mappings":";;;AAAA,6CAAuC;AAEvC,SAAgB,SAAS,CAAC,GAAW;IACpC,MAAM,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC,IAAA,sBAAS,GAAE,CAAC,CAAC;IACrC,IAAI,CAAC,KAAK;QAAE,OAAO,CAAC,GAAG,CAAC,CAAC;IAEzB,MAAM,MAAM,GAAG,EAAE,CAAC;IAClB,IAAI,MAAM,GAAG,CAAC,CAAC;IACf,IAAI,GAAG,GAAG,CAAC,CAAC;IAEZ,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;QACtC,MAAM,GAAG,GAAG,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;QACvC,IAAI,MAAM,KAAK,CAAC,CAAC;YAAE,MAAM,IAAI,KAAK,CAAC,wBAAwB,CAAC,CAAC;QAC7D,IAAI,GAAG,KAAK,MAAM;YAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC,CAAC;QACxD,IAAI,GAAG,KAAK,MAAM,IAAI,MAAM,CAAC,MAAM,EAAE;YACpC,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,CAAC,CAAC;SACtC;aAAM;YACN,IAAI,MAAM,KAAK,CAAC;gBAAE,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;YAClC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;SACtB;QAED,GAAG,GAAG,MAAM,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC;KAC/B;IAED,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;IAC5B,OAAO,MAAM,CAAC;AACf,CAAC;AAxBD,8BAwBC"}
|
package/dist/check-version.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/dist/check-version.js
CHANGED
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"code-frame.d.ts","sourceRoot":"","sources":["../src/code-frame.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAyB,MAAM,oBAAoB,CAAC;AA8D/E,eAAO,MAAM,sBAAsB,QAAS,mBAAmB,SAsC9D,CAAC"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.printCodeFrameAndStack = void 0;
|
|
7
|
+
const chalk_1 = __importDefault(require("chalk"));
|
|
8
|
+
const remotion_1 = require("remotion");
|
|
9
|
+
const log_1 = require("./log");
|
|
10
|
+
const makeFileName = (firstFrame) => {
|
|
11
|
+
return [
|
|
12
|
+
firstFrame.originalFileName,
|
|
13
|
+
firstFrame.originalLineNumber,
|
|
14
|
+
firstFrame.originalColumnNumber === 0
|
|
15
|
+
? null
|
|
16
|
+
: firstFrame.originalColumnNumber,
|
|
17
|
+
]
|
|
18
|
+
.filter(remotion_1.Internals.truthy)
|
|
19
|
+
.join(':');
|
|
20
|
+
};
|
|
21
|
+
const printCodeFrame = (frame) => {
|
|
22
|
+
if (!frame.originalScriptCode) {
|
|
23
|
+
return;
|
|
24
|
+
}
|
|
25
|
+
log_1.Log.info();
|
|
26
|
+
const longestLineNumber = Math.max(...frame.originalScriptCode.map((script) => script.lineNumber)).toString().length;
|
|
27
|
+
log_1.Log.info('at', chalk_1.default.underline(makeFileName(frame)));
|
|
28
|
+
const alignLeftAmount = Math.min(...frame.originalScriptCode.map((c) => c.content.length - c.content.trimStart().length));
|
|
29
|
+
log_1.Log.info(`${frame.originalScriptCode
|
|
30
|
+
.map((c) => {
|
|
31
|
+
const content = `${String(c.lineNumber).padStart(longestLineNumber, ' ')} | ${c.content.substring(alignLeftAmount)}`;
|
|
32
|
+
return c.highlight ? content : chalk_1.default.gray(content);
|
|
33
|
+
})
|
|
34
|
+
.join('\n')}`);
|
|
35
|
+
};
|
|
36
|
+
const logLine = (frame) => {
|
|
37
|
+
const fileName = makeFileName(frame);
|
|
38
|
+
if (!fileName) {
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
log_1.Log.info(chalk_1.default.gray(['at', frame.originalFunctionName, `${chalk_1.default.blueBright(`(${fileName})`)}`]
|
|
42
|
+
.filter(remotion_1.Internals.truthy)
|
|
43
|
+
.join(' ')));
|
|
44
|
+
};
|
|
45
|
+
const printCodeFrameAndStack = (err) => {
|
|
46
|
+
var _a, _b, _c;
|
|
47
|
+
if (!err.symbolicatedStackFrames) {
|
|
48
|
+
log_1.Log.error(err.stack);
|
|
49
|
+
return;
|
|
50
|
+
}
|
|
51
|
+
const firstFrame = err.symbolicatedStackFrames[0];
|
|
52
|
+
log_1.Log.error(chalk_1.default.bgRed(chalk_1.default.white(` ${err.name} `)), err.message);
|
|
53
|
+
printCodeFrame(firstFrame);
|
|
54
|
+
log_1.Log.info();
|
|
55
|
+
for (const frame of err.symbolicatedStackFrames) {
|
|
56
|
+
if (frame === firstFrame) {
|
|
57
|
+
continue;
|
|
58
|
+
}
|
|
59
|
+
logLine(frame);
|
|
60
|
+
}
|
|
61
|
+
if (err.delayRenderCall) {
|
|
62
|
+
log_1.Log.error();
|
|
63
|
+
log_1.Log.error('🕧 The delayRender() call is located at:');
|
|
64
|
+
for (const frame of err.delayRenderCall) {
|
|
65
|
+
const showCodeFrame = (!((_a = frame.originalFileName) === null || _a === void 0 ? void 0 : _a.includes('node_modules')) &&
|
|
66
|
+
!((_b = frame.originalFileName) === null || _b === void 0 ? void 0 : _b.startsWith('webpack/'))) ||
|
|
67
|
+
frame === err.delayRenderCall[0] ||
|
|
68
|
+
((_c = frame.originalScriptCode) === null || _c === void 0 ? void 0 : _c.map((c) => c.content).join('').includes('delayRender'));
|
|
69
|
+
if (showCodeFrame) {
|
|
70
|
+
printCodeFrame(frame);
|
|
71
|
+
}
|
|
72
|
+
else {
|
|
73
|
+
logLine(frame);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
exports.printCodeFrameAndStack = printCodeFrameAndStack;
|
|
79
|
+
//# sourceMappingURL=code-frame.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"code-frame.js","sourceRoot":"","sources":["../src/code-frame.ts"],"names":[],"mappings":";;;;;;AACA,kDAA0B;AAC1B,uCAAmC;AACnC,+BAA0B;AAE1B,MAAM,YAAY,GAAG,CAAC,UAAkC,EAAE,EAAE;IAC3D,OAAO;QACN,UAAU,CAAC,gBAAgB;QAC3B,UAAU,CAAC,kBAAkB;QAC7B,UAAU,CAAC,oBAAoB,KAAK,CAAC;YACpC,CAAC,CAAC,IAAI;YACN,C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AI,GAAG,CAAC,eAAe,EAAE;YACxC,MAAM,aAAa,GAClB,CAAC,CAAC,CAAA,MAAA,KAAK,CAAC,gBAAgB,0CAAE,QAAQ,CAAC,cAAc,CAAC,CAAA;gBACjD,CAAC,CAAA,MAAA,KAAK,CAAC,gBAAgB,0CAAE,UAAU,CAAC,UAAU,CAAC,CAAA,CAAC;gBACjD,KAAK,KAAK,GAAG,CAAC,eAAe,CAAC,CAAC,CAAC;iBAChC,MAAA,KAAK,CAAC,kBAAkB,0CACrB,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,EACrB,IAAI,CAAC,EAAE,EACP,QAAQ,CAAC,aAAa,CAAC,CAAA,CAAC;YAE3B,IAAI,aAAa,EAAE;gBAClB,cAAc,CAAC,KAAK,CAAC,CAAC;aACtB;iBAAM;gBACN,OAAO,CAAC,KAAK,CAAC,CAAC;aACf;SACD;KACD;AACF,CAAC,CAAC;AAtCW,QAAA,sBAAsB,0BAsCjC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compositions.d.ts","sourceRoot":"","sources":["../src/compositions.ts"],"names":[],"mappings":"AAuBA,eAAO,MAAM,uBAAuB,qBAqDnC,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.listCompositionsCommand = void 0;
|
|
7
|
+
const path_1 = __importDefault(require("path"));
|
|
8
|
+
const renderer_1 = require("@remotion/renderer");
|
|
9
|
+
const get_config_file_name_1 = require("./get-config-file-name");
|
|
10
|
+
const parse_command_line_1 = require("./parse-command-line");
|
|
11
|
+
const log_1 = require("./log");
|
|
12
|
+
const setup_cache_1 = require("./setup-cache");
|
|
13
|
+
const max = (arr) => {
|
|
14
|
+
if (arr.length === 0) {
|
|
15
|
+
throw new Error('Array of 0 length');
|
|
16
|
+
}
|
|
17
|
+
let biggest = arr[0];
|
|
18
|
+
for (let i = 0; i < arr.length; i++) {
|
|
19
|
+
const elem = arr[i];
|
|
20
|
+
if (elem > biggest) {
|
|
21
|
+
biggest = elem;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
return biggest;
|
|
25
|
+
};
|
|
26
|
+
const listCompositionsCommand = async () => {
|
|
27
|
+
const file = parse_command_line_1.parsedCli._[1];
|
|
28
|
+
if (!file) {
|
|
29
|
+
log_1.Log.error('The compositions command requires you to specify a root file. For example');
|
|
30
|
+
log_1.Log.error(' npx remotion compositions src/index.tsx');
|
|
31
|
+
log_1.Log.error('See https://www.remotion.dev/docs/register-root for more information.');
|
|
32
|
+
process.exit(1);
|
|
33
|
+
}
|
|
34
|
+
const fullPath = path_1.default.join(process.cwd(), file);
|
|
35
|
+
(0, get_config_file_name_1.loadConfig)();
|
|
36
|
+
const bundled = await (0, setup_cache_1.bundleOnCli)(fullPath, ['bundling']);
|
|
37
|
+
const compositions = await (0, renderer_1.getCompositions)(bundled);
|
|
38
|
+
log_1.Log.info();
|
|
39
|
+
log_1.Log.info('The following compositions are available:');
|
|
40
|
+
log_1.Log.info();
|
|
41
|
+
const firstColumnLength = max(compositions.map(({ id }) => id.length)) + 4;
|
|
42
|
+
const secondColumnLength = 8;
|
|
43
|
+
const thirdColumnLength = 15;
|
|
44
|
+
log_1.Log.info(`${'Composition'.padEnd(firstColumnLength, ' ')}${'FPS'.padEnd(secondColumnLength)}${'Dimensions'.padEnd(thirdColumnLength, ' ')}Duration`);
|
|
45
|
+
log_1.Log.info(compositions
|
|
46
|
+
.map((comp) => {
|
|
47
|
+
const isStill = comp.durationInFrames === 1;
|
|
48
|
+
const dimensions = `${comp.width}x${comp.height}`;
|
|
49
|
+
const fps = isStill ? '' : comp.fps.toString();
|
|
50
|
+
const durationInSeconds = (comp.durationInFrames / comp.fps).toFixed(2);
|
|
51
|
+
const formattedDuration = isStill
|
|
52
|
+
? 'Still'
|
|
53
|
+
: `${comp.durationInFrames} (${durationInSeconds} sec)`;
|
|
54
|
+
return [
|
|
55
|
+
comp.id.padEnd(firstColumnLength, ' '),
|
|
56
|
+
fps.padEnd(secondColumnLength, ' '),
|
|
57
|
+
dimensions.padEnd(thirdColumnLength, ' '),
|
|
58
|
+
formattedDuration,
|
|
59
|
+
].join('');
|
|
60
|
+
})
|
|
61
|
+
.join('\n'));
|
|
62
|
+
};
|
|
63
|
+
exports.listCompositionsCommand = listCompositionsCommand;
|
|
64
|
+
//# sourceMappingURL=compositions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compositions.js","sourceRoot":"","sources":["../src/compositions.ts"],"names":[],"mappings":";;;;;;AAAA,gDAAwB;AACxB,iDAAmD;AACnD,iEAAkD;AAClD,6DAA+C;AAC/C,+BAA0B;AAC1B,+CAA0C;AAE1C,MAAM,GAAG,GAAG,CAAC,GAAa,EAAE,EAAE;IAC7B,IAAI,GAAG,CAAC,MAAM,KAAK,CAAC,EAAE;QACrB,MAAM,IAAI,KAAK,CAAC,mBAAmB,CAAC,CAAC;KACrC;IAED,IAAI,OAAO,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC;IACrB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,GAAG,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;QACpC,MAAM,IAAI,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC;QACpB,IAAI,IAAI,GAAG,OAAO,EAAE;YACnB,OAAO,GAAG,IAAI,CAAC;SACf;KACD;IAED,OAAO,OAAO,CAAC;AAChB,CAAC,CAAC;AAEK,MAAM,uBAAuB,GAAG,KAAK,IAAI,EAAE;IACjD,MAAM,IAAI,GAAG,8BAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAE5B,IAAI,CAAC,IAAI,EAAE;QACV,SAAG,CAAC,KAA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,MAAM,EAAE,CAAC;QAClD,MAAM,GAAG,GAAG,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;QAC/C,MAAM,iBAAiB,GAAG,CAAC,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;QACxE,MAAM,iBAAiB,GAAG,OAAO;YAChC,CAAC,CAAC,OAAO;YACT,CAAC,CAAC,GAAG,IAAI,CAAC,gBAAgB,KAAK,iBAAiB,OAAO,CAAC;QACzD,OAAO;YACN,IAAI,CAAC,EAAE,CAAC,MAAM,CAAC,iBAAiB,EAAE,GAAG,CAAC;YACtC,GAAG,CAAC,MAAM,CAAC,kBAAkB,EAAE,GAAG,CAAC;YACnC,UAAU,CAAC,MAAM,CAAC,iBAAiB,EAAE,GAAG,CAAC;YACzC,iBAAiB;SACjB,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACZ,CAAC,CAAC;SACD,IAAI,CAAC,IAAI,CAAC,CACZ,CAAC;AACH,CAAC,CAAC;AArDW,QAAA,uBAAuB,2BAqDlC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { RenderInternals } from '@remotion/renderer';
|
|
2
|
+
declare type Await<T> = T extends PromiseLike<infer U> ? U : T;
|
|
3
|
+
export declare const cycleBrowserTabs: (openedBrowser: Await<ReturnType<typeof RenderInternals.openBrowser>>) => {
|
|
4
|
+
stopCycling: () => void;
|
|
5
|
+
};
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=cycle-browser-tabs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cycle-browser-tabs.d.ts","sourceRoot":"","sources":["../src/cycle-browser-tabs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,oBAAoB,CAAC;AAGnD,aAAK,KAAK,CAAC,CAAC,IAAI,CAAC,SAAS,WAAW,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AAEvD,eAAO,MAAM,gBAAgB,kBACb,MAAM,WAAW,OAAO,gBAAgB,WAAW,CAAC,CAAC;;CAmBpE,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.cycleBrowserTabs = void 0;
|
|
4
|
+
const log_1 = require("./log");
|
|
5
|
+
const cycleBrowserTabs = (openedBrowser) => {
|
|
6
|
+
let i = 0;
|
|
7
|
+
const interval = setInterval(() => {
|
|
8
|
+
openedBrowser
|
|
9
|
+
.pages()
|
|
10
|
+
.then((pages) => {
|
|
11
|
+
const currentPage = pages[i % pages.length];
|
|
12
|
+
i++;
|
|
13
|
+
if (!currentPage.isClosed()) {
|
|
14
|
+
currentPage.bringToFront();
|
|
15
|
+
}
|
|
16
|
+
})
|
|
17
|
+
.catch((err) => log_1.Log.error(err));
|
|
18
|
+
}, 100);
|
|
19
|
+
return {
|
|
20
|
+
stopCycling: () => clearInterval(interval),
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
exports.cycleBrowserTabs = cycleBrowserTabs;
|
|
24
|
+
//# sourceMappingURL=cycle-browser-tabs.js.map
|