| 1 |
import{g as m,i as g,H as h,a as y,j as l,h as x,_ as F,f as b,bI as w,b1 as j}from"./main-96.js";import{F as a}from"./bf-460-326.js";import{S as _}from"./bf-283-176.js";import"./bf-781-46.js";import"./bf-687-180.js";import"./bf-551-68.js";import"./bf-200-43.js";import"./bf-431-60.js";/* empty css */import"./bf-63-62.js";import"./bf-762-63.js";import"./bf-163-182.js";const $={showSelectStatus:"Show Selected Status",fileSelectStatus:"File Select Status"};function I(){const{fieldKey:e}=m(),[o,u]=g(j),s=h(o[e]),{css:i}=y(),{showSelectStatus:c,fileSelectStatus:d}=s.config,n=(t,r)=>{s.config[t]=r;const S=b(o,p=>{p[e]=s});u(S);const f=$[t]||t;w({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:c,className:i(a.fieldSection,a.hover_tip,x.px10),switching:!0,tip:"By enabling this feature, you will see file select status",tipProps:{width:200,icnSize:17},disable:!c,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{I as default}; |