diff --git a/components/lib/confirmdialog/ConfirmDialog.d.ts b/components/lib/confirmdialog/ConfirmDialog.d.ts index 15866fd0f..b087d314b 100644 --- a/components/lib/confirmdialog/ConfirmDialog.d.ts +++ b/components/lib/confirmdialog/ConfirmDialog.d.ts @@ -62,6 +62,18 @@ export interface ConfirmDialogSlots { * @param {Object} scope - message slot's params. */ message(scope: { message: ConfirmationOptions }): VNode[]; + /** + * Custom icon template. + */ + icon(): VNode[]; + /** + * Custom icon template. + */ + accepticon(): VNode[]; + /** + * Custom icon template. + */ + rejecticon(): VNode[]; } /** diff --git a/components/lib/confirmdialog/ConfirmDialog.vue b/components/lib/confirmdialog/ConfirmDialog.vue index 44ad632e0..223245cda 100644 --- a/components/lib/confirmdialog/ConfirmDialog.vue +++ b/components/lib/confirmdialog/ConfirmDialog.vue @@ -13,13 +13,28 @@ @update:visible="onHide" > diff --git a/components/lib/confirmpopup/ConfirmPopup.d.ts b/components/lib/confirmpopup/ConfirmPopup.d.ts index 6440faf68..a002aee94 100644 --- a/components/lib/confirmpopup/ConfirmPopup.d.ts +++ b/components/lib/confirmpopup/ConfirmPopup.d.ts @@ -30,6 +30,18 @@ export interface ConfirmPopupSlots { * @param {Object} scope - message slot's params. */ message(scope: { message: ConfirmationOptions }): VNode[]; + /** + * Custom icon template. + */ + icon(): VNode[]; + /** + * Custom icon template. + */ + accepticon(): VNode[]; + /** + * Custom icon template. + */ + rejecticon(): VNode[]; } /** diff --git a/components/lib/confirmpopup/ConfirmPopup.vue b/components/lib/confirmpopup/ConfirmPopup.vue index bf472c367..0cc76b001 100644 --- a/components/lib/confirmpopup/ConfirmPopup.vue +++ b/components/lib/confirmpopup/ConfirmPopup.vue @@ -4,14 +4,29 @@