homebirdscomponents
Advanced tools
Comparing version 0.0.20 to 0.0.21
@@ -86,2 +86,3 @@ 'use strict'; | ||
async componentDidLoad() { | ||
console.log('BA-GOOGLE-MAP: Hit componentDidLoad'); | ||
await this.initMap.call(this); | ||
@@ -122,4 +123,6 @@ } | ||
globalThis['googleMapsLoader'] = new Loader(this.apiKey); | ||
console.log('BA-GOOGLE-MAP: new Loader instance created!'); | ||
} | ||
this.google = await globalThis['googleMapsLoader'].load(); | ||
console.log('BA-GOOGLE-MAP: googleMapsLoader loaded!'); | ||
let mapConfigOpts = { | ||
@@ -126,0 +129,0 @@ center: { lat: this.centerLat, lng: this.centerLon }, |
@@ -16,2 +16,3 @@ import { Component, h, Prop, Host, Element, State, Watch, Event } from '@stencil/core'; | ||
async componentDidLoad() { | ||
console.log('BA-GOOGLE-MAP: Hit componentDidLoad'); | ||
await this.initMap.call(this); | ||
@@ -52,4 +53,6 @@ } | ||
globalThis['googleMapsLoader'] = new Loader(this.apiKey); | ||
console.log('BA-GOOGLE-MAP: new Loader instance created!'); | ||
} | ||
this.google = await globalThis['googleMapsLoader'].load(); | ||
console.log('BA-GOOGLE-MAP: googleMapsLoader loaded!'); | ||
let mapConfigOpts = { | ||
@@ -56,0 +59,0 @@ center: { lat: this.centerLat, lng: this.centerLon }, |
@@ -84,2 +84,3 @@ import { createEvent, h, Host, attachShadow, proxyCustomElement } from '@stencil/core/internal/client'; | ||
async componentDidLoad() { | ||
console.log('BA-GOOGLE-MAP: Hit componentDidLoad'); | ||
await this.initMap.call(this); | ||
@@ -120,4 +121,6 @@ } | ||
globalThis['googleMapsLoader'] = new Loader(this.apiKey); | ||
console.log('BA-GOOGLE-MAP: new Loader instance created!'); | ||
} | ||
this.google = await globalThis['googleMapsLoader'].load(); | ||
console.log('BA-GOOGLE-MAP: googleMapsLoader loaded!'); | ||
let mapConfigOpts = { | ||
@@ -124,0 +127,0 @@ center: { lat: this.centerLat, lng: this.centerLon }, |
@@ -82,2 +82,3 @@ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-3fd7cee5.js'; | ||
async componentDidLoad() { | ||
console.log('BA-GOOGLE-MAP: Hit componentDidLoad'); | ||
await this.initMap.call(this); | ||
@@ -118,4 +119,6 @@ } | ||
globalThis['googleMapsLoader'] = new Loader(this.apiKey); | ||
console.log('BA-GOOGLE-MAP: new Loader instance created!'); | ||
} | ||
this.google = await globalThis['googleMapsLoader'].load(); | ||
console.log('BA-GOOGLE-MAP: googleMapsLoader loaded!'); | ||
let mapConfigOpts = { | ||
@@ -122,0 +125,0 @@ center: { lat: this.centerLat, lng: this.centerLon }, |
@@ -1,1 +0,1 @@ | ||
import{p as e,b as a}from"./p-8c4bdf11.js";(()=>{const a=import.meta.url,s={};return""!==a&&(s.resourcesUrl=new URL(".",a).href),e(s)})().then(e=>a([["p-4089d9d8",[[2,"ba-google-map",{apiKey:[1,"api-key"],centerLat:[2,"map-center-lat"],centerLon:[2,"map-center-lon"],zoom:[2,"map-zoom"],mapPins:[16],height:[1,"map-height"],disableControls:[4,"map-disable-controls"],google:[32],map:[32],markers:[32]}]]],["p-36648ade",[[1,"ba-search-input",{value:[1025],suggestions:[16],placeholder:[1],maxResultsShown:[2,"max-results"],searchTerms:[32],fuse:[32],results:[32],suggestionsPaneOpen:[32]},[[0,"blur","handleElementBlur"]]]]],["p-9adcb50d",[[1,"ba-text-input-one",{type:[513],placeholder:[513],value:[1537]}]]]],e)); | ||
import{p as e,b as a}from"./p-8c4bdf11.js";(()=>{const a=import.meta.url,s={};return""!==a&&(s.resourcesUrl=new URL(".",a).href),e(s)})().then(e=>a([["p-4f347378",[[2,"ba-google-map",{apiKey:[1,"api-key"],centerLat:[2,"map-center-lat"],centerLon:[2,"map-center-lon"],zoom:[2,"map-zoom"],mapPins:[16],height:[1,"map-height"],disableControls:[4,"map-disable-controls"],google:[32],map:[32],markers:[32]}]]],["p-36648ade",[[1,"ba-search-input",{value:[1025],suggestions:[16],placeholder:[1],maxResultsShown:[2,"max-results"],searchTerms:[32],fuse:[32],results:[32],suggestionsPaneOpen:[32]},[[0,"blur","handleElementBlur"]]]]],["p-9adcb50d",[[1,"ba-text-input-one",{type:[513],placeholder:[513],value:[1537]}]]]],e)); |
{ | ||
"name": "homebirdscomponents", | ||
"version": "0.0.20", | ||
"version": "0.0.21", | ||
"description": "Stencil Component Starter", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.cjs.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
504167
10656