import{d as t}from"./chunk-RYV2RH4B.js";var a=(e=>(e.Open="open",e.Draft="draft",e.Restricted="restricted",e.Closed="closed",e.HardLocked="hard_locked",e))(a||{});var i=[{name:"financialPeriods.status_open",id:"open"},{name:"financialPeriods.status_restricted",id:"restricted"},{name:"financialPeriods.status_closed",id:"closed"},{name:"financialPeriods.status_hard_locked",id:"hard_locked"}];function u(o){return[{type:"select",controlName:"status",title:"status",options:i,manualTranslateOption:!0,value:o,validators:[t.required]},{type:"textarea",title:"TELL_REASON",controlName:"reason",validators:[t.required]},{type:"multi-select",controlName:"employee_id",title:"EMPLOYEE_ACCESS",notTakeParentId:!0,dependsOn:"status",dependsValue:"restricted",options:[],optionsUrl:"employees/getAllEmployee",optionName:"full_name"},{type:"media",controlName:"file",title:"UPLOAD_FILE"}]}export{a,i as b,u as c};
