diff --git a/components/lib/dialog/Dialog.d.ts b/components/lib/dialog/Dialog.d.ts
index 2a553f8e9..1536360ee 100755
--- a/components/lib/dialog/Dialog.d.ts
+++ b/components/lib/dialog/Dialog.d.ts
@@ -339,13 +339,24 @@ export interface DialogSlots {
container(scope: {
/**
* Close dialog function.
+ * @deprecated since v3.39.0. Use 'closeCallback' property instead.
*/
onClose: () => void;
/**
* Maximize/minimize dialog function.
* @param {Event} event - Browser event
+ * @deprecated since v3.39.0. Use 'maximizeCallback' property instead.
*/
onMaximize: (event: Event) => void;
+ /**
+ * Close dialog function.
+ */
+ closeCallback: () => void;
+ /**
+ * Maximize/minimize dialog function.
+ * @param {Event} event - Browser event
+ */
+ maximizeCallback: (event: Event) => void;
}): VNode[];
}
diff --git a/components/lib/dialog/Dialog.vue b/components/lib/dialog/Dialog.vue
index 253cab11c..6646e305f 100755
--- a/components/lib/dialog/Dialog.vue
+++ b/components/lib/dialog/Dialog.vue
@@ -3,7 +3,7 @@
-
+
diff --git a/components/lib/message/Message.d.ts b/components/lib/message/Message.d.ts
index 0944aab4b..a255e47a6 100755
--- a/components/lib/message/Message.d.ts
+++ b/components/lib/message/Message.d.ts
@@ -195,8 +195,13 @@ export interface MessageSlots {
container(scope: {
/**
* Close message function.
+ * @deprecated since v3.39.0. Use 'closeCallback' property instead.
*/
onClose: () => void;
+ /**
+ * Close message function.
+ */
+ closeCallback: () => void;
}): VNode[];
}
diff --git a/components/lib/message/Message.vue b/components/lib/message/Message.vue
index 2e66bd6e2..e698a2201 100755
--- a/components/lib/message/Message.vue
+++ b/components/lib/message/Message.vue
@@ -1,7 +1,7 @@
-
+
diff --git a/components/lib/overlaypanel/OverlayPanel.d.ts b/components/lib/overlaypanel/OverlayPanel.d.ts
index 567f94f0f..b42a64b97 100755
--- a/components/lib/overlaypanel/OverlayPanel.d.ts
+++ b/components/lib/overlaypanel/OverlayPanel.d.ts
@@ -203,13 +203,24 @@ export interface OverlayPanelEmits {
container(scope: {
/**
* Close overlay panel function.
+ * @deprecated since v3.39.0. Use 'closeCallback' property instead.
*/
onClose: () => void;
/**
* Close button keydown function.
* @param {Event} event - Browser event
+ * @deprecated since v3.39.0. Use 'keydownCallback' property instead.
*/
onKeydown: (event: Event) => void;
+ /**
+ * Close overlay panel function.
+ */
+ closeCallback: () => void;
+ /**
+ * Close button keydown function.
+ * @param {Event} event - Browser event
+ */
+ keydownCallback: (event: Event) => void;
}): VNode[];
}
diff --git a/components/lib/overlaypanel/OverlayPanel.vue b/components/lib/overlaypanel/OverlayPanel.vue
index b25749a80..e268fab2f 100755
--- a/components/lib/overlaypanel/OverlayPanel.vue
+++ b/components/lib/overlaypanel/OverlayPanel.vue
@@ -2,7 +2,7 @@
-
+
diff --git a/components/lib/sidebar/Sidebar.d.ts b/components/lib/sidebar/Sidebar.d.ts
index 993f05820..69d07c727 100755
--- a/components/lib/sidebar/Sidebar.d.ts
+++ b/components/lib/sidebar/Sidebar.d.ts
@@ -195,8 +195,13 @@ export interface SidebarSlots {
container(scope: {
/**
* Close sidebar function.
+ * @deprecated since v3.39.0. Use 'closeCallback' property instead.
*/
onClose: () => void;
+ /**
+ * Close sidebar function.
+ */
+ closeCallback: () => void;
}): VNode[];
}
diff --git a/components/lib/sidebar/Sidebar.vue b/components/lib/sidebar/Sidebar.vue
index a0ab8caed..7d0a27e9d 100755
--- a/components/lib/sidebar/Sidebar.vue
+++ b/components/lib/sidebar/Sidebar.vue
@@ -3,7 +3,7 @@
-
+
diff --git a/components/lib/toast/Toast.d.ts b/components/lib/toast/Toast.d.ts
index 3210fc916..b23152280 100755
--- a/components/lib/toast/Toast.d.ts
+++ b/components/lib/toast/Toast.d.ts
@@ -305,8 +305,13 @@ export interface ToastSlots {
message: any;
/**
* Close toast function
+ * @deprecated since v3.39.0. Use 'closeCallback' property instead.
*/
onClose: () => void;
+ /**
+ * Close sidebar function.
+ */
+ closeCallback: () => void;
}): VNode[];
}
diff --git a/components/lib/toast/ToastMessage.vue b/components/lib/toast/ToastMessage.vue
index dcbe628ab..66685dc14 100755
--- a/components/lib/toast/ToastMessage.vue
+++ b/components/lib/toast/ToastMessage.vue
@@ -1,6 +1,6 @@