daily-video-editor 0.0.1 → 0.0.2

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.
Files changed (107) hide show
  1. package/dist/clip-track/components/ContextMenu/index.vue.d.ts +35 -0
  2. package/dist/clip-track/components/Ruler/index.vue.d.ts +22 -0
  3. package/dist/clip-track/components/ToolsBar/icons/SnapIcon.vue.d.ts +2 -0
  4. package/dist/clip-track/components/ToolsBar/index.vue.d.ts +46 -0
  5. package/dist/clip-track/components/Tracks/ClipItem.vue.d.ts +43 -0
  6. package/dist/clip-track/components/Tracks/Clips/AudioClip.vue.d.ts +9 -0
  7. package/dist/clip-track/components/Tracks/Clips/EffectClip.vue.d.ts +6 -0
  8. package/dist/clip-track/components/Tracks/Clips/FilterClip.vue.d.ts +6 -0
  9. package/dist/clip-track/components/Tracks/Clips/StickerClip.vue.d.ts +6 -0
  10. package/dist/clip-track/components/Tracks/Clips/SubtitleClip.vue.d.ts +6 -0
  11. package/dist/clip-track/components/Tracks/Clips/TextClip.vue.d.ts +6 -0
  12. package/dist/clip-track/components/Tracks/Clips/TransitionClip.vue.d.ts +6 -0
  13. package/dist/clip-track/components/Tracks/Clips/VideoClip.vue.d.ts +8 -0
  14. package/dist/clip-track/components/Tracks/DragPreview.vue.d.ts +6 -0
  15. package/dist/clip-track/components/Tracks/TrackArea.vue.d.ts +47 -0
  16. package/dist/clip-track/components/Tracks/TrackControl.vue.d.ts +35 -0
  17. package/dist/clip-track/components/Tracks/index.vue.d.ts +354 -0
  18. package/dist/clip-track/components/index.vue.d.ts +1911 -0
  19. package/dist/clip-track/composables/useAutoScroll.d.ts +11 -0
  20. package/dist/clip-track/composables/useKeyboard.d.ts +21 -0
  21. package/dist/clip-track/composables/useResize.d.ts +579 -0
  22. package/dist/clip-track/composables/useSelection.d.ts +4 -0
  23. package/dist/clip-track/composables/useTheme.d.ts +26 -0
  24. package/dist/clip-track/composables/useVirtualScroll.d.ts +19 -0
  25. package/dist/clip-track/index.d.ts +14 -0
  26. package/dist/clip-track/stores/clipTrackPinia.d.ts +14 -0
  27. package/dist/clip-track/stores/drag.d.ts +1891 -0
  28. package/dist/clip-track/stores/history.d.ts +74 -0
  29. package/dist/clip-track/stores/playback.d.ts +52 -0
  30. package/dist/clip-track/stores/scale.d.ts +79 -0
  31. package/dist/clip-track/stores/tracks.d.ts +6329 -0
  32. package/dist/clip-track/types/clip.d.ts +216 -0
  33. package/dist/clip-track/types/config.d.ts +195 -0
  34. package/dist/clip-track/types/index.d.ts +3 -0
  35. package/dist/clip-track/types/track.d.ts +12 -0
  36. package/dist/clip-track/utils/helpers.d.ts +16 -0
  37. package/dist/clip-track/utils/mainTrack.d.ts +5 -0
  38. package/dist/clip-track/utils/mediaProcessor.d.ts +66 -0
  39. package/dist/clip-track/utils/mockData.d.ts +8 -0
  40. package/dist/clip-track/utils/performance.d.ts +27 -0
  41. package/dist/editor/VideoComposeEditor.vue.d.ts +7680 -0
  42. package/dist/editor/applyTextTemplateSvg.d.ts +1 -0
  43. package/dist/editor/asset-panel/VideoComposeAssetCard.vue.d.ts +12 -0
  44. package/dist/editor/asset-panel/VideoComposeAssetPanel.vue.d.ts +74 -0
  45. package/dist/editor/asset-panel/VideoComposeClipCatalog.vue.d.ts +23 -0
  46. package/dist/editor/asset-panel/VideoComposeTextTemplateCatalog.vue.d.ts +9 -0
  47. package/dist/editor/composeRuntime.d.ts +7 -0
  48. package/dist/editor/index.d.ts +7 -0
  49. package/dist/editor/installComposeElementPlus.d.ts +6 -0
  50. package/dist/editor/modals/BgmUploadModal.vue.d.ts +27 -0
  51. package/dist/editor/player/VideoComposeFrameBox.vue.d.ts +37 -0
  52. package/dist/editor/player/VideoComposePlayer.vue.d.ts +174 -0
  53. package/dist/editor/player/VideoComposeTextStickerOverlay.vue.d.ts +30 -0
  54. package/dist/editor/session/createComposeEditorState.d.ts +179 -0
  55. package/dist/editor/session/ports.d.ts +25 -0
  56. package/dist/editor/session/trackLookup.d.ts +20 -0
  57. package/dist/editor/session/useComposeCatalog.d.ts +45 -0
  58. package/dist/editor/session/useComposeEditorSession.d.ts +7765 -0
  59. package/dist/editor/session/useComposeInspector.d.ts +57 -0
  60. package/dist/editor/session/useComposePlaybackBridge.d.ts +13 -0
  61. package/dist/editor/session/useComposeProject.d.ts +12 -0
  62. package/dist/editor/session/useComposeShellLayout.d.ts +13 -0
  63. package/dist/editor/session/useComposeVideoFrame.d.ts +24 -0
  64. package/dist/editor/session/videoComposeEditorExpose.d.ts +19 -0
  65. package/dist/editor/shared/VideoComposeUnderlineTabs.vue.d.ts +12 -0
  66. package/dist/editor/shared/applyTextTemplateSvg.d.ts +17 -0
  67. package/dist/editor/shared/playbackRate.d.ts +12 -0
  68. package/dist/editor/shared/textTemplateCatalog.d.ts +48 -0
  69. package/dist/editor/shared/videoComposeMockClips.d.ts +28 -0
  70. package/dist/editor/shared/videoFrame.d.ts +68 -0
  71. package/dist/editor/shared/volumeDb.d.ts +37 -0
  72. package/dist/editor/sidebar/PlaybackRateControl.vue.d.ts +12 -0
  73. package/dist/editor/sidebar/SubtitleFontPopover.vue.d.ts +46 -0
  74. package/dist/editor/sidebar/VideoComposeBeautyControls.vue.d.ts +11 -0
  75. package/dist/editor/sidebar/VideoComposeSidebar.vue.d.ts +126 -0
  76. package/dist/editor/sidebar/VideoComposeTextTemplateProps.vue.d.ts +22 -0
  77. package/dist/editor/sidebar/VideoComposeTransformPanel.vue.d.ts +17 -0
  78. package/dist/editor/sidebar/VolumeDbControl.vue.d.ts +12 -0
  79. package/dist/editor/textTemplateCatalog.d.ts +1 -0
  80. package/dist/editor/timeline/VideoComposeTimeline.vue.d.ts +3416 -0
  81. package/dist/editor/timeline/VideoComposeZoomBar.vue.d.ts +20 -0
  82. package/dist/editor/volumeDb.d.ts +1 -0
  83. package/dist/hooks/previewAudioMixer.d.ts +33 -0
  84. package/dist/hooks/previewMediaGain.d.ts +10 -0
  85. package/dist/hooks/previewSourceTime.d.ts +20 -0
  86. package/dist/hooks/useComposePreviewFrame.d.ts +39 -0
  87. package/dist/hooks/useComposeUploadCatalog.d.ts +3 -0
  88. package/dist/hooks/useResolveComposeClips.d.ts +37 -0
  89. package/dist/hooks/useVideoComposePreview.d.ts +53 -0
  90. package/dist/hooks/useVideoComposeSubtitleAdjust.d.ts +122 -0
  91. package/dist/hooks/useVideoComposeTextStickerOverlay.d.ts +53 -0
  92. package/dist/hooks/useVideoComposeTimelineScale.d.ts +29 -0
  93. package/dist/index.d.ts +3 -596
  94. package/dist/index.js +8406 -8398
  95. package/dist/service/resolveComposeMediaUrl.d.ts +42 -0
  96. package/dist/style.css +1 -1
  97. package/dist/style.d.ts +0 -0
  98. package/dist/types/beautyPreview.d.ts +82 -0
  99. package/dist/types/composeMedia.d.ts +173 -0
  100. package/dist/types/videoCompose.d.ts +350 -0
  101. package/dist/utils/beauty/gpuPixelPreview.d.ts +32 -0
  102. package/dist/workers/beauty/copyFrameRgba.d.ts +15 -0
  103. package/dist/workers/beauty/decodeSession.d.ts +30 -0
  104. package/dist/workers/beauty/facePass.d.ts +26 -0
  105. package/dist/workers/beauty/installImportScripts.d.ts +6 -0
  106. package/dist/workers/beautyPreview.worker.d.ts +1 -0
  107. package/package.json +1 -1
