superdev-angular-core
Advanced tools
Comparing version 0.0.10 to 0.0.11
@@ -1,2 +0,2 @@ | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@angular/common/http"),require("uuid"),require("xlsx"),require("file-saver"),require("jquery"),require("sweetalert2"),require("@angular/common"),require("md5"),require("bootstrap"),require("@angular/material"),require("@angular/forms")):"function"==typeof define&&define.amd?define("superdev-angular-core",["exports","@angular/core","@angular/common/http","uuid","xlsx","file-saver","jquery","sweetalert2","@angular/common","md5","bootstrap","@angular/material","@angular/forms"],e):e(t["superdev-angular-core"]={},t.ng.core,t.ng.common.http,null,null,null,null,null,t.ng.common,null,null,t.ng.material,t.ng.forms)}(this,function(t,c,e,p,d,l,r,i,n,o,a,s,u){"use strict";var m="default"in p?p["default"]:p;function f(e,l,a,s){return new(a||(a=Promise))(function(t,i){function n(t){try{r(s.next(t))}catch(e){i(e)}}function o(t){try{r(s["throw"](t))}catch(e){i(e)}}function r(e){e.done?t(e.value):new a(function(t){t(e.value)}).then(n,o)}r((s=s.apply(e,l||[])).next())})}function g(n,o){var r,l,a,t,s={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 i(t){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,l&&(a=2&t[0]?l["return"]:t[0]?l["throw"]||((a=l["return"])&&a.call(l),0):l.next)&&!(a=a.call(l,t[1])).done)return a;switch(l=0,a&&(t=[2&t[0],a.value]),t[0]){case 0:case 1:a=t;break;case 4:return s.label++,{value:t[1],done:!1};case 5:s.label++,l=t[1],t=[0];continue;case 7:t=s.ops.pop(),s.trys.pop();continue;default:if(!(a=0<(a=s.trys).length&&a[a.length-1])&&(6===t[0]||2===t[0])){s=0;continue}if(3===t[0]&&(!a||t[1]>a[0]&&t[1]<a[3])){s.label=t[1];break}if(6===t[0]&&s.label<a[1]){s.label=a[1],a=t;break}if(a&&s.label<a[2]){s.label=a[2],s.ops.push(t);break}a[2]&&s.ops.pop(),s.trys.pop();continue}t=o.call(n,s)}catch(e){t=[6,e],l=0}finally{r=a=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}([e,t])}}}d=d&&d.hasOwnProperty("default")?d["default"]:d,r=r&&r.hasOwnProperty("default")?r["default"]:r,i=i&&i.hasOwnProperty("default")?i["default"]:i,o=o&&o.hasOwnProperty("default")?o["default"]:o;var h=function(){function t(){}return t.prototype.set=function(t,e){localStorage.setItem(t,JSON.stringify(e))},t.prototype.get=function(t){return JSON.parse(localStorage.getItem(t))},t.prototype.hasKey=function(t){return!!localStorage.getItem(t)},t.decorators=[{type:c.Injectable}],t}(),b=function(){function t(t){this.httpClient=t}return t.prototype.post=function(t,n){var o=this;return new Promise(function(e,i){o.httpClient.post(t,n).toPromise().then(function(t){e(t)})["catch"](function(t){i(t)})})},t.decorators=[{type:c.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:e.HttpClient}]},t.ngInjectableDef=c.defineInjectable({factory:function(){return new t(c.inject(e.HttpClient))},token:t,providedIn:"root"}),t}(),y=function(){function t(){this.importId=m.v4()}return t.prototype["import"]=function(){var t=this;return new Promise(function(s,o){r("#"+t.importId).length&&r("#"+t.importId).remove(),r("body").append('<input id="'+t.importId+'" style="display: none" type="file" />'),r("#"+t.importId).change(function(t){try{var e=t.target;if(1!==e.files.length)throw new Error("Cannot use multiple files");var i=new FileReader;i.onload=function(t){var e=t.target.result,i=d.read(e,{type:"binary"}),n=i.SheetNames[0],o=i.Sheets[n],r=d.utils.sheet_to_json(o,{header:1}),l=[],a=r[0];r.splice(0,1),r.forEach(function(i){var n={},o=!1;a.forEach(function(t,e){n[t]=i[e],i[e]!==undefined&&null!==i[e]&&i[e].toString()&&(o=!0)}),o&&l.push(n)}),s(l)},i.readAsBinaryString(e.files[0])}catch(n){o(n)}}),r("#"+t.importId).trigger("click")})},t.prototype["export"]=function(t){var e=d.utils.json_to_sheet(t.data,{cellDates:!0}),i=d.utils.book_new();d.utils.book_append_sheet(i,e,t.sheetName||"Default");var n=i.SheetNames[0];i.Sheets[n].A1.s={fill:{fgColor:{rgb:"86BC25"}}};var o=d.write(i,{bookType:"xlsx",type:"binary"}),r=t.fileName?t.fileName+this.current():m.v4()+".xlsx";l.saveAs(new Blob([this.s2ab(o)],{type:"application/octet-stream"}),r)},t.prototype.current=function(){var t=new Date;return t.getFullYear()+"/"+("0"+t.getDate()).slice(-2)+"/"+("0"+(t.getMonth()+1)).slice(-2)+" "+t.getHours()+":"+t.getMinutes()+":"+t.getSeconds()},t.prototype.s2ab=function(t){for(var e=new ArrayBuffer(t.length),i=new Uint8Array(e),n=0;n!=t.length;++n)i[n]=255&t.charCodeAt(n);return e},t.decorators=[{type:c.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[]},t.ngInjectableDef=c.defineInjectable({factory:function(){return new t},token:t,providedIn:"root"}),t}(),v=function(){function t(){this.alert={warning:function(t){i({type:"warning",title:"Oops...",text:t||"Something went wrong!"})},error:function(t){i({type:"error",title:"Oops...",text:t||"Something went wrong!"})}},this.notify={success:function(t){i({position:"top-end",type:"success",title:t||"Success",showConfirmButton:!1,timer:1500})},warning:function(t){i({position:"top-end",type:"warning",title:t||"Warning",showConfirmButton:!1,timer:1500})},error:function(t){i({position:"top-end",type:"error",title:t||"Error",showConfirmButton:!1,timer:1500})}}}return t.decorators=[{type:c.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[]},t.ngInjectableDef=c.defineInjectable({factory:function(){return new t},token:t,providedIn:"root"}),t}(),x=function(){function t(t,e){var i=this;this.datePipe=t,this.notifyService=e,this.handle={error:function(t){if("string"==typeof t)i.notifyService.notify.warning(t);else if("object"==typeof t){var e=t.message||"UNKNOWN_ERROR";t.json&&"function"==typeof t.json&&(e=t.json().message||e,t.json().error&&(e=t.json().error.message||e)),i.notifyService.notify.warning(e)}else i.notifyService.notify.warning("UNKNOWN_ERROR")}}}return t.prototype.hashMD5=function(t){return o(t)},t.decorators=[{type:c.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:n.DatePipe},{type:v}]},t.ngInjectableDef=c.defineInjectable({factory:function(){return new t(c.inject(n.DatePipe),c.inject(v))},token:t,providedIn:"root"}),t}(),w=function(){function t(){}return t.prototype.transform=function(t){return t},t.decorators=[{type:c.Pipe,args:[{name:"translate"}]}],t}(),C=function(){function t(t,e,i,n,o,r,l,a,s){var d=this;this.ref=t,this.utilityService=e,this.elementRef=i,this.datePipe=n,this.apiService=o,this.gridService=r,this.excelService=l,this.notifyService=a,this.translatePipe=s,this.originalColumns=[],this.onImportExcel=new c.EventEmitter,this.onSaveRow=new c.EventEmitter,this.items=[],this.filter={},this.pageSize=20,this.currentPage=1,this.columnConfigs=[],this.pages=[1],this.pageCount=5,this.totalPage=1,this.loadingId=p.v4(),this.isCheckedAll=!1,this.editable={validate:function(t){return"object"==typeof d.gridOption.editable&&d.gridOption.editable.validate?d.gridOption.editable.validate(t):undefined},create:function(){var e={};d.gridOption.columns.forEach(function(t){"values"===t.type&&0<t.values.length?e[t.field]=t.values[0].value:"number"===t.type&&(e[t.field]=0)}),"object"==typeof d.gridOption.editable&&d.gridOption.editable.onAdd&&d.gridOption.editable.onAdd(e),e.isNewInstant=!0,d.items.splice(0,0,e),d.editable.update(e)},update:function(t){t.temporary=Object.assign({},t),t.isEditing=!0},save:function(t){try{if("object"==typeof d.gridOption.editable){if(d.gridOption.editable.validate){var e=d.gridOption.editable.validate(t);if(e)throw e}d.gridOption.editable.onSave&&d.gridOption.editable.onSave(t)}t.isEditing=!1,t.isNewInstant=!1,t.isDirty=!0,d.onSaveRow.emit(t)}catch(i){d.notifyService.notify.warning(i)}},cancel:function(t){t.isNewInstant?d.items.splice(0,1):(Object.assign(t,t.temporary),t.isEditing=!1)},disabled:function(t){return"object"==typeof d.gridOption.editable&&("function"==typeof d.gridOption.editable.disabled?d.gridOption.editable.disabled(t):d.gridOption.editable.disabled)},markAsDirty:function(t){t.isDirty=!0}},this.importedItems=[],this.selectedItem=null,this.rowHandler={click:function(t){d.selectedItem=t,d.gridOption.onClickRow&&(d.gridOption.component?d.gridOption.onClickRow.bind(d.gridOption.component)(t):d.gridOption.onClickRow(t))},dblClick:function(t){d.selectedItem=t,d.gridOption.onDblClickRow&&(d.gridOption.component?d.gridOption.onDblClickRow.bind(d.gridOption.component)(t):d.gridOption.onDblClickRow(t))}},this.commandHandler={icon:function(t,e){return"function"==typeof t.icon?t.icon(e):t.icon},title:function(t,e){return"function"==typeof t.title?d.translatePipe.transform(t.title(e)):d.translatePipe.transform(t.title)},disalbed:function(t,e){return!!t.disabled&&(t.disabled instanceof Function&&t.disabled(e))}},this.editorHandler={displayEditor:function(t,e){var i=!1;return t.editor&&(i="function"==typeof t.editor.disabled?t.editor.disabled(e):t.editor.disabled),!i&&("object"==typeof d.gridOption.editable&&(i="function"==typeof d.gridOption.editable.disabled?d.gridOption.editable.disabled(e):d.gridOption.editable.disabled),!i&&(e.isEditing||t.editor&&t.editor.alwayDisplay||d.gridOption.editable&&"object"==typeof d.gridOption.editable&&"inline"===d.gridOption.editable.type))},alwayDisplay:function(t,e){return t.editor&&t.editor.alwayDisplay},click:function(t,e){t.editor&&t.editor.click&&t.editor.click(e)},change:function(t,e){t.editor&&t.editor.change&&t.editor.change(e)},keyupEnter:function(t,e){t.editor&&t.editor.keyupEnter&&t.editor.keyupEnter(e)},disabled:function(t,e){return!!t.editor&&("function"==typeof t.editor.disabled?t.editor.disabled(e):t.editor.disabled)}},setInterval(function(){d.ref.markForCheck()},1e3)}return Object.defineProperty(t.prototype,"option",{set:function(t){delete this.gridOption,this.detectChanges(),this.originalColumns=t.columns,this.gridOption=t.clone(),this.gridOption.columns=[],this.loadConfig(),this.reload()},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.configModalId=p.v4()},t.prototype.ngOnDestroy=function(){},t.prototype.ngAfterViewInit=function(){this.resize()},t.prototype.startLoading=function(){r(this.elementRef.nativeElement).append('<div id="'+this.loadingId+'" style="top:0;left:0;height:100%;width:100%;position:absolute;opacity:0.6;background:#FFFFFF;background-image:url(../assets/images/loading/searching.gif);background-position:center;background-repeat:no-repeat;"></div>')},t.prototype.stopLoading=function(){r("#"+this.loadingId).remove()},t.prototype.reloadGridDefault=function(){return f(this,void 0,void 0,function(){var e,i,n;return g(this,function(t){switch(t.label){case 0:return e=this.filterDefault,i="object"===this.gridOption.paramType?{filter:e}:{filter:JSON.stringify(e)},[4,this.apiService.post(this.gridOption.url,i)];case 1:return n=t.sent(),this.items=n.json().res,this.total=n.json().total,[2]}})})},t.prototype.reloadGridCustom=function(){return f(this,void 0,void 0,function(){var e;return g(this,function(t){switch(t.label){case 0:return[4,this.apiService.post(this.gridOption.url,this.filterCustom)];case 1:return e=t.sent(),this.items=e.json().res,this.total=e.json().total,[2]}})})},t.prototype.reloadGridLocal=function(n){return f(this,void 0,void 0,function(){var e,i;return g(this,function(t){switch(t.label){case 0:return this.gridOption.url?(e={},[4,this.apiService.post(this.gridOption.url,e)]):[3,2];case 1:return i=t.sent(),this.items=i.json(),this.total=this.items.length,[3,3];case 2:this.gridOption.items=n||this.gridOption.items,this.items=this.gridOption.items,this.total=this.items.length,t.label=3;case 3:return[2]}})})},t.prototype.reload=function(i){return f(this,void 0,void 0,function(){var e;return g(this,function(t){switch(t.label){case 0:this.startLoading(),t.label=1;case 1:return t.trys.push([1,8,,9]),"default"!==this.gridOption.type?[3,3]:[4,this.reloadGridDefault()];case 2:return t.sent(),[3,7];case 3:return"custom"!==this.gridOption.type?[3,5]:[4,this.reloadGridCustom()];case 4:return t.sent(),[3,7];case 5:return"local"!==this.gridOption.type?[3,7]:[4,this.reloadGridLocal(i)];case 6:t.sent(),t.label=7;case 7:return this.items.forEach(function(t){return t.originItem=Object.assign({},t)}),this.generatePaginate(),this.stopLoading(),this.gridOption.onReloadCompleted&&this.gridOption.onReloadCompleted(this.items),this.detectChanges(),[3,9];case 8:return e=t.sent(),this.utilityService.handle.error(e),this.stopLoading(),[3,9];case 9:return[2]}})})},t.prototype.detectChanges=function(){this.ref.detectChanges()},Object.defineProperty(t.prototype,"filterDefault",{get:function(){var n=this,t=(this.currentPage-1)*this.pageSize;t<0&&(t=0);var e=this.pageSize,o={};return this.gridOption.customFilter&&(this.gridOption.customFilter instanceof Object&&(o=r.extend(o,this.gridOption.customFilter)),this.gridOption.customFilter instanceof Function&&(o=r.extend(o,this.gridOption.customFilter()))),this.gridOption.columns.forEach(function(t){if(n.filter[t.field]){var e={};if("string"===t.type)e[t.field]={like:"%"+n.filter[t.field].trim()+"%"};else if("number"===t.type){var i=parseFloat(n.filter[t.field].trim().replace(">=","").replace("<=","").replace(">","").replace("<",""));-1<n.filter[t.field].indexOf(">=")?e[t.field]={gte:i}:-1<n.filter[t.field].indexOf("<=")?e[t.field]={lte:i}:-1<n.filter[t.field].indexOf(">")?e[t.field]={gt:i}:-1<n.filter[t.field].indexOf("<")?e[t.field]={lt:i}:e[t.field]=i}else"bool"===t.type&&("0"===n.filter[t.field]?e[t.field]=!1:"1"===n.filter[t.field]&&(e[t.field]=!0));Object.assign(o,e)}}),{where:o,skip:t,limit:e,order:this.orderBy?this.orderBy+" "+this.orderDirection:undefined}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"filterCustom",{get:function(){var r,l=this;return this.gridOption.customFilter?("string"==typeof this.gridOption.customFilter&&(r=this.gridOption.customFilter),this.gridOption.customFilter instanceof Function&&(r=this.gridOption.customFilter())):r="1>0",this.gridOption.columns.forEach(function(t){if(l.filter[t.field])if("string"===t.type)r+=" AND "+t.field+" LIKE '%"+l.filter[t.field].trim()+"%'";else if("number"===t.type){var e=parseFloat(l.filter[t.field].trim().replace(">=","").replace("<=","").replace(">","").replace("<",""));-1<l.filter[t.field].indexOf(">=")?r+=" AND "+t.field+" >= "+e:-1<l.filter[t.field].indexOf("<=")?r+=" AND "+t.field+" <= "+e:-1<l.filter[t.field].indexOf(">")?r+=" AND "+t.field+" > "+e:-1<l.filter[t.field].indexOf("<")?r+=" AND "+t.field+" < "+e:r+=" AND "+t.field+" = "+e}else if("bool"===t.type)l.filter[t.field]||"0"===l.filter[t.field]?r+=" AND "+t.field+" = false":(l.filter[t.field]||"1"===l.filter[t.field])&&(r+=" AND "+t.field+" = true");else if("date"===t.type||"datetime"===t.type){var i=new Date(l.filter[t.field]);i=new Date(i.getFullYear(),i.getMonth(),i.getDate(),0,0,0);var n=l.datePipe.transform(i,"yyyy-MM-dd HH:mm:ss");i.setDate(i.getDate()+1);var o=l.datePipe.transform(i,"yyyy-MM-dd HH:mm:ss");r+=" AND "+t.field+" >= '"+n+"' AND "+t.field+" < '"+o+"'"}else"values"===t.type&&""!==l.filter[t.field]&&(r+=" AND "+t.field+" = '"+l.filter[t.field].trim()+"'")}),this.gridOption.customParam?"function"==typeof this.gridOption.customParam?Object.assign(this.gridOption.customParam(),{whereClause:r,orderBy:this.orderBy,orderDirection:this.orderDirection,page:+this.currentPage||1,pageSize:+this.pageSize}):"object"==typeof this.gridOption.customParam?Object.assign(this.gridOption.customParam,{whereClause:r,orderBy:this.orderBy,orderDirection:this.orderDirection,page:+this.currentPage||1,pageSize:+this.pageSize}):void 0:{whereClause:r,orderBy:this.orderBy,orderDirection:this.orderDirection,page:+this.currentPage||1,pageSize:+this.pageSize}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"viewItems",{get:function(){var i=this;return this.currentPage=this.currentPage||1,"local"===this.gridOption.type?this.items.filter(function(t,e){return e>=(i.currentPage-1)*i.pageSize&&e<i.currentPage*i.pageSize}):this.items},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"editedItems",{get:function(){return this.items.filter(function(e){return!!e.isDirty||!(!e.originItem||!Object.keys(e.originItem).some(function(t){return e.originItem[t]!==e[t]}))})},enumerable:!0,configurable:!0}),t.prototype.selectPage=function(t){var e=+t;this.currentPage!==e&&0<e&&e<=this.totalPage&&(this.currentPage=e,this.reload())},t.prototype.generatePaginate=function(){if("local"===this.gridOption.type&&(this.total=this.items.length),this.pages=[],this.totalPage=Math.trunc(this.total/this.pageSize)+(this.total%this.pageSize==0?0:1),this.currentPage>this.totalPage&&(this.currentPage=this.totalPage),this.totalPage<=this.pageCount)for(var t=1;t<=this.totalPage;t++)this.pages.push(t);else this.currentPage<3?this.pages=[1,2,3,4,5]:this.currentPage>this.totalPage-2?this.pages=[this.totalPage-4,this.totalPage-3,this.totalPage-2,this.totalPage-1,this.totalPage]:this.pages=[this.currentPage-2,this.currentPage-1,this.currentPage,this.currentPage+1,this.currentPage+2]},Object.defineProperty(t.prototype,"sumarize",{get:function(){if(this.items&&0<this.items.length){var t=+this.pageSize*(+this.currentPage-1)+1;return t+" - "+(t+this.viewItems.length-1)+" / "+this.total}},enumerable:!0,configurable:!0}),t.prototype.getItems=function(){return this.items},Object.defineProperty(t.prototype,"selectedItems",{get:function(){return this.items.filter(function(t){return t.isChecked})},enumerable:!0,configurable:!0}),t.prototype.check=function(t){this.isCheckedAll=this.items.length===this.items.filter(function(t){return t.isChecked}).length,this.gridOption.onCheck&&this.gridOption.onCheck(this.items.filter(function(t){return t.isChecked}),t)},t.prototype.checkAll=function(t){var e=this;this.isCheckedAll=t,this.items.forEach(function(t){return t.isChecked=e.isCheckedAll}),this.gridOption.onCheck&&this.gridOption.onCheck(this.items.filter(function(t){return t.isChecked}))},t.prototype.sort=function(t){this.orderBy===t?this.orderDirection="ASC"===this.orderDirection?"DESC":"ASC":(this.orderBy=t,this.orderDirection="ASC"),this.reload()},t.prototype.resize=function(){var e=this;this.detectChanges();var t=this;this.gridOption.height?(r(this.gridBody.nativeElement).height(this.gridOption.height),r(this.gridFixedBody.nativeElement).height(this.gridOption.height)):(r(this.gridBody.nativeElement).height("calc(100vh - 100px)"),r(this.gridFixedBody.nativeElement).height("calc(100vh - 100px)"),setTimeout(function(){var t=r(e.gridBody.nativeElement).offset().top;r(e.gridBody.nativeElement).height("calc(100vh - "+(t+55)+"px)"),r(e.gridFixedBody.nativeElement).height("calc(100vh - "+(t+55)+"px)")},200)),this.resizeWidth(),r(this.gridBody.nativeElement).scroll(function(){r(t.gridHeader.nativeElement).scrollLeft(this.scrollLeft),r(t.gridFixedBody.nativeElement).scrollTop(this.scrollTop)})},t.prototype.setHeight=function(t){r(this.gridBody.nativeElement).height(t),r(this.gridFixedBody.nativeElement).height(t)},t.prototype.resizeWidth=function(){var t=5;this.gridOption.checkable&&(t+=52),this.gridOption.editable&&(t+=62),this.gridOption.commands&&(t+=28*this.gridOption.commands.length+2+2),r(this.fixedGridContainer.nativeElement).css("width",t+"px"),r(this.gridContainer.nativeElement).css("width","calc(100% - "+t+"px)")},t.prototype.importExcel=function(){var n=this;this.excelService["import"]().then(function(t){n.importedItems=t.map(function(e){var i={};return n.gridOption.columns.forEach(function(t){i[t.field]=e[t.title],"number"===t.type?i[t.field]=i[t.field]||0:"bool"===t.type?(i[t.field]=i[t.field]||"false",1===i[t.field]&&"1"===i[t.field]||"default"===i[t.field].toString().toLowerCase()||"Active"===i[t.field].toString().toLowerCase()||"true"===i[t.field].toString().toLowerCase()?i[t.field]=!0:i[t.field]=!1):"string"===t.type&&(i[t.field]=i[t.field]||"")}),i}),n.modalImportExcel.open()})},t.prototype.saveImportedExcel=function(){this.gridOption.onImportExcel&&this.gridOption.onImportExcel.bind(this.gridOption.component)(this.importedItems),this.onImportExcel.emit(this.importedItems)},t.prototype.exportExcel=function(){return f(this,void 0,void 0,function(){var e,i,n,o,r=this;return g(this,function(t){switch(t.label){case 0:return e=[],"default"!==this.gridOption.type?[3,2]:((n=this.filterDefault).skip=0,n.limit=1e5,i="object"===this.gridOption.paramType?{filter:n}:{filter:JSON.stringify(n)},[4,this.apiService.post(this.gridOption.url,i)]);case 1:return e=t.sent().json().res,[3,6];case 2:return"custom"!==this.gridOption.type?[3,5]:((n=this.filterCustom).page=1,n.pageSize=1e4,[4,this.apiService.post(this.gridOption.url,n)]);case 3:return[4,t.sent().json().res];case 4:return e=t.sent(),[3,6];case 5:e=this.items,t.label=6;case 6:return 0===e.length&&(e=[{}]),o=e.map(function(n){var o={};return r.gridOption.columns.forEach(function(e){if(n[e.field]===undefined||null===n[e.field]||""===n[e.field])o[e.title]="";else if("string"===e.type||"number"===e.type)o[e.title]=n[e.field];else if("bool"===e.type)n[e.field]?o[e.title]=e.trueValue||"TRUE":o[e.title]=e.falseValue||"FALSE";else if("date"===e.type){var t=new Date(n[e.field]);o[e.title]=r.datePipe.transform(t,"dd/MM/yyyy")}else if("datetime"===e.type){t=new Date(n[e.field]);o[e.title]=r.datePipe.transform(t,"dd/MM/yyyy HH:mm")}else if("time"===e.type){t=new Date(n[e.field]);o[e.title]=r.datePipe.transform(t,"HH:mm")}else if("values"===e.type){var i=e.values.find(function(t){return t.value==n[e.field]});o[e.title]=i?i.text:""}}),o}),this.excelService["export"]({data:o}),[2]}})})},t.prototype.loadConfig=function(){var n=this;if(this.gridOption.columns=[],this.gridOption.key){var t=this.gridOption.key;if(this.gridService.hasKey(t)){var e=this.gridService.get(t);e.forEach(function(e,t){var i=n.originalColumns.find(function(t){return t.field===e.originColumn.field});i&&(e.originColumn=i)}),this.gridService.set(t,e)}else{var i=[];this.originalColumns.forEach(function(t,e){i.push({originColumn:r.extend({},t),order:e,isHidden:!1})}),this.gridService.set(t,i)}this.columnConfigs=this.gridService.get(t),this.columnConfigs.forEach(function(e){var t=n.originalColumns.find(function(t){return t.field===e.originColumn.field});t=t||e.originColumn,e.isHidden||(n.filter[t.field]="",t.title=e.title||n.translatePipe.transform(t.title),t.width=e.width||t.width,n.gridOption.columns.push(t))})}else this.gridOption.columns=r.extend([],this.originalColumns);this.gridOption.columns.forEach(function(t){if("values"===t.type){var e={};t.values&&t.values.forEach(function(t){e[t.value]={text:t.text,icon:t.icon,color:t.color,backgroundColor:t.backgroundColor}}),t.dictionary=e}})},t.prototype.resetConfig=function(){var t=this.gridOption.key,i=[];this.originalColumns.forEach(function(t,e){i.push({originColumn:r.extend({},t),order:e,isHidden:!1})}),this.gridService.set(t,i),this.loadConfig(),this.modal.close()},t.prototype.saveModalConfig=function(){var t=this.gridOption.key;this.gridService.set(t,this.columnConfigs),this.loadConfig(),this.reload(),this.modal.close()},t.prototype.openModalConfig=function(){this.modal.open()},t.prototype.moveColumnUp=function(t){var e=this.columnConfigs[t];this.columnConfigs[t]=this.columnConfigs[t-1],this.columnConfigs[t-1]=e},t.prototype.moveColumnDown=function(t){var e=this.columnConfigs[t];this.columnConfigs[t]=this.columnConfigs[t+1],this.columnConfigs[t+1]=e},t.decorators=[{type:c.Component,args:[{selector:"grid-control",template:'<div class="clearfix"></div>\n<div *ngIf="gridOption" class="box box-primary">\n <div class="box-body p-0">\n <div class="row mr-0 ml-0">\n <div #fixedGridContainer>\n <div class="table-responsive c-overflow-x-hidden" #gridFixedHeader>\n <table class="table table-bordered mb-0">\n <thead class="thead-light">\n <tr>\n <th style="width:1px;min-width: 1px;"></th>\n <th *ngIf="gridOption.checkable" class="align-middle text-center" style="width:50px;min-width: 50px;">\n <label class="custom-control custom-checkbox">\n <input type="checkbox" class="custom-control-input" [(ngModel)]="isCheckedAll" (change)="checkAll(isCheckedAll)">\n <span class="custom-control-label"></span>\n </label>\n </th>\n <th *ngIf="gridOption.editable" class="align-middle text-center" style="width:60px;min-width: 60px;">\n <button type="button" *ngIf="gridOption.addable" type="button" class="btn-icon" (click)="editable.create()">\n <i class="fa fa-plus"></i>\n </button>\n </th>\n <th *ngIf="gridOption.commands && gridOption.commands.length" class="align-middle text-center" [ngStyle]="{\'width\': gridOption.commands.length*28 + 2 + \'px\',\'min-width\': gridOption.commands.length*28 + 2 + \'px\'}">\n </th>\n </tr>\n </thead>\n </table>\n </div>\n <div class="table-responsive c-overflow-x-hidden c-overflow-y-hidden" #gridFixedBody>\n <table class="table table-hover table-striped table-bordered">\n <tbody>\n <tr [ngClass]="{\'selected-row\':selectedItem === item}" *ngFor="let item of viewItems">\n <td [ngClass]="{\'table-danger\': gridOption.editable && editable.validate(item), \'table-success\': gridOption.editable && !editable.validate(item)}"\n style="width:1px;min-width: 1px;" [matTooltip]="editable.validate(item)" matTooltipPosition="after"></td>\n <td class="align-middle text-center" *ngIf="gridOption.checkable" style="width:50px;min-width: 50px;">\n <label class="custom-control custom-checkbox">\n <input type="checkbox" class="custom-control-input" [(ngModel)]="item.isChecked" (change)="check(item)">\n <span class="custom-control-label"></span>\n </label>\n </td>\n <td *ngIf="gridOption.editable" class="align-middle text-center" style="width:60px;min-width: 60px;">\n <div>\n \x3c!-- <div *ngIf="gridOption.editable.type !== \'inline\'"> --\x3e\n <button type="button" *ngIf="!item.isEditing" type="button" class="btn-icon" placement="top" matTooltip="Edit" (click)="editable.update(item)"\n [disabled]="editable.disabled(item)">\n <i class="fa fa-pencil text-primary" aria-hidden="true"></i>\n </button>\n <button type="button" *ngIf="item.isEditing" type="button" class="btn-icon" placement="top" matTooltip="Save" (click)="editable.save(item)"\n [disabled]="editable.disabled(item)">\n <i class="fa fa-floppy-o text-success" aria-hidden="true"></i>\n </button>\n <button type="button" *ngIf="item.isEditing" type="button" class="btn-icon" placement="top" matTooltip="Cancel"(click)="editable.cancel(item)"\n [disabled]="editable.disabled(item)">\n <i class="fa fa-times text-danger" aria-hidden="true"></i>\n </button>\n </div>\n </td>\n <td *ngIf="gridOption.commands && gridOption.commands.length" class="align-middle text-center" [ngStyle]="{\'width\': gridOption.commands.length*28 + 2 + \'px\',\'min-width\': gridOption.commands.length*28 + 2 + \'px\'}">\n <button type="button" *ngFor="let command of gridOption.commands" type="button" class="btn-icon" matTooltip="{{commandHandler.title(command,item)}}"\n (click)="selectedItem=item;command.click(item)" [disabled]="commandHandler.disalbed(command,item)">\n <i class="{{commandHandler.icon(command,item)}}" aria-hidden="true"></i>\n </button>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n <div #gridContainer>\n <div class="table-responsive grid-header" #gridHeader>\n <table class="table table-bordered mb-0">\n <thead class="thead-light">\n <tr>\n <th *ngFor="let column of gridOption.columns" [ngClass]="{\'d-none\':column.hidden && column.hidden()}" [ngStyle]="{\'width\':column.width ? column.width : \'\',\'min-width\':column.width ? column.width : \'300px\'}">\n <span class="cursor-pointer" (click)="sort(column.field)" [ngStyle]="{\'width\':column.width ? column.width : \'\'}">\n {{column.title}}\n <i *ngIf="orderBy == column.field && orderDirection == \'ASC\'" class="fa fa-angle-up"></i>\n <i *ngIf="orderBy == column.field && orderDirection == \'DESC\'" class="fa fa-angle-down"></i>\n </span>\n <input *ngIf="column.type === \'string\' || column.type === \'number\'" type="text" class="form-control form-control-xs" [(ngModel)]="filter[column.field]"\n (keyup.enter)="reload()">\n <select *ngIf="column.type === \'bool\'" class="form-control form-control-xs" [(ngModel)]="filter[column.field]" (change)="reload()">\n <option value="">All</option>\n <option value="1">{{column.trueValue || \'TRUE\'}}</option>\n <option value="0">{{column.falseValue || \'FALSE\'}}</option>\n </select>\n <select class="form-control form-control-xs" *ngIf="column.type == \'values\'" [(ngModel)]="filter[column.field]" (change)="reload()">\n <option value="">All</option>\n <option *ngFor="let data of column.values" [value]="data.value">{{data.text}}</option>\n </select>\n <date-picker-control *ngIf="column.type === \'date\' || column.type === \'datetime\' || column.type === \'time\'" [(model)]="filter[column.field]"\n (change)="reload()" [type]="\'date\'" [size]="\'xs\'"></date-picker-control>\n </th>\n </tr>\n </thead>\n </table>\n </div>\n <div class="table-responsive" #gridBody>\n <table class="table table-hover table-striped table-bordered">\n <tbody>\n <tr [ngClass]="{\'selected-row\':selectedItem === item}" *ngFor="let item of viewItems">\n <td *ngFor="let column of gridOption.columns" class="align-middle" [ngClass]="{\'d-none\':column.hidden && column.hidden()}"\n (click)="rowHandler.click(item)" (dblclick)="rowHandler.dblClick(item)" [ngStyle]="{\'width\':column.width ? column.width : \'\', \'min-width\':column.width ? column.width : \'300px\'}">\n <div *ngIf="column.type === \'string\'">\n <div *ngIf="editorHandler.displayEditor(column, item)" class="input-group input-group-xs">\n <input class="form-control" [ngClass]="{\'border-right-0\':column.editor && column.editor.click}" [(ngModel)]="item[column.field]"\n [disabled]="editorHandler.disabled(column, item)" (keyup.enter)="editorHandler.keyupEnter(column, item)"\n (change)="editable.markAsDirty(item);editorHandler.change(column, item)">\n <div class="input-group-append cursor-pointer" *ngIf="column.editor && column.editor.click">\n <span class="input-group-text pr-1 pl-0" [ngStyle]="{\'background\':editorHandler.disabled(column, item)?\'#E9ECEF\':\'#FFF\'}"\n (click)="editorHandler.click(column, item)">\n <i class="fa fa-search"></i>\n </span>\n </div>\n </div>\n <div class="c-ellipsis" [ngStyle]="{\'width\':column.width ? column.width : \'\', \'min-width\':column.width ? column.width : \'300px\'}"\n *ngIf="!editorHandler.displayEditor(column, item)">\n {{item[column.field]}}\n </div>\n </div>\n <div *ngIf="column.type === \'number\'">\n <input *ngIf="editorHandler.displayEditor(column, item)" type="number" class="form-control form-control-xs" [(ngModel)]="item[column.field]"\n [disabled]="editorHandler.disabled(column, item)" (keyup.Enter)="editorHandler.keyupEnter(column, item)"\n (change)="editable.markAsDirty(item);editorHandler.change(column, item)">\n <div *ngIf="!editorHandler.displayEditor(column, item)" class="pull-right">\n {{item[column.field] | number : \'1.2-2\'}}\n </div>\n </div>\n <div *ngIf="column.type === \'date\'">\n <date-picker-control *ngIf="editorHandler.displayEditor(column, item)" [(model)]="item[column.field]" [type]="\'date\'"\n [size]="\'xs\'" [disabled]="editorHandler.disabled(column, item)"></date-picker-control>\n <div *ngIf="!editorHandler.displayEditor(column, item)">\n {{item[column.field] | date:\'dd/MM/yyyy\'}}\n </div>\n </div>\n <div *ngIf="column.type === \'datetime\'">\n <date-picker-control *ngIf="editorHandler.displayEditor(column, item)" [(model)]="item[column.field]" [type]="\'datetime\'"\n [size]="\'xs\'" [disabled]="editorHandler.disabled(column, item)"></date-picker-control>\n <div *ngIf="!editorHandler.displayEditor(column, item)">\n {{item[column.field] | date:\'dd/MM/yyyy HH:mm\'}}\n </div>\n </div>\n <div *ngIf="column.type === \'time\'">\n <date-picker-control *ngIf="editorHandler.displayEditor(column, item)" [(model)]="item[column.field]" [type]="\'time\'"\n [size]="\'xs\'" [disabled]="editorHandler.disabled(column, item)"></date-picker-control>\n <div *ngIf="!editorHandler.displayEditor(column, item)">\n {{item[column.field] | date:\'HH:mm\'}}\n </div>\n </div>\n <div *ngIf="column.type === \'bool\'">\n <div *ngIf="editorHandler.displayEditor(column, item)">\n <label class="custom-control custom-checkbox">\n <input type="checkbox" class="custom-control-input" [(ngModel)]="item[column.field]" (change)="editable.markAsDirty(item)">\n <span class="custom-control-label"></span>\n </label>\n </div>\n <div *ngIf="!editorHandler.displayEditor(column, item)">\n <span *ngIf="item[column.field]" class="status status-success">{{column.trueValue || item[column.field]}}</span>\n <span *ngIf="!item[column.field]" class="status status-danger">{{column.falseValue || item[column.field]}}</span>\n </div>\n </div>\n <div *ngIf="column.type == \'values\'">\n <div *ngIf="editorHandler.displayEditor(column, item)">\n <select class="form-control form-control-xs" [disabled]="editorHandler.disabled(column, item)" [(ngModel)]="item[column.field]"\n (change)="editable.markAsDirty(item);">\n <option *ngFor="let data of column.values" [value]="data.value">{{data.text}}</option>\n </select>\n </div>\n <div class="status c-ellipsis" *ngIf="!editorHandler.displayEditor(column, item) && column.dictionary[item[column.field]]"\n [ngStyle]="{\'color\':column.dictionary[item[column.field]].color,\'width\':column.width ? column.width : \'\', \'min-width\':column.width ? column.width : \'300px\'}">\n {{column.dictionary[item[column.field]].text}}\n </div>\n </div>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n </div>\n </div>\n <div class="box-footer clearfix">\n <button type="button" *ngIf="gridOption.key" class="btn btn-primary btn-sm" matTooltip="Configure" (click)="openModalConfig()">\n <i class="fa fa-cogs fa-fw"></i>\n </button>\n <button type="button" class="btn btn-info btn-sm" matTooltip="Refresh" (click)="reload()">\n <i class="fa fa fa-refresh fa-fw"></i>\n </button>\n <button type="button" *ngIf="gridOption.onImportExcel" class="btn btn-success btn-sm" matTooltip="Import Excel" (click)="importExcel()">\n <i class="fa fa-upload fa-fw"></i>\n </button>\n <button type="button" class="btn btn-success btn-sm" matTooltip="Export Excel" (click)="exportExcel()">\n <i class="fa fa-download fa-fw"></i>\n </button>\n <div class="row mr-0 ml-0 text-right pull-right">\n <span class="sumarize">{{sumarize}}</span>\n <ul class="pagination pagination-info m-0">\n <li class="page-item" [ngClass]="{\'disabled\':currentPage === 1}" placement="top" matTooltip="First" (click)="selectPage(1)">\n <a class="page-link">\n <i class="fa fa-angle-double-left"></i>\n </a>\n </li>\n <li class="page-item" [ngClass]="{\'disabled\':currentPage === 1}" placement="top" matTooltip="Previous" (click)="selectPage(currentPage-1)">\n <a class="page-link">\n <i class="fa fa-angle-left"></i>\n </a>\n </li>\n <li class="page-item" [ngClass]="{\'active\':page === currentPage}" *ngFor="let page of pages" (click)="selectPage(page)">\n <a class="page-link">{{page}}</a>\n </li>\n <li class="page-item" [ngClass]="{\'disabled\':currentPage === totalPage}" placement="top" matTooltip="Next" (click)="selectPage(currentPage+1)">\n <a class="page-link">\n <i class="fa fa-angle-right"></i>\n </a>\n </li>\n <li class="page-item" [ngClass]="{\'disabled\':currentPage === totalPage}" placement="top" matTooltip="Last" (click)="selectPage(totalPage)">\n <a class="page-link">\n <i class="fa fa-angle-double-right"></i>\n </a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n\x3c!-- Modal Configure Grid --\x3e\n<modal-control *ngIf="gridOption" [title]="\'Config Grid\'" #modal>\n <modal-body>\n <div class="mb-2">\n <button type="button" class="btn btn-xs" [ngClass]="{\'btn-info\': pageSize == 20}" (click)="pageSize = 20">20</button>\n <button type="button" class="btn btn-xs" [ngClass]="{\'btn-info\': pageSize == 50}" (click)="pageSize = 50">50</button>\n <button type="button" class="btn btn-xs" [ngClass]="{\'btn-info\': pageSize == 200}" (click)="pageSize = 200">200</button>\n <button type="button" class="btn btn-xs" [ngClass]="{\'btn-info\': pageSize == 500}" (click)="pageSize = 500">500</button>\n <button type="button" class="btn btn-xs" [ngClass]="{\'btn-info\': pageSize == 1000}" (click)="pageSize = 1000">1000</button>\n </div>\n <div class="table-responsive" style="height: calc(100vh - 15rem)">\n <table class="table table-hover table-bordered">\n <colgroup>\n <col style="width:50px">\n <col style="width:80px">\n <col style="width:100px">\n <col>\n <col style="width:100px">\n <col style="width:100px">\n </colgroup>\n <thead>\n <tr>\n <th class="align-bottom table-small"></th>\n <th class="align-bottom table-small"></th>\n <th>Field\n <input type="text" class="form-control search-table form-control-sm my-1">\n </th>\n <th>Title\n <input type="text" class="form-control search-table form-control-sm my-1">\n </th>\n <th>Width\n <input type="text" class="form-control search-table form-control-sm my-1">\n </th>\n <th>Hidden\n <input type="text" class="form-control search-table form-control-sm my-1">\n </th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor="let column of columnConfigs; let idx = index">\n <td class="align-middle text-center">\n {{idx+1}}\n </td>\n <td class="align-middle text-center">\n <button type="button" [disabled]="idx==0" type="button" class="btn-icon" placement="top" matTooltip="Up" (click)="moveColumnUp(idx)">\n <i class="fa fa-arrow-up text-primary" aria-hidden="true"></i>\n </button>\n <button type="button" [disabled]="idx==columnConfigs.length-1" type="button" class="btn-icon" placement="top" matTooltip="Down"\n (click)="moveColumnDown(idx)">\n <i class="fa fa-arrow-down text-primary" aria-hidden="true"></i>\n </button>\n </td>\n <td class="align-middle">{{column.originColumn.field}}</td>\n <td class="align-middle">\n <input type="text" placeholder="{{column.originColumn.title}}" [(ngModel)]="column.title" class="form-control form-control-sm my-1">\n </td>\n <td class="align-middle">\n <input type="text" placeholder="{{column.originColumn.width}}" [(ngModel)]="column.width" class="form-control form-control-sm my-1">\n </td>\n <td class="align-middle text-center">\n <label class="custom-control custom-checkbox">\n <input type="checkbox" class="custom-control-input" [(ngModel)]="column.isHidden">\n <span class="custom-control-label"></span>\n </label>\n </td>\n </tr>\n </table>\n </div>\n </modal-body>\n <modal-footer>\n <button type="button" class="btn btn-info btn-sm mr-auto" (click)="resetConfig()">\n <i class="fa fa-refresh"></i> Reset</button>\n <button type="button" class="btn btn-secondary btn-sm" (click)="modal.close()">\n <i class="fa fa-times"></i> Close</button>\n <button type="button" class="btn btn-primary btn-sm" (click)="saveModalConfig()">\n <i class="fa fa-floppy-o"></i> Save</button>\n </modal-footer>\n</modal-control>\n\n\x3c!-- Modal Impor Excel --\x3e\n<modal-control *ngIf="gridOption" [title]="\'Import Excel Preview\'" #modalImportExcel>\n <modal-body>\n <div class="table-responsive" style="height: calc(100vh - 250px)">\n <table class="table table-hover">\n <colgroup>\n <col style="width:50px">\n <col *ngFor="let column of gridOption.columns" [ngStyle]="{\'width\':column.width ? column.width : \'\' }">\n </colgroup>\n <thead>\n <tr>\n <th rowspan="1" class="align-middle text-center">\n STT\n </th>\n <th rowspan="1" *ngFor="let column of gridOption.columns" [ngStyle]="{\'min-width\':column.width ? column.width : \'100px\'}">\n {{column.title}}\n </th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor="let item of importedItems; let idx = index">\n <td class="align-middle text-center">{{idx+1}}</td>\n <td *ngFor="let column of gridOption.columns" class="align-middle">\n {{item[column.field]}}\n </td>\n </tr>\n </table>\n </div>\n </modal-body>\n <modal-footer>\n <button type="button" class="btn btn-secondary btn-sm" (click)="modalImportExcel.close()">\n <i class="fa fa-times"></i> Close</button>\n <button type="button" class="btn btn-primary btn-sm" (click)="saveImportedExcel()">\n <i class="fa fa-floppy-o"></i> Save</button>\n </modal-footer>\n</modal-control>',styles:[".form-control-xs,.input-group-xs>.form-control,.input-group-xs>.input-group-append>.input-group-text{padding:.15rem .2rem;font-size:.75rem;line-height:1.5;border-radius:.2rem;height:calc(1.45rem + 2px)}select.form-control-xs:not([size]):not([multiple]){height:calc(1.45rem + 2px)}.btn-xs{padding:.2rem .5rem;font-size:.7rem;line-height:1.15}.text-superdev{color:#006b8b!important}.bg-superdev{color:#fff!important;background-color:#006b8b!important}.btn-superdev,.btn-superdev:hover{color:#fff;background-color:#006b8b;border-color:#006b8b}.btn-superdev:disabled{color:#fff;background-color:#006b8b;border-color:#006b8b;opacity:.6;cursor:not-allowed}.btn-superdev-swm{color:#006b8b;background-color:#fff;border-color:#006b8b}.btn-superdev-swm:hover{color:#fff;background-color:#006b8b;border-color:#006b8b}.btn-superdev-swm:disabled{color:#006b8b;background-color:#fff;cursor:not-allowed}.box{position:relative;border-radius:3px;background:#fff;border-top:3px solid #d2d6de;width:100%;box-shadow:0 1px 1px rgba(0,0,0,.1)}.box.box-primary{border-top-color:#3c8dbc}.box.box-success{border-top-color:#00a65a}.box.box-warning{border-top-color:#f39c12}.box.box-danger{border-top-color:#dd4b39}.box-header{color:#444;display:block;padding:.5rem;position:relative;border-bottom:1px solid #f4f4f4}.box-header .box-title{display:inline-block;font-size:1.2rem;margin:0;line-height:1}.box-body{padding:.5rem;background-color:#fff;border-radius:0 0 3px 3px}.box-footer{border-top:1px solid #f4f4f4;padding:.5rem;background-color:#fff;border-radius:0 0 3px 3px}",".btn-icon{background:0 0!important;border:none;opacity:.8}.btn-icon:hover{cursor:pointer;opacity:1}.btn-icon:disabled{background:0 0!important;border:none;cursor:not-allowed;opacity:.3}.grid-header{overflow-x:hidden;overflow-y:hidden}td,th{line-height:1.15;padding:.3rem .2rem!important;font-size:.8rem;min-width:0}tbody td .c-ellipsis,thead th>span{white-space:nowrap;overflow:hidden!important;text-overflow:ellipsis;display:block;margin:0 -.3rem;padding:0 .3rem}thead th{min-height:49px;height:49px}tbody td{min-height:35px;height:35px}.status{font-weight:500;padding:2px 5px;border-radius:1.5rem;color:#16759b;cursor:pointer;display:block;text-align:center}.status-success{color:#43a047}.status-danger{color:#f44336}.page-item{cursor:pointer}.sumarize{padding:.5rem .75rem;text-transform:uppercase;font-size:.7rem;color:#fff;display:inline-block;white-space:normal;font-weight:500;line-height:1;text-align:center;border-radius:10rem;background-color:#00bcd4}.cursor-pointer{cursor:pointer}label.custom-control.custom-checkbox{margin:0}.selected-row{background-color:#90caf9!important}.pagination>li>a{border:0;border-radius:1.5rem!important;transition:.3s;padding:0 .5rem;margin:0 .2rem;min-width:1rem;height:1.5rem;line-height:1.5rem;color:#999;font-weight:400;font-size:.7rem;text-transform:uppercase;background:0 0}.pagination>.active>a,.pagination>.active>a:focus,.pagination>.active>a:hover,.pagination>.active>span,.pagination>.active>span:focus,.pagination>.active>span:hover{background-color:#9c27b0;border-color:#9c27b0;color:#fff;box-shadow:0 4px 5px 0 rgba(156,39,176,.14),0 1px 10px 0 rgba(156,39,176,.12),0 2px 4px -1px rgba(156,39,176,.2)}.pagination.pagination-info>.active>a,.pagination.pagination-info>.active>a:focus,.pagination.pagination-info>.active>a:hover,.pagination.pagination-info>.active>span,.pagination.pagination-info>.active>span:focus,.pagination.pagination-info>.active>span:hover{background-color:#00bcd4;border-color:#00bcd4;box-shadow:0 4px 5px 0 rgba(0,188,212,.14),0 1px 10px 0 rgba(0,188,212,.12),0 2px 4px -1px rgba(0,188,212,.2)}.btn{color:#fff;background-color:#999;border-color:#999;box-shadow:0 2px 2px 0 rgba(153,153,153,.14),0 3px 1px -2px rgba(153,153,153,.2),0 1px 5px 0 rgba(153,153,153,.12)}.btn:hover{color:#fff;background-color:#919191;border-color:#7a7a7a}.btn.btn-sm{font-size:.6875rem}.btn.btn-primary{color:#fff;background-color:#9c27b0;border-color:#9c27b0;box-shadow:0 2px 2px 0 rgba(156,39,176,.14),0 3px 1px -2px rgba(156,39,176,.2),0 1px 5px 0 rgba(156,39,176,.12)}.btn.btn-info{color:#fff;background-color:#00bcd4;border-color:#00bcd4;box-shadow:0 2px 2px 0 rgba(0,188,212,.14),0 3px 1px -2px rgba(0,188,212,.2),0 1px 5px 0 rgba(0,188,212,.12)}.btn.btn-success{color:#fff;background-color:#4caf50;border-color:#4caf50;box-shadow:0 2px 2px 0 rgba(76,175,80,.14),0 3px 1px -2px rgba(76,175,80,.2),0 1px 5px 0 rgba(76,175,80,.12)}.btn.btn-warning{color:#fff;background-color:#ff9800;border-color:#ff9800;box-shadow:0 2px 2px 0 rgba(255,152,0,.14),0 3px 1px -2px rgba(255,152,0,.2),0 1px 5px 0 rgba(255,152,0,.12)}.btn.btn-danger{color:#fff;background-color:#f44336;border-color:#f44336;box-shadow:0 2px 2px 0 rgba(244,67,54,.14),0 3px 1px -2px rgba(244,67,54,.2),0 1px 5px 0 rgba(244,67,54,.12)}.badge{padding:5px 12px;text-transform:uppercase;font-size:10px;color:#fff;display:inline-block;white-space:normal}.c-overflow-x-hidden{overflow-x:hidden}.c-overflow-y-hidden{overflow-y:hidden}"],changeDetection:c.ChangeDetectionStrategy.OnPush}]}],t.ctorParameters=function(){return[{type:c.ChangeDetectorRef},{type:x},{type:c.ElementRef},{type:n.DatePipe},{type:b},{type:h},{type:y},{type:v},{type:w}]},t.propDecorators={option:[{type:c.Input}],onImportExcel:[{type:c.Output}],onSaveRow:[{type:c.Output}],gridHeader:[{type:c.ViewChild,args:["gridHeader"]}],gridBody:[{type:c.ViewChild,args:["gridBody"]}],gridFixedBody:[{type:c.ViewChild,args:["gridFixedBody"]}],fixedGridContainer:[{type:c.ViewChild,args:["fixedGridContainer"]}],gridContainer:[{type:c.ViewChild,args:["gridContainer"]}],modal:[{type:c.ViewChild,args:["modal"]}],modalImportExcel:[{type:c.ViewChild,args:["modalImportExcel"]}]},t}(),k=function(){function e(){this.height=null,this.width=null,this.key=null,this.paramType="string",this.type="default",this.idColumn=null,this.filterable=!1,this.checkable=!1,this.customFilter=null,this.customParam=null,this.sortable=!0,this.editable=!1,this.addable=!1,this.commands=[],this.columns=[]}return e.prototype.clone=function(){var t=new e;return t.height=this.height,t.width=this.width,t.component=this.component,t.componentName=this.componentName,t.key=this.key,t.url=this.url,t.paramType=this.paramType,t.type=this.type,t.items=this.items,t.idColumn=this.idColumn,t.filterable=this.filterable,t.checkable=this.checkable,t.customFilter=this.customFilter,t.customParam=this.customParam,t.sortable=this.sortable,t.editable=this.editable,t.addable=this.addable,t.commands=this.commands,t.columns=this.columns,t.onClickRow=this.onClickRow,t.onDblClickRow=this.onDblClickRow,t.onCheck=this.onCheck,t.onImportExcel=this.onImportExcel,t.onReloadCompleted=this.onReloadCompleted,t},e}(),O=function(){function t(t,e){this.ref=t,this.datePipe=e,this.type="datetime",this.size="sm",this.disabled=!1,this.required=!1,this.change=new c.EventEmitter,this.modelChange=new c.EventEmitter}return Object.defineProperty(t.prototype,"model",{set:function(e){var i=this;setTimeout(function(){if(e)if(e instanceof Date)"datetime"===i.type?i.date=i.datePipe.transform(e,"yyyy/MM/dd HH:mm"):"date"===i.type?i.date=i.datePipe.transform(e,"yyyy/MM/dd"):i.date=i.datePipe.transform(e,"HH:mm");else{var t=new Date(e);i.modelChange.emit(t)}else null!==e?i.modelChange.emit(null):i.date=null},0)},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){},t.prototype.ngAfterViewInit=function(){var e=this;$(this.control.nativeElement).datetimepicker({datepicker:"datetime"===this.type||"date"===this.type,timepicker:"datetime"===this.type||"time"===this.type,format:"datetime"===this.type?"Y/m/d H:i":"date"===this.type?"Y/m/d":"H:i",step:15,onChangeDateTime:function(t){e.modelChange.emit(t||null),e.change.emit(t||null),e.ref.detectChanges()}})},t.decorators=[{type:c.Component,args:[{selector:"date-picker-control",template:'<span *ngIf="label" class="label-swm">{{label}}\n <span class="text-danger" *ngIf="required">*</span>\n</span>\n<div class="input-group" [ngClass]="{\'input-group-sm\': size === \'sm\',\'input-group-xs\': size===\'xs\'}">\n <input #control class="form-control border-right-0" [ngModel]="date" [disabled]="disabled">\n <div class="input-group-append">\n <span class="input-group-text px-1 border-left-0" [ngStyle]="{\'background\':disabled?\'#E9ECEF\':\'#FFF\'}">\n <i class="fa" [ngClass]="{\'fa-clock-o\':type === \'time\', \'fa-calendar\':type !== \'time\'}"></i>\n </span>\n </div>\n</div>',styles:[".btn.btn-outline-secondary{border-color:#ced4da}input{font-size:.75rem!important}"]}]}],t.ctorParameters=function(){return[{type:c.ChangeDetectorRef},{type:n.DatePipe}]},t.propDecorators={type:[{type:c.Input}],size:[{type:c.Input}],disabled:[{type:c.Input}],required:[{type:c.Input}],label:[{type:c.Input}],change:[{type:c.Output}],model:[{type:c.Input}],modelChange:[{type:c.Output}],control:[{type:c.ViewChild,args:["control"]}]},t}(),I=function(){function t(t){this.ref=t,this.name=p.v4(),this.modelChange=new c.EventEmitter}return Object.defineProperty(t.prototype,"model",{set:function(t){this._model=t,this.ref.detectChanges()},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.form&&this.form.addControl(this.formModel)},t.prototype.ngAfterViewInit=function(){},t.prototype.change=function(t){this._model=t,this.modelChange.emit(this._model)},t.decorators=[{type:c.Component,args:[{selector:"input-control",template:'<mat-form-field style="width:100%">\n <input #formModel="ngModel" [name]="name" matInput placeholder="{{label}}" [ngModel]="_model" (ngModelChange)="change($event)"\n [required]="required" [disabled]="disabled">\n <mat-error *ngIf="form && formModel.invalid && formModel.errors.required">\n This field is <strong>required</strong>\n </mat-error>\n</mat-form-field>',styles:[""]}]}],t.ctorParameters=function(){return[{type:c.ChangeDetectorRef}]},t.propDecorators={form:[{type:c.Input}],label:[{type:c.Input}],model:[{type:c.Input}],modelChange:[{type:c.Output}],required:[{type:c.Input}],maxlength:[{type:c.Input}],pattern:[{type:c.Input}],disabled:[{type:c.Input}],formModel:[{type:c.ViewChild,args:["formModel"]}]},t}(),E=function(){function t(){this.width="lg",this.isOpened=!1}return t.prototype.ngOnInit=function(){this.type=this.type||"primary"},t.prototype.ngOnDestroy=function(){r(this.modal.nativeElement).remove()},t.prototype.open=function(){this.isOpened=this.isOpened||!0,r(this.modal.nativeElement).modal("show")},t.prototype.close=function(){r(this.modal.nativeElement).modal("hide")},t.decorators=[{type:c.Component,args:[{selector:"modal-control",template:'<div class="modal" #modal>\n <div class="modal-dialog modal-dialog-centered" [ngClass]="{\'c-width-lg\':width==\'lg\',\'c-width-md\':width==\'md\',\'c-width-sm\':width==\'sm\'}">\n <div *ngIf="isOpened" class="modal-content">\n \x3c!-- Modal Header --\x3e\n <div class="modal-header {{type}}">\n <label class="modal-title">{{title}}</label>\n <button type="button" class="close" (click)="close()">×</button>\n </div>\n \x3c!-- Modal body & footer--\x3e\n <ng-content></ng-content>\n </div>\n </div>\n</div>',styles:[""]}]}],t.propDecorators={title:[{type:c.Input}],type:[{type:c.Input}],width:[{type:c.Input}],modal:[{type:c.ViewChild,args:["modal"]}]},t}(),P=function(){function t(){}return t.prototype.ngOnInit=function(){},t.decorators=[{type:c.Component,args:[{selector:"modal-body",template:"<p>\n modal-body works!\n</p>\n",styles:[""]}]}],t.ctorParameters=function(){return[]},t}(),S=function(){function t(){}return t.prototype.ngOnInit=function(){},t.decorators=[{type:c.Component,args:[{selector:"modal-footer",template:"<p>\n modal-footer works!\n</p>\n",styles:[""]}]}],t.ctorParameters=function(){return[]},t}(),D=function(){function t(){this.name=p.v4(),this.modelChange=new c.EventEmitter,this.onChange=new c.EventEmitter}return Object.defineProperty(t.prototype,"model",{set:function(t){var e=this;setTimeout(function(){e._model=t||"",!e._model&&e.required&&0<e.items.length&&e.change(e.items[0][e.valueField])},0)},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.form&&this.form.addControl(this.formModel)},t.prototype.ngAfterViewInit=function(){},t.prototype.change=function(t){this._model=t,this.modelChange.emit(this._model),this.onChange.emit(this._model)},t.decorators=[{type:c.Component,args:[{selector:"select-control",template:'<span *ngIf="label" class="label-swm">{{label}}\n <span class="text-danger" *ngIf="required">*</span>\n</span>\n<select #formModel="ngModel" class="form-control form-control-sm" [name]="name" [ngClass]="{\'is-invalid\':form && form.dirty && formModel.invalid}"\n [ngModel]="_model" (ngModelChange)="change($event)" [required]="required" [disabled]="disabled">\n <option *ngIf="!required" value="">Select One ...</option>\n <option *ngFor="let item of items" [value]="item[valueField]">{{item[displayField]}}</option>\n</select>\n<div class="invalid-feedback" *ngIf="form && formModel.invalid">\n <span *ngIf="formModel.errors.required">\n Required\n </span>\n</div>'}]}],t.ctorParameters=function(){return[]},t.propDecorators={items:[{type:c.Input}],valueField:[{type:c.Input}],displayField:[{type:c.Input}],form:[{type:c.Input}],label:[{type:c.Input}],model:[{type:c.Input}],modelChange:[{type:c.Output}],onChange:[{type:c.Output}],required:[{type:c.Input}],disabled:[{type:c.Input}],formModel:[{type:c.ViewChild,args:["formModel"]}]},t}(),M=function(){function t(){}return t.decorators=[{type:c.NgModule,args:[{imports:[s.MatTooltipModule,s.MatFormFieldModule,s.MatInputModule],exports:[s.MatTooltipModule,s.MatFormFieldModule,s.MatInputModule]}]}],t}(),F=function(){function t(){}return t.decorators=[{type:c.NgModule,args:[{imports:[n.CommonModule,u.FormsModule,e.HttpClientModule,M],declarations:[I,C,D,E,O,w,P,S],providers:[n.DatePipe,b,v,x,y,h,w],exports:[I,D,O,C]}]}],t}();t.SuperdevAngularCoreModule=F,t.ApiService=b,t.ExcelService=y,t.NotifyService=v,t.UtilityService=x,t.TranslatePipe=w,t.GridControlComponent=C,t.GridOption=k,t.DatePickerControl=O,t.InputControlComponent=I,t.ModalControl=E,t.ModalBodyComponent=P,t.ModalFooterComponent=S,t.SelectControl=D,t.ɵf=O,t.ɵc=C,t.ɵb=I,t.ɵh=P,t.ɵe=E,t.ɵi=S,t.ɵd=D,t.ɵn=h,t.ɵa=M,t.ɵg=w,t.ɵj=b,t.ɵm=y,t.ɵk=v,t.ɵl=x,Object.defineProperty(t,"__esModule",{value:!0})}); | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@angular/common/http"),require("uuid"),require("xlsx"),require("file-saver"),require("jquery"),require("sweetalert2"),require("@angular/common"),require("md5"),require("bootstrap"),require("@angular/material"),require("@angular/forms")):"function"==typeof define&&define.amd?define("superdev-angular-core",["exports","@angular/core","@angular/common/http","uuid","xlsx","file-saver","jquery","sweetalert2","@angular/common","md5","bootstrap","@angular/material","@angular/forms"],e):e(t["superdev-angular-core"]={},t.ng.core,t.ng.common.http,null,null,null,null,null,t.ng.common,null,null,t.ng.material,t.ng.forms)}(this,function(t,c,e,p,d,l,n,i,o,r,a,s,u){"use strict";var m="default"in p?p["default"]:p;function f(e,l,a,s){return new(a||(a=Promise))(function(t,n){function i(t){try{r(s.next(t))}catch(e){n(e)}}function o(t){try{r(s["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((s=s.apply(e,l||[])).next())})}function g(i,o){var r,l,a,t,s={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(;s;)try{if(r=1,l&&(a=2&t[0]?l["return"]:t[0]?l["throw"]||((a=l["return"])&&a.call(l),0):l.next)&&!(a=a.call(l,t[1])).done)return a;switch(l=0,a&&(t=[2&t[0],a.value]),t[0]){case 0:case 1:a=t;break;case 4:return s.label++,{value:t[1],done:!1};case 5:s.label++,l=t[1],t=[0];continue;case 7:t=s.ops.pop(),s.trys.pop();continue;default:if(!(a=0<(a=s.trys).length&&a[a.length-1])&&(6===t[0]||2===t[0])){s=0;continue}if(3===t[0]&&(!a||t[1]>a[0]&&t[1]<a[3])){s.label=t[1];break}if(6===t[0]&&s.label<a[1]){s.label=a[1],a=t;break}if(a&&s.label<a[2]){s.label=a[2],s.ops.push(t);break}a[2]&&s.ops.pop(),s.trys.pop();continue}t=o.call(i,s)}catch(e){t=[6,e],l=0}finally{r=a=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}([e,t])}}}d=d&&d.hasOwnProperty("default")?d["default"]:d,n=n&&n.hasOwnProperty("default")?n["default"]:n,i=i&&i.hasOwnProperty("default")?i["default"]:i,r=r&&r.hasOwnProperty("default")?r["default"]:r;var h=function(){function t(t){this.httpClient=t}return t.prototype.post=function(t,i){var o=this;return new Promise(function(e,n){o.httpClient.post(t,i).toPromise().then(function(t){e(t)})["catch"](function(t){n(t)})})},t.decorators=[{type:c.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:e.HttpClient}]},t.ngInjectableDef=c.defineInjectable({factory:function(){return new t(c.inject(e.HttpClient))},token:t,providedIn:"root"}),t}(),b=function(){function t(){this.importId=m.v4()}return t.prototype["import"]=function(){var t=this;return new Promise(function(s,o){n("#"+t.importId).length&&n("#"+t.importId).remove(),n("body").append('<input id="'+t.importId+'" style="display: none" type="file" />'),n("#"+t.importId).change(function(t){try{var e=t.target;if(1!==e.files.length)throw new Error("Cannot use multiple files");var n=new FileReader;n.onload=function(t){var e=t.target.result,n=d.read(e,{type:"binary"}),i=n.SheetNames[0],o=n.Sheets[i],r=d.utils.sheet_to_json(o,{header:1}),l=[],a=r[0];r.splice(0,1),r.forEach(function(n){var i={},o=!1;a.forEach(function(t,e){i[t]=n[e],n[e]!==undefined&&null!==n[e]&&n[e].toString()&&(o=!0)}),o&&l.push(i)}),s(l)},n.readAsBinaryString(e.files[0])}catch(i){o(i)}}),n("#"+t.importId).trigger("click")})},t.prototype["export"]=function(t){var e=d.utils.json_to_sheet(t.data,{cellDates:!0}),n=d.utils.book_new();d.utils.book_append_sheet(n,e,t.sheetName||"Default");var i=n.SheetNames[0];n.Sheets[i].A1.s={fill:{fgColor:{rgb:"86BC25"}}};var o=d.write(n,{bookType:"xlsx",type:"binary"}),r=t.fileName?t.fileName+this.current():m.v4()+".xlsx";l.saveAs(new Blob([this.s2ab(o)],{type:"application/octet-stream"}),r)},t.prototype.current=function(){var t=new Date;return t.getFullYear()+"/"+("0"+t.getDate()).slice(-2)+"/"+("0"+(t.getMonth()+1)).slice(-2)+" "+t.getHours()+":"+t.getMinutes()+":"+t.getSeconds()},t.prototype.s2ab=function(t){for(var e=new ArrayBuffer(t.length),n=new Uint8Array(e),i=0;i!=t.length;++i)n[i]=255&t.charCodeAt(i);return e},t.decorators=[{type:c.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[]},t.ngInjectableDef=c.defineInjectable({factory:function(){return new t},token:t,providedIn:"root"}),t}(),y=function(){function t(){}return t.prototype.set=function(t,e){t||console.error("[LocalStorageService] INVALID KEY"),localStorage.setItem(t,JSON.stringify({data:e}))},t.prototype.get=function(t){try{return localStorage.getItem(t)?JSON.parse(localStorage.getItem(t)).data:undefined}catch(e){return undefined}},t.prototype.hasKey=function(t){return!!localStorage.getItem(t)},t.prototype.remove=function(t){t&&localStorage.removeItem(t)},t.prototype.clear=function(){localStorage.clear()},t.decorators=[{type:c.Injectable}],t}(),v=function(){function t(){this.alert={warning:function(t){i({type:"warning",title:"Oops...",text:t||"Something went wrong!"})},error:function(t){i({type:"error",title:"Oops...",text:t||"Something went wrong!"})}},this.notify={success:function(t){i({position:"top-end",type:"success",title:t||"Success",showConfirmButton:!1,timer:1500})},warning:function(t){i({position:"top-end",type:"warning",title:t||"Warning",showConfirmButton:!1,timer:1500})},error:function(t){i({position:"top-end",type:"error",title:t||"Error",showConfirmButton:!1,timer:1500})}}}return t.decorators=[{type:c.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[]},t.ngInjectableDef=c.defineInjectable({factory:function(){return new t},token:t,providedIn:"root"}),t}(),x=function(){function t(t,e){var n=this;this.datePipe=t,this.notifyService=e,this.handle={error:function(t){if("string"==typeof t)n.notifyService.notify.warning(t);else if("object"==typeof t){var e=t.message||"UNKNOWN_ERROR";t.json&&"function"==typeof t.json&&(e=t.json().message||e,t.json().error&&(e=t.json().error.message||e)),n.notifyService.notify.warning(e)}else n.notifyService.notify.warning("UNKNOWN_ERROR")}}}return t.prototype.hashMD5=function(t){return r(t)},t.decorators=[{type:c.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:o.DatePipe},{type:v}]},t.ngInjectableDef=c.defineInjectable({factory:function(){return new t(c.inject(o.DatePipe),c.inject(v))},token:t,providedIn:"root"}),t}(),w=function(){function t(){}return t.prototype.transform=function(t){return t},t.decorators=[{type:c.Pipe,args:[{name:"translate"}]}],t}(),C=function(){function t(t,e,n,i,o,r,l,a,s){var d=this;this.ref=t,this.utilityService=e,this.elementRef=n,this.datePipe=i,this.apiService=o,this.localStorageService=r,this.excelService=l,this.notifyService=a,this.translatePipe=s,this.originalColumns=[],this.onImportExcel=new c.EventEmitter,this.onSaveRow=new c.EventEmitter,this.items=[],this.filter={},this.pageSize=20,this.currentPage=1,this.configModalId=p.v4(),this.columnConfigs=[],this.pages=[1],this.pageCount=5,this.totalPage=1,this.loadingId=p.v4(),this.isCheckedAll=!1,this.editable={validate:function(t){return"object"==typeof d.gridOption.editable&&d.gridOption.editable.validate?d.gridOption.editable.validate(t):undefined},create:function(){var e={};d.gridOption.columns.forEach(function(t){"values"===t.type&&0<t.values.length?e[t.field]=t.values[0].value:"number"===t.type&&(e[t.field]=0)}),"object"==typeof d.gridOption.editable&&d.gridOption.editable.onAdd&&d.gridOption.editable.onAdd(e),e.isNewInstant=!0,d.items.splice(0,0,e),d.editable.update(e)},update:function(t){t.temporary=Object.assign({},t),t.isEditing=!0},save:function(t){try{if("object"==typeof d.gridOption.editable){if(d.gridOption.editable.validate){var e=d.gridOption.editable.validate(t);if(e)throw e}d.gridOption.editable.onSave&&d.gridOption.editable.onSave(t)}t.isEditing=!1,t.isNewInstant=!1,t.isDirty=!0,d.onSaveRow.emit(t)}catch(n){d.notifyService.notify.warning(n)}},cancel:function(t){t.isNewInstant?d.items.splice(0,1):(Object.assign(t,t.temporary),t.isEditing=!1)},disabled:function(t){return"object"==typeof d.gridOption.editable&&("function"==typeof d.gridOption.editable.disabled?d.gridOption.editable.disabled(t):d.gridOption.editable.disabled)},markAsDirty:function(t){t.isDirty=!0}},this.importedItems=[],this.selectedItem=null,this.rowHandler={click:function(t){d.selectedItem=t,d.gridOption.onClickRow&&(d.gridOption.component?d.gridOption.onClickRow.bind(d.gridOption.component)(t):d.gridOption.onClickRow(t))},dblClick:function(t){d.selectedItem=t,d.gridOption.onDblClickRow&&(d.gridOption.component?d.gridOption.onDblClickRow.bind(d.gridOption.component)(t):d.gridOption.onDblClickRow(t))}},this.commandHandler={icon:function(t,e){return"function"==typeof t.icon?t.icon(e):t.icon},title:function(t,e){return"function"==typeof t.title?d.translatePipe.transform(t.title(e)):d.translatePipe.transform(t.title)},disalbed:function(t,e){return!!t.disabled&&(t.disabled instanceof Function&&t.disabled(e))}},this.editorHandler={displayEditor:function(t,e){var n=!1;return t.editor&&(n="function"==typeof t.editor.disabled?t.editor.disabled(e):t.editor.disabled),!n&&("object"==typeof d.gridOption.editable&&(n="function"==typeof d.gridOption.editable.disabled?d.gridOption.editable.disabled(e):d.gridOption.editable.disabled),!n&&(e.isEditing||t.editor&&t.editor.alwayDisplay||d.gridOption.editable&&"object"==typeof d.gridOption.editable&&"inline"===d.gridOption.editable.type))},alwayDisplay:function(t,e){return t.editor&&t.editor.alwayDisplay},click:function(t,e){t.editor&&t.editor.click&&t.editor.click(e)},change:function(t,e){t.editor&&t.editor.change&&t.editor.change(e)},keyupEnter:function(t,e){t.editor&&t.editor.keyupEnter&&t.editor.keyupEnter(e)},disabled:function(t,e){return!!t.editor&&("function"==typeof t.editor.disabled?t.editor.disabled(e):t.editor.disabled)}},setInterval(function(){d.ref.markForCheck()},1e3)}return Object.defineProperty(t.prototype,"option",{set:function(t){this.detectChanges(),this.originalColumns=t.columns,this.gridOption=Object.assign({},t),this.loadConfig(),this.reload()},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){},t.prototype.ngAfterViewInit=function(){this.resize()},t.prototype.startLoading=function(){n(this.elementRef.nativeElement).append('<div id="'+this.loadingId+'" style="top:0;left:0;height:100%;width:100%;position:absolute;opacity:0.6;background:#FFFFFF;"><i class="fa fa-circle-o-notch fa-spin fa-3x"></i></div>')},t.prototype.stopLoading=function(){n("#"+this.loadingId).remove()},t.prototype.reloadGridDefault=function(){return f(this,void 0,void 0,function(){var e;return g(this,function(t){switch(t.label){case 0:return"server"!==this.gridOption.type?[3,2]:[4,this.apiService.post(this.gridOption.url,this.filterDefault)];case 1:e=t.sent(),this.items=e.json()[this.gridOption.itemsField],this.total=e.json()[this.gridOption.totalField],t.label=2;case 2:return[2]}})})},t.prototype.reloadGridCustom=function(){return f(this,void 0,void 0,function(){var e;return g(this,function(t){switch(t.label){case 0:return[4,this.apiService.post(this.gridOption.url,this.filterCustom)];case 1:return e=t.sent(),this.items=e.json().res,this.total=e.json().total,[2]}})})},t.prototype.reloadGridLocal=function(i){return f(this,void 0,void 0,function(){var e,n;return g(this,function(t){switch(t.label){case 0:return"local"!==this.gridOption.type?[3,3]:this.gridOption.url?(e={},[4,this.apiService.post(this.gridOption.url,e)]):[3,2];case 1:return n=t.sent(),this.items=n.json(),this.total=this.items.length,[3,3];case 2:this.gridOption.items=i||this.gridOption.items,this.items=this.gridOption.items,this.total=this.items.length,t.label=3;case 3:return[2]}})})},t.prototype.reload=function(n){return f(this,void 0,void 0,function(){var e;return g(this,function(t){switch(t.label){case 0:this.startLoading(),t.label=1;case 1:return t.trys.push([1,8,,9]),"default"!==this.gridOption.type?[3,3]:[4,this.reloadGridDefault()];case 2:return t.sent(),[3,7];case 3:return"custom"!==this.gridOption.type?[3,5]:[4,this.reloadGridCustom()];case 4:return t.sent(),[3,7];case 5:return"local"!==this.gridOption.type?[3,7]:[4,this.reloadGridLocal(n)];case 6:t.sent(),t.label=7;case 7:return this.items.forEach(function(t){return t.originItem=Object.assign({},t)}),this.gridOption.onReloadCompleted&&this.gridOption.onReloadCompleted(this.items),this.generatePaginate(),this.stopLoading(),this.detectChanges(),[3,9];case 8:return e=t.sent(),this.utilityService.handle.error(e),this.stopLoading(),[3,9];case 9:return[2]}})})},t.prototype.detectChanges=function(){this.ref.detectChanges()},Object.defineProperty(t.prototype,"filterDefault",{get:function(){var i=this,t=(this.currentPage-1)*this.pageSize;t<0&&(t=0);var e=this.pageSize,o={};return this.gridOption.customFilter&&(this.gridOption.customFilter instanceof Object&&(o=n.extend(o,this.gridOption.customFilter)),this.gridOption.customFilter instanceof Function&&(o=n.extend(o,this.gridOption.customFilter()))),this.gridOption.columns.forEach(function(t){if(i.filter[t.field]){var e={};if("string"===t.type)e[t.field]={like:"%"+i.filter[t.field].trim()+"%"};else if("number"===t.type){var n=parseFloat(i.filter[t.field].trim().replace(">=","").replace("<=","").replace(">","").replace("<",""));-1<i.filter[t.field].indexOf(">=")?e[t.field]={gte:n}:-1<i.filter[t.field].indexOf("<=")?e[t.field]={lte:n}:-1<i.filter[t.field].indexOf(">")?e[t.field]={gt:n}:-1<i.filter[t.field].indexOf("<")?e[t.field]={lt:n}:e[t.field]=n}else"bool"===t.type&&("0"===i.filter[t.field]?e[t.field]=!1:"1"===i.filter[t.field]&&(e[t.field]=!0));Object.assign(o,e)}}),{where:o,skip:t,limit:e,order:this.orderBy?this.orderBy+" "+this.orderDirection:undefined}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"filterCustom",{get:function(){var r,l=this;return this.gridOption.customFilter?("string"==typeof this.gridOption.customFilter&&(r=this.gridOption.customFilter),this.gridOption.customFilter instanceof Function&&(r=this.gridOption.customFilter())):r="1>0",this.gridOption.columns.forEach(function(t){if(l.filter[t.field])if("string"===t.type)r+=" AND "+t.field+" LIKE '%"+l.filter[t.field].trim()+"%'";else if("number"===t.type){var e=parseFloat(l.filter[t.field].trim().replace(">=","").replace("<=","").replace(">","").replace("<",""));-1<l.filter[t.field].indexOf(">=")?r+=" AND "+t.field+" >= "+e:-1<l.filter[t.field].indexOf("<=")?r+=" AND "+t.field+" <= "+e:-1<l.filter[t.field].indexOf(">")?r+=" AND "+t.field+" > "+e:-1<l.filter[t.field].indexOf("<")?r+=" AND "+t.field+" < "+e:r+=" AND "+t.field+" = "+e}else if("bool"===t.type)l.filter[t.field]||"0"===l.filter[t.field]?r+=" AND "+t.field+" = false":(l.filter[t.field]||"1"===l.filter[t.field])&&(r+=" AND "+t.field+" = true");else if("date"===t.type||"datetime"===t.type){var n=new Date(l.filter[t.field]);n=new Date(n.getFullYear(),n.getMonth(),n.getDate(),0,0,0);var i=l.datePipe.transform(n,"yyyy-MM-dd HH:mm:ss");n.setDate(n.getDate()+1);var o=l.datePipe.transform(n,"yyyy-MM-dd HH:mm:ss");r+=" AND "+t.field+" >= '"+i+"' AND "+t.field+" < '"+o+"'"}else"values"===t.type&&""!==l.filter[t.field]&&(r+=" AND "+t.field+" = '"+l.filter[t.field].trim()+"'")}),this.gridOption.customParam?"function"==typeof this.gridOption.customParam?Object.assign(this.gridOption.customParam(),{whereClause:r,orderBy:this.orderBy,orderDirection:this.orderDirection,page:+this.currentPage||1,pageSize:+this.pageSize}):"object"==typeof this.gridOption.customParam?Object.assign(this.gridOption.customParam,{whereClause:r,orderBy:this.orderBy,orderDirection:this.orderDirection,page:+this.currentPage||1,pageSize:+this.pageSize}):void 0:{whereClause:r,orderBy:this.orderBy,orderDirection:this.orderDirection,page:+this.currentPage||1,pageSize:+this.pageSize}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"viewItems",{get:function(){var n=this;return this.currentPage=this.currentPage||1,"local"===this.gridOption.type?this.items.filter(function(t,e){return e>=(n.currentPage-1)*n.pageSize&&e<n.currentPage*n.pageSize}):this.items},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"editedItems",{get:function(){return this.items.filter(function(e){return!!e.isDirty||!(!e.originItem||!Object.keys(e.originItem).some(function(t){return e.originItem[t]!==e[t]}))})},enumerable:!0,configurable:!0}),t.prototype.selectPage=function(t){var e=+t;this.currentPage!==e&&0<e&&e<=this.totalPage&&(this.currentPage=e,this.reload())},t.prototype.generatePaginate=function(){if("local"===this.gridOption.type&&(this.total=this.items.length),this.pages=[],this.totalPage=Math.trunc(this.total/this.pageSize)+(this.total%this.pageSize==0?0:1),this.currentPage>this.totalPage&&(this.currentPage=this.totalPage),this.totalPage<=this.pageCount)for(var t=1;t<=this.totalPage;t++)this.pages.push(t);else this.currentPage<3?this.pages=[1,2,3,4,5]:this.currentPage>this.totalPage-2?this.pages=[this.totalPage-4,this.totalPage-3,this.totalPage-2,this.totalPage-1,this.totalPage]:this.pages=[this.currentPage-2,this.currentPage-1,this.currentPage,this.currentPage+1,this.currentPage+2]},Object.defineProperty(t.prototype,"sumarize",{get:function(){if(this.items&&0<this.items.length){var t=+this.pageSize*(+this.currentPage-1)+1;return t+" - "+(t+this.viewItems.length-1)+" / "+this.total}},enumerable:!0,configurable:!0}),t.prototype.getItems=function(){return this.items},Object.defineProperty(t.prototype,"selectedItems",{get:function(){return this.items.filter(function(t){return t.isChecked})},enumerable:!0,configurable:!0}),t.prototype.check=function(t){this.isCheckedAll=this.items.length===this.items.filter(function(t){return t.isChecked}).length,this.gridOption.onCheck&&this.gridOption.onCheck(this.items.filter(function(t){return t.isChecked}),t)},t.prototype.checkAll=function(t){var e=this;this.isCheckedAll=t,this.items.forEach(function(t){return t.isChecked=e.isCheckedAll}),this.gridOption.onCheck&&this.gridOption.onCheck(this.items.filter(function(t){return t.isChecked}))},t.prototype.sort=function(t){this.orderBy===t?this.orderDirection="ASC"===this.orderDirection?"DESC":"ASC":(this.orderBy=t,this.orderDirection="ASC"),this.reload()},t.prototype.resize=function(){var e=this;this.detectChanges();var t=this;this.gridOption.height?(n(this.gridBody.nativeElement).height(this.gridOption.height),n(this.gridFixedBody.nativeElement).height(this.gridOption.height)):(n(this.gridBody.nativeElement).height("calc(100vh - 100px)"),n(this.gridFixedBody.nativeElement).height("calc(100vh - 100px)"),setTimeout(function(){var t=n(e.gridBody.nativeElement).offset().top;n(e.gridBody.nativeElement).height("calc(100vh - "+(t+55)+"px)"),n(e.gridFixedBody.nativeElement).height("calc(100vh - "+(t+55)+"px)")},200)),this.resizeWidth(),n(this.gridBody.nativeElement).scroll(function(){n(t.gridHeader.nativeElement).scrollLeft(this.scrollLeft),n(t.gridFixedBody.nativeElement).scrollTop(this.scrollTop)})},t.prototype.setHeight=function(t){n(this.gridBody.nativeElement).height(t),n(this.gridFixedBody.nativeElement).height(t)},t.prototype.resizeWidth=function(){var t=5;this.gridOption.checkable&&(t+=52),this.gridOption.editable&&(t+=62),this.gridOption.commands&&(t+=28*this.gridOption.commands.length+2+2),n(this.fixedGridContainer.nativeElement).css("width",t+"px"),n(this.gridContainer.nativeElement).css("width","calc(100% - "+t+"px)")},t.prototype.importExcel=function(){var i=this;this.excelService["import"]().then(function(t){i.importedItems=t.map(function(e){var n={};return i.gridOption.columns.forEach(function(t){n[t.field]=e[t.title],"number"===t.type?n[t.field]=n[t.field]||0:"bool"===t.type?(n[t.field]=n[t.field]||"false",1===n[t.field]&&"1"===n[t.field]||"default"===n[t.field].toString().toLowerCase()||"Active"===n[t.field].toString().toLowerCase()||"true"===n[t.field].toString().toLowerCase()?n[t.field]=!0:n[t.field]=!1):"string"===t.type&&(n[t.field]=n[t.field]||"")}),n}),i.modalImportExcel.open()})},t.prototype.saveImportedExcel=function(){this.gridOption.onImportExcel&&this.gridOption.onImportExcel.bind(this.gridOption.component)(this.importedItems),this.onImportExcel.emit(this.importedItems)},t.prototype.exportExcel=function(){return f(this,void 0,void 0,function(){var e,n,i,r=this;return g(this,function(t){switch(t.label){case 0:return e=[],"default"!==this.gridOption.type?[3,2]:((n=this.filterDefault).skip=0,n.limit=1e5,[4,this.apiService.post(this.gridOption.url,n)]);case 1:return e=t.sent().json().res,[3,6];case 2:return"custom"!==this.gridOption.type?[3,5]:((n=this.filterCustom).page=1,n.pageSize=1e4,[4,this.apiService.post(this.gridOption.url,n)]);case 3:return[4,t.sent().json().res];case 4:return e=t.sent(),[3,6];case 5:e=this.items,t.label=6;case 6:return 0===e.length&&(e=[{}]),i=e.map(function(i){var o={};return r.gridOption.columns.forEach(function(e){if(i[e.field]===undefined||null===i[e.field]||""===i[e.field])o[e.title]="";else if("string"===e.type||"number"===e.type)o[e.title]=i[e.field];else if("bool"===e.type)i[e.field]?o[e.title]=e.trueValue||"TRUE":o[e.title]=e.falseValue||"FALSE";else if("date"===e.type){var t=new Date(i[e.field]);o[e.title]=r.datePipe.transform(t,"dd/MM/yyyy")}else if("datetime"===e.type){t=new Date(i[e.field]);o[e.title]=r.datePipe.transform(t,"dd/MM/yyyy HH:mm")}else if("time"===e.type){t=new Date(i[e.field]);o[e.title]=r.datePipe.transform(t,"HH:mm")}else if("values"===e.type){var n=e.values.find(function(t){return t.value==i[e.field]});o[e.title]=n?n.text:""}}),o}),this.excelService["export"]({data:i}),[2]}})})},t.prototype.loadConfig=function(){var n=this;if(this.gridOption.columns=[],this.gridOption.key){var t=this.gridOption.key;if(this.localStorageService.get(t)){var e=this.localStorageService.get(t);e.forEach(function(e){var t=n.originalColumns.find(function(t){return t.field===e.originColumn.field});e.originColumn=t||e.originColumn}),this.localStorageService.set(t,e)}else{var i=[];this.originalColumns.forEach(function(t,e){i.push({originColumn:Object.assign({},t),order:e,isHidden:!1})}),this.localStorageService.set(t,i)}this.columnConfigs=this.localStorageService.get(t),this.columnConfigs.forEach(function(e){var t=n.originalColumns.find(function(t){return t.field===e.originColumn.field});t=t||e.originColumn,e.isHidden||(n.filter[t.field]="",t.title=e.title||n.translatePipe.transform(t.title),t.width=e.width||t.width,n.gridOption.columns.push(t))})}else this.gridOption.columns=Object.assign([],this.originalColumns);this.gridOption.columns.forEach(function(t){if("values"===t.type){var e={};t.values&&t.values.forEach(function(t){e[t.value]={text:t.text,icon:t.icon,color:t.color,backgroundColor:t.backgroundColor}}),t.dictionary=e}})},t.prototype.resetConfig=function(){var t=this.gridOption.key;this.localStorageService.remove(t),this.loadConfig(),this.modal.close()},t.prototype.saveModalConfig=function(){var t=this.gridOption.key;this.localStorageService.set(t,this.columnConfigs),this.loadConfig(),this.reload(),this.modal.close()},t.prototype.openModalConfig=function(){this.modal.open()},t.prototype.moveColumnUp=function(t){var e=this.columnConfigs[t];this.columnConfigs[t]=this.columnConfigs[t-1],this.columnConfigs[t-1]=e},t.prototype.moveColumnDown=function(t){var e=this.columnConfigs[t];this.columnConfigs[t]=this.columnConfigs[t+1],this.columnConfigs[t+1]=e},t.decorators=[{type:c.Component,args:[{selector:"grid-control",template:'<div class="clearfix"></div>\n<div *ngIf="gridOption" class="box box-primary">\n <div class="box-body p-0">\n <div class="row mr-0 ml-0">\n <div #fixedGridContainer>\n <div class="table-responsive c-overflow-x-hidden" #gridFixedHeader>\n <table class="table table-bordered mb-0">\n <thead class="thead-light">\n <tr>\n <th style="width:1px;min-width: 1px;"></th>\n <th *ngIf="gridOption.checkable" class="align-middle text-center" style="width:50px;min-width: 50px;">\n <label class="custom-control custom-checkbox">\n <input type="checkbox" class="custom-control-input" [(ngModel)]="isCheckedAll" (change)="checkAll(isCheckedAll)">\n <span class="custom-control-label"></span>\n </label>\n </th>\n <th *ngIf="gridOption.editable" class="align-middle text-center" style="width:60px;min-width: 60px;">\n <button type="button" *ngIf="gridOption.addable" type="button" class="btn-icon" (click)="editable.create()">\n <i class="fa fa-plus"></i>\n </button>\n </th>\n <th *ngIf="gridOption.commands && gridOption.commands.length" class="align-middle text-center" [ngStyle]="{\'width\': gridOption.commands.length*28 + 2 + \'px\',\'min-width\': gridOption.commands.length*28 + 2 + \'px\'}">\n </th>\n </tr>\n </thead>\n </table>\n </div>\n <div class="table-responsive c-overflow-x-hidden c-overflow-y-hidden" #gridFixedBody>\n <table class="table table-hover table-striped table-bordered">\n <tbody>\n <tr [ngClass]="{\'selected-row\':selectedItem === item}" *ngFor="let item of viewItems">\n <td [ngClass]="{\'table-danger\': gridOption.editable && editable.validate(item), \'table-success\': gridOption.editable && !editable.validate(item)}"\n style="width:1px;min-width: 1px;" [matTooltip]="editable.validate(item)" matTooltipPosition="after"></td>\n <td class="align-middle text-center" *ngIf="gridOption.checkable" style="width:50px;min-width: 50px;">\n <label class="custom-control custom-checkbox">\n <input type="checkbox" class="custom-control-input" [(ngModel)]="item.isChecked" (change)="check(item)">\n <span class="custom-control-label"></span>\n </label>\n </td>\n <td *ngIf="gridOption.editable" class="align-middle text-center" style="width:60px;min-width: 60px;">\n <div>\n \x3c!-- <div *ngIf="gridOption.editable.type !== \'inline\'"> --\x3e\n <button type="button" *ngIf="!item.isEditing" type="button" class="btn-icon" placement="top" matTooltip="Edit" (click)="editable.update(item)"\n [disabled]="editable.disabled(item)">\n <i class="fa fa-pencil text-primary" aria-hidden="true"></i>\n </button>\n <button type="button" *ngIf="item.isEditing" type="button" class="btn-icon" placement="top" matTooltip="Save" (click)="editable.save(item)"\n [disabled]="editable.disabled(item)">\n <i class="fa fa-floppy-o text-success" aria-hidden="true"></i>\n </button>\n <button type="button" *ngIf="item.isEditing" type="button" class="btn-icon" placement="top" matTooltip="Cancel"(click)="editable.cancel(item)"\n [disabled]="editable.disabled(item)">\n <i class="fa fa-times text-danger" aria-hidden="true"></i>\n </button>\n </div>\n </td>\n <td *ngIf="gridOption.commands && gridOption.commands.length" class="align-middle text-center" [ngStyle]="{\'width\': gridOption.commands.length*28 + 2 + \'px\',\'min-width\': gridOption.commands.length*28 + 2 + \'px\'}">\n <button type="button" *ngFor="let command of gridOption.commands" type="button" class="btn-icon" matTooltip="{{commandHandler.title(command,item)}}"\n (click)="selectedItem=item;command.click(item)" [disabled]="commandHandler.disalbed(command,item)">\n <i class="{{commandHandler.icon(command,item)}}" aria-hidden="true"></i>\n </button>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n <div #gridContainer>\n <div class="table-responsive grid-header" #gridHeader>\n <table class="table table-bordered mb-0">\n <thead class="thead-light">\n <tr>\n <th *ngFor="let column of gridOption.columns" [ngClass]="{\'d-none\':column.hidden && column.hidden()}" [ngStyle]="{\'width\':column.width ? column.width : \'\',\'min-width\':column.width ? column.width : \'300px\'}">\n <span class="cursor-pointer" (click)="sort(column.field)" [ngStyle]="{\'width\':column.width ? column.width : \'\'}">\n {{column.title}}\n <i *ngIf="orderBy == column.field && orderDirection == \'ASC\'" class="fa fa-angle-up"></i>\n <i *ngIf="orderBy == column.field && orderDirection == \'DESC\'" class="fa fa-angle-down"></i>\n </span>\n <input *ngIf="column.type === \'string\' || column.type === \'number\'" type="text" class="form-control form-control-xs" [(ngModel)]="filter[column.field]"\n (keyup.enter)="reload()">\n <select *ngIf="column.type === \'bool\'" class="form-control form-control-xs" [(ngModel)]="filter[column.field]" (change)="reload()">\n <option value="">All</option>\n <option value="1">{{column.trueValue || \'TRUE\'}}</option>\n <option value="0">{{column.falseValue || \'FALSE\'}}</option>\n </select>\n <select class="form-control form-control-xs" *ngIf="column.type == \'values\'" [(ngModel)]="filter[column.field]" (change)="reload()">\n <option value="">All</option>\n <option *ngFor="let data of column.values" [value]="data.value">{{data.text}}</option>\n </select>\n <date-picker-control *ngIf="column.type === \'date\' || column.type === \'datetime\' || column.type === \'time\'" [(model)]="filter[column.field]"\n (change)="reload()" [type]="\'date\'" [size]="\'xs\'"></date-picker-control>\n </th>\n </tr>\n </thead>\n </table>\n </div>\n <div class="table-responsive" #gridBody>\n <table class="table table-hover table-striped table-bordered">\n <tbody>\n <tr [ngClass]="{\'selected-row\':selectedItem === item}" *ngFor="let item of viewItems">\n <td *ngFor="let column of gridOption.columns" class="align-middle" [ngClass]="{\'d-none\':column.hidden && column.hidden()}"\n (click)="rowHandler.click(item)" (dblclick)="rowHandler.dblClick(item)" [ngStyle]="{\'width\':column.width ? column.width : \'\', \'min-width\':column.width ? column.width : \'300px\'}">\n <div *ngIf="column.type === \'string\'">\n <div *ngIf="editorHandler.displayEditor(column, item)" class="input-group input-group-xs">\n <input class="form-control" [ngClass]="{\'border-right-0\':column.editor && column.editor.click}" [(ngModel)]="item[column.field]"\n [disabled]="editorHandler.disabled(column, item)" (keyup.enter)="editorHandler.keyupEnter(column, item)"\n (change)="editable.markAsDirty(item);editorHandler.change(column, item)">\n <div class="input-group-append cursor-pointer" *ngIf="column.editor && column.editor.click">\n <span class="input-group-text pr-1 pl-0" [ngStyle]="{\'background\':editorHandler.disabled(column, item)?\'#E9ECEF\':\'#FFF\'}"\n (click)="editorHandler.click(column, item)">\n <i class="fa fa-search"></i>\n </span>\n </div>\n </div>\n <div class="c-ellipsis" [ngStyle]="{\'width\':column.width ? column.width : \'\', \'min-width\':column.width ? column.width : \'300px\'}"\n *ngIf="!editorHandler.displayEditor(column, item)">\n {{item[column.field]}}\n </div>\n </div>\n <div *ngIf="column.type === \'number\'">\n <input *ngIf="editorHandler.displayEditor(column, item)" type="number" class="form-control form-control-xs" [(ngModel)]="item[column.field]"\n [disabled]="editorHandler.disabled(column, item)" (keyup.Enter)="editorHandler.keyupEnter(column, item)"\n (change)="editable.markAsDirty(item);editorHandler.change(column, item)">\n <div *ngIf="!editorHandler.displayEditor(column, item)" class="pull-right">\n {{item[column.field] | number : \'1.2-2\'}}\n </div>\n </div>\n <div *ngIf="column.type === \'date\'">\n <date-picker-control *ngIf="editorHandler.displayEditor(column, item)" [(model)]="item[column.field]" [type]="\'date\'"\n [size]="\'xs\'" [disabled]="editorHandler.disabled(column, item)"></date-picker-control>\n <div *ngIf="!editorHandler.displayEditor(column, item)">\n {{item[column.field] | date:\'dd/MM/yyyy\'}}\n </div>\n </div>\n <div *ngIf="column.type === \'datetime\'">\n <date-picker-control *ngIf="editorHandler.displayEditor(column, item)" [(model)]="item[column.field]" [type]="\'datetime\'"\n [size]="\'xs\'" [disabled]="editorHandler.disabled(column, item)"></date-picker-control>\n <div *ngIf="!editorHandler.displayEditor(column, item)">\n {{item[column.field] | date:\'dd/MM/yyyy HH:mm\'}}\n </div>\n </div>\n <div *ngIf="column.type === \'time\'">\n <date-picker-control *ngIf="editorHandler.displayEditor(column, item)" [(model)]="item[column.field]" [type]="\'time\'"\n [size]="\'xs\'" [disabled]="editorHandler.disabled(column, item)"></date-picker-control>\n <div *ngIf="!editorHandler.displayEditor(column, item)">\n {{item[column.field] | date:\'HH:mm\'}}\n </div>\n </div>\n <div *ngIf="column.type === \'bool\'">\n <div *ngIf="editorHandler.displayEditor(column, item)">\n <label class="custom-control custom-checkbox">\n <input type="checkbox" class="custom-control-input" [(ngModel)]="item[column.field]" (change)="editable.markAsDirty(item)">\n <span class="custom-control-label"></span>\n </label>\n </div>\n <div *ngIf="!editorHandler.displayEditor(column, item)">\n <span *ngIf="item[column.field]" class="status status-success">{{column.trueValue || item[column.field]}}</span>\n <span *ngIf="!item[column.field]" class="status status-danger">{{column.falseValue || item[column.field]}}</span>\n </div>\n </div>\n <div *ngIf="column.type == \'values\'">\n <div *ngIf="editorHandler.displayEditor(column, item)">\n <select class="form-control form-control-xs" [disabled]="editorHandler.disabled(column, item)" [(ngModel)]="item[column.field]"\n (change)="editable.markAsDirty(item);">\n <option *ngFor="let data of column.values" [value]="data.value">{{data.text}}</option>\n </select>\n </div>\n <div class="status c-ellipsis" *ngIf="!editorHandler.displayEditor(column, item) && column.dictionary[item[column.field]]"\n [ngStyle]="{\'color\':column.dictionary[item[column.field]].color,\'width\':column.width ? column.width : \'\', \'min-width\':column.width ? column.width : \'300px\'}">\n {{column.dictionary[item[column.field]].text}}\n </div>\n </div>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n </div>\n </div>\n <div class="box-footer clearfix">\n <button type="button" *ngIf="gridOption.key" class="btn btn-primary btn-sm" matTooltip="Configure" (click)="openModalConfig()">\n <i class="fa fa-cogs fa-fw"></i>\n </button>\n <button type="button" class="btn btn-info btn-sm" matTooltip="Refresh" (click)="reload()">\n <i class="fa fa fa-refresh fa-fw"></i>\n </button>\n <button type="button" *ngIf="gridOption.onImportExcel" class="btn btn-success btn-sm" matTooltip="Import Excel" (click)="importExcel()">\n <i class="fa fa-upload fa-fw"></i>\n </button>\n <button type="button" class="btn btn-success btn-sm" matTooltip="Export Excel" (click)="exportExcel()">\n <i class="fa fa-download fa-fw"></i>\n </button>\n <div class="row mr-0 ml-0 text-right pull-right">\n <span class="sumarize">{{sumarize}}</span>\n <ul class="pagination pagination-info m-0">\n <li class="page-item" [ngClass]="{\'disabled\':currentPage === 1}" placement="top" matTooltip="First" (click)="selectPage(1)">\n <a class="page-link">\n <i class="fa fa-angle-double-left"></i>\n </a>\n </li>\n <li class="page-item" [ngClass]="{\'disabled\':currentPage === 1}" placement="top" matTooltip="Previous" (click)="selectPage(currentPage-1)">\n <a class="page-link">\n <i class="fa fa-angle-left"></i>\n </a>\n </li>\n <li class="page-item" [ngClass]="{\'active\':page === currentPage}" *ngFor="let page of pages" (click)="selectPage(page)">\n <a class="page-link">{{page}}</a>\n </li>\n <li class="page-item" [ngClass]="{\'disabled\':currentPage === totalPage}" placement="top" matTooltip="Next" (click)="selectPage(currentPage+1)">\n <a class="page-link">\n <i class="fa fa-angle-right"></i>\n </a>\n </li>\n <li class="page-item" [ngClass]="{\'disabled\':currentPage === totalPage}" placement="top" matTooltip="Last" (click)="selectPage(totalPage)">\n <a class="page-link">\n <i class="fa fa-angle-double-right"></i>\n </a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n\x3c!-- Modal Configure Grid --\x3e\n<modal-control *ngIf="gridOption" [title]="\'Config Grid\'" #modal>\n <modal-body>\n <div class="mb-2">\n <button type="button" class="btn btn-xs" [ngClass]="{\'btn-info\': pageSize == 20}" (click)="pageSize = 20">20</button>\n <button type="button" class="btn btn-xs" [ngClass]="{\'btn-info\': pageSize == 50}" (click)="pageSize = 50">50</button>\n <button type="button" class="btn btn-xs" [ngClass]="{\'btn-info\': pageSize == 200}" (click)="pageSize = 200">200</button>\n <button type="button" class="btn btn-xs" [ngClass]="{\'btn-info\': pageSize == 500}" (click)="pageSize = 500">500</button>\n <button type="button" class="btn btn-xs" [ngClass]="{\'btn-info\': pageSize == 1000}" (click)="pageSize = 1000">1000</button>\n </div>\n <div class="table-responsive" style="height: calc(100vh - 15rem)">\n <table class="table table-hover table-bordered">\n <colgroup>\n <col style="width:50px">\n <col style="width:80px">\n <col style="width:100px">\n <col>\n <col style="width:100px">\n <col style="width:100px">\n </colgroup>\n <thead>\n <tr>\n <th class="align-bottom table-small"></th>\n <th class="align-bottom table-small"></th>\n <th>Field\n <input type="text" class="form-control search-table form-control-sm my-1">\n </th>\n <th>Title\n <input type="text" class="form-control search-table form-control-sm my-1">\n </th>\n <th>Width\n <input type="text" class="form-control search-table form-control-sm my-1">\n </th>\n <th>Hidden\n <input type="text" class="form-control search-table form-control-sm my-1">\n </th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor="let column of columnConfigs; let idx = index">\n <td class="align-middle text-center">\n {{idx+1}}\n </td>\n <td class="align-middle text-center">\n <button type="button" [disabled]="idx==0" type="button" class="btn-icon" placement="top" matTooltip="Up" (click)="moveColumnUp(idx)">\n <i class="fa fa-arrow-up text-primary" aria-hidden="true"></i>\n </button>\n <button type="button" [disabled]="idx==columnConfigs.length-1" type="button" class="btn-icon" placement="top" matTooltip="Down"\n (click)="moveColumnDown(idx)">\n <i class="fa fa-arrow-down text-primary" aria-hidden="true"></i>\n </button>\n </td>\n <td class="align-middle">{{column.originColumn.field}}</td>\n <td class="align-middle">\n <input type="text" placeholder="{{column.originColumn.title}}" [(ngModel)]="column.title" class="form-control form-control-sm my-1">\n </td>\n <td class="align-middle">\n <input type="text" placeholder="{{column.originColumn.width}}" [(ngModel)]="column.width" class="form-control form-control-sm my-1">\n </td>\n <td class="align-middle text-center">\n <label class="custom-control custom-checkbox">\n <input type="checkbox" class="custom-control-input" [(ngModel)]="column.isHidden">\n <span class="custom-control-label"></span>\n </label>\n </td>\n </tr>\n </table>\n </div>\n </modal-body>\n <modal-footer>\n <button type="button" class="btn btn-info btn-sm mr-auto" (click)="resetConfig()">\n <i class="fa fa-refresh"></i> Reset</button>\n <button type="button" class="btn btn-secondary btn-sm" (click)="modal.close()">\n <i class="fa fa-times"></i> Close</button>\n <button type="button" class="btn btn-primary btn-sm" (click)="saveModalConfig()">\n <i class="fa fa-floppy-o"></i> Save</button>\n </modal-footer>\n</modal-control>\n\n\x3c!-- Modal Impor Excel --\x3e\n<modal-control *ngIf="gridOption" [title]="\'Import Excel Preview\'" #modalImportExcel>\n <modal-body>\n <div class="table-responsive" style="height: calc(100vh - 250px)">\n <table class="table table-hover">\n <colgroup>\n <col style="width:50px">\n <col *ngFor="let column of gridOption.columns" [ngStyle]="{\'width\':column.width ? column.width : \'\' }">\n </colgroup>\n <thead>\n <tr>\n <th rowspan="1" class="align-middle text-center">\n STT\n </th>\n <th rowspan="1" *ngFor="let column of gridOption.columns" [ngStyle]="{\'min-width\':column.width ? column.width : \'100px\'}">\n {{column.title}}\n </th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor="let item of importedItems; let idx = index">\n <td class="align-middle text-center">{{idx+1}}</td>\n <td *ngFor="let column of gridOption.columns" class="align-middle">\n {{item[column.field]}}\n </td>\n </tr>\n </table>\n </div>\n </modal-body>\n <modal-footer>\n <button type="button" class="btn btn-secondary btn-sm" (click)="modalImportExcel.close()">\n <i class="fa fa-times"></i> Close</button>\n <button type="button" class="btn btn-primary btn-sm" (click)="saveImportedExcel()">\n <i class="fa fa-floppy-o"></i> Save</button>\n </modal-footer>\n</modal-control>',styles:[".form-control-xs,.input-group-xs>.form-control,.input-group-xs>.input-group-append>.input-group-text{padding:.15rem .2rem;font-size:.75rem;line-height:1.5;border-radius:.2rem;height:calc(1.45rem + 2px)}select.form-control-xs:not([size]):not([multiple]){height:calc(1.45rem + 2px)}.btn-xs{padding:.2rem .5rem;font-size:.7rem;line-height:1.15}.text-superdev{color:#006b8b!important}.bg-superdev{color:#fff!important;background-color:#006b8b!important}.btn-superdev,.btn-superdev:hover{color:#fff;background-color:#006b8b;border-color:#006b8b}.btn-superdev:disabled{color:#fff;background-color:#006b8b;border-color:#006b8b;opacity:.6;cursor:not-allowed}.btn-superdev-swm{color:#006b8b;background-color:#fff;border-color:#006b8b}.btn-superdev-swm:hover{color:#fff;background-color:#006b8b;border-color:#006b8b}.btn-superdev-swm:disabled{color:#006b8b;background-color:#fff;cursor:not-allowed}.box{position:relative;border-radius:3px;background:#fff;border-top:3px solid #d2d6de;width:100%;box-shadow:0 1px 1px rgba(0,0,0,.1)}.box.box-primary{border-top-color:#3c8dbc}.box.box-success{border-top-color:#00a65a}.box.box-warning{border-top-color:#f39c12}.box.box-danger{border-top-color:#dd4b39}.box-header{color:#444;display:block;padding:.5rem;position:relative;border-bottom:1px solid #f4f4f4}.box-header .box-title{display:inline-block;font-size:1.2rem;margin:0;line-height:1}.box-body{padding:.5rem;background-color:#fff;border-radius:0 0 3px 3px}.box-footer{border-top:1px solid #f4f4f4;padding:.5rem;background-color:#fff;border-radius:0 0 3px 3px}",".btn-icon{background:0 0!important;border:none;opacity:.8}.btn-icon:hover{cursor:pointer;opacity:1}.btn-icon:disabled{background:0 0!important;border:none;cursor:not-allowed;opacity:.3}.grid-header{overflow-x:hidden;overflow-y:hidden}td,th{line-height:1.15;padding:.3rem .2rem!important;font-size:.8rem;min-width:0}tbody td .c-ellipsis,thead th>span{white-space:nowrap;overflow:hidden!important;text-overflow:ellipsis;display:block;margin:0 -.3rem;padding:0 .3rem}thead th{min-height:49px;height:49px}tbody td{min-height:35px;height:35px}.status{font-weight:500;padding:2px 5px;border-radius:1.5rem;color:#16759b;cursor:pointer;display:block;text-align:center}.status-success{color:#43a047}.status-danger{color:#f44336}.page-item{cursor:pointer}.sumarize{padding:.5rem .75rem;text-transform:uppercase;font-size:.7rem;color:#fff;display:inline-block;white-space:normal;font-weight:500;line-height:1;text-align:center;border-radius:10rem;background-color:#00bcd4}.cursor-pointer{cursor:pointer}label.custom-control.custom-checkbox{margin:0}.selected-row{background-color:#90caf9!important}.pagination>li>a{border:0;border-radius:1.5rem!important;transition:.3s;padding:0 .5rem;margin:0 .2rem;min-width:1rem;height:1.5rem;line-height:1.5rem;color:#999;font-weight:400;font-size:.7rem;text-transform:uppercase;background:0 0}.pagination>.active>a,.pagination>.active>a:focus,.pagination>.active>a:hover,.pagination>.active>span,.pagination>.active>span:focus,.pagination>.active>span:hover{background-color:#9c27b0;border-color:#9c27b0;color:#fff;box-shadow:0 4px 5px 0 rgba(156,39,176,.14),0 1px 10px 0 rgba(156,39,176,.12),0 2px 4px -1px rgba(156,39,176,.2)}.pagination.pagination-info>.active>a,.pagination.pagination-info>.active>a:focus,.pagination.pagination-info>.active>a:hover,.pagination.pagination-info>.active>span,.pagination.pagination-info>.active>span:focus,.pagination.pagination-info>.active>span:hover{background-color:#00bcd4;border-color:#00bcd4;box-shadow:0 4px 5px 0 rgba(0,188,212,.14),0 1px 10px 0 rgba(0,188,212,.12),0 2px 4px -1px rgba(0,188,212,.2)}.btn{color:#fff;background-color:#999;border-color:#999;box-shadow:0 2px 2px 0 rgba(153,153,153,.14),0 3px 1px -2px rgba(153,153,153,.2),0 1px 5px 0 rgba(153,153,153,.12)}.btn:hover{color:#fff;background-color:#919191;border-color:#7a7a7a}.btn.btn-sm{font-size:.6875rem}.btn.btn-primary{color:#fff;background-color:#9c27b0;border-color:#9c27b0;box-shadow:0 2px 2px 0 rgba(156,39,176,.14),0 3px 1px -2px rgba(156,39,176,.2),0 1px 5px 0 rgba(156,39,176,.12)}.btn.btn-info{color:#fff;background-color:#00bcd4;border-color:#00bcd4;box-shadow:0 2px 2px 0 rgba(0,188,212,.14),0 3px 1px -2px rgba(0,188,212,.2),0 1px 5px 0 rgba(0,188,212,.12)}.btn.btn-success{color:#fff;background-color:#4caf50;border-color:#4caf50;box-shadow:0 2px 2px 0 rgba(76,175,80,.14),0 3px 1px -2px rgba(76,175,80,.2),0 1px 5px 0 rgba(76,175,80,.12)}.btn.btn-warning{color:#fff;background-color:#ff9800;border-color:#ff9800;box-shadow:0 2px 2px 0 rgba(255,152,0,.14),0 3px 1px -2px rgba(255,152,0,.2),0 1px 5px 0 rgba(255,152,0,.12)}.btn.btn-danger{color:#fff;background-color:#f44336;border-color:#f44336;box-shadow:0 2px 2px 0 rgba(244,67,54,.14),0 3px 1px -2px rgba(244,67,54,.2),0 1px 5px 0 rgba(244,67,54,.12)}.badge{padding:5px 12px;text-transform:uppercase;font-size:10px;color:#fff;display:inline-block;white-space:normal}.c-overflow-x-hidden{overflow-x:hidden}.c-overflow-y-hidden{overflow-y:hidden}"],changeDetection:c.ChangeDetectionStrategy.OnPush}]}],t.ctorParameters=function(){return[{type:c.ChangeDetectorRef},{type:x},{type:c.ElementRef},{type:o.DatePipe},{type:h},{type:y},{type:b},{type:v},{type:w}]},t.propDecorators={option:[{type:c.Input}],onImportExcel:[{type:c.Output}],onSaveRow:[{type:c.Output}],gridHeader:[{type:c.ViewChild,args:["gridHeader"]}],gridBody:[{type:c.ViewChild,args:["gridBody"]}],gridFixedBody:[{type:c.ViewChild,args:["gridFixedBody"]}],fixedGridContainer:[{type:c.ViewChild,args:["fixedGridContainer"]}],gridContainer:[{type:c.ViewChild,args:["gridContainer"]}],modal:[{type:c.ViewChild,args:["modal"]}],modalImportExcel:[{type:c.ViewChild,args:["modalImportExcel"]}]},t}(),O=function(){function t(t,e){this.ref=t,this.datePipe=e,this.type="datetime",this.size="sm",this.disabled=!1,this.required=!1,this.change=new c.EventEmitter,this.modelChange=new c.EventEmitter}return Object.defineProperty(t.prototype,"model",{set:function(e){var n=this;setTimeout(function(){if(e)if(e instanceof Date)"datetime"===n.type?n.date=n.datePipe.transform(e,"yyyy/MM/dd HH:mm"):"date"===n.type?n.date=n.datePipe.transform(e,"yyyy/MM/dd"):n.date=n.datePipe.transform(e,"HH:mm");else{var t=new Date(e);n.modelChange.emit(t)}else null!==e?n.modelChange.emit(null):n.date=null},0)},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){},t.prototype.ngAfterViewInit=function(){var e=this;$(this.control.nativeElement).datetimepicker({datepicker:"datetime"===this.type||"date"===this.type,timepicker:"datetime"===this.type||"time"===this.type,format:"datetime"===this.type?"Y/m/d H:i":"date"===this.type?"Y/m/d":"H:i",step:15,onChangeDateTime:function(t){e.modelChange.emit(t||null),e.change.emit(t||null),e.ref.detectChanges()}})},t.decorators=[{type:c.Component,args:[{selector:"date-picker-control",template:'<span *ngIf="label" class="label-swm">{{label}}\n <span class="text-danger" *ngIf="required">*</span>\n</span>\n<div class="input-group" [ngClass]="{\'input-group-sm\': size === \'sm\',\'input-group-xs\': size===\'xs\'}">\n <input #control class="form-control border-right-0" [ngModel]="date" [disabled]="disabled">\n <div class="input-group-append">\n <span class="input-group-text px-1 border-left-0" [ngStyle]="{\'background\':disabled?\'#E9ECEF\':\'#FFF\'}">\n <i class="fa" [ngClass]="{\'fa-clock-o\':type === \'time\', \'fa-calendar\':type !== \'time\'}"></i>\n </span>\n </div>\n</div>',styles:[".btn.btn-outline-secondary{border-color:#ced4da}input{font-size:.75rem!important}"]}]}],t.ctorParameters=function(){return[{type:c.ChangeDetectorRef},{type:o.DatePipe}]},t.propDecorators={type:[{type:c.Input}],size:[{type:c.Input}],disabled:[{type:c.Input}],required:[{type:c.Input}],label:[{type:c.Input}],change:[{type:c.Output}],model:[{type:c.Input}],modelChange:[{type:c.Output}],control:[{type:c.ViewChild,args:["control"]}]},t}(),I=function(){function t(t){this.ref=t,this.name=p.v4(),this.modelChange=new c.EventEmitter}return Object.defineProperty(t.prototype,"model",{set:function(t){this._model=t,this.ref.detectChanges()},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.form&&this.form.addControl(this.formModel)},t.prototype.ngAfterViewInit=function(){},t.prototype.change=function(t){this._model=t,this.modelChange.emit(this._model)},t.decorators=[{type:c.Component,args:[{selector:"input-control",template:'<mat-form-field style="width:100%">\n <input #formModel="ngModel" [name]="name" matInput placeholder="{{label}}" [ngModel]="_model" (ngModelChange)="change($event)"\n [required]="required" [disabled]="disabled">\n <mat-error *ngIf="form && formModel.invalid && formModel.errors.required">\n This field is <strong>required</strong>\n </mat-error>\n</mat-form-field>',styles:[""]}]}],t.ctorParameters=function(){return[{type:c.ChangeDetectorRef}]},t.propDecorators={form:[{type:c.Input}],label:[{type:c.Input}],model:[{type:c.Input}],modelChange:[{type:c.Output}],required:[{type:c.Input}],maxlength:[{type:c.Input}],pattern:[{type:c.Input}],disabled:[{type:c.Input}],formModel:[{type:c.ViewChild,args:["formModel"]}]},t}(),k=function(){function t(){this.width="lg",this.isOpened=!1}return t.prototype.ngOnInit=function(){this.type=this.type||"primary"},t.prototype.ngOnDestroy=function(){n(this.modal.nativeElement).remove()},t.prototype.open=function(){this.isOpened=this.isOpened||!0,n(this.modal.nativeElement).modal("show")},t.prototype.close=function(){n(this.modal.nativeElement).modal("hide")},t.decorators=[{type:c.Component,args:[{selector:"modal-control",template:'<div class="modal" #modal>\n <div class="modal-dialog modal-dialog-centered" [ngClass]="{\'c-width-lg\':width==\'lg\',\'c-width-md\':width==\'md\',\'c-width-sm\':width==\'sm\'}">\n <div *ngIf="isOpened" class="modal-content">\n \x3c!-- Modal Header --\x3e\n <div class="modal-header {{type}}">\n <label class="modal-title">{{title}}</label>\n <button type="button" class="close" (click)="close()">×</button>\n </div>\n \x3c!-- Modal body & footer--\x3e\n <ng-content></ng-content>\n </div>\n </div>\n</div>',styles:[""]}]}],t.propDecorators={title:[{type:c.Input}],type:[{type:c.Input}],width:[{type:c.Input}],modal:[{type:c.ViewChild,args:["modal"]}]},t}(),S=function(){function t(){}return t.prototype.ngOnInit=function(){},t.decorators=[{type:c.Component,args:[{selector:"modal-body",template:"<p>\n modal-body works!\n</p>\n",styles:[""]}]}],t.ctorParameters=function(){return[]},t}(),E=function(){function t(){}return t.prototype.ngOnInit=function(){},t.decorators=[{type:c.Component,args:[{selector:"modal-footer",template:"<p>\n modal-footer works!\n</p>\n",styles:[""]}]}],t.ctorParameters=function(){return[]},t}(),P=function(){function t(){this.name=p.v4(),this.modelChange=new c.EventEmitter,this.onChange=new c.EventEmitter}return Object.defineProperty(t.prototype,"model",{set:function(t){var e=this;setTimeout(function(){e._model=t||"",!e._model&&e.required&&0<e.items.length&&e.change(e.items[0][e.valueField])},0)},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.form&&this.form.addControl(this.formModel)},t.prototype.ngAfterViewInit=function(){},t.prototype.change=function(t){this._model=t,this.modelChange.emit(this._model),this.onChange.emit(this._model)},t.decorators=[{type:c.Component,args:[{selector:"select-control",template:'<span *ngIf="label" class="label-swm">{{label}}\n <span class="text-danger" *ngIf="required">*</span>\n</span>\n<select #formModel="ngModel" class="form-control form-control-sm" [name]="name" [ngClass]="{\'is-invalid\':form && form.dirty && formModel.invalid}"\n [ngModel]="_model" (ngModelChange)="change($event)" [required]="required" [disabled]="disabled">\n <option *ngIf="!required" value="">Select One ...</option>\n <option *ngFor="let item of items" [value]="item[valueField]">{{item[displayField]}}</option>\n</select>\n<div class="invalid-feedback" *ngIf="form && formModel.invalid">\n <span *ngIf="formModel.errors.required">\n Required\n </span>\n</div>'}]}],t.ctorParameters=function(){return[]},t.propDecorators={items:[{type:c.Input}],valueField:[{type:c.Input}],displayField:[{type:c.Input}],form:[{type:c.Input}],label:[{type:c.Input}],model:[{type:c.Input}],modelChange:[{type:c.Output}],onChange:[{type:c.Output}],required:[{type:c.Input}],disabled:[{type:c.Input}],formModel:[{type:c.ViewChild,args:["formModel"]}]},t}(),D=function(){function t(){}return t.decorators=[{type:c.NgModule,args:[{imports:[s.MatTooltipModule,s.MatFormFieldModule,s.MatInputModule],exports:[s.MatTooltipModule,s.MatFormFieldModule,s.MatInputModule]}]}],t}(),M=function(){function t(){}return t.decorators=[{type:c.NgModule,args:[{imports:[o.CommonModule,u.FormsModule,e.HttpClientModule,D],declarations:[I,C,P,k,O,w,S,E],providers:[o.DatePipe,h,v,x,b,w,y],exports:[I,P,O,C]}]}],t}();t.SuperdevAngularCoreModule=M,t.ApiService=h,t.ExcelService=b,t.LocalStorageService=y,t.NotifyService=v,t.UtilityService=x,t.TranslatePipe=w,t.GridControlComponent=C,t.DatePickerControl=O,t.InputControlComponent=I,t.ModalControl=k,t.ModalBodyComponent=S,t.ModalFooterComponent=E,t.SelectControl=P,t.ɵf=O,t.ɵc=C,t.ɵb=I,t.ɵh=S,t.ɵe=k,t.ɵi=E,t.ɵd=P,t.ɵa=D,t.ɵg=w,t.ɵj=h,t.ɵm=b,t.ɵn=y,t.ɵk=v,t.ɵl=x,Object.defineProperty(t,"__esModule",{value:!0})}); | ||
//# sourceMappingURL=superdev-angular-core.umd.min.js.map |
@@ -5,97 +5,69 @@ /** | ||
*/ | ||
export class GridOption { | ||
constructor() { | ||
this.height = null; | ||
this.width = null; | ||
this.key = null; | ||
this.paramType = 'string'; | ||
this.type = 'default'; | ||
this.idColumn = null; | ||
this.filterable = false; | ||
this.checkable = false; | ||
this.customFilter = null; | ||
this.customParam = null; | ||
this.sortable = true; | ||
this.editable = false; | ||
this.addable = false; | ||
this.commands = []; | ||
this.columns = []; | ||
} | ||
/** | ||
* @return {?} | ||
*/ | ||
clone() { | ||
/** @type {?} */ | ||
let gridOption = new GridOption(); | ||
gridOption.height = this.height; | ||
gridOption.width = this.width; | ||
gridOption.component = this.component; | ||
gridOption.componentName = this.componentName; | ||
gridOption.key = this.key; | ||
gridOption.url = this.url; | ||
gridOption.paramType = this.paramType; | ||
gridOption.type = this.type; | ||
gridOption.items = this.items; | ||
gridOption.idColumn = this.idColumn; | ||
gridOption.filterable = this.filterable; | ||
gridOption.checkable = this.checkable; | ||
gridOption.customFilter = this.customFilter; | ||
gridOption.customParam = this.customParam; | ||
gridOption.sortable = this.sortable; | ||
gridOption.editable = this.editable; | ||
gridOption.addable = this.addable; | ||
gridOption.commands = this.commands; | ||
gridOption.columns = this.columns; | ||
// events | ||
gridOption.onClickRow = this.onClickRow; | ||
gridOption.onDblClickRow = this.onDblClickRow; | ||
gridOption.onCheck = this.onCheck; | ||
gridOption.onImportExcel = this.onImportExcel; | ||
gridOption.onReloadCompleted = this.onReloadCompleted; | ||
return gridOption; | ||
} | ||
} | ||
if (false) { | ||
/** @type {?} */ | ||
GridOption.prototype.height; | ||
/** @type {?} */ | ||
GridOption.prototype.width; | ||
/** @type {?} */ | ||
GridOption.prototype.component; | ||
/** @type {?} */ | ||
GridOption.prototype.componentName; | ||
/** @type {?} */ | ||
GridOption.prototype.key; | ||
/** @type {?} */ | ||
GridOption.prototype.url; | ||
/** @type {?} */ | ||
GridOption.prototype.paramType; | ||
/** @type {?} */ | ||
GridOption.prototype.type; | ||
/** @type {?} */ | ||
GridOption.prototype.items; | ||
/** @type {?} */ | ||
GridOption.prototype.idColumn; | ||
/** @type {?} */ | ||
GridOption.prototype.filterable; | ||
/** @type {?} */ | ||
GridOption.prototype.checkable; | ||
/** @type {?} */ | ||
GridOption.prototype.customFilter; | ||
/** @type {?} */ | ||
GridOption.prototype.customParam; | ||
/** @type {?} */ | ||
GridOption.prototype.sortable; | ||
/** @type {?} */ | ||
GridOption.prototype.editable; | ||
/** @type {?} */ | ||
GridOption.prototype.addable; | ||
/** @type {?} */ | ||
GridOption.prototype.commands; | ||
/** @type {?} */ | ||
GridOption.prototype.columns; | ||
} | ||
/** | ||
* @record | ||
*/ | ||
export function GridOption() { } | ||
/** @type {?|undefined} */ | ||
GridOption.prototype.height; | ||
/** @type {?|undefined} */ | ||
GridOption.prototype.component; | ||
/** @type {?|undefined} */ | ||
GridOption.prototype.componentName; | ||
/** @type {?|undefined} */ | ||
GridOption.prototype.key; | ||
/** @type {?|undefined} */ | ||
GridOption.prototype.filterable; | ||
/** @type {?|undefined} */ | ||
GridOption.prototype.checkable; | ||
/** @type {?|undefined} */ | ||
GridOption.prototype.customFilter; | ||
/** @type {?|undefined} */ | ||
GridOption.prototype.customParam; | ||
/** @type {?|undefined} */ | ||
GridOption.prototype.sortable; | ||
/** @type {?|undefined} */ | ||
GridOption.prototype.editable; | ||
/** @type {?|undefined} */ | ||
GridOption.prototype.addable; | ||
/** @type {?|undefined} */ | ||
GridOption.prototype.commands; | ||
/** @type {?|undefined} */ | ||
GridOption.prototype.columns; | ||
/** @type {?|undefined} */ | ||
GridOption.prototype.onClickRow; | ||
/** @type {?|undefined} */ | ||
GridOption.prototype.onDblClickRow; | ||
/** @type {?|undefined} */ | ||
GridOption.prototype.onCheck; | ||
/** @type {?|undefined} */ | ||
GridOption.prototype.onImportExcel; | ||
/** @type {?|undefined} */ | ||
GridOption.prototype.onReloadCompleted; | ||
/** | ||
* @record | ||
*/ | ||
export function GridLocalOption() { } | ||
/** @type {?} */ | ||
GridLocalOption.prototype.type; | ||
/** @type {?|undefined} */ | ||
GridLocalOption.prototype.url; | ||
/** @type {?|undefined} */ | ||
GridLocalOption.prototype.items; | ||
/** | ||
* @record | ||
*/ | ||
export function GridServerOption() { } | ||
/** @type {?} */ | ||
GridServerOption.prototype.type; | ||
/** @type {?} */ | ||
GridServerOption.prototype.url; | ||
/** @type {?|undefined} */ | ||
GridServerOption.prototype.itemsField; | ||
/** @type {?|undefined} */ | ||
GridServerOption.prototype.totalField; | ||
/** @type {?|undefined} */ | ||
GridServerOption.prototype.reload; | ||
/** | ||
* @record | ||
*/ | ||
export function GridCommand() { } | ||
@@ -213,2 +185,2 @@ /** @type {?} */ | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JpZC1jb250cm9sLm1vZGVsLmpzIiwic291cmNlUm9vdCI6Im5nOi8vc3VwZXJkZXYtYW5ndWxhci1jb3JlLyIsInNvdXJjZXMiOlsibGliL2NvbnRyb2xzL2dyaWQtY29udHJvbC9ncmlkLWNvbnRyb2wubW9kZWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE1BQU07SUFrQ0Y7c0JBakNpQixJQUFJO3FCQUNMLElBQUk7bUJBR04sSUFBSTt5QkFFZSxRQUFRO29CQUNGLFNBQVM7d0JBRTdCLElBQUk7MEJBQ0QsS0FBSzt5QkFDTixLQUFLOzRCQUNpQixJQUFJOzJCQUNkLElBQUk7d0JBQ2pCLElBQUk7d0JBUXBCLEtBQUs7dUJBQ1UsS0FBSzt3QkFDRSxFQUFFO3VCQUNnSCxFQUFFO0tBVTdJOzs7O0lBQ0QsS0FBSzs7UUFDRCxJQUFJLFVBQVUsR0FBRyxJQUFJLFVBQVUsRUFBRSxDQUFDO1FBQ2xDLFVBQVUsQ0FBQyxNQUFNLEdBQUcsSUFBSSxDQUFDLE1BQU0sQ0FBQztRQUNoQyxVQUFVLENBQUMsS0FBSyxHQUFHLElBQUksQ0FBQyxLQUFLLENBQUM7UUFDOUIsVUFBVSxDQUFDLFNBQVMsR0FBRyxJQUFJLENBQUMsU0FBUyxDQUFDO1FBQ3RDLFVBQVUsQ0FBQyxhQUFhLEdBQUcsSUFBSSxDQUF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VGltZSBleHRlbmRzIEdyaWRDb2x1bW4ge1xyXG4gICAgdHlwZTogJ3RpbWUnLFxyXG4gICAgZWRpdG9yPzoge1xyXG4gICAgICAgIGFsd2F5RGlzcGxheT86IGJvb2xlYW4sXHJcbiAgICAgICAgY2hhbmdlPzogKGl0ZW0pID0+IHZvaWQsXHJcbiAgICAgICAga2V5dXBFbnRlcj86IChpdGVtKSA9PiB2b2lkLFxyXG4gICAgICAgIGRpc2FibGVkPzogYm9vbGVhbiB8ICgoaXRlbSkgPT4gYm9vbGVhbilcclxuICAgIH1cclxufVxyXG5cclxuZXhwb3J0IGludGVyZmFjZSBHcmlkQ29sdW1uVmFsdWVzIGV4dGVuZHMgR3JpZENvbHVtbiB7XHJcbiAgICB0eXBlOiAndmFsdWVzJyxcclxuICAgIHZhbHVlcz86IHtcclxuICAgICAgICB2YWx1ZTogc3RyaW5nO1xyXG4gICAgICAgIHRleHQ6IHN0cmluZztcclxuICAgICAgICBpY29uPzogc3RyaW5nO1xyXG4gICAgICAgIGNvbG9yPzogc3RyaW5nO1xyXG4gICAgICAgIGJhY2tncm91bmRDb2xvcj86IHN0cmluZztcclxuICAgIH1bXTtcclxuICAgIGRpY3Rpb25hcnk/OiB7XHJcbiAgICAgICAgW3ZhbHVlOiBzdHJpbmddOiB7XHJcbiAgICAgICAgICAgIHRleHQ6IHN0cmluZztcclxuICAgICAgICAgICAgaWNvbj86IHN0cmluZztcclxuICAgICAgICAgICAgY29sb3I/OiBzdHJpbmc7XHJcbiAgICAgICAgICAgIGJhY2tncm91bmRDb2xvcj86IHN0cmluZztcclxuICAgICAgICB9XHJcbiAgICB9LFxyXG4gICAgZWRpdG9yPzoge1xyXG4gICAgICAgIGFsd2F5RGlzcGxheT86IGJvb2xlYW4sXHJcbiAgICAgICAgY2hhbmdlPzogKGl0ZW0pID0+IHZvaWQsXHJcbiAgICAgICAgZGlzYWJsZWQ/OiBib29sZWFuIHwgKChpdGVtKSA9PiBib29sZWFuKVxyXG4gICAgf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lYW4sXHJcbiAgICAgICAgY2hhbmdlPzogKGl0ZW0pID0+IHZvaWQsXHJcbiAgICAgICAga2V5dXBFbnRlcj86IChpdGVtKSA9PiB2b2lkLFxyXG4gICAgICAgIGRpc2FibGVkPzogYm9vbGVhbiB8ICgoaXRlbSkgPT4gYm9vbGVhbilcclxuICAgIH1cclxufVxyXG5cclxuZXhwb3J0IGludGVyZmFjZSBHcmlkQ29sdW1uVmFsdWVzIGV4dGVuZHMgR3JpZENvbHVtbiB7XHJcbiAgICB0eXBlOiAndmFsdWVzJyxcclxuICAgIHZhbHVlcz86IHtcclxuICAgICAgICB2YWx1ZTogc3RyaW5nO1xyXG4gICAgICAgIHRleHQ6IHN0cmluZztcclxuICAgICAgICBpY29uPzogc3RyaW5nO1xyXG4gICAgICAgIGNvbG9yPzogc3RyaW5nO1xyXG4gICAgICAgIGJhY2tncm91bmRDb2xvcj86IHN0cmluZztcclxuICAgIH1bXTtcclxuICAgIGRpY3Rpb25hcnk/OiB7XHJcbiAgICAgICAgW3ZhbHVlOiBzdHJpbmddOiB7XHJcbiAgICAgICAgICAgIHRleHQ6IHN0cmluZztcclxuICAgICAgICAgICAgaWNvbj86IHN0cmluZztcclxuICAgICAgICAgICAgY29sb3I/OiBzdHJpbmc7XHJcbiAgICAgICAgICAgIGJhY2tncm91bmRDb2xvcj86IHN0cmluZztcclxuICAgICAgICB9XHJcbiAgICB9LFxyXG4gICAgZWRpdG9yPzoge1xyXG4gICAgICAgIGFsd2F5RGlzcGxheT86IGJvb2xlYW4sXHJcbiAgICAgICAgY2hhbmdlPzogKGl0ZW0pID0+IHZvaWQsXHJcbiAgICAgICAgZGlzYWJsZWQ/OiBib29sZWFuIHwgKChpdGVtKSA9PiBib29sZWFuKVxyXG4gICAgfVxyXG59XHJcblxyXG5cclxuZXhwb3J0IGludGVyZmFjZSBJR3JpZENvbHVtbkNvbmZpZyB7XHJcbiAgICBvcmlnaW5Db2x1bW46IChHcmlkQ29sdW1uVGV4dCB8IEdyaWRDb2x1bW5OdW1iZXIgfCBHcmlkQ29sdW1uQm9vbCB8IEdyaWRDb2x1bW5EYXRlIHwgR3JpZENvbHVtbkRhdGVUaW1lIHwgR3JpZENvbHVtblRpbWUgfCBHcmlkQ29sdW1uVmFsdWVzKTtcclxuICAgIHRpdGxlPzogc3RyaW5nO1xyXG4gICAgd2lkdGg/OiBzdHJpbmc7XHJcbiAgICBvcmRlcj86IG51bWJlcjtcclxuICAgIGlzSGlkZGVuOiBib29sZWFuO1xyXG59Il19 |
@@ -6,3 +6,2 @@ /** | ||
export { GridControlComponent } from './grid-control/grid-control.component'; | ||
export { GridOption } from './grid-control/grid-control.model'; | ||
export { DatePickerControl } from './date-picker-control/date-picker-control.component'; | ||
@@ -15,2 +14,2 @@ export { InputControlComponent } from './input-control/input-control.component'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9zdXBlcmRldi1hbmd1bGFyLWNvcmUvIiwic291cmNlcyI6WyJsaWIvY29udHJvbHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLHFDQUFjLHVDQUF1QyxDQUFDO0FBQ3RELDJCQUFjLG1DQUFtQyxDQUFDO0FBQ2xELGtDQUFjLHFEQUFxRCxDQUFDO0FBQ3BFLHNDQUFjLHlDQUF5QyxDQUFDO0FBQ3hELDZCQUFjLHlDQUF5QyxDQUFDO0FBQ3hELG1DQUFjLHNDQUFzQyxDQUFDO0FBQ3JELHFDQUFjLHdDQUF3QyxDQUFDO0FBQ3ZELDhCQUFjLDJDQUEyQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9ncmlkLWNvbnRyb2wvZ3JpZC1jb250cm9sLmNvbXBvbmVudCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vZ3JpZC1jb250cm9sL2dyaWQtY29udHJvbC5tb2R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aWQtY29udHJvbC5tb2RlbCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vZGF0ZS1waWNrZXItY29udHJvbC9kYXRlLXBpY2tlci1jb250cm9sLmNvbXBvbmVudCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vaW5wdXQtY29udHJvbC9pbnB1dC1jb250cm9sLmNvbXBvbmVudCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbW9kYWwtY29udHJvbC9tb2RhbC1jb250cm9sLmNvbXBvbmVudCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbW9kYWwtY29udHJvbC9tb2RhbC1ib2R5LmNvbXBvbmVudCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbW9kYWwtY29udHJvbC9tb2RhbC1mb290ZXIuY29tcG9uZW50JztcclxuZXhwb3J0ICogZnJvbSAnLi9zZWxlY3QtY29udHJvbC9zZWxlY3QtY29udHJvbC5jb21wb25lbnQnOyJdfQ== |
@@ -7,5 +7,6 @@ /** | ||
export { ExcelService } from './excel/excel.service'; | ||
export { LocalStorageService } from './local-storage/local-storage.service'; | ||
export { NotifyService } from './notify/notify.service'; | ||
export { UtilityService } from './utility/utility.service'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9zdXBlcmRldi1hbmd1bGFyLWNvcmUvIiwic291cmNlcyI6WyJsaWIvc2VydmljZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLDJCQUFjLG1CQUFtQixDQUFDO0FBQ2xDLDZCQUFjLHVCQUF1QixDQUFDO0FBQ3RDLDhCQUFjLHlCQUF5QixDQUFDO0FBQ3hDLCtCQUFjLDJCQUEyQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9hcGkvYXBpLnNlcnZpY2UnO1xyXG5leHBvcnQgKiBmcm9tICcuL2V4Y2VsL2V4Y2VsLnNlcnZpY2UnO1xyXG5leHBvcnQgKiBmcm9tICcuL25vdGlmeS9ub3RpZnkuc2VydmljZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vdXRpbGl0eS91dGlsaXR5LnNlcnZpY2UnOyJdfQ== | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9zdXBlcmRldi1hbmd1bGFyLWNvcmUvIiwic291cmNlcyI6WyJsaWIvc2VydmljZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLDJCQUFjLG1CQUFtQixDQUFDO0FBQ2xDLDZCQUFjLHVCQUF1QixDQUFDO0FBQ3RDLG9DQUFjLHVDQUF1QyxDQUFDO0FBQ3RELDhCQUFjLHlCQUF5QixDQUFDO0FBQ3hDLCtCQUFjLDJCQUEyQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9hcGkvYXBpLnNlcnZpY2UnO1xyXG5leHBvcnQgKiBmcm9tICcuL2V4Y2VsL2V4Y2VsLnNlcnZpY2UnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xvY2FsLXN0b3JhZ2UvbG9jYWwtc3RvcmFnZS5zZXJ2aWNlJztcclxuZXhwb3J0ICogZnJvbSAnLi9ub3RpZnkvbm90aWZ5LnNlcnZpY2UnO1xyXG5leHBvcnQgKiBmcm9tICcuL3V0aWxpdHkvdXRpbGl0eS5zZXJ2aWNlJzsiXX0= |
@@ -12,4 +12,3 @@ /** | ||
import { TranslatePipe } from './pipes'; | ||
import { ApiService, NotifyService, UtilityService, ExcelService } from './services'; | ||
import { GridService } from './controls/grid-control/grid-control.service'; | ||
import { ApiService, NotifyService, UtilityService, ExcelService, LocalStorageService } from './services'; | ||
export class SuperdevAngularCoreModule { | ||
@@ -35,3 +34,3 @@ } | ||
], | ||
providers: [DatePipe, ApiService, NotifyService, UtilityService, ExcelService, GridService, TranslatePipe], | ||
providers: [DatePipe, ApiService, NotifyService, UtilityService, ExcelService, TranslatePipe, LocalStorageService], | ||
exports: [ | ||
@@ -46,2 +45,2 @@ InputControlComponent, | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3VwZXJkZXYtYW5ndWxhci1jb3JlLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL3N1cGVyZGV2LWFuZ3VsYXItY29yZS8iLCJzb3VyY2VzIjpbImxpYi9zdXBlcmRldi1hbmd1bGFyLWNvcmUubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxZQUFZLEVBQUUsUUFBUSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDekQsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sc0JBQXNCLENBQUM7QUFDeEQsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBRTdDLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxvQkFBb0IsRUFBRSxhQUFhLEVBQUUsWUFBWSxFQUFFLGtCQUFrQixFQUFFLG9CQUFvQixFQUFFLGlCQUFpQixFQUFjLE1BQU0sWUFBWSxDQUFDO0FBRS9LLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUNuRCxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sU0FBUyxDQUFDO0FBQ3hDLE9BQU8sRUFBRSxVQUFVLEVBQUUsYUFBYSxFQUFFLGNBQWMsRUFBRSxZQUFZLEVBQUUsTUFBTSxZQUFZLENBQUM7QUFDckYsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLDhDQUE4QyxDQUFDO0FBMkIz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UgfSBmcm9tICcuL3BpcGVzJztcbmltcG9ydCB7IEFwaVNlcnZpY2UsIE5vdGlmeVNlcnZpY2UsIFV0aWxpdHlTZXJ2aWNlLCBFeGNlbFNlcnZpY2UsIExvY2FsU3RvcmFnZVNlcnZpY2UgfSBmcm9tICcuL3NlcnZpY2VzJztcblxuQE5nTW9kdWxlKHtcbiAgaW1wb3J0czogW1xuICAgIENvbW1vbk1vZHVsZSxcbiAgICBGb3Jtc01vZHVsZSxcbiAgICBIdHRwQ2xpZW50TW9kdWxlLFxuICAgIE1hdGVyaWFsTW9kdWxlXG4gIF0sXG4gIGRlY2xhcmF0aW9uczogW1xuICAgIElucHV0Q29udHJvbENvbXBvbmVudCxcbiAgICBHcmlkQ29udHJvbENvbXBvbmVudCxcbiAgICBTZWxlY3RDb250cm9sLFxuICAgIE1vZGFsQ29udHJvbCxcbiAgICBEYXRlUGlja2VyQ29udHJvbCxcbiAgICBUcmFuc2xhdGVQaXBlLFxuICAgIE1vZGFsQm9keUNvbXBvbmVudCxcbiAgICBNb2RhbEZvb3RlckNvbXBvbmVudFxuICBdLFxuICBwcm92aWRlcnM6W0RhdGVQaXBlLCBBcGlTZXJ2aWNlLCBOb3RpZnlTZXJ2aWNlLCBVdGlsaXR5U2VydmljZSwgRXhjZWxTZXJ2aWNlLCBUcmFuc2xhdGVQaXBlLCBMb2NhbFN0b3JhZ2VTZXJ2aWNlXSxcbiAgZXhwb3J0czogW1xuICAgIElucHV0Q29udHJvbENvbXBvbmVudCxcbiAgICBTZWxlY3RDb250cm9sLFxuICAgIERhdGVQaWNrZXJDb250cm9sLFxuICAgIEdyaWRDb250cm9sQ29tcG9uZW50XG4gIF1cbn0pXG5leHBvcnQgY2xhc3MgU3VwZXJkZXZBbmd1bGFyQ29yZU1vZHVsZSB7IH1cbiJdfQ== |
@@ -9,6 +9,6 @@ /** | ||
export { SuperdevAngularCoreModule } from './lib/superdev-angular-core.module'; | ||
export { ApiService, ExcelService, NotifyService, UtilityService } from './lib/services'; | ||
export { ApiService, ExcelService, LocalStorageService, NotifyService, UtilityService } from './lib/services'; | ||
export { TranslatePipe } from './lib/pipes'; | ||
export { GridControlComponent, GridOption, DatePickerControl, InputControlComponent, ModalControl, ModalBodyComponent, ModalFooterComponent, SelectControl } from './lib/controls'; | ||
export { GridControlComponent, DatePickerControl, InputControlComponent, ModalControl, ModalBodyComponent, ModalFooterComponent, SelectControl } from './lib/controls'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL3N1cGVyZGV2LWFuZ3VsYXItY29yZS8iLCJzb3VyY2VzIjpbInB1YmxpY19hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUlBLDBDQUFjLG9DQUFvQyxDQUFDO0FBQ25ELHdFQUFjLGdCQUFnQixDQUFDO0FBQy9CLDhCQUFjLGFBQWEsQ0FBQztBQUM1QixrS0FBYyxnQkFBZ0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qXG4gKiBQdWJsaWMgQVBJIFN1cmZhY2Ugb2Ygc3VwZXJkZXYtYW5ndWxhci1jb3JlXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9saWIvc3VwZXJkZXYtYW5ndWxhci1jb3JlLm1vZHVsZSc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9zZXJ2aWNlcyc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9waXBlcyc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb250cm9scyc7Il19 | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL3N1cGVyZGV2LWFuZ3VsYXItY29yZS8iLCJzb3VyY2VzIjpbInB1YmxpY19hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUlBLDBDQUFjLG9DQUFvQyxDQUFDO0FBQ25ELDZGQUFjLGdCQUFnQixDQUFDO0FBQy9CLDhCQUFjLGFBQWEsQ0FBQztBQUM1QixzSkFBYyxnQkFBZ0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qXG4gKiBQdWJsaWMgQVBJIFN1cmZhY2Ugb2Ygc3VwZXJkZXYtYW5ndWxhci1jb3JlXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9saWIvc3VwZXJkZXYtYW5ndWxhci1jb3JlLm1vZHVsZSc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9zZXJ2aWNlcyc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9waXBlcyc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb250cm9scyc7Il19 |
@@ -8,9 +8,8 @@ /** | ||
*/ | ||
export { SuperdevAngularCoreModule, ApiService, ExcelService, NotifyService, UtilityService, TranslatePipe, GridControlComponent, GridOption, DatePickerControl, InputControlComponent, ModalControl, ModalBodyComponent, ModalFooterComponent, SelectControl } from './public_api'; | ||
export { SuperdevAngularCoreModule, ApiService, ExcelService, LocalStorageService, NotifyService, UtilityService, TranslatePipe, GridControlComponent, DatePickerControl, InputControlComponent, ModalControl, ModalBodyComponent, ModalFooterComponent, SelectControl } from './public_api'; | ||
export { DatePickerControl as ɵf, GridControlComponent as ɵc, InputControlComponent as ɵb, ModalBodyComponent as ɵh, ModalControl as ɵe, ModalFooterComponent as ɵi, SelectControl as ɵd } from './lib/controls'; | ||
export { GridService as ɵn } from './lib/controls/grid-control/grid-control.service'; | ||
export { MaterialModule as ɵa } from './lib/material.module'; | ||
export { TranslatePipe as ɵg } from './lib/pipes'; | ||
export { ApiService as ɵj, ExcelService as ɵm, NotifyService as ɵk, UtilityService as ɵl } from './lib/services'; | ||
export { ApiService as ɵj, ExcelService as ɵm, LocalStorageService as ɵn, NotifyService as ɵk, UtilityService as ɵl } from './lib/services'; | ||
//# sourceM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ssVXRpbGl0eVNlcnZpY2UgYXMgybVsfSBmcm9tICcuL2xpYi9zZXJ2aWNlcyc7Il19 |
@@ -5,102 +5,69 @@ /** | ||
*/ | ||
var GridOption = /** @class */ (function () { | ||
function GridOption() { | ||
this.height = null; | ||
this.width = null; | ||
this.key = null; | ||
this.paramType = 'string'; | ||
this.type = 'default'; | ||
this.idColumn = null; | ||
this.filterable = false; | ||
this.checkable = false; | ||
this.customFilter = null; | ||
this.customParam = null; | ||
this.sortable = true; | ||
this.editable = false; | ||
this.addable = false; | ||
this.commands = []; | ||
this.columns = []; | ||
} | ||
/** | ||
* @return {?} | ||
*/ | ||
GridOption.prototype.clone = /** | ||
* @return {?} | ||
*/ | ||
function () { | ||
/** @type {?} */ | ||
var gridOption = new GridOption(); | ||
gridOption.height = this.height; | ||
gridOption.width = this.width; | ||
gridOption.component = this.component; | ||
gridOption.componentName = this.componentName; | ||
gridOption.key = this.key; | ||
gridOption.url = this.url; | ||
gridOption.paramType = this.paramType; | ||
gridOption.type = this.type; | ||
gridOption.items = this.items; | ||
gridOption.idColumn = this.idColumn; | ||
gridOption.filterable = this.filterable; | ||
gridOption.checkable = this.checkable; | ||
gridOption.customFilter = this.customFilter; | ||
gridOption.customParam = this.customParam; | ||
gridOption.sortable = this.sortable; | ||
gridOption.editable = this.editable; | ||
gridOption.addable = this.addable; | ||
gridOption.commands = this.commands; | ||
gridOption.columns = this.columns; | ||
// events | ||
gridOption.onClickRow = this.onClickRow; | ||
gridOption.onDblClickRow = this.onDblClickRow; | ||
gridOption.onCheck = this.onCheck; | ||
gridOption.onImportExcel = this.onImportExcel; | ||
gridOption.onReloadCompleted = this.onReloadCompleted; | ||
return gridOption; | ||
}; | ||
return GridOption; | ||
}()); | ||
export { GridOption }; | ||
if (false) { | ||
/** @type {?} */ | ||
GridOption.prototype.height; | ||
/** @type {?} */ | ||
GridOption.prototype.width; | ||
/** @type {?} */ | ||
GridOption.prototype.component; | ||
/** @type {?} */ | ||
GridOption.prototype.componentName; | ||
/** @type {?} */ | ||
GridOption.prototype.key; | ||
/** @type {?} */ | ||
GridOption.prototype.url; | ||
/** @type {?} */ | ||
GridOption.prototype.paramType; | ||
/** @type {?} */ | ||
GridOption.prototype.type; | ||
/** @type {?} */ | ||
GridOption.prototype.items; | ||
/** @type {?} */ | ||
GridOption.prototype.idColumn; | ||
/** @type {?} */ | ||
GridOption.prototype.filterable; | ||
/** @type {?} */ | ||
GridOption.prototype.checkable; | ||
/** @type {?} */ | ||
GridOption.prototype.customFilter; | ||
/** @type {?} */ | ||
GridOption.prototype.customParam; | ||
/** @type {?} */ | ||
GridOption.prototype.sortable; | ||
/** @type {?} */ | ||
GridOption.prototype.editable; | ||
/** @type {?} */ | ||
GridOption.prototype.addable; | ||
/** @type {?} */ | ||
GridOption.prototype.commands; | ||
/** @type {?} */ | ||
GridOption.prototype.columns; | ||
} | ||
/** | ||
* @record | ||
*/ | ||
export function GridOption() { } | ||
/** @type {?|undefined} */ | ||
GridOption.prototype.height; | ||
/** @type {?|undefined} */ | ||
GridOption.prototype.component; | ||
/** @type {?|undefined} */ | ||
GridOption.prototype.componentName; | ||
/** @type {?|undefined} */ | ||
GridOption.prototype.key; | ||
/** @type {?|undefined} */ | ||
GridOption.prototype.filterable; | ||
/** @type {?|undefined} */ | ||
GridOption.prototype.checkable; | ||
/** @type {?|undefined} */ | ||
GridOption.prototype.customFilter; | ||
/** @type {?|undefined} */ | ||
GridOption.prototype.customParam; | ||
/** @type {?|undefined} */ | ||
GridOption.prototype.sortable; | ||
/** @type {?|undefined} */ | ||
GridOption.prototype.editable; | ||
/** @type {?|undefined} */ | ||
GridOption.prototype.addable; | ||
/** @type {?|undefined} */ | ||
GridOption.prototype.commands; | ||
/** @type {?|undefined} */ | ||
GridOption.prototype.columns; | ||
/** @type {?|undefined} */ | ||
GridOption.prototype.onClickRow; | ||
/** @type {?|undefined} */ | ||
GridOption.prototype.onDblClickRow; | ||
/** @type {?|undefined} */ | ||
GridOption.prototype.onCheck; | ||
/** @type {?|undefined} */ | ||
GridOption.prototype.onImportExcel; | ||
/** @type {?|undefined} */ | ||
GridOption.prototype.onReloadCompleted; | ||
/** | ||
* @record | ||
*/ | ||
export function GridLocalOption() { } | ||
/** @type {?} */ | ||
GridLocalOption.prototype.type; | ||
/** @type {?|undefined} */ | ||
GridLocalOption.prototype.url; | ||
/** @type {?|undefined} */ | ||
GridLocalOption.prototype.items; | ||
/** | ||
* @record | ||
*/ | ||
export function GridServerOption() { } | ||
/** @type {?} */ | ||
GridServerOption.prototype.type; | ||
/** @type {?} */ | ||
GridServerOption.prototype.url; | ||
/** @type {?|undefined} */ | ||
GridServerOption.prototype.itemsField; | ||
/** @type {?|undefined} */ | ||
GridServerOption.prototype.totalField; | ||
/** @type {?|undefined} */ | ||
GridServerOption.prototype.reload; | ||
/** | ||
* @record | ||
*/ | ||
export function GridCommand() { } | ||
@@ -218,2 +185,2 @@ /** @type {?} */ | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JpZC1jb250cm9sLm1vZGVsLmpzIiwic291cmNlUm9vdCI6Im5nOi8vc3VwZXJkZXYtYW5ndWxhci1jb3JlLyIsInNvdXJjZXMiOlsibGliL2NvbnRyb2xzL2dyaWQtY29udHJvbC9ncmlkLWNvbnRyb2wubW9kZWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLElBQUE7SUFrQ0k7c0JBakNpQixJQUFJO3FCQUNMLElBQUk7bUJBR04sSUFBSTt5QkFFZSxRQUFRO29CQUNGLFNBQVM7d0JBRTdCLElBQUk7MEJBQ0QsS0FBSzt5QkFDTixLQUFLOzRCQUNpQixJQUFJOzJCQUNkLElBQUk7d0JBQ2pCLElBQUk7d0JBUXBCLEtBQUs7dUJBQ1UsS0FBSzt3QkFDRSxFQUFFO3VCQUNnSCxFQUFFO0tBVTdJOzs7O0lBQ0QsMEJBQUs7OztJQUFMOztRQUNJLElBQUksVUFBVSxHQU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pbmc7XHJcbiAgICAgICAgICAgIGNvbG9yPzogc3RyaW5nO1xyXG4gICAgICAgICAgICBiYWNrZ3JvdW5kQ29sb3I/OiBzdHJpbmc7XHJcbiAgICAgICAgfVxyXG4gICAgfSxcclxuICAgIGVkaXRvcj86IHtcclxuICAgICAgICBhbHdheURpc3BsYXk/OiBib29sZWFuLFxyXG4gICAgICAgIGNoYW5nZT86IChpdGVtKSA9PiB2b2lkLFxyXG4gICAgICAgIGRpc2FibGVkPzogYm9vbGVhbiB8ICgoaXRlbSkgPT4gYm9vbGVhbilcclxuICAgIH1cclxufVxyXG5cclxuXHJcbmV4cG9ydCBpbnRlcmZhY2UgSUdyaWRDb2x1bW5Db25maWcge1xyXG4gICAgb3JpZ2luQ29sdW1uOiAoR3JpZENvbHVtblRleHQgfCBHcmlkQ29sdW1uTnVtYmVyIHwgR3JpZENvbHVtbkJvb2wgfCBHcmlkQ29sdW1uRGF0ZSB8IEdyaWRDb2x1bW5EYXRlVGltZSB8IEdyaWRDb2x1bW5UaW1lIHwgR3JpZENvbHVtblZhbHVlcyk7XHJcbiAgICB0aXRsZT86IHN0cmluZztcclxuICAgIHdpZHRoPzogc3RyaW5nO1xyXG4gICAgb3JkZXI/OiBudW1iZXI7XHJcbiAgICBpc0hpZGRlbjogYm9vbGVhbjtcclxufSJdfQ== | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JpZC1jb250cm9sLm1vZGVsLmpzIiwic291cmNlUm9vdCI6Im5nOi8vc3VwZXJkZXYtYW5ndWxhci1jb3JlLyIsInNvdXJjZXMiOlsibGliL2NvbnRyb2xzL2dyaWQtY29udHJvbC9ncmlkLWNvbnRyb2wubW9kZWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgR3JpZE9wdGlvbiB7XHJcbiAgICBoZWlnaHQ/OiBzdHJpbmcsXHJcbi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ID0+IHZvaWQsXHJcbiAgICAgICAga2V5dXBFbnRlcj86IChpdGVtKSA9PiB2b2lkLFxyXG4gICAgICAgIGRpc2FibGVkPzogYm9vbGVhbiB8ICgoaXRlbSkgPT4gYm9vbGVhbilcclxuICAgIH1cclxufVxyXG5cclxuZXhwb3J0IGludGVyZmFjZSBHcmlkQ29sdW1uVGltZSBleHRlbmRzIEdyaWRDb2x1bW4ge1xyXG4gICAgdHlwZTogJ3RpbWUnLFxyXG4gICAgZWRpdG9yPzoge1xyXG4gICAgICAgIGFsd2F5RGlzcGxheT86IGJvb2xlYW4sXHJcbiAgICAgICAgY2hhbmdlPzogKGl0ZW0pID0+IHZvaWQsXHJcbiAgICAgICAga2V5dXBFbnRlcj86IChpdGVtKSA9PiB2b2lkLFxyXG4gICAgICAgIGRpc2FibGVkPzogYm9vbGVhbiB8ICgoaXRlbSkgPT4gYm9vbGVhbilcclxuICAgIH1cclxufVxyXG5cclxuZXhwb3J0IGludGVyZmFjZSBHcmlkQ29sdW1uVmFsdWVzIGV4dGVuZHMgR3JpZENvbHVtbiB7XHJcbiAgICB0eXBlOiAndmFsdWVzJyxcclxuICAgIHZhbHVlcz86IHtcclxuICAgICAgICB2YWx1ZTogc3RyaW5nO1xyXG4gICAgICAgIHRleHQ6IHN0cmluZztcclxuICAgICAgICBpY29uPzogc3RyaW5nO1xyXG4gICAgICAgIGNvbG9yPzogc3RyaW5nO1xyXG4gICAgICAgIGJhY2tncm91bmRDb2xvcj86IHN0cmluZztcclxuICAgIH1bXTtcclxuICAgIGRpY3Rpb25hcnk/OiB7XHJcbiAgICAgICAgW3ZhbHVlOiBzdHJpbmddOiB7XHJcbiAgICAgICAgICAgIHRleHQ6IHN0cmluZztcclxuICAgICAgICAgICAgaWNvbj86IHN0cmluZztcclxuICAgICAgICAgICAgY29sb3I/OiBzdHJpbmc7XHJcbiAgICAgICAgICAgIGJhY2tncm91bmRDb2xvcj86IHN0cmluZztcclxuICAgICAgICB9XHJcbiAgICB9LFxyXG4gICAgZWRpdG9yPzoge1xyXG4gICAgICAgIGFsd2F5RGlzcGxheT86IGJvb2xlYW4sXHJcbiAgICAgICAgY2hhbmdlPzogKGl0ZW0pID0+IHZvaWQsXHJcbiAgICAgICAgZGlzYWJsZWQ/OiBib29sZWFuIHwgKChpdGVtKSA9PiBib29sZWFuKVxyXG4gICAgfVxyXG59XHJcblxyXG5cclxuZXhwb3J0IGludGVyZmFjZSBJR3JpZENvbHVtbkNvbmZpZyB7XHJcbiAgICBvcmlnaW5Db2x1bW46IChHcmlkQ29sdW1uVGV4dCB8IEdyaWRDb2x1bW5OdW1iZXIgfCBHcmlkQ29sdW1uQm9vbCB8IEdyaWRDb2x1bW5EYXRlIHwgR3JpZENvbHVtbkRhdGVUaW1lIHwgR3JpZENvbHVtblRpbWUgfCBHcmlkQ29sdW1uVmFsdWVzKTtcclxuICAgIHRpdGxlPzogc3RyaW5nO1xyXG4gICAgd2lkdGg/OiBzdHJpbmc7XHJcbiAgICBvcmRlcj86IG51bWJlcjtcclxuICAgIGlzSGlkZGVuOiBib29sZWFuO1xyXG59Il19 |
@@ -6,3 +6,2 @@ /** | ||
export { GridControlComponent } from './grid-control/grid-control.component'; | ||
export { GridOption } from './grid-control/grid-control.model'; | ||
export { DatePickerControl } from './date-picker-control/date-picker-control.component'; | ||
@@ -15,2 +14,2 @@ export { InputControlComponent } from './input-control/input-control.component'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9zdXBlcmRldi1hbmd1bGFyLWNvcmUvIiwic291cmNlcyI6WyJsaWIvY29udHJvbHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLHFDQUFjLHVDQUF1QyxDQUFDO0FBQ3RELDJCQUFjLG1DQUFtQyxDQUFDO0FBQ2xELGtDQUFjLHFEQUFxRCxDQUFDO0FBQ3BFLHNDQUFjLH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FBQ3BFLHNDQUFjLHlDQUF5QyxDQUFDO0FBQ3hELDZCQUFjLHlDQUF5QyxDQUFDO0FBQ3hELG1DQUFjLHNDQUFzQyxDQUFDO0FBQ3JELHFDQUFjLHdDQUF3QyxDQUFDO0FBQ3ZELDhCQUFjLDJDQUEyQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9ncmlkLWNvbnRyb2wvZ3JpZC1jb250cm9sLmNvbXBvbmVudCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vZ3JpZC1jb250cm9sL2dyaWQtY29udHJvbC5tb2RlbCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vZGF0ZS1waWNrZXItY29udHJvbC9kYXRlLXBpY2tlci1jb250cm9sLmNvbXBvbmVudCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vaW5wdXQtY29udHJvbC9pbnB1dC1jb250cm9sLmNvbXBvbmVudCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbW9kYWwtY29udHJvbC9tb2RhbC1jb250cm9sLmNvbXBvbmVudCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbW9kYWwtY29udHJvbC9tb2RhbC1ib2R5LmNvbXBvbmVudCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbW9kYWwtY29udHJvbC9tb2RhbC1mb290ZXIuY29tcG9uZW50JztcclxuZXhwb3J0ICogZnJvbSAnLi9zZWxlY3QtY29udHJvbC9zZWxlY3QtY29udHJvbC5jb21wb25lbnQnOyJdfQ== |
@@ -7,5 +7,6 @@ /** | ||
export { ExcelService } from './excel/excel.service'; | ||
export { LocalStorageService } from './local-storage/local-storage.service'; | ||
export { NotifyService } from './notify/notify.service'; | ||
export { UtilityService } from './utility/utility.service'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9zdXBlcmRldi1hbmd1bGFyLWNvcmUvIiwic291c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3RpZnkvbm90aWZ5LnNlcnZpY2UnO1xyXG5leHBvcnQgKiBmcm9tICcuL3V0aWxpdHkvdXRpbGl0eS5zZXJ2aWNlJzsiXX0= |
@@ -12,4 +12,3 @@ /** | ||
import { TranslatePipe } from './pipes'; | ||
import { ApiService, NotifyService, UtilityService, ExcelService } from './services'; | ||
import { GridService } from './controls/grid-control/grid-control.service'; | ||
import { ApiService, NotifyService, UtilityService, ExcelService, LocalStorageService } from './services'; | ||
var SuperdevAngularCoreModule = /** @class */ (function () { | ||
@@ -36,3 +35,3 @@ function SuperdevAngularCoreModule() { | ||
], | ||
providers: [DatePipe, ApiService, NotifyService, UtilityService, ExcelService, GridService, TranslatePipe], | ||
providers: [DatePipe, ApiService, NotifyService, UtilityService, ExcelService, TranslatePipe, LocalStorageService], | ||
exports: [ | ||
@@ -50,2 +49,2 @@ InputControlComponent, | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3VwZXJkZXYtYW5ndWxhci1jb3JlLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL3N1cGVyZGV2LWFuZ3VsYXItY29yZS8iLCJzb3VyY2VzIjpbImxpYi9zdXBlcmRldi1hbmd1bGFyLWNvcmUubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxZQUFZLEVBQUUsUUFBUSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDekQsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sc0JBQXNCLENBQUM7QUFDeEQsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBRTdDLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxvQkFBb0IsRUFBRSxhQUFhLEVBQUUsWUFBWSxFQUFFLGtCQUFrQixFQ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FV0aWxpdHlTZXJ2aWNlLCBFeGNlbFNlcnZpY2UsIFRyYW5zbGF0ZVBpcGUsIExvY2FsU3RvcmFnZVNlcnZpY2VdLFxuICBleHBvcnRzOiBbXG4gICAgSW5wdXRDb250cm9sQ29tcG9uZW50LFxuICAgIFNlbGVjdENvbnRyb2wsXG4gICAgRGF0ZVBpY2tlckNvbnRyb2wsXG4gICAgR3JpZENvbnRyb2xDb21wb25lbnRcbiAgXVxufSlcbmV4cG9ydCBjbGFzcyBTdXBlcmRldkFuZ3VsYXJDb3JlTW9kdWxlIHsgfVxuIl19 |
@@ -9,6 +9,6 @@ /** | ||
export { SuperdevAngularCoreModule } from './lib/superdev-angular-core.module'; | ||
export { ApiService, ExcelService, NotifyService, UtilityService } from './lib/services'; | ||
export { ApiService, ExcelService, LocalStorageService, NotifyService, UtilityService } from './lib/services'; | ||
export { TranslatePipe } from './lib/pipes'; | ||
export { GridControlComponent, GridOption, DatePickerControl, InputControlComponent, ModalControl, ModalBodyComponent, ModalFooterComponent, SelectControl } from './lib/controls'; | ||
export { GridControlComponent, DatePickerControl, InputControlComponent, ModalControl, ModalBodyComponent, ModalFooterComponent, SelectControl } from './lib/controls'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL3N1cGVyZGV2LWFuZ3VsYXItY29yZS8iLCJzb3VyY2VzIjpbInB1YmxpY19hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUlBLDBDQUFjLG9DQUFvQyxDQUFDO0FBQ25ELHdFQUFjLGdCQUFnQixDQUFDO0FBQy9CLDhCQUFjLGFBQWEsQ0FBQztBQUM1QixrS0FBYyxnQkFBZ0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qXG4gKiBQdWJsaWMgQVBJIFN1cmZhY2Ugb2Ygc3VwZXJkZXYtYW5ndWxhci1jb3JlXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9saWIvc3VwZXJkZXYtYW5ndWxhci1jb3JlLm1vZHVsZSc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9zZXJ2aWNlcyc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9waXBlcyc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb250cm9scyc7Il19 | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL3N1cGVyZGV2LWFuZ3VsYXItY29yZS8iLCJzb3VyY2VzIjpbInB1YmxpY19hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUlBLDBDQUFjLG9DQUFvQyxDQUFDO0FBQ25ELDZGQUFjLGdCQUFnQixDQUFDO0FBQy9CLDhCQUFjLGFBQWEsQ0FBQztBQUM1QixzSkFBYyxnQkFBZ0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qXG4gKiBQdWJsaWMgQVBJIFN1cmZhY2Ugb2Ygc3VwZXJkZXYtYW5ndWxhci1jb3JlXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9saWIvc3VwZXJkZXYtYW5ndWxhci1jb3JlLm1vZHVsZSc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9zZXJ2aWNlcyc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9waXBlcyc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb250cm9scyc7Il19 |
@@ -8,9 +8,8 @@ /** | ||
*/ | ||
export { SuperdevAngularCoreModule, ApiService, ExcelService, NotifyService, UtilityService, TranslatePipe, GridControlComponent, GridOption, DatePickerControl, InputControlComponent, ModalControl, ModalBodyComponent, ModalFooterComponent, SelectControl } from './public_api'; | ||
export { SuperdevAngularCoreModule, ApiService, ExcelService, LocalStorageService, NotifyService, UtilityService, TranslatePipe, GridControlComponent, DatePickerControl, InputControlComponent, ModalControl, ModalBodyComponent, ModalFooterComponent, SelectControl } from './public_api'; | ||
export { DatePickerControl as ɵf, GridControlComponent as ɵc, InputControlComponent as ɵb, ModalBodyComponent as ɵh, ModalControl as ɵe, ModalFooterComponent as ɵi, SelectControl as ɵd } from './lib/controls'; | ||
export { GridService as ɵn } from './lib/controls/grid-control/grid-control.service'; | ||
export { MaterialModule as ɵa } from './lib/material.module'; | ||
export { TranslatePipe as ɵg } from './lib/pipes'; | ||
export { ApiService as ɵj, ExcelService as ɵm, NotifyService as ɵk, UtilityService as ɵl } from './lib/services'; | ||
export { ApiService as ɵj, ExcelService as ɵm, LocalStorageService as ɵn, NotifyService as ɵk, UtilityService as ɵl } from './lib/services'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3VwZXJkZXYtYW5ndWxhci1jb3JlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vc3VwZXJkZXYtYW5ndWxhci1jb3JlLyIsInNvdXJjZXMiOlsic3VwZXJkZXYtYW5ndWxhci1jb3JlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFJQSxxUUFBYyxjQUFjLENBQUM7QUFFN0IsT0FBTyxFQUFDLGlCQUFpQixJQUFJLEVBQUUsRUFBQyxvQkFBb0IsSUFBSSxFQUFFLEVBQUMscUJBQXFCLElBQUksRUFBRSxFQUFDLGtCQUFrQixJQUFJLEVBQUUsRUFBQyxZQUFZLElBQUksRUFBRSxFQUFDLG9CQUFvQixJQUFJLEVBQUUsRUFBQyxhQUFhLElBQUksRUFBRSxFQUFDLE1BQU0sZ0JBQWdCLENBQUM7QUFDek0sT0FBTyxFQUFDLFdBQVcsSUFBSSxFQUFFLEVBQUMsTUFBTSxrREFBa0QsQ0FBQztBQUNuRixPQUFPLEVBQUMsY0FBYyxJQUFJLEVBQUUsRUFBQyxNQUFNLHVCQUF1QixDQUFDO0FBQzNELE9BQU8sR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uZW50IGFzIMm1aCxNb2RhbENvbnRyb2wgYXMgybVlLE1vZGFsRm9vdGVyQ29tcG9uZW50IGFzIMm1aSxTZWxlY3RDb250cm9sIGFzIMm1ZH0gZnJvbSAnLi9saWIvY29udHJvbHMnO1xuZXhwb3J0IHtNYXRlcmlhbE1vZHVsZSBhcyDJtWF9IGZyb20gJy4vbGliL21hdGVyaWFsLm1vZHVsZSc7XG5leHBvcnQge1RyYW5zbGF0ZVBpcGUgYXMgybVnfSBmcm9tICcuL2xpYi9waXBlcyc7XG5leHBvcnQge0FwaVNlcnZpY2UgYXMgybVqLEV4Y2VsU2VydmljZSBhcyDJtW0sTG9jYWxTdG9yYWdlU2VydmljZSBhcyDJtW4sTm90aWZ5U2VydmljZSBhcyDJtWssVXRpbGl0eVNlcnZpY2UgYXMgybVsfSBmcm9tICcuL2xpYi9zZXJ2aWNlcyc7Il19 |
import { ElementRef, EventEmitter, ChangeDetectorRef } from '@angular/core'; | ||
import { GridOption, IGridColumnConfig, GridCommand, GridColumnText, GridColumnNumber, GridColumnBool, GridColumnDate, GridColumnDateTime, GridColumnTime, GridColumnValues } from './grid-control.model'; | ||
import { GridService } from './grid-control.service'; | ||
import { IGridColumnConfig, GridCommand, GridColumnText, GridColumnNumber, GridColumnBool, GridColumnDate, GridColumnDateTime, GridColumnTime, GridColumnValues, GridLocalOption, GridServerOption } from './grid-control.model'; | ||
import { DatePipe } from '@angular/common'; | ||
@@ -8,2 +7,3 @@ import { ApiService, ExcelService, NotifyService, UtilityService } from '../../services'; | ||
import { ModalControl } from '..'; | ||
import { LocalStorageService } from '../../services/local-storage/local-storage.service'; | ||
export declare class GridControlComponent { | ||
@@ -15,3 +15,3 @@ private ref; | ||
private apiService; | ||
private gridService; | ||
private localStorageService; | ||
private excelService; | ||
@@ -21,6 +21,6 @@ private notifyService; | ||
private originalColumns; | ||
option: GridOption; | ||
option: GridLocalOption | GridServerOption; | ||
onImportExcel: EventEmitter<any>; | ||
onSaveRow: EventEmitter<any>; | ||
gridOption: GridOption; | ||
gridOption: GridLocalOption | GridServerOption; | ||
orderBy: string; | ||
@@ -44,4 +44,3 @@ orderDirection: string; | ||
totalPage: number; | ||
constructor(ref: ChangeDetectorRef, utilityService: UtilityService, elementRef: ElementRef, datePipe: DatePipe, apiService: ApiService, gridService: GridService, excelService: ExcelService, notifyService: NotifyService, translatePipe: TranslatePipe); | ||
ngOnInit(): void; | ||
constructor(ref: ChangeDetectorRef, utilityService: UtilityService, elementRef: ElementRef, datePipe: DatePipe, apiService: ApiService, localStorageService: LocalStorageService, excelService: ExcelService, notifyService: NotifyService, translatePipe: TranslatePipe); | ||
ngOnDestroy(): void; | ||
@@ -92,3 +91,3 @@ ngAfterViewInit(): void; | ||
exportExcel(): Promise<void>; | ||
loadConfig(): void; | ||
private loadConfig(); | ||
resetConfig(): void; | ||
@@ -95,0 +94,0 @@ saveModalConfig(): void; |
@@ -1,18 +0,12 @@ | ||
export declare class GridOption { | ||
height: string; | ||
width: string; | ||
component: any; | ||
export interface GridOption { | ||
height?: string; | ||
component?: any; | ||
componentName?: string; | ||
key: string; | ||
url: string; | ||
paramType: 'string' | 'object'; | ||
type: 'default' | 'custom' | 'local'; | ||
items?: any[]; | ||
idColumn: string; | ||
filterable: boolean; | ||
checkable: boolean; | ||
customFilter: String | Object | Function; | ||
customParam: Object | Function; | ||
sortable: boolean; | ||
editable: boolean | { | ||
key?: string; | ||
filterable?: boolean; | ||
checkable?: boolean; | ||
customFilter?: string | Function | Function; | ||
customParam?: Object | Function; | ||
sortable?: boolean; | ||
editable?: boolean | { | ||
type?: 'focus' | 'inline'; | ||
@@ -25,5 +19,5 @@ disabled?: boolean | ((item) => boolean); | ||
}; | ||
addable: boolean; | ||
commands: GridCommand[]; | ||
columns: (GridColumnText | GridColumnNumber | GridColumnBool | GridColumnDate | GridColumnDateTime | GridColumnTime | GridColumnValues)[]; | ||
addable?: boolean; | ||
commands?: GridCommand[]; | ||
columns?: (GridColumnText | GridColumnNumber | GridColumnBool | GridColumnDate | GridColumnDateTime | GridColumnTime | GridColumnValues)[]; | ||
onClickRow?(item: any): void; | ||
@@ -34,5 +28,15 @@ onDblClickRow?(item: any): void; | ||
onReloadCompleted?(items: any[]): void; | ||
constructor(); | ||
clone(): GridOption; | ||
} | ||
export interface GridLocalOption extends GridOption { | ||
type: 'local'; | ||
url?: string; | ||
items?: any[]; | ||
} | ||
export interface GridServerOption extends GridOption { | ||
type: 'server' | 'default' | 'custom'; | ||
url: string; | ||
itemsField?: string; | ||
totalField?: string; | ||
reload?(filter: object): any; | ||
} | ||
export interface GridCommand { | ||
@@ -39,0 +43,0 @@ icon: string | Function; |
export * from './api/api.service'; | ||
export * from './excel/excel.service'; | ||
export * from './local-storage/local-storage.service'; | ||
export * from './notify/notify.service'; | ||
export * from './utility/utility.service'; |
{ | ||
"name": "superdev-angular-core", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"peerDependencies": { | ||
@@ -5,0 +5,0 @@ "@angular/common": "^6.0.3", |
@@ -6,5 +6,4 @@ /** | ||
export { DatePickerControl as ɵf, GridControlComponent as ɵc, InputControlComponent as ɵb, ModalBodyComponent as ɵh, ModalControl as ɵe, ModalFooterComponent as ɵi, SelectControl as ɵd } from './lib/controls'; | ||
export { GridService as ɵn } from './lib/controls/grid-control/grid-control.service'; | ||
export { MaterialModule as ɵa } from './lib/material.module'; | ||
export { TranslatePipe as ɵg } from './lib/pipes'; | ||
export { ApiService as ɵj, ExcelService as ɵm, NotifyService as ɵk, UtilityService as ɵl } from './lib/services'; | ||
export { ApiService as ɵj, ExcelService as ɵm, LocalStorageService as ɵn, NotifyService as ɵk, UtilityService as ɵl } from './lib/services'; |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":4,"exports":[{"from":"./lib/select-control/select-control.component"}],"metadata":{"SuperdevAngularCoreModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":12,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":14,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"FormsModule","line":15,"character":4},{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClientModule","line":16,"character":4},{"__symbolic":"reference","name":"ɵa"}],"declarations":[{"__symbolic":"reference","name":"ɵb"},{"__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":"ɵi"}],"providers":[{"__symbolic":"reference","module":"@angular/common","name":"DatePipe","line":29,"character":13},{"__symbolic":"reference","name":"ɵj"},{"__symbolic":"reference","name":"ɵk"},{"__symbolic":"reference","name":"ɵl"},{"__symbolic":"reference","name":"ɵm"},{"__symbolic":"reference","name":"ɵn"},{"__symbolic":"reference","name":"ɵg"}],"exports":[{"__symbolic":"reference","name":"ɵb"},{"__symbolic":"reference","name":"ɵd"},{"__symbolic":"reference","name":"ɵf"},{"__symbolic":"reference","name":"ɵc"}]}]}],"members":{}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":3,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/material","name":"MatTooltipModule","line":4,"character":12},{"__symbolic":"reference","module":"@angular/material","name":"MatFormFieldModule","line":4,"character":30},{"__symbolic":"reference","module":"@angular/material","name":"MatInputModule","line":4,"character":50}],"exports":[{"__symbolic":"reference","module":"@angular/material","name":"MatTooltipModule","line":5,"character":12},{"__symbolic":"reference","module":"@angular/material","name":"MatFormFieldModule","line":5,"character":30},{"__symbolic":"reference","module":"@angular/material","name":"MatInputModule","line":5,"character":50}]}]}],"members":{}},"ɵn":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":3,"character":1}}],"members":{"set":[{"__symbolic":"method"}],"get":[{"__symbolic":"method"}],"hasKey":[{"__symbolic":"method"}]}}},"origins":{"SuperdevAngularCoreModule":"./lib/superdev-angular-core.module","ɵa":"./lib/material.module","ɵb":"./lib/controls","ɵc":"./lib/controls","ɵd":"./lib/controls","ɵe":"./lib/controls","ɵf":"./lib/controls","ɵg":"./lib/pipes","ɵh":"./lib/controls","ɵi":"./lib/controls","ɵj":"./lib/services","ɵk":"./lib/services","ɵl":"./lib/services","ɵm":"./lib/services","ɵn":"./lib/controls/grid-control/grid-control.service"},"importAs":"superdev-angular-core"} | ||
{"__symbolic":"module","version":4,"exports":[{"from":"./lib/select-control/select-control.component"}],"metadata":{"SuperdevAngularCoreModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":11,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":13,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"FormsModule","line":14,"character":4},{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClientModule","line":15,"character":4},{"__symbolic":"reference","name":"ɵa"}],"declarations":[{"__symbolic":"reference","name":"ɵb"},{"__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":"ɵi"}],"providers":[{"__symbolic":"reference","module":"@angular/common","name":"DatePipe","line":28,"character":13},{"__symbolic":"reference","name":"ɵj"},{"__symbolic":"reference","name":"ɵk"},{"__symbolic":"reference","name":"ɵl"},{"__symbolic":"reference","name":"ɵm"},{"__symbolic":"reference","name":"ɵg"},{"__symbolic":"reference","name":"ɵn"}],"exports":[{"__symbolic":"reference","name":"ɵb"},{"__symbolic":"reference","name":"ɵd"},{"__symbolic":"reference","name":"ɵf"},{"__symbolic":"reference","name":"ɵc"}]}]}],"members":{}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":3,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/material","name":"MatTooltipModule","line":4,"character":12},{"__symbolic":"reference","module":"@angular/material","name":"MatFormFieldModule","line":4,"character":30},{"__symbolic":"reference","module":"@angular/material","name":"MatInputModule","line":4,"character":50}],"exports":[{"__symbolic":"reference","module":"@angular/material","name":"MatTooltipModule","line":5,"character":12},{"__symbolic":"reference","module":"@angular/material","name":"MatFormFieldModule","line":5,"character":30},{"__symbolic":"reference","module":"@angular/material","name":"MatInputModule","line":5,"character":50}]}]}],"members":{}}},"origins":{"SuperdevAngularCoreModule":"./lib/superdev-angular-core.module","ɵa":"./lib/material.module","ɵb":"./lib/controls","ɵc":"./lib/controls","ɵd":"./lib/controls","ɵe":"./lib/controls","ɵf":"./lib/controls","ɵg":"./lib/pipes","ɵh":"./lib/controls","ɵi":"./lib/controls","ɵj":"./lib/services","ɵk":"./lib/services","ɵl":"./lib/services","ɵm":"./lib/services","ɵn":"./lib/services"},"importAs":"superdev-angular-core"} |
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 too big to display
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1872871
11932