"use strict";(this.webpackChunk_tsmesolutions_cubes_initiatives=this.webpackChunk_tsmesolutions_cubes_initiatives||[]).push([[7455],{97455:(e,t,o)=>{o.r(t),o.d(t,{default:()=>m});var n=o(24590),a=o(86857);const l={summary:{type:Object},activityName:Object,status:Number,isRejected:Boolean,view:Boolean};var s=o(90726),r=o(16464),i=o(91123);const c={class:"d-flex justify-content-between align-items-baseline"},u={key:0},d=(0,n.defineComponent)({__name:"activity-progress-header",props:l,setup(e){const t=e,{summary:l}=(0,n.toRefs)(t),d=s.IoC.DI().resolve(r.Ow.appContext).translation.global,m=(0,n.defineAsyncComponent)(()=>o.e(5272).then(o.bind(o,35272)));return(e,t)=>{const o=(0,n.resolveComponent)("v-badge"),s=(0,n.resolveComponent)("v-literal"),r=(0,n.resolveComponent)("v-col"),p=(0,n.resolveComponent)("v-row");return(0,n.openBlock)(),(0,n.createBlock)(p,null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)(r,null,{default:(0,n.withCtx)(()=>[(0,n.createElementVNode)("div",c,[(0,n.createElementVNode)("div",null,[(0,n.createVNode)(o,{class:"mb-2",subtle:"",accent:(0,n.unref)(i.AccentEnum).dark},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)((0,n.unref)(d).activity),1)]),_:1},8,["accent"]),(0,n.createVNode)(s,{modelValue:e.activityName,"onUpdate:modelValue":t[0]||(t[0]=t=>e.activityName=t),tag:"h6",class:(0,n.normalizeClass)(["m-0",{"text-danger":e.status==(0,n.unref)(a.a4).PendingCorrection&&e.isRejected}])},null,8,["modelValue","class"]),(0,n.renderSlot)(e.$slots,"weight")]),e.view?(0,n.createCommentVNode)("v-if",!0):((0,n.openBlock)(),(0,n.createElementBlock)("span",u,[((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(m),{key:(0,n.unref)(l).badgeColor,color:(0,n.unref)(l).badgeColor,label:(0,n.unref)(l).badgeLabel,"tip-position":"left"},null,8,["color","label"]))]))])]),_:3})]),_:3})}}}),m=d}}]);
//# sourceMappingURL=83fbe31a3ead53eca3eb.js.map