@cortezaproject/corteza-vue 2024.9.4-dev.2 → 2024.9.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -20743,18 +20743,18 @@ const __vue_script__$c = script$c;
20743
20743
  var __vue_render__$c = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"position-relative"},[(!_vm.hideGeoSearch)?_c('div',{staticClass:"geosearch-container",on:{"mouseover":_vm.disableMap,"mouseleave":_vm.enableMap}},[_c('c-input-search',{attrs:{"placeholder":_vm.labels.geosearchInputPlaceholder,"autocomplete":'off',"debounce":300},on:{"input":_vm.onGeoSearch},model:{value:(_vm.geoSearch.query),callback:function ($$v) {_vm.$set(_vm.geoSearch, "query", $$v);},expression:"geoSearch.query"}}),_vm._v(" "),_c('div',{staticClass:"geosearch-results"},_vm._l((_vm.geoSearch.results),function(result,idx){return _c('div',{key:idx,staticClass:"geosearch-result",on:{"click":function($event){return _vm.placeGeoSearchMarker(result)}}},[_vm._v("\n "+_vm._s(result.label)+"\n ")])}),0)],1):_vm._e(),_vm._v(" "),_c('l-map',{ref:"map",staticClass:"w-100 h-100",attrs:{"zoom":_vm.mapOptions.zoom,"center":_vm.mapOptions.center,"min-zoom":_vm.mapOptions.minZoom,"max-zoom":_vm.mapOptions.maxZoom,"bounds":_vm.mapOptions.bounds,"max-bounds":_vm.mapOptions.maxBounds},on:{"click":_vm.onMapClick,"locationfound":_vm.onLocationFound,"update:zoom":_vm.onZoom,"update:center":_vm.onCenter,"update:bounds":_vm.onBoundsUpdate}},[_c('l-tile-layer',{attrs:{"url":"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png","attribution":_vm.mapOptions.attribution}}),_vm._v(" "),_vm._l((_vm.polygons),function(geometry,i){return _c('l-polygon',{key:("polygon-" + i),attrs:{"lat-lngs":geometry.map(function (value) { return value.geometry; }),"color":(geometry.find(function (g) { return g; }) || {}).color}})}),_vm._v(" "),_vm._l((_vm.markerValues),function(marker,i){return _c('l-marker',{key:("marker-" + i),attrs:{"lat-lng":marker.value,"icon":_vm.getIcon(marker.color),"opacity":marker.opacity || 1.0},on:{"click":function($event){return _vm.onMarkerClick(i, marker)}}},[(_vm.$scopedSlots['marker-tooltip'])?_c('l-tooltip',{attrs:{"options":{
20744
20744
  offset: [-1, 5],
20745
20745
  direction: 'bottom',
20746
- }}},[_vm._t("marker-tooltip",null,{"marker":marker})],2):_vm._e()],1)}),_vm._v(" "),_c('l-control',{staticClass:"leaflet-bar"},[(!_vm.hideCurrentLocationButton)?_c('a',{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.noninteractive.hover",value:({ title: _vm.labels.tooltip && _vm.labels.tooltip.goToCurrentLocation, container: '#body' }),expression:"{ title: labels.tooltip && labels.tooltip.goToCurrentLocation, container: '#body' }",modifiers:{"noninteractive":true,"hover":true}}],staticClass:"d-flex justify-content-center align-items-center",attrs:{"role":"button"},on:{"click":_vm.goToCurrentLocation}},[_c('font-awesome-icon',{attrs:{"icon":['fas', 'location-arrow']}})],1):_vm._e()])],2)],1)};
20746
+ }}},[_vm._t("marker-tooltip",null,{"marker":marker})],2):_vm._e()],1)}),_vm._v(" "),_c('l-control',{staticClass:"leaflet-bar"},[(!_vm.hideCurrentLocationButton)?_c('a',{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.noninteractive.hover",value:({ title: _vm.labels.tooltip && _vm.labels.tooltip.goToCurrentLocation, container: '#body' }),expression:"{ title: labels.tooltip && labels.tooltip.goToCurrentLocation, container: '#body' }",modifiers:{"noninteractive":true,"hover":true}}],staticClass:"d-flex justify-content-center align-items-center",attrs:{"role":"button"},on:{"click":_vm.goToCurrentLocation}},[_c('font-awesome-icon',{attrs:{"icon":['fas', 'location-crosshairs']}})],1):_vm._e()])],2)],1)};
20747
20747
  var __vue_staticRenderFns__$c = [];
20748
20748
 
20749
20749
  /* style */
20750
20750
  const __vue_inject_styles__$c = function (inject) {
20751
20751
  if (!inject) return
20752
- inject("data-v-b76b2c5c_0", { source: ".leaflet-touch .leaflet-bar{border:1px solid transparent;border-radius:.3rem}.leaflet-bar a{background-color:var(--white)!important;color:var(--primary)!important;text-decoration:none!important}.leaflet-bar a:hover{background-color:var(--white)!important;transition:background-color .15s ease}.geosearch-result:hover{background-color:var(--light)!important;color:var(--black)}.geosearch-result:active{color:var(--white)!important;background-color:var(--primary)!important}", map: undefined, media: undefined })
20753
- ,inject("data-v-b76b2c5c_1", { source: ".geosearch-container[data-v-b76b2c5c]{position:absolute;display:block;height:auto;width:50%;max-width:400px;cursor:auto;z-index:10000;left:25%;top:10px}.geosearch-results[data-v-b76b2c5c]{margin:1px;border-radius:2px;background-color:var(--white);max-height:50%;overflow:auto}.geosearch-result[data-v-b76b2c5c]{border-radius:2px;line-height:32px;padding:0 8px;font-size:12px;white-space:nowrap}.geosearch-result[data-v-b76b2c5c]:hover{background-color:var(--gray-200);cursor:pointer}", map: undefined, media: undefined });
20752
+ inject("data-v-79fb7c90_0", { source: ".leaflet-touch .leaflet-bar{border:1px solid transparent;border-radius:.3rem}.leaflet-bar a{background-color:var(--white)!important;color:var(--primary)!important;text-decoration:none!important}.leaflet-bar a:hover{background-color:var(--white)!important;transition:background-color .15s ease}.geosearch-result:hover{background-color:var(--light)!important;color:var(--black)}.geosearch-result:active{color:var(--white)!important;background-color:var(--primary)!important}", map: undefined, media: undefined })
20753
+ ,inject("data-v-79fb7c90_1", { source: ".geosearch-container[data-v-79fb7c90]{position:absolute;display:block;height:auto;width:50%;max-width:400px;cursor:auto;z-index:10000;left:25%;top:10px}.geosearch-results[data-v-79fb7c90]{margin:1px;border-radius:2px;background-color:var(--white);max-height:50%;overflow:auto}.geosearch-result[data-v-79fb7c90]{border-radius:2px;line-height:32px;padding:0 8px;font-size:12px;white-space:nowrap}.geosearch-result[data-v-79fb7c90]:hover{background-color:var(--gray-200);cursor:pointer}", map: undefined, media: undefined });
20754
20754
 
20755
20755
  };
20756
20756
  /* scoped */
20757
- const __vue_scope_id__$c = "data-v-b76b2c5c";
20757
+ const __vue_scope_id__$c = "data-v-79fb7c90";
20758
20758
  /* module identifier */
20759
20759
  const __vue_module_identifier__$c = undefined;
20760
20760
  /* functional template */