@naersen/tts-rich-text 0.12.0 → 0.13.0

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.
@@ -14,6 +14,8 @@ export interface TtsEditorFeatures {
14
14
  maxPinyinLength?: number;
15
15
  maxNumberLength?: number;
16
16
  enablePreview?: boolean;
17
+ enableContextMenu?: boolean;
18
+ enableSentenceHighlight?: boolean;
17
19
  }
18
20
  export interface ResolvedTtsEditorFeatures {
19
21
  tools: readonly TtsToolType[];
@@ -21,6 +23,8 @@ export interface ResolvedTtsEditorFeatures {
21
23
  maxPinyinLength: number;
22
24
  maxNumberLength: number;
23
25
  enablePreview: boolean;
26
+ enableContextMenu: boolean;
27
+ enableSentenceHighlight: boolean;
24
28
  }
25
29
  export interface TtsEditorOptions {
26
30
  sentenceSplit?: SentenceSplitOptions;
@@ -40,7 +44,7 @@ export interface VoiceChangeConfirmInput {
40
44
  nextVersion: number;
41
45
  }
42
46
  export interface TtsPreviewRequest extends TtsInputData {
43
- partialPreview: true;
47
+ partialPreview: boolean;
44
48
  [key: string]: unknown;
45
49
  }
46
50
  export interface TtsAudioStreamMessage {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naersen/tts-rich-text",
3
- "version": "0.12.0",
3
+ "version": "0.13.0",
4
4
  "description": "Reusable Vue 3 rich-text editor for TTS workflows",
5
5
  "type": "module",
6
6
  "files": [