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