diff --git a/components/lib/confirmdialog/ConfirmDialog.d.ts b/components/lib/confirmdialog/ConfirmDialog.d.ts index 3df07c9ec..db441d93f 100644 --- a/components/lib/confirmdialog/ConfirmDialog.d.ts +++ b/components/lib/confirmdialog/ConfirmDialog.d.ts @@ -222,16 +222,31 @@ export interface ConfirmDialogSlots { message: any; /** * Close dialog function. + * @deprecated since v3.39.0. Use 'closeCallback' property instead. */ onClose: () => void; /** * Accept function of the component + * @deprecated since v3.39.0. Use 'acceptCallback' property instead. */ onAccept: () => void; /** * Reject function of the component + * @deprecated since v3.39.0. Use 'rejectCallback' property instead. */ onReject: () => void; + /** + * Close dialog function. + */ + closeCallback: () => void; + /** + * Accept function of the component + */ + acceptCallback: () => void; + /** + * Reject function of the component + */ + rejectCallback: () => void; }): VNode[]; } diff --git a/components/lib/confirmdialog/ConfirmDialog.vue b/components/lib/confirmdialog/ConfirmDialog.vue index 904e5f7d3..e8cd24b8d 100644 --- a/components/lib/confirmdialog/ConfirmDialog.vue +++ b/components/lib/confirmdialog/ConfirmDialog.vue @@ -15,7 +15,7 @@ :unstyled="unstyled" >