@vunk/plus 1.6.8 → 1.6.10
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/SendOutlined.mjs +8 -6
- package/components/SharedSystems.mjs +290 -72
- package/components/WebGLRenderer.mjs +32 -20
- package/components/WebGPURenderer.mjs +48 -10
- package/components/agent-chat-provider/index.d.ts +7 -0
- package/components/agent-chat-provider/index.mjs +6 -3
- 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 +50 -0
- package/components/agent-chat-provider/src/use.d.ts +5 -0
- package/components/avatar/index.d.ts +4 -0
- package/components/avatar/index.mjs +2 -2
- package/components/avatar/src/ctx.d.ts +6 -0
- package/components/avatar/src/index.vue.d.ts +180 -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 +78 -158
- 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 +104 -0
- package/components/broadcasting-markdown/src/index.vue.d.ts +439 -0
- package/components/broadcasting-markdown/src/paragraph.vue.d.ts +79 -0
- package/components/broadcasting-markdown/src/speech-error.vue.d.ts +67 -0
- package/components/broadcasting-markdown/src/types.d.ts +26 -0
- package/components/broadcasting-markdown/src/use.d.ts +21 -0
- package/components/browserAll.mjs +333 -562
- package/components/bubble-list/index.d.ts +5 -0
- package/components/bubble-list/index.mjs +91 -72
- package/components/bubble-list/src/ctx.d.ts +32 -0
- package/components/bubble-list/src/index.vue.d.ts +810 -0
- package/components/bubble-list/src/types.d.ts +4 -0
- package/components/bubble-templates/index.d.ts +4 -0
- package/components/bubble-templates/index.mjs +83 -68
- package/components/bubble-templates/src/index.vue.d.ts +595 -0
- package/components/bubble-templates/src/types.d.ts +40 -0
- package/components/chat-independent/index.d.ts +4 -0
- package/components/chat-independent/index.mjs +136 -115
- 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 +2429 -0
- package/components/chat-independent/src/types.d.ts +13 -0
- package/components/colorToUniform.mjs +2 -0
- package/components/index.d.ts +0 -0
- package/components/index2.mjs +11896 -8381
- package/components/init.mjs +1724 -998
- package/components/lottie-animation/index.d.ts +4 -0
- package/components/lottie-animation/index.mjs +2 -2
- 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 +57 -40
- package/components/metahuman-broadcasting/src/ctx.d.ts +57 -0
- package/components/metahuman-broadcasting/src/index.vue.d.ts +885 -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 +2 -2
- 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/index.mjs +2 -2
- 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 +2 -2
- package/components/recorder-button/src/ctx.d.ts +41 -0
- package/components/recorder-button/src/index.vue.d.ts +333 -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 +5 -5
- package/components/routes-menu-content/src/ctx.d.ts +17 -0
- package/components/routes-menu-content/src/index.vue.d.ts +350 -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 +185 -0
- package/components/routes-menu-content/src/item/ctx.d.ts +14 -0
- package/components/routes-menu-content/src/item/index.vue.d.ts +316 -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 +180 -86
- package/components/sender/src/SenderHeader.vue.d.ts +270 -0
- package/components/sender/src/ctx.d.ts +64 -0
- package/components/sender/src/index.vue.d.ts +779 -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 +13 -6
- 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 +6 -3
- 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 +266 -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 +3 -3
- package/components/tables-v1/src/ctx.d.ts +280 -0
- package/components/tables-v1/src/el-ctx.d.ts +262 -0
- package/components/tables-v1/src/index.vue.d.ts +3054 -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 +33 -269
- package/components/tables-v1-checkbox/src/ctx.d.ts +313 -0
- package/components/tables-v1-checkbox/src/index.vue.d.ts +3831 -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 +52 -42
- package/components/text/src/ctx.d.ts +341 -0
- package/components/text/src/index.vue.d.ts +4593 -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 +2 -2
- 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 +9 -5
- 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/components/webworkerAll.mjs +1 -1
- package/composables/el-breakpoints/index.d.ts +5 -5
- package/composables/recorder/index.mjs +191 -288
- package/icons/end/index.mjs +3 -3
- package/icons/end/src/avatar.d.ts +2 -11
- package/icons/end/src/icon.d.ts +2 -56
- package/icons/keyboard/index.mjs +3 -3
- package/icons/keyboard/src/avatar.d.ts +2 -11
- package/icons/keyboard/src/icon.d.ts +2 -56
- package/icons/start/index.mjs +3 -3
- package/icons/start/src/avatar.d.ts +2 -11
- package/icons/start/src/icon.d.ts +2 -56
- package/icons/voice/index.mjs +2 -2
- package/icons/voice/src/avatar.d.ts +2 -11
- package/icons/voice/src/icon.d.ts +2 -56
- package/package.json +1 -1
- package/shared/audioToFrames/index.mjs +10 -2
|
@@ -0,0 +1,316 @@
|
|
|
1
|
+
import type { RouteRecordRaw } from 'vue-router';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
+
data: {
|
|
4
|
+
type: import("vue").PropType<RouteRecordRaw>;
|
|
5
|
+
default: () => {};
|
|
6
|
+
};
|
|
7
|
+
popperClass: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
basePath: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
}>, {
|
|
16
|
+
skipRender: symbol;
|
|
17
|
+
onlyData: import("vue").ComputedRef<{
|
|
18
|
+
meta: {
|
|
19
|
+
[x: string]: unknown;
|
|
20
|
+
[x: number]: unknown;
|
|
21
|
+
[x: symbol]: unknown;
|
|
22
|
+
};
|
|
23
|
+
_paths: string[];
|
|
24
|
+
path: string;
|
|
25
|
+
component: import("vue-router").RouteComponent | (() => Promise<import("vue-router").RouteComponent>);
|
|
26
|
+
components?: never;
|
|
27
|
+
children?: never;
|
|
28
|
+
redirect?: never;
|
|
29
|
+
props?: import("vue-router")._RouteRecordProps;
|
|
30
|
+
alias?: string | string[];
|
|
31
|
+
name?: import("vue-router").RouteRecordNameGeneric;
|
|
32
|
+
beforeEnter?: import("vue-router").NavigationGuardWithThis<undefined> | import("vue-router").NavigationGuardWithThis<undefined>[];
|
|
33
|
+
end?: boolean | undefined;
|
|
34
|
+
sensitive?: boolean | undefined;
|
|
35
|
+
strict?: boolean | undefined;
|
|
36
|
+
} | {
|
|
37
|
+
meta: {
|
|
38
|
+
[x: string]: unknown;
|
|
39
|
+
[x: number]: unknown;
|
|
40
|
+
[x: symbol]: unknown;
|
|
41
|
+
};
|
|
42
|
+
_paths: string[];
|
|
43
|
+
path: string;
|
|
44
|
+
component?: (import("vue-router").RouteComponent | (() => Promise<import("vue-router").RouteComponent>)) | null | undefined;
|
|
45
|
+
components?: never;
|
|
46
|
+
children: RouteRecordRaw[];
|
|
47
|
+
props?: import("vue-router")._RouteRecordProps;
|
|
48
|
+
redirect?: import("vue-router").RouteRecordRedirectOption;
|
|
49
|
+
alias?: string | string[];
|
|
50
|
+
name?: import("vue-router").RouteRecordNameGeneric;
|
|
51
|
+
beforeEnter?: import("vue-router").NavigationGuardWithThis<undefined> | import("vue-router").NavigationGuardWithThis<undefined>[];
|
|
52
|
+
end?: boolean | undefined;
|
|
53
|
+
sensitive?: boolean | undefined;
|
|
54
|
+
strict?: boolean | undefined;
|
|
55
|
+
} | {
|
|
56
|
+
meta: {
|
|
57
|
+
[x: string]: unknown;
|
|
58
|
+
[x: number]: unknown;
|
|
59
|
+
[x: symbol]: unknown;
|
|
60
|
+
};
|
|
61
|
+
_paths: string[];
|
|
62
|
+
path: string;
|
|
63
|
+
components: Record<string, import("vue-router").RouteComponent | (() => Promise<import("vue-router").RouteComponent>)>;
|
|
64
|
+
component?: never;
|
|
65
|
+
children?: never;
|
|
66
|
+
redirect?: never;
|
|
67
|
+
props?: Record<string, import("vue-router")._RouteRecordProps> | boolean;
|
|
68
|
+
alias?: string | string[];
|
|
69
|
+
name?: import("vue-router").RouteRecordNameGeneric;
|
|
70
|
+
beforeEnter?: import("vue-router").NavigationGuardWithThis<undefined> | import("vue-router").NavigationGuardWithThis<undefined>[];
|
|
71
|
+
end?: boolean | undefined;
|
|
72
|
+
sensitive?: boolean | undefined;
|
|
73
|
+
strict?: boolean | undefined;
|
|
74
|
+
} | {
|
|
75
|
+
meta: {
|
|
76
|
+
[x: string]: unknown;
|
|
77
|
+
[x: number]: unknown;
|
|
78
|
+
[x: symbol]: unknown;
|
|
79
|
+
};
|
|
80
|
+
_paths: string[];
|
|
81
|
+
path: string;
|
|
82
|
+
components?: Record<string, import("vue-router").RouteComponent | (() => Promise<import("vue-router").RouteComponent>)> | null | undefined;
|
|
83
|
+
component?: never;
|
|
84
|
+
children: RouteRecordRaw[];
|
|
85
|
+
props?: Record<string, import("vue-router")._RouteRecordProps> | boolean;
|
|
86
|
+
redirect?: import("vue-router").RouteRecordRedirectOption;
|
|
87
|
+
alias?: string | string[];
|
|
88
|
+
name?: import("vue-router").RouteRecordNameGeneric;
|
|
89
|
+
beforeEnter?: import("vue-router").NavigationGuardWithThis<undefined> | import("vue-router").NavigationGuardWithThis<undefined>[];
|
|
90
|
+
end?: boolean | undefined;
|
|
91
|
+
sensitive?: boolean | undefined;
|
|
92
|
+
strict?: boolean | undefined;
|
|
93
|
+
} | {
|
|
94
|
+
meta: {
|
|
95
|
+
[x: string]: unknown;
|
|
96
|
+
[x: number]: unknown;
|
|
97
|
+
[x: symbol]: unknown;
|
|
98
|
+
};
|
|
99
|
+
_paths: string[];
|
|
100
|
+
path: string;
|
|
101
|
+
redirect: import("vue-router").RouteRecordRedirectOption;
|
|
102
|
+
component?: never;
|
|
103
|
+
components?: never;
|
|
104
|
+
props?: never;
|
|
105
|
+
alias?: string | string[];
|
|
106
|
+
name?: import("vue-router").RouteRecordNameGeneric;
|
|
107
|
+
beforeEnter?: import("vue-router").NavigationGuardWithThis<undefined> | import("vue-router").NavigationGuardWithThis<undefined>[];
|
|
108
|
+
children?: RouteRecordRaw[];
|
|
109
|
+
end?: boolean | undefined;
|
|
110
|
+
sensitive?: boolean | undefined;
|
|
111
|
+
strict?: boolean | undefined;
|
|
112
|
+
} | undefined>;
|
|
113
|
+
bindProps: import("vue").ComputedRef<{}>;
|
|
114
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
115
|
+
data: {
|
|
116
|
+
type: import("vue").PropType<RouteRecordRaw>;
|
|
117
|
+
default: () => {};
|
|
118
|
+
};
|
|
119
|
+
popperClass: {
|
|
120
|
+
type: StringConstructor;
|
|
121
|
+
default: string;
|
|
122
|
+
};
|
|
123
|
+
basePath: {
|
|
124
|
+
type: StringConstructor;
|
|
125
|
+
default: string;
|
|
126
|
+
};
|
|
127
|
+
}>> & Readonly<{}>, {
|
|
128
|
+
data: RouteRecordRaw;
|
|
129
|
+
popperClass: string;
|
|
130
|
+
basePath: string;
|
|
131
|
+
}, {}, {
|
|
132
|
+
CoreVue: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
133
|
+
data: {
|
|
134
|
+
type: import("vue").PropType<RouteRecordRaw>;
|
|
135
|
+
default: () => {};
|
|
136
|
+
};
|
|
137
|
+
popperClass: {
|
|
138
|
+
type: StringConstructor;
|
|
139
|
+
default: string;
|
|
140
|
+
};
|
|
141
|
+
basePath: {
|
|
142
|
+
type: StringConstructor;
|
|
143
|
+
default: string;
|
|
144
|
+
};
|
|
145
|
+
}>, {
|
|
146
|
+
resolveFullPath: typeof import("@vunk/shared/string/url").resolveFullPath;
|
|
147
|
+
hasChildren: import("vue").ComputedRef<boolean>;
|
|
148
|
+
subMenuIndex: import("vue").ComputedRef<string>;
|
|
149
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
150
|
+
data: {
|
|
151
|
+
type: import("vue").PropType<RouteRecordRaw>;
|
|
152
|
+
default: () => {};
|
|
153
|
+
};
|
|
154
|
+
popperClass: {
|
|
155
|
+
type: StringConstructor;
|
|
156
|
+
default: string;
|
|
157
|
+
};
|
|
158
|
+
basePath: {
|
|
159
|
+
type: StringConstructor;
|
|
160
|
+
default: string;
|
|
161
|
+
};
|
|
162
|
+
}>> & Readonly<{}>, {
|
|
163
|
+
data: RouteRecordRaw;
|
|
164
|
+
popperClass: string;
|
|
165
|
+
basePath: string;
|
|
166
|
+
}, {}, {
|
|
167
|
+
ElSubMenu: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
168
|
+
readonly index: {
|
|
169
|
+
readonly type: import("vue").PropType<string>;
|
|
170
|
+
readonly required: true;
|
|
171
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
172
|
+
__epPropKey: true;
|
|
173
|
+
};
|
|
174
|
+
readonly showTimeout: NumberConstructor;
|
|
175
|
+
readonly hideTimeout: NumberConstructor;
|
|
176
|
+
readonly popperClass: StringConstructor;
|
|
177
|
+
readonly disabled: BooleanConstructor;
|
|
178
|
+
readonly teleported: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
179
|
+
readonly popperOffset: NumberConstructor;
|
|
180
|
+
readonly expandCloseIcon: {
|
|
181
|
+
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>>;
|
|
182
|
+
readonly required: false;
|
|
183
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
184
|
+
__epPropKey: true;
|
|
185
|
+
};
|
|
186
|
+
readonly expandOpenIcon: {
|
|
187
|
+
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>>;
|
|
188
|
+
readonly required: false;
|
|
189
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
190
|
+
__epPropKey: true;
|
|
191
|
+
};
|
|
192
|
+
readonly collapseCloseIcon: {
|
|
193
|
+
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>>;
|
|
194
|
+
readonly required: false;
|
|
195
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
196
|
+
__epPropKey: true;
|
|
197
|
+
};
|
|
198
|
+
readonly collapseOpenIcon: {
|
|
199
|
+
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>>;
|
|
200
|
+
readonly required: false;
|
|
201
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
202
|
+
__epPropKey: true;
|
|
203
|
+
};
|
|
204
|
+
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
205
|
+
[key: string]: any;
|
|
206
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
207
|
+
readonly index: {
|
|
208
|
+
readonly type: import("vue").PropType<string>;
|
|
209
|
+
readonly required: true;
|
|
210
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
211
|
+
__epPropKey: true;
|
|
212
|
+
};
|
|
213
|
+
readonly showTimeout: NumberConstructor;
|
|
214
|
+
readonly hideTimeout: NumberConstructor;
|
|
215
|
+
readonly popperClass: StringConstructor;
|
|
216
|
+
readonly disabled: BooleanConstructor;
|
|
217
|
+
readonly teleported: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
218
|
+
readonly popperOffset: NumberConstructor;
|
|
219
|
+
readonly expandCloseIcon: {
|
|
220
|
+
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>>;
|
|
221
|
+
readonly required: false;
|
|
222
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
223
|
+
__epPropKey: true;
|
|
224
|
+
};
|
|
225
|
+
readonly expandOpenIcon: {
|
|
226
|
+
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>>;
|
|
227
|
+
readonly required: false;
|
|
228
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
229
|
+
__epPropKey: true;
|
|
230
|
+
};
|
|
231
|
+
readonly collapseCloseIcon: {
|
|
232
|
+
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>>;
|
|
233
|
+
readonly required: false;
|
|
234
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
235
|
+
__epPropKey: true;
|
|
236
|
+
};
|
|
237
|
+
readonly collapseOpenIcon: {
|
|
238
|
+
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>>;
|
|
239
|
+
readonly required: false;
|
|
240
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
241
|
+
__epPropKey: true;
|
|
242
|
+
};
|
|
243
|
+
}>>, {
|
|
244
|
+
readonly teleported: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
245
|
+
readonly disabled: boolean;
|
|
246
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
247
|
+
ElMenuItem: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
248
|
+
readonly index: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string & {}) | (() => string | null) | ((new (...args: any[]) => string & {}) | (() => string | null))[], unknown, unknown, null, boolean>;
|
|
249
|
+
readonly route: {
|
|
250
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("vue-router").RouteLocationRaw & {}) | (() => import("vue-router").RouteLocationRaw) | ((new (...args: any[]) => import("vue-router").RouteLocationRaw & {}) | (() => import("vue-router").RouteLocationRaw))[], unknown, unknown>>;
|
|
251
|
+
readonly required: false;
|
|
252
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
253
|
+
__epPropKey: true;
|
|
254
|
+
};
|
|
255
|
+
readonly disabled: BooleanConstructor;
|
|
256
|
+
}, {
|
|
257
|
+
parentMenu: import("vue").ComputedRef<import("vue").ComponentInternalInstance>;
|
|
258
|
+
rootMenu: import("element-plus").MenuProvider;
|
|
259
|
+
active: import("vue").ComputedRef<boolean>;
|
|
260
|
+
nsMenu: {
|
|
261
|
+
namespace: import("vue").ComputedRef<string>;
|
|
262
|
+
b: (blockSuffix?: string) => string;
|
|
263
|
+
e: (element?: string | undefined) => string;
|
|
264
|
+
m: (modifier?: string | undefined) => string;
|
|
265
|
+
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
266
|
+
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
267
|
+
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
268
|
+
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
269
|
+
is: {
|
|
270
|
+
(name: string, state: boolean | undefined): string;
|
|
271
|
+
(name: string): string;
|
|
272
|
+
};
|
|
273
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
274
|
+
cssVarName: (name: string) => string;
|
|
275
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
276
|
+
cssVarBlockName: (name: string) => string;
|
|
277
|
+
};
|
|
278
|
+
nsMenuItem: {
|
|
279
|
+
namespace: import("vue").ComputedRef<string>;
|
|
280
|
+
b: (blockSuffix?: string) => string;
|
|
281
|
+
e: (element?: string | undefined) => string;
|
|
282
|
+
m: (modifier?: string | undefined) => string;
|
|
283
|
+
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
284
|
+
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
285
|
+
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
286
|
+
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
287
|
+
is: {
|
|
288
|
+
(name: string, state: boolean | undefined): string;
|
|
289
|
+
(name: string): string;
|
|
290
|
+
};
|
|
291
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
292
|
+
cssVarName: (name: string) => string;
|
|
293
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
294
|
+
cssVarBlockName: (name: string) => string;
|
|
295
|
+
};
|
|
296
|
+
handleClick: () => void;
|
|
297
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
298
|
+
click: (item: import("element-plus").MenuItemRegistered) => boolean;
|
|
299
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
300
|
+
readonly index: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string & {}) | (() => string | null) | ((new (...args: any[]) => string & {}) | (() => string | null))[], unknown, unknown, null, boolean>;
|
|
301
|
+
readonly route: {
|
|
302
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("vue-router").RouteLocationRaw & {}) | (() => import("vue-router").RouteLocationRaw) | ((new (...args: any[]) => import("vue-router").RouteLocationRaw & {}) | (() => import("vue-router").RouteLocationRaw))[], unknown, unknown>>;
|
|
303
|
+
readonly required: false;
|
|
304
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
305
|
+
__epPropKey: true;
|
|
306
|
+
};
|
|
307
|
+
readonly disabled: BooleanConstructor;
|
|
308
|
+
}>> & {
|
|
309
|
+
onClick?: ((item: import("element-plus").MenuItemRegistered) => any) | undefined;
|
|
310
|
+
}, {
|
|
311
|
+
readonly disabled: boolean;
|
|
312
|
+
readonly index: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string & {}) | (() => string | null) | ((new (...args: any[]) => string & {}) | (() => string | null))[], unknown, unknown>;
|
|
313
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
314
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
315
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
316
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, openBlock, createBlock, withCtx, withDirectives, createElementVNode, mergeProps, toDisplayString, createVNode, renderSlot, vShow, useSlots, computed, ref, nextTick, createSlots, createCommentVNode } from 'vue';
|
|
2
2
|
import { useModelComputed, useDeferred } from '@vunk/core/composables';
|
|
3
3
|
import { Button } from 'ant-design-vue';
|
|
4
|
-
import {
|
|
4
|
+
import { Attachments, Sender } from 'ant-design-x-vue';
|
|
5
5
|
import { noop } from '@vunk/shared/function';
|
|
6
6
|
import { ElCollapseTransition } from 'element-plus';
|
|
7
7
|
import { C as CloseOutlined, L as LinkOutlined, a as CloudUploadOutlined, S as SendOutlined } from '../SendOutlined.mjs';
|
|
8
|
+
import { _ as _export_sfc } from '../_plugin-vue_export-helper.mjs';
|
|
8
9
|
|
|
9
10
|
const props = {
|
|
10
11
|
/**
|
|
@@ -54,15 +55,6 @@ const emits = {
|
|
|
54
55
|
"cancel": null
|
|
55
56
|
};
|
|
56
57
|
|
|
57
|
-
const _hoisted_1 = {
|
|
58
|
-
class: "ant-sender-header-header"
|
|
59
|
-
};
|
|
60
|
-
const _hoisted_2 = {
|
|
61
|
-
class: "ant-sender-header-header-title"
|
|
62
|
-
};
|
|
63
|
-
const _hoisted_3 = {
|
|
64
|
-
class: "ant-sender-header-header-close"
|
|
65
|
-
};
|
|
66
58
|
var _sfc_main$1 = /* @__PURE__ */defineComponent({
|
|
67
59
|
...{
|
|
68
60
|
name: "AXSenderHeader",
|
|
@@ -86,33 +78,86 @@ var _sfc_main$1 = /* @__PURE__ */defineComponent({
|
|
|
86
78
|
emits: {
|
|
87
79
|
"update:modelValue": null
|
|
88
80
|
},
|
|
89
|
-
setup(__props
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
})])]), createElementVNode("div", {
|
|
104
|
-
ref: __props.contentRef,
|
|
105
|
-
class: "ant-sender-header-content"
|
|
106
|
-
}, [renderSlot(_ctx.$slots, "default")], 512
|
|
107
|
-
/* NEED_PATCH */)], 16
|
|
108
|
-
/* FULL_PROPS */), [[vShow, __props.modelValue]])]),
|
|
109
|
-
_: 3
|
|
110
|
-
/* FORWARDED */
|
|
111
|
-
});
|
|
81
|
+
setup(__props, {
|
|
82
|
+
expose: __expose
|
|
83
|
+
}) {
|
|
84
|
+
__expose();
|
|
85
|
+
const __returned__ = {
|
|
86
|
+
get CloseOutlined() {
|
|
87
|
+
return CloseOutlined;
|
|
88
|
+
},
|
|
89
|
+
get AntButton() {
|
|
90
|
+
return Button;
|
|
91
|
+
},
|
|
92
|
+
get ElCollapseTransition() {
|
|
93
|
+
return ElCollapseTransition;
|
|
94
|
+
}
|
|
112
95
|
};
|
|
96
|
+
Object.defineProperty(__returned__, "__isScriptSetup", {
|
|
97
|
+
enumerable: false,
|
|
98
|
+
value: true
|
|
99
|
+
});
|
|
100
|
+
return __returned__;
|
|
113
101
|
}
|
|
114
102
|
});
|
|
115
103
|
|
|
104
|
+
const _hoisted_1 = { class: "ant-sender-header-header" };
|
|
105
|
+
const _hoisted_2 = { class: "ant-sender-header-header-title" };
|
|
106
|
+
const _hoisted_3 = { class: "ant-sender-header-header-close" };
|
|
107
|
+
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
108
|
+
return openBlock(), createBlock($setup["ElCollapseTransition"], null, {
|
|
109
|
+
default: withCtx(() => [
|
|
110
|
+
withDirectives(createElementVNode(
|
|
111
|
+
"div",
|
|
112
|
+
mergeProps({ class: "ant-sender-header" }, _ctx.$attrs),
|
|
113
|
+
[
|
|
114
|
+
createElementVNode("div", _hoisted_1, [
|
|
115
|
+
createElementVNode(
|
|
116
|
+
"div",
|
|
117
|
+
_hoisted_2,
|
|
118
|
+
toDisplayString($props.title),
|
|
119
|
+
1
|
|
120
|
+
/* TEXT */
|
|
121
|
+
),
|
|
122
|
+
createElementVNode("div", _hoisted_3, [
|
|
123
|
+
createVNode($setup["AntButton"], {
|
|
124
|
+
type: "text",
|
|
125
|
+
size: "small",
|
|
126
|
+
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", false))
|
|
127
|
+
}, {
|
|
128
|
+
icon: withCtx(() => [
|
|
129
|
+
createVNode($setup["CloseOutlined"])
|
|
130
|
+
]),
|
|
131
|
+
_: 1
|
|
132
|
+
/* STABLE */
|
|
133
|
+
})
|
|
134
|
+
])
|
|
135
|
+
]),
|
|
136
|
+
createElementVNode(
|
|
137
|
+
"div",
|
|
138
|
+
{
|
|
139
|
+
ref: $props.contentRef,
|
|
140
|
+
class: "ant-sender-header-content"
|
|
141
|
+
},
|
|
142
|
+
[
|
|
143
|
+
renderSlot(_ctx.$slots, "default")
|
|
144
|
+
],
|
|
145
|
+
512
|
|
146
|
+
/* NEED_PATCH */
|
|
147
|
+
)
|
|
148
|
+
],
|
|
149
|
+
16
|
|
150
|
+
/* FULL_PROPS */
|
|
151
|
+
), [
|
|
152
|
+
[vShow, $props.modelValue]
|
|
153
|
+
])
|
|
154
|
+
]),
|
|
155
|
+
_: 3
|
|
156
|
+
/* FORWARDED */
|
|
157
|
+
});
|
|
158
|
+
}
|
|
159
|
+
var SenderHeader = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__file", "/home/runner/work/vunk-plus/vunk-plus/packages/components/sender/src/SenderHeader.vue"]]);
|
|
160
|
+
|
|
116
161
|
var _sfc_main = /* @__PURE__ */defineComponent({
|
|
117
162
|
...{
|
|
118
163
|
name: "VkSender"
|
|
@@ -121,8 +166,10 @@ var _sfc_main = /* @__PURE__ */defineComponent({
|
|
|
121
166
|
props: props,
|
|
122
167
|
emits,
|
|
123
168
|
setup(__props, {
|
|
169
|
+
expose: __expose,
|
|
124
170
|
emit: __emit
|
|
125
171
|
}) {
|
|
172
|
+
__expose();
|
|
126
173
|
const props = __props;
|
|
127
174
|
const emit = __emit;
|
|
128
175
|
const slots = useSlots();
|
|
@@ -193,65 +240,112 @@ var _sfc_main = /* @__PURE__ */defineComponent({
|
|
|
193
240
|
function handleChange(e) {
|
|
194
241
|
theFileList.value = e.fileList;
|
|
195
242
|
}
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
onChange: handleChange
|
|
225
|
-
}, null, 8, ["file-list", "action"])]),
|
|
226
|
-
_: 1
|
|
227
|
-
/* STABLE */
|
|
228
|
-
}, 8, ["modelValue", "content-ref"])) : createCommentVNode("v-if", true)]),
|
|
229
|
-
prefix: withCtx(() => [hasAttachments.value ? (openBlock(), createBlock(unref(Button), {
|
|
230
|
-
key: 0,
|
|
231
|
-
type: "text",
|
|
232
|
-
onClick: _cache[1] || (_cache[1] = $event => headerOpen.value = !headerOpen.value)
|
|
233
|
-
}, {
|
|
234
|
-
icon: withCtx(() => [createVNode(unref(LinkOutlined))]),
|
|
235
|
-
_: 1
|
|
236
|
-
/* STABLE */
|
|
237
|
-
})) : createCommentVNode("v-if", true)]),
|
|
238
|
-
_: 2
|
|
239
|
-
/* DYNAMIC */
|
|
240
|
-
}, [_ctx.$slots.footer ? {
|
|
241
|
-
name: "footer",
|
|
242
|
-
fn: withCtx(() => [renderSlot(_ctx.$slots, "footer")]),
|
|
243
|
-
key: "0"
|
|
244
|
-
} : void 0]), 1032, ["value", "loading", "on-submit", "on-cancel"]);
|
|
243
|
+
const __returned__ = {
|
|
244
|
+
props,
|
|
245
|
+
emit,
|
|
246
|
+
slots,
|
|
247
|
+
hasAttachments,
|
|
248
|
+
loading,
|
|
249
|
+
headerOpen,
|
|
250
|
+
actionsRender,
|
|
251
|
+
attachmentsPlaceholder,
|
|
252
|
+
theFileList,
|
|
253
|
+
attachmentsRef,
|
|
254
|
+
attachmentWrapDef,
|
|
255
|
+
attachmentWrapResolve,
|
|
256
|
+
handlePasteFile,
|
|
257
|
+
handleChange,
|
|
258
|
+
get LinkOutlined() {
|
|
259
|
+
return LinkOutlined;
|
|
260
|
+
},
|
|
261
|
+
get AntButton() {
|
|
262
|
+
return Button;
|
|
263
|
+
},
|
|
264
|
+
get Attachments() {
|
|
265
|
+
return Attachments;
|
|
266
|
+
},
|
|
267
|
+
get Sender() {
|
|
268
|
+
return Sender;
|
|
269
|
+
},
|
|
270
|
+
SenderHeader
|
|
245
271
|
};
|
|
272
|
+
Object.defineProperty(__returned__, "__isScriptSetup", {
|
|
273
|
+
enumerable: false,
|
|
274
|
+
value: true
|
|
275
|
+
});
|
|
276
|
+
return __returned__;
|
|
246
277
|
}
|
|
247
278
|
});
|
|
248
279
|
|
|
280
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
281
|
+
return openBlock(), createBlock($setup["Sender"], {
|
|
282
|
+
class: "vk-sender",
|
|
283
|
+
value: _ctx.modelValue,
|
|
284
|
+
loading: $setup.loading,
|
|
285
|
+
"allow-speech": true,
|
|
286
|
+
actions: $setup.actionsRender,
|
|
287
|
+
"on-submit": (e) => {
|
|
288
|
+
!_ctx.sendDisabled && _ctx.$emit("submit", e);
|
|
289
|
+
},
|
|
290
|
+
"on-cancel": () => _ctx.$emit("cancel"),
|
|
291
|
+
"onUpdate:value": _cache[2] || (_cache[2] = ($event) => _ctx.$emit("update:modelValue", $event)),
|
|
292
|
+
onPasteFile: $setup.handlePasteFile
|
|
293
|
+
}, createSlots({
|
|
294
|
+
header: withCtx(() => [
|
|
295
|
+
$setup.hasAttachments ? (openBlock(), createBlock($setup["SenderHeader"], {
|
|
296
|
+
key: 0,
|
|
297
|
+
modelValue: $setup.headerOpen,
|
|
298
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $setup.headerOpen = $event),
|
|
299
|
+
title: "\u9644\u4EF6",
|
|
300
|
+
"content-ref": $setup.attachmentWrapResolve
|
|
301
|
+
}, {
|
|
302
|
+
default: withCtx(() => [
|
|
303
|
+
createVNode($setup["Attachments"], {
|
|
304
|
+
ref: "attachmentsRef",
|
|
305
|
+
"file-list": $setup.theFileList,
|
|
306
|
+
placeholder: $setup.attachmentsPlaceholder,
|
|
307
|
+
action: _ctx.action,
|
|
308
|
+
multiple: "",
|
|
309
|
+
onChange: $setup.handleChange
|
|
310
|
+
}, null, 8, ["file-list", "action"])
|
|
311
|
+
]),
|
|
312
|
+
_: 1
|
|
313
|
+
/* STABLE */
|
|
314
|
+
}, 8, ["modelValue", "content-ref"])) : createCommentVNode("v-if", true)
|
|
315
|
+
]),
|
|
316
|
+
prefix: withCtx(() => [
|
|
317
|
+
$setup.hasAttachments ? (openBlock(), createBlock($setup["AntButton"], {
|
|
318
|
+
key: 0,
|
|
319
|
+
type: "text",
|
|
320
|
+
onClick: _cache[1] || (_cache[1] = ($event) => $setup.headerOpen = !$setup.headerOpen)
|
|
321
|
+
}, {
|
|
322
|
+
icon: withCtx(() => [
|
|
323
|
+
createVNode($setup["LinkOutlined"])
|
|
324
|
+
]),
|
|
325
|
+
_: 1
|
|
326
|
+
/* STABLE */
|
|
327
|
+
})) : createCommentVNode("v-if", true)
|
|
328
|
+
]),
|
|
329
|
+
_: 2
|
|
330
|
+
/* DYNAMIC */
|
|
331
|
+
}, [
|
|
332
|
+
_ctx.$slots.footer ? {
|
|
333
|
+
name: "footer",
|
|
334
|
+
fn: withCtx(() => [
|
|
335
|
+
renderSlot(_ctx.$slots, "footer")
|
|
336
|
+
]),
|
|
337
|
+
key: "0"
|
|
338
|
+
} : void 0
|
|
339
|
+
]), 1032, ["value", "loading", "on-submit", "on-cancel"]);
|
|
340
|
+
}
|
|
341
|
+
var VkSender = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/home/runner/work/vunk-plus/vunk-plus/packages/components/sender/src/index.vue"]]);
|
|
342
|
+
|
|
249
343
|
var types = /*#__PURE__*/Object.freeze({
|
|
250
344
|
__proto__: null
|
|
251
345
|
});
|
|
252
346
|
|
|
253
|
-
|
|
254
|
-
app.component(
|
|
347
|
+
VkSender.install = (app) => {
|
|
348
|
+
app.component(VkSender.name || "VkSender", VkSender);
|
|
255
349
|
};
|
|
256
350
|
|
|
257
|
-
export {
|
|
351
|
+
export { VkSender, types as __VkSender, VkSender as default };
|