| 1 |
import{a as u,g as p,i as y,H as g,j as h,_ as m,f as C,bI as L,b1 as b}from"./main-762.js";import{F as s}from"./bf-850-326.js";import{S}from"./bf-111-180.js";import"./bf-685-46.js";function j(){const{css:a}=u(),{fieldKey:e}=p(),[o,l]=y(b);if(!e)return null;const t=g(o[e]),r=t.adminLbl||"",{hideCountryList:d}=t.config,c=i=>{t.config.hideCountryList=i;const n=C(o,f=>{f[e]=t});l(n),L({event:`Hide Country List '${String(i||"Off").replace("true","On")}': ${t.lbl||r||e}`,type:"hideCountryList_changed",state:{fields:n,fldKey:e}})};return h.jsx(S,{id:"hide-slctble-opt",tip:"By enabling this option, the country list will be hidden.",className:a(s.fieldSection,s.hover_tip,s.singleOption),title:m("Hide Country List"),action:i=>c(i.target.checked),isChecked:d||!1,isPro:!0,proProperty:"hideCountryList"})}export{j as default}; |