@polyv/live-watch-ai-ui 1.0.0-rc-20250814.4 → 1.0.0-rc-20250904.1

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.
@@ -1,10 +1,15 @@
1
+ import { ComponentCustomProperties } from 'vue';
2
+ import { ComponentOptionsBase } from 'vue';
1
3
  import { ComponentOptionsMixin } from 'vue';
2
4
  import { DefineComponent } from 'vue';
5
+ import { ExtractComputedReturns } from 'vue/types/v3-component-options';
3
6
  import { ExtractPropTypes } from 'vue';
4
7
  import { LangType } from '@polyv/live-watch-ai-sdk';
5
8
  import { PlaybackOutlineData } from '@polyv/live-watch-ai-sdk';
6
9
  import { PolyvAIAssistantChatMsgType } from '@polyv/live-watch-ai-sdk';
7
10
  import { PolyvWatchAICore } from '@polyv/live-watch-ai-sdk';
11
+ import { ShallowUnwrapRef } from 'vue';
12
+ import { Vue3Instance } from 'vue/types/v3-component-public-instance';
8
13
  import { VueTypeValidableDef } from 'vue-types';
9
14
 
10
15
  export declare const AI_UI_INJECT_KEY = "AIUIGlobalConfig";
@@ -43,7 +48,9 @@ default: boolean;
43
48
  digitalSpeakMaxDelay: VueTypeValidableDef<number> & {
44
49
  default: number;
45
50
  };
46
- }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {
51
+ }, {
52
+ getDigitalPreviewInstance: typeof getDigitalPreviewInstance;
53
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {
47
54
  chatListProps: VueTypeValidableDef<Partial<Readonly<ExtractPropTypes< {
48
55
  msgList: VueTypeValidableDef<PolyvAIAssistantChatMsgType[]> & {
49
56
  default: () => PolyvAIAssistantChatMsgType[];
@@ -129,6 +136,8 @@ autoPlay: boolean;
129
136
  manualPlaySpeaking: () => void;
130
137
  togglePlaySpeaking: () => void;
131
138
  stopSpeaking: () => void;
139
+ getVideoIsAutoPlay: typeof getVideoIsAutoPlay;
140
+ playVideo: () => void;
132
141
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
133
142
  "video-first-load": (...args: any[]) => void;
134
143
  }, string, Readonly<ExtractPropTypes< {
@@ -171,6 +180,118 @@ enabledLoading: boolean;
171
180
 
172
181
  declare function closeMindMap(): void;
173
182
 
183
+ declare function getDigitalPreviewInstance(): (Vue3Instance< {}, Readonly<ExtractPropTypes< {
184
+ videoSource: VueTypeValidableDef< {
185
+ speakUrl: string;
186
+ noSpeakUrl: string;
187
+ }> & {
188
+ default: () => {
189
+ speakUrl: string;
190
+ noSpeakUrl: string;
191
+ };
192
+ };
193
+ ttsVoiceId: VueTypeValidableDef<string> & {
194
+ default: string;
195
+ };
196
+ direction: VueTypeValidableDef<string> & {
197
+ default: string;
198
+ };
199
+ forceFitMode: VueTypeValidableDef<string> & {
200
+ default: string;
201
+ };
202
+ enabledLoading: VueTypeValidableDef<boolean> & {
203
+ default: boolean;
204
+ };
205
+ }>>, Readonly<ExtractPropTypes< {
206
+ videoSource: VueTypeValidableDef< {
207
+ speakUrl: string;
208
+ noSpeakUrl: string;
209
+ }> & {
210
+ default: () => {
211
+ speakUrl: string;
212
+ noSpeakUrl: string;
213
+ };
214
+ };
215
+ ttsVoiceId: VueTypeValidableDef<string> & {
216
+ default: string;
217
+ };
218
+ direction: VueTypeValidableDef<string> & {
219
+ default: string;
220
+ };
221
+ forceFitMode: VueTypeValidableDef<string> & {
222
+ default: string;
223
+ };
224
+ enabledLoading: VueTypeValidableDef<boolean> & {
225
+ default: boolean;
226
+ };
227
+ }>>, {
228
+ "video-first-load": (...args: any[]) => void;
229
+ }, {
230
+ videoSource: {
231
+ speakUrl: string;
232
+ noSpeakUrl: string;
233
+ };
234
+ ttsVoiceId: string;
235
+ direction: string;
236
+ forceFitMode: string;
237
+ enabledLoading: boolean;
238
+ }, true, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<ExtractPropTypes< {
239
+ videoSource: VueTypeValidableDef< {
240
+ speakUrl: string;
241
+ noSpeakUrl: string;
242
+ }> & {
243
+ default: () => {
244
+ speakUrl: string;
245
+ noSpeakUrl: string;
246
+ };
247
+ };
248
+ ttsVoiceId: VueTypeValidableDef<string> & {
249
+ default: string;
250
+ };
251
+ direction: VueTypeValidableDef<string> & {
252
+ default: string;
253
+ };
254
+ forceFitMode: VueTypeValidableDef<string> & {
255
+ default: string;
256
+ };
257
+ enabledLoading: VueTypeValidableDef<boolean> & {
258
+ default: boolean;
259
+ };
260
+ }>>> & ShallowUnwrapRef< {
261
+ startSpeaking: (text: string, opts?: {
262
+ autoPlay: boolean;
263
+ }) => void;
264
+ manualPlaySpeaking: () => void;
265
+ togglePlaySpeaking: () => void;
266
+ stopSpeaking: () => void;
267
+ getVideoIsAutoPlay: () => boolean;
268
+ playVideo: () => void;
269
+ }> & ExtractComputedReturns< {}> & ComponentCustomProperties & Readonly<ExtractPropTypes< {
270
+ videoSource: VueTypeValidableDef< {
271
+ speakUrl: string;
272
+ noSpeakUrl: string;
273
+ }> & {
274
+ default: () => {
275
+ speakUrl: string;
276
+ noSpeakUrl: string;
277
+ };
278
+ };
279
+ ttsVoiceId: VueTypeValidableDef<string> & {
280
+ default: string;
281
+ };
282
+ direction: VueTypeValidableDef<string> & {
283
+ default: string;
284
+ };
285
+ forceFitMode: VueTypeValidableDef<string> & {
286
+ default: string;
287
+ };
288
+ enabledLoading: VueTypeValidableDef<boolean> & {
289
+ default: boolean;
290
+ };
291
+ }>>) | undefined;
292
+
293
+ declare function getVideoIsAutoPlay(): boolean;
294
+
174
295
  declare interface GlobalInjectData {
175
296
  /** 全局语言 */
176
297
  globalLang: LangType | string;