@linker-design-plus/tiny-peony 1.3.9 → 1.3.11
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 -15
- package/dist/index.js +32 -32
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1588 -1584
- package/dist/index.mjs.map +1 -1
- package/dist/intersection/components/editor/editor.d.ts +2 -9
- package/dist/intersection/components/editor/index.d.ts +6 -15
- package/dist/intersection/components/modals/contextMenu.vue.d.ts +1 -6
- package/dist/intersection/hooks/use-editor.d.ts +1 -0
- package/dist/tiny-peony.css +1 -1
- package/dist/utils/shared.d.ts +5 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -66,10 +66,6 @@ declare const TinyPeony: {
|
|
|
66
66
|
type: (StringConstructor | NumberConstructor)[];
|
|
67
67
|
default: string;
|
|
68
68
|
};
|
|
69
|
-
pastable: {
|
|
70
|
-
type: BooleanConstructor;
|
|
71
|
-
default: boolean;
|
|
72
|
-
};
|
|
73
69
|
}>> & Readonly<{
|
|
74
70
|
onChange?: ((contentLength: number) => any) | undefined;
|
|
75
71
|
"onUpdate:textCount"?: ((value: number) => any) | undefined;
|
|
@@ -95,6 +91,7 @@ declare const TinyPeony: {
|
|
|
95
91
|
innerIsAllMarkedByAnchor: () => boolean;
|
|
96
92
|
innerAddExtraAnchors: (data: import("./typings/index").IAnchor[]) => void;
|
|
97
93
|
innerClearContent: () => void;
|
|
94
|
+
innerInsertContentAtCursor: (_content: string | string[]) => void;
|
|
98
95
|
innerRenderHightlight: (matchingContent: string) => void;
|
|
99
96
|
innerUnrenderHightlight: () => void;
|
|
100
97
|
}, {}, {}, {
|
|
@@ -116,6 +113,7 @@ declare const TinyPeony: {
|
|
|
116
113
|
isAllMarkedByAnchor(): boolean;
|
|
117
114
|
addExtraAnchors(data: import("./typings/index").IAnchor[]): void;
|
|
118
115
|
clearContent(): void;
|
|
116
|
+
insertContentAtCursor(_content: string | string[]): void;
|
|
119
117
|
clear(): Promise<void>;
|
|
120
118
|
renderHighlight(matchingContent: string): void;
|
|
121
119
|
unrenderHighlight(): void;
|
|
@@ -133,7 +131,6 @@ declare const TinyPeony: {
|
|
|
133
131
|
maxLength: number;
|
|
134
132
|
showWordLimit: boolean;
|
|
135
133
|
simple: boolean;
|
|
136
|
-
pastable: boolean;
|
|
137
134
|
preTime: string;
|
|
138
135
|
realTime: string;
|
|
139
136
|
textCount: number;
|
|
@@ -213,10 +210,6 @@ declare const TinyPeony: {
|
|
|
213
210
|
type: (StringConstructor | NumberConstructor)[];
|
|
214
211
|
default: string;
|
|
215
212
|
};
|
|
216
|
-
pastable: {
|
|
217
|
-
type: BooleanConstructor;
|
|
218
|
-
default: boolean;
|
|
219
|
-
};
|
|
220
213
|
}>> & Readonly<{
|
|
221
214
|
onChange?: ((contentLength: number) => any) | undefined;
|
|
222
215
|
"onUpdate:textCount"?: ((value: number) => any) | undefined;
|
|
@@ -242,6 +235,7 @@ declare const TinyPeony: {
|
|
|
242
235
|
innerIsAllMarkedByAnchor: () => boolean;
|
|
243
236
|
innerAddExtraAnchors: (data: import("./typings/index").IAnchor[]) => void;
|
|
244
237
|
innerClearContent: () => void;
|
|
238
|
+
innerInsertContentAtCursor: (_content: string | string[]) => void;
|
|
245
239
|
innerRenderHightlight: (matchingContent: string) => void;
|
|
246
240
|
innerUnrenderHightlight: () => void;
|
|
247
241
|
}, {}, {}, {
|
|
@@ -263,6 +257,7 @@ declare const TinyPeony: {
|
|
|
263
257
|
isAllMarkedByAnchor(): boolean;
|
|
264
258
|
addExtraAnchors(data: import("./typings/index").IAnchor[]): void;
|
|
265
259
|
clearContent(): void;
|
|
260
|
+
insertContentAtCursor(_content: string | string[]): void;
|
|
266
261
|
clear(): Promise<void>;
|
|
267
262
|
renderHighlight(matchingContent: string): void;
|
|
268
263
|
unrenderHighlight(): void;
|
|
@@ -274,7 +269,6 @@ declare const TinyPeony: {
|
|
|
274
269
|
maxLength: number;
|
|
275
270
|
showWordLimit: boolean;
|
|
276
271
|
simple: boolean;
|
|
277
|
-
pastable: boolean;
|
|
278
272
|
preTime: string;
|
|
279
273
|
realTime: string;
|
|
280
274
|
textCount: number;
|
|
@@ -351,10 +345,6 @@ declare const TinyPeony: {
|
|
|
351
345
|
type: (StringConstructor | NumberConstructor)[];
|
|
352
346
|
default: string;
|
|
353
347
|
};
|
|
354
|
-
pastable: {
|
|
355
|
-
type: BooleanConstructor;
|
|
356
|
-
default: boolean;
|
|
357
|
-
};
|
|
358
348
|
}>> & Readonly<{
|
|
359
349
|
onChange?: ((contentLength: number) => any) | undefined;
|
|
360
350
|
"onUpdate:textCount"?: ((value: number) => any) | undefined;
|
|
@@ -380,6 +370,7 @@ declare const TinyPeony: {
|
|
|
380
370
|
innerIsAllMarkedByAnchor: () => boolean;
|
|
381
371
|
innerAddExtraAnchors: (data: import("./typings/index").IAnchor[]) => void;
|
|
382
372
|
innerClearContent: () => void;
|
|
373
|
+
innerInsertContentAtCursor: (_content: string | string[]) => void;
|
|
383
374
|
innerRenderHightlight: (matchingContent: string) => void;
|
|
384
375
|
innerUnrenderHightlight: () => void;
|
|
385
376
|
}, {}, {}, {
|
|
@@ -401,6 +392,7 @@ declare const TinyPeony: {
|
|
|
401
392
|
isAllMarkedByAnchor(): boolean;
|
|
402
393
|
addExtraAnchors(data: import("./typings/index").IAnchor[]): void;
|
|
403
394
|
clearContent(): void;
|
|
395
|
+
insertContentAtCursor(_content: string | string[]): void;
|
|
404
396
|
clear(): Promise<void>;
|
|
405
397
|
renderHighlight(matchingContent: string): void;
|
|
406
398
|
unrenderHighlight(): void;
|
|
@@ -418,7 +410,6 @@ declare const TinyPeony: {
|
|
|
418
410
|
maxLength: number;
|
|
419
411
|
showWordLimit: boolean;
|
|
420
412
|
simple: boolean;
|
|
421
|
-
pastable: boolean;
|
|
422
413
|
preTime: string;
|
|
423
414
|
realTime: string;
|
|
424
415
|
textCount: number;
|