PageSourceSearch

https://www.annecy.fr/_nuxt/Bb4sgJuD.js

js annecy.fr collected 2026-09-24 18:04:26 UTC 2,950 bytes, 1 lines download raw bytes

1import{_ as k}from"./oGv5jZux.js";import{_ as w}from"./CLUxM0TZ.js";import{_ as B}from"./BZjtH595.js";import{_ as E}from"./CO8iPZ9U.js";import{_ as O}from"./DSQZkUpH.js";import{d as x,n as L,j as i,g as o,q as l,e as g,p as a,c as e,f as M,T as I,S as N,h as P,r as b}from"./DH2Hu-AX.js";import{u as _}from"./keO5NjI6.js";const V={id:"moteur",class:"top_moteur_fields is_horizontal grid-x align-middle"},A={class:"ligne_form btn_submit grid-x align-middle"},D={class:"ligne_form btn_submit grid-x align-middle"},K=x({__name:"InteractiveMapFilters",props:{elements:{default:[]},moreElements:{default:[]},settings:{},pending:{type:Boolean,default:!1}},emits:["onSubmit"],setup(t,{expose:h,emit:v}){const{modifyFiltersForPopin:S}=_(),m=t,T=v,s=b(),p=b(),c=l(()=>s.value?.values),F=async n=>{T("onSubmit",n)},y=l(()=>S([...m.elements,...m.moreElements],{Multiselect:"Multicheckbox"})),r=l(()=>_().activeFilterCount(c.value));return h({values:c,activeFilterCount:r}),(n,d)=>{const f=k,C=w,u=B,$=E,R=O;return g(),L("div",V,[i(R,{ref_key:"formRef",ref:s,elements:t.elements,"more-elements":t.moreElements,i18n:{submitButton:"Filtrer",sendingLabel:"En cours",resetButton:"Réinitialiser",serverSuccess:"The form was sent, thank you.",serverError:"We can not process form right now, please try again later.",validationErrors:"There were some errors, review the form"},pending:t.pending,settings:t.settings,"is-interactive-map":!0,onSubmit:F},{fields:o(()=>[i(f,{elements:t.elements,"label-custom-class":"show-for-sr",componentCustomClass:"shrink",legend:"Filtrer",legendSr:!0},null,8,["elements"]),t.moreElements?(g(),M($,{key:0,ref_key:"popinFiltersRef",ref:p,popinId:"filters",popinClasses:"",popinTitle:n.$t("search.filters.popin.popinTitle"),popinTitleSr:!1,popinAriaLabel:n.$t("search.filters.popin.ariaLabel"),popinFull:!1,btnCloseTxt:n.$t("search.filters.popin.btnClose"),triggerId:"btn_filters",triggerClasses:["filters",e(r)!==0?"active_filters":null],triggerTitle:n.$t("search.filters.popin.btnTitle"),triggerTxt:n.$t("search.filters.popin.btnText"),"force-mount":!0,modal:e(p)?.opened},{trigger:o(()=>[i(C,{value:e(r).toString()},null,8,["value"])]),content:o(()=>[a("form",{novalidate:"",onSubmit:d[0]||(d[0]=N(()=>{},["prevent"]))},[i(f,{elements:e(y),legend:n.$t("search.filters.popin.popinTitle"),legendSr:!0},null,8,["elements","legend"]),I(n.$slots,"cta",{},()=>[a("div",A,[i(u,{pending:t.pending,"is-dirty":e(s)?.isDirty,onOnSubmit:e(s)?.onSubmit,onOnReset:e(s)?.onReset},null,8,["pending","is-dirty","onOnSubmit","onOnReset"])])])],32)]),_:3},8,["popinTitle","popinAriaLabel","btnCloseTxt","triggerClasses","triggerTitle","triggerTxt","modal"])):P("",!0)]),cta:o(()=>[a("div",D,[i(u,{class:"show-on-focus",pending:t.pending,"is-dirty":e(s)?.isDirty,onOnSubmit:e(s)?.onSubmit,onOnReset:e(s)?.onReset},null,8,["pending","is-dirty","onOnSubmit","onOnReset"])])]),_:3},8,["elements","more-elements","pending","settings"])])}}});export{K as _};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.