import{aa as r,ab as i,a as p,o as n,a2 as c,B as o}from"./dVzHJMF1.js";var d={root:function(t){var a=t.instance;return["p-stepitem",{"p-stepitem-active":a.isActive}]}},v=r.extend({name:"stepitem",classes:d}),l={name:"BaseStepItem",extends:i,props:{value:{type:[String,Number],default:void 0}},style:v,provide:function(){return{$pcStepItem:this,$parentInstance:this}}},u={name:"StepItem",extends:l,inheritAttrs:!1,inject:["$pcStepper"],computed:{isActive:function(){var t;return((t=this.$pcStepper)===null||t===void 0?void 0:t.d_value)===this.value}}},m=["data-p-active"];function $(e,t,a,S,f,s){return n(),p("div",o({class:e.cx("root"),"data-p-active":s.isActive},e.ptmi("root")),[c(e.$slots,"default")],16,m)}u.render=$;export{u as default};
