daily-video-editor 0.0.2 → 0.0.4
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/clip-track/components/index.vue.d.ts +12 -2
- package/dist/clip-track/index.d.ts +1 -1
- package/dist/clip-track/stores/tracks.d.ts +15 -6
- package/dist/editor/VideoComposeEditor.vue.d.ts +80 -39
- package/dist/editor/asset-panel/VideoComposeAssetPanel.vue.d.ts +0 -2
- package/dist/editor/asset-panel/VideoComposeClipCatalog.vue.d.ts +16 -3
- package/dist/editor/asset-panel/VideoComposeTextTemplateCatalog.vue.d.ts +16 -1
- package/dist/editor/index.d.ts +1 -1
- package/dist/editor/session/createComposeEditorState.d.ts +13 -3
- package/dist/editor/session/useComposeCatalog.d.ts +0 -1
- package/dist/editor/session/useComposeEditorSession.d.ts +163 -134
- package/dist/editor/session/videoComposeEditorExpose.d.ts +7 -1
- package/dist/editor/timeline/VideoComposeTimeline.vue.d.ts +24 -12
- package/dist/index.d.ts +1 -1
- package/dist/index.js +9471 -9405
- package/dist/style.css +1 -1
- package/dist/types/videoCompose.d.ts +13 -10
- package/package.json +1 -1
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import { ComposeClip } from '../../types/videoCompose';
|
|
1
2
|
import { ComposeEditorEmit, ComposeEditorProps } from './createComposeEditorState';
|
|
2
3
|
/**
|
|
3
4
|
* 视频剪辑会话。
|
|
4
5
|
* 接线顺序固定:播放桥 → 右栏 → 素材库 → 草稿。后注册的 immediate watch 才能用到已经接好的交接函数。
|
|
5
6
|
* 区域组件仍由外壳用 props / 事件连接,不在子组件里注入,避免改掉播放和写回的调用顺序。
|
|
7
|
+
* 宿主 ref 方法由本函数返回,须在 VideoComposeEditor 的 `<script setup>` 里 `defineExpose`。
|
|
6
8
|
*/
|
|
7
9
|
export declare function useComposeEditorSession(props: ComposeEditorProps, emit: ComposeEditorEmit): {
|
|
8
10
|
frameAspect: import('vue').ComputedRef<import('../../types/videoCompose').ComposeFrameAspect>;
|
|
@@ -24,30 +26,29 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
24
26
|
width: number;
|
|
25
27
|
height: number;
|
|
26
28
|
}) => void;
|
|
27
|
-
onTracksUpdate: (next: import('
|
|
29
|
+
onTracksUpdate: (next: import('../../types/videoCompose').ComposeTrack[]) => void;
|
|
28
30
|
onTimelineScaleUpdate: (_scale: number) => void;
|
|
29
|
-
videoCatalogVariants: import('vue').ComputedRef<import('
|
|
30
|
-
panelAudioAssets: import('vue').ComputedRef<import('
|
|
31
|
-
panelSfxAssets: import('vue').ComputedRef<import('
|
|
31
|
+
videoCatalogVariants: import('vue').ComputedRef<import('../../types/videoCompose').ComposeSegmentClipAssets[]>;
|
|
32
|
+
panelAudioAssets: import('vue').ComputedRef<import('../../types/videoCompose').BgmItem[]>;
|
|
33
|
+
panelSfxAssets: import('vue').ComputedRef<import('../../types/videoCompose').BgmItem[]>;
|
|
32
34
|
panelTextTemplates: import('vue').ComputedRef<import('..').TextTemplateItem[]>;
|
|
33
|
-
|
|
34
|
-
onToggleCatalogLike: (variant: import('..').ComposeSegmentClipAssets) => void;
|
|
35
|
+
onToggleCatalogLike: (variant: import('../../types/videoCompose').ComposeSegmentClipAssets) => void;
|
|
35
36
|
onFancyUploaded: (file: File) => Promise<void>;
|
|
36
37
|
onSfxUploaded: (payload: import('./createComposeEditorState').ComposeBgmUploadResult) => Promise<void>;
|
|
37
38
|
catalogPreviewActive: import('vue').ComputedRef<boolean>;
|
|
38
|
-
previewOverrideClips: import('vue').ComputedRef<import('
|
|
39
|
+
previewOverrideClips: import('vue').ComputedRef<import('../../types/videoCompose').VideoClipItem[] | null>;
|
|
39
40
|
previewCatalogLabel: import('vue').ComputedRef<string>;
|
|
40
41
|
timelineClipUrls: import('vue').ComputedRef<Set<string>>;
|
|
41
|
-
catalogPreviewComposeConfig: import('vue').ComputedRef<import('../../types/
|
|
42
|
-
onCatalogPreview: (variant: import('
|
|
42
|
+
catalogPreviewComposeConfig: import('vue').ComputedRef<import('../../types/videoCompose').ComposeConfig>;
|
|
43
|
+
onCatalogPreview: (variant: import('../../types/videoCompose').ComposeSegmentClipAssets) => void;
|
|
43
44
|
clearCatalogPreview: () => void;
|
|
44
|
-
onRemoveCatalogVariant: (variant: import('
|
|
45
|
+
onRemoveCatalogVariant: (variant: import('../../types/videoCompose').ComposeSegmentClipAssets) => Promise<void>;
|
|
45
46
|
onTimelineDropCatalogClip: (payload: {
|
|
46
|
-
variant: import('
|
|
47
|
+
variant: import('../../types/videoCompose').ComposeSegmentClipAssets;
|
|
47
48
|
startTime: number;
|
|
48
49
|
}) => Promise<void>;
|
|
49
50
|
onTimelineDropAudioAsset: (payload: {
|
|
50
|
-
item: import('
|
|
51
|
+
item: import('../../types/videoCompose').BgmItem;
|
|
51
52
|
startTime: number;
|
|
52
53
|
}) => void;
|
|
53
54
|
onTimelineDropSubtitleAsset: (payload: {
|
|
@@ -64,6 +65,7 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
64
65
|
onUploadAudioClick: () => void;
|
|
65
66
|
onUploadSfxClick: () => void;
|
|
66
67
|
onUploadFancyClick: () => void;
|
|
68
|
+
onSelectionChanged: (ids: string[]) => void;
|
|
67
69
|
fontPopoverOpen: import('vue').Ref<"style" | "family" | null, "style" | "family" | null>;
|
|
68
70
|
fontFamilyDropdownStyle: import('vue').ComputedRef<import('vue').CSSProperties>;
|
|
69
71
|
fontStyleDropdownStyle: import('vue').ComputedRef<import('vue').CSSProperties>;
|
|
@@ -84,11 +86,11 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
84
86
|
onFontOptionSelect: (fontFamily: string) => void;
|
|
85
87
|
onStyleOptionSelect: (key: string) => void;
|
|
86
88
|
onVideoVolumeChange: (db: number | null) => void;
|
|
87
|
-
onBeautyChange: (next: import('../../types/
|
|
89
|
+
onBeautyChange: (next: import('../../types/videoCompose').BeautyParams) => void;
|
|
88
90
|
onBgmVolumeChange: (db: number | null) => void;
|
|
89
91
|
onVideoPlaybackRateChange: (rate: number) => void;
|
|
90
92
|
onAudioPlaybackRateChange: (rate: number) => void;
|
|
91
|
-
onSubtitleStyleChange: (style: import('../../types/
|
|
93
|
+
onSubtitleStyleChange: (style: import('../../types/videoCompose').SubtitleStyleConfig) => void;
|
|
92
94
|
onSubtitleTextChange: (payload: import('../sidebar/VideoComposeSidebar.vue').SubtitleTextEditPayload) => void;
|
|
93
95
|
onSubtitleTextCommit: (payload: import('../sidebar/VideoComposeSidebar.vue').SubtitleTextEditPayload) => void;
|
|
94
96
|
onSelectSubtitleClip: (clipId: string) => void;
|
|
@@ -109,7 +111,6 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
109
111
|
onSelectTextClip: (clipId: string) => void;
|
|
110
112
|
onSubtitlePositionChange: (commit: import('../../hooks/useVideoComposeSubtitleAdjust').SubtitleAdjustCommit) => void;
|
|
111
113
|
onIsAdjustingUpdate: (next: boolean) => void;
|
|
112
|
-
onSelectionChanged: (ids: string[]) => void;
|
|
113
114
|
onInspectTrack: (trackType: string) => void;
|
|
114
115
|
onTimelinePlay: () => void;
|
|
115
116
|
onTimelinePause: () => void;
|
|
@@ -124,17 +125,17 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
124
125
|
topGridStyle: import('vue').ComputedRef<import('vue').CSSProperties>;
|
|
125
126
|
onSplitPointerDown: (event: PointerEvent, axis: "left" | "right" | "timeline") => void;
|
|
126
127
|
playerRef: import('vue').Ref<import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
127
|
-
videoClips: import('
|
|
128
|
-
overrideClips?: import('
|
|
128
|
+
videoClips: import('../../types/videoCompose').VideoClipItem[];
|
|
129
|
+
overrideClips?: import('../../types/videoCompose').VideoClipItem[] | null;
|
|
129
130
|
catalogPreviewActive?: boolean;
|
|
130
131
|
catalogPreviewLabel?: string;
|
|
131
|
-
audioClips?: import('../../types/
|
|
132
|
-
composeConfig: import('../../types/
|
|
132
|
+
audioClips?: import('../../types/videoCompose').PreviewAudioClip[];
|
|
133
|
+
composeConfig: import('../../types/videoCompose').ComposeConfig;
|
|
133
134
|
durationSec: number;
|
|
134
135
|
showSubtitles: boolean;
|
|
135
|
-
visiblePreviewSubtitles: import('../../types/
|
|
136
|
-
adjustPreviewSubtitles: import('../../types/
|
|
137
|
-
subtitleStyle: import('../../types/
|
|
136
|
+
visiblePreviewSubtitles: import('../../types/videoCompose').SubtitleItem[];
|
|
137
|
+
adjustPreviewSubtitles: import('../../types/videoCompose').SubtitleItem[];
|
|
138
|
+
subtitleStyle: import('../../types/videoCompose').SubtitleStyleConfig;
|
|
138
139
|
textClips?: import('../../types/videoCompose').ComposeTextOverlayClip[];
|
|
139
140
|
selectedTextClipId?: string | null;
|
|
140
141
|
readonly?: boolean;
|
|
@@ -274,17 +275,17 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
274
275
|
M: {};
|
|
275
276
|
Defaults: {};
|
|
276
277
|
}, Readonly<{
|
|
277
|
-
videoClips: import('
|
|
278
|
-
overrideClips?: import('
|
|
278
|
+
videoClips: import('../../types/videoCompose').VideoClipItem[];
|
|
279
|
+
overrideClips?: import('../../types/videoCompose').VideoClipItem[] | null;
|
|
279
280
|
catalogPreviewActive?: boolean;
|
|
280
281
|
catalogPreviewLabel?: string;
|
|
281
|
-
audioClips?: import('../../types/
|
|
282
|
-
composeConfig: import('../../types/
|
|
282
|
+
audioClips?: import('../../types/videoCompose').PreviewAudioClip[];
|
|
283
|
+
composeConfig: import('../../types/videoCompose').ComposeConfig;
|
|
283
284
|
durationSec: number;
|
|
284
285
|
showSubtitles: boolean;
|
|
285
|
-
visiblePreviewSubtitles: import('../../types/
|
|
286
|
-
adjustPreviewSubtitles: import('../../types/
|
|
287
|
-
subtitleStyle: import('../../types/
|
|
286
|
+
visiblePreviewSubtitles: import('../../types/videoCompose').SubtitleItem[];
|
|
287
|
+
adjustPreviewSubtitles: import('../../types/videoCompose').SubtitleItem[];
|
|
288
|
+
subtitleStyle: import('../../types/videoCompose').SubtitleStyleConfig;
|
|
288
289
|
textClips?: import('../../types/videoCompose').ComposeTextOverlayClip[];
|
|
289
290
|
selectedTextClipId?: string | null;
|
|
290
291
|
readonly?: boolean;
|
|
@@ -340,17 +341,17 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
340
341
|
height: number;
|
|
341
342
|
} | null;
|
|
342
343
|
}, {}, {}, {}, {}> | null, import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
343
|
-
videoClips: import('
|
|
344
|
-
overrideClips?: import('
|
|
344
|
+
videoClips: import('../../types/videoCompose').VideoClipItem[];
|
|
345
|
+
overrideClips?: import('../../types/videoCompose').VideoClipItem[] | null;
|
|
345
346
|
catalogPreviewActive?: boolean;
|
|
346
347
|
catalogPreviewLabel?: string;
|
|
347
|
-
audioClips?: import('../../types/
|
|
348
|
-
composeConfig: import('../../types/
|
|
348
|
+
audioClips?: import('../../types/videoCompose').PreviewAudioClip[];
|
|
349
|
+
composeConfig: import('../../types/videoCompose').ComposeConfig;
|
|
349
350
|
durationSec: number;
|
|
350
351
|
showSubtitles: boolean;
|
|
351
|
-
visiblePreviewSubtitles: import('../../types/
|
|
352
|
-
adjustPreviewSubtitles: import('../../types/
|
|
353
|
-
subtitleStyle: import('../../types/
|
|
352
|
+
visiblePreviewSubtitles: import('../../types/videoCompose').SubtitleItem[];
|
|
353
|
+
adjustPreviewSubtitles: import('../../types/videoCompose').SubtitleItem[];
|
|
354
|
+
subtitleStyle: import('../../types/videoCompose').SubtitleStyleConfig;
|
|
354
355
|
textClips?: import('../../types/videoCompose').ComposeTextOverlayClip[];
|
|
355
356
|
selectedTextClipId?: string | null;
|
|
356
357
|
readonly?: boolean;
|
|
@@ -490,17 +491,17 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
490
491
|
M: {};
|
|
491
492
|
Defaults: {};
|
|
492
493
|
}, Readonly<{
|
|
493
|
-
videoClips: import('
|
|
494
|
-
overrideClips?: import('
|
|
494
|
+
videoClips: import('../../types/videoCompose').VideoClipItem[];
|
|
495
|
+
overrideClips?: import('../../types/videoCompose').VideoClipItem[] | null;
|
|
495
496
|
catalogPreviewActive?: boolean;
|
|
496
497
|
catalogPreviewLabel?: string;
|
|
497
|
-
audioClips?: import('../../types/
|
|
498
|
-
composeConfig: import('../../types/
|
|
498
|
+
audioClips?: import('../../types/videoCompose').PreviewAudioClip[];
|
|
499
|
+
composeConfig: import('../../types/videoCompose').ComposeConfig;
|
|
499
500
|
durationSec: number;
|
|
500
501
|
showSubtitles: boolean;
|
|
501
|
-
visiblePreviewSubtitles: import('../../types/
|
|
502
|
-
adjustPreviewSubtitles: import('../../types/
|
|
503
|
-
subtitleStyle: import('../../types/
|
|
502
|
+
visiblePreviewSubtitles: import('../../types/videoCompose').SubtitleItem[];
|
|
503
|
+
adjustPreviewSubtitles: import('../../types/videoCompose').SubtitleItem[];
|
|
504
|
+
subtitleStyle: import('../../types/videoCompose').SubtitleStyleConfig;
|
|
504
505
|
textClips?: import('../../types/videoCompose').ComposeTextOverlayClip[];
|
|
505
506
|
selectedTextClipId?: string | null;
|
|
506
507
|
readonly?: boolean;
|
|
@@ -561,7 +562,7 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
561
562
|
$data: {};
|
|
562
563
|
$props: {
|
|
563
564
|
readonly videoVolume: number | null;
|
|
564
|
-
readonly beauty: import('../../types/
|
|
565
|
+
readonly beauty: import('../../types/videoCompose').BeautyParams;
|
|
565
566
|
readonly videoVolumeLabel?: string | undefined;
|
|
566
567
|
readonly audioVolumeLabel?: string | undefined;
|
|
567
568
|
readonly bgmVolume: number | null;
|
|
@@ -570,7 +571,7 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
570
571
|
readonly audioClipCount: number;
|
|
571
572
|
readonly fontLabel: string;
|
|
572
573
|
readonly styleLabel: string;
|
|
573
|
-
readonly subtitleStyle: import('../../types/
|
|
574
|
+
readonly subtitleStyle: import('../../types/videoCompose').SubtitleStyleConfig;
|
|
574
575
|
readonly inspectorKind?: (import('../sidebar/VideoComposeSidebar.vue').ComposeInspectorKind | null) | undefined;
|
|
575
576
|
readonly frameAspect: import('../../types/videoCompose').ComposeFrameAspect;
|
|
576
577
|
readonly videoFrame: import('../../types/videoCompose').VideoFrameTransform;
|
|
@@ -581,12 +582,12 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
581
582
|
readonly hasSelectedSubtitle?: boolean | undefined;
|
|
582
583
|
readonly "onUpdate:subtitle-text"?: ((payload: import('../sidebar/VideoComposeSidebar.vue').SubtitleTextEditPayload) => any) | undefined;
|
|
583
584
|
readonly "onUpdate:video-frame"?: ((patch: Partial<import('../../types/videoCompose').VideoFrameTransform>) => any) | undefined;
|
|
584
|
-
readonly "onUpdate:beauty"?: ((value: import('../../types/
|
|
585
|
+
readonly "onUpdate:beauty"?: ((value: import('../../types/videoCompose').BeautyParams) => any) | undefined;
|
|
585
586
|
readonly "onUpdate:videoVolume"?: ((value: number | null) => any) | undefined;
|
|
586
587
|
readonly "onUpdate:bgmVolume"?: ((value: number | null) => any) | undefined;
|
|
587
588
|
readonly "onUpdate:videoPlaybackRate"?: ((value: number) => any) | undefined;
|
|
588
589
|
readonly "onUpdate:audioPlaybackRate"?: ((value: number) => any) | undefined;
|
|
589
|
-
readonly "onUpdate:subtitleStyle"?: ((value: import('../../types/
|
|
590
|
+
readonly "onUpdate:subtitleStyle"?: ((value: import('../../types/videoCompose').SubtitleStyleConfig) => any) | undefined;
|
|
590
591
|
readonly "onCommit:subtitle-text"?: ((payload: import('../sidebar/VideoComposeSidebar.vue').SubtitleTextEditPayload) => any) | undefined;
|
|
591
592
|
readonly "onUpdate:text-clip-props"?: ((patch: {
|
|
592
593
|
text?: string;
|
|
@@ -610,7 +611,7 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
610
611
|
$root: import('vue').ComponentPublicInstance | null;
|
|
611
612
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
612
613
|
$host: Element | null;
|
|
613
|
-
$emit: ((event: "update:subtitle-text", payload: import('../sidebar/VideoComposeSidebar.vue').SubtitleTextEditPayload) => void) & ((event: "update:video-frame", patch: Partial<import('../../types/videoCompose').VideoFrameTransform>) => void) & ((event: "update:beauty", value: import('../../types/
|
|
614
|
+
$emit: ((event: "update:subtitle-text", payload: import('../sidebar/VideoComposeSidebar.vue').SubtitleTextEditPayload) => void) & ((event: "update:video-frame", patch: Partial<import('../../types/videoCompose').VideoFrameTransform>) => void) & ((event: "update:beauty", value: import('../../types/videoCompose').BeautyParams) => void) & ((event: "update:videoVolume", value: number | null) => void) & ((event: "update:bgmVolume", value: number | null) => void) & ((event: "update:videoPlaybackRate", value: number) => void) & ((event: "update:audioPlaybackRate", value: number) => void) & ((event: "update:subtitleStyle", value: import('../../types/videoCompose').SubtitleStyleConfig) => void) & ((event: "commit:subtitle-text", payload: import('../sidebar/VideoComposeSidebar.vue').SubtitleTextEditPayload) => void) & ((event: "update:text-clip-props", patch: {
|
|
614
615
|
text?: string;
|
|
615
616
|
fontSize?: number;
|
|
616
617
|
color?: string;
|
|
@@ -618,7 +619,7 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
618
619
|
$el: HTMLElement;
|
|
619
620
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
620
621
|
videoVolume: number | null;
|
|
621
|
-
beauty: import('../../types/
|
|
622
|
+
beauty: import('../../types/videoCompose').BeautyParams;
|
|
622
623
|
videoVolumeLabel?: string;
|
|
623
624
|
audioVolumeLabel?: string;
|
|
624
625
|
bgmVolume: number | null;
|
|
@@ -627,7 +628,7 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
627
628
|
audioClipCount: number;
|
|
628
629
|
fontLabel: string;
|
|
629
630
|
styleLabel: string;
|
|
630
|
-
subtitleStyle: import('../../types/
|
|
631
|
+
subtitleStyle: import('../../types/videoCompose').SubtitleStyleConfig;
|
|
631
632
|
inspectorKind?: import('../sidebar/VideoComposeSidebar.vue').ComposeInspectorKind | null;
|
|
632
633
|
frameAspect: import('../../types/videoCompose').ComposeFrameAspect;
|
|
633
634
|
videoFrame: import('../../types/videoCompose').VideoFrameTransform;
|
|
@@ -639,12 +640,12 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
639
640
|
}> & Readonly<{
|
|
640
641
|
"onUpdate:subtitle-text"?: ((payload: import('../sidebar/VideoComposeSidebar.vue').SubtitleTextEditPayload) => any) | undefined;
|
|
641
642
|
"onUpdate:video-frame"?: ((patch: Partial<import('../../types/videoCompose').VideoFrameTransform>) => any) | undefined;
|
|
642
|
-
"onUpdate:beauty"?: ((value: import('../../types/
|
|
643
|
+
"onUpdate:beauty"?: ((value: import('../../types/videoCompose').BeautyParams) => any) | undefined;
|
|
643
644
|
"onUpdate:videoVolume"?: ((value: number | null) => any) | undefined;
|
|
644
645
|
"onUpdate:bgmVolume"?: ((value: number | null) => any) | undefined;
|
|
645
646
|
"onUpdate:videoPlaybackRate"?: ((value: number) => any) | undefined;
|
|
646
647
|
"onUpdate:audioPlaybackRate"?: ((value: number) => any) | undefined;
|
|
647
|
-
"onUpdate:subtitleStyle"?: ((value: import('../../types/
|
|
648
|
+
"onUpdate:subtitleStyle"?: ((value: import('../../types/videoCompose').SubtitleStyleConfig) => any) | undefined;
|
|
648
649
|
"onCommit:subtitle-text"?: ((payload: import('../sidebar/VideoComposeSidebar.vue').SubtitleTextEditPayload) => any) | undefined;
|
|
649
650
|
"onUpdate:text-clip-props"?: ((patch: {
|
|
650
651
|
text?: string;
|
|
@@ -660,12 +661,12 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
660
661
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
661
662
|
"update:subtitle-text": (payload: import('../sidebar/VideoComposeSidebar.vue').SubtitleTextEditPayload) => any;
|
|
662
663
|
"update:video-frame": (patch: Partial<import('../../types/videoCompose').VideoFrameTransform>) => any;
|
|
663
|
-
"update:beauty": (value: import('../../types/
|
|
664
|
+
"update:beauty": (value: import('../../types/videoCompose').BeautyParams) => any;
|
|
664
665
|
"update:videoVolume": (value: number | null) => any;
|
|
665
666
|
"update:bgmVolume": (value: number | null) => any;
|
|
666
667
|
"update:videoPlaybackRate": (value: number) => any;
|
|
667
668
|
"update:audioPlaybackRate": (value: number) => any;
|
|
668
|
-
"update:subtitleStyle": (value: import('../../types/
|
|
669
|
+
"update:subtitleStyle": (value: import('../../types/videoCompose').SubtitleStyleConfig) => any;
|
|
669
670
|
"commit:subtitle-text": (payload: import('../sidebar/VideoComposeSidebar.vue').SubtitleTextEditPayload) => any;
|
|
670
671
|
"update:text-clip-props": (patch: {
|
|
671
672
|
text?: string;
|
|
@@ -697,7 +698,7 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
697
698
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
698
699
|
} & Readonly<{}> & Omit<Readonly<{
|
|
699
700
|
videoVolume: number | null;
|
|
700
|
-
beauty: import('../../types/
|
|
701
|
+
beauty: import('../../types/videoCompose').BeautyParams;
|
|
701
702
|
videoVolumeLabel?: string;
|
|
702
703
|
audioVolumeLabel?: string;
|
|
703
704
|
bgmVolume: number | null;
|
|
@@ -706,7 +707,7 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
706
707
|
audioClipCount: number;
|
|
707
708
|
fontLabel: string;
|
|
708
709
|
styleLabel: string;
|
|
709
|
-
subtitleStyle: import('../../types/
|
|
710
|
+
subtitleStyle: import('../../types/videoCompose').SubtitleStyleConfig;
|
|
710
711
|
inspectorKind?: import('../sidebar/VideoComposeSidebar.vue').ComposeInspectorKind | null;
|
|
711
712
|
frameAspect: import('../../types/videoCompose').ComposeFrameAspect;
|
|
712
713
|
videoFrame: import('../../types/videoCompose').VideoFrameTransform;
|
|
@@ -718,12 +719,12 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
718
719
|
}> & Readonly<{
|
|
719
720
|
"onUpdate:subtitle-text"?: ((payload: import('../sidebar/VideoComposeSidebar.vue').SubtitleTextEditPayload) => any) | undefined;
|
|
720
721
|
"onUpdate:video-frame"?: ((patch: Partial<import('../../types/videoCompose').VideoFrameTransform>) => any) | undefined;
|
|
721
|
-
"onUpdate:beauty"?: ((value: import('../../types/
|
|
722
|
+
"onUpdate:beauty"?: ((value: import('../../types/videoCompose').BeautyParams) => any) | undefined;
|
|
722
723
|
"onUpdate:videoVolume"?: ((value: number | null) => any) | undefined;
|
|
723
724
|
"onUpdate:bgmVolume"?: ((value: number | null) => any) | undefined;
|
|
724
725
|
"onUpdate:videoPlaybackRate"?: ((value: number) => any) | undefined;
|
|
725
726
|
"onUpdate:audioPlaybackRate"?: ((value: number) => any) | undefined;
|
|
726
|
-
"onUpdate:subtitleStyle"?: ((value: import('../../types/
|
|
727
|
+
"onUpdate:subtitleStyle"?: ((value: import('../../types/videoCompose').SubtitleStyleConfig) => any) | undefined;
|
|
727
728
|
"onCommit:subtitle-text"?: ((payload: import('../sidebar/VideoComposeSidebar.vue').SubtitleTextEditPayload) => any) | undefined;
|
|
728
729
|
"onUpdate:text-clip-props"?: ((patch: {
|
|
729
730
|
text?: string;
|
|
@@ -748,7 +749,7 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
748
749
|
$data: {};
|
|
749
750
|
$props: {
|
|
750
751
|
readonly videoVolume: number | null;
|
|
751
|
-
readonly beauty: import('../../types/
|
|
752
|
+
readonly beauty: import('../../types/videoCompose').BeautyParams;
|
|
752
753
|
readonly videoVolumeLabel?: string | undefined;
|
|
753
754
|
readonly audioVolumeLabel?: string | undefined;
|
|
754
755
|
readonly bgmVolume: number | null;
|
|
@@ -757,7 +758,7 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
757
758
|
readonly audioClipCount: number;
|
|
758
759
|
readonly fontLabel: string;
|
|
759
760
|
readonly styleLabel: string;
|
|
760
|
-
readonly subtitleStyle: import('../../types/
|
|
761
|
+
readonly subtitleStyle: import('../../types/videoCompose').SubtitleStyleConfig;
|
|
761
762
|
readonly inspectorKind?: (import('../sidebar/VideoComposeSidebar.vue').ComposeInspectorKind | null) | undefined;
|
|
762
763
|
readonly frameAspect: import('../../types/videoCompose').ComposeFrameAspect;
|
|
763
764
|
readonly videoFrame: import('../../types/videoCompose').VideoFrameTransform;
|
|
@@ -768,12 +769,12 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
768
769
|
readonly hasSelectedSubtitle?: boolean | undefined;
|
|
769
770
|
readonly "onUpdate:subtitle-text"?: ((payload: import('../sidebar/VideoComposeSidebar.vue').SubtitleTextEditPayload) => any) | undefined;
|
|
770
771
|
readonly "onUpdate:video-frame"?: ((patch: Partial<import('../../types/videoCompose').VideoFrameTransform>) => any) | undefined;
|
|
771
|
-
readonly "onUpdate:beauty"?: ((value: import('../../types/
|
|
772
|
+
readonly "onUpdate:beauty"?: ((value: import('../../types/videoCompose').BeautyParams) => any) | undefined;
|
|
772
773
|
readonly "onUpdate:videoVolume"?: ((value: number | null) => any) | undefined;
|
|
773
774
|
readonly "onUpdate:bgmVolume"?: ((value: number | null) => any) | undefined;
|
|
774
775
|
readonly "onUpdate:videoPlaybackRate"?: ((value: number) => any) | undefined;
|
|
775
776
|
readonly "onUpdate:audioPlaybackRate"?: ((value: number) => any) | undefined;
|
|
776
|
-
readonly "onUpdate:subtitleStyle"?: ((value: import('../../types/
|
|
777
|
+
readonly "onUpdate:subtitleStyle"?: ((value: import('../../types/videoCompose').SubtitleStyleConfig) => any) | undefined;
|
|
777
778
|
readonly "onCommit:subtitle-text"?: ((payload: import('../sidebar/VideoComposeSidebar.vue').SubtitleTextEditPayload) => any) | undefined;
|
|
778
779
|
readonly "onUpdate:text-clip-props"?: ((patch: {
|
|
779
780
|
text?: string;
|
|
@@ -797,7 +798,7 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
797
798
|
$root: import('vue').ComponentPublicInstance | null;
|
|
798
799
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
799
800
|
$host: Element | null;
|
|
800
|
-
$emit: ((event: "update:subtitle-text", payload: import('../sidebar/VideoComposeSidebar.vue').SubtitleTextEditPayload) => void) & ((event: "update:video-frame", patch: Partial<import('../../types/videoCompose').VideoFrameTransform>) => void) & ((event: "update:beauty", value: import('../../types/
|
|
801
|
+
$emit: ((event: "update:subtitle-text", payload: import('../sidebar/VideoComposeSidebar.vue').SubtitleTextEditPayload) => void) & ((event: "update:video-frame", patch: Partial<import('../../types/videoCompose').VideoFrameTransform>) => void) & ((event: "update:beauty", value: import('../../types/videoCompose').BeautyParams) => void) & ((event: "update:videoVolume", value: number | null) => void) & ((event: "update:bgmVolume", value: number | null) => void) & ((event: "update:videoPlaybackRate", value: number) => void) & ((event: "update:audioPlaybackRate", value: number) => void) & ((event: "update:subtitleStyle", value: import('../../types/videoCompose').SubtitleStyleConfig) => void) & ((event: "commit:subtitle-text", payload: import('../sidebar/VideoComposeSidebar.vue').SubtitleTextEditPayload) => void) & ((event: "update:text-clip-props", patch: {
|
|
801
802
|
text?: string;
|
|
802
803
|
fontSize?: number;
|
|
803
804
|
color?: string;
|
|
@@ -805,7 +806,7 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
805
806
|
$el: HTMLElement;
|
|
806
807
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
807
808
|
videoVolume: number | null;
|
|
808
|
-
beauty: import('../../types/
|
|
809
|
+
beauty: import('../../types/videoCompose').BeautyParams;
|
|
809
810
|
videoVolumeLabel?: string;
|
|
810
811
|
audioVolumeLabel?: string;
|
|
811
812
|
bgmVolume: number | null;
|
|
@@ -814,7 +815,7 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
814
815
|
audioClipCount: number;
|
|
815
816
|
fontLabel: string;
|
|
816
817
|
styleLabel: string;
|
|
817
|
-
subtitleStyle: import('../../types/
|
|
818
|
+
subtitleStyle: import('../../types/videoCompose').SubtitleStyleConfig;
|
|
818
819
|
inspectorKind?: import('../sidebar/VideoComposeSidebar.vue').ComposeInspectorKind | null;
|
|
819
820
|
frameAspect: import('../../types/videoCompose').ComposeFrameAspect;
|
|
820
821
|
videoFrame: import('../../types/videoCompose').VideoFrameTransform;
|
|
@@ -826,12 +827,12 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
826
827
|
}> & Readonly<{
|
|
827
828
|
"onUpdate:subtitle-text"?: ((payload: import('../sidebar/VideoComposeSidebar.vue').SubtitleTextEditPayload) => any) | undefined;
|
|
828
829
|
"onUpdate:video-frame"?: ((patch: Partial<import('../../types/videoCompose').VideoFrameTransform>) => any) | undefined;
|
|
829
|
-
"onUpdate:beauty"?: ((value: import('../../types/
|
|
830
|
+
"onUpdate:beauty"?: ((value: import('../../types/videoCompose').BeautyParams) => any) | undefined;
|
|
830
831
|
"onUpdate:videoVolume"?: ((value: number | null) => any) | undefined;
|
|
831
832
|
"onUpdate:bgmVolume"?: ((value: number | null) => any) | undefined;
|
|
832
833
|
"onUpdate:videoPlaybackRate"?: ((value: number) => any) | undefined;
|
|
833
834
|
"onUpdate:audioPlaybackRate"?: ((value: number) => any) | undefined;
|
|
834
|
-
"onUpdate:subtitleStyle"?: ((value: import('../../types/
|
|
835
|
+
"onUpdate:subtitleStyle"?: ((value: import('../../types/videoCompose').SubtitleStyleConfig) => any) | undefined;
|
|
835
836
|
"onCommit:subtitle-text"?: ((payload: import('../sidebar/VideoComposeSidebar.vue').SubtitleTextEditPayload) => any) | undefined;
|
|
836
837
|
"onUpdate:text-clip-props"?: ((patch: {
|
|
837
838
|
text?: string;
|
|
@@ -847,12 +848,12 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
847
848
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
848
849
|
"update:subtitle-text": (payload: import('../sidebar/VideoComposeSidebar.vue').SubtitleTextEditPayload) => any;
|
|
849
850
|
"update:video-frame": (patch: Partial<import('../../types/videoCompose').VideoFrameTransform>) => any;
|
|
850
|
-
"update:beauty": (value: import('../../types/
|
|
851
|
+
"update:beauty": (value: import('../../types/videoCompose').BeautyParams) => any;
|
|
851
852
|
"update:videoVolume": (value: number | null) => any;
|
|
852
853
|
"update:bgmVolume": (value: number | null) => any;
|
|
853
854
|
"update:videoPlaybackRate": (value: number) => any;
|
|
854
855
|
"update:audioPlaybackRate": (value: number) => any;
|
|
855
|
-
"update:subtitleStyle": (value: import('../../types/
|
|
856
|
+
"update:subtitleStyle": (value: import('../../types/videoCompose').SubtitleStyleConfig) => any;
|
|
856
857
|
"commit:subtitle-text": (payload: import('../sidebar/VideoComposeSidebar.vue').SubtitleTextEditPayload) => any;
|
|
857
858
|
"update:text-clip-props": (patch: {
|
|
858
859
|
text?: string;
|
|
@@ -884,7 +885,7 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
884
885
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
885
886
|
} & Readonly<{}> & Omit<Readonly<{
|
|
886
887
|
videoVolume: number | null;
|
|
887
|
-
beauty: import('../../types/
|
|
888
|
+
beauty: import('../../types/videoCompose').BeautyParams;
|
|
888
889
|
videoVolumeLabel?: string;
|
|
889
890
|
audioVolumeLabel?: string;
|
|
890
891
|
bgmVolume: number | null;
|
|
@@ -893,7 +894,7 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
893
894
|
audioClipCount: number;
|
|
894
895
|
fontLabel: string;
|
|
895
896
|
styleLabel: string;
|
|
896
|
-
subtitleStyle: import('../../types/
|
|
897
|
+
subtitleStyle: import('../../types/videoCompose').SubtitleStyleConfig;
|
|
897
898
|
inspectorKind?: import('../sidebar/VideoComposeSidebar.vue').ComposeInspectorKind | null;
|
|
898
899
|
frameAspect: import('../../types/videoCompose').ComposeFrameAspect;
|
|
899
900
|
videoFrame: import('../../types/videoCompose').VideoFrameTransform;
|
|
@@ -905,12 +906,12 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
905
906
|
}> & Readonly<{
|
|
906
907
|
"onUpdate:subtitle-text"?: ((payload: import('../sidebar/VideoComposeSidebar.vue').SubtitleTextEditPayload) => any) | undefined;
|
|
907
908
|
"onUpdate:video-frame"?: ((patch: Partial<import('../../types/videoCompose').VideoFrameTransform>) => any) | undefined;
|
|
908
|
-
"onUpdate:beauty"?: ((value: import('../../types/
|
|
909
|
+
"onUpdate:beauty"?: ((value: import('../../types/videoCompose').BeautyParams) => any) | undefined;
|
|
909
910
|
"onUpdate:videoVolume"?: ((value: number | null) => any) | undefined;
|
|
910
911
|
"onUpdate:bgmVolume"?: ((value: number | null) => any) | undefined;
|
|
911
912
|
"onUpdate:videoPlaybackRate"?: ((value: number) => any) | undefined;
|
|
912
913
|
"onUpdate:audioPlaybackRate"?: ((value: number) => any) | undefined;
|
|
913
|
-
"onUpdate:subtitleStyle"?: ((value: import('../../types/
|
|
914
|
+
"onUpdate:subtitleStyle"?: ((value: import('../../types/videoCompose').SubtitleStyleConfig) => any) | undefined;
|
|
914
915
|
"onCommit:subtitle-text"?: ((payload: import('../sidebar/VideoComposeSidebar.vue').SubtitleTextEditPayload) => any) | undefined;
|
|
915
916
|
"onUpdate:text-clip-props"?: ((patch: {
|
|
916
917
|
text?: string;
|
|
@@ -937,7 +938,7 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
937
938
|
trackId: string;
|
|
938
939
|
startTime: number;
|
|
939
940
|
}) => any) | undefined;
|
|
940
|
-
"onUpdate:tracks"?: ((value: import('
|
|
941
|
+
"onUpdate:tracks"?: ((value: import('../../types/videoCompose').ComposeTrack[]) => any) | undefined;
|
|
941
942
|
"onSelection-changed"?: ((selectedClipIds: string[]) => any) | undefined;
|
|
942
943
|
"onTime-update"?: ((timeSec: number) => any) | undefined;
|
|
943
944
|
"onPlayback-play"?: (() => any) | undefined;
|
|
@@ -945,11 +946,11 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
945
946
|
"onPlayback-seek"?: ((timeSec: number) => any) | undefined;
|
|
946
947
|
"onPlayback-ratechange"?: ((rate: number) => any) | undefined;
|
|
947
948
|
"onDrop-catalog-clip"?: ((payload: {
|
|
948
|
-
variant: import('
|
|
949
|
+
variant: import('../../types/videoCompose').ComposeSegmentClipAssets;
|
|
949
950
|
startTime: number;
|
|
950
951
|
}) => any) | undefined;
|
|
951
952
|
"onDrop-audio-asset"?: ((payload: {
|
|
952
|
-
item: import('
|
|
953
|
+
item: import('../../types/videoCompose').BgmItem;
|
|
953
954
|
startTime: number;
|
|
954
955
|
}) => any) | undefined;
|
|
955
956
|
"onDrop-subtitle-asset"?: ((payload: {
|
|
@@ -978,11 +979,16 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
978
979
|
durationSec: number;
|
|
979
980
|
taskId?: string;
|
|
980
981
|
}, startTime: number) => string;
|
|
981
|
-
addAudioClip: (bgm: import('
|
|
982
|
+
addAudioClip: (bgm: import('../../types/videoCompose').BgmItem, startTime?: number) => string;
|
|
982
983
|
addSubtitleClip: (options?: {
|
|
983
984
|
text?: string;
|
|
984
985
|
startTime?: number;
|
|
985
986
|
durationSec?: number;
|
|
987
|
+
fontFamily?: string;
|
|
988
|
+
fontSize?: number;
|
|
989
|
+
color?: string;
|
|
990
|
+
bold?: boolean;
|
|
991
|
+
italic?: boolean;
|
|
986
992
|
}) => string;
|
|
987
993
|
addTextClip: (options: import('../timeline/VideoComposeTimeline.vue').AddTextClipOptions) => string;
|
|
988
994
|
selectClipById: (clipId: string) => void;
|
|
@@ -991,12 +997,12 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
991
997
|
end: number;
|
|
992
998
|
text: string;
|
|
993
999
|
}>) => void;
|
|
994
|
-
exportTracks: () => import('
|
|
995
|
-
importTracks: (tracks: import('
|
|
996
|
-
bootstrapMainFromClips: (clips: import('
|
|
1000
|
+
exportTracks: () => import('../../types/videoCompose').ComposeTrack[];
|
|
1001
|
+
importTracks: (tracks: import('../../types/videoCompose').ComposeTrack[]) => void;
|
|
1002
|
+
bootstrapMainFromClips: (clips: import('../../types/videoCompose').VideoClipItem[]) => void;
|
|
997
1003
|
whenReady: () => Promise<void>;
|
|
998
1004
|
getMainVideoUrlsInOrder: () => string[];
|
|
999
|
-
getMainVideoClips: () => import('
|
|
1005
|
+
getMainVideoClips: () => import('../../types/videoCompose').VideoClipItem[];
|
|
1000
1006
|
ensureSubtitleTrack: () => string;
|
|
1001
1007
|
ensureNextAudioTrack: () => import('../../clip-track').Track;
|
|
1002
1008
|
getCurrentTime: () => number;
|
|
@@ -1026,7 +1032,7 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
1026
1032
|
trackId: string;
|
|
1027
1033
|
startTime: number;
|
|
1028
1034
|
}) => any;
|
|
1029
|
-
"update:tracks": (value: import('
|
|
1035
|
+
"update:tracks": (value: import('../../types/videoCompose').ComposeTrack[]) => any;
|
|
1030
1036
|
"selection-changed": (selectedClipIds: string[]) => any;
|
|
1031
1037
|
"time-update": (timeSec: number) => any;
|
|
1032
1038
|
"playback-play": () => any;
|
|
@@ -1034,11 +1040,11 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
1034
1040
|
"playback-seek": (timeSec: number) => any;
|
|
1035
1041
|
"playback-ratechange": (rate: number) => any;
|
|
1036
1042
|
"drop-catalog-clip": (payload: {
|
|
1037
|
-
variant: import('
|
|
1043
|
+
variant: import('../../types/videoCompose').ComposeSegmentClipAssets;
|
|
1038
1044
|
startTime: number;
|
|
1039
1045
|
}) => any;
|
|
1040
1046
|
"drop-audio-asset": (payload: {
|
|
1041
|
-
item: import('
|
|
1047
|
+
item: import('../../types/videoCompose').BgmItem;
|
|
1042
1048
|
startTime: number;
|
|
1043
1049
|
}) => any;
|
|
1044
1050
|
"drop-subtitle-asset": (payload: {
|
|
@@ -1062,7 +1068,7 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
1062
1068
|
$props: {
|
|
1063
1069
|
readonly operationButtons?: import('../../clip-track').OperationButton[] | undefined;
|
|
1064
1070
|
readonly scaleConfigButtons?: import('../../clip-track/types').ScaleConfigButton[] | undefined;
|
|
1065
|
-
readonly trackTypes?: import('
|
|
1071
|
+
readonly trackTypes?: import('..').TrackTypeConfig | undefined;
|
|
1066
1072
|
readonly clipConfigs?: import('../../clip-track').ClipTypeConfig | undefined;
|
|
1067
1073
|
readonly showToolsBar?: boolean | undefined;
|
|
1068
1074
|
readonly showPlayback?: boolean | undefined;
|
|
@@ -1264,7 +1270,8 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
1264
1270
|
}) => void;
|
|
1265
1271
|
exportAsJSON: () => string;
|
|
1266
1272
|
importFromJSON: (json: string) => boolean;
|
|
1267
|
-
|
|
1273
|
+
canAddTrack: (type: import('../../clip-track').Track["type"]) => boolean;
|
|
1274
|
+
addTrack: (track: import('../../clip-track').Track) => boolean;
|
|
1268
1275
|
removeTrack: (trackId: string) => void;
|
|
1269
1276
|
updateTrack: (trackId: string, updates: Partial<import('../../clip-track').Track>) => void;
|
|
1270
1277
|
getTracks: () => {
|
|
@@ -2556,7 +2563,6 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
2556
2563
|
playbackRates: number[];
|
|
2557
2564
|
trackControlWidth: number;
|
|
2558
2565
|
trackContextMenu: import('../../clip-track').TrackContextMenuConfig;
|
|
2559
|
-
trackTypes: import('../../clip-track/types').TrackTypeConfig;
|
|
2560
2566
|
clipConfigs: import('../../clip-track').ClipTypeConfig;
|
|
2561
2567
|
showToolsBar: boolean;
|
|
2562
2568
|
enableMainTrackMode: boolean;
|
|
@@ -2599,7 +2605,6 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
2599
2605
|
playbackRates: number[];
|
|
2600
2606
|
trackControlWidth: number;
|
|
2601
2607
|
trackContextMenu: import('../../clip-track').TrackContextMenuConfig;
|
|
2602
|
-
trackTypes: import('../../clip-track/types').TrackTypeConfig;
|
|
2603
2608
|
clipConfigs: import('../../clip-track').ClipTypeConfig;
|
|
2604
2609
|
showToolsBar: boolean;
|
|
2605
2610
|
enableMainTrackMode: boolean;
|
|
@@ -2649,7 +2654,7 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
2649
2654
|
onTrackContextMenuSelect?: ((key: string, track: import('../../clip-track').Track, time: number) => any) | undefined;
|
|
2650
2655
|
onClipContextMenuSelect?: ((key: string, clip: any) => any) | undefined;
|
|
2651
2656
|
"onData:changed"?: (() => any) | undefined;
|
|
2652
|
-
}>, "zoomIn" | "zoomOut" | "reset" | "undo" | "redo" | "addTrack" | "removeTrack" | "updateTrack" | "addClip" | "removeClip" | "updateClip" | "selectClip" | "clearSelection" | "setClipPlaybackRate" | "getClipDurationAtRate" | "checkPlaybackRateCollision" | "isPlaying" | "play" | "pause" | "togglePlay" | "seekTo" | "setPlaybackRate" | "setScale" | "setScrollLeft" | "getCurrentTime" | ("minScale" | "maxScale" | "pixelsPerSecond" | "snapThreshold" | "operationButtons" | "scaleConfigButtons" | "locale" | "showPlayback" | "showScaleControl" | "playbackRates" | "trackControlWidth" | "trackContextMenu" | "
|
|
2657
|
+
}>, "zoomIn" | "zoomOut" | "reset" | "undo" | "redo" | "canAddTrack" | "addTrack" | "removeTrack" | "updateTrack" | "addClip" | "removeClip" | "updateClip" | "selectClip" | "clearSelection" | "setClipPlaybackRate" | "getClipDurationAtRate" | "checkPlaybackRateCollision" | "isPlaying" | "play" | "pause" | "togglePlay" | "seekTo" | "setPlaybackRate" | "setScale" | "setScrollLeft" | "getCurrentTime" | ("minScale" | "maxScale" | "pixelsPerSecond" | "snapThreshold" | "operationButtons" | "scaleConfigButtons" | "locale" | "showPlayback" | "showScaleControl" | "playbackRates" | "trackControlWidth" | "trackContextMenu" | "clipConfigs" | "showToolsBar" | "enableMainTrackMode" | "enableCrossTrackDrag" | "fps" | "defaultScale" | "enableSnap" | "clipContextMenu" | "theme") | "registerClipType" | "emitTransitionAdded" | "exportData" | "importData" | "exportAsJSON" | "importFromJSON" | "getTracks" | "getSortedTracks" | "getTrackById" | "getMainTrack" | "getClipById" | "moveClip" | "selectClips" | "getSelectedClips" | "getSelectedClipIds" | "getPlaybackRate" | "getDuration" | "getScale" | "getViewportWidth" | "getScrollLeft" | "disableSnap" | "isSnapEnabled" | "getHistoryState"> & {
|
|
2653
2658
|
reset: () => void;
|
|
2654
2659
|
registerClipType: (type: string, config: any) => void;
|
|
2655
2660
|
emitTransitionAdded: (transitionClip: any, beforeClipId: string, afterClipId: string) => void;
|
|
@@ -2669,7 +2674,8 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
2669
2674
|
}) => void;
|
|
2670
2675
|
exportAsJSON: () => string;
|
|
2671
2676
|
importFromJSON: (json: string) => boolean;
|
|
2672
|
-
|
|
2677
|
+
canAddTrack: (type: import('../../clip-track').Track["type"]) => boolean;
|
|
2678
|
+
addTrack: (track: import('../../clip-track').Track) => boolean;
|
|
2673
2679
|
removeTrack: (trackId: string) => void;
|
|
2674
2680
|
updateTrack: (trackId: string, updates: Partial<import('../../clip-track').Track>) => void;
|
|
2675
2681
|
getTracks: () => {
|
|
@@ -4244,7 +4250,7 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
4244
4250
|
trackId: string;
|
|
4245
4251
|
startTime: number;
|
|
4246
4252
|
}) => any) | undefined;
|
|
4247
|
-
"onUpdate:tracks"?: ((value: import('
|
|
4253
|
+
"onUpdate:tracks"?: ((value: import('../../types/videoCompose').ComposeTrack[]) => any) | undefined;
|
|
4248
4254
|
"onSelection-changed"?: ((selectedClipIds: string[]) => any) | undefined;
|
|
4249
4255
|
"onTime-update"?: ((timeSec: number) => any) | undefined;
|
|
4250
4256
|
"onPlayback-play"?: (() => any) | undefined;
|
|
@@ -4252,11 +4258,11 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
4252
4258
|
"onPlayback-seek"?: ((timeSec: number) => any) | undefined;
|
|
4253
4259
|
"onPlayback-ratechange"?: ((rate: number) => any) | undefined;
|
|
4254
4260
|
"onDrop-catalog-clip"?: ((payload: {
|
|
4255
|
-
variant: import('
|
|
4261
|
+
variant: import('../../types/videoCompose').ComposeSegmentClipAssets;
|
|
4256
4262
|
startTime: number;
|
|
4257
4263
|
}) => any) | undefined;
|
|
4258
4264
|
"onDrop-audio-asset"?: ((payload: {
|
|
4259
|
-
item: import('
|
|
4265
|
+
item: import('../../types/videoCompose').BgmItem;
|
|
4260
4266
|
startTime: number;
|
|
4261
4267
|
}) => any) | undefined;
|
|
4262
4268
|
"onDrop-subtitle-asset"?: ((payload: {
|
|
@@ -4285,11 +4291,16 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
4285
4291
|
durationSec: number;
|
|
4286
4292
|
taskId?: string;
|
|
4287
4293
|
}, startTime: number) => string;
|
|
4288
|
-
addAudioClip: (bgm: import('
|
|
4294
|
+
addAudioClip: (bgm: import('../../types/videoCompose').BgmItem, startTime?: number) => string;
|
|
4289
4295
|
addSubtitleClip: (options?: {
|
|
4290
4296
|
text?: string;
|
|
4291
4297
|
startTime?: number;
|
|
4292
4298
|
durationSec?: number;
|
|
4299
|
+
fontFamily?: string;
|
|
4300
|
+
fontSize?: number;
|
|
4301
|
+
color?: string;
|
|
4302
|
+
bold?: boolean;
|
|
4303
|
+
italic?: boolean;
|
|
4293
4304
|
}) => string;
|
|
4294
4305
|
addTextClip: (options: import('../timeline/VideoComposeTimeline.vue').AddTextClipOptions) => string;
|
|
4295
4306
|
selectClipById: (clipId: string) => void;
|
|
@@ -4298,12 +4309,12 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
4298
4309
|
end: number;
|
|
4299
4310
|
text: string;
|
|
4300
4311
|
}>) => void;
|
|
4301
|
-
exportTracks: () => import('
|
|
4302
|
-
importTracks: (tracks: import('
|
|
4303
|
-
bootstrapMainFromClips: (clips: import('
|
|
4312
|
+
exportTracks: () => import('../../types/videoCompose').ComposeTrack[];
|
|
4313
|
+
importTracks: (tracks: import('../../types/videoCompose').ComposeTrack[]) => void;
|
|
4314
|
+
bootstrapMainFromClips: (clips: import('../../types/videoCompose').VideoClipItem[]) => void;
|
|
4304
4315
|
whenReady: () => Promise<void>;
|
|
4305
4316
|
getMainVideoUrlsInOrder: () => string[];
|
|
4306
|
-
getMainVideoClips: () => import('
|
|
4317
|
+
getMainVideoClips: () => import('../../types/videoCompose').VideoClipItem[];
|
|
4307
4318
|
ensureSubtitleTrack: () => string;
|
|
4308
4319
|
ensureNextAudioTrack: () => import('../../clip-track').Track;
|
|
4309
4320
|
getCurrentTime: () => number;
|
|
@@ -4336,7 +4347,7 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
4336
4347
|
trackId: string;
|
|
4337
4348
|
startTime: number;
|
|
4338
4349
|
}) => any) | undefined;
|
|
4339
|
-
"onUpdate:tracks"?: ((value: import('
|
|
4350
|
+
"onUpdate:tracks"?: ((value: import('../../types/videoCompose').ComposeTrack[]) => any) | undefined;
|
|
4340
4351
|
"onSelection-changed"?: ((selectedClipIds: string[]) => any) | undefined;
|
|
4341
4352
|
"onTime-update"?: ((timeSec: number) => any) | undefined;
|
|
4342
4353
|
"onPlayback-play"?: (() => any) | undefined;
|
|
@@ -4344,11 +4355,11 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
4344
4355
|
"onPlayback-seek"?: ((timeSec: number) => any) | undefined;
|
|
4345
4356
|
"onPlayback-ratechange"?: ((rate: number) => any) | undefined;
|
|
4346
4357
|
"onDrop-catalog-clip"?: ((payload: {
|
|
4347
|
-
variant: import('
|
|
4358
|
+
variant: import('../../types/videoCompose').ComposeSegmentClipAssets;
|
|
4348
4359
|
startTime: number;
|
|
4349
4360
|
}) => any) | undefined;
|
|
4350
4361
|
"onDrop-audio-asset"?: ((payload: {
|
|
4351
|
-
item: import('
|
|
4362
|
+
item: import('../../types/videoCompose').BgmItem;
|
|
4352
4363
|
startTime: number;
|
|
4353
4364
|
}) => any) | undefined;
|
|
4354
4365
|
"onDrop-subtitle-asset"?: ((payload: {
|
|
@@ -4377,11 +4388,16 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
4377
4388
|
durationSec: number;
|
|
4378
4389
|
taskId?: string;
|
|
4379
4390
|
}, startTime: number) => string;
|
|
4380
|
-
addAudioClip: (bgm: import('
|
|
4391
|
+
addAudioClip: (bgm: import('../../types/videoCompose').BgmItem, startTime?: number) => string;
|
|
4381
4392
|
addSubtitleClip: (options?: {
|
|
4382
4393
|
text?: string;
|
|
4383
4394
|
startTime?: number;
|
|
4384
4395
|
durationSec?: number;
|
|
4396
|
+
fontFamily?: string;
|
|
4397
|
+
fontSize?: number;
|
|
4398
|
+
color?: string;
|
|
4399
|
+
bold?: boolean;
|
|
4400
|
+
italic?: boolean;
|
|
4385
4401
|
}) => string;
|
|
4386
4402
|
addTextClip: (options: import('../timeline/VideoComposeTimeline.vue').AddTextClipOptions) => string;
|
|
4387
4403
|
selectClipById: (clipId: string) => void;
|
|
@@ -4390,12 +4406,12 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
4390
4406
|
end: number;
|
|
4391
4407
|
text: string;
|
|
4392
4408
|
}>) => void;
|
|
4393
|
-
exportTracks: () => import('
|
|
4394
|
-
importTracks: (tracks: import('
|
|
4395
|
-
bootstrapMainFromClips: (clips: import('
|
|
4409
|
+
exportTracks: () => import('../../types/videoCompose').ComposeTrack[];
|
|
4410
|
+
importTracks: (tracks: import('../../types/videoCompose').ComposeTrack[]) => void;
|
|
4411
|
+
bootstrapMainFromClips: (clips: import('../../types/videoCompose').VideoClipItem[]) => void;
|
|
4396
4412
|
whenReady: () => Promise<void>;
|
|
4397
4413
|
getMainVideoUrlsInOrder: () => string[];
|
|
4398
|
-
getMainVideoClips: () => import('
|
|
4414
|
+
getMainVideoClips: () => import('../../types/videoCompose').VideoClipItem[];
|
|
4399
4415
|
ensureSubtitleTrack: () => string;
|
|
4400
4416
|
ensureNextAudioTrack: () => import('../../clip-track').Track;
|
|
4401
4417
|
getCurrentTime: () => number;
|
|
@@ -4425,7 +4441,7 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
4425
4441
|
trackId: string;
|
|
4426
4442
|
startTime: number;
|
|
4427
4443
|
}) => any;
|
|
4428
|
-
"update:tracks": (value: import('
|
|
4444
|
+
"update:tracks": (value: import('../../types/videoCompose').ComposeTrack[]) => any;
|
|
4429
4445
|
"selection-changed": (selectedClipIds: string[]) => any;
|
|
4430
4446
|
"time-update": (timeSec: number) => any;
|
|
4431
4447
|
"playback-play": () => any;
|
|
@@ -4433,11 +4449,11 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
4433
4449
|
"playback-seek": (timeSec: number) => any;
|
|
4434
4450
|
"playback-ratechange": (rate: number) => any;
|
|
4435
4451
|
"drop-catalog-clip": (payload: {
|
|
4436
|
-
variant: import('
|
|
4452
|
+
variant: import('../../types/videoCompose').ComposeSegmentClipAssets;
|
|
4437
4453
|
startTime: number;
|
|
4438
4454
|
}) => any;
|
|
4439
4455
|
"drop-audio-asset": (payload: {
|
|
4440
|
-
item: import('
|
|
4456
|
+
item: import('../../types/videoCompose').BgmItem;
|
|
4441
4457
|
startTime: number;
|
|
4442
4458
|
}) => any;
|
|
4443
4459
|
"drop-subtitle-asset": (payload: {
|
|
@@ -4461,7 +4477,7 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
4461
4477
|
$props: {
|
|
4462
4478
|
readonly operationButtons?: import('../../clip-track').OperationButton[] | undefined;
|
|
4463
4479
|
readonly scaleConfigButtons?: import('../../clip-track/types').ScaleConfigButton[] | undefined;
|
|
4464
|
-
readonly trackTypes?: import('
|
|
4480
|
+
readonly trackTypes?: import('..').TrackTypeConfig | undefined;
|
|
4465
4481
|
readonly clipConfigs?: import('../../clip-track').ClipTypeConfig | undefined;
|
|
4466
4482
|
readonly showToolsBar?: boolean | undefined;
|
|
4467
4483
|
readonly showPlayback?: boolean | undefined;
|
|
@@ -4663,7 +4679,8 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
4663
4679
|
}) => void;
|
|
4664
4680
|
exportAsJSON: () => string;
|
|
4665
4681
|
importFromJSON: (json: string) => boolean;
|
|
4666
|
-
|
|
4682
|
+
canAddTrack: (type: import('../../clip-track').Track["type"]) => boolean;
|
|
4683
|
+
addTrack: (track: import('../../clip-track').Track) => boolean;
|
|
4667
4684
|
removeTrack: (trackId: string) => void;
|
|
4668
4685
|
updateTrack: (trackId: string, updates: Partial<import('../../clip-track').Track>) => void;
|
|
4669
4686
|
getTracks: () => {
|
|
@@ -5955,7 +5972,6 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
5955
5972
|
playbackRates: number[];
|
|
5956
5973
|
trackControlWidth: number;
|
|
5957
5974
|
trackContextMenu: import('../../clip-track').TrackContextMenuConfig;
|
|
5958
|
-
trackTypes: import('../../clip-track/types').TrackTypeConfig;
|
|
5959
5975
|
clipConfigs: import('../../clip-track').ClipTypeConfig;
|
|
5960
5976
|
showToolsBar: boolean;
|
|
5961
5977
|
enableMainTrackMode: boolean;
|
|
@@ -5998,7 +6014,6 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
5998
6014
|
playbackRates: number[];
|
|
5999
6015
|
trackControlWidth: number;
|
|
6000
6016
|
trackContextMenu: import('../../clip-track').TrackContextMenuConfig;
|
|
6001
|
-
trackTypes: import('../../clip-track/types').TrackTypeConfig;
|
|
6002
6017
|
clipConfigs: import('../../clip-track').ClipTypeConfig;
|
|
6003
6018
|
showToolsBar: boolean;
|
|
6004
6019
|
enableMainTrackMode: boolean;
|
|
@@ -6048,7 +6063,7 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
6048
6063
|
onTrackContextMenuSelect?: ((key: string, track: import('../../clip-track').Track, time: number) => any) | undefined;
|
|
6049
6064
|
onClipContextMenuSelect?: ((key: string, clip: any) => any) | undefined;
|
|
6050
6065
|
"onData:changed"?: (() => any) | undefined;
|
|
6051
|
-
}>, "zoomIn" | "zoomOut" | "reset" | "undo" | "redo" | "addTrack" | "removeTrack" | "updateTrack" | "addClip" | "removeClip" | "updateClip" | "selectClip" | "clearSelection" | "setClipPlaybackRate" | "getClipDurationAtRate" | "checkPlaybackRateCollision" | "isPlaying" | "play" | "pause" | "togglePlay" | "seekTo" | "setPlaybackRate" | "setScale" | "setScrollLeft" | "getCurrentTime" | ("minScale" | "maxScale" | "pixelsPerSecond" | "snapThreshold" | "operationButtons" | "scaleConfigButtons" | "locale" | "showPlayback" | "showScaleControl" | "playbackRates" | "trackControlWidth" | "trackContextMenu" | "
|
|
6066
|
+
}>, "zoomIn" | "zoomOut" | "reset" | "undo" | "redo" | "canAddTrack" | "addTrack" | "removeTrack" | "updateTrack" | "addClip" | "removeClip" | "updateClip" | "selectClip" | "clearSelection" | "setClipPlaybackRate" | "getClipDurationAtRate" | "checkPlaybackRateCollision" | "isPlaying" | "play" | "pause" | "togglePlay" | "seekTo" | "setPlaybackRate" | "setScale" | "setScrollLeft" | "getCurrentTime" | ("minScale" | "maxScale" | "pixelsPerSecond" | "snapThreshold" | "operationButtons" | "scaleConfigButtons" | "locale" | "showPlayback" | "showScaleControl" | "playbackRates" | "trackControlWidth" | "trackContextMenu" | "clipConfigs" | "showToolsBar" | "enableMainTrackMode" | "enableCrossTrackDrag" | "fps" | "defaultScale" | "enableSnap" | "clipContextMenu" | "theme") | "registerClipType" | "emitTransitionAdded" | "exportData" | "importData" | "exportAsJSON" | "importFromJSON" | "getTracks" | "getSortedTracks" | "getTrackById" | "getMainTrack" | "getClipById" | "moveClip" | "selectClips" | "getSelectedClips" | "getSelectedClipIds" | "getPlaybackRate" | "getDuration" | "getScale" | "getViewportWidth" | "getScrollLeft" | "disableSnap" | "isSnapEnabled" | "getHistoryState"> & {
|
|
6052
6067
|
reset: () => void;
|
|
6053
6068
|
registerClipType: (type: string, config: any) => void;
|
|
6054
6069
|
emitTransitionAdded: (transitionClip: any, beforeClipId: string, afterClipId: string) => void;
|
|
@@ -6068,7 +6083,8 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
6068
6083
|
}) => void;
|
|
6069
6084
|
exportAsJSON: () => string;
|
|
6070
6085
|
importFromJSON: (json: string) => boolean;
|
|
6071
|
-
|
|
6086
|
+
canAddTrack: (type: import('../../clip-track').Track["type"]) => boolean;
|
|
6087
|
+
addTrack: (track: import('../../clip-track').Track) => boolean;
|
|
6072
6088
|
removeTrack: (trackId: string) => void;
|
|
6073
6089
|
updateTrack: (trackId: string, updates: Partial<import('../../clip-track').Track>) => void;
|
|
6074
6090
|
getTracks: () => {
|
|
@@ -7643,7 +7659,7 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
7643
7659
|
trackId: string;
|
|
7644
7660
|
startTime: number;
|
|
7645
7661
|
}) => any) | undefined;
|
|
7646
|
-
"onUpdate:tracks"?: ((value: import('
|
|
7662
|
+
"onUpdate:tracks"?: ((value: import('../../types/videoCompose').ComposeTrack[]) => any) | undefined;
|
|
7647
7663
|
"onSelection-changed"?: ((selectedClipIds: string[]) => any) | undefined;
|
|
7648
7664
|
"onTime-update"?: ((timeSec: number) => any) | undefined;
|
|
7649
7665
|
"onPlayback-play"?: (() => any) | undefined;
|
|
@@ -7651,11 +7667,11 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
7651
7667
|
"onPlayback-seek"?: ((timeSec: number) => any) | undefined;
|
|
7652
7668
|
"onPlayback-ratechange"?: ((rate: number) => any) | undefined;
|
|
7653
7669
|
"onDrop-catalog-clip"?: ((payload: {
|
|
7654
|
-
variant: import('
|
|
7670
|
+
variant: import('../../types/videoCompose').ComposeSegmentClipAssets;
|
|
7655
7671
|
startTime: number;
|
|
7656
7672
|
}) => any) | undefined;
|
|
7657
7673
|
"onDrop-audio-asset"?: ((payload: {
|
|
7658
|
-
item: import('
|
|
7674
|
+
item: import('../../types/videoCompose').BgmItem;
|
|
7659
7675
|
startTime: number;
|
|
7660
7676
|
}) => any) | undefined;
|
|
7661
7677
|
"onDrop-subtitle-asset"?: ((payload: {
|
|
@@ -7684,11 +7700,16 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
7684
7700
|
durationSec: number;
|
|
7685
7701
|
taskId?: string;
|
|
7686
7702
|
}, startTime: number) => string;
|
|
7687
|
-
addAudioClip: (bgm: import('
|
|
7703
|
+
addAudioClip: (bgm: import('../../types/videoCompose').BgmItem, startTime?: number) => string;
|
|
7688
7704
|
addSubtitleClip: (options?: {
|
|
7689
7705
|
text?: string;
|
|
7690
7706
|
startTime?: number;
|
|
7691
7707
|
durationSec?: number;
|
|
7708
|
+
fontFamily?: string;
|
|
7709
|
+
fontSize?: number;
|
|
7710
|
+
color?: string;
|
|
7711
|
+
bold?: boolean;
|
|
7712
|
+
italic?: boolean;
|
|
7692
7713
|
}) => string;
|
|
7693
7714
|
addTextClip: (options: import('../timeline/VideoComposeTimeline.vue').AddTextClipOptions) => string;
|
|
7694
7715
|
selectClipById: (clipId: string) => void;
|
|
@@ -7697,12 +7718,12 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
7697
7718
|
end: number;
|
|
7698
7719
|
text: string;
|
|
7699
7720
|
}>) => void;
|
|
7700
|
-
exportTracks: () => import('
|
|
7701
|
-
importTracks: (tracks: import('
|
|
7702
|
-
bootstrapMainFromClips: (clips: import('
|
|
7721
|
+
exportTracks: () => import('../../types/videoCompose').ComposeTrack[];
|
|
7722
|
+
importTracks: (tracks: import('../../types/videoCompose').ComposeTrack[]) => void;
|
|
7723
|
+
bootstrapMainFromClips: (clips: import('../../types/videoCompose').VideoClipItem[]) => void;
|
|
7703
7724
|
whenReady: () => Promise<void>;
|
|
7704
7725
|
getMainVideoUrlsInOrder: () => string[];
|
|
7705
|
-
getMainVideoClips: () => import('
|
|
7726
|
+
getMainVideoClips: () => import('../../types/videoCompose').VideoClipItem[];
|
|
7706
7727
|
ensureSubtitleTrack: () => string;
|
|
7707
7728
|
ensureNextAudioTrack: () => import('../../clip-track').Track;
|
|
7708
7729
|
getCurrentTime: () => number;
|
|
@@ -7730,21 +7751,21 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
7730
7751
|
scale: number;
|
|
7731
7752
|
readonly: boolean;
|
|
7732
7753
|
}> | null>;
|
|
7733
|
-
derivedMainClips: import('vue').Ref<import('
|
|
7734
|
-
derivedAudioClips: import('vue').Ref<import('../../types/
|
|
7754
|
+
derivedMainClips: import('vue').Ref<import('../../types/videoCompose').VideoClipItem[], import('../../types/videoCompose').VideoClipItem[]>;
|
|
7755
|
+
derivedAudioClips: import('vue').Ref<import('../../types/videoCompose').PreviewAudioClip[], import('../../types/videoCompose').PreviewAudioClip[]>;
|
|
7735
7756
|
playingIdx: import('vue').Ref<number, number>;
|
|
7736
7757
|
globalTime: import('vue').Ref<number, number>;
|
|
7737
7758
|
isAdjusting: import('vue').Ref<boolean, boolean>;
|
|
7738
7759
|
videoReady: import('vue').Ref<boolean, boolean>;
|
|
7739
7760
|
previewDurationSec: import('vue').Ref<number, number>;
|
|
7740
|
-
tracks: import('vue').Ref<import('
|
|
7741
|
-
audioAssets: import('vue').Ref<import('
|
|
7742
|
-
sfxAssets: import('vue').Ref<import('
|
|
7761
|
+
tracks: import('vue').Ref<import('../../types/videoCompose').ComposeTrack[], import('../../types/videoCompose').ComposeTrack[]>;
|
|
7762
|
+
audioAssets: import('vue').Ref<import('../../types/videoCompose').BgmItem[], import('../../types/videoCompose').BgmItem[]>;
|
|
7763
|
+
sfxAssets: import('vue').Ref<import('../../types/videoCompose').BgmItem[], import('../../types/videoCompose').BgmItem[]>;
|
|
7743
7764
|
subtitleAssets: import('vue').Ref<import('../../types/videoCompose').ComposeSubtitleAsset[], import('../../types/videoCompose').ComposeSubtitleAsset[]>;
|
|
7744
7765
|
audioClipCount: import('vue').ComputedRef<number>;
|
|
7745
|
-
subtitleStyle: import('../../types/
|
|
7766
|
+
subtitleStyle: import('../../types/videoCompose').SubtitleStyleConfig;
|
|
7746
7767
|
videoVolume: import('vue').Ref<number | null, number | null>;
|
|
7747
|
-
beauty: import('vue').Ref<import('../../types/
|
|
7768
|
+
beauty: import('vue').Ref<import('../../types/videoCompose').BeautyParams, import('../../types/videoCompose').BeautyParams>;
|
|
7748
7769
|
bgmVolume: import('vue').Ref<number | null, number | null>;
|
|
7749
7770
|
videoPlaybackRate: import('vue').Ref<number, number>;
|
|
7750
7771
|
audioPlaybackRate: import('vue').Ref<number, number>;
|
|
@@ -7756,10 +7777,18 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
|
|
|
7756
7777
|
activeSubtitleId: import('vue').ComputedRef<string | undefined>;
|
|
7757
7778
|
activeTextClipId: import('vue').ComputedRef<string | undefined>;
|
|
7758
7779
|
textOverlayClips: import('vue').ComputedRef<import('../../types/videoCompose').ComposeTextOverlayClip[]>;
|
|
7759
|
-
derivedComposeConfig: import('vue').ComputedRef<import('../../types/
|
|
7760
|
-
previewCatalogVariant: import('vue').Ref<import('
|
|
7780
|
+
derivedComposeConfig: import('vue').ComputedRef<import('../../types/videoCompose').ComposeConfig>;
|
|
7781
|
+
previewCatalogVariant: import('vue').Ref<import('../../types/videoCompose').ComposeSegmentClipAssets | null, import('../../types/videoCompose').ComposeSegmentClipAssets | null>;
|
|
7761
7782
|
uploadAudioModalOpen: import('vue').Ref<boolean, boolean>;
|
|
7762
7783
|
uploadSfxModalOpen: import('vue').Ref<boolean, boolean>;
|
|
7763
|
-
visiblePreviewSubtitles: import('vue').ComputedRef<import('../../types/
|
|
7764
|
-
adjustPreviewSubtitles: import('vue').ComputedRef<import('../../types/
|
|
7784
|
+
visiblePreviewSubtitles: import('vue').ComputedRef<import('../../types/videoCompose').SubtitleItem[]>;
|
|
7785
|
+
adjustPreviewSubtitles: import('vue').ComputedRef<import('../../types/videoCompose').SubtitleItem[]>;
|
|
7786
|
+
validate: () => string | null;
|
|
7787
|
+
flush: () => void;
|
|
7788
|
+
reload: (model: import('../../types/videoCompose').VideoComposeEditorModel) => Promise<void>;
|
|
7789
|
+
exportComposePayload: () => import('../../types/videoCompose').ComposeExportPayload;
|
|
7790
|
+
getMainVideoClips: () => import('../../types/videoCompose').VideoClipItem[];
|
|
7791
|
+
requestUploadClip: () => void;
|
|
7792
|
+
getEditingClip: () => ComposeClip | null;
|
|
7793
|
+
getSelectedClips: () => ComposeClip[];
|
|
7765
7794
|
};
|