import{W as l}from"./WidgetKpiCard-BYu5V9MM.js";import{b as n,k as m,y as p}from"./vue-core-Di3IuVqe.js";import"./WidgetCard-CLnTgmXL.js";import"./primevue-CfIk0_DY.js";import"./index-BxIwIJfy.js";import"./cjs-helpers-psZwOBky.js";import"./vue-cal-DKMVGERa.js";import"./moment-BeHQNF8T.js";const B={__name:"WidgetCrmValeurPipelineOuvert",props:{data:{type:[Array,Object,null],default:null},loading:{type:Boolean,default:!1},error:{type:String,default:""},editing:{type:Boolean,default:!1}},emits:["refresh","remove"],setup(e){const t=e,o=p(()=>Array.isArray(t.data)&&t.data[0]?.montant||0);return(i,r)=>(n(),m(l,{title:"Valeur pipeline ouvert",icon:"pi pi-chart-line",color:"primary",value:o.value,loading:e.loading,error:e.error,editing:e.editing,onRefresh:r[0]||(r[0]=a=>i.$emit("refresh")),onRemove:r[1]||(r[1]=a=>i.$emit("remove"))},null,8,["value","loading","error","editing"]))}};export{B as default};
