/**
 * This file is generated by the Angular 2 template compiler.
 * Do not edit.
 */
 /* tslint:disable */

import * as import0 from '@angular/core/src/render/api';
import * as import1 from '@angular/core/src/linker/view';
import * as import2 from '@angular/core/src/linker/element';
import * as import3 from './item-sliding';
import * as import4 from '@angular/core/src/linker/query_list';
import * as import5 from '@angular/core/src/linker/view_utils';
import * as import6 from '@angular/core/src/di/injector';
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 '../list/list';
import * as import10 from '@angular/core/src/linker/element_ref';
import * as import11 from '@angular/core/src/metadata/view';
import * as import12 from '@angular/core/src/linker/component_factory';
var renderType_ItemSliding_Host:import0.RenderComponentType = (null as any);
class _View_ItemSliding_Host0 extends import1.AppView<any> {
  _el_0:any;
  /*private*/ _appEl_0:import2.AppElement;
  _ItemSliding_0_4:import3.ItemSliding;
  _query_Item_0_0:import4.QueryList<any>;
  _query_ItemOptions_0_1:import4.QueryList<any>;
  constructor(viewUtils:import5.ViewUtils,parentInjector:import6.Injector,declarationEl:import2.AppElement) {
    super(_View_ItemSliding_Host0,renderType_ItemSliding_Host,import7.ViewType.HOST,viewUtils,parentInjector,declarationEl,import8.ChangeDetectorStatus.CheckAlways);
  }
  createInternal(rootSelector:string):import2.AppElement {
    this._el_0 = this.selectOrCreateHostElement('ion-item-sliding',rootSelector,(null as any));
    this._appEl_0 = new import2.AppElement(0,(null as any),this,this._el_0);
    var compView_0:any = viewFactory_ItemSliding0(this.viewUtils,this.injector(0),this._appEl_0);
    this._ItemSliding_0_4 = new import3.ItemSliding(this.parentInjector.get(import9.List,(null as any)),this.renderer,new import10.ElementRef(this._el_0));
    this._query_Item_0_0 = new import4.QueryList<any>();
    this._query_ItemOptions_0_1 = new import4.QueryList<any>();
    this._appEl_0.initComponent(this._ItemSliding_0_4,[],compView_0);
    this._query_Item_0_0.reset([]);
    this._ItemSliding_0_4.item = this._query_Item_0_0.first;
    compView_0.create(this._ItemSliding_0_4,this.projectableNodes,(null as any));
    this.init([].concat([this._el_0]),[this._el_0],[],[]);
    return this._appEl_0;
  }
  injectorGetInternal(token:any,requestNodeIndex:number,notFoundResult:any):any {
    if (((token === import3.ItemSliding) && (0 === requestNodeIndex))) { return this._ItemSliding_0_4; }
    return notFoundResult;
  }
  detectChangesInternal(throwOnChange:boolean):void {
    this.detectContentChildrenChanges(throwOnChange);
    if (!throwOnChange) { if (this._query_ItemOptions_0_1.dirty) {
      this._query_ItemOptions_0_1.reset([]);
      this._ItemSliding_0_4._itemOptions = this._query_ItemOptions_0_1;
      this._query_ItemOptions_0_1.notifyOnChanges();
    } }
    this.detectViewChildrenChanges(throwOnChange);
  }
}
function viewFactory_ItemSliding_Host0(viewUtils:import5.ViewUtils,parentInjector:import6.Injector,declarationEl:import2.AppElement):import1.AppView<any> {
  if ((renderType_ItemSliding_Host === (null as any))) { (renderType_ItemSliding_Host = viewUtils.createRenderComponentType('',0,import11.ViewEncapsulation.None,[],{})); }
  return new _View_ItemSliding_Host0(viewUtils,parentInjector,declarationEl);
}
export const ItemSlidingNgFactory:import12.ComponentFactory<import3.ItemSliding> = new import12.ComponentFactory<import3.ItemSliding>('ion-item-sliding',viewFactory_ItemSliding_Host0,import3.ItemSliding);
const styles_ItemSliding:any[] = [];
var renderType_ItemSliding:import0.RenderComponentType = (null as any);
class _View_ItemSliding0 extends import1.AppView<import3.ItemSliding> {
  _text_0:any;
  _text_1:any;
  _text_2:any;
  constructor(viewUtils:import5.ViewUtils,parentInjector:import6.Injector,declarationEl:import2.AppElement) {
    super(_View_ItemSliding0,renderType_ItemSliding,import7.ViewType.COMPONENT,viewUtils,parentInjector,declarationEl,import8.ChangeDetectorStatus.CheckOnce);
  }
  createInternal(rootSelector:string):import2.AppElement {
    const parentRenderNode:any = this.renderer.createViewRoot(this.declarationAppElement.nativeElement);
    this._text_0 = this.renderer.createText(parentRenderNode,'\n    ',(null as any));
    this.renderer.projectNodes(parentRenderNode,import5.flattenNestedViewRenderNodes(this.projectableNodes[0]));
    this._text_1 = this.renderer.createText(parentRenderNode,'\n    ',(null as any));
    this.renderer.projectNodes(parentRenderNode,import5.flattenNestedViewRenderNodes(this.projectableNodes[1]));
    this._text_2 = this.renderer.createText(parentRenderNode,'\n  ',(null as any));
    this.init([],[
      this._text_0,
      this._text_1,
      this._text_2
    ]
    ,[],[]);
    return (null as any);
  }
}
export function viewFactory_ItemSliding0(viewUtils:import5.ViewUtils,parentInjector:import6.Injector,declarationEl:import2.AppElement):import1.AppView<import3.ItemSliding> {
  if ((renderType_ItemSliding === (null as any))) { (renderType_ItemSliding = viewUtils.createRenderComponentType('/Users/dan/Dev/ionic2-build/dist/ionic-angular/esm/components/item/item-sliding.ts class ItemSliding - inline template',2,import11.ViewEncapsulation.None,styles_ItemSliding,{})); }
  return new _View_ItemSliding0(viewUtils,parentInjector,declarationEl);
}