raise-common-lib 0.0.23 → 0.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/raise-common-lib.umd.js +51 -18
- package/bundles/raise-common-lib.umd.js.map +1 -1
- package/bundles/raise-common-lib.umd.min.js +2 -2
- package/bundles/raise-common-lib.umd.min.js.map +1 -1
- package/esm2015/lib/form/checkbox-group/index.component.js +1 -1
- package/esm2015/lib/form/radio-group/index.component.js +1 -1
- package/esm2015/lib/form/switch-input/index.component.js +1 -1
- package/esm2015/lib/layout/multi-tab/index.component.js +5 -2
- package/esm2015/lib/layout/rs-aside/index.component.js +3 -2
- package/esm2015/lib/layout/rs-header/index.component.js +3 -3
- package/esm2015/lib/service/keep-alive.service.js +38 -12
- package/esm5/lib/form/checkbox-group/index.component.js +1 -1
- package/esm5/lib/form/radio-group/index.component.js +1 -1
- package/esm5/lib/form/switch-input/index.component.js +1 -1
- package/esm5/lib/layout/multi-tab/index.component.js +5 -2
- package/esm5/lib/layout/rs-aside/index.component.js +3 -2
- package/esm5/lib/layout/rs-header/index.component.js +3 -3
- package/esm5/lib/service/keep-alive.service.js +41 -12
- package/fesm2015/raise-common-lib.js +48 -18
- package/fesm2015/raise-common-lib.js.map +1 -1
- package/fesm5/raise-common-lib.js +51 -18
- package/fesm5/raise-common-lib.js.map +1 -1
- package/lib/service/keep-alive.service.d.ts +1 -0
- package/package.json +1 -1
- package/raise-common-lib.metadata.json +1 -1
- package/src/assets/style/reset/checkbox.scss +33 -0
- package/src/assets/style/reset/radio.scss +37 -0
- package/src/assets/style/reset/switch.scss +32 -0
- package/src/assets/style/style.scss +4 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@syncfusion/ej2-angular-grids"),require("lodash"),require("@angular/router"),require("rxjs/operators"),require("@angular/material/icon"),require("@angular/platform-browser"),require("@angular/material/snack-bar"),require("@angular/material/dialog"),require("@angular/forms"),require("@angular/common/http"),require("@angular/common"),require("@syncfusion/ej2-angular-buttons"),require("@syncfusion/ej2-angular-diagrams"),require("@syncfusion/ej2-angular-popups"),require("@syncfusion/ej2-angular-calendars"),require("@syncfusion/ej2-angular-inputs"),require("@syncfusion/ej2-angular-dropdowns"),require("@syncfusion/ej2-angular-pivotview"),require("@syncfusion/ej2-angular-charts"),require("@syncfusion/ej2-angular-layouts"),require("@syncfusion/ej2-angular-navigations"),require("@syncfusion/ej2-angular-pdfviewer"),require("@syncfusion/ej2-angular-splitbuttons"),require("@syncfusion/ej2-angular-richtexteditor")):"function"==typeof define&&define.amd?define("raise-common-lib",["exports","@angular/core","@syncfusion/ej2-angular-grids","lodash","@angular/router","rxjs/operators","@angular/material/icon","@angular/platform-browser","@angular/material/snack-bar","@angular/material/dialog","@angular/forms","@angular/common/http","@angular/common","@syncfusion/ej2-angular-buttons","@syncfusion/ej2-angular-diagrams","@syncfusion/ej2-angular-popups","@syncfusion/ej2-angular-calendars","@syncfusion/ej2-angular-inputs","@syncfusion/ej2-angular-dropdowns","@syncfusion/ej2-angular-pivotview","@syncfusion/ej2-angular-charts","@syncfusion/ej2-angular-layouts","@syncfusion/ej2-angular-navigations","@syncfusion/ej2-angular-pdfviewer","@syncfusion/ej2-angular-splitbuttons","@syncfusion/ej2-angular-richtexteditor"],e):e((t=t||self)["raise-common-lib"]={},t.ng.core,t.ej2AngularGrids,t.lodash,t.ng.router,t.rxjs.operators,t.ng.material.icon,t.ng.platformBrowser,t.ng.material["snack-bar"],t.ng.material.dialog,t.ng.forms,t.ng.common.http,t.ng.common,t.ej2AngularButtons,t.ej2AngularDiagrams,t.ej2AngularPopups,t.ej2AngularCalendars,t.ej2AngularInputs,t.ej2AngularDropdowns,t.ej2AngularPivotview,t.ej2AngularCharts,t.ej2AngularLayouts,t.ej2AngularNavigations,t.ej2AngularPdfviewer,t.ej2AngularSplitbuttons,t.ej2AngularRichtexteditor)}(this,(function(t,e,n,o,i,r,a,s,l,c,
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@syncfusion/ej2-angular-grids"),require("lodash"),require("@angular/router"),require("rxjs/operators"),require("@angular/material/icon"),require("@angular/platform-browser"),require("@angular/material/snack-bar"),require("@angular/material/dialog"),require("@angular/forms"),require("@angular/common/http"),require("@angular/common"),require("@syncfusion/ej2-angular-buttons"),require("@syncfusion/ej2-angular-diagrams"),require("@syncfusion/ej2-angular-popups"),require("@syncfusion/ej2-angular-calendars"),require("@syncfusion/ej2-angular-inputs"),require("@syncfusion/ej2-angular-dropdowns"),require("@syncfusion/ej2-angular-pivotview"),require("@syncfusion/ej2-angular-charts"),require("@syncfusion/ej2-angular-layouts"),require("@syncfusion/ej2-angular-navigations"),require("@syncfusion/ej2-angular-pdfviewer"),require("@syncfusion/ej2-angular-splitbuttons"),require("@syncfusion/ej2-angular-richtexteditor")):"function"==typeof define&&define.amd?define("raise-common-lib",["exports","@angular/core","@syncfusion/ej2-angular-grids","lodash","@angular/router","rxjs/operators","@angular/material/icon","@angular/platform-browser","@angular/material/snack-bar","@angular/material/dialog","@angular/forms","@angular/common/http","@angular/common","@syncfusion/ej2-angular-buttons","@syncfusion/ej2-angular-diagrams","@syncfusion/ej2-angular-popups","@syncfusion/ej2-angular-calendars","@syncfusion/ej2-angular-inputs","@syncfusion/ej2-angular-dropdowns","@syncfusion/ej2-angular-pivotview","@syncfusion/ej2-angular-charts","@syncfusion/ej2-angular-layouts","@syncfusion/ej2-angular-navigations","@syncfusion/ej2-angular-pdfviewer","@syncfusion/ej2-angular-splitbuttons","@syncfusion/ej2-angular-richtexteditor"],e):e((t=t||self)["raise-common-lib"]={},t.ng.core,t.ej2AngularGrids,t.lodash,t.ng.router,t.rxjs.operators,t.ng.material.icon,t.ng.platformBrowser,t.ng.material["snack-bar"],t.ng.material.dialog,t.ng.forms,t.ng.common.http,t.ng.common,t.ej2AngularButtons,t.ej2AngularDiagrams,t.ej2AngularPopups,t.ej2AngularCalendars,t.ej2AngularInputs,t.ej2AngularDropdowns,t.ej2AngularPivotview,t.ej2AngularCharts,t.ej2AngularLayouts,t.ej2AngularNavigations,t.ej2AngularPdfviewer,t.ej2AngularSplitbuttons,t.ej2AngularRichtexteditor)}(this,(function(t,e,n,o,i,r,a,s,l,p,c,d,u,g,h,f,m,b,x,v,y,w,C,k,I,S){"use strict";
|
|
2
2
|
/*! *****************************************************************************
|
|
3
3
|
Copyright (c) Microsoft Corporation.
|
|
4
4
|
|
|
@@ -12,5 +12,5 @@
|
|
|
12
12
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
13
13
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
14
14
|
PERFORMANCE OF THIS SOFTWARE.
|
|
15
|
-
***************************************************************************** */var E=function(){return(E=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function M(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var o,i,r=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(o=r.next()).done;)a.push(o.value)}catch(t){i={error:t}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(i)throw i.error}}return a}function T(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(M(arguments[e]));return t}var _=function(){function t(t){this.ref=t,this.showCheckBox=!0,this.loaded=!0,this.hiddenLoaded=!1,this.authorized=!0,this.selectedDiffKey="",this.gridHeight="",this.gridId="grid",this.resizeSettings={mode:"Auto"},this.filterSettings={type:"Menu"},this.fields=[],this.dataSource=[],this.allowPaging=!0,this.clipMode="EllipsisWithTooltip",this.checkBoxWidth=32,this.contextMenuItems=[],this.selectionSettings={type:"Multiple",checkboxOnly:!0},this.alwaysShowCheckbox=!1,this.disableSystemRow=!1,this.recordDoubleClick=new e.EventEmitter,this.actionComplete=new e.EventEmitter,this.rowSelected=new e.EventEmitter,this.rowDeselected=new e.EventEmitter,this.onContextMenu=new e.EventEmitter,this.actionHandler=new e.EventEmitter,this.queryCellInfo=new e.EventEmitter,this.recordClick=new e.EventEmitter,this.actionBegin=new e.EventEmitter,this.rowDataBound=new e.EventEmitter,this.dataBound=new e.EventEmitter,this.exportQueryCellInfo=new e.EventEmitter,this.rowSelecting=new e.EventEmitter,this.selectId=[],this.startPaging=!1,this.indexList=[],this.className="grid-loading",this.translation=JSON.parse(localStorage.getItem("translation"))}return t.prototype.ngOnInit=function(){this.hiddenLoaded&&(this.className=""),this.ref&&this.ref.markForCheck()},t.prototype.trackByFn=function(t,e){return t},t.prototype.ngOnChanges=function(t){t.dataSource&&t.dataSource.currentValue&&this.allowPaging&&t.dataSource.currentValue.length&&!this.pageSettings&&(this.pageSettings=t.dataSource.currentValue.length>9?{pageSizes:["All","25","50","100"],pageSize:50}:null)},t.prototype._load=function(){this.authorized||(this.grid.localeObj.localeStrings.EmptyRecord=this.translation.YOU_DO_NOT_HAVE_THE_DATASET_PERMISSION||"You don't have the dataset permission to view the record.")},t.prototype._dataBound=function(t){var e=this,n=document.querySelector(".e-pagercontainer");n&&n.querySelectorAll(".e-link").forEach((function(t){t.removeAttribute("href")}));this.selectedDiffKey&&setTimeout((function(){e.chooseRecords()})),this.dataBound.emit(t)},t.prototype._exportQueryCellInfo=function(t){this.exportQueryCellInfo.emit(t)},t.prototype._recordDoubleClick=function(t){this.recordDoubleClick.emit(t)},t.prototype._rowSelected=function(t){var e=this;this.selectedDiffKey&&(t.isHeaderCheckboxClicked&&Array.isArray(t.data)?t.data&&t.data.length&&(t.data.forEach((function(t){t.isSelected=!0,e.selectId.push(t)})),this.dataSource.forEach((function(n){t.data.forEach((function(t){t[e.selectedDiffKey]===n[e.selectedDiffKey]&&(n.isSelected=!0)}))}))):(t.data.isSelected=!0,this.selectId.push(t.data),this.dataSource.forEach((function(n){n[e.selectedDiffKey]===t.data[e.selectedDiffKey]&&(n.isSelected=!0)}))),this.ref&&this.ref.markForCheck()),this.rowSelected.emit(t)},t.prototype._rowDeselected=function(t){var e=this;if(this.selectedDiffKey){if(this.startPaging)return;t.isHeaderCheckboxClicked&&Array.isArray(t.data)?(t.data.forEach((function(t){t.isSelected=!1})),this.selectId=[],this.dataSource.forEach((function(n){t.data.forEach((function(t){t[e.selectedDiffKey]===n[e.selectedDiffKey]&&(n.isSelected=!1)}))}))):(t.data.isSelected=!1,this.selectId=this.selectId.filter((function(n){return n[e.selectedDiffKey]!==t.data[e.selectedDiffKey]})),this.dataSource.forEach((function(n){n[e.selectedDiffKey]===t.data[e.selectedDiffKey]&&(n.isSelected=!1)}))),this.ref&&this.ref.markForCheck()}this.rowDeselected.emit(t)},t.prototype._onContextMenu=function(t){this.onContextMenu.emit(t)},t.prototype._actionBegin=function(t){!this.selectedDiffKey||"paging"!==t.requestType&&"searching"!==t.requestType&&"filtering"!==t.requestType&&"sorting"!==t.requestType||(this.startPaging=!0),this.actionBegin.emit(t)},t.prototype.search=function(t){this.grid.search(t)},t.prototype.selectRows=function(t){this.grid.selectRows(t)},t.prototype.selectRow=function(t){this.grid.selectRow(t)},t.prototype.getCurrentViewRecords=function(){return this.grid.getCurrentViewRecords()},t.prototype.customiseCell=function(t){this.queryCellInfo.emit(t)},t.prototype.contextMenuOpen=function(t){var e=t.rowInfo.rowData;if(e){var n=[],o=[];this.grid.contextMenuModule.contextMenu.refresh(),this.contextMenuItems.forEach((function(t){(t.disabled||e.disableItem&&e.disableItem.includes(t.iconCss))&&n.push(t.text),(t.isHide||e.hideItem&&e.hideItem.includes(t.iconCss))&&o.push(t.text)})),this.grid.contextMenuModule.contextMenu.enableItems(n,!1),this.grid.contextMenuModule.contextMenu.hideItems(o,!1)}else t.cancel=!0},t.prototype._actionHandler=function(t){var e=this;!this.selectedDiffKey||"paging"!==t.requestType&&"searching"!==t.requestType&&"filtering"!==t.requestType&&"sorting"!==t.requestType||(this.indexList=[],setTimeout((function(){e.chooseRecords(),e.startPaging=!1,e.ref&&e.ref.detectChanges(),e.ref&&e.ref.markForCheck()}))),this.actionHandler.emit(t),this.actionComplete.emit(t)},t.prototype.chooseRecords=function(){var t=this;this.indexList=[],this.dataSource.forEach((function(e){t.grid.getCurrentViewRecords().forEach((function(n,o){n&&e[t.selectedDiffKey]===n[t.selectedDiffKey]&&e.isSelected&&t.indexList.push(o)}))})),this.grid.selectRows(this.indexList)},t.prototype._recordClick=function(t){this.recordClick.emit(t)},t.prototype.refresh=function(){this.grid.refresh()},t.prototype._rowSelecting=function(t){this.rowSelecting.emit(t)},t.prototype.refreshColumns=function(){this.grid.refreshColumns()},t.prototype.refreshHeader=function(){this.grid.refreshHeader()},t.prototype.export=function(t){this.grid.excelExport(t)},t.prototype.getSelectedRecords=function(){return this.grid.getSelectedRecords()},t.prototype._rowDataBound=function(t){this.disableSystemRow&&t.data&&t.data.IsSystem&&t.row.classList.add("e-disabled"),this.rowDataBound.emit(t)},t.prototype.clearSelection=function(){this.grid.clearSelection()},t.prototype.excelExport=function(){this.grid.excelExport()},t.prototype.addItem=function(){var t=this;this.grid.addRecord(E({},this.defaultRecord,{isNew:!0}),0),setTimeout((function(){t.grid.selectRow(0),t.grid.startEdit()}),30)},t.prototype.saveItem=function(){this.grid.endEdit()},t.prototype.editItem=function(t){var e=this;setTimeout((function(){e.grid.selectRow(Number(t)),e.grid.startEdit()}),30)},t.prototype.deleteItem=function(t){this.grid.selectRow(Number(t));var e=this.grid.getSelectedRecords()[0];this.grid.deleteRecord(e)},t.prototype.cancelItem=function(t){this.grid.closeEdit(),this.deleteItem(t)},t.prototype.showLoading=function(){this.className="grid-loading",this.ref&&this.ref.markForCheck(),this.ref&&this.ref.detectChanges()},t.prototype.hideLoading=function(){this.className="",this.ref&&this.ref.markForCheck(),this.ref&&this.ref.detectChanges()},t.decorators=[{type:e.Component,args:[{selector:"rs-common-grid",template:'<ejs-grid\r\n\t#grid\r\n\t[id]="gridId"\r\n\t[ngClass]="{\r\n\t\t\'hide-Check-box\': !alwaysShowCheckbox,\r\n\t\t\'grid-loading\': className === \'grid-loading\'\r\n\t}"\r\n\t[dataSource]="dataSource"\r\n\t[allowPaging]="allowPaging && pageSettings"\r\n\t[allowResizing]="true"\r\n\t[pageSettings]="pageSettings"\r\n\t[showColumnMenu]="true"\r\n\t[allowSorting]="true"\r\n\t[allowFiltering]="true"\r\n\t[allowExcelExport]="true"\r\n\t[filterSettings]="filterSettings"\r\n\t[resizeSettings]="resizeSettings"\r\n\t[allowSelection]="true"\r\n\t[editSettings]="editSettings"\r\n\t[childGrid]="childGrid"\r\n\t[contextMenuItems]="\r\n\t\tdataSource && dataSource.length ? contextMenuItems : null\r\n\t"\r\n\t[selectionSettings]="selectionSettings"\r\n\t(recordClick)="_recordClick($event)"\r\n\t(recordDoubleClick)="_recordDoubleClick($event)"\r\n\t(actionBegin)="_actionBegin($event)"\r\n\t(actionComplete)="_actionHandler($event)"\r\n\t(rowSelected)="_rowSelected($event)"\r\n\t(rowDeselected)="_rowDeselected($event)"\r\n\tstyle="border: none"\r\n\t(contextMenuClick)="_onContextMenu($event)"\r\n\t(contextMenuOpen)="contextMenuOpen($event)"\r\n\t(queryCellInfo)="customiseCell($event)"\r\n\t(dataBound)="_dataBound($event)"\r\n\t(rowDataBound)="_rowDataBound($event)"\r\n\t(rowSelecting)="_rowSelecting($event)"\r\n\t(excelQueryCellInfo)="_exportQueryCellInfo($event)"\r\n\t(load)="_load()"\r\n>\r\n\t<e-columns>\r\n\t\t<e-column\r\n\t\t\t*ngIf="showCheckBox"\r\n\t\t\ttype="checkbox"\r\n\t\t\t[width]="checkBoxWidth"\r\n\t\t\t[showColumnMenu]="false"\r\n\t\t></e-column>\r\n\t\t<e-column\r\n\t\t\t*ngFor="let item of fields; trackBy: trackByFn"\r\n\t\t\t[field]="item.columnName"\r\n\t\t\t[filter]="item.filter ? item.filter : { type: \'CheckBox\' }"\r\n\t\t\t[customAttributes]="\r\n\t\t\t\titem.colName === \'entityUserList\' ||\r\n\t\t\t\titem.colName === \'kycProgress\'\r\n\t\t\t\t\t? { class: \'hideColumnFilterClass\' }\r\n\t\t\t\t\t: {}\r\n\t\t\t"\r\n\t\t\t[headerText]="item.columnDisplayName"\r\n\t\t\t[textAlign]="item.textAlign"\r\n\t\t\t[showColumnMenu]="item.showColumnMenu === undefined ? true : false"\r\n\t\t\t[allowFiltering]="item.allowFiltering === undefined ? true : false"\r\n\t\t\t[allowSorting]="item.allowSorting === undefined ? true : false"\r\n\t\t\t[editType]="item.editType"\r\n\t\t\t[validationRules]="item.validationRules"\r\n\t\t\t[type]="item.dataType"\r\n\t\t\t[width]="item.width"\r\n\t\t\t[minWidth]="item.minWidth"\r\n\t\t\t[format]="item.format"\r\n\t\t\t[visible]="item.visible"\r\n\t\t\t[template]="item.showTemplate ? columnTemplate : undefined"\r\n\t\t\t[clipMode]="\r\n\t\t\t\titem.clipMode\r\n\t\t\t\t\t? item.clipMode\r\n\t\t\t\t\t: clipMode || \'EllipsisWithTooltip\'\r\n\t\t\t"\r\n\t\t\t[sortComparer]="item.dateComparer"\r\n\t\t>\r\n\t\t</e-column>\r\n\t</e-columns>\r\n</ejs-grid>\r\n',styles:[""]}]}],t.ctorParameters=function(){return[{type:e.ChangeDetectorRef}]},t.propDecorators={grid:[{type:e.ViewChild,args:["grid",{static:!1}]}],showCheckBox:[{type:e.Input}],loaded:[{type:e.Input}],hiddenLoaded:[{type:e.Input}],authorized:[{type:e.Input}],selectedDiffKey:[{type:e.Input}],gridHeight:[{type:e.Input}],gridId:[{type:e.Input}],resizeSettings:[{type:e.Input}],filterSettings:[{type:e.Input}],template:[{type:e.Input}],fields:[{type:e.Input}],dataSource:[{type:e.Input}],editSettings:[{type:e.Input}],columnTemplate:[{type:e.Input}],pageSettings:[{type:e.Input}],allowPaging:[{type:e.Input}],clipMode:[{type:e.Input}],checkBoxWidth:[{type:e.Input}],childGrid:[{type:e.Input}],contextMenuItems:[{type:e.Input}],selectionSettings:[{type:e.Input}],alwaysShowCheckbox:[{type:e.Input}],defaultRecord:[{type:e.Input}],disableSystemRow:[{type:e.Input}],recordDoubleClick:[{type:e.Output}],actionComplete:[{type:e.Output}],rowSelected:[{type:e.Output}],rowDeselected:[{type:e.Output}],onContextMenu:[{type:e.Output}],actionHandler:[{type:e.Output}],queryCellInfo:[{type:e.Output}],recordClick:[{type:e.Output}],actionBegin:[{type:e.Output}],rowDataBound:[{type:e.Output}],dataBound:[{type:e.Output}],exportQueryCellInfo:[{type:e.Output}],rowSelecting:[{type:e.Output}]},t}();var D=function(){function t(t){var n=this;this.ref=t,this._trigger="hover",this._animation="no",this._fixed="no",this.openChange=new e.EventEmitter,this.FIXED_CONTAINER_ID="kt-float-box-fixed-container",this.opened="no",this.onClickOutside=function(t){n.rootElement.nativeElement.contains(t.target)||n.fixedContainerEl.contains(t.target)||(n.opened="no",n.openChange.emit(!1),window.removeEventListener("click",n.onClickOutside),n.ref.markForCheck())},this.onMoveOutside=function(t){n.rootElement.nativeElement.contains(t.target)||n.contentElement.nativeElement.contains(t.target)||(n.opened="no",n.openChange.emit(!1),window.removeEventListener("click",n.onMoveOutside),n.ref.markForCheck())}}return Object.defineProperty(t.prototype,"placement",{get:function(){return["top","left","right","bottom"].includes(this._placement)?this._placement:"bottom"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"position",{get:function(){return["start","center","end"].includes(this._position)?this._position:"center"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"trigger",{get:function(){return"click"===this._trigger?"click":"hover"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"animation",{get:function(){return"yes"===this._animation?"yes":"no"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fixed",{get:function(){return"yes"===this._fixed?"yes":"no"},enumerable:!0,configurable:!0}),t.prototype.ngAfterViewInit=function(){this.fixedContainerEl=this.getFixedContainer(),"yes"===this.fixed&&this.fixedContainerEl.append(this.contentElement.nativeElement)},t.prototype.ngOnDestroy=function(){this.contentElement.nativeElement.remove()},t.prototype.getFixedContainer=function(){var t=document.getElementById(this.FIXED_CONTAINER_ID);return t||((t=document.createElement("div")).setAttribute("id",this.FIXED_CONTAINER_ID),document.body.append(t)),t},t.prototype.setFixedContentPosition=function(){if("no"!==this.fixed){var t=this.rootElement.nativeElement.getBoundingClientRect(),e=t.top,n=t.left,o=t.width,i=t.height,r="0",a="0",s="0",l="0";switch(this.placement+"_"+this.position){case"top_start":r=e+"px",a=n-8+"px",l="-100%";break;case"top_center":r=e+"px",a=n+o/2+"px",s="-50%",l="-100%";break;case"top_end":r=e+"px",a=n+o+8+"px",s="-100%",l="-100%";break;case"left_start":r=e-8+"px",a=n+"px",s="-100%";break;case"left_center":r=e+i/2+"px",a=n+"px",s="-100%",l="-50%";break;case"left_end":r=e+i+8+"px",a=n+"px",s="-100%",l="-100%";break;case"right_start":r=e-8+"px",a=n+o+"px";break;case"right_center":r=e+i/2+"px",a=n+o+"px",l="-50%";break;case"right_end":r=e+i+8+"px",a=n+o+"px",l="-100%";break;case"bottom_start":r=e+i+"px",a=n-8+"px";break;case"bottom_center":r=e+i+"px",a=n+o/2+"px",s="-50%";break;case"bottom_end":r=e+i+"px",a=n+o+8+"px",s="-100%"}this.contentElement.nativeElement.style.top=r,this.contentElement.nativeElement.style.left=a,this.contentElement.nativeElement.style.transform="translate("+s+", "+l+")"}},t.prototype.onClickContainer=function(){"click"===this.trigger&&(this.opened="yes",this.openChange.emit(!0),this.setFixedContentPosition(),window.addEventListener("click",this.onClickOutside))},t.prototype.onMouseEnter=function(){"no"!==this.fixed&&"hover"===this.trigger&&(this.opened="yes",this.openChange.emit(!0),this.setFixedContentPosition(),window.addEventListener("mousemove",this.onMoveOutside))},t.prototype.close=function(){var t=this;setTimeout((function(){t.opened="no",t.openChange.emit(!1)}),0)},t.decorators=[{type:e.Component,args:[{selector:"rs-float-box",template:'<div\r\n #element\r\n class="float-box-container"\r\n [attr.data-trigger]="trigger"\r\n (click)="onClickContainer()"\r\n (mouseenter)="onMouseEnter()"\r\n>\r\n <ng-content></ng-content>\r\n <div\r\n #content\r\n class="float-box-content"\r\n [attr.data-placement]="placement"\r\n [attr.data-position]="position"\r\n [attr.data-animation]="animation"\r\n [attr.data-fixed]="fixed"\r\n [attr.data-opened]="opened"\r\n >\r\n <div class="float-box-show-content">\r\n <ng-content select="[float-content]"></ng-content>\r\n </div>\r\n </div>\r\n</div>\r\n',styles:[".float-box-container{position:relative}.float-box-container[data-trigger=click]>.float-box-content[data-opened=no],.float-box-container[data-trigger=hover]:not(:hover)>.float-box-content{display:none}.float-box-container>.float-box-content[data-fixed=no]{padding:8px;--top:0;--left:0;--translate-x:0;--translate-y:0;position:absolute;top:var(--top);left:var(--left);transform:translate(var(--translate-x),var(--translate-y));z-index:10}.float-box-container>.float-box-content[data-fixed=no][data-animation=yes]{-webkit-animation:.25s ease-in-out;animation:.25s ease-in-out}.float-box-container>.float-box-content[data-fixed=no][data-placement=top]{--translate-y:-100%}.float-box-container>.float-box-content[data-fixed=no][data-placement=top][data-animation=true]{-webkit-animation-name:open-from-top;animation-name:open-from-top}.float-box-container>.float-box-content[data-fixed=no][data-placement=left]{--translate-x:-100%}.float-box-container>.float-box-content[data-fixed=no][data-placement=right]{--left:100%}.float-box-container>.float-box-content[data-fixed=no][data-placement=bottom]{--top:100%}.float-box-container>.float-box-content[data-fixed=no][data-placement=bottom][data-animation=yes]{-webkit-animation-name:open-from-bottom;animation-name:open-from-bottom}.float-box-container>.float-box-content[data-fixed=no][data-placement=bottom][data-position=start],.float-box-container>.float-box-content[data-fixed=no][data-placement=top][data-position=start]{--left:-8px}.float-box-container>.float-box-content[data-fixed=no][data-placement=bottom][data-position=center],.float-box-container>.float-box-content[data-fixed=no][data-placement=top][data-position=center]{--left:50%;--translate-x:-50%}.float-box-container>.float-box-content[data-fixed=no][data-placement=bottom][data-position=end],.float-box-container>.float-box-content[data-fixed=no][data-placement=top][data-position=end]{--left:calc(100% + 8px);--translate-x:-100%}.float-box-container>.float-box-content[data-fixed=no][data-placement=left][data-position=start],.float-box-container>.float-box-content[data-fixed=no][data-placement=right][data-position=start]{--top:-8px}.float-box-container>.float-box-content[data-fixed=no][data-placement=left][data-position=start][data-animation=yes],.float-box-container>.float-box-content[data-fixed=no][data-placement=right][data-position=start][data-animation=yes]{-webkit-animation-name:open-from-bottom;animation-name:open-from-bottom}.float-box-container>.float-box-content[data-fixed=no][data-placement=left][data-position=center],.float-box-container>.float-box-content[data-fixed=no][data-placement=right][data-position=center]{--top:50%;--translate-y:-50%}.float-box-container>.float-box-content[data-fixed=no][data-placement=left][data-position=center][data-animation=yes],.float-box-container>.float-box-content[data-fixed=no][data-placement=right][data-position=center][data-animation=yes]{-webkit-animation-name:open-from-bottom;animation-name:open-from-bottom}.float-box-container>.float-box-content[data-fixed=no][data-placement=left][data-position=end],.float-box-container>.float-box-content[data-fixed=no][data-placement=right][data-position=end]{--top:calc(100% + 8px);--translate-y:-100%}.float-box-container>.float-box-content[data-fixed=no][data-placement=left][data-position=end][data-animation=yes],.float-box-container>.float-box-content[data-fixed=no][data-placement=right][data-position=end][data-animation=yes]{-webkit-animation-name:open-from-top;animation-name:open-from-top}@-webkit-keyframes open-from-top{from{margin-top:-8px;opacity:.4}to{margin:0;opacity:1}}@keyframes open-from-top{from{margin-top:-8px;opacity:.4}to{margin:0;opacity:1}}@-webkit-keyframes open-from-bottom{from{margin-top:8px;opacity:.4}to{margin:0;opacity:1}}@keyframes open-from-bottom{from{margin-top:8px;opacity:.4}to{margin:0;opacity:1}}::ng-deep #kt-float-box-fixed-container{width:0;height:0;z-index:100000}::ng-deep #kt-float-box-fixed-container .float-box-content[data-fixed=yes]{padding:8px;position:fixed;z-index:10}::ng-deep #kt-float-box-fixed-container .float-box-content[data-fixed=yes][data-opened=no]{display:none}.float-box-show-content{padding:8px 8px 12px;border-radius:8px;background:#fff;box-shadow:0 0 8px 0 rgba(0,0,0,.25)}"]}]}],t.ctorParameters=function(){return[{type:e.ChangeDetectorRef}]},t.propDecorators={_placement:[{type:e.Input,args:["placement"]}],_position:[{type:e.Input,args:["position"]}],_trigger:[{type:e.Input,args:["trigger"]}],_animation:[{type:e.Input,args:["animation"]}],_fixed:[{type:e.Input,args:["fixed"]}],openChange:[{type:e.Output,args:["openChange"]}],rootElement:[{type:e.ViewChild,args:["element",{static:!1}]}],contentElement:[{type:e.ViewChild,args:["content",{static:!1}]}]},t}();var A=function(){function t(){this.customPageTitle=!1,this.isInner=!1}return t.prototype.ngOnInit=function(){var t=this;this.debouncedInput=o.debounce((function(){t.onSeach()}),300)},t.prototype.onSeach=function(){this.gridContent.grid.search(this.searchValue)},t.prototype.onInput=function(){this.debouncedInput()},t.decorators=[{type:e.Component,args:[{selector:"rs-page-list",template:'<div class="rs-page-list-wrap" [ngClass]="{ \'is-not-inner\': !isInner }">\r\n <ng-container *ngIf="customPageTitle; else defaultTitle">\r\n <ng-content select="[titleSlot]"></ng-content>\r\n </ng-container>\r\n <ng-template #defaultTitle>\r\n <div class="rs-page-title" *ngIf="pageTitle">{{ pageTitle }}</div>\r\n </ng-template>\r\n <div class="rs-content-wrap">\r\n <div class="rs-toolbar-wrap">\r\n <div class="rs-left-col">\r\n <ng-content select="[leftToolbarBtnSlot]"></ng-content>\r\n </div>\r\n <div class="rs-right-col">\r\n <ng-content select="[rightToolbarBtnSlot]"></ng-content>\r\n <div class="rs-search-input">\r\n <ejs-textbox\r\n type="text"\r\n class="e-input"\r\n [(ngModel)]="searchValue"\r\n (input)="onInput()"\r\n placeholder="Search all fields"\r\n [showClearButton]="true"\r\n autocomplete="off"\r\n ></ejs-textbox>\r\n </div>\r\n </div>\r\n </div>\r\n <div class="rs-grid-wrap">\r\n <ng-content select="[gridSlot]"></ng-content>\r\n </div>\r\n </div>\r\n</div>\r\n',styles:['.rs-page-list-wrap{height:100%;display:flex;flex-direction:column;position:relative;margin:0 auto;max-width:1885px}.rs-page-list-wrap .rs-page-title{font-family:var(--rs-font-family);font-size:var(--rs-page-title-font-size);font-weight:700;text-align:left;color:var(--rs-page-title-color);display:flex;align-items:center;padding:16px 8px 12px 20px}.rs-page-list-wrap .rs-content-wrap{display:flex;flex-direction:column;flex:1;height:0}.rs-page-list-wrap .rs-content-wrap .rs-toolbar-wrap{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.rs-page-list-wrap .rs-content-wrap .rs-toolbar-wrap .rs-left-col,.rs-page-list-wrap .rs-content-wrap .rs-toolbar-wrap .rs-right-col{display:flex;gap:12px}.rs-page-list-wrap .rs-content-wrap .rs-toolbar-wrap .rs-left-col ::ng-deep .e-btn,.rs-page-list-wrap .rs-content-wrap .rs-toolbar-wrap .rs-right-col ::ng-deep .e-btn{height:28px}.rs-page-list-wrap .rs-content-wrap .rs-grid-wrap{flex:1;height:0}.rs-page-list-wrap.is-not-inner .rs-content-wrap{border-radius:15px;padding:12px 20px;background:#fff;border:1px solid var(--rs-border-color);box-shadow:0 0 4px 0 rgba(0,0,0,.1)}.rs-page-list-wrap .rs-search-input{width:240px}.rs-page-list-wrap .rs-search-input ::ng-deep .e-input-group{border-radius:14px!important}.rs-page-list-wrap .rs-search-input ::ng-deep .e-input-group.e-input-focus,.rs-page-list-wrap .rs-search-input ::ng-deep .e-input-group:hover{box-shadow:0 0 3px 0 rgba(31,123,255,.4)!important;border-color:var(--rs-input-hover-border-color)!important}.rs-page-list-wrap .rs-search-input ::ng-deep .e-input-group.e-input-focus input.e-input,.rs-page-list-wrap .rs-search-input ::ng-deep .e-input-group:hover input.e-input{box-shadow:none!important}.rs-page-list-wrap .rs-search-input ::ng-deep .e-input-group input.e-input{width:calc(100% - 50px);height:26px}.rs-page-list-wrap .rs-search-input ::ng-deep .e-input-group input.e-input:hover{box-shadow:none!important}.rs-page-list-wrap .rs-search-input ::ng-deep .e-input-group::before{content:""!important;margin:6px 0 0 8px;display:block;width:16px;height:16px;background-image:url(/assets/img/search.svg);background-size:cover;background-position:center}']}]}],t.propDecorators={gridContent:[{type:e.ContentChild,args:[_,{static:!0}]}],pageTitle:[{type:e.Input}],customPageTitle:[{type:e.Input}],isInner:[{type:e.Input}]},t}();var L=function(){function t(){this.customPageTitle=!1,this.tabList=[],this.tabChange=new e.EventEmitter,this.animation={previous:{effect:"",duration:0,easing:""},next:{effect:"",duration:0,easing:""}}}return t.prototype.ngOnInit=function(){},t.prototype.onTabClick=function(t){this.tabChange.emit(this.tabList[t.selectedIndex])},t.decorators=[{type:e.Component,args:[{selector:"rs-page-tab",template:'<div class="rs-page-list-wrap">\r\n <ng-container *ngIf="customPageTitle; else defaultTitle">\r\n <ng-content select="[titleSlot]"></ng-content>\r\n </ng-container>\r\n <ng-template #defaultTitle>\r\n <div class="rs-page-title" *ngIf="pageTitle">{{ pageTitle }}</div>\r\n </ng-template>\r\n <ejs-tab\r\n class="rs-tab"\r\n (selected)="onTabClick($event)"\r\n [animation]="animation"\r\n\t overflowMode="Popup"\r\n heightAdjustMode="None"\r\n >\r\n <e-tabitems>\r\n <e-tabitem *ngFor="let item of tabList">\r\n <ng-template #headerText>\r\n <div>{{ item.title }}</div>\r\n </ng-template>\r\n </e-tabitem>\r\n </e-tabitems>\r\n </ejs-tab>\r\n <div class="rs-grid-wrap">\r\n <ng-content select="[tabContentSlot]"></ng-content>\r\n </div>\r\n</div>\r\n',styles:['.rs-page-list-wrap{height:100%;display:flex;flex-direction:column;position:relative;margin:0 auto;max-width:1885px}.rs-page-list-wrap .rs-page-title{font-family:var(--rs-font-family);font-size:var(--rs-page-title-font-size);font-weight:700;text-align:left;color:var(--rs-page-title-color);display:flex;align-items:center;padding:16px 8px 12px 20px}.rs-page-list-wrap .rs-tab{padding:0 20px}.rs-page-list-wrap .rs-tab .e-tab-header::before{display:none}.rs-page-list-wrap .rs-tab .e-toolbar-items{gap:32px;min-height:36px}.rs-page-list-wrap .rs-tab .e-toolbar-items .e-toolbar-item{border:0}.rs-page-list-wrap .rs-tab .e-toolbar-items .e-toolbar-item .e-tab-wrap{padding:0;border:0;position:relative;height:36px}.rs-page-list-wrap .rs-tab .e-toolbar-items .e-toolbar-item .e-tab-wrap::before{content:" ";position:absolute;left:0;bottom:0;width:100%;height:2px;background-color:transparent}.rs-page-list-wrap .rs-tab .e-toolbar-items .e-toolbar-item .e-tab-text{color:#5f6f81;font-family:Arial;font-size:13px;font-style:normal;font-weight:400;line-height:16px}.rs-page-list-wrap .rs-tab .e-toolbar-items .e-toolbar-item.e-active .e-tab-wrap::before{background-color:#1f7bff}.rs-page-list-wrap .rs-tab .e-toolbar-items .e-toolbar-item.e-active .e-tab-text{color:#44566c}.rs-page-list-wrap .rs-tab .e-hor-nav{width:24px;height:24px;min-height:24px;top:3px;border-radius:4px;background-color:transparent!important;border:1px solid #eaedf0!important}.rs-page-list-wrap .rs-tab .e-hor-nav .e-icons{box-shadow:none;background-color:transparent!important;border-color:transparent!important;background-image:url(../../assets/img/icon-more.svg);background-size:14px 3px;background-repeat:no-repeat;background-position:4px 14px}.rs-page-list-wrap .rs-tab .e-hor-nav .e-icons::before{display:none}.rs-page-list-wrap .rs-tab .e-hor-nav .e-icons:hover{background-color:#eff5fb!important;border-color:#b1d0fc!important;background-image:url(../../assets/img/icon-more-active.svg)}.rs-page-list-wrap .rs-tab .e-toolbar-pop{min-width:160px;border-radius:10px;background:#fff;box-shadow:0 0 8px 0 rgba(0,0,0,.25);padding:8px}.rs-page-list-wrap .rs-tab .e-toolbar-pop .e-toolbar-item .e-tab-wrap{padding:0 8px}.rs-page-list-wrap .rs-tab .e-toolbar-pop .e-toolbar-item .e-tab-wrap .e-tab-text{color:#44566c;font-family:Arial;font-size:13px;font-weight:400;line-height:16px}.rs-page-list-wrap .rs-tab .e-toolbar-pop .e-toolbar-item .e-tab-wrap:hover{border-radius:6px;background:rgba(31,123,255,.05)}.rs-page-list-wrap .rs-grid-wrap{flex:1;height:0}']}]}],t.propDecorators={pageTitle:[{type:e.Input}],customPageTitle:[{type:e.Input}],tabList:[{type:e.Input}],currentTab:[{type:e.Input}],tabChange:[{type:e.Output}]},t}();var R=function(){function t(){this.customPageTitle=!1,this.isInner=!1}return t.prototype.ngOnInit=function(){var t=this;this.debouncedInput=o.debounce((function(){t.onSeach()}),300)},t.prototype.onSeach=function(){this.gridContent.grid.search(this.searchValue)},t.prototype.onInput=function(){this.debouncedInput()},t.decorators=[{type:e.Component,args:[{selector:"rs-grid-box",template:'<div class="rs-grid-box" [ngClass]="{ \'is-not-inner\': !isInner }">\r\n <div class="rs-toolbar-wrap">\r\n <div class="rs-left-col">\r\n <ng-content select="[leftToolbarBtnSlot]"></ng-content>\r\n </div>\r\n <div class="rs-right-col">\r\n <ng-content select="[rightToolbarBtnSlot]"></ng-content>\r\n <div class="rs-search-input">\r\n <ejs-textbox\r\n type="text"\r\n class="e-input"\r\n [(ngModel)]="searchValue"\r\n (input)="onInput()"\r\n placeholder="Search all fields"\r\n [showClearButton]="true"\r\n autocomplete="off"\r\n ></ejs-textbox>\r\n </div>\r\n </div>\r\n </div>\r\n <div class="rs-grid-wrap">\r\n <ng-content select="[gridSlot]"></ng-content>\r\n </div>\r\n</div>\r\n',styles:[':host{height:100%}.rs-grid-box{display:flex;flex-direction:column;height:100%}.rs-grid-box.is-not-inner{border-radius:15px;padding:12px 20px;background:#fff;border:1px solid var(--rs-border-color);box-shadow:0 0 4px 0 rgba(0,0,0,.1)}.rs-grid-box .rs-toolbar-wrap{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.rs-grid-box .rs-toolbar-wrap .rs-left-col,.rs-grid-box .rs-toolbar-wrap .rs-right-col{display:flex;gap:12px}.rs-grid-box .rs-toolbar-wrap .rs-left-col ::ng-deep .e-btn,.rs-grid-box .rs-toolbar-wrap .rs-right-col ::ng-deep .e-btn{height:28px}.rs-grid-box .rs-grid-wrap{flex:1;height:0}.rs-grid-box .rs-search-input{width:240px}.rs-grid-box .rs-search-input ::ng-deep .e-input-group{border-radius:14px!important}.rs-grid-box .rs-search-input ::ng-deep .e-input-group.e-input-focus,.rs-grid-box .rs-search-input ::ng-deep .e-input-group:hover{box-shadow:0 0 3px 0 rgba(31,123,255,.4)!important;border-color:var(--rs-input-hover-border-color)!important}.rs-grid-box .rs-search-input ::ng-deep .e-input-group.e-input-focus input.e-input,.rs-grid-box .rs-search-input ::ng-deep .e-input-group:hover input.e-input{box-shadow:none!important}.rs-grid-box .rs-search-input ::ng-deep .e-input-group input.e-input{width:calc(100% - 50px);height:26px}.rs-grid-box .rs-search-input ::ng-deep .e-input-group input.e-input:hover{box-shadow:none!important}.rs-grid-box .rs-search-input ::ng-deep .e-input-group::before{content:""!important;margin:6px 0 0 8px;display:block;width:16px;height:16px;background-image:url(/assets/img/search.svg);background-size:cover;background-position:center}']}]}],t.propDecorators={gridContent:[{type:e.ContentChild,args:[e.TemplateRef,{static:!0}]}],pageTitle:[{type:e.Input}],customPageTitle:[{type:e.Input}],isInner:[{type:e.Input}]},t}();var B,O=function(){function t(){}return t.prototype.testMethod=function(){return"test1111"},t.prototype.setMiddleEllipsis=function(t,e,n){void 0===e&&(e=150),void 0===n&&(n=13);var o=document.createElement("canvas").getContext("2d");o.font=n+"px Arial";var i=o.measureText(t).width;if(i<=e)return t;e=Math.floor(e-o.measureText("...").width);for(var r="",a="",s=Math.floor(e/2),l=0;l<t.length&&(r+=t[l],!((i=o.measureText(r).width)>s));l++);for(l=t.length-1;l>=0&&(a=t[l]+a,!((i=o.measureText(a).width)>s));l--);return r+"..."+a},t.prototype.getPureUrl=function(t){return t&&(t=decodeURIComponent(t)).includes("?")&&(t=t.split("?")[0]),t},t.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[]},t.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new t},token:t,providedIn:"root"}),t}(),j={},P=[],N=function(){function t(){}return t.prototype.setExcludeRoutes=function(t){P=t},t.prototype.shouldDetach=function(t){return B===this.getRoutePath(t)?(B="",!1):!P.includes(t.routeConfig.path)},t.prototype.store=function(t,e){j[this.getRoutePath(t)]=e},t.prototype.shouldAttach=function(t){return!!j[this.getRoutePath(t)]},t.prototype.retrieve=function(t){return t.routeConfig?t.routeConfig.loadChildren?null:j[this.getRoutePath(t)]:null},t.prototype.shouldReuseRoute=function(t,e){return t.routeConfig===e.routeConfig&&(0!==t.children.length||0!==e.children.length||JSON.stringify(t.params)===JSON.stringify(e.params)&&JSON.stringify(t.queryParams)===JSON.stringify(e.queryParams))},t.prototype.getRoutePath=function(t){if(t.routeConfig){var e=new URLSearchParams(t.queryParams).toString();return"/"+t._urlSegment.segments.map((function(t){return t.path})).join("/")+(e?"?"+e:"")}return""},t.prototype.clearCache=function(t){B=t,delete j[t]},t.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],t.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new t},token:t,providedIn:"root"}),t}(),z=function(){function t(t,e,n,o,i){this.router=t,this.cf=e,this.activatedRoute=n,this.keepAlive=o,this.ref=i,this.singleReuseUrls=[],this.TAB_WIDTH=164,this.GAP_NORMAL=54,this.GAP_SMALL=30,this.tabList=[],this.selectedTab=0,this.maxTabs=10,this.screenWidth=window.innerWidth}return t.prototype.onResize=function(t){this.screenWidth=window.innerWidth,this.setEllipsisTitle()},t.prototype.ngOnInit=function(){var t=this;this.initTab(),this.router.events.pipe(r.filter((function(t){return t instanceof i.NavigationEnd}))).subscribe((function(){var e=t.router.getCurrentNavigation();if(e){var n=e.extras.state,o=t.router.routerState.root.firstChild;o&&t.setTab(t.router.url,o.snapshot.routeConfig.path,n&&n.title)}})),this.setEllipsisTitle()},t.prototype.setEllipsisTitle=function(t){var e=this;this.textGap=this.GAP_NORMAL,this.screenWidth<=1100&&(this.textGap=this.GAP_SMALL);var n=this.calcTabWidth(),o=n.allWidth,i=(n.leftWidth,n.rightWidth),r=Math.floor((o-i)/(this.tabList&&this.tabList.length));if(t)return this.cf.setMiddleEllipsis(t,r>this.TAB_WIDTH?this.TAB_WIDTH-this.textGap:r-this.textGap,12);this.tabList.forEach((function(t,n){t.displayTitle=e.cf.setMiddleEllipsis(t.title,r>e.TAB_WIDTH?e.TAB_WIDTH-e.textGap:r-e.textGap,12)}))},t.prototype.calcTabWidth=function(){var t,e,n,o=document.querySelector(".rs-multi-tab"),i=document.querySelector(".rs-multi-tab > ul"),r=document.querySelector(".rs-multi-tab .refresh-tab");if(o&&i&&r){var a=o.getBoundingClientRect(),s=i.getBoundingClientRect(),l=r.getBoundingClientRect();t=a.width,e=s.width,n=l.width}return{allWidth:t,leftWidth:e,rightWidth:n}},t.prototype.initTab=function(){var t=JSON.parse(sessionStorage.getItem("TabCache"));this.tabList=t||[]},t.prototype.closeTab=function(t,e){if(this.tabList=this.tabList.filter((function(e){return e.url!==t.url})),this.clearCache(t.url),this.selectedTab===e){var n=Math.max(0,e-1);this.changeTab(this.tabList[n],n)}this.setEllipsisTitle(),sessionStorage.setItem("TabCache",JSON.stringify(this.tabList)),this.ref.markForCheck()},t.prototype.changeTab=function(t,e){this.router.navigateByUrl(t.url),this.selectedTab=e,this.ref.markForCheck()},t.prototype.addTab=function(t,e){this.tabList.length>=this.maxTabs&&this.closeTab(this.tabList[0],0),this.tabList.push({url:t,title:e||"default",displayTitle:this.setEllipsisTitle(e||"default")}),this.selectedTab=this.tabList.length-1,this.setEllipsisTitle(),sessionStorage.setItem("TabCache",JSON.stringify(this.tabList)),this.ref.markForCheck()},t.prototype.setTab=function(t,e,n){var o=this,i=this.tabList.findIndex((function(e){return e.url===t}));if(-1===i){var r=this.singleReuseUrls.findIndex((function(t){return t===e}));-1!==r&&(this.tabList=this.tabList.filter((function(t){return!t.url.includes(o.singleReuseUrls[r])})),this.keepAlive.clearCache(t)),this.addTab(t,n)}else this.selectedTab=i,this.ref.markForCheck()},t.prototype.refreshTab=function(){var t=this;this.keepAlive.clearCache(this.tabList[this.selectedTab].url);var e=this.router.url;this.router.navigateByUrl("/",{skipLocationChange:!0}).then((function(){t.router.navigateByUrl(e)}))},t.prototype.clearCache=function(t){this.keepAlive.clearCache(t)},t.decorators=[{type:e.Component,args:[{selector:"rs-multi-tab",template:'<div class="rs-multi-tab">\r\n <ul>\r\n <ng-container *ngFor="let tab of tabList; let i = index">\r\n <li\r\n [ngClass]="selectedTab === i ? \'isSelect\' : \'notSelect\'"\r\n (click)="changeTab(tab, i)"\r\n >\r\n <ejs-tooltip\r\n id="notSelectTooltip"\r\n [showTipPointer]="false"\r\n [openDelay]="500"\r\n *ngIf="tab.displayTitle !== tab.title; else originText"\r\n style="height: 27px"\r\n >\r\n <ng-template #content>\r\n <div class="tooltip-content">\r\n {{ tab.title }}\r\n </div>\r\n </ng-template>\r\n <span class="tabTitle">{{ tab.displayTitle }}</span>\r\n </ejs-tooltip>\r\n <ng-template #originText>\r\n <span class="tabTitle">\r\n {{ tab.displayTitle }}\r\n </span>\r\n </ng-template>\r\n <span class="img-block" *ngIf="selectedTab !== i"></span>\r\n <img\r\n *ngIf="tabList.length !== 1"\r\n src="../../../assets/img/close-url.svg"\r\n (click)="closeTab(tab, i)"\r\n />\r\n </li>\r\n </ng-container>\r\n </ul>\r\n <div class="refresh-tab" (click)="refreshTab()">\r\n <img\r\n id="loadingIcon"\r\n alt\r\n class="refresh-btn"\r\n src="../../../assets/img/desktop-refresh-btn.svg"\r\n />\r\n <span>Refresh Current Tab</span>\r\n </div>\r\n</div>\r\n',styles:[".rs-multi-tab{border-bottom:1px solid #e5eaef;height:28px;width:100%;display:flex;justify-content:space-between}.rs-multi-tab ul{display:flex;margin:0 8px;padding:0;overflow:hidden;height:100%}.rs-multi-tab ul li{max-width:164px;padding:0 12px;display:flex;align-items:center;flex:auto;border:1px solid #e5eaef;border-bottom:none;color:#5f6f81;font-family:Arial;font-size:11px;font-style:normal;font-weight:400;line-height:28px;height:100%;background:#f8fafb;vertical-align:top;position:relative;cursor:default}.rs-multi-tab ul li .tabTitle{display:inline-block;white-space:nowrap;font-size:11px;font-family:Arial;font-style:normal;font-weight:400;line-height:16px;transition:width .3s}.rs-multi-tab ul li img{border-radius:4px;padding:4px;margin-left:6px;margin-top:1px;vertical-align:top;cursor:pointer}.rs-multi-tab ul li img:hover{background:#dce8f6}.rs-multi-tab ul li:not(:last-child){border-right:none}.rs-multi-tab ul li:first-of-type{border-top-left-radius:8px}.rs-multi-tab ul li:last-child{border-top-right-radius:8px}.rs-multi-tab ul .isSelect{color:#1f3f5c;background:#fff}.rs-multi-tab ul .notSelect img{display:none}.rs-multi-tab ul .notSelect .img-block{display:inline-block;width:22px}.rs-multi-tab ul .notSelect:hover{color:#1f3f5c;background-color:rgba(31,123,255,.04)}.rs-multi-tab ul .notSelect:hover .img-block{display:none}.rs-multi-tab ul .notSelect:hover img{display:inline-block}.rs-multi-tab .refresh-tab{cursor:pointer;text-align:right;color:#6c7c90;font-family:Arial;font-size:11px;font-style:normal;font-weight:400;line-height:28px;padding-right:12px}.rs-multi-tab .refresh-tab img{vertical-align:middle;margin-right:4px}.refresh-tab-loading{-webkit-animation:1s linear infinite spin;animation:1s linear infinite spin}@-webkit-keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.tooltip-content{padding:4px;color:#f8fafb;font-family:Arial;font-size:11px;font-style:normal;font-weight:400;line-height:14px}@media (max-width:1400px){.refresh-tab{padding-right:0!important}.refresh-tab span{display:none!important}}@media (max-width:1100px){.rs-multi-tab ul li img{position:absolute;right:3px;background-color:#fff}.notSelect:hover img{position:absolute;right:3px;background-color:#eff5fb}.img-block{display:none!important}}@media (max-width:600px){.rs-multi-tab ul li{padding:0 8px}.rs-multi-tab ul .notSelect .img-block{width:0!important}}"]}]}],t.ctorParameters=function(){return[{type:i.Router},{type:O},{type:i.ActivatedRoute},{type:N},{type:e.ChangeDetectorRef}]},t.propDecorators={singleReuseUrls:[{type:e.Input}],onResize:[{type:e.HostListener,args:["window:resize",["$event"]]}]},t}();var q=function(){function t(){this.isCollapsed=!1,this.lastLoginTime=new Date,this.toggleMenu=new e.EventEmitter,this.changeLanguage=new e.EventEmitter,this._langOptions=[]}return Object.defineProperty(t.prototype,"langOptions",{get:function(){return this._langOptions},set:function(t){this._langOptions=t,t&&t.length>0&&(this.currentLang=t.find((function(t){return t.defaultLang})))},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.translation=JSON.parse(localStorage.getItem("translation"))||{}},t.prototype.onToggleMenu=function(){this.toggleMenu.emit(!this.isCollapsed)},t.prototype.selectLanguage=function(t){this.currentLang=this.langOptions.find((function(e){return e.text===t.item.text})),this.changeLanguage.emit(this.currentLang.languageCode)},t.decorators=[{type:e.Component,args:[{selector:"rs-header",template:'<div class="rs-header">\r\n <div class="logo-wrap">\r\n <div class="toggle-menu-wrap">\r\n <img\r\n class="toggle-menu"\r\n src="../../../assets/img/toggle-menu-icon.svg"\r\n (click)="onToggleMenu()"\r\n />\r\n </div>\r\n <img\r\n class="logo"\r\n src="../../../assets/img/raise_logo_main.svg"\r\n alt="logo"\r\n />\r\n </div>\r\n <div class="bread-crumbs-wrap">\r\n <ng-content select="[breadCrumbs]"></ng-content>\r\n </div>\r\n <div class="rs-toolbar-wrap">\r\n <div class="quick-icon-group">\r\n <ng-content select="[toolbar]"></ng-content>\r\n </div>\r\n <div class="line"></div>\r\n <div class="langulage-wrap">\r\n <button\r\n class="e-btn text"\r\n ejs-dropdownbutton\r\n [items]="langOptions"\r\n (select)="selectLanguage($event)"\r\n >\r\n {{currentLang.text}}\r\n </button>\r\n </div>\r\n <div class="line"></div>\r\n <div class="last-login-wrap">\r\n {{ translation?.LAST_LOGIN || "Last Login" }}:\r\n {{ lastLoginTime | date : "dd MMM yy h:mm a" }}\r\n </div>\r\n <div class="line"></div>\r\n <div class="user-info-wrap">\r\n <ng-content select="[userInfo]"></ng-content>\r\n </div>\r\n </div>\r\n</div>\r\n',styles:[".rs-header{height:50px;background-color:var(--rs-container-bg);display:flex;justify-content:space-between}.rs-header .logo-wrap{width:240px;display:flex;padding:12px 0 0 20px}.rs-header .logo-wrap .toggle-menu-wrap{cursor:pointer;margin-right:8px}.rs-header .logo-wrap .logo{width:77px;height:32px}.rs-header .rs-toolbar-wrap,.rs-header .rs-toolbar-wrap .quick-icon-group{display:flex;align-items:center}.rs-header .rs-toolbar-wrap .quick-icon-group ::ng-deep .header-icon{width:24px;height:24px;display:flex;justify-content:center;align-items:center;margin-right:24px;cursor:pointer}.rs-header .rs-toolbar-wrap .quick-icon-group ::ng-deep .header-icon svg{width:16px;height:16px;color:#6c7c90;stroke:#6c7c90}.rs-header .rs-toolbar-wrap .quick-icon-group ::ng-deep .header-icon:hover{border-radius:4px;background:rgba(31,123,255,.04)}.rs-header .rs-toolbar-wrap .quick-icon-group ::ng-deep .header-icon:hover svg{color:#1f7bff;stroke:#1f7bff}.rs-header .rs-toolbar-wrap .line{width:1px;height:24px;background-color:var(--rs-border-color)}.rs-header .rs-toolbar-wrap .langulage-wrap{padding:0 16px}.rs-header .rs-toolbar-wrap .last-login-wrap{padding:0 16px;color:var(--rs-labels-color);font-size:11px;font-weight:400;line-height:1}.rs-header .rs-toolbar-wrap .user-info-wrap{padding:0 20px 0 16px}"]}]}],t.propDecorators={isCollapsed:[{type:e.Input}],lastLoginTime:[{type:e.Input}],langOptions:[{type:e.Input}],toggleMenu:[{type:e.Output}],changeLanguage:[{type:e.Output}]},t}();var F=function(){function t(){this.isCollapsed=!1,this.singleReuseUrls=[]}return t.prototype.ngOnInit=function(){},t.prototype.onRightAsideClick=function(){window.innerWidth<=992&&this.isCollapsed&&this.headerRef.onToggleMenu()},t.decorators=[{type:e.Component,args:[{selector:"rs-main-container",template:'<div class="app-main-container">\r\n <ng-content select="[headerSlot]"></ng-content>\r\n <div class="main-page">\r\n <div class="left-aside">\r\n <ng-content select="[leftAsideSlot]"></ng-content>\r\n </div>\r\n <div class="right-aside" [ngClass]="{ isCollapsed: isCollapsed }" (click)="onRightAsideClick()">\r\n <ng-content select="[multiTabSlot]"></ng-content>\r\n \x3c!-- <rs-multi-tab [singleReuseUrls]="singleReuseUrls"></rs-multi-tab> --\x3e\r\n <div class="router-content">\r\n <ng-content select="[routerSlot]"></ng-content>\r\n </div>\r\n <rs-footer></rs-footer>\r\n </div>\r\n </div>\r\n</div>\r\n',styles:['.app-main-container{display:flex;flex-direction:column;height:100vh}.app-main-container .main-page{flex:1;height:0;display:flex;background-color:var(--rs-container-bg)}.app-main-container .left-aside{height:100%}.app-main-container .right-aside{width:0;flex:1;display:flex;flex-direction:column;padding-right:12px}.app-main-container .right-aside .router-content{flex:1;overflow:auto}@media (max-width:992px){.app-main-container .right-aside.isCollapsed{position:relative}.app-main-container .right-aside.isCollapsed::after{content:" ";position:absolute;inset:0;background-color:rgba(0,0,0,.2)}}']}]}],t.propDecorators={headerRef:[{type:e.ContentChild,args:[q,{static:!0}]}],isCollapsed:[{type:e.Input}],singleReuseUrls:[{type:e.Input}]},t}();var U=function(){function t(){this.today=new Date}return t.prototype.ngOnInit=function(){},t.decorators=[{type:e.Component,args:[{selector:"rs-footer",template:'<div class="rs-footer">\r\n <span>\r\n RAISE<sup>®</sup> © \r\n {{ today | date : "yyyy" }}\r\n Linnovate Partners</span\r\n >\r\n</div>\r\n',styles:[".rs-footer{height:40px;padding:0 24px;display:flex;align-items:center;background-color:var(--rs-container-bg);color:var(--rs-labels-color);font-family:var(--rs-font-family);font-size:11px}"]}]}],t}();var H=function(){function t(t){this.router=t,this.toggleMenu=new e.EventEmitter,this.isCollapsed=!1,this.navList=[],this.currentNav=""}return t.prototype.ngOnInit=function(){var t=this;this.router.events.pipe(r.filter((function(t){return t instanceof i.NavigationEnd}))).subscribe((function(){t.currentNav=t.router.url}))},t.prototype.onNavClick=function(t){this.currentNav=t.url,this.router.navigate([t.url],{state:{title:t.label}}),window.innerWidth<=992&&this.isCollapsed&&this.toggleMenu.emit(!1)},t.decorators=[{type:e.Component,args:[{selector:"rs-aside",template:'<div class="rs-aside" [ngClass]="{ isCollapsed: isCollapsed }">\r\n <div class="nav-list">\r\n <div\r\n class="nav-item"\r\n [ngClass]="{ isCurrent: currentNav === nav.url }"\r\n *ngFor="let nav of navList"\r\n (click)="onNavClick(nav)"\r\n >\r\n <div class="nav-item-inner">\r\n <mat-icon class="menu-icon" [svgIcon]="nav.iconCode"></mat-icon>\r\n <span class="nav-text" [ngClass]="{ isCollapsed: isCollapsed }">{{\r\n nav.label\r\n }}</span>\r\n </div>\r\n </div>\r\n </div>\r\n <div class="bottom-iconbox" [ngClass]="{ isCollapsed: isCollapsed }">\r\n <ng-content select="[bottomIconBox]"></ng-content>\r\n </div>\r\n</div>\r\n',styles:['.rs-aside{display:flex;flex-direction:column;height:100%;width:240px;will-change:width;transition:width .3s;padding-right:16px}.rs-aside.isCollapsed{width:64px;padding-right:0}.rs-aside .nav-list{padding-top:12px;flex:1;overflow:auto;height:0}.rs-aside .nav-list .nav-item{height:32px;cursor:pointer;padding-left:11px}.rs-aside .nav-list .nav-item .nav-item-inner{display:flex;align-items:center;padding:8px 8px 8px 12px}.rs-aside .nav-list .nav-item .nav-item-inner ::ng-deep .menu-icon{width:33px;height:16px}.rs-aside .nav-list .nav-item .nav-item-inner ::ng-deep .menu-icon svg{width:16px;height:16px;color:#6c7c90;stroke:#6c7c90}.rs-aside .nav-list .nav-item:hover .nav-item-inner{border-radius:6px;background:rgba(31,123,255,.04)}.rs-aside .nav-list .nav-item:hover .nav-item-inner ::ng-deep .menu-icon svg{color:#44566c;stroke:#44566c}.rs-aside .nav-list .nav-item .nav-text{color:#5f6f81;font-family:Arial;font-size:12px;font-weight:400;line-height:16px;transition:.3s;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;position:relative;top:1px}@media (min-width:992px){.rs-aside .nav-list .nav-item .nav-text.isCollapsed{opacity:0;width:0}}.rs-aside .nav-list .nav-item.isCurrent{position:relative}.rs-aside .nav-list .nav-item.isCurrent .nav-text{color:#44566c;font-weight:700}.rs-aside .nav-list .nav-item.isCurrent::before{content:"";position:absolute;left:4px;top:8px;width:3px;height:16px;background-color:#1364b3;border-radius:2px}.rs-aside .bottom-iconbox{padding:12px 20px;height:48px;display:flex;gap:12px}.rs-aside .bottom-iconbox ::ng-deep .menu-bottom-icon{width:24px;height:24px;display:flex;justify-content:center;align-items:center;border:1px solid #eaedf0;border-radius:24px;cursor:pointer}.rs-aside .bottom-iconbox ::ng-deep .menu-bottom-icon svg{width:16px;height:16px;color:#6c7c90;stroke:#6c7c90}.rs-aside .bottom-iconbox ::ng-deep .menu-bottom-icon.disabled{cursor:default;opacity:.5}.rs-aside .bottom-iconbox ::ng-deep .menu-bottom-icon:not(.disabled):hover{background-color:#fff}.rs-aside .bottom-iconbox ::ng-deep .menu-bottom-icon:not(.disabled):hover svg{color:#1f7bff;stroke:#1f7bff}@media (min-width:992px){.rs-aside .bottom-iconbox.isCollapsed{flex-direction:column;height:auto}}@media (max-width:992px){.rs-aside{width:0;overflow:hidden;position:absolute;height:calc(100% - 50px);z-index:10;background-color:var(--rs-container-bg);padding-right:0}.rs-aside.isCollapsed{width:240px;padding-right:16px}}']}]}],t.ctorParameters=function(){return[{type:i.Router}]},t.propDecorators={toggleMenu:[{type:e.Output}],isCollapsed:[{type:e.Input}],navList:[{type:e.Input}]},t}();var G=function(){function t(){this.value=[],this.disabled=!1,this.error=!1,this.inputMinlength=3,this.inputMaxlength=30,this.valueChange=new e.EventEmitter,this.inputError=!1}return t.prototype.ngOnInit=function(){},t.prototype.onRemoveTag=function(t){var e=this.value.filter((function(e){return e!==t}));this.valueChange.emit(e)},t.prototype.onAddTag=function(t){var e=t.target.value;e&&this.verifyInputValue(e)&&(this.valueChange.emit(T(this.value,[e])),t.target.value="")},t.prototype.verifyInputValue=function(t){this.inputError=!1;var e=t.length;return!(this.value.includes(t)||e>this.inputMaxlength||e<this.inputMinlength)||(this.inputError=!0,!1)},t.prototype.onInput=function(){this.inputError=!1},t.decorators=[{type:e.Component,args:[{selector:"rs-tag-input",template:'<div\r\n class="form-tags"\r\n [ngClass]="{\r\n disabled: disabled,\r\n error: inputError || error\r\n }"\r\n>\r\n <div class="form-tags-item" *ngFor="let tag of value">\r\n <span>{{ tag }}</span>\r\n <span class="form-tags-remove" (click)="onRemoveTag(tag)"></span>\r\n </div>\r\n <input\r\n class="form-tags-input"\r\n (keyup.enter)="onAddTag($event)"\r\n (input)="onInput()"\r\n (blur)="onAddTag($event)"\r\n autocomplete="off"\r\n [minLength]="inputMinlength"\r\n [maxLength]="inputMaxlength"\r\n />\r\n</div>\r\n',styles:[".form-tags{display:flex;flex-flow:row wrap;border-radius:4px;overflow:hidden;gap:4px 8px;padding:3px 4px;min-height:28px;box-shadow:none;border-radius:var(--rs-input-border-radius);border:1px solid var(--rs-input-border-color);background-color:#fff;cursor:pointer}.form-tags:not(.error):not(.disabled):hover{box-shadow:0 0 3px 0 rgba(31,123,255,.4);border-color:var(--rs-input-hover-border-color)}.form-tags.error{border-color:var(--rs-input-error-border-color)!important}.form-tags.disabled{pointer-events:none;border-color:var(--rs-input-border-color)!important;font-size:var(--rs-input-font-size);color:var(--rs-input-disabled-color)!important;background-color:var(--rs-input-disabled-bg)!important;-webkit-text-fill-color:var(--rs-input-disabled-color)!important}.form-tags.disabled .form-tags-input{background-color:var(--rs-input-disabled-bg)!important}.form-tags .form-tags-input{flex:auto;width:auto;padding:0 4px;border:none;outline:0;font-size:var(--rs-input-font-size);color:var(--rs-input-color)!important}.form-tags .form-tags-item{box-sizing:border-box;height:20px;padding:0 8px;border:1px solid #eaedf0;border-radius:12px;background-color:#f8fafb;color:#44566c;font-family:Arial;font-size:11px;font-style:normal;font-weight:400;line-height:12px;display:flex;flex-flow:row nowrap;align-items:center;position:relative}.form-tags .form-tags-item .form-tags-remove{visibility:hidden;width:20px;height:20px;border:1px solid #dbe1e7;border-radius:20px;background-color:#fff;line-height:18px;text-align:center;position:absolute;top:-1px;right:-1px}.form-tags .form-tags-item .form-tags-remove::after{content:url(/assets/img/tag-remove.svg);cursor:pointer}.form-tags .form-tags-item:hover .form-tags-remove{visibility:visible}"]}]}],t.propDecorators={value:[{type:e.Input}],fields:[{type:e.Input}],disabled:[{type:e.Input}],error:[{type:e.Input}],inputMinlength:[{type:e.Input}],inputMaxlength:[{type:e.Input}],valueChange:[{type:e.Output}]},t}();var V=function(){function t(){this.dataSource=[],this.orientation="horizontal",this.fields={text:"text",value:"value",disabled:"disabled"},this.disabled=!1,this.error=!1,this.valueChange=new e.EventEmitter}return t.prototype.ngOnInit=function(){},t.prototype.onChange=function(t){var e=t.value;this.valueChange.emit(e)},t.decorators=[{type:e.Component,args:[{selector:"rs-radio-group",template:'<div class="radio-group" [ngClass]="[orientation, error ? \'error\' : \'\']">\r\n <div class="radio-item" *ngFor="let option of dataSource">\r\n <ejs-radiobutton\r\n [label]="option[fields.text]"\r\n [(ngModel)]="value"\r\n [value]="option[fields.value]"\r\n [disabled]="option[fields.disabled] || disabled"\r\n (change)="onChange($event)"\r\n ></ejs-radiobutton>\r\n </div>\r\n</div>\r\n',styles:['.radio-group{display:flex;padding-left:4px}.radio-group.horizontal{flex-direction:row;gap:35px}.radio-group.vertical{flex-direction:column;gap:14px}.radio-group .radio-item .e-radio:disabled+label::before{border-color:rgba(209,209,209,.5);background-color:rgba(234,237,240,.35)}.radio-group .radio-item .e-radio:checked+label::before{background-color:var(--rs-active-color);border-color:var(--rs-active-color);box-shadow:none}.radio-group .radio-item .e-radio:checked+label::after{content:""!important;display:block;width:11px;height:8px;background-image:url(/assets/img/checked-vector.svg);background-size:cover;background-position:center;background-color:transparent;transform:scale(1);left:2px;top:3px;border:0;border-radius:0}.radio-group .radio-item .e-label{color:var(--rs-label-color);font-family:var(--rs-font-family);font-size:var(--rs-font-size);font-weight:400;line-height:14px}']}]}],t.propDecorators={value:[{type:e.Input}],dataSource:[{type:e.Input}],orientation:[{type:e.Input}],fields:[{type:e.Input}],disabled:[{type:e.Input}],error:[{type:e.Input}],valueChange:[{type:e.Output}]},t}();var W=function(){function t(t){this.ref=t,this.value=[],this.dataSource=[],this.orientation="horizontal",this.fields={text:"text",value:"value",disabled:"disabled"},this.disabled=!1,this.error=!1,this.valueChange=new e.EventEmitter}return t.prototype.ngOnInit=function(){console.log("first",this.value)},t.prototype.onChange=function(t,e){var n,o=this,i=this.value;n=t.checked?T(i,[e[this.fields.value]]):i.filter((function(t){return t!==e[o.fields.value]})),this.valueChange.emit(n),this.ref.markForCheck()},t.decorators=[{type:e.Component,args:[{selector:"rs-checkbox-group",template:'<div class="checkbox-group" [ngClass]="[orientation, error ? \'error\' : \'\']">\r\n <div class="checkbox-item" *ngFor="let option of dataSource">\r\n <ejs-checkbox\r\n [name]="name"\r\n [label]="option[fields.text]"\r\n [value]="option[fields.value]"\r\n [disabled]="option[fields.disabled] || disabled"\r\n [checked]="value.includes(option[fields.value])"\r\n (change)="onChange($event, option)"\r\n ></ejs-checkbox>\r\n </div>\r\n</div>\r\n',styles:['.checkbox-group{display:flex;padding-left:4px}.checkbox-group.horizontal{flex-direction:row;gap:35px}.checkbox-group.vertical{flex-direction:column;gap:14px}.checkbox-group .checkbox-item .e-label{color:var(--rs-label-color);font-family:var(--rs-font-family);font-size:var(--rs-font-size);font-weight:400;line-height:14px}.checkbox-group .checkbox-item .e-checkbox-wrapper.e-checkbox-disabled .e-icons{border-color:rgba(209,209,209,.5);background-color:rgba(234,237,240,.35)}.checkbox-group .checkbox-item .e-icons{box-shadow:none!important}.checkbox-group .checkbox-item .e-icons.e-check{background-color:var(--rs-active-color);border-color:var(--rs-active-color)}.checkbox-group .checkbox-item .e-icons.e-check::before{content:""!important;display:block;width:11px;height:8px;background-image:url(/assets/img/checked-vector.svg);background-size:cover;background-position:center;background-color:transparent;margin:2px auto}']}]}],t.ctorParameters=function(){return[{type:e.ChangeDetectorRef}]},t.propDecorators={name:[{type:e.Input}],value:[{type:e.Input}],dataSource:[{type:e.Input}],orientation:[{type:e.Input}],fields:[{type:e.Input}],disabled:[{type:e.Input}],error:[{type:e.Input}],valueChange:[{type:e.Output}]},t}();var $=function(){function t(){this.orientation="front",this.disabled=!1,this.error=!1,this.valueChange=new e.EventEmitter}return t.prototype.ngOnInit=function(){},t.prototype.onChange=function(t){var e=t.checked;this.valueChange.emit(e)},t.prototype.onClick=function(){var t=!this.value;this.valueChange.emit(t)},t.decorators=[{type:e.Component,args:[{selector:"rs-switch-input",template:'<div class="rs-switch" [ngClass]="[orientation, error ? \'error\' : \'\', disabled ? \'disabled\' : \'\']">\r\n <label class="switch-label" (click)="onClick()"> {{ text }} </label>\r\n <ejs-switch\r\n [(ngModel)]="value"\r\n [disabled]="disabled"\r\n (change)="onChange($event)"\r\n ></ejs-switch>\r\n</div>\r\n',styles:[".rs-switch{display:flex;align-items:center;gap:8px}.rs-switch.behind{flex-direction:row-reverse;justify-content:flex-end}.rs-switch .switch-label{color:var(--rs-label-color);font-family:var(--rs-font-family);font-size:var(--rs-font-size);cursor:pointer}.rs-switch.disabled .switch-label{cursor:default;pointer-events:none}.rs-switch .e-switch-wrapper{width:28px}.rs-switch .e-switch-wrapper .e-switch-inner{border:1px solid #adb5bd}.rs-switch .e-switch-wrapper .e-switch-inner.e-switch-active{background-color:var(--rs-active-color);border-color:var(--rs-active-color)}.rs-switch .e-switch-wrapper .e-switch-handle{background-color:#fff;border:1px solid #adb5bd;left:2px}.rs-switch .e-switch-wrapper .e-switch-handle.e-switch-active{background-color:#fff;border-color:var(--rs-active-color);left:100%}.rs-switch .e-switch-wrapper.e-switch-disabled .e-switch-handle{background-color:#e9ecef;opacity:.5}.rs-switch .e-switch-wrapper.e-switch-disabled .e-switch-handle.e-switch-active{border-color:rgba(0,129,255,.5)}.rs-switch .e-switch-wrapper .e-switch-on{background-color:var(--rs-active-color);color:#fff}"]}]}],t.propDecorators={value:[{type:e.Input}],text:[{type:e.Input}],orientation:[{type:e.Input}],disabled:[{type:e.Input}],error:[{type:e.Input}],valueChange:[{type:e.Output}]},t}();var K=function(){function t(t,e){this.registry=t,this.domSanitizer=e}return t.prototype.registerIcons=function(t){var e=this;t.forEach((function(t){var n=t.name,o=t.path;e.registry.addSvgIcon(n,e.domSanitizer.bypassSecurityTrustResourceUrl(o))}))},t.decorators=[{type:e.Injectable}],t.ctorParameters=function(){return[{type:a.MatIconRegistry},{type:s.DomSanitizer}]},t}();var J=function(){function t(t){this.data=t,this.collapsed=!1}return t.prototype.ngAfterViewInit=function(){var t=this;"Loading"===this.config.type&&this.config.loadingCallback((function(e){if(e.done)return t.config.snackBar.dismiss()}))},t.prototype.closeNotification=function(){"Loading"===this.config.type?this.collapsed=!0:this.config.snackBar.dismiss()},t.prototype.expandNotification=function(){"Loading"===this.config.type&&this.collapsed&&(this.collapsed=!1)},Object.defineProperty(t.prototype,"config",{get:function(){return E({status:"Success",type:"Text"},this.data)},enumerable:!0,configurable:!0}),t.decorators=[{type:e.Component,args:[{selector:"kt-new-action-notification",template:'<div class="new-action-notification-container" [attr.data-collapse]="collapsed">\r\n\t<span\r\n\t\tclass="notification-icon"\r\n\t\t[attr.data-type]="config.type === \'Loading\' ? \'loading\' : \'default\'"\r\n\t\t[attr.data-status]="config.status?.toLowerCase()"\r\n\t\t(click)="expandNotification()"\r\n\t></span>\r\n\t<span\r\n\t\tclass="notification-icon notification-loading"\r\n\t\t*ngIf="config.type === \'Progress\'"\r\n\t></span>\r\n\t<div class="notification-content">\r\n\t\t<span *ngIf="config.type === \'Detail\'" class="notification-title">\r\n\t\t\t{{ config.title }}\r\n\t\t</span>\r\n\t\t<span class="notification-text">{{ config.message }}</span>\r\n\t\t<a *ngIf="config.type === \'Detail\'" class="notification-link">View</a>\r\n\t</div>\r\n\t<button\r\n\t\ttype="button"\r\n\t\tclass="notification-close"\r\n\t\t[attr.data-type]="config.type === \'Loading\' ? \'loading\' : \'default\'"\r\n\t\t(click)="closeNotification()"\r\n\t></button>\r\n</div>\r\n',styles:["::ng-deep .new-action-notification{margin:0;padding:64px 12px;background-color:transparent!important;background-image:none!important;box-shadow:none}::ng-deep .mat-mdc-snack-bar-container .mdc-snackbar__surface{box-shadow:none;background-color:transparent}.new-action-notification-container{min-width:320px;max-width:400px;padding:12px;border-radius:10px;background-color:#fff;box-shadow:0 0 8px 0 #00000033;display:flex;flex-flow:row nowrap;align-items:flex-start;justify-content:flex-end}.new-action-notification-container .notification-icon{flex:none;width:24px;height:24px;margin-right:8px}.new-action-notification-container .notification-icon[data-type=default][data-status=success]::before{content:url(../../assets/img/notification-status-success.svg)}.new-action-notification-container .notification-icon[data-type=default][data-status=warning]::before{content:url(../../assets/img/notification-status-warning.svg)}.new-action-notification-container .notification-icon[data-type=default][data-status=error]::before{content:url(../../assets/img/notification-status-error.svg)}.new-action-notification-container .notification-icon[data-type=loading]{-webkit-animation:2s linear infinite rotate;animation:2s linear infinite rotate}@-webkit-keyframes rotate{from{transform:rotate(360deg)}to{transform:rotate(0)}}@keyframes rotate{from{transform:rotate(360deg)}to{transform:rotate(0)}}.new-action-notification-container .notification-icon[data-type=loading]::before{content:url(../../assets/img/notification-status-loading.svg)}.new-action-notification-container .notification-close{flex:none;height:24px;margin-left:24px;padding:0;border:none;background-color:transparent}.new-action-notification-container .notification-close[data-type=default]::before{content:url(../../assets/img/notification-close.svg)}.new-action-notification-container .notification-close[data-type=loading]::before{content:url(../../assets/img/notification-collapse.svg)}.new-action-notification-container .notification-content{flex:auto;min-height:24px;padding-top:4px;display:flex;flex-flow:column nowrap}.new-action-notification-container .notification-content .notification-title{margin-bottom:8px;color:#44566c;font-family:Arial;font-size:13px;font-style:normal;font-weight:700;line-height:19px}.new-action-notification-container .notification-content .notification-text{color:#1f3f5c;font-family:Arial;font-size:12px;font-style:normal;font-weight:400;line-height:16px}.new-action-notification-container .notification-content .notification-link{margin-top:6px;cursor:pointer;color:#1364b3;font-family:Arial;font-size:12px;font-style:normal;font-weight:400;line-height:14px}.new-action-notification-container[data-collapse=true]{padding:0;background-color:transparent;box-shadow:none}.new-action-notification-container[data-collapse=true] .notification-icon{cursor:pointer}.new-action-notification-container[data-collapse=true] .notification-close,.new-action-notification-container[data-collapse=true] .notification-content{display:none}"]}]}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:e.Inject,args:[l.MAT_SNACK_BAR_DATA]}]}]},t}();var Y=function(){function t(t,e){this.data=t,this.dialogRef=e,this.title="",this.saveBtnLabel="",this.cancelBtnLabel="",this.description="",this.size="small"}return t.prototype.ngOnInit=function(){this.translation=JSON.parse(localStorage.getItem("translation"))||{},this.title=this.data.title||this.translation.DELETE_RECORD||".DELETE_RECORD",this.saveBtnLabel=this.data.saveBtnLabel||this.translation.DELETE||".DELETE",this.cancelBtnLabel=this.data.cancelBtnLabel||this.translation.CANCEL||".CANCEL",this.description=this.data.description||this.translation.IF_YOU_DELETE_THIS_RECORD_WARNING||".If you delete this record, you won't be able to recover it. Do you want to delete it?",this.size=this.data.size||"small"},t.prototype.onSave=function(t){this.dialogRef.close(t)},t.decorators=[{type:e.Component,args:[{selector:"kt-common-delete-dialog",template:'<kt-common-dialog\r\n\t[size]="size"\r\n\t[title]="title"\r\n\t[hideHeader]="false"\r\n\t[hideCloseBtn]="data.hideCloseBtn === undefined ? false : data.hideCloseBtn"\r\n\t[hideSaveBtn]="data.hideSaveBtn === undefined ? false : data.hideSaveBtn"\r\n\t[saveBtnLabel]="saveBtnLabel"\r\n\t[cancelBtnLabel]="cancelBtnLabel"\r\n\t[showErrorIcon]="\r\n\t\tdata.showErrorIcon === undefined ? false : data.showErrorIcon\r\n\t"\r\n\t[hideCloseIcon]="\r\n\t\tdata.hideCloseIcon === undefined ? false : data.hideCloseIcon\r\n\t"\r\n\t(saveEmit)="onSave($event)"\r\n>\r\n\t<div class="mapping-dialog">\r\n\t\t{{ description }}\r\n\t</div>\r\n</kt-common-dialog>\r\n',styles:[".mapping-dialog{color:#44566c;font-family:Arial;font-size:12px;line-height:16px;white-space:pre-line}"]}]}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:e.Inject,args:[c.MAT_DIALOG_DATA]}]},{type:c.MatDialogRef}]},t}();var Q={Create:0,Read:1,Update:2,Delete:3};Q[Q.Create]="Create",Q[Q.Read]="Read",Q[Q.Update]="Update",Q[Q.Delete]="Delete";var X=function(){function t(t,e){this.snackBar=t,this.dialog=e,this.translation=null,this.translation=JSON.parse(localStorage.getItem("translation"))||{}}return t.prototype.showLoadingNotification=function(t){return this.snackBar.openFromComponent(J,{data:E({},t,{message:t.message||this.translation.DOWNLOAD_IS_IN_PROGRESS||".Download is in progress",snackBar:this.snackBar,type:"Loading"}),verticalPosition:"top",horizontalPosition:"right",panelClass:"new-action-notification"})},t.prototype.showNotification=function(t,e){return this.snackBar.openFromComponent(J,{data:E({message:t,snackBar:this.snackBar},e||{}),duration:e&&e.duration||3e3,verticalPosition:"top",horizontalPosition:"right",panelClass:"new-action-notification"})},t.prototype.deleteElement=function(){return this.dialog.open(Y,{data:{},panelClass:"rs-dialog-wrap"})},t.prototype.showCommonDilaog=function(t){return this.dialog.open(Y,{data:t,panelClass:"rs-dialog-wrap"})},t.prototype.showUnsavedChanges=function(t){var e={title:this.translation.UNSAVED_CHANGES||".UNSAVED_CHANGES",description:this.translation.YOU_HAVE_UNSAVED_CHANGED_ARE_YOU_SURE_YOU_WANT_TO_DISCARD_THEM||".YOU_HAVE_UNSAVED_CHANGED_ARE_YOU_SURE_YOU_WANT_TO_DISCARD_THEM",saveBtnLabel:this.translation.DISCARD_CHANGES||".DISCARD_CHANGES",cancelBtnLabel:this.translation.CONTINUE_EDITING||".CONTINUE_EDITING"};return t=t?Object.assign(e,t):e,this.dialog.open(Y,{data:t,panelClass:"rs-dialog-wrap"})},t.prototype.showSucMsg=function(t){this.showMessage(t,Q.Create)},t.prototype.showUpdateMsg=function(t){this.showMessage(t,Q.Update)},t.prototype.showDelMsg=function(t){this.showMessage(t,Q.Delete)},t.prototype.showMessage=function(t,e){void 0===e&&(e=Q.Create);var n=this.translation.SAVESUCCESS||".SAVESUCCESS";switch(e){case Q.Update:n=this.translation.UPDATESUCCESS||".UPDATESUCCESS";break;case Q.Delete:n=this.translation.DELETESUCCESS||".DELETESUCCESS"}"ERROR"===t.status&&(n=t.messages[0].message),this.showNotification(n,{status:"ERROR"===t.status?"Error":"Success"})},t.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:l.MatSnackBar},{type:c.MatDialog}]},t.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new t(e.ɵɵinject(l.MatSnackBar),e.ɵɵinject(c.MatDialog))},token:t,providedIn:"root"}),t}();var Z=function(){function t(t){this.dialogRef=t,this.hideHeader=!1,this.hideCloseIcon=!1,this.hideCloseBtn=!1,this.hideSaveBtn=!1,this.saveBtnLabel="",this.cancelBtnLabel="",this.showErrorIcon=!1,this.size="",this.title="Dialog",this.loading=!1,this.saveEmit=new e.EventEmitter,this.closeEmit=new e.EventEmitter,this.customFooter=!1}return t.prototype.ngAfterContentInit=function(){this.customFooter=!!this.footerContent},t.prototype.ngOnInit=function(){this.getInfo()},t.prototype.onClose=function(t){this.dialogRef.close(t),this.closeEmit.emit(t)},t.prototype.onSave=function(){var t=this;this.saveEmit.emit((function(e){t.onClose(e)}))},t.prototype.getInfo=function(){this.translation=JSON.parse(localStorage.getItem("translation"))||{},this.saveBtnLabel=this.saveBtnLabel||this.translation.SAVE||".SAVE",this.cancelBtnLabel=this.cancelBtnLabel||this.translation.CANCEL||".CANCEL"},t.decorators=[{type:e.Component,args:[{selector:"kt-common-dialog",template:'<div class="dialog" [ngClass]="size">\r\n\t\x3c!-- 头部 --\x3e\r\n\t<div *ngIf="!hideHeader" mat-dialog-title class="dialog__header">\r\n\t\t<div class="header__title">\r\n\t\t\t<img\r\n\t\t\t\tsrc="../../../assets/img/notification-status-warning.svg"\r\n\t\t\t\talt=""\r\n\t\t\t\t*ngIf="showErrorIcon"\r\n\t\t\t/>\r\n\t\t\t{{ title }}\r\n\t\t</div>\r\n\t\t<div\r\n\t\t\t*ngIf="!hideCloseIcon"\r\n\t\t\tclass="header__close-btn"\r\n\t\t\t(click)="onClose()"\r\n\t\t>\r\n\t\t\t<img\r\n\t\t\t\tclass="header__close-icon"\r\n\t\t\t\tsrc="../../../assets/img/close.svg"\r\n\t\t\t/>\r\n\t\t</div>\r\n\t</div>\r\n\t\x3c!-- 内容 --\x3e\r\n\t<div class="dialog__content" mat-dialog-content>\r\n\t\t<ng-content></ng-content>\r\n\t</div>\r\n\t\x3c!-- 底部按钮 --\x3e\r\n\t<div mat-dialog-actions class="dialog__footer">\r\n\t\t<ng-content select="[footerSlot]"></ng-content>\r\n\t\t\x3c!-- 默认展示保存/关闭按钮 --\x3e\r\n\t\t<ng-container *ngIf="!customFooter">\r\n\t\t\t<ng-template [ngTemplateOutlet]="defaultTemplate"></ng-template>\r\n\t\t</ng-container>\r\n\t\t<ng-template #defaultTemplate>\r\n\t\t\t<button *ngIf="!hideCloseBtn" class="e-btn" [ngClass]="size" mat-dialog-close>\r\n\t\t\t\t{{ cancelBtnLabel }}\r\n\t\t\t</button>\r\n\t\t\t<button *ngIf="!hideSaveBtn" class="e-btn e-primary" [ngClass]="size" (click)="onSave()">\r\n\t\t\t\t{{ saveBtnLabel }}\r\n\t\t\t</button>\r\n\t\t</ng-template>\r\n\t</div>\r\n\t\x3c!-- loading --\x3e\r\n\t<div class="dialog__loading" [hidden]="!loading">\r\n\t\t<img src="../../../assets/img/raise_loading.gif" alt="" />\r\n\t</div>\r\n</div>\r\n',styles:[":host::ng-deep .dialog{position:relative;max-height:90vh;font-weight:400;overflow:hidden}:host::ng-deep .dialog.medium{width:500px;padding:20px}:host::ng-deep .dialog.small{width:350px;padding:20px 16px}:host::ng-deep .dialog.small .dialog__header{color:#002c4f;margin-bottom:16px}:host::ng-deep .dialog.small .dialog__header .header__title{font-size:13px;line-height:16px}:host::ng-deep .dialog.small .dialog__content{font-size:12px;line-height:16px}:host::ng-deep .dialog.small .dialog__footer{min-height:42px;padding:16px 0 0;font-size:12px;line-height:14px}:host::ng-deep .dialog.small .dialog__footer button{padding:6px 12px;min-width:60px}:host::ng-deep .dialog.large{width:800px;padding:20px}:host::ng-deep .dialog .dialog__header{width:100%;display:flex;justify-content:space-between;align-items:center;padding:0}:host::ng-deep .dialog .dialog__header::before{display:none}:host::ng-deep .dialog .dialog__header .header__title{color:#002c4f;font-family:Arial;font-size:15px;font-weight:700;line-height:18px;flex:1;overflow:hidden;display:flex;align-items:center;gap:8px}:host::ng-deep .dialog .dialog__header .header__close-icon{display:block;width:100%;height:100%}:host::ng-deep .dialog .dialog__header .header__close-btn{cursor:pointer;flex:0 0 20px;padding:4px;width:20px;height:20px;display:flex;justify-content:center;align-items:center}:host::ng-deep .dialog .dialog__content{width:100%;min-height:38px;position:relative;overflow-y:auto;overflow-x:hidden;margin:0;padding:0;font-size:13px;line-height:19px}:host::ng-deep .dialog .dialog__footer{position:relative;display:flex;align-items:center;justify-content:flex-end;padding:20px 0 0;font-size:13px;line-height:16px;margin-bottom:0}:host::ng-deep .dialog .dialog__footer button{border-radius:4px;padding:6px 16px;border:none;min-width:70px}:host::ng-deep .dialog .dialog__footer button+button{margin-left:12px}:host::ng-deep .dialog .dialog__footer .save-btn{background:#1364b3;border:1px solid #1364b3;font-weight:700;color:#fff}:host::ng-deep .dialog .dialog__footer .cancel-btn{border:1px solid #adb5bd;background:#fff}:host::ng-deep .dialog .dialog__loading{height:100%;background:0 0;position:fixed;top:0;left:0;right:0;bottom:0;z-index:9999}:host::ng-deep .dialog .dialog__loading img{position:absolute;left:50%;top:50%;width:40px;height:40px;transform:translate(-50%,-50%)}"]}]}],t.ctorParameters=function(){return[{type:c.MatDialogRef}]},t.propDecorators={hideHeader:[{type:e.Input}],hideCloseIcon:[{type:e.Input}],hideCloseBtn:[{type:e.Input}],hideSaveBtn:[{type:e.Input}],saveBtnLabel:[{type:e.Input}],cancelBtnLabel:[{type:e.Input}],showErrorIcon:[{type:e.Input}],size:[{type:e.Input}],title:[{type:e.Input}],loading:[{type:e.Input}],saveEmit:[{type:e.Output}],closeEmit:[{type:e.Output}],footerContent:[{type:e.ContentChild,args:["footerSlot",{static:!0}]}]},t}();var tt=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{declarations:[_,D,A,L,R,q,U,H,z,F,G,V,W,$,J,Z,Y],imports:[u.CommonModule,d.HttpClientModule,p.ReactiveFormsModule,p.FormsModule,l.MatSnackBarModule,c.MatDialogModule,a.MatIconModule,n.GridModule,n.PagerModule,n.GridAllModule,g.SwitchModule,g.CheckBoxModule,g.RadioButtonModule,g.ButtonModule,h.DiagramModule,f.TooltipModule,f.DialogModule,m.DatePickerModule,m.DateRangePickerModule,m.DateTimePickerModule,b.TextBoxModule,b.ColorPickerModule,b.UploaderModule,b.NumericTextBoxModule,x.DropDownListModule,x.DropDownTreeModule,x.MultiSelectAllModule,x.AutoCompleteModule,x.ListBoxModule,v.PivotViewAllModule,v.PivotFieldListAllModule,y.ChartAllModule,y.AccumulationChartAllModule,y.RangeNavigatorAllModule,y.AccumulationChartModule,w.DashboardLayoutModule,C.CarouselAllModule,C.ToolbarModule,C.TabModule,k.PdfViewerModule,I.DropDownButtonModule,I.SplitButtonModule,S.RichTextEditorAllModule],providers:[n.PageService,n.SortService,n.FilterService,n.ExcelExportService,n.EditService,n.ResizeService,n.ToolbarService,n.ColumnChooserService,n.AggregateService,n.ColumnMenuService,n.DetailRowService,n.SelectionService,n.GroupService,y.PieSeriesService,y.AccumulationLegendService,y.AccumulationTooltipService,y.AccumulationAnnotationService,y.AccumulationDataLabelService,k.LinkAnnotationService,k.BookmarkViewService,k.MagnificationService,k.ThumbnailViewService,k.ToolbarService,k.NavigationService,k.TextSearchService,k.TextSelectionService,k.PrintService,S.HtmlEditorService,S.ToolbarService,O,K,X,N],exports:[u.CommonModule,d.HttpClientModule,p.ReactiveFormsModule,p.FormsModule,l.MatSnackBarModule,c.MatDialogModule,n.GridModule,n.PagerModule,n.GridAllModule,g.SwitchModule,g.CheckBoxModule,g.RadioButtonModule,g.ButtonModule,h.DiagramModule,f.TooltipModule,f.DialogModule,m.DatePickerModule,m.DateRangePickerModule,m.DateTimePickerModule,b.TextBoxModule,b.ColorPickerModule,b.UploaderModule,b.NumericTextBoxModule,x.DropDownListModule,x.DropDownTreeModule,x.MultiSelectAllModule,x.AutoCompleteModule,x.ListBoxModule,v.PivotViewAllModule,v.PivotFieldListAllModule,y.ChartAllModule,y.AccumulationChartAllModule,y.RangeNavigatorAllModule,y.AccumulationChartModule,w.DashboardLayoutModule,C.CarouselAllModule,C.ToolbarModule,C.TabModule,k.PdfViewerModule,I.DropDownButtonModule,I.SplitButtonModule,S.RichTextEditorAllModule,_,D,A,L,R,q,U,H,z,F,G,V,W,$],entryComponents:[J,Z,Y]}]}],t}();t.CheckboxGroupComponent=W,t.CommonFunctionService=O,t.CommonGridComponent=_,t.DialogService=X,t.FloatBoxComponent=D,t.GridBoxComponent=R,t.IconLoaderService=K,t.KeepAliveService=N,t.MainContainerComponent=F,t.MessageType=Q,t.MultiTabComponent=z,t.RSAsideComponent=H,t.RSFooterComponent=U,t.RSHeaderComponent=q,t.RadioGroupComponent=V,t.RaiseCommonLibModule=tt,t.RsPageListComponent=A,t.RsPageTabComponent=L,t.SwitchInputComponent=$,t.TagInputComponent=G,t.ɵa=J,t.ɵb=Z,t.ɵc=Y,Object.defineProperty(t,"__esModule",{value:!0})}));
|
|
15
|
+
***************************************************************************** */var E=function(){return(E=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function M(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var o,i,r=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(o=r.next()).done;)a.push(o.value)}catch(t){i={error:t}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(i)throw i.error}}return a}function T(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(M(arguments[e]));return t}var _=function(){function t(t){this.ref=t,this.showCheckBox=!0,this.loaded=!0,this.hiddenLoaded=!1,this.authorized=!0,this.selectedDiffKey="",this.gridHeight="",this.gridId="grid",this.resizeSettings={mode:"Auto"},this.filterSettings={type:"Menu"},this.fields=[],this.dataSource=[],this.allowPaging=!0,this.clipMode="EllipsisWithTooltip",this.checkBoxWidth=32,this.contextMenuItems=[],this.selectionSettings={type:"Multiple",checkboxOnly:!0},this.alwaysShowCheckbox=!1,this.disableSystemRow=!1,this.recordDoubleClick=new e.EventEmitter,this.actionComplete=new e.EventEmitter,this.rowSelected=new e.EventEmitter,this.rowDeselected=new e.EventEmitter,this.onContextMenu=new e.EventEmitter,this.actionHandler=new e.EventEmitter,this.queryCellInfo=new e.EventEmitter,this.recordClick=new e.EventEmitter,this.actionBegin=new e.EventEmitter,this.rowDataBound=new e.EventEmitter,this.dataBound=new e.EventEmitter,this.exportQueryCellInfo=new e.EventEmitter,this.rowSelecting=new e.EventEmitter,this.selectId=[],this.startPaging=!1,this.indexList=[],this.className="grid-loading",this.translation=JSON.parse(localStorage.getItem("translation"))}return t.prototype.ngOnInit=function(){this.hiddenLoaded&&(this.className=""),this.ref&&this.ref.markForCheck()},t.prototype.trackByFn=function(t,e){return t},t.prototype.ngOnChanges=function(t){t.dataSource&&t.dataSource.currentValue&&this.allowPaging&&t.dataSource.currentValue.length&&!this.pageSettings&&(this.pageSettings=t.dataSource.currentValue.length>9?{pageSizes:["All","25","50","100"],pageSize:50}:null)},t.prototype._load=function(){this.authorized||(this.grid.localeObj.localeStrings.EmptyRecord=this.translation.YOU_DO_NOT_HAVE_THE_DATASET_PERMISSION||"You don't have the dataset permission to view the record.")},t.prototype._dataBound=function(t){var e=this,n=document.querySelector(".e-pagercontainer");n&&n.querySelectorAll(".e-link").forEach((function(t){t.removeAttribute("href")}));this.selectedDiffKey&&setTimeout((function(){e.chooseRecords()})),this.dataBound.emit(t)},t.prototype._exportQueryCellInfo=function(t){this.exportQueryCellInfo.emit(t)},t.prototype._recordDoubleClick=function(t){this.recordDoubleClick.emit(t)},t.prototype._rowSelected=function(t){var e=this;this.selectedDiffKey&&(t.isHeaderCheckboxClicked&&Array.isArray(t.data)?t.data&&t.data.length&&(t.data.forEach((function(t){t.isSelected=!0,e.selectId.push(t)})),this.dataSource.forEach((function(n){t.data.forEach((function(t){t[e.selectedDiffKey]===n[e.selectedDiffKey]&&(n.isSelected=!0)}))}))):(t.data.isSelected=!0,this.selectId.push(t.data),this.dataSource.forEach((function(n){n[e.selectedDiffKey]===t.data[e.selectedDiffKey]&&(n.isSelected=!0)}))),this.ref&&this.ref.markForCheck()),this.rowSelected.emit(t)},t.prototype._rowDeselected=function(t){var e=this;if(this.selectedDiffKey){if(this.startPaging)return;t.isHeaderCheckboxClicked&&Array.isArray(t.data)?(t.data.forEach((function(t){t.isSelected=!1})),this.selectId=[],this.dataSource.forEach((function(n){t.data.forEach((function(t){t[e.selectedDiffKey]===n[e.selectedDiffKey]&&(n.isSelected=!1)}))}))):(t.data.isSelected=!1,this.selectId=this.selectId.filter((function(n){return n[e.selectedDiffKey]!==t.data[e.selectedDiffKey]})),this.dataSource.forEach((function(n){n[e.selectedDiffKey]===t.data[e.selectedDiffKey]&&(n.isSelected=!1)}))),this.ref&&this.ref.markForCheck()}this.rowDeselected.emit(t)},t.prototype._onContextMenu=function(t){this.onContextMenu.emit(t)},t.prototype._actionBegin=function(t){!this.selectedDiffKey||"paging"!==t.requestType&&"searching"!==t.requestType&&"filtering"!==t.requestType&&"sorting"!==t.requestType||(this.startPaging=!0),this.actionBegin.emit(t)},t.prototype.search=function(t){this.grid.search(t)},t.prototype.selectRows=function(t){this.grid.selectRows(t)},t.prototype.selectRow=function(t){this.grid.selectRow(t)},t.prototype.getCurrentViewRecords=function(){return this.grid.getCurrentViewRecords()},t.prototype.customiseCell=function(t){this.queryCellInfo.emit(t)},t.prototype.contextMenuOpen=function(t){var e=t.rowInfo.rowData;if(e){var n=[],o=[];this.grid.contextMenuModule.contextMenu.refresh(),this.contextMenuItems.forEach((function(t){(t.disabled||e.disableItem&&e.disableItem.includes(t.iconCss))&&n.push(t.text),(t.isHide||e.hideItem&&e.hideItem.includes(t.iconCss))&&o.push(t.text)})),this.grid.contextMenuModule.contextMenu.enableItems(n,!1),this.grid.contextMenuModule.contextMenu.hideItems(o,!1)}else t.cancel=!0},t.prototype._actionHandler=function(t){var e=this;!this.selectedDiffKey||"paging"!==t.requestType&&"searching"!==t.requestType&&"filtering"!==t.requestType&&"sorting"!==t.requestType||(this.indexList=[],setTimeout((function(){e.chooseRecords(),e.startPaging=!1,e.ref&&e.ref.detectChanges(),e.ref&&e.ref.markForCheck()}))),this.actionHandler.emit(t),this.actionComplete.emit(t)},t.prototype.chooseRecords=function(){var t=this;this.indexList=[],this.dataSource.forEach((function(e){t.grid.getCurrentViewRecords().forEach((function(n,o){n&&e[t.selectedDiffKey]===n[t.selectedDiffKey]&&e.isSelected&&t.indexList.push(o)}))})),this.grid.selectRows(this.indexList)},t.prototype._recordClick=function(t){this.recordClick.emit(t)},t.prototype.refresh=function(){this.grid.refresh()},t.prototype._rowSelecting=function(t){this.rowSelecting.emit(t)},t.prototype.refreshColumns=function(){this.grid.refreshColumns()},t.prototype.refreshHeader=function(){this.grid.refreshHeader()},t.prototype.export=function(t){this.grid.excelExport(t)},t.prototype.getSelectedRecords=function(){return this.grid.getSelectedRecords()},t.prototype._rowDataBound=function(t){this.disableSystemRow&&t.data&&t.data.IsSystem&&t.row.classList.add("e-disabled"),this.rowDataBound.emit(t)},t.prototype.clearSelection=function(){this.grid.clearSelection()},t.prototype.excelExport=function(){this.grid.excelExport()},t.prototype.addItem=function(){var t=this;this.grid.addRecord(E({},this.defaultRecord,{isNew:!0}),0),setTimeout((function(){t.grid.selectRow(0),t.grid.startEdit()}),30)},t.prototype.saveItem=function(){this.grid.endEdit()},t.prototype.editItem=function(t){var e=this;setTimeout((function(){e.grid.selectRow(Number(t)),e.grid.startEdit()}),30)},t.prototype.deleteItem=function(t){this.grid.selectRow(Number(t));var e=this.grid.getSelectedRecords()[0];this.grid.deleteRecord(e)},t.prototype.cancelItem=function(t){this.grid.closeEdit(),this.deleteItem(t)},t.prototype.showLoading=function(){this.className="grid-loading",this.ref&&this.ref.markForCheck(),this.ref&&this.ref.detectChanges()},t.prototype.hideLoading=function(){this.className="",this.ref&&this.ref.markForCheck(),this.ref&&this.ref.detectChanges()},t.decorators=[{type:e.Component,args:[{selector:"rs-common-grid",template:'<ejs-grid\r\n\t#grid\r\n\t[id]="gridId"\r\n\t[ngClass]="{\r\n\t\t\'hide-Check-box\': !alwaysShowCheckbox,\r\n\t\t\'grid-loading\': className === \'grid-loading\'\r\n\t}"\r\n\t[dataSource]="dataSource"\r\n\t[allowPaging]="allowPaging && pageSettings"\r\n\t[allowResizing]="true"\r\n\t[pageSettings]="pageSettings"\r\n\t[showColumnMenu]="true"\r\n\t[allowSorting]="true"\r\n\t[allowFiltering]="true"\r\n\t[allowExcelExport]="true"\r\n\t[filterSettings]="filterSettings"\r\n\t[resizeSettings]="resizeSettings"\r\n\t[allowSelection]="true"\r\n\t[editSettings]="editSettings"\r\n\t[childGrid]="childGrid"\r\n\t[contextMenuItems]="\r\n\t\tdataSource && dataSource.length ? contextMenuItems : null\r\n\t"\r\n\t[selectionSettings]="selectionSettings"\r\n\t(recordClick)="_recordClick($event)"\r\n\t(recordDoubleClick)="_recordDoubleClick($event)"\r\n\t(actionBegin)="_actionBegin($event)"\r\n\t(actionComplete)="_actionHandler($event)"\r\n\t(rowSelected)="_rowSelected($event)"\r\n\t(rowDeselected)="_rowDeselected($event)"\r\n\tstyle="border: none"\r\n\t(contextMenuClick)="_onContextMenu($event)"\r\n\t(contextMenuOpen)="contextMenuOpen($event)"\r\n\t(queryCellInfo)="customiseCell($event)"\r\n\t(dataBound)="_dataBound($event)"\r\n\t(rowDataBound)="_rowDataBound($event)"\r\n\t(rowSelecting)="_rowSelecting($event)"\r\n\t(excelQueryCellInfo)="_exportQueryCellInfo($event)"\r\n\t(load)="_load()"\r\n>\r\n\t<e-columns>\r\n\t\t<e-column\r\n\t\t\t*ngIf="showCheckBox"\r\n\t\t\ttype="checkbox"\r\n\t\t\t[width]="checkBoxWidth"\r\n\t\t\t[showColumnMenu]="false"\r\n\t\t></e-column>\r\n\t\t<e-column\r\n\t\t\t*ngFor="let item of fields; trackBy: trackByFn"\r\n\t\t\t[field]="item.columnName"\r\n\t\t\t[filter]="item.filter ? item.filter : { type: \'CheckBox\' }"\r\n\t\t\t[customAttributes]="\r\n\t\t\t\titem.colName === \'entityUserList\' ||\r\n\t\t\t\titem.colName === \'kycProgress\'\r\n\t\t\t\t\t? { class: \'hideColumnFilterClass\' }\r\n\t\t\t\t\t: {}\r\n\t\t\t"\r\n\t\t\t[headerText]="item.columnDisplayName"\r\n\t\t\t[textAlign]="item.textAlign"\r\n\t\t\t[showColumnMenu]="item.showColumnMenu === undefined ? true : false"\r\n\t\t\t[allowFiltering]="item.allowFiltering === undefined ? true : false"\r\n\t\t\t[allowSorting]="item.allowSorting === undefined ? true : false"\r\n\t\t\t[editType]="item.editType"\r\n\t\t\t[validationRules]="item.validationRules"\r\n\t\t\t[type]="item.dataType"\r\n\t\t\t[width]="item.width"\r\n\t\t\t[minWidth]="item.minWidth"\r\n\t\t\t[format]="item.format"\r\n\t\t\t[visible]="item.visible"\r\n\t\t\t[template]="item.showTemplate ? columnTemplate : undefined"\r\n\t\t\t[clipMode]="\r\n\t\t\t\titem.clipMode\r\n\t\t\t\t\t? item.clipMode\r\n\t\t\t\t\t: clipMode || \'EllipsisWithTooltip\'\r\n\t\t\t"\r\n\t\t\t[sortComparer]="item.dateComparer"\r\n\t\t>\r\n\t\t</e-column>\r\n\t</e-columns>\r\n</ejs-grid>\r\n',styles:[""]}]}],t.ctorParameters=function(){return[{type:e.ChangeDetectorRef}]},t.propDecorators={grid:[{type:e.ViewChild,args:["grid",{static:!1}]}],showCheckBox:[{type:e.Input}],loaded:[{type:e.Input}],hiddenLoaded:[{type:e.Input}],authorized:[{type:e.Input}],selectedDiffKey:[{type:e.Input}],gridHeight:[{type:e.Input}],gridId:[{type:e.Input}],resizeSettings:[{type:e.Input}],filterSettings:[{type:e.Input}],template:[{type:e.Input}],fields:[{type:e.Input}],dataSource:[{type:e.Input}],editSettings:[{type:e.Input}],columnTemplate:[{type:e.Input}],pageSettings:[{type:e.Input}],allowPaging:[{type:e.Input}],clipMode:[{type:e.Input}],checkBoxWidth:[{type:e.Input}],childGrid:[{type:e.Input}],contextMenuItems:[{type:e.Input}],selectionSettings:[{type:e.Input}],alwaysShowCheckbox:[{type:e.Input}],defaultRecord:[{type:e.Input}],disableSystemRow:[{type:e.Input}],recordDoubleClick:[{type:e.Output}],actionComplete:[{type:e.Output}],rowSelected:[{type:e.Output}],rowDeselected:[{type:e.Output}],onContextMenu:[{type:e.Output}],actionHandler:[{type:e.Output}],queryCellInfo:[{type:e.Output}],recordClick:[{type:e.Output}],actionBegin:[{type:e.Output}],rowDataBound:[{type:e.Output}],dataBound:[{type:e.Output}],exportQueryCellInfo:[{type:e.Output}],rowSelecting:[{type:e.Output}]},t}();var D=function(){function t(t){var n=this;this.ref=t,this._trigger="hover",this._animation="no",this._fixed="no",this.openChange=new e.EventEmitter,this.FIXED_CONTAINER_ID="kt-float-box-fixed-container",this.opened="no",this.onClickOutside=function(t){n.rootElement.nativeElement.contains(t.target)||n.fixedContainerEl.contains(t.target)||(n.opened="no",n.openChange.emit(!1),window.removeEventListener("click",n.onClickOutside),n.ref.markForCheck())},this.onMoveOutside=function(t){n.rootElement.nativeElement.contains(t.target)||n.contentElement.nativeElement.contains(t.target)||(n.opened="no",n.openChange.emit(!1),window.removeEventListener("click",n.onMoveOutside),n.ref.markForCheck())}}return Object.defineProperty(t.prototype,"placement",{get:function(){return["top","left","right","bottom"].includes(this._placement)?this._placement:"bottom"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"position",{get:function(){return["start","center","end"].includes(this._position)?this._position:"center"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"trigger",{get:function(){return"click"===this._trigger?"click":"hover"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"animation",{get:function(){return"yes"===this._animation?"yes":"no"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fixed",{get:function(){return"yes"===this._fixed?"yes":"no"},enumerable:!0,configurable:!0}),t.prototype.ngAfterViewInit=function(){this.fixedContainerEl=this.getFixedContainer(),"yes"===this.fixed&&this.fixedContainerEl.append(this.contentElement.nativeElement)},t.prototype.ngOnDestroy=function(){this.contentElement.nativeElement.remove()},t.prototype.getFixedContainer=function(){var t=document.getElementById(this.FIXED_CONTAINER_ID);return t||((t=document.createElement("div")).setAttribute("id",this.FIXED_CONTAINER_ID),document.body.append(t)),t},t.prototype.setFixedContentPosition=function(){if("no"!==this.fixed){var t=this.rootElement.nativeElement.getBoundingClientRect(),e=t.top,n=t.left,o=t.width,i=t.height,r="0",a="0",s="0",l="0";switch(this.placement+"_"+this.position){case"top_start":r=e+"px",a=n-8+"px",l="-100%";break;case"top_center":r=e+"px",a=n+o/2+"px",s="-50%",l="-100%";break;case"top_end":r=e+"px",a=n+o+8+"px",s="-100%",l="-100%";break;case"left_start":r=e-8+"px",a=n+"px",s="-100%";break;case"left_center":r=e+i/2+"px",a=n+"px",s="-100%",l="-50%";break;case"left_end":r=e+i+8+"px",a=n+"px",s="-100%",l="-100%";break;case"right_start":r=e-8+"px",a=n+o+"px";break;case"right_center":r=e+i/2+"px",a=n+o+"px",l="-50%";break;case"right_end":r=e+i+8+"px",a=n+o+"px",l="-100%";break;case"bottom_start":r=e+i+"px",a=n-8+"px";break;case"bottom_center":r=e+i+"px",a=n+o/2+"px",s="-50%";break;case"bottom_end":r=e+i+"px",a=n+o+8+"px",s="-100%"}this.contentElement.nativeElement.style.top=r,this.contentElement.nativeElement.style.left=a,this.contentElement.nativeElement.style.transform="translate("+s+", "+l+")"}},t.prototype.onClickContainer=function(){"click"===this.trigger&&(this.opened="yes",this.openChange.emit(!0),this.setFixedContentPosition(),window.addEventListener("click",this.onClickOutside))},t.prototype.onMouseEnter=function(){"no"!==this.fixed&&"hover"===this.trigger&&(this.opened="yes",this.openChange.emit(!0),this.setFixedContentPosition(),window.addEventListener("mousemove",this.onMoveOutside))},t.prototype.close=function(){var t=this;setTimeout((function(){t.opened="no",t.openChange.emit(!1)}),0)},t.decorators=[{type:e.Component,args:[{selector:"rs-float-box",template:'<div\r\n #element\r\n class="float-box-container"\r\n [attr.data-trigger]="trigger"\r\n (click)="onClickContainer()"\r\n (mouseenter)="onMouseEnter()"\r\n>\r\n <ng-content></ng-content>\r\n <div\r\n #content\r\n class="float-box-content"\r\n [attr.data-placement]="placement"\r\n [attr.data-position]="position"\r\n [attr.data-animation]="animation"\r\n [attr.data-fixed]="fixed"\r\n [attr.data-opened]="opened"\r\n >\r\n <div class="float-box-show-content">\r\n <ng-content select="[float-content]"></ng-content>\r\n </div>\r\n </div>\r\n</div>\r\n',styles:[".float-box-container{position:relative}.float-box-container[data-trigger=click]>.float-box-content[data-opened=no],.float-box-container[data-trigger=hover]:not(:hover)>.float-box-content{display:none}.float-box-container>.float-box-content[data-fixed=no]{padding:8px;--top:0;--left:0;--translate-x:0;--translate-y:0;position:absolute;top:var(--top);left:var(--left);transform:translate(var(--translate-x),var(--translate-y));z-index:10}.float-box-container>.float-box-content[data-fixed=no][data-animation=yes]{-webkit-animation:.25s ease-in-out;animation:.25s ease-in-out}.float-box-container>.float-box-content[data-fixed=no][data-placement=top]{--translate-y:-100%}.float-box-container>.float-box-content[data-fixed=no][data-placement=top][data-animation=true]{-webkit-animation-name:open-from-top;animation-name:open-from-top}.float-box-container>.float-box-content[data-fixed=no][data-placement=left]{--translate-x:-100%}.float-box-container>.float-box-content[data-fixed=no][data-placement=right]{--left:100%}.float-box-container>.float-box-content[data-fixed=no][data-placement=bottom]{--top:100%}.float-box-container>.float-box-content[data-fixed=no][data-placement=bottom][data-animation=yes]{-webkit-animation-name:open-from-bottom;animation-name:open-from-bottom}.float-box-container>.float-box-content[data-fixed=no][data-placement=bottom][data-position=start],.float-box-container>.float-box-content[data-fixed=no][data-placement=top][data-position=start]{--left:-8px}.float-box-container>.float-box-content[data-fixed=no][data-placement=bottom][data-position=center],.float-box-container>.float-box-content[data-fixed=no][data-placement=top][data-position=center]{--left:50%;--translate-x:-50%}.float-box-container>.float-box-content[data-fixed=no][data-placement=bottom][data-position=end],.float-box-container>.float-box-content[data-fixed=no][data-placement=top][data-position=end]{--left:calc(100% + 8px);--translate-x:-100%}.float-box-container>.float-box-content[data-fixed=no][data-placement=left][data-position=start],.float-box-container>.float-box-content[data-fixed=no][data-placement=right][data-position=start]{--top:-8px}.float-box-container>.float-box-content[data-fixed=no][data-placement=left][data-position=start][data-animation=yes],.float-box-container>.float-box-content[data-fixed=no][data-placement=right][data-position=start][data-animation=yes]{-webkit-animation-name:open-from-bottom;animation-name:open-from-bottom}.float-box-container>.float-box-content[data-fixed=no][data-placement=left][data-position=center],.float-box-container>.float-box-content[data-fixed=no][data-placement=right][data-position=center]{--top:50%;--translate-y:-50%}.float-box-container>.float-box-content[data-fixed=no][data-placement=left][data-position=center][data-animation=yes],.float-box-container>.float-box-content[data-fixed=no][data-placement=right][data-position=center][data-animation=yes]{-webkit-animation-name:open-from-bottom;animation-name:open-from-bottom}.float-box-container>.float-box-content[data-fixed=no][data-placement=left][data-position=end],.float-box-container>.float-box-content[data-fixed=no][data-placement=right][data-position=end]{--top:calc(100% + 8px);--translate-y:-100%}.float-box-container>.float-box-content[data-fixed=no][data-placement=left][data-position=end][data-animation=yes],.float-box-container>.float-box-content[data-fixed=no][data-placement=right][data-position=end][data-animation=yes]{-webkit-animation-name:open-from-top;animation-name:open-from-top}@-webkit-keyframes open-from-top{from{margin-top:-8px;opacity:.4}to{margin:0;opacity:1}}@keyframes open-from-top{from{margin-top:-8px;opacity:.4}to{margin:0;opacity:1}}@-webkit-keyframes open-from-bottom{from{margin-top:8px;opacity:.4}to{margin:0;opacity:1}}@keyframes open-from-bottom{from{margin-top:8px;opacity:.4}to{margin:0;opacity:1}}::ng-deep #kt-float-box-fixed-container{width:0;height:0;z-index:100000}::ng-deep #kt-float-box-fixed-container .float-box-content[data-fixed=yes]{padding:8px;position:fixed;z-index:10}::ng-deep #kt-float-box-fixed-container .float-box-content[data-fixed=yes][data-opened=no]{display:none}.float-box-show-content{padding:8px 8px 12px;border-radius:8px;background:#fff;box-shadow:0 0 8px 0 rgba(0,0,0,.25)}"]}]}],t.ctorParameters=function(){return[{type:e.ChangeDetectorRef}]},t.propDecorators={_placement:[{type:e.Input,args:["placement"]}],_position:[{type:e.Input,args:["position"]}],_trigger:[{type:e.Input,args:["trigger"]}],_animation:[{type:e.Input,args:["animation"]}],_fixed:[{type:e.Input,args:["fixed"]}],openChange:[{type:e.Output,args:["openChange"]}],rootElement:[{type:e.ViewChild,args:["element",{static:!1}]}],contentElement:[{type:e.ViewChild,args:["content",{static:!1}]}]},t}();var A=function(){function t(){this.customPageTitle=!1,this.isInner=!1}return t.prototype.ngOnInit=function(){var t=this;this.debouncedInput=o.debounce((function(){t.onSeach()}),300)},t.prototype.onSeach=function(){this.gridContent.grid.search(this.searchValue)},t.prototype.onInput=function(){this.debouncedInput()},t.decorators=[{type:e.Component,args:[{selector:"rs-page-list",template:'<div class="rs-page-list-wrap" [ngClass]="{ \'is-not-inner\': !isInner }">\r\n <ng-container *ngIf="customPageTitle; else defaultTitle">\r\n <ng-content select="[titleSlot]"></ng-content>\r\n </ng-container>\r\n <ng-template #defaultTitle>\r\n <div class="rs-page-title" *ngIf="pageTitle">{{ pageTitle }}</div>\r\n </ng-template>\r\n <div class="rs-content-wrap">\r\n <div class="rs-toolbar-wrap">\r\n <div class="rs-left-col">\r\n <ng-content select="[leftToolbarBtnSlot]"></ng-content>\r\n </div>\r\n <div class="rs-right-col">\r\n <ng-content select="[rightToolbarBtnSlot]"></ng-content>\r\n <div class="rs-search-input">\r\n <ejs-textbox\r\n type="text"\r\n class="e-input"\r\n [(ngModel)]="searchValue"\r\n (input)="onInput()"\r\n placeholder="Search all fields"\r\n [showClearButton]="true"\r\n autocomplete="off"\r\n ></ejs-textbox>\r\n </div>\r\n </div>\r\n </div>\r\n <div class="rs-grid-wrap">\r\n <ng-content select="[gridSlot]"></ng-content>\r\n </div>\r\n </div>\r\n</div>\r\n',styles:['.rs-page-list-wrap{height:100%;display:flex;flex-direction:column;position:relative;margin:0 auto;max-width:1885px}.rs-page-list-wrap .rs-page-title{font-family:var(--rs-font-family);font-size:var(--rs-page-title-font-size);font-weight:700;text-align:left;color:var(--rs-page-title-color);display:flex;align-items:center;padding:16px 8px 12px 20px}.rs-page-list-wrap .rs-content-wrap{display:flex;flex-direction:column;flex:1;height:0}.rs-page-list-wrap .rs-content-wrap .rs-toolbar-wrap{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.rs-page-list-wrap .rs-content-wrap .rs-toolbar-wrap .rs-left-col,.rs-page-list-wrap .rs-content-wrap .rs-toolbar-wrap .rs-right-col{display:flex;gap:12px}.rs-page-list-wrap .rs-content-wrap .rs-toolbar-wrap .rs-left-col ::ng-deep .e-btn,.rs-page-list-wrap .rs-content-wrap .rs-toolbar-wrap .rs-right-col ::ng-deep .e-btn{height:28px}.rs-page-list-wrap .rs-content-wrap .rs-grid-wrap{flex:1;height:0}.rs-page-list-wrap.is-not-inner .rs-content-wrap{border-radius:15px;padding:12px 20px;background:#fff;border:1px solid var(--rs-border-color);box-shadow:0 0 4px 0 rgba(0,0,0,.1)}.rs-page-list-wrap .rs-search-input{width:240px}.rs-page-list-wrap .rs-search-input ::ng-deep .e-input-group{border-radius:14px!important}.rs-page-list-wrap .rs-search-input ::ng-deep .e-input-group.e-input-focus,.rs-page-list-wrap .rs-search-input ::ng-deep .e-input-group:hover{box-shadow:0 0 3px 0 rgba(31,123,255,.4)!important;border-color:var(--rs-input-hover-border-color)!important}.rs-page-list-wrap .rs-search-input ::ng-deep .e-input-group.e-input-focus input.e-input,.rs-page-list-wrap .rs-search-input ::ng-deep .e-input-group:hover input.e-input{box-shadow:none!important}.rs-page-list-wrap .rs-search-input ::ng-deep .e-input-group input.e-input{width:calc(100% - 50px);height:26px}.rs-page-list-wrap .rs-search-input ::ng-deep .e-input-group input.e-input:hover{box-shadow:none!important}.rs-page-list-wrap .rs-search-input ::ng-deep .e-input-group::before{content:""!important;margin:6px 0 0 8px;display:block;width:16px;height:16px;background-image:url(/assets/img/search.svg);background-size:cover;background-position:center}']}]}],t.propDecorators={gridContent:[{type:e.ContentChild,args:[_,{static:!0}]}],pageTitle:[{type:e.Input}],customPageTitle:[{type:e.Input}],isInner:[{type:e.Input}]},t}();var L=function(){function t(){this.customPageTitle=!1,this.tabList=[],this.tabChange=new e.EventEmitter,this.animation={previous:{effect:"",duration:0,easing:""},next:{effect:"",duration:0,easing:""}}}return t.prototype.ngOnInit=function(){},t.prototype.onTabClick=function(t){this.tabChange.emit(this.tabList[t.selectedIndex])},t.decorators=[{type:e.Component,args:[{selector:"rs-page-tab",template:'<div class="rs-page-list-wrap">\r\n <ng-container *ngIf="customPageTitle; else defaultTitle">\r\n <ng-content select="[titleSlot]"></ng-content>\r\n </ng-container>\r\n <ng-template #defaultTitle>\r\n <div class="rs-page-title" *ngIf="pageTitle">{{ pageTitle }}</div>\r\n </ng-template>\r\n <ejs-tab\r\n class="rs-tab"\r\n (selected)="onTabClick($event)"\r\n [animation]="animation"\r\n\t overflowMode="Popup"\r\n heightAdjustMode="None"\r\n >\r\n <e-tabitems>\r\n <e-tabitem *ngFor="let item of tabList">\r\n <ng-template #headerText>\r\n <div>{{ item.title }}</div>\r\n </ng-template>\r\n </e-tabitem>\r\n </e-tabitems>\r\n </ejs-tab>\r\n <div class="rs-grid-wrap">\r\n <ng-content select="[tabContentSlot]"></ng-content>\r\n </div>\r\n</div>\r\n',styles:['.rs-page-list-wrap{height:100%;display:flex;flex-direction:column;position:relative;margin:0 auto;max-width:1885px}.rs-page-list-wrap .rs-page-title{font-family:var(--rs-font-family);font-size:var(--rs-page-title-font-size);font-weight:700;text-align:left;color:var(--rs-page-title-color);display:flex;align-items:center;padding:16px 8px 12px 20px}.rs-page-list-wrap .rs-tab{padding:0 20px}.rs-page-list-wrap .rs-tab .e-tab-header::before{display:none}.rs-page-list-wrap .rs-tab .e-toolbar-items{gap:32px;min-height:36px}.rs-page-list-wrap .rs-tab .e-toolbar-items .e-toolbar-item{border:0}.rs-page-list-wrap .rs-tab .e-toolbar-items .e-toolbar-item .e-tab-wrap{padding:0;border:0;position:relative;height:36px}.rs-page-list-wrap .rs-tab .e-toolbar-items .e-toolbar-item .e-tab-wrap::before{content:" ";position:absolute;left:0;bottom:0;width:100%;height:2px;background-color:transparent}.rs-page-list-wrap .rs-tab .e-toolbar-items .e-toolbar-item .e-tab-text{color:#5f6f81;font-family:Arial;font-size:13px;font-style:normal;font-weight:400;line-height:16px}.rs-page-list-wrap .rs-tab .e-toolbar-items .e-toolbar-item.e-active .e-tab-wrap::before{background-color:#1f7bff}.rs-page-list-wrap .rs-tab .e-toolbar-items .e-toolbar-item.e-active .e-tab-text{color:#44566c}.rs-page-list-wrap .rs-tab .e-hor-nav{width:24px;height:24px;min-height:24px;top:3px;border-radius:4px;background-color:transparent!important;border:1px solid #eaedf0!important}.rs-page-list-wrap .rs-tab .e-hor-nav .e-icons{box-shadow:none;background-color:transparent!important;border-color:transparent!important;background-image:url(../../assets/img/icon-more.svg);background-size:14px 3px;background-repeat:no-repeat;background-position:4px 14px}.rs-page-list-wrap .rs-tab .e-hor-nav .e-icons::before{display:none}.rs-page-list-wrap .rs-tab .e-hor-nav .e-icons:hover{background-color:#eff5fb!important;border-color:#b1d0fc!important;background-image:url(../../assets/img/icon-more-active.svg)}.rs-page-list-wrap .rs-tab .e-toolbar-pop{min-width:160px;border-radius:10px;background:#fff;box-shadow:0 0 8px 0 rgba(0,0,0,.25);padding:8px}.rs-page-list-wrap .rs-tab .e-toolbar-pop .e-toolbar-item .e-tab-wrap{padding:0 8px}.rs-page-list-wrap .rs-tab .e-toolbar-pop .e-toolbar-item .e-tab-wrap .e-tab-text{color:#44566c;font-family:Arial;font-size:13px;font-weight:400;line-height:16px}.rs-page-list-wrap .rs-tab .e-toolbar-pop .e-toolbar-item .e-tab-wrap:hover{border-radius:6px;background:rgba(31,123,255,.05)}.rs-page-list-wrap .rs-grid-wrap{flex:1;height:0}']}]}],t.propDecorators={pageTitle:[{type:e.Input}],customPageTitle:[{type:e.Input}],tabList:[{type:e.Input}],currentTab:[{type:e.Input}],tabChange:[{type:e.Output}]},t}();var R=function(){function t(){this.customPageTitle=!1,this.isInner=!1}return t.prototype.ngOnInit=function(){var t=this;this.debouncedInput=o.debounce((function(){t.onSeach()}),300)},t.prototype.onSeach=function(){this.gridContent.grid.search(this.searchValue)},t.prototype.onInput=function(){this.debouncedInput()},t.decorators=[{type:e.Component,args:[{selector:"rs-grid-box",template:'<div class="rs-grid-box" [ngClass]="{ \'is-not-inner\': !isInner }">\r\n <div class="rs-toolbar-wrap">\r\n <div class="rs-left-col">\r\n <ng-content select="[leftToolbarBtnSlot]"></ng-content>\r\n </div>\r\n <div class="rs-right-col">\r\n <ng-content select="[rightToolbarBtnSlot]"></ng-content>\r\n <div class="rs-search-input">\r\n <ejs-textbox\r\n type="text"\r\n class="e-input"\r\n [(ngModel)]="searchValue"\r\n (input)="onInput()"\r\n placeholder="Search all fields"\r\n [showClearButton]="true"\r\n autocomplete="off"\r\n ></ejs-textbox>\r\n </div>\r\n </div>\r\n </div>\r\n <div class="rs-grid-wrap">\r\n <ng-content select="[gridSlot]"></ng-content>\r\n </div>\r\n</div>\r\n',styles:[':host{height:100%}.rs-grid-box{display:flex;flex-direction:column;height:100%}.rs-grid-box.is-not-inner{border-radius:15px;padding:12px 20px;background:#fff;border:1px solid var(--rs-border-color);box-shadow:0 0 4px 0 rgba(0,0,0,.1)}.rs-grid-box .rs-toolbar-wrap{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.rs-grid-box .rs-toolbar-wrap .rs-left-col,.rs-grid-box .rs-toolbar-wrap .rs-right-col{display:flex;gap:12px}.rs-grid-box .rs-toolbar-wrap .rs-left-col ::ng-deep .e-btn,.rs-grid-box .rs-toolbar-wrap .rs-right-col ::ng-deep .e-btn{height:28px}.rs-grid-box .rs-grid-wrap{flex:1;height:0}.rs-grid-box .rs-search-input{width:240px}.rs-grid-box .rs-search-input ::ng-deep .e-input-group{border-radius:14px!important}.rs-grid-box .rs-search-input ::ng-deep .e-input-group.e-input-focus,.rs-grid-box .rs-search-input ::ng-deep .e-input-group:hover{box-shadow:0 0 3px 0 rgba(31,123,255,.4)!important;border-color:var(--rs-input-hover-border-color)!important}.rs-grid-box .rs-search-input ::ng-deep .e-input-group.e-input-focus input.e-input,.rs-grid-box .rs-search-input ::ng-deep .e-input-group:hover input.e-input{box-shadow:none!important}.rs-grid-box .rs-search-input ::ng-deep .e-input-group input.e-input{width:calc(100% - 50px);height:26px}.rs-grid-box .rs-search-input ::ng-deep .e-input-group input.e-input:hover{box-shadow:none!important}.rs-grid-box .rs-search-input ::ng-deep .e-input-group::before{content:""!important;margin:6px 0 0 8px;display:block;width:16px;height:16px;background-image:url(/assets/img/search.svg);background-size:cover;background-position:center}']}]}],t.propDecorators={gridContent:[{type:e.ContentChild,args:[e.TemplateRef,{static:!0}]}],pageTitle:[{type:e.Input}],customPageTitle:[{type:e.Input}],isInner:[{type:e.Input}]},t}();var B,O=function(){function t(){}return t.prototype.testMethod=function(){return"test1111"},t.prototype.setMiddleEllipsis=function(t,e,n){void 0===e&&(e=150),void 0===n&&(n=13);var o=document.createElement("canvas").getContext("2d");o.font=n+"px Arial";var i=o.measureText(t).width;if(i<=e)return t;e=Math.floor(e-o.measureText("...").width);for(var r="",a="",s=Math.floor(e/2),l=0;l<t.length&&(r+=t[l],!((i=o.measureText(r).width)>s));l++);for(l=t.length-1;l>=0&&(a=t[l]+a,!((i=o.measureText(a).width)>s));l--);return r+"..."+a},t.prototype.getPureUrl=function(t){return t&&(t=decodeURIComponent(t)).includes("?")&&(t=t.split("?")[0]),t},t.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[]},t.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new t},token:t,providedIn:"root"}),t}(),j=new Map,P=[],N=function(){function t(){}return t.prototype.setExcludeRoutes=function(t){P=t},t.prototype.shouldDetach=function(t){var e=t.routeConfig;return B===this.getRoutePath(t)?(0===t.children.length&&(B=""),!1):(!e||!P.includes(this.getRoutePath(t)))&&(e&&!e.loadChildren)},t.prototype.store=function(t,e){var n=this.getRoutePath(t);j.set(n,e)},t.prototype.shouldAttach=function(t){var e=this.getRoutePath(t);return!!t.routeConfig&&j.has(e)},t.prototype.retrieve=function(t){var e=t.routeConfig,n=this.getRoutePath(t);return!(!e||e.loadChildren)&&(j.get(n)||null)},t.prototype.shouldReuseRoute=function(t,e){return t.routeConfig===e.routeConfig&&(0!==t.children.length||0!==e.children.length||JSON.stringify(t.params)===JSON.stringify(e.params)&&JSON.stringify(t.queryParams)===JSON.stringify(e.queryParams))},t.prototype.getRoutePath=function(t){if(t.routeConfig){var e=new URLSearchParams(t.queryParams).toString();return"/"+t._urlSegment.segments.map((function(t){return t.path})).join("/")+(e?"?"+e:"")}return""},t.prototype.clearCache=function(t){B=t,j.delete(t)},t.prototype.clearAllCache=function(){j.clear()},t.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],t.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new t},token:t,providedIn:"root"}),t}(),z=function(){function t(t,e,n,o,i){this.router=t,this.cf=e,this.activatedRoute=n,this.keepAlive=o,this.ref=i,this.singleReuseUrls=[],this.TAB_WIDTH=164,this.GAP_NORMAL=54,this.GAP_SMALL=30,this.tabList=[],this.selectedTab=0,this.maxTabs=10,this.screenWidth=window.innerWidth}return t.prototype.onResize=function(t){this.screenWidth=window.innerWidth,this.setEllipsisTitle()},t.prototype.ngOnInit=function(){var t=this;this.initTab(),this.router.events.pipe(r.filter((function(t){return t instanceof i.NavigationEnd}))).subscribe((function(){var e=t.router.getCurrentNavigation();if(e){var n=e.extras.state,o=e.extras.skipLocationChange,i=t.router.routerState.root.firstChild;i&&!o&&t.setTab(t.router.url,i.snapshot.routeConfig.path,n&&n.title)}})),this.setEllipsisTitle()},t.prototype.setEllipsisTitle=function(t){var e=this;this.textGap=this.GAP_NORMAL,this.screenWidth<=1100&&(this.textGap=this.GAP_SMALL);var n=this.calcTabWidth(),o=n.allWidth,i=(n.leftWidth,n.rightWidth),r=Math.floor((o-i)/(this.tabList&&this.tabList.length));if(t)return this.cf.setMiddleEllipsis(t,r>this.TAB_WIDTH?this.TAB_WIDTH-this.textGap:r-this.textGap,12);this.tabList.forEach((function(t,n){t.displayTitle=e.cf.setMiddleEllipsis(t.title,r>e.TAB_WIDTH?e.TAB_WIDTH-e.textGap:r-e.textGap,12)}))},t.prototype.calcTabWidth=function(){var t,e,n,o=document.querySelector(".rs-multi-tab"),i=document.querySelector(".rs-multi-tab > ul"),r=document.querySelector(".rs-multi-tab .refresh-tab");if(o&&i&&r){var a=o.getBoundingClientRect(),s=i.getBoundingClientRect(),l=r.getBoundingClientRect();t=a.width,e=s.width,n=l.width}return{allWidth:t,leftWidth:e,rightWidth:n}},t.prototype.initTab=function(){var t=JSON.parse(sessionStorage.getItem("TabCache"));this.tabList=t||[]},t.prototype.closeTab=function(t,e){if(this.tabList=this.tabList.filter((function(e){return e.url!==t.url})),this.clearCache(t.url),this.selectedTab===e){var n=Math.max(0,e-1);this.changeTab(this.tabList[n],n)}this.setEllipsisTitle(),sessionStorage.setItem("TabCache",JSON.stringify(this.tabList)),this.ref.markForCheck()},t.prototype.changeTab=function(t,e){this.router.navigateByUrl(t.url),this.selectedTab=e,this.ref.markForCheck()},t.prototype.addTab=function(t,e){this.tabList.length>=this.maxTabs&&this.closeTab(this.tabList[0],0),this.tabList.push({url:t,title:e||"default",displayTitle:this.setEllipsisTitle(e||"default")}),this.selectedTab=this.tabList.length-1,this.setEllipsisTitle(),sessionStorage.setItem("TabCache",JSON.stringify(this.tabList)),this.ref.markForCheck()},t.prototype.setTab=function(t,e,n){var o=this,i=this.tabList.findIndex((function(e){return e.url===t}));if(-1===i){var r=this.singleReuseUrls.findIndex((function(t){return t===e}));-1!==r&&(this.tabList=this.tabList.filter((function(t){return!t.url.includes(o.singleReuseUrls[r])})),this.keepAlive.clearCache(t)),this.addTab(t,n)}else this.selectedTab=i,this.ref.markForCheck()},t.prototype.refreshTab=function(){var t=this;this.keepAlive.clearCache(this.tabList[this.selectedTab].url);var e=this.router.url;this.router.navigateByUrl("/",{skipLocationChange:!0}).then((function(){t.router.navigateByUrl(e)}))},t.prototype.clearCache=function(t){this.keepAlive.clearCache(t)},t.decorators=[{type:e.Component,args:[{selector:"rs-multi-tab",template:'<div class="rs-multi-tab">\r\n <ul>\r\n <ng-container *ngFor="let tab of tabList; let i = index">\r\n <li\r\n [ngClass]="selectedTab === i ? \'isSelect\' : \'notSelect\'"\r\n (click)="changeTab(tab, i)"\r\n >\r\n <ejs-tooltip\r\n id="notSelectTooltip"\r\n [showTipPointer]="false"\r\n [openDelay]="500"\r\n *ngIf="tab.displayTitle !== tab.title; else originText"\r\n style="height: 27px"\r\n >\r\n <ng-template #content>\r\n <div class="tooltip-content">\r\n {{ tab.title }}\r\n </div>\r\n </ng-template>\r\n <span class="tabTitle">{{ tab.displayTitle }}</span>\r\n </ejs-tooltip>\r\n <ng-template #originText>\r\n <span class="tabTitle">\r\n {{ tab.displayTitle }}\r\n </span>\r\n </ng-template>\r\n <span class="img-block" *ngIf="selectedTab !== i"></span>\r\n <img\r\n *ngIf="tabList.length !== 1"\r\n src="../../../assets/img/close-url.svg"\r\n (click)="closeTab(tab, i)"\r\n />\r\n </li>\r\n </ng-container>\r\n </ul>\r\n <div class="refresh-tab" (click)="refreshTab()">\r\n <img\r\n id="loadingIcon"\r\n alt\r\n class="refresh-btn"\r\n src="../../../assets/img/desktop-refresh-btn.svg"\r\n />\r\n <span>Refresh Current Tab</span>\r\n </div>\r\n</div>\r\n',styles:[".rs-multi-tab{border-bottom:1px solid #e5eaef;height:28px;width:100%;display:flex;justify-content:space-between}.rs-multi-tab ul{display:flex;margin:0 8px;padding:0;overflow:hidden;height:100%}.rs-multi-tab ul li{max-width:164px;padding:0 12px;display:flex;align-items:center;flex:auto;border:1px solid #e5eaef;border-bottom:none;color:#5f6f81;font-family:Arial;font-size:11px;font-style:normal;font-weight:400;line-height:28px;height:100%;background:#f8fafb;vertical-align:top;position:relative;cursor:default}.rs-multi-tab ul li .tabTitle{display:inline-block;white-space:nowrap;font-size:11px;font-family:Arial;font-style:normal;font-weight:400;line-height:16px;transition:width .3s}.rs-multi-tab ul li img{border-radius:4px;padding:4px;margin-left:6px;margin-top:1px;vertical-align:top;cursor:pointer}.rs-multi-tab ul li img:hover{background:#dce8f6}.rs-multi-tab ul li:not(:last-child){border-right:none}.rs-multi-tab ul li:first-of-type{border-top-left-radius:8px}.rs-multi-tab ul li:last-child{border-top-right-radius:8px}.rs-multi-tab ul .isSelect{color:#1f3f5c;background:#fff}.rs-multi-tab ul .notSelect img{display:none}.rs-multi-tab ul .notSelect .img-block{display:inline-block;width:22px}.rs-multi-tab ul .notSelect:hover{color:#1f3f5c;background-color:rgba(31,123,255,.04)}.rs-multi-tab ul .notSelect:hover .img-block{display:none}.rs-multi-tab ul .notSelect:hover img{display:inline-block}.rs-multi-tab .refresh-tab{cursor:pointer;text-align:right;color:#6c7c90;font-family:Arial;font-size:11px;font-style:normal;font-weight:400;line-height:28px;padding-right:12px}.rs-multi-tab .refresh-tab img{vertical-align:middle;margin-right:4px}.refresh-tab-loading{-webkit-animation:1s linear infinite spin;animation:1s linear infinite spin}@-webkit-keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.tooltip-content{padding:4px;color:#f8fafb;font-family:Arial;font-size:11px;font-style:normal;font-weight:400;line-height:14px}@media (max-width:1400px){.refresh-tab{padding-right:0!important}.refresh-tab span{display:none!important}}@media (max-width:1100px){.rs-multi-tab ul li img{position:absolute;right:3px;background-color:#fff}.notSelect:hover img{position:absolute;right:3px;background-color:#eff5fb}.img-block{display:none!important}}@media (max-width:600px){.rs-multi-tab ul li{padding:0 8px}.rs-multi-tab ul .notSelect .img-block{width:0!important}}"]}]}],t.ctorParameters=function(){return[{type:i.Router},{type:O},{type:i.ActivatedRoute},{type:N},{type:e.ChangeDetectorRef}]},t.propDecorators={singleReuseUrls:[{type:e.Input}],onResize:[{type:e.HostListener,args:["window:resize",["$event"]]}]},t}();var q=function(){function t(){this.isCollapsed=!1,this.lastLoginTime=new Date,this.toggleMenu=new e.EventEmitter,this.changeLanguage=new e.EventEmitter,this._langOptions=[]}return Object.defineProperty(t.prototype,"langOptions",{get:function(){return this._langOptions},set:function(t){this._langOptions=t,t&&t.length>0&&(this.currentLang=t.find((function(t){return t.defaultLang})))},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.translation=JSON.parse(localStorage.getItem("translation"))||{}},t.prototype.onToggleMenu=function(){this.toggleMenu.emit(!this.isCollapsed)},t.prototype.selectLanguage=function(t){this.currentLang=this.langOptions.find((function(e){return e.text===t.item.text})),this.changeLanguage.emit(this.currentLang.languageCode)},t.decorators=[{type:e.Component,args:[{selector:"rs-header",template:'<div class="rs-header">\r\n <div class="logo-wrap">\r\n <div class="toggle-menu-wrap">\r\n <img\r\n class="toggle-menu"\r\n src="../../../assets/img/toggle-menu-icon.svg"\r\n (click)="onToggleMenu()"\r\n />\r\n </div>\r\n <img\r\n class="logo"\r\n src="../../../assets/img/raise_logo_main.svg"\r\n alt="logo"\r\n />\r\n </div>\r\n <div class="content-header-wrap">\r\n <div class="bread-crumbs-wrap">\r\n <ng-content select="[breadCrumbs]"></ng-content>\r\n </div>\r\n <div class="rs-toolbar-wrap">\r\n <div class="quick-icon-group">\r\n <ng-content select="[toolbar]"></ng-content>\r\n </div>\r\n <div class="line"></div>\r\n <div class="langulage-wrap">\r\n <button\r\n class="e-btn text"\r\n ejs-dropdownbutton\r\n [items]="langOptions"\r\n (select)="selectLanguage($event)"\r\n >\r\n {{ currentLang.text }}\r\n </button>\r\n </div>\r\n <div class="line"></div>\r\n <div class="last-login-wrap">\r\n {{ translation?.LAST_LOGIN || "Last Login" }}:\r\n {{ lastLoginTime | date : "dd MMM yy h:mm a" }}\r\n </div>\r\n <div class="line"></div>\r\n <div class="user-info-wrap">\r\n <ng-content select="[userInfo]"></ng-content>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n',styles:[".rs-header{height:50px;background-color:var(--rs-container-bg);display:flex;justify-content:space-between}.rs-header .logo-wrap{width:240px;display:flex;padding:12px 0 0 20px}.rs-header .logo-wrap .toggle-menu-wrap{cursor:pointer;margin-right:8px}.rs-header .logo-wrap .logo{width:77px;height:32px}.rs-header .content-header-wrap{display:flex;justify-content:space-between;align-items:center;flex:1}.rs-header .bread-crumbs-wrap{padding-left:16px}.rs-header .rs-toolbar-wrap,.rs-header .rs-toolbar-wrap .quick-icon-group{display:flex;align-items:center}.rs-header .rs-toolbar-wrap .quick-icon-group ::ng-deep .header-icon{width:24px;height:24px;display:flex;justify-content:center;align-items:center;margin-right:24px;cursor:pointer}.rs-header .rs-toolbar-wrap .quick-icon-group ::ng-deep .header-icon svg{width:16px;height:16px;color:#6c7c90;stroke:#6c7c90}.rs-header .rs-toolbar-wrap .quick-icon-group ::ng-deep .header-icon:hover{border-radius:4px;background:rgba(31,123,255,.04)}.rs-header .rs-toolbar-wrap .quick-icon-group ::ng-deep .header-icon:hover svg{color:#1f7bff;stroke:#1f7bff}.rs-header .rs-toolbar-wrap .line{width:1px;height:24px;background-color:var(--rs-border-color)}.rs-header .rs-toolbar-wrap .langulage-wrap{padding:0 16px}.rs-header .rs-toolbar-wrap .last-login-wrap{padding:0 16px;color:var(--rs-labels-color);font-size:11px;font-weight:400;line-height:1}.rs-header .rs-toolbar-wrap .user-info-wrap{padding:0 20px 0 16px}"]}]}],t.propDecorators={isCollapsed:[{type:e.Input}],lastLoginTime:[{type:e.Input}],langOptions:[{type:e.Input}],toggleMenu:[{type:e.Output}],changeLanguage:[{type:e.Output}]},t}();var F=function(){function t(){this.isCollapsed=!1,this.singleReuseUrls=[]}return t.prototype.ngOnInit=function(){},t.prototype.onRightAsideClick=function(){window.innerWidth<=992&&this.isCollapsed&&this.headerRef.onToggleMenu()},t.decorators=[{type:e.Component,args:[{selector:"rs-main-container",template:'<div class="app-main-container">\r\n <ng-content select="[headerSlot]"></ng-content>\r\n <div class="main-page">\r\n <div class="left-aside">\r\n <ng-content select="[leftAsideSlot]"></ng-content>\r\n </div>\r\n <div class="right-aside" [ngClass]="{ isCollapsed: isCollapsed }" (click)="onRightAsideClick()">\r\n <ng-content select="[multiTabSlot]"></ng-content>\r\n \x3c!-- <rs-multi-tab [singleReuseUrls]="singleReuseUrls"></rs-multi-tab> --\x3e\r\n <div class="router-content">\r\n <ng-content select="[routerSlot]"></ng-content>\r\n </div>\r\n <rs-footer></rs-footer>\r\n </div>\r\n </div>\r\n</div>\r\n',styles:['.app-main-container{display:flex;flex-direction:column;height:100vh}.app-main-container .main-page{flex:1;height:0;display:flex;background-color:var(--rs-container-bg)}.app-main-container .left-aside{height:100%}.app-main-container .right-aside{width:0;flex:1;display:flex;flex-direction:column;padding-right:12px}.app-main-container .right-aside .router-content{flex:1;overflow:auto}@media (max-width:992px){.app-main-container .right-aside.isCollapsed{position:relative}.app-main-container .right-aside.isCollapsed::after{content:" ";position:absolute;inset:0;background-color:rgba(0,0,0,.2)}}']}]}],t.propDecorators={headerRef:[{type:e.ContentChild,args:[q,{static:!0}]}],isCollapsed:[{type:e.Input}],singleReuseUrls:[{type:e.Input}]},t}();var U=function(){function t(){this.today=new Date}return t.prototype.ngOnInit=function(){},t.decorators=[{type:e.Component,args:[{selector:"rs-footer",template:'<div class="rs-footer">\r\n <span>\r\n RAISE<sup>®</sup> © \r\n {{ today | date : "yyyy" }}\r\n Linnovate Partners</span\r\n >\r\n</div>\r\n',styles:[".rs-footer{height:40px;padding:0 24px;display:flex;align-items:center;background-color:var(--rs-container-bg);color:var(--rs-labels-color);font-family:var(--rs-font-family);font-size:11px}"]}]}],t}();var H=function(){function t(t){this.router=t,this.toggleMenu=new e.EventEmitter,this.isCollapsed=!1,this.navList=[],this.currentNav=""}return t.prototype.ngOnInit=function(){var t=this;this.currentNav=this.router.url,this.router.events.pipe(r.filter((function(t){return t instanceof i.NavigationEnd}))).subscribe((function(){t.currentNav=t.router.url}))},t.prototype.onNavClick=function(t){this.currentNav=t.url,this.router.navigate([t.url],{state:{title:t.label}}),window.innerWidth<=992&&this.isCollapsed&&this.toggleMenu.emit(!1)},t.decorators=[{type:e.Component,args:[{selector:"rs-aside",template:'<div class="rs-aside" [ngClass]="{ isCollapsed: isCollapsed }">\r\n <div class="nav-list">\r\n <div\r\n class="nav-item"\r\n [ngClass]="{ isCurrent: currentNav === nav.url }"\r\n *ngFor="let nav of navList"\r\n (click)="onNavClick(nav)"\r\n >\r\n <div class="nav-item-inner">\r\n <mat-icon class="menu-icon" [svgIcon]="nav.iconCode"></mat-icon>\r\n <span class="nav-text" [ngClass]="{ isCollapsed: isCollapsed }">{{\r\n nav.label\r\n }}</span>\r\n </div>\r\n </div>\r\n </div>\r\n <div class="bottom-iconbox" [ngClass]="{ isCollapsed: isCollapsed }">\r\n <ng-content select="[bottomIconBox]"></ng-content>\r\n </div>\r\n</div>\r\n',styles:['.rs-aside{display:flex;flex-direction:column;height:100%;width:240px;will-change:width;transition:width .3s;padding-right:16px}.rs-aside.isCollapsed{width:64px;padding-right:0}.rs-aside .nav-list{padding-top:12px;flex:1;overflow:auto;height:0}.rs-aside .nav-list .nav-item{height:32px;cursor:pointer;padding-left:11px}.rs-aside .nav-list .nav-item .nav-item-inner{display:flex;align-items:center;padding:8px 8px 8px 12px}.rs-aside .nav-list .nav-item .nav-item-inner ::ng-deep .menu-icon{width:33px;height:16px;display:flex;align-items:center}.rs-aside .nav-list .nav-item .nav-item-inner ::ng-deep .menu-icon svg{width:16px;height:16px;color:#6c7c90;stroke:#6c7c90}.rs-aside .nav-list .nav-item:hover .nav-item-inner{border-radius:6px;background:rgba(31,123,255,.04)}.rs-aside .nav-list .nav-item:hover .nav-item-inner ::ng-deep .menu-icon svg{color:#44566c;stroke:#44566c}.rs-aside .nav-list .nav-item .nav-text{color:#5f6f81;font-family:Arial;font-size:12px;font-weight:400;line-height:16px;transition:.3s;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;position:relative;top:1px}@media (min-width:992px){.rs-aside .nav-list .nav-item .nav-text.isCollapsed{opacity:0;width:0}}.rs-aside .nav-list .nav-item.isCurrent{position:relative}.rs-aside .nav-list .nav-item.isCurrent .nav-text{color:#44566c;font-weight:700}.rs-aside .nav-list .nav-item.isCurrent::before{content:"";position:absolute;left:4px;top:8px;width:3px;height:16px;background-color:#1364b3;border-radius:2px}.rs-aside .bottom-iconbox{padding:12px 20px;height:48px;display:flex;gap:12px}.rs-aside .bottom-iconbox ::ng-deep .menu-bottom-icon{width:24px;height:24px;display:flex;justify-content:center;align-items:center;border:1px solid #eaedf0;border-radius:24px;cursor:pointer}.rs-aside .bottom-iconbox ::ng-deep .menu-bottom-icon svg{width:16px;height:16px;color:#6c7c90;stroke:#6c7c90}.rs-aside .bottom-iconbox ::ng-deep .menu-bottom-icon.disabled{cursor:default;opacity:.5}.rs-aside .bottom-iconbox ::ng-deep .menu-bottom-icon:not(.disabled):hover{background-color:#fff}.rs-aside .bottom-iconbox ::ng-deep .menu-bottom-icon:not(.disabled):hover svg{color:#1f7bff;stroke:#1f7bff}@media (min-width:992px){.rs-aside .bottom-iconbox.isCollapsed{flex-direction:column;height:auto}}@media (max-width:992px){.rs-aside{width:0;overflow:hidden;position:absolute;height:calc(100% - 50px);z-index:10;background-color:var(--rs-container-bg);padding-right:0}.rs-aside.isCollapsed{width:240px;padding-right:16px}}']}]}],t.ctorParameters=function(){return[{type:i.Router}]},t.propDecorators={toggleMenu:[{type:e.Output}],isCollapsed:[{type:e.Input}],navList:[{type:e.Input}]},t}();var G=function(){function t(){this.value=[],this.disabled=!1,this.error=!1,this.inputMinlength=3,this.inputMaxlength=30,this.valueChange=new e.EventEmitter,this.inputError=!1}return t.prototype.ngOnInit=function(){},t.prototype.onRemoveTag=function(t){var e=this.value.filter((function(e){return e!==t}));this.valueChange.emit(e)},t.prototype.onAddTag=function(t){var e=t.target.value;e&&this.verifyInputValue(e)&&(this.valueChange.emit(T(this.value,[e])),t.target.value="")},t.prototype.verifyInputValue=function(t){this.inputError=!1;var e=t.length;return!(this.value.includes(t)||e>this.inputMaxlength||e<this.inputMinlength)||(this.inputError=!0,!1)},t.prototype.onInput=function(){this.inputError=!1},t.decorators=[{type:e.Component,args:[{selector:"rs-tag-input",template:'<div\r\n class="form-tags"\r\n [ngClass]="{\r\n disabled: disabled,\r\n error: inputError || error\r\n }"\r\n>\r\n <div class="form-tags-item" *ngFor="let tag of value">\r\n <span>{{ tag }}</span>\r\n <span class="form-tags-remove" (click)="onRemoveTag(tag)"></span>\r\n </div>\r\n <input\r\n class="form-tags-input"\r\n (keyup.enter)="onAddTag($event)"\r\n (input)="onInput()"\r\n (blur)="onAddTag($event)"\r\n autocomplete="off"\r\n [minLength]="inputMinlength"\r\n [maxLength]="inputMaxlength"\r\n />\r\n</div>\r\n',styles:[".form-tags{display:flex;flex-flow:row wrap;border-radius:4px;overflow:hidden;gap:4px 8px;padding:3px 4px;min-height:28px;box-shadow:none;border-radius:var(--rs-input-border-radius);border:1px solid var(--rs-input-border-color);background-color:#fff;cursor:pointer}.form-tags:not(.error):not(.disabled):hover{box-shadow:0 0 3px 0 rgba(31,123,255,.4);border-color:var(--rs-input-hover-border-color)}.form-tags.error{border-color:var(--rs-input-error-border-color)!important}.form-tags.disabled{pointer-events:none;border-color:var(--rs-input-border-color)!important;font-size:var(--rs-input-font-size);color:var(--rs-input-disabled-color)!important;background-color:var(--rs-input-disabled-bg)!important;-webkit-text-fill-color:var(--rs-input-disabled-color)!important}.form-tags.disabled .form-tags-input{background-color:var(--rs-input-disabled-bg)!important}.form-tags .form-tags-input{flex:auto;width:auto;padding:0 4px;border:none;outline:0;font-size:var(--rs-input-font-size);color:var(--rs-input-color)!important}.form-tags .form-tags-item{box-sizing:border-box;height:20px;padding:0 8px;border:1px solid #eaedf0;border-radius:12px;background-color:#f8fafb;color:#44566c;font-family:Arial;font-size:11px;font-style:normal;font-weight:400;line-height:12px;display:flex;flex-flow:row nowrap;align-items:center;position:relative}.form-tags .form-tags-item .form-tags-remove{visibility:hidden;width:20px;height:20px;border:1px solid #dbe1e7;border-radius:20px;background-color:#fff;line-height:18px;text-align:center;position:absolute;top:-1px;right:-1px}.form-tags .form-tags-item .form-tags-remove::after{content:url(/assets/img/tag-remove.svg);cursor:pointer}.form-tags .form-tags-item:hover .form-tags-remove{visibility:visible}"]}]}],t.propDecorators={value:[{type:e.Input}],fields:[{type:e.Input}],disabled:[{type:e.Input}],error:[{type:e.Input}],inputMinlength:[{type:e.Input}],inputMaxlength:[{type:e.Input}],valueChange:[{type:e.Output}]},t}();var V=function(){function t(){this.dataSource=[],this.orientation="horizontal",this.fields={text:"text",value:"value",disabled:"disabled"},this.disabled=!1,this.error=!1,this.valueChange=new e.EventEmitter}return t.prototype.ngOnInit=function(){},t.prototype.onChange=function(t){var e=t.value;this.valueChange.emit(e)},t.decorators=[{type:e.Component,args:[{selector:"rs-radio-group",template:'<div class="radio-group" [ngClass]="[orientation, error ? \'error\' : \'\']">\r\n <div class="radio-item" *ngFor="let option of dataSource">\r\n <ejs-radiobutton\r\n [label]="option[fields.text]"\r\n [(ngModel)]="value"\r\n [value]="option[fields.value]"\r\n [disabled]="option[fields.disabled] || disabled"\r\n (change)="onChange($event)"\r\n ></ejs-radiobutton>\r\n </div>\r\n</div>\r\n',styles:[".radio-group{display:flex;padding-left:4px}.radio-group.horizontal{flex-direction:row;gap:35px}.radio-group.vertical{flex-direction:column;gap:14px}"]}]}],t.propDecorators={value:[{type:e.Input}],dataSource:[{type:e.Input}],orientation:[{type:e.Input}],fields:[{type:e.Input}],disabled:[{type:e.Input}],error:[{type:e.Input}],valueChange:[{type:e.Output}]},t}();var W=function(){function t(t){this.ref=t,this.value=[],this.dataSource=[],this.orientation="horizontal",this.fields={text:"text",value:"value",disabled:"disabled"},this.disabled=!1,this.error=!1,this.valueChange=new e.EventEmitter}return t.prototype.ngOnInit=function(){console.log("first",this.value)},t.prototype.onChange=function(t,e){var n,o=this,i=this.value;n=t.checked?T(i,[e[this.fields.value]]):i.filter((function(t){return t!==e[o.fields.value]})),this.valueChange.emit(n),this.ref.markForCheck()},t.decorators=[{type:e.Component,args:[{selector:"rs-checkbox-group",template:'<div class="checkbox-group" [ngClass]="[orientation, error ? \'error\' : \'\']">\r\n <div class="checkbox-item" *ngFor="let option of dataSource">\r\n <ejs-checkbox\r\n [name]="name"\r\n [label]="option[fields.text]"\r\n [value]="option[fields.value]"\r\n [disabled]="option[fields.disabled] || disabled"\r\n [checked]="value.includes(option[fields.value])"\r\n (change)="onChange($event, option)"\r\n ></ejs-checkbox>\r\n </div>\r\n</div>\r\n',styles:[".checkbox-group{display:flex;padding-left:4px}.checkbox-group.horizontal{flex-direction:row;gap:35px}.checkbox-group.vertical{flex-direction:column;gap:14px}"]}]}],t.ctorParameters=function(){return[{type:e.ChangeDetectorRef}]},t.propDecorators={name:[{type:e.Input}],value:[{type:e.Input}],dataSource:[{type:e.Input}],orientation:[{type:e.Input}],fields:[{type:e.Input}],disabled:[{type:e.Input}],error:[{type:e.Input}],valueChange:[{type:e.Output}]},t}();var $=function(){function t(){this.orientation="front",this.disabled=!1,this.error=!1,this.valueChange=new e.EventEmitter}return t.prototype.ngOnInit=function(){},t.prototype.onChange=function(t){var e=t.checked;this.valueChange.emit(e)},t.prototype.onClick=function(){var t=!this.value;this.valueChange.emit(t)},t.decorators=[{type:e.Component,args:[{selector:"rs-switch-input",template:'<div class="rs-switch" [ngClass]="[orientation, error ? \'error\' : \'\', disabled ? \'disabled\' : \'\']">\r\n <label class="switch-label" (click)="onClick()"> {{ text }} </label>\r\n <ejs-switch\r\n [(ngModel)]="value"\r\n [disabled]="disabled"\r\n (change)="onChange($event)"\r\n ></ejs-switch>\r\n</div>\r\n',styles:[".rs-switch{display:flex;align-items:center;gap:8px}.rs-switch.behind{flex-direction:row-reverse;justify-content:flex-end}.rs-switch .switch-label{color:var(--rs-label-color);font-family:var(--rs-font-family);font-size:var(--rs-font-size);cursor:pointer}.rs-switch.disabled .switch-label{cursor:default;pointer-events:none}"]}]}],t.propDecorators={value:[{type:e.Input}],text:[{type:e.Input}],orientation:[{type:e.Input}],disabled:[{type:e.Input}],error:[{type:e.Input}],valueChange:[{type:e.Output}]},t}();var K=function(){function t(t,e){this.registry=t,this.domSanitizer=e}return t.prototype.registerIcons=function(t){var e=this;t.forEach((function(t){var n=t.name,o=t.path;e.registry.addSvgIcon(n,e.domSanitizer.bypassSecurityTrustResourceUrl(o))}))},t.decorators=[{type:e.Injectable}],t.ctorParameters=function(){return[{type:a.MatIconRegistry},{type:s.DomSanitizer}]},t}();var J=function(){function t(t){this.data=t,this.collapsed=!1}return t.prototype.ngAfterViewInit=function(){var t=this;"Loading"===this.config.type&&this.config.loadingCallback((function(e){if(e.done)return t.config.snackBar.dismiss()}))},t.prototype.closeNotification=function(){"Loading"===this.config.type?this.collapsed=!0:this.config.snackBar.dismiss()},t.prototype.expandNotification=function(){"Loading"===this.config.type&&this.collapsed&&(this.collapsed=!1)},Object.defineProperty(t.prototype,"config",{get:function(){return E({status:"Success",type:"Text"},this.data)},enumerable:!0,configurable:!0}),t.decorators=[{type:e.Component,args:[{selector:"kt-new-action-notification",template:'<div class="new-action-notification-container" [attr.data-collapse]="collapsed">\r\n\t<span\r\n\t\tclass="notification-icon"\r\n\t\t[attr.data-type]="config.type === \'Loading\' ? \'loading\' : \'default\'"\r\n\t\t[attr.data-status]="config.status?.toLowerCase()"\r\n\t\t(click)="expandNotification()"\r\n\t></span>\r\n\t<span\r\n\t\tclass="notification-icon notification-loading"\r\n\t\t*ngIf="config.type === \'Progress\'"\r\n\t></span>\r\n\t<div class="notification-content">\r\n\t\t<span *ngIf="config.type === \'Detail\'" class="notification-title">\r\n\t\t\t{{ config.title }}\r\n\t\t</span>\r\n\t\t<span class="notification-text">{{ config.message }}</span>\r\n\t\t<a *ngIf="config.type === \'Detail\'" class="notification-link">View</a>\r\n\t</div>\r\n\t<button\r\n\t\ttype="button"\r\n\t\tclass="notification-close"\r\n\t\t[attr.data-type]="config.type === \'Loading\' ? \'loading\' : \'default\'"\r\n\t\t(click)="closeNotification()"\r\n\t></button>\r\n</div>\r\n',styles:["::ng-deep .new-action-notification{margin:0;padding:64px 12px;background-color:transparent!important;background-image:none!important;box-shadow:none}::ng-deep .mat-mdc-snack-bar-container .mdc-snackbar__surface{box-shadow:none;background-color:transparent}.new-action-notification-container{min-width:320px;max-width:400px;padding:12px;border-radius:10px;background-color:#fff;box-shadow:0 0 8px 0 #00000033;display:flex;flex-flow:row nowrap;align-items:flex-start;justify-content:flex-end}.new-action-notification-container .notification-icon{flex:none;width:24px;height:24px;margin-right:8px}.new-action-notification-container .notification-icon[data-type=default][data-status=success]::before{content:url(../../assets/img/notification-status-success.svg)}.new-action-notification-container .notification-icon[data-type=default][data-status=warning]::before{content:url(../../assets/img/notification-status-warning.svg)}.new-action-notification-container .notification-icon[data-type=default][data-status=error]::before{content:url(../../assets/img/notification-status-error.svg)}.new-action-notification-container .notification-icon[data-type=loading]{-webkit-animation:2s linear infinite rotate;animation:2s linear infinite rotate}@-webkit-keyframes rotate{from{transform:rotate(360deg)}to{transform:rotate(0)}}@keyframes rotate{from{transform:rotate(360deg)}to{transform:rotate(0)}}.new-action-notification-container .notification-icon[data-type=loading]::before{content:url(../../assets/img/notification-status-loading.svg)}.new-action-notification-container .notification-close{flex:none;height:24px;margin-left:24px;padding:0;border:none;background-color:transparent}.new-action-notification-container .notification-close[data-type=default]::before{content:url(../../assets/img/notification-close.svg)}.new-action-notification-container .notification-close[data-type=loading]::before{content:url(../../assets/img/notification-collapse.svg)}.new-action-notification-container .notification-content{flex:auto;min-height:24px;padding-top:4px;display:flex;flex-flow:column nowrap}.new-action-notification-container .notification-content .notification-title{margin-bottom:8px;color:#44566c;font-family:Arial;font-size:13px;font-style:normal;font-weight:700;line-height:19px}.new-action-notification-container .notification-content .notification-text{color:#1f3f5c;font-family:Arial;font-size:12px;font-style:normal;font-weight:400;line-height:16px}.new-action-notification-container .notification-content .notification-link{margin-top:6px;cursor:pointer;color:#1364b3;font-family:Arial;font-size:12px;font-style:normal;font-weight:400;line-height:14px}.new-action-notification-container[data-collapse=true]{padding:0;background-color:transparent;box-shadow:none}.new-action-notification-container[data-collapse=true] .notification-icon{cursor:pointer}.new-action-notification-container[data-collapse=true] .notification-close,.new-action-notification-container[data-collapse=true] .notification-content{display:none}"]}]}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:e.Inject,args:[l.MAT_SNACK_BAR_DATA]}]}]},t}();var Y=function(){function t(t,e){this.data=t,this.dialogRef=e,this.title="",this.saveBtnLabel="",this.cancelBtnLabel="",this.description="",this.size="small"}return t.prototype.ngOnInit=function(){this.translation=JSON.parse(localStorage.getItem("translation"))||{},this.title=this.data.title||this.translation.DELETE_RECORD||".DELETE_RECORD",this.saveBtnLabel=this.data.saveBtnLabel||this.translation.DELETE||".DELETE",this.cancelBtnLabel=this.data.cancelBtnLabel||this.translation.CANCEL||".CANCEL",this.description=this.data.description||this.translation.IF_YOU_DELETE_THIS_RECORD_WARNING||".If you delete this record, you won't be able to recover it. Do you want to delete it?",this.size=this.data.size||"small"},t.prototype.onSave=function(t){this.dialogRef.close(t)},t.decorators=[{type:e.Component,args:[{selector:"kt-common-delete-dialog",template:'<kt-common-dialog\r\n\t[size]="size"\r\n\t[title]="title"\r\n\t[hideHeader]="false"\r\n\t[hideCloseBtn]="data.hideCloseBtn === undefined ? false : data.hideCloseBtn"\r\n\t[hideSaveBtn]="data.hideSaveBtn === undefined ? false : data.hideSaveBtn"\r\n\t[saveBtnLabel]="saveBtnLabel"\r\n\t[cancelBtnLabel]="cancelBtnLabel"\r\n\t[showErrorIcon]="\r\n\t\tdata.showErrorIcon === undefined ? false : data.showErrorIcon\r\n\t"\r\n\t[hideCloseIcon]="\r\n\t\tdata.hideCloseIcon === undefined ? false : data.hideCloseIcon\r\n\t"\r\n\t(saveEmit)="onSave($event)"\r\n>\r\n\t<div class="mapping-dialog">\r\n\t\t{{ description }}\r\n\t</div>\r\n</kt-common-dialog>\r\n',styles:[".mapping-dialog{color:#44566c;font-family:Arial;font-size:12px;line-height:16px;white-space:pre-line}"]}]}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:e.Inject,args:[p.MAT_DIALOG_DATA]}]},{type:p.MatDialogRef}]},t}();var Q={Create:0,Read:1,Update:2,Delete:3};Q[Q.Create]="Create",Q[Q.Read]="Read",Q[Q.Update]="Update",Q[Q.Delete]="Delete";var X=function(){function t(t,e){this.snackBar=t,this.dialog=e,this.translation=null,this.translation=JSON.parse(localStorage.getItem("translation"))||{}}return t.prototype.showLoadingNotification=function(t){return this.snackBar.openFromComponent(J,{data:E({},t,{message:t.message||this.translation.DOWNLOAD_IS_IN_PROGRESS||".Download is in progress",snackBar:this.snackBar,type:"Loading"}),verticalPosition:"top",horizontalPosition:"right",panelClass:"new-action-notification"})},t.prototype.showNotification=function(t,e){return this.snackBar.openFromComponent(J,{data:E({message:t,snackBar:this.snackBar},e||{}),duration:e&&e.duration||3e3,verticalPosition:"top",horizontalPosition:"right",panelClass:"new-action-notification"})},t.prototype.deleteElement=function(){return this.dialog.open(Y,{data:{},panelClass:"rs-dialog-wrap"})},t.prototype.showCommonDilaog=function(t){return this.dialog.open(Y,{data:t,panelClass:"rs-dialog-wrap"})},t.prototype.showUnsavedChanges=function(t){var e={title:this.translation.UNSAVED_CHANGES||".UNSAVED_CHANGES",description:this.translation.YOU_HAVE_UNSAVED_CHANGED_ARE_YOU_SURE_YOU_WANT_TO_DISCARD_THEM||".YOU_HAVE_UNSAVED_CHANGED_ARE_YOU_SURE_YOU_WANT_TO_DISCARD_THEM",saveBtnLabel:this.translation.DISCARD_CHANGES||".DISCARD_CHANGES",cancelBtnLabel:this.translation.CONTINUE_EDITING||".CONTINUE_EDITING"};return t=t?Object.assign(e,t):e,this.dialog.open(Y,{data:t,panelClass:"rs-dialog-wrap"})},t.prototype.showSucMsg=function(t){this.showMessage(t,Q.Create)},t.prototype.showUpdateMsg=function(t){this.showMessage(t,Q.Update)},t.prototype.showDelMsg=function(t){this.showMessage(t,Q.Delete)},t.prototype.showMessage=function(t,e){void 0===e&&(e=Q.Create);var n=this.translation.SAVESUCCESS||".SAVESUCCESS";switch(e){case Q.Update:n=this.translation.UPDATESUCCESS||".UPDATESUCCESS";break;case Q.Delete:n=this.translation.DELETESUCCESS||".DELETESUCCESS"}"ERROR"===t.status&&(n=t.messages[0].message),this.showNotification(n,{status:"ERROR"===t.status?"Error":"Success"})},t.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:l.MatSnackBar},{type:p.MatDialog}]},t.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new t(e.ɵɵinject(l.MatSnackBar),e.ɵɵinject(p.MatDialog))},token:t,providedIn:"root"}),t}();var Z=function(){function t(t){this.dialogRef=t,this.hideHeader=!1,this.hideCloseIcon=!1,this.hideCloseBtn=!1,this.hideSaveBtn=!1,this.saveBtnLabel="",this.cancelBtnLabel="",this.showErrorIcon=!1,this.size="",this.title="Dialog",this.loading=!1,this.saveEmit=new e.EventEmitter,this.closeEmit=new e.EventEmitter,this.customFooter=!1}return t.prototype.ngAfterContentInit=function(){this.customFooter=!!this.footerContent},t.prototype.ngOnInit=function(){this.getInfo()},t.prototype.onClose=function(t){this.dialogRef.close(t),this.closeEmit.emit(t)},t.prototype.onSave=function(){var t=this;this.saveEmit.emit((function(e){t.onClose(e)}))},t.prototype.getInfo=function(){this.translation=JSON.parse(localStorage.getItem("translation"))||{},this.saveBtnLabel=this.saveBtnLabel||this.translation.SAVE||".SAVE",this.cancelBtnLabel=this.cancelBtnLabel||this.translation.CANCEL||".CANCEL"},t.decorators=[{type:e.Component,args:[{selector:"kt-common-dialog",template:'<div class="dialog" [ngClass]="size">\r\n\t\x3c!-- 头部 --\x3e\r\n\t<div *ngIf="!hideHeader" mat-dialog-title class="dialog__header">\r\n\t\t<div class="header__title">\r\n\t\t\t<img\r\n\t\t\t\tsrc="../../../assets/img/notification-status-warning.svg"\r\n\t\t\t\talt=""\r\n\t\t\t\t*ngIf="showErrorIcon"\r\n\t\t\t/>\r\n\t\t\t{{ title }}\r\n\t\t</div>\r\n\t\t<div\r\n\t\t\t*ngIf="!hideCloseIcon"\r\n\t\t\tclass="header__close-btn"\r\n\t\t\t(click)="onClose()"\r\n\t\t>\r\n\t\t\t<img\r\n\t\t\t\tclass="header__close-icon"\r\n\t\t\t\tsrc="../../../assets/img/close.svg"\r\n\t\t\t/>\r\n\t\t</div>\r\n\t</div>\r\n\t\x3c!-- 内容 --\x3e\r\n\t<div class="dialog__content" mat-dialog-content>\r\n\t\t<ng-content></ng-content>\r\n\t</div>\r\n\t\x3c!-- 底部按钮 --\x3e\r\n\t<div mat-dialog-actions class="dialog__footer">\r\n\t\t<ng-content select="[footerSlot]"></ng-content>\r\n\t\t\x3c!-- 默认展示保存/关闭按钮 --\x3e\r\n\t\t<ng-container *ngIf="!customFooter">\r\n\t\t\t<ng-template [ngTemplateOutlet]="defaultTemplate"></ng-template>\r\n\t\t</ng-container>\r\n\t\t<ng-template #defaultTemplate>\r\n\t\t\t<button *ngIf="!hideCloseBtn" class="e-btn" [ngClass]="size" mat-dialog-close>\r\n\t\t\t\t{{ cancelBtnLabel }}\r\n\t\t\t</button>\r\n\t\t\t<button *ngIf="!hideSaveBtn" class="e-btn e-primary" [ngClass]="size" (click)="onSave()">\r\n\t\t\t\t{{ saveBtnLabel }}\r\n\t\t\t</button>\r\n\t\t</ng-template>\r\n\t</div>\r\n\t\x3c!-- loading --\x3e\r\n\t<div class="dialog__loading" [hidden]="!loading">\r\n\t\t<img src="../../../assets/img/raise_loading.gif" alt="" />\r\n\t</div>\r\n</div>\r\n',styles:[":host::ng-deep .dialog{position:relative;max-height:90vh;font-weight:400;overflow:hidden}:host::ng-deep .dialog.medium{width:500px;padding:20px}:host::ng-deep .dialog.small{width:350px;padding:20px 16px}:host::ng-deep .dialog.small .dialog__header{color:#002c4f;margin-bottom:16px}:host::ng-deep .dialog.small .dialog__header .header__title{font-size:13px;line-height:16px}:host::ng-deep .dialog.small .dialog__content{font-size:12px;line-height:16px}:host::ng-deep .dialog.small .dialog__footer{min-height:42px;padding:16px 0 0;font-size:12px;line-height:14px}:host::ng-deep .dialog.small .dialog__footer button{padding:6px 12px;min-width:60px}:host::ng-deep .dialog.large{width:800px;padding:20px}:host::ng-deep .dialog .dialog__header{width:100%;display:flex;justify-content:space-between;align-items:center;padding:0}:host::ng-deep .dialog .dialog__header::before{display:none}:host::ng-deep .dialog .dialog__header .header__title{color:#002c4f;font-family:Arial;font-size:15px;font-weight:700;line-height:18px;flex:1;overflow:hidden;display:flex;align-items:center;gap:8px}:host::ng-deep .dialog .dialog__header .header__close-icon{display:block;width:100%;height:100%}:host::ng-deep .dialog .dialog__header .header__close-btn{cursor:pointer;flex:0 0 20px;padding:4px;width:20px;height:20px;display:flex;justify-content:center;align-items:center}:host::ng-deep .dialog .dialog__content{width:100%;min-height:38px;position:relative;overflow-y:auto;overflow-x:hidden;margin:0;padding:0;font-size:13px;line-height:19px}:host::ng-deep .dialog .dialog__footer{position:relative;display:flex;align-items:center;justify-content:flex-end;padding:20px 0 0;font-size:13px;line-height:16px;margin-bottom:0}:host::ng-deep .dialog .dialog__footer button{border-radius:4px;padding:6px 16px;border:none;min-width:70px}:host::ng-deep .dialog .dialog__footer button+button{margin-left:12px}:host::ng-deep .dialog .dialog__footer .save-btn{background:#1364b3;border:1px solid #1364b3;font-weight:700;color:#fff}:host::ng-deep .dialog .dialog__footer .cancel-btn{border:1px solid #adb5bd;background:#fff}:host::ng-deep .dialog .dialog__loading{height:100%;background:0 0;position:fixed;top:0;left:0;right:0;bottom:0;z-index:9999}:host::ng-deep .dialog .dialog__loading img{position:absolute;left:50%;top:50%;width:40px;height:40px;transform:translate(-50%,-50%)}"]}]}],t.ctorParameters=function(){return[{type:p.MatDialogRef}]},t.propDecorators={hideHeader:[{type:e.Input}],hideCloseIcon:[{type:e.Input}],hideCloseBtn:[{type:e.Input}],hideSaveBtn:[{type:e.Input}],saveBtnLabel:[{type:e.Input}],cancelBtnLabel:[{type:e.Input}],showErrorIcon:[{type:e.Input}],size:[{type:e.Input}],title:[{type:e.Input}],loading:[{type:e.Input}],saveEmit:[{type:e.Output}],closeEmit:[{type:e.Output}],footerContent:[{type:e.ContentChild,args:["footerSlot",{static:!0}]}]},t}();var tt=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{declarations:[_,D,A,L,R,q,U,H,z,F,G,V,W,$,J,Z,Y],imports:[u.CommonModule,d.HttpClientModule,c.ReactiveFormsModule,c.FormsModule,l.MatSnackBarModule,p.MatDialogModule,a.MatIconModule,n.GridModule,n.PagerModule,n.GridAllModule,g.SwitchModule,g.CheckBoxModule,g.RadioButtonModule,g.ButtonModule,h.DiagramModule,f.TooltipModule,f.DialogModule,m.DatePickerModule,m.DateRangePickerModule,m.DateTimePickerModule,b.TextBoxModule,b.ColorPickerModule,b.UploaderModule,b.NumericTextBoxModule,x.DropDownListModule,x.DropDownTreeModule,x.MultiSelectAllModule,x.AutoCompleteModule,x.ListBoxModule,v.PivotViewAllModule,v.PivotFieldListAllModule,y.ChartAllModule,y.AccumulationChartAllModule,y.RangeNavigatorAllModule,y.AccumulationChartModule,w.DashboardLayoutModule,C.CarouselAllModule,C.ToolbarModule,C.TabModule,k.PdfViewerModule,I.DropDownButtonModule,I.SplitButtonModule,S.RichTextEditorAllModule],providers:[n.PageService,n.SortService,n.FilterService,n.ExcelExportService,n.EditService,n.ResizeService,n.ToolbarService,n.ColumnChooserService,n.AggregateService,n.ColumnMenuService,n.DetailRowService,n.SelectionService,n.GroupService,y.PieSeriesService,y.AccumulationLegendService,y.AccumulationTooltipService,y.AccumulationAnnotationService,y.AccumulationDataLabelService,k.LinkAnnotationService,k.BookmarkViewService,k.MagnificationService,k.ThumbnailViewService,k.ToolbarService,k.NavigationService,k.TextSearchService,k.TextSelectionService,k.PrintService,S.HtmlEditorService,S.ToolbarService,O,K,X,N],exports:[u.CommonModule,d.HttpClientModule,c.ReactiveFormsModule,c.FormsModule,l.MatSnackBarModule,p.MatDialogModule,n.GridModule,n.PagerModule,n.GridAllModule,g.SwitchModule,g.CheckBoxModule,g.RadioButtonModule,g.ButtonModule,h.DiagramModule,f.TooltipModule,f.DialogModule,m.DatePickerModule,m.DateRangePickerModule,m.DateTimePickerModule,b.TextBoxModule,b.ColorPickerModule,b.UploaderModule,b.NumericTextBoxModule,x.DropDownListModule,x.DropDownTreeModule,x.MultiSelectAllModule,x.AutoCompleteModule,x.ListBoxModule,v.PivotViewAllModule,v.PivotFieldListAllModule,y.ChartAllModule,y.AccumulationChartAllModule,y.RangeNavigatorAllModule,y.AccumulationChartModule,w.DashboardLayoutModule,C.CarouselAllModule,C.ToolbarModule,C.TabModule,k.PdfViewerModule,I.DropDownButtonModule,I.SplitButtonModule,S.RichTextEditorAllModule,_,D,A,L,R,q,U,H,z,F,G,V,W,$],entryComponents:[J,Z,Y]}]}],t}();t.CheckboxGroupComponent=W,t.CommonFunctionService=O,t.CommonGridComponent=_,t.DialogService=X,t.FloatBoxComponent=D,t.GridBoxComponent=R,t.IconLoaderService=K,t.KeepAliveService=N,t.MainContainerComponent=F,t.MessageType=Q,t.MultiTabComponent=z,t.RSAsideComponent=H,t.RSFooterComponent=U,t.RSHeaderComponent=q,t.RadioGroupComponent=V,t.RaiseCommonLibModule=tt,t.RsPageListComponent=A,t.RsPageTabComponent=L,t.SwitchInputComponent=$,t.TagInputComponent=G,t.ɵa=J,t.ɵb=Z,t.ɵc=Y,Object.defineProperty(t,"__esModule",{value:!0})}));
|
|
16
16
|
//# sourceMappingURL=raise-common-lib.umd.min.js.map
|