@@ -0,0 +1,35 @@
1
+ import { ContextMenuItem } from '../../types';
2
+ /** 右键菜单入参 */
3
+ export interface Props {
4
+ items?: ContextMenuItem[];
5
+ }
6
+ declare function show(x: number, y: number): void;
7
+ declare function hide(): void;
8
+ declare function __VLS_template(): {
9
+ attrs: Partial<{}>;
10
+ slots: Partial<Record<string, (_: {
11
+ item: ContextMenuItem;
12
+ }) => any>>;
13
+ refs: {};
14
+ rootEl: any;
15
+ };
16
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
17
+ declare const __VLS_component: import('vue').DefineComponent<Props, {
18
+ show: typeof show;
19
+ hide: typeof hide;
20
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
21
+ close: () => any;
22
+ select: (key: string) => any;
23
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
24
+ onClose?: (() => any) | undefined;
25
+ onSelect?: ((key: string) => any) | undefined;
26
+ }>, {
27
+ items: ContextMenuItem[];
28
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
29
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
30
+ export default _default;
31
+ type __VLS_WithTemplateSlots<T, S> = T & {
32
+ new (): {
33
+ $slots: S;
34
+ };
35
+ };
@@ -0,0 +1,22 @@
1
+ interface Props {
2
+ width?: number;
3
+ scrollLeft?: number;
4
+ trackControlWidth?: number;
5
+ }
6
+ declare const _default: import('vue').DefineComponent<Props, {
7
+ isDraggingCursor: import('vue').Ref<boolean, boolean>;
8
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
+ scroll: (left: number) => any;
10
+ seek: (time: number) => any;
11
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
12
+ onScroll?: ((left: number) => any) | undefined;
13
+ onSeek?: ((time: number) => any) | undefined;
14
+ }>, {
15
+ scrollLeft: number;
16
+ width: number;
17
+ trackControlWidth: number;
18
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
19
+ rulerRef: HTMLDivElement;
20
+ rulerWrapperRef: HTMLDivElement;
21
+ }, HTMLDivElement>;
22
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, SVGSVGElement>;
2
+ export default _default;
@@ -0,0 +1,46 @@
1
+ import { OperationButton, ScaleConfigButton, LocaleConfig } from '../../types';
2
+ interface Props {
3
+ operationButtons?: OperationButton[];
4
+ scaleConfigButtons?: ScaleConfigButton[];
5
+ locale?: LocaleConfig;
6
+ /** 是否显示播放钮、时间和倍速 */
7
+ showPlayback?: boolean;
8
+ /** 是否显示缩放加减和倍率滑杆。吸附按钮不受影响 */
9
+ showScaleControl?: boolean;
10
+ }
11
+ declare function __VLS_template(): {
12
+ attrs: Partial<{}>;
13
+ slots: Partial<Record<`custom-operation-${string}`, (_: {}) => any>> & Partial<Record<`custom-scale-config-${string}`, (_: {}) => any>> & {
14
+ 'operations-prepend'?(_: {}): any;
15
+ 'operations-append'?(_: {}): any;
16
+ 'playback-prepend'?(_: {}): any;
17
+ 'playback-append'?(_: {}): any;
18
+ 'scale-prepend'?(_: {}): any;
19
+ 'scale-append'?(_: {}): any;
20
+ };
21
+ refs: {};
22
+ rootEl: HTMLDivElement;
23
+ };
24
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
25
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
26
+ operation: (operation: string) => any;
27
+ "playback:play": () => any;
28
+ "playback:pause": () => any;
29
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
30
+ onOperation?: ((operation: string) => any) | undefined;
31
+ "onPlayback:play"?: (() => any) | undefined;
32
+ "onPlayback:pause"?: (() => any) | undefined;
33
+ }>, {
34
+ operationButtons: OperationButton[];
35
+ scaleConfigButtons: ScaleConfigButton[];
36
+ locale: LocaleConfig;
37
+ showPlayback: boolean;
38
+ showScaleControl: boolean;
39
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
40
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
41
+ export default _default;
42
+ type __VLS_WithTemplateSlots<T, S> = T & {
43
+ new (): {
44
+ $slots: S;
45
+ };
46
+ };
@@ -0,0 +1,43 @@
1
+ import { Clip, Track } from '../../types';
2
+ interface Props {
3
+ clip: Clip;
4
+ track: Track;
5
+ }
6
+ declare function __VLS_template(): {
7
+ attrs: Partial<{}>;
8
+ slots: {
9
+ 'clip-content'?(_: {
10
+ clip: Clip;
11
+ track: Track;
12
+ }): any;
13
+ };
14
+ refs: {
15
+ clipRef: HTMLDivElement;
16
+ };
17
+ rootEl: HTMLDivElement;
18
+ };
19
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
20
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
21
+ click: (clip: Clip, event: MouseEvent) => any;
22
+ dblclick: (clip: Clip, time: number) => any;
23
+ dragStart: (clip: Clip, event: MouseEvent) => any;
24
+ resizeStart: (clip: Clip, edge: "left" | "right", event: MouseEvent) => any;
25
+ contextMenu: (clip: Clip, event: MouseEvent) => any;
26
+ addTransition: (beforeClipId: string, afterClipId: string) => any;
27
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
28
+ onClick?: ((clip: Clip, event: MouseEvent) => any) | undefined;
29
+ onDblclick?: ((clip: Clip, time: number) => any) | undefined;
30
+ onDragStart?: ((clip: Clip, event: MouseEvent) => any) | undefined;
31
+ onResizeStart?: ((clip: Clip, edge: "left" | "right", event: MouseEvent) => any) | undefined;
32
+ onContextMenu?: ((clip: Clip, event: MouseEvent) => any) | undefined;
33
+ onAddTransition?: ((beforeClipId: string, afterClipId: string) => any) | undefined;
34
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
35
+ clipRef: HTMLDivElement;
36
+ }, HTMLDivElement>;
37
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
38
+ export default _default;
39
+ type __VLS_WithTemplateSlots<T, S> = T & {
40
+ new (): {
41
+ $slots: S;
42
+ };
43
+ };
@@ -0,0 +1,9 @@
1
+ import { MediaClip } from '../../../types';
2
+ interface Props {
3
+ clip: MediaClip;
4
+ }
5
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
6
+ clipRef: HTMLDivElement;
7
+ canvasRef: HTMLCanvasElement;
8
+ }, HTMLDivElement>;
9
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import { EffectClip as EffectClipType } from '../../../types';
2
+ interface Props {
3
+ clip: EffectClipType;
4
+ }
5
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
6
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import { FilterClip as FilterClipType } from '../../../types';
2
+ interface Props {
3
+ clip: FilterClipType;
4
+ }
5
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
6
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import { StickerClip as StickerClipType } from '../../../types';
2
+ interface Props {
3
+ clip: StickerClipType;
4
+ }
5
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
6
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import { SubtitleClip as SubtitleClipType } from '../../../types';
2
+ interface Props {
3
+ clip: SubtitleClipType;
4
+ }
5
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
6
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import { TextClip as TextClipType } from '../../../types';
2
+ interface Props {
3
+ clip: TextClipType;
4
+ }
5
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
6
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import { TransitionClip as TransitionClipType } from '../../../types';
2
+ interface Props {
3
+ clip: TransitionClipType;
4
+ }
5
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
6
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import { MediaClip } from '../../../types';
2
+ interface Props {
3
+ clip: MediaClip;
4
+ }
5
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
6
+ thumbnailsRef: HTMLDivElement;
7
+ }, HTMLDivElement>;
8
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import { Track } from '../../types';
2
+ interface Props {
3
+ track: Track;
4
+ }
5
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
6
+ export default _default;
@@ -0,0 +1,47 @@
1
+ import { Track, Clip } from '../../types';
2
+ interface Props {
3
+ track: Track;
4
+ scrollLeft?: number;
5
+ }
6
+ declare function __VLS_template(): {
7
+ attrs: Partial<{}>;
8
+ slots: {
9
+ 'clip-content'?(_: {
10
+ clip: Clip;
11
+ track: Track;
12
+ }): any;
13
+ };
14
+ refs: {
15
+ trackAreaRef: HTMLDivElement;
16
+ };
17
+ rootEl: HTMLDivElement;
18
+ };
19
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
20
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
21
+ scroll: (left: number) => any;
22
+ seek: (time: number) => any;
23
+ contextMenu: (clip: Clip, event: MouseEvent) => any;
24
+ addTransition: (beforeClipId: string, afterClipId: string) => any;
25
+ trackContextMenu: (track: Track, time: number, event: MouseEvent) => any;
26
+ dropMedia: (mediaData: any, trackId: string, startTime: number) => any;
27
+ "clip:dblclick": (clip: Clip, time: number) => any;
28
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
29
+ onScroll?: ((left: number) => any) | undefined;
30
+ onSeek?: ((time: number) => any) | undefined;
31
+ onContextMenu?: ((clip: Clip, event: MouseEvent) => any) | undefined;
32
+ onAddTransition?: ((beforeClipId: string, afterClipId: string) => any) | undefined;
33
+ onTrackContextMenu?: ((track: Track, time: number, event: MouseEvent) => any) | undefined;
34
+ onDropMedia?: ((mediaData: any, trackId: string, startTime: number) => any) | undefined;
35
+ "onClip:dblclick"?: ((clip: Clip, time: number) => any) | undefined;
36
+ }>, {
37
+ scrollLeft: number;
38
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
39
+ trackAreaRef: HTMLDivElement;
40
+ }, HTMLDivElement>;
41
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
42
+ export default _default;
43
+ type __VLS_WithTemplateSlots<T, S> = T & {
44
+ new (): {
45
+ $slots: S;
46
+ };
47
+ };
@@ -0,0 +1,35 @@
1
+ import { Track } from '../../types';
2
+ import { LocaleConfig } from '../../types/config';
3
+ interface Props {
4
+ track: Track;
5
+ locale?: LocaleConfig;
6
+ }
7
+ declare function __VLS_template(): {
8
+ attrs: Partial<{}>;
9
+ slots: {
10
+ default?(_: {
11
+ track: Track;
12
+ }): any;
13
+ };
14
+ refs: {
15
+ nameInputRef: HTMLInputElement;
16
+ };
17
+ rootEl: HTMLDivElement;
18
+ };
19
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
20
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
21
+ delete: (trackId: string) => any;
22
+ update: (trackId: string, updates: Partial<Track>) => any;
23
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
24
+ onDelete?: ((trackId: string) => any) | undefined;
25
+ onUpdate?: ((trackId: string, updates: Partial<Track>) => any) | undefined;
26
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
27
+ nameInputRef: HTMLInputElement;
28
+ }, HTMLDivElement>;
29
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
30
+ export default _default;
31
+ type __VLS_WithTemplateSlots<T, S> = T & {
32
+ new (): {
33
+ $slots: S;
34
+ };
35
+ };