ng2-bingmaps
Version:
Angular 2 components for Bing Maps
82 lines (80 loc) • 4.42 kB
JavaScript
/**
* ng2-bingmaps - Angular 2 components for Bing Maps
* @version v0.2.0
* @link https://github.com/youjustgo/ng2-bingmaps
* @license MIT
*/
/**
* This file is generated by the Angular 2 template compiler.
* Do not edit.
*/
/* tslint:disable */
import * as import1 from '@angular/core/src/linker/view';
import * as import2 from '@angular/core/src/linker/element';
import * as import3 from './bing-map-info-window';
import * as import4 from '@angular/core/src/linker/query_list';
import * as import7 from '@angular/core/src/linker/view_type';
import * as import8 from '@angular/core/src/change_detection/change_detection';
import * as import9 from '../services/info-window-manager';
import * as import10 from '@angular/core/src/metadata/view';
import * as import11 from '@angular/core/src/linker/component_factory';
var renderType_BingMapInfoWindow_Host = null;
class _View_BingMapInfoWindow_Host0 extends import1.AppView {
constructor(viewUtils, parentInjector, declarationEl) {
super(_View_BingMapInfoWindow_Host0, renderType_BingMapInfoWindow_Host, import7.ViewType.HOST, viewUtils, parentInjector, declarationEl, import8.ChangeDetectorStatus.CheckAlways);
}
createInternal(rootSelector) {
this._el_0 = this.selectOrCreateHostElement('bing-map-info-window', rootSelector, null);
this._appEl_0 = new import2.AppElement(0, null, this, this._el_0);
var compView_0 = viewFactory_BingMapInfoWindow0(this.viewUtils, this.injector(0), this._appEl_0);
this._BingMapInfoWindow_0_4 = new import3.BingMapInfoWindow(this.parentInjector.get(import9.InfoWindowManager));
this._query_BingMapInfoWindowAction_0_0 = new import4.QueryList();
this._appEl_0.initComponent(this._BingMapInfoWindow_0_4, [], compView_0);
compView_0.create(this._BingMapInfoWindow_0_4, this.projectableNodes, null);
this.init([].concat([this._el_0]), [this._el_0], [], []);
return this._appEl_0;
}
injectorGetInternal(token, requestNodeIndex, notFoundResult) {
if (((token === import3.BingMapInfoWindow) && (0 === requestNodeIndex))) {
return this._BingMapInfoWindow_0_4;
}
return notFoundResult;
}
detectChangesInternal(throwOnChange) {
this.detectContentChildrenChanges(throwOnChange);
if (!throwOnChange) {
if (this._query_BingMapInfoWindowAction_0_0.dirty) {
this._query_BingMapInfoWindowAction_0_0.reset([]);
this._BingMapInfoWindow_0_4.infoWindowActions = this._query_BingMapInfoWindowAction_0_0;
this._query_BingMapInfoWindowAction_0_0.notifyOnChanges();
}
}
this.detectViewChildrenChanges(throwOnChange);
}
}
function viewFactory_BingMapInfoWindow_Host0(viewUtils, parentInjector, declarationEl) {
if ((renderType_BingMapInfoWindow_Host === null)) {
(renderType_BingMapInfoWindow_Host = viewUtils.createRenderComponentType('', 0, import10.ViewEncapsulation.None, [], {}));
}
return new _View_BingMapInfoWindow_Host0(viewUtils, parentInjector, declarationEl);
}
export const BingMapInfoWindowNgFactory = new import11.ComponentFactory('bing-map-info-window', viewFactory_BingMapInfoWindow_Host0, import3.BingMapInfoWindow);
const styles_BingMapInfoWindow = [];
var renderType_BingMapInfoWindow = null;
class _View_BingMapInfoWindow0 extends import1.AppView {
constructor(viewUtils, parentInjector, declarationEl) {
super(_View_BingMapInfoWindow0, renderType_BingMapInfoWindow, import7.ViewType.COMPONENT, viewUtils, parentInjector, declarationEl, import8.ChangeDetectorStatus.CheckAlways);
}
createInternal(rootSelector) {
const parentRenderNode = this.renderer.createViewRoot(this.declarationAppElement.nativeElement);
this.init([], [], [], []);
return null;
}
}
export function viewFactory_BingMapInfoWindow0(viewUtils, parentInjector, declarationEl) {
if ((renderType_BingMapInfoWindow === null)) {
(renderType_BingMapInfoWindow = viewUtils.createRenderComponentType('C:/Projects/git/youjustgo/ng2-bingmaps/src/directives/bing-map-info-window.ts class BingMapInfoWindow - inline template', 0, import10.ViewEncapsulation.None, styles_BingMapInfoWindow, {}));
}
return new _View_BingMapInfoWindow0(viewUtils, parentInjector, declarationEl);
}
//# sourceMappingURL=bing-map-info-window.ngfactory.js.map