[{"__symbolic":"module","version":3,"metadata":{"tmpl":"<p *ngIf=\"! storeData.loaded &amp;&amp; loading\"><span class=\"ibm-spinner\"></span>&nbsp;Loading...</p><div *ngIf=\"spinner &amp;&amp; storeData.loaded\" [ngClass]=\"formSpecs?.spinner\"></div><div [ngSwitch]=\"formSpecs.type\" [hidden]=\"! storeData.loaded\" ioLayout=\"row\" layout-wrap=\"\"><p-dataTable *ngSwitchCase=\"'dataTable'\" ([selection])=\"dataListItem\" (onLazyLoad)=\"Lazyload($event)\" (onRowExpand)=\"onRowExpand($event)\" (onRowSelect)=\"onRowSelect($event)\" [expandableRows]=\"formSpecs?.expandableRows || true\" [first]=\"storeData.query.first\" [lazy]=\"formSpecs?.lazy || true\" [paginator]=\"paginator\" [responsive]=\"true\" [rows]=\"storeData.query.rows\" [scrollHeight]=\"formSpecs?.scrollHeight\" [scrollWidth]=\"formSpecs?.scrollWidth\" [scrollable]=\"formSpecs?.scrollable || false\" [selectionMode]=\"formSpecs.selectionMode\" [styleClass]=\"formSpecs?.styleClass\" [style]=\"formSpecs?.style\" [tableStyle]=\"formSpecs?.tableStyle\" [totalRecords]=\"storeData.totalRecords\" [value]=\"storeData.records\"><p-column *ngIf=\"formSpecs.selectionModeColumn\" [selectionMode]=\"formSpecs.selectionModeColumn\" [style]=\"formSpecs.selectionModeColumnStyle\"></p-column><p-column *ngIf=\"isType('links')\" styleClass=\"col-icon\" expander=\"true\"></p-column><ng-template let-item=\"\" pTemplate=\"rowexpansion\"><ng-template ngFor=\"\" [ngForOf]=\"detailsType\" let-type=\"\"><df-links [links]=\"links\" [item]=\"item\" *ngIf=\"type === 'links'\"></df-links><df-standard-form [locals]=\"formLocals\" [values]=\"item\" *ngIf=\"type === 'form'\"></df-standard-form></ng-template></ng-template><p-column *ngFor=\"let col of formSpecs.columns\" [field]=\"col.field\" [header]=\"col.header\" [style]=\"col.style\"><ng-template *ngIf=\"col.showBpImg\" let-item=\"rowData\" pTemplate=\"body\" let-col=\"\"><df-bp-img [key]=\"item[col.field]\" [showName]=\"false\"></df-bp-img></ng-template><ng-template *ngIf=\"col.format &amp;&amp; col.format==='date'\" let-item=\"rowData\" pTemplate=\"body\" let-col=\"\"><span [innerText]=\"item[col.field] | date: 'yyyy-MM-dd'\"></span></ng-template><ng-template *ngIf=\"col.format &amp;&amp; col.format==='datetime'\" let-item=\"rowData\" pTemplate=\"body\" let-col=\"\"><span [innerText]=\"item[col.field] | date: 'yyyy-MM-dd HH:mm:ss'\"></span></ng-template><ng-template *ngIf=\"col.multi\" let-item=\"rowData\" pTemplate=\"body\"><span [innerText]=\"concatMulti(item[col.field],col.concat)\"></span></ng-template><ng-template *ngIf=\"col.object\" let-item=\"rowData\" pTemplate=\"body\"><span [innerText]=\"item[col.field][col.subfield]\"></span></ng-template><ng-template *ngIf=\"col.color\" let-item=\"rowData\" pTemplate=\"body\"><span [innerText]=\"item[col.field]\" [style.color]=\"col.color\"></span></ng-template><ng-template *ngIf=\"col.button\" let-item=\"rowData\" pTemplate=\"body\" let-i=\"rowIndex\"><button type=\"button\" pButton=\"\" (click)=\"getResult({action: col.action,values: item, index : i})\" [icon]=\"col.icon\"></button></ng-template><ng-template *ngIf=\"col.image\" let-item=\"rowData\" pTemplate=\"body\"><i [ngClass]=\"col.class\" [ngStyle]=\"{'color':getValue(item,col.field,col.subfield)}\"></i></ng-template></p-column><p-footer *ngIf=\"formSpecs.footer\"><div class=\"ui-helper-clearfix\" *ngIf=\"paginator\"> {{formSpecs.footer.label}}  {{storeData[formSpecs.footer.data]}}</div><div class=\"ui-helper-clearfix\" *ngIf=\"formSpecs.footer.buttons\" style=\"width:100%;\"><ng-template ngFor=\"\" [ngForOf]=\"formSpecs.footer.buttons\" let-button=\"\" let=\"let\" i=\"index\"><button type=\"button\" pButton=\"\" [icon]=\"button.icon\" style=\"float:left;\" (click)=\"getResult({action:button.action,specs:formSpecs})\" [label]=\"button.label\"></button></ng-template></div></p-footer></p-dataTable><p-dataList *ngSwitchCase=\"'dataList'\" [value]=\"storeData.records\" [paginator]=\"paginator\" [rows]=\"storeData.query.rows\" [lazy]=\"true\" [totalRecords]=\"storeData.totalRecords\" (onLazyLoad)=\"Lazyload($event)\"><p-header>{{formSpecs.header || ''}}</p-header><ng-template let-item=\"\" pTemplate=\"item\"><div class=\"ui-grid ui-grid-responsive ui-fluid\"><div class=\"ui-grid-row\" *ngFor=\"let col of formSpecs.columns\"><div class=\"ui-grid-col-2\">{{col.header}}:</div><div class=\"ui-grid-col-10\">{{item[col.field]}}</div></div></div></ng-template></p-dataList><p-treeTable *ngSwitchCase=\"'treeTable'\" [value]=\"storeData.records\" (onNodeExpand)=\"loadNode($event)\"><p-header *ngIf=\"formSpecs.header\">{{formSpecs.header}}</p-header><p-column *ngFor=\"let col of formSpecs.columns\" [field]=\"col.field\" [header]=\"col.header\" [style]=\"col.style\"></p-column><p-footer *ngIf=\"formSpecs.footer\">{{formSpecs.footer.label}}  {{storeData[formSpecs.footer.data]}}</p-footer></p-treeTable><p-tree *ngSwitchCase=\"'tree'\" [value]=\"storeData.records\"></p-tree></div>"}},{"__symbolic":"module","version":1,"metadata":{"tmpl":"<p *ngIf=\"! storeData.loaded &amp;&amp; loading\"><span class=\"ibm-spinner\"></span>&nbsp;Loading...</p><div *ngIf=\"spinner &amp;&amp; storeData.loaded\" [ngClass]=\"formSpecs?.spinner\"></div><div [ngSwitch]=\"formSpecs.type\" [hidden]=\"! storeData.loaded\" ioLayout=\"row\" layout-wrap=\"\"><p-dataTable *ngSwitchCase=\"'dataTable'\" ([selection])=\"dataListItem\" (onLazyLoad)=\"Lazyload($event)\" (onRowExpand)=\"onRowExpand($event)\" (onRowSelect)=\"onRowSelect($event)\" [expandableRows]=\"formSpecs?.expandableRows || true\" [first]=\"storeData.query.first\" [lazy]=\"formSpecs?.lazy || true\" [paginator]=\"paginator\" [responsive]=\"true\" [rows]=\"storeData.query.rows\" [scrollHeight]=\"formSpecs?.scrollHeight\" [scrollWidth]=\"formSpecs?.scrollWidth\" [scrollable]=\"formSpecs?.scrollable || false\" [selectionMode]=\"formSpecs.selectionMode\" [styleClass]=\"formSpecs?.styleClass\" [style]=\"formSpecs?.style\" [tableStyle]=\"formSpecs?.tableStyle\" [totalRecords]=\"storeData.totalRecords\" [value]=\"storeData.records\"><p-column *ngIf=\"formSpecs.selectionModeColumn\" [selectionMode]=\"formSpecs.selectionModeColumn\" [style]=\"formSpecs.selectionModeColumnStyle\"></p-column><p-column *ngIf=\"isType('links')\" styleClass=\"col-icon\" expander=\"true\"></p-column><ng-template let-item=\"\" pTemplate=\"rowexpansion\"><ng-template ngFor=\"\" [ngForOf]=\"detailsType\" let-type=\"\"><df-links [links]=\"links\" [item]=\"item\" *ngIf=\"type === 'links'\"></df-links><df-standard-form [locals]=\"formLocals\" [values]=\"item\" *ngIf=\"type === 'form'\"></df-standard-form></ng-template></ng-template><p-column *ngFor=\"let col of formSpecs.columns\" [field]=\"col.field\" [header]=\"col.header\" [style]=\"col.style\"><ng-template *ngIf=\"col.showBpImg\" let-item=\"rowData\" pTemplate=\"body\" let-col=\"\"><df-bp-img [key]=\"item[col.field]\" [showName]=\"false\"></df-bp-img></ng-template><ng-template *ngIf=\"col.format &amp;&amp; col.format==='date'\" let-item=\"rowData\" pTemplate=\"body\" let-col=\"\"><span [innerText]=\"item[col.field] | date: 'yyyy-MM-dd'\"></span></ng-template><ng-template *ngIf=\"col.format &amp;&amp; col.format==='datetime'\" let-item=\"rowData\" pTemplate=\"body\" let-col=\"\"><span [innerText]=\"item[col.field] | date: 'yyyy-MM-dd HH:mm:ss'\"></span></ng-template><ng-template *ngIf=\"col.multi\" let-item=\"rowData\" pTemplate=\"body\"><span [innerText]=\"concatMulti(item[col.field],col.concat)\"></span></ng-template><ng-template *ngIf=\"col.object\" let-item=\"rowData\" pTemplate=\"body\"><span [innerText]=\"item[col.field][col.subfield]\"></span></ng-template><ng-template *ngIf=\"col.color\" let-item=\"rowData\" pTemplate=\"body\"><span [innerText]=\"item[col.field]\" [style.color]=\"col.color\"></span></ng-template><ng-template *ngIf=\"col.button\" let-item=\"rowData\" pTemplate=\"body\" let-i=\"rowIndex\"><button type=\"button\" pButton=\"\" (click)=\"getResult({action: col.action,values: item, index : i})\" [icon]=\"col.icon\"></button></ng-template><ng-template *ngIf=\"col.image\" let-item=\"rowData\" pTemplate=\"body\"><i [ngClass]=\"col.class\" [ngStyle]=\"{'color':getValue(item,col.field,col.subfield)}\"></i></ng-template></p-column><p-footer *ngIf=\"formSpecs.footer\"><div class=\"ui-helper-clearfix\" *ngIf=\"paginator\"> {{formSpecs.footer.label}}  {{storeData[formSpecs.footer.data]}}</div><div class=\"ui-helper-clearfix\" *ngIf=\"formSpecs.footer.buttons\" style=\"width:100%;\"><ng-template ngFor=\"\" [ngForOf]=\"formSpecs.footer.buttons\" let-button=\"\" let=\"let\" i=\"index\"><button type=\"button\" pButton=\"\" [icon]=\"button.icon\" style=\"float:left;\" (click)=\"getResult({action:button.action,specs:formSpecs})\" [label]=\"button.label\"></button></ng-template></div></p-footer></p-dataTable><p-dataList *ngSwitchCase=\"'dataList'\" [value]=\"storeData.records\" [paginator]=\"paginator\" [rows]=\"storeData.query.rows\" [lazy]=\"true\" [totalRecords]=\"storeData.totalRecords\" (onLazyLoad)=\"Lazyload($event)\"><p-header>{{formSpecs.header || ''}}</p-header><ng-template let-item=\"\" pTemplate=\"item\"><div class=\"ui-grid ui-grid-responsive ui-fluid\"><div class=\"ui-grid-row\" *ngFor=\"let col of formSpecs.columns\"><div class=\"ui-grid-col-2\">{{col.header}}:</div><div class=\"ui-grid-col-10\">{{item[col.field]}}</div></div></div></ng-template></p-dataList><p-treeTable *ngSwitchCase=\"'treeTable'\" [value]=\"storeData.records\" (onNodeExpand)=\"loadNode($event)\"><p-header *ngIf=\"formSpecs.header\">{{formSpecs.header}}</p-header><p-column *ngFor=\"let col of formSpecs.columns\" [field]=\"col.field\" [header]=\"col.header\" [style]=\"col.style\"></p-column><p-footer *ngIf=\"formSpecs.footer\">{{formSpecs.footer.label}}  {{storeData[formSpecs.footer.data]}}</p-footer></p-treeTable><p-tree *ngSwitchCase=\"'tree'\" [value]=\"storeData.records\"></p-tree></div>"}}]