import{_ as p,ag as d,a as u,Y as h,d as _,e as m,j as S,ay as f,cl as v}from"#entry";const g={class:"simple-search"},y={__name:"SiteSearchBlock",props:{data:{type:Object,required:!0,validator(e){return["name"].every(t=>t in e)}},settings:{type:Object,required:!0,validator(e){return["restrictToSection"].every(t=>t in e)}}},setup(e){const t=d("page"),{$ss:o}=u(),c=e,r=`Search ${c.settings?.restrictToSection?c.data.name:o.tenantInfo.name}...`,s=h(null);function i(a){s.value=a}function n(){const a=c.settings?.restrictToSection?`"${encodeURIComponent(t.pageData.fullName)}"`:"";window.location=`/search?sort=score&filters={"text":"${encodeURIComponent(s.value)}","type":{"value":[]},"websiteSchedule":{"value":[${a}]},"page":1}`}return(a,b)=>{const l=v;return m(),_("div",g,[S(l,{placeholder:r,onUpdate:i,onKeyup:f(n,["enter"]),onSearch:n})])}}},$=p(y,[["__scopeId","data-v-89d2a0bc"]]);export{$ as default};

AltStyle によって変換されたページ (->オリジナル) /