From f850511173f3e068b1ffd9f9ee46364cdd8a8e64 Mon Sep 17 00:00:00 2001 From: puriphatt Date: Thu, 13 Mar 2025 11:47:30 +0700 Subject: [PATCH] feat: add reject cancel option to QuotationCard and KebabAction components --- src/components/05_quotation/QuotationCard.vue | 9 +++-- src/components/shared/KebabAction.vue | 33 ++++++++++++++++++- 2 files changed, 39 insertions(+), 3 deletions(-) diff --git a/src/components/05_quotation/QuotationCard.vue b/src/components/05_quotation/QuotationCard.vue index e9f6885c..19f1a8bb 100644 --- a/src/components/05_quotation/QuotationCard.vue +++ b/src/components/05_quotation/QuotationCard.vue @@ -24,6 +24,7 @@ defineProps<{ hideAction?: boolean; useCancel?: boolean; disableCancel?: boolean; + useRejectCancel?: boolean; customData?: { label: string; @@ -41,6 +42,7 @@ defineEmits<{ (e: 'example'): void; (e: 'preview'): void; (e: 'cancel'): void; + (e: 'rejectCancel'): void; }>(); const rand = Math.random(); @@ -62,15 +64,16 @@ const rand = Math.random(); solid /> -
+
+
-