@vunk/plus 0.0.0-alpha.2 → 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/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/index.d.ts ADDED
File without changes
package/index.esm.js CHANGED
@@ -1 +1 @@
1
- export * from '@vunk/plus/shared';
1
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vunk/plus",
3
- "version": "0.0.0-alpha.2",
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,4 +0,0 @@
1
- import VkLottieAnimation from './src/index.vue';
2
- export * as __VkLottieAnimation from './src/types';
3
- export { VkLottieAnimation, };
4
- export default VkLottieAnimation;
@@ -1,10 +0,0 @@
1
- import { LoadEvent } from './types';
2
- export declare const props: {
3
- path: {
4
- type: StringConstructor;
5
- default: string;
6
- };
7
- };
8
- export declare const emits: {
9
- load: (e: LoadEvent) => LoadEvent;
10
- };
@@ -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,4 +0,0 @@
1
- import { AnimationItem } from 'lottie-web';
2
- export interface LoadEvent {
3
- animation: AnimationItem;
4
- }
@@ -1,4 +0,0 @@
1
- import VkMonacoEditor from './src/index.vue';
2
- export * as __VkMonacoEditor from './src/types';
3
- export { VkMonacoEditor, };
4
- export default VkMonacoEditor;
@@ -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,4 +0,0 @@
1
- import VkMonacoEnvironment from './src/index.vue';
2
- export * as __VkMonacoEnvironment from './src/types';
3
- export { VkMonacoEnvironment, };
4
- export default VkMonacoEnvironment;
@@ -1,8 +0,0 @@
1
- import { PropType } from 'vue';
2
- export declare const props: {
3
- modelValue: {
4
- type: PropType<unknown>;
5
- default: () => {};
6
- };
7
- };
8
- export declare const emits: {};
@@ -1,2 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
- export default _default;
@@ -1 +0,0 @@
1
- export {};
@@ -1,4 +0,0 @@
1
- import VkTypingMarkdown from './src/index.vue';
2
- export * as __VkTypingMarkdown from './src/types';
3
- export { VkTypingMarkdown, };
4
- export default VkTypingMarkdown;
@@ -1,2 +0,0 @@
1
- import MarkdownIt from 'markdown-it';
2
- export declare const createMarkdownIt: () => Promise<MarkdownIt>;
@@ -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 {};