From 859ec01e36d91794826de6564e06473699379d0e Mon Sep 17 00:00:00 2001 From: volterra79 Date: Wed, 11 Oct 2023 10:53:51 +0200 Subject: [PATCH] :sparkles: Client: g3w-client:https://github.com/g3w-suite/g3w-client/releases/tag/v3.8.11 --- README.md | 8 ++++---- g3w-admin/client/static/client/js/app.min.js | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 1e8f4dc19..007d1c8b1 100644 --- a/README.md +++ b/README.md @@ -16,15 +16,15 @@ Software releases follow theese main branches as described in the compatibility | Branch | Python | Django | QGIS | [client] | First release | Status | |------------|----------------|----------------|---------------|----------|---------------|----------------| | [dev] | 3.10 | 3.2 | 3.28 | dev | Unreleased | ⚠️️ Unstable | -| [v.3.6.x] | 3.10 | 3.2 | 3.28 | 3.8.10 | August 2023 | 🪲️ Bug fixing | +| [v.3.6.x] | 3.10 | 3.2 | 3.28 | 3.8.11 | October 2023 | 🪲️ Bug fixing | | [v.3.5.x] | 3.10 | 2.2 | 3.22 | 3.7 | Nov 2022 | 🪲️ Bug fixing | | [v.3.4.x] | 3.8 | 2.2 | 3.22 | 3.4 | Mar 2022 | 🚨 End of Life | | [v.3.3.x] | 3.6 | 2.2 | 3.16 | 3.3 | Sep 2021 | 🚨 End of Life | | [v.3.2.x] | 3.6 | 2.2 | 3.16 | 3.2 | Apr 2021 | 🚨 End of Life | | [v.3.1.x] | 3.6 | 2.2 | 3.10 | 3.1 | Nov 2020 | 🚨 End of Life | -| [v.3.0.x] | 3.6 | 2.2 | 3.10 | 3.0 | Nov 2020 | 🚨 End of Life | -| [dj22-py3] | 3.6 | 2.2 | [🔗] | | | 🚨 End of Life | -| [py2] | 2.7 | 1.11 | [🔗] | | | 🚨 End of Life | +| [v.3.0.x] | 3.6 | 2.2 | 3.10 | 3.0 | Nov 2020 | 🚨 End of Life | +| [dj22-py3] | 3.6 | 2.2 | [🔗] | | | 🚨 End of Life | +| [py2] | 2.7 | 1.11 | [🔗] | | | 🚨 End of Life | [dev]: https://github.com/g3w-suite/g3w-admin/tree/dev [v.3.6.x]: https://github.com/g3w-suite/g3w-admin/tree/v.3.6.x diff --git a/g3w-admin/client/static/client/js/app.min.js b/g3w-admin/client/static/client/js/app.min.js index 0c0aae878..bdc131d00 100644 --- a/g3w-admin/client/static/client/js/app.min.js +++ b/g3w-admin/client/static/client/js/app.min.js @@ -1,2 +1,2 @@ -!function n(i,a,o){function s(t,e){if(!a[t]){if(!i[t]){var r="function"==typeof require&&require;if(!e&&r)return r(t,!0);if(l)return l(t,!0);throw(e=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",e}r=a[t]={exports:{}},i[t][0].call(r.exports,function(e){return s(i[t][1][e]||e)},r,r.exports,n,i,a,o)}return a[t].exports}for(var l="function"==typeof require&&require,e=0;e=",lte:"<=",NOT:"!=",eq:"=",gt:">",lt:"<",IN:"IN","NOT IN":"NOT IN",LIKE:"LIKE",ILIKE:"ILIKE",AND:"AND",OR:"OR"}),n=r.FILTER_EXPRESSION_OPERATORS=n({lte:"<=",ltgt:"!=",ilike:"ILIKE",like:"LIKE"},o),s=r.GEOMETRY_FIELDS=["geometryProperty","boundedBy","geom","the_geom","geometry","bbox","GEOMETRY","geoemtria","geometria"],l=r.GEOMETRY_TYPES={POINT:"Point",POINTZ:"PointZ",POINTM:"PointM",POINTZM:"PointZM",POINT25D:"Point25D",MULTIPOINT:"MultiPoint",MULTIPOINTZ:"MultiPointZ",MULTIPOINTM:"MutliPointM",MULTIPOINTZM:"MultiPointZM",MULTIPOINT25D:"MultiPoint25D",LINESTRING:"LineString",LINESTRINGZ:"LineStringZ",LINESTRINGM:"LineStringM",LINESTRINGZM:"LineStringZM",LINESTRING25D:"LineString25D",LINE:"Line",LINEZ:"LineZ",LINEM:"LineM",LINEZM:"LineZM",LINE25D:"Line25D",MULTILINESTRING:"MultiLineString",MULTILINESTRINGZ:"MultiLineStringZ",MULTILINESTRINGM:"MultiLineStringM",MULTILINESTRINGZM:"MultiLineStringZM",MULTILINESTRING25D:"MultiLineString25D",MULTILINE:"MultiLine",MULTILINEZ:"MultiLineZ",MULTILINEM:"MultiLineM",MULTILINEZM:"MultiLineZM",MULTILINE25D:"MultiLine25D",POLYGON:"Polygon",POLYGONZ:"PolygonZ",POLYGONM:"PolygonM",POLYGONZM:"PolygonZM",POLYGON25D:"Polygon25D",MULTIPOLYGON:"MultiPolygon",MULTIPOLYGONZ:"MultiPolygonZ",MULTIPOLYGONM:"MultiPolygonM",MULTIPOLYGONZM:"MultiPolygonZM",MULTIPOLYGON25D:"MultiPolygon25D",GEOMETRYCOLLECTION:"GeometryCollection",GEOMETRYCOLLECTIONZ:"GeometryCollectionZ",GEOMETRYCOLLECTIONM:"GeometryCollectionM",GEOMETRYCOLLECTIONZM:"GeometryCollectionZM",GEOMETRYCOLLECTION25D:"GeometryCollection25D"},u=(r.LIST_OF_RELATIONS_TITLE="info.list_of_relations",r.LIST_OF_RELATIONS_ID="__G3W_LIST_OF_RELATIONS_ID__",r.LOCALSTORAGE_EXTERNALWMS_ITEM="externalwms",r.MAP_SETTINGS={ZOOM:{maxScale:1e3},ANIMATION:{duration:2e3},LAYER_POSITIONS:{default:"top",getPositions:function(){return["top","bottom"]}}}),c=r.PRINT_FORMATS=[{value:"pdf",label:"PDF"},{value:"png",label:"PNG"}],d=r.PRINT_RESOLUTIONS=[150,300],p=r.PRINT_SCALES=[{value:100,label:"1:100"},{value:200,label:"1:200"},{value:500,label:"1:500"},{value:1e3,label:"1:1.000"},{value:2e3,label:"1:2.000"},{value:2500,label:"1:2.500"},{value:5e3,label:"1:5.000"},{value:1e4,label:"1:10.000"},{value:2e4,label:"1:20.000"},{value:25e3,label:"1:25.000"},{value:5e4,label:"1:50.000"},{value:1e5,label:"1:100.000"},{value:25e4,label:"1:250.000"},{value:5e5,label:"1:500.000"},{value:1e6,label:"1:1.000.000"},{value:25e5,label:"1:2.500.000"},{value:5e6,label:"1:5.000.000"},{value:1e7,label:"1:10.000.000"},{value:2e7,label:"1:20.000.000"},{value:5e7,label:"1:50.000.000"},{value:1e8,label:"1:100.000.000"},{value:25e7,label:"1:250.000.000"},{value:5e8,label:"1:500.000.000"}],f=r.QUERY_POINT_TOLERANCE={unit:"pixel",value:10},h=(r.SEARCH_ALLVALUE="__G3W_ALL__",r.SEARCH_RETURN_TYPES=["data","search"]),g=(r.TIMEOUT=6e4,r.TOC_LAYERS_INIT_STATUS="not_collapsed",r.TOC_THEMES_INIT_STATUS="collapsed",r.VIEWPORT={resize:{map:{min:200},content:{min:200}}}),v=r.ZINDEXES={usermessage:{tool:2}},m=r.API_BASE_URLS={ABOUT:{macrogroups:"/about/api/macrogroup/",nomacrogoups:"/about/api/group/nomacrogroup/",projects:"/about/api/group/__G3W_GROUP_ID__/projects/",group:"/about/api/group/"},CRS:"/crs/"},y=r.FONT_AWESOME_ICONS={"change-map":"fas fa-map-signs",map:"far fa-map",file:"fas fa-file-code",marker:"fas fa-map-marker-alt",relation:"fas fa-sitemap",tools:"fas fa-cogs",tool:"fas fa-cog",search:"fas fa-search",print:"fas fa-print",info:"fas fa-info-circle","info-circle":"fas fa-info-circle",globe:"fas fa-globe",mail:"fas fa-envelope",mobile:"fas fa-mobile",fax:"fas fa-fax",user:"fas fa-user",bars:"fas fa-bars",uncheck:"far fa-square",check:"far fa-check-square",filluncheck:"fas fa-square",table:"fas fa-table",trash:"fas fa-trash","trash-o":"far fa-trash-alt",pencil:"fas fa-pencil-alt","ellips-h":"fas fa-ellipsis-h","ellips-v":"fas fa-ellipsis-v","arrow-up":"fas fa-chevron-up","arrow-down":"fas fa-chevron-down","arrow-left":"fas fa-chevron-left","arrow-right":"fas fa-chevron-right","resize-h":"fas fa-arrows-alt-h","resize-v":"fas fa-arrows-alt-v","resize-default":"fas fa-compress","caret-up":"fas fa-caret-up","caret-down":"fas fa-caret-down","caret-left":"fas fa-caret-left","caret-right":"fas fa-caret-right","empty-circle":"far fa-circle","cloud-upload":"fas fa-cloud-upload-alt",spinner:"fas fa-spinner",minus:"fas fa-minus","minus-square":"far fa-minus-square",plus:"fas fa-plus","plus-circle":"fas fa-plus-circle","plus-square":"far fa-plus-square",grid:"fas fa-th",home:"fas fa-home",folder:"fas fa-folder","sign-out":"fas fa-sign-out-alt",close:"fas fa-times",time:"far fa-clock",calendar:"fas fa-calendar-alt",list:"fas fa-list-alt",link:"fas fa-link",unlink:"fas fa-unlink",eye:"far fa-eye","eye-close":"far fa-eye-slash",save:"far fa-save",pdf:"fas fa-file-pdf",image:"far fa-image",video:"far fa-file-video",unknow:"far fa-question-circle",zip:"far fa-file-archive",text:"far fa-file-alt",excel:"far fa-file-excel",xls:"far fa-file-excel",gpx:"fas fa-location-arrow",gpkg:"fas fa-box-open",shapefile:"fas fa-file-archive",csv:"fas fa-file-csv",geotiff:"fas fa-th",ppt:"far fa-file-powerpoint",circle:"fas fa-circle",calculator:"fas fa-calculator",picture:"far fa-image",keyboard:"far fa-keyboard","file-download":"fas fa-file-download",copy:"far fa-copy",draw:"fas fa-draw-polygon",chart:"fas fa-chart-bar","chart-line":"fas fa-chart-line","chart-area":"fas fa-chart-area","chart-pie":"fas fa-chart-pie",run:"fas fa-play",warning:"fas fa-exclamation-circle",alert:"fas fa-exclamation-triangle",crosshairs:"fas fa-crosshairs",success:"far fa-check-circle",back:"fas fa-chevron-circle-left","file-upload":"fas fa-file-upload",wifi:"fas fa-wifi",mouse:"fas fa-mouse","copy-paste":"far fa-copy","vector-square":"fas fa-vector-square",download:"fas fa-download",credits:"fas fa-euro-sign",filter:"fas fa-filter",plugin:"fas fa-plug",invert:"fas fa-exchange-alt",clear:"fas fa-broom",palette:"fas fa-palette",layers:"fas fa-layer-group","sign-in":"fas fa-sign-in-alt",language:"fas fa-language",target:"fas fa-bullseye",pin:"fas fa-map-pin",square:"far fa-square",move:"fas fa-arrows-alt",moon:"fas fa-moon",sun:"fas fa-sun",refresh:"fas fa-sync-alt",pause:"fas fa-pause","step-backward":"fas fa-step-backward","fast-backward":"fas fa-fast-backward","step-forward":"fas fa-step-forward","fast-forward":"fas fa-fast-forward",crop:"fas fa-crop-alt",exit:"fas fa-door-open",slider:"fas fa-sliders-h",bookmark:"fas fa-bookmark",reply:"fas fa-reply",share:"fas fa-share"},_=r.LOCAL_ITEM_IDS={MESSAGES:{id:"MESSAGES",value:{}},SPATIALBOOKMARKS:{id:"SPATIALBOOKMARKS",value:{}}};r.LOGO_GIS3W="images/logo_gis3w_156_85.png";r.default={APP_VERSION:e,API_BASE_URLS:m,DEFAULT_EDITING_CAPABILITIES:i,DOWNLOAD_FORMATS:a,FILTER_OPERATORS:o,FILTER_EXPRESSION_OPERATORS:n,FONT_AWESOME_ICONS:y,G3W_FID:"g3w_fid",GEOMETRY_FIELDS:s,GEOMETRY_TYPES:l,LIST_OF_RELATIONS_TITLE:"info.list_of_relations",LIST_OF_RELATIONS_ID:"__G3W_LIST_OF_RELATIONS_ID__",LOCAL_ITEM_IDS:_,LOCALSTORAGE_EXTERNALWMS_ITEM:"externalwms",LOGO_GIS3W:"images/logo_gis3w_156_85.png",MAP_SETTINGS:u,PRINT_FORMATS:c,PRINT_RESOLUTIONS:d,PRINT_SCALES:p,QUERY_POINT_TOLERANCE:f,SEARCH_ALLVALUE:"__G3W_ALL__",SEARCH_RETURN_TYPES:h,TIMEOUT:6e4,TOC_LAYERS_INIT_STATUS:"not_collapsed",TOC_THEMES_INIT_STATUS:"collapsed",VIEWPORT:g,ZINDEXES:v}},{"../version":381}],5:[function(e,t,r){var n=a(e("store/projects")),i=a(e("services/gui"));function a(e){return e&&e.__esModule?e:{default:e}}function o(e){return function(){var s=e.apply(this,arguments);return new Promise(function(a,o){return function t(e,r){try{var n=s[e](r),i=n.value}catch(e){return void o(e)}if(!n.done)return Promise.resolve(i).then(function(e){t("next",e)},function(e){t("throw",e)});a(i)}("next")})}}var s=e("core/utils/utils").resolve;function l(){var t=this;n.default.onbefore("setCurrentProject",function(e){return t.project=e}),this.project=n.default.getCurrentProject()}var u,e=l.prototype;e.handleRequest=function(e){},e.handleResponse=(u=o(regeneratorRuntime.mark(function e(t){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}},e,this)})),function(e){return u.apply(this,arguments)}),e.getSelectedExternalLayers=function(e){e=e.type,e=void 0===e?"vector":e;return i.default.getService("catalog").getExternalSelectedLayers({type:e})},e.getEmptyRequest=function(){return s([])},e.hasExternalLayerSelected=function(e){e=e.type;return 0t){r=n;break}i.id===t&&(r=-1);break}-1e,this.state.undo},n.canRedo=function(){return this.state.redo=this.getLastState()&&this.getLastState().id!=this._current||_.isNull(this._current)&&0=this.state.maxscale&&e<=this.state.minscale)},e.getStyles=function(){return(this.config.source.external?this.config.source:this.config).styles},e.getStyle=function(){return this.config.source.external?this.config.source.styles:this.config.styles?this.config.styles.find(function(e){return e.current}).name:""},e.getOpacity=function(){return this.state.opacity},e.setCurrentStyle=function(t){var r=!1;return this.config.styles.forEach(function(e){e.name===t&&(r=!e.current),e.current=e.name===t}),r},e.getCurrentStyle=function(){return this.config.styles.find(function(e){return e.current})},e.setDisabled=function(e){if(this.state.scalebasedvisibility){for(var t=s(e,1=this.state.maxscale&&t<=this.state.minscale),this.state.disabled=0===this.state.minscale?!(t>=this.state.maxscale):this.state.disabled,!0),n=this.state.parentGroup;n;)r=r&&n.checked,n=n.parentGroup;r&&this.setVisible(!this.state.disabled),this.isFilterable()&&this.setTocHighlightable(!this.state.disabled)}else this.state.disabled=!1},e.getMultiLayerId=function(){return this.config.multilayerid},e.getGeometryType=function(){return this.config.geometrytype},e.getOwsMethod=function(){return this.config.ows_method},e.setProjection=function(){this.config.projection=o.get(0\n \n ',data:function(){return{errorrows:p}}}},autoclose:!1}),t=new ol.layer.Vector({source:new ol.source.Vector({features:d}),name:g,_fields:o,id:S()}),b&&t.setStyle(b),e.abrupt("break",50);case 28:return r=new Promise(function(){var r=x(regeneratorRuntime.mark(function e(t,r){var n,i;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=new JSZip,e.next=3,_.arrayBuffer(_);case 3:i=e.sent,n.load(i),i=n.file(/.kml$/i),(i=i[i.length-1])?(_=i.asText(),t(a(new ol.format.KML({extractStyles:!1}),_,"EPSG:4326"))):r();case 8:case"end":return e.stop()}},e,f)}));return function(e,t){return r.apply(this,arguments)}}()),e.prev=29,e.next=32,r;case 32:return e.abrupt("return",e.sent);case 35:return e.prev=35,e.t1=e.catch(29),e.abrupt("return",Promise.reject());case 38:return e.abrupt("break",50);case 39:return n=new Promise(function(){var r=x(regeneratorRuntime.mark(function e(t,r){var n;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,_.arrayBuffer(_);case 2:n=e.sent,shp(n).then(function(e){e=JSON.stringify(e);i=new ol.format.GeoJSON({}),t(a(i,e,"EPSG:4326"))}).catch(function(e){return r(e)});case 4:case"end":return e.stop()}},e,f)}));return function(e,t){return r.apply(this,arguments)}}()),e.prev=40,e.next=43,n;case 43:return e.abrupt("return",e.sent);case 46:return e.prev=46,e.t2=e.catch(40),e.abrupt("return",Promise.reject());case 49:return e.abrupt("break",50);case 50:return e.abrupt("return",t);case 51:case"end":return e.stop()}},e,this,[[29,35],[40,46]])})),function(){return u.apply(this,arguments)}),createStyleFunctionToVectorLayer:function(){function e(e,t){var r=a.color,n=a.field,r=r.rgba?"rgba("+r.rgba.r+","+r.rgba.g+","+r.rgba.b+","+r.rgba.a+")":r,i=e.getGeometry().getType(),i=m.getDefaultLayerStyle(i,{color:r});return n&&i.setText(new ol.style.Text({text:""+e.get(n),font:"bold",scale:2,offsetY:15,fill:new ol.style.Fill({color:r}),stroke:new ol.style.Stroke({color:"#FFFFFF",width:2})})),i}var a=0\n
\n \n \n
\n
\n \n \n
\n '}},title:"Scelgli il tipo di operazione"};n.default.showUserMessage({type:"tool",message:e.message,size:e.size||"small",title:e.title||"",hooks:e.hooks})}}},{"services/gui":361}],66:[function(s,e,t){var a=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e)){var r=t,n=[],i=!0,t=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(i=(o=s.next()).done)&&(n.push(o.value),!r||n.length!==r);i=!0);}catch(e){t=!0,a=e}finally{try{!i&&s.return&&s.return()}finally{if(t)throw a}}return n}throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=Object.assign||function(e){for(var t=1;t"),r="nautical"===t?this.transformMeterArea(i,t)+"  nmi²":1e62":(Math.round(100*i)/100).toFixed(3)+" m2",r=a?"Area: "+r+'
'+a:r},formatMeasure:function(){var t,e=0>2,i=(3&t)<<4|(t=e.charCodeAt(l++))>>4,o=(15&t)<<2|(r=e.charCodeAt(l++))>>6,s=63&r,isNaN(t)?o=s=64:isNaN(r)&&(s=64),a=a+this._keyStr.charAt(n)+this._keyStr.charAt(i)+this._keyStr.charAt(o)+this._keyStr.charAt(s);return a},decode:function(e){var t,r,n,i,a,o,s="",l=0;for(e=e.replace(/[^A-Za-z0-9+/=]/g,"");l>2,r=(3&a)<<6|(o=this._keyStr.indexOf(e.charAt(l++))),s+=String.fromCharCode(n<<2|i>>4),64!=a&&(s+=String.fromCharCode(t)),64!=o&&(s+=String.fromCharCode(r));return s=u._utf8_decode(s)},_utf8_encode:function(e){e=e.replace(/rn/g,"n");for(var t="",r=0;r>6|192))+String.fromCharCode(63&n|128):(t=(t+=String.fromCharCode(n>>12|224))+String.fromCharCode(n>>6&63|128))+String.fromCharCode(63&n|128)}return t},_utf8_decode:function(e){var t,r="",n=0;for(c1=c2=0;n",">")).replace('"',""")},fileDownload:function(){var n,e=0t&&(e=$(this).position().left,r>$(this).outerWidth()&&(t+=r-$(this).outerWidth()),$(this).css("left",t+"px"),t=e,r=$(this).outerWidth())}),$(this.element).hide()},e.setEnable=function(e){$(this.element).find("button").first().toggleClass("g3w-ol-disabled",!e),!e&&this._interaction&&this._interaction.setActive(!1),this._enabled=e},e.getEnable=function(){return this._enabled},e.setVisible=function(){var e=!(0/g,">").replace(/"/g,""").replace(/'/g,"'")},createElement:function(e,t){var r=void 0;if(Array.isArray(e)){if(r=document.createElement(e[0]),e[1].id&&(r.id=e[1].id),e[1].classname&&(r.className=e[1].classname),e[1].attr){var n=e[1].attr;if(Array.isArray(n))for(var i=-1;++i=r.options.autoCompleteMinLength&&r.query(t)},200))},!1),this.reset.addEventListener("click",function(){r.input.focus(),r.input.value="",r.lastQuery="",_.addClass(r.reset,y.hidden),r.clearResults()},!1)},this.query=function(d){var r,p=this;return this.hideMarker(),new Promise((r=u(regeneratorRuntime.mark(function e(t,r){var n,i,a,o,s,l,u,c;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(i=null,a=!(n=function(e){return"Number"===g(e)&&!Number.isNaN(e)}),d){l=d.split(","),l=f(l,3),o=l[0],s=l[1],l=l[2],i=n(+o)&&n(+s)?[+o,+s]:null;try{l&&m.get("EPSG:"+l.trim())&&(i=ol.proj.transform(i,m.get("EPSG:"+l.trim()),"EPSG:4326"),a=!0)}catch(e){}}i?(p.showMarker(i,{transform:a}),t(i),e.next=19):e.next=9;break;case 9:if(p.lastQuery===d&&p.result.firstChild)return e.abrupt("return");e.next=11;break;case 11:return u=[],(c=p.providers.filter(function(e){return e.active})).forEach(function(e){var e=e.getParameters({query:d,lang:p.options.lang,countrycodes:p.options.countrycodes,limit:p.options.limit}),t=e.url,e=e.params;p.lastQuery=d,p.clearResults(),_.addClass(p.reset,y.spin),u.push(v.get({url:t,params:e}))}),e.next=16,Promise.allSettled(u);case 16:e.sent.forEach(function(e,t){var r=e.status,e=e.value;"fulfilled"===r&&(e=(r=c[t].handleResponse(e)).header,r=r.results,c[t].active)&&p.createList({header:e,results:r})}),_.removeClass(p.reset,y.spin);case 19:case"end":return e.stop()}},e,p)})),function(e,t){return r.apply(this,arguments)}))},this.createList=function(){var t,n=this,e=0',r,""].join(""),e=_.createElement("li",e);e.addEventListener("click",function(e){e.preventDefault(),n.chosen(t,r,t.address,t.original)},!1),i.appendChild(e)}):(t=this.options.noresults,r=(new(Vue.extend({functional:!0,render:function(e){return e("li",{class:{"nominatim-noresult":!0},directives:[{name:"t",value:t}]})}}))).$mount().$el,i.appendChild(r))},this.chosen=function(e,t,r,n){e=[parseFloat(e.lon),parseFloat(e.lat)];!1===this.options.keepOpen&&this.clearResults(!0),this.showMarker(e)},this.createHeaderProviderResults=function(){var e='\n
\n '+(0\n
",e=_.createElement("li",e);return e.classList.add("skin-background-color"),e},this.addressTemplate=function(e){var t=[];return e.name&&t.push(['
{name}
'].join("")),(e.road||e.building||e.house_number)&&t.push(['
{building} {road} {house_number}
'].join("")),(e.city||e.town||e.village)&&t.push(['
{postcode} {city} {town} {village}
'].join("")),(e.state||e.country)&&t.push(['
{state} {country}
'].join("")),_.template(t.join("
"),e)},this.expand=function(){var e=this;_.removeClass(this.input,y.spin),_.addClass(this.control,y.glass.expanded),setTimeout(function(){return e.input.focus()},100)},this.collapse=function(){this.input.value="",this.input.blur(),_.addClass(this.reset,y.hidden),this.clearResults()},this.clearResults=function(){_.removeAllChildren(this.result),this.hideMarker()},this.getSource=function(){return this.layer.getSource()},this.addLayer=function(){var t=this,e=this.getMap();e.getLayers().find(function(e){return e===t.layer})||e.addLayer(this.layer)},this.createControl(),p.call(this,{element:this.container,name:"nominatim",offline:!1})}ol.inherits(L,p),t.exports=L},{"./control":79,"core/utils/utils":68,"g3w-ol/projection/projections":111,"services/gui":361,"store/application-state":373}],81:[function(e,t,r){var a=e("g3w-ol/controls/interactioncontrol");function n(){this._layer=new ol.layer.Vector({source:new ol.source.Vector,style:new ol.style.Style({text:new ol.style.Text({offsetY:-15,text:"",font:'900 3em "Font Awesome 5 Free"',fill:new ol.style.Fill({color:"red"})})})}),a.call(this,{visible:!1,offline:!1,name:"geolocation",tipLabel:"sdk.mapcontrols.geolocation.tooltip",label:""})}ol.inherits(n,a);e=n.prototype;e._showMarker=function(e){var t=e.map,r=e.coordinates,e=e.show,e=void 0===e||e;this._layer&&(this._layer.getSource().clear(),e?(t.getView().setCenter(r),e=new ol.Feature({geometry:new ol.geom.Point(r)}),this._layer.getSource().addFeature(e),t.addLayer(this._layer)):t.removeLayer(this._layer))},e.getMap=function(){return a.prototype.getMap.call(this)},e.setMap=function(t){var r=this,n=void 0,i=(a.prototype.setMap.call(this,t),new ol.Geolocation({projection:t.getView().getProjection(),tracking:!0,trackingOptions:{enableHighAccuracy:!0}}));i.on("change:position",function(){var e=i.getPosition();e?(r.isVisible()||(r.setVisible(!0),$(r.element).removeClass("g3w-ol-disabled"),i.dispatchEvent("authorized")),r._showMarker({map:t,coordinates:e,show:r.isToggled()})):r.hideControl()}),i.once("error",function(e){r.hideControl(),r._layer=null,1!==e.code&&r.dispatchEvent("error"),ol.Observable.unByKey(n),n=null}),i.once("authorized",function(){n=r.on("toggled",function(){var e=i.getPosition();r._showMarker({map:t,coordinates:e,show:r.isToggled()})})})},t.exports=n},{"g3w-ol/controls/interactioncontrol":83}],82:[function(e,t,r){var n=Object.assign||function(e){for(var t=1;t\n \n ',watch:{method:function(e){return t.setSpatialMethod(e)}},created:function(){o.default.setCloseUserMessageBeforeSetContent(!1)},beforeDestroy:function(){o.default.setCloseUserMessageBeforeSetContent(!0)}};break;case"custom":this.toggledTool=n}"hover"===e&&this._createToolOnHoverButton()},e._createToolOnHoverButton=function(){var t=this;this._onhover&&(this._toolButton=$(''),$(this.element).prepend(this._toolButton),this._toolButton.on("click",function(e){e.stopPropagation(),t.showToggledTool(!0)}),$(this.element).hover(function(){return t._toggled&&t._toolButton.show()}),$(this.element).mouseleave(function(){return t._toolButton.hide()}))},e.showToggledTool=function(){!(0