UNPKG

ng2-bingmaps

Version:
93 lines (91 loc) 5.22 kB
/** * 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 */ "use strict"; var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; var import1 = require('@angular/core/src/linker/view'); var import2 = require('@angular/core/src/linker/element'); var import3 = require('./bing-map-info-window'); var import4 = require('@angular/core/src/linker/query_list'); var import7 = require('@angular/core/src/linker/view_type'); var import8 = require('@angular/core/src/change_detection/change_detection'); var import9 = require('../services/info-window-manager'); var import10 = require('@angular/core/src/metadata/view'); var import11 = require('@angular/core/src/linker/component_factory'); var renderType_BingMapInfoWindow_Host = null; var _View_BingMapInfoWindow_Host0 = (function (_super) { __extends(_View_BingMapInfoWindow_Host0, _super); function _View_BingMapInfoWindow_Host0(viewUtils, parentInjector, declarationEl) { _super.call(this, _View_BingMapInfoWindow_Host0, renderType_BingMapInfoWindow_Host, import7.ViewType.HOST, viewUtils, parentInjector, declarationEl, import8.ChangeDetectorStatus.CheckAlways); } _View_BingMapInfoWindow_Host0.prototype.createInternal = function (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; }; _View_BingMapInfoWindow_Host0.prototype.injectorGetInternal = function (token, requestNodeIndex, notFoundResult) { if (((token === import3.BingMapInfoWindow) && (0 === requestNodeIndex))) { return this._BingMapInfoWindow_0_4; } return notFoundResult; }; _View_BingMapInfoWindow_Host0.prototype.detectChangesInternal = function (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); }; return _View_BingMapInfoWindow_Host0; }(import1.AppView)); 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); } exports.BingMapInfoWindowNgFactory = new import11.ComponentFactory('bing-map-info-window', viewFactory_BingMapInfoWindow_Host0, import3.BingMapInfoWindow); var styles_BingMapInfoWindow = []; var renderType_BingMapInfoWindow = null; var _View_BingMapInfoWindow0 = (function (_super) { __extends(_View_BingMapInfoWindow0, _super); function _View_BingMapInfoWindow0(viewUtils, parentInjector, declarationEl) { _super.call(this, _View_BingMapInfoWindow0, renderType_BingMapInfoWindow, import7.ViewType.COMPONENT, viewUtils, parentInjector, declarationEl, import8.ChangeDetectorStatus.CheckAlways); } _View_BingMapInfoWindow0.prototype.createInternal = function (rootSelector) { var parentRenderNode = this.renderer.createViewRoot(this.declarationAppElement.nativeElement); this.init([], [], [], []); return null; }; return _View_BingMapInfoWindow0; }(import1.AppView)); 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); } exports.viewFactory_BingMapInfoWindow0 = viewFactory_BingMapInfoWindow0; //# sourceMappingURL=bing-map-info-window.ngfactory.js.map