@remult/angular
Advanced tools
Comparing version 2.1.5 to 2.1.6
@@ -1,2 +0,2 @@ | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/material/core"),require("@angular/common"),require("@angular/forms"),require("util"),require("@angular/router"),require("@angular/common/http"),require("@angular/material/progress-spinner"),require("rxjs/operators"),require("@angular/material/dialog"),require("@angular/platform-browser/animations"),require("@angular/material/form-field"),require("@angular/material/input"),require("@angular/material/button"),require("@angular/material/list"),require("@angular/material/icon"),require("@angular/material/checkbox"),require("@angular/material/tooltip"),require("@angular/material/menu"),require("@angular/core"),require("@auth0/angular-jwt"),require("@remult/core")):"function"==typeof define&&define.amd?define("@remult/angular",["exports","@angular/material/core","@angular/common","@angular/forms","util","@angular/router","@angular/common/http","@angular/material/progress-spinner","rxjs/operators","@angular/material/dialog","@angular/platform-browser/animations","@angular/material/form-field","@angular/material/input","@angular/material/button","@angular/material/list","@angular/material/icon","@angular/material/checkbox","@angular/material/tooltip","@angular/material/menu","@angular/core","@auth0/angular-jwt","@remult/core"],e):e((t.remult=t.remult||{},t.remult.angular={}),t.ng.material.core,t.ng.common,t.ng.forms,t.util,t.ng.router,t.ng.common.http,t.ng.material["progress-spinner"],t.rxjs.operators,t.ng.material.dialog,t.ng.platformBrowser.animations,t.ng.material["form-field"],t.ng.material.input,t.ng.material.button,t.ng.material.list,t.ng.material.icon,t.ng.material.checkbox,t.ng.material.tooltip,t.ng.material.menu,t.ng.core,t.angularJwt,t.core$2)}(this,function(t,e,n,i,o,r,s,a,l,c,u,d,p,h,g,f,m,y,b,v,w,C){"use strict";var x=function(t,e){return(x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function k(t,e){function n(){this.constructor=t}x(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}function I(e,s,a,l){return new(a=a||Promise)(function(t,n){function i(t){try{r(l.next(t))}catch(e){n(e)}}function o(t){try{r(l["throw"](t))}catch(e){n(e)}}function r(e){e.done?t(e.value):new a(function(t){t(e.value)}).then(i,o)}r((l=l.apply(e,s||[])).next())})}function _(i,o){var r,s,a,t,l={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return t={next:e(0),"throw":e(1),"return":e(2)},"function"==typeof Symbol&&(t[Symbol.iterator]=function(){return this}),t;function e(e){return function(t){return function n(t){if(r)throw new TypeError("Generator is already executing.");for(;l;)try{if(r=1,s&&(a=2&t[0]?s["return"]:t[0]?s["throw"]||((a=s["return"])&&a.call(s),0):s.next)&&!(a=a.call(s,t[1])).done)return a;switch(s=0,a&&(t=[2&t[0],a.value]),t[0]){case 0:case 1:a=t;break;case 4:return l.label++,{value:t[1],done:!1};case 5:l.label++,s=t[1],t=[0];continue;case 7:t=l.ops.pop(),l.trys.pop();continue;default:if(!(a=0<(a=l.trys).length&&a[a.length-1])&&(6===t[0]||2===t[0])){l=0;continue}if(3===t[0]&&(!a||t[1]>a[0]&&t[1]<a[3])){l.label=t[1];break}if(6===t[0]&&l.label<a[1]){l.label=a[1],a=t;break}if(a&&l.label<a[2]){l.label=a[2],l.ops.push(t);break}a[2]&&l.ops.pop(),l.trys.pop();continue}t=o.call(i,l)}catch(e){t=[6,e],s=0}finally{r=a=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}([e,t])}}}function F(t){var e="function"==typeof Symbol&&t[Symbol.iterator],n=0;return e?e.call(t):{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}function T(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,o,r=n.call(t),s=[];try{for(;(void 0===e||0<e--)&&!(i=r.next()).done;)s.push(i.value)}catch(a){o={error:a}}finally{try{i&&!i.done&&(n=r["return"])&&n.call(r)}finally{if(o)throw o.error}}return s}var D=(Object.defineProperty(S.prototype,"column",{set:function(t){this.map={column:t},this.map.column.__decorateDataSettings(this.map)},enumerable:!0,configurable:!0}),S.prototype.showDescription=function(){return this.map.column&&this.map.getValue||!this._getEditable()},S.prototype.getDropDown=function(){return this.map.valueList},S.prototype.showClick=function(){return!!this.map.click&&!!this._getEditable()&&(this.map.allowClick===undefined||this.map.allowClick(this.record))},S.prototype.click=function(){this.showClick()&&this.settings._click(this.map,this.record)},S.prototype.getClickIcon=function(){return this.map.clickIcon?this.map.clickIcon:"keyboard_arrow_down"},S.prototype.dataControlStyle=function(){return this.settings.__dataControlStyle(this.map)},S.prototype._getColumn=function(){return this.map.column?this.settings.__getColumn(this.map,this.record):new C.StringColumn},S.prototype._getEditable=function(){return!!this.notReadonly||this.settings._getEditable(this.map,this.record)},S.prototype.ngOnChanges=function(){},S.prototype.isSelect=function(){return!(!this.map.valueList||!this._getEditable())},S.prototype.showTextBox=function(){return!this.isSelect()&&!this.showCheckbox()},S.prototype.showCheckbox=function(){return"checkbox"==this.settings._getColDataType(this.map)},S.prototype.getError=function(){return this.settings._getError(this.map,this.record)},S.prototype.getStyle=function(){return this.showDescription()?this.map.hideDataOnInput||!this._getEditable()?{display:"none"}:{width:"50px"}:{}},S.prototype.getFloatLabel=function(){return this.showDescription()&&this.settings._getColDisplayValue(this.map,this.record)?"always":""},S.decorators=[{type:v.Component,args:[{selector:"data-control",template:'<div class="data-control2">\r\n <mat-form-field appearance="outline" [floatLabel]="getFloatLabel()" *ngIf="!showCheckbox()"\r\n class="full-width-form-field dense-form-field">\r\n <mat-label>{{map.caption}}</mat-label>\r\n <div style="display:flex;" *ngIf="showTextBox()">\r\n <input #theId matInput [(ngModel)]="_getColumn().inputValue" type="{{settings._getColDataType(map)}}"\r\n (ngModelChange)="settings._colValueChanged(map,record)" [errorStateMatcher]="ngErrorStateMatches"\r\n [ngStyle]="getStyle()" />\r\n <div *ngIf="showDescription()" style="white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n padding-left:10px;width:100%;" (click)="click()">\r\n {{settings._getColDisplayValue(map,record)}} </div>\r\n </div>\r\n <div *ngIf="isSelect()">\r\n <select matNativeControl [(ngModel)]="_getColumn().inputValue"\r\n (ngModelChange)="settings._colValueChanged(map,record)">\r\n <option *ngFor="let v of getDropDown()" value="{{v.id}}">{{v.caption}}</option>\r\n\r\n </select>\r\n </div>\r\n\r\n <button mat-icon-button matSuffix *ngIf="showClick()" (click)="click()">\r\n <mat-icon>{{getClickIcon()}} </mat-icon>\r\n </button>\r\n\r\n <mat-error *ngIf="getError()" [id]="theId">{{getError()}}</mat-error>\r\n </mat-form-field>\r\n <div *ngIf="showCheckbox()">\r\n <mat-checkbox #theId1 [(ngModel)]="_getColumn().inputValue"\r\n (ngModelChange)="settings._colValueChanged(map,record)" class="fix-label">{{map.caption}}</mat-checkbox>\r\n <mat-error *ngIf="getError()" [id]="theId1">{{getError()}}</mat-error>\r\n </div>\r\n\r\n</div>',styles:[""]}]}],S.propDecorators={map:[{type:v.Input}],column:[{type:v.Input}],record:[{type:v.Input}],notReadonly:[{type:v.Input}],settings:[{type:v.Input}]},S);function S(){function t(t){var e=n.call(this)||this;return e.parent=t,e}var n;this.settings=new C.ColumnCollection(undefined,function(){return!0},undefined,undefined),this.ngErrorStateMatches=(k(t,n=e.ErrorStateMatcher),t.prototype.isErrorState=function(){return!!this.parent.getError()},new t(this))}var M=(Object.defineProperty(B.prototype,"column",{set:function(t){this.map={column:t},this.map.column.__decorateDataSettings(this.map)},enumerable:!0,configurable:!0}),B.prototype.showDescription=function(){return this.map.column&&this.map.getValue||!this._getEditable()},B.prototype.showClick=function(){return!!this.map.click&&!!this._getEditable()&&(this.map.allowClick===undefined||this.map.allowClick(this.record))},B.prototype.getClickIcon=function(){return this.map.clickIcon?this.map.clickIcon:"keyboard_arrow_down"},B.prototype.dataControlStyle=function(){return this.settings.__dataControlStyle(this.map)},B.prototype._getColumn=function(){return this.map.column?this.settings.__getColumn(this.map,this.record):new C.StringColumn},B.prototype.click=function(){this.showClick()&&this.settings._click(this.map,this.record)},B.prototype._getEditable=function(){return!!this.notReadonly||this.settings._getEditable(this.map,this.record)},B.prototype.ngOnChanges=function(){},B.prototype.getDropDown=function(){return this.map.valueList},B.prototype.isSelect=function(){return!(!this.map.valueList||!this._getEditable())},B.prototype.showTextBox=function(){return!this.isSelect()&&!this.showCheckbox()&&this._getEditable()},B.prototype.showReadonlyText=function(){return!this._getEditable()},B.prototype.showCheckbox=function(){return"checkbox"==this.settings._getColDataType(this.map)},B.prototype.getError=function(){return this.settings._getError(this.map,this.record)},B.prototype.getStyle=function(){return this.showDescription()?this.map.hideDataOnInput||!this._getEditable()?{display:"none"}:{width:"50px"}:{width:"100%"}},B.prototype.getFloatLabel=function(){return this.showDescription()&&this.settings._getColDisplayValue(this.map,this.record)?"always":""},B.decorators=[{type:v.Component,args:[{selector:"data-control3",template:'<div class="data-control3" #myDiv>\r\n <div style="display:flex;width:100%;" *ngIf="showTextBox()">\r\n <input #theId matInput [(ngModel)]="_getColumn().inputValue" type="{{settings._getColDataType(map)}}"\r\n (ngModelChange)="settings._colValueChanged(map,record)"\r\n [errorStateMatcher]="ngErrorStateMatches" [ngStyle]="getStyle()" />\r\n <div *ngIf="showDescription()" style="white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n padding-left:10px; width:100%;" (click)="click()">\r\n {{settings._getColDisplayValue(map,record)}} </div>\r\n </div>\r\n <div *ngIf="showReadonlyText()" style="\r\n overflow: hidden;\r\n padding-left:10px; width:100%;" >\r\n {{settings._getColDisplayValue(map,record)}} </div>\r\n <div *ngIf="isSelect()" class="my-select" [class.rtl-select]="rightToLeft">\r\n <select matNativeControl [(ngModel)]="_getColumn().inputValue"\r\n (ngModelChange)="settings._colValueChanged(map,record)">\r\n <option *ngFor="let v of getDropDown()" value="{{v.id}}">{{v.caption}}</option>\r\n\r\n </select>\r\n </div>\r\n\r\n <button mat-icon-button *ngIf="showClick()" (click)="click()" class="row-button">\r\n <mat-icon style="height:19px;">{{getClickIcon()}} </mat-icon>\r\n </button>\r\n\r\n\r\n <div *ngIf="showCheckbox()">\r\n <mat-checkbox #theId1 [(ngModel)]="_getColumn().inputValue"\r\n (ngModelChange)="settings._colValueChanged(map,record)" class="fix-label"></mat-checkbox>\r\n </div>\r\n\r\n</div>\r\n<mat-error *ngIf="getError()" [id]="theId" style="font-size: 75%;">{{getError()}}</mat-error>',styles:['.my-select::after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;pointer-events:none;color:rgba(0,0,0,.54);margin-top:-5px}.rtl-select::after{right:auto;left:0}.my-select{position:relative;width:100%}.data-control3{display:-webkit-box;display:flex;width:100%}.row-button{height:auto;line-height:normal}input{border:none;outline:0;padding:0;margin:0;font-size:inherit;font-family:inherit}']}]}],B.propDecorators={map:[{type:v.Input}],column:[{type:v.Input}],rightToLeft:[{type:v.Input}],record:[{type:v.Input}],notReadonly:[{type:v.Input}],settings:[{type:v.Input}]},B);function B(){function t(t){var e=n.call(this)||this;return e.parent=t,e}var n;this.rightToLeft=!1,this.settings=new C.ColumnCollection(undefined,function(){return!0},undefined,undefined),this.ngErrorStateMatches=(k(t,n=e.ErrorStateMatcher),t.prototype.isErrorState=function(){return!!this.parent.getError()},new t(this))}var A=(L.prototype.selectFirst=function(){var t,e;try{for(var n=F(this.values),i=n.next();!i.done;i=n.next()){var o=i.value;if(this.matchesFilter(o))return void this.select(o)}}catch(r){t={error:r}}finally{try{i&&!i.done&&(e=n["return"])&&e.call(n)}finally{if(t)throw t.error}}},L.prototype.matchesFilter=function(t){return t.caption.toLocaleLowerCase().includes(this.searchString.toLocaleLowerCase())},L.prototype.args=function(t){this.values=t.values,this.onSelect=t.onSelect,this.title=t.title},L.prototype.select=function(t){this.onSelect(t),this.dialog.close()},L.decorators=[{type:v.Component,args:[{template:'<h1 mat-dialog-title>{{title}}</h1>\r\n\r\n<div mat-dialog-content>\r\n <form (submit)="selectFirst()">\r\n <mat-form-field>\r\n <input matInput [(ngModel)]="searchString" [ngModelOptions]="{standalone: true}"> \r\n </mat-form-field>\r\n </form>\r\n <mat-nav-list role="list" *ngIf="values">\r\n <ng-container *ngFor="let o of values">\r\n <mat-list-item role="listitem" style="height:36px"\r\n *ngIf="matchesFilter(o)" (click)="select(o)">\r\n {{o.caption}}\r\n </mat-list-item>\r\n <mat-divider *ngIf="matchesFilter(o)"></mat-divider>\r\n </ng-container>\r\n </mat-nav-list>\r\n</div>\r\n<div mat-dialog-actions>\r\n\r\n <button mat-icon-button mat-dialog-close>\r\n <mat-icon>clear</mat-icon>\r\n </button>\r\n</div>'}]}],L.ctorParameters=function(){return[{type:c.MatDialogRef}]},L);function L(t){this.dialog=t,this.searchString=""}var R=(G.prototype.setFilter=function(){this.info.settings.columns.filterRows(this.info.filterColumnToAdd),this.dialog.close()},G.prototype.clear=function(){this.info.settings.columns.clearFilter(this.info.filterColumnToAdd),this.dialog.close()},G.decorators=[{type:v.Component,args:[{template:'<h1 mat-dialog-title *ngIf="!info.rightToLeft">Filter {{this.info.filterColumnToAdd?.caption}}</h1>\r\n<h1 mat-dialog-title *ngIf="info.rightToLeft">סינון {{this.info.filterColumnToAdd?.caption}}</h1>\r\n<div mat-dialog-content>\r\n\r\n <data-control *ngIf="this.info.filterColumnToAdd" [settings]="info.settings.columns" [map]="info.filterColumnToAdd"\r\n [record]="info.settings.columns.filterHelper.filterRow" [notReadonly]="true"></data-control>\r\n</div>\r\n<div mat-dialog-actions>\r\n <button mat-icon-button (click)="setFilter()">\r\n <mat-icon>check</mat-icon>\r\n </button>\r\n <button mat-icon-button (click)="clear()">\r\n <mat-icon>clear</mat-icon>\r\n </button>\r\n</div>'}]}],G.ctorParameters=function(){return[{type:c.MatDialogRef}]},G);function G(t){this.dialog=t}var P=(E.prototype.getCurrentFilterValue=function(e){this.settings.initOrigList();var t=this.settings.origList.find(function(t){return t.column==e});return this.settings.columns._getColDisplayValue(t,this.settings.filterHelper.filterRow)},E.prototype.cancelAddFilter=function(){},E.prototype.showEditFilter=function(e){this.filterColumnToAdd=this.settings.origList.find(function(t){return t.column==e}),this.editFilterVisible=!0,this.showAddFilter=!1},E.prototype.userFilterButton=function(){this.showFilterButton=!this.showFilterButton,this.settings.initOrigList(),0==this.settings.filterHelper.filterColumns.length&&this.showAddAnotherFilterDialog()},E.prototype.showAddAnotherFilterDialog=function(){return I(this,void 0,void 0,function(){var e=this;return _(this,function(t){switch(t.label){case 0:return this.settings.initOrigList(),this.filterColumnToAdd=undefined,[4,this.context.openDialog(A,function(t){return t.args({title:e.rightToLeft?"בחר עמודה לסינון":"Select Column to Filter",values:e.settings.origList,onSelect:function(t){return e.filterColumnToAdd=t}})})];case 1:return t.sent(),this.filterColumnToAdd?[4,this.context.openDialog(R,function(t){return t.info=e})]:[3,3];case 2:t.sent(),t.label=3;case 3:return this.showAddFilter=!0,this.filterColumnToAdd=undefined,[2]}})})},E.prototype.editFilter=function(n){return I(this,void 0,void 0,function(){var e=this;return _(this,function(t){switch(t.label){case 0:return this.filterColumnToAdd=this.settings.origList.find(function(t){return t.column==n}),[4,this.context.openDialog(R,function(t){return t.info=e})];case 1:return t.sent(),[2]}})})},E.prototype.confirmEditFilter=function(){this.settings.columns.filterRows(this.filterColumnToAdd),this.editFilterVisible=!1},E.prototype.clearEditFilter=function(){this.settings.columns.clearFilter(this.filterColumnToAdd),this.editFilterVisible=!1},E.prototype.addFilter=function(){this.settings.columns.filterRows(this.filterColumnToAdd),this.showAddFilter=!1},E.prototype.cancelAddNewFilter=function(){this.showAddFilter=!1},E.prototype.ngAfterViewInit=function(){window&&window.getComputedStyle&&this.theDiv&&(this.rightToLeft="rtl"==window.getComputedStyle(this.theDiv.nativeElement,null).getPropertyValue("direction"))},E.decorators=[{type:v.Component,args:[{selector:"Data-Filter",template:'<span (click)="showAddAnotherFilterDialog()" #theDiv class="link" *ngIf="settings.settings.showFilter"><span *ngIf="!rightToLeft">Filter</span><span *ngIf="rightToLeft">סינון</span></span>\r\n<span *ngIf="settings.columns.filterHelper.filterColumns.length>0">: </span>\r\n<span *ngFor="let map of settings.columns.filterHelper.filterColumns ; let i = index">\r\n <span *ngIf="i>0"> <span *ngIf="!rightToLeft">and</span><span *ngIf="rightToLeft">וגם</span> </span>\r\n <span (click)="editFilter(map)" class="link"> {{map.defs.caption}} = "{{this.getCurrentFilterValue(map)}}"</span>\r\n</span>',styles:[".link {\n cursor:pointer;\n color:blue;\n text-decoration:underline;\n }"]}]}],E.ctorParameters=function(){return[{type:C.Context}]},E.propDecorators={settings:[{type:v.Input}],theDiv:[{type:v.ViewChild,args:["theDiv"]}]},E);function E(t){this.context=t,this.showFilterButton=!1,this.showAddFilter=!1,this.editFilterVisible=!1,this.rightToLeft=!1}var O=(V.prototype.ngAfterViewInit=function(){window&&window.getComputedStyle&&this.dataGridDiv&&(this.rightToLeft="rtl"==window.getComputedStyle(this.dataGridDiv.nativeElement,null).getPropertyValue("direction"))},V.prototype.addCol=function(n){return I(this,void 0,void 0,function(){var e=this;return _(this,function(t){switch(t.label){case 0:return[4,this.context.openDialog(A,function(t){return t.args({values:e.settings.origList,onSelect:function(t){e.settings.columns.addCol(n,t),e.settings.columns.numOfColumnsInGrid++}})})];case 1:return t.sent(),[2]}})})},V.prototype.getColFlex=function(t){return"0 0 "+this.getColWidth(t)},V.prototype.getColWidth=function(t){var e=this.settings.columns.__dataControlStyle(t);return e=e||"200px"},V.prototype.test=function(){},V.prototype.getTotalRows=function(){return this.settings.totalRows?Math.ceil(this.settings.totalRows/this.settings.rowsPerPage):this.rightToLeft?"רבים":"many"},V.prototype.dragStart=function(t){this.tempDragColumn=t},V.prototype.dragOver=function(t,e){e.preventDefault()},V.prototype.onDrop=function(t){var e=this.settings.columns.items.indexOf(this.tempDragColumn);this.settings.columns.items.splice(e,1);var n=this.settings.columns.items.indexOf(t);n==e&&n++,this.settings.columns.items.splice(n,0,this.tempDragColumn),this.settings.columns.colListChanged()},V.prototype._getHeight=function(){if(this.height)return(+this.height).toString()==this.height?this.height+"px":this.height},V.prototype.isFiltered=function(t){return this.settings.columns.filterHelper.isFiltered(t)},V.prototype.showFilterColumnDialog=function(t){this.settings.initOrigList(),this.dataFilterInfo.editFilter(t.column)},V.prototype.getButtonCssClass=function(t,e){return t.cssClass?o.isFunction(t.cssClass)?t.cssClass(e):t.cssClass.toString():""},V.prototype.getButtonText=function(t,e){return t.textInMenu?o.isFunction(t.textInMenu)?e?t.textInMenu(e):"":t.textInMenu:t.name},V.prototype.hasVisibleButton=function(e){return this.rowButtons.find(function(t){return t.visible(e)})},V.prototype.hasVisibleGridButtons=function(){return this.gridButtons.find(function(t){return t.visible()})},V.prototype.addButton=function(t){if(t.click||(t.click=function(t){}),t.visible||(t.visible=function(t){return!0}),t.cssClass){if(!o.isFunction(t.cssClass)){var e=t.cssClass;t.cssClass=function(t){return e}}}else t.cssClass=function(t){return"btn"};return this.rowButtons.push(t),t},V.prototype.rowClicked=function(t){this.settings.setCurrentRow(t)},V.prototype.nextPage=function(){this.page++},V.prototype.previousPage=function(){this.page<=1||this.page--},V.prototype.ngOnChanges=function(){var t,e,n,i=this;if(this.settings){if(this.rowButtons=[],this.gridButtons=[],this.gridButtons.push({visible:function(){return i.settings.items.find(function(t){return t.wasChanged()})},textInMenu:function(){return i.rightToLeft?"שמור "+i.settings.items.filter(function(t){return t.wasChanged()}).length+" שורות":"save "+i.settings.items.filter(function(t){return t.wasChanged()}).length+" rows"},click:function(){return I(i,void 0,void 0,function(){return _(this,function(t){switch(t.label){case 0:return[4,Promise.all(this.settings.items.filter(function(t){return t.wasChanged()}).map(function(t){return t.save()}))];case 1:return t.sent(),[2]}})})}}),this.settings.settings.gridButtons&&(t=this.gridButtons).push.apply(t,function a(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(T(arguments[e]));return t}(this.settings.settings.gridButtons.map(function(t){return t.visible||(t.visible=function(){return!0}),t}))),this.settings.allowUpdate&&(this.addButton({name:"",icon:"check",cssClass:"glyphicon glyphicon-ok btn-success",visible:function(t){return t.wasChanged()},showInLine:!0,textInMenu:function(){return i.rightToLeft?"שמור":"save"},click:function(t){i.settings._doSavingRow(t)}}),this.addButton({name:"",icon:"cancel",cssClass:"btn btn-danger glyphicon glyphicon-ban-circle",visible:function(t){return t.wasChanged()},showInLine:!0,textInMenu:function(){return i.rightToLeft?"בטל שינוים":"cancel"},click:function(t){t.undoChanges()}})),this.settings.allowDelete&&this.addButton({name:"",visible:function(t){return t&&!t.isNew()},icon:"delete",showInLine:!0,textInMenu:function(){return i.rightToLeft?"מחק":"delete"},click:function(e){return I(i,void 0,void 0,function(){return _(this,function(t){switch(t.label){case 0:return this.settings.settings.confirmDelete?[4,this.settings.settings.confirmDelete(e)]:[3,2];case 1:if(!t.sent())return[2];t.label=2;case 2:return e["delete"](),[2]}})})},cssClass:"btn-danger glyphicon glyphicon-trash"}),this.settings._buttons)try{for(var o=F(this.settings._buttons),r=o.next();!r.done;r=o.next()){var s=r.value;this.addButton(s)}}catch(l){e={error:l}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(e)throw e.error}}!this.records&&this.settings&&this.settings.getRecords().then(function(t){i.records=t})}},V.prototype._getRowClass=function(t){var e="dataGridRow ";return this.settings.rowClass&&(e+=this.settings.rowClass(t)),t==this.settings.currentRow&&(e+=" active"),e},V.prototype._getRowColumnClass=function(t,e){return this.settings.columns._getColumnClass(t,e)+" dataGridDataCell"},V.decorators=[{type:v.Component,args:[{selector:"data-grid",template:'<div style="height: 100%;display: flex;flex-direction: column;">\r\n <Data-Filter [settings]="settings" #dataFilter style="flex-shrink: 0;">\r\n </Data-Filter>\r\n <div class="dataGrid" #dataGridDiv *ngIf="settings&&settings.columns" [style.height]="_getHeight()">\r\n <div class="inner-wrapper">\r\n <div class="dataGridHeaderArea">\r\n <div class="dataGridRow">\r\n <div class="data-grid-row-more-buttons dataGridDataCell">\r\n\r\n <button mat-icon-button [matMenuTriggerFor]="updatedRowOptions" *ngIf="hasVisibleGridButtons()">\r\n <mat-icon>expand_more</mat-icon>\r\n </button>\r\n\r\n </div>\r\n <div class="data-grid-row-selection dataGridDataCell" *ngIf="settings.settings.allowSelection">\r\n\r\n <mat-checkbox [indeterminate]="settings.selectAllIntermitent()" [checked]="settings.selectAllChecked()"\r\n (change)="settings.selectAllChanged($event)"></mat-checkbox>\r\n\r\n </div>\r\n <mat-menu #updatedRowOptions="matMenu">\r\n\r\n <ng-container *ngFor="let b of gridButtons">\r\n <button mat-menu-item *ngIf="b.visible()" (click)="b.click()">\r\n <mat-icon *ngIf="b.icon">{{b.icon}}</mat-icon>{{b.textInMenu?b.textInMenu(): b.name}}\r\n </button>\r\n </ng-container>\r\n </mat-menu>\r\n <div class="dataGridHeaderCell headerWithFilter" *ngFor="let map of settings.columns.getGridColumns()"\r\n [style.flex]="getColFlex(map)" [style.width]="getColWidth(map)" draggable="true"\r\n (dragstart)="dragStart(map)" (dragover)="dragOver(map,$event)" (drop)="onDrop(map)">\r\n\r\n <span (click)="settings.sort(map.column)">{{map.caption}}</span>\r\n\r\n\r\n <span class="filterButton" [class.filteredFilterButton]="isFiltered(map.column)"\r\n (click)="showFilterColumnDialog(map)">\r\n <mat-icon>filter_alt</mat-icon>\r\n </span>\r\n \r\n <mat-icon *ngIf="settings.sortedAscending(map.column)">arrow_downward</mat-icon>\r\n <mat-icon class="glyphicon glyphicon-chevron-down pull-right" *ngIf="settings.sortedDescending(map.column)">\r\n arrow_upward</mat-icon>\r\n </div>\r\n <div class="dataGridButtonHeaderCell" *ngIf="rowButtons&& rowButtons.length>0&&displayButtons"\r\n [class.col-xs-1]="rowButtons&&rowButtons.length<3"></div>\r\n </div>\r\n </div>\r\n <div class="dataGridBodyArea">\r\n <div class="dataGridRow" *ngFor="let record of records" [className]="_getRowClass(record)"\r\n (click)="rowClicked(record)">\r\n <div class="data-grid-row-more-buttons dataGridDataCell">\r\n\r\n <button mat-icon-button [matMenuTriggerFor]="updatedRowOptions" *ngIf="hasVisibleButton(record) ">\r\n <mat-icon>more_vert</mat-icon>\r\n </button>\r\n\r\n </div>\r\n <div class="data-grid-row-selection dataGridDataCell" *ngIf="settings.settings.allowSelection">\r\n\r\n <mat-checkbox [checked]="settings.isSelected(record)" (change)="settings.selectedChanged(record)">\r\n </mat-checkbox>\r\n\r\n </div>\r\n <mat-menu #updatedRowOptions="matMenu">\r\n <ng-container *ngFor="let b of rowButtons">\r\n <button mat-menu-item *ngIf="b.visible(record)" (click)="b.click(record)">\r\n <mat-icon *ngIf="b.icon">{{b.icon}}</mat-icon>{{getButtonText(b,record)}}\r\n </button>\r\n </ng-container>\r\n\r\n </mat-menu>\r\n <div class="dataGridDataCell" *ngFor="let map of settings.columns.getGridColumns()"\r\n [className]="_getRowColumnClass(map,record)" [style.flex]="getColFlex(map)"\r\n [style.width]="getColWidth(map)">\r\n <data-control3 [settings]="settings.columns" [map]="map" [record]="record" [rightToLeft]="rightToLeft">\r\n </data-control3>\r\n </div>\r\n <div class="dataGridButtonCell" *ngIf="rowButtons.length>0&&displayButtons" style="white-space:nowrap">\r\n <ng-container *ngFor="let b of rowButtons">\r\n <button mat-icon-button *ngIf="b.visible(record)&&b.icon&&b.showInLine" (click)="b.click(record)"\r\n matTooltip="{{getButtonText(b,record)}}" class="row-button">\r\n <mat-icon *ngIf="b.icon">{{b.icon}} </mat-icon> {{b.name}}\r\n </button>\r\n <button mat-raised-button *ngIf="b.visible(record)&&!b.icon&&b.showInLine" (click)="b.click(record)"\r\n class="row-button">\r\n {{b.name}}\r\n </button>\r\n </ng-container>\r\n\r\n </div>\r\n </div>\r\n\r\n </div>\r\n </div>\r\n </div>\r\n <div class="dataGridFooterArea" *ngIf="records&&settings.settings.showPagination">\r\n <div class="dataGridFooterButtonGroup">\r\n <button mat-icon-button (click)="settings.userChooseColumns()">\r\n <mat-icon>settings</mat-icon>\r\n </button>\r\n\r\n {{rightToLeft?\'שורות בדף\': \'lines per page\'}}\r\n <select class="form-control" style="width:80px;display:inline-block" [(ngModel)]="settings.rowsPerPage"\r\n (change)="settings.getRecords()">\r\n <option *ngFor="let r of settings.rowsPerPageOptions" value="{{r}}">{{r}}</option>\r\n </select></div>\r\n <div class="dataGridFooterButtonGroup">\r\n <button mat-icon-button (click)="settings.firstPage()">\r\n <mat-icon>{{rightToLeft?\'last_page\':\'first_page\'}} </mat-icon>\r\n </button>\r\n <button mat-icon-button [disabled]="settings.page==1" (click)="settings.previousPage()">\r\n <mat-icon>{{rightToLeft?\'chevron_right\':\'chevron_left\'}}</mat-icon>\r\n </button>\r\n {{rightToLeft?\'עמוד\':\'Page\'}} {{settings.page}} {{rightToLeft?\' מתוך \':\' of \'}} {{getTotalRows()}}\r\n <button mat-icon-button [disabled]="!(records.items&& records.items.length>0)" (click)="settings.nextPage()">\r\n <mat-icon>{{!rightToLeft?\'chevron_right\':\'chevron_left\'}}</mat-icon>\r\n </button>\r\n <button mat-icon-button *ngIf="settings.allowUpdate &&settings.allowInsert" (click)="settings.addNewRow()">\r\n <mat-icon>add</mat-icon>\r\n </button>\r\n </div>\r\n <div *ngIf="settings.showSelectColumn" class="selectColumnsArea">\r\n Select Columns\r\n <ol>\r\n <ng-container *ngFor="let c of settings.currList; let i=index">\r\n <li *ngIf="i<settings.columns.numOfColumnsInGrid">\r\n <select [(ngModel)]="settings.currList[i]" class="form-control selectColumnCombo"\r\n (change)="settings.columns.colListChanged()">\r\n <option *ngFor="let o of settings.origList" [ngValue]="o">{{o.caption}}</option>\r\n </select>\r\n <input [(ngModel)]="c.width" style="width:50px;display:inline;">\r\n <button mat-icon-button *ngIf="settings.currList.length>1" (click)="settings.deleteCol(c)">\r\n <mat-icon>cancel</mat-icon>\r\n </button>\r\n <button mat-icon-button (click)="addCol(c)">\r\n <mat-icon>add</mat-icon>\r\n </button>\r\n <button mat-icon-button *ngIf="i<settings.currList.length-1" (click)="settings.columns.moveCol(c,1)">\r\n <mat-icon>keyboard_arrow_down</mat-icon>\r\n </button>\r\n <button mat-icon-button *ngIf="i>0" (click)="settings.columns.moveCol(c,-1)">\r\n <mat-icon>keyboard_arrow_up</mat-icon>\r\n </button>\r\n </li>\r\n </ng-container>\r\n </ol>\r\n <button (click)="settings.resetColumns()" class="btn glyphicon glyphicon-repeat"></button>\r\n </div>\r\n </div>\r\n\r\n\r\n\r\n\r\n <data-area *ngIf="settings.showDataArea" [settings]="settings" [columns]="2"></data-area>\r\n</div>',styles:[".row-button{height:auto;line-height:normal}.inner-wrapper{display:inline-block}.dataGrid{overflow:auto;border:1px solid #e0e0e0;height:100%}.dataGridRow{display:-webkit-box;display:flex}.dataGridHeaderArea{position:-webkit-sticky;position:sticky;top:0;clear:both;background-color:#f5f5f5;z-index:3}.dataGridHeaderArea mat-icon{font-size:16px;height:18px;width:18px;line-height:18px}.dataGridFooterButtonGroup{display:inline-block}.dataGridFooterArea{width:100%;bottom:0;left:0;background-color:#f5f5f5;border:1px solid #e0e0e0;box-sizing:border-box}.dataGridDataCell,.dataGridHeaderCell{padding:4px}.dataGridDataCell{border-top:1px solid #e0e0e0}.data-grid-row-more-buttons{border-left:1px solid #e0e0e0;border-right:1px solid #e0e0e0;padding-left:0;padding-right:0;width:18px}.data-grid-row-more-buttons mat-icon{font-size:16px;height:17px;width:18px;line-height:17px}.data-grid-row-more-buttons button{width:auto;height:auto;line-height:18px}.data-grid-row-selection{width:18px}.filterDialog{background-color:#fff;position:absolute;padding:10px;z-index:800;border-radius:5px;width:200px;border:2px solid gray}.filterDialog .form-group{margin-right:0;margin-left:0}.designModeButton span{visibility:hidden}.designModeButton:hover span{visibility:visible}.selectColumnCombo{display:inline-block;width:auto}.selectColumnsArea{display:block}.headerWithFilter .filterButton{visibility:hidden}.headerWithFilter .filteredFilterButton,.headerWithFilter:hover .filterButton{visibility:visible}table input{min-width:75px}table select{min-width:100px}"]}]}],V.ctorParameters=function(){return[{type:C.Context}]},V.propDecorators={dataGridDiv:[{type:v.ViewChild,args:["dataGridDiv"]}],width:[{type:v.Input}],height:[{type:v.Input}],displayButtons:[{type:v.Input}],displayVCR:[{type:v.Input}],records:[{type:v.Input}],settings:[{type:v.Input}],dataFilterInfo:[{type:v.ViewChild,args:[P]}]},V);function V(t){this.context=t,this.rightToLeft=!1,this.displayButtons=!0,this.displayVCR=!0,this.rowButtons=[],this.gridButtons=[],this.keys=[],this.page=1}var j=(N.prototype.navigateToComponent=function(e){var n=this,i=!1;this.router.config.forEach(function(t){i||t.component==e&&(i=!0,n.router.navigate(["/"+t.path]))}),i||console.warn("couldn't find path for ",e,this.router.config)},N.prototype.canNavigateToRoute=function(t){var e,n;if(!t.canActivate)return!0;try{for(var i=F(t.canActivate),o=i.next();!o.done;o=i.next()){var r=o.value,s=this.injector.get(r);if(s&&s.canActivate){var a=new U;if(a.routeConfig=t,!s.canActivate(a,undefined))return!1}}}catch(l){e={error:l}}finally{try{o&&!o.done&&(n=i["return"])&&n.call(i)}finally{if(e)throw e.error}}return!0},N.decorators=[{type:v.Injectable}],N.ctorParameters=function(){return[{type:r.Router},{type:v.Injector}]},N);function N(t,e){this.router=t,this.injector=e}var W=(q.prototype.isAllowed=function(){return!0},q.prototype.canActivate=function(t){if(this.context.isSignedIn()&&this.context.isAllowed(this.isAllowed()))return!0;if(!(t instanceof U)){var e=q.componentToNavigateIfNotAllowed;e!=undefined?this.helper.navigateToComponent(e):this.router.navigate(["/"])}return!1},q.decorators=[{type:v.Injectable}],q.ctorParameters=function(){return[{type:C.Context},{type:r.Router},{type:j}]},q);function q(t,e,n){this.context=t,this.router=e,this.helper=n}var H=(z.prototype.canActivate=function(t){return!this.context.isSignedIn()},z.decorators=[{type:v.Injectable}],z.ctorParameters=function(){return[{type:C.Context},{type:r.Router}]},z);function z(t,e){this.context=t,this.router=e}var J,U=(k($,J=r.ActivatedRouteSnapshot),$);function $(){return J.call(this)||this}var K=(Q.prototype.ngOnInit=function(){},Q.decorators=[{type:v.Component,args:[{selector:"app-wait",template:"<mat-progress-spinner [mode]=\"'indeterminate'\" >\r\n</mat-progress-spinner>",styles:[""]}]}],Q.ctorParameters=function(){return[]},Q);function Q(){}var X=(Y.prototype.donotWait=function(e){return I(this,void 0,void 0,function(){return _(this,function(t){switch(t.label){case 0:this.disableWait=!0,t.label=1;case 1:return t.trys.push([1,,3,4]),[4,e()];case 2:return[2,t.sent()];case 3:return this.disableWait=!1,[7];case 4:return[2]}})})},Y.prototype.donotWaitNonAsync=function(t){this.disableWait=!0;try{return t()}finally{this.disableWait=!1}},Y.prototype.log=function(t,e){},Y.prototype.doWhileShowingBusy=function(n){return I(this,void 0,void 0,function(){var e;return _(this,function(t){switch(t.label){case 0:e=this.showBusy(),t.label=1;case 1:return t.trys.push([1,,3,4]),[4,n()];case 2:return[2,t.sent()];case 3:return e(),[7];case 4:return[2]}})})},Y.prototype.showBusy=function(){var t=this,e=this.id++;return this.disableWait?function(){}:(this.log(e,"start busy "),0==this.numOfWaits&&setTimeout(function(){0<t.numOfWaits&&!t.waitRef&&(t.log(e,"actual start busy "),t.waitRef=t.dialog.open(K,{disableClose:!0}))},300),this.numOfWaits++,function(){t.numOfWaits--,t.log(e,"close busy "),0==t.numOfWaits&&(t.log(e,"close top busy "),t.waitRef&&(t.log(e,"actual close top busy "),t.waitRef.close(),t.waitRef=undefined))})},Y.decorators=[{type:v.Injectable}],Y.ctorParameters=function(){return[{type:c.MatDialog}]},Y);function Y(t){this.dialog=t,this.id=0,this.numOfWaits=0,this.disableWait=!1,Y.singleInstance=this}var Z=(tt.prototype.intercept=function(t,e){var n=this.busy.showBusy();return e.handle(t).pipe(l.finalize(function(){return n()}))},tt.decorators=[{type:v.Injectable}],tt.ctorParameters=function(){return[{type:X}]},tt);function tt(t){this.busy=t}var et=(nt.prototype.ngOnChanges=function(){var t=this;if(this.settings&&this.settings.columns){this.object&&(this.settings=new C.DataAreaSettings({columnSettings:function(){return C.getColumnsFromObject(t.object)}})),this.settings.columns.onColListChange(function(){return t.lastCols=undefined});var e=this.settings;e.settings&&e.settings.numberOfColumnAreas&&(this.columns=e.settings.numberOfColumnAreas)}},nt.prototype.theColumns=function(){var t=this.settings.columns.getNonGridColumns();if(t==this.lastAllCols)return this.lastCols;this.lastAllCols=t;var e,n=[];this.lastCols=n;for(var i=0;i<this.columns;i++)n.push([]);e=this.settings.lines?this.settings.lines:t.map(function(t){return[t]});var o=Math.round(e.length/this.columns);for(i=0;i<e.length;i++)n[Math.floor(i/o)].push(e[i]);return this.lastCols},nt.decorators=[{type:v.Component,args:[{selector:"data-area",template:'<div class="column-container">\r\n <div *ngFor="let col of theColumns()">\r\n <ng-container *ngFor="let line of col">\r\n <div class="one-line">\r\n <ng-container *ngFor="let map of line">\r\n <data-control [settings]="settings.columns" [map]="map" [record]="settings.columns.currentRow()" *ngIf="settings.columns.__visible(map,settings.columns.currentRow())">\r\n </data-control>\r\n </ng-container>\r\n </div>\r\n </ng-container>\r\n </div>\r\n</div>',encapsulation:v.ViewEncapsulation.None,styles:[".one-line{display:-webkit-box;display:flex;-webkit-box-pack:justify;justify-content:space-between}.one-line>*{margin-left:.2em;margin-right:.2em;flex-basis:1px;-webkit-box-flex:1;flex-grow:1}@media only screen and (min-width:768px){.column-container{display:-webkit-box;display:flex;width:100%}.column-container>div{width:100%}}"]}]}],nt.propDecorators={settings:[{type:v.Input}],object:[{type:v.Input}],columns:[{type:v.Input}]},nt);function nt(){this.settings={columns:new C.ColumnCollection(function(){return undefined},function(){return!1},undefined,function(){return!0}),lines:undefined},this.columns=1}var it=(ot.prototype.post=function(t,e){return this.http.post(t,e).toPromise()},ot.prototype["delete"]=function(t){return this.http["delete"](t).toPromise().then(function(t){})},ot.prototype.put=function(t,e){return this.http.put(t,e).toPromise()},ot.prototype.get=function(t){return this.http.get(t).toPromise()},ot);function ot(t){this.http=t}var rt="authorization",st=(at.prototype.getToken=function(){return this.currentToken},at.prototype.loadSessionFromCookie=function(t){this.path=t,this.tokenName=rt,this.path&&(this.tokenName+="/"+t);var e=sessionStorage.getItem(this.tokenName);if(e)this.setToken(e);else if(e=localStorage.getItem(this.tokenName))this.setToken(e);else{var n=document.cookie,i=n.indexOf(rt+"=");0<=i&&(0<=(i=(n=n.substring(i+rt.length+1).trim()).indexOf(";"))&&(n=n.substring(0,i)),this._setToken(n),localStorage.setItem(this.tokenName,n))}},at.prototype.setToken=function(n,i){return void 0===i&&(i=!1),I(this,void 0,void 0,function(){var e;return _(this,function(t){return n?(this._setToken(n),e=rt+"="+n,this.path?e+="; path=/"+this.path:e+=";path=/",i&&(e+="; expires = Thu, 01 Jan 2076 00:00:00 GMT",localStorage.setItem(this.tokenName,n)),sessionStorage.setItem(this.tokenName,n),document.cookie=e,[2,!0]):(this.signout(),[2,!1])})})},at.prototype._setToken=function(t){this.currentToken=t;var e=undefined;if(this.currentToken)try{e=(new w.JwtHelperService).decodeToken(t)}catch(n){console.log(n)}this.context._setUser(e),this.tokenInfoChanged&&this.tokenInfoChanged()},at.prototype.signout=function(){this._setToken("");var t=rt+"=; expires = Thu, 01 Jan 1970 00:00:00 GMT";this.path?t+="; path="+this.path:t+=";path=/",document.cookie=t,localStorage.removeItem(this.tokenName),sessionStorage.removeItem(this.tokenName)},at.decorators=[{type:v.Injectable}],at.ctorParameters=function(){return[{type:C.Context}]},at);function at(t){this.context=t}var lt=(ct.prototype.intercept=function(t,e){var n=t,i=this.sessionManager.getToken();return i&&0<i.length&&(n=t.clone({headers:t.headers.set(rt,"Bearer "+i)})),e.handle(n)},ct.decorators=[{type:v.Injectable}],ct.ctorParameters=function(){return[{type:st}]},ct);function ct(t){this.sessionManager=t}var ut=(dt.decorators=[{type:v.NgModule,args:[{declarations:[D,et,P,O,K,M,A,R],imports:[i.FormsModule,n.CommonModule,s.HttpClientModule,a.MatProgressSpinnerModule,c.MatDialogModule,u.BrowserAnimationsModule,d.MatFormFieldModule,h.MatButtonModule,g.MatListModule,y.MatTooltipModule,p.MatInputModule,f.MatIconModule,i.ReactiveFormsModule,m.MatCheckboxModule,b.MatMenuModule],providers:[{provide:C.Context,useFactory:ht,deps:[s.HttpClient,c.MatDialog]},st,H,W,j,X,{provide:s.HTTP_INTERCEPTORS,useClass:Z,multi:!0},{provide:s.HTTP_INTERCEPTORS,useClass:lt,multi:!0}],exports:[D,P,O,et,A],entryComponents:[K,A,R]}]}],dt);function dt(){}var pt=Symbol("dialogConfigMember");function ht(t,s){var n=this,e=new C.Context;e.openDialog=function(i,o,r){return I(n,void 0,void 0,function(){var e,n;return _(this,function(t){switch(t.label){case 0:return e=s.open(i,i[pt]),o&&o(e.componentInstance),e.beforeClosed?[4,e.beforeClosed().toPromise()]:[3,2];case 1:return n=t.sent(),[3,4];case 2:return[4,e.beforeClose().toPromise()];case 3:n=t.sent(),t.label=4;case 4:return r?[2,r(e.componentInstance)]:[2,n]}})})};var i=new it(t);return C.Action.provider=i,C.actionInfo.runActionWithoutBlockingUI=function(e){return I(n,void 0,void 0,function(){return _(this,function(t){switch(t.label){case 0:return[4,X.singleInstance.donotWait(e)];case 1:return[2,t.sent()]}})})},e.setDataProvider(new C.RestDataProvider(C.Context.apiBaseUrl,i)),e}t.BusyService=X,t.SelectValueDialogComponent=A,t.JwtSessionManager=st,t.DialogConfig=function gt(e){return function(t){return t[pt]=e,t}},t.buildContext=ht,t.RemultModule=ut,t.RouteHelperService=j,t.SignedInGuard=W,t.NotSignedInGuard=H,t.ɵd=et,t.ɵc=D,t.ɵh=M,t.ɵe=P,t.ɵf=O,t.ɵi=R,t.ɵa=Z,t.ɵg=K,t.ɵb=lt,Object.defineProperty(t,"__esModule",{value:!0})}); | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/material/core"),require("@angular/common"),require("@angular/forms"),require("util"),require("@angular/router"),require("@angular/common/http"),require("@angular/material/progress-spinner"),require("rxjs/operators"),require("@angular/material/dialog"),require("@angular/platform-browser/animations"),require("@angular/material/form-field"),require("@angular/material/input"),require("@angular/material/button"),require("@angular/material/list"),require("@angular/material/icon"),require("@angular/material/checkbox"),require("@angular/material/tooltip"),require("@angular/material/menu"),require("@angular/core"),require("@auth0/angular-jwt"),require("@remult/core")):"function"==typeof define&&define.amd?define("@remult/angular",["exports","@angular/material/core","@angular/common","@angular/forms","util","@angular/router","@angular/common/http","@angular/material/progress-spinner","rxjs/operators","@angular/material/dialog","@angular/platform-browser/animations","@angular/material/form-field","@angular/material/input","@angular/material/button","@angular/material/list","@angular/material/icon","@angular/material/checkbox","@angular/material/tooltip","@angular/material/menu","@angular/core","@auth0/angular-jwt","@remult/core"],e):e((t.remult=t.remult||{},t.remult.angular={}),t.ng.material.core,t.ng.common,t.ng.forms,t.util,t.ng.router,t.ng.common.http,t.ng.material["progress-spinner"],t.rxjs.operators,t.ng.material.dialog,t.ng.platformBrowser.animations,t.ng.material["form-field"],t.ng.material.input,t.ng.material.button,t.ng.material.list,t.ng.material.icon,t.ng.material.checkbox,t.ng.material.tooltip,t.ng.material.menu,t.ng.core,t.angularJwt,t.core$2)}(this,function(t,e,n,i,o,r,s,a,l,c,u,d,p,h,g,f,m,y,b,v,w,C){"use strict";var x=function(t,e){return(x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function I(t,e){function n(){this.constructor=t}x(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}function k(e,s,a,l){return new(a=a||Promise)(function(t,n){function i(t){try{r(l.next(t))}catch(e){n(e)}}function o(t){try{r(l["throw"](t))}catch(e){n(e)}}function r(e){e.done?t(e.value):new a(function(t){t(e.value)}).then(i,o)}r((l=l.apply(e,s||[])).next())})}function _(i,o){var r,s,a,t,l={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return t={next:e(0),"throw":e(1),"return":e(2)},"function"==typeof Symbol&&(t[Symbol.iterator]=function(){return this}),t;function e(e){return function(t){return function n(t){if(r)throw new TypeError("Generator is already executing.");for(;l;)try{if(r=1,s&&(a=2&t[0]?s["return"]:t[0]?s["throw"]||((a=s["return"])&&a.call(s),0):s.next)&&!(a=a.call(s,t[1])).done)return a;switch(s=0,a&&(t=[2&t[0],a.value]),t[0]){case 0:case 1:a=t;break;case 4:return l.label++,{value:t[1],done:!1};case 5:l.label++,s=t[1],t=[0];continue;case 7:t=l.ops.pop(),l.trys.pop();continue;default:if(!(a=0<(a=l.trys).length&&a[a.length-1])&&(6===t[0]||2===t[0])){l=0;continue}if(3===t[0]&&(!a||t[1]>a[0]&&t[1]<a[3])){l.label=t[1];break}if(6===t[0]&&l.label<a[1]){l.label=a[1],a=t;break}if(a&&l.label<a[2]){l.label=a[2],l.ops.push(t);break}a[2]&&l.ops.pop(),l.trys.pop();continue}t=o.call(i,l)}catch(e){t=[6,e],s=0}finally{r=a=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}([e,t])}}}function F(t){var e="function"==typeof Symbol&&t[Symbol.iterator],n=0;return e?e.call(t):{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}function T(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,o,r=n.call(t),s=[];try{for(;(void 0===e||0<e--)&&!(i=r.next()).done;)s.push(i.value)}catch(a){o={error:a}}finally{try{i&&!i.done&&(n=r["return"])&&n.call(r)}finally{if(o)throw o.error}}return s}var D=(Object.defineProperty(S.prototype,"column",{set:function(t){this.map={column:t},this.map.column.__decorateDataSettings(this.map)},enumerable:!0,configurable:!0}),S.prototype.showDescription=function(){return this.map.column&&this.map.getValue||!this._getEditable()},S.prototype.getDropDown=function(){return this.map.valueList},S.prototype.showClick=function(){return!!this.map.click&&!!this._getEditable()&&(this.map.allowClick===undefined||this.map.allowClick(this.record))},S.prototype.click=function(){this.showClick()&&this.settings._click(this.map,this.record)},S.prototype.getClickIcon=function(){return this.map.clickIcon?this.map.clickIcon:"keyboard_arrow_down"},S.prototype.dataControlStyle=function(){return this.settings.__dataControlStyle(this.map)},S.prototype._getColumn=function(){return this.map.column?this.settings.__getColumn(this.map,this.record):new C.StringColumn},S.prototype._getEditable=function(){return!!this.notReadonly||this.settings._getEditable(this.map,this.record)},S.prototype.ngOnChanges=function(){},S.prototype.isSelect=function(){return!(!this.map.valueList||!this._getEditable())},S.prototype.showTextBox=function(){return!this.isSelect()&&!this.showCheckbox()},S.prototype.showCheckbox=function(){return"checkbox"==this.settings._getColDataType(this.map)},S.prototype.getError=function(){return this.settings._getError(this.map,this.record)},S.prototype.getStyle=function(){return this.showDescription()?this.map.hideDataOnInput||!this._getEditable()?{display:"none"}:{width:"50px"}:{}},S.prototype.getFloatLabel=function(){return this.showDescription()&&this.settings._getColDisplayValue(this.map,this.record)?"always":""},S.decorators=[{type:v.Component,args:[{selector:"data-control",template:'<div class="data-control2">\r\n <mat-form-field appearance="outline" [floatLabel]="getFloatLabel()" *ngIf="!showCheckbox()"\r\n class="full-width-form-field dense-form-field">\r\n <mat-label>{{map.caption}}</mat-label>\r\n <div style="display:flex;" *ngIf="showTextBox()">\r\n <input #theId matInput [(ngModel)]="_getColumn().inputValue" type="{{settings._getColDataType(map)}}"\r\n (ngModelChange)="settings._colValueChanged(map,record)" [errorStateMatcher]="ngErrorStateMatches"\r\n [ngStyle]="getStyle()" />\r\n <div *ngIf="showDescription()" style="white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n padding-left:10px;width:100%;" (click)="click()">\r\n {{settings._getColDisplayValue(map,record)}} </div>\r\n </div>\r\n <div *ngIf="isSelect()">\r\n <select matNativeControl [(ngModel)]="_getColumn().inputValue"\r\n (ngModelChange)="settings._colValueChanged(map,record)">\r\n <option *ngFor="let v of getDropDown()" value="{{v.id}}">{{v.caption}}</option>\r\n\r\n </select>\r\n </div>\r\n\r\n <button mat-icon-button matSuffix *ngIf="showClick()" (click)="click()">\r\n <mat-icon>{{getClickIcon()}} </mat-icon>\r\n </button>\r\n\r\n <mat-error *ngIf="getError()" [id]="theId">{{getError()}}</mat-error>\r\n </mat-form-field>\r\n <div *ngIf="showCheckbox()">\r\n <mat-checkbox #theId1 [(ngModel)]="_getColumn().inputValue"\r\n (ngModelChange)="settings._colValueChanged(map,record)" class="fix-label">{{map.caption}}</mat-checkbox>\r\n <mat-error *ngIf="getError()" [id]="theId1">{{getError()}}</mat-error>\r\n </div>\r\n\r\n</div>',styles:[""]}]}],S.propDecorators={map:[{type:v.Input}],column:[{type:v.Input}],record:[{type:v.Input}],notReadonly:[{type:v.Input}],settings:[{type:v.Input}]},S);function S(){function t(t){var e=n.call(this)||this;return e.parent=t,e}var n;this.settings=new C.ColumnCollection(undefined,function(){return!0},undefined,undefined),this.ngErrorStateMatches=(I(t,n=e.ErrorStateMatcher),t.prototype.isErrorState=function(){return!!this.parent.getError()},new t(this))}var M=(Object.defineProperty(B.prototype,"column",{set:function(t){this.map={column:t},this.map.column.__decorateDataSettings(this.map)},enumerable:!0,configurable:!0}),B.prototype.showDescription=function(){return this.map.column&&this.map.getValue||!this._getEditable()},B.prototype.showClick=function(){return!!this.map.click&&!!this._getEditable()&&(this.map.allowClick===undefined||this.map.allowClick(this.record))},B.prototype.getClickIcon=function(){return this.map.clickIcon?this.map.clickIcon:"keyboard_arrow_down"},B.prototype.dataControlStyle=function(){return this.settings.__dataControlStyle(this.map)},B.prototype._getColumn=function(){return this.map.column?this.settings.__getColumn(this.map,this.record):new C.StringColumn},B.prototype.click=function(){this.showClick()&&this.settings._click(this.map,this.record)},B.prototype._getEditable=function(){return!!this.notReadonly||this.settings._getEditable(this.map,this.record)},B.prototype.ngOnChanges=function(){},B.prototype.getDropDown=function(){return this.map.valueList},B.prototype.isSelect=function(){return!(!this.map.valueList||!this._getEditable())},B.prototype.showTextBox=function(){return!this.isSelect()&&!this.showCheckbox()&&this._getEditable()},B.prototype.showReadonlyText=function(){return!this._getEditable()},B.prototype.showCheckbox=function(){return"checkbox"==this.settings._getColDataType(this.map)},B.prototype.getError=function(){return this.settings._getError(this.map,this.record)},B.prototype.getStyle=function(){return this.showDescription()?this.map.hideDataOnInput||!this._getEditable()?{display:"none"}:{width:"50px"}:{width:"100%"}},B.prototype.getFloatLabel=function(){return this.showDescription()&&this.settings._getColDisplayValue(this.map,this.record)?"always":""},B.decorators=[{type:v.Component,args:[{selector:"data-control3",template:'<div class="data-control3" #myDiv>\r\n <div style="display:flex;width:100%;" *ngIf="showTextBox()">\r\n <input #theId matInput [(ngModel)]="_getColumn().inputValue" type="{{settings._getColDataType(map)}}"\r\n (ngModelChange)="settings._colValueChanged(map,record)"\r\n [errorStateMatcher]="ngErrorStateMatches" [ngStyle]="getStyle()" />\r\n <div *ngIf="showDescription()" style="white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n padding-left:10px; width:100%;" (click)="click()">\r\n {{settings._getColDisplayValue(map,record)}} </div>\r\n </div>\r\n <div *ngIf="showReadonlyText()" style="\r\n overflow: hidden;\r\n padding-left:10px; width:100%;" >\r\n {{settings._getColDisplayValue(map,record)}} </div>\r\n <div *ngIf="isSelect()" class="my-select" [class.rtl-select]="rightToLeft">\r\n <select matNativeControl [(ngModel)]="_getColumn().inputValue"\r\n (ngModelChange)="settings._colValueChanged(map,record)">\r\n <option *ngFor="let v of getDropDown()" value="{{v.id}}">{{v.caption}}</option>\r\n\r\n </select>\r\n </div>\r\n\r\n <button mat-icon-button *ngIf="showClick()" (click)="click()" class="row-button">\r\n <mat-icon style="height:19px;">{{getClickIcon()}} </mat-icon>\r\n </button>\r\n\r\n\r\n <div *ngIf="showCheckbox()">\r\n <mat-checkbox #theId1 [(ngModel)]="_getColumn().inputValue"\r\n (ngModelChange)="settings._colValueChanged(map,record)" class="fix-label"></mat-checkbox>\r\n </div>\r\n\r\n</div>\r\n<mat-error *ngIf="getError()" [id]="theId" style="font-size: 75%;">{{getError()}}</mat-error>',styles:['.my-select::after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;pointer-events:none;color:rgba(0,0,0,.54);margin-top:-5px}.rtl-select::after{right:auto;left:0}.my-select{position:relative;width:100%}.data-control3{display:-webkit-box;display:flex;width:100%}.row-button{height:auto;line-height:normal}input{border:none;outline:0;padding:0;margin:0;font-size:inherit;font-family:inherit}']}]}],B.propDecorators={map:[{type:v.Input}],column:[{type:v.Input}],rightToLeft:[{type:v.Input}],record:[{type:v.Input}],notReadonly:[{type:v.Input}],settings:[{type:v.Input}]},B);function B(){function t(t){var e=n.call(this)||this;return e.parent=t,e}var n;this.rightToLeft=!1,this.settings=new C.ColumnCollection(undefined,function(){return!0},undefined,undefined),this.ngErrorStateMatches=(I(t,n=e.ErrorStateMatcher),t.prototype.isErrorState=function(){return!!this.parent.getError()},new t(this))}var A=(L.prototype.selectFirst=function(){var t,e;try{for(var n=F(this.values),i=n.next();!i.done;i=n.next()){var o=i.value;if(this.matchesFilter(o))return void this.select(o)}}catch(r){t={error:r}}finally{try{i&&!i.done&&(e=n["return"])&&e.call(n)}finally{if(t)throw t.error}}},L.prototype.matchesFilter=function(t){return t.caption.toLocaleLowerCase().includes(this.searchString.toLocaleLowerCase())},L.prototype.args=function(t){this.values=t.values,this.onSelect=t.onSelect,this.title=t.title},L.prototype.select=function(t){this.onSelect(t),this.dialog.close()},L.decorators=[{type:v.Component,args:[{template:'<h1 mat-dialog-title>{{title}}</h1>\r\n\r\n<div mat-dialog-content>\r\n <form (submit)="selectFirst()">\r\n <mat-form-field>\r\n <input matInput [(ngModel)]="searchString" [ngModelOptions]="{standalone: true}"> \r\n </mat-form-field>\r\n </form>\r\n <mat-nav-list role="list" *ngIf="values">\r\n <ng-container *ngFor="let o of values">\r\n <mat-list-item role="listitem" style="height:36px"\r\n *ngIf="matchesFilter(o)" (click)="select(o)">\r\n {{o.caption}}\r\n </mat-list-item>\r\n <mat-divider *ngIf="matchesFilter(o)"></mat-divider>\r\n </ng-container>\r\n </mat-nav-list>\r\n</div>\r\n<div mat-dialog-actions>\r\n\r\n <button mat-icon-button mat-dialog-close>\r\n <mat-icon>clear</mat-icon>\r\n </button>\r\n</div>'}]}],L.ctorParameters=function(){return[{type:c.MatDialogRef}]},L);function L(t){this.dialog=t,this.searchString=""}var R=(P.prototype.setFilter=function(){this.info.settings.columns.filterRows(this.info.filterColumnToAdd),this.dialog.close()},P.prototype.clear=function(){this.info.settings.columns.clearFilter(this.info.filterColumnToAdd),this.dialog.close()},P.decorators=[{type:v.Component,args:[{template:'<h1 mat-dialog-title *ngIf="!info.rightToLeft">Filter {{this.info.filterColumnToAdd?.caption}}</h1>\r\n<h1 mat-dialog-title *ngIf="info.rightToLeft">סינון {{this.info.filterColumnToAdd?.caption}}</h1>\r\n<div mat-dialog-content>\r\n\r\n <data-control *ngIf="this.info.filterColumnToAdd" [settings]="info.settings.columns" [map]="info.filterColumnToAdd"\r\n [record]="info.settings.columns.filterHelper.filterRow" [notReadonly]="true"></data-control>\r\n</div>\r\n<div mat-dialog-actions>\r\n <button mat-icon-button (click)="setFilter()">\r\n <mat-icon>check</mat-icon>\r\n </button>\r\n <button mat-icon-button (click)="clear()">\r\n <mat-icon>clear</mat-icon>\r\n </button>\r\n</div>'}]}],P.ctorParameters=function(){return[{type:c.MatDialogRef}]},P);function P(t){this.dialog=t}var G=(E.prototype.getCurrentFilterValue=function(e){this.settings.initOrigList();var t=this.settings.origList.find(function(t){return t.column==e});return this.settings.columns._getColDisplayValue(t,this.settings.filterHelper.filterRow)},E.prototype.cancelAddFilter=function(){},E.prototype.showEditFilter=function(e){this.filterColumnToAdd=this.settings.origList.find(function(t){return t.column==e}),this.editFilterVisible=!0,this.showAddFilter=!1},E.prototype.userFilterButton=function(){this.showFilterButton=!this.showFilterButton,this.settings.initOrigList(),0==this.settings.filterHelper.filterColumns.length&&this.showAddAnotherFilterDialog()},E.prototype.showAddAnotherFilterDialog=function(){return k(this,void 0,void 0,function(){var e=this;return _(this,function(t){switch(t.label){case 0:return this.settings.initOrigList(),this.filterColumnToAdd=undefined,[4,this.context.openDialog(A,function(t){return t.args({title:e.rightToLeft?"בחר עמודה לסינון":"Select Column to Filter",values:e.settings.origList,onSelect:function(t){return e.filterColumnToAdd=t}})})];case 1:return t.sent(),this.filterColumnToAdd?[4,this.context.openDialog(R,function(t){return t.info=e})]:[3,3];case 2:t.sent(),t.label=3;case 3:return this.showAddFilter=!0,this.filterColumnToAdd=undefined,[2]}})})},E.prototype.editFilter=function(n){return k(this,void 0,void 0,function(){var e=this;return _(this,function(t){switch(t.label){case 0:return this.filterColumnToAdd=this.settings.origList.find(function(t){return t.column==n}),[4,this.context.openDialog(R,function(t){return t.info=e})];case 1:return t.sent(),[2]}})})},E.prototype.confirmEditFilter=function(){this.settings.columns.filterRows(this.filterColumnToAdd),this.editFilterVisible=!1},E.prototype.clearEditFilter=function(){this.settings.columns.clearFilter(this.filterColumnToAdd),this.editFilterVisible=!1},E.prototype.addFilter=function(){this.settings.columns.filterRows(this.filterColumnToAdd),this.showAddFilter=!1},E.prototype.cancelAddNewFilter=function(){this.showAddFilter=!1},E.prototype.ngAfterViewInit=function(){window&&window.getComputedStyle&&this.theDiv&&(this.rightToLeft="rtl"==window.getComputedStyle(this.theDiv.nativeElement,null).getPropertyValue("direction"))},E.decorators=[{type:v.Component,args:[{selector:"Data-Filter",template:'<span (click)="showAddAnotherFilterDialog()" #theDiv class="link" *ngIf="settings.settings.showFilter"><span *ngIf="!rightToLeft">Filter</span><span *ngIf="rightToLeft">סינון</span></span>\r\n<span *ngIf="settings.columns.filterHelper.filterColumns.length>0">: </span>\r\n<span *ngFor="let map of settings.columns.filterHelper.filterColumns ; let i = index">\r\n <span *ngIf="i>0"> <span *ngIf="!rightToLeft">and</span><span *ngIf="rightToLeft">וגם</span> </span>\r\n <span (click)="editFilter(map)" class="link"> {{map.defs.caption}} = "{{this.getCurrentFilterValue(map)}}"</span>\r\n</span>',styles:[".link {\n cursor:pointer;\n color:blue;\n text-decoration:underline;\n }"]}]}],E.ctorParameters=function(){return[{type:C.Context}]},E.propDecorators={settings:[{type:v.Input}],theDiv:[{type:v.ViewChild,args:["theDiv"]}]},E);function E(t){this.context=t,this.showFilterButton=!1,this.showAddFilter=!1,this.editFilterVisible=!1,this.rightToLeft=!1}var O=(V.prototype.ngAfterViewInit=function(){window&&window.getComputedStyle&&this.dataGridDiv&&(this.rightToLeft="rtl"==window.getComputedStyle(this.dataGridDiv.nativeElement,null).getPropertyValue("direction"))},V.prototype.addCol=function(n){return k(this,void 0,void 0,function(){var e=this;return _(this,function(t){switch(t.label){case 0:return[4,this.context.openDialog(A,function(t){return t.args({values:e.settings.origList,onSelect:function(t){e.settings.columns.addCol(n,t),e.settings.columns.numOfColumnsInGrid++}})})];case 1:return t.sent(),[2]}})})},V.prototype.getColFlex=function(t){return"0 0 "+this.getColWidth(t)},V.prototype.getColWidth=function(t){var e=this.settings.columns.__dataControlStyle(t);return e=e||"200px"},V.prototype.test=function(){},V.prototype.getTotalRows=function(){return this.settings.totalRows?Math.ceil(this.settings.totalRows/this.settings.rowsPerPage):this.rightToLeft?"רבים":"many"},V.prototype.dragStart=function(t){this.tempDragColumn=t},V.prototype.dragOver=function(t,e){e.preventDefault()},V.prototype.onDrop=function(t){var e=this.settings.columns.items.indexOf(this.tempDragColumn);this.settings.columns.items.splice(e,1);var n=this.settings.columns.items.indexOf(t);n==e&&n++,this.settings.columns.items.splice(n,0,this.tempDragColumn),this.settings.columns.colListChanged()},V.prototype._getHeight=function(){if(this.height)return(+this.height).toString()==this.height?this.height+"px":this.height},V.prototype.isFiltered=function(t){return this.settings.columns.filterHelper.isFiltered(t)},V.prototype.showFilterColumnDialog=function(t){this.settings.initOrigList(),this.dataFilterInfo.editFilter(t.column)},V.prototype.getButtonCssClass=function(t,e){return t.cssClass?o.isFunction(t.cssClass)?t.cssClass(e):t.cssClass.toString():""},V.prototype.getButtonText=function(t,e){return t.textInMenu?o.isFunction(t.textInMenu)?e?t.textInMenu(e):"":t.textInMenu:t.name},V.prototype.hasVisibleButton=function(e){return this.rowButtons.find(function(t){return t.visible(e)})},V.prototype.hasVisibleGridButtons=function(){return this.gridButtons.find(function(t){return t.visible()})},V.prototype.addButton=function(t){if(t.click||(t.click=function(t){}),t.visible||(t.visible=function(t){return!0}),t.cssClass){if(!o.isFunction(t.cssClass)){var e=t.cssClass;t.cssClass=function(t){return e}}}else t.cssClass=function(t){return"btn"};return this.rowButtons.push(t),t},V.prototype.rowClicked=function(t){this.settings.setCurrentRow(t)},V.prototype.nextPage=function(){this.page++},V.prototype.previousPage=function(){this.page<=1||this.page--},V.prototype.ngOnChanges=function(){var t,e,n,i=this;if(this.settings){if(this.rowButtons=[],this.gridButtons=[],this.gridButtons.push({visible:function(){return i.settings.items.find(function(t){return t.wasChanged()})},textInMenu:function(){return i.rightToLeft?"שמור "+i.settings.items.filter(function(t){return t.wasChanged()}).length+" שורות":"save "+i.settings.items.filter(function(t){return t.wasChanged()}).length+" rows"},click:function(){return k(i,void 0,void 0,function(){return _(this,function(t){switch(t.label){case 0:return[4,Promise.all(this.settings.items.filter(function(t){return t.wasChanged()}).map(function(t){return t.save()}))];case 1:return t.sent(),[2]}})})}}),this.settings.settings.gridButtons&&(t=this.gridButtons).push.apply(t,function a(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(T(arguments[e]));return t}(this.settings.settings.gridButtons.map(function(t){return t.visible||(t.visible=function(){return!0}),t}))),this.settings.allowUpdate&&(this.addButton({name:"",icon:"check",cssClass:"glyphicon glyphicon-ok btn-success",visible:function(t){return t.wasChanged()},showInLine:!0,textInMenu:function(){return i.rightToLeft?"שמור":"save"},click:function(t){i.settings._doSavingRow(t)}}),this.addButton({name:"",icon:"cancel",cssClass:"btn btn-danger glyphicon glyphicon-ban-circle",visible:function(t){return t.wasChanged()},showInLine:!0,textInMenu:function(){return i.rightToLeft?"בטל שינוים":"cancel"},click:function(t){t.undoChanges()}})),this.settings.allowDelete&&this.addButton({name:"",visible:function(t){return t&&!t.isNew()},icon:"delete",showInLine:!0,textInMenu:function(){return i.rightToLeft?"מחק":"delete"},click:function(e){return k(i,void 0,void 0,function(){return _(this,function(t){switch(t.label){case 0:return this.settings.settings.confirmDelete?[4,this.settings.settings.confirmDelete(e)]:[3,2];case 1:if(!t.sent())return[2];t.label=2;case 2:return e["delete"](),[2]}})})},cssClass:"btn-danger glyphicon glyphicon-trash"}),this.settings._buttons)try{for(var o=F(this.settings._buttons),r=o.next();!r.done;r=o.next()){var s=r.value;this.addButton(s)}}catch(l){e={error:l}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(e)throw e.error}}!this.records&&this.settings&&this.settings.getRecords().then(function(t){i.records=t})}},V.prototype._getRowClass=function(t){var e="dataGridRow ";return this.settings.rowClass&&(e+=this.settings.rowClass(t)),t==this.settings.currentRow&&(e+=" active"),e},V.prototype._getRowColumnClass=function(t,e){return this.settings.columns._getColumnClass(t,e)+" dataGridDataCell"},V.decorators=[{type:v.Component,args:[{selector:"data-grid",template:'<div style="height: 100%;display: flex;flex-direction: column;">\r\n <Data-Filter [settings]="settings" #dataFilter style="flex-shrink: 0;">\r\n </Data-Filter>\r\n <div class="dataGrid" #dataGridDiv *ngIf="settings&&settings.columns" [style.height]="_getHeight()">\r\n <div class="inner-wrapper">\r\n <div class="dataGridHeaderArea">\r\n <div class="dataGridRow">\r\n <div class="data-grid-row-more-buttons dataGridDataCell">\r\n\r\n <button mat-icon-button [matMenuTriggerFor]="updatedRowOptions" *ngIf="hasVisibleGridButtons()">\r\n <mat-icon>expand_more</mat-icon>\r\n </button>\r\n\r\n </div>\r\n <div class="data-grid-row-selection dataGridDataCell" *ngIf="settings.settings.allowSelection">\r\n\r\n <mat-checkbox [indeterminate]="settings.selectAllIntermitent()" [checked]="settings.selectAllChecked()"\r\n (change)="settings.selectAllChanged($event)"></mat-checkbox>\r\n\r\n </div>\r\n <mat-menu #updatedRowOptions="matMenu">\r\n\r\n <ng-container *ngFor="let b of gridButtons">\r\n <button mat-menu-item *ngIf="b.visible()" (click)="b.click()">\r\n <mat-icon *ngIf="b.icon">{{b.icon}}</mat-icon>{{b.textInMenu?b.textInMenu(): b.name}}\r\n </button>\r\n </ng-container>\r\n </mat-menu>\r\n <div class="dataGridHeaderCell headerWithFilter" *ngFor="let map of settings.columns.getGridColumns()"\r\n [style.flex]="getColFlex(map)" [style.width]="getColWidth(map)" draggable="true"\r\n (dragstart)="dragStart(map)" (dragover)="dragOver(map,$event)" (drop)="onDrop(map)">\r\n\r\n <span (click)="settings.sort(map.column)">{{map.caption}}</span>\r\n\r\n\r\n <span class="filterButton" [class.filteredFilterButton]="isFiltered(map.column)"\r\n (click)="showFilterColumnDialog(map)">\r\n <mat-icon>filter_alt</mat-icon>\r\n </span>\r\n \r\n <mat-icon *ngIf="settings.sortedAscending(map.column)">arrow_downward</mat-icon>\r\n <mat-icon class="glyphicon glyphicon-chevron-down pull-right" *ngIf="settings.sortedDescending(map.column)">\r\n arrow_upward</mat-icon>\r\n </div>\r\n <div class="dataGridButtonHeaderCell" *ngIf="rowButtons&& rowButtons.length>0&&displayButtons"\r\n [class.col-xs-1]="rowButtons&&rowButtons.length<3"></div>\r\n </div>\r\n </div>\r\n <div class="dataGridBodyArea">\r\n <div class="dataGridRow" *ngFor="let record of records" [className]="_getRowClass(record)"\r\n (click)="rowClicked(record)">\r\n <div class="data-grid-row-more-buttons dataGridDataCell">\r\n\r\n <button mat-icon-button [matMenuTriggerFor]="updatedRowOptions" *ngIf="hasVisibleButton(record) ">\r\n <mat-icon>more_vert</mat-icon>\r\n </button>\r\n\r\n </div>\r\n <div class="data-grid-row-selection dataGridDataCell" *ngIf="settings.settings.allowSelection">\r\n\r\n <mat-checkbox [checked]="settings.isSelected(record)" (change)="settings.selectedChanged(record)">\r\n </mat-checkbox>\r\n\r\n </div>\r\n <mat-menu #updatedRowOptions="matMenu">\r\n <ng-container *ngFor="let b of rowButtons">\r\n <button mat-menu-item *ngIf="b.visible(record)" (click)="b.click(record)">\r\n <mat-icon *ngIf="b.icon">{{b.icon}}</mat-icon>{{getButtonText(b,record)}}\r\n </button>\r\n </ng-container>\r\n\r\n </mat-menu>\r\n <div class="dataGridDataCell" *ngFor="let map of settings.columns.getGridColumns()"\r\n [className]="_getRowColumnClass(map,record)" [style.flex]="getColFlex(map)"\r\n [style.width]="getColWidth(map)">\r\n <data-control3 [settings]="settings.columns" [map]="map" [record]="record" [rightToLeft]="rightToLeft">\r\n </data-control3>\r\n </div>\r\n <div class="dataGridButtonCell" *ngIf="rowButtons.length>0&&displayButtons" style="white-space:nowrap">\r\n <ng-container *ngFor="let b of rowButtons">\r\n <button mat-icon-button *ngIf="b.visible(record)&&b.icon&&b.showInLine" (click)="b.click(record)"\r\n matTooltip="{{getButtonText(b,record)}}" class="row-button">\r\n <mat-icon *ngIf="b.icon">{{b.icon}} </mat-icon> {{b.name}}\r\n </button>\r\n <button mat-raised-button *ngIf="b.visible(record)&&!b.icon&&b.showInLine" (click)="b.click(record)"\r\n class="row-button">\r\n {{b.name}}\r\n </button>\r\n </ng-container>\r\n\r\n </div>\r\n </div>\r\n\r\n </div>\r\n </div>\r\n </div>\r\n <div class="dataGridFooterArea" *ngIf="records&&settings.settings.showPagination">\r\n <div class="dataGridFooterButtonGroup">\r\n <button mat-icon-button (click)="settings.userChooseColumns()">\r\n <mat-icon>settings</mat-icon>\r\n </button>\r\n\r\n {{rightToLeft?\'שורות בדף\': \'lines per page\'}}\r\n <select class="form-control" style="width:80px;display:inline-block" [(ngModel)]="settings.rowsPerPage"\r\n (change)="settings.getRecords()">\r\n <option *ngFor="let r of settings.rowsPerPageOptions" value="{{r}}">{{r}}</option>\r\n </select></div>\r\n <div class="dataGridFooterButtonGroup">\r\n <button mat-icon-button (click)="settings.firstPage()">\r\n <mat-icon>{{rightToLeft?\'last_page\':\'first_page\'}} </mat-icon>\r\n </button>\r\n <button mat-icon-button [disabled]="settings.page==1" (click)="settings.previousPage()">\r\n <mat-icon>{{rightToLeft?\'chevron_right\':\'chevron_left\'}}</mat-icon>\r\n </button>\r\n {{rightToLeft?\'עמוד\':\'Page\'}} {{settings.page}} {{rightToLeft?\' מתוך \':\' of \'}} {{getTotalRows()}}\r\n <button mat-icon-button [disabled]="!(records.items&& records.items.length>0)" (click)="settings.nextPage()">\r\n <mat-icon>{{!rightToLeft?\'chevron_right\':\'chevron_left\'}}</mat-icon>\r\n </button>\r\n <button mat-icon-button *ngIf="settings.allowUpdate &&settings.allowInsert" (click)="settings.addNewRow()">\r\n <mat-icon>add</mat-icon>\r\n </button>\r\n </div>\r\n <div *ngIf="settings.showSelectColumn" class="selectColumnsArea">\r\n Select Columns\r\n <ol>\r\n <ng-container *ngFor="let c of settings.currList; let i=index">\r\n <li *ngIf="i<settings.columns.numOfColumnsInGrid">\r\n <select [(ngModel)]="settings.currList[i]" class="form-control selectColumnCombo"\r\n (change)="settings.columns.colListChanged()">\r\n <option *ngFor="let o of settings.origList" [ngValue]="o">{{o.caption}}</option>\r\n </select>\r\n <input [(ngModel)]="c.width" style="width:50px;display:inline;">\r\n <button mat-icon-button *ngIf="settings.currList.length>1" (click)="settings.deleteCol(c)">\r\n <mat-icon>cancel</mat-icon>\r\n </button>\r\n <button mat-icon-button (click)="addCol(c)">\r\n <mat-icon>add</mat-icon>\r\n </button>\r\n <button mat-icon-button *ngIf="i<settings.currList.length-1" (click)="settings.columns.moveCol(c,1)">\r\n <mat-icon>keyboard_arrow_down</mat-icon>\r\n </button>\r\n <button mat-icon-button *ngIf="i>0" (click)="settings.columns.moveCol(c,-1)">\r\n <mat-icon>keyboard_arrow_up</mat-icon>\r\n </button>\r\n </li>\r\n </ng-container>\r\n </ol>\r\n <button (click)="settings.resetColumns()" class="btn glyphicon glyphicon-repeat"></button>\r\n </div>\r\n </div>\r\n\r\n\r\n\r\n\r\n <data-area *ngIf="settings.showDataArea" [settings]="settings" [columns]="2"></data-area>\r\n</div>',styles:[".row-button{height:auto;line-height:normal}.inner-wrapper{display:inline-block}.dataGrid{overflow:auto;border:1px solid #e0e0e0;height:100%}.dataGridRow{display:-webkit-box;display:flex}.dataGridHeaderArea{position:-webkit-sticky;position:sticky;top:0;clear:both;background-color:#f5f5f5;z-index:3}.dataGridHeaderArea mat-icon{font-size:16px;height:18px;width:18px;line-height:18px}.dataGridFooterButtonGroup{display:inline-block}.dataGridFooterArea{width:100%;bottom:0;left:0;background-color:#f5f5f5;border:1px solid #e0e0e0;box-sizing:border-box}.dataGridDataCell,.dataGridHeaderCell{padding:4px}.dataGridDataCell{border-top:1px solid #e0e0e0}.data-grid-row-more-buttons{border-left:1px solid #e0e0e0;border-right:1px solid #e0e0e0;padding-left:0;padding-right:0;width:18px}.data-grid-row-more-buttons mat-icon{font-size:16px;height:17px;width:18px;line-height:17px}.data-grid-row-more-buttons button{width:auto;height:auto;line-height:18px}.data-grid-row-selection{width:18px}.filterDialog{background-color:#fff;position:absolute;padding:10px;z-index:800;border-radius:5px;width:200px;border:2px solid gray}.filterDialog .form-group{margin-right:0;margin-left:0}.designModeButton span{visibility:hidden}.designModeButton:hover span{visibility:visible}.selectColumnCombo{display:inline-block;width:auto}.selectColumnsArea{display:block}.headerWithFilter .filterButton{visibility:hidden}.headerWithFilter .filteredFilterButton,.headerWithFilter:hover .filterButton{visibility:visible}table input{min-width:75px}table select{min-width:100px}"]}]}],V.ctorParameters=function(){return[{type:C.Context}]},V.propDecorators={dataGridDiv:[{type:v.ViewChild,args:["dataGridDiv"]}],width:[{type:v.Input}],height:[{type:v.Input}],displayButtons:[{type:v.Input}],displayVCR:[{type:v.Input}],records:[{type:v.Input}],settings:[{type:v.Input}],dataFilterInfo:[{type:v.ViewChild,args:[G]}]},V);function V(t){this.context=t,this.rightToLeft=!1,this.displayButtons=!0,this.displayVCR=!0,this.rowButtons=[],this.gridButtons=[],this.keys=[],this.page=1}var W=(j.prototype.navigateToComponent=function(e){var n=this,i=!1;this.router.config.forEach(function(t){i||t.component==e&&(i=!0,n.router.navigate(["/"+t.path]))}),i||console.warn("couldn't find path for ",e,this.router.config)},j.prototype.canNavigateToRoute=function(t){var e,n;if(!t.canActivate)return!0;try{for(var i=F(t.canActivate),o=i.next();!o.done;o=i.next()){var r=o.value,s=this.injector.get(r);if(s&&s.canActivate){var a=new U;if(a.routeConfig=t,!s.canActivate(a,undefined))return!1}}}catch(l){e={error:l}}finally{try{o&&!o.done&&(n=i["return"])&&n.call(i)}finally{if(e)throw e.error}}return!0},j.decorators=[{type:v.Injectable}],j.ctorParameters=function(){return[{type:r.Router},{type:v.Injector}]},j);function j(t,e){this.router=t,this.injector=e}var N=(q.prototype.isAllowed=function(){return!0},q.prototype.canActivate=function(t){if(this.context.isSignedIn()&&this.context.isAllowed(this.isAllowed()))return!0;if(!(t instanceof U)){var e=q.componentToNavigateIfNotAllowed;e!=undefined?this.helper.navigateToComponent(e):this.router.navigate(["/"])}return!1},q.decorators=[{type:v.Injectable}],q.ctorParameters=function(){return[{type:C.Context},{type:r.Router},{type:W}]},q);function q(t,e,n){this.context=t,this.router=e,this.helper=n}var H=(z.prototype.canActivate=function(t){return!this.context.isSignedIn()},z.decorators=[{type:v.Injectable}],z.ctorParameters=function(){return[{type:C.Context},{type:r.Router}]},z);function z(t,e){this.context=t,this.router=e}var J,U=(I($,J=r.ActivatedRouteSnapshot),$);function $(){return J.call(this)||this}var K=(Q.prototype.ngOnInit=function(){},Q.decorators=[{type:v.Component,args:[{selector:"app-wait",template:'<mat-progress-spinner [mode]="mode" [value]="value" >\r\n</mat-progress-spinner>',styles:[""]}]}],Q.ctorParameters=function(){return[]},Q);function Q(){this.mode="indeterminate",this.value=0}var X=(Y.prototype.donotWait=function(e){return k(this,void 0,void 0,function(){return _(this,function(t){switch(t.label){case 0:this.disableWait=!0,t.label=1;case 1:return t.trys.push([1,,3,4]),[4,e()];case 2:return[2,t.sent()];case 3:return this.disableWait=!1,[7];case 4:return[2]}})})},Y.prototype.donotWaitNonAsync=function(t){this.disableWait=!0;try{return t()}finally{this.disableWait=!1}},Y.prototype.log=function(t,e){},Y.prototype.doWhileShowingBusy=function(n){return k(this,void 0,void 0,function(){var e;return _(this,function(t){switch(t.label){case 0:e=this.showBusy(),t.label=1;case 1:return t.trys.push([1,,3,4]),[4,n()];case 2:return[2,t.sent()];case 3:return e(),[7];case 4:return[2]}})})},Y.prototype.startBusyWithProgress=function(){var t=this;if(this.disableWait)return{close:function(){},progress:function(){}};var e=!1,n=this.dialog.open(K,{disableClose:!0});return{close:function(){return k(t,void 0,void 0,function(){return _(this,function(t){switch(t.label){case 0:return e?(n.componentInstance.value=100,[4,new Promise(function(t){return setTimeout(function(){return t(0)},250)})]):[3,2];case 1:t.sent(),t.label=2;case 2:return n.close(),[2]}})})},progress:function(t){0<t&&(e=!0,n.componentInstance.mode="determinate",n.componentInstance.value=100*t,console.log(t))}}},Y.prototype.showBusy=function(){var t=this,e=this.id++;return this.disableWait?function(){}:(this.log(e,"start busy "),0==this.numOfWaits&&setTimeout(function(){0<t.numOfWaits&&!t.waitRef&&(t.log(e,"actual start busy "),t.waitRef=t.dialog.open(K,{disableClose:!0}))},300),this.numOfWaits++,function(){t.numOfWaits--,t.log(e,"close busy "),0==t.numOfWaits&&(t.log(e,"close top busy "),t.waitRef&&(t.log(e,"actual close top busy "),t.waitRef.close(),t.waitRef=undefined))})},Y.decorators=[{type:v.Injectable}],Y.ctorParameters=function(){return[{type:c.MatDialog}]},Y);function Y(t){this.dialog=t,this.id=0,this.numOfWaits=0,this.disableWait=!1,Y.singleInstance=this}var Z=(tt.prototype.intercept=function(t,e){var n=this.busy.showBusy();return e.handle(t).pipe(l.finalize(function(){return n()}))},tt.decorators=[{type:v.Injectable}],tt.ctorParameters=function(){return[{type:X}]},tt);function tt(t){this.busy=t}var et=(nt.prototype.ngOnChanges=function(){var t=this;if(this.settings&&this.settings.columns){this.object&&(this.settings=new C.DataAreaSettings({columnSettings:function(){return C.getColumnsFromObject(t.object)}})),this.settings.columns.onColListChange(function(){return t.lastCols=undefined});var e=this.settings;e.settings&&e.settings.numberOfColumnAreas&&(this.columns=e.settings.numberOfColumnAreas)}},nt.prototype.theColumns=function(){var t=this.settings.columns.getNonGridColumns();if(t==this.lastAllCols)return this.lastCols;this.lastAllCols=t;var e,n=[];this.lastCols=n;for(var i=0;i<this.columns;i++)n.push([]);e=this.settings.lines?this.settings.lines:t.map(function(t){return[t]});var o=Math.round(e.length/this.columns);for(i=0;i<e.length;i++)n[Math.floor(i/o)].push(e[i]);return this.lastCols},nt.decorators=[{type:v.Component,args:[{selector:"data-area",template:'<div class="column-container">\r\n <div *ngFor="let col of theColumns()">\r\n <ng-container *ngFor="let line of col">\r\n <div class="one-line">\r\n <ng-container *ngFor="let map of line">\r\n <data-control [settings]="settings.columns" [map]="map" [record]="settings.columns.currentRow()" *ngIf="settings.columns.__visible(map,settings.columns.currentRow())">\r\n </data-control>\r\n </ng-container>\r\n </div>\r\n </ng-container>\r\n </div>\r\n</div>',encapsulation:v.ViewEncapsulation.None,styles:[".one-line{display:-webkit-box;display:flex;-webkit-box-pack:justify;justify-content:space-between}.one-line>*{margin-left:.2em;margin-right:.2em;flex-basis:1px;-webkit-box-flex:1;flex-grow:1}@media only screen and (min-width:768px){.column-container{display:-webkit-box;display:flex;width:100%}.column-container>div{width:100%}}"]}]}],nt.propDecorators={settings:[{type:v.Input}],object:[{type:v.Input}],columns:[{type:v.Input}]},nt);function nt(){this.settings={columns:new C.ColumnCollection(function(){return undefined},function(){return!1},undefined,function(){return!0}),lines:undefined},this.columns=1}var it=(ot.prototype.post=function(t,e){return this.http.post(t,e).toPromise()},ot.prototype["delete"]=function(t){return this.http["delete"](t).toPromise().then(function(t){})},ot.prototype.put=function(t,e){return this.http.put(t,e).toPromise()},ot.prototype.get=function(t){return this.http.get(t).toPromise()},ot);function ot(t){this.http=t}var rt="authorization",st=(at.prototype.getToken=function(){return this.currentToken},at.prototype.loadSessionFromCookie=function(t){this.path=t,this.tokenName=rt,this.path&&(this.tokenName+="/"+t);var e=sessionStorage.getItem(this.tokenName);if(e)this.setToken(e);else if(e=localStorage.getItem(this.tokenName))this.setToken(e);else{var n=document.cookie,i=n.indexOf(rt+"=");0<=i&&(0<=(i=(n=n.substring(i+rt.length+1).trim()).indexOf(";"))&&(n=n.substring(0,i)),this._setToken(n),localStorage.setItem(this.tokenName,n))}},at.prototype.setToken=function(n,i){return void 0===i&&(i=!1),k(this,void 0,void 0,function(){var e;return _(this,function(t){return n?(this._setToken(n),e=rt+"="+n,this.path?e+="; path=/"+this.path:e+=";path=/",i&&(e+="; expires = Thu, 01 Jan 2076 00:00:00 GMT",localStorage.setItem(this.tokenName,n)),sessionStorage.setItem(this.tokenName,n),document.cookie=e,[2,!0]):(this.signout(),[2,!1])})})},at.prototype._setToken=function(t){this.currentToken=t;var e=undefined;if(this.currentToken)try{e=(new w.JwtHelperService).decodeToken(t)}catch(n){console.log(n)}this.context._setUser(e),this.tokenInfoChanged&&this.tokenInfoChanged()},at.prototype.signout=function(){this._setToken("");var t=rt+"=; expires = Thu, 01 Jan 1970 00:00:00 GMT";this.path?t+="; path="+this.path:t+=";path=/",document.cookie=t,localStorage.removeItem(this.tokenName),sessionStorage.removeItem(this.tokenName)},at.decorators=[{type:v.Injectable}],at.ctorParameters=function(){return[{type:C.Context}]},at);function at(t){this.context=t}var lt=(ct.prototype.intercept=function(t,e){var n=t,i=this.sessionManager.getToken();return i&&0<i.length&&(n=t.clone({headers:t.headers.set(rt,"Bearer "+i)})),e.handle(n)},ct.decorators=[{type:v.Injectable}],ct.ctorParameters=function(){return[{type:st}]},ct);function ct(t){this.sessionManager=t}var ut=(dt.decorators=[{type:v.NgModule,args:[{declarations:[D,et,G,O,K,M,A,R],imports:[i.FormsModule,n.CommonModule,s.HttpClientModule,a.MatProgressSpinnerModule,c.MatDialogModule,u.BrowserAnimationsModule,d.MatFormFieldModule,h.MatButtonModule,g.MatListModule,y.MatTooltipModule,p.MatInputModule,f.MatIconModule,i.ReactiveFormsModule,m.MatCheckboxModule,b.MatMenuModule],providers:[{provide:C.Context,useFactory:ht,deps:[s.HttpClient,c.MatDialog]},st,H,N,W,X,{provide:s.HTTP_INTERCEPTORS,useClass:Z,multi:!0},{provide:s.HTTP_INTERCEPTORS,useClass:lt,multi:!0}],exports:[D,G,O,et,A],entryComponents:[K,A,R]}]}],dt);function dt(){}var pt=Symbol("dialogConfigMember");function ht(t,s){var n=this,e=new C.Context;e.openDialog=function(i,o,r){return k(n,void 0,void 0,function(){var e,n;return _(this,function(t){switch(t.label){case 0:return e=s.open(i,i[pt]),o&&o(e.componentInstance),e.beforeClosed?[4,e.beforeClosed().toPromise()]:[3,2];case 1:return n=t.sent(),[3,4];case 2:return[4,e.beforeClose().toPromise()];case 3:n=t.sent(),t.label=4;case 4:return r?[2,r(e.componentInstance)]:[2,n]}})})};var i=new it(t);return C.Action.provider=i,C.actionInfo.runActionWithoutBlockingUI=function(e){return k(n,void 0,void 0,function(){return _(this,function(t){switch(t.label){case 0:return[4,X.singleInstance.donotWait(e)];case 1:return[2,t.sent()]}})})},C.actionInfo.startBusyWithProgress=function(){return X.singleInstance.startBusyWithProgress()},e.setDataProvider(new C.RestDataProvider(C.Context.apiBaseUrl,i)),e}t.BusyService=X,t.SelectValueDialogComponent=A,t.JwtSessionManager=st,t.DialogConfig=function gt(e){return function(t){return t[pt]=e,t}},t.buildContext=ht,t.RemultModule=ut,t.RouteHelperService=W,t.SignedInGuard=N,t.NotSignedInGuard=H,t.ɵd=et,t.ɵc=D,t.ɵh=M,t.ɵe=G,t.ɵf=O,t.ɵi=R,t.ɵa=Z,t.ɵg=K,t.ɵb=lt,Object.defineProperty(t,"__esModule",{value:!0})}); | ||
//# sourceMappingURL=remult-angular.umd.min.js.map |
@@ -110,5 +110,9 @@ /** | ||
(x) => tslib_1.__awaiter(this, void 0, void 0, function* () { return yield BusyService.singleInstance.donotWait(x); })); | ||
actionInfo.startBusyWithProgress = (/** | ||
* @return {?} | ||
*/ | ||
() => BusyService.singleInstance.startBusyWithProgress()); | ||
r.setDataProvider(new RestDataProvider(Context.apiBaseUrl, prov)); | ||
return r; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVtdWx0LWNvcmUubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHJlbXVsdC9hbmd1bGFyLyIsInNvdXJjZXMiOlsic3JjL2Fu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W5jZSk7XHJcbiAgICB2YXIgcjtcclxuICAgIGlmIChyZWYuYmVmb3JlQ2xvc2VkKVxyXG4gICAgICByID0gYXdhaXQgcmVmLmJlZm9yZUNsb3NlZCgpLnRvUHJvbWlzZSgpO1xyXG4gICAgZWxzZVxyXG4gICAgICByID0gYXdhaXQgcmVmLmJlZm9yZUNsb3NlKCkudG9Qcm9taXNlKCk7XHJcblxyXG5cclxuICAgIGlmIChyZXR1cm5BVmFsdWUpXHJcbiAgICAgIHJldHVybiByZXR1cm5BVmFsdWUocmVmLmNvbXBvbmVudEluc3RhbmNlKTtcclxuICAgIHJldHVybiByO1xyXG4gIH1cclxuICBsZXQgcHJvdiA9IG5ldyBBbmd1bGFySHR0cFByb3ZpZGVyKGh0dHApO1xyXG4gIEFjdGlvbi5wcm92aWRlciA9IHByb3Y7XHJcbiAgYWN0aW9uSW5mby5ydW5BY3Rpb25XaXRob3V0QmxvY2tpbmdVSSA9IGFzeW5jIHggPT4gYXdhaXQgQnVzeVNlcnZpY2Uuc2luZ2xlSW5zdGFuY2UuZG9ub3RXYWl0KHgpO1xyXG4gIGFjdGlvbkluZm8uc3RhcnRCdXN5V2l0aFByb2dyZXNzID0gKCk9PkJ1c3lTZXJ2aWNlLnNpbmdsZUluc3RhbmNlLnN0YXJ0QnVzeVdpdGhQcm9ncmVzcygpXHJcbiAgci5zZXREYXRhUHJvdmlkZXIobmV3IFJlc3REYXRhUHJvdmlkZXIoQ29udGV4dC5hcGlCYXNlVXJsLCBwcm92KSk7XHJcbiAgcmV0dXJuIHI7XHJcbn0iXX0= |
@@ -80,2 +80,54 @@ /** | ||
*/ | ||
startBusyWithProgress() { | ||
if (this.disableWait) { | ||
return { | ||
close: (/** | ||
* @return {?} | ||
*/ | ||
() => { }), | ||
progress: (/** | ||
* @return {?} | ||
*/ | ||
() => { }) | ||
}; | ||
} | ||
/** @type {?} */ | ||
let suspendWait = false; | ||
/** @type {?} */ | ||
let waitRef = this.dialog.open(WaitComponent, { disableClose: true }); | ||
return { | ||
close: (/** | ||
* @return {?} | ||
*/ | ||
() => tslib_1.__awaiter(this, void 0, void 0, function* () { | ||
if (suspendWait) { | ||
waitRef.componentInstance.value = 100; | ||
yield new Promise((/** | ||
* @param {?} r | ||
* @return {?} | ||
*/ | ||
r => setTimeout((/** | ||
* @return {?} | ||
*/ | ||
() => r(0)), 250))); | ||
} | ||
waitRef.close(); | ||
})), | ||
progress: (/** | ||
* @param {?} x | ||
* @return {?} | ||
*/ | ||
(x) => { | ||
if (x > 0) { | ||
suspendWait = true; | ||
waitRef.componentInstance.mode = 'determinate'; | ||
waitRef.componentInstance.value = x * 100; | ||
console.log(x); | ||
} | ||
}) | ||
}; | ||
} | ||
/** | ||
* @return {?} | ||
*/ | ||
showBusy() { | ||
@@ -155,2 +207,5 @@ /** @type {?} */ | ||
} | ||
export class busyWithProgress { | ||
} | ||
// WARNING: interface has both a type and a value, skipping emit | ||
export class LoaderInterceptor { | ||
@@ -191,2 +246,2 @@ /** | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnVzeS1zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHJlbXVsdC9hbmd1bGFyLyIsInNvdXJjZXMiOlsic3JjL2FuZ3VsYXIvd2FpdC9idXN5LXNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFBRSxTQUFTLEVBQWdCLE1BQU0sMEJBQTBCLENBQUM7QUFFbkUsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLGtCQUFrQixDQUFDO0FBR2pELE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQzs7QUFHMUMsTUFBTSxPQUFPLFdBQVc7Ozs7SUE2QnBCLFlBQW9CLE1BQWlCO1FBQW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gcHJpdmF0ZSBkaXNhYmxlV2FpdCA9IGZhbHNlO1xyXG4gICAgbG9nKGlkOiBudW1iZXIsIHdoYXQ6IHN0cmluZykge1xyXG4gICAgICAgIC8vY29uc29sZS5sb2cod2hhdCArICcgaWQ6JyArIHRoaXMuaWQgKyAnIHc6JyArIHRoaXMubnVtT2ZXYWl0cyk7XHJcbiAgICB9XHJcbiAgICBjb25zdHJ1Y3Rvcihwcml2YXRlIGRpYWxvZzogTWF0RGlhbG9nKSB7XHJcbiAgICAgICAgQnVzeVNlcnZpY2Uuc2luZ2xlSW5zdGFuY2UgPSB0aGlzO1xyXG5cclxuICAgICAgICBcclxuICAgIH1cclxuICAgIGFzeW5jIGRvV2hpbGVTaG93aW5nQnVzeTx0Pih3aGF0OiAoKSA9PiBQcm9taXNlPHQ+KTogUHJvbWlzZTx0PiB7XHJcbiAgICAgICAgbGV0IHggPSB0aGlzLnNob3dCdXN5KCk7XHJcbiAgICAgICAgdHJ5IHtcclxuICAgICAgICAgICAgcmV0dXJuIGF3YWl0IHdoYXQoKTtcclxuICAgICAgICB9XHJcbiAgICAgICAgZmluYWxseSB7XHJcbiAgICAgICAgICAgIHgoKTtcclxuICAgICAgICB9XHJcbiAgICB9XHJcbiAgICBzaG93QnVzeSgpIHtcclxuXHJcbiAgICAgICAgbGV0IGlkID0gdGhpcy5pZCsrO1xyXG4gICAgICAgIGlmICh0aGlzLmRpc2FibGVXYWl0KVxyXG4gICAgICAgICAgICByZXR1cm4gKCkgPT4geyB9O1xyXG4gICAgICAgIHRoaXMubG9nKGlkLCAnc3RhcnQgYnVzeSAnKTtcclxuICAgICAgICBpZiAodGhpcy5udW1PZldhaXRzID09IDApIHtcclxuXHJcbiAgICAgICAgICAgIHNldFRpbWVvdXQoKCkgPT4ge1xyXG5cclxuICAgICAgICAgICAgICAgIGlmICh0aGlzLm51bU9mV2FpdHMgPiAwICYmICF0aGlzLndhaXRSZWYpIHtcclxuICAgICAgICAgICAgICAgICAgICB0aGlzLmxvZyhpZCwgJ2FjdHVhbCBzdGFydCBidXN5ICcpO1xyXG4gICAgICAgICAgICAgICAgICAgIHRoaXMud2FpdFJlZiA9IHRoaXMuZGlhbG9nLm9wZW4oV2FpdENvbXBvbmVudCwgeyBkaXNhYmxlQ2xvc2U6IHRydWUgfSk7XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIH0sIDMwMCk7XHJcblxyXG4gICAgICAgIH1cclxuICAgICAgICB0aGlzLm51bU9mV2FpdHMrKztcclxuXHJcbiAgICAgICAgcmV0dXJuICgpID0+IHtcclxuICAgICAgICAgICAgdGhpcy5udW1PZldhaXRzLS07XHJcbiAgICAgICAgICAgIHRoaXMubG9nKGlkLCAnY2xvc2UgYnVzeSAnKTtcclxuICAgICAgICAgICAgaWYgKHRoaXMubnVtT2ZXYWl0cyA9PSAwKSB7XHJcbiAgICAgICAgICAgICAgICB0aGlzLmxvZyhpZCwgJ2Nsb3NlIHRvcCBidXN5ICcpO1xyXG4gICAgICAgICAgICAgICAgaWYgKHRoaXMud2FpdFJlZikge1xyXG4gICAgICAgICAgICAgICAgICAgIHRoaXMubG9nKGlkLCAnYWN0dWFsIGNsb3NlIHRvcCBidXN5ICcpO1xyXG4gICAgICAgICAgICAgICAgICAgIHRoaXMud2FpdFJlZi5jbG9zZSgpO1xyXG4gICAgICAgICAgICAgICAgICAgIHRoaXMud2FpdFJlZiA9IHVuZGVmaW5lZDtcclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH07XHJcbiAgICB9XHJcblxyXG59XHJcbkBJbmplY3RhYmxlKClcclxuZXhwb3J0IGNsYXNzIExvYWRlckludGVyY2VwdG9yIGltcGxlbWVudHMgSHR0cEludGVyY2VwdG9yIHtcclxuICAgIGNvbnN0cnVjdG9yKHByaXZhdGUgYnVzeTogQnVzeVNlcnZpY2UpIHtcclxuXHJcblxyXG4gICAgfVxyXG4gICAgaW50ZXJjZXB0KHJlcTogSHR0cFJ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RSZWYuY29tcG9uZW50SW5zdGFuY2UudmFsdWUgPSAxMDA7XHJcbiAgICAgICAgICAgICAgICAgICAgYXdhaXQgbmV3IFByb21pc2UociA9PiBzZXRUaW1lb3V0KCgpID0+IHIoMCksIDI1MCkpO1xyXG4gICAgICAgICAgICAgICAgfVxyXG5cclxuICAgICAgICAgICAgICAgIHdhaXRSZWYuY2xvc2UoKTtcclxuICAgICAgICAgICAgfSxcclxuICAgICAgICAgICAgcHJvZ3Jlc3M6ICh4KSA9PiB7XHJcbiAgICAgICAgICAgICAgICBpZiAoeCA+IDApIHtcclxuICAgICAgICAgICAgICAgICAgICBzdXNwZW5kV2FpdCA9IHRydWU7XHJcbiAgICAgICAgICAgICAgICAgICAgd2FpdFJlZi5jb21wb25lbnRJbnN0YW5jZS5tb2RlID0gJ2RldGVybWluYXRlJztcclxuICAgICAgICAgICAgICAgICAgICB3YWl0UmVmLmNvbXBvbmVudEluc3RhbmNlLnZhbHVlID0geCAqIDEwMDtcclxuICAgICAgICAgICAgICAgICAgICBjb25zb2xlLmxvZyh4KTtcclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuICAgIH1cclxuICAgIHNob3dCdXN5KCkge1xyXG5cclxuICAgICAgICBsZXQgaWQgPSB0aGlzLmlkKys7XHJcbiAgICAgICAgaWYgKHRoaXMuZGlzYWJsZVdhaXQpXHJcbiAgICAgICAgICAgIHJldHVybiAoKSA9PiB7IH07XHJcbiAgICAgICAgdGhpcy5sb2coaWQsICdzdGFydCBidXN5ICcpO1xyXG4gICAgICAgIGlmICh0aGlzLm51bU9mV2FpdHMgPT0gMCkge1xyXG5cclxuICAgICAgICAgICAgc2V0VGltZW91dCgoKSA9PiB7XHJcblxyXG4gICAgICAgICAgICAgICAgaWYgKHRoaXMubnVtT2ZXYWl0cyA+IDAgJiYgIXRoaXMud2FpdFJlZikge1xyXG4gICAgICAgICAgICAgICAgICAgIHRoaXMubG9nKGlkLCAnYWN0dWFsIHN0YXJ0IGJ1c3kgJyk7XHJcbiAgICAgICAgICAgICAgICAgICAgdGhpcy53YWl0UmVmID0gdGhpcy5kaWFsb2cub3BlbihXYWl0Q29tcG9uZW50LCB7IGRpc2FibGVDbG9zZTogdHJ1ZSB9KTtcclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgfSwgMzAwKTtcclxuXHJcbiAgICAgICAgfVxyXG4gICAgICAgIHRoaXMubnVtT2ZXYWl0cysrO1xyXG5cclxuICAgICAgICByZXR1cm4gKCkgPT4ge1xyXG4gICAgICAgICAgICB0aGlzLm51bU9mV2FpdHMtLTtcclxuICAgICAgICAgICAgdGhpcy5sb2coaWQsICdjbG9zZSBidXN5ICcpO1xyXG4gICAgICAgICAgICBpZiAodGhpcy5udW1PZldhaXRzID09IDApIHtcclxuICAgICAgICAgICAgICAgIHRoaXMubG9nKGlkLCAnY2xvc2UgdG9wIGJ1c3kgJyk7XHJcbiAgICAgICAgICAgICAgICBpZiAodGhpcy53YWl0UmVmKSB7XHJcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5sb2coaWQsICdhY3R1YWwgY2xvc2UgdG9wIGJ1c3kgJyk7XHJcbiAgICAgICAgICAgICAgICAgICAgdGhpcy53YWl0UmVmLmNsb3NlKCk7XHJcbiAgICAgICAgICAgICAgICAgICAgdGhpcy53YWl0UmVmID0gdW5kZWZpbmVkO1xyXG4gICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgfTtcclxuICAgIH1cclxuXHJcbn1cclxuZXhwb3J0IGNsYXNzIGJ1c3lXaXRoUHJvZ3Jlc3Mge1xyXG5cclxufVxyXG5leHBvcnQgaW50ZXJmYWNlIGJ1c3lXaXRoUHJvZ3Jlc3Mge1xyXG4gICAgcHJvZ3Jlc3MocHJvZ3Jlc3M6IG51bWJlcik7XHJcbiAgICBjbG9zZSgpO1xyXG59XHJcbkBJbmplY3RhYmxlKClcclxuZXhwb3J0IGNsYXNzIExvYWRlckludGVyY2VwdG9yIGltcGxlbWVudHMgSHR0cEludGVyY2VwdG9yIHtcclxuICAgIGNvbnN0cnVjdG9yKHByaXZhdGUgYnVzeTogQnVzeVNlcnZpY2UpIHtcclxuXHJcblxyXG4gICAgfVxyXG4gICAgaW50ZXJjZXB0KHJlcTogSHR0cFJlcXVlc3Q8YW55PiwgbmV4dDogSHR0cEhhbmRsZXIpOiBPYnNlcnZhYmxlPEh0dHBFdmVudDxhbnk+PiB7XHJcbiAgICAgICAgbGV0IHggPSB0aGlzLmJ1c3kuc2hvd0J1c3koKTtcclxuICAgICAgICByZXR1cm4gbmV4dC5oYW5kbGUocmVxKS5waXBlKGZpbmFsaXplKCgpID0+IHgoKSkpO1xyXG4gICAgfVxyXG59Il19 |
@@ -7,3 +7,6 @@ /** | ||
export class WaitComponent { | ||
constructor() { } | ||
constructor() { | ||
this.mode = 'indeterminate'; | ||
this.value = 0; | ||
} | ||
/** | ||
@@ -18,3 +21,3 @@ * @return {?} | ||
selector: 'app-wait', | ||
template: "<mat-progress-spinner [mode]=\"'indeterminate'\" >\r\n</mat-progress-spinner>", | ||
template: "<mat-progress-spinner [mode]=\"mode\" [value]=\"value\" >\r\n</mat-progress-spinner>", | ||
styles: [""] | ||
@@ -25,2 +28,8 @@ }] } | ||
WaitComponent.ctorParameters = () => []; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2FpdC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AcmVtdWx0L2FuZ3VsYXIvIiwic291cmNlcyI6WyJzcmMvYW5ndWxhci93YWl0L3dhaXQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLE1BQU0sZUFBZSxDQUFDO0FBT2xELE1BQU0sT0FBTyxhQUFhO0lBRXhCLGdCQUFnQixDQUFDOzs7O0lBRWpCLFFBQVE7SUFDUixDQUFDOzs7WUFWRixTQUFTLFNBQUM7Z0JBQ1QsUUFBUSxFQUFFLFVBQVU7Z0JBQ3BCLHlGQUFvQzs7YUFFckMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21wb25lbnQsIE9uSW5pdCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5cclxuQENvbXBvbmVudCh7XHJcbiAgc2VsZWN0b3I6ICdhcHAtd2FpdCcsXHJcbiAgdGVtcGxhdGVVcmw6ICcuL3dhaXQuY29tcG9uZW50Lmh0bWwnLFxyXG4gIHN0eWxlVXJsczogWycuL3dhaXQuY29tcG9uZW50LnNjc3MnXVxyXG59KVxyXG5leHBvcnQgY2xhc3MgV2FpdENvbXBvbmVudCBpbXBsZW1lbnRzIE9uSW5pdCB7XHJcblxyXG4gIGNvbnN0cnVjdG9yKCkgeyB9XHJcblxyXG4gIG5nT25Jbml0KCkge1xyXG4gIH1cclxuXHJcbn1cclxuIl19 | ||
if (false) { | ||
/** @type {?} */ | ||
WaitComponent.prototype.mode; | ||
/** @type {?} */ | ||
WaitComponent.prototype.value; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2FpdC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AcmVtdWx0L2FuZ3VsYXIvIiwic291cmNlcyI6WyJzcmMvYW5ndWxhci93YWl0L3dhaXQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLE1BQU0sZUFBZSxDQUFDO0FBT2xELE1BQU0sT0FBTyxhQUFhO0lBRXhCO1FBSUEsU0FBSSxHQUFHLGVBQWUsQ0FBQztRQUN2QixVQUFLLEdBQUcsQ0FBQyxDQUFDO0lBTE0sQ0FBQzs7OztJQUVqQixRQUFRO0lBQ1IsQ0FBQzs7O1lBVkYsU0FBUyxTQUFDO2dCQUNULFFBQVEsRUFBRSxVQUFVO2dCQUNwQixnR0FBb0M7O2FBRXJDOzs7Ozs7SUFPQyw2QkFBdUI7O0lBQ3ZCLDhCQUFVIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50LCBPbkluaXQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcclxuXHJcbkBDb21wb25lbnQoe1xyXG4gIHNlbGVjdG9yOiAnYXBwLXdhaXQnLFxyXG4gIHRlbXBsYXRlVXJsOiAnLi93YWl0LmNvbXBvbmVudC5odG1sJyxcclxuICBzdHlsZVVybHM6IFsnLi93YWl0LmNvbXBvbmVudC5zY3NzJ11cclxufSlcclxuZXhwb3J0IGNsYXNzIFdhaXRDb21wb25lbnQgaW1wbGVtZW50cyBPbkluaXQge1xyXG5cclxuICBjb25zdHJ1Y3RvcigpIHsgfVxyXG5cclxuICBuZ09uSW5pdCgpIHtcclxuICB9XHJcbiAgbW9kZSA9ICdpbmRldGVybWluYXRlJztcclxuICB2YWx1ZSA9IDA7XHJcbn1cclxuIl19 |
@@ -129,5 +129,9 @@ /** | ||
}); }); }); | ||
actionInfo.startBusyWithProgress = (/** | ||
* @return {?} | ||
*/ | ||
function () { return BusyService.singleInstance.startBusyWithProgress(); }); | ||
r.setDataProvider(new RestDataProvider(Context.apiBaseUrl, prov)); | ||
return r; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVtdWx0LWNvcmUubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHJlbXVsdC9hbmd1bGFyLyIsInNvdXJjZXMiOlsic3JjL2FuZ3VsYXIvcmVtdWx0LWNvcmUubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUscUJBQXFCLEV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bnQsIGNvbXBvbmVudFtkaWFsb2dDb25maWdNZW1iZXJdKTtcclxuICAgIGlmIChzZXRQYXJhbWV0ZXJzKVxyXG4gICAgICBzZXRQYXJhbWV0ZXJzKHJlZi5jb21wb25lbnRJbnN0YW5jZSk7XHJcbiAgICB2YXIgcjtcclxuICAgIGlmIChyZWYuYmVmb3JlQ2xvc2VkKVxyXG4gICAgICByID0gYXdhaXQgcmVmLmJlZm9yZUNsb3NlZCgpLnRvUHJvbWlzZSgpO1xyXG4gICAgZWxzZVxyXG4gICAgICByID0gYXdhaXQgcmVmLmJlZm9yZUNsb3NlKCkudG9Qcm9taXNlKCk7XHJcblxyXG5cclxuICAgIGlmIChyZXR1cm5BVmFsdWUpXHJcbiAgICAgIHJldHVybiByZXR1cm5BVmFsdWUocmVmLmNvbXBvbmVudEluc3RhbmNlKTtcclxuICAgIHJldHVybiByO1xyXG4gIH1cclxuICBsZXQgcHJvdiA9IG5ldyBBbmd1bGFySHR0cFByb3ZpZGVyKGh0dHApO1xyXG4gIEFjdGlvbi5wcm92aWRlciA9IHByb3Y7XHJcbiAgYWN0aW9uSW5mby5ydW5BY3Rpb25XaXRob3V0QmxvY2tpbmdVSSA9IGFzeW5jIHggPT4gYXdhaXQgQnVzeVNlcnZpY2Uuc2luZ2xlSW5zdGFuY2UuZG9ub3RXYWl0KHgpO1xyXG4gIGFjdGlvbkluZm8uc3RhcnRCdXN5V2l0aFByb2dyZXNzID0gKCk9PkJ1c3lTZXJ2aWNlLnNpbmdsZUluc3RhbmNlLnN0YXJ0QnVzeVdpdGhQcm9ncmVzcygpXHJcbiAgci5zZXREYXRhUHJvdmlkZXIobmV3IFJlc3REYXRhUHJvdmlkZXIoQ29udGV4dC5hcGlCYXNlVXJsLCBwcm92KSk7XHJcbiAgcmV0dXJuIHI7XHJcbn0iXX0= |
@@ -113,2 +113,67 @@ /** | ||
*/ | ||
BusyService.prototype.startBusyWithProgress = /** | ||
* @return {?} | ||
*/ | ||
function () { | ||
var _this = this; | ||
if (this.disableWait) { | ||
return { | ||
close: (/** | ||
* @return {?} | ||
*/ | ||
function () { }), | ||
progress: (/** | ||
* @return {?} | ||
*/ | ||
function () { }) | ||
}; | ||
} | ||
/** @type {?} */ | ||
var suspendWait = false; | ||
/** @type {?} */ | ||
var waitRef = this.dialog.open(WaitComponent, { disableClose: true }); | ||
return { | ||
close: (/** | ||
* @return {?} | ||
*/ | ||
function () { return tslib_1.__awaiter(_this, void 0, void 0, function () { | ||
return tslib_1.__generator(this, function (_a) { | ||
switch (_a.label) { | ||
case 0: | ||
if (!suspendWait) return [3 /*break*/, 2]; | ||
waitRef.componentInstance.value = 100; | ||
return [4 /*yield*/, new Promise((/** | ||
* @param {?} r | ||
* @return {?} | ||
*/ | ||
function (r) { return setTimeout((/** | ||
* @return {?} | ||
*/ | ||
function () { return r(0); }), 250); }))]; | ||
case 1: | ||
_a.sent(); | ||
_a.label = 2; | ||
case 2: | ||
waitRef.close(); | ||
return [2 /*return*/]; | ||
} | ||
}); | ||
}); }), | ||
progress: (/** | ||
* @param {?} x | ||
* @return {?} | ||
*/ | ||
function (x) { | ||
if (x > 0) { | ||
suspendWait = true; | ||
waitRef.componentInstance.mode = 'determinate'; | ||
waitRef.componentInstance.value = x * 100; | ||
console.log(x); | ||
} | ||
}) | ||
}; | ||
}; | ||
/** | ||
* @return {?} | ||
*/ | ||
BusyService.prototype.showBusy = /** | ||
@@ -194,2 +259,9 @@ * @return {?} | ||
} | ||
var busyWithProgress = /** @class */ (function () { | ||
function busyWithProgress() { | ||
} | ||
return busyWithProgress; | ||
}()); | ||
export { busyWithProgress }; | ||
// WARNING: interface has both a type and a value, skipping emit | ||
var LoaderInterceptor = /** @class */ (function () { | ||
@@ -234,2 +306,2 @@ function LoaderInterceptor(busy) { | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnVzeS1zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHJlbXVsd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ICAgICAgIHJldHVybiBhd2FpdCB3aGF0KCk7XHJcbiAgICAgICAgfVxyXG4gICAgICAgIGZpbmFsbHkge1xyXG4gICAgICAgICAgICB4KCk7XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG4gICAgc2hvd0J1c3koKSB7XHJcblxyXG4gICAgICAgIGxldCBpZCA9IHRoaXMuaWQrKztcclxuICAgICAgICBpZiAodGhpcy5kaXNhYmxlV2FpdClcclxuICAgICAgICAgICAgcmV0dXJuICgpID0+IHsgfTtcclxuICAgICAgICB0aGlzLmxvZyhpZCwgJ3N0YXJ0IGJ1c3kgJyk7XHJcbiAgICAgICAgaWYgKHRoaXMubnVtT2ZXYWl0cyA9PSAwKSB7XHJcblxyXG4gICAgICAgICAgICBzZXRUaW1lb3V0KCgpID0+IHtcclxuXHJcbiAgICAgICAgICAgICAgICBpZiAodGhpcy5udW1PZldhaXRzID4gMCAmJiAhdGhpcy53YWl0UmVmKSB7XHJcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5sb2coaWQsICdhY3R1YWwgc3RhcnQgYnVzeSAnKTtcclxuICAgICAgICAgICAgICAgICAgICB0aGlzLndhaXRSZWYgPSB0aGlzLmRpYWxvZy5vcGVuKFdhaXRDb21wb25lbnQsIHsgZGlzYWJsZUNsb3NlOiB0cnVlIH0pO1xyXG4gICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICB9LCAzMDApO1xyXG5cclxuICAgICAgICB9XHJcbiAgICAgICAgdGhpcy5udW1PZldhaXRzKys7XHJcblxyXG4gICAgICAgIHJldHVybiAoKSA9PiB7XHJcbiAgICAgICAgICAgIHRoaXMubnVtT2ZXYWl0cy0tO1xyXG4gICAgICAgICAgICB0aGlzLmxvZyhpZCwgJ2Nsb3NlIGJ1c3kgJyk7XHJcbiAgICAgICAgICAgIGlmICh0aGlzLm51bU9mV2FpdHMgPT0gMCkge1xyXG4gICAgICAgICAgICAgICAgdGhpcy5sb2coaWQsICdjbG9zZSB0b3AgYnVzeSAnKTtcclxuICAgICAgICAgICAgICAgIGlmICh0aGlzLndhaXRSZWYpIHtcclxuICAgICAgICAgICAgICAgICAgICB0aGlzLmxvZyhpZCwgJ2FjdHVhbCBjbG9zZSB0b3AgYnVzeSAnKTtcclxuICAgICAgICAgICAgICAgICAgICB0aGlzLndhaXRSZWYuY2xvc2UoKTtcclxuICAgICAgICAgICAgICAgICAgICB0aGlzLndhaXRSZWYgPSB1bmRlZmluZWQ7XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9O1xyXG4gICAgfVxyXG5cclxufVxyXG5ASW5qZWN0YWJsZSgpXHJcbmV4cG9ydCBjbGFzcyBMb2FkZXJJbnRlcmNlcHRvciBpbXBsZW1lbnRzIEh0dHBJbnRlcmNlcHRvciB7XHJcbiAgICBjb25zdHJ1Y3Rvcihwcml2YXRlIGJ1c3k6IEJ1c3lTZXJ2aWNlKSB7XHJcblxyXG5cclxuICAgIH1cclxuICAgIGludGVyY2VwdChyZXE6IEh0dHBSZXF1ZXN0PGFueT4sIG5leHQ6IEh0dHBIYW5kbGVyKTogT2JzZXJ2YWJsZTxIdHRwRXZlbnQ8YW55Pj4ge1xyXG4gICAgICAgIGxldCB4ID0gdGhpcy5idXN5LnNob3dCdXN5KCk7XHJcbiAgICAgICAgcmV0dXJuIG5leHQuaGFuZGxlKHJlcSkucGlwZShmaW5hbGl6ZSgoKSA9PiB4KCkpKTtcclxuICAgIH1cclxufSJdfQ== | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnVzeS1zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHJlbXVsdC9hbmd1bGFyLyIsInNvdXJjZXMiOlsic3JjL2FuZ3VsYXIvd2FpdC9idXN5LXNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0s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XG4gICAgICAgIHRyeSB7XHJcbiAgICAgICAgICAgIHJldHVybiBhd2FpdCB3aGF0KCk7XHJcbiAgICAgICAgfVxyXG4gICAgICAgIGZpbmFsbHkge1xyXG4gICAgICAgICAgICB4KCk7XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG4gICAgc3RhcnRCdXN5V2l0aFByb2dyZXNzKCk6IGJ1c3lXaXRoUHJvZ3Jlc3Mge1xyXG4gICAgICAgIGlmICh0aGlzLmRpc2FibGVXYWl0KSB7XHJcbiAgICAgICAgICAgIHJldHVybiB7XHJcbiAgICAgICAgICAgICAgICBjbG9zZTogKCkgPT4geyB9LFxyXG4gICAgICAgICAgICAgICAgcHJvZ3Jlc3M6ICgpID0+IHsgfVxyXG4gICAgICAgICAgICB9O1xyXG4gICAgICAgIH1cclxuICAgICAgICBsZXQgc3VzcGVuZFdhaXQgPSBmYWxzZTtcclxuICAgICAgICBsZXQgd2FpdFJlZiA9IHRoaXMuZGlhbG9nLm9wZW4oV2FpdENvbXBvbmVudCwgeyBkaXNhYmxlQ2xvc2U6IHRydWUgfSk7XHJcbiAgICAgICAgcmV0dXJuIHtcclxuICAgICAgICAgICAgY2xvc2U6IGFzeW5jICgpID0+IHtcclxuICAgICAgICAgICAgICAgIGlmIChzdXNwZW5kV2FpdCkge1xyXG4gICAgICAgICAgICAgICAgICAgIHdhaXRSZWYuY29tcG9uZW50SW5zdGFuY2UudmFsdWUgPSAxMDA7XHJcbiAgICAgICAgICAgICAgICAgICAgYXdhaXQgbmV3IFByb21pc2UociA9PiBzZXRUaW1lb3V0KCgpID0+IHIoMCksIDI1MCkpO1xyXG4gICAgICAgICAgICAgICAgfVxyXG5cclxuICAgICAgICAgICAgICAgIHdhaXRSZWYuY2xvc2UoKTtcclxuICAgICAgICAgICAgfSxcclxuICAgICAgICAgICAgcHJvZ3Jlc3M6ICh4KSA9PiB7XHJcbiAgICAgICAgICAgICAgICBpZiAoeCA+IDApIHtcclxuICAgICAgICAgICAgICAgICAgICBzdXNwZW5kV2FpdCA9IHRydWU7XHJcbiAgICAgICAgICAgICAgICAgICAgd2FpdFJlZi5jb21wb25lbnRJbnN0YW5jZS5tb2RlID0gJ2RldGVybWluYXRlJztcclxuICAgICAgICAgICAgICAgICAgICB3YWl0UmVmLmNvbXBvbmVudEluc3RhbmNlLnZhbHVlID0geCAqIDEwMDtcclxuICAgICAgICAgICAgICAgICAgICBjb25zb2xlLmxvZyh4KTtcclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuICAgIH1cclxuICAgIHNob3dCdXN5KCkge1xyXG5cclxuICAgICAgICBsZXQgaWQgPSB0aGlzLmlkKys7XHJcbiAgICAgICAgaWYgKHRoaXMuZGlzYWJsZVdhaXQpXHJcbiAgICAgICAgICAgIHJldHVybiAoKSA9PiB7IH07XHJcbiAgICAgICAgdGhpcy5sb2coaWQsICdzdGFydCBidXN5ICcpO1xyXG4gICAgICAgIGlmICh0aGlzLm51bU9mV2FpdHMgPT0gMCkge1xyXG5cclxuICAgICAgICAgICAgc2V0VGltZW91dCgoKSA9PiB7XHJcblxyXG4gICAgICAgICAgICAgICAgaWYgKHRoaXMubnVtT2ZXYWl0cyA+IDAgJiYgIXRoaXMud2FpdFJlZikge1xyXG4gICAgICAgICAgICAgICAgICAgIHRoaXMubG9nKGlkLCAnYWN0dWFsIHN0YXJ0IGJ1c3kgJyk7XHJcbiAgICAgICAgICAgICAgICAgICAgdGhpcy53YWl0UmVmID0gdGhpcy5kaWFsb2cub3BlbihXYWl0Q29tcG9uZW50LCB7IGRpc2FibGVDbG9zZTogdHJ1ZSB9KTtcclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgfSwgMzAwKTtcclxuXHJcbiAgICAgICAgfVxyXG4gICAgICAgIHRoaXMubnVtT2ZXYWl0cysrO1xyXG5cclxuICAgICAgICByZXR1cm4gKCkgPT4ge1xyXG4gICAgICAgICAgICB0aGlzLm51bU9mV2FpdHMtL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V4dC5oYW5kbGUocmVxKS5waXBlKGZpbmFsaXplKCgpID0+IHgoKSkpO1xyXG4gICAgfVxyXG59Il19 |
@@ -8,2 +8,4 @@ /** | ||
function WaitComponent() { | ||
this.mode = 'indeterminate'; | ||
this.value = 0; | ||
} | ||
@@ -21,3 +23,3 @@ /** | ||
selector: 'app-wait', | ||
template: "<mat-progress-spinner [mode]=\"'indeterminate'\" >\r\n</mat-progress-spinner>", | ||
template: "<mat-progress-spinner [mode]=\"mode\" [value]=\"value\" >\r\n</mat-progress-spinner>", | ||
styles: [""] | ||
@@ -31,2 +33,8 @@ }] } | ||
export { WaitComponent }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2FpdC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AcmVtdWx0L2FuZ3VsYXIvIiwic291cmNlcyI6WyJzcmMvYW5ndWxhci93YWl0L3dhaXQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLE1BQU0sZUFBZSxDQUFDO0FBRWxEO0lBT0U7SUFBZ0IsQ0FBQzs7OztJQUVqQixnQ0FBUTs7O0lBQVI7SUFDQSxDQUFDOztnQkFWRixTQUFTLFNBQUM7b0JBQ1QsUUFBUSxFQUFFLFVBQVU7b0JBQ3BCLHlGQUFvQzs7aUJBRXJDOzs7O0lBUUQsb0JBQUM7Q0FBQSxBQVpELElBWUM7U0FQWSxhQUFhIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50LCBPbkluaXQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcclxuXHJcbkBDb21wb25lbnQoe1xyXG4gIHNlbGVjdG9yOiAnYXBwLXdhaXQnLFxyXG4gIHRlbXBsYXRlVXJsOiAnLi93YWl0LmNvbXBvbmVudC5odG1sJyxcclxuICBzdHlsZVVybHM6IFsnLi93YWl0LmNvbXBvbmVudC5zY3NzJ11cclxufSlcclxuZXhwb3J0IGNsYXNzIFdhaXRDb21wb25lbnQgaW1wbGVtZW50cyBPbkluaXQge1xyXG5cclxuICBjb25zdHJ1Y3RvcigpIHsgfVxyXG5cclxuICBuZ09uSW5pdCgpIHtcclxuICB9XHJcblxyXG59XHJcbiJdfQ== | ||
if (false) { | ||
/** @type {?} */ | ||
WaitComponent.prototype.mode; | ||
/** @type {?} */ | ||
WaitComponent.prototype.value; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2FpdC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AcmVtdWx0L2FuZ3VsYXIvIiwic291cmNlcyI6WyJzcmMvYW5ndWxhci93YWl0L3dhaXQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLE1BQU0sZUFBZSxDQUFDO0FBRWxEO0lBT0U7UUFJQSxTQUFJLEdBQUcsZUFBZSxDQUFDO1FBQ3ZCLFVBQUssR0FBRyxDQUFDLENBQUM7SUFMTSxDQUFDOzs7O0lBRWpCLGdDQUFROzs7SUFBUjtJQUNBLENBQUM7O2dCQVZGLFNBQVMsU0FBQztvQkFDVCxRQUFRLEVBQUUsVUFBVTtvQkFDcEIsZ0dBQW9DOztpQkFFckM7Ozs7SUFTRCxvQkFBQztDQUFBLEFBYkQsSUFhQztTQVJZLGFBQWE7OztJQU14Qiw2QkFBdUI7O0lBQ3ZCLDhCQUFVIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50LCBPbkluaXQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcclxuXHJcbkBDb21wb25lbnQoe1xyXG4gIHNlbGVjdG9yOiAnYXBwLXdhaXQnLFxyXG4gIHRlbXBsYXRlVXJsOiAnLi93YWl0LmNvbXBvbmVudC5odG1sJyxcclxuICBzdHlsZVVybHM6IFsnLi93YWl0LmNvbXBvbmVudC5zY3NzJ11cclxufSlcclxuZXhwb3J0IGNsYXNzIFdhaXRDb21wb25lbnQgaW1wbGVtZW50cyBPbkluaXQge1xyXG5cclxuICBjb25zdHJ1Y3RvcigpIHsgfVxyXG5cclxuICBuZ09uSW5pdCgpIHtcclxuICB9XHJcbiAgbW9kZSA9ICdpbmRldGVybWluYXRlJztcclxuICB2YWx1ZSA9IDA7XHJcbn1cclxuIl19 |
{ | ||
"name": "@remult/angular", | ||
"schematics": "./schematics/collection.json", | ||
"version": "2.1.5", | ||
"version": "2.1.6", | ||
"description": "an angular module for remult", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":4,"metadata":{"RemultModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":42,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵc"},{"__symbolic":"reference","name":"ɵd"},{"__symbolic":"reference","name":"ɵe"},{"__symbolic":"reference","name":"ɵf"},{"__symbolic":"reference","name":"ɵg"},{"__symbolic":"reference","name":"ɵh"},{"__symbolic":"reference","name":"SelectValueDialogComponent"},{"__symbolic":"reference","name":"ɵi"}],"imports":[{"__symbolic":"reference","module":"@angular/forms","name":"FormsModule","line":44,"character":12},{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":44,"character":25},{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClientModule","line":44,"character":39},{"__symbolic":"reference","module":"@angular/material/progress-spinner","name":"MatProgressSpinnerModule","line":44,"character":57},{"__symbolic":"reference","module":"@angular/material/dialog","name":"MatDialogModule","line":44,"character":83},{"__symbolic":"reference","module":"@angular/platform-browser/animations","name":"BrowserAnimationsModule","line":44,"character":100},{"__symbolic":"reference","module":"@angular/material/form-field","name":"MatFormFieldModule","line":45,"character":4},{"__symbolic":"reference","module":"@angular/material/button","name":"MatButtonModule","line":46,"character":4},{"__symbolic":"reference","module":"@angular/material/list","name":"MatListModule","line":47,"character":4},{"__symbolic":"reference","module":"@angular/material/tooltip","name":"MatTooltipModule","line":48,"character":4},{"__symbolic":"reference","module":"@angular/material/input","name":"MatInputModule","line":49,"character":4},{"__symbolic":"reference","module":"@angular/material/icon","name":"MatIconModule","line":49,"character":20},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":49,"character":35},{"__symbolic":"reference","module":"@angular/material/checkbox","name":"MatCheckboxModule","line":49,"character":56},{"__symbolic":"reference","module":"@angular/material/menu","name":"MatMenuModule","line":49,"character":75}],"providers":[{"provide":{"__symbolic":"reference","module":"@remult/core","name":"Context","line":51,"character":13},"useFactory":{"__symbolic":"reference","name":"buildContext"},"deps":[{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClient","line":53,"character":11},{"__symbolic":"reference","module":"@angular/material/dialog","name":"MatDialog","line":53,"character":23}]},{"__symbolic":"reference","name":"JwtSessionManager"},{"__symbolic":"reference","name":"NotSignedInGuard"},{"__symbolic":"reference","name":"SignedInGuard"},{"__symbolic":"reference","name":"RouteHelperService"},{"__symbolic":"reference","name":"BusyService"},{"provide":{"__symbolic":"reference","module":"@angular/common/http","name":"HTTP_INTERCEPTORS","line":57,"character":13},"useClass":{"__symbolic":"reference","name":"ɵa"},"multi":true},{"provide":{"__symbolic":"reference","module":"@angular/common/http","name":"HTTP_INTERCEPTORS","line":58,"character":13},"useClass":{"__symbolic":"reference","name":"ɵb"},"multi":true}],"exports":[{"__symbolic":"reference","name":"ɵc"},{"__symbolic":"reference","name":"ɵe"},{"__symbolic":"reference","name":"ɵf"},{"__symbolic":"reference","name":"ɵd"},{"__symbolic":"reference","name":"SelectValueDialogComponent"}],"entryComponents":[{"__symbolic":"reference","name":"ɵg"},{"__symbolic":"reference","name":"SelectValueDialogComponent"},{"__symbolic":"reference","name":"ɵi"}]}]}],"members":{}},"DialogConfig":{"__symbolic":"function","parameters":["config"],"value":{"__symbolic":"error","message":"Lambda not supported","line":65,"character":9,"module":"./src/angular/remult-core.module"}},"buildContext":{"__symbolic":"function"},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":86,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"BusyService"}]}],"intercept":[{"__symbolic":"method"}]}},"BusyService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":8,"character":1}}],"members":{"donotWait":[{"__symbolic":"method"}],"donotWaitNonAsync":[{"__symbolic":"method"}],"log":[{"__symbolic":"method"}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/material/dialog","name":"MatDialog","line":38,"character":32}]}],"doWhileShowingBusy":[{"__symbolic":"method"}],"showBusy":[{"__symbolic":"method"}]},"statics":{"singleInstance":{"__symbolic":"error","message":"Variable not initialized","line":31,"character":11}}},"RouteHelperService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":3,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"Router","line":5,"character":32},{"__symbolic":"reference","module":"@angular/core","name":"Injector","line":5,"character":58}]}],"navigateToComponent":[{"__symbolic":"method"}],"canNavigateToRoute":[{"__symbolic":"method"}]}},"SignedInGuard":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":39,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@remult/core","name":"Context","line":41,"character":35},{"__symbolic":"reference","module":"@angular/router","name":"Router","line":5,"character":32},{"__symbolic":"reference","name":"RouteHelperService"}]}],"isAllowed":[{"__symbolic":"method"}],"canActivate":[{"__symbolic":"method"}]},"statics":{"componentToNavigateIfNotAllowed":{"__symbolic":"error","message":"Variable not initialized","line":47,"character":11}}},"NotSignedInGuard":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":66,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@remult/core","name":"Context","line":41,"character":35},{"__symbolic":"reference","module":"@angular/router","name":"Router","line":5,"character":32}]}],"canActivate":[{"__symbolic":"method"}]}},"SelectValueDialogComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":7,"character":1},"arguments":[{"template":"<h1 mat-dialog-title>{{title}}</h1>\r\n\r\n<div mat-dialog-content>\r\n <form (submit)=\"selectFirst()\">\r\n <mat-form-field>\r\n <input matInput [(ngModel)]=\"searchString\" [ngModelOptions]=\"{standalone: true}\"> \r\n </mat-form-field>\r\n </form>\r\n <mat-nav-list role=\"list\" *ngIf=\"values\">\r\n <ng-container *ngFor=\"let o of values\">\r\n <mat-list-item role=\"listitem\" style=\"height:36px\"\r\n *ngIf=\"matchesFilter(o)\" (click)=\"select(o)\">\r\n {{o.caption}}\r\n </mat-list-item>\r\n <mat-divider *ngIf=\"matchesFilter(o)\"></mat-divider>\r\n </ng-container>\r\n </mat-nav-list>\r\n</div>\r\n<div mat-dialog-actions>\r\n\r\n <button mat-icon-button mat-dialog-close>\r\n <mat-icon>clear</mat-icon>\r\n </button>\r\n</div>"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"MatDialogRef","module":"@angular/material/dialog","arguments":[{"__symbolic":"reference","name":"any"}]}]}],"selectFirst":[{"__symbolic":"method"}],"matchesFilter":[{"__symbolic":"method"}],"args":[{"__symbolic":"method"}],"select":[{"__symbolic":"method"}]}},"ɵb":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":111,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"JwtSessionManager"}]}],"intercept":[{"__symbolic":"method"}]}},"JwtSessionManager":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":12,"character":1}}],"members":{"getToken":[{"__symbolic":"method"}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@remult/core","name":"Context","line":18,"character":25}]}],"loadSessionFromCookie":[{"__symbolic":"method"}],"setToken":[{"__symbolic":"method"}],"_setToken":[{"__symbolic":"method"}],"signout":[{"__symbolic":"method"}]}},"ɵc":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"selector":"data-control","template":"<div class=\"data-control2\">\r\n <mat-form-field appearance=\"outline\" [floatLabel]=\"getFloatLabel()\" *ngIf=\"!showCheckbox()\"\r\n class=\"full-width-form-field dense-form-field\">\r\n <mat-label>{{map.caption}}</mat-label>\r\n <div style=\"display:flex;\" *ngIf=\"showTextBox()\">\r\n <input #theId matInput [(ngModel)]=\"_getColumn().inputValue\" type=\"{{settings._getColDataType(map)}}\"\r\n (ngModelChange)=\"settings._colValueChanged(map,record)\" [errorStateMatcher]=\"ngErrorStateMatches\"\r\n [ngStyle]=\"getStyle()\" />\r\n <div *ngIf=\"showDescription()\" style=\"white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n padding-left:10px;width:100%;\" (click)=\"click()\">\r\n {{settings._getColDisplayValue(map,record)}} </div>\r\n </div>\r\n <div *ngIf=\"isSelect()\">\r\n <select matNativeControl [(ngModel)]=\"_getColumn().inputValue\"\r\n (ngModelChange)=\"settings._colValueChanged(map,record)\">\r\n <option *ngFor=\"let v of getDropDown()\" value=\"{{v.id}}\">{{v.caption}}</option>\r\n\r\n </select>\r\n </div>\r\n\r\n <button mat-icon-button matSuffix *ngIf=\"showClick()\" (click)=\"click()\">\r\n <mat-icon>{{getClickIcon()}} </mat-icon>\r\n </button>\r\n\r\n <mat-error *ngIf=\"getError()\" [id]=\"theId\">{{getError()}}</mat-error>\r\n </mat-form-field>\r\n <div *ngIf=\"showCheckbox()\">\r\n <mat-checkbox #theId1 [(ngModel)]=\"_getColumn().inputValue\"\r\n (ngModelChange)=\"settings._colValueChanged(map,record)\" class=\"fix-label\">{{map.caption}}</mat-checkbox>\r\n <mat-error *ngIf=\"getError()\" [id]=\"theId1\">{{getError()}}</mat-error>\r\n </div>\r\n\r\n</div>","styles":[""]}]}],"members":{"map":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}}]}],"column":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":13,"character":3}}]}],"record":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":21,"character":3}}]}],"notReadonly":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":22,"character":3}}]}],"settings":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":23,"character":3}}]}],"showDescription":[{"__symbolic":"method"}],"getDropDown":[{"__symbolic":"method"}],"showClick":[{"__symbolic":"method"}],"click":[{"__symbolic":"method"}],"getClickIcon":[{"__symbolic":"method"}],"dataControlStyle":[{"__symbolic":"method"}],"_getColumn":[{"__symbolic":"method"}],"_getEditable":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"isSelect":[{"__symbolic":"method"}],"showTextBox":[{"__symbolic":"method"}],"showCheckbox":[{"__symbolic":"method"}],"getError":[{"__symbolic":"method"}],"getStyle":[{"__symbolic":"method"}],"getFloatLabel":[{"__symbolic":"method"}]}},"ɵd":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"selector":"data-area","encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":11,"character":17},"member":"None"},"template":"<div class=\"column-container\">\r\n <div *ngFor=\"let col of theColumns()\">\r\n <ng-container *ngFor=\"let line of col\">\r\n <div class=\"one-line\">\r\n <ng-container *ngFor=\"let map of line\">\r\n <data-control [settings]=\"settings.columns\" [map]=\"map\" [record]=\"settings.columns.currentRow()\" *ngIf=\"settings.columns.__visible(map,settings.columns.currentRow())\">\r\n </data-control>\r\n </ng-container>\r\n </div>\r\n </ng-container>\r\n </div>\r\n</div>","styles":[".one-line{display:-webkit-box;display:flex;-webkit-box-pack:justify;justify-content:space-between}.one-line>*{margin-left:.2em;margin-right:.2em;flex-basis:1px;-webkit-box-flex:1;flex-grow:1}@media only screen and (min-width:768px){.column-container{display:-webkit-box;display:flex;width:100%}.column-container>div{width:100%}}"]}]}],"members":{"settings":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":16,"character":3}}]}],"object":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":17,"character":3}}]}],"ngOnChanges":[{"__symbolic":"method"}],"theColumns":[{"__symbolic":"method"}],"columns":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":70,"character":3}}]}]}},"ɵe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":5,"character":1},"arguments":[{"selector":"Data-Filter","styles":[".link {\n cursor:pointer;\n color:blue;\n text-decoration:underline;\n }"],"template":"<span (click)=\"showAddAnotherFilterDialog()\" #theDiv class=\"link\" *ngIf=\"settings.settings.showFilter\"><span *ngIf=\"!rightToLeft\">Filter</span><span *ngIf=\"rightToLeft\">סינון</span></span>\r\n<span *ngIf=\"settings.columns.filterHelper.filterColumns.length>0\">: </span>\r\n<span *ngFor=\"let map of settings.columns.filterHelper.filterColumns ; let i = index\">\r\n <span *ngIf=\"i>0\"> <span *ngIf=\"!rightToLeft\">and</span><span *ngIf=\"rightToLeft\">וגם</span> </span>\r\n <span (click)=\"editFilter(map)\" class=\"link\"> {{map.defs.caption}} = \"{{this.getCurrentFilterValue(map)}}\"</span>\r\n</span>"}]}],"members":{"settings":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":16,"character":5}}]}],"getCurrentFilterValue":[{"__symbolic":"method"}],"cancelAddFilter":[{"__symbolic":"method"}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@remult/core","name":"Context","line":28,"character":33}]}],"showEditFilter":[{"__symbolic":"method"}],"userFilterButton":[{"__symbolic":"method"}],"showAddAnotherFilterDialog":[{"__symbolic":"method"}],"editFilter":[{"__symbolic":"method"}],"confirmEditFilter":[{"__symbolic":"method"}],"clearEditFilter":[{"__symbolic":"method"}],"addFilter":[{"__symbolic":"method"}],"cancelAddNewFilter":[{"__symbolic":"method"}],"theDiv":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":87,"character":5},"arguments":["theDiv"]}]}],"ngAfterViewInit":[{"__symbolic":"method"}]}},"ɵf":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":7,"character":1},"arguments":[{"selector":"data-grid","template":"<div style=\"height: 100%;display: flex;flex-direction: column;\">\r\n <Data-Filter [settings]=\"settings\" #dataFilter style=\"flex-shrink: 0;\">\r\n </Data-Filter>\r\n <div class=\"dataGrid\" #dataGridDiv *ngIf=\"settings&&settings.columns\" [style.height]=\"_getHeight()\">\r\n <div class=\"inner-wrapper\">\r\n <div class=\"dataGridHeaderArea\">\r\n <div class=\"dataGridRow\">\r\n <div class=\"data-grid-row-more-buttons dataGridDataCell\">\r\n\r\n <button mat-icon-button [matMenuTriggerFor]=\"updatedRowOptions\" *ngIf=\"hasVisibleGridButtons()\">\r\n <mat-icon>expand_more</mat-icon>\r\n </button>\r\n\r\n </div>\r\n <div class=\"data-grid-row-selection dataGridDataCell\" *ngIf=\"settings.settings.allowSelection\">\r\n\r\n <mat-checkbox [indeterminate]=\"settings.selectAllIntermitent()\" [checked]=\"settings.selectAllChecked()\"\r\n (change)=\"settings.selectAllChanged($event)\"></mat-checkbox>\r\n\r\n </div>\r\n <mat-menu #updatedRowOptions=\"matMenu\">\r\n\r\n <ng-container *ngFor=\"let b of gridButtons\">\r\n <button mat-menu-item *ngIf=\"b.visible()\" (click)=\"b.click()\">\r\n <mat-icon *ngIf=\"b.icon\">{{b.icon}}</mat-icon>{{b.textInMenu?b.textInMenu(): b.name}}\r\n </button>\r\n </ng-container>\r\n </mat-menu>\r\n <div class=\"dataGridHeaderCell headerWithFilter\" *ngFor=\"let map of settings.columns.getGridColumns()\"\r\n [style.flex]=\"getColFlex(map)\" [style.width]=\"getColWidth(map)\" draggable=\"true\"\r\n (dragstart)=\"dragStart(map)\" (dragover)=\"dragOver(map,$event)\" (drop)=\"onDrop(map)\">\r\n\r\n <span (click)=\"settings.sort(map.column)\">{{map.caption}}</span>\r\n\r\n\r\n <span class=\"filterButton\" [class.filteredFilterButton]=\"isFiltered(map.column)\"\r\n (click)=\"showFilterColumnDialog(map)\">\r\n <mat-icon>filter_alt</mat-icon>\r\n </span>\r\n \r\n <mat-icon *ngIf=\"settings.sortedAscending(map.column)\">arrow_downward</mat-icon>\r\n <mat-icon class=\"glyphicon glyphicon-chevron-down pull-right\" *ngIf=\"settings.sortedDescending(map.column)\">\r\n arrow_upward</mat-icon>\r\n </div>\r\n <div class=\"dataGridButtonHeaderCell\" *ngIf=\"rowButtons&& rowButtons.length>0&&displayButtons\"\r\n [class.col-xs-1]=\"rowButtons&&rowButtons.length<3\"></div>\r\n </div>\r\n </div>\r\n <div class=\"dataGridBodyArea\">\r\n <div class=\"dataGridRow\" *ngFor=\"let record of records\" [className]=\"_getRowClass(record)\"\r\n (click)=\"rowClicked(record)\">\r\n <div class=\"data-grid-row-more-buttons dataGridDataCell\">\r\n\r\n <button mat-icon-button [matMenuTriggerFor]=\"updatedRowOptions\" *ngIf=\"hasVisibleButton(record) \">\r\n <mat-icon>more_vert</mat-icon>\r\n </button>\r\n\r\n </div>\r\n <div class=\"data-grid-row-selection dataGridDataCell\" *ngIf=\"settings.settings.allowSelection\">\r\n\r\n <mat-checkbox [checked]=\"settings.isSelected(record)\" (change)=\"settings.selectedChanged(record)\">\r\n </mat-checkbox>\r\n\r\n </div>\r\n <mat-menu #updatedRowOptions=\"matMenu\">\r\n <ng-container *ngFor=\"let b of rowButtons\">\r\n <button mat-menu-item *ngIf=\"b.visible(record)\" (click)=\"b.click(record)\">\r\n <mat-icon *ngIf=\"b.icon\">{{b.icon}}</mat-icon>{{getButtonText(b,record)}}\r\n </button>\r\n </ng-container>\r\n\r\n </mat-menu>\r\n <div class=\"dataGridDataCell\" *ngFor=\"let map of settings.columns.getGridColumns()\"\r\n [className]=\"_getRowColumnClass(map,record)\" [style.flex]=\"getColFlex(map)\"\r\n [style.width]=\"getColWidth(map)\">\r\n <data-control3 [settings]=\"settings.columns\" [map]=\"map\" [record]=\"record\" [rightToLeft]=\"rightToLeft\">\r\n </data-control3>\r\n </div>\r\n <div class=\"dataGridButtonCell\" *ngIf=\"rowButtons.length>0&&displayButtons\" style=\"white-space:nowrap\">\r\n <ng-container *ngFor=\"let b of rowButtons\">\r\n <button mat-icon-button *ngIf=\"b.visible(record)&&b.icon&&b.showInLine\" (click)=\"b.click(record)\"\r\n matTooltip=\"{{getButtonText(b,record)}}\" class=\"row-button\">\r\n <mat-icon *ngIf=\"b.icon\">{{b.icon}} </mat-icon> {{b.name}}\r\n </button>\r\n <button mat-raised-button *ngIf=\"b.visible(record)&&!b.icon&&b.showInLine\" (click)=\"b.click(record)\"\r\n class=\"row-button\">\r\n {{b.name}}\r\n </button>\r\n </ng-container>\r\n\r\n </div>\r\n </div>\r\n\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"dataGridFooterArea\" *ngIf=\"records&&settings.settings.showPagination\">\r\n <div class=\"dataGridFooterButtonGroup\">\r\n <button mat-icon-button (click)=\"settings.userChooseColumns()\">\r\n <mat-icon>settings</mat-icon>\r\n </button>\r\n\r\n {{rightToLeft?'שורות בדף': 'lines per page'}}\r\n <select class=\"form-control\" style=\"width:80px;display:inline-block\" [(ngModel)]=\"settings.rowsPerPage\"\r\n (change)=\"settings.getRecords()\">\r\n <option *ngFor=\"let r of settings.rowsPerPageOptions\" value=\"{{r}}\">{{r}}</option>\r\n </select></div>\r\n <div class=\"dataGridFooterButtonGroup\">\r\n <button mat-icon-button (click)=\"settings.firstPage()\">\r\n <mat-icon>{{rightToLeft?'last_page':'first_page'}} </mat-icon>\r\n </button>\r\n <button mat-icon-button [disabled]=\"settings.page==1\" (click)=\"settings.previousPage()\">\r\n <mat-icon>{{rightToLeft?'chevron_right':'chevron_left'}}</mat-icon>\r\n </button>\r\n {{rightToLeft?'עמוד':'Page'}} {{settings.page}} {{rightToLeft?' מתוך ':' of '}} {{getTotalRows()}}\r\n <button mat-icon-button [disabled]=\"!(records.items&& records.items.length>0)\" (click)=\"settings.nextPage()\">\r\n <mat-icon>{{!rightToLeft?'chevron_right':'chevron_left'}}</mat-icon>\r\n </button>\r\n <button mat-icon-button *ngIf=\"settings.allowUpdate &&settings.allowInsert\" (click)=\"settings.addNewRow()\">\r\n <mat-icon>add</mat-icon>\r\n </button>\r\n </div>\r\n <div *ngIf=\"settings.showSelectColumn\" class=\"selectColumnsArea\">\r\n Select Columns\r\n <ol>\r\n <ng-container *ngFor=\"let c of settings.currList; let i=index\">\r\n <li *ngIf=\"i<settings.columns.numOfColumnsInGrid\">\r\n <select [(ngModel)]=\"settings.currList[i]\" class=\"form-control selectColumnCombo\"\r\n (change)=\"settings.columns.colListChanged()\">\r\n <option *ngFor=\"let o of settings.origList\" [ngValue]=\"o\">{{o.caption}}</option>\r\n </select>\r\n <input [(ngModel)]=\"c.width\" style=\"width:50px;display:inline;\">\r\n <button mat-icon-button *ngIf=\"settings.currList.length>1\" (click)=\"settings.deleteCol(c)\">\r\n <mat-icon>cancel</mat-icon>\r\n </button>\r\n <button mat-icon-button (click)=\"addCol(c)\">\r\n <mat-icon>add</mat-icon>\r\n </button>\r\n <button mat-icon-button *ngIf=\"i<settings.currList.length-1\" (click)=\"settings.columns.moveCol(c,1)\">\r\n <mat-icon>keyboard_arrow_down</mat-icon>\r\n </button>\r\n <button mat-icon-button *ngIf=\"i>0\" (click)=\"settings.columns.moveCol(c,-1)\">\r\n <mat-icon>keyboard_arrow_up</mat-icon>\r\n </button>\r\n </li>\r\n </ng-container>\r\n </ol>\r\n <button (click)=\"settings.resetColumns()\" class=\"btn glyphicon glyphicon-repeat\"></button>\r\n </div>\r\n </div>\r\n\r\n\r\n\r\n\r\n <data-area *ngIf=\"settings.showDataArea\" [settings]=\"settings\" [columns]=\"2\"></data-area>\r\n</div>","styles":[".row-button{height:auto;line-height:normal}.inner-wrapper{display:inline-block}.dataGrid{overflow:auto;border:1px solid #e0e0e0;height:100%}.dataGridRow{display:-webkit-box;display:flex}.dataGridHeaderArea{position:-webkit-sticky;position:sticky;top:0;clear:both;background-color:#f5f5f5;z-index:3}.dataGridHeaderArea mat-icon{font-size:16px;height:18px;width:18px;line-height:18px}.dataGridFooterButtonGroup{display:inline-block}.dataGridFooterArea{width:100%;bottom:0;left:0;background-color:#f5f5f5;border:1px solid #e0e0e0;box-sizing:border-box}.dataGridDataCell,.dataGridHeaderCell{padding:4px}.dataGridDataCell{border-top:1px solid #e0e0e0}.data-grid-row-more-buttons{border-left:1px solid #e0e0e0;border-right:1px solid #e0e0e0;padding-left:0;padding-right:0;width:18px}.data-grid-row-more-buttons mat-icon{font-size:16px;height:17px;width:18px;line-height:17px}.data-grid-row-more-buttons button{width:auto;height:auto;line-height:18px}.data-grid-row-selection{width:18px}.filterDialog{background-color:#fff;position:absolute;padding:10px;z-index:800;border-radius:5px;width:200px;border:2px solid gray}.filterDialog .form-group{margin-right:0;margin-left:0}.designModeButton span{visibility:hidden}.designModeButton:hover span{visibility:visible}.selectColumnCombo{display:inline-block;width:auto}.selectColumnsArea{display:block}.headerWithFilter .filterButton{visibility:hidden}.headerWithFilter .filteredFilterButton,.headerWithFilter:hover .filterButton{visibility:visible}table input{min-width:75px}table select{min-width:100px}"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@remult/core","name":"Context","line":17,"character":31}]}],"ngAfterViewInit":[{"__symbolic":"method"}],"addCol":[{"__symbolic":"method"}],"getColFlex":[{"__symbolic":"method"}],"getColWidth":[{"__symbolic":"method"}],"test":[{"__symbolic":"method"}],"dataGridDiv":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":50,"character":3},"arguments":["dataGridDiv"]}]}],"getTotalRows":[{"__symbolic":"method"}],"dragStart":[{"__symbolic":"method"}],"dragOver":[{"__symbolic":"method"}],"onDrop":[{"__symbolic":"method"}],"width":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":76,"character":3}}]}],"height":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":77,"character":3}}]}],"_getHeight":[{"__symbolic":"method"}],"displayButtons":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":85,"character":3}}]}],"displayVCR":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":86,"character":3}}]}],"records":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":88,"character":3}}]}],"settings":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":89,"character":3}}]}],"isFiltered":[{"__symbolic":"method"}],"dataFilterInfo":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":94,"character":3},"arguments":[{"__symbolic":"reference","name":"ɵe"}]}]}],"showFilterColumnDialog":[{"__symbolic":"method"}],"getButtonCssClass":[{"__symbolic":"method"}],"getButtonText":[{"__symbolic":"method"}],"hasVisibleButton":[{"__symbolic":"method"}],"hasVisibleGridButtons":[{"__symbolic":"method"}],"addButton":[{"__symbolic":"method"}],"rowClicked":[{"__symbolic":"method"}],"nextPage":[{"__symbolic":"method"}],"previousPage":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"_getRowClass":[{"__symbolic":"method"}],"_getRowColumnClass":[{"__symbolic":"method"}]}},"ɵg":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"app-wait","template":"<mat-progress-spinner [mode]=\"'indeterminate'\" >\r\n</mat-progress-spinner>","styles":[""]}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}},"ɵh":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"selector":"data-control3","template":"<div class=\"data-control3\" #myDiv>\r\n <div style=\"display:flex;width:100%;\" *ngIf=\"showTextBox()\">\r\n <input #theId matInput [(ngModel)]=\"_getColumn().inputValue\" type=\"{{settings._getColDataType(map)}}\"\r\n (ngModelChange)=\"settings._colValueChanged(map,record)\"\r\n [errorStateMatcher]=\"ngErrorStateMatches\" [ngStyle]=\"getStyle()\" />\r\n <div *ngIf=\"showDescription()\" style=\"white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n padding-left:10px; width:100%;\" (click)=\"click()\">\r\n {{settings._getColDisplayValue(map,record)}} </div>\r\n </div>\r\n <div *ngIf=\"showReadonlyText()\" style=\"\r\n overflow: hidden;\r\n padding-left:10px; width:100%;\" >\r\n {{settings._getColDisplayValue(map,record)}} </div>\r\n <div *ngIf=\"isSelect()\" class=\"my-select\" [class.rtl-select]=\"rightToLeft\">\r\n <select matNativeControl [(ngModel)]=\"_getColumn().inputValue\"\r\n (ngModelChange)=\"settings._colValueChanged(map,record)\">\r\n <option *ngFor=\"let v of getDropDown()\" value=\"{{v.id}}\">{{v.caption}}</option>\r\n\r\n </select>\r\n </div>\r\n\r\n <button mat-icon-button *ngIf=\"showClick()\" (click)=\"click()\" class=\"row-button\">\r\n <mat-icon style=\"height:19px;\">{{getClickIcon()}} </mat-icon>\r\n </button>\r\n\r\n\r\n <div *ngIf=\"showCheckbox()\">\r\n <mat-checkbox #theId1 [(ngModel)]=\"_getColumn().inputValue\"\r\n (ngModelChange)=\"settings._colValueChanged(map,record)\" class=\"fix-label\"></mat-checkbox>\r\n </div>\r\n\r\n</div>\r\n<mat-error *ngIf=\"getError()\" [id]=\"theId\" style=\"font-size: 75%;\">{{getError()}}</mat-error>","styles":[".my-select::after{content:\"\";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;pointer-events:none;color:rgba(0,0,0,.54);margin-top:-5px}.rtl-select::after{right:auto;left:0}.my-select{position:relative;width:100%}.data-control3{display:-webkit-box;display:flex;width:100%}.row-button{height:auto;line-height:normal}input{border:none;outline:0;padding:0;margin:0;font-size:inherit;font-family:inherit}"]}]}],"members":{"map":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}}]}],"column":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":13,"character":3}}]}],"rightToLeft":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":20,"character":3}}]}],"record":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":23,"character":3}}]}],"notReadonly":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":25,"character":3}}]}],"settings":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":26,"character":3}}]}],"showDescription":[{"__symbolic":"method"}],"showClick":[{"__symbolic":"method"}],"getClickIcon":[{"__symbolic":"method"}],"dataControlStyle":[{"__symbolic":"method"}],"_getColumn":[{"__symbolic":"method"}],"click":[{"__symbolic":"method"}],"_getEditable":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"getDropDown":[{"__symbolic":"method"}],"isSelect":[{"__symbolic":"method"}],"showTextBox":[{"__symbolic":"method"}],"showReadonlyText":[{"__symbolic":"method"}],"showCheckbox":[{"__symbolic":"method"}],"getError":[{"__symbolic":"method"}],"getStyle":[{"__symbolic":"method"}],"getFloatLabel":[{"__symbolic":"method"}]}},"ɵi":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":4,"character":1},"arguments":[{"template":"<h1 mat-dialog-title *ngIf=\"!info.rightToLeft\">Filter {{this.info.filterColumnToAdd?.caption}}</h1>\r\n<h1 mat-dialog-title *ngIf=\"info.rightToLeft\">סינון {{this.info.filterColumnToAdd?.caption}}</h1>\r\n<div mat-dialog-content>\r\n\r\n <data-control *ngIf=\"this.info.filterColumnToAdd\" [settings]=\"info.settings.columns\" [map]=\"info.filterColumnToAdd\"\r\n [record]=\"info.settings.columns.filterHelper.filterRow\" [notReadonly]=\"true\"></data-control>\r\n</div>\r\n<div mat-dialog-actions>\r\n <button mat-icon-button (click)=\"setFilter()\">\r\n <mat-icon>check</mat-icon>\r\n </button>\r\n <button mat-icon-button (click)=\"clear()\">\r\n <mat-icon>clear</mat-icon>\r\n </button>\r\n</div>"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"MatDialogRef","module":"@angular/material/dialog","arguments":[{"__symbolic":"reference","name":"any"}]}]}],"setFilter":[{"__symbolic":"method"}],"clear":[{"__symbolic":"method"}]}}},"origins":{"RemultModule":"./src/angular/remult-core.module","DialogConfig":"./src/angular/remult-core.module","buildContext":"./src/angular/remult-core.module","ɵa":"./src/angular/wait/busy-service","BusyService":"./src/angular/wait/busy-service","RouteHelperService":"./src/angular/navigate-to-component-route-service","SignedInGuard":"./src/angular/navigate-to-component-route-service","NotSignedInGuard":"./src/angular/navigate-to-component-route-service","SelectValueDialogComponent":"./src/angular/add-filter-dialog/add-filter-dialog.component","ɵb":"./src/jwt-session-manager","JwtSessionManager":"./src/jwt-session-manager","ɵc":"./src/angular/data-control/data-control2.component","ɵd":"./src/angular/data-area/dataArea2","ɵe":"./src/angular/data-filter-info/data-filter-info.component","ɵf":"./src/angular/date-grid-2/data-grid2.component","ɵg":"./src/angular/wait/wait.component","ɵh":"./src/angular/data-control/data-control3.component","ɵi":"./src/angular/filter-dialog/filter-dialog.component"},"importAs":"@remult/angular"} | ||
{"__symbolic":"module","version":4,"metadata":{"RemultModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":42,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵc"},{"__symbolic":"reference","name":"ɵd"},{"__symbolic":"reference","name":"ɵe"},{"__symbolic":"reference","name":"ɵf"},{"__symbolic":"reference","name":"ɵg"},{"__symbolic":"reference","name":"ɵh"},{"__symbolic":"reference","name":"SelectValueDialogComponent"},{"__symbolic":"reference","name":"ɵi"}],"imports":[{"__symbolic":"reference","module":"@angular/forms","name":"FormsModule","line":44,"character":12},{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":44,"character":25},{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClientModule","line":44,"character":39},{"__symbolic":"reference","module":"@angular/material/progress-spinner","name":"MatProgressSpinnerModule","line":44,"character":57},{"__symbolic":"reference","module":"@angular/material/dialog","name":"MatDialogModule","line":44,"character":83},{"__symbolic":"reference","module":"@angular/platform-browser/animations","name":"BrowserAnimationsModule","line":44,"character":100},{"__symbolic":"reference","module":"@angular/material/form-field","name":"MatFormFieldModule","line":45,"character":4},{"__symbolic":"reference","module":"@angular/material/button","name":"MatButtonModule","line":46,"character":4},{"__symbolic":"reference","module":"@angular/material/list","name":"MatListModule","line":47,"character":4},{"__symbolic":"reference","module":"@angular/material/tooltip","name":"MatTooltipModule","line":48,"character":4},{"__symbolic":"reference","module":"@angular/material/input","name":"MatInputModule","line":49,"character":4},{"__symbolic":"reference","module":"@angular/material/icon","name":"MatIconModule","line":49,"character":20},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":49,"character":35},{"__symbolic":"reference","module":"@angular/material/checkbox","name":"MatCheckboxModule","line":49,"character":56},{"__symbolic":"reference","module":"@angular/material/menu","name":"MatMenuModule","line":49,"character":75}],"providers":[{"provide":{"__symbolic":"reference","module":"@remult/core","name":"Context","line":51,"character":13},"useFactory":{"__symbolic":"reference","name":"buildContext"},"deps":[{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClient","line":53,"character":11},{"__symbolic":"reference","module":"@angular/material/dialog","name":"MatDialog","line":53,"character":23}]},{"__symbolic":"reference","name":"JwtSessionManager"},{"__symbolic":"reference","name":"NotSignedInGuard"},{"__symbolic":"reference","name":"SignedInGuard"},{"__symbolic":"reference","name":"RouteHelperService"},{"__symbolic":"reference","name":"BusyService"},{"provide":{"__symbolic":"reference","module":"@angular/common/http","name":"HTTP_INTERCEPTORS","line":57,"character":13},"useClass":{"__symbolic":"reference","name":"ɵa"},"multi":true},{"provide":{"__symbolic":"reference","module":"@angular/common/http","name":"HTTP_INTERCEPTORS","line":58,"character":13},"useClass":{"__symbolic":"reference","name":"ɵb"},"multi":true}],"exports":[{"__symbolic":"reference","name":"ɵc"},{"__symbolic":"reference","name":"ɵe"},{"__symbolic":"reference","name":"ɵf"},{"__symbolic":"reference","name":"ɵd"},{"__symbolic":"reference","name":"SelectValueDialogComponent"}],"entryComponents":[{"__symbolic":"reference","name":"ɵg"},{"__symbolic":"reference","name":"SelectValueDialogComponent"},{"__symbolic":"reference","name":"ɵi"}]}]}],"members":{}},"DialogConfig":{"__symbolic":"function","parameters":["config"],"value":{"__symbolic":"error","message":"Lambda not supported","line":65,"character":9,"module":"./src/angular/remult-core.module"}},"buildContext":{"__symbolic":"function"},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":122,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"BusyService"}]}],"intercept":[{"__symbolic":"method"}]}},"BusyService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":8,"character":1}}],"members":{"donotWait":[{"__symbolic":"method"}],"donotWaitNonAsync":[{"__symbolic":"method"}],"log":[{"__symbolic":"method"}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/material/dialog","name":"MatDialog","line":39,"character":32}]}],"doWhileShowingBusy":[{"__symbolic":"method"}],"startBusyWithProgress":[{"__symbolic":"method"}],"showBusy":[{"__symbolic":"method"}]},"statics":{"singleInstance":{"__symbolic":"error","message":"Variable not initialized","line":32,"character":11}}},"RouteHelperService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":3,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"Router","line":5,"character":32},{"__symbolic":"reference","module":"@angular/core","name":"Injector","line":5,"character":58}]}],"navigateToComponent":[{"__symbolic":"method"}],"canNavigateToRoute":[{"__symbolic":"method"}]}},"SignedInGuard":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":39,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@remult/core","name":"Context","line":41,"character":35},{"__symbolic":"reference","module":"@angular/router","name":"Router","line":5,"character":32},{"__symbolic":"reference","name":"RouteHelperService"}]}],"isAllowed":[{"__symbolic":"method"}],"canActivate":[{"__symbolic":"method"}]},"statics":{"componentToNavigateIfNotAllowed":{"__symbolic":"error","message":"Variable not initialized","line":47,"character":11}}},"NotSignedInGuard":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":66,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@remult/core","name":"Context","line":41,"character":35},{"__symbolic":"reference","module":"@angular/router","name":"Router","line":5,"character":32}]}],"canActivate":[{"__symbolic":"method"}]}},"SelectValueDialogComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":7,"character":1},"arguments":[{"template":"<h1 mat-dialog-title>{{title}}</h1>\r\n\r\n<div mat-dialog-content>\r\n <form (submit)=\"selectFirst()\">\r\n <mat-form-field>\r\n <input matInput [(ngModel)]=\"searchString\" [ngModelOptions]=\"{standalone: true}\"> \r\n </mat-form-field>\r\n </form>\r\n <mat-nav-list role=\"list\" *ngIf=\"values\">\r\n <ng-container *ngFor=\"let o of values\">\r\n <mat-list-item role=\"listitem\" style=\"height:36px\"\r\n *ngIf=\"matchesFilter(o)\" (click)=\"select(o)\">\r\n {{o.caption}}\r\n </mat-list-item>\r\n <mat-divider *ngIf=\"matchesFilter(o)\"></mat-divider>\r\n </ng-container>\r\n </mat-nav-list>\r\n</div>\r\n<div mat-dialog-actions>\r\n\r\n <button mat-icon-button mat-dialog-close>\r\n <mat-icon>clear</mat-icon>\r\n </button>\r\n</div>"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"MatDialogRef","module":"@angular/material/dialog","arguments":[{"__symbolic":"reference","name":"any"}]}]}],"selectFirst":[{"__symbolic":"method"}],"matchesFilter":[{"__symbolic":"method"}],"args":[{"__symbolic":"method"}],"select":[{"__symbolic":"method"}]}},"ɵb":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":111,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"JwtSessionManager"}]}],"intercept":[{"__symbolic":"method"}]}},"JwtSessionManager":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":12,"character":1}}],"members":{"getToken":[{"__symbolic":"method"}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@remult/core","name":"Context","line":18,"character":25}]}],"loadSessionFromCookie":[{"__symbolic":"method"}],"setToken":[{"__symbolic":"method"}],"_setToken":[{"__symbolic":"method"}],"signout":[{"__symbolic":"method"}]}},"ɵc":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"selector":"data-control","template":"<div class=\"data-control2\">\r\n <mat-form-field appearance=\"outline\" [floatLabel]=\"getFloatLabel()\" *ngIf=\"!showCheckbox()\"\r\n class=\"full-width-form-field dense-form-field\">\r\n <mat-label>{{map.caption}}</mat-label>\r\n <div style=\"display:flex;\" *ngIf=\"showTextBox()\">\r\n <input #theId matInput [(ngModel)]=\"_getColumn().inputValue\" type=\"{{settings._getColDataType(map)}}\"\r\n (ngModelChange)=\"settings._colValueChanged(map,record)\" [errorStateMatcher]=\"ngErrorStateMatches\"\r\n [ngStyle]=\"getStyle()\" />\r\n <div *ngIf=\"showDescription()\" style=\"white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n padding-left:10px;width:100%;\" (click)=\"click()\">\r\n {{settings._getColDisplayValue(map,record)}} </div>\r\n </div>\r\n <div *ngIf=\"isSelect()\">\r\n <select matNativeControl [(ngModel)]=\"_getColumn().inputValue\"\r\n (ngModelChange)=\"settings._colValueChanged(map,record)\">\r\n <option *ngFor=\"let v of getDropDown()\" value=\"{{v.id}}\">{{v.caption}}</option>\r\n\r\n </select>\r\n </div>\r\n\r\n <button mat-icon-button matSuffix *ngIf=\"showClick()\" (click)=\"click()\">\r\n <mat-icon>{{getClickIcon()}} </mat-icon>\r\n </button>\r\n\r\n <mat-error *ngIf=\"getError()\" [id]=\"theId\">{{getError()}}</mat-error>\r\n </mat-form-field>\r\n <div *ngIf=\"showCheckbox()\">\r\n <mat-checkbox #theId1 [(ngModel)]=\"_getColumn().inputValue\"\r\n (ngModelChange)=\"settings._colValueChanged(map,record)\" class=\"fix-label\">{{map.caption}}</mat-checkbox>\r\n <mat-error *ngIf=\"getError()\" [id]=\"theId1\">{{getError()}}</mat-error>\r\n </div>\r\n\r\n</div>","styles":[""]}]}],"members":{"map":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}}]}],"column":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":13,"character":3}}]}],"record":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":21,"character":3}}]}],"notReadonly":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":22,"character":3}}]}],"settings":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":23,"character":3}}]}],"showDescription":[{"__symbolic":"method"}],"getDropDown":[{"__symbolic":"method"}],"showClick":[{"__symbolic":"method"}],"click":[{"__symbolic":"method"}],"getClickIcon":[{"__symbolic":"method"}],"dataControlStyle":[{"__symbolic":"method"}],"_getColumn":[{"__symbolic":"method"}],"_getEditable":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"isSelect":[{"__symbolic":"method"}],"showTextBox":[{"__symbolic":"method"}],"showCheckbox":[{"__symbolic":"method"}],"getError":[{"__symbolic":"method"}],"getStyle":[{"__symbolic":"method"}],"getFloatLabel":[{"__symbolic":"method"}]}},"ɵd":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"selector":"data-area","encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":11,"character":17},"member":"None"},"template":"<div class=\"column-container\">\r\n <div *ngFor=\"let col of theColumns()\">\r\n <ng-container *ngFor=\"let line of col\">\r\n <div class=\"one-line\">\r\n <ng-container *ngFor=\"let map of line\">\r\n <data-control [settings]=\"settings.columns\" [map]=\"map\" [record]=\"settings.columns.currentRow()\" *ngIf=\"settings.columns.__visible(map,settings.columns.currentRow())\">\r\n </data-control>\r\n </ng-container>\r\n </div>\r\n </ng-container>\r\n </div>\r\n</div>","styles":[".one-line{display:-webkit-box;display:flex;-webkit-box-pack:justify;justify-content:space-between}.one-line>*{margin-left:.2em;margin-right:.2em;flex-basis:1px;-webkit-box-flex:1;flex-grow:1}@media only screen and (min-width:768px){.column-container{display:-webkit-box;display:flex;width:100%}.column-container>div{width:100%}}"]}]}],"members":{"settings":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":16,"character":3}}]}],"object":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":17,"character":3}}]}],"ngOnChanges":[{"__symbolic":"method"}],"theColumns":[{"__symbolic":"method"}],"columns":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":70,"character":3}}]}]}},"ɵe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":5,"character":1},"arguments":[{"selector":"Data-Filter","styles":[".link {\n cursor:pointer;\n color:blue;\n text-decoration:underline;\n }"],"template":"<span (click)=\"showAddAnotherFilterDialog()\" #theDiv class=\"link\" *ngIf=\"settings.settings.showFilter\"><span *ngIf=\"!rightToLeft\">Filter</span><span *ngIf=\"rightToLeft\">סינון</span></span>\r\n<span *ngIf=\"settings.columns.filterHelper.filterColumns.length>0\">: </span>\r\n<span *ngFor=\"let map of settings.columns.filterHelper.filterColumns ; let i = index\">\r\n <span *ngIf=\"i>0\"> <span *ngIf=\"!rightToLeft\">and</span><span *ngIf=\"rightToLeft\">וגם</span> </span>\r\n <span (click)=\"editFilter(map)\" class=\"link\"> {{map.defs.caption}} = \"{{this.getCurrentFilterValue(map)}}\"</span>\r\n</span>"}]}],"members":{"settings":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":16,"character":5}}]}],"getCurrentFilterValue":[{"__symbolic":"method"}],"cancelAddFilter":[{"__symbolic":"method"}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@remult/core","name":"Context","line":28,"character":33}]}],"showEditFilter":[{"__symbolic":"method"}],"userFilterButton":[{"__symbolic":"method"}],"showAddAnotherFilterDialog":[{"__symbolic":"method"}],"editFilter":[{"__symbolic":"method"}],"confirmEditFilter":[{"__symbolic":"method"}],"clearEditFilter":[{"__symbolic":"method"}],"addFilter":[{"__symbolic":"method"}],"cancelAddNewFilter":[{"__symbolic":"method"}],"theDiv":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":87,"character":5},"arguments":["theDiv"]}]}],"ngAfterViewInit":[{"__symbolic":"method"}]}},"ɵf":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":7,"character":1},"arguments":[{"selector":"data-grid","template":"<div style=\"height: 100%;display: flex;flex-direction: column;\">\r\n <Data-Filter [settings]=\"settings\" #dataFilter style=\"flex-shrink: 0;\">\r\n </Data-Filter>\r\n <div class=\"dataGrid\" #dataGridDiv *ngIf=\"settings&&settings.columns\" [style.height]=\"_getHeight()\">\r\n <div class=\"inner-wrapper\">\r\n <div class=\"dataGridHeaderArea\">\r\n <div class=\"dataGridRow\">\r\n <div class=\"data-grid-row-more-buttons dataGridDataCell\">\r\n\r\n <button mat-icon-button [matMenuTriggerFor]=\"updatedRowOptions\" *ngIf=\"hasVisibleGridButtons()\">\r\n <mat-icon>expand_more</mat-icon>\r\n </button>\r\n\r\n </div>\r\n <div class=\"data-grid-row-selection dataGridDataCell\" *ngIf=\"settings.settings.allowSelection\">\r\n\r\n <mat-checkbox [indeterminate]=\"settings.selectAllIntermitent()\" [checked]=\"settings.selectAllChecked()\"\r\n (change)=\"settings.selectAllChanged($event)\"></mat-checkbox>\r\n\r\n </div>\r\n <mat-menu #updatedRowOptions=\"matMenu\">\r\n\r\n <ng-container *ngFor=\"let b of gridButtons\">\r\n <button mat-menu-item *ngIf=\"b.visible()\" (click)=\"b.click()\">\r\n <mat-icon *ngIf=\"b.icon\">{{b.icon}}</mat-icon>{{b.textInMenu?b.textInMenu(): b.name}}\r\n </button>\r\n </ng-container>\r\n </mat-menu>\r\n <div class=\"dataGridHeaderCell headerWithFilter\" *ngFor=\"let map of settings.columns.getGridColumns()\"\r\n [style.flex]=\"getColFlex(map)\" [style.width]=\"getColWidth(map)\" draggable=\"true\"\r\n (dragstart)=\"dragStart(map)\" (dragover)=\"dragOver(map,$event)\" (drop)=\"onDrop(map)\">\r\n\r\n <span (click)=\"settings.sort(map.column)\">{{map.caption}}</span>\r\n\r\n\r\n <span class=\"filterButton\" [class.filteredFilterButton]=\"isFiltered(map.column)\"\r\n (click)=\"showFilterColumnDialog(map)\">\r\n <mat-icon>filter_alt</mat-icon>\r\n </span>\r\n \r\n <mat-icon *ngIf=\"settings.sortedAscending(map.column)\">arrow_downward</mat-icon>\r\n <mat-icon class=\"glyphicon glyphicon-chevron-down pull-right\" *ngIf=\"settings.sortedDescending(map.column)\">\r\n arrow_upward</mat-icon>\r\n </div>\r\n <div class=\"dataGridButtonHeaderCell\" *ngIf=\"rowButtons&& rowButtons.length>0&&displayButtons\"\r\n [class.col-xs-1]=\"rowButtons&&rowButtons.length<3\"></div>\r\n </div>\r\n </div>\r\n <div class=\"dataGridBodyArea\">\r\n <div class=\"dataGridRow\" *ngFor=\"let record of records\" [className]=\"_getRowClass(record)\"\r\n (click)=\"rowClicked(record)\">\r\n <div class=\"data-grid-row-more-buttons dataGridDataCell\">\r\n\r\n <button mat-icon-button [matMenuTriggerFor]=\"updatedRowOptions\" *ngIf=\"hasVisibleButton(record) \">\r\n <mat-icon>more_vert</mat-icon>\r\n </button>\r\n\r\n </div>\r\n <div class=\"data-grid-row-selection dataGridDataCell\" *ngIf=\"settings.settings.allowSelection\">\r\n\r\n <mat-checkbox [checked]=\"settings.isSelected(record)\" (change)=\"settings.selectedChanged(record)\">\r\n </mat-checkbox>\r\n\r\n </div>\r\n <mat-menu #updatedRowOptions=\"matMenu\">\r\n <ng-container *ngFor=\"let b of rowButtons\">\r\n <button mat-menu-item *ngIf=\"b.visible(record)\" (click)=\"b.click(record)\">\r\n <mat-icon *ngIf=\"b.icon\">{{b.icon}}</mat-icon>{{getButtonText(b,record)}}\r\n </button>\r\n </ng-container>\r\n\r\n </mat-menu>\r\n <div class=\"dataGridDataCell\" *ngFor=\"let map of settings.columns.getGridColumns()\"\r\n [className]=\"_getRowColumnClass(map,record)\" [style.flex]=\"getColFlex(map)\"\r\n [style.width]=\"getColWidth(map)\">\r\n <data-control3 [settings]=\"settings.columns\" [map]=\"map\" [record]=\"record\" [rightToLeft]=\"rightToLeft\">\r\n </data-control3>\r\n </div>\r\n <div class=\"dataGridButtonCell\" *ngIf=\"rowButtons.length>0&&displayButtons\" style=\"white-space:nowrap\">\r\n <ng-container *ngFor=\"let b of rowButtons\">\r\n <button mat-icon-button *ngIf=\"b.visible(record)&&b.icon&&b.showInLine\" (click)=\"b.click(record)\"\r\n matTooltip=\"{{getButtonText(b,record)}}\" class=\"row-button\">\r\n <mat-icon *ngIf=\"b.icon\">{{b.icon}} </mat-icon> {{b.name}}\r\n </button>\r\n <button mat-raised-button *ngIf=\"b.visible(record)&&!b.icon&&b.showInLine\" (click)=\"b.click(record)\"\r\n class=\"row-button\">\r\n {{b.name}}\r\n </button>\r\n </ng-container>\r\n\r\n </div>\r\n </div>\r\n\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"dataGridFooterArea\" *ngIf=\"records&&settings.settings.showPagination\">\r\n <div class=\"dataGridFooterButtonGroup\">\r\n <button mat-icon-button (click)=\"settings.userChooseColumns()\">\r\n <mat-icon>settings</mat-icon>\r\n </button>\r\n\r\n {{rightToLeft?'שורות בדף': 'lines per page'}}\r\n <select class=\"form-control\" style=\"width:80px;display:inline-block\" [(ngModel)]=\"settings.rowsPerPage\"\r\n (change)=\"settings.getRecords()\">\r\n <option *ngFor=\"let r of settings.rowsPerPageOptions\" value=\"{{r}}\">{{r}}</option>\r\n </select></div>\r\n <div class=\"dataGridFooterButtonGroup\">\r\n <button mat-icon-button (click)=\"settings.firstPage()\">\r\n <mat-icon>{{rightToLeft?'last_page':'first_page'}} </mat-icon>\r\n </button>\r\n <button mat-icon-button [disabled]=\"settings.page==1\" (click)=\"settings.previousPage()\">\r\n <mat-icon>{{rightToLeft?'chevron_right':'chevron_left'}}</mat-icon>\r\n </button>\r\n {{rightToLeft?'עמוד':'Page'}} {{settings.page}} {{rightToLeft?' מתוך ':' of '}} {{getTotalRows()}}\r\n <button mat-icon-button [disabled]=\"!(records.items&& records.items.length>0)\" (click)=\"settings.nextPage()\">\r\n <mat-icon>{{!rightToLeft?'chevron_right':'chevron_left'}}</mat-icon>\r\n </button>\r\n <button mat-icon-button *ngIf=\"settings.allowUpdate &&settings.allowInsert\" (click)=\"settings.addNewRow()\">\r\n <mat-icon>add</mat-icon>\r\n </button>\r\n </div>\r\n <div *ngIf=\"settings.showSelectColumn\" class=\"selectColumnsArea\">\r\n Select Columns\r\n <ol>\r\n <ng-container *ngFor=\"let c of settings.currList; let i=index\">\r\n <li *ngIf=\"i<settings.columns.numOfColumnsInGrid\">\r\n <select [(ngModel)]=\"settings.currList[i]\" class=\"form-control selectColumnCombo\"\r\n (change)=\"settings.columns.colListChanged()\">\r\n <option *ngFor=\"let o of settings.origList\" [ngValue]=\"o\">{{o.caption}}</option>\r\n </select>\r\n <input [(ngModel)]=\"c.width\" style=\"width:50px;display:inline;\">\r\n <button mat-icon-button *ngIf=\"settings.currList.length>1\" (click)=\"settings.deleteCol(c)\">\r\n <mat-icon>cancel</mat-icon>\r\n </button>\r\n <button mat-icon-button (click)=\"addCol(c)\">\r\n <mat-icon>add</mat-icon>\r\n </button>\r\n <button mat-icon-button *ngIf=\"i<settings.currList.length-1\" (click)=\"settings.columns.moveCol(c,1)\">\r\n <mat-icon>keyboard_arrow_down</mat-icon>\r\n </button>\r\n <button mat-icon-button *ngIf=\"i>0\" (click)=\"settings.columns.moveCol(c,-1)\">\r\n <mat-icon>keyboard_arrow_up</mat-icon>\r\n </button>\r\n </li>\r\n </ng-container>\r\n </ol>\r\n <button (click)=\"settings.resetColumns()\" class=\"btn glyphicon glyphicon-repeat\"></button>\r\n </div>\r\n </div>\r\n\r\n\r\n\r\n\r\n <data-area *ngIf=\"settings.showDataArea\" [settings]=\"settings\" [columns]=\"2\"></data-area>\r\n</div>","styles":[".row-button{height:auto;line-height:normal}.inner-wrapper{display:inline-block}.dataGrid{overflow:auto;border:1px solid #e0e0e0;height:100%}.dataGridRow{display:-webkit-box;display:flex}.dataGridHeaderArea{position:-webkit-sticky;position:sticky;top:0;clear:both;background-color:#f5f5f5;z-index:3}.dataGridHeaderArea mat-icon{font-size:16px;height:18px;width:18px;line-height:18px}.dataGridFooterButtonGroup{display:inline-block}.dataGridFooterArea{width:100%;bottom:0;left:0;background-color:#f5f5f5;border:1px solid #e0e0e0;box-sizing:border-box}.dataGridDataCell,.dataGridHeaderCell{padding:4px}.dataGridDataCell{border-top:1px solid #e0e0e0}.data-grid-row-more-buttons{border-left:1px solid #e0e0e0;border-right:1px solid #e0e0e0;padding-left:0;padding-right:0;width:18px}.data-grid-row-more-buttons mat-icon{font-size:16px;height:17px;width:18px;line-height:17px}.data-grid-row-more-buttons button{width:auto;height:auto;line-height:18px}.data-grid-row-selection{width:18px}.filterDialog{background-color:#fff;position:absolute;padding:10px;z-index:800;border-radius:5px;width:200px;border:2px solid gray}.filterDialog .form-group{margin-right:0;margin-left:0}.designModeButton span{visibility:hidden}.designModeButton:hover span{visibility:visible}.selectColumnCombo{display:inline-block;width:auto}.selectColumnsArea{display:block}.headerWithFilter .filterButton{visibility:hidden}.headerWithFilter .filteredFilterButton,.headerWithFilter:hover .filterButton{visibility:visible}table input{min-width:75px}table select{min-width:100px}"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@remult/core","name":"Context","line":17,"character":31}]}],"ngAfterViewInit":[{"__symbolic":"method"}],"addCol":[{"__symbolic":"method"}],"getColFlex":[{"__symbolic":"method"}],"getColWidth":[{"__symbolic":"method"}],"test":[{"__symbolic":"method"}],"dataGridDiv":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":50,"character":3},"arguments":["dataGridDiv"]}]}],"getTotalRows":[{"__symbolic":"method"}],"dragStart":[{"__symbolic":"method"}],"dragOver":[{"__symbolic":"method"}],"onDrop":[{"__symbolic":"method"}],"width":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":76,"character":3}}]}],"height":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":77,"character":3}}]}],"_getHeight":[{"__symbolic":"method"}],"displayButtons":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":85,"character":3}}]}],"displayVCR":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":86,"character":3}}]}],"records":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":88,"character":3}}]}],"settings":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":89,"character":3}}]}],"isFiltered":[{"__symbolic":"method"}],"dataFilterInfo":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":94,"character":3},"arguments":[{"__symbolic":"reference","name":"ɵe"}]}]}],"showFilterColumnDialog":[{"__symbolic":"method"}],"getButtonCssClass":[{"__symbolic":"method"}],"getButtonText":[{"__symbolic":"method"}],"hasVisibleButton":[{"__symbolic":"method"}],"hasVisibleGridButtons":[{"__symbolic":"method"}],"addButton":[{"__symbolic":"method"}],"rowClicked":[{"__symbolic":"method"}],"nextPage":[{"__symbolic":"method"}],"previousPage":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"_getRowClass":[{"__symbolic":"method"}],"_getRowColumnClass":[{"__symbolic":"method"}]}},"ɵg":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"app-wait","template":"<mat-progress-spinner [mode]=\"mode\" [value]=\"value\" >\r\n</mat-progress-spinner>","styles":[""]}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}},"ɵh":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"selector":"data-control3","template":"<div class=\"data-control3\" #myDiv>\r\n <div style=\"display:flex;width:100%;\" *ngIf=\"showTextBox()\">\r\n <input #theId matInput [(ngModel)]=\"_getColumn().inputValue\" type=\"{{settings._getColDataType(map)}}\"\r\n (ngModelChange)=\"settings._colValueChanged(map,record)\"\r\n [errorStateMatcher]=\"ngErrorStateMatches\" [ngStyle]=\"getStyle()\" />\r\n <div *ngIf=\"showDescription()\" style=\"white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n padding-left:10px; width:100%;\" (click)=\"click()\">\r\n {{settings._getColDisplayValue(map,record)}} </div>\r\n </div>\r\n <div *ngIf=\"showReadonlyText()\" style=\"\r\n overflow: hidden;\r\n padding-left:10px; width:100%;\" >\r\n {{settings._getColDisplayValue(map,record)}} </div>\r\n <div *ngIf=\"isSelect()\" class=\"my-select\" [class.rtl-select]=\"rightToLeft\">\r\n <select matNativeControl [(ngModel)]=\"_getColumn().inputValue\"\r\n (ngModelChange)=\"settings._colValueChanged(map,record)\">\r\n <option *ngFor=\"let v of getDropDown()\" value=\"{{v.id}}\">{{v.caption}}</option>\r\n\r\n </select>\r\n </div>\r\n\r\n <button mat-icon-button *ngIf=\"showClick()\" (click)=\"click()\" class=\"row-button\">\r\n <mat-icon style=\"height:19px;\">{{getClickIcon()}} </mat-icon>\r\n </button>\r\n\r\n\r\n <div *ngIf=\"showCheckbox()\">\r\n <mat-checkbox #theId1 [(ngModel)]=\"_getColumn().inputValue\"\r\n (ngModelChange)=\"settings._colValueChanged(map,record)\" class=\"fix-label\"></mat-checkbox>\r\n </div>\r\n\r\n</div>\r\n<mat-error *ngIf=\"getError()\" [id]=\"theId\" style=\"font-size: 75%;\">{{getError()}}</mat-error>","styles":[".my-select::after{content:\"\";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;pointer-events:none;color:rgba(0,0,0,.54);margin-top:-5px}.rtl-select::after{right:auto;left:0}.my-select{position:relative;width:100%}.data-control3{display:-webkit-box;display:flex;width:100%}.row-button{height:auto;line-height:normal}input{border:none;outline:0;padding:0;margin:0;font-size:inherit;font-family:inherit}"]}]}],"members":{"map":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}}]}],"column":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":13,"character":3}}]}],"rightToLeft":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":20,"character":3}}]}],"record":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":23,"character":3}}]}],"notReadonly":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":25,"character":3}}]}],"settings":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":26,"character":3}}]}],"showDescription":[{"__symbolic":"method"}],"showClick":[{"__symbolic":"method"}],"getClickIcon":[{"__symbolic":"method"}],"dataControlStyle":[{"__symbolic":"method"}],"_getColumn":[{"__symbolic":"method"}],"click":[{"__symbolic":"method"}],"_getEditable":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"getDropDown":[{"__symbolic":"method"}],"isSelect":[{"__symbolic":"method"}],"showTextBox":[{"__symbolic":"method"}],"showReadonlyText":[{"__symbolic":"method"}],"showCheckbox":[{"__symbolic":"method"}],"getError":[{"__symbolic":"method"}],"getStyle":[{"__symbolic":"method"}],"getFloatLabel":[{"__symbolic":"method"}]}},"ɵi":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":4,"character":1},"arguments":[{"template":"<h1 mat-dialog-title *ngIf=\"!info.rightToLeft\">Filter {{this.info.filterColumnToAdd?.caption}}</h1>\r\n<h1 mat-dialog-title *ngIf=\"info.rightToLeft\">סינון {{this.info.filterColumnToAdd?.caption}}</h1>\r\n<div mat-dialog-content>\r\n\r\n <data-control *ngIf=\"this.info.filterColumnToAdd\" [settings]=\"info.settings.columns\" [map]=\"info.filterColumnToAdd\"\r\n [record]=\"info.settings.columns.filterHelper.filterRow\" [notReadonly]=\"true\"></data-control>\r\n</div>\r\n<div mat-dialog-actions>\r\n <button mat-icon-button (click)=\"setFilter()\">\r\n <mat-icon>check</mat-icon>\r\n </button>\r\n <button mat-icon-button (click)=\"clear()\">\r\n <mat-icon>clear</mat-icon>\r\n </button>\r\n</div>"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"MatDialogRef","module":"@angular/material/dialog","arguments":[{"__symbolic":"reference","name":"any"}]}]}],"setFilter":[{"__symbolic":"method"}],"clear":[{"__symbolic":"method"}]}}},"origins":{"RemultModule":"./src/angular/remult-core.module","DialogConfig":"./src/angular/remult-core.module","buildContext":"./src/angular/remult-core.module","ɵa":"./src/angular/wait/busy-service","BusyService":"./src/angular/wait/busy-service","RouteHelperService":"./src/angular/navigate-to-component-route-service","SignedInGuard":"./src/angular/navigate-to-component-route-service","NotSignedInGuard":"./src/angular/navigate-to-component-route-service","SelectValueDialogComponent":"./src/angular/add-filter-dialog/add-filter-dialog.component","ɵb":"./src/jwt-session-manager","JwtSessionManager":"./src/jwt-session-manager","ɵc":"./src/angular/data-control/data-control2.component","ɵd":"./src/angular/data-area/dataArea2","ɵe":"./src/angular/data-filter-info/data-filter-info.component","ɵf":"./src/angular/date-grid-2/data-grid2.component","ɵg":"./src/angular/wait/wait.component","ɵh":"./src/angular/data-control/data-control3.component","ɵi":"./src/angular/filter-dialog/filter-dialog.component"},"importAs":"@remult/angular"} |
@@ -16,4 +16,11 @@ import { MatDialog } from "@angular/material/dialog"; | ||
doWhileShowingBusy<t>(what: () => Promise<t>): Promise<t>; | ||
startBusyWithProgress(): busyWithProgress; | ||
showBusy(): () => void; | ||
} | ||
export declare class busyWithProgress { | ||
} | ||
export interface busyWithProgress { | ||
progress(progress: number): any; | ||
close(): any; | ||
} | ||
export declare class LoaderInterceptor implements HttpInterceptor { | ||
@@ -20,0 +27,0 @@ private busy; |
@@ -5,2 +5,4 @@ import { OnInit } from '@angular/core'; | ||
ngOnInit(): void; | ||
mode: string; | ||
value: number; | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
1181830
14592