@linker-design-plus/tiny-peony 1.4.1 → 1.4.3

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
@@ -86,7 +86,7 @@ declare const TinyPeony: {
86
86
  innerIsRange: () => boolean;
87
87
  innerIsSelectionInDifferentParas: () => boolean;
88
88
  innerIsSelectionContainsTag: (type: import("./typings/shared").PluginFlag) => boolean;
89
- innerGetAnchorTtsMark: (id: number, startFromCursor?: boolean) => string;
89
+ innerGetAnchorTtsMark: (anchor: import("./typings/index").IAnchor, startFromCursor?: boolean) => string;
90
90
  innerGetAnchorTtsEmotionAndRole: (anchor: import("./typings/index").IAnchor) => [string, string | undefined];
91
91
  innerIsAllMarkedByAnchor: () => boolean;
92
92
  innerAddExtraAnchors: (data: import("./typings/index").IAnchor[]) => void;
@@ -109,7 +109,7 @@ declare const TinyPeony: {
109
109
  isRange(): boolean;
110
110
  isSelectionInDifferentParas(): boolean;
111
111
  isSelectionContainsTag(type: import("./typings/shared").PluginFlag): boolean;
112
- getAnchorTtsMark(id: number, startFromCursor?: boolean): string;
112
+ getAnchorTtsMark(anchor: import("./typings/index").IAnchor, startFromCursor?: boolean): string;
113
113
  getAnchorTtsEmotionAndRole(anchor: import("./typings/index").IAnchor): [string, string | undefined];
114
114
  isAllMarkedByAnchor(): boolean;
115
115
  addExtraAnchors(data: import("./typings/index").IAnchor[]): void;
@@ -232,7 +232,7 @@ declare const TinyPeony: {
232
232
  innerIsRange: () => boolean;
233
233
  innerIsSelectionInDifferentParas: () => boolean;
234
234
  innerIsSelectionContainsTag: (type: import("./typings/shared").PluginFlag) => boolean;
235
- innerGetAnchorTtsMark: (id: number, startFromCursor?: boolean) => string;
235
+ innerGetAnchorTtsMark: (anchor: import("./typings/index").IAnchor, startFromCursor?: boolean) => string;
236
236
  innerGetAnchorTtsEmotionAndRole: (anchor: import("./typings/index").IAnchor) => [string, string | undefined];
237
237
  innerIsAllMarkedByAnchor: () => boolean;
238
238
  innerAddExtraAnchors: (data: import("./typings/index").IAnchor[]) => void;
@@ -255,7 +255,7 @@ declare const TinyPeony: {
255
255
  isRange(): boolean;
256
256
  isSelectionInDifferentParas(): boolean;
257
257
  isSelectionContainsTag(type: import("./typings/shared").PluginFlag): boolean;
258
- getAnchorTtsMark(id: number, startFromCursor?: boolean): string;
258
+ getAnchorTtsMark(anchor: import("./typings/index").IAnchor, startFromCursor?: boolean): string;
259
259
  getAnchorTtsEmotionAndRole(anchor: import("./typings/index").IAnchor): [string, string | undefined];
260
260
  isAllMarkedByAnchor(): boolean;
261
261
  addExtraAnchors(data: import("./typings/index").IAnchor[]): void;
@@ -369,7 +369,7 @@ declare const TinyPeony: {
369
369
  innerIsRange: () => boolean;
370
370
  innerIsSelectionInDifferentParas: () => boolean;
371
371
  innerIsSelectionContainsTag: (type: import("./typings/shared").PluginFlag) => boolean;
372
- innerGetAnchorTtsMark: (id: number, startFromCursor?: boolean) => string;
372
+ innerGetAnchorTtsMark: (anchor: import("./typings/index").IAnchor, startFromCursor?: boolean) => string;
373
373
  innerGetAnchorTtsEmotionAndRole: (anchor: import("./typings/index").IAnchor) => [string, string | undefined];
374
374
  innerIsAllMarkedByAnchor: () => boolean;
375
375
  innerAddExtraAnchors: (data: import("./typings/index").IAnchor[]) => void;
@@ -392,7 +392,7 @@ declare const TinyPeony: {
392
392
  isRange(): boolean;
393
393
  isSelectionInDifferentParas(): boolean;
394
394
  isSelectionContainsTag(type: import("./typings/shared").PluginFlag): boolean;
395
- getAnchorTtsMark(id: number, startFromCursor?: boolean): string;
395
+ getAnchorTtsMark(anchor: import("./typings/index").IAnchor, startFromCursor?: boolean): string;
396
396
  getAnchorTtsEmotionAndRole(anchor: import("./typings/index").IAnchor): [string, string | undefined];
397
397
  isAllMarkedByAnchor(): boolean;
398
398
  addExtraAnchors(data: import("./typings/index").IAnchor[]): void;