@vunk/plus 1.7.1 → 1.7.2
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/agent-chat-provider/index.d.ts +8 -0
- package/components/agent-chat-provider/index.mjs +1 -1
- package/components/agent-chat-provider/src/MessageView.d.ts +29 -0
- package/components/agent-chat-provider/src/api.d.ts +3 -0
- package/components/agent-chat-provider/src/const-roles.d.ts +8 -0
- package/components/agent-chat-provider/src/const.d.ts +1 -0
- package/components/agent-chat-provider/src/index.vue.d.ts +22 -0
- package/components/agent-chat-provider/src/types.d.ts +56 -0
- package/components/agent-chat-provider/src/use.d.ts +6 -0
- package/components/avatar/index.d.ts +4 -0
- package/components/avatar/index.mjs +1 -1
- package/components/avatar/src/ctx.d.ts +6 -0
- package/components/avatar/src/index.vue.d.ts +261 -0
- package/components/avatar/src/types.d.ts +1 -0
- package/components/broadcasting-markdown/index.d.ts +7 -0
- package/components/broadcasting-markdown/index.mjs +4 -4
- package/components/broadcasting-markdown/src/const.d.ts +13 -0
- package/components/broadcasting-markdown/src/ctx.d.ts +129 -0
- package/components/broadcasting-markdown/src/howler-speech.vue.d.ts +97 -0
- package/components/broadcasting-markdown/src/index.vue.d.ts +432 -0
- package/components/broadcasting-markdown/src/paragraph.vue.d.ts +79 -0
- package/components/broadcasting-markdown/src/speech-error.vue.d.ts +60 -0
- package/components/broadcasting-markdown/src/types.d.ts +26 -0
- package/components/broadcasting-markdown/src/use.d.ts +21 -0
- package/components/bubble-list/index.d.ts +5 -0
- package/components/bubble-list/src/ctx.d.ts +28 -0
- package/components/bubble-list/src/index.vue.d.ts +484 -0
- package/components/bubble-list/src/types.d.ts +4 -0
- package/components/bubble-templates/index.d.ts +5 -0
- package/components/bubble-templates/index.mjs +1 -1
- package/components/bubble-templates/src/core.d.ts +69 -0
- package/components/bubble-templates/src/index.vue.d.ts +242 -0
- package/components/bubble-templates/src/legacy.vue.d.ts +153 -0
- package/components/bubble-templates/src/types.d.ts +45 -0
- package/components/chat-independent/index.d.ts +4 -0
- package/components/chat-independent/index.mjs +1 -1
- package/components/chat-independent/src/const.d.ts +13 -0
- package/components/chat-independent/src/ctx.d.ts +21 -0
- package/components/chat-independent/src/index.vue.d.ts +2407 -0
- package/components/chat-independent/src/types.d.ts +13 -0
- package/components/index.d.ts +0 -0
- package/components/index2.mjs +7 -7
- package/components/index3.mjs +1 -1
- package/components/lottie-animation/index.d.ts +4 -0
- package/components/lottie-animation/index.mjs +1 -1
- package/components/lottie-animation/src/ctx.d.ts +10 -0
- package/components/lottie-animation/src/index.vue.d.ts +21 -0
- package/components/lottie-animation/src/types.d.ts +4 -0
- package/components/metahuman-broadcasting/index.d.ts +5 -0
- package/components/metahuman-broadcasting/index.mjs +1 -1
- package/components/metahuman-broadcasting/src/ctx.d.ts +57 -0
- package/components/metahuman-broadcasting/src/index.vue.d.ts +878 -0
- package/components/metahuman-broadcasting/src/types.d.ts +1 -0
- package/components/monaco-editor/index.d.ts +5 -0
- package/components/monaco-editor/index.mjs +1 -1
- package/components/monaco-editor/src/ctx.d.ts +23 -0
- package/components/monaco-editor/src/index.vue.d.ts +40 -0
- package/components/monaco-editor/src/types.d.ts +1 -0
- package/components/monaco-environment/index.d.ts +4 -0
- package/components/monaco-environment/index.mjs +1 -1
- package/components/monaco-environment/src/ctx.d.ts +8 -0
- package/components/monaco-environment/src/index.vue.d.ts +2 -0
- package/components/monaco-environment/src/types.d.ts +1 -0
- package/components/pixi-frame/index.d.ts +11 -0
- package/components/pixi-frame/src/apng.vue.d.ts +161 -0
- package/components/pixi-frame/src/bitmap.vue.d.ts +158 -0
- package/components/pixi-frame/src/core.vue.d.ts +173 -0
- package/components/pixi-frame/src/ctx.d.ts +55 -0
- package/components/pixi-frame/src/index.vue.d.ts +591 -0
- package/components/pixi-frame/src/provider.vue.d.ts +2 -0
- package/components/pixi-frame/src/types.d.ts +17 -0
- package/components/pixi-frame/src/use.d.ts +16 -0
- package/components/pixi-frame/src/useSprite.d.ts +12 -0
- package/components/pixi-frame/src/video.vue.d.ts +159 -0
- package/components/pixi-frame/src/view.vue.d.ts +29 -0
- package/components/recorder-button/index.d.ts +4 -0
- package/components/recorder-button/index.mjs +1 -1
- package/components/recorder-button/src/ctx.d.ts +41 -0
- package/components/recorder-button/src/index.vue.d.ts +489 -0
- package/components/recorder-button/src/speech-to-text.d.ts +1 -0
- package/components/recorder-button/src/types.d.ts +7 -0
- package/components/routes-menu-content/index.d.ts +4 -0
- package/components/routes-menu-content/index.mjs +3 -3
- package/components/routes-menu-content/src/ctx.d.ts +17 -0
- package/components/routes-menu-content/src/index.vue.d.ts +573 -0
- package/components/routes-menu-content/src/item/core/ctx.d.ts +18 -0
- package/components/routes-menu-content/src/item/core/index.vue.d.ts +408 -0
- package/components/routes-menu-content/src/item/ctx.d.ts +14 -0
- package/components/routes-menu-content/src/item/index.vue.d.ts +539 -0
- package/components/routes-menu-content/src/types.d.ts +1 -0
- package/components/sender/index.d.ts +4 -0
- package/components/sender/index.mjs +2 -2
- package/components/sender/src/SenderHeader.vue.d.ts +256 -0
- package/components/sender/src/ctx.d.ts +64 -0
- package/components/sender/src/index.vue.d.ts +765 -0
- package/components/sender/src/types.d.ts +1 -0
- package/components/speech-button/index.d.ts +4 -0
- package/components/speech-button/index.mjs +3 -3
- package/components/speech-button/src/LoadingIcon.vue.d.ts +2 -0
- package/components/speech-button/src/RecordingIcon.vue.d.ts +2 -0
- package/components/speech-button/src/ctx.d.ts +10 -0
- package/components/speech-button/src/index.vue.d.ts +22 -0
- package/components/speech-button/src/types.d.ts +1 -0
- package/components/table-columns/index.d.ts +5 -0
- package/components/table-columns/index.mjs +4 -4
- package/components/table-columns/src/ctx.d.ts +59 -0
- package/components/table-columns/src/el-ctx.d.ts +57 -0
- package/components/table-columns/src/index.vue.d.ts +132 -0
- package/components/table-columns/src/types.d.ts +21 -0
- package/components/tables-v1/index.d.ts +5 -0
- package/components/tables-v1/index.mjs +42 -49
- package/components/tables-v1/src/ctx.d.ts +337 -0
- package/components/tables-v1/src/el-ctx.d.ts +262 -0
- package/components/tables-v1/src/index.vue.d.ts +2956 -0
- package/components/tables-v1/src/types.d.ts +3 -0
- package/components/tables-v1-checkbox/index.d.ts +5 -0
- package/components/tables-v1-checkbox/index.mjs +1 -1
- package/components/tables-v1-checkbox/src/ctx.d.ts +370 -0
- package/components/tables-v1-checkbox/src/index.vue.d.ts +3843 -0
- package/components/tables-v1-checkbox/src/types.d.ts +1 -0
- package/components/text/index.d.ts +4 -0
- package/components/text/index.mjs +1 -1
- package/components/text/src/ctx.d.ts +356 -0
- package/components/text/src/index.vue.d.ts +2335 -0
- package/components/text/src/types.d.ts +1 -0
- package/components/typing-markdown/index.d.ts +4 -0
- package/components/typing-markdown/index.mjs +1 -1
- package/components/typing-markdown/src/core.d.ts +2 -0
- package/components/typing-markdown/src/ctx.d.ts +41 -0
- package/components/typing-markdown/src/index.vue.d.ts +75 -0
- package/components/typing-markdown/src/types.d.ts +1 -0
- package/components/vditor/index.d.ts +5 -0
- package/components/vditor/index.mjs +3 -3
- package/components/vditor/src/ctx.d.ts +38 -0
- package/components/vditor/src/handle-fullscreen.vue.d.ts +18 -0
- package/components/vditor/src/handle-value.vue.d.ts +18 -0
- package/components/vditor/src/index.vue.d.ts +143 -0
- package/components/vditor/src/types.d.ts +9 -0
- package/components/vditor/src/use.d.ts +4 -0
- package/composables/el-breakpoints/index.d.ts +1 -1
- package/composables/el-breakpoints/index.mjs +2 -2
- package/icons/end/index.mjs +1 -1
- package/icons/keyboard/index.mjs +1 -1
- package/icons/start/index.mjs +1 -1
- package/icons/voice/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -243,7 +243,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
243
243
|
innerHTML: _ctx.htmlText
|
|
244
244
|
}, null, 10, _hoisted_1);
|
|
245
245
|
}
|
|
246
|
-
var VkTypingMarkdown = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "
|
|
246
|
+
var VkTypingMarkdown = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:\\labCode\\vunk-plus\\packages\\components\\typing-markdown\\src\\index.vue"]]);
|
|
247
247
|
|
|
248
248
|
var types = /*#__PURE__*/Object.freeze({
|
|
249
249
|
__proto__: null
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { MarkdownItAsync } from 'markdown-it-async';
|
|
2
|
+
import type { PropType } from 'vue';
|
|
3
|
+
export declare const props: {
|
|
4
|
+
source: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
delay: {
|
|
9
|
+
type: NumberConstructor;
|
|
10
|
+
default: number;
|
|
11
|
+
};
|
|
12
|
+
pause: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* 禁用typing
|
|
18
|
+
*/
|
|
19
|
+
disabled: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* @description markdown-it 配置
|
|
25
|
+
*/
|
|
26
|
+
markdownItSetup: {
|
|
27
|
+
type: PropType<(md: MarkdownItAsync) => void>;
|
|
28
|
+
default: null;
|
|
29
|
+
};
|
|
30
|
+
finished: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
};
|
|
33
|
+
loading: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
export declare const emits: {
|
|
39
|
+
typing: null;
|
|
40
|
+
'update:finished': null;
|
|
41
|
+
};
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
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
|
+
markdownItSetup: {
|
|
19
|
+
type: import("vue").PropType<(md: import("markdown-it-async").MarkdownItAsync) => void>;
|
|
20
|
+
default: null;
|
|
21
|
+
};
|
|
22
|
+
finished: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
};
|
|
25
|
+
loading: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
}>, {
|
|
30
|
+
htmlText: import("vue").Ref<string, string>;
|
|
31
|
+
isDebouncedTyping: Readonly<import("vue").Ref<boolean, boolean>>;
|
|
32
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
33
|
+
typing: null;
|
|
34
|
+
'update:finished': null;
|
|
35
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
36
|
+
source: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
delay: {
|
|
41
|
+
type: NumberConstructor;
|
|
42
|
+
default: number;
|
|
43
|
+
};
|
|
44
|
+
pause: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
disabled: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
markdownItSetup: {
|
|
53
|
+
type: import("vue").PropType<(md: import("markdown-it-async").MarkdownItAsync) => void>;
|
|
54
|
+
default: null;
|
|
55
|
+
};
|
|
56
|
+
finished: {
|
|
57
|
+
type: BooleanConstructor;
|
|
58
|
+
};
|
|
59
|
+
loading: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
63
|
+
}>> & Readonly<{
|
|
64
|
+
onTyping?: ((...args: any[]) => any) | undefined;
|
|
65
|
+
"onUpdate:finished"?: ((...args: any[]) => any) | undefined;
|
|
66
|
+
}>, {
|
|
67
|
+
source: string;
|
|
68
|
+
delay: number;
|
|
69
|
+
pause: boolean;
|
|
70
|
+
disabled: boolean;
|
|
71
|
+
markdownItSetup: (md: import("markdown-it-async").MarkdownItAsync) => void;
|
|
72
|
+
finished: boolean;
|
|
73
|
+
loading: boolean;
|
|
74
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
75
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -117,7 +117,7 @@ var _sfc_main$2 = defineComponent({
|
|
|
117
117
|
}
|
|
118
118
|
});
|
|
119
119
|
|
|
120
|
-
var HandleValue = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__file", "
|
|
120
|
+
var HandleValue = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__file", "D:\\labCode\\vunk-plus\\packages\\components\\vditor\\src\\handle-value.vue"]]);
|
|
121
121
|
|
|
122
122
|
var _sfc_main$1 = defineComponent({
|
|
123
123
|
props: {
|
|
@@ -159,7 +159,7 @@ var _sfc_main$1 = defineComponent({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
|
|
162
|
-
var HandleFullscreen = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__file", "
|
|
162
|
+
var HandleFullscreen = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__file", "D:\\labCode\\vunk-plus\\packages\\components\\vditor\\src\\handle-fullscreen.vue"]]);
|
|
163
163
|
|
|
164
164
|
var _sfc_main = defineComponent({
|
|
165
165
|
name: "VkVditor",
|
|
@@ -277,7 +277,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
277
277
|
/* STABLE_FRAGMENT */
|
|
278
278
|
);
|
|
279
279
|
}
|
|
280
|
-
var VkVditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "
|
|
280
|
+
var VkVditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:\\labCode\\vunk-plus\\packages\\components\\vditor\\src\\index.vue"]]);
|
|
281
281
|
|
|
282
282
|
var types = /*#__PURE__*/Object.freeze({
|
|
283
283
|
__proto__: null
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { DefaultOptions } from './types';
|
|
3
|
+
import Vditor from 'vditor';
|
|
4
|
+
export declare const props: {
|
|
5
|
+
modelValue: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
|
+
defaultOptions: {
|
|
10
|
+
type: PropType<DefaultOptions>;
|
|
11
|
+
default: () => DefaultOptions;
|
|
12
|
+
};
|
|
13
|
+
placeholder: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
toolbar: {
|
|
18
|
+
type: PropType<string[]>;
|
|
19
|
+
default: () => string[];
|
|
20
|
+
};
|
|
21
|
+
fullscreen: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"modelValue", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"toolbar", keyof T2> | Extract<"defaultOptions", keyof T2> | Extract<"fullscreen", keyof T2>)[]>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"toolbar", keyof T2>, KE> | Exclude<Extract<"defaultOptions", keyof T2>, KE> | Exclude<Extract<"fullscreen", keyof T2>, KE> : Extract<"modelValue", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"toolbar", keyof T2> | Extract<"defaultOptions", keyof T2> | Extract<"fullscreen", keyof T2>]: { [k in Extract<"modelValue", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"toolbar", keyof T2> | Extract<"defaultOptions", keyof T2> | Extract<"fullscreen", keyof T2>]: T2[k]; }[P]; }>;
|
|
27
|
+
export declare const emits: {
|
|
28
|
+
load: (e: Vditor) => Vditor;
|
|
29
|
+
'update:modelValue': (e: string) => string;
|
|
30
|
+
ctrlEnter: (e: string) => string;
|
|
31
|
+
'update:fullscreen': (e: boolean) => boolean;
|
|
32
|
+
};
|
|
33
|
+
export declare const createOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("load" | "update:modelValue" | "ctrlEnter" | "update:fullscreen")[]>(emit: T2, excludes?: EX | undefined) => { [P in EX extends (infer KE)[] ? Exclude<"load", KE> | Exclude<"update:modelValue", KE> | Exclude<"ctrlEnter", KE> | Exclude<"update:fullscreen", KE> : "load" | "update:modelValue" | "ctrlEnter" | "update:fullscreen"]: {
|
|
34
|
+
load: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
35
|
+
'update:modelValue': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
36
|
+
ctrlEnter: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
37
|
+
'update:fullscreen': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
38
|
+
}[P]; };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
fullscreen: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
};
|
|
6
|
+
}>, () => null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
'update:fullscreen': null;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
+
fullscreen: {
|
|
10
|
+
type: BooleanConstructor;
|
|
11
|
+
default: boolean;
|
|
12
|
+
};
|
|
13
|
+
}>> & Readonly<{
|
|
14
|
+
"onUpdate:fullscreen"?: ((...args: any[]) => any) | undefined;
|
|
15
|
+
}>, {
|
|
16
|
+
fullscreen: boolean;
|
|
17
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
modelValue: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
}>, () => null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
'update:modelValue': null;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
+
modelValue: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
}>> & Readonly<{
|
|
14
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
15
|
+
}>, {
|
|
16
|
+
modelValue: string;
|
|
17
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import Vditor from 'vditor';
|
|
2
|
+
import { Ref } from 'vue';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
modelValue: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
defaultOptions: {
|
|
9
|
+
type: import("vue").PropType<import("./types").DefaultOptions>;
|
|
10
|
+
default: () => import("./types").DefaultOptions;
|
|
11
|
+
};
|
|
12
|
+
placeholder: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
toolbar: {
|
|
17
|
+
type: import("vue").PropType<string[]>;
|
|
18
|
+
default: () => string[];
|
|
19
|
+
};
|
|
20
|
+
fullscreen: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
}>, {
|
|
25
|
+
vditorNode: Ref<HTMLDivElement, HTMLDivElement>;
|
|
26
|
+
isTextareaFocus: Ref<boolean, boolean>;
|
|
27
|
+
ready: Ref<boolean, boolean>;
|
|
28
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
29
|
+
load: (e: Vditor) => Vditor;
|
|
30
|
+
'update:modelValue': (e: string) => string;
|
|
31
|
+
ctrlEnter: (e: string) => string;
|
|
32
|
+
'update:fullscreen': (e: boolean) => boolean;
|
|
33
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
34
|
+
modelValue: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
defaultOptions: {
|
|
39
|
+
type: import("vue").PropType<import("./types").DefaultOptions>;
|
|
40
|
+
default: () => import("./types").DefaultOptions;
|
|
41
|
+
};
|
|
42
|
+
placeholder: {
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
toolbar: {
|
|
47
|
+
type: import("vue").PropType<string[]>;
|
|
48
|
+
default: () => string[];
|
|
49
|
+
};
|
|
50
|
+
fullscreen: {
|
|
51
|
+
type: BooleanConstructor;
|
|
52
|
+
default: boolean;
|
|
53
|
+
};
|
|
54
|
+
}>> & Readonly<{
|
|
55
|
+
onLoad?: ((e: Vditor) => any) | undefined;
|
|
56
|
+
"onUpdate:modelValue"?: ((e: string) => any) | undefined;
|
|
57
|
+
onCtrlEnter?: ((e: string) => any) | undefined;
|
|
58
|
+
"onUpdate:fullscreen"?: ((e: boolean) => any) | undefined;
|
|
59
|
+
}>, {
|
|
60
|
+
modelValue: string;
|
|
61
|
+
placeholder: string;
|
|
62
|
+
toolbar: string[];
|
|
63
|
+
defaultOptions: IOptions;
|
|
64
|
+
fullscreen: boolean;
|
|
65
|
+
}, {}, {
|
|
66
|
+
HandleValue: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
67
|
+
modelValue: {
|
|
68
|
+
type: StringConstructor;
|
|
69
|
+
default: string;
|
|
70
|
+
};
|
|
71
|
+
}>, () => null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
72
|
+
'update:modelValue': null;
|
|
73
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
74
|
+
modelValue: {
|
|
75
|
+
type: StringConstructor;
|
|
76
|
+
default: string;
|
|
77
|
+
};
|
|
78
|
+
}>> & Readonly<{
|
|
79
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
80
|
+
}>, {
|
|
81
|
+
modelValue: string;
|
|
82
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
83
|
+
HandleFullscreen: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
84
|
+
fullscreen: {
|
|
85
|
+
type: BooleanConstructor;
|
|
86
|
+
default: boolean;
|
|
87
|
+
};
|
|
88
|
+
}>, () => null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
89
|
+
'update:fullscreen': null;
|
|
90
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
91
|
+
fullscreen: {
|
|
92
|
+
type: BooleanConstructor;
|
|
93
|
+
default: boolean;
|
|
94
|
+
};
|
|
95
|
+
}>> & Readonly<{
|
|
96
|
+
"onUpdate:fullscreen"?: ((...args: any[]) => any) | undefined;
|
|
97
|
+
}>, {
|
|
98
|
+
fullscreen: boolean;
|
|
99
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
100
|
+
VkAsyncTeleport: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
101
|
+
to: {
|
|
102
|
+
type: import("vue").PropType<string | import("vue").RendererElement>;
|
|
103
|
+
default: any;
|
|
104
|
+
};
|
|
105
|
+
sleep: {
|
|
106
|
+
type: NumberConstructor;
|
|
107
|
+
default: number;
|
|
108
|
+
};
|
|
109
|
+
await: {
|
|
110
|
+
type: PromiseConstructor;
|
|
111
|
+
default: any;
|
|
112
|
+
};
|
|
113
|
+
teleport: {
|
|
114
|
+
type: BooleanConstructor;
|
|
115
|
+
default: boolean;
|
|
116
|
+
};
|
|
117
|
+
}>, {
|
|
118
|
+
ready: import("vue").Ref<boolean, boolean>;
|
|
119
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
120
|
+
to: {
|
|
121
|
+
type: import("vue").PropType<string | import("vue").RendererElement>;
|
|
122
|
+
default: any;
|
|
123
|
+
};
|
|
124
|
+
sleep: {
|
|
125
|
+
type: NumberConstructor;
|
|
126
|
+
default: number;
|
|
127
|
+
};
|
|
128
|
+
await: {
|
|
129
|
+
type: PromiseConstructor;
|
|
130
|
+
default: any;
|
|
131
|
+
};
|
|
132
|
+
teleport: {
|
|
133
|
+
type: BooleanConstructor;
|
|
134
|
+
default: boolean;
|
|
135
|
+
};
|
|
136
|
+
}>> & Readonly<{}>, {
|
|
137
|
+
to: string | import("vue").RendererElement;
|
|
138
|
+
sleep: number;
|
|
139
|
+
await: Promise<unknown>;
|
|
140
|
+
teleport: boolean;
|
|
141
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
142
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
143
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { NonVoidable } from '@vunk/core';
|
|
2
|
+
import Vditor from 'vditor';
|
|
3
|
+
import { Emitter } from 'mitt';
|
|
4
|
+
export type DefaultOptions = NonVoidable<ConstructorParameters<typeof Vditor>[1]>;
|
|
5
|
+
export type Toolbar = DefaultOptions['toolbar'];
|
|
6
|
+
export type Mitter = Emitter<{
|
|
7
|
+
input: string;
|
|
8
|
+
}>;
|
|
9
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare
|
|
1
|
+
export declare function useElBreakpoints(): {
|
|
2
2
|
breakpoints: Record<"sm" | "md" | "lg" | "xl", import("vue").Ref<boolean, boolean>> & {
|
|
3
3
|
greaterOrEqual: (k: import("@vueuse/shared").MaybeRefOrGetter<"sm" | "md" | "lg" | "xl">) => import("vue").Ref<boolean>;
|
|
4
4
|
smallerOrEqual: (k: import("@vueuse/shared").MaybeRefOrGetter<"sm" | "md" | "lg" | "xl">) => import("vue").Ref<boolean>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useBreakpoints } from '@vueuse/core';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
function useElBreakpoints() {
|
|
4
4
|
const breakpoints = useBreakpoints({
|
|
5
5
|
sm: 768,
|
|
6
6
|
md: 992,
|
|
@@ -14,6 +14,6 @@ const useElBreakpoints = () => {
|
|
|
14
14
|
isMobile,
|
|
15
15
|
isDesktop
|
|
16
16
|
};
|
|
17
|
-
}
|
|
17
|
+
}
|
|
18
18
|
|
|
19
19
|
export { useElBreakpoints };
|
package/icons/end/index.mjs
CHANGED
|
@@ -18,7 +18,7 @@ function _sfc_render(_ctx, _cache) {
|
|
|
18
18
|
}, null, -1 /* HOISTED */)
|
|
19
19
|
])))
|
|
20
20
|
}
|
|
21
|
-
var Core = /*#__PURE__*/_export_sfc(_sfc_main, [['render',_sfc_render],['__file',"
|
|
21
|
+
var Core = /*#__PURE__*/_export_sfc(_sfc_main, [['render',_sfc_render],['__file',"D:\\labCode\\vunk-plus\\packages\\icons\\end\\src\\index.vue"]]);
|
|
22
22
|
|
|
23
23
|
const Icon = function(props) {
|
|
24
24
|
return h(ElIcon, props, () => h(Core));
|
package/icons/keyboard/index.mjs
CHANGED
|
@@ -18,7 +18,7 @@ function _sfc_render(_ctx, _cache) {
|
|
|
18
18
|
}, null, -1 /* HOISTED */)
|
|
19
19
|
])))
|
|
20
20
|
}
|
|
21
|
-
var Core = /*#__PURE__*/_export_sfc(_sfc_main, [['render',_sfc_render],['__file',"
|
|
21
|
+
var Core = /*#__PURE__*/_export_sfc(_sfc_main, [['render',_sfc_render],['__file',"D:\\labCode\\vunk-plus\\packages\\icons\\keyboard\\src\\index.vue"]]);
|
|
22
22
|
|
|
23
23
|
const Icon = function(props) {
|
|
24
24
|
return h(ElIcon, props, () => h(Core));
|
package/icons/start/index.mjs
CHANGED
|
@@ -18,7 +18,7 @@ function _sfc_render(_ctx, _cache) {
|
|
|
18
18
|
}, null, -1 /* HOISTED */)
|
|
19
19
|
])))
|
|
20
20
|
}
|
|
21
|
-
var Core = /*#__PURE__*/_export_sfc(_sfc_main, [['render',_sfc_render],['__file',"
|
|
21
|
+
var Core = /*#__PURE__*/_export_sfc(_sfc_main, [['render',_sfc_render],['__file',"D:\\labCode\\vunk-plus\\packages\\icons\\start\\src\\index.vue"]]);
|
|
22
22
|
|
|
23
23
|
const Icon = function(props) {
|
|
24
24
|
return h(ElIcon, props, () => h(Core));
|
package/icons/voice/index.mjs
CHANGED
|
@@ -33,7 +33,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33
33
|
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
34
34
|
);
|
|
35
35
|
}
|
|
36
|
-
var Core = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "
|
|
36
|
+
var Core = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:\\labCode\\vunk-plus\\packages\\icons\\voice\\src\\index.vue"]]);
|
|
37
37
|
|
|
38
38
|
const Icon = function(props) {
|
|
39
39
|
return h(ElIcon, props, () => h(Core));
|