@remotion/cli 4.0.111 → 4.0.113
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/dist/ansi/ansi-diff.d.ts +42 -0
- package/dist/ansi/ansi-diff.js +220 -0
- package/dist/ansi/ansi-split.d.ts +2 -0
- package/dist/ansi/ansi-split.js +44 -0
- package/dist/better-opn/index.d.ts +5 -0
- package/dist/better-opn/index.js +202 -0
- package/dist/codemods/stringify-with-path.d.ts +5 -0
- package/dist/codemods/stringify-with-path.js +49 -0
- package/dist/codemods/update-default-props.d.ts +7 -0
- package/dist/codemods/update-default-props.js +133 -0
- package/dist/color-math.d.ts +2 -0
- package/dist/color-math.js +13 -0
- package/dist/config/max-timeline-tracks.d.ts +2 -0
- package/dist/config/max-timeline-tracks.js +25 -0
- package/dist/editor/components/AssetSelector.d.ts +2 -0
- package/dist/editor/components/AssetSelector.js +102 -0
- package/dist/editor/components/AssetSelectorItem.d.ts +24 -0
- package/dist/editor/components/AssetSelectorItem.js +196 -0
- package/dist/editor/components/AudioWaveform.d.ts +11 -0
- package/dist/editor/components/AudioWaveform.js +122 -0
- package/dist/editor/components/AudioWaveformBar.d.ts +6 -0
- package/dist/editor/components/AudioWaveformBar.js +24 -0
- package/dist/editor/components/Canvas.d.ts +5 -0
- package/dist/editor/components/Canvas.js +260 -0
- package/dist/editor/components/CanvasOrLoading.d.ts +5 -0
- package/dist/editor/components/CanvasOrLoading.js +96 -0
- package/dist/editor/components/CheckboardToggle.d.ts +2 -0
- package/dist/editor/components/CheckboardToggle.js +26 -0
- package/dist/editor/components/Checkbox.d.ts +7 -0
- package/dist/editor/components/Checkbox.js +42 -0
- package/dist/editor/components/CheckerboardProvider.d.ts +4 -0
- package/dist/editor/components/CheckerboardProvider.js +24 -0
- package/dist/editor/components/CompositionSelector.d.ts +6 -0
- package/dist/editor/components/CompositionSelector.js +102 -0
- package/dist/editor/components/CompositionSelectorItem.d.ts +22 -0
- package/dist/editor/components/CompositionSelectorItem.js +131 -0
- package/dist/editor/components/ContextMenu.d.ts +6 -0
- package/dist/editor/components/ContextMenu.js +91 -0
- package/dist/editor/components/ControlButton.d.ts +5 -0
- package/dist/editor/components/ControlButton.js +21 -0
- package/dist/editor/components/CopyButton.d.ts +6 -0
- package/dist/editor/components/CopyButton.js +43 -0
- package/dist/editor/components/CurrentComposition.d.ts +2 -0
- package/dist/editor/components/CurrentComposition.js +45 -0
- package/dist/editor/components/CurrentCompositionSideEffects.d.ts +3 -0
- package/dist/editor/components/CurrentCompositionSideEffects.js +67 -0
- package/dist/editor/components/Editor.d.ts +2 -0
- package/dist/editor/components/Editor.js +57 -0
- package/dist/editor/components/EditorContent.d.ts +2 -0
- package/dist/editor/components/EditorContent.js +24 -0
- package/dist/editor/components/EditorContexts.d.ts +4 -0
- package/dist/editor/components/EditorContexts.js +24 -0
- package/dist/editor/components/EditorGuides/Guide.d.ts +13 -0
- package/dist/editor/components/EditorGuides/Guide.js +91 -0
- package/dist/editor/components/EditorGuides/index.d.ts +10 -0
- package/dist/editor/components/EditorGuides/index.js +32 -0
- package/dist/editor/components/EditorRuler/Ruler.d.ts +17 -0
- package/dist/editor/components/EditorRuler/Ruler.js +107 -0
- package/dist/editor/components/EditorRuler/index.d.ts +10 -0
- package/dist/editor/components/EditorRuler/index.js +167 -0
- package/dist/editor/components/EditorRuler/use-is-ruler-visible.d.ts +1 -0
- package/dist/editor/components/EditorRuler/use-is-ruler-visible.js +12 -0
- package/dist/editor/components/ExplorerPanel.d.ts +8 -0
- package/dist/editor/components/ExplorerPanel.js +54 -0
- package/dist/editor/components/FilePreview.d.ts +9 -0
- package/dist/editor/components/FilePreview.js +40 -0
- package/dist/editor/components/FpsCounter.d.ts +4 -0
- package/dist/editor/components/FpsCounter.js +74 -0
- package/dist/editor/components/FramePersistor.d.ts +2 -0
- package/dist/editor/components/FramePersistor.js +17 -0
- package/dist/editor/components/FullscreenToggle.d.ts +2 -0
- package/dist/editor/components/FullscreenToggle.js +48 -0
- package/dist/editor/components/GlobalKeybindings.d.ts +2 -0
- package/dist/editor/components/GlobalKeybindings.js +77 -0
- package/dist/editor/components/InitialCompositionLoader.d.ts +4 -0
- package/dist/editor/components/InitialCompositionLoader.js +115 -0
- package/dist/editor/components/InlineAction.d.ts +8 -0
- package/dist/editor/components/InlineAction.js +34 -0
- package/dist/editor/components/JSONViewer.d.ts +4 -0
- package/dist/editor/components/JSONViewer.js +26 -0
- package/dist/editor/components/KeyboardShortcutsExplainer.d.ts +2 -0
- package/dist/editor/components/KeyboardShortcutsExplainer.js +57 -0
- package/dist/editor/components/KnownBugs.d.ts +5 -0
- package/dist/editor/components/KnownBugs.js +21 -0
- package/dist/editor/components/LoopToggle.d.ts +5 -0
- package/dist/editor/components/LoopToggle.js +19 -0
- package/dist/editor/components/MediaVolumeProvider.d.ts +4 -0
- package/dist/editor/components/MediaVolumeProvider.js +25 -0
- package/dist/editor/components/Menu/MenuDivider.d.ts +2 -0
- package/dist/editor/components/Menu/MenuDivider.js +15 -0
- package/dist/editor/components/Menu/MenuItem.d.ts +22 -0
- package/dist/editor/components/Menu/MenuItem.js +96 -0
- package/dist/editor/components/Menu/MenuSubItem.d.ts +19 -0
- package/dist/editor/components/Menu/MenuSubItem.js +105 -0
- package/dist/editor/components/Menu/SubMenu.d.ts +10 -0
- package/dist/editor/components/Menu/SubMenu.js +14 -0
- package/dist/editor/components/Menu/is-menu-item.d.ts +5 -0
- package/dist/editor/components/Menu/is-menu-item.js +14 -0
- package/dist/editor/components/Menu/portals.d.ts +1 -0
- package/dist/editor/components/Menu/portals.js +15 -0
- package/dist/editor/components/Menu/styles.d.ts +11 -0
- package/dist/editor/components/Menu/styles.js +38 -0
- package/dist/editor/components/MenuBuildIndicator.d.ts +2 -0
- package/dist/editor/components/MenuBuildIndicator.js +45 -0
- package/dist/editor/components/MenuToolbar.d.ts +2 -0
- package/dist/editor/components/MenuToolbar.js +82 -0
- package/dist/editor/components/ModalContainer.d.ts +8 -0
- package/dist/editor/components/ModalContainer.js +34 -0
- package/dist/editor/components/ModalHeader.d.ts +4 -0
- package/dist/editor/components/ModalHeader.js +32 -0
- package/dist/editor/components/Modals.d.ts +2 -0
- package/dist/editor/components/Modals.js +23 -0
- package/dist/editor/components/ModalsProvider.d.ts +4 -0
- package/dist/editor/components/ModalsProvider.js +17 -0
- package/dist/editor/components/MuteToggle.d.ts +5 -0
- package/dist/editor/components/MuteToggle.js +19 -0
- package/dist/editor/components/NewComposition/CancelButton.d.ts +5 -0
- package/dist/editor/components/NewComposition/CancelButton.js +20 -0
- package/dist/editor/components/NewComposition/ComboBox.d.ts +29 -0
- package/dist/editor/components/NewComposition/ComboBox.js +159 -0
- package/dist/editor/components/NewComposition/CopyHint.d.ts +2 -0
- package/dist/editor/components/NewComposition/CopyHint.js +30 -0
- package/dist/editor/components/NewComposition/InputDragger.d.ts +12 -0
- package/dist/editor/components/NewComposition/InputDragger.js +122 -0
- package/dist/editor/components/NewComposition/MenuContent.d.ts +12 -0
- package/dist/editor/components/NewComposition/MenuContent.js +245 -0
- package/dist/editor/components/NewComposition/NewCompAspectRatio.d.ts +7 -0
- package/dist/editor/components/NewComposition/NewCompAspectRatio.js +20 -0
- package/dist/editor/components/NewComposition/NewCompCode.d.ts +9 -0
- package/dist/editor/components/NewComposition/NewCompCode.js +67 -0
- package/dist/editor/components/NewComposition/NewCompDuration.d.ts +6 -0
- package/dist/editor/components/NewComposition/NewCompDuration.js +23 -0
- package/dist/editor/components/NewComposition/NewComposition.d.ts +6 -0
- package/dist/editor/components/NewComposition/NewComposition.js +204 -0
- package/dist/editor/components/NewComposition/RemInput.d.ts +17 -0
- package/dist/editor/components/NewComposition/RemInput.js +74 -0
- package/dist/editor/components/NewComposition/RemInputTypeColor.d.ts +8 -0
- package/dist/editor/components/NewComposition/RemInputTypeColor.js +53 -0
- package/dist/editor/components/NewComposition/RemTextarea.d.ts +7 -0
- package/dist/editor/components/NewComposition/RemTextarea.js +92 -0
- package/dist/editor/components/NewComposition/ToggleAspectRatio.d.ts +5 -0
- package/dist/editor/components/NewComposition/ToggleAspectRatio.js +26 -0
- package/dist/editor/components/NewComposition/ValidationMessage.d.ts +8 -0
- package/dist/editor/components/NewComposition/ValidationMessage.js +34 -0
- package/dist/editor/components/NewComposition/new-comp-layout.d.ts +4 -0
- package/dist/editor/components/NewComposition/new-comp-layout.js +20 -0
- package/dist/editor/components/NewComposition/render-aspect-ratio.d.ts +1 -0
- package/dist/editor/components/NewComposition/render-aspect-ratio.js +23 -0
- package/dist/editor/components/NoRegisterRoot.d.ts +2 -0
- package/dist/editor/components/NoRegisterRoot.js +41 -0
- package/dist/editor/components/Notifications/ColorDot.d.ts +4 -0
- package/dist/editor/components/Notifications/ColorDot.js +22 -0
- package/dist/editor/components/Notifications/Notification.d.ts +8 -0
- package/dist/editor/components/Notifications/Notification.js +31 -0
- package/dist/editor/components/Notifications/NotificationCenter.d.ts +14 -0
- package/dist/editor/components/Notifications/NotificationCenter.js +50 -0
- package/dist/editor/components/Notifications/ServerDisconnected.d.ts +2 -0
- package/dist/editor/components/Notifications/ServerDisconnected.js +53 -0
- package/dist/editor/components/OpenEditorButton.d.ts +2 -0
- package/dist/editor/components/OpenEditorButton.js +55 -0
- package/dist/editor/components/OptionsPanel.d.ts +8 -0
- package/dist/editor/components/OptionsPanel.js +112 -0
- package/dist/editor/components/PlayPause.d.ts +5 -0
- package/dist/editor/components/PlayPause.js +209 -0
- package/dist/editor/components/PlaybackKeyboardShortcutsManager.d.ts +4 -0
- package/dist/editor/components/PlaybackKeyboardShortcutsManager.js +80 -0
- package/dist/editor/components/PlaybackRatePersistor.d.ts +2 -0
- package/dist/editor/components/PlaybackRatePersistor.js +17 -0
- package/dist/editor/components/PlaybackRateSelector.d.ts +5 -0
- package/dist/editor/components/PlaybackRateSelector.js +59 -0
- package/dist/editor/components/PlayerEmitterContext.d.ts +4 -0
- package/dist/editor/components/PlayerEmitterContext.js +11 -0
- package/dist/editor/components/Preview.d.ts +13 -0
- package/dist/editor/components/Preview.js +158 -0
- package/dist/editor/components/PreviewToolbar.d.ts +2 -0
- package/dist/editor/components/PreviewToolbar.js +55 -0
- package/dist/editor/components/QuickSwitcher/AlgoliaCredit.d.ts +2 -0
- package/dist/editor/components/QuickSwitcher/AlgoliaCredit.js +11 -0
- package/dist/editor/components/QuickSwitcher/NoResults.d.ts +6 -0
- package/dist/editor/components/QuickSwitcher/NoResults.js +20 -0
- package/dist/editor/components/QuickSwitcher/QuickSwitcher.d.ts +7 -0
- package/dist/editor/components/QuickSwitcher/QuickSwitcher.js +16 -0
- package/dist/editor/components/QuickSwitcher/QuickSwitcherContent.d.ts +6 -0
- package/dist/editor/components/QuickSwitcher/QuickSwitcherContent.js +303 -0
- package/dist/editor/components/QuickSwitcher/QuickSwitcherResult.d.ts +21 -0
- package/dist/editor/components/QuickSwitcher/QuickSwitcherResult.js +112 -0
- package/dist/editor/components/QuickSwitcher/algolia-search.d.ts +2 -0
- package/dist/editor/components/QuickSwitcher/algolia-search.js +62 -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/RenderButton.d.ts +2 -0
- package/dist/editor/components/RenderButton.js +94 -0
- package/dist/editor/components/RenderModal/CliCopyButton.d.ts +4 -0
- package/dist/editor/components/RenderModal/CliCopyButton.js +60 -0
- package/dist/editor/components/RenderModal/CrfSetting.d.ts +15 -0
- package/dist/editor/components/RenderModal/CrfSetting.js +42 -0
- package/dist/editor/components/RenderModal/DataEditor.d.ts +22 -0
- package/dist/editor/components/RenderModal/DataEditor.js +301 -0
- package/dist/editor/components/RenderModal/EnforceAudioTrackSetting.d.ts +8 -0
- package/dist/editor/components/RenderModal/EnforceAudioTrackSetting.js +17 -0
- package/dist/editor/components/RenderModal/EnvInput.d.ts +11 -0
- package/dist/editor/components/RenderModal/EnvInput.js +74 -0
- package/dist/editor/components/RenderModal/FrameRangeSetting.d.ts +8 -0
- package/dist/editor/components/RenderModal/FrameRangeSetting.js +26 -0
- package/dist/editor/components/RenderModal/GuiRenderStatus.d.ts +5 -0
- package/dist/editor/components/RenderModal/GuiRenderStatus.js +78 -0
- package/dist/editor/components/RenderModal/InfoBubble.d.ts +5 -0
- package/dist/editor/components/RenderModal/InfoBubble.js +116 -0
- package/dist/editor/components/RenderModal/InfoTooltip.d.ts +6 -0
- package/dist/editor/components/RenderModal/InfoTooltip.js +41 -0
- package/dist/editor/components/RenderModal/InlineEyeIcon.d.ts +5 -0
- package/dist/editor/components/RenderModal/InlineEyeIcon.js +17 -0
- package/dist/editor/components/RenderModal/InlineRemoveButton.d.ts +4 -0
- package/dist/editor/components/RenderModal/InlineRemoveButton.js +17 -0
- package/dist/editor/components/RenderModal/JpegQualitySetting.d.ts +5 -0
- package/dist/editor/components/RenderModal/JpegQualitySetting.js +12 -0
- package/dist/editor/components/RenderModal/MultiRangeSlider.d.ts +12 -0
- package/dist/editor/components/RenderModal/MultiRangeSlider.js +47 -0
- package/dist/editor/components/RenderModal/MutedSetting.d.ts +8 -0
- package/dist/editor/components/RenderModal/MutedSetting.js +17 -0
- package/dist/editor/components/RenderModal/NumberOfLoopsSetting.d.ts +5 -0
- package/dist/editor/components/RenderModal/NumberOfLoopsSetting.js +26 -0
- package/dist/editor/components/RenderModal/NumberSetting.d.ts +12 -0
- package/dist/editor/components/RenderModal/NumberSetting.js +29 -0
- package/dist/editor/components/RenderModal/OptionExplainer.d.ts +5 -0
- package/dist/editor/components/RenderModal/OptionExplainer.js +56 -0
- package/dist/editor/components/RenderModal/RenderModal.d.ts +39 -0
- package/dist/editor/components/RenderModal/RenderModal.js +790 -0
- package/dist/editor/components/RenderModal/RenderModalAdvanced.d.ts +34 -0
- package/dist/editor/components/RenderModal/RenderModalAdvanced.js +109 -0
- package/dist/editor/components/RenderModal/RenderModalAudio.d.ts +17 -0
- package/dist/editor/components/RenderModal/RenderModalAudio.js +46 -0
- package/dist/editor/components/RenderModal/RenderModalBasic.d.ts +23 -0
- package/dist/editor/components/RenderModal/RenderModalBasic.js +80 -0
- package/dist/editor/components/RenderModal/RenderModalEnvironmentVariables.d.ts +5 -0
- package/dist/editor/components/RenderModal/RenderModalEnvironmentVariables.js +55 -0
- package/dist/editor/components/RenderModal/RenderModalGif.d.ts +9 -0
- package/dist/editor/components/RenderModal/RenderModalGif.js +19 -0
- package/dist/editor/components/RenderModal/RenderModalHr.d.ts +2 -0
- package/dist/editor/components/RenderModal/RenderModalHr.js +18 -0
- package/dist/editor/components/RenderModal/RenderModalInput.d.ts +12 -0
- package/dist/editor/components/RenderModal/RenderModalInput.js +13 -0
- package/dist/editor/components/RenderModal/RenderModalJSONPropsEditor.d.ts +13 -0
- package/dist/editor/components/RenderModal/RenderModalJSONPropsEditor.js +143 -0
- package/dist/editor/components/RenderModal/RenderModalPicture.d.ts +30 -0
- package/dist/editor/components/RenderModal/RenderModalPicture.js +73 -0
- package/dist/editor/components/RenderModal/RenderStatusModal.d.ts +4 -0
- package/dist/editor/components/RenderModal/RenderStatusModal.js +70 -0
- package/dist/editor/components/RenderModal/ScaleSetting.d.ts +5 -0
- package/dist/editor/components/RenderModal/ScaleSetting.js +17 -0
- package/dist/editor/components/RenderModal/SchemaEditor/Fieldset.d.ts +7 -0
- package/dist/editor/components/RenderModal/SchemaEditor/Fieldset.js +26 -0
- package/dist/editor/components/RenderModal/SchemaEditor/SchemaEditor.d.ts +13 -0
- package/dist/editor/components/RenderModal/SchemaEditor/SchemaEditor.js +69 -0
- package/dist/editor/components/RenderModal/SchemaEditor/SchemaErrorMessages.d.ts +15 -0
- package/dist/editor/components/RenderModal/SchemaEditor/SchemaErrorMessages.js +60 -0
- package/dist/editor/components/RenderModal/SchemaEditor/SchemaLabel.d.ts +14 -0
- package/dist/editor/components/RenderModal/SchemaEditor/SchemaLabel.js +32 -0
- package/dist/editor/components/RenderModal/SchemaEditor/SchemaResetButton.d.ts +4 -0
- package/dist/editor/components/RenderModal/SchemaEditor/SchemaResetButton.js +17 -0
- package/dist/editor/components/RenderModal/SchemaEditor/SchemaSaveButton.d.ts +5 -0
- package/dist/editor/components/RenderModal/SchemaEditor/SchemaSaveButton.js +18 -0
- package/dist/editor/components/RenderModal/SchemaEditor/SchemaSeparationLine.d.ts +2 -0
- package/dist/editor/components/RenderModal/SchemaEditor/SchemaSeparationLine.js +11 -0
- package/dist/editor/components/RenderModal/SchemaEditor/SchemaVerticalGuide.d.ts +5 -0
- package/dist/editor/components/RenderModal/SchemaEditor/SchemaVerticalGuide.js +13 -0
- package/dist/editor/components/RenderModal/SchemaEditor/ZodArrayEditor.d.ts +17 -0
- package/dist/editor/components/RenderModal/SchemaEditor/ZodArrayEditor.js +83 -0
- package/dist/editor/components/RenderModal/SchemaEditor/ZodArrayItemEditor.d.ts +16 -0
- package/dist/editor/components/RenderModal/SchemaEditor/ZodArrayItemEditor.js +28 -0
- package/dist/editor/components/RenderModal/SchemaEditor/ZodBooleanEditor.d.ts +17 -0
- package/dist/editor/components/RenderModal/SchemaEditor/ZodBooleanEditor.js +28 -0
- package/dist/editor/components/RenderModal/SchemaEditor/ZodColorEditor.d.ts +17 -0
- package/dist/editor/components/RenderModal/SchemaEditor/ZodColorEditor.js +71 -0
- package/dist/editor/components/RenderModal/SchemaEditor/ZodDateEditor.d.ts +17 -0
- package/dist/editor/components/RenderModal/SchemaEditor/ZodDateEditor.js +62 -0
- package/dist/editor/components/RenderModal/SchemaEditor/ZodDefaultEditor.d.ts +17 -0
- package/dist/editor/components/RenderModal/SchemaEditor/ZodDefaultEditor.js +10 -0
- package/dist/editor/components/RenderModal/SchemaEditor/ZodDiscriminatedUnionEditor.d.ts +17 -0
- package/dist/editor/components/RenderModal/SchemaEditor/ZodDiscriminatedUnionEditor.js +83 -0
- package/dist/editor/components/RenderModal/SchemaEditor/ZodEffectEditor.d.ts +16 -0
- package/dist/editor/components/RenderModal/SchemaEditor/ZodEffectEditor.js +31 -0
- package/dist/editor/components/RenderModal/SchemaEditor/ZodEnumEditor.d.ts +15 -0
- package/dist/editor/components/RenderModal/SchemaEditor/ZodEnumEditor.js +55 -0
- package/dist/editor/components/RenderModal/SchemaEditor/ZodErrorMessages.d.ts +6 -0
- package/dist/editor/components/RenderModal/SchemaEditor/ZodErrorMessages.js +48 -0
- package/dist/editor/components/RenderModal/SchemaEditor/ZodFieldValidation.d.ts +7 -0
- package/dist/editor/components/RenderModal/SchemaEditor/ZodFieldValidation.js +27 -0
- package/dist/editor/components/RenderModal/SchemaEditor/ZodNonEditableValue.d.ts +9 -0
- package/dist/editor/components/RenderModal/SchemaEditor/ZodNonEditableValue.js +27 -0
- package/dist/editor/components/RenderModal/SchemaEditor/ZodNullableEditor.d.ts +17 -0
- package/dist/editor/components/RenderModal/SchemaEditor/ZodNullableEditor.js +10 -0
- package/dist/editor/components/RenderModal/SchemaEditor/ZodNumberEditor.d.ts +17 -0
- package/dist/editor/components/RenderModal/SchemaEditor/ZodNumberEditor.js +69 -0
- package/dist/editor/components/RenderModal/SchemaEditor/ZodObjectEditor.d.ts +22 -0
- package/dist/editor/components/RenderModal/SchemaEditor/ZodObjectEditor.js +88 -0
- package/dist/editor/components/RenderModal/SchemaEditor/ZodOptionalEditor.d.ts +17 -0
- package/dist/editor/components/RenderModal/SchemaEditor/ZodOptionalEditor.js +10 -0
- package/dist/editor/components/RenderModal/SchemaEditor/ZodOrNullishEditor.d.ts +19 -0
- package/dist/editor/components/RenderModal/SchemaEditor/ZodOrNullishEditor.js +50 -0
- package/dist/editor/components/RenderModal/SchemaEditor/ZodStaticFileEditor.d.ts +17 -0
- package/dist/editor/components/RenderModal/SchemaEditor/ZodStaticFileEditor.js +56 -0
- package/dist/editor/components/RenderModal/SchemaEditor/ZodStringEditor.d.ts +17 -0
- package/dist/editor/components/RenderModal/SchemaEditor/ZodStringEditor.js +34 -0
- package/dist/editor/components/RenderModal/SchemaEditor/ZodSwitch.d.ts +17 -0
- package/dist/editor/components/RenderModal/SchemaEditor/ZodSwitch.js +101 -0
- package/dist/editor/components/RenderModal/SchemaEditor/ZodTextareaEditor.d.ts +17 -0
- package/dist/editor/components/RenderModal/SchemaEditor/ZodTextareaEditor.js +42 -0
- package/dist/editor/components/RenderModal/SchemaEditor/ZodUnionEditor.d.ts +17 -0
- package/dist/editor/components/RenderModal/SchemaEditor/ZodUnionEditor.js +49 -0
- package/dist/editor/components/RenderModal/SchemaEditor/create-zod-values.d.ts +2 -0
- package/dist/editor/components/RenderModal/SchemaEditor/create-zod-values.js +163 -0
- package/dist/editor/components/RenderModal/SchemaEditor/deep-equal.d.ts +1 -0
- package/dist/editor/components/RenderModal/SchemaEditor/deep-equal.js +30 -0
- package/dist/editor/components/RenderModal/SchemaEditor/extract-enum-json-paths.d.ts +3 -0
- package/dist/editor/components/RenderModal/SchemaEditor/extract-enum-json-paths.js +126 -0
- package/dist/editor/components/RenderModal/SchemaEditor/get-schema-label.d.ts +2 -0
- package/dist/editor/components/RenderModal/SchemaEditor/get-schema-label.js +15 -0
- package/dist/editor/components/RenderModal/SchemaEditor/local-state.d.ts +21 -0
- package/dist/editor/components/RenderModal/SchemaEditor/local-state.js +85 -0
- package/dist/editor/components/RenderModal/SchemaEditor/zod-types.d.ts +1 -0
- package/dist/editor/components/RenderModal/SchemaEditor/zod-types.js +2 -0
- package/dist/editor/components/RenderModal/WarningIndicatorButton.d.ts +6 -0
- package/dist/editor/components/RenderModal/WarningIndicatorButton.js +49 -0
- package/dist/editor/components/RenderModal/get-render-modal-warnings.d.ts +19 -0
- package/dist/editor/components/RenderModal/get-render-modal-warnings.js +60 -0
- package/dist/editor/components/RenderModal/human-readable-audio-codecs.d.ts +2 -0
- package/dist/editor/components/RenderModal/human-readable-audio-codecs.js +18 -0
- package/dist/editor/components/RenderModal/human-readable-codec.d.ts +2 -0
- package/dist/editor/components/RenderModal/human-readable-codec.js +36 -0
- package/dist/editor/components/RenderModal/layout.d.ts +6 -0
- package/dist/editor/components/RenderModal/layout.js +42 -0
- package/dist/editor/components/RenderModal/out-name-checker.d.ts +14 -0
- package/dist/editor/components/RenderModal/out-name-checker.js +75 -0
- package/dist/editor/components/RenderPreview.d.ts +6 -0
- package/dist/editor/components/RenderPreview.js +31 -0
- package/dist/editor/components/RenderQueue/CircularProgress.d.ts +5 -0
- package/dist/editor/components/RenderQueue/CircularProgress.js +18 -0
- package/dist/editor/components/RenderQueue/RenderQueueCopyToClipboard.d.ts +6 -0
- package/dist/editor/components/RenderQueue/RenderQueueCopyToClipboard.js +52 -0
- package/dist/editor/components/RenderQueue/RenderQueueError.d.ts +5 -0
- package/dist/editor/components/RenderQueue/RenderQueueError.js +26 -0
- package/dist/editor/components/RenderQueue/RenderQueueItem.d.ts +6 -0
- package/dist/editor/components/RenderQueue/RenderQueueItem.js +94 -0
- package/dist/editor/components/RenderQueue/RenderQueueItemCancelButton.d.ts +5 -0
- package/dist/editor/components/RenderQueue/RenderQueueItemCancelButton.js +27 -0
- package/dist/editor/components/RenderQueue/RenderQueueItemStatus.d.ts +5 -0
- package/dist/editor/components/RenderQueue/RenderQueueItemStatus.js +74 -0
- package/dist/editor/components/RenderQueue/RenderQueueOpenInFolder.d.ts +5 -0
- package/dist/editor/components/RenderQueue/RenderQueueOpenInFolder.js +28 -0
- package/dist/editor/components/RenderQueue/RenderQueueOutputName.d.ts +5 -0
- package/dist/editor/components/RenderQueue/RenderQueueOutputName.js +18 -0
- package/dist/editor/components/RenderQueue/RenderQueueProgressMessage.d.ts +5 -0
- package/dist/editor/components/RenderQueue/RenderQueueProgressMessage.js +26 -0
- package/dist/editor/components/RenderQueue/RenderQueueRemoveItem.d.ts +5 -0
- package/dist/editor/components/RenderQueue/RenderQueueRemoveItem.js +37 -0
- package/dist/editor/components/RenderQueue/RenderQueueRepeat.d.ts +5 -0
- package/dist/editor/components/RenderQueue/RenderQueueRepeat.js +27 -0
- package/dist/editor/components/RenderQueue/SuccessIcon.d.ts +2 -0
- package/dist/editor/components/RenderQueue/SuccessIcon.js +14 -0
- package/dist/editor/components/RenderQueue/actions.d.ts +87 -0
- package/dist/editor/components/RenderQueue/actions.js +176 -0
- package/dist/editor/components/RenderQueue/context.d.ts +18 -0
- package/dist/editor/components/RenderQueue/context.js +49 -0
- package/dist/editor/components/RenderQueue/index.d.ts +2 -0
- package/dist/editor/components/RenderQueue/index.js +103 -0
- package/dist/editor/components/RenderQueue/item-style.d.ts +2 -0
- package/dist/editor/components/RenderQueue/item-style.js +21 -0
- package/dist/editor/components/RendersTab.d.ts +6 -0
- package/dist/editor/components/RendersTab.js +51 -0
- package/dist/editor/components/ResetZoomButton.d.ts +4 -0
- package/dist/editor/components/ResetZoomButton.js +9 -0
- package/dist/editor/components/SegmentedControl.d.ts +11 -0
- package/dist/editor/components/SegmentedControl.js +65 -0
- package/dist/editor/components/SetTimelineInOutProvider.d.ts +4 -0
- package/dist/editor/components/SetTimelineInOutProvider.js +20 -0
- package/dist/editor/components/ShowGuidesProvider.d.ts +4 -0
- package/dist/editor/components/ShowGuidesProvider.js +43 -0
- package/dist/editor/components/ShowRulersProvider.d.ts +4 -0
- package/dist/editor/components/ShowRulersProvider.js +24 -0
- package/dist/editor/components/SidebarCollapserControls.d.ts +2 -0
- package/dist/editor/components/SidebarCollapserControls.js +138 -0
- package/dist/editor/components/SidebarRenderButton.d.ts +6 -0
- package/dist/editor/components/SidebarRenderButton.js +74 -0
- package/dist/editor/components/SizeSelector.d.ts +5 -0
- package/dist/editor/components/SizeSelector.js +120 -0
- package/dist/editor/components/Spinner.d.ts +5 -0
- package/dist/editor/components/Spinner.js +41 -0
- package/dist/editor/components/Splitter/SplitterContainer.d.ts +10 -0
- package/dist/editor/components/Splitter/SplitterContainer.js +68 -0
- package/dist/editor/components/Splitter/SplitterContext.d.ts +22 -0
- package/dist/editor/components/Splitter/SplitterContext.js +19 -0
- package/dist/editor/components/Splitter/SplitterElement.d.ts +5 -0
- package/dist/editor/components/Splitter/SplitterElement.js +22 -0
- package/dist/editor/components/Splitter/SplitterHandle.d.ts +5 -0
- package/dist/editor/components/Splitter/SplitterHandle.js +128 -0
- package/dist/editor/components/StaticFilePreview.d.ts +6 -0
- package/dist/editor/components/StaticFilePreview.js +39 -0
- package/dist/editor/components/Tabs/index.d.ts +11 -0
- package/dist/editor/components/Tabs/index.js +56 -0
- package/dist/editor/components/Tabs/vertical.d.ts +7 -0
- package/dist/editor/components/Tabs/vertical.js +43 -0
- package/dist/editor/components/TextViewer.d.ts +4 -0
- package/dist/editor/components/TextViewer.js +26 -0
- package/dist/editor/components/TimeValue.d.ts +2 -0
- package/dist/editor/components/TimeValue.js +41 -0
- package/dist/editor/components/Timeline/LoopedIndicator.d.ts +2 -0
- package/dist/editor/components/Timeline/LoopedIndicator.js +44 -0
- package/dist/editor/components/Timeline/LoopedTimelineIndicators.d.ts +4 -0
- package/dist/editor/components/Timeline/LoopedTimelineIndicators.js +22 -0
- package/dist/editor/components/Timeline/MaxTimelineTracks.d.ts +5 -0
- package/dist/editor/components/Timeline/MaxTimelineTracks.js +24 -0
- package/dist/editor/components/Timeline/Timeline.d.ts +2 -0
- package/dist/editor/components/Timeline/Timeline.js +92 -0
- package/dist/editor/components/Timeline/TimelineCollapseToggle.d.ts +5 -0
- package/dist/editor/components/Timeline/TimelineCollapseToggle.js +18 -0
- package/dist/editor/components/Timeline/TimelineDragHandler.d.ts +2 -0
- package/dist/editor/components/Timeline/TimelineDragHandler.js +445 -0
- package/dist/editor/components/Timeline/TimelineInOutPointer.d.ts +4 -0
- package/dist/editor/components/Timeline/TimelineInOutPointer.js +37 -0
- package/dist/editor/components/Timeline/TimelineInOutPointerHandle.d.ts +10 -0
- package/dist/editor/components/Timeline/TimelineInOutPointerHandle.js +43 -0
- package/dist/editor/components/Timeline/TimelineList.d.ts +8 -0
- package/dist/editor/components/Timeline/TimelineList.js +21 -0
- package/dist/editor/components/Timeline/TimelineListItem.d.ts +13 -0
- package/dist/editor/components/Timeline/TimelineListItem.js +104 -0
- package/dist/editor/components/Timeline/TimelinePlayCursorSyncer.d.ts +2 -0
- package/dist/editor/components/Timeline/TimelinePlayCursorSyncer.js +77 -0
- package/dist/editor/components/Timeline/TimelineScrollable.d.ts +4 -0
- package/dist/editor/components/Timeline/TimelineScrollable.js +26 -0
- package/dist/editor/components/Timeline/TimelineSequence.d.ts +5 -0
- package/dist/editor/components/Timeline/TimelineSequence.js +64 -0
- package/dist/editor/components/Timeline/TimelineSequenceFrame.d.ts +5 -0
- package/dist/editor/components/Timeline/TimelineSequenceFrame.js +32 -0
- package/dist/editor/components/Timeline/TimelineSlider.d.ts +5 -0
- package/dist/editor/components/Timeline/TimelineSlider.js +79 -0
- package/dist/editor/components/Timeline/TimelineSliderHandle.d.ts +2 -0
- package/dist/editor/components/Timeline/TimelineSliderHandle.js +14 -0
- package/dist/editor/components/Timeline/TimelineTimeIndicators.d.ts +5 -0
- package/dist/editor/components/Timeline/TimelineTimeIndicators.js +166 -0
- package/dist/editor/components/Timeline/TimelineTracks.d.ts +8 -0
- package/dist/editor/components/Timeline/TimelineTracks.js +37 -0
- package/dist/editor/components/Timeline/TimelineVideoInfo.d.ts +4 -0
- package/dist/editor/components/Timeline/TimelineVideoInfo.js +51 -0
- package/dist/editor/components/Timeline/TimelineWidthProvider.d.ts +7 -0
- package/dist/editor/components/Timeline/TimelineWidthProvider.js +17 -0
- package/dist/editor/components/Timeline/TimelineZoomControls.d.ts +2 -0
- package/dist/editor/components/Timeline/TimelineZoomControls.js +46 -0
- package/dist/editor/components/Timeline/imperative-state.d.ts +8 -0
- package/dist/editor/components/Timeline/imperative-state.js +39 -0
- package/dist/editor/components/Timeline/is-collapsed.d.ts +4 -0
- package/dist/editor/components/Timeline/is-collapsed.js +26 -0
- package/dist/editor/components/Timeline/timeline-refs.d.ts +4 -0
- package/dist/editor/components/Timeline/timeline-refs.js +10 -0
- package/dist/editor/components/Timeline/timeline-scroll-logic.d.ts +43 -0
- package/dist/editor/components/Timeline/timeline-scroll-logic.js +217 -0
- package/dist/editor/components/Timeline/timeline-state-reducer.d.ts +19 -0
- package/dist/editor/components/Timeline/timeline-state-reducer.js +47 -0
- package/dist/editor/components/TimelineInOutToggle.d.ts +9 -0
- package/dist/editor/components/TimelineInOutToggle.js +240 -0
- package/dist/editor/components/TopPanel.d.ts +3 -0
- package/dist/editor/components/TopPanel.js +72 -0
- package/dist/editor/components/UpdateCheck.d.ts +15 -0
- package/dist/editor/components/UpdateCheck.js +95 -0
- package/dist/editor/components/UpdateModal/OpenIssueButton.d.ts +4 -0
- package/dist/editor/components/UpdateModal/OpenIssueButton.js +37 -0
- package/dist/editor/components/UpdateModal/UpdateModal.d.ts +6 -0
- package/dist/editor/components/UpdateModal/UpdateModal.js +63 -0
- package/dist/editor/components/ZoomGesturesProvider.d.ts +4 -0
- package/dist/editor/components/ZoomGesturesProvider.js +24 -0
- package/dist/editor/components/ZoomPersistor.d.ts +5 -0
- package/dist/editor/components/ZoomPersistor.js +64 -0
- package/dist/editor/components/get-zod-if-possible.d.ts +10 -0
- package/dist/editor/components/get-zod-if-possible.js +79 -0
- package/dist/editor/components/layout.d.ts +26 -0
- package/dist/editor/components/layout.js +48 -0
- package/dist/editor/helpers/calculate-timeline.d.ts +6 -0
- package/dist/editor/helpers/calculate-timeline.js +84 -0
- package/dist/editor/helpers/checkerboard-background.d.ts +4 -0
- package/dist/editor/helpers/checkerboard-background.js +30 -0
- package/dist/editor/helpers/client-id.d.ts +17 -0
- package/dist/editor/helpers/client-id.js +46 -0
- package/dist/editor/helpers/colors.d.ts +24 -0
- package/dist/editor/helpers/colors.js +37 -0
- package/dist/editor/helpers/convert-env-variables.d.ts +8 -0
- package/dist/editor/helpers/convert-env-variables.js +20 -0
- package/dist/editor/helpers/copy-text.d.ts +1 -0
- package/dist/editor/helpers/copy-text.js +23 -0
- package/dist/editor/helpers/create-folder-tree.d.ts +17 -0
- package/dist/editor/helpers/create-folder-tree.js +134 -0
- package/dist/editor/helpers/document-title.d.ts +4 -0
- package/dist/editor/helpers/document-title.js +67 -0
- package/dist/editor/helpers/editor-ruler.d.ts +53 -0
- package/dist/editor/helpers/editor-ruler.js +183 -0
- package/dist/editor/helpers/get-asset-metadata.d.ts +11 -0
- package/dist/editor/helpers/get-asset-metadata.js +64 -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 +9 -0
- package/dist/editor/helpers/get-sequence-visible-range.d.ts +4 -0
- package/dist/editor/helpers/get-sequence-visible-range.js +39 -0
- package/dist/editor/helpers/get-timeline-nestedness.d.ts +2 -0
- package/dist/editor/helpers/get-timeline-nestedness.js +14 -0
- package/dist/editor/helpers/get-timeline-sequence-hash.d.ts +6 -0
- package/dist/editor/helpers/get-timeline-sequence-hash.js +33 -0
- package/dist/editor/helpers/get-timeline-sequence-layout.d.ts +13 -0
- package/dist/editor/helpers/get-timeline-sequence-layout.js +45 -0
- package/dist/editor/helpers/get-timeline-sequence-sort-key.d.ts +18 -0
- package/dist/editor/helpers/get-timeline-sequence-sort-key.js +24 -0
- package/dist/editor/helpers/is-composition-still.d.ts +3 -0
- package/dist/editor/helpers/is-composition-still.js +10 -0
- package/dist/editor/helpers/is-current-selected-still.d.ts +6 -0
- package/dist/editor/helpers/is-current-selected-still.js +26 -0
- package/dist/editor/helpers/noop.d.ts +1 -0
- package/dist/editor/helpers/noop.js +5 -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 +6 -0
- package/dist/editor/helpers/persist-open-folders.js +22 -0
- package/dist/editor/helpers/pick-color.d.ts +1 -0
- package/dist/editor/helpers/pick-color.js +41 -0
- package/dist/editor/helpers/presets-labels.d.ts +2 -0
- package/dist/editor/helpers/presets-labels.js +37 -0
- package/dist/editor/helpers/prores-labels.d.ts +2 -0
- package/dist/editor/helpers/prores-labels.js +25 -0
- package/dist/editor/helpers/render-modal-sections.d.ts +9 -0
- package/dist/editor/helpers/render-modal-sections.js +35 -0
- package/dist/editor/helpers/timeline-layout.d.ts +3 -0
- package/dist/editor/helpers/timeline-layout.js +6 -0
- package/dist/editor/helpers/use-breakpoint.d.ts +1 -0
- package/dist/editor/helpers/use-breakpoint.js +17 -0
- package/dist/editor/helpers/use-file-existence.d.ts +1 -0
- package/dist/editor/helpers/use-file-existence.js +66 -0
- package/dist/editor/helpers/use-keybinding.d.ts +16 -0
- package/dist/editor/helpers/use-keybinding.js +70 -0
- package/dist/editor/helpers/use-menu-structure.d.ts +7 -0
- package/dist/editor/helpers/use-menu-structure.js +770 -0
- package/dist/editor/helpers/use-studio-canvas-dimensions.d.ts +16 -0
- package/dist/editor/helpers/use-studio-canvas-dimensions.js +59 -0
- package/dist/editor/helpers/validate-new-comp-data.d.ts +4 -0
- package/dist/editor/helpers/validate-new-comp-data.js +40 -0
- package/dist/editor/icons/Checkmark.d.ts +1 -0
- package/dist/editor/icons/Checkmark.js +10 -0
- package/dist/editor/icons/audio.d.ts +2 -0
- package/dist/editor/icons/audio.js +6 -0
- package/dist/editor/icons/caret.d.ts +6 -0
- package/dist/editor/icons/caret.js +32 -0
- package/dist/editor/icons/clipboard.d.ts +4 -0
- package/dist/editor/icons/clipboard.js +6 -0
- package/dist/editor/icons/data.d.ts +2 -0
- package/dist/editor/icons/data.js +8 -0
- package/dist/editor/icons/file.d.ts +4 -0
- package/dist/editor/icons/file.js +6 -0
- package/dist/editor/icons/folder.d.ts +11 -0
- package/dist/editor/icons/folder.js +16 -0
- package/dist/editor/icons/frame.d.ts +2 -0
- package/dist/editor/icons/frame.js +6 -0
- package/dist/editor/icons/gear.d.ts +2 -0
- package/dist/editor/icons/gear.js +6 -0
- package/dist/editor/icons/gif.d.ts +2 -0
- package/dist/editor/icons/gif.js +6 -0
- package/dist/editor/icons/jump-to-start.d.ts +2 -0
- package/dist/editor/icons/jump-to-start.js +8 -0
- package/dist/editor/icons/keys.d.ts +4 -0
- package/dist/editor/icons/keys.js +20 -0
- package/dist/editor/icons/lock.d.ts +4 -0
- package/dist/editor/icons/lock.js +12 -0
- package/dist/editor/icons/media-volume.d.ts +3 -0
- package/dist/editor/icons/media-volume.js +14 -0
- package/dist/editor/icons/minus.d.ts +3 -0
- package/dist/editor/icons/minus.js +8 -0
- package/dist/editor/icons/pause.d.ts +3 -0
- package/dist/editor/icons/pause.js +6 -0
- package/dist/editor/icons/play.d.ts +3 -0
- package/dist/editor/icons/play.js +6 -0
- package/dist/editor/icons/plus.d.ts +5 -0
- package/dist/editor/icons/plus.js +8 -0
- package/dist/editor/icons/render.d.ts +9 -0
- package/dist/editor/icons/render.js +12 -0
- package/dist/editor/icons/step-back.d.ts +3 -0
- package/dist/editor/icons/step-back.js +8 -0
- package/dist/editor/icons/step-forward.d.ts +3 -0
- package/dist/editor/icons/step-forward.js +8 -0
- package/dist/editor/icons/still.d.ts +5 -0
- package/dist/editor/icons/still.js +8 -0
- package/dist/editor/icons/timelineInOutPointer.d.ts +4 -0
- package/dist/editor/icons/timelineInOutPointer.js +12 -0
- package/dist/editor/icons/video.d.ts +5 -0
- package/dist/editor/icons/video.js +8 -0
- package/dist/editor/state/aspect-ratio-locked.d.ts +2 -0
- package/dist/editor/state/aspect-ratio-locked.js +16 -0
- package/dist/editor/state/canvas-ref.d.ts +2 -0
- package/dist/editor/state/canvas-ref.js +5 -0
- package/dist/editor/state/checkerboard.d.ts +9 -0
- package/dist/editor/state/checkerboard.js +17 -0
- package/dist/editor/state/editor-guides.d.ts +25 -0
- package/dist/editor/state/editor-guides.js +34 -0
- package/dist/editor/state/editor-rulers.d.ts +14 -0
- package/dist/editor/state/editor-rulers.js +24 -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 +13 -0
- package/dist/editor/state/folders.js +30 -0
- package/dist/editor/state/highest-z-index.d.ts +11 -0
- package/dist/editor/state/highest-z-index.js +35 -0
- package/dist/editor/state/in-out.d.ts +13 -0
- package/dist/editor/state/in-out.js +40 -0
- package/dist/editor/state/input-dragger-click-lock.d.ts +2 -0
- package/dist/editor/state/input-dragger-click-lock.js +10 -0
- package/dist/editor/state/keybindings.d.ts +20 -0
- package/dist/editor/state/keybindings.js +43 -0
- package/dist/editor/state/loop.d.ts +2 -0
- package/dist/editor/state/loop.js +13 -0
- package/dist/editor/state/marks.d.ts +3 -0
- package/dist/editor/state/marks.js +16 -0
- package/dist/editor/state/modals.d.ts +61 -0
- package/dist/editor/state/modals.js +8 -0
- package/dist/editor/state/mute.d.ts +2 -0
- package/dist/editor/state/mute.js +13 -0
- package/dist/editor/state/playbackrate.d.ts +2 -0
- package/dist/editor/state/playbackrate.js +19 -0
- package/dist/editor/state/preview-size.d.ts +12 -0
- package/dist/editor/state/preview-size.js +63 -0
- package/dist/editor/state/render-frame.d.ts +1 -0
- package/dist/editor/state/render-frame.js +20 -0
- package/dist/editor/state/sidebar.d.ts +16 -0
- package/dist/editor/state/sidebar.js +69 -0
- package/dist/editor/state/timeline-ref.d.ts +7 -0
- package/dist/editor/state/timeline-ref.js +5 -0
- package/dist/editor/state/timeline-zoom.d.ts +10 -0
- package/dist/editor/state/timeline-zoom.js +38 -0
- package/dist/editor/state/timeline.d.ts +1 -0
- package/dist/editor/state/timeline.js +18 -0
- package/dist/editor/state/z-index.d.ts +12 -0
- package/dist/editor/state/z-index.js +96 -0
- package/dist/event-source-events.d.ts +31 -0
- package/dist/event-source-events.js +2 -0
- package/dist/event-source.d.ts +3 -0
- package/dist/event-source.js +67 -0
- package/dist/file-watcher.d.ts +9 -0
- package/dist/file-watcher.js +35 -0
- package/dist/format-bytes.d.ts +6 -0
- package/dist/format-bytes.js +103 -0
- package/dist/get-default-out-name.d.ts +5 -0
- package/dist/get-default-out-name.js +10 -0
- package/dist/get-latest-remotion-version.d.ts +1 -0
- package/dist/get-latest-remotion-version.js +31 -0
- package/dist/get-network-address.d.ts +1 -0
- package/dist/get-network-address.js +16 -0
- package/dist/index.d.ts +2 -2
- package/dist/preview-server/api-routes.d.ts +4 -0
- package/dist/preview-server/api-routes.js +25 -0
- package/dist/preview-server/api-types.d.ts +29 -0
- package/dist/preview-server/api-types.js +2 -0
- package/dist/preview-server/dev-middleware/compatible-api.d.ts +8 -0
- package/dist/preview-server/dev-middleware/compatible-api.js +20 -0
- package/dist/preview-server/dev-middleware/get-paths.d.ts +7 -0
- package/dist/preview-server/dev-middleware/get-paths.js +19 -0
- package/dist/preview-server/dev-middleware/index.d.ts +3 -0
- package/dist/preview-server/dev-middleware/index.js +27 -0
- package/dist/preview-server/dev-middleware/middleware.d.ts +9 -0
- package/dist/preview-server/dev-middleware/middleware.js +222 -0
- package/dist/preview-server/dev-middleware/range-parser.d.ts +15 -0
- package/dist/preview-server/dev-middleware/range-parser.js +96 -0
- package/dist/preview-server/dev-middleware/ready.d.ts +3 -0
- package/dist/preview-server/dev-middleware/ready.js +11 -0
- package/dist/preview-server/dev-middleware/setup-hooks.d.ts +2 -0
- package/dist/preview-server/dev-middleware/setup-hooks.js +53 -0
- package/dist/preview-server/dev-middleware/setup-output-filesystem.d.ts +2 -0
- package/dist/preview-server/dev-middleware/setup-output-filesystem.js +13 -0
- package/dist/preview-server/dev-middleware/types.d.ts +10 -0
- package/dist/preview-server/dev-middleware/types.js +2 -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 +1 -0
- package/dist/preview-server/error-overlay/entry-basic.js +21 -0
- package/dist/preview-server/error-overlay/react-overlay/effects/format-warning.d.ts +11 -0
- package/dist/preview-server/error-overlay/react-overlay/effects/format-warning.js +41 -0
- package/dist/preview-server/error-overlay/react-overlay/effects/map-error-to-react-stack.d.ts +7 -0
- package/dist/preview-server/error-overlay/react-overlay/effects/map-error-to-react-stack.js +46 -0
- package/dist/preview-server/error-overlay/react-overlay/effects/proxy-console.d.ts +24 -0
- package/dist/preview-server/error-overlay/react-overlay/effects/proxy-console.js +64 -0
- package/dist/preview-server/error-overlay/react-overlay/effects/resolve-file-source.d.ts +3 -0
- package/dist/preview-server/error-overlay/react-overlay/effects/resolve-file-source.js +31 -0
- package/dist/preview-server/error-overlay/react-overlay/effects/stack-trace-limit.d.ts +3 -0
- package/dist/preview-server/error-overlay/react-overlay/effects/stack-trace-limit.js +43 -0
- package/dist/preview-server/error-overlay/react-overlay/effects/unhandled-error.d.ts +4 -0
- package/dist/preview-server/error-overlay/react-overlay/effects/unhandled-error.js +45 -0
- package/dist/preview-server/error-overlay/react-overlay/effects/unhandled-rejection.d.ts +4 -0
- package/dist/preview-server/error-overlay/react-overlay/effects/unhandled-rejection.js +41 -0
- package/dist/preview-server/error-overlay/react-overlay/index.d.ts +2 -0
- package/dist/preview-server/error-overlay/react-overlay/index.js +21 -0
- package/dist/preview-server/error-overlay/react-overlay/listen-to-runtime-errors.d.ts +8 -0
- package/dist/preview-server/error-overlay/react-overlay/listen-to-runtime-errors.js +88 -0
- package/dist/preview-server/error-overlay/react-overlay/utils/get-file-source.d.ts +1 -0
- package/dist/preview-server/error-overlay/react-overlay/utils/get-file-source.js +22 -0
- package/dist/preview-server/error-overlay/react-overlay/utils/get-lines-around.d.ts +14 -0
- package/dist/preview-server/error-overlay/react-overlay/utils/get-lines-around.js +24 -0
- package/dist/preview-server/error-overlay/react-overlay/utils/get-source-map.d.ts +7 -0
- package/dist/preview-server/error-overlay/react-overlay/utils/get-source-map.js +51 -0
- package/dist/preview-server/error-overlay/react-overlay/utils/get-stack-frames.d.ts +2 -0
- package/dist/preview-server/error-overlay/react-overlay/utils/get-stack-frames.js +25 -0
- package/dist/preview-server/error-overlay/react-overlay/utils/open-in-editor.d.ts +16 -0
- package/dist/preview-server/error-overlay/react-overlay/utils/open-in-editor.js +493 -0
- package/dist/preview-server/error-overlay/react-overlay/utils/parser.d.ts +2 -0
- package/dist/preview-server/error-overlay/react-overlay/utils/parser.js +117 -0
- package/dist/preview-server/error-overlay/react-overlay/utils/stack-frame.d.ts +40 -0
- package/dist/preview-server/error-overlay/react-overlay/utils/stack-frame.js +31 -0
- package/dist/preview-server/error-overlay/react-overlay/utils/unmapper.d.ts +2 -0
- package/dist/preview-server/error-overlay/react-overlay/utils/unmapper.js +64 -0
- package/dist/preview-server/error-overlay/remotion-overlay/AskOnDiscord.d.ts +4 -0
- package/dist/preview-server/error-overlay/remotion-overlay/AskOnDiscord.js +35 -0
- package/dist/preview-server/error-overlay/remotion-overlay/Button.d.ts +11 -0
- package/dist/preview-server/error-overlay/remotion-overlay/Button.js +35 -0
- package/dist/preview-server/error-overlay/remotion-overlay/CalculateMetadataErrorExplainer.d.ts +2 -0
- package/dist/preview-server/error-overlay/remotion-overlay/CalculateMetadataErrorExplainer.js +18 -0
- package/dist/preview-server/error-overlay/remotion-overlay/CodeFrame.d.ts +6 -0
- package/dist/preview-server/error-overlay/remotion-overlay/CodeFrame.js +48 -0
- package/dist/preview-server/error-overlay/remotion-overlay/DismissButton.d.ts +2 -0
- package/dist/preview-server/error-overlay/remotion-overlay/DismissButton.js +23 -0
- package/dist/preview-server/error-overlay/remotion-overlay/ErrorDisplay.d.ts +10 -0
- package/dist/preview-server/error-overlay/remotion-overlay/ErrorDisplay.js +52 -0
- package/dist/preview-server/error-overlay/remotion-overlay/ErrorLoader.d.ts +9 -0
- package/dist/preview-server/error-overlay/remotion-overlay/ErrorLoader.js +61 -0
- package/dist/preview-server/error-overlay/remotion-overlay/ErrorMessage.d.ts +4 -0
- package/dist/preview-server/error-overlay/remotion-overlay/ErrorMessage.js +69 -0
- package/dist/preview-server/error-overlay/remotion-overlay/ErrorTitle.d.ts +7 -0
- package/dist/preview-server/error-overlay/remotion-overlay/ErrorTitle.js +38 -0
- package/dist/preview-server/error-overlay/remotion-overlay/HelpLink.d.ts +6 -0
- package/dist/preview-server/error-overlay/remotion-overlay/HelpLink.js +39 -0
- package/dist/preview-server/error-overlay/remotion-overlay/OpenInEditor.d.ts +6 -0
- package/dist/preview-server/error-overlay/remotion-overlay/OpenInEditor.js +105 -0
- package/dist/preview-server/error-overlay/remotion-overlay/Overlay.d.ts +14 -0
- package/dist/preview-server/error-overlay/remotion-overlay/Overlay.js +50 -0
- package/dist/preview-server/error-overlay/remotion-overlay/Retry.d.ts +4 -0
- package/dist/preview-server/error-overlay/remotion-overlay/Retry.js +9 -0
- package/dist/preview-server/error-overlay/remotion-overlay/SearchGitHubIssues.d.ts +5 -0
- package/dist/preview-server/error-overlay/remotion-overlay/SearchGitHubIssues.js +34 -0
- package/dist/preview-server/error-overlay/remotion-overlay/ShortcutHint.d.ts +6 -0
- package/dist/preview-server/error-overlay/remotion-overlay/ShortcutHint.js +31 -0
- package/dist/preview-server/error-overlay/remotion-overlay/StackFrame.d.ts +8 -0
- package/dist/preview-server/error-overlay/remotion-overlay/StackFrame.js +50 -0
- package/dist/preview-server/error-overlay/remotion-overlay/Symbolicating.d.ts +2 -0
- package/dist/preview-server/error-overlay/remotion-overlay/Symbolicating.js +8 -0
- package/dist/preview-server/error-overlay/remotion-overlay/carets.d.ts +5 -0
- package/dist/preview-server/error-overlay/remotion-overlay/carets.js +12 -0
- package/dist/preview-server/error-overlay/remotion-overlay/format-location.d.ts +1 -0
- package/dist/preview-server/error-overlay/remotion-overlay/format-location.js +10 -0
- package/dist/preview-server/error-overlay/remotion-overlay/get-help-link.d.ts +5 -0
- package/dist/preview-server/error-overlay/remotion-overlay/get-help-link.js +49 -0
- package/dist/preview-server/error-overlay/remotion-overlay/index.d.ts +1 -0
- package/dist/preview-server/error-overlay/remotion-overlay/index.js +18 -0
- package/dist/preview-server/file-existence-watchers.d.ts +13 -0
- package/dist/preview-server/file-existence-watchers.js +62 -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 +10 -0
- package/dist/preview-server/get-package-manager.js +62 -0
- package/dist/preview-server/handler.d.ts +11 -0
- package/dist/preview-server/handler.js +35 -0
- package/dist/preview-server/hot-middleware/client.d.ts +21 -0
- package/dist/preview-server/hot-middleware/client.js +179 -0
- package/dist/preview-server/hot-middleware/index.d.ts +102 -0
- package/dist/preview-server/hot-middleware/index.js +149 -0
- package/dist/preview-server/hot-middleware/process-update.d.ts +7 -0
- package/dist/preview-server/hot-middleware/process-update.js +162 -0
- package/dist/preview-server/hot-middleware/types.d.ts +27 -0
- package/dist/preview-server/hot-middleware/types.js +10 -0
- package/dist/preview-server/live-events.d.ts +10 -0
- package/dist/preview-server/live-events.js +76 -0
- package/dist/preview-server/parse-body.d.ts +2 -0
- package/dist/preview-server/parse-body.js +16 -0
- package/dist/preview-server/project-info.d.ts +5 -0
- package/dist/preview-server/project-info.js +32 -0
- package/dist/preview-server/public-folder.d.ts +12 -0
- package/dist/preview-server/public-folder.js +58 -0
- package/dist/preview-server/render-queue/copy-still-to-clipboard.d.ts +1 -0
- package/dist/preview-server/render-queue/copy-still-to-clipboard.js +8 -0
- package/dist/preview-server/render-queue/get-default-video-contexts.d.ts +14 -0
- package/dist/preview-server/render-queue/get-default-video-contexts.js +29 -0
- package/dist/preview-server/render-queue/job.d.ts +187 -0
- package/dist/preview-server/render-queue/job.js +2 -0
- package/dist/preview-server/render-queue/make-retry-payload.d.ts +3 -0
- package/dist/preview-server/render-queue/make-retry-payload.js +127 -0
- package/dist/preview-server/render-queue/open-directory-in-finder.d.ts +1 -0
- package/dist/preview-server/render-queue/open-directory-in-finder.js +49 -0
- package/dist/preview-server/render-queue/process-still.d.ts +8 -0
- package/dist/preview-server/render-queue/process-still.js +49 -0
- package/dist/preview-server/render-queue/process-video.d.ts +10 -0
- package/dist/preview-server/render-queue/process-video.js +68 -0
- package/dist/preview-server/render-queue/queue.d.ts +11 -0
- package/dist/preview-server/render-queue/queue.js +221 -0
- package/dist/preview-server/routes/add-render.d.ts +3 -0
- package/dist/preview-server/routes/add-render.js +115 -0
- package/dist/preview-server/routes/can-update-default-props.d.ts +4 -0
- package/dist/preview-server/routes/can-update-default-props.js +40 -0
- package/dist/preview-server/routes/cancel-render.d.ts +3 -0
- package/dist/preview-server/routes/cancel-render.js +9 -0
- package/dist/preview-server/routes/copy-still-to-clipboard-handler.d.ts +3 -0
- package/dist/preview-server/routes/copy-still-to-clipboard-handler.js +17 -0
- package/dist/preview-server/routes/open-in-file-explorer.d.ts +3 -0
- package/dist/preview-server/routes/open-in-file-explorer.js +8 -0
- package/dist/preview-server/routes/remove-render.d.ts +3 -0
- package/dist/preview-server/routes/remove-render.js +9 -0
- package/dist/preview-server/routes/subscribe-to-file-existence.d.ts +3 -0
- package/dist/preview-server/routes/subscribe-to-file-existence.js +13 -0
- package/dist/preview-server/routes/unsubscribe-from-file-existence.d.ts +3 -0
- package/dist/preview-server/routes/unsubscribe-from-file-existence.js +13 -0
- package/dist/preview-server/routes/update-available.d.ts +3 -0
- package/dist/preview-server/routes/update-available.js +9 -0
- package/dist/preview-server/routes/update-default-props.d.ts +3 -0
- package/dist/preview-server/routes/update-default-props.js +34 -0
- package/dist/preview-server/routes.d.ts +18 -0
- package/dist/preview-server/routes.js +272 -0
- package/dist/preview-server/serve-static.d.ts +14 -0
- package/dist/preview-server/serve-static.js +75 -0
- package/dist/preview-server/start-server.d.ts +25 -0
- package/dist/preview-server/start-server.js +125 -0
- package/dist/preview-server/update-available.d.ts +3 -0
- package/dist/preview-server/update-available.js +47 -0
- package/dist/previewEntry.d.ts +1 -0
- package/dist/previewEntry.js +26 -0
- package/dist/required-chromium-options.d.ts +3 -0
- package/dist/required-chromium-options.js +2 -0
- package/dist/server-ready-comment.d.ts +2 -0
- package/dist/server-ready-comment.js +13 -0
- package/dist/smooth-zoom.d.ts +4 -0
- package/dist/smooth-zoom.js +20 -0
- package/dist/step.d.ts +1 -0
- package/dist/step.js +2 -0
- package/dist/watch-root-file.d.ts +1 -0
- package/dist/watch-root-file.js +22 -0
- package/package.json +10 -10
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ValidationMessage = exports.WarningTriangle = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const react_1 = require("react");
|
|
6
|
+
const colors_1 = require("../../helpers/colors");
|
|
7
|
+
const layout_1 = require("../layout");
|
|
8
|
+
const WarningTriangle = (props) => {
|
|
9
|
+
return ((0, jsx_runtime_1.jsx)("svg", { viewBox: "0 0 576 512", ...props, children: (0, jsx_runtime_1.jsx)("path", { d: "M248.747 204.705l6.588 112c.373 6.343 5.626 11.295 11.979 11.295h41.37a12 12 0 0 0 11.979-11.295l6.588-112c.405-6.893-5.075-12.705-11.979-12.705h-54.547c-6.903 0-12.383 5.812-11.978 12.705zM330 384c0 23.196-18.804 42-42 42s-42-18.804-42-42 18.804-42 42-42 42 18.804 42 42zm-.423-360.015c-18.433-31.951-64.687-32.009-83.154 0L6.477 440.013C-11.945 471.946 11.118 512 48.054 512H527.94c36.865 0 60.035-39.993 41.577-71.987L329.577 23.985zM53.191 455.002L282.803 57.008c2.309-4.002 8.085-4.002 10.394 0l229.612 397.993c2.308 4-.579 8.998-5.197 8.998H58.388c-4.617.001-7.504-4.997-5.197-8.997z" }) }));
|
|
10
|
+
};
|
|
11
|
+
exports.WarningTriangle = WarningTriangle;
|
|
12
|
+
const style = {
|
|
13
|
+
width: 12,
|
|
14
|
+
height: 12,
|
|
15
|
+
flexShrink: 0,
|
|
16
|
+
};
|
|
17
|
+
const container = {
|
|
18
|
+
maxWidth: 500,
|
|
19
|
+
};
|
|
20
|
+
const label = {
|
|
21
|
+
fontSize: 13,
|
|
22
|
+
color: 'white',
|
|
23
|
+
fontFamily: 'sans-serif',
|
|
24
|
+
};
|
|
25
|
+
const ValidationMessage = ({ message, align, type }) => {
|
|
26
|
+
const finalStyle = (0, react_1.useMemo)(() => {
|
|
27
|
+
return {
|
|
28
|
+
...style,
|
|
29
|
+
fill: type === 'warning' ? colors_1.WARNING_COLOR : colors_1.FAIL_COLOR,
|
|
30
|
+
};
|
|
31
|
+
}, [type]);
|
|
32
|
+
return ((0, jsx_runtime_1.jsx)("div", { style: container, children: (0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", justify: align, children: [(0, jsx_runtime_1.jsx)(exports.WarningTriangle, { style: finalStyle }), (0, jsx_runtime_1.jsx)(layout_1.Spacing, { x: 1 }), (0, jsx_runtime_1.jsx)("div", { style: label, children: message })] }) }));
|
|
33
|
+
};
|
|
34
|
+
exports.ValidationMessage = ValidationMessage;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.rightLabel = exports.inputArea = exports.leftLabel = void 0;
|
|
4
|
+
const colors_1 = require("../../helpers/colors");
|
|
5
|
+
exports.leftLabel = {
|
|
6
|
+
width: 160,
|
|
7
|
+
display: 'inline-block',
|
|
8
|
+
textAlign: 'right',
|
|
9
|
+
paddingRight: 30,
|
|
10
|
+
fontSize: 14,
|
|
11
|
+
color: colors_1.LIGHT_COLOR,
|
|
12
|
+
};
|
|
13
|
+
exports.inputArea = {
|
|
14
|
+
width: 190,
|
|
15
|
+
};
|
|
16
|
+
exports.rightLabel = {
|
|
17
|
+
fontSize: 13,
|
|
18
|
+
color: colors_1.LIGHT_TEXT,
|
|
19
|
+
marginLeft: 10,
|
|
20
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const aspectRatio: (width: number, height: number) => string;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.aspectRatio = void 0;
|
|
4
|
+
function gcd_two_numbers(x, y) {
|
|
5
|
+
x = Math.abs(x);
|
|
6
|
+
y = Math.abs(y);
|
|
7
|
+
while (y) {
|
|
8
|
+
const t = y;
|
|
9
|
+
y = x % y;
|
|
10
|
+
x = t;
|
|
11
|
+
}
|
|
12
|
+
return x;
|
|
13
|
+
}
|
|
14
|
+
const aspectRatio = (width, height) => {
|
|
15
|
+
const commonDivisor = gcd_two_numbers(width, height);
|
|
16
|
+
const widthDivisor = width / commonDivisor;
|
|
17
|
+
const heightDivisor = height / commonDivisor;
|
|
18
|
+
if (widthDivisor < 100) {
|
|
19
|
+
return widthDivisor + ':' + heightDivisor;
|
|
20
|
+
}
|
|
21
|
+
return (widthDivisor / heightDivisor).toFixed(2);
|
|
22
|
+
};
|
|
23
|
+
exports.aspectRatio = aspectRatio;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NoRegisterRoot = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const react_1 = require("react");
|
|
6
|
+
const label = {
|
|
7
|
+
fontSize: 13,
|
|
8
|
+
color: 'white',
|
|
9
|
+
fontFamily: 'Arial, Helvetica, sans-serif',
|
|
10
|
+
};
|
|
11
|
+
const container = {
|
|
12
|
+
display: 'flex',
|
|
13
|
+
justifyContent: 'center',
|
|
14
|
+
alignItems: 'center',
|
|
15
|
+
flex: 1,
|
|
16
|
+
flexDirection: 'column',
|
|
17
|
+
textAlign: 'center',
|
|
18
|
+
lineHeight: 1.5,
|
|
19
|
+
};
|
|
20
|
+
const link = {
|
|
21
|
+
color: 'white',
|
|
22
|
+
textDecoration: 'none',
|
|
23
|
+
borderBottom: '1px solid',
|
|
24
|
+
};
|
|
25
|
+
const NoRegisterRoot = () => {
|
|
26
|
+
const [show, setShow] = (0, react_1.useState)(() => false);
|
|
27
|
+
(0, react_1.useEffect)(() => {
|
|
28
|
+
// Only show after 2 seconds so there is no flicker when the load is really fast
|
|
29
|
+
const timeout = setTimeout(() => {
|
|
30
|
+
setShow(true);
|
|
31
|
+
}, 2000);
|
|
32
|
+
return () => {
|
|
33
|
+
clearTimeout(timeout);
|
|
34
|
+
};
|
|
35
|
+
}, []);
|
|
36
|
+
if (!show) {
|
|
37
|
+
return null;
|
|
38
|
+
}
|
|
39
|
+
return ((0, jsx_runtime_1.jsxs)("div", { style: container, children: [(0, jsx_runtime_1.jsx)("div", { style: label, children: "Waiting for registerRoot() to get called." }), (0, jsx_runtime_1.jsxs)("div", { style: label, children: ["Learn more:", ' ', (0, jsx_runtime_1.jsx)("a", { target: '_blank', style: link, href: "https://www.remotion.dev/docs/register-root", children: "remotion.dev/docs/register-root" })] })] }));
|
|
40
|
+
};
|
|
41
|
+
exports.NoRegisterRoot = NoRegisterRoot;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ColorDot = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const react_1 = require("react");
|
|
6
|
+
const container = {
|
|
7
|
+
height: 16,
|
|
8
|
+
width: 16,
|
|
9
|
+
backgroundColor: 'red',
|
|
10
|
+
border: '1px solid rgba(255, 255, 255, 0.2)',
|
|
11
|
+
borderRadius: 8,
|
|
12
|
+
};
|
|
13
|
+
const ColorDot = ({ color }) => {
|
|
14
|
+
const style = (0, react_1.useMemo)(() => {
|
|
15
|
+
return {
|
|
16
|
+
...container,
|
|
17
|
+
backgroundColor: color,
|
|
18
|
+
};
|
|
19
|
+
}, [color]);
|
|
20
|
+
return (0, jsx_runtime_1.jsx)("div", { style: style });
|
|
21
|
+
};
|
|
22
|
+
exports.ColorDot = ColorDot;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Notification = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const react_1 = require("react");
|
|
6
|
+
const notification = {
|
|
7
|
+
backgroundColor: '#111111',
|
|
8
|
+
color: 'white',
|
|
9
|
+
fontFamily: 'Arial, Helvetica, sans-serif',
|
|
10
|
+
display: 'inline-flex',
|
|
11
|
+
padding: '8px 14px',
|
|
12
|
+
borderRadius: 4,
|
|
13
|
+
fontSize: 15,
|
|
14
|
+
border: '0.25px solid rgba(255, 255, 255, 0.1)',
|
|
15
|
+
boxShadow: '0 2px 3px rgba(0, 0, 0, 1)',
|
|
16
|
+
marginTop: 3,
|
|
17
|
+
marginBottom: 3,
|
|
18
|
+
alignItems: 'center',
|
|
19
|
+
};
|
|
20
|
+
const Notification = ({ children, id, duration, created, onRemove }) => {
|
|
21
|
+
(0, react_1.useEffect)(() => {
|
|
22
|
+
const timeout = setTimeout(() => {
|
|
23
|
+
onRemove(id);
|
|
24
|
+
}, duration - (Date.now() - created));
|
|
25
|
+
return () => {
|
|
26
|
+
clearTimeout(timeout);
|
|
27
|
+
};
|
|
28
|
+
}, [created, duration, id, onRemove]);
|
|
29
|
+
return ((0, jsx_runtime_1.jsx)("div", { className: "css-reset", style: notification, children: children }));
|
|
30
|
+
};
|
|
31
|
+
exports.Notification = Notification;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type TNotification = {
|
|
3
|
+
id: string;
|
|
4
|
+
content: React.ReactNode;
|
|
5
|
+
created: number;
|
|
6
|
+
duration: number;
|
|
7
|
+
};
|
|
8
|
+
type TNotificationCenter = {
|
|
9
|
+
addNotification: (notification: TNotification) => void;
|
|
10
|
+
};
|
|
11
|
+
export declare const notificationCenter: React.RefObject<TNotificationCenter>;
|
|
12
|
+
export declare const sendErrorNotification: (content: React.ReactNode) => void;
|
|
13
|
+
export declare const NotificationCenter: React.FC;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NotificationCenter = exports.sendErrorNotification = exports.notificationCenter = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const react_1 = require("react");
|
|
6
|
+
const Notification_1 = require("./Notification");
|
|
7
|
+
const container = {
|
|
8
|
+
position: 'absolute',
|
|
9
|
+
justifyContent: 'center',
|
|
10
|
+
alignItems: 'center',
|
|
11
|
+
display: 'flex',
|
|
12
|
+
width: '100%',
|
|
13
|
+
flexDirection: 'column',
|
|
14
|
+
paddingTop: 20,
|
|
15
|
+
pointerEvents: 'none',
|
|
16
|
+
backgroundColor: 'transparent',
|
|
17
|
+
};
|
|
18
|
+
exports.notificationCenter = (0, react_1.createRef)();
|
|
19
|
+
const sendErrorNotification = (content) => {
|
|
20
|
+
var _a;
|
|
21
|
+
(_a = exports.notificationCenter.current) === null || _a === void 0 ? void 0 : _a.addNotification({
|
|
22
|
+
content,
|
|
23
|
+
duration: 2000,
|
|
24
|
+
created: Date.now(),
|
|
25
|
+
id: String(Math.random()).replace('0.', ''),
|
|
26
|
+
});
|
|
27
|
+
};
|
|
28
|
+
exports.sendErrorNotification = sendErrorNotification;
|
|
29
|
+
const NotificationCenter = () => {
|
|
30
|
+
const [notifications, setNotifications] = (0, react_1.useState)([]);
|
|
31
|
+
const onRemove = (0, react_1.useCallback)((id) => {
|
|
32
|
+
setNotifications((not) => {
|
|
33
|
+
return not.filter((n) => n.id !== id);
|
|
34
|
+
});
|
|
35
|
+
}, []);
|
|
36
|
+
const addNotification = (0, react_1.useCallback)((notification) => {
|
|
37
|
+
setNotifications((previousNotifications) => {
|
|
38
|
+
return [...previousNotifications, notification];
|
|
39
|
+
});
|
|
40
|
+
}, []);
|
|
41
|
+
(0, react_1.useImperativeHandle)(exports.notificationCenter, () => {
|
|
42
|
+
return {
|
|
43
|
+
addNotification,
|
|
44
|
+
};
|
|
45
|
+
}, [addNotification]);
|
|
46
|
+
return ((0, jsx_runtime_1.jsx)("div", { style: container, children: notifications.map((n) => {
|
|
47
|
+
return ((0, jsx_runtime_1.jsx)(Notification_1.Notification, { created: n.created, duration: n.duration, id: n.id, onRemove: onRemove, children: n.content }, n.id));
|
|
48
|
+
}) }));
|
|
49
|
+
};
|
|
50
|
+
exports.NotificationCenter = NotificationCenter;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ServerDisconnected = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const react_1 = require("react");
|
|
6
|
+
const client_id_1 = require("../../helpers/client-id");
|
|
7
|
+
const container = {
|
|
8
|
+
position: 'fixed',
|
|
9
|
+
justifyContent: 'flex-end',
|
|
10
|
+
alignItems: 'flex-start',
|
|
11
|
+
display: 'flex',
|
|
12
|
+
width: '100%',
|
|
13
|
+
height: '100%',
|
|
14
|
+
flexDirection: 'column',
|
|
15
|
+
padding: 30,
|
|
16
|
+
pointerEvents: 'none',
|
|
17
|
+
backgroundColor: 'transparent',
|
|
18
|
+
fontFamily: 'SF Pro, Arial, Helvetica, sans-serif',
|
|
19
|
+
};
|
|
20
|
+
const message = {
|
|
21
|
+
backgroundColor: '#e74c3c',
|
|
22
|
+
color: 'white',
|
|
23
|
+
paddingLeft: 20,
|
|
24
|
+
paddingRight: 20,
|
|
25
|
+
paddingTop: 12,
|
|
26
|
+
paddingBottom: 12,
|
|
27
|
+
borderRadius: 4,
|
|
28
|
+
boxShadow: '0 2px 4px rgba(0, 0, 0, 0.4)',
|
|
29
|
+
lineHeight: 1.5,
|
|
30
|
+
};
|
|
31
|
+
const inlineCode = {
|
|
32
|
+
fontSize: 16,
|
|
33
|
+
fontFamily: 'monospace',
|
|
34
|
+
};
|
|
35
|
+
let pageIsGoingToReload = false;
|
|
36
|
+
window.addEventListener('beforeunload', () => {
|
|
37
|
+
pageIsGoingToReload = true;
|
|
38
|
+
});
|
|
39
|
+
const ServerDisconnected = () => {
|
|
40
|
+
const ctx = (0, react_1.useContext)(client_id_1.StudioServerConnectionCtx);
|
|
41
|
+
const fav = document.getElementById('__remotion_favicon');
|
|
42
|
+
if (ctx.type !== 'disconnected') {
|
|
43
|
+
fav.setAttribute('href', '/remotion.png');
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
if (pageIsGoingToReload) {
|
|
47
|
+
return null;
|
|
48
|
+
}
|
|
49
|
+
const base64Favicon = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAARiSURBVHgB7d1NThRBFAfw/2tGgru5gXMD8QZ4AmVjAi6kN0TiAm8gnkBcGARNumcx4E48Ae0JaE9gewLHlQSZelaNgyHGL/RVd1X3+y10RQL58+rVx1QBKKWUUkoppZRSSimllFJKKVUjQs32stEiJcktZiwxzKL9Fvqzb6S0/44JVBKbtwa9aj29U6JjagtkJzsYzBEyBi9d5utsQIULCcxvelgo03R5jBarJZCXw/17E+bt82r4Hy4gtuEQekUbK8h7IHvDV5vMZht+VAlRfmYw3EhXKrSA10Ce2X7RIzpGDVzlgM1wPb2bI2JeA9nN99/b/waoV+XCmTAex1g13gLZyUZrdjjJ0CAbTB5bMN4C2ctHxwxaRABiCsZLIG6KmxC/R2BiCCaBBwn4NgJk10B2GOWj3Wz/IQLlpUL28oOjyy4AG1AZppuhVYt4hWRZ1o8gDGc6rL4YHjxCQMQDOcNCEI38bxnmLTc9d30PARAPZAITZP/4A1ctx3bjcw0NEw8koeQ64tRnu25qeggTb+q2/BmRcyv9K7yw3MTOsmiFuLMOtICblJzS5+Mm+opoIBOgFYHMuL5yVHcoooFQuwJxag9FNJCIG/rv1BqKaCDfzshbqbZQxAJxK3SJI9qATUPJstdef0axQGJbof+jwRc6eQ2PxAIx4DZXx3duSrybv3oCTyR7yACdYR762sIXDKQbFfId4ZGPJi8YCA3QLf05YvF+IhYIEV1Dx9hNu8XdbLQFQV6OcDuFaFNyKiwWiJ19DNBN/VN8XoMQrRABDFqCEJ32CiBisT08rRAZAwjRQAKjgcgQO+rVQARMb3gJ0UAkML+DEA1EwAQkdkNMcnOx1Zcxf8V9ol7y88GSm4tdDKRy1xsgSIes/0BM4ndN5HZ7OzZkMePperqSQ5jkkFWhO6r76WrYJ4b2N+YTumF60QeeSG6/d2DI4rHvW1eCPaT9Q9YZw/sVOMlZVoUWM8zpg/Su97dVJGdZFVrKhbFR05MdYoFcwWmF1rF9kbG8UeP7KaI3qBp628QTHrueUccwdZHw/ZDWNHY7tU1u1B2GIxqIYSO2Dd0Ud79wnq/eaOpBgR4EMVDW/oijINu87d7U6hYaJBrInA0k0iu4bvVtZ1KrBRrm4Vr06GNkF3cO7RCVhvK4pmiFOISkjOStk1lVrBQIiPh5SAyN3fWKWeMuEBjxCmEkh3bVvokAzd5idL2iQqDEA1nASXmK+XFIfeTCo5gFAudllvo8G20TUeNVElMQ58QrxLHD1jbB3GumSnhsz7qHE9BhTEGc87aOm16KJHi7rfqj8yfI53E1j/l9eK8L651stJUQeXx/iuzU1QztZLGIsRp+xvtOh3Qo3/qCedumEC6qZetpJztwz7O6UAa4FNsP7ELTfXbWbskUdjgq9M9VCJoFcwvTlfyPDd9t3XNJjA+2IZcGpmxi+7tpjW3OupurJziZhtKWPzWhlFJKKaWUUkoppZRSSiml/uwrgZ/Bfwo/wccAAAAASUVORK5CYII=';
|
|
50
|
+
fav.setAttribute('href', base64Favicon);
|
|
51
|
+
return ((0, jsx_runtime_1.jsx)("div", { style: container, className: "css-reset", children: (0, jsx_runtime_1.jsxs)("div", { style: message, children: ["The studio server has disconnected. ", (0, jsx_runtime_1.jsx)("br", {}), window.remotion_studioServerCommand ? ((0, jsx_runtime_1.jsxs)("span", { children: ["Run", ' ', (0, jsx_runtime_1.jsx)("code", { style: inlineCode, children: window.remotion_studioServerCommand }), ' ', "to run it again."] })) : ((0, jsx_runtime_1.jsx)("span", { children: "Fast refresh will not work." }))] }) }));
|
|
52
|
+
};
|
|
53
|
+
exports.ServerDisconnected = ServerDisconnected;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OpenEditorButton = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const react_1 = require("react");
|
|
6
|
+
const colors_1 = require("../helpers/colors");
|
|
7
|
+
const open_in_editor_1 = require("../helpers/open-in-editor");
|
|
8
|
+
const NotificationCenter_1 = require("./Notifications/NotificationCenter");
|
|
9
|
+
const svgStyle = {
|
|
10
|
+
width: 11,
|
|
11
|
+
height: 11,
|
|
12
|
+
};
|
|
13
|
+
const buttonStyle = {
|
|
14
|
+
border: 'none',
|
|
15
|
+
height: '20px',
|
|
16
|
+
display: 'flex',
|
|
17
|
+
justifyContent: 'center',
|
|
18
|
+
alignItems: 'center',
|
|
19
|
+
};
|
|
20
|
+
const OpenEditorButton = () => {
|
|
21
|
+
const [hovered, setHovered] = (0, react_1.useState)(false);
|
|
22
|
+
const svgFillColor = (0, react_1.useMemo)(() => {
|
|
23
|
+
return hovered ? 'white' : colors_1.LIGHT_TEXT;
|
|
24
|
+
}, [hovered]);
|
|
25
|
+
const handleClick = async () => {
|
|
26
|
+
await (0, open_in_editor_1.openInEditor)({
|
|
27
|
+
originalFileName: `${window.remotion_cwd}`,
|
|
28
|
+
originalLineNumber: 1,
|
|
29
|
+
originalColumnNumber: 1,
|
|
30
|
+
originalFunctionName: null,
|
|
31
|
+
originalScriptCode: null,
|
|
32
|
+
})
|
|
33
|
+
.then((res) => res.json())
|
|
34
|
+
.then(({ success }) => {
|
|
35
|
+
if (!success) {
|
|
36
|
+
(0, NotificationCenter_1.sendErrorNotification)(`Could not open ${window.remotion_editorName}`);
|
|
37
|
+
}
|
|
38
|
+
})
|
|
39
|
+
.catch((err) => {
|
|
40
|
+
// eslint-disable-next-line no-console
|
|
41
|
+
console.error(err);
|
|
42
|
+
(0, NotificationCenter_1.sendErrorNotification)(`Could not open ${window.remotion_editorName}`);
|
|
43
|
+
});
|
|
44
|
+
};
|
|
45
|
+
const buttonTooltip = `Open in ${window.remotion_editorName}`;
|
|
46
|
+
const openInEditorSvg = ((0, jsx_runtime_1.jsx)("svg", { viewBox: "0 0 512 512", style: svgStyle, children: (0, jsx_runtime_1.jsx)("path", { fill: svgFillColor, d: "M320 0c-17.7 0-32 14.3-32 32s14.3 32 32 32h82.7L201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L448 109.3V192c0 17.7 14.3 32 32 32s32-14.3 32-32V32c0-17.7-14.3-32-32-32H320zM80 32C35.8 32 0 67.8 0 112V432c0 44.2 35.8 80 80 80H400c44.2 0 80-35.8 80-80V320c0-17.7-14.3-32-32-32s-32 14.3-32 32V432c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16H192c17.7 0 32-14.3 32-32s-14.3-32-32-32H80z" }) }));
|
|
47
|
+
const onPointerEnter = (0, react_1.useCallback)(() => {
|
|
48
|
+
setHovered(true);
|
|
49
|
+
}, []);
|
|
50
|
+
const onPointerLeave = (0, react_1.useCallback)(() => {
|
|
51
|
+
setHovered(false);
|
|
52
|
+
}, []);
|
|
53
|
+
return ((0, jsx_runtime_1.jsx)("button", { title: buttonTooltip, type: "button", onPointerEnter: onPointerEnter, onPointerLeave: onPointerLeave, style: buttonStyle, onClick: handleClick, children: openInEditorSvg }));
|
|
54
|
+
};
|
|
55
|
+
exports.OpenEditorButton = OpenEditorButton;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type OptionsSidebarPanel = 'input-props' | 'renders';
|
|
3
|
+
export declare const persistSelectedOptionsSidebarPanel: (panel: OptionsSidebarPanel) => void;
|
|
4
|
+
export declare const optionsSidebarTabs: React.RefObject<{
|
|
5
|
+
selectRendersPanel: () => void;
|
|
6
|
+
}>;
|
|
7
|
+
export declare const OptionsPanel: React.FC<{}>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OptionsPanel = exports.optionsSidebarTabs = exports.persistSelectedOptionsSidebarPanel = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const react_1 = require("react");
|
|
6
|
+
const remotion_1 = require("remotion");
|
|
7
|
+
const ShortcutHint_1 = require("../../preview-server/error-overlay/remotion-overlay/ShortcutHint");
|
|
8
|
+
const colors_1 = require("../helpers/colors");
|
|
9
|
+
const DataEditor_1 = require("./RenderModal/DataEditor");
|
|
10
|
+
const deep_equal_1 = require("./RenderModal/SchemaEditor/deep-equal");
|
|
11
|
+
const RenderQueue_1 = require("./RenderQueue");
|
|
12
|
+
const RendersTab_1 = require("./RendersTab");
|
|
13
|
+
const Tabs_1 = require("./Tabs");
|
|
14
|
+
const container = {
|
|
15
|
+
height: '100%',
|
|
16
|
+
width: '100%',
|
|
17
|
+
position: 'absolute',
|
|
18
|
+
display: 'flex',
|
|
19
|
+
flexDirection: 'column',
|
|
20
|
+
};
|
|
21
|
+
const circle = {
|
|
22
|
+
width: 8,
|
|
23
|
+
height: 8,
|
|
24
|
+
borderRadius: 4,
|
|
25
|
+
};
|
|
26
|
+
const localStorageKey = 'remotion.sidebarPanel';
|
|
27
|
+
const getSelectedPanel = () => {
|
|
28
|
+
const panel = localStorage.getItem(localStorageKey);
|
|
29
|
+
if (panel === 'renders') {
|
|
30
|
+
return 'renders';
|
|
31
|
+
}
|
|
32
|
+
return 'input-props';
|
|
33
|
+
};
|
|
34
|
+
const tabsContainer = {
|
|
35
|
+
backgroundColor: colors_1.BACKGROUND,
|
|
36
|
+
};
|
|
37
|
+
const persistSelectedOptionsSidebarPanel = (panel) => {
|
|
38
|
+
localStorage.setItem(localStorageKey, panel);
|
|
39
|
+
};
|
|
40
|
+
exports.persistSelectedOptionsSidebarPanel = persistSelectedOptionsSidebarPanel;
|
|
41
|
+
exports.optionsSidebarTabs = (0, react_1.createRef)();
|
|
42
|
+
const OptionsPanel = () => {
|
|
43
|
+
const { props, updateProps } = (0, react_1.useContext)(remotion_1.Internals.EditorPropsContext);
|
|
44
|
+
const [saving, setSaving] = (0, react_1.useState)(false);
|
|
45
|
+
const [panel, setPanel] = (0, react_1.useState)(() => getSelectedPanel());
|
|
46
|
+
const onPropsSelected = (0, react_1.useCallback)(() => {
|
|
47
|
+
setPanel('input-props');
|
|
48
|
+
(0, exports.persistSelectedOptionsSidebarPanel)('input-props');
|
|
49
|
+
}, []);
|
|
50
|
+
const onRendersSelected = (0, react_1.useCallback)(() => {
|
|
51
|
+
setPanel('renders');
|
|
52
|
+
(0, exports.persistSelectedOptionsSidebarPanel)('renders');
|
|
53
|
+
}, []);
|
|
54
|
+
(0, react_1.useImperativeHandle)(exports.optionsSidebarTabs, () => {
|
|
55
|
+
return {
|
|
56
|
+
selectRendersPanel: () => {
|
|
57
|
+
setPanel('renders');
|
|
58
|
+
(0, exports.persistSelectedOptionsSidebarPanel)('renders');
|
|
59
|
+
},
|
|
60
|
+
};
|
|
61
|
+
}, []);
|
|
62
|
+
const { compositions, canvasContent } = (0, react_1.useContext)(remotion_1.Internals.CompositionManager);
|
|
63
|
+
const circleStyle = (0, react_1.useMemo)(() => {
|
|
64
|
+
const onTabColor = saving ? colors_1.LIGHT_TEXT : 'white';
|
|
65
|
+
return {
|
|
66
|
+
...circle,
|
|
67
|
+
backgroundColor: panel === 'input-props' ? onTabColor : colors_1.LIGHT_TEXT,
|
|
68
|
+
cursor: 'help',
|
|
69
|
+
};
|
|
70
|
+
}, [panel, saving]);
|
|
71
|
+
const composition = (0, react_1.useMemo)(() => {
|
|
72
|
+
if (canvasContent === null || canvasContent.type !== 'composition') {
|
|
73
|
+
return null;
|
|
74
|
+
}
|
|
75
|
+
for (const comp of compositions) {
|
|
76
|
+
if (comp.id === canvasContent.compositionId) {
|
|
77
|
+
return comp;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
return null;
|
|
81
|
+
}, [canvasContent, compositions]);
|
|
82
|
+
const saveToolTip = (0, react_1.useMemo)(() => {
|
|
83
|
+
return process.env.KEYBOARD_SHORTCUTS_ENABLED
|
|
84
|
+
? `Save using ${ShortcutHint_1.cmdOrCtrlCharacter}+S`
|
|
85
|
+
: 'There are unsaved changes';
|
|
86
|
+
}, []);
|
|
87
|
+
const setInputProps = (0, react_1.useCallback)((newProps) => {
|
|
88
|
+
if (composition === null) {
|
|
89
|
+
return;
|
|
90
|
+
}
|
|
91
|
+
updateProps({
|
|
92
|
+
id: composition.id,
|
|
93
|
+
defaultProps: composition.defaultProps,
|
|
94
|
+
newProps,
|
|
95
|
+
});
|
|
96
|
+
}, [composition, updateProps]);
|
|
97
|
+
const actualProps = (0, react_1.useMemo)(() => {
|
|
98
|
+
var _a, _b;
|
|
99
|
+
if (composition === null) {
|
|
100
|
+
return {};
|
|
101
|
+
}
|
|
102
|
+
return (_b = (_a = props[composition.id]) !== null && _a !== void 0 ? _a : composition.defaultProps) !== null && _b !== void 0 ? _b : {};
|
|
103
|
+
}, [composition, props]);
|
|
104
|
+
const unsavedChangesExist = (0, react_1.useMemo)(() => {
|
|
105
|
+
if (composition === null || composition.defaultProps === undefined) {
|
|
106
|
+
return false;
|
|
107
|
+
}
|
|
108
|
+
return !(0, deep_equal_1.deepEqual)(composition.defaultProps, actualProps);
|
|
109
|
+
}, [actualProps, composition]);
|
|
110
|
+
return ((0, jsx_runtime_1.jsxs)("div", { style: container, className: "css-reset", children: [(0, jsx_runtime_1.jsx)("div", { style: tabsContainer, children: (0, jsx_runtime_1.jsxs)(Tabs_1.Tabs, { children: [composition ? ((0, jsx_runtime_1.jsxs)(Tabs_1.Tab, { selected: panel === 'input-props', onClick: onPropsSelected, style: { justifyContent: 'space-between' }, children: ["Props", unsavedChangesExist ? ((0, jsx_runtime_1.jsx)("div", { title: saveToolTip, style: circleStyle })) : null] })) : null, (0, jsx_runtime_1.jsx)(RendersTab_1.RendersTab, { onClick: onRendersSelected, selected: panel === 'renders' })] }) }), panel === `input-props` && composition ? ((0, jsx_runtime_1.jsx)(DataEditor_1.DataEditor, { unresolvedComposition: composition, inputProps: actualProps, setInputProps: setInputProps, mayShowSaveButton: true, propsEditType: "default-props", saving: saving, setSaving: setSaving }, composition.id)) : ((0, jsx_runtime_1.jsx)(RenderQueue_1.RenderQueue, {}))] }));
|
|
111
|
+
};
|
|
112
|
+
exports.OptionsPanel = OptionsPanel;
|