@remotion/cli 4.0.0-alpha13 → 4.0.0-alpha16
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 +1 -1
- package/dist/benchmark.js +29 -14
- package/dist/cleanup-before-quit.js +3 -0
- package/dist/composition-prompts.d.ts +2 -2
- package/dist/compositions.js +8 -7
- package/dist/config/concurrency.d.ts +1 -1
- package/dist/config/index.d.ts +2 -2
- package/dist/config/jpeg-quality.d.ts +1 -1
- package/dist/config/jpeg-quality.js +1 -1
- package/dist/config/number-of-gif-loops.d.ts +1 -1
- package/dist/config/override-webpack.d.ts +1 -1
- package/dist/config/scale.d.ts +1 -1
- package/dist/config/user-agent.d.ts +1 -1
- package/dist/editor/components/CanvasOrLoading.js +3 -0
- package/dist/editor/components/Checkbox.d.ts +1 -0
- package/dist/editor/components/Checkbox.js +2 -2
- package/dist/editor/components/CompositionSelectorItem.d.ts +1 -1
- package/dist/editor/components/InlineAction.d.ts +1 -1
- package/dist/editor/components/Menu/MenuItem.d.ts +2 -2
- package/dist/editor/components/Menu/MenuSubItem.d.ts +1 -1
- package/dist/editor/components/NewComposition/ComboBox.d.ts +4 -4
- package/dist/editor/components/NewComposition/CopyHint.js +1 -1
- package/dist/editor/components/NewComposition/InputDragger.d.ts +1 -1
- package/dist/editor/components/NewComposition/RemInput.d.ts +3 -3
- package/dist/editor/components/NewComposition/RemInputTypeColor.d.ts +2 -1
- package/dist/editor/components/NewComposition/RemInputTypeColor.js +1 -1
- package/dist/editor/components/NewComposition/RemTextarea.d.ts +1 -1
- package/dist/editor/components/Notifications/NotificationCenter.d.ts +2 -2
- package/dist/editor/components/QuickSwitcher/NoResults.d.ts +1 -1
- package/dist/editor/components/QuickSwitcher/QuickSwitcherResult.d.ts +2 -2
- package/dist/editor/components/RenderModal/DataEditor.d.ts +2 -3
- package/dist/editor/components/RenderModal/DataEditor.js +14 -5
- package/dist/editor/components/RenderModal/EnforceAudioTrackSetting.js +1 -1
- package/dist/editor/components/RenderModal/MutedSetting.js +1 -1
- package/dist/editor/components/RenderModal/RenderModal.d.ts +1 -1
- package/dist/editor/components/RenderModal/RenderModal.js +2 -2
- package/dist/editor/components/RenderModal/RenderModalAdvanced.d.ts +1 -1
- package/dist/editor/components/RenderModal/RenderModalAdvanced.js +1 -1
- package/dist/editor/components/RenderModal/RenderModalAudio.js +1 -1
- package/dist/editor/components/RenderModal/RenderModalGif.js +1 -1
- package/dist/editor/components/RenderModal/RenderModalInput.d.ts +1 -1
- package/dist/editor/components/RenderModal/RenderModalJSONPropsEditor.d.ts +1 -1
- package/dist/editor/components/RenderModal/RenderModalPicture.d.ts +1 -1
- 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 +0 -1
- package/dist/editor/components/RenderModal/SchemaEditor/SchemaEditor.js +2 -3
- package/dist/editor/components/RenderModal/SchemaEditor/SchemaErrorMessages.js +1 -3
- package/dist/editor/components/RenderModal/SchemaEditor/SchemaLabel.d.ts +1 -7
- package/dist/editor/components/RenderModal/SchemaEditor/SchemaLabel.js +14 -22
- 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 +1 -1
- package/dist/editor/components/RenderModal/SchemaEditor/ZodArrayEditor.js +51 -42
- package/dist/editor/components/RenderModal/SchemaEditor/ZodArrayItemEditor.d.ts +1 -1
- package/dist/editor/components/RenderModal/SchemaEditor/ZodArrayItemEditor.js +5 -5
- package/dist/editor/components/RenderModal/SchemaEditor/ZodBooleanEditor.d.ts +3 -1
- package/dist/editor/components/RenderModal/SchemaEditor/ZodBooleanEditor.js +14 -13
- package/dist/editor/components/RenderModal/SchemaEditor/ZodColorEditor.d.ts +1 -1
- package/dist/editor/components/RenderModal/SchemaEditor/ZodColorEditor.js +12 -14
- package/dist/editor/components/RenderModal/SchemaEditor/ZodDateEditor.d.ts +1 -1
- package/dist/editor/components/RenderModal/SchemaEditor/ZodDateEditor.js +9 -15
- package/dist/editor/components/RenderModal/SchemaEditor/ZodDefaultEditor.d.ts +1 -1
- package/dist/editor/components/RenderModal/SchemaEditor/ZodDefaultEditor.js +2 -2
- package/dist/editor/components/RenderModal/SchemaEditor/ZodEffectEditor.d.ts +1 -1
- package/dist/editor/components/RenderModal/SchemaEditor/ZodEffectEditor.js +5 -30
- package/dist/editor/components/RenderModal/SchemaEditor/ZodEnumEditor.d.ts +0 -1
- package/dist/editor/components/RenderModal/SchemaEditor/ZodEnumEditor.js +8 -11
- 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 +1 -1
- package/dist/editor/components/RenderModal/SchemaEditor/ZodNonEditableValue.js +3 -3
- package/dist/editor/components/RenderModal/SchemaEditor/ZodNullableEditor.d.ts +1 -1
- package/dist/editor/components/RenderModal/SchemaEditor/ZodNullableEditor.js +2 -2
- package/dist/editor/components/RenderModal/SchemaEditor/ZodNumberEditor.d.ts +1 -1
- package/dist/editor/components/RenderModal/SchemaEditor/ZodNumberEditor.js +10 -13
- package/dist/editor/components/RenderModal/SchemaEditor/ZodObjectEditor.d.ts +1 -1
- package/dist/editor/components/RenderModal/SchemaEditor/ZodObjectEditor.js +39 -45
- package/dist/editor/components/RenderModal/SchemaEditor/ZodOptionalEditor.d.ts +1 -1
- package/dist/editor/components/RenderModal/SchemaEditor/ZodOptionalEditor.js +2 -2
- package/dist/editor/components/RenderModal/SchemaEditor/ZodOrNullishEditor.d.ts +2 -1
- package/dist/editor/components/RenderModal/SchemaEditor/ZodOrNullishEditor.js +13 -48
- package/dist/editor/components/RenderModal/SchemaEditor/ZodStaticFileEditor.d.ts +1 -1
- package/dist/editor/components/RenderModal/SchemaEditor/ZodStaticFileEditor.js +7 -10
- package/dist/editor/components/RenderModal/SchemaEditor/ZodStringEditor.d.ts +1 -1
- package/dist/editor/components/RenderModal/SchemaEditor/ZodStringEditor.js +8 -11
- package/dist/editor/components/RenderModal/SchemaEditor/ZodSwitch.d.ts +2 -2
- package/dist/editor/components/RenderModal/SchemaEditor/ZodSwitch.js +21 -21
- package/dist/editor/components/RenderModal/SchemaEditor/ZodUnionEditor.d.ts +1 -1
- package/dist/editor/components/RenderModal/SchemaEditor/ZodUnionEditor.js +6 -6
- package/dist/editor/components/RenderModal/SchemaEditor/deep-equal.js +3 -0
- package/dist/editor/components/RenderModal/SchemaEditor/extract-enum-json-paths.d.ts +1 -1
- package/dist/editor/components/RenderModal/SchemaEditor/get-schema-label.js +3 -3
- package/dist/editor/components/RenderModal/SchemaEditor/input-props-serialization.d.ts +1 -1
- package/dist/editor/components/RenderModal/SchemaEditor/local-state.d.ts +10 -5
- package/dist/editor/components/RenderModal/SchemaEditor/local-state.js +56 -15
- package/dist/editor/components/RenderModal/SchemaEditor/zod-types.d.ts +1 -1
- package/dist/editor/components/RenderModal/get-render-modal-warnings.d.ts +1 -1
- package/dist/editor/components/RenderModal/layout.d.ts +0 -1
- package/dist/editor/components/RenderModal/layout.js +1 -7
- package/dist/editor/components/RenderQueue/actions.d.ts +2 -1
- package/dist/editor/components/RenderQueue/actions.js +7 -2
- package/dist/editor/components/RenderQueue/context.d.ts +1 -1
- package/dist/editor/components/RightPanel.d.ts +1 -1
- package/dist/editor/components/RightPanel.js +1 -1
- package/dist/editor/components/SegmentedControl.d.ts +1 -1
- package/dist/editor/components/SegmentedControl.js +2 -0
- package/dist/editor/components/Splitter/SplitterContext.d.ts +3 -3
- package/dist/editor/components/Timeline/LoopedIndicator.js +6 -6
- package/dist/editor/components/Timeline/TimelineWidthProvider.d.ts +1 -1
- package/dist/editor/components/Timeline/TimelineZoomControls.js +1 -1
- package/dist/editor/components/Timeline/timeline-state-reducer.d.ts +2 -2
- package/dist/editor/components/UpdateCheck.d.ts +1 -1
- package/dist/editor/components/UpdateCheck.js +2 -4
- package/dist/editor/components/get-zod-if-possible.d.ts +2 -2
- package/dist/editor/helpers/client-id.d.ts +1 -1
- package/dist/editor/helpers/colors.d.ts +1 -1
- package/dist/editor/helpers/get-timeline-sequence-sort-key.d.ts +3 -3
- package/dist/editor/helpers/persist-open-folders.d.ts +1 -1
- package/dist/editor/helpers/render-modal-sections.d.ts +1 -1
- package/dist/editor/helpers/use-menu-structure.d.ts +1 -1
- package/dist/editor/icons/plus.d.ts +3 -1
- package/dist/editor/icons/plus.js +2 -2
- package/dist/editor/state/checkerboard.d.ts +1 -1
- package/dist/editor/state/editor-zoom-gestures.d.ts +1 -1
- package/dist/editor/state/folders.d.ts +1 -1
- package/dist/editor/state/highest-z-index.d.ts +1 -1
- package/dist/editor/state/in-out.d.ts +2 -2
- package/dist/editor/state/keybindings.d.ts +4 -4
- package/dist/editor/state/modals.d.ts +4 -4
- package/dist/editor/state/preview-size.d.ts +1 -1
- package/dist/editor/state/sidebar.d.ts +3 -3
- package/dist/editor/state/timeline-ref.d.ts +1 -1
- package/dist/event-source-events.d.ts +1 -1
- package/dist/file-watcher.d.ts +1 -1
- package/dist/get-cli-options.d.ts +1 -1
- package/dist/get-composition-id.d.ts +10 -11
- package/dist/get-composition-id.js +9 -6
- package/dist/get-composition-with-dimension-override.d.ts +4 -4
- package/dist/get-composition-with-dimension-override.js +2 -2
- package/dist/index.d.ts +5 -4
- package/dist/log.d.ts +1 -0
- package/dist/parse-command-line.d.ts +1 -1
- package/dist/preview-server/api-routes.js +2 -0
- package/dist/preview-server/api-types.d.ts +5 -4
- package/dist/preview-server/dev-middleware/get-paths.d.ts +1 -1
- package/dist/preview-server/dev-middleware/middleware.d.ts +1 -1
- package/dist/preview-server/dev-middleware/range-parser.d.ts +2 -2
- package/dist/preview-server/dev-middleware/types.d.ts +1 -1
- package/dist/preview-server/error-overlay/react-overlay/effects/map-error-to-react-stack.d.ts +1 -1
- package/dist/preview-server/error-overlay/react-overlay/effects/proxy-console.d.ts +3 -3
- package/dist/preview-server/error-overlay/react-overlay/effects/unhandled-error.d.ts +1 -1
- package/dist/preview-server/error-overlay/react-overlay/effects/unhandled-rejection.d.ts +1 -1
- package/dist/preview-server/error-overlay/react-overlay/listen-to-runtime-errors.d.ts +1 -1
- package/dist/preview-server/error-overlay/react-overlay/utils/get-source-map.js +1 -0
- package/dist/preview-server/error-overlay/react-overlay/utils/open-in-editor.d.ts +2 -2
- package/dist/preview-server/error-overlay/react-overlay/utils/stack-frame.d.ts +4 -4
- package/dist/preview-server/error-overlay/remotion-overlay/ErrorDisplay.d.ts +1 -1
- package/dist/preview-server/error-overlay/remotion-overlay/Overlay.d.ts +2 -2
- package/dist/preview-server/error-overlay/remotion-overlay/get-help-link.d.ts +1 -1
- package/dist/preview-server/get-package-manager.d.ts +2 -2
- package/dist/preview-server/hot-middleware/client.d.ts +1 -1
- package/dist/preview-server/hot-middleware/types.d.ts +4 -4
- package/dist/preview-server/live-events.d.ts +1 -1
- package/dist/preview-server/live-events.js +10 -1
- package/dist/preview-server/project-info.d.ts +1 -1
- package/dist/preview-server/render-queue/job.d.ts +30 -21
- package/dist/preview-server/render-queue/process-still.js +1 -2
- 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.js +1 -11
- package/dist/preview-server/update-available.d.ts +2 -10
- package/dist/progress-bar.d.ts +4 -4
- package/dist/progress-bar.js +3 -2
- package/dist/progress-types.d.ts +4 -4
- package/dist/render-flows/render.js +35 -28
- package/dist/render-flows/still.d.ts +1 -1
- package/dist/render-flows/still.js +23 -10
- package/dist/required-chromium-options.d.ts +2 -2
- package/dist/server-ready-comment.d.ts +1 -1
- package/dist/server-ready-comment.js +2 -2
- package/dist/setup-cache.js +10 -0
- package/dist/show-compositions-picker.d.ts +1 -1
- package/dist/step.d.ts +1 -1
- package/dist/studio.js +3 -3
- package/dist/truthy.d.ts +1 -1
- package/package.json +10 -12
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.fieldsetLabel = exports.input = exports.rightRow = exports.label = exports.
|
|
3
|
+
exports.fieldsetLabel = exports.input = exports.rightRow = exports.label = exports.optionRow = void 0;
|
|
4
4
|
const colors_1 = require("../../helpers/colors");
|
|
5
5
|
exports.optionRow = {
|
|
6
6
|
display: 'flex',
|
|
@@ -11,10 +11,6 @@ exports.optionRow = {
|
|
|
11
11
|
paddingTop: 8,
|
|
12
12
|
paddingBottom: 8,
|
|
13
13
|
};
|
|
14
|
-
exports.narrowOption = {
|
|
15
|
-
display: 'flex',
|
|
16
|
-
flexDirection: 'column',
|
|
17
|
-
};
|
|
18
14
|
exports.label = {
|
|
19
15
|
width: 170,
|
|
20
16
|
fontSize: 15,
|
|
@@ -38,8 +34,6 @@ exports.input = {
|
|
|
38
34
|
exports.fieldsetLabel = {
|
|
39
35
|
color: colors_1.LIGHT_TEXT,
|
|
40
36
|
fontSize: 14,
|
|
41
|
-
paddingLeft: 5,
|
|
42
|
-
paddingRight: 5,
|
|
43
37
|
display: 'flex',
|
|
44
38
|
flexDirection: 'row',
|
|
45
39
|
fontFamily: 'monospace',
|
|
@@ -6,7 +6,7 @@ export declare const addStillRenderJob: ({ compositionId, outName, imageFormat,
|
|
|
6
6
|
compositionId: string;
|
|
7
7
|
outName: string;
|
|
8
8
|
imageFormat: StillImageFormat;
|
|
9
|
-
jpegQuality: number
|
|
9
|
+
jpegQuality: number;
|
|
10
10
|
frame: number;
|
|
11
11
|
scale: number;
|
|
12
12
|
verbose: boolean;
|
|
@@ -55,5 +55,6 @@ export declare const openInFileExplorer: ({ directory }: {
|
|
|
55
55
|
}) => Promise<void>;
|
|
56
56
|
export declare const removeRenderJob: (job: RenderJob) => Promise<undefined>;
|
|
57
57
|
export declare const cancelRenderJob: (job: RenderJob) => Promise<import("../../../preview-server/render-queue/job").CancelRenderResponse>;
|
|
58
|
+
export declare const updateAvailable: (signal: AbortSignal) => Promise<import("../../../preview-server/render-queue/job").UpdateAvailableResponse>;
|
|
58
59
|
export declare const updateDefaultProps: (compositionId: string, defaultProps: unknown, enumPaths: EnumPath[]) => Promise<import("../../../preview-server/render-queue/job").UpdateDefaultPropsResponse>;
|
|
59
60
|
export declare const canUpdateDefaultProps: (compositionId: string) => Promise<import("../../../preview-server/render-queue/job").CanUpdateDefaultPropsResponse>;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.canUpdateDefaultProps = exports.updateDefaultProps = exports.cancelRenderJob = exports.removeRenderJob = exports.openInFileExplorer = exports.subscribeToFileExistenceWatcher = exports.unsubscribeFromFileExistenceWatcher = exports.addVideoRenderJob = exports.addStillRenderJob = void 0;
|
|
3
|
+
exports.canUpdateDefaultProps = exports.updateDefaultProps = exports.updateAvailable = exports.cancelRenderJob = exports.removeRenderJob = exports.openInFileExplorer = exports.subscribeToFileExistenceWatcher = exports.unsubscribeFromFileExistenceWatcher = exports.addVideoRenderJob = exports.addStillRenderJob = void 0;
|
|
4
4
|
const input_props_serialization_1 = require("../RenderModal/SchemaEditor/input-props-serialization");
|
|
5
|
-
const callApi = (endpoint, body) => {
|
|
5
|
+
const callApi = (endpoint, body, signal) => {
|
|
6
6
|
return new Promise((resolve, reject) => {
|
|
7
7
|
fetch(endpoint, {
|
|
8
8
|
method: 'post',
|
|
9
9
|
headers: {
|
|
10
10
|
'content-type': 'application/json',
|
|
11
11
|
},
|
|
12
|
+
signal,
|
|
12
13
|
body: JSON.stringify(body),
|
|
13
14
|
})
|
|
14
15
|
.then((res) => res.json())
|
|
@@ -104,6 +105,10 @@ const cancelRenderJob = (job) => {
|
|
|
104
105
|
});
|
|
105
106
|
};
|
|
106
107
|
exports.cancelRenderJob = cancelRenderJob;
|
|
108
|
+
const updateAvailable = (signal) => {
|
|
109
|
+
return callApi('/api/update-available', {}, signal);
|
|
110
|
+
};
|
|
111
|
+
exports.updateAvailable = updateAvailable;
|
|
107
112
|
const updateDefaultProps = (compositionId, defaultProps, enumPaths) => {
|
|
108
113
|
return callApi('/api/update-default-props', {
|
|
109
114
|
compositionId,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
2
|
+
type SidebarPanel = 'input-props' | 'renders';
|
|
3
3
|
export declare const persistSelectedPanel: (panel: SidebarPanel) => void;
|
|
4
4
|
export declare const rightSidebarTabs: React.RefObject<{
|
|
5
5
|
selectRendersPanel: () => void;
|
|
@@ -26,7 +26,7 @@ const PropsEditor = ({ composition }) => {
|
|
|
26
26
|
});
|
|
27
27
|
}, [composition.defaultProps, composition.id, updateProps]);
|
|
28
28
|
const actualProps = (0, react_1.useMemo)(() => { var _a, _b; return (_b = (_a = props[composition.id]) !== null && _a !== void 0 ? _a : composition.defaultProps) !== null && _b !== void 0 ? _b : {}; }, [composition.defaultProps, composition.id, props]);
|
|
29
|
-
return ((0, jsx_runtime_1.jsx)(DataEditor_1.DataEditor, { unresolvedComposition: composition, inputProps: actualProps, setInputProps: setInputProps,
|
|
29
|
+
return ((0, jsx_runtime_1.jsx)(DataEditor_1.DataEditor, { unresolvedComposition: composition, inputProps: actualProps, setInputProps: setInputProps, mayShowSaveButton: true, propsEditType: "default-props" }, composition.id));
|
|
30
30
|
};
|
|
31
31
|
const localStorageKey = 'remotion.sidebarPanel';
|
|
32
32
|
const getSelectedPanel = () => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export
|
|
2
|
+
export type SplitterDragState = false | {
|
|
3
3
|
x: number;
|
|
4
4
|
y: number;
|
|
5
5
|
};
|
|
6
|
-
export
|
|
7
|
-
export
|
|
6
|
+
export type SplitterOrientation = 'horizontal' | 'vertical';
|
|
7
|
+
export type TSplitterContext = {
|
|
8
8
|
flexValue: number;
|
|
9
9
|
setFlexValue: React.Dispatch<React.SetStateAction<number>>;
|
|
10
10
|
domRect: DOMRect | DOMRectReadOnly | null;
|
|
@@ -10,21 +10,21 @@ const width = {
|
|
|
10
10
|
position: 'relative',
|
|
11
11
|
};
|
|
12
12
|
const icon = {
|
|
13
|
-
height:
|
|
14
|
-
width:
|
|
13
|
+
height: 14,
|
|
14
|
+
width: 14,
|
|
15
15
|
};
|
|
16
16
|
const Icon = () => ((0, jsx_runtime_1.jsx)("svg", { "aria-hidden": "true", focusable: "false", "data-prefix": "fas", "data-icon": "repeat", className: "svg-inline--fa fa-repeat fa-w-16", role: "img", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", style: icon, children: (0, jsx_runtime_1.jsx)("path", { fill: "currentColor", d: "M512 256c0 88.224-71.775 160-160 160H170.067l34.512 32.419c9.875 9.276 10.119 24.883.539 34.464l-10.775 10.775c-9.373 9.372-24.568 9.372-33.941 0l-92.686-92.686c-9.373-9.373-9.373-24.568 0-33.941l92.686-92.686c9.373-9.373 24.568-9.373 33.941 0l10.775 10.775c9.581 9.581 9.337 25.187-.539 34.464L170.067 352H352c52.935 0 96-43.065 96-96 0-13.958-2.996-27.228-8.376-39.204-4.061-9.039-2.284-19.626 4.723-26.633l12.183-12.183c11.499-11.499 30.965-8.526 38.312 5.982C505.814 205.624 512 230.103 512 256zM72.376 295.204C66.996 283.228 64 269.958 64 256c0-52.935 43.065-96 96-96h181.933l-34.512 32.419c-9.875 9.276-10.119 24.883-.539 34.464l10.775 10.775c9.373 9.372 24.568 9.372 33.941 0l92.686-92.686c9.373-9.373 9.373-24.568 0-33.941l-92.686-92.686c-9.373-9.373-24.568-9.373-33.941 0L306.882 29.12c-9.581 9.581-9.337 25.187.539 34.464L341.933 96H160C71.775 96 0 167.776 0 256c0 25.897 6.186 50.376 17.157 72.039 7.347 14.508 26.813 17.481 38.312 5.982l12.183-12.183c7.008-7.008 8.786-17.595 4.724-26.634z" }) }));
|
|
17
17
|
const topLine = {
|
|
18
18
|
top: 0,
|
|
19
|
-
height:
|
|
19
|
+
height: 5,
|
|
20
20
|
width: 1,
|
|
21
|
-
background: '
|
|
21
|
+
background: 'white',
|
|
22
22
|
};
|
|
23
23
|
const bottomLine = {
|
|
24
24
|
top: 0,
|
|
25
|
-
height:
|
|
25
|
+
height: 5,
|
|
26
26
|
width: 1,
|
|
27
|
-
background: '
|
|
27
|
+
background: 'white',
|
|
28
28
|
};
|
|
29
29
|
const topContainer = {
|
|
30
30
|
justifyContent: 'flex-start',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
2
|
+
type TimelineWidthContextType = number | null;
|
|
3
3
|
export declare const TimelineWidthContext: import("react").Context<TimelineWidthContextType>;
|
|
4
4
|
export declare const TimelineWidthProvider: React.FC<{
|
|
5
5
|
children: React.ReactNode;
|
|
@@ -39,6 +39,6 @@ const TimelineZoomControls = () => {
|
|
|
39
39
|
if (isStill) {
|
|
40
40
|
return null;
|
|
41
41
|
}
|
|
42
|
-
return ((0, jsx_runtime_1.jsxs)("div", { style: container, children: [(0, jsx_runtime_1.jsx)(ControlButton_1.ControlButton, { onClick: onMinusClicked, style: buttonStyle, title: "Zoom out timeline", role: 'ControlButton', type: "button", disabled: timeline_zoom_1.TIMELINE_MIN_ZOOM === zoom, children: (0, jsx_runtime_1.jsx)(minus_1.Minus, { style: iconStyle }) }), (0, jsx_runtime_1.jsx)(layout_1.Spacing, { x: 0.5 }), (0, jsx_runtime_1.jsx)("input", { title: `Timeline zoom (${zoom}x)`, alt: `Timeline zoom (${zoom}x)`, type: 'range', min: timeline_zoom_1.TIMELINE_MIN_ZOOM, step: 0.1, value: zoom, max: timeline_zoom_1.TIMELINE_MAX_ZOOM, onChange: onChange, className: "__remotion-timeline-slider", tabIndex: tabIndex }), (0, jsx_runtime_1.jsx)(layout_1.Spacing, { x: 0.5 }), (0, jsx_runtime_1.jsx)(ControlButton_1.ControlButton, { onClick: onPlusClicked, style: buttonStyle, title: "Zoom in timeline", role: 'button', type: "button", disabled: timeline_zoom_1.TIMELINE_MAX_ZOOM === zoom, children: (0, jsx_runtime_1.jsx)(plus_1.Plus, { style: iconStyle }) })] }));
|
|
42
|
+
return ((0, jsx_runtime_1.jsxs)("div", { style: container, children: [(0, jsx_runtime_1.jsx)(ControlButton_1.ControlButton, { onClick: onMinusClicked, style: buttonStyle, title: "Zoom out timeline", role: 'ControlButton', type: "button", disabled: timeline_zoom_1.TIMELINE_MIN_ZOOM === zoom, children: (0, jsx_runtime_1.jsx)(minus_1.Minus, { style: iconStyle }) }), (0, jsx_runtime_1.jsx)(layout_1.Spacing, { x: 0.5 }), (0, jsx_runtime_1.jsx)("input", { title: `Timeline zoom (${zoom}x)`, alt: `Timeline zoom (${zoom}x)`, type: 'range', min: timeline_zoom_1.TIMELINE_MIN_ZOOM, step: 0.1, value: zoom, max: timeline_zoom_1.TIMELINE_MAX_ZOOM, onChange: onChange, className: "__remotion-timeline-slider", tabIndex: tabIndex }), (0, jsx_runtime_1.jsx)(layout_1.Spacing, { x: 0.5 }), (0, jsx_runtime_1.jsx)(ControlButton_1.ControlButton, { onClick: onPlusClicked, style: buttonStyle, title: "Zoom in timeline", role: 'button', type: "button", disabled: timeline_zoom_1.TIMELINE_MAX_ZOOM === zoom, children: (0, jsx_runtime_1.jsx)(plus_1.Plus, { color: "currentcolor", style: iconStyle }) })] }));
|
|
43
43
|
};
|
|
44
44
|
exports.TimelineZoomControls = TimelineZoomControls;
|
|
@@ -6,6 +6,7 @@ const react_1 = require("react");
|
|
|
6
6
|
const colors_1 = require("../helpers/colors");
|
|
7
7
|
const modals_1 = require("../state/modals");
|
|
8
8
|
const z_index_1 = require("../state/z-index");
|
|
9
|
+
const actions_1 = require("./RenderQueue/actions");
|
|
9
10
|
const buttonStyle = {
|
|
10
11
|
appearance: 'none',
|
|
11
12
|
color: colors_1.BLUE,
|
|
@@ -21,10 +22,7 @@ const UpdateCheck = () => {
|
|
|
21
22
|
const { tabIndex } = (0, z_index_1.useZIndex)();
|
|
22
23
|
const checkForUpdates = (0, react_1.useCallback)(() => {
|
|
23
24
|
const controller = new AbortController();
|
|
24
|
-
|
|
25
|
-
signal: controller.signal,
|
|
26
|
-
})
|
|
27
|
-
.then((res) => res.json())
|
|
25
|
+
(0, actions_1.updateAvailable)(controller.signal)
|
|
28
26
|
.then((d) => {
|
|
29
27
|
setInfo(d);
|
|
30
28
|
})
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export
|
|
3
|
-
export
|
|
2
|
+
export type ZodType = Awaited<typeof import('zod')>['z'];
|
|
3
|
+
export type ZodTypesType = Awaited<typeof import('@remotion/zod-types')>;
|
|
4
4
|
export declare const getZodIfPossible: () => Promise<ZodType | null>;
|
|
5
5
|
export declare const getZTypesIfPossible: () => Promise<ZodTypesType | null>;
|
|
6
6
|
export declare const useZodIfPossible: () => typeof import("zod/lib/external") | null;
|
|
@@ -16,4 +16,4 @@ export declare const BLUE_DISABLED = "#284f73";
|
|
|
16
16
|
export declare const getBackgroundFromHoverState: ({ selected, hovered, }: {
|
|
17
17
|
selected: boolean;
|
|
18
18
|
hovered: boolean;
|
|
19
|
-
}) => "transparent" | "hsla(0, 0%, 100%, 0.15)" | "
|
|
19
|
+
}) => "transparent" | "hsla(0, 0%, 100%, 0.15)" | "rgba(255, 255, 255, 0.06)" | "hsla(0, 0%, 100%, 0.25)";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import type { TSequence } from 'remotion';
|
|
2
|
-
|
|
2
|
+
type Track = {
|
|
3
3
|
sequence: TSequence;
|
|
4
4
|
depth: number;
|
|
5
5
|
};
|
|
6
|
-
export
|
|
6
|
+
export type TrackWithHash = Track & {
|
|
7
7
|
hash: string;
|
|
8
8
|
canCollapse: boolean;
|
|
9
9
|
};
|
|
10
|
-
export
|
|
10
|
+
export type TrackWithHashAndOriginalTimings = TrackWithHash & {
|
|
11
11
|
hash: string;
|
|
12
12
|
cascadedStart: number;
|
|
13
13
|
cascadedDuration: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const openFolderKey: (folderName: string, parentName: string | null) => string;
|
|
2
|
-
export
|
|
2
|
+
export type ExpandedFoldersState = Record<string, boolean>;
|
|
3
3
|
export declare const persistExpandedFolders: (state: ExpandedFoldersState) => void;
|
|
4
4
|
export declare const loadExpandedFolders: () => ExpandedFoldersState;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { Codec } from '@remotion/renderer';
|
|
3
3
|
import type { RenderType } from '../components/RenderModal/RenderModalAdvanced';
|
|
4
|
-
|
|
4
|
+
type Section = 'general' | 'picture' | 'advanced' | 'data' | 'gif' | 'audio';
|
|
5
5
|
export declare const useRenderModalSections: (renderMode: RenderType, codec: Codec) => {
|
|
6
6
|
tab: Section;
|
|
7
7
|
setTab: import("react").Dispatch<import("react").SetStateAction<Section>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Menu } from '../components/Menu/MenuItem';
|
|
2
2
|
import type { TQuickSwitcherResult } from '../components/QuickSwitcher/QuickSwitcherResult';
|
|
3
3
|
import type { ModalState } from '../state/modals';
|
|
4
|
-
|
|
4
|
+
type Structure = Menu[];
|
|
5
5
|
export declare const useMenuStructure: (closeMenu: () => void) => Structure;
|
|
6
6
|
export declare const makeSearchResults: (actions: Structure, setSelectedModal: (value: React.SetStateAction<ModalState | null>) => void) => TQuickSwitcherResult[];
|
|
7
7
|
export {};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Plus = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
const Plus = (props) => {
|
|
6
|
-
return ((0, jsx_runtime_1.jsx)("svg", { ...props, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 448 512", children: (0, jsx_runtime_1.jsx)("path", { fill:
|
|
5
|
+
const Plus = ({ color, ...props }) => {
|
|
6
|
+
return ((0, jsx_runtime_1.jsx)("svg", { ...props, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 448 512", children: (0, jsx_runtime_1.jsx)("path", { fill: color, d: "M432 256c0 17.69-14.33 32.01-32 32.01H256v144c0 17.69-14.33 31.99-32 31.99s-32-14.3-32-31.99v-144H48c-17.67 0-32-14.32-32-32.01s14.33-31.99 32-31.99H192v-144c0-17.69 14.33-32.01 32-32.01s32 14.32 32 32.01v144h144C417.7 224 432 238.3 432 256z" }) }));
|
|
7
7
|
};
|
|
8
8
|
exports.Plus = Plus;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { ExpandedFoldersState } from '../helpers/persist-open-folders';
|
|
3
|
-
|
|
3
|
+
type TFolderContext = {
|
|
4
4
|
foldersExpanded: ExpandedFoldersState;
|
|
5
5
|
setFoldersExpanded: React.Dispatch<React.SetStateAction<ExpandedFoldersState>>;
|
|
6
6
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
|
-
export
|
|
2
|
+
export type TimelineInOutContextValue = {
|
|
3
3
|
inFrame: number | null;
|
|
4
4
|
outFrame: number | null;
|
|
5
5
|
};
|
|
6
|
-
export
|
|
6
|
+
export type SetTimelineInOutContextValue = {
|
|
7
7
|
setInAndOutFrames: (u: React.SetStateAction<TimelineInOutContextValue>) => void;
|
|
8
8
|
};
|
|
9
9
|
export declare const TimelineInOutContext: React.Context<TimelineInOutContextValue>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
export
|
|
2
|
+
export type KeyEventType = 'keydown' | 'keyup' | 'keypress';
|
|
3
|
+
type KeyListenerCallback = (e: KeyboardEvent) => void;
|
|
4
|
+
export type RegisteredKeybinding = {
|
|
5
5
|
registeredFromPane: string;
|
|
6
6
|
id: string;
|
|
7
7
|
key: string;
|
|
8
8
|
event: KeyEventType;
|
|
9
9
|
callback: KeyListenerCallback;
|
|
10
10
|
};
|
|
11
|
-
export
|
|
11
|
+
export type KeybindingContextType = {
|
|
12
12
|
registerKeybinding: (binding: RegisteredKeybinding) => void;
|
|
13
13
|
unregisterKeybinding: (binding: RegisteredKeybinding) => void;
|
|
14
14
|
unregisterPane: (paneId: string) => void;
|
|
@@ -3,8 +3,8 @@ import type React from 'react';
|
|
|
3
3
|
import type { QuickSwitcherMode } from '../components/QuickSwitcher/NoResults';
|
|
4
4
|
import type { RenderType } from '../components/RenderModal/RenderModalAdvanced';
|
|
5
5
|
import type { UpdateInfo } from '../components/UpdateCheck';
|
|
6
|
-
export
|
|
7
|
-
export
|
|
6
|
+
export type CompType = 'composition' | 'still';
|
|
7
|
+
export type RenderModalState = {
|
|
8
8
|
type: 'render';
|
|
9
9
|
compositionId: string;
|
|
10
10
|
initialFrame: number;
|
|
@@ -39,7 +39,7 @@ export declare type RenderModalState = {
|
|
|
39
39
|
inFrameMark: number | null;
|
|
40
40
|
outFrameMark: number | null;
|
|
41
41
|
};
|
|
42
|
-
export
|
|
42
|
+
export type ModalState = {
|
|
43
43
|
type: 'new-comp';
|
|
44
44
|
compType: CompType;
|
|
45
45
|
} | RenderModalState | {
|
|
@@ -53,7 +53,7 @@ export declare type ModalState = {
|
|
|
53
53
|
mode: QuickSwitcherMode;
|
|
54
54
|
invocationTimestamp: number;
|
|
55
55
|
};
|
|
56
|
-
export
|
|
56
|
+
export type ModalContextType = {
|
|
57
57
|
selectedModal: ModalState | null;
|
|
58
58
|
setSelectedModal: React.Dispatch<React.SetStateAction<ModalState | null>>;
|
|
59
59
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
export type SidebarCollapsedState = 'collapsed' | 'expanded' | 'responsive';
|
|
3
|
+
type RightSidebarCollapsedState = Exclude<SidebarCollapsedState, 'responsive'>;
|
|
4
|
+
type Context = {
|
|
5
5
|
sidebarCollapsedStateLeft: SidebarCollapsedState;
|
|
6
6
|
setSidebarCollapsedState: (options: {
|
|
7
7
|
left: null | React.SetStateAction<SidebarCollapsedState>;
|
package/dist/file-watcher.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export declare const getCliOptions: (options: {
|
|
|
11
11
|
shouldOutputImageSequence: boolean;
|
|
12
12
|
inputProps: Record<string, unknown>;
|
|
13
13
|
envVariables: Record<string, string>;
|
|
14
|
-
jpegQuality: number
|
|
14
|
+
jpegQuality: number;
|
|
15
15
|
browser: import("@remotion/renderer").Browser;
|
|
16
16
|
crf: import("@remotion/renderer").Crf | null;
|
|
17
17
|
pixelFormat: "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le";
|
|
@@ -1,20 +1,19 @@
|
|
|
1
|
-
import type { BrowserExecutable,
|
|
1
|
+
import type { BrowserExecutable, ChromiumOptions, HeadlessBrowser, RemotionServer } from '@remotion/renderer';
|
|
2
2
|
import type { AnyCompMetadata } from 'remotion';
|
|
3
|
-
export declare const getCompositionId: ({ args, compositionIdFromUi, inputProps, puppeteerInstance, envVariables, timeoutInMilliseconds, chromiumOptions, port, browserExecutable,
|
|
3
|
+
export declare const getCompositionId: ({ args, compositionIdFromUi, inputProps, puppeteerInstance, envVariables, timeoutInMilliseconds, chromiumOptions, port, browserExecutable, serveUrlOrWebpackUrl, verbose, indent, server, }: {
|
|
4
4
|
args: string[];
|
|
5
5
|
compositionIdFromUi: string | null;
|
|
6
|
-
inputProps
|
|
7
|
-
puppeteerInstance
|
|
8
|
-
envVariables
|
|
9
|
-
timeoutInMilliseconds
|
|
10
|
-
chromiumOptions
|
|
11
|
-
port
|
|
12
|
-
browserExecutable
|
|
13
|
-
downloadMap?: DownloadMap | undefined;
|
|
6
|
+
inputProps: Record<string, unknown>;
|
|
7
|
+
puppeteerInstance: HeadlessBrowser | undefined;
|
|
8
|
+
envVariables: Record<string, string>;
|
|
9
|
+
timeoutInMilliseconds: number;
|
|
10
|
+
chromiumOptions: ChromiumOptions;
|
|
11
|
+
port: number | null;
|
|
12
|
+
browserExecutable: BrowserExecutable;
|
|
14
13
|
serveUrlOrWebpackUrl: string;
|
|
15
14
|
verbose: boolean;
|
|
16
|
-
onBrowserLog?: ((log: BrowserLog) => void) | undefined;
|
|
17
15
|
indent: boolean;
|
|
16
|
+
server: RemotionServer;
|
|
18
17
|
}) => Promise<{
|
|
19
18
|
compositionId: string;
|
|
20
19
|
reason: string;
|
|
@@ -15,13 +15,13 @@ const getCompName = ({ cliArgs, compositionIdFromUi, }) => {
|
|
|
15
15
|
const [compName, ...remainingArgs] = cliArgs;
|
|
16
16
|
return { compName, remainingArgs, reason: 'Passed as argument' };
|
|
17
17
|
};
|
|
18
|
-
const getCompositionId = async ({ args, compositionIdFromUi, inputProps, puppeteerInstance, envVariables, timeoutInMilliseconds, chromiumOptions, port, browserExecutable,
|
|
18
|
+
const getCompositionId = async ({ args, compositionIdFromUi, inputProps, puppeteerInstance, envVariables, timeoutInMilliseconds, chromiumOptions, port, browserExecutable, serveUrlOrWebpackUrl, verbose, indent, server, }) => {
|
|
19
19
|
const { compName, remainingArgs, reason: compReason, } = getCompName({
|
|
20
20
|
cliArgs: args,
|
|
21
21
|
compositionIdFromUi,
|
|
22
22
|
});
|
|
23
23
|
if (compName) {
|
|
24
|
-
const config = await
|
|
24
|
+
const config = await renderer_1.RenderInternals.internalSelectComposition({
|
|
25
25
|
id: compName,
|
|
26
26
|
inputProps,
|
|
27
27
|
puppeteerInstance,
|
|
@@ -30,9 +30,11 @@ const getCompositionId = async ({ args, compositionIdFromUi, inputProps, puppete
|
|
|
30
30
|
serveUrl: serveUrlOrWebpackUrl,
|
|
31
31
|
browserExecutable,
|
|
32
32
|
chromiumOptions,
|
|
33
|
-
onBrowserLog,
|
|
34
33
|
port,
|
|
35
34
|
verbose,
|
|
35
|
+
server,
|
|
36
|
+
indent,
|
|
37
|
+
onBrowserLog: null,
|
|
36
38
|
});
|
|
37
39
|
if (!config) {
|
|
38
40
|
throw new Error(`Cannot find composition with ID "${compName}"`);
|
|
@@ -45,7 +47,7 @@ const getCompositionId = async ({ args, compositionIdFromUi, inputProps, puppete
|
|
|
45
47
|
};
|
|
46
48
|
}
|
|
47
49
|
if (!process.env.CI) {
|
|
48
|
-
const comps = await
|
|
50
|
+
const comps = await renderer_1.RenderInternals.internalGetCompositions({
|
|
49
51
|
inputProps,
|
|
50
52
|
puppeteerInstance,
|
|
51
53
|
envVariables,
|
|
@@ -53,10 +55,11 @@ const getCompositionId = async ({ args, compositionIdFromUi, inputProps, puppete
|
|
|
53
55
|
chromiumOptions,
|
|
54
56
|
port,
|
|
55
57
|
browserExecutable,
|
|
56
|
-
downloadMap,
|
|
57
|
-
onBrowserLog,
|
|
58
58
|
verbose,
|
|
59
59
|
indent,
|
|
60
|
+
server,
|
|
61
|
+
serveUrlOrWebpackUrl,
|
|
62
|
+
onBrowserLog: null,
|
|
60
63
|
});
|
|
61
64
|
const { compositionId, reason } = await (0, show_compositions_picker_1.showSingleCompositionsPicker)(comps);
|
|
62
65
|
if (compositionId && typeof compositionId === 'string') {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { BrowserExecutable, ChromiumOptions,
|
|
1
|
+
import type { BrowserExecutable, ChromiumOptions, HeadlessBrowser, RemotionServer } from '@remotion/renderer';
|
|
2
2
|
import type { AnyCompMetadata } from 'remotion';
|
|
3
|
-
export declare const getCompositionWithDimensionOverride: ({ height, width, args, compositionIdFromUi, chromiumOptions, envVariables, port, puppeteerInstance, timeoutInMilliseconds, browserExecutable,
|
|
3
|
+
export declare const getCompositionWithDimensionOverride: ({ height, width, args, compositionIdFromUi, chromiumOptions, envVariables, port, puppeteerInstance, timeoutInMilliseconds, browserExecutable, serveUrlOrWebpackUrl, indent, inputProps, verbose, server, }: {
|
|
4
4
|
height: number | null;
|
|
5
5
|
width: number | null;
|
|
6
6
|
args: string[];
|
|
@@ -11,11 +11,11 @@ export declare const getCompositionWithDimensionOverride: ({ height, width, args
|
|
|
11
11
|
chromiumOptions: ChromiumOptions;
|
|
12
12
|
port: number | null;
|
|
13
13
|
browserExecutable: BrowserExecutable | null;
|
|
14
|
-
downloadMap: DownloadMap | undefined;
|
|
15
14
|
serveUrlOrWebpackUrl: string;
|
|
16
15
|
indent: boolean;
|
|
17
16
|
verbose: boolean;
|
|
18
|
-
inputProps: Record<string, unknown
|
|
17
|
+
inputProps: Record<string, unknown>;
|
|
18
|
+
server: RemotionServer;
|
|
19
19
|
}) => Promise<{
|
|
20
20
|
compositionId: string;
|
|
21
21
|
reason: string;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getCompositionWithDimensionOverride = void 0;
|
|
4
4
|
const get_composition_id_1 = require("./get-composition-id");
|
|
5
|
-
const getCompositionWithDimensionOverride = async ({ height, width, args, compositionIdFromUi, chromiumOptions, envVariables, port, puppeteerInstance, timeoutInMilliseconds, browserExecutable,
|
|
5
|
+
const getCompositionWithDimensionOverride = async ({ height, width, args, compositionIdFromUi, chromiumOptions, envVariables, port, puppeteerInstance, timeoutInMilliseconds, browserExecutable, serveUrlOrWebpackUrl, indent, inputProps, verbose, server, }) => {
|
|
6
6
|
const returnValue = await (0, get_composition_id_1.getCompositionId)({
|
|
7
7
|
args,
|
|
8
8
|
compositionIdFromUi,
|
|
@@ -11,12 +11,12 @@ const getCompositionWithDimensionOverride = async ({ height, width, args, compos
|
|
|
11
11
|
verbose,
|
|
12
12
|
browserExecutable,
|
|
13
13
|
chromiumOptions,
|
|
14
|
-
downloadMap,
|
|
15
14
|
envVariables,
|
|
16
15
|
inputProps,
|
|
17
16
|
port,
|
|
18
17
|
puppeteerInstance,
|
|
19
18
|
timeoutInMilliseconds,
|
|
19
|
+
server,
|
|
20
20
|
});
|
|
21
21
|
return {
|
|
22
22
|
...returnValue,
|