Socket
Socket
Sign inDemoInstall

@agm/snazzy-info-window

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@agm/snazzy-info-window - npm Package Compare versions

Comparing version 1.1.0 to 3.0.0-beta.0

esm2015/lib/directives/snazzy-info-window.js

2

agm-snazzy-info-window.d.ts
/**
* Generated bundle index. Do not edit.
*/
export * from './index';
export * from './public-api';

@@ -1,1 +0,1 @@

{"__symbolic":"module","version":4,"metadata":{"AgmSnazzyInfoWindowModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":3,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"AgmSnazzyInfoWindow"}],"exports":[{"__symbolic":"reference","name":"AgmSnazzyInfoWindow"}]}]}],"members":{}},"AgmSnazzyInfoWindow":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":5,"character":1},"arguments":[{"selector":"agm-snazzy-info-window","template":"<div #outerWrapper><div #viewContainer></div></div><ng-content></ng-content>"}]}],"members":{"latitude":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":15,"character":3}}]}],"longitude":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":21,"character":3}}]}],"isOpen":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":26,"character":3}}]}],"isOpenChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":31,"character":3}}]}],"placement":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":36,"character":3}}]}],"maxWidth":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":41,"character":3}}]}],"maxHeight":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":46,"character":3}}]}],"backgroundColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":51,"character":3}}]}],"padding":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":56,"character":3}}]}],"border":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":62,"character":3}}]}],"borderRadius":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":67,"character":3}}]}],"fontColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":72,"character":3}}]}],"fontSize":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":77,"character":3}}]}],"pointer":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":84,"character":3}}]}],"shadow":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":90,"character":3}}]}],"openOnMarkerClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":96,"character":3}}]}],"closeOnMapClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":102,"character":3}}]}],"wrapperClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":108,"character":3}}]}],"closeWhenOthersOpen":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":113,"character":3}}]}],"showCloseButton":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":118,"character":3}}]}],"panOnOpen":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":123,"character":3}}]}],"beforeOpen":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":128,"character":3}}]}],"afterClose":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":133,"character":3}}]}],"_outerWrapper":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":138,"character":3},"arguments":["outerWrapper",{"read":{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":138,"character":36},"static":false}]}]}],"_viewContainerRef":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":143,"character":3},"arguments":["viewContainer",{"read":{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef","line":143,"character":37},"static":false}]}]}],"_templateRef":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild","line":148,"character":3},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"TemplateRef","line":148,"character":16},{"static":false}]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":154,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Host","line":154,"character":17}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"SkipSelf","line":154,"character":25}}],null,null,null],"parameters":[{"__symbolic":"reference","module":"@agm/core","name":"AgmMarker","line":154,"character":53},{"__symbolic":"reference","module":"@agm/core","name":"GoogleMapsAPIWrapper","line":155,"character":22},{"__symbolic":"reference","module":"@agm/core","name":"MarkerManager","line":156,"character":22},{"__symbolic":"reference","module":"@agm/core","name":"MapsAPILoader","line":157,"character":21}]}],"ngOnChanges":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"_openInfoWindow":[{"__symbolic":"method"}],"_closeInfoWindow":[{"__symbolic":"method"}],"_createViewContent":[{"__symbolic":"method"}],"_updatePosition":[{"__symbolic":"method"}],"openStatus":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}}},"origins":{"AgmSnazzyInfoWindowModule":"./snazzy-info-window.module","AgmSnazzyInfoWindow":"./directives/snazzy-info-window"},"importAs":"@agm/snazzy-info-window"}
{"__symbolic":"module","version":4,"metadata":{"AgmSnazzyInfoWindow":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":5,"character":1},"arguments":[{"selector":"agm-snazzy-info-window","template":"<div #outerWrapper><div #viewContainer></div></div><ng-content></ng-content>"}]}],"members":{"latitude":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":15,"character":3}}]}],"longitude":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":21,"character":3}}]}],"isOpen":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":26,"character":3}}]}],"isOpenChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":31,"character":3}}]}],"placement":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":36,"character":3}}]}],"maxWidth":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":41,"character":3}}]}],"maxHeight":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":46,"character":3}}]}],"backgroundColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":51,"character":3}}]}],"padding":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":56,"character":3}}]}],"border":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":62,"character":3}}]}],"borderRadius":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":67,"character":3}}]}],"fontColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":72,"character":3}}]}],"fontSize":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":77,"character":3}}]}],"pointer":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":84,"character":3}}]}],"shadow":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":90,"character":3}}]}],"openOnMarkerClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":96,"character":3}}]}],"closeOnMapClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":103,"character":3}}]}],"wrapperClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":109,"character":3}}]}],"closeWhenOthersOpen":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":114,"character":3}}]}],"showCloseButton":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":119,"character":3}}]}],"panOnOpen":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":124,"character":3}}]}],"beforeOpen":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":129,"character":3}}]}],"afterClose":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":134,"character":3}}]}],"_outerWrapper":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":139,"character":3},"arguments":["outerWrapper",{"read":{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":139,"character":36},"static":false}]}]}],"_viewContainerRef":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":144,"character":3},"arguments":["viewContainer",{"read":{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef","line":144,"character":37},"static":false}]}]}],"_templateRef":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild","line":149,"character":3},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"TemplateRef","line":149,"character":16},{"static":false}]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":155,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Host","line":155,"character":17}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"SkipSelf","line":155,"character":25}}],null,null,null],"parameters":[{"__symbolic":"reference","module":"@agm/core","name":"AgmMarker","line":155,"character":53},{"__symbolic":"reference","module":"@agm/core","name":"GoogleMapsAPIWrapper","line":156,"character":22},{"__symbolic":"reference","module":"@agm/core","name":"MarkerManager","line":157,"character":22},{"__symbolic":"reference","module":"@agm/core","name":"MapsAPILoader","line":158,"character":21}]}],"ngOnChanges":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"_openInfoWindow":[{"__symbolic":"method"}],"_closeInfoWindow":[{"__symbolic":"method"}],"_createViewContent":[{"__symbolic":"method"}],"_updatePosition":[{"__symbolic":"method"}],"openStatus":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"AgmSnazzyInfoWindowModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":3,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"AgmSnazzyInfoWindow"}],"exports":[{"__symbolic":"reference","name":"AgmSnazzyInfoWindow"}]}]}],"members":{}}},"origins":{"AgmSnazzyInfoWindow":"./lib/directives/snazzy-info-window","AgmSnazzyInfoWindowModule":"./lib/snazzy-info-window.module"},"importAs":"@agm/snazzy-info-window"}
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@agm/core')) :
typeof define === 'function' && define.amd ? define('@agm/snazzy-info-window', ['exports', '@angular/core', '@agm/core'], factory) :
(global = global || self, factory((global.ngmaps = global.ngmaps || {}, global.ngmaps.snazzyInfoWindow = {}), global.ng.core, global.ngmaps.core));
}(this, function (exports, core, core$1) { 'use strict';
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@agm/core'), require('@angular/core')) :
typeof define === 'function' && define.amd ? define('@agm/snazzy-info-window', ['exports', '@agm/core', '@angular/core'], factory) :
(global = global || self, factory((global.agm = global.agm || {}, global.agm['snazzy-info-window'] = {}), global.core, global.ng.core));
}(this, (function (exports, core, core$1) { 'use strict';
/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */
/* global Reflect, Promise */
var extendStatics = function(d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
function __extends(d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
}
var __assign = function() {
__assign = Object.assign || function __assign(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
function __rest(s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
t[p[i]] = s[p[i]];
}
return t;
}
function __decorate(decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
}
function __param(paramIndex, decorator) {
return function (target, key) { decorator(target, key, paramIndex); }
}
function __metadata(metadataKey, metadataValue) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
}
function __awaiter(thisArg, _arguments, P, generator) {
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
}
function __generator(thisArg, body) {
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
function verb(n) { return function (v) { return step([n, v]); }; }
function step(op) {
if (f) throw new TypeError("Generator is already executing.");
while (_) try {
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
if (y = 0, t) op = [op[0] & 2, t.value];
switch (op[0]) {
case 0: case 1: t = op; break;
case 4: _.label++; return { value: op[1], done: false };
case 5: _.label++; y = op[1]; op = [0]; continue;
case 7: op = _.ops.pop(); _.trys.pop(); continue;
default:
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
if (t[2]) _.ops.pop();
_.trys.pop(); continue;
}
op = body.call(thisArg, _);
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
}
}
function __exportStar(m, exports) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
function __values(o) {
var m = typeof Symbol === "function" && o[Symbol.iterator], i = 0;
if (m) return m.call(o);
return {
next: function () {
if (o && i >= o.length) o = void 0;
return { value: o && o[i++], done: !o };
}
};
}
function __read(o, n) {
var m = typeof Symbol === "function" && o[Symbol.iterator];
if (!m) return o;
var i = m.call(o), r, ar = [], e;
try {
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
}
catch (error) { e = { error: error }; }
finally {
try {
if (r && !r.done && (m = i["return"])) m.call(i);
}
finally { if (e) throw e.error; }
}
return ar;
}
function __spread() {
for (var ar = [], i = 0; i < arguments.length; i++)
ar = ar.concat(__read(arguments[i]));
return ar;
}
function __spreadArrays() {
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
for (var r = Array(s), k = 0, i = 0; i < il; i++)
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
r[k] = a[j];
return r;
};
function __await(v) {
return this instanceof __await ? (this.v = v, this) : new __await(v);
}
function __asyncGenerator(thisArg, _arguments, generator) {
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
var g = generator.apply(thisArg, _arguments || []), i, q = [];
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
function fulfill(value) { resume("next", value); }
function reject(value) { resume("throw", value); }
function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
}
function __asyncDelegator(o) {
var i, p;
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
}
function __asyncValues(o) {
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
var m = o[Symbol.asyncIterator], i;
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
}
function __makeTemplateObject(cooked, raw) {
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
return cooked;
};
function __importStar(mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
result.default = mod;
return result;
}
function __importDefault(mod) {
return (mod && mod.__esModule) ? mod : { default: mod };
}
var AgmSnazzyInfoWindow = /** @class */ (function () {

@@ -217,3 +20,3 @@ function AgmSnazzyInfoWindow(_marker, _wrapper, _manager, _loader) {

*/
this.isOpenChange = new core.EventEmitter();
this.isOpenChange = new core$1.EventEmitter();
/**

@@ -237,3 +40,4 @@ * Choose where you want the info window to be displayed, relative to the marker.

/**
* Determines if the info window will close when the map is clicked. An internal listener is added to the Google Maps click event which calls the close() method.
* Determines if the info window will close when the map is clicked. An internal listener is added to
* the Google Maps click event which calls the close() method.
* This will not activate on the Google Maps drag event when the user is panning the map.

@@ -257,7 +61,7 @@ */

*/
this.beforeOpen = new core.EventEmitter();
this.beforeOpen = new core$1.EventEmitter();
/**
* Emits before the info window closes.
*/
this.afterClose = new core.EventEmitter();
this.afterClose = new core$1.EventEmitter();
this._snazzyInfoWindowInitialized = null;

@@ -386,126 +190,45 @@ }

};
AgmSnazzyInfoWindow.ctorParameters = function () { return [
{ type: core$1.AgmMarker, decorators: [{ type: core.Optional }, { type: core.Host }, { type: core.SkipSelf }] },
{ type: core$1.GoogleMapsAPIWrapper },
{ type: core$1.MarkerManager },
{ type: core$1.MapsAPILoader }
]; };
__decorate([
core.Input(),
__metadata("design:type", Number)
], AgmSnazzyInfoWindow.prototype, "latitude", void 0);
__decorate([
core.Input(),
__metadata("design:type", Number)
], AgmSnazzyInfoWindow.prototype, "longitude", void 0);
__decorate([
core.Input(),
__metadata("design:type", Object)
], AgmSnazzyInfoWindow.prototype, "isOpen", void 0);
__decorate([
core.Output(),
__metadata("design:type", core.EventEmitter)
], AgmSnazzyInfoWindow.prototype, "isOpenChange", void 0);
__decorate([
core.Input(),
__metadata("design:type", String)
], AgmSnazzyInfoWindow.prototype, "placement", void 0);
__decorate([
core.Input(),
__metadata("design:type", Object)
], AgmSnazzyInfoWindow.prototype, "maxWidth", void 0);
__decorate([
core.Input(),
__metadata("design:type", Object)
], AgmSnazzyInfoWindow.prototype, "maxHeight", void 0);
__decorate([
core.Input(),
__metadata("design:type", String)
], AgmSnazzyInfoWindow.prototype, "backgroundColor", void 0);
__decorate([
core.Input(),
__metadata("design:type", String)
], AgmSnazzyInfoWindow.prototype, "padding", void 0);
__decorate([
core.Input(),
__metadata("design:type", Object)
], AgmSnazzyInfoWindow.prototype, "border", void 0);
__decorate([
core.Input(),
__metadata("design:type", String)
], AgmSnazzyInfoWindow.prototype, "borderRadius", void 0);
__decorate([
core.Input(),
__metadata("design:type", String)
], AgmSnazzyInfoWindow.prototype, "fontColor", void 0);
__decorate([
core.Input(),
__metadata("design:type", String)
], AgmSnazzyInfoWindow.prototype, "fontSize", void 0);
__decorate([
core.Input(),
__metadata("design:type", Object)
], AgmSnazzyInfoWindow.prototype, "pointer", void 0);
__decorate([
core.Input(),
__metadata("design:type", Object)
], AgmSnazzyInfoWindow.prototype, "shadow", void 0);
__decorate([
core.Input(),
__metadata("design:type", Object)
], AgmSnazzyInfoWindow.prototype, "openOnMarkerClick", void 0);
__decorate([
core.Input(),
__metadata("design:type", Object)
], AgmSnazzyInfoWindow.prototype, "closeOnMapClick", void 0);
__decorate([
core.Input(),
__metadata("design:type", String)
], AgmSnazzyInfoWindow.prototype, "wrapperClass", void 0);
__decorate([
core.Input(),
__metadata("design:type", Object)
], AgmSnazzyInfoWindow.prototype, "closeWhenOthersOpen", void 0);
__decorate([
core.Input(),
__metadata("design:type", Object)
], AgmSnazzyInfoWindow.prototype, "showCloseButton", void 0);
__decorate([
core.Input(),
__metadata("design:type", Object)
], AgmSnazzyInfoWindow.prototype, "panOnOpen", void 0);
__decorate([
core.Output(),
__metadata("design:type", core.EventEmitter)
], AgmSnazzyInfoWindow.prototype, "beforeOpen", void 0);
__decorate([
core.Output(),
__metadata("design:type", core.EventEmitter)
], AgmSnazzyInfoWindow.prototype, "afterClose", void 0);
__decorate([
core.ViewChild('outerWrapper', { read: core.ElementRef, static: false }),
__metadata("design:type", core.ElementRef)
], AgmSnazzyInfoWindow.prototype, "_outerWrapper", void 0);
__decorate([
core.ViewChild('viewContainer', { read: core.ViewContainerRef, static: false }),
__metadata("design:type", core.ViewContainerRef)
], AgmSnazzyInfoWindow.prototype, "_viewContainerRef", void 0);
__decorate([
core.ContentChild(core.TemplateRef, { static: false }),
__metadata("design:type", core.TemplateRef)
], AgmSnazzyInfoWindow.prototype, "_templateRef", void 0);
AgmSnazzyInfoWindow = __decorate([
core.Component({
// tslint:disable-next-line:component-selector
selector: 'agm-snazzy-info-window',
template: '<div #outerWrapper><div #viewContainer></div></div><ng-content></ng-content>'
}),
__param(0, core.Optional()), __param(0, core.Host()), __param(0, core.SkipSelf()),
__metadata("design:paramtypes", [core$1.AgmMarker,
core$1.GoogleMapsAPIWrapper,
core$1.MarkerManager,
core$1.MapsAPILoader])
], AgmSnazzyInfoWindow);
return AgmSnazzyInfoWindow;
}());
AgmSnazzyInfoWindow.decorators = [
{ type: core$1.Component, args: [{
// tslint:disable-next-line:component-selector
selector: 'agm-snazzy-info-window',
template: '<div #outerWrapper><div #viewContainer></div></div><ng-content></ng-content>'
},] }
];
AgmSnazzyInfoWindow.ctorParameters = function () { return [
{ type: core.AgmMarker, decorators: [{ type: core$1.Optional }, { type: core$1.Host }, { type: core$1.SkipSelf }] },
{ type: core.GoogleMapsAPIWrapper },
{ type: core.MarkerManager },
{ type: core.MapsAPILoader }
]; };
AgmSnazzyInfoWindow.propDecorators = {
latitude: [{ type: core$1.Input }],
longitude: [{ type: core$1.Input }],
isOpen: [{ type: core$1.Input }],
isOpenChange: [{ type: core$1.Output }],
placement: [{ type: core$1.Input }],
maxWidth: [{ type: core$1.Input }],
maxHeight: [{ type: core$1.Input }],
backgroundColor: [{ type: core$1.Input }],
padding: [{ type: core$1.Input }],
border: [{ type: core$1.Input }],
borderRadius: [{ type: core$1.Input }],
fontColor: [{ type: core$1.Input }],
fontSize: [{ type: core$1.Input }],
pointer: [{ type: core$1.Input }],
shadow: [{ type: core$1.Input }],
openOnMarkerClick: [{ type: core$1.Input }],
closeOnMapClick: [{ type: core$1.Input }],
wrapperClass: [{ type: core$1.Input }],
closeWhenOthersOpen: [{ type: core$1.Input }],
showCloseButton: [{ type: core$1.Input }],
panOnOpen: [{ type: core$1.Input }],
beforeOpen: [{ type: core$1.Output }],
afterClose: [{ type: core$1.Output }],
_outerWrapper: [{ type: core$1.ViewChild, args: ['outerWrapper', { read: core$1.ElementRef, static: false },] }],
_viewContainerRef: [{ type: core$1.ViewChild, args: ['viewContainer', { read: core$1.ViewContainerRef, static: false },] }],
_templateRef: [{ type: core$1.ContentChild, args: [core$1.TemplateRef, { static: false },] }]
};

@@ -515,11 +238,19 @@ var AgmSnazzyInfoWindowModule = /** @class */ (function () {

}
AgmSnazzyInfoWindowModule = __decorate([
core.NgModule({
declarations: [AgmSnazzyInfoWindow],
exports: [AgmSnazzyInfoWindow],
})
], AgmSnazzyInfoWindowModule);
return AgmSnazzyInfoWindowModule;
}());
AgmSnazzyInfoWindowModule.decorators = [
{ type: core$1.NgModule, args: [{
declarations: [AgmSnazzyInfoWindow],
exports: [AgmSnazzyInfoWindow],
},] }
];
/*
* Public API Surface of snazzy-info-window
*/
/**
* Generated bundle index. Do not edit.
*/
exports.AgmSnazzyInfoWindow = AgmSnazzyInfoWindow;

@@ -530,3 +261,3 @@ exports.AgmSnazzyInfoWindowModule = AgmSnazzyInfoWindowModule;

}));
})));
//# sourceMappingURL=agm-snazzy-info-window.umd.js.map

