import{g,i as m,aH as h,H as y,a as x,j as l,_ as F,h as w,f as b,bG as j}from"./main-634.js";import{F as a}from"./bf-767-388.js";import{S as _}from"./bf-982-242.js";import"./bf-25-81.js";import"./bf-497-246.js";import"./bf-641-107.js";import"./bf-400-72.js";import"./bf-438-114.js";const $={showSelectStatus:"Show Selected Status",fileSelectStatus:"File Select Status"};function O(){const{fieldKey:e}=g(),[c,u]=m(h),s=y(c[e]),{css:i}=x(),{showSelectStatus:o,fileSelectStatus:d}=s.config,n=(t,r)=>{s.config[t]=r;const S=b(c,p=>{p[e]=s});u(S);const f=$[t]||t;j({event:`${f} '${String(r||"Off").replace("true","On")}': ${s.lbl||e}`,type:`${t}_changed`,state:{fields:S,fldKey:e}})};return l.jsx(_,{id:"fil-slct-stts-stng",title:F("File Select Status"),toggleAction:t=>n("showSelectStatus",t.target.checked),toggleChecked:o,className:i(a.fieldSection,a.hover_tip,w.px10),switching:!0,tip:"By enabling this feature, you will see file select status",tipProps:{width:200,icnSize:17},disable:!o,proProperty:"fileSelectStatus",children:l.jsx("div",{className:i({m:2}),children:l.jsx("input",{"data-testid":"fil-slct-stts-inp",className:i(a.input),type:"text",value:d,onChange:t=>n("fileSelectStatus",t.target.value)})})})}export{O as default};
