UNPKG

@hicoder/angular-cli

Version:

Angular UI componenets and service generator. It works with the mean-rest-express package to generate the end to end web application. The input to this generator is the Mongoose schema defined for the express application. mean-rest-express exposes the Res

39 lines (36 loc) 1.41 kB
<div class="container select-model-content" *ngIf="showComponent" [@inOutAnimation]> <div class="modal-content"> <div class="modal-header"> <button type="button" class="btn-close" aria-label="Close" (click)="uiCloseModal()"> </button> </div> <div class="modal-body"> <!-- model body starts --> <div> <div class="container search"><%- include('/schema-search.include.html') %> <%_ let disableRefreshIcon = true; let disableSortSelection = true; let disableViewSwitch = true; let pagiObj = {disableRefreshIcon, disableSortSelection, disableViewSwitch}; %><%-include(`/schema-list.pagination.html`, pagiObj) %> </div> <div *ngIf="list.length > 0"><% for (let view of widgetDef.views) {%> <ng-template [ngIf]="isShowListView('<%-view%>')"> <app-<%-schemaName%>-list-view-widget-<%-view%> <%- include(`/widgets/list/view-component.inputs.html`)%> > </app-<%-schemaName%>-list-view-widget-<%-view%>> </ng-template> <%}%> </div> <div class="container"> <%_ disableRefreshIcon = true; disableSortSelection = true; disableViewSwitch = true; pagiObj = {disableRefreshIcon, disableSortSelection, disableViewSwitch}; %><%-include(`/schema-list.pagination.html`, pagiObj) %> </div> </div> <!-- model body ends --> </div> <div class="modal-footer"> </div> </div> </div>