(function(t,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t["vue3-status-indicator"]={},t.Vue))})(this,function(t,e){"use strict";const o=e.defineComponent({__name:"statusIndicator",props:{type:{type:String,requird:!1,default:""},bgColor:{type:String,requird:!1,default:"#326cd6"},pause:{type:Boolean,requird:!1,default:!1}},setup(n){const s=n;e.useCssVars(u=>({"0231121a":a.value}));const r=e.ref({success:"#4FAD59",error:"#FC4D44",warning:"#FB8C00",primary:"#326cd6"}),a=e.ref("#326cd6");return e.watchEffect(()=>{s.type?a.value=r.value[s.type]:a.value=s.bgColor}),(u,l)=>(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(["indicator",n.pause?"":"active"])},null,2))}}),c="",i={install:(n,s)=>{n.component("Vue3StatusIndicator",o)}};t.Vue3StatusIndicator=o,t.default=i,Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});