import{h}from"@stencil/core";import{__}from"@wordpress/i18n";const status={open:__("Return in progress","surecart"),completed:__("Returned","surecart")},type={open:"warning",completed:"success"};export class ScOrderReturnBadge{constructor(){this.status=void 0,this.size="medium",this.pill=!1,this.clearable=!1}render(){return h("sc-tag",{key:"69767d8e3afdcaf659318b8f1e55595e81702b6c",type:null==type?void 0:type[null==this?void 0:this.status],pill:this.pill},(null==status?void 0:status[this.status])||this.status)}static get is(){return"sc-order-return-badge"}static get encapsulation(){return"shadow"}static get originalStyleUrls(){return{$:["sc-order-return-badge.css"]}}static get styleUrls(){return{$:["sc-order-return-badge.css"]}}static get properties(){return{status:{type:"string",mutable:!1,complexType:{original:"ReturnRequestStatus",resolved:'"completed" | "open"',references:{ReturnRequestStatus:{location:"import",path:"../../../types",id:"src/types.ts::ReturnRequestStatus"}}},required:!1,optional:!1,docs:{tags:[],text:"The tag's statux type."},attribute:"status",reflect:!1},size:{type:"string",mutable:!1,complexType:{original:"'small' | 'medium' | 'large'",resolved:'"large" | "medium" | "small"',references:{}},required:!1,optional:!1,docs:{tags:[],text:"The tag's size."},attribute:"size",reflect:!0,defaultValue:"'medium'"},pill:{type:"boolean",mutable:!1,complexType:{original:"boolean",resolved:"boolean",references:{}},required:!1,optional:!1,docs:{tags:[],text:"Draws a pill-style tag with rounded edges."},attribute:"pill",reflect:!0,defaultValue:"false"},clearable:{type:"boolean",mutable:!1,complexType:{original:"boolean",resolved:"boolean",references:{}},required:!1,optional:!1,docs:{tags:[],text:"Makes the tag clearable."},attribute:"clearable",reflect:!1,defaultValue:"false"}}}}