@vunk/plus 1.7.0 → 1.7.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/index3.mjs +3 -1
- package/package.json +1 -1
- package/components/agent-chat-provider/index.d.ts +0 -8
- package/components/agent-chat-provider/src/MessageView.d.ts +0 -29
- package/components/agent-chat-provider/src/api.d.ts +0 -3
- package/components/agent-chat-provider/src/const-roles.d.ts +0 -8
- package/components/agent-chat-provider/src/const.d.ts +0 -1
- package/components/agent-chat-provider/src/index.vue.d.ts +0 -22
- package/components/agent-chat-provider/src/types.d.ts +0 -56
- package/components/agent-chat-provider/src/use.d.ts +0 -6
- package/components/avatar/index.d.ts +0 -4
- package/components/avatar/src/ctx.d.ts +0 -6
- package/components/avatar/src/index.vue.d.ts +0 -180
- package/components/avatar/src/types.d.ts +0 -1
- package/components/broadcasting-markdown/index.d.ts +0 -7
- package/components/broadcasting-markdown/src/const.d.ts +0 -13
- package/components/broadcasting-markdown/src/ctx.d.ts +0 -129
- package/components/broadcasting-markdown/src/howler-speech.vue.d.ts +0 -104
- package/components/broadcasting-markdown/src/index.vue.d.ts +0 -439
- package/components/broadcasting-markdown/src/paragraph.vue.d.ts +0 -79
- package/components/broadcasting-markdown/src/speech-error.vue.d.ts +0 -67
- package/components/broadcasting-markdown/src/types.d.ts +0 -26
- package/components/broadcasting-markdown/src/use.d.ts +0 -21
- package/components/bubble-list/index.d.ts +0 -5
- package/components/bubble-list/src/ctx.d.ts +0 -28
- package/components/bubble-list/src/index.vue.d.ts +0 -454
- package/components/bubble-list/src/types.d.ts +0 -4
- package/components/bubble-templates/index.d.ts +0 -5
- package/components/bubble-templates/src/core.d.ts +0 -69
- package/components/bubble-templates/src/index.vue.d.ts +0 -242
- package/components/bubble-templates/src/legacy.vue.d.ts +0 -153
- package/components/bubble-templates/src/types.d.ts +0 -45
- package/components/chat-independent/index.d.ts +0 -4
- package/components/chat-independent/src/const.d.ts +0 -13
- package/components/chat-independent/src/ctx.d.ts +0 -21
- package/components/chat-independent/src/index.vue.d.ts +0 -2073
- package/components/chat-independent/src/types.d.ts +0 -13
- package/components/index.d.ts +0 -0
- 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/metahuman-broadcasting/index.d.ts +0 -5
- package/components/metahuman-broadcasting/src/ctx.d.ts +0 -57
- package/components/metahuman-broadcasting/src/index.vue.d.ts +0 -885
- package/components/metahuman-broadcasting/src/types.d.ts +0 -1
- package/components/monaco-editor/index.d.ts +0 -5
- package/components/monaco-editor/src/ctx.d.ts +0 -23
- 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/pixi-frame/index.d.ts +0 -11
- package/components/pixi-frame/src/apng.vue.d.ts +0 -161
- package/components/pixi-frame/src/bitmap.vue.d.ts +0 -158
- package/components/pixi-frame/src/core.vue.d.ts +0 -173
- package/components/pixi-frame/src/ctx.d.ts +0 -55
- package/components/pixi-frame/src/index.vue.d.ts +0 -591
- package/components/pixi-frame/src/provider.vue.d.ts +0 -2
- package/components/pixi-frame/src/types.d.ts +0 -17
- package/components/pixi-frame/src/use.d.ts +0 -16
- package/components/pixi-frame/src/useSprite.d.ts +0 -12
- package/components/pixi-frame/src/video.vue.d.ts +0 -159
- package/components/pixi-frame/src/view.vue.d.ts +0 -29
- package/components/recorder-button/index.d.ts +0 -4
- package/components/recorder-button/src/ctx.d.ts +0 -41
- package/components/recorder-button/src/index.vue.d.ts +0 -333
- package/components/recorder-button/src/speech-to-text.d.ts +0 -1
- package/components/recorder-button/src/types.d.ts +0 -7
- package/components/routes-menu-content/index.d.ts +0 -4
- package/components/routes-menu-content/src/ctx.d.ts +0 -17
- package/components/routes-menu-content/src/index.vue.d.ts +0 -350
- package/components/routes-menu-content/src/item/core/ctx.d.ts +0 -18
- package/components/routes-menu-content/src/item/core/index.vue.d.ts +0 -185
- package/components/routes-menu-content/src/item/ctx.d.ts +0 -14
- package/components/routes-menu-content/src/item/index.vue.d.ts +0 -316
- package/components/routes-menu-content/src/types.d.ts +0 -1
- package/components/sender/index.d.ts +0 -4
- package/components/sender/src/SenderHeader.vue.d.ts +0 -270
- package/components/sender/src/ctx.d.ts +0 -64
- package/components/sender/src/index.vue.d.ts +0 -779
- package/components/sender/src/types.d.ts +0 -1
- package/components/speech-button/index.d.ts +0 -4
- package/components/speech-button/src/LoadingIcon.vue.d.ts +0 -2
- package/components/speech-button/src/RecordingIcon.vue.d.ts +0 -2
- package/components/speech-button/src/ctx.d.ts +0 -10
- package/components/speech-button/src/index.vue.d.ts +0 -22
- package/components/speech-button/src/types.d.ts +0 -1
- package/components/table-columns/index.d.ts +0 -5
- package/components/table-columns/src/ctx.d.ts +0 -59
- package/components/table-columns/src/el-ctx.d.ts +0 -57
- package/components/table-columns/src/index.vue.d.ts +0 -266
- package/components/table-columns/src/types.d.ts +0 -21
- package/components/tables-v1/index.d.ts +0 -5
- package/components/tables-v1/src/ctx.d.ts +0 -280
- package/components/tables-v1/src/el-ctx.d.ts +0 -262
- package/components/tables-v1/src/index.vue.d.ts +0 -3054
- package/components/tables-v1/src/types.d.ts +0 -3
- package/components/tables-v1-checkbox/index.d.ts +0 -5
- package/components/tables-v1-checkbox/src/ctx.d.ts +0 -313
- package/components/tables-v1-checkbox/src/index.vue.d.ts +0 -3831
- package/components/tables-v1-checkbox/src/types.d.ts +0 -1
- package/components/text/index.d.ts +0 -4
- package/components/text/src/ctx.d.ts +0 -341
- package/components/text/src/index.vue.d.ts +0 -4593
- package/components/text/src/types.d.ts +0 -1
- package/components/typing-markdown/index.d.ts +0 -4
- package/components/typing-markdown/src/core.d.ts +0 -2
- package/components/typing-markdown/src/ctx.d.ts +0 -41
- package/components/typing-markdown/src/index.vue.d.ts +0 -75
- package/components/typing-markdown/src/types.d.ts +0 -1
- package/components/vditor/index.d.ts +0 -5
- package/components/vditor/src/ctx.d.ts +0 -38
- package/components/vditor/src/handle-fullscreen.vue.d.ts +0 -18
- package/components/vditor/src/handle-value.vue.d.ts +0 -18
- package/components/vditor/src/index.vue.d.ts +0 -143
- package/components/vditor/src/types.d.ts +0 -9
- package/components/vditor/src/use.d.ts +0 -4
package/components/index3.mjs
CHANGED
|
@@ -79446,8 +79446,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
79446
79446
|
|
|
79447
79447
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
79448
79448
|
return openBlock(), createBlock($setup["VkBubbleRenderTemplates"], null, {
|
|
79449
|
+
placeholder: withCtx(() => [
|
|
79450
|
+
createVNode($setup["VkBubbleTemplates"])
|
|
79451
|
+
]),
|
|
79449
79452
|
default: withCtx(() => [
|
|
79450
|
-
createVNode($setup["VkBubbleTemplates"]),
|
|
79451
79453
|
renderSlot(_ctx.$slots, "renderer"),
|
|
79452
79454
|
createVNode($setup["ElAutoResizer"], null, {
|
|
79453
79455
|
default: withCtx(({ height }) => [
|
package/package.json
CHANGED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import VkAgentChatProvider from './src/index.vue';
|
|
2
|
-
export * from './src/const';
|
|
3
|
-
export * from './src/const-roles';
|
|
4
|
-
export { type MessageView, MessageViewManager } from './src/MessageView';
|
|
5
|
-
export * as __VkAgentChatProvider from './src/types';
|
|
6
|
-
export { useAgentChat } from './src/use';
|
|
7
|
-
export { VkAgentChatProvider, };
|
|
8
|
-
export default VkAgentChatProvider;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export interface MessageView {
|
|
2
|
-
content: string;
|
|
3
|
-
type: string;
|
|
4
|
-
updating: boolean;
|
|
5
|
-
}
|
|
6
|
-
export declare class MessageViewManager {
|
|
7
|
-
private views;
|
|
8
|
-
getViews(): MessageView[];
|
|
9
|
-
createView(view: MessageView): void;
|
|
10
|
-
/**
|
|
11
|
-
* @description 创建或更新最后一个 view
|
|
12
|
-
*/
|
|
13
|
-
upsertView(data: MessageView, callbacks?: {
|
|
14
|
-
onCreate?: (view: MessageView) => void;
|
|
15
|
-
onUpdate?: (view: MessageView) => void;
|
|
16
|
-
}): MessageView;
|
|
17
|
-
/**
|
|
18
|
-
* @description 获取当前view 的上一个 view
|
|
19
|
-
*/
|
|
20
|
-
getPrevView(view: MessageView): MessageView | undefined;
|
|
21
|
-
/**
|
|
22
|
-
* @description 获取最后一个正在更新的 view
|
|
23
|
-
*/
|
|
24
|
-
getLastUpdatingView(type: string): MessageView | undefined;
|
|
25
|
-
/**
|
|
26
|
-
* @description 所有 view 更新结束
|
|
27
|
-
*/
|
|
28
|
-
allViewUpdated(): void;
|
|
29
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const ChatAgentInjectKey = "vk_agent_chat_inject_key";
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { AnyFunc } from '@vunk/shared';
|
|
2
|
-
import type { PropType } from 'vue';
|
|
3
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
-
request: {
|
|
5
|
-
type: PropType<AnyFunc>;
|
|
6
|
-
};
|
|
7
|
-
parser: {
|
|
8
|
-
type: PropType<AnyFunc>;
|
|
9
|
-
};
|
|
10
|
-
}>, import("vue").Slot<any> | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
-
load: null;
|
|
12
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
-
request: {
|
|
14
|
-
type: PropType<AnyFunc>;
|
|
15
|
-
};
|
|
16
|
-
parser: {
|
|
17
|
-
type: PropType<AnyFunc>;
|
|
18
|
-
};
|
|
19
|
-
}>> & Readonly<{
|
|
20
|
-
onLoad?: ((...args: any[]) => any) | undefined;
|
|
21
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
22
|
-
export default _default;
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import type { __VkBubbleTemplates } from '@vunk/plus/components/bubble-templates';
|
|
2
|
-
import type { MaybeArray, Media, NormalObject } from '@vunk/shared';
|
|
3
|
-
import type { RequestFn, SSEOutput, useXChat, XAgent, XRequestParams } from 'ant-design-x-vue';
|
|
4
|
-
import type { ComputedRef } from 'vue';
|
|
5
|
-
import type { BubbleListItemProps } from 'vue-element-plus-x/types/components/BubbleList/types';
|
|
6
|
-
import type { MessageView } from './MessageView';
|
|
7
|
-
export type RequestParams<Message> = Omit<XRequestParams, 'message'> & {
|
|
8
|
-
message: Message;
|
|
9
|
-
messages?: Message[];
|
|
10
|
-
} & NormalObject;
|
|
11
|
-
export interface AgentChatContext {
|
|
12
|
-
agent: ComputedRef<XAgent<AgentMessage>>;
|
|
13
|
-
chat: ReturnType<typeof useXChat<AgentMessage, BubbleMessage>>;
|
|
14
|
-
simplicity: {
|
|
15
|
-
onRequest: (message: string) => void;
|
|
16
|
-
items: ComputedRef<BubbleItem[]>;
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
export type Request = RequestFn<AgentMessage, RequestParams<AgentMessage>, RequestOutput>;
|
|
20
|
-
export type Parser = (message: Partial<AgentMessage>) => MaybeArray<BubbleMessage>;
|
|
21
|
-
export type RequestOutput = AgentMessage & SSEOutput;
|
|
22
|
-
/**
|
|
23
|
-
* @description useXAgent request onSuccess 发送的数据
|
|
24
|
-
*/
|
|
25
|
-
export type AgentMessage = Partial<BubbleMessage> & {
|
|
26
|
-
seviceLoading?: boolean;
|
|
27
|
-
seviceEnd?: boolean;
|
|
28
|
-
views?: MessageView[];
|
|
29
|
-
};
|
|
30
|
-
/**
|
|
31
|
-
* @description useXChat parser 解析数据
|
|
32
|
-
*/
|
|
33
|
-
export type BubbleMessage = Partial<BubbleListItemProps> & {
|
|
34
|
-
role: string;
|
|
35
|
-
content: string;
|
|
36
|
-
/**
|
|
37
|
-
* @description 服务端请求是否完成
|
|
38
|
-
*/
|
|
39
|
-
seviceEnd?: boolean;
|
|
40
|
-
thinkingStatus?: 'start' | 'thinking' | 'end' | 'error';
|
|
41
|
-
thinkingContent?: string;
|
|
42
|
-
meta?: NormalObject;
|
|
43
|
-
abortController?: AbortController;
|
|
44
|
-
templateType?: string;
|
|
45
|
-
[key: string]: any;
|
|
46
|
-
};
|
|
47
|
-
export type BubbleItem = BubbleItemBasic & __VkBubbleTemplates.RenderItem;
|
|
48
|
-
export type RoleMedia = RoleMediaBasic & __VkBubbleTemplates.RenderItem;
|
|
49
|
-
export type BubbleItemModule = 'Thinking';
|
|
50
|
-
export interface BubbleItemBasic extends BubbleMessage {
|
|
51
|
-
key: string;
|
|
52
|
-
modules?: BubbleItemModule[];
|
|
53
|
-
}
|
|
54
|
-
export interface RoleMediaBasic extends Partial<BubbleItemBasic>, Media {
|
|
55
|
-
value: string;
|
|
56
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { SSEOutput } from 'ant-design-x-vue';
|
|
2
|
-
import type { AgentChatContext, AgentMessage, Parser, Request, RequestParams } from './types';
|
|
3
|
-
import { useXAgent } from 'ant-design-x-vue';
|
|
4
|
-
export declare function useAgent(request: Request): ReturnType<typeof useXAgent<AgentMessage, RequestParams<AgentMessage>, AgentMessage & SSEOutput>>;
|
|
5
|
-
export declare function initAgentChat(request: Request, parser: Parser): AgentChatContext;
|
|
6
|
-
export declare function useAgentChat(): AgentChatContext;
|
|
@@ -1,180 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
-
readonly size: import("element-plus/es/utils").EpPropFinalized<readonly [NumberConstructor, StringConstructor], "" | "default" | "small" | "large", number, "", boolean>;
|
|
3
|
-
readonly shape: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "circle" | "square", unknown, "circle", boolean>;
|
|
4
|
-
readonly icon: {
|
|
5
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
6
|
-
readonly required: false;
|
|
7
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
8
|
-
__epPropKey: true;
|
|
9
|
-
};
|
|
10
|
-
readonly src: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
11
|
-
readonly alt: StringConstructor;
|
|
12
|
-
readonly srcSet: StringConstructor;
|
|
13
|
-
readonly fit: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => ObjectFitProperty & {}) | (() => ObjectFitProperty) | ((new (...args: any[]) => ObjectFitProperty & {}) | (() => ObjectFitProperty))[], unknown, unknown, "cover", boolean>;
|
|
14
|
-
} & {
|
|
15
|
-
background: never;
|
|
16
|
-
color: never;
|
|
17
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
-
readonly size: import("element-plus/es/utils").EpPropFinalized<readonly [NumberConstructor, StringConstructor], "" | "default" | "small" | "large", number, "", boolean>;
|
|
19
|
-
readonly shape: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "circle" | "square", unknown, "circle", boolean>;
|
|
20
|
-
readonly icon: {
|
|
21
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
22
|
-
readonly required: false;
|
|
23
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
24
|
-
__epPropKey: true;
|
|
25
|
-
};
|
|
26
|
-
readonly src: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
27
|
-
readonly alt: StringConstructor;
|
|
28
|
-
readonly srcSet: StringConstructor;
|
|
29
|
-
readonly fit: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => ObjectFitProperty & {}) | (() => ObjectFitProperty) | ((new (...args: any[]) => ObjectFitProperty & {}) | (() => ObjectFitProperty))[], unknown, unknown, "cover", boolean>;
|
|
30
|
-
} & {
|
|
31
|
-
background: never;
|
|
32
|
-
color: never;
|
|
33
|
-
}>> & Readonly<{}>, {
|
|
34
|
-
readonly size: import("element-plus/es/utils").EpPropMergeType<readonly [NumberConstructor, StringConstructor], "" | "small" | "default" | "large", number>;
|
|
35
|
-
readonly shape: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "circle" | "square", unknown>;
|
|
36
|
-
readonly src: string;
|
|
37
|
-
readonly fit: any;
|
|
38
|
-
}, {}, {
|
|
39
|
-
ElAvatar: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
40
|
-
readonly size: import("element-plus/es/utils").EpPropFinalized<readonly [NumberConstructor, StringConstructor], "" | "default" | "small" | "large", number, "", boolean>;
|
|
41
|
-
readonly shape: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "circle" | "square", unknown, "circle", boolean>;
|
|
42
|
-
readonly icon: {
|
|
43
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
44
|
-
readonly required: false;
|
|
45
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
46
|
-
__epPropKey: true;
|
|
47
|
-
};
|
|
48
|
-
readonly src: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
49
|
-
readonly alt: StringConstructor;
|
|
50
|
-
readonly srcSet: StringConstructor;
|
|
51
|
-
readonly fit: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("csstype").ObjectFitProperty & {}) | (() => import("csstype").ObjectFitProperty) | ((new (...args: any[]) => import("csstype").ObjectFitProperty & {}) | (() => import("csstype").ObjectFitProperty))[], unknown, unknown, "cover", boolean>;
|
|
52
|
-
}, {
|
|
53
|
-
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
54
|
-
readonly size: import("element-plus/es/utils").EpPropFinalized<readonly [NumberConstructor, StringConstructor], "" | "default" | "small" | "large", number, "", boolean>;
|
|
55
|
-
readonly shape: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "circle" | "square", unknown, "circle", boolean>;
|
|
56
|
-
readonly icon: {
|
|
57
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
58
|
-
readonly required: false;
|
|
59
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
60
|
-
__epPropKey: true;
|
|
61
|
-
};
|
|
62
|
-
readonly src: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
63
|
-
readonly alt: StringConstructor;
|
|
64
|
-
readonly srcSet: StringConstructor;
|
|
65
|
-
readonly fit: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("csstype").ObjectFitProperty & {}) | (() => import("csstype").ObjectFitProperty) | ((new (...args: any[]) => import("csstype").ObjectFitProperty & {}) | (() => import("csstype").ObjectFitProperty))[], unknown, unknown, "cover", boolean>;
|
|
66
|
-
}>> & {
|
|
67
|
-
onError?: ((evt: Event) => any) | undefined;
|
|
68
|
-
}>>;
|
|
69
|
-
emit: (event: "error", evt: Event) => void;
|
|
70
|
-
ns: {
|
|
71
|
-
namespace: import("vue").ComputedRef<string>;
|
|
72
|
-
b: (blockSuffix?: string) => string;
|
|
73
|
-
e: (element?: string | undefined) => string;
|
|
74
|
-
m: (modifier?: string | undefined) => string;
|
|
75
|
-
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
76
|
-
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
77
|
-
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
78
|
-
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
79
|
-
is: {
|
|
80
|
-
(name: string, state: boolean | undefined): string;
|
|
81
|
-
(name: string): string;
|
|
82
|
-
};
|
|
83
|
-
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
84
|
-
cssVarName: (name: string) => string;
|
|
85
|
-
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
86
|
-
cssVarBlockName: (name: string) => string;
|
|
87
|
-
};
|
|
88
|
-
hasLoadError: import("vue").Ref<boolean>;
|
|
89
|
-
avatarClass: import("vue").ComputedRef<string[]>;
|
|
90
|
-
sizeStyle: import("vue").ComputedRef<import("vue").CSSProperties | undefined>;
|
|
91
|
-
fitStyle: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
92
|
-
handleError: (e: Event) => void;
|
|
93
|
-
ElIcon: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
94
|
-
readonly size: {
|
|
95
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;
|
|
96
|
-
readonly required: false;
|
|
97
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
98
|
-
__epPropKey: true;
|
|
99
|
-
};
|
|
100
|
-
readonly color: {
|
|
101
|
-
readonly type: import("vue").PropType<string>;
|
|
102
|
-
readonly required: false;
|
|
103
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
104
|
-
__epPropKey: true;
|
|
105
|
-
};
|
|
106
|
-
}, {
|
|
107
|
-
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
108
|
-
readonly size: {
|
|
109
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;
|
|
110
|
-
readonly required: false;
|
|
111
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
112
|
-
__epPropKey: true;
|
|
113
|
-
};
|
|
114
|
-
readonly color: {
|
|
115
|
-
readonly type: import("vue").PropType<string>;
|
|
116
|
-
readonly required: false;
|
|
117
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
118
|
-
__epPropKey: true;
|
|
119
|
-
};
|
|
120
|
-
}>> & {
|
|
121
|
-
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
122
|
-
}>>;
|
|
123
|
-
ns: {
|
|
124
|
-
namespace: import("vue").ComputedRef<string>;
|
|
125
|
-
b: (blockSuffix?: string) => string;
|
|
126
|
-
e: (element?: string | undefined) => string;
|
|
127
|
-
m: (modifier?: string | undefined) => string;
|
|
128
|
-
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
129
|
-
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
130
|
-
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
131
|
-
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
132
|
-
is: {
|
|
133
|
-
(name: string, state: boolean | undefined): string;
|
|
134
|
-
(name: string): string;
|
|
135
|
-
};
|
|
136
|
-
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
137
|
-
cssVarName: (name: string) => string;
|
|
138
|
-
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
139
|
-
cssVarBlockName: (name: string) => string;
|
|
140
|
-
};
|
|
141
|
-
style: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
142
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
143
|
-
readonly size: {
|
|
144
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;
|
|
145
|
-
readonly required: false;
|
|
146
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
147
|
-
__epPropKey: true;
|
|
148
|
-
};
|
|
149
|
-
readonly color: {
|
|
150
|
-
readonly type: import("vue").PropType<string>;
|
|
151
|
-
readonly required: false;
|
|
152
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
153
|
-
__epPropKey: true;
|
|
154
|
-
};
|
|
155
|
-
}>>, {}>> & Record<string, any>;
|
|
156
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
157
|
-
error: (evt: Event) => boolean;
|
|
158
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
159
|
-
readonly size: import("element-plus/es/utils").EpPropFinalized<readonly [NumberConstructor, StringConstructor], "" | "default" | "small" | "large", number, "", boolean>;
|
|
160
|
-
readonly shape: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "circle" | "square", unknown, "circle", boolean>;
|
|
161
|
-
readonly icon: {
|
|
162
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
163
|
-
readonly required: false;
|
|
164
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
165
|
-
__epPropKey: true;
|
|
166
|
-
};
|
|
167
|
-
readonly src: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
168
|
-
readonly alt: StringConstructor;
|
|
169
|
-
readonly srcSet: StringConstructor;
|
|
170
|
-
readonly fit: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("csstype").ObjectFitProperty & {}) | (() => import("csstype").ObjectFitProperty) | ((new (...args: any[]) => import("csstype").ObjectFitProperty & {}) | (() => import("csstype").ObjectFitProperty))[], unknown, unknown, "cover", boolean>;
|
|
171
|
-
}>> & {
|
|
172
|
-
onError?: ((evt: Event) => any) | undefined;
|
|
173
|
-
}, {
|
|
174
|
-
readonly size: import("element-plus/es/utils").EpPropMergeType<readonly [NumberConstructor, StringConstructor], "" | "default" | "small" | "large", number>;
|
|
175
|
-
readonly shape: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "circle" | "square", unknown>;
|
|
176
|
-
readonly src: string;
|
|
177
|
-
readonly fit: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("csstype").ObjectFitProperty & {}) | (() => import("csstype").ObjectFitProperty) | ((new (...args: any[]) => import("csstype").ObjectFitProperty & {}) | (() => import("csstype").ObjectFitProperty))[], unknown, unknown>;
|
|
178
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>> & Record<string, any>;
|
|
179
|
-
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
180
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import VkBroadcastingMarkdown from './src/index.vue';
|
|
2
|
-
export * from './src/const';
|
|
3
|
-
export * as _VkBroadcastingMarkdownCtx from './src/ctx';
|
|
4
|
-
export * as __VkBroadcastingMarkdown from './src/types';
|
|
5
|
-
export { useHowlerParagraph } from './src/use';
|
|
6
|
-
export { VkBroadcastingMarkdown, };
|
|
7
|
-
export default VkBroadcastingMarkdown;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { TickerStatus } from '@vunk/shared/enum';
|
|
2
|
-
export declare function defaultRender(mdText: string): string;
|
|
3
|
-
export declare enum ParagraphStatus {
|
|
4
|
-
initial = "initial",
|
|
5
|
-
/**
|
|
6
|
-
* @description 处理中, 通常用于需要对段落进行异步处理
|
|
7
|
-
*/
|
|
8
|
-
processing = "processing",
|
|
9
|
-
pending = "pending",
|
|
10
|
-
fulfilled = "fulfilled",
|
|
11
|
-
rejected = "rejected"
|
|
12
|
-
}
|
|
13
|
-
export declare const Broadcast: typeof TickerStatus;
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
import type { SetDataEvent } from '@vunk/core';
|
|
2
|
-
import type { Deferred } from '@vunk/shared/promise';
|
|
3
|
-
import type { PropType } from 'vue';
|
|
4
|
-
import type { Paragraph, ParagraphLoadEvent, TextToSpeech } from './types';
|
|
5
|
-
import { TickerStatus } from '@vunk/shared/enum';
|
|
6
|
-
import { defaultRender } from './const';
|
|
7
|
-
export declare const props: {
|
|
8
|
-
/**
|
|
9
|
-
* @description md文本转纯文本的函数
|
|
10
|
-
*/
|
|
11
|
-
render: {
|
|
12
|
-
type: PropType<(text: string) => string>;
|
|
13
|
-
default: typeof defaultRender;
|
|
14
|
-
};
|
|
15
|
-
/**
|
|
16
|
-
* @description 段落详情
|
|
17
|
-
*/
|
|
18
|
-
data: {
|
|
19
|
-
type: {
|
|
20
|
-
(arrayLength: number): Paragraph[];
|
|
21
|
-
(...items: Paragraph[]): Paragraph[];
|
|
22
|
-
new (arrayLength: number): Paragraph[];
|
|
23
|
-
new (...items: Paragraph[]): Paragraph[];
|
|
24
|
-
isArray(arg: any): arg is any[];
|
|
25
|
-
readonly prototype: any[];
|
|
26
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
27
|
-
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
28
|
-
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
29
|
-
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
30
|
-
of<T>(...items: T[]): T[];
|
|
31
|
-
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
32
|
-
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
33
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
34
|
-
};
|
|
35
|
-
default: undefined;
|
|
36
|
-
};
|
|
37
|
-
/**
|
|
38
|
-
* @description md 文本
|
|
39
|
-
*/
|
|
40
|
-
source: {
|
|
41
|
-
type: StringConstructor;
|
|
42
|
-
default: string;
|
|
43
|
-
};
|
|
44
|
-
/**
|
|
45
|
-
* @description 游标阅读延迟
|
|
46
|
-
*/
|
|
47
|
-
delay: {
|
|
48
|
-
type: NumberConstructor;
|
|
49
|
-
default: number;
|
|
50
|
-
};
|
|
51
|
-
/**
|
|
52
|
-
* @description 段落切割符号
|
|
53
|
-
*/
|
|
54
|
-
separators: {
|
|
55
|
-
type: {
|
|
56
|
-
(arrayLength: number): string[];
|
|
57
|
-
(...items: string[]): string[];
|
|
58
|
-
new (arrayLength: number): string[];
|
|
59
|
-
new (...items: string[]): string[];
|
|
60
|
-
isArray(arg: any): arg is any[];
|
|
61
|
-
readonly prototype: any[];
|
|
62
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
63
|
-
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
64
|
-
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
65
|
-
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
66
|
-
of<T>(...items: T[]): T[];
|
|
67
|
-
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
68
|
-
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
69
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
70
|
-
};
|
|
71
|
-
default: () => string[];
|
|
72
|
-
};
|
|
73
|
-
/**
|
|
74
|
-
* @description 组件内会根据当前游标是否和 source 长度一致来判断,是否持续阅读, 当一致时,会关闭阅读状态。但若设置为 true,则会持续阅读, 这在动态接收数据时会有用
|
|
75
|
-
*/
|
|
76
|
-
keepRead: {
|
|
77
|
-
type: BooleanConstructor;
|
|
78
|
-
default: boolean;
|
|
79
|
-
};
|
|
80
|
-
/**
|
|
81
|
-
* @description 是否使用自定义语音合成
|
|
82
|
-
*/
|
|
83
|
-
textToSpeech: {
|
|
84
|
-
type: PropType<TextToSpeech>;
|
|
85
|
-
default: undefined;
|
|
86
|
-
};
|
|
87
|
-
/**
|
|
88
|
-
* @description 段落处理函数
|
|
89
|
-
*/
|
|
90
|
-
processing: {
|
|
91
|
-
type: PropType<(paragraph: Paragraph) => void>;
|
|
92
|
-
default: import("@vunk/shared").AnyFunc;
|
|
93
|
-
};
|
|
94
|
-
status: {
|
|
95
|
-
type: PropType<TickerStatus>;
|
|
96
|
-
default: TickerStatus;
|
|
97
|
-
};
|
|
98
|
-
paragraphMinlength: {
|
|
99
|
-
type: NumberConstructor;
|
|
100
|
-
default: number;
|
|
101
|
-
};
|
|
102
|
-
};
|
|
103
|
-
export declare const emits: {
|
|
104
|
-
setData: (e: SetDataEvent) => SetDataEvent;
|
|
105
|
-
interrupt: null;
|
|
106
|
-
'update:broadcasting': (_: boolean) => boolean;
|
|
107
|
-
'update:completed': (_: boolean) => boolean;
|
|
108
|
-
'update:error': (_: boolean) => boolean;
|
|
109
|
-
'update:status': (_: TickerStatus) => boolean;
|
|
110
|
-
paragraphLoad: (_: ParagraphLoadEvent) => boolean;
|
|
111
|
-
};
|
|
112
|
-
export declare const paragraphProps: {
|
|
113
|
-
data: {
|
|
114
|
-
type: PropType<Paragraph>;
|
|
115
|
-
default: () => {};
|
|
116
|
-
};
|
|
117
|
-
deferred: {
|
|
118
|
-
type: PropType<Deferred<any>>;
|
|
119
|
-
required: true;
|
|
120
|
-
};
|
|
121
|
-
render: {
|
|
122
|
-
type: PropType<(text: string) => string>;
|
|
123
|
-
default: typeof defaultRender;
|
|
124
|
-
};
|
|
125
|
-
};
|
|
126
|
-
export declare const paragraphEmits: {
|
|
127
|
-
setData: (e: SetDataEvent<keyof Paragraph>) => SetDataEvent<keyof Paragraph>;
|
|
128
|
-
load: (_: ParagraphLoadEvent) => boolean;
|
|
129
|
-
};
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
-
data: {
|
|
3
|
-
type: import("vue").PropType<import("./types").Paragraph>;
|
|
4
|
-
default: () => {};
|
|
5
|
-
};
|
|
6
|
-
deferred: {
|
|
7
|
-
type: import("vue").PropType<import("@vunk/shared/promise").Deferred<any>>;
|
|
8
|
-
required: true;
|
|
9
|
-
};
|
|
10
|
-
render: {
|
|
11
|
-
type: import("vue").PropType<(text: string) => string>;
|
|
12
|
-
default: typeof import("./const").defaultRender;
|
|
13
|
-
};
|
|
14
|
-
}>, (() => null) | (() => JSX.Element), {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
-
setData: (e: import("@vunk/core").SetDataEvent<keyof import("./types").Paragraph>) => import("@vunk/core").SetDataEvent<keyof import("./types").Paragraph>;
|
|
16
|
-
load: (_: import("./types").ParagraphLoadEvent) => boolean;
|
|
17
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
-
data: {
|
|
19
|
-
type: import("vue").PropType<import("./types").Paragraph>;
|
|
20
|
-
default: () => {};
|
|
21
|
-
};
|
|
22
|
-
deferred: {
|
|
23
|
-
type: import("vue").PropType<import("@vunk/shared/promise").Deferred<any>>;
|
|
24
|
-
required: true;
|
|
25
|
-
};
|
|
26
|
-
render: {
|
|
27
|
-
type: import("vue").PropType<(text: string) => string>;
|
|
28
|
-
default: typeof import("./const").defaultRender;
|
|
29
|
-
};
|
|
30
|
-
}>> & Readonly<{
|
|
31
|
-
onSetData?: ((e: import("@vunk/core").SetDataEvent<keyof import("./types").Paragraph>) => any) | undefined;
|
|
32
|
-
onLoad?: ((_: import("./types").ParagraphLoadEvent) => any) | undefined;
|
|
33
|
-
}>, {
|
|
34
|
-
data: import("./types").Paragraph;
|
|
35
|
-
render: (text: string) => string;
|
|
36
|
-
}, {}, {
|
|
37
|
-
SpeechError: import("vue").DefineComponent<{}, {
|
|
38
|
-
readonly CloseBold: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
39
|
-
readonly ElIcon: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
40
|
-
readonly size: {
|
|
41
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;
|
|
42
|
-
readonly required: false;
|
|
43
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
44
|
-
__epPropKey: true;
|
|
45
|
-
};
|
|
46
|
-
readonly color: {
|
|
47
|
-
readonly type: import("vue").PropType<string>;
|
|
48
|
-
readonly required: false;
|
|
49
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
50
|
-
__epPropKey: true;
|
|
51
|
-
};
|
|
52
|
-
}, {
|
|
53
|
-
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
54
|
-
readonly size: {
|
|
55
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;
|
|
56
|
-
readonly required: false;
|
|
57
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
58
|
-
__epPropKey: true;
|
|
59
|
-
};
|
|
60
|
-
readonly color: {
|
|
61
|
-
readonly type: import("vue").PropType<string>;
|
|
62
|
-
readonly required: false;
|
|
63
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
64
|
-
__epPropKey: true;
|
|
65
|
-
};
|
|
66
|
-
}>> & {
|
|
67
|
-
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
68
|
-
}>>;
|
|
69
|
-
ns: {
|
|
70
|
-
namespace: import("vue").ComputedRef<string>;
|
|
71
|
-
b: (blockSuffix?: string) => string;
|
|
72
|
-
e: (element?: string | undefined) => string;
|
|
73
|
-
m: (modifier?: string | undefined) => string;
|
|
74
|
-
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
75
|
-
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
76
|
-
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
77
|
-
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
78
|
-
is: {
|
|
79
|
-
(name: string, state: boolean | undefined): string;
|
|
80
|
-
(name: string): string;
|
|
81
|
-
};
|
|
82
|
-
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
83
|
-
cssVarName: (name: string) => string;
|
|
84
|
-
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
85
|
-
cssVarBlockName: (name: string) => string;
|
|
86
|
-
};
|
|
87
|
-
style: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
88
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
89
|
-
readonly size: {
|
|
90
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;
|
|
91
|
-
readonly required: false;
|
|
92
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
93
|
-
__epPropKey: true;
|
|
94
|
-
};
|
|
95
|
-
readonly color: {
|
|
96
|
-
readonly type: import("vue").PropType<string>;
|
|
97
|
-
readonly required: false;
|
|
98
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
99
|
-
__epPropKey: true;
|
|
100
|
-
};
|
|
101
|
-
}>>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>> & Record<string, any>;
|
|
102
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
103
|
-
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
104
|
-
export default _default;
|