@linker-design-plus/tiny-peony 1.4.1 → 1.4.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.
package/dist/index.d.ts CHANGED
@@ -87,10 +87,9 @@ declare const TinyPeony: {
87
87
  innerIsSelectionInDifferentParas: () => boolean;
88
88
  innerIsSelectionContainsTag: (type: import("./typings/shared").PluginFlag) => boolean;
89
89
  innerGetAnchorTtsMark: (id: number, startFromCursor?: boolean) => string;
90
- innerGetAnchorTtsEmotionAndRole: (anchor: import("./typings/index").IAnchor) => [string, string | undefined];
90
+ innerGetAnchorTtsEmotionAndRole: (id: number) => [string, string | undefined];
91
91
  innerIsAllMarkedByAnchor: () => boolean;
92
92
  innerAddExtraAnchors: (data: import("./typings/index").IAnchor[]) => void;
93
- innerUpdateAnchor: (newAnchor: import("./typings/index").IAnchor) => void;
94
93
  innerClearContent: () => void;
95
94
  innerInsertContentAtCursor: (_content: string | string[]) => void;
96
95
  innerRenderHightlight: (matchingContent: string) => void;
@@ -110,10 +109,9 @@ declare const TinyPeony: {
110
109
  isSelectionInDifferentParas(): boolean;
111
110
  isSelectionContainsTag(type: import("./typings/shared").PluginFlag): boolean;
112
111
  getAnchorTtsMark(id: number, startFromCursor?: boolean): string;
113
- getAnchorTtsEmotionAndRole(anchor: import("./typings/index").IAnchor): [string, string | undefined];
112
+ getAnchorTtsEmotionAndRole(id: number): [string, string | undefined];
114
113
  isAllMarkedByAnchor(): boolean;
115
114
  addExtraAnchors(data: import("./typings/index").IAnchor[]): void;
116
- updateAnchor(anchor: import("./typings/index").IAnchor): void;
117
115
  clearContent(): void;
118
116
  insertContentAtCursor(_content: string | string[]): void;
119
117
  clear(): Promise<void>;
@@ -233,10 +231,9 @@ declare const TinyPeony: {
233
231
  innerIsSelectionInDifferentParas: () => boolean;
234
232
  innerIsSelectionContainsTag: (type: import("./typings/shared").PluginFlag) => boolean;
235
233
  innerGetAnchorTtsMark: (id: number, startFromCursor?: boolean) => string;
236
- innerGetAnchorTtsEmotionAndRole: (anchor: import("./typings/index").IAnchor) => [string, string | undefined];
234
+ innerGetAnchorTtsEmotionAndRole: (id: number) => [string, string | undefined];
237
235
  innerIsAllMarkedByAnchor: () => boolean;
238
236
  innerAddExtraAnchors: (data: import("./typings/index").IAnchor[]) => void;
239
- innerUpdateAnchor: (newAnchor: import("./typings/index").IAnchor) => void;
240
237
  innerClearContent: () => void;
241
238
  innerInsertContentAtCursor: (_content: string | string[]) => void;
242
239
  innerRenderHightlight: (matchingContent: string) => void;
@@ -256,10 +253,9 @@ declare const TinyPeony: {
256
253
  isSelectionInDifferentParas(): boolean;
257
254
  isSelectionContainsTag(type: import("./typings/shared").PluginFlag): boolean;
258
255
  getAnchorTtsMark(id: number, startFromCursor?: boolean): string;
259
- getAnchorTtsEmotionAndRole(anchor: import("./typings/index").IAnchor): [string, string | undefined];
256
+ getAnchorTtsEmotionAndRole(id: number): [string, string | undefined];
260
257
  isAllMarkedByAnchor(): boolean;
261
258
  addExtraAnchors(data: import("./typings/index").IAnchor[]): void;
262
- updateAnchor(anchor: import("./typings/index").IAnchor): void;
263
259
  clearContent(): void;
264
260
  insertContentAtCursor(_content: string | string[]): void;
265
261
  clear(): Promise<void>;
@@ -370,10 +366,9 @@ declare const TinyPeony: {
370
366
  innerIsSelectionInDifferentParas: () => boolean;
371
367
  innerIsSelectionContainsTag: (type: import("./typings/shared").PluginFlag) => boolean;
372
368
  innerGetAnchorTtsMark: (id: number, startFromCursor?: boolean) => string;
373
- innerGetAnchorTtsEmotionAndRole: (anchor: import("./typings/index").IAnchor) => [string, string | undefined];
369
+ innerGetAnchorTtsEmotionAndRole: (id: number) => [string, string | undefined];
374
370
  innerIsAllMarkedByAnchor: () => boolean;
375
371
  innerAddExtraAnchors: (data: import("./typings/index").IAnchor[]) => void;
376
- innerUpdateAnchor: (newAnchor: import("./typings/index").IAnchor) => void;
377
372
  innerClearContent: () => void;
378
373
  innerInsertContentAtCursor: (_content: string | string[]) => void;
379
374
  innerRenderHightlight: (matchingContent: string) => void;
@@ -393,10 +388,9 @@ declare const TinyPeony: {
393
388
  isSelectionInDifferentParas(): boolean;
394
389
  isSelectionContainsTag(type: import("./typings/shared").PluginFlag): boolean;
395
390
  getAnchorTtsMark(id: number, startFromCursor?: boolean): string;
396
- getAnchorTtsEmotionAndRole(anchor: import("./typings/index").IAnchor): [string, string | undefined];
391
+ getAnchorTtsEmotionAndRole(id: number): [string, string | undefined];
397
392
  isAllMarkedByAnchor(): boolean;
398
393
  addExtraAnchors(data: import("./typings/index").IAnchor[]): void;
399
- updateAnchor(anchor: import("./typings/index").IAnchor): void;
400
394
  clearContent(): void;
401
395
  insertContentAtCursor(_content: string | string[]): void;
402
396
  clear(): Promise<void>;