@linker-design-plus/tiny-peony 1.4.18 → 1.4.19
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 +6 -0
- package/dist/index.js +16 -16
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +778 -772
- package/dist/index.mjs.map +1 -1
- package/dist/intersection/components/editor/editor.d.ts +2 -0
- package/dist/intersection/components/editor/index.d.ts +6 -0
- package/dist/intersection/hooks/use-editor.d.ts +1 -0
- package/package.json +1 -1
|
@@ -86,6 +86,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
86
86
|
innerIsRange: () => boolean;
|
|
87
87
|
innerIsSelectionInDifferentParas: () => boolean;
|
|
88
88
|
innerIsSelectionContainsTag: (type: PluginFlag) => boolean;
|
|
89
|
+
innerConvertToContent: (node: HTMLElement | Text) => string | undefined;
|
|
89
90
|
innerGetAnchorTtsMark: (anchor: IAnchor, startFromCursor?: boolean) => string;
|
|
90
91
|
innerGetAnchorTtsEmotionAndRole: (anchor: IAnchor) => [string, string | undefined];
|
|
91
92
|
innerIsAllMarkedByAnchor: () => boolean;
|
|
@@ -109,6 +110,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
109
110
|
isRange(): boolean;
|
|
110
111
|
isSelectionInDifferentParas(): boolean;
|
|
111
112
|
isSelectionContainsTag(type: PluginFlag): boolean;
|
|
113
|
+
convertToContent(node: HTMLElement | Text): string | undefined;
|
|
112
114
|
getAnchorTtsMark(anchor: IAnchor, startFromCursor?: boolean): string;
|
|
113
115
|
getAnchorTtsEmotionAndRole(anchor: IAnchor): [string, string | undefined];
|
|
114
116
|
isAllMarkedByAnchor(): boolean;
|
|
@@ -87,6 +87,7 @@ declare const EditorContainer: {
|
|
|
87
87
|
innerIsRange: () => boolean;
|
|
88
88
|
innerIsSelectionInDifferentParas: () => boolean;
|
|
89
89
|
innerIsSelectionContainsTag: (type: import("../../..").PluginFlag) => boolean;
|
|
90
|
+
innerConvertToContent: (node: HTMLElement | Text) => string | undefined;
|
|
90
91
|
innerGetAnchorTtsMark: (anchor: import("../../..").IAnchor, startFromCursor?: boolean) => string;
|
|
91
92
|
innerGetAnchorTtsEmotionAndRole: (anchor: import("../../..").IAnchor) => [string, string | undefined];
|
|
92
93
|
innerIsAllMarkedByAnchor: () => boolean;
|
|
@@ -110,6 +111,7 @@ declare const EditorContainer: {
|
|
|
110
111
|
isRange(): boolean;
|
|
111
112
|
isSelectionInDifferentParas(): boolean;
|
|
112
113
|
isSelectionContainsTag(type: import("../../..").PluginFlag): boolean;
|
|
114
|
+
convertToContent(node: HTMLElement | Text): string | undefined;
|
|
113
115
|
getAnchorTtsMark(anchor: import("../../..").IAnchor, startFromCursor?: boolean): string;
|
|
114
116
|
getAnchorTtsEmotionAndRole(anchor: import("../../..").IAnchor): [string, string | undefined];
|
|
115
117
|
isAllMarkedByAnchor(): boolean;
|
|
@@ -235,6 +237,7 @@ declare const EditorContainer: {
|
|
|
235
237
|
innerIsRange: () => boolean;
|
|
236
238
|
innerIsSelectionInDifferentParas: () => boolean;
|
|
237
239
|
innerIsSelectionContainsTag: (type: import("../../..").PluginFlag) => boolean;
|
|
240
|
+
innerConvertToContent: (node: HTMLElement | Text) => string | undefined;
|
|
238
241
|
innerGetAnchorTtsMark: (anchor: import("../../..").IAnchor, startFromCursor?: boolean) => string;
|
|
239
242
|
innerGetAnchorTtsEmotionAndRole: (anchor: import("../../..").IAnchor) => [string, string | undefined];
|
|
240
243
|
innerIsAllMarkedByAnchor: () => boolean;
|
|
@@ -258,6 +261,7 @@ declare const EditorContainer: {
|
|
|
258
261
|
isRange(): boolean;
|
|
259
262
|
isSelectionInDifferentParas(): boolean;
|
|
260
263
|
isSelectionContainsTag(type: import("../../..").PluginFlag): boolean;
|
|
264
|
+
convertToContent(node: HTMLElement | Text): string | undefined;
|
|
261
265
|
getAnchorTtsMark(anchor: import("../../..").IAnchor, startFromCursor?: boolean): string;
|
|
262
266
|
getAnchorTtsEmotionAndRole(anchor: import("../../..").IAnchor): [string, string | undefined];
|
|
263
267
|
isAllMarkedByAnchor(): boolean;
|
|
@@ -373,6 +377,7 @@ declare const EditorContainer: {
|
|
|
373
377
|
innerIsRange: () => boolean;
|
|
374
378
|
innerIsSelectionInDifferentParas: () => boolean;
|
|
375
379
|
innerIsSelectionContainsTag: (type: import("../../..").PluginFlag) => boolean;
|
|
380
|
+
innerConvertToContent: (node: HTMLElement | Text) => string | undefined;
|
|
376
381
|
innerGetAnchorTtsMark: (anchor: import("../../..").IAnchor, startFromCursor?: boolean) => string;
|
|
377
382
|
innerGetAnchorTtsEmotionAndRole: (anchor: import("../../..").IAnchor) => [string, string | undefined];
|
|
378
383
|
innerIsAllMarkedByAnchor: () => boolean;
|
|
@@ -396,6 +401,7 @@ declare const EditorContainer: {
|
|
|
396
401
|
isRange(): boolean;
|
|
397
402
|
isSelectionInDifferentParas(): boolean;
|
|
398
403
|
isSelectionContainsTag(type: import("../../..").PluginFlag): boolean;
|
|
404
|
+
convertToContent(node: HTMLElement | Text): string | undefined;
|
|
399
405
|
getAnchorTtsMark(anchor: import("../../..").IAnchor, startFromCursor?: boolean): string;
|
|
400
406
|
getAnchorTtsEmotionAndRole(anchor: import("../../..").IAnchor): [string, string | undefined];
|
|
401
407
|
isAllMarkedByAnchor(): boolean;
|
|
@@ -44,6 +44,7 @@ export declare const useEditor: (editor: Ref<HTMLDivElement | undefined>, props:
|
|
|
44
44
|
isRange: () => boolean;
|
|
45
45
|
isSelectionInDifferentParas: () => boolean;
|
|
46
46
|
isSelectionContainsTag: (type: PluginFlag) => boolean;
|
|
47
|
+
convertToContent: (node: HTMLElement | Text) => string | undefined;
|
|
47
48
|
getAnchorTtsMark: (anchor: IAnchor, startFromCursor?: boolean) => string;
|
|
48
49
|
getAnchorTtsEmotionAndRole: (anchor: IAnchor) => [string, string | undefined];
|
|
49
50
|
isAllMarkedByAnchor: () => boolean;
|