Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue3-google-map

Package Overview
Dependencies
Maintainers
2
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue3-google-map - npm Package Compare versions

Comparing version 0.14.0 to 0.14.1

6

dist/cjs/index.js

@@ -92,4 +92,4 @@ /*

vue.popScopeId();let _sfc_render=_withId((a,b,c,d,e,g)=>a.hasSlotContent?(vue.openBlock(),vue.createBlock("div",_hoisted_1,[vue.createVNode("div",vue.mergeProps({ref:"customMarkerRef",style:{cursor:a.$attrs.onClick?"pointer":void 0}},a.$attrs),[vue.renderSlot(a.$slots,"default",{},void 0,!0)],16)])):vue.createCommentVNode("v-if",!0));_sfc_main.render=_sfc_render;_sfc_main.__scopeId="data-v-b9d5ec8a";
var HeatmapLayer=vue.defineComponent({name:"HeatmapLayer",props:{options:{type:Object,default:()=>({})}},setup(a){let b=vue.ref(),c=vue.inject(mapSymbol,vue.ref()),d=vue.inject(apiSymbol,vue.ref());vue.watch([c,()=>a.options],([,a],[g,f])=>{var e;g=JSON.stringify(a)!==JSON.stringify(f)||c.value!==g;if(c.value&&d.value&&g){if(a.data&&!(a.data instanceof d.value.MVCArray)){let b=d.value.LatLng;a.data=null===(e=a.data)||void 0===e?void 0:e.map(a=>a instanceof b||"location"in a&&(a.location instanceof
b||null===a.location)?a:"location"in a?{...a,location:new b(a.location)}:new b(a))}b.value?b.value.setOptions(a):b.value=vue.markRaw(new d.value.visualization.HeatmapLayer({...a,map:c.value}))}},{immediate:!0});vue.onBeforeUnmount(()=>{b.value&&b.value.setMap(null)});return b}});exports.Circle=Circle;exports.CustomControl=_sfc_main$2;exports.CustomMarker=_sfc_main;exports.GoogleMap=_sfc_main$3;exports.HeatmapLayer=HeatmapLayer;exports.InfoWindow=_sfc_main$1;exports.Marker=Marker;
exports.MarkerCluster=MarkerCluster;exports.Polygon=Polygon;exports.Polyline=Polyline;exports.Rectangle=Rectangle
var HeatmapLayer=vue.defineComponent({name:"HeatmapLayer",props:{options:{type:Object,default:()=>({})}},setup(a){let b=vue.ref(),c=vue.inject(mapSymbol,vue.ref()),d=vue.inject(apiSymbol,vue.ref());vue.watch([c,()=>a.options],([,a],[g,f])=>{var e;g=JSON.stringify(a)!==JSON.stringify(f)||c.value!==g;if(c.value&&d.value&&g){a=structuredClone(a);if(a.data&&!(a.data instanceof d.value.MVCArray)){let b=d.value.LatLng;a.data=null===(e=a.data)||void 0===e?void 0:e.map(a=>a instanceof b||"location"in a&&
(a.location instanceof b||null===a.location)?a:"location"in a?{...a,location:new b(a.location)}:new b(a))}b.value?b.value.setOptions(a):b.value=vue.markRaw(new d.value.visualization.HeatmapLayer({...a,map:c.value}))}},{immediate:!0});vue.onBeforeUnmount(()=>{b.value&&b.value.setMap(null)});return{heatmapLayer:b}},render:()=>null});exports.Circle=Circle;exports.CustomControl=_sfc_main$2;exports.CustomMarker=_sfc_main;exports.GoogleMap=_sfc_main$3;exports.HeatmapLayer=HeatmapLayer;
exports.InfoWindow=_sfc_main$1;exports.Marker=Marker;exports.MarkerCluster=MarkerCluster;exports.Polygon=Polygon;exports.Polyline=Polyline;exports.Rectangle=Rectangle

@@ -86,3 +86,3 @@ import{defineComponent,ref,provide,watch,onMounted,onBeforeUnmount,markRaw,toRef,pushScopeId,popScopeId,openBlock,createBlock,createVNode,renderSlot,withScopeId,inject,computed,Fragment,createCommentVNode,withDirectives,vShow,Comment,mergeProps}from'vue';/*

let La=withScopeId("data-v-b9d5ec8a");pushScopeId("data-v-b9d5ec8a");let Ma={key:0,class:"custom-marker-wrapper"};popScopeId();let Na=La(a=>a.hasSlotContent?(openBlock(),createBlock("div",Ma,[createVNode("div",mergeProps({ref:"customMarkerRef",style:{cursor:a.$attrs.onClick?"pointer":void 0}},a.$attrs),[renderSlot(a.$slots,"default",{},void 0,!0)],16)])):createCommentVNode("v-if",!0));Z.render=Na;Z.__scopeId="data-v-b9d5ec8a";
var Oa=defineComponent({name:"HeatmapLayer",props:{options:{type:Object,default:()=>({})}},setup(a){let b=ref(),c=inject(t,ref()),d=inject(u,ref());watch([c,()=>a.options],([,a],[g,f])=>{var e;g=JSON.stringify(a)!==JSON.stringify(f)||c.value!==g;if(c.value&&d.value&&g){if(a.data&&!(a.data instanceof d.value.MVCArray)){let b=d.value.LatLng;a.data=null===(e=a.data)||void 0===e?void 0:e.map(a=>a instanceof b||"location"in a&&(a.location instanceof b||null===a.location)?a:"location"in a?{...a,location:new b(a.location)}:
new b(a))}b.value?b.value.setOptions(a):b.value=markRaw(new d.value.visualization.HeatmapLayer({...a,map:c.value}))}},{immediate:!0});onBeforeUnmount(()=>{b.value&&b.value.setMap(null)});return b}});export{ka as Circle,L as CustomControl,Z as CustomMarker,F as GoogleMap,Oa as HeatmapLayer,N as InfoWindow,fa as Marker,Ka as MarkerCluster,ia as Polygon,ha as Polyline,ja as Rectangle}
var Oa=defineComponent({name:"HeatmapLayer",props:{options:{type:Object,default:()=>({})}},setup(a){let b=ref(),c=inject(t,ref()),d=inject(u,ref());watch([c,()=>a.options],([,a],[g,f])=>{var e;g=JSON.stringify(a)!==JSON.stringify(f)||c.value!==g;if(c.value&&d.value&&g){a=structuredClone(a);if(a.data&&!(a.data instanceof d.value.MVCArray)){let b=d.value.LatLng;a.data=null===(e=a.data)||void 0===e?void 0:e.map(a=>a instanceof b||"location"in a&&(a.location instanceof b||null===a.location)?a:"location"in
a?{...a,location:new b(a.location)}:new b(a))}b.value?b.value.setOptions(a):b.value=markRaw(new d.value.visualization.HeatmapLayer({...a,map:c.value}))}},{immediate:!0});onBeforeUnmount(()=>{b.value&&b.value.setMap(null)});return{heatmapLayer:b}},render:()=>null});export{ka as Circle,L as CustomControl,Z as CustomMarker,F as GoogleMap,Oa as HeatmapLayer,N as InfoWindow,fa as Marker,Ka as MarkerCluster,ia as Polygon,ha as Polyline,ja as Rectangle}

@@ -14,3 +14,5 @@ /// <reference types="google.maps" />

};
}, import("vue").Ref<google.maps.visualization.HeatmapLayer | undefined>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
}, {
heatmapLayer: import("vue").Ref<google.maps.visualization.HeatmapLayer | undefined>;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
options: ExtendedHeatmapLayerOptions;

@@ -17,0 +19,0 @@ } & {}>, {

{
"name": "vue3-google-map",
"version": "0.14.0",
"version": "0.14.1",
"license": "MIT",

@@ -90,3 +90,3 @@ "repository": {

"ttypescript": "^1.5.12",
"typescript": "^4.6.4",
"typescript": "^4.8.2",
"typescript-transform-paths": "^2.2.4",

@@ -93,0 +93,0 @@ "vite": "^2.3.4",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc