Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
_View_ProjectViewComponent_Host0.prototype.createInternal = function (rootSelector) {
this._el_0 = import4.selectOrCreateRenderHostElement(this.renderer, 'project-view', import4.EMPTY_INLINE_ARRAY, rootSelector, null);
this._appEl_0 = new import3.AppElement(0, null, this, this._el_0);
var compView_0 = viewFactory_ProjectViewComponent0(this.viewUtils, this.injector(0), this._appEl_0);
this._ProjectViewComponent_0_4 = new Wrapper_ProjectViewComponent(this.parentInjector.get(import8.GlobalService), this.parentInjector.get(import9.ProjectService), this.parentInjector.get(import10.TaskService), this.parentInjector.get(import11.Router), this.parentInjector.get(import12.ActivatedRoute));
this._appEl_0.initComponent(this._ProjectViewComponent_0_4.context, [], compView_0);
compView_0.create(this._ProjectViewComponent_0_4.context, this.projectableNodes, null);
this.init([].concat([this._el_0]), [this._el_0], [], []);
return this._appEl_0;
};
_View_ProjectViewComponent_Host0.prototype.injectorGetInternal = function (token, requestNodeIndex, notFoundResult) {
_View_AppComponent_Host0.prototype.createInternal = function (rootSelector) {
this._el_0 = import4.selectOrCreateRenderHostElement(this.renderer, 'my-app', import4.EMPTY_INLINE_ARRAY, rootSelector, null);
this._appEl_0 = new import3.AppElement(0, null, this, this._el_0);
var compView_0 = viewFactory_AppComponent0(this.viewUtils, this.injector(0), this._appEl_0);
this._AppComponent_0_4 = new Wrapper_AppComponent(this.parentInjector.get(import8.Router), this.parentInjector.get(import9.ActivatedRoute));
this._appEl_0.initComponent(this._AppComponent_0_4.context, [], compView_0);
compView_0.create(this._AppComponent_0_4.context, this.projectableNodes, null);
this.init([].concat([this._el_0]), [this._el_0], [], []);
return this._appEl_0;
};
_View_AppComponent_Host0.prototype.injectorGetInternal = function (token, requestNodeIndex, notFoundResult) {
_View_TaskViewComponent_Host0.prototype.createInternal = function (rootSelector) {
this._el_0 = import4.selectOrCreateRenderHostElement(this.renderer, 'task-view', import4.EMPTY_INLINE_ARRAY, rootSelector, null);
this._appEl_0 = new import3.AppElement(0, null, this, this._el_0);
var compView_0 = viewFactory_TaskViewComponent0(this.viewUtils, this.injector(0), this._appEl_0);
this._TaskViewComponent_0_4 = new Wrapper_TaskViewComponent(this.parentInjector.get(import8.GlobalService), this.parentInjector.get(import9.TaskService), this.parentInjector.get(import10.JobService), this.parentInjector.get(import11.Router), this.parentInjector.get(import12.ActivatedRoute));
this._appEl_0.initComponent(this._TaskViewComponent_0_4.context, [], compView_0);
compView_0.create(this._TaskViewComponent_0_4.context, this.projectableNodes, null);
this.init([].concat([this._el_0]), [this._el_0], [], []);
return this._appEl_0;
};
_View_TaskViewComponent_Host0.prototype.injectorGetInternal = function (token, requestNodeIndex, notFoundResult) {
this._el_4 = import4.createRenderElement(this.renderer, this._el_2, 'div', new import4.InlineArray2(2, 'class', 'navbar-header'), null);
this._text_5 = this.renderer.createText(this._el_4, '\n ', null);
this._el_6 = import4.createRenderElement(this.renderer, this._el_4, 'button', new import4.InlineArray16(12, 'aria-controls', 'navbar', 'aria-expanded', 'false', 'class', 'navbar-toggle collapsed', 'data-target', '#nav-collapse', 'data-toggle', 'collapse', 'type', 'button'), null);
this._text_7 = this.renderer.createText(this._el_6, '\n ', null);
this._el_8 = import4.createRenderElement(this.renderer, this._el_6, 'span', new import4.InlineArray2(2, 'class', 'sr-only'), null);
this._text_9 = this.renderer.createText(this._el_8, 'Toggle navigation', null);
this._text_10 = this.renderer.createText(this._el_6, '\n ', null);
this._el_11 = import4.createRenderElement(this.renderer, this._el_6, 'span', new import4.InlineArray2(2, 'class', 'icon-bar'), null);
this._text_12 = this.renderer.createText(this._el_6, '\n ', null);
this._el_13 = import4.createRenderElement(this.renderer, this._el_6, 'span', new import4.InlineArray2(2, 'class', 'icon-bar'), null);
this._text_14 = this.renderer.createText(this._el_6, '\n ', null);
this._el_15 = import4.createRenderElement(this.renderer, this._el_6, 'span', new import4.InlineArray2(2, 'class', 'icon-bar'), null);
this._text_16 = this.renderer.createText(this._el_6, '\n ', null);
this._text_17 = this.renderer.createText(this._el_4, '\n ', null);
this._el_18 = import4.createRenderElement(this.renderer, this._el_4, 'a', new import4.InlineArray8(6, 'class', 'navbar-brand', 'href', 'javascript: void(0);', 'routerLink', '/home'), null);
this._RouterLinkWithHref_18_3 = new import12.Wrapper_RouterLinkWithHref(this.parentInjector.get(import13.Router), this.parentInjector.get(import14.ActivatedRoute), this.parentInjector.get(import15.LocationStrategy));
this._text_19 = this.renderer.createText(this._el_18, '\n ', null);
this._el_20 = import4.createRenderElement(this.renderer, this._el_18, 'img', new import4.InlineArray8(8, 'alt', '', 'border', '0', 'class', 'logo pull-left', 'src', '../../static/images/logo-header.png'), null);
this._text_21 = this.renderer.createText(this._el_18, '\n GoCI\n ', null);
this._text_22 = this.renderer.createText(this._el_4, '\n ', null);
this._text_23 = this.renderer.createText(this._el_2, '\n ', null);
this._el_24 = import4.createRenderElement(this.renderer, this._el_2, 'div', new import4.InlineArray4(4, 'class', 'collapse navbar-collapse', 'id', 'nav-collapse'), null);
this._text_25 = this.renderer.createText(this._el_24, '\n\n ', null);
this._el_26 = import4.createRenderElement(this.renderer, this._el_24, 'ul', new import4.InlineArray2(2, 'class', 'nav navbar-nav navbar-right'), null);
this._text_27 = this.renderer.createText(this._el_26, '\n ', null);
this._el_28 = import4.createRenderElement(this.renderer, this._el_26, 'li', import4.EMPTY_INLINE_ARRAY, null);
this._text_29 = this.renderer.createText(this._el_28, '\n ', null);
this._el_30 = import4.createRenderElement(this.renderer, this._el_28, 'a', new import4.InlineArray4(4, 'href', 'javascript: void(0);', 'routerLink', '/job/list'), null);
this._RouterLinkWithHref_30_3 = new import12.Wrapper_RouterLinkWithHref(this.parentInjector.get(import13.Router), this.parentInjector.get(import14.ActivatedRoute), this.parentInjector.get(import15.LocationStrategy));
this._text_31 = this.renderer.createText(this._el_30, '\n ', null);
this._el_32 = import4.createRenderElement(this.renderer, this._el_30, 'span', new import4.InlineArray2(2, 'class', 'ph-job-running-list-count'), null);
this._text_33 = this.renderer.createText(this._el_32, '', null);
this._text_3 = this.renderer.createText(this._el_2, '\n ', null);
this._el_4 = import4.createRenderElement(this.renderer, this._el_2, 'h1', import4.EMPTY_INLINE_ARRAY, null);
this._text_5 = this.renderer.createText(this._el_4, 'GoCI', null);
this._text_6 = this.renderer.createText(this._el_2, '\n\n ', null);
this._el_7 = import4.createRenderElement(this.renderer, this._el_2, 'p', new import4.InlineArray2(2, 'class', 'lead'), null);
this._text_8 = this.renderer.createText(this._el_7, '\n ', null);
this._el_9 = import4.createRenderElement(this.renderer, this._el_7, 'img', new import4.InlineArray8(8, 'alt', '', 'border', '0', 'class', 'logo', 'src', '../../static/images/logo.png'), null);
this._text_10 = this.renderer.createText(this._el_7, '\n ', null);
this._text_11 = this.renderer.createText(this._el_2, '\n\n ', null);
this._el_12 = import4.createRenderElement(this.renderer, this._el_2, 'p', new import4.InlineArray2(2, 'class', 'lead'), null);
this._text_13 = this.renderer.createText(this._el_12, 'Welcome! Click on button below to start!.', null);
this._text_14 = this.renderer.createText(this._el_2, '\n\n ', null);
this._el_15 = import4.createRenderElement(this.renderer, this._el_2, 'p', import4.EMPTY_INLINE_ARRAY, null);
this._text_16 = this.renderer.createText(this._el_15, '\n ', null);
this._el_17 = import4.createRenderElement(this.renderer, this._el_15, 'a', new import4.InlineArray4(4, 'class', 'btn btn-lg btn-success', 'routerLink', '/project/list'), null);
this._RouterLinkWithHref_17_3 = new import11.Wrapper_RouterLinkWithHref(this.parentInjector.get(import12.Router), this.parentInjector.get(import13.ActivatedRoute), this.parentInjector.get(import14.LocationStrategy));
this._text_18 = this.renderer.createText(this._el_17, 'Start', null);
this._text_19 = this.renderer.createText(this._el_15, '\n ', null);
this._text_20 = this.renderer.createText(this._el_2, '\n ', null);
this._text_21 = this.renderer.createText(this._el_0, '\n\n ', null);
this._el_22 = import4.createRenderElement(this.renderer, this._el_0, 'div', new import4.InlineArray2(2, 'class', 'body-content'), null);
this._text_23 = this.renderer.createText(this._el_22, '\n\n ', null);
this._el_24 = import4.createRenderElement(this.renderer, this._el_22, 'div', new import4.InlineArray2(2, 'class', 'row'), null);
this._text_25 = this.renderer.createText(this._el_24, '\n ', null);
this._el_26 = import4.createRenderElement(this.renderer, this._el_24, 'div', new import4.InlineArray2(2, 'class', 'col-lg-4'), null);
this._text_27 = this.renderer.createText(this._el_26, '\n ', null);
this._el_28 = import4.createRenderElement(this.renderer, this._el_26, 'h2', import4.EMPTY_INLINE_ARRAY, null);
this._text_29 = this.renderer.createText(this._el_28, 'Simple structure', null);
this._text_30 = this.renderer.createText(this._el_26, '\n ', null);
this._el_31 = import4.createRenderElement(this.renderer, this._el_26, 'p', import4.EMPTY_INLINE_ARRAY, null);
this._text_32 = this.renderer.createText(this._el_31, 'With a file based structure you can easily versioning all project files', null);
this._text_33 = this.renderer.createText(this._el_26, '\n ', null);
this._text_17 = this.renderer.createText(this._el_4, '\n ', null);
this._el_18 = import4.createRenderElement(this.renderer, this._el_4, 'a', new import4.InlineArray8(6, 'class', 'navbar-brand', 'href', 'javascript: void(0);', 'routerLink', '/home'), null);
this._RouterLinkWithHref_18_3 = new import12.Wrapper_RouterLinkWithHref(this.parentInjector.get(import13.Router), this.parentInjector.get(import14.ActivatedRoute), this.parentInjector.get(import15.LocationStrategy));
this._text_19 = this.renderer.createText(this._el_18, '\n ', null);
this._el_20 = import4.createRenderElement(this.renderer, this._el_18, 'img', new import4.InlineArray8(8, 'alt', '', 'border', '0', 'class', 'logo pull-left', 'src', '../../static/images/logo-header.png'), null);
this._text_21 = this.renderer.createText(this._el_18, '\n GoCI\n ', null);
this._text_22 = this.renderer.createText(this._el_4, '\n ', null);
this._text_23 = this.renderer.createText(this._el_2, '\n ', null);
this._el_24 = import4.createRenderElement(this.renderer, this._el_2, 'div', new import4.InlineArray4(4, 'class', 'collapse navbar-collapse', 'id', 'nav-collapse'), null);
this._text_25 = this.renderer.createText(this._el_24, '\n\n ', null);
this._el_26 = import4.createRenderElement(this.renderer, this._el_24, 'ul', new import4.InlineArray2(2, 'class', 'nav navbar-nav navbar-right'), null);
this._text_27 = this.renderer.createText(this._el_26, '\n ', null);
this._el_28 = import4.createRenderElement(this.renderer, this._el_26, 'li', import4.EMPTY_INLINE_ARRAY, null);
this._text_29 = this.renderer.createText(this._el_28, '\n ', null);
this._el_30 = import4.createRenderElement(this.renderer, this._el_28, 'a', new import4.InlineArray4(4, 'href', 'javascript: void(0);', 'routerLink', '/job/list'), null);
this._RouterLinkWithHref_30_3 = new import12.Wrapper_RouterLinkWithHref(this.parentInjector.get(import13.Router), this.parentInjector.get(import14.ActivatedRoute), this.parentInjector.get(import15.LocationStrategy));
this._text_31 = this.renderer.createText(this._el_30, '\n ', null);
this._el_32 = import4.createRenderElement(this.renderer, this._el_30, 'span', new import4.InlineArray2(2, 'class', 'ph-job-running-list-count'), null);
this._text_33 = this.renderer.createText(this._el_32, '', null);
this._text_34 = this.renderer.createText(this._el_30, '\n ', null);
this._el_35 = import4.createRenderElement(this.renderer, this._el_30, 'span', new import4.InlineArray2(2, 'class', 'ph-job-running-list-text'), null);
this._text_36 = this.renderer.createText(this._el_35, 'jobs', null);
this._text_37 = this.renderer.createText(this._el_30, '\n ', null);
this._text_38 = this.renderer.createText(this._el_28, '\n ', null);
this._text_39 = this.renderer.createText(this._el_26, '\n ', null);
this._el_40 = import4.createRenderElement(this.renderer, this._el_26, 'li', import4.EMPTY_INLINE_ARRAY, null);
this._text_41 = this.renderer.createText(this._el_40, '\n ', null);
this._el_42 = import4.createRenderElement(this.renderer, this._el_40, 'a', new import4.InlineArray4(4, 'href', 'javascript: void(0);', 'routerLink', '/home'), null);
this._RouterLinkWithHref_42_3 = new import12.Wrapper_RouterLinkWithHref(this.parentInjector.get(import13.Router), this.parentInjector.get(import14.ActivatedRoute), this.parentInjector.get(import15.LocationStrategy));
this._text_43 = this.renderer.createText(this._el_42, 'Home', null);
this._text_44 = this.renderer.createText(this._el_40, '\n ', null);
this._text_45 = this.renderer.createText(this._el_26, '\n ', null);
if ((token === import32.UrlSerializer)) { return this._UrlSerializer_47; }
if ((token === import33.RouterOutletMap)) { return this._RouterOutletMap_48; }
if ((token === import5.ROUTER_CONFIGURATION)) { return this._ROUTER_CONFIGURATION_49; }
if ((token === import58.LocationStrategy)) { return this._LocationStrategy_50; }
if ((token === import34.Location)) { return this._Location_51; }
if ((token === import76.NgModuleFactoryLoader)) { return this._NgModuleFactoryLoader_52; }
if ((token === import77.ROUTES)) { return this._ROUTES_53; }
if ((token === import64.Router)) { return this._Router_54; }
if ((token === import36.AuthenticatedGuard)) { return this._AuthenticatedGuard_55; }
if ((token === import37.RealTime)) { return this._RealTime_56; }
if ((token === import38.AuthenticationService)) { return this._AuthenticationService_57; }
if ((token === import39.AuthenticationSandbox)) { return this._AuthenticationSandbox_58; }
if ((token === import40.StockService)) { return this._StockService_59; }
if ((token === import41.WineComService)) { return this._WineComService_60; }
if ((token === import42.StockSandbox)) { return this._StockSandbox_61; }
if ((token === import78.ActivatedRoute)) { return this._ActivatedRoute_62; }
if ((token === import50.APP_BOOTSTRAP_LISTENER)) { return this._APP_BOOTSTRAP_LISTENER_63; }
if ((token === import43.AppSandbox)) { return this._AppSandbox_64; }
if ((token === import79.TRANSLATIONS_FORMAT)) { return this._TRANSLATIONS_FORMAT_65; }
return notFoundResult;
}
destroyInternal():void {
if ((token === import77.Sanitizer)) { return this._Sanitizer_29; }
if ((token === import21.ViewUtils)) { return this._ViewUtils_30; }
if ((token === import78.IterableDiffers)) { return this._IterableDiffers_31; }
if ((token === import79.KeyValueDiffers)) { return this._KeyValueDiffers_32; }
if ((token === import18.SharedStylesHost)) { return this._SharedStylesHost_33; }
if ((token === import22.Title)) { return this._Title_34; }
if ((token === import23.RadioControlRegistry)) { return this._RadioControlRegistry_35; }
if ((token === import7.ROUTER_CONFIGURATION)) { return this._ROUTER_CONFIGURATION_36; }
if ((token === import60.LocationStrategy)) { return this._LocationStrategy_37; }
if ((token === import24.Location)) { return this._Location_38; }
if ((token === import25.UrlSerializer)) { return this._UrlSerializer_39; }
if ((token === import26.RouterOutletMap)) { return this._RouterOutletMap_40; }
if ((token === import80.NgModuleFactoryLoader)) { return this._NgModuleFactoryLoader_41; }
if ((token === import81.ROUTES)) { return this._ROUTES_42; }
if ((token === import70.Router)) { return this._Router_43; }
if ((token === import82.ActivatedRoute)) { return this._ActivatedRoute_44; }
if ((token === import28.NoPreloading)) { return this._NoPreloading_45; }
if ((token === import28.PreloadingStrategy)) { return this._PreloadingStrategy_46; }
if ((token === import28.RouterPreloader)) { return this._RouterPreloader_47; }
if ((token === import28.PreloadAllModules)) { return this._PreloadAllModules_48; }
if ((token === import54.APP_BOOTSTRAP_LISTENER)) { return this._APP_BOOTSTRAP_LISTENER_49; }
if ((token === import29.Ng2ComponentFactory)) { return this._Ng2ComponentFactory_50; }
if ((token === import83.BaseComponentFactory)) { return this._BaseComponentFactory_51; }
if ((token === import30.Ng2FrameworkFactory)) { return this._Ng2FrameworkFactory_52; }
return notFoundResult;
}
destroyInternal():void {
if ((token === import25.UrlSerializer)) {
return this._UrlSerializer_39;
}
if ((token === import26.RouterOutletMap)) {
return this._RouterOutletMap_40;
}
if ((token === import80.NgModuleFactoryLoader)) {
return this._NgModuleFactoryLoader_41;
}
if ((token === import81.ROUTES)) {
return this._ROUTES_42;
}
if ((token === import70.Router)) {
return this._Router_43;
}
if ((token === import82.ActivatedRoute)) {
return this._ActivatedRoute_44;
}
if ((token === import28.NoPreloading)) {
return this._NoPreloading_45;
}
if ((token === import28.PreloadingStrategy)) {
return this._PreloadingStrategy_46;
}
if ((token === import28.RouterPreloader)) {
return this._RouterPreloader_47;
}
if ((token === import28.PreloadAllModules)) {
return this._PreloadAllModules_48;
}
if ((token === import54.APP_BOOTSTRAP_LISTENER)) {
return this._APP_BOOTSTRAP_LISTENER_49;