import{v as p,x as f,c as s,j as B,e as n,f as d,h as S,b as r,H as c,w as o,R as l,z as C,A as h,l as k,t as M}from"./index-OSKNspXo.js";import{Q as A}from"./QPageSticky-CCfAiVse.js";import{H as D}from"./headerDetailComponent-D46cilGF.js";/* empty css                                                                               */const E={class:"deenova_container column"},N={style:{flex:"1 1 0"},class:"bg-page-container"},T={__name:"deenovaDetailComponent",props:{editTooltip:{type:String},headerClass:{type:String},img:{type:String},close:{type:Function},subActions:{type:Array},actions:{type:Array},displayLabel:{type:Boolean},editMode:{type:Boolean},iconName:{type:String},labelAvatar:{type:String},label:{type:String},subLabel:{type:String},displayEditButton:{type:Boolean},avatarBgColor:{type:String}},emits:["update:editMode"],setup(e,{emit:u}){const b=f(),y=s(()=>b.screen.width<480),m=e,a=s({get:()=>m.editMode,set:t=>v("update:editMode",t)}),v=u;return(t,i)=>(n(),B("div",E,[d(D,{close:e.close,hideEditButton:!e.displayEditButton,displayLabel:"","display-label":e.displayLabel,img:e.img,"edit-tooltip":e.editTooltip,actions:e.actions,"icon-name":e.iconName,"sub-actions":e.subActions,"label-avatar":e.labelAvatar,"sub-label":e.subLabel,label:e.label,"header-class":e.headerClass,"avatar-bg-color":e.avatarBgColor,editMode:a.value,"onUpdate:editMode":i[0]||(i[0]=g=>a.value=g)},{avatar:o(()=>[l(t.$slots,"avatar",{},void 0,!0)]),title:o(()=>[l(t.$slots,"title",{},void 0,!0)]),_:3},8,["close","hideEditButton","display-label","img","edit-tooltip","actions","icon-name","sub-actions","label-avatar","sub-label","label","header-class","avatar-bg-color","editMode"]),S("div",N,[a.value?l(t.$slots,"edit",{key:1},void 0,!0):l(t.$slots,"visu",{key:0},void 0,!0)]),y.value&&!a.value&&e.displayEditButton?(n(),r(A,{key:0,position:"bottom-right",offset:[18,36]},{default:o(()=>[d(C,{fab:"",icon:"edit",color:"primary",onClick:i[1]||(i[1]=()=>a.value=!0)},{default:o(()=>[e.editTooltip?(n(),r(h,{key:0},{default:o(()=>[k(M(e.editTooltip),1)]),_:1})):c("",!0)]),_:1})]),_:1})):c("",!0)]))}},w=p(T,[["__scopeId","data-v-1a4467e5"]]);export{w as D};
//# sourceMappingURL=deenovaDetailComponent-it2_DSSy.js.map
