@vunk/plus 1.11.0 → 1.11.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -50,7 +50,7 @@ function useAgent(request) {
50
50
  request
51
51
  });
52
52
  }
53
- function initAgentChat(request, parser) {
53
+ function initAgentChat(request, parser, formatSend) {
54
54
  const [agent] = useAgent(request);
55
55
  const chat = useXChat({
56
56
  agent: agent.value,
@@ -58,10 +58,8 @@ function initAgentChat(request, parser) {
58
58
  parser
59
59
  });
60
60
  const onRequest = (message) => {
61
- chat.onRequest({
62
- role: Role.User,
63
- content: message
64
- });
61
+ const userMessage = formatSend(message);
62
+ chat.onRequest(userMessage);
65
63
  };
66
64
  const items = computed(() => {
67
65
  return chat.parsedMessages.value.map((item) => {
@@ -100,6 +98,9 @@ var _sfc_main = defineComponent({
100
98
  },
101
99
  parser: {
102
100
  type: Function
101
+ },
102
+ formatSend: {
103
+ type: Function
103
104
  }
104
105
  },
105
106
  emits: {
@@ -176,9 +177,16 @@ var _sfc_main = defineComponent({
176
177
  ];
177
178
  return list;
178
179
  };
180
+ const formatSend = (message) => {
181
+ return {
182
+ role: Role.User,
183
+ content: message
184
+ };
185
+ };
179
186
  const agentChat = initAgentChat(
180
187
  props.request ?? request,
181
- props.parser ?? parser
188
+ props.parser ?? parser,
189
+ props.formatSend ?? formatSend
182
190
  );
183
191
  emit("load", agentChat);
184
192
  return slots.default;
@@ -7,6 +7,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
7
7
  parser: {
8
8
  type: PropType<AnyFunc>;
9
9
  };
10
+ formatSend: {
11
+ type: PropType<AnyFunc>;
12
+ };
10
13
  }>, import("vue").Slot<any> | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
14
  load: null;
12
15
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
@@ -16,6 +19,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
16
19
  parser: {
17
20
  type: PropType<AnyFunc>;
18
21
  };
22
+ formatSend: {
23
+ type: PropType<AnyFunc>;
24
+ };
19
25
  }>> & Readonly<{
20
26
  onLoad?: ((...args: any[]) => any) | undefined;
21
27
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -18,6 +18,7 @@ export interface AgentChatContext {
18
18
  }
19
19
  export type Request = RequestFn<AgentMessage, RequestParams<AgentMessage>, RequestOutput>;
20
20
  export type Parser = (message: Partial<AgentMessage>) => MaybeArray<BubbleMessage>;
21
+ export type formatSend = (message: string) => AgentMessage;
21
22
  export type RequestOutput = AgentMessage & SSEOutput;
22
23
  /**
23
24
  * @description useXAgent request onSuccess 发送的数据
@@ -1,6 +1,6 @@
1
1
  import type { SSEOutput } from 'ant-design-x-vue';
2
- import type { AgentChatContext, AgentMessage, Parser, Request, RequestParams } from './types';
2
+ import type { AgentChatContext, AgentMessage, formatSend, Parser, Request, RequestParams } from './types';
3
3
  import { useXAgent } from 'ant-design-x-vue';
4
4
  export declare function useAgent(request: Request): ReturnType<typeof useXAgent<AgentMessage, RequestParams<AgentMessage>, AgentMessage & SSEOutput>>;
5
- export declare function initAgentChat(request: Request, parser: Parser): AgentChatContext;
5
+ export declare function initAgentChat(request: Request, parser: Parser, formatSend: formatSend): AgentChatContext;
6
6
  export declare function useAgentChat(): AgentChatContext;
@@ -1,7 +1,7 @@
1
1
  import { openBlock, createElementBlock, createStaticVNode, defineComponent, ref, onMounted, watch, computed, resolveComponent, createVNode, withCtx, Fragment, renderList, createBlock, normalizeClass, createSlots, renderSlot, withDirectives, createElementVNode, normalizeStyle, createCommentVNode, vShow, mergeProps, normalizeProps, guardReactiveProps } from 'vue';
2
2
  import { VkBubbleRenderer, VkBubbleRenderTemplates, VkBubbleTemplates } from '@vunk/plus/components/bubble-templates';
3
3
  import { ElAutoResizer } from 'element-plus';
4
- import { a as arrow_down_bold_default } from '../index3.mjs';
4
+ import { a as arrow_down_bold_default } from '../index2.mjs';
5
5
  import { useResizeObserver } from '@vueuse/core';
6
6
  import { VkScrollbar } from '@vunk/plus/components/scrollbar';
7
7
  import { Bubble } from 'vue-element-plus-x';
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, ref, watchEffect, openBlock, createBlock, mergeProps, toHandlers, withCtx, renderSlot, createElementBlock, normalizeClass, createVNode, createCommentVNode } from 'vue';
2
- import { a as arrow_down_bold_default, b as arrow_left_bold_default, c as arrow_right_bold_default, d as arrow_up_bold_default } from '../index3.mjs';
2
+ import { a as arrow_down_bold_default, b as arrow_left_bold_default, c as arrow_right_bold_default, d as arrow_up_bold_default } from '../index2.mjs';
3
3
  import { noop } from '@vunk/shared/function';
4
4
  import { drawerProps, drawerEmits, ElDrawer, ElIcon } from 'element-plus';
5
5
  import { bindPropsFactory, onEmitsFactory } from '@vunk/core/shared/utils-vue';
@@ -1,6 +1,6 @@
1
1
  import type { PropType } from 'vue';
2
- export declare const createElDrawerBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"top", keyof T2> | Extract<"width", keyof T2> | Extract<"appendTo", keyof T2> | Extract<"center", keyof T2> | Extract<"direction", keyof T2> | Extract<"title", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"overflow", keyof T2> | Extract<"showClose", keyof T2> | Extract<"zIndex", keyof T2> | Extract<"resizable", keyof T2> | Extract<"withHeader", keyof T2> | Extract<"modalFade", keyof T2> | Extract<"headerAriaLevel", keyof T2> | Extract<"appendToBody", keyof T2> | Extract<"beforeClose", keyof T2> | Extract<"destroyOnClose", keyof T2> | Extract<"closeOnClickModal", keyof T2> | Extract<"closeOnPressEscape", keyof T2> | Extract<"lockScroll", keyof T2> | Extract<"modal", keyof T2> | Extract<"modalPenetrable", keyof T2> | Extract<"openDelay", keyof T2> | Extract<"closeDelay", keyof T2> | Extract<"modalClass", keyof T2> | Extract<"headerClass", keyof T2> | Extract<"bodyClass", keyof T2> | Extract<"footerClass", keyof T2> | Extract<"trapFocus", keyof T2> | Extract<"transition", keyof T2> | Extract<"alignCenter", keyof T2> | Extract<"closeIcon", keyof T2> | Extract<"draggable", keyof T2> | Extract<"fullscreen", keyof T2> | Extract<"ariaLevel", keyof T2>)[]>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"top", keyof T2>, KE> | Exclude<Extract<"width", keyof T2>, KE> | Exclude<Extract<"appendTo", keyof T2>, KE> | Exclude<Extract<"center", keyof T2>, KE> | Exclude<Extract<"direction", keyof T2>, KE> | Exclude<Extract<"title", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"overflow", keyof T2>, KE> | Exclude<Extract<"showClose", keyof T2>, KE> | Exclude<Extract<"zIndex", keyof T2>, KE> | Exclude<Extract<"resizable", keyof T2>, KE> | Exclude<Extract<"withHeader", keyof T2>, KE> | Exclude<Extract<"modalFade", keyof T2>, KE> | Exclude<Extract<"headerAriaLevel", keyof T2>, KE> | Exclude<Extract<"appendToBody", keyof T2>, KE> | Exclude<Extract<"beforeClose", keyof T2>, KE> | Exclude<Extract<"destroyOnClose", keyof T2>, KE> | Exclude<Extract<"closeOnClickModal", keyof T2>, KE> | Exclude<Extract<"closeOnPressEscape", keyof T2>, KE> | Exclude<Extract<"lockScroll", keyof T2>, KE> | Exclude<Extract<"modal", keyof T2>, KE> | Exclude<Extract<"modalPenetrable", keyof T2>, KE> | Exclude<Extract<"openDelay", keyof T2>, KE> | Exclude<Extract<"closeDelay", keyof T2>, KE> | Exclude<Extract<"modalClass", keyof T2>, KE> | Exclude<Extract<"headerClass", keyof T2>, KE> | Exclude<Extract<"bodyClass", keyof T2>, KE> | Exclude<Extract<"footerClass", keyof T2>, KE> | Exclude<Extract<"trapFocus", keyof T2>, KE> | Exclude<Extract<"transition", keyof T2>, KE> | Exclude<Extract<"alignCenter", keyof T2>, KE> | Exclude<Extract<"closeIcon", keyof T2>, KE> | Exclude<Extract<"draggable", keyof T2>, KE> | Exclude<Extract<"fullscreen", keyof T2>, KE> | Exclude<Extract<"ariaLevel", keyof T2>, KE> : Extract<"size", keyof T2> | Extract<"top", keyof T2> | Extract<"width", keyof T2> | Extract<"appendTo", keyof T2> | Extract<"center", keyof T2> | Extract<"direction", keyof T2> | Extract<"title", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"overflow", keyof T2> | Extract<"showClose", keyof T2> | Extract<"zIndex", keyof T2> | Extract<"resizable", keyof T2> | Extract<"withHeader", keyof T2> | Extract<"modalFade", keyof T2> | Extract<"headerAriaLevel", keyof T2> | Extract<"appendToBody", keyof T2> | Extract<"beforeClose", keyof T2> | Extract<"destroyOnClose", keyof T2> | Extract<"closeOnClickModal", keyof T2> | Extract<"closeOnPressEscape", keyof T2> | Extract<"lockScroll", keyof T2> | Extract<"modal", keyof T2> | Extract<"modalPenetrable", keyof T2> | Extract<"openDelay", keyof T2> | Extract<"closeDelay", keyof T2> | Extract<"modalClass", keyof T2> | Extract<"headerClass", keyof T2> | Extract<"bodyClass", keyof T2> | Extract<"footerClass", keyof T2> | Extract<"trapFocus", keyof T2> | Extract<"transition", keyof T2> | Extract<"alignCenter", keyof T2> | Extract<"closeIcon", keyof T2> | Extract<"draggable", keyof T2> | Extract<"fullscreen", keyof T2> | Extract<"ariaLevel", keyof T2>]: { [k in Extract<"size", keyof T2> | Extract<"top", keyof T2> | Extract<"width", keyof T2> | Extract<"appendTo", keyof T2> | Extract<"center", keyof T2> | Extract<"direction", keyof T2> | Extract<"title", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"overflow", keyof T2> | Extract<"showClose", keyof T2> | Extract<"zIndex", keyof T2> | Extract<"resizable", keyof T2> | Extract<"withHeader", keyof T2> | Extract<"modalFade", keyof T2> | Extract<"headerAriaLevel", keyof T2> | Extract<"appendToBody", keyof T2> | Extract<"beforeClose", keyof T2> | Extract<"destroyOnClose", keyof T2> | Extract<"closeOnClickModal", keyof T2> | Extract<"closeOnPressEscape", keyof T2> | Extract<"lockScroll", keyof T2> | Extract<"modal", keyof T2> | Extract<"modalPenetrable", keyof T2> | Extract<"openDelay", keyof T2> | Extract<"closeDelay", keyof T2> | Extract<"modalClass", keyof T2> | Extract<"headerClass", keyof T2> | Extract<"bodyClass", keyof T2> | Extract<"footerClass", keyof T2> | Extract<"trapFocus", keyof T2> | Extract<"transition", keyof T2> | Extract<"alignCenter", keyof T2> | Extract<"closeIcon", keyof T2> | Extract<"draggable", keyof T2> | Extract<"fullscreen", keyof T2> | Extract<"ariaLevel", keyof T2>]: T2[k]; }[P]; }>;
3
- export declare const createElDrawerOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("close" | "open" | "update:modelValue" | "opened" | "closed" | "openAutoFocus" | "closeAutoFocus")[]>(emit: T2, excludes?: EX | undefined) => { [P in EX extends (infer KE)[] ? Exclude<"close", KE> | Exclude<"open", KE> | Exclude<"update:modelValue", KE> | Exclude<"opened", KE> | Exclude<"closed", KE> | Exclude<"openAutoFocus", KE> | Exclude<"closeAutoFocus", KE> : "close" | "open" | "update:modelValue" | "opened" | "closed" | "openAutoFocus" | "closeAutoFocus"]: {
2
+ export declare const createElDrawerBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"top", keyof T2> | Extract<"width", keyof T2> | Extract<"appendTo", keyof T2> | Extract<"center", keyof T2> | Extract<"direction", keyof T2> | Extract<"title", keyof T2> | Extract<"resizable", keyof T2> | Extract<"withHeader", keyof T2> | Extract<"modalFade", keyof T2> | Extract<"headerAriaLevel", keyof T2> | Extract<"appendToBody", keyof T2> | Extract<"beforeClose", keyof T2> | Extract<"destroyOnClose", keyof T2> | Extract<"closeOnClickModal", keyof T2> | Extract<"closeOnPressEscape", keyof T2> | Extract<"lockScroll", keyof T2> | Extract<"modal", keyof T2> | Extract<"modalPenetrable", keyof T2> | Extract<"openDelay", keyof T2> | Extract<"closeDelay", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"modalClass", keyof T2> | Extract<"headerClass", keyof T2> | Extract<"bodyClass", keyof T2> | Extract<"footerClass", keyof T2> | Extract<"zIndex", keyof T2> | Extract<"trapFocus", keyof T2> | Extract<"transition", keyof T2> | Extract<"alignCenter", keyof T2> | Extract<"closeIcon", keyof T2> | Extract<"draggable", keyof T2> | Extract<"overflow", keyof T2> | Extract<"fullscreen", keyof T2> | Extract<"showClose", keyof T2> | Extract<"ariaLevel", keyof T2>)[]>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"top", keyof T2>, KE> | Exclude<Extract<"width", keyof T2>, KE> | Exclude<Extract<"appendTo", keyof T2>, KE> | Exclude<Extract<"center", keyof T2>, KE> | Exclude<Extract<"direction", keyof T2>, KE> | Exclude<Extract<"title", keyof T2>, KE> | Exclude<Extract<"resizable", keyof T2>, KE> | Exclude<Extract<"withHeader", keyof T2>, KE> | Exclude<Extract<"modalFade", keyof T2>, KE> | Exclude<Extract<"headerAriaLevel", keyof T2>, KE> | Exclude<Extract<"appendToBody", keyof T2>, KE> | Exclude<Extract<"beforeClose", keyof T2>, KE> | Exclude<Extract<"destroyOnClose", keyof T2>, KE> | Exclude<Extract<"closeOnClickModal", keyof T2>, KE> | Exclude<Extract<"closeOnPressEscape", keyof T2>, KE> | Exclude<Extract<"lockScroll", keyof T2>, KE> | Exclude<Extract<"modal", keyof T2>, KE> | Exclude<Extract<"modalPenetrable", keyof T2>, KE> | Exclude<Extract<"openDelay", keyof T2>, KE> | Exclude<Extract<"closeDelay", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"modalClass", keyof T2>, KE> | Exclude<Extract<"headerClass", keyof T2>, KE> | Exclude<Extract<"bodyClass", keyof T2>, KE> | Exclude<Extract<"footerClass", keyof T2>, KE> | Exclude<Extract<"zIndex", keyof T2>, KE> | Exclude<Extract<"trapFocus", keyof T2>, KE> | Exclude<Extract<"transition", keyof T2>, KE> | Exclude<Extract<"alignCenter", keyof T2>, KE> | Exclude<Extract<"closeIcon", keyof T2>, KE> | Exclude<Extract<"draggable", keyof T2>, KE> | Exclude<Extract<"overflow", keyof T2>, KE> | Exclude<Extract<"fullscreen", keyof T2>, KE> | Exclude<Extract<"showClose", keyof T2>, KE> | Exclude<Extract<"ariaLevel", keyof T2>, KE> : Extract<"size", keyof T2> | Extract<"top", keyof T2> | Extract<"width", keyof T2> | Extract<"appendTo", keyof T2> | Extract<"center", keyof T2> | Extract<"direction", keyof T2> | Extract<"title", keyof T2> | Extract<"resizable", keyof T2> | Extract<"withHeader", keyof T2> | Extract<"modalFade", keyof T2> | Extract<"headerAriaLevel", keyof T2> | Extract<"appendToBody", keyof T2> | Extract<"beforeClose", keyof T2> | Extract<"destroyOnClose", keyof T2> | Extract<"closeOnClickModal", keyof T2> | Extract<"closeOnPressEscape", keyof T2> | Extract<"lockScroll", keyof T2> | Extract<"modal", keyof T2> | Extract<"modalPenetrable", keyof T2> | Extract<"openDelay", keyof T2> | Extract<"closeDelay", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"modalClass", keyof T2> | Extract<"headerClass", keyof T2> | Extract<"bodyClass", keyof T2> | Extract<"footerClass", keyof T2> | Extract<"zIndex", keyof T2> | Extract<"trapFocus", keyof T2> | Extract<"transition", keyof T2> | Extract<"alignCenter", keyof T2> | Extract<"closeIcon", keyof T2> | Extract<"draggable", keyof T2> | Extract<"overflow", keyof T2> | Extract<"fullscreen", keyof T2> | Extract<"showClose", keyof T2> | Extract<"ariaLevel", keyof T2>]: { [k in Extract<"size", keyof T2> | Extract<"top", keyof T2> | Extract<"width", keyof T2> | Extract<"appendTo", keyof T2> | Extract<"center", keyof T2> | Extract<"direction", keyof T2> | Extract<"title", keyof T2> | Extract<"resizable", keyof T2> | Extract<"withHeader", keyof T2> | Extract<"modalFade", keyof T2> | Extract<"headerAriaLevel", keyof T2> | Extract<"appendToBody", keyof T2> | Extract<"beforeClose", keyof T2> | Extract<"destroyOnClose", keyof T2> | Extract<"closeOnClickModal", keyof T2> | Extract<"closeOnPressEscape", keyof T2> | Extract<"lockScroll", keyof T2> | Extract<"modal", keyof T2> | Extract<"modalPenetrable", keyof T2> | Extract<"openDelay", keyof T2> | Extract<"closeDelay", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"modalClass", keyof T2> | Extract<"headerClass", keyof T2> | Extract<"bodyClass", keyof T2> | Extract<"footerClass", keyof T2> | Extract<"zIndex", keyof T2> | Extract<"trapFocus", keyof T2> | Extract<"transition", keyof T2> | Extract<"alignCenter", keyof T2> | Extract<"closeIcon", keyof T2> | Extract<"draggable", keyof T2> | Extract<"overflow", keyof T2> | Extract<"fullscreen", keyof T2> | Extract<"showClose", keyof T2> | Extract<"ariaLevel", keyof T2>]: T2[k]; }[P]; }>;
3
+ export declare const createElDrawerOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("close" | "open" | "opened" | "closed" | "update:modelValue" | "openAutoFocus" | "closeAutoFocus")[]>(emit: T2, excludes?: EX | undefined) => { [P in EX extends (infer KE)[] ? Exclude<"close", KE> | Exclude<"open", KE> | Exclude<"opened", KE> | Exclude<"closed", KE> | Exclude<"update:modelValue", KE> | Exclude<"openAutoFocus", KE> | Exclude<"closeAutoFocus", KE> : "close" | "open" | "opened" | "closed" | "update:modelValue" | "openAutoFocus" | "closeAutoFocus"]: {
4
4
  open: (...e: import("@vunk/core").RestParameters<T2>) => void;
5
5
  opened: (...e: import("@vunk/core").RestParameters<T2>) => void;
6
6
  close: (...e: import("@vunk/core").RestParameters<T2>) => void;
@@ -142,13 +142,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
142
142
  }>> & Readonly<{
143
143
  onClose?: (() => any) | undefined;
144
144
  onOpen?: (() => any) | undefined;
145
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
146
145
  onOpened?: (() => any) | undefined;
147
146
  onClosed?: (() => any) | undefined;
147
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
148
148
  onOpenAutoFocus?: (() => any) | undefined;
149
149
  onCloseAutoFocus?: (() => any) | undefined;
150
150
  }> & {}>;
151
- emit: ((event: "close") => void) & ((event: "open") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "opened") => void) & ((event: "closed") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void);
151
+ emit: ((event: "close") => void) & ((event: "open") => void) & ((event: "opened") => void) & ((event: "closed") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void);
152
152
  hasToggle: import("vue").ComputedRef<boolean>;
153
153
  coreProps: import("vue").ComputedRef<{}>;
154
154
  coreEmits: {};
@@ -640,9 +640,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
640
640
  }>> & Readonly<{
641
641
  onClose?: (() => any) | undefined;
642
642
  onOpen?: (() => any) | undefined;
643
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
644
643
  onOpened?: (() => any) | undefined;
645
644
  onClosed?: (() => any) | undefined;
645
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
646
646
  onOpenAutoFocus?: (() => any) | undefined;
647
647
  onCloseAutoFocus?: (() => any) | undefined;
648
648
  }>, {
@@ -653,9 +653,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
653
653
  direction: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
654
654
  title: string;
655
655
  modules: "toggle"[];
656
- modelValue: boolean;
657
- overflow: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
658
- showClose: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
659
656
  resizable: boolean;
660
657
  withHeader: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
661
658
  modalFade: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
@@ -669,11 +666,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
669
666
  modalPenetrable: boolean;
670
667
  openDelay: number;
671
668
  closeDelay: number;
669
+ modelValue: boolean;
672
670
  trapFocus: boolean;
673
671
  transition: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | import("vue").TransitionProps) | (() => import("element-plus").DialogTransition) | ((new (...args: any[]) => string | import("vue").TransitionProps) | (() => import("element-plus").DialogTransition))[], unknown, unknown>;
674
672
  alignCenter: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
675
673
  draggable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
674
+ overflow: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
676
675
  fullscreen: boolean;
676
+ showClose: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
677
677
  ariaLevel: string;
678
678
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
679
679
  export default _default;