@@ -1,2 +0,2 @@

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@agm/core")):"function"==typeof define&&define.amd?define("@agm/snazzy-info-window",["exports","@angular/core","@agm/core"],t):t(((e=e||self).ngmaps=e.ngmaps||{},e.ngmaps.snazzyInfoWindow={}),e.ng.core,e.ngmaps.core)}(this,(function(e,t,n){"use strict";function o(e,t,n,o){var i,p=arguments.length,r=p<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(r=(p<3?i(r):p>3?i(t,n,r):i(t,n))||r);return p>3&&r&&Object.defineProperty(t,n,r),r}function i(e,t){return function(n,o){t(n,o,e)}}function p(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}var r=function(){function e(e,n,o,i){this._marker=e,this._wrapper=n,this._manager=o,this._loader=i,this.isOpen=!1,this.isOpenChange=new t.EventEmitter,this.placement="top",this.maxWidth=200,this.maxHeight=200,this.openOnMarkerClick=!0,this.closeOnMapClick=!0,this.closeWhenOthersOpen=!1,this.showCloseButton=!0,this.panOnOpen=!0,this.beforeOpen=new t.EventEmitter,this.afterClose=new t.EventEmitter,this._snazzyInfoWindowInitialized=null}return e.prototype.ngOnChanges=function(e){null!=this._nativeSnazzyInfoWindow&&("isOpen"in e&&this.isOpen?this._openInfoWindow():"isOpen"in e&&!this.isOpen&&this._closeInfoWindow(),("latitude"in e||"longitude"in e)&&null==this._marker&&this._updatePosition())},e.prototype.ngAfterViewInit=function(){var e=this,t=null!=this._manager?this._manager.getNativeMarker(this._marker):null;this._snazzyInfoWindowInitialized=this._loader.load().then((function(){return require("snazzy-info-window")})).then((function(n){return Promise.all([n,t,e._wrapper.getNativeMap()])})).then((function(t){var n={map:t[2],content:"",placement:e.placement,maxWidth:e.maxWidth,maxHeight:e.maxHeight,backgroundColor:e.backgroundColor,padding:e.padding,border:e.border,borderRadius:e.borderRadius,fontColor:e.fontColor,pointer:e.pointer,shadow:e.shadow,closeOnMapClick:e.closeOnMapClick,openOnMarkerClick:e.openOnMarkerClick,closeWhenOthersOpen:e.closeWhenOthersOpen,showCloseButton:e.showCloseButton,panOnOpen:e.panOnOpen,wrapperClass:e.wrapperClass,callbacks:{beforeOpen:function(){e._createViewContent(),e.beforeOpen.emit()},afterOpen:function(){e.isOpenChange.emit(e.openStatus())},afterClose:function(){e.afterClose.emit(),e.isOpenChange.emit(e.openStatus())}}};null!=t[1]?n.marker=t[1]:n.position={lat:e.latitude,lng:e.longitude},e._nativeSnazzyInfoWindow=new t[0](n)})),this._snazzyInfoWindowInitialized.then((function(){e.isOpen&&e._openInfoWindow()}))},e.prototype._openInfoWindow=function(){var e=this;this._snazzyInfoWindowInitialized.then((function(){e._createViewContent(),e._nativeSnazzyInfoWindow.open()}))},e.prototype._closeInfoWindow=function(){var e=this;this._snazzyInfoWindowInitialized.then((function(){e._nativeSnazzyInfoWindow.close()}))},e.prototype._createViewContent=function(){if(1!==this._viewContainerRef.length){var e=this._viewContainerRef.createEmbeddedView(this._templateRef);this._nativeSnazzyInfoWindow.setContent(this._outerWrapper.nativeElement),setTimeout((function(){e.detectChanges()}))}},e.prototype._updatePosition=function(){this._nativeSnazzyInfoWindow.setPosition({lat:this.latitude,lng:this.longitude})},e.prototype.openStatus=function(){return this._nativeSnazzyInfoWindow&&this._nativeSnazzyInfoWindow.isOpen()},e.prototype.ngOnDestroy=function(){this._nativeSnazzyInfoWindow&&this._nativeSnazzyInfoWindow.destroy()},e.ctorParameters=function(){return[{type:n.AgmMarker,decorators:[{type:t.Optional},{type:t.Host},{type:t.SkipSelf}]},{type:n.GoogleMapsAPIWrapper},{type:n.MarkerManager},{type:n.MapsAPILoader}]},o([t.Input(),p("design:type",Number)],e.prototype,"latitude",void 0),o([t.Input(),p("design:type",Number)],e.prototype,"longitude",void 0),o([t.Input(),p("design:type",Object)],e.prototype,"isOpen",void 0),o([t.Output(),p("design:type",t.EventEmitter)],e.prototype,"isOpenChange",void 0),o([t.Input(),p("design:type",String)],e.prototype,"placement",void 0),o([t.Input(),p("design:type",Object)],e.prototype,"maxWidth",void 0),o([t.Input(),p("design:type",Object)],e.prototype,"maxHeight",void 0),o([t.Input(),p("design:type",String)],e.prototype,"backgroundColor",void 0),o([t.Input(),p("design:type",String)],e.prototype,"padding",void 0),o([t.Input(),p("design:type",Object)],e.prototype,"border",void 0),o([t.Input(),p("design:type",String)],e.prototype,"borderRadius",void 0),o([t.Input(),p("design:type",String)],e.prototype,"fontColor",void 0),o([t.Input(),p("design:type",String)],e.prototype,"fontSize",void 0),o([t.Input(),p("design:type",Object)],e.prototype,"pointer",void 0),o([t.Input(),p("design:type",Object)],e.prototype,"shadow",void 0),o([t.Input(),p("design:type",Object)],e.prototype,"openOnMarkerClick",void 0),o([t.Input(),p("design:type",Object)],e.prototype,"closeOnMapClick",void 0),o([t.Input(),p("design:type",String)],e.prototype,"wrapperClass",void 0),o([t.Input(),p("design:type",Object)],e.prototype,"closeWhenOthersOpen",void 0),o([t.Input(),p("design:type",Object)],e.prototype,"showCloseButton",void 0),o([t.Input(),p("design:type",Object)],e.prototype,"panOnOpen",void 0),o([t.Output(),p("design:type",t.EventEmitter)],e.prototype,"beforeOpen",void 0),o([t.Output(),p("design:type",t.EventEmitter)],e.prototype,"afterClose",void 0),o([t.ViewChild("outerWrapper",{read:t.ElementRef,static:!1}),p("design:type",t.ElementRef)],e.prototype,"_outerWrapper",void 0),o([t.ViewChild("viewContainer",{read:t.ViewContainerRef,static:!1}),p("design:type",t.ViewContainerRef)],e.prototype,"_viewContainerRef",void 0),o([t.ContentChild(t.TemplateRef,{static:!1}),p("design:type",t.TemplateRef)],e.prototype,"_templateRef",void 0),e=o([t.Component({selector:"agm-snazzy-info-window",template:"<div #outerWrapper><div #viewContainer></div></div><ng-content></ng-content>"}),i(0,t.Optional()),i(0,t.Host()),i(0,t.SkipSelf()),p("design:paramtypes",[n.AgmMarker,n.GoogleMapsAPIWrapper,n.MarkerManager,n.MapsAPILoader])],e)}(),a=function(){function e(){}return e=o([t.NgModule({declarations:[r],exports:[r]})],e)}();e.AgmSnazzyInfoWindow=r,e.AgmSnazzyInfoWindowModule=a,Object.defineProperty(e,"__esModule",{value:!0})}));
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("@agm/core"),require("@angular/core")):"function"==typeof define&&define.amd?define("@agm/snazzy-info-window",["exports","@agm/core","@angular/core"],n):n(((e=e||self).agm=e.agm||{},e.agm["snazzy-info-window"]={}),e.core,e.ng.core)}(this,(function(e,n,t){"use strict";var o=function(){function e(e,n,o,i){this._marker=e,this._wrapper=n,this._manager=o,this._loader=i,this.isOpen=!1,this.isOpenChange=new t.EventEmitter,this.placement="top",this.maxWidth=200,this.maxHeight=200,this.openOnMarkerClick=!0,this.closeOnMapClick=!0,this.closeWhenOthersOpen=!1,this.showCloseButton=!0,this.panOnOpen=!0,this.beforeOpen=new t.EventEmitter,this.afterClose=new t.EventEmitter,this._snazzyInfoWindowInitialized=null}return e.prototype.ngOnChanges=function(e){null!=this._nativeSnazzyInfoWindow&&("isOpen"in e&&this.isOpen?this._openInfoWindow():"isOpen"in e&&!this.isOpen&&this._closeInfoWindow(),("latitude"in e||"longitude"in e)&&null==this._marker&&this._updatePosition())},e.prototype.ngAfterViewInit=function(){var e=this,n=null!=this._manager?this._manager.getNativeMarker(this._marker):null;this._snazzyInfoWindowInitialized=this._loader.load().then((function(){return require("snazzy-info-window")})).then((function(t){return Promise.all([t,n,e._wrapper.getNativeMap()])})).then((function(n){var t={map:n[2],content:"",placement:e.placement,maxWidth:e.maxWidth,maxHeight:e.maxHeight,backgroundColor:e.backgroundColor,padding:e.padding,border:e.border,borderRadius:e.borderRadius,fontColor:e.fontColor,pointer:e.pointer,shadow:e.shadow,closeOnMapClick:e.closeOnMapClick,openOnMarkerClick:e.openOnMarkerClick,closeWhenOthersOpen:e.closeWhenOthersOpen,showCloseButton:e.showCloseButton,panOnOpen:e.panOnOpen,wrapperClass:e.wrapperClass,callbacks:{beforeOpen:function(){e._createViewContent(),e.beforeOpen.emit()},afterOpen:function(){e.isOpenChange.emit(e.openStatus())},afterClose:function(){e.afterClose.emit(),e.isOpenChange.emit(e.openStatus())}}};null!=n[1]?t.marker=n[1]:t.position={lat:e.latitude,lng:e.longitude},e._nativeSnazzyInfoWindow=new n[0](t)})),this._snazzyInfoWindowInitialized.then((function(){e.isOpen&&e._openInfoWindow()}))},e.prototype._openInfoWindow=function(){var e=this;this._snazzyInfoWindowInitialized.then((function(){e._createViewContent(),e._nativeSnazzyInfoWindow.open()}))},e.prototype._closeInfoWindow=function(){var e=this;this._snazzyInfoWindowInitialized.then((function(){e._nativeSnazzyInfoWindow.close()}))},e.prototype._createViewContent=function(){if(1!==this._viewContainerRef.length){var e=this._viewContainerRef.createEmbeddedView(this._templateRef);this._nativeSnazzyInfoWindow.setContent(this._outerWrapper.nativeElement),setTimeout((function(){e.detectChanges()}))}},e.prototype._updatePosition=function(){this._nativeSnazzyInfoWindow.setPosition({lat:this.latitude,lng:this.longitude})},e.prototype.openStatus=function(){return this._nativeSnazzyInfoWindow&&this._nativeSnazzyInfoWindow.isOpen()},e.prototype.ngOnDestroy=function(){this._nativeSnazzyInfoWindow&&this._nativeSnazzyInfoWindow.destroy()},e}();o.decorators=[{type:t.Component,args:[{selector:"agm-snazzy-info-window",template:"<div #outerWrapper><div #viewContainer></div></div><ng-content></ng-content>"}]}],o.ctorParameters=function(){return[{type:n.AgmMarker,decorators:[{type:t.Optional},{type:t.Host},{type:t.SkipSelf}]},{type:n.GoogleMapsAPIWrapper},{type:n.MarkerManager},{type:n.MapsAPILoader}]},o.propDecorators={latitude:[{type:t.Input}],longitude:[{type:t.Input}],isOpen:[{type:t.Input}],isOpenChange:[{type:t.Output}],placement:[{type:t.Input}],maxWidth:[{type:t.Input}],maxHeight:[{type:t.Input}],backgroundColor:[{type:t.Input}],padding:[{type:t.Input}],border:[{type:t.Input}],borderRadius:[{type:t.Input}],fontColor:[{type:t.Input}],fontSize:[{type:t.Input}],pointer:[{type:t.Input}],shadow:[{type:t.Input}],openOnMarkerClick:[{type:t.Input}],closeOnMapClick:[{type:t.Input}],wrapperClass:[{type:t.Input}],closeWhenOthersOpen:[{type:t.Input}],showCloseButton:[{type:t.Input}],panOnOpen:[{type:t.Input}],beforeOpen:[{type:t.Output}],afterClose:[{type:t.Output}],_outerWrapper:[{type:t.ViewChild,args:["outerWrapper",{read:t.ElementRef,static:!1}]}],_viewContainerRef:[{type:t.ViewChild,args:["viewContainer",{read:t.ViewContainerRef,static:!1}]}],_templateRef:[{type:t.ContentChild,args:[t.TemplateRef,{static:!1}]}]};var i=function(){};i.decorators=[{type:t.NgModule,args:[{declarations:[o],exports:[o]}]}],e.AgmSnazzyInfoWindow=o,e.AgmSnazzyInfoWindowModule=i,Object.defineProperty(e,"__esModule",{value:!0})}));
//# sourceMappingURL=agm-snazzy-info-window.umd.min.js.map
/**
* Generated bundle index. Do not edit.
*/
export * from './index';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWdtLXNuYXp6eS1pbmZvLXdpbmRvdy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhZ20vc25henp5LWluZm8td2luZG93LyIsInNvdXJjZXMiOlsiYWdtLXNuYXp6eS1pbmZvLXdpbmRvdy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
export * from './public-api';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWdtLXNuYXp6eS1pbmZvLXdpbmRvdy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3BhY2thZ2VzL3NuYXp6eS1pbmZvLXdpbmRvdy9zcmMvYWdtLXNuYXp6eS1pbmZvLXdpbmRvdy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpYy1hcGknO1xuIl19

