@ebl-vue/editor-full 2.31.21 → 2.31.23
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 +29 -0
- package/dist/index.mjs +77 -77
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/Editor/EditorRender.vue +11 -13
- package/src/index.ts +3 -2
- package/src/plugins/outline/index.css +4 -0
- package/src/plugins/outline/index.ts +10 -3
- package/src/style.css +20 -22
package/dist/index.d.ts
CHANGED
|
@@ -23,8 +23,26 @@ locale: any;
|
|
|
23
23
|
showOutline: boolean;
|
|
24
24
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
25
25
|
|
|
26
|
+
export declare const EblEditorRender: DefineComponent<Props_2, {
|
|
27
|
+
validate: typeof validate_2;
|
|
28
|
+
getData: typeof getData_2;
|
|
29
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
30
|
+
onReady: (...args: any[]) => void;
|
|
31
|
+
onChange: (...args: any[]) => void;
|
|
32
|
+
}, string, PublicProps, Readonly<Props_2> & Readonly<{
|
|
33
|
+
onOnReady?: ((...args: any[]) => any) | undefined;
|
|
34
|
+
onOnChange?: ((...args: any[]) => any) | undefined;
|
|
35
|
+
}>, {
|
|
36
|
+
data: OutputData;
|
|
37
|
+
locale: any;
|
|
38
|
+
showOutline: boolean;
|
|
39
|
+
scrollWrap: string;
|
|
40
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
41
|
+
|
|
26
42
|
declare function getData(): Promise<unknown>;
|
|
27
43
|
|
|
44
|
+
declare function getData_2(): Promise<unknown>;
|
|
45
|
+
|
|
28
46
|
export declare interface IEblEditorSettings {
|
|
29
47
|
fileUploadEndpoint: string;
|
|
30
48
|
}
|
|
@@ -46,10 +64,21 @@ declare interface Props {
|
|
|
46
64
|
showOutline?: boolean;
|
|
47
65
|
}
|
|
48
66
|
|
|
67
|
+
declare interface Props_2 {
|
|
68
|
+
data: OutputData;
|
|
69
|
+
locale: any;
|
|
70
|
+
showOutline?: boolean;
|
|
71
|
+
scrollWrap: string;
|
|
72
|
+
}
|
|
73
|
+
|
|
49
74
|
/**
|
|
50
75
|
* 验证是否为空 */
|
|
51
76
|
declare function validate(): Promise<unknown>;
|
|
52
77
|
|
|
78
|
+
/**
|
|
79
|
+
* 验证是否为空 */
|
|
80
|
+
declare function validate_2(): Promise<unknown>;
|
|
81
|
+
|
|
53
82
|
export declare const version: string;
|
|
54
83
|
|
|
55
84
|
export declare const zhCn: I18nConfig;
|