+
{{ message.message }}
-
-
+
+
-
+
@@ -107,7 +107,7 @@ const requireConfirmation = (event) => {
confirm.require({
target: event.currentTarget,
group: 'headless',
- message: 'Are you sure? You cannot undo this.',
+ message: 'Save your current process?',
accept: () => {
toast.add({severity:'info', summary:'Confirmed', detail:'You have accepted', life: 3000});
},
@@ -126,7 +126,7 @@ const requireConfirmation = (event) => {
this.$confirm.require({
target: event.currentTarget,
group: 'headless',
- message: 'Are you sure? You cannot undo this.',
+ message: 'Save your current process?',
accept: () => {
this.$toast.add({ severity: 'info', summary: 'Confirmed', detail: 'You have accepted', life: 3000 });
},
diff --git a/doc/confirmpopup/TemplateDoc.vue b/doc/confirmpopup/TemplateDoc.vue
index fee39f73b..610866079 100644
--- a/doc/confirmpopup/TemplateDoc.vue
+++ b/doc/confirmpopup/TemplateDoc.vue
@@ -4,14 +4,14 @@
-
+
{{ slotProps.message.message }}
-
+
@@ -24,27 +24,27 @@ export default {
basic: `
-
+
{{ slotProps.message.message }}
-
+
`,
options: `
-
+
{{ slotProps.message.message }}
-
+
@@ -59,8 +59,10 @@ export default {
icon: 'pi pi-exclamation-circle',
acceptIcon: 'pi pi-check',
rejectIcon: 'pi pi-times',
- rejectClass: 'p-button-sm',
- acceptClass: 'p-button-outlined p-button-sm',
+ acceptLabel: 'Confirm',
+ rejectLabel: 'Cancel',
+ rejectClass: 'p-button-outlined p-button-sm',
+ acceptClass: 'p-button-sm',
accept: () => {
this.$toast.add({ severity: 'info', summary: 'Confirmed', detail: 'You have accepted', life: 3000 });
},
@@ -78,14 +80,14 @@ export default {
-
+
{{ slotProps.message.message }}
-
+
@@ -104,8 +106,10 @@ const showTemplate = (event) => {
icon: 'pi pi-exclamation-circle',
acceptIcon: 'pi pi-check',
rejectIcon: 'pi pi-times',
- rejectClass: 'p-button-sm',
- acceptClass: 'p-button-outlined p-button-sm',
+ acceptLabel: 'Confirm',
+ rejectLabel: 'Cancel',
+ rejectClass: 'p-button-outlined p-button-sm',
+ acceptClass: 'p-button-sm',
accept: () => {
toast.add({severity:'info', summary:'Confirmed', detail:'You have accepted', life: 3000});
},
@@ -128,8 +132,10 @@ const showTemplate = (event) => {
icon: 'pi pi-exclamation-circle',
acceptIcon: 'pi pi-check',
rejectIcon: 'pi pi-times',
- rejectClass: 'p-button-sm',
- acceptClass: 'p-button-outlined p-button-sm',
+ acceptLabel: 'Confirm',
+ rejectLabel: 'Cancel',
+ rejectClass: 'p-button-outlined p-button-sm',
+ acceptClass: 'p-button-sm',
accept: () => {
this.$toast.add({ severity: 'info', summary: 'Confirmed', detail: 'You have accepted', life: 3000 });
},
diff --git a/doc/dialog/TemplateDoc.vue b/doc/dialog/TemplateDoc.vue
index 24ab5d67c..5089d9caf 100644
--- a/doc/dialog/TemplateDoc.vue
+++ b/doc/dialog/TemplateDoc.vue
@@ -22,7 +22,7 @@
-
+
@@ -55,7 +55,7 @@ export default {
-
+
`,
@@ -80,7 +80,7 @@ export default {
-
+
@@ -117,7 +117,7 @@ export default {