import{c as e,o as s,F as t,O as r,P as n,n as c}from"./vendor.js?ver=3.1.0";import{_ as i}from"./fc-bits-ui.js?ver=3.1.0";const a=i({name:"Badge",props:["type","plain"],methods:{badgeText(e){switch(e){case"completed":return this.$t("Completed");case"active":return this.$t("Active");case"publish":case"published":return this.$t("Published");case"shipped":return this.$t("Shipped");case"success":return this.$t("Success");case"failed":return this.$t("Failed");case"canceled":return this.$t("Canceled");case"bounced":return this.$t("Bounced");case"pending":return this.$t("Pending");case"subscribed":return this.$t("Subscribed");case"unsubscribed":return this.$t("Unsubscribed");case"draft":return this.$t("Draft");case"transactional":return this.$t("Transactional");case"archived":return this.$t("Archived");case"future":return this.$t("Future");case"inactive":return this.$t("Inactive");case"processing":return this.$t("Processing");case"working":return this.$t("Working");case"scheduled":return this.$t("Scheduled");case"on-hold":return this.$t("On Hold");case"dispute":return this.$t("Dispute");case"licensed":return this.$t("Licensed");case"sent":return this.$t("Sent");case"complained":return this.$t("Complained");case"spammed":return this.$t("Spammed");case"sms_subscribed":return this.$t("SMS Subscribed");case"sms_unsubscribed":return this.$t("SMS Unsubscribed");case"sms_pending":return this.$t("SMS Pending");case"sms_bounced":return this.$t("SMS Bounced");case"paused":return this.$t("Paused");case"pending-scheduled":return this.$t("Pending Scheduled");case"cancelled":return this.$t("Cancelled");default:return e}}}},[["render",function(i,a,u,d,h,$){return s(),e("span",{class:c(["fcrm_badge","fcrm_badge_"+u.type+(u.plain?" fcrm_badge_plain":"")])},[t(i.$slots,"icon"),r(" "+n($.badgeText(u.type)),1)],2)}]]);export{a as B};
