@vunk/plus 1.2.2 → 1.3.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/SendOutlined.mjs +2 -2
- package/components/agent-chat-provider/index.d.ts +7 -0
- package/components/agent-chat-provider/index.mjs +789 -0
- package/components/agent-chat-provider/src/api.d.ts +3 -0
- package/components/agent-chat-provider/src/const-roles.d.ts +8 -0
- package/components/agent-chat-provider/src/const.d.ts +1 -0
- package/components/agent-chat-provider/src/index.vue.d.ts +47 -0
- package/components/agent-chat-provider/src/types.d.ts +37 -0
- package/components/agent-chat-provider/src/use.d.ts +29 -0
- package/components/avatar/index.mjs +2 -2
- package/components/avatar/src/ctx.d.ts +4 -4
- package/components/avatar/src/index.vue.d.ts +66 -125
- package/components/broadcasting-markdown/index.css +3 -0
- package/components/broadcasting-markdown/index.d.ts +5 -0
- package/components/broadcasting-markdown/index.mjs +637 -0
- package/components/broadcasting-markdown/src/const.d.ts +18 -0
- package/components/broadcasting-markdown/src/ctx.d.ts +93 -0
- package/components/broadcasting-markdown/src/custom-speech.vue.d.ts +109 -0
- package/components/broadcasting-markdown/src/index.vue.d.ts +477 -0
- package/components/broadcasting-markdown/src/paragraph.vue.d.ts +78 -0
- package/components/broadcasting-markdown/src/speech-error.vue.d.ts +60 -0
- package/components/broadcasting-markdown/src/types.d.ts +17 -0
- package/components/broadcasting-markdown/src/use.d.ts +3 -0
- package/components/broadcasting-markdown/src/web-speech.vue.d.ts +102 -0
- package/components/bubble-list/index.css +18 -0
- package/components/bubble-list/index.d.ts +5 -0
- package/components/bubble-list/index.mjs +386 -0
- package/components/bubble-list/src/ctx.d.ts +30 -0
- package/components/bubble-list/src/index.vue.d.ts +927 -0
- package/components/bubble-list/src/types.d.ts +4 -0
- package/components/bubble-templates/index.css +18 -0
- package/components/bubble-templates/index.d.ts +4 -0
- package/components/bubble-templates/index.mjs +258 -0
- package/components/bubble-templates/src/index.vue.d.ts +631 -0
- package/components/bubble-templates/src/types.d.ts +30 -0
- package/components/chat-independent/index.css +47 -0
- package/components/chat-independent/index.d.ts +4 -0
- package/components/chat-independent/index.mjs +184 -0
- package/components/chat-independent/src/const.d.ts +13 -0
- package/components/chat-independent/src/ctx.d.ts +20 -0
- package/components/chat-independent/src/index.vue.d.ts +2388 -0
- package/components/chat-independent/src/types.d.ts +13 -0
- package/components/index.d.ts +0 -0
- package/components/index.mjs +1 -0
- package/components/index2.mjs +35980 -0
- package/components/lottie-animation/index.mjs +2 -2
- package/components/lottie-animation/src/index.vue.d.ts +1 -1
- package/components/monaco-editor/index.mjs +2 -2
- package/components/monaco-editor/src/ctx.d.ts +3 -3
- package/components/monaco-editor/src/index.vue.d.ts +3 -3
- package/components/monaco-environment/index.mjs +1 -1
- package/components/recorder-button/index.css +7 -10
- package/components/recorder-button/index.mjs +115 -83
- package/components/recorder-button/src/ctx.d.ts +27 -6
- package/components/recorder-button/src/index.vue.d.ts +196 -202
- package/components/recorder-button/src/types.d.ts +1 -0
- package/components/routes-menu-content/index.mjs +5 -5
- package/components/routes-menu-content/src/ctx.d.ts +1 -1
- package/components/routes-menu-content/src/index.vue.d.ts +223 -101
- package/components/routes-menu-content/src/item/core/ctx.d.ts +1 -1
- package/components/routes-menu-content/src/item/core/index.vue.d.ts +175 -53
- package/components/routes-menu-content/src/item/index.vue.d.ts +221 -99
- package/components/sender/index.css +2 -5
- package/components/sender/index.mjs +32 -13
- package/components/sender/src/SenderHeader.vue.d.ts +31 -45
- package/components/sender/src/ctx.d.ts +23 -3
- package/components/sender/src/index.vue.d.ts +170 -124
- package/components/sender/src/types.d.ts +1 -1
- package/components/speech-button/index.mjs +7 -14
- package/components/speech-button/src/ctx.d.ts +1 -1
- package/components/speech-button/src/index.vue.d.ts +3 -3
- package/components/table-columns/index.d.ts +1 -1
- package/components/table-columns/index.mjs +3 -6
- package/components/table-columns/src/ctx.d.ts +8 -8
- package/components/table-columns/src/el-ctx.d.ts +7 -7
- package/components/table-columns/src/index.vue.d.ts +38 -36
- package/components/tables-v1/index.mjs +3 -3
- package/components/tables-v1/src/ctx.d.ts +66 -68
- package/components/tables-v1/src/el-ctx.d.ts +48 -51
- package/components/tables-v1/src/index.vue.d.ts +1950 -1933
- package/components/tables-v1-checkbox/index.mjs +269 -33
- package/components/tables-v1-checkbox/src/ctx.d.ts +65 -67
- package/components/tables-v1-checkbox/src/index.vue.d.ts +2167 -2159
- package/components/typing-markdown/index.mjs +128 -33
- package/components/typing-markdown/src/core.d.ts +2 -3
- package/components/typing-markdown/src/ctx.d.ts +5 -5
- package/components/typing-markdown/src/index.vue.d.ts +9 -9
- package/components/vditor/index.mjs +5 -9
- package/components/vditor/src/ctx.d.ts +2 -2
- package/components/vditor/src/handle-fullscreen.vue.d.ts +3 -3
- package/components/vditor/src/handle-value.vue.d.ts +3 -3
- package/components/vditor/src/index.vue.d.ts +11 -11
- package/composables/el-breakpoints/index.d.ts +1 -1
- package/composables/recorder/index.mjs +751 -182
- package/icons/_plugin-vue_export-helper.mjs +9 -0
- package/icons/end/index.d.ts +4 -0
- package/icons/end/index.mjs +36 -0
- package/icons/end/src/avatar.d.ts +12 -0
- package/icons/end/src/icon.d.ts +57 -0
- package/icons/keyboard/index.d.ts +4 -0
- package/icons/keyboard/index.mjs +36 -0
- package/icons/keyboard/src/avatar.d.ts +12 -0
- package/icons/keyboard/src/icon.d.ts +57 -0
- package/icons/start/index.d.ts +4 -0
- package/icons/start/index.mjs +36 -0
- package/icons/start/src/avatar.d.ts +12 -0
- package/icons/start/src/icon.d.ts +57 -0
- package/icons/voice/index.d.ts +4 -0
- package/icons/voice/index.mjs +51 -0
- package/icons/voice/src/avatar.d.ts +12 -0
- package/icons/voice/src/icon.d.ts +57 -0
- package/icons/voice/src/index.vue.d.ts +4 -0
- package/index.css +99 -15
- package/package.json +51 -7
- package/fetch/PlusFetch/index.d.ts +0 -14
- package/fetch/PlusFetch/index.mjs +0 -638
- package/fetch/PlusFetch/types.d.ts +0 -54
- package/fetch/index.d.ts +0 -1
- package/fetch/index.mjs +0 -5
|
@@ -23,16 +23,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
23
23
|
_paths: string[];
|
|
24
24
|
path: string;
|
|
25
25
|
component: import("vue-router").RouteComponent | (() => Promise<import("vue-router").RouteComponent>);
|
|
26
|
-
components?:
|
|
27
|
-
children?:
|
|
28
|
-
redirect?:
|
|
29
|
-
props?: import("vue-router")._RouteRecordProps<string | symbol
|
|
30
|
-
alias?: string | string[];
|
|
26
|
+
components?: undefined;
|
|
27
|
+
children?: undefined;
|
|
28
|
+
redirect?: undefined;
|
|
29
|
+
props?: import("vue-router")._RouteRecordProps<string | symbol> | undefined;
|
|
30
|
+
alias?: string | string[] | undefined;
|
|
31
31
|
name?: import("vue-router").RouteRecordName;
|
|
32
|
-
beforeEnter?: import("vue-router").NavigationGuardWithThis<undefined> | import("vue-router").NavigationGuardWithThis<undefined>[];
|
|
33
|
-
end?: boolean;
|
|
34
|
-
sensitive?: boolean;
|
|
35
|
-
strict?: boolean;
|
|
32
|
+
beforeEnter?: import("vue-router").NavigationGuardWithThis<undefined> | import("vue-router").NavigationGuardWithThis<undefined>[] | undefined;
|
|
33
|
+
end?: boolean | undefined;
|
|
34
|
+
sensitive?: boolean | undefined;
|
|
35
|
+
strict?: boolean | undefined;
|
|
36
36
|
} | {
|
|
37
37
|
meta: {
|
|
38
38
|
[x: string]: unknown;
|
|
@@ -41,17 +41,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
41
41
|
};
|
|
42
42
|
_paths: string[];
|
|
43
43
|
path: string;
|
|
44
|
-
component?: import("vue-router").RouteComponent | (() => Promise<import("vue-router").RouteComponent>);
|
|
45
|
-
components?:
|
|
44
|
+
component?: (import("vue-router").RouteComponent | (() => Promise<import("vue-router").RouteComponent>)) | null | undefined;
|
|
45
|
+
components?: undefined;
|
|
46
46
|
children: RouteRecordRaw[];
|
|
47
|
-
props?: import("vue-router")._RouteRecordProps<string | symbol
|
|
48
|
-
redirect?: import("vue-router").RouteRecordRedirectOption;
|
|
49
|
-
alias?: string | string[];
|
|
47
|
+
props?: import("vue-router")._RouteRecordProps<string | symbol> | undefined;
|
|
48
|
+
redirect?: import("vue-router").RouteRecordRedirectOption | undefined;
|
|
49
|
+
alias?: string | string[] | undefined;
|
|
50
50
|
name?: import("vue-router").RouteRecordName;
|
|
51
|
-
beforeEnter?: import("vue-router").NavigationGuardWithThis<undefined> | import("vue-router").NavigationGuardWithThis<undefined>[];
|
|
52
|
-
end?: boolean;
|
|
53
|
-
sensitive?: boolean;
|
|
54
|
-
strict?: boolean;
|
|
51
|
+
beforeEnter?: import("vue-router").NavigationGuardWithThis<undefined> | import("vue-router").NavigationGuardWithThis<undefined>[] | undefined;
|
|
52
|
+
end?: boolean | undefined;
|
|
53
|
+
sensitive?: boolean | undefined;
|
|
54
|
+
strict?: boolean | undefined;
|
|
55
55
|
} | {
|
|
56
56
|
meta: {
|
|
57
57
|
[x: string]: unknown;
|
|
@@ -61,16 +61,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
61
61
|
_paths: string[];
|
|
62
62
|
path: string;
|
|
63
63
|
components: Record<string, import("vue-router").RouteComponent | (() => Promise<import("vue-router").RouteComponent>)>;
|
|
64
|
-
component?:
|
|
65
|
-
children?:
|
|
66
|
-
redirect?:
|
|
67
|
-
props?: boolean | Record<string, import("vue-router")._RouteRecordProps<string | symbol
|
|
68
|
-
alias?: string | string[];
|
|
64
|
+
component?: undefined;
|
|
65
|
+
children?: undefined;
|
|
66
|
+
redirect?: undefined;
|
|
67
|
+
props?: boolean | Record<string, import("vue-router")._RouteRecordProps<string | symbol>> | undefined;
|
|
68
|
+
alias?: string | string[] | undefined;
|
|
69
69
|
name?: import("vue-router").RouteRecordName;
|
|
70
|
-
beforeEnter?: import("vue-router").NavigationGuardWithThis<undefined> | import("vue-router").NavigationGuardWithThis<undefined>[];
|
|
71
|
-
end?: boolean;
|
|
72
|
-
sensitive?: boolean;
|
|
73
|
-
strict?: boolean;
|
|
70
|
+
beforeEnter?: import("vue-router").NavigationGuardWithThis<undefined> | import("vue-router").NavigationGuardWithThis<undefined>[] | undefined;
|
|
71
|
+
end?: boolean | undefined;
|
|
72
|
+
sensitive?: boolean | undefined;
|
|
73
|
+
strict?: boolean | undefined;
|
|
74
74
|
} | {
|
|
75
75
|
meta: {
|
|
76
76
|
[x: string]: unknown;
|
|
@@ -79,17 +79,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
79
79
|
};
|
|
80
80
|
_paths: string[];
|
|
81
81
|
path: string;
|
|
82
|
-
components?: Record<string, import("vue-router").RouteComponent | (() => Promise<import("vue-router").RouteComponent>)
|
|
83
|
-
component?:
|
|
82
|
+
components?: Record<string, import("vue-router").RouteComponent | (() => Promise<import("vue-router").RouteComponent>)> | null | undefined;
|
|
83
|
+
component?: undefined;
|
|
84
84
|
children: RouteRecordRaw[];
|
|
85
|
-
props?: boolean | Record<string, import("vue-router")._RouteRecordProps<string | symbol
|
|
86
|
-
redirect?: import("vue-router").RouteRecordRedirectOption;
|
|
87
|
-
alias?: string | string[];
|
|
85
|
+
props?: boolean | Record<string, import("vue-router")._RouteRecordProps<string | symbol>> | undefined;
|
|
86
|
+
redirect?: import("vue-router").RouteRecordRedirectOption | undefined;
|
|
87
|
+
alias?: string | string[] | undefined;
|
|
88
88
|
name?: import("vue-router").RouteRecordName;
|
|
89
|
-
beforeEnter?: import("vue-router").NavigationGuardWithThis<undefined> | import("vue-router").NavigationGuardWithThis<undefined>[];
|
|
90
|
-
end?: boolean;
|
|
91
|
-
sensitive?: boolean;
|
|
92
|
-
strict?: boolean;
|
|
89
|
+
beforeEnter?: import("vue-router").NavigationGuardWithThis<undefined> | import("vue-router").NavigationGuardWithThis<undefined>[] | undefined;
|
|
90
|
+
end?: boolean | undefined;
|
|
91
|
+
sensitive?: boolean | undefined;
|
|
92
|
+
strict?: boolean | undefined;
|
|
93
93
|
} | {
|
|
94
94
|
meta: {
|
|
95
95
|
[x: string]: unknown;
|
|
@@ -99,17 +99,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
99
99
|
_paths: string[];
|
|
100
100
|
path: string;
|
|
101
101
|
redirect: import("vue-router").RouteRecordRedirectOption;
|
|
102
|
-
component?:
|
|
103
|
-
components?:
|
|
104
|
-
props?:
|
|
105
|
-
alias?: string | string[];
|
|
102
|
+
component?: undefined;
|
|
103
|
+
components?: undefined;
|
|
104
|
+
props?: undefined;
|
|
105
|
+
alias?: string | string[] | undefined;
|
|
106
106
|
name?: import("vue-router").RouteRecordName;
|
|
107
|
-
beforeEnter?: import("vue-router").NavigationGuardWithThis<undefined> | import("vue-router").NavigationGuardWithThis<undefined>[];
|
|
108
|
-
children?: RouteRecordRaw[];
|
|
109
|
-
end?: boolean;
|
|
110
|
-
sensitive?: boolean;
|
|
111
|
-
strict?: boolean;
|
|
112
|
-
}>;
|
|
107
|
+
beforeEnter?: import("vue-router").NavigationGuardWithThis<undefined> | import("vue-router").NavigationGuardWithThis<undefined>[] | undefined;
|
|
108
|
+
children?: RouteRecordRaw[] | undefined;
|
|
109
|
+
end?: boolean | undefined;
|
|
110
|
+
sensitive?: boolean | undefined;
|
|
111
|
+
strict?: boolean | undefined;
|
|
112
|
+
} | undefined>;
|
|
113
113
|
bindProps: import("vue").ComputedRef<{}>;
|
|
114
114
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
115
115
|
data: {
|
|
@@ -168,7 +168,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
168
168
|
readonly index: {
|
|
169
169
|
readonly type: import("vue").PropType<string>;
|
|
170
170
|
readonly required: true;
|
|
171
|
-
readonly validator: (val: unknown) => boolean;
|
|
171
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
172
172
|
__epPropKey: true;
|
|
173
173
|
};
|
|
174
174
|
readonly showTimeout: NumberConstructor;
|
|
@@ -178,27 +178,27 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
178
178
|
readonly teleported: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
179
179
|
readonly popperOffset: NumberConstructor;
|
|
180
180
|
readonly expandCloseIcon: {
|
|
181
|
-
readonly type: import("vue").PropType<unknown
|
|
181
|
+
readonly type: import("vue").PropType<import("element-plus").ButtonType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>>;
|
|
182
182
|
readonly required: false;
|
|
183
|
-
readonly validator: (val: unknown) => boolean;
|
|
183
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
184
184
|
__epPropKey: true;
|
|
185
185
|
};
|
|
186
186
|
readonly expandOpenIcon: {
|
|
187
|
-
readonly type: import("vue").PropType<unknown
|
|
187
|
+
readonly type: import("vue").PropType<import("element-plus").ButtonType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>>;
|
|
188
188
|
readonly required: false;
|
|
189
|
-
readonly validator: (val: unknown) => boolean;
|
|
189
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
190
190
|
__epPropKey: true;
|
|
191
191
|
};
|
|
192
192
|
readonly collapseCloseIcon: {
|
|
193
|
-
readonly type: import("vue").PropType<unknown
|
|
193
|
+
readonly type: import("vue").PropType<import("element-plus").ButtonType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>>;
|
|
194
194
|
readonly required: false;
|
|
195
|
-
readonly validator: (val: unknown) => boolean;
|
|
195
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
196
196
|
__epPropKey: true;
|
|
197
197
|
};
|
|
198
198
|
readonly collapseOpenIcon: {
|
|
199
|
-
readonly type: import("vue").PropType<unknown
|
|
199
|
+
readonly type: import("vue").PropType<import("element-plus").ButtonType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>>;
|
|
200
200
|
readonly required: false;
|
|
201
|
-
readonly validator: (val: unknown) => boolean;
|
|
201
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
202
202
|
__epPropKey: true;
|
|
203
203
|
};
|
|
204
204
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
@@ -207,7 +207,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
207
207
|
readonly index: {
|
|
208
208
|
readonly type: import("vue").PropType<string>;
|
|
209
209
|
readonly required: true;
|
|
210
|
-
readonly validator: (val: unknown) => boolean;
|
|
210
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
211
211
|
__epPropKey: true;
|
|
212
212
|
};
|
|
213
213
|
readonly showTimeout: NumberConstructor;
|
|
@@ -217,57 +217,183 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
217
217
|
readonly teleported: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
218
218
|
readonly popperOffset: NumberConstructor;
|
|
219
219
|
readonly expandCloseIcon: {
|
|
220
|
-
readonly type: import("vue").PropType<unknown
|
|
220
|
+
readonly type: import("vue").PropType<import("element-plus").ButtonType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>>;
|
|
221
221
|
readonly required: false;
|
|
222
|
-
readonly validator: (val: unknown) => boolean;
|
|
222
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
223
223
|
__epPropKey: true;
|
|
224
224
|
};
|
|
225
225
|
readonly expandOpenIcon: {
|
|
226
|
-
readonly type: import("vue").PropType<unknown
|
|
226
|
+
readonly type: import("vue").PropType<import("element-plus").ButtonType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>>;
|
|
227
227
|
readonly required: false;
|
|
228
|
-
readonly validator: (val: unknown) => boolean;
|
|
228
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
229
229
|
__epPropKey: true;
|
|
230
230
|
};
|
|
231
231
|
readonly collapseCloseIcon: {
|
|
232
|
-
readonly type: import("vue").PropType<unknown
|
|
232
|
+
readonly type: import("vue").PropType<import("element-plus").ButtonType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>>;
|
|
233
233
|
readonly required: false;
|
|
234
|
-
readonly validator: (val: unknown) => boolean;
|
|
234
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
235
235
|
__epPropKey: true;
|
|
236
236
|
};
|
|
237
237
|
readonly collapseOpenIcon: {
|
|
238
|
-
readonly type: import("vue").PropType<unknown
|
|
238
|
+
readonly type: import("vue").PropType<import("element-plus").ButtonType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>>;
|
|
239
239
|
readonly required: false;
|
|
240
|
-
readonly validator: (val: unknown) => boolean;
|
|
240
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
241
241
|
__epPropKey: true;
|
|
242
242
|
};
|
|
243
243
|
}>>, {
|
|
244
|
-
readonly teleported: import("element-plus").ButtonType<BooleanConstructor, unknown, unknown>;
|
|
245
244
|
readonly disabled: boolean;
|
|
245
|
+
readonly teleported: import("element-plus").ButtonType<BooleanConstructor, unknown, unknown>;
|
|
246
246
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
247
|
-
ElMenuItem: import("element-plus/es/utils").SFCWithInstall<
|
|
248
|
-
|
|
247
|
+
ElMenuItem: import("element-plus/es/utils").SFCWithInstall<{
|
|
248
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
249
|
+
readonly index: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => string | null) | ((new (...args: any[]) => string) | (() => string | null))[], unknown, unknown, null, boolean>;
|
|
250
|
+
readonly route: {
|
|
251
|
+
readonly type: import("vue").PropType<import("element-plus").ButtonType<(new (...args: any[]) => string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric) | (() => string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric) | ((new (...args: any[]) => string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric) | (() => string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric))[], unknown, unknown>>;
|
|
252
|
+
readonly required: false;
|
|
253
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
254
|
+
__epPropKey: true;
|
|
255
|
+
};
|
|
256
|
+
readonly disabled: BooleanConstructor;
|
|
257
|
+
}>> & {
|
|
258
|
+
onClick?: ((item: import("element-plus").MenuItemRegistered) => any) | undefined;
|
|
259
|
+
}, {
|
|
260
|
+
parentMenu: import("vue").ComputedRef<import("vue").ComponentInternalInstance>;
|
|
261
|
+
rootMenu: import("element-plus").MenuProvider;
|
|
262
|
+
active: import("vue").ComputedRef<boolean>;
|
|
263
|
+
nsMenu: {
|
|
264
|
+
namespace: import("vue").ComputedRef<string>;
|
|
265
|
+
b: (blockSuffix?: string | undefined) => string;
|
|
266
|
+
e: (element?: string | undefined) => string;
|
|
267
|
+
m: (modifier?: string | undefined) => string;
|
|
268
|
+
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
269
|
+
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
270
|
+
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
271
|
+
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
272
|
+
is: {
|
|
273
|
+
(name: string, state: boolean | undefined): string;
|
|
274
|
+
(name: string): string;
|
|
275
|
+
};
|
|
276
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
277
|
+
cssVarName: (name: string) => string;
|
|
278
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
279
|
+
cssVarBlockName: (name: string) => string;
|
|
280
|
+
};
|
|
281
|
+
nsMenuItem: {
|
|
282
|
+
namespace: import("vue").ComputedRef<string>;
|
|
283
|
+
b: (blockSuffix?: string | undefined) => string;
|
|
284
|
+
e: (element?: string | undefined) => string;
|
|
285
|
+
m: (modifier?: string | undefined) => string;
|
|
286
|
+
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
287
|
+
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
288
|
+
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
289
|
+
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
290
|
+
is: {
|
|
291
|
+
(name: string, state: boolean | undefined): string;
|
|
292
|
+
(name: string): string;
|
|
293
|
+
};
|
|
294
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
295
|
+
cssVarName: (name: string) => string;
|
|
296
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
297
|
+
cssVarBlockName: (name: string) => string;
|
|
298
|
+
};
|
|
299
|
+
handleClick: () => void;
|
|
300
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
301
|
+
click: (item: import("element-plus").MenuItemRegistered) => void;
|
|
302
|
+
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
|
|
303
|
+
readonly disabled: boolean;
|
|
304
|
+
readonly index: import("element-plus").ButtonType<(new (...args: any[]) => string) | (() => string | null) | ((new (...args: any[]) => string) | (() => string | null))[], unknown, unknown>;
|
|
305
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
306
|
+
P: {};
|
|
307
|
+
B: {};
|
|
308
|
+
D: {};
|
|
309
|
+
C: {};
|
|
310
|
+
M: {};
|
|
311
|
+
Defaults: {};
|
|
312
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
313
|
+
readonly index: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => string | null) | ((new (...args: any[]) => string) | (() => string | null))[], unknown, unknown, null, boolean>;
|
|
314
|
+
readonly route: {
|
|
315
|
+
readonly type: import("vue").PropType<import("element-plus").ButtonType<(new (...args: any[]) => string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric) | (() => string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric) | ((new (...args: any[]) => string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric) | (() => string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric))[], unknown, unknown>>;
|
|
316
|
+
readonly required: false;
|
|
317
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
318
|
+
__epPropKey: true;
|
|
319
|
+
};
|
|
320
|
+
readonly disabled: BooleanConstructor;
|
|
321
|
+
}>> & {
|
|
322
|
+
onClick?: ((item: import("element-plus").MenuItemRegistered) => any) | undefined;
|
|
323
|
+
}, {
|
|
324
|
+
parentMenu: import("vue").ComputedRef<import("vue").ComponentInternalInstance>;
|
|
325
|
+
rootMenu: import("element-plus").MenuProvider;
|
|
326
|
+
active: import("vue").ComputedRef<boolean>;
|
|
327
|
+
nsMenu: {
|
|
328
|
+
namespace: import("vue").ComputedRef<string>;
|
|
329
|
+
b: (blockSuffix?: string | undefined) => string;
|
|
330
|
+
e: (element?: string | undefined) => string;
|
|
331
|
+
m: (modifier?: string | undefined) => string;
|
|
332
|
+
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
333
|
+
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
334
|
+
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
335
|
+
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
336
|
+
is: {
|
|
337
|
+
(name: string, state: boolean | undefined): string;
|
|
338
|
+
(name: string): string;
|
|
339
|
+
};
|
|
340
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
341
|
+
cssVarName: (name: string) => string;
|
|
342
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
343
|
+
cssVarBlockName: (name: string) => string;
|
|
344
|
+
};
|
|
345
|
+
nsMenuItem: {
|
|
346
|
+
namespace: import("vue").ComputedRef<string>;
|
|
347
|
+
b: (blockSuffix?: string | undefined) => string;
|
|
348
|
+
e: (element?: string | undefined) => string;
|
|
349
|
+
m: (modifier?: string | undefined) => string;
|
|
350
|
+
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
351
|
+
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
352
|
+
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
353
|
+
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
354
|
+
is: {
|
|
355
|
+
(name: string, state: boolean | undefined): string;
|
|
356
|
+
(name: string): string;
|
|
357
|
+
};
|
|
358
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
359
|
+
cssVarName: (name: string) => string;
|
|
360
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
361
|
+
cssVarBlockName: (name: string) => string;
|
|
362
|
+
};
|
|
363
|
+
handleClick: () => void;
|
|
364
|
+
}, {}, {}, {}, {
|
|
365
|
+
readonly disabled: boolean;
|
|
366
|
+
readonly index: import("element-plus").ButtonType<(new (...args: any[]) => string) | (() => string | null) | ((new (...args: any[]) => string) | (() => string | null))[], unknown, unknown>;
|
|
367
|
+
}>;
|
|
368
|
+
__isFragment?: undefined;
|
|
369
|
+
__isTeleport?: undefined;
|
|
370
|
+
__isSuspense?: undefined;
|
|
371
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
372
|
+
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
373
|
readonly route: {
|
|
250
374
|
readonly type: import("vue").PropType<import("element-plus").ButtonType<(new (...args: any[]) => string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric) | (() => string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric) | ((new (...args: any[]) => string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric) | (() => string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric))[], unknown, unknown>>;
|
|
251
375
|
readonly required: false;
|
|
252
|
-
readonly validator: (val: unknown) => boolean;
|
|
376
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
253
377
|
__epPropKey: true;
|
|
254
378
|
};
|
|
255
379
|
readonly disabled: BooleanConstructor;
|
|
380
|
+
}>> & {
|
|
381
|
+
onClick?: ((item: import("element-plus").MenuItemRegistered) => any) | undefined;
|
|
256
382
|
}, {
|
|
257
383
|
parentMenu: import("vue").ComputedRef<import("vue").ComponentInternalInstance>;
|
|
258
384
|
rootMenu: import("element-plus").MenuProvider;
|
|
259
385
|
active: import("vue").ComputedRef<boolean>;
|
|
260
386
|
nsMenu: {
|
|
261
387
|
namespace: import("vue").ComputedRef<string>;
|
|
262
|
-
b: (blockSuffix?: string) => string;
|
|
263
|
-
e: (element?: string) => string;
|
|
264
|
-
m: (modifier?: string) => string;
|
|
265
|
-
be: (blockSuffix?: string, element?: string) => string;
|
|
266
|
-
em: (element?: string, modifier?: string) => string;
|
|
267
|
-
bm: (blockSuffix?: string, modifier?: string) => string;
|
|
268
|
-
bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
|
|
388
|
+
b: (blockSuffix?: string | undefined) => string;
|
|
389
|
+
e: (element?: string | undefined) => string;
|
|
390
|
+
m: (modifier?: string | undefined) => string;
|
|
391
|
+
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
392
|
+
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
393
|
+
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
394
|
+
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
269
395
|
is: {
|
|
270
|
-
(name: string, state: boolean): string;
|
|
396
|
+
(name: string, state: boolean | undefined): string;
|
|
271
397
|
(name: string): string;
|
|
272
398
|
};
|
|
273
399
|
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
@@ -277,15 +403,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
277
403
|
};
|
|
278
404
|
nsMenuItem: {
|
|
279
405
|
namespace: import("vue").ComputedRef<string>;
|
|
280
|
-
b: (blockSuffix?: string) => string;
|
|
281
|
-
e: (element?: string) => string;
|
|
282
|
-
m: (modifier?: string) => string;
|
|
283
|
-
be: (blockSuffix?: string, element?: string) => string;
|
|
284
|
-
em: (element?: string, modifier?: string) => string;
|
|
285
|
-
bm: (blockSuffix?: string, modifier?: string) => string;
|
|
286
|
-
bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
|
|
406
|
+
b: (blockSuffix?: string | undefined) => string;
|
|
407
|
+
e: (element?: string | undefined) => string;
|
|
408
|
+
m: (modifier?: string | undefined) => string;
|
|
409
|
+
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
410
|
+
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
411
|
+
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
412
|
+
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
287
413
|
is: {
|
|
288
|
-
(name: string, state: boolean): string;
|
|
414
|
+
(name: string, state: boolean | undefined): string;
|
|
289
415
|
(name: string): string;
|
|
290
416
|
};
|
|
291
417
|
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
@@ -295,22 +421,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
295
421
|
};
|
|
296
422
|
handleClick: () => void;
|
|
297
423
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
298
|
-
click: (item: import("element-plus").MenuItemRegistered) =>
|
|
299
|
-
}, string,
|
|
300
|
-
readonly index: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string & {}) | (() => string) | ((new (...args: any[]) => string & {}) | (() => string))[], unknown, unknown, null, boolean>;
|
|
301
|
-
readonly route: {
|
|
302
|
-
readonly type: import("vue").PropType<import("element-plus").ButtonType<(new (...args: any[]) => string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric) | (() => string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric) | ((new (...args: any[]) => string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric) | (() => string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric))[], unknown, unknown>>;
|
|
303
|
-
readonly required: false;
|
|
304
|
-
readonly validator: (val: unknown) => boolean;
|
|
305
|
-
__epPropKey: true;
|
|
306
|
-
};
|
|
307
|
-
readonly disabled: BooleanConstructor;
|
|
308
|
-
}>> & {
|
|
309
|
-
onClick?: (item: import("element-plus").MenuItemRegistered) => any;
|
|
310
|
-
}, {
|
|
424
|
+
click: (item: import("element-plus").MenuItemRegistered) => void;
|
|
425
|
+
}, string, {
|
|
311
426
|
readonly disabled: boolean;
|
|
312
|
-
readonly index: string
|
|
313
|
-
}, {},
|
|
427
|
+
readonly index: import("element-plus").ButtonType<(new (...args: any[]) => string) | (() => string | null) | ((new (...args: any[]) => string) | (() => string | null))[], unknown, unknown>;
|
|
428
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
429
|
+
$slots: {
|
|
430
|
+
title?(_: {}): any;
|
|
431
|
+
title?(_: {}): any;
|
|
432
|
+
default?(_: {}): any;
|
|
433
|
+
default?(_: {}): any;
|
|
434
|
+
};
|
|
435
|
+
})>;
|
|
314
436
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
315
437
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
316
438
|
export default _default;
|
|
@@ -2,18 +2,15 @@
|
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: space-between;
|
|
4
4
|
}
|
|
5
|
-
.vk-sender .ant-sender-content{
|
|
5
|
+
/* .vk-sender .ant-sender-content{
|
|
6
6
|
display: grid;
|
|
7
|
-
/* 两列 auto 1fr */
|
|
8
7
|
grid-template-columns: auto 1fr;
|
|
9
8
|
}
|
|
10
9
|
.vk-sender .ant-sender-actions-list {
|
|
11
10
|
margin-top: 1em;
|
|
12
|
-
/* 独占两列 */
|
|
13
11
|
grid-column: 1 / -1;
|
|
14
|
-
}
|
|
12
|
+
} */
|
|
15
13
|
.vk-sender .ant-sender-prefix {
|
|
16
|
-
/* 要素考上 */
|
|
17
14
|
align-self: start;
|
|
18
15
|
}
|
|
19
16
|
.vk-sender-actions{
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent, resolveComponent,
|
|
1
|
+
import { defineComponent, resolveComponent, createBlock, openBlock, withCtx, withDirectives, createElementVNode, mergeProps, toDisplayString, createVNode, renderSlot, vShow, computed, ref, nextTick, createSlots, createCommentVNode } from 'vue';
|
|
2
2
|
import { useModelComputed, useDeferred } from '@vunk/core/composables';
|
|
3
3
|
import { Button, Tooltip } 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
|
-
import { C as CloseOutlined, L as LinkOutlined,
|
|
7
|
+
import { C as CloseOutlined, L as LinkOutlined, b as CloudUploadOutlined, S as SendOutlined } from '../SendOutlined.mjs';
|
|
8
8
|
import { _ as _export_sfc } from '../_plugin-vue_export-helper.mjs';
|
|
9
9
|
|
|
10
10
|
const props = {
|
|
@@ -35,6 +35,13 @@ const props = {
|
|
|
35
35
|
loading: {
|
|
36
36
|
type: Boolean,
|
|
37
37
|
default: void 0
|
|
38
|
+
},
|
|
39
|
+
/**
|
|
40
|
+
* @description 模块
|
|
41
|
+
*/
|
|
42
|
+
modules: {
|
|
43
|
+
type: Array,
|
|
44
|
+
default: () => []
|
|
38
45
|
}
|
|
39
46
|
};
|
|
40
47
|
const emits = {
|
|
@@ -132,7 +139,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
132
139
|
/* FORWARDED */
|
|
133
140
|
});
|
|
134
141
|
}
|
|
135
|
-
var SenderHeader = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1]
|
|
142
|
+
var SenderHeader = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1]]);
|
|
136
143
|
|
|
137
144
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
138
145
|
name: "VkSender",
|
|
@@ -149,6 +156,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
149
156
|
emit,
|
|
150
157
|
slots
|
|
151
158
|
}) {
|
|
159
|
+
const hasAttachments = computed(() => props2.modules.includes("Attachments"));
|
|
152
160
|
const loading = useModelComputed({
|
|
153
161
|
key: "loading",
|
|
154
162
|
default: false
|
|
@@ -222,6 +230,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
222
230
|
theFileList.value = e.fileList;
|
|
223
231
|
};
|
|
224
232
|
return {
|
|
233
|
+
hasAttachments,
|
|
225
234
|
actionsRender,
|
|
226
235
|
headerOpen,
|
|
227
236
|
attachmentsPlaceholder,
|
|
@@ -250,9 +259,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
250
259
|
"on-cancel": () => _ctx.$emit("cancel"),
|
|
251
260
|
"onUpdate:value": _cache[2] || (_cache[2] = ($event) => _ctx.$emit("update:modelValue", $event)),
|
|
252
261
|
onPasteFile: _ctx.handlePasteFile
|
|
253
|
-
}, {
|
|
262
|
+
}, createSlots({
|
|
254
263
|
header: withCtx(() => [
|
|
255
|
-
|
|
264
|
+
_ctx.hasAttachments ? (openBlock(), createBlock(_component_SenderHeader, {
|
|
265
|
+
key: 0,
|
|
256
266
|
modelValue: _ctx.headerOpen,
|
|
257
267
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.headerOpen = $event),
|
|
258
268
|
title: "\u9644\u4EF6",
|
|
@@ -270,10 +280,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
270
280
|
]),
|
|
271
281
|
_: 1
|
|
272
282
|
/* STABLE */
|
|
273
|
-
}, 8, ["modelValue", "content-ref"])
|
|
283
|
+
}, 8, ["modelValue", "content-ref"])) : createCommentVNode("v-if", true)
|
|
274
284
|
]),
|
|
275
285
|
prefix: withCtx(() => [
|
|
276
|
-
|
|
286
|
+
_ctx.hasAttachments ? (openBlock(), createBlock(_component_AntButton, {
|
|
287
|
+
key: 0,
|
|
277
288
|
type: "text",
|
|
278
289
|
onClick: _cache[1] || (_cache[1] = ($event) => _ctx.headerOpen = !_ctx.headerOpen)
|
|
279
290
|
}, {
|
|
@@ -282,13 +293,21 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
282
293
|
]),
|
|
283
294
|
_: 1
|
|
284
295
|
/* STABLE */
|
|
285
|
-
})
|
|
296
|
+
})) : createCommentVNode("v-if", true)
|
|
286
297
|
]),
|
|
287
|
-
_:
|
|
288
|
-
/*
|
|
289
|
-
},
|
|
298
|
+
_: 2
|
|
299
|
+
/* DYNAMIC */
|
|
300
|
+
}, [
|
|
301
|
+
_ctx.$slots.footer ? {
|
|
302
|
+
name: "footer",
|
|
303
|
+
fn: withCtx(() => [
|
|
304
|
+
renderSlot(_ctx.$slots, "footer")
|
|
305
|
+
]),
|
|
306
|
+
key: "0"
|
|
307
|
+
} : void 0
|
|
308
|
+
]), 1032, ["value", "loading", "actions", "on-submit", "on-cancel", "onPasteFile"]);
|
|
290
309
|
}
|
|
291
|
-
var VkSender = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]
|
|
310
|
+
var VkSender = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
292
311
|
|
|
293
312
|
var types = /*#__PURE__*/Object.freeze({
|
|
294
313
|
__proto__: null
|