1import{n as p}from"./primevue-ca313794.js";import{_ as m,al as y}from"./index-cc1a661b.js";import d from"./MapSearch-f4648451.js";import{h as n,d as h,e as _,s,x as f,F as v}from"./vendor-ea0043bb.js";import"./mapbox-v3-eadefc84.js";import"./geo-1391ac6a.js";import"./mapbox-addons-be198bf9.js";import"./editor-b65e0429.js";import"./pdf-7415fc80.js";const g={name:"MapSearchControl",components:{MapButton:y,MapSearch:d},props:["standardAttributes","currentProject","active","queryLayers"],data(){return{query:"",active:!1}},methods:{toggle(t){this.$refs.searchOverlay.toggle(t),this.active=this.$refs.searchOverlay.visible}}};function q(t,e,r,M,a,c){const l=n("MapButton"),i=n("MapSearch"),u=p;return h(),_(v,null,[s(l,{id:"mapSearchButton",label:"Search",icon:"/icons/toolbox/search.svg",onAction:c.toggle,size:"small",active:a.active},null,8,["onAction","active"]),s(u,{showCloseIcon:!1,dismissable:!1,ref:"searchOverlay",id:"searchOverlay",appendTo:"self"},{default:f(()=>[s(i,{"standard-attributes":r.standardAttributes,"current-project":r.currentProject,query:a.query,"query-layers":r.queryLayers,onResult:e[0]||(e[0]=o=>t.$emit("result",o)),onQueryChange:e[1]||(e[1]=o=>a.query=o)},null,8,["standard-attributes","current-project","query","query-layers"])]),_:1},512)],64)}const k=m(g,[["render",q]]);export{k as default};
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.