@vunk/plus 0.0.0-alpha.4 → 0.0.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/components/lottie-animation/index.mjs +3 -4
- package/components/monaco-editor/index.mjs +1 -1
- package/components/monaco-environment/index.mjs +1 -1
- package/components/typing-markdown/index.mjs +9 -7
- package/components/vditor/index.css +12 -0
- package/components/vditor/index.mjs +15872 -0
- package/index.css +13 -0
- package/package.json +8 -1
- package/components/lottie-animation/index.d.ts +0 -4
- package/components/lottie-animation/src/ctx.d.ts +0 -10
- package/components/lottie-animation/src/index.vue.d.ts +0 -21
- package/components/lottie-animation/src/types.d.ts +0 -4
- package/components/monaco-editor/index.d.ts +0 -4
- package/components/monaco-editor/src/ctx.d.ts +0 -19
- package/components/monaco-editor/src/index.vue.d.ts +0 -40
- package/components/monaco-editor/src/types.d.ts +0 -1
- package/components/monaco-environment/index.d.ts +0 -4
- package/components/monaco-environment/src/ctx.d.ts +0 -8
- package/components/monaco-environment/src/index.vue.d.ts +0 -2
- package/components/monaco-environment/src/types.d.ts +0 -1
- package/components/typing-markdown/index.d.ts +0 -4
- package/components/typing-markdown/src/core.d.ts +0 -3
- package/components/typing-markdown/src/ctx.d.ts +0 -24
- package/components/typing-markdown/src/index.vue.d.ts +0 -48
- package/components/typing-markdown/src/types.d.ts +0 -1
package/index.css
CHANGED
|
@@ -20,3 +20,16 @@
|
|
|
20
20
|
opacity: 0;
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
|
+
|
|
24
|
+
.vkf-vditor ul li {
|
|
25
|
+
list-style: initial;
|
|
26
|
+
}
|
|
27
|
+
.vkf-vditor ol li {
|
|
28
|
+
list-style: decimal;
|
|
29
|
+
}
|
|
30
|
+
.vkf-vditor.vditor{
|
|
31
|
+
--textarea-background-color: var(--el-fill-color-extra-light);
|
|
32
|
+
}
|
|
33
|
+
.vkf-vditor-footer.is-textarea-focus{
|
|
34
|
+
background-color: var(--textarea-background-color);
|
|
35
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vunk/plus",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.esm.js",
|
|
6
6
|
"scripts": {
|
|
@@ -55,6 +55,10 @@
|
|
|
55
55
|
"import": "./composables/index.mjs",
|
|
56
56
|
"types": "./composables/index.d.ts"
|
|
57
57
|
},
|
|
58
|
+
"./components/vditor": {
|
|
59
|
+
"import": "./components/vditor/index.mjs",
|
|
60
|
+
"types": "./components/vditor/index.d.ts"
|
|
61
|
+
},
|
|
58
62
|
"./components/typing-markdown": {
|
|
59
63
|
"import": "./components/typing-markdown/index.mjs",
|
|
60
64
|
"types": "./components/typing-markdown/index.d.ts"
|
|
@@ -82,6 +86,9 @@
|
|
|
82
86
|
"./index.css": {
|
|
83
87
|
"import": "./index.css"
|
|
84
88
|
},
|
|
89
|
+
"./components/vditor/index.css": {
|
|
90
|
+
"import": "./components/vditor/index.css"
|
|
91
|
+
},
|
|
85
92
|
"./components/typing-markdown/index.css": {
|
|
86
93
|
"import": "./components/typing-markdown/index.css"
|
|
87
94
|
},
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Ref } from 'vue';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<{
|
|
3
|
-
path: {
|
|
4
|
-
type: StringConstructor;
|
|
5
|
-
default: string;
|
|
6
|
-
};
|
|
7
|
-
}, {
|
|
8
|
-
lottieNode: Ref<HTMLDivElement>;
|
|
9
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
-
load: (e: import("./types").LoadEvent) => import("./types").LoadEvent;
|
|
11
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
-
path: {
|
|
13
|
-
type: StringConstructor;
|
|
14
|
-
default: string;
|
|
15
|
-
};
|
|
16
|
-
}>> & {
|
|
17
|
-
onLoad?: (e: import("./types").LoadEvent) => any;
|
|
18
|
-
}, {
|
|
19
|
-
path: string;
|
|
20
|
-
}, {}>;
|
|
21
|
-
export default _default;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { editor } from 'monaco-editor';
|
|
3
|
-
export declare const props: {
|
|
4
|
-
modelValue: {
|
|
5
|
-
type: StringConstructor;
|
|
6
|
-
default: string;
|
|
7
|
-
};
|
|
8
|
-
defaultOptions: {
|
|
9
|
-
type: PropType<editor.IStandaloneEditorConstructionOptions>;
|
|
10
|
-
default: () => {};
|
|
11
|
-
};
|
|
12
|
-
readOnly: {
|
|
13
|
-
type: BooleanConstructor;
|
|
14
|
-
default: boolean;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
export declare const emits: {
|
|
18
|
-
'update:modelValue': any;
|
|
19
|
-
};
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { Ref } from 'vue';
|
|
2
|
-
import { editor as mEditor } from 'monaco-editor';
|
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
|
4
|
-
modelValue: {
|
|
5
|
-
type: StringConstructor;
|
|
6
|
-
default: string;
|
|
7
|
-
};
|
|
8
|
-
defaultOptions: {
|
|
9
|
-
type: import("vue").PropType<mEditor.IStandaloneEditorConstructionOptions>;
|
|
10
|
-
default: () => {};
|
|
11
|
-
};
|
|
12
|
-
readOnly: {
|
|
13
|
-
type: BooleanConstructor;
|
|
14
|
-
default: boolean;
|
|
15
|
-
};
|
|
16
|
-
}, {
|
|
17
|
-
editorNode: Ref<HTMLDivElement>;
|
|
18
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
|
-
'update:modelValue': any;
|
|
20
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
|
-
modelValue: {
|
|
22
|
-
type: StringConstructor;
|
|
23
|
-
default: string;
|
|
24
|
-
};
|
|
25
|
-
defaultOptions: {
|
|
26
|
-
type: import("vue").PropType<mEditor.IStandaloneEditorConstructionOptions>;
|
|
27
|
-
default: () => {};
|
|
28
|
-
};
|
|
29
|
-
readOnly: {
|
|
30
|
-
type: BooleanConstructor;
|
|
31
|
-
default: boolean;
|
|
32
|
-
};
|
|
33
|
-
}>> & {
|
|
34
|
-
"onUpdate:modelValue"?: (...args: any[] | unknown[]) => any;
|
|
35
|
-
}, {
|
|
36
|
-
modelValue: string;
|
|
37
|
-
defaultOptions: {};
|
|
38
|
-
readOnly: boolean;
|
|
39
|
-
}, {}>;
|
|
40
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export declare const props: {
|
|
2
|
-
source: {
|
|
3
|
-
type: StringConstructor;
|
|
4
|
-
default: string;
|
|
5
|
-
};
|
|
6
|
-
delay: {
|
|
7
|
-
type: NumberConstructor;
|
|
8
|
-
default: number;
|
|
9
|
-
};
|
|
10
|
-
pause: {
|
|
11
|
-
type: BooleanConstructor;
|
|
12
|
-
default: boolean;
|
|
13
|
-
};
|
|
14
|
-
/**
|
|
15
|
-
* 禁用typing
|
|
16
|
-
*/
|
|
17
|
-
disabled: {
|
|
18
|
-
type: BooleanConstructor;
|
|
19
|
-
default: boolean;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
export declare const emits: {
|
|
23
|
-
typing: any;
|
|
24
|
-
};
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
source: {
|
|
3
|
-
type: StringConstructor;
|
|
4
|
-
default: string;
|
|
5
|
-
};
|
|
6
|
-
delay: {
|
|
7
|
-
type: NumberConstructor;
|
|
8
|
-
default: number;
|
|
9
|
-
};
|
|
10
|
-
pause: {
|
|
11
|
-
type: BooleanConstructor;
|
|
12
|
-
default: boolean;
|
|
13
|
-
};
|
|
14
|
-
disabled: {
|
|
15
|
-
type: BooleanConstructor;
|
|
16
|
-
default: boolean;
|
|
17
|
-
};
|
|
18
|
-
}, {
|
|
19
|
-
htmlText: import("vue").Ref<string>;
|
|
20
|
-
isDebouncedTyping: Readonly<import("vue").Ref<boolean>>;
|
|
21
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
22
|
-
typing: any;
|
|
23
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
24
|
-
source: {
|
|
25
|
-
type: StringConstructor;
|
|
26
|
-
default: string;
|
|
27
|
-
};
|
|
28
|
-
delay: {
|
|
29
|
-
type: NumberConstructor;
|
|
30
|
-
default: number;
|
|
31
|
-
};
|
|
32
|
-
pause: {
|
|
33
|
-
type: BooleanConstructor;
|
|
34
|
-
default: boolean;
|
|
35
|
-
};
|
|
36
|
-
disabled: {
|
|
37
|
-
type: BooleanConstructor;
|
|
38
|
-
default: boolean;
|
|
39
|
-
};
|
|
40
|
-
}>> & {
|
|
41
|
-
onTyping?: (...args: any[] | unknown[]) => any;
|
|
42
|
-
}, {
|
|
43
|
-
source: string;
|
|
44
|
-
delay: number;
|
|
45
|
-
pause: boolean;
|
|
46
|
-
disabled: boolean;
|
|
47
|
-
}, {}>;
|
|
48
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|