import{translateInterval}from"../../../functions/price";export class ScFormatInterval{constructor(){this.value=0,this.interval="",this.every="/",this.fallback=""}render(){return translateInterval(this.value,this.interval,` ${this.every}`,this.fallback)}static get is(){return"sc-format-interval"}static get properties(){return{value:{type:"number",mutable:!1,complexType:{original:"number",resolved:"number",references:{}},required:!1,optional:!1,docs:{tags:[],text:"The number to format."},attribute:"value",reflect:!1,defaultValue:"0"},interval:{type:"string",mutable:!1,complexType:{original:"string",resolved:"string",references:{}},required:!1,optional:!1,docs:{tags:[],text:""},attribute:"interval",reflect:!1,defaultValue:"''"},every:{type:"string",mutable:!1,complexType:{original:"string",resolved:"string",references:{}},required:!1,optional:!1,docs:{tags:[],text:""},attribute:"every",reflect:!1,defaultValue:"'/'"},fallback:{type:"string",mutable:!1,complexType:{original:"string",resolved:"string",references:{}},required:!1,optional:!1,docs:{tags:[],text:""},attribute:"fallback",reflect:!1,defaultValue:"''"}}}}