angular2-data-table
Version:
angular2-data-table is a Angular2 component for presenting large and complex data.
439 lines (438 loc) • 22.8 kB
text/typescript
/**
* @fileoverview This file is generated by the Angular 2 template compiler.
* Do not edit.
* @suppress {suspiciousCode,uselessCode,missingProperties}
*/
/* tslint:disable */
import * as import0 from '../../../../src/components/body/body-cell.component';
import * as import1 from '@angular/core/src/change_detection/change_detection_util';
import * as import2 from '@angular/core/src/linker/view';
import * as import3 from '@angular/core/src/linker/view_utils';
import * as import4 from '@angular/core/src/security';
import * as import5 from '@angular/core/src/render/api';
import * as import6 from '@angular/core/src/metadata/view';
import * as import7 from '@angular/core/src/linker/view_type';
import * as import8 from '@angular/core/src/change_detection/constants';
import * as import9 from '@angular/core/src/linker/component_factory';
import * as import10 from '@angular/core/src/linker/element_ref';
import * as import11 from '@angular/core/src/linker/view_container';
import * as import12 from '../../../node_modules/@angular/common/src/directives/ng_if.ngfactory';
import * as import13 from '@angular/core/src/linker/template_ref';
import * as import14 from '@angular/common/src/directives/ng_if';
import * as import15 from '../../../node_modules/@angular/common/src/directives/ng_template_outlet.ngfactory';
import * as import16 from '@angular/common/src/directives/ng_template_outlet';
export class Wrapper_DataTableBodyCellComponent {
/*private*/ _eventHandler:Function;
context:import0.DataTableBodyCellComponent;
/*private*/ _changed:boolean;
/*private*/ _expr_0:any;
/*private*/ _expr_1:any;
/*private*/ _expr_2:any;
/*private*/ _expr_3:any;
/*private*/ _expr_4:any;
/*private*/ _expr_5:any;
/*private*/ _expr_6:any;
/*private*/ _expr_7:any;
/*private*/ _expr_8:any;
/*private*/ _expr_9:any;
/*private*/ _expr_10:any;
subscription0:any;
constructor(p0:any) {
this._changed = false;
this.context = new import0.DataTableBodyCellComponent(p0);
this._expr_0 = import1.UNINITIALIZED;
this._expr_1 = import1.UNINITIALIZED;
this._expr_2 = import1.UNINITIALIZED;
this._expr_3 = import1.UNINITIALIZED;
this._expr_4 = import1.UNINITIALIZED;
this._expr_5 = import1.UNINITIALIZED;
this._expr_6 = import1.UNINITIALIZED;
this._expr_7 = import1.UNINITIALIZED;
this._expr_8 = import1.UNINITIALIZED;
this._expr_9 = import1.UNINITIALIZED;
this._expr_10 = import1.UNINITIALIZED;
}
ngOnDetach(view:import2.AppView<any>,componentView:import2.AppView<any>,el:any):void {
}
ngOnDestroy():void {
(this.subscription0 && this.subscription0.unsubscribe());
}
check_row(currValue:any,throwOnChange:boolean,forceUpdate:boolean):void {
if ((forceUpdate || import3.checkBinding(throwOnChange,this._expr_0,currValue))) {
this._changed = true;
this.context.row = currValue;
this._expr_0 = currValue;
}
}
check_column(currValue:any,throwOnChange:boolean,forceUpdate:boolean):void {
if ((forceUpdate || import3.checkBinding(throwOnChange,this._expr_1,currValue))) {
this._changed = true;
this.context.column = currValue;
this._expr_1 = currValue;
}
}
check_rowHeight(currValue:any,throwOnChange:boolean,forceUpdate:boolean):void {
if ((forceUpdate || import3.checkBinding(throwOnChange,this._expr_2,currValue))) {
this._changed = true;
this.context.rowHeight = currValue;
this._expr_2 = currValue;
}
}
check_isSelected(currValue:any,throwOnChange:boolean,forceUpdate:boolean):void {
if ((forceUpdate || import3.checkBinding(throwOnChange,this._expr_3,currValue))) {
this._changed = true;
this.context.isSelected = currValue;
this._expr_3 = currValue;
}
}
check_sorts(currValue:any,throwOnChange:boolean,forceUpdate:boolean):void {
if ((forceUpdate || import3.checkBinding(throwOnChange,this._expr_4,currValue))) {
this._changed = true;
this.context.sorts = currValue;
this._expr_4 = currValue;
}
}
ngDoCheck(view:import2.AppView<any>,el:any,throwOnChange:boolean):boolean {
var changed:any = this._changed;
this._changed = false;
return changed;
}
checkHost(view:import2.AppView<any>,componentView:import2.AppView<any>,el:any,throwOnChange:boolean):void {
const currVal_5:any = this.context.isFocused;
if (import3.checkBinding(throwOnChange,this._expr_5,currVal_5)) {
view.renderer.setElementClass(el,'active',currVal_5);
this._expr_5 = currVal_5;
}
const currVal_6:any = this.context.isSortActive;
if (import3.checkBinding(throwOnChange,this._expr_6,currVal_6)) {
view.renderer.setElementClass(el,'sort-active',currVal_6);
this._expr_6 = currVal_6;
}
const currVal_7:any = this.context.isSortAscending;
if (import3.checkBinding(throwOnChange,this._expr_7,currVal_7)) {
view.renderer.setElementClass(el,'sort-asc',currVal_7);
this._expr_7 = currVal_7;
}
const currVal_8:any = this.context.isSortDescending;
if (import3.checkBinding(throwOnChange,this._expr_8,currVal_8)) {
view.renderer.setElementClass(el,'sort-desc',currVal_8);
this._expr_8 = currVal_8;
}
const currVal_9:any = this.context.width;
if (import3.checkBinding(throwOnChange,this._expr_9,currVal_9)) {
view.renderer.setElementStyle(el,'width',((view.viewUtils.sanitizer.sanitize(import4.SecurityContext.STYLE,currVal_9) == null)? (null as any): (view.viewUtils.sanitizer.sanitize(import4.SecurityContext.STYLE,currVal_9).toString() + 'px')));
this._expr_9 = currVal_9;
}
const currVal_10:any = this.context.height;
if (import3.checkBinding(throwOnChange,this._expr_10,currVal_10)) {
view.renderer.setElementStyle(el,'height',((view.viewUtils.sanitizer.sanitize(import4.SecurityContext.STYLE,currVal_10) == null)? (null as any): view.viewUtils.sanitizer.sanitize(import4.SecurityContext.STYLE,currVal_10).toString()));
this._expr_10 = currVal_10;
}
}
handleEvent(eventName:string,$event:any):boolean {
var result:boolean = true;
if ((eventName == 'focus')) {
const pd_sub_0:any = ((<any>this.context.onFocus()) !== false);
result = (pd_sub_0 && result);
}
if ((eventName == 'blur')) {
const pd_sub_1:any = ((<any>this.context.onBlur()) !== false);
result = (pd_sub_1 && result);
}
if ((eventName == 'click')) {
const pd_sub_2:any = ((<any>this.context.onClick($event)) !== false);
result = (pd_sub_2 && result);
}
if ((eventName == 'dblclick')) {
const pd_sub_3:any = ((<any>this.context.onDblClick($event)) !== false);
result = (pd_sub_3 && result);
}
if ((eventName == 'keydown')) {
const pd_sub_4:any = ((<any>this.context.onKeyDown($event)) !== false);
result = (pd_sub_4 && result);
}
return result;
}
subscribe(view:import2.AppView<any>,_eventHandler:any,emit0:boolean):void {
this._eventHandler = _eventHandler;
if (emit0) { (this.subscription0 = this.context.activate.subscribe(_eventHandler.bind(view,'activate'))); }
}
}
var renderType_DataTableBodyCellComponent_Host:import5.RenderComponentType = import3.createRenderComponentType('',0,import6.ViewEncapsulation.None,([] as any[]),{});
class View_DataTableBodyCellComponent_Host0 extends import2.AppView<any> {
_el_0:any;
compView_0:import2.AppView<import0.DataTableBodyCellComponent>;
_DataTableBodyCellComponent_0_3:Wrapper_DataTableBodyCellComponent;
constructor(viewUtils:import3.ViewUtils,parentView:import2.AppView<any>,parentIndex:number,parentElement:any) {
super(View_DataTableBodyCellComponent_Host0,renderType_DataTableBodyCellComponent_Host,import7.ViewType.HOST,viewUtils,parentView,parentIndex,parentElement,import8.ChangeDetectorStatus.CheckAlways);
}
createInternal(rootSelector:string):import9.ComponentRef<any> {
this._el_0 = import3.selectOrCreateRenderHostElement(this.renderer,'datatable-body-cell',new import3.InlineArray2(2,'class','datatable-body-cell'),rootSelector,(null as any));
this.compView_0 = new View_DataTableBodyCellComponent0(this.viewUtils,this,0,this._el_0);
this._DataTableBodyCellComponent_0_3 = new Wrapper_DataTableBodyCellComponent(new import10.ElementRef(this._el_0));
this.compView_0.create(this._DataTableBodyCellComponent_0_3.context);
var disposable_0:Function = import3.subscribeToRenderElement(this,this._el_0,new import3.InlineArray16(10,'focus',(null as any),'blur',(null as any),'click',(null as any),'dblclick',(null as any),'keydown',(null as any)),this.eventHandler(this.handleEvent_0));
this.init(this._el_0,((<any>this.renderer).directRenderer? (null as any): [this._el_0]),[disposable_0]);
return new import9.ComponentRef_<any>(0,this,this._el_0,this._DataTableBodyCellComponent_0_3.context);
}
injectorGetInternal(token:any,requestNodeIndex:number,notFoundResult:any):any {
if (((token === import0.DataTableBodyCellComponent) && (0 === requestNodeIndex))) { return this._DataTableBodyCellComponent_0_3.context; }
return notFoundResult;
}
detectChangesInternal(throwOnChange:boolean):void {
this._DataTableBodyCellComponent_0_3.ngDoCheck(this,this._el_0,throwOnChange);
this._DataTableBodyCellComponent_0_3.checkHost(this,this.compView_0,this._el_0,throwOnChange);
this.compView_0.internalDetectChanges(throwOnChange);
}
destroyInternal():void {
this.compView_0.destroy();
this._DataTableBodyCellComponent_0_3.ngOnDestroy();
}
visitRootNodesInternal(cb:any,ctx:any):void {
cb(this._el_0,ctx);
}
handleEvent_0(eventName:string,$event:any):boolean {
this.compView_0.markPathToRootAsCheckOnce();
var result:boolean = true;
result = (this._DataTableBodyCellComponent_0_3.handleEvent(eventName,$event) && result);
return result;
}
}
export const DataTableBodyCellComponentNgFactory:import9.ComponentFactory<import0.DataTableBodyCellComponent> = new import9.ComponentFactory<import0.DataTableBodyCellComponent>('datatable-body-cell',View_DataTableBodyCellComponent_Host0,import0.DataTableBodyCellComponent);
const styles_DataTableBodyCellComponent:any[] = ([] as any[]);
var renderType_DataTableBodyCellComponent:import5.RenderComponentType = import3.createRenderComponentType('',0,import6.ViewEncapsulation.None,styles_DataTableBodyCellComponent,{});
export class View_DataTableBodyCellComponent0 extends import2.AppView<import0.DataTableBodyCellComponent> {
_text_0:any;
_el_1:any;
_text_2:any;
_anchor_3:any;
/*private*/ _vc_3:import11.ViewContainer;
_TemplateRef_3_5:any;
_NgIf_3_6:import12.Wrapper_NgIf;
_text_4:any;
_anchor_5:any;
/*private*/ _vc_5:import11.ViewContainer;
_TemplateRef_5_5:any;
_NgIf_5_6:import12.Wrapper_NgIf;
_text_6:any;
_anchor_7:any;
/*private*/ _vc_7:import11.ViewContainer;
_TemplateRef_7_5:any;
_NgIf_7_6:import12.Wrapper_NgIf;
_text_8:any;
_text_9:any;
constructor(viewUtils:import3.ViewUtils,parentView:import2.AppView<any>,parentIndex:number,parentElement:any) {
super(View_DataTableBodyCellComponent0,renderType_DataTableBodyCellComponent,import7.ViewType.COMPONENT,viewUtils,parentView,parentIndex,parentElement,import8.ChangeDetectorStatus.CheckAlways);
}
createInternal(rootSelector:string):import9.ComponentRef<any> {
const parentRenderNode:any = this.renderer.createViewRoot(this.parentElement);
this._text_0 = this.renderer.createText(parentRenderNode,'\n ',(null as any));
this._el_1 = import3.createRenderElement(this.renderer,parentRenderNode,'div',new import3.InlineArray2(2,'class','datatable-body-cell-label'),(null as any));
this._text_2 = this.renderer.createText(this._el_1,'\n ',(null as any));
this._anchor_3 = this.renderer.createTemplateAnchor(this._el_1,(null as any));
this._vc_3 = new import11.ViewContainer(3,1,this,this._anchor_3);
this._TemplateRef_3_5 = new import13.TemplateRef_(this,3,this._anchor_3);
this._NgIf_3_6 = new import12.Wrapper_NgIf(this._vc_3.vcRef,this._TemplateRef_3_5);
this._text_4 = this.renderer.createText(this._el_1,'\n ',(null as any));
this._anchor_5 = this.renderer.createTemplateAnchor(this._el_1,(null as any));
this._vc_5 = new import11.ViewContainer(5,1,this,this._anchor_5);
this._TemplateRef_5_5 = new import13.TemplateRef_(this,5,this._anchor_5);
this._NgIf_5_6 = new import12.Wrapper_NgIf(this._vc_5.vcRef,this._TemplateRef_5_5);
this._text_6 = this.renderer.createText(this._el_1,'\n ',(null as any));
this._anchor_7 = this.renderer.createTemplateAnchor(this._el_1,(null as any));
this._vc_7 = new import11.ViewContainer(7,1,this,this._anchor_7);
this._TemplateRef_7_5 = new import13.TemplateRef_(this,7,this._anchor_7);
this._NgIf_7_6 = new import12.Wrapper_NgIf(this._vc_7.vcRef,this._TemplateRef_7_5);
this._text_8 = this.renderer.createText(this._el_1,'\n ',(null as any));
this._text_9 = this.renderer.createText(parentRenderNode,'\n ',(null as any));
this.init((null as any),((<any>this.renderer).directRenderer? (null as any): [
this._text_0,
this._el_1,
this._text_2,
this._anchor_3,
this._text_4,
this._anchor_5,
this._text_6,
this._anchor_7,
this._text_8,
this._text_9
]
),(null as any));
return (null as any);
}
injectorGetInternal(token:any,requestNodeIndex:number,notFoundResult:any):any {
if (((token === import13.TemplateRef) && (3 === requestNodeIndex))) { return this._TemplateRef_3_5; }
if (((token === import14.NgIf) && (3 === requestNodeIndex))) { return this._NgIf_3_6.context; }
if (((token === import13.TemplateRef) && (5 === requestNodeIndex))) { return this._TemplateRef_5_5; }
if (((token === import14.NgIf) && (5 === requestNodeIndex))) { return this._NgIf_5_6.context; }
if (((token === import13.TemplateRef) && (7 === requestNodeIndex))) { return this._TemplateRef_7_5; }
if (((token === import14.NgIf) && (7 === requestNodeIndex))) { return this._NgIf_7_6.context; }
return notFoundResult;
}
detectChangesInternal(throwOnChange:boolean):void {
const currVal_3_0_0:any = this.context.column.checkboxable;
this._NgIf_3_6.check_ngIf(currVal_3_0_0,throwOnChange,false);
this._NgIf_3_6.ngDoCheck(this,this._anchor_3,throwOnChange);
const currVal_5_0_0:boolean = !this.context.column.cellTemplate;
this._NgIf_5_6.check_ngIf(currVal_5_0_0,throwOnChange,false);
this._NgIf_5_6.ngDoCheck(this,this._anchor_5,throwOnChange);
const currVal_7_0_0:any = this.context.column.cellTemplate;
this._NgIf_7_6.check_ngIf(currVal_7_0_0,throwOnChange,false);
this._NgIf_7_6.ngDoCheck(this,this._anchor_7,throwOnChange);
this._vc_3.detectChangesInNestedViews(throwOnChange);
this._vc_5.detectChangesInNestedViews(throwOnChange);
this._vc_7.detectChangesInNestedViews(throwOnChange);
}
destroyInternal():void {
this._vc_3.destroyNestedViews();
this._vc_5.destroyNestedViews();
this._vc_7.destroyNestedViews();
}
createEmbeddedViewInternal(nodeIndex:number):import2.AppView<any> {
if ((nodeIndex == 3)) { return new View_DataTableBodyCellComponent1(this.viewUtils,this,3,this._anchor_3,this._vc_3); }
if ((nodeIndex == 5)) { return new View_DataTableBodyCellComponent2(this.viewUtils,this,5,this._anchor_5,this._vc_5); }
if ((nodeIndex == 7)) { return new View_DataTableBodyCellComponent3(this.viewUtils,this,7,this._anchor_7,this._vc_7); }
return (null as any);
}
}
class View_DataTableBodyCellComponent1 extends import2.AppView<any> {
_el_0:any;
_text_1:any;
_el_2:any;
_text_3:any;
/*private*/ _expr_4:any;
constructor(viewUtils:import3.ViewUtils,parentView:import2.AppView<any>,parentIndex:number,parentElement:any,declaredViewContainer:import11.ViewContainer) {
super(View_DataTableBodyCellComponent1,renderType_DataTableBodyCellComponent,import7.ViewType.EMBEDDED,viewUtils,parentView,parentIndex,parentElement,import8.ChangeDetectorStatus.CheckAlways,declaredViewContainer);
this._expr_4 = import1.UNINITIALIZED;
}
createInternal(rootSelector:string):import9.ComponentRef<any> {
this._el_0 = import3.createRenderElement(this.renderer,(null as any),'label',new import3.InlineArray2(2,'class','datatable-checkbox'),(null as any));
this._text_1 = this.renderer.createText(this._el_0,'\n ',(null as any));
this._el_2 = import3.createRenderElement(this.renderer,this._el_0,'input',new import3.InlineArray2(2,'type','checkbox'),(null as any));
this._text_3 = this.renderer.createText(this._el_0,'\n ',(null as any));
var disposable_0:Function = import3.subscribeToRenderElement(this,this._el_2,new import3.InlineArray2(2,'click',(null as any)),this.eventHandler(this.handleEvent_2));
this.init(this._el_0,((<any>this.renderer).directRenderer? (null as any): [
this._el_0,
this._text_1,
this._el_2,
this._text_3
]
),[disposable_0]);
return (null as any);
}
detectChangesInternal(throwOnChange:boolean):void {
const currVal_4:any = this.parentView.context.isSelected;
if (import3.checkBinding(throwOnChange,this._expr_4,currVal_4)) {
this.renderer.setElementProperty(this._el_2,'checked',currVal_4);
this._expr_4 = currVal_4;
}
}
visitRootNodesInternal(cb:any,ctx:any):void {
cb(this._el_0,ctx);
}
handleEvent_2(eventName:string,$event:any):boolean {
this.markPathToRootAsCheckOnce();
var result:boolean = true;
if ((eventName == 'click')) {
const pd_sub_0:any = ((<any>this.parentView.context.onCheckboxChange($event)) !== false);
result = (pd_sub_0 && result);
}
return result;
}
}
class View_DataTableBodyCellComponent2 extends import2.AppView<any> {
_el_0:any;
_text_1:any;
/*private*/ _expr_2:any;
constructor(viewUtils:import3.ViewUtils,parentView:import2.AppView<any>,parentIndex:number,parentElement:any,declaredViewContainer:import11.ViewContainer) {
super(View_DataTableBodyCellComponent2,renderType_DataTableBodyCellComponent,import7.ViewType.EMBEDDED,viewUtils,parentView,parentIndex,parentElement,import8.ChangeDetectorStatus.CheckAlways,declaredViewContainer);
this._expr_2 = import1.UNINITIALIZED;
}
createInternal(rootSelector:string):import9.ComponentRef<any> {
this._el_0 = import3.createRenderElement(this.renderer,(null as any),'span',import3.EMPTY_INLINE_ARRAY,(null as any));
this._text_1 = this.renderer.createText(this._el_0,'\n ',(null as any));
this.init(this._el_0,((<any>this.renderer).directRenderer? (null as any): [
this._el_0,
this._text_1
]
),(null as any));
return (null as any);
}
detectChangesInternal(throwOnChange:boolean):void {
const currVal_2:any = this.parentView.context.value;
if (import3.checkBinding(throwOnChange,this._expr_2,currVal_2)) {
this.renderer.setElementProperty(this._el_0,'innerHTML',this.viewUtils.sanitizer.sanitize(import4.SecurityContext.HTML,currVal_2));
this._expr_2 = currVal_2;
}
}
visitRootNodesInternal(cb:any,ctx:any):void {
cb(this._el_0,ctx);
}
}
class View_DataTableBodyCellComponent3 extends import2.AppView<any> {
_anchor_0:any;
/*private*/ _vc_0:import11.ViewContainer;
_TemplateRef_0_5:any;
_NgTemplateOutlet_0_6:import15.Wrapper_NgTemplateOutlet;
_el_1:any;
_map_5:any;
constructor(viewUtils:import3.ViewUtils,parentView:import2.AppView<any>,parentIndex:number,parentElement:any,declaredViewContainer:import11.ViewContainer) {
super(View_DataTableBodyCellComponent3,renderType_DataTableBodyCellComponent,import7.ViewType.EMBEDDED,viewUtils,parentView,parentIndex,parentElement,import8.ChangeDetectorStatus.CheckAlways,declaredViewContainer);
this._map_5 = import3.pureProxy3((p0:any,p1:any,p2:any):{[key: string]:any} => {
return {
value: p0,
row: p1,
column: p2
}
;
});
}
createInternal(rootSelector:string):import9.ComponentRef<any> {
this._anchor_0 = this.renderer.createTemplateAnchor((null as any),(null as any));
this._vc_0 = new import11.ViewContainer(0,(null as any),this,this._anchor_0);
this._TemplateRef_0_5 = new import13.TemplateRef_(this,0,this._anchor_0);
this._NgTemplateOutlet_0_6 = new import15.Wrapper_NgTemplateOutlet(this._vc_0.vcRef);
this._el_1 = this.renderer.createTemplateAnchor((null as any),(null as any));
this.init(this._el_1,((<any>this.renderer).directRenderer? (null as any): [this._anchor_0]),(null as any));
return (null as any);
}
injectorGetInternal(token:any,requestNodeIndex:number,notFoundResult:any):any {
if (((token === import13.TemplateRef) && (0 === requestNodeIndex))) { return this._TemplateRef_0_5; }
if (((token === import16.NgTemplateOutlet) && (0 === requestNodeIndex))) { return this._NgTemplateOutlet_0_6.context; }
return notFoundResult;
}
detectChangesInternal(throwOnChange:boolean):void {
const currVal_0_0_0:any = this._map_5(this.parentView.context.value,this.parentView.context.row,this.parentView.context.column);
this._NgTemplateOutlet_0_6.check_ngOutletContext(currVal_0_0_0,throwOnChange,false);
const currVal_0_0_1:any = this.parentView.context.column.cellTemplate;
this._NgTemplateOutlet_0_6.check_ngTemplateOutlet(currVal_0_0_1,throwOnChange,false);
this._NgTemplateOutlet_0_6.ngDoCheck(this,this._anchor_0,throwOnChange);
this._vc_0.detectChangesInNestedViews(throwOnChange);
}
destroyInternal():void {
this._vc_0.destroyNestedViews();
}
visitRootNodesInternal(cb:any,ctx:any):void {
cb(this._vc_0.nativeElement,ctx);
this._vc_0.visitNestedViewRootNodes(cb,ctx);
cb(this._el_1,ctx);
}
createEmbeddedViewInternal(nodeIndex:number):import2.AppView<any> {
if ((nodeIndex == 0)) { return new View_DataTableBodyCellComponent4(this.viewUtils,this,0,this._anchor_0,this._vc_0); }
return (null as any);
}
}
class View_DataTableBodyCellComponent4 extends import2.AppView<any> {
_text_0:any;
constructor(viewUtils:import3.ViewUtils,parentView:import2.AppView<any>,parentIndex:number,parentElement:any,declaredViewContainer:import11.ViewContainer) {
super(View_DataTableBodyCellComponent4,renderType_DataTableBodyCellComponent,import7.ViewType.EMBEDDED,viewUtils,parentView,parentIndex,parentElement,import8.ChangeDetectorStatus.CheckAlways,declaredViewContainer);
}
createInternal(rootSelector:string):import9.ComponentRef<any> {
this._text_0 = this.renderer.createText((null as any),'\n ',(null as any));
this.init(this._text_0,((<any>this.renderer).directRenderer? (null as any): [this._text_0]),(null as any));
return (null as any);
}
visitRootNodesInternal(cb:any,ctx:any):void {
cb(this._text_0,ctx);
}
}