@@ -1,6 +0,5 @@

import { __decorate, __metadata, __param } from 'tslib';
import { EventEmitter, Optional, Host, SkipSelf, Input, Output, ViewChild, ElementRef, ViewContainerRef, ContentChild, TemplateRef, Component, NgModule } from '@angular/core';
import { AgmMarker, GoogleMapsAPIWrapper, MarkerManager, MapsAPILoader } from '@agm/core';
import { EventEmitter, Component, Optional, Host, SkipSelf, Input, Output, ViewChild, ElementRef, ViewContainerRef, ContentChild, TemplateRef, NgModule } from '@angular/core';
let AgmSnazzyInfoWindow = class AgmSnazzyInfoWindow {
class AgmSnazzyInfoWindow {
constructor(_marker, _wrapper, _manager, _loader) {

@@ -37,3 +36,4 @@ this._marker = _marker;

/**
* Determines if the info window will close when the map is clicked. An internal listener is added to the Google Maps click event which calls the close() method.
* Determines if the info window will close when the map is clicked. An internal listener is added to
* the Google Maps click event which calls the close() method.
* This will not activate on the Google Maps drag event when the user is panning the map.

@@ -182,3 +182,10 @@ */

}
};
}
AgmSnazzyInfoWindow.decorators = [
{ type: Component, args: [{
// tslint:disable-next-line:component-selector
selector: 'agm-snazzy-info-window',
template: '<div #outerWrapper><div #viewContainer></div></div><ng-content></ng-content>'
},] }
];
AgmSnazzyInfoWindow.ctorParameters = () => [

@@ -190,130 +197,44 @@ { type: AgmMarker, decorators: [{ type: Optional }, { type: Host }, { type: SkipSelf }] },

];
__decorate([
Input(),
__metadata("design:type", Number)
], AgmSnazzyInfoWindow.prototype, "latitude", void 0);
__decorate([
Input(),
__metadata("design:type", Number)
], AgmSnazzyInfoWindow.prototype, "longitude", void 0);
__decorate([
Input(),
__metadata("design:type", Object)
], AgmSnazzyInfoWindow.prototype, "isOpen", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmSnazzyInfoWindow.prototype, "isOpenChange", void 0);
__decorate([
Input(),
__metadata("design:type", String)
], AgmSnazzyInfoWindow.prototype, "placement", void 0);
__decorate([
Input(),
__metadata("design:type", Object)
], AgmSnazzyInfoWindow.prototype, "maxWidth", void 0);
__decorate([
Input(),
__metadata("design:type", Object)
], AgmSnazzyInfoWindow.prototype, "maxHeight", void 0);
__decorate([
Input(),
__metadata("design:type", String)
], AgmSnazzyInfoWindow.prototype, "backgroundColor", void 0);
__decorate([
Input(),
__metadata("design:type", String)
], AgmSnazzyInfoWindow.prototype, "padding", void 0);
__decorate([
Input(),
__metadata("design:type", Object)
], AgmSnazzyInfoWindow.prototype, "border", void 0);
__decorate([
Input(),
__metadata("design:type", String)
], AgmSnazzyInfoWindow.prototype, "borderRadius", void 0);
__decorate([
Input(),
__metadata("design:type", String)
], AgmSnazzyInfoWindow.prototype, "fontColor", void 0);
__decorate([
Input(),
__metadata("design:type", String)
], AgmSnazzyInfoWindow.prototype, "fontSize", void 0);
__decorate([
Input(),
__metadata("design:type", Object)
], AgmSnazzyInfoWindow.prototype, "pointer", void 0);
__decorate([
Input(),
__metadata("design:type", Object)
], AgmSnazzyInfoWindow.prototype, "shadow", void 0);
__decorate([
Input(),
__metadata("design:type", Object)
], AgmSnazzyInfoWindow.prototype, "openOnMarkerClick", void 0);
__decorate([
Input(),
__metadata("design:type", Object)
], AgmSnazzyInfoWindow.prototype, "closeOnMapClick", void 0);
__decorate([
Input(),
__metadata("design:type", String)
], AgmSnazzyInfoWindow.prototype, "wrapperClass", void 0);
__decorate([
Input(),
__metadata("design:type", Object)
], AgmSnazzyInfoWindow.prototype, "closeWhenOthersOpen", void 0);
__decorate([
Input(),
__metadata("design:type", Object)
], AgmSnazzyInfoWindow.prototype, "showCloseButton", void 0);
__decorate([
Input(),
__metadata("design:type", Object)
], AgmSnazzyInfoWindow.prototype, "panOnOpen", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmSnazzyInfoWindow.prototype, "beforeOpen", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmSnazzyInfoWindow.prototype, "afterClose", void 0);
__decorate([
ViewChild('outerWrapper', { read: ElementRef, static: false }),
__metadata("design:type", ElementRef)
], AgmSnazzyInfoWindow.prototype, "_outerWrapper", void 0);
__decorate([
ViewChild('viewContainer', { read: ViewContainerRef, static: false }),
__metadata("design:type", ViewContainerRef)
], AgmSnazzyInfoWindow.prototype, "_viewContainerRef", void 0);
__decorate([
ContentChild(TemplateRef, { static: false }),
__metadata("design:type", TemplateRef)
], AgmSnazzyInfoWindow.prototype, "_templateRef", void 0);
AgmSnazzyInfoWindow = __decorate([
Component({
// tslint:disable-next-line:component-selector
selector: 'agm-snazzy-info-window',
template: '<div #outerWrapper><div #viewContainer></div></div><ng-content></ng-content>'
}),
__param(0, Optional()), __param(0, Host()), __param(0, SkipSelf()),
__metadata("design:paramtypes", [AgmMarker,
GoogleMapsAPIWrapper,
MarkerManager,
MapsAPILoader])
], AgmSnazzyInfoWindow);
let AgmSnazzyInfoWindowModule = class AgmSnazzyInfoWindowModule {
AgmSnazzyInfoWindow.propDecorators = {
latitude: [{ type: Input }],
longitude: [{ type: Input }],
isOpen: [{ type: Input }],
isOpenChange: [{ type: Output }],
placement: [{ type: Input }],
maxWidth: [{ type: Input }],
maxHeight: [{ type: Input }],
backgroundColor: [{ type: Input }],
padding: [{ type: Input }],
border: [{ type: Input }],
borderRadius: [{ type: Input }],
fontColor: [{ type: Input }],
fontSize: [{ type: Input }],
pointer: [{ type: Input }],
shadow: [{ type: Input }],
openOnMarkerClick: [{ type: Input }],
closeOnMapClick: [{ type: Input }],
wrapperClass: [{ type: Input }],
closeWhenOthersOpen: [{ type: Input }],
showCloseButton: [{ type: Input }],
panOnOpen: [{ type: Input }],
beforeOpen: [{ type: Output }],
afterClose: [{ type: Output }],
_outerWrapper: [{ type: ViewChild, args: ['outerWrapper', { read: ElementRef, static: false },] }],
_viewContainerRef: [{ type: ViewChild, args: ['viewContainer', { read: ViewContainerRef, static: false },] }],
_templateRef: [{ type: ContentChild, args: [TemplateRef, { static: false },] }]
};
AgmSnazzyInfoWindowModule = __decorate([
NgModule({
declarations: [AgmSnazzyInfoWindow],
exports: [AgmSnazzyInfoWindow],
})
], AgmSnazzyInfoWindowModule);
// public API
class AgmSnazzyInfoWindowModule {
}
AgmSnazzyInfoWindowModule.decorators = [
{ type: NgModule, args: [{
declarations: [AgmSnazzyInfoWindow],
exports: [AgmSnazzyInfoWindow],
},] }
];
/*
* Public API Surface of snazzy-info-window
*/
/**

@@ -320,0 +241,0 @@ * Generated bundle index. Do not edit.

{
"name": "@agm/snazzy-info-window",
"version": "3.0.0-beta.0",
"description": "Angular Google Maps (AGM) package for Snazzy Info Window support",
"author": "Sebastian Holstein",
"author": "Sebastian Holstein <info@sebastian-holstein.de>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/SebastianM/angular-google-maps.git"
},
"bugs": {
"url": "https://github.com/SebastianM/angular-google-maps/issues"
},
"homepage": "https://angular-maps.com",
"keywords": [
"angular-google-maps",
"angular",
"snazzy-info-window",
"info-window",
"google-maps",
"agm"
"agm",
"snazzy-info-window"
],
"peerDependencies": {
"@angular/core": "^6.0.0 || ^7.0.0 || ^8.0.0",
"@agm/core": "^1.0.0-beta.7",
"@agm/core": "3.0.0-beta.0",
"@angular/common": "^9.1.0 || ^10.0.0",
"@angular/core": "^9.1.0 || ^10.0.0",
"snazzy-info-window": "^1.1.0"
},
"dependencies": {
"tslib": "^2.0.0"
},
"main": "bundles/agm-snazzy-info-window.umd.js",
"module": "fesm5/agm-snazzy-info-window.js",
"module": "fesm2015/agm-snazzy-info-window.js",
"es2015": "fesm2015/agm-snazzy-info-window.js",
"esm5": "esm5/agm-snazzy-info-window.js",
"esm2015": "esm2015/agm-snazzy-info-window.js",
"fesm5": "fesm5/agm-snazzy-info-window.js",
"fesm2015": "fesm2015/agm-snazzy-info-window.js",
"typings": "agm-snazzy-info-window.d.ts",
"metadata": "agm-snazzy-info-window.metadata.json",
"sideEffects": false,
"dependencies": {
"tslib": "^1.9.0"
},
"version": "1.1.0",
"repository": {
"type": "git",
"url": "https://github.com/SebastianM/angular-google-maps.git"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/SebastianM/angular-google-maps/issues"
},
"homepage": "https://angular-maps.com"
}
"sideEffects": false
}

@@ -1,2 +0,2 @@

Angular Google Maps (AGM) Core - Angular 2+ Google Maps components
Angular Google Maps (AGM) Snazzy Info Window - Angular Google Maps components
=========

@@ -8,7 +8,2 @@

This package contains different sources for different users:
1. The files located in the root dirare ES5 based with ES2015 modules.
1. Files with the name pattern *.umd.js are UMD bundled modules for fast load times during development.
License: See LICENSE file in this folder.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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