From 4d87f0a1050717170985a33d55ef51860027ffaa Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Thu, 30 May 2024 02:28:03 +0300 Subject: [PATCH] Use non-sticky messages --- doc/speeddial/CircleDoc.vue | 18 +++++++++--------- doc/speeddial/LinearDoc.vue | 18 +++++++++--------- doc/speeddial/MaskDoc.vue | 18 +++++++++--------- doc/speeddial/QuarterCircleDoc.vue | 18 +++++++++--------- doc/speeddial/SemiCircleDoc.vue | 18 +++++++++--------- doc/speeddial/TemplateDoc.vue | 18 +++++++++--------- doc/speeddial/TooltipDoc.vue | 18 +++++++++--------- 7 files changed, 63 insertions(+), 63 deletions(-) diff --git a/doc/speeddial/CircleDoc.vue b/doc/speeddial/CircleDoc.vue index f709aa6fb..c687a6699 100644 --- a/doc/speeddial/CircleDoc.vue +++ b/doc/speeddial/CircleDoc.vue @@ -19,21 +19,21 @@ export default { label: 'Add', icon: 'pi pi-pencil', command: () => { - this.$toast.add({ severity: 'info', summary: 'Add', detail: 'Data Added' }); + this.$toast.add({ severity: 'info', summary: 'Add', detail: 'Data Added', life: 3000 }); } }, { label: 'Update', icon: 'pi pi-refresh', command: () => { - this.$toast.add({ severity: 'success', summary: 'Update', detail: 'Data Updated' }); + this.$toast.add({ severity: 'success', summary: 'Update', detail: 'Data Updated', life: 3000 }); } }, { label: 'Delete', icon: 'pi pi-trash', command: () => { - this.$toast.add({ severity: 'error', summary: 'Delete', detail: 'Data Deleted' }); + this.$toast.add({ severity: 'error', summary: 'Delete', detail: 'Data Deleted', life: 3000 }); } }, { @@ -74,21 +74,21 @@ export default { label: 'Add', icon: 'pi pi-pencil', command: () => { - this.$toast.add({ severity: 'info', summary: 'Add', detail: 'Data Added' }); + this.$toast.add({ severity: 'info', summary: 'Add', detail: 'Data Added', life: 3000 }); } }, { label: 'Update', icon: 'pi pi-refresh', command: () => { - this.$toast.add({ severity: 'success', summary: 'Update', detail: 'Data Updated' }); + this.$toast.add({ severity: 'success', summary: 'Update', detail: 'Data Updated', life: 3000 }); } }, { label: 'Delete', icon: 'pi pi-trash', command: () => { - this.$toast.add({ severity: 'error', summary: 'Delete', detail: 'Data Deleted' }); + this.$toast.add({ severity: 'error', summary: 'Delete', detail: 'Data Deleted', life: 3000 }); } }, { @@ -134,21 +134,21 @@ const items = ref([ label: 'Add', icon: 'pi pi-pencil', command: () => { - toast.add({ severity: 'info', summary: 'Add', detail: 'Data Added' }); + toast.add({ severity: 'info', summary: 'Add', detail: 'Data Added', life: 3000 }); } }, { label: 'Update', icon: 'pi pi-refresh', command: () => { - toast.add({ severity: 'success', summary: 'Update', detail: 'Data Updated' }); + toast.add({ severity: 'success', summary: 'Update', detail: 'Data Updated', life: 3000 }); } }, { label: 'Delete', icon: 'pi pi-trash', command: () => { - toast.add({ severity: 'error', summary: 'Delete', detail: 'Data Deleted' }); + toast.add({ severity: 'error', summary: 'Delete', detail: 'Data Deleted', life: 3000 }); } }, { diff --git a/doc/speeddial/LinearDoc.vue b/doc/speeddial/LinearDoc.vue index d92b7dfe6..b9f1a9969 100644 --- a/doc/speeddial/LinearDoc.vue +++ b/doc/speeddial/LinearDoc.vue @@ -22,21 +22,21 @@ export default { label: 'Add', icon: 'pi pi-pencil', command: () => { - this.$toast.add({ severity: 'info', summary: 'Add', detail: 'Data Added' }); + this.$toast.add({ severity: 'info', summary: 'Add', detail: 'Data Added', life: 3000 }); } }, { label: 'Update', icon: 'pi pi-refresh', command: () => { - this.$toast.add({ severity: 'success', summary: 'Update', detail: 'Data Updated' }); + this.$toast.add({ severity: 'success', summary: 'Update', detail: 'Data Updated', life: 3000 }); } }, { label: 'Delete', icon: 'pi pi-trash', command: () => { - this.$toast.add({ severity: 'error', summary: 'Delete', detail: 'Data Deleted' }); + this.$toast.add({ severity: 'error', summary: 'Delete', detail: 'Data Deleted', life: 3000 }); } }, { @@ -83,21 +83,21 @@ export default { label: 'Add', icon: 'pi pi-pencil', command: () => { - this.$toast.add({ severity: 'info', summary: 'Add', detail: 'Data Added' }); + this.$toast.add({ severity: 'info', summary: 'Add', detail: 'Data Added', life: 3000 }); } }, { label: 'Update', icon: 'pi pi-refresh', command: () => { - this.$toast.add({ severity: 'success', summary: 'Update', detail: 'Data Updated' }); + this.$toast.add({ severity: 'success', summary: 'Update', detail: 'Data Updated', life: 3000 }); } }, { label: 'Delete', icon: 'pi pi-trash', command: () => { - this.$toast.add({ severity: 'error', summary: 'Delete', detail: 'Data Deleted' }); + this.$toast.add({ severity: 'error', summary: 'Delete', detail: 'Data Deleted', life: 3000 }); } }, { @@ -146,21 +146,21 @@ const items = ref([ label: 'Add', icon: 'pi pi-pencil', command: () => { - toast.add({ severity: 'info', summary: 'Add', detail: 'Data Added' }); + toast.add({ severity: 'info', summary: 'Add', detail: 'Data Added', life: 3000 }); } }, { label: 'Update', icon: 'pi pi-refresh', command: () => { - toast.add({ severity: 'success', summary: 'Update', detail: 'Data Updated' }); + toast.add({ severity: 'success', summary: 'Update', detail: 'Data Updated', life: 3000 }); } }, { label: 'Delete', icon: 'pi pi-trash', command: () => { - toast.add({ severity: 'error', summary: 'Delete', detail: 'Data Deleted' }); + toast.add({ severity: 'error', summary: 'Delete', detail: 'Data Deleted', life: 3000 }); } }, { diff --git a/doc/speeddial/MaskDoc.vue b/doc/speeddial/MaskDoc.vue index 4b42e2e40..f3e32fc4f 100644 --- a/doc/speeddial/MaskDoc.vue +++ b/doc/speeddial/MaskDoc.vue @@ -19,21 +19,21 @@ export default { label: 'Add', icon: 'pi pi-pencil', command: () => { - this.$toast.add({ severity: 'info', summary: 'Add', detail: 'Data Added' }); + this.$toast.add({ severity: 'info', summary: 'Add', detail: 'Data Added', life: 3000 }); } }, { label: 'Update', icon: 'pi pi-refresh', command: () => { - this.$toast.add({ severity: 'success', summary: 'Update', detail: 'Data Updated' }); + this.$toast.add({ severity: 'success', summary: 'Update', detail: 'Data Updated', life: 3000 }); } }, { label: 'Delete', icon: 'pi pi-trash', command: () => { - this.$toast.add({ severity: 'error', summary: 'Delete', detail: 'Data Deleted' }); + this.$toast.add({ severity: 'error', summary: 'Delete', detail: 'Data Deleted', life: 3000 }); } }, { @@ -73,21 +73,21 @@ data() { label: 'Add', icon: 'pi pi-pencil', command: () => { - this.$toast.add({ severity: 'info', summary: 'Add', detail: 'Data Added' }); + this.$toast.add({ severity: 'info', summary: 'Add', detail: 'Data Added', life: 3000 }); } }, { label: 'Update', icon: 'pi pi-refresh', command: () => { - this.$toast.add({ severity: 'success', summary: 'Update', detail: 'Data Updated' }); + this.$toast.add({ severity: 'success', summary: 'Update', detail: 'Data Updated', life: 3000 }); } }, { label: 'Delete', icon: 'pi pi-trash', command: () => { - this.$toast.add({ severity: 'error', summary: 'Delete', detail: 'Data Deleted' }); + this.$toast.add({ severity: 'error', summary: 'Delete', detail: 'Data Deleted', life: 3000 }); } }, { @@ -132,21 +132,21 @@ const items = ref([ label: 'Add', icon: 'pi pi-pencil', command: () => { - toast.add({ severity: 'info', summary: 'Add', detail: 'Data Added' }); + toast.add({ severity: 'info', summary: 'Add', detail: 'Data Added', life: 3000 }); } }, { label: 'Update', icon: 'pi pi-refresh', command: () => { - toast.add({ severity: 'success', summary: 'Update', detail: 'Data Updated' }); + toast.add({ severity: 'success', summary: 'Update', detail: 'Data Updated', life: 3000 }); } }, { label: 'Delete', icon: 'pi pi-trash', command: () => { - toast.add({ severity: 'error', summary: 'Delete', detail: 'Data Deleted' }); + toast.add({ severity: 'error', summary: 'Delete', detail: 'Data Deleted', life: 3000 }); } }, { diff --git a/doc/speeddial/QuarterCircleDoc.vue b/doc/speeddial/QuarterCircleDoc.vue index 6e43e500c..f6b4f4da5 100644 --- a/doc/speeddial/QuarterCircleDoc.vue +++ b/doc/speeddial/QuarterCircleDoc.vue @@ -22,21 +22,21 @@ export default { label: 'Add', icon: 'pi pi-pencil', command: () => { - this.$toast.add({ severity: 'info', summary: 'Add', detail: 'Data Added' }); + this.$toast.add({ severity: 'info', summary: 'Add', detail: 'Data Added', life: 3000 }); } }, { label: 'Update', icon: 'pi pi-refresh', command: () => { - this.$toast.add({ severity: 'success', summary: 'Update', detail: 'Data Updated' }); + this.$toast.add({ severity: 'success', summary: 'Update', detail: 'Data Updated', life: 3000 }); } }, { label: 'Delete', icon: 'pi pi-trash', command: () => { - this.$toast.add({ severity: 'error', summary: 'Delete', detail: 'Data Deleted' }); + this.$toast.add({ severity: 'error', summary: 'Delete', detail: 'Data Deleted', life: 3000 }); } }, { @@ -83,21 +83,21 @@ data() { label: 'Add', icon: 'pi pi-pencil', command: () => { - this.$toast.add({ severity: 'info', summary: 'Add', detail: 'Data Added' }); + this.$toast.add({ severity: 'info', summary: 'Add', detail: 'Data Added', life: 3000 }); } }, { label: 'Update', icon: 'pi pi-refresh', command: () => { - this.$toast.add({ severity: 'success', summary: 'Update', detail: 'Data Updated' }); + this.$toast.add({ severity: 'success', summary: 'Update', detail: 'Data Updated', life: 3000 }); } }, { label: 'Delete', icon: 'pi pi-trash', command: () => { - this.$toast.add({ severity: 'error', summary: 'Delete', detail: 'Data Deleted' }); + this.$toast.add({ severity: 'error', summary: 'Delete', detail: 'Data Deleted', life: 3000 }); } }, { @@ -146,21 +146,21 @@ const items = ref([ label: 'Add', icon: 'pi pi-pencil', command: () => { - toast.add({ severity: 'info', summary: 'Add', detail: 'Data Added' }); + toast.add({ severity: 'info', summary: 'Add', detail: 'Data Added', life: 3000 }); } }, { label: 'Update', icon: 'pi pi-refresh', command: () => { - toast.add({ severity: 'success', summary: 'Update', detail: 'Data Updated' }); + toast.add({ severity: 'success', summary: 'Update', detail: 'Data Updated', life: 3000 }); } }, { label: 'Delete', icon: 'pi pi-trash', command: () => { - toast.add({ severity: 'error', summary: 'Delete', detail: 'Data Deleted' }); + toast.add({ severity: 'error', summary: 'Delete', detail: 'Data Deleted', life: 3000 }); } }, { diff --git a/doc/speeddial/SemiCircleDoc.vue b/doc/speeddial/SemiCircleDoc.vue index 273c34741..ae8667095 100644 --- a/doc/speeddial/SemiCircleDoc.vue +++ b/doc/speeddial/SemiCircleDoc.vue @@ -22,21 +22,21 @@ export default { label: 'Add', icon: 'pi pi-pencil', command: () => { - this.$toast.add({ severity: 'info', summary: 'Add', detail: 'Data Added' }); + this.$toast.add({ severity: 'info', summary: 'Add', detail: 'Data Added', life: 3000 }); } }, { label: 'Update', icon: 'pi pi-refresh', command: () => { - this.$toast.add({ severity: 'success', summary: 'Update', detail: 'Data Updated' }); + this.$toast.add({ severity: 'success', summary: 'Update', detail: 'Data Updated', life: 3000 }); } }, { label: 'Delete', icon: 'pi pi-trash', command: () => { - this.$toast.add({ severity: 'error', summary: 'Delete', detail: 'Data Deleted' }); + this.$toast.add({ severity: 'error', summary: 'Delete', detail: 'Data Deleted', life: 3000 }); } }, { @@ -83,21 +83,21 @@ export default { label: 'Add', icon: 'pi pi-pencil', command: () => { - this.$toast.add({ severity: 'info', summary: 'Add', detail: 'Data Added' }); + this.$toast.add({ severity: 'info', summary: 'Add', detail: 'Data Added', life: 3000 }); } }, { label: 'Update', icon: 'pi pi-refresh', command: () => { - this.$toast.add({ severity: 'success', summary: 'Update', detail: 'Data Updated' }); + this.$toast.add({ severity: 'success', summary: 'Update', detail: 'Data Updated', life: 3000 }); } }, { label: 'Delete', icon: 'pi pi-trash', command: () => { - this.$toast.add({ severity: 'error', summary: 'Delete', detail: 'Data Deleted' }); + this.$toast.add({ severity: 'error', summary: 'Delete', detail: 'Data Deleted', life: 3000 }); } }, { @@ -144,21 +144,21 @@ const items = ref([ label: 'Add', icon: 'pi pi-pencil', command: () => { - toast.add({ severity: 'info', summary: 'Add', detail: 'Data Added' }); + toast.add({ severity: 'info', summary: 'Add', detail: 'Data Added', life: 3000 }); } }, { label: 'Update', icon: 'pi pi-refresh', command: () => { - toast.add({ severity: 'success', summary: 'Update', detail: 'Data Updated' }); + toast.add({ severity: 'success', summary: 'Update', detail: 'Data Updated', life: 3000 }); } }, { label: 'Delete', icon: 'pi pi-trash', command: () => { - toast.add({ severity: 'error', summary: 'Delete', detail: 'Data Deleted' }); + toast.add({ severity: 'error', summary: 'Delete', detail: 'Data Deleted', life: 3000 }); } }, { diff --git a/doc/speeddial/TemplateDoc.vue b/doc/speeddial/TemplateDoc.vue index 1121f6f88..e685f0f28 100644 --- a/doc/speeddial/TemplateDoc.vue +++ b/doc/speeddial/TemplateDoc.vue @@ -45,21 +45,21 @@ export default { label: 'Add', icon: 'pi pi-pencil', command: () => { - this.$toast.add({ severity: 'info', summary: 'Add', detail: 'Data Added' }); + this.$toast.add({ severity: 'info', summary: 'Add', detail: 'Data Added', life: 3000 }); } }, { label: 'Update', icon: 'pi pi-refresh', command: () => { - this.$toast.add({ severity: 'success', summary: 'Update', detail: 'Data Updated' }); + this.$toast.add({ severity: 'success', summary: 'Update', detail: 'Data Updated', life: 3000 }); } }, { label: 'Delete', icon: 'pi pi-trash', command: () => { - this.$toast.add({ severity: 'error', summary: 'Delete', detail: 'Data Deleted' }); + this.$toast.add({ severity: 'error', summary: 'Delete', detail: 'Data Deleted', life: 3000 }); } }, { @@ -134,21 +134,21 @@ export default { label: 'Add', icon: 'pi pi-pencil', command: () => { - this.$toast.add({ severity: 'info', summary: 'Add', detail: 'Data Added' }); + this.$toast.add({ severity: 'info', summary: 'Add', detail: 'Data Added', life: 3000 }); } }, { label: 'Update', icon: 'pi pi-refresh', command: () => { - this.$toast.add({ severity: 'success', summary: 'Update', detail: 'Data Updated' }); + this.$toast.add({ severity: 'success', summary: 'Update', detail: 'Data Updated', life: 3000 }); } }, { label: 'Delete', icon: 'pi pi-trash', command: () => { - this.$toast.add({ severity: 'error', summary: 'Delete', detail: 'Data Deleted' }); + this.$toast.add({ severity: 'error', summary: 'Delete', detail: 'Data Deleted', life: 3000 }); } }, { @@ -211,21 +211,21 @@ const items = ref([ label: 'Add', icon: 'pi pi-pencil', command: () => { - toast.add({ severity: 'info', summary: 'Add', detail: 'Data Added' }); + toast.add({ severity: 'info', summary: 'Add', detail: 'Data Added', life: 3000 }); } }, { label: 'Update', icon: 'pi pi-refresh', command: () => { - toast.add({ severity: 'success', summary: 'Update', detail: 'Data Updated' }); + toast.add({ severity: 'success', summary: 'Update', detail: 'Data Updated', life: 3000 }); } }, { label: 'Delete', icon: 'pi pi-trash', command: () => { - toast.add({ severity: 'error', summary: 'Delete', detail: 'Data Deleted' }); + toast.add({ severity: 'error', summary: 'Delete', detail: 'Data Deleted', life: 3000 }); } }, { diff --git a/doc/speeddial/TooltipDoc.vue b/doc/speeddial/TooltipDoc.vue index 24f91795a..fcebb9f0e 100644 --- a/doc/speeddial/TooltipDoc.vue +++ b/doc/speeddial/TooltipDoc.vue @@ -20,21 +20,21 @@ export default { label: 'Add', icon: 'pi pi-pencil', command: () => { - this.$toast.add({ severity: 'info', summary: 'Add', detail: 'Data Added' }); + this.$toast.add({ severity: 'info', summary: 'Add', detail: 'Data Added', life: 3000 }); } }, { label: 'Update', icon: 'pi pi-refresh', command: () => { - this.$toast.add({ severity: 'success', summary: 'Update', detail: 'Data Updated' }); + this.$toast.add({ severity: 'success', summary: 'Update', detail: 'Data Updated', life: 3000 }); } }, { label: 'Delete', icon: 'pi pi-trash', command: () => { - this.$toast.add({ severity: 'error', summary: 'Delete', detail: 'Data Deleted' }); + this.$toast.add({ severity: 'error', summary: 'Delete', detail: 'Data Deleted', life: 3000 }); } }, { @@ -77,21 +77,21 @@ export default { label: 'Add', icon: 'pi pi-pencil', command: () => { - this.$toast.add({ severity: 'info', summary: 'Add', detail: 'Data Added' }); + this.$toast.add({ severity: 'info', summary: 'Add', detail: 'Data Added', life: 3000 }); } }, { label: 'Update', icon: 'pi pi-refresh', command: () => { - this.$toast.add({ severity: 'success', summary: 'Update', detail: 'Data Updated' }); + this.$toast.add({ severity: 'success', summary: 'Update', detail: 'Data Updated', life: 3000 }); } }, { label: 'Delete', icon: 'pi pi-trash', command: () => { - this.$toast.add({ severity: 'error', summary: 'Delete', detail: 'Data Deleted' }); + this.$toast.add({ severity: 'error', summary: 'Delete', detail: 'Data Deleted', life: 3000 }); } }, { @@ -138,21 +138,21 @@ const items = ref([ label: 'Add', icon: 'pi pi-pencil', command: () => { - toast.add({ severity: 'info', summary: 'Add', detail: 'Data Added' }); + toast.add({ severity: 'info', summary: 'Add', detail: 'Data Added', life: 3000 }); } }, { label: 'Update', icon: 'pi pi-refresh', command: () => { - toast.add({ severity: 'success', summary: 'Update', detail: 'Data Updated' }); + toast.add({ severity: 'success', summary: 'Update', detail: 'Data Updated', life: 3000 }); } }, { label: 'Delete', icon: 'pi pi-trash', command: () => { - toast.add({ severity: 'error', summary: 'Delete', detail: 'Data Deleted' }); + toast.add({ severity: 'error', summary: 'Delete', detail: 'Data Deleted', life: 3000 }); } }, {