@linker-design-plus/tiny-peony 1.4.17 → 1.4.18
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 +5 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- 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 +5 -0
- package/dist/intersection/hooks/use-editor.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -68,6 +68,7 @@ declare const TinyPeony: {
|
|
|
68
68
|
};
|
|
69
69
|
}>> & Readonly<{
|
|
70
70
|
onChange?: ((contentLength: number) => any) | undefined;
|
|
71
|
+
onClear?: (() => any) | undefined;
|
|
71
72
|
"onUpdate:textCount"?: ((value: number) => any) | undefined;
|
|
72
73
|
onAnchorListen?: ((value: import("./typings/index").IAnchor, text: string) => any) | undefined;
|
|
73
74
|
onAnchorRemove?: ((value: import("./typings/index").IAnchor) => any) | undefined;
|
|
@@ -125,6 +126,7 @@ declare const TinyPeony: {
|
|
|
125
126
|
anchorListen: (value: import("./typings/index").IAnchor, text: string) => true;
|
|
126
127
|
anchorListenStop: (value: import("./typings/index").IAnchor) => true;
|
|
127
128
|
anchorRemove: (value: import("./typings/index").IAnchor) => true;
|
|
129
|
+
clear: () => true;
|
|
128
130
|
}, import("vue").PublicProps, {
|
|
129
131
|
highlight: boolean;
|
|
130
132
|
class: string | unknown[];
|
|
@@ -214,6 +216,7 @@ declare const TinyPeony: {
|
|
|
214
216
|
};
|
|
215
217
|
}>> & Readonly<{
|
|
216
218
|
onChange?: ((contentLength: number) => any) | undefined;
|
|
219
|
+
onClear?: (() => any) | undefined;
|
|
217
220
|
"onUpdate:textCount"?: ((value: number) => any) | undefined;
|
|
218
221
|
onAnchorListen?: ((value: import("./typings/index").IAnchor, text: string) => any) | undefined;
|
|
219
222
|
onAnchorRemove?: ((value: import("./typings/index").IAnchor) => any) | undefined;
|
|
@@ -351,6 +354,7 @@ declare const TinyPeony: {
|
|
|
351
354
|
};
|
|
352
355
|
}>> & Readonly<{
|
|
353
356
|
onChange?: ((contentLength: number) => any) | undefined;
|
|
357
|
+
onClear?: (() => any) | undefined;
|
|
354
358
|
"onUpdate:textCount"?: ((value: number) => any) | undefined;
|
|
355
359
|
onAnchorListen?: ((value: import("./typings/index").IAnchor, text: string) => any) | undefined;
|
|
356
360
|
onAnchorRemove?: ((value: import("./typings/index").IAnchor) => any) | undefined;
|
|
@@ -408,6 +412,7 @@ declare const TinyPeony: {
|
|
|
408
412
|
anchorListen: (value: import("./typings/index").IAnchor, text: string) => true;
|
|
409
413
|
anchorListenStop: (value: import("./typings/index").IAnchor) => true;
|
|
410
414
|
anchorRemove: (value: import("./typings/index").IAnchor) => true;
|
|
415
|
+
clear: () => true;
|
|
411
416
|
}, string, {
|
|
412
417
|
highlight: boolean;
|
|
413
418
|
class: string | unknown[];
|