@vunk/plus 1.12.1 → 1.13.0
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/_plugin-vue_export-helper-BHFhmbuH.js +1 -0
- package/components/_plugin-vue_export-helper-CHgC5LLL.mjs +9 -0
- package/components/agent-chat-provider/index.cjs +1 -0
- package/components/agent-chat-provider/index.mjs +113 -187
- package/components/agent-chat-provider/src/index.vue.d.ts +3 -2
- package/components/avatar/index.cjs +1 -0
- package/components/avatar/index.mjs +25 -31
- package/components/avatar/src/index.vue.d.ts +40 -39
- package/components/broadcasting-markdown/__tests__/const.test.d.ts +1 -0
- package/components/broadcasting-markdown/__tests__/utils.test.d.ts +1 -0
- package/components/broadcasting-markdown/index.cjs +5 -0
- package/components/broadcasting-markdown/index.mjs +346 -4376
- package/components/broadcasting-markdown/src/howler-speech.vue.d.ts +18 -24
- package/components/broadcasting-markdown/src/index.vue.d.ts +101 -51
- package/components/broadcasting-markdown/src/paragraph.vue.d.ts +17 -29
- package/components/broadcasting-markdown/src/speech-error.vue.d.ts +2 -59
- package/components/bubble-list/index.cjs +1 -0
- package/components/bubble-list/index.mjs +220 -302
- package/components/bubble-list/src/core/index.vue.d.ts +40 -885
- package/components/bubble-list/src/core/loading.vue.d.ts +3 -0
- package/components/bubble-list/src/index.vue.d.ts +29 -1321
- package/components/bubble-templates/index.cjs +1 -0
- package/components/bubble-templates/index.mjs +34 -49
- package/components/bubble-templates/src/index.vue.d.ts +3 -224
- package/components/chat-independent/index.cjs +1 -0
- package/components/chat-independent/index.mjs +105 -212
- package/components/chat-independent/src/index.vue.d.ts +20 -2712
- package/components/components.css +1 -0
- package/components/drawer/index.cjs +1 -0
- package/components/drawer/index.mjs +53 -94
- package/components/drawer/src/ctx.d.ts +22 -22
- package/components/drawer/src/index.vue.d.ts +84 -557
- package/components/index.cjs +1 -0
- package/components/index.d.ts +1 -0
- package/components/lottie-animation/index.cjs +1 -0
- package/components/lottie-animation/index.mjs +36 -55
- package/components/lottie-animation/src/index.vue.d.ts +3 -2
- package/components/metahuman-broadcasting/index.cjs +1 -0
- package/components/metahuman-broadcasting/index.mjs +89 -140
- package/components/metahuman-broadcasting/src/index.vue.d.ts +16 -718
- package/components/monaco-editor/index.cjs +1 -0
- package/components/monaco-editor/index.mjs +75 -73
- package/components/monaco-editor/src/ctx.d.ts +10 -4
- package/components/monaco-editor/src/index.vue.d.ts +17 -2
- package/components/monaco-environment/index.cjs +1 -0
- package/components/monaco-environment/index.mjs +23 -38
- package/components/monaco-environment/src/index.vue.d.ts +2 -1
- package/components/pixi-frame/index.cjs +1 -0
- package/components/pixi-frame/index.mjs +501 -1978
- package/components/pixi-frame/src/apng.vue.d.ts +17 -73
- package/components/pixi-frame/src/bitmap-generator.vue.d.ts +24 -66
- package/components/pixi-frame/src/bitmap.vue.d.ts +28 -80
- package/components/pixi-frame/src/buffer-image.vue.d.ts +29 -97
- package/components/pixi-frame/src/core.vue.d.ts +20 -75
- package/components/pixi-frame/src/index.vue.d.ts +302 -237
- package/components/pixi-frame/src/provider.vue.d.ts +12 -1
- package/components/pixi-frame/src/video.vue.d.ts +17 -71
- package/components/pixi-frame/src/view.vue.d.ts +4 -16
- package/components/recorder-button/index.cjs +1 -0
- package/components/recorder-button/index.mjs +140 -269
- package/components/recorder-button/src/index.vue.d.ts +67 -66
- package/components/routes-menu-content/index.cjs +1 -0
- package/components/routes-menu-content/index.mjs +150 -229
- package/components/routes-menu-content/src/index.vue.d.ts +27 -26
- package/components/routes-menu-content/src/item/core/index.vue.d.ts +27 -26
- package/components/routes-menu-content/src/item/index.vue.d.ts +27 -26
- package/components/scrollbar/index.cjs +1 -0
- package/components/scrollbar/index.mjs +288 -567
- package/components/scrollbar/src/bar.vue.d.ts +6 -133
- package/components/scrollbar/src/index.vue.d.ts +66 -337
- package/components/scrollbar/src/thumb.vue.d.ts +3 -80
- package/components/sender/index.cjs +1 -0
- package/components/sender/index.mjs +156 -285
- package/components/sender/src/SenderHeader.vue.d.ts +14 -221
- package/components/sender/src/index.vue.d.ts +16 -505
- package/components/speech-button/index.cjs +1 -0
- package/components/speech-button/index.mjs +98 -144
- package/components/speech-button/src/LoadingIcon.vue.d.ts +2 -1
- package/components/speech-button/src/RecordingIcon.vue.d.ts +2 -1
- package/components/speech-button/src/index.vue.d.ts +6 -5
- package/components/table-columns/index.cjs +1 -0
- package/components/table-columns/index.mjs +48 -78
- package/components/table-columns/src/ctx.d.ts +12 -12
- package/components/table-columns/src/el-ctx.d.ts +3 -3
- package/components/table-columns/src/index.vue.d.ts +28 -27
- package/components/tables-v1/index.cjs +1 -0
- package/components/tables-v1/index.mjs +99 -160
- package/components/tables-v1/src/ctx.d.ts +38 -38
- package/components/tables-v1/src/el-ctx.d.ts +7 -7
- package/components/tables-v1/src/index.vue.d.ts +111 -2266
- package/components/tables-v1-checkbox/index.cjs +1 -0
- package/components/tables-v1-checkbox/index.mjs +116 -4043
- package/components/tables-v1-checkbox/src/ctx.d.ts +36 -36
- package/components/tables-v1-checkbox/src/index.vue.d.ts +224 -2378
- package/components/text/index.cjs +1 -0
- package/components/text/index.mjs +70 -108
- package/components/text/src/ctx.d.ts +32 -32
- package/components/text/src/index.vue.d.ts +92 -1819
- package/components/thinking/index.cjs +1 -0
- package/components/thinking/index.mjs +127 -227
- package/components/thinking/src/index.vue.d.ts +23 -2045
- package/components/typing-markdown/index.cjs +1 -0
- package/components/typing-markdown/index.mjs +61 -201
- package/components/typing-markdown/src/index.vue.d.ts +3 -2
- package/components/vditor/index.cjs +1 -0
- package/components/vditor/index.mjs +121 -195
- package/components/vditor/src/ctx.d.ts +2 -2
- package/components/vditor/src/handle-fullscreen.vue.d.ts +3 -2
- package/components/vditor/src/handle-value.vue.d.ts +3 -2
- package/components/vditor/src/index.vue.d.ts +5 -4
- package/components/xgplayer/index.cjs +1 -0
- package/components/xgplayer/index.mjs +49 -90
- package/components/xgplayer/src/core.vue.d.ts +13 -18
- package/components/xgplayer/src/index.vue.d.ts +13 -67
- package/composables/el-breakpoints/index.cjs +1 -0
- package/composables/el-breakpoints/index.d.ts +10 -10
- package/composables/el-breakpoints/index.mjs +10 -12
- package/composables/index.cjs +1 -0
- package/composables/index.d.ts +1 -0
- package/composables/recorder/index.cjs +1 -0
- package/composables/recorder/index.mjs +9172 -14803
- package/element/_plugin-vue_export-helper-BHFhmbuH.js +1 -0
- package/element/bubble/index.cjs +3 -0
- package/element/bubble/index.d.ts +1 -1
- package/element/bubble/index.mjs +1 -1
- package/element/bubble/src/index.vue.d.ts +22 -22
- package/element/index.css +1 -1
- package/element/thinking/index.cjs +1 -0
- package/element/thinking/index.d.ts +1 -1
- package/element/thinking/index.mjs +1 -1
- package/element/thinking/src/index.vue.d.ts +26 -26
- package/element/thinking/src/types.d.ts +10 -0
- package/icons/_plugin-vue_export-helper-BHFhmbuH.js +1 -0
- package/icons/_plugin-vue_export-helper-CHgC5LLL.mjs +9 -0
- package/icons/end/index.cjs +1 -0
- package/icons/end/index.mjs +21 -26
- package/icons/end/src/index.vue.d.ts +3 -0
- package/icons/keyboard/index.cjs +1 -0
- package/icons/keyboard/index.mjs +21 -26
- package/icons/keyboard/src/index.vue.d.ts +3 -0
- package/icons/start/index.cjs +1 -0
- package/icons/start/index.mjs +21 -26
- package/icons/start/src/index.vue.d.ts +3 -0
- package/icons/voice/index.cjs +1 -0
- package/icons/voice/index.mjs +26 -44
- package/icons/voice/src/index.vue.d.ts +2 -3
- package/index.css +2 -558
- package/index.d.ts +1 -0
- package/package.json +78 -87
- package/shared/data/index.cjs +1 -0
- package/shared/data/index.mjs +16 -22
- package/shared/types/index.cjs +1 -0
- package/shared/types/index.d.ts +1 -0
- package/components/LinkOutlined.mjs +0 -1321
- package/components/_commonjsHelpers.mjs +0 -7
- package/components/_plugin-vue_export-helper.mjs +0 -9
- package/components/bubble-list/index.css +0 -70
- package/components/bubble-templates/index.css +0 -4
- package/components/chat-independent/index.css +0 -47
- package/components/drawer/index.css +0 -124
- package/components/index2.mjs +0 -78
- package/components/lottie-animation/index.css +0 -4
- package/components/monaco-editor/index.css +0 -4
- package/components/pixi-frame/index.css +0 -4
- package/components/recorder-button/index.css +0 -69
- package/components/sender/index.css +0 -22
- package/components/speech-button/index.css +0 -10
- package/components/tables-v1/index.css +0 -7
- package/components/tables-v1-checkbox/index.css +0 -8
- package/components/thinking/index.css +0 -125
- package/components/typing-markdown/index.css +0 -31
- package/components/vditor/index.css +0 -12
- package/components/xgplayer/index.css +0 -1
- package/icons/_plugin-vue_export-helper.mjs +0 -9
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=(t,o)=>{const c=t.__vccOpts||t;for(const[r,s]of o)c[r]=s;return c};exports._export_sfc=e;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),g=require("../_plugin-vue_export-helper-BHFhmbuH.js"),S={key:0,class:"el-bubble-avatar el-bubble-avatar-size"},B={key:1,class:"el-bubble-avatar-placeholder"},$={key:2,class:"el-bubble-avatar"},C={class:"el-bubble-content-wrapper"},E={key:0,class:"el-bubble-header"},V={key:1,class:"el-bubble-loading-wrap"},N={key:2,class:"el-bubble-loading-wrap"},w={key:1,class:"el-bubble-footer"},z=e.defineComponent({__name:"index",props:{placement:{default:"start"},avatar:{default:""},loading:{type:Boolean},shape:{},variant:{default:"filled"},maxWidth:{default:"500px"},avatarSize:{default:""},avatarGap:{default:"12px"},avatarShape:{default:"circle"},avatarSrcSet:{default:""},avatarAlt:{default:""},avatarFit:{default:"cover"},noStyle:{type:Boolean,default:!1},content:{default:""}},emits:["avatarError"],setup(u,{expose:i,emit:b}){const v=u,c=b,t=e.ref(!1),p=e.ref(!1);e.watch(()=>v.content,(a,n)=>{a!==n&&t.value&&r()});const l=e.ref(),o={interrupt:f,continue:y,restart:r,destroy:h,renderedContent:e.computed(()=>t.value?"":l.value?.renderedContent.value||""),isTyping:e.computed(()=>!t.value&&(l.value?.isTyping.value||!1)),progress:e.computed(()=>t.value?0:l.value?.progress.value||0)};function m(a){c("avatarError",a)}function f(){l.value?.interrupt()}function y(){l.value?.continue()}function r(){t.value=!1,l.value?.restart()}function h(){l.value?.destroy(),t.value=!0}return e.onUnmounted(o.destroy),i(o),(a,n)=>{const k=e.resolveComponent("el-avatar");return t.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["el-bubble",{"el-bubble-start":a.placement==="start","el-bubble-end":a.placement==="end","el-bubble-no-style":a.noStyle,"el-bubble-is-typing":p.value}]),style:e.normalizeStyle({"--el-box-shadow-tertiary":`0 1px 2px 0 rgba(0, 0, 0, 0.03),
|
|
2
|
+
0 1px 6px -1px rgba(0, 0, 0, 0.02),
|
|
3
|
+
0 2px 4px 0 rgba(0, 0, 0, 0.02)`,"--bubble-content-max-width":`${a.maxWidth}`,"--el-bubble-avatar-placeholder-width":`${a.$slots.avatar?"":a.avatarSize}`,"--el-bubble-avatar-placeholder-height":`${a.$slots.avatar?"":a.avatarSize}`,"--el-bubble-avatar-placeholder-gap":`${a.avatarGap}`})},[!a.$slots.avatar&&a.avatar?(e.openBlock(),e.createElementBlock("div",S,[e.createVNode(k,{size:0,src:a.avatar,shape:a.avatarShape,"src-set":a.avatarSrcSet,alt:a.avatarFit,onError:m},null,8,["src","shape","src-set","alt"])])):e.createCommentVNode("",!0),!a.$slots.avatar&&!a.avatar&&a.avatarSize?(e.openBlock(),e.createElementBlock("div",B)):e.createCommentVNode("",!0),a.$slots.avatar?(e.openBlock(),e.createElementBlock("div",$,[e.renderSlot(a.$slots,"avatar",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",C,[a.$slots.header?(e.openBlock(),e.createElementBlock("div",E,[e.renderSlot(a.$slots,"header",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["el-bubble-content",{"el-bubble-content-loading":a.loading,"el-bubble-content-round":a.shape==="round"&&!a.noStyle,"el-bubble-content-corner":a.shape==="corner"&&!a.noStyle,"el-bubble-content-filled":a.variant==="filled"&&!a.noStyle,"el-bubble-content-borderless":a.variant==="borderless"&&!a.noStyle,"el-bubble-content-outlined":a.variant==="outlined"&&!a.noStyle,"el-bubble-content-shadow":a.variant==="shadow"&&!a.noStyle}])},[!t.value&&a.$slots.content&&!a.loading?e.renderSlot(a.$slots,"content",{key:0},void 0,!0):e.createCommentVNode("",!0),a.loading&&!a.$slots.loading?(e.openBlock(),e.createElementBlock("div",V,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(3,(T,s)=>e.createElementVNode("div",{key:s,class:"dot",style:e.normalizeStyle({animationDelay:`${s*.2}s`})},null,4)),64))])):e.createCommentVNode("",!0),a.loading&&a.$slots.loading?(e.openBlock(),e.createElementBlock("div",N,[e.renderSlot(a.$slots,"loading",{},void 0,!0)])):e.createCommentVNode("",!0)],2),a.$slots.footer?(e.openBlock(),e.createElementBlock("div",w,[e.renderSlot(a.$slots,"footer",{},void 0,!0)])):e.createCommentVNode("",!0)])],6))}}}),d=g._export_sfc(z,[["__scopeId","data-v-91fedca8"]]);exports.Bubble=d;exports.default=d;
|
package/element/bubble/index.mjs
CHANGED
|
@@ -1,32 +1,31 @@
|
|
|
1
|
-
import { BubbleProps } from './types';
|
|
1
|
+
import type { BubbleProps } from './types';
|
|
2
2
|
declare function interrupt(): void;
|
|
3
3
|
declare function continueTyping(): void;
|
|
4
4
|
declare function restart(): void;
|
|
5
5
|
declare function destroy(): void;
|
|
6
|
-
declare
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
6
|
+
declare var __VLS_8: {}, __VLS_10: {}, __VLS_12: {}, __VLS_14: {}, __VLS_16: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
avatar?: (props: typeof __VLS_8) => any;
|
|
9
|
+
} & {
|
|
10
|
+
header?: (props: typeof __VLS_10) => any;
|
|
11
|
+
} & {
|
|
12
|
+
content?: (props: typeof __VLS_12) => any;
|
|
13
|
+
} & {
|
|
14
|
+
loading?: (props: typeof __VLS_14) => any;
|
|
15
|
+
} & {
|
|
16
|
+
footer?: (props: typeof __VLS_16) => any;
|
|
17
17
|
};
|
|
18
|
-
|
|
19
|
-
declare const __VLS_component: import('vue').DefineComponent<BubbleProps, {
|
|
18
|
+
declare const __VLS_base: import("vue").DefineComponent<BubbleProps, {
|
|
20
19
|
interrupt: typeof interrupt;
|
|
21
20
|
continue: typeof continueTyping;
|
|
22
21
|
restart: typeof restart;
|
|
23
22
|
destroy: typeof destroy;
|
|
24
|
-
renderedContent: import(
|
|
25
|
-
isTyping: import(
|
|
26
|
-
progress: import(
|
|
27
|
-
}, {}, {}, {}, import(
|
|
23
|
+
renderedContent: import("vue").ComputedRef<any>;
|
|
24
|
+
isTyping: import("vue").ComputedRef<any>;
|
|
25
|
+
progress: import("vue").ComputedRef<any>;
|
|
26
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
28
27
|
avatarError: (e: Event) => any;
|
|
29
|
-
}, string, import(
|
|
28
|
+
}, string, import("vue").PublicProps, Readonly<BubbleProps> & Readonly<{
|
|
30
29
|
onAvatarError?: ((e: Event) => any) | undefined;
|
|
31
30
|
}>, {
|
|
32
31
|
placement: "start" | "end";
|
|
@@ -41,10 +40,11 @@ declare const __VLS_component: import('vue').DefineComponent<BubbleProps, {
|
|
|
41
40
|
avatarFit: "cover" | "contain" | "fill" | "none" | "scale-down";
|
|
42
41
|
noStyle: boolean;
|
|
43
42
|
content: string;
|
|
44
|
-
}, {}, {}, {}, string, import(
|
|
45
|
-
declare const
|
|
43
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
44
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
45
|
+
declare const _default: typeof __VLS_export;
|
|
46
46
|
export default _default;
|
|
47
|
-
type
|
|
47
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
48
48
|
new (): {
|
|
49
49
|
$slots: S;
|
|
50
50
|
};
|
package/element/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";.el-bubble[data-v-
|
|
1
|
+
@charset "UTF-8";.el-bubble[data-v-91fedca8]{display:flex;gap:var(--el-bubble-avatar-placeholder-gap)}.el-bubble-avatar-size[data-v-91fedca8] .el-avatar,.el-bubble-avatar-placeholder[data-v-91fedca8]{width:var(--el-bubble-avatar-placeholder-width);height:var(--el-bubble-avatar-placeholder-height)}.el-bubble-start .el-bubble-content-wrapper .el-bubble-content-corner[data-v-91fedca8]{border-start-start-radius:calc(var(--el-border-radius-base) - 2px)}.el-bubble-end[data-v-91fedca8]{justify-content:end;flex-direction:row-reverse}.el-bubble-end .el-bubble-content-wrapper[data-v-91fedca8]{align-items:flex-end}.el-bubble-end .el-bubble-content-wrapper .el-bubble-content-corner[data-v-91fedca8]{border-start-end-radius:calc(var(--el-border-radius-base) - 2px)}.el-bubble-no-style .el-bubble-content-wrapper .el-bubble-content[data-v-91fedca8]{background-color:transparent;padding:0}.el-bubble-content-wrapper[data-v-91fedca8]{flex:auto;display:flex;flex-direction:column;align-items:flex-start;min-width:0;max-width:100%}.el-bubble-content-wrapper .el-bubble-header[data-v-91fedca8],.el-bubble-content-wrapper .el-bubble-content[data-v-91fedca8],.el-bubble-content-wrapper .el-bubble-footer[data-v-91fedca8]{font-size:var(--el-font-size-base);color:var(--el-text-color-primary);line-height:var(--el-font-line-height-primary)}.el-bubble-content-wrapper .el-bubble-content[data-v-91fedca8]{background-color:var(--el-fill-color);padding:var(--el-padding-sm, 12px) calc(var(--el-padding-sm, 12px) + 4px);border-radius:calc(var(--el-border-radius-base) + 4px);position:relative;box-sizing:border-box;min-width:0;max-width:var(--bubble-content-max-width);color:var(--el-text-color-primary);font-size:var(--el-font-size-base);line-height:var(--el-font-line-height-primary);min-height:calc(var(--el-padding-sm, 12px) * 2 + var(--el-font-line-height-primary) * var(--el-font-size-base));word-break:break-word}.el-bubble-content-wrapper .el-bubble-content .no-content[data-v-91fedca8]{height:0}.el-bubble-content-wrapper .el-bubble-content-round[data-v-91fedca8]{border-radius:var(--el-border-radius-round)}.el-bubble-content-wrapper .el-bubble-content-filled[data-v-91fedca8]{background-color:var(--el-fill-color)}.el-bubble-content-wrapper .el-bubble-content-borderless[data-v-91fedca8]{background-color:var(--el-fill-color);border:var(--el-border-width) solid var(--el-border-color)}.el-bubble-content-wrapper .el-bubble-content-outlined[data-v-91fedca8]{background:none;border:var(--el-border-width) solid var(--el-border-color)}.el-bubble-content-wrapper .el-bubble-content-shadow[data-v-91fedca8]{background:none;box-shadow:var(--el-box-shadow)}.el-bubble-content-wrapper .el-bubble-content-loading[data-v-91fedca8]{width:fit-content}.el-bubble-content-wrapper .el-bubble-content-loading .el-bubble-loading-wrap[data-v-91fedca8]{display:flex;justify-content:center;align-items:center;gap:5px}.el-bubble-content-wrapper .el-bubble-content-loading .dot[data-v-91fedca8]{will-change:transform;width:5px;height:5px;background-color:var(--el-color-primary);border-radius:50%;animation:wave-91fedca8 1s infinite ease-in-out}.el-bubble-content-wrapper .el-bubble-content-loading .dot-2[data-v-91fedca8]{animation-delay:.2s}.el-bubble-content-wrapper .el-bubble-content-loading .dot-3[data-v-91fedca8]{animation-delay:.4s}@keyframes wave-91fedca8{0%,to{transform:translateY(-2px)}50%{transform:translateY(2px)}}.el-bubble-content-wrapper .el-bubble-footer[data-v-91fedca8]{margin-top:var(--el-padding-sm, 12px)}.el-thinking[data-v-eb89dea0]{font-family:system-ui,sans-serif;margin:0 auto}.trigger[data-v-eb89dea0]{display:flex;align-items:center;height:100%;width:var(--el-thinking-button-width);gap:8px;padding:var(--el-padding-sm, 12px) calc(var(--el-padding-sm, 12px) + 4px);border:1px solid #e4e4e4;border-radius:8px;background:#fff;cursor:pointer;margin-bottom:8px}.trigger .el-icon-center[data-v-eb89dea0]{height:100%;display:flex;align-items:center}.trigger .start-color[data-v-eb89dea0]{color:var(--el-color-warning)}.trigger .end-color[data-v-eb89dea0]{color:var(--el-color-success)}.trigger .is-loading[data-v-eb89dea0]{color:var(--el-color-primary)}.trigger .error-color[data-v-eb89dea0]{color:var(--el-color-danger)}.trigger .cancel-color[data-v-eb89dea0]{color:var(--el-color-info)}.trigger[data-v-eb89dea0]:hover{background:#f8f8f8}.trigger.disabled[data-v-eb89dea0]{cursor:pointer}.trigger[data-v-eb89dea0]:disabled{cursor:not-allowed;opacity:.7}.status-icon[data-v-eb89dea0]{font-size:1.2em}.arrow[data-v-eb89dea0]{margin-left:auto;transition:transform var(--el-thinking-animation-duration)}.arrow.expanded[data-v-eb89dea0]{transform:rotate(180deg)}.slide-enter-active[data-v-eb89dea0],.slide-leave-active[data-v-eb89dea0]{height:calc-size(max-content,size);transition:height var(--el-thinking-animation-duration) ease-in-out,opacity var(--el-thinking-animation-duration) ease-in-out;overflow:hidden}.slide-enter-from[data-v-eb89dea0],.slide-leave-to[data-v-eb89dea0]{height:0!important;opacity:0}.content-wrapper[data-v-eb89dea0]{box-sizing:border-box;min-width:0}.content pre[data-v-eb89dea0]{border:1px solid #eee;background:var(--el-thinking-content-wrapper-background-color);padding:var(--el-padding-sm, 12px) calc(var(--el-padding-sm, 12px) + 4px);border-radius:calc(var(--el-border-radius-base) + 4px);max-width:var(--el-thinking-content-wrapper-width);font-size:14px;color:var(--el-thinking-content-wrapper-color);white-space:pre-wrap;font-family:DeepSeek-CJK-patch,Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,Oxygen,Open Sans,sans-serif;margin:0;line-height:var(--el-font-line-height-primary)}.error-state[data-v-eb89dea0]{border-color:#ffd0d0;background:#fff0f0}.error-message[data-v-eb89dea0]{color:#dc3545;height:fit-content;padding:8px;background:#ffeef0;border-radius:4px}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),p=require("../_plugin-vue_export-helper-BHFhmbuH.js");var _=e.defineComponent({name:"ArrowUpBold",__name:"arrow-up-bold",setup(l){return(r,t)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M104.704 685.248a64 64 0 0 0 90.496 0l316.8-316.8 316.8 316.8a64 64 0 0 0 90.496-90.496L557.248 232.704a64 64 0 0 0-90.496 0L104.704 594.752a64 64 0 0 0 0 90.496z"})]))}}),m=_,v=e.defineComponent({name:"CircleCloseFilled",__name:"circle-close-filled",setup(l){return(r,t)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z"})]))}}),u=v,f=e.defineComponent({name:"Loading",__name:"loading",setup(l){return(r,t)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"})]))}}),h=f,g=e.defineComponent({name:"Opportunity",__name:"opportunity",setup(l){return(r,t)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M384 960v-64h192.064v64zm448-544a350.656 350.656 0 0 1-128.32 271.424C665.344 719.04 640 763.776 640 813.504V832H320v-14.336c0-48-19.392-95.36-57.216-124.992a351.552 351.552 0 0 1-128.448-344.256c25.344-136.448 133.888-248.128 269.76-276.48A352.384 352.384 0 0 1 832 416m-544 32c0-132.288 75.904-224 192-224v-64c-154.432 0-256 122.752-256 288z"})]))}}),k=g,w=e.defineComponent({name:"SuccessFilled",__name:"success-filled",setup(l){return(r,t)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),C=w;const V=["disabled"],B={class:"status-icon"},y={class:"label"},N={class:"content"},b={class:"error-message"},E=e.defineComponent({__name:"index",props:{modelValue:{type:Boolean,default:!0},content:{default:""},status:{default:"start"},disabled:{type:Boolean,default:!1},autoCollapse:{type:Boolean,default:!1},duration:{default:"0.2s"},buttonWidth:{default:"160px"},maxWidth:{default:"500px"},backgroundColor:{default:"#fcfcfc"},color:{default:"var(--el-color-info)"}},emits:["change","update:modelValue"],setup(l,{emit:r}){const t=l,c=r,o=e.ref(t.modelValue);e.watch(()=>t.modelValue,a=>{o.value=a});function i(){t.disabled||(o.value=!o.value,c("change",{value:o.value,status:t.status}),c("update:modelValue",o.value))}const s=e.computed(()=>t.status==="error"?"思考过程中出现错误":t.content);return e.watch(()=>t.status,a=>{a==="end"&&t.autoCollapse&&(o.value=!1,c("update:modelValue",o.value))}),(a,x)=>{const n=e.resolveComponent("el-icon");return e.openBlock(),e.createElementBlock("div",{class:"el-thinking",style:e.normalizeStyle({"--el-thinking-button-width":t.buttonWidth,"--el-thinking-animation-duration":t.duration,"--el-thinking-content-wrapper-width":t.maxWidth,"--el-thinking-content-wrapper-background-color":t.backgroundColor,"--el-thinking-content-wrapper-color":t.color})},[e.createElementVNode("button",{class:e.normalizeClass(["trigger",[a.status,{disabled:!t.disabled}]]),disabled:t.disabled,onClick:i},[e.createElementVNode("span",B,[e.renderSlot(a.$slots,"status-icon",{status:t.status},()=>[a.status==="thinking"?(e.openBlock(),e.createBlock(n,{key:0,class:"is-loading el-icon-center"},{default:e.withCtx(()=>[e.createVNode(e.unref(h))]),_:1})):e.createCommentVNode("",!0),a.status==="start"?(e.openBlock(),e.createBlock(n,{key:1,class:"el-icon-center start-color"},{default:e.withCtx(()=>[e.createVNode(e.unref(k))]),_:1})):e.createCommentVNode("",!0),a.status==="end"?(e.openBlock(),e.createBlock(n,{key:2,class:"el-icon-center end-color"},{default:e.withCtx(()=>[e.createVNode(e.unref(C))]),_:1})):e.createCommentVNode("",!0),a.status==="error"?(e.openBlock(),e.createBlock(n,{key:3,class:"el-icon-center error-color"},{default:e.withCtx(()=>[e.createVNode(e.unref(u))]),_:1})):e.createCommentVNode("",!0),a.status==="cancel"?(e.openBlock(),e.createBlock(n,{key:4,class:"el-icon-center cancel-color"},{default:e.withCtx(()=>[e.createVNode(e.unref(u))]),_:1})):e.createCommentVNode("",!0)],!0)]),e.createElementVNode("span",y,[e.renderSlot(a.$slots,"label",{status:t.status},()=>[e.createTextVNode(e.toDisplayString(a.status==="thinking"?"思考中...":a.status==="error"?"思考遇到问题":a.status==="end"?"思考完成":a.status==="cancel"?"中断思考":"开始思考"),1)],!0)]),e.createVNode(e.Transition,{name:"rotate"},{default:e.withCtx(()=>[t.disabled?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["arrow el-icon-center",{expanded:o.value}])},[e.renderSlot(a.$slots,"arrow",{},()=>[e.createVNode(n,{class:"el-icon-center"},{default:e.withCtx(()=>[e.createVNode(e.unref(m))]),_:1})],!0)],2))]),_:3})],10,V),e.createVNode(e.Transition,{name:"slide"},{default:e.withCtx(()=>[s.value?e.withDirectives((e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["content-wrapper",{"error-state":a.status==="error"}])},[e.createElementVNode("div",N,[a.status!=="error"?e.renderSlot(a.$slots,"content",{key:0,content:s.value},()=>[e.createElementVNode("pre",null,e.toDisplayString(s.value),1)],!0):e.renderSlot(a.$slots,"error",{key:1,errorContent:s.value},()=>[e.createElementVNode("div",b,e.toDisplayString(s.value),1)],!0)])],2)),[[e.vShow,o.value]]):e.createCommentVNode("",!0)]),_:3})],4)}}}),d=p._export_sfc(E,[["__scopeId","data-v-eb89dea0"]]);exports.Thinking=d;exports.default=d;
|
|
@@ -225,7 +225,7 @@ const O = ["disabled"], U = { class: "status-icon" }, j = { class: "label" }, q
|
|
|
225
225
|
], 4);
|
|
226
226
|
};
|
|
227
227
|
}
|
|
228
|
-
}), R = /* @__PURE__ */ $(J, [["__scopeId", "data-v-
|
|
228
|
+
}), R = /* @__PURE__ */ $(J, [["__scopeId", "data-v-eb89dea0"]]);
|
|
229
229
|
export {
|
|
230
230
|
R as Thinking,
|
|
231
231
|
R as default
|
|
@@ -1,32 +1,31 @@
|
|
|
1
|
-
import { ThinkingProps, ThinkingStatus } from './types';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
import type { ThinkingProps, ThinkingStatus } from './types';
|
|
2
|
+
declare var __VLS_1: {
|
|
3
|
+
status: ThinkingStatus;
|
|
4
|
+
}, __VLS_58: {
|
|
5
|
+
status: ThinkingStatus;
|
|
6
|
+
}, __VLS_66: {}, __VLS_85: {
|
|
7
|
+
content: string;
|
|
8
|
+
}, __VLS_87: {
|
|
9
|
+
errorContent: string;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_Slots = {} & {
|
|
12
|
+
'status-icon'?: (props: typeof __VLS_1) => any;
|
|
13
|
+
} & {
|
|
14
|
+
label?: (props: typeof __VLS_58) => any;
|
|
15
|
+
} & {
|
|
16
|
+
arrow?: (props: typeof __VLS_66) => any;
|
|
17
|
+
} & {
|
|
18
|
+
content?: (props: typeof __VLS_85) => any;
|
|
19
|
+
} & {
|
|
20
|
+
error?: (props: typeof __VLS_87) => any;
|
|
21
21
|
};
|
|
22
|
-
|
|
23
|
-
declare const __VLS_component: import('vue').DefineComponent<ThinkingProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
22
|
+
declare const __VLS_base: import("vue").DefineComponent<ThinkingProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
24
23
|
change: (value: {
|
|
25
24
|
value: boolean;
|
|
26
25
|
status: ThinkingStatus;
|
|
27
26
|
}) => any;
|
|
28
27
|
"update:modelValue": (value: boolean) => any;
|
|
29
|
-
}, string, import(
|
|
28
|
+
}, string, import("vue").PublicProps, Readonly<ThinkingProps> & Readonly<{
|
|
30
29
|
onChange?: ((value: {
|
|
31
30
|
value: boolean;
|
|
32
31
|
status: ThinkingStatus;
|
|
@@ -43,10 +42,11 @@ declare const __VLS_component: import('vue').DefineComponent<ThinkingProps, {},
|
|
|
43
42
|
buttonWidth: string;
|
|
44
43
|
backgroundColor: string;
|
|
45
44
|
color: string;
|
|
46
|
-
}, {}, {}, {}, string, import(
|
|
47
|
-
declare const
|
|
45
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
46
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
47
|
+
declare const _default: typeof __VLS_export;
|
|
48
48
|
export default _default;
|
|
49
|
-
type
|
|
49
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
50
50
|
new (): {
|
|
51
51
|
$slots: S;
|
|
52
52
|
};
|
|
@@ -1,14 +1,24 @@
|
|
|
1
1
|
export type ThinkingStatus = 'start' | 'thinking' | 'end' | 'error' | 'cancel';
|
|
2
2
|
export interface ThinkingProps {
|
|
3
|
+
/** 初始展开状态 */
|
|
3
4
|
modelValue?: boolean;
|
|
5
|
+
/** 思维链内容(字符串格式) */
|
|
4
6
|
content?: string;
|
|
7
|
+
/** 当前状态 */
|
|
5
8
|
status?: ThinkingStatus;
|
|
9
|
+
/** 是否禁用 */
|
|
6
10
|
disabled?: boolean;
|
|
11
|
+
/** 自动收起 */
|
|
7
12
|
autoCollapse?: boolean;
|
|
13
|
+
/** 动画时长 */
|
|
8
14
|
duration?: string;
|
|
15
|
+
/** 展开收起按钮宽度 */
|
|
9
16
|
buttonWidth?: string;
|
|
17
|
+
/** 展开内容最大宽度 */
|
|
10
18
|
maxWidth?: string;
|
|
19
|
+
/** 展示内容的背景色 */
|
|
11
20
|
backgroundColor?: string;
|
|
21
|
+
/** 展开内容字体颜色 */
|
|
12
22
|
color?: string;
|
|
13
23
|
}
|
|
14
24
|
export interface ThinkingEmits {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=(t,o)=>{const c=t.__vccOpts||t;for(const[r,s]of o)c[r]=s;return c};exports._export_sfc=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("@vunk/plus/components/avatar"),e=require("vue"),s=require("element-plus"),l=require("../_plugin-vue_export-helper-BHFhmbuH.js"),u={},a={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"};function i(n,t){return e.openBlock(),e.createElementBlock("svg",a,t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M512 85.333c235.648 0 426.667 191.019 426.667 426.667S747.648 938.667 512 938.667 85.333 747.648 85.333 512 276.352 85.333 512 85.333zM512 170.667c-188.513 0-341.333 152.82-341.333 341.333 0 188.513 152.82 341.333 341.333 341.333 188.513 0 341.333-152.82 341.333-341.333 0-188.513-152.82-341.333-341.333-341.333z M512 256c141.385 0 256 114.615 256 256S653.385 768 512 768 256 653.385 256 512s114.615-256 256-256z"},null,-1)]))}const r=l._export_sfc(u,[["render",i]]),o=function(n){return e.h(s.ElIcon,n,()=>e.h(r))},d=function(n){return e.h(c.VkAvatar,{icon:o,shape:"square",size:"small",...n})};exports.VkEndAvatar=d;exports.VkEndIcon=o;exports.VkEndSvg=r;
|
package/icons/end/index.mjs
CHANGED
|
@@ -1,36 +1,31 @@
|
|
|
1
|
-
import { VkAvatar } from
|
|
2
|
-
import {
|
|
3
|
-
import { ElIcon } from
|
|
4
|
-
import { _ as
|
|
5
|
-
|
|
6
|
-
const _sfc_main = {};
|
|
7
|
-
|
|
8
|
-
const _hoisted_1 = {
|
|
1
|
+
import { VkAvatar as t } from "@vunk/plus/components/avatar";
|
|
2
|
+
import { createElementBlock as e, openBlock as c, createElementVNode as s, h as r } from "vue";
|
|
3
|
+
import { ElIcon as a } from "element-plus";
|
|
4
|
+
import { _ as i } from "../_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
5
|
+
const l = {}, m = {
|
|
9
6
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10
7
|
viewBox: "0 0 1024 1024"
|
|
11
8
|
};
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
createElementVNode("path", {
|
|
9
|
+
function f(o, n) {
|
|
10
|
+
return c(), e("svg", m, n[0] || (n[0] = [
|
|
11
|
+
s("path", {
|
|
16
12
|
fill: "currentColor",
|
|
17
13
|
d: "M512 85.333c235.648 0 426.667 191.019 426.667 426.667S747.648 938.667 512 938.667 85.333 747.648 85.333 512 276.352 85.333 512 85.333zM512 170.667c-188.513 0-341.333 152.82-341.333 341.333 0 188.513 152.82 341.333 341.333 341.333 188.513 0 341.333-152.82 341.333-341.333 0-188.513-152.82-341.333-341.333-341.333z M512 256c141.385 0 256 114.615 256 256S653.385 768 512 768 256 653.385 256 512s114.615-256 256-256z"
|
|
18
|
-
}, null, -1
|
|
19
|
-
]))
|
|
14
|
+
}, null, -1)
|
|
15
|
+
]));
|
|
20
16
|
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
return
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const Avatar = function(props) {
|
|
28
|
-
return h(VkAvatar, {
|
|
29
|
-
icon: Icon,
|
|
17
|
+
const p = /* @__PURE__ */ i(l, [["render", f]]), u = function(o) {
|
|
18
|
+
return r(a, o, () => r(p));
|
|
19
|
+
}, E = function(o) {
|
|
20
|
+
return r(t, {
|
|
21
|
+
icon: u,
|
|
30
22
|
shape: "square",
|
|
31
23
|
size: "small",
|
|
32
|
-
...
|
|
24
|
+
...o
|
|
33
25
|
});
|
|
34
26
|
};
|
|
35
|
-
|
|
36
|
-
|
|
27
|
+
export {
|
|
28
|
+
E as VkEndAvatar,
|
|
29
|
+
u as VkEndIcon,
|
|
30
|
+
p as VkEndSvg
|
|
31
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("@vunk/plus/components/avatar"),e=require("vue"),o=require("element-plus"),a=require("../_plugin-vue_export-helper-BHFhmbuH.js"),l={},u={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"};function i(c,r){return e.openBlock(),e.createElementBlock("svg",u,r[0]||(r[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M896 768H128c-35.2 0-64-28.8-64-64V320c0-35.2 28.8-64 64-64h768c35.2 0 64 28.8 64 64v384c0 35.2-28.8 64-64 64zM224 384c-17.6 0-32 14.4-32 32s14.4 32 32 32 32-14.4 32-32-14.4-32-32-32zm128 0c-17.6 0-32 14.4-32 32s14.4 32 32 32 32-14.4 32-32-14.4-32-32-32zm128 0c-17.6 0-32 14.4-32 32s14.4 32 32 32 32-14.4 32-32-14.4-32-32-32zm128 0c-17.6 0-32 14.4-32 32s14.4 32 32 32 32-14.4 32-32-14.4-32-32-32zm128 0c-17.6 0-32 14.4-32 32s14.4 32 32 32 32-14.4 32-32-14.4-32-32-32zM224 480c-17.6 0-32 14.4-32 32s14.4 32 32 32 32-14.4 32-32-14.4-32-32-32zm128 0c-17.6 0-32 14.4-32 32s14.4 32 32 32 32-14.4 32-32-14.4-32-32-32zm128 0c-17.6 0-32 14.4-32 32s14.4 32 32 32 32-14.4 32-32-14.4-32-32-32zm128 0c-17.6 0-32 14.4-32 32s14.4 32 32 32 32-14.4 32-32-14.4-32-32-32zm128 0c-17.6 0-32 14.4-32 32s14.4 32 32 32 32-14.4 32-32-14.4-32-32-32zM224 576c-17.6 0-32 14.4-32 32s14.4 32 32 32 32-14.4 32-32-14.4-32-32-32zm512 0H288c-17.6 0-32 14.4-32 32s14.4 32 32 32h448c17.6 0 32-14.4 32-32s-14.4-32-32-32z"},null,-1)]))}const t=a._export_sfc(l,[["render",i]]),s=function(c){return e.h(o.ElIcon,c,()=>e.h(t))},m=function(c){return e.h(n.VkAvatar,{icon:s,shape:"square",size:"small",...c})};exports.VkKeyboardAvatar=m;exports.VkKeyboardIcon=s;exports.VkKeyboardSvg=t;
|
package/icons/keyboard/index.mjs
CHANGED
|
@@ -1,36 +1,31 @@
|
|
|
1
|
-
import { VkAvatar } from
|
|
2
|
-
import {
|
|
3
|
-
import { ElIcon } from
|
|
4
|
-
import { _ as
|
|
5
|
-
|
|
6
|
-
const _sfc_main = {};
|
|
7
|
-
|
|
8
|
-
const _hoisted_1 = {
|
|
1
|
+
import { VkAvatar as s } from "@vunk/plus/components/avatar";
|
|
2
|
+
import { createElementBlock as t, openBlock as e, createElementVNode as n, h as o } from "vue";
|
|
3
|
+
import { ElIcon as m } from "element-plus";
|
|
4
|
+
import { _ as a } from "../_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
5
|
+
const z = {}, i = {
|
|
9
6
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10
7
|
viewBox: "0 0 1024 1024"
|
|
11
8
|
};
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
createElementVNode("path", {
|
|
9
|
+
function l(c, r) {
|
|
10
|
+
return e(), t("svg", i, r[0] || (r[0] = [
|
|
11
|
+
n("path", {
|
|
16
12
|
fill: "currentColor",
|
|
17
13
|
d: "M896 768H128c-35.2 0-64-28.8-64-64V320c0-35.2 28.8-64 64-64h768c35.2 0 64 28.8 64 64v384c0 35.2-28.8 64-64 64zM224 384c-17.6 0-32 14.4-32 32s14.4 32 32 32 32-14.4 32-32-14.4-32-32-32zm128 0c-17.6 0-32 14.4-32 32s14.4 32 32 32 32-14.4 32-32-14.4-32-32-32zm128 0c-17.6 0-32 14.4-32 32s14.4 32 32 32 32-14.4 32-32-14.4-32-32-32zm128 0c-17.6 0-32 14.4-32 32s14.4 32 32 32 32-14.4 32-32-14.4-32-32-32zm128 0c-17.6 0-32 14.4-32 32s14.4 32 32 32 32-14.4 32-32-14.4-32-32-32zM224 480c-17.6 0-32 14.4-32 32s14.4 32 32 32 32-14.4 32-32-14.4-32-32-32zm128 0c-17.6 0-32 14.4-32 32s14.4 32 32 32 32-14.4 32-32-14.4-32-32-32zm128 0c-17.6 0-32 14.4-32 32s14.4 32 32 32 32-14.4 32-32-14.4-32-32-32zm128 0c-17.6 0-32 14.4-32 32s14.4 32 32 32 32-14.4 32-32-14.4-32-32-32zm128 0c-17.6 0-32 14.4-32 32s14.4 32 32 32 32-14.4 32-32-14.4-32-32-32zM224 576c-17.6 0-32 14.4-32 32s14.4 32 32 32 32-14.4 32-32-14.4-32-32-32zm512 0H288c-17.6 0-32 14.4-32 32s14.4 32 32 32h448c17.6 0 32-14.4 32-32s-14.4-32-32-32z"
|
|
18
|
-
}, null, -1
|
|
19
|
-
]))
|
|
14
|
+
}, null, -1)
|
|
15
|
+
]));
|
|
20
16
|
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
return
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const Avatar = function(props) {
|
|
28
|
-
return h(VkAvatar, {
|
|
29
|
-
icon: Icon,
|
|
17
|
+
const f = /* @__PURE__ */ a(z, [["render", l]]), p = function(c) {
|
|
18
|
+
return o(m, c, () => o(f));
|
|
19
|
+
}, h = function(c) {
|
|
20
|
+
return o(s, {
|
|
21
|
+
icon: p,
|
|
30
22
|
shape: "square",
|
|
31
23
|
size: "small",
|
|
32
|
-
...
|
|
24
|
+
...c
|
|
33
25
|
});
|
|
34
26
|
};
|
|
35
|
-
|
|
36
|
-
|
|
27
|
+
export {
|
|
28
|
+
h as VkKeyboardAvatar,
|
|
29
|
+
p as VkKeyboardIcon,
|
|
30
|
+
f as VkKeyboardSvg
|
|
31
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("@vunk/plus/components/avatar"),e=require("vue"),s=require("element-plus"),l=require("../_plugin-vue_export-helper-BHFhmbuH.js"),a={},u={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"};function i(t,r){return e.openBlock(),e.createElementBlock("svg",u,r[0]||(r[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M853.333 512l-512 384V128l512 384z"},null,-1)]))}const n=l._export_sfc(a,[["render",i]]),o=function(t){return e.h(s.ElIcon,t,()=>e.h(n))},v=function(t){return e.h(c.VkAvatar,{icon:o,shape:"square",size:"small",...t})};exports.VkStartAvatar=v;exports.VkStartIcon=o;exports.VkStartSvg=n;
|
package/icons/start/index.mjs
CHANGED
|
@@ -1,36 +1,31 @@
|
|
|
1
|
-
import { VkAvatar } from
|
|
2
|
-
import {
|
|
3
|
-
import { ElIcon } from
|
|
4
|
-
import { _ as
|
|
5
|
-
|
|
6
|
-
const _sfc_main = {};
|
|
7
|
-
|
|
8
|
-
const _hoisted_1 = {
|
|
1
|
+
import { VkAvatar as n } from "@vunk/plus/components/avatar";
|
|
2
|
+
import { createElementBlock as e, openBlock as s, createElementVNode as a, h as r } from "vue";
|
|
3
|
+
import { ElIcon as c } from "element-plus";
|
|
4
|
+
import { _ as l } from "../_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
5
|
+
const i = {}, m = {
|
|
9
6
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10
7
|
viewBox: "0 0 1024 1024"
|
|
11
8
|
};
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
createElementVNode("path", {
|
|
9
|
+
function f(t, o) {
|
|
10
|
+
return s(), e("svg", m, o[0] || (o[0] = [
|
|
11
|
+
a("path", {
|
|
16
12
|
fill: "currentColor",
|
|
17
13
|
d: "M853.333 512l-512 384V128l512 384z"
|
|
18
|
-
}, null, -1
|
|
19
|
-
]))
|
|
14
|
+
}, null, -1)
|
|
15
|
+
]));
|
|
20
16
|
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
return
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const Avatar = function(props) {
|
|
28
|
-
return h(VkAvatar, {
|
|
29
|
-
icon: Icon,
|
|
17
|
+
const p = /* @__PURE__ */ l(i, [["render", f]]), u = function(t) {
|
|
18
|
+
return r(c, t, () => r(p));
|
|
19
|
+
}, d = function(t) {
|
|
20
|
+
return r(n, {
|
|
21
|
+
icon: u,
|
|
30
22
|
shape: "square",
|
|
31
23
|
size: "small",
|
|
32
|
-
...
|
|
24
|
+
...t
|
|
33
25
|
});
|
|
34
26
|
};
|
|
35
|
-
|
|
36
|
-
|
|
27
|
+
export {
|
|
28
|
+
d as VkStartAvatar,
|
|
29
|
+
u as VkStartIcon,
|
|
30
|
+
p as VkStartSvg
|
|
31
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("@vunk/plus/components/avatar"),e=require("vue"),s=require("element-plus"),i=require("../_plugin-vue_export-helper-BHFhmbuH.js"),u={name:"VkVoiceIcon"},a={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"};function l(c,t,p,V,_,h){return e.openBlock(),e.createElementBlock("svg",a,t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M512 640c88 0 160-72 160-160V256c0-88-72-160-160-160s-160 72-160 160v224c0 88 72 160 160 160zm280-156.8h-48c-4.4 0-8 3.6-8 8v8.8c0 108.8-86.4 199.2-195.2 203.2H512c-112 0-203.2-91.2-203.2-203.2v-8.8c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v8.8c0 131.2 98.4 239.2 225.6 254.4v115.2H360c-17.6 0-32 14.4-32 32s14.4 32 32 32h304c17.6 0 32-14.4 32-32s-14.4-32-32-32H552V744.8c127.2-15.2 225.6-123.2 225.6-254.4v-8.8c0-4.8-3.6-8.4-8-8.4z"},null,-1)]))}const o=i._export_sfc(u,[["render",l]]),n=function(c){return e.h(s.ElIcon,c,()=>e.h(o))},v=function(c){return e.h(r.VkAvatar,{icon:n,shape:"square",size:"small",...c})};exports.VkVoiceAvatar=v;exports.VkVoiceIcon=n;exports.VkVoiceSvg=o;
|
package/icons/voice/index.mjs
CHANGED
|
@@ -1,51 +1,33 @@
|
|
|
1
|
-
import { VkAvatar } from
|
|
2
|
-
import {
|
|
3
|
-
import { ElIcon } from
|
|
4
|
-
import { _ as
|
|
5
|
-
|
|
6
|
-
var _sfc_main = {
|
|
1
|
+
import { VkAvatar as r } from "@vunk/plus/components/avatar";
|
|
2
|
+
import { createElementBlock as e, openBlock as n, createElementVNode as s, h as c } from "vue";
|
|
3
|
+
import { ElIcon as a } from "element-plus";
|
|
4
|
+
import { _ as i } from "../_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
5
|
+
const m = {
|
|
7
6
|
name: "VkVoiceIcon"
|
|
7
|
+
}, p = {
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
+
viewBox: "0 0 1024 1024"
|
|
8
10
|
};
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
_cache[0] || (_cache[0] = createElementVNode(
|
|
17
|
-
"svg",
|
|
18
|
-
{
|
|
19
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
20
|
-
viewBox: "0 0 1024 1024"
|
|
21
|
-
},
|
|
22
|
-
[
|
|
23
|
-
createElementVNode("path", {
|
|
24
|
-
fill: "currentColor",
|
|
25
|
-
d: "M512 640c88 0 160-72 160-160V256c0-88-72-160-160-160s-160 72-160 160v224c0 88 72 160 160 160zm280-156.8h-48c-4.4 0-8 3.6-8 8v8.8c0 108.8-86.4 199.2-195.2 203.2H512c-112 0-203.2-91.2-203.2-203.2v-8.8c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v8.8c0 131.2 98.4 239.2 225.6 254.4v115.2H360c-17.6 0-32 14.4-32 32s14.4 32 32 32h304c17.6 0 32-14.4 32-32s-14.4-32-32-32H552V744.8c127.2-15.2 225.6-123.2 225.6-254.4v-8.8c0-4.8-3.6-8.4-8-8.4z"
|
|
26
|
-
})
|
|
27
|
-
],
|
|
28
|
-
-1
|
|
29
|
-
/* HOISTED */
|
|
30
|
-
))
|
|
31
|
-
],
|
|
32
|
-
2112
|
|
33
|
-
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
34
|
-
);
|
|
11
|
+
function l(o, t, f, u, _, h) {
|
|
12
|
+
return n(), e("svg", p, t[0] || (t[0] = [
|
|
13
|
+
s("path", {
|
|
14
|
+
fill: "currentColor",
|
|
15
|
+
d: "M512 640c88 0 160-72 160-160V256c0-88-72-160-160-160s-160 72-160 160v224c0 88 72 160 160 160zm280-156.8h-48c-4.4 0-8 3.6-8 8v8.8c0 108.8-86.4 199.2-195.2 203.2H512c-112 0-203.2-91.2-203.2-203.2v-8.8c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v8.8c0 131.2 98.4 239.2 225.6 254.4v115.2H360c-17.6 0-32 14.4-32 32s14.4 32 32 32h304c17.6 0 32-14.4 32-32s-14.4-32-32-32H552V744.8c127.2-15.2 225.6-123.2 225.6-254.4v-8.8c0-4.8-3.6-8.4-8-8.4z"
|
|
16
|
+
}, null, -1)
|
|
17
|
+
]));
|
|
35
18
|
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
return
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
const Avatar = function(props) {
|
|
43
|
-
return h(VkAvatar, {
|
|
44
|
-
icon: Icon,
|
|
19
|
+
const v = /* @__PURE__ */ i(m, [["render", l]]), V = function(o) {
|
|
20
|
+
return c(a, o, () => c(v));
|
|
21
|
+
}, g = function(o) {
|
|
22
|
+
return c(r, {
|
|
23
|
+
icon: V,
|
|
45
24
|
shape: "square",
|
|
46
25
|
size: "small",
|
|
47
|
-
...
|
|
26
|
+
...o
|
|
48
27
|
});
|
|
49
28
|
};
|
|
50
|
-
|
|
51
|
-
|
|
29
|
+
export {
|
|
30
|
+
g as VkVoiceAvatar,
|
|
31
|
+
V as VkVoiceIcon,
|
|
32
|
+
v as VkVoiceSvg
|
|
33
|
+
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
declare const _default:
|
|
2
|
-
name: string;
|
|
3
|
-
};
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
4
2
|
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|