import{r as t,h as e}from"./p-9add63ef.js";const s=":host{display:inline-block;vertical-align:middle}";const r=s;const a=class{constructor(e){t(this,e);this.status=undefined;this.size="medium";this.pill=false;this.clearable=false}getType(){switch(this.status){case"paid":return"success";case"open":return"info";case"draft":return"default"}}getText(){switch(this.status){case"paid":return wp.i18n.__("Paid","surecart");case"open":return wp.i18n.__("Open","surecart");case"draft":return wp.i18n.__("Draft","surecart");default:return this.status}}render(){return e("sc-tag",{key:"3496a214c86d1603c41c7519c852f5a426599bf8",type:this.getType(),pill:this.pill},this.getText())}};a.style=r;export{a as sc_invoice_status_badge};
//# sourceMappingURL=p-a0292c1d.entry.js.map