@progress/kendo-angular-grid 7.0.1 → 7.1.0-dev.202206011456
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/kendo-angular-grid.umd.js +1 -1
- package/esm2015/column-menu/column-menu.component.js +2 -2
- package/esm2015/filtering/base-filter-cell.component.js +0 -1
- package/esm2015/filtering/menu/filter-menu.component.js +2 -2
- package/esm2015/grid.component.js +48 -37
- package/esm2015/main.js +3 -0
- package/esm2015/navigation/logical-cell.directive.js +3 -3
- package/esm2015/navigation/navigable-settings.js +5 -0
- package/esm2015/navigation/navigation.service.js +14 -1
- package/esm2015/package-metadata.js +1 -1
- package/esm2015/pager/pager.component.js +11 -11
- package/esm2015/rendering/header/header.component.js +1 -11
- package/esm2015/rendering/list.component.js +1 -1
- package/fesm2015/kendo-angular-grid.js +84 -71
- package/filtering/base-filter-cell.component.d.ts +0 -1
- package/grid.component.d.ts +8 -3
- package/main.d.ts +3 -0
- package/navigation/navigable-settings.d.ts +12 -0
- package/navigation/navigation.service.d.ts +7 -1
- package/package.json +1 -1
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@progress/kendo-angular-common"),require("rxjs"),require("rxjs/operators"),require("@progress/kendo-angular-l10n"),require("@angular/common"),require("@angular/forms"),require("@progress/kendo-licensing"),require("@progress/kendo-data-query"),require("@progress/kendo-angular-popup"),require("@angular/platform-browser"),require("@progress/kendo-angular-inputs"),require("@progress/kendo-angular-dropdowns"),require("@progress/kendo-angular-label"),require("@progress/kendo-angular-dateinputs"),require("@angular/animations"),require("@progress/kendo-common"),require("@progress/kendo-angular-intl"),require("@progress/kendo-angular-buttons"),require("@progress/kendo-angular-pdf-export"),require("@progress/kendo-file-saver"),require("@progress/kendo-angular-excel-export")):"function"==typeof define&&define.amd?define("KendoAngularGrid",["exports","@angular/core","@progress/kendo-angular-common","rxjs","rxjs/operators","@progress/kendo-angular-l10n","@angular/common","@angular/forms","@progress/kendo-licensing","@progress/kendo-data-query","@progress/kendo-angular-popup","@angular/platform-browser","@progress/kendo-angular-inputs","@progress/kendo-angular-dropdowns","@progress/kendo-angular-label","@progress/kendo-angular-dateinputs","@angular/animations","@progress/kendo-common","@progress/kendo-angular-intl","@progress/kendo-angular-buttons","@progress/kendo-angular-pdf-export","@progress/kendo-file-saver","@progress/kendo-angular-excel-export"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).KendoAngularGrid={},e.ng.core,e.KendoAngularCommon,e.rxjs,e.rxjs.operators,e.KendoAngularL10N,e.ng.common,e.ng.forms,e.KendoLicensing,e.KendoDataQuery,e.KendoAngularPopup,e.ng.platformBrowser,e.KendoAngularInputs,e.KendoAngularDropdowns,e.KendoAngularLabel,e.KendoAngularDateinputs,e.ng.animations,e.KendoCommon,e.KendoAngularIntl,e.KendoAngularButtons,e.KendoAngularPdfExport,e.KendoFileSaver,e.KendoAngularExcelExport)}(this,function(e,P,p,b,G,M,t,z,N,j,n,A,B,o,H,$,r,K,q,_,W,Z,U){"use strict";function Q(n){if(n&&n.__esModule)return n;var o=Object.create(null);return n&&Object.keys(n).forEach(function(e){var t;"default"!==e&&(t=Object.getOwnPropertyDescriptor(n,e),Object.defineProperty(o,e,t.get?t:{enumerable:!0,get:function(){return n[e]}}))}),o.default=n,Object.freeze(o)}var i=Q(P),X=Q(p),a=Q(M),s=Q(t),l=Q(z),Y=Q(n),J=Q(A),ee=Q(B),te=Q(o),A=Q(H),ne=Q($),oe=Q(q),re=function(e,t){return(re=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}re(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}Object.create;function k(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var o,r,i=n.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(o=i.next()).done;)a.push(o.value)}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return a}function g(e,t,n){if(n||2===arguments.length)for(var o,r=0,i=t.length;r<i;r++)!o&&r in t||((o=o||Array.prototype.slice.call(t,0,r))[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}Object.create;function ie(e){return null==e}function ae(e){return Array.isArray(e)}function se(e){return b.merge(b.of(e),e.changes)}function le(){return"undefined"==typeof document}function ce(e){return"string"==typeof e}function pe(e){return"number"==typeof e&&!isNaN(e)}function ue(e){return ce(e)&&!ye(e)&&e.startsWith("{0:")?e.slice(3,e.length-1):e}function de(n){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return!n.apply(null,e)}}function ge(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(n){return e.reduce(function(e,t){return e||t(n)},!1)}}function me(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(n){return e.reduce(function(e,t){return e&&t(n)},!0)}}var he=/^\s*$/,V=function(e){return null!=e},fe=function(e){return!!e},ye=function(e){return ie(e)||he.test(e)},q=new P.InjectionToken("Skip"),ve=function(){if("function"==typeof Symbol&&Symbol.iterator)return Symbol.iterator;for(var e=Object.getOwnPropertyNames(Map.prototype),t=Map.prototype,n=0;n<e.length;++n){var o=e[n];if("entries"!==o&&"size"!==o&&t[o]===t.entries)return o}}();function be(e,t,n){return e.replace(new RegExp("{\\s*"+t+"\\s*}","g"),n)}var ke="undefined"!=typeof window?window:{},Ce=ke.requestAnimationFrame||ke.msRequestAnimationFrame||function(e){return setTimeout(e,1e3/60)},Ie=ke.cancelAnimationFrame||ke.msCancelRequestAnimationFrame||clearTimeout,ke=(Object.defineProperty(xe.prototype,"sizedClass",{get:function(){return V(this.width)},enumerable:!1,configurable:!0}),Object.defineProperty(xe.prototype,"flexBasisStyle",{get:function(){return this.width},enumerable:!1,configurable:!0}),xe);function xe(){this.hostClass=!0}ke.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ke,deps:[],target:i.ɵɵFactoryTarget.Component}),ke.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:ke,selector:"kendo-grid-spacer, kendo-pager-spacer",inputs:{width:"width"},host:{properties:{"class.k-spacer":"this.hostClass","class.k-spacer-sized":"this.sizedClass","style.flexBasis":"this.flexBasisStyle"}},ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ke,decorators:[{type:P.Component,args:[{selector:"kendo-grid-spacer, kendo-pager-spacer",template:""}]}],propDecorators:{hostClass:[{type:P.HostBinding,args:["class.k-spacer"]}],sizedClass:[{type:P.HostBinding,args:["class.k-spacer-sized"]}],flexBasisStyle:[{type:P.HostBinding,args:["style.flexBasis"]}],width:[{type:P.Input}]}});var we=function(){this.cellClick=new P.EventEmitter,this.cellMousedown=new P.EventEmitter,this.cellMouseup=new P.EventEmitter,this.click=new P.EventEmitter,this.keydown=new P.EventEmitter,this.focus=new P.EventEmitter,this.focusIn=new P.EventEmitter,this.focusOut=new P.EventEmitter,this.windowBlur=new P.EventEmitter},Se=(we.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:we,deps:[],target:i.ɵɵFactoryTarget.Injectable}),we.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:we}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:we,decorators:[{type:P.Injectable}]}),function(){this.changes=new P.EventEmitter}),De=(Se.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Se,deps:[],target:i.ɵɵFactoryTarget.Injectable}),Se.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Se}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Se,decorators:[{type:P.Injectable}]}),Te.prototype.focus=function(){this.navigationService.focusCell()},Te.prototype.toggle=function(e){this.navigationService.toggle(e)},Te.prototype.canFocus=function(){return!0},Te.prototype.hasFocus=function(){return this.navigationService.hasFocus()},Te.prototype.isNavigable=function(){return!1},Te);function Te(e){this.navigationService=e}Object.defineProperty(Oe.prototype,"row",{get:function(){return this.model.findRow(this.activeRow)},enumerable:!1,configurable:!0}),Object.defineProperty(Oe.prototype,"cell",{get:function(){var e=this.row;if(e)return this.model.findCell(this.activeCol,e)},enumerable:!1,configurable:!0}),Object.defineProperty(Oe.prototype,"dataRowIndex",{get:function(){var e=this.row;return e?e.dataRowIndex:-1},enumerable:!1,configurable:!0}),Oe.prototype.reset=function(e,t,n){void 0===e&&(e=this.activeRow),void 0===t&&(t=this.activeCol),this.activate(e,t,n=void 0===n?!0:n)&&(this.virtualRow=e,this.virtualCol=t)},Oe.prototype.activate=function(e,t,n){if(!n&&this.isActiveRange(e,t))return!1;var n=this.activeCol,o=this.activeRow;return this.activeCol=t,this.activeRow=e,this.changes.next({colIndex:t,prevColIndex:n,prevRowIndex:o,rowIndex:e}),!0},Oe.prototype.isActiveRange=function(e,t){if(this.activeRow!==e)return!1;var e=this.cell,n=this.model.cellRange(e),o=n.start,n=n.end;return!Boolean(e)||o<=t&&t<=n},Oe.prototype.assume=function(e,t){void 0===e&&(e=this.activeRow),void 0===t&&(t=this.activeCol),this.virtualRow=e,this.virtualCol=t,this.activeCol=t,this.activeRow=e},Oe.prototype.announce=function(){this.changes.next({colIndex:this.activeCol,prevColIndex:this.activeCol,prevRowIndex:this.activeRow,rowIndex:this.activeRow})},Oe.prototype.activateVirtualCell=function(e){var t=this.model.rowRange(e),n=this.model.cellRange(e),o=this.activeCol,r=this.activeRow;if(t.start<=r&&r<=t.end&&n.start<=o&&o<=n.end)return this.activeRow=e.rowIndex,this.activeCol=e.colIndex,!0},Oe.prototype.isActive=function(e,t){return this.activeCol===t&&this.activeRow===e},Oe.prototype.moveUp=function(e){return this.offsetRow(-(e=void 0===e?1:e))},Oe.prototype.moveDown=function(e){return this.offsetRow(e=void 0===e?1:e)},Oe.prototype.moveLeft=function(e){return this.offsetCol(-(e=void 0===e?1:e))},Oe.prototype.moveRight=function(e){return this.offsetCol(e=void 0===e?1:e)},Oe.prototype.lastCellIndex=function(e){return this.metadata.columns.leafColumnsToRender.length-1+(!this.metadata.hasDetailTemplate||e&&e.groupItem?0:1)},Oe.prototype.offsetCol=function(e){var t=this.model.findRow(this.virtualRow),n=this.lastCellIndex(t),o=this.virtualCol,r=(this.virtualCol=Math.max(0,Math.min(o+e,n)),this.virtualCol),i=this.virtualRow,a=this.model.findCell(this.virtualCol,t);return!a&&this.metadata.virtualColumns?this.activate(i,r):(1<a.colSpan&&a.colIndex<=o&&o<a.colIndex+a.colSpan&&(r=0<e?Math.min(a.colIndex+a.colSpan,n):Math.max(0,a.colIndex+e),i=this.model.findCell(r,t),this.virtualCol=a!==i?(a=i).colIndex:o),this.activate(a.rowIndex,a.colIndex))},Oe.prototype.offsetRow=function(e){var t=this.virtualCol;if(this.metadata&&this.metadata.isVirtual)return n=this.metadata.maxLogicalRowIndex,o=Math.max(0,Math.min(this.activeRow+e,n)),this.metadata.hasDetailTemplate&&!this.model.findRow(o)&&(o=0<e?o+1:o-1,o=Math.max(0,Math.min(o,n))),this.metadata.hasDetailTemplate&&o===n&&this.model.lastRow.index!==n&&o--,(n=this.model.findRow(o))&&(o=(n=(n=this.model.findCell(this.virtualCol,n)).rowIndex<=this.virtualRow&&0<e&&1<n.rowSpan?this.model.findCell(this.virtualCol,this.model.findRow(n.rowIndex+n.rowSpan-1+e)):n).rowIndex,t=n.colIndex),this.virtualRow=o,this.activate(o,t);var n=this.model.findRow(this.virtualRow+e)||this.model.nextRow(this.virtualRow,e);if(!n)return!1;var o=this.model.findCell(this.virtualCol,n);return o&&o.rowIndex<=this.virtualRow&&0<e&&1<o.rowSpan&&(t=o.rowIndex+o.rowSpan-1+e,o=this.model.findCell(this.virtualCol,this.model.findRow(t))),!o&&this.metadata.virtualColumns?this.activate(this.virtualRow+e,this.virtualCol):(this.virtualRow=o.rowIndex,this.activate(this.virtualRow,o.colIndex))};var Fe=Oe;function Oe(e){this.model=e,this.changes=new b.Subject,this.activeRow=0,this.activeCol=0,this.virtualCol=0,this.virtualRow=0}Object.defineProperty(Re.prototype,"first",{get:function(){var t;if(0<this.count)return this.forEach(function(e){return t=e,!0}),t},enumerable:!1,configurable:!0}),Object.defineProperty(Re.prototype,"last",{get:function(){var e;if(0<this.count)return e=Object.keys(this.items),this.items[e[e.length-1]]},enumerable:!1,configurable:!0}),Re.prototype.removeItem=function(e){this.items[e]&&(delete this.items[e],this.count--)},Re.prototype.setItem=function(e,t){this.items[e]||this.count++,this.items[e]=t},Re.prototype.getItem=function(e){return this.items[e]},Re.prototype.toArray=function(){var t=[];return this.forEach(function(e){t.push(e)}),t},Re.prototype.forEach=function(e){for(var t in this.items)if(this.items.hasOwnProperty(t)&&e(this.items[t]))return this.items[t]},Re.prototype.find=function(e){return this.forEach(e)};var Ee=Re;function Re(){this.count=0,this.items={}}Object.defineProperty(Pe.prototype,"firstRow",{get:function(){return this.rows.first},enumerable:!1,configurable:!0}),Object.defineProperty(Pe.prototype,"lastRow",{get:function(){return this.rows.last},enumerable:!1,configurable:!0}),Pe.prototype.registerCell=function(e){var t,n,o=this.rows.getItem(e.logicalRowIndex);if(o)return t=e.logicalColIndex,n={uid:e.uid,colIndex:t,rowIndex:o.index,colSpan:e.colSpan,rowSpan:e.rowSpan,detailExpandCell:e.detailExpandCell,dataItem:o.dataItem,dataRowIndex:o.dataRowIndex,focusGroup:e.focusGroup},o.cells.setItem(t,n),e.groupItem&&(o.groupItem=e.groupItem),n},Pe.prototype.unregisterCell=function(e,t,n){var o,t=this.rows.getItem(t);t&&(o=t.cells.getItem(e))&&o.uid===n.uid&&t.cells.removeItem(e)},Pe.prototype.registerRow=function(e){var t={uid:e.uid,index:e.logicalRowIndex,dataItem:e.dataItem,dataRowIndex:e.dataRowIndex,cells:new Ee};this.rows.setItem(e.logicalRowIndex,t)},Pe.prototype.updateRow=function(e){var t=this.rows.getItem(e.logicalRowIndex);t&&Object.assign(t,{dataItem:e.dataItem,dataRowIndex:e.dataRowIndex})},Pe.prototype.unregisterRow=function(e,t){var n=this.rows.getItem(e);n&&n.uid===t.uid&&this.rows.removeItem(e)},Pe.prototype.cellRange=function(e){return e?{start:e.colIndex,end:e.colIndex+(e.colSpan||1)-1}:{}},Pe.prototype.rowRange=function(e){return e?{start:e.rowIndex,end:e.rowIndex+(e.rowSpan||1)-1}:{}},Pe.prototype.nextRow=function(e,t){var n=this.rows.toArray(),e=this.rows.getItem(e),e=n.indexOf(e);return n[e+t]},Pe.prototype.findRow=function(e){return this.rows.getItem(e)},Pe.prototype.findCell=function(e,t){if(t){for(var n=t.index,o=t.cells.getItem(e),r=n;!o&&t;)t=this.rows.getItem(r),o=this.rowCell(e,t),r--;return o&&n<=t.index+(o.rowSpan||1)-1?o:void 0}},Pe.prototype.rowCell=function(e,t){if(t&&t.cells.count){for(var n,o=t.cells.first,r=e;!n&&r>=o.colIndex;)n=t.cells.getItem(r),r--;return n&&e<=n.colIndex+(n.colSpan||1)-1?n:void 0}};var Le=Pe;function Pe(){this.rows=new Ee}function Ge(e){return String(e).trim().split(" ")}function Ve(e,t){var n=Ge(t);return Boolean(Ge(e.className).find(function(e){return 0<=n.indexOf(e)}))}function Me(t){return function(e){return Ve(e,t)}}function ze(t){return He[t]||(He[t]=function(e){return String(e.nodeName).toLowerCase()===t.toLowerCase()}),He[t]}function Ne(e,t,n){for(;e&&e!==n&&!t(e);)e=e.parentNode;if(e!==n)return e}function je(e,t){return void 0===t&&(t=!0),We(e,function(e){return _e(e,t)},!1)}function Ae(e,t){return void 0===t&&(t=!0),o=null,We(e,function(e){return n(e)&&(o=e),!1},e=void 0===(e=!(n=function(e){return _e(e,t)}))?!0:e),o;var n,o}var Be=/^(?:a|input|select|option|textarea|button|object)$/i,He={},$e=function(e,t){for(;e&&!t(e);)e=e.parentNode;return e},Ke=function(e){var t=e.getBoundingClientRect(),n=0<t.width&&0<t.height,t=0!==t.x&&0!==t.y;return(n||t)&&"hidden"!==window.getComputedStyle(e).visibility},qe=function(e){if(!e.tagName)return!1;var t=e.tagName.toLowerCase(),n=Boolean(e.getAttribute("tabIndex"));return!e.disabled&&Be.test(t)||n},_e=function(e,t){if(void 0===t&&(t=!0),!qe(e))return!1;var t=!t||Ke(e),n="true"===e.getAttribute("aria-hidden"),e=e.getAttribute("tabIndex");return t&&!n&&"-1"!==e},We=function(e,t,n){if(void 0===n&&(n=!0),e){if(n&&t(e))return e;for(e=e.firstChild;e;){if(1===e.nodeType){var o=We(e,t);if(o)return o}e=e.nextSibling}}};Object.defineProperty(Ue.prototype,"currentPage",{get:function(){return this.skip/this.pageSize},enumerable:!1,configurable:!0}),Ue.prototype.notifyChanges=function(e){this.total=e.total,this.pageSize=e.pageSize,this.skip=e.skip,this.changes.next(e)},Ue.prototype.changePage=function(e){this.pageChange.next({skip:e*this.pageSize,take:this.pageSize})},Ue.prototype.changePageSize=function(e){this.pageChange.next({skip:0,take:e})},Ue.prototype.nextPage=function(){var e=this.currentPage+1;e*this.pageSize<this.total&&this.changePage(e)},Ue.prototype.prevPage=function(){var e=this.currentPage-1;0<=e*this.pageSize&&this.changePage(e)};var Ze=Ue;function Ue(){this.changes=new b.Subject,this.pageChange=new b.Subject}Xe.prototype.scrollTo=function(e){this.requests.next(e)};var Qe=Xe;function Xe(){this.requests=new b.Subject}Qe.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Qe,deps:[],target:i.ɵɵFactoryTarget.Injectable}),Qe.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Qe}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Qe,decorators:[{type:P.Injectable}]});function Ye(e){return V(e)?{group:e.data,groupIndex:e.index,parentGroup:Ye(e.parentGroup)}:null}et.prototype.reset=function(){this.rowState.clear()},et.prototype.ngOnDestroy=function(){this.reset()},et.prototype.isExpanded=function(e){return this.userCallback?this.userCallback(e):!this.rowState.has(e.groupIndex)},et.prototype.isInExpandedGroup=function(e){for(var t=!0;e&&t;)t=this.isExpanded({group:e.data,groupIndex:e.index,parentGroup:Ye(e.parentGroup)}),e=e.parentGroup;return t},et.prototype.toggleRow=function(e){var t=Ye(e.parentGroup),n=!this.isExpanded({group:e.data,groupIndex:e.index,parentGroup:t});this.changes.next({group:e.data,expand:n,groupIndex:e.index,parentGroup:t}),this.userCallback||(n?this.rowState.delete(e.index):this.rowState.add(e.index))},et.prototype.expandChildren=function(o){var r=this;this.rowState.forEach(function(e){return(n=o)!==(t=e)&&t.startsWith(n)&&r.rowState.delete(e);var t,n})};var Je=et;function et(){this.changes=new b.Subject,this.rowState=new Set}Je.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Je,deps:[],target:i.ɵɵFactoryTarget.Injectable}),Je.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Je}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Je,decorators:[{type:P.Injectable}]});nt.prototype.preventDefault=function(){this.prevented=!0},nt.prototype.isDefaultPrevented=function(){return this.prevented};var tt=nt;function nt(){this.prevented=!1}c(it,ot=tt);var ot,rt=it;function it(e){var t=ot.call(this)||this;return Object.assign(t,e),t}c(lt,at=tt);var at,st=lt;function lt(e){var t=at.call(this)||this;return Object.assign(t,e),t}pt.prototype.ngOnDestroy=function(){this.rowState.clear()},pt.prototype.isExpanded=function(e,t){return this.userCallback?this.userCallback({index:e,dataItem:t}):this.rowState.has(e)},pt.prototype.toggleRow=function(e,t){this.isExpanded(e,t)?this.collapseRow(e,t):this.expandRow(e,t)},pt.prototype.expandRow=function(e,t){this.emitEvent({dataItem:t,index:e,expand:!0})||this.userCallback||this.rowState.add(e)},pt.prototype.collapseRow=function(e,t){this.emitEvent({dataItem:t,index:e,expand:!1})||this.userCallback||this.rowState.delete(e)},pt.prototype.emitEvent=function(e){e=new(e.expand?st:rt)(e);return this.changes.next(e),e.isDefaultPrevented()};var ct=pt;function pt(){this.changes=new b.Subject,this.rowState=new Set}ct.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ct,deps:[],target:i.ɵɵFactoryTarget.Injectable}),ct.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ct}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ct,decorators:[{type:P.Injectable}]});var ut=new P.InjectionToken("focus-root-initial-active-state"),dt=(gt.prototype.registerGroup=function(e){this.active&&this.groups.add(e)},gt.prototype.unregisterGroup=function(e){this.active&&this.groups.delete(e)},gt.prototype.activate=function(){this.active&&this.groups.forEach(function(e){return e.activate()})},gt.prototype.deactivate=function(){this.active&&this.groups.forEach(function(e){return e.deactivate()})},gt);function gt(e){this.active=e=void 0===e?!1:e,this.groups=new Set}dt.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:dt,deps:[{token:ut,optional:!0}],target:i.ɵɵFactoryTarget.Injectable}),dt.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:dt}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:dt,decorators:[{type:P.Injectable}],ctorParameters:function(){return[{type:void 0,decorators:[{type:P.Optional},{type:P.Inject,args:[ut]}]}]}});c(ft,mt=tt);var mt,ht=ft;function ft(e){var t=mt.call(this)||this;return t.action="cellClose",Object.assign(t,e),t}function yt(e){return-1===e||void 0===e}d.prototype.editRow=function(e,t){this.editedIndices.push({index:e,group:t=void 0===t?void 0:t}),this.onChanged()},d.prototype.addRow=function(e){this.newItemGroup={group:e},this.onChanged()},d.prototype.editCell=function(e,t,n){yt(e)||!1===t.editable||!t.editTemplate&&!t.field||(this.preventCellClose(),this.closeCell()||(this.editRow(e,n),this.column=t,this.onChanged()))},d.prototype.isEditing=function(){return 0<this.editedIndices.length},d.prototype.isEditingCell=function(){return this.isEditing()&&void 0!==this.column},Object.defineProperty(d.prototype,"hasNewItem",{get:function(){return V(this.newItemGroup)},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"newDataItem",{get:function(){return this.hasNewItem?this.newItemGroup.group.value:{}},enumerable:!1,configurable:!0}),d.prototype.close=function(e){var t;yt(e)?this.newItemGroup=void 0:(this.editedIndices=this.editedIndices.filter((t=e,function(e){return e.index!==t})),delete this.column,this.onChanged())},d.prototype.closeCell=function(n){var o=this;if(this.column&&!this.closingCell)return this.ngZone.run(function(){var e=o.editedIndices[0],t=e.index,e=e.group,e=new ht({column:o.column,formGroup:e,originalEvent:n,rowIndex:t});return o.closingCell=!0,o.changes.emit(e),o.closingCell=!1,e.isDefaultPrevented()||o.cancelCell(),e.isDefaultPrevented()})},d.prototype.cancelCell=function(){this.column&&(this.editedIndices=[],delete this.column,this.onChanged())},d.prototype.shouldCloseCell=function(){return this.column&&!this.keepEditCell},d.prototype.preventCellClose=function(){var e=this;this.ngZone.runOutsideAngular(function(){window.clearTimeout(e.keepCellTimeout),e.keepEditCell=!0,e.keepCellTimeout=window.setTimeout(function(){e.keepEditCell=!1},0)})},d.prototype.context=function(e){return yt(e)?this.newItemGroup:this.findByIndex(e)},d.prototype.columnContext=function(e,t){return yt(e)?this.newItemGroup:this.column&&t!==this.column?void 0:this.findByIndex(e)},d.prototype.isEdited=function(e){return!(!yt(e)||!V(this.newItemGroup))||!this.column&&V(this.findByIndex(e))},d.prototype.hasEdited=function(e){return V(this.context(e))},d.prototype.isEditedColumn=function(e,t){return!(!this.column||this.column!==t)&&V(this.findByIndex(e))},d.prototype.beginEdit=function(e){this.changes.emit({action:"edit",rowIndex:e})},d.prototype.beginAdd=function(){this.changes.emit({action:"add"})},d.prototype.endEdit=function(e){var t=this.context(e).group;this.changes.emit({action:"cancel",rowIndex:e,formGroup:t,isNew:yt(e)})},d.prototype.save=function(e){var t=this.context(e).group;this.changes.emit({action:"save",rowIndex:e,formGroup:t,isNew:yt(e)})},d.prototype.remove=function(e){this.changes.emit({action:"remove",rowIndex:e})},d.prototype.findByIndex=function(e){return this.editedIndices.find((t=e,function(e){return e.index===t}));var t},d.prototype.onChanged=function(){var e=this;this.ngZone.runOutsideAngular(function(){e.changedSource.next()})};var u=d;function d(e){var t=this;this.ngZone=e,this.changes=new P.EventEmitter,this.editedIndices=[],this.keepEditCell=!1,this.closingCell=!1,this.changedSource=new b.Subject,this.changed=this.changedSource.asObservable().pipe(G.switchMap(function(){return t.ngZone.onStable.asObservable().pipe(G.take(1))}))}u.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:u,deps:[{token:i.NgZone}],target:i.ɵɵFactoryTarget.Injectable}),u.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:u}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:u,decorators:[{type:P.Injectable}],ctorParameters:function(){return[{type:i.NgZone}]}});function vt(e){return!e.disabled&&(bt(e)||kt(e=e)&&Ct.test(e.type))}var bt=ze("button"),kt=ze("input"),Ct=/(button|checkbox|color|file|radio|reset|submit)/i,It=(Object.defineProperty(xt.prototype,"enabled",{get:function(){return this.focusable&&!this.focusable.disabled},enumerable:!1,configurable:!0}),Object.defineProperty(xt.prototype,"visible",{get:function(){return this.focusable&&Ke(this.focusable)},enumerable:!1,configurable:!0}),xt.prototype.isNavigable=function(){return this.canFocus()&&vt(this.element)},xt.prototype.toggle=function(e){this.renderer.setAttribute(this.focusable,"tabIndex",e?"0":"-1")},xt.prototype.focus=function(){this.focusable&&this.focusable.focus()},xt.prototype.canFocus=function(){return this.visible&&this.enabled},xt.prototype.hasFocus=function(){var t=this;return document.activeElement!==this.element&&$e(document.activeElement,function(e){return e===t.element})},xt);function xt(e,t){var n;this.renderer=t,this.element=e.nativeElement,this.focusable=(t=this.element,void 0===(n=!1)&&(n=!0),We(t,function(e){return _e(e,n)})||this.element)}var wt=new P.InjectionToken("grid-cell-context"),St={},Dt=(Object.defineProperty(Tt.prototype,"enabled",{get:function(){return this._enabled},set:function(e){(e=""===e||Boolean(e))!==this.enabled&&(this._enabled=e,this.element&&this.element.toggle(this.active&&e))},enumerable:!1,configurable:!0}),Tt.prototype.ngAfterViewInit=function(){this.element||(this.element=new It(this.hostElement,this.renderer)),this.group&&this.element&&this.toggle(this.group.isActive)},Tt.prototype.ngOnDestroy=function(){this.group&&this.group.unregisterElement(this)},Tt.prototype.toggle=function(e){this.element&&e!==this.active&&(this.element.toggle(this.enabled&&e),this.active=e)},Tt.prototype.canFocus=function(){return this.enabled&&this.element&&this.element.canFocus()},Tt.prototype.isNavigable=function(){return this.enabled&&this.element&&this.element.isNavigable()},Tt.prototype.focus=function(){this.enabled&&this.element&&this.element.focus()},Tt.prototype.hasFocus=function(){return this.enabled&&this.element&&this.element.hasFocus()},Tt.prototype.registerElement=function(e){this.element=e},Tt);function Tt(e,t,n){this.cellContext=e,this.hostElement=t,this.renderer=n,this.active=!0,this._enabled=!0,this.cellContext&&(this.group=this.cellContext.focusGroup),this.group&&this.group.registerElement(this)}Dt.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Dt,deps:[{token:wt,optional:!0,skipSelf:!0},{token:i.ElementRef},{token:i.Renderer2}],target:i.ɵɵFactoryTarget.Directive}),Dt.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:Dt,selector:"[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ",inputs:{enabled:["kendoGridFocusable","enabled"]},ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Dt,decorators:[{type:P.Directive,args:[{selector:"[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n "}]}],ctorParameters:function(){return[{type:void 0,decorators:[{type:P.Optional},{type:P.Inject,args:[wt]},{type:P.SkipSelf}]},{type:i.ElementRef},{type:i.Renderer2}]},propDecorators:{enabled:[{type:P.Input,args:["kendoGridFocusable"]}]}});function Ft(e,t){if(e=function(e,t){for(var n=$e(e,Gt);n&&!Et(n,t);)n=$e(n.parentElement,Gt);return n}(e,t),t=$e(e,ze("tr")),e&&t){var t=(t=t.getAttribute("aria-rowindex"))?parseInt(t,10)-1:null,n=(n=e.getAttribute("aria-colindex"))?parseInt(n,10)-1:null;if(null!==t&&null!==n)return{colIndex:n,rowIndex:t,element:e}}}function Ot(e){return(t=e)===p.Keys.ArrowLeft||t===p.Keys.ArrowRight||t===p.Keys.ArrowUp||t===p.Keys.ArrowDown||e===p.Keys.PageUp||e===p.Keys.PageDown||e===p.Keys.Home||e===p.Keys.End;var t}var Et=function(e,t){return $e(e,ze("kendo-grid"))===t},Rt=ze("th"),Lt=ze("td"),Pt=ze(".k-grid-footer td"),Gt=function(e){return Lt(e)||Rt(e)||Pt(e)},Vt=ze("input"),Mt=(zt.prototype.containsRow=function(e){return e<0||e>=this.firstItemIndex&&e<=this.lastItemIndex},zt.prototype.intersects=function(e,t){return e<=this.firstItemIndex&&this.lastItemIndex<=t||this.firstItemIndex<=e&&e<=this.lastItemIndex||this.firstItemIndex<=t&&t<=this.lastItemIndex},zt);function zt(e,t){this.firstItemIndex=e,this.lastItemIndex=t}Object.defineProperty(h.prototype,"metadata",{get:function(){return this.meta},set:function(e){this.meta=e,this.cursor.metadata=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"enabled",{get:function(){return this.alive},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"activeCell",{get:function(){if(0!==this.mode)return this.cursor.cell},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"activeRow",{get:function(){if(0!==this.mode)return Object.assign({},this.cursor.row,{cells:this.cursor.row.cells.toArray()})},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"activeDataRow",{get:function(){return Math.max(0,this.activeRowIndex-this.meta.headerRows)},enumerable:!1,configurable:!0}),h.prototype.init=function(e){function t(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return function(e){var t;return o.zone.isStable?b.from([!0]).pipe(G.map(function(){return e})):(t=o.zone.onStable).pipe.apply(t,g([G.take(1),G.map(function(){return e})],k(n)))}}var o=this,e=(this.alive=!0,this.focusRoot.active=!0,this.metadata=e,t());this.subs=new b.Subscription,this.subs.add(this.cursor.changes.subscribe(function(e){return o.onCursorChanges(e)})),this.subs.add(this.domEvents.focus.pipe(G.switchMap(e)).subscribe(function(e){return o.navigateTo(e.target)})),this.subs.add(this.domEvents.focusOut.pipe(G.filter(function(){return 0!==o.mode}),G.switchMap(t(G.takeUntil(this.domEvents.focus)))).subscribe(function(e){return o.onFocusOut(e)})),this.subs.add(this.domEvents.windowBlur.pipe(G.filter(function(){return 0!==o.mode})).subscribe(function(){return o.onWindowBlur()})),this.subs.add(this.editService.changes.pipe(G.filter(function(e){return"edit"!==e.action&&2===o.mode}),G.filter(function(e){return"cellClose"===e.action&&!e.prevented}),G.switchMap(e)).subscribe(function(){return o.leaveCell()})),this.subs.add(this.pagerContextService.pageChange.subscribe(function(){return o.cursor.reset(0,0)})),this.subs.add(this.domEvents.keydown.subscribe(function(e){return o.onKeydown(e)})),this.subs.add(this.domEvents.keydown.pipe(G.filter(function(e){return e.keyCode===p.Keys.Tab&&2===o.mode}),G.switchMapTo(this.domEvents.focusOut.pipe(G.takeUntil(b.interval(0).pipe(G.take(1)))))).subscribe(function(){return o.onTabout()})),this.focusableParent&&(e=new De(this),this.focusableParent.registerElement(e)),this.deactivateElements()},h.prototype.ngOnDestroy=function(){this.subs&&this.subs.unsubscribe(),this.alive=!1},h.prototype.registerCell=function(e){e.logicalRowIndex!==this.pendingRowIndex&&(e=this.model.registerCell(e),this.virtualCell&&this.cursor.activateVirtualCell(e)&&(this.virtualCell=!1))},h.prototype.registerCellOnCurrentRow=function(e){e.logicalRowIndex===this.pendingRowIndex&&this.model.registerCell(e)},h.prototype.unregisterCell=function(e,t,n){this.model.unregisterCell(e,t,n)},h.prototype.registerRow=function(e){this.model.registerRow(e),this.pendingRowIndex=e.logicalRowIndex},h.prototype.updateRow=function(e){this.model.updateRow(e)},h.prototype.unregisterRow=function(e,t){this.model.unregisterRow(e,t);e=this.model.lastRow;e&&0===this.mode&&(t=this.needsViewport()&&this.viewport?this.viewport.lastItemIndex:e.index,this.activeRowIndex>t&&this.cursor.reset(0,0))},h.prototype.isCellFocusable=function(e){return this.alive&&this.active&&2!==this.mode&&this.cursor.isActive(e.logicalRowIndex,e.logicalColIndex)},h.prototype.isCellFocused=function(e){return 1===this.mode&&this.isCellFocusable(e)},h.prototype.navigateTo=function(e){var t,n,o;!this.alive||(t=Ft(e,this.meta.gridElement.nativeElement))&&(n=this.mode,o=function(t,n,e){if(void 0===e&&(e=!1),!$e(n,function(e){return e===t}))return!1;var o=$e(n,function(e){return e===n});return o&&(e||o!==t)}(t.element,document.activeElement),e=2===this.mode&&this.activeRowIndex===t.rowIndex&&e!==t.element,o?(this.mode=2,this.cursor.reset(t.rowIndex,t.colIndex),this.activateRow()):e||(this.mode=1,this.deactivateElements(),o=this.cursor.isActive(t.rowIndex,t.colIndex),1===n&&o||this.cursor.reset(t.rowIndex,t.colIndex)))},h.prototype.tryFocus=function(e){this.activateElements();var t,e=je(e);return e?((t=Ft(e,this.meta.gridElement.nativeElement))&&(this.cursor.reset(t.rowIndex,t.colIndex),this.deactivateElements(),this.enterCell()),e.focus()):this.deactivateElements(),!!e},h.prototype.needsViewport=function(){return this.meta&&this.meta.isVirtual},h.prototype.setViewport=function(e,t){var n,o;this.viewport=new Mt(e,t),this.meta&&this.meta.isVirtual&&-1<this.activeDataRow&&(o=(n=this.activeDataRow)-t,0<e-n?this.cursor.reset(e+this.meta.headerRows):0<o&&this.cursor.reset(t-this.meta.headerRows))},h.prototype.setColumnViewport=function(e,t){this.columnViewport=new Mt(e,t)},h.prototype.focusCell=function(e,t){return void 0===e&&(e=void 0),void 0===t&&(t=void 0),this.mode=1,this.cursor.reset(e,t),this.activeCell},h.prototype.focusCellByElement=function(e){e=Ft(e,this.meta.gridElement.nativeElement);if(e)return this.focusCell(e.rowIndex,e.colIndex)},h.prototype.focusNextCell=function(e){return this.focusAdjacentCell(!0,e=void 0===e?!0:e)},h.prototype.focusPrevCell=function(e){return this.focusAdjacentCell(!1,e=void 0===e?!0:e)},h.prototype.toggle=function(e){this.active=e,this.cursor.announce()},h.prototype.hasFocus=function(){return 1===this.mode||2===this.mode},h.prototype.autoFocusCell=function(e,t){return!this.meta.virtualColumns||t<this.meta.columns.lockedLeafColumns.length||this.columnViewport.intersects(e,t)},h.prototype.focusAdjacentCell=function(e,t){this.focusCell();var n=e?this.moveCursorFwd():this.moveCursorBwd();return t&&!n&&(n=e?this.cursor.moveDown(1):this.cursor.moveUp(1))&&(t=this.cursor.row,e=e?0:this.cursor.lastCellIndex(t),this.cursor.reset(t.index,e)),n?this.activeCell:(this.mode=0,this.cursor.announce(),null)},h.prototype.enterCell=function(){var e,t=this.cursor.cell;t&&(e=(t=t.focusGroup)&&t.canFocus(),this.mode=e?2:1,this.cursor.announce(),e&&(this.activateRow(),t.focus()))},h.prototype.leaveCell=function(){var e=this.cursor.cell;e&&((e=e.focusGroup)&&e.canFocus()||this.deactivateElements(),this.mode=1,this.cursor.announce())},h.prototype.activateElements=function(){this.focusRoot.activate()},h.prototype.deactivateElements=function(){this.focusRoot.deactivate()},h.prototype.activateRow=function(){this.cursor.row.cells.forEach(function(e){return e.focusGroup&&e.focusGroup.activate()})},h.prototype.moveCursorFwd=function(){return this.localization.rtl?this.cursor.moveLeft():this.cursor.moveRight()},h.prototype.moveCursorBwd=function(){return this.localization.rtl?this.cursor.moveRight():this.cursor.moveLeft()},h.prototype.onCursorKeydown=function(e){var t=this,n=!1,o=e.ctrlKey||e.metaKey,r=o?5:1;if(this.onCellKeydown(e)){var i,a,s,l=this.cursor.row;switch(e.keyCode){case p.Keys.ArrowDown:n=this.cursor.moveDown(r);break;case p.Keys.ArrowUp:n=this.cursor.moveUp(r);break;case p.Keys.ArrowRight:n=this.moveCursorFwd();break;case p.Keys.ArrowLeft:n=this.moveCursorBwd();break;case p.Keys.PageDown:this.metadata.isVirtual&&this.viewport?(a=this.meta.headerRows+this.viewport.lastItemIndex+1,this.metadata.hasDetailTemplate&&a++,a=Math.min(this.meta.maxLogicalRowIndex,a),this.cursor.reset(a),n=!0):this.metadata.hasPager&&(this.zone.run(function(){return t.pagerContextService.nextPage()}),n=!0);break;case p.Keys.PageUp:this.metadata.isVirtual&&this.viewport?(i=this.viewport.lastItemIndex-this.viewport.firstItemIndex,s=this.viewport.firstItemIndex,a=Math.max(this.meta.headerRows,s-i-1),this.cursor.reset(a),n=!0):this.metadata.hasPager&&(this.zone.run(function(){return t.pagerContextService.prevPage()}),n=!0);break;case p.Keys.Home:o?this.meta.isVirtual?this.cursor.reset(this.meta.headerRows,0,!1):this.cursor.reset(this.model.firstRow.index,0,!1):this.cursor.reset(l.index,0,!1),n=!0;break;case p.Keys.End:o?this.meta.isVirtual?(s=this.meta.maxLogicalRowIndex,this.meta.hasDetailTemplate&&s--,this.cursor.reset(s,this.cursor.lastCellIndex(),!1)):this.cursor.reset(this.model.lastRow.index,this.cursor.lastCellIndex(this.model.lastRow),!1):(i=this.cursor.lastCellIndex(l),(a=this.model.findCell(i,l))?this.cursor.reset(a.rowIndex,a.colIndex):this.cursor.reset(l.index,i)),n=!0;break;case p.Keys.Enter:case p.Keys.F2:var c=l.groupItem;c?this.zone.run(function(){return t.groupsService.toggleRow(c)}):this.cursor.cell.detailExpandCell?this.zone.run(function(){return t.detailsService.toggleRow(l.dataRowIndex,l.dataItem)}):(this.enterCell(),this.cursor.cell.focusGroup.isNavigable()||(n=!0));break;default:e.ctrlKey||e.altKey||(1!==(s=e.key).length||!s.match(/\S/))||this.enterCell()}n&&e.preventDefault()}},h.prototype.onContentKeydown=function(e){var t;this.onCellKeydown(e)&&(t=!e.defaultPrevented&&e.keyCode===p.Keys.Enter&&((t=e.srcElement)&&Vt(t)&&"text"===t.type.toLowerCase()),e.keyCode===p.Keys.Escape||e.keyCode===p.Keys.F2||t?(this.leaveCell(),this.cursor.reset(),e.stopPropagation()):Ot(e.keyCode)&&this.cursor.cell.focusGroup.isNavigable()&&(this.onCursorKeydown(e),e.defaultPrevented&&this.leaveCell()))},h.prototype.onCellKeydown=function(e){if(this.editService.isEditingCell()){var t=e.keyCode===p.Keys.Enter,n=e.keyCode===p.Keys.Escape,o=Ot(e.keyCode);if(t)this.editService.closeCell(e);else if(n)this.editService.closeCell(e),this.cd.detectChanges();else if(o)return!1}return this.cellKeydown.emit(e),!0},h.prototype.onCursorChanges=function(e){this.activeRowIndex=e.rowIndex;var t,n,o=this.activeDataRow;this.meta&&this.meta.isVirtual&&e.rowIndex>=this.meta.headerRows&&this.viewport&&!this.viewport.containsRow(o)&&-1<o&&this.scrollRequestService.scrollTo({row:o}),this.meta.virtualColumns&&e.colIndex>=this.meta.columns.lockedLeafColumns.length&&(o=this.activeCell,t=(n=this.model.cellRange(o)).start,n=n.end,o||(this.virtualCell=!0),(!o&&0!==this.mode||o&&!this.columnViewport.intersects(t,n))&&this.scrollRequestService.scrollTo({column:e.colIndex-(this.metadata.hasDetailTemplate?1:0)}))},h.prototype.onFocusOut=function(e){Ke(e.target)?this.mode=0:this.mode=1,this.deactivateElements(),this.cursor.announce()},h.prototype.onWindowBlur=function(){this.mode=0,this.deactivateElements(),this.cursor.announce()},h.prototype.onKeydown=function(e){1===this.mode?this.onCursorKeydown(e):2===this.mode&&this.onContentKeydown(e)},h.prototype.onTabout=function(){this.cursor.cell.focusGroup.isNavigable()||(this.leaveCell(),this.cursor.reset())};var m=h;function h(e,t,n,o,r,i,a,s,l,c,p){this.zone=e,this.domEvents=t,this.pagerContextService=n,this.scrollRequestService=o,this.groupsService=r,this.detailsService=i,this.focusRoot=a,this.editService=s,this.cd=l,this.localization=c,this.focusableParent=p,this.cellKeydown=new P.EventEmitter,this.activeRowIndex=0,this.alive=!1,this.active=!0,this.mode=0,this.model=new Le,this.cursor=new Fe(this.model),this.changes=this.cursor.changes}m.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:m,deps:[{token:i.NgZone},{token:we},{token:Ze},{token:Qe},{token:Je},{token:ct},{token:dt},{token:u},{token:i.ChangeDetectorRef},{token:a.LocalizationService},{token:Dt,optional:!0}],target:i.ɵɵFactoryTarget.Injectable}),m.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:m}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:m,decorators:[{type:P.Injectable}],ctorParameters:function(){return[{type:i.NgZone},{type:we},{type:Ze},{type:Qe},{type:Je},{type:ct},{type:dt},{type:u},{type:i.ChangeDetectorRef},{type:a.LocalizationService},{type:Dt,decorators:[{type:P.Optional}]}]}});Object.defineProperty(jt.prototype,"enableMarquee",{get:function(){var e=this.settings&&"object"==typeof this.settings&&this.settings.checkboxOnly;if(!this.settings||e)return!1;e=this.settings.selectable,e="object"==typeof e&&V(e)&&"multiple"===e.mode&&!1!==e.enabled&&!e.checkboxOnly&&e.drag;return this.active&&e},enumerable:!1,configurable:!0}),jt.prototype.init=function(e){if(this.settings=e,this.currentSelection=[],e.selectable&&!1!==e.selectable.enabled){for(var t,n=this.getIterator(),o=(this._selectAllState=!0,n.next());!o.done;)o.value&&"data"===o.value.type&&(t={dataItem:o.value.data,index:o.value.index},e.rowSelected(t)?this.currentSelection[o.value.index]=t:this._selectAllState=void 0),o=n.next();0===this.currentSelection.length&&(this._selectAllState=!1)}},jt.prototype.isSelected=function(e){if(this.settings&&this.active)return this.options.enabled&&V(this.currentSelection[e])},jt.prototype.handleClick=function(e,t){var n,o;this.dragging?this.dragging=!1:(o=t.ctrlKey||t.metaKey,"single"===this.options.mode&&o&&this.isSelected(e.index)?n=this.toggle(e):"multiple"===this.options.mode&&(o&&!t.shiftKey?n=this.toggle(e):t.shiftKey&&(n=this.addAllTo(e,o))),V(n)||(n=this.select(e),this.currentSelection[e.index]={dataItem:e.data,index:e.index}),(n.selectedRows.length||n.deselectedRows.length)&&(n.ctrlKey=o,n.shiftKey=t.shiftKey,this.changes.emit(n)))},jt.prototype.toggle=function(e){var t=[],n=[],o=(this.lastSelectionStartIndex=e.index,{dataItem:e.data,index:e.index});return(this.isSelected(e.index)?n:t).push(o),{deselectedRows:n,selectedRows:t}},jt.prototype.toggleByIndex=function(e){for(var t,n=this.getIterator(),o=(this.selectAllChecked&&this.isSelected(e)&&(this.selectAllChecked=!1),n.next());!o.done;){if(o.value&&"data"===o.value.type&&o.value.index===e)return t={data:o.value.data,index:o.value.index},this.isSelected(e)||"multiple"===this.options.mode?this.toggle(t):this.select(t);o=n.next()}},jt.prototype.select=function(t){var n=[],e=[];return this.lastSelectionStartIndex=t.index,this.isSelected(t.index)||e.push({dataItem:t.data,index:t.index}),this.currentSelection.forEach(function(e){e.index!==t.index&&n.push(e)}),{deselectedRows:n,selectedRows:e}},jt.prototype.deselect=function(e){for(var t,n=this.getIterator(),o=n.next();!o.done;)o.value&&"data"===o.value.type&&o.value.data===e&&(t={dataItem:o.value.data,index:o.value.index},this.isSelected(t.index)&&this.changes.emit({ctrlKey:!1,deselectedRows:[t],selectedRows:[]})),o=n.next()},jt.prototype.addAllTo=function(e,t){for(var n,o,r=[],i=[],a=Math.min(this.lastSelectionStartIndex,e.index),s=Math.max(this.lastSelectionStartIndex,e.index),l=this.getIterator(),c=l.next();!c.done;)c.value&&"data"===c.value.type&&(n=c.value.index,o={dataItem:c.value.data,index:n},(n<a||s<n)&&this.isSelected(n)&&!t&&i.push(o),a<=n&&n<=s&&!this.isSelected(n)&&r.push(o)),c=l.next();return{deselectedRows:i,selectedRows:r}},jt.prototype.updateAll=function(e){this.selectAllChecked=e;for(var t,n,o=[],r=[],i=this.getIterator(),a=i.next();!a.done;)a.value&&"data"===a.value.type&&(t=a.value.index,n={dataItem:a.value.data,index:t},this.isSelected(t)&&!e&&r.push(n),!this.isSelected(t)&&e&&o.push(n)),a=i.next();(o.length||r.length)&&this.changes.emit({ctrlKey:!0,deselectedRows:r,selectedRows:o,shiftKey:!0})},jt.prototype.selectRange=function(e,t){for(var n,o,r=[],i=[],a=Math.min(e,t),s=Math.max(e,t),l=this.getIterator(),c=l.next();!c.done;)c.value&&"data"===c.value.type&&(n=c.value.index,o={dataItem:c.value.data,index:n},(n<a||s<n)&&this.isSelected(n)&&i.push(o),a<=n&&n<=s&&!this.isSelected(n)&&r.push(o)),c=l.next();return{deselectedRows:i,selectedRows:r}},Object.defineProperty(jt.prototype,"selectAllState",{get:function(){return this._selectAllState},enumerable:!1,configurable:!0}),Object.defineProperty(jt.prototype,"selected",{get:function(){return this.currentSelection.map(function(e){return e.index}).filter(function(e){return"number"==typeof e})},enumerable:!1,configurable:!0}),Object.defineProperty(jt.prototype,"options",{get:function(){var e={checkboxOnly:!1,enabled:!0,mode:"multiple"};return V(this.settings)?"boolean"==typeof this.settings.selectable?{checkboxOnly:!1,enabled:this.settings.selectable,mode:"multiple"}:Object.assign(e,this.settings.selectable):e},enumerable:!1,configurable:!0}),jt.prototype.ngOnDestroy=function(){this.removeSubscriptions()},jt.prototype.targetArgs=function(){return{index:this.mouseDownEventArgs.rowIndex,dataItem:this.mouseDownEventArgs.dataItem}},jt.prototype.addSubscriptions=function(){var t=this;this.cellClickSubscription||(this.cellClickSubscription=this.domEvents.cellClick.subscribe(function(e){t.options.enabled&&!t.options.checkboxOnly&&"contextmenu"!==e.type&&t.active&&t.handleClick({index:e.rowIndex,data:e.dataItem},e.originalEvent)})),this.mousedownSubscription||(this.mousedownSubscription=this.domEvents.cellMousedown.subscribe(function(e){t.mouseDownEventArgs=e,!t.options.enabled||t.options.mode&&"multiple"!==t.options.mode||t.options.checkboxOnly||!e.originalEvent.shiftKey||t.active&&(e.originalEvent.preventDefault(),t.navigationService.focusCellByElement(e.originalEvent.target))})),this.localDataChangesService&&!this.dataChangedSubscription&&(this.dataChangedSubscription=this.localDataChangesService.changes.subscribe(function(e){t.active&&V(e.action)&&"remove"===e.action&&t.deselect(e.item)}))},jt.prototype.getIterator=function(){var e=this.settings.view.accessor();if(e)return e[ve]()},jt.prototype.removeSubscriptions=function(){this.cellClickSubscription&&(this.cellClickSubscription.unsubscribe(),this.cellClickSubscription=null),this.mousedownSubscription&&(this.mousedownSubscription.unsubscribe(),this.mousedownSubscription=null),this.dataChangedSubscription&&(this.dataChangedSubscription.unsubscribe(),this.dataChangedSubscription=null)};var Nt=jt;function jt(e,t,n){this.domEvents=e,this.localDataChangesService=t,this.navigationService=n,this.changes=new P.EventEmitter,this.lastSelectionStartIndex=0,this.currentSelection=[],this.selectAllChecked=!1,this.active=!1,this.dragging=!1,this.addSubscriptions()}Nt.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Nt,deps:[{token:we},{token:Se},{token:m}],target:i.ɵɵFactoryTarget.Injectable}),Nt.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Nt}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Nt,decorators:[{type:P.Injectable}],ctorParameters:function(){return[{type:we},{type:Se},{type:m}]}});Object.defineProperty(Bt.prototype,"enableMarquee",{get:function(){var e=this.settings&&"object"==typeof this.settings&&this.settings.checkboxOnly;if(!this.settings||e)return!1;e=this.settings.selectable,e="object"==typeof e&&V(e)&&"multiple"===e.mode&&e.cell&&!1!==e.enabled&&e.drag;return this.active&&e},enumerable:!1,configurable:!0}),Bt.prototype.init=function(n){var o=this;if(this.settings=n,this.currentSelection=[],n.selectable&&!1!==n.selectable.enabled)for(var e=this.getIterator(),r=e.next();!r.done;)!function(){var t;r.value&&"data"===r.value.type&&(t={dataItem:r.value.data,index:r.value.index},n.columns.forEach(function(e){e=n.cellSelected(t,e,e.leafIndex);e.selected&&o.currentSelection.push(e.item)})),r=e.next()}()},Bt.prototype.isCellSelected=function(e,t){return!(!this.settings||!this.active)&&(e=this.settings.cellSelected({dataItem:e.data,index:e.index},t,t.leafIndex),this.options.enabled&&e.selected)},Bt.prototype.handleClick=function(e,t){var n,o,r,i,a,s;this.dragging?this.dragging=!1:(n=t.ctrlKey||t.metaKey,"single"===this.options.mode&&n&&this.isCellSelected(e,e.column)?s=this.toggle(e):"multiple"===this.options.mode&&(n&&!t.shiftKey?s=this.toggle(e):t.shiftKey&&(o=Math.min(this.lastSelectionItemRowIndex,e.index),r=Math.min(this.lastSelectionItemColIndex,e.column.leafIndex),i=Math.max(this.lastSelectionItemRowIndex,e.index),a=Math.max(this.lastSelectionItemColIndex,e.column.leafIndex),s=this.selectRange(o,r,i,a))),V(s)||(s=this.select(e),this.currentSelection=[this.lastSelectionItem]),(s.selectedCells.length||s.deselectedCells.length)&&(s.ctrlKey=n,s.shiftKey=t.shiftKey,this.changes.emit(s)))},Bt.prototype.toggle=function(e){var t=[],n=[];return this.lastSelectionItem=this.settings.cellSelected({dataItem:e.data,index:e.index},e.column,e.column.leafIndex).item,this.lastSelectionItemRowIndex=e.index,this.lastSelectionItemColIndex=e.column.leafIndex,(this.isCellSelected(e,e.column)?n:t).push(this.lastSelectionItem),{deselectedCells:n,selectedCells:t}},Bt.prototype.select=function(e){var t=this,n=[],o=[];return this.lastSelectionItem=this.settings.cellSelected({dataItem:e.data,index:e.index},e.column,e.column.leafIndex).item,this.lastSelectionItemRowIndex=e.index,this.lastSelectionItemColIndex=e.column.leafIndex,this.isCellSelected(e,e.column)||n.push(this.lastSelectionItem),this.currentSelection.forEach(function(e){e.itemKey===t.lastSelectionItem.itemKey&&e.columnKey===t.lastSelectionItem.columnKey||o.push(e)}),{deselectedCells:o,selectedCells:n}},Bt.prototype.deselect=function(e){for(var n,t,o=this,r=this.getIterator(),i=r.next();!i.done;){if(i.value&&"data"===i.value.type&&i.value.data===e){n={dataItem:i.value.data,index:i.value.index};break}i=r.next()}n&&(t=this.currentSelection.filter(function(e){var t=o.settings.cellSelected(n,null,null).item;return e.itemKey===t.itemKey})).length&&this.changes.emit({ctrlKey:!1,deselectedCells:t,selectedCells:[]})},Bt.prototype.selectRange=function(e,t,n,o){for(var i=this,a=[],s=[],l=Math.min(e,n),c=Math.min(t,o),p=Math.max(e,n),u=Math.max(t,o),d=this.getIterator(),g=d.next(),m=this;!g.done;)!function(){var o,r;g.value&&"data"===g.value.type&&(o=g.value.index,r={dataItem:g.value.data,index:o},m.settings.columns.forEach(function(e){var t=i.settings.cellSelected(r,e,e.leafIndex).item,n=i.isCellSelected(g.value,e),e=c<=e.leafIndex&&e.leafIndex<=u,e=l<=o&&o<=p&&e;!e&&n&&s.push(t),e&&!n&&a.push(t)})),g=d.next()}();return{deselectedCells:s,selectedCells:a}},Object.defineProperty(Bt.prototype,"options",{get:function(){var e={checkboxOnly:!1,enabled:!0,mode:"multiple"};return V(this.settings)?"boolean"==typeof this.settings.selectable?{checkboxOnly:!1,enabled:this.settings.selectable,mode:"multiple"}:Object.assign(e,this.settings.selectable):e},enumerable:!1,configurable:!0}),Bt.prototype.ngOnDestroy=function(){this.removeSubscriptions()},Bt.prototype.addSubscriptions=function(){var t=this;this.cellClickSubscription||(this.cellClickSubscription=this.domEvents.cellClick.subscribe(function(e){t.options.enabled&&!t.options.checkboxOnly&&"contextmenu"!==e.type&&t.active&&t.handleClick({index:e.rowIndex,data:e.dataItem,column:e.column},e.originalEvent)})),this.mousedownSubscription||(this.mousedownSubscription=this.domEvents.cellMousedown.subscribe(function(e){t.mouseDownEventArgs=e,!t.options.enabled||t.options.mode&&"multiple"!==t.options.mode||t.options.checkboxOnly||!e.originalEvent.shiftKey||t.active&&(e.originalEvent.preventDefault(),t.navigationService.focusCellByElement(e.originalEvent.target))})),this.localDataChangesService&&!this.dataChangedSubscription&&(this.dataChangedSubscription=this.localDataChangesService.changes.subscribe(function(e){t.active&&V(e.action)&&"remove"===e.action&&t.deselect(e.item)}))},Bt.prototype.getIterator=function(){var e=this.settings.view.accessor();if(e)return e[ve]()},Bt.prototype.removeSubscriptions=function(){this.cellClickSubscription&&(this.cellClickSubscription.unsubscribe(),this.cellClickSubscription=null),this.mousedownSubscription&&(this.mousedownSubscription.unsubscribe(),this.mousedownSubscription=null),this.dataChangedSubscription&&(this.dataChangedSubscription.unsubscribe(),this.dataChangedSubscription=null)};var At=Bt;function Bt(e,t,n){this.domEvents=e,this.localDataChangesService=t,this.navigationService=n,this.changes=new P.EventEmitter,this.mouseUpEvent=new P.EventEmitter,this.currentSelection=[],this.active=!1,this.dragging=!1,this.dragSelectDeselect=!1,this.lastSelectionItem={itemKey:0,columnKey:0},this.lastSelectionItemRowIndex=0,this.lastSelectionItemColIndex=0,this.addSubscriptions()}At.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:At,deps:[{token:we},{token:Se},{token:m}],target:i.ɵɵFactoryTarget.Injectable}),At.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:At}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:At,decorators:[{type:P.Injectable}],ctorParameters:function(){return[{type:we},{type:Se},{type:m}]}});var Ht={topLeft:{x:2,y:2},topRight:{x:-2,y:2},bottomLeft:{x:2,y:-2},bottomRight:{x:-2,y:-2}},$t=(Object.defineProperty(Kt.prototype,"webkitUserSelection",{get:function(){return this.cellSelection.enableMarquee||this.selection.enableMarquee?"none":null},enumerable:!1,configurable:!0}),Object.defineProperty(Kt.prototype,"userSelection",{get:function(){return this.cellSelection.enableMarquee||this.selection.enableMarquee},enumerable:!1,configurable:!0}),Kt.prototype.ngOnInit=function(){this.subscriptions=this.draggable.kendoPress.subscribe(this.start.bind(this)),this.subscriptions.add(this.draggable.kendoDrag.subscribe(this.moveMarquee.bind(this)))},Kt.prototype.ngOnDestroy=function(){this.subscriptions.unsubscribe(),this.clean()},Kt.prototype.start=function(e){e.originalEvent.target.classList.contains("k-checkbox")?this.pressArgs=null:(this.pressArgs=e,this.pressTarget=null)},Kt.prototype.moveMarquee=function(e){this.pressTarget||(this.pressTarget=(this.cellSelection.active?this.cellSelection:this.selection).mouseDownEventArgs);var t=this.pressArgs;if(t){if(!this.selectionStarted){if(!(5<Math.sqrt(Math.pow(e.pageX-t.pageX,2)+Math.pow(e.pageY-t.pageY,2))))return;this.selectionStarted=!0,this.dragEndSubscription=b.merge(this.domEvents.cellMouseup.pipe(G.take(1)),this.draggable.kendoRelease.pipe(G.delay(1),G.take(1))).subscribe(this.endSelection.bind(this))}this.initMarquee();var n=this.marqueeElement,o=this.getMarqueeQuadrant(e.pageX,e.pageY,t.pageX,t.pageY),r=Math.min(e.pageX,t.pageX),i=Math.min(e.pageY,t.pageY),a=Math.abs(e.pageX-t.pageX),e=Math.abs(e.pageY-t.pageY);o&&(r+=Ht[o].x,i+=Ht[o].y),n.style.left=r+"px",n.style.top=i+"px",n.style.width=a+"px",n.style.height=e+"px"}},Kt.prototype.endSelection=function(e){"mouseup"!==e.type&&"touchend"!==e.type||(this.cellSelection.active?(this.cellSelection.dragging=!0,this.cellSelection.changes.emit(this.cellSelection.selectRange(this.pressTarget.rowIndex,this.pressTarget.column.leafIndex,e.rowIndex,e.column.leafIndex))):this.selection.active&&(this.selection.dragging=!0,this.selection.changes.emit(this.selection.selectRange(this.pressTarget.rowIndex,e.rowIndex)))),this.clean()},Kt.prototype.clean=function(){this.marqueeElement&&(document.body.removeChild(this.marqueeElement),this.marqueeElement=null),this.dragEndSubscription&&this.dragEndSubscription.unsubscribe(),this.dragEndSubscription=null,this.pressTarget=null,this.pressArgs=null,this.selectionStarted=!1,this.cellSelection.active?this.cellSelection.dragging=!1:this.selection.dragging=!1},Kt.prototype.initMarquee=function(){var e,t;this.marqueeElement||(this.marqueeElement=((e=document.createElement("div")).className="k-marquee",(t=document.createElement("div")).className="k-marquee-color",e.appendChild(t),e),document.body.appendChild(this.marqueeElement))},Kt.prototype.getMarqueeQuadrant=function(e,t,n,o){var r=e<n,n=n<e,e=t<o,o=o<t;return r&&e?"topLeft":r&&o?"bottomLeft":n&&e?"topRight":n&&o?"bottomRight":null},Kt);function Kt(e,t,n,o){this.draggable=e,this.selection=t,this.cellSelection=n,this.domEvents=o,this.selectionStarted=!1}$t.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:$t,deps:[{token:X.DraggableDirective},{token:Nt},{token:At},{token:we}],target:i.ɵɵFactoryTarget.Directive}),$t.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:$t,selector:"[kendoGridSelectionMarquee]",host:{properties:{"style.-webkit-user-select":"this.webkitUserSelection","class.user-select-none":"this.userSelection"}},ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:$t,decorators:[{type:P.Directive,args:[{selector:"[kendoGridSelectionMarquee]"}]}],ctorParameters:function(){return[{type:X.DraggableDirective},{type:Nt},{type:At},{type:we}]},propDecorators:{webkitUserSelection:[{type:P.HostBinding,args:["style.-webkit-user-select"]}],userSelection:[{type:P.HostBinding,args:["class.user-select-none"]}]}});c(Wt,qt=P.EventEmitter),Wt.prototype.subscribe=function(t,n,e){var o,r=this,i=function(e){return null},a=function(){return null};return t&&"object"==typeof t?(o=function(e){r.ngZone.run(function(){return t.next(e)})},t.error&&(i=function(e){r.ngZone.run(function(){return t.error(e)})}),t.complete&&(a=function(){r.ngZone.run(function(){return t.complete()})})):(o=function(e){r.ngZone.run(function(){return t(e)})},n&&(i=function(e){r.ngZone.run(function(){return n(e)})}),e&&(a=function(){r.ngZone.run(function(){return e()})})),qt.prototype.subscribe.call(this,o,i,a)};var qt,_t=Wt;function Wt(e,t){t=qt.call(this,t=void 0===t?!1:t)||this;return t.ngZone=e,t}var Zt={name:"@progress/kendo-angular-grid",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1652253736,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"},Ut=function(e){this.templateRef=e},Qt=(Ut.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ut,deps:[{token:i.TemplateRef,optional:!0}],target:i.ɵɵFactoryTarget.Directive}),Ut.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:Ut,selector:"[kendoGridCellTemplate]",ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ut,decorators:[{type:P.Directive,args:[{selector:"[kendoGridCellTemplate]"}]}],ctorParameters:function(){return[{type:i.TemplateRef,decorators:[{type:P.Optional}]}]}}),function(e){this.templateRef=e}),Xt=(Qt.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Qt,deps:[{token:i.TemplateRef,optional:!0}],target:i.ɵɵFactoryTarget.Directive}),Qt.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:Qt,selector:"[kendoGridGroupHeaderTemplate]",ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Qt,decorators:[{type:P.Directive,args:[{selector:"[kendoGridGroupHeaderTemplate]"}]}],ctorParameters:function(){return[{type:i.TemplateRef,decorators:[{type:P.Optional}]}]}}),function(e){this.templateRef=e}),Yt=(Xt.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Xt,deps:[{token:i.TemplateRef,optional:!0}],target:i.ɵɵFactoryTarget.Directive}),Xt.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:Xt,selector:"[kendoGridGroupHeaderColumnTemplate]",ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Xt,decorators:[{type:P.Directive,args:[{selector:"[kendoGridGroupHeaderColumnTemplate]"}]}],ctorParameters:function(){return[{type:i.TemplateRef,decorators:[{type:P.Optional}]}]}}),function(e){this.templateRef=e}),Jt=(Yt.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Yt,deps:[{token:i.TemplateRef,optional:!0}],target:i.ɵɵFactoryTarget.Directive}),Yt.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:Yt,selector:"[kendoGridEditTemplate]",ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Yt,decorators:[{type:P.Directive,args:[{selector:"[kendoGridEditTemplate]"}]}],ctorParameters:function(){return[{type:i.TemplateRef,decorators:[{type:P.Optional}]}]}}),function(e){this.templateRef=e}),en=(Jt.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Jt,deps:[{token:i.TemplateRef,optional:!0}],target:i.ɵɵFactoryTarget.Directive}),Jt.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:Jt,selector:"[kendoGridGroupFooterTemplate]",ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Jt,decorators:[{type:P.Directive,args:[{selector:"[kendoGridGroupFooterTemplate]"}]}],ctorParameters:function(){return[{type:i.TemplateRef,decorators:[{type:P.Optional}]}]}}),function(e){this.templateRef=e}),tn=(en.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:en,deps:[{token:i.TemplateRef,optional:!0}],target:i.ɵɵFactoryTarget.Directive}),en.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:en,selector:"[kendoGridHeaderTemplate]",ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:en,decorators:[{type:P.Directive,args:[{selector:"[kendoGridHeaderTemplate]"}]}],ctorParameters:function(){return[{type:i.TemplateRef,decorators:[{type:P.Optional}]}]}}),function(e){this.templateRef=e}),nn=(tn.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:tn,deps:[{token:i.TemplateRef,optional:!0}],target:i.ɵɵFactoryTarget.Directive}),tn.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:tn,selector:"[kendoGridFooterTemplate]",ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:tn,decorators:[{type:P.Directive,args:[{selector:"[kendoGridFooterTemplate]"}]}],ctorParameters:function(){return[{type:i.TemplateRef,decorators:[{type:P.Optional}]}]}}),function(e){this.templateRef=e}),on=(nn.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:nn,deps:[{token:i.TemplateRef,optional:!0}],target:i.ɵɵFactoryTarget.Directive}),nn.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:nn,selector:"[kendoGridColumnMenuTemplate]",ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:nn,decorators:[{type:P.Directive,args:[{selector:"[kendoGridColumnMenuTemplate]"}]}],ctorParameters:function(){return[{type:i.TemplateRef,decorators:[{type:P.Optional}]}]}}),0),f=(rn.prototype.gridId=function(){return this.prefix},rn.prototype.cellId=function(e,t){return this.prefix+"-r"+e+"c"+t},rn.prototype.selectionCheckboxId=function(e){return this.prefix+"-checkbox"+e},rn.prototype.selectAllCheckboxId=function(){return this.prefix+"-select-all"},rn);function rn(){this.prefix="k-grid"+on++}f.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:f,deps:[],target:i.ɵɵFactoryTarget.Injectable}),f.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:f}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:f,decorators:[{type:P.Injectable}],ctorParameters:function(){return[]}});function an(e){return e.isCheckboxColumn}var sn=function(e){return e.isSpanColumn},y=(Object.defineProperty(ln.prototype,"leafIndex",{get:function(){return this._leafIndex},set:function(e){this._leafIndex=e},enumerable:!1,configurable:!0}),Object.defineProperty(ln.prototype,"width",{get:function(){return this._width},set:function(e){var t;"string"==typeof e?(t=this._width=parseInt(e,10),P.isDevMode()&&console.warn('Expected numeric value for column width, but got a string "'+e+'". Treating as '+t+"px.")):this._width=e},enumerable:!1,configurable:!0}),Object.defineProperty(ln.prototype,"locked",{get:function(){return this._locked},set:function(e){this._locked=e},enumerable:!1,configurable:!0}),Object.defineProperty(ln.prototype,"level",{get:function(){return this.parent&&sn(this.parent)?this.parent.level:this.parent?this.parent.level+1:0},enumerable:!1,configurable:!0}),Object.defineProperty(ln.prototype,"isLocked",{get:function(){return this.parent?this.parent.isLocked:this.locked},enumerable:!1,configurable:!0}),Object.defineProperty(ln.prototype,"colspan",{get:function(){return 1},enumerable:!1,configurable:!0}),ln.prototype.rowspan=function(e){return this.level<e?e-this.level+1:1},Object.defineProperty(ln.prototype,"headerTemplateRef",{get:function(){var e=this.headerTemplates.first;return e?e.templateRef:void 0},enumerable:!1,configurable:!0}),Object.defineProperty(ln.prototype,"footerTemplateRef",{get:function(){return this.footerTemplate?this.footerTemplate.templateRef:void 0},enumerable:!1,configurable:!0}),Object.defineProperty(ln.prototype,"columnMenuTemplateRef",{get:function(){var e=this.columnMenuTemplates.first;return e?e.templateRef:null},enumerable:!1,configurable:!0}),Object.defineProperty(ln.prototype,"displayTitle",{get:function(){return this.title},enumerable:!1,configurable:!0}),Object.defineProperty(ln.prototype,"isVisible",{get:function(){return!this.hidden&&this.matchesMedia},enumerable:!1,configurable:!0}),ln);function ln(e,t){if(this.parent=e,this.matchesMedia=!0,this.orderIndex=0,this.isColumnGroup=!1,this.isSpanColumn=!1,this.resizable=!0,this.reorderable=!0,this.minResizableWidth=10,this._locked=!1,this.sticky=!1,this.lockable=!0,this.stickable=!0,this.columnMenu=!0,this.includeInChooser=!0,this.headerTemplates=new P.QueryList,this.columnMenuTemplates=new P.QueryList,this.idService=t,e&&t&&e.idService.gridId()===t.gridId()&&(!(t=e).isColumnGroup&&!sn(t)))throw new Error("Columns can be nested only inside ColumnGroupComponent")}y.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:y,deps:[{token:y},{token:f}],target:i.ɵɵFactoryTarget.Component}),y.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:y,selector:"kendo-grid-column-base",inputs:{resizable:"resizable",reorderable:"reorderable",minResizableWidth:"minResizableWidth",title:"title",width:"width",autoSize:"autoSize",locked:"locked",sticky:"sticky",hidden:"hidden",media:"media",lockable:"lockable",stickable:"stickable",columnMenu:"columnMenu",includeInChooser:"includeInChooser",style:"style",headerStyle:"headerStyle",filterStyle:"filterStyle",footerStyle:"footerStyle",cssClass:["class","cssClass"],headerClass:"headerClass",filterClass:"filterClass",footerClass:"footerClass"},queries:[{propertyName:"footerTemplate",first:!0,predicate:tn,descendants:!0},{propertyName:"headerTemplates",predicate:en},{propertyName:"columnMenuTemplates",predicate:nn}],ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:y,decorators:[{type:P.Component,args:[{selector:"kendo-grid-column-base",template:""}]}],ctorParameters:function(){return[{type:y},{type:f}]},propDecorators:{resizable:[{type:P.Input}],reorderable:[{type:P.Input}],minResizableWidth:[{type:P.Input}],title:[{type:P.Input}],width:[{type:P.Input}],autoSize:[{type:P.Input}],locked:[{type:P.Input}],sticky:[{type:P.Input}],hidden:[{type:P.Input}],media:[{type:P.Input}],lockable:[{type:P.Input}],stickable:[{type:P.Input}],columnMenu:[{type:P.Input}],includeInChooser:[{type:P.Input}],style:[{type:P.Input}],headerStyle:[{type:P.Input}],filterStyle:[{type:P.Input}],footerStyle:[{type:P.Input}],cssClass:[{type:P.Input,args:["class"]}],headerClass:[{type:P.Input}],filterClass:[{type:P.Input}],footerClass:[{type:P.Input}],headerTemplates:[{type:P.ContentChildren,args:[en,{descendants:!1}]}],footerTemplate:[{type:P.ContentChild,args:[tn,{static:!1}]}],columnMenuTemplates:[{type:P.ContentChildren,args:[nn]}]}});var cn=function(e){this.templateRef=e},pn=(cn.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:cn,deps:[{token:i.TemplateRef,optional:!0}],target:i.ɵɵFactoryTarget.Directive}),cn.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:cn,selector:"[kendoGridFilterCellTemplate]",ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:cn,decorators:[{type:P.Directive,args:[{selector:"[kendoGridFilterCellTemplate]"}]}],ctorParameters:function(){return[{type:i.TemplateRef,decorators:[{type:P.Optional}]}]}}),function(e){this.templateRef=e});function un(e){return V(e.field)}pn.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:pn,deps:[{token:i.TemplateRef,optional:!0}],target:i.ɵɵFactoryTarget.Directive}),pn.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:pn,selector:"[kendoGridFilterMenuTemplate]",ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:pn,decorators:[{type:P.Directive,args:[{selector:"[kendoGridFilterMenuTemplate]"}]}],ctorParameters:function(){return[{type:i.TemplateRef,decorators:[{type:P.Optional}]}]}});c(mn,dn=y),Object.defineProperty(mn.prototype,"templateRef",{get:function(){return this.template?this.template.templateRef:void 0},enumerable:!1,configurable:!0}),Object.defineProperty(mn.prototype,"groupHeaderTemplateRef",{get:function(){return this.groupHeaderTemplate?this.groupHeaderTemplate.templateRef:void 0},enumerable:!1,configurable:!0}),Object.defineProperty(mn.prototype,"groupHeaderColumnTemplateRef",{get:function(){return this.groupHeaderColumnTemplate?this.groupHeaderColumnTemplate.templateRef:void 0},enumerable:!1,configurable:!0}),Object.defineProperty(mn.prototype,"groupFooterTemplateRef",{get:function(){return this.groupFooterTemplate?this.groupFooterTemplate.templateRef:void 0},enumerable:!1,configurable:!0}),Object.defineProperty(mn.prototype,"editTemplateRef",{get:function(){return this.editTemplate?this.editTemplate.templateRef:void 0},enumerable:!1,configurable:!0}),Object.defineProperty(mn.prototype,"filterCellTemplateRef",{get:function(){return this.filterCellTemplate?this.filterCellTemplate.templateRef:void 0},enumerable:!1,configurable:!0}),Object.defineProperty(mn.prototype,"filterMenuTemplateRef",{get:function(){return this.filterMenuTemplate?this.filterMenuTemplate.templateRef:void 0},enumerable:!1,configurable:!0}),Object.defineProperty(mn.prototype,"displayTitle",{get:function(){return void 0===this.title?this.field:this.title},enumerable:!1,configurable:!0});var dn,gn=mn;function mn(e,t){e=dn.call(this,e,t)||this;return e.sortable=!0,e.groupable=!0,e.editor="text",e.filter="text",e.filterable=!0,e.editable=!0,e}function hn(e){return e.isSpanColumn}gn.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:gn,deps:[{token:y,host:!0,optional:!0,skipSelf:!0},{token:f,optional:!0}],target:i.ɵɵFactoryTarget.Component}),gn.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:gn,selector:"kendo-grid-column",inputs:{field:"field",format:"format",sortable:"sortable",groupable:"groupable",editor:"editor",filter:"filter",filterable:"filterable",editable:"editable"},providers:[{provide:y,useExisting:P.forwardRef(function(){return gn})}],queries:[{propertyName:"template",first:!0,predicate:Ut,descendants:!0},{propertyName:"groupHeaderTemplate",first:!0,predicate:Qt,descendants:!0},{propertyName:"groupHeaderColumnTemplate",first:!0,predicate:Xt,descendants:!0},{propertyName:"groupFooterTemplate",first:!0,predicate:Jt,descendants:!0},{propertyName:"editTemplate",first:!0,predicate:Yt,descendants:!0},{propertyName:"filterCellTemplate",first:!0,predicate:cn,descendants:!0},{propertyName:"filterMenuTemplate",first:!0,predicate:pn,descendants:!0}],usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:gn,decorators:[{type:P.Component,args:[{providers:[{provide:y,useExisting:P.forwardRef(function(){return gn})}],selector:"kendo-grid-column",template:""}]}],ctorParameters:function(){return[{type:y,decorators:[{type:P.SkipSelf},{type:P.Host},{type:P.Optional}]},{type:f,decorators:[{type:P.Optional}]}]},propDecorators:{field:[{type:P.Input}],format:[{type:P.Input}],sortable:[{type:P.Input}],groupable:[{type:P.Input}],editor:[{type:P.Input}],filter:[{type:P.Input}],filterable:[{type:P.Input}],editable:[{type:P.Input}],template:[{type:P.ContentChild,args:[Ut,{static:!1}]}],groupHeaderTemplate:[{type:P.ContentChild,args:[Qt,{static:!1}]}],groupHeaderColumnTemplate:[{type:P.ContentChild,args:[Xt,{static:!1}]}],groupFooterTemplate:[{type:P.ContentChild,args:[Jt,{static:!1}]}],editTemplate:[{type:P.ContentChild,args:[Yt,{static:!1}]}],filterCellTemplate:[{type:P.ContentChild,args:[cn,{static:!1}]}],filterMenuTemplate:[{type:P.ContentChild,args:[pn,{static:!1}]}]}});c(vn,fn=y),Object.defineProperty(vn.prototype,"editable",{get:function(){return V(this.editTemplateRef)&&this._editable},set:function(e){this._editable=e},enumerable:!1,configurable:!0}),Object.defineProperty(vn.prototype,"width",{get:function(){return this.childColumns.reduce(function(e,t){return e+t.width},0)},set:function(e){},enumerable:!1,configurable:!0}),Object.defineProperty(vn.prototype,"leafIndex",{get:function(){return this.childColumns.first.leafIndex},enumerable:!1,configurable:!0}),Object.defineProperty(vn.prototype,"templateRef",{get:function(){var e=this.template.first;return e?e.templateRef:void 0},enumerable:!1,configurable:!0}),Object.defineProperty(vn.prototype,"editTemplateRef",{get:function(){var e=this.editTemplate.first;return e?e.templateRef:void 0},enumerable:!1,configurable:!0}),Object.defineProperty(vn.prototype,"colspan",{get:function(){return this.childColumns.filter(function(e){return e.isVisible}).length},enumerable:!1,configurable:!0}),Object.defineProperty(vn.prototype,"locked",{get:function(){return this._locked||this.childColumns.some(function(e){return e.locked})},set:function(e){this._locked=e},enumerable:!1,configurable:!0}),Object.defineProperty(vn.prototype,"childrenArray",{get:function(){return this.childColumns.toArray()},enumerable:!1,configurable:!0}),Object.defineProperty(vn.prototype,"hasChildren",{get:function(){return 0<this.childColumns.length},enumerable:!1,configurable:!0});var fn,yn=vn;function vn(e,t){t=fn.call(this,e,t)||this;if(t.isSpanColumn=!0,t.template=new P.QueryList,t.editTemplate=new P.QueryList,t.childColumns=new P.QueryList,t.includeInChooser=!1,t._editable=!0,e&&e.isSpanColumn)throw new Error("SpanColumn cannot be nested inside another SpanColumn");return t}yn.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:yn,deps:[{token:y,host:!0,optional:!0,skipSelf:!0},{token:f,optional:!0}],target:i.ɵɵFactoryTarget.Component}),yn.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:yn,selector:"kendo-grid-span-column",inputs:{editable:"editable",locked:"locked"},providers:[{provide:y,useExisting:P.forwardRef(function(){return yn})}],queries:[{propertyName:"template",predicate:Ut},{propertyName:"editTemplate",predicate:Yt},{propertyName:"childColumns",predicate:gn}],usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:yn,decorators:[{type:P.Component,args:[{providers:[{provide:y,useExisting:P.forwardRef(function(){return yn})}],selector:"kendo-grid-span-column",template:""}]}],ctorParameters:function(){return[{type:y,decorators:[{type:P.SkipSelf},{type:P.Host},{type:P.Optional}]},{type:f,decorators:[{type:P.Optional}]}]},propDecorators:{template:[{type:P.ContentChildren,args:[Ut,{descendants:!1}]}],editTemplate:[{type:P.ContentChildren,args:[Yt,{descendants:!1}]}],childColumns:[{type:P.ContentChildren,args:[gn]}],editable:[{type:P.Input}],locked:[{type:P.Input}]}});function bn(e){return e.reduce(function(e,t){return e.concat(hn(t)?t.childrenArray:[t])},[])}function kn(e){return e.reduce(function(e,t){return e.concat(hn(t)?[t].concat(t.childrenArray):[t])},[])}function Cn(e){return bn(e).filter(function(e){return e.isVisible})}function In(n){return function(e){return(e||[]).reduce(function(e,t){return e+(t[n]||0)},0)}}function xn(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return Fn(t).some(e)}var wn=In("width"),Sn=In("colspan"),Dn=new RegExp("^[$A-Z_a-z][$A-Z_a-z0-9\\.]*$"),Tn=function(t){return t.children.filter(function(e){return e!==t})},Fn=function(e){return e.reduce(function(e,t){return t.isColumnGroup?e=e.concat(Fn(Tn(t))):t.isSpanColumn?e=e.concat(t.childrenArray):e.push(t),e},[]).filter(function(e){return e.isVisible})},On=function(e){return j.orderBy(e,[{field:"orderIndex",dir:"asc"}])},En=function(e){return fe(e.parent)&&hn(e.parent)};function Rn(e){return e.isColumnGroup}c(Gn,Ln=y),Gn.prototype.rowspan=function(){return 1},Object.defineProperty(Gn.prototype,"colspan",{get:function(){var t=this;return this.children&&1!==this.children.length?Sn(this.children.filter(function(e){return e!==t&&e.isVisible})):1},enumerable:!1,configurable:!0}),Object.defineProperty(Gn.prototype,"leafIndex",{get:function(){return this.children?(this.firstChild||{}).leafIndex:-1},enumerable:!1,configurable:!0}),Object.defineProperty(Gn.prototype,"childrenArray",{get:function(){var t=this;return this.children.filter(function(e){return e!==t})},enumerable:!1,configurable:!0}),Object.defineProperty(Gn.prototype,"hasChildren",{get:function(){return Boolean(this.firstChild)},enumerable:!1,configurable:!0}),Object.defineProperty(Gn.prototype,"firstChild",{get:function(){var t=this;return this.children.find(function(e){return e!==t})},enumerable:!1,configurable:!0});var Ln,Pn=Gn;function Gn(e,t){t=Ln.call(this,e,t)||this;if(t.parent=e,t.includeInChooser=!1,t.isColumnGroup=!0,t.minResizableWidth=10,e&&e.isSpanColumn)throw new Error("ColumnGroupComponent cannot be nested inside SpanColumnComponent");return t}Pn.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Pn,deps:[{token:y,host:!0,optional:!0,skipSelf:!0},{token:f,optional:!0}],target:i.ɵɵFactoryTarget.Component}),Pn.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Pn,selector:"kendo-grid-column-group",providers:[{provide:y,useExisting:P.forwardRef(function(){return Pn})}],queries:[{propertyName:"children",predicate:y}],usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Pn,decorators:[{type:P.Component,args:[{providers:[{provide:y,useExisting:P.forwardRef(function(){return Pn})}],selector:"kendo-grid-column-group",template:""}]}],ctorParameters:function(){return[{type:y,decorators:[{type:P.SkipSelf},{type:P.Host},{type:P.Optional}]},{type:f,decorators:[{type:P.Optional}]}]},propDecorators:{children:[{type:P.ContentChildren,args:[y]}]}});Object.defineProperty(Mn.prototype,"showIf",{get:function(){return this._condition},set:function(e){if("function"!=typeof e)throw new Error("showIf must be a function, but received "+JSON.stringify(e)+".");this._condition=e},enumerable:!1,configurable:!0});var Vn=Mn;function Mn(e){this.templateRef=e,this._condition=function(){return!0}}Vn.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Vn,deps:[{token:i.TemplateRef,optional:!0}],target:i.ɵɵFactoryTarget.Directive}),Vn.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:Vn,selector:"[kendoGridDetailTemplate]",inputs:{showIf:["kendoGridDetailTemplateShowIf","showIf"]},ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Vn,decorators:[{type:P.Directive,args:[{selector:"[kendoGridDetailTemplate]"}]}],ctorParameters:function(){return[{type:i.TemplateRef,decorators:[{type:P.Optional}]}]},propDecorators:{showIf:[{type:P.Input,args:["kendoGridDetailTemplateShowIf"]}]}});function zn(){return p.isDocumentAvailable()&&document.createElement}var Nn,jn=null,An=null;Hn.prototype.ngOnDestroy=function(){this.subscriptions&&(this.subscriptions.unsubscribe(),this.subscriptions=null)},Object.defineProperty(Hn.prototype,"scrollbarWidth",{get:function(){return null===jn&&zn()&&(Nn=window.devicePixelRatio||1,(e=document.createElement("div")).style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",e.innerHTML=" ",document.body.appendChild(e),jn=e.offsetWidth-e.scrollWidth,document.body.removeChild(e)),jn;var e},enumerable:!1,configurable:!0}),Object.defineProperty(Hn.prototype,"rtlScrollLeft",{get:function(){return null===An&&zn()&&((e=document.createElement("div")).style.cssText="overflow:scroll;zoom:1;clear:both;display:block;width:100px;visibility:hidden;position:absolute;left:-10000px;direction:rtl;",e.innerHTML="<div style='width:200px;height:1px;'</div>",document.body.appendChild(e),t=e.scrollLeft,e.scrollLeft=-1,An=e.scrollLeft<0?e.scrollLeft:t,document.body.removeChild(e)),An;var e,t},enumerable:!1,configurable:!0});var Bn=Hn;function Hn(e,t){var n=this;this.zone=e,this.changeDetector=t,this.changes=new P.EventEmitter,"undefined"!=typeof window&&this.zone.runOutsideAngular(function(){n.subscriptions=b.fromEvent(window,"resize").pipe(G.auditTime(100)).subscribe(function(){Nn!==window.devicePixelRatio&&e.run(function(){jn=null,n.changes.emit(),n.changeDetector.markForCheck()})})})}Bn.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Bn,deps:[{token:i.NgZone},{token:i.ChangeDetectorRef}],target:i.ɵɵFactoryTarget.Injectable}),Bn.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Bn}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Bn,decorators:[{type:P.Injectable}],ctorParameters:function(){return[{type:i.NgZone},{type:i.ChangeDetectorRef}]}});function $n(e,t){var n,o=t.footers,r=t.level,i=t.dataIndex,a=t.parentGroupIndex,s=t.groupIndex,t=t.parentGroup,l=e[0];return V(l)&&Kn(l)?(void 0!==(n=l).offset&&void 0!==n.skipHeader&&(s=V(l.offset)?l.offset:s),new Jn(e,o,r,i,a,s,t)):new Xn(e,i,a,t)}var Kn=function(e){return void 0!==e.items&&void 0!==e.field},qn=function(e){return e.reduce(function(e,t){return Kn(t)?e.concat(qn(t.items)):e.concat([t])},[])},_n=(Wn.prototype[ve]=function(){return this},Wn.prototype.next=function(){return this.idx<this.arr.length?{done:!1,value:this.arr[this.idx++]}:{done:!0,value:void 0}},Wn);function Wn(e,t){void 0===t&&(t=0),this.arr=e,this.idx=t,this.arr=e||[]}Un.prototype[ve]=function(){return this},Un.prototype.next=function(){return this.resultMap(this._innerIterator.next(),this.dataIndex++)};var Zn=Un;function Un(e,t,n){void 0===n&&(n=function(e){return e}),this.dataIndex=t=void 0===t?0:t,this.resultMap=n;t=e[ve];this._innerIterator=t?e[ve]():new _n(e)}c(Yn,Qn=Zn),Object.defineProperty(Yn.prototype,"index",{get:function(){return this.dataIndex},enumerable:!1,configurable:!0});var Qn,Xn=Yn;function Yn(e,t,n,o){return Qn.call(this,e,t,function(e,t){return{done:e.done,value:{data:e.value,groupIndex:n,index:t,type:"data",group:o}}})||this}eo.prototype[ve]=function(){return this},eo.prototype.nextGroupItem=function(){return this.current=this._iterator.next().value,this._innerIterator=null,this.current?(this.currentGroupIndex=(e=this.parentIndex,t=this.groupIndex++,""+(e&&e+"_")+t),{done:!1,value:{data:this.current,index:this.currentGroupIndex,level:this.level,type:"group",parentGroup:this.parentGroup}}):{done:!(this.current=null),value:void 0};var e,t},eo.prototype.footerItem=function(){var e;return this.current?(e=this.current,this.current=null,{done:!1,value:{data:e,groupIndex:this.currentGroupIndex,level:this.level,type:"footer",group:{data:e,index:this.currentGroupIndex,level:this.level,type:"group",parentGroup:this.parentGroup}}}):{done:!(this.current=null),value:void 0}},eo.prototype.innerIterator=function(e){return this._innerIterator||(this._innerIterator=$n(e.items,{dataIndex:this.dataIndex,footers:this.outputFooters,level:this.level+1,parentGroupIndex:this.currentGroupIndex,parentGroup:{data:this.current,index:this.currentGroupIndex,level:this.level,type:"group",parentGroup:this.parentGroup}})),this._innerIterator},eo.prototype.nextDataItem=function(e){e=this.innerIterator(e).next();return V(e.value)&&!e.done&&"data"===e.value.type&&(this.dataIndex=e.value.index+1),e.done?void 0:e},eo.prototype.next=function(){if(!V(this.current))return this.nextGroupItem();var e=this.nextDataItem(this.current);return e||(this.outputFooters?this.footerItem():this.nextGroupItem())},Object.defineProperty(eo.prototype,"index",{get:function(){return this.dataIndex+1},enumerable:!1,configurable:!0});var Jn=eo;function eo(e,t,n,o,r,i,a){void 0===t&&(t=!1),void 0===n&&(n=0),void 0===o&&(o=0),void 0===r&&(r=""),void 0===i&&(i=0),void 0===a&&(a=void 0),this.arr=e,this.outputFooters=t,this.level=n,this.dataIndex=o,this.parentIndex=r,this.groupIndex=i,this.parentGroup=a,this.currentGroupIndex="",this.arr=e||[],this._iterator=new Zn(this.arr,this.dataIndex)}no.prototype.isGridDataResult=function(e){return void 0!==e.total&&void 0!==e.data},Object.defineProperty(no.prototype,"total",{get:function(){return this.isObject?this.source.total:this.source.length},enumerable:!1,configurable:!0}),Object.defineProperty(no.prototype,"data",{get:function(){return this.isObject?this.source.data:this.source},enumerable:!1,configurable:!0}),no.prototype.map=function(e){return this.data.map(e)},no.prototype.filter=function(e){return this.data.filter(e)},no.prototype.reduce=function(e,t){return this.data.reduce(e,t)},no.prototype.forEach=function(e){this.data.forEach(e)},no.prototype.some=function(e){return this.data.some(e)},no.prototype[ve]=function(){return $n(this.data,{dataIndex:this.skip,footers:this.groupFooters,groupIndex:this.skip})},no.prototype.toString=function(){return this.data.toString()};var to=no;function no(e,t,n){void 0===t&&(t=0),void 0===n&&(n=!1),this.source=e,this.skip=t,this.groupFooters=n,this.source=this.source||[],this.isObject=this.isGridDataResult(this.source)}Object.defineProperty(ro.prototype,"total",{get:function(){return this.accessor().total},enumerable:!1,configurable:!0}),Object.defineProperty(ro.prototype,"length",{get:function(){return this.accessor().data.length},enumerable:!1,configurable:!0}),Object.defineProperty(ro.prototype,"first",{get:function(){return this.accessor().data[0]},enumerable:!1,configurable:!0}),Object.defineProperty(ro.prototype,"last",{get:function(){return this.accessor().data[this.length-1]},enumerable:!1,configurable:!0}),ro.prototype.at=function(e){return t=this.accessor().data,e=e,n=t[0],(V(n)&&Kn(n)?qn(t):t)[e];var t,n},ro.prototype.map=function(e){return this.accessor().map(e)},ro.prototype.filter=function(e){return this.accessor().filter(e)},ro.prototype.reduce=function(e,t){return this.accessor().reduce(e,t)},ro.prototype.forEach=function(e){this.accessor().forEach(e)},ro.prototype.some=function(e){return this.accessor().some(e)},ro.prototype[ve]=function(){return this.accessor()[ve]()},ro.prototype.toString=function(){return this.accessor().toString()};var oo=ro;function ro(e){this.accessor=e}Object.defineProperty(ao.prototype,"size",{get:function(){return this.totalKeysCount},enumerable:!1,configurable:!0}),ao.prototype.add=function(e,t){this.keysX.has(e)||this.keysX.set(e,new Set),this.has(e,t)||(this.keysX.get(e).add(t),this.totalKeysCount+=1)},ao.prototype.delete=function(e,t){this.has(e,t)&&(this.keysX.get(e).delete(t),--this.totalKeysCount)},ao.prototype.has=function(e,t){return this.keysX.has(e)&&this.keysX.get(e).has(t)},ao.prototype.clear=function(){this.keysX.clear(),this.totalKeysCount=0},ao.prototype.toArray=function(r,i){return Array.from(this.keysX).reduce(function(n,e){var e=k(e,2),o=e[0],e=e[1];return Array.from(e).forEach(function(e){var t;return n.push(((t={})[r]=o,t[i]=e,t))}),n},[])};var io=ao;function ao(e,t,n){var o=this;this.keysX=new Map,this.totalKeysCount=0,e&&t&&n&&e.forEach(function(e){return o.add(e[t],e[n])})}var so=function(){},lo=(so.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:so,deps:[],target:i.ɵɵFactoryTarget.Injectable}),so.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:so}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:so,decorators:[{type:P.Injectable}]}),Object.defineProperty(co.prototype,"isCellSelectionMode",{get:function(){return V(this.ctx.grid.selectable)&&this.ctx.grid.selectable.cell},enumerable:!1,configurable:!0}),co.prototype.ngOnChanges=function(e){V(e.selectedKeys)&&this.lastSelectionState!==this.selectedKeys&&this.setState(this.selectedKeys)},co.prototype.init=function(){var o=this;V(this.ctx.grid.rowSelected)||(this.ctx.grid.rowSelected=function(e){return o.rowSelectionState.has(o.getItemKey(e))}),V(this.ctx.grid.cellSelected)||(this.ctx.grid.cellSelected=function(e,t,n){e=o.getSelectionItem(e,t,n);return{selected:o.cellSelectionState.has(e.itemKey,e.columnKey),item:e}}),this.selectionChangeSubscription=this.ctx.grid.selectionChange.subscribe(this.onSelectionChange.bind(this))},co.prototype.destroy=function(){this.selectionChangeSubscription.unsubscribe()},co.prototype.reset=function(){this.rowSelectionState.clear(),this.cellSelectionState.clear()},co.prototype.getItemKey=function(e){if(this.selectionKey){if("string"==typeof this.selectionKey)return e.dataItem[this.selectionKey];if("function"==typeof this.selectionKey)return this.selectionKey(e)}return e.index},co.prototype.getSelectionItem=function(e,t,n){var o={};return o.itemKey=this.getItemKey(e),V(t)||V(n)?(this.columnKey&&("string"==typeof this.columnKey&&(o.columnKey=e.dataItem[this.columnKey]),"function"==typeof this.columnKey&&(o.columnKey=this.columnKey(t,n))),{itemKey:o.itemKey,columnKey:o.columnKey||n}):o},co.prototype.onSelectionChange=function(e){var n=this;e.selectedRows?(e.deselectedRows.forEach(function(e){e=n.getItemKey(e);n.rowSelectionState.delete(e)}),"single"===this.ctx.grid.selectableSettings.mode&&0<this.rowSelectionState.size&&this.reset(),e.selectedRows.forEach(function(e){e=n.getItemKey(e);n.rowSelectionState.add(e)})):(e.deselectedCells.forEach(function(e){var t=e.itemKey,e=e.columnKey;n.cellSelectionState.delete(t,e)}),"single"===this.ctx.grid.selectableSettings.mode&&0<this.cellSelectionState.size&&this.reset(),e.selectedCells.forEach(function(e){var t=e.itemKey,e=e.columnKey;n.cellSelectionState.add(t,e)})),this.cd.markForCheck(),this.notifyChange()},co.prototype.notifyChange=function(){this.lastSelectionState=this.stateToArray(),this.selectedKeysChange.emit(this.lastSelectionState)},co.prototype.setState=function(e){this.reset(),this.isCellSelectionMode?this.cellSelectionState=new io(e,"itemKey","columnKey"):this.rowSelectionState=new Set(e)},co.prototype.stateToArray=function(){return this.isCellSelectionMode?this.cellSelectionState.toArray("itemKey","columnKey"):Array.from(this.rowSelectionState)},co);function co(e,t){this.ctx=e,this.cd=t,this.selectedKeys=[],this.selectedKeysChange=new P.EventEmitter,this.rowSelectionState=new Set,this.cellSelectionState=new io,this.init()}lo.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:lo,deps:[{token:so},{token:i.ChangeDetectorRef}],target:i.ɵɵFactoryTarget.Directive}),lo.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:lo,selector:"kendo-grid-selection-base",inputs:{selectedKeys:"selectedKeys",selectionKey:["kendoGridSelectBy","selectionKey"],columnKey:"columnKey"},outputs:{selectedKeysChange:"selectedKeysChange"},usesOnChanges:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:lo,decorators:[{type:P.Directive,args:[{selector:"kendo-grid-selection-base"}]}],ctorParameters:function(){return[{type:so},{type:i.ChangeDetectorRef}]},propDecorators:{selectedKeys:[{type:P.Input}],selectionKey:[{type:P.Input,args:["kendoGridSelectBy"]}],columnKey:[{type:P.Input}],selectedKeysChange:[{type:P.Output}]}});uo.prototype.refresh=function(){var r=this,e=this.totalLevels,i=new Array,a=new Array,s=new Array,l=new Array,c=new Array,p=new Array,u=new Array,d=new Array,g=new Array,m=!1,h=!1,f=!1,y=0,v=0,e=(this.totalLevels=0,this.columns().forEach(function(e){var t=!0===e.isLocked?a:s,n=!0===e.isLocked?l:c,o=!0===e.isLocked?d:g;Rn(e)||(t.push(e),i.push(e),u.push.apply(u,Cn([e])),o.push.apply(o,Cn([e])),m=m||xn(function(e){return Boolean(e.groupHeaderColumnTemplateRef)},e),h=h||xn(function(e){return Boolean(e.groupFooterTemplateRef)},e),f=f||xn(function(e){return Boolean(e.footerTemplateRef)},e),e.isLocked||(y+=e.width||0),e.isSpanColumn?e.childColumns.forEach(function(e){e.leafIndex=v++}):e.leafIndex=v++),n.push(e),p.push(e),r.totalLevels=e.level>r.totalLevels?e.level:r.totalLevels}),this.hasGroupHeaderColumn=m,this.hasGroupFooter=h,this.hasFooter=f,this.leafColumnsToRender=u,this.lockedColumnsToRender=d,this.nonLockedColumnsToRender=g,this.unlockedWidth=y,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=!1,o=0;o<e.length;o++){var r=k(e[o],2),i=r[0],r=r[1],n=n||i.length!==r.length;i.reset(r)}return n}([this.leafColumns,i],[this.lockedLeafColumns,a],[this.nonLockedLeafColumns,s],[this.lockedColumns,l],[this.allColumns,p],[this.nonLockedColumns,c])||e!==this.totalLevels);return e&&this.changes.emit(),e};var po=uo;function uo(e){this.columns=e,this.allColumns=new P.QueryList,this.leafColumns=new P.QueryList,this.lockedColumns=new P.QueryList,this.nonLockedColumns=new P.QueryList,this.lockedLeafColumns=new P.QueryList,this.nonLockedLeafColumns=new P.QueryList,this.totalLevels=0,this.changes=new P.EventEmitter,this.leafColumnsToRender=[],this.lockedColumnsToRender=[],this.nonLockedColumnsToRender=[],this.hasGroupHeaderColumn=!1,this.hasGroupFooter=!1,this.hasFooter=!1,this.unlockedWidth=0}function go(e,t){e.forEach(function(e){t(e),e.isColumnGroup&&e.hasChildren&&go(e.childrenArray,t)})}function mo(e,t){On(e).forEach(function(e){t(e),e.isColumnGroup&&e.hasChildren&&mo(e.childrenArray,t)})}function ho(e,n){var o=[];return On(e).forEach(function(e){var t;n(e)&&(e.isColumnGroup?(t=ho(e.childrenArray,n)).length&&o.push.apply(o,g([e],k(t))):e.isSpanColumn&&!ho(e.childrenArray,n).length||o.push(e))}),o}yo.empty=function(){return new yo(new P.QueryList)},yo.prototype.forEach=function(e){go(this.columns,e)},yo.prototype.filter=function(t){var n=[];return go(this.columns,function(e){t(e)&&n.push(e)}),n},yo.prototype.filterHierarchy=function(e){return ho(this.columns.toArray(),e)},yo.prototype.filterSort=function(t){var n=[];return mo(this.columns.toArray(),function(e){t(e)&&n.push(e)}),n},yo.prototype.toArray=function(){var t=[];return go(this.columns,function(e){t.push(e)}),t},yo.prototype.rootColumns=function(){return this.columns.toArray()},yo.prototype.totalColumnLevels=function(){var t=0;return this.forEach(function(e){t=Math.max(e.level,t)}),t};var fo=yo;function yo(e){this.columns=e}Object.defineProperty(bo.prototype,"columns",{get:function(){return bn(this._columnList().toArray()).filter(un)},enumerable:!1,configurable:!0}),bo.prototype.registerColumnsContainer=function(e){this._columnList=e},bo.prototype.formatForGroup=function(e){e=this.columnForGroup(e);return e?e.format:""},bo.prototype.isGroupable=function(t){var e=k(this.columns.filter(function(e){return e.field===t}),1)[0];return!e||e.groupable},bo.prototype.groupTitle=function(e){var t=this.columnForGroup(e);return t?t.title||t.field:this.groupField(e)},bo.prototype.groupHeaderTemplate=function(e){e=this.columnForGroup(e);return e?e.groupHeaderTemplateRef||e.groupHeaderColumnTemplateRef:void 0},bo.prototype.groupField=function(e){return(e.data||e).field},bo.prototype.columnForGroup=function(e){var t=this.groupField(e);return k(this.columns.filter(function(e){return e.field===t}),1)[0]};var vo=bo;function bo(){this._columnList=fo.empty}Co.prototype.notify=function(){var e=this;this.subscription&&!this.subscription.closed||(this.subscription=this.ngZone.onStable.asObservable().pipe(G.take(1)).subscribe(function(){return e.changes.emit()}))};var ko=Co;function Co(e){this.ngZone=e,this.changes=new P.EventEmitter}ko.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ko,deps:[{token:i.NgZone}],target:i.ɵɵFactoryTarget.Injectable}),ko.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ko}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ko,decorators:[{type:P.Injectable}],ctorParameters:function(){return[{type:i.NgZone}]}});function Io(e,t){var n,o=document.activeElement,r=function(e,t){for(var n=[],o=0,r=e.length;o<r&&t[o];o++)n.push([e[o],t[o]]);return n}(e.rows,t.rows),i=(r.filter(function(e){var e=k(e,2),t=e[0],e=e[1];return t.style.height||e.style.height}).forEach(wo("")),r.map(function(e){var e=k(e,2),t=e[0],e=e[1],t=t.offsetHeight,e=e.offsetHeight;return t<e?e:t}));[e,t].forEach(function(e){return e.style.display="none"}),r.forEach((n=i,function(e,t){return wo(n[t]+1+"px")(e)})),[e,t].forEach(function(e){return e.style.display=""}),document.activeElement!==o&&(e.contains(o)||t.contains(o))&&o.focus()}var xo=function(e){this.templateRef=e},wo=(xo.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:xo,deps:[{token:i.TemplateRef,optional:!0}],target:i.ɵɵFactoryTarget.Directive}),xo.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:xo,selector:"[kendoGridNoRecordsTemplate]",ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:xo,decorators:[{type:P.Directive,args:[{selector:"[kendoGridNoRecordsTemplate]"}]}],ctorParameters:function(){return[{type:i.TemplateRef,decorators:[{type:P.Optional}]}]}}),function(t){return function(e){return e.forEach(function(e){return e.style.height=t})}}),So=function(){this.isColumnMenu=!1,this.isPopupOpen=!1},v=(So.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:So,deps:[],target:i.ɵɵFactoryTarget.Injectable}),So.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:So}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:So,decorators:[{type:P.Injectable}]}),Do.prototype.filter=function(e){this.changes.next(e)},Do);function Do(e){this.changes=new b.Subject,this.menuTabbingService=e}v.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:v,deps:[{token:So,optional:!0}],target:i.ɵɵFactoryTarget.Injectable}),v.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:v}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:v,decorators:[{type:P.Injectable}],ctorParameters:function(){return[{type:So,decorators:[{type:P.Optional}]}]}});var To=function(e){this.templateRef=e},Fo=(To.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:To,deps:[{token:i.TemplateRef,optional:!0}],target:i.ɵɵFactoryTarget.Directive}),To.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:To,selector:"[kendoPagerTemplate]",ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:To,decorators:[{type:P.Directive,args:[{selector:"[kendoPagerTemplate]"}]}],ctorParameters:function(){return[{type:i.TemplateRef,decorators:[{type:P.Optional}]}]}}),Oo.prototype.save=function(e){this.emitEvent(this.savePDF,e)},Oo.prototype.draw=function(e,t){this.emitEvent(this.drawPDF,{component:e,promise:t})},Oo.prototype.emitEvent=function(e,t){if(0===e.observers.length){if(P.isDevMode())throw new Error("Creating PDF requires including the PDFModule and adding the <kendo-grid-pdf> component.")}else e.emit(t)},Oo);function Oo(){this.savePDF=new P.EventEmitter,this.drawPDF=new P.EventEmitter,this.exportClick=new P.EventEmitter,this.dataChanged=new P.EventEmitter}Fo.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Fo,deps:[],target:i.ɵɵFactoryTarget.Injectable}),Fo.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Fo}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Fo,decorators:[{type:P.Injectable}]});c(Lo,Eo=tt);var Eo,Ro=Lo;function Lo(){return Eo.call(this)||this}function Po(e){return window.matchMedia(e).matches}var Go=function(){this.scroll=!1},Vo=(Go.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Go,deps:[],target:i.ɵɵFactoryTarget.Injectable}),Go.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Go}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Go,decorators:[{type:P.Injectable}]}),Mo.prototype.matchesMedia=function(e){return!e||this.matchMedia({xs:"(max-width: 576px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)"}[e=e]||e)},Mo);function Mo(){this.matchMedia=Po}Vo.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Vo,deps:[],target:i.ɵɵFactoryTarget.Injectable}),Vo.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Vo}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Vo,decorators:[{type:P.Injectable}]});No.prototype.save=function(e){if(0===this.saveToExcel.observers.length){if(P.isDevMode())throw new Error("Saving excel requires including the ExcelModule and adding the <kendo-grid-excel> component.")}else this.saveToExcel.emit(e)};var zo=No;function No(){this.saveToExcel=new P.EventEmitter,this.exportClick=new P.EventEmitter}zo.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:zo,deps:[],target:i.ɵɵFactoryTarget.Injectable}),zo.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:zo}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:zo,decorators:[{type:P.Injectable}]});Object.defineProperty(Ao.prototype,"position",{get:function(){return this._position},set:function(e){this._position=e},enumerable:!1,configurable:!0});var jo=Ao;function Ao(e){this.templateRef=e,this._position="top"}jo.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:jo,deps:[{token:i.TemplateRef,optional:!0}],target:i.ɵɵFactoryTarget.Directive}),jo.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:jo,selector:"[kendoGridToolbarTemplate]",inputs:{position:"position"},ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:jo,decorators:[{type:P.Directive,args:[{selector:"[kendoGridToolbarTemplate]"}]}],ctorParameters:function(){return[{type:i.TemplateRef,decorators:[{type:P.Optional}]}]},propDecorators:{position:[{type:P.Input,args:["position"]}]}});Ho.prototype.registerEmitter=function(n,o){var r=this;this.unregister(o),this.elements.push({element:n,sourceType:o}),"body"!==o&&"header"!==o||this.ngZone.runOutsideAngular(function(){var e=b.fromEvent(n,"scroll").pipe(G.map(function(e){return{scrollLeft:e.target.scrollLeft,sourceType:o}})),t=e.pipe(G.distinctUntilChanged(function(e,t){return e.scrollLeft===t.scrollLeft}),G.filter(function(e){return!r.source||r.source===e.sourceType}),G.tap(function(e){return r.source=e.sourceType})).subscribe(function(e){return r.changes.next(e)});t.add(e.pipe(G.filter(function(e){return r.source&&r.source!==e.sourceType})).subscribe(function(){return r.source=void 0})),("body"===o?r.bodySubscription:r.headerSubscription).add(t)})},Ho.prototype.destroy=function(){this.subscriptions.unsubscribe(),this.headerSubscription.unsubscribe(),this.bodySubscription.unsubscribe()},Ho.prototype.scrollLeft=function(e){var t=this,n=e.scrollLeft,o=e.sourceType;this.ngZone.runOutsideAngular(function(){t.elements.filter(function(e){return o!==e.sourceType}).forEach(function(e){return e.element.scrollLeft=n})})},Ho.prototype.unregister=function(t){var e=this.elements.findIndex(function(e){return e.sourceType===t});-1<e&&("header"===t?(this.headerSubscription.unsubscribe(),this.headerSubscription=new b.Subscription):"body"===t&&(this.bodySubscription.unsubscribe(),this.bodySubscription=new b.Subscription),this.elements.splice(e,1))};var Bo=Ho;function Ho(e){var t=this;this.ngZone=e,this.changes=new b.Subject,this.elements=[],this.subscriptions=new b.Subscription,this.headerSubscription=new b.Subscription,this.bodySubscription=new b.Subscription,this.subscriptions.add(this.changes.subscribe(function(e){return t.scrollLeft(e)}))}Bo.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Bo,deps:[{token:i.NgZone}],target:i.ɵɵFactoryTarget.Injectable}),Bo.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Bo}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Bo,decorators:[{type:P.Injectable}],ctorParameters:function(){return[{type:i.NgZone}]}});Ko.prototype.connect=function(e){this.resizeSubscription.add(e.subscribe(this.dispatcher))},Ko.prototype.destroy=function(){this.resizeSubscription&&this.resizeSubscription.unsubscribe()};var $o=Ko;function Ko(){this.resizeSubscription=new b.Subscription(function(){}),this.dispatcher=new b.Subject,this.changes=this.dispatcher.asObservable().pipe(G.throttleTime(100))}$o.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:$o,deps:[],target:i.ɵɵFactoryTarget.Injectable}),$o.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:$o}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:$o,decorators:[{type:P.Injectable}]});function qo(e){return e.parent?qo(e.parent):!!e.locked}function _o(e,t){return Object.assign({columns:Fn([e]),locked:qo(e)},t)}Zo.prototype.start=function(e){this.trackColumns(e);e=(this.column.isColumnGroup?[e]:[]).concat(Fn([e]));this.changes.emit({columns:e,locked:qo(this.column),type:"start"})},Zo.prototype.resizeColumns=function(e){e=_o(this.column,{deltaPercent:e,type:"resizeColumn"});this.changes.emit(e)},Zo.prototype.resizeTable=function(e,t){e=_o(e,{delta:t,type:"resizeTable"});this.changes.emit(e)},Zo.prototype.resizedColumn=function(e){this.resizedColumns.push(e)},Zo.prototype.end=function(){this.changes.emit({columns:[],resizedColumns:this.resizedColumns,type:"end"})},Zo.prototype.registerTable=function(e){var t=this;this.tables.push(e);return function(){t.tables.splice(t.tables.indexOf(e),1)}},Zo.prototype.measureColumns=function(e){var t,n=this;null!==this.batch?(t=this.batch).push.apply(t,g([],k(e))):this.autoFitBatch(e,function(){return n.end()})},Zo.prototype.autoFit=function(){for(var t=this,n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var o=n.filter(function(e){return!e.isLocked});this.autoFitStart(o),this.autoFitBatch(this.batch,function(){var e;o.length<n.length?(e=n.filter(function(e){return e.isLocked}),t.autoFitStart(e),t.autoFitBatch(t.batch,function(){return t.end()})):t.end()})},Zo.prototype.trackColumns=function(e){this.resizedColumns=[],this.column=e},Zo.prototype.autoFitStart=function(e){var t;this.batch=[],this.resizedColumns=[],0!==e.length&&(t=e[0].isLocked,this.changes.emit({type:"start",columns:e,locked:t}),this.changes.emit({type:"triggerAutoFit",columns:e,locked:t}))},Zo.prototype.autoFitBatch=function(t,n){var o=this,r=0<t.length&&t[0].column.isLocked,e=this.tables.filter(function(e){return e.locked===r}).map(function(e){return e.autoFit(t)});b.zip.apply(void 0,g([],k(e))).pipe(G.take(1)).subscribe(function(e){o.changes.emit({columns:t.map(function(e){return e.column}),type:"autoFitComplete",widths:e,locked:r}),n&&n()}),this.batch=null};var Wo=Zo;function Zo(){this.changes=new P.EventEmitter,this.tables=[],this.batch=null}Wo.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Wo,deps:[],target:i.ɵɵFactoryTarget.Injectable}),Wo.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Wo}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Wo,decorators:[{type:P.Injectable}]});function Uo(e){return"string"==typeof e&&-1<e.indexOf("menu")}function Qo(e){return!0===e||"string"==typeof e&&-1<e.indexOf("row")}c(Jo,Xo=tt);var Xo,Yo=Jo;function Jo(e){var t=Xo.call(this)||this;return t.originalEvent=e,t}tr.prototype.open=function(e,t,n,o){void 0===o&&(o="k-grid-filter-popup");var n=V(n)&&this.popupRef===n;return this.destroy(),n||(n=this.localization.rtl?"right":"left",this.popupRef=this.popupService.open({anchorAlign:{vertical:"bottom",horizontal:n},popupAlign:{vertical:"top",horizontal:n},anchor:e,popupClass:o,content:t,positionMode:"absolute"}),this.renderer.setAttribute(this.popupRef.popupElement,"dir",this.localization.rtl?"rtl":"ltr"),this.attachClose(e)),this.popupRef},tr.prototype.destroy=function(){this.popupRef&&(this.detachClose(),this.popupRef.close(),this.popupRef=null)},tr.prototype.ngOnDestroy=function(){this.destroy(),this.scrollSubscription.unsubscribe()},tr.prototype.detachClose=function(){this.removeClick&&this.removeClick()},tr.prototype.attachClose=function(t){var n=this;this.detachClose(),this.ngZone.runOutsideAngular(function(){return n.removeClick=n.renderer.listen("document","click",function(e){!function(e,t){for(;e;){if(t(e))return!0;e=e.parentNode}return!1}(e.target,function(e){return n.popupRef.popupElement===e||e===t})&&(e=new Yo(e),n.onClose.next(e),e.isDefaultPrevented()||n.destroy())})})};var er=tr;function tr(e,t,n,o,r){var i=this;this.popupService=e,this.renderer=t,this.ngZone=n,this.localization=r,this.onClose=new b.Subject,this.scrollSubscription=o.changes.subscribe(function(){return i.destroy()})}er.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:er,deps:[{token:Y.PopupService},{token:i.Renderer2},{token:i.NgZone},{token:Bo},{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Injectable}),er.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:er}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:er,decorators:[{type:P.Injectable}],ctorParameters:function(){return[{type:Y.PopupService},{type:i.Renderer2},{type:i.NgZone},{type:Bo},{type:a.LocalizationService}]}});function nr(e){var t=!1;return function(){return t||(document.body.appendChild(e),t=!0),e}}function or(e){var t=(n=ar(e)).clientTop,n=n.clientLeft,o=(r=sr(e)).pageYOffset,r=r.pageXOffset;return{top:(e=e.getBoundingClientRect()).top+o-t,left:e.left+r-n}}function rr(e,t){return 0!=(4&t.compareDocumentPosition(e))}function ir(e,t){var n=or(e),o=e.offsetWidth,e=e.offsetHeight;return{left:n.left+(t?0:o),top:n.top,height:e}}var ar=function(e){return e.ownerDocument.documentElement},sr=function(e){return e.ownerDocument.defaultView},lr=(cr.prototype.add=function(e){this.register.push(e)},cr.prototype.remove=function(t){this.register=this.register.filter(function(e){return e!==t})},cr.prototype.notifyDrag=function(e,t,n){t=this.targetFor(t);this.lastTarget!==t&&(this.changes.next({draggable:e,mouseEvent:n,target:this.lastTarget,type:"leave"}),t&&this.changes.next({draggable:e,mouseEvent:n,target:t,type:"enter"}),this.lastTarget=t)},cr.prototype.notifyDrop=function(e,t){this.changes.next({draggable:e,mouseEvent:t,target:this.lastTarget,type:"drop"}),this.lastTarget=null},cr.prototype.targetFor=function(e){var t=function(e,t){return e===t||0!=(16&t.compareDocumentPosition(e))}.bind(null,e);return this.register.find(function(e){e=e.element.nativeElement;return t(e)})},cr);function cr(){this.changes=new P.EventEmitter,this.register=[],this.lastTarget=null}lr.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:lr,deps:[],target:i.ɵɵFactoryTarget.Injectable}),lr.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:lr}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:lr,decorators:[{type:P.Injectable}]});function pr(e,t){(e=e.querySelector(".k-icon")).className=e.className.replace(/(plus|cancel)/,t?"plus":"cancel")}function ur(e,t){void 0===t&&(t=null),e=e.querySelectorAll(".k-icon")[1],t=null===t?"":t?"k-i-lock":"k-i-unlock",e.className=e.className.replace(/(k-i-unlock|k-i-lock)/,"")+" "+t}gr.prototype.create=function(e){this.dom=document.createElement("div"),(t=this.dom).className="k-header k-drag-clue",t.style.position="absolute",t.style.zIndex="20000";var t=this.santizer.sanitize(P.SecurityContext.HTML,e);this.dom.innerHTML='\n <span class="k-icon k-drag-status k-i-cancel k-icon-with-modifier">\n <span class="k-icon k-icon-modifier"></span>\n </span>\n '+t+"\n "},gr.prototype.attach=function(){return nr(this.dom)},gr.prototype.remove=function(){var e;this.dom&&this.dom.parentNode&&(e=this.dom,setTimeout(function(){return document.body.removeChild(e)}),this.dom=null)},gr.prototype.show=function(){this.dom.style.display=""},gr.prototype.hide=function(){this.dom.style.display="none"},gr.prototype.enable=function(){pr(this.dom,!0)},gr.prototype.disable=function(){pr(this.dom,!1)},gr.prototype.removeLock=function(){ur(this.dom)},gr.prototype.toggleLock=function(e){ur(this.dom,e)},gr.prototype.move=function(e){this.dom.style.top=e.pageY+"px",this.dom.style.left=e.pageX+"px"};var dr=gr;function gr(e){this.santizer=e}dr.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:dr,deps:[{token:J.DomSanitizer}],target:i.ɵɵFactoryTarget.Injectable}),dr.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:dr}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:dr,decorators:[{type:P.Injectable}],ctorParameters:function(){return[{type:J.DomSanitizer}]}});hr.prototype.create=function(){this.dom=document.createElement("div"),this.dom.className="k-grouping-dropclue",this.hide()},hr.prototype.attach=function(){return nr(this.dom)},hr.prototype.remove=function(){this.dom&&this.dom.parentElement&&(document.body.removeChild(this.dom),this.dom=null)},hr.prototype.hide=function(){this.dom.style.display="none"},hr.prototype.position=function(e){var t=e.left,n=e.top,e=e.height,e=(this.dom.style.display="block",this.dom.style.height=e+"px",this.dom.style.top=n+"px",this.dom.offsetWidth/2);this.dom.style.left=t-e+"px"};var mr=hr;function hr(){}mr.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:mr,deps:[],target:i.ɵɵFactoryTarget.Injectable}),mr.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:mr}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:mr,decorators:[{type:P.Injectable}]});yr.prototype.reorder=function(e){this.changes.emit(e)};var fr=yr;function yr(){this.changes=new P.EventEmitter}fr.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:fr,deps:[],target:i.ɵɵFactoryTarget.Injectable}),fr.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:fr}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:fr,decorators:[{type:P.Injectable}]});c(kr,vr=tt);var vr,br=kr;function kr(e){var t=e.column,n=e.newIndex,e=e.oldIndex,o=vr.call(this)||this;return o.column=t,o.newIndex=n,o.oldIndex=e,o}Object.defineProperty(Ir.prototype,"maxLogicalRowIndex",{get:function(){var e=this.hasDetailTemplate?2*this.dataRows:this.dataRows;return this.headerRows+e-1},enumerable:!1,configurable:!0});var Cr=Ir;function Ir(e,t,n,o,r,i,a,s){this.dataRows=e,this.headerRows=t,this.isVirtual=n,this.hasPager=o,this.hasDetailTemplate=r,this.gridElement=i,this.virtualColumns=a,this.columns=s}var xr={left:"0px",right:"0px"},C=(Object.defineProperty(wr.prototype,"lockedLeafColumns",{get:function(){return this.columnsContainer.lockedLeafColumns},enumerable:!1,configurable:!0}),Object.defineProperty(wr.prototype,"nonLockedLeafColumns",{get:function(){return this.columnsContainer.nonLockedLeafColumns},enumerable:!1,configurable:!0}),Object.defineProperty(wr.prototype,"isLocked",{get:function(){return 0<this.lockedLeafColumns.length},enumerable:!1,configurable:!0}),Object.defineProperty(wr.prototype,"totalLevels",{get:function(){return this.columnsContainer.totalLevels},enumerable:!1,configurable:!0}),Object.defineProperty(wr.prototype,"hiddenColumns",{get:function(){return this.list?this.list().filter(function(e){return!e.isVisible}):[]},enumerable:!1,configurable:!0}),Object.defineProperty(wr.prototype,"leafNamedColumns",{get:function(){var e=bn(this.list().filterSort(function(e){return!e.isColumnGroup})).filter(function(e){return e.matchesMedia&&e.displayTitle});return j.orderBy(e,[{field:"locked",dir:"desc"}])},enumerable:!1,configurable:!0}),Object.defineProperty(wr.prototype,"unlockedRootCount",{get:function(){return this.list().rootColumns().filter(function(e){return!e.locked&&e.isVisible}).length},enumerable:!1,configurable:!0}),wr.prototype.stickyColumnsStyles=function(n){if(this.stickyColumns||(this.stickyColumns=this.list().rootColumns().filter(function(e){return e.sticky&&!e.locked&&e.isVisible})),0===this.stickyColumns.length)return xr;var e=this.stickyColumns.reduce(function(e,t){return t.leafIndex<n.leafIndex?e.left+=t.width:t.leafIndex>n.leafIndex&&(e.right+=t.width),e},{left:0,right:0});return{left:e.left+"px",right:e.right+"px"}},wr.prototype.init=function(e,t){this.columnsContainer=e,this.list=t,this.stickyColumns=null},wr.prototype.changeVisibility=function(e){this.stickyColumns=null,this.visibilityChange.emit(e)},wr.prototype.changeLocked=function(e){this.stickyColumns=null,this.lockedChange.emit(e)},wr.prototype.changeStuck=function(e){this.stickyColumns=null,this.stickyChange.emit(e)},wr);function wr(){this.visibilityChange=new P.EventEmitter,this.lockedChange=new P.EventEmitter,this.stickyChange=new P.EventEmitter,this.columnRangeChange=new P.EventEmitter,this.columnsContainer=new po(function(){return[]})}C.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:C,deps:[],target:i.ɵɵFactoryTarget.Injectable}),C.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:C}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:C,decorators:[{type:P.Injectable}]});Dr.prototype.sort=function(e){this.changes.next(e)};var Sr=Dr;function Dr(){this.changes=new b.Subject}var Tr=function(e){this.columns=e},Fr=function(e){this.columns=e};function Or(e,t){return"data"===t.type&&t.isEditing?t.data:e}var Er=function(e){this.columns=e},Rr=function(e){this.templateRef=e},Lr=(Rr.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Rr,deps:[{token:i.TemplateRef,optional:!0}],target:i.ɵɵFactoryTarget.Directive}),Rr.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:Rr,selector:"[kendoGridCellLoadingTemplate]",ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Rr,decorators:[{type:P.Directive,args:[{selector:"[kendoGridCellLoadingTemplate]"}]}],ctorParameters:function(){return[{type:i.TemplateRef,decorators:[{type:P.Optional}]}]}}),function(e){this.templateRef=e}),Pr=(Lr.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Lr,deps:[{token:i.TemplateRef}],target:i.ɵɵFactoryTarget.Directive}),Lr.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:Lr,selector:"[kendoGridLoadingTemplate]",ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Lr,decorators:[{type:P.Directive,args:[{selector:"[kendoGridLoadingTemplate]"}]}],ctorParameters:function(){return[{type:i.TemplateRef}]}}),Object.defineProperty(Gr.prototype,"position",{set:function(e){this.context.position=e},enumerable:!1,configurable:!0}),Object.defineProperty(Gr.prototype,"toolbarTemplateRef",{get:function(){return this.ctx.grid.toolbarTemplate?this.ctx.grid.toolbarTemplate.templateRef:void 0},enumerable:!1,configurable:!0}),Gr);function Gr(e){this.ctx=e,this.context={}}Pr.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Pr,deps:[{token:so}],target:i.ɵɵFactoryTarget.Component}),Pr.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Pr,selector:"kendo-grid-toolbar",inputs:{position:"position"},ngImport:i,template:'\n <ng-template\n *ngIf="toolbarTemplateRef"\n [ngTemplateOutlet]="toolbarTemplateRef"\n [ngTemplateOutletContext]="context"\n >\n </ng-template>\n ',isInline:!0,directives:[{type:s.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{type:s.NgTemplateOutlet,selector:"[ngTemplateOutlet]",inputs:["ngTemplateOutletContext","ngTemplateOutlet"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Pr,decorators:[{type:P.Component,args:[{selector:"kendo-grid-toolbar",template:'\n <ng-template\n *ngIf="toolbarTemplateRef"\n [ngTemplateOutlet]="toolbarTemplateRef"\n [ngTemplateOutletContext]="context"\n >\n </ng-template>\n '}]}],ctorParameters:function(){return[{type:so}]},propDecorators:{position:[{type:P.Input}]}});function Vr(e){return Mr(!0===e?{}:e)}var Mr=function(e){var t=e.buttonCount,n=e.info,o=e.type,r=e.pageSizes,r=void 0!==r&&r,i=e.previousNext,a=e.responsive,e=e.position;return{buttonCount:void 0===t?10:t,info:void 0===n||n,pageSizes:!0===r?[5,10,20]:r,previousNext:void 0===i||i,type:void 0===o?"numeric":o,responsive:void 0===a||a,position:void 0===e?"bottom":e}},zr=(Object.defineProperty(Nr.prototype,"focusableChildren",{get:function(){return this.children.filter(function(e){return e.canFocus()})},enumerable:!1,configurable:!0}),Object.defineProperty(Nr.prototype,"isActive",{get:function(){return this.active},enumerable:!1,configurable:!0}),Nr.prototype.ngOnDestroy=function(){this.root.unregisterGroup(this)},Nr.prototype.registerElement=function(e){this.unregisterElement(e),this.children.push(e)},Nr.prototype.unregisterElement=function(t){this.children=this.children.filter(function(e){return e!==t})},Nr.prototype.isNavigable=function(){var e=this.focusableChildren;return 1===e.length&&e[0].isNavigable()},Nr.prototype.canFocus=function(){return 0<this.focusableChildren.length},Nr.prototype.focus=function(){this.canFocus()&&!this.hasFocus()&&this.focusableChildren[0].focus()},Nr.prototype.activate=function(){this.toggleState(!0)},Nr.prototype.deactivate=function(){this.toggleState(!1)},Nr.prototype.hasFocus=function(){return this.children.reduce(function(e,t){return e||t.hasFocus()},!1)},Nr.prototype.toggleState=function(t){this.active!==t&&(this.active=t,this.children.forEach(function(e){return e.toggle(t)}))},Nr);function Nr(e){this.root=e,this.active=!0,this.children=[],this.root.registerGroup(this)}zr.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:zr,deps:[{token:dt}],target:i.ɵɵFactoryTarget.Injectable}),zr.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:zr}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:zr,decorators:[{type:P.Injectable}],ctorParameters:function(){return[{type:dt}]}});Object.defineProperty(jr.prototype,"currentPage",{get:function(){return Math.floor((this.skip||0)/this.pageSize)+1},enumerable:!1,configurable:!0}),Object.defineProperty(jr.prototype,"totalPages",{get:function(){return Math.ceil((this.total||0)/this.pageSize)},enumerable:!1,configurable:!0}),jr.prototype.textFor=function(e){return this.localization.get(e)},jr.prototype.changePage=function(e){return this.pagerContext.changePage(e),!1},jr.prototype.ngOnInit=function(){var e=this;this.subscriptions=this.pagerContext.changes.subscribe(this.onChanges.bind(this)),this.subscriptions.add(this.localization.changes.subscribe(function(){return e.cd.markForCheck()}))},jr.prototype.ngOnDestroy=function(){this.subscriptions&&this.subscriptions.unsubscribe()};var I=jr;function jr(e,t,n){this.localization=e,this.pagerContext=t,this.cd=n,this.total=this.pagerContext.total,this.skip=this.pagerContext.skip,this.pageSize=this.pagerContext.pageSize}I.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:I,deps:[{token:a.LocalizationService},{token:Ze},{token:i.ChangeDetectorRef}],target:i.ɵɵFactoryTarget.Component}),I.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:I,selector:"kendo-pager-element-base",ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:I,decorators:[{type:P.Component,args:[{selector:"kendo-pager-element-base",template:""}]}],ctorParameters:function(){return[{type:a.LocalizationService},{type:Ze},{type:i.ChangeDetectorRef}]}});c(Hr,Ar=I),Object.defineProperty(Hr.prototype,"disabled",{get:function(){return 1===this.currentPage||!this.total},enumerable:!1,configurable:!0}),Hr.prototype.onChanges=function(e){var t=e.total,n=e.skip,e=e.pageSize;this.total=t,this.skip=n,this.pageSize=e,this.cd.markForCheck()};var Ar,Br=Hr;function Hr(e,t,n,o){e=Ar.call(this,e,t,n)||this;return e.navigationService=o,e}Br.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Br,deps:[{token:a.LocalizationService},{token:Ze},{token:i.ChangeDetectorRef},{token:m}],target:i.ɵɵFactoryTarget.Component}),Br.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Br,selector:"kendo-pager-prev-buttons",usesInheritance:!0,ngImport:i,template:'\n <span\n [kendoGridFocusable]="!disabled"\n [title]="textFor(\'pagerFirstPage\')"\n (click)="currentPage !== 1 ? changePage(0) : false"\n (keydown.enter)="currentPage !== 1 ? changePage(0) : false"\n role="button"\n [ngClass]="{\n \'k-link\': true,\n \'k-pager-nav\': true,\n \'k-state-disabled\': disabled,\n \'k-pager-first\': true\n }">\n <span role="note"\n [attr.aria-label]="textFor(\'pagerFirstPage\')"\n [ngClass]="{\n \'k-icon\': true,\n \'k-i-seek-w\': true\n }">\n </span>\n </span>\n <span\n [kendoGridFocusable]="!disabled"\n [title]="textFor(\'pagerPreviousPage\')"\n role="button"\n (click)="currentPage !== 1 ? changePage(currentPage-2) : false"\n (keydown.enter)="currentPage !== 1 ? changePage(currentPage-2) : false"\n [ngClass]="{\n \'k-link\': true,\n \'k-pager-nav\': true,\n \'k-state-disabled\': disabled,\n \'\': true\n }">\n <span role="note"\n [attr.aria-label]="textFor(\'pagerPreviousPage\')"\n [ngClass]="{\n \'k-icon\': true,\n \'k-i-arrow-w\': true\n }">\n </span>\n </span>\n ',isInline:!0,directives:[{type:Dt,selector:"[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ",inputs:["kendoGridFocusable"]},{type:s.NgClass,selector:"[ngClass]",inputs:["class","ngClass"]}],changeDetection:i.ChangeDetectionStrategy.OnPush}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Br,decorators:[{type:P.Component,args:[{changeDetection:P.ChangeDetectionStrategy.OnPush,selector:"kendo-pager-prev-buttons",template:'\n <span\n [kendoGridFocusable]="!disabled"\n [title]="textFor(\'pagerFirstPage\')"\n (click)="currentPage !== 1 ? changePage(0) : false"\n (keydown.enter)="currentPage !== 1 ? changePage(0) : false"\n role="button"\n [ngClass]="{\n \'k-link\': true,\n \'k-pager-nav\': true,\n \'k-state-disabled\': disabled,\n \'k-pager-first\': true\n }">\n <span role="note"\n [attr.aria-label]="textFor(\'pagerFirstPage\')"\n [ngClass]="{\n \'k-icon\': true,\n \'k-i-seek-w\': true\n }">\n </span>\n </span>\n <span\n [kendoGridFocusable]="!disabled"\n [title]="textFor(\'pagerPreviousPage\')"\n role="button"\n (click)="currentPage !== 1 ? changePage(currentPage-2) : false"\n (keydown.enter)="currentPage !== 1 ? changePage(currentPage-2) : false"\n [ngClass]="{\n \'k-link\': true,\n \'k-pager-nav\': true,\n \'k-state-disabled\': disabled,\n \'\': true\n }">\n <span role="note"\n [attr.aria-label]="textFor(\'pagerPreviousPage\')"\n [ngClass]="{\n \'k-icon\': true,\n \'k-i-arrow-w\': true\n }">\n </span>\n </span>\n '}]}],ctorParameters:function(){return[{type:a.LocalizationService},{type:Ze},{type:i.ChangeDetectorRef},{type:m}]}});c(qr,$r=I),Object.defineProperty(qr.prototype,"buttons",{get:function(){for(var e=[],t=this.start;t<=this.end;t++)e.push(t);return e},enumerable:!1,configurable:!0}),Object.defineProperty(qr.prototype,"end",{get:function(){return Math.min(this.start+this.buttonCount-1,this.totalPages)},enumerable:!1,configurable:!0}),Object.defineProperty(qr.prototype,"start",{get:function(){var e,t=this.currentPage,n=this.buttonCount;return n<t?0==(e=t%n)?t-n+1:t-e+1:1},enumerable:!1,configurable:!0}),qr.prototype.pageLabel=function(e){var t=this.textFor("pagerPage");return t?t+" "+e:e.toString()},qr.prototype.onSelectChange=function(e){var e=e.target,t=Number(e.value);Number.isNaN(t)?"previousButtons"===e.value?this.changePage(this.start-2):this.changePage(this.end):this.changePage(t-1)},qr.prototype.onChanges=function(e){var t=e.total,n=e.skip,e=e.pageSize;this.total=t,this.skip=n,this.pageSize=e,this.cd.markForCheck()};var $r,Kr=qr;function qr(e,t,n){e=$r.call(this,e,n,t)||this;return e.pagerContext=n,e.numbersWrapClass=!0,e}Kr.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Kr,deps:[{token:a.LocalizationService},{token:i.ChangeDetectorRef},{token:Ze}],target:i.ɵɵFactoryTarget.Component}),Kr.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Kr,selector:"kendo-pager-numeric-buttons",inputs:{buttonCount:"buttonCount"},host:{properties:{"class.k-pager-numbers-wrap":"this.numbersWrapClass"}},usesInheritance:!0,ngImport:i,template:'\n \x3c!-- updated to address https://docs.angular.lat/guide/ivy-compatibility-examples#cannot-bind-to-value-property-of-select-with-ngfor --\x3e\n <select\n class="k-dropdownlist k-pager-nav"\n kendoGridFocusable\n tabindex="0"\n (change)="onSelectChange($event)">\n <option *ngIf="start > 1"\n class="k-link"\n value="previousButtons"\n [selected]="false"\n [attr.aria-label]="pageLabel(start - 1)">...\n </option>\n <option *ngFor="let num of buttons"\n [value]="num.toString()"\n [selected]="num === currentPage"\n [attr.aria-label]="pageLabel(num)"\n [attr.aria-current]="currentPage === num ? \'page\' : undefined"\n [ngClass]="{\'k-link\': true, \'k-state-selected\':currentPage === num}">\n {{num}}\n </option>\n <option *ngIf="end < totalPages"\n value="nextButtons"\n [selected]="false"\n class="k-link"\n [attr.aria-label]="pageLabel(end + 1)">...\n </option>\n </select>\n <ul [ngClass]="{\'k-pager-numbers\': true, \'k-reset\': true}">\n <li *ngIf="start > 1">\n <span\n kendoGridFocusable\n tabindex="0"\n class="k-link k-pager-nav"\n role="button"\n [attr.aria-label]="pageLabel(start - 1)"\n (click)="changePage(start - 2)"\n (keydown.enter)="changePage(start - 2)">...</span>\n </li>\n <li *ngFor="let num of buttons">\n <span\n kendoGridFocusable\n tabindex="0"\n role="button"\n [attr.aria-label]="pageLabel(num)"\n [ngClass]="{\'k-link\': true, \'k-state-selected\':currentPage === num, \'k-pager-nav\': true}"\n (click)="changePage(num - 1)"\n (keydown.enter)="changePage(num - 1)">\n {{num}}\n </span>\n </li>\n <li *ngIf="end < totalPages">\n <span\n kendoGridFocusable\n tabindex="0"\n class="k-link k-pager-nav"\n role="button"\n [attr.aria-label]="pageLabel(end + 1)"\n (click)="changePage(end)"\n (keydown.enter)="changePage(end)">...</span>\n </li>\n </ul>\n ',isInline:!0,directives:[{type:Dt,selector:"[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ",inputs:["kendoGridFocusable"]},{type:s.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{type:s.NgForOf,selector:"[ngFor][ngForOf]",inputs:["ngForOf","ngForTrackBy","ngForTemplate"]},{type:s.NgClass,selector:"[ngClass]",inputs:["class","ngClass"]}],changeDetection:i.ChangeDetectionStrategy.OnPush}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Kr,decorators:[{type:P.Component,args:[{changeDetection:P.ChangeDetectionStrategy.OnPush,selector:"kendo-pager-numeric-buttons",template:'\n \x3c!-- updated to address https://docs.angular.lat/guide/ivy-compatibility-examples#cannot-bind-to-value-property-of-select-with-ngfor --\x3e\n <select\n class="k-dropdownlist k-pager-nav"\n kendoGridFocusable\n tabindex="0"\n (change)="onSelectChange($event)">\n <option *ngIf="start > 1"\n class="k-link"\n value="previousButtons"\n [selected]="false"\n [attr.aria-label]="pageLabel(start - 1)">...\n </option>\n <option *ngFor="let num of buttons"\n [value]="num.toString()"\n [selected]="num === currentPage"\n [attr.aria-label]="pageLabel(num)"\n [attr.aria-current]="currentPage === num ? \'page\' : undefined"\n [ngClass]="{\'k-link\': true, \'k-state-selected\':currentPage === num}">\n {{num}}\n </option>\n <option *ngIf="end < totalPages"\n value="nextButtons"\n [selected]="false"\n class="k-link"\n [attr.aria-label]="pageLabel(end + 1)">...\n </option>\n </select>\n <ul [ngClass]="{\'k-pager-numbers\': true, \'k-reset\': true}">\n <li *ngIf="start > 1">\n <span\n kendoGridFocusable\n tabindex="0"\n class="k-link k-pager-nav"\n role="button"\n [attr.aria-label]="pageLabel(start - 1)"\n (click)="changePage(start - 2)"\n (keydown.enter)="changePage(start - 2)">...</span>\n </li>\n <li *ngFor="let num of buttons">\n <span\n kendoGridFocusable\n tabindex="0"\n role="button"\n [attr.aria-label]="pageLabel(num)"\n [ngClass]="{\'k-link\': true, \'k-state-selected\':currentPage === num, \'k-pager-nav\': true}"\n (click)="changePage(num - 1)"\n (keydown.enter)="changePage(num - 1)">\n {{num}}\n </span>\n </li>\n <li *ngIf="end < totalPages">\n <span\n kendoGridFocusable\n tabindex="0"\n class="k-link k-pager-nav"\n role="button"\n [attr.aria-label]="pageLabel(end + 1)"\n (click)="changePage(end)"\n (keydown.enter)="changePage(end)">...</span>\n </li>\n </ul>\n '}]}],ctorParameters:function(){return[{type:a.LocalizationService},{type:i.ChangeDetectorRef},{type:Ze}]},propDecorators:{numbersWrapClass:[{type:P.HostBinding,args:["class.k-pager-numbers-wrap"]}],buttonCount:[{type:P.Input}]}});Wr.prototype.ngAfterViewInit=function(){var e=this.host.numericInput.nativeElement;this.renderer.addClass(e,"k-pager-nav")};var _r=Wr;function Wr(e,t){this.host=e,this.renderer=t}_r.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:_r,deps:[{token:ee.NumericTextBoxComponent},{token:i.Renderer2}],target:i.ɵɵFactoryTarget.Directive}),_r.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:_r,selector:"[kendoGridPagerInput]",ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:_r,decorators:[{type:P.Directive,args:[{selector:"[kendoGridPagerInput]"}]}],ctorParameters:function(){return[{type:ee.NumericTextBoxComponent},{type:i.Renderer2}]}});c(Qr,Zr=I),Object.defineProperty(Qr.prototype,"current",{get:function(){return this.hasPages?this.currentPage:0},enumerable:!1,configurable:!0}),Object.defineProperty(Qr.prototype,"hasPages",{get:function(){return 0!==this.totalPages},enumerable:!1,configurable:!0}),Qr.prototype.onChanges=function(e){var t=e.total,n=e.skip,e=e.pageSize;this.total=t,this.skip=n,this.pageSize=e,this.cd.markForCheck()};var Zr,Ur=Qr;function Qr(e,t,n,o,r){var i=Zr.call(this,e,t,r)||this;return i.pagerContext=t,i.zone=n,i.navigationService=o,i.handleKeyDown=function(e){var t=i.numericInput.value||i.current;e.keyCode===p.Keys.Enter&&(e.preventDefault(),t!==i.current&&i.zone.run(function(){i.changePage(t-1)}))},i.handleBlur=function(){var e=i.numericInput.value;e?e!==i.current&&i.zone.run(function(){i.changePage(e-1)}):i.numericInput.writeValue(i.current)},i}Ur.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ur,deps:[{token:a.LocalizationService},{token:Ze},{token:i.NgZone},{token:m},{token:i.ChangeDetectorRef}],target:i.ɵɵFactoryTarget.Component}),Ur.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Ur,selector:"kendo-pager-input",viewQueries:[{propertyName:"numericInput",first:!0,predicate:B.NumericTextBoxComponent,descendants:!0}],usesInheritance:!0,ngImport:i,template:'\n <span [ngClass]="{\'k-pager-input\': true, \'k-label\': true}">\n {{textFor(\'pagerPage\')}}\n <kendo-numerictextbox\n kendoGridPagerInput\n [kendoGridFocusable]="hasPages"\n [tabindex]="0"\n [spinners]="false"\n [decimals]="0"\n format="n0"\n [disabled]="!hasPages"\n [value]="current"\n [min]="hasPages ? 1 : 0"\n [max]="totalPages"\n [autoCorrect]="true"\n [title]="textFor(\'pagerPageNumberInputTitle\')"\n [kendoEventsOutsideAngular]="{\n keydown: handleKeyDown,\n focusout: handleBlur\n }"\n >\n </kendo-numerictextbox>\n {{textFor(\'pagerOf\')}} {{totalPages}}\n </span>\n ',isInline:!0,components:[{type:ee.NumericTextBoxComponent,selector:"kendo-numerictextbox",inputs:["focusableId","disabled","readonly","title","autoCorrect","format","max","min","decimals","placeholder","step","spinners","rangeValidation","tabindex","tabIndex","changeValueOnScroll","selectOnFocus","value","maxlength","size","rounded","fillMode"],outputs:["valueChange","focus","blur"],exportAs:["kendoNumericTextBox"]}],directives:[{type:s.NgClass,selector:"[ngClass]",inputs:["class","ngClass"]},{type:_r,selector:"[kendoGridPagerInput]"},{type:Dt,selector:"[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ",inputs:["kendoGridFocusable"]},{type:X.EventsOutsideAngularDirective,selector:"[kendoEventsOutsideAngular]",inputs:["kendoEventsOutsideAngular","scope"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ur,decorators:[{type:P.Component,args:[{selector:"kendo-pager-input",template:'\n <span [ngClass]="{\'k-pager-input\': true, \'k-label\': true}">\n {{textFor(\'pagerPage\')}}\n <kendo-numerictextbox\n kendoGridPagerInput\n [kendoGridFocusable]="hasPages"\n [tabindex]="0"\n [spinners]="false"\n [decimals]="0"\n format="n0"\n [disabled]="!hasPages"\n [value]="current"\n [min]="hasPages ? 1 : 0"\n [max]="totalPages"\n [autoCorrect]="true"\n [title]="textFor(\'pagerPageNumberInputTitle\')"\n [kendoEventsOutsideAngular]="{\n keydown: handleKeyDown,\n focusout: handleBlur\n }"\n >\n </kendo-numerictextbox>\n {{textFor(\'pagerOf\')}} {{totalPages}}\n </span>\n '}]}],ctorParameters:function(){return[{type:a.LocalizationService},{type:Ze},{type:i.NgZone},{type:m},{type:i.ChangeDetectorRef}]},propDecorators:{numericInput:[{type:P.ViewChild,args:[B.NumericTextBoxComponent,{static:!1}]}]}});c(Jr,Xr=I),Object.defineProperty(Jr.prototype,"disabled",{get:function(){return this.currentPage===this.totalPages||!this.total},enumerable:!1,configurable:!0}),Jr.prototype.onChanges=function(e){var t=e.total,n=e.skip,e=e.pageSize;this.total=t,this.skip=n,this.pageSize=e,this.cd.markForCheck()};var Xr,Yr=Jr;function Jr(e,t,n,o){e=Xr.call(this,e,t,n)||this;return e.navigationService=o,e}Yr.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Yr,deps:[{token:a.LocalizationService},{token:Ze},{token:i.ChangeDetectorRef},{token:m}],target:i.ɵɵFactoryTarget.Component}),Yr.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Yr,selector:"kendo-pager-next-buttons",usesInheritance:!0,ngImport:i,template:'\n <span\n [kendoGridFocusable]="!disabled"\n tabindex="0"\n [title]="textFor(\'pagerNextPage\')"\n (click)="currentPage !== totalPages ? changePage(currentPage) : false"\n (keydown.enter)="currentPage !== totalPages ? changePage(currentPage) : false"\n role="button"\n [ngClass]="{\n \'k-link\': true,\n \'k-pager-nav\': true,\n \'k-state-disabled\': disabled,\n \'\': true\n }">\n <span role="note" [attr.aria-label]="textFor(\'pagerNextPage\')"\n [ngClass]="{\n \'k-icon\':true,\n \'k-i-arrow-e\': true\n }">\n </span>\n </span>\n <span\n [kendoGridFocusable]="!disabled"\n tabindex="0"\n [title]="textFor(\'pagerLastPage\')"\n (click)="currentPage !== totalPages ? changePage(totalPages-1) : false"\n (keydown.enter)="currentPage !== totalPages ? changePage(totalPages-1) : false"\n role="button"\n [ngClass]="{\n \'k-link\': true,\n \'k-pager-nav\': true,\n \'k-state-disabled\': disabled,\n \'k-pager-last\': true\n }">\n <span role="note" [attr.aria-label]="textFor(\'pagerLastPage\')"\n [ngClass]="{\n \'k-icon\':true,\n \'k-i-seek-e\': true\n }">\n </span>\n </span>\n ',isInline:!0,directives:[{type:Dt,selector:"[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ",inputs:["kendoGridFocusable"]},{type:s.NgClass,selector:"[ngClass]",inputs:["class","ngClass"]}],changeDetection:i.ChangeDetectionStrategy.OnPush}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Yr,decorators:[{type:P.Component,args:[{changeDetection:P.ChangeDetectionStrategy.OnPush,selector:"kendo-pager-next-buttons",template:'\n <span\n [kendoGridFocusable]="!disabled"\n tabindex="0"\n [title]="textFor(\'pagerNextPage\')"\n (click)="currentPage !== totalPages ? changePage(currentPage) : false"\n (keydown.enter)="currentPage !== totalPages ? changePage(currentPage) : false"\n role="button"\n [ngClass]="{\n \'k-link\': true,\n \'k-pager-nav\': true,\n \'k-state-disabled\': disabled,\n \'\': true\n }">\n <span role="note" [attr.aria-label]="textFor(\'pagerNextPage\')"\n [ngClass]="{\n \'k-icon\':true,\n \'k-i-arrow-e\': true\n }">\n </span>\n </span>\n <span\n [kendoGridFocusable]="!disabled"\n tabindex="0"\n [title]="textFor(\'pagerLastPage\')"\n (click)="currentPage !== totalPages ? changePage(totalPages-1) : false"\n (keydown.enter)="currentPage !== totalPages ? changePage(totalPages-1) : false"\n role="button"\n [ngClass]="{\n \'k-link\': true,\n \'k-pager-nav\': true,\n \'k-state-disabled\': disabled,\n \'k-pager-last\': true\n }">\n <span role="note" [attr.aria-label]="textFor(\'pagerLastPage\')"\n [ngClass]="{\n \'k-icon\':true,\n \'k-i-seek-e\': true\n }">\n </span>\n </span>\n '}]}],ctorParameters:function(){return[{type:a.LocalizationService},{type:Ze},{type:i.ChangeDetectorRef},{type:m}]}});c(ni,ei=I),Object.defineProperty(ni.prototype,"maxItems",{get:function(){return Math.min(this.currentPage*this.pageSize,this.total)},enumerable:!1,configurable:!0}),Object.defineProperty(ni.prototype,"currentPageText",{get:function(){return this.total?(this.currentPage-1)*this.pageSize+1:0},enumerable:!1,configurable:!0}),Object.defineProperty(ni.prototype,"classes",{get:function(){return!0},enumerable:!1,configurable:!0}),ni.prototype.onChanges=function(e){var t=e.total,n=e.skip,e=e.pageSize;this.total=t,this.skip=n,this.pageSize=e,this.cd.markForCheck()};var ei,ti=ni;function ni(e,t,n){e=ei.call(this,e,n,t)||this;return e.pagerContext=n,e}ti.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ti,deps:[{token:a.LocalizationService},{token:i.ChangeDetectorRef},{token:Ze}],target:i.ɵɵFactoryTarget.Component}),ti.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:ti,selector:"kendo-pager-info",host:{properties:{"class.k-pager-info":"this.classes","class.k-label":"this.classes"}},usesInheritance:!0,ngImport:i,template:"{{currentPageText}} - {{maxItems}} {{textFor('pagerOf')}} {{total}} {{textFor('pagerItems')}}",isInline:!0,changeDetection:i.ChangeDetectionStrategy.OnPush}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ti,decorators:[{type:P.Component,args:[{changeDetection:P.ChangeDetectionStrategy.OnPush,selector:"kendo-pager-info",template:"{{currentPageText}} - {{maxItems}} {{textFor('pagerOf')}} {{total}} {{textFor('pagerItems')}}"}]}],ctorParameters:function(){return[{type:a.LocalizationService},{type:i.ChangeDetectorRef},{type:Ze}]},propDecorators:{classes:[{type:P.HostBinding,args:["class.k-pager-info"]},{type:P.HostBinding,args:["class.k-label"]}]}});ri.prototype.ngAfterViewInit=function(){this.host.wrapper.nativeElement.addEventListener("keydown",this.keydownHandler,!0)},ri.prototype.ngOnDestroy=function(){this.host.wrapper.nativeElement.removeEventListener("keydown",this.keydownHandler)};var oi=ri;function ri(e){var t=this;this.host=e,this.keydownHandler=function(e){e.keyCode===p.Keys.Escape&&t.host.isOpen&&(e.stopPropagation(),t.host.toggle(!1))}}oi.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:oi,deps:[{token:te.DropDownListComponent}],target:i.ɵɵFactoryTarget.Directive}),oi.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:oi,selector:"[kendoGridPagerDropDown]",ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:oi,decorators:[{type:P.Directive,args:[{selector:"[kendoGridPagerDropDown]"}]}],ctorParameters:function(){return[{type:te.DropDownListComponent}]}});c(si,ii=I),Object.defineProperty(si.prototype,"pageSizes",{get:function(){return this._pageSizes},set:function(e){var t=this,n=[];e.forEach(function(e){"number"==typeof e?n.push({text:e.toString(),value:e}):n.push(e)}),this.pageSize&&!n.some(function(e){return e.value===t.pageSize})&&(n=g([{text:this.pageSize.toString(),value:this.pageSize}],k(n))),this._pageSizes=n},enumerable:!1,configurable:!0}),Object.defineProperty(si.prototype,"classes",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(si.prototype,"showInitialPageSize",{get:function(){var t=this;return 0===this.pageSizes.filter(function(e){return"number"==typeof e.value?e.value===Number(t.pageSize):t.total===Number(t.pageSize)}).length},enumerable:!1,configurable:!0}),si.prototype.pageSizeChange=function(e){this.pageSize="number"==typeof e?e:this.total,this.pagerContext.changePageSize(this.pageSize)},si.prototype.getValue=function(e){return"number"==typeof e.value?e.value:this.total},si.prototype.onChanges=function(e){var t=e.total,n=e.skip,e=e.pageSize;this.total=t,this.skip=n,this.pageSize="number"==typeof e?e:this.total,this.cd.markForCheck()};var ii,ai=si;function si(e,t,n,o){e=ii.call(this,e,n,t)||this;return e.pagerContext=n,e.navigationService=o,e._pageSizes=[],e}ai.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ai,deps:[{token:a.LocalizationService},{token:i.ChangeDetectorRef},{token:Ze},{token:m}],target:i.ɵɵFactoryTarget.Component}),ai.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:ai,selector:"kendo-pager-page-sizes",inputs:{pageSizes:"pageSizes"},host:{properties:{"class.k-pager-sizes":"this.classes","class.k-label":"this.classes"}},usesInheritance:!0,ngImport:i,template:'\n <kendo-dropdownlist\n #dropdownlist\n kendoGridPagerDropDown\n [tabindex]="0"\n kendoGridFocusable\n [data]="pageSizes"\n textField="text"\n valueField="value"\n [valuePrimitive]="true"\n [value]="pageSize"\n (valueChange)="pageSizeChange($event)"></kendo-dropdownlist>\n <kendo-label [for]="dropdownlist" [text]="textFor(\'pagerItemsPerPage\')"></kendo-label>\n ',isInline:!0,components:[{type:te.DropDownListComponent,selector:"kendo-dropdownlist",inputs:["iconClass","loading","data","value","textField","valueField","popupSettings","listHeight","defaultItem","disabled","itemDisabled","readonly","filterable","virtual","ignoreCase","delay","valuePrimitive","tabindex","tabIndex","size","rounded","fillMode","id"],outputs:["valueChange","filterChange","selectionChange","open","opened","close","closed","focus","blur"],exportAs:["kendoDropDownList"]},{type:A.LabelComponent,selector:"kendo-label",inputs:["text","for","optional"],exportAs:["kendoLabel"]}],directives:[{type:oi,selector:"[kendoGridPagerDropDown]"},{type:Dt,selector:"[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ",inputs:["kendoGridFocusable"]}],changeDetection:i.ChangeDetectionStrategy.OnPush}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ai,decorators:[{type:P.Component,args:[{changeDetection:P.ChangeDetectionStrategy.OnPush,selector:"kendo-pager-page-sizes",template:'\n <kendo-dropdownlist\n #dropdownlist\n kendoGridPagerDropDown\n [tabindex]="0"\n kendoGridFocusable\n [data]="pageSizes"\n textField="text"\n valueField="value"\n [valuePrimitive]="true"\n [value]="pageSize"\n (valueChange)="pageSizeChange($event)"></kendo-dropdownlist>\n <kendo-label [for]="dropdownlist" [text]="textFor(\'pagerItemsPerPage\')"></kendo-label>\n '}]}],ctorParameters:function(){return[{type:a.LocalizationService},{type:i.ChangeDetectorRef},{type:Ze},{type:m}]},propDecorators:{pageSizes:[{type:P.Input}],classes:[{type:P.HostBinding,args:["class.k-pager-sizes"]},{type:P.HostBinding,args:["class.k-label"]}]}});Object.defineProperty(x.prototype,"options",{set:function(e){this.settings=Vr(e)},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"pagerAriaLabel",{get:function(){return this.navigationService.enabled?this.pagerLabel:void 0},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"pagerLabel",{get:function(){var e=this.localizationService.get("pagerLabel")||"";return be(be(e,"currentPage",this.currentPage.toString()),"totalPages",this.totalPages.toString())},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"focusTrapTabIndex",{get:function(){return this.focusGroup.isActive?"0":"-1"},enumerable:!1,configurable:!0}),x.prototype.onFocusIn=function(e){this.navigationService.enabled&&(e.target===this.element.nativeElement?(this._isFocused=!0,this.focusRoot.deactivate()):this.focusRoot.activate())},x.prototype.onFocusOut=function(){this.navigationService.enabled&&(this._isFocused=!1)},x.prototype.onEscape=function(){this.navigationService.enabled&&(this.focusRoot.deactivate(),this.element.nativeElement.focus())},x.prototype.onEnter=function(e){this.navigationService.enabled&&e.target===this.element.nativeElement&&(this.focusRoot.activate(),this.focusFirstElement())},x.prototype.navigateToPreviousPage=function(e){this.shouldTriggerPageChange(e.target,1<this.currentPage)&&this.pagerContext.prevPage()},x.prototype.navigateToNextPage=function(e){this.shouldTriggerPageChange(e.target,this.currentPage<this.totalPages)&&this.pagerContext.nextPage()},x.prototype.navigateToFirstPage=function(e){this.shouldTriggerPageChange(e.target,1<this.currentPage)&&this.pagerContext.changePage(0)},x.prototype.navigateToLastPage=function(e){this.shouldTriggerPageChange(e.target,this.currentPage<this.totalPages)&&this.pagerContext.changePage(this.totalPages-1)},Object.defineProperty(x.prototype,"totalPages",{get:function(){return Math.ceil((this.total||0)/this.pageSize)},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"currentPage",{get:function(){return Math.floor((this.skip||0)/this.pageSize)+1},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"templateContext",{get:function(){var e=this._templateContext;return e.totalPages=this.totalPages,e.total=this.total,e.skip=this.skip,e.pageSize=this.pageSize,e.currentPage=this.currentPage,e},enumerable:!1,configurable:!0}),x.prototype.ngOnInit=function(){this.subscriptions.add(this.pagerContext.pageChange.subscribe(this.changePage.bind(this))),this.navigationService.enabled&&this.focusRoot.deactivate()},x.prototype.ngDoCheck=function(){this.updateCellContext()},x.prototype.ngOnChanges=function(e){p.anyChanged(["pageSize","skip","total"],e,!1)&&this.pagerContext.notifyChanges({pageSize:this.pageSize,skip:this.skip,total:this.total}),e.template&&(e.template.currentValue?this.clearResponsiveClasses():this.resizeHandler()),e.options&&(this.settings.responsive?this.resizeHandler():this.clearResponsiveClasses())},x.prototype.ngOnDestroy=function(){this.subscriptions&&this.subscriptions.unsubscribe()},x.prototype.changePage=function(e){this.pageChange.emit(e)},x.prototype.onInnerFocusIn=function(e,t){var n=this;this.zone.onStable.pipe(G.take(1)).subscribe(function(){"start"!==t||e.relatedTarget===n.element.nativeElement?n.focusFirstElement():n.focusLastElement()})},x.prototype.clearResponsiveClasses=function(){var e=this.element.nativeElement;this.renderer.removeClass(e,"k-pager-sm"),this.renderer.removeClass(e,"k-pager-md")},x.prototype.shouldTriggerPageChange=function(e,t){return this.navigationService.enabled&&e===this.element.nativeElement&&t},x.prototype.focusFirstElement=function(){var e=je(this.element.nativeElement,!0);e&&e.focus()},x.prototype.focusLastElement=function(){var e=Ae(this.element.nativeElement,!0);e&&e.focus()},x.prototype.updateCellContext=function(){this.cellContext&&(this.cellContext.focusGroup=this.focusGroup)};var li=x;function x(e,t,n,o,r,i,a,s,l){var c=this;this.pagerContext=e,this.navigationService=t,this.element=n,this.renderer=o,this.zone=r,this.localizationService=i,this.cellContext=a,this.focusRoot=s,this.focusGroup=l,this.total=0,this.skip=1,this.pageChange=new P.EventEmitter,this.pagerWrapClass=!0,this.gridPagerClass=!0,this.settings=Vr({}),this.subscriptions=new b.Subscription,this._templateContext={},this._isFocused=!1,this.resizeHandler=function(){var e,t=c.element.nativeElement;!c.template&&t&&((e=t.offsetWidth)<600?(c.renderer.removeClass(t,"k-pager-md"),c.renderer.addClass(t,"k-pager-sm")):600<=e&&e<768?(c.renderer.addClass(t,"k-pager-md"),c.renderer.removeClass(t,"k-pager-sm")):c.clearResponsiveClasses())}}li.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:li,deps:[{token:Ze},{token:m},{token:i.ElementRef},{token:i.Renderer2},{token:i.NgZone},{token:a.LocalizationService},{token:wt,optional:!0},{token:dt},{token:zr}],target:i.ɵɵFactoryTarget.Component}),li.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:li,selector:"kendo-pager",inputs:{total:"total",skip:"skip",pageSize:"pageSize",options:"options",template:"template"},outputs:{pageChange:"pageChange"},host:{listeners:{focusin:"onFocusIn($event)",focusout:"onFocusOut()","keydown.escape":"onEscape()","keydown.enter":"onEnter($event)","keydown.arrowleft":"navigateToPreviousPage($event)","keydown.pageup":"navigateToPreviousPage($event)","keydown.arrowright":"navigateToNextPage($event)","keydown.pagedown":"navigateToNextPage($event)","keydown.home":"navigateToFirstPage($event)","keydown.end":"navigateToLastPage($event)"},properties:{"class.k-pager-wrap":"this.pagerWrapClass","class.k-grid-pager":"this.gridPagerClass","class.k-state-focused":"this.isFocused","attr.aria-label":"this.pagerAriaLabel"}},providers:[{provide:ut,useValue:!0},{provide:dt,deps:[ut],useClass:dt},{provide:zr,deps:[dt],useClass:zr}],usesOnChanges:!0,ngImport:i,template:'\n <div\n *ngIf="navigationService.enabled"\n class="k-sr-only"\n [tabindex]="focusTrapTabIndex"\n [attr.aria-hidden]="true"\n (focusin)="onInnerFocusIn($event, \'start\')">\n </div>\n <ng-container\n *ngIf="template?.templateRef"\n [ngTemplateOutlet]="template.templateRef"\n [ngTemplateOutletContext]="templateContext">\n </ng-container>\n <ng-container *ngIf="!template?.templateRef">\n <kendo-pager-prev-buttons *ngIf="settings.previousNext"></kendo-pager-prev-buttons>\n <kendo-pager-numeric-buttons\n *ngIf="settings.type === \'numeric\'"\n [buttonCount]="settings.buttonCount">\n </kendo-pager-numeric-buttons>\n <kendo-pager-input *ngIf="settings.type === \'input\'"></kendo-pager-input>\n <kendo-pager-next-buttons *ngIf="settings.previousNext"></kendo-pager-next-buttons>\n <kendo-pager-info *ngIf=\'settings.info\'></kendo-pager-info>\n <kendo-pager-page-sizes\n *ngIf="settings.pageSizes"\n [pageSizes]="$any(settings.pageSizes)"\n #pageSizes\n ></kendo-pager-page-sizes>\n </ng-container>\n <div\n *ngIf="navigationService.enabled"\n class="k-sr-only"\n [tabindex]="focusTrapTabIndex"\n [attr.aria-hidden]="true"\n (focusin)="onInnerFocusIn($event, \'end\')">\n </div>\n <kendo-resize-sensor *ngIf="settings.responsive" (resize)="resizeHandler()"></kendo-resize-sensor>\n ',isInline:!0,components:[{type:Br,selector:"kendo-pager-prev-buttons"},{type:Kr,selector:"kendo-pager-numeric-buttons",inputs:["buttonCount"]},{type:Ur,selector:"kendo-pager-input"},{type:Yr,selector:"kendo-pager-next-buttons"},{type:ti,selector:"kendo-pager-info"},{type:ai,selector:"kendo-pager-page-sizes",inputs:["pageSizes"]},{type:X.ResizeSensorComponent,selector:"kendo-resize-sensor",inputs:["rateLimit"],outputs:["resize"]}],directives:[{type:s.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{type:s.NgTemplateOutlet,selector:"[ngTemplateOutlet]",inputs:["ngTemplateOutletContext","ngTemplateOutlet"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:li,decorators:[{type:P.Component,args:[{selector:"kendo-pager",providers:[{provide:ut,useValue:!0},{provide:dt,deps:[ut],useClass:dt},{provide:zr,deps:[dt],useClass:zr}],template:'\n <div\n *ngIf="navigationService.enabled"\n class="k-sr-only"\n [tabindex]="focusTrapTabIndex"\n [attr.aria-hidden]="true"\n (focusin)="onInnerFocusIn($event, \'start\')">\n </div>\n <ng-container\n *ngIf="template?.templateRef"\n [ngTemplateOutlet]="template.templateRef"\n [ngTemplateOutletContext]="templateContext">\n </ng-container>\n <ng-container *ngIf="!template?.templateRef">\n <kendo-pager-prev-buttons *ngIf="settings.previousNext"></kendo-pager-prev-buttons>\n <kendo-pager-numeric-buttons\n *ngIf="settings.type === \'numeric\'"\n [buttonCount]="settings.buttonCount">\n </kendo-pager-numeric-buttons>\n <kendo-pager-input *ngIf="settings.type === \'input\'"></kendo-pager-input>\n <kendo-pager-next-buttons *ngIf="settings.previousNext"></kendo-pager-next-buttons>\n <kendo-pager-info *ngIf=\'settings.info\'></kendo-pager-info>\n <kendo-pager-page-sizes\n *ngIf="settings.pageSizes"\n [pageSizes]="$any(settings.pageSizes)"\n #pageSizes\n ></kendo-pager-page-sizes>\n </ng-container>\n <div\n *ngIf="navigationService.enabled"\n class="k-sr-only"\n [tabindex]="focusTrapTabIndex"\n [attr.aria-hidden]="true"\n (focusin)="onInnerFocusIn($event, \'end\')">\n </div>\n <kendo-resize-sensor *ngIf="settings.responsive" (resize)="resizeHandler()"></kendo-resize-sensor>\n '}]}],ctorParameters:function(){return[{type:Ze},{type:m},{type:i.ElementRef},{type:i.Renderer2},{type:i.NgZone},{type:a.LocalizationService},{type:void 0,decorators:[{type:P.Optional},{type:P.Inject,args:[wt]}]},{type:dt},{type:zr}]},propDecorators:{total:[{type:P.Input}],skip:[{type:P.Input}],pageSize:[{type:P.Input}],options:[{type:P.Input}],template:[{type:P.Input}],pageChange:[{type:P.Output}],pagerWrapClass:[{type:P.HostBinding,args:["class.k-pager-wrap"]}],gridPagerClass:[{type:P.HostBinding,args:["class.k-grid-pager"]}],isFocused:[{type:P.HostBinding,args:["class.k-state-focused"]}],pagerAriaLabel:[{type:P.HostBinding,args:["attr.aria-label"]}],onFocusIn:[{type:P.HostListener,args:["focusin",["$event"]]}],onFocusOut:[{type:P.HostListener,args:["focusout"]}],onEscape:[{type:P.HostListener,args:["keydown.escape"]}],onEnter:[{type:P.HostListener,args:["keydown.enter",["$event"]]}],navigateToPreviousPage:[{type:P.HostListener,args:["keydown.arrowleft",["$event"]]},{type:P.HostListener,args:["keydown.pageup",["$event"]]}],navigateToNextPage:[{type:P.HostListener,args:["keydown.arrowright",["$event"]]},{type:P.HostListener,args:["keydown.pagedown",["$event"]]}],navigateToFirstPage:[{type:P.HostListener,args:["keydown.home",["$event"]]}],navigateToLastPage:[{type:P.HostListener,args:["keydown.end",["$event"]]}]}});ci.prototype.ngOnInit=function(){var t=this,e=(this.service.add(this),this.service.changes.pipe(G.filter(function(e){return e.target===t})));this.subscriptions.add(e.pipe(G.filter(function(e){return"leave"===e.type})).subscribe(function(e){t.leave.next(t.eventArgs(e))})),this.subscriptions.add(e.pipe(G.filter(function(e){return"enter"===e.type})).subscribe(function(e){t.enter.next(t.eventArgs(e))})),this.subscriptions.add(e.pipe(G.filter(function(e){return"drop"===e.type})).subscribe(function(e){t.drop.next(t.eventArgs(e))}))},ci.prototype.ngOnDestroy=function(){this.subscriptions&&this.subscriptions.unsubscribe()},ci.prototype.eventArgs=function(e){return{target:this,mouseEvent:e.mouseEvent,draggable:e.draggable}};I=ci;function ci(e,t){this.element=e,this.service=t,this.context={},this.enter=new P.EventEmitter,this.leave=new P.EventEmitter,this.drop=new P.EventEmitter,this.subscriptions=new b.Subscription}I.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:I,deps:[{token:i.ElementRef},{token:lr}],target:i.ɵɵFactoryTarget.Directive}),I.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:I,selector:"[kendoDropTarget]",inputs:{context:"context"},outputs:{enter:"enter",leave:"leave",drop:"drop"},ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:I,decorators:[{type:P.Directive,args:[{selector:"[kendoDropTarget]"}]}],ctorParameters:function(){return[{type:i.ElementRef},{type:lr}]},propDecorators:{context:[{type:P.Input}],enter:[{type:P.Output}],leave:[{type:P.Output}],drop:[{type:P.Output}]}});Object.defineProperty(pi.prototype,"groupIndicatorClass",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(pi.prototype,"dir",{get:function(){return this.group.dir||"asc"},enumerable:!1,configurable:!0}),pi.prototype.toggleDirection=function(){return this.directionChange.emit({dir:"asc"===this.dir?"desc":"asc",field:this.group.field}),!1},pi.prototype.removeDescriptor=function(){return this.remove.emit({dir:this.group.dir,field:this.group.field}),!1};A=pi;function pi(){this.directionChange=new P.EventEmitter,this.remove=new P.EventEmitter}A.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:A,deps:[],target:i.ɵɵFactoryTarget.Component}),A.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:A,selector:"[kendoGroupIndicator]",inputs:{group:"group",groupTitle:"groupTitle"},outputs:{directionChange:"directionChange",remove:"remove"},host:{properties:{"class.k-group-indicator":"this.groupIndicatorClass"}},ngImport:i,template:'\n <a href="#" class="k-link" tabindex="-1" (click)="toggleDirection()">\n <span class="k-icon"\n [class.k-i-sort-asc-sm]="dir === \'asc\'"\n [class.k-i-sort-desc-sm]="dir === \'desc\'"></span>\n {{groupTitle}}</a>\n <a class="k-button k-button-flat-base k-button-flat k-icon-button k-button-md k-rounded-md k-button-rectangle k-icon-button" tabindex="-1" (click)="removeDescriptor()">\n <span class="k-button-icon k-icon k-i-group-delete"></span>\n </a>\n ',isInline:!0,changeDetection:i.ChangeDetectionStrategy.OnPush}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:A,decorators:[{type:P.Component,args:[{changeDetection:P.ChangeDetectionStrategy.OnPush,selector:"[kendoGroupIndicator]",template:'\n <a href="#" class="k-link" tabindex="-1" (click)="toggleDirection()">\n <span class="k-icon"\n [class.k-i-sort-asc-sm]="dir === \'asc\'"\n [class.k-i-sort-desc-sm]="dir === \'desc\'"></span>\n {{groupTitle}}</a>\n <a class="k-button k-button-flat-base k-button-flat k-icon-button k-button-md k-rounded-md k-button-rectangle k-icon-button" tabindex="-1" (click)="removeDescriptor()">\n <span class="k-button-icon k-icon k-i-group-delete"></span>\n </a>\n '}]}],propDecorators:{directionChange:[{type:P.Output}],remove:[{type:P.Output}],group:[{type:P.Input}],groupTitle:[{type:P.Input}],groupIndicatorClass:[{type:P.HostBinding,args:["class.k-group-indicator"]}]}});function ui(t){return function(e){return new RegExp("(^| )"+t+"( |$)").test(e.className)}}function di(e){var t=e.clientX,e=e.clientY;return document.elementFromPoint(t,e)}var gi=me(de(ge(ui("k-i-group-delete"),ui("k-icon-button"))),de(ge(ui("k-i-sort-asc-sm"),ui("k-i-sort-desc-sm"))),de(_e),de(ze("label"))),w=(Object.defineProperty(mi.prototype,"enableDrag",{set:function(e){this.enabled=e,this.updateTouchAction()},enumerable:!1,configurable:!0}),Object.defineProperty(mi.prototype,"hostClass",{get:function(){return this.enabled},enumerable:!1,configurable:!0}),mi.prototype.ngOnInit=function(){var n=this;this.subscriptions.add(this.zone.runOutsideAngular(function(){return n.draggable.kendoPress.pipe(G.filter(function(e){return n.enabled}),G.filter(function(e){e=e.originalEvent.target;return e===n.element.nativeElement||gi(e)}),G.tap(function(e){var t=e.originalEvent;e.isTouch||t.preventDefault(),n.nav.navigateTo(t.target)}),G.switchMap((t=n.draggable.kendoRelease,function(e){return b.of(e).pipe(G.delay(150),G.takeUntil(t))})),G.tap(function(e){n.hint.create(n.context.hint),n.cue.create()}),G.switchMap(function(t){return n.draggable.kendoDrag.pipe(G.tap(function(e){e.isTouch&&e.originalEvent.preventDefault()}),G.tap(n.hint.attach()),G.tap(n.cue.attach()),G.takeUntil(n.draggable.kendoRelease),G.map(function(e){return{move:e,down:t}}))}),G.tap(n.performDrag.bind(n)),G.switchMapTo(n.draggable.kendoRelease)).subscribe(n.drop.bind(n));var t}))},mi.prototype.ngOnDestroy=function(){this.subscriptions&&this.subscriptions.unsubscribe()},mi.prototype.drop=function(e){this.hint.remove(),this.cue.remove(),this.service.notifyDrop(this,e)},mi.prototype.performDrag=function(e){var e=e.move,t=(this.hint.move(e),this.elementUnderCursor(e));t&&this.service.notifyDrag(this,t,e),this.drag.emit({draggable:this,mouseEvent:e})},mi.prototype.elementUnderCursor=function(e){this.hint.hide();var t=di(e);return t&&/k-grouping-dropclue/.test(t.className)&&(t=function(e,t){e.style.display="none";t=t();return e.style.display="block",t}(t,di.bind(this,e))),this.hint.show(),t},mi.prototype.updateTouchAction=function(){this.element&&(this.enabled?this.renderer.addClass(this.element.nativeElement,"k-touch-action-none"):this.renderer.removeClass(this.element.nativeElement,"k-touch-action-none"))},mi);function mi(e,t,n,o,r,i,a,s){this.draggable=e,this.element=t,this.zone=n,this.service=o,this.hint=r,this.cue=i,this.nav=a,this.renderer=s,this.context={},this.drag=new P.EventEmitter,this.subscriptions=new b.Subscription}w.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:w,deps:[{token:X.DraggableDirective,host:!0},{token:i.ElementRef},{token:i.NgZone},{token:lr},{token:dr},{token:mr},{token:m},{token:i.Renderer2}],target:i.ɵɵFactoryTarget.Directive}),w.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:w,selector:"[kendoDraggableColumn]",inputs:{context:"context",enableDrag:"enableDrag"},outputs:{drag:"drag"},host:{properties:{"class.k-grid-draggable-header":"this.hostClass"}},ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:w,decorators:[{type:P.Directive,args:[{selector:"[kendoDraggableColumn]"}]}],ctorParameters:function(){return[{type:X.DraggableDirective,decorators:[{type:P.Host}]},{type:i.ElementRef},{type:i.NgZone},{type:lr},{type:dr},{type:mr},{type:m},{type:i.Renderer2}]},propDecorators:{context:[{type:P.Input}],enableDrag:[{type:P.Input}],drag:[{type:P.Output}],hostClass:[{type:P.HostBinding,args:["class.k-grid-draggable-header"]}]}});function hi(e){return e=e.field,ye(e)}function fi(e){var t=e.groups,n=e.field;return t.some(function(e){return e.field===n})}var yi=ge(function(e){var t=e.target,e=e.field;return t.field===e},me(function(e){return e.target.lastTarget},function(e){var t=e.groups,e=e.field;return t.map(function(e){return e.field}).indexOf(e)===t.length-1})),vi=(Object.defineProperty(bi.prototype,"groupHeaderClass",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(bi.prototype,"text",{get:function(){return this.emptyText||this.localization.get("groupPanelEmpty")},set:function(e){this.emptyText=e},enumerable:!1,configurable:!0}),bi.prototype.ngAfterViewInit=function(){this.subscription.add(se(this.dropTargets).subscribe(this.attachTargets.bind(this)))},bi.prototype.ngOnInit=function(){var e=this;this.subscription.add(this.localization.changes.subscribe(function(){return e.cd.markForCheck()}))},bi.prototype.ngDoCheck=function(){var n=this,e=this.groups.map(function(e){return n.groupInfoService.groupTitle(e)});e.length===this.groupTitles.length&&!e.some(function(e,t){return e!==n.groupTitles[t]})||(this.groupTitles=e,this.cd.markForCheck())},bi.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe(),this.targetSubscription&&this.targetSubscription.unsubscribe()},bi.prototype.directionChange=function(t){var e=this.groups.findIndex(function(e){return e.field===t.field}),e=g(g(g([],k(this.groups.slice(0,e))),[t]),k(this.groups.slice(e+1)));this.change.emit(e)},bi.prototype.insert=function(t,e){var n=this.groups.filter(function(e){return e.field!==t});!n.length&&0!==this.groups.length||this.change.emit(g(g(g([],k(n.slice(0,e))),[{field:t}]),k(n.slice(e))))},bi.prototype.remove=function(t){this.change.emit(this.groups.filter(function(e){return e.field!==t.field}))},bi.prototype.canDrop=function(e,t){var n,o;return!("groupIndicator"===e.type?yi:(n=this.groupInfoService,ge(hi,fi,(o=n,function(e){e=e.field;return!o.isGroupable(e)}))))({field:e.field,groups:this.groups,target:t})},bi.prototype.attachTargets=function(){var n=this,e=(this.targetSubscription&&this.targetSubscription.unsubscribe(),this.targetSubscription=new b.Subscription,this.dropTargets.reduce(function(e,t){return b.merge(e,t.enter)},b.from([]))),t=this.dropTargets.reduce(function(e,t){return b.merge(e,t.leave)},b.from([])),o=this.dropTargets.reduce(function(e,t){return b.merge(e,t.drop)},b.from([]));this.targetSubscription.add(e.pipe(G.tap(function(e){return n.hint.removeLock()}),G.filter(function(e){var t=e.draggable,e=e.target;return n.canDrop(t.context,e.context)}),G.tap(this.enter.bind(this)),G.switchMapTo(o.pipe(G.takeUntil(t.pipe(G.tap(this.leave.bind(this))))))).subscribe(this.drop.bind(this)))},bi.prototype.enter=function(e){var t=e.draggable,e=e.target,t=(this.hint.enable(),e.context.lastTarget||rr(t.element.nativeElement,e.element.nativeElement));this.localization.rtl&&(t=!t),this.cue.position(ir(e.element.nativeElement,t))},bi.prototype.leave=function(){this.hint.disable(),this.cue.hide()},bi.prototype.drop=function(e){var t=e.target,e=e.draggable.context.field,t=this.dropTargets.toArray().indexOf(t);this.insert(e,t)},bi);function bi(e,t,n,o,r){this.hint=e,this.cue=t,this.groupInfoService=n,this.localization=o,this.cd=r,this.change=new P.EventEmitter,this.groups=[],this.dropTargets=new P.QueryList,this.groupTitles=[],this.subscription=new b.Subscription}vi.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:vi,deps:[{token:dr},{token:mr},{token:vo},{token:a.LocalizationService},{token:i.ChangeDetectorRef}],target:i.ɵɵFactoryTarget.Component}),vi.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:vi,selector:"kendo-grid-group-panel",inputs:{text:"text",groups:"groups"},outputs:{change:"change"},host:{properties:{"class.k-grouping-header":"this.groupHeaderClass","class.k-grouping-header-flex":"this.groupHeaderClass"}},viewQueries:[{propertyName:"dropTargets",predicate:I,descendants:!0}],ngImport:i,template:'\n <ng-container *ngIf="groups.length === 0">\n <div\n class="k-indicator-container"\n [context]="{\n lastTarget: true\n }"\n kendoDropTarget>\n {{ text }}\n </div>\n </ng-container>\n <div *ngFor="let group of groups; let index = index;"\n class="k-indicator-container"\n [context]="{\n field: group.field\n }"\n kendoDropTarget>\n <div\n kendoDraggableColumn\n [enableDrag]="true"\n [context]="{\n field: group.field,\n type: \'groupIndicator\',\n hint: groupTitles[index]\n }"\n kendoGroupIndicator\n kendoDraggable\n [group]="group"\n [groupTitle]="groupTitles[index]"\n (directionChange)="directionChange($event)"\n (remove)="remove($event)">\n </div>\n </div>\n <div class="k-indicator-container"\n *ngIf="groups.length !== 0"\n [context]="{\n lastTarget: true\n }"\n kendoDropTarget> </div>\n ',isInline:!0,components:[{type:A,selector:"[kendoGroupIndicator]",inputs:["group","groupTitle"],outputs:["directionChange","remove"]}],directives:[{type:s.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{type:I,selector:"[kendoDropTarget]",inputs:["context"],outputs:["enter","leave","drop"]},{type:s.NgForOf,selector:"[ngFor][ngForOf]",inputs:["ngForOf","ngForTrackBy","ngForTemplate"]},{type:w,selector:"[kendoDraggableColumn]",inputs:["context","enableDrag"],outputs:["drag"]},{type:X.DraggableDirective,selector:"[kendoDraggable]",inputs:["enableDrag"],outputs:["kendoPress","kendoDrag","kendoRelease"]}],changeDetection:i.ChangeDetectionStrategy.OnPush}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:vi,decorators:[{type:P.Component,args:[{changeDetection:P.ChangeDetectionStrategy.OnPush,selector:"kendo-grid-group-panel",template:'\n <ng-container *ngIf="groups.length === 0">\n <div\n class="k-indicator-container"\n [context]="{\n lastTarget: true\n }"\n kendoDropTarget>\n {{ text }}\n </div>\n </ng-container>\n <div *ngFor="let group of groups; let index = index;"\n class="k-indicator-container"\n [context]="{\n field: group.field\n }"\n kendoDropTarget>\n <div\n kendoDraggableColumn\n [enableDrag]="true"\n [context]="{\n field: group.field,\n type: \'groupIndicator\',\n hint: groupTitles[index]\n }"\n kendoGroupIndicator\n kendoDraggable\n [group]="group"\n [groupTitle]="groupTitles[index]"\n (directionChange)="directionChange($event)"\n (remove)="remove($event)">\n </div>\n </div>\n <div class="k-indicator-container"\n *ngIf="groups.length !== 0"\n [context]="{\n lastTarget: true\n }"\n kendoDropTarget> </div>\n '}]}],ctorParameters:function(){return[{type:dr},{type:mr},{type:vo},{type:a.LocalizationService},{type:i.ChangeDetectorRef}]},propDecorators:{change:[{type:P.Output}],groupHeaderClass:[{type:P.HostBinding,args:["class.k-grouping-header"]},{type:P.HostBinding,args:["class.k-grouping-header-flex"]}],text:[{type:P.Input}],groups:[{type:P.Input}],dropTargets:[{type:P.ViewChildren,args:[I]}]}});Object.defineProperty(Ci.prototype,"columnsToRender",{get:function(){return Cn(this.columns)},enumerable:!1,configurable:!0}),Ci.prototype.trackBy=function(e,t){return e};var ki=Ci;function Ci(){this.columns=[],this.groups=[]}ki.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ki,deps:[],target:i.ɵɵFactoryTarget.Component}),ki.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:ki,selector:"[kendoGridColGroup]",inputs:{columns:"columns",groups:"groups",detailTemplate:"detailTemplate"},ngImport:i,template:'\n <ng-container>\n <col [class.k-group-col]="true" *ngFor="let g of groups" />\n <col [class.k-hierarchy-col]="true" *ngIf="detailTemplate?.templateRef"/>\n <col *ngFor="let column of columnsToRender; trackBy: trackBy;" [style.width.px]="column.width"/>\n </ng-container>\n ',isInline:!0,directives:[{type:s.NgForOf,selector:"[ngFor][ngForOf]",inputs:["ngForOf","ngForTrackBy","ngForTemplate"]},{type:s.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ki,decorators:[{type:P.Component,args:[{selector:"[kendoGridColGroup]",template:'\n <ng-container>\n <col [class.k-group-col]="true" *ngFor="let g of groups" />\n <col [class.k-hierarchy-col]="true" *ngIf="detailTemplate?.templateRef"/>\n <col *ngFor="let column of columnsToRender; trackBy: trackBy;" [style.width.px]="column.width"/>\n </ng-container>\n '}]}],propDecorators:{columns:[{type:P.Input}],groups:[{type:P.Input}],detailTemplate:[{type:P.Input}]}});function Ii(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Object.assign.apply(Object,g([{},Oi],k(e)))}function xi(e,t){return!1!==e.filter&&t.field&&t.filterable}function wi(e,t){return!1!==e.sort&&t.field&&t.sortable}function Si(e,t){return e.lock&&t.lockable&&!(t.parent&&!t.parent.isSpanColumn)}function Di(e){return!1!==e.columnChooser}function Ti(e){return e.map(function(e){return e.toJSON()})}var Fi,Oi={allowUnsort:!0,mode:"single",showIndexes:!0,initialDirection:"asc",multiSortKey:"none"},Ei=(Fi={filterEqOperator:"eq",filterNotEqOperator:"neq",filterGteOperator:"gte",filterGtOperator:"gt",filterLteOperator:"lte",filterLtOperator:"lt",filterIsNullOperator:"isnull",filterIsNotNullOperator:"isnotnull",filterIsEmptyOperator:"isempty",filterIsNotEmptyOperator:"isnotempty",filterContainsOperator:"contains",filterNotContainsOperator:"doesnotcontain",filterStartsWithOperator:"startswith",filterEndsWithOperator:"endswith",filterAfterOrEqualOperator:"after-eq",filterAfterOperator:"after",filterBeforeOrEqualOperator:"before-eq",filterBeforeOperator:"before"},function(n){return Object.keys(Fi).reduce(function(e,t){return e[Fi[t]]=n.get(t),e},{})}),S=(Object.defineProperty(Ri.prototype,"text",{get:function(){return this._text},set:function(e){this._text=ye(e)?this.messages[this.operator]:e},enumerable:!1,configurable:!0}),Ri.prototype.toJSON=function(){return{text:this.text,value:this.operator}},Ri.prototype.refreshText=function(){var e=this._text===this.messages[this.operator];this.messages=Ei(this.localization),e&&(this._text=this.messages[this.operator])},Ri);function Ri(e,t){this.operator=e,this.localization=t,this.messages=Ei(this.localization),this._text=this.messages[this.operator],this.localization.changes.subscribe(this.refreshText.bind(this))}S.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:S,deps:[{token:"filterOperator"},{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),S.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:S,selector:"kendo-grid-filter-operator-base",inputs:{text:"text"},ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:S,decorators:[{type:P.Component,args:[{selector:"kendo-grid-filter-operator-base",template:""}]}],ctorParameters:function(){return[{type:void 0,decorators:[{type:P.Inject,args:["filterOperator"]}]},{type:a.LocalizationService}]},propDecorators:{text:[{type:P.Input}]}});function Li(e,t,n,o){return V(t)&&V(t.filters)&&t.filters.length>e?t.filters[e]:(n={field:n,operator:o},(t||{filters:[],logic:"and"}).filters[e]=n)}function Pi(e){return[{text:e.get("filterAndLogic"),value:"and"},{text:e.get("filterOrLogic"),value:"or"}]}function Gi(e,t){return zi(e||{}).filter(function(e){return e.field===t})}function Vi(e,t){return Ni(e,t),e}function Mi(n){return function(t){return Object.keys(n).map(function(e){return{text:t.get(e),value:n[e]}})}}var zi=function(e){return V(e.filters)?e.filters.reduce(function(e,t){return e.concat(j.isCompositeFilterDescriptor(t)?zi(t):[t])},[]):[]},Ni=function(e,t){V(e)&&V(e.filters)&&(e.filters=e.filters.filter(function(e){return j.isCompositeFilterDescriptor(e)?(Ni(e,t),e.filters.length):e.field!==t}))},ji=(Object.defineProperty(Ai.prototype,"hostClasses",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(Ai.prototype,"operators",{get:function(){var e;return null!=(e=this._operators)&&e.length?this._operators:this.defaultOperators},set:function(e){this._operators=e},enumerable:!1,configurable:!0}),Ai.prototype.ngAfterContentInit=function(){var t=this;this.operationListSubscription=se(this.operatorList).pipe(G.map(function(e){return e.toArray()}),G.map(Ti)).subscribe(function(e){t.operators=e})},Ai.prototype.ngOnDestroy=function(){this.operationListSubscription&&this.operationListSubscription.unsubscribe()},Ai.prototype.filterByField=function(e){return t=this.filter,k(Gi(t,e),1)[0];var t},Ai.prototype.filtersByField=function(e){return Gi(this.filter,e)},Ai.prototype.removeFilter=function(e){return Vi(this.filter,e)},Ai.prototype.updateFilter=function(t){var e=this.filter||{filters:[],logic:"and"},n=k(zi(e).filter(function(e){return e.field===t.field}),1)[0];return V(n)?Object.assign(n,t):e.filters.push(t),e},Ai.prototype.applyFilter=function(e){this.filterService.filter(e)},Ai);function Ai(e){this.filterService=e,this.operatorList=new P.QueryList}ji.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ji,deps:[{token:v}],target:i.ɵɵFactoryTarget.Component}),ji.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:ji,selector:"kendo-grid-base-filter-cell",inputs:{operators:"operators"},host:{properties:{"class.k-filtercell":"this.hostClasses"}},queries:[{propertyName:"operatorList",predicate:S}],ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ji,decorators:[{type:P.Component,args:[{selector:"kendo-grid-base-filter-cell",template:""}]}],ctorParameters:function(){return[{type:v}]},propDecorators:{hostClasses:[{type:P.HostBinding,args:["class.k-filtercell"]}],operatorList:[{type:P.ContentChildren,args:[S]}],operators:[{type:P.Input}]}});function Bi(e){if(e)return j.isCompositeFilterDescriptor(e)?{filters:Bi(e.filters),logic:e.logic}:Array.isArray(e)?e.map(Bi):$i(e)}var Hi=function(e,t){return e.field!==t.field||e.operator!==t.operator||e.value!==t.value},$i=function(t){var n,o={};return Object.assign(o,t),t.constructor!==Object&&(n=t.constructor.prototype,Object.getOwnPropertyNames(n).forEach(function(e){"constructor"!==e&&n.hasOwnProperty(e)&&(o[e]=t[e])})),o},Ki=function(e,t){return!(!V(e)||V(t))||(!(V(e)||!V(t))||V(e)&&V(t)&&function(e,t){if(e.length!==t.length)return!0;for(var n=0,o=e.length;n<o;n++){var r=e[n],i=t[n];if(j.isCompositeFilterDescriptor(r)){if(Ki(r,i[n]))return!0}else if(Hi(r,i))return!0}return!1}(e.filters,t.filters))},qi=(_i.prototype.ngOnInit=function(){this.component=this.host.createComponent(this.resolver.resolveComponentFactory(this.componentType())),this.initComponent({column:this.column,filter:this.filter})},_i.prototype.ngOnDestroy=function(){this.component&&(this.component.destroy(),this.component=null)},_i.prototype.ngOnChanges=function(e){p.anyChanged(["column","filter"],e)&&this.initComponent({column:this.column,filter:this.filter})},_i.prototype.initComponent=function(e){var t=e.column,e=e.filter,n=this.component.instance;n.column=t,n.filter=e},_i);function _i(e,t){this.host=e,this.resolver=t}qi.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:qi,deps:[{token:i.ViewContainerRef},{token:i.ComponentFactoryResolver}],target:i.ɵɵFactoryTarget.Directive}),qi.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:qi,selector:"[kendoGridFilterHostBase]",inputs:{column:"column",filter:"filter"},usesOnChanges:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:qi,decorators:[{type:P.Directive,args:[{selector:"[kendoGridFilterHostBase]"}]}],ctorParameters:function(){return[{type:i.ViewContainerRef},{type:i.ComponentFactoryResolver}]},propDecorators:{column:[{type:P.Input}],filter:[{type:P.Input}]}});var Wi,Zi=Mi({filterEqOperator:"eq",filterNotEqOperator:"neq",filterContainsOperator:"contains",filterNotContainsOperator:"doesnotcontain",filterStartsWithOperator:"startswith",filterEndsWithOperator:"endswith",filterIsNullOperator:"isnull",filterIsNotNullOperator:"isnotnull",filterIsEmptyOperator:"isempty",filterIsNotEmptyOperator:"isnotempty"}),Ui=(c(Qi,Wi=ji),Object.defineProperty(Qi.prototype,"currentFilter",{get:function(){return this.filterByField((this.column||{}).field)},enumerable:!1,configurable:!0}),Object.defineProperty(Qi.prototype,"currentOperator",{get:function(){return(this.currentFilter||this).operator},enumerable:!1,configurable:!0}),Qi.prototype.ngOnInit=function(){this.subscription=this.localization.changes.subscribe(this.localizationChange.bind(this))},Qi.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe(),Wi.prototype.ngOnDestroy.call(this)},Qi.prototype.localizationChange=function(){this.defaultOperators=Zi(this.localization),this.operatorList.length&&(this.operators=Ti(this.operatorList.toArray()))},Qi);function Qi(e,t){e=Wi.call(this,e)||this;return e.localization=t,e.operator="contains",e}Ui.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ui,deps:[{token:v},{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),Ui.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Ui,selector:"kendo-grid-string-filter-base",inputs:{column:"column",filter:"filter",operator:"operator"},usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ui,decorators:[{type:P.Component,args:[{selector:"kendo-grid-string-filter-base",template:""}]}],ctorParameters:function(){return[{type:v},{type:a.LocalizationService}]},propDecorators:{column:[{type:P.Input}],filter:[{type:P.Input}],operator:[{type:P.Input}]}});Object.defineProperty(Yi.prototype,"value",{set:function(e){this.accessor.writeValue(e)},enumerable:!1,configurable:!0}),Object.defineProperty(Yi.prototype,"disabled",{set:function(e){this.accessor.setDisabledState(e)},enumerable:!1,configurable:!0}),Yi.prototype.ngAfterViewInit=function(){var t=this;this.addAriaAttributes(),this.accessor.registerOnChange(function(e){return 0<t.filterDelay?t.changeRequests.next(e):t.change.emit(e)}),this.subscribeChanges()},Yi.prototype.ngOnChanges=function(e){p.isChanged("filterDelay",e)&&(this.unsubscribeChanges(),this.subscribeChanges())},Yi.prototype.ngOnDestroy=function(){this.unsubscribeChanges(),this.unsubscribeEvents()},Yi.prototype.subscribeChanges=function(){var t=this;this.changeRequestsSubscription=this.changeRequests.pipe(G.debounceTime(this.filterDelay),G.filter(function(){return!t.composing})).subscribe(function(e){return t.change.emit(e)})},Yi.prototype.unsubscribeChanges=function(){this.changeRequestsSubscription&&this.changeRequestsSubscription.unsubscribe()},Yi.prototype.addAriaAttributes=function(){var e,t=this.columnLabel;this.kendoInput&&this.kendoInput.focusableId&&p.isDocumentAvailable()?(e=this.element.nativeElement.querySelector("#"+this.kendoInput.focusableId)||this.element.nativeElement,this.renderer.setAttribute(e,"aria-label",t)):this.renderer.setAttribute(this.element.nativeElement,"aria-label",t)};var Xi=Yi;function Yi(e,t,n,o){var r=this;this.element=n,this.renderer=o,this.change=new P.EventEmitter,this.composing=!1,this.filterDelay=500,this.changeRequests=new b.Subject,this.accessor=e[0],t.runOutsideAngular(function(){var e=o.listen(n.nativeElement,"compositionstart",function(){return r.composing=!0}),t=o.listen(n.nativeElement,"compositionend",function(){return r.composing=!1});r.unsubscribeEvents=function(){e(),t()}})}Xi.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Xi,deps:[{token:z.NG_VALUE_ACCESSOR,self:!0},{token:i.NgZone},{token:i.ElementRef},{token:i.Renderer2}],target:i.ɵɵFactoryTarget.Directive}),Xi.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:Xi,selector:"[kendoFilterInput]",inputs:{filterDelay:"filterDelay",columnLabel:"columnLabel",value:"value"},queries:[{propertyName:"kendoInput",first:!0,predicate:p.KendoInput,descendants:!0,static:!0}],usesOnChanges:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Xi,decorators:[{type:P.Directive,args:[{selector:"[kendoFilterInput]"}]}],ctorParameters:function(){return[{type:void 0,decorators:[{type:P.Self},{type:P.Inject,args:[z.NG_VALUE_ACCESSOR]}]},{type:i.NgZone},{type:i.ElementRef},{type:i.Renderer2}]},propDecorators:{kendoInput:[{type:P.ContentChild,args:[p.KendoInput,{static:!0}]}],filterDelay:[{type:P.Input}],columnLabel:[{type:P.Input}],value:[{type:P.Input}]}});function Ji(e){return ta.has(e)}var ea,ta=new Set(["isnull","isnotnull","isempty","isnotempty"]),na=(c(oa,ea=ji),Object.defineProperty(oa.prototype,"currentFilter",{get:function(){return this.filterByField(this.column.field)},enumerable:!1,configurable:!0}),Object.defineProperty(oa.prototype,"currentOperator",{get:function(){var e=this.currentFilter;return this._operator||(this._operator=e?e.operator:this.defaultOperator),this._operator},set:function(e){this._operator=e;var t=Ji(e);(this.filterInputDisabled=t)?this.applyNoValueFilter(e):!ie(e)&&V(this.currentFilter)&&this.onChange(this.currentFilter.value)},enumerable:!1,configurable:!0}),Object.defineProperty(oa.prototype,"defaultOperator",{get:function(){return ye(this._defaultOperator)?this.operators&&this.operators.length?this.operators[0].value:"eq":this._defaultOperator},set:function(e){this._defaultOperator=e},enumerable:!1,configurable:!0}),Object.defineProperty(oa.prototype,"filterInputDisabled",{set:function(e){this.input&&(this.input.disabled=e)},enumerable:!1,configurable:!0}),oa.prototype.ngAfterContentInit=function(){V(this.input)&&(this.changeSubscription=this.input.change.subscribe(this.onChange.bind(this)),this.filterInputDisabled=Ji(this.currentOperator))},oa.prototype.ngOnDestroy=function(){ea.prototype.ngOnDestroy.call(this),this.changeSubscription&&this.changeSubscription.unsubscribe()},oa.prototype.onChange=function(e){ye(e)&&!this.filterByField(this.column.field)||this.filterChange(ye(e)?this.removeFilter(this.column.field):this.updateFilter({field:this.column.field,operator:this.currentOperator,value:e}))},oa.prototype.onClear=function(){this.onChange(null),this.filterInputDisabled=Ji(this.defaultOperator)},oa.prototype.applyNoValueFilter=function(e){this.filterChange(this.updateFilter({field:this.column.field,operator:e,value:null}))},oa.prototype.ngOnChanges=function(e){p.isChanged("filter",e,!1)&&(this._operator=null,this.filterInputDisabled=Ji(this.currentOperator))},oa);function oa(e){return ea.call(this,e)||this}na.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:na,deps:[{token:v}],target:i.ɵɵFactoryTarget.Component}),na.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:na,selector:"kendo-grid-filter-input-wrapper-base",inputs:{column:"column",filter:"filter",defaultOperator:"defaultOperator"},queries:[{propertyName:"input",first:!0,predicate:Xi,descendants:!0}],usesInheritance:!0,usesOnChanges:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:na,decorators:[{type:P.Component,args:[{selector:"kendo-grid-filter-input-wrapper-base",template:""}]}],ctorParameters:function(){return[{type:v}]},propDecorators:{column:[{type:P.Input}],filter:[{type:P.Input}],input:[{type:P.ContentChild,args:[Xi,{static:!1}]}],defaultOperator:[{type:P.Input}]}});ia.prototype.ngAfterViewInit=function(){var e=this.host.wrapper.nativeElement;e.setAttribute("aria-label",this.filterMenuDropDownLabel),e.addEventListener("keydown",this.keydownHandler,!0)},ia.prototype.ngOnDestroy=function(){this.host.wrapper.nativeElement.removeEventListener("keydown",this.keydownHandler)};var ra=ia;function ia(e){var t=this;this.host=e,this.keydownHandler=function(e){e.keyCode===p.Keys.Escape&&t.host.isOpen&&(e.stopPropagation(),t.host.toggle(!1))}}ra.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ra,deps:[{token:te.DropDownListComponent}],target:i.ɵɵFactoryTarget.Directive}),ra.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:ra,selector:"[kendoFilterMenuDropDown]",inputs:{filterMenuDropDownLabel:"filterMenuDropDownLabel"},ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ra,decorators:[{type:P.Directive,args:[{selector:"[kendoFilterMenuDropDown]"}]}],ctorParameters:function(){return[{type:te.DropDownListComponent}]},propDecorators:{filterMenuDropDownLabel:[{type:P.Input}]}});c(la,aa=na),Object.defineProperty(la.prototype,"hostClasses",{get:function(){return!1},enumerable:!1,configurable:!0}),la.prototype.ngAfterViewInit=function(){this.isFirstDropDown&&this.filterService&&this.filterService.menuTabbingService&&(this.filterService.menuTabbingService.firstFocusable=this.firstOperatorDropDown,this.firstOperatorDropDown.focus())},la.prototype.operatorChange=function(e){this.currentOperator=e},la.prototype.filterChange=function(e){this.applyFilter(e)},Object.defineProperty(la.prototype,"currentFilter",{get:function(){return this._currentFilter},set:function(e){this._currentFilter=e},enumerable:!1,configurable:!0}),la.prototype.updateFilter=function(e){return Object.assign(this.currentFilter,e),this.filter},la.prototype.onChange=function(e){this.filterChange(this.updateFilter({field:this.column.field,operator:this.currentOperator,value:e}))},la.prototype.onShiftTab=function(e){e.stopImmediatePropagation(),this.menuTabbingService&&this.menuTabbingService.isColumnMenu||!this.isFirstDropDown||!this.filterService.menuTabbingService.lastFocusable||(e.preventDefault(),this.filterService.menuTabbingService.lastFocusable.focus())},Object.defineProperty(la.prototype,"filterMenuDropDownLabel",{get:function(){var e=this.localizationService.get("filterMenuOperatorsDropDownLabel")||"",t=this.column?this.column.title||this.column.field:"";return be(e,"columnName",t)},enumerable:!1,configurable:!0});var aa,sa=la;function la(e){var t=aa.call(this,null)||this;return t.localizationService=e,t}sa.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:sa,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),sa.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:sa,selector:"kendo-grid-filter-menu-input-wrapper",inputs:{filterService:"filterService",isFirstDropDown:"isFirstDropDown",menuTabbingService:"menuTabbingService",currentFilter:"currentFilter"},viewQueries:[{propertyName:"firstOperatorDropDown",first:!0,predicate:o.DropDownListComponent,descendants:!0}],usesInheritance:!0,ngImport:i,template:'\n <kendo-dropdownlist\n kendoFilterMenuDropDown\n [filterMenuDropDownLabel]="filterMenuDropDownLabel"\n [data]="operators"\n (valueChange)="operatorChange($event)"\n [value]="currentOperator"\n [valuePrimitive]="true"\n textField="text"\n valueField="value"\n (keydown.shift.tab)="onShiftTab($event)">\n </kendo-dropdownlist>\n <ng-content></ng-content>\n ',isInline:!0,components:[{type:te.DropDownListComponent,selector:"kendo-dropdownlist",inputs:["iconClass","loading","data","value","textField","valueField","popupSettings","listHeight","defaultItem","disabled","itemDisabled","readonly","filterable","virtual","ignoreCase","delay","valuePrimitive","tabindex","tabIndex","size","rounded","fillMode","id"],outputs:["valueChange","filterChange","selectionChange","open","opened","close","closed","focus","blur"],exportAs:["kendoDropDownList"]}],directives:[{type:ra,selector:"[kendoFilterMenuDropDown]",inputs:["filterMenuDropDownLabel"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:sa,decorators:[{type:P.Component,args:[{selector:"kendo-grid-filter-menu-input-wrapper",template:'\n <kendo-dropdownlist\n kendoFilterMenuDropDown\n [filterMenuDropDownLabel]="filterMenuDropDownLabel"\n [data]="operators"\n (valueChange)="operatorChange($event)"\n [value]="currentOperator"\n [valuePrimitive]="true"\n textField="text"\n valueField="value"\n (keydown.shift.tab)="onShiftTab($event)">\n </kendo-dropdownlist>\n <ng-content></ng-content>\n '}]}],ctorParameters:function(){return[{type:a.LocalizationService}]},propDecorators:{filterService:[{type:P.Input}],isFirstDropDown:[{type:P.Input}],menuTabbingService:[{type:P.Input}],firstOperatorDropDown:[{type:P.ViewChild,args:[o.DropDownListComponent,{static:!1}]}],currentFilter:[{type:P.Input}]}});Object.defineProperty(pa.prototype,"columnLabel",{get:function(){var e=this.localizationService.get("filterInputLabel")||"",t=this.column?this.column.title||this.column.field:"";return be(e,"columnName",t)},enumerable:!1,configurable:!0});var ca=pa;function pa(e){this.localizationService=e,this.operators=[]}ca.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ca,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),ca.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:ca,selector:"kendo-grid-string-filter-menu-input",inputs:{operators:"operators",column:"column",filter:"filter",operator:"operator",currentFilter:"currentFilter",filterService:"filterService",isFirstDropDown:"isFirstDropDown",menuTabbingService:"menuTabbingService"},ngImport:i,template:'\n <kendo-grid-filter-menu-input-wrapper\n [column]="column"\n [filter]="filter"\n [operators]="operators"\n [defaultOperator]="operator"\n [currentFilter]="currentFilter"\n [filterService]="filterService"\n [isFirstDropDown]="isFirstDropDown"\n [menuTabbingService]="menuTabbingService"\n >\n <input\n kendoTextBox\n kendoFilterInput\n [columnLabel]="columnLabel"\n [filterDelay]="0"\n [ngModel]="currentFilter?.value" />\n </kendo-grid-filter-menu-input-wrapper>\n ',isInline:!0,components:[{type:sa,selector:"kendo-grid-filter-menu-input-wrapper",inputs:["filterService","isFirstDropDown","menuTabbingService","currentFilter"]}],directives:[{type:ee.TextBoxDirective,selector:"input[kendoTextBox]",inputs:["value"]},{type:l.DefaultValueAccessor,selector:"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]"},{type:Xi,selector:"[kendoFilterInput]",inputs:["filterDelay","columnLabel","value"]},{type:l.NgControlStatus,selector:"[formControlName],[ngModel],[formControl]"},{type:l.NgModel,selector:"[ngModel]:not([formControlName]):not([formControl])",inputs:["name","disabled","ngModel","ngModelOptions"],outputs:["ngModelChange"],exportAs:["ngModel"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ca,decorators:[{type:P.Component,args:[{selector:"kendo-grid-string-filter-menu-input",template:'\n <kendo-grid-filter-menu-input-wrapper\n [column]="column"\n [filter]="filter"\n [operators]="operators"\n [defaultOperator]="operator"\n [currentFilter]="currentFilter"\n [filterService]="filterService"\n [isFirstDropDown]="isFirstDropDown"\n [menuTabbingService]="menuTabbingService"\n >\n <input\n kendoTextBox\n kendoFilterInput\n [columnLabel]="columnLabel"\n [filterDelay]="0"\n [ngModel]="currentFilter?.value" />\n </kendo-grid-filter-menu-input-wrapper>\n '}]}],ctorParameters:function(){return[{type:a.LocalizationService}]},propDecorators:{operators:[{type:P.Input}],column:[{type:P.Input}],filter:[{type:P.Input}],operator:[{type:P.Input}],currentFilter:[{type:P.Input}],filterService:[{type:P.Input}],isFirstDropDown:[{type:P.Input}],menuTabbingService:[{type:P.Input}]}});c(ga,ua=Ui),Object.defineProperty(ga.prototype,"hostClasses",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(ga.prototype,"firstFilter",{get:function(){return Li(0,this.filter,(this.column||{}).field,this.operator)},enumerable:!1,configurable:!0}),Object.defineProperty(ga.prototype,"secondFilter",{get:function(){return Li(1,this.filter,(this.column||{}).field,this.operator)},enumerable:!1,configurable:!0}),ga.prototype.logicChange=function(e){this.filter.logic=e},Object.defineProperty(ga.prototype,"filterMenuDropDownLabel",{get:function(){var e=this.localization.get("filterMenuLogicDropDownLabel")||"",t=this.column?this.column.title||this.column.field:"";return be(e,"columnName",t)},enumerable:!1,configurable:!0}),ga.prototype.localizationChange=function(){this.logicOperators=Pi(this.localization),ua.prototype.localizationChange.call(this)};var ua,da=ga;function ga(e){e=ua.call(this,null,e)||this;return e.logicOperators=Pi(e.localization),e.filter={filters:[],logic:"and"},e.extra=!0,e}da.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:da,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),da.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:da,selector:"kendo-grid-string-filter-menu",inputs:{column:"column",filter:"filter",extra:"extra",filterService:"filterService",menuTabbingService:"menuTabbingService"},host:{properties:{"class.k-filtercell":"this.hostClasses"}},usesInheritance:!0,ngImport:i,template:'\n <kendo-grid-string-filter-menu-input\n [currentFilter]="firstFilter"\n [operators]="operators"\n [filterService]="filterService"\n [column]="column"\n [filter]="filter"\n [isFirstDropDown]="true"\n [menuTabbingService]="menuTabbingService">\n </kendo-grid-string-filter-menu-input>\n <kendo-dropdownlist\n *ngIf="extra"\n kendoFilterMenuDropDown\n [filterMenuDropDownLabel]="filterMenuDropDownLabel"\n class="k-filter-and"\n [data]="logicOperators"\n [valuePrimitive]="true" (valueChange)="logicChange($event)"\n [value]="filter?.logic"\n textField="text"\n valueField="value">\n </kendo-dropdownlist>\n <kendo-grid-string-filter-menu-input\n *ngIf="extra"\n [operators]="operators"\n [currentFilter]="secondFilter"\n [filterService]="filterService"\n [column]="column"\n [filter]="filter"\n [menuTabbingService]="menuTabbingService">\n </kendo-grid-string-filter-menu-input>\n ',isInline:!0,components:[{type:ca,selector:"kendo-grid-string-filter-menu-input",inputs:["operators","column","filter","operator","currentFilter","filterService","isFirstDropDown","menuTabbingService"]},{type:te.DropDownListComponent,selector:"kendo-dropdownlist",inputs:["iconClass","loading","data","value","textField","valueField","popupSettings","listHeight","defaultItem","disabled","itemDisabled","readonly","filterable","virtual","ignoreCase","delay","valuePrimitive","tabindex","tabIndex","size","rounded","fillMode","id"],outputs:["valueChange","filterChange","selectionChange","open","opened","close","closed","focus","blur"],exportAs:["kendoDropDownList"]}],directives:[{type:s.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{type:ra,selector:"[kendoFilterMenuDropDown]",inputs:["filterMenuDropDownLabel"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:da,decorators:[{type:P.Component,args:[{selector:"kendo-grid-string-filter-menu",template:'\n <kendo-grid-string-filter-menu-input\n [currentFilter]="firstFilter"\n [operators]="operators"\n [filterService]="filterService"\n [column]="column"\n [filter]="filter"\n [isFirstDropDown]="true"\n [menuTabbingService]="menuTabbingService">\n </kendo-grid-string-filter-menu-input>\n <kendo-dropdownlist\n *ngIf="extra"\n kendoFilterMenuDropDown\n [filterMenuDropDownLabel]="filterMenuDropDownLabel"\n class="k-filter-and"\n [data]="logicOperators"\n [valuePrimitive]="true" (valueChange)="logicChange($event)"\n [value]="filter?.logic"\n textField="text"\n valueField="value">\n </kendo-dropdownlist>\n <kendo-grid-string-filter-menu-input\n *ngIf="extra"\n [operators]="operators"\n [currentFilter]="secondFilter"\n [filterService]="filterService"\n [column]="column"\n [filter]="filter"\n [menuTabbingService]="menuTabbingService">\n </kendo-grid-string-filter-menu-input>\n '}]}],ctorParameters:function(){return[{type:a.LocalizationService}]},propDecorators:{hostClasses:[{type:P.HostBinding,args:["class.k-filtercell"]}],column:[{type:P.Input}],filter:[{type:P.Input}],extra:[{type:P.Input}],filterService:[{type:P.Input}],menuTabbingService:[{type:P.Input}]}});var ma,ha=Mi({filterEqOperator:"eq",filterNotEqOperator:"neq",filterGteOperator:"gte",filterGtOperator:"gt",filterLteOperator:"lte",filterLtOperator:"lt",filterIsNullOperator:"isnull",filterIsNotNullOperator:"isnotnull"}),fa=(c(ya,ma=ji),Object.defineProperty(ya.prototype,"format",{get:function(){return ye(this._format)?this.columnFormat:this._format},set:function(e){this._format=e},enumerable:!1,configurable:!0}),Object.defineProperty(ya.prototype,"currentFilter",{get:function(){return this.filterByField(this.column.field)},enumerable:!1,configurable:!0}),Object.defineProperty(ya.prototype,"currentOperator",{get:function(){return(this.currentFilter||this).operator},enumerable:!1,configurable:!0}),Object.defineProperty(ya.prototype,"columnFormat",{get:function(){return this.column&&!ye(this.column.format)?ue(this.column.format):"n2"},enumerable:!1,configurable:!0}),ya.prototype.ngOnInit=function(){this.subscription=this.localization.changes.subscribe(this.localizationChange.bind(this))},ya.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe(),ma.prototype.ngOnDestroy.call(this)},ya.prototype.localizationChange=function(){this.defaultOperators=ha(this.localization),this.operatorList.length&&(this.operators=Ti(this.operatorList.toArray()))},ya);function ya(e,t){e=ma.call(this,e)||this;return e.localization=t,e.operator="eq",e.step=1,e.spinners=!0,e.defaultOperators=ha(e.localization),e}fa.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:fa,deps:[{token:v},{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),fa.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:fa,selector:"kendo-grid-numeric-filter-component-base",inputs:{column:"column",filter:"filter",operator:"operator",step:"step",min:"min",max:"max",spinners:"spinners",decimals:"decimals",format:"format"},usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:fa,decorators:[{type:P.Component,args:[{selector:"kendo-grid-numeric-filter-component-base",template:""}]}],ctorParameters:function(){return[{type:v},{type:a.LocalizationService}]},propDecorators:{column:[{type:P.Input}],filter:[{type:P.Input}],operator:[{type:P.Input}],step:[{type:P.Input}],min:[{type:P.Input}],max:[{type:P.Input}],spinners:[{type:P.Input}],decimals:[{type:P.Input}],format:[{type:P.Input}]}});ba.prototype.messageFor=function(e){return this.localization.get(e)},Object.defineProperty(ba.prototype,"columnLabel",{get:function(){var e=this.localization.get("filterInputLabel")||"",t=this.column?this.column.title||this.column.field:"";return be(e,"columnName",t)},enumerable:!1,configurable:!0});var va=ba;function ba(e){this.localization=e,this.operators=[],this.step=1,this.spinners=!0}va.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:va,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),va.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:va,selector:"kendo-grid-numeric-filter-menu-input",inputs:{operators:"operators",column:"column",filter:"filter",operator:"operator",currentFilter:"currentFilter",filterService:"filterService",isFirstDropDown:"isFirstDropDown",menuTabbingService:"menuTabbingService",step:"step",min:"min",max:"max",spinners:"spinners",decimals:"decimals",format:"format"},ngImport:i,template:'\n <kendo-grid-filter-menu-input-wrapper\n [column]="column"\n [filter]="filter"\n [operators]="operators"\n [defaultOperator]="operator"\n [currentFilter]="currentFilter"\n [filterService]="filterService"\n [isFirstDropDown]="isFirstDropDown"\n [menuTabbingService]="menuTabbingService"\n >\n <kendo-numerictextbox\n kendoFilterInput\n [columnLabel]="columnLabel"\n [filterDelay]="0"\n [autoCorrect]="true"\n [value]="currentFilter?.value"\n [format]="format"\n [decimals]="decimals"\n [spinners]="spinners"\n [min]="min"\n [max]="max"\n [step]="step"\n >\n <kendo-numerictextbox-messages\n [increment]="messageFor(\'filterNumericIncrement\')"\n [decrement]="messageFor(\'filterNumericDecrement\')"\n >\n </kendo-numerictextbox-messages>\n </kendo-numerictextbox>\n </kendo-grid-filter-menu-input-wrapper>\n ',isInline:!0,components:[{type:sa,selector:"kendo-grid-filter-menu-input-wrapper",inputs:["filterService","isFirstDropDown","menuTabbingService","currentFilter"]},{type:ee.NumericTextBoxComponent,selector:"kendo-numerictextbox",inputs:["focusableId","disabled","readonly","title","autoCorrect","format","max","min","decimals","placeholder","step","spinners","rangeValidation","tabindex","tabIndex","changeValueOnScroll","selectOnFocus","value","maxlength","size","rounded","fillMode"],outputs:["valueChange","focus","blur"],exportAs:["kendoNumericTextBox"]},{type:ee.NumericTextBoxCustomMessagesComponent,selector:"kendo-numerictextbox-messages"}],directives:[{type:Xi,selector:"[kendoFilterInput]",inputs:["filterDelay","columnLabel","value"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:va,decorators:[{type:P.Component,args:[{selector:"kendo-grid-numeric-filter-menu-input",template:'\n <kendo-grid-filter-menu-input-wrapper\n [column]="column"\n [filter]="filter"\n [operators]="operators"\n [defaultOperator]="operator"\n [currentFilter]="currentFilter"\n [filterService]="filterService"\n [isFirstDropDown]="isFirstDropDown"\n [menuTabbingService]="menuTabbingService"\n >\n <kendo-numerictextbox\n kendoFilterInput\n [columnLabel]="columnLabel"\n [filterDelay]="0"\n [autoCorrect]="true"\n [value]="currentFilter?.value"\n [format]="format"\n [decimals]="decimals"\n [spinners]="spinners"\n [min]="min"\n [max]="max"\n [step]="step"\n >\n <kendo-numerictextbox-messages\n [increment]="messageFor(\'filterNumericIncrement\')"\n [decrement]="messageFor(\'filterNumericDecrement\')"\n >\n </kendo-numerictextbox-messages>\n </kendo-numerictextbox>\n </kendo-grid-filter-menu-input-wrapper>\n '}]}],ctorParameters:function(){return[{type:a.LocalizationService}]},propDecorators:{operators:[{type:P.Input}],column:[{type:P.Input}],filter:[{type:P.Input}],operator:[{type:P.Input}],currentFilter:[{type:P.Input}],filterService:[{type:P.Input}],isFirstDropDown:[{type:P.Input}],menuTabbingService:[{type:P.Input}],step:[{type:P.Input}],min:[{type:P.Input}],max:[{type:P.Input}],spinners:[{type:P.Input}],decimals:[{type:P.Input}],format:[{type:P.Input}]}});c(Ia,ka=fa),Object.defineProperty(Ia.prototype,"hostClasses",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(Ia.prototype,"firstFilter",{get:function(){return Li(0,this.filter,(this.column||{}).field,this.operator)},enumerable:!1,configurable:!0}),Object.defineProperty(Ia.prototype,"secondFilter",{get:function(){return Li(1,this.filter,(this.column||{}).field,this.operator)},enumerable:!1,configurable:!0}),Ia.prototype.logicChange=function(e){this.filter.logic=e},Object.defineProperty(Ia.prototype,"filterMenuDropDownLabel",{get:function(){var e=this.localization.get("filterMenuLogicDropDownLabel")||"",t=this.column?this.column.title||this.column.field:"";return be(e,"columnName",t)},enumerable:!1,configurable:!0}),Ia.prototype.localizationChange=function(){this.logicOperators=Pi(this.localization),ka.prototype.localizationChange.call(this)};var ka,Ca=Ia;function Ia(e){e=ka.call(this,null,e)||this;return e.logicOperators=Pi(e.localization),e.filter={filters:[],logic:"and"},e.extra=!0,e}Ca.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ca,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),Ca.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Ca,selector:"kendo-grid-numeric-filter-menu",inputs:{column:"column",filter:"filter",extra:"extra",filterService:"filterService",menuTabbingService:"menuTabbingService"},host:{properties:{"class.k-filtercell":"this.hostClasses"}},usesInheritance:!0,ngImport:i,template:'\n <kendo-grid-numeric-filter-menu-input\n [currentFilter]="firstFilter"\n [operators]="operators"\n [filterService]="filterService"\n [column]="column"\n [filter]="filter"\n [format]="format"\n [decimals]="decimals"\n [spinners]="spinners"\n [min]="min"\n [max]="max"\n [step]="step"\n [menuTabbingService]="menuTabbingService"\n [isFirstDropDown]="true"\n >\n </kendo-grid-numeric-filter-menu-input>\n <kendo-dropdownlist\n *ngIf="extra"\n kendoFilterMenuDropDown\n [filterMenuDropDownLabel]="filterMenuDropDownLabel"\n class="k-filter-and"\n [data]="logicOperators"\n [valuePrimitive]="true"\n (valueChange)="logicChange($event)"\n [value]="filter?.logic"\n textField="text"\n valueField="value">\n </kendo-dropdownlist>\n <kendo-grid-numeric-filter-menu-input\n *ngIf="extra"\n [operators]="operators"\n [currentFilter]="secondFilter"\n [filterService]="filterService"\n [column]="column"\n [filter]="filter"\n [format]="format"\n [decimals]="decimals"\n [spinners]="spinners"\n [min]="min"\n [max]="max"\n [step]="step"\n [menuTabbingService]="menuTabbingService"\n >\n </kendo-grid-numeric-filter-menu-input>\n ',isInline:!0,components:[{type:va,selector:"kendo-grid-numeric-filter-menu-input",inputs:["operators","column","filter","operator","currentFilter","filterService","isFirstDropDown","menuTabbingService","step","min","max","spinners","decimals","format"]},{type:te.DropDownListComponent,selector:"kendo-dropdownlist",inputs:["iconClass","loading","data","value","textField","valueField","popupSettings","listHeight","defaultItem","disabled","itemDisabled","readonly","filterable","virtual","ignoreCase","delay","valuePrimitive","tabindex","tabIndex","size","rounded","fillMode","id"],outputs:["valueChange","filterChange","selectionChange","open","opened","close","closed","focus","blur"],exportAs:["kendoDropDownList"]}],directives:[{type:s.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{type:ra,selector:"[kendoFilterMenuDropDown]",inputs:["filterMenuDropDownLabel"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ca,decorators:[{type:P.Component,args:[{selector:"kendo-grid-numeric-filter-menu",template:'\n <kendo-grid-numeric-filter-menu-input\n [currentFilter]="firstFilter"\n [operators]="operators"\n [filterService]="filterService"\n [column]="column"\n [filter]="filter"\n [format]="format"\n [decimals]="decimals"\n [spinners]="spinners"\n [min]="min"\n [max]="max"\n [step]="step"\n [menuTabbingService]="menuTabbingService"\n [isFirstDropDown]="true"\n >\n </kendo-grid-numeric-filter-menu-input>\n <kendo-dropdownlist\n *ngIf="extra"\n kendoFilterMenuDropDown\n [filterMenuDropDownLabel]="filterMenuDropDownLabel"\n class="k-filter-and"\n [data]="logicOperators"\n [valuePrimitive]="true"\n (valueChange)="logicChange($event)"\n [value]="filter?.logic"\n textField="text"\n valueField="value">\n </kendo-dropdownlist>\n <kendo-grid-numeric-filter-menu-input\n *ngIf="extra"\n [operators]="operators"\n [currentFilter]="secondFilter"\n [filterService]="filterService"\n [column]="column"\n [filter]="filter"\n [format]="format"\n [decimals]="decimals"\n [spinners]="spinners"\n [min]="min"\n [max]="max"\n [step]="step"\n [menuTabbingService]="menuTabbingService"\n >\n </kendo-grid-numeric-filter-menu-input>\n '}]}],ctorParameters:function(){return[{type:a.LocalizationService}]},propDecorators:{hostClasses:[{type:P.HostBinding,args:["class.k-filtercell"]}],column:[{type:P.Input}],filter:[{type:P.Input}],extra:[{type:P.Input}],filterService:[{type:P.Input}],menuTabbingService:[{type:P.Input}]}});var xa,wa=Mi({filterEqOperator:"eq",filterNotEqOperator:"neq",filterAfterOrEqualOperator:"gte",filterAfterOperator:"gt",filterBeforeOrEqualOperator:"lte",filterBeforeOperator:"lt",filterIsNullOperator:"isnull",filterIsNotNullOperator:"isnotnull"}),Sa=(c(Da,xa=ji),Object.defineProperty(Da.prototype,"currentFilter",{get:function(){return this.filterByField(this.column.field)},enumerable:!1,configurable:!0}),Object.defineProperty(Da.prototype,"format",{get:function(){return ye(this._format)?this.columnFormat:this._format},set:function(e){this._format=e},enumerable:!1,configurable:!0}),Object.defineProperty(Da.prototype,"columnFormat",{get:function(){return this.column&&!ye(this.column.format)?ue(this.column.format):"d"},enumerable:!1,configurable:!0}),Object.defineProperty(Da.prototype,"currentOperator",{get:function(){return(this.currentFilter||this).operator},enumerable:!1,configurable:!0}),Da.prototype.ngOnInit=function(){this.subscription=this.localization.changes.subscribe(this.localizationChange.bind(this))},Da.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe(),xa.prototype.ngOnDestroy.call(this)},Da.prototype.localizationChange=function(){this.defaultOperators=wa(this.localization),this.operatorList.length&&(this.operators=Ti(this.operatorList.toArray()))},Da);function Da(e,t){e=xa.call(this,e)||this;return e.localization=t,e.operator="gte",e.activeView="month",e.bottomView="month",e.topView="century",e.weekNumber=!1,e.defaultOperators=wa(e.localization),e}Sa.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Sa,deps:[{token:v},{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),Sa.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Sa,selector:"kendo-grid-date-filter-base",inputs:{column:"column",filter:"filter",operator:"operator",format:"format",min:"min",max:"max",formatPlaceholder:"formatPlaceholder",placeholder:"placeholder",activeView:"activeView",bottomView:"bottomView",topView:"topView",weekNumber:"weekNumber"},usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Sa,decorators:[{type:P.Component,args:[{selector:"kendo-grid-date-filter-base",template:""}]}],ctorParameters:function(){return[{type:v},{type:a.LocalizationService}]},propDecorators:{column:[{type:P.Input}],filter:[{type:P.Input}],operator:[{type:P.Input}],format:[{type:P.Input}],min:[{type:P.Input}],max:[{type:P.Input}],formatPlaceholder:[{type:P.Input}],placeholder:[{type:P.Input}],activeView:[{type:P.Input}],bottomView:[{type:P.Input}],topView:[{type:P.Input}],weekNumber:[{type:P.Input}]}});Fa.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},Fa.prototype.open=function(e){this.subscription=this.popupService.onClose.pipe(G.filter(function(){return e.isActive})).subscribe(function(e){return e.preventDefault()})},Fa.prototype.messageFor=function(e){return this.localizationService.get(e)},Object.defineProperty(Fa.prototype,"columnLabel",{get:function(){var e=this.localizationService.get("filterInputLabel")||"",t=this.column?this.column.title||this.column.field:"";return be(e,"columnName",t)},enumerable:!1,configurable:!0});var Ta=Fa;function Fa(e,t){this.popupService=e,this.localizationService=t,this.operators=[]}Ta.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ta,deps:[{token:er},{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),Ta.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Ta,selector:"kendo-grid-date-filter-menu-input",inputs:{operators:"operators",column:"column",filter:"filter",operator:"operator",currentFilter:"currentFilter",filterService:"filterService",menuTabbingService:"menuTabbingService",format:"format",formatPlaceholder:"formatPlaceholder",placeholder:"placeholder",min:"min",max:"max",activeView:"activeView",bottomView:"bottomView",topView:"topView",weekNumber:"weekNumber",isFirstDropDown:"isFirstDropDown"},ngImport:i,template:'\n <kendo-grid-filter-menu-input-wrapper\n [column]="column"\n [filter]="filter"\n [operators]="operators"\n [defaultOperator]="operator"\n [currentFilter]="currentFilter"\n [filterService]="filterService"\n [isFirstDropDown]="isFirstDropDown"\n [menuTabbingService]="menuTabbingService"\n >\n <kendo-datepicker\n #picker\n kendoFilterInput\n [columnLabel]="columnLabel"\n [filterDelay]="0"\n (open)="open(picker)"\n [value]="currentFilter?.value"\n [placeholder]="placeholder"\n [formatPlaceholder]="formatPlaceholder"\n [format]="format"\n [min]="min"\n [max]="max"\n [activeView]="activeView"\n [bottomView]="bottomView"\n [topView]="topView"\n [weekNumber]="weekNumber"\n >\n <kendo-datepicker-messages\n [toggle]="messageFor(\'filterDateToggle\')"\n [today]="messageFor(\'filterDateToday\')"\n >\n </kendo-datepicker-messages>\n </kendo-datepicker>\n </kendo-grid-filter-menu-input-wrapper>\n ',isInline:!0,components:[{type:sa,selector:"kendo-grid-filter-menu-input-wrapper",inputs:["filterService","isFirstDropDown","menuTabbingService","currentFilter"]},{type:ne.DatePickerComponent,selector:"kendo-datepicker",inputs:["cellTemplate","monthCellTemplate","yearCellTemplate","decadeCellTemplate","centuryCellTemplate","weekNumberTemplate","headerTitleTemplate","navigationItemTemplate","focusableId","activeView","bottomView","topView","calendarType","animateCalendarNavigation","disabled","readonly","readOnlyInput","popupSettings","navigation","min","max","incompleteDateValidation","focusedDate","value","format","twoDigitYearMax","formatPlaceholder","placeholder","tabindex","tabIndex","disabledDates","title","rangeValidation","disabledDatesValidation","weekNumber","size","rounded","fillMode"],outputs:["valueChange","focus","blur","open","close"],exportAs:["kendo-datepicker"]},{type:ne.DatePickerCustomMessagesComponent,selector:"kendo-datepicker-messages"}],directives:[{type:Xi,selector:"[kendoFilterInput]",inputs:["filterDelay","columnLabel","value"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ta,decorators:[{type:P.Component,args:[{selector:"kendo-grid-date-filter-menu-input",template:'\n <kendo-grid-filter-menu-input-wrapper\n [column]="column"\n [filter]="filter"\n [operators]="operators"\n [defaultOperator]="operator"\n [currentFilter]="currentFilter"\n [filterService]="filterService"\n [isFirstDropDown]="isFirstDropDown"\n [menuTabbingService]="menuTabbingService"\n >\n <kendo-datepicker\n #picker\n kendoFilterInput\n [columnLabel]="columnLabel"\n [filterDelay]="0"\n (open)="open(picker)"\n [value]="currentFilter?.value"\n [placeholder]="placeholder"\n [formatPlaceholder]="formatPlaceholder"\n [format]="format"\n [min]="min"\n [max]="max"\n [activeView]="activeView"\n [bottomView]="bottomView"\n [topView]="topView"\n [weekNumber]="weekNumber"\n >\n <kendo-datepicker-messages\n [toggle]="messageFor(\'filterDateToggle\')"\n [today]="messageFor(\'filterDateToday\')"\n >\n </kendo-datepicker-messages>\n </kendo-datepicker>\n </kendo-grid-filter-menu-input-wrapper>\n '}]}],ctorParameters:function(){return[{type:er},{type:a.LocalizationService}]},propDecorators:{operators:[{type:P.Input}],column:[{type:P.Input}],filter:[{type:P.Input}],operator:[{type:P.Input}],currentFilter:[{type:P.Input}],filterService:[{type:P.Input}],menuTabbingService:[{type:P.Input}],format:[{type:P.Input}],formatPlaceholder:[{type:P.Input}],placeholder:[{type:P.Input}],min:[{type:P.Input}],max:[{type:P.Input}],activeView:[{type:P.Input}],bottomView:[{type:P.Input}],topView:[{type:P.Input}],weekNumber:[{type:P.Input}],isFirstDropDown:[{type:P.Input}]}});c(Ra,Oa=Sa),Object.defineProperty(Ra.prototype,"hostClasses",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(Ra.prototype,"firstFilter",{get:function(){return Li(0,this.filter,(this.column||{}).field,this.operator)},enumerable:!1,configurable:!0}),Object.defineProperty(Ra.prototype,"secondFilter",{get:function(){return Li(1,this.filter,(this.column||{}).field,this.operator)},enumerable:!1,configurable:!0}),Ra.prototype.logicChange=function(e){this.filter.logic=e},Object.defineProperty(Ra.prototype,"filterMenuDropDownLabel",{get:function(){var e=this.localization.get("filterMenuLogicDropDownLabel")||"",t=this.column?this.column.title||this.column.field:"";return be(e,"columnName",t)},enumerable:!1,configurable:!0}),Ra.prototype.localizationChange=function(){this.logicOperators=Pi(this.localization),Oa.prototype.localizationChange.call(this)};var Oa,Ea=Ra;function Ra(e){e=Oa.call(this,null,e)||this;return e.logicOperators=Pi(e.localization),e.filter={filters:[],logic:"and"},e.extra=!0,e}Ea.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ea,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),Ea.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Ea,selector:"kendo-grid-date-filter-menu",inputs:{column:"column",filter:"filter",extra:"extra",filterService:"filterService",menuTabbingService:"menuTabbingService"},host:{properties:{"class.k-filtercell":"this.hostClasses"}},usesInheritance:!0,ngImport:i,template:'\n <kendo-grid-date-filter-menu-input\n [currentFilter]="firstFilter"\n [operators]="operators"\n [filterService]="filterService"\n [column]="column"\n [filter]="filter"\n [activeView]="activeView"\n [bottomView]="bottomView"\n [topView]="topView"\n [format]="format"\n [formatPlaceholder]="formatPlaceholder"\n [placeholder]="placeholder"\n [min]="min"\n [max]="max"\n [weekNumber]="weekNumber"\n [isFirstDropDown]="true"\n [menuTabbingService]="menuTabbingService"\n >\n </kendo-grid-date-filter-menu-input>\n <kendo-dropdownlist\n *ngIf="extra"\n kendoFilterMenuDropDown\n [filterMenuDropDownLabel]="filterMenuDropDownLabel"\n class="k-filter-and"\n [data]="logicOperators"\n [valuePrimitive]="true"\n (valueChange)="logicChange($event)"\n [value]="filter?.logic"\n textField="text"\n valueField="value">\n </kendo-dropdownlist>\n <kendo-grid-date-filter-menu-input\n *ngIf="extra"\n [operators]="operators"\n [currentFilter]="secondFilter"\n [filterService]="filterService"\n [column]="column"\n [filter]="filter"\n [activeView]="activeView"\n [bottomView]="bottomView"\n [topView]="topView"\n [format]="format"\n [formatPlaceholder]="formatPlaceholder"\n [placeholder]="placeholder"\n [min]="min"\n [max]="max"\n [weekNumber]="weekNumber"\n [menuTabbingService]="menuTabbingService"\n >\n </kendo-grid-date-filter-menu-input>\n ',isInline:!0,components:[{type:Ta,selector:"kendo-grid-date-filter-menu-input",inputs:["operators","column","filter","operator","currentFilter","filterService","menuTabbingService","format","formatPlaceholder","placeholder","min","max","activeView","bottomView","topView","weekNumber","isFirstDropDown"]},{type:te.DropDownListComponent,selector:"kendo-dropdownlist",inputs:["iconClass","loading","data","value","textField","valueField","popupSettings","listHeight","defaultItem","disabled","itemDisabled","readonly","filterable","virtual","ignoreCase","delay","valuePrimitive","tabindex","tabIndex","size","rounded","fillMode","id"],outputs:["valueChange","filterChange","selectionChange","open","opened","close","closed","focus","blur"],exportAs:["kendoDropDownList"]}],directives:[{type:s.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{type:ra,selector:"[kendoFilterMenuDropDown]",inputs:["filterMenuDropDownLabel"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ea,decorators:[{type:P.Component,args:[{selector:"kendo-grid-date-filter-menu",template:'\n <kendo-grid-date-filter-menu-input\n [currentFilter]="firstFilter"\n [operators]="operators"\n [filterService]="filterService"\n [column]="column"\n [filter]="filter"\n [activeView]="activeView"\n [bottomView]="bottomView"\n [topView]="topView"\n [format]="format"\n [formatPlaceholder]="formatPlaceholder"\n [placeholder]="placeholder"\n [min]="min"\n [max]="max"\n [weekNumber]="weekNumber"\n [isFirstDropDown]="true"\n [menuTabbingService]="menuTabbingService"\n >\n </kendo-grid-date-filter-menu-input>\n <kendo-dropdownlist\n *ngIf="extra"\n kendoFilterMenuDropDown\n [filterMenuDropDownLabel]="filterMenuDropDownLabel"\n class="k-filter-and"\n [data]="logicOperators"\n [valuePrimitive]="true"\n (valueChange)="logicChange($event)"\n [value]="filter?.logic"\n textField="text"\n valueField="value">\n </kendo-dropdownlist>\n <kendo-grid-date-filter-menu-input\n *ngIf="extra"\n [operators]="operators"\n [currentFilter]="secondFilter"\n [filterService]="filterService"\n [column]="column"\n [filter]="filter"\n [activeView]="activeView"\n [bottomView]="bottomView"\n [topView]="topView"\n [format]="format"\n [formatPlaceholder]="formatPlaceholder"\n [placeholder]="placeholder"\n [min]="min"\n [max]="max"\n [weekNumber]="weekNumber"\n [menuTabbingService]="menuTabbingService"\n >\n </kendo-grid-date-filter-menu-input>\n '}]}],ctorParameters:function(){return[{type:a.LocalizationService}]},propDecorators:{hostClasses:[{type:P.HostBinding,args:["class.k-filtercell"]}],column:[{type:P.Input}],filter:[{type:P.Input}],extra:[{type:P.Input}],filterService:[{type:P.Input}],menuTabbingService:[{type:P.Input}]}});c(Ga,La=ji),Object.defineProperty(Ga.prototype,"hostClasses",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(Ga.prototype,"currentFilter",{get:function(){return this.filterByField(this.column.field)},enumerable:!1,configurable:!0}),Object.defineProperty(Ga.prototype,"currentOperator",{get:function(){return(this.currentFilter||this).operator},enumerable:!1,configurable:!0}),Ga.prototype.ngOnInit=function(){this.subscription=this.localization.changes.subscribe(this.localizationChange.bind(this))},Ga.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe(),La.prototype.ngOnDestroy.call(this)},Ga.prototype.localizationChange=function(){this.items=[{text:this.localization.get("filterIsTrue"),value:!0},{text:this.localization.get("filterIsFalse"),value:!1}],this.defaultItem={text:this.localization.get("filterBooleanAll"),value:null}};var La,Pa=Ga;function Ga(e,t){e=La.call(this,e)||this;return e.localization=t,e.operator="eq",e.items=[{text:e.localization.get("filterIsTrue"),value:!0},{text:e.localization.get("filterIsFalse"),value:!1}],e.defaultItem={text:e.localization.get("filterBooleanAll"),value:null},e}Pa.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Pa,deps:[{token:v},{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),Pa.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Pa,selector:"kendo-grid-boolean-filter-base",inputs:{column:"column",filter:"filter"},host:{properties:{"class.k-filtercell-boolean":"this.hostClasses"}},usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Pa,decorators:[{type:P.Component,args:[{selector:"kendo-grid-boolean-filter-base",template:""}]}],ctorParameters:function(){return[{type:v},{type:a.LocalizationService}]},propDecorators:{hostClasses:[{type:P.HostBinding,args:["class.k-filtercell-boolean"]}],column:[{type:P.Input}],filter:[{type:P.Input}]}});Ma.prototype.ngAfterViewInit=function(){this.radioButtonEl=this.hostElement.nativeElement,this.renderer.setAttribute(this.hostElement.nativeElement,"aria-label",this.columnLabel)};var Va=Ma;function Ma(e,t){this.hostElement=e,this.renderer=t}Va.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Va,deps:[{token:i.ElementRef},{token:i.Renderer2}],target:i.ɵɵFactoryTarget.Directive}),Va.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:Va,selector:"[kendoFilterMenuRadioButton]",inputs:{columnLabel:"columnLabel"},ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Va,decorators:[{type:P.Directive,args:[{selector:"[kendoFilterMenuRadioButton]"}]}],ctorParameters:function(){return[{type:i.ElementRef},{type:i.Renderer2}]},propDecorators:{columnLabel:[{type:P.Input}]}});c(ja,za=Pa),Object.defineProperty(ja.prototype,"hostClasses",{get:function(){return!1},enumerable:!1,configurable:!0}),ja.prototype.ngAfterViewInit=function(){this.filterService.menuTabbingService.firstFocusable=this.radioButtons.first.radioButtonEl,this.radioButtons.first.radioButtonEl.focus()},ja.prototype.radioId=function(e){return this.idPrefix+"_"+e},ja.prototype.onChange=function(e,t){this.applyFilter(this.updateFilter({field:this.column.field,operator:"eq",value:e})),this.filterService.menuTabbingService.firstFocusable=t},ja.prototype.isSelected=function(t){return this.filtersByField(this.column.field).some(function(e){return e.value===t})},ja.prototype.onShiftTab=function(e){this.menuTabbingService&&this.menuTabbingService.isColumnMenu||!this.filterService.menuTabbingService.lastFocusable||(e.preventDefault(),this.filterService.menuTabbingService.lastFocusable.focus())},Object.defineProperty(ja.prototype,"columnLabel",{get:function(){var e=this.localization.get("filterInputLabel")||"",t=this.column.title||this.column.field;return be(e,"columnName",t)},enumerable:!1,configurable:!0});var za,Na=ja;function ja(e){e=za.call(this,null,e)||this;return e.filter={filters:[],logic:"and"},e.idPrefix=p.guid(),e}Na.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Na,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),Na.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Na,selector:"kendo-grid-boolean-filter-menu",inputs:{filter:"filter",filterService:"filterService",menuTabbingService:"menuTabbingService"},host:{properties:{"class.k-filtercell":"this.hostClasses"}},viewQueries:[{propertyName:"radioButtons",predicate:Va,descendants:!0}],usesInheritance:!0,ngImport:i,template:'\n <ul class="k-radio-list k-reset">\n <li *ngFor="let item of items">\n <input type="radio"\n kendoFilterMenuRadioButton\n [columnLabel]="columnLabel"\n #input\n [name]="idPrefix"\n kendoRadioButton\n [checked]="isSelected(item.value)"\n [attr.id]="radioId(item.value)"\n (change)="onChange(item.value, input)"\n (keydown.shift.tab)="onShiftTab($event)"\n />\n <label class="k-radio-label" [attr.for]="radioId(item.value)">{{item.text}}</label>\n </li>\n </ul>\n ',isInline:!0,directives:[{type:s.NgForOf,selector:"[ngFor][ngForOf]",inputs:["ngForOf","ngForTrackBy","ngForTemplate"]},{type:ee.RadioButtonDirective,selector:"input[kendoRadioButton]",inputs:["size"]},{type:Va,selector:"[kendoFilterMenuRadioButton]",inputs:["columnLabel"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Na,decorators:[{type:P.Component,args:[{selector:"kendo-grid-boolean-filter-menu",template:'\n <ul class="k-radio-list k-reset">\n <li *ngFor="let item of items">\n <input type="radio"\n kendoFilterMenuRadioButton\n [columnLabel]="columnLabel"\n #input\n [name]="idPrefix"\n kendoRadioButton\n [checked]="isSelected(item.value)"\n [attr.id]="radioId(item.value)"\n (change)="onChange(item.value, input)"\n (keydown.shift.tab)="onShiftTab($event)"\n />\n <label class="k-radio-label" [attr.for]="radioId(item.value)">{{item.text}}</label>\n </li>\n </ul>\n '}]}],ctorParameters:function(){return[{type:a.LocalizationService}]},propDecorators:{hostClasses:[{type:P.HostBinding,args:["class.k-filtercell"]}],filter:[{type:P.Input}],filterService:[{type:P.Input}],menuTabbingService:[{type:P.Input}],radioButtons:[{type:P.ViewChildren,args:[Va]}]}});c(Ha,Aa=qi),Ha.prototype.componentType=function(){return V(this.column)&&!ye(this.column.filter)?(e=this.column.filter,{boolean:Na,date:Ea,numeric:Ca,text:da}[e]):da;var e},Ha.prototype.initComponent=function(e){Aa.prototype.initComponent.call(this,e),this.component.instance.filterService=this.filterService,this.component.instance.menuTabbingService=this.menuTabbingService};var Aa,Ba=Ha;function Ha(e,t){return Aa.call(this,e,t)||this}Ba.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ba,deps:[{token:i.ViewContainerRef},{token:i.ComponentFactoryResolver}],target:i.ɵɵFactoryTarget.Directive}),Ba.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:Ba,selector:"[kendoFilterMenuHost]",inputs:{filterService:"filterService",menuTabbingService:"menuTabbingService"},usesInheritance:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ba,decorators:[{type:P.Directive,args:[{selector:"[kendoFilterMenuHost]"}]}],ctorParameters:function(){return[{type:i.ViewContainerRef},{type:i.ComponentFactoryResolver}]},propDecorators:{filterService:[{type:P.Input}],menuTabbingService:[{type:P.Input}]}});function $a(e){var t=e.value,e=e.operator;return!ye(t)||("isnull"===(t=e)||"isnotnull"===t||"isempty"===t||"isnotempty"===t)}var Ka=function(e,n,o){return e.reduce(function(e,t){return e||(t.filters?Ka(t.filters,n,t):t.field===n?o:e)},void 0)},qa=(Object.defineProperty(_a.prototype,"filter",{get:function(){return this._filter},set:function(e){this._filter=Bi(e)},enumerable:!1,configurable:!0}),Object.defineProperty(_a.prototype,"childFilter",{get:function(){return V(this._childFilter)||(this._childFilter={filters:Gi(this.filter,(this.column||{}).field),logic:function(e,t,n){void 0===n&&(n="and");e=Ka((e||{}).filters||[],t);return V(e)?e.logic:n}(this.filter,(this.column||{}).field)}),this._childFilter},enumerable:!1,configurable:!0}),_a.prototype.ngOnInit=function(){var t=this;this.subscription=this.childService.changes.subscribe(function(e){return t._childFilter=e}),this.subscription.add(this.localization.changes.subscribe(function(){return t.cd.markForCheck()}))},_a.prototype.ngAfterViewChecked=function(){(!this.menuTabbingService.isColumnMenu||this.isLast&&this.isExpanded)&&(this.menuTabbingService.lastFocusable=(this.disabled?this.resetButton:this.filterButton).nativeElement)},_a.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe(),this.menuTabbingService.lastFocusable=void 0},Object.defineProperty(_a.prototype,"disabled",{get:function(){return!this.childFilter.filters.some($a)},enumerable:!1,configurable:!0}),Object.defineProperty(_a.prototype,"templateContext",{get:function(){return this._templateContext.column=this.column,this._templateContext.filter=this.childFilter,this._templateContext.filterService=this.childService,this._templateContext.$implicit=this.childFilter,this._templateContext},enumerable:!1,configurable:!0}),Object.defineProperty(_a.prototype,"hasTemplate",{get:function(){return V(this.column)&&V(this.column.filterMenuTemplateRef)},enumerable:!1,configurable:!0}),_a.prototype.submit=function(){(t=this.childFilter).filters=t.filters.filter($a);var e,t;return t.filters.length&&(e=this.filter||{filters:[],logic:"and"},Vi(e,this.column.field),e.filters.push(t),this.parentService.filter(e)),this.close.emit(),!1},_a.prototype.reset=function(){var e=this.filter||{filters:[],logic:"and"};Vi(e,this.column.field),this.parentService.filter(e),this.close.emit()},_a.prototype.onTab=function(e,t){!this.menuTabbingService.firstFocusable||this.menuTabbingService.isColumnMenu&&!this.isLast||(e.preventDefault(),("reset"!==t||this.disabled?this.menuTabbingService.firstFocusable:this.filterButton.nativeElement).focus())},Object.defineProperty(_a.prototype,"clearText",{get:function(){return this.localization.get("filterClearButton")},enumerable:!1,configurable:!0}),Object.defineProperty(_a.prototype,"filterText",{get:function(){return this.localization.get("filterFilterButton")},enumerable:!1,configurable:!0}),_a);function _a(e,t,n,o,r){this.parentService=e,this.childService=t,this.localization=n,this.cd=o,this.close=new P.EventEmitter,this.actionsClass="k-action-buttons k-button-group",this._templateContext={},this.menuTabbingService=r}qa.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:qa,deps:[{token:v,skipSelf:!0},{token:v},{token:a.LocalizationService},{token:i.ChangeDetectorRef},{token:So}],target:i.ɵɵFactoryTarget.Component}),qa.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:qa,selector:"kendo-grid-filter-menu-container",inputs:{column:"column",isLast:"isLast",isExpanded:"isExpanded",menuTabbingService:"menuTabbingService",filter:"filter",actionsClass:"actionsClass"},outputs:{close:"close"},providers:[v,So],viewQueries:[{propertyName:"resetButton",first:!0,predicate:["resetButton"],descendants:!0},{propertyName:"filterButton",first:!0,predicate:["filterButton"],descendants:!0}],ngImport:i,template:'\n <form (submit)="submit()" (reset)="reset()"\n class="k-filter-menu k-group k-reset k-state-border-up">\n <div class="k-filter-menu-container">\n <ng-container [ngSwitch]="hasTemplate">\n <ng-container *ngSwitchCase="false">\n <ng-container\n kendoFilterMenuHost\n [filterService]="childService"\n [column]="column"\n [filter]="childFilter"\n [menuTabbingService]="menuTabbingService">\n </ng-container>\n </ng-container>\n <ng-container *ngSwitchCase="true">\n <ng-template\n *ngIf="column.filterMenuTemplateRef"\n [ngTemplateOutlet]="column.filterMenuTemplateRef"\n [ngTemplateOutletContext]="templateContext"\n >\n </ng-template>\n </ng-container>\n </ng-container>\n <div [ngClass]="actionsClass">\n <button\n #resetButton\n type="reset"\n class="k-button k-button-solid-base k-button-solid k-button-md k-rounded-md k-button-rectangle"\n (keydown.tab)="onTab($event, \'reset\')">{{clearText}}</button>\n <button #filterButton\n type="submit"\n class="k-button k-button-solid-primary k-button-solid k-button-md k-rounded-md k-button-rectangle"\n [disabled]="disabled"\n (keydown.tab)="onTab($event, \'filter\')">{{filterText}}</button>\n </div>\n </div>\n </form>\n ',isInline:!0,directives:[{type:l.ɵNgNoValidate,selector:"form:not([ngNoForm]):not([ngNativeValidate])"},{type:l.NgControlStatusGroup,selector:"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]"},{type:l.NgForm,selector:"form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]",inputs:["ngFormOptions"],outputs:["ngSubmit"],exportAs:["ngForm"]},{type:s.NgSwitch,selector:"[ngSwitch]",inputs:["ngSwitch"]},{type:s.NgSwitchCase,selector:"[ngSwitchCase]",inputs:["ngSwitchCase"]},{type:Ba,selector:"[kendoFilterMenuHost]",inputs:["filterService","menuTabbingService"]},{type:s.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{type:s.NgTemplateOutlet,selector:"[ngTemplateOutlet]",inputs:["ngTemplateOutletContext","ngTemplateOutlet"]},{type:s.NgClass,selector:"[ngClass]",inputs:["class","ngClass"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:qa,decorators:[{type:P.Component,args:[{providers:[v,So],selector:"kendo-grid-filter-menu-container",template:'\n <form (submit)="submit()" (reset)="reset()"\n class="k-filter-menu k-group k-reset k-state-border-up">\n <div class="k-filter-menu-container">\n <ng-container [ngSwitch]="hasTemplate">\n <ng-container *ngSwitchCase="false">\n <ng-container\n kendoFilterMenuHost\n [filterService]="childService"\n [column]="column"\n [filter]="childFilter"\n [menuTabbingService]="menuTabbingService">\n </ng-container>\n </ng-container>\n <ng-container *ngSwitchCase="true">\n <ng-template\n *ngIf="column.filterMenuTemplateRef"\n [ngTemplateOutlet]="column.filterMenuTemplateRef"\n [ngTemplateOutletContext]="templateContext"\n >\n </ng-template>\n </ng-container>\n </ng-container>\n <div [ngClass]="actionsClass">\n <button\n #resetButton\n type="reset"\n class="k-button k-button-solid-base k-button-solid k-button-md k-rounded-md k-button-rectangle"\n (keydown.tab)="onTab($event, \'reset\')">{{clearText}}</button>\n <button #filterButton\n type="submit"\n class="k-button k-button-solid-primary k-button-solid k-button-md k-rounded-md k-button-rectangle"\n [disabled]="disabled"\n (keydown.tab)="onTab($event, \'filter\')">{{filterText}}</button>\n </div>\n </div>\n </form>\n '}]}],ctorParameters:function(){return[{type:v,decorators:[{type:P.SkipSelf}]},{type:v},{type:a.LocalizationService},{type:i.ChangeDetectorRef},{type:So}]},propDecorators:{close:[{type:P.Output}],column:[{type:P.Input}],isLast:[{type:P.Input}],isExpanded:[{type:P.Input}],menuTabbingService:[{type:P.Input}],filter:[{type:P.Input}],actionsClass:[{type:P.Input}],resetButton:[{type:P.ViewChild,args:["resetButton",{static:!1}]}],filterButton:[{type:P.ViewChild,args:["filterButton",{static:!1}]}]}});Object.defineProperty(Za.prototype,"hasFilters",{get:function(){return 0<Gi(this.filter,(this.column||{}).field).length},enumerable:!1,configurable:!0}),Object.defineProperty(Za.prototype,"filterLabel",{get:function(){var e=this.localization.get("filterMenuTitle")||"",t=this.column.title||this.column.field;return be(e,"columnName",t)},enumerable:!1,configurable:!0}),Za.prototype.toggle=function(e,t){return this.popupRef=this.popupService.open(e,t,this.popupRef),this.popupRef||(this.navigationService.enabled?this.navigationService.focusCell(0,this.column.leafIndex):this.anchor.nativeElement.focus()),!1},Za.prototype.close=function(){this.popupService.destroy(),this.navigationService.enabled?this.navigationService.focusCell(0,this.column.leafIndex):this.anchor.nativeElement.focus()};var Wa=Za;function Za(e,t,n,o){this.filterService=e,this.popupService=t,this.localization=n,this.navigationService=o,this.tabIndex="-1"}Wa.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Wa,deps:[{token:v},{token:er},{token:a.LocalizationService},{token:m}],target:i.ɵɵFactoryTarget.Component}),Wa.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Wa,selector:"kendo-grid-filter-menu",inputs:{column:"column",filter:"filter",tabIndex:"tabIndex"},viewQueries:[{propertyName:"anchor",first:!0,predicate:["anchor"],descendants:!0,static:!0},{propertyName:"template",first:!0,predicate:["template"],descendants:!0,read:P.TemplateRef,static:!0}],ngImport:i,template:'\n <a #anchor\n [ngClass]="{\'k-grid-filter\':true, \'k-state-active\': hasFilters}"\n [tabindex]="tabIndex"\n (click)="toggle(anchor, template)"\n (keydown.enter)="$event.stopImmediatePropagation()"\n href="#"\n [attr.title]="filterLabel">\n <span class="k-icon k-i-filter"></span>\n </a>\n <ng-template #template>\n <kendo-grid-filter-menu-container\n [column]="column"\n [filter]="filter"\n (close)="close()"\n (keydown.escape)="close()"\n (keydown.enter)="$event.stopImmediatePropagation()"\n >\n </kendo-grid-filter-menu-container>\n </ng-template>\n ',isInline:!0,components:[{type:qa,selector:"kendo-grid-filter-menu-container",inputs:["column","isLast","isExpanded","menuTabbingService","filter","actionsClass"],outputs:["close"]}],directives:[{type:s.NgClass,selector:"[ngClass]",inputs:["class","ngClass"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Wa,decorators:[{type:P.Component,args:[{selector:"kendo-grid-filter-menu",template:'\n <a #anchor\n [ngClass]="{\'k-grid-filter\':true, \'k-state-active\': hasFilters}"\n [tabindex]="tabIndex"\n (click)="toggle(anchor, template)"\n (keydown.enter)="$event.stopImmediatePropagation()"\n href="#"\n [attr.title]="filterLabel">\n <span class="k-icon k-i-filter"></span>\n </a>\n <ng-template #template>\n <kendo-grid-filter-menu-container\n [column]="column"\n [filter]="filter"\n (close)="close()"\n (keydown.escape)="close()"\n (keydown.enter)="$event.stopImmediatePropagation()"\n >\n </kendo-grid-filter-menu-container>\n </ng-template>\n '}]}],ctorParameters:function(){return[{type:v},{type:er},{type:a.LocalizationService},{type:m}]},propDecorators:{column:[{type:P.Input}],filter:[{type:P.Input}],anchor:[{type:P.ViewChild,args:["anchor",{static:!0}]}],template:[{type:P.ViewChild,args:["template",{static:!0,read:P.TemplateRef}]}],tabIndex:[{type:P.Input}]}});Qa.prototype.close=function(){this.closeMenu.emit()};var Ua=Qa;function Qa(e){this.closeMenu=new P.EventEmitter,this.menuTabbingService=e}Ua.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ua,deps:[{token:So}],target:i.ɵɵFactoryTarget.Injectable}),Ua.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ua}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ua,decorators:[{type:P.Injectable}],ctorParameters:function(){return[{type:So}]}});Ya.prototype.ngOnInit=function(){if(P.isDevMode()&&!this.service)throw new Error("The service input of the predefined column menu components is mandatory.")},Ya.prototype.close=function(){this.service.close()};var Xa=Ya;function Ya(){this.hostClass=!0}Xa.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Xa,deps:[],target:i.ɵɵFactoryTarget.Component}),Xa.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Xa,selector:"kendo-grid-column-menu-item-base",inputs:{service:"service"},host:{properties:{"class.k-columnmenu-item-wrapper":"this.hostClass"}},ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Xa,decorators:[{type:P.Component,args:[{selector:"kendo-grid-column-menu-item-base",template:""}]}],propDecorators:{service:[{type:P.Input}],hostClass:[{type:P.HostBinding,args:["class.k-columnmenu-item-wrapper"]}]}});var Ja=function(e){this.templateRef=e},es=(Ja.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ja,deps:[{token:i.TemplateRef,optional:!0}],target:i.ɵɵFactoryTarget.Directive}),Ja.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:Ja,selector:"[kendoGridColumnMenuItemContentTemplate]",ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ja,decorators:[{type:P.Directive,args:[{selector:"[kendoGridColumnMenuItemContentTemplate]"}]}],ctorParameters:function(){return[{type:i.TemplateRef,decorators:[{type:P.Optional}]}]}}),Object.defineProperty(ts.prototype,"iconClass",{get:function(){return"k-i-"+this.icon},enumerable:!1,configurable:!0}),ts.prototype.ngOnChanges=function(e){e.expanded&&this.updateContentState()},ts.prototype.onClick=function(e){this.itemClick.emit(e),this.contentTemplate&&(this.expanded=!this.expanded,this.updateContentState(),(this.expanded?this.expand:this.collapse).emit())},ts.prototype.updateContentState=function(){this.contentState=this.expanded?"expanded":"collapsed"},ts);function ts(){this.itemClick=new P.EventEmitter,this.expand=new P.EventEmitter,this.collapse=new P.EventEmitter,this.contentState="collapsed"}es.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:es,deps:[],target:i.ɵɵFactoryTarget.Component}),es.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:es,selector:"kendo-grid-columnmenu-item",inputs:{icon:"icon",text:"text",selected:"selected",disabled:"disabled",expanded:"expanded"},outputs:{itemClick:"itemClick",expand:"expand",collapse:"collapse"},queries:[{propertyName:"contentTemplate",first:!0,predicate:Ja,descendants:!0}],usesOnChanges:!0,ngImport:i,template:'\n <div\n class="k-columnmenu-item"\n (click)="onClick($event)"\n (keydown.enter)="onClick($event)"\n [class.k-state-selected]="selected"\n [class.k-state-disabled]="disabled"\n role="button"\n [attr.aria-expanded]="expanded">\n <span *ngIf="icon" class="k-icon" [ngClass]="iconClass">\n </span>\n {{ text }}\n </div>\n <div *ngIf="contentTemplate" [@state]="contentState" style="overflow:hidden;" class="k-columnmenu-item-content">\n <ng-container [ngTemplateOutlet]="contentTemplate.templateRef">\n </ng-container>\n <div>\n ',isInline:!0,directives:[{type:s.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{type:s.NgClass,selector:"[ngClass]",inputs:["class","ngClass"]},{type:s.NgTemplateOutlet,selector:"[ngTemplateOutlet]",inputs:["ngTemplateOutletContext","ngTemplateOutlet"]}],animations:[r.trigger("state",[r.state("collapsed",r.style({display:"none"})),r.state("expanded",r.style({display:"block"})),r.transition("collapsed => expanded",[r.style({height:"0px",display:"block"}),r.animate("100ms ease-in",r.style({height:"*"}))]),r.transition("expanded => collapsed",[r.style({height:"*"}),r.animate("100ms ease-in",r.style({height:"0px"}))])])]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:es,decorators:[{type:P.Component,args:[{animations:[r.trigger("state",[r.state("collapsed",r.style({display:"none"})),r.state("expanded",r.style({display:"block"})),r.transition("collapsed => expanded",[r.style({height:"0px",display:"block"}),r.animate("100ms ease-in",r.style({height:"*"}))]),r.transition("expanded => collapsed",[r.style({height:"*"}),r.animate("100ms ease-in",r.style({height:"0px"}))])])],selector:"kendo-grid-columnmenu-item",template:'\n <div\n class="k-columnmenu-item"\n (click)="onClick($event)"\n (keydown.enter)="onClick($event)"\n [class.k-state-selected]="selected"\n [class.k-state-disabled]="disabled"\n role="button"\n [attr.aria-expanded]="expanded">\n <span *ngIf="icon" class="k-icon" [ngClass]="iconClass">\n </span>\n {{ text }}\n </div>\n <div *ngIf="contentTemplate" [@state]="contentState" style="overflow:hidden;" class="k-columnmenu-item-content">\n <ng-container [ngTemplateOutlet]="contentTemplate.templateRef">\n </ng-container>\n <div>\n '}]}],propDecorators:{itemClick:[{type:P.Output}],expand:[{type:P.Output}],collapse:[{type:P.Output}],icon:[{type:P.Input}],text:[{type:P.Input}],selected:[{type:P.Input}],disabled:[{type:P.Input}],expanded:[{type:P.Input}],contentTemplate:[{type:P.ContentChild,args:[Ja,{static:!1}]}]}});c(rs,ns=Xa),Object.defineProperty(rs.prototype,"text",{get:function(){return this.localization.get(this.locked?"unlock":"lock")},enumerable:!1,configurable:!0}),Object.defineProperty(rs.prototype,"icon",{get:function(){return this.locked?"unlock":"lock"},enumerable:!1,configurable:!0}),Object.defineProperty(rs.prototype,"disabled",{get:function(){return!this.locked&&this.columnInfoService.unlockedRootCount<2},enumerable:!1,configurable:!0}),rs.prototype.toggleColumn=function(){this.toggleHierarchy(!this.locked),this.close(),this.changeDetector.markForCheck()},rs.prototype.toggleHierarchy=function(e){for(var t=this.service.column;t.parent;)t=t.parent;for(var n=[t],o=[];n.length;){var r=n.shift();r.locked=e,o.push(r),r.hasChildren&&n.push.apply(n,g([],k(r.childrenArray)))}this.columnInfoService.changeLocked(o)},Object.defineProperty(rs.prototype,"locked",{get:function(){return this.service.column.locked},enumerable:!1,configurable:!0});var ns,os=rs;function rs(e,t,n){var o=ns.call(this)||this;return o.localization=e,o.columnInfoService=t,o.changeDetector=n,o}os.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:os,deps:[{token:a.LocalizationService},{token:C},{token:i.ChangeDetectorRef}],target:i.ɵɵFactoryTarget.Component}),os.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:os,selector:"kendo-grid-columnmenu-lock",usesInheritance:!0,ngImport:i,template:'\n <kendo-grid-columnmenu-item\n [text]="text"\n [icon]="icon"\n (itemClick)="toggleColumn()"\n [disabled]="disabled">\n </kendo-grid-columnmenu-item>\n ',isInline:!0,components:[{type:es,selector:"kendo-grid-columnmenu-item",inputs:["icon","text","selected","disabled","expanded"],outputs:["itemClick","expand","collapse"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:os,decorators:[{type:P.Component,args:[{selector:"kendo-grid-columnmenu-lock",template:'\n <kendo-grid-columnmenu-item\n [text]="text"\n [icon]="icon"\n (itemClick)="toggleColumn()"\n [disabled]="disabled">\n </kendo-grid-columnmenu-item>\n '}]}],ctorParameters:function(){return[{type:a.LocalizationService},{type:C},{type:i.ChangeDetectorRef}]}});c(ss,is=Xa),Object.defineProperty(ss.prototype,"text",{get:function(){return this.localization.get(this.sticky?"unstick":"stick")},enumerable:!1,configurable:!0}),Object.defineProperty(ss.prototype,"icon",{get:function(){return this.sticky?"unstick":"stick"},enumerable:!1,configurable:!0}),Object.defineProperty(ss.prototype,"disabled",{get:function(){return!this.sticky&&this.columnInfoService.unlockedRootCount<2},enumerable:!1,configurable:!0}),ss.prototype.toggleColumn=function(){this.toggleHierarchy(!this.sticky),this.close(),this.changeDetector.markForCheck()},ss.prototype.toggleHierarchy=function(e){for(var t=this.service.column;t.parent;)t=t.parent;for(var n=[t],o=[];n.length;){var r=n.shift();r.sticky=e,o.push(r),r.hasChildren&&n.push.apply(n,g([],k(r.childrenArray)))}this.columnInfoService.changeStuck(o)},Object.defineProperty(ss.prototype,"sticky",{get:function(){return this.service.column.sticky},enumerable:!1,configurable:!0});var is,as=ss;function ss(e,t,n){var o=is.call(this)||this;return o.localization=e,o.columnInfoService=t,o.changeDetector=n,o}as.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:as,deps:[{token:a.LocalizationService},{token:C},{token:i.ChangeDetectorRef}],target:i.ɵɵFactoryTarget.Component}),as.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:as,selector:"kendo-grid-columnmenu-stick",usesInheritance:!0,ngImport:i,template:'\n <kendo-grid-columnmenu-item [text]="text" [icon]="icon" (itemClick)="toggleColumn()" [disabled]="disabled">\n </kendo-grid-columnmenu-item>\n ',isInline:!0,components:[{type:es,selector:"kendo-grid-columnmenu-item",inputs:["icon","text","selected","disabled","expanded"],outputs:["itemClick","expand","collapse"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:as,decorators:[{type:P.Component,args:[{selector:"kendo-grid-columnmenu-stick",template:'\n <kendo-grid-columnmenu-item [text]="text" [icon]="icon" (itemClick)="toggleColumn()" [disabled]="disabled">\n </kendo-grid-columnmenu-item>\n '}]}],ctorParameters:function(){return[{type:a.LocalizationService},{type:C},{type:i.ChangeDetectorRef}]}});c(ps,ls=Xa),Object.defineProperty(ps.prototype,"isLast",{get:function(){return this._isLast},set:function(e){this.service.menuTabbingService.lastFocusable=this.getLastFocusableItem(),this._isLast=e},enumerable:!1,configurable:!0}),ps.prototype.onTab=function(e,t){this.isLast&&t&&(e.preventDefault(),e.stopImmediatePropagation(),this.service&&this.service.menuTabbingService.firstFocusable.focus())},ps.prototype.onCollapse=function(){this.expanded=!1,this.isLast&&(this.service.menuTabbingService.lastFocusable=this.getLastFocusableItem()),this.collapse.emit()},ps.prototype.onExpand=function(){this.expanded=!0,this.isLast&&(this.service.menuTabbingService.lastFocusable=this.getLastFocusableItem()),this.expand.emit()},ps.prototype.getLastFocusableItem=function(){var e=this.hostElement.nativeElement.querySelectorAll(".k-columnmenu-item");return e[this.expanded?e.length-1:0]};var ls,cs=ps;function ps(e,t){var n=ls.call(this)||this;return n.localization=e,n.hostElement=t,n.expand=new P.EventEmitter,n.collapse=new P.EventEmitter,n.expanded=!1,n.actionsClass="k-columnmenu-actions",n._isLast=!1,n}cs.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:cs,deps:[{token:a.LocalizationService},{token:i.ElementRef}],target:i.ɵɵFactoryTarget.Component}),cs.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:cs,selector:"kendo-grid-columnmenu-position",inputs:{expanded:"expanded",showLock:"showLock",showStick:"showStick",isLast:"isLast"},outputs:{expand:"expand",collapse:"collapse"},usesInheritance:!0,ngImport:i,template:'\n <kendo-grid-columnmenu-item\n [text]="localization.get(\'setColumnPosition\')"\n icon="set-column-position"\n [expanded]="expanded"\n (keydown.tab)="onTab($event, !expanded)"\n (collapse)="onCollapse()"\n (expand)="onExpand()">\n <ng-template kendoGridColumnMenuItemContentTemplate>\n <kendo-grid-columnmenu-lock\n *ngIf="showLock"\n (keydown.tab)="onTab($event, !showStick)"\n [service]="service">\n </kendo-grid-columnmenu-lock>\n <kendo-grid-columnmenu-stick\n *ngIf="showStick"\n (keydown.tab)="onTab($event, true)"\n [service]="service">\n </kendo-grid-columnmenu-stick>\n </ng-template>\n </kendo-grid-columnmenu-item>\n ',isInline:!0,components:[{type:es,selector:"kendo-grid-columnmenu-item",inputs:["icon","text","selected","disabled","expanded"],outputs:["itemClick","expand","collapse"]},{type:os,selector:"kendo-grid-columnmenu-lock"},{type:as,selector:"kendo-grid-columnmenu-stick"}],directives:[{type:Ja,selector:"[kendoGridColumnMenuItemContentTemplate]"},{type:s.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:cs,decorators:[{type:P.Component,args:[{selector:"kendo-grid-columnmenu-position",template:'\n <kendo-grid-columnmenu-item\n [text]="localization.get(\'setColumnPosition\')"\n icon="set-column-position"\n [expanded]="expanded"\n (keydown.tab)="onTab($event, !expanded)"\n (collapse)="onCollapse()"\n (expand)="onExpand()">\n <ng-template kendoGridColumnMenuItemContentTemplate>\n <kendo-grid-columnmenu-lock\n *ngIf="showLock"\n (keydown.tab)="onTab($event, !showStick)"\n [service]="service">\n </kendo-grid-columnmenu-lock>\n <kendo-grid-columnmenu-stick\n *ngIf="showStick"\n (keydown.tab)="onTab($event, true)"\n [service]="service">\n </kendo-grid-columnmenu-stick>\n </ng-template>\n </kendo-grid-columnmenu-item>\n '}]}],ctorParameters:function(){return[{type:a.LocalizationService},{type:i.ElementRef}]},propDecorators:{expand:[{type:P.Output}],collapse:[{type:P.Output}],expanded:[{type:P.Input}],showLock:[{type:P.Input}],showStick:[{type:P.Input}],isLast:[{type:P.Input}]}});Object.defineProperty(us.prototype,"className",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(us.prototype,"columns",{get:function(){return this._columns},set:function(e){this._columns=e.filter(function(e){return!1!==e.includeInChooser}),this.allColumns=e,this.updateColumnState()},enumerable:!1,configurable:!0}),us.prototype.isDisabled=function(t){return!(this.allowHideAll||this.hasFiltered||t.hidden||this.columns.find(function(e){return e!==t&&!e.hidden}))||this.hasVisibleLocked&&!this.hasUnlockedFiltered&&1===this.unlockedCount&&!t.locked&&!t.hidden},us.prototype.ngOnInit=function(){var r=this;this.element&&this.ngZone.runOutsideAngular(function(){r.domSubscriptions=r.renderer.listen(r.element.nativeElement,"click",function(e){var t,n,o;Ve(e.target,"k-checkbox")&&(r.autoSync?(t=parseInt(e.target.getAttribute("data-index"),10),n=r.columns[t],o=!e.target.checked,Boolean(n.hidden)!==o&&r.ngZone.run(function(){n.hidden=o,r.columnChange.emit([n])})):r.updateDisabled())})})},us.prototype.ngOnChanges=function(e){this.service&&(e.isLast&&this.isLast&&(this.service.menuTabbingService.lastFocusable=this.applyButton.nativeElement),e.isExpanded&&this.isExpanded&&this.isLast&&this.applyButton&&(this.service.menuTabbingService.lastFocusable=this.applyButton.nativeElement))},us.prototype.ngOnDestroy=function(){this.domSubscriptions&&this.domSubscriptions()},us.prototype.cancelChanges=function(){var n=this;this.forEachCheckBox(function(e,t){e.checked=!n.columns[t].hidden}),this.updateDisabled(),this.reset.emit()},us.prototype.applyChanges=function(){var n=this,o=[];this.forEachCheckBox(function(e,t){t=n.columns[t],e=!e.checked;Boolean(t.hidden)!==e&&(t.hidden=e,o.push(t))}),this.updateDisabled(),this.apply.emit(o)},us.prototype.onTab=function(e){this.isLast&&(e.preventDefault(),this.service&&this.service.menuTabbingService.firstFocusable.focus())},us.prototype.forEachCheckBox=function(e){for(var t=this.element.nativeElement.getElementsByClassName("k-checkbox"),n=t.length,o=0;o<n;o++)e(t[o],o)},us.prototype.updateDisabled=function(){var n,t,e;this.allowHideAll&&!this.hasLocked||(n=[],this.forEachCheckBox(function(e,t){e.checked&&n.push({checkbox:e,index:t}),e.disabled=!1}),this.allowHideAll||1!==n.length||this.hasFiltered?this.hasLocked&&!this.hasUnlockedFiltered&&(t=this.columns,1===(e=n.filter(function(e){return!t[e.index].locked})).length&&(e[0].checkbox.disabled=!0)):n[0].checkbox.disabled=!0)},us.prototype.updateColumnState=function(){this.hasLocked=0<this.allColumns.filter(function(e){return e.locked&&(!e.hidden||!1!==e.includeInChooser)}).length,this.hasVisibleLocked=0<this.allColumns.filter(function(e){return e.locked&&!e.hidden}).length,this.unlockedCount=this.columns.filter(function(e){return!e.locked&&!e.hidden}).length;var e=this.allColumns.filter(function(e){return!1===e.includeInChooser&&!e.hidden});e.length?(this.hasFiltered=0<e.length,this.hasUnlockedFiltered=0<e.filter(function(e){return!e.locked}).length):(this.hasFiltered=!1,this.hasUnlockedFiltered=!1)};r=us;function us(e,t,n){this.element=e,this.ngZone=t,this.renderer=n,this.reset=new P.EventEmitter,this.apply=new P.EventEmitter,this.columnChange=new P.EventEmitter,this.autoSync=!0,this.allowHideAll=!1,this.actionsClass="k-action-buttons",this.unlockedCount=0}r.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:r,deps:[{token:i.ElementRef},{token:i.NgZone},{token:i.Renderer2}],target:i.ɵɵFactoryTarget.Component}),r.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:r,selector:"kendo-grid-columnlist",inputs:{columns:"columns",autoSync:"autoSync",allowHideAll:"allowHideAll",applyText:"applyText",resetText:"resetText",actionsClass:"actionsClass",isLast:"isLast",isExpanded:"isExpanded",service:"service"},outputs:{reset:"reset",apply:"apply",columnChange:"columnChange"},host:{properties:{"class.k-column-list-wrapper":"this.className"}},viewQueries:[{propertyName:"applyButton",first:!0,predicate:["applyButton"],descendants:!0}],usesOnChanges:!0,ngImport:i,template:'\n <div class="k-column-list">\n <label *ngFor="let column of columns; let index = index;" class=\'k-column-list-item\'>\n <input class="k-checkbox k-checkbox-md k-rounded-md" type="checkbox" [attr.data-index]="index" [checked]="!column.hidden" [disabled]="isDisabled(column)" /><span class="k-checkbox-label">{{ column.displayTitle }}</span>\n </label>\n </div>\n <div [ngClass]="actionsClass" *ngIf="!autoSync">\n <button type="button" class="k-button k-button-solid-base k-button-solid k-button-md k-rounded-md k-button-rectangle" (click)="cancelChanges()">{{ resetText }}</button>\n <button #applyButton type="button" (keydown.tab)="onTab($event)" class="k-button k-button-solid-primary k-button-solid k-button-md k-rounded-md k-button-rectangle" (click)="applyChanges()">{{ applyText }}</button>\n </div>\n ',isInline:!0,directives:[{type:s.NgForOf,selector:"[ngFor][ngForOf]",inputs:["ngForOf","ngForTrackBy","ngForTemplate"]},{type:s.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{type:s.NgClass,selector:"[ngClass]",inputs:["class","ngClass"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:r,decorators:[{type:P.Component,args:[{selector:"kendo-grid-columnlist",template:'\n <div class="k-column-list">\n <label *ngFor="let column of columns; let index = index;" class=\'k-column-list-item\'>\n <input class="k-checkbox k-checkbox-md k-rounded-md" type="checkbox" [attr.data-index]="index" [checked]="!column.hidden" [disabled]="isDisabled(column)" /><span class="k-checkbox-label">{{ column.displayTitle }}</span>\n </label>\n </div>\n <div [ngClass]="actionsClass" *ngIf="!autoSync">\n <button type="button" class="k-button k-button-solid-base k-button-solid k-button-md k-rounded-md k-button-rectangle" (click)="cancelChanges()">{{ resetText }}</button>\n <button #applyButton type="button" (keydown.tab)="onTab($event)" class="k-button k-button-solid-primary k-button-solid k-button-md k-rounded-md k-button-rectangle" (click)="applyChanges()">{{ applyText }}</button>\n </div>\n '}]}],ctorParameters:function(){return[{type:i.ElementRef},{type:i.NgZone},{type:i.Renderer2}]},propDecorators:{className:[{type:P.HostBinding,args:["class.k-column-list-wrapper"]}],reset:[{type:P.Output}],apply:[{type:P.Output}],columnChange:[{type:P.Output}],columns:[{type:P.Input}],autoSync:[{type:P.Input}],allowHideAll:[{type:P.Input}],applyText:[{type:P.Input}],resetText:[{type:P.Input}],actionsClass:[{type:P.Input}],isLast:[{type:P.Input}],isExpanded:[{type:P.Input}],service:[{type:P.Input}],applyButton:[{type:P.ViewChild,args:["applyButton",{static:!1}]}]}});c(ms,ds=Xa),Object.defineProperty(ms.prototype,"columns",{get:function(){return this.columnInfoService.leafNamedColumns},enumerable:!1,configurable:!0}),ms.prototype.onApply=function(e){this.close(),e.length&&(this.changeDetector.markForCheck(),this.columnInfoService.changeVisibility(e))},ms.prototype.onCollapse=function(){this.expanded=!1,this.isLast&&(this.service.menuTabbingService.lastFocusable=this.hostElement.nativeElement.querySelector(".k-columnmenu-item")),this.collapse.emit()},ms.prototype.onExpand=function(){this.expanded=!0,this.expand.emit()};var ds,gs=ms;function ms(e,t,n,o){var r=ds.call(this)||this;return r.localization=e,r.columnInfoService=t,r.changeDetector=n,r.hostElement=o,r.expand=new P.EventEmitter,r.collapse=new P.EventEmitter,r.expanded=!1,r.isLast=!1,r.actionsClass="k-columnmenu-actions",r}gs.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:gs,deps:[{token:a.LocalizationService},{token:C},{token:i.ChangeDetectorRef},{token:i.ElementRef}],target:i.ɵɵFactoryTarget.Component}),gs.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:gs,selector:"kendo-grid-columnmenu-chooser",inputs:{expanded:"expanded",isLast:"isLast"},outputs:{expand:"expand",collapse:"collapse"},usesInheritance:!0,ngImport:i,template:'\n <kendo-grid-columnmenu-item\n [text]="localization.get(\'columns\')"\n icon="columns"\n [expanded]="expanded"\n (collapse)="onCollapse()"\n (expand)="onExpand()">\n <ng-template kendoGridColumnMenuItemContentTemplate>\n <kendo-grid-columnlist\n [applyText]="localization.get(\'columnsApply\')"\n [resetText]="localization.get(\'columnsReset\')"\n [columns]="columns"\n [autoSync]="false"\n [allowHideAll]="false"\n [actionsClass]="actionsClass"\n [isLast]="isLast"\n [isExpanded]="expanded"\n [service]="service"\n (apply)="onApply($event)">\n </kendo-grid-columnlist>\n </ng-template>\n </kendo-grid-columnmenu-item>\n ',isInline:!0,components:[{type:es,selector:"kendo-grid-columnmenu-item",inputs:["icon","text","selected","disabled","expanded"],outputs:["itemClick","expand","collapse"]},{type:r,selector:"kendo-grid-columnlist",inputs:["columns","autoSync","allowHideAll","applyText","resetText","actionsClass","isLast","isExpanded","service"],outputs:["reset","apply","columnChange"]}],directives:[{type:Ja,selector:"[kendoGridColumnMenuItemContentTemplate]"}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:gs,decorators:[{type:P.Component,args:[{selector:"kendo-grid-columnmenu-chooser",template:'\n <kendo-grid-columnmenu-item\n [text]="localization.get(\'columns\')"\n icon="columns"\n [expanded]="expanded"\n (collapse)="onCollapse()"\n (expand)="onExpand()">\n <ng-template kendoGridColumnMenuItemContentTemplate>\n <kendo-grid-columnlist\n [applyText]="localization.get(\'columnsApply\')"\n [resetText]="localization.get(\'columnsReset\')"\n [columns]="columns"\n [autoSync]="false"\n [allowHideAll]="false"\n [actionsClass]="actionsClass"\n [isLast]="isLast"\n [isExpanded]="expanded"\n [service]="service"\n (apply)="onApply($event)">\n </kendo-grid-columnlist>\n </ng-template>\n </kendo-grid-columnmenu-item>\n '}]}],ctorParameters:function(){return[{type:a.LocalizationService},{type:C},{type:i.ChangeDetectorRef},{type:i.ElementRef}]},propDecorators:{expand:[{type:P.Output}],collapse:[{type:P.Output}],expanded:[{type:P.Input}],isLast:[{type:P.Input}]}});c(ys,hs=Xa),ys.prototype.onCollapse=function(){this.expanded=!1,this.isLast&&(this.service.menuTabbingService.lastFocusable=this.hostElement.nativeElement.querySelector(".k-columnmenu-item")),this.collapse.emit()},ys.prototype.onExpand=function(){this.expanded=!0,this.expand.emit()};var hs,fs=ys;function ys(e,t){var n=hs.call(this)||this;return n.localization=e,n.hostElement=t,n.expand=new P.EventEmitter,n.collapse=new P.EventEmitter,n.expanded=!1,n.isLast=!1,n.actionsClass="k-columnmenu-actions",n}fs.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:fs,deps:[{token:a.LocalizationService},{token:i.ElementRef}],target:i.ɵɵFactoryTarget.Component}),fs.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:fs,selector:"kendo-grid-columnmenu-filter",inputs:{expanded:"expanded",isLast:"isLast"},outputs:{expand:"expand",collapse:"collapse"},usesInheritance:!0,ngImport:i,template:'\n <kendo-grid-columnmenu-item\n [text]="localization.get(\'filter\')"\n icon="filter"\n [expanded]="expanded"\n (collapse)="onCollapse()"\n (expand)="onExpand()">\n <ng-template kendoGridColumnMenuItemContentTemplate>\n <kendo-grid-filter-menu-container\n [column]="service.column"\n [menuTabbingService]="service.menuTabbingService"\n [filter]="service.filter"\n [actionsClass]="actionsClass"\n [isLast]="isLast"\n [isExpanded]="expanded"\n (keydown.shift.tab)="$event.stopImmediatePropagation()"\n (close)="close()">\n </kendo-grid-filter-menu-container>\n </ng-template>\n </kendo-grid-columnmenu-item>\n ',isInline:!0,components:[{type:es,selector:"kendo-grid-columnmenu-item",inputs:["icon","text","selected","disabled","expanded"],outputs:["itemClick","expand","collapse"]},{type:qa,selector:"kendo-grid-filter-menu-container",inputs:["column","isLast","isExpanded","menuTabbingService","filter","actionsClass"],outputs:["close"]}],directives:[{type:Ja,selector:"[kendoGridColumnMenuItemContentTemplate]"}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:fs,decorators:[{type:P.Component,args:[{selector:"kendo-grid-columnmenu-filter",template:'\n <kendo-grid-columnmenu-item\n [text]="localization.get(\'filter\')"\n icon="filter"\n [expanded]="expanded"\n (collapse)="onCollapse()"\n (expand)="onExpand()">\n <ng-template kendoGridColumnMenuItemContentTemplate>\n <kendo-grid-filter-menu-container\n [column]="service.column"\n [menuTabbingService]="service.menuTabbingService"\n [filter]="service.filter"\n [actionsClass]="actionsClass"\n [isLast]="isLast"\n [isExpanded]="expanded"\n (keydown.shift.tab)="$event.stopImmediatePropagation()"\n (close)="close()">\n </kendo-grid-filter-menu-container>\n </ng-template>\n </kendo-grid-columnmenu-item>\n '}]}],ctorParameters:function(){return[{type:a.LocalizationService},{type:i.ElementRef}]},propDecorators:{expand:[{type:P.Output}],collapse:[{type:P.Output}],expanded:[{type:P.Input}],isLast:[{type:P.Input}]}});Object.defineProperty(bs.prototype,"isFirst",{get:function(){return this._isFirst},set:function(e){var t,n=this;e&&(t=this.columnMenuItems[0],this.menuItemComponent.service.menuTabbingService.firstFocusable=t,this.ngZone.runOutsideAngular(function(){var e=n.renderer.listen(t,"keydown",n.onTab);n.subs.add(e)})),this._isFirst=e},enumerable:!1,configurable:!0}),Object.defineProperty(bs.prototype,"isLast",{get:function(){return this._isLast},set:function(e){var t,n=this;this.columnMenuItems&&(e&&(t=this.getLastColumnMenuItem(),this.menuItemComponent.service.menuTabbingService.lastFocusable=t,this.ngZone.runOutsideAngular(function(){var e=n.renderer.listen(t,"keydown",n.onTab);n.subs.add(e)}),this.isExpandableItem()&&(this.menuItemComponent.isLast=!0)),this._isLast=e)},enumerable:!1,configurable:!0}),bs.prototype.ngAfterViewInit=function(){var t=this;this.columnMenuItems=this.hostElement.nativeElement.querySelectorAll(".k-columnmenu-item"),[].slice.apply(this.columnMenuItems).forEach(function(e){return t.renderer.setAttribute(e,"tabindex","0")}),this.menuItemComponent instanceof fs&&(this.menuItemComponent.service.menuTabbingService.isColumnMenu=!0)},bs.prototype.ngOnDestroy=function(){this.subs&&this.subs.unsubscribe()},bs.prototype.getLastColumnMenuItem=function(){return 1===this.columnMenuItems.length?this.columnMenuItems[0]:this.columnMenuItems[1]},bs.prototype.isExpandableItem=function(){return this.menuItemComponent instanceof fs||this.menuItemComponent instanceof gs||this.menuItemComponent instanceof cs};var vs=bs;function bs(e,t,n){var o=this;this.hostElement=e,this.renderer=t,this.ngZone=n,this._isFirst=!1,this._isLast=!1,this.subs=new b.Subscription,this.onTab=function(e){var t,n;e.keyCode===p.Keys.Tab&&(o.isFirst&&e.shiftKey&&e.target===o.columnMenuItems[0]&&(e.preventDefault(),o.menuItemComponent.service.menuTabbingService.lastFocusable.focus()),o.isLast&&!e.shiftKey&&(t=o.getLastColumnMenuItem(),n=o.menuItemComponent.expanded,t!==e.target||n||(e.preventDefault(),o.menuItemComponent.service.menuTabbingService.firstFocusable.focus())))}}vs.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:vs,deps:[{token:i.ElementRef},{token:i.Renderer2},{token:i.NgZone}],target:i.ɵɵFactoryTarget.Directive}),vs.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:vs,selector:"[kendoGridColumnMenuItem]",inputs:{menuItemComponent:["kendoGridColumnMenuItem","menuItemComponent"]},ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:vs,decorators:[{type:P.Directive,args:[{selector:"[kendoGridColumnMenuItem]"}]}],ctorParameters:function(){return[{type:i.ElementRef},{type:i.Renderer2},{type:i.NgZone}]},propDecorators:{menuItemComponent:[{type:P.Input,args:["kendoGridColumnMenuItem"]}]}});Cs.prototype.ngAfterContentInit=function(){var e=this;this.columnMenuItems.length&&(this.columnMenuItems.first.isFirst=!0,this.columnMenuItems.last.isLast=!0,this.ngZone.onStable.pipe(G.take(1)).subscribe(function(){return e.service.menuTabbingService.firstFocusable.focus()}))};var ks=Cs;function Cs(e,t){this.service=e,this.ngZone=t}ks.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ks,deps:[{token:Ua},{token:i.NgZone}],target:i.ɵɵFactoryTarget.Component}),ks.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:ks,selector:"kendo-grid-columnmenu-container",queries:[{propertyName:"columnMenuItems",predicate:vs,descendants:!0}],ngImport:i,template:"\n <ng-content></ng-content>\n ",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ks,decorators:[{type:P.Component,args:[{selector:"kendo-grid-columnmenu-container",template:"\n <ng-content></ng-content>\n "}]}],ctorParameters:function(){return[{type:Ua},{type:i.NgZone}]},propDecorators:{columnMenuItems:[{type:P.ContentChildren,args:[vs,{descendants:!0}]}]}});c(ws,Is=Xa),Object.defineProperty(ws.prototype,"sortedAsc",{get:function(){var e=this.descriptor;return e&&(!e.dir||"asc"===e.dir)},enumerable:!1,configurable:!0}),Object.defineProperty(ws.prototype,"sortedDesc",{get:function(){var e=this.descriptor;return e&&"desc"===e.dir},enumerable:!1,configurable:!0}),ws.prototype.toggleSort=function(e){var t=this.service.column.field,n=Ii(this.service.sortable),o=n.mode,n=n.allowUnsort,r=this.descriptor,o="multiple"===o?this.service.sort.filter(function(e){return e.field!==t}):[];if(r&&r.dir===e){if(!n)return}else o.push({field:t,dir:e});this.sortService.sort(o),this.close()},Object.defineProperty(ws.prototype,"descriptor",{get:function(){var t=this;return[].concat(this.service.sort||[]).find(function(e){return e.field===t.service.column.field})},enumerable:!1,configurable:!0});var Is,xs=ws;function ws(e,t,n){var o=Is.call(this)||this;return o.localization=e,o.sortService=t,o.renderer=n,o}xs.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:xs,deps:[{token:a.LocalizationService},{token:Sr},{token:i.Renderer2}],target:i.ɵɵFactoryTarget.Component}),xs.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:xs,selector:"kendo-grid-columnmenu-sort",usesInheritance:!0,ngImport:i,template:'\n <kendo-grid-columnmenu-item\n [text]="localization.get(\'sortAscending\')"\n icon="sort-asc-sm"\n (itemClick)="toggleSort(\'asc\')"\n [selected]="sortedAsc">\n </kendo-grid-columnmenu-item>\n <kendo-grid-columnmenu-item\n [text]="localization.get(\'sortDescending\')"\n icon="sort-desc-sm"\n (itemClick)="toggleSort(\'desc\')"\n [selected]="sortedDesc">\n </kendo-grid-columnmenu-item>\n ',isInline:!0,components:[{type:es,selector:"kendo-grid-columnmenu-item",inputs:["icon","text","selected","disabled","expanded"],outputs:["itemClick","expand","collapse"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:xs,decorators:[{type:P.Component,args:[{selector:"kendo-grid-columnmenu-sort",template:'\n <kendo-grid-columnmenu-item\n [text]="localization.get(\'sortAscending\')"\n icon="sort-asc-sm"\n (itemClick)="toggleSort(\'asc\')"\n [selected]="sortedAsc">\n </kendo-grid-columnmenu-item>\n <kendo-grid-columnmenu-item\n [text]="localization.get(\'sortDescending\')"\n icon="sort-desc-sm"\n (itemClick)="toggleSort(\'desc\')"\n [selected]="sortedDesc">\n </kendo-grid-columnmenu-item>\n '}]}],ctorParameters:function(){return[{type:a.LocalizationService},{type:Sr},{type:i.Renderer2}]}});Object.defineProperty(Ds.prototype,"isActive",{get:function(){var t=this;return this.hasFilter&&0<Gi(this.filter,this.column.field).length||!this.sortable&&this.hasSort&&this.sort.find(function(e){return e.field===t.column.field})},enumerable:!1,configurable:!0}),Object.defineProperty(Ds.prototype,"hasFilter",{get:function(){return xi(this.settings,this.column)},enumerable:!1,configurable:!0}),Object.defineProperty(Ds.prototype,"hasSort",{get:function(){return wi(this.settings,this.column)},enumerable:!1,configurable:!0}),Object.defineProperty(Ds.prototype,"hasColumnChooser",{get:function(){return Di(this.settings)},enumerable:!1,configurable:!0}),Object.defineProperty(Ds.prototype,"hasLock",{get:function(){return Si(this.settings,this.column)},enumerable:!1,configurable:!0}),Object.defineProperty(Ds.prototype,"hasStick",{get:function(){return e=this.settings,t=this.column,e.stick&&t.stickable&&!(t.parent&&!t.parent.isSpanColumn);var e,t},enumerable:!1,configurable:!0}),Object.defineProperty(Ds.prototype,"hasPosition",{get:function(){return e=this.settings,t=this.column,e.setColumnPosition&&(t.stickable||t.lockable)&&!(t.parent&&!t.parent.isSpanColumn);var e,t},enumerable:!1,configurable:!0}),Ds.prototype.ngOnChanges=function(){this.service.column=this.column,this.service.sort=this.sort,this.service.filter=this.filter,this.service.sortable=this.sortable},Ds.prototype.ngOnDestroy=function(){this.close(),this.closeSubscription.unsubscribe()},Ds.prototype.toggle=function(e,t,n){e&&(e.preventDefault(),e.stopImmediatePropagation()),this.expandedFilter=this.getExpandedState(this.settings.filter),this.expandedColumns=this.getExpandedState(this.settings.columnChooser),this.expandedPosition=this.getExpandedState(this.settings.setColumnPosition),this.popupRef=this.popupService.open(t,n,this.popupRef,"k-grid-columnmenu-popup"),this.popupRef||(this.navigationService.enabled?this.navigationService.focusCell(0,this.column.leafIndex):this.anchor.nativeElement.focus())},Ds.prototype.close=function(){this.popupService.destroy(),this.popupRef=null,this.navigationService.enabled?this.navigationService.focusCell(0,this.column.leafIndex):this.anchor.nativeElement.focus()},Object.defineProperty(Ds.prototype,"columnMenuTitle",{get:function(){var e=this.localization.get("columnMenu")||"",t=this.column.title||this.column.field;return be(e,"columnName",t)},enumerable:!1,configurable:!0}),Ds.prototype.getExpandedState=function(e){return"object"==typeof e&&e.expanded};var Ss=Ds;function Ds(e,t,n,o){this.popupService=e,this.localization=t,this.service=n,this.navigationService=o,this.standalone=!0,this.settings={},this.sortable=!0,this.tabIndex="-1",this.expandedFilter=!1,this.expandedColumns=!1,this.expandedPosition=!1,this.closeSubscription=n.closeMenu.subscribe(this.close.bind(this))}Ss.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ss,deps:[{token:er},{token:a.LocalizationService},{token:Ua},{token:m}],target:i.ɵɵFactoryTarget.Component}),Ss.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Ss,selector:"kendo-grid-column-menu",inputs:{standalone:"standalone",column:"column",settings:"settings",sort:"sort",filter:"filter",sortable:"sortable",columnMenuTemplate:"columnMenuTemplate",tabIndex:"tabIndex"},host:{properties:{"class.k-grid-column-menu-standalone":"this.standalone"}},providers:[Ua,So],viewQueries:[{propertyName:"anchor",first:!0,predicate:["anchor"],descendants:!0,static:!0},{propertyName:"template",first:!0,predicate:["template"],descendants:!0,read:P.TemplateRef,static:!0}],usesOnChanges:!0,ngImport:i,template:'\n <a #anchor\n class="k-grid-column-menu k-grid-filter"\n [ngClass]="{ \'k-state-active\': isActive }"\n (click)="toggle($event, anchor, template)"\n (keydown.enter)="$event.stopImmediatePropagation()"\n href="#"\n [tabindex]="tabIndex"\n [attr.title]="columnMenuTitle">\n <span class="k-icon k-i-more-vertical"></span>\n </a>\n <ng-template #template>\n <ng-container\n [ngTemplateOutlet]="column.columnMenuTemplateRef || columnMenuTemplate || defaultTemplate"\n [ngTemplateOutletContext]="{ service: service, column: column }">\n </ng-container>\n </ng-template>\n <ng-template #defaultTemplate>\n <kendo-grid-columnmenu-container\n (keydown.escape)="close()"\n (keydown.enter)="$event.stopImmediatePropagation()">\n <kendo-grid-columnmenu-sort #sortItem [kendoGridColumnMenuItem]="sortItem" *ngIf="hasSort" [service]="service">\n </kendo-grid-columnmenu-sort>\n <kendo-grid-columnmenu-lock #lockItem *ngIf="hasLock && !hasPosition" [kendoGridColumnMenuItem]="lockItem" [service]="service">\n </kendo-grid-columnmenu-lock>\n <kendo-grid-columnmenu-stick #stickItem *ngIf="hasStick && !hasPosition" [kendoGridColumnMenuItem]="stickItem" [service]="service">\n </kendo-grid-columnmenu-stick>\n <kendo-grid-columnmenu-position\n #positionItem\n *ngIf="hasPosition"\n [showLock]="hasLock"\n [showStick]="hasStick"\n [kendoGridColumnMenuItem]="positionItem"\n [service]="service"\n [expanded]="expandedPosition">\n </kendo-grid-columnmenu-position>\n <kendo-grid-columnmenu-chooser\n #chooserItem\n *ngIf="hasColumnChooser"\n [kendoGridColumnMenuItem]="chooserItem"\n [service]="service"\n [expanded]="expandedColumns">\n </kendo-grid-columnmenu-chooser>\n <kendo-grid-columnmenu-filter\n #filterItem\n *ngIf="hasFilter"\n [kendoGridColumnMenuItem]="filterItem"\n [service]="service"\n [expanded]="expandedFilter">\n </kendo-grid-columnmenu-filter>\n </kendo-grid-columnmenu-container>\n </ng-template>\n ',isInline:!0,components:[{type:ks,selector:"kendo-grid-columnmenu-container"},{type:xs,selector:"kendo-grid-columnmenu-sort"},{type:os,selector:"kendo-grid-columnmenu-lock"},{type:as,selector:"kendo-grid-columnmenu-stick"},{type:cs,selector:"kendo-grid-columnmenu-position",inputs:["expanded","showLock","showStick","isLast"],outputs:["expand","collapse"]},{type:gs,selector:"kendo-grid-columnmenu-chooser",inputs:["expanded","isLast"],outputs:["expand","collapse"]},{type:fs,selector:"kendo-grid-columnmenu-filter",inputs:["expanded","isLast"],outputs:["expand","collapse"]}],directives:[{type:s.NgClass,selector:"[ngClass]",inputs:["class","ngClass"]},{type:s.NgTemplateOutlet,selector:"[ngTemplateOutlet]",inputs:["ngTemplateOutletContext","ngTemplateOutlet"]},{type:s.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{type:vs,selector:"[kendoGridColumnMenuItem]",inputs:["kendoGridColumnMenuItem"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ss,decorators:[{type:P.Component,args:[{providers:[Ua,So],selector:"kendo-grid-column-menu",template:'\n <a #anchor\n class="k-grid-column-menu k-grid-filter"\n [ngClass]="{ \'k-state-active\': isActive }"\n (click)="toggle($event, anchor, template)"\n (keydown.enter)="$event.stopImmediatePropagation()"\n href="#"\n [tabindex]="tabIndex"\n [attr.title]="columnMenuTitle">\n <span class="k-icon k-i-more-vertical"></span>\n </a>\n <ng-template #template>\n <ng-container\n [ngTemplateOutlet]="column.columnMenuTemplateRef || columnMenuTemplate || defaultTemplate"\n [ngTemplateOutletContext]="{ service: service, column: column }">\n </ng-container>\n </ng-template>\n <ng-template #defaultTemplate>\n <kendo-grid-columnmenu-container\n (keydown.escape)="close()"\n (keydown.enter)="$event.stopImmediatePropagation()">\n <kendo-grid-columnmenu-sort #sortItem [kendoGridColumnMenuItem]="sortItem" *ngIf="hasSort" [service]="service">\n </kendo-grid-columnmenu-sort>\n <kendo-grid-columnmenu-lock #lockItem *ngIf="hasLock && !hasPosition" [kendoGridColumnMenuItem]="lockItem" [service]="service">\n </kendo-grid-columnmenu-lock>\n <kendo-grid-columnmenu-stick #stickItem *ngIf="hasStick && !hasPosition" [kendoGridColumnMenuItem]="stickItem" [service]="service">\n </kendo-grid-columnmenu-stick>\n <kendo-grid-columnmenu-position\n #positionItem\n *ngIf="hasPosition"\n [showLock]="hasLock"\n [showStick]="hasStick"\n [kendoGridColumnMenuItem]="positionItem"\n [service]="service"\n [expanded]="expandedPosition">\n </kendo-grid-columnmenu-position>\n <kendo-grid-columnmenu-chooser\n #chooserItem\n *ngIf="hasColumnChooser"\n [kendoGridColumnMenuItem]="chooserItem"\n [service]="service"\n [expanded]="expandedColumns">\n </kendo-grid-columnmenu-chooser>\n <kendo-grid-columnmenu-filter\n #filterItem\n *ngIf="hasFilter"\n [kendoGridColumnMenuItem]="filterItem"\n [service]="service"\n [expanded]="expandedFilter">\n </kendo-grid-columnmenu-filter>\n </kendo-grid-columnmenu-container>\n </ng-template>\n '}]}],ctorParameters:function(){return[{type:er},{type:a.LocalizationService},{type:Ua},{type:m}]},propDecorators:{standalone:[{type:P.HostBinding,args:["class.k-grid-column-menu-standalone"]},{type:P.Input}],column:[{type:P.Input}],settings:[{type:P.Input}],sort:[{type:P.Input}],filter:[{type:P.Input}],sortable:[{type:P.Input}],columnMenuTemplate:[{type:P.Input}],tabIndex:[{type:P.Input}],anchor:[{type:P.ViewChild,args:["anchor",{static:!0}]}],template:[{type:P.ViewChild,args:["template",{static:!0,read:P.TemplateRef}]}]}});Object.defineProperty(Fs.prototype,"hostClasses",{get:function(){return!0},enumerable:!1,configurable:!0}),Fs.prototype.onChange=function(e){this.valueChange.emit(e)},Fs.prototype.clearClick=function(){return this.clear.emit(),!1},Fs.prototype.clearKeydown=function(e){e.keyCode!==p.Keys.Enter&&e.keyCode!==p.Keys.Space||this.clear.emit()},Fs.prototype.dropdownKeydown=function(e){e.defaultPrevented||e.keyCode!==p.Keys.Enter||this.dropdown.isOpen||(this.dropdown.toggle(!0),e.preventDefault())},Fs.prototype.ngOnInit=function(){var e=this;this.localization.changes.subscribe(function(){return e.clearText=e.localization.get("filterClearButton")})};var Ts=Fs;function Fs(e){this.localization=e,this.clearText="Clear",this.operators=[],this.showOperators=!0,this.valueChange=new P.EventEmitter,this.clear=new P.EventEmitter}Ts.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ts,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),Ts.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Ts,selector:"kendo-grid-filter-cell-operators",inputs:{operators:"operators",showButton:"showButton",showOperators:"showOperators",value:"value"},outputs:{valueChange:"valueChange",clear:"clear"},host:{properties:{"class.k-filtercell-operator":"this.hostClasses"}},viewQueries:[{propertyName:"dropdown",first:!0,predicate:["dropdown"],descendants:!0}],ngImport:i,template:'\n <kendo-dropdownlist\n #dropdown\n *ngIf="showOperators"\n kendoGridFocusable\n [data]="operators"\n class="k-dropdown-operator"\n (valueChange)="onChange($event)"\n [value]="value"\n iconClass="k-i-filter"\n [valuePrimitive]="true"\n textField="text"\n [popupSettings]="{ width: \'auto\' }"\n valueField="value"\n (keydown)="dropdownKeydown($event)">\n </kendo-dropdownlist>\n <button type="button"\n kendoGridFocusable\n *ngIf="showButton"\n class="k-button k-button-solid-base k-button-solid k-button-md k-rounded-md k-button-rectangle k-icon-button"\n [title]="clearText"\n (click)="clearClick()"\n (keydown)="clearKeydown($event)">\n <span class="k-icon k-button-icon k-i-filter-clear"></span>\n </button>\n ',isInline:!0,components:[{type:te.DropDownListComponent,selector:"kendo-dropdownlist",inputs:["iconClass","loading","data","value","textField","valueField","popupSettings","listHeight","defaultItem","disabled","itemDisabled","readonly","filterable","virtual","ignoreCase","delay","valuePrimitive","tabindex","tabIndex","size","rounded","fillMode","id"],outputs:["valueChange","filterChange","selectionChange","open","opened","close","closed","focus","blur"],exportAs:["kendoDropDownList"]}],directives:[{type:s.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{type:Dt,selector:"[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ",inputs:["kendoGridFocusable"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ts,decorators:[{type:P.Component,args:[{selector:"kendo-grid-filter-cell-operators",template:'\n <kendo-dropdownlist\n #dropdown\n *ngIf="showOperators"\n kendoGridFocusable\n [data]="operators"\n class="k-dropdown-operator"\n (valueChange)="onChange($event)"\n [value]="value"\n iconClass="k-i-filter"\n [valuePrimitive]="true"\n textField="text"\n [popupSettings]="{ width: \'auto\' }"\n valueField="value"\n (keydown)="dropdownKeydown($event)">\n </kendo-dropdownlist>\n <button type="button"\n kendoGridFocusable\n *ngIf="showButton"\n class="k-button k-button-solid-base k-button-solid k-button-md k-rounded-md k-button-rectangle k-icon-button"\n [title]="clearText"\n (click)="clearClick()"\n (keydown)="clearKeydown($event)">\n <span class="k-icon k-button-icon k-i-filter-clear"></span>\n </button>\n '}]}],ctorParameters:function(){return[{type:a.LocalizationService}]},propDecorators:{hostClasses:[{type:P.HostBinding,args:["class.k-filtercell-operator"]}],dropdown:[{type:P.ViewChild,args:["dropdown",{static:!1}]}],operators:[{type:P.Input}],showButton:[{type:P.Input}],showOperators:[{type:P.Input}],value:[{type:P.Input}],valueChange:[{type:P.Output}],clear:[{type:P.Output}]}});var Os,Es=["isnull","isnotnull","isempty","isnotempty"],Xa=(c(Rs,Os=na),Object.defineProperty(Rs.prototype,"hostClasses",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(Rs.prototype,"overrideBaseClasses",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(Rs.prototype,"showButton",{get:function(){var e=this.currentFilter;return V(e)&&(!ye(e.value)||0<=Es.indexOf(String(e.operator)))},enumerable:!1,configurable:!0}),Rs.prototype.filterChange=function(e){this.applyFilter(e)},Rs);function Rs(e){e=Os.call(this,e)||this;return e.showOperators=!0,e}Xa.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Xa,deps:[{token:v}],target:i.ɵɵFactoryTarget.Component}),Xa.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Xa,selector:"kendo-grid-filter-wrapper-cell",inputs:{showOperators:"showOperators"},host:{properties:{"class.k-filtercell-wrapper":"this.hostClasses","class.k-filtercell":"this.overrideBaseClasses"}},usesInheritance:!0,ngImport:i,template:'\n <ng-content></ng-content>\n <kendo-grid-filter-cell-operators\n [showOperators]="showOperators"\n [operators]="operators"\n (clear)="onClear()"\n [showButton]="showButton"\n [(value)]="currentOperator">\n </kendo-grid-filter-cell-operators>\n ',isInline:!0,components:[{type:Ts,selector:"kendo-grid-filter-cell-operators",inputs:["operators","showButton","showOperators","value"],outputs:["valueChange","clear"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Xa,decorators:[{type:P.Component,args:[{selector:"kendo-grid-filter-wrapper-cell",template:'\n <ng-content></ng-content>\n <kendo-grid-filter-cell-operators\n [showOperators]="showOperators"\n [operators]="operators"\n (clear)="onClear()"\n [showButton]="showButton"\n [(value)]="currentOperator">\n </kendo-grid-filter-cell-operators>\n '}]}],ctorParameters:function(){return[{type:v}]},propDecorators:{hostClasses:[{type:P.HostBinding,args:["class.k-filtercell-wrapper"]}],overrideBaseClasses:[{type:P.HostBinding,args:["class.k-filtercell"]}],showOperators:[{type:P.Input}]}});c(Gs,Ls=Ui),Object.defineProperty(Gs.prototype,"columnLabel",{get:function(){var e=this.localization.get("filterInputLabel")||"",t=this.column.title||this.column.field;return be(e,"columnName",t)},enumerable:!1,configurable:!0});var Ls,Ps=Gs;function Gs(e,t){e=Ls.call(this,e,t)||this;return e.filterDelay=500,e.showOperators=!0,e}Ps.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ps,deps:[{token:v},{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),Ps.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Ps,selector:"kendo-grid-string-filter-cell",inputs:{filterDelay:"filterDelay",showOperators:"showOperators"},usesInheritance:!0,ngImport:i,template:'\n <kendo-grid-filter-wrapper-cell\n [column]="column"\n [filter]="filter"\n [operators]="operators"\n [defaultOperator]="operator"\n [showOperators]="showOperators">\n <input\n kendoTextBox\n kendoGridFocusable\n kendoFilterInput\n [columnLabel]="columnLabel"\n [filterDelay]="filterDelay"\n [ngModel]="currentFilter?.value" />\n </kendo-grid-filter-wrapper-cell>\n ',isInline:!0,components:[{type:Xa,selector:"kendo-grid-filter-wrapper-cell",inputs:["showOperators"]}],directives:[{type:ee.TextBoxDirective,selector:"input[kendoTextBox]",inputs:["value"]},{type:l.DefaultValueAccessor,selector:"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]"},{type:Dt,selector:"[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ",inputs:["kendoGridFocusable"]},{type:Xi,selector:"[kendoFilterInput]",inputs:["filterDelay","columnLabel","value"]},{type:l.NgControlStatus,selector:"[formControlName],[ngModel],[formControl]"},{type:l.NgModel,selector:"[ngModel]:not([formControlName]):not([formControl])",inputs:["name","disabled","ngModel","ngModelOptions"],outputs:["ngModelChange"],exportAs:["ngModel"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ps,decorators:[{type:P.Component,args:[{selector:"kendo-grid-string-filter-cell",template:'\n <kendo-grid-filter-wrapper-cell\n [column]="column"\n [filter]="filter"\n [operators]="operators"\n [defaultOperator]="operator"\n [showOperators]="showOperators">\n <input\n kendoTextBox\n kendoGridFocusable\n kendoFilterInput\n [columnLabel]="columnLabel"\n [filterDelay]="filterDelay"\n [ngModel]="currentFilter?.value" />\n </kendo-grid-filter-wrapper-cell>\n '}]}],ctorParameters:function(){return[{type:v},{type:a.LocalizationService}]},propDecorators:{filterDelay:[{type:P.Input}],showOperators:[{type:P.Input}]}});c(zs,Vs=fa),zs.prototype.messageFor=function(e){return this.localization.get(e)},Object.defineProperty(zs.prototype,"columnLabel",{get:function(){var e=this.localization.get("filterInputLabel")||"",t=this.column.title||this.column.field;return be(e,"columnName",t)},enumerable:!1,configurable:!0});var Vs,Ms=zs;function zs(e,t){e=Vs.call(this,e,t)||this;return e.localization=t,e.filterDelay=500,e.showOperators=!0,e}Ms.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ms,deps:[{token:v},{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),Ms.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Ms,selector:"kendo-grid-numeric-filter-cell",inputs:{filterDelay:"filterDelay",showOperators:"showOperators"},usesInheritance:!0,ngImport:i,template:'\n <kendo-grid-filter-wrapper-cell\n [column]="column"\n [filter]="filter"\n [operators]="operators"\n [defaultOperator]="operator"\n [showOperators]="showOperators"\n >\n <kendo-numerictextbox\n kendoGridFocusable\n kendoFilterInput\n [columnLabel]="columnLabel"\n [filterDelay]="filterDelay"\n [autoCorrect]="true"\n [value]="currentFilter?.value"\n [format]="format"\n [decimals]="decimals"\n [spinners]="spinners"\n [min]="min"\n [max]="max"\n [step]="step"\n >\n <kendo-numerictextbox-messages\n [increment]="messageFor(\'filterNumericIncrement\')"\n [decrement]="messageFor(\'filterNumericDecrement\')"\n >\n </kendo-numerictextbox-messages>\n </kendo-numerictextbox>\n </kendo-grid-filter-wrapper-cell>\n ',isInline:!0,components:[{type:Xa,selector:"kendo-grid-filter-wrapper-cell",inputs:["showOperators"]},{type:ee.NumericTextBoxComponent,selector:"kendo-numerictextbox",inputs:["focusableId","disabled","readonly","title","autoCorrect","format","max","min","decimals","placeholder","step","spinners","rangeValidation","tabindex","tabIndex","changeValueOnScroll","selectOnFocus","value","maxlength","size","rounded","fillMode"],outputs:["valueChange","focus","blur"],exportAs:["kendoNumericTextBox"]},{type:ee.NumericTextBoxCustomMessagesComponent,selector:"kendo-numerictextbox-messages"}],directives:[{type:Dt,selector:"[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ",inputs:["kendoGridFocusable"]},{type:Xi,selector:"[kendoFilterInput]",inputs:["filterDelay","columnLabel","value"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ms,decorators:[{type:P.Component,args:[{selector:"kendo-grid-numeric-filter-cell",template:'\n <kendo-grid-filter-wrapper-cell\n [column]="column"\n [filter]="filter"\n [operators]="operators"\n [defaultOperator]="operator"\n [showOperators]="showOperators"\n >\n <kendo-numerictextbox\n kendoGridFocusable\n kendoFilterInput\n [columnLabel]="columnLabel"\n [filterDelay]="filterDelay"\n [autoCorrect]="true"\n [value]="currentFilter?.value"\n [format]="format"\n [decimals]="decimals"\n [spinners]="spinners"\n [min]="min"\n [max]="max"\n [step]="step"\n >\n <kendo-numerictextbox-messages\n [increment]="messageFor(\'filterNumericIncrement\')"\n [decrement]="messageFor(\'filterNumericDecrement\')"\n >\n </kendo-numerictextbox-messages>\n </kendo-numerictextbox>\n </kendo-grid-filter-wrapper-cell>\n '}]}],ctorParameters:function(){return[{type:v},{type:a.LocalizationService}]},propDecorators:{filterDelay:[{type:P.Input}],showOperators:[{type:P.Input}]}});c(As,Ns=Pa),As.prototype.localizationChange=function(){Ns.prototype.localizationChange.call(this),this.cd.markForCheck()},Object.defineProperty(As.prototype,"columnLabel",{get:function(){var e=this.localization.get("filterInputLabel")||"",t=this.column.title||this.column.field;return be(e,"columnName",t)},enumerable:!1,configurable:!0});var Ns,js=As;function As(e,t,n){e=Ns.call(this,e,t)||this;return e.cd=n,e}js.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:js,deps:[{token:v},{token:a.LocalizationService},{token:i.ChangeDetectorRef}],target:i.ɵɵFactoryTarget.Component}),js.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:js,selector:"kendo-grid-boolean-filter-cell",usesInheritance:!0,ngImport:i,template:'\n <kendo-grid-filter-wrapper-cell\n [column]="column"\n [filter]="filter"\n [showOperators]="false"\n [defaultOperator]="operator">\n <kendo-dropdownlist\n kendoFilterInput\n kendoGridFocusable\n [columnLabel]="columnLabel"\n [defaultItem]="defaultItem"\n [data]="items"\n textField="text"\n valueField="value"\n [popupSettings]="{ width: \'auto\' }"\n [valuePrimitive]="true"\n [value]="currentFilter?.value">\n </kendo-dropdownlist>\n </kendo-grid-filter-wrapper-cell>\n ',isInline:!0,components:[{type:Xa,selector:"kendo-grid-filter-wrapper-cell",inputs:["showOperators"]},{type:te.DropDownListComponent,selector:"kendo-dropdownlist",inputs:["iconClass","loading","data","value","textField","valueField","popupSettings","listHeight","defaultItem","disabled","itemDisabled","readonly","filterable","virtual","ignoreCase","delay","valuePrimitive","tabindex","tabIndex","size","rounded","fillMode","id"],outputs:["valueChange","filterChange","selectionChange","open","opened","close","closed","focus","blur"],exportAs:["kendoDropDownList"]}],directives:[{type:Xi,selector:"[kendoFilterInput]",inputs:["filterDelay","columnLabel","value"]},{type:Dt,selector:"[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ",inputs:["kendoGridFocusable"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:js,decorators:[{type:P.Component,args:[{selector:"kendo-grid-boolean-filter-cell",template:'\n <kendo-grid-filter-wrapper-cell\n [column]="column"\n [filter]="filter"\n [showOperators]="false"\n [defaultOperator]="operator">\n <kendo-dropdownlist\n kendoFilterInput\n kendoGridFocusable\n [columnLabel]="columnLabel"\n [defaultItem]="defaultItem"\n [data]="items"\n textField="text"\n valueField="value"\n [popupSettings]="{ width: \'auto\' }"\n [valuePrimitive]="true"\n [value]="currentFilter?.value">\n </kendo-dropdownlist>\n </kendo-grid-filter-wrapper-cell>\n '}]}],ctorParameters:function(){return[{type:v},{type:a.LocalizationService},{type:i.ChangeDetectorRef}]}});c($s,Bs=Sa),$s.prototype.messageFor=function(e){return this.localization.get(e)},Object.defineProperty($s.prototype,"columnLabel",{get:function(){var e=this.localization.get("filterInputLabel")||"",t=this.column.title||this.column.field;return be(e,"columnName",t)},enumerable:!1,configurable:!0});var Bs,Hs=$s;function $s(e,t){e=Bs.call(this,e,t)||this;return e.localization=t,e.showOperators=!0,e}Hs.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Hs,deps:[{token:v},{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),Hs.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Hs,selector:"kendo-grid-date-filter-cell",inputs:{showOperators:"showOperators"},usesInheritance:!0,ngImport:i,template:'\n <kendo-grid-filter-wrapper-cell\n [column]="column"\n [filter]="filter"\n [operators]="operators"\n [defaultOperator]="operator"\n [showOperators]="showOperators"\n >\n <kendo-datepicker\n kendoFilterInput\n kendoGridFocusable\n [columnLabel]="columnLabel"\n [value]="currentFilter?.value"\n [format]="format"\n [formatPlaceholder]="formatPlaceholder"\n [placeholder]="placeholder"\n [activeView]="activeView"\n [bottomView]="bottomView"\n [topView]="topView"\n [min]="min"\n [max]="max"\n [weekNumber]="weekNumber"\n >\n <kendo-datepicker-messages\n [toggle]="messageFor(\'filterDateToggle\')"\n [today]="messageFor(\'filterDateToday\')"\n >\n </kendo-datepicker-messages>\n </kendo-datepicker>\n </kendo-grid-filter-wrapper-cell>\n ',isInline:!0,components:[{type:Xa,selector:"kendo-grid-filter-wrapper-cell",inputs:["showOperators"]},{type:ne.DatePickerComponent,selector:"kendo-datepicker",inputs:["cellTemplate","monthCellTemplate","yearCellTemplate","decadeCellTemplate","centuryCellTemplate","weekNumberTemplate","headerTitleTemplate","navigationItemTemplate","focusableId","activeView","bottomView","topView","calendarType","animateCalendarNavigation","disabled","readonly","readOnlyInput","popupSettings","navigation","min","max","incompleteDateValidation","focusedDate","value","format","twoDigitYearMax","formatPlaceholder","placeholder","tabindex","tabIndex","disabledDates","title","rangeValidation","disabledDatesValidation","weekNumber","size","rounded","fillMode"],outputs:["valueChange","focus","blur","open","close"],exportAs:["kendo-datepicker"]},{type:ne.DatePickerCustomMessagesComponent,selector:"kendo-datepicker-messages"}],directives:[{type:Xi,selector:"[kendoFilterInput]",inputs:["filterDelay","columnLabel","value"]},{type:Dt,selector:"[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ",inputs:["kendoGridFocusable"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Hs,decorators:[{type:P.Component,args:[{selector:"kendo-grid-date-filter-cell",template:'\n <kendo-grid-filter-wrapper-cell\n [column]="column"\n [filter]="filter"\n [operators]="operators"\n [defaultOperator]="operator"\n [showOperators]="showOperators"\n >\n <kendo-datepicker\n kendoFilterInput\n kendoGridFocusable\n [columnLabel]="columnLabel"\n [value]="currentFilter?.value"\n [format]="format"\n [formatPlaceholder]="formatPlaceholder"\n [placeholder]="placeholder"\n [activeView]="activeView"\n [bottomView]="bottomView"\n [topView]="topView"\n [min]="min"\n [max]="max"\n [weekNumber]="weekNumber"\n >\n <kendo-datepicker-messages\n [toggle]="messageFor(\'filterDateToggle\')"\n [today]="messageFor(\'filterDateToday\')"\n >\n </kendo-datepicker-messages>\n </kendo-datepicker>\n </kendo-grid-filter-wrapper-cell>\n '}]}],ctorParameters:function(){return[{type:v},{type:a.LocalizationService}]},propDecorators:{showOperators:[{type:P.Input}]}});c(qs,Ks=qi),qs.prototype.componentType=function(){return ye(this.column.filter)?Ps:(e=this.column.filter,{boolean:js,date:Hs,numeric:Ms,text:Ps}[e]);var e};var Ks,na=qs;function qs(e,t){return Ks.call(this,e,t)||this}na.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:na,deps:[{token:i.ViewContainerRef},{token:i.ComponentFactoryResolver}],target:i.ɵɵFactoryTarget.Directive}),na.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:na,selector:"[kendoFilterCellHost]",usesInheritance:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:na,decorators:[{type:P.Directive,args:[{selector:"[kendoFilterCellHost]"}]}],ctorParameters:function(){return[{type:i.ViewContainerRef},{type:i.ComponentFactoryResolver}]}});Object.defineProperty(Ws.prototype,"filter",{get:function(){return this._filter},set:function(e){this._filter=Bi(e)},enumerable:!1,configurable:!0}),Object.defineProperty(Ws.prototype,"templateContext",{get:function(){return this._templateContext.column=this.column,this._templateContext.filter=this.filter,this._templateContext.$implicit=this.filter,this._templateContext},enumerable:!1,configurable:!0}),Object.defineProperty(Ws.prototype,"hasTemplate",{get:function(){return V(this.column.filterCellTemplateRef)},enumerable:!1,configurable:!0}),Object.defineProperty(Ws.prototype,"isFilterable",{get:function(){return V(this.column)&&!ye(this.column.field)&&this.column.filterable},enumerable:!1,configurable:!0});var _s=Ws;function Ws(){this._templateContext={}}_s.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:_s,deps:[],target:i.ɵɵFactoryTarget.Component}),_s.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:_s,selector:"[kendoGridFilterCell]",inputs:{column:"column",filter:"filter"},ngImport:i,template:'\n <ng-container *ngIf="isFilterable">\n <ng-container [ngSwitch]="hasTemplate">\n <ng-container *ngSwitchCase="false">\n <ng-container kendoFilterCellHost [column]="column" [filter]="filter"></ng-container>\n </ng-container>\n <ng-container *ngSwitchCase="true">\n <ng-template\n *ngIf="column.filterCellTemplateRef"\n [ngTemplateOutlet]="column.filterCellTemplateRef"\n [ngTemplateOutletContext]="templateContext">\n </ng-template>\n </ng-container>\n </ng-container>\n </ng-container>\n ',isInline:!0,directives:[{type:s.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{type:s.NgSwitch,selector:"[ngSwitch]",inputs:["ngSwitch"]},{type:s.NgSwitchCase,selector:"[ngSwitchCase]",inputs:["ngSwitchCase"]},{type:na,selector:"[kendoFilterCellHost]"},{type:s.NgTemplateOutlet,selector:"[ngTemplateOutlet]",inputs:["ngTemplateOutletContext","ngTemplateOutlet"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:_s,decorators:[{type:P.Component,args:[{selector:"[kendoGridFilterCell]",template:'\n <ng-container *ngIf="isFilterable">\n <ng-container [ngSwitch]="hasTemplate">\n <ng-container *ngSwitchCase="false">\n <ng-container kendoFilterCellHost [column]="column" [filter]="filter"></ng-container>\n </ng-container>\n <ng-container *ngSwitchCase="true">\n <ng-template\n *ngIf="column.filterCellTemplateRef"\n [ngTemplateOutlet]="column.filterCellTemplateRef"\n [ngTemplateOutletContext]="templateContext">\n </ng-template>\n </ng-container>\n </ng-container>\n </ng-container>\n '}]}],propDecorators:{column:[{type:P.Input}],filter:[{type:P.Input}]}});var Zs=0;Object.defineProperty(Us.prototype,"id",{get:function(){if(!this.logicalSlaveCell&&this.columnInfoService.isLocked)return this.idService.cellId(this.logicalRowIndex,this.logicalColIndex)},enumerable:!1,configurable:!0}),Object.defineProperty(Us.prototype,"ariaColIndex",{get:function(){if(!this.logicalSlaveCell&&-1!==this.logicalColIndex)return this.logicalColIndex+1},enumerable:!1,configurable:!0}),Us.prototype.ngOnInit=function(){var t=this;this.navigationService.enabled&&(this.navigationChange=this.navigationService.changes.subscribe(function(e){return t.onNavigationChange(e)}))},Us.prototype.ngDoCheck=function(){this.navigationService.enabled&&-1!==this.logicalColIndex&&(this.cellContext&&(this.cellContext.focusGroup=this.focusGroup),this.registerNoChanges())},Us.prototype.ngOnChanges=function(e){var t;!this.navigationService.enabled||1===(t=Object.keys(e)).length&&"groupItem"===t[0]||-1===this.logicalColIndex||(t=e.logicalColIndex,e=e.logicalRowIndex,t=t&&!t.isFirstChange()?t.previousValue:this.logicalColIndex,e=e&&!e.isFirstChange()?e.previousValue:this.logicalRowIndex,this.navigationService.unregisterCell(t,e,this),this.registerChanges(),this.updateElement())},Us.prototype.ngOnDestroy=function(){this.navigationChange&&this.navigationChange.unsubscribe(),this.navigationService.unregisterCell(this.logicalColIndex,this.logicalRowIndex,this)},Us.prototype.onNavigationChange=function(e){var t=this.logicalColIndex===e.colIndex&&this.logicalRowIndex===e.rowIndex,e=this.logicalColIndex===e.prevColIndex&&this.logicalRowIndex===e.prevRowIndex;(t||e)&&this.updateElement()},Us.prototype.updateElement=function(){var e=this,t=this.element.nativeElement;this.renderer.setAttribute(t,"tabIndex",this.isFocusable()&&!this.logicalSlaveCell?"0":"-1"),this.isFocused()?(this.focusGroup.isNavigable()?this.focusGroup.focus():(!this.logicalSlaveCell&&this.navigationService.autoFocusCell(this.logicalColIndex,this.logicalColIndex+this.colSpan-1)&&this.microtask(function(){return e.isFocused()&&t.focus()}),this.renderer.addClass(t,"k-state-focused")),this.headerLabelText&&t.setAttribute("aria-label","")):(this.renderer.removeClass(t,"k-state-focused"),this.headerLabelText&&t.setAttribute("aria-label",this.headerLabelText))},Us.prototype.microtask=function(e){this.zone.runOutsideAngular(function(){return Promise.resolve(null).then(e)})},Us.prototype.registerChanges=function(){this.logicalSlaveCell||this.navigationService.registerCell(this)},Us.prototype.registerNoChanges=function(){this.logicalSlaveCell||this.navigationService.registerCellOnCurrentRow(this)},Us.prototype.isFocusable=function(){return this.navigationService.isCellFocusable(this)},Us.prototype.isFocused=function(){return this.navigationService.isCellFocused(this)};Ui=Us;function Us(e,t,n,o,r,i,a,s){this.focusGroup=e,this.element=t,this.columnInfoService=n,this.idService=o,this.navigationService=r,this.renderer=i,this.zone=a,this.cellContext=s,this.logicalSlaveCell=!1,this.colSpan=1,this.rowSpan=1,this.dataRowIndex=-1,this.detailExpandCell=!1,this.uid=Zs++}Ui.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ui,deps:[{token:zr},{token:i.ElementRef},{token:C},{token:f},{token:m},{token:i.Renderer2},{token:i.NgZone},{token:wt,optional:!0}],target:i.ɵɵFactoryTarget.Directive}),Ui.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:Ui,selector:"[kendoGridLogicalCell]",inputs:{logicalColIndex:"logicalColIndex",logicalRowIndex:"logicalRowIndex",logicalSlaveCell:"logicalSlaveCell",colIndex:"colIndex",colSpan:"colSpan",rowSpan:"rowSpan",groupItem:"groupItem",dataRowIndex:"dataRowIndex",dataItem:"dataItem",detailExpandCell:"detailExpandCell",headerLabelText:"headerLabelText"},host:{properties:{"attr.id":"this.id","attr.aria-colindex":"this.ariaColIndex"}},providers:[{provide:zr,deps:[dt],useClass:zr}],usesOnChanges:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ui,decorators:[{type:P.Directive,args:[{providers:[{provide:zr,deps:[dt],useClass:zr}],selector:"[kendoGridLogicalCell]"}]}],ctorParameters:function(){return[{type:zr},{type:i.ElementRef},{type:C},{type:f},{type:m},{type:i.Renderer2},{type:i.NgZone},{type:void 0,decorators:[{type:P.Optional},{type:P.Inject,args:[wt]}]}]},propDecorators:{logicalColIndex:[{type:P.Input}],logicalRowIndex:[{type:P.Input}],logicalSlaveCell:[{type:P.Input}],colIndex:[{type:P.Input}],colSpan:[{type:P.Input}],rowSpan:[{type:P.Input}],groupItem:[{type:P.Input}],dataRowIndex:[{type:P.Input}],dataItem:[{type:P.Input}],detailExpandCell:[{type:P.Input}],headerLabelText:[{type:P.Input}],id:[{type:P.HostBinding,args:["attr.id"]}],ariaColIndex:[{type:P.HostBinding,args:["attr.aria-colindex"]}]}});Xs.prototype.addStickyStyles=function(e){var t=e.sticky?this.columnInfoService.stickyColumnsStyles(e):null;return Object.assign(Object.assign({},t),e.filterStyle)},Xs.prototype.filterLabel=function(e){var t=this.localization.get("filterInputLabel")||"",e=e.title||e.field;return be(t,"columnName",e)};var Qs=Xs;function Xs(e,t){this.localization=e,this.columnInfoService=t,this.columns=[],this.groups=[],this.filterRowClass=!0}Qs.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Qs,deps:[{token:a.LocalizationService},{token:C}],target:i.ɵɵFactoryTarget.Component}),Qs.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Qs,selector:"[kendoGridFilterRow]",inputs:{columns:"columns",filter:"filter",groups:"groups",detailTemplate:"detailTemplate",logicalRowIndex:"logicalRowIndex",lockedColumnsCount:"lockedColumnsCount"},host:{properties:{"class.k-filter-row":"this.filterRowClass"}},ngImport:i,template:'\n <td\n [class.k-group-cell]="true"\n *ngFor="let g of groups"\n role="presentation">\n </td>\n <td\n [class.k-hierarchy-cell]="true"\n *ngIf="detailTemplate?.templateRef"\n role="presentation">\n </td>\n <td *ngFor="let column of columns; let columnIndex = index"\n [class.k-grid-header-sticky]="column.sticky"\n [ngStyle]="addStickyStyles(column)"\n [ngClass]="column.filterClass"\n [attr.aria-label]="filterLabel($any(column))"\n kendoGridFilterCell\n [column]="$any(column)"\n [filter]="filter"\n kendoGridLogicalCell\n [logicalRowIndex]="logicalRowIndex"\n [logicalColIndex]="lockedColumnsCount + columnIndex"\n ></td>\n ',isInline:!0,components:[{type:_s,selector:"[kendoGridFilterCell]",inputs:["column","filter"]}],directives:[{type:s.NgForOf,selector:"[ngFor][ngForOf]",inputs:["ngForOf","ngForTrackBy","ngForTemplate"]},{type:s.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{type:Ui,selector:"[kendoGridLogicalCell]",inputs:["logicalColIndex","logicalRowIndex","logicalSlaveCell","colIndex","colSpan","rowSpan","groupItem","dataRowIndex","dataItem","detailExpandCell","headerLabelText"]},{type:s.NgStyle,selector:"[ngStyle]",inputs:["ngStyle"]},{type:s.NgClass,selector:"[ngClass]",inputs:["class","ngClass"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Qs,decorators:[{type:P.Component,args:[{selector:"[kendoGridFilterRow]",template:'\n <td\n [class.k-group-cell]="true"\n *ngFor="let g of groups"\n role="presentation">\n </td>\n <td\n [class.k-hierarchy-cell]="true"\n *ngIf="detailTemplate?.templateRef"\n role="presentation">\n </td>\n <td *ngFor="let column of columns; let columnIndex = index"\n [class.k-grid-header-sticky]="column.sticky"\n [ngStyle]="addStickyStyles(column)"\n [ngClass]="column.filterClass"\n [attr.aria-label]="filterLabel($any(column))"\n kendoGridFilterCell\n [column]="$any(column)"\n [filter]="filter"\n kendoGridLogicalCell\n [logicalRowIndex]="logicalRowIndex"\n [logicalColIndex]="lockedColumnsCount + columnIndex"\n ></td>\n '}]}],ctorParameters:function(){return[{type:a.LocalizationService},{type:C}]},propDecorators:{columns:[{type:P.Input}],filter:[{type:P.Input}],groups:[{type:P.Input}],detailTemplate:[{type:P.Input}],logicalRowIndex:[{type:P.Input}],lockedColumnsCount:[{type:P.Input}],filterRowClass:[{type:P.HostBinding,args:["class.k-filter-row"]}]}});var Ys=0;Object.defineProperty(Js.prototype,"hostRole",{get:function(){return this.logicalSlaveRow?"presentation":"row"},enumerable:!1,configurable:!0}),Object.defineProperty(Js.prototype,"ariaRowIndex",{get:function(){return this.logicalRowIndex+1},enumerable:!1,configurable:!0}),Object.defineProperty(Js.prototype,"ariaOwns",{get:function(){if(this.navigation.enabled&&!this.logicalSlaveRow&&0!==this.logicalSlaveCellsCount){for(var e=[],t=this.logicalCellsCount+this.logicalSlaveCellsCount,n=this.logicalCellsCount;n<t;n++)e.push(this.idService.cellId(this.logicalRowIndex,n));return e.join(" ")}},enumerable:!1,configurable:!0}),Js.prototype.ngOnChanges=function(e){var t,n;this.navigation.enabled&&!this.logicalSlaveRow&&(t=e.logicalRowIndex,n=e.logicalSlaveRow,t||n?(n=t&&!t.isFirstChange()?t.previousValue:this.logicalRowIndex,this.navigation.unregisterRow(n,this),this.navigation.registerRow(this)):p.anyChanged(["dataRowIndex","dataItem"],e)&&this.navigation.updateRow(this))},Js.prototype.ngOnDestroy=function(){this.navigation.unregisterRow(this.logicalRowIndex,this)};fa=Js;function Js(e,t){this.idService=e,this.navigation=t,this.logicalSlaveRow=!1,this.logicalSlaveCellsCount=0,this.dataRowIndex=-1,this.uid=Ys++}fa.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:fa,deps:[{token:f},{token:m}],target:i.ɵɵFactoryTarget.Directive}),fa.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:fa,selector:"[kendoGridLogicalRow]",inputs:{logicalRowIndex:"logicalRowIndex",logicalSlaveRow:"logicalSlaveRow",logicalCellsCount:"logicalCellsCount",logicalSlaveCellsCount:"logicalSlaveCellsCount",dataRowIndex:"dataRowIndex",dataItem:"dataItem"},host:{properties:{"attr.role":"this.hostRole","attr.aria-rowindex":"this.ariaRowIndex","attr.aria-owns":"this.ariaOwns"}},usesOnChanges:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:fa,decorators:[{type:P.Directive,args:[{selector:"[kendoGridLogicalRow]"}]}],ctorParameters:function(){return[{type:f},{type:m}]},propDecorators:{logicalRowIndex:[{type:P.Input}],logicalSlaveRow:[{type:P.Input}],logicalCellsCount:[{type:P.Input}],logicalSlaveCellsCount:[{type:P.Input}],dataRowIndex:[{type:P.Input}],dataItem:[{type:P.Input}],hostRole:[{type:P.HostBinding,args:["attr.role"]}],ariaRowIndex:[{type:P.HostBinding,args:["attr.aria-rowindex"]}],ariaOwns:[{type:P.HostBinding,args:["attr.aria-owns"]}]}});Object.defineProperty(el.prototype,"templateContext",{set:function(e){this.removeView(),e.templateRef&&(this.insertedViewRef=this.viewContainerRef.createEmbeddedView(e.templateRef,e))},enumerable:!1,configurable:!0}),el.prototype.ngOnDestroy=function(){this.removeView()},el.prototype.removeView=function(){this.insertedViewRef&&(this.viewContainerRef.remove(this.viewContainerRef.indexOf(this.insertedViewRef)),this.insertedViewRef=void 0)};qi=el;function el(e){this.viewContainerRef=e}qi.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:qi,deps:[{token:i.ViewContainerRef}],target:i.ɵɵFactoryTarget.Directive}),qi.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:qi,selector:"[templateContext]",inputs:{templateContext:"templateContext"},ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:qi,decorators:[{type:P.Directive,args:[{selector:"[templateContext]"}]}],ctorParameters:function(){return[{type:i.ViewContainerRef}]},propDecorators:{templateContext:[{type:P.Input}]}});nl.prototype.ngAfterContentChecked=function(){this.setState()},nl.prototype.ngOnChanges=function(){this.stateSet=!0},nl.prototype.ngOnDestroy=function(){this.destroyClick&&this.destroyClick()},nl.prototype.onClick=function(){var e=this,t=!!(function(){var e,t;if(p.isDocumentAvailable())return t=window.navigator.userAgent,e=t.indexOf("MSIE "),t=t.indexOf("Trident/"),0<e||0<t}()&&void 0===this.selectionService.selectAllState)||this.el.nativeElement.checked,n=this.selectionService.options,o=n.enabled&&"multiple"===n.mode,r=p.hasObservers(this.selectAllChange);(o||r)&&this.ngZone.run(function(){o&&e.selectionService.updateAll(t),r&&e.selectAllChange.emit(t?"checked":"unchecked")})},nl.prototype.setState=function(){var e=this.stateSet?this.stateToBool():this.selectionService.selectAllState,t=this.el.nativeElement;this.renderer.setProperty(t,"indeterminate",!V(e)),this.renderer.setProperty(t,"checked",!!V(e)&&e)},nl.prototype.stateToBool=function(){switch(this.state){case"checked":return!0;case"unchecked":return!1;default:return}};var tl=nl;function nl(e,t,n,o){var r=this;this.selectionService=e,this.el=t,this.renderer=n,this.ngZone=o,this.selectAllChange=new P.EventEmitter,this.type="checkbox",this.stateSet=!1,this.ngZone.runOutsideAngular(function(){r.destroyClick=r.renderer.listen(r.el.nativeElement,"click",r.onClick.bind(r))})}tl.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:tl,deps:[{token:Nt},{token:i.ElementRef},{token:i.Renderer2},{token:i.NgZone}],target:i.ɵɵFactoryTarget.Directive}),tl.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:tl,selector:"[kendoGridSelectAllCheckbox]",inputs:{state:"state"},outputs:{selectAllChange:"selectAllChange"},host:{properties:{"attr.type":"this.type"}},usesOnChanges:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:tl,decorators:[{type:P.Directive,args:[{selector:"[kendoGridSelectAllCheckbox]"}]}],ctorParameters:function(){return[{type:Nt},{type:i.ElementRef},{type:i.Renderer2},{type:i.NgZone}]},propDecorators:{state:[{type:P.Input}],selectAllChange:[{type:P.Output}],type:[{type:P.HostBinding,args:["attr.type"]}]}});function ol(e){return e.nativeElement.parentElement.offsetWidth}function rl(e){return bn(e).filter(function(e){return!e.isColumnGroup})}function il(e){(e=e.originalEvent).stopPropagation(),e.preventDefault()}function al(e){return!(!e.parent||!e.parent.isSpanColumn)}Object.defineProperty(ll.prototype,"visible",{get:function(){return this.column.resizable?"block":"none"},enumerable:!1,configurable:!0}),Object.defineProperty(ll.prototype,"leftStyle",{get:function(){return fe(this.rtl)?0:null},enumerable:!1,configurable:!0}),Object.defineProperty(ll.prototype,"rightStyle",{get:function(){return fe(this.rtl)?null:0},enumerable:!1,configurable:!0}),ll.prototype.autoFit=function(){var r=this,i=rl(this.columns),e=Fn([this.column]).filter(function(e){return fe(e.resizable)}),t=e.map(function(e){var t=al(e),n=!!t&&e.parent.childColumns.last===e,o=function(e,t){for(var n=0,o=0,r=0;n<t.length;){var i=t[n],a=al(i);if(i===e)break;o--<=0&&a&&(r+=o=i.parent.childColumns.length-1),n++}return n-r}(e,i);return{column:e,headerIndex:r.columnsForLevel(e.level).indexOf(e),index:o,isLastInSpan:n,isParentSpan:t,level:e.level}});e.forEach(function(e){return e.width=0}),this.service.measureColumns(t)},ll.prototype.ngOnInit=function(){var o=this,e=(ie(this.column.width)&&(this.column.implicitWidth=ol(this.element)),this.service.changes.pipe(G.filter(function(){return o.column.resizable}),G.filter(function(e){return V(e.columns.find(function(e){return e===o.column}))})));this.subscriptions.add(e.pipe(G.filter(function(e){return"start"===e.type})).subscribe(this.initState.bind(this))),this.subscriptions.add(e.pipe(G.filter(function(e){return"resizeColumn"===e.type})).subscribe(this.resize.bind(this))),this.subscriptions.add(this.service.changes.pipe(G.filter(function(e){return"start"===e.type}),G.filter(this.shouldUpdate.bind(this)),G.take(1)).subscribe(this.initColumnWidth.bind(this))),this.subscriptions.add(this.zone.runOutsideAngular(function(){return o.draggable.kendoPress.pipe(G.tap(il),G.tap(function(){return o.service.start(o.column)}),G.switchMap((t=o.draggable.kendoRelease,function(e){return b.of(e).pipe(G.delay(150),G.takeUntil(t))})),G.switchMap((e=o.service,n=o.draggable,function(t){return n.kendoDrag.pipe(G.takeUntil(n.kendoRelease.pipe(G.tap(function(){return e.end()}))),G.map(function(e){e=e.pageX;return{originalX:t.pageX,pageX:e}}))}))).subscribe(function(e){e=(e.pageX-e.originalX)/(o.column.resizeStartWidth||o.column.width)*100;o.service.resizeColumns(e)});var e,n,t})),this.subscriptions.add(e.pipe(G.filter(function(e){return"autoFitComplete"===e.type})).subscribe(this.sizeToFit.bind(this))),this.subscriptions.add(e.pipe(G.filter(function(e){return"triggerAutoFit"===e.type})).subscribe(this.autoFit.bind(this))),this.subscriptions.add(this.localization.changes.subscribe(function(e){e=e.rtl;return o.rtl=e}))},ll.prototype.ngOnDestroy=function(){this.subscriptions&&this.subscriptions.unsubscribe()},ll.prototype.shouldUpdate=function(){return!rl(this.columns).map(function(e){return e.width}).some(ie)},ll.prototype.initColumnWidth=function(){this.column.width=ol(this.element)},ll.prototype.initState=function(){this.column.resizeStartWidth=ol(this.element),this.service.resizedColumn({column:this.column,oldWidth:this.column.resizeStartWidth})},ll.prototype.resize=function(e){var e=e.deltaPercent,e=(t=this.column.resizeStartWidth,n=e<0?-1:1,Math.ceil(Math.abs(e)/100*t)*n),t=(fe(this.rtl)&&(e*=-1),Math.max(this.column.resizeStartWidth+e,this.column.minResizableWidth)),n=t>this.column.minResizableWidth?e:this.column.minResizableWidth-this.column.resizeStartWidth;this.updateWidth(this.column,t),this.service.resizeTable(this.column,n)},ll.prototype.sizeToFit=function(e){var t=e.columns,e=e.widths,n=t.indexOf(this.column),t=Math.max.apply(Math,g([],k(e.map(function(e){return e[n]}))))+1,e=t-this.column.resizeStartWidth;this.updateWidth(this.column,t),this.service.resizeTable(this.column,e)},ll.prototype.updateWidth=function(e,t){e.width=t,this.columnInfoService.hiddenColumns.forEach(function(e){ie(e.width)&&V(e.implicitWidth)&&(e.width=e.implicitWidth)}),this.cdr.markForCheck()},ll.prototype.columnsForLevel=function(t){return Cn(this.columns?this.columns.filter(function(e){return e.level===t}):[])};var sl=ll;function ll(e,t,n,o,r,i,a){this.draggable=e,this.element=t,this.service=n,this.zone=o,this.cdr=r,this.localization=i,this.columnInfoService=a,this.columns=[],this.subscriptions=new b.Subscription,this.rtl=!1}sl.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:sl,deps:[{token:X.DraggableDirective,host:!0},{token:i.ElementRef},{token:Wo},{token:i.NgZone},{token:i.ChangeDetectorRef},{token:a.LocalizationService},{token:C}],target:i.ɵɵFactoryTarget.Directive}),sl.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:sl,selector:"[kendoGridColumnHandle]",inputs:{columns:"columns",column:"column"},host:{listeners:{dblclick:"autoFit()"},properties:{"style.display":"this.visible","style.left":"this.leftStyle","style.right":"this.rightStyle"}},ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:sl,decorators:[{type:P.Directive,args:[{selector:"[kendoGridColumnHandle]"}]}],ctorParameters:function(){return[{type:X.DraggableDirective,decorators:[{type:P.Host}]},{type:i.ElementRef},{type:Wo},{type:i.NgZone},{type:i.ChangeDetectorRef},{type:a.LocalizationService},{type:C}]},propDecorators:{columns:[{type:P.Input}],column:[{type:P.Input}],visible:[{type:P.HostBinding,args:["style.display"]}],leftStyle:[{type:P.HostBinding,args:["style.left"]}],rightStyle:[{type:P.HostBinding,args:["style.right"]}],autoFit:[{type:P.HostListener,args:["dblclick"]}]}});function cl(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Object.assign.apply(null,[{}].concat(e))}var pl=function(e,t){return e.parent===t.parent||En(t)&&pl(e,t.parent)},ul=me(function(e){e=e.draggable;return 0<=["column","columnGroup"].indexOf(e.context.type)},function(e){return e.draggable.context.column.reorderable},function(e){e=e.draggable;return!En(e.context.column)},function(e){var t=e.draggable,e=e.target;return t.element.nativeElement!==e.element.nativeElement},function(e){var t=e.draggable,e=e.target;return pl(t.context.column,e.context.column)},de(function(e){e=e.draggable;return!fe(e.context.column.locked)&&function(e){e=e.parent;return!fe(e)}(e.context.column)&&e.context.lastColumn}),function(e){var t=e.draggable,e=e.target;return!1!==t.context.column.lockable||t.context.column.isLocked===e.context.column.isLocked}),dl=["alt","ctrl","shift","meta"],gl=(Object.defineProperty(D.prototype,"headerClass",{get:function(){return!this.scrollable},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"sortableLabel",{get:function(){return this.localization.get("sortable")},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"columnMenuSettings",{get:function(){return this.columnMenu},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"unlockedColumnsCount",{get:function(){return this.totalColumnsCount-this.lockedColumnsCount-this.columns.length},enumerable:!1,configurable:!0}),D.prototype.sortColumn=function(e){this.sortService.sort(e)},D.prototype.getColumnComponent=function(e){return e},D.prototype.onSortClick=function(e,t,n){var o=t.target;if(e.headerTemplateRef&&o!==n&&Boolean(Ne(o,qe,n)))return;o=this.matchModifier(t),n=this.toggleSort(e,o);this.sortColumn(n)},D.prototype.onHeaderKeydown=function(t,e){var n;e.keyCode===p.Keys.ArrowDown&&e.altKey&&this.showFilterMenu&&(e.preventDefault(),e.stopImmediatePropagation(),(n=this.filterMenus.find(function(e){return e.column===t})).toggle(n.anchor.nativeElement,n.template)),e.keyCode===p.Keys.ArrowDown&&e.altKey&&this.showColumnMenu(t)&&(e.preventDefault(),e.stopImmediatePropagation(),(n=this.columnMenus.find(function(e){return e.column===t})).toggle(null,n.anchor.nativeElement,n.template)),this.sortable&&!e.defaultPrevented&&!1!==t.sortable&&e.keyCode===p.Keys.Enter&&V(t.field)&&(n=this.matchModifier(e),this.sortService.sort(this.toggleSort(t,n)))},D.prototype.showSortNumbering=function(e){return Ii(this.sortable).showIndexes&&this.sort&&1<this.sort.filter(function(e){e=e.dir;return V(e)}).length&&0<this.sortOrder(e.field)},D.prototype.sortOrder=function(t){return this.sort.filter(function(e){e=e.dir;return V(e)}).findIndex(function(e){return e.field===t})+1},D.prototype.sortIcon=function(e){e=this.sortDescriptor(e);return{"k-icon":V(e.dir),"k-i-sort-desc-sm":"desc"===e.dir,"k-i-sort-asc-sm":"asc"===e.dir}},D.prototype.sortState=function(e){if(this.isSortable(e))return e=this.sortDescriptor(e.field),"asc"===e.dir?"ascending":"desc"===e.dir?"descending":void 0},D.prototype.sortStatus=function(e){var t;if(this.sortedFields[e.field]&&this.isSortable(e))return t="sortedDefault",e=this.sortDescriptor(e.field),"asc"===e.dir?t="sortedAscending":"desc"===e.dir&&(t="sortedDescending"),this.localization.get(t)},D.prototype.toggleSort=function(t,e){void 0===e&&(e=!0);var n=Ii(this.sortable,t.sortable),o=n.allowUnsort,r=n.mode,n=n.initialDirection,o=this.toggleDirection(t.field,o,n);return"single"!==r&&e?g(g([],k(this.sort.filter(function(e){return e.field!==t.field}))),[o]):[o]},D.prototype.matchModifier=function(t){var e=Ii(this.sortable).multiSortKey;return"none"===e?dl.every(function(e){return!t[e+"Key"]}):"ctrl"===e?t.ctrlKey||t.metaKey:t[e+"Key"]},D.prototype.ngAfterViewInit=function(){this.subscription.add(se(this.dropTargets).subscribe(this.attachTargets.bind(this)))},D.prototype.ngDoCheck=function(){this._leafColumns=Cn(this.columns||[]).filter(function(e){return!Rn(e)})},D.prototype.ngOnChanges=function(e){var t=this,e=e.sort;e&&!e.isFirstChange()&&e.currentValue.forEach(function(e){t.sortedFields[e.field]=!0})},D.prototype.ngOnInit=function(){var e=this;this.subscription.add(this.localization.changes.subscribe(function(){return e.cd.markForCheck()}))},D.prototype.ngOnDestroy=function(){this.targetSubscription&&this.targetSubscription.unsubscribe(),this.popupService&&this.popupService.destroy(),this.subscription.unsubscribe()},D.prototype.selectAllCheckboxId=function(){return this.idService.selectAllCheckboxId()},Object.defineProperty(D.prototype,"selectAllCheckboxLabel",{get:function(){return this.localization.get("selectAllCheckboxLabel")},enumerable:!1,configurable:!0}),D.prototype.isFirstOnRow=function(e,t){function n(e){return e&&(0<o.columnsForLevel(e.level).indexOf(e)||n(e.parent))}var o=this;return 0===t&&!this.groups.length&&!this.detailTemplate&&n(e.parent)},D.prototype.logicalColumnIndex=function(e){e=e.leafIndex;return V(e)?e+(V(this.detailTemplate)?1:0):-1},Object.defineProperty(D.prototype,"showFilterMenu",{get:function(){return!this.columnMenu&&Uo(this.filterable)},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"showFilterRow",{get:function(){return Qo(this.filterable)},enumerable:!1,configurable:!0}),D.prototype.showColumnMenu=function(e){return this.columnMenu&&e.columnMenu&&(this.columnMenuTemplate||e.columnMenuTemplates.length||(t=this.columnMenu,e=e,Di(t)||Si(t,e)||wi(t,e)||xi(t,e)));var t},D.prototype.isFilterable=function(e){return!ye(e.field)&&!0===e.filterable},D.prototype.canDrop=function(e,t){return this.reorderable&&ul({draggable:e,target:t})},D.prototype.shouldActivate=function(e){var t=this.reorderable&&e.reorderable;return!(!t&&!un(e))&&(this.groupable&&un(e)&&!1!==e.groupable||t)},D.prototype.isSortable=function(e){return!ye(e.field)&&fe(this.sortable)&&fe(e.sortable)},D.prototype.isCheckboxColumn=function(e){return an(e)&&!e.templateRef},D.prototype.trackByIndex=function(e,t){return e},D.prototype.addStickyStyles=function(e){var t=this.columnInfoService.stickyColumnsStyles(e);return Object.assign(Object.assign({},e.style),t)},D.prototype.toggleDirection=function(e,t,n){var o=this.sortDescriptor(e),n=k("asc"===n?["asc","desc"]:["desc","asc"],2),r=n[0],n=n[1],i=r;return o.dir===r?i=n:o.dir===n&&t&&(i=void 0),{dir:i,field:e}},D.prototype.columnsForLevel=function(t){var e=this.columns?this.columns.filter(function(e){return e.level===t}):[];return On(Cn(e))},D.prototype.isColumnGroupComponent=Rn,Object.defineProperty(D.prototype,"columnLevels",{get:function(){return new Array((this.totalColumnLevels||0)+1)},enumerable:!1,configurable:!0}),D.prototype.sortDescriptor=function(t){return this.sort.find(function(e){return e.field===t})||{field:t}},Object.defineProperty(D.prototype,"leafColumns",{get:function(){return this._leafColumns},enumerable:!1,configurable:!0}),D.prototype.attachTargets=function(){var n=this,e=(this.targetSubscription&&this.targetSubscription.unsubscribe(),this.targetSubscription=new b.Subscription,b.merge.apply(void 0,g([],k(this.dropTargets.map(function(e){return e.enter}))))),t=b.merge.apply(void 0,g([],k(this.dropTargets.map(function(e){return e.leave})))),o=b.merge.apply(void 0,g([],k(this.dropTargets.map(function(e){return e.drop}))));this.targetSubscription.add(e.pipe(G.tap(function(e){var t=e.target,e=e.draggable;"groupIndicator"!==e.context.type&&(t=fe(t.context.column.isLocked),e=fe(e.context.column.isLocked),(0<n.lockedColumnsCount||t||e)&&n.hint.toggleLock(t))}),G.filter(function(e){var t=e.draggable,e=e.target;return n.canDrop(t,e)}),G.switchMap(this.trackMove.bind(this,t,o)),G.map(function(e){return cl(e,{before:n.calculateBefore(e),changeContainer:e.changeContainer})}),G.map(this.normalizeTarget.bind(this)),G.tap(this.enter.bind(this)),G.switchMap(function(e){return o.pipe(G.map(function(){return e}),G.takeUntil(t.pipe(G.tap(n.leave.bind(n)))))})).subscribe(this.drop.bind(this)))},D.prototype.normalizeTarget=function(e){var t,n,o=e.target,r=o.context.column.parent;return r&&r.isSpanColumn&&(n=(t=this.dropTargets.toArray()).find(function(e){return e.context.column.parent===r}),n=t.indexOf(n),o=t[n+(e.before?0:r.childColumns.length-1)]),cl(e,{target:o})},D.prototype.trackMove=function(e,t,n){var o=n.target.context.column,r=this.columnsForLevel(o.level),i=r.indexOf(o),r=o.locked?i===r.length-1:0===i,i=n.draggable.context.column.isLocked!==o.isLocked;return i&&r?n.draggable.drag.pipe(G.takeUntil(e),G.takeUntil(t),G.map(function(e){e=e.mouseEvent;return cl({changeContainer:!0},n,{mouseEvent:e})})):b.of(cl({changeContainer:i},n))},D.prototype.calculateBefore=function(e){var t=e.draggable,n=e.target,o=e.mouseEvent,e=e.changeContainer,n=n.element.nativeElement,r=!1;return void 0!==e&&e?(r=or(n).left+n.offsetWidth/2>o.pageX,this.localization.rtl&&(r=!r)):r=rr(t.element.nativeElement,n),r},D.prototype.enter=function(e){var t=e.target,e=e.before;this.hint.enable(),this.localization.rtl&&(e=!e),this.cue.position(ir(t.element.nativeElement,e))},D.prototype.leave=function(){this.hint.disable(),this.cue.hide()},D.prototype.drop=function(e){var t=e.draggable,n=e.target,o=e.before,e=e.changeContainer;this.reorderService.reorder({before:o,changeContainer:e,source:t.context.column,target:n.context.column})},D);function D(e,t,n,o,r,i,a,s,l){this.popupService=e,this.hint=t,this.cue=n,this.reorderService=o,this.idService=r,this.sortService=i,this.localization=a,this.columnInfoService=s,this.cd=l,this.columns=[],this.groups=[],this.sort=new Array,this.sortable=!1,this.groupable=!1,this.lockedColumnsCount=0,this.resizable=!1,this.reorderable=!1,this.columnMenu=!1,this.totalColumnsCount=0,this.sortedFields={},this.dropTargets=new P.QueryList,this.subscription=new b.Subscription}gl.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:gl,deps:[{token:er},{token:dr},{token:mr},{token:fr},{token:f},{token:Sr},{token:a.LocalizationService},{token:C},{token:i.ChangeDetectorRef}],target:i.ɵɵFactoryTarget.Component}),gl.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:gl,selector:"[kendoGridHeader]",inputs:{totalColumnLevels:"totalColumnLevels",columns:"columns",groups:"groups",detailTemplate:"detailTemplate",scrollable:"scrollable",filterable:"filterable",sort:"sort",filter:"filter",sortable:"sortable",groupable:"groupable",lockedColumnsCount:"lockedColumnsCount",resizable:"resizable",reorderable:"reorderable",columnMenu:"columnMenu",columnMenuTemplate:"columnMenuTemplate",totalColumnsCount:"totalColumnsCount",tabIndex:"tabIndex"},host:{properties:{"class.k-grid-header":"this.headerClass"}},viewQueries:[{propertyName:"dropTargets",predicate:I,descendants:!0},{propertyName:"filterMenus",predicate:Wa,descendants:!0},{propertyName:"columnMenus",predicate:Ss,descendants:!0}],usesOnChanges:!0,ngImport:i,template:'\n <ng-container>\n <tr *ngFor="let i of columnLevels; let levelIndex = index"\n kendoGridLogicalRow\n [logicalRowIndex]="levelIndex"\n [logicalSlaveRow]="lockedColumnsCount > 0"\n [logicalCellsCount]="columns.length"\n [logicalSlaveCellsCount]="unlockedColumnsCount">\n <th\n class="k-group-cell k-header"\n role="presentation"\n *ngFor="let g of groups">\n </th>\n <th class="k-hierarchy-cell k-header"\n role="presentation"\n *ngIf="detailTemplate?.templateRef"\n kendoGridLogicalCell\n [logicalRowIndex]="levelIndex"\n [logicalColIndex]="0"\n aria-selected="false"\n >\n </th>\n <ng-container *ngFor="let column of columnsForLevel(levelIndex); trackBy: trackByIndex; let columnIndex = index; let last = last;">\n <th *ngIf="!isColumnGroupComponent(column)"\n kendoGridLogicalCell\n [logicalRowIndex]="levelIndex"\n [logicalColIndex]="logicalColumnIndex(column)"\n [headerLabelText]="column.title || getColumnComponent(column).field"\n [colSpan]="column.colspan"\n [rowSpan]="column.rowspan(totalColumnLevels)"\n role="columnheader"\n aria-selected="false"\n [attr.aria-sort]="sortState(getColumnComponent(column))"\n (keydown)="onHeaderKeydown(getColumnComponent(column), $event)"\n kendoDropTarget\n kendoDraggable\n kendoDraggableColumn\n [enableDrag]="shouldActivate(column)"\n [context]="{\n field: getColumnComponent(column).field,\n type: \'column\',\n column: column,\n hint: column.title || getColumnComponent(column).field,\n lastColumn: last && columnIndex === 0\n }"\n class="k-header"\n [class.k-filterable]="(showFilterMenu && isFilterable(getColumnComponent(column))) || showColumnMenu(column)"\n [class.k-first]="isFirstOnRow(getColumnComponent(column), columnIndex)"\n [class.k-grid-header-sticky]="column.sticky"\n [ngClass]="column.headerClass"\n [ngStyle]="column.sticky ? addStickyStyles(column) : column.headerStyle"\n [attr.rowspan]="column.rowspan(totalColumnLevels)"\n [attr.colspan]="column.colspan">\n\n <ng-container *ngIf="!isSortable(getColumnComponent(column))">\n <kendo-grid-filter-menu\n *ngIf="showFilterMenu && isFilterable(getColumnComponent(column))"\n [column]="getColumnComponent(column)"\n [filter]="filter"\n [tabIndex]="tabIndex">\n </kendo-grid-filter-menu>\n <kendo-grid-column-menu *ngIf="showColumnMenu(column)"\n [standalone]="false"\n [settings]="columnMenuSettings"\n [column]="column"\n [columnMenuTemplate]="columnMenuTemplate"\n [sort]="sort"\n [filter]="filter"\n [sortable]="sortable"\n [tabIndex]="tabIndex">\n </kendo-grid-column-menu>\n <ng-template\n [templateContext]="{\n templateRef: column.headerTemplateRef,\n columnIndex: column.leafIndex,\n column: column,\n $implicit: column\n }">\n </ng-template>\n <ng-container *ngIf="!column.headerTemplateRef">{{column.displayTitle}}</ng-container>\n </ng-container>\n\n <ng-container *ngIf="isSortable(getColumnComponent(column))">\n <span class="k-cell-inner">\n <span #link class="k-link" (click)="onSortClick(getColumnComponent(column), $event, link)">\n <ng-template\n [templateContext]="{\n templateRef: column.headerTemplateRef,\n columnIndex: column.leafIndex,\n column: column,\n $implicit: column\n }">\n </ng-template>\n <ng-container *ngIf="!column.headerTemplateRef">\n <span class="k-column-title">{{column.displayTitle}}</span>\n </ng-container>\n <span role="note" [attr.aria-label]="sortableLabel" [ngClass]="sortIcon(getColumnComponent(column).field)"></span>\n <span *ngIf="showSortNumbering(getColumnComponent(column))" class="k-sort-order">{{sortOrder(getColumnComponent(column).field)}}</span>\n </span>\n <span role="status"\n class="k-sort-status"\n style="position: absolute; left: -10000px;"\n [innerHtml]="sortStatus(getColumnComponent(column))">\n </span>\n <kendo-grid-filter-menu\n *ngIf="showFilterMenu && isFilterable(getColumnComponent(column))"\n [column]="getColumnComponent(column)"\n [filter]="filter"\n [tabIndex]="tabIndex">\n </kendo-grid-filter-menu>\n <kendo-grid-column-menu *ngIf="showColumnMenu(column)"\n [standalone]="false"\n [settings]="columnMenuSettings"\n [column]="column"\n [columnMenuTemplate]="columnMenuTemplate"\n [sort]="sort"\n [filter]="filter"\n [sortable]="sortable"\n [tabIndex]="tabIndex">\n </kendo-grid-column-menu>\n </span>\n </ng-container>\n\n <ng-container *ngIf="isCheckboxColumn(column) && !column.headerTemplateRef && $any(column).showSelectAll">\n <input\n class="k-checkbox k-checkbox-md k-rounded-md"\n [attr.id]="selectAllCheckboxId()"\n [attr.aria-label]="selectAllCheckboxLabel"\n kendoGridSelectAllCheckbox\n kendoGridFocusable>\n </ng-container>\n <span kendoGridColumnHandle\n kendoDraggable\n class="k-column-resizer"\n *ngIf="resizable"\n [column]="column"\n [columns]="columns">\n </span>\n </th>\n <th *ngIf="isColumnGroupComponent(column)"\n kendoGridLogicalCell\n [logicalRowIndex]="levelIndex"\n [logicalColIndex]="logicalColumnIndex(column)"\n [rowSpan]="column.rowspan(totalColumnLevels)"\n [colSpan]="column.colspan"\n [headerLabelText]="column.title || getColumnComponent(column).field"\n kendoDropTarget\n kendoDraggable\n kendoDraggableColumn\n [enableDrag]="shouldActivate(column)"\n [context]="{\n type: \'columnGroup\',\n column: column,\n hint: column.title,\n lastColumn: last && columnIndex === 0\n }"\n class="k-header"\n [class.k-first]="isFirstOnRow(getColumnComponent(column), columnIndex)"\n [class.k-filterable]="showColumnMenu(column)"\n [class.k-grid-content-sticky]="column.sticky"\n [ngClass]="column.headerClass"\n [ngStyle]="column.headerStyle"\n [attr.rowspan]="column.rowspan(totalColumnLevels)"\n [attr.colspan]="column.colspan">\n <kendo-grid-column-menu *ngIf="showColumnMenu(column)"\n [standalone]="false"\n [settings]="columnMenuSettings"\n [column]="column"\n [columnMenuTemplate]="columnMenuTemplate">\n </kendo-grid-column-menu>\n <ng-template\n [templateContext]="{\n templateRef: column.headerTemplateRef,\n columnIndex: lockedColumnsCount + columnIndex,\n column: column,\n $implicit: column\n }">\n </ng-template>\n <ng-container *ngIf="!column.headerTemplateRef">{{column.displayTitle}}</ng-container>\n <span kendoGridColumnHandle\n kendoDraggable\n class="k-column-resizer"\n *ngIf="resizable"\n [column]="column"\n [columns]="columns">\n </span>\n </th>\n </ng-container>\n </tr>\n <tr *ngIf="showFilterRow"\n kendoGridFilterRow\n [columns]="leafColumns"\n [filter]="filter"\n [groups]="groups"\n [detailTemplate]="detailTemplate"\n [lockedColumnsCount]="lockedColumnsCount"\n kendoGridLogicalRow\n [logicalRowIndex]="totalColumnLevels + 1"\n [logicalSlaveRow]="lockedColumnsCount > 0"\n [logicalCellsCount]="columns.length"\n [logicalSlaveCellsCount]="unlockedColumnsCount"\n ></tr>\n </ng-container>\n ',isInline:!0,styles:["\n .k-column-resizer {\n cursor: col-resize;\n display: block;\n height: 1000%;\n position: absolute;\n top: 0;\n width: .5em;\n }\n "],components:[{type:Wa,selector:"kendo-grid-filter-menu",inputs:["column","filter","tabIndex"]},{type:Ss,selector:"kendo-grid-column-menu",inputs:["standalone","column","settings","sort","filter","sortable","columnMenuTemplate","tabIndex"]},{type:Qs,selector:"[kendoGridFilterRow]",inputs:["columns","filter","groups","detailTemplate","logicalRowIndex","lockedColumnsCount"]}],directives:[{type:s.NgForOf,selector:"[ngFor][ngForOf]",inputs:["ngForOf","ngForTrackBy","ngForTemplate"]},{type:fa,selector:"[kendoGridLogicalRow]",inputs:["logicalRowIndex","logicalSlaveRow","logicalCellsCount","logicalSlaveCellsCount","dataRowIndex","dataItem"]},{type:s.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{type:Ui,selector:"[kendoGridLogicalCell]",inputs:["logicalColIndex","logicalRowIndex","logicalSlaveCell","colIndex","colSpan","rowSpan","groupItem","dataRowIndex","dataItem","detailExpandCell","headerLabelText"]},{type:I,selector:"[kendoDropTarget]",inputs:["context"],outputs:["enter","leave","drop"]},{type:X.DraggableDirective,selector:"[kendoDraggable]",inputs:["enableDrag"],outputs:["kendoPress","kendoDrag","kendoRelease"]},{type:w,selector:"[kendoDraggableColumn]",inputs:["context","enableDrag"],outputs:["drag"]},{type:s.NgClass,selector:"[ngClass]",inputs:["class","ngClass"]},{type:s.NgStyle,selector:"[ngStyle]",inputs:["ngStyle"]},{type:qi,selector:"[templateContext]",inputs:["templateContext"]},{type:tl,selector:"[kendoGridSelectAllCheckbox]",inputs:["state"],outputs:["selectAllChange"]},{type:Dt,selector:"[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ",inputs:["kendoGridFocusable"]},{type:sl,selector:"[kendoGridColumnHandle]",inputs:["columns","column"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:gl,decorators:[{type:P.Component,args:[{selector:"[kendoGridHeader]",styles:["\n .k-column-resizer {\n cursor: col-resize;\n display: block;\n height: 1000%;\n position: absolute;\n top: 0;\n width: .5em;\n }\n "],template:'\n <ng-container>\n <tr *ngFor="let i of columnLevels; let levelIndex = index"\n kendoGridLogicalRow\n [logicalRowIndex]="levelIndex"\n [logicalSlaveRow]="lockedColumnsCount > 0"\n [logicalCellsCount]="columns.length"\n [logicalSlaveCellsCount]="unlockedColumnsCount">\n <th\n class="k-group-cell k-header"\n role="presentation"\n *ngFor="let g of groups">\n </th>\n <th class="k-hierarchy-cell k-header"\n role="presentation"\n *ngIf="detailTemplate?.templateRef"\n kendoGridLogicalCell\n [logicalRowIndex]="levelIndex"\n [logicalColIndex]="0"\n aria-selected="false"\n >\n </th>\n <ng-container *ngFor="let column of columnsForLevel(levelIndex); trackBy: trackByIndex; let columnIndex = index; let last = last;">\n <th *ngIf="!isColumnGroupComponent(column)"\n kendoGridLogicalCell\n [logicalRowIndex]="levelIndex"\n [logicalColIndex]="logicalColumnIndex(column)"\n [headerLabelText]="column.title || getColumnComponent(column).field"\n [colSpan]="column.colspan"\n [rowSpan]="column.rowspan(totalColumnLevels)"\n role="columnheader"\n aria-selected="false"\n [attr.aria-sort]="sortState(getColumnComponent(column))"\n (keydown)="onHeaderKeydown(getColumnComponent(column), $event)"\n kendoDropTarget\n kendoDraggable\n kendoDraggableColumn\n [enableDrag]="shouldActivate(column)"\n [context]="{\n field: getColumnComponent(column).field,\n type: \'column\',\n column: column,\n hint: column.title || getColumnComponent(column).field,\n lastColumn: last && columnIndex === 0\n }"\n class="k-header"\n [class.k-filterable]="(showFilterMenu && isFilterable(getColumnComponent(column))) || showColumnMenu(column)"\n [class.k-first]="isFirstOnRow(getColumnComponent(column), columnIndex)"\n [class.k-grid-header-sticky]="column.sticky"\n [ngClass]="column.headerClass"\n [ngStyle]="column.sticky ? addStickyStyles(column) : column.headerStyle"\n [attr.rowspan]="column.rowspan(totalColumnLevels)"\n [attr.colspan]="column.colspan">\n\n <ng-container *ngIf="!isSortable(getColumnComponent(column))">\n <kendo-grid-filter-menu\n *ngIf="showFilterMenu && isFilterable(getColumnComponent(column))"\n [column]="getColumnComponent(column)"\n [filter]="filter"\n [tabIndex]="tabIndex">\n </kendo-grid-filter-menu>\n <kendo-grid-column-menu *ngIf="showColumnMenu(column)"\n [standalone]="false"\n [settings]="columnMenuSettings"\n [column]="column"\n [columnMenuTemplate]="columnMenuTemplate"\n [sort]="sort"\n [filter]="filter"\n [sortable]="sortable"\n [tabIndex]="tabIndex">\n </kendo-grid-column-menu>\n <ng-template\n [templateContext]="{\n templateRef: column.headerTemplateRef,\n columnIndex: column.leafIndex,\n column: column,\n $implicit: column\n }">\n </ng-template>\n <ng-container *ngIf="!column.headerTemplateRef">{{column.displayTitle}}</ng-container>\n </ng-container>\n\n <ng-container *ngIf="isSortable(getColumnComponent(column))">\n <span class="k-cell-inner">\n <span #link class="k-link" (click)="onSortClick(getColumnComponent(column), $event, link)">\n <ng-template\n [templateContext]="{\n templateRef: column.headerTemplateRef,\n columnIndex: column.leafIndex,\n column: column,\n $implicit: column\n }">\n </ng-template>\n <ng-container *ngIf="!column.headerTemplateRef">\n <span class="k-column-title">{{column.displayTitle}}</span>\n </ng-container>\n <span role="note" [attr.aria-label]="sortableLabel" [ngClass]="sortIcon(getColumnComponent(column).field)"></span>\n <span *ngIf="showSortNumbering(getColumnComponent(column))" class="k-sort-order">{{sortOrder(getColumnComponent(column).field)}}</span>\n </span>\n <span role="status"\n class="k-sort-status"\n style="position: absolute; left: -10000px;"\n [innerHtml]="sortStatus(getColumnComponent(column))">\n </span>\n <kendo-grid-filter-menu\n *ngIf="showFilterMenu && isFilterable(getColumnComponent(column))"\n [column]="getColumnComponent(column)"\n [filter]="filter"\n [tabIndex]="tabIndex">\n </kendo-grid-filter-menu>\n <kendo-grid-column-menu *ngIf="showColumnMenu(column)"\n [standalone]="false"\n [settings]="columnMenuSettings"\n [column]="column"\n [columnMenuTemplate]="columnMenuTemplate"\n [sort]="sort"\n [filter]="filter"\n [sortable]="sortable"\n [tabIndex]="tabIndex">\n </kendo-grid-column-menu>\n </span>\n </ng-container>\n\n <ng-container *ngIf="isCheckboxColumn(column) && !column.headerTemplateRef && $any(column).showSelectAll">\n <input\n class="k-checkbox k-checkbox-md k-rounded-md"\n [attr.id]="selectAllCheckboxId()"\n [attr.aria-label]="selectAllCheckboxLabel"\n kendoGridSelectAllCheckbox\n kendoGridFocusable>\n </ng-container>\n <span kendoGridColumnHandle\n kendoDraggable\n class="k-column-resizer"\n *ngIf="resizable"\n [column]="column"\n [columns]="columns">\n </span>\n </th>\n <th *ngIf="isColumnGroupComponent(column)"\n kendoGridLogicalCell\n [logicalRowIndex]="levelIndex"\n [logicalColIndex]="logicalColumnIndex(column)"\n [rowSpan]="column.rowspan(totalColumnLevels)"\n [colSpan]="column.colspan"\n [headerLabelText]="column.title || getColumnComponent(column).field"\n kendoDropTarget\n kendoDraggable\n kendoDraggableColumn\n [enableDrag]="shouldActivate(column)"\n [context]="{\n type: \'columnGroup\',\n column: column,\n hint: column.title,\n lastColumn: last && columnIndex === 0\n }"\n class="k-header"\n [class.k-first]="isFirstOnRow(getColumnComponent(column), columnIndex)"\n [class.k-filterable]="showColumnMenu(column)"\n [class.k-grid-content-sticky]="column.sticky"\n [ngClass]="column.headerClass"\n [ngStyle]="column.headerStyle"\n [attr.rowspan]="column.rowspan(totalColumnLevels)"\n [attr.colspan]="column.colspan">\n <kendo-grid-column-menu *ngIf="showColumnMenu(column)"\n [standalone]="false"\n [settings]="columnMenuSettings"\n [column]="column"\n [columnMenuTemplate]="columnMenuTemplate">\n </kendo-grid-column-menu>\n <ng-template\n [templateContext]="{\n templateRef: column.headerTemplateRef,\n columnIndex: lockedColumnsCount + columnIndex,\n column: column,\n $implicit: column\n }">\n </ng-template>\n <ng-container *ngIf="!column.headerTemplateRef">{{column.displayTitle}}</ng-container>\n <span kendoGridColumnHandle\n kendoDraggable\n class="k-column-resizer"\n *ngIf="resizable"\n [column]="column"\n [columns]="columns">\n </span>\n </th>\n </ng-container>\n </tr>\n <tr *ngIf="showFilterRow"\n kendoGridFilterRow\n [columns]="leafColumns"\n [filter]="filter"\n [groups]="groups"\n [detailTemplate]="detailTemplate"\n [lockedColumnsCount]="lockedColumnsCount"\n kendoGridLogicalRow\n [logicalRowIndex]="totalColumnLevels + 1"\n [logicalSlaveRow]="lockedColumnsCount > 0"\n [logicalCellsCount]="columns.length"\n [logicalSlaveCellsCount]="unlockedColumnsCount"\n ></tr>\n </ng-container>\n '}]}],ctorParameters:function(){return[{type:er},{type:dr},{type:mr},{type:fr},{type:f},{type:Sr},{type:a.LocalizationService},{type:C},{type:i.ChangeDetectorRef}]},propDecorators:{totalColumnLevels:[{type:P.Input}],columns:[{type:P.Input}],groups:[{type:P.Input}],detailTemplate:[{type:P.Input}],scrollable:[{type:P.Input}],filterable:[{type:P.Input}],sort:[{type:P.Input}],filter:[{type:P.Input}],sortable:[{type:P.Input}],groupable:[{type:P.Input}],lockedColumnsCount:[{type:P.Input}],resizable:[{type:P.Input}],reorderable:[{type:P.Input}],columnMenu:[{type:P.Input}],columnMenuTemplate:[{type:P.Input}],totalColumnsCount:[{type:P.Input}],tabIndex:[{type:P.Input}],headerClass:[{type:P.HostBinding,args:["class.k-grid-header"]}],dropTargets:[{type:P.ViewChildren,args:[I]}],filterMenus:[{type:P.ViewChildren,args:[Wa]}],columnMenus:[{type:P.ViewChildren,args:[Ss]}]}});hl.prototype.height=function(e){return this.heights[e]},hl.prototype.expandDetail=function(e){this.height(e)===this.rowHeight&&this.updateRowHeight(e,this.detailRowHeight)},hl.prototype.collapseDetail=function(e){this.height(e)>this.rowHeight&&this.updateRowHeight(e,-1*this.detailRowHeight)},hl.prototype.isExpanded=function(e){return this.height(e)>this.rowHeight},hl.prototype.index=function(o){var e;if(!(o<0))return e=this.offsets.reduce(function(e,t,n){return void 0!==e?e:t===o?n:o<t?n-1:void 0},void 0),void 0===e?this.total-1:e},hl.prototype.offset=function(e){return this.offsets[e]},hl.prototype.totalHeight=function(){return this.heights.reduce(function(e,t){return e+t},0)},hl.prototype.updateRowHeight=function(e,t){var n,o;0<this.total&&(this.heights[e]+=t,this.offsets=(n=this.offsets,e=e,o=t,g(g([],k(n.slice(0,e+1))),k(n.slice(e+1).map(function(e){return e+o})))))};var ml=hl;function hl(e,t,n){this.total=e=void 0===e?0:e,this.rowHeight=t,this.detailRowHeight=n,this.offsets=[],this.heights=[];for(var o=0,r=0;r<e;r++)this.offsets.push(o),o+=t,this.heights.push(t)}var fl=function(e){this.offset=e},yl=function(e,t){this.skip=e,this.take=t},vl=function(){},bl=(kl.prototype.create=function(e,t,n,o){var r=this,i=(this.rowHeightService=e,this.firstLoaded=t,this.lastLoaded=t+n,this.take=n,this.total=o,this.lastScrollTop=0,new b.BehaviorSubject(new fl(this.rowHeightService.offset(t))));return this.subscription=b.Observable.create(function(t){r.unsubscribe(),r.scrollSubscription=r.scrollObservable.subscribe(function(e){return r.onScroll(e,t)})}).subscribe(function(e){return i.next(e)}),i},kl.prototype.destroy=function(){this.unsubscribe(),this.subscription&&this.subscription.unsubscribe()},kl.prototype.onScroll=function(e,t){var n,o,r,i=e.scrollTop,a=e.offsetHeight,s=e.scrollHeight,e=e.clientHeight;this.lastScrollTop!==i&&(n=this.lastScrollTop>=i,this.lastScrollTop=i,o=this.rowHeightService.index(i),r=this.rowHeightService.offset(o),a=this.rowHeightService.index(i+a),n||(a>=this.lastLoaded&&this.lastLoaded<this.total?(0<(a=o+this.take-this.total)&&(r=this.rowHeightService.offset(o-=a)),this.firstLoaded=o,t.next(new fl(r)),a=this.firstLoaded+this.take,this.lastLoaded=Math.min(a,this.total),a=a>this.total?this.total-this.firstLoaded:this.take,t.next(new yl(this.firstLoaded,this.take))):s-e-i<2&&t.next(new vl)),n&&o<this.firstLoaded&&(r=Math.floor(.3*this.take),this.firstLoaded=Math.max(o-r,0),t.next(new fl(this.rowHeightService.offset(this.firstLoaded))),this.lastLoaded=Math.min(this.firstLoaded+this.take,this.total),t.next(new yl(this.firstLoaded,this.take))))},kl.prototype.unsubscribe=function(){this.scrollSubscription&&(this.scrollSubscription.unsubscribe(),this.scrollSubscription=void 0)},kl);function kl(e){this.scrollObservable=e,this.firstLoaded=0}var Cl,Il="k-hierarchy-cell k-detail-cell k-group-cell",xl=(c(wl,Cl=y),Object.defineProperty(wl.prototype,"templateRef",{get:function(){return this.template?this.template.templateRef:void 0},enumerable:!1,configurable:!0}),wl);function wl(e,t){t=Cl.call(this,e,t)||this;return t.parent=e,t}xl.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:xl,deps:[{token:y,host:!0,optional:!0,skipSelf:!0},{token:f,optional:!0}],target:i.ɵɵFactoryTarget.Component}),xl.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:xl,selector:"kendo-grid-command-column",providers:[{provide:y,useExisting:P.forwardRef(function(){return xl})}],queries:[{propertyName:"template",first:!0,predicate:Ut,descendants:!0}],usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:xl,decorators:[{type:P.Component,args:[{providers:[{provide:y,useExisting:P.forwardRef(function(){return xl})}],selector:"kendo-grid-command-column",template:""}]}],ctorParameters:function(){return[{type:y,decorators:[{type:P.SkipSelf},{type:P.Host},{type:P.Optional}]},{type:f,decorators:[{type:P.Optional}]}]},propDecorators:{template:[{type:P.ContentChild,args:[Ut,{static:!1}]}]}});Dl.prototype.ngAfterContentChecked=function(){this.setCheckedState()},Dl.prototype.ngOnDestroy=function(){this.destroyClick&&this.destroyClick(),this.destroyKeyDown&&this.destroyKeyDown()},Dl.prototype.onClick=function(){var t=this;this.selectionService.options.enabled&&this.ngZone.run(function(){var e=t.selectionService.toggleByIndex(t.itemIndex);e.ctrlKey=!0,e.shiftKey=!1,t.selectionService.changes.emit(e)})},Dl.prototype.onKeyDown=function(e){e.keyCode===p.Keys.Enter&&this.onClick()},Dl.prototype.setCheckedState=function(){this.renderer.setProperty(this.el.nativeElement,"checked",this.selectionService.isSelected(this.itemIndex))};var Sl=Dl;function Dl(e,t,n,o){var r=this;this.selectionService=e,this.el=t,this.renderer=n,this.ngZone=o,this.type="checkbox",this.ngZone.runOutsideAngular(function(){r.destroyClick=r.renderer.listen(r.el.nativeElement,"click",r.onClick.bind(r)),r.destroyKeyDown=r.renderer.listen(r.el.nativeElement,"keydown",r.onKeyDown.bind(r))})}Sl.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Sl,deps:[{token:Nt},{token:i.ElementRef},{token:i.Renderer2},{token:i.NgZone}],target:i.ɵɵFactoryTarget.Directive}),Sl.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:Sl,selector:"[kendoGridSelectionCheckbox]",inputs:{itemIndex:["kendoGridSelectionCheckbox","itemIndex"]},host:{properties:{"attr.type":"this.type"}},ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Sl,decorators:[{type:P.Directive,args:[{selector:"[kendoGridSelectionCheckbox]"}]}],ctorParameters:function(){return[{type:Nt},{type:i.ElementRef},{type:i.Renderer2},{type:i.NgZone}]},propDecorators:{itemIndex:[{type:P.Input,args:["kendoGridSelectionCheckbox"]}],type:[{type:P.HostBinding,args:["attr.type"]}]}});var Tl=/\{\d+:?/,Fl=(Ol.prototype.transform=function(e,t,n){return ye(t)?e:(t=K.getter(t)(e),ye(n)?t:this.formatValue(n,t))},Ol.prototype.formatValue=function(e,t){var n=this.intlService;return ce(e)&&e.match(Tl)?n.format(e,t):n.toString(t,e)},Ol);function Ol(e){this.intlService=e}Fl.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Fl,deps:[{token:oe.IntlService}],target:i.ɵɵFactoryTarget.Pipe}),Fl.ɵpipe=i.ɵɵngDeclarePipe({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Fl,name:"valueOf",pure:!1}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Fl,decorators:[{type:P.Pipe,args:[{name:"valueOf",pure:!1}]}],ctorParameters:function(){return[{type:oe.IntlService}]}});Object.defineProperty(Rl.prototype,"commandCellClass",{get:function(){return this.isCommand(this.column)},enumerable:!1,configurable:!0}),Object.defineProperty(Rl.prototype,"rowIndex",{get:function(){return this._rowIndex},set:function(e){this._rowIndex=e,this.updateCellContext()},enumerable:!1,configurable:!0}),Object.defineProperty(Rl.prototype,"isEdited",{get:function(){if(!this.editService.isEditing()&&!this.isNew||!this.isColumnEditable)return!1;var e=this.editService.columnContext(this.rowIndex,this.column);return this.isFieldEditable(e,this.column)},enumerable:!1,configurable:!0}),Object.defineProperty(Rl.prototype,"showLoading",{get:function(){return this.isVirtual&&this.isLoading},enumerable:!1,configurable:!0}),Object.defineProperty(Rl.prototype,"formGroup",{get:function(){return this.editService.context(this.rowIndex).group},enumerable:!1,configurable:!0}),Object.defineProperty(Rl.prototype,"templateContext",{get:function(){return this._templateContext},enumerable:!1,configurable:!0}),Object.defineProperty(Rl.prototype,"editTemplateContext",{get:function(){return this._editTemplateContext.$implicit=this.formGroup,this._editTemplateContext.isNew=this.isNew,this._editTemplateContext.column=this.column,this._editTemplateContext.dataItem=this.dataItem,this._editTemplateContext.formGroup=this.formGroup,this._editTemplateContext.rowIndex=this.rowIndex,this._editTemplateContext},enumerable:!1,configurable:!0}),Object.defineProperty(Rl.prototype,"format",{get:function(){if(un(this.column)&&!ye(this.column.format))return ue(this.column.format)},enumerable:!1,configurable:!0}),Object.defineProperty(Rl.prototype,"isBoundColumn",{get:function(){return this.column.field&&!this.column.templateRef},enumerable:!1,configurable:!0}),Object.defineProperty(Rl.prototype,"isCheckboxColumn",{get:function(){return an(this.column)&&!this.column.templateRef},enumerable:!1,configurable:!0}),Object.defineProperty(Rl.prototype,"selectionCheckboxId",{get:function(){return this.idService.selectionCheckboxId(this.rowIndex)},enumerable:!1,configurable:!0}),Object.defineProperty(Rl.prototype,"selectionCheckboxLabel",{get:function(){return this.localizationService.get("selectionCheckboxLabel")},enumerable:!1,configurable:!0}),Object.defineProperty(Rl.prototype,"isSpanColumn",{get:function(){return sn(this.column)&&!this.column.templateRef},enumerable:!1,configurable:!0}),Object.defineProperty(Rl.prototype,"childColumns",{get:function(){return Cn([this.column])},enumerable:!1,configurable:!0}),Object.defineProperty(Rl.prototype,"isColumnEditable",{get:function(){return!(!this.column||this.isCommand(this.column))&&!1!==this.column.editable},enumerable:!1,configurable:!0}),Rl.prototype.ngDoCheck=function(){this.updateCellContext()},Rl.prototype.ngOnChanges=function(e){this.updateTemplateContext()},Rl.prototype.ngAfterContentChecked=function(){this.updateTemplateContext()},Rl.prototype.isCommand=function(e){return e instanceof xl},Rl.prototype.isFieldEditable=function(e,t){return!!V(e)&&(!!V(t.editTemplate)||V(e.group)&&V(e.group.get(t.field)))},Rl.prototype.updateCellContext=function(){this.cellContext&&(this.cellContext.rowIndex=this._rowIndex)},Rl.prototype.updateTemplateContext=function(){var e;this.column.templateRef&&((e=this._templateContext).isNew=this.isNew,e.column=this.column,e.dataItem=this.dataItem,e.rowIndex=this.rowIndex,e.columnIndex=this.columnIndex,e.$implicit=this.dataItem)};var El=Rl;function Rl(e,t,n,o){this.editService=e,this.idService=t,this.localizationService=n,this.cellContext=o,this.isNew=!1,this.isLoading=!1,this.isVirtual=!1,this._templateContext={},this._editTemplateContext={}}El.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:El,deps:[{token:u},{token:f},{token:a.LocalizationService},{token:wt,optional:!0}],target:i.ɵɵFactoryTarget.Component}),El.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:El,selector:"[kendoGridCell]",inputs:{column:"column",columnIndex:"columnIndex",isNew:"isNew",isLoading:"isLoading",isVirtual:"isVirtual",loadingTemplate:"loadingTemplate",rowIndex:"rowIndex",dataItem:"dataItem"},host:{properties:{"class.k-command-cell":"this.commandCellClass"}},usesOnChanges:!0,ngImport:i,template:'\n <ng-container [ngSwitch]="isEdited">\n <ng-container *ngSwitchCase="false">\n <ng-container *ngIf="!showLoading; else loading">\n <ng-template *ngIf="column.templateRef"\n [ngTemplateOutlet]="column.templateRef"\n [ngTemplateOutletContext]="templateContext">\n </ng-template>\n <ng-container *ngIf="isSpanColumn">\n <ng-container *ngFor="let childColumn of childColumns">\n {{ dataItem | valueOf: childColumn.field: childColumn.format}}\n </ng-container>\n </ng-container>\n <ng-container *ngIf="isBoundColumn">{{ dataItem | valueOf: column.field: column.format}}</ng-container>\n <ng-container *ngIf="isCheckboxColumn && !isNew">\n <input\n class="k-checkbox k-checkbox-md k-rounded-md"\n [kendoGridSelectionCheckbox]="rowIndex"\n [attr.id]="selectionCheckboxId"\n [attr.aria-label]="selectionCheckboxLabel" />\n </ng-container>\n </ng-container>\n <ng-template #loading>\n <ng-template\n *ngIf="loadingTemplate"\n [ngTemplateOutlet]="loadingTemplate"\n [ngTemplateOutletContext]="{$implicit: column}">\n </ng-template>\n <div *ngIf="!loadingTemplate" class="k-skeleton-text k-skeleton"></div>\n </ng-template>\n </ng-container>\n <ng-container *ngSwitchCase="true">\n <ng-template\n *ngIf="column.editTemplateRef"\n [ngTemplateOutlet]="column.editTemplateRef"\n [ngTemplateOutletContext]="editTemplateContext">\n </ng-template>\n <ng-container [ngSwitch]="column.editor" *ngIf="!column.editTemplateRef">\n <kendo-numerictextbox\n *ngSwitchCase="\'numeric\'"\n [format]="format"\n [formControl]="$any(formGroup.get(column.field))"\n kendoGridFocusable\n ></kendo-numerictextbox>\n\n <kendo-datepicker\n *ngSwitchCase="\'date\'"\n [format]="format"\n [formControl]="$any(formGroup.get(column.field))"\n kendoGridFocusable\n ></kendo-datepicker>\n\n <input\n *ngSwitchCase="\'boolean\'"\n type="checkbox"\n class="k-checkbox k-checkbox-md k-rounded-md"\n [formControl]="$any(formGroup.get(column.field))"\n kendoGridFocusable\n />\n\n <input\n *ngSwitchDefault\n type="text"\n class="k-textbox k-input k-rounded-md"\n [formControl]="$any(formGroup.get(column.field))"\n kendoGridFocusable\n />\n </ng-container>\n </ng-container>\n </ng-container>\n ',isInline:!0,components:[{type:ee.NumericTextBoxComponent,selector:"kendo-numerictextbox",inputs:["focusableId","disabled","readonly","title","autoCorrect","format","max","min","decimals","placeholder","step","spinners","rangeValidation","tabindex","tabIndex","changeValueOnScroll","selectOnFocus","value","maxlength","size","rounded","fillMode"],outputs:["valueChange","focus","blur"],exportAs:["kendoNumericTextBox"]},{type:ne.DatePickerComponent,selector:"kendo-datepicker",inputs:["cellTemplate","monthCellTemplate","yearCellTemplate","decadeCellTemplate","centuryCellTemplate","weekNumberTemplate","headerTitleTemplate","navigationItemTemplate","focusableId","activeView","bottomView","topView","calendarType","animateCalendarNavigation","disabled","readonly","readOnlyInput","popupSettings","navigation","min","max","incompleteDateValidation","focusedDate","value","format","twoDigitYearMax","formatPlaceholder","placeholder","tabindex","tabIndex","disabledDates","title","rangeValidation","disabledDatesValidation","weekNumber","size","rounded","fillMode"],outputs:["valueChange","focus","blur","open","close"],exportAs:["kendo-datepicker"]}],directives:[{type:s.NgSwitch,selector:"[ngSwitch]",inputs:["ngSwitch"]},{type:s.NgSwitchCase,selector:"[ngSwitchCase]",inputs:["ngSwitchCase"]},{type:s.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{type:s.NgTemplateOutlet,selector:"[ngTemplateOutlet]",inputs:["ngTemplateOutletContext","ngTemplateOutlet"]},{type:s.NgForOf,selector:"[ngFor][ngForOf]",inputs:["ngForOf","ngForTrackBy","ngForTemplate"]},{type:Dt,selector:"[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ",inputs:["kendoGridFocusable"]},{type:Sl,selector:"[kendoGridSelectionCheckbox]",inputs:["kendoGridSelectionCheckbox"]},{type:l.NgControlStatus,selector:"[formControlName],[ngModel],[formControl]"},{type:l.FormControlDirective,selector:"[formControl]",inputs:["disabled","formControl","ngModel"],outputs:["ngModelChange"],exportAs:["ngForm"]},{type:l.CheckboxControlValueAccessor,selector:"input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]"},{type:s.NgSwitchDefault,selector:"[ngSwitchDefault]"},{type:l.DefaultValueAccessor,selector:"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]"}],pipes:{valueOf:Fl}}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:El,decorators:[{type:P.Component,args:[{selector:"[kendoGridCell]",template:'\n <ng-container [ngSwitch]="isEdited">\n <ng-container *ngSwitchCase="false">\n <ng-container *ngIf="!showLoading; else loading">\n <ng-template *ngIf="column.templateRef"\n [ngTemplateOutlet]="column.templateRef"\n [ngTemplateOutletContext]="templateContext">\n </ng-template>\n <ng-container *ngIf="isSpanColumn">\n <ng-container *ngFor="let childColumn of childColumns">\n {{ dataItem | valueOf: childColumn.field: childColumn.format}}\n </ng-container>\n </ng-container>\n <ng-container *ngIf="isBoundColumn">{{ dataItem | valueOf: column.field: column.format}}</ng-container>\n <ng-container *ngIf="isCheckboxColumn && !isNew">\n <input\n class="k-checkbox k-checkbox-md k-rounded-md"\n [kendoGridSelectionCheckbox]="rowIndex"\n [attr.id]="selectionCheckboxId"\n [attr.aria-label]="selectionCheckboxLabel" />\n </ng-container>\n </ng-container>\n <ng-template #loading>\n <ng-template\n *ngIf="loadingTemplate"\n [ngTemplateOutlet]="loadingTemplate"\n [ngTemplateOutletContext]="{$implicit: column}">\n </ng-template>\n <div *ngIf="!loadingTemplate" class="k-skeleton-text k-skeleton"></div>\n </ng-template>\n </ng-container>\n <ng-container *ngSwitchCase="true">\n <ng-template\n *ngIf="column.editTemplateRef"\n [ngTemplateOutlet]="column.editTemplateRef"\n [ngTemplateOutletContext]="editTemplateContext">\n </ng-template>\n <ng-container [ngSwitch]="column.editor" *ngIf="!column.editTemplateRef">\n <kendo-numerictextbox\n *ngSwitchCase="\'numeric\'"\n [format]="format"\n [formControl]="$any(formGroup.get(column.field))"\n kendoGridFocusable\n ></kendo-numerictextbox>\n\n <kendo-datepicker\n *ngSwitchCase="\'date\'"\n [format]="format"\n [formControl]="$any(formGroup.get(column.field))"\n kendoGridFocusable\n ></kendo-datepicker>\n\n <input\n *ngSwitchCase="\'boolean\'"\n type="checkbox"\n class="k-checkbox k-checkbox-md k-rounded-md"\n [formControl]="$any(formGroup.get(column.field))"\n kendoGridFocusable\n />\n\n <input\n *ngSwitchDefault\n type="text"\n class="k-textbox k-input k-rounded-md"\n [formControl]="$any(formGroup.get(column.field))"\n kendoGridFocusable\n />\n </ng-container>\n </ng-container>\n </ng-container>\n '}]}],ctorParameters:function(){return[{type:u},{type:f},{type:a.LocalizationService},{type:void 0,decorators:[{type:P.Optional},{type:P.Inject,args:[wt]}]}]},propDecorators:{commandCellClass:[{type:P.HostBinding,args:["class.k-command-cell"]}],column:[{type:P.Input}],columnIndex:[{type:P.Input}],isNew:[{type:P.Input}],isLoading:[{type:P.Input}],isVirtual:[{type:P.Input}],loadingTemplate:[{type:P.Input}],rowIndex:[{type:P.Input}],dataItem:[{type:P.Input}]}});Object.defineProperty(Ll.prototype,"groupItemClass",{get:function(){return!0},enumerable:!1,configurable:!0}),Ll.prototype.ngDoCheck=function(){var e={group:this.item.data,groupIndex:this.item.index,parentGroup:Ye(this.item.parentGroup)};this.isExpanded=this.groupsService.isExpanded(e)},Ll.prototype.prefixGroupCell=function(e){return new Array(e.level)},Ll.prototype.toggleGroup=function(e){return this.groupsService.toggleRow(e),!1},Ll.prototype.groupSpan=function(e){var t=(this.groups||[]).length,n=this.hasDetails?1:0;if(this.hasGroupHeaderColumn)return t+1+n-e.level;var o=Sn(this.columns);return this.skipGroupDecoration?o:t+o+n-e.level},Ll.prototype.logicalColSpan=function(){return this.skipGroupDecoration?1:this.totalColumnsCount},Ll.prototype.ariaRole=function(){return this.skipGroupDecoration?"presentation":"gridcell"},Ll.prototype.formatForGroup=function(e){return this.groupInfoService.formatForGroup(e)},Ll.prototype.groupTitle=function(e){return this.groupInfoService.groupTitle(e)},Ll.prototype.groupHeaderTemplate=function(e){return this.groupInfoService.groupHeaderTemplate(e)},Object.defineProperty(Ll.prototype,"groupButtonTitle",{get:function(){var e=this.isExpanded?"groupCollapse":"groupExpand";return this.localization.get(e)},enumerable:!1,configurable:!0});ne=Ll;function Ll(e,t,n){this.groupsService=e,this.groupInfoService=t,this.localization=n,this.skipGroupDecoration=!1,this.hasDetails=!1,this.totalColumnsCount=0,this.groups=[],this.isExpanded=!1}ne.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ne,deps:[{token:Je},{token:vo},{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),ne.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:ne,selector:"[kendoGridGroupHeader]",inputs:{rowIndex:"rowIndex",logicalRowIndex:"logicalRowIndex",item:"item",skipGroupDecoration:"skipGroupDecoration",hasDetails:"hasDetails",totalColumnsCount:"totalColumnsCount",hasGroupHeaderColumn:"hasGroupHeaderColumn",groupHeaderColumns:"groupHeaderColumns",columns:"columns",groups:"groups"},host:{properties:{"class.k-grouping-row":"this.groupItemClass"}},ngImport:i,template:'\n <ng-container *ngIf="!skipGroupDecoration">\n <td class="k-group-cell"\n role="presentation"\n *ngFor="let g of prefixGroupCell(item)"></td>\n </ng-container>\n <td [attr.colspan]="groupSpan(item)" *ngIf="!(skipGroupDecoration && hasGroupHeaderColumn)"\n [attr.role]="ariaRole()"\n aria-selected="false"\n [attr.aria-expanded]="isExpanded"\n kendoGridLogicalCell\n [logicalRowIndex]="logicalRowIndex"\n [logicalColIndex]="0"\n [logicalSlaveCell]="skipGroupDecoration"\n [groupItem]="item"\n [colSpan]="logicalColSpan()">\n <p class="k-reset">\n <ng-container *ngIf="!skipGroupDecoration">\n <a href="#" tabindex="-1" (click)="toggleGroup(item)"\n class="k-icon"\n [ngClass]="{ \'k-i-collapse\': isExpanded, \'k-i-expand\': !isExpanded }" role="presentation"\n [attr.title]="groupButtonTitle"\n [attr.aria-label]="groupButtonTitle">\n </a>\n <ng-container *ngIf="!groupHeaderTemplate(item)">\n {{groupTitle(item)}}: {{item.data | valueOf:"value": formatForGroup(item)}}\n </ng-container>\n <ng-template\n [templateContext]="{\n templateRef: groupHeaderTemplate(item),\n group: item.data,\n aggregates: item.data?.aggregates,\n value: item.data?.value,\n field: item.data?.field,\n index: item.index,\n expanded: isExpanded,\n $implicit: item.data\n }">\n </ng-template>\n </ng-container>\n </p>\n </td>\n <ng-container *ngIf="hasGroupHeaderColumn">\n <td *ngFor="let column of groupHeaderColumns; let index = index"\n role="gridcell"\n aria-selected="false"\n kendoGridLogicalCell\n [logicalRowIndex]="logicalRowIndex"\n [logicalColIndex]="index + 1"\n [logicalSlaveCell]="false"\n [groupItem]="item"\n [colSpan]="1"\n >\n <ng-template *ngIf="column.groupHeaderColumnTemplateRef" [ngTemplateOutlet]="column.groupHeaderColumnTemplateRef"\n [ngTemplateOutletContext]="{\n group: item.data,\n aggregates: item.data?.aggregates,\n value: item.data?.value,\n field: item.data?.field,\n index: item.index,\n $implicit: item.data\n }">\n </ng-template>\n </td>\n </ng-container>\n ',isInline:!0,directives:[{type:s.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{type:s.NgForOf,selector:"[ngFor][ngForOf]",inputs:["ngForOf","ngForTrackBy","ngForTemplate"]},{type:Ui,selector:"[kendoGridLogicalCell]",inputs:["logicalColIndex","logicalRowIndex","logicalSlaveCell","colIndex","colSpan","rowSpan","groupItem","dataRowIndex","dataItem","detailExpandCell","headerLabelText"]},{type:s.NgClass,selector:"[ngClass]",inputs:["class","ngClass"]},{type:qi,selector:"[templateContext]",inputs:["templateContext"]},{type:s.NgTemplateOutlet,selector:"[ngTemplateOutlet]",inputs:["ngTemplateOutletContext","ngTemplateOutlet"]}],pipes:{valueOf:Fl}}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ne,decorators:[{type:P.Component,args:[{selector:"[kendoGridGroupHeader]",template:'\n <ng-container *ngIf="!skipGroupDecoration">\n <td class="k-group-cell"\n role="presentation"\n *ngFor="let g of prefixGroupCell(item)"></td>\n </ng-container>\n <td [attr.colspan]="groupSpan(item)" *ngIf="!(skipGroupDecoration && hasGroupHeaderColumn)"\n [attr.role]="ariaRole()"\n aria-selected="false"\n [attr.aria-expanded]="isExpanded"\n kendoGridLogicalCell\n [logicalRowIndex]="logicalRowIndex"\n [logicalColIndex]="0"\n [logicalSlaveCell]="skipGroupDecoration"\n [groupItem]="item"\n [colSpan]="logicalColSpan()">\n <p class="k-reset">\n <ng-container *ngIf="!skipGroupDecoration">\n <a href="#" tabindex="-1" (click)="toggleGroup(item)"\n class="k-icon"\n [ngClass]="{ \'k-i-collapse\': isExpanded, \'k-i-expand\': !isExpanded }" role="presentation"\n [attr.title]="groupButtonTitle"\n [attr.aria-label]="groupButtonTitle">\n </a>\n <ng-container *ngIf="!groupHeaderTemplate(item)">\n {{groupTitle(item)}}: {{item.data | valueOf:"value": formatForGroup(item)}}\n </ng-container>\n <ng-template\n [templateContext]="{\n templateRef: groupHeaderTemplate(item),\n group: item.data,\n aggregates: item.data?.aggregates,\n value: item.data?.value,\n field: item.data?.field,\n index: item.index,\n expanded: isExpanded,\n $implicit: item.data\n }">\n </ng-template>\n </ng-container>\n </p>\n </td>\n <ng-container *ngIf="hasGroupHeaderColumn">\n <td *ngFor="let column of groupHeaderColumns; let index = index"\n role="gridcell"\n aria-selected="false"\n kendoGridLogicalCell\n [logicalRowIndex]="logicalRowIndex"\n [logicalColIndex]="index + 1"\n [logicalSlaveCell]="false"\n [groupItem]="item"\n [colSpan]="1"\n >\n <ng-template *ngIf="column.groupHeaderColumnTemplateRef" [ngTemplateOutlet]="column.groupHeaderColumnTemplateRef"\n [ngTemplateOutletContext]="{\n group: item.data,\n aggregates: item.data?.aggregates,\n value: item.data?.value,\n field: item.data?.field,\n index: item.index,\n $implicit: item.data\n }">\n </ng-template>\n </td>\n </ng-container>\n '}]}],ctorParameters:function(){return[{type:Je},{type:vo},{type:a.LocalizationService}]},propDecorators:{rowIndex:[{type:P.Input}],logicalRowIndex:[{type:P.Input}],item:[{type:P.Input}],skipGroupDecoration:[{type:P.Input}],hasDetails:[{type:P.Input}],totalColumnsCount:[{type:P.Input}],hasGroupHeaderColumn:[{type:P.Input}],groupHeaderColumns:[{type:P.Input}],columns:[{type:P.Input}],groups:[{type:P.Input}],groupItemClass:[{type:P.HostBinding,args:["class.k-grouping-row"]}]}});Object.defineProperty(T.prototype,"newDataItem",{get:function(){return this.editService.newDataItem},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"unlockedColumnsCount",{get:function(){return this.totalColumnsCount-this.lockedColumnsCount-(this.allColumns||this.columns).length},enumerable:!1,configurable:!0}),T.prototype.isAriaSelected=function(e,t){return this.cellSelectionService.isCellSelected(e,t)||this.isRowSelected(e)?"true":"false"},T.prototype.toggleRow=function(e,t){return this.detailsService.toggleRow(e,t),!1},T.prototype.isExpanded=function(e){return this.detailsService.isExpanded(e.index,e.data)},T.prototype.detailButtonStyles=function(e){return this.isExpanded(e)?"k-i-minus":"k-i-plus"},T.prototype.detailButtonTitle=function(e){e=this.isExpanded(e)?"detailCollapse":"detailExpand";return this.localization.get(e)},T.prototype.isGroup=function(e){return"group"===e.type},T.prototype.isDataItem=function(e){return!this.isGroup(e)&&!this.isFooter(e)},T.prototype.isFooter=function(e){return"footer"===e.type},T.prototype.isFooterItemInExpandedGroup=function(e){e={data:e.data,index:e.groupIndex,parentGroup:e.group.parentGroup};return this.isInExpandedGroup(e)},T.prototype.isDataItemInExpandedGroup=function(e){e={data:e.group.data,index:e.groupIndex,parentGroup:e.group.parentGroup};return this.isInExpandedGroup(e)},T.prototype.isInExpandedGroup=function(e){return this.groupsService.isInExpandedGroup(e)},T.prototype.isParentGroupExpanded=function(e){return this.groupsService.isInExpandedGroup(e.parentGroup)},T.prototype.isOdd=function(e){return e.index%2!=0},T.prototype.isSelectable=function(){return this.selectable&&!1!==this.selectable.enabled},T.prototype.isRowSelected=function(e){return this.selectionService.isSelected(e.index)},T.prototype.trackByWrapper=function(e,t){return"data"===t.type&&(t.isEditing=this.editService.hasEdited(t.index)),this.trackBy(e,t)},T.prototype.trackByColumns=function(e,t){return this.virtualColumns?e:t},T.prototype.ngDoCheck=function(){this.hasGroupHeaderColumn?this.groupHeaderColumns=Cn(this.skipGroupDecoration?this.columns:this.columns.toArray().slice(1)):this.groupHeaderColumns=[],this.isLocked?this.groupHeaderSlaveCellsCount=this.hasGroupHeaderColumn?this.columnsContainer.nonLockedColumnsToRender.length:1:this.groupHeaderSlaveCellsCount=0},T.prototype.ngAfterViewChecked=function(){this.rowSticky&&this.applyStickyRowsStyling()},T.prototype.ngOnChanges=function(e){p.isChanged("columns",e,!1)&&this.changeNotification.notify()},T.prototype.logicalRowIndex=function(e){var e=this.skip+e,e=(this.hasDetailTemplate&&(e*=2),1+e),t=this.editService.hasNewItem?1:0,n=Qo(this.filterable)?1:0;return e+(this.columnInfoService.totalLevels+n+t)},T.prototype.addRowLogicalIndex=function(){return this.columnInfoService.totalLevels+1+(Qo(this.filterable)?1:0)},T.prototype.logicalColIndex=function(e){return V(e.leafIndex)?e.leafIndex+(this.hasDetailTemplate?1:0):-1},T.prototype.ngOnInit=function(){var s=this,e=(this.ngZone.runOutsideAngular(function(){var e=s.clickHandler.bind(s),t=s.renderer.listen(s.element.nativeElement,"mousedown",e),n=s.renderer.listen(s.element.nativeElement,"mouseup",e),o=s.renderer.listen(s.element.nativeElement,"click",e),r=s.renderer.listen(s.element.nativeElement,"contextmenu",e),i=s.renderer.listen(s.element.nativeElement,"touchstart",e),a=s.renderer.listen(s.element.nativeElement,"touchend",e);s.clickSubscription=function(){t(),n(),o(),r()},s.touchSubscription=function(){i(),a()}}),this.localization.get("noRecords"));this.localization.changes.subscribe(function(){s.noRecordsText===e&&(s.noRecordsText=s.localization.get("noRecords"),e=s.noRecordsText)})},T.prototype.ngOnDestroy=function(){this.clickSubscription&&this.clickSubscription(),this.touchSubscription&&this.touchSubscription(),this.cellKeydownSubscription.unsubscribe(),clearTimeout(this.clickTimeout)},T.prototype.isEditingCell=function(e,t){return this.editService.isEditing()&&this.editService.isEditedColumn(e,t)},T.prototype.isEditingRow=function(e){return this.editService.isEditing()&&this.editService.hasEdited(e)},Object.defineProperty(T.prototype,"hasGroupHeaderColumn",{get:function(){return this.columnsContainer.hasGroupHeaderColumn},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"columnsContainer",{get:function(){return this.columnInfoService.columnsContainer},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"columnsSpan",{get:function(){return Sn(this.columns)},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"allColumnsSpan",{get:function(){return Sn(this.allColumns||this.columns)},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"colSpan",{get:function(){return this.columnsSpan+this.groups.length+(this.hasDetailTemplate?1:0)},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"footerColumns",{get:function(){return this.isLocked?this.columnsContainer.lockedColumnsToRender:this.columnsContainer.nonLockedColumnsToRender},enumerable:!1,configurable:!0}),T.prototype.showGroupHeader=function(e){return!e.data.skipHeader},T.prototype.addStickyColumnStyles=function(e){var t=this.columnInfoService.stickyColumnsStyles(e);return Object.assign(Object.assign({},e.style),t)},T.prototype.resizeHandler=function(){this.applyStickyRowsStyling()},Object.defineProperty(T.prototype,"hasDetailTemplate",{get:function(){return V(this.detailTemplate)},enumerable:!1,configurable:!0}),T.prototype.clickHandler=function(e){for(var t,n,o,r,i,a=this,s=this.element.nativeElement,l=this.eventTarget(e),c=l;t=$e(c,ze("td")),n=$e(t,ze("tr")),o=$e(n,ze("tbody")),r=Ne(c=o,Me("k-grid"),s),o&&o!==s&&!r;);!t||Ve(t,Il)||Ve(n,"k-grouping-row k-group-footer k-detail-row k-grid-norecords")||o!==s||r||(this.editService.preventCellClose(),l!==t&&_e(l,!1)||ze("label")(l)||Ve(l,"k-icon")||Ne(l,Me("k-grid k-grid-ignore-click"),t)||(i=this.cellClickArgs(t,n,e),"mousedown"===e.type||"touchstart"===e.type?this.domEvents.cellMousedown.emit(i):"mouseup"===e.type||"touchend"===e.type?this.domEvents.cellMouseup.emit(i):!i.isEditedColumn&&this.editService.closeCell(e)||("click"===e.type?this.clickTimeout=setTimeout(function(){a.emitCellClick(i)},0):this.emitCellClick(i))))},T.prototype.emitCellClick=function(e){this.domEvents.cellClick.emit(Object.assign(e,{isEdited:e.isEditedRow||e.isEditedColumn}))},T.prototype.cellKeydownHandler=function(e){e.keyCode===p.Keys.Enter&&this.clickHandler(e)},T.prototype.cellClickArgs=function(e,t,n){var e=function(e,t){for(var n=0,o=0;o<t.length;o++){if(t[o]===e)return n;Ve(t[o],"k-hierarchy-cell k-group-cell")||n++}}(e,t.cells),o=this.columns.toArray()[e],e=this.lockedColumnsCount+e,t=t.getAttribute("data-kendo-grid-item-index");return{column:o,columnIndex:e,dataItem:-1===(t=t?parseInt(t,10):-1)?this.editService.newDataItem:this.data.at(t-this.skip),isEditedColumn:this.editService.isEditedColumn(t,o),isEditedRow:this.editService.isEdited(t),originalEvent:n,rowIndex:t,type:"keydown"===n.type?"click":n.type}},T.prototype.eventTarget=function(e){var t;return"touchend"===e.type?(t=e.changedTouches[0],document.elementFromPoint(t.clientX,t.clientY)):e.target},T.prototype.applyStickyRowsStyling=function(){var n,o,r=this,e=(e=this.element.nativeElement.querySelectorAll(".k-grid-row-sticky"),[].slice.call(e));e.length&&(n=0,o=[],e.forEach(function(e){e=e.getBoundingClientRect().height;o.push({accumulatedHeight:n,rowHeight:e}),n+=e}),e.forEach(function(e,t){r.renderer.setStyle(e,"top",o[t].accumulatedHeight+"px"),r.renderer.setStyle(e,"bottom",n-o[t].accumulatedHeight-o[t].rowHeight+"px")}))};l=T;function T(e,t,n,o,r,i,a,s,l,c,p,u,d){var g=this;this.detailsService=e,this.groupsService=t,this.changeNotification=n,this.editService=o,this.localization=r,this.ngZone=i,this.renderer=a,this.element=s,this.domEvents=l,this.selectionService=c,this.cellSelectionService=p,this.columnInfoService=u,this.navigationService=d,this.columns=[],this.groups=[],this.skip=0,this.noRecordsText=this.localization.get("noRecords"),this.isLocked=!1,this.skipGroupDecoration=!1,this.showGroupFooters=!1,this.lockedColumnsCount=0,this.totalColumnsCount=0,this.trackBy=Or,this.rowClass=function(){return null},this.cellKeydownSubscription=this.navigationService.cellKeydown.subscribe(function(e){return g.cellKeydownHandler(e)}),this.trackByWrapper=this.trackByWrapper.bind(this),this.trackByColumns=this.trackByColumns.bind(this)}l.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:l,deps:[{token:ct},{token:Je},{token:ko},{token:u},{token:a.LocalizationService},{token:i.NgZone},{token:i.Renderer2},{token:i.ElementRef},{token:we},{token:Nt},{token:At},{token:C},{token:m}],target:i.ɵɵFactoryTarget.Component}),l.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:l,selector:"[kendoGridTableBody]",inputs:{columns:"columns",allColumns:"allColumns",groups:"groups",detailTemplate:"detailTemplate",noRecordsTemplate:"noRecordsTemplate",data:"data",skip:"skip",selectable:"selectable",filterable:"filterable",noRecordsText:"noRecordsText",isLocked:"isLocked",isLoading:"isLoading",isVirtual:"isVirtual",cellLoadingTemplate:"cellLoadingTemplate",skipGroupDecoration:"skipGroupDecoration",showGroupFooters:"showGroupFooters",lockedColumnsCount:"lockedColumnsCount",totalColumnsCount:"totalColumnsCount",virtualColumns:"virtualColumns",trackBy:"trackBy",rowSticky:"rowSticky",rowClass:"rowClass"},usesOnChanges:!0,ngImport:i,template:'\n <ng-container *ngIf="editService.hasNewItem">\n <tr class="k-grid-add-row k-grid-edit-row"\n kendoGridLogicalRow\n [logicalRowIndex]="addRowLogicalIndex()"\n [logicalSlaveRow]="lockedColumnsCount > 0"\n [logicalCellsCount]="columns.length"\n [logicalSlaveCellsCount]="unlockedColumnsCount">\n <ng-container *ngIf="!skipGroupDecoration">\n <td class="k-group-cell" *ngFor="let g of groups" role="presentation"></td>\n </ng-container>\n <td class="k-hierarchy-cell"\n *ngIf="detailTemplate?.templateRef"\n kendoGridLogicalCell\n [logicalRowIndex]="addRowLogicalIndex()"\n [logicalColIndex]="0"\n aria-selected="false"\n >\n </td>\n <td *ngFor="let column of columns; let columnIndex = index; trackBy: trackByColumns;"\n kendoGridCell\n [rowIndex]="-1"\n [columnIndex]="lockedColumnsCount + columnIndex"\n [isNew]="true"\n [column]="column"\n [dataItem]="newDataItem"\n [class.k-grid-content-sticky]="column.sticky"\n [ngClass]="column.cssClass"\n [style.left]="column.sticky ? \'0\' : undefined"\n [ngStyle]="column.sticky ? addStickyColumnStyles(column) : column.style"\n [attr.colspan]="column.colspan"\n kendoGridLogicalCell\n [logicalRowIndex]="addRowLogicalIndex()"\n [logicalColIndex]="logicalColIndex(column)"\n [colSpan]="column.colspan"\n role="gridcell">\n </td>\n </tr>\n </ng-container>\n <tr *ngIf="data?.length === 0 || data === null" class="k-grid-norecords">\n <td [attr.colspan]="colSpan">\n <ng-template\n *ngIf="noRecordsTemplate?.templateRef"\n [templateContext]="{\n templateRef: noRecordsTemplate?.templateRef\n }">\n </ng-template>\n <ng-container *ngIf="!noRecordsTemplate?.templateRef">\n {{noRecordsText}}\n </ng-container>\n </td>\n </tr>\n\n <ng-container *ngFor="let item of data; trackBy: trackByWrapper; let rowIndex = index;">\n <tr *ngIf="isGroup(item) && isParentGroupExpanded($any(item)) && showGroupHeader(item)"\n kendoGridGroupHeader\n [columns]="columns"\n [groups]="groups"\n [item]="$any(item)"\n [hasDetails]="!!detailTemplate?.templateRef"\n [skipGroupDecoration]="skipGroupDecoration"\n [hasGroupHeaderColumn]="hasGroupHeaderColumn"\n [groupHeaderColumns]="groupHeaderColumns"\n [rowIndex]="rowIndex + 1"\n [totalColumnsCount]="totalColumnsCount"\n kendoGridLogicalRow\n [logicalRowIndex]="logicalRowIndex(rowIndex)"\n [logicalSlaveRow]="lockedColumnsCount > 0"\n [logicalCellsCount]="columns.length"\n [logicalSlaveCellsCount]="groupHeaderSlaveCellsCount">\n </tr>\n <tr\n *ngIf="isDataItem(item) && (!$any(item).group || isDataItemInExpandedGroup($any(item)))"\n kendoGridLogicalRow\n [dataRowIndex]="$any(item).index"\n [dataItem]="item.data"\n [logicalRowIndex]="logicalRowIndex(rowIndex)"\n [logicalSlaveRow]="lockedColumnsCount > 0"\n [logicalCellsCount]="columns.length"\n [logicalSlaveCellsCount]="unlockedColumnsCount"\n [class.k-grid-row-sticky]="rowSticky ? rowSticky({ dataItem: item.data, index: $any(item).index }) : false"\n [ngClass]="rowClass({ dataItem: item.data, index: $any(item).index })"\n [class.k-alt]="isOdd(item)"\n [class.k-master-row]="detailTemplate?.templateRef"\n [class.k-grid-edit-row]="isEditingRow($any(item).index)"\n [attr.data-kendo-grid-item-index]="$any(item).index"\n [class.k-state-selected]="isSelectable() && isRowSelected(item)">\n <ng-container *ngIf="!skipGroupDecoration">\n <td class="k-group-cell" *ngFor="let g of groups" role="presentation"></td>\n </ng-container>\n <td class="k-hierarchy-cell"\n *ngIf="detailTemplate?.templateRef"\n kendoGridLogicalCell\n [logicalRowIndex]="logicalRowIndex(rowIndex)"\n [logicalColIndex]="0"\n [dataRowIndex]="$any(item).index"\n [dataItem]="item.data"\n [detailExpandCell]="true"\n aria-selected="false"\n >\n <a class="k-icon"\n *ngIf="detailTemplate.showIf(item.data, $any(item).index)"\n [ngClass]="detailButtonStyles(item)"\n [attr.title]="detailButtonTitle(item)"\n [attr.aria-label]="detailButtonTitle(item)"\n href="#" tabindex="-1" (click)="toggleRow($any(item).index, item.data)"></a>\n </td>\n <td\n kendoGridCell\n [rowIndex]="$any(item).index"\n [columnIndex]="lockedColumnsCount + columnIndex"\n [attr.data-kendo-grid-column-index]="lockedColumnsCount + columnIndex"\n [column]="column"\n [dataItem]="item.data"\n [isLoading]="isLoading"\n [isVirtual]="isVirtual"\n [loadingTemplate]="cellLoadingTemplate"\n kendoGridLogicalCell\n [logicalRowIndex]="logicalRowIndex(rowIndex)"\n [logicalColIndex]="logicalColIndex(column)"\n [dataRowIndex]="$any(item).index"\n [dataItem]="item.data"\n [colIndex]="columnIndex"\n [colSpan]="column.colspan"\n role="gridcell"\n [attr.aria-selected]="isSelectable() ? isAriaSelected(item, column) : undefined"\n [class.k-grid-content-sticky]="column.sticky"\n [class.k-touch-action-none]="isSelectable() && $any(selectable).drag"\n [class.k-touch-action-auto]="!(isSelectable() && $any(selectable).drag)"\n [ngClass]="column.cssClass"\n [class.k-grid-edit-cell]="isEditingCell($any(item).index, column)"\n [ngStyle]="column.sticky ? addStickyColumnStyles(column) : column.style"\n [attr.colspan]="column.colspan"\n [class.k-state-selected]="isSelectable && cellSelectionService.isCellSelected(item, column)"\n *ngFor="let column of columns; let columnIndex = index; trackBy: trackByColumns;">\n </td>\n </tr>\n <tr *ngIf="isDataItem(item) &&\n (!$any(item).group || isDataItemInExpandedGroup($any(item))) &&\n detailTemplate?.templateRef &&\n detailTemplate.showIf(item.data, $any(item).index) &&\n isExpanded(item)"\n class="k-detail-row"\n [class.k-alt]="isOdd(item)"\n kendoGridLogicalRow\n [dataRowIndex]="$any(item).index"\n [dataItem]="item.data"\n [logicalRowIndex]="logicalRowIndex(rowIndex) + 1"\n [logicalSlaveRow]="false"\n [logicalCellsCount]="1"\n >\n <td class="k-group-cell" *ngFor="let g of groups"></td>\n <td class="k-hierarchy-cell"></td>\n <td class="k-detail-cell"\n [attr.colspan]="columnsSpan"\n kendoGridLogicalCell\n [logicalRowIndex]="logicalRowIndex(rowIndex) + 1"\n [logicalColIndex]="0"\n [dataRowIndex]="$any(item).index"\n [dataItem]="item.data"\n [colIndex]="0"\n [colSpan]="allColumnsSpan + 1"\n role="gridcell" aria-selected="false"\n >\n <ng-template\n [ngTemplateOutlet]="detailTemplate.templateRef"\n [ngTemplateOutletContext]="{\n dataItem: item.data,\n rowIndex: $any(item).index,\n $implicit: item.data\n }">\n </ng-template>\n </td>\n </tr>\n <tr *ngIf="isFooter(item) &&\n $any(item).group &&\n (isFooterItemInExpandedGroup($any(item)) || (showGroupFooters && isParentGroupExpanded($any(item).group))) &&\n !$any(item.data).hideFooter"\n class="k-group-footer"\n kendoGridLogicalRow\n [logicalRowIndex]="logicalRowIndex(rowIndex)"\n [logicalSlaveRow]="lockedColumnsCount > 0"\n [logicalCellsCount]="columns.length"\n [logicalSlaveCellsCount]="unlockedColumnsCount">\n <ng-container *ngIf="!skipGroupDecoration">\n <td class="k-group-cell" *ngFor="let g of groups"></td>\n </ng-container>\n <td class="k-hierarchy-cell"\n *ngIf="detailTemplate?.templateRef"\n kendoGridLogicalCell\n [logicalRowIndex]="logicalRowIndex(rowIndex)"\n [logicalColIndex]="0"\n aria-selected="false"\n >\n </td>\n <td kendoGridLogicalCell\n [logicalRowIndex]="logicalRowIndex(rowIndex)"\n [logicalColIndex]="logicalColIndex(column)"\n [attr.data-skip]="skipGroupDecoration"\n *ngFor="let column of footerColumns; let columnIndex = index; trackBy: trackByColumns;">\n <ng-template\n [templateContext]="{\n templateRef: $any(column).groupFooterTemplateRef,\n group: $any(item.data),\n field: $any(column).field,\n column: column,\n aggregates: $any(item.data)?.aggregates,\n $implicit: $any(item.data)?.aggregates\n }">\n </ng-template>\n </td>\n </tr>\n </ng-container>\n <kendo-resize-sensor *ngIf="rowSticky" (resize)="resizeHandler()"></kendo-resize-sensor>\n ',isInline:!0,components:[{type:El,selector:"[kendoGridCell]",inputs:["column","columnIndex","isNew","isLoading","isVirtual","loadingTemplate","rowIndex","dataItem"]},{type:ne,selector:"[kendoGridGroupHeader]",inputs:["rowIndex","logicalRowIndex","item","skipGroupDecoration","hasDetails","totalColumnsCount","hasGroupHeaderColumn","groupHeaderColumns","columns","groups"]},{type:X.ResizeSensorComponent,selector:"kendo-resize-sensor",inputs:["rateLimit"],outputs:["resize"]}],directives:[{type:s.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{type:fa,selector:"[kendoGridLogicalRow]",inputs:["logicalRowIndex","logicalSlaveRow","logicalCellsCount","logicalSlaveCellsCount","dataRowIndex","dataItem"]},{type:s.NgForOf,selector:"[ngFor][ngForOf]",inputs:["ngForOf","ngForTrackBy","ngForTemplate"]},{type:Ui,selector:"[kendoGridLogicalCell]",inputs:["logicalColIndex","logicalRowIndex","logicalSlaveCell","colIndex","colSpan","rowSpan","groupItem","dataRowIndex","dataItem","detailExpandCell","headerLabelText"]},{type:s.NgClass,selector:"[ngClass]",inputs:["class","ngClass"]},{type:s.NgStyle,selector:"[ngStyle]",inputs:["ngStyle"]},{type:qi,selector:"[templateContext]",inputs:["templateContext"]},{type:s.NgTemplateOutlet,selector:"[ngTemplateOutlet]",inputs:["ngTemplateOutletContext","ngTemplateOutlet"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:l,decorators:[{type:P.Component,args:[{selector:"[kendoGridTableBody]",template:'\n <ng-container *ngIf="editService.hasNewItem">\n <tr class="k-grid-add-row k-grid-edit-row"\n kendoGridLogicalRow\n [logicalRowIndex]="addRowLogicalIndex()"\n [logicalSlaveRow]="lockedColumnsCount > 0"\n [logicalCellsCount]="columns.length"\n [logicalSlaveCellsCount]="unlockedColumnsCount">\n <ng-container *ngIf="!skipGroupDecoration">\n <td class="k-group-cell" *ngFor="let g of groups" role="presentation"></td>\n </ng-container>\n <td class="k-hierarchy-cell"\n *ngIf="detailTemplate?.templateRef"\n kendoGridLogicalCell\n [logicalRowIndex]="addRowLogicalIndex()"\n [logicalColIndex]="0"\n aria-selected="false"\n >\n </td>\n <td *ngFor="let column of columns; let columnIndex = index; trackBy: trackByColumns;"\n kendoGridCell\n [rowIndex]="-1"\n [columnIndex]="lockedColumnsCount + columnIndex"\n [isNew]="true"\n [column]="column"\n [dataItem]="newDataItem"\n [class.k-grid-content-sticky]="column.sticky"\n [ngClass]="column.cssClass"\n [style.left]="column.sticky ? \'0\' : undefined"\n [ngStyle]="column.sticky ? addStickyColumnStyles(column) : column.style"\n [attr.colspan]="column.colspan"\n kendoGridLogicalCell\n [logicalRowIndex]="addRowLogicalIndex()"\n [logicalColIndex]="logicalColIndex(column)"\n [colSpan]="column.colspan"\n role="gridcell">\n </td>\n </tr>\n </ng-container>\n <tr *ngIf="data?.length === 0 || data === null" class="k-grid-norecords">\n <td [attr.colspan]="colSpan">\n <ng-template\n *ngIf="noRecordsTemplate?.templateRef"\n [templateContext]="{\n templateRef: noRecordsTemplate?.templateRef\n }">\n </ng-template>\n <ng-container *ngIf="!noRecordsTemplate?.templateRef">\n {{noRecordsText}}\n </ng-container>\n </td>\n </tr>\n\n <ng-container *ngFor="let item of data; trackBy: trackByWrapper; let rowIndex = index;">\n <tr *ngIf="isGroup(item) && isParentGroupExpanded($any(item)) && showGroupHeader(item)"\n kendoGridGroupHeader\n [columns]="columns"\n [groups]="groups"\n [item]="$any(item)"\n [hasDetails]="!!detailTemplate?.templateRef"\n [skipGroupDecoration]="skipGroupDecoration"\n [hasGroupHeaderColumn]="hasGroupHeaderColumn"\n [groupHeaderColumns]="groupHeaderColumns"\n [rowIndex]="rowIndex + 1"\n [totalColumnsCount]="totalColumnsCount"\n kendoGridLogicalRow\n [logicalRowIndex]="logicalRowIndex(rowIndex)"\n [logicalSlaveRow]="lockedColumnsCount > 0"\n [logicalCellsCount]="columns.length"\n [logicalSlaveCellsCount]="groupHeaderSlaveCellsCount">\n </tr>\n <tr\n *ngIf="isDataItem(item) && (!$any(item).group || isDataItemInExpandedGroup($any(item)))"\n kendoGridLogicalRow\n [dataRowIndex]="$any(item).index"\n [dataItem]="item.data"\n [logicalRowIndex]="logicalRowIndex(rowIndex)"\n [logicalSlaveRow]="lockedColumnsCount > 0"\n [logicalCellsCount]="columns.length"\n [logicalSlaveCellsCount]="unlockedColumnsCount"\n [class.k-grid-row-sticky]="rowSticky ? rowSticky({ dataItem: item.data, index: $any(item).index }) : false"\n [ngClass]="rowClass({ dataItem: item.data, index: $any(item).index })"\n [class.k-alt]="isOdd(item)"\n [class.k-master-row]="detailTemplate?.templateRef"\n [class.k-grid-edit-row]="isEditingRow($any(item).index)"\n [attr.data-kendo-grid-item-index]="$any(item).index"\n [class.k-state-selected]="isSelectable() && isRowSelected(item)">\n <ng-container *ngIf="!skipGroupDecoration">\n <td class="k-group-cell" *ngFor="let g of groups" role="presentation"></td>\n </ng-container>\n <td class="k-hierarchy-cell"\n *ngIf="detailTemplate?.templateRef"\n kendoGridLogicalCell\n [logicalRowIndex]="logicalRowIndex(rowIndex)"\n [logicalColIndex]="0"\n [dataRowIndex]="$any(item).index"\n [dataItem]="item.data"\n [detailExpandCell]="true"\n aria-selected="false"\n >\n <a class="k-icon"\n *ngIf="detailTemplate.showIf(item.data, $any(item).index)"\n [ngClass]="detailButtonStyles(item)"\n [attr.title]="detailButtonTitle(item)"\n [attr.aria-label]="detailButtonTitle(item)"\n href="#" tabindex="-1" (click)="toggleRow($any(item).index, item.data)"></a>\n </td>\n <td\n kendoGridCell\n [rowIndex]="$any(item).index"\n [columnIndex]="lockedColumnsCount + columnIndex"\n [attr.data-kendo-grid-column-index]="lockedColumnsCount + columnIndex"\n [column]="column"\n [dataItem]="item.data"\n [isLoading]="isLoading"\n [isVirtual]="isVirtual"\n [loadingTemplate]="cellLoadingTemplate"\n kendoGridLogicalCell\n [logicalRowIndex]="logicalRowIndex(rowIndex)"\n [logicalColIndex]="logicalColIndex(column)"\n [dataRowIndex]="$any(item).index"\n [dataItem]="item.data"\n [colIndex]="columnIndex"\n [colSpan]="column.colspan"\n role="gridcell"\n [attr.aria-selected]="isSelectable() ? isAriaSelected(item, column) : undefined"\n [class.k-grid-content-sticky]="column.sticky"\n [class.k-touch-action-none]="isSelectable() && $any(selectable).drag"\n [class.k-touch-action-auto]="!(isSelectable() && $any(selectable).drag)"\n [ngClass]="column.cssClass"\n [class.k-grid-edit-cell]="isEditingCell($any(item).index, column)"\n [ngStyle]="column.sticky ? addStickyColumnStyles(column) : column.style"\n [attr.colspan]="column.colspan"\n [class.k-state-selected]="isSelectable && cellSelectionService.isCellSelected(item, column)"\n *ngFor="let column of columns; let columnIndex = index; trackBy: trackByColumns;">\n </td>\n </tr>\n <tr *ngIf="isDataItem(item) &&\n (!$any(item).group || isDataItemInExpandedGroup($any(item))) &&\n detailTemplate?.templateRef &&\n detailTemplate.showIf(item.data, $any(item).index) &&\n isExpanded(item)"\n class="k-detail-row"\n [class.k-alt]="isOdd(item)"\n kendoGridLogicalRow\n [dataRowIndex]="$any(item).index"\n [dataItem]="item.data"\n [logicalRowIndex]="logicalRowIndex(rowIndex) + 1"\n [logicalSlaveRow]="false"\n [logicalCellsCount]="1"\n >\n <td class="k-group-cell" *ngFor="let g of groups"></td>\n <td class="k-hierarchy-cell"></td>\n <td class="k-detail-cell"\n [attr.colspan]="columnsSpan"\n kendoGridLogicalCell\n [logicalRowIndex]="logicalRowIndex(rowIndex) + 1"\n [logicalColIndex]="0"\n [dataRowIndex]="$any(item).index"\n [dataItem]="item.data"\n [colIndex]="0"\n [colSpan]="allColumnsSpan + 1"\n role="gridcell" aria-selected="false"\n >\n <ng-template\n [ngTemplateOutlet]="detailTemplate.templateRef"\n [ngTemplateOutletContext]="{\n dataItem: item.data,\n rowIndex: $any(item).index,\n $implicit: item.data\n }">\n </ng-template>\n </td>\n </tr>\n <tr *ngIf="isFooter(item) &&\n $any(item).group &&\n (isFooterItemInExpandedGroup($any(item)) || (showGroupFooters && isParentGroupExpanded($any(item).group))) &&\n !$any(item.data).hideFooter"\n class="k-group-footer"\n kendoGridLogicalRow\n [logicalRowIndex]="logicalRowIndex(rowIndex)"\n [logicalSlaveRow]="lockedColumnsCount > 0"\n [logicalCellsCount]="columns.length"\n [logicalSlaveCellsCount]="unlockedColumnsCount">\n <ng-container *ngIf="!skipGroupDecoration">\n <td class="k-group-cell" *ngFor="let g of groups"></td>\n </ng-container>\n <td class="k-hierarchy-cell"\n *ngIf="detailTemplate?.templateRef"\n kendoGridLogicalCell\n [logicalRowIndex]="logicalRowIndex(rowIndex)"\n [logicalColIndex]="0"\n aria-selected="false"\n >\n </td>\n <td kendoGridLogicalCell\n [logicalRowIndex]="logicalRowIndex(rowIndex)"\n [logicalColIndex]="logicalColIndex(column)"\n [attr.data-skip]="skipGroupDecoration"\n *ngFor="let column of footerColumns; let columnIndex = index; trackBy: trackByColumns;">\n <ng-template\n [templateContext]="{\n templateRef: $any(column).groupFooterTemplateRef,\n group: $any(item.data),\n field: $any(column).field,\n column: column,\n aggregates: $any(item.data)?.aggregates,\n $implicit: $any(item.data)?.aggregates\n }">\n </ng-template>\n </td>\n </tr>\n </ng-container>\n <kendo-resize-sensor *ngIf="rowSticky" (resize)="resizeHandler()"></kendo-resize-sensor>\n '}]}],ctorParameters:function(){return[{type:ct},{type:Je},{type:ko},{type:u},{type:a.LocalizationService},{type:i.NgZone},{type:i.Renderer2},{type:i.ElementRef},{type:we},{type:Nt},{type:At},{type:C},{type:m}]},propDecorators:{columns:[{type:P.Input}],allColumns:[{type:P.Input}],groups:[{type:P.Input}],detailTemplate:[{type:P.Input}],noRecordsTemplate:[{type:P.Input}],data:[{type:P.Input}],skip:[{type:P.Input}],selectable:[{type:P.Input}],filterable:[{type:P.Input}],noRecordsText:[{type:P.Input}],isLocked:[{type:P.Input}],isLoading:[{type:P.Input}],isVirtual:[{type:P.Input}],cellLoadingTemplate:[{type:P.Input}],skipGroupDecoration:[{type:P.Input}],showGroupFooters:[{type:P.Input}],lockedColumnsCount:[{type:P.Input}],totalColumnsCount:[{type:P.Input}],virtualColumns:[{type:P.Input}],trackBy:[{type:P.Input}],rowSticky:[{type:P.Input}],rowClass:[{type:P.Input}]}});function Pl(e){return e=e.columns,Math.max(1,e.filter(function(e){return fe(e.resizable)&&e.isVisible}).length)}function Gl(t){return function(e){return e.querySelector(t)}}function Vl(t,n){return void 0===n&&(n="td"),function(e){return e.querySelectorAll(n+":not(.k-group-cell):not(.k-hierarchy-cell)")[t]}}function Ml(e){return e.offsetWidth}function zl(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return t.reduce(function(e,t){return e?t(e):0},e)}}Object.defineProperty(jl.prototype,"minWidth",{get:function(){return this.firstResize?0:null},enumerable:!1,configurable:!0}),jl.prototype.ngOnInit=function(){var t=this,n=this.service.changes.pipe(G.filter(function(e){return t.locked===e.locked}));this.subscription=n.pipe(G.filter(function(e){return"start"===e.type}),G.tap(this.initState.bind(this)),G.map(Pl),G.switchMap(function(e){return n.pipe(G.filter(function(e){return"resizeTable"===e.type}),G.map(function(e){return e.delta}),G.bufferCount(e))})).subscribe(this.resize.bind(this)),this.autoFitSubscription=this.service.registerTable({autoFit:this.autoFitObservable.bind(this),locked:this.locked})},jl.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe(),this.autoFitSubscription&&(this.autoFitSubscription(),this.autoFitSubscription=null)},jl.prototype.initState=function(){this.firstResize=!0,this.virtualColumns&&!this.locked||(this.originalWidth=Ml(this.element.nativeElement))},jl.prototype.resize=function(e){this.virtualColumns&&!this.locked||(e=e.reduce(function(e,t){return e+t},0),e=this.originalWidth+e,this.renderer.setStyle(this.element.nativeElement,"width",e+"px")),this.cdr.detectChanges()},jl.prototype.autoFitObservable=function(n){var o=this;return b.Observable.create(function(t){o.zone.runOutsideAngular(function(){o.renderer.addClass(o.element.nativeElement,"k-autofitting"),o.cdr.detectChanges();var e=n.map(o.measureColumn.bind(o));o.renderer.removeClass(o.element.nativeElement,"k-autofitting"),t.next(e)})})},jl.prototype.measureColumn=function(e){var t,n=this.element.nativeElement,o=zl((t=e.level,function(e){return e.querySelectorAll("thead>tr")[t]}),Vl(e.headerIndex,"th"),Ml)(n),r=0,e=((!e.isParentSpan||e.isParentSpan&&e.isLastInSpan)&&(r=zl(Gl("tbody>tr:not(.k-grouping-row):not(.k-grid-norecords)"),Vl(e.index),Ml)(n)),zl(Gl("tfoot>tr"),Vl(e.index),Ml)(n));return Math.max(o,r,e)};var Nl=jl;function jl(e,t,n,o,r){this.element=e,this.renderer=t,this.service=n,this.zone=o,this.cdr=r,this.locked=!1,this.firstResize=!1}Nl.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Nl,deps:[{token:i.ElementRef},{token:i.Renderer2},{token:Wo},{token:i.NgZone},{token:i.ChangeDetectorRef}],target:i.ɵɵFactoryTarget.Directive}),Nl.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:Nl,selector:"table",inputs:{locked:"locked",virtualColumns:"virtualColumns"},host:{properties:{"style.min-width":"this.minWidth"}},ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Nl,decorators:[{type:P.Directive,args:[{selector:"table"}]}],ctorParameters:function(){return[{type:i.ElementRef},{type:i.Renderer2},{type:Wo},{type:i.NgZone},{type:i.ChangeDetectorRef}]},propDecorators:{locked:[{type:P.Input}],virtualColumns:[{type:P.Input}],minWidth:[{type:P.HostBinding,args:["style.min-width"]}]}});Object.defineProperty(Bl.prototype,"lockedWidth",{set:function(e){this._lockedWidth=e,this.enabled&&(this.attachResize(),this.resize())},enumerable:!1,configurable:!0}),Object.defineProperty(Bl.prototype,"kendoGridResizableContainer",{set:function(e){var t=e!==this.enabled;this.enabled=e,t&&(this.attachResize(),this.resize())},enumerable:!1,configurable:!0}),Bl.prototype.ngOnDestroy=function(){this.resizeSubscription&&this.resizeSubscription.unsubscribe()},Bl.prototype.attachResize=function(){this.resizeSubscription&&!this.enabled&&(this.resizeSubscription.unsubscribe(),this.resizeSubscription=null),!this.resizeSubscription&&this.enabled&&(this.resizeSubscription=this.resizeService.changes.subscribe(this.resize.bind(this)))},Bl.prototype.resize=function(){var e;this.ctx.grid&&this.ctx.grid.wrapper&&(e=this.ctx.grid.wrapper.nativeElement,e=Math.max(e.clientWidth-this._lockedWidth,0),this.enabled&&0<e?this.renderer.setStyle(this.el.nativeElement,"width",e+"px"):this.renderer.setStyle(this.el.nativeElement,"width",""))};var Al=Bl;function Bl(e,t,n,o){this.el=e,this.renderer=t,this.resizeService=n,this.ctx=o,this.enabled=!1}Al.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Al,deps:[{token:i.ElementRef},{token:i.Renderer2},{token:$o},{token:so}],target:i.ɵɵFactoryTarget.Directive}),Al.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:Al,selector:"[kendoGridResizableContainer]",inputs:{lockedWidth:"lockedWidth",kendoGridResizableContainer:"kendoGridResizableContainer"},ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Al,decorators:[{type:P.Directive,args:[{selector:"[kendoGridResizableContainer]"}]}],ctorParameters:function(){return[{type:i.ElementRef},{type:i.Renderer2},{type:$o},{type:so}]},propDecorators:{lockedWidth:[{type:P.Input,args:["lockedWidth"]}],kendoGridResizableContainer:[{type:P.Input}]}});function Hl(e,t,n){for(var o=0,r=0;o<t.length;o++){var i=n(t[o]);if(r<=e&&e<=r+i-1)return t[o];r+=i}}function $l(e,t){return Hl(e,t,function(e){return e.hasAttribute("data-kendo-grid-item-index")?1:0})}var Kl={},ql=new P.InjectionToken("grid-scroll-service-factory");function _l(e){return new bl(e)}function Wl(e){var t=e.wheelDeltaY;return e.wheelDelta&&(void 0===t||t)?e.wheelDelta:e.detail&&e.axis===e.VERTICAL_AXIS?10*-e.detail:0}function Zl(e){return e?e.nativeElement:null}Object.defineProperty(F.prototype,"hostClass",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"hostRole",{get:function(){return"presentation"},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"showFooter",{get:function(){return this.groupable&&this.groupable.showFooter},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"totalWidth",{get:function(){if(this.virtualColumns&&this.columns.unlockedWidth)return this.columns.unlockedWidth},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"lockedLeafColumns",{get:function(){return this.columns.lockedLeafColumns},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"nonLockedLeafColumns",{get:function(){return this.columns.nonLockedLeafColumns},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"nonLockedColumnsToRender",{get:function(){return this.virtualColumns&&!this.pdfService.exporting?this.viewportColumns:this.nonLockedLeafColumns},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"leafColumns",{get:function(){return this.columns.leafColumnsToRender},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"lockedWidth",{get:function(){var e=32*this.groups.length;return bn(this.lockedLeafColumns.toArray()).reduce(function(e,t){return e+(t.width||0)},e)},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"nonLockedWidth",{get:function(){if(!this.rtl&&this.lockedLeafColumns.length||this.virtualColumns)return wn(bn(this.nonLockedColumnsToRender.toArray()))},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"isLocked",{get:function(){return 0<this.lockedLeafColumns.length},enumerable:!1,configurable:!0}),F.prototype.ngOnInit=function(){var t=this;this.init(),this.subscriptions.add(this.ngZone.runOutsideAngular(this.handleRowSync.bind(this))),this.subscriptions.add(this.ngZone.runOutsideAngular(this.handleRowNavigationLocked.bind(this))),this.subscriptions.add(b.merge(this.columns.changes,this.resizeService.changes).subscribe(function(){t.virtualColumns&&t.ngZone.run(function(){t.updateViewportColumns(),t.changeDetector.markForCheck()})})),this.subscriptions.add(this.localization.changes.subscribe(function(e){e=e.rtl;return t.rtl=e}))},F.prototype.ngOnChanges=function(e){e.skip&&e.skip.firstChange&&0<e.skip.currentValue&&this.handleInitialScrollToSkip(),p.isChanged("skip",e)&&!this.rebind&&(this.skipScroll=!0,this.container.nativeElement.scrollTop=this.rowHeightService.offset(this.skip)),p.anyChanged(["total","take"],e)&&this.init(),this.rebind=!1},F.prototype.ngDoCheck=function(){!this.virtualColumns||this.viewportColumns&&!this.viewportWidthChange()||this.updateViewportColumns()},F.prototype.ngAfterViewInit=function(){this.skip&&this.isVirtual&&(this.container.nativeElement.scrollTop=this.rowHeightService.offset(this.skip)),this.resetNavigationViewport(),this.attachContainerScroll(),this.initResizeService()},F.prototype.ngAfterViewChecked=function(){var e=this.isLocked;e&&!this.hasLockedContainer&&this.syncRowsHeight(),this.hasLockedContainer=e},F.prototype.syncRowsHeight=function(){this.lockedContainer&&Io(this.lockedTable.nativeElement,this.table.nativeElement)},F.prototype.ngOnDestroy=function(){this.subscriptions&&this.subscriptions.unsubscribe(),this.resizeService&&this.resizeService.destroy(),this.cleanupScroller()},F.prototype.init=function(){this.suspendService.scroll||(this.rowHeightService=new ml(this.total,this.rowHeight,this.detailRowHeight),this.totalHeight=this.rowHeightService.totalHeight(),le()||this.ngZone.runOutsideAngular(this.createScroller.bind(this)))},F.prototype.lockedScroll=function(){var e;this.suspendService.scroll||(e=this.lockedContainer.nativeElement.scrollTop)!==this.containerScrollTop&&(this.container.nativeElement.scrollTop=this.containerScrollTop=e)},F.prototype.lockedMousewheel=function(e){var t,n,o;e.ctrlKey||(t=e,n=this.container.nativeElement,t=Wl(t),0===(o=n.scrollTop)&&0<t||n.scrollHeight<=n.offsetHeight+o&&t<0||event.preventDefault(),n=Wl(e),this.container.nativeElement.scrollTop-=n)},F.prototype.lockedKeydown=function(e){var t,n;e.keyCode!==p.Keys.PageDown&&e.keyCode!==p.Keys.PageUp||(t=e.keyCode===p.Keys.PageDown?1:-1,(n=this.container.nativeElement).scrollTop+=n.offsetHeight*t*.8,e.preventDefault())},F.prototype.detailExpand=function(e){var t=e.index;e.expand?this.rowHeightService.expandDetail(t):this.rowHeightService.collapseDetail(t),this.totalHeight=this.rowHeightService.totalHeight(),this.resetNavigationViewport()},F.prototype.attachContainerScroll=function(){var o=this;le()||(this.ngZone.runOutsideAngular(function(){o.subscriptions.add(b.fromEvent(o.container.nativeElement,"scroll").pipe(G.map(function(e){return e.target}),G.filter(function(){return!o.suspendService.scroll}),G.tap(function(e){o.onContainerScroll(e),o.resetNavigationViewport(),o.virtualColumns&&o.handleColumnScroll();var t=o.navigationService.viewport||Kl,n=o.navigationService.columnViewport||Kl;o.contentScroll.emit({scrollLeft:e.scrollLeft,scrollTop:e.scrollTop,startRow:t.firstItemIndex,endRow:t.lastItemIndex,startColumn:n.firstItemIndex,endColumn:n.lastItemIndex})})).subscribe(o.dispatcher))}),this.scrollSyncService.registerEmitter(this.container.nativeElement,"body"))},F.prototype.createScroller=function(){var t=this,e=(this.cleanupScroller(),this.scroller.create(this.rowHeightService,this.skip,this.take,this.total));this.skipScroll=!1,this.scrollerSubscription=e.pipe(G.filter(function(e){return e instanceof yl}),G.filter(function(){var e=t.skipScroll;return t.skipScroll=!1,!e}),G.tap(function(){return t.rebind=!0})).subscribe(function(e){return t.ngZone.run(function(){return t.pageChange.emit(e)})}),this.scrollerSubscription.add(e.pipe(G.filter(function(e){return e instanceof fl})).subscribe(this.scroll.bind(this))),this.scrollerSubscription.add(e.pipe(G.filter(function(e){return e instanceof vl})).subscribe(function(){return t.scrollBottom.emit()}))},F.prototype.scroll=function(e){var t,n,e=e.offset,e=void 0===e?0:e;this.isVirtual&&[Zl(this.table),Zl(this.lockedTable)].filter(V).forEach((t=this.renderer,n=e,function(e){return t.setStyle(e,"transform","translateY("+n+"px)")})),this.resetNavigationViewport()},F.prototype.onContainerScroll=function(e){e=e.scrollTop;this.containerScrollTop=e,this.lockedContainer&&(this.lockedContainer.nativeElement.scrollTop=e)},F.prototype.handleInitialScrollToSkip=function(){var t=this,n=this.changeNotification.changes.pipe(G.filter(function(){return t.isVirtual&&0<t.skip&&0<t.total})).subscribe(function(e){t.scrollTo({row:t.skip}),n.unsubscribe()})},F.prototype.handleRowSync=function(){function e(){return V(n.lockedContainer)}var n=this;return b.merge(this.changeNotification.changes,this.groupsService.changes.pipe(G.filter(e),G.switchMapTo(n.ngZone.onStable.asObservable().pipe(G.take(1)))),this.editService.changed,this.resizeService.changes,this.columnResizingService.changes.pipe(G.filter(function(e){return"end"===e.type})),this.supportService.changes).pipe(G.tap(function(){return n.resetNavigationViewport()}),G.filter(e)).subscribe(function(){var e=n.container.nativeElement.scrollTop,t=n.container.nativeElement.scrollLeft;n.syncRowsHeight(),n.syncContainerHeight(),n.lockedContainer.nativeElement.scrollTop=n.container.nativeElement.scrollTop=e,n.container.nativeElement.scrollLeft=t,n.resizeSensors.forEach(function(e){return e.acceptSize()})})},F.prototype.handleRowNavigationLocked=function(){var n=this;return this.navigationService.changes.pipe(G.filter(function(){return V(n.lockedContainer)}),G.delay(10)).subscribe(function(e){var t;n.lockedLeafColumns.length<=e.prevColIndex&&e.colIndex<n.lockedLeafColumns.length&&((t=n.navigationService.activeCell)&&t.colIndex+t.colSpan<e.prevColIndex&&(n.container.nativeElement.scrollLeft=0))})},F.prototype.scrollToVirtualRow=function(e){V(this.detailTemplate)&&(e=Math.floor(e/2));e=this.rowHeightService.offset(e);this.container.nativeElement.scrollTop=e,this.resetNavigationViewport()},F.prototype.scrollTo=function(e){var t,n=e.row,o=e.column;if(pe(n)&&(this.isVirtual?this.scrollToVirtualRow(n):(t=$l(n,this.table.nativeElement.rows))&&(this.container.nativeElement.scrollTop=t.offsetTop)),pe(o))if(o-=this.lockedLeafColumns.length,this.virtualColumns){for(var r=this.columns.leafColumnsToRender,i=0,a=0;a<o;a++)i+=r[a].width||0;var e=this.lockedLeafColumns.length?0:32*this.groups.length+(this.detailTemplate&&0<o?32:0);this.container.nativeElement.scrollLeft=this.normalizeScrollLeft(i+e)}else 0==o&&this.detailTemplate?this.container.nativeElement.scrollLeft=this.normalizeScrollLeft(0):(n=$l(0,this.table.nativeElement.rows))&&(e=n.cells,(t=Hl(o,e,function(e){return Ve(e,Il)?0:parseInt(e.getAttribute("colSpan"),10)||1}))&&(this.container.nativeElement.scrollLeft=this.elementScrollLeft(t)))},F.prototype.resetNavigationViewport=function(){var e,t,n,o,r,i,a;this.container&&this.navigationService.enabled&&this.navigationService.needsViewport()&&0!==this.data.length&&(t=(e=(t=this.container.nativeElement).scrollTop)+t.offsetHeight,a=this.rowHeightService.index(e),n=this.rowHeightService.index(t),r=(o=this.rowHeightService.offset(n))+this.rowHeight>t,0<n&&r&&n--,r=a,i=n,V(this.detailTemplate)&&(r*=2,i*=2,this.rowHeightService.offset(a)+this.rowHeight<e&&r++,a=this.rowHeightService.height(n),!this.rowHeightService.isExpanded(n)||t<o+a||i++),this.navigationService.setViewport(r,i))},F.prototype.cleanupScroller=function(){this.scrollerSubscription&&this.scrollerSubscription.unsubscribe(),this.scroller&&this.scroller.destroy()},F.prototype.initResizeService=function(){this.resizeService.connect(b.merge.apply(void 0,g([],k(this.resizeSensors.map(function(e){return e.resize})))))},F.prototype.syncContainerHeight=function(){var n,r=this;[Zl(this.lockedContainer)].filter(V).map(function(e){e.style.height="";var t,n,o=r.container.nativeElement.offsetHeight;return t=r.table,n=r.container,t.nativeElement.offsetWidth>n.nativeElement.clientWidth&&(o-=r.supportService.scrollbarWidth),{el:e,height:o}}).forEach((n=this.renderer,function(e){var t=e.el,e=e.height;return n.setStyle(t,"height",e+"px")}))},F.prototype.updateViewportColumns=function(e){var t=this.columns.nonLockedLeafColumns.toArray(),n=e||this.calculateViewportColumns(),o=n.startIdx,r=n.endIdx,i=n.offset,a=Math.max(0,o-1),n=Math.min(r+1,t.length-1);if(a<o)for(var s=o-1;a<=s;s--)i-=t[s].width;var l,c=t.slice(a,n+1);this.viewportColumnsWidth=c.reduce(function(e,t){return e+t.width},0),0<a&&((l=new y).width=i,c.unshift(l)),this.viewportColumns=new P.QueryList,this.viewportColumns.reset(c),this.columnsStartIdx=a,this.columnsEndIdx=n,this.columnInfo.columnRangeChange.emit({start:a,end:n,offset:i}),e||this.updateColumnViewport(o,r)},F.prototype.handleColumnScroll=function(){var e,t=this,n=this.container.nativeElement.scrollLeft;this.scrollLeft!==n&&(this.scrollLeft=n,e=this.calculateViewportColumns(),this.updateColumnViewport(e.startIdx,e.endIdx),(e.startIdx<this.columnsStartIdx||this.columnsEndIdx<e.endIdx)&&(Ie(this.columnUpdateFrame),this.columnUpdateFrame=Ce(function(){t.ngZone.run(function(){t.updateViewportColumns(e),t.changeDetector.markForCheck()})})))},F.prototype.updateColumnViewport=function(e,t){for(var n=this.lockedLeafColumns.length,o=this.nonLockedLeafColumns.toArray(),e=n+e+(this.detailTemplate&&0<e?1:0),r=n+t+(this.detailTemplate?1:0),i=0;i<o.length;i++){var a=o[i];a.isSpanColumn&&(r+=a.childColumns.length)}this.navigationService.setColumnViewport(e,r)},F.prototype.calculateViewportColumns=function(){for(var e,t=this.container.nativeElement,n=t.scrollLeft,t=t.clientWidth,o=this.columns.nonLockedLeafColumns.toArray(),r=this.normalizeScrollLeft(n),i=r+t,a=0,s=0,l=0,c=0;c<o.length;c++){var p=o[c];if(s+=p.width||0,void 0===e&&r<s&&(e=c,l=s-(p.width||0)),i<=s){a=c;break}}return{startIdx:e,endIdx:a=!a&&0<c?o.length-1:a,offset:l}},F.prototype.viewportWidthChange=function(){return this.viewportColumns.toArray().reduce(function(e,t){return e+t.width},0)!==this.viewportColumnsWidth},F.prototype.normalizeScrollLeft=function(e){return this.rtl?(t=e,n=this.container.nativeElement,o=this.supportService.rtlScrollLeft,r=t,o<0?r=-t:0<o&&(r=n.scrollWidth-n.offsetWidth-t),r):e;var t,n,o,r},F.prototype.elementScrollLeft=function(e){return this.rtl?this.normalizeScrollLeft(this.container.nativeElement.scrollWidth-e.offsetLeft-e.offsetWidth):e.offsetLeft};var Ul=F;function F(e,t,n,o,r,i,a,s,l,c,p,u,d,g,m,h,f,y){var v=this;this.changeNotification=n,this.suspendService=o,this.groupsService=r,this.ngZone=i,this.renderer=a,this.scrollSyncService=s,this.resizeService=l,this.editService=c,this.supportService=p,this.navigationService=u,this.localization=g,this.columnResizingService=m,this.changeDetector=h,this.pdfService=f,this.columnInfo=y,this.groups=[],this.skip=0,this.columns=new po(function(){return[]}),this.selectable=!1,this.groupable=!1,this.trackBy=Or,this.contentScroll=new P.EventEmitter,this.pageChange=new P.EventEmitter,this.scrollBottom=new P.EventEmitter,this.columnsStartIdx=0,this.resizeSensors=new P.QueryList,this.dispatcher=new b.Subject,this.containerScrollTop=0,this.scrollLeft=0,this.rtl=!1,this.scroller=e(this.dispatcher),this.subscriptions=t.changes.subscribe(function(e){return v.detailExpand(e)}),this.subscriptions.add(d.requests.subscribe(function(e){return v.scrollTo(e)}))}Ul.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ul,deps:[{token:ql},{token:ct},{token:ko},{token:Go},{token:Je},{token:i.NgZone},{token:i.Renderer2},{token:Bo},{token:$o},{token:u},{token:Bn},{token:m},{token:Qe},{token:a.LocalizationService},{token:Wo},{token:i.ChangeDetectorRef},{token:Fo},{token:C}],target:i.ɵɵFactoryTarget.Component}),Ul.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Ul,selector:"kendo-grid-list",inputs:{data:"data",groups:"groups",total:"total",rowHeight:"rowHeight",stickyRowHeight:"stickyRowHeight",detailRowHeight:"detailRowHeight",take:"take",skip:"skip",columns:"columns",detailTemplate:"detailTemplate",noRecordsTemplate:"noRecordsTemplate",selectable:"selectable",groupable:"groupable",filterable:"filterable",rowClass:"rowClass",rowSticky:"rowSticky",loading:"loading",trackBy:"trackBy",virtualColumns:"virtualColumns",isVirtual:"isVirtual",cellLoadingTemplate:"cellLoadingTemplate",loadingTemplate:"loadingTemplate"},outputs:{contentScroll:"contentScroll",pageChange:"pageChange",scrollBottom:"scrollBottom"},host:{properties:{"class.k-grid-container":"this.hostClass","attr.role":"this.hostRole"}},providers:[{provide:ql,useValue:_l}],viewQueries:[{propertyName:"container",first:!0,predicate:["container"],descendants:!0,static:!0},{propertyName:"lockedContainer",first:!0,predicate:["lockedContainer"],descendants:!0},{propertyName:"lockedTable",first:!0,predicate:["lockedTable"],descendants:!0},{propertyName:"table",first:!0,predicate:["table"],descendants:!0,static:!0},{propertyName:"resizeSensors",predicate:p.ResizeSensorComponent,descendants:!0}],usesOnChanges:!0,ngImport:i,template:'\n <div #lockedContainer class="k-grid-content-locked" role="presentation"\n *ngIf="isLocked" [style.width.px]="lockedWidth" tabindex="-1"\n [kendoEventsOutsideAngular]="{\n keydown: lockedKeydown,\n scroll: lockedScroll,\n mousewheel: lockedMousewheel,\n DOMMouseScroll: lockedMousewheel\n }"\n [scope]="this"\n >\n <div role="presentation" class="k-grid-table-wrap">\n <table [locked]="true" #lockedTable class="k-grid-table" role="presentation" [style.width.px]="lockedWidth">\n <colgroup kendoGridColGroup\n role="presentation"\n [groups]="groups"\n [columns]="$any(lockedLeafColumns)"\n [detailTemplate]="detailTemplate">\n </colgroup>\n <tbody kendoGridTableBody\n role="presentation"\n [groups]="groups"\n [isLocked]="true"\n [data]="data"\n [noRecordsText]="\'\'"\n [columns]="$any(lockedLeafColumns)"\n [totalColumnsCount]="leafColumns.length"\n [detailTemplate]="detailTemplate"\n [showGroupFooters]="showFooter"\n [skip]="skip"\n [selectable]="selectable"\n [trackBy]="trackBy"\n [filterable]="filterable"\n [rowClass]="rowClass"\n [isLoading]="loading"\n [isVirtual]="isVirtual"\n [cellLoadingTemplate]="cellLoadingTemplate">\n </tbody>\n </table>\n <kendo-resize-sensor></kendo-resize-sensor>\n </div>\n <div class="k-height-container" role="presentation">\n <div [style.height.px]="totalHeight"></div>\n </div>\n </div><div #container\n class="k-grid-content k-virtual-content"\n role="presentation" tabindex="-1"\n [kendoGridResizableContainer]="lockedLeafColumns.length > 0"\n [lockedWidth]="lockedWidth + 1">\n <div role="presentation" class="k-grid-table-wrap">\n <table [style.width.px]="nonLockedWidth" #table [virtualColumns]="virtualColumns"\n class="k-grid-table" role="presentation">\n <colgroup kendoGridColGroup\n role="presentation"\n [groups]="isLocked ? [] : groups"\n [columns]="$any(nonLockedColumnsToRender)"\n [detailTemplate]="detailTemplate">\n </colgroup>\n <tbody kendoGridTableBody\n role="presentation"\n [skipGroupDecoration]="isLocked"\n [data]="data"\n [groups]="groups"\n [showGroupFooters]="showFooter"\n [columns]="$any(nonLockedColumnsToRender)"\n [allColumns]="$any(nonLockedLeafColumns)"\n [detailTemplate]="detailTemplate"\n [noRecordsTemplate]="noRecordsTemplate"\n [lockedColumnsCount]="lockedLeafColumns.length"\n [totalColumnsCount]="leafColumns.length"\n [skip]="skip"\n [selectable]="selectable"\n [trackBy]="trackBy"\n [filterable]="filterable"\n [rowClass]="rowClass"\n [rowSticky]="rowSticky"\n [virtualColumns]="virtualColumns"\n [isLoading]="loading"\n [isVirtual]="isVirtual"\n [cellLoadingTemplate]="cellLoadingTemplate">\n </tbody>\n </table>\n <kendo-resize-sensor *ngIf="isLocked"></kendo-resize-sensor>\n </div>\n <kendo-resize-sensor *ngIf="isLocked || virtualColumns"></kendo-resize-sensor>\n <div class="k-height-container" role="presentation">\n <div [style.height.px]="totalHeight"></div>\n </div>\n <div *ngIf="virtualColumns" class="k-width-container" role="presentation">\n <div [style.width.px]="totalWidth"></div>\n </div>\n </div>\n ',isInline:!0,components:[{type:ki,selector:"[kendoGridColGroup]",inputs:["columns","groups","detailTemplate"]},{type:l,selector:"[kendoGridTableBody]",inputs:["columns","allColumns","groups","detailTemplate","noRecordsTemplate","data","skip","selectable","filterable","noRecordsText","isLocked","isLoading","isVirtual","cellLoadingTemplate","skipGroupDecoration","showGroupFooters","lockedColumnsCount","totalColumnsCount","virtualColumns","trackBy","rowSticky","rowClass"]},{type:X.ResizeSensorComponent,selector:"kendo-resize-sensor",inputs:["rateLimit"],outputs:["resize"]}],directives:[{type:s.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{type:X.EventsOutsideAngularDirective,selector:"[kendoEventsOutsideAngular]",inputs:["kendoEventsOutsideAngular","scope"]},{type:Nl,selector:"table",inputs:["locked","virtualColumns"]},{type:Al,selector:"[kendoGridResizableContainer]",inputs:["lockedWidth","kendoGridResizableContainer"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ul,decorators:[{type:P.Component,args:[{providers:[{provide:ql,useValue:_l}],selector:"kendo-grid-list",template:'\n <div #lockedContainer class="k-grid-content-locked" role="presentation"\n *ngIf="isLocked" [style.width.px]="lockedWidth" tabindex="-1"\n [kendoEventsOutsideAngular]="{\n keydown: lockedKeydown,\n scroll: lockedScroll,\n mousewheel: lockedMousewheel,\n DOMMouseScroll: lockedMousewheel\n }"\n [scope]="this"\n >\n <div role="presentation" class="k-grid-table-wrap">\n <table [locked]="true" #lockedTable class="k-grid-table" role="presentation" [style.width.px]="lockedWidth">\n <colgroup kendoGridColGroup\n role="presentation"\n [groups]="groups"\n [columns]="$any(lockedLeafColumns)"\n [detailTemplate]="detailTemplate">\n </colgroup>\n <tbody kendoGridTableBody\n role="presentation"\n [groups]="groups"\n [isLocked]="true"\n [data]="data"\n [noRecordsText]="\'\'"\n [columns]="$any(lockedLeafColumns)"\n [totalColumnsCount]="leafColumns.length"\n [detailTemplate]="detailTemplate"\n [showGroupFooters]="showFooter"\n [skip]="skip"\n [selectable]="selectable"\n [trackBy]="trackBy"\n [filterable]="filterable"\n [rowClass]="rowClass"\n [isLoading]="loading"\n [isVirtual]="isVirtual"\n [cellLoadingTemplate]="cellLoadingTemplate">\n </tbody>\n </table>\n <kendo-resize-sensor></kendo-resize-sensor>\n </div>\n <div class="k-height-container" role="presentation">\n <div [style.height.px]="totalHeight"></div>\n </div>\n </div><div #container\n class="k-grid-content k-virtual-content"\n role="presentation" tabindex="-1"\n [kendoGridResizableContainer]="lockedLeafColumns.length > 0"\n [lockedWidth]="lockedWidth + 1">\n <div role="presentation" class="k-grid-table-wrap">\n <table [style.width.px]="nonLockedWidth" #table [virtualColumns]="virtualColumns"\n class="k-grid-table" role="presentation">\n <colgroup kendoGridColGroup\n role="presentation"\n [groups]="isLocked ? [] : groups"\n [columns]="$any(nonLockedColumnsToRender)"\n [detailTemplate]="detailTemplate">\n </colgroup>\n <tbody kendoGridTableBody\n role="presentation"\n [skipGroupDecoration]="isLocked"\n [data]="data"\n [groups]="groups"\n [showGroupFooters]="showFooter"\n [columns]="$any(nonLockedColumnsToRender)"\n [allColumns]="$any(nonLockedLeafColumns)"\n [detailTemplate]="detailTemplate"\n [noRecordsTemplate]="noRecordsTemplate"\n [lockedColumnsCount]="lockedLeafColumns.length"\n [totalColumnsCount]="leafColumns.length"\n [skip]="skip"\n [selectable]="selectable"\n [trackBy]="trackBy"\n [filterable]="filterable"\n [rowClass]="rowClass"\n [rowSticky]="rowSticky"\n [virtualColumns]="virtualColumns"\n [isLoading]="loading"\n [isVirtual]="isVirtual"\n [cellLoadingTemplate]="cellLoadingTemplate">\n </tbody>\n </table>\n <kendo-resize-sensor *ngIf="isLocked"></kendo-resize-sensor>\n </div>\n <kendo-resize-sensor *ngIf="isLocked || virtualColumns"></kendo-resize-sensor>\n <div class="k-height-container" role="presentation">\n <div [style.height.px]="totalHeight"></div>\n </div>\n <div *ngIf="virtualColumns" class="k-width-container" role="presentation">\n <div [style.width.px]="totalWidth"></div>\n </div>\n </div>\n '}]}],ctorParameters:function(){return[{type:void 0,decorators:[{type:P.Inject,args:[ql]}]},{type:ct},{type:ko},{type:Go},{type:Je},{type:i.NgZone},{type:i.Renderer2},{type:Bo},{type:$o},{type:u},{type:Bn},{type:m},{type:Qe},{type:a.LocalizationService},{type:Wo},{type:i.ChangeDetectorRef},{type:Fo},{type:C}]},propDecorators:{hostClass:[{type:P.HostBinding,args:["class.k-grid-container"]}],hostRole:[{type:P.HostBinding,args:["attr.role"]}],data:[{type:P.Input}],groups:[{type:P.Input}],total:[{type:P.Input}],rowHeight:[{type:P.Input}],stickyRowHeight:[{type:P.Input}],detailRowHeight:[{type:P.Input}],take:[{type:P.Input}],skip:[{type:P.Input}],columns:[{type:P.Input}],detailTemplate:[{type:P.Input}],noRecordsTemplate:[{type:P.Input}],selectable:[{type:P.Input}],groupable:[{type:P.Input}],filterable:[{type:P.Input}],rowClass:[{type:P.Input}],rowSticky:[{type:P.Input}],loading:[{type:P.Input}],trackBy:[{type:P.Input}],virtualColumns:[{type:P.Input}],isVirtual:[{type:P.Input}],cellLoadingTemplate:[{type:P.Input}],loadingTemplate:[{type:P.Input}],contentScroll:[{type:P.Output}],pageChange:[{type:P.Output}],scrollBottom:[{type:P.Output}],container:[{type:P.ViewChild,args:["container",{static:!0}]}],lockedContainer:[{type:P.ViewChild,args:["lockedContainer",{static:!1}]}],lockedTable:[{type:P.ViewChild,args:["lockedTable",{static:!1}]}],table:[{type:P.ViewChild,args:["table",{static:!0}]}],resizeSensors:[{type:P.ViewChildren,args:[p.ResizeSensorComponent]}]}});Object.defineProperty(Xl.prototype,"footerClass",{get:function(){return!this.scrollable},enumerable:!1,configurable:!0}),Object.defineProperty(Xl.prototype,"columnsToRender",{get:function(){return Cn(this.columns||[])},enumerable:!1,configurable:!0}),Xl.prototype.logicalColumnIndex=function(e){e=e.leafIndex;return V(e)?e+(V(this.detailTemplate)?1:0):-1},Xl.prototype.addStickyStyles=function(e){var t=this.columnInfoService.stickyColumnsStyles(e);return Object.assign(Object.assign({},e.style),t)};var Ql=Xl;function Xl(e){this.columnInfoService=e,this.columns=[],this.groups=[],this.lockedColumnsCount=0,this.logicalRowIndex=0}Ql.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ql,deps:[{token:C}],target:i.ɵɵFactoryTarget.Component}),Ql.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Ql,selector:"[kendoGridFooter]",inputs:{columns:"columns",groups:"groups",detailTemplate:"detailTemplate",scrollable:"scrollable",lockedColumnsCount:"lockedColumnsCount",logicalRowIndex:"logicalRowIndex"},host:{properties:{"class.k-grid-footer":"this.footerClass"}},ngImport:i,template:'\n <ng-container>\n <tr\n [class.k-footer-template]="true"\n kendoGridLogicalRow\n [logicalRowIndex]="logicalRowIndex"\n [logicalSlaveRow]="lockedColumnsCount > 0"\n [logicalCellsCount]="columns.length"\n [logicalSlaveCellsCount]="columns.length - lockedColumnsCount"\n >\n <td\n [class.k-group-cell]="true"\n role="presentation"\n *ngFor="let g of groups">\n </td>\n <td\n [class.k-hierarchy-cell]="true"\n role="presentation"\n *ngIf="detailTemplate?.templateRef">\n </td>\n <td\n *ngFor="let column of columnsToRender; let columnIndex = index"\n kendoGridLogicalCell\n [logicalRowIndex]="logicalRowIndex"\n [logicalColIndex]="logicalColumnIndex(column)"\n role="columnfooter"\n aria-selected="false"\n [class.k-grid-footer-sticky]="column.sticky"\n [ngClass]="column.footerClass"\n [ngStyle]="column.sticky ? addStickyStyles(column) : column.footerStyle">\n <ng-template\n [templateContext]="{\n templateRef: column.footerTemplateRef,\n columnIndex: lockedColumnsCount + columnIndex,\n column: column,\n $implicit: column\n }">\n </ng-template>\n </td>\n </tr>\n </ng-container>\n ',isInline:!0,directives:[{type:fa,selector:"[kendoGridLogicalRow]",inputs:["logicalRowIndex","logicalSlaveRow","logicalCellsCount","logicalSlaveCellsCount","dataRowIndex","dataItem"]},{type:s.NgForOf,selector:"[ngFor][ngForOf]",inputs:["ngForOf","ngForTrackBy","ngForTemplate"]},{type:s.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{type:Ui,selector:"[kendoGridLogicalCell]",inputs:["logicalColIndex","logicalRowIndex","logicalSlaveCell","colIndex","colSpan","rowSpan","groupItem","dataRowIndex","dataItem","detailExpandCell","headerLabelText"]},{type:s.NgClass,selector:"[ngClass]",inputs:["class","ngClass"]},{type:s.NgStyle,selector:"[ngStyle]",inputs:["ngStyle"]},{type:qi,selector:"[templateContext]",inputs:["templateContext"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ql,decorators:[{type:P.Component,args:[{selector:"[kendoGridFooter]",template:'\n <ng-container>\n <tr\n [class.k-footer-template]="true"\n kendoGridLogicalRow\n [logicalRowIndex]="logicalRowIndex"\n [logicalSlaveRow]="lockedColumnsCount > 0"\n [logicalCellsCount]="columns.length"\n [logicalSlaveCellsCount]="columns.length - lockedColumnsCount"\n >\n <td\n [class.k-group-cell]="true"\n role="presentation"\n *ngFor="let g of groups">\n </td>\n <td\n [class.k-hierarchy-cell]="true"\n role="presentation"\n *ngIf="detailTemplate?.templateRef">\n </td>\n <td\n *ngFor="let column of columnsToRender; let columnIndex = index"\n kendoGridLogicalCell\n [logicalRowIndex]="logicalRowIndex"\n [logicalColIndex]="logicalColumnIndex(column)"\n role="columnfooter"\n aria-selected="false"\n [class.k-grid-footer-sticky]="column.sticky"\n [ngClass]="column.footerClass"\n [ngStyle]="column.sticky ? addStickyStyles(column) : column.footerStyle">\n <ng-template\n [templateContext]="{\n templateRef: column.footerTemplateRef,\n columnIndex: lockedColumnsCount + columnIndex,\n column: column,\n $implicit: column\n }">\n </ng-template>\n </td>\n </tr>\n </ng-container>\n '}]}],ctorParameters:function(){return[{type:C}]},propDecorators:{columns:[{type:P.Input}],groups:[{type:P.Input}],detailTemplate:[{type:P.Input}],scrollable:[{type:P.Input}],lockedColumnsCount:[{type:P.Input}],logicalRowIndex:[{type:P.Input}],footerClass:[{type:P.HostBinding,args:["class.k-grid-footer"]}]}});Object.defineProperty(Jl.prototype,"loadingText",{get:function(){return this.localization.get("loading")},enumerable:!1,configurable:!0});var Yl=Jl;function Jl(e){this.localization=e,this.hostClass=!0}Yl.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Yl,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),Yl.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Yl,selector:"[kendoGridLoading]",inputs:{loadingTemplate:"loadingTemplate"},host:{properties:{"class.k-loading-mask":"this.hostClass"}},ngImport:i,template:'\n <ng-container *ngIf="!loadingTemplate">\n <span class="k-loading-text">{{ loadingText }}</span>\n <div class="k-loading-image"></div>\n <div class="k-loading-color"></div>\n </ng-container>\n <ng-template *ngIf="loadingTemplate" [ngTemplateOutlet]="loadingTemplate?.templateRef">\n </ng-template>\n ',isInline:!0,directives:[{type:s.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{type:s.NgTemplateOutlet,selector:"[ngTemplateOutlet]",inputs:["ngTemplateOutletContext","ngTemplateOutlet"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Yl,decorators:[{type:P.Component,args:[{selector:"[kendoGridLoading]",template:'\n <ng-container *ngIf="!loadingTemplate">\n <span class="k-loading-text">{{ loadingText }}</span>\n <div class="k-loading-image"></div>\n <div class="k-loading-color"></div>\n </ng-container>\n <ng-template *ngIf="loadingTemplate" [ngTemplateOutlet]="loadingTemplate?.templateRef">\n </ng-template>\n '}]}],ctorParameters:function(){return[{type:a.LocalizationService}]},propDecorators:{hostClass:[{type:P.HostBinding,args:["class.k-loading-mask"]}],loadingTemplate:[{type:P.Input}]}});c(tc,ec=M.ComponentMessages);var ec,O=tc;function tc(){return null!==ec&&ec.apply(this,arguments)||this}O.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:O,deps:null,target:i.ɵɵFactoryTarget.Directive}),O.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:O,selector:"kendo-grid-messages-base",inputs:{groupPanelEmpty:"groupPanelEmpty",noRecords:"noRecords",pagerLabel:"pagerLabel",pagerFirstPage:"pagerFirstPage",pagerLastPage:"pagerLastPage",pagerPreviousPage:"pagerPreviousPage",pagerNextPage:"pagerNextPage",pagerPage:"pagerPage",pagerItemsPerPage:"pagerItemsPerPage",pagerOf:"pagerOf",pagerItems:"pagerItems",pagerPageNumberInputTitle:"pagerPageNumberInputTitle",filter:"filter",filterInputLabel:"filterInputLabel",filterMenuTitle:"filterMenuTitle",filterMenuOperatorsDropDownLabel:"filterMenuOperatorsDropDownLabel",filterMenuLogicDropDownLabel:"filterMenuLogicDropDownLabel",filterEqOperator:"filterEqOperator",filterNotEqOperator:"filterNotEqOperator",filterIsNullOperator:"filterIsNullOperator",filterIsNotNullOperator:"filterIsNotNullOperator",filterIsEmptyOperator:"filterIsEmptyOperator",filterIsNotEmptyOperator:"filterIsNotEmptyOperator",filterStartsWithOperator:"filterStartsWithOperator",filterContainsOperator:"filterContainsOperator",filterNotContainsOperator:"filterNotContainsOperator",filterEndsWithOperator:"filterEndsWithOperator",filterGteOperator:"filterGteOperator",filterGtOperator:"filterGtOperator",filterLteOperator:"filterLteOperator",filterLtOperator:"filterLtOperator",filterIsTrue:"filterIsTrue",filterIsFalse:"filterIsFalse",filterBooleanAll:"filterBooleanAll",filterAfterOrEqualOperator:"filterAfterOrEqualOperator",filterAfterOperator:"filterAfterOperator",filterBeforeOperator:"filterBeforeOperator",filterBeforeOrEqualOperator:"filterBeforeOrEqualOperator",filterFilterButton:"filterFilterButton",filterClearButton:"filterClearButton",filterAndLogic:"filterAndLogic",filterOrLogic:"filterOrLogic",loading:"loading",gridLabel:"gridLabel",columnMenu:"columnMenu",setColumnPosition:"setColumnPosition",columns:"columns",lock:"lock",unlock:"unlock",stick:"stick",unstick:"unstick",sortable:"sortable",sortAscending:"sortAscending",sortDescending:"sortDescending",sortedAscending:"sortedAscending",sortedDescending:"sortedDescending",sortedDefault:"sortedDefault",columnsApply:"columnsApply",columnsReset:"columnsReset",detailExpand:"detailExpand",detailCollapse:"detailCollapse",filterDateToday:"filterDateToday",filterDateToggle:"filterDateToggle",filterNumericDecrement:"filterNumericDecrement",filterNumericIncrement:"filterNumericIncrement",selectionCheckboxLabel:"selectionCheckboxLabel",selectAllCheckboxLabel:"selectAllCheckboxLabel",groupCollapse:"groupCollapse",groupExpand:"groupExpand"},usesInheritance:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:O,decorators:[{type:P.Directive,args:[{selector:"kendo-grid-messages-base"}]}],propDecorators:{groupPanelEmpty:[{type:P.Input}],noRecords:[{type:P.Input}],pagerLabel:[{type:P.Input}],pagerFirstPage:[{type:P.Input}],pagerLastPage:[{type:P.Input}],pagerPreviousPage:[{type:P.Input}],pagerNextPage:[{type:P.Input}],pagerPage:[{type:P.Input}],pagerItemsPerPage:[{type:P.Input}],pagerOf:[{type:P.Input}],pagerItems:[{type:P.Input}],pagerPageNumberInputTitle:[{type:P.Input}],filter:[{type:P.Input}],filterInputLabel:[{type:P.Input}],filterMenuTitle:[{type:P.Input}],filterMenuOperatorsDropDownLabel:[{type:P.Input}],filterMenuLogicDropDownLabel:[{type:P.Input}],filterEqOperator:[{type:P.Input}],filterNotEqOperator:[{type:P.Input}],filterIsNullOperator:[{type:P.Input}],filterIsNotNullOperator:[{type:P.Input}],filterIsEmptyOperator:[{type:P.Input}],filterIsNotEmptyOperator:[{type:P.Input}],filterStartsWithOperator:[{type:P.Input}],filterContainsOperator:[{type:P.Input}],filterNotContainsOperator:[{type:P.Input}],filterEndsWithOperator:[{type:P.Input}],filterGteOperator:[{type:P.Input}],filterGtOperator:[{type:P.Input}],filterLteOperator:[{type:P.Input}],filterLtOperator:[{type:P.Input}],filterIsTrue:[{type:P.Input}],filterIsFalse:[{type:P.Input}],filterBooleanAll:[{type:P.Input}],filterAfterOrEqualOperator:[{type:P.Input}],filterAfterOperator:[{type:P.Input}],filterBeforeOperator:[{type:P.Input}],filterBeforeOrEqualOperator:[{type:P.Input}],filterFilterButton:[{type:P.Input}],filterClearButton:[{type:P.Input}],filterAndLogic:[{type:P.Input}],filterOrLogic:[{type:P.Input}],loading:[{type:P.Input}],gridLabel:[{type:P.Input}],columnMenu:[{type:P.Input}],setColumnPosition:[{type:P.Input}],columns:[{type:P.Input}],lock:[{type:P.Input}],unlock:[{type:P.Input}],stick:[{type:P.Input}],unstick:[{type:P.Input}],sortable:[{type:P.Input}],sortAscending:[{type:P.Input}],sortDescending:[{type:P.Input}],sortedAscending:[{type:P.Input}],sortedDescending:[{type:P.Input}],sortedDefault:[{type:P.Input}],columnsApply:[{type:P.Input}],columnsReset:[{type:P.Input}],detailExpand:[{type:P.Input}],detailCollapse:[{type:P.Input}],filterDateToday:[{type:P.Input}],filterDateToggle:[{type:P.Input}],filterNumericDecrement:[{type:P.Input}],filterNumericIncrement:[{type:P.Input}],selectionCheckboxLabel:[{type:P.Input}],selectAllCheckboxLabel:[{type:P.Input}],groupCollapse:[{type:P.Input}],groupExpand:[{type:P.Input}]}});c(rc,nc=O);var nc,oc=rc;function rc(e){var t=nc.call(this)||this;return t.service=e,t}oc.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:oc,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Directive}),oc.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:oc,selector:"[kendoGridLocalizedMessages]",providers:[{provide:O,useExisting:P.forwardRef(function(){return oc})}],usesInheritance:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:oc,decorators:[{type:P.Directive,args:[{providers:[{provide:O,useExisting:P.forwardRef(function(){return oc})}],selector:"[kendoGridLocalizedMessages]"}]}],ctorParameters:function(){return[{type:a.LocalizationService}]}});function ic(e){bn(e.toArray()).filter(un).filter(function(e){var e=e.field;return!(!ye(e=e)&&Dn.test(e)&&"."!==e[0]&&"."!==e[e.length-1])}).forEach(function(e){e=e.field;return console.warn("\n Grid column field name '"+e+'\' does not look like a valid JavaScript identifier.\n Identifiers can contain only alphanumeric characters (including "$" or "_"), and may not start with a digit.\n Please use only valid identifier names to ensure error-free operation.\n ')})}function ac(e,t){return $e(e,Me("k-grid-edit-cell"))&&$e(e,ze("kendo-grid"))===t}Object.defineProperty(R.prototype,"skip",{get:function(){return this._skip},set:function(e){"number"==typeof e&&0<=e&&(this._skip=e)},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"sort",{get:function(){return this._sort},set:function(e){ae(e)&&(this._sort=e)},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"group",{get:function(){return this._group},set:function(e){ae(e)&&(this._group=e)},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"showTopToolbar",{get:function(){return this.toolbarTemplate&&-1<["top","both"].indexOf(this.toolbarTemplate.position)},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"showBottomToolbar",{get:function(){return this.toolbarTemplate&&-1<["bottom","both"].indexOf(this.toolbarTemplate.position)},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"isLocked",{get:function(){return 0<this.lockedLeafColumns.length},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"showTopPager",{get:function(){var e=this.pageable.position;return!this.isVirtual&&!1!==this.pageable&&-1<["top","both"].indexOf(e)},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"showBottomPager",{get:function(){var e=this.pageable.position;return!this.isVirtual&&!1!==this.pageable&&"top"!==e},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"hasPager",{get:function(){return this.showTopPager||this.showBottomPager},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"showGroupPanel",{get:function(){return this.groupable&&!1!==this.groupable.enabled},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"groupableEmptyText",{get:function(){return this.groupable.emptyText},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"marqueeSelection",{get:function(){return this.selectionService.enableMarquee||this.cellSelectionService.enableMarquee},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"navigatable",{get:function(){return this.navigable},set:function(e){this.navigable=e},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"rowClass",{get:function(){return this._rowClass},set:function(e){if(P.isDevMode&&"function"!=typeof e)throw new Error("rowClass must be a function, but received "+JSON.stringify(e)+".");this._rowClass=e},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"rowSticky",{get:function(){return this._rowSticky},set:function(e){if(P.isDevMode&&V(e)&&"function"!=typeof e)throw new Error("rowSticky must be a function, but received "+JSON.stringify(e)+".");V(e)&&(this._rowSticky=e)},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"rowSelected",{get:function(){return this._rowSelected},set:function(e){if(P.isDevMode&&"function"!=typeof e)throw new Error("rowSelected must be a function, but received "+JSON.stringify(e)+".");this._rowSelected=e},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"cellSelected",{get:function(){return this._cellSelected},set:function(e){if(P.isDevMode&&"function"!=typeof e)throw new Error("cellSelected must be a function, but received "+JSON.stringify(e)+".");this._cellSelected=e},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"activeCell",{get:function(){return this.navigationService.activeCell},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"activeRow",{get:function(){return this.navigationService.activeRow},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"dir",{get:function(){return this.direction},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"hostClasses",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"lockedClasses",{get:function(){return 0<this.lockedLeafColumns.length},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"virtualClasses",{get:function(){return this.isVirtual},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"noScrollbarClass",{get:function(){return 0===this.scrollbarWidth},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"detailTemplate",{get:function(){return this._customDetailTemplate||(this.detailTemplateChildren?this.detailTemplateChildren.first:void 0)},set:function(e){this._customDetailTemplate=e},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"cellLoadingTemplate",{get:function(){return this._cellLoadingTemplate?this._customDetailTemplate:this.cellLoadingTemplateChildren?this.cellLoadingTemplateChildren.first:void 0},set:function(e){this._cellLoadingTemplate=e},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"loadingTemplate",{get:function(){return this._loadingTemplate||(this.loadingTemplateChildren?this.loadingTemplateChildren.first:void 0)},set:function(e){this._loadingTemplate=e},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"noRecordsTemplate",{get:function(){return this._customNoRecordsTemplate||(this.noRecordsTemplateChildren?this.noRecordsTemplateChildren.first:void 0)},set:function(e){this._customNoRecordsTemplate=e},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"pagerTemplate",{get:function(){return this._customPagerTemplate||(this.pagerTemplateChildren?this.pagerTemplateChildren.first:void 0)},set:function(e){this._customPagerTemplate=e},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"toolbarTemplate",{get:function(){return this._customToolbarTemplate||(this.toolbarTemplateChildren?this.toolbarTemplateChildren.first:void 0)},set:function(e){this._customToolbarTemplate=e},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"scrollbarWidth",{get:function(){return this.supportService.scrollbarWidth},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"headerPadding",{get:function(){if(le())return"";var e=Math.max(0,this.scrollbarWidth)+"px";return"0 "+(this.rtl?0:e)+" 0 "+(this.rtl?e:0)},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"hasGroupFooters",{get:function(){return this.columnsContainer.hasGroupFooter},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"showFooter",{get:function(){return this.columnsContainer.hasFooter},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"showGroupFooters",{get:function(){return this.groupable&&this.groupable.showFooter},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"ariaRowCount",{get:function(){return this.totalColumnLevels+1+this.view.total},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"ariaColCount",{get:function(){return this.columnsContainer.leafColumnsToRender.length},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"isVirtual",{get:function(){return"virtual"===this.scrollable},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"isScrollable",{get:function(){return"none"!==this.scrollable},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"visibleColumns",{get:function(){return this.columnsContainer.allColumns},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"lockedColumns",{get:function(){return this.columnsContainer.lockedColumns},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"nonLockedColumns",{get:function(){return this.columnsContainer.nonLockedColumns},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"lockedLeafColumns",{get:function(){return this.columnsContainer.lockedLeafColumns},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"stickyColumns",{get:function(){return this.columns.filter(function(e){return e.sticky})},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"nonLockedLeafColumns",{get:function(){return this.columnsContainer.nonLockedLeafColumns},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"leafColumns",{get:function(){return this.columnsContainer.leafColumns},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"totalColumnLevels",{get:function(){return this.columnsContainer.totalLevels},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"headerColumns",{get:function(){return this.virtualColumns&&!this.pdfService.exporting?this.viewportColumns:this.nonLockedColumns},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"headerLeafColumns",{get:function(){return this.virtualColumns&&!this.pdfService.exporting?this.leafViewportColumns:this.nonLockedLeafColumns},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"lockedWidth",{get:function(){var e=32*this.group.length;return bn(this.lockedLeafColumns.toArray()).reduce(function(e,t){return e+(t.width||0)},e)},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"nonLockedWidth",{get:function(){if(!this.rtl&&this.lockedLeafColumns.length||this.virtualColumns)return this.virtualColumns?this.leafViewportColumns.reduce(function(e,t){return e+(t.width||0)},0):this.columnsContainer.unlockedWidth},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"selectableSettings",{get:function(){if(this.selectionService)return this.selectionService.options},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"columnMenuTemplate",{get:function(){var e=this.columnMenuTemplates.first;return e?e.templateRef:null},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"totalCount",{get:function(){return this.isVirtual||!V(this.pageSize)?this.view.total:this.pageSize},enumerable:!1,configurable:!0}),R.prototype.expandRow=function(e){this.toggleDetailRowLegacy(e,!0)},R.prototype.collapseRow=function(e){this.toggleDetailRowLegacy(e,!1)},R.prototype.expandGroup=function(e){this.toggleGroupRowLegacy(e,!0)},R.prototype.collapseGroup=function(e){this.toggleGroupRowLegacy(e,!1)},R.prototype.resetGroupsState=function(){this.groupsService.reset()},R.prototype.expandGroupChildren=function(e){this.groupsService.expandChildren(e)},R.prototype.onDataChange=function(){this.autoGenerateColumns(),this.changeNotification.notify(),this.pdfService.dataChanged.emit(),V(this.defaultSelection)&&this.defaultSelection.reset(),this.initSelectionService(),this.updateNavigationMetadata()},R.prototype.ngOnChanges=function(e){var t=this;p.isChanged("data",e)&&this.onDataChange(),this.lockedLeafColumns.length&&p.anyChanged(["pageSize","skip","sort","group"],e)&&this.changeNotification.notify(),p.anyChanged(["pageSize","scrollable","virtualColumns"],e)&&this.updateNavigationMetadata(),p.isChanged("virtualColumns",e)&&(this.viewportColumns=this.leafViewportColumns=null),p.isChanged("height",e,!1)&&this.renderer.setStyle(this.wrapper.nativeElement,"height",this.height+"px"),p.isChanged("filterable",e)&&this.lockedColumns.length&&this.syncHeaderHeight(this.ngZone.onStable.asObservable().pipe(G.take(1))),p.anyChanged(["columnMenu","sortable","filterable"],e,!1)&&(this.columnMenuOptions=this.columnMenu&&Object.assign({filter:Boolean(this.filterable),sort:Boolean(this.sortable)},this.columnMenu)),p.isChanged("scrollable",e)&&this.isScrollable&&this.ngZone.onStable.pipe(G.take(1)).subscribe(function(){return t.attachScrollSync()}),p.isChanged("selectable",e)&&this.shouldResetSelection(e.selectable)&&(this.defaultSelection?this.defaultSelection.reset():this.selectionDirective&&this.selectionDirective.reset()),p.isChanged("groupable",e,!0)&&(this.groupable=e.groupable.currentValue)},R.prototype.ngAfterViewInit=function(){this.attachScrollSync(),this.attachElementEventHandlers(),this.updateNavigationMetadata(),this.applyAutoSize()},R.prototype.ngAfterContentChecked=function(){this.columnsContainer.refresh(),this.verifySettings(),this.initSelectionService()},R.prototype.ngAfterContentInit=function(){var e=this;this.shouldGenerateColumns=!this.columns.length,this.autoGenerateColumns(),this.columnList=new fo(this.columns),this.columnsChangeSubscription=this.columns.changes.subscribe(function(){return e.verifySettings()})},R.prototype.ngOnInit=function(){this.navigable&&this.navigationService.init(this.navigationMetadata())},R.prototype.ngOnDestroy=function(){this.selectionSubscription&&this.selectionSubscription.unsubscribe(),this.stateChangeSubscription&&this.stateChangeSubscription.unsubscribe(),this.groupExpandCollapseSubscription&&this.groupExpandCollapseSubscription.unsubscribe(),this.detailsServiceSubscription&&this.detailsServiceSubscription.unsubscribe(),this.editServiceSubscription&&this.editServiceSubscription.unsubscribe(),this.pdfSubscription&&this.pdfSubscription.unsubscribe(),this.filterSubscription&&this.filterSubscription.unsubscribe(),this.sortSubscription&&this.sortSubscription.unsubscribe(),this.columnsChangeSubscription&&this.columnsChangeSubscription.unsubscribe(),this.excelSubscription&&this.excelSubscription.unsubscribe(),this.columnsContainerChangeSubscription&&this.columnsContainerChangeSubscription.unsubscribe(),this.scrollSyncService&&this.scrollSyncService.destroy(),this.detachElementEventHandlers&&this.detachElementEventHandlers(),this.defaultSelection&&this.defaultSelection.destroy(),this.cellClickSubscription&&this.cellClickSubscription.unsubscribe(),this.footerChangeSubscription&&this.footerChangeSubscription.unsubscribe(),this.ngZone=null,this.columnResizingSubscription&&this.columnResizingSubscription.unsubscribe(),this.columnReorderSubscription&&this.columnReorderSubscription.unsubscribe(),this.localizationSubscription&&this.localizationSubscription.unsubscribe(),this.columnVisibilityChangeSubscription&&this.columnVisibilityChangeSubscription.unsubscribe(),this.columnLockedChangeSubscription&&this.columnLockedChangeSubscription.unsubscribe(),this.columnStickyChangeSubscription&&this.columnStickyChangeSubscription.unsubscribe(),this.focusElementSubscription&&this.focusElementSubscription.unsubscribe(),this.columnRangeChangeSubscription.unsubscribe()},R.prototype.attachScrollSync=function(){var t=this;le()||(this.header&&this.scrollSyncService.registerEmitter(this.header.nativeElement,"header"),this.footer&&(this.footerChangeSubscription=se(this.footer).subscribe(function(e){return e.map(function(e){return e.nativeElement}).filter(V).forEach(function(e){return t.scrollSyncService.registerEmitter(e,"footer")})})))},Object.defineProperty(R.prototype,"ariaLabel",{get:function(){return this.localization.get("gridLabel")},enumerable:!1,configurable:!0}),R.prototype.editRow=function(e,t,n){this.editService.editRow(e,t),V(n)&&n.skipFocus||(t='tr[data-kendo-grid-item-index="'+e+'"]',e=n&&n.columnIndex,n=isNaN(e)?t:t+' td[data-kendo-grid-column-index="'+e+'"]',this.focusEditElement(n))},R.prototype.closeRow=function(e){this.editService.close(e)},R.prototype.addRow=function(e){var t,n;e instanceof z.FormGroup||(t=Object.keys(e).reduce((n=e,function(e,t){return e[t]=new z.FormControl(n[t]),e}),{}),e=new z.FormGroup(t)),this.editService.addRow(e),this.focusEditElement(".k-grid-add-row")},R.prototype.editCell=function(e,t,n){t=this.columnInstance(t);this.editService.editCell(e,t,n),this.focusEditElement(".k-grid-edit-cell")},R.prototype.closeCell=function(){return!this.editService.closeCell()},R.prototype.cancelCell=function(){this.editService.cancelCell()},R.prototype.isEditing=function(){return this.editService.isEditing()},R.prototype.isEditingCell=function(){return this.editService.isEditingCell()},R.prototype.saveAsPDF=function(){this.pdfService.save(this)},R.prototype.drawPDF=function(){(r=new Promise(function(t,n){e=function(e){return t(e),r},o=function(e){return n(e),r}})).resolve=e,r.reject=o;var e,o,r,t=r;return this.pdfService.draw(this,t),t},R.prototype.saveAsExcel=function(){this.excelService.save(this)},R.prototype.autoFitColumn=function(e){this.columnResizingService.autoFit(e)},R.prototype.autoFitColumns=function(e){var t,e=(e=void 0===e?this.columns:e)instanceof P.QueryList?e.toArray():e;(t=this.columnResizingService).autoFit.apply(t,g([],k(e)))},R.prototype.notifyPageChange=function(e,t){"list"===e&&!this.isVirtual||this.pageChange.emit(t)},R.prototype.notifyScrollBottom=function(){var e=this;"none"!==this.scrollable&&p.hasObservers(this.scrollBottom)&&this.ngZone.run(function(){return e.scrollBottom.emit({sender:e})})},R.prototype.focusEditElement=function(t){var n=this;this.focusElementSubscription&&this.focusElementSubscription.unsubscribe(),this.ngZone.runOutsideAngular(function(){n.focusElementSubscription=n.ngZone.onStable.asObservable().pipe(G.take(1)).subscribe(function(){var e=n.wrapper.nativeElement;!n.setEditFocus(e.querySelector(t))&&n.isLocked&&n.setEditFocus(e.querySelector(".k-grid-content "+t)),n.focusElementSubscription=null})})},R.prototype.focus=function(){return this.assertNavigable(),this.navigationService.focusCell()},R.prototype.focusCell=function(e,t){return this.assertNavigable(),this.navigationService.focusCell(e,t)},R.prototype.focusNextCell=function(e){return void 0===e&&(e=!0),this.assertNavigable(),this.navigationService.focusNextCell(e)},R.prototype.focusPrevCell=function(e){return void 0===e&&(e=!0),this.assertNavigable(),this.navigationService.focusPrevCell(e)},R.prototype.scrollTo=function(e){this.scrollRequestService.scrollTo(e)},R.prototype.reorderColumn=function(e,t,n){void 0===n&&(n={before:!1});t=On(this.allColumnsForLevel(e.level))[t];!t||t.isLocked&&!e.isLocked&&1===this.columnsContainer.nonLockedColumns.length||(hn(t)&&!n.before&&(t=t.childColumns.last),this.reorder({before:n.before,source:e,target:t}))},Object.defineProperty(R.prototype,"isDetailExpanded",{get:function(){return this.detailsService.userCallback},set:function(e){this.detailsService.userCallback=e},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"isGroupExpanded",{get:function(){return this.groupsService.userCallback},set:function(e){this.groupsService.userCallback=e,this.groupable=V(e)},enumerable:!1,configurable:!0}),R.prototype.reorder=function(e){var o=this,r=e.target,i=e.source,a=e.before,s=e.changeContainer;this.ngZone.run(function(){var e=On(o.allColumnsForLevel(i.level)),t=e.indexOf(r),n=(r.parent&&r.parent.isSpanColumn&&(t=e.indexOf(r.parent),a&&(r=r.parent)),e.indexOf(i)),n=(s&&(a&&0<t&&n<t?t--:!a&&t<n&&t++),new br({column:i,oldIndex:n,newIndex:t}));o.columnReorder.emit(n),n.isDefaultPrevented()||(s&&o.columnLockedChange.emit(new Fr([i])),o.updateColumnIndices({columnsForLevel:e,source:i,target:r,before:a}),i.locked!==r.locked&&(i.locked=r.locked),o.columnsContainer.refresh(),o.changeDetectorRef.markForCheck())})},R.prototype.updateColumnIndices=function(e){for(var t=e.columnsForLevel,n=e.source,o=e.target,r=e.before,i=kn(t),a=i.indexOf(n),s=0,l=0,c=1,p=(n.isSpanColumn&&(c+=n.childColumns.length),0);p<i.length;){var u=i[p];if(u===o)(s=r?l:l+1)===(u.orderIndex=l=r?l+c:l)+1&&(l+=c);else{if(u===n){p+=c;continue}u.orderIndex=l}l++,p++}for(p=a;p<a+c;p++)i[p].orderIndex=s++;this.updateIndicesForLevel(n.level+1)},R.prototype.updateIndicesForLevel=function(e){var t=this.allColumnsForLevel(e-1),n=[];On(t).forEach(function(e){e.isColumnGroup&&n.push.apply(n,g([],k(e.childrenArray.sort(function(e,t){return e.orderIndex-t.orderIndex}))))}),kn(n).map(function(e,t){return e.orderIndex=t}),e<this.columnList.totalColumnLevels()&&this.updateIndicesForLevel(e+1)},R.prototype.allColumnsForLevel=function(t){return this.columnList.toArray().filter(function(e){return e.level===t})},R.prototype.initSelectionService=function(){var t=this;if(!this.selectable)return this.selectionService.ngOnDestroy(),void this.cellSelectionService.ngOnDestroy();this.selectionDirective||V(this.defaultSelection)||(this.defaultSelection=new lo(this.ctx,this.changeDetectorRef));var e=this.selectable.cell,n=e?this.cellSelectionService:this.selectionService,o=e?this.selectionService:this.cellSelectionService;o.active&&(o.ngOnDestroy(),n.addSubscriptions(),o.active=!1),n.active=!0,n.init({cellSelected:e?this.cellSelected:void 0,rowSelected:e?void 0:this.rowSelected,selectable:this.selectable,view:this.view,columns:e?this.columnList.toArray():void 0}),this.selectionDirective||this.selectableSettings.enabled||this.defaultSelection.reset(),this.selectionSubscription&&this.selectionSubscription.unsubscribe(),this.selectionSubscription=e?this.cellSelectionService.changes.subscribe(function(e){t.ngZone.run(function(){return t.selectionChange.emit(e)})}):this.selectionService.changes.subscribe(function(e){t.ngZone.run(function(){return t.selectionChange.emit(e)})})},R.prototype.setEditFocus=function(e){if(e)return this.navigationService.tryFocus(e)},R.prototype.columnInstance=function(t){var e="number"==typeof t?this.columnsContainer.lockedLeafColumns.toArray().concat(this.columnsContainer.nonLockedLeafColumns.toArray())[t]:"string"==typeof t?this.columnList.filter(function(e){return e.field===t})[0]:t;if(!e&&P.isDevMode())throw new Error("Invalid column "+t);return e},R.prototype.verifySettings=function(){if(P.isDevMode()){var e=this.lockedLeafColumns.length||this.columnMenu&&this.columnMenu.lock,t=this.stickyColumns.length||this.columnMenu&&this.columnMenu.stick;if(e&&this.detailTemplate)throw new Error("Having both detail template and locked columns is not supported.");if(t&&this.detailTemplate)throw new Error("Having both detail template and sticky columns is not supported.");if(this.lockedLeafColumns.length&&!this.nonLockedLeafColumns.length)throw new Error("There should be at least one non-locked column");if((e||this.virtualColumns)&&bn(this.columnList.toArray()).filter(function(e){return!e.width&&!Rn(e)}).length)throw new Error((e?"Locked":"Virtual")+" columns feature requires all columns to have set width.");if(e&&!this.isScrollable)throw new Error("Locked columns are only supported when scrolling is enabled.");if(this.columnList.filter(Rn).filter(function(e){return!e.hasChildren}).length)throw new Error("ColumnGroupComponent should contain ColumnComponent or CommandColumnComponent.");if(this.columnList.filter(function(e){return e.locked&&e.parent&&!e.parent.isLocked}).length)throw new Error("Locked child columns require their parent columns to be locked.");if((this.rowHeight||this.detailRowHeight)&&!this.isVirtual)throw new Error("Row height and detail row height settings require virtual scrolling mode to be enabled.");if(t&&bn(this.columnList.toArray()).filter(function(e){return!e.width&&!Rn(e)}).length)throw new Error("Sticky columns feature requires all columns to have set width.");if(t&&!this.isScrollable)throw new Error("Sticky columns are only supported when scrolling is enabled.");if(t&&this.virtualColumns)throw new Error("Having both sticky columns and column virtualization is not supported.");if(this.rowSticky&&"virtual"===this.scrollable)throw new Error('Having both sticky rows and row virtualization (scrollable="virtual") is not supported.');if(this.rowSticky&&this.groupable)throw new Error("Having both sticky rows and grouping is not supported.");ic(this.columnList)}},R.prototype.autoGenerateColumns=function(){this.shouldGenerateColumns&&!this.columns.length&&this.view.length&&this.columns.reset(Object.keys(this.view.at(0)).map(function(e){var t=new gn;return t.field=e,t}))},R.prototype.attachStateChangesEmitter=function(){var t=this;this.stateChangeSubscription=b.merge(this.pageChange.pipe(G.map(function(e){return{filter:t.filter,group:t.group,skip:e.skip,sort:t.sort,take:e.take}})),this.sortChange.pipe(G.map(function(e){return{filter:t.filter,group:t.group,skip:t.skip,sort:e,take:t.pageSize}})),this.groupChange.pipe(G.map(function(e){return{filter:t.filter,group:e,skip:t.skip,sort:t.sort,take:t.pageSize}})),this.filterChange.pipe(G.map(function(e){return{filter:e,group:t.group,skip:0,sort:t.sort,take:t.pageSize}}))).subscribe(function(e){t.closeCell(),t.cancelCell(),t.dataStateChange.emit(e)})},R.prototype.attachEditHandlers=function(){this.editService&&(this.editServiceSubscription=this.editService.changes.subscribe(this.emitCRUDEvent.bind(this)))},R.prototype.emitCRUDEvent=function(e){var t=e.action,n=e.rowIndex,o=e.formGroup,n=this.view.at(n-this.skip);switch("add"===t||n||(n=o.value),this.closeCell(),Object.assign(e,{dataItem:n,sender:this}),t){case"add":this.add.emit(e);break;case"cancel":this.cancel.emit(e);break;case"edit":this.edit.emit(e);break;case"remove":this.remove.emit(e);break;case"save":this.save.emit(e);break;case"cellClose":this.cellClose.emit(e)}},R.prototype.attachDomEventHandlers=function(){var t=this;this.cellClickSubscription=this.domEvents.cellClick.subscribe(function(e){t.cellClick.emit(Object.assign({sender:t},e))})},R.prototype.attachElementEventHandlers=function(){var p,u,d=this;le()||(p=this.wrapper.nativeElement,u=this.ariaRoot.nativeElement,this.ngZone.runOutsideAngular(function(){var e=d.resizeCheck.bind(d),t=d.renderer.listen("window","resize",e),n=d.renderer.listen("window","orientationchange",e),o=d.renderer.listen("document","click",function(e){var t=document.activeElement;!d.editService.shouldCloseCell()||$e(e.target,Me("k-animation-container k-grid-ignore-click"))||t&&($e(t,Me("k-animation-container"))||ac(t,d.wrapper.nativeElement))||d.editService.closeCell(e)}),r=d.renderer.listen("window","blur",function(e){var t=document.activeElement;!t||ze("input")(t)&&"file"===t.type&&ac(t,d.wrapper.nativeElement)||d.editService.closeCell(e),d.domEvents.windowBlur.emit(e)}),i=d.renderer.listen(p,"click",function(e){d.domEvents.click.emit(e)}),a=d.renderer.listen(p,"keydown",function(e){d.domEvents.keydown.emit(e)}),s=!1,l=d.renderer.listen(u,"focusin",function(e){d.domEvents.focus.emit(e),s||(d.domEvents.focusIn.emit(e),s=!0)}),c=d.renderer.listen(u,"focusout",function(e){var t=e.relatedTarget||document.activeElement;$e(t,function(e){return e===u})||(d.domEvents.focusOut.emit(e),s=!1)});d.detachElementEventHandlers=function(){t(),n(),o(),r(),i(),a(),l(),c()}}))},R.prototype.matchesMedia=function(e){return this.responsiveService.matchesMedia(e.media)},R.prototype.resizeCheck=function(){var n,o=this;window.innerWidth!==this.cachedWindowWidth&&(this.cachedWindowWidth=window.innerWidth,n=!1,this.columnList.filterHierarchy(function(e){var t=o.matchesMedia(e);return e.matchesMedia!==t&&(n=!0,e.matchesMedia=t),e.isVisible}),n&&this.ngZone.run(function(){o.changeDetectorRef.markForCheck()}))},R.prototype.emitPDFExportEvent=function(){var e=new Ro;this.pdfExport.emit(e),e.isDefaultPrevented()||this.saveAsPDF()},R.prototype.syncHeaderHeight=function(e){var t=this;return e.pipe(G.filter(function(){return V(t.lockedHeader)})).subscribe(function(){return Io(t.lockedHeader.nativeElement.children[0],t.header.nativeElement.children[0])})},R.prototype.columnsContainerChange=function(){var e=this;this.columnsContainerChangeSubscription=this.syncHeaderHeight(this.columnsContainer.changes.pipe(G.filter(function(){return 0<e.lockedColumns.length}),G.switchMap(function(){return e.ngZone.onStable.asObservable().pipe(G.take(1))})))},R.prototype.handleColumnResize=function(){var t=this,e=this.columnResizingService.changes;this.columnResizingSubscription=e.pipe(G.tap(function(e){"start"===e.type?t.renderer.addClass(t.wrapper.nativeElement,"k-grid-column-resizing"):"end"===e.type&&t.renderer.removeClass(t.wrapper.nativeElement,"k-grid-column-resizing")}),G.filter(function(e){return"start"===e.type}),G.switchMap(function(){return e.pipe(G.takeUntil(e.pipe(G.filter(function(e){return"triggerAutoFit"===e.type}))),G.filter(function(e){return"end"===e.type}))})).subscribe(this.notifyResize.bind(this))},R.prototype.notifyResize=function(e){e=e.resizedColumns.filter(function(e){return fe(e.column.resizable)&&!e.column.isColumnGroup}).map(function(e){return{column:e.column,newWidth:e.column.width,oldWidth:e.oldWidth}});this.columnResize.emit(e)},R.prototype.assertNavigable=function(){if(P.isDevMode()&&!this.navigable)throw new Error('The Grid should be configured as [navigable]="true" to control focus')},R.prototype.navigationMetadata=function(){var e=this.isVirtual,t=this.pageSize,t=e?this.view.total:t,n=this.editService.hasNewItem?1:0,o=Qo(this.filterable)?1:0,o=this.totalColumnLevels+1+o+n;return new Cr(t,o,e,this.hasPager,V(this.detailTemplate),this.wrapper,this.virtualColumns,this.columnsContainer)},R.prototype.updateNavigationMetadata=function(){this.navigationService.metadata=this.navigationMetadata()},R.prototype.applyAutoSize=function(){var t=this,n=this.columns.filter(function(e){return t.autoSize?!1!==e.autoSize:e.autoSize});0<n.length&&this.ngZone.onStable.pipe(G.take(1)).subscribe(function(e){return t.autoFitColumns(n)})},R.prototype.onColumnRangeChange=function(e){for(var t=this.viewportColumns=[],n=this.columnsContainer.nonLockedLeafColumns.toArray().slice(e.start,e.end+1),o=0;o<n.length;o++){for(var r=n[o];r.parent;)r=r.parent;for(var i=[r];i.length;)r=i.shift(),t.push(r),r.isColumnGroup&&i.unshift.apply(i,r.childrenArray);for(var a=t[t.length-1],r=n[o];r!==a&&o<n.length;)r=n[++o]}if(0<e.start){for(var s=n[0],l=e.offset,c=t[0],p=0;c!==s;)l-=c.isColumnGroup?0:c.width,c=t[++p];if(0<l)for(var u=this.columnsContainer.totalLevels,d=void 0,o=0;o<=u;o++){var g=new(o<u?Pn:y)(d),d=g;g.title=" ",g.width=l,t.unshift(g)}}this.leafViewportColumns=t.filter(function(e){return!e.isColumnGroup})},R.prototype.toggleDetailRowLegacy=function(e,t){var n="function"==typeof this.isDetailExpanded;if(P.isDevMode()&&n)throw new Error("The expandRow and collapseRow methods should not be called when using the kendoGridDetailsExpandBy directive or the isDetailExpanded callback. These methods are provided only for backwards compatibility with legacy versions.");!P.isDevMode()&&n||this.detailsService.isExpanded(e,null)!==t&&this.detailsService.toggleRow(e,null)},R.prototype.toggleGroupRowLegacy=function(e,t){var n="function"==typeof this.isGroupExpanded;if(P.isDevMode()&&n)throw new Error("The expandGroup and collapseGroup methods should not be called when using the kendoGridExpandGroupBy directive or the isGroupExpanded callback. These methods are provided only for backwards compatibility with legacy versions.");!P.isDevMode()&&n||this.groupsService.isExpanded({groupIndex:e})!==t&&this.groupsService.toggleRow({index:e})},R.prototype.shouldResetSelection=function(e){var t=e.previousValue;if(!t)return!1;e=e.currentValue;return!e||!1===e.enabled||t.cell!==e.cell};var E=R;function R(e,t,n,o,r,i,a,s,l,c,p,u,d,g,m,h,f,y,v,b,k,C,I,x,w,S){var D,T,F,O,E,R,L=this;this.supportService=e,this.selectionService=t,this.cellSelectionService=n,this.wrapper=o,this.groupInfoService=r,this.groupsService=i,this.changeNotification=a,this.detailsService=s,this.editService=l,this.filterService=c,this.pdfService=p,this.responsiveService=u,this.renderer=d,this.excelService=g,this.ngZone=m,this.scrollSyncService=h,this.domEvents=f,this.columnResizingService=y,this.changeDetectorRef=v,this.columnReorderService=b,this.columnInfoService=k,this.navigationService=C,this.sortService=I,this.scrollRequestService=x,this.localization=w,this.ctx=S,this.data=[],this.scrollable="scrollable",this.selectable=!1,this.trackBy=Or,this.virtualColumns=!1,this.filterable=!1,this.sortable=!1,this.pageable=!1,this.groupable=!1,this.navigable=!1,this.autoSize=!1,this.resizable=!1,this.reorderable=!1,this.loading=!1,this.columnMenu=!1,this.hideHeader=!1,this.filterChange=new P.EventEmitter,this.pageChange=new P.EventEmitter,this.groupChange=new _t(this.ngZone),this.sortChange=new P.EventEmitter,this.selectionChange=new P.EventEmitter,this.dataStateChange=new P.EventEmitter,this.groupExpand=new P.EventEmitter,this.groupCollapse=new P.EventEmitter,this.detailExpand=new P.EventEmitter,this.detailCollapse=new P.EventEmitter,this.edit=new P.EventEmitter,this.cancel=new P.EventEmitter,this.save=new P.EventEmitter,this.remove=new P.EventEmitter,this.add=new P.EventEmitter,this.cellClose=new P.EventEmitter,this.cellClick=new _t(this.ngZone),this.pdfExport=new P.EventEmitter,this.excelExport=new P.EventEmitter,this.columnResize=new _t(this.ngZone),this.columnReorder=new P.EventEmitter,this.columnVisibilityChange=new P.EventEmitter,this.columnLockedChange=new P.EventEmitter,this.columnStickyChange=new P.EventEmitter,this.scrollBottom=new P.EventEmitter,this.contentScroll=new P.EventEmitter,this.columns=new P.QueryList,this.footer=new P.QueryList,this.selectionDirective=!1,this.columnsContainer=new po(function(){return L.columnList.filterHierarchy(function(e){return e.matchesMedia=L.matchesMedia(e),e.isVisible})}),this.view=new oo(function(){return new to(L.data,L.skip,L.hasGroupFooters)}),this.shouldGenerateColumns=!0,this._sort=new Array,this._group=new Array,this._skip=0,this.cachedWindowWidth=0,this._rowSelected=null,this._cellSelected=null,this.rtl=!1,this._rowClass=function(){return null},N.validatePackage(Zt),(this.ctx.grid=this).localizationSubscription=this.localization.changes.subscribe(function(e){e=e.rtl;L.rtl=e,L.direction=L.rtl?"rtl":"ltr"}),this.groupInfoService.registerColumnsContainer(function(){return L.columnList}),this.columnInfoService.init(this.columnsContainer,function(){return L.columnList}),this.columnVisibilityChangeSubscription=this.columnInfoService.visibilityChange.subscribe(function(e){L.columnVisibilityChange.emit(new Tr(e))}),this.columnLockedChangeSubscription=this.columnInfoService.lockedChange.subscribe(function(e){L.columnLockedChange.emit(new Fr(e))}),this.columnStickyChangeSubscription=this.columnInfoService.stickyChange.subscribe(function(e){L.columnStickyChange.emit(new Er(e))}),this.groupExpandCollapseSubscription=(D=this.groupExpand,T=this.groupCollapse,F=function(e){return{group:e.group,groupIndex:e.groupIndex,parentGroup:e.parentGroup}},i.changes.pipe(G.filter(function(e){e=e.group;return V(e)})).subscribe(function(e){return(e.expand?D:T).emit(F(e))})),this.detailsServiceSubscription=(O=this.detailExpand,E=this.detailCollapse,R=function(e){return e},s.changes.pipe(G.filter(function(e){e=e.dataItem;return V(e)})).subscribe(function(e){return(e.expand?O:E).emit(R(e))})),this.filterSubscription=this.filterService.changes.subscribe(function(e){L.filterChange.emit(e)}),this.sortSubscription=this.sortService.changes.subscribe(function(e){L.sortChange.emit(e)}),this.attachStateChangesEmitter(),this.attachEditHandlers(),this.attachDomEventHandlers(),this.pdfSubscription=this.pdfService.exportClick.subscribe(this.emitPDFExportEvent.bind(this)),this.excelSubscription=this.excelService.exportClick.subscribe(this.saveAsExcel.bind(this)),this.columnsContainerChange(),this.handleColumnResize(),this.columnList=new fo(this.columns),this.columnReorderSubscription=this.columnReorderService.changes.subscribe(this.reorder.bind(this)),this.columnRangeChangeSubscription=this.columnInfoService.columnRangeChange.subscribe(this.onColumnRangeChange.bind(this))}E.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:E,deps:[{token:Bn},{token:Nt},{token:At},{token:i.ElementRef},{token:vo},{token:Je},{token:ko},{token:ct},{token:u},{token:v},{token:Fo},{token:Vo},{token:i.Renderer2},{token:zo},{token:i.NgZone},{token:Bo},{token:we},{token:Wo},{token:i.ChangeDetectorRef},{token:fr},{token:C},{token:m},{token:Sr},{token:Qe},{token:a.LocalizationService},{token:so}],target:i.ɵɵFactoryTarget.Component}),E.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:E,selector:"kendo-grid",inputs:{data:"data",pageSize:"pageSize",height:"height",rowHeight:"rowHeight",detailRowHeight:"detailRowHeight",skip:"skip",scrollable:"scrollable",selectable:"selectable",sort:"sort",trackBy:"trackBy",filter:"filter",group:"group",virtualColumns:"virtualColumns",filterable:"filterable",sortable:"sortable",pageable:"pageable",groupable:"groupable",navigable:"navigable",navigatable:"navigatable",autoSize:"autoSize",rowClass:"rowClass",rowSticky:"rowSticky",rowSelected:"rowSelected",cellSelected:"cellSelected",resizable:"resizable",reorderable:"reorderable",loading:"loading",columnMenu:"columnMenu",hideHeader:"hideHeader",isDetailExpanded:"isDetailExpanded",isGroupExpanded:"isGroupExpanded"},outputs:{filterChange:"filterChange",pageChange:"pageChange",groupChange:"groupChange",sortChange:"sortChange",selectionChange:"selectionChange",dataStateChange:"dataStateChange",groupExpand:"groupExpand",groupCollapse:"groupCollapse",detailExpand:"detailExpand",detailCollapse:"detailCollapse",edit:"edit",cancel:"cancel",save:"save",remove:"remove",add:"add",cellClose:"cellClose",cellClick:"cellClick",pdfExport:"pdfExport",excelExport:"excelExport",columnResize:"columnResize",columnReorder:"columnReorder",columnVisibilityChange:"columnVisibilityChange",columnLockedChange:"columnLockedChange",columnStickyChange:"columnStickyChange",scrollBottom:"scrollBottom",contentScroll:"contentScroll"},host:{properties:{"attr.dir":"this.dir","class.k-grid":"this.hostClasses","class.k-grid-lockedcolumns":"this.lockedClasses","class.k-grid-virtual":"this.virtualClasses","class.k-grid-no-scrollbar":"this.noScrollbarClass"}},providers:[Bn,M.LocalizationService,C,Nt,At,ct,Je,vo,ko,u,Fo,Go,{provide:wt,useValue:St},{provide:M.L10N_PREFIX,useValue:"kendo.grid"},v,Vo,Ze,zo,Bo,$o,Se,we,Wo,er,lr,dr,mr,fr,m,dt,f,Qe,Sr,so],queries:[{propertyName:"columns",predicate:y},{propertyName:"detailTemplateChildren",predicate:Vn},{propertyName:"cellLoadingTemplateChildren",predicate:Rr},{propertyName:"loadingTemplateChildren",predicate:Lr},{propertyName:"noRecordsTemplateChildren",predicate:xo},{propertyName:"pagerTemplateChildren",predicate:To},{propertyName:"toolbarTemplateChildren",predicate:jo},{propertyName:"columnMenuTemplates",predicate:nn}],viewQueries:[{propertyName:"lockedHeader",first:!0,predicate:["lockedHeader"],descendants:!0},{propertyName:"header",first:!0,predicate:["header"],descendants:!0},{propertyName:"ariaRoot",first:!0,predicate:["ariaRoot"],descendants:!0,static:!0},{propertyName:"footer",predicate:["footer"],descendants:!0}],exportAs:["kendoGrid"],usesOnChanges:!0,ngImport:i,template:'\n <ng-container kendoGridLocalizedMessages\n i18n-groupPanelEmpty="kendo.grid.groupPanelEmpty|The label visible in the Grid group panel when it is empty"\n groupPanelEmpty="Drag a column header and drop it here to group by that column"\n\n i18n-noRecords="kendo.grid.noRecords|The label visible in the Grid when there are no records"\n noRecords="No records available."\n\n i18n-pagerLabel="kendo.grid.pagerLabel|The label for the Grid pager"\n pagerLabel="{{ \'Page navigation, page {currentPage} of {totalPages}\' }}"\n\n i18n-pagerFirstPage="kendo.grid.pagerFirstPage|The label for the first page button in Grid pager"\n pagerFirstPage="Go to the first page"\n\n i18n-pagerPreviousPage="kendo.grid.pagerPreviousPage|The label for the previous page button in Grid pager"\n pagerPreviousPage="Go to the previous page"\n\n i18n-pagerNextPage="kendo.grid.pagerNextPage|The label for the next page button in Grid pager"\n pagerNextPage="Go to the next page"\n\n i18n-pagerLastPage="kendo.grid.pagerLastPage|The label for the last page button in Grid pager"\n pagerLastPage="Go to the last page"\n\n i18n-pagerPage="kendo.grid.pagerPage|The label before the current page number in the Grid pager"\n pagerPage="Page"\n\n i18n-pagerOf="kendo.grid.pagerOf|The label before the total pages number in the Grid pager"\n pagerOf="of"\n\n i18n-pagerItems="kendo.grid.pagerItems|The label after the total pages number in the Grid pager"\n pagerItems="items"\n\n i18n-pagerPageNumberInputTitle="kendo.grid.pagerPageNumberInputTitle|The label for the pager input in the Grid pager"\n pagerPageNumberInputTitle="Page Number"\n\n i18n-pagerItemsPerPage="kendo.grid.pagerItemsPerPage|The label for the page size chooser in the Grid pager"\n pagerItemsPerPage="items per page"\n\n i18n-filter="kendo.grid.filter|The label of the filter cell or icon"\n filter="Filter"\n\n i18n-filterInputLabel="kendo.grid.filterInputLabel|The label of the filter row and menu inputs"\n filterInputLabel="{{ \'{columnName} Filter\' }}"\n\n i18n-filterMenuTitle="kendo.grid.filterMenuTitle|The title of the filter menu icon"\n filterMenuTitle="{{ \'{columnName} Filter Menu\' }}"\n\n i18n-filterMenuOperatorsDropDownLabel="kendo.grid.filterMenuOperatorsDropDownLabel|The label of the filter menu operators dropdown"\n filterMenuOperatorsDropDownLabel="{{ \'{columnName} Filter Operators\' }}"\n\n i18n-filterMenuLogicDropDownLabel="kendo.grid.filterMenuLogicDropDownLabel|The label of the filter menu logic dropdown"\n filterMenuLogicDropDownLabel="{{ \'{columnName} Filter Logic\' }}"\n\n i18n-filterEqOperator="kendo.grid.filterEqOperator|The text of the equal filter operator"\n filterEqOperator="Is equal to"\n\n i18n-filterNotEqOperator="kendo.grid.filterNotEqOperator|The text of the not equal filter operator"\n filterNotEqOperator="Is not equal to"\n\n i18n-filterIsNullOperator="kendo.grid.filterIsNullOperator|The text of the is null filter operator"\n filterIsNullOperator="Is null"\n\n i18n-filterIsNotNullOperator="kendo.grid.filterIsNotNullOperator|The text of the is not null filter operator"\n filterIsNotNullOperator="Is not null"\n\n i18n-filterIsEmptyOperator="kendo.grid.filterIsEmptyOperator|The text of the is empty filter operator"\n filterIsEmptyOperator="Is empty"\n\n i18n-filterIsNotEmptyOperator="kendo.grid.filterIsNotEmptyOperator|The text of the is not empty filter operator"\n filterIsNotEmptyOperator="Is not empty"\n\n i18n-filterStartsWithOperator="kendo.grid.filterStartsWithOperator|The text of the starts with filter operator"\n filterStartsWithOperator="Starts with"\n\n i18n-filterContainsOperator="kendo.grid.filterContainsOperator|The text of the contains filter operator"\n filterContainsOperator="Contains"\n\n i18n-filterNotContainsOperator="kendo.grid.filterNotContainsOperator|The text of the does not contain filter operator"\n filterNotContainsOperator="Does not contain"\n\n i18n-filterEndsWithOperator="kendo.grid.filterEndsWithOperator|The text of the ends with filter operator"\n filterEndsWithOperator="Ends with"\n\n i18n-filterGteOperator="kendo.grid.filterGteOperator|The text of the greater than or equal filter operator"\n filterGteOperator="Is greater than or equal to"\n\n i18n-filterGtOperator="kendo.grid.filterGtOperator|The text of the greater than filter operator"\n filterGtOperator="Is greater than"\n\n i18n-filterLteOperator="kendo.grid.filterLteOperator|The text of the less than or equal filter operator"\n filterLteOperator="Is less than or equal to"\n\n i18n-filterLtOperator="kendo.grid.filterLtOperator|The text of the less than filter operator"\n filterLtOperator="Is less than"\n\n i18n-filterIsTrue="kendo.grid.filterIsTrue|The text of the IsTrue boolean filter option"\n filterIsTrue="Is True"\n\n i18n-filterIsFalse="kendo.grid.filterIsFalse|The text of the IsFalse boolean filter option"\n filterIsFalse="Is False"\n\n i18n-filterBooleanAll="kendo.grid.filterBooleanAll|The text of the (All) boolean filter option"\n filterBooleanAll="(All)"\n\n i18n-filterAfterOrEqualOperator="kendo.grid.filterAfterOrEqualOperator|The text of the after or equal date filter operator"\n filterAfterOrEqualOperator="Is after or equal to"\n\n i18n-filterAfterOperator="kendo.grid.filterAfterOperator|The text of the after date filter operator"\n filterAfterOperator="Is after"\n\n i18n-filterBeforeOperator="kendo.grid.filterBeforeOperator|The text of the before date filter operator"\n filterBeforeOperator="Is before"\n\n i18n-filterBeforeOrEqualOperator="kendo.grid.filterBeforeOrEqualOperator|The text of the before or equal date filter operator"\n filterBeforeOrEqualOperator="Is before or equal to"\n\n i18n-filterFilterButton="kendo.grid.filterFilterButton|The text of the filter button"\n filterFilterButton="Filter"\n\n i18n-filterClearButton="kendo.grid.filterClearButton|The text of the clear filter button"\n filterClearButton="Clear"\n\n i18n-filterAndLogic="kendo.grid.filterAndLogic|The text of the And filter logic"\n filterAndLogic="And"\n\n i18n-filterOrLogic="kendo.grid.filterOrLogic|The text of the Or filter logic"\n filterOrLogic="Or"\n\n i18n-loading="kendo.grid.loading|The loading text"\n loading="Loading"\n\n i18n-gridLabel="kendo.grid.gridLabel|The Grid aria-label"\n gridLabel="Data table"\n\n i18n-columnMenu="kendo.grid.columnMenu|The title of the column menu icon"\n columnMenu="{{ \'{columnName} Column Menu\' }}"\n\n i18n-columns="kendo.grid.columns|The text shown in the column menu for the columns item"\n columns="Columns"\n\n i18n-lock="kendo.grid.lock|The text shown in the column menu for the lock item"\n lock="Lock"\n\n i18n-unlock="kendo.grid.unlock|The text shown in the column menu for the unlock item"\n unlock="Unlock"\n\n i18n-setColumnPosition="kendo.grid.setColumnPosition|The text shown in the column menu for the set column position item"\n setColumnPosition="Set Column Position"\n\n i18n-stick="kendo.grid.stick|The text shown in the column menu for the stick item"\n stick="Stick"\n\n i18n-unstick="kendo.grid.unstick|The text shown in the column menu for the unstick item"\n unstick="Unstick"\n\n i18n-sortable="kendo.grid.sortable|The label of the sort icon"\n sortable="Sortable"\n\n i18n-sortAscending="kendo.grid.sortAscending|The text shown in the column menu for the sort ascending item"\n sortAscending="Sort Ascending"\n\n i18n-sortDescending="kendo.grid.sortDescending|The text shown in the column menu for the sort descending item"\n sortDescending="Sort Descending"\n\n i18n-sortedAscending="kendo.grid.sortedAscending|The status announcement when a column is sorted ascending"\n sortedAscending="Sorted Ascending"\n\n i18n-sortedDescending="kendo.grid.sortedDescending|The status announcement when a column is sorted descending"\n sortedDescending="Sorted Descending"\n\n i18n-sortedDefault="kendo.grid.sortedDefault|The status announcement when a column is no longer sorted"\n sortedDefault="Not Sorted"\n\n i18n-columnsApply="kendo.grid.columnsApply|The text shown in the column menu or column chooser for the columns apply button"\n columnsApply="Apply"\n\n i18n-columnsReset="kendo.grid.columnsReset|The text shown in the column menu or column chooser for the columns reset button"\n columnsReset="Reset"\n\n i18n-detailExpand="kendo.grid.detailExpand|The title of the expand icon of detail rows."\n detailExpand="Expand Details"\n\n i18n-detailCollapse="kendo.grid.detailCollapse|The title of the collapse icon of detail rows."\n detailCollapse="Collapse Details"\n\n i18n-filterDateToday="kendo.grid.filterDateToday|The text of the Today button of the Date filter."\n filterDateToday="TODAY"\n\n i18n-filterDateToggle="kendo.grid.filterDateToggle|The title of the Toggle button of the Date filter."\n filterDateToggle="Toggle Calendar"\n\n i18n-filterNumericDecrement="kendo.grid.filterNumericDecrement|The title of the Decrement button of the Numeric filter."\n filterNumericDecrement="Decrement"\n\n i18n-filterNumericIncrement="kendo.grid.filterNumericIncrement|The title of the Increment button of the Numeric filter."\n filterNumericIncrement="Increment"\n\n i18n-selectionCheckboxLabel="kendo.grid.selectionCheckboxLabel|The labels of the checkbox column checkboxes."\n selectionCheckboxLabel="Select Row"\n\n i18n-selectAllCheckboxLabel="kendo.grid.selectAllCheckboxLabel|The label of the checkbox column select all checkbox."\n selectAllCheckboxLabel="Select All Rows"\n\n i18n-groupCollapse="kendo.grid.groupCollapse|The text of the title and aria-label attributes applied to the collapse icon of group rows."\n groupCollapse="Collapse Group"\n\n i18n-groupExpand="kendo.grid.groupExpand|The text of the title and aria-label attributes applied to the expand icon of group rows."\n groupExpand="Expand Group"\n >\n </ng-container>\n <kendo-grid-toolbar class="k-toolbar k-grid-toolbar" *ngIf="showTopToolbar" position="top"></kendo-grid-toolbar>\n <kendo-pager\n *ngIf="showTopPager"\n [tabindex]="navigable ? \'0\' : \'-1\'"\n [attr.role]="navigable ? \'navigation\' : undefined"\n class="k-grid-pager-top"\n [template]="pagerTemplate"\n [pageSize]="pageSize"\n [total]="view.total"\n [skip]="skip"\n [options]="pageable"\n (pageChange)="notifyPageChange(\'pager\', $event)">\n </kendo-pager>\n <kendo-grid-group-panel\n *ngIf="showGroupPanel"\n [text]="groupableEmptyText"\n [groups]="group"\n (change)="groupChange.emit($event)">\n </kendo-grid-group-panel>\n <div #ariaRoot\n class="k-grid-aria-root"\n role="grid"\n [attr.aria-label]="ariaLabel"\n [attr.aria-rowcount]="ariaRowCount"\n [attr.aria-colcount]="ariaColCount">\n <ng-container *ngIf="isScrollable">\n <div *ngIf="!hideHeader"\n class="k-grid-header"\n role="presentation"\n [style.padding]="headerPadding">\n <div *ngIf="isLocked"\n #lockedHeader\n role="presentation"\n class="k-grid-header-locked"\n [style.width.px]="lockedWidth">\n <table [locked]="true" role="presentation" [style.width.px]="lockedWidth">\n <colgroup kendoGridColGroup\n role="presentation"\n [columns]="$any(lockedLeafColumns)"\n [groups]="group"\n [detailTemplate]="detailTemplate">\n </colgroup>\n <thead kendoGridHeader\n [resizable]="resizable"\n [scrollable]="true"\n [columns]="$any(lockedColumns)"\n [totalColumnLevels]="totalColumnLevels"\n [sort]="sort"\n [groups]="group"\n [filter]="filter"\n [filterable]="filterable"\n [groupable]="showGroupPanel"\n [reorderable]="reorderable"\n [sortable]="sortable"\n [columnMenu]="columnMenuOptions"\n [columnMenuTemplate]="columnMenuTemplate"\n [totalColumnsCount]="leafColumns.length"\n [detailTemplate]="detailTemplate"\n [tabIndex]="navigable ? \'-1\' : \'0\'">\n </thead>\n </table>\n </div><div #header class="k-grid-header-wrap" role="presentation" data-scrollable\n [kendoGridResizableContainer]="lockedLeafColumns.length > 0"\n [lockedWidth]="lockedWidth + scrollbarWidth + 2">\n <table role="presentation" [style.width.px]="nonLockedWidth" [virtualColumns]="virtualColumns">\n <colgroup kendoGridColGroup\n role="presentation"\n [columns]="headerLeafColumns"\n [groups]="isLocked ? [] : group"\n [detailTemplate]="detailTemplate">\n </colgroup>\n <thead kendoGridHeader\n [resizable]="resizable"\n role="presentation"\n [scrollable]="true"\n [columns]="headerColumns"\n [totalColumnLevels]="totalColumnLevels"\n [sort]="sort"\n [filter]="filter"\n [filterable]="filterable"\n [groupable]="showGroupPanel"\n [reorderable]="reorderable"\n [groups]="isLocked ? [] : group"\n [sortable]="sortable"\n [columnMenu]="columnMenuOptions"\n [columnMenuTemplate]="columnMenuTemplate"\n [lockedColumnsCount]="lockedLeafColumns.length"\n [totalColumnsCount]="leafColumns.length"\n [detailTemplate]="detailTemplate"\n [tabIndex]="navigable ? \'-1\' : \'0\'">\n </thead>\n </table>\n <div *ngIf="virtualColumns" class="k-width-container" role="presentation">\n <div [style.width.px]="columnsContainer.unlockedWidth"></div>\n </div>\n </div>\n </div>\n <kendo-grid-list\n [data]="$any(view)"\n [rowHeight]="rowHeight"\n [detailRowHeight]="detailRowHeight"\n [total]="totalCount"\n [take]="pageSize"\n [groups]="group"\n [groupable]="groupable"\n [skip]="skip"\n [trackBy]="trackBy"\n [columns]="columnsContainer"\n [selectable]="selectable"\n [filterable]="filterable"\n [detailTemplate]="detailTemplate"\n [noRecordsTemplate]="noRecordsTemplate"\n (pageChange)="notifyPageChange(\'list\', $event)"\n [rowClass]="rowClass"\n [rowSticky]="rowSticky"\n [loading]="loading"\n [isVirtual]="isVirtual"\n [cellLoadingTemplate]="cellLoadingTemplate?.templateRef"\n [loadingTemplate]="loadingTemplate?.templateRef"\n [virtualColumns]="virtualColumns"\n (scrollBottom)="notifyScrollBottom()"\n (contentScroll)="contentScroll.emit($event)"\n kendoDraggable\n kendoGridSelectionMarquee\n [enableDrag]="marqueeSelection"\n >\n </kendo-grid-list>\n <div\n *ngIf="showFooter"\n class="k-grid-footer"\n [style.padding]="headerPadding">\n <div\n *ngIf="lockedLeafColumns.length"\n class="k-grid-footer-locked"\n [style.width.px]="lockedWidth">\n <table role="presentation" [locked]="true" [style.width.px]="lockedWidth">\n <colgroup kendoGridColGroup\n [columns]="$any(lockedLeafColumns)"\n [groups]="group"\n [detailTemplate]="detailTemplate">\n </colgroup>\n <tfoot kendoGridFooter\n [scrollable]="true"\n [groups]="group"\n [columns]="$any(lockedLeafColumns)"\n [detailTemplate]="detailTemplate"\n [logicalRowIndex]="ariaRowCount">\n </tfoot>\n </table>\n </div><div #footer\n class="k-grid-footer-wrap" data-scrollable\n [kendoGridResizableContainer]="lockedLeafColumns.length > 0"\n [lockedWidth]="lockedWidth + scrollbarWidth + 3">\n <table role="presentation" [style.width.px]="nonLockedWidth">\n <colgroup kendoGridColGroup\n [columns]="$any(nonLockedLeafColumns)"\n [groups]="isLocked ? [] : group"\n [detailTemplate]="detailTemplate">\n </colgroup>\n <tfoot kendoGridFooter\n [logicalRowIndex]="ariaRowCount"\n [scrollable]="true"\n [groups]="isLocked ? [] : group"\n [columns]="$any(nonLockedLeafColumns)"\n [lockedColumnsCount]="lockedLeafColumns.length"\n [detailTemplate]="detailTemplate">\n </tfoot>\n </table>\n </div>\n </div>\n </ng-container>\n <ng-container *ngIf="!isScrollable">\n <table [style.table-layout]="resizable ? \'fixed\' : null">\n <colgroup kendoGridColGroup\n [columns]="$any(leafColumns)"\n [groups]="group"\n [detailTemplate]="detailTemplate">\n </colgroup>\n <thead kendoGridHeader\n *ngIf="!hideHeader"\n [resizable]="resizable"\n [scrollable]="false"\n [columns]="$any(visibleColumns)"\n [totalColumnLevels]="totalColumnLevels"\n [groups]="group"\n [groupable]="showGroupPanel"\n [reorderable]="reorderable"\n [sort]="sort"\n [sortable]="sortable"\n [filter]="filter"\n [filterable]="filterable"\n [columnMenu]="columnMenuOptions"\n [columnMenuTemplate]="columnMenuTemplate"\n [detailTemplate]="detailTemplate"\n [tabIndex]="navigable ? \'-1\' : \'0\'">\n </thead>\n <tbody kendoGridTableBody\n [isLoading]="loading"\n [groups]="group"\n [data]="$any(view)"\n [skip]="skip"\n [columns]="$any(leafColumns)"\n [selectable]="selectable"\n [filterable]="filterable"\n [noRecordsTemplate]="noRecordsTemplate"\n [detailTemplate]="detailTemplate"\n [showGroupFooters]="showGroupFooters"\n [trackBy]="trackBy"\n [rowClass]="rowClass"\n kendoDraggable\n kendoGridSelectionMarquee\n [enableDrag]="marqueeSelection">\n </tbody>\n <tfoot kendoGridFooter\n *ngIf="showFooter"\n [scrollable]="false"\n [logicalRowIndex]="ariaRowCount"\n [groups]="group"\n [columns]="$any(leafColumns)"\n [detailTemplate]="detailTemplate">\n </tfoot>\n </table>\n </ng-container>\n <div [loadingTemplate]="loadingTemplate" *ngIf="loading" kendoGridLoading>\n </div>\n </div>\n <kendo-pager\n *ngIf="showBottomPager"\n [tabindex]="navigable ? \'0\' : \'-1\'"\n [attr.role]="navigable ? \'navigation\' : undefined"\n [template]="pagerTemplate"\n [pageSize]="pageSize"\n [total]="view.total"\n [skip]="skip"\n [options]="pageable"\n (pageChange)="notifyPageChange(\'pager\', $event)">\n </kendo-pager>\n <kendo-grid-toolbar class="k-toolbar k-grid-toolbar k-grid-toolbar-bottom" *ngIf="showBottomToolbar" position="bottom"></kendo-grid-toolbar>\n ',isInline:!0,styles:[" .k-grid .k-grid-aria-root {\n display: flex;\n flex-direction: column;\n flex: 1 1 auto;\n overflow: hidden;\n }\n\n .k-grid .k-filter-row td {\n white-space: nowrap;\n }"],components:[{type:Pr,selector:"kendo-grid-toolbar",inputs:["position"]},{type:li,selector:"kendo-pager",inputs:["total","skip","pageSize","options","template"],outputs:["pageChange"]},{type:vi,selector:"kendo-grid-group-panel",inputs:["text","groups"],outputs:["change"]},{type:ki,selector:"[kendoGridColGroup]",inputs:["columns","groups","detailTemplate"]},{type:gl,selector:"[kendoGridHeader]",inputs:["totalColumnLevels","columns","groups","detailTemplate","scrollable","filterable","sort","filter","sortable","groupable","lockedColumnsCount","resizable","reorderable","columnMenu","columnMenuTemplate","totalColumnsCount","tabIndex"]},{type:Ul,selector:"kendo-grid-list",inputs:["data","groups","total","rowHeight","stickyRowHeight","detailRowHeight","take","skip","columns","detailTemplate","noRecordsTemplate","selectable","groupable","filterable","rowClass","rowSticky","loading","trackBy","virtualColumns","isVirtual","cellLoadingTemplate","loadingTemplate"],outputs:["contentScroll","pageChange","scrollBottom"]},{type:Ql,selector:"[kendoGridFooter]",inputs:["columns","groups","detailTemplate","scrollable","lockedColumnsCount","logicalRowIndex"]},{type:l,selector:"[kendoGridTableBody]",inputs:["columns","allColumns","groups","detailTemplate","noRecordsTemplate","data","skip","selectable","filterable","noRecordsText","isLocked","isLoading","isVirtual","cellLoadingTemplate","skipGroupDecoration","showGroupFooters","lockedColumnsCount","totalColumnsCount","virtualColumns","trackBy","rowSticky","rowClass"]},{type:Yl,selector:"[kendoGridLoading]",inputs:["loadingTemplate"]}],directives:[{type:oc,selector:"[kendoGridLocalizedMessages]"},{type:s.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{type:Nl,selector:"table",inputs:["locked","virtualColumns"]},{type:Al,selector:"[kendoGridResizableContainer]",inputs:["lockedWidth","kendoGridResizableContainer"]},{type:X.DraggableDirective,selector:"[kendoDraggable]",inputs:["enableDrag"],outputs:["kendoPress","kendoDrag","kendoRelease"]},{type:$t,selector:"[kendoGridSelectionMarquee]"}],encapsulation:i.ViewEncapsulation.None}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:E,decorators:[{type:P.Component,args:[{encapsulation:P.ViewEncapsulation.None,exportAs:"kendoGrid",providers:[Bn,M.LocalizationService,C,Nt,At,ct,Je,vo,ko,u,Fo,Go,{provide:wt,useValue:St},{provide:M.L10N_PREFIX,useValue:"kendo.grid"},v,Vo,Ze,zo,Bo,$o,Se,we,Wo,er,lr,dr,mr,fr,m,dt,f,Qe,Sr,so],selector:"kendo-grid",styles:[" .k-grid .k-grid-aria-root {\n display: flex;\n flex-direction: column;\n flex: 1 1 auto;\n overflow: hidden;\n }\n\n .k-grid .k-filter-row td {\n white-space: nowrap;\n }"],template:'\n <ng-container kendoGridLocalizedMessages\n i18n-groupPanelEmpty="kendo.grid.groupPanelEmpty|The label visible in the Grid group panel when it is empty"\n groupPanelEmpty="Drag a column header and drop it here to group by that column"\n\n i18n-noRecords="kendo.grid.noRecords|The label visible in the Grid when there are no records"\n noRecords="No records available."\n\n i18n-pagerLabel="kendo.grid.pagerLabel|The label for the Grid pager"\n pagerLabel="{{ \'Page navigation, page {currentPage} of {totalPages}\' }}"\n\n i18n-pagerFirstPage="kendo.grid.pagerFirstPage|The label for the first page button in Grid pager"\n pagerFirstPage="Go to the first page"\n\n i18n-pagerPreviousPage="kendo.grid.pagerPreviousPage|The label for the previous page button in Grid pager"\n pagerPreviousPage="Go to the previous page"\n\n i18n-pagerNextPage="kendo.grid.pagerNextPage|The label for the next page button in Grid pager"\n pagerNextPage="Go to the next page"\n\n i18n-pagerLastPage="kendo.grid.pagerLastPage|The label for the last page button in Grid pager"\n pagerLastPage="Go to the last page"\n\n i18n-pagerPage="kendo.grid.pagerPage|The label before the current page number in the Grid pager"\n pagerPage="Page"\n\n i18n-pagerOf="kendo.grid.pagerOf|The label before the total pages number in the Grid pager"\n pagerOf="of"\n\n i18n-pagerItems="kendo.grid.pagerItems|The label after the total pages number in the Grid pager"\n pagerItems="items"\n\n i18n-pagerPageNumberInputTitle="kendo.grid.pagerPageNumberInputTitle|The label for the pager input in the Grid pager"\n pagerPageNumberInputTitle="Page Number"\n\n i18n-pagerItemsPerPage="kendo.grid.pagerItemsPerPage|The label for the page size chooser in the Grid pager"\n pagerItemsPerPage="items per page"\n\n i18n-filter="kendo.grid.filter|The label of the filter cell or icon"\n filter="Filter"\n\n i18n-filterInputLabel="kendo.grid.filterInputLabel|The label of the filter row and menu inputs"\n filterInputLabel="{{ \'{columnName} Filter\' }}"\n\n i18n-filterMenuTitle="kendo.grid.filterMenuTitle|The title of the filter menu icon"\n filterMenuTitle="{{ \'{columnName} Filter Menu\' }}"\n\n i18n-filterMenuOperatorsDropDownLabel="kendo.grid.filterMenuOperatorsDropDownLabel|The label of the filter menu operators dropdown"\n filterMenuOperatorsDropDownLabel="{{ \'{columnName} Filter Operators\' }}"\n\n i18n-filterMenuLogicDropDownLabel="kendo.grid.filterMenuLogicDropDownLabel|The label of the filter menu logic dropdown"\n filterMenuLogicDropDownLabel="{{ \'{columnName} Filter Logic\' }}"\n\n i18n-filterEqOperator="kendo.grid.filterEqOperator|The text of the equal filter operator"\n filterEqOperator="Is equal to"\n\n i18n-filterNotEqOperator="kendo.grid.filterNotEqOperator|The text of the not equal filter operator"\n filterNotEqOperator="Is not equal to"\n\n i18n-filterIsNullOperator="kendo.grid.filterIsNullOperator|The text of the is null filter operator"\n filterIsNullOperator="Is null"\n\n i18n-filterIsNotNullOperator="kendo.grid.filterIsNotNullOperator|The text of the is not null filter operator"\n filterIsNotNullOperator="Is not null"\n\n i18n-filterIsEmptyOperator="kendo.grid.filterIsEmptyOperator|The text of the is empty filter operator"\n filterIsEmptyOperator="Is empty"\n\n i18n-filterIsNotEmptyOperator="kendo.grid.filterIsNotEmptyOperator|The text of the is not empty filter operator"\n filterIsNotEmptyOperator="Is not empty"\n\n i18n-filterStartsWithOperator="kendo.grid.filterStartsWithOperator|The text of the starts with filter operator"\n filterStartsWithOperator="Starts with"\n\n i18n-filterContainsOperator="kendo.grid.filterContainsOperator|The text of the contains filter operator"\n filterContainsOperator="Contains"\n\n i18n-filterNotContainsOperator="kendo.grid.filterNotContainsOperator|The text of the does not contain filter operator"\n filterNotContainsOperator="Does not contain"\n\n i18n-filterEndsWithOperator="kendo.grid.filterEndsWithOperator|The text of the ends with filter operator"\n filterEndsWithOperator="Ends with"\n\n i18n-filterGteOperator="kendo.grid.filterGteOperator|The text of the greater than or equal filter operator"\n filterGteOperator="Is greater than or equal to"\n\n i18n-filterGtOperator="kendo.grid.filterGtOperator|The text of the greater than filter operator"\n filterGtOperator="Is greater than"\n\n i18n-filterLteOperator="kendo.grid.filterLteOperator|The text of the less than or equal filter operator"\n filterLteOperator="Is less than or equal to"\n\n i18n-filterLtOperator="kendo.grid.filterLtOperator|The text of the less than filter operator"\n filterLtOperator="Is less than"\n\n i18n-filterIsTrue="kendo.grid.filterIsTrue|The text of the IsTrue boolean filter option"\n filterIsTrue="Is True"\n\n i18n-filterIsFalse="kendo.grid.filterIsFalse|The text of the IsFalse boolean filter option"\n filterIsFalse="Is False"\n\n i18n-filterBooleanAll="kendo.grid.filterBooleanAll|The text of the (All) boolean filter option"\n filterBooleanAll="(All)"\n\n i18n-filterAfterOrEqualOperator="kendo.grid.filterAfterOrEqualOperator|The text of the after or equal date filter operator"\n filterAfterOrEqualOperator="Is after or equal to"\n\n i18n-filterAfterOperator="kendo.grid.filterAfterOperator|The text of the after date filter operator"\n filterAfterOperator="Is after"\n\n i18n-filterBeforeOperator="kendo.grid.filterBeforeOperator|The text of the before date filter operator"\n filterBeforeOperator="Is before"\n\n i18n-filterBeforeOrEqualOperator="kendo.grid.filterBeforeOrEqualOperator|The text of the before or equal date filter operator"\n filterBeforeOrEqualOperator="Is before or equal to"\n\n i18n-filterFilterButton="kendo.grid.filterFilterButton|The text of the filter button"\n filterFilterButton="Filter"\n\n i18n-filterClearButton="kendo.grid.filterClearButton|The text of the clear filter button"\n filterClearButton="Clear"\n\n i18n-filterAndLogic="kendo.grid.filterAndLogic|The text of the And filter logic"\n filterAndLogic="And"\n\n i18n-filterOrLogic="kendo.grid.filterOrLogic|The text of the Or filter logic"\n filterOrLogic="Or"\n\n i18n-loading="kendo.grid.loading|The loading text"\n loading="Loading"\n\n i18n-gridLabel="kendo.grid.gridLabel|The Grid aria-label"\n gridLabel="Data table"\n\n i18n-columnMenu="kendo.grid.columnMenu|The title of the column menu icon"\n columnMenu="{{ \'{columnName} Column Menu\' }}"\n\n i18n-columns="kendo.grid.columns|The text shown in the column menu for the columns item"\n columns="Columns"\n\n i18n-lock="kendo.grid.lock|The text shown in the column menu for the lock item"\n lock="Lock"\n\n i18n-unlock="kendo.grid.unlock|The text shown in the column menu for the unlock item"\n unlock="Unlock"\n\n i18n-setColumnPosition="kendo.grid.setColumnPosition|The text shown in the column menu for the set column position item"\n setColumnPosition="Set Column Position"\n\n i18n-stick="kendo.grid.stick|The text shown in the column menu for the stick item"\n stick="Stick"\n\n i18n-unstick="kendo.grid.unstick|The text shown in the column menu for the unstick item"\n unstick="Unstick"\n\n i18n-sortable="kendo.grid.sortable|The label of the sort icon"\n sortable="Sortable"\n\n i18n-sortAscending="kendo.grid.sortAscending|The text shown in the column menu for the sort ascending item"\n sortAscending="Sort Ascending"\n\n i18n-sortDescending="kendo.grid.sortDescending|The text shown in the column menu for the sort descending item"\n sortDescending="Sort Descending"\n\n i18n-sortedAscending="kendo.grid.sortedAscending|The status announcement when a column is sorted ascending"\n sortedAscending="Sorted Ascending"\n\n i18n-sortedDescending="kendo.grid.sortedDescending|The status announcement when a column is sorted descending"\n sortedDescending="Sorted Descending"\n\n i18n-sortedDefault="kendo.grid.sortedDefault|The status announcement when a column is no longer sorted"\n sortedDefault="Not Sorted"\n\n i18n-columnsApply="kendo.grid.columnsApply|The text shown in the column menu or column chooser for the columns apply button"\n columnsApply="Apply"\n\n i18n-columnsReset="kendo.grid.columnsReset|The text shown in the column menu or column chooser for the columns reset button"\n columnsReset="Reset"\n\n i18n-detailExpand="kendo.grid.detailExpand|The title of the expand icon of detail rows."\n detailExpand="Expand Details"\n\n i18n-detailCollapse="kendo.grid.detailCollapse|The title of the collapse icon of detail rows."\n detailCollapse="Collapse Details"\n\n i18n-filterDateToday="kendo.grid.filterDateToday|The text of the Today button of the Date filter."\n filterDateToday="TODAY"\n\n i18n-filterDateToggle="kendo.grid.filterDateToggle|The title of the Toggle button of the Date filter."\n filterDateToggle="Toggle Calendar"\n\n i18n-filterNumericDecrement="kendo.grid.filterNumericDecrement|The title of the Decrement button of the Numeric filter."\n filterNumericDecrement="Decrement"\n\n i18n-filterNumericIncrement="kendo.grid.filterNumericIncrement|The title of the Increment button of the Numeric filter."\n filterNumericIncrement="Increment"\n\n i18n-selectionCheckboxLabel="kendo.grid.selectionCheckboxLabel|The labels of the checkbox column checkboxes."\n selectionCheckboxLabel="Select Row"\n\n i18n-selectAllCheckboxLabel="kendo.grid.selectAllCheckboxLabel|The label of the checkbox column select all checkbox."\n selectAllCheckboxLabel="Select All Rows"\n\n i18n-groupCollapse="kendo.grid.groupCollapse|The text of the title and aria-label attributes applied to the collapse icon of group rows."\n groupCollapse="Collapse Group"\n\n i18n-groupExpand="kendo.grid.groupExpand|The text of the title and aria-label attributes applied to the expand icon of group rows."\n groupExpand="Expand Group"\n >\n </ng-container>\n <kendo-grid-toolbar class="k-toolbar k-grid-toolbar" *ngIf="showTopToolbar" position="top"></kendo-grid-toolbar>\n <kendo-pager\n *ngIf="showTopPager"\n [tabindex]="navigable ? \'0\' : \'-1\'"\n [attr.role]="navigable ? \'navigation\' : undefined"\n class="k-grid-pager-top"\n [template]="pagerTemplate"\n [pageSize]="pageSize"\n [total]="view.total"\n [skip]="skip"\n [options]="pageable"\n (pageChange)="notifyPageChange(\'pager\', $event)">\n </kendo-pager>\n <kendo-grid-group-panel\n *ngIf="showGroupPanel"\n [text]="groupableEmptyText"\n [groups]="group"\n (change)="groupChange.emit($event)">\n </kendo-grid-group-panel>\n <div #ariaRoot\n class="k-grid-aria-root"\n role="grid"\n [attr.aria-label]="ariaLabel"\n [attr.aria-rowcount]="ariaRowCount"\n [attr.aria-colcount]="ariaColCount">\n <ng-container *ngIf="isScrollable">\n <div *ngIf="!hideHeader"\n class="k-grid-header"\n role="presentation"\n [style.padding]="headerPadding">\n <div *ngIf="isLocked"\n #lockedHeader\n role="presentation"\n class="k-grid-header-locked"\n [style.width.px]="lockedWidth">\n <table [locked]="true" role="presentation" [style.width.px]="lockedWidth">\n <colgroup kendoGridColGroup\n role="presentation"\n [columns]="$any(lockedLeafColumns)"\n [groups]="group"\n [detailTemplate]="detailTemplate">\n </colgroup>\n <thead kendoGridHeader\n [resizable]="resizable"\n [scrollable]="true"\n [columns]="$any(lockedColumns)"\n [totalColumnLevels]="totalColumnLevels"\n [sort]="sort"\n [groups]="group"\n [filter]="filter"\n [filterable]="filterable"\n [groupable]="showGroupPanel"\n [reorderable]="reorderable"\n [sortable]="sortable"\n [columnMenu]="columnMenuOptions"\n [columnMenuTemplate]="columnMenuTemplate"\n [totalColumnsCount]="leafColumns.length"\n [detailTemplate]="detailTemplate"\n [tabIndex]="navigable ? \'-1\' : \'0\'">\n </thead>\n </table>\n </div><div #header class="k-grid-header-wrap" role="presentation" data-scrollable\n [kendoGridResizableContainer]="lockedLeafColumns.length > 0"\n [lockedWidth]="lockedWidth + scrollbarWidth + 2">\n <table role="presentation" [style.width.px]="nonLockedWidth" [virtualColumns]="virtualColumns">\n <colgroup kendoGridColGroup\n role="presentation"\n [columns]="headerLeafColumns"\n [groups]="isLocked ? [] : group"\n [detailTemplate]="detailTemplate">\n </colgroup>\n <thead kendoGridHeader\n [resizable]="resizable"\n role="presentation"\n [scrollable]="true"\n [columns]="headerColumns"\n [totalColumnLevels]="totalColumnLevels"\n [sort]="sort"\n [filter]="filter"\n [filterable]="filterable"\n [groupable]="showGroupPanel"\n [reorderable]="reorderable"\n [groups]="isLocked ? [] : group"\n [sortable]="sortable"\n [columnMenu]="columnMenuOptions"\n [columnMenuTemplate]="columnMenuTemplate"\n [lockedColumnsCount]="lockedLeafColumns.length"\n [totalColumnsCount]="leafColumns.length"\n [detailTemplate]="detailTemplate"\n [tabIndex]="navigable ? \'-1\' : \'0\'">\n </thead>\n </table>\n <div *ngIf="virtualColumns" class="k-width-container" role="presentation">\n <div [style.width.px]="columnsContainer.unlockedWidth"></div>\n </div>\n </div>\n </div>\n <kendo-grid-list\n [data]="$any(view)"\n [rowHeight]="rowHeight"\n [detailRowHeight]="detailRowHeight"\n [total]="totalCount"\n [take]="pageSize"\n [groups]="group"\n [groupable]="groupable"\n [skip]="skip"\n [trackBy]="trackBy"\n [columns]="columnsContainer"\n [selectable]="selectable"\n [filterable]="filterable"\n [detailTemplate]="detailTemplate"\n [noRecordsTemplate]="noRecordsTemplate"\n (pageChange)="notifyPageChange(\'list\', $event)"\n [rowClass]="rowClass"\n [rowSticky]="rowSticky"\n [loading]="loading"\n [isVirtual]="isVirtual"\n [cellLoadingTemplate]="cellLoadingTemplate?.templateRef"\n [loadingTemplate]="loadingTemplate?.templateRef"\n [virtualColumns]="virtualColumns"\n (scrollBottom)="notifyScrollBottom()"\n (contentScroll)="contentScroll.emit($event)"\n kendoDraggable\n kendoGridSelectionMarquee\n [enableDrag]="marqueeSelection"\n >\n </kendo-grid-list>\n <div\n *ngIf="showFooter"\n class="k-grid-footer"\n [style.padding]="headerPadding">\n <div\n *ngIf="lockedLeafColumns.length"\n class="k-grid-footer-locked"\n [style.width.px]="lockedWidth">\n <table role="presentation" [locked]="true" [style.width.px]="lockedWidth">\n <colgroup kendoGridColGroup\n [columns]="$any(lockedLeafColumns)"\n [groups]="group"\n [detailTemplate]="detailTemplate">\n </colgroup>\n <tfoot kendoGridFooter\n [scrollable]="true"\n [groups]="group"\n [columns]="$any(lockedLeafColumns)"\n [detailTemplate]="detailTemplate"\n [logicalRowIndex]="ariaRowCount">\n </tfoot>\n </table>\n </div><div #footer\n class="k-grid-footer-wrap" data-scrollable\n [kendoGridResizableContainer]="lockedLeafColumns.length > 0"\n [lockedWidth]="lockedWidth + scrollbarWidth + 3">\n <table role="presentation" [style.width.px]="nonLockedWidth">\n <colgroup kendoGridColGroup\n [columns]="$any(nonLockedLeafColumns)"\n [groups]="isLocked ? [] : group"\n [detailTemplate]="detailTemplate">\n </colgroup>\n <tfoot kendoGridFooter\n [logicalRowIndex]="ariaRowCount"\n [scrollable]="true"\n [groups]="isLocked ? [] : group"\n [columns]="$any(nonLockedLeafColumns)"\n [lockedColumnsCount]="lockedLeafColumns.length"\n [detailTemplate]="detailTemplate">\n </tfoot>\n </table>\n </div>\n </div>\n </ng-container>\n <ng-container *ngIf="!isScrollable">\n <table [style.table-layout]="resizable ? \'fixed\' : null">\n <colgroup kendoGridColGroup\n [columns]="$any(leafColumns)"\n [groups]="group"\n [detailTemplate]="detailTemplate">\n </colgroup>\n <thead kendoGridHeader\n *ngIf="!hideHeader"\n [resizable]="resizable"\n [scrollable]="false"\n [columns]="$any(visibleColumns)"\n [totalColumnLevels]="totalColumnLevels"\n [groups]="group"\n [groupable]="showGroupPanel"\n [reorderable]="reorderable"\n [sort]="sort"\n [sortable]="sortable"\n [filter]="filter"\n [filterable]="filterable"\n [columnMenu]="columnMenuOptions"\n [columnMenuTemplate]="columnMenuTemplate"\n [detailTemplate]="detailTemplate"\n [tabIndex]="navigable ? \'-1\' : \'0\'">\n </thead>\n <tbody kendoGridTableBody\n [isLoading]="loading"\n [groups]="group"\n [data]="$any(view)"\n [skip]="skip"\n [columns]="$any(leafColumns)"\n [selectable]="selectable"\n [filterable]="filterable"\n [noRecordsTemplate]="noRecordsTemplate"\n [detailTemplate]="detailTemplate"\n [showGroupFooters]="showGroupFooters"\n [trackBy]="trackBy"\n [rowClass]="rowClass"\n kendoDraggable\n kendoGridSelectionMarquee\n [enableDrag]="marqueeSelection">\n </tbody>\n <tfoot kendoGridFooter\n *ngIf="showFooter"\n [scrollable]="false"\n [logicalRowIndex]="ariaRowCount"\n [groups]="group"\n [columns]="$any(leafColumns)"\n [detailTemplate]="detailTemplate">\n </tfoot>\n </table>\n </ng-container>\n <div [loadingTemplate]="loadingTemplate" *ngIf="loading" kendoGridLoading>\n </div>\n </div>\n <kendo-pager\n *ngIf="showBottomPager"\n [tabindex]="navigable ? \'0\' : \'-1\'"\n [attr.role]="navigable ? \'navigation\' : undefined"\n [template]="pagerTemplate"\n [pageSize]="pageSize"\n [total]="view.total"\n [skip]="skip"\n [options]="pageable"\n (pageChange)="notifyPageChange(\'pager\', $event)">\n </kendo-pager>\n <kendo-grid-toolbar class="k-toolbar k-grid-toolbar k-grid-toolbar-bottom" *ngIf="showBottomToolbar" position="bottom"></kendo-grid-toolbar>\n '}]}],ctorParameters:function(){return[{type:Bn},{type:Nt},{type:At},{type:i.ElementRef},{type:vo},{type:Je},{type:ko},{type:ct},{type:u},{type:v},{type:Fo},{type:Vo},{type:i.Renderer2},{type:zo},{type:i.NgZone},{type:Bo},{type:we},{type:Wo},{type:i.ChangeDetectorRef},{type:fr},{type:C},{type:m},{type:Sr},{type:Qe},{type:a.LocalizationService},{type:so}]},propDecorators:{data:[{type:P.Input}],pageSize:[{type:P.Input}],height:[{type:P.Input}],rowHeight:[{type:P.Input}],detailRowHeight:[{type:P.Input}],skip:[{type:P.Input}],scrollable:[{type:P.Input}],selectable:[{type:P.Input}],sort:[{type:P.Input}],trackBy:[{type:P.Input}],filter:[{type:P.Input}],group:[{type:P.Input}],virtualColumns:[{type:P.Input}],filterable:[{type:P.Input}],sortable:[{type:P.Input}],pageable:[{type:P.Input}],groupable:[{type:P.Input}],navigable:[{type:P.Input}],navigatable:[{type:P.Input}],autoSize:[{type:P.Input}],rowClass:[{type:P.Input}],rowSticky:[{type:P.Input}],rowSelected:[{type:P.Input}],cellSelected:[{type:P.Input}],resizable:[{type:P.Input}],reorderable:[{type:P.Input}],loading:[{type:P.Input}],columnMenu:[{type:P.Input}],hideHeader:[{type:P.Input}],filterChange:[{type:P.Output}],pageChange:[{type:P.Output}],groupChange:[{type:P.Output}],sortChange:[{type:P.Output}],selectionChange:[{type:P.Output}],dataStateChange:[{type:P.Output}],groupExpand:[{type:P.Output}],groupCollapse:[{type:P.Output}],detailExpand:[{type:P.Output}],detailCollapse:[{type:P.Output}],edit:[{type:P.Output}],cancel:[{type:P.Output}],save:[{type:P.Output}],remove:[{type:P.Output}],add:[{type:P.Output}],cellClose:[{type:P.Output}],cellClick:[{type:P.Output}],pdfExport:[{type:P.Output}],excelExport:[{type:P.Output}],columnResize:[{type:P.Output}],columnReorder:[{type:P.Output}],columnVisibilityChange:[{type:P.Output}],columnLockedChange:[{type:P.Output}],columnStickyChange:[{type:P.Output}],scrollBottom:[{type:P.Output}],contentScroll:[{type:P.Output}],columns:[{type:P.ContentChildren,args:[y]}],dir:[{type:P.HostBinding,args:["attr.dir"]}],hostClasses:[{type:P.HostBinding,args:["class.k-grid"]}],lockedClasses:[{type:P.HostBinding,args:["class.k-grid-lockedcolumns"]}],virtualClasses:[{type:P.HostBinding,args:["class.k-grid-virtual"]}],noScrollbarClass:[{type:P.HostBinding,args:["class.k-grid-no-scrollbar"]}],detailTemplateChildren:[{type:P.ContentChildren,args:[Vn]}],cellLoadingTemplateChildren:[{type:P.ContentChildren,args:[Rr]}],loadingTemplateChildren:[{type:P.ContentChildren,args:[Lr]}],noRecordsTemplateChildren:[{type:P.ContentChildren,args:[xo]}],pagerTemplateChildren:[{type:P.ContentChildren,args:[To]}],toolbarTemplateChildren:[{type:P.ContentChildren,args:[jo]}],columnMenuTemplates:[{type:P.ContentChildren,args:[nn]}],lockedHeader:[{type:P.ViewChild,args:["lockedHeader",{static:!1}]}],header:[{type:P.ViewChild,args:["header",{static:!1}]}],footer:[{type:P.ViewChildren,args:["footer"]}],ariaRoot:[{type:P.ViewChild,args:["ariaRoot",{static:!0}]}],isDetailExpanded:[{type:P.Input}],isGroupExpanded:[{type:P.Input}]}});Object.defineProperty(sc.prototype,"skip",{set:function(e){V(e)||(e=0),this.grid.skip=this.state.skip=e},enumerable:!1,configurable:!0}),Object.defineProperty(sc.prototype,"sort",{set:function(e){this.grid.sort=this.state.sort=e},enumerable:!1,configurable:!0}),Object.defineProperty(sc.prototype,"filter",{set:function(e){this.grid.filter=this.state.filter=e},enumerable:!1,configurable:!0}),Object.defineProperty(sc.prototype,"pageSize",{set:function(e){this.grid.pageSize=this.state.take=e},enumerable:!1,configurable:!0}),Object.defineProperty(sc.prototype,"group",{set:function(e){this.grid.group=this.state.group=e},enumerable:!1,configurable:!0}),Object.defineProperty(sc.prototype,"data",{set:function(e){this.originalData=e||[],this.localDataChangesService&&(this.localDataChangesService.data=e),this.dataChanged=!0},enumerable:!1,configurable:!0}),sc.prototype.ngOnInit=function(){this.applyState(this.state),this.stateChangeSubscription=this.grid.dataStateChange.subscribe(this.onStateChange.bind(this))},sc.prototype.ngOnDestroy=function(){this.stateChangeSubscription&&this.stateChangeSubscription.unsubscribe(),this.dataChangedSubscription&&this.dataChangedSubscription.unsubscribe()},sc.prototype.ngOnChanges=function(e){p.anyChanged(["pageSize","skip","sort","group","filter"],e)&&this.rebind()},sc.prototype.ngDoCheck=function(){this.dataChanged&&this.updateGridData()},sc.prototype.onStateChange=function(e){this.applyState(e),this.rebind()},sc.prototype.rebind=function(){this.data=this.originalData,this.updateGridData(),this.notifyDataChange()},sc.prototype.notifyDataChange=function(){this.grid.onDataChange(),this.changeDetector&&this.changeDetector.markForCheck()},sc.prototype.process=function(e){return j.process(this.originalData,e)},sc.prototype.applyState=function(e){var t=e.skip,n=e.take,o=e.sort,r=e.group,e=e.filter;this.skip=t,this.pageSize=n,this.sort=o,this.group=r,this.filter=e},sc.prototype.updateGridData=function(){this.grid.data=this.process(this.state),this.dataChanged=!1};s=sc;function sc(e,t,n){this.grid=e,this.changeDetector=t,this.localDataChangesService=n,this.state={skip:0},this.originalData=[],n&&(this.dataChangedSubscription=this.localDataChangesService.changes.subscribe(this.rebind.bind(this)))}s.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:s,deps:[{token:E},{token:i.ChangeDetectorRef},{token:Se}],target:i.ɵɵFactoryTarget.Directive}),s.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:s,selector:"[kendoGridBinding]",inputs:{skip:"skip",sort:"sort",filter:"filter",pageSize:"pageSize",group:"group",data:["kendoGridBinding","data"]},usesOnChanges:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:s,decorators:[{type:P.Directive,args:[{selector:"[kendoGridBinding]"}]}],ctorParameters:function(){return[{type:E},{type:i.ChangeDetectorRef},{type:Se}]},propDecorators:{skip:[{type:P.Input}],sort:[{type:P.Input}],filter:[{type:P.Input}],pageSize:[{type:P.Input}],group:[{type:P.Input}],data:[{type:P.Input,args:["kendoGridBinding"]}]}});c(cc,lc=lo),cc.prototype.ngOnInit=function(){!1===this.ctx.grid.selectable&&(this.ctx.grid.selectable=!0),this.ctx.grid.selectionDirective=this},cc.prototype.ngOnDestroy=function(){lc.prototype.destroy.call(this)};var lc,St=cc;function cc(e,t){t=lc.call(this,e,t)||this;return t.ctx=e,t}St.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:St,deps:[{token:so},{token:i.ChangeDetectorRef}],target:i.ɵɵFactoryTarget.Directive}),St.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:St,selector:"[kendoGridSelectBy]",usesInheritance:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:St,decorators:[{type:P.Directive,args:[{selector:"[kendoGridSelectBy]"}]}],ctorParameters:function(){return[{type:so},{type:i.ChangeDetectorRef}]}});Object.defineProperty(pc.prototype,"expandDetailsKey",{get:function(){return this._expandBy},set:function(e){ce(e)?this._expandBy=K.getter(e):this._expandBy=e},enumerable:!1,configurable:!0}),Object.defineProperty(pc.prototype,"expandDetailBy",{get:function(){return this.expandDetailsKey},set:function(e){this.expandDetailsKey=e},enumerable:!1,configurable:!0}),pc.prototype.ngOnChanges=function(e){V(e.expandedDetailKeys)&&this.lastExpandedState!==this.expandedDetailKeys&&(this.expandedState=new Set(this.expandedDetailKeys))},pc.prototype.ngOnDestroy=function(){this.subscriptions.unsubscribe()},Object.defineProperty(pc.prototype,"keyGetter",{get:function(){return this._expandBy||K.getter(void 0)},enumerable:!1,configurable:!0}),pc.prototype.isExpanded=function(e){e=this.keyGetter(e.dataItem),e=this.expandedState.has(e);return this.initiallyExpanded?!e:e},pc.prototype.toggleState=function(e){var t=this.keyGetter(e.dataItem);Boolean(this.initiallyExpanded)!==e.expand?this.expandedState.add(t):this.expandedState.delete(t),this.notifyChange()},pc.prototype.notifyChange=function(){this.lastExpandedState=Array.from(this.expandedState),this.expandedDetailKeysChange.emit(this.lastExpandedState)};M=pc;function pc(e){this.grid=e,this.expandedDetailKeysChange=new P.EventEmitter,this.expandedDetailKeys=[],this.initiallyExpanded=!1,this.expandedState=new Set,this.subscriptions=new b.Subscription,this.grid.isDetailExpanded=this.isExpanded.bind(this),this.subscriptions.add(b.merge(this.grid.detailExpand.pipe(G.map(function(e){return Object.assign({expand:!0},e)})),this.grid.detailCollapse.pipe(G.map(function(e){return Object.assign({expand:!1},e)}))).subscribe(this.toggleState.bind(this)))}M.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:M,deps:[{token:E}],target:i.ɵɵFactoryTarget.Directive}),M.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:M,selector:"[kendoGridExpandDetailsBy]",inputs:{expandDetailsKey:["kendoGridExpandDetailsBy","expandDetailsKey"],expandDetailBy:"expandDetailBy",expandedDetailKeys:"expandedDetailKeys",initiallyExpanded:"initiallyExpanded"},outputs:{expandedDetailKeysChange:"expandedDetailKeysChange"},exportAs:["kendoGridExpandDetailsBy"],usesOnChanges:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:M,decorators:[{type:P.Directive,args:[{selector:"[kendoGridExpandDetailsBy]",exportAs:"kendoGridExpandDetailsBy"}]}],ctorParameters:function(){return[{type:E}]},propDecorators:{expandedDetailKeysChange:[{type:P.Output}],expandDetailsKey:[{type:P.Input,args:["kendoGridExpandDetailsBy"]}],expandDetailBy:[{type:P.Input}],expandedDetailKeys:[{type:P.Input}],initiallyExpanded:[{type:P.Input}]}});function uc(e){return{field:e.group.field,value:e.group.value,parentGroupKeys:function(e){for(var t=[];e;)t.push({field:e.group.field,value:e.group.value}),e=e.parentGroup;return t}(e.parentGroup)}}Object.defineProperty(gc.prototype,"expandGroupBy",{get:function(){return this._expandGroupBy},set:function(e){"function"==typeof e&&(this._expandGroupBy=e)},enumerable:!1,configurable:!0}),Object.defineProperty(gc.prototype,"expandedGroupKeys",{get:function(){return this._expandedGroupKeys},set:function(e){this._expandedGroupKeys=(e||[]).slice()},enumerable:!1,configurable:!0}),gc.prototype.ngOnDestroy=function(){this.subscriptions.unsubscribe()},Object.defineProperty(gc.prototype,"keyGetter",{get:function(){return this.expandGroupBy||uc},enumerable:!1,configurable:!0}),gc.prototype.isExpanded=function(e){return-1<this.getItemIndex(e)?!this.groupsInitiallyExpanded:this.groupsInitiallyExpanded},gc.prototype.getItemIndex=function(o){return this.expandGroupBy?this.expandedGroupKeys.indexOf(this.keyGetter(o)):this.expandedGroupKeys.findIndex(function(e){for(var t=0,n=o.parentGroup;V(n);){if(!V(e.parentGroupKeys)||!V(e.parentGroupKeys[t])||n.group.value!==e.parentGroupKeys[t].value||n.group.field!==e.parentGroupKeys[t].field)return!1;n=n.parentGroup,t++}return e.value===o.group.value&&e.field===o.group.field})},gc.prototype.toggleState=function(e){var t=this.keyGetter(e);Boolean(this.groupsInitiallyExpanded)!==e.expand?this.expandedGroupKeys.push(t):(e=this.expandedGroupKeys.indexOf(t),this.expandedGroupKeys.splice(e,1)),this.expandedGroupKeysChange.emit(this.expandedGroupKeys.slice())};var dc=gc;function gc(e){this.grid=e,this.expandedGroupKeysChange=new P.EventEmitter,this.groupsInitiallyExpanded=!1,this.subscriptions=new b.Subscription,this.grid.isGroupExpanded=this.isExpanded.bind(this),this.subscriptions.add(b.merge(this.grid.groupExpand.pipe(G.map(function(e){return Object.assign({expand:!0},e)})),this.grid.groupCollapse.pipe(G.map(function(e){return Object.assign({expand:!1},e)}))).subscribe(this.toggleState.bind(this)))}dc.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:dc,deps:[{token:E}],target:i.ɵɵFactoryTarget.Directive}),dc.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:dc,selector:"[kendoGridExpandGroupBy]",inputs:{expandGroupBy:["kendoGridExpandGroupBy","expandGroupBy"],expandedGroupKeys:"expandedGroupKeys",groupsInitiallyExpanded:"groupsInitiallyExpanded"},outputs:{expandedGroupKeysChange:"expandedGroupKeysChange"},exportAs:["kendoGridExpandGroupBy"],ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:dc,decorators:[{type:P.Directive,args:[{selector:"[kendoGridExpandGroupBy]",exportAs:"kendoGridExpandGroupBy"}]}],ctorParameters:function(){return[{type:E}]},propDecorators:{expandedGroupKeysChange:[{type:P.Output}],expandGroupBy:[{type:P.Input,args:["kendoGridExpandGroupBy"]}],expandedGroupKeys:[{type:P.Input}],groupsInitiallyExpanded:[{type:P.Input}]}});c(fc,mc=O),Object.defineProperty(fc.prototype,"override",{get:function(){return!0},enumerable:!1,configurable:!0});var mc,hc=fc;function fc(e){var t=mc.call(this)||this;return t.service=e,t}hc.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:hc,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),hc.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:hc,selector:"kendo-grid-messages",providers:[{provide:O,useExisting:P.forwardRef(function(){return hc})}],usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:hc,decorators:[{type:P.Component,args:[{providers:[{provide:O,useExisting:P.forwardRef(function(){return hc})}],selector:"kendo-grid-messages",template:""}]}],ctorParameters:function(){return[{type:a.LocalizationService}]}});var yc,vc=Mi({filterContainsOperator:"contains",filterNotContainsOperator:"doesnotcontain",filterEqOperator:"eq",filterNotEqOperator:"neq",filterStartsWithOperator:"startswith",filterEndsWithOperator:"endswith",filterIsNullOperator:"isnull",filterIsNotNullOperator:"isnotnull",filterIsEmptyOperator:"isempty",filterIsNotEmptyOperator:"isnotempty"}),bc=(c(kc,yc=ji),Object.defineProperty(kc.prototype,"valueField",{get:function(){return this._valueField||this.column.field},set:function(e){this._valueField=e},enumerable:!1,configurable:!0}),Object.defineProperty(kc.prototype,"currentFilter",{get:function(){return this.filterByField(this.column.field)},enumerable:!1,configurable:!0}),Object.defineProperty(kc.prototype,"currentOperator",{get:function(){return this.currentFilter?this.currentFilter.operator:"contains"},enumerable:!1,configurable:!0}),kc);function kc(e,t,n){e=yc.call(this,e)||this;return e.localization=n,e.showOperators=!0,e.defaultOperators=vc(e.localization),e.column=t,e}bc.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:bc,deps:[{token:v},{token:gn},{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),bc.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:bc,selector:"kendo-grid-autocomplete-filter-cell",inputs:{showOperators:"showOperators",column:"column",filter:"filter",data:"data",valueField:"valueField"},usesInheritance:!0,ngImport:i,template:'\n <kendo-grid-filter-wrapper-cell\n [column]="column"\n [filter]="filter"\n [operators]="operators"\n [showOperators]="showOperators">\n <kendo-autocomplete\n kendoFilterInput\n [data]="data"\n [valueField]="valueField"\n [value]="currentFilter?.value">\n </kendo-autocomplete>\n </kendo-grid-filter-wrapper-cell>\n ',isInline:!0,components:[{type:Xa,selector:"kendo-grid-filter-wrapper-cell",inputs:["showOperators"]},{type:te.AutoCompleteComponent,selector:"kendo-autocomplete",inputs:["highlightFirst","focusableId","data","value","valueField","placeholder","popupSettings","listHeight","loading","clearButton","suggest","disabled","itemDisabled","readonly","tabindex","tabIndex","filterable","virtual","size","rounded","fillMode"],outputs:["valueChange","filterChange","open","opened","close","closed","focus","blur"],exportAs:["kendoAutoComplete"]}],directives:[{type:Xi,selector:"[kendoFilterInput]",inputs:["filterDelay","columnLabel","value"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:bc,decorators:[{type:P.Component,args:[{selector:"kendo-grid-autocomplete-filter-cell",template:'\n <kendo-grid-filter-wrapper-cell\n [column]="column"\n [filter]="filter"\n [operators]="operators"\n [showOperators]="showOperators">\n <kendo-autocomplete\n kendoFilterInput\n [data]="data"\n [valueField]="valueField"\n [value]="currentFilter?.value">\n </kendo-autocomplete>\n </kendo-grid-filter-wrapper-cell>\n '}]}],ctorParameters:function(){return[{type:v},{type:gn},{type:a.LocalizationService}]},propDecorators:{showOperators:[{type:P.Input}],column:[{type:P.Input}],filter:[{type:P.Input}],data:[{type:P.Input}],valueField:[{type:P.Input}]}});var O=[gn,Pn,Ui,fa,Dt,tn,ki,Al,qi,Fl,Vn,yn,Nl,Yl],L=(Cc.exports=function(){return[gn,yn,Pn,tn,Vn,Dt]},Cc);function Cc(){}L.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:L,deps:[],target:i.ɵɵFactoryTarget.NgModule}),L.ɵmod=i.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:L,declarations:[gn,Pn,Ui,fa,Dt,tn,ki,Al,qi,Fl,Vn,yn,Nl,Yl],imports:[t.CommonModule],exports:[gn,Pn,Ui,fa,Dt,tn,ki,Al,qi,Fl,Vn,yn,Nl,Yl,p.DraggableModule,p.EventsModule]}),L.ɵinj=i.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:L,imports:[[t.CommonModule],p.DraggableModule,p.EventsModule]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:L,decorators:[{type:P.NgModule,args:[{declarations:[O],exports:[O,p.DraggableModule,p.EventsModule],imports:[t.CommonModule]}]}]});c(wc,Ic=S);var Ic,xc=wc;function wc(e){return Ic.call(this,"contains",e)||this}xc.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:xc,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),xc.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:xc,selector:"kendo-filter-contains-operator",providers:[{provide:S,useExisting:P.forwardRef(function(){return xc})}],usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:xc,decorators:[{type:P.Component,args:[{providers:[{provide:S,useExisting:P.forwardRef(function(){return xc})}],selector:"kendo-filter-contains-operator",template:""}]}],ctorParameters:function(){return[{type:a.LocalizationService}]}});c(Tc,Sc=S);var Sc,Dc=Tc;function Tc(e){return Sc.call(this,"doesnotcontain",e)||this}Dc.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Dc,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),Dc.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Dc,selector:"kendo-filter-not-contains-operator",providers:[{provide:S,useExisting:P.forwardRef(function(){return Dc})}],usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Dc,decorators:[{type:P.Component,args:[{providers:[{provide:S,useExisting:P.forwardRef(function(){return Dc})}],selector:"kendo-filter-not-contains-operator",template:""}]}],ctorParameters:function(){return[{type:a.LocalizationService}]}});c(Ec,Fc=S);var Fc,Oc=Ec;function Ec(e){return Fc.call(this,"endswith",e)||this}Oc.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Oc,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),Oc.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Oc,selector:"kendo-filter-endswith-operator",providers:[{provide:S,useExisting:P.forwardRef(function(){return Oc})}],usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Oc,decorators:[{type:P.Component,args:[{providers:[{provide:S,useExisting:P.forwardRef(function(){return Oc})}],selector:"kendo-filter-endswith-operator",template:""}]}],ctorParameters:function(){return[{type:a.LocalizationService}]}});c(Pc,Rc=S);var Rc,Lc=Pc;function Pc(e){return Rc.call(this,"eq",e)||this}Lc.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Lc,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),Lc.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Lc,selector:"kendo-filter-eq-operator",providers:[{provide:S,useExisting:P.forwardRef(function(){return Lc})}],usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Lc,decorators:[{type:P.Component,args:[{providers:[{provide:S,useExisting:P.forwardRef(function(){return Lc})}],selector:"kendo-filter-eq-operator",template:""}]}],ctorParameters:function(){return[{type:a.LocalizationService}]}});c(Mc,Gc=S);var Gc,Vc=Mc;function Mc(e){return Gc.call(this,"isempty",e)||this}Vc.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Vc,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),Vc.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Vc,selector:"kendo-filter-isempty-operator",providers:[{provide:S,useExisting:P.forwardRef(function(){return Vc})}],usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Vc,decorators:[{type:P.Component,args:[{providers:[{provide:S,useExisting:P.forwardRef(function(){return Vc})}],selector:"kendo-filter-isempty-operator",template:""}]}],ctorParameters:function(){return[{type:a.LocalizationService}]}});c(jc,zc=S);var zc,Nc=jc;function jc(e){return zc.call(this,"isnotempty",e)||this}Nc.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Nc,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),Nc.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Nc,selector:"kendo-filter-isnotempty-operator",providers:[{provide:S,useExisting:P.forwardRef(function(){return Nc})}],usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Nc,decorators:[{type:P.Component,args:[{providers:[{provide:S,useExisting:P.forwardRef(function(){return Nc})}],selector:"kendo-filter-isnotempty-operator",template:""}]}],ctorParameters:function(){return[{type:a.LocalizationService}]}});c(Hc,Ac=S);var Ac,Bc=Hc;function Hc(e){return Ac.call(this,"isnotnull",e)||this}Bc.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Bc,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),Bc.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Bc,selector:"kendo-filter-isnotnull-operator",providers:[{provide:S,useExisting:P.forwardRef(function(){return Bc})}],usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Bc,decorators:[{type:P.Component,args:[{providers:[{provide:S,useExisting:P.forwardRef(function(){return Bc})}],selector:"kendo-filter-isnotnull-operator",template:""}]}],ctorParameters:function(){return[{type:a.LocalizationService}]}});c(qc,$c=S);var $c,Kc=qc;function qc(e){return $c.call(this,"isnull",e)||this}Kc.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Kc,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),Kc.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Kc,selector:"kendo-filter-isnull-operator",providers:[{provide:S,useExisting:P.forwardRef(function(){return Kc})}],usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Kc,decorators:[{type:P.Component,args:[{providers:[{provide:S,useExisting:P.forwardRef(function(){return Kc})}],selector:"kendo-filter-isnull-operator",template:""}]}],ctorParameters:function(){return[{type:a.LocalizationService}]}});c(Zc,_c=S);var _c,Wc=Zc;function Zc(e){return _c.call(this,"neq",e)||this}Wc.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Wc,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),Wc.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Wc,selector:"kendo-filter-neq-operator",providers:[{provide:S,useExisting:P.forwardRef(function(){return Wc})}],usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Wc,decorators:[{type:P.Component,args:[{providers:[{provide:S,useExisting:P.forwardRef(function(){return Wc})}],selector:"kendo-filter-neq-operator",template:""}]}],ctorParameters:function(){return[{type:a.LocalizationService}]}});c(Xc,Uc=S);var Uc,Qc=Xc;function Xc(e){return Uc.call(this,"startswith",e)||this}Qc.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Qc,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),Qc.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Qc,selector:"kendo-filter-startswith-operator",providers:[{provide:S,useExisting:P.forwardRef(function(){return Qc})}],usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Qc,decorators:[{type:P.Component,args:[{providers:[{provide:S,useExisting:P.forwardRef(function(){return Qc})}],selector:"kendo-filter-startswith-operator",template:""}]}],ctorParameters:function(){return[{type:a.LocalizationService}]}});c(ep,Yc=S);var Yc,Jc=ep;function ep(e){return Yc.call(this,"gt",e)||this}Jc.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Jc,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),Jc.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Jc,selector:"kendo-filter-gt-operator",providers:[{provide:S,useExisting:P.forwardRef(function(){return Jc})}],usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Jc,decorators:[{type:P.Component,args:[{providers:[{provide:S,useExisting:P.forwardRef(function(){return Jc})}],selector:"kendo-filter-gt-operator",template:""}]}],ctorParameters:function(){return[{type:a.LocalizationService}]}});c(op,tp=S);var tp,np=op;function op(e){return tp.call(this,"gte",e)||this}np.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:np,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),np.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:np,selector:"kendo-filter-gte-operator",providers:[{provide:S,useExisting:P.forwardRef(function(){return np})}],usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:np,decorators:[{type:P.Component,args:[{providers:[{provide:S,useExisting:P.forwardRef(function(){return np})}],selector:"kendo-filter-gte-operator",template:""}]}],ctorParameters:function(){return[{type:a.LocalizationService}]}});c(ap,rp=S);var rp,ip=ap;function ap(e){return rp.call(this,"lt",e)||this}ip.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ip,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),ip.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:ip,selector:"kendo-filter-lt-operator",providers:[{provide:S,useExisting:P.forwardRef(function(){return ip})}],usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ip,decorators:[{type:P.Component,args:[{providers:[{provide:S,useExisting:P.forwardRef(function(){return ip})}],selector:"kendo-filter-lt-operator",template:""}]}],ctorParameters:function(){return[{type:a.LocalizationService}]}});c(cp,sp=S);var sp,lp=cp;function cp(e){return sp.call(this,"lte",e)||this}lp.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:lp,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),lp.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:lp,selector:"kendo-filter-lte-operator",providers:[{provide:S,useExisting:P.forwardRef(function(){return lp})}],usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:lp,decorators:[{type:P.Component,args:[{providers:[{provide:S,useExisting:P.forwardRef(function(){return lp})}],selector:"kendo-filter-lte-operator",template:""}]}],ctorParameters:function(){return[{type:a.LocalizationService}]}});c(dp,pp=S),dp.prototype.toJSON=function(){return{text:this.text,value:"gt"}};var pp,up=dp;function dp(e){return pp.call(this,"after",e)||this}up.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:up,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),up.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:up,selector:"kendo-filter-after-operator",providers:[{provide:S,useExisting:P.forwardRef(function(){return up})}],usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:up,decorators:[{type:P.Component,args:[{providers:[{provide:S,useExisting:P.forwardRef(function(){return up})}],selector:"kendo-filter-after-operator",template:""}]}],ctorParameters:function(){return[{type:a.LocalizationService}]}});c(hp,gp=S),hp.prototype.toJSON=function(){return{text:this.text,value:"gte"}};var gp,mp=hp;function hp(e){return gp.call(this,"after-eq",e)||this}mp.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:mp,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),mp.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:mp,selector:"kendo-filter-after-eq-operator",providers:[{provide:S,useExisting:P.forwardRef(function(){return mp})}],usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:mp,decorators:[{type:P.Component,args:[{providers:[{provide:S,useExisting:P.forwardRef(function(){return mp})}],selector:"kendo-filter-after-eq-operator",template:""}]}],ctorParameters:function(){return[{type:a.LocalizationService}]}});c(vp,fp=S),vp.prototype.toJSON=function(){return{text:this.text,value:"lte"}};var fp,yp=vp;function vp(e){return fp.call(this,"before-eq",e)||this}yp.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:yp,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),yp.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:yp,selector:"kendo-filter-before-eq-operator",providers:[{provide:S,useExisting:P.forwardRef(function(){return yp})}],usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:yp,decorators:[{type:P.Component,args:[{providers:[{provide:S,useExisting:P.forwardRef(function(){return yp})}],selector:"kendo-filter-before-eq-operator",template:""}]}],ctorParameters:function(){return[{type:a.LocalizationService}]}});c(Cp,bp=S),Cp.prototype.toJSON=function(){return{text:this.text,value:"lt"}};var bp,kp=Cp;function Cp(e){return bp.call(this,"before",e)||this}kp.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:kp,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),kp.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:kp,selector:"kendo-filter-before-operator",providers:[{provide:S,useExisting:P.forwardRef(function(){return kp})}],usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:kp,decorators:[{type:P.Component,args:[{providers:[{provide:S,useExisting:P.forwardRef(function(){return kp})}],selector:"kendo-filter-before-operator",template:""}]}],ctorParameters:function(){return[{type:a.LocalizationService}]}});var Ip=[Ts,xc,Dc,Oc,Lc,Vc,Nc,Bc,Kc,Wc,Qc,Jc,np,ip,lp,up,mp,yp,kp],O=[t.CommonModule,z.ReactiveFormsModule,z.FormsModule,o.DropDownListModule,o.AutoCompleteModule,B.InputsModule,$.DatePickerModule,n.PopupModule,L],S=[Xi],xp=(wp.exports=function(){return g([],k(Ip))},wp);function wp(){}xp.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:xp,deps:[],target:i.ɵɵFactoryTarget.NgModule}),xp.ɵmod=i.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:xp,declarations:[Ts,xc,Dc,Oc,Lc,Vc,Nc,Bc,Kc,Wc,Qc,Jc,np,ip,lp,up,mp,yp,kp,Xi],imports:[t.CommonModule,z.ReactiveFormsModule,z.FormsModule,o.DropDownListModule,o.AutoCompleteModule,B.InputsModule,$.DatePickerModule,n.PopupModule,L],exports:[Ts,xc,Dc,Oc,Lc,Vc,Nc,Bc,Kc,Wc,Qc,Jc,np,ip,lp,up,mp,yp,kp,t.CommonModule,z.ReactiveFormsModule,z.FormsModule,o.DropDownListModule,o.AutoCompleteModule,B.InputsModule,$.DatePickerModule,n.PopupModule,L,Xi]}),xp.ɵinj=i.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:xp,imports:[g([],k(O)),t.CommonModule,z.ReactiveFormsModule,z.FormsModule,o.DropDownListModule,o.AutoCompleteModule,B.InputsModule,$.DatePickerModule,n.PopupModule,L]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:xp,decorators:[{type:P.NgModule,args:[{declarations:[Ip,S],exports:[Ip,O,S],imports:g([],k(O))}]}]});n=[Qs,_s,cn,Ps,Ms,bc,js,na,Xa,Hs],S=[Ps,Ms,js,Hs],Sp.exports=function(){return[Qs,_s,cn,Ts,Ps,Ms,bc,js,Hs,xp.exports()]},O=Sp;function Sp(){}O.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:O,deps:[],target:i.ɵɵFactoryTarget.NgModule}),O.ɵmod=i.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:O,declarations:[Qs,_s,cn,Ps,Ms,bc,js,na,Xa,Hs],imports:[xp],exports:[Qs,_s,cn,Ps,Ms,bc,js,na,Xa,Hs,xp]}),O.ɵinj=i.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:O,imports:[[xp],xp]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:O,decorators:[{type:P.NgModule,args:[{declarations:[n],entryComponents:S,exports:[n,xp],imports:[xp]}]}]});var S=[t.CommonModule,B.InputsModule,H.LabelModule,o.DropDownsModule,p.ResizeSensorModule,L],n=[li,Br,Yr,Kr,Ur,ti,ai,To,oi,_r],Dp=(Tp.exports=function(){return[li,Br,Yr,Kr,Ur,ti,ai,To,oi,_r]},Tp);function Tp(){}Dp.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Dp,deps:[],target:i.ɵɵFactoryTarget.NgModule}),Dp.ɵmod=i.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Dp,declarations:[li,Br,Yr,Kr,Ur,ti,ai,To,oi,_r],imports:[t.CommonModule,B.InputsModule,H.LabelModule,o.DropDownsModule,p.ResizeSensorModule,L],exports:[li,Br,Yr,Kr,Ur,ti,ai,To,oi,_r]}),Dp.ɵinj=i.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Dp,imports:[g([],k(S))]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Dp,decorators:[{type:P.NgModule,args:[{declarations:[n],exports:[n],imports:g([],k(S))}]}]});H=[w,I],o=function(){},o.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:o,deps:[],target:i.ɵɵFactoryTarget.NgModule}),o.ɵmod=i.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:o,declarations:[w,I],exports:[w,I]}),o.ɵinj=i.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:o}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:o,decorators:[{type:P.NgModule,args:[{declarations:[H],exports:[H]}]}]}),n=[Qt,Xt,Jt,ne,vi,A],Fp.exports=function(){return[Qt,Xt,Jt]},S=Fp;function Fp(){}S.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:S,deps:[],target:i.ɵɵFactoryTarget.NgModule}),S.ɵmod=i.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:S,declarations:[Qt,Xt,Jt,ne,vi,A],imports:[t.CommonModule,L,o],exports:[Qt,Xt,Jt,ne,vi,A]}),S.ɵinj=i.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:S,imports:[[t.CommonModule,L,o]]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:S,decorators:[{type:P.NgModule,args:[{declarations:[n],exports:[n],imports:[t.CommonModule,L,o]}]}]});w=[Wa,qa,sa,ca,da,pn,Ca,va,Ta,Ea,Ba,Na,ra,Va],I=[da,Ca,Ea,Na],Op.exports=function(){return[da,pn,Ca,Ea,Na,ra,Va,xp.exports()]},H=Op;function Op(){}H.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:H,deps:[],target:i.ɵɵFactoryTarget.NgModule}),H.ɵmod=i.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:H,declarations:[Wa,qa,sa,ca,da,pn,Ca,va,Ta,Ea,Ba,Na,ra,Va],imports:[xp],exports:[Wa,qa,sa,ca,da,pn,Ca,va,Ta,Ea,Ba,Na,ra,Va,xp]}),H.ɵinj=i.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:H,imports:[[xp],xp]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:H,decorators:[{type:P.NgModule,args:[{declarations:[w],entryComponents:I,exports:[w,xp],imports:[xp]}]}]});Object.defineProperty(Rp.prototype,"columns",{get:function(){return this.columnInfoService.leafNamedColumns},enumerable:!1,configurable:!0}),Rp.prototype.ngOnDestroy=function(){this.close()},Rp.prototype.toggle=function(t,e){var n,o=this;this.popupRef?this.close():(n=this.localization.rtl?"right":"left",this.popupRef=this.popupService.open({anchor:t,content:e,positionMode:"absolute",anchorAlign:{vertical:"bottom",horizontal:n},popupAlign:{vertical:"top",horizontal:n}}),this.renderer.setAttribute(this.popupRef.popupElement,"dir",this.localization.rtl?"rtl":"ltr"),this.ngZone.runOutsideAngular(function(){return o.closeClick=o.renderer.listen("document","click",function(e){e=e.target;$e(e,function(e){return e===o.popupRef.popupElement||e===t})||o.close()})}))},Rp.prototype.onApply=function(e){this.close(),e.length&&(this.changeDetector.markForCheck(),this.columnInfoService.changeVisibility(e))},Rp.prototype.onChange=function(e){this.changeDetector.markForCheck(),this.columnInfoService.changeVisibility(e)},Rp.prototype.close=function(){this.popupRef&&(this.popupRef.close(),this.popupRef=null),this.detachClose()},Rp.prototype.detachClose=function(){this.closeClick&&(this.closeClick(),this.closeClick=null)};var Ep=Rp;function Rp(e,t,n,o,r,i){this.localization=e,this.columnInfoService=t,this.popupService=n,this.ngZone=o,this.renderer=r,this.changeDetector=i,this.autoSync=!1,this.allowHideAll=!0}Ep.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ep,deps:[{token:a.LocalizationService},{token:C},{token:Y.PopupService},{token:i.NgZone},{token:i.Renderer2},{token:i.ChangeDetectorRef}],target:i.ɵɵFactoryTarget.Component}),Ep.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Ep,selector:"kendo-grid-column-chooser",inputs:{autoSync:"autoSync",allowHideAll:"allowHideAll"},ngImport:i,template:'\n <button #anchor\n type="button"\n (click)="toggle(anchor, template)"\n class="k-button k-button-flat-base k-button-flat k-icon-button k-button-md k-rounded-md k-button-rectangle k-icon-button"\n [attr.title]="localization.get(\'columns\')">\n <span class="k-button-icon k-icon k-i-columns"></span>\n </button>\n <ng-template #template>\n <span class=\'k-column-chooser-title\'>{{ localization.get(\'columns\') }}</span>\n <kendo-grid-columnlist\n [columns]="columns"\n [applyText]="localization.get(\'columnsApply\')"\n [resetText]="localization.get(\'columnsReset\')"\n [autoSync]="autoSync"\n [allowHideAll]="allowHideAll"\n (apply)="onApply($event)"\n (columnChange)="onChange($event)">\n </kendo-grid-columnlist>\n </ng-template>\n ',isInline:!0,components:[{type:r,selector:"kendo-grid-columnlist",inputs:["columns","autoSync","allowHideAll","applyText","resetText","actionsClass","isLast","isExpanded","service"],outputs:["reset","apply","columnChange"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ep,decorators:[{type:P.Component,args:[{selector:"kendo-grid-column-chooser",template:'\n <button #anchor\n type="button"\n (click)="toggle(anchor, template)"\n class="k-button k-button-flat-base k-button-flat k-icon-button k-button-md k-rounded-md k-button-rectangle k-icon-button"\n [attr.title]="localization.get(\'columns\')">\n <span class="k-button-icon k-icon k-i-columns"></span>\n </button>\n <ng-template #template>\n <span class=\'k-column-chooser-title\'>{{ localization.get(\'columns\') }}</span>\n <kendo-grid-columnlist\n [columns]="columns"\n [applyText]="localization.get(\'columnsApply\')"\n [resetText]="localization.get(\'columnsReset\')"\n [autoSync]="autoSync"\n [allowHideAll]="allowHideAll"\n (apply)="onApply($event)"\n (columnChange)="onChange($event)">\n </kendo-grid-columnlist>\n </ng-template>\n '}]}],ctorParameters:function(){return[{type:a.LocalizationService},{type:C},{type:Y.PopupService},{type:i.NgZone},{type:i.Renderer2},{type:i.ChangeDetectorRef}]},propDecorators:{autoSync:[{type:P.Input}],allowHideAll:[{type:P.Input}]}});n=[r,Ep,gs,fs,es,Ja,xs,Ss,os,nn,ks,vs,as,cs],Lp.exports=function(){return[Ep,fs,es,Ja,xs,os,as,cs,gs,nn,ks,vs,Ss]},I=Lp;function Lp(){}I.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:I,deps:[],target:i.ɵɵFactoryTarget.NgModule}),I.ɵmod=i.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:I,declarations:[r,Ep,gs,fs,es,Ja,xs,Ss,os,nn,ks,vs,as,cs],imports:[t.CommonModule,H],exports:[r,Ep,gs,fs,es,Ja,xs,Ss,os,nn,ks,vs,as,cs]}),I.ɵinj=i.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:I,imports:[[t.CommonModule,H]]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:I,decorators:[{type:P.NgModule,args:[{declarations:[n],imports:[t.CommonModule,H],exports:[n]}]}]});w=[gl,en,sl,tl],r=[t.CommonModule,S,O,H,L,o,I],Pp.exports=function(){return[en,tl]},n=Pp;function Pp(){}n.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:n,deps:[],target:i.ɵɵFactoryTarget.NgModule}),n.ɵmod=i.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:n,declarations:[gl,en,sl,tl],imports:[t.CommonModule,S,O,H,L,o,I],exports:[gl,en,sl,tl]}),n.ɵinj=i.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:n,imports:[g([],k(r))]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:n,decorators:[{type:P.NgModule,args:[{declarations:[w],exports:[w],imports:g([],k(r))}]}]});c(Mp,Gp=y),Object.defineProperty(Mp.prototype,"templateRef",{get:function(){return this.template?this.template.templateRef:void 0},enumerable:!1,configurable:!0});var Gp,Vp=Mp;function Mp(e,t){t=Gp.call(this,e,t)||this;return t.parent=e,t.isCheckboxColumn=!0,t}Vp.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Vp,deps:[{token:y,host:!0,optional:!0,skipSelf:!0},{token:f,optional:!0}],target:i.ɵɵFactoryTarget.Component}),Vp.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Vp,selector:"kendo-grid-checkbox-column",inputs:{showSelectAll:"showSelectAll"},providers:[{provide:y,useExisting:P.forwardRef(function(){return Vp})}],queries:[{propertyName:"template",first:!0,predicate:Ut,descendants:!0}],usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Vp,decorators:[{type:P.Component,args:[{providers:[{provide:y,useExisting:P.forwardRef(function(){return Vp})}],selector:"kendo-grid-checkbox-column",template:""}]}],ctorParameters:function(){return[{type:y,decorators:[{type:P.SkipSelf},{type:P.Host},{type:P.Optional}]},{type:f,decorators:[{type:P.Optional}]}]},propDecorators:{showSelectAll:[{type:P.Input}],template:[{type:P.ContentChild,args:[Ut,{static:!1}]}]}});c(jp,zp=_.Button),Object.defineProperty(jp.prototype,"visible",{get:function(){return this.isEdited?"none":""},enumerable:!1,configurable:!0}),jp.prototype.onClick=function(e){e.preventDefault(),this.editService.beginEdit(this.rowIndex)},jp.prototype.ngDoCheck=function(){this.cellContext&&(this.rowIndex=this.cellContext.rowIndex,this.isEdited=this.editService.isEdited(this.rowIndex))};var zp,Np=jp;function jp(e,t,n,o,r,i){n=zp.call(this,n,o,null,r,i)||this;return n.editService=e,n.cellContext=t,n.commandClass=!0,n}Np.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Np,deps:[{token:u},{token:wt},{token:i.ElementRef},{token:i.Renderer2},{token:a.LocalizationService},{token:i.NgZone}],target:i.ɵɵFactoryTarget.Directive}),Np.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:Np,selector:"[kendoGridEditCommand]",host:{listeners:{click:"onClick($event)"},properties:{"style.display":"this.visible","class.k-grid-edit-command":"this.commandClass"}},usesInheritance:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Np,decorators:[{type:P.Directive,args:[{selector:"[kendoGridEditCommand]"}]}],ctorParameters:function(){return[{type:u},{type:void 0,decorators:[{type:P.Inject,args:[wt]}]},{type:i.ElementRef},{type:i.Renderer2},{type:a.LocalizationService},{type:i.NgZone}]},propDecorators:{visible:[{type:P.HostBinding,args:["style.display"]}],commandClass:[{type:P.HostBinding,args:["class.k-grid-edit-command"]}],onClick:[{type:P.HostListener,args:["click",["$event"]]}]}});c(Hp,Ap=_.Button),Object.defineProperty(Hp.prototype,"visible",{get:function(){return this.isEdited?"":"none"},enumerable:!1,configurable:!0}),Hp.prototype.onClick=function(e){e.preventDefault(),this.isEdited&&this.editService.endEdit(this.rowIndex)},Hp.prototype.ngDoCheck=function(){this.cellContext&&(this.rowIndex=this.cellContext.rowIndex,this.isEdited=this.editService.isEdited(this.rowIndex))};var Ap,Bp=Hp;function Hp(e,t,n,o,r,i){n=Ap.call(this,n,o,null,r,i)||this;return n.editService=e,n.cellContext=t,n.commandClass=!0,n}Bp.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Bp,deps:[{token:u},{token:wt},{token:i.ElementRef},{token:i.Renderer2},{token:a.LocalizationService},{token:i.NgZone}],target:i.ɵɵFactoryTarget.Directive}),Bp.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:Bp,selector:"[kendoGridCancelCommand]",host:{listeners:{click:"onClick($event)"},properties:{"style.display":"this.visible","class.k-grid-cancel-command":"this.commandClass"}},usesInheritance:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Bp,decorators:[{type:P.Directive,args:[{selector:"[kendoGridCancelCommand]"}]}],ctorParameters:function(){return[{type:u},{type:void 0,decorators:[{type:P.Inject,args:[wt]}]},{type:i.ElementRef},{type:i.Renderer2},{type:a.LocalizationService},{type:i.NgZone}]},propDecorators:{visible:[{type:P.HostBinding,args:["style.display"]}],commandClass:[{type:P.HostBinding,args:["class.k-grid-cancel-command"]}],onClick:[{type:P.HostListener,args:["click",["$event"]]}]}});c(qp,$p=_.Button),Object.defineProperty(qp.prototype,"visible",{get:function(){return this.isEdited?"":"none"},enumerable:!1,configurable:!0}),qp.prototype.onClick=function(e){e.preventDefault(),this.isEdited&&this.editService.save(this.rowIndex)},qp.prototype.ngDoCheck=function(){this.cellContext&&(this.rowIndex=this.cellContext.rowIndex,this.isEdited=this.editService.isEdited(this.rowIndex))};var $p,Kp=qp;function qp(e,t,n,o,r,i){n=$p.call(this,n,o,null,r,i)||this;return n.editService=e,n.cellContext=t,n.commandClass=!0,n}Kp.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Kp,deps:[{token:u},{token:wt},{token:i.ElementRef},{token:i.Renderer2},{token:a.LocalizationService},{token:i.NgZone}],target:i.ɵɵFactoryTarget.Directive}),Kp.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:Kp,selector:"[kendoGridSaveCommand]",host:{listeners:{click:"onClick($event)"},properties:{"style.display":"this.visible","class.k-grid-save-command":"this.commandClass"}},usesInheritance:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Kp,decorators:[{type:P.Directive,args:[{selector:"[kendoGridSaveCommand]"}]}],ctorParameters:function(){return[{type:u},{type:void 0,decorators:[{type:P.Inject,args:[wt]}]},{type:i.ElementRef},{type:i.Renderer2},{type:a.LocalizationService},{type:i.NgZone}]},propDecorators:{visible:[{type:P.HostBinding,args:["style.display"]}],commandClass:[{type:P.HostBinding,args:["class.k-grid-save-command"]}],onClick:[{type:P.HostListener,args:["click",["$event"]]}]}});c(Zp,_p=_.Button),Object.defineProperty(Zp.prototype,"visible",{get:function(){return this.isEdited?"none":""},enumerable:!1,configurable:!0}),Zp.prototype.onClick=function(e){e.preventDefault(),this.editService.remove(this.rowIndex)},Zp.prototype.ngDoCheck=function(){this.cellContext&&(this.rowIndex=this.cellContext.rowIndex,this.isEdited=this.editService.isEdited(this.rowIndex))};var _p,Wp=Zp;function Zp(e,t,n,o,r,i){n=_p.call(this,n,o,null,r,i)||this;return n.editService=e,n.cellContext=t,n.commandClass=!0,n}Wp.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Wp,deps:[{token:u},{token:wt},{token:i.ElementRef},{token:i.Renderer2},{token:a.LocalizationService},{token:i.NgZone}],target:i.ɵɵFactoryTarget.Directive}),Wp.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:Wp,selector:"[kendoGridRemoveCommand]",host:{listeners:{click:"onClick($event)"},properties:{"style.display":"this.visible","class.k-grid-remove-command":"this.commandClass"}},usesInheritance:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Wp,decorators:[{type:P.Directive,args:[{selector:"[kendoGridRemoveCommand]"}]}],ctorParameters:function(){return[{type:u},{type:void 0,decorators:[{type:P.Inject,args:[wt]}]},{type:i.ElementRef},{type:i.Renderer2},{type:a.LocalizationService},{type:i.NgZone}]},propDecorators:{visible:[{type:P.HostBinding,args:["style.display"]}],commandClass:[{type:P.HostBinding,args:["class.k-grid-remove-command"]}],onClick:[{type:P.HostListener,args:["click",["$event"]]}]}});c(Xp,Up=_.Button),Xp.prototype.onClick=function(e){e.preventDefault(),this.editService.beginAdd()},Object.defineProperty(Xp.prototype,"commandClass",{get:function(){return!0},enumerable:!1,configurable:!0});var Up,Qp=Xp;function Xp(e,t,n,o,r){t=Up.call(this,t,n,null,o,r)||this;return t.editService=e,t}Qp.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Qp,deps:[{token:u},{token:i.ElementRef},{token:i.Renderer2},{token:a.LocalizationService},{token:i.NgZone}],target:i.ɵɵFactoryTarget.Directive}),Qp.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:Qp,selector:"[kendoGridAddCommand]",host:{listeners:{click:"onClick($event)"},properties:{"class.k-grid-add-command":"this.commandClass"}},usesInheritance:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Qp,decorators:[{type:P.Directive,args:[{selector:"[kendoGridAddCommand]"}]}],ctorParameters:function(){return[{type:u},{type:i.ElementRef},{type:i.Renderer2},{type:a.LocalizationService},{type:i.NgZone}]},propDecorators:{onClick:[{type:P.HostListener,args:["click",["$event"]]}],commandClass:[{type:P.HostBinding,args:["class.k-grid-add-command"]}]}});o=[xl,Vp,Sl,Ut,Yt,l,xo,El,Np,Bp,Kp,Wp,Qp,Rr,Lr],w=[t.CommonModule,z.ReactiveFormsModule,z.FormsModule,L,S,B.NumericTextBoxModule,$.DatePickerModule,p.ResizeSensorModule],Yp.exports=function(){return[xl,Vp,Sl,Ut,xo,Yt,Np,Bp,Kp,Wp,Qp,Rr,Lr]},r=Yp;function Yp(){}r.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:r,deps:[],target:i.ɵɵFactoryTarget.NgModule}),r.ɵmod=i.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:r,declarations:[xl,Vp,Sl,Ut,Yt,l,xo,El,Np,Bp,Kp,Wp,Qp,Rr,Lr],imports:[t.CommonModule,z.ReactiveFormsModule,z.FormsModule,L,S,B.NumericTextBoxModule,$.DatePickerModule,p.ResizeSensorModule],exports:[xl,Vp,Sl,Ut,Yt,l,xo,El,Np,Bp,Kp,Wp,Qp,Rr,Lr]}),r.ɵinj=i.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:r,imports:[g([],k(w))]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:r,decorators:[{type:P.NgModule,args:[{declarations:[o],exports:[o],imports:g([],k(w))}]}]});B=[Ql],$=[t.CommonModule,L],Jp.exports=function(){return[]},o=Jp;function Jp(){}o.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:o,deps:[],target:i.ɵɵFactoryTarget.NgModule}),o.ɵmod=i.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:o,declarations:[Ql],imports:[t.CommonModule,L],exports:[Ql]}),o.ɵinj=i.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:o,imports:[g([],k($))]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:o,decorators:[{type:P.NgModule,args:[{declarations:[B],exports:[B],imports:g([],k($))}]}]});tu.prototype.create=function(e){this.hasLocalData&&this.grid.skip?this.localDataChangesService.data.splice(this.grid.skip,0,e):this.data.unshift(e),this.dataChanged()},tu.prototype.update=function(e){},tu.prototype.remove=function(e){for(var t=this.data,n=0;n<t.length;n++)if(e===t[n]){t.splice(n,1),this.dataChanged({action:"remove",item:e});break}},tu.prototype.assignValues=function(e,t){Object.assign(e,t)},tu.prototype.dataChanged=function(e){void 0===e&&(e={}),this.hasLocalData&&this.localDataChangesService.changes.emit(e)},Object.defineProperty(tu.prototype,"hasLocalData",{get:function(){return Array.isArray(this.localDataChangesService.data)},enumerable:!1,configurable:!0}),Object.defineProperty(tu.prototype,"data",{get:function(){if(this.hasLocalData)return this.localDataChangesService.data;var e=this.grid.data;if(Array.isArray(e))return e;if(P.isDevMode())throw new Error("The default edit service of the editing directives works only when binding to plain array.Please provide an editService.");return[]},enumerable:!1,configurable:!0});var eu=tu;function tu(e,t){this.grid=e,this.localDataChangesService=t}Object.defineProperty(nu.prototype,"editService",{get:function(){return this.userEditService||this.defaultEditService},set:function(e){this.userEditService=e},enumerable:!1,configurable:!0}),nu.prototype.ngOnInit=function(){this.subscriptions=this.grid.add.subscribe(this.addHandler.bind(this)),this.subscriptions.add(this.grid.remove.subscribe(this.removeHandler.bind(this))),this.subscriptions.add(this.grid.cancel.subscribe(this.cancelHandler.bind(this))),this.subscriptions.add(this.grid.save.subscribe(this.saveHandler.bind(this))),this.subscriptions.add(this.grid.dataStateChange.subscribe(this.onStateChange.bind(this)))},nu.prototype.ngOnDestroy=function(){this.subscriptions.unsubscribe()},nu.prototype.createDefaultService=function(){return new eu(this.grid,this.localDataChangesService)},nu.prototype.addHandler=function(){this.grid.addRow(this.createModel({isNew:!0}))},nu.prototype.saveHandler=function(e){var t=this.saveModel(e);t&&(e.isNew?this.editService.create(t):this.editService.update(t)),this.grid.closeRow(e.rowIndex)},nu.prototype.cancelHandler=function(e){e=e.rowIndex;this.closeEditor(e)},nu.prototype.removeHandler=function(e){function t(e){e&&n.editService.remove(o)}var n=this,o=e.dataItem;this.removeConfirmation?(e=this.removeConfirmation(o))instanceof Promise?e.then(t):e instanceof b.Observable?e.pipe(G.take(1)).subscribe(t):t(e):t(!0)},nu.prototype.onStateChange=function(){this.closeEditor()},nu.prototype.closeEditor=function(e){this.grid.closeRow(e)};w=nu;function nu(e,t){this.grid=e,this.localDataChangesService=t,this.defaultEditService=this.createDefaultService()}w.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:w,deps:[{token:E},{token:Se}],target:i.ɵɵFactoryTarget.Directive}),w.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:w,selector:"[kendoGridEditingDirectiveBase]",inputs:{editService:"editService",removeConfirmation:"removeConfirmation"},ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:w,decorators:[{type:P.Directive,args:[{selector:"[kendoGridEditingDirectiveBase]"}]}],ctorParameters:function(){return[{type:E},{type:Se}]},propDecorators:{editService:[{type:P.Input}],removeConfirmation:[{type:P.Input}]}});c(iu,ou=eu),iu.prototype.update=function(e){this.dataChanged()};var ou,ru=iu;function iu(){return null!==ou&&ou.apply(this,arguments)||this}c(su,au=w),su.prototype.ngOnInit=function(){au.prototype.ngOnInit.call(this),this.subscriptions.add(this.grid.edit.subscribe(this.editHandler.bind(this)))},su.prototype.createDefaultService=function(){return new ru(this.grid,this.localDataChangesService)},su.prototype.addHandler=function(){this.closeEditor(),au.prototype.addHandler.call(this)},su.prototype.editHandler=function(e){this.closeEditor(),this.rowIndex=e.rowIndex,this.grid.editRow(e.rowIndex,this.createModel(e))},su.prototype.saveHandler=function(e){au.prototype.saveHandler.call(this,e),this.clean()},su.prototype.closeEditor=function(e){void 0===e&&(e=this.rowIndex),au.prototype.closeEditor.call(this,e),this.clean()},su.prototype.clean=function(){delete this.rowIndex};var au,B=su;function su(){return null!==au&&au.apply(this,arguments)||this}B.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:B,deps:null,target:i.ɵɵFactoryTarget.Directive}),B.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:B,selector:"[kendoGridRowEditingDirectiveBase]",usesInheritance:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:B,decorators:[{type:P.Directive,args:[{selector:"[kendoGridRowEditingDirectiveBase]"}]}]});c(cu,lu=B),cu.prototype.editHandler=function(e){lu.prototype.editHandler.call(this,e),this.dataItem=e.dataItem,this.originalValues={},this.editService.assignValues(this.originalValues,this.dataItem)},cu.prototype.closeEditor=function(e){this.dataItem&&this.editService.assignValues(this.dataItem,this.originalValues),lu.prototype.closeEditor.call(this,e)},cu.prototype.createModel=function(e){if(e.isNew)return this.createNewItem()},cu.prototype.saveModel=function(e){return e.dataItem},cu.prototype.clean=function(){lu.prototype.clean.call(this),delete this.dataItem};var lu,$=cu;function cu(e,t){var n=lu.call(this,e,t)||this;return n.grid=e,n.localDataChangesService=t,n}$.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:$,deps:[{token:E},{token:Se}],target:i.ɵɵFactoryTarget.Directive}),$.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:$,selector:"[kendoGridTemplateEditing]",inputs:{createNewItem:["kendoGridTemplateEditing","createNewItem"]},usesInheritance:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:$,decorators:[{type:P.Directive,args:[{selector:"[kendoGridTemplateEditing]"}]}],ctorParameters:function(){return[{type:E},{type:Se}]},propDecorators:{createNewItem:[{type:P.Input,args:["kendoGridTemplateEditing"]}]}});function pu(e){if(e.markAsTouched(),e.hasOwnProperty("controls")){var t,n=e.controls;for(t in n)n.hasOwnProperty(t)&&pu(n[t])}}c(gu,uu=B),gu.prototype.createModel=function(e){return this.createFormGroup(e)},gu.prototype.saveModel=function(e){var t=e.dataItem,n=e.formGroup,e=e.isNew;if(n.dirty||e)return n.valid?(this.editService.assignValues(t,n.value),t):void pu(n)};var uu,du=gu;function gu(e,t){var n=uu.call(this,e,t)||this;return n.grid=e,n.localDataChangesService=t,n}du.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:du,deps:[{token:E},{token:Se}],target:i.ɵɵFactoryTarget.Directive}),du.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:du,selector:"[kendoGridReactiveEditing]",inputs:{createFormGroup:["kendoGridReactiveEditing","createFormGroup"]},usesInheritance:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:du,decorators:[{type:P.Directive,args:[{selector:"[kendoGridReactiveEditing]"}]}],ctorParameters:function(){return[{type:E},{type:Se}]},propDecorators:{createFormGroup:[{type:P.Input,args:["kendoGridReactiveEditing"]}]}});c(fu,mu=w),fu.prototype.createModel=function(e){return this.createFormGroup(e)},fu.prototype.saveModel=function(e){var t=e.dataItem,n=e.formGroup,e=e.isNew;if(n.dirty||e)return n.valid?(this.editService.assignValues(t,n.value),t):void pu(n)},fu.prototype.ngOnInit=function(){mu.prototype.ngOnInit.call(this),this.subscriptions.add(this.grid.cellClick.subscribe(this.cellClickHandler.bind(this))),this.subscriptions.add(this.grid.cellClose.subscribe(this.cellCloseHandler.bind(this)))},fu.prototype.removeHandler=function(e){mu.prototype.removeHandler.call(this,e),this.grid.cancelCell()},fu.prototype.cellClickHandler=function(e){e.isEdited||"contextmenu"===e.type||(this.grid.editCell(e.rowIndex,e.columnIndex,this.createFormGroup(e)),this.cdr.markForCheck())},fu.prototype.cellCloseHandler=function(e){var t=e.formGroup,n=e.dataItem;t.valid?!t.dirty||e.originalEvent&&e.originalEvent.keyCode===p.Keys.Escape||(this.editService.assignValues(n,t.value),this.editService.update(n)):e.preventDefault()};var mu,hu=fu;function fu(e,t,n){var o=mu.call(this,e,t)||this;return o.grid=e,o.localDataChangesService=t,o.cdr=n,o}hu.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:hu,deps:[{token:E},{token:Se},{token:i.ChangeDetectorRef}],target:i.ɵɵFactoryTarget.Directive}),hu.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:hu,selector:"[kendoGridInCellEditing]",inputs:{createFormGroup:["kendoGridInCellEditing","createFormGroup"]},usesInheritance:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:hu,decorators:[{type:P.Directive,args:[{selector:"[kendoGridInCellEditing]"}]}],ctorParameters:function(){return[{type:E},{type:Se},{type:i.ChangeDetectorRef}]},propDecorators:{createFormGroup:[{type:P.Input,args:["kendoGridInCellEditing"]}]}});function yu(e){return V(e)&&0<e.length}function vu(e,t){return j.process(e,t).data}function bu(e,t){var n=[];return{group:e.split("_").reduce(function(e,t){t=parseInt(t,10);return e.items?(n.push(e),e.items[t]):ae(e)?e[t]:e},t),parents:n}}function ku(e,t,n,o){if(void 0===o&&(o=!1),!V(n))return e;for(var r=[],i=0,a=e.length;i<a&&!(n<=0);i++){var s,l,c=e[i],p=c.items,u=Iu(p,o),d=(o&&p.length&&u++,0<t);t&&(t--,u&&u<=t)?t-=u:d&&!u||(u=[],s=!0,d||n--,n&&((l=p)&&l.length&&l[0].field&&l[0].items?(l=ku(p,t,n,o),u.push.apply(u,g([],k(l))),n-=Iu(l,o)):(u.push.apply(u,g([],k(p.slice(t,Math.min(t+n,p.length))))),n-=u.length),n&&o&&(s=!1,n--),t=0),r.push({aggregates:c.aggregates,field:c.field,hideFooter:s,items:u,offset:i,skipHeader:d,value:c.value}))}return r}var Cu,Iu=function(e,o){return void 0===o&&(o=!1),e.reduce(function(e,t){var n;return t.skipHeader||e++,t.items&&(n=Iu(t.items,o),o&&n&&!t.hideFooter&&e++,e+=n),e},0)},xu=(c(wu,Cu=s),Object.defineProperty(wu.prototype,"kendoGridGroupBinding",{set:function(e){this.groups=null,this.grid.resetGroupsState(),this.data=e},enumerable:!1,configurable:!0}),Object.defineProperty(wu.prototype,"data",{set:function(e){this.originalData=e||[],this.dataChanged=!0},enumerable:!1,configurable:!0}),Object.defineProperty(wu.prototype,"sort",{set:function(e){var t=this.state.sort!==e;this.grid.sort=this.state.sort=e,t&&(this.groups=null,this.grid.resetGroupsState())},enumerable:!1,configurable:!0}),Object.defineProperty(wu.prototype,"filter",{set:function(e){Ki(this.state.filter,e)&&(this.state.filter=e,this.grid.filter=Bi(e),this.groups=null,this.grid.resetGroupsState())},enumerable:!1,configurable:!0}),Object.defineProperty(wu.prototype,"group",{set:function(e){var t=yu(this.state.group)||yu(e),t=this.state.group!==e&&t;this.grid.group=this.state.group=e,t&&(this.groups=null,this.grid.resetGroupsState(),this.skip=0)},enumerable:!1,configurable:!0}),wu.prototype.ngOnInit=function(){Cu.prototype.ngOnInit.call(this),this.grid.groupExpand.subscribe(this.groupExpand.bind(this)),this.grid.groupCollapse.subscribe(this.groupCollapse.bind(this))},wu.prototype.ngAfterContentInit=function(){if(P.isDevMode()&&this.grid.isGroupExpanded)throw new Error("Using the `kendoGridGroupBinding` directive in combination with the `kendoGridExpandGroupBy` directive or the `isGroupExpanded` callback is not supported. To use grouping with the `kendoGridGroupBinding` directive, set the Grid `groupable` property to `true`.")},wu.prototype.groupExpand=function(e){var t,n,o,e=e.groupIndex,e=(this.grid.expandGroupChildren(e),bu(e,this.groups)),r=e.group,e=e.parents;r.items.length||(t=this.state.group.filter((n=e,o=r,function(t){return t.field!==o.field&&!n.some(function(e){return e.field===t.field})})),e=function(e,t){t=t.map(function(e){return{field:e.field,operator:"eq",value:e.value}});return j.filterBy(e,{filters:t,logic:"and"})}(this.originalData,e.concat(r)),r.items=vu(e,{filter:this.state.filter,group:t,sort:this.state.sort})),this.grid.data=this.dataResult(this.state.skip,this.state.take)},wu.prototype.groupCollapse=function(e){e=e.groupIndex,e=bu(e,this.groups).group;e&&(e.items=[]),this.grid.data=this.dataResult(this.state.skip,this.state.take)},wu.prototype.process=function(e){var t;return e.group&&e.group.length?(t=this.processGroups(e),this.grid.skip-=function(e){for(var t=0;e;)e.skipHeader&&t++,e=e.items&&e.items[0]||null;return t}(t.data[0]),t):(this.groups=null,Cu.prototype.process.call(this,e))},wu.prototype.processGroups=function(e){return this.groups&&this.groups.length||(this.groups=vu(this.originalData,{filter:e.filter,group:e.group,sort:e.sort})),this.dataResult(e.skip,e.take)},wu.prototype.dataResult=function(e,t){var n=this.grid.showGroupFooters;return{data:ku(this.groups,e,t,n),total:Iu(this.groups,n)}},wu.prototype.applyState=function(e){var t=e.skip,n=e.take,o=e.sort,r=e.group,e=e.filter;this.skip=t,this.state.take=n,this.sort=o,this.group=r,this.filter=e},wu);function wu(e,t,n){return Cu.call(this,e,t,n)||this}xu.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:xu,deps:[{token:E},{token:i.ChangeDetectorRef},{token:Se}],target:i.ɵɵFactoryTarget.Directive}),xu.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:xu,selector:"[kendoGridGroupBinding]",inputs:{kendoGridGroupBinding:"kendoGridGroupBinding",sort:"sort",filter:"filter",group:"group"},usesInheritance:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:xu,decorators:[{type:P.Directive,args:[{selector:"[kendoGridGroupBinding]"}]}],ctorParameters:function(){return[{type:E},{type:i.ChangeDetectorRef},{type:Se}]},propDecorators:{kendoGridGroupBinding:[{type:P.Input,args:["kendoGridGroupBinding"]}],sort:[{type:P.Input}],filter:[{type:P.Input}],group:[{type:P.Input}]}});var Su,Du=g(g(g(g(g(g(g(g(g([E,jo,Pr,ke,s,St,hc,xu,$,du,hu,M,dc],k(S.exports())),k(L.exports())),k(r.exports())),k(n.exports())),k(o.exports())),k(Dp.exports())),k(O.exports())),k(H.exports())),k(I.exports())),Tu=[E,Ul,Pr,oc,hc,s,jo,St,$,du,hu,M,dc,xu,$t,ke],Fu=function(){},$t=(Fu.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Fu,deps:[],target:i.ɵɵFactoryTarget.NgModule}),Fu.ɵmod=i.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Fu,declarations:[E,Ul,Pr,oc,hc,s,jo,St,$,du,hu,M,dc,xu,$t,ke],imports:[t.CommonModule,S,L,r,n,o,Dp,O,H,p.ResizeSensorModule,I],exports:[E,jo,Pr,ke,s,St,hc,xu,$,du,hu,M,dc,Qt,Xt,Jt,gn,yn,Pn,tn,Vn,Dt,xl,Vp,Sl,Ut,xo,Yt,Np,Bp,Kp,Wp,Qp,Rr,Lr,en,tl,li,Br,Yr,Kr,Ur,ti,ai,To,oi,_r,Qs,_s,cn,Ts,Ps,Ms,bc,js,Hs,Ts,xc,Dc,Oc,Lc,Vc,Nc,Bc,Kc,Wc,Qc,Jc,np,ip,lp,up,mp,yp,kp,da,pn,Ca,Ea,Na,ra,Va,Ts,xc,Dc,Oc,Lc,Vc,Nc,Bc,Kc,Wc,Qc,Jc,np,ip,lp,up,mp,yp,kp,Ep,fs,es,Ja,xs,os,as,cs,gs,nn,ks,vs,Ss]}),Fu.ɵinj=i.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Fu,imports:[[t.CommonModule,S,L,r,n,o,Dp,O,H,p.ResizeSensorModule,I]]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Fu,decorators:[{type:P.NgModule,args:[{declarations:[Tu],exports:[Du],imports:[t.CommonModule,S,L,r,n,o,Dp,O,H,p.ResizeSensorModule,I]}]}]}),c(Ou,Su=W.PDFExportMarginComponent),Ou);function Ou(){return null!==Su&&Su.apply(this,arguments)||this}$t.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:$t,deps:null,target:i.ɵɵFactoryTarget.Component}),$t.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:$t,selector:"kendo-grid-pdf-margin",usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:$t,decorators:[{type:P.Component,args:[{selector:"kendo-grid-pdf-margin",template:""}]}]});c(Ru,Eu=W.PDFExportTemplateDirective);var Eu,Tu=Ru;function Ru(e){return Eu.call(this,e)||this}Tu.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Tu,deps:[{token:i.TemplateRef,optional:!0}],target:i.ɵɵFactoryTarget.Directive}),Tu.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:Tu,selector:"[kendoGridPDFTemplate]",usesInheritance:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Tu,decorators:[{type:P.Directive,args:[{selector:"[kendoGridPDFTemplate]"}]}],ctorParameters:function(){return[{type:i.TemplateRef,decorators:[{type:P.Optional}]}]}});function Lu(e){return e?"locked":"wrap"}var Pu="k-grid-header",Gu="k-grid-footer",Vu=ze("KENDO-GRID-LIST"),Mu=ze("TABLE"),zu=(Nu.prototype.content=function(e){return We(this.list,Me("k-grid-content"+(e?"-locked":"")))},Nu.prototype.header=function(e){return this.headerWrap=this.headerWrap||We(this.element,Me(Pu)),We(this.headerWrap,Me(Pu+"-"+Lu(e)))},Nu.prototype.footer=function(e){return this.footerWrap=this.footerWrap||We(this.element,Me(Gu)),We(this.footerWrap,Me(Gu+"-"+Lu(e)))},Nu.prototype.table=function(){return We(this.element,Mu)},Nu);function Nu(e){this.element=e,this.list=We(e,Vu)}function ju(e){for(var t=e.cloneNode(!1),n=(e._kendoExportVisual&&(t._kendoExportVisual=e._kendoExportVisual),0<=qu.indexOf(String(e.nodeName).toLowerCase())&&(t.removeAttribute("id"),t.removeAttribute("name"),t.value=e.value,t.checked=e.checked,t.selected=e.selected),e.firstChild);n;)t.appendChild(ju(n)),n=n.nextSibling;return t}function Au(e){var t,n,o,r,i=(e=new zu(e)).content(),a=i?(t=[i.querySelector("colgroup")],n=[e.header().querySelector("thead")],i=[i.querySelector("tbody")],r=[],(o=e.footer())&&r.push(o.querySelector("tfoot")),(a=e.content(!0))&&(t.unshift(a.querySelector("colgroup")),n.unshift(e.header(!0).querySelector("thead")),i.unshift(a.querySelector("tbody")),o&&r.unshift(e.footer(!0).querySelector("tfoot"))),function(e,t,n,o){for(var r=document.createElement("table"),i=e[0].cloneNode(!0),a=1;a<e.length;a++)_u(i,e[a].querySelectorAll("col"));var s=Zu(t),n=Zu(n);return s.className=Pu,Uu(s,t),r.appendChild(i),r.appendChild(s),r.appendChild(n),o.length&&((t=Zu(o)).className=Gu,r.appendChild(t)),Wu(r)}(t,n,i,r)):Wu(e.table().cloneNode(!0));return a}function Bu(e,t){return e=document.createElement(e),t&&(e.className=t),e}function Hu(e){return Bu("div",e)}var $u,Ku="k-first",qu=["input","select","textarea","option"],_u=function(e,t){for(var n=t.length,o=0;o<n;o++)e.appendChild(ju(t[o]))},Wu=function(e){var t=document.createElement("div");return t.className="k-grid",t.appendChild(e),t},Zu=function(e){var t=e.length,n=ju(e[0]),o=n.rows.length;if(1<t)for(var r=0;r<o;r++)for(var i=1;i<t;i++)_u(n.rows[r],e[i].rows[r].cells);return n},Uu=function(e,t){if(1<t.length&&1<e.rows.length)for(var n=1;n<e.rows.length;n++){var o=t[0].rows[n].cells.length,o=e.rows[n].cells[o];-1===String(o.className).indexOf(Ku)&&(o.className+=" "+Ku)}},Du=(c(Qu,$u=W.PDFExportComponent),Qu.prototype.ngOnDestroy=function(){this.saveSubscription.unsubscribe(),this.drawSubscription.unsubscribe(),this.reset()},Qu.prototype.saveAs=function(e){throw new Error("Not supported. Use GridComponent.saveAsPDF")},Qu.prototype.export=function(){throw new Error("Not supported. Use GridComponent.drawPDF")},Qu.prototype.savePDF=function(e){this.createPDF(e,this.draw)},Qu.prototype.drawPDF=function(e){var t=this,n=e.component,o=e.promise;this.createPDF(n,function(){t.createExportGroup(o)})},Qu.prototype.createPDF=function(e,t){var n=e.pageSize,o=e.view.total,r=this.columns.toArray();r.length&&(this.originalColumns=e.columns.toArray()),this.component=e,this.suspendService.scroll=!0,this.pdfService.exporting=!0,this.initProgress(),this.renderAllPages=this.allPages&&n<o,this.renderAllPages?(this.skip=e.skip,this.pageSize=n,this.changePage(0,o,t,r)):r.length||e.virtualColumns?this.changeColumns(r,t):t()},Qu.prototype.initProgress=function(){var e=this.component.wrapper.nativeElement,t=this.progress=Hu("k-loading-pdf-mask"),n=ju(e);t.appendChild(n),t.appendChild(Hu("k-loading-color")),t.appendChild(Bu("span","k-i-loading k-icon")),this.originalHeight=e.style.height,this.originalOverflow=e.style.overflow,e.style.height=e.offsetHeight+"px",e.style.overflow="hidden",e.appendChild(t),this.applyScroll(n)},Qu.prototype.applyScroll=function(e){var t,n=new zu(this.component.wrapper.nativeElement),o=n.content();o&&((t=(e=new zu(e)).content()).scrollTop=o.scrollTop,t.scrollLeft=o.scrollLeft,e.header().scrollLeft=n.header().scrollLeft,(t=n.footer())&&(e.footer().scrollLeft=t.scrollLeft),(o=n.content(!0))&&((t=e.content(!0)).scrollTop=o.scrollTop,t.scrollLeft=o.scrollLeft))},Qu.prototype.draw=function(){var t=this;this.createExportElement(function(e){t.save(e,t.fileName)})},Qu.prototype.createExportGroup=function(t){var n=this;this.createExportElement(function(e){n.exportElement(e).then(function(e){return t.resolve(e)})})},Qu.prototype.createExportElement=function(n){var o=this;this.ngZone.runOutsideAngular(function(){var e=o.container=Hu("k-grid-pdf-export-element"),t=Au(o.component.wrapper.nativeElement);e.appendChild(t),document.body.appendChild(e),n(t)})},Qu.prototype.drawOptions=function(){var e=$u.prototype.drawOptions.call(this);return e._destructive=!0,e},Qu.prototype.cleanup=function(){var e;$u.prototype.cleanup.call(this),this.pdfService.exporting=!1,this.component?(e=this.originalColumns,delete this.originalColumns,this.renderAllPages?this.changePage(this.skip,this.pageSize,this.reset,e):e||this.component.virtualColumns?this.changeColumns(e,this.reset):this.reset()):this.reset(),this.removeContainer()},Qu.prototype.removeContainer=function(){this.container&&(document.body.removeChild(this.container),delete this.container)},Qu.prototype.changePage=function(e,t,n,o){var r=this;this.ngZone.run(function(){r.pdfService.dataChanged.pipe(G.take(1)).subscribe(function(){o&&o.length||r.component.virtualColumns?r.changeColumns(o,n):r.onStable(n)}),r.component.notifyPageChange("pdf",{skip:e,take:t})})},Qu.prototype.changeColumns=function(e,t){var n=this;this.ngZone.run(function(){n.onStable(t),e&&e.length&&n.component.columns.reset(e)})},Qu.prototype.reset=function(){var e;this.suspendService.scroll=!1,this.renderAllPages=!1,this.component&&((e=this.component.wrapper.nativeElement).removeChild(this.progress),e.style.height=this.originalHeight,e.style.overflow=this.originalOverflow,delete this.progress,delete this.component)},Qu.prototype.onStable=function(t){var n=this;setTimeout(function(){var e=n.ngZone.onStable.asObservable().pipe(G.take(1));(e=0<n.delay?e.pipe(G.delay(n.delay)):e).subscribe(t)},0)},Qu);function Qu(e,t,n,o){o=$u.call(this,o)||this;return o.pdfService=e,o.suspendService=t,o.ngZone=n,o.delay=0,o.columns=new P.QueryList,o.saveSubscription=e.savePDF.subscribe(o.savePDF.bind(o)),o.drawSubscription=e.drawPDF.subscribe(o.drawPDF.bind(o)),o.reset=o.reset.bind(o),o.draw=o.draw.bind(o),o}Du.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Du,deps:[{token:Fo},{token:Go},{token:i.NgZone},{token:i.ElementRef}],target:i.ɵɵFactoryTarget.Component}),Du.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Du,selector:"kendo-grid-pdf",inputs:{allPages:"allPages",delay:"delay"},queries:[{propertyName:"marginComponent",first:!0,predicate:$t,descendants:!0},{propertyName:"pageTemplateDirective",first:!0,predicate:Tu,descendants:!0},{propertyName:"columns",predicate:y}],usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Du,decorators:[{type:P.Component,args:[{selector:"kendo-grid-pdf",template:""}]}],ctorParameters:function(){return[{type:Fo},{type:Go},{type:i.NgZone},{type:i.ElementRef}]},propDecorators:{allPages:[{type:P.Input}],delay:[{type:P.Input}],columns:[{type:P.ContentChildren,args:[y]}],marginComponent:[{type:P.ContentChild,args:[$t,{static:!1}]}],pageTemplateDirective:[{type:P.ContentChild,args:[Tu,{static:!1}]}]}});c(Yu,Xu=_.Button),Yu.prototype.onClick=function(e){e.preventDefault(),this.pdfService.exportClick.emit()},Object.defineProperty(Yu.prototype,"pdfClass",{get:function(){return!0},enumerable:!1,configurable:!0});var Xu,t=Yu;function Yu(e,t,n,o,r){t=Xu.call(this,t,n,null,o,r)||this;return t.pdfService=e,t.ngZone=r,t}t.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:t,deps:[{token:Fo},{token:i.ElementRef},{token:i.Renderer2},{token:a.LocalizationService},{token:i.NgZone}],target:i.ɵɵFactoryTarget.Directive}),t.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:t,selector:"[kendoGridPDFCommand]",host:{listeners:{click:"onClick($event)"},properties:{"class.k-grid-pdf":"this.pdfClass"}},usesInheritance:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:t,decorators:[{type:P.Directive,args:[{selector:"[kendoGridPDFCommand]"}]}],ctorParameters:function(){return[{type:Fo},{type:i.ElementRef},{type:i.Renderer2},{type:a.LocalizationService},{type:i.NgZone}]},propDecorators:{onClick:[{type:P.HostListener,args:["click",["$event"]]}],pdfClass:[{type:P.HostBinding,args:["class.k-grid-pdf"]}]}});var Ju,I=[Du,$t,t,Tu],W=[Du,$t,t,Tu],ed=function(){},td=(ed.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ed,deps:[],target:i.ɵɵFactoryTarget.NgModule}),ed.ɵmod=i.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ed,declarations:[Du,$t,t,Tu],exports:[Du,$t,t,Tu]}),ed.ɵinj=i.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ed}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ed,decorators:[{type:P.NgModule,args:[{declarations:[W],exports:[I]}]}]}),c(nd,Ju=tt),nd);function nd(e){var t=Ju.call(this)||this;return t.workbook=e,t}var od=function(e){return{title:e.title,field:e.field,locked:Boolean(e.locked),width:e.width,level:e.level,hidden:!e.isVisible,groupHeaderTemplate:e.groupHeaderTemplate,groupHeaderColumnTemplate:e.groupHeaderColumnTemplate,groupFooterTemplate:e.groupFooterTemplate,footerTemplate:e.footerTemplate}},rd=function(e){var n=[];return On(e).forEach(function(e){var t;e.isSpanColumn?n.push.apply(n,g([],k(rd(e.childrenArray)))):(t=od(e),e.isColumnGroup&&(t.children=[t].concat(rd(e.childrenArray))),n.push(t))}),n},W=(id.prototype.ngOnDestroy=function(){this.saveSubscription.unsubscribe(),this.dataSubscription&&this.dataSubscription.unsubscribe()},id.prototype.save=function(t){function e(e){delete n.dataSubscription,n.exportData(t,e)}var n=this,o=(this.fetchData||function(e){return{data:e.view.map(function(e){return e}),group:e.group}})(t);o instanceof Promise?o.then(e):o instanceof b.Observable?this.dataSubscription=o.pipe(G.take(1)).subscribe(e):e(o)},id.prototype.exportData=function(e,t){var n=this,o=U.workbookOptions({columns:this.columns.length?this.columns:function(e){e=rd(e.columns.toArray());return j.orderBy(e,[{field:"locked",dir:"desc"}])}(e),data:t.data,group:t.group,filterable:this.filterable,creator:this.creator,date:this.date,paddingCellOptions:this.paddingCellOptions,headerPaddingCellOptions:this.headerPaddingCellOptions,rtl:this.localization.rtl,collapsible:this.collapsible}),t=new td(o);e.excelExport.emit(t),t.isDefaultPrevented()||this.zone.runOutsideAngular(function(){return n.saveFile(o)})},id.prototype.saveFile=function(e){var t=this;U.toDataURL(e).then(function(e){Z.saveAs(e,t.fileName,{forceProxy:t.forceProxy,proxyURL:t.proxyURL})})},id);function id(e,t,n){this.localization=t,this.zone=n,this.fileName="Export.xlsx",this.columns=new P.QueryList,this.saveSubscription=e.saveToExcel.subscribe(this.save.bind(this))}W.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:W,deps:[{token:zo},{token:a.LocalizationService},{token:i.NgZone}],target:i.ɵɵFactoryTarget.Component}),W.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:W,selector:"kendo-grid-excel",inputs:{fileName:"fileName",filterable:"filterable",creator:"creator",date:"date",forceProxy:"forceProxy",proxyURL:"proxyURL",fetchData:"fetchData",paddingCellOptions:"paddingCellOptions",headerPaddingCellOptions:"headerPaddingCellOptions",collapsible:"collapsible"},queries:[{propertyName:"columns",predicate:U.ColumnBase,descendants:!0}],ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:W,decorators:[{type:P.Component,args:[{selector:"kendo-grid-excel",template:""}]}],ctorParameters:function(){return[{type:zo},{type:a.LocalizationService},{type:i.NgZone}]},propDecorators:{fileName:[{type:P.Input}],filterable:[{type:P.Input}],creator:[{type:P.Input}],date:[{type:P.Input}],forceProxy:[{type:P.Input}],proxyURL:[{type:P.Input}],fetchData:[{type:P.Input}],paddingCellOptions:[{type:P.Input}],headerPaddingCellOptions:[{type:P.Input}],collapsible:[{type:P.Input}],columns:[{type:P.ContentChildren,args:[U.ColumnBase,{descendants:!0}]}]}});c(sd,ad=_.Button),sd.prototype.onClick=function(e){e.preventDefault(),this.excelService.exportClick.emit()},Object.defineProperty(sd.prototype,"excelClass",{get:function(){return!0},enumerable:!1,configurable:!0});var ad,I=sd;function sd(e,t,n,o,r){t=ad.call(this,t,n,null,o,r)||this;return t.excelService=e,t.ngZone=r,t}I.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:I,deps:[{token:zo},{token:i.ElementRef},{token:i.Renderer2},{token:a.LocalizationService},{token:i.NgZone}],target:i.ɵɵFactoryTarget.Directive}),I.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:I,selector:"[kendoGridExcelCommand]",host:{listeners:{click:"onClick($event)"},properties:{"class.k-grid-excel":"this.excelClass"}},usesInheritance:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:I,decorators:[{type:P.Directive,args:[{selector:"[kendoGridExcelCommand]"}]}],ctorParameters:function(){return[{type:zo},{type:i.ElementRef},{type:i.Renderer2},{type:a.LocalizationService},{type:i.NgZone}]},propDecorators:{onClick:[{type:P.HostListener,args:["click",["$event"]]}],excelClass:[{type:P.HostBinding,args:["class.k-grid-excel"]}]}});tt=[W,I],_=function(){};_.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:_,deps:[],target:i.ɵɵFactoryTarget.NgModule}),_.ɵmod=i.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:_,declarations:[W,I],exports:[W,I,U.ExcelExportModule]}),_.ɵinj=i.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:_,imports:[U.ExcelExportModule]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:_,decorators:[{type:P.NgModule,args:[{declarations:[tt],exports:[tt,U.ExcelExportModule]}]}]}),e.AddCommandDirective=Qp,e.AfterEqFilterOperatorComponent=mp,e.AfterFilterOperatorComponent=up,e.AutoCompleteFilterCellComponent=bc,e.BaseFilterCellComponent=ji,e.BeforeEqFilterOperatorComponent=yp,e.BeforeFilterOperatorComponent=kp,e.BodyModule=r,e.BooleanFilterCellComponent=js,e.BooleanFilterComponent=Pa,e.BooleanFilterMenuComponent=Na,e.BooleanFilterRadioButtonDirective=Va,e.CancelCommandDirective=Bp,e.CellCloseEvent=ht,e.CellComponent=El,e.CellLoadingTemplateDirective=Rr,e.CellTemplateDirective=Ut,e.CheckboxColumnComponent=Vp,e.ColGroupComponent=ki,e.ColumnBase=y,e.ColumnChooserComponent=Ep,e.ColumnComponent=gn,e.ColumnGroupComponent=Pn,e.ColumnHandleDirective=sl,e.ColumnLockedChangeEvent=Fr,e.ColumnMenuChooserComponent=gs,e.ColumnMenuComponent=Ss,e.ColumnMenuContainerComponent=ks,e.ColumnMenuFilterComponent=fs,e.ColumnMenuItemComponent=es,e.ColumnMenuItemContentTemplateDirective=Ja,e.ColumnMenuItemDirective=vs,e.ColumnMenuLockComponent=os,e.ColumnMenuPositionComponent=cs,e.ColumnMenuSortComponent=xs,e.ColumnMenuStickComponent=as,e.ColumnMenuTemplateDirective=nn,e.ColumnReorderEvent=br,e.ColumnStickyChangeEvent=Er,e.ColumnVisibilityChangeEvent=Tr,e.CommandColumnComponent=xl,e.ContainsFilterOperatorComponent=xc,e.CustomMessagesComponent=hc,e.DataBindingDirective=s,e.DateFilterCellComponent=Hs,e.DateFilterComponent=Sa,e.DateFilterMenuComponent=Ea,e.DateFilterMenuInputComponent=Ta,e.DetailCollapseEvent=rt,e.DetailExpandEvent=st,e.DetailTemplateDirective=Vn,e.DoesNotContainFilterOperatorComponent=Dc,e.EditCommandDirective=Np,e.EditTemplateDirective=Yt,e.EditingDirectiveBase=w,e.EndsWithFilterOperatorComponent=Oc,e.EqualFilterOperatorComponent=Lc,e.ExcelCommandDirective=I,e.ExcelComponent=W,e.ExcelExportEvent=td,e.ExcelModule=_,e.ExcelService=zo,e.ExpandDetailsDirective=M,e.ExpandGroupDirective=dc,e.FieldAccessorPipe=Fl,e.FilterCellComponent=_s,e.FilterCellHostDirective=na,e.FilterCellOperatorsComponent=Ts,e.FilterCellTemplateDirective=cn,e.FilterCellWrapperComponent=Xa,e.FilterInputDirective=Xi,e.FilterMenuComponent=Wa,e.FilterMenuContainerComponent=qa,e.FilterMenuDropDownListDirective=ra,e.FilterMenuHostDirective=Ba,e.FilterMenuInputWrapperComponent=sa,e.FilterMenuModule=H,e.FilterMenuTemplateDirective=pn,e.FilterRowComponent=Qs,e.FilterService=v,e.FocusableDirective=Dt,e.FooterComponent=Ql,e.FooterModule=o,e.FooterTemplateDirective=tn,e.GreaterFilterOperatorComponent=Jc,e.GreaterOrEqualToFilterOperatorComponent=np,e.GridComponent=E,e.GridModule=Fu,e.GridSpacerComponent=ke,e.GroupBindingDirective=xu,e.GroupFooterTemplateDirective=Jt,e.GroupHeaderColumnTemplateDirective=Xt,e.GroupHeaderComponent=ne,e.GroupHeaderTemplateDirective=Qt,e.GroupIndicatorComponent=A,e.GroupModule=S,e.GroupPanelComponent=vi,e.HeaderComponent=gl,e.HeaderModule=n,e.HeaderTemplateDirective=en,e.InCellEditingDirective=hu,e.IsEmptyFilterOperatorComponent=Vc,e.IsNotEmptyFilterOperatorComponent=Nc,e.IsNotNullFilterOperatorComponent=Bc,e.IsNullFilterOperatorComponent=Kc,e.LessFilterOperatorComponent=ip,e.LessOrEqualToFilterOperatorComponent=lp,e.ListComponent=Ul,e.LoadingComponent=Yl,e.LoadingTemplateDirective=Lr,e.LocalDataChangesService=Se,e.LogicalCellDirective=Ui,e.LogicalRowDirective=fa,e.MenuTabbingService=So,e.NoRecordsTemplateDirective=xo,e.NotEqualFilterOperatorComponent=Wc,e.NumericFilterCellComponent=Ms,e.NumericFilterMenuComponent=Ca,e.NumericFilterMenuInputComponent=va,e.PDFCommandDirective=t,e.PDFComponent=Du,e.PDFMarginComponent=$t,e.PDFModule=ed,e.PDFService=Fo,e.PDFTemplateDirective=Tu,e.PagerComponent=li,e.PagerDropDownListDirective=oi,e.PagerInfoComponent=ti,e.PagerInputComponent=Ur,e.PagerInputDirective=_r,e.PagerModule=Dp,e.PagerNextButtonsComponent=Yr,e.PagerNumericButtonsComponent=Kr,e.PagerPageSizesComponent=ai,e.PagerPrevButtonsComponent=Br,e.PagerTemplateDirective=To,e.PopupCloseEvent=Yo,e.ReactiveEditingDirective=du,e.RemoveCommandDirective=Wp,e.ResizableContainerDirective=Al,e.RowEditingDirectiveBase=B,e.RowFilterModule=O,e.SaveCommandDirective=Kp,e.SelectAllCheckboxDirective=tl,e.SelectionCheckboxDirective=Sl,e.SelectionDirective=St,e.SharedFilterModule=xp,e.SharedModule=L,e.SinglePopupService=er,e.Skip=q,e.SpanColumnComponent=yn,e.StartsWithFilterOperatorComponent=Qc,e.StringFilterCellComponent=Ps,e.StringFilterMenuComponent=da,e.StringFilterMenuInputComponent=ca,e.SuspendService=Go,e.TableBodyComponent=l,e.TableDirective=Nl,e.TemplateContextDirective=qi,e.TemplateEditingDirective=$,e.ToolbarComponent=Pr,e.ToolbarTemplateDirective=jo,e.count=Iu,e.defaultTrackBy=Or,e.hasFilterMenu=Uo,e.hasFilterRow=Qo,e.isFilterable=function(e){return!1!==e},e.slice=ku,Object.defineProperty(e,"__esModule",{value:!0})});
|
|
5
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@progress/kendo-angular-common"),require("rxjs"),require("rxjs/operators"),require("@progress/kendo-angular-l10n"),require("@angular/common"),require("@angular/forms"),require("@progress/kendo-licensing"),require("@progress/kendo-data-query"),require("@progress/kendo-angular-popup"),require("@angular/platform-browser"),require("@progress/kendo-angular-inputs"),require("@progress/kendo-angular-dropdowns"),require("@progress/kendo-angular-label"),require("@progress/kendo-angular-dateinputs"),require("@angular/animations"),require("@progress/kendo-common"),require("@progress/kendo-angular-intl"),require("@progress/kendo-angular-buttons"),require("@progress/kendo-angular-pdf-export"),require("@progress/kendo-file-saver"),require("@progress/kendo-angular-excel-export")):"function"==typeof define&&define.amd?define("KendoAngularGrid",["exports","@angular/core","@progress/kendo-angular-common","rxjs","rxjs/operators","@progress/kendo-angular-l10n","@angular/common","@angular/forms","@progress/kendo-licensing","@progress/kendo-data-query","@progress/kendo-angular-popup","@angular/platform-browser","@progress/kendo-angular-inputs","@progress/kendo-angular-dropdowns","@progress/kendo-angular-label","@progress/kendo-angular-dateinputs","@angular/animations","@progress/kendo-common","@progress/kendo-angular-intl","@progress/kendo-angular-buttons","@progress/kendo-angular-pdf-export","@progress/kendo-file-saver","@progress/kendo-angular-excel-export"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).KendoAngularGrid={},e.ng.core,e.KendoAngularCommon,e.rxjs,e.rxjs.operators,e.KendoAngularL10N,e.ng.common,e.ng.forms,e.KendoLicensing,e.KendoDataQuery,e.KendoAngularPopup,e.ng.platformBrowser,e.KendoAngularInputs,e.KendoAngularDropdowns,e.KendoAngularLabel,e.KendoAngularDateinputs,e.ng.animations,e.KendoCommon,e.KendoAngularIntl,e.KendoAngularButtons,e.KendoAngularPdfExport,e.KendoFileSaver,e.KendoAngularExcelExport)}(this,function(e,P,p,b,G,M,t,z,N,j,n,A,B,o,H,$,r,K,q,_,W,Z,U){"use strict";function Q(n){if(n&&n.__esModule)return n;var o=Object.create(null);return n&&Object.keys(n).forEach(function(e){var t;"default"!==e&&(t=Object.getOwnPropertyDescriptor(n,e),Object.defineProperty(o,e,t.get?t:{enumerable:!0,get:function(){return n[e]}}))}),o.default=n,Object.freeze(o)}var i=Q(P),X=Q(p),a=Q(M),s=Q(t),l=Q(z),Y=Q(n),J=Q(A),ee=Q(B),te=Q(o),A=Q(H),ne=Q($),oe=Q(q),re=function(e,t){return(re=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}re(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}Object.create;function k(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var o,r,i=n.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(o=i.next()).done;)a.push(o.value)}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return a}function g(e,t,n){if(n||2===arguments.length)for(var o,r=0,i=t.length;r<i;r++)!o&&r in t||((o=o||Array.prototype.slice.call(t,0,r))[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}Object.create;function ie(e){return null==e}function ae(e){return Array.isArray(e)}function se(e){return b.merge(b.of(e),e.changes)}function le(){return"undefined"==typeof document}function ce(e){return"string"==typeof e}function pe(e){return"number"==typeof e&&!isNaN(e)}function ue(e){return ce(e)&&!ye(e)&&e.startsWith("{0:")?e.slice(3,e.length-1):e}function de(n){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return!n.apply(null,e)}}function ge(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(n){return e.reduce(function(e,t){return e||t(n)},!1)}}function me(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(n){return e.reduce(function(e,t){return e&&t(n)},!0)}}var he=/^\s*$/,V=function(e){return null!=e},fe=function(e){return!!e},ye=function(e){return ie(e)||he.test(e)},q=new P.InjectionToken("Skip"),ve=function(){if("function"==typeof Symbol&&Symbol.iterator)return Symbol.iterator;for(var e=Object.getOwnPropertyNames(Map.prototype),t=Map.prototype,n=0;n<e.length;++n){var o=e[n];if("entries"!==o&&"size"!==o&&t[o]===t.entries)return o}}();function be(e,t,n){return e.replace(new RegExp("{\\s*"+t+"\\s*}","g"),n)}var ke="undefined"!=typeof window?window:{},Ce=ke.requestAnimationFrame||ke.msRequestAnimationFrame||function(e){return setTimeout(e,1e3/60)},Ie=ke.cancelAnimationFrame||ke.msCancelRequestAnimationFrame||clearTimeout,ke=(Object.defineProperty(xe.prototype,"sizedClass",{get:function(){return V(this.width)},enumerable:!1,configurable:!0}),Object.defineProperty(xe.prototype,"flexBasisStyle",{get:function(){return this.width},enumerable:!1,configurable:!0}),xe);function xe(){this.hostClass=!0}ke.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ke,deps:[],target:i.ɵɵFactoryTarget.Component}),ke.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:ke,selector:"kendo-grid-spacer, kendo-pager-spacer",inputs:{width:"width"},host:{properties:{"class.k-spacer":"this.hostClass","class.k-spacer-sized":"this.sizedClass","style.flexBasis":"this.flexBasisStyle"}},ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ke,decorators:[{type:P.Component,args:[{selector:"kendo-grid-spacer, kendo-pager-spacer",template:""}]}],propDecorators:{hostClass:[{type:P.HostBinding,args:["class.k-spacer"]}],sizedClass:[{type:P.HostBinding,args:["class.k-spacer-sized"]}],flexBasisStyle:[{type:P.HostBinding,args:["style.flexBasis"]}],width:[{type:P.Input}]}});var we=function(){this.cellClick=new P.EventEmitter,this.cellMousedown=new P.EventEmitter,this.cellMouseup=new P.EventEmitter,this.click=new P.EventEmitter,this.keydown=new P.EventEmitter,this.focus=new P.EventEmitter,this.focusIn=new P.EventEmitter,this.focusOut=new P.EventEmitter,this.windowBlur=new P.EventEmitter},Se=(we.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:we,deps:[],target:i.ɵɵFactoryTarget.Injectable}),we.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:we}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:we,decorators:[{type:P.Injectable}]}),function(){this.changes=new P.EventEmitter}),De=(Se.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Se,deps:[],target:i.ɵɵFactoryTarget.Injectable}),Se.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Se}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Se,decorators:[{type:P.Injectable}]}),Te.prototype.focus=function(){this.navigationService.focusCell()},Te.prototype.toggle=function(e){this.navigationService.toggle(e)},Te.prototype.canFocus=function(){return!0},Te.prototype.hasFocus=function(){return this.navigationService.hasFocus()},Te.prototype.isNavigable=function(){return!1},Te);function Te(e){this.navigationService=e}Object.defineProperty(Oe.prototype,"row",{get:function(){return this.model.findRow(this.activeRow)},enumerable:!1,configurable:!0}),Object.defineProperty(Oe.prototype,"cell",{get:function(){var e=this.row;if(e)return this.model.findCell(this.activeCol,e)},enumerable:!1,configurable:!0}),Object.defineProperty(Oe.prototype,"dataRowIndex",{get:function(){var e=this.row;return e?e.dataRowIndex:-1},enumerable:!1,configurable:!0}),Oe.prototype.reset=function(e,t,n){void 0===e&&(e=this.activeRow),void 0===t&&(t=this.activeCol),this.activate(e,t,n=void 0===n?!0:n)&&(this.virtualRow=e,this.virtualCol=t)},Oe.prototype.activate=function(e,t,n){if(!n&&this.isActiveRange(e,t))return!1;var n=this.activeCol,o=this.activeRow;return this.activeCol=t,this.activeRow=e,this.changes.next({colIndex:t,prevColIndex:n,prevRowIndex:o,rowIndex:e}),!0},Oe.prototype.isActiveRange=function(e,t){if(this.activeRow!==e)return!1;var e=this.cell,n=this.model.cellRange(e),o=n.start,n=n.end;return!Boolean(e)||o<=t&&t<=n},Oe.prototype.assume=function(e,t){void 0===e&&(e=this.activeRow),void 0===t&&(t=this.activeCol),this.virtualRow=e,this.virtualCol=t,this.activeCol=t,this.activeRow=e},Oe.prototype.announce=function(){this.changes.next({colIndex:this.activeCol,prevColIndex:this.activeCol,prevRowIndex:this.activeRow,rowIndex:this.activeRow})},Oe.prototype.activateVirtualCell=function(e){var t=this.model.rowRange(e),n=this.model.cellRange(e),o=this.activeCol,r=this.activeRow;if(t.start<=r&&r<=t.end&&n.start<=o&&o<=n.end)return this.activeRow=e.rowIndex,this.activeCol=e.colIndex,!0},Oe.prototype.isActive=function(e,t){return this.activeCol===t&&this.activeRow===e},Oe.prototype.moveUp=function(e){return this.offsetRow(-(e=void 0===e?1:e))},Oe.prototype.moveDown=function(e){return this.offsetRow(e=void 0===e?1:e)},Oe.prototype.moveLeft=function(e){return this.offsetCol(-(e=void 0===e?1:e))},Oe.prototype.moveRight=function(e){return this.offsetCol(e=void 0===e?1:e)},Oe.prototype.lastCellIndex=function(e){return this.metadata.columns.leafColumnsToRender.length-1+(!this.metadata.hasDetailTemplate||e&&e.groupItem?0:1)},Oe.prototype.offsetCol=function(e){var t=this.model.findRow(this.virtualRow),n=this.lastCellIndex(t),o=this.virtualCol,r=(this.virtualCol=Math.max(0,Math.min(o+e,n)),this.virtualCol),i=this.virtualRow,a=this.model.findCell(this.virtualCol,t);return!a&&this.metadata.virtualColumns?this.activate(i,r):(1<a.colSpan&&a.colIndex<=o&&o<a.colIndex+a.colSpan&&(r=0<e?Math.min(a.colIndex+a.colSpan,n):Math.max(0,a.colIndex+e),i=this.model.findCell(r,t),this.virtualCol=a!==i?(a=i).colIndex:o),this.activate(a.rowIndex,a.colIndex))},Oe.prototype.offsetRow=function(e){var t=this.virtualCol;if(this.metadata&&this.metadata.isVirtual)return n=this.metadata.maxLogicalRowIndex,o=Math.max(0,Math.min(this.activeRow+e,n)),this.metadata.hasDetailTemplate&&!this.model.findRow(o)&&(o=0<e?o+1:o-1,o=Math.max(0,Math.min(o,n))),this.metadata.hasDetailTemplate&&o===n&&this.model.lastRow.index!==n&&o--,(n=this.model.findRow(o))&&(o=(n=(n=this.model.findCell(this.virtualCol,n)).rowIndex<=this.virtualRow&&0<e&&1<n.rowSpan?this.model.findCell(this.virtualCol,this.model.findRow(n.rowIndex+n.rowSpan-1+e)):n).rowIndex,t=n.colIndex),this.virtualRow=o,this.activate(o,t);var n=this.model.findRow(this.virtualRow+e)||this.model.nextRow(this.virtualRow,e);if(!n)return!1;var o=this.model.findCell(this.virtualCol,n);return o&&o.rowIndex<=this.virtualRow&&0<e&&1<o.rowSpan&&(t=o.rowIndex+o.rowSpan-1+e,o=this.model.findCell(this.virtualCol,this.model.findRow(t))),!o&&this.metadata.virtualColumns?this.activate(this.virtualRow+e,this.virtualCol):(this.virtualRow=o.rowIndex,this.activate(this.virtualRow,o.colIndex))};var Fe=Oe;function Oe(e){this.model=e,this.changes=new b.Subject,this.activeRow=0,this.activeCol=0,this.virtualCol=0,this.virtualRow=0}Object.defineProperty(Re.prototype,"first",{get:function(){var t;if(0<this.count)return this.forEach(function(e){return t=e,!0}),t},enumerable:!1,configurable:!0}),Object.defineProperty(Re.prototype,"last",{get:function(){var e;if(0<this.count)return e=Object.keys(this.items),this.items[e[e.length-1]]},enumerable:!1,configurable:!0}),Re.prototype.removeItem=function(e){this.items[e]&&(delete this.items[e],this.count--)},Re.prototype.setItem=function(e,t){this.items[e]||this.count++,this.items[e]=t},Re.prototype.getItem=function(e){return this.items[e]},Re.prototype.toArray=function(){var t=[];return this.forEach(function(e){t.push(e)}),t},Re.prototype.forEach=function(e){for(var t in this.items)if(this.items.hasOwnProperty(t)&&e(this.items[t]))return this.items[t]},Re.prototype.find=function(e){return this.forEach(e)};var Ee=Re;function Re(){this.count=0,this.items={}}Object.defineProperty(Pe.prototype,"firstRow",{get:function(){return this.rows.first},enumerable:!1,configurable:!0}),Object.defineProperty(Pe.prototype,"lastRow",{get:function(){return this.rows.last},enumerable:!1,configurable:!0}),Pe.prototype.registerCell=function(e){var t,n,o=this.rows.getItem(e.logicalRowIndex);if(o)return t=e.logicalColIndex,n={uid:e.uid,colIndex:t,rowIndex:o.index,colSpan:e.colSpan,rowSpan:e.rowSpan,detailExpandCell:e.detailExpandCell,dataItem:o.dataItem,dataRowIndex:o.dataRowIndex,focusGroup:e.focusGroup},o.cells.setItem(t,n),e.groupItem&&(o.groupItem=e.groupItem),n},Pe.prototype.unregisterCell=function(e,t,n){var o,t=this.rows.getItem(t);t&&(o=t.cells.getItem(e))&&o.uid===n.uid&&t.cells.removeItem(e)},Pe.prototype.registerRow=function(e){var t={uid:e.uid,index:e.logicalRowIndex,dataItem:e.dataItem,dataRowIndex:e.dataRowIndex,cells:new Ee};this.rows.setItem(e.logicalRowIndex,t)},Pe.prototype.updateRow=function(e){var t=this.rows.getItem(e.logicalRowIndex);t&&Object.assign(t,{dataItem:e.dataItem,dataRowIndex:e.dataRowIndex})},Pe.prototype.unregisterRow=function(e,t){var n=this.rows.getItem(e);n&&n.uid===t.uid&&this.rows.removeItem(e)},Pe.prototype.cellRange=function(e){return e?{start:e.colIndex,end:e.colIndex+(e.colSpan||1)-1}:{}},Pe.prototype.rowRange=function(e){return e?{start:e.rowIndex,end:e.rowIndex+(e.rowSpan||1)-1}:{}},Pe.prototype.nextRow=function(e,t){var n=this.rows.toArray(),e=this.rows.getItem(e),e=n.indexOf(e);return n[e+t]},Pe.prototype.findRow=function(e){return this.rows.getItem(e)},Pe.prototype.findCell=function(e,t){if(t){for(var n=t.index,o=t.cells.getItem(e),r=n;!o&&t;)t=this.rows.getItem(r),o=this.rowCell(e,t),r--;return o&&n<=t.index+(o.rowSpan||1)-1?o:void 0}},Pe.prototype.rowCell=function(e,t){if(t&&t.cells.count){for(var n,o=t.cells.first,r=e;!n&&r>=o.colIndex;)n=t.cells.getItem(r),r--;return n&&e<=n.colIndex+(n.colSpan||1)-1?n:void 0}};var Le=Pe;function Pe(){this.rows=new Ee}function Ge(e){return String(e).trim().split(" ")}function Ve(e,t){var n=Ge(t);return Boolean(Ge(e.className).find(function(e){return 0<=n.indexOf(e)}))}function Me(t){return function(e){return Ve(e,t)}}function ze(t){return He[t]||(He[t]=function(e){return String(e.nodeName).toLowerCase()===t.toLowerCase()}),He[t]}function Ne(e,t,n){for(;e&&e!==n&&!t(e);)e=e.parentNode;if(e!==n)return e}function je(e,t){return void 0===t&&(t=!0),We(e,function(e){return _e(e,t)},!1)}function Ae(e,t){return void 0===t&&(t=!0),o=null,We(e,function(e){return n(e)&&(o=e),!1},e=void 0===(e=!(n=function(e){return _e(e,t)}))?!0:e),o;var n,o}var Be=/^(?:a|input|select|option|textarea|button|object)$/i,He={},$e=function(e,t){for(;e&&!t(e);)e=e.parentNode;return e},Ke=function(e){var t=e.getBoundingClientRect(),n=0<t.width&&0<t.height,t=0!==t.x&&0!==t.y;return(n||t)&&"hidden"!==window.getComputedStyle(e).visibility},qe=function(e){if(!e.tagName)return!1;var t=e.tagName.toLowerCase(),n=Boolean(e.getAttribute("tabIndex"));return!e.disabled&&Be.test(t)||n},_e=function(e,t){if(void 0===t&&(t=!0),!qe(e))return!1;var t=!t||Ke(e),n="true"===e.getAttribute("aria-hidden"),e=e.getAttribute("tabIndex");return t&&!n&&"-1"!==e},We=function(e,t,n){if(void 0===n&&(n=!0),e){if(n&&t(e))return e;for(e=e.firstChild;e;){if(1===e.nodeType){var o=We(e,t);if(o)return o}e=e.nextSibling}}};Object.defineProperty(Ue.prototype,"currentPage",{get:function(){return this.skip/this.pageSize},enumerable:!1,configurable:!0}),Ue.prototype.notifyChanges=function(e){this.total=e.total,this.pageSize=e.pageSize,this.skip=e.skip,this.changes.next(e)},Ue.prototype.changePage=function(e){this.pageChange.next({skip:e*this.pageSize,take:this.pageSize})},Ue.prototype.changePageSize=function(e){this.pageChange.next({skip:0,take:e})},Ue.prototype.nextPage=function(){var e=this.currentPage+1;e*this.pageSize<this.total&&this.changePage(e)},Ue.prototype.prevPage=function(){var e=this.currentPage-1;0<=e*this.pageSize&&this.changePage(e)};var Ze=Ue;function Ue(){this.changes=new b.Subject,this.pageChange=new b.Subject}Xe.prototype.scrollTo=function(e){this.requests.next(e)};var Qe=Xe;function Xe(){this.requests=new b.Subject}Qe.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Qe,deps:[],target:i.ɵɵFactoryTarget.Injectable}),Qe.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Qe}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Qe,decorators:[{type:P.Injectable}]});function Ye(e){return V(e)?{group:e.data,groupIndex:e.index,parentGroup:Ye(e.parentGroup)}:null}et.prototype.reset=function(){this.rowState.clear()},et.prototype.ngOnDestroy=function(){this.reset()},et.prototype.isExpanded=function(e){return this.userCallback?this.userCallback(e):!this.rowState.has(e.groupIndex)},et.prototype.isInExpandedGroup=function(e){for(var t=!0;e&&t;)t=this.isExpanded({group:e.data,groupIndex:e.index,parentGroup:Ye(e.parentGroup)}),e=e.parentGroup;return t},et.prototype.toggleRow=function(e){var t=Ye(e.parentGroup),n=!this.isExpanded({group:e.data,groupIndex:e.index,parentGroup:t});this.changes.next({group:e.data,expand:n,groupIndex:e.index,parentGroup:t}),this.userCallback||(n?this.rowState.delete(e.index):this.rowState.add(e.index))},et.prototype.expandChildren=function(o){var r=this;this.rowState.forEach(function(e){return(n=o)!==(t=e)&&t.startsWith(n)&&r.rowState.delete(e);var t,n})};var Je=et;function et(){this.changes=new b.Subject,this.rowState=new Set}Je.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Je,deps:[],target:i.ɵɵFactoryTarget.Injectable}),Je.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Je}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Je,decorators:[{type:P.Injectable}]});nt.prototype.preventDefault=function(){this.prevented=!0},nt.prototype.isDefaultPrevented=function(){return this.prevented};var tt=nt;function nt(){this.prevented=!1}c(it,ot=tt);var ot,rt=it;function it(e){var t=ot.call(this)||this;return Object.assign(t,e),t}c(lt,at=tt);var at,st=lt;function lt(e){var t=at.call(this)||this;return Object.assign(t,e),t}pt.prototype.ngOnDestroy=function(){this.rowState.clear()},pt.prototype.isExpanded=function(e,t){return this.userCallback?this.userCallback({index:e,dataItem:t}):this.rowState.has(e)},pt.prototype.toggleRow=function(e,t){this.isExpanded(e,t)?this.collapseRow(e,t):this.expandRow(e,t)},pt.prototype.expandRow=function(e,t){this.emitEvent({dataItem:t,index:e,expand:!0})||this.userCallback||this.rowState.add(e)},pt.prototype.collapseRow=function(e,t){this.emitEvent({dataItem:t,index:e,expand:!1})||this.userCallback||this.rowState.delete(e)},pt.prototype.emitEvent=function(e){e=new(e.expand?st:rt)(e);return this.changes.next(e),e.isDefaultPrevented()};var ct=pt;function pt(){this.changes=new b.Subject,this.rowState=new Set}ct.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ct,deps:[],target:i.ɵɵFactoryTarget.Injectable}),ct.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ct}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ct,decorators:[{type:P.Injectable}]});var ut=new P.InjectionToken("focus-root-initial-active-state"),dt=(gt.prototype.registerGroup=function(e){this.active&&this.groups.add(e)},gt.prototype.unregisterGroup=function(e){this.active&&this.groups.delete(e)},gt.prototype.activate=function(){this.active&&this.groups.forEach(function(e){return e.activate()})},gt.prototype.deactivate=function(){this.active&&this.groups.forEach(function(e){return e.deactivate()})},gt);function gt(e){this.active=e=void 0===e?!1:e,this.groups=new Set}dt.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:dt,deps:[{token:ut,optional:!0}],target:i.ɵɵFactoryTarget.Injectable}),dt.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:dt}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:dt,decorators:[{type:P.Injectable}],ctorParameters:function(){return[{type:void 0,decorators:[{type:P.Optional},{type:P.Inject,args:[ut]}]}]}});c(ft,mt=tt);var mt,ht=ft;function ft(e){var t=mt.call(this)||this;return t.action="cellClose",Object.assign(t,e),t}function yt(e){return-1===e||void 0===e}d.prototype.editRow=function(e,t){this.editedIndices.push({index:e,group:t=void 0===t?void 0:t}),this.onChanged()},d.prototype.addRow=function(e){this.newItemGroup={group:e},this.onChanged()},d.prototype.editCell=function(e,t,n){yt(e)||!1===t.editable||!t.editTemplate&&!t.field||(this.preventCellClose(),this.closeCell()||(this.editRow(e,n),this.column=t,this.onChanged()))},d.prototype.isEditing=function(){return 0<this.editedIndices.length},d.prototype.isEditingCell=function(){return this.isEditing()&&void 0!==this.column},Object.defineProperty(d.prototype,"hasNewItem",{get:function(){return V(this.newItemGroup)},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"newDataItem",{get:function(){return this.hasNewItem?this.newItemGroup.group.value:{}},enumerable:!1,configurable:!0}),d.prototype.close=function(e){var t;yt(e)?this.newItemGroup=void 0:(this.editedIndices=this.editedIndices.filter((t=e,function(e){return e.index!==t})),delete this.column,this.onChanged())},d.prototype.closeCell=function(n){var o=this;if(this.column&&!this.closingCell)return this.ngZone.run(function(){var e=o.editedIndices[0],t=e.index,e=e.group,e=new ht({column:o.column,formGroup:e,originalEvent:n,rowIndex:t});return o.closingCell=!0,o.changes.emit(e),o.closingCell=!1,e.isDefaultPrevented()||o.cancelCell(),e.isDefaultPrevented()})},d.prototype.cancelCell=function(){this.column&&(this.editedIndices=[],delete this.column,this.onChanged())},d.prototype.shouldCloseCell=function(){return this.column&&!this.keepEditCell},d.prototype.preventCellClose=function(){var e=this;this.ngZone.runOutsideAngular(function(){window.clearTimeout(e.keepCellTimeout),e.keepEditCell=!0,e.keepCellTimeout=window.setTimeout(function(){e.keepEditCell=!1},0)})},d.prototype.context=function(e){return yt(e)?this.newItemGroup:this.findByIndex(e)},d.prototype.columnContext=function(e,t){return yt(e)?this.newItemGroup:this.column&&t!==this.column?void 0:this.findByIndex(e)},d.prototype.isEdited=function(e){return!(!yt(e)||!V(this.newItemGroup))||!this.column&&V(this.findByIndex(e))},d.prototype.hasEdited=function(e){return V(this.context(e))},d.prototype.isEditedColumn=function(e,t){return!(!this.column||this.column!==t)&&V(this.findByIndex(e))},d.prototype.beginEdit=function(e){this.changes.emit({action:"edit",rowIndex:e})},d.prototype.beginAdd=function(){this.changes.emit({action:"add"})},d.prototype.endEdit=function(e){var t=this.context(e).group;this.changes.emit({action:"cancel",rowIndex:e,formGroup:t,isNew:yt(e)})},d.prototype.save=function(e){var t=this.context(e).group;this.changes.emit({action:"save",rowIndex:e,formGroup:t,isNew:yt(e)})},d.prototype.remove=function(e){this.changes.emit({action:"remove",rowIndex:e})},d.prototype.findByIndex=function(e){return this.editedIndices.find((t=e,function(e){return e.index===t}));var t},d.prototype.onChanged=function(){var e=this;this.ngZone.runOutsideAngular(function(){e.changedSource.next()})};var u=d;function d(e){var t=this;this.ngZone=e,this.changes=new P.EventEmitter,this.editedIndices=[],this.keepEditCell=!1,this.closingCell=!1,this.changedSource=new b.Subject,this.changed=this.changedSource.asObservable().pipe(G.switchMap(function(){return t.ngZone.onStable.asObservable().pipe(G.take(1))}))}u.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:u,deps:[{token:i.NgZone}],target:i.ɵɵFactoryTarget.Injectable}),u.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:u}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:u,decorators:[{type:P.Injectable}],ctorParameters:function(){return[{type:i.NgZone}]}});function vt(e){return!e.disabled&&(bt(e)||kt(e=e)&&Ct.test(e.type))}var bt=ze("button"),kt=ze("input"),Ct=/(button|checkbox|color|file|radio|reset|submit)/i,It=(Object.defineProperty(xt.prototype,"enabled",{get:function(){return this.focusable&&!this.focusable.disabled},enumerable:!1,configurable:!0}),Object.defineProperty(xt.prototype,"visible",{get:function(){return this.focusable&&Ke(this.focusable)},enumerable:!1,configurable:!0}),xt.prototype.isNavigable=function(){return this.canFocus()&&vt(this.element)},xt.prototype.toggle=function(e){this.renderer.setAttribute(this.focusable,"tabIndex",e?"0":"-1")},xt.prototype.focus=function(){this.focusable&&this.focusable.focus()},xt.prototype.canFocus=function(){return this.visible&&this.enabled},xt.prototype.hasFocus=function(){var t=this;return document.activeElement!==this.element&&$e(document.activeElement,function(e){return e===t.element})},xt);function xt(e,t){var n;this.renderer=t,this.element=e.nativeElement,this.focusable=(t=this.element,void 0===(n=!1)&&(n=!0),We(t,function(e){return _e(e,n)})||this.element)}var wt=new P.InjectionToken("grid-cell-context"),St={},Dt=(Object.defineProperty(Tt.prototype,"enabled",{get:function(){return this._enabled},set:function(e){(e=""===e||Boolean(e))!==this.enabled&&(this._enabled=e,this.element&&this.element.toggle(this.active&&e))},enumerable:!1,configurable:!0}),Tt.prototype.ngAfterViewInit=function(){this.element||(this.element=new It(this.hostElement,this.renderer)),this.group&&this.element&&this.toggle(this.group.isActive)},Tt.prototype.ngOnDestroy=function(){this.group&&this.group.unregisterElement(this)},Tt.prototype.toggle=function(e){this.element&&e!==this.active&&(this.element.toggle(this.enabled&&e),this.active=e)},Tt.prototype.canFocus=function(){return this.enabled&&this.element&&this.element.canFocus()},Tt.prototype.isNavigable=function(){return this.enabled&&this.element&&this.element.isNavigable()},Tt.prototype.focus=function(){this.enabled&&this.element&&this.element.focus()},Tt.prototype.hasFocus=function(){return this.enabled&&this.element&&this.element.hasFocus()},Tt.prototype.registerElement=function(e){this.element=e},Tt);function Tt(e,t,n){this.cellContext=e,this.hostElement=t,this.renderer=n,this.active=!0,this._enabled=!0,this.cellContext&&(this.group=this.cellContext.focusGroup),this.group&&this.group.registerElement(this)}Dt.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Dt,deps:[{token:wt,optional:!0,skipSelf:!0},{token:i.ElementRef},{token:i.Renderer2}],target:i.ɵɵFactoryTarget.Directive}),Dt.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:Dt,selector:"[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ",inputs:{enabled:["kendoGridFocusable","enabled"]},ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Dt,decorators:[{type:P.Directive,args:[{selector:"[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n "}]}],ctorParameters:function(){return[{type:void 0,decorators:[{type:P.Optional},{type:P.Inject,args:[wt]},{type:P.SkipSelf}]},{type:i.ElementRef},{type:i.Renderer2}]},propDecorators:{enabled:[{type:P.Input,args:["kendoGridFocusable"]}]}});function Ft(e,t){if(e=function(e,t){for(var n=$e(e,Gt);n&&!Et(n,t);)n=$e(n.parentElement,Gt);return n}(e,t),t=$e(e,ze("tr")),e&&t){var t=(t=t.getAttribute("aria-rowindex"))?parseInt(t,10)-1:null,n=(n=e.getAttribute("aria-colindex"))?parseInt(n,10)-1:null;if(null!==t&&null!==n)return{colIndex:n,rowIndex:t,element:e}}}function Ot(e){return(t=e)===p.Keys.ArrowLeft||t===p.Keys.ArrowRight||t===p.Keys.ArrowUp||t===p.Keys.ArrowDown||e===p.Keys.PageUp||e===p.Keys.PageDown||e===p.Keys.Home||e===p.Keys.End;var t}var Et=function(e,t){return $e(e,ze("kendo-grid"))===t},Rt=ze("th"),Lt=ze("td"),Pt=ze(".k-grid-footer td"),Gt=function(e){return Lt(e)||Rt(e)||Pt(e)},Vt=ze("input"),Mt=(zt.prototype.containsRow=function(e){return e<0||e>=this.firstItemIndex&&e<=this.lastItemIndex},zt.prototype.intersects=function(e,t){return e<=this.firstItemIndex&&this.lastItemIndex<=t||this.firstItemIndex<=e&&e<=this.lastItemIndex||this.firstItemIndex<=t&&t<=this.lastItemIndex},zt);function zt(e,t){this.firstItemIndex=e,this.lastItemIndex=t}Object.defineProperty(h.prototype,"metadata",{get:function(){return this.meta},set:function(e){this.meta=e,this.cursor.metadata=e},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"enabled",{get:function(){return this.alive},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"pagerEnabled",{get:function(){return this.alive&&this.pagerIsNavigable},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"tableEnabled",{get:function(){return this.alive&&this.tableIsNavigable},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"activeCell",{get:function(){if(0!==this.mode)return this.cursor.cell},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"activeRow",{get:function(){if(0!==this.mode)return Object.assign({},this.cursor.row,{cells:this.cursor.row.cells.toArray()})},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"activeDataRow",{get:function(){return Math.max(0,this.activeRowIndex-this.meta.headerRows)},enumerable:!1,configurable:!0}),h.prototype.init=function(e,t){function n(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return function(e){var t;return o.zone.isStable?b.from([!0]).pipe(G.map(function(){return e})):(t=o.zone.onStable).pipe.apply(t,g([G.take(1),G.map(function(){return e})],k(n)))}}var o=this,t=(this.setActiveSections(t),this.alive=!0,this.focusRoot.active=!0,this.metadata=e,n());this.subs=new b.Subscription,this.subs.add(this.cursor.changes.subscribe(function(e){return o.onCursorChanges(e)})),this.subs.add(this.domEvents.focus.pipe(G.switchMap(t)).subscribe(function(e){return o.navigateTo(e.target)})),this.subs.add(this.domEvents.focusOut.pipe(G.filter(function(){return 0!==o.mode}),G.switchMap(n(G.takeUntil(this.domEvents.focus)))).subscribe(function(e){return o.onFocusOut(e)})),this.subs.add(this.domEvents.windowBlur.pipe(G.filter(function(){return 0!==o.mode})).subscribe(function(){return o.onWindowBlur()})),this.subs.add(this.editService.changes.pipe(G.filter(function(e){return"edit"!==e.action&&2===o.mode}),G.filter(function(e){return"cellClose"===e.action&&!e.prevented}),G.switchMap(t)).subscribe(function(){return o.leaveCell()})),this.subs.add(this.pagerContextService.pageChange.subscribe(function(){return o.cursor.reset(0,0)})),this.subs.add(this.domEvents.keydown.subscribe(function(e){return o.onKeydown(e)})),this.subs.add(this.domEvents.keydown.pipe(G.filter(function(e){return e.keyCode===p.Keys.Tab&&2===o.mode}),G.switchMapTo(this.domEvents.focusOut.pipe(G.takeUntil(b.interval(0).pipe(G.take(1)))))).subscribe(function(){return o.onTabout()})),this.focusableParent&&(e=new De(this),this.focusableParent.registerElement(e)),this.deactivateElements()},h.prototype.ngOnDestroy=function(){this.subs&&this.subs.unsubscribe(),this.alive=!1},h.prototype.registerCell=function(e){e.logicalRowIndex!==this.pendingRowIndex&&(e=this.model.registerCell(e),this.virtualCell&&this.cursor.activateVirtualCell(e)&&(this.virtualCell=!1))},h.prototype.registerCellOnCurrentRow=function(e){e.logicalRowIndex===this.pendingRowIndex&&this.model.registerCell(e)},h.prototype.unregisterCell=function(e,t,n){this.model.unregisterCell(e,t,n)},h.prototype.registerRow=function(e){this.model.registerRow(e),this.pendingRowIndex=e.logicalRowIndex},h.prototype.updateRow=function(e){this.model.updateRow(e)},h.prototype.unregisterRow=function(e,t){this.model.unregisterRow(e,t);e=this.model.lastRow;e&&0===this.mode&&(t=this.needsViewport()&&this.viewport?this.viewport.lastItemIndex:e.index,this.activeRowIndex>t&&this.cursor.reset(0,0))},h.prototype.isCellFocusable=function(e){return this.alive&&this.active&&2!==this.mode&&this.cursor.isActive(e.logicalRowIndex,e.logicalColIndex)},h.prototype.isCellFocused=function(e){return 1===this.mode&&this.isCellFocusable(e)},h.prototype.navigateTo=function(e){var t,n,o;!this.alive||(t=Ft(e,this.meta.gridElement.nativeElement))&&(n=this.mode,o=function(t,n,e){if(void 0===e&&(e=!1),!$e(n,function(e){return e===t}))return!1;var o=$e(n,function(e){return e===n});return o&&(e||o!==t)}(t.element,document.activeElement),e=2===this.mode&&this.activeRowIndex===t.rowIndex&&e!==t.element,o?(this.mode=2,this.cursor.reset(t.rowIndex,t.colIndex),this.activateRow()):e||(this.mode=1,this.deactivateElements(),o=this.cursor.isActive(t.rowIndex,t.colIndex),1===n&&o||this.cursor.reset(t.rowIndex,t.colIndex)))},h.prototype.tryFocus=function(e){this.activateElements();var t,e=je(e);return e?((t=Ft(e,this.meta.gridElement.nativeElement))&&(this.cursor.reset(t.rowIndex,t.colIndex),this.deactivateElements(),this.enterCell()),e.focus()):this.deactivateElements(),!!e},h.prototype.needsViewport=function(){return this.meta&&this.meta.isVirtual},h.prototype.setViewport=function(e,t){var n,o;this.viewport=new Mt(e,t),this.meta&&this.meta.isVirtual&&-1<this.activeDataRow&&(o=(n=this.activeDataRow)-t,0<e-n?this.cursor.reset(e+this.meta.headerRows):0<o&&this.cursor.reset(t-this.meta.headerRows))},h.prototype.setColumnViewport=function(e,t){this.columnViewport=new Mt(e,t)},h.prototype.focusCell=function(e,t){return void 0===e&&(e=void 0),void 0===t&&(t=void 0),this.mode=1,this.cursor.reset(e,t),this.activeCell},h.prototype.focusCellByElement=function(e){e=Ft(e,this.meta.gridElement.nativeElement);if(e)return this.focusCell(e.rowIndex,e.colIndex)},h.prototype.focusNextCell=function(e){return this.focusAdjacentCell(!0,e=void 0===e?!0:e)},h.prototype.focusPrevCell=function(e){return this.focusAdjacentCell(!1,e=void 0===e?!0:e)},h.prototype.toggle=function(e){this.active=e,this.cursor.announce()},h.prototype.hasFocus=function(){return 1===this.mode||2===this.mode},h.prototype.autoFocusCell=function(e,t){return!this.meta.virtualColumns||t<this.meta.columns.lockedLeafColumns.length||this.columnViewport.intersects(e,t)},h.prototype.setActiveSections=function(e){this.pagerIsNavigable=e.includes("pager"),this.tableIsNavigable=e.includes("table")},h.prototype.focusAdjacentCell=function(e,t){this.focusCell();var n=e?this.moveCursorFwd():this.moveCursorBwd();return t&&!n&&(n=e?this.cursor.moveDown(1):this.cursor.moveUp(1))&&(t=this.cursor.row,e=e?0:this.cursor.lastCellIndex(t),this.cursor.reset(t.index,e)),n?this.activeCell:(this.mode=0,this.cursor.announce(),null)},h.prototype.enterCell=function(){var e,t=this.cursor.cell;t&&(e=(t=t.focusGroup)&&t.canFocus(),this.mode=e?2:1,this.cursor.announce(),e&&(this.activateRow(),t.focus()))},h.prototype.leaveCell=function(){var e=this.cursor.cell;e&&((e=e.focusGroup)&&e.canFocus()||this.deactivateElements(),this.mode=1,this.cursor.announce())},h.prototype.activateElements=function(){this.focusRoot.activate()},h.prototype.deactivateElements=function(){this.focusRoot.deactivate()},h.prototype.activateRow=function(){this.cursor.row.cells.forEach(function(e){return e.focusGroup&&e.focusGroup.activate()})},h.prototype.moveCursorFwd=function(){return this.localization.rtl?this.cursor.moveLeft():this.cursor.moveRight()},h.prototype.moveCursorBwd=function(){return this.localization.rtl?this.cursor.moveRight():this.cursor.moveLeft()},h.prototype.onCursorKeydown=function(e){var t=this,n=!1,o=e.ctrlKey||e.metaKey,r=o?5:1;if(this.onCellKeydown(e)){var i,a,s,l=this.cursor.row;switch(e.keyCode){case p.Keys.ArrowDown:n=this.cursor.moveDown(r);break;case p.Keys.ArrowUp:n=this.cursor.moveUp(r);break;case p.Keys.ArrowRight:n=this.moveCursorFwd();break;case p.Keys.ArrowLeft:n=this.moveCursorBwd();break;case p.Keys.PageDown:this.metadata.isVirtual&&this.viewport?(a=this.meta.headerRows+this.viewport.lastItemIndex+1,this.metadata.hasDetailTemplate&&a++,a=Math.min(this.meta.maxLogicalRowIndex,a),this.cursor.reset(a),n=!0):this.metadata.hasPager&&(this.zone.run(function(){return t.pagerContextService.nextPage()}),n=!0);break;case p.Keys.PageUp:this.metadata.isVirtual&&this.viewport?(i=this.viewport.lastItemIndex-this.viewport.firstItemIndex,s=this.viewport.firstItemIndex,a=Math.max(this.meta.headerRows,s-i-1),this.cursor.reset(a),n=!0):this.metadata.hasPager&&(this.zone.run(function(){return t.pagerContextService.prevPage()}),n=!0);break;case p.Keys.Home:o?this.meta.isVirtual?this.cursor.reset(this.meta.headerRows,0,!1):this.cursor.reset(this.model.firstRow.index,0,!1):this.cursor.reset(l.index,0,!1),n=!0;break;case p.Keys.End:o?this.meta.isVirtual?(s=this.meta.maxLogicalRowIndex,this.meta.hasDetailTemplate&&s--,this.cursor.reset(s,this.cursor.lastCellIndex(),!1)):this.cursor.reset(this.model.lastRow.index,this.cursor.lastCellIndex(this.model.lastRow),!1):(i=this.cursor.lastCellIndex(l),(a=this.model.findCell(i,l))?this.cursor.reset(a.rowIndex,a.colIndex):this.cursor.reset(l.index,i)),n=!0;break;case p.Keys.Enter:case p.Keys.F2:var c=l.groupItem;c?this.zone.run(function(){return t.groupsService.toggleRow(c)}):this.cursor.cell.detailExpandCell?this.zone.run(function(){return t.detailsService.toggleRow(l.dataRowIndex,l.dataItem)}):(this.enterCell(),this.cursor.cell.focusGroup.isNavigable()||(n=!0));break;default:e.ctrlKey||e.altKey||(1!==(s=e.key).length||!s.match(/\S/))||this.enterCell()}n&&e.preventDefault()}},h.prototype.onContentKeydown=function(e){var t;this.onCellKeydown(e)&&(t=!e.defaultPrevented&&e.keyCode===p.Keys.Enter&&((t=e.srcElement)&&Vt(t)&&"text"===t.type.toLowerCase()),e.keyCode===p.Keys.Escape||e.keyCode===p.Keys.F2||t?(this.leaveCell(),this.cursor.reset(),e.stopPropagation()):Ot(e.keyCode)&&this.cursor.cell.focusGroup.isNavigable()&&(this.onCursorKeydown(e),e.defaultPrevented&&this.leaveCell()))},h.prototype.onCellKeydown=function(e){if(this.editService.isEditingCell()){var t=e.keyCode===p.Keys.Enter,n=e.keyCode===p.Keys.Escape,o=Ot(e.keyCode);if(t)this.editService.closeCell(e);else if(n)this.editService.closeCell(e),this.cd.detectChanges();else if(o)return!1}return this.cellKeydown.emit(e),!0},h.prototype.onCursorChanges=function(e){this.activeRowIndex=e.rowIndex;var t,n,o=this.activeDataRow;this.meta&&this.meta.isVirtual&&e.rowIndex>=this.meta.headerRows&&this.viewport&&!this.viewport.containsRow(o)&&-1<o&&this.scrollRequestService.scrollTo({row:o}),this.meta.virtualColumns&&e.colIndex>=this.meta.columns.lockedLeafColumns.length&&(o=this.activeCell,t=(n=this.model.cellRange(o)).start,n=n.end,o||(this.virtualCell=!0),(!o&&0!==this.mode||o&&!this.columnViewport.intersects(t,n))&&this.scrollRequestService.scrollTo({column:e.colIndex-(this.metadata.hasDetailTemplate?1:0)}))},h.prototype.onFocusOut=function(e){Ke(e.target)?this.mode=0:this.mode=1,this.deactivateElements(),this.cursor.announce()},h.prototype.onWindowBlur=function(){this.mode=0,this.deactivateElements(),this.cursor.announce()},h.prototype.onKeydown=function(e){1===this.mode?this.onCursorKeydown(e):2===this.mode&&this.onContentKeydown(e)},h.prototype.onTabout=function(){this.cursor.cell.focusGroup.isNavigable()||(this.leaveCell(),this.cursor.reset())};var m=h;function h(e,t,n,o,r,i,a,s,l,c,p){this.zone=e,this.domEvents=t,this.pagerContextService=n,this.scrollRequestService=o,this.groupsService=r,this.detailsService=i,this.focusRoot=a,this.editService=s,this.cd=l,this.localization=c,this.focusableParent=p,this.cellKeydown=new P.EventEmitter,this.activeRowIndex=0,this.alive=!1,this.active=!0,this.mode=0,this.model=new Le,this.cursor=new Fe(this.model),this.pagerIsNavigable=!1,this.tableIsNavigable=!1,this.changes=this.cursor.changes}m.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:m,deps:[{token:i.NgZone},{token:we},{token:Ze},{token:Qe},{token:Je},{token:ct},{token:dt},{token:u},{token:i.ChangeDetectorRef},{token:a.LocalizationService},{token:Dt,optional:!0}],target:i.ɵɵFactoryTarget.Injectable}),m.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:m}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:m,decorators:[{type:P.Injectable}],ctorParameters:function(){return[{type:i.NgZone},{type:we},{type:Ze},{type:Qe},{type:Je},{type:ct},{type:dt},{type:u},{type:i.ChangeDetectorRef},{type:a.LocalizationService},{type:Dt,decorators:[{type:P.Optional}]}]}});Object.defineProperty(jt.prototype,"enableMarquee",{get:function(){var e=this.settings&&"object"==typeof this.settings&&this.settings.checkboxOnly;if(!this.settings||e)return!1;e=this.settings.selectable,e="object"==typeof e&&V(e)&&"multiple"===e.mode&&!1!==e.enabled&&!e.checkboxOnly&&e.drag;return this.active&&e},enumerable:!1,configurable:!0}),jt.prototype.init=function(e){if(this.settings=e,this.currentSelection=[],e.selectable&&!1!==e.selectable.enabled){for(var t,n=this.getIterator(),o=(this._selectAllState=!0,n.next());!o.done;)o.value&&"data"===o.value.type&&(t={dataItem:o.value.data,index:o.value.index},e.rowSelected(t)?this.currentSelection[o.value.index]=t:this._selectAllState=void 0),o=n.next();0===this.currentSelection.length&&(this._selectAllState=!1)}},jt.prototype.isSelected=function(e){if(this.settings&&this.active)return this.options.enabled&&V(this.currentSelection[e])},jt.prototype.handleClick=function(e,t){var n,o;this.dragging?this.dragging=!1:(o=t.ctrlKey||t.metaKey,"single"===this.options.mode&&o&&this.isSelected(e.index)?n=this.toggle(e):"multiple"===this.options.mode&&(o&&!t.shiftKey?n=this.toggle(e):t.shiftKey&&(n=this.addAllTo(e,o))),V(n)||(n=this.select(e),this.currentSelection[e.index]={dataItem:e.data,index:e.index}),(n.selectedRows.length||n.deselectedRows.length)&&(n.ctrlKey=o,n.shiftKey=t.shiftKey,this.changes.emit(n)))},jt.prototype.toggle=function(e){var t=[],n=[],o=(this.lastSelectionStartIndex=e.index,{dataItem:e.data,index:e.index});return(this.isSelected(e.index)?n:t).push(o),{deselectedRows:n,selectedRows:t}},jt.prototype.toggleByIndex=function(e){for(var t,n=this.getIterator(),o=(this.selectAllChecked&&this.isSelected(e)&&(this.selectAllChecked=!1),n.next());!o.done;){if(o.value&&"data"===o.value.type&&o.value.index===e)return t={data:o.value.data,index:o.value.index},this.isSelected(e)||"multiple"===this.options.mode?this.toggle(t):this.select(t);o=n.next()}},jt.prototype.select=function(t){var n=[],e=[];return this.lastSelectionStartIndex=t.index,this.isSelected(t.index)||e.push({dataItem:t.data,index:t.index}),this.currentSelection.forEach(function(e){e.index!==t.index&&n.push(e)}),{deselectedRows:n,selectedRows:e}},jt.prototype.deselect=function(e){for(var t,n=this.getIterator(),o=n.next();!o.done;)o.value&&"data"===o.value.type&&o.value.data===e&&(t={dataItem:o.value.data,index:o.value.index},this.isSelected(t.index)&&this.changes.emit({ctrlKey:!1,deselectedRows:[t],selectedRows:[]})),o=n.next()},jt.prototype.addAllTo=function(e,t){for(var n,o,r=[],i=[],a=Math.min(this.lastSelectionStartIndex,e.index),s=Math.max(this.lastSelectionStartIndex,e.index),l=this.getIterator(),c=l.next();!c.done;)c.value&&"data"===c.value.type&&(n=c.value.index,o={dataItem:c.value.data,index:n},(n<a||s<n)&&this.isSelected(n)&&!t&&i.push(o),a<=n&&n<=s&&!this.isSelected(n)&&r.push(o)),c=l.next();return{deselectedRows:i,selectedRows:r}},jt.prototype.updateAll=function(e){this.selectAllChecked=e;for(var t,n,o=[],r=[],i=this.getIterator(),a=i.next();!a.done;)a.value&&"data"===a.value.type&&(t=a.value.index,n={dataItem:a.value.data,index:t},this.isSelected(t)&&!e&&r.push(n),!this.isSelected(t)&&e&&o.push(n)),a=i.next();(o.length||r.length)&&this.changes.emit({ctrlKey:!0,deselectedRows:r,selectedRows:o,shiftKey:!0})},jt.prototype.selectRange=function(e,t){for(var n,o,r=[],i=[],a=Math.min(e,t),s=Math.max(e,t),l=this.getIterator(),c=l.next();!c.done;)c.value&&"data"===c.value.type&&(n=c.value.index,o={dataItem:c.value.data,index:n},(n<a||s<n)&&this.isSelected(n)&&i.push(o),a<=n&&n<=s&&!this.isSelected(n)&&r.push(o)),c=l.next();return{deselectedRows:i,selectedRows:r}},Object.defineProperty(jt.prototype,"selectAllState",{get:function(){return this._selectAllState},enumerable:!1,configurable:!0}),Object.defineProperty(jt.prototype,"selected",{get:function(){return this.currentSelection.map(function(e){return e.index}).filter(function(e){return"number"==typeof e})},enumerable:!1,configurable:!0}),Object.defineProperty(jt.prototype,"options",{get:function(){var e={checkboxOnly:!1,enabled:!0,mode:"multiple"};return V(this.settings)?"boolean"==typeof this.settings.selectable?{checkboxOnly:!1,enabled:this.settings.selectable,mode:"multiple"}:Object.assign(e,this.settings.selectable):e},enumerable:!1,configurable:!0}),jt.prototype.ngOnDestroy=function(){this.removeSubscriptions()},jt.prototype.targetArgs=function(){return{index:this.mouseDownEventArgs.rowIndex,dataItem:this.mouseDownEventArgs.dataItem}},jt.prototype.addSubscriptions=function(){var t=this;this.cellClickSubscription||(this.cellClickSubscription=this.domEvents.cellClick.subscribe(function(e){t.options.enabled&&!t.options.checkboxOnly&&"contextmenu"!==e.type&&t.active&&t.handleClick({index:e.rowIndex,data:e.dataItem},e.originalEvent)})),this.mousedownSubscription||(this.mousedownSubscription=this.domEvents.cellMousedown.subscribe(function(e){t.mouseDownEventArgs=e,!t.options.enabled||t.options.mode&&"multiple"!==t.options.mode||t.options.checkboxOnly||!e.originalEvent.shiftKey||t.active&&(e.originalEvent.preventDefault(),t.navigationService.focusCellByElement(e.originalEvent.target))})),this.localDataChangesService&&!this.dataChangedSubscription&&(this.dataChangedSubscription=this.localDataChangesService.changes.subscribe(function(e){t.active&&V(e.action)&&"remove"===e.action&&t.deselect(e.item)}))},jt.prototype.getIterator=function(){var e=this.settings.view.accessor();if(e)return e[ve]()},jt.prototype.removeSubscriptions=function(){this.cellClickSubscription&&(this.cellClickSubscription.unsubscribe(),this.cellClickSubscription=null),this.mousedownSubscription&&(this.mousedownSubscription.unsubscribe(),this.mousedownSubscription=null),this.dataChangedSubscription&&(this.dataChangedSubscription.unsubscribe(),this.dataChangedSubscription=null)};var Nt=jt;function jt(e,t,n){this.domEvents=e,this.localDataChangesService=t,this.navigationService=n,this.changes=new P.EventEmitter,this.lastSelectionStartIndex=0,this.currentSelection=[],this.selectAllChecked=!1,this.active=!1,this.dragging=!1,this.addSubscriptions()}Nt.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Nt,deps:[{token:we},{token:Se},{token:m}],target:i.ɵɵFactoryTarget.Injectable}),Nt.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Nt}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Nt,decorators:[{type:P.Injectable}],ctorParameters:function(){return[{type:we},{type:Se},{type:m}]}});Object.defineProperty(Bt.prototype,"enableMarquee",{get:function(){var e=this.settings&&"object"==typeof this.settings&&this.settings.checkboxOnly;if(!this.settings||e)return!1;e=this.settings.selectable,e="object"==typeof e&&V(e)&&"multiple"===e.mode&&e.cell&&!1!==e.enabled&&e.drag;return this.active&&e},enumerable:!1,configurable:!0}),Bt.prototype.init=function(n){var o=this;if(this.settings=n,this.currentSelection=[],n.selectable&&!1!==n.selectable.enabled)for(var e=this.getIterator(),r=e.next();!r.done;)!function(){var t;r.value&&"data"===r.value.type&&(t={dataItem:r.value.data,index:r.value.index},n.columns.forEach(function(e){e=n.cellSelected(t,e,e.leafIndex);e.selected&&o.currentSelection.push(e.item)})),r=e.next()}()},Bt.prototype.isCellSelected=function(e,t){return!(!this.settings||!this.active)&&(e=this.settings.cellSelected({dataItem:e.data,index:e.index},t,t.leafIndex),this.options.enabled&&e.selected)},Bt.prototype.handleClick=function(e,t){var n,o,r,i,a,s;this.dragging?this.dragging=!1:(n=t.ctrlKey||t.metaKey,"single"===this.options.mode&&n&&this.isCellSelected(e,e.column)?s=this.toggle(e):"multiple"===this.options.mode&&(n&&!t.shiftKey?s=this.toggle(e):t.shiftKey&&(o=Math.min(this.lastSelectionItemRowIndex,e.index),r=Math.min(this.lastSelectionItemColIndex,e.column.leafIndex),i=Math.max(this.lastSelectionItemRowIndex,e.index),a=Math.max(this.lastSelectionItemColIndex,e.column.leafIndex),s=this.selectRange(o,r,i,a))),V(s)||(s=this.select(e),this.currentSelection=[this.lastSelectionItem]),(s.selectedCells.length||s.deselectedCells.length)&&(s.ctrlKey=n,s.shiftKey=t.shiftKey,this.changes.emit(s)))},Bt.prototype.toggle=function(e){var t=[],n=[];return this.lastSelectionItem=this.settings.cellSelected({dataItem:e.data,index:e.index},e.column,e.column.leafIndex).item,this.lastSelectionItemRowIndex=e.index,this.lastSelectionItemColIndex=e.column.leafIndex,(this.isCellSelected(e,e.column)?n:t).push(this.lastSelectionItem),{deselectedCells:n,selectedCells:t}},Bt.prototype.select=function(e){var t=this,n=[],o=[];return this.lastSelectionItem=this.settings.cellSelected({dataItem:e.data,index:e.index},e.column,e.column.leafIndex).item,this.lastSelectionItemRowIndex=e.index,this.lastSelectionItemColIndex=e.column.leafIndex,this.isCellSelected(e,e.column)||n.push(this.lastSelectionItem),this.currentSelection.forEach(function(e){e.itemKey===t.lastSelectionItem.itemKey&&e.columnKey===t.lastSelectionItem.columnKey||o.push(e)}),{deselectedCells:o,selectedCells:n}},Bt.prototype.deselect=function(e){for(var n,t,o=this,r=this.getIterator(),i=r.next();!i.done;){if(i.value&&"data"===i.value.type&&i.value.data===e){n={dataItem:i.value.data,index:i.value.index};break}i=r.next()}n&&(t=this.currentSelection.filter(function(e){var t=o.settings.cellSelected(n,null,null).item;return e.itemKey===t.itemKey})).length&&this.changes.emit({ctrlKey:!1,deselectedCells:t,selectedCells:[]})},Bt.prototype.selectRange=function(e,t,n,o){for(var i=this,a=[],s=[],l=Math.min(e,n),c=Math.min(t,o),p=Math.max(e,n),u=Math.max(t,o),d=this.getIterator(),g=d.next(),m=this;!g.done;)!function(){var o,r;g.value&&"data"===g.value.type&&(o=g.value.index,r={dataItem:g.value.data,index:o},m.settings.columns.forEach(function(e){var t=i.settings.cellSelected(r,e,e.leafIndex).item,n=i.isCellSelected(g.value,e),e=c<=e.leafIndex&&e.leafIndex<=u,e=l<=o&&o<=p&&e;!e&&n&&s.push(t),e&&!n&&a.push(t)})),g=d.next()}();return{deselectedCells:s,selectedCells:a}},Object.defineProperty(Bt.prototype,"options",{get:function(){var e={checkboxOnly:!1,enabled:!0,mode:"multiple"};return V(this.settings)?"boolean"==typeof this.settings.selectable?{checkboxOnly:!1,enabled:this.settings.selectable,mode:"multiple"}:Object.assign(e,this.settings.selectable):e},enumerable:!1,configurable:!0}),Bt.prototype.ngOnDestroy=function(){this.removeSubscriptions()},Bt.prototype.addSubscriptions=function(){var t=this;this.cellClickSubscription||(this.cellClickSubscription=this.domEvents.cellClick.subscribe(function(e){t.options.enabled&&!t.options.checkboxOnly&&"contextmenu"!==e.type&&t.active&&t.handleClick({index:e.rowIndex,data:e.dataItem,column:e.column},e.originalEvent)})),this.mousedownSubscription||(this.mousedownSubscription=this.domEvents.cellMousedown.subscribe(function(e){t.mouseDownEventArgs=e,!t.options.enabled||t.options.mode&&"multiple"!==t.options.mode||t.options.checkboxOnly||!e.originalEvent.shiftKey||t.active&&(e.originalEvent.preventDefault(),t.navigationService.focusCellByElement(e.originalEvent.target))})),this.localDataChangesService&&!this.dataChangedSubscription&&(this.dataChangedSubscription=this.localDataChangesService.changes.subscribe(function(e){t.active&&V(e.action)&&"remove"===e.action&&t.deselect(e.item)}))},Bt.prototype.getIterator=function(){var e=this.settings.view.accessor();if(e)return e[ve]()},Bt.prototype.removeSubscriptions=function(){this.cellClickSubscription&&(this.cellClickSubscription.unsubscribe(),this.cellClickSubscription=null),this.mousedownSubscription&&(this.mousedownSubscription.unsubscribe(),this.mousedownSubscription=null),this.dataChangedSubscription&&(this.dataChangedSubscription.unsubscribe(),this.dataChangedSubscription=null)};var At=Bt;function Bt(e,t,n){this.domEvents=e,this.localDataChangesService=t,this.navigationService=n,this.changes=new P.EventEmitter,this.mouseUpEvent=new P.EventEmitter,this.currentSelection=[],this.active=!1,this.dragging=!1,this.dragSelectDeselect=!1,this.lastSelectionItem={itemKey:0,columnKey:0},this.lastSelectionItemRowIndex=0,this.lastSelectionItemColIndex=0,this.addSubscriptions()}At.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:At,deps:[{token:we},{token:Se},{token:m}],target:i.ɵɵFactoryTarget.Injectable}),At.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:At}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:At,decorators:[{type:P.Injectable}],ctorParameters:function(){return[{type:we},{type:Se},{type:m}]}});var Ht={topLeft:{x:2,y:2},topRight:{x:-2,y:2},bottomLeft:{x:2,y:-2},bottomRight:{x:-2,y:-2}},$t=(Object.defineProperty(Kt.prototype,"webkitUserSelection",{get:function(){return this.cellSelection.enableMarquee||this.selection.enableMarquee?"none":null},enumerable:!1,configurable:!0}),Object.defineProperty(Kt.prototype,"userSelection",{get:function(){return this.cellSelection.enableMarquee||this.selection.enableMarquee},enumerable:!1,configurable:!0}),Kt.prototype.ngOnInit=function(){this.subscriptions=this.draggable.kendoPress.subscribe(this.start.bind(this)),this.subscriptions.add(this.draggable.kendoDrag.subscribe(this.moveMarquee.bind(this)))},Kt.prototype.ngOnDestroy=function(){this.subscriptions.unsubscribe(),this.clean()},Kt.prototype.start=function(e){e.originalEvent.target.classList.contains("k-checkbox")?this.pressArgs=null:(this.pressArgs=e,this.pressTarget=null)},Kt.prototype.moveMarquee=function(e){this.pressTarget||(this.pressTarget=(this.cellSelection.active?this.cellSelection:this.selection).mouseDownEventArgs);var t=this.pressArgs;if(t){if(!this.selectionStarted){if(!(5<Math.sqrt(Math.pow(e.pageX-t.pageX,2)+Math.pow(e.pageY-t.pageY,2))))return;this.selectionStarted=!0,this.dragEndSubscription=b.merge(this.domEvents.cellMouseup.pipe(G.take(1)),this.draggable.kendoRelease.pipe(G.delay(1),G.take(1))).subscribe(this.endSelection.bind(this))}this.initMarquee();var n=this.marqueeElement,o=this.getMarqueeQuadrant(e.pageX,e.pageY,t.pageX,t.pageY),r=Math.min(e.pageX,t.pageX),i=Math.min(e.pageY,t.pageY),a=Math.abs(e.pageX-t.pageX),e=Math.abs(e.pageY-t.pageY);o&&(r+=Ht[o].x,i+=Ht[o].y),n.style.left=r+"px",n.style.top=i+"px",n.style.width=a+"px",n.style.height=e+"px"}},Kt.prototype.endSelection=function(e){"mouseup"!==e.type&&"touchend"!==e.type||(this.cellSelection.active?(this.cellSelection.dragging=!0,this.cellSelection.changes.emit(this.cellSelection.selectRange(this.pressTarget.rowIndex,this.pressTarget.column.leafIndex,e.rowIndex,e.column.leafIndex))):this.selection.active&&(this.selection.dragging=!0,this.selection.changes.emit(this.selection.selectRange(this.pressTarget.rowIndex,e.rowIndex)))),this.clean()},Kt.prototype.clean=function(){this.marqueeElement&&(document.body.removeChild(this.marqueeElement),this.marqueeElement=null),this.dragEndSubscription&&this.dragEndSubscription.unsubscribe(),this.dragEndSubscription=null,this.pressTarget=null,this.pressArgs=null,this.selectionStarted=!1,this.cellSelection.active?this.cellSelection.dragging=!1:this.selection.dragging=!1},Kt.prototype.initMarquee=function(){var e,t;this.marqueeElement||(this.marqueeElement=((e=document.createElement("div")).className="k-marquee",(t=document.createElement("div")).className="k-marquee-color",e.appendChild(t),e),document.body.appendChild(this.marqueeElement))},Kt.prototype.getMarqueeQuadrant=function(e,t,n,o){var r=e<n,n=n<e,e=t<o,o=o<t;return r&&e?"topLeft":r&&o?"bottomLeft":n&&e?"topRight":n&&o?"bottomRight":null},Kt);function Kt(e,t,n,o){this.draggable=e,this.selection=t,this.cellSelection=n,this.domEvents=o,this.selectionStarted=!1}$t.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:$t,deps:[{token:X.DraggableDirective},{token:Nt},{token:At},{token:we}],target:i.ɵɵFactoryTarget.Directive}),$t.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:$t,selector:"[kendoGridSelectionMarquee]",host:{properties:{"style.-webkit-user-select":"this.webkitUserSelection","class.user-select-none":"this.userSelection"}},ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:$t,decorators:[{type:P.Directive,args:[{selector:"[kendoGridSelectionMarquee]"}]}],ctorParameters:function(){return[{type:X.DraggableDirective},{type:Nt},{type:At},{type:we}]},propDecorators:{webkitUserSelection:[{type:P.HostBinding,args:["style.-webkit-user-select"]}],userSelection:[{type:P.HostBinding,args:["class.user-select-none"]}]}});c(Wt,qt=P.EventEmitter),Wt.prototype.subscribe=function(t,n,e){var o,r=this,i=function(e){return null},a=function(){return null};return t&&"object"==typeof t?(o=function(e){r.ngZone.run(function(){return t.next(e)})},t.error&&(i=function(e){r.ngZone.run(function(){return t.error(e)})}),t.complete&&(a=function(){r.ngZone.run(function(){return t.complete()})})):(o=function(e){r.ngZone.run(function(){return t(e)})},n&&(i=function(e){r.ngZone.run(function(){return n(e)})}),e&&(a=function(){r.ngZone.run(function(){return e()})})),qt.prototype.subscribe.call(this,o,i,a)};var qt,_t=Wt;function Wt(e,t){t=qt.call(this,t=void 0===t?!1:t)||this;return t.ngZone=e,t}var Zt={name:"@progress/kendo-angular-grid",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1654095302,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"},Ut=function(e){this.templateRef=e},Qt=(Ut.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ut,deps:[{token:i.TemplateRef,optional:!0}],target:i.ɵɵFactoryTarget.Directive}),Ut.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:Ut,selector:"[kendoGridCellTemplate]",ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ut,decorators:[{type:P.Directive,args:[{selector:"[kendoGridCellTemplate]"}]}],ctorParameters:function(){return[{type:i.TemplateRef,decorators:[{type:P.Optional}]}]}}),function(e){this.templateRef=e}),Xt=(Qt.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Qt,deps:[{token:i.TemplateRef,optional:!0}],target:i.ɵɵFactoryTarget.Directive}),Qt.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:Qt,selector:"[kendoGridGroupHeaderTemplate]",ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Qt,decorators:[{type:P.Directive,args:[{selector:"[kendoGridGroupHeaderTemplate]"}]}],ctorParameters:function(){return[{type:i.TemplateRef,decorators:[{type:P.Optional}]}]}}),function(e){this.templateRef=e}),Yt=(Xt.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Xt,deps:[{token:i.TemplateRef,optional:!0}],target:i.ɵɵFactoryTarget.Directive}),Xt.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:Xt,selector:"[kendoGridGroupHeaderColumnTemplate]",ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Xt,decorators:[{type:P.Directive,args:[{selector:"[kendoGridGroupHeaderColumnTemplate]"}]}],ctorParameters:function(){return[{type:i.TemplateRef,decorators:[{type:P.Optional}]}]}}),function(e){this.templateRef=e}),Jt=(Yt.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Yt,deps:[{token:i.TemplateRef,optional:!0}],target:i.ɵɵFactoryTarget.Directive}),Yt.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:Yt,selector:"[kendoGridEditTemplate]",ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Yt,decorators:[{type:P.Directive,args:[{selector:"[kendoGridEditTemplate]"}]}],ctorParameters:function(){return[{type:i.TemplateRef,decorators:[{type:P.Optional}]}]}}),function(e){this.templateRef=e}),en=(Jt.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Jt,deps:[{token:i.TemplateRef,optional:!0}],target:i.ɵɵFactoryTarget.Directive}),Jt.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:Jt,selector:"[kendoGridGroupFooterTemplate]",ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Jt,decorators:[{type:P.Directive,args:[{selector:"[kendoGridGroupFooterTemplate]"}]}],ctorParameters:function(){return[{type:i.TemplateRef,decorators:[{type:P.Optional}]}]}}),function(e){this.templateRef=e}),tn=(en.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:en,deps:[{token:i.TemplateRef,optional:!0}],target:i.ɵɵFactoryTarget.Directive}),en.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:en,selector:"[kendoGridHeaderTemplate]",ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:en,decorators:[{type:P.Directive,args:[{selector:"[kendoGridHeaderTemplate]"}]}],ctorParameters:function(){return[{type:i.TemplateRef,decorators:[{type:P.Optional}]}]}}),function(e){this.templateRef=e}),nn=(tn.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:tn,deps:[{token:i.TemplateRef,optional:!0}],target:i.ɵɵFactoryTarget.Directive}),tn.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:tn,selector:"[kendoGridFooterTemplate]",ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:tn,decorators:[{type:P.Directive,args:[{selector:"[kendoGridFooterTemplate]"}]}],ctorParameters:function(){return[{type:i.TemplateRef,decorators:[{type:P.Optional}]}]}}),function(e){this.templateRef=e}),on=(nn.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:nn,deps:[{token:i.TemplateRef,optional:!0}],target:i.ɵɵFactoryTarget.Directive}),nn.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:nn,selector:"[kendoGridColumnMenuTemplate]",ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:nn,decorators:[{type:P.Directive,args:[{selector:"[kendoGridColumnMenuTemplate]"}]}],ctorParameters:function(){return[{type:i.TemplateRef,decorators:[{type:P.Optional}]}]}}),0),f=(rn.prototype.gridId=function(){return this.prefix},rn.prototype.cellId=function(e,t){return this.prefix+"-r"+e+"c"+t},rn.prototype.selectionCheckboxId=function(e){return this.prefix+"-checkbox"+e},rn.prototype.selectAllCheckboxId=function(){return this.prefix+"-select-all"},rn);function rn(){this.prefix="k-grid"+on++}f.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:f,deps:[],target:i.ɵɵFactoryTarget.Injectable}),f.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:f}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:f,decorators:[{type:P.Injectable}],ctorParameters:function(){return[]}});function an(e){return e.isCheckboxColumn}var sn=function(e){return e.isSpanColumn},y=(Object.defineProperty(ln.prototype,"leafIndex",{get:function(){return this._leafIndex},set:function(e){this._leafIndex=e},enumerable:!1,configurable:!0}),Object.defineProperty(ln.prototype,"width",{get:function(){return this._width},set:function(e){var t;"string"==typeof e?(t=this._width=parseInt(e,10),P.isDevMode()&&console.warn('Expected numeric value for column width, but got a string "'+e+'". Treating as '+t+"px.")):this._width=e},enumerable:!1,configurable:!0}),Object.defineProperty(ln.prototype,"locked",{get:function(){return this._locked},set:function(e){this._locked=e},enumerable:!1,configurable:!0}),Object.defineProperty(ln.prototype,"level",{get:function(){return this.parent&&sn(this.parent)?this.parent.level:this.parent?this.parent.level+1:0},enumerable:!1,configurable:!0}),Object.defineProperty(ln.prototype,"isLocked",{get:function(){return this.parent?this.parent.isLocked:this.locked},enumerable:!1,configurable:!0}),Object.defineProperty(ln.prototype,"colspan",{get:function(){return 1},enumerable:!1,configurable:!0}),ln.prototype.rowspan=function(e){return this.level<e?e-this.level+1:1},Object.defineProperty(ln.prototype,"headerTemplateRef",{get:function(){var e=this.headerTemplates.first;return e?e.templateRef:void 0},enumerable:!1,configurable:!0}),Object.defineProperty(ln.prototype,"footerTemplateRef",{get:function(){return this.footerTemplate?this.footerTemplate.templateRef:void 0},enumerable:!1,configurable:!0}),Object.defineProperty(ln.prototype,"columnMenuTemplateRef",{get:function(){var e=this.columnMenuTemplates.first;return e?e.templateRef:null},enumerable:!1,configurable:!0}),Object.defineProperty(ln.prototype,"displayTitle",{get:function(){return this.title},enumerable:!1,configurable:!0}),Object.defineProperty(ln.prototype,"isVisible",{get:function(){return!this.hidden&&this.matchesMedia},enumerable:!1,configurable:!0}),ln);function ln(e,t){if(this.parent=e,this.matchesMedia=!0,this.orderIndex=0,this.isColumnGroup=!1,this.isSpanColumn=!1,this.resizable=!0,this.reorderable=!0,this.minResizableWidth=10,this._locked=!1,this.sticky=!1,this.lockable=!0,this.stickable=!0,this.columnMenu=!0,this.includeInChooser=!0,this.headerTemplates=new P.QueryList,this.columnMenuTemplates=new P.QueryList,this.idService=t,e&&t&&e.idService.gridId()===t.gridId()&&(!(t=e).isColumnGroup&&!sn(t)))throw new Error("Columns can be nested only inside ColumnGroupComponent")}y.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:y,deps:[{token:y},{token:f}],target:i.ɵɵFactoryTarget.Component}),y.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:y,selector:"kendo-grid-column-base",inputs:{resizable:"resizable",reorderable:"reorderable",minResizableWidth:"minResizableWidth",title:"title",width:"width",autoSize:"autoSize",locked:"locked",sticky:"sticky",hidden:"hidden",media:"media",lockable:"lockable",stickable:"stickable",columnMenu:"columnMenu",includeInChooser:"includeInChooser",style:"style",headerStyle:"headerStyle",filterStyle:"filterStyle",footerStyle:"footerStyle",cssClass:["class","cssClass"],headerClass:"headerClass",filterClass:"filterClass",footerClass:"footerClass"},queries:[{propertyName:"footerTemplate",first:!0,predicate:tn,descendants:!0},{propertyName:"headerTemplates",predicate:en},{propertyName:"columnMenuTemplates",predicate:nn}],ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:y,decorators:[{type:P.Component,args:[{selector:"kendo-grid-column-base",template:""}]}],ctorParameters:function(){return[{type:y},{type:f}]},propDecorators:{resizable:[{type:P.Input}],reorderable:[{type:P.Input}],minResizableWidth:[{type:P.Input}],title:[{type:P.Input}],width:[{type:P.Input}],autoSize:[{type:P.Input}],locked:[{type:P.Input}],sticky:[{type:P.Input}],hidden:[{type:P.Input}],media:[{type:P.Input}],lockable:[{type:P.Input}],stickable:[{type:P.Input}],columnMenu:[{type:P.Input}],includeInChooser:[{type:P.Input}],style:[{type:P.Input}],headerStyle:[{type:P.Input}],filterStyle:[{type:P.Input}],footerStyle:[{type:P.Input}],cssClass:[{type:P.Input,args:["class"]}],headerClass:[{type:P.Input}],filterClass:[{type:P.Input}],footerClass:[{type:P.Input}],headerTemplates:[{type:P.ContentChildren,args:[en,{descendants:!1}]}],footerTemplate:[{type:P.ContentChild,args:[tn,{static:!1}]}],columnMenuTemplates:[{type:P.ContentChildren,args:[nn]}]}});var cn=function(e){this.templateRef=e},pn=(cn.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:cn,deps:[{token:i.TemplateRef,optional:!0}],target:i.ɵɵFactoryTarget.Directive}),cn.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:cn,selector:"[kendoGridFilterCellTemplate]",ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:cn,decorators:[{type:P.Directive,args:[{selector:"[kendoGridFilterCellTemplate]"}]}],ctorParameters:function(){return[{type:i.TemplateRef,decorators:[{type:P.Optional}]}]}}),function(e){this.templateRef=e});function un(e){return V(e.field)}pn.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:pn,deps:[{token:i.TemplateRef,optional:!0}],target:i.ɵɵFactoryTarget.Directive}),pn.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:pn,selector:"[kendoGridFilterMenuTemplate]",ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:pn,decorators:[{type:P.Directive,args:[{selector:"[kendoGridFilterMenuTemplate]"}]}],ctorParameters:function(){return[{type:i.TemplateRef,decorators:[{type:P.Optional}]}]}});c(mn,dn=y),Object.defineProperty(mn.prototype,"templateRef",{get:function(){return this.template?this.template.templateRef:void 0},enumerable:!1,configurable:!0}),Object.defineProperty(mn.prototype,"groupHeaderTemplateRef",{get:function(){return this.groupHeaderTemplate?this.groupHeaderTemplate.templateRef:void 0},enumerable:!1,configurable:!0}),Object.defineProperty(mn.prototype,"groupHeaderColumnTemplateRef",{get:function(){return this.groupHeaderColumnTemplate?this.groupHeaderColumnTemplate.templateRef:void 0},enumerable:!1,configurable:!0}),Object.defineProperty(mn.prototype,"groupFooterTemplateRef",{get:function(){return this.groupFooterTemplate?this.groupFooterTemplate.templateRef:void 0},enumerable:!1,configurable:!0}),Object.defineProperty(mn.prototype,"editTemplateRef",{get:function(){return this.editTemplate?this.editTemplate.templateRef:void 0},enumerable:!1,configurable:!0}),Object.defineProperty(mn.prototype,"filterCellTemplateRef",{get:function(){return this.filterCellTemplate?this.filterCellTemplate.templateRef:void 0},enumerable:!1,configurable:!0}),Object.defineProperty(mn.prototype,"filterMenuTemplateRef",{get:function(){return this.filterMenuTemplate?this.filterMenuTemplate.templateRef:void 0},enumerable:!1,configurable:!0}),Object.defineProperty(mn.prototype,"displayTitle",{get:function(){return void 0===this.title?this.field:this.title},enumerable:!1,configurable:!0});var dn,gn=mn;function mn(e,t){e=dn.call(this,e,t)||this;return e.sortable=!0,e.groupable=!0,e.editor="text",e.filter="text",e.filterable=!0,e.editable=!0,e}function hn(e){return e.isSpanColumn}gn.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:gn,deps:[{token:y,host:!0,optional:!0,skipSelf:!0},{token:f,optional:!0}],target:i.ɵɵFactoryTarget.Component}),gn.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:gn,selector:"kendo-grid-column",inputs:{field:"field",format:"format",sortable:"sortable",groupable:"groupable",editor:"editor",filter:"filter",filterable:"filterable",editable:"editable"},providers:[{provide:y,useExisting:P.forwardRef(function(){return gn})}],queries:[{propertyName:"template",first:!0,predicate:Ut,descendants:!0},{propertyName:"groupHeaderTemplate",first:!0,predicate:Qt,descendants:!0},{propertyName:"groupHeaderColumnTemplate",first:!0,predicate:Xt,descendants:!0},{propertyName:"groupFooterTemplate",first:!0,predicate:Jt,descendants:!0},{propertyName:"editTemplate",first:!0,predicate:Yt,descendants:!0},{propertyName:"filterCellTemplate",first:!0,predicate:cn,descendants:!0},{propertyName:"filterMenuTemplate",first:!0,predicate:pn,descendants:!0}],usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:gn,decorators:[{type:P.Component,args:[{providers:[{provide:y,useExisting:P.forwardRef(function(){return gn})}],selector:"kendo-grid-column",template:""}]}],ctorParameters:function(){return[{type:y,decorators:[{type:P.SkipSelf},{type:P.Host},{type:P.Optional}]},{type:f,decorators:[{type:P.Optional}]}]},propDecorators:{field:[{type:P.Input}],format:[{type:P.Input}],sortable:[{type:P.Input}],groupable:[{type:P.Input}],editor:[{type:P.Input}],filter:[{type:P.Input}],filterable:[{type:P.Input}],editable:[{type:P.Input}],template:[{type:P.ContentChild,args:[Ut,{static:!1}]}],groupHeaderTemplate:[{type:P.ContentChild,args:[Qt,{static:!1}]}],groupHeaderColumnTemplate:[{type:P.ContentChild,args:[Xt,{static:!1}]}],groupFooterTemplate:[{type:P.ContentChild,args:[Jt,{static:!1}]}],editTemplate:[{type:P.ContentChild,args:[Yt,{static:!1}]}],filterCellTemplate:[{type:P.ContentChild,args:[cn,{static:!1}]}],filterMenuTemplate:[{type:P.ContentChild,args:[pn,{static:!1}]}]}});c(vn,fn=y),Object.defineProperty(vn.prototype,"editable",{get:function(){return V(this.editTemplateRef)&&this._editable},set:function(e){this._editable=e},enumerable:!1,configurable:!0}),Object.defineProperty(vn.prototype,"width",{get:function(){return this.childColumns.reduce(function(e,t){return e+t.width},0)},set:function(e){},enumerable:!1,configurable:!0}),Object.defineProperty(vn.prototype,"leafIndex",{get:function(){return this.childColumns.first.leafIndex},enumerable:!1,configurable:!0}),Object.defineProperty(vn.prototype,"templateRef",{get:function(){var e=this.template.first;return e?e.templateRef:void 0},enumerable:!1,configurable:!0}),Object.defineProperty(vn.prototype,"editTemplateRef",{get:function(){var e=this.editTemplate.first;return e?e.templateRef:void 0},enumerable:!1,configurable:!0}),Object.defineProperty(vn.prototype,"colspan",{get:function(){return this.childColumns.filter(function(e){return e.isVisible}).length},enumerable:!1,configurable:!0}),Object.defineProperty(vn.prototype,"locked",{get:function(){return this._locked||this.childColumns.some(function(e){return e.locked})},set:function(e){this._locked=e},enumerable:!1,configurable:!0}),Object.defineProperty(vn.prototype,"childrenArray",{get:function(){return this.childColumns.toArray()},enumerable:!1,configurable:!0}),Object.defineProperty(vn.prototype,"hasChildren",{get:function(){return 0<this.childColumns.length},enumerable:!1,configurable:!0});var fn,yn=vn;function vn(e,t){t=fn.call(this,e,t)||this;if(t.isSpanColumn=!0,t.template=new P.QueryList,t.editTemplate=new P.QueryList,t.childColumns=new P.QueryList,t.includeInChooser=!1,t._editable=!0,e&&e.isSpanColumn)throw new Error("SpanColumn cannot be nested inside another SpanColumn");return t}yn.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:yn,deps:[{token:y,host:!0,optional:!0,skipSelf:!0},{token:f,optional:!0}],target:i.ɵɵFactoryTarget.Component}),yn.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:yn,selector:"kendo-grid-span-column",inputs:{editable:"editable",locked:"locked"},providers:[{provide:y,useExisting:P.forwardRef(function(){return yn})}],queries:[{propertyName:"template",predicate:Ut},{propertyName:"editTemplate",predicate:Yt},{propertyName:"childColumns",predicate:gn}],usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:yn,decorators:[{type:P.Component,args:[{providers:[{provide:y,useExisting:P.forwardRef(function(){return yn})}],selector:"kendo-grid-span-column",template:""}]}],ctorParameters:function(){return[{type:y,decorators:[{type:P.SkipSelf},{type:P.Host},{type:P.Optional}]},{type:f,decorators:[{type:P.Optional}]}]},propDecorators:{template:[{type:P.ContentChildren,args:[Ut,{descendants:!1}]}],editTemplate:[{type:P.ContentChildren,args:[Yt,{descendants:!1}]}],childColumns:[{type:P.ContentChildren,args:[gn]}],editable:[{type:P.Input}],locked:[{type:P.Input}]}});function bn(e){return e.reduce(function(e,t){return e.concat(hn(t)?t.childrenArray:[t])},[])}function kn(e){return e.reduce(function(e,t){return e.concat(hn(t)?[t].concat(t.childrenArray):[t])},[])}function Cn(e){return bn(e).filter(function(e){return e.isVisible})}function In(n){return function(e){return(e||[]).reduce(function(e,t){return e+(t[n]||0)},0)}}function xn(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return Fn(t).some(e)}var wn=In("width"),Sn=In("colspan"),Dn=new RegExp("^[$A-Z_a-z][$A-Z_a-z0-9\\.]*$"),Tn=function(t){return t.children.filter(function(e){return e!==t})},Fn=function(e){return e.reduce(function(e,t){return t.isColumnGroup?e=e.concat(Fn(Tn(t))):t.isSpanColumn?e=e.concat(t.childrenArray):e.push(t),e},[]).filter(function(e){return e.isVisible})},On=function(e){return j.orderBy(e,[{field:"orderIndex",dir:"asc"}])},En=function(e){return fe(e.parent)&&hn(e.parent)};function Rn(e){return e.isColumnGroup}c(Gn,Ln=y),Gn.prototype.rowspan=function(){return 1},Object.defineProperty(Gn.prototype,"colspan",{get:function(){var t=this;return this.children&&1!==this.children.length?Sn(this.children.filter(function(e){return e!==t&&e.isVisible})):1},enumerable:!1,configurable:!0}),Object.defineProperty(Gn.prototype,"leafIndex",{get:function(){return this.children?(this.firstChild||{}).leafIndex:-1},enumerable:!1,configurable:!0}),Object.defineProperty(Gn.prototype,"childrenArray",{get:function(){var t=this;return this.children.filter(function(e){return e!==t})},enumerable:!1,configurable:!0}),Object.defineProperty(Gn.prototype,"hasChildren",{get:function(){return Boolean(this.firstChild)},enumerable:!1,configurable:!0}),Object.defineProperty(Gn.prototype,"firstChild",{get:function(){var t=this;return this.children.find(function(e){return e!==t})},enumerable:!1,configurable:!0});var Ln,Pn=Gn;function Gn(e,t){t=Ln.call(this,e,t)||this;if(t.parent=e,t.includeInChooser=!1,t.isColumnGroup=!0,t.minResizableWidth=10,e&&e.isSpanColumn)throw new Error("ColumnGroupComponent cannot be nested inside SpanColumnComponent");return t}Pn.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Pn,deps:[{token:y,host:!0,optional:!0,skipSelf:!0},{token:f,optional:!0}],target:i.ɵɵFactoryTarget.Component}),Pn.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Pn,selector:"kendo-grid-column-group",providers:[{provide:y,useExisting:P.forwardRef(function(){return Pn})}],queries:[{propertyName:"children",predicate:y}],usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Pn,decorators:[{type:P.Component,args:[{providers:[{provide:y,useExisting:P.forwardRef(function(){return Pn})}],selector:"kendo-grid-column-group",template:""}]}],ctorParameters:function(){return[{type:y,decorators:[{type:P.SkipSelf},{type:P.Host},{type:P.Optional}]},{type:f,decorators:[{type:P.Optional}]}]},propDecorators:{children:[{type:P.ContentChildren,args:[y]}]}});Object.defineProperty(Mn.prototype,"showIf",{get:function(){return this._condition},set:function(e){if("function"!=typeof e)throw new Error("showIf must be a function, but received "+JSON.stringify(e)+".");this._condition=e},enumerable:!1,configurable:!0});var Vn=Mn;function Mn(e){this.templateRef=e,this._condition=function(){return!0}}Vn.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Vn,deps:[{token:i.TemplateRef,optional:!0}],target:i.ɵɵFactoryTarget.Directive}),Vn.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:Vn,selector:"[kendoGridDetailTemplate]",inputs:{showIf:["kendoGridDetailTemplateShowIf","showIf"]},ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Vn,decorators:[{type:P.Directive,args:[{selector:"[kendoGridDetailTemplate]"}]}],ctorParameters:function(){return[{type:i.TemplateRef,decorators:[{type:P.Optional}]}]},propDecorators:{showIf:[{type:P.Input,args:["kendoGridDetailTemplateShowIf"]}]}});function zn(){return p.isDocumentAvailable()&&document.createElement}var Nn,jn=null,An=null;Hn.prototype.ngOnDestroy=function(){this.subscriptions&&(this.subscriptions.unsubscribe(),this.subscriptions=null)},Object.defineProperty(Hn.prototype,"scrollbarWidth",{get:function(){return null===jn&&zn()&&(Nn=window.devicePixelRatio||1,(e=document.createElement("div")).style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",e.innerHTML=" ",document.body.appendChild(e),jn=e.offsetWidth-e.scrollWidth,document.body.removeChild(e)),jn;var e},enumerable:!1,configurable:!0}),Object.defineProperty(Hn.prototype,"rtlScrollLeft",{get:function(){return null===An&&zn()&&((e=document.createElement("div")).style.cssText="overflow:scroll;zoom:1;clear:both;display:block;width:100px;visibility:hidden;position:absolute;left:-10000px;direction:rtl;",e.innerHTML="<div style='width:200px;height:1px;'</div>",document.body.appendChild(e),t=e.scrollLeft,e.scrollLeft=-1,An=e.scrollLeft<0?e.scrollLeft:t,document.body.removeChild(e)),An;var e,t},enumerable:!1,configurable:!0});var Bn=Hn;function Hn(e,t){var n=this;this.zone=e,this.changeDetector=t,this.changes=new P.EventEmitter,"undefined"!=typeof window&&this.zone.runOutsideAngular(function(){n.subscriptions=b.fromEvent(window,"resize").pipe(G.auditTime(100)).subscribe(function(){Nn!==window.devicePixelRatio&&e.run(function(){jn=null,n.changes.emit(),n.changeDetector.markForCheck()})})})}Bn.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Bn,deps:[{token:i.NgZone},{token:i.ChangeDetectorRef}],target:i.ɵɵFactoryTarget.Injectable}),Bn.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Bn}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Bn,decorators:[{type:P.Injectable}],ctorParameters:function(){return[{type:i.NgZone},{type:i.ChangeDetectorRef}]}});function $n(e,t){var n,o=t.footers,r=t.level,i=t.dataIndex,a=t.parentGroupIndex,s=t.groupIndex,t=t.parentGroup,l=e[0];return V(l)&&Kn(l)?(void 0!==(n=l).offset&&void 0!==n.skipHeader&&(s=V(l.offset)?l.offset:s),new Jn(e,o,r,i,a,s,t)):new Xn(e,i,a,t)}var Kn=function(e){return void 0!==e.items&&void 0!==e.field},qn=function(e){return e.reduce(function(e,t){return Kn(t)?e.concat(qn(t.items)):e.concat([t])},[])},_n=(Wn.prototype[ve]=function(){return this},Wn.prototype.next=function(){return this.idx<this.arr.length?{done:!1,value:this.arr[this.idx++]}:{done:!0,value:void 0}},Wn);function Wn(e,t){void 0===t&&(t=0),this.arr=e,this.idx=t,this.arr=e||[]}Un.prototype[ve]=function(){return this},Un.prototype.next=function(){return this.resultMap(this._innerIterator.next(),this.dataIndex++)};var Zn=Un;function Un(e,t,n){void 0===n&&(n=function(e){return e}),this.dataIndex=t=void 0===t?0:t,this.resultMap=n;t=e[ve];this._innerIterator=t?e[ve]():new _n(e)}c(Yn,Qn=Zn),Object.defineProperty(Yn.prototype,"index",{get:function(){return this.dataIndex},enumerable:!1,configurable:!0});var Qn,Xn=Yn;function Yn(e,t,n,o){return Qn.call(this,e,t,function(e,t){return{done:e.done,value:{data:e.value,groupIndex:n,index:t,type:"data",group:o}}})||this}eo.prototype[ve]=function(){return this},eo.prototype.nextGroupItem=function(){return this.current=this._iterator.next().value,this._innerIterator=null,this.current?(this.currentGroupIndex=(e=this.parentIndex,t=this.groupIndex++,""+(e&&e+"_")+t),{done:!1,value:{data:this.current,index:this.currentGroupIndex,level:this.level,type:"group",parentGroup:this.parentGroup}}):{done:!(this.current=null),value:void 0};var e,t},eo.prototype.footerItem=function(){var e;return this.current?(e=this.current,this.current=null,{done:!1,value:{data:e,groupIndex:this.currentGroupIndex,level:this.level,type:"footer",group:{data:e,index:this.currentGroupIndex,level:this.level,type:"group",parentGroup:this.parentGroup}}}):{done:!(this.current=null),value:void 0}},eo.prototype.innerIterator=function(e){return this._innerIterator||(this._innerIterator=$n(e.items,{dataIndex:this.dataIndex,footers:this.outputFooters,level:this.level+1,parentGroupIndex:this.currentGroupIndex,parentGroup:{data:this.current,index:this.currentGroupIndex,level:this.level,type:"group",parentGroup:this.parentGroup}})),this._innerIterator},eo.prototype.nextDataItem=function(e){e=this.innerIterator(e).next();return V(e.value)&&!e.done&&"data"===e.value.type&&(this.dataIndex=e.value.index+1),e.done?void 0:e},eo.prototype.next=function(){if(!V(this.current))return this.nextGroupItem();var e=this.nextDataItem(this.current);return e||(this.outputFooters?this.footerItem():this.nextGroupItem())},Object.defineProperty(eo.prototype,"index",{get:function(){return this.dataIndex+1},enumerable:!1,configurable:!0});var Jn=eo;function eo(e,t,n,o,r,i,a){void 0===t&&(t=!1),void 0===n&&(n=0),void 0===o&&(o=0),void 0===r&&(r=""),void 0===i&&(i=0),void 0===a&&(a=void 0),this.arr=e,this.outputFooters=t,this.level=n,this.dataIndex=o,this.parentIndex=r,this.groupIndex=i,this.parentGroup=a,this.currentGroupIndex="",this.arr=e||[],this._iterator=new Zn(this.arr,this.dataIndex)}no.prototype.isGridDataResult=function(e){return void 0!==e.total&&void 0!==e.data},Object.defineProperty(no.prototype,"total",{get:function(){return this.isObject?this.source.total:this.source.length},enumerable:!1,configurable:!0}),Object.defineProperty(no.prototype,"data",{get:function(){return this.isObject?this.source.data:this.source},enumerable:!1,configurable:!0}),no.prototype.map=function(e){return this.data.map(e)},no.prototype.filter=function(e){return this.data.filter(e)},no.prototype.reduce=function(e,t){return this.data.reduce(e,t)},no.prototype.forEach=function(e){this.data.forEach(e)},no.prototype.some=function(e){return this.data.some(e)},no.prototype[ve]=function(){return $n(this.data,{dataIndex:this.skip,footers:this.groupFooters,groupIndex:this.skip})},no.prototype.toString=function(){return this.data.toString()};var to=no;function no(e,t,n){void 0===t&&(t=0),void 0===n&&(n=!1),this.source=e,this.skip=t,this.groupFooters=n,this.source=this.source||[],this.isObject=this.isGridDataResult(this.source)}Object.defineProperty(ro.prototype,"total",{get:function(){return this.accessor().total},enumerable:!1,configurable:!0}),Object.defineProperty(ro.prototype,"length",{get:function(){return this.accessor().data.length},enumerable:!1,configurable:!0}),Object.defineProperty(ro.prototype,"first",{get:function(){return this.accessor().data[0]},enumerable:!1,configurable:!0}),Object.defineProperty(ro.prototype,"last",{get:function(){return this.accessor().data[this.length-1]},enumerable:!1,configurable:!0}),ro.prototype.at=function(e){return t=this.accessor().data,e=e,n=t[0],(V(n)&&Kn(n)?qn(t):t)[e];var t,n},ro.prototype.map=function(e){return this.accessor().map(e)},ro.prototype.filter=function(e){return this.accessor().filter(e)},ro.prototype.reduce=function(e,t){return this.accessor().reduce(e,t)},ro.prototype.forEach=function(e){this.accessor().forEach(e)},ro.prototype.some=function(e){return this.accessor().some(e)},ro.prototype[ve]=function(){return this.accessor()[ve]()},ro.prototype.toString=function(){return this.accessor().toString()};var oo=ro;function ro(e){this.accessor=e}Object.defineProperty(ao.prototype,"size",{get:function(){return this.totalKeysCount},enumerable:!1,configurable:!0}),ao.prototype.add=function(e,t){this.keysX.has(e)||this.keysX.set(e,new Set),this.has(e,t)||(this.keysX.get(e).add(t),this.totalKeysCount+=1)},ao.prototype.delete=function(e,t){this.has(e,t)&&(this.keysX.get(e).delete(t),--this.totalKeysCount)},ao.prototype.has=function(e,t){return this.keysX.has(e)&&this.keysX.get(e).has(t)},ao.prototype.clear=function(){this.keysX.clear(),this.totalKeysCount=0},ao.prototype.toArray=function(r,i){return Array.from(this.keysX).reduce(function(n,e){var e=k(e,2),o=e[0],e=e[1];return Array.from(e).forEach(function(e){var t;return n.push(((t={})[r]=o,t[i]=e,t))}),n},[])};var io=ao;function ao(e,t,n){var o=this;this.keysX=new Map,this.totalKeysCount=0,e&&t&&n&&e.forEach(function(e){return o.add(e[t],e[n])})}var so=function(){},lo=(so.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:so,deps:[],target:i.ɵɵFactoryTarget.Injectable}),so.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:so}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:so,decorators:[{type:P.Injectable}]}),Object.defineProperty(co.prototype,"isCellSelectionMode",{get:function(){return V(this.ctx.grid.selectable)&&this.ctx.grid.selectable.cell},enumerable:!1,configurable:!0}),co.prototype.ngOnChanges=function(e){V(e.selectedKeys)&&this.lastSelectionState!==this.selectedKeys&&this.setState(this.selectedKeys)},co.prototype.init=function(){var o=this;V(this.ctx.grid.rowSelected)||(this.ctx.grid.rowSelected=function(e){return o.rowSelectionState.has(o.getItemKey(e))}),V(this.ctx.grid.cellSelected)||(this.ctx.grid.cellSelected=function(e,t,n){e=o.getSelectionItem(e,t,n);return{selected:o.cellSelectionState.has(e.itemKey,e.columnKey),item:e}}),this.selectionChangeSubscription=this.ctx.grid.selectionChange.subscribe(this.onSelectionChange.bind(this))},co.prototype.destroy=function(){this.selectionChangeSubscription.unsubscribe()},co.prototype.reset=function(){this.rowSelectionState.clear(),this.cellSelectionState.clear()},co.prototype.getItemKey=function(e){if(this.selectionKey){if("string"==typeof this.selectionKey)return e.dataItem[this.selectionKey];if("function"==typeof this.selectionKey)return this.selectionKey(e)}return e.index},co.prototype.getSelectionItem=function(e,t,n){var o={};return o.itemKey=this.getItemKey(e),V(t)||V(n)?(this.columnKey&&("string"==typeof this.columnKey&&(o.columnKey=e.dataItem[this.columnKey]),"function"==typeof this.columnKey&&(o.columnKey=this.columnKey(t,n))),{itemKey:o.itemKey,columnKey:o.columnKey||n}):o},co.prototype.onSelectionChange=function(e){var n=this;e.selectedRows?(e.deselectedRows.forEach(function(e){e=n.getItemKey(e);n.rowSelectionState.delete(e)}),"single"===this.ctx.grid.selectableSettings.mode&&0<this.rowSelectionState.size&&this.reset(),e.selectedRows.forEach(function(e){e=n.getItemKey(e);n.rowSelectionState.add(e)})):(e.deselectedCells.forEach(function(e){var t=e.itemKey,e=e.columnKey;n.cellSelectionState.delete(t,e)}),"single"===this.ctx.grid.selectableSettings.mode&&0<this.cellSelectionState.size&&this.reset(),e.selectedCells.forEach(function(e){var t=e.itemKey,e=e.columnKey;n.cellSelectionState.add(t,e)})),this.cd.markForCheck(),this.notifyChange()},co.prototype.notifyChange=function(){this.lastSelectionState=this.stateToArray(),this.selectedKeysChange.emit(this.lastSelectionState)},co.prototype.setState=function(e){this.reset(),this.isCellSelectionMode?this.cellSelectionState=new io(e,"itemKey","columnKey"):this.rowSelectionState=new Set(e)},co.prototype.stateToArray=function(){return this.isCellSelectionMode?this.cellSelectionState.toArray("itemKey","columnKey"):Array.from(this.rowSelectionState)},co);function co(e,t){this.ctx=e,this.cd=t,this.selectedKeys=[],this.selectedKeysChange=new P.EventEmitter,this.rowSelectionState=new Set,this.cellSelectionState=new io,this.init()}lo.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:lo,deps:[{token:so},{token:i.ChangeDetectorRef}],target:i.ɵɵFactoryTarget.Directive}),lo.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:lo,selector:"kendo-grid-selection-base",inputs:{selectedKeys:"selectedKeys",selectionKey:["kendoGridSelectBy","selectionKey"],columnKey:"columnKey"},outputs:{selectedKeysChange:"selectedKeysChange"},usesOnChanges:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:lo,decorators:[{type:P.Directive,args:[{selector:"kendo-grid-selection-base"}]}],ctorParameters:function(){return[{type:so},{type:i.ChangeDetectorRef}]},propDecorators:{selectedKeys:[{type:P.Input}],selectionKey:[{type:P.Input,args:["kendoGridSelectBy"]}],columnKey:[{type:P.Input}],selectedKeysChange:[{type:P.Output}]}});uo.prototype.refresh=function(){var r=this,e=this.totalLevels,i=new Array,a=new Array,s=new Array,l=new Array,c=new Array,p=new Array,u=new Array,d=new Array,g=new Array,m=!1,h=!1,f=!1,y=0,v=0,e=(this.totalLevels=0,this.columns().forEach(function(e){var t=!0===e.isLocked?a:s,n=!0===e.isLocked?l:c,o=!0===e.isLocked?d:g;Rn(e)||(t.push(e),i.push(e),u.push.apply(u,Cn([e])),o.push.apply(o,Cn([e])),m=m||xn(function(e){return Boolean(e.groupHeaderColumnTemplateRef)},e),h=h||xn(function(e){return Boolean(e.groupFooterTemplateRef)},e),f=f||xn(function(e){return Boolean(e.footerTemplateRef)},e),e.isLocked||(y+=e.width||0),e.isSpanColumn?e.childColumns.forEach(function(e){e.leafIndex=v++}):e.leafIndex=v++),n.push(e),p.push(e),r.totalLevels=e.level>r.totalLevels?e.level:r.totalLevels}),this.hasGroupHeaderColumn=m,this.hasGroupFooter=h,this.hasFooter=f,this.leafColumnsToRender=u,this.lockedColumnsToRender=d,this.nonLockedColumnsToRender=g,this.unlockedWidth=y,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=!1,o=0;o<e.length;o++){var r=k(e[o],2),i=r[0],r=r[1],n=n||i.length!==r.length;i.reset(r)}return n}([this.leafColumns,i],[this.lockedLeafColumns,a],[this.nonLockedLeafColumns,s],[this.lockedColumns,l],[this.allColumns,p],[this.nonLockedColumns,c])||e!==this.totalLevels);return e&&this.changes.emit(),e};var po=uo;function uo(e){this.columns=e,this.allColumns=new P.QueryList,this.leafColumns=new P.QueryList,this.lockedColumns=new P.QueryList,this.nonLockedColumns=new P.QueryList,this.lockedLeafColumns=new P.QueryList,this.nonLockedLeafColumns=new P.QueryList,this.totalLevels=0,this.changes=new P.EventEmitter,this.leafColumnsToRender=[],this.lockedColumnsToRender=[],this.nonLockedColumnsToRender=[],this.hasGroupHeaderColumn=!1,this.hasGroupFooter=!1,this.hasFooter=!1,this.unlockedWidth=0}function go(e,t){e.forEach(function(e){t(e),e.isColumnGroup&&e.hasChildren&&go(e.childrenArray,t)})}function mo(e,t){On(e).forEach(function(e){t(e),e.isColumnGroup&&e.hasChildren&&mo(e.childrenArray,t)})}function ho(e,n){var o=[];return On(e).forEach(function(e){var t;n(e)&&(e.isColumnGroup?(t=ho(e.childrenArray,n)).length&&o.push.apply(o,g([e],k(t))):e.isSpanColumn&&!ho(e.childrenArray,n).length||o.push(e))}),o}yo.empty=function(){return new yo(new P.QueryList)},yo.prototype.forEach=function(e){go(this.columns,e)},yo.prototype.filter=function(t){var n=[];return go(this.columns,function(e){t(e)&&n.push(e)}),n},yo.prototype.filterHierarchy=function(e){return ho(this.columns.toArray(),e)},yo.prototype.filterSort=function(t){var n=[];return mo(this.columns.toArray(),function(e){t(e)&&n.push(e)}),n},yo.prototype.toArray=function(){var t=[];return go(this.columns,function(e){t.push(e)}),t},yo.prototype.rootColumns=function(){return this.columns.toArray()},yo.prototype.totalColumnLevels=function(){var t=0;return this.forEach(function(e){t=Math.max(e.level,t)}),t};var fo=yo;function yo(e){this.columns=e}Object.defineProperty(bo.prototype,"columns",{get:function(){return bn(this._columnList().toArray()).filter(un)},enumerable:!1,configurable:!0}),bo.prototype.registerColumnsContainer=function(e){this._columnList=e},bo.prototype.formatForGroup=function(e){e=this.columnForGroup(e);return e?e.format:""},bo.prototype.isGroupable=function(t){var e=k(this.columns.filter(function(e){return e.field===t}),1)[0];return!e||e.groupable},bo.prototype.groupTitle=function(e){var t=this.columnForGroup(e);return t?t.title||t.field:this.groupField(e)},bo.prototype.groupHeaderTemplate=function(e){e=this.columnForGroup(e);return e?e.groupHeaderTemplateRef||e.groupHeaderColumnTemplateRef:void 0},bo.prototype.groupField=function(e){return(e.data||e).field},bo.prototype.columnForGroup=function(e){var t=this.groupField(e);return k(this.columns.filter(function(e){return e.field===t}),1)[0]};var vo=bo;function bo(){this._columnList=fo.empty}Co.prototype.notify=function(){var e=this;this.subscription&&!this.subscription.closed||(this.subscription=this.ngZone.onStable.asObservable().pipe(G.take(1)).subscribe(function(){return e.changes.emit()}))};var ko=Co;function Co(e){this.ngZone=e,this.changes=new P.EventEmitter}ko.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ko,deps:[{token:i.NgZone}],target:i.ɵɵFactoryTarget.Injectable}),ko.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ko}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ko,decorators:[{type:P.Injectable}],ctorParameters:function(){return[{type:i.NgZone}]}});function Io(e,t){var n,o=document.activeElement,r=function(e,t){for(var n=[],o=0,r=e.length;o<r&&t[o];o++)n.push([e[o],t[o]]);return n}(e.rows,t.rows),i=(r.filter(function(e){var e=k(e,2),t=e[0],e=e[1];return t.style.height||e.style.height}).forEach(wo("")),r.map(function(e){var e=k(e,2),t=e[0],e=e[1],t=t.offsetHeight,e=e.offsetHeight;return t<e?e:t}));[e,t].forEach(function(e){return e.style.display="none"}),r.forEach((n=i,function(e,t){return wo(n[t]+1+"px")(e)})),[e,t].forEach(function(e){return e.style.display=""}),document.activeElement!==o&&(e.contains(o)||t.contains(o))&&o.focus()}var xo=function(e){this.templateRef=e},wo=(xo.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:xo,deps:[{token:i.TemplateRef,optional:!0}],target:i.ɵɵFactoryTarget.Directive}),xo.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:xo,selector:"[kendoGridNoRecordsTemplate]",ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:xo,decorators:[{type:P.Directive,args:[{selector:"[kendoGridNoRecordsTemplate]"}]}],ctorParameters:function(){return[{type:i.TemplateRef,decorators:[{type:P.Optional}]}]}}),function(t){return function(e){return e.forEach(function(e){return e.style.height=t})}}),So=function(){this.isColumnMenu=!1,this.isPopupOpen=!1},v=(So.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:So,deps:[],target:i.ɵɵFactoryTarget.Injectable}),So.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:So}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:So,decorators:[{type:P.Injectable}]}),Do.prototype.filter=function(e){this.changes.next(e)},Do);function Do(e){this.changes=new b.Subject,this.menuTabbingService=e}v.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:v,deps:[{token:So,optional:!0}],target:i.ɵɵFactoryTarget.Injectable}),v.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:v}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:v,decorators:[{type:P.Injectable}],ctorParameters:function(){return[{type:So,decorators:[{type:P.Optional}]}]}});var To=function(e){this.templateRef=e},Fo=(To.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:To,deps:[{token:i.TemplateRef,optional:!0}],target:i.ɵɵFactoryTarget.Directive}),To.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:To,selector:"[kendoPagerTemplate]",ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:To,decorators:[{type:P.Directive,args:[{selector:"[kendoPagerTemplate]"}]}],ctorParameters:function(){return[{type:i.TemplateRef,decorators:[{type:P.Optional}]}]}}),Oo.prototype.save=function(e){this.emitEvent(this.savePDF,e)},Oo.prototype.draw=function(e,t){this.emitEvent(this.drawPDF,{component:e,promise:t})},Oo.prototype.emitEvent=function(e,t){if(0===e.observers.length){if(P.isDevMode())throw new Error("Creating PDF requires including the PDFModule and adding the <kendo-grid-pdf> component.")}else e.emit(t)},Oo);function Oo(){this.savePDF=new P.EventEmitter,this.drawPDF=new P.EventEmitter,this.exportClick=new P.EventEmitter,this.dataChanged=new P.EventEmitter}Fo.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Fo,deps:[],target:i.ɵɵFactoryTarget.Injectable}),Fo.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Fo}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Fo,decorators:[{type:P.Injectable}]});c(Lo,Eo=tt);var Eo,Ro=Lo;function Lo(){return Eo.call(this)||this}function Po(e){return window.matchMedia(e).matches}var Go=function(){this.scroll=!1},Vo=(Go.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Go,deps:[],target:i.ɵɵFactoryTarget.Injectable}),Go.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Go}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Go,decorators:[{type:P.Injectable}]}),Mo.prototype.matchesMedia=function(e){return!e||this.matchMedia({xs:"(max-width: 576px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)"}[e=e]||e)},Mo);function Mo(){this.matchMedia=Po}Vo.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Vo,deps:[],target:i.ɵɵFactoryTarget.Injectable}),Vo.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Vo}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Vo,decorators:[{type:P.Injectable}]});No.prototype.save=function(e){if(0===this.saveToExcel.observers.length){if(P.isDevMode())throw new Error("Saving excel requires including the ExcelModule and adding the <kendo-grid-excel> component.")}else this.saveToExcel.emit(e)};var zo=No;function No(){this.saveToExcel=new P.EventEmitter,this.exportClick=new P.EventEmitter}zo.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:zo,deps:[],target:i.ɵɵFactoryTarget.Injectable}),zo.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:zo}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:zo,decorators:[{type:P.Injectable}]});Object.defineProperty(Ao.prototype,"position",{get:function(){return this._position},set:function(e){this._position=e},enumerable:!1,configurable:!0});var jo=Ao;function Ao(e){this.templateRef=e,this._position="top"}jo.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:jo,deps:[{token:i.TemplateRef,optional:!0}],target:i.ɵɵFactoryTarget.Directive}),jo.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:jo,selector:"[kendoGridToolbarTemplate]",inputs:{position:"position"},ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:jo,decorators:[{type:P.Directive,args:[{selector:"[kendoGridToolbarTemplate]"}]}],ctorParameters:function(){return[{type:i.TemplateRef,decorators:[{type:P.Optional}]}]},propDecorators:{position:[{type:P.Input,args:["position"]}]}});Ho.prototype.registerEmitter=function(n,o){var r=this;this.unregister(o),this.elements.push({element:n,sourceType:o}),"body"!==o&&"header"!==o||this.ngZone.runOutsideAngular(function(){var e=b.fromEvent(n,"scroll").pipe(G.map(function(e){return{scrollLeft:e.target.scrollLeft,sourceType:o}})),t=e.pipe(G.distinctUntilChanged(function(e,t){return e.scrollLeft===t.scrollLeft}),G.filter(function(e){return!r.source||r.source===e.sourceType}),G.tap(function(e){return r.source=e.sourceType})).subscribe(function(e){return r.changes.next(e)});t.add(e.pipe(G.filter(function(e){return r.source&&r.source!==e.sourceType})).subscribe(function(){return r.source=void 0})),("body"===o?r.bodySubscription:r.headerSubscription).add(t)})},Ho.prototype.destroy=function(){this.subscriptions.unsubscribe(),this.headerSubscription.unsubscribe(),this.bodySubscription.unsubscribe()},Ho.prototype.scrollLeft=function(e){var t=this,n=e.scrollLeft,o=e.sourceType;this.ngZone.runOutsideAngular(function(){t.elements.filter(function(e){return o!==e.sourceType}).forEach(function(e){return e.element.scrollLeft=n})})},Ho.prototype.unregister=function(t){var e=this.elements.findIndex(function(e){return e.sourceType===t});-1<e&&("header"===t?(this.headerSubscription.unsubscribe(),this.headerSubscription=new b.Subscription):"body"===t&&(this.bodySubscription.unsubscribe(),this.bodySubscription=new b.Subscription),this.elements.splice(e,1))};var Bo=Ho;function Ho(e){var t=this;this.ngZone=e,this.changes=new b.Subject,this.elements=[],this.subscriptions=new b.Subscription,this.headerSubscription=new b.Subscription,this.bodySubscription=new b.Subscription,this.subscriptions.add(this.changes.subscribe(function(e){return t.scrollLeft(e)}))}Bo.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Bo,deps:[{token:i.NgZone}],target:i.ɵɵFactoryTarget.Injectable}),Bo.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Bo}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Bo,decorators:[{type:P.Injectable}],ctorParameters:function(){return[{type:i.NgZone}]}});Ko.prototype.connect=function(e){this.resizeSubscription.add(e.subscribe(this.dispatcher))},Ko.prototype.destroy=function(){this.resizeSubscription&&this.resizeSubscription.unsubscribe()};var $o=Ko;function Ko(){this.resizeSubscription=new b.Subscription(function(){}),this.dispatcher=new b.Subject,this.changes=this.dispatcher.asObservable().pipe(G.throttleTime(100))}$o.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:$o,deps:[],target:i.ɵɵFactoryTarget.Injectable}),$o.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:$o}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:$o,decorators:[{type:P.Injectable}]});function qo(e){return e.parent?qo(e.parent):!!e.locked}function _o(e,t){return Object.assign({columns:Fn([e]),locked:qo(e)},t)}Zo.prototype.start=function(e){this.trackColumns(e);e=(this.column.isColumnGroup?[e]:[]).concat(Fn([e]));this.changes.emit({columns:e,locked:qo(this.column),type:"start"})},Zo.prototype.resizeColumns=function(e){e=_o(this.column,{deltaPercent:e,type:"resizeColumn"});this.changes.emit(e)},Zo.prototype.resizeTable=function(e,t){e=_o(e,{delta:t,type:"resizeTable"});this.changes.emit(e)},Zo.prototype.resizedColumn=function(e){this.resizedColumns.push(e)},Zo.prototype.end=function(){this.changes.emit({columns:[],resizedColumns:this.resizedColumns,type:"end"})},Zo.prototype.registerTable=function(e){var t=this;this.tables.push(e);return function(){t.tables.splice(t.tables.indexOf(e),1)}},Zo.prototype.measureColumns=function(e){var t,n=this;null!==this.batch?(t=this.batch).push.apply(t,g([],k(e))):this.autoFitBatch(e,function(){return n.end()})},Zo.prototype.autoFit=function(){for(var t=this,n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var o=n.filter(function(e){return!e.isLocked});this.autoFitStart(o),this.autoFitBatch(this.batch,function(){var e;o.length<n.length?(e=n.filter(function(e){return e.isLocked}),t.autoFitStart(e),t.autoFitBatch(t.batch,function(){return t.end()})):t.end()})},Zo.prototype.trackColumns=function(e){this.resizedColumns=[],this.column=e},Zo.prototype.autoFitStart=function(e){var t;this.batch=[],this.resizedColumns=[],0!==e.length&&(t=e[0].isLocked,this.changes.emit({type:"start",columns:e,locked:t}),this.changes.emit({type:"triggerAutoFit",columns:e,locked:t}))},Zo.prototype.autoFitBatch=function(t,n){var o=this,r=0<t.length&&t[0].column.isLocked,e=this.tables.filter(function(e){return e.locked===r}).map(function(e){return e.autoFit(t)});b.zip.apply(void 0,g([],k(e))).pipe(G.take(1)).subscribe(function(e){o.changes.emit({columns:t.map(function(e){return e.column}),type:"autoFitComplete",widths:e,locked:r}),n&&n()}),this.batch=null};var Wo=Zo;function Zo(){this.changes=new P.EventEmitter,this.tables=[],this.batch=null}Wo.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Wo,deps:[],target:i.ɵɵFactoryTarget.Injectable}),Wo.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Wo}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Wo,decorators:[{type:P.Injectable}]});function Uo(e){return"string"==typeof e&&-1<e.indexOf("menu")}function Qo(e){return!0===e||"string"==typeof e&&-1<e.indexOf("row")}c(Jo,Xo=tt);var Xo,Yo=Jo;function Jo(e){var t=Xo.call(this)||this;return t.originalEvent=e,t}tr.prototype.open=function(e,t,n,o){void 0===o&&(o="k-grid-filter-popup");var n=V(n)&&this.popupRef===n;return this.destroy(),n||(n=this.localization.rtl?"right":"left",this.popupRef=this.popupService.open({anchorAlign:{vertical:"bottom",horizontal:n},popupAlign:{vertical:"top",horizontal:n},anchor:e,popupClass:o,content:t,positionMode:"absolute"}),this.renderer.setAttribute(this.popupRef.popupElement,"dir",this.localization.rtl?"rtl":"ltr"),this.attachClose(e)),this.popupRef},tr.prototype.destroy=function(){this.popupRef&&(this.detachClose(),this.popupRef.close(),this.popupRef=null)},tr.prototype.ngOnDestroy=function(){this.destroy(),this.scrollSubscription.unsubscribe()},tr.prototype.detachClose=function(){this.removeClick&&this.removeClick()},tr.prototype.attachClose=function(t){var n=this;this.detachClose(),this.ngZone.runOutsideAngular(function(){return n.removeClick=n.renderer.listen("document","click",function(e){!function(e,t){for(;e;){if(t(e))return!0;e=e.parentNode}return!1}(e.target,function(e){return n.popupRef.popupElement===e||e===t})&&(e=new Yo(e),n.onClose.next(e),e.isDefaultPrevented()||n.destroy())})})};var er=tr;function tr(e,t,n,o,r){var i=this;this.popupService=e,this.renderer=t,this.ngZone=n,this.localization=r,this.onClose=new b.Subject,this.scrollSubscription=o.changes.subscribe(function(){return i.destroy()})}er.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:er,deps:[{token:Y.PopupService},{token:i.Renderer2},{token:i.NgZone},{token:Bo},{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Injectable}),er.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:er}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:er,decorators:[{type:P.Injectable}],ctorParameters:function(){return[{type:Y.PopupService},{type:i.Renderer2},{type:i.NgZone},{type:Bo},{type:a.LocalizationService}]}});function nr(e){var t=!1;return function(){return t||(document.body.appendChild(e),t=!0),e}}function or(e){var t=(n=ar(e)).clientTop,n=n.clientLeft,o=(r=sr(e)).pageYOffset,r=r.pageXOffset;return{top:(e=e.getBoundingClientRect()).top+o-t,left:e.left+r-n}}function rr(e,t){return 0!=(4&t.compareDocumentPosition(e))}function ir(e,t){var n=or(e),o=e.offsetWidth,e=e.offsetHeight;return{left:n.left+(t?0:o),top:n.top,height:e}}var ar=function(e){return e.ownerDocument.documentElement},sr=function(e){return e.ownerDocument.defaultView},lr=(cr.prototype.add=function(e){this.register.push(e)},cr.prototype.remove=function(t){this.register=this.register.filter(function(e){return e!==t})},cr.prototype.notifyDrag=function(e,t,n){t=this.targetFor(t);this.lastTarget!==t&&(this.changes.next({draggable:e,mouseEvent:n,target:this.lastTarget,type:"leave"}),t&&this.changes.next({draggable:e,mouseEvent:n,target:t,type:"enter"}),this.lastTarget=t)},cr.prototype.notifyDrop=function(e,t){this.changes.next({draggable:e,mouseEvent:t,target:this.lastTarget,type:"drop"}),this.lastTarget=null},cr.prototype.targetFor=function(e){var t=function(e,t){return e===t||0!=(16&t.compareDocumentPosition(e))}.bind(null,e);return this.register.find(function(e){e=e.element.nativeElement;return t(e)})},cr);function cr(){this.changes=new P.EventEmitter,this.register=[],this.lastTarget=null}lr.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:lr,deps:[],target:i.ɵɵFactoryTarget.Injectable}),lr.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:lr}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:lr,decorators:[{type:P.Injectable}]});function pr(e,t){(e=e.querySelector(".k-icon")).className=e.className.replace(/(plus|cancel)/,t?"plus":"cancel")}function ur(e,t){void 0===t&&(t=null),e=e.querySelectorAll(".k-icon")[1],t=null===t?"":t?"k-i-lock":"k-i-unlock",e.className=e.className.replace(/(k-i-unlock|k-i-lock)/,"")+" "+t}gr.prototype.create=function(e){this.dom=document.createElement("div"),(t=this.dom).className="k-header k-drag-clue",t.style.position="absolute",t.style.zIndex="20000";var t=this.santizer.sanitize(P.SecurityContext.HTML,e);this.dom.innerHTML='\n <span class="k-icon k-drag-status k-i-cancel k-icon-with-modifier">\n <span class="k-icon k-icon-modifier"></span>\n </span>\n '+t+"\n "},gr.prototype.attach=function(){return nr(this.dom)},gr.prototype.remove=function(){var e;this.dom&&this.dom.parentNode&&(e=this.dom,setTimeout(function(){return document.body.removeChild(e)}),this.dom=null)},gr.prototype.show=function(){this.dom.style.display=""},gr.prototype.hide=function(){this.dom.style.display="none"},gr.prototype.enable=function(){pr(this.dom,!0)},gr.prototype.disable=function(){pr(this.dom,!1)},gr.prototype.removeLock=function(){ur(this.dom)},gr.prototype.toggleLock=function(e){ur(this.dom,e)},gr.prototype.move=function(e){this.dom.style.top=e.pageY+"px",this.dom.style.left=e.pageX+"px"};var dr=gr;function gr(e){this.santizer=e}dr.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:dr,deps:[{token:J.DomSanitizer}],target:i.ɵɵFactoryTarget.Injectable}),dr.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:dr}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:dr,decorators:[{type:P.Injectable}],ctorParameters:function(){return[{type:J.DomSanitizer}]}});hr.prototype.create=function(){this.dom=document.createElement("div"),this.dom.className="k-grouping-dropclue",this.hide()},hr.prototype.attach=function(){return nr(this.dom)},hr.prototype.remove=function(){this.dom&&this.dom.parentElement&&(document.body.removeChild(this.dom),this.dom=null)},hr.prototype.hide=function(){this.dom.style.display="none"},hr.prototype.position=function(e){var t=e.left,n=e.top,e=e.height,e=(this.dom.style.display="block",this.dom.style.height=e+"px",this.dom.style.top=n+"px",this.dom.offsetWidth/2);this.dom.style.left=t-e+"px"};var mr=hr;function hr(){}mr.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:mr,deps:[],target:i.ɵɵFactoryTarget.Injectable}),mr.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:mr}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:mr,decorators:[{type:P.Injectable}]});yr.prototype.reorder=function(e){this.changes.emit(e)};var fr=yr;function yr(){this.changes=new P.EventEmitter}fr.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:fr,deps:[],target:i.ɵɵFactoryTarget.Injectable}),fr.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:fr}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:fr,decorators:[{type:P.Injectable}]});c(kr,vr=tt);var vr,br=kr;function kr(e){var t=e.column,n=e.newIndex,e=e.oldIndex,o=vr.call(this)||this;return o.column=t,o.newIndex=n,o.oldIndex=e,o}Object.defineProperty(Ir.prototype,"maxLogicalRowIndex",{get:function(){var e=this.hasDetailTemplate?2*this.dataRows:this.dataRows;return this.headerRows+e-1},enumerable:!1,configurable:!0});var Cr=Ir;function Ir(e,t,n,o,r,i,a,s){this.dataRows=e,this.headerRows=t,this.isVirtual=n,this.hasPager=o,this.hasDetailTemplate=r,this.gridElement=i,this.virtualColumns=a,this.columns=s}var xr={left:"0px",right:"0px"},C=(Object.defineProperty(wr.prototype,"lockedLeafColumns",{get:function(){return this.columnsContainer.lockedLeafColumns},enumerable:!1,configurable:!0}),Object.defineProperty(wr.prototype,"nonLockedLeafColumns",{get:function(){return this.columnsContainer.nonLockedLeafColumns},enumerable:!1,configurable:!0}),Object.defineProperty(wr.prototype,"isLocked",{get:function(){return 0<this.lockedLeafColumns.length},enumerable:!1,configurable:!0}),Object.defineProperty(wr.prototype,"totalLevels",{get:function(){return this.columnsContainer.totalLevels},enumerable:!1,configurable:!0}),Object.defineProperty(wr.prototype,"hiddenColumns",{get:function(){return this.list?this.list().filter(function(e){return!e.isVisible}):[]},enumerable:!1,configurable:!0}),Object.defineProperty(wr.prototype,"leafNamedColumns",{get:function(){var e=bn(this.list().filterSort(function(e){return!e.isColumnGroup})).filter(function(e){return e.matchesMedia&&e.displayTitle});return j.orderBy(e,[{field:"locked",dir:"desc"}])},enumerable:!1,configurable:!0}),Object.defineProperty(wr.prototype,"unlockedRootCount",{get:function(){return this.list().rootColumns().filter(function(e){return!e.locked&&e.isVisible}).length},enumerable:!1,configurable:!0}),wr.prototype.stickyColumnsStyles=function(n){if(this.stickyColumns||(this.stickyColumns=this.list().rootColumns().filter(function(e){return e.sticky&&!e.locked&&e.isVisible})),0===this.stickyColumns.length)return xr;var e=this.stickyColumns.reduce(function(e,t){return t.leafIndex<n.leafIndex?e.left+=t.width:t.leafIndex>n.leafIndex&&(e.right+=t.width),e},{left:0,right:0});return{left:e.left+"px",right:e.right+"px"}},wr.prototype.init=function(e,t){this.columnsContainer=e,this.list=t,this.stickyColumns=null},wr.prototype.changeVisibility=function(e){this.stickyColumns=null,this.visibilityChange.emit(e)},wr.prototype.changeLocked=function(e){this.stickyColumns=null,this.lockedChange.emit(e)},wr.prototype.changeStuck=function(e){this.stickyColumns=null,this.stickyChange.emit(e)},wr);function wr(){this.visibilityChange=new P.EventEmitter,this.lockedChange=new P.EventEmitter,this.stickyChange=new P.EventEmitter,this.columnRangeChange=new P.EventEmitter,this.columnsContainer=new po(function(){return[]})}C.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:C,deps:[],target:i.ɵɵFactoryTarget.Injectable}),C.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:C}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:C,decorators:[{type:P.Injectable}]});Dr.prototype.sort=function(e){this.changes.next(e)};var Sr=Dr;function Dr(){this.changes=new b.Subject}var Tr=function(e){this.columns=e},Fr=function(e){this.columns=e};function Or(e,t){return"data"===t.type&&t.isEditing?t.data:e}var Er=function(e){this.columns=e},Rr=function(e){this.templateRef=e},Lr=(Rr.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Rr,deps:[{token:i.TemplateRef,optional:!0}],target:i.ɵɵFactoryTarget.Directive}),Rr.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:Rr,selector:"[kendoGridCellLoadingTemplate]",ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Rr,decorators:[{type:P.Directive,args:[{selector:"[kendoGridCellLoadingTemplate]"}]}],ctorParameters:function(){return[{type:i.TemplateRef,decorators:[{type:P.Optional}]}]}}),function(e){this.templateRef=e}),Pr=(Lr.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Lr,deps:[{token:i.TemplateRef}],target:i.ɵɵFactoryTarget.Directive}),Lr.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:Lr,selector:"[kendoGridLoadingTemplate]",ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Lr,decorators:[{type:P.Directive,args:[{selector:"[kendoGridLoadingTemplate]"}]}],ctorParameters:function(){return[{type:i.TemplateRef}]}}),Object.defineProperty(Gr.prototype,"position",{set:function(e){this.context.position=e},enumerable:!1,configurable:!0}),Object.defineProperty(Gr.prototype,"toolbarTemplateRef",{get:function(){return this.ctx.grid.toolbarTemplate?this.ctx.grid.toolbarTemplate.templateRef:void 0},enumerable:!1,configurable:!0}),Gr);function Gr(e){this.ctx=e,this.context={}}Pr.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Pr,deps:[{token:so}],target:i.ɵɵFactoryTarget.Component}),Pr.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Pr,selector:"kendo-grid-toolbar",inputs:{position:"position"},ngImport:i,template:'\n <ng-template\n *ngIf="toolbarTemplateRef"\n [ngTemplateOutlet]="toolbarTemplateRef"\n [ngTemplateOutletContext]="context"\n >\n </ng-template>\n ',isInline:!0,directives:[{type:s.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{type:s.NgTemplateOutlet,selector:"[ngTemplateOutlet]",inputs:["ngTemplateOutletContext","ngTemplateOutlet"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Pr,decorators:[{type:P.Component,args:[{selector:"kendo-grid-toolbar",template:'\n <ng-template\n *ngIf="toolbarTemplateRef"\n [ngTemplateOutlet]="toolbarTemplateRef"\n [ngTemplateOutletContext]="context"\n >\n </ng-template>\n '}]}],ctorParameters:function(){return[{type:so}]},propDecorators:{position:[{type:P.Input}]}});function Vr(e){return Mr(!0===e?{}:e)}var Mr=function(e){var t=e.buttonCount,n=e.info,o=e.type,r=e.pageSizes,r=void 0!==r&&r,i=e.previousNext,a=e.responsive,e=e.position;return{buttonCount:void 0===t?10:t,info:void 0===n||n,pageSizes:!0===r?[5,10,20]:r,previousNext:void 0===i||i,type:void 0===o?"numeric":o,responsive:void 0===a||a,position:void 0===e?"bottom":e}},zr=(Object.defineProperty(Nr.prototype,"focusableChildren",{get:function(){return this.children.filter(function(e){return e.canFocus()})},enumerable:!1,configurable:!0}),Object.defineProperty(Nr.prototype,"isActive",{get:function(){return this.active},enumerable:!1,configurable:!0}),Nr.prototype.ngOnDestroy=function(){this.root.unregisterGroup(this)},Nr.prototype.registerElement=function(e){this.unregisterElement(e),this.children.push(e)},Nr.prototype.unregisterElement=function(t){this.children=this.children.filter(function(e){return e!==t})},Nr.prototype.isNavigable=function(){var e=this.focusableChildren;return 1===e.length&&e[0].isNavigable()},Nr.prototype.canFocus=function(){return 0<this.focusableChildren.length},Nr.prototype.focus=function(){this.canFocus()&&!this.hasFocus()&&this.focusableChildren[0].focus()},Nr.prototype.activate=function(){this.toggleState(!0)},Nr.prototype.deactivate=function(){this.toggleState(!1)},Nr.prototype.hasFocus=function(){return this.children.reduce(function(e,t){return e||t.hasFocus()},!1)},Nr.prototype.toggleState=function(t){this.active!==t&&(this.active=t,this.children.forEach(function(e){return e.toggle(t)}))},Nr);function Nr(e){this.root=e,this.active=!0,this.children=[],this.root.registerGroup(this)}zr.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:zr,deps:[{token:dt}],target:i.ɵɵFactoryTarget.Injectable}),zr.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:zr}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:zr,decorators:[{type:P.Injectable}],ctorParameters:function(){return[{type:dt}]}});Object.defineProperty(jr.prototype,"currentPage",{get:function(){return Math.floor((this.skip||0)/this.pageSize)+1},enumerable:!1,configurable:!0}),Object.defineProperty(jr.prototype,"totalPages",{get:function(){return Math.ceil((this.total||0)/this.pageSize)},enumerable:!1,configurable:!0}),jr.prototype.textFor=function(e){return this.localization.get(e)},jr.prototype.changePage=function(e){return this.pagerContext.changePage(e),!1},jr.prototype.ngOnInit=function(){var e=this;this.subscriptions=this.pagerContext.changes.subscribe(this.onChanges.bind(this)),this.subscriptions.add(this.localization.changes.subscribe(function(){return e.cd.markForCheck()}))},jr.prototype.ngOnDestroy=function(){this.subscriptions&&this.subscriptions.unsubscribe()};var I=jr;function jr(e,t,n){this.localization=e,this.pagerContext=t,this.cd=n,this.total=this.pagerContext.total,this.skip=this.pagerContext.skip,this.pageSize=this.pagerContext.pageSize}I.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:I,deps:[{token:a.LocalizationService},{token:Ze},{token:i.ChangeDetectorRef}],target:i.ɵɵFactoryTarget.Component}),I.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:I,selector:"kendo-pager-element-base",ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:I,decorators:[{type:P.Component,args:[{selector:"kendo-pager-element-base",template:""}]}],ctorParameters:function(){return[{type:a.LocalizationService},{type:Ze},{type:i.ChangeDetectorRef}]}});c(Hr,Ar=I),Object.defineProperty(Hr.prototype,"disabled",{get:function(){return 1===this.currentPage||!this.total},enumerable:!1,configurable:!0}),Hr.prototype.onChanges=function(e){var t=e.total,n=e.skip,e=e.pageSize;this.total=t,this.skip=n,this.pageSize=e,this.cd.markForCheck()};var Ar,Br=Hr;function Hr(e,t,n,o){e=Ar.call(this,e,t,n)||this;return e.navigationService=o,e}Br.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Br,deps:[{token:a.LocalizationService},{token:Ze},{token:i.ChangeDetectorRef},{token:m}],target:i.ɵɵFactoryTarget.Component}),Br.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Br,selector:"kendo-pager-prev-buttons",usesInheritance:!0,ngImport:i,template:'\n <span\n [kendoGridFocusable]="!disabled"\n [title]="textFor(\'pagerFirstPage\')"\n (click)="currentPage !== 1 ? changePage(0) : false"\n (keydown.enter)="currentPage !== 1 ? changePage(0) : false"\n role="button"\n [ngClass]="{\n \'k-link\': true,\n \'k-pager-nav\': true,\n \'k-state-disabled\': disabled,\n \'k-pager-first\': true\n }">\n <span role="note"\n [attr.aria-label]="textFor(\'pagerFirstPage\')"\n [ngClass]="{\n \'k-icon\': true,\n \'k-i-seek-w\': true\n }">\n </span>\n </span>\n <span\n [kendoGridFocusable]="!disabled"\n [title]="textFor(\'pagerPreviousPage\')"\n role="button"\n (click)="currentPage !== 1 ? changePage(currentPage-2) : false"\n (keydown.enter)="currentPage !== 1 ? changePage(currentPage-2) : false"\n [ngClass]="{\n \'k-link\': true,\n \'k-pager-nav\': true,\n \'k-state-disabled\': disabled,\n \'\': true\n }">\n <span role="note"\n [attr.aria-label]="textFor(\'pagerPreviousPage\')"\n [ngClass]="{\n \'k-icon\': true,\n \'k-i-arrow-w\': true\n }">\n </span>\n </span>\n ',isInline:!0,directives:[{type:Dt,selector:"[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ",inputs:["kendoGridFocusable"]},{type:s.NgClass,selector:"[ngClass]",inputs:["class","ngClass"]}],changeDetection:i.ChangeDetectionStrategy.OnPush}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Br,decorators:[{type:P.Component,args:[{changeDetection:P.ChangeDetectionStrategy.OnPush,selector:"kendo-pager-prev-buttons",template:'\n <span\n [kendoGridFocusable]="!disabled"\n [title]="textFor(\'pagerFirstPage\')"\n (click)="currentPage !== 1 ? changePage(0) : false"\n (keydown.enter)="currentPage !== 1 ? changePage(0) : false"\n role="button"\n [ngClass]="{\n \'k-link\': true,\n \'k-pager-nav\': true,\n \'k-state-disabled\': disabled,\n \'k-pager-first\': true\n }">\n <span role="note"\n [attr.aria-label]="textFor(\'pagerFirstPage\')"\n [ngClass]="{\n \'k-icon\': true,\n \'k-i-seek-w\': true\n }">\n </span>\n </span>\n <span\n [kendoGridFocusable]="!disabled"\n [title]="textFor(\'pagerPreviousPage\')"\n role="button"\n (click)="currentPage !== 1 ? changePage(currentPage-2) : false"\n (keydown.enter)="currentPage !== 1 ? changePage(currentPage-2) : false"\n [ngClass]="{\n \'k-link\': true,\n \'k-pager-nav\': true,\n \'k-state-disabled\': disabled,\n \'\': true\n }">\n <span role="note"\n [attr.aria-label]="textFor(\'pagerPreviousPage\')"\n [ngClass]="{\n \'k-icon\': true,\n \'k-i-arrow-w\': true\n }">\n </span>\n </span>\n '}]}],ctorParameters:function(){return[{type:a.LocalizationService},{type:Ze},{type:i.ChangeDetectorRef},{type:m}]}});c(qr,$r=I),Object.defineProperty(qr.prototype,"buttons",{get:function(){for(var e=[],t=this.start;t<=this.end;t++)e.push(t);return e},enumerable:!1,configurable:!0}),Object.defineProperty(qr.prototype,"end",{get:function(){return Math.min(this.start+this.buttonCount-1,this.totalPages)},enumerable:!1,configurable:!0}),Object.defineProperty(qr.prototype,"start",{get:function(){var e,t=this.currentPage,n=this.buttonCount;return n<t?0==(e=t%n)?t-n+1:t-e+1:1},enumerable:!1,configurable:!0}),qr.prototype.pageLabel=function(e){var t=this.textFor("pagerPage");return t?t+" "+e:e.toString()},qr.prototype.onSelectChange=function(e){var e=e.target,t=Number(e.value);Number.isNaN(t)?"previousButtons"===e.value?this.changePage(this.start-2):this.changePage(this.end):this.changePage(t-1)},qr.prototype.onChanges=function(e){var t=e.total,n=e.skip,e=e.pageSize;this.total=t,this.skip=n,this.pageSize=e,this.cd.markForCheck()};var $r,Kr=qr;function qr(e,t,n){e=$r.call(this,e,n,t)||this;return e.pagerContext=n,e.numbersWrapClass=!0,e}Kr.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Kr,deps:[{token:a.LocalizationService},{token:i.ChangeDetectorRef},{token:Ze}],target:i.ɵɵFactoryTarget.Component}),Kr.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Kr,selector:"kendo-pager-numeric-buttons",inputs:{buttonCount:"buttonCount"},host:{properties:{"class.k-pager-numbers-wrap":"this.numbersWrapClass"}},usesInheritance:!0,ngImport:i,template:'\n \x3c!-- updated to address https://docs.angular.lat/guide/ivy-compatibility-examples#cannot-bind-to-value-property-of-select-with-ngfor --\x3e\n <select\n class="k-dropdownlist k-pager-nav"\n kendoGridFocusable\n tabindex="0"\n (change)="onSelectChange($event)">\n <option *ngIf="start > 1"\n class="k-link"\n value="previousButtons"\n [selected]="false"\n [attr.aria-label]="pageLabel(start - 1)">...\n </option>\n <option *ngFor="let num of buttons"\n [value]="num.toString()"\n [selected]="num === currentPage"\n [attr.aria-label]="pageLabel(num)"\n [attr.aria-current]="currentPage === num ? \'page\' : undefined"\n [ngClass]="{\'k-link\': true, \'k-state-selected\':currentPage === num}">\n {{num}}\n </option>\n <option *ngIf="end < totalPages"\n value="nextButtons"\n [selected]="false"\n class="k-link"\n [attr.aria-label]="pageLabel(end + 1)">...\n </option>\n </select>\n <ul [ngClass]="{\'k-pager-numbers\': true, \'k-reset\': true}">\n <li *ngIf="start > 1">\n <span\n kendoGridFocusable\n tabindex="0"\n class="k-link k-pager-nav"\n role="button"\n [attr.aria-label]="pageLabel(start - 1)"\n (click)="changePage(start - 2)"\n (keydown.enter)="changePage(start - 2)">...</span>\n </li>\n <li *ngFor="let num of buttons">\n <span\n kendoGridFocusable\n tabindex="0"\n role="button"\n [attr.aria-label]="pageLabel(num)"\n [ngClass]="{\'k-link\': true, \'k-state-selected\':currentPage === num, \'k-pager-nav\': true}"\n (click)="changePage(num - 1)"\n (keydown.enter)="changePage(num - 1)">\n {{num}}\n </span>\n </li>\n <li *ngIf="end < totalPages">\n <span\n kendoGridFocusable\n tabindex="0"\n class="k-link k-pager-nav"\n role="button"\n [attr.aria-label]="pageLabel(end + 1)"\n (click)="changePage(end)"\n (keydown.enter)="changePage(end)">...</span>\n </li>\n </ul>\n ',isInline:!0,directives:[{type:Dt,selector:"[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ",inputs:["kendoGridFocusable"]},{type:s.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{type:s.NgForOf,selector:"[ngFor][ngForOf]",inputs:["ngForOf","ngForTrackBy","ngForTemplate"]},{type:s.NgClass,selector:"[ngClass]",inputs:["class","ngClass"]}],changeDetection:i.ChangeDetectionStrategy.OnPush}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Kr,decorators:[{type:P.Component,args:[{changeDetection:P.ChangeDetectionStrategy.OnPush,selector:"kendo-pager-numeric-buttons",template:'\n \x3c!-- updated to address https://docs.angular.lat/guide/ivy-compatibility-examples#cannot-bind-to-value-property-of-select-with-ngfor --\x3e\n <select\n class="k-dropdownlist k-pager-nav"\n kendoGridFocusable\n tabindex="0"\n (change)="onSelectChange($event)">\n <option *ngIf="start > 1"\n class="k-link"\n value="previousButtons"\n [selected]="false"\n [attr.aria-label]="pageLabel(start - 1)">...\n </option>\n <option *ngFor="let num of buttons"\n [value]="num.toString()"\n [selected]="num === currentPage"\n [attr.aria-label]="pageLabel(num)"\n [attr.aria-current]="currentPage === num ? \'page\' : undefined"\n [ngClass]="{\'k-link\': true, \'k-state-selected\':currentPage === num}">\n {{num}}\n </option>\n <option *ngIf="end < totalPages"\n value="nextButtons"\n [selected]="false"\n class="k-link"\n [attr.aria-label]="pageLabel(end + 1)">...\n </option>\n </select>\n <ul [ngClass]="{\'k-pager-numbers\': true, \'k-reset\': true}">\n <li *ngIf="start > 1">\n <span\n kendoGridFocusable\n tabindex="0"\n class="k-link k-pager-nav"\n role="button"\n [attr.aria-label]="pageLabel(start - 1)"\n (click)="changePage(start - 2)"\n (keydown.enter)="changePage(start - 2)">...</span>\n </li>\n <li *ngFor="let num of buttons">\n <span\n kendoGridFocusable\n tabindex="0"\n role="button"\n [attr.aria-label]="pageLabel(num)"\n [ngClass]="{\'k-link\': true, \'k-state-selected\':currentPage === num, \'k-pager-nav\': true}"\n (click)="changePage(num - 1)"\n (keydown.enter)="changePage(num - 1)">\n {{num}}\n </span>\n </li>\n <li *ngIf="end < totalPages">\n <span\n kendoGridFocusable\n tabindex="0"\n class="k-link k-pager-nav"\n role="button"\n [attr.aria-label]="pageLabel(end + 1)"\n (click)="changePage(end)"\n (keydown.enter)="changePage(end)">...</span>\n </li>\n </ul>\n '}]}],ctorParameters:function(){return[{type:a.LocalizationService},{type:i.ChangeDetectorRef},{type:Ze}]},propDecorators:{numbersWrapClass:[{type:P.HostBinding,args:["class.k-pager-numbers-wrap"]}],buttonCount:[{type:P.Input}]}});Wr.prototype.ngAfterViewInit=function(){var e=this.host.numericInput.nativeElement;this.renderer.addClass(e,"k-pager-nav")};var _r=Wr;function Wr(e,t){this.host=e,this.renderer=t}_r.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:_r,deps:[{token:ee.NumericTextBoxComponent},{token:i.Renderer2}],target:i.ɵɵFactoryTarget.Directive}),_r.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:_r,selector:"[kendoGridPagerInput]",ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:_r,decorators:[{type:P.Directive,args:[{selector:"[kendoGridPagerInput]"}]}],ctorParameters:function(){return[{type:ee.NumericTextBoxComponent},{type:i.Renderer2}]}});c(Qr,Zr=I),Object.defineProperty(Qr.prototype,"current",{get:function(){return this.hasPages?this.currentPage:0},enumerable:!1,configurable:!0}),Object.defineProperty(Qr.prototype,"hasPages",{get:function(){return 0!==this.totalPages},enumerable:!1,configurable:!0}),Qr.prototype.onChanges=function(e){var t=e.total,n=e.skip,e=e.pageSize;this.total=t,this.skip=n,this.pageSize=e,this.cd.markForCheck()};var Zr,Ur=Qr;function Qr(e,t,n,o,r){var i=Zr.call(this,e,t,r)||this;return i.pagerContext=t,i.zone=n,i.navigationService=o,i.handleKeyDown=function(e){var t=i.numericInput.value||i.current;e.keyCode===p.Keys.Enter&&(e.preventDefault(),t!==i.current&&i.zone.run(function(){i.changePage(t-1)}))},i.handleBlur=function(){var e=i.numericInput.value;e?e!==i.current&&i.zone.run(function(){i.changePage(e-1)}):i.numericInput.writeValue(i.current)},i}Ur.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ur,deps:[{token:a.LocalizationService},{token:Ze},{token:i.NgZone},{token:m},{token:i.ChangeDetectorRef}],target:i.ɵɵFactoryTarget.Component}),Ur.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Ur,selector:"kendo-pager-input",viewQueries:[{propertyName:"numericInput",first:!0,predicate:B.NumericTextBoxComponent,descendants:!0}],usesInheritance:!0,ngImport:i,template:'\n <span [ngClass]="{\'k-pager-input\': true, \'k-label\': true}">\n {{textFor(\'pagerPage\')}}\n <kendo-numerictextbox\n kendoGridPagerInput\n [kendoGridFocusable]="hasPages"\n [tabindex]="0"\n [spinners]="false"\n [decimals]="0"\n format="n0"\n [disabled]="!hasPages"\n [value]="current"\n [min]="hasPages ? 1 : 0"\n [max]="totalPages"\n [autoCorrect]="true"\n [title]="textFor(\'pagerPageNumberInputTitle\')"\n [kendoEventsOutsideAngular]="{\n keydown: handleKeyDown,\n focusout: handleBlur\n }"\n >\n </kendo-numerictextbox>\n {{textFor(\'pagerOf\')}} {{totalPages}}\n </span>\n ',isInline:!0,components:[{type:ee.NumericTextBoxComponent,selector:"kendo-numerictextbox",inputs:["focusableId","disabled","readonly","title","autoCorrect","format","max","min","decimals","placeholder","step","spinners","rangeValidation","tabindex","tabIndex","changeValueOnScroll","selectOnFocus","value","maxlength","size","rounded","fillMode"],outputs:["valueChange","focus","blur"],exportAs:["kendoNumericTextBox"]}],directives:[{type:s.NgClass,selector:"[ngClass]",inputs:["class","ngClass"]},{type:_r,selector:"[kendoGridPagerInput]"},{type:Dt,selector:"[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ",inputs:["kendoGridFocusable"]},{type:X.EventsOutsideAngularDirective,selector:"[kendoEventsOutsideAngular]",inputs:["kendoEventsOutsideAngular","scope"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ur,decorators:[{type:P.Component,args:[{selector:"kendo-pager-input",template:'\n <span [ngClass]="{\'k-pager-input\': true, \'k-label\': true}">\n {{textFor(\'pagerPage\')}}\n <kendo-numerictextbox\n kendoGridPagerInput\n [kendoGridFocusable]="hasPages"\n [tabindex]="0"\n [spinners]="false"\n [decimals]="0"\n format="n0"\n [disabled]="!hasPages"\n [value]="current"\n [min]="hasPages ? 1 : 0"\n [max]="totalPages"\n [autoCorrect]="true"\n [title]="textFor(\'pagerPageNumberInputTitle\')"\n [kendoEventsOutsideAngular]="{\n keydown: handleKeyDown,\n focusout: handleBlur\n }"\n >\n </kendo-numerictextbox>\n {{textFor(\'pagerOf\')}} {{totalPages}}\n </span>\n '}]}],ctorParameters:function(){return[{type:a.LocalizationService},{type:Ze},{type:i.NgZone},{type:m},{type:i.ChangeDetectorRef}]},propDecorators:{numericInput:[{type:P.ViewChild,args:[B.NumericTextBoxComponent,{static:!1}]}]}});c(Jr,Xr=I),Object.defineProperty(Jr.prototype,"disabled",{get:function(){return this.currentPage===this.totalPages||!this.total},enumerable:!1,configurable:!0}),Jr.prototype.onChanges=function(e){var t=e.total,n=e.skip,e=e.pageSize;this.total=t,this.skip=n,this.pageSize=e,this.cd.markForCheck()};var Xr,Yr=Jr;function Jr(e,t,n,o){e=Xr.call(this,e,t,n)||this;return e.navigationService=o,e}Yr.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Yr,deps:[{token:a.LocalizationService},{token:Ze},{token:i.ChangeDetectorRef},{token:m}],target:i.ɵɵFactoryTarget.Component}),Yr.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Yr,selector:"kendo-pager-next-buttons",usesInheritance:!0,ngImport:i,template:'\n <span\n [kendoGridFocusable]="!disabled"\n tabindex="0"\n [title]="textFor(\'pagerNextPage\')"\n (click)="currentPage !== totalPages ? changePage(currentPage) : false"\n (keydown.enter)="currentPage !== totalPages ? changePage(currentPage) : false"\n role="button"\n [ngClass]="{\n \'k-link\': true,\n \'k-pager-nav\': true,\n \'k-state-disabled\': disabled,\n \'\': true\n }">\n <span role="note" [attr.aria-label]="textFor(\'pagerNextPage\')"\n [ngClass]="{\n \'k-icon\':true,\n \'k-i-arrow-e\': true\n }">\n </span>\n </span>\n <span\n [kendoGridFocusable]="!disabled"\n tabindex="0"\n [title]="textFor(\'pagerLastPage\')"\n (click)="currentPage !== totalPages ? changePage(totalPages-1) : false"\n (keydown.enter)="currentPage !== totalPages ? changePage(totalPages-1) : false"\n role="button"\n [ngClass]="{\n \'k-link\': true,\n \'k-pager-nav\': true,\n \'k-state-disabled\': disabled,\n \'k-pager-last\': true\n }">\n <span role="note" [attr.aria-label]="textFor(\'pagerLastPage\')"\n [ngClass]="{\n \'k-icon\':true,\n \'k-i-seek-e\': true\n }">\n </span>\n </span>\n ',isInline:!0,directives:[{type:Dt,selector:"[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ",inputs:["kendoGridFocusable"]},{type:s.NgClass,selector:"[ngClass]",inputs:["class","ngClass"]}],changeDetection:i.ChangeDetectionStrategy.OnPush}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Yr,decorators:[{type:P.Component,args:[{changeDetection:P.ChangeDetectionStrategy.OnPush,selector:"kendo-pager-next-buttons",template:'\n <span\n [kendoGridFocusable]="!disabled"\n tabindex="0"\n [title]="textFor(\'pagerNextPage\')"\n (click)="currentPage !== totalPages ? changePage(currentPage) : false"\n (keydown.enter)="currentPage !== totalPages ? changePage(currentPage) : false"\n role="button"\n [ngClass]="{\n \'k-link\': true,\n \'k-pager-nav\': true,\n \'k-state-disabled\': disabled,\n \'\': true\n }">\n <span role="note" [attr.aria-label]="textFor(\'pagerNextPage\')"\n [ngClass]="{\n \'k-icon\':true,\n \'k-i-arrow-e\': true\n }">\n </span>\n </span>\n <span\n [kendoGridFocusable]="!disabled"\n tabindex="0"\n [title]="textFor(\'pagerLastPage\')"\n (click)="currentPage !== totalPages ? changePage(totalPages-1) : false"\n (keydown.enter)="currentPage !== totalPages ? changePage(totalPages-1) : false"\n role="button"\n [ngClass]="{\n \'k-link\': true,\n \'k-pager-nav\': true,\n \'k-state-disabled\': disabled,\n \'k-pager-last\': true\n }">\n <span role="note" [attr.aria-label]="textFor(\'pagerLastPage\')"\n [ngClass]="{\n \'k-icon\':true,\n \'k-i-seek-e\': true\n }">\n </span>\n </span>\n '}]}],ctorParameters:function(){return[{type:a.LocalizationService},{type:Ze},{type:i.ChangeDetectorRef},{type:m}]}});c(ni,ei=I),Object.defineProperty(ni.prototype,"maxItems",{get:function(){return Math.min(this.currentPage*this.pageSize,this.total)},enumerable:!1,configurable:!0}),Object.defineProperty(ni.prototype,"currentPageText",{get:function(){return this.total?(this.currentPage-1)*this.pageSize+1:0},enumerable:!1,configurable:!0}),Object.defineProperty(ni.prototype,"classes",{get:function(){return!0},enumerable:!1,configurable:!0}),ni.prototype.onChanges=function(e){var t=e.total,n=e.skip,e=e.pageSize;this.total=t,this.skip=n,this.pageSize=e,this.cd.markForCheck()};var ei,ti=ni;function ni(e,t,n){e=ei.call(this,e,n,t)||this;return e.pagerContext=n,e}ti.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ti,deps:[{token:a.LocalizationService},{token:i.ChangeDetectorRef},{token:Ze}],target:i.ɵɵFactoryTarget.Component}),ti.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:ti,selector:"kendo-pager-info",host:{properties:{"class.k-pager-info":"this.classes","class.k-label":"this.classes"}},usesInheritance:!0,ngImport:i,template:"{{currentPageText}} - {{maxItems}} {{textFor('pagerOf')}} {{total}} {{textFor('pagerItems')}}",isInline:!0,changeDetection:i.ChangeDetectionStrategy.OnPush}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ti,decorators:[{type:P.Component,args:[{changeDetection:P.ChangeDetectionStrategy.OnPush,selector:"kendo-pager-info",template:"{{currentPageText}} - {{maxItems}} {{textFor('pagerOf')}} {{total}} {{textFor('pagerItems')}}"}]}],ctorParameters:function(){return[{type:a.LocalizationService},{type:i.ChangeDetectorRef},{type:Ze}]},propDecorators:{classes:[{type:P.HostBinding,args:["class.k-pager-info"]},{type:P.HostBinding,args:["class.k-label"]}]}});ri.prototype.ngAfterViewInit=function(){this.host.wrapper.nativeElement.addEventListener("keydown",this.keydownHandler,!0)},ri.prototype.ngOnDestroy=function(){this.host.wrapper.nativeElement.removeEventListener("keydown",this.keydownHandler)};var oi=ri;function ri(e){var t=this;this.host=e,this.keydownHandler=function(e){e.keyCode===p.Keys.Escape&&t.host.isOpen&&(e.stopPropagation(),t.host.toggle(!1))}}oi.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:oi,deps:[{token:te.DropDownListComponent}],target:i.ɵɵFactoryTarget.Directive}),oi.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:oi,selector:"[kendoGridPagerDropDown]",ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:oi,decorators:[{type:P.Directive,args:[{selector:"[kendoGridPagerDropDown]"}]}],ctorParameters:function(){return[{type:te.DropDownListComponent}]}});c(si,ii=I),Object.defineProperty(si.prototype,"pageSizes",{get:function(){return this._pageSizes},set:function(e){var t=this,n=[];e.forEach(function(e){"number"==typeof e?n.push({text:e.toString(),value:e}):n.push(e)}),this.pageSize&&!n.some(function(e){return e.value===t.pageSize})&&(n=g([{text:this.pageSize.toString(),value:this.pageSize}],k(n))),this._pageSizes=n},enumerable:!1,configurable:!0}),Object.defineProperty(si.prototype,"classes",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(si.prototype,"showInitialPageSize",{get:function(){var t=this;return 0===this.pageSizes.filter(function(e){return"number"==typeof e.value?e.value===Number(t.pageSize):t.total===Number(t.pageSize)}).length},enumerable:!1,configurable:!0}),si.prototype.pageSizeChange=function(e){this.pageSize="number"==typeof e?e:this.total,this.pagerContext.changePageSize(this.pageSize)},si.prototype.getValue=function(e){return"number"==typeof e.value?e.value:this.total},si.prototype.onChanges=function(e){var t=e.total,n=e.skip,e=e.pageSize;this.total=t,this.skip=n,this.pageSize="number"==typeof e?e:this.total,this.cd.markForCheck()};var ii,ai=si;function si(e,t,n,o){e=ii.call(this,e,n,t)||this;return e.pagerContext=n,e.navigationService=o,e._pageSizes=[],e}ai.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ai,deps:[{token:a.LocalizationService},{token:i.ChangeDetectorRef},{token:Ze},{token:m}],target:i.ɵɵFactoryTarget.Component}),ai.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:ai,selector:"kendo-pager-page-sizes",inputs:{pageSizes:"pageSizes"},host:{properties:{"class.k-pager-sizes":"this.classes","class.k-label":"this.classes"}},usesInheritance:!0,ngImport:i,template:'\n <kendo-dropdownlist\n #dropdownlist\n kendoGridPagerDropDown\n [tabindex]="0"\n kendoGridFocusable\n [data]="pageSizes"\n textField="text"\n valueField="value"\n [valuePrimitive]="true"\n [value]="pageSize"\n (valueChange)="pageSizeChange($event)"></kendo-dropdownlist>\n <kendo-label [for]="dropdownlist" [text]="textFor(\'pagerItemsPerPage\')"></kendo-label>\n ',isInline:!0,components:[{type:te.DropDownListComponent,selector:"kendo-dropdownlist",inputs:["iconClass","loading","data","value","textField","valueField","popupSettings","listHeight","defaultItem","disabled","itemDisabled","readonly","filterable","virtual","ignoreCase","delay","valuePrimitive","tabindex","tabIndex","size","rounded","fillMode","id"],outputs:["valueChange","filterChange","selectionChange","open","opened","close","closed","focus","blur"],exportAs:["kendoDropDownList"]},{type:A.LabelComponent,selector:"kendo-label",inputs:["text","for","optional"],exportAs:["kendoLabel"]}],directives:[{type:oi,selector:"[kendoGridPagerDropDown]"},{type:Dt,selector:"[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ",inputs:["kendoGridFocusable"]}],changeDetection:i.ChangeDetectionStrategy.OnPush}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ai,decorators:[{type:P.Component,args:[{changeDetection:P.ChangeDetectionStrategy.OnPush,selector:"kendo-pager-page-sizes",template:'\n <kendo-dropdownlist\n #dropdownlist\n kendoGridPagerDropDown\n [tabindex]="0"\n kendoGridFocusable\n [data]="pageSizes"\n textField="text"\n valueField="value"\n [valuePrimitive]="true"\n [value]="pageSize"\n (valueChange)="pageSizeChange($event)"></kendo-dropdownlist>\n <kendo-label [for]="dropdownlist" [text]="textFor(\'pagerItemsPerPage\')"></kendo-label>\n '}]}],ctorParameters:function(){return[{type:a.LocalizationService},{type:i.ChangeDetectorRef},{type:Ze},{type:m}]},propDecorators:{pageSizes:[{type:P.Input}],classes:[{type:P.HostBinding,args:["class.k-pager-sizes"]},{type:P.HostBinding,args:["class.k-label"]}]}});Object.defineProperty(x.prototype,"options",{set:function(e){this.settings=Vr(e)},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"pagerAriaLabel",{get:function(){return this.navigationService.pagerEnabled?this.pagerLabel:void 0},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"pagerLabel",{get:function(){var e=this.localizationService.get("pagerLabel")||"";return be(be(e,"currentPage",this.currentPage.toString()),"totalPages",this.totalPages.toString())},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"focusTrapTabIndex",{get:function(){return this.focusGroup.isActive?"0":"-1"},enumerable:!1,configurable:!0}),x.prototype.onFocusIn=function(e){this.navigationService.pagerEnabled&&(e.target===this.element.nativeElement?(this._isFocused=!0,this.focusRoot.deactivate()):this.focusRoot.activate())},x.prototype.onFocusOut=function(){this.navigationService.pagerEnabled&&(this._isFocused=!1)},x.prototype.onEscape=function(){this.navigationService.pagerEnabled&&(this.focusRoot.deactivate(),this.element.nativeElement.focus())},x.prototype.onEnter=function(e){this.navigationService.pagerEnabled&&e.target===this.element.nativeElement&&(this.focusRoot.activate(),this.focusFirstElement())},x.prototype.navigateToPreviousPage=function(e){this.shouldTriggerPageChange(e.target,1<this.currentPage)&&this.pagerContext.prevPage()},x.prototype.navigateToNextPage=function(e){this.shouldTriggerPageChange(e.target,this.currentPage<this.totalPages)&&this.pagerContext.nextPage()},x.prototype.navigateToFirstPage=function(e){this.shouldTriggerPageChange(e.target,1<this.currentPage)&&this.pagerContext.changePage(0)},x.prototype.navigateToLastPage=function(e){this.shouldTriggerPageChange(e.target,this.currentPage<this.totalPages)&&this.pagerContext.changePage(this.totalPages-1)},Object.defineProperty(x.prototype,"totalPages",{get:function(){return Math.ceil((this.total||0)/this.pageSize)},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"currentPage",{get:function(){return Math.floor((this.skip||0)/this.pageSize)+1},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"templateContext",{get:function(){var e=this._templateContext;return e.totalPages=this.totalPages,e.total=this.total,e.skip=this.skip,e.pageSize=this.pageSize,e.currentPage=this.currentPage,e},enumerable:!1,configurable:!0}),x.prototype.ngOnInit=function(){this.subscriptions.add(this.pagerContext.pageChange.subscribe(this.changePage.bind(this))),this.navigationService.pagerEnabled&&this.focusRoot.deactivate()},x.prototype.ngDoCheck=function(){this.updateCellContext()},x.prototype.ngOnChanges=function(e){p.anyChanged(["pageSize","skip","total"],e,!1)&&this.pagerContext.notifyChanges({pageSize:this.pageSize,skip:this.skip,total:this.total}),e.template&&(e.template.currentValue?this.clearResponsiveClasses():this.resizeHandler()),e.options&&(this.settings.responsive?this.resizeHandler():this.clearResponsiveClasses())},x.prototype.ngOnDestroy=function(){this.subscriptions&&this.subscriptions.unsubscribe()},x.prototype.changePage=function(e){this.pageChange.emit(e)},x.prototype.onInnerFocusIn=function(e,t){var n=this;this.zone.onStable.pipe(G.take(1)).subscribe(function(){"start"!==t||e.relatedTarget===n.element.nativeElement?n.focusFirstElement():n.focusLastElement()})},x.prototype.clearResponsiveClasses=function(){var e=this.element.nativeElement;this.renderer.removeClass(e,"k-pager-sm"),this.renderer.removeClass(e,"k-pager-md")},x.prototype.shouldTriggerPageChange=function(e,t){return this.navigationService.pagerEnabled&&e===this.element.nativeElement&&t},x.prototype.focusFirstElement=function(){var e=je(this.element.nativeElement,!0);e&&e.focus()},x.prototype.focusLastElement=function(){var e=Ae(this.element.nativeElement,!0);e&&e.focus()},x.prototype.updateCellContext=function(){this.cellContext&&(this.cellContext.focusGroup=this.focusGroup)};var li=x;function x(e,t,n,o,r,i,a,s,l){var c=this;this.pagerContext=e,this.navigationService=t,this.element=n,this.renderer=o,this.zone=r,this.localizationService=i,this.cellContext=a,this.focusRoot=s,this.focusGroup=l,this.total=0,this.skip=1,this.pageChange=new P.EventEmitter,this.pagerWrapClass=!0,this.gridPagerClass=!0,this.settings=Vr({}),this.subscriptions=new b.Subscription,this._templateContext={},this._isFocused=!1,this.resizeHandler=function(){var e,t=c.element.nativeElement;!c.template&&t&&((e=t.offsetWidth)<600?(c.renderer.removeClass(t,"k-pager-md"),c.renderer.addClass(t,"k-pager-sm")):600<=e&&e<768?(c.renderer.addClass(t,"k-pager-md"),c.renderer.removeClass(t,"k-pager-sm")):c.clearResponsiveClasses())}}li.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:li,deps:[{token:Ze},{token:m},{token:i.ElementRef},{token:i.Renderer2},{token:i.NgZone},{token:a.LocalizationService},{token:wt,optional:!0},{token:dt},{token:zr}],target:i.ɵɵFactoryTarget.Component}),li.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:li,selector:"kendo-pager",inputs:{total:"total",skip:"skip",pageSize:"pageSize",options:"options",template:"template"},outputs:{pageChange:"pageChange"},host:{listeners:{focusin:"onFocusIn($event)",focusout:"onFocusOut()","keydown.escape":"onEscape()","keydown.enter":"onEnter($event)","keydown.arrowleft":"navigateToPreviousPage($event)","keydown.pageup":"navigateToPreviousPage($event)","keydown.arrowright":"navigateToNextPage($event)","keydown.pagedown":"navigateToNextPage($event)","keydown.home":"navigateToFirstPage($event)","keydown.end":"navigateToLastPage($event)"},properties:{"class.k-pager-wrap":"this.pagerWrapClass","class.k-grid-pager":"this.gridPagerClass","class.k-state-focused":"this.isFocused","attr.aria-label":"this.pagerAriaLabel"}},providers:[{provide:ut,useValue:!0},{provide:dt,deps:[ut],useClass:dt},{provide:zr,deps:[dt],useClass:zr}],usesOnChanges:!0,ngImport:i,template:'\n <div\n *ngIf="navigationService.pagerEnabled"\n class="k-sr-only"\n [tabindex]="focusTrapTabIndex"\n [attr.aria-hidden]="true"\n (focusin)="onInnerFocusIn($event, \'start\')">\n </div>\n <ng-container\n *ngIf="template?.templateRef"\n [ngTemplateOutlet]="template.templateRef"\n [ngTemplateOutletContext]="templateContext">\n </ng-container>\n <ng-container *ngIf="!template?.templateRef">\n <kendo-pager-prev-buttons *ngIf="settings.previousNext"></kendo-pager-prev-buttons>\n <kendo-pager-numeric-buttons\n *ngIf="settings.type === \'numeric\'"\n [buttonCount]="settings.buttonCount">\n </kendo-pager-numeric-buttons>\n <kendo-pager-input *ngIf="settings.type === \'input\'"></kendo-pager-input>\n <kendo-pager-next-buttons *ngIf="settings.previousNext"></kendo-pager-next-buttons>\n <kendo-pager-info *ngIf=\'settings.info\'></kendo-pager-info>\n <kendo-pager-page-sizes\n *ngIf="settings.pageSizes"\n [pageSizes]="$any(settings.pageSizes)"\n #pageSizes\n ></kendo-pager-page-sizes>\n </ng-container>\n <div\n *ngIf="navigationService.pagerEnabled"\n class="k-sr-only"\n [tabindex]="focusTrapTabIndex"\n [attr.aria-hidden]="true"\n (focusin)="onInnerFocusIn($event, \'end\')">\n </div>\n <kendo-resize-sensor *ngIf="settings.responsive" (resize)="resizeHandler()"></kendo-resize-sensor>\n ',isInline:!0,components:[{type:Br,selector:"kendo-pager-prev-buttons"},{type:Kr,selector:"kendo-pager-numeric-buttons",inputs:["buttonCount"]},{type:Ur,selector:"kendo-pager-input"},{type:Yr,selector:"kendo-pager-next-buttons"},{type:ti,selector:"kendo-pager-info"},{type:ai,selector:"kendo-pager-page-sizes",inputs:["pageSizes"]},{type:X.ResizeSensorComponent,selector:"kendo-resize-sensor",inputs:["rateLimit"],outputs:["resize"]}],directives:[{type:s.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{type:s.NgTemplateOutlet,selector:"[ngTemplateOutlet]",inputs:["ngTemplateOutletContext","ngTemplateOutlet"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:li,decorators:[{type:P.Component,args:[{selector:"kendo-pager",providers:[{provide:ut,useValue:!0},{provide:dt,deps:[ut],useClass:dt},{provide:zr,deps:[dt],useClass:zr}],template:'\n <div\n *ngIf="navigationService.pagerEnabled"\n class="k-sr-only"\n [tabindex]="focusTrapTabIndex"\n [attr.aria-hidden]="true"\n (focusin)="onInnerFocusIn($event, \'start\')">\n </div>\n <ng-container\n *ngIf="template?.templateRef"\n [ngTemplateOutlet]="template.templateRef"\n [ngTemplateOutletContext]="templateContext">\n </ng-container>\n <ng-container *ngIf="!template?.templateRef">\n <kendo-pager-prev-buttons *ngIf="settings.previousNext"></kendo-pager-prev-buttons>\n <kendo-pager-numeric-buttons\n *ngIf="settings.type === \'numeric\'"\n [buttonCount]="settings.buttonCount">\n </kendo-pager-numeric-buttons>\n <kendo-pager-input *ngIf="settings.type === \'input\'"></kendo-pager-input>\n <kendo-pager-next-buttons *ngIf="settings.previousNext"></kendo-pager-next-buttons>\n <kendo-pager-info *ngIf=\'settings.info\'></kendo-pager-info>\n <kendo-pager-page-sizes\n *ngIf="settings.pageSizes"\n [pageSizes]="$any(settings.pageSizes)"\n #pageSizes\n ></kendo-pager-page-sizes>\n </ng-container>\n <div\n *ngIf="navigationService.pagerEnabled"\n class="k-sr-only"\n [tabindex]="focusTrapTabIndex"\n [attr.aria-hidden]="true"\n (focusin)="onInnerFocusIn($event, \'end\')">\n </div>\n <kendo-resize-sensor *ngIf="settings.responsive" (resize)="resizeHandler()"></kendo-resize-sensor>\n '}]}],ctorParameters:function(){return[{type:Ze},{type:m},{type:i.ElementRef},{type:i.Renderer2},{type:i.NgZone},{type:a.LocalizationService},{type:void 0,decorators:[{type:P.Optional},{type:P.Inject,args:[wt]}]},{type:dt},{type:zr}]},propDecorators:{total:[{type:P.Input}],skip:[{type:P.Input}],pageSize:[{type:P.Input}],options:[{type:P.Input}],template:[{type:P.Input}],pageChange:[{type:P.Output}],pagerWrapClass:[{type:P.HostBinding,args:["class.k-pager-wrap"]}],gridPagerClass:[{type:P.HostBinding,args:["class.k-grid-pager"]}],isFocused:[{type:P.HostBinding,args:["class.k-state-focused"]}],pagerAriaLabel:[{type:P.HostBinding,args:["attr.aria-label"]}],onFocusIn:[{type:P.HostListener,args:["focusin",["$event"]]}],onFocusOut:[{type:P.HostListener,args:["focusout"]}],onEscape:[{type:P.HostListener,args:["keydown.escape"]}],onEnter:[{type:P.HostListener,args:["keydown.enter",["$event"]]}],navigateToPreviousPage:[{type:P.HostListener,args:["keydown.arrowleft",["$event"]]},{type:P.HostListener,args:["keydown.pageup",["$event"]]}],navigateToNextPage:[{type:P.HostListener,args:["keydown.arrowright",["$event"]]},{type:P.HostListener,args:["keydown.pagedown",["$event"]]}],navigateToFirstPage:[{type:P.HostListener,args:["keydown.home",["$event"]]}],navigateToLastPage:[{type:P.HostListener,args:["keydown.end",["$event"]]}]}});ci.prototype.ngOnInit=function(){var t=this,e=(this.service.add(this),this.service.changes.pipe(G.filter(function(e){return e.target===t})));this.subscriptions.add(e.pipe(G.filter(function(e){return"leave"===e.type})).subscribe(function(e){t.leave.next(t.eventArgs(e))})),this.subscriptions.add(e.pipe(G.filter(function(e){return"enter"===e.type})).subscribe(function(e){t.enter.next(t.eventArgs(e))})),this.subscriptions.add(e.pipe(G.filter(function(e){return"drop"===e.type})).subscribe(function(e){t.drop.next(t.eventArgs(e))}))},ci.prototype.ngOnDestroy=function(){this.subscriptions&&this.subscriptions.unsubscribe()},ci.prototype.eventArgs=function(e){return{target:this,mouseEvent:e.mouseEvent,draggable:e.draggable}};I=ci;function ci(e,t){this.element=e,this.service=t,this.context={},this.enter=new P.EventEmitter,this.leave=new P.EventEmitter,this.drop=new P.EventEmitter,this.subscriptions=new b.Subscription}I.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:I,deps:[{token:i.ElementRef},{token:lr}],target:i.ɵɵFactoryTarget.Directive}),I.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:I,selector:"[kendoDropTarget]",inputs:{context:"context"},outputs:{enter:"enter",leave:"leave",drop:"drop"},ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:I,decorators:[{type:P.Directive,args:[{selector:"[kendoDropTarget]"}]}],ctorParameters:function(){return[{type:i.ElementRef},{type:lr}]},propDecorators:{context:[{type:P.Input}],enter:[{type:P.Output}],leave:[{type:P.Output}],drop:[{type:P.Output}]}});Object.defineProperty(pi.prototype,"groupIndicatorClass",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(pi.prototype,"dir",{get:function(){return this.group.dir||"asc"},enumerable:!1,configurable:!0}),pi.prototype.toggleDirection=function(){return this.directionChange.emit({dir:"asc"===this.dir?"desc":"asc",field:this.group.field}),!1},pi.prototype.removeDescriptor=function(){return this.remove.emit({dir:this.group.dir,field:this.group.field}),!1};A=pi;function pi(){this.directionChange=new P.EventEmitter,this.remove=new P.EventEmitter}A.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:A,deps:[],target:i.ɵɵFactoryTarget.Component}),A.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:A,selector:"[kendoGroupIndicator]",inputs:{group:"group",groupTitle:"groupTitle"},outputs:{directionChange:"directionChange",remove:"remove"},host:{properties:{"class.k-group-indicator":"this.groupIndicatorClass"}},ngImport:i,template:'\n <a href="#" class="k-link" tabindex="-1" (click)="toggleDirection()">\n <span class="k-icon"\n [class.k-i-sort-asc-sm]="dir === \'asc\'"\n [class.k-i-sort-desc-sm]="dir === \'desc\'"></span>\n {{groupTitle}}</a>\n <a class="k-button k-button-flat-base k-button-flat k-icon-button k-button-md k-rounded-md k-button-rectangle k-icon-button" tabindex="-1" (click)="removeDescriptor()">\n <span class="k-button-icon k-icon k-i-group-delete"></span>\n </a>\n ',isInline:!0,changeDetection:i.ChangeDetectionStrategy.OnPush}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:A,decorators:[{type:P.Component,args:[{changeDetection:P.ChangeDetectionStrategy.OnPush,selector:"[kendoGroupIndicator]",template:'\n <a href="#" class="k-link" tabindex="-1" (click)="toggleDirection()">\n <span class="k-icon"\n [class.k-i-sort-asc-sm]="dir === \'asc\'"\n [class.k-i-sort-desc-sm]="dir === \'desc\'"></span>\n {{groupTitle}}</a>\n <a class="k-button k-button-flat-base k-button-flat k-icon-button k-button-md k-rounded-md k-button-rectangle k-icon-button" tabindex="-1" (click)="removeDescriptor()">\n <span class="k-button-icon k-icon k-i-group-delete"></span>\n </a>\n '}]}],propDecorators:{directionChange:[{type:P.Output}],remove:[{type:P.Output}],group:[{type:P.Input}],groupTitle:[{type:P.Input}],groupIndicatorClass:[{type:P.HostBinding,args:["class.k-group-indicator"]}]}});function ui(t){return function(e){return new RegExp("(^| )"+t+"( |$)").test(e.className)}}function di(e){var t=e.clientX,e=e.clientY;return document.elementFromPoint(t,e)}var gi=me(de(ge(ui("k-i-group-delete"),ui("k-icon-button"))),de(ge(ui("k-i-sort-asc-sm"),ui("k-i-sort-desc-sm"))),de(_e),de(ze("label"))),w=(Object.defineProperty(mi.prototype,"enableDrag",{set:function(e){this.enabled=e,this.updateTouchAction()},enumerable:!1,configurable:!0}),Object.defineProperty(mi.prototype,"hostClass",{get:function(){return this.enabled},enumerable:!1,configurable:!0}),mi.prototype.ngOnInit=function(){var n=this;this.subscriptions.add(this.zone.runOutsideAngular(function(){return n.draggable.kendoPress.pipe(G.filter(function(e){return n.enabled}),G.filter(function(e){e=e.originalEvent.target;return e===n.element.nativeElement||gi(e)}),G.tap(function(e){var t=e.originalEvent;e.isTouch||t.preventDefault(),n.nav.navigateTo(t.target)}),G.switchMap((t=n.draggable.kendoRelease,function(e){return b.of(e).pipe(G.delay(150),G.takeUntil(t))})),G.tap(function(e){n.hint.create(n.context.hint),n.cue.create()}),G.switchMap(function(t){return n.draggable.kendoDrag.pipe(G.tap(function(e){e.isTouch&&e.originalEvent.preventDefault()}),G.tap(n.hint.attach()),G.tap(n.cue.attach()),G.takeUntil(n.draggable.kendoRelease),G.map(function(e){return{move:e,down:t}}))}),G.tap(n.performDrag.bind(n)),G.switchMapTo(n.draggable.kendoRelease)).subscribe(n.drop.bind(n));var t}))},mi.prototype.ngOnDestroy=function(){this.subscriptions&&this.subscriptions.unsubscribe()},mi.prototype.drop=function(e){this.hint.remove(),this.cue.remove(),this.service.notifyDrop(this,e)},mi.prototype.performDrag=function(e){var e=e.move,t=(this.hint.move(e),this.elementUnderCursor(e));t&&this.service.notifyDrag(this,t,e),this.drag.emit({draggable:this,mouseEvent:e})},mi.prototype.elementUnderCursor=function(e){this.hint.hide();var t=di(e);return t&&/k-grouping-dropclue/.test(t.className)&&(t=function(e,t){e.style.display="none";t=t();return e.style.display="block",t}(t,di.bind(this,e))),this.hint.show(),t},mi.prototype.updateTouchAction=function(){this.element&&(this.enabled?this.renderer.addClass(this.element.nativeElement,"k-touch-action-none"):this.renderer.removeClass(this.element.nativeElement,"k-touch-action-none"))},mi);function mi(e,t,n,o,r,i,a,s){this.draggable=e,this.element=t,this.zone=n,this.service=o,this.hint=r,this.cue=i,this.nav=a,this.renderer=s,this.context={},this.drag=new P.EventEmitter,this.subscriptions=new b.Subscription}w.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:w,deps:[{token:X.DraggableDirective,host:!0},{token:i.ElementRef},{token:i.NgZone},{token:lr},{token:dr},{token:mr},{token:m},{token:i.Renderer2}],target:i.ɵɵFactoryTarget.Directive}),w.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:w,selector:"[kendoDraggableColumn]",inputs:{context:"context",enableDrag:"enableDrag"},outputs:{drag:"drag"},host:{properties:{"class.k-grid-draggable-header":"this.hostClass"}},ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:w,decorators:[{type:P.Directive,args:[{selector:"[kendoDraggableColumn]"}]}],ctorParameters:function(){return[{type:X.DraggableDirective,decorators:[{type:P.Host}]},{type:i.ElementRef},{type:i.NgZone},{type:lr},{type:dr},{type:mr},{type:m},{type:i.Renderer2}]},propDecorators:{context:[{type:P.Input}],enableDrag:[{type:P.Input}],drag:[{type:P.Output}],hostClass:[{type:P.HostBinding,args:["class.k-grid-draggable-header"]}]}});function hi(e){return e=e.field,ye(e)}function fi(e){var t=e.groups,n=e.field;return t.some(function(e){return e.field===n})}var yi=ge(function(e){var t=e.target,e=e.field;return t.field===e},me(function(e){return e.target.lastTarget},function(e){var t=e.groups,e=e.field;return t.map(function(e){return e.field}).indexOf(e)===t.length-1})),vi=(Object.defineProperty(bi.prototype,"groupHeaderClass",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(bi.prototype,"text",{get:function(){return this.emptyText||this.localization.get("groupPanelEmpty")},set:function(e){this.emptyText=e},enumerable:!1,configurable:!0}),bi.prototype.ngAfterViewInit=function(){this.subscription.add(se(this.dropTargets).subscribe(this.attachTargets.bind(this)))},bi.prototype.ngOnInit=function(){var e=this;this.subscription.add(this.localization.changes.subscribe(function(){return e.cd.markForCheck()}))},bi.prototype.ngDoCheck=function(){var n=this,e=this.groups.map(function(e){return n.groupInfoService.groupTitle(e)});e.length===this.groupTitles.length&&!e.some(function(e,t){return e!==n.groupTitles[t]})||(this.groupTitles=e,this.cd.markForCheck())},bi.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe(),this.targetSubscription&&this.targetSubscription.unsubscribe()},bi.prototype.directionChange=function(t){var e=this.groups.findIndex(function(e){return e.field===t.field}),e=g(g(g([],k(this.groups.slice(0,e))),[t]),k(this.groups.slice(e+1)));this.change.emit(e)},bi.prototype.insert=function(t,e){var n=this.groups.filter(function(e){return e.field!==t});!n.length&&0!==this.groups.length||this.change.emit(g(g(g([],k(n.slice(0,e))),[{field:t}]),k(n.slice(e))))},bi.prototype.remove=function(t){this.change.emit(this.groups.filter(function(e){return e.field!==t.field}))},bi.prototype.canDrop=function(e,t){var n,o;return!("groupIndicator"===e.type?yi:(n=this.groupInfoService,ge(hi,fi,(o=n,function(e){e=e.field;return!o.isGroupable(e)}))))({field:e.field,groups:this.groups,target:t})},bi.prototype.attachTargets=function(){var n=this,e=(this.targetSubscription&&this.targetSubscription.unsubscribe(),this.targetSubscription=new b.Subscription,this.dropTargets.reduce(function(e,t){return b.merge(e,t.enter)},b.from([]))),t=this.dropTargets.reduce(function(e,t){return b.merge(e,t.leave)},b.from([])),o=this.dropTargets.reduce(function(e,t){return b.merge(e,t.drop)},b.from([]));this.targetSubscription.add(e.pipe(G.tap(function(e){return n.hint.removeLock()}),G.filter(function(e){var t=e.draggable,e=e.target;return n.canDrop(t.context,e.context)}),G.tap(this.enter.bind(this)),G.switchMapTo(o.pipe(G.takeUntil(t.pipe(G.tap(this.leave.bind(this))))))).subscribe(this.drop.bind(this)))},bi.prototype.enter=function(e){var t=e.draggable,e=e.target,t=(this.hint.enable(),e.context.lastTarget||rr(t.element.nativeElement,e.element.nativeElement));this.localization.rtl&&(t=!t),this.cue.position(ir(e.element.nativeElement,t))},bi.prototype.leave=function(){this.hint.disable(),this.cue.hide()},bi.prototype.drop=function(e){var t=e.target,e=e.draggable.context.field,t=this.dropTargets.toArray().indexOf(t);this.insert(e,t)},bi);function bi(e,t,n,o,r){this.hint=e,this.cue=t,this.groupInfoService=n,this.localization=o,this.cd=r,this.change=new P.EventEmitter,this.groups=[],this.dropTargets=new P.QueryList,this.groupTitles=[],this.subscription=new b.Subscription}vi.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:vi,deps:[{token:dr},{token:mr},{token:vo},{token:a.LocalizationService},{token:i.ChangeDetectorRef}],target:i.ɵɵFactoryTarget.Component}),vi.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:vi,selector:"kendo-grid-group-panel",inputs:{text:"text",groups:"groups"},outputs:{change:"change"},host:{properties:{"class.k-grouping-header":"this.groupHeaderClass","class.k-grouping-header-flex":"this.groupHeaderClass"}},viewQueries:[{propertyName:"dropTargets",predicate:I,descendants:!0}],ngImport:i,template:'\n <ng-container *ngIf="groups.length === 0">\n <div\n class="k-indicator-container"\n [context]="{\n lastTarget: true\n }"\n kendoDropTarget>\n {{ text }}\n </div>\n </ng-container>\n <div *ngFor="let group of groups; let index = index;"\n class="k-indicator-container"\n [context]="{\n field: group.field\n }"\n kendoDropTarget>\n <div\n kendoDraggableColumn\n [enableDrag]="true"\n [context]="{\n field: group.field,\n type: \'groupIndicator\',\n hint: groupTitles[index]\n }"\n kendoGroupIndicator\n kendoDraggable\n [group]="group"\n [groupTitle]="groupTitles[index]"\n (directionChange)="directionChange($event)"\n (remove)="remove($event)">\n </div>\n </div>\n <div class="k-indicator-container"\n *ngIf="groups.length !== 0"\n [context]="{\n lastTarget: true\n }"\n kendoDropTarget> </div>\n ',isInline:!0,components:[{type:A,selector:"[kendoGroupIndicator]",inputs:["group","groupTitle"],outputs:["directionChange","remove"]}],directives:[{type:s.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{type:I,selector:"[kendoDropTarget]",inputs:["context"],outputs:["enter","leave","drop"]},{type:s.NgForOf,selector:"[ngFor][ngForOf]",inputs:["ngForOf","ngForTrackBy","ngForTemplate"]},{type:w,selector:"[kendoDraggableColumn]",inputs:["context","enableDrag"],outputs:["drag"]},{type:X.DraggableDirective,selector:"[kendoDraggable]",inputs:["enableDrag"],outputs:["kendoPress","kendoDrag","kendoRelease"]}],changeDetection:i.ChangeDetectionStrategy.OnPush}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:vi,decorators:[{type:P.Component,args:[{changeDetection:P.ChangeDetectionStrategy.OnPush,selector:"kendo-grid-group-panel",template:'\n <ng-container *ngIf="groups.length === 0">\n <div\n class="k-indicator-container"\n [context]="{\n lastTarget: true\n }"\n kendoDropTarget>\n {{ text }}\n </div>\n </ng-container>\n <div *ngFor="let group of groups; let index = index;"\n class="k-indicator-container"\n [context]="{\n field: group.field\n }"\n kendoDropTarget>\n <div\n kendoDraggableColumn\n [enableDrag]="true"\n [context]="{\n field: group.field,\n type: \'groupIndicator\',\n hint: groupTitles[index]\n }"\n kendoGroupIndicator\n kendoDraggable\n [group]="group"\n [groupTitle]="groupTitles[index]"\n (directionChange)="directionChange($event)"\n (remove)="remove($event)">\n </div>\n </div>\n <div class="k-indicator-container"\n *ngIf="groups.length !== 0"\n [context]="{\n lastTarget: true\n }"\n kendoDropTarget> </div>\n '}]}],ctorParameters:function(){return[{type:dr},{type:mr},{type:vo},{type:a.LocalizationService},{type:i.ChangeDetectorRef}]},propDecorators:{change:[{type:P.Output}],groupHeaderClass:[{type:P.HostBinding,args:["class.k-grouping-header"]},{type:P.HostBinding,args:["class.k-grouping-header-flex"]}],text:[{type:P.Input}],groups:[{type:P.Input}],dropTargets:[{type:P.ViewChildren,args:[I]}]}});Object.defineProperty(Ci.prototype,"columnsToRender",{get:function(){return Cn(this.columns)},enumerable:!1,configurable:!0}),Ci.prototype.trackBy=function(e,t){return e};var ki=Ci;function Ci(){this.columns=[],this.groups=[]}ki.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ki,deps:[],target:i.ɵɵFactoryTarget.Component}),ki.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:ki,selector:"[kendoGridColGroup]",inputs:{columns:"columns",groups:"groups",detailTemplate:"detailTemplate"},ngImport:i,template:'\n <ng-container>\n <col [class.k-group-col]="true" *ngFor="let g of groups" />\n <col [class.k-hierarchy-col]="true" *ngIf="detailTemplate?.templateRef"/>\n <col *ngFor="let column of columnsToRender; trackBy: trackBy;" [style.width.px]="column.width"/>\n </ng-container>\n ',isInline:!0,directives:[{type:s.NgForOf,selector:"[ngFor][ngForOf]",inputs:["ngForOf","ngForTrackBy","ngForTemplate"]},{type:s.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ki,decorators:[{type:P.Component,args:[{selector:"[kendoGridColGroup]",template:'\n <ng-container>\n <col [class.k-group-col]="true" *ngFor="let g of groups" />\n <col [class.k-hierarchy-col]="true" *ngIf="detailTemplate?.templateRef"/>\n <col *ngFor="let column of columnsToRender; trackBy: trackBy;" [style.width.px]="column.width"/>\n </ng-container>\n '}]}],propDecorators:{columns:[{type:P.Input}],groups:[{type:P.Input}],detailTemplate:[{type:P.Input}]}});function Ii(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Object.assign.apply(Object,g([{},Oi],k(e)))}function xi(e,t){return!1!==e.filter&&t.field&&t.filterable}function wi(e,t){return!1!==e.sort&&t.field&&t.sortable}function Si(e,t){return e.lock&&t.lockable&&!(t.parent&&!t.parent.isSpanColumn)}function Di(e){return!1!==e.columnChooser}function Ti(e){return e.map(function(e){return e.toJSON()})}var Fi,Oi={allowUnsort:!0,mode:"single",showIndexes:!0,initialDirection:"asc",multiSortKey:"none"},Ei=(Fi={filterEqOperator:"eq",filterNotEqOperator:"neq",filterGteOperator:"gte",filterGtOperator:"gt",filterLteOperator:"lte",filterLtOperator:"lt",filterIsNullOperator:"isnull",filterIsNotNullOperator:"isnotnull",filterIsEmptyOperator:"isempty",filterIsNotEmptyOperator:"isnotempty",filterContainsOperator:"contains",filterNotContainsOperator:"doesnotcontain",filterStartsWithOperator:"startswith",filterEndsWithOperator:"endswith",filterAfterOrEqualOperator:"after-eq",filterAfterOperator:"after",filterBeforeOrEqualOperator:"before-eq",filterBeforeOperator:"before"},function(n){return Object.keys(Fi).reduce(function(e,t){return e[Fi[t]]=n.get(t),e},{})}),S=(Object.defineProperty(Ri.prototype,"text",{get:function(){return this._text},set:function(e){this._text=ye(e)?this.messages[this.operator]:e},enumerable:!1,configurable:!0}),Ri.prototype.toJSON=function(){return{text:this.text,value:this.operator}},Ri.prototype.refreshText=function(){var e=this._text===this.messages[this.operator];this.messages=Ei(this.localization),e&&(this._text=this.messages[this.operator])},Ri);function Ri(e,t){this.operator=e,this.localization=t,this.messages=Ei(this.localization),this._text=this.messages[this.operator],this.localization.changes.subscribe(this.refreshText.bind(this))}S.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:S,deps:[{token:"filterOperator"},{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),S.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:S,selector:"kendo-grid-filter-operator-base",inputs:{text:"text"},ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:S,decorators:[{type:P.Component,args:[{selector:"kendo-grid-filter-operator-base",template:""}]}],ctorParameters:function(){return[{type:void 0,decorators:[{type:P.Inject,args:["filterOperator"]}]},{type:a.LocalizationService}]},propDecorators:{text:[{type:P.Input}]}});function Li(e,t,n,o){return V(t)&&V(t.filters)&&t.filters.length>e?t.filters[e]:(n={field:n,operator:o},(t||{filters:[],logic:"and"}).filters[e]=n)}function Pi(e){return[{text:e.get("filterAndLogic"),value:"and"},{text:e.get("filterOrLogic"),value:"or"}]}function Gi(e,t){return zi(e||{}).filter(function(e){return e.field===t})}function Vi(e,t){return Ni(e,t),e}function Mi(n){return function(t){return Object.keys(n).map(function(e){return{text:t.get(e),value:n[e]}})}}var zi=function(e){return V(e.filters)?e.filters.reduce(function(e,t){return e.concat(j.isCompositeFilterDescriptor(t)?zi(t):[t])},[]):[]},Ni=function(e,t){V(e)&&V(e.filters)&&(e.filters=e.filters.filter(function(e){return j.isCompositeFilterDescriptor(e)?(Ni(e,t),e.filters.length):e.field!==t}))},ji=(Object.defineProperty(Ai.prototype,"hostClasses",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(Ai.prototype,"operators",{get:function(){var e;return null!=(e=this._operators)&&e.length?this._operators:this.defaultOperators},set:function(e){this._operators=e},enumerable:!1,configurable:!0}),Ai.prototype.ngAfterContentInit=function(){var t=this;this.operationListSubscription=se(this.operatorList).pipe(G.map(function(e){return e.toArray()}),G.map(Ti)).subscribe(function(e){t.operators=e})},Ai.prototype.ngOnDestroy=function(){this.operationListSubscription&&this.operationListSubscription.unsubscribe()},Ai.prototype.filterByField=function(e){return t=this.filter,k(Gi(t,e),1)[0];var t},Ai.prototype.filtersByField=function(e){return Gi(this.filter,e)},Ai.prototype.removeFilter=function(e){return Vi(this.filter,e)},Ai.prototype.updateFilter=function(t){var e=this.filter||{filters:[],logic:"and"},n=k(zi(e).filter(function(e){return e.field===t.field}),1)[0];return V(n)?Object.assign(n,t):e.filters.push(t),e},Ai.prototype.applyFilter=function(e){this.filterService.filter(e)},Ai);function Ai(e){this.filterService=e,this.operatorList=new P.QueryList}ji.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ji,deps:[{token:v}],target:i.ɵɵFactoryTarget.Component}),ji.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:ji,selector:"kendo-grid-base-filter-cell",inputs:{operators:"operators"},host:{properties:{"class.k-filtercell":"this.hostClasses"}},queries:[{propertyName:"operatorList",predicate:S}],ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ji,decorators:[{type:P.Component,args:[{selector:"kendo-grid-base-filter-cell",template:""}]}],ctorParameters:function(){return[{type:v}]},propDecorators:{hostClasses:[{type:P.HostBinding,args:["class.k-filtercell"]}],operatorList:[{type:P.ContentChildren,args:[S]}],operators:[{type:P.Input}]}});function Bi(e){if(e)return j.isCompositeFilterDescriptor(e)?{filters:Bi(e.filters),logic:e.logic}:Array.isArray(e)?e.map(Bi):$i(e)}var Hi=function(e,t){return e.field!==t.field||e.operator!==t.operator||e.value!==t.value},$i=function(t){var n,o={};return Object.assign(o,t),t.constructor!==Object&&(n=t.constructor.prototype,Object.getOwnPropertyNames(n).forEach(function(e){"constructor"!==e&&n.hasOwnProperty(e)&&(o[e]=t[e])})),o},Ki=function(e,t){return!(!V(e)||V(t))||(!(V(e)||!V(t))||V(e)&&V(t)&&function(e,t){if(e.length!==t.length)return!0;for(var n=0,o=e.length;n<o;n++){var r=e[n],i=t[n];if(j.isCompositeFilterDescriptor(r)){if(Ki(r,i[n]))return!0}else if(Hi(r,i))return!0}return!1}(e.filters,t.filters))},qi=(_i.prototype.ngOnInit=function(){this.component=this.host.createComponent(this.resolver.resolveComponentFactory(this.componentType())),this.initComponent({column:this.column,filter:this.filter})},_i.prototype.ngOnDestroy=function(){this.component&&(this.component.destroy(),this.component=null)},_i.prototype.ngOnChanges=function(e){p.anyChanged(["column","filter"],e)&&this.initComponent({column:this.column,filter:this.filter})},_i.prototype.initComponent=function(e){var t=e.column,e=e.filter,n=this.component.instance;n.column=t,n.filter=e},_i);function _i(e,t){this.host=e,this.resolver=t}qi.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:qi,deps:[{token:i.ViewContainerRef},{token:i.ComponentFactoryResolver}],target:i.ɵɵFactoryTarget.Directive}),qi.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:qi,selector:"[kendoGridFilterHostBase]",inputs:{column:"column",filter:"filter"},usesOnChanges:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:qi,decorators:[{type:P.Directive,args:[{selector:"[kendoGridFilterHostBase]"}]}],ctorParameters:function(){return[{type:i.ViewContainerRef},{type:i.ComponentFactoryResolver}]},propDecorators:{column:[{type:P.Input}],filter:[{type:P.Input}]}});var Wi,Zi=Mi({filterEqOperator:"eq",filterNotEqOperator:"neq",filterContainsOperator:"contains",filterNotContainsOperator:"doesnotcontain",filterStartsWithOperator:"startswith",filterEndsWithOperator:"endswith",filterIsNullOperator:"isnull",filterIsNotNullOperator:"isnotnull",filterIsEmptyOperator:"isempty",filterIsNotEmptyOperator:"isnotempty"}),Ui=(c(Qi,Wi=ji),Object.defineProperty(Qi.prototype,"currentFilter",{get:function(){return this.filterByField((this.column||{}).field)},enumerable:!1,configurable:!0}),Object.defineProperty(Qi.prototype,"currentOperator",{get:function(){return(this.currentFilter||this).operator},enumerable:!1,configurable:!0}),Qi.prototype.ngOnInit=function(){this.subscription=this.localization.changes.subscribe(this.localizationChange.bind(this))},Qi.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe(),Wi.prototype.ngOnDestroy.call(this)},Qi.prototype.localizationChange=function(){this.defaultOperators=Zi(this.localization),this.operatorList.length&&(this.operators=Ti(this.operatorList.toArray()))},Qi);function Qi(e,t){e=Wi.call(this,e)||this;return e.localization=t,e.operator="contains",e}Ui.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ui,deps:[{token:v},{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),Ui.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Ui,selector:"kendo-grid-string-filter-base",inputs:{column:"column",filter:"filter",operator:"operator"},usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ui,decorators:[{type:P.Component,args:[{selector:"kendo-grid-string-filter-base",template:""}]}],ctorParameters:function(){return[{type:v},{type:a.LocalizationService}]},propDecorators:{column:[{type:P.Input}],filter:[{type:P.Input}],operator:[{type:P.Input}]}});Object.defineProperty(Yi.prototype,"value",{set:function(e){this.accessor.writeValue(e)},enumerable:!1,configurable:!0}),Object.defineProperty(Yi.prototype,"disabled",{set:function(e){this.accessor.setDisabledState(e)},enumerable:!1,configurable:!0}),Yi.prototype.ngAfterViewInit=function(){var t=this;this.addAriaAttributes(),this.accessor.registerOnChange(function(e){return 0<t.filterDelay?t.changeRequests.next(e):t.change.emit(e)}),this.subscribeChanges()},Yi.prototype.ngOnChanges=function(e){p.isChanged("filterDelay",e)&&(this.unsubscribeChanges(),this.subscribeChanges())},Yi.prototype.ngOnDestroy=function(){this.unsubscribeChanges(),this.unsubscribeEvents()},Yi.prototype.subscribeChanges=function(){var t=this;this.changeRequestsSubscription=this.changeRequests.pipe(G.debounceTime(this.filterDelay),G.filter(function(){return!t.composing})).subscribe(function(e){return t.change.emit(e)})},Yi.prototype.unsubscribeChanges=function(){this.changeRequestsSubscription&&this.changeRequestsSubscription.unsubscribe()},Yi.prototype.addAriaAttributes=function(){var e,t=this.columnLabel;this.kendoInput&&this.kendoInput.focusableId&&p.isDocumentAvailable()?(e=this.element.nativeElement.querySelector("#"+this.kendoInput.focusableId)||this.element.nativeElement,this.renderer.setAttribute(e,"aria-label",t)):this.renderer.setAttribute(this.element.nativeElement,"aria-label",t)};var Xi=Yi;function Yi(e,t,n,o){var r=this;this.element=n,this.renderer=o,this.change=new P.EventEmitter,this.composing=!1,this.filterDelay=500,this.changeRequests=new b.Subject,this.accessor=e[0],t.runOutsideAngular(function(){var e=o.listen(n.nativeElement,"compositionstart",function(){return r.composing=!0}),t=o.listen(n.nativeElement,"compositionend",function(){return r.composing=!1});r.unsubscribeEvents=function(){e(),t()}})}Xi.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Xi,deps:[{token:z.NG_VALUE_ACCESSOR,self:!0},{token:i.NgZone},{token:i.ElementRef},{token:i.Renderer2}],target:i.ɵɵFactoryTarget.Directive}),Xi.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:Xi,selector:"[kendoFilterInput]",inputs:{filterDelay:"filterDelay",columnLabel:"columnLabel",value:"value"},queries:[{propertyName:"kendoInput",first:!0,predicate:p.KendoInput,descendants:!0,static:!0}],usesOnChanges:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Xi,decorators:[{type:P.Directive,args:[{selector:"[kendoFilterInput]"}]}],ctorParameters:function(){return[{type:void 0,decorators:[{type:P.Self},{type:P.Inject,args:[z.NG_VALUE_ACCESSOR]}]},{type:i.NgZone},{type:i.ElementRef},{type:i.Renderer2}]},propDecorators:{kendoInput:[{type:P.ContentChild,args:[p.KendoInput,{static:!0}]}],filterDelay:[{type:P.Input}],columnLabel:[{type:P.Input}],value:[{type:P.Input}]}});function Ji(e){return ta.has(e)}var ea,ta=new Set(["isnull","isnotnull","isempty","isnotempty"]),na=(c(oa,ea=ji),Object.defineProperty(oa.prototype,"currentFilter",{get:function(){return this.filterByField(this.column.field)},enumerable:!1,configurable:!0}),Object.defineProperty(oa.prototype,"currentOperator",{get:function(){var e=this.currentFilter;return this._operator||(this._operator=e?e.operator:this.defaultOperator),this._operator},set:function(e){this._operator=e;var t=Ji(e);(this.filterInputDisabled=t)?this.applyNoValueFilter(e):!ie(e)&&V(this.currentFilter)&&this.onChange(this.currentFilter.value)},enumerable:!1,configurable:!0}),Object.defineProperty(oa.prototype,"defaultOperator",{get:function(){return ye(this._defaultOperator)?this.operators&&this.operators.length?this.operators[0].value:"eq":this._defaultOperator},set:function(e){this._defaultOperator=e},enumerable:!1,configurable:!0}),Object.defineProperty(oa.prototype,"filterInputDisabled",{set:function(e){this.input&&(this.input.disabled=e)},enumerable:!1,configurable:!0}),oa.prototype.ngAfterContentInit=function(){V(this.input)&&(this.changeSubscription=this.input.change.subscribe(this.onChange.bind(this)),this.filterInputDisabled=Ji(this.currentOperator))},oa.prototype.ngOnDestroy=function(){ea.prototype.ngOnDestroy.call(this),this.changeSubscription&&this.changeSubscription.unsubscribe()},oa.prototype.onChange=function(e){ye(e)&&!this.filterByField(this.column.field)||this.filterChange(ye(e)?this.removeFilter(this.column.field):this.updateFilter({field:this.column.field,operator:this.currentOperator,value:e}))},oa.prototype.onClear=function(){this.onChange(null),this.filterInputDisabled=Ji(this.defaultOperator)},oa.prototype.applyNoValueFilter=function(e){this.filterChange(this.updateFilter({field:this.column.field,operator:e,value:null}))},oa.prototype.ngOnChanges=function(e){p.isChanged("filter",e,!1)&&(this._operator=null,this.filterInputDisabled=Ji(this.currentOperator))},oa);function oa(e){return ea.call(this,e)||this}na.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:na,deps:[{token:v}],target:i.ɵɵFactoryTarget.Component}),na.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:na,selector:"kendo-grid-filter-input-wrapper-base",inputs:{column:"column",filter:"filter",defaultOperator:"defaultOperator"},queries:[{propertyName:"input",first:!0,predicate:Xi,descendants:!0}],usesInheritance:!0,usesOnChanges:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:na,decorators:[{type:P.Component,args:[{selector:"kendo-grid-filter-input-wrapper-base",template:""}]}],ctorParameters:function(){return[{type:v}]},propDecorators:{column:[{type:P.Input}],filter:[{type:P.Input}],input:[{type:P.ContentChild,args:[Xi,{static:!1}]}],defaultOperator:[{type:P.Input}]}});ia.prototype.ngAfterViewInit=function(){var e=this.host.wrapper.nativeElement;e.setAttribute("aria-label",this.filterMenuDropDownLabel),e.addEventListener("keydown",this.keydownHandler,!0)},ia.prototype.ngOnDestroy=function(){this.host.wrapper.nativeElement.removeEventListener("keydown",this.keydownHandler)};var ra=ia;function ia(e){var t=this;this.host=e,this.keydownHandler=function(e){e.keyCode===p.Keys.Escape&&t.host.isOpen&&(e.stopPropagation(),t.host.toggle(!1))}}ra.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ra,deps:[{token:te.DropDownListComponent}],target:i.ɵɵFactoryTarget.Directive}),ra.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:ra,selector:"[kendoFilterMenuDropDown]",inputs:{filterMenuDropDownLabel:"filterMenuDropDownLabel"},ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ra,decorators:[{type:P.Directive,args:[{selector:"[kendoFilterMenuDropDown]"}]}],ctorParameters:function(){return[{type:te.DropDownListComponent}]},propDecorators:{filterMenuDropDownLabel:[{type:P.Input}]}});c(la,aa=na),Object.defineProperty(la.prototype,"hostClasses",{get:function(){return!1},enumerable:!1,configurable:!0}),la.prototype.ngAfterViewInit=function(){this.isFirstDropDown&&this.filterService&&this.filterService.menuTabbingService&&(this.filterService.menuTabbingService.firstFocusable=this.firstOperatorDropDown,this.firstOperatorDropDown.focus())},la.prototype.operatorChange=function(e){this.currentOperator=e},la.prototype.filterChange=function(e){this.applyFilter(e)},Object.defineProperty(la.prototype,"currentFilter",{get:function(){return this._currentFilter},set:function(e){this._currentFilter=e},enumerable:!1,configurable:!0}),la.prototype.updateFilter=function(e){return Object.assign(this.currentFilter,e),this.filter},la.prototype.onChange=function(e){this.filterChange(this.updateFilter({field:this.column.field,operator:this.currentOperator,value:e}))},la.prototype.onShiftTab=function(e){e.stopImmediatePropagation(),this.menuTabbingService&&this.menuTabbingService.isColumnMenu||!this.isFirstDropDown||!this.filterService.menuTabbingService.lastFocusable||(e.preventDefault(),this.filterService.menuTabbingService.lastFocusable.focus())},Object.defineProperty(la.prototype,"filterMenuDropDownLabel",{get:function(){var e=this.localizationService.get("filterMenuOperatorsDropDownLabel")||"",t=this.column?this.column.title||this.column.field:"";return be(e,"columnName",t)},enumerable:!1,configurable:!0});var aa,sa=la;function la(e){var t=aa.call(this,null)||this;return t.localizationService=e,t}sa.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:sa,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),sa.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:sa,selector:"kendo-grid-filter-menu-input-wrapper",inputs:{filterService:"filterService",isFirstDropDown:"isFirstDropDown",menuTabbingService:"menuTabbingService",currentFilter:"currentFilter"},viewQueries:[{propertyName:"firstOperatorDropDown",first:!0,predicate:o.DropDownListComponent,descendants:!0}],usesInheritance:!0,ngImport:i,template:'\n <kendo-dropdownlist\n kendoFilterMenuDropDown\n [filterMenuDropDownLabel]="filterMenuDropDownLabel"\n [data]="operators"\n (valueChange)="operatorChange($event)"\n [value]="currentOperator"\n [valuePrimitive]="true"\n textField="text"\n valueField="value"\n (keydown.shift.tab)="onShiftTab($event)">\n </kendo-dropdownlist>\n <ng-content></ng-content>\n ',isInline:!0,components:[{type:te.DropDownListComponent,selector:"kendo-dropdownlist",inputs:["iconClass","loading","data","value","textField","valueField","popupSettings","listHeight","defaultItem","disabled","itemDisabled","readonly","filterable","virtual","ignoreCase","delay","valuePrimitive","tabindex","tabIndex","size","rounded","fillMode","id"],outputs:["valueChange","filterChange","selectionChange","open","opened","close","closed","focus","blur"],exportAs:["kendoDropDownList"]}],directives:[{type:ra,selector:"[kendoFilterMenuDropDown]",inputs:["filterMenuDropDownLabel"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:sa,decorators:[{type:P.Component,args:[{selector:"kendo-grid-filter-menu-input-wrapper",template:'\n <kendo-dropdownlist\n kendoFilterMenuDropDown\n [filterMenuDropDownLabel]="filterMenuDropDownLabel"\n [data]="operators"\n (valueChange)="operatorChange($event)"\n [value]="currentOperator"\n [valuePrimitive]="true"\n textField="text"\n valueField="value"\n (keydown.shift.tab)="onShiftTab($event)">\n </kendo-dropdownlist>\n <ng-content></ng-content>\n '}]}],ctorParameters:function(){return[{type:a.LocalizationService}]},propDecorators:{filterService:[{type:P.Input}],isFirstDropDown:[{type:P.Input}],menuTabbingService:[{type:P.Input}],firstOperatorDropDown:[{type:P.ViewChild,args:[o.DropDownListComponent,{static:!1}]}],currentFilter:[{type:P.Input}]}});Object.defineProperty(pa.prototype,"columnLabel",{get:function(){var e=this.localizationService.get("filterInputLabel")||"",t=this.column?this.column.title||this.column.field:"";return be(e,"columnName",t)},enumerable:!1,configurable:!0});var ca=pa;function pa(e){this.localizationService=e,this.operators=[]}ca.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ca,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),ca.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:ca,selector:"kendo-grid-string-filter-menu-input",inputs:{operators:"operators",column:"column",filter:"filter",operator:"operator",currentFilter:"currentFilter",filterService:"filterService",isFirstDropDown:"isFirstDropDown",menuTabbingService:"menuTabbingService"},ngImport:i,template:'\n <kendo-grid-filter-menu-input-wrapper\n [column]="column"\n [filter]="filter"\n [operators]="operators"\n [defaultOperator]="operator"\n [currentFilter]="currentFilter"\n [filterService]="filterService"\n [isFirstDropDown]="isFirstDropDown"\n [menuTabbingService]="menuTabbingService"\n >\n <input\n kendoTextBox\n kendoFilterInput\n [columnLabel]="columnLabel"\n [filterDelay]="0"\n [ngModel]="currentFilter?.value" />\n </kendo-grid-filter-menu-input-wrapper>\n ',isInline:!0,components:[{type:sa,selector:"kendo-grid-filter-menu-input-wrapper",inputs:["filterService","isFirstDropDown","menuTabbingService","currentFilter"]}],directives:[{type:ee.TextBoxDirective,selector:"input[kendoTextBox]",inputs:["value"]},{type:l.DefaultValueAccessor,selector:"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]"},{type:Xi,selector:"[kendoFilterInput]",inputs:["filterDelay","columnLabel","value"]},{type:l.NgControlStatus,selector:"[formControlName],[ngModel],[formControl]"},{type:l.NgModel,selector:"[ngModel]:not([formControlName]):not([formControl])",inputs:["name","disabled","ngModel","ngModelOptions"],outputs:["ngModelChange"],exportAs:["ngModel"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ca,decorators:[{type:P.Component,args:[{selector:"kendo-grid-string-filter-menu-input",template:'\n <kendo-grid-filter-menu-input-wrapper\n [column]="column"\n [filter]="filter"\n [operators]="operators"\n [defaultOperator]="operator"\n [currentFilter]="currentFilter"\n [filterService]="filterService"\n [isFirstDropDown]="isFirstDropDown"\n [menuTabbingService]="menuTabbingService"\n >\n <input\n kendoTextBox\n kendoFilterInput\n [columnLabel]="columnLabel"\n [filterDelay]="0"\n [ngModel]="currentFilter?.value" />\n </kendo-grid-filter-menu-input-wrapper>\n '}]}],ctorParameters:function(){return[{type:a.LocalizationService}]},propDecorators:{operators:[{type:P.Input}],column:[{type:P.Input}],filter:[{type:P.Input}],operator:[{type:P.Input}],currentFilter:[{type:P.Input}],filterService:[{type:P.Input}],isFirstDropDown:[{type:P.Input}],menuTabbingService:[{type:P.Input}]}});c(ga,ua=Ui),Object.defineProperty(ga.prototype,"hostClasses",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(ga.prototype,"firstFilter",{get:function(){return Li(0,this.filter,(this.column||{}).field,this.operator)},enumerable:!1,configurable:!0}),Object.defineProperty(ga.prototype,"secondFilter",{get:function(){return Li(1,this.filter,(this.column||{}).field,this.operator)},enumerable:!1,configurable:!0}),ga.prototype.logicChange=function(e){this.filter.logic=e},Object.defineProperty(ga.prototype,"filterMenuDropDownLabel",{get:function(){var e=this.localization.get("filterMenuLogicDropDownLabel")||"",t=this.column?this.column.title||this.column.field:"";return be(e,"columnName",t)},enumerable:!1,configurable:!0}),ga.prototype.localizationChange=function(){this.logicOperators=Pi(this.localization),ua.prototype.localizationChange.call(this)};var ua,da=ga;function ga(e){e=ua.call(this,null,e)||this;return e.logicOperators=Pi(e.localization),e.filter={filters:[],logic:"and"},e.extra=!0,e}da.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:da,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),da.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:da,selector:"kendo-grid-string-filter-menu",inputs:{column:"column",filter:"filter",extra:"extra",filterService:"filterService",menuTabbingService:"menuTabbingService"},host:{properties:{"class.k-filtercell":"this.hostClasses"}},usesInheritance:!0,ngImport:i,template:'\n <kendo-grid-string-filter-menu-input\n [currentFilter]="firstFilter"\n [operators]="operators"\n [filterService]="filterService"\n [column]="column"\n [filter]="filter"\n [isFirstDropDown]="true"\n [menuTabbingService]="menuTabbingService">\n </kendo-grid-string-filter-menu-input>\n <kendo-dropdownlist\n *ngIf="extra"\n kendoFilterMenuDropDown\n [filterMenuDropDownLabel]="filterMenuDropDownLabel"\n class="k-filter-and"\n [data]="logicOperators"\n [valuePrimitive]="true" (valueChange)="logicChange($event)"\n [value]="filter?.logic"\n textField="text"\n valueField="value">\n </kendo-dropdownlist>\n <kendo-grid-string-filter-menu-input\n *ngIf="extra"\n [operators]="operators"\n [currentFilter]="secondFilter"\n [filterService]="filterService"\n [column]="column"\n [filter]="filter"\n [menuTabbingService]="menuTabbingService">\n </kendo-grid-string-filter-menu-input>\n ',isInline:!0,components:[{type:ca,selector:"kendo-grid-string-filter-menu-input",inputs:["operators","column","filter","operator","currentFilter","filterService","isFirstDropDown","menuTabbingService"]},{type:te.DropDownListComponent,selector:"kendo-dropdownlist",inputs:["iconClass","loading","data","value","textField","valueField","popupSettings","listHeight","defaultItem","disabled","itemDisabled","readonly","filterable","virtual","ignoreCase","delay","valuePrimitive","tabindex","tabIndex","size","rounded","fillMode","id"],outputs:["valueChange","filterChange","selectionChange","open","opened","close","closed","focus","blur"],exportAs:["kendoDropDownList"]}],directives:[{type:s.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{type:ra,selector:"[kendoFilterMenuDropDown]",inputs:["filterMenuDropDownLabel"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:da,decorators:[{type:P.Component,args:[{selector:"kendo-grid-string-filter-menu",template:'\n <kendo-grid-string-filter-menu-input\n [currentFilter]="firstFilter"\n [operators]="operators"\n [filterService]="filterService"\n [column]="column"\n [filter]="filter"\n [isFirstDropDown]="true"\n [menuTabbingService]="menuTabbingService">\n </kendo-grid-string-filter-menu-input>\n <kendo-dropdownlist\n *ngIf="extra"\n kendoFilterMenuDropDown\n [filterMenuDropDownLabel]="filterMenuDropDownLabel"\n class="k-filter-and"\n [data]="logicOperators"\n [valuePrimitive]="true" (valueChange)="logicChange($event)"\n [value]="filter?.logic"\n textField="text"\n valueField="value">\n </kendo-dropdownlist>\n <kendo-grid-string-filter-menu-input\n *ngIf="extra"\n [operators]="operators"\n [currentFilter]="secondFilter"\n [filterService]="filterService"\n [column]="column"\n [filter]="filter"\n [menuTabbingService]="menuTabbingService">\n </kendo-grid-string-filter-menu-input>\n '}]}],ctorParameters:function(){return[{type:a.LocalizationService}]},propDecorators:{hostClasses:[{type:P.HostBinding,args:["class.k-filtercell"]}],column:[{type:P.Input}],filter:[{type:P.Input}],extra:[{type:P.Input}],filterService:[{type:P.Input}],menuTabbingService:[{type:P.Input}]}});var ma,ha=Mi({filterEqOperator:"eq",filterNotEqOperator:"neq",filterGteOperator:"gte",filterGtOperator:"gt",filterLteOperator:"lte",filterLtOperator:"lt",filterIsNullOperator:"isnull",filterIsNotNullOperator:"isnotnull"}),fa=(c(ya,ma=ji),Object.defineProperty(ya.prototype,"format",{get:function(){return ye(this._format)?this.columnFormat:this._format},set:function(e){this._format=e},enumerable:!1,configurable:!0}),Object.defineProperty(ya.prototype,"currentFilter",{get:function(){return this.filterByField(this.column.field)},enumerable:!1,configurable:!0}),Object.defineProperty(ya.prototype,"currentOperator",{get:function(){return(this.currentFilter||this).operator},enumerable:!1,configurable:!0}),Object.defineProperty(ya.prototype,"columnFormat",{get:function(){return this.column&&!ye(this.column.format)?ue(this.column.format):"n2"},enumerable:!1,configurable:!0}),ya.prototype.ngOnInit=function(){this.subscription=this.localization.changes.subscribe(this.localizationChange.bind(this))},ya.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe(),ma.prototype.ngOnDestroy.call(this)},ya.prototype.localizationChange=function(){this.defaultOperators=ha(this.localization),this.operatorList.length&&(this.operators=Ti(this.operatorList.toArray()))},ya);function ya(e,t){e=ma.call(this,e)||this;return e.localization=t,e.operator="eq",e.step=1,e.spinners=!0,e.defaultOperators=ha(e.localization),e}fa.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:fa,deps:[{token:v},{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),fa.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:fa,selector:"kendo-grid-numeric-filter-component-base",inputs:{column:"column",filter:"filter",operator:"operator",step:"step",min:"min",max:"max",spinners:"spinners",decimals:"decimals",format:"format"},usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:fa,decorators:[{type:P.Component,args:[{selector:"kendo-grid-numeric-filter-component-base",template:""}]}],ctorParameters:function(){return[{type:v},{type:a.LocalizationService}]},propDecorators:{column:[{type:P.Input}],filter:[{type:P.Input}],operator:[{type:P.Input}],step:[{type:P.Input}],min:[{type:P.Input}],max:[{type:P.Input}],spinners:[{type:P.Input}],decimals:[{type:P.Input}],format:[{type:P.Input}]}});ba.prototype.messageFor=function(e){return this.localization.get(e)},Object.defineProperty(ba.prototype,"columnLabel",{get:function(){var e=this.localization.get("filterInputLabel")||"",t=this.column?this.column.title||this.column.field:"";return be(e,"columnName",t)},enumerable:!1,configurable:!0});var va=ba;function ba(e){this.localization=e,this.operators=[],this.step=1,this.spinners=!0}va.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:va,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),va.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:va,selector:"kendo-grid-numeric-filter-menu-input",inputs:{operators:"operators",column:"column",filter:"filter",operator:"operator",currentFilter:"currentFilter",filterService:"filterService",isFirstDropDown:"isFirstDropDown",menuTabbingService:"menuTabbingService",step:"step",min:"min",max:"max",spinners:"spinners",decimals:"decimals",format:"format"},ngImport:i,template:'\n <kendo-grid-filter-menu-input-wrapper\n [column]="column"\n [filter]="filter"\n [operators]="operators"\n [defaultOperator]="operator"\n [currentFilter]="currentFilter"\n [filterService]="filterService"\n [isFirstDropDown]="isFirstDropDown"\n [menuTabbingService]="menuTabbingService"\n >\n <kendo-numerictextbox\n kendoFilterInput\n [columnLabel]="columnLabel"\n [filterDelay]="0"\n [autoCorrect]="true"\n [value]="currentFilter?.value"\n [format]="format"\n [decimals]="decimals"\n [spinners]="spinners"\n [min]="min"\n [max]="max"\n [step]="step"\n >\n <kendo-numerictextbox-messages\n [increment]="messageFor(\'filterNumericIncrement\')"\n [decrement]="messageFor(\'filterNumericDecrement\')"\n >\n </kendo-numerictextbox-messages>\n </kendo-numerictextbox>\n </kendo-grid-filter-menu-input-wrapper>\n ',isInline:!0,components:[{type:sa,selector:"kendo-grid-filter-menu-input-wrapper",inputs:["filterService","isFirstDropDown","menuTabbingService","currentFilter"]},{type:ee.NumericTextBoxComponent,selector:"kendo-numerictextbox",inputs:["focusableId","disabled","readonly","title","autoCorrect","format","max","min","decimals","placeholder","step","spinners","rangeValidation","tabindex","tabIndex","changeValueOnScroll","selectOnFocus","value","maxlength","size","rounded","fillMode"],outputs:["valueChange","focus","blur"],exportAs:["kendoNumericTextBox"]},{type:ee.NumericTextBoxCustomMessagesComponent,selector:"kendo-numerictextbox-messages"}],directives:[{type:Xi,selector:"[kendoFilterInput]",inputs:["filterDelay","columnLabel","value"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:va,decorators:[{type:P.Component,args:[{selector:"kendo-grid-numeric-filter-menu-input",template:'\n <kendo-grid-filter-menu-input-wrapper\n [column]="column"\n [filter]="filter"\n [operators]="operators"\n [defaultOperator]="operator"\n [currentFilter]="currentFilter"\n [filterService]="filterService"\n [isFirstDropDown]="isFirstDropDown"\n [menuTabbingService]="menuTabbingService"\n >\n <kendo-numerictextbox\n kendoFilterInput\n [columnLabel]="columnLabel"\n [filterDelay]="0"\n [autoCorrect]="true"\n [value]="currentFilter?.value"\n [format]="format"\n [decimals]="decimals"\n [spinners]="spinners"\n [min]="min"\n [max]="max"\n [step]="step"\n >\n <kendo-numerictextbox-messages\n [increment]="messageFor(\'filterNumericIncrement\')"\n [decrement]="messageFor(\'filterNumericDecrement\')"\n >\n </kendo-numerictextbox-messages>\n </kendo-numerictextbox>\n </kendo-grid-filter-menu-input-wrapper>\n '}]}],ctorParameters:function(){return[{type:a.LocalizationService}]},propDecorators:{operators:[{type:P.Input}],column:[{type:P.Input}],filter:[{type:P.Input}],operator:[{type:P.Input}],currentFilter:[{type:P.Input}],filterService:[{type:P.Input}],isFirstDropDown:[{type:P.Input}],menuTabbingService:[{type:P.Input}],step:[{type:P.Input}],min:[{type:P.Input}],max:[{type:P.Input}],spinners:[{type:P.Input}],decimals:[{type:P.Input}],format:[{type:P.Input}]}});c(Ia,ka=fa),Object.defineProperty(Ia.prototype,"hostClasses",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(Ia.prototype,"firstFilter",{get:function(){return Li(0,this.filter,(this.column||{}).field,this.operator)},enumerable:!1,configurable:!0}),Object.defineProperty(Ia.prototype,"secondFilter",{get:function(){return Li(1,this.filter,(this.column||{}).field,this.operator)},enumerable:!1,configurable:!0}),Ia.prototype.logicChange=function(e){this.filter.logic=e},Object.defineProperty(Ia.prototype,"filterMenuDropDownLabel",{get:function(){var e=this.localization.get("filterMenuLogicDropDownLabel")||"",t=this.column?this.column.title||this.column.field:"";return be(e,"columnName",t)},enumerable:!1,configurable:!0}),Ia.prototype.localizationChange=function(){this.logicOperators=Pi(this.localization),ka.prototype.localizationChange.call(this)};var ka,Ca=Ia;function Ia(e){e=ka.call(this,null,e)||this;return e.logicOperators=Pi(e.localization),e.filter={filters:[],logic:"and"},e.extra=!0,e}Ca.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ca,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),Ca.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Ca,selector:"kendo-grid-numeric-filter-menu",inputs:{column:"column",filter:"filter",extra:"extra",filterService:"filterService",menuTabbingService:"menuTabbingService"},host:{properties:{"class.k-filtercell":"this.hostClasses"}},usesInheritance:!0,ngImport:i,template:'\n <kendo-grid-numeric-filter-menu-input\n [currentFilter]="firstFilter"\n [operators]="operators"\n [filterService]="filterService"\n [column]="column"\n [filter]="filter"\n [format]="format"\n [decimals]="decimals"\n [spinners]="spinners"\n [min]="min"\n [max]="max"\n [step]="step"\n [menuTabbingService]="menuTabbingService"\n [isFirstDropDown]="true"\n >\n </kendo-grid-numeric-filter-menu-input>\n <kendo-dropdownlist\n *ngIf="extra"\n kendoFilterMenuDropDown\n [filterMenuDropDownLabel]="filterMenuDropDownLabel"\n class="k-filter-and"\n [data]="logicOperators"\n [valuePrimitive]="true"\n (valueChange)="logicChange($event)"\n [value]="filter?.logic"\n textField="text"\n valueField="value">\n </kendo-dropdownlist>\n <kendo-grid-numeric-filter-menu-input\n *ngIf="extra"\n [operators]="operators"\n [currentFilter]="secondFilter"\n [filterService]="filterService"\n [column]="column"\n [filter]="filter"\n [format]="format"\n [decimals]="decimals"\n [spinners]="spinners"\n [min]="min"\n [max]="max"\n [step]="step"\n [menuTabbingService]="menuTabbingService"\n >\n </kendo-grid-numeric-filter-menu-input>\n ',isInline:!0,components:[{type:va,selector:"kendo-grid-numeric-filter-menu-input",inputs:["operators","column","filter","operator","currentFilter","filterService","isFirstDropDown","menuTabbingService","step","min","max","spinners","decimals","format"]},{type:te.DropDownListComponent,selector:"kendo-dropdownlist",inputs:["iconClass","loading","data","value","textField","valueField","popupSettings","listHeight","defaultItem","disabled","itemDisabled","readonly","filterable","virtual","ignoreCase","delay","valuePrimitive","tabindex","tabIndex","size","rounded","fillMode","id"],outputs:["valueChange","filterChange","selectionChange","open","opened","close","closed","focus","blur"],exportAs:["kendoDropDownList"]}],directives:[{type:s.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{type:ra,selector:"[kendoFilterMenuDropDown]",inputs:["filterMenuDropDownLabel"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ca,decorators:[{type:P.Component,args:[{selector:"kendo-grid-numeric-filter-menu",template:'\n <kendo-grid-numeric-filter-menu-input\n [currentFilter]="firstFilter"\n [operators]="operators"\n [filterService]="filterService"\n [column]="column"\n [filter]="filter"\n [format]="format"\n [decimals]="decimals"\n [spinners]="spinners"\n [min]="min"\n [max]="max"\n [step]="step"\n [menuTabbingService]="menuTabbingService"\n [isFirstDropDown]="true"\n >\n </kendo-grid-numeric-filter-menu-input>\n <kendo-dropdownlist\n *ngIf="extra"\n kendoFilterMenuDropDown\n [filterMenuDropDownLabel]="filterMenuDropDownLabel"\n class="k-filter-and"\n [data]="logicOperators"\n [valuePrimitive]="true"\n (valueChange)="logicChange($event)"\n [value]="filter?.logic"\n textField="text"\n valueField="value">\n </kendo-dropdownlist>\n <kendo-grid-numeric-filter-menu-input\n *ngIf="extra"\n [operators]="operators"\n [currentFilter]="secondFilter"\n [filterService]="filterService"\n [column]="column"\n [filter]="filter"\n [format]="format"\n [decimals]="decimals"\n [spinners]="spinners"\n [min]="min"\n [max]="max"\n [step]="step"\n [menuTabbingService]="menuTabbingService"\n >\n </kendo-grid-numeric-filter-menu-input>\n '}]}],ctorParameters:function(){return[{type:a.LocalizationService}]},propDecorators:{hostClasses:[{type:P.HostBinding,args:["class.k-filtercell"]}],column:[{type:P.Input}],filter:[{type:P.Input}],extra:[{type:P.Input}],filterService:[{type:P.Input}],menuTabbingService:[{type:P.Input}]}});var xa,wa=Mi({filterEqOperator:"eq",filterNotEqOperator:"neq",filterAfterOrEqualOperator:"gte",filterAfterOperator:"gt",filterBeforeOrEqualOperator:"lte",filterBeforeOperator:"lt",filterIsNullOperator:"isnull",filterIsNotNullOperator:"isnotnull"}),Sa=(c(Da,xa=ji),Object.defineProperty(Da.prototype,"currentFilter",{get:function(){return this.filterByField(this.column.field)},enumerable:!1,configurable:!0}),Object.defineProperty(Da.prototype,"format",{get:function(){return ye(this._format)?this.columnFormat:this._format},set:function(e){this._format=e},enumerable:!1,configurable:!0}),Object.defineProperty(Da.prototype,"columnFormat",{get:function(){return this.column&&!ye(this.column.format)?ue(this.column.format):"d"},enumerable:!1,configurable:!0}),Object.defineProperty(Da.prototype,"currentOperator",{get:function(){return(this.currentFilter||this).operator},enumerable:!1,configurable:!0}),Da.prototype.ngOnInit=function(){this.subscription=this.localization.changes.subscribe(this.localizationChange.bind(this))},Da.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe(),xa.prototype.ngOnDestroy.call(this)},Da.prototype.localizationChange=function(){this.defaultOperators=wa(this.localization),this.operatorList.length&&(this.operators=Ti(this.operatorList.toArray()))},Da);function Da(e,t){e=xa.call(this,e)||this;return e.localization=t,e.operator="gte",e.activeView="month",e.bottomView="month",e.topView="century",e.weekNumber=!1,e.defaultOperators=wa(e.localization),e}Sa.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Sa,deps:[{token:v},{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),Sa.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Sa,selector:"kendo-grid-date-filter-base",inputs:{column:"column",filter:"filter",operator:"operator",format:"format",min:"min",max:"max",formatPlaceholder:"formatPlaceholder",placeholder:"placeholder",activeView:"activeView",bottomView:"bottomView",topView:"topView",weekNumber:"weekNumber"},usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Sa,decorators:[{type:P.Component,args:[{selector:"kendo-grid-date-filter-base",template:""}]}],ctorParameters:function(){return[{type:v},{type:a.LocalizationService}]},propDecorators:{column:[{type:P.Input}],filter:[{type:P.Input}],operator:[{type:P.Input}],format:[{type:P.Input}],min:[{type:P.Input}],max:[{type:P.Input}],formatPlaceholder:[{type:P.Input}],placeholder:[{type:P.Input}],activeView:[{type:P.Input}],bottomView:[{type:P.Input}],topView:[{type:P.Input}],weekNumber:[{type:P.Input}]}});Fa.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},Fa.prototype.open=function(e){this.subscription=this.popupService.onClose.pipe(G.filter(function(){return e.isActive})).subscribe(function(e){return e.preventDefault()})},Fa.prototype.messageFor=function(e){return this.localizationService.get(e)},Object.defineProperty(Fa.prototype,"columnLabel",{get:function(){var e=this.localizationService.get("filterInputLabel")||"",t=this.column?this.column.title||this.column.field:"";return be(e,"columnName",t)},enumerable:!1,configurable:!0});var Ta=Fa;function Fa(e,t){this.popupService=e,this.localizationService=t,this.operators=[]}Ta.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ta,deps:[{token:er},{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),Ta.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Ta,selector:"kendo-grid-date-filter-menu-input",inputs:{operators:"operators",column:"column",filter:"filter",operator:"operator",currentFilter:"currentFilter",filterService:"filterService",menuTabbingService:"menuTabbingService",format:"format",formatPlaceholder:"formatPlaceholder",placeholder:"placeholder",min:"min",max:"max",activeView:"activeView",bottomView:"bottomView",topView:"topView",weekNumber:"weekNumber",isFirstDropDown:"isFirstDropDown"},ngImport:i,template:'\n <kendo-grid-filter-menu-input-wrapper\n [column]="column"\n [filter]="filter"\n [operators]="operators"\n [defaultOperator]="operator"\n [currentFilter]="currentFilter"\n [filterService]="filterService"\n [isFirstDropDown]="isFirstDropDown"\n [menuTabbingService]="menuTabbingService"\n >\n <kendo-datepicker\n #picker\n kendoFilterInput\n [columnLabel]="columnLabel"\n [filterDelay]="0"\n (open)="open(picker)"\n [value]="currentFilter?.value"\n [placeholder]="placeholder"\n [formatPlaceholder]="formatPlaceholder"\n [format]="format"\n [min]="min"\n [max]="max"\n [activeView]="activeView"\n [bottomView]="bottomView"\n [topView]="topView"\n [weekNumber]="weekNumber"\n >\n <kendo-datepicker-messages\n [toggle]="messageFor(\'filterDateToggle\')"\n [today]="messageFor(\'filterDateToday\')"\n >\n </kendo-datepicker-messages>\n </kendo-datepicker>\n </kendo-grid-filter-menu-input-wrapper>\n ',isInline:!0,components:[{type:sa,selector:"kendo-grid-filter-menu-input-wrapper",inputs:["filterService","isFirstDropDown","menuTabbingService","currentFilter"]},{type:ne.DatePickerComponent,selector:"kendo-datepicker",inputs:["cellTemplate","monthCellTemplate","yearCellTemplate","decadeCellTemplate","centuryCellTemplate","weekNumberTemplate","headerTitleTemplate","navigationItemTemplate","focusableId","activeView","bottomView","topView","calendarType","animateCalendarNavigation","disabled","readonly","readOnlyInput","popupSettings","navigation","min","max","incompleteDateValidation","focusedDate","value","format","twoDigitYearMax","formatPlaceholder","placeholder","tabindex","tabIndex","disabledDates","title","rangeValidation","disabledDatesValidation","weekNumber","size","rounded","fillMode"],outputs:["valueChange","focus","blur","open","close"],exportAs:["kendo-datepicker"]},{type:ne.DatePickerCustomMessagesComponent,selector:"kendo-datepicker-messages"}],directives:[{type:Xi,selector:"[kendoFilterInput]",inputs:["filterDelay","columnLabel","value"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ta,decorators:[{type:P.Component,args:[{selector:"kendo-grid-date-filter-menu-input",template:'\n <kendo-grid-filter-menu-input-wrapper\n [column]="column"\n [filter]="filter"\n [operators]="operators"\n [defaultOperator]="operator"\n [currentFilter]="currentFilter"\n [filterService]="filterService"\n [isFirstDropDown]="isFirstDropDown"\n [menuTabbingService]="menuTabbingService"\n >\n <kendo-datepicker\n #picker\n kendoFilterInput\n [columnLabel]="columnLabel"\n [filterDelay]="0"\n (open)="open(picker)"\n [value]="currentFilter?.value"\n [placeholder]="placeholder"\n [formatPlaceholder]="formatPlaceholder"\n [format]="format"\n [min]="min"\n [max]="max"\n [activeView]="activeView"\n [bottomView]="bottomView"\n [topView]="topView"\n [weekNumber]="weekNumber"\n >\n <kendo-datepicker-messages\n [toggle]="messageFor(\'filterDateToggle\')"\n [today]="messageFor(\'filterDateToday\')"\n >\n </kendo-datepicker-messages>\n </kendo-datepicker>\n </kendo-grid-filter-menu-input-wrapper>\n '}]}],ctorParameters:function(){return[{type:er},{type:a.LocalizationService}]},propDecorators:{operators:[{type:P.Input}],column:[{type:P.Input}],filter:[{type:P.Input}],operator:[{type:P.Input}],currentFilter:[{type:P.Input}],filterService:[{type:P.Input}],menuTabbingService:[{type:P.Input}],format:[{type:P.Input}],formatPlaceholder:[{type:P.Input}],placeholder:[{type:P.Input}],min:[{type:P.Input}],max:[{type:P.Input}],activeView:[{type:P.Input}],bottomView:[{type:P.Input}],topView:[{type:P.Input}],weekNumber:[{type:P.Input}],isFirstDropDown:[{type:P.Input}]}});c(Ra,Oa=Sa),Object.defineProperty(Ra.prototype,"hostClasses",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(Ra.prototype,"firstFilter",{get:function(){return Li(0,this.filter,(this.column||{}).field,this.operator)},enumerable:!1,configurable:!0}),Object.defineProperty(Ra.prototype,"secondFilter",{get:function(){return Li(1,this.filter,(this.column||{}).field,this.operator)},enumerable:!1,configurable:!0}),Ra.prototype.logicChange=function(e){this.filter.logic=e},Object.defineProperty(Ra.prototype,"filterMenuDropDownLabel",{get:function(){var e=this.localization.get("filterMenuLogicDropDownLabel")||"",t=this.column?this.column.title||this.column.field:"";return be(e,"columnName",t)},enumerable:!1,configurable:!0}),Ra.prototype.localizationChange=function(){this.logicOperators=Pi(this.localization),Oa.prototype.localizationChange.call(this)};var Oa,Ea=Ra;function Ra(e){e=Oa.call(this,null,e)||this;return e.logicOperators=Pi(e.localization),e.filter={filters:[],logic:"and"},e.extra=!0,e}Ea.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ea,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),Ea.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Ea,selector:"kendo-grid-date-filter-menu",inputs:{column:"column",filter:"filter",extra:"extra",filterService:"filterService",menuTabbingService:"menuTabbingService"},host:{properties:{"class.k-filtercell":"this.hostClasses"}},usesInheritance:!0,ngImport:i,template:'\n <kendo-grid-date-filter-menu-input\n [currentFilter]="firstFilter"\n [operators]="operators"\n [filterService]="filterService"\n [column]="column"\n [filter]="filter"\n [activeView]="activeView"\n [bottomView]="bottomView"\n [topView]="topView"\n [format]="format"\n [formatPlaceholder]="formatPlaceholder"\n [placeholder]="placeholder"\n [min]="min"\n [max]="max"\n [weekNumber]="weekNumber"\n [isFirstDropDown]="true"\n [menuTabbingService]="menuTabbingService"\n >\n </kendo-grid-date-filter-menu-input>\n <kendo-dropdownlist\n *ngIf="extra"\n kendoFilterMenuDropDown\n [filterMenuDropDownLabel]="filterMenuDropDownLabel"\n class="k-filter-and"\n [data]="logicOperators"\n [valuePrimitive]="true"\n (valueChange)="logicChange($event)"\n [value]="filter?.logic"\n textField="text"\n valueField="value">\n </kendo-dropdownlist>\n <kendo-grid-date-filter-menu-input\n *ngIf="extra"\n [operators]="operators"\n [currentFilter]="secondFilter"\n [filterService]="filterService"\n [column]="column"\n [filter]="filter"\n [activeView]="activeView"\n [bottomView]="bottomView"\n [topView]="topView"\n [format]="format"\n [formatPlaceholder]="formatPlaceholder"\n [placeholder]="placeholder"\n [min]="min"\n [max]="max"\n [weekNumber]="weekNumber"\n [menuTabbingService]="menuTabbingService"\n >\n </kendo-grid-date-filter-menu-input>\n ',isInline:!0,components:[{type:Ta,selector:"kendo-grid-date-filter-menu-input",inputs:["operators","column","filter","operator","currentFilter","filterService","menuTabbingService","format","formatPlaceholder","placeholder","min","max","activeView","bottomView","topView","weekNumber","isFirstDropDown"]},{type:te.DropDownListComponent,selector:"kendo-dropdownlist",inputs:["iconClass","loading","data","value","textField","valueField","popupSettings","listHeight","defaultItem","disabled","itemDisabled","readonly","filterable","virtual","ignoreCase","delay","valuePrimitive","tabindex","tabIndex","size","rounded","fillMode","id"],outputs:["valueChange","filterChange","selectionChange","open","opened","close","closed","focus","blur"],exportAs:["kendoDropDownList"]}],directives:[{type:s.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{type:ra,selector:"[kendoFilterMenuDropDown]",inputs:["filterMenuDropDownLabel"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ea,decorators:[{type:P.Component,args:[{selector:"kendo-grid-date-filter-menu",template:'\n <kendo-grid-date-filter-menu-input\n [currentFilter]="firstFilter"\n [operators]="operators"\n [filterService]="filterService"\n [column]="column"\n [filter]="filter"\n [activeView]="activeView"\n [bottomView]="bottomView"\n [topView]="topView"\n [format]="format"\n [formatPlaceholder]="formatPlaceholder"\n [placeholder]="placeholder"\n [min]="min"\n [max]="max"\n [weekNumber]="weekNumber"\n [isFirstDropDown]="true"\n [menuTabbingService]="menuTabbingService"\n >\n </kendo-grid-date-filter-menu-input>\n <kendo-dropdownlist\n *ngIf="extra"\n kendoFilterMenuDropDown\n [filterMenuDropDownLabel]="filterMenuDropDownLabel"\n class="k-filter-and"\n [data]="logicOperators"\n [valuePrimitive]="true"\n (valueChange)="logicChange($event)"\n [value]="filter?.logic"\n textField="text"\n valueField="value">\n </kendo-dropdownlist>\n <kendo-grid-date-filter-menu-input\n *ngIf="extra"\n [operators]="operators"\n [currentFilter]="secondFilter"\n [filterService]="filterService"\n [column]="column"\n [filter]="filter"\n [activeView]="activeView"\n [bottomView]="bottomView"\n [topView]="topView"\n [format]="format"\n [formatPlaceholder]="formatPlaceholder"\n [placeholder]="placeholder"\n [min]="min"\n [max]="max"\n [weekNumber]="weekNumber"\n [menuTabbingService]="menuTabbingService"\n >\n </kendo-grid-date-filter-menu-input>\n '}]}],ctorParameters:function(){return[{type:a.LocalizationService}]},propDecorators:{hostClasses:[{type:P.HostBinding,args:["class.k-filtercell"]}],column:[{type:P.Input}],filter:[{type:P.Input}],extra:[{type:P.Input}],filterService:[{type:P.Input}],menuTabbingService:[{type:P.Input}]}});c(Ga,La=ji),Object.defineProperty(Ga.prototype,"hostClasses",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(Ga.prototype,"currentFilter",{get:function(){return this.filterByField(this.column.field)},enumerable:!1,configurable:!0}),Object.defineProperty(Ga.prototype,"currentOperator",{get:function(){return(this.currentFilter||this).operator},enumerable:!1,configurable:!0}),Ga.prototype.ngOnInit=function(){this.subscription=this.localization.changes.subscribe(this.localizationChange.bind(this))},Ga.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe(),La.prototype.ngOnDestroy.call(this)},Ga.prototype.localizationChange=function(){this.items=[{text:this.localization.get("filterIsTrue"),value:!0},{text:this.localization.get("filterIsFalse"),value:!1}],this.defaultItem={text:this.localization.get("filterBooleanAll"),value:null}};var La,Pa=Ga;function Ga(e,t){e=La.call(this,e)||this;return e.localization=t,e.operator="eq",e.items=[{text:e.localization.get("filterIsTrue"),value:!0},{text:e.localization.get("filterIsFalse"),value:!1}],e.defaultItem={text:e.localization.get("filterBooleanAll"),value:null},e}Pa.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Pa,deps:[{token:v},{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),Pa.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Pa,selector:"kendo-grid-boolean-filter-base",inputs:{column:"column",filter:"filter"},host:{properties:{"class.k-filtercell-boolean":"this.hostClasses"}},usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Pa,decorators:[{type:P.Component,args:[{selector:"kendo-grid-boolean-filter-base",template:""}]}],ctorParameters:function(){return[{type:v},{type:a.LocalizationService}]},propDecorators:{hostClasses:[{type:P.HostBinding,args:["class.k-filtercell-boolean"]}],column:[{type:P.Input}],filter:[{type:P.Input}]}});Ma.prototype.ngAfterViewInit=function(){this.radioButtonEl=this.hostElement.nativeElement,this.renderer.setAttribute(this.hostElement.nativeElement,"aria-label",this.columnLabel)};var Va=Ma;function Ma(e,t){this.hostElement=e,this.renderer=t}Va.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Va,deps:[{token:i.ElementRef},{token:i.Renderer2}],target:i.ɵɵFactoryTarget.Directive}),Va.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:Va,selector:"[kendoFilterMenuRadioButton]",inputs:{columnLabel:"columnLabel"},ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Va,decorators:[{type:P.Directive,args:[{selector:"[kendoFilterMenuRadioButton]"}]}],ctorParameters:function(){return[{type:i.ElementRef},{type:i.Renderer2}]},propDecorators:{columnLabel:[{type:P.Input}]}});c(ja,za=Pa),Object.defineProperty(ja.prototype,"hostClasses",{get:function(){return!1},enumerable:!1,configurable:!0}),ja.prototype.ngAfterViewInit=function(){this.filterService.menuTabbingService.firstFocusable=this.radioButtons.first.radioButtonEl,this.radioButtons.first.radioButtonEl.focus()},ja.prototype.radioId=function(e){return this.idPrefix+"_"+e},ja.prototype.onChange=function(e,t){this.applyFilter(this.updateFilter({field:this.column.field,operator:"eq",value:e})),this.filterService.menuTabbingService.firstFocusable=t},ja.prototype.isSelected=function(t){return this.filtersByField(this.column.field).some(function(e){return e.value===t})},ja.prototype.onShiftTab=function(e){this.menuTabbingService&&this.menuTabbingService.isColumnMenu||!this.filterService.menuTabbingService.lastFocusable||(e.preventDefault(),this.filterService.menuTabbingService.lastFocusable.focus())},Object.defineProperty(ja.prototype,"columnLabel",{get:function(){var e=this.localization.get("filterInputLabel")||"",t=this.column.title||this.column.field;return be(e,"columnName",t)},enumerable:!1,configurable:!0});var za,Na=ja;function ja(e){e=za.call(this,null,e)||this;return e.filter={filters:[],logic:"and"},e.idPrefix=p.guid(),e}Na.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Na,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),Na.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Na,selector:"kendo-grid-boolean-filter-menu",inputs:{filter:"filter",filterService:"filterService",menuTabbingService:"menuTabbingService"},host:{properties:{"class.k-filtercell":"this.hostClasses"}},viewQueries:[{propertyName:"radioButtons",predicate:Va,descendants:!0}],usesInheritance:!0,ngImport:i,template:'\n <ul class="k-radio-list k-reset">\n <li *ngFor="let item of items">\n <input type="radio"\n kendoFilterMenuRadioButton\n [columnLabel]="columnLabel"\n #input\n [name]="idPrefix"\n kendoRadioButton\n [checked]="isSelected(item.value)"\n [attr.id]="radioId(item.value)"\n (change)="onChange(item.value, input)"\n (keydown.shift.tab)="onShiftTab($event)"\n />\n <label class="k-radio-label" [attr.for]="radioId(item.value)">{{item.text}}</label>\n </li>\n </ul>\n ',isInline:!0,directives:[{type:s.NgForOf,selector:"[ngFor][ngForOf]",inputs:["ngForOf","ngForTrackBy","ngForTemplate"]},{type:ee.RadioButtonDirective,selector:"input[kendoRadioButton]",inputs:["size"]},{type:Va,selector:"[kendoFilterMenuRadioButton]",inputs:["columnLabel"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Na,decorators:[{type:P.Component,args:[{selector:"kendo-grid-boolean-filter-menu",template:'\n <ul class="k-radio-list k-reset">\n <li *ngFor="let item of items">\n <input type="radio"\n kendoFilterMenuRadioButton\n [columnLabel]="columnLabel"\n #input\n [name]="idPrefix"\n kendoRadioButton\n [checked]="isSelected(item.value)"\n [attr.id]="radioId(item.value)"\n (change)="onChange(item.value, input)"\n (keydown.shift.tab)="onShiftTab($event)"\n />\n <label class="k-radio-label" [attr.for]="radioId(item.value)">{{item.text}}</label>\n </li>\n </ul>\n '}]}],ctorParameters:function(){return[{type:a.LocalizationService}]},propDecorators:{hostClasses:[{type:P.HostBinding,args:["class.k-filtercell"]}],filter:[{type:P.Input}],filterService:[{type:P.Input}],menuTabbingService:[{type:P.Input}],radioButtons:[{type:P.ViewChildren,args:[Va]}]}});c(Ha,Aa=qi),Ha.prototype.componentType=function(){return V(this.column)&&!ye(this.column.filter)?(e=this.column.filter,{boolean:Na,date:Ea,numeric:Ca,text:da}[e]):da;var e},Ha.prototype.initComponent=function(e){Aa.prototype.initComponent.call(this,e),this.component.instance.filterService=this.filterService,this.component.instance.menuTabbingService=this.menuTabbingService};var Aa,Ba=Ha;function Ha(e,t){return Aa.call(this,e,t)||this}Ba.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ba,deps:[{token:i.ViewContainerRef},{token:i.ComponentFactoryResolver}],target:i.ɵɵFactoryTarget.Directive}),Ba.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:Ba,selector:"[kendoFilterMenuHost]",inputs:{filterService:"filterService",menuTabbingService:"menuTabbingService"},usesInheritance:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ba,decorators:[{type:P.Directive,args:[{selector:"[kendoFilterMenuHost]"}]}],ctorParameters:function(){return[{type:i.ViewContainerRef},{type:i.ComponentFactoryResolver}]},propDecorators:{filterService:[{type:P.Input}],menuTabbingService:[{type:P.Input}]}});function $a(e){var t=e.value,e=e.operator;return!ye(t)||("isnull"===(t=e)||"isnotnull"===t||"isempty"===t||"isnotempty"===t)}var Ka=function(e,n,o){return e.reduce(function(e,t){return e||(t.filters?Ka(t.filters,n,t):t.field===n?o:e)},void 0)},qa=(Object.defineProperty(_a.prototype,"filter",{get:function(){return this._filter},set:function(e){this._filter=Bi(e)},enumerable:!1,configurable:!0}),Object.defineProperty(_a.prototype,"childFilter",{get:function(){return V(this._childFilter)||(this._childFilter={filters:Gi(this.filter,(this.column||{}).field),logic:function(e,t,n){void 0===n&&(n="and");e=Ka((e||{}).filters||[],t);return V(e)?e.logic:n}(this.filter,(this.column||{}).field)}),this._childFilter},enumerable:!1,configurable:!0}),_a.prototype.ngOnInit=function(){var t=this;this.subscription=this.childService.changes.subscribe(function(e){return t._childFilter=e}),this.subscription.add(this.localization.changes.subscribe(function(){return t.cd.markForCheck()}))},_a.prototype.ngAfterViewChecked=function(){(!this.menuTabbingService.isColumnMenu||this.isLast&&this.isExpanded)&&(this.menuTabbingService.lastFocusable=(this.disabled?this.resetButton:this.filterButton).nativeElement)},_a.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe(),this.menuTabbingService.lastFocusable=void 0},Object.defineProperty(_a.prototype,"disabled",{get:function(){return!this.childFilter.filters.some($a)},enumerable:!1,configurable:!0}),Object.defineProperty(_a.prototype,"templateContext",{get:function(){return this._templateContext.column=this.column,this._templateContext.filter=this.childFilter,this._templateContext.filterService=this.childService,this._templateContext.$implicit=this.childFilter,this._templateContext},enumerable:!1,configurable:!0}),Object.defineProperty(_a.prototype,"hasTemplate",{get:function(){return V(this.column)&&V(this.column.filterMenuTemplateRef)},enumerable:!1,configurable:!0}),_a.prototype.submit=function(){(t=this.childFilter).filters=t.filters.filter($a);var e,t;return t.filters.length&&(e=this.filter||{filters:[],logic:"and"},Vi(e,this.column.field),e.filters.push(t),this.parentService.filter(e)),this.close.emit(),!1},_a.prototype.reset=function(){var e=this.filter||{filters:[],logic:"and"};Vi(e,this.column.field),this.parentService.filter(e),this.close.emit()},_a.prototype.onTab=function(e,t){!this.menuTabbingService.firstFocusable||this.menuTabbingService.isColumnMenu&&!this.isLast||(e.preventDefault(),("reset"!==t||this.disabled?this.menuTabbingService.firstFocusable:this.filterButton.nativeElement).focus())},Object.defineProperty(_a.prototype,"clearText",{get:function(){return this.localization.get("filterClearButton")},enumerable:!1,configurable:!0}),Object.defineProperty(_a.prototype,"filterText",{get:function(){return this.localization.get("filterFilterButton")},enumerable:!1,configurable:!0}),_a);function _a(e,t,n,o,r){this.parentService=e,this.childService=t,this.localization=n,this.cd=o,this.close=new P.EventEmitter,this.actionsClass="k-action-buttons k-button-group",this._templateContext={},this.menuTabbingService=r}qa.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:qa,deps:[{token:v,skipSelf:!0},{token:v},{token:a.LocalizationService},{token:i.ChangeDetectorRef},{token:So}],target:i.ɵɵFactoryTarget.Component}),qa.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:qa,selector:"kendo-grid-filter-menu-container",inputs:{column:"column",isLast:"isLast",isExpanded:"isExpanded",menuTabbingService:"menuTabbingService",filter:"filter",actionsClass:"actionsClass"},outputs:{close:"close"},providers:[v,So],viewQueries:[{propertyName:"resetButton",first:!0,predicate:["resetButton"],descendants:!0},{propertyName:"filterButton",first:!0,predicate:["filterButton"],descendants:!0}],ngImport:i,template:'\n <form (submit)="submit()" (reset)="reset()"\n class="k-filter-menu k-group k-reset k-state-border-up">\n <div class="k-filter-menu-container">\n <ng-container [ngSwitch]="hasTemplate">\n <ng-container *ngSwitchCase="false">\n <ng-container\n kendoFilterMenuHost\n [filterService]="childService"\n [column]="column"\n [filter]="childFilter"\n [menuTabbingService]="menuTabbingService">\n </ng-container>\n </ng-container>\n <ng-container *ngSwitchCase="true">\n <ng-template\n *ngIf="column.filterMenuTemplateRef"\n [ngTemplateOutlet]="column.filterMenuTemplateRef"\n [ngTemplateOutletContext]="templateContext"\n >\n </ng-template>\n </ng-container>\n </ng-container>\n <div [ngClass]="actionsClass">\n <button\n #resetButton\n type="reset"\n class="k-button k-button-solid-base k-button-solid k-button-md k-rounded-md k-button-rectangle"\n (keydown.tab)="onTab($event, \'reset\')">{{clearText}}</button>\n <button #filterButton\n type="submit"\n class="k-button k-button-solid-primary k-button-solid k-button-md k-rounded-md k-button-rectangle"\n [disabled]="disabled"\n (keydown.tab)="onTab($event, \'filter\')">{{filterText}}</button>\n </div>\n </div>\n </form>\n ',isInline:!0,directives:[{type:l.ɵNgNoValidate,selector:"form:not([ngNoForm]):not([ngNativeValidate])"},{type:l.NgControlStatusGroup,selector:"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]"},{type:l.NgForm,selector:"form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]",inputs:["ngFormOptions"],outputs:["ngSubmit"],exportAs:["ngForm"]},{type:s.NgSwitch,selector:"[ngSwitch]",inputs:["ngSwitch"]},{type:s.NgSwitchCase,selector:"[ngSwitchCase]",inputs:["ngSwitchCase"]},{type:Ba,selector:"[kendoFilterMenuHost]",inputs:["filterService","menuTabbingService"]},{type:s.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{type:s.NgTemplateOutlet,selector:"[ngTemplateOutlet]",inputs:["ngTemplateOutletContext","ngTemplateOutlet"]},{type:s.NgClass,selector:"[ngClass]",inputs:["class","ngClass"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:qa,decorators:[{type:P.Component,args:[{providers:[v,So],selector:"kendo-grid-filter-menu-container",template:'\n <form (submit)="submit()" (reset)="reset()"\n class="k-filter-menu k-group k-reset k-state-border-up">\n <div class="k-filter-menu-container">\n <ng-container [ngSwitch]="hasTemplate">\n <ng-container *ngSwitchCase="false">\n <ng-container\n kendoFilterMenuHost\n [filterService]="childService"\n [column]="column"\n [filter]="childFilter"\n [menuTabbingService]="menuTabbingService">\n </ng-container>\n </ng-container>\n <ng-container *ngSwitchCase="true">\n <ng-template\n *ngIf="column.filterMenuTemplateRef"\n [ngTemplateOutlet]="column.filterMenuTemplateRef"\n [ngTemplateOutletContext]="templateContext"\n >\n </ng-template>\n </ng-container>\n </ng-container>\n <div [ngClass]="actionsClass">\n <button\n #resetButton\n type="reset"\n class="k-button k-button-solid-base k-button-solid k-button-md k-rounded-md k-button-rectangle"\n (keydown.tab)="onTab($event, \'reset\')">{{clearText}}</button>\n <button #filterButton\n type="submit"\n class="k-button k-button-solid-primary k-button-solid k-button-md k-rounded-md k-button-rectangle"\n [disabled]="disabled"\n (keydown.tab)="onTab($event, \'filter\')">{{filterText}}</button>\n </div>\n </div>\n </form>\n '}]}],ctorParameters:function(){return[{type:v,decorators:[{type:P.SkipSelf}]},{type:v},{type:a.LocalizationService},{type:i.ChangeDetectorRef},{type:So}]},propDecorators:{close:[{type:P.Output}],column:[{type:P.Input}],isLast:[{type:P.Input}],isExpanded:[{type:P.Input}],menuTabbingService:[{type:P.Input}],filter:[{type:P.Input}],actionsClass:[{type:P.Input}],resetButton:[{type:P.ViewChild,args:["resetButton",{static:!1}]}],filterButton:[{type:P.ViewChild,args:["filterButton",{static:!1}]}]}});Object.defineProperty(Za.prototype,"hasFilters",{get:function(){return 0<Gi(this.filter,(this.column||{}).field).length},enumerable:!1,configurable:!0}),Object.defineProperty(Za.prototype,"filterLabel",{get:function(){var e=this.localization.get("filterMenuTitle")||"",t=this.column.title||this.column.field;return be(e,"columnName",t)},enumerable:!1,configurable:!0}),Za.prototype.toggle=function(e,t){return this.popupRef=this.popupService.open(e,t,this.popupRef),this.popupRef||(this.navigationService.tableEnabled?this.navigationService.focusCell(0,this.column.leafIndex):this.anchor.nativeElement.focus()),!1},Za.prototype.close=function(){this.popupService.destroy(),this.navigationService.tableEnabled?this.navigationService.focusCell(0,this.column.leafIndex):this.anchor.nativeElement.focus()};var Wa=Za;function Za(e,t,n,o){this.filterService=e,this.popupService=t,this.localization=n,this.navigationService=o,this.tabIndex="-1"}Wa.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Wa,deps:[{token:v},{token:er},{token:a.LocalizationService},{token:m}],target:i.ɵɵFactoryTarget.Component}),Wa.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Wa,selector:"kendo-grid-filter-menu",inputs:{column:"column",filter:"filter",tabIndex:"tabIndex"},viewQueries:[{propertyName:"anchor",first:!0,predicate:["anchor"],descendants:!0,static:!0},{propertyName:"template",first:!0,predicate:["template"],descendants:!0,read:P.TemplateRef,static:!0}],ngImport:i,template:'\n <a #anchor\n [ngClass]="{\'k-grid-filter\':true, \'k-state-active\': hasFilters}"\n [tabindex]="tabIndex"\n (click)="toggle(anchor, template)"\n (keydown.enter)="$event.stopImmediatePropagation()"\n href="#"\n [attr.title]="filterLabel">\n <span class="k-icon k-i-filter"></span>\n </a>\n <ng-template #template>\n <kendo-grid-filter-menu-container\n [column]="column"\n [filter]="filter"\n (close)="close()"\n (keydown.escape)="close()"\n (keydown.enter)="$event.stopImmediatePropagation()"\n >\n </kendo-grid-filter-menu-container>\n </ng-template>\n ',isInline:!0,components:[{type:qa,selector:"kendo-grid-filter-menu-container",inputs:["column","isLast","isExpanded","menuTabbingService","filter","actionsClass"],outputs:["close"]}],directives:[{type:s.NgClass,selector:"[ngClass]",inputs:["class","ngClass"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Wa,decorators:[{type:P.Component,args:[{selector:"kendo-grid-filter-menu",template:'\n <a #anchor\n [ngClass]="{\'k-grid-filter\':true, \'k-state-active\': hasFilters}"\n [tabindex]="tabIndex"\n (click)="toggle(anchor, template)"\n (keydown.enter)="$event.stopImmediatePropagation()"\n href="#"\n [attr.title]="filterLabel">\n <span class="k-icon k-i-filter"></span>\n </a>\n <ng-template #template>\n <kendo-grid-filter-menu-container\n [column]="column"\n [filter]="filter"\n (close)="close()"\n (keydown.escape)="close()"\n (keydown.enter)="$event.stopImmediatePropagation()"\n >\n </kendo-grid-filter-menu-container>\n </ng-template>\n '}]}],ctorParameters:function(){return[{type:v},{type:er},{type:a.LocalizationService},{type:m}]},propDecorators:{column:[{type:P.Input}],filter:[{type:P.Input}],anchor:[{type:P.ViewChild,args:["anchor",{static:!0}]}],template:[{type:P.ViewChild,args:["template",{static:!0,read:P.TemplateRef}]}],tabIndex:[{type:P.Input}]}});Qa.prototype.close=function(){this.closeMenu.emit()};var Ua=Qa;function Qa(e){this.closeMenu=new P.EventEmitter,this.menuTabbingService=e}Ua.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ua,deps:[{token:So}],target:i.ɵɵFactoryTarget.Injectable}),Ua.ɵprov=i.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ua}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ua,decorators:[{type:P.Injectable}],ctorParameters:function(){return[{type:So}]}});Ya.prototype.ngOnInit=function(){if(P.isDevMode()&&!this.service)throw new Error("The service input of the predefined column menu components is mandatory.")},Ya.prototype.close=function(){this.service.close()};var Xa=Ya;function Ya(){this.hostClass=!0}Xa.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Xa,deps:[],target:i.ɵɵFactoryTarget.Component}),Xa.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Xa,selector:"kendo-grid-column-menu-item-base",inputs:{service:"service"},host:{properties:{"class.k-columnmenu-item-wrapper":"this.hostClass"}},ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Xa,decorators:[{type:P.Component,args:[{selector:"kendo-grid-column-menu-item-base",template:""}]}],propDecorators:{service:[{type:P.Input}],hostClass:[{type:P.HostBinding,args:["class.k-columnmenu-item-wrapper"]}]}});var Ja=function(e){this.templateRef=e},es=(Ja.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ja,deps:[{token:i.TemplateRef,optional:!0}],target:i.ɵɵFactoryTarget.Directive}),Ja.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:Ja,selector:"[kendoGridColumnMenuItemContentTemplate]",ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ja,decorators:[{type:P.Directive,args:[{selector:"[kendoGridColumnMenuItemContentTemplate]"}]}],ctorParameters:function(){return[{type:i.TemplateRef,decorators:[{type:P.Optional}]}]}}),Object.defineProperty(ts.prototype,"iconClass",{get:function(){return"k-i-"+this.icon},enumerable:!1,configurable:!0}),ts.prototype.ngOnChanges=function(e){e.expanded&&this.updateContentState()},ts.prototype.onClick=function(e){this.itemClick.emit(e),this.contentTemplate&&(this.expanded=!this.expanded,this.updateContentState(),(this.expanded?this.expand:this.collapse).emit())},ts.prototype.updateContentState=function(){this.contentState=this.expanded?"expanded":"collapsed"},ts);function ts(){this.itemClick=new P.EventEmitter,this.expand=new P.EventEmitter,this.collapse=new P.EventEmitter,this.contentState="collapsed"}es.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:es,deps:[],target:i.ɵɵFactoryTarget.Component}),es.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:es,selector:"kendo-grid-columnmenu-item",inputs:{icon:"icon",text:"text",selected:"selected",disabled:"disabled",expanded:"expanded"},outputs:{itemClick:"itemClick",expand:"expand",collapse:"collapse"},queries:[{propertyName:"contentTemplate",first:!0,predicate:Ja,descendants:!0}],usesOnChanges:!0,ngImport:i,template:'\n <div\n class="k-columnmenu-item"\n (click)="onClick($event)"\n (keydown.enter)="onClick($event)"\n [class.k-state-selected]="selected"\n [class.k-state-disabled]="disabled"\n role="button"\n [attr.aria-expanded]="expanded">\n <span *ngIf="icon" class="k-icon" [ngClass]="iconClass">\n </span>\n {{ text }}\n </div>\n <div *ngIf="contentTemplate" [@state]="contentState" style="overflow:hidden;" class="k-columnmenu-item-content">\n <ng-container [ngTemplateOutlet]="contentTemplate.templateRef">\n </ng-container>\n <div>\n ',isInline:!0,directives:[{type:s.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{type:s.NgClass,selector:"[ngClass]",inputs:["class","ngClass"]},{type:s.NgTemplateOutlet,selector:"[ngTemplateOutlet]",inputs:["ngTemplateOutletContext","ngTemplateOutlet"]}],animations:[r.trigger("state",[r.state("collapsed",r.style({display:"none"})),r.state("expanded",r.style({display:"block"})),r.transition("collapsed => expanded",[r.style({height:"0px",display:"block"}),r.animate("100ms ease-in",r.style({height:"*"}))]),r.transition("expanded => collapsed",[r.style({height:"*"}),r.animate("100ms ease-in",r.style({height:"0px"}))])])]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:es,decorators:[{type:P.Component,args:[{animations:[r.trigger("state",[r.state("collapsed",r.style({display:"none"})),r.state("expanded",r.style({display:"block"})),r.transition("collapsed => expanded",[r.style({height:"0px",display:"block"}),r.animate("100ms ease-in",r.style({height:"*"}))]),r.transition("expanded => collapsed",[r.style({height:"*"}),r.animate("100ms ease-in",r.style({height:"0px"}))])])],selector:"kendo-grid-columnmenu-item",template:'\n <div\n class="k-columnmenu-item"\n (click)="onClick($event)"\n (keydown.enter)="onClick($event)"\n [class.k-state-selected]="selected"\n [class.k-state-disabled]="disabled"\n role="button"\n [attr.aria-expanded]="expanded">\n <span *ngIf="icon" class="k-icon" [ngClass]="iconClass">\n </span>\n {{ text }}\n </div>\n <div *ngIf="contentTemplate" [@state]="contentState" style="overflow:hidden;" class="k-columnmenu-item-content">\n <ng-container [ngTemplateOutlet]="contentTemplate.templateRef">\n </ng-container>\n <div>\n '}]}],propDecorators:{itemClick:[{type:P.Output}],expand:[{type:P.Output}],collapse:[{type:P.Output}],icon:[{type:P.Input}],text:[{type:P.Input}],selected:[{type:P.Input}],disabled:[{type:P.Input}],expanded:[{type:P.Input}],contentTemplate:[{type:P.ContentChild,args:[Ja,{static:!1}]}]}});c(rs,ns=Xa),Object.defineProperty(rs.prototype,"text",{get:function(){return this.localization.get(this.locked?"unlock":"lock")},enumerable:!1,configurable:!0}),Object.defineProperty(rs.prototype,"icon",{get:function(){return this.locked?"unlock":"lock"},enumerable:!1,configurable:!0}),Object.defineProperty(rs.prototype,"disabled",{get:function(){return!this.locked&&this.columnInfoService.unlockedRootCount<2},enumerable:!1,configurable:!0}),rs.prototype.toggleColumn=function(){this.toggleHierarchy(!this.locked),this.close(),this.changeDetector.markForCheck()},rs.prototype.toggleHierarchy=function(e){for(var t=this.service.column;t.parent;)t=t.parent;for(var n=[t],o=[];n.length;){var r=n.shift();r.locked=e,o.push(r),r.hasChildren&&n.push.apply(n,g([],k(r.childrenArray)))}this.columnInfoService.changeLocked(o)},Object.defineProperty(rs.prototype,"locked",{get:function(){return this.service.column.locked},enumerable:!1,configurable:!0});var ns,os=rs;function rs(e,t,n){var o=ns.call(this)||this;return o.localization=e,o.columnInfoService=t,o.changeDetector=n,o}os.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:os,deps:[{token:a.LocalizationService},{token:C},{token:i.ChangeDetectorRef}],target:i.ɵɵFactoryTarget.Component}),os.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:os,selector:"kendo-grid-columnmenu-lock",usesInheritance:!0,ngImport:i,template:'\n <kendo-grid-columnmenu-item\n [text]="text"\n [icon]="icon"\n (itemClick)="toggleColumn()"\n [disabled]="disabled">\n </kendo-grid-columnmenu-item>\n ',isInline:!0,components:[{type:es,selector:"kendo-grid-columnmenu-item",inputs:["icon","text","selected","disabled","expanded"],outputs:["itemClick","expand","collapse"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:os,decorators:[{type:P.Component,args:[{selector:"kendo-grid-columnmenu-lock",template:'\n <kendo-grid-columnmenu-item\n [text]="text"\n [icon]="icon"\n (itemClick)="toggleColumn()"\n [disabled]="disabled">\n </kendo-grid-columnmenu-item>\n '}]}],ctorParameters:function(){return[{type:a.LocalizationService},{type:C},{type:i.ChangeDetectorRef}]}});c(ss,is=Xa),Object.defineProperty(ss.prototype,"text",{get:function(){return this.localization.get(this.sticky?"unstick":"stick")},enumerable:!1,configurable:!0}),Object.defineProperty(ss.prototype,"icon",{get:function(){return this.sticky?"unstick":"stick"},enumerable:!1,configurable:!0}),Object.defineProperty(ss.prototype,"disabled",{get:function(){return!this.sticky&&this.columnInfoService.unlockedRootCount<2},enumerable:!1,configurable:!0}),ss.prototype.toggleColumn=function(){this.toggleHierarchy(!this.sticky),this.close(),this.changeDetector.markForCheck()},ss.prototype.toggleHierarchy=function(e){for(var t=this.service.column;t.parent;)t=t.parent;for(var n=[t],o=[];n.length;){var r=n.shift();r.sticky=e,o.push(r),r.hasChildren&&n.push.apply(n,g([],k(r.childrenArray)))}this.columnInfoService.changeStuck(o)},Object.defineProperty(ss.prototype,"sticky",{get:function(){return this.service.column.sticky},enumerable:!1,configurable:!0});var is,as=ss;function ss(e,t,n){var o=is.call(this)||this;return o.localization=e,o.columnInfoService=t,o.changeDetector=n,o}as.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:as,deps:[{token:a.LocalizationService},{token:C},{token:i.ChangeDetectorRef}],target:i.ɵɵFactoryTarget.Component}),as.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:as,selector:"kendo-grid-columnmenu-stick",usesInheritance:!0,ngImport:i,template:'\n <kendo-grid-columnmenu-item [text]="text" [icon]="icon" (itemClick)="toggleColumn()" [disabled]="disabled">\n </kendo-grid-columnmenu-item>\n ',isInline:!0,components:[{type:es,selector:"kendo-grid-columnmenu-item",inputs:["icon","text","selected","disabled","expanded"],outputs:["itemClick","expand","collapse"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:as,decorators:[{type:P.Component,args:[{selector:"kendo-grid-columnmenu-stick",template:'\n <kendo-grid-columnmenu-item [text]="text" [icon]="icon" (itemClick)="toggleColumn()" [disabled]="disabled">\n </kendo-grid-columnmenu-item>\n '}]}],ctorParameters:function(){return[{type:a.LocalizationService},{type:C},{type:i.ChangeDetectorRef}]}});c(ps,ls=Xa),Object.defineProperty(ps.prototype,"isLast",{get:function(){return this._isLast},set:function(e){this.service.menuTabbingService.lastFocusable=this.getLastFocusableItem(),this._isLast=e},enumerable:!1,configurable:!0}),ps.prototype.onTab=function(e,t){this.isLast&&t&&(e.preventDefault(),e.stopImmediatePropagation(),this.service&&this.service.menuTabbingService.firstFocusable.focus())},ps.prototype.onCollapse=function(){this.expanded=!1,this.isLast&&(this.service.menuTabbingService.lastFocusable=this.getLastFocusableItem()),this.collapse.emit()},ps.prototype.onExpand=function(){this.expanded=!0,this.isLast&&(this.service.menuTabbingService.lastFocusable=this.getLastFocusableItem()),this.expand.emit()},ps.prototype.getLastFocusableItem=function(){var e=this.hostElement.nativeElement.querySelectorAll(".k-columnmenu-item");return e[this.expanded?e.length-1:0]};var ls,cs=ps;function ps(e,t){var n=ls.call(this)||this;return n.localization=e,n.hostElement=t,n.expand=new P.EventEmitter,n.collapse=new P.EventEmitter,n.expanded=!1,n.actionsClass="k-columnmenu-actions",n._isLast=!1,n}cs.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:cs,deps:[{token:a.LocalizationService},{token:i.ElementRef}],target:i.ɵɵFactoryTarget.Component}),cs.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:cs,selector:"kendo-grid-columnmenu-position",inputs:{expanded:"expanded",showLock:"showLock",showStick:"showStick",isLast:"isLast"},outputs:{expand:"expand",collapse:"collapse"},usesInheritance:!0,ngImport:i,template:'\n <kendo-grid-columnmenu-item\n [text]="localization.get(\'setColumnPosition\')"\n icon="set-column-position"\n [expanded]="expanded"\n (keydown.tab)="onTab($event, !expanded)"\n (collapse)="onCollapse()"\n (expand)="onExpand()">\n <ng-template kendoGridColumnMenuItemContentTemplate>\n <kendo-grid-columnmenu-lock\n *ngIf="showLock"\n (keydown.tab)="onTab($event, !showStick)"\n [service]="service">\n </kendo-grid-columnmenu-lock>\n <kendo-grid-columnmenu-stick\n *ngIf="showStick"\n (keydown.tab)="onTab($event, true)"\n [service]="service">\n </kendo-grid-columnmenu-stick>\n </ng-template>\n </kendo-grid-columnmenu-item>\n ',isInline:!0,components:[{type:es,selector:"kendo-grid-columnmenu-item",inputs:["icon","text","selected","disabled","expanded"],outputs:["itemClick","expand","collapse"]},{type:os,selector:"kendo-grid-columnmenu-lock"},{type:as,selector:"kendo-grid-columnmenu-stick"}],directives:[{type:Ja,selector:"[kendoGridColumnMenuItemContentTemplate]"},{type:s.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:cs,decorators:[{type:P.Component,args:[{selector:"kendo-grid-columnmenu-position",template:'\n <kendo-grid-columnmenu-item\n [text]="localization.get(\'setColumnPosition\')"\n icon="set-column-position"\n [expanded]="expanded"\n (keydown.tab)="onTab($event, !expanded)"\n (collapse)="onCollapse()"\n (expand)="onExpand()">\n <ng-template kendoGridColumnMenuItemContentTemplate>\n <kendo-grid-columnmenu-lock\n *ngIf="showLock"\n (keydown.tab)="onTab($event, !showStick)"\n [service]="service">\n </kendo-grid-columnmenu-lock>\n <kendo-grid-columnmenu-stick\n *ngIf="showStick"\n (keydown.tab)="onTab($event, true)"\n [service]="service">\n </kendo-grid-columnmenu-stick>\n </ng-template>\n </kendo-grid-columnmenu-item>\n '}]}],ctorParameters:function(){return[{type:a.LocalizationService},{type:i.ElementRef}]},propDecorators:{expand:[{type:P.Output}],collapse:[{type:P.Output}],expanded:[{type:P.Input}],showLock:[{type:P.Input}],showStick:[{type:P.Input}],isLast:[{type:P.Input}]}});Object.defineProperty(us.prototype,"className",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(us.prototype,"columns",{get:function(){return this._columns},set:function(e){this._columns=e.filter(function(e){return!1!==e.includeInChooser}),this.allColumns=e,this.updateColumnState()},enumerable:!1,configurable:!0}),us.prototype.isDisabled=function(t){return!(this.allowHideAll||this.hasFiltered||t.hidden||this.columns.find(function(e){return e!==t&&!e.hidden}))||this.hasVisibleLocked&&!this.hasUnlockedFiltered&&1===this.unlockedCount&&!t.locked&&!t.hidden},us.prototype.ngOnInit=function(){var r=this;this.element&&this.ngZone.runOutsideAngular(function(){r.domSubscriptions=r.renderer.listen(r.element.nativeElement,"click",function(e){var t,n,o;Ve(e.target,"k-checkbox")&&(r.autoSync?(t=parseInt(e.target.getAttribute("data-index"),10),n=r.columns[t],o=!e.target.checked,Boolean(n.hidden)!==o&&r.ngZone.run(function(){n.hidden=o,r.columnChange.emit([n])})):r.updateDisabled())})})},us.prototype.ngOnChanges=function(e){this.service&&(e.isLast&&this.isLast&&(this.service.menuTabbingService.lastFocusable=this.applyButton.nativeElement),e.isExpanded&&this.isExpanded&&this.isLast&&this.applyButton&&(this.service.menuTabbingService.lastFocusable=this.applyButton.nativeElement))},us.prototype.ngOnDestroy=function(){this.domSubscriptions&&this.domSubscriptions()},us.prototype.cancelChanges=function(){var n=this;this.forEachCheckBox(function(e,t){e.checked=!n.columns[t].hidden}),this.updateDisabled(),this.reset.emit()},us.prototype.applyChanges=function(){var n=this,o=[];this.forEachCheckBox(function(e,t){t=n.columns[t],e=!e.checked;Boolean(t.hidden)!==e&&(t.hidden=e,o.push(t))}),this.updateDisabled(),this.apply.emit(o)},us.prototype.onTab=function(e){this.isLast&&(e.preventDefault(),this.service&&this.service.menuTabbingService.firstFocusable.focus())},us.prototype.forEachCheckBox=function(e){for(var t=this.element.nativeElement.getElementsByClassName("k-checkbox"),n=t.length,o=0;o<n;o++)e(t[o],o)},us.prototype.updateDisabled=function(){var n,t,e;this.allowHideAll&&!this.hasLocked||(n=[],this.forEachCheckBox(function(e,t){e.checked&&n.push({checkbox:e,index:t}),e.disabled=!1}),this.allowHideAll||1!==n.length||this.hasFiltered?this.hasLocked&&!this.hasUnlockedFiltered&&(t=this.columns,1===(e=n.filter(function(e){return!t[e.index].locked})).length&&(e[0].checkbox.disabled=!0)):n[0].checkbox.disabled=!0)},us.prototype.updateColumnState=function(){this.hasLocked=0<this.allColumns.filter(function(e){return e.locked&&(!e.hidden||!1!==e.includeInChooser)}).length,this.hasVisibleLocked=0<this.allColumns.filter(function(e){return e.locked&&!e.hidden}).length,this.unlockedCount=this.columns.filter(function(e){return!e.locked&&!e.hidden}).length;var e=this.allColumns.filter(function(e){return!1===e.includeInChooser&&!e.hidden});e.length?(this.hasFiltered=0<e.length,this.hasUnlockedFiltered=0<e.filter(function(e){return!e.locked}).length):(this.hasFiltered=!1,this.hasUnlockedFiltered=!1)};r=us;function us(e,t,n){this.element=e,this.ngZone=t,this.renderer=n,this.reset=new P.EventEmitter,this.apply=new P.EventEmitter,this.columnChange=new P.EventEmitter,this.autoSync=!0,this.allowHideAll=!1,this.actionsClass="k-action-buttons",this.unlockedCount=0}r.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:r,deps:[{token:i.ElementRef},{token:i.NgZone},{token:i.Renderer2}],target:i.ɵɵFactoryTarget.Component}),r.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:r,selector:"kendo-grid-columnlist",inputs:{columns:"columns",autoSync:"autoSync",allowHideAll:"allowHideAll",applyText:"applyText",resetText:"resetText",actionsClass:"actionsClass",isLast:"isLast",isExpanded:"isExpanded",service:"service"},outputs:{reset:"reset",apply:"apply",columnChange:"columnChange"},host:{properties:{"class.k-column-list-wrapper":"this.className"}},viewQueries:[{propertyName:"applyButton",first:!0,predicate:["applyButton"],descendants:!0}],usesOnChanges:!0,ngImport:i,template:'\n <div class="k-column-list">\n <label *ngFor="let column of columns; let index = index;" class=\'k-column-list-item\'>\n <input class="k-checkbox k-checkbox-md k-rounded-md" type="checkbox" [attr.data-index]="index" [checked]="!column.hidden" [disabled]="isDisabled(column)" /><span class="k-checkbox-label">{{ column.displayTitle }}</span>\n </label>\n </div>\n <div [ngClass]="actionsClass" *ngIf="!autoSync">\n <button type="button" class="k-button k-button-solid-base k-button-solid k-button-md k-rounded-md k-button-rectangle" (click)="cancelChanges()">{{ resetText }}</button>\n <button #applyButton type="button" (keydown.tab)="onTab($event)" class="k-button k-button-solid-primary k-button-solid k-button-md k-rounded-md k-button-rectangle" (click)="applyChanges()">{{ applyText }}</button>\n </div>\n ',isInline:!0,directives:[{type:s.NgForOf,selector:"[ngFor][ngForOf]",inputs:["ngForOf","ngForTrackBy","ngForTemplate"]},{type:s.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{type:s.NgClass,selector:"[ngClass]",inputs:["class","ngClass"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:r,decorators:[{type:P.Component,args:[{selector:"kendo-grid-columnlist",template:'\n <div class="k-column-list">\n <label *ngFor="let column of columns; let index = index;" class=\'k-column-list-item\'>\n <input class="k-checkbox k-checkbox-md k-rounded-md" type="checkbox" [attr.data-index]="index" [checked]="!column.hidden" [disabled]="isDisabled(column)" /><span class="k-checkbox-label">{{ column.displayTitle }}</span>\n </label>\n </div>\n <div [ngClass]="actionsClass" *ngIf="!autoSync">\n <button type="button" class="k-button k-button-solid-base k-button-solid k-button-md k-rounded-md k-button-rectangle" (click)="cancelChanges()">{{ resetText }}</button>\n <button #applyButton type="button" (keydown.tab)="onTab($event)" class="k-button k-button-solid-primary k-button-solid k-button-md k-rounded-md k-button-rectangle" (click)="applyChanges()">{{ applyText }}</button>\n </div>\n '}]}],ctorParameters:function(){return[{type:i.ElementRef},{type:i.NgZone},{type:i.Renderer2}]},propDecorators:{className:[{type:P.HostBinding,args:["class.k-column-list-wrapper"]}],reset:[{type:P.Output}],apply:[{type:P.Output}],columnChange:[{type:P.Output}],columns:[{type:P.Input}],autoSync:[{type:P.Input}],allowHideAll:[{type:P.Input}],applyText:[{type:P.Input}],resetText:[{type:P.Input}],actionsClass:[{type:P.Input}],isLast:[{type:P.Input}],isExpanded:[{type:P.Input}],service:[{type:P.Input}],applyButton:[{type:P.ViewChild,args:["applyButton",{static:!1}]}]}});c(ms,ds=Xa),Object.defineProperty(ms.prototype,"columns",{get:function(){return this.columnInfoService.leafNamedColumns},enumerable:!1,configurable:!0}),ms.prototype.onApply=function(e){this.close(),e.length&&(this.changeDetector.markForCheck(),this.columnInfoService.changeVisibility(e))},ms.prototype.onCollapse=function(){this.expanded=!1,this.isLast&&(this.service.menuTabbingService.lastFocusable=this.hostElement.nativeElement.querySelector(".k-columnmenu-item")),this.collapse.emit()},ms.prototype.onExpand=function(){this.expanded=!0,this.expand.emit()};var ds,gs=ms;function ms(e,t,n,o){var r=ds.call(this)||this;return r.localization=e,r.columnInfoService=t,r.changeDetector=n,r.hostElement=o,r.expand=new P.EventEmitter,r.collapse=new P.EventEmitter,r.expanded=!1,r.isLast=!1,r.actionsClass="k-columnmenu-actions",r}gs.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:gs,deps:[{token:a.LocalizationService},{token:C},{token:i.ChangeDetectorRef},{token:i.ElementRef}],target:i.ɵɵFactoryTarget.Component}),gs.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:gs,selector:"kendo-grid-columnmenu-chooser",inputs:{expanded:"expanded",isLast:"isLast"},outputs:{expand:"expand",collapse:"collapse"},usesInheritance:!0,ngImport:i,template:'\n <kendo-grid-columnmenu-item\n [text]="localization.get(\'columns\')"\n icon="columns"\n [expanded]="expanded"\n (collapse)="onCollapse()"\n (expand)="onExpand()">\n <ng-template kendoGridColumnMenuItemContentTemplate>\n <kendo-grid-columnlist\n [applyText]="localization.get(\'columnsApply\')"\n [resetText]="localization.get(\'columnsReset\')"\n [columns]="columns"\n [autoSync]="false"\n [allowHideAll]="false"\n [actionsClass]="actionsClass"\n [isLast]="isLast"\n [isExpanded]="expanded"\n [service]="service"\n (apply)="onApply($event)">\n </kendo-grid-columnlist>\n </ng-template>\n </kendo-grid-columnmenu-item>\n ',isInline:!0,components:[{type:es,selector:"kendo-grid-columnmenu-item",inputs:["icon","text","selected","disabled","expanded"],outputs:["itemClick","expand","collapse"]},{type:r,selector:"kendo-grid-columnlist",inputs:["columns","autoSync","allowHideAll","applyText","resetText","actionsClass","isLast","isExpanded","service"],outputs:["reset","apply","columnChange"]}],directives:[{type:Ja,selector:"[kendoGridColumnMenuItemContentTemplate]"}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:gs,decorators:[{type:P.Component,args:[{selector:"kendo-grid-columnmenu-chooser",template:'\n <kendo-grid-columnmenu-item\n [text]="localization.get(\'columns\')"\n icon="columns"\n [expanded]="expanded"\n (collapse)="onCollapse()"\n (expand)="onExpand()">\n <ng-template kendoGridColumnMenuItemContentTemplate>\n <kendo-grid-columnlist\n [applyText]="localization.get(\'columnsApply\')"\n [resetText]="localization.get(\'columnsReset\')"\n [columns]="columns"\n [autoSync]="false"\n [allowHideAll]="false"\n [actionsClass]="actionsClass"\n [isLast]="isLast"\n [isExpanded]="expanded"\n [service]="service"\n (apply)="onApply($event)">\n </kendo-grid-columnlist>\n </ng-template>\n </kendo-grid-columnmenu-item>\n '}]}],ctorParameters:function(){return[{type:a.LocalizationService},{type:C},{type:i.ChangeDetectorRef},{type:i.ElementRef}]},propDecorators:{expand:[{type:P.Output}],collapse:[{type:P.Output}],expanded:[{type:P.Input}],isLast:[{type:P.Input}]}});c(ys,hs=Xa),ys.prototype.onCollapse=function(){this.expanded=!1,this.isLast&&(this.service.menuTabbingService.lastFocusable=this.hostElement.nativeElement.querySelector(".k-columnmenu-item")),this.collapse.emit()},ys.prototype.onExpand=function(){this.expanded=!0,this.expand.emit()};var hs,fs=ys;function ys(e,t){var n=hs.call(this)||this;return n.localization=e,n.hostElement=t,n.expand=new P.EventEmitter,n.collapse=new P.EventEmitter,n.expanded=!1,n.isLast=!1,n.actionsClass="k-columnmenu-actions",n}fs.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:fs,deps:[{token:a.LocalizationService},{token:i.ElementRef}],target:i.ɵɵFactoryTarget.Component}),fs.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:fs,selector:"kendo-grid-columnmenu-filter",inputs:{expanded:"expanded",isLast:"isLast"},outputs:{expand:"expand",collapse:"collapse"},usesInheritance:!0,ngImport:i,template:'\n <kendo-grid-columnmenu-item\n [text]="localization.get(\'filter\')"\n icon="filter"\n [expanded]="expanded"\n (collapse)="onCollapse()"\n (expand)="onExpand()">\n <ng-template kendoGridColumnMenuItemContentTemplate>\n <kendo-grid-filter-menu-container\n [column]="service.column"\n [menuTabbingService]="service.menuTabbingService"\n [filter]="service.filter"\n [actionsClass]="actionsClass"\n [isLast]="isLast"\n [isExpanded]="expanded"\n (keydown.shift.tab)="$event.stopImmediatePropagation()"\n (close)="close()">\n </kendo-grid-filter-menu-container>\n </ng-template>\n </kendo-grid-columnmenu-item>\n ',isInline:!0,components:[{type:es,selector:"kendo-grid-columnmenu-item",inputs:["icon","text","selected","disabled","expanded"],outputs:["itemClick","expand","collapse"]},{type:qa,selector:"kendo-grid-filter-menu-container",inputs:["column","isLast","isExpanded","menuTabbingService","filter","actionsClass"],outputs:["close"]}],directives:[{type:Ja,selector:"[kendoGridColumnMenuItemContentTemplate]"}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:fs,decorators:[{type:P.Component,args:[{selector:"kendo-grid-columnmenu-filter",template:'\n <kendo-grid-columnmenu-item\n [text]="localization.get(\'filter\')"\n icon="filter"\n [expanded]="expanded"\n (collapse)="onCollapse()"\n (expand)="onExpand()">\n <ng-template kendoGridColumnMenuItemContentTemplate>\n <kendo-grid-filter-menu-container\n [column]="service.column"\n [menuTabbingService]="service.menuTabbingService"\n [filter]="service.filter"\n [actionsClass]="actionsClass"\n [isLast]="isLast"\n [isExpanded]="expanded"\n (keydown.shift.tab)="$event.stopImmediatePropagation()"\n (close)="close()">\n </kendo-grid-filter-menu-container>\n </ng-template>\n </kendo-grid-columnmenu-item>\n '}]}],ctorParameters:function(){return[{type:a.LocalizationService},{type:i.ElementRef}]},propDecorators:{expand:[{type:P.Output}],collapse:[{type:P.Output}],expanded:[{type:P.Input}],isLast:[{type:P.Input}]}});Object.defineProperty(bs.prototype,"isFirst",{get:function(){return this._isFirst},set:function(e){var t,n=this;e&&(t=this.columnMenuItems[0],this.menuItemComponent.service.menuTabbingService.firstFocusable=t,this.ngZone.runOutsideAngular(function(){var e=n.renderer.listen(t,"keydown",n.onTab);n.subs.add(e)})),this._isFirst=e},enumerable:!1,configurable:!0}),Object.defineProperty(bs.prototype,"isLast",{get:function(){return this._isLast},set:function(e){var t,n=this;this.columnMenuItems&&(e&&(t=this.getLastColumnMenuItem(),this.menuItemComponent.service.menuTabbingService.lastFocusable=t,this.ngZone.runOutsideAngular(function(){var e=n.renderer.listen(t,"keydown",n.onTab);n.subs.add(e)}),this.isExpandableItem()&&(this.menuItemComponent.isLast=!0)),this._isLast=e)},enumerable:!1,configurable:!0}),bs.prototype.ngAfterViewInit=function(){var t=this;this.columnMenuItems=this.hostElement.nativeElement.querySelectorAll(".k-columnmenu-item"),[].slice.apply(this.columnMenuItems).forEach(function(e){return t.renderer.setAttribute(e,"tabindex","0")}),this.menuItemComponent instanceof fs&&(this.menuItemComponent.service.menuTabbingService.isColumnMenu=!0)},bs.prototype.ngOnDestroy=function(){this.subs&&this.subs.unsubscribe()},bs.prototype.getLastColumnMenuItem=function(){return 1===this.columnMenuItems.length?this.columnMenuItems[0]:this.columnMenuItems[1]},bs.prototype.isExpandableItem=function(){return this.menuItemComponent instanceof fs||this.menuItemComponent instanceof gs||this.menuItemComponent instanceof cs};var vs=bs;function bs(e,t,n){var o=this;this.hostElement=e,this.renderer=t,this.ngZone=n,this._isFirst=!1,this._isLast=!1,this.subs=new b.Subscription,this.onTab=function(e){var t,n;e.keyCode===p.Keys.Tab&&(o.isFirst&&e.shiftKey&&e.target===o.columnMenuItems[0]&&(e.preventDefault(),o.menuItemComponent.service.menuTabbingService.lastFocusable.focus()),o.isLast&&!e.shiftKey&&(t=o.getLastColumnMenuItem(),n=o.menuItemComponent.expanded,t!==e.target||n||(e.preventDefault(),o.menuItemComponent.service.menuTabbingService.firstFocusable.focus())))}}vs.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:vs,deps:[{token:i.ElementRef},{token:i.Renderer2},{token:i.NgZone}],target:i.ɵɵFactoryTarget.Directive}),vs.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:vs,selector:"[kendoGridColumnMenuItem]",inputs:{menuItemComponent:["kendoGridColumnMenuItem","menuItemComponent"]},ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:vs,decorators:[{type:P.Directive,args:[{selector:"[kendoGridColumnMenuItem]"}]}],ctorParameters:function(){return[{type:i.ElementRef},{type:i.Renderer2},{type:i.NgZone}]},propDecorators:{menuItemComponent:[{type:P.Input,args:["kendoGridColumnMenuItem"]}]}});Cs.prototype.ngAfterContentInit=function(){var e=this;this.columnMenuItems.length&&(this.columnMenuItems.first.isFirst=!0,this.columnMenuItems.last.isLast=!0,this.ngZone.onStable.pipe(G.take(1)).subscribe(function(){return e.service.menuTabbingService.firstFocusable.focus()}))};var ks=Cs;function Cs(e,t){this.service=e,this.ngZone=t}ks.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ks,deps:[{token:Ua},{token:i.NgZone}],target:i.ɵɵFactoryTarget.Component}),ks.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:ks,selector:"kendo-grid-columnmenu-container",queries:[{propertyName:"columnMenuItems",predicate:vs,descendants:!0}],ngImport:i,template:"\n <ng-content></ng-content>\n ",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ks,decorators:[{type:P.Component,args:[{selector:"kendo-grid-columnmenu-container",template:"\n <ng-content></ng-content>\n "}]}],ctorParameters:function(){return[{type:Ua},{type:i.NgZone}]},propDecorators:{columnMenuItems:[{type:P.ContentChildren,args:[vs,{descendants:!0}]}]}});c(ws,Is=Xa),Object.defineProperty(ws.prototype,"sortedAsc",{get:function(){var e=this.descriptor;return e&&(!e.dir||"asc"===e.dir)},enumerable:!1,configurable:!0}),Object.defineProperty(ws.prototype,"sortedDesc",{get:function(){var e=this.descriptor;return e&&"desc"===e.dir},enumerable:!1,configurable:!0}),ws.prototype.toggleSort=function(e){var t=this.service.column.field,n=Ii(this.service.sortable),o=n.mode,n=n.allowUnsort,r=this.descriptor,o="multiple"===o?this.service.sort.filter(function(e){return e.field!==t}):[];if(r&&r.dir===e){if(!n)return}else o.push({field:t,dir:e});this.sortService.sort(o),this.close()},Object.defineProperty(ws.prototype,"descriptor",{get:function(){var t=this;return[].concat(this.service.sort||[]).find(function(e){return e.field===t.service.column.field})},enumerable:!1,configurable:!0});var Is,xs=ws;function ws(e,t,n){var o=Is.call(this)||this;return o.localization=e,o.sortService=t,o.renderer=n,o}xs.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:xs,deps:[{token:a.LocalizationService},{token:Sr},{token:i.Renderer2}],target:i.ɵɵFactoryTarget.Component}),xs.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:xs,selector:"kendo-grid-columnmenu-sort",usesInheritance:!0,ngImport:i,template:'\n <kendo-grid-columnmenu-item\n [text]="localization.get(\'sortAscending\')"\n icon="sort-asc-sm"\n (itemClick)="toggleSort(\'asc\')"\n [selected]="sortedAsc">\n </kendo-grid-columnmenu-item>\n <kendo-grid-columnmenu-item\n [text]="localization.get(\'sortDescending\')"\n icon="sort-desc-sm"\n (itemClick)="toggleSort(\'desc\')"\n [selected]="sortedDesc">\n </kendo-grid-columnmenu-item>\n ',isInline:!0,components:[{type:es,selector:"kendo-grid-columnmenu-item",inputs:["icon","text","selected","disabled","expanded"],outputs:["itemClick","expand","collapse"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:xs,decorators:[{type:P.Component,args:[{selector:"kendo-grid-columnmenu-sort",template:'\n <kendo-grid-columnmenu-item\n [text]="localization.get(\'sortAscending\')"\n icon="sort-asc-sm"\n (itemClick)="toggleSort(\'asc\')"\n [selected]="sortedAsc">\n </kendo-grid-columnmenu-item>\n <kendo-grid-columnmenu-item\n [text]="localization.get(\'sortDescending\')"\n icon="sort-desc-sm"\n (itemClick)="toggleSort(\'desc\')"\n [selected]="sortedDesc">\n </kendo-grid-columnmenu-item>\n '}]}],ctorParameters:function(){return[{type:a.LocalizationService},{type:Sr},{type:i.Renderer2}]}});Object.defineProperty(Ds.prototype,"isActive",{get:function(){var t=this;return this.hasFilter&&0<Gi(this.filter,this.column.field).length||!this.sortable&&this.hasSort&&this.sort.find(function(e){return e.field===t.column.field})},enumerable:!1,configurable:!0}),Object.defineProperty(Ds.prototype,"hasFilter",{get:function(){return xi(this.settings,this.column)},enumerable:!1,configurable:!0}),Object.defineProperty(Ds.prototype,"hasSort",{get:function(){return wi(this.settings,this.column)},enumerable:!1,configurable:!0}),Object.defineProperty(Ds.prototype,"hasColumnChooser",{get:function(){return Di(this.settings)},enumerable:!1,configurable:!0}),Object.defineProperty(Ds.prototype,"hasLock",{get:function(){return Si(this.settings,this.column)},enumerable:!1,configurable:!0}),Object.defineProperty(Ds.prototype,"hasStick",{get:function(){return e=this.settings,t=this.column,e.stick&&t.stickable&&!(t.parent&&!t.parent.isSpanColumn);var e,t},enumerable:!1,configurable:!0}),Object.defineProperty(Ds.prototype,"hasPosition",{get:function(){return e=this.settings,t=this.column,e.setColumnPosition&&(t.stickable||t.lockable)&&!(t.parent&&!t.parent.isSpanColumn);var e,t},enumerable:!1,configurable:!0}),Ds.prototype.ngOnChanges=function(){this.service.column=this.column,this.service.sort=this.sort,this.service.filter=this.filter,this.service.sortable=this.sortable},Ds.prototype.ngOnDestroy=function(){this.close(),this.closeSubscription.unsubscribe()},Ds.prototype.toggle=function(e,t,n){e&&(e.preventDefault(),e.stopImmediatePropagation()),this.expandedFilter=this.getExpandedState(this.settings.filter),this.expandedColumns=this.getExpandedState(this.settings.columnChooser),this.expandedPosition=this.getExpandedState(this.settings.setColumnPosition),this.popupRef=this.popupService.open(t,n,this.popupRef,"k-grid-columnmenu-popup"),this.popupRef||(this.navigationService.tableEnabled?this.navigationService.focusCell(0,this.column.leafIndex):this.anchor.nativeElement.focus())},Ds.prototype.close=function(){this.popupService.destroy(),this.popupRef=null,this.navigationService.tableEnabled?this.navigationService.focusCell(0,this.column.leafIndex):this.anchor.nativeElement.focus()},Object.defineProperty(Ds.prototype,"columnMenuTitle",{get:function(){var e=this.localization.get("columnMenu")||"",t=this.column.title||this.column.field;return be(e,"columnName",t)},enumerable:!1,configurable:!0}),Ds.prototype.getExpandedState=function(e){return"object"==typeof e&&e.expanded};var Ss=Ds;function Ds(e,t,n,o){this.popupService=e,this.localization=t,this.service=n,this.navigationService=o,this.standalone=!0,this.settings={},this.sortable=!0,this.tabIndex="-1",this.expandedFilter=!1,this.expandedColumns=!1,this.expandedPosition=!1,this.closeSubscription=n.closeMenu.subscribe(this.close.bind(this))}Ss.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ss,deps:[{token:er},{token:a.LocalizationService},{token:Ua},{token:m}],target:i.ɵɵFactoryTarget.Component}),Ss.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Ss,selector:"kendo-grid-column-menu",inputs:{standalone:"standalone",column:"column",settings:"settings",sort:"sort",filter:"filter",sortable:"sortable",columnMenuTemplate:"columnMenuTemplate",tabIndex:"tabIndex"},host:{properties:{"class.k-grid-column-menu-standalone":"this.standalone"}},providers:[Ua,So],viewQueries:[{propertyName:"anchor",first:!0,predicate:["anchor"],descendants:!0,static:!0},{propertyName:"template",first:!0,predicate:["template"],descendants:!0,read:P.TemplateRef,static:!0}],usesOnChanges:!0,ngImport:i,template:'\n <a #anchor\n class="k-grid-column-menu k-grid-filter"\n [ngClass]="{ \'k-state-active\': isActive }"\n (click)="toggle($event, anchor, template)"\n (keydown.enter)="$event.stopImmediatePropagation()"\n href="#"\n [tabindex]="tabIndex"\n [attr.title]="columnMenuTitle">\n <span class="k-icon k-i-more-vertical"></span>\n </a>\n <ng-template #template>\n <ng-container\n [ngTemplateOutlet]="column.columnMenuTemplateRef || columnMenuTemplate || defaultTemplate"\n [ngTemplateOutletContext]="{ service: service, column: column }">\n </ng-container>\n </ng-template>\n <ng-template #defaultTemplate>\n <kendo-grid-columnmenu-container\n (keydown.escape)="close()"\n (keydown.enter)="$event.stopImmediatePropagation()">\n <kendo-grid-columnmenu-sort #sortItem [kendoGridColumnMenuItem]="sortItem" *ngIf="hasSort" [service]="service">\n </kendo-grid-columnmenu-sort>\n <kendo-grid-columnmenu-lock #lockItem *ngIf="hasLock && !hasPosition" [kendoGridColumnMenuItem]="lockItem" [service]="service">\n </kendo-grid-columnmenu-lock>\n <kendo-grid-columnmenu-stick #stickItem *ngIf="hasStick && !hasPosition" [kendoGridColumnMenuItem]="stickItem" [service]="service">\n </kendo-grid-columnmenu-stick>\n <kendo-grid-columnmenu-position\n #positionItem\n *ngIf="hasPosition"\n [showLock]="hasLock"\n [showStick]="hasStick"\n [kendoGridColumnMenuItem]="positionItem"\n [service]="service"\n [expanded]="expandedPosition">\n </kendo-grid-columnmenu-position>\n <kendo-grid-columnmenu-chooser\n #chooserItem\n *ngIf="hasColumnChooser"\n [kendoGridColumnMenuItem]="chooserItem"\n [service]="service"\n [expanded]="expandedColumns">\n </kendo-grid-columnmenu-chooser>\n <kendo-grid-columnmenu-filter\n #filterItem\n *ngIf="hasFilter"\n [kendoGridColumnMenuItem]="filterItem"\n [service]="service"\n [expanded]="expandedFilter">\n </kendo-grid-columnmenu-filter>\n </kendo-grid-columnmenu-container>\n </ng-template>\n ',isInline:!0,components:[{type:ks,selector:"kendo-grid-columnmenu-container"},{type:xs,selector:"kendo-grid-columnmenu-sort"},{type:os,selector:"kendo-grid-columnmenu-lock"},{type:as,selector:"kendo-grid-columnmenu-stick"},{type:cs,selector:"kendo-grid-columnmenu-position",inputs:["expanded","showLock","showStick","isLast"],outputs:["expand","collapse"]},{type:gs,selector:"kendo-grid-columnmenu-chooser",inputs:["expanded","isLast"],outputs:["expand","collapse"]},{type:fs,selector:"kendo-grid-columnmenu-filter",inputs:["expanded","isLast"],outputs:["expand","collapse"]}],directives:[{type:s.NgClass,selector:"[ngClass]",inputs:["class","ngClass"]},{type:s.NgTemplateOutlet,selector:"[ngTemplateOutlet]",inputs:["ngTemplateOutletContext","ngTemplateOutlet"]},{type:s.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{type:vs,selector:"[kendoGridColumnMenuItem]",inputs:["kendoGridColumnMenuItem"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ss,decorators:[{type:P.Component,args:[{providers:[Ua,So],selector:"kendo-grid-column-menu",template:'\n <a #anchor\n class="k-grid-column-menu k-grid-filter"\n [ngClass]="{ \'k-state-active\': isActive }"\n (click)="toggle($event, anchor, template)"\n (keydown.enter)="$event.stopImmediatePropagation()"\n href="#"\n [tabindex]="tabIndex"\n [attr.title]="columnMenuTitle">\n <span class="k-icon k-i-more-vertical"></span>\n </a>\n <ng-template #template>\n <ng-container\n [ngTemplateOutlet]="column.columnMenuTemplateRef || columnMenuTemplate || defaultTemplate"\n [ngTemplateOutletContext]="{ service: service, column: column }">\n </ng-container>\n </ng-template>\n <ng-template #defaultTemplate>\n <kendo-grid-columnmenu-container\n (keydown.escape)="close()"\n (keydown.enter)="$event.stopImmediatePropagation()">\n <kendo-grid-columnmenu-sort #sortItem [kendoGridColumnMenuItem]="sortItem" *ngIf="hasSort" [service]="service">\n </kendo-grid-columnmenu-sort>\n <kendo-grid-columnmenu-lock #lockItem *ngIf="hasLock && !hasPosition" [kendoGridColumnMenuItem]="lockItem" [service]="service">\n </kendo-grid-columnmenu-lock>\n <kendo-grid-columnmenu-stick #stickItem *ngIf="hasStick && !hasPosition" [kendoGridColumnMenuItem]="stickItem" [service]="service">\n </kendo-grid-columnmenu-stick>\n <kendo-grid-columnmenu-position\n #positionItem\n *ngIf="hasPosition"\n [showLock]="hasLock"\n [showStick]="hasStick"\n [kendoGridColumnMenuItem]="positionItem"\n [service]="service"\n [expanded]="expandedPosition">\n </kendo-grid-columnmenu-position>\n <kendo-grid-columnmenu-chooser\n #chooserItem\n *ngIf="hasColumnChooser"\n [kendoGridColumnMenuItem]="chooserItem"\n [service]="service"\n [expanded]="expandedColumns">\n </kendo-grid-columnmenu-chooser>\n <kendo-grid-columnmenu-filter\n #filterItem\n *ngIf="hasFilter"\n [kendoGridColumnMenuItem]="filterItem"\n [service]="service"\n [expanded]="expandedFilter">\n </kendo-grid-columnmenu-filter>\n </kendo-grid-columnmenu-container>\n </ng-template>\n '}]}],ctorParameters:function(){return[{type:er},{type:a.LocalizationService},{type:Ua},{type:m}]},propDecorators:{standalone:[{type:P.HostBinding,args:["class.k-grid-column-menu-standalone"]},{type:P.Input}],column:[{type:P.Input}],settings:[{type:P.Input}],sort:[{type:P.Input}],filter:[{type:P.Input}],sortable:[{type:P.Input}],columnMenuTemplate:[{type:P.Input}],tabIndex:[{type:P.Input}],anchor:[{type:P.ViewChild,args:["anchor",{static:!0}]}],template:[{type:P.ViewChild,args:["template",{static:!0,read:P.TemplateRef}]}]}});Object.defineProperty(Fs.prototype,"hostClasses",{get:function(){return!0},enumerable:!1,configurable:!0}),Fs.prototype.onChange=function(e){this.valueChange.emit(e)},Fs.prototype.clearClick=function(){return this.clear.emit(),!1},Fs.prototype.clearKeydown=function(e){e.keyCode!==p.Keys.Enter&&e.keyCode!==p.Keys.Space||this.clear.emit()},Fs.prototype.dropdownKeydown=function(e){e.defaultPrevented||e.keyCode!==p.Keys.Enter||this.dropdown.isOpen||(this.dropdown.toggle(!0),e.preventDefault())},Fs.prototype.ngOnInit=function(){var e=this;this.localization.changes.subscribe(function(){return e.clearText=e.localization.get("filterClearButton")})};var Ts=Fs;function Fs(e){this.localization=e,this.clearText="Clear",this.operators=[],this.showOperators=!0,this.valueChange=new P.EventEmitter,this.clear=new P.EventEmitter}Ts.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ts,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),Ts.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Ts,selector:"kendo-grid-filter-cell-operators",inputs:{operators:"operators",showButton:"showButton",showOperators:"showOperators",value:"value"},outputs:{valueChange:"valueChange",clear:"clear"},host:{properties:{"class.k-filtercell-operator":"this.hostClasses"}},viewQueries:[{propertyName:"dropdown",first:!0,predicate:["dropdown"],descendants:!0}],ngImport:i,template:'\n <kendo-dropdownlist\n #dropdown\n *ngIf="showOperators"\n kendoGridFocusable\n [data]="operators"\n class="k-dropdown-operator"\n (valueChange)="onChange($event)"\n [value]="value"\n iconClass="k-i-filter"\n [valuePrimitive]="true"\n textField="text"\n [popupSettings]="{ width: \'auto\' }"\n valueField="value"\n (keydown)="dropdownKeydown($event)">\n </kendo-dropdownlist>\n <button type="button"\n kendoGridFocusable\n *ngIf="showButton"\n class="k-button k-button-solid-base k-button-solid k-button-md k-rounded-md k-button-rectangle k-icon-button"\n [title]="clearText"\n (click)="clearClick()"\n (keydown)="clearKeydown($event)">\n <span class="k-icon k-button-icon k-i-filter-clear"></span>\n </button>\n ',isInline:!0,components:[{type:te.DropDownListComponent,selector:"kendo-dropdownlist",inputs:["iconClass","loading","data","value","textField","valueField","popupSettings","listHeight","defaultItem","disabled","itemDisabled","readonly","filterable","virtual","ignoreCase","delay","valuePrimitive","tabindex","tabIndex","size","rounded","fillMode","id"],outputs:["valueChange","filterChange","selectionChange","open","opened","close","closed","focus","blur"],exportAs:["kendoDropDownList"]}],directives:[{type:s.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{type:Dt,selector:"[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ",inputs:["kendoGridFocusable"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ts,decorators:[{type:P.Component,args:[{selector:"kendo-grid-filter-cell-operators",template:'\n <kendo-dropdownlist\n #dropdown\n *ngIf="showOperators"\n kendoGridFocusable\n [data]="operators"\n class="k-dropdown-operator"\n (valueChange)="onChange($event)"\n [value]="value"\n iconClass="k-i-filter"\n [valuePrimitive]="true"\n textField="text"\n [popupSettings]="{ width: \'auto\' }"\n valueField="value"\n (keydown)="dropdownKeydown($event)">\n </kendo-dropdownlist>\n <button type="button"\n kendoGridFocusable\n *ngIf="showButton"\n class="k-button k-button-solid-base k-button-solid k-button-md k-rounded-md k-button-rectangle k-icon-button"\n [title]="clearText"\n (click)="clearClick()"\n (keydown)="clearKeydown($event)">\n <span class="k-icon k-button-icon k-i-filter-clear"></span>\n </button>\n '}]}],ctorParameters:function(){return[{type:a.LocalizationService}]},propDecorators:{hostClasses:[{type:P.HostBinding,args:["class.k-filtercell-operator"]}],dropdown:[{type:P.ViewChild,args:["dropdown",{static:!1}]}],operators:[{type:P.Input}],showButton:[{type:P.Input}],showOperators:[{type:P.Input}],value:[{type:P.Input}],valueChange:[{type:P.Output}],clear:[{type:P.Output}]}});var Os,Es=["isnull","isnotnull","isempty","isnotempty"],Xa=(c(Rs,Os=na),Object.defineProperty(Rs.prototype,"hostClasses",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(Rs.prototype,"overrideBaseClasses",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(Rs.prototype,"showButton",{get:function(){var e=this.currentFilter;return V(e)&&(!ye(e.value)||0<=Es.indexOf(String(e.operator)))},enumerable:!1,configurable:!0}),Rs.prototype.filterChange=function(e){this.applyFilter(e)},Rs);function Rs(e){e=Os.call(this,e)||this;return e.showOperators=!0,e}Xa.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Xa,deps:[{token:v}],target:i.ɵɵFactoryTarget.Component}),Xa.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Xa,selector:"kendo-grid-filter-wrapper-cell",inputs:{showOperators:"showOperators"},host:{properties:{"class.k-filtercell-wrapper":"this.hostClasses","class.k-filtercell":"this.overrideBaseClasses"}},usesInheritance:!0,ngImport:i,template:'\n <ng-content></ng-content>\n <kendo-grid-filter-cell-operators\n [showOperators]="showOperators"\n [operators]="operators"\n (clear)="onClear()"\n [showButton]="showButton"\n [(value)]="currentOperator">\n </kendo-grid-filter-cell-operators>\n ',isInline:!0,components:[{type:Ts,selector:"kendo-grid-filter-cell-operators",inputs:["operators","showButton","showOperators","value"],outputs:["valueChange","clear"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Xa,decorators:[{type:P.Component,args:[{selector:"kendo-grid-filter-wrapper-cell",template:'\n <ng-content></ng-content>\n <kendo-grid-filter-cell-operators\n [showOperators]="showOperators"\n [operators]="operators"\n (clear)="onClear()"\n [showButton]="showButton"\n [(value)]="currentOperator">\n </kendo-grid-filter-cell-operators>\n '}]}],ctorParameters:function(){return[{type:v}]},propDecorators:{hostClasses:[{type:P.HostBinding,args:["class.k-filtercell-wrapper"]}],overrideBaseClasses:[{type:P.HostBinding,args:["class.k-filtercell"]}],showOperators:[{type:P.Input}]}});c(Gs,Ls=Ui),Object.defineProperty(Gs.prototype,"columnLabel",{get:function(){var e=this.localization.get("filterInputLabel")||"",t=this.column.title||this.column.field;return be(e,"columnName",t)},enumerable:!1,configurable:!0});var Ls,Ps=Gs;function Gs(e,t){e=Ls.call(this,e,t)||this;return e.filterDelay=500,e.showOperators=!0,e}Ps.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ps,deps:[{token:v},{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),Ps.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Ps,selector:"kendo-grid-string-filter-cell",inputs:{filterDelay:"filterDelay",showOperators:"showOperators"},usesInheritance:!0,ngImport:i,template:'\n <kendo-grid-filter-wrapper-cell\n [column]="column"\n [filter]="filter"\n [operators]="operators"\n [defaultOperator]="operator"\n [showOperators]="showOperators">\n <input\n kendoTextBox\n kendoGridFocusable\n kendoFilterInput\n [columnLabel]="columnLabel"\n [filterDelay]="filterDelay"\n [ngModel]="currentFilter?.value" />\n </kendo-grid-filter-wrapper-cell>\n ',isInline:!0,components:[{type:Xa,selector:"kendo-grid-filter-wrapper-cell",inputs:["showOperators"]}],directives:[{type:ee.TextBoxDirective,selector:"input[kendoTextBox]",inputs:["value"]},{type:l.DefaultValueAccessor,selector:"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]"},{type:Dt,selector:"[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ",inputs:["kendoGridFocusable"]},{type:Xi,selector:"[kendoFilterInput]",inputs:["filterDelay","columnLabel","value"]},{type:l.NgControlStatus,selector:"[formControlName],[ngModel],[formControl]"},{type:l.NgModel,selector:"[ngModel]:not([formControlName]):not([formControl])",inputs:["name","disabled","ngModel","ngModelOptions"],outputs:["ngModelChange"],exportAs:["ngModel"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ps,decorators:[{type:P.Component,args:[{selector:"kendo-grid-string-filter-cell",template:'\n <kendo-grid-filter-wrapper-cell\n [column]="column"\n [filter]="filter"\n [operators]="operators"\n [defaultOperator]="operator"\n [showOperators]="showOperators">\n <input\n kendoTextBox\n kendoGridFocusable\n kendoFilterInput\n [columnLabel]="columnLabel"\n [filterDelay]="filterDelay"\n [ngModel]="currentFilter?.value" />\n </kendo-grid-filter-wrapper-cell>\n '}]}],ctorParameters:function(){return[{type:v},{type:a.LocalizationService}]},propDecorators:{filterDelay:[{type:P.Input}],showOperators:[{type:P.Input}]}});c(zs,Vs=fa),zs.prototype.messageFor=function(e){return this.localization.get(e)},Object.defineProperty(zs.prototype,"columnLabel",{get:function(){var e=this.localization.get("filterInputLabel")||"",t=this.column.title||this.column.field;return be(e,"columnName",t)},enumerable:!1,configurable:!0});var Vs,Ms=zs;function zs(e,t){e=Vs.call(this,e,t)||this;return e.localization=t,e.filterDelay=500,e.showOperators=!0,e}Ms.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ms,deps:[{token:v},{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),Ms.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Ms,selector:"kendo-grid-numeric-filter-cell",inputs:{filterDelay:"filterDelay",showOperators:"showOperators"},usesInheritance:!0,ngImport:i,template:'\n <kendo-grid-filter-wrapper-cell\n [column]="column"\n [filter]="filter"\n [operators]="operators"\n [defaultOperator]="operator"\n [showOperators]="showOperators"\n >\n <kendo-numerictextbox\n kendoGridFocusable\n kendoFilterInput\n [columnLabel]="columnLabel"\n [filterDelay]="filterDelay"\n [autoCorrect]="true"\n [value]="currentFilter?.value"\n [format]="format"\n [decimals]="decimals"\n [spinners]="spinners"\n [min]="min"\n [max]="max"\n [step]="step"\n >\n <kendo-numerictextbox-messages\n [increment]="messageFor(\'filterNumericIncrement\')"\n [decrement]="messageFor(\'filterNumericDecrement\')"\n >\n </kendo-numerictextbox-messages>\n </kendo-numerictextbox>\n </kendo-grid-filter-wrapper-cell>\n ',isInline:!0,components:[{type:Xa,selector:"kendo-grid-filter-wrapper-cell",inputs:["showOperators"]},{type:ee.NumericTextBoxComponent,selector:"kendo-numerictextbox",inputs:["focusableId","disabled","readonly","title","autoCorrect","format","max","min","decimals","placeholder","step","spinners","rangeValidation","tabindex","tabIndex","changeValueOnScroll","selectOnFocus","value","maxlength","size","rounded","fillMode"],outputs:["valueChange","focus","blur"],exportAs:["kendoNumericTextBox"]},{type:ee.NumericTextBoxCustomMessagesComponent,selector:"kendo-numerictextbox-messages"}],directives:[{type:Dt,selector:"[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ",inputs:["kendoGridFocusable"]},{type:Xi,selector:"[kendoFilterInput]",inputs:["filterDelay","columnLabel","value"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ms,decorators:[{type:P.Component,args:[{selector:"kendo-grid-numeric-filter-cell",template:'\n <kendo-grid-filter-wrapper-cell\n [column]="column"\n [filter]="filter"\n [operators]="operators"\n [defaultOperator]="operator"\n [showOperators]="showOperators"\n >\n <kendo-numerictextbox\n kendoGridFocusable\n kendoFilterInput\n [columnLabel]="columnLabel"\n [filterDelay]="filterDelay"\n [autoCorrect]="true"\n [value]="currentFilter?.value"\n [format]="format"\n [decimals]="decimals"\n [spinners]="spinners"\n [min]="min"\n [max]="max"\n [step]="step"\n >\n <kendo-numerictextbox-messages\n [increment]="messageFor(\'filterNumericIncrement\')"\n [decrement]="messageFor(\'filterNumericDecrement\')"\n >\n </kendo-numerictextbox-messages>\n </kendo-numerictextbox>\n </kendo-grid-filter-wrapper-cell>\n '}]}],ctorParameters:function(){return[{type:v},{type:a.LocalizationService}]},propDecorators:{filterDelay:[{type:P.Input}],showOperators:[{type:P.Input}]}});c(As,Ns=Pa),As.prototype.localizationChange=function(){Ns.prototype.localizationChange.call(this),this.cd.markForCheck()},Object.defineProperty(As.prototype,"columnLabel",{get:function(){var e=this.localization.get("filterInputLabel")||"",t=this.column.title||this.column.field;return be(e,"columnName",t)},enumerable:!1,configurable:!0});var Ns,js=As;function As(e,t,n){e=Ns.call(this,e,t)||this;return e.cd=n,e}js.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:js,deps:[{token:v},{token:a.LocalizationService},{token:i.ChangeDetectorRef}],target:i.ɵɵFactoryTarget.Component}),js.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:js,selector:"kendo-grid-boolean-filter-cell",usesInheritance:!0,ngImport:i,template:'\n <kendo-grid-filter-wrapper-cell\n [column]="column"\n [filter]="filter"\n [showOperators]="false"\n [defaultOperator]="operator">\n <kendo-dropdownlist\n kendoFilterInput\n kendoGridFocusable\n [columnLabel]="columnLabel"\n [defaultItem]="defaultItem"\n [data]="items"\n textField="text"\n valueField="value"\n [popupSettings]="{ width: \'auto\' }"\n [valuePrimitive]="true"\n [value]="currentFilter?.value">\n </kendo-dropdownlist>\n </kendo-grid-filter-wrapper-cell>\n ',isInline:!0,components:[{type:Xa,selector:"kendo-grid-filter-wrapper-cell",inputs:["showOperators"]},{type:te.DropDownListComponent,selector:"kendo-dropdownlist",inputs:["iconClass","loading","data","value","textField","valueField","popupSettings","listHeight","defaultItem","disabled","itemDisabled","readonly","filterable","virtual","ignoreCase","delay","valuePrimitive","tabindex","tabIndex","size","rounded","fillMode","id"],outputs:["valueChange","filterChange","selectionChange","open","opened","close","closed","focus","blur"],exportAs:["kendoDropDownList"]}],directives:[{type:Xi,selector:"[kendoFilterInput]",inputs:["filterDelay","columnLabel","value"]},{type:Dt,selector:"[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ",inputs:["kendoGridFocusable"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:js,decorators:[{type:P.Component,args:[{selector:"kendo-grid-boolean-filter-cell",template:'\n <kendo-grid-filter-wrapper-cell\n [column]="column"\n [filter]="filter"\n [showOperators]="false"\n [defaultOperator]="operator">\n <kendo-dropdownlist\n kendoFilterInput\n kendoGridFocusable\n [columnLabel]="columnLabel"\n [defaultItem]="defaultItem"\n [data]="items"\n textField="text"\n valueField="value"\n [popupSettings]="{ width: \'auto\' }"\n [valuePrimitive]="true"\n [value]="currentFilter?.value">\n </kendo-dropdownlist>\n </kendo-grid-filter-wrapper-cell>\n '}]}],ctorParameters:function(){return[{type:v},{type:a.LocalizationService},{type:i.ChangeDetectorRef}]}});c($s,Bs=Sa),$s.prototype.messageFor=function(e){return this.localization.get(e)},Object.defineProperty($s.prototype,"columnLabel",{get:function(){var e=this.localization.get("filterInputLabel")||"",t=this.column.title||this.column.field;return be(e,"columnName",t)},enumerable:!1,configurable:!0});var Bs,Hs=$s;function $s(e,t){e=Bs.call(this,e,t)||this;return e.localization=t,e.showOperators=!0,e}Hs.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Hs,deps:[{token:v},{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),Hs.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Hs,selector:"kendo-grid-date-filter-cell",inputs:{showOperators:"showOperators"},usesInheritance:!0,ngImport:i,template:'\n <kendo-grid-filter-wrapper-cell\n [column]="column"\n [filter]="filter"\n [operators]="operators"\n [defaultOperator]="operator"\n [showOperators]="showOperators"\n >\n <kendo-datepicker\n kendoFilterInput\n kendoGridFocusable\n [columnLabel]="columnLabel"\n [value]="currentFilter?.value"\n [format]="format"\n [formatPlaceholder]="formatPlaceholder"\n [placeholder]="placeholder"\n [activeView]="activeView"\n [bottomView]="bottomView"\n [topView]="topView"\n [min]="min"\n [max]="max"\n [weekNumber]="weekNumber"\n >\n <kendo-datepicker-messages\n [toggle]="messageFor(\'filterDateToggle\')"\n [today]="messageFor(\'filterDateToday\')"\n >\n </kendo-datepicker-messages>\n </kendo-datepicker>\n </kendo-grid-filter-wrapper-cell>\n ',isInline:!0,components:[{type:Xa,selector:"kendo-grid-filter-wrapper-cell",inputs:["showOperators"]},{type:ne.DatePickerComponent,selector:"kendo-datepicker",inputs:["cellTemplate","monthCellTemplate","yearCellTemplate","decadeCellTemplate","centuryCellTemplate","weekNumberTemplate","headerTitleTemplate","navigationItemTemplate","focusableId","activeView","bottomView","topView","calendarType","animateCalendarNavigation","disabled","readonly","readOnlyInput","popupSettings","navigation","min","max","incompleteDateValidation","focusedDate","value","format","twoDigitYearMax","formatPlaceholder","placeholder","tabindex","tabIndex","disabledDates","title","rangeValidation","disabledDatesValidation","weekNumber","size","rounded","fillMode"],outputs:["valueChange","focus","blur","open","close"],exportAs:["kendo-datepicker"]},{type:ne.DatePickerCustomMessagesComponent,selector:"kendo-datepicker-messages"}],directives:[{type:Xi,selector:"[kendoFilterInput]",inputs:["filterDelay","columnLabel","value"]},{type:Dt,selector:"[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ",inputs:["kendoGridFocusable"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Hs,decorators:[{type:P.Component,args:[{selector:"kendo-grid-date-filter-cell",template:'\n <kendo-grid-filter-wrapper-cell\n [column]="column"\n [filter]="filter"\n [operators]="operators"\n [defaultOperator]="operator"\n [showOperators]="showOperators"\n >\n <kendo-datepicker\n kendoFilterInput\n kendoGridFocusable\n [columnLabel]="columnLabel"\n [value]="currentFilter?.value"\n [format]="format"\n [formatPlaceholder]="formatPlaceholder"\n [placeholder]="placeholder"\n [activeView]="activeView"\n [bottomView]="bottomView"\n [topView]="topView"\n [min]="min"\n [max]="max"\n [weekNumber]="weekNumber"\n >\n <kendo-datepicker-messages\n [toggle]="messageFor(\'filterDateToggle\')"\n [today]="messageFor(\'filterDateToday\')"\n >\n </kendo-datepicker-messages>\n </kendo-datepicker>\n </kendo-grid-filter-wrapper-cell>\n '}]}],ctorParameters:function(){return[{type:v},{type:a.LocalizationService}]},propDecorators:{showOperators:[{type:P.Input}]}});c(qs,Ks=qi),qs.prototype.componentType=function(){return ye(this.column.filter)?Ps:(e=this.column.filter,{boolean:js,date:Hs,numeric:Ms,text:Ps}[e]);var e};var Ks,na=qs;function qs(e,t){return Ks.call(this,e,t)||this}na.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:na,deps:[{token:i.ViewContainerRef},{token:i.ComponentFactoryResolver}],target:i.ɵɵFactoryTarget.Directive}),na.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:na,selector:"[kendoFilterCellHost]",usesInheritance:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:na,decorators:[{type:P.Directive,args:[{selector:"[kendoFilterCellHost]"}]}],ctorParameters:function(){return[{type:i.ViewContainerRef},{type:i.ComponentFactoryResolver}]}});Object.defineProperty(Ws.prototype,"filter",{get:function(){return this._filter},set:function(e){this._filter=Bi(e)},enumerable:!1,configurable:!0}),Object.defineProperty(Ws.prototype,"templateContext",{get:function(){return this._templateContext.column=this.column,this._templateContext.filter=this.filter,this._templateContext.$implicit=this.filter,this._templateContext},enumerable:!1,configurable:!0}),Object.defineProperty(Ws.prototype,"hasTemplate",{get:function(){return V(this.column.filterCellTemplateRef)},enumerable:!1,configurable:!0}),Object.defineProperty(Ws.prototype,"isFilterable",{get:function(){return V(this.column)&&!ye(this.column.field)&&this.column.filterable},enumerable:!1,configurable:!0});var _s=Ws;function Ws(){this._templateContext={}}_s.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:_s,deps:[],target:i.ɵɵFactoryTarget.Component}),_s.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:_s,selector:"[kendoGridFilterCell]",inputs:{column:"column",filter:"filter"},ngImport:i,template:'\n <ng-container *ngIf="isFilterable">\n <ng-container [ngSwitch]="hasTemplate">\n <ng-container *ngSwitchCase="false">\n <ng-container kendoFilterCellHost [column]="column" [filter]="filter"></ng-container>\n </ng-container>\n <ng-container *ngSwitchCase="true">\n <ng-template\n *ngIf="column.filterCellTemplateRef"\n [ngTemplateOutlet]="column.filterCellTemplateRef"\n [ngTemplateOutletContext]="templateContext">\n </ng-template>\n </ng-container>\n </ng-container>\n </ng-container>\n ',isInline:!0,directives:[{type:s.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{type:s.NgSwitch,selector:"[ngSwitch]",inputs:["ngSwitch"]},{type:s.NgSwitchCase,selector:"[ngSwitchCase]",inputs:["ngSwitchCase"]},{type:na,selector:"[kendoFilterCellHost]"},{type:s.NgTemplateOutlet,selector:"[ngTemplateOutlet]",inputs:["ngTemplateOutletContext","ngTemplateOutlet"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:_s,decorators:[{type:P.Component,args:[{selector:"[kendoGridFilterCell]",template:'\n <ng-container *ngIf="isFilterable">\n <ng-container [ngSwitch]="hasTemplate">\n <ng-container *ngSwitchCase="false">\n <ng-container kendoFilterCellHost [column]="column" [filter]="filter"></ng-container>\n </ng-container>\n <ng-container *ngSwitchCase="true">\n <ng-template\n *ngIf="column.filterCellTemplateRef"\n [ngTemplateOutlet]="column.filterCellTemplateRef"\n [ngTemplateOutletContext]="templateContext">\n </ng-template>\n </ng-container>\n </ng-container>\n </ng-container>\n '}]}],propDecorators:{column:[{type:P.Input}],filter:[{type:P.Input}]}});var Zs=0;Object.defineProperty(Us.prototype,"id",{get:function(){if(!this.logicalSlaveCell&&this.columnInfoService.isLocked)return this.idService.cellId(this.logicalRowIndex,this.logicalColIndex)},enumerable:!1,configurable:!0}),Object.defineProperty(Us.prototype,"ariaColIndex",{get:function(){if(!this.logicalSlaveCell&&-1!==this.logicalColIndex)return this.logicalColIndex+1},enumerable:!1,configurable:!0}),Us.prototype.ngOnInit=function(){var t=this;this.navigationService.tableEnabled&&(this.navigationChange=this.navigationService.changes.subscribe(function(e){return t.onNavigationChange(e)}))},Us.prototype.ngDoCheck=function(){this.navigationService.tableEnabled&&-1!==this.logicalColIndex&&(this.cellContext&&(this.cellContext.focusGroup=this.focusGroup),this.registerNoChanges())},Us.prototype.ngOnChanges=function(e){var t;!this.navigationService.tableEnabled||1===(t=Object.keys(e)).length&&"groupItem"===t[0]||-1===this.logicalColIndex||(t=e.logicalColIndex,e=e.logicalRowIndex,t=t&&!t.isFirstChange()?t.previousValue:this.logicalColIndex,e=e&&!e.isFirstChange()?e.previousValue:this.logicalRowIndex,this.navigationService.unregisterCell(t,e,this),this.registerChanges(),this.updateElement())},Us.prototype.ngOnDestroy=function(){this.navigationChange&&this.navigationChange.unsubscribe(),this.navigationService.unregisterCell(this.logicalColIndex,this.logicalRowIndex,this)},Us.prototype.onNavigationChange=function(e){var t=this.logicalColIndex===e.colIndex&&this.logicalRowIndex===e.rowIndex,e=this.logicalColIndex===e.prevColIndex&&this.logicalRowIndex===e.prevRowIndex;(t||e)&&this.updateElement()},Us.prototype.updateElement=function(){var e=this,t=this.element.nativeElement;this.renderer.setAttribute(t,"tabIndex",this.isFocusable()&&!this.logicalSlaveCell?"0":"-1"),this.isFocused()?(this.focusGroup.isNavigable()?this.focusGroup.focus():(!this.logicalSlaveCell&&this.navigationService.autoFocusCell(this.logicalColIndex,this.logicalColIndex+this.colSpan-1)&&this.microtask(function(){return e.isFocused()&&t.focus()}),this.renderer.addClass(t,"k-state-focused")),this.headerLabelText&&t.setAttribute("aria-label","")):(this.renderer.removeClass(t,"k-state-focused"),this.headerLabelText&&t.setAttribute("aria-label",this.headerLabelText))},Us.prototype.microtask=function(e){this.zone.runOutsideAngular(function(){return Promise.resolve(null).then(e)})},Us.prototype.registerChanges=function(){this.logicalSlaveCell||this.navigationService.registerCell(this)},Us.prototype.registerNoChanges=function(){this.logicalSlaveCell||this.navigationService.registerCellOnCurrentRow(this)},Us.prototype.isFocusable=function(){return this.navigationService.isCellFocusable(this)},Us.prototype.isFocused=function(){return this.navigationService.isCellFocused(this)};Ui=Us;function Us(e,t,n,o,r,i,a,s){this.focusGroup=e,this.element=t,this.columnInfoService=n,this.idService=o,this.navigationService=r,this.renderer=i,this.zone=a,this.cellContext=s,this.logicalSlaveCell=!1,this.colSpan=1,this.rowSpan=1,this.dataRowIndex=-1,this.detailExpandCell=!1,this.uid=Zs++}Ui.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ui,deps:[{token:zr},{token:i.ElementRef},{token:C},{token:f},{token:m},{token:i.Renderer2},{token:i.NgZone},{token:wt,optional:!0}],target:i.ɵɵFactoryTarget.Directive}),Ui.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:Ui,selector:"[kendoGridLogicalCell]",inputs:{logicalColIndex:"logicalColIndex",logicalRowIndex:"logicalRowIndex",logicalSlaveCell:"logicalSlaveCell",colIndex:"colIndex",colSpan:"colSpan",rowSpan:"rowSpan",groupItem:"groupItem",dataRowIndex:"dataRowIndex",dataItem:"dataItem",detailExpandCell:"detailExpandCell",headerLabelText:"headerLabelText"},host:{properties:{"attr.id":"this.id","attr.aria-colindex":"this.ariaColIndex"}},providers:[{provide:zr,deps:[dt],useClass:zr}],usesOnChanges:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ui,decorators:[{type:P.Directive,args:[{providers:[{provide:zr,deps:[dt],useClass:zr}],selector:"[kendoGridLogicalCell]"}]}],ctorParameters:function(){return[{type:zr},{type:i.ElementRef},{type:C},{type:f},{type:m},{type:i.Renderer2},{type:i.NgZone},{type:void 0,decorators:[{type:P.Optional},{type:P.Inject,args:[wt]}]}]},propDecorators:{logicalColIndex:[{type:P.Input}],logicalRowIndex:[{type:P.Input}],logicalSlaveCell:[{type:P.Input}],colIndex:[{type:P.Input}],colSpan:[{type:P.Input}],rowSpan:[{type:P.Input}],groupItem:[{type:P.Input}],dataRowIndex:[{type:P.Input}],dataItem:[{type:P.Input}],detailExpandCell:[{type:P.Input}],headerLabelText:[{type:P.Input}],id:[{type:P.HostBinding,args:["attr.id"]}],ariaColIndex:[{type:P.HostBinding,args:["attr.aria-colindex"]}]}});Xs.prototype.addStickyStyles=function(e){var t=e.sticky?this.columnInfoService.stickyColumnsStyles(e):null;return Object.assign(Object.assign({},t),e.filterStyle)},Xs.prototype.filterLabel=function(e){var t=this.localization.get("filterInputLabel")||"",e=e.title||e.field;return be(t,"columnName",e)};var Qs=Xs;function Xs(e,t){this.localization=e,this.columnInfoService=t,this.columns=[],this.groups=[],this.filterRowClass=!0}Qs.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Qs,deps:[{token:a.LocalizationService},{token:C}],target:i.ɵɵFactoryTarget.Component}),Qs.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Qs,selector:"[kendoGridFilterRow]",inputs:{columns:"columns",filter:"filter",groups:"groups",detailTemplate:"detailTemplate",logicalRowIndex:"logicalRowIndex",lockedColumnsCount:"lockedColumnsCount"},host:{properties:{"class.k-filter-row":"this.filterRowClass"}},ngImport:i,template:'\n <td\n [class.k-group-cell]="true"\n *ngFor="let g of groups"\n role="presentation">\n </td>\n <td\n [class.k-hierarchy-cell]="true"\n *ngIf="detailTemplate?.templateRef"\n role="presentation">\n </td>\n <td *ngFor="let column of columns; let columnIndex = index"\n [class.k-grid-header-sticky]="column.sticky"\n [ngStyle]="addStickyStyles(column)"\n [ngClass]="column.filterClass"\n [attr.aria-label]="filterLabel($any(column))"\n kendoGridFilterCell\n [column]="$any(column)"\n [filter]="filter"\n kendoGridLogicalCell\n [logicalRowIndex]="logicalRowIndex"\n [logicalColIndex]="lockedColumnsCount + columnIndex"\n ></td>\n ',isInline:!0,components:[{type:_s,selector:"[kendoGridFilterCell]",inputs:["column","filter"]}],directives:[{type:s.NgForOf,selector:"[ngFor][ngForOf]",inputs:["ngForOf","ngForTrackBy","ngForTemplate"]},{type:s.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{type:Ui,selector:"[kendoGridLogicalCell]",inputs:["logicalColIndex","logicalRowIndex","logicalSlaveCell","colIndex","colSpan","rowSpan","groupItem","dataRowIndex","dataItem","detailExpandCell","headerLabelText"]},{type:s.NgStyle,selector:"[ngStyle]",inputs:["ngStyle"]},{type:s.NgClass,selector:"[ngClass]",inputs:["class","ngClass"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Qs,decorators:[{type:P.Component,args:[{selector:"[kendoGridFilterRow]",template:'\n <td\n [class.k-group-cell]="true"\n *ngFor="let g of groups"\n role="presentation">\n </td>\n <td\n [class.k-hierarchy-cell]="true"\n *ngIf="detailTemplate?.templateRef"\n role="presentation">\n </td>\n <td *ngFor="let column of columns; let columnIndex = index"\n [class.k-grid-header-sticky]="column.sticky"\n [ngStyle]="addStickyStyles(column)"\n [ngClass]="column.filterClass"\n [attr.aria-label]="filterLabel($any(column))"\n kendoGridFilterCell\n [column]="$any(column)"\n [filter]="filter"\n kendoGridLogicalCell\n [logicalRowIndex]="logicalRowIndex"\n [logicalColIndex]="lockedColumnsCount + columnIndex"\n ></td>\n '}]}],ctorParameters:function(){return[{type:a.LocalizationService},{type:C}]},propDecorators:{columns:[{type:P.Input}],filter:[{type:P.Input}],groups:[{type:P.Input}],detailTemplate:[{type:P.Input}],logicalRowIndex:[{type:P.Input}],lockedColumnsCount:[{type:P.Input}],filterRowClass:[{type:P.HostBinding,args:["class.k-filter-row"]}]}});var Ys=0;Object.defineProperty(Js.prototype,"hostRole",{get:function(){return this.logicalSlaveRow?"presentation":"row"},enumerable:!1,configurable:!0}),Object.defineProperty(Js.prototype,"ariaRowIndex",{get:function(){return this.logicalRowIndex+1},enumerable:!1,configurable:!0}),Object.defineProperty(Js.prototype,"ariaOwns",{get:function(){if(this.navigation.enabled&&!this.logicalSlaveRow&&0!==this.logicalSlaveCellsCount){for(var e=[],t=this.logicalCellsCount+this.logicalSlaveCellsCount,n=this.logicalCellsCount;n<t;n++)e.push(this.idService.cellId(this.logicalRowIndex,n));return e.join(" ")}},enumerable:!1,configurable:!0}),Js.prototype.ngOnChanges=function(e){var t,n;this.navigation.enabled&&!this.logicalSlaveRow&&(t=e.logicalRowIndex,n=e.logicalSlaveRow,t||n?(n=t&&!t.isFirstChange()?t.previousValue:this.logicalRowIndex,this.navigation.unregisterRow(n,this),this.navigation.registerRow(this)):p.anyChanged(["dataRowIndex","dataItem"],e)&&this.navigation.updateRow(this))},Js.prototype.ngOnDestroy=function(){this.navigation.unregisterRow(this.logicalRowIndex,this)};fa=Js;function Js(e,t){this.idService=e,this.navigation=t,this.logicalSlaveRow=!1,this.logicalSlaveCellsCount=0,this.dataRowIndex=-1,this.uid=Ys++}fa.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:fa,deps:[{token:f},{token:m}],target:i.ɵɵFactoryTarget.Directive}),fa.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:fa,selector:"[kendoGridLogicalRow]",inputs:{logicalRowIndex:"logicalRowIndex",logicalSlaveRow:"logicalSlaveRow",logicalCellsCount:"logicalCellsCount",logicalSlaveCellsCount:"logicalSlaveCellsCount",dataRowIndex:"dataRowIndex",dataItem:"dataItem"},host:{properties:{"attr.role":"this.hostRole","attr.aria-rowindex":"this.ariaRowIndex","attr.aria-owns":"this.ariaOwns"}},usesOnChanges:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:fa,decorators:[{type:P.Directive,args:[{selector:"[kendoGridLogicalRow]"}]}],ctorParameters:function(){return[{type:f},{type:m}]},propDecorators:{logicalRowIndex:[{type:P.Input}],logicalSlaveRow:[{type:P.Input}],logicalCellsCount:[{type:P.Input}],logicalSlaveCellsCount:[{type:P.Input}],dataRowIndex:[{type:P.Input}],dataItem:[{type:P.Input}],hostRole:[{type:P.HostBinding,args:["attr.role"]}],ariaRowIndex:[{type:P.HostBinding,args:["attr.aria-rowindex"]}],ariaOwns:[{type:P.HostBinding,args:["attr.aria-owns"]}]}});Object.defineProperty(el.prototype,"templateContext",{set:function(e){this.removeView(),e.templateRef&&(this.insertedViewRef=this.viewContainerRef.createEmbeddedView(e.templateRef,e))},enumerable:!1,configurable:!0}),el.prototype.ngOnDestroy=function(){this.removeView()},el.prototype.removeView=function(){this.insertedViewRef&&(this.viewContainerRef.remove(this.viewContainerRef.indexOf(this.insertedViewRef)),this.insertedViewRef=void 0)};qi=el;function el(e){this.viewContainerRef=e}qi.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:qi,deps:[{token:i.ViewContainerRef}],target:i.ɵɵFactoryTarget.Directive}),qi.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:qi,selector:"[templateContext]",inputs:{templateContext:"templateContext"},ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:qi,decorators:[{type:P.Directive,args:[{selector:"[templateContext]"}]}],ctorParameters:function(){return[{type:i.ViewContainerRef}]},propDecorators:{templateContext:[{type:P.Input}]}});nl.prototype.ngAfterContentChecked=function(){this.setState()},nl.prototype.ngOnChanges=function(){this.stateSet=!0},nl.prototype.ngOnDestroy=function(){this.destroyClick&&this.destroyClick()},nl.prototype.onClick=function(){var e=this,t=!!(function(){var e,t;if(p.isDocumentAvailable())return t=window.navigator.userAgent,e=t.indexOf("MSIE "),t=t.indexOf("Trident/"),0<e||0<t}()&&void 0===this.selectionService.selectAllState)||this.el.nativeElement.checked,n=this.selectionService.options,o=n.enabled&&"multiple"===n.mode,r=p.hasObservers(this.selectAllChange);(o||r)&&this.ngZone.run(function(){o&&e.selectionService.updateAll(t),r&&e.selectAllChange.emit(t?"checked":"unchecked")})},nl.prototype.setState=function(){var e=this.stateSet?this.stateToBool():this.selectionService.selectAllState,t=this.el.nativeElement;this.renderer.setProperty(t,"indeterminate",!V(e)),this.renderer.setProperty(t,"checked",!!V(e)&&e)},nl.prototype.stateToBool=function(){switch(this.state){case"checked":return!0;case"unchecked":return!1;default:return}};var tl=nl;function nl(e,t,n,o){var r=this;this.selectionService=e,this.el=t,this.renderer=n,this.ngZone=o,this.selectAllChange=new P.EventEmitter,this.type="checkbox",this.stateSet=!1,this.ngZone.runOutsideAngular(function(){r.destroyClick=r.renderer.listen(r.el.nativeElement,"click",r.onClick.bind(r))})}tl.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:tl,deps:[{token:Nt},{token:i.ElementRef},{token:i.Renderer2},{token:i.NgZone}],target:i.ɵɵFactoryTarget.Directive}),tl.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:tl,selector:"[kendoGridSelectAllCheckbox]",inputs:{state:"state"},outputs:{selectAllChange:"selectAllChange"},host:{properties:{"attr.type":"this.type"}},usesOnChanges:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:tl,decorators:[{type:P.Directive,args:[{selector:"[kendoGridSelectAllCheckbox]"}]}],ctorParameters:function(){return[{type:Nt},{type:i.ElementRef},{type:i.Renderer2},{type:i.NgZone}]},propDecorators:{state:[{type:P.Input}],selectAllChange:[{type:P.Output}],type:[{type:P.HostBinding,args:["attr.type"]}]}});function ol(e){return e.nativeElement.parentElement.offsetWidth}function rl(e){return bn(e).filter(function(e){return!e.isColumnGroup})}function il(e){(e=e.originalEvent).stopPropagation(),e.preventDefault()}function al(e){return!(!e.parent||!e.parent.isSpanColumn)}Object.defineProperty(ll.prototype,"visible",{get:function(){return this.column.resizable?"block":"none"},enumerable:!1,configurable:!0}),Object.defineProperty(ll.prototype,"leftStyle",{get:function(){return fe(this.rtl)?0:null},enumerable:!1,configurable:!0}),Object.defineProperty(ll.prototype,"rightStyle",{get:function(){return fe(this.rtl)?null:0},enumerable:!1,configurable:!0}),ll.prototype.autoFit=function(){var r=this,i=rl(this.columns),e=Fn([this.column]).filter(function(e){return fe(e.resizable)}),t=e.map(function(e){var t=al(e),n=!!t&&e.parent.childColumns.last===e,o=function(e,t){for(var n=0,o=0,r=0;n<t.length;){var i=t[n],a=al(i);if(i===e)break;o--<=0&&a&&(r+=o=i.parent.childColumns.length-1),n++}return n-r}(e,i);return{column:e,headerIndex:r.columnsForLevel(e.level).indexOf(e),index:o,isLastInSpan:n,isParentSpan:t,level:e.level}});e.forEach(function(e){return e.width=0}),this.service.measureColumns(t)},ll.prototype.ngOnInit=function(){var o=this,e=(ie(this.column.width)&&(this.column.implicitWidth=ol(this.element)),this.service.changes.pipe(G.filter(function(){return o.column.resizable}),G.filter(function(e){return V(e.columns.find(function(e){return e===o.column}))})));this.subscriptions.add(e.pipe(G.filter(function(e){return"start"===e.type})).subscribe(this.initState.bind(this))),this.subscriptions.add(e.pipe(G.filter(function(e){return"resizeColumn"===e.type})).subscribe(this.resize.bind(this))),this.subscriptions.add(this.service.changes.pipe(G.filter(function(e){return"start"===e.type}),G.filter(this.shouldUpdate.bind(this)),G.take(1)).subscribe(this.initColumnWidth.bind(this))),this.subscriptions.add(this.zone.runOutsideAngular(function(){return o.draggable.kendoPress.pipe(G.tap(il),G.tap(function(){return o.service.start(o.column)}),G.switchMap((t=o.draggable.kendoRelease,function(e){return b.of(e).pipe(G.delay(150),G.takeUntil(t))})),G.switchMap((e=o.service,n=o.draggable,function(t){return n.kendoDrag.pipe(G.takeUntil(n.kendoRelease.pipe(G.tap(function(){return e.end()}))),G.map(function(e){e=e.pageX;return{originalX:t.pageX,pageX:e}}))}))).subscribe(function(e){e=(e.pageX-e.originalX)/(o.column.resizeStartWidth||o.column.width)*100;o.service.resizeColumns(e)});var e,n,t})),this.subscriptions.add(e.pipe(G.filter(function(e){return"autoFitComplete"===e.type})).subscribe(this.sizeToFit.bind(this))),this.subscriptions.add(e.pipe(G.filter(function(e){return"triggerAutoFit"===e.type})).subscribe(this.autoFit.bind(this))),this.subscriptions.add(this.localization.changes.subscribe(function(e){e=e.rtl;return o.rtl=e}))},ll.prototype.ngOnDestroy=function(){this.subscriptions&&this.subscriptions.unsubscribe()},ll.prototype.shouldUpdate=function(){return!rl(this.columns).map(function(e){return e.width}).some(ie)},ll.prototype.initColumnWidth=function(){this.column.width=ol(this.element)},ll.prototype.initState=function(){this.column.resizeStartWidth=ol(this.element),this.service.resizedColumn({column:this.column,oldWidth:this.column.resizeStartWidth})},ll.prototype.resize=function(e){var e=e.deltaPercent,e=(t=this.column.resizeStartWidth,n=e<0?-1:1,Math.ceil(Math.abs(e)/100*t)*n),t=(fe(this.rtl)&&(e*=-1),Math.max(this.column.resizeStartWidth+e,this.column.minResizableWidth)),n=t>this.column.minResizableWidth?e:this.column.minResizableWidth-this.column.resizeStartWidth;this.updateWidth(this.column,t),this.service.resizeTable(this.column,n)},ll.prototype.sizeToFit=function(e){var t=e.columns,e=e.widths,n=t.indexOf(this.column),t=Math.max.apply(Math,g([],k(e.map(function(e){return e[n]}))))+1,e=t-this.column.resizeStartWidth;this.updateWidth(this.column,t),this.service.resizeTable(this.column,e)},ll.prototype.updateWidth=function(e,t){e.width=t,this.columnInfoService.hiddenColumns.forEach(function(e){ie(e.width)&&V(e.implicitWidth)&&(e.width=e.implicitWidth)}),this.cdr.markForCheck()},ll.prototype.columnsForLevel=function(t){return Cn(this.columns?this.columns.filter(function(e){return e.level===t}):[])};var sl=ll;function ll(e,t,n,o,r,i,a){this.draggable=e,this.element=t,this.service=n,this.zone=o,this.cdr=r,this.localization=i,this.columnInfoService=a,this.columns=[],this.subscriptions=new b.Subscription,this.rtl=!1}sl.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:sl,deps:[{token:X.DraggableDirective,host:!0},{token:i.ElementRef},{token:Wo},{token:i.NgZone},{token:i.ChangeDetectorRef},{token:a.LocalizationService},{token:C}],target:i.ɵɵFactoryTarget.Directive}),sl.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:sl,selector:"[kendoGridColumnHandle]",inputs:{columns:"columns",column:"column"},host:{listeners:{dblclick:"autoFit()"},properties:{"style.display":"this.visible","style.left":"this.leftStyle","style.right":"this.rightStyle"}},ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:sl,decorators:[{type:P.Directive,args:[{selector:"[kendoGridColumnHandle]"}]}],ctorParameters:function(){return[{type:X.DraggableDirective,decorators:[{type:P.Host}]},{type:i.ElementRef},{type:Wo},{type:i.NgZone},{type:i.ChangeDetectorRef},{type:a.LocalizationService},{type:C}]},propDecorators:{columns:[{type:P.Input}],column:[{type:P.Input}],visible:[{type:P.HostBinding,args:["style.display"]}],leftStyle:[{type:P.HostBinding,args:["style.left"]}],rightStyle:[{type:P.HostBinding,args:["style.right"]}],autoFit:[{type:P.HostListener,args:["dblclick"]}]}});function cl(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Object.assign.apply(null,[{}].concat(e))}var pl=function(e,t){return e.parent===t.parent||En(t)&&pl(e,t.parent)},ul=me(function(e){e=e.draggable;return 0<=["column","columnGroup"].indexOf(e.context.type)},function(e){return e.draggable.context.column.reorderable},function(e){e=e.draggable;return!En(e.context.column)},function(e){var t=e.draggable,e=e.target;return t.element.nativeElement!==e.element.nativeElement},function(e){var t=e.draggable,e=e.target;return pl(t.context.column,e.context.column)},de(function(e){e=e.draggable;return!fe(e.context.column.locked)&&function(e){e=e.parent;return!fe(e)}(e.context.column)&&e.context.lastColumn}),function(e){var t=e.draggable,e=e.target;return!1!==t.context.column.lockable||t.context.column.isLocked===e.context.column.isLocked}),dl=["alt","ctrl","shift","meta"],gl=(Object.defineProperty(D.prototype,"headerClass",{get:function(){return!this.scrollable},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"sortableLabel",{get:function(){return this.localization.get("sortable")},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"columnMenuSettings",{get:function(){return this.columnMenu},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"unlockedColumnsCount",{get:function(){return this.totalColumnsCount-this.lockedColumnsCount-this.columns.length},enumerable:!1,configurable:!0}),D.prototype.sortColumn=function(e){this.sortService.sort(e)},D.prototype.getColumnComponent=function(e){return e},D.prototype.onSortClick=function(e,t,n){var o=t.target;if(e.headerTemplateRef&&o!==n&&Boolean(Ne(o,qe,n)))return;o=this.matchModifier(t),n=this.toggleSort(e,o);this.sortColumn(n)},D.prototype.onHeaderKeydown=function(t,e){var n;e.keyCode===p.Keys.ArrowDown&&e.altKey&&this.showFilterMenu&&(e.preventDefault(),e.stopImmediatePropagation(),(n=this.filterMenus.find(function(e){return e.column===t})).toggle(n.anchor.nativeElement,n.template)),e.keyCode===p.Keys.ArrowDown&&e.altKey&&this.showColumnMenu(t)&&(e.preventDefault(),e.stopImmediatePropagation(),(n=this.columnMenus.find(function(e){return e.column===t})).toggle(null,n.anchor.nativeElement,n.template)),this.sortable&&!e.defaultPrevented&&!1!==t.sortable&&e.keyCode===p.Keys.Enter&&V(t.field)&&(n=this.matchModifier(e),this.sortService.sort(this.toggleSort(t,n)))},D.prototype.showSortNumbering=function(e){return Ii(this.sortable).showIndexes&&this.sort&&1<this.sort.filter(function(e){e=e.dir;return V(e)}).length&&0<this.sortOrder(e.field)},D.prototype.sortOrder=function(t){return this.sort.filter(function(e){e=e.dir;return V(e)}).findIndex(function(e){return e.field===t})+1},D.prototype.sortIcon=function(e){e=this.sortDescriptor(e);return{"k-icon":V(e.dir),"k-i-sort-desc-sm":"desc"===e.dir,"k-i-sort-asc-sm":"asc"===e.dir}},D.prototype.sortState=function(e){if(this.isSortable(e))return e=this.sortDescriptor(e.field),"asc"===e.dir?"ascending":"desc"===e.dir?"descending":void 0},D.prototype.sortStatus=function(e){var t;if(this.sortedFields[e.field]&&this.isSortable(e))return t="sortedDefault",e=this.sortDescriptor(e.field),"asc"===e.dir?t="sortedAscending":"desc"===e.dir&&(t="sortedDescending"),this.localization.get(t)},D.prototype.toggleSort=function(t,e){void 0===e&&(e=!0);var n=Ii(this.sortable,t.sortable),o=n.allowUnsort,r=n.mode,n=n.initialDirection,o=this.toggleDirection(t.field,o,n);return"single"!==r&&e?g(g([],k(this.sort.filter(function(e){return e.field!==t.field}))),[o]):[o]},D.prototype.matchModifier=function(t){var e=Ii(this.sortable).multiSortKey;return"none"===e?dl.every(function(e){return!t[e+"Key"]}):"ctrl"===e?t.ctrlKey||t.metaKey:t[e+"Key"]},D.prototype.ngAfterViewInit=function(){this.subscription.add(se(this.dropTargets).subscribe(this.attachTargets.bind(this)))},D.prototype.ngDoCheck=function(){this._leafColumns=Cn(this.columns||[]).filter(function(e){return!Rn(e)})},D.prototype.ngOnChanges=function(e){var t=this,e=e.sort;e&&!e.isFirstChange()&&e.currentValue.forEach(function(e){t.sortedFields[e.field]=!0})},D.prototype.ngOnInit=function(){var e=this;this.subscription.add(this.localization.changes.subscribe(function(){return e.cd.markForCheck()}))},D.prototype.ngOnDestroy=function(){this.targetSubscription&&this.targetSubscription.unsubscribe(),this.popupService&&this.popupService.destroy(),this.subscription.unsubscribe()},D.prototype.selectAllCheckboxId=function(){return this.idService.selectAllCheckboxId()},Object.defineProperty(D.prototype,"selectAllCheckboxLabel",{get:function(){return this.localization.get("selectAllCheckboxLabel")},enumerable:!1,configurable:!0}),D.prototype.isFirstOnRow=function(e,t){function n(e){return e&&(0<o.columnsForLevel(e.level).indexOf(e)||n(e.parent))}var o=this;return 0===t&&!this.groups.length&&!this.detailTemplate&&n(e.parent)},D.prototype.logicalColumnIndex=function(e){e=e.leafIndex;return V(e)?e+(V(this.detailTemplate)?1:0):-1},Object.defineProperty(D.prototype,"showFilterMenu",{get:function(){return!this.columnMenu&&Uo(this.filterable)},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"showFilterRow",{get:function(){return Qo(this.filterable)},enumerable:!1,configurable:!0}),D.prototype.showColumnMenu=function(e){return this.columnMenu&&e.columnMenu&&(this.columnMenuTemplate||e.columnMenuTemplates.length||(t=this.columnMenu,e=e,Di(t)||Si(t,e)||wi(t,e)||xi(t,e)));var t},D.prototype.isFilterable=function(e){return!ye(e.field)&&!0===e.filterable},D.prototype.canDrop=function(e,t){return this.reorderable&&ul({draggable:e,target:t})},D.prototype.shouldActivate=function(e){var t=this.reorderable&&e.reorderable;return!(!t&&!un(e))&&(this.groupable&&un(e)&&!1!==e.groupable||t)},D.prototype.isSortable=function(e){return!ye(e.field)&&fe(this.sortable)&&fe(e.sortable)},D.prototype.isCheckboxColumn=function(e){return an(e)&&!e.templateRef},D.prototype.trackByIndex=function(e,t){return e},D.prototype.addStickyStyles=function(e){var t=this.columnInfoService.stickyColumnsStyles(e);return Object.assign(Object.assign({},e.style),t)},D.prototype.toggleDirection=function(e,t,n){var o=this.sortDescriptor(e),n=k("asc"===n?["asc","desc"]:["desc","asc"],2),r=n[0],n=n[1],i=r;return o.dir===r?i=n:o.dir===n&&t&&(i=void 0),{dir:i,field:e}},D.prototype.columnsForLevel=function(t){var e=this.columns?this.columns.filter(function(e){return e.level===t}):[];return On(Cn(e))},D.prototype.isColumnGroupComponent=Rn,Object.defineProperty(D.prototype,"columnLevels",{get:function(){return new Array((this.totalColumnLevels||0)+1)},enumerable:!1,configurable:!0}),D.prototype.sortDescriptor=function(t){return this.sort.find(function(e){return e.field===t})||{field:t}},Object.defineProperty(D.prototype,"leafColumns",{get:function(){return this._leafColumns},enumerable:!1,configurable:!0}),D.prototype.attachTargets=function(){var n=this,e=(this.targetSubscription&&this.targetSubscription.unsubscribe(),this.targetSubscription=new b.Subscription,b.merge.apply(void 0,g([],k(this.dropTargets.map(function(e){return e.enter}))))),t=b.merge.apply(void 0,g([],k(this.dropTargets.map(function(e){return e.leave})))),o=b.merge.apply(void 0,g([],k(this.dropTargets.map(function(e){return e.drop}))));this.targetSubscription.add(e.pipe(G.tap(function(e){var t=e.target,e=e.draggable;"groupIndicator"!==e.context.type&&(t=fe(t.context.column.isLocked),e=fe(e.context.column.isLocked),(0<n.lockedColumnsCount||t||e)&&n.hint.toggleLock(t))}),G.filter(function(e){var t=e.draggable,e=e.target;return n.canDrop(t,e)}),G.switchMap(this.trackMove.bind(this,t,o)),G.map(function(e){return cl(e,{before:n.calculateBefore(e),changeContainer:e.changeContainer})}),G.map(this.normalizeTarget.bind(this)),G.tap(this.enter.bind(this)),G.switchMap(function(e){return o.pipe(G.map(function(){return e}),G.takeUntil(t.pipe(G.tap(n.leave.bind(n)))))})).subscribe(this.drop.bind(this)))},D.prototype.normalizeTarget=function(e){var t,n,o=e.target,r=o.context.column.parent;return r&&r.isSpanColumn&&(n=(t=this.dropTargets.toArray()).find(function(e){return e.context.column.parent===r}),n=t.indexOf(n),o=t[n+(e.before?0:r.childColumns.length-1)]),cl(e,{target:o})},D.prototype.trackMove=function(e,t,n){var o=n.target.context.column,r=this.columnsForLevel(o.level),i=r.indexOf(o),r=o.locked?i===r.length-1:0===i,i=n.draggable.context.column.isLocked!==o.isLocked;return i&&r?n.draggable.drag.pipe(G.takeUntil(e),G.takeUntil(t),G.map(function(e){e=e.mouseEvent;return cl({changeContainer:!0},n,{mouseEvent:e})})):b.of(cl({changeContainer:i},n))},D.prototype.calculateBefore=function(e){var t=e.draggable,n=e.target,o=e.mouseEvent,e=e.changeContainer,n=n.element.nativeElement,r=!1;return void 0!==e&&e?(r=or(n).left+n.offsetWidth/2>o.pageX,this.localization.rtl&&(r=!r)):r=rr(t.element.nativeElement,n),r},D.prototype.enter=function(e){var t=e.target,e=e.before;this.hint.enable(),this.localization.rtl&&(e=!e),this.cue.position(ir(t.element.nativeElement,e))},D.prototype.leave=function(){this.hint.disable(),this.cue.hide()},D.prototype.drop=function(e){var t=e.draggable,n=e.target,o=e.before,e=e.changeContainer;this.reorderService.reorder({before:o,changeContainer:e,source:t.context.column,target:n.context.column})},D);function D(e,t,n,o,r,i,a,s,l){this.popupService=e,this.hint=t,this.cue=n,this.reorderService=o,this.idService=r,this.sortService=i,this.localization=a,this.columnInfoService=s,this.cd=l,this.columns=[],this.groups=[],this.sort=new Array,this.sortable=!1,this.groupable=!1,this.lockedColumnsCount=0,this.resizable=!1,this.reorderable=!1,this.columnMenu=!1,this.totalColumnsCount=0,this.sortedFields={},this.dropTargets=new P.QueryList,this.subscription=new b.Subscription}gl.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:gl,deps:[{token:er},{token:dr},{token:mr},{token:fr},{token:f},{token:Sr},{token:a.LocalizationService},{token:C},{token:i.ChangeDetectorRef}],target:i.ɵɵFactoryTarget.Component}),gl.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:gl,selector:"[kendoGridHeader]",inputs:{totalColumnLevels:"totalColumnLevels",columns:"columns",groups:"groups",detailTemplate:"detailTemplate",scrollable:"scrollable",filterable:"filterable",sort:"sort",filter:"filter",sortable:"sortable",groupable:"groupable",lockedColumnsCount:"lockedColumnsCount",resizable:"resizable",reorderable:"reorderable",columnMenu:"columnMenu",columnMenuTemplate:"columnMenuTemplate",totalColumnsCount:"totalColumnsCount",tabIndex:"tabIndex"},host:{properties:{"class.k-grid-header":"this.headerClass"}},viewQueries:[{propertyName:"dropTargets",predicate:I,descendants:!0},{propertyName:"filterMenus",predicate:Wa,descendants:!0},{propertyName:"columnMenus",predicate:Ss,descendants:!0}],usesOnChanges:!0,ngImport:i,template:'\n <ng-container>\n <tr *ngFor="let i of columnLevels; let levelIndex = index"\n kendoGridLogicalRow\n [logicalRowIndex]="levelIndex"\n [logicalSlaveRow]="lockedColumnsCount > 0"\n [logicalCellsCount]="columns.length"\n [logicalSlaveCellsCount]="unlockedColumnsCount">\n <th\n class="k-group-cell k-header"\n role="presentation"\n *ngFor="let g of groups">\n </th>\n <th class="k-hierarchy-cell k-header"\n role="presentation"\n *ngIf="detailTemplate?.templateRef"\n kendoGridLogicalCell\n [logicalRowIndex]="levelIndex"\n [logicalColIndex]="0"\n aria-selected="false"\n >\n </th>\n <ng-container *ngFor="let column of columnsForLevel(levelIndex); trackBy: trackByIndex; let columnIndex = index; let last = last;">\n <th *ngIf="!isColumnGroupComponent(column)"\n kendoGridLogicalCell\n [logicalRowIndex]="levelIndex"\n [logicalColIndex]="logicalColumnIndex(column)"\n [headerLabelText]="column.title || getColumnComponent(column).field"\n [colSpan]="column.colspan"\n [rowSpan]="column.rowspan(totalColumnLevels)"\n role="columnheader"\n aria-selected="false"\n [attr.aria-sort]="sortState(getColumnComponent(column))"\n (keydown)="onHeaderKeydown(getColumnComponent(column), $event)"\n kendoDropTarget\n kendoDraggable\n kendoDraggableColumn\n [enableDrag]="shouldActivate(column)"\n [context]="{\n field: getColumnComponent(column).field,\n type: \'column\',\n column: column,\n hint: column.title || getColumnComponent(column).field,\n lastColumn: last && columnIndex === 0\n }"\n class="k-header"\n [class.k-filterable]="(showFilterMenu && isFilterable(getColumnComponent(column))) || showColumnMenu(column)"\n [class.k-first]="isFirstOnRow(getColumnComponent(column), columnIndex)"\n [class.k-grid-header-sticky]="column.sticky"\n [ngClass]="column.headerClass"\n [ngStyle]="column.sticky ? addStickyStyles(column) : column.headerStyle"\n [attr.rowspan]="column.rowspan(totalColumnLevels)"\n [attr.colspan]="column.colspan">\n\n <ng-container *ngIf="!isSortable(getColumnComponent(column))">\n <kendo-grid-filter-menu\n *ngIf="showFilterMenu && isFilterable(getColumnComponent(column))"\n [column]="getColumnComponent(column)"\n [filter]="filter"\n [tabIndex]="tabIndex">\n </kendo-grid-filter-menu>\n <kendo-grid-column-menu *ngIf="showColumnMenu(column)"\n [standalone]="false"\n [settings]="columnMenuSettings"\n [column]="column"\n [columnMenuTemplate]="columnMenuTemplate"\n [sort]="sort"\n [filter]="filter"\n [sortable]="sortable"\n [tabIndex]="tabIndex">\n </kendo-grid-column-menu>\n <ng-template\n [templateContext]="{\n templateRef: column.headerTemplateRef,\n columnIndex: column.leafIndex,\n column: column,\n $implicit: column\n }">\n </ng-template>\n <ng-container *ngIf="!column.headerTemplateRef">{{column.displayTitle}}</ng-container>\n </ng-container>\n\n <ng-container *ngIf="isSortable(getColumnComponent(column))">\n <span class="k-cell-inner">\n <span #link class="k-link" (click)="onSortClick(getColumnComponent(column), $event, link)">\n <ng-template\n [templateContext]="{\n templateRef: column.headerTemplateRef,\n columnIndex: column.leafIndex,\n column: column,\n $implicit: column\n }">\n </ng-template>\n <ng-container *ngIf="!column.headerTemplateRef">\n <span class="k-column-title">{{column.displayTitle}}</span>\n </ng-container>\n <span role="note" [attr.aria-label]="sortableLabel" [ngClass]="sortIcon(getColumnComponent(column).field)"></span>\n <span *ngIf="showSortNumbering(getColumnComponent(column))" class="k-sort-order">{{sortOrder(getColumnComponent(column).field)}}</span>\n </span>\n <span role="status"\n class="k-sort-status"\n style="position: absolute; left: -10000px;"\n [innerHtml]="sortStatus(getColumnComponent(column))">\n </span>\n <kendo-grid-filter-menu\n *ngIf="showFilterMenu && isFilterable(getColumnComponent(column))"\n [column]="getColumnComponent(column)"\n [filter]="filter"\n [tabIndex]="tabIndex">\n </kendo-grid-filter-menu>\n <kendo-grid-column-menu *ngIf="showColumnMenu(column)"\n [standalone]="false"\n [settings]="columnMenuSettings"\n [column]="column"\n [columnMenuTemplate]="columnMenuTemplate"\n [sort]="sort"\n [filter]="filter"\n [sortable]="sortable"\n [tabIndex]="tabIndex">\n </kendo-grid-column-menu>\n </span>\n </ng-container>\n\n <ng-container *ngIf="isCheckboxColumn(column) && !column.headerTemplateRef && $any(column).showSelectAll">\n <input\n class="k-checkbox k-checkbox-md k-rounded-md"\n [attr.id]="selectAllCheckboxId()"\n [attr.aria-label]="selectAllCheckboxLabel"\n kendoGridSelectAllCheckbox\n kendoGridFocusable>\n </ng-container>\n <span kendoGridColumnHandle\n kendoDraggable\n class="k-column-resizer"\n *ngIf="resizable"\n [column]="column"\n [columns]="columns">\n </span>\n </th>\n <th *ngIf="isColumnGroupComponent(column)"\n kendoGridLogicalCell\n [logicalRowIndex]="levelIndex"\n [logicalColIndex]="logicalColumnIndex(column)"\n [rowSpan]="column.rowspan(totalColumnLevels)"\n [colSpan]="column.colspan"\n [headerLabelText]="column.title || getColumnComponent(column).field"\n kendoDropTarget\n kendoDraggable\n kendoDraggableColumn\n [enableDrag]="shouldActivate(column)"\n [context]="{\n type: \'columnGroup\',\n column: column,\n hint: column.title,\n lastColumn: last && columnIndex === 0\n }"\n class="k-header"\n [class.k-first]="isFirstOnRow(getColumnComponent(column), columnIndex)"\n [class.k-filterable]="showColumnMenu(column)"\n [class.k-grid-content-sticky]="column.sticky"\n [ngClass]="column.headerClass"\n [ngStyle]="column.headerStyle"\n [attr.rowspan]="column.rowspan(totalColumnLevels)"\n [attr.colspan]="column.colspan">\n <kendo-grid-column-menu *ngIf="showColumnMenu(column)"\n [standalone]="false"\n [settings]="columnMenuSettings"\n [column]="column"\n [columnMenuTemplate]="columnMenuTemplate">\n </kendo-grid-column-menu>\n <ng-template\n [templateContext]="{\n templateRef: column.headerTemplateRef,\n columnIndex: lockedColumnsCount + columnIndex,\n column: column,\n $implicit: column\n }">\n </ng-template>\n <ng-container *ngIf="!column.headerTemplateRef">{{column.displayTitle}}</ng-container>\n <span kendoGridColumnHandle\n kendoDraggable\n class="k-column-resizer"\n *ngIf="resizable"\n [column]="column"\n [columns]="columns">\n </span>\n </th>\n </ng-container>\n </tr>\n <tr *ngIf="showFilterRow"\n kendoGridFilterRow\n [columns]="leafColumns"\n [filter]="filter"\n [groups]="groups"\n [detailTemplate]="detailTemplate"\n [lockedColumnsCount]="lockedColumnsCount"\n kendoGridLogicalRow\n [logicalRowIndex]="totalColumnLevels + 1"\n [logicalSlaveRow]="lockedColumnsCount > 0"\n [logicalCellsCount]="columns.length"\n [logicalSlaveCellsCount]="unlockedColumnsCount"\n ></tr>\n </ng-container>\n ',isInline:!0,components:[{type:Wa,selector:"kendo-grid-filter-menu",inputs:["column","filter","tabIndex"]},{type:Ss,selector:"kendo-grid-column-menu",inputs:["standalone","column","settings","sort","filter","sortable","columnMenuTemplate","tabIndex"]},{type:Qs,selector:"[kendoGridFilterRow]",inputs:["columns","filter","groups","detailTemplate","logicalRowIndex","lockedColumnsCount"]}],directives:[{type:s.NgForOf,selector:"[ngFor][ngForOf]",inputs:["ngForOf","ngForTrackBy","ngForTemplate"]},{type:fa,selector:"[kendoGridLogicalRow]",inputs:["logicalRowIndex","logicalSlaveRow","logicalCellsCount","logicalSlaveCellsCount","dataRowIndex","dataItem"]},{type:s.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{type:Ui,selector:"[kendoGridLogicalCell]",inputs:["logicalColIndex","logicalRowIndex","logicalSlaveCell","colIndex","colSpan","rowSpan","groupItem","dataRowIndex","dataItem","detailExpandCell","headerLabelText"]},{type:I,selector:"[kendoDropTarget]",inputs:["context"],outputs:["enter","leave","drop"]},{type:X.DraggableDirective,selector:"[kendoDraggable]",inputs:["enableDrag"],outputs:["kendoPress","kendoDrag","kendoRelease"]},{type:w,selector:"[kendoDraggableColumn]",inputs:["context","enableDrag"],outputs:["drag"]},{type:s.NgClass,selector:"[ngClass]",inputs:["class","ngClass"]},{type:s.NgStyle,selector:"[ngStyle]",inputs:["ngStyle"]},{type:qi,selector:"[templateContext]",inputs:["templateContext"]},{type:tl,selector:"[kendoGridSelectAllCheckbox]",inputs:["state"],outputs:["selectAllChange"]},{type:Dt,selector:"[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ",inputs:["kendoGridFocusable"]},{type:sl,selector:"[kendoGridColumnHandle]",inputs:["columns","column"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:gl,decorators:[{type:P.Component,args:[{selector:"[kendoGridHeader]",template:'\n <ng-container>\n <tr *ngFor="let i of columnLevels; let levelIndex = index"\n kendoGridLogicalRow\n [logicalRowIndex]="levelIndex"\n [logicalSlaveRow]="lockedColumnsCount > 0"\n [logicalCellsCount]="columns.length"\n [logicalSlaveCellsCount]="unlockedColumnsCount">\n <th\n class="k-group-cell k-header"\n role="presentation"\n *ngFor="let g of groups">\n </th>\n <th class="k-hierarchy-cell k-header"\n role="presentation"\n *ngIf="detailTemplate?.templateRef"\n kendoGridLogicalCell\n [logicalRowIndex]="levelIndex"\n [logicalColIndex]="0"\n aria-selected="false"\n >\n </th>\n <ng-container *ngFor="let column of columnsForLevel(levelIndex); trackBy: trackByIndex; let columnIndex = index; let last = last;">\n <th *ngIf="!isColumnGroupComponent(column)"\n kendoGridLogicalCell\n [logicalRowIndex]="levelIndex"\n [logicalColIndex]="logicalColumnIndex(column)"\n [headerLabelText]="column.title || getColumnComponent(column).field"\n [colSpan]="column.colspan"\n [rowSpan]="column.rowspan(totalColumnLevels)"\n role="columnheader"\n aria-selected="false"\n [attr.aria-sort]="sortState(getColumnComponent(column))"\n (keydown)="onHeaderKeydown(getColumnComponent(column), $event)"\n kendoDropTarget\n kendoDraggable\n kendoDraggableColumn\n [enableDrag]="shouldActivate(column)"\n [context]="{\n field: getColumnComponent(column).field,\n type: \'column\',\n column: column,\n hint: column.title || getColumnComponent(column).field,\n lastColumn: last && columnIndex === 0\n }"\n class="k-header"\n [class.k-filterable]="(showFilterMenu && isFilterable(getColumnComponent(column))) || showColumnMenu(column)"\n [class.k-first]="isFirstOnRow(getColumnComponent(column), columnIndex)"\n [class.k-grid-header-sticky]="column.sticky"\n [ngClass]="column.headerClass"\n [ngStyle]="column.sticky ? addStickyStyles(column) : column.headerStyle"\n [attr.rowspan]="column.rowspan(totalColumnLevels)"\n [attr.colspan]="column.colspan">\n\n <ng-container *ngIf="!isSortable(getColumnComponent(column))">\n <kendo-grid-filter-menu\n *ngIf="showFilterMenu && isFilterable(getColumnComponent(column))"\n [column]="getColumnComponent(column)"\n [filter]="filter"\n [tabIndex]="tabIndex">\n </kendo-grid-filter-menu>\n <kendo-grid-column-menu *ngIf="showColumnMenu(column)"\n [standalone]="false"\n [settings]="columnMenuSettings"\n [column]="column"\n [columnMenuTemplate]="columnMenuTemplate"\n [sort]="sort"\n [filter]="filter"\n [sortable]="sortable"\n [tabIndex]="tabIndex">\n </kendo-grid-column-menu>\n <ng-template\n [templateContext]="{\n templateRef: column.headerTemplateRef,\n columnIndex: column.leafIndex,\n column: column,\n $implicit: column\n }">\n </ng-template>\n <ng-container *ngIf="!column.headerTemplateRef">{{column.displayTitle}}</ng-container>\n </ng-container>\n\n <ng-container *ngIf="isSortable(getColumnComponent(column))">\n <span class="k-cell-inner">\n <span #link class="k-link" (click)="onSortClick(getColumnComponent(column), $event, link)">\n <ng-template\n [templateContext]="{\n templateRef: column.headerTemplateRef,\n columnIndex: column.leafIndex,\n column: column,\n $implicit: column\n }">\n </ng-template>\n <ng-container *ngIf="!column.headerTemplateRef">\n <span class="k-column-title">{{column.displayTitle}}</span>\n </ng-container>\n <span role="note" [attr.aria-label]="sortableLabel" [ngClass]="sortIcon(getColumnComponent(column).field)"></span>\n <span *ngIf="showSortNumbering(getColumnComponent(column))" class="k-sort-order">{{sortOrder(getColumnComponent(column).field)}}</span>\n </span>\n <span role="status"\n class="k-sort-status"\n style="position: absolute; left: -10000px;"\n [innerHtml]="sortStatus(getColumnComponent(column))">\n </span>\n <kendo-grid-filter-menu\n *ngIf="showFilterMenu && isFilterable(getColumnComponent(column))"\n [column]="getColumnComponent(column)"\n [filter]="filter"\n [tabIndex]="tabIndex">\n </kendo-grid-filter-menu>\n <kendo-grid-column-menu *ngIf="showColumnMenu(column)"\n [standalone]="false"\n [settings]="columnMenuSettings"\n [column]="column"\n [columnMenuTemplate]="columnMenuTemplate"\n [sort]="sort"\n [filter]="filter"\n [sortable]="sortable"\n [tabIndex]="tabIndex">\n </kendo-grid-column-menu>\n </span>\n </ng-container>\n\n <ng-container *ngIf="isCheckboxColumn(column) && !column.headerTemplateRef && $any(column).showSelectAll">\n <input\n class="k-checkbox k-checkbox-md k-rounded-md"\n [attr.id]="selectAllCheckboxId()"\n [attr.aria-label]="selectAllCheckboxLabel"\n kendoGridSelectAllCheckbox\n kendoGridFocusable>\n </ng-container>\n <span kendoGridColumnHandle\n kendoDraggable\n class="k-column-resizer"\n *ngIf="resizable"\n [column]="column"\n [columns]="columns">\n </span>\n </th>\n <th *ngIf="isColumnGroupComponent(column)"\n kendoGridLogicalCell\n [logicalRowIndex]="levelIndex"\n [logicalColIndex]="logicalColumnIndex(column)"\n [rowSpan]="column.rowspan(totalColumnLevels)"\n [colSpan]="column.colspan"\n [headerLabelText]="column.title || getColumnComponent(column).field"\n kendoDropTarget\n kendoDraggable\n kendoDraggableColumn\n [enableDrag]="shouldActivate(column)"\n [context]="{\n type: \'columnGroup\',\n column: column,\n hint: column.title,\n lastColumn: last && columnIndex === 0\n }"\n class="k-header"\n [class.k-first]="isFirstOnRow(getColumnComponent(column), columnIndex)"\n [class.k-filterable]="showColumnMenu(column)"\n [class.k-grid-content-sticky]="column.sticky"\n [ngClass]="column.headerClass"\n [ngStyle]="column.headerStyle"\n [attr.rowspan]="column.rowspan(totalColumnLevels)"\n [attr.colspan]="column.colspan">\n <kendo-grid-column-menu *ngIf="showColumnMenu(column)"\n [standalone]="false"\n [settings]="columnMenuSettings"\n [column]="column"\n [columnMenuTemplate]="columnMenuTemplate">\n </kendo-grid-column-menu>\n <ng-template\n [templateContext]="{\n templateRef: column.headerTemplateRef,\n columnIndex: lockedColumnsCount + columnIndex,\n column: column,\n $implicit: column\n }">\n </ng-template>\n <ng-container *ngIf="!column.headerTemplateRef">{{column.displayTitle}}</ng-container>\n <span kendoGridColumnHandle\n kendoDraggable\n class="k-column-resizer"\n *ngIf="resizable"\n [column]="column"\n [columns]="columns">\n </span>\n </th>\n </ng-container>\n </tr>\n <tr *ngIf="showFilterRow"\n kendoGridFilterRow\n [columns]="leafColumns"\n [filter]="filter"\n [groups]="groups"\n [detailTemplate]="detailTemplate"\n [lockedColumnsCount]="lockedColumnsCount"\n kendoGridLogicalRow\n [logicalRowIndex]="totalColumnLevels + 1"\n [logicalSlaveRow]="lockedColumnsCount > 0"\n [logicalCellsCount]="columns.length"\n [logicalSlaveCellsCount]="unlockedColumnsCount"\n ></tr>\n </ng-container>\n '}]}],ctorParameters:function(){return[{type:er},{type:dr},{type:mr},{type:fr},{type:f},{type:Sr},{type:a.LocalizationService},{type:C},{type:i.ChangeDetectorRef}]},propDecorators:{totalColumnLevels:[{type:P.Input}],columns:[{type:P.Input}],groups:[{type:P.Input}],detailTemplate:[{type:P.Input}],scrollable:[{type:P.Input}],filterable:[{type:P.Input}],sort:[{type:P.Input}],filter:[{type:P.Input}],sortable:[{type:P.Input}],groupable:[{type:P.Input}],lockedColumnsCount:[{type:P.Input}],resizable:[{type:P.Input}],reorderable:[{type:P.Input}],columnMenu:[{type:P.Input}],columnMenuTemplate:[{type:P.Input}],totalColumnsCount:[{type:P.Input}],tabIndex:[{type:P.Input}],headerClass:[{type:P.HostBinding,args:["class.k-grid-header"]}],dropTargets:[{type:P.ViewChildren,args:[I]}],filterMenus:[{type:P.ViewChildren,args:[Wa]}],columnMenus:[{type:P.ViewChildren,args:[Ss]}]}});hl.prototype.height=function(e){return this.heights[e]},hl.prototype.expandDetail=function(e){this.height(e)===this.rowHeight&&this.updateRowHeight(e,this.detailRowHeight)},hl.prototype.collapseDetail=function(e){this.height(e)>this.rowHeight&&this.updateRowHeight(e,-1*this.detailRowHeight)},hl.prototype.isExpanded=function(e){return this.height(e)>this.rowHeight},hl.prototype.index=function(o){var e;if(!(o<0))return e=this.offsets.reduce(function(e,t,n){return void 0!==e?e:t===o?n:o<t?n-1:void 0},void 0),void 0===e?this.total-1:e},hl.prototype.offset=function(e){return this.offsets[e]},hl.prototype.totalHeight=function(){return this.heights.reduce(function(e,t){return e+t},0)},hl.prototype.updateRowHeight=function(e,t){var n,o;0<this.total&&(this.heights[e]+=t,this.offsets=(n=this.offsets,e=e,o=t,g(g([],k(n.slice(0,e+1))),k(n.slice(e+1).map(function(e){return e+o})))))};var ml=hl;function hl(e,t,n){this.total=e=void 0===e?0:e,this.rowHeight=t,this.detailRowHeight=n,this.offsets=[],this.heights=[];for(var o=0,r=0;r<e;r++)this.offsets.push(o),o+=t,this.heights.push(t)}var fl=function(e){this.offset=e},yl=function(e,t){this.skip=e,this.take=t},vl=function(){},bl=(kl.prototype.create=function(e,t,n,o){var r=this,i=(this.rowHeightService=e,this.firstLoaded=t,this.lastLoaded=t+n,this.take=n,this.total=o,this.lastScrollTop=0,new b.BehaviorSubject(new fl(this.rowHeightService.offset(t))));return this.subscription=b.Observable.create(function(t){r.unsubscribe(),r.scrollSubscription=r.scrollObservable.subscribe(function(e){return r.onScroll(e,t)})}).subscribe(function(e){return i.next(e)}),i},kl.prototype.destroy=function(){this.unsubscribe(),this.subscription&&this.subscription.unsubscribe()},kl.prototype.onScroll=function(e,t){var n,o,r,i=e.scrollTop,a=e.offsetHeight,s=e.scrollHeight,e=e.clientHeight;this.lastScrollTop!==i&&(n=this.lastScrollTop>=i,this.lastScrollTop=i,o=this.rowHeightService.index(i),r=this.rowHeightService.offset(o),a=this.rowHeightService.index(i+a),n||(a>=this.lastLoaded&&this.lastLoaded<this.total?(0<(a=o+this.take-this.total)&&(r=this.rowHeightService.offset(o-=a)),this.firstLoaded=o,t.next(new fl(r)),a=this.firstLoaded+this.take,this.lastLoaded=Math.min(a,this.total),a=a>this.total?this.total-this.firstLoaded:this.take,t.next(new yl(this.firstLoaded,this.take))):s-e-i<2&&t.next(new vl)),n&&o<this.firstLoaded&&(r=Math.floor(.3*this.take),this.firstLoaded=Math.max(o-r,0),t.next(new fl(this.rowHeightService.offset(this.firstLoaded))),this.lastLoaded=Math.min(this.firstLoaded+this.take,this.total),t.next(new yl(this.firstLoaded,this.take))))},kl.prototype.unsubscribe=function(){this.scrollSubscription&&(this.scrollSubscription.unsubscribe(),this.scrollSubscription=void 0)},kl);function kl(e){this.scrollObservable=e,this.firstLoaded=0}var Cl,Il="k-hierarchy-cell k-detail-cell k-group-cell",xl=(c(wl,Cl=y),Object.defineProperty(wl.prototype,"templateRef",{get:function(){return this.template?this.template.templateRef:void 0},enumerable:!1,configurable:!0}),wl);function wl(e,t){t=Cl.call(this,e,t)||this;return t.parent=e,t}xl.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:xl,deps:[{token:y,host:!0,optional:!0,skipSelf:!0},{token:f,optional:!0}],target:i.ɵɵFactoryTarget.Component}),xl.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:xl,selector:"kendo-grid-command-column",providers:[{provide:y,useExisting:P.forwardRef(function(){return xl})}],queries:[{propertyName:"template",first:!0,predicate:Ut,descendants:!0}],usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:xl,decorators:[{type:P.Component,args:[{providers:[{provide:y,useExisting:P.forwardRef(function(){return xl})}],selector:"kendo-grid-command-column",template:""}]}],ctorParameters:function(){return[{type:y,decorators:[{type:P.SkipSelf},{type:P.Host},{type:P.Optional}]},{type:f,decorators:[{type:P.Optional}]}]},propDecorators:{template:[{type:P.ContentChild,args:[Ut,{static:!1}]}]}});Dl.prototype.ngAfterContentChecked=function(){this.setCheckedState()},Dl.prototype.ngOnDestroy=function(){this.destroyClick&&this.destroyClick(),this.destroyKeyDown&&this.destroyKeyDown()},Dl.prototype.onClick=function(){var t=this;this.selectionService.options.enabled&&this.ngZone.run(function(){var e=t.selectionService.toggleByIndex(t.itemIndex);e.ctrlKey=!0,e.shiftKey=!1,t.selectionService.changes.emit(e)})},Dl.prototype.onKeyDown=function(e){e.keyCode===p.Keys.Enter&&this.onClick()},Dl.prototype.setCheckedState=function(){this.renderer.setProperty(this.el.nativeElement,"checked",this.selectionService.isSelected(this.itemIndex))};var Sl=Dl;function Dl(e,t,n,o){var r=this;this.selectionService=e,this.el=t,this.renderer=n,this.ngZone=o,this.type="checkbox",this.ngZone.runOutsideAngular(function(){r.destroyClick=r.renderer.listen(r.el.nativeElement,"click",r.onClick.bind(r)),r.destroyKeyDown=r.renderer.listen(r.el.nativeElement,"keydown",r.onKeyDown.bind(r))})}Sl.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Sl,deps:[{token:Nt},{token:i.ElementRef},{token:i.Renderer2},{token:i.NgZone}],target:i.ɵɵFactoryTarget.Directive}),Sl.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:Sl,selector:"[kendoGridSelectionCheckbox]",inputs:{itemIndex:["kendoGridSelectionCheckbox","itemIndex"]},host:{properties:{"attr.type":"this.type"}},ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Sl,decorators:[{type:P.Directive,args:[{selector:"[kendoGridSelectionCheckbox]"}]}],ctorParameters:function(){return[{type:Nt},{type:i.ElementRef},{type:i.Renderer2},{type:i.NgZone}]},propDecorators:{itemIndex:[{type:P.Input,args:["kendoGridSelectionCheckbox"]}],type:[{type:P.HostBinding,args:["attr.type"]}]}});var Tl=/\{\d+:?/,Fl=(Ol.prototype.transform=function(e,t,n){return ye(t)?e:(t=K.getter(t)(e),ye(n)?t:this.formatValue(n,t))},Ol.prototype.formatValue=function(e,t){var n=this.intlService;return ce(e)&&e.match(Tl)?n.format(e,t):n.toString(t,e)},Ol);function Ol(e){this.intlService=e}Fl.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Fl,deps:[{token:oe.IntlService}],target:i.ɵɵFactoryTarget.Pipe}),Fl.ɵpipe=i.ɵɵngDeclarePipe({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Fl,name:"valueOf",pure:!1}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Fl,decorators:[{type:P.Pipe,args:[{name:"valueOf",pure:!1}]}],ctorParameters:function(){return[{type:oe.IntlService}]}});Object.defineProperty(Rl.prototype,"commandCellClass",{get:function(){return this.isCommand(this.column)},enumerable:!1,configurable:!0}),Object.defineProperty(Rl.prototype,"rowIndex",{get:function(){return this._rowIndex},set:function(e){this._rowIndex=e,this.updateCellContext()},enumerable:!1,configurable:!0}),Object.defineProperty(Rl.prototype,"isEdited",{get:function(){if(!this.editService.isEditing()&&!this.isNew||!this.isColumnEditable)return!1;var e=this.editService.columnContext(this.rowIndex,this.column);return this.isFieldEditable(e,this.column)},enumerable:!1,configurable:!0}),Object.defineProperty(Rl.prototype,"showLoading",{get:function(){return this.isVirtual&&this.isLoading},enumerable:!1,configurable:!0}),Object.defineProperty(Rl.prototype,"formGroup",{get:function(){return this.editService.context(this.rowIndex).group},enumerable:!1,configurable:!0}),Object.defineProperty(Rl.prototype,"templateContext",{get:function(){return this._templateContext},enumerable:!1,configurable:!0}),Object.defineProperty(Rl.prototype,"editTemplateContext",{get:function(){return this._editTemplateContext.$implicit=this.formGroup,this._editTemplateContext.isNew=this.isNew,this._editTemplateContext.column=this.column,this._editTemplateContext.dataItem=this.dataItem,this._editTemplateContext.formGroup=this.formGroup,this._editTemplateContext.rowIndex=this.rowIndex,this._editTemplateContext},enumerable:!1,configurable:!0}),Object.defineProperty(Rl.prototype,"format",{get:function(){if(un(this.column)&&!ye(this.column.format))return ue(this.column.format)},enumerable:!1,configurable:!0}),Object.defineProperty(Rl.prototype,"isBoundColumn",{get:function(){return this.column.field&&!this.column.templateRef},enumerable:!1,configurable:!0}),Object.defineProperty(Rl.prototype,"isCheckboxColumn",{get:function(){return an(this.column)&&!this.column.templateRef},enumerable:!1,configurable:!0}),Object.defineProperty(Rl.prototype,"selectionCheckboxId",{get:function(){return this.idService.selectionCheckboxId(this.rowIndex)},enumerable:!1,configurable:!0}),Object.defineProperty(Rl.prototype,"selectionCheckboxLabel",{get:function(){return this.localizationService.get("selectionCheckboxLabel")},enumerable:!1,configurable:!0}),Object.defineProperty(Rl.prototype,"isSpanColumn",{get:function(){return sn(this.column)&&!this.column.templateRef},enumerable:!1,configurable:!0}),Object.defineProperty(Rl.prototype,"childColumns",{get:function(){return Cn([this.column])},enumerable:!1,configurable:!0}),Object.defineProperty(Rl.prototype,"isColumnEditable",{get:function(){return!(!this.column||this.isCommand(this.column))&&!1!==this.column.editable},enumerable:!1,configurable:!0}),Rl.prototype.ngDoCheck=function(){this.updateCellContext()},Rl.prototype.ngOnChanges=function(e){this.updateTemplateContext()},Rl.prototype.ngAfterContentChecked=function(){this.updateTemplateContext()},Rl.prototype.isCommand=function(e){return e instanceof xl},Rl.prototype.isFieldEditable=function(e,t){return!!V(e)&&(!!V(t.editTemplate)||V(e.group)&&V(e.group.get(t.field)))},Rl.prototype.updateCellContext=function(){this.cellContext&&(this.cellContext.rowIndex=this._rowIndex)},Rl.prototype.updateTemplateContext=function(){var e;this.column.templateRef&&((e=this._templateContext).isNew=this.isNew,e.column=this.column,e.dataItem=this.dataItem,e.rowIndex=this.rowIndex,e.columnIndex=this.columnIndex,e.$implicit=this.dataItem)};var El=Rl;function Rl(e,t,n,o){this.editService=e,this.idService=t,this.localizationService=n,this.cellContext=o,this.isNew=!1,this.isLoading=!1,this.isVirtual=!1,this._templateContext={},this._editTemplateContext={}}El.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:El,deps:[{token:u},{token:f},{token:a.LocalizationService},{token:wt,optional:!0}],target:i.ɵɵFactoryTarget.Component}),El.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:El,selector:"[kendoGridCell]",inputs:{column:"column",columnIndex:"columnIndex",isNew:"isNew",isLoading:"isLoading",isVirtual:"isVirtual",loadingTemplate:"loadingTemplate",rowIndex:"rowIndex",dataItem:"dataItem"},host:{properties:{"class.k-command-cell":"this.commandCellClass"}},usesOnChanges:!0,ngImport:i,template:'\n <ng-container [ngSwitch]="isEdited">\n <ng-container *ngSwitchCase="false">\n <ng-container *ngIf="!showLoading; else loading">\n <ng-template *ngIf="column.templateRef"\n [ngTemplateOutlet]="column.templateRef"\n [ngTemplateOutletContext]="templateContext">\n </ng-template>\n <ng-container *ngIf="isSpanColumn">\n <ng-container *ngFor="let childColumn of childColumns">\n {{ dataItem | valueOf: childColumn.field: childColumn.format}}\n </ng-container>\n </ng-container>\n <ng-container *ngIf="isBoundColumn">{{ dataItem | valueOf: column.field: column.format}}</ng-container>\n <ng-container *ngIf="isCheckboxColumn && !isNew">\n <input\n class="k-checkbox k-checkbox-md k-rounded-md"\n [kendoGridSelectionCheckbox]="rowIndex"\n [attr.id]="selectionCheckboxId"\n [attr.aria-label]="selectionCheckboxLabel" />\n </ng-container>\n </ng-container>\n <ng-template #loading>\n <ng-template\n *ngIf="loadingTemplate"\n [ngTemplateOutlet]="loadingTemplate"\n [ngTemplateOutletContext]="{$implicit: column}">\n </ng-template>\n <div *ngIf="!loadingTemplate" class="k-skeleton-text k-skeleton"></div>\n </ng-template>\n </ng-container>\n <ng-container *ngSwitchCase="true">\n <ng-template\n *ngIf="column.editTemplateRef"\n [ngTemplateOutlet]="column.editTemplateRef"\n [ngTemplateOutletContext]="editTemplateContext">\n </ng-template>\n <ng-container [ngSwitch]="column.editor" *ngIf="!column.editTemplateRef">\n <kendo-numerictextbox\n *ngSwitchCase="\'numeric\'"\n [format]="format"\n [formControl]="$any(formGroup.get(column.field))"\n kendoGridFocusable\n ></kendo-numerictextbox>\n\n <kendo-datepicker\n *ngSwitchCase="\'date\'"\n [format]="format"\n [formControl]="$any(formGroup.get(column.field))"\n kendoGridFocusable\n ></kendo-datepicker>\n\n <input\n *ngSwitchCase="\'boolean\'"\n type="checkbox"\n class="k-checkbox k-checkbox-md k-rounded-md"\n [formControl]="$any(formGroup.get(column.field))"\n kendoGridFocusable\n />\n\n <input\n *ngSwitchDefault\n type="text"\n class="k-textbox k-input k-rounded-md"\n [formControl]="$any(formGroup.get(column.field))"\n kendoGridFocusable\n />\n </ng-container>\n </ng-container>\n </ng-container>\n ',isInline:!0,components:[{type:ee.NumericTextBoxComponent,selector:"kendo-numerictextbox",inputs:["focusableId","disabled","readonly","title","autoCorrect","format","max","min","decimals","placeholder","step","spinners","rangeValidation","tabindex","tabIndex","changeValueOnScroll","selectOnFocus","value","maxlength","size","rounded","fillMode"],outputs:["valueChange","focus","blur"],exportAs:["kendoNumericTextBox"]},{type:ne.DatePickerComponent,selector:"kendo-datepicker",inputs:["cellTemplate","monthCellTemplate","yearCellTemplate","decadeCellTemplate","centuryCellTemplate","weekNumberTemplate","headerTitleTemplate","navigationItemTemplate","focusableId","activeView","bottomView","topView","calendarType","animateCalendarNavigation","disabled","readonly","readOnlyInput","popupSettings","navigation","min","max","incompleteDateValidation","focusedDate","value","format","twoDigitYearMax","formatPlaceholder","placeholder","tabindex","tabIndex","disabledDates","title","rangeValidation","disabledDatesValidation","weekNumber","size","rounded","fillMode"],outputs:["valueChange","focus","blur","open","close"],exportAs:["kendo-datepicker"]}],directives:[{type:s.NgSwitch,selector:"[ngSwitch]",inputs:["ngSwitch"]},{type:s.NgSwitchCase,selector:"[ngSwitchCase]",inputs:["ngSwitchCase"]},{type:s.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{type:s.NgTemplateOutlet,selector:"[ngTemplateOutlet]",inputs:["ngTemplateOutletContext","ngTemplateOutlet"]},{type:s.NgForOf,selector:"[ngFor][ngForOf]",inputs:["ngForOf","ngForTrackBy","ngForTemplate"]},{type:Dt,selector:"[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ",inputs:["kendoGridFocusable"]},{type:Sl,selector:"[kendoGridSelectionCheckbox]",inputs:["kendoGridSelectionCheckbox"]},{type:l.NgControlStatus,selector:"[formControlName],[ngModel],[formControl]"},{type:l.FormControlDirective,selector:"[formControl]",inputs:["disabled","formControl","ngModel"],outputs:["ngModelChange"],exportAs:["ngForm"]},{type:l.CheckboxControlValueAccessor,selector:"input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]"},{type:s.NgSwitchDefault,selector:"[ngSwitchDefault]"},{type:l.DefaultValueAccessor,selector:"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]"}],pipes:{valueOf:Fl}}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:El,decorators:[{type:P.Component,args:[{selector:"[kendoGridCell]",template:'\n <ng-container [ngSwitch]="isEdited">\n <ng-container *ngSwitchCase="false">\n <ng-container *ngIf="!showLoading; else loading">\n <ng-template *ngIf="column.templateRef"\n [ngTemplateOutlet]="column.templateRef"\n [ngTemplateOutletContext]="templateContext">\n </ng-template>\n <ng-container *ngIf="isSpanColumn">\n <ng-container *ngFor="let childColumn of childColumns">\n {{ dataItem | valueOf: childColumn.field: childColumn.format}}\n </ng-container>\n </ng-container>\n <ng-container *ngIf="isBoundColumn">{{ dataItem | valueOf: column.field: column.format}}</ng-container>\n <ng-container *ngIf="isCheckboxColumn && !isNew">\n <input\n class="k-checkbox k-checkbox-md k-rounded-md"\n [kendoGridSelectionCheckbox]="rowIndex"\n [attr.id]="selectionCheckboxId"\n [attr.aria-label]="selectionCheckboxLabel" />\n </ng-container>\n </ng-container>\n <ng-template #loading>\n <ng-template\n *ngIf="loadingTemplate"\n [ngTemplateOutlet]="loadingTemplate"\n [ngTemplateOutletContext]="{$implicit: column}">\n </ng-template>\n <div *ngIf="!loadingTemplate" class="k-skeleton-text k-skeleton"></div>\n </ng-template>\n </ng-container>\n <ng-container *ngSwitchCase="true">\n <ng-template\n *ngIf="column.editTemplateRef"\n [ngTemplateOutlet]="column.editTemplateRef"\n [ngTemplateOutletContext]="editTemplateContext">\n </ng-template>\n <ng-container [ngSwitch]="column.editor" *ngIf="!column.editTemplateRef">\n <kendo-numerictextbox\n *ngSwitchCase="\'numeric\'"\n [format]="format"\n [formControl]="$any(formGroup.get(column.field))"\n kendoGridFocusable\n ></kendo-numerictextbox>\n\n <kendo-datepicker\n *ngSwitchCase="\'date\'"\n [format]="format"\n [formControl]="$any(formGroup.get(column.field))"\n kendoGridFocusable\n ></kendo-datepicker>\n\n <input\n *ngSwitchCase="\'boolean\'"\n type="checkbox"\n class="k-checkbox k-checkbox-md k-rounded-md"\n [formControl]="$any(formGroup.get(column.field))"\n kendoGridFocusable\n />\n\n <input\n *ngSwitchDefault\n type="text"\n class="k-textbox k-input k-rounded-md"\n [formControl]="$any(formGroup.get(column.field))"\n kendoGridFocusable\n />\n </ng-container>\n </ng-container>\n </ng-container>\n '}]}],ctorParameters:function(){return[{type:u},{type:f},{type:a.LocalizationService},{type:void 0,decorators:[{type:P.Optional},{type:P.Inject,args:[wt]}]}]},propDecorators:{commandCellClass:[{type:P.HostBinding,args:["class.k-command-cell"]}],column:[{type:P.Input}],columnIndex:[{type:P.Input}],isNew:[{type:P.Input}],isLoading:[{type:P.Input}],isVirtual:[{type:P.Input}],loadingTemplate:[{type:P.Input}],rowIndex:[{type:P.Input}],dataItem:[{type:P.Input}]}});Object.defineProperty(Ll.prototype,"groupItemClass",{get:function(){return!0},enumerable:!1,configurable:!0}),Ll.prototype.ngDoCheck=function(){var e={group:this.item.data,groupIndex:this.item.index,parentGroup:Ye(this.item.parentGroup)};this.isExpanded=this.groupsService.isExpanded(e)},Ll.prototype.prefixGroupCell=function(e){return new Array(e.level)},Ll.prototype.toggleGroup=function(e){return this.groupsService.toggleRow(e),!1},Ll.prototype.groupSpan=function(e){var t=(this.groups||[]).length,n=this.hasDetails?1:0;if(this.hasGroupHeaderColumn)return t+1+n-e.level;var o=Sn(this.columns);return this.skipGroupDecoration?o:t+o+n-e.level},Ll.prototype.logicalColSpan=function(){return this.skipGroupDecoration?1:this.totalColumnsCount},Ll.prototype.ariaRole=function(){return this.skipGroupDecoration?"presentation":"gridcell"},Ll.prototype.formatForGroup=function(e){return this.groupInfoService.formatForGroup(e)},Ll.prototype.groupTitle=function(e){return this.groupInfoService.groupTitle(e)},Ll.prototype.groupHeaderTemplate=function(e){return this.groupInfoService.groupHeaderTemplate(e)},Object.defineProperty(Ll.prototype,"groupButtonTitle",{get:function(){var e=this.isExpanded?"groupCollapse":"groupExpand";return this.localization.get(e)},enumerable:!1,configurable:!0});ne=Ll;function Ll(e,t,n){this.groupsService=e,this.groupInfoService=t,this.localization=n,this.skipGroupDecoration=!1,this.hasDetails=!1,this.totalColumnsCount=0,this.groups=[],this.isExpanded=!1}ne.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ne,deps:[{token:Je},{token:vo},{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),ne.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:ne,selector:"[kendoGridGroupHeader]",inputs:{rowIndex:"rowIndex",logicalRowIndex:"logicalRowIndex",item:"item",skipGroupDecoration:"skipGroupDecoration",hasDetails:"hasDetails",totalColumnsCount:"totalColumnsCount",hasGroupHeaderColumn:"hasGroupHeaderColumn",groupHeaderColumns:"groupHeaderColumns",columns:"columns",groups:"groups"},host:{properties:{"class.k-grouping-row":"this.groupItemClass"}},ngImport:i,template:'\n <ng-container *ngIf="!skipGroupDecoration">\n <td class="k-group-cell"\n role="presentation"\n *ngFor="let g of prefixGroupCell(item)"></td>\n </ng-container>\n <td [attr.colspan]="groupSpan(item)" *ngIf="!(skipGroupDecoration && hasGroupHeaderColumn)"\n [attr.role]="ariaRole()"\n aria-selected="false"\n [attr.aria-expanded]="isExpanded"\n kendoGridLogicalCell\n [logicalRowIndex]="logicalRowIndex"\n [logicalColIndex]="0"\n [logicalSlaveCell]="skipGroupDecoration"\n [groupItem]="item"\n [colSpan]="logicalColSpan()">\n <p class="k-reset">\n <ng-container *ngIf="!skipGroupDecoration">\n <a href="#" tabindex="-1" (click)="toggleGroup(item)"\n class="k-icon"\n [ngClass]="{ \'k-i-collapse\': isExpanded, \'k-i-expand\': !isExpanded }" role="presentation"\n [attr.title]="groupButtonTitle"\n [attr.aria-label]="groupButtonTitle">\n </a>\n <ng-container *ngIf="!groupHeaderTemplate(item)">\n {{groupTitle(item)}}: {{item.data | valueOf:"value": formatForGroup(item)}}\n </ng-container>\n <ng-template\n [templateContext]="{\n templateRef: groupHeaderTemplate(item),\n group: item.data,\n aggregates: item.data?.aggregates,\n value: item.data?.value,\n field: item.data?.field,\n index: item.index,\n expanded: isExpanded,\n $implicit: item.data\n }">\n </ng-template>\n </ng-container>\n </p>\n </td>\n <ng-container *ngIf="hasGroupHeaderColumn">\n <td *ngFor="let column of groupHeaderColumns; let index = index"\n role="gridcell"\n aria-selected="false"\n kendoGridLogicalCell\n [logicalRowIndex]="logicalRowIndex"\n [logicalColIndex]="index + 1"\n [logicalSlaveCell]="false"\n [groupItem]="item"\n [colSpan]="1"\n >\n <ng-template *ngIf="column.groupHeaderColumnTemplateRef" [ngTemplateOutlet]="column.groupHeaderColumnTemplateRef"\n [ngTemplateOutletContext]="{\n group: item.data,\n aggregates: item.data?.aggregates,\n value: item.data?.value,\n field: item.data?.field,\n index: item.index,\n $implicit: item.data\n }">\n </ng-template>\n </td>\n </ng-container>\n ',isInline:!0,directives:[{type:s.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{type:s.NgForOf,selector:"[ngFor][ngForOf]",inputs:["ngForOf","ngForTrackBy","ngForTemplate"]},{type:Ui,selector:"[kendoGridLogicalCell]",inputs:["logicalColIndex","logicalRowIndex","logicalSlaveCell","colIndex","colSpan","rowSpan","groupItem","dataRowIndex","dataItem","detailExpandCell","headerLabelText"]},{type:s.NgClass,selector:"[ngClass]",inputs:["class","ngClass"]},{type:qi,selector:"[templateContext]",inputs:["templateContext"]},{type:s.NgTemplateOutlet,selector:"[ngTemplateOutlet]",inputs:["ngTemplateOutletContext","ngTemplateOutlet"]}],pipes:{valueOf:Fl}}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ne,decorators:[{type:P.Component,args:[{selector:"[kendoGridGroupHeader]",template:'\n <ng-container *ngIf="!skipGroupDecoration">\n <td class="k-group-cell"\n role="presentation"\n *ngFor="let g of prefixGroupCell(item)"></td>\n </ng-container>\n <td [attr.colspan]="groupSpan(item)" *ngIf="!(skipGroupDecoration && hasGroupHeaderColumn)"\n [attr.role]="ariaRole()"\n aria-selected="false"\n [attr.aria-expanded]="isExpanded"\n kendoGridLogicalCell\n [logicalRowIndex]="logicalRowIndex"\n [logicalColIndex]="0"\n [logicalSlaveCell]="skipGroupDecoration"\n [groupItem]="item"\n [colSpan]="logicalColSpan()">\n <p class="k-reset">\n <ng-container *ngIf="!skipGroupDecoration">\n <a href="#" tabindex="-1" (click)="toggleGroup(item)"\n class="k-icon"\n [ngClass]="{ \'k-i-collapse\': isExpanded, \'k-i-expand\': !isExpanded }" role="presentation"\n [attr.title]="groupButtonTitle"\n [attr.aria-label]="groupButtonTitle">\n </a>\n <ng-container *ngIf="!groupHeaderTemplate(item)">\n {{groupTitle(item)}}: {{item.data | valueOf:"value": formatForGroup(item)}}\n </ng-container>\n <ng-template\n [templateContext]="{\n templateRef: groupHeaderTemplate(item),\n group: item.data,\n aggregates: item.data?.aggregates,\n value: item.data?.value,\n field: item.data?.field,\n index: item.index,\n expanded: isExpanded,\n $implicit: item.data\n }">\n </ng-template>\n </ng-container>\n </p>\n </td>\n <ng-container *ngIf="hasGroupHeaderColumn">\n <td *ngFor="let column of groupHeaderColumns; let index = index"\n role="gridcell"\n aria-selected="false"\n kendoGridLogicalCell\n [logicalRowIndex]="logicalRowIndex"\n [logicalColIndex]="index + 1"\n [logicalSlaveCell]="false"\n [groupItem]="item"\n [colSpan]="1"\n >\n <ng-template *ngIf="column.groupHeaderColumnTemplateRef" [ngTemplateOutlet]="column.groupHeaderColumnTemplateRef"\n [ngTemplateOutletContext]="{\n group: item.data,\n aggregates: item.data?.aggregates,\n value: item.data?.value,\n field: item.data?.field,\n index: item.index,\n $implicit: item.data\n }">\n </ng-template>\n </td>\n </ng-container>\n '}]}],ctorParameters:function(){return[{type:Je},{type:vo},{type:a.LocalizationService}]},propDecorators:{rowIndex:[{type:P.Input}],logicalRowIndex:[{type:P.Input}],item:[{type:P.Input}],skipGroupDecoration:[{type:P.Input}],hasDetails:[{type:P.Input}],totalColumnsCount:[{type:P.Input}],hasGroupHeaderColumn:[{type:P.Input}],groupHeaderColumns:[{type:P.Input}],columns:[{type:P.Input}],groups:[{type:P.Input}],groupItemClass:[{type:P.HostBinding,args:["class.k-grouping-row"]}]}});Object.defineProperty(T.prototype,"newDataItem",{get:function(){return this.editService.newDataItem},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"unlockedColumnsCount",{get:function(){return this.totalColumnsCount-this.lockedColumnsCount-(this.allColumns||this.columns).length},enumerable:!1,configurable:!0}),T.prototype.isAriaSelected=function(e,t){return this.cellSelectionService.isCellSelected(e,t)||this.isRowSelected(e)?"true":"false"},T.prototype.toggleRow=function(e,t){return this.detailsService.toggleRow(e,t),!1},T.prototype.isExpanded=function(e){return this.detailsService.isExpanded(e.index,e.data)},T.prototype.detailButtonStyles=function(e){return this.isExpanded(e)?"k-i-minus":"k-i-plus"},T.prototype.detailButtonTitle=function(e){e=this.isExpanded(e)?"detailCollapse":"detailExpand";return this.localization.get(e)},T.prototype.isGroup=function(e){return"group"===e.type},T.prototype.isDataItem=function(e){return!this.isGroup(e)&&!this.isFooter(e)},T.prototype.isFooter=function(e){return"footer"===e.type},T.prototype.isFooterItemInExpandedGroup=function(e){e={data:e.data,index:e.groupIndex,parentGroup:e.group.parentGroup};return this.isInExpandedGroup(e)},T.prototype.isDataItemInExpandedGroup=function(e){e={data:e.group.data,index:e.groupIndex,parentGroup:e.group.parentGroup};return this.isInExpandedGroup(e)},T.prototype.isInExpandedGroup=function(e){return this.groupsService.isInExpandedGroup(e)},T.prototype.isParentGroupExpanded=function(e){return this.groupsService.isInExpandedGroup(e.parentGroup)},T.prototype.isOdd=function(e){return e.index%2!=0},T.prototype.isSelectable=function(){return this.selectable&&!1!==this.selectable.enabled},T.prototype.isRowSelected=function(e){return this.selectionService.isSelected(e.index)},T.prototype.trackByWrapper=function(e,t){return"data"===t.type&&(t.isEditing=this.editService.hasEdited(t.index)),this.trackBy(e,t)},T.prototype.trackByColumns=function(e,t){return this.virtualColumns?e:t},T.prototype.ngDoCheck=function(){this.hasGroupHeaderColumn?this.groupHeaderColumns=Cn(this.skipGroupDecoration?this.columns:this.columns.toArray().slice(1)):this.groupHeaderColumns=[],this.isLocked?this.groupHeaderSlaveCellsCount=this.hasGroupHeaderColumn?this.columnsContainer.nonLockedColumnsToRender.length:1:this.groupHeaderSlaveCellsCount=0},T.prototype.ngAfterViewChecked=function(){this.rowSticky&&this.applyStickyRowsStyling()},T.prototype.ngOnChanges=function(e){p.isChanged("columns",e,!1)&&this.changeNotification.notify()},T.prototype.logicalRowIndex=function(e){var e=this.skip+e,e=(this.hasDetailTemplate&&(e*=2),1+e),t=this.editService.hasNewItem?1:0,n=Qo(this.filterable)?1:0;return e+(this.columnInfoService.totalLevels+n+t)},T.prototype.addRowLogicalIndex=function(){return this.columnInfoService.totalLevels+1+(Qo(this.filterable)?1:0)},T.prototype.logicalColIndex=function(e){return V(e.leafIndex)?e.leafIndex+(this.hasDetailTemplate?1:0):-1},T.prototype.ngOnInit=function(){var s=this,e=(this.ngZone.runOutsideAngular(function(){var e=s.clickHandler.bind(s),t=s.renderer.listen(s.element.nativeElement,"mousedown",e),n=s.renderer.listen(s.element.nativeElement,"mouseup",e),o=s.renderer.listen(s.element.nativeElement,"click",e),r=s.renderer.listen(s.element.nativeElement,"contextmenu",e),i=s.renderer.listen(s.element.nativeElement,"touchstart",e),a=s.renderer.listen(s.element.nativeElement,"touchend",e);s.clickSubscription=function(){t(),n(),o(),r()},s.touchSubscription=function(){i(),a()}}),this.localization.get("noRecords"));this.localization.changes.subscribe(function(){s.noRecordsText===e&&(s.noRecordsText=s.localization.get("noRecords"),e=s.noRecordsText)})},T.prototype.ngOnDestroy=function(){this.clickSubscription&&this.clickSubscription(),this.touchSubscription&&this.touchSubscription(),this.cellKeydownSubscription.unsubscribe(),clearTimeout(this.clickTimeout)},T.prototype.isEditingCell=function(e,t){return this.editService.isEditing()&&this.editService.isEditedColumn(e,t)},T.prototype.isEditingRow=function(e){return this.editService.isEditing()&&this.editService.hasEdited(e)},Object.defineProperty(T.prototype,"hasGroupHeaderColumn",{get:function(){return this.columnsContainer.hasGroupHeaderColumn},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"columnsContainer",{get:function(){return this.columnInfoService.columnsContainer},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"columnsSpan",{get:function(){return Sn(this.columns)},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"allColumnsSpan",{get:function(){return Sn(this.allColumns||this.columns)},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"colSpan",{get:function(){return this.columnsSpan+this.groups.length+(this.hasDetailTemplate?1:0)},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"footerColumns",{get:function(){return this.isLocked?this.columnsContainer.lockedColumnsToRender:this.columnsContainer.nonLockedColumnsToRender},enumerable:!1,configurable:!0}),T.prototype.showGroupHeader=function(e){return!e.data.skipHeader},T.prototype.addStickyColumnStyles=function(e){var t=this.columnInfoService.stickyColumnsStyles(e);return Object.assign(Object.assign({},e.style),t)},T.prototype.resizeHandler=function(){this.applyStickyRowsStyling()},Object.defineProperty(T.prototype,"hasDetailTemplate",{get:function(){return V(this.detailTemplate)},enumerable:!1,configurable:!0}),T.prototype.clickHandler=function(e){for(var t,n,o,r,i,a=this,s=this.element.nativeElement,l=this.eventTarget(e),c=l;t=$e(c,ze("td")),n=$e(t,ze("tr")),o=$e(n,ze("tbody")),r=Ne(c=o,Me("k-grid"),s),o&&o!==s&&!r;);!t||Ve(t,Il)||Ve(n,"k-grouping-row k-group-footer k-detail-row k-grid-norecords")||o!==s||r||(this.editService.preventCellClose(),l!==t&&_e(l,!1)||ze("label")(l)||Ve(l,"k-icon")||Ne(l,Me("k-grid k-grid-ignore-click"),t)||(i=this.cellClickArgs(t,n,e),"mousedown"===e.type||"touchstart"===e.type?this.domEvents.cellMousedown.emit(i):"mouseup"===e.type||"touchend"===e.type?this.domEvents.cellMouseup.emit(i):!i.isEditedColumn&&this.editService.closeCell(e)||("click"===e.type?this.clickTimeout=setTimeout(function(){a.emitCellClick(i)},0):this.emitCellClick(i))))},T.prototype.emitCellClick=function(e){this.domEvents.cellClick.emit(Object.assign(e,{isEdited:e.isEditedRow||e.isEditedColumn}))},T.prototype.cellKeydownHandler=function(e){e.keyCode===p.Keys.Enter&&this.clickHandler(e)},T.prototype.cellClickArgs=function(e,t,n){var e=function(e,t){for(var n=0,o=0;o<t.length;o++){if(t[o]===e)return n;Ve(t[o],"k-hierarchy-cell k-group-cell")||n++}}(e,t.cells),o=this.columns.toArray()[e],e=this.lockedColumnsCount+e,t=t.getAttribute("data-kendo-grid-item-index");return{column:o,columnIndex:e,dataItem:-1===(t=t?parseInt(t,10):-1)?this.editService.newDataItem:this.data.at(t-this.skip),isEditedColumn:this.editService.isEditedColumn(t,o),isEditedRow:this.editService.isEdited(t),originalEvent:n,rowIndex:t,type:"keydown"===n.type?"click":n.type}},T.prototype.eventTarget=function(e){var t;return"touchend"===e.type?(t=e.changedTouches[0],document.elementFromPoint(t.clientX,t.clientY)):e.target},T.prototype.applyStickyRowsStyling=function(){var n,o,r=this,e=(e=this.element.nativeElement.querySelectorAll(".k-grid-row-sticky"),[].slice.call(e));e.length&&(n=0,o=[],e.forEach(function(e){e=e.getBoundingClientRect().height;o.push({accumulatedHeight:n,rowHeight:e}),n+=e}),e.forEach(function(e,t){r.renderer.setStyle(e,"top",o[t].accumulatedHeight+"px"),r.renderer.setStyle(e,"bottom",n-o[t].accumulatedHeight-o[t].rowHeight+"px")}))};l=T;function T(e,t,n,o,r,i,a,s,l,c,p,u,d){var g=this;this.detailsService=e,this.groupsService=t,this.changeNotification=n,this.editService=o,this.localization=r,this.ngZone=i,this.renderer=a,this.element=s,this.domEvents=l,this.selectionService=c,this.cellSelectionService=p,this.columnInfoService=u,this.navigationService=d,this.columns=[],this.groups=[],this.skip=0,this.noRecordsText=this.localization.get("noRecords"),this.isLocked=!1,this.skipGroupDecoration=!1,this.showGroupFooters=!1,this.lockedColumnsCount=0,this.totalColumnsCount=0,this.trackBy=Or,this.rowClass=function(){return null},this.cellKeydownSubscription=this.navigationService.cellKeydown.subscribe(function(e){return g.cellKeydownHandler(e)}),this.trackByWrapper=this.trackByWrapper.bind(this),this.trackByColumns=this.trackByColumns.bind(this)}l.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:l,deps:[{token:ct},{token:Je},{token:ko},{token:u},{token:a.LocalizationService},{token:i.NgZone},{token:i.Renderer2},{token:i.ElementRef},{token:we},{token:Nt},{token:At},{token:C},{token:m}],target:i.ɵɵFactoryTarget.Component}),l.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:l,selector:"[kendoGridTableBody]",inputs:{columns:"columns",allColumns:"allColumns",groups:"groups",detailTemplate:"detailTemplate",noRecordsTemplate:"noRecordsTemplate",data:"data",skip:"skip",selectable:"selectable",filterable:"filterable",noRecordsText:"noRecordsText",isLocked:"isLocked",isLoading:"isLoading",isVirtual:"isVirtual",cellLoadingTemplate:"cellLoadingTemplate",skipGroupDecoration:"skipGroupDecoration",showGroupFooters:"showGroupFooters",lockedColumnsCount:"lockedColumnsCount",totalColumnsCount:"totalColumnsCount",virtualColumns:"virtualColumns",trackBy:"trackBy",rowSticky:"rowSticky",rowClass:"rowClass"},usesOnChanges:!0,ngImport:i,template:'\n <ng-container *ngIf="editService.hasNewItem">\n <tr class="k-grid-add-row k-grid-edit-row"\n kendoGridLogicalRow\n [logicalRowIndex]="addRowLogicalIndex()"\n [logicalSlaveRow]="lockedColumnsCount > 0"\n [logicalCellsCount]="columns.length"\n [logicalSlaveCellsCount]="unlockedColumnsCount">\n <ng-container *ngIf="!skipGroupDecoration">\n <td class="k-group-cell" *ngFor="let g of groups" role="presentation"></td>\n </ng-container>\n <td class="k-hierarchy-cell"\n *ngIf="detailTemplate?.templateRef"\n kendoGridLogicalCell\n [logicalRowIndex]="addRowLogicalIndex()"\n [logicalColIndex]="0"\n aria-selected="false"\n >\n </td>\n <td *ngFor="let column of columns; let columnIndex = index; trackBy: trackByColumns;"\n kendoGridCell\n [rowIndex]="-1"\n [columnIndex]="lockedColumnsCount + columnIndex"\n [isNew]="true"\n [column]="column"\n [dataItem]="newDataItem"\n [class.k-grid-content-sticky]="column.sticky"\n [ngClass]="column.cssClass"\n [style.left]="column.sticky ? \'0\' : undefined"\n [ngStyle]="column.sticky ? addStickyColumnStyles(column) : column.style"\n [attr.colspan]="column.colspan"\n kendoGridLogicalCell\n [logicalRowIndex]="addRowLogicalIndex()"\n [logicalColIndex]="logicalColIndex(column)"\n [colSpan]="column.colspan"\n role="gridcell">\n </td>\n </tr>\n </ng-container>\n <tr *ngIf="data?.length === 0 || data === null" class="k-grid-norecords">\n <td [attr.colspan]="colSpan">\n <ng-template\n *ngIf="noRecordsTemplate?.templateRef"\n [templateContext]="{\n templateRef: noRecordsTemplate?.templateRef\n }">\n </ng-template>\n <ng-container *ngIf="!noRecordsTemplate?.templateRef">\n {{noRecordsText}}\n </ng-container>\n </td>\n </tr>\n\n <ng-container *ngFor="let item of data; trackBy: trackByWrapper; let rowIndex = index;">\n <tr *ngIf="isGroup(item) && isParentGroupExpanded($any(item)) && showGroupHeader(item)"\n kendoGridGroupHeader\n [columns]="columns"\n [groups]="groups"\n [item]="$any(item)"\n [hasDetails]="!!detailTemplate?.templateRef"\n [skipGroupDecoration]="skipGroupDecoration"\n [hasGroupHeaderColumn]="hasGroupHeaderColumn"\n [groupHeaderColumns]="groupHeaderColumns"\n [rowIndex]="rowIndex + 1"\n [totalColumnsCount]="totalColumnsCount"\n kendoGridLogicalRow\n [logicalRowIndex]="logicalRowIndex(rowIndex)"\n [logicalSlaveRow]="lockedColumnsCount > 0"\n [logicalCellsCount]="columns.length"\n [logicalSlaveCellsCount]="groupHeaderSlaveCellsCount">\n </tr>\n <tr\n *ngIf="isDataItem(item) && (!$any(item).group || isDataItemInExpandedGroup($any(item)))"\n kendoGridLogicalRow\n [dataRowIndex]="$any(item).index"\n [dataItem]="item.data"\n [logicalRowIndex]="logicalRowIndex(rowIndex)"\n [logicalSlaveRow]="lockedColumnsCount > 0"\n [logicalCellsCount]="columns.length"\n [logicalSlaveCellsCount]="unlockedColumnsCount"\n [class.k-grid-row-sticky]="rowSticky ? rowSticky({ dataItem: item.data, index: $any(item).index }) : false"\n [ngClass]="rowClass({ dataItem: item.data, index: $any(item).index })"\n [class.k-alt]="isOdd(item)"\n [class.k-master-row]="detailTemplate?.templateRef"\n [class.k-grid-edit-row]="isEditingRow($any(item).index)"\n [attr.data-kendo-grid-item-index]="$any(item).index"\n [class.k-state-selected]="isSelectable() && isRowSelected(item)">\n <ng-container *ngIf="!skipGroupDecoration">\n <td class="k-group-cell" *ngFor="let g of groups" role="presentation"></td>\n </ng-container>\n <td class="k-hierarchy-cell"\n *ngIf="detailTemplate?.templateRef"\n kendoGridLogicalCell\n [logicalRowIndex]="logicalRowIndex(rowIndex)"\n [logicalColIndex]="0"\n [dataRowIndex]="$any(item).index"\n [dataItem]="item.data"\n [detailExpandCell]="true"\n aria-selected="false"\n >\n <a class="k-icon"\n *ngIf="detailTemplate.showIf(item.data, $any(item).index)"\n [ngClass]="detailButtonStyles(item)"\n [attr.title]="detailButtonTitle(item)"\n [attr.aria-label]="detailButtonTitle(item)"\n href="#" tabindex="-1" (click)="toggleRow($any(item).index, item.data)"></a>\n </td>\n <td\n kendoGridCell\n [rowIndex]="$any(item).index"\n [columnIndex]="lockedColumnsCount + columnIndex"\n [attr.data-kendo-grid-column-index]="lockedColumnsCount + columnIndex"\n [column]="column"\n [dataItem]="item.data"\n [isLoading]="isLoading"\n [isVirtual]="isVirtual"\n [loadingTemplate]="cellLoadingTemplate"\n kendoGridLogicalCell\n [logicalRowIndex]="logicalRowIndex(rowIndex)"\n [logicalColIndex]="logicalColIndex(column)"\n [dataRowIndex]="$any(item).index"\n [dataItem]="item.data"\n [colIndex]="columnIndex"\n [colSpan]="column.colspan"\n role="gridcell"\n [attr.aria-selected]="isSelectable() ? isAriaSelected(item, column) : undefined"\n [class.k-grid-content-sticky]="column.sticky"\n [class.k-touch-action-none]="isSelectable() && $any(selectable).drag"\n [class.k-touch-action-auto]="!(isSelectable() && $any(selectable).drag)"\n [ngClass]="column.cssClass"\n [class.k-grid-edit-cell]="isEditingCell($any(item).index, column)"\n [ngStyle]="column.sticky ? addStickyColumnStyles(column) : column.style"\n [attr.colspan]="column.colspan"\n [class.k-state-selected]="isSelectable && cellSelectionService.isCellSelected(item, column)"\n *ngFor="let column of columns; let columnIndex = index; trackBy: trackByColumns;">\n </td>\n </tr>\n <tr *ngIf="isDataItem(item) &&\n (!$any(item).group || isDataItemInExpandedGroup($any(item))) &&\n detailTemplate?.templateRef &&\n detailTemplate.showIf(item.data, $any(item).index) &&\n isExpanded(item)"\n class="k-detail-row"\n [class.k-alt]="isOdd(item)"\n kendoGridLogicalRow\n [dataRowIndex]="$any(item).index"\n [dataItem]="item.data"\n [logicalRowIndex]="logicalRowIndex(rowIndex) + 1"\n [logicalSlaveRow]="false"\n [logicalCellsCount]="1"\n >\n <td class="k-group-cell" *ngFor="let g of groups"></td>\n <td class="k-hierarchy-cell"></td>\n <td class="k-detail-cell"\n [attr.colspan]="columnsSpan"\n kendoGridLogicalCell\n [logicalRowIndex]="logicalRowIndex(rowIndex) + 1"\n [logicalColIndex]="0"\n [dataRowIndex]="$any(item).index"\n [dataItem]="item.data"\n [colIndex]="0"\n [colSpan]="allColumnsSpan + 1"\n role="gridcell" aria-selected="false"\n >\n <ng-template\n [ngTemplateOutlet]="detailTemplate.templateRef"\n [ngTemplateOutletContext]="{\n dataItem: item.data,\n rowIndex: $any(item).index,\n $implicit: item.data\n }">\n </ng-template>\n </td>\n </tr>\n <tr *ngIf="isFooter(item) &&\n $any(item).group &&\n (isFooterItemInExpandedGroup($any(item)) || (showGroupFooters && isParentGroupExpanded($any(item).group))) &&\n !$any(item.data).hideFooter"\n class="k-group-footer"\n kendoGridLogicalRow\n [logicalRowIndex]="logicalRowIndex(rowIndex)"\n [logicalSlaveRow]="lockedColumnsCount > 0"\n [logicalCellsCount]="columns.length"\n [logicalSlaveCellsCount]="unlockedColumnsCount">\n <ng-container *ngIf="!skipGroupDecoration">\n <td class="k-group-cell" *ngFor="let g of groups"></td>\n </ng-container>\n <td class="k-hierarchy-cell"\n *ngIf="detailTemplate?.templateRef"\n kendoGridLogicalCell\n [logicalRowIndex]="logicalRowIndex(rowIndex)"\n [logicalColIndex]="0"\n aria-selected="false"\n >\n </td>\n <td kendoGridLogicalCell\n [logicalRowIndex]="logicalRowIndex(rowIndex)"\n [logicalColIndex]="logicalColIndex(column)"\n [attr.data-skip]="skipGroupDecoration"\n *ngFor="let column of footerColumns; let columnIndex = index; trackBy: trackByColumns;">\n <ng-template\n [templateContext]="{\n templateRef: $any(column).groupFooterTemplateRef,\n group: $any(item.data),\n field: $any(column).field,\n column: column,\n aggregates: $any(item.data)?.aggregates,\n $implicit: $any(item.data)?.aggregates\n }">\n </ng-template>\n </td>\n </tr>\n </ng-container>\n <kendo-resize-sensor *ngIf="rowSticky" (resize)="resizeHandler()"></kendo-resize-sensor>\n ',isInline:!0,components:[{type:El,selector:"[kendoGridCell]",inputs:["column","columnIndex","isNew","isLoading","isVirtual","loadingTemplate","rowIndex","dataItem"]},{type:ne,selector:"[kendoGridGroupHeader]",inputs:["rowIndex","logicalRowIndex","item","skipGroupDecoration","hasDetails","totalColumnsCount","hasGroupHeaderColumn","groupHeaderColumns","columns","groups"]},{type:X.ResizeSensorComponent,selector:"kendo-resize-sensor",inputs:["rateLimit"],outputs:["resize"]}],directives:[{type:s.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{type:fa,selector:"[kendoGridLogicalRow]",inputs:["logicalRowIndex","logicalSlaveRow","logicalCellsCount","logicalSlaveCellsCount","dataRowIndex","dataItem"]},{type:s.NgForOf,selector:"[ngFor][ngForOf]",inputs:["ngForOf","ngForTrackBy","ngForTemplate"]},{type:Ui,selector:"[kendoGridLogicalCell]",inputs:["logicalColIndex","logicalRowIndex","logicalSlaveCell","colIndex","colSpan","rowSpan","groupItem","dataRowIndex","dataItem","detailExpandCell","headerLabelText"]},{type:s.NgClass,selector:"[ngClass]",inputs:["class","ngClass"]},{type:s.NgStyle,selector:"[ngStyle]",inputs:["ngStyle"]},{type:qi,selector:"[templateContext]",inputs:["templateContext"]},{type:s.NgTemplateOutlet,selector:"[ngTemplateOutlet]",inputs:["ngTemplateOutletContext","ngTemplateOutlet"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:l,decorators:[{type:P.Component,args:[{selector:"[kendoGridTableBody]",template:'\n <ng-container *ngIf="editService.hasNewItem">\n <tr class="k-grid-add-row k-grid-edit-row"\n kendoGridLogicalRow\n [logicalRowIndex]="addRowLogicalIndex()"\n [logicalSlaveRow]="lockedColumnsCount > 0"\n [logicalCellsCount]="columns.length"\n [logicalSlaveCellsCount]="unlockedColumnsCount">\n <ng-container *ngIf="!skipGroupDecoration">\n <td class="k-group-cell" *ngFor="let g of groups" role="presentation"></td>\n </ng-container>\n <td class="k-hierarchy-cell"\n *ngIf="detailTemplate?.templateRef"\n kendoGridLogicalCell\n [logicalRowIndex]="addRowLogicalIndex()"\n [logicalColIndex]="0"\n aria-selected="false"\n >\n </td>\n <td *ngFor="let column of columns; let columnIndex = index; trackBy: trackByColumns;"\n kendoGridCell\n [rowIndex]="-1"\n [columnIndex]="lockedColumnsCount + columnIndex"\n [isNew]="true"\n [column]="column"\n [dataItem]="newDataItem"\n [class.k-grid-content-sticky]="column.sticky"\n [ngClass]="column.cssClass"\n [style.left]="column.sticky ? \'0\' : undefined"\n [ngStyle]="column.sticky ? addStickyColumnStyles(column) : column.style"\n [attr.colspan]="column.colspan"\n kendoGridLogicalCell\n [logicalRowIndex]="addRowLogicalIndex()"\n [logicalColIndex]="logicalColIndex(column)"\n [colSpan]="column.colspan"\n role="gridcell">\n </td>\n </tr>\n </ng-container>\n <tr *ngIf="data?.length === 0 || data === null" class="k-grid-norecords">\n <td [attr.colspan]="colSpan">\n <ng-template\n *ngIf="noRecordsTemplate?.templateRef"\n [templateContext]="{\n templateRef: noRecordsTemplate?.templateRef\n }">\n </ng-template>\n <ng-container *ngIf="!noRecordsTemplate?.templateRef">\n {{noRecordsText}}\n </ng-container>\n </td>\n </tr>\n\n <ng-container *ngFor="let item of data; trackBy: trackByWrapper; let rowIndex = index;">\n <tr *ngIf="isGroup(item) && isParentGroupExpanded($any(item)) && showGroupHeader(item)"\n kendoGridGroupHeader\n [columns]="columns"\n [groups]="groups"\n [item]="$any(item)"\n [hasDetails]="!!detailTemplate?.templateRef"\n [skipGroupDecoration]="skipGroupDecoration"\n [hasGroupHeaderColumn]="hasGroupHeaderColumn"\n [groupHeaderColumns]="groupHeaderColumns"\n [rowIndex]="rowIndex + 1"\n [totalColumnsCount]="totalColumnsCount"\n kendoGridLogicalRow\n [logicalRowIndex]="logicalRowIndex(rowIndex)"\n [logicalSlaveRow]="lockedColumnsCount > 0"\n [logicalCellsCount]="columns.length"\n [logicalSlaveCellsCount]="groupHeaderSlaveCellsCount">\n </tr>\n <tr\n *ngIf="isDataItem(item) && (!$any(item).group || isDataItemInExpandedGroup($any(item)))"\n kendoGridLogicalRow\n [dataRowIndex]="$any(item).index"\n [dataItem]="item.data"\n [logicalRowIndex]="logicalRowIndex(rowIndex)"\n [logicalSlaveRow]="lockedColumnsCount > 0"\n [logicalCellsCount]="columns.length"\n [logicalSlaveCellsCount]="unlockedColumnsCount"\n [class.k-grid-row-sticky]="rowSticky ? rowSticky({ dataItem: item.data, index: $any(item).index }) : false"\n [ngClass]="rowClass({ dataItem: item.data, index: $any(item).index })"\n [class.k-alt]="isOdd(item)"\n [class.k-master-row]="detailTemplate?.templateRef"\n [class.k-grid-edit-row]="isEditingRow($any(item).index)"\n [attr.data-kendo-grid-item-index]="$any(item).index"\n [class.k-state-selected]="isSelectable() && isRowSelected(item)">\n <ng-container *ngIf="!skipGroupDecoration">\n <td class="k-group-cell" *ngFor="let g of groups" role="presentation"></td>\n </ng-container>\n <td class="k-hierarchy-cell"\n *ngIf="detailTemplate?.templateRef"\n kendoGridLogicalCell\n [logicalRowIndex]="logicalRowIndex(rowIndex)"\n [logicalColIndex]="0"\n [dataRowIndex]="$any(item).index"\n [dataItem]="item.data"\n [detailExpandCell]="true"\n aria-selected="false"\n >\n <a class="k-icon"\n *ngIf="detailTemplate.showIf(item.data, $any(item).index)"\n [ngClass]="detailButtonStyles(item)"\n [attr.title]="detailButtonTitle(item)"\n [attr.aria-label]="detailButtonTitle(item)"\n href="#" tabindex="-1" (click)="toggleRow($any(item).index, item.data)"></a>\n </td>\n <td\n kendoGridCell\n [rowIndex]="$any(item).index"\n [columnIndex]="lockedColumnsCount + columnIndex"\n [attr.data-kendo-grid-column-index]="lockedColumnsCount + columnIndex"\n [column]="column"\n [dataItem]="item.data"\n [isLoading]="isLoading"\n [isVirtual]="isVirtual"\n [loadingTemplate]="cellLoadingTemplate"\n kendoGridLogicalCell\n [logicalRowIndex]="logicalRowIndex(rowIndex)"\n [logicalColIndex]="logicalColIndex(column)"\n [dataRowIndex]="$any(item).index"\n [dataItem]="item.data"\n [colIndex]="columnIndex"\n [colSpan]="column.colspan"\n role="gridcell"\n [attr.aria-selected]="isSelectable() ? isAriaSelected(item, column) : undefined"\n [class.k-grid-content-sticky]="column.sticky"\n [class.k-touch-action-none]="isSelectable() && $any(selectable).drag"\n [class.k-touch-action-auto]="!(isSelectable() && $any(selectable).drag)"\n [ngClass]="column.cssClass"\n [class.k-grid-edit-cell]="isEditingCell($any(item).index, column)"\n [ngStyle]="column.sticky ? addStickyColumnStyles(column) : column.style"\n [attr.colspan]="column.colspan"\n [class.k-state-selected]="isSelectable && cellSelectionService.isCellSelected(item, column)"\n *ngFor="let column of columns; let columnIndex = index; trackBy: trackByColumns;">\n </td>\n </tr>\n <tr *ngIf="isDataItem(item) &&\n (!$any(item).group || isDataItemInExpandedGroup($any(item))) &&\n detailTemplate?.templateRef &&\n detailTemplate.showIf(item.data, $any(item).index) &&\n isExpanded(item)"\n class="k-detail-row"\n [class.k-alt]="isOdd(item)"\n kendoGridLogicalRow\n [dataRowIndex]="$any(item).index"\n [dataItem]="item.data"\n [logicalRowIndex]="logicalRowIndex(rowIndex) + 1"\n [logicalSlaveRow]="false"\n [logicalCellsCount]="1"\n >\n <td class="k-group-cell" *ngFor="let g of groups"></td>\n <td class="k-hierarchy-cell"></td>\n <td class="k-detail-cell"\n [attr.colspan]="columnsSpan"\n kendoGridLogicalCell\n [logicalRowIndex]="logicalRowIndex(rowIndex) + 1"\n [logicalColIndex]="0"\n [dataRowIndex]="$any(item).index"\n [dataItem]="item.data"\n [colIndex]="0"\n [colSpan]="allColumnsSpan + 1"\n role="gridcell" aria-selected="false"\n >\n <ng-template\n [ngTemplateOutlet]="detailTemplate.templateRef"\n [ngTemplateOutletContext]="{\n dataItem: item.data,\n rowIndex: $any(item).index,\n $implicit: item.data\n }">\n </ng-template>\n </td>\n </tr>\n <tr *ngIf="isFooter(item) &&\n $any(item).group &&\n (isFooterItemInExpandedGroup($any(item)) || (showGroupFooters && isParentGroupExpanded($any(item).group))) &&\n !$any(item.data).hideFooter"\n class="k-group-footer"\n kendoGridLogicalRow\n [logicalRowIndex]="logicalRowIndex(rowIndex)"\n [logicalSlaveRow]="lockedColumnsCount > 0"\n [logicalCellsCount]="columns.length"\n [logicalSlaveCellsCount]="unlockedColumnsCount">\n <ng-container *ngIf="!skipGroupDecoration">\n <td class="k-group-cell" *ngFor="let g of groups"></td>\n </ng-container>\n <td class="k-hierarchy-cell"\n *ngIf="detailTemplate?.templateRef"\n kendoGridLogicalCell\n [logicalRowIndex]="logicalRowIndex(rowIndex)"\n [logicalColIndex]="0"\n aria-selected="false"\n >\n </td>\n <td kendoGridLogicalCell\n [logicalRowIndex]="logicalRowIndex(rowIndex)"\n [logicalColIndex]="logicalColIndex(column)"\n [attr.data-skip]="skipGroupDecoration"\n *ngFor="let column of footerColumns; let columnIndex = index; trackBy: trackByColumns;">\n <ng-template\n [templateContext]="{\n templateRef: $any(column).groupFooterTemplateRef,\n group: $any(item.data),\n field: $any(column).field,\n column: column,\n aggregates: $any(item.data)?.aggregates,\n $implicit: $any(item.data)?.aggregates\n }">\n </ng-template>\n </td>\n </tr>\n </ng-container>\n <kendo-resize-sensor *ngIf="rowSticky" (resize)="resizeHandler()"></kendo-resize-sensor>\n '}]}],ctorParameters:function(){return[{type:ct},{type:Je},{type:ko},{type:u},{type:a.LocalizationService},{type:i.NgZone},{type:i.Renderer2},{type:i.ElementRef},{type:we},{type:Nt},{type:At},{type:C},{type:m}]},propDecorators:{columns:[{type:P.Input}],allColumns:[{type:P.Input}],groups:[{type:P.Input}],detailTemplate:[{type:P.Input}],noRecordsTemplate:[{type:P.Input}],data:[{type:P.Input}],skip:[{type:P.Input}],selectable:[{type:P.Input}],filterable:[{type:P.Input}],noRecordsText:[{type:P.Input}],isLocked:[{type:P.Input}],isLoading:[{type:P.Input}],isVirtual:[{type:P.Input}],cellLoadingTemplate:[{type:P.Input}],skipGroupDecoration:[{type:P.Input}],showGroupFooters:[{type:P.Input}],lockedColumnsCount:[{type:P.Input}],totalColumnsCount:[{type:P.Input}],virtualColumns:[{type:P.Input}],trackBy:[{type:P.Input}],rowSticky:[{type:P.Input}],rowClass:[{type:P.Input}]}});function Pl(e){return e=e.columns,Math.max(1,e.filter(function(e){return fe(e.resizable)&&e.isVisible}).length)}function Gl(t){return function(e){return e.querySelector(t)}}function Vl(t,n){return void 0===n&&(n="td"),function(e){return e.querySelectorAll(n+":not(.k-group-cell):not(.k-hierarchy-cell)")[t]}}function Ml(e){return e.offsetWidth}function zl(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return t.reduce(function(e,t){return e?t(e):0},e)}}Object.defineProperty(jl.prototype,"minWidth",{get:function(){return this.firstResize?0:null},enumerable:!1,configurable:!0}),jl.prototype.ngOnInit=function(){var t=this,n=this.service.changes.pipe(G.filter(function(e){return t.locked===e.locked}));this.subscription=n.pipe(G.filter(function(e){return"start"===e.type}),G.tap(this.initState.bind(this)),G.map(Pl),G.switchMap(function(e){return n.pipe(G.filter(function(e){return"resizeTable"===e.type}),G.map(function(e){return e.delta}),G.bufferCount(e))})).subscribe(this.resize.bind(this)),this.autoFitSubscription=this.service.registerTable({autoFit:this.autoFitObservable.bind(this),locked:this.locked})},jl.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe(),this.autoFitSubscription&&(this.autoFitSubscription(),this.autoFitSubscription=null)},jl.prototype.initState=function(){this.firstResize=!0,this.virtualColumns&&!this.locked||(this.originalWidth=Ml(this.element.nativeElement))},jl.prototype.resize=function(e){this.virtualColumns&&!this.locked||(e=e.reduce(function(e,t){return e+t},0),e=this.originalWidth+e,this.renderer.setStyle(this.element.nativeElement,"width",e+"px")),this.cdr.detectChanges()},jl.prototype.autoFitObservable=function(n){var o=this;return b.Observable.create(function(t){o.zone.runOutsideAngular(function(){o.renderer.addClass(o.element.nativeElement,"k-autofitting"),o.cdr.detectChanges();var e=n.map(o.measureColumn.bind(o));o.renderer.removeClass(o.element.nativeElement,"k-autofitting"),t.next(e)})})},jl.prototype.measureColumn=function(e){var t,n=this.element.nativeElement,o=zl((t=e.level,function(e){return e.querySelectorAll("thead>tr")[t]}),Vl(e.headerIndex,"th"),Ml)(n),r=0,e=((!e.isParentSpan||e.isParentSpan&&e.isLastInSpan)&&(r=zl(Gl("tbody>tr:not(.k-grouping-row):not(.k-grid-norecords)"),Vl(e.index),Ml)(n)),zl(Gl("tfoot>tr"),Vl(e.index),Ml)(n));return Math.max(o,r,e)};var Nl=jl;function jl(e,t,n,o,r){this.element=e,this.renderer=t,this.service=n,this.zone=o,this.cdr=r,this.locked=!1,this.firstResize=!1}Nl.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Nl,deps:[{token:i.ElementRef},{token:i.Renderer2},{token:Wo},{token:i.NgZone},{token:i.ChangeDetectorRef}],target:i.ɵɵFactoryTarget.Directive}),Nl.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:Nl,selector:"table",inputs:{locked:"locked",virtualColumns:"virtualColumns"},host:{properties:{"style.min-width":"this.minWidth"}},ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Nl,decorators:[{type:P.Directive,args:[{selector:"table"}]}],ctorParameters:function(){return[{type:i.ElementRef},{type:i.Renderer2},{type:Wo},{type:i.NgZone},{type:i.ChangeDetectorRef}]},propDecorators:{locked:[{type:P.Input}],virtualColumns:[{type:P.Input}],minWidth:[{type:P.HostBinding,args:["style.min-width"]}]}});Object.defineProperty(Bl.prototype,"lockedWidth",{set:function(e){this._lockedWidth=e,this.enabled&&(this.attachResize(),this.resize())},enumerable:!1,configurable:!0}),Object.defineProperty(Bl.prototype,"kendoGridResizableContainer",{set:function(e){var t=e!==this.enabled;this.enabled=e,t&&(this.attachResize(),this.resize())},enumerable:!1,configurable:!0}),Bl.prototype.ngOnDestroy=function(){this.resizeSubscription&&this.resizeSubscription.unsubscribe()},Bl.prototype.attachResize=function(){this.resizeSubscription&&!this.enabled&&(this.resizeSubscription.unsubscribe(),this.resizeSubscription=null),!this.resizeSubscription&&this.enabled&&(this.resizeSubscription=this.resizeService.changes.subscribe(this.resize.bind(this)))},Bl.prototype.resize=function(){var e;this.ctx.grid&&this.ctx.grid.wrapper&&(e=this.ctx.grid.wrapper.nativeElement,e=Math.max(e.clientWidth-this._lockedWidth,0),this.enabled&&0<e?this.renderer.setStyle(this.el.nativeElement,"width",e+"px"):this.renderer.setStyle(this.el.nativeElement,"width",""))};var Al=Bl;function Bl(e,t,n,o){this.el=e,this.renderer=t,this.resizeService=n,this.ctx=o,this.enabled=!1}Al.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Al,deps:[{token:i.ElementRef},{token:i.Renderer2},{token:$o},{token:so}],target:i.ɵɵFactoryTarget.Directive}),Al.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:Al,selector:"[kendoGridResizableContainer]",inputs:{lockedWidth:"lockedWidth",kendoGridResizableContainer:"kendoGridResizableContainer"},ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Al,decorators:[{type:P.Directive,args:[{selector:"[kendoGridResizableContainer]"}]}],ctorParameters:function(){return[{type:i.ElementRef},{type:i.Renderer2},{type:$o},{type:so}]},propDecorators:{lockedWidth:[{type:P.Input,args:["lockedWidth"]}],kendoGridResizableContainer:[{type:P.Input}]}});function Hl(e,t,n){for(var o=0,r=0;o<t.length;o++){var i=n(t[o]);if(r<=e&&e<=r+i-1)return t[o];r+=i}}function $l(e,t){return Hl(e,t,function(e){return e.hasAttribute("data-kendo-grid-item-index")?1:0})}var Kl={},ql=new P.InjectionToken("grid-scroll-service-factory");function _l(e){return new bl(e)}function Wl(e){var t=e.wheelDeltaY;return e.wheelDelta&&(void 0===t||t)?e.wheelDelta:e.detail&&e.axis===e.VERTICAL_AXIS?10*-e.detail:0}function Zl(e){return e?e.nativeElement:null}Object.defineProperty(F.prototype,"hostClass",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"hostRole",{get:function(){return"presentation"},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"showFooter",{get:function(){return this.groupable&&this.groupable.showFooter},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"totalWidth",{get:function(){if(this.virtualColumns&&this.columns.unlockedWidth)return this.columns.unlockedWidth},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"lockedLeafColumns",{get:function(){return this.columns.lockedLeafColumns},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"nonLockedLeafColumns",{get:function(){return this.columns.nonLockedLeafColumns},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"nonLockedColumnsToRender",{get:function(){return this.virtualColumns&&!this.pdfService.exporting?this.viewportColumns:this.nonLockedLeafColumns},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"leafColumns",{get:function(){return this.columns.leafColumnsToRender},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"lockedWidth",{get:function(){var e=32*this.groups.length;return bn(this.lockedLeafColumns.toArray()).reduce(function(e,t){return e+(t.width||0)},e)},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"nonLockedWidth",{get:function(){if(!this.rtl&&this.lockedLeafColumns.length||this.virtualColumns)return wn(bn(this.nonLockedColumnsToRender.toArray()))},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"isLocked",{get:function(){return 0<this.lockedLeafColumns.length},enumerable:!1,configurable:!0}),F.prototype.ngOnInit=function(){var t=this;this.init(),this.subscriptions.add(this.ngZone.runOutsideAngular(this.handleRowSync.bind(this))),this.subscriptions.add(this.ngZone.runOutsideAngular(this.handleRowNavigationLocked.bind(this))),this.subscriptions.add(b.merge(this.columns.changes,this.resizeService.changes).subscribe(function(){t.virtualColumns&&t.ngZone.run(function(){t.updateViewportColumns(),t.changeDetector.markForCheck()})})),this.subscriptions.add(this.localization.changes.subscribe(function(e){e=e.rtl;return t.rtl=e}))},F.prototype.ngOnChanges=function(e){e.skip&&e.skip.firstChange&&0<e.skip.currentValue&&this.handleInitialScrollToSkip(),p.isChanged("skip",e)&&!this.rebind&&(this.skipScroll=!0,this.container.nativeElement.scrollTop=this.rowHeightService.offset(this.skip)),p.anyChanged(["total","take"],e)&&this.init(),this.rebind=!1},F.prototype.ngDoCheck=function(){!this.virtualColumns||this.viewportColumns&&!this.viewportWidthChange()||this.updateViewportColumns()},F.prototype.ngAfterViewInit=function(){this.skip&&this.isVirtual&&(this.container.nativeElement.scrollTop=this.rowHeightService.offset(this.skip)),this.resetNavigationViewport(),this.attachContainerScroll(),this.initResizeService()},F.prototype.ngAfterViewChecked=function(){var e=this.isLocked;e&&!this.hasLockedContainer&&this.syncRowsHeight(),this.hasLockedContainer=e},F.prototype.syncRowsHeight=function(){this.lockedContainer&&Io(this.lockedTable.nativeElement,this.table.nativeElement)},F.prototype.ngOnDestroy=function(){this.subscriptions&&this.subscriptions.unsubscribe(),this.resizeService&&this.resizeService.destroy(),this.cleanupScroller()},F.prototype.init=function(){this.suspendService.scroll||(this.rowHeightService=new ml(this.total,this.rowHeight,this.detailRowHeight),this.totalHeight=this.rowHeightService.totalHeight(),le()||this.ngZone.runOutsideAngular(this.createScroller.bind(this)))},F.prototype.lockedScroll=function(){var e;this.suspendService.scroll||(e=this.lockedContainer.nativeElement.scrollTop)!==this.containerScrollTop&&(this.container.nativeElement.scrollTop=this.containerScrollTop=e)},F.prototype.lockedMousewheel=function(e){var t,n,o;e.ctrlKey||(t=e,n=this.container.nativeElement,t=Wl(t),0===(o=n.scrollTop)&&0<t||n.scrollHeight<=n.offsetHeight+o&&t<0||event.preventDefault(),n=Wl(e),this.container.nativeElement.scrollTop-=n)},F.prototype.lockedKeydown=function(e){var t,n;e.keyCode!==p.Keys.PageDown&&e.keyCode!==p.Keys.PageUp||(t=e.keyCode===p.Keys.PageDown?1:-1,(n=this.container.nativeElement).scrollTop+=n.offsetHeight*t*.8,e.preventDefault())},F.prototype.detailExpand=function(e){var t=e.index;e.expand?this.rowHeightService.expandDetail(t):this.rowHeightService.collapseDetail(t),this.totalHeight=this.rowHeightService.totalHeight(),this.resetNavigationViewport()},F.prototype.attachContainerScroll=function(){var o=this;le()||(this.ngZone.runOutsideAngular(function(){o.subscriptions.add(b.fromEvent(o.container.nativeElement,"scroll").pipe(G.map(function(e){return e.target}),G.filter(function(){return!o.suspendService.scroll}),G.tap(function(e){o.onContainerScroll(e),o.resetNavigationViewport(),o.virtualColumns&&o.handleColumnScroll();var t=o.navigationService.viewport||Kl,n=o.navigationService.columnViewport||Kl;o.contentScroll.emit({scrollLeft:e.scrollLeft,scrollTop:e.scrollTop,startRow:t.firstItemIndex,endRow:t.lastItemIndex,startColumn:n.firstItemIndex,endColumn:n.lastItemIndex})})).subscribe(o.dispatcher))}),this.scrollSyncService.registerEmitter(this.container.nativeElement,"body"))},F.prototype.createScroller=function(){var t=this,e=(this.cleanupScroller(),this.scroller.create(this.rowHeightService,this.skip,this.take,this.total));this.skipScroll=!1,this.scrollerSubscription=e.pipe(G.filter(function(e){return e instanceof yl}),G.filter(function(){var e=t.skipScroll;return t.skipScroll=!1,!e}),G.tap(function(){return t.rebind=!0})).subscribe(function(e){return t.ngZone.run(function(){return t.pageChange.emit(e)})}),this.scrollerSubscription.add(e.pipe(G.filter(function(e){return e instanceof fl})).subscribe(this.scroll.bind(this))),this.scrollerSubscription.add(e.pipe(G.filter(function(e){return e instanceof vl})).subscribe(function(){return t.scrollBottom.emit()}))},F.prototype.scroll=function(e){var t,n,e=e.offset,e=void 0===e?0:e;this.isVirtual&&[Zl(this.table),Zl(this.lockedTable)].filter(V).forEach((t=this.renderer,n=e,function(e){return t.setStyle(e,"transform","translateY("+n+"px)")})),this.resetNavigationViewport()},F.prototype.onContainerScroll=function(e){e=e.scrollTop;this.containerScrollTop=e,this.lockedContainer&&(this.lockedContainer.nativeElement.scrollTop=e)},F.prototype.handleInitialScrollToSkip=function(){var t=this,n=this.changeNotification.changes.pipe(G.filter(function(){return t.isVirtual&&0<t.skip&&0<t.total})).subscribe(function(e){t.scrollTo({row:t.skip}),n.unsubscribe()})},F.prototype.handleRowSync=function(){function e(){return V(n.lockedContainer)}var n=this;return b.merge(this.changeNotification.changes,this.groupsService.changes.pipe(G.filter(e),G.switchMapTo(n.ngZone.onStable.asObservable().pipe(G.take(1)))),this.editService.changed,this.resizeService.changes,this.columnResizingService.changes.pipe(G.filter(function(e){return"end"===e.type})),this.supportService.changes).pipe(G.tap(function(){return n.resetNavigationViewport()}),G.filter(e)).subscribe(function(){var e=n.container.nativeElement.scrollTop,t=n.container.nativeElement.scrollLeft;n.syncRowsHeight(),n.syncContainerHeight(),n.lockedContainer.nativeElement.scrollTop=n.container.nativeElement.scrollTop=e,n.container.nativeElement.scrollLeft=t,n.resizeSensors.forEach(function(e){return e.acceptSize()})})},F.prototype.handleRowNavigationLocked=function(){var n=this;return this.navigationService.changes.pipe(G.filter(function(){return V(n.lockedContainer)}),G.delay(10)).subscribe(function(e){var t;n.lockedLeafColumns.length<=e.prevColIndex&&e.colIndex<n.lockedLeafColumns.length&&((t=n.navigationService.activeCell)&&t.colIndex+t.colSpan<e.prevColIndex&&(n.container.nativeElement.scrollLeft=0))})},F.prototype.scrollToVirtualRow=function(e){V(this.detailTemplate)&&(e=Math.floor(e/2));e=this.rowHeightService.offset(e);this.container.nativeElement.scrollTop=e,this.resetNavigationViewport()},F.prototype.scrollTo=function(e){var t,n=e.row,o=e.column;if(pe(n)&&(this.isVirtual?this.scrollToVirtualRow(n):(t=$l(n,this.table.nativeElement.rows))&&(this.container.nativeElement.scrollTop=t.offsetTop)),pe(o))if(o-=this.lockedLeafColumns.length,this.virtualColumns){for(var r=this.columns.leafColumnsToRender,i=0,a=0;a<o;a++)i+=r[a].width||0;var e=this.lockedLeafColumns.length?0:32*this.groups.length+(this.detailTemplate&&0<o?32:0);this.container.nativeElement.scrollLeft=this.normalizeScrollLeft(i+e)}else 0==o&&this.detailTemplate?this.container.nativeElement.scrollLeft=this.normalizeScrollLeft(0):(n=$l(0,this.table.nativeElement.rows))&&(e=n.cells,(t=Hl(o,e,function(e){return Ve(e,Il)?0:parseInt(e.getAttribute("colSpan"),10)||1}))&&(this.container.nativeElement.scrollLeft=this.elementScrollLeft(t)))},F.prototype.resetNavigationViewport=function(){var e,t,n,o,r,i,a;this.container&&this.navigationService.tableEnabled&&this.navigationService.needsViewport()&&0!==this.data.length&&(t=(e=(t=this.container.nativeElement).scrollTop)+t.offsetHeight,a=this.rowHeightService.index(e),n=this.rowHeightService.index(t),r=(o=this.rowHeightService.offset(n))+this.rowHeight>t,0<n&&r&&n--,r=a,i=n,V(this.detailTemplate)&&(r*=2,i*=2,this.rowHeightService.offset(a)+this.rowHeight<e&&r++,a=this.rowHeightService.height(n),!this.rowHeightService.isExpanded(n)||t<o+a||i++),this.navigationService.setViewport(r,i))},F.prototype.cleanupScroller=function(){this.scrollerSubscription&&this.scrollerSubscription.unsubscribe(),this.scroller&&this.scroller.destroy()},F.prototype.initResizeService=function(){this.resizeService.connect(b.merge.apply(void 0,g([],k(this.resizeSensors.map(function(e){return e.resize})))))},F.prototype.syncContainerHeight=function(){var n,r=this;[Zl(this.lockedContainer)].filter(V).map(function(e){e.style.height="";var t,n,o=r.container.nativeElement.offsetHeight;return t=r.table,n=r.container,t.nativeElement.offsetWidth>n.nativeElement.clientWidth&&(o-=r.supportService.scrollbarWidth),{el:e,height:o}}).forEach((n=this.renderer,function(e){var t=e.el,e=e.height;return n.setStyle(t,"height",e+"px")}))},F.prototype.updateViewportColumns=function(e){var t=this.columns.nonLockedLeafColumns.toArray(),n=e||this.calculateViewportColumns(),o=n.startIdx,r=n.endIdx,i=n.offset,a=Math.max(0,o-1),n=Math.min(r+1,t.length-1);if(a<o)for(var s=o-1;a<=s;s--)i-=t[s].width;var l,c=t.slice(a,n+1);this.viewportColumnsWidth=c.reduce(function(e,t){return e+t.width},0),0<a&&((l=new y).width=i,c.unshift(l)),this.viewportColumns=new P.QueryList,this.viewportColumns.reset(c),this.columnsStartIdx=a,this.columnsEndIdx=n,this.columnInfo.columnRangeChange.emit({start:a,end:n,offset:i}),e||this.updateColumnViewport(o,r)},F.prototype.handleColumnScroll=function(){var e,t=this,n=this.container.nativeElement.scrollLeft;this.scrollLeft!==n&&(this.scrollLeft=n,e=this.calculateViewportColumns(),this.updateColumnViewport(e.startIdx,e.endIdx),(e.startIdx<this.columnsStartIdx||this.columnsEndIdx<e.endIdx)&&(Ie(this.columnUpdateFrame),this.columnUpdateFrame=Ce(function(){t.ngZone.run(function(){t.updateViewportColumns(e),t.changeDetector.markForCheck()})})))},F.prototype.updateColumnViewport=function(e,t){for(var n=this.lockedLeafColumns.length,o=this.nonLockedLeafColumns.toArray(),e=n+e+(this.detailTemplate&&0<e?1:0),r=n+t+(this.detailTemplate?1:0),i=0;i<o.length;i++){var a=o[i];a.isSpanColumn&&(r+=a.childColumns.length)}this.navigationService.setColumnViewport(e,r)},F.prototype.calculateViewportColumns=function(){for(var e,t=this.container.nativeElement,n=t.scrollLeft,t=t.clientWidth,o=this.columns.nonLockedLeafColumns.toArray(),r=this.normalizeScrollLeft(n),i=r+t,a=0,s=0,l=0,c=0;c<o.length;c++){var p=o[c];if(s+=p.width||0,void 0===e&&r<s&&(e=c,l=s-(p.width||0)),i<=s){a=c;break}}return{startIdx:e,endIdx:a=!a&&0<c?o.length-1:a,offset:l}},F.prototype.viewportWidthChange=function(){return this.viewportColumns.toArray().reduce(function(e,t){return e+t.width},0)!==this.viewportColumnsWidth},F.prototype.normalizeScrollLeft=function(e){return this.rtl?(t=e,n=this.container.nativeElement,o=this.supportService.rtlScrollLeft,r=t,o<0?r=-t:0<o&&(r=n.scrollWidth-n.offsetWidth-t),r):e;var t,n,o,r},F.prototype.elementScrollLeft=function(e){return this.rtl?this.normalizeScrollLeft(this.container.nativeElement.scrollWidth-e.offsetLeft-e.offsetWidth):e.offsetLeft};var Ul=F;function F(e,t,n,o,r,i,a,s,l,c,p,u,d,g,m,h,f,y){var v=this;this.changeNotification=n,this.suspendService=o,this.groupsService=r,this.ngZone=i,this.renderer=a,this.scrollSyncService=s,this.resizeService=l,this.editService=c,this.supportService=p,this.navigationService=u,this.localization=g,this.columnResizingService=m,this.changeDetector=h,this.pdfService=f,this.columnInfo=y,this.groups=[],this.skip=0,this.columns=new po(function(){return[]}),this.selectable=!1,this.groupable=!1,this.trackBy=Or,this.contentScroll=new P.EventEmitter,this.pageChange=new P.EventEmitter,this.scrollBottom=new P.EventEmitter,this.columnsStartIdx=0,this.resizeSensors=new P.QueryList,this.dispatcher=new b.Subject,this.containerScrollTop=0,this.scrollLeft=0,this.rtl=!1,this.scroller=e(this.dispatcher),this.subscriptions=t.changes.subscribe(function(e){return v.detailExpand(e)}),this.subscriptions.add(d.requests.subscribe(function(e){return v.scrollTo(e)}))}Ul.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ul,deps:[{token:ql},{token:ct},{token:ko},{token:Go},{token:Je},{token:i.NgZone},{token:i.Renderer2},{token:Bo},{token:$o},{token:u},{token:Bn},{token:m},{token:Qe},{token:a.LocalizationService},{token:Wo},{token:i.ChangeDetectorRef},{token:Fo},{token:C}],target:i.ɵɵFactoryTarget.Component}),Ul.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Ul,selector:"kendo-grid-list",inputs:{data:"data",groups:"groups",total:"total",rowHeight:"rowHeight",stickyRowHeight:"stickyRowHeight",detailRowHeight:"detailRowHeight",take:"take",skip:"skip",columns:"columns",detailTemplate:"detailTemplate",noRecordsTemplate:"noRecordsTemplate",selectable:"selectable",groupable:"groupable",filterable:"filterable",rowClass:"rowClass",rowSticky:"rowSticky",loading:"loading",trackBy:"trackBy",virtualColumns:"virtualColumns",isVirtual:"isVirtual",cellLoadingTemplate:"cellLoadingTemplate",loadingTemplate:"loadingTemplate"},outputs:{contentScroll:"contentScroll",pageChange:"pageChange",scrollBottom:"scrollBottom"},host:{properties:{"class.k-grid-container":"this.hostClass","attr.role":"this.hostRole"}},providers:[{provide:ql,useValue:_l}],viewQueries:[{propertyName:"container",first:!0,predicate:["container"],descendants:!0,static:!0},{propertyName:"lockedContainer",first:!0,predicate:["lockedContainer"],descendants:!0},{propertyName:"lockedTable",first:!0,predicate:["lockedTable"],descendants:!0},{propertyName:"table",first:!0,predicate:["table"],descendants:!0,static:!0},{propertyName:"resizeSensors",predicate:p.ResizeSensorComponent,descendants:!0}],usesOnChanges:!0,ngImport:i,template:'\n <div #lockedContainer class="k-grid-content-locked" role="presentation"\n *ngIf="isLocked" [style.width.px]="lockedWidth" tabindex="-1"\n [kendoEventsOutsideAngular]="{\n keydown: lockedKeydown,\n scroll: lockedScroll,\n mousewheel: lockedMousewheel,\n DOMMouseScroll: lockedMousewheel\n }"\n [scope]="this"\n >\n <div role="presentation" class="k-grid-table-wrap">\n <table [locked]="true" #lockedTable class="k-grid-table" role="presentation" [style.width.px]="lockedWidth">\n <colgroup kendoGridColGroup\n role="presentation"\n [groups]="groups"\n [columns]="$any(lockedLeafColumns)"\n [detailTemplate]="detailTemplate">\n </colgroup>\n <tbody kendoGridTableBody\n role="presentation"\n [groups]="groups"\n [isLocked]="true"\n [data]="data"\n [noRecordsText]="\'\'"\n [columns]="$any(lockedLeafColumns)"\n [totalColumnsCount]="leafColumns.length"\n [detailTemplate]="detailTemplate"\n [showGroupFooters]="showFooter"\n [skip]="skip"\n [selectable]="selectable"\n [trackBy]="trackBy"\n [filterable]="filterable"\n [rowClass]="rowClass"\n [isLoading]="loading"\n [isVirtual]="isVirtual"\n [cellLoadingTemplate]="cellLoadingTemplate">\n </tbody>\n </table>\n <kendo-resize-sensor></kendo-resize-sensor>\n </div>\n <div class="k-height-container" role="presentation">\n <div [style.height.px]="totalHeight"></div>\n </div>\n </div><div #container\n class="k-grid-content k-virtual-content"\n role="presentation" tabindex="-1"\n [kendoGridResizableContainer]="lockedLeafColumns.length > 0"\n [lockedWidth]="lockedWidth + 1">\n <div role="presentation" class="k-grid-table-wrap">\n <table [style.width.px]="nonLockedWidth" #table [virtualColumns]="virtualColumns"\n class="k-grid-table" role="presentation">\n <colgroup kendoGridColGroup\n role="presentation"\n [groups]="isLocked ? [] : groups"\n [columns]="$any(nonLockedColumnsToRender)"\n [detailTemplate]="detailTemplate">\n </colgroup>\n <tbody kendoGridTableBody\n role="presentation"\n [skipGroupDecoration]="isLocked"\n [data]="data"\n [groups]="groups"\n [showGroupFooters]="showFooter"\n [columns]="$any(nonLockedColumnsToRender)"\n [allColumns]="$any(nonLockedLeafColumns)"\n [detailTemplate]="detailTemplate"\n [noRecordsTemplate]="noRecordsTemplate"\n [lockedColumnsCount]="lockedLeafColumns.length"\n [totalColumnsCount]="leafColumns.length"\n [skip]="skip"\n [selectable]="selectable"\n [trackBy]="trackBy"\n [filterable]="filterable"\n [rowClass]="rowClass"\n [rowSticky]="rowSticky"\n [virtualColumns]="virtualColumns"\n [isLoading]="loading"\n [isVirtual]="isVirtual"\n [cellLoadingTemplate]="cellLoadingTemplate">\n </tbody>\n </table>\n <kendo-resize-sensor *ngIf="isLocked"></kendo-resize-sensor>\n </div>\n <kendo-resize-sensor *ngIf="isLocked || virtualColumns"></kendo-resize-sensor>\n <div class="k-height-container" role="presentation">\n <div [style.height.px]="totalHeight"></div>\n </div>\n <div *ngIf="virtualColumns" class="k-width-container" role="presentation">\n <div [style.width.px]="totalWidth"></div>\n </div>\n </div>\n ',isInline:!0,components:[{type:ki,selector:"[kendoGridColGroup]",inputs:["columns","groups","detailTemplate"]},{type:l,selector:"[kendoGridTableBody]",inputs:["columns","allColumns","groups","detailTemplate","noRecordsTemplate","data","skip","selectable","filterable","noRecordsText","isLocked","isLoading","isVirtual","cellLoadingTemplate","skipGroupDecoration","showGroupFooters","lockedColumnsCount","totalColumnsCount","virtualColumns","trackBy","rowSticky","rowClass"]},{type:X.ResizeSensorComponent,selector:"kendo-resize-sensor",inputs:["rateLimit"],outputs:["resize"]}],directives:[{type:s.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{type:X.EventsOutsideAngularDirective,selector:"[kendoEventsOutsideAngular]",inputs:["kendoEventsOutsideAngular","scope"]},{type:Nl,selector:"table",inputs:["locked","virtualColumns"]},{type:Al,selector:"[kendoGridResizableContainer]",inputs:["lockedWidth","kendoGridResizableContainer"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ul,decorators:[{type:P.Component,args:[{providers:[{provide:ql,useValue:_l}],selector:"kendo-grid-list",template:'\n <div #lockedContainer class="k-grid-content-locked" role="presentation"\n *ngIf="isLocked" [style.width.px]="lockedWidth" tabindex="-1"\n [kendoEventsOutsideAngular]="{\n keydown: lockedKeydown,\n scroll: lockedScroll,\n mousewheel: lockedMousewheel,\n DOMMouseScroll: lockedMousewheel\n }"\n [scope]="this"\n >\n <div role="presentation" class="k-grid-table-wrap">\n <table [locked]="true" #lockedTable class="k-grid-table" role="presentation" [style.width.px]="lockedWidth">\n <colgroup kendoGridColGroup\n role="presentation"\n [groups]="groups"\n [columns]="$any(lockedLeafColumns)"\n [detailTemplate]="detailTemplate">\n </colgroup>\n <tbody kendoGridTableBody\n role="presentation"\n [groups]="groups"\n [isLocked]="true"\n [data]="data"\n [noRecordsText]="\'\'"\n [columns]="$any(lockedLeafColumns)"\n [totalColumnsCount]="leafColumns.length"\n [detailTemplate]="detailTemplate"\n [showGroupFooters]="showFooter"\n [skip]="skip"\n [selectable]="selectable"\n [trackBy]="trackBy"\n [filterable]="filterable"\n [rowClass]="rowClass"\n [isLoading]="loading"\n [isVirtual]="isVirtual"\n [cellLoadingTemplate]="cellLoadingTemplate">\n </tbody>\n </table>\n <kendo-resize-sensor></kendo-resize-sensor>\n </div>\n <div class="k-height-container" role="presentation">\n <div [style.height.px]="totalHeight"></div>\n </div>\n </div><div #container\n class="k-grid-content k-virtual-content"\n role="presentation" tabindex="-1"\n [kendoGridResizableContainer]="lockedLeafColumns.length > 0"\n [lockedWidth]="lockedWidth + 1">\n <div role="presentation" class="k-grid-table-wrap">\n <table [style.width.px]="nonLockedWidth" #table [virtualColumns]="virtualColumns"\n class="k-grid-table" role="presentation">\n <colgroup kendoGridColGroup\n role="presentation"\n [groups]="isLocked ? [] : groups"\n [columns]="$any(nonLockedColumnsToRender)"\n [detailTemplate]="detailTemplate">\n </colgroup>\n <tbody kendoGridTableBody\n role="presentation"\n [skipGroupDecoration]="isLocked"\n [data]="data"\n [groups]="groups"\n [showGroupFooters]="showFooter"\n [columns]="$any(nonLockedColumnsToRender)"\n [allColumns]="$any(nonLockedLeafColumns)"\n [detailTemplate]="detailTemplate"\n [noRecordsTemplate]="noRecordsTemplate"\n [lockedColumnsCount]="lockedLeafColumns.length"\n [totalColumnsCount]="leafColumns.length"\n [skip]="skip"\n [selectable]="selectable"\n [trackBy]="trackBy"\n [filterable]="filterable"\n [rowClass]="rowClass"\n [rowSticky]="rowSticky"\n [virtualColumns]="virtualColumns"\n [isLoading]="loading"\n [isVirtual]="isVirtual"\n [cellLoadingTemplate]="cellLoadingTemplate">\n </tbody>\n </table>\n <kendo-resize-sensor *ngIf="isLocked"></kendo-resize-sensor>\n </div>\n <kendo-resize-sensor *ngIf="isLocked || virtualColumns"></kendo-resize-sensor>\n <div class="k-height-container" role="presentation">\n <div [style.height.px]="totalHeight"></div>\n </div>\n <div *ngIf="virtualColumns" class="k-width-container" role="presentation">\n <div [style.width.px]="totalWidth"></div>\n </div>\n </div>\n '}]}],ctorParameters:function(){return[{type:void 0,decorators:[{type:P.Inject,args:[ql]}]},{type:ct},{type:ko},{type:Go},{type:Je},{type:i.NgZone},{type:i.Renderer2},{type:Bo},{type:$o},{type:u},{type:Bn},{type:m},{type:Qe},{type:a.LocalizationService},{type:Wo},{type:i.ChangeDetectorRef},{type:Fo},{type:C}]},propDecorators:{hostClass:[{type:P.HostBinding,args:["class.k-grid-container"]}],hostRole:[{type:P.HostBinding,args:["attr.role"]}],data:[{type:P.Input}],groups:[{type:P.Input}],total:[{type:P.Input}],rowHeight:[{type:P.Input}],stickyRowHeight:[{type:P.Input}],detailRowHeight:[{type:P.Input}],take:[{type:P.Input}],skip:[{type:P.Input}],columns:[{type:P.Input}],detailTemplate:[{type:P.Input}],noRecordsTemplate:[{type:P.Input}],selectable:[{type:P.Input}],groupable:[{type:P.Input}],filterable:[{type:P.Input}],rowClass:[{type:P.Input}],rowSticky:[{type:P.Input}],loading:[{type:P.Input}],trackBy:[{type:P.Input}],virtualColumns:[{type:P.Input}],isVirtual:[{type:P.Input}],cellLoadingTemplate:[{type:P.Input}],loadingTemplate:[{type:P.Input}],contentScroll:[{type:P.Output}],pageChange:[{type:P.Output}],scrollBottom:[{type:P.Output}],container:[{type:P.ViewChild,args:["container",{static:!0}]}],lockedContainer:[{type:P.ViewChild,args:["lockedContainer",{static:!1}]}],lockedTable:[{type:P.ViewChild,args:["lockedTable",{static:!1}]}],table:[{type:P.ViewChild,args:["table",{static:!0}]}],resizeSensors:[{type:P.ViewChildren,args:[p.ResizeSensorComponent]}]}});Object.defineProperty(Xl.prototype,"footerClass",{get:function(){return!this.scrollable},enumerable:!1,configurable:!0}),Object.defineProperty(Xl.prototype,"columnsToRender",{get:function(){return Cn(this.columns||[])},enumerable:!1,configurable:!0}),Xl.prototype.logicalColumnIndex=function(e){e=e.leafIndex;return V(e)?e+(V(this.detailTemplate)?1:0):-1},Xl.prototype.addStickyStyles=function(e){var t=this.columnInfoService.stickyColumnsStyles(e);return Object.assign(Object.assign({},e.style),t)};var Ql=Xl;function Xl(e){this.columnInfoService=e,this.columns=[],this.groups=[],this.lockedColumnsCount=0,this.logicalRowIndex=0}Ql.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ql,deps:[{token:C}],target:i.ɵɵFactoryTarget.Component}),Ql.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Ql,selector:"[kendoGridFooter]",inputs:{columns:"columns",groups:"groups",detailTemplate:"detailTemplate",scrollable:"scrollable",lockedColumnsCount:"lockedColumnsCount",logicalRowIndex:"logicalRowIndex"},host:{properties:{"class.k-grid-footer":"this.footerClass"}},ngImport:i,template:'\n <ng-container>\n <tr\n [class.k-footer-template]="true"\n kendoGridLogicalRow\n [logicalRowIndex]="logicalRowIndex"\n [logicalSlaveRow]="lockedColumnsCount > 0"\n [logicalCellsCount]="columns.length"\n [logicalSlaveCellsCount]="columns.length - lockedColumnsCount"\n >\n <td\n [class.k-group-cell]="true"\n role="presentation"\n *ngFor="let g of groups">\n </td>\n <td\n [class.k-hierarchy-cell]="true"\n role="presentation"\n *ngIf="detailTemplate?.templateRef">\n </td>\n <td\n *ngFor="let column of columnsToRender; let columnIndex = index"\n kendoGridLogicalCell\n [logicalRowIndex]="logicalRowIndex"\n [logicalColIndex]="logicalColumnIndex(column)"\n role="columnfooter"\n aria-selected="false"\n [class.k-grid-footer-sticky]="column.sticky"\n [ngClass]="column.footerClass"\n [ngStyle]="column.sticky ? addStickyStyles(column) : column.footerStyle">\n <ng-template\n [templateContext]="{\n templateRef: column.footerTemplateRef,\n columnIndex: lockedColumnsCount + columnIndex,\n column: column,\n $implicit: column\n }">\n </ng-template>\n </td>\n </tr>\n </ng-container>\n ',isInline:!0,directives:[{type:fa,selector:"[kendoGridLogicalRow]",inputs:["logicalRowIndex","logicalSlaveRow","logicalCellsCount","logicalSlaveCellsCount","dataRowIndex","dataItem"]},{type:s.NgForOf,selector:"[ngFor][ngForOf]",inputs:["ngForOf","ngForTrackBy","ngForTemplate"]},{type:s.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{type:Ui,selector:"[kendoGridLogicalCell]",inputs:["logicalColIndex","logicalRowIndex","logicalSlaveCell","colIndex","colSpan","rowSpan","groupItem","dataRowIndex","dataItem","detailExpandCell","headerLabelText"]},{type:s.NgClass,selector:"[ngClass]",inputs:["class","ngClass"]},{type:s.NgStyle,selector:"[ngStyle]",inputs:["ngStyle"]},{type:qi,selector:"[templateContext]",inputs:["templateContext"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ql,decorators:[{type:P.Component,args:[{selector:"[kendoGridFooter]",template:'\n <ng-container>\n <tr\n [class.k-footer-template]="true"\n kendoGridLogicalRow\n [logicalRowIndex]="logicalRowIndex"\n [logicalSlaveRow]="lockedColumnsCount > 0"\n [logicalCellsCount]="columns.length"\n [logicalSlaveCellsCount]="columns.length - lockedColumnsCount"\n >\n <td\n [class.k-group-cell]="true"\n role="presentation"\n *ngFor="let g of groups">\n </td>\n <td\n [class.k-hierarchy-cell]="true"\n role="presentation"\n *ngIf="detailTemplate?.templateRef">\n </td>\n <td\n *ngFor="let column of columnsToRender; let columnIndex = index"\n kendoGridLogicalCell\n [logicalRowIndex]="logicalRowIndex"\n [logicalColIndex]="logicalColumnIndex(column)"\n role="columnfooter"\n aria-selected="false"\n [class.k-grid-footer-sticky]="column.sticky"\n [ngClass]="column.footerClass"\n [ngStyle]="column.sticky ? addStickyStyles(column) : column.footerStyle">\n <ng-template\n [templateContext]="{\n templateRef: column.footerTemplateRef,\n columnIndex: lockedColumnsCount + columnIndex,\n column: column,\n $implicit: column\n }">\n </ng-template>\n </td>\n </tr>\n </ng-container>\n '}]}],ctorParameters:function(){return[{type:C}]},propDecorators:{columns:[{type:P.Input}],groups:[{type:P.Input}],detailTemplate:[{type:P.Input}],scrollable:[{type:P.Input}],lockedColumnsCount:[{type:P.Input}],logicalRowIndex:[{type:P.Input}],footerClass:[{type:P.HostBinding,args:["class.k-grid-footer"]}]}});Object.defineProperty(Jl.prototype,"loadingText",{get:function(){return this.localization.get("loading")},enumerable:!1,configurable:!0});var Yl=Jl;function Jl(e){this.localization=e,this.hostClass=!0}Yl.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Yl,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),Yl.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Yl,selector:"[kendoGridLoading]",inputs:{loadingTemplate:"loadingTemplate"},host:{properties:{"class.k-loading-mask":"this.hostClass"}},ngImport:i,template:'\n <ng-container *ngIf="!loadingTemplate">\n <span class="k-loading-text">{{ loadingText }}</span>\n <div class="k-loading-image"></div>\n <div class="k-loading-color"></div>\n </ng-container>\n <ng-template *ngIf="loadingTemplate" [ngTemplateOutlet]="loadingTemplate?.templateRef">\n </ng-template>\n ',isInline:!0,directives:[{type:s.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{type:s.NgTemplateOutlet,selector:"[ngTemplateOutlet]",inputs:["ngTemplateOutletContext","ngTemplateOutlet"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Yl,decorators:[{type:P.Component,args:[{selector:"[kendoGridLoading]",template:'\n <ng-container *ngIf="!loadingTemplate">\n <span class="k-loading-text">{{ loadingText }}</span>\n <div class="k-loading-image"></div>\n <div class="k-loading-color"></div>\n </ng-container>\n <ng-template *ngIf="loadingTemplate" [ngTemplateOutlet]="loadingTemplate?.templateRef">\n </ng-template>\n '}]}],ctorParameters:function(){return[{type:a.LocalizationService}]},propDecorators:{hostClass:[{type:P.HostBinding,args:["class.k-loading-mask"]}],loadingTemplate:[{type:P.Input}]}});c(tc,ec=M.ComponentMessages);var ec,O=tc;function tc(){return null!==ec&&ec.apply(this,arguments)||this}O.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:O,deps:null,target:i.ɵɵFactoryTarget.Directive}),O.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:O,selector:"kendo-grid-messages-base",inputs:{groupPanelEmpty:"groupPanelEmpty",noRecords:"noRecords",pagerLabel:"pagerLabel",pagerFirstPage:"pagerFirstPage",pagerLastPage:"pagerLastPage",pagerPreviousPage:"pagerPreviousPage",pagerNextPage:"pagerNextPage",pagerPage:"pagerPage",pagerItemsPerPage:"pagerItemsPerPage",pagerOf:"pagerOf",pagerItems:"pagerItems",pagerPageNumberInputTitle:"pagerPageNumberInputTitle",filter:"filter",filterInputLabel:"filterInputLabel",filterMenuTitle:"filterMenuTitle",filterMenuOperatorsDropDownLabel:"filterMenuOperatorsDropDownLabel",filterMenuLogicDropDownLabel:"filterMenuLogicDropDownLabel",filterEqOperator:"filterEqOperator",filterNotEqOperator:"filterNotEqOperator",filterIsNullOperator:"filterIsNullOperator",filterIsNotNullOperator:"filterIsNotNullOperator",filterIsEmptyOperator:"filterIsEmptyOperator",filterIsNotEmptyOperator:"filterIsNotEmptyOperator",filterStartsWithOperator:"filterStartsWithOperator",filterContainsOperator:"filterContainsOperator",filterNotContainsOperator:"filterNotContainsOperator",filterEndsWithOperator:"filterEndsWithOperator",filterGteOperator:"filterGteOperator",filterGtOperator:"filterGtOperator",filterLteOperator:"filterLteOperator",filterLtOperator:"filterLtOperator",filterIsTrue:"filterIsTrue",filterIsFalse:"filterIsFalse",filterBooleanAll:"filterBooleanAll",filterAfterOrEqualOperator:"filterAfterOrEqualOperator",filterAfterOperator:"filterAfterOperator",filterBeforeOperator:"filterBeforeOperator",filterBeforeOrEqualOperator:"filterBeforeOrEqualOperator",filterFilterButton:"filterFilterButton",filterClearButton:"filterClearButton",filterAndLogic:"filterAndLogic",filterOrLogic:"filterOrLogic",loading:"loading",gridLabel:"gridLabel",columnMenu:"columnMenu",setColumnPosition:"setColumnPosition",columns:"columns",lock:"lock",unlock:"unlock",stick:"stick",unstick:"unstick",sortable:"sortable",sortAscending:"sortAscending",sortDescending:"sortDescending",sortedAscending:"sortedAscending",sortedDescending:"sortedDescending",sortedDefault:"sortedDefault",columnsApply:"columnsApply",columnsReset:"columnsReset",detailExpand:"detailExpand",detailCollapse:"detailCollapse",filterDateToday:"filterDateToday",filterDateToggle:"filterDateToggle",filterNumericDecrement:"filterNumericDecrement",filterNumericIncrement:"filterNumericIncrement",selectionCheckboxLabel:"selectionCheckboxLabel",selectAllCheckboxLabel:"selectAllCheckboxLabel",groupCollapse:"groupCollapse",groupExpand:"groupExpand"},usesInheritance:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:O,decorators:[{type:P.Directive,args:[{selector:"kendo-grid-messages-base"}]}],propDecorators:{groupPanelEmpty:[{type:P.Input}],noRecords:[{type:P.Input}],pagerLabel:[{type:P.Input}],pagerFirstPage:[{type:P.Input}],pagerLastPage:[{type:P.Input}],pagerPreviousPage:[{type:P.Input}],pagerNextPage:[{type:P.Input}],pagerPage:[{type:P.Input}],pagerItemsPerPage:[{type:P.Input}],pagerOf:[{type:P.Input}],pagerItems:[{type:P.Input}],pagerPageNumberInputTitle:[{type:P.Input}],filter:[{type:P.Input}],filterInputLabel:[{type:P.Input}],filterMenuTitle:[{type:P.Input}],filterMenuOperatorsDropDownLabel:[{type:P.Input}],filterMenuLogicDropDownLabel:[{type:P.Input}],filterEqOperator:[{type:P.Input}],filterNotEqOperator:[{type:P.Input}],filterIsNullOperator:[{type:P.Input}],filterIsNotNullOperator:[{type:P.Input}],filterIsEmptyOperator:[{type:P.Input}],filterIsNotEmptyOperator:[{type:P.Input}],filterStartsWithOperator:[{type:P.Input}],filterContainsOperator:[{type:P.Input}],filterNotContainsOperator:[{type:P.Input}],filterEndsWithOperator:[{type:P.Input}],filterGteOperator:[{type:P.Input}],filterGtOperator:[{type:P.Input}],filterLteOperator:[{type:P.Input}],filterLtOperator:[{type:P.Input}],filterIsTrue:[{type:P.Input}],filterIsFalse:[{type:P.Input}],filterBooleanAll:[{type:P.Input}],filterAfterOrEqualOperator:[{type:P.Input}],filterAfterOperator:[{type:P.Input}],filterBeforeOperator:[{type:P.Input}],filterBeforeOrEqualOperator:[{type:P.Input}],filterFilterButton:[{type:P.Input}],filterClearButton:[{type:P.Input}],filterAndLogic:[{type:P.Input}],filterOrLogic:[{type:P.Input}],loading:[{type:P.Input}],gridLabel:[{type:P.Input}],columnMenu:[{type:P.Input}],setColumnPosition:[{type:P.Input}],columns:[{type:P.Input}],lock:[{type:P.Input}],unlock:[{type:P.Input}],stick:[{type:P.Input}],unstick:[{type:P.Input}],sortable:[{type:P.Input}],sortAscending:[{type:P.Input}],sortDescending:[{type:P.Input}],sortedAscending:[{type:P.Input}],sortedDescending:[{type:P.Input}],sortedDefault:[{type:P.Input}],columnsApply:[{type:P.Input}],columnsReset:[{type:P.Input}],detailExpand:[{type:P.Input}],detailCollapse:[{type:P.Input}],filterDateToday:[{type:P.Input}],filterDateToggle:[{type:P.Input}],filterNumericDecrement:[{type:P.Input}],filterNumericIncrement:[{type:P.Input}],selectionCheckboxLabel:[{type:P.Input}],selectAllCheckboxLabel:[{type:P.Input}],groupCollapse:[{type:P.Input}],groupExpand:[{type:P.Input}]}});c(rc,nc=O);var nc,oc=rc;function rc(e){var t=nc.call(this)||this;return t.service=e,t}oc.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:oc,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Directive}),oc.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:oc,selector:"[kendoGridLocalizedMessages]",providers:[{provide:O,useExisting:P.forwardRef(function(){return oc})}],usesInheritance:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:oc,decorators:[{type:P.Directive,args:[{providers:[{provide:O,useExisting:P.forwardRef(function(){return oc})}],selector:"[kendoGridLocalizedMessages]"}]}],ctorParameters:function(){return[{type:a.LocalizationService}]}});function ic(e){bn(e.toArray()).filter(un).filter(function(e){var e=e.field;return!(!ye(e=e)&&Dn.test(e)&&"."!==e[0]&&"."!==e[e.length-1])}).forEach(function(e){e=e.field;return console.warn("\n Grid column field name '"+e+'\' does not look like a valid JavaScript identifier.\n Identifiers can contain only alphanumeric characters (including "$" or "_"), and may not start with a digit.\n Please use only valid identifier names to ensure error-free operation.\n ')})}function ac(e,t){return $e(e,Me("k-grid-edit-cell"))&&$e(e,ze("kendo-grid"))===t}Object.defineProperty(R.prototype,"skip",{get:function(){return this._skip},set:function(e){"number"==typeof e&&0<=e&&(this._skip=e)},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"sort",{get:function(){return this._sort},set:function(e){ae(e)&&(this._sort=e)},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"group",{get:function(){return this._group},set:function(e){ae(e)&&(this._group=e)},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"showTopToolbar",{get:function(){return this.toolbarTemplate&&-1<["top","both"].indexOf(this.toolbarTemplate.position)},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"showBottomToolbar",{get:function(){return this.toolbarTemplate&&-1<["bottom","both"].indexOf(this.toolbarTemplate.position)},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"isLocked",{get:function(){return 0<this.lockedLeafColumns.length},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"showTopPager",{get:function(){var e=this.pageable.position;return!this.isVirtual&&!1!==this.pageable&&-1<["top","both"].indexOf(e)},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"showBottomPager",{get:function(){var e=this.pageable.position;return!this.isVirtual&&!1!==this.pageable&&"top"!==e},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"hasPager",{get:function(){return this.showTopPager||this.showBottomPager},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"showGroupPanel",{get:function(){return this.groupable&&!1!==this.groupable.enabled},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"groupableEmptyText",{get:function(){return this.groupable.emptyText},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"marqueeSelection",{get:function(){return this.selectionService.enableMarquee||this.cellSelectionService.enableMarquee},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"navigable",{get:function(){return this._navigable},set:function(e){this._navigable="boolean"==typeof e?e?["table","pager"]:[]:e},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"navigatable",{get:function(){return this.navigable},set:function(e){this.navigable=e},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"rowClass",{get:function(){return this._rowClass},set:function(e){if(P.isDevMode&&"function"!=typeof e)throw new Error("rowClass must be a function, but received "+JSON.stringify(e)+".");this._rowClass=e},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"rowSticky",{get:function(){return this._rowSticky},set:function(e){if(P.isDevMode&&V(e)&&"function"!=typeof e)throw new Error("rowSticky must be a function, but received "+JSON.stringify(e)+".");V(e)&&(this._rowSticky=e)},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"rowSelected",{get:function(){return this._rowSelected},set:function(e){if(P.isDevMode&&"function"!=typeof e)throw new Error("rowSelected must be a function, but received "+JSON.stringify(e)+".");this._rowSelected=e},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"cellSelected",{get:function(){return this._cellSelected},set:function(e){if(P.isDevMode&&"function"!=typeof e)throw new Error("cellSelected must be a function, but received "+JSON.stringify(e)+".");this._cellSelected=e},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"activeCell",{get:function(){return this.navigationService.activeCell},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"activeRow",{get:function(){return this.navigationService.activeRow},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"dir",{get:function(){return this.direction},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"hostClasses",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"lockedClasses",{get:function(){return 0<this.lockedLeafColumns.length},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"virtualClasses",{get:function(){return this.isVirtual},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"noScrollbarClass",{get:function(){return 0===this.scrollbarWidth},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"detailTemplate",{get:function(){return this._customDetailTemplate||(this.detailTemplateChildren?this.detailTemplateChildren.first:void 0)},set:function(e){this._customDetailTemplate=e},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"cellLoadingTemplate",{get:function(){return this._cellLoadingTemplate?this._customDetailTemplate:this.cellLoadingTemplateChildren?this.cellLoadingTemplateChildren.first:void 0},set:function(e){this._cellLoadingTemplate=e},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"loadingTemplate",{get:function(){return this._loadingTemplate||(this.loadingTemplateChildren?this.loadingTemplateChildren.first:void 0)},set:function(e){this._loadingTemplate=e},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"noRecordsTemplate",{get:function(){return this._customNoRecordsTemplate||(this.noRecordsTemplateChildren?this.noRecordsTemplateChildren.first:void 0)},set:function(e){this._customNoRecordsTemplate=e},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"pagerTemplate",{get:function(){return this._customPagerTemplate||(this.pagerTemplateChildren?this.pagerTemplateChildren.first:void 0)},set:function(e){this._customPagerTemplate=e},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"toolbarTemplate",{get:function(){return this._customToolbarTemplate||(this.toolbarTemplateChildren?this.toolbarTemplateChildren.first:void 0)},set:function(e){this._customToolbarTemplate=e},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"scrollbarWidth",{get:function(){return this.supportService.scrollbarWidth},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"headerPadding",{get:function(){if(le())return"";var e=Math.max(0,this.scrollbarWidth)+"px";return"0 "+(this.rtl?0:e)+" 0 "+(this.rtl?e:0)},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"hasGroupFooters",{get:function(){return this.columnsContainer.hasGroupFooter},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"showFooter",{get:function(){return this.columnsContainer.hasFooter},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"showGroupFooters",{get:function(){return this.groupable&&this.groupable.showFooter},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"ariaRowCount",{get:function(){return this.totalColumnLevels+1+this.view.total},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"ariaColCount",{get:function(){return this.columnsContainer.leafColumnsToRender.length},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"navigation",{get:function(){return this.navigationService},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"isVirtual",{get:function(){return"virtual"===this.scrollable},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"isScrollable",{get:function(){return"none"!==this.scrollable},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"visibleColumns",{get:function(){return this.columnsContainer.allColumns},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"lockedColumns",{get:function(){return this.columnsContainer.lockedColumns},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"nonLockedColumns",{get:function(){return this.columnsContainer.nonLockedColumns},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"lockedLeafColumns",{get:function(){return this.columnsContainer.lockedLeafColumns},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"stickyColumns",{get:function(){return this.columns.filter(function(e){return e.sticky})},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"nonLockedLeafColumns",{get:function(){return this.columnsContainer.nonLockedLeafColumns},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"leafColumns",{get:function(){return this.columnsContainer.leafColumns},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"totalColumnLevels",{get:function(){return this.columnsContainer.totalLevels},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"headerColumns",{get:function(){return this.virtualColumns&&!this.pdfService.exporting?this.viewportColumns:this.nonLockedColumns},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"headerLeafColumns",{get:function(){return this.virtualColumns&&!this.pdfService.exporting?this.leafViewportColumns:this.nonLockedLeafColumns},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"lockedWidth",{get:function(){var e=32*this.group.length;return bn(this.lockedLeafColumns.toArray()).reduce(function(e,t){return e+(t.width||0)},e)},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"nonLockedWidth",{get:function(){if(!this.rtl&&this.lockedLeafColumns.length||this.virtualColumns)return this.virtualColumns?this.leafViewportColumns.reduce(function(e,t){return e+(t.width||0)},0):this.columnsContainer.unlockedWidth},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"selectableSettings",{get:function(){if(this.selectionService)return this.selectionService.options},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"columnMenuTemplate",{get:function(){var e=this.columnMenuTemplates.first;return e?e.templateRef:null},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"totalCount",{get:function(){return this.isVirtual||!V(this.pageSize)?this.view.total:this.pageSize},enumerable:!1,configurable:!0}),R.prototype.expandRow=function(e){this.toggleDetailRowLegacy(e,!0)},R.prototype.collapseRow=function(e){this.toggleDetailRowLegacy(e,!1)},R.prototype.expandGroup=function(e){this.toggleGroupRowLegacy(e,!0)},R.prototype.collapseGroup=function(e){this.toggleGroupRowLegacy(e,!1)},R.prototype.resetGroupsState=function(){this.groupsService.reset()},R.prototype.expandGroupChildren=function(e){this.groupsService.expandChildren(e)},R.prototype.onDataChange=function(){this.autoGenerateColumns(),this.changeNotification.notify(),this.pdfService.dataChanged.emit(),V(this.defaultSelection)&&this.defaultSelection.reset(),this.initSelectionService(),this.updateNavigationMetadata()},R.prototype.ngOnChanges=function(e){var t=this;p.isChanged("data",e)&&this.onDataChange(),this.lockedLeafColumns.length&&p.anyChanged(["pageSize","skip","sort","group"],e)&&this.changeNotification.notify(),p.anyChanged(["pageSize","scrollable","virtualColumns"],e)&&this.updateNavigationMetadata(),p.isChanged("virtualColumns",e)&&(this.viewportColumns=this.leafViewportColumns=null),p.isChanged("height",e,!1)&&this.renderer.setStyle(this.wrapper.nativeElement,"height",this.height+"px"),p.isChanged("filterable",e)&&this.lockedColumns.length&&this.syncHeaderHeight(this.ngZone.onStable.asObservable().pipe(G.take(1))),p.anyChanged(["columnMenu","sortable","filterable"],e,!1)&&(this.columnMenuOptions=this.columnMenu&&Object.assign({filter:Boolean(this.filterable),sort:Boolean(this.sortable)},this.columnMenu)),p.isChanged("scrollable",e)&&this.isScrollable&&this.ngZone.onStable.pipe(G.take(1)).subscribe(function(){return t.attachScrollSync()}),p.isChanged("selectable",e)&&this.shouldResetSelection(e.selectable)&&(this.defaultSelection?this.defaultSelection.reset():this.selectionDirective&&this.selectionDirective.reset()),p.isChanged("groupable",e,!0)&&(this.groupable=e.groupable.currentValue),p.isChanged("navigable",e,!0)&&(this.navigationService.enabled?this.navigationService.setActiveSections(this.navigable):this.navigable.length&&this.navigationService.init(this.navigationMetadata(),this.navigable))},R.prototype.ngAfterViewInit=function(){this.attachScrollSync(),this.attachElementEventHandlers(),this.updateNavigationMetadata(),this.applyAutoSize()},R.prototype.ngAfterContentChecked=function(){this.columnsContainer.refresh(),this.verifySettings(),this.initSelectionService()},R.prototype.ngAfterContentInit=function(){var e=this;this.shouldGenerateColumns=!this.columns.length,this.autoGenerateColumns(),this.columnList=new fo(this.columns),this.columnsChangeSubscription=this.columns.changes.subscribe(function(){return e.verifySettings()})},R.prototype.ngOnInit=function(){this.navigable.length&&this.navigationService.init(this.navigationMetadata(),this.navigable)},R.prototype.ngOnDestroy=function(){this.selectionSubscription&&this.selectionSubscription.unsubscribe(),this.stateChangeSubscription&&this.stateChangeSubscription.unsubscribe(),this.groupExpandCollapseSubscription&&this.groupExpandCollapseSubscription.unsubscribe(),this.detailsServiceSubscription&&this.detailsServiceSubscription.unsubscribe(),this.editServiceSubscription&&this.editServiceSubscription.unsubscribe(),this.pdfSubscription&&this.pdfSubscription.unsubscribe(),this.filterSubscription&&this.filterSubscription.unsubscribe(),this.sortSubscription&&this.sortSubscription.unsubscribe(),this.columnsChangeSubscription&&this.columnsChangeSubscription.unsubscribe(),this.excelSubscription&&this.excelSubscription.unsubscribe(),this.columnsContainerChangeSubscription&&this.columnsContainerChangeSubscription.unsubscribe(),this.scrollSyncService&&this.scrollSyncService.destroy(),this.detachElementEventHandlers&&this.detachElementEventHandlers(),this.defaultSelection&&this.defaultSelection.destroy(),this.cellClickSubscription&&this.cellClickSubscription.unsubscribe(),this.footerChangeSubscription&&this.footerChangeSubscription.unsubscribe(),this.ngZone=null,this.columnResizingSubscription&&this.columnResizingSubscription.unsubscribe(),this.columnReorderSubscription&&this.columnReorderSubscription.unsubscribe(),this.localizationSubscription&&this.localizationSubscription.unsubscribe(),this.columnVisibilityChangeSubscription&&this.columnVisibilityChangeSubscription.unsubscribe(),this.columnLockedChangeSubscription&&this.columnLockedChangeSubscription.unsubscribe(),this.columnStickyChangeSubscription&&this.columnStickyChangeSubscription.unsubscribe(),this.focusElementSubscription&&this.focusElementSubscription.unsubscribe(),this.columnRangeChangeSubscription.unsubscribe()},R.prototype.attachScrollSync=function(){var t=this;le()||(this.header&&this.scrollSyncService.registerEmitter(this.header.nativeElement,"header"),this.footer&&(this.footerChangeSubscription=se(this.footer).subscribe(function(e){return e.map(function(e){return e.nativeElement}).filter(V).forEach(function(e){return t.scrollSyncService.registerEmitter(e,"footer")})})))},Object.defineProperty(R.prototype,"ariaLabel",{get:function(){return this.localization.get("gridLabel")},enumerable:!1,configurable:!0}),R.prototype.editRow=function(e,t,n){this.editService.editRow(e,t),V(n)&&n.skipFocus||(t='tr[data-kendo-grid-item-index="'+e+'"]',e=n&&n.columnIndex,n=isNaN(e)?t:t+' td[data-kendo-grid-column-index="'+e+'"]',this.focusEditElement(n))},R.prototype.closeRow=function(e){this.editService.close(e)},R.prototype.addRow=function(e){var t,n;e instanceof z.FormGroup||(t=Object.keys(e).reduce((n=e,function(e,t){return e[t]=new z.FormControl(n[t]),e}),{}),e=new z.FormGroup(t)),this.editService.addRow(e),this.focusEditElement(".k-grid-add-row")},R.prototype.editCell=function(e,t,n){t=this.columnInstance(t);this.editService.editCell(e,t,n),this.focusEditElement(".k-grid-edit-cell")},R.prototype.closeCell=function(){return!this.editService.closeCell()},R.prototype.cancelCell=function(){this.editService.cancelCell()},R.prototype.isEditing=function(){return this.editService.isEditing()},R.prototype.isEditingCell=function(){return this.editService.isEditingCell()},R.prototype.saveAsPDF=function(){this.pdfService.save(this)},R.prototype.drawPDF=function(){(r=new Promise(function(t,n){e=function(e){return t(e),r},o=function(e){return n(e),r}})).resolve=e,r.reject=o;var e,o,r,t=r;return this.pdfService.draw(this,t),t},R.prototype.saveAsExcel=function(){this.excelService.save(this)},R.prototype.autoFitColumn=function(e){this.columnResizingService.autoFit(e)},R.prototype.autoFitColumns=function(e){var t,e=(e=void 0===e?this.columns:e)instanceof P.QueryList?e.toArray():e;(t=this.columnResizingService).autoFit.apply(t,g([],k(e)))},R.prototype.notifyPageChange=function(e,t){"list"===e&&!this.isVirtual||this.pageChange.emit(t)},R.prototype.notifyScrollBottom=function(){var e=this;"none"!==this.scrollable&&p.hasObservers(this.scrollBottom)&&this.ngZone.run(function(){return e.scrollBottom.emit({sender:e})})},R.prototype.focusEditElement=function(t){var n=this;this.focusElementSubscription&&this.focusElementSubscription.unsubscribe(),this.ngZone.runOutsideAngular(function(){n.focusElementSubscription=n.ngZone.onStable.asObservable().pipe(G.take(1)).subscribe(function(){var e=n.wrapper.nativeElement;!n.setEditFocus(e.querySelector(t))&&n.isLocked&&n.setEditFocus(e.querySelector(".k-grid-content "+t)),n.focusElementSubscription=null})})},R.prototype.focus=function(){return this.assertNavigable(),this.navigationService.focusCell()},R.prototype.focusCell=function(e,t){return this.assertNavigable(),this.navigationService.focusCell(e,t)},R.prototype.focusNextCell=function(e){return void 0===e&&(e=!0),this.assertNavigable(),this.navigationService.focusNextCell(e)},R.prototype.focusPrevCell=function(e){return void 0===e&&(e=!0),this.assertNavigable(),this.navigationService.focusPrevCell(e)},R.prototype.scrollTo=function(e){this.scrollRequestService.scrollTo(e)},R.prototype.reorderColumn=function(e,t,n){void 0===n&&(n={before:!1});t=On(this.allColumnsForLevel(e.level))[t];!t||t.isLocked&&!e.isLocked&&1===this.columnsContainer.nonLockedColumns.length||(hn(t)&&!n.before&&(t=t.childColumns.last),this.reorder({before:n.before,source:e,target:t}))},Object.defineProperty(R.prototype,"isDetailExpanded",{get:function(){return this.detailsService.userCallback},set:function(e){this.detailsService.userCallback=e},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"isGroupExpanded",{get:function(){return this.groupsService.userCallback},set:function(e){this.groupsService.userCallback=e,this.groupable=V(e)},enumerable:!1,configurable:!0}),R.prototype.reorder=function(e){var o=this,r=e.target,i=e.source,a=e.before,s=e.changeContainer;this.ngZone.run(function(){var e=On(o.allColumnsForLevel(i.level)),t=e.indexOf(r),n=(r.parent&&r.parent.isSpanColumn&&(t=e.indexOf(r.parent),a&&(r=r.parent)),e.indexOf(i)),n=(s&&(a&&0<t&&n<t?t--:!a&&t<n&&t++),new br({column:i,oldIndex:n,newIndex:t}));o.columnReorder.emit(n),n.isDefaultPrevented()||(s&&o.columnLockedChange.emit(new Fr([i])),o.updateColumnIndices({columnsForLevel:e,source:i,target:r,before:a}),i.locked!==r.locked&&(i.locked=r.locked),o.columnsContainer.refresh(),o.changeDetectorRef.markForCheck())})},R.prototype.updateColumnIndices=function(e){for(var t=e.columnsForLevel,n=e.source,o=e.target,r=e.before,i=kn(t),a=i.indexOf(n),s=0,l=0,c=1,p=(n.isSpanColumn&&(c+=n.childColumns.length),0);p<i.length;){var u=i[p];if(u===o)(s=r?l:l+1)===(u.orderIndex=l=r?l+c:l)+1&&(l+=c);else{if(u===n){p+=c;continue}u.orderIndex=l}l++,p++}for(p=a;p<a+c;p++)i[p].orderIndex=s++;this.updateIndicesForLevel(n.level+1)},R.prototype.updateIndicesForLevel=function(e){var t=this.allColumnsForLevel(e-1),n=[];On(t).forEach(function(e){e.isColumnGroup&&n.push.apply(n,g([],k(e.childrenArray.sort(function(e,t){return e.orderIndex-t.orderIndex}))))}),kn(n).map(function(e,t){return e.orderIndex=t}),e<this.columnList.totalColumnLevels()&&this.updateIndicesForLevel(e+1)},R.prototype.allColumnsForLevel=function(t){return this.columnList.toArray().filter(function(e){return e.level===t})},R.prototype.initSelectionService=function(){var t=this;if(!this.selectable)return this.selectionService.ngOnDestroy(),void this.cellSelectionService.ngOnDestroy();this.selectionDirective||V(this.defaultSelection)||(this.defaultSelection=new lo(this.ctx,this.changeDetectorRef));var e=this.selectable.cell,n=e?this.cellSelectionService:this.selectionService,o=e?this.selectionService:this.cellSelectionService;o.active&&(o.ngOnDestroy(),n.addSubscriptions(),o.active=!1),n.active=!0,n.init({cellSelected:e?this.cellSelected:void 0,rowSelected:e?void 0:this.rowSelected,selectable:this.selectable,view:this.view,columns:e?this.columnList.toArray():void 0}),this.selectionDirective||this.selectableSettings.enabled||this.defaultSelection.reset(),this.selectionSubscription&&this.selectionSubscription.unsubscribe(),this.selectionSubscription=e?this.cellSelectionService.changes.subscribe(function(e){t.ngZone.run(function(){return t.selectionChange.emit(e)})}):this.selectionService.changes.subscribe(function(e){t.ngZone.run(function(){return t.selectionChange.emit(e)})})},R.prototype.setEditFocus=function(e){if(e)return this.navigationService.tryFocus(e)},R.prototype.columnInstance=function(t){var e="number"==typeof t?this.columnsContainer.lockedLeafColumns.toArray().concat(this.columnsContainer.nonLockedLeafColumns.toArray())[t]:"string"==typeof t?this.columnList.filter(function(e){return e.field===t})[0]:t;if(!e&&P.isDevMode())throw new Error("Invalid column "+t);return e},R.prototype.verifySettings=function(){if(P.isDevMode()){var e=this.lockedLeafColumns.length||this.columnMenu&&this.columnMenu.lock,t=this.stickyColumns.length||this.columnMenu&&this.columnMenu.stick;if(e&&this.detailTemplate)throw new Error("Having both detail template and locked columns is not supported.");if(t&&this.detailTemplate)throw new Error("Having both detail template and sticky columns is not supported.");if(this.lockedLeafColumns.length&&!this.nonLockedLeafColumns.length)throw new Error("There should be at least one non-locked column");if((e||this.virtualColumns)&&bn(this.columnList.toArray()).filter(function(e){return!e.width&&!Rn(e)}).length)throw new Error((e?"Locked":"Virtual")+" columns feature requires all columns to have set width.");if(e&&!this.isScrollable)throw new Error("Locked columns are only supported when scrolling is enabled.");if(this.columnList.filter(Rn).filter(function(e){return!e.hasChildren}).length)throw new Error("ColumnGroupComponent should contain ColumnComponent or CommandColumnComponent.");if(this.columnList.filter(function(e){return e.locked&&e.parent&&!e.parent.isLocked}).length)throw new Error("Locked child columns require their parent columns to be locked.");if((this.rowHeight||this.detailRowHeight)&&!this.isVirtual)throw new Error("Row height and detail row height settings require virtual scrolling mode to be enabled.");if(t&&bn(this.columnList.toArray()).filter(function(e){return!e.width&&!Rn(e)}).length)throw new Error("Sticky columns feature requires all columns to have set width.");if(t&&!this.isScrollable)throw new Error("Sticky columns are only supported when scrolling is enabled.");if(t&&this.virtualColumns)throw new Error("Having both sticky columns and column virtualization is not supported.");if(this.rowSticky&&"virtual"===this.scrollable)throw new Error('Having both sticky rows and row virtualization (scrollable="virtual") is not supported.');if(this.rowSticky&&this.groupable)throw new Error("Having both sticky rows and grouping is not supported.");ic(this.columnList)}},R.prototype.autoGenerateColumns=function(){this.shouldGenerateColumns&&!this.columns.length&&this.view.length&&this.columns.reset(Object.keys(this.view.at(0)).map(function(e){var t=new gn;return t.field=e,t}))},R.prototype.attachStateChangesEmitter=function(){var t=this;this.stateChangeSubscription=b.merge(this.pageChange.pipe(G.map(function(e){return{filter:t.filter,group:t.group,skip:e.skip,sort:t.sort,take:e.take}})),this.sortChange.pipe(G.map(function(e){return{filter:t.filter,group:t.group,skip:t.skip,sort:e,take:t.pageSize}})),this.groupChange.pipe(G.map(function(e){return{filter:t.filter,group:e,skip:t.skip,sort:t.sort,take:t.pageSize}})),this.filterChange.pipe(G.map(function(e){return{filter:e,group:t.group,skip:0,sort:t.sort,take:t.pageSize}}))).subscribe(function(e){t.closeCell(),t.cancelCell(),t.dataStateChange.emit(e)})},R.prototype.attachEditHandlers=function(){this.editService&&(this.editServiceSubscription=this.editService.changes.subscribe(this.emitCRUDEvent.bind(this)))},R.prototype.emitCRUDEvent=function(e){var t=e.action,n=e.rowIndex,o=e.formGroup,n=this.view.at(n-this.skip);switch("add"===t||n||(n=o.value),this.closeCell(),Object.assign(e,{dataItem:n,sender:this}),t){case"add":this.add.emit(e);break;case"cancel":this.cancel.emit(e);break;case"edit":this.edit.emit(e);break;case"remove":this.remove.emit(e);break;case"save":this.save.emit(e);break;case"cellClose":this.cellClose.emit(e)}},R.prototype.attachDomEventHandlers=function(){var t=this;this.cellClickSubscription=this.domEvents.cellClick.subscribe(function(e){t.cellClick.emit(Object.assign({sender:t},e))})},R.prototype.attachElementEventHandlers=function(){var p,u,d=this;le()||(p=this.wrapper.nativeElement,u=this.ariaRoot.nativeElement,this.ngZone.runOutsideAngular(function(){var e=d.resizeCheck.bind(d),t=d.renderer.listen("window","resize",e),n=d.renderer.listen("window","orientationchange",e),o=d.renderer.listen("document","click",function(e){var t=document.activeElement;!d.editService.shouldCloseCell()||$e(e.target,Me("k-animation-container k-grid-ignore-click"))||t&&($e(t,Me("k-animation-container"))||ac(t,d.wrapper.nativeElement))||d.editService.closeCell(e)}),r=d.renderer.listen("window","blur",function(e){var t=document.activeElement;!t||ze("input")(t)&&"file"===t.type&&ac(t,d.wrapper.nativeElement)||d.editService.closeCell(e),d.domEvents.windowBlur.emit(e)}),i=d.renderer.listen(p,"click",function(e){d.domEvents.click.emit(e)}),a=d.renderer.listen(p,"keydown",function(e){d.domEvents.keydown.emit(e)}),s=!1,l=d.renderer.listen(u,"focusin",function(e){d.domEvents.focus.emit(e),s||(d.domEvents.focusIn.emit(e),s=!0)}),c=d.renderer.listen(u,"focusout",function(e){var t=e.relatedTarget||document.activeElement;$e(t,function(e){return e===u})||(d.domEvents.focusOut.emit(e),s=!1)});d.detachElementEventHandlers=function(){t(),n(),o(),r(),i(),a(),l(),c()}}))},R.prototype.matchesMedia=function(e){return this.responsiveService.matchesMedia(e.media)},R.prototype.resizeCheck=function(){var n,o=this;window.innerWidth!==this.cachedWindowWidth&&(this.cachedWindowWidth=window.innerWidth,n=!1,this.columnList.filterHierarchy(function(e){var t=o.matchesMedia(e);return e.matchesMedia!==t&&(n=!0,e.matchesMedia=t),e.isVisible}),n&&this.ngZone.run(function(){o.changeDetectorRef.markForCheck()}))},R.prototype.emitPDFExportEvent=function(){var e=new Ro;this.pdfExport.emit(e),e.isDefaultPrevented()||this.saveAsPDF()},R.prototype.syncHeaderHeight=function(e){var t=this;return e.pipe(G.filter(function(){return V(t.lockedHeader)})).subscribe(function(){return Io(t.lockedHeader.nativeElement.children[0],t.header.nativeElement.children[0])})},R.prototype.columnsContainerChange=function(){var e=this;this.columnsContainerChangeSubscription=this.syncHeaderHeight(this.columnsContainer.changes.pipe(G.filter(function(){return 0<e.lockedColumns.length}),G.switchMap(function(){return e.ngZone.onStable.asObservable().pipe(G.take(1))})))},R.prototype.handleColumnResize=function(){var t=this,e=this.columnResizingService.changes;this.columnResizingSubscription=e.pipe(G.tap(function(e){"start"===e.type?t.renderer.addClass(t.wrapper.nativeElement,"k-grid-column-resizing"):"end"===e.type&&t.renderer.removeClass(t.wrapper.nativeElement,"k-grid-column-resizing")}),G.filter(function(e){return"start"===e.type}),G.switchMap(function(){return e.pipe(G.takeUntil(e.pipe(G.filter(function(e){return"triggerAutoFit"===e.type}))),G.filter(function(e){return"end"===e.type}))})).subscribe(this.notifyResize.bind(this))},R.prototype.notifyResize=function(e){e=e.resizedColumns.filter(function(e){return fe(e.column.resizable)&&!e.column.isColumnGroup}).map(function(e){return{column:e.column,newWidth:e.column.width,oldWidth:e.oldWidth}});this.columnResize.emit(e)},R.prototype.assertNavigable=function(){if(P.isDevMode()&&!this.navigationService.enabled)throw new Error("The Grid should be configured as navigable to control focus")},R.prototype.navigationMetadata=function(){var e=this.isVirtual,t=this.pageSize,t=e?this.view.total:t,n=this.editService.hasNewItem?1:0,o=Qo(this.filterable)?1:0,o=this.totalColumnLevels+1+o+n;return new Cr(t,o,e,this.hasPager,V(this.detailTemplate),this.wrapper,this.virtualColumns,this.columnsContainer)},R.prototype.updateNavigationMetadata=function(){this.navigationService.metadata=this.navigationMetadata()},R.prototype.applyAutoSize=function(){var t=this,n=this.columns.filter(function(e){return t.autoSize?!1!==e.autoSize:e.autoSize});0<n.length&&this.ngZone.onStable.pipe(G.take(1)).subscribe(function(e){return t.autoFitColumns(n)})},R.prototype.onColumnRangeChange=function(e){for(var t=this.viewportColumns=[],n=this.columnsContainer.nonLockedLeafColumns.toArray().slice(e.start,e.end+1),o=0;o<n.length;o++){for(var r=n[o];r.parent;)r=r.parent;for(var i=[r];i.length;)r=i.shift(),t.push(r),r.isColumnGroup&&i.unshift.apply(i,r.childrenArray);for(var a=t[t.length-1],r=n[o];r!==a&&o<n.length;)r=n[++o]}if(0<e.start){for(var s=n[0],l=e.offset,c=t[0],p=0;c!==s;)l-=c.isColumnGroup?0:c.width,c=t[++p];if(0<l)for(var u=this.columnsContainer.totalLevels,d=void 0,o=0;o<=u;o++){var g=new(o<u?Pn:y)(d),d=g;g.title=" ",g.width=l,t.unshift(g)}}this.leafViewportColumns=t.filter(function(e){return!e.isColumnGroup})},R.prototype.toggleDetailRowLegacy=function(e,t){var n="function"==typeof this.isDetailExpanded;if(P.isDevMode()&&n)throw new Error("The expandRow and collapseRow methods should not be called when using the kendoGridDetailsExpandBy directive or the isDetailExpanded callback. These methods are provided only for backwards compatibility with legacy versions.");!P.isDevMode()&&n||this.detailsService.isExpanded(e,null)!==t&&this.detailsService.toggleRow(e,null)},R.prototype.toggleGroupRowLegacy=function(e,t){var n="function"==typeof this.isGroupExpanded;if(P.isDevMode()&&n)throw new Error("The expandGroup and collapseGroup methods should not be called when using the kendoGridExpandGroupBy directive or the isGroupExpanded callback. These methods are provided only for backwards compatibility with legacy versions.");!P.isDevMode()&&n||this.groupsService.isExpanded({groupIndex:e})!==t&&this.groupsService.toggleRow({index:e})},R.prototype.shouldResetSelection=function(e){var t=e.previousValue;if(!t)return!1;e=e.currentValue;return!e||!1===e.enabled||t.cell!==e.cell};var E=R;function R(e,t,n,o,r,i,a,s,l,c,p,u,d,g,m,h,f,y,v,b,k,C,I,x,w,S){var D,T,F,O,E,R,L=this;this.supportService=e,this.selectionService=t,this.cellSelectionService=n,this.wrapper=o,this.groupInfoService=r,this.groupsService=i,this.changeNotification=a,this.detailsService=s,this.editService=l,this.filterService=c,this.pdfService=p,this.responsiveService=u,this.renderer=d,this.excelService=g,this.ngZone=m,this.scrollSyncService=h,this.domEvents=f,this.columnResizingService=y,this.changeDetectorRef=v,this.columnReorderService=b,this.columnInfoService=k,this.navigationService=C,this.sortService=I,this.scrollRequestService=x,this.localization=w,this.ctx=S,this.data=[],this.scrollable="scrollable",this.selectable=!1,this.trackBy=Or,this.virtualColumns=!1,this.filterable=!1,this.sortable=!1,this.pageable=!1,this.groupable=!1,this.autoSize=!1,this.resizable=!1,this.reorderable=!1,this.loading=!1,this.columnMenu=!1,this.hideHeader=!1,this.filterChange=new P.EventEmitter,this.pageChange=new P.EventEmitter,this.groupChange=new _t(this.ngZone),this.sortChange=new P.EventEmitter,this.selectionChange=new P.EventEmitter,this.dataStateChange=new P.EventEmitter,this.groupExpand=new P.EventEmitter,this.groupCollapse=new P.EventEmitter,this.detailExpand=new P.EventEmitter,this.detailCollapse=new P.EventEmitter,this.edit=new P.EventEmitter,this.cancel=new P.EventEmitter,this.save=new P.EventEmitter,this.remove=new P.EventEmitter,this.add=new P.EventEmitter,this.cellClose=new P.EventEmitter,this.cellClick=new _t(this.ngZone),this.pdfExport=new P.EventEmitter,this.excelExport=new P.EventEmitter,this.columnResize=new _t(this.ngZone),this.columnReorder=new P.EventEmitter,this.columnVisibilityChange=new P.EventEmitter,this.columnLockedChange=new P.EventEmitter,this.columnStickyChange=new P.EventEmitter,this.scrollBottom=new P.EventEmitter,this.contentScroll=new P.EventEmitter,this.columns=new P.QueryList,this.footer=new P.QueryList,this.selectionDirective=!1,this.columnsContainer=new po(function(){return L.columnList.filterHierarchy(function(e){return e.matchesMedia=L.matchesMedia(e),e.isVisible})}),this.view=new oo(function(){return new to(L.data,L.skip,L.hasGroupFooters)}),this.shouldGenerateColumns=!0,this._sort=new Array,this._group=new Array,this._skip=0,this.cachedWindowWidth=0,this._rowSelected=null,this._cellSelected=null,this._navigable=[],this.rtl=!1,this._rowClass=function(){return null},N.validatePackage(Zt),(this.ctx.grid=this).localizationSubscription=this.localization.changes.subscribe(function(e){e=e.rtl;L.rtl=e,L.direction=L.rtl?"rtl":"ltr"}),this.groupInfoService.registerColumnsContainer(function(){return L.columnList}),this.columnInfoService.init(this.columnsContainer,function(){return L.columnList}),this.columnVisibilityChangeSubscription=this.columnInfoService.visibilityChange.subscribe(function(e){L.columnVisibilityChange.emit(new Tr(e))}),this.columnLockedChangeSubscription=this.columnInfoService.lockedChange.subscribe(function(e){L.columnLockedChange.emit(new Fr(e))}),this.columnStickyChangeSubscription=this.columnInfoService.stickyChange.subscribe(function(e){L.columnStickyChange.emit(new Er(e))}),this.groupExpandCollapseSubscription=(D=this.groupExpand,T=this.groupCollapse,F=function(e){return{group:e.group,groupIndex:e.groupIndex,parentGroup:e.parentGroup}},i.changes.pipe(G.filter(function(e){e=e.group;return V(e)})).subscribe(function(e){return(e.expand?D:T).emit(F(e))})),this.detailsServiceSubscription=(O=this.detailExpand,E=this.detailCollapse,R=function(e){return e},s.changes.pipe(G.filter(function(e){e=e.dataItem;return V(e)})).subscribe(function(e){return(e.expand?O:E).emit(R(e))})),this.filterSubscription=this.filterService.changes.subscribe(function(e){L.filterChange.emit(e)}),this.sortSubscription=this.sortService.changes.subscribe(function(e){L.sortChange.emit(e)}),this.attachStateChangesEmitter(),this.attachEditHandlers(),this.attachDomEventHandlers(),this.pdfSubscription=this.pdfService.exportClick.subscribe(this.emitPDFExportEvent.bind(this)),this.excelSubscription=this.excelService.exportClick.subscribe(this.saveAsExcel.bind(this)),this.columnsContainerChange(),this.handleColumnResize(),this.columnList=new fo(this.columns),this.columnReorderSubscription=this.columnReorderService.changes.subscribe(this.reorder.bind(this)),this.columnRangeChangeSubscription=this.columnInfoService.columnRangeChange.subscribe(this.onColumnRangeChange.bind(this))}E.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:E,deps:[{token:Bn},{token:Nt},{token:At},{token:i.ElementRef},{token:vo},{token:Je},{token:ko},{token:ct},{token:u},{token:v},{token:Fo},{token:Vo},{token:i.Renderer2},{token:zo},{token:i.NgZone},{token:Bo},{token:we},{token:Wo},{token:i.ChangeDetectorRef},{token:fr},{token:C},{token:m},{token:Sr},{token:Qe},{token:a.LocalizationService},{token:so}],target:i.ɵɵFactoryTarget.Component}),E.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:E,selector:"kendo-grid",inputs:{data:"data",pageSize:"pageSize",height:"height",rowHeight:"rowHeight",detailRowHeight:"detailRowHeight",skip:"skip",scrollable:"scrollable",selectable:"selectable",sort:"sort",trackBy:"trackBy",filter:"filter",group:"group",virtualColumns:"virtualColumns",filterable:"filterable",sortable:"sortable",pageable:"pageable",groupable:"groupable",navigable:"navigable",navigatable:"navigatable",autoSize:"autoSize",rowClass:"rowClass",rowSticky:"rowSticky",rowSelected:"rowSelected",cellSelected:"cellSelected",resizable:"resizable",reorderable:"reorderable",loading:"loading",columnMenu:"columnMenu",hideHeader:"hideHeader",isDetailExpanded:"isDetailExpanded",isGroupExpanded:"isGroupExpanded"},outputs:{filterChange:"filterChange",pageChange:"pageChange",groupChange:"groupChange",sortChange:"sortChange",selectionChange:"selectionChange",dataStateChange:"dataStateChange",groupExpand:"groupExpand",groupCollapse:"groupCollapse",detailExpand:"detailExpand",detailCollapse:"detailCollapse",edit:"edit",cancel:"cancel",save:"save",remove:"remove",add:"add",cellClose:"cellClose",cellClick:"cellClick",pdfExport:"pdfExport",excelExport:"excelExport",columnResize:"columnResize",columnReorder:"columnReorder",columnVisibilityChange:"columnVisibilityChange",columnLockedChange:"columnLockedChange",columnStickyChange:"columnStickyChange",scrollBottom:"scrollBottom",contentScroll:"contentScroll"},host:{properties:{"attr.dir":"this.dir","class.k-grid":"this.hostClasses","class.k-grid-lockedcolumns":"this.lockedClasses","class.k-grid-virtual":"this.virtualClasses","class.k-grid-no-scrollbar":"this.noScrollbarClass"}},providers:[Bn,M.LocalizationService,C,Nt,At,ct,Je,vo,ko,u,Fo,Go,{provide:wt,useValue:St},{provide:M.L10N_PREFIX,useValue:"kendo.grid"},v,Vo,Ze,zo,Bo,$o,Se,we,Wo,er,lr,dr,mr,fr,m,dt,f,Qe,Sr,so],queries:[{propertyName:"columns",predicate:y},{propertyName:"detailTemplateChildren",predicate:Vn},{propertyName:"cellLoadingTemplateChildren",predicate:Rr},{propertyName:"loadingTemplateChildren",predicate:Lr},{propertyName:"noRecordsTemplateChildren",predicate:xo},{propertyName:"pagerTemplateChildren",predicate:To},{propertyName:"toolbarTemplateChildren",predicate:jo},{propertyName:"columnMenuTemplates",predicate:nn}],viewQueries:[{propertyName:"lockedHeader",first:!0,predicate:["lockedHeader"],descendants:!0},{propertyName:"header",first:!0,predicate:["header"],descendants:!0},{propertyName:"ariaRoot",first:!0,predicate:["ariaRoot"],descendants:!0,static:!0},{propertyName:"footer",predicate:["footer"],descendants:!0}],exportAs:["kendoGrid"],usesOnChanges:!0,ngImport:i,template:'\n <ng-container kendoGridLocalizedMessages\n i18n-groupPanelEmpty="kendo.grid.groupPanelEmpty|The label visible in the Grid group panel when it is empty"\n groupPanelEmpty="Drag a column header and drop it here to group by that column"\n\n i18n-noRecords="kendo.grid.noRecords|The label visible in the Grid when there are no records"\n noRecords="No records available."\n\n i18n-pagerLabel="kendo.grid.pagerLabel|The label for the Grid pager"\n pagerLabel="{{ \'Page navigation, page {currentPage} of {totalPages}\' }}"\n\n i18n-pagerFirstPage="kendo.grid.pagerFirstPage|The label for the first page button in Grid pager"\n pagerFirstPage="Go to the first page"\n\n i18n-pagerPreviousPage="kendo.grid.pagerPreviousPage|The label for the previous page button in Grid pager"\n pagerPreviousPage="Go to the previous page"\n\n i18n-pagerNextPage="kendo.grid.pagerNextPage|The label for the next page button in Grid pager"\n pagerNextPage="Go to the next page"\n\n i18n-pagerLastPage="kendo.grid.pagerLastPage|The label for the last page button in Grid pager"\n pagerLastPage="Go to the last page"\n\n i18n-pagerPage="kendo.grid.pagerPage|The label before the current page number in the Grid pager"\n pagerPage="Page"\n\n i18n-pagerOf="kendo.grid.pagerOf|The label before the total pages number in the Grid pager"\n pagerOf="of"\n\n i18n-pagerItems="kendo.grid.pagerItems|The label after the total pages number in the Grid pager"\n pagerItems="items"\n\n i18n-pagerPageNumberInputTitle="kendo.grid.pagerPageNumberInputTitle|The label for the pager input in the Grid pager"\n pagerPageNumberInputTitle="Page Number"\n\n i18n-pagerItemsPerPage="kendo.grid.pagerItemsPerPage|The label for the page size chooser in the Grid pager"\n pagerItemsPerPage="items per page"\n\n i18n-filter="kendo.grid.filter|The label of the filter cell or icon"\n filter="Filter"\n\n i18n-filterInputLabel="kendo.grid.filterInputLabel|The label of the filter row and menu inputs"\n filterInputLabel="{{ \'{columnName} Filter\' }}"\n\n i18n-filterMenuTitle="kendo.grid.filterMenuTitle|The title of the filter menu icon"\n filterMenuTitle="{{ \'{columnName} Filter Menu\' }}"\n\n i18n-filterMenuOperatorsDropDownLabel="kendo.grid.filterMenuOperatorsDropDownLabel|The label of the filter menu operators dropdown"\n filterMenuOperatorsDropDownLabel="{{ \'{columnName} Filter Operators\' }}"\n\n i18n-filterMenuLogicDropDownLabel="kendo.grid.filterMenuLogicDropDownLabel|The label of the filter menu logic dropdown"\n filterMenuLogicDropDownLabel="{{ \'{columnName} Filter Logic\' }}"\n\n i18n-filterEqOperator="kendo.grid.filterEqOperator|The text of the equal filter operator"\n filterEqOperator="Is equal to"\n\n i18n-filterNotEqOperator="kendo.grid.filterNotEqOperator|The text of the not equal filter operator"\n filterNotEqOperator="Is not equal to"\n\n i18n-filterIsNullOperator="kendo.grid.filterIsNullOperator|The text of the is null filter operator"\n filterIsNullOperator="Is null"\n\n i18n-filterIsNotNullOperator="kendo.grid.filterIsNotNullOperator|The text of the is not null filter operator"\n filterIsNotNullOperator="Is not null"\n\n i18n-filterIsEmptyOperator="kendo.grid.filterIsEmptyOperator|The text of the is empty filter operator"\n filterIsEmptyOperator="Is empty"\n\n i18n-filterIsNotEmptyOperator="kendo.grid.filterIsNotEmptyOperator|The text of the is not empty filter operator"\n filterIsNotEmptyOperator="Is not empty"\n\n i18n-filterStartsWithOperator="kendo.grid.filterStartsWithOperator|The text of the starts with filter operator"\n filterStartsWithOperator="Starts with"\n\n i18n-filterContainsOperator="kendo.grid.filterContainsOperator|The text of the contains filter operator"\n filterContainsOperator="Contains"\n\n i18n-filterNotContainsOperator="kendo.grid.filterNotContainsOperator|The text of the does not contain filter operator"\n filterNotContainsOperator="Does not contain"\n\n i18n-filterEndsWithOperator="kendo.grid.filterEndsWithOperator|The text of the ends with filter operator"\n filterEndsWithOperator="Ends with"\n\n i18n-filterGteOperator="kendo.grid.filterGteOperator|The text of the greater than or equal filter operator"\n filterGteOperator="Is greater than or equal to"\n\n i18n-filterGtOperator="kendo.grid.filterGtOperator|The text of the greater than filter operator"\n filterGtOperator="Is greater than"\n\n i18n-filterLteOperator="kendo.grid.filterLteOperator|The text of the less than or equal filter operator"\n filterLteOperator="Is less than or equal to"\n\n i18n-filterLtOperator="kendo.grid.filterLtOperator|The text of the less than filter operator"\n filterLtOperator="Is less than"\n\n i18n-filterIsTrue="kendo.grid.filterIsTrue|The text of the IsTrue boolean filter option"\n filterIsTrue="Is True"\n\n i18n-filterIsFalse="kendo.grid.filterIsFalse|The text of the IsFalse boolean filter option"\n filterIsFalse="Is False"\n\n i18n-filterBooleanAll="kendo.grid.filterBooleanAll|The text of the (All) boolean filter option"\n filterBooleanAll="(All)"\n\n i18n-filterAfterOrEqualOperator="kendo.grid.filterAfterOrEqualOperator|The text of the after or equal date filter operator"\n filterAfterOrEqualOperator="Is after or equal to"\n\n i18n-filterAfterOperator="kendo.grid.filterAfterOperator|The text of the after date filter operator"\n filterAfterOperator="Is after"\n\n i18n-filterBeforeOperator="kendo.grid.filterBeforeOperator|The text of the before date filter operator"\n filterBeforeOperator="Is before"\n\n i18n-filterBeforeOrEqualOperator="kendo.grid.filterBeforeOrEqualOperator|The text of the before or equal date filter operator"\n filterBeforeOrEqualOperator="Is before or equal to"\n\n i18n-filterFilterButton="kendo.grid.filterFilterButton|The text of the filter button"\n filterFilterButton="Filter"\n\n i18n-filterClearButton="kendo.grid.filterClearButton|The text of the clear filter button"\n filterClearButton="Clear"\n\n i18n-filterAndLogic="kendo.grid.filterAndLogic|The text of the And filter logic"\n filterAndLogic="And"\n\n i18n-filterOrLogic="kendo.grid.filterOrLogic|The text of the Or filter logic"\n filterOrLogic="Or"\n\n i18n-loading="kendo.grid.loading|The loading text"\n loading="Loading"\n\n i18n-gridLabel="kendo.grid.gridLabel|The Grid aria-label"\n gridLabel="Data table"\n\n i18n-columnMenu="kendo.grid.columnMenu|The title of the column menu icon"\n columnMenu="{{ \'{columnName} Column Menu\' }}"\n\n i18n-columns="kendo.grid.columns|The text shown in the column menu for the columns item"\n columns="Columns"\n\n i18n-lock="kendo.grid.lock|The text shown in the column menu for the lock item"\n lock="Lock"\n\n i18n-unlock="kendo.grid.unlock|The text shown in the column menu for the unlock item"\n unlock="Unlock"\n\n i18n-setColumnPosition="kendo.grid.setColumnPosition|The text shown in the column menu for the set column position item"\n setColumnPosition="Set Column Position"\n\n i18n-stick="kendo.grid.stick|The text shown in the column menu for the stick item"\n stick="Stick"\n\n i18n-unstick="kendo.grid.unstick|The text shown in the column menu for the unstick item"\n unstick="Unstick"\n\n i18n-sortable="kendo.grid.sortable|The label of the sort icon"\n sortable="Sortable"\n\n i18n-sortAscending="kendo.grid.sortAscending|The text shown in the column menu for the sort ascending item"\n sortAscending="Sort Ascending"\n\n i18n-sortDescending="kendo.grid.sortDescending|The text shown in the column menu for the sort descending item"\n sortDescending="Sort Descending"\n\n i18n-sortedAscending="kendo.grid.sortedAscending|The status announcement when a column is sorted ascending"\n sortedAscending="Sorted Ascending"\n\n i18n-sortedDescending="kendo.grid.sortedDescending|The status announcement when a column is sorted descending"\n sortedDescending="Sorted Descending"\n\n i18n-sortedDefault="kendo.grid.sortedDefault|The status announcement when a column is no longer sorted"\n sortedDefault="Not Sorted"\n\n i18n-columnsApply="kendo.grid.columnsApply|The text shown in the column menu or column chooser for the columns apply button"\n columnsApply="Apply"\n\n i18n-columnsReset="kendo.grid.columnsReset|The text shown in the column menu or column chooser for the columns reset button"\n columnsReset="Reset"\n\n i18n-detailExpand="kendo.grid.detailExpand|The title of the expand icon of detail rows."\n detailExpand="Expand Details"\n\n i18n-detailCollapse="kendo.grid.detailCollapse|The title of the collapse icon of detail rows."\n detailCollapse="Collapse Details"\n\n i18n-filterDateToday="kendo.grid.filterDateToday|The text of the Today button of the Date filter."\n filterDateToday="TODAY"\n\n i18n-filterDateToggle="kendo.grid.filterDateToggle|The title of the Toggle button of the Date filter."\n filterDateToggle="Toggle Calendar"\n\n i18n-filterNumericDecrement="kendo.grid.filterNumericDecrement|The title of the Decrement button of the Numeric filter."\n filterNumericDecrement="Decrement"\n\n i18n-filterNumericIncrement="kendo.grid.filterNumericIncrement|The title of the Increment button of the Numeric filter."\n filterNumericIncrement="Increment"\n\n i18n-selectionCheckboxLabel="kendo.grid.selectionCheckboxLabel|The labels of the checkbox column checkboxes."\n selectionCheckboxLabel="Select Row"\n\n i18n-selectAllCheckboxLabel="kendo.grid.selectAllCheckboxLabel|The label of the checkbox column select all checkbox."\n selectAllCheckboxLabel="Select All Rows"\n\n i18n-groupCollapse="kendo.grid.groupCollapse|The text of the title and aria-label attributes applied to the collapse icon of group rows."\n groupCollapse="Collapse Group"\n\n i18n-groupExpand="kendo.grid.groupExpand|The text of the title and aria-label attributes applied to the expand icon of group rows."\n groupExpand="Expand Group"\n >\n </ng-container>\n <kendo-grid-toolbar class="k-toolbar k-grid-toolbar" *ngIf="showTopToolbar" position="top"></kendo-grid-toolbar>\n <kendo-pager\n *ngIf="showTopPager"\n [tabindex]="navigation.pagerEnabled ? \'0\' : \'-1\'"\n [attr.role]="navigation.pagerEnabled ? \'application\' : undefined"\n class="k-grid-pager-top"\n [template]="pagerTemplate"\n [pageSize]="pageSize"\n [total]="view.total"\n [skip]="skip"\n [options]="pageable"\n (pageChange)="notifyPageChange(\'pager\', $event)">\n </kendo-pager>\n <kendo-grid-group-panel\n *ngIf="showGroupPanel"\n [text]="groupableEmptyText"\n [groups]="group"\n (change)="groupChange.emit($event)">\n </kendo-grid-group-panel>\n <div #ariaRoot\n class="k-grid-aria-root"\n role="grid"\n [attr.aria-label]="ariaLabel"\n [attr.aria-rowcount]="ariaRowCount"\n [attr.aria-colcount]="ariaColCount">\n <ng-container *ngIf="isScrollable">\n <div *ngIf="!hideHeader"\n class="k-grid-header"\n role="presentation"\n [style.padding]="headerPadding">\n <div *ngIf="isLocked"\n #lockedHeader\n role="presentation"\n class="k-grid-header-locked"\n [style.width.px]="lockedWidth">\n <table [locked]="true" role="presentation" [style.width.px]="lockedWidth">\n <colgroup kendoGridColGroup\n role="presentation"\n [columns]="$any(lockedLeafColumns)"\n [groups]="group"\n [detailTemplate]="detailTemplate">\n </colgroup>\n <thead kendoGridHeader\n [resizable]="resizable"\n [scrollable]="true"\n [columns]="$any(lockedColumns)"\n [totalColumnLevels]="totalColumnLevels"\n [sort]="sort"\n [groups]="group"\n [filter]="filter"\n [filterable]="filterable"\n [groupable]="showGroupPanel"\n [reorderable]="reorderable"\n [sortable]="sortable"\n [columnMenu]="columnMenuOptions"\n [columnMenuTemplate]="columnMenuTemplate"\n [totalColumnsCount]="leafColumns.length"\n [detailTemplate]="detailTemplate"\n [tabIndex]="navigation.tableEnabled ? \'-1\' : \'0\'">\n </thead>\n </table>\n </div><div #header class="k-grid-header-wrap" role="presentation" data-scrollable\n [kendoGridResizableContainer]="lockedLeafColumns.length > 0"\n [lockedWidth]="lockedWidth + scrollbarWidth + 2">\n <table role="presentation" [style.width.px]="nonLockedWidth" [virtualColumns]="virtualColumns">\n <colgroup kendoGridColGroup\n role="presentation"\n [columns]="headerLeafColumns"\n [groups]="isLocked ? [] : group"\n [detailTemplate]="detailTemplate">\n </colgroup>\n <thead kendoGridHeader\n [resizable]="resizable"\n role="presentation"\n [scrollable]="true"\n [columns]="headerColumns"\n [totalColumnLevels]="totalColumnLevels"\n [sort]="sort"\n [filter]="filter"\n [filterable]="filterable"\n [groupable]="showGroupPanel"\n [reorderable]="reorderable"\n [groups]="isLocked ? [] : group"\n [sortable]="sortable"\n [columnMenu]="columnMenuOptions"\n [columnMenuTemplate]="columnMenuTemplate"\n [lockedColumnsCount]="lockedLeafColumns.length"\n [totalColumnsCount]="leafColumns.length"\n [detailTemplate]="detailTemplate"\n [tabIndex]="navigation.tableEnabled ? \'-1\' : \'0\'">\n </thead>\n </table>\n <div *ngIf="virtualColumns" class="k-width-container" role="presentation">\n <div [style.width.px]="columnsContainer.unlockedWidth"></div>\n </div>\n </div>\n </div>\n <kendo-grid-list\n [data]="$any(view)"\n [rowHeight]="rowHeight"\n [detailRowHeight]="detailRowHeight"\n [total]="totalCount"\n [take]="pageSize"\n [groups]="group"\n [groupable]="groupable"\n [skip]="skip"\n [trackBy]="trackBy"\n [columns]="columnsContainer"\n [selectable]="selectable"\n [filterable]="filterable"\n [detailTemplate]="detailTemplate"\n [noRecordsTemplate]="noRecordsTemplate"\n (pageChange)="notifyPageChange(\'list\', $event)"\n [rowClass]="rowClass"\n [rowSticky]="rowSticky"\n [loading]="loading"\n [isVirtual]="isVirtual"\n [cellLoadingTemplate]="cellLoadingTemplate?.templateRef"\n [loadingTemplate]="loadingTemplate?.templateRef"\n [virtualColumns]="virtualColumns"\n (scrollBottom)="notifyScrollBottom()"\n (contentScroll)="contentScroll.emit($event)"\n kendoDraggable\n kendoGridSelectionMarquee\n [enableDrag]="marqueeSelection"\n >\n </kendo-grid-list>\n <div\n *ngIf="showFooter"\n class="k-grid-footer"\n [style.padding]="headerPadding">\n <div\n *ngIf="lockedLeafColumns.length"\n class="k-grid-footer-locked"\n [style.width.px]="lockedWidth">\n <table role="presentation" [locked]="true" [style.width.px]="lockedWidth">\n <colgroup kendoGridColGroup\n [columns]="$any(lockedLeafColumns)"\n [groups]="group"\n [detailTemplate]="detailTemplate">\n </colgroup>\n <tfoot kendoGridFooter\n [scrollable]="true"\n [groups]="group"\n [columns]="$any(lockedLeafColumns)"\n [detailTemplate]="detailTemplate"\n [logicalRowIndex]="ariaRowCount">\n </tfoot>\n </table>\n </div><div #footer\n class="k-grid-footer-wrap" data-scrollable\n [kendoGridResizableContainer]="lockedLeafColumns.length > 0"\n [lockedWidth]="lockedWidth + scrollbarWidth + 3">\n <table role="presentation" [style.width.px]="nonLockedWidth">\n <colgroup kendoGridColGroup\n [columns]="$any(nonLockedLeafColumns)"\n [groups]="isLocked ? [] : group"\n [detailTemplate]="detailTemplate">\n </colgroup>\n <tfoot kendoGridFooter\n [logicalRowIndex]="ariaRowCount"\n [scrollable]="true"\n [groups]="isLocked ? [] : group"\n [columns]="$any(nonLockedLeafColumns)"\n [lockedColumnsCount]="lockedLeafColumns.length"\n [detailTemplate]="detailTemplate">\n </tfoot>\n </table>\n </div>\n </div>\n </ng-container>\n <ng-container *ngIf="!isScrollable">\n <table [style.table-layout]="resizable ? \'fixed\' : null">\n <colgroup kendoGridColGroup\n [columns]="$any(leafColumns)"\n [groups]="group"\n [detailTemplate]="detailTemplate">\n </colgroup>\n <thead kendoGridHeader\n *ngIf="!hideHeader"\n [resizable]="resizable"\n [scrollable]="false"\n [columns]="$any(visibleColumns)"\n [totalColumnLevels]="totalColumnLevels"\n [groups]="group"\n [groupable]="showGroupPanel"\n [reorderable]="reorderable"\n [sort]="sort"\n [sortable]="sortable"\n [filter]="filter"\n [filterable]="filterable"\n [columnMenu]="columnMenuOptions"\n [columnMenuTemplate]="columnMenuTemplate"\n [detailTemplate]="detailTemplate"\n [tabIndex]="navigation.tableEnabled ? \'-1\' : \'0\'">\n </thead>\n <tbody kendoGridTableBody\n [isLoading]="loading"\n [groups]="group"\n [data]="$any(view)"\n [skip]="skip"\n [columns]="$any(leafColumns)"\n [selectable]="selectable"\n [filterable]="filterable"\n [noRecordsTemplate]="noRecordsTemplate"\n [detailTemplate]="detailTemplate"\n [showGroupFooters]="showGroupFooters"\n [trackBy]="trackBy"\n [rowClass]="rowClass"\n kendoDraggable\n kendoGridSelectionMarquee\n [enableDrag]="marqueeSelection">\n </tbody>\n <tfoot kendoGridFooter\n *ngIf="showFooter"\n [scrollable]="false"\n [logicalRowIndex]="ariaRowCount"\n [groups]="group"\n [columns]="$any(leafColumns)"\n [detailTemplate]="detailTemplate">\n </tfoot>\n </table>\n </ng-container>\n <div [loadingTemplate]="loadingTemplate" *ngIf="loading" kendoGridLoading>\n </div>\n </div>\n <kendo-pager\n *ngIf="showBottomPager"\n [tabindex]="navigation.pagerEnabled ? \'0\' : \'-1\'"\n [attr.role]="navigation.pagerEnabled ? \'application\' : undefined"\n [template]="pagerTemplate"\n [pageSize]="pageSize"\n [total]="view.total"\n [skip]="skip"\n [options]="pageable"\n (pageChange)="notifyPageChange(\'pager\', $event)">\n </kendo-pager>\n <kendo-grid-toolbar class="k-toolbar k-grid-toolbar k-grid-toolbar-bottom" *ngIf="showBottomToolbar" position="bottom"></kendo-grid-toolbar>\n ',isInline:!0,components:[{type:Pr,selector:"kendo-grid-toolbar",inputs:["position"]},{type:li,selector:"kendo-pager",inputs:["total","skip","pageSize","options","template"],outputs:["pageChange"]},{type:vi,selector:"kendo-grid-group-panel",inputs:["text","groups"],outputs:["change"]},{type:ki,selector:"[kendoGridColGroup]",inputs:["columns","groups","detailTemplate"]},{type:gl,selector:"[kendoGridHeader]",inputs:["totalColumnLevels","columns","groups","detailTemplate","scrollable","filterable","sort","filter","sortable","groupable","lockedColumnsCount","resizable","reorderable","columnMenu","columnMenuTemplate","totalColumnsCount","tabIndex"]},{type:Ul,selector:"kendo-grid-list",inputs:["data","groups","total","rowHeight","stickyRowHeight","detailRowHeight","take","skip","columns","detailTemplate","noRecordsTemplate","selectable","groupable","filterable","rowClass","rowSticky","loading","trackBy","virtualColumns","isVirtual","cellLoadingTemplate","loadingTemplate"],outputs:["contentScroll","pageChange","scrollBottom"]},{type:Ql,selector:"[kendoGridFooter]",inputs:["columns","groups","detailTemplate","scrollable","lockedColumnsCount","logicalRowIndex"]},{type:l,selector:"[kendoGridTableBody]",inputs:["columns","allColumns","groups","detailTemplate","noRecordsTemplate","data","skip","selectable","filterable","noRecordsText","isLocked","isLoading","isVirtual","cellLoadingTemplate","skipGroupDecoration","showGroupFooters","lockedColumnsCount","totalColumnsCount","virtualColumns","trackBy","rowSticky","rowClass"]},{type:Yl,selector:"[kendoGridLoading]",inputs:["loadingTemplate"]}],directives:[{type:oc,selector:"[kendoGridLocalizedMessages]"},{type:s.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{type:Nl,selector:"table",inputs:["locked","virtualColumns"]},{type:Al,selector:"[kendoGridResizableContainer]",inputs:["lockedWidth","kendoGridResizableContainer"]},{type:X.DraggableDirective,selector:"[kendoDraggable]",inputs:["enableDrag"],outputs:["kendoPress","kendoDrag","kendoRelease"]},{type:$t,selector:"[kendoGridSelectionMarquee]"}],encapsulation:i.ViewEncapsulation.None}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:E,decorators:[{type:P.Component,args:[{encapsulation:P.ViewEncapsulation.None,exportAs:"kendoGrid",providers:[Bn,M.LocalizationService,C,Nt,At,ct,Je,vo,ko,u,Fo,Go,{provide:wt,useValue:St},{provide:M.L10N_PREFIX,useValue:"kendo.grid"},v,Vo,Ze,zo,Bo,$o,Se,we,Wo,er,lr,dr,mr,fr,m,dt,f,Qe,Sr,so],selector:"kendo-grid",template:'\n <ng-container kendoGridLocalizedMessages\n i18n-groupPanelEmpty="kendo.grid.groupPanelEmpty|The label visible in the Grid group panel when it is empty"\n groupPanelEmpty="Drag a column header and drop it here to group by that column"\n\n i18n-noRecords="kendo.grid.noRecords|The label visible in the Grid when there are no records"\n noRecords="No records available."\n\n i18n-pagerLabel="kendo.grid.pagerLabel|The label for the Grid pager"\n pagerLabel="{{ \'Page navigation, page {currentPage} of {totalPages}\' }}"\n\n i18n-pagerFirstPage="kendo.grid.pagerFirstPage|The label for the first page button in Grid pager"\n pagerFirstPage="Go to the first page"\n\n i18n-pagerPreviousPage="kendo.grid.pagerPreviousPage|The label for the previous page button in Grid pager"\n pagerPreviousPage="Go to the previous page"\n\n i18n-pagerNextPage="kendo.grid.pagerNextPage|The label for the next page button in Grid pager"\n pagerNextPage="Go to the next page"\n\n i18n-pagerLastPage="kendo.grid.pagerLastPage|The label for the last page button in Grid pager"\n pagerLastPage="Go to the last page"\n\n i18n-pagerPage="kendo.grid.pagerPage|The label before the current page number in the Grid pager"\n pagerPage="Page"\n\n i18n-pagerOf="kendo.grid.pagerOf|The label before the total pages number in the Grid pager"\n pagerOf="of"\n\n i18n-pagerItems="kendo.grid.pagerItems|The label after the total pages number in the Grid pager"\n pagerItems="items"\n\n i18n-pagerPageNumberInputTitle="kendo.grid.pagerPageNumberInputTitle|The label for the pager input in the Grid pager"\n pagerPageNumberInputTitle="Page Number"\n\n i18n-pagerItemsPerPage="kendo.grid.pagerItemsPerPage|The label for the page size chooser in the Grid pager"\n pagerItemsPerPage="items per page"\n\n i18n-filter="kendo.grid.filter|The label of the filter cell or icon"\n filter="Filter"\n\n i18n-filterInputLabel="kendo.grid.filterInputLabel|The label of the filter row and menu inputs"\n filterInputLabel="{{ \'{columnName} Filter\' }}"\n\n i18n-filterMenuTitle="kendo.grid.filterMenuTitle|The title of the filter menu icon"\n filterMenuTitle="{{ \'{columnName} Filter Menu\' }}"\n\n i18n-filterMenuOperatorsDropDownLabel="kendo.grid.filterMenuOperatorsDropDownLabel|The label of the filter menu operators dropdown"\n filterMenuOperatorsDropDownLabel="{{ \'{columnName} Filter Operators\' }}"\n\n i18n-filterMenuLogicDropDownLabel="kendo.grid.filterMenuLogicDropDownLabel|The label of the filter menu logic dropdown"\n filterMenuLogicDropDownLabel="{{ \'{columnName} Filter Logic\' }}"\n\n i18n-filterEqOperator="kendo.grid.filterEqOperator|The text of the equal filter operator"\n filterEqOperator="Is equal to"\n\n i18n-filterNotEqOperator="kendo.grid.filterNotEqOperator|The text of the not equal filter operator"\n filterNotEqOperator="Is not equal to"\n\n i18n-filterIsNullOperator="kendo.grid.filterIsNullOperator|The text of the is null filter operator"\n filterIsNullOperator="Is null"\n\n i18n-filterIsNotNullOperator="kendo.grid.filterIsNotNullOperator|The text of the is not null filter operator"\n filterIsNotNullOperator="Is not null"\n\n i18n-filterIsEmptyOperator="kendo.grid.filterIsEmptyOperator|The text of the is empty filter operator"\n filterIsEmptyOperator="Is empty"\n\n i18n-filterIsNotEmptyOperator="kendo.grid.filterIsNotEmptyOperator|The text of the is not empty filter operator"\n filterIsNotEmptyOperator="Is not empty"\n\n i18n-filterStartsWithOperator="kendo.grid.filterStartsWithOperator|The text of the starts with filter operator"\n filterStartsWithOperator="Starts with"\n\n i18n-filterContainsOperator="kendo.grid.filterContainsOperator|The text of the contains filter operator"\n filterContainsOperator="Contains"\n\n i18n-filterNotContainsOperator="kendo.grid.filterNotContainsOperator|The text of the does not contain filter operator"\n filterNotContainsOperator="Does not contain"\n\n i18n-filterEndsWithOperator="kendo.grid.filterEndsWithOperator|The text of the ends with filter operator"\n filterEndsWithOperator="Ends with"\n\n i18n-filterGteOperator="kendo.grid.filterGteOperator|The text of the greater than or equal filter operator"\n filterGteOperator="Is greater than or equal to"\n\n i18n-filterGtOperator="kendo.grid.filterGtOperator|The text of the greater than filter operator"\n filterGtOperator="Is greater than"\n\n i18n-filterLteOperator="kendo.grid.filterLteOperator|The text of the less than or equal filter operator"\n filterLteOperator="Is less than or equal to"\n\n i18n-filterLtOperator="kendo.grid.filterLtOperator|The text of the less than filter operator"\n filterLtOperator="Is less than"\n\n i18n-filterIsTrue="kendo.grid.filterIsTrue|The text of the IsTrue boolean filter option"\n filterIsTrue="Is True"\n\n i18n-filterIsFalse="kendo.grid.filterIsFalse|The text of the IsFalse boolean filter option"\n filterIsFalse="Is False"\n\n i18n-filterBooleanAll="kendo.grid.filterBooleanAll|The text of the (All) boolean filter option"\n filterBooleanAll="(All)"\n\n i18n-filterAfterOrEqualOperator="kendo.grid.filterAfterOrEqualOperator|The text of the after or equal date filter operator"\n filterAfterOrEqualOperator="Is after or equal to"\n\n i18n-filterAfterOperator="kendo.grid.filterAfterOperator|The text of the after date filter operator"\n filterAfterOperator="Is after"\n\n i18n-filterBeforeOperator="kendo.grid.filterBeforeOperator|The text of the before date filter operator"\n filterBeforeOperator="Is before"\n\n i18n-filterBeforeOrEqualOperator="kendo.grid.filterBeforeOrEqualOperator|The text of the before or equal date filter operator"\n filterBeforeOrEqualOperator="Is before or equal to"\n\n i18n-filterFilterButton="kendo.grid.filterFilterButton|The text of the filter button"\n filterFilterButton="Filter"\n\n i18n-filterClearButton="kendo.grid.filterClearButton|The text of the clear filter button"\n filterClearButton="Clear"\n\n i18n-filterAndLogic="kendo.grid.filterAndLogic|The text of the And filter logic"\n filterAndLogic="And"\n\n i18n-filterOrLogic="kendo.grid.filterOrLogic|The text of the Or filter logic"\n filterOrLogic="Or"\n\n i18n-loading="kendo.grid.loading|The loading text"\n loading="Loading"\n\n i18n-gridLabel="kendo.grid.gridLabel|The Grid aria-label"\n gridLabel="Data table"\n\n i18n-columnMenu="kendo.grid.columnMenu|The title of the column menu icon"\n columnMenu="{{ \'{columnName} Column Menu\' }}"\n\n i18n-columns="kendo.grid.columns|The text shown in the column menu for the columns item"\n columns="Columns"\n\n i18n-lock="kendo.grid.lock|The text shown in the column menu for the lock item"\n lock="Lock"\n\n i18n-unlock="kendo.grid.unlock|The text shown in the column menu for the unlock item"\n unlock="Unlock"\n\n i18n-setColumnPosition="kendo.grid.setColumnPosition|The text shown in the column menu for the set column position item"\n setColumnPosition="Set Column Position"\n\n i18n-stick="kendo.grid.stick|The text shown in the column menu for the stick item"\n stick="Stick"\n\n i18n-unstick="kendo.grid.unstick|The text shown in the column menu for the unstick item"\n unstick="Unstick"\n\n i18n-sortable="kendo.grid.sortable|The label of the sort icon"\n sortable="Sortable"\n\n i18n-sortAscending="kendo.grid.sortAscending|The text shown in the column menu for the sort ascending item"\n sortAscending="Sort Ascending"\n\n i18n-sortDescending="kendo.grid.sortDescending|The text shown in the column menu for the sort descending item"\n sortDescending="Sort Descending"\n\n i18n-sortedAscending="kendo.grid.sortedAscending|The status announcement when a column is sorted ascending"\n sortedAscending="Sorted Ascending"\n\n i18n-sortedDescending="kendo.grid.sortedDescending|The status announcement when a column is sorted descending"\n sortedDescending="Sorted Descending"\n\n i18n-sortedDefault="kendo.grid.sortedDefault|The status announcement when a column is no longer sorted"\n sortedDefault="Not Sorted"\n\n i18n-columnsApply="kendo.grid.columnsApply|The text shown in the column menu or column chooser for the columns apply button"\n columnsApply="Apply"\n\n i18n-columnsReset="kendo.grid.columnsReset|The text shown in the column menu or column chooser for the columns reset button"\n columnsReset="Reset"\n\n i18n-detailExpand="kendo.grid.detailExpand|The title of the expand icon of detail rows."\n detailExpand="Expand Details"\n\n i18n-detailCollapse="kendo.grid.detailCollapse|The title of the collapse icon of detail rows."\n detailCollapse="Collapse Details"\n\n i18n-filterDateToday="kendo.grid.filterDateToday|The text of the Today button of the Date filter."\n filterDateToday="TODAY"\n\n i18n-filterDateToggle="kendo.grid.filterDateToggle|The title of the Toggle button of the Date filter."\n filterDateToggle="Toggle Calendar"\n\n i18n-filterNumericDecrement="kendo.grid.filterNumericDecrement|The title of the Decrement button of the Numeric filter."\n filterNumericDecrement="Decrement"\n\n i18n-filterNumericIncrement="kendo.grid.filterNumericIncrement|The title of the Increment button of the Numeric filter."\n filterNumericIncrement="Increment"\n\n i18n-selectionCheckboxLabel="kendo.grid.selectionCheckboxLabel|The labels of the checkbox column checkboxes."\n selectionCheckboxLabel="Select Row"\n\n i18n-selectAllCheckboxLabel="kendo.grid.selectAllCheckboxLabel|The label of the checkbox column select all checkbox."\n selectAllCheckboxLabel="Select All Rows"\n\n i18n-groupCollapse="kendo.grid.groupCollapse|The text of the title and aria-label attributes applied to the collapse icon of group rows."\n groupCollapse="Collapse Group"\n\n i18n-groupExpand="kendo.grid.groupExpand|The text of the title and aria-label attributes applied to the expand icon of group rows."\n groupExpand="Expand Group"\n >\n </ng-container>\n <kendo-grid-toolbar class="k-toolbar k-grid-toolbar" *ngIf="showTopToolbar" position="top"></kendo-grid-toolbar>\n <kendo-pager\n *ngIf="showTopPager"\n [tabindex]="navigation.pagerEnabled ? \'0\' : \'-1\'"\n [attr.role]="navigation.pagerEnabled ? \'application\' : undefined"\n class="k-grid-pager-top"\n [template]="pagerTemplate"\n [pageSize]="pageSize"\n [total]="view.total"\n [skip]="skip"\n [options]="pageable"\n (pageChange)="notifyPageChange(\'pager\', $event)">\n </kendo-pager>\n <kendo-grid-group-panel\n *ngIf="showGroupPanel"\n [text]="groupableEmptyText"\n [groups]="group"\n (change)="groupChange.emit($event)">\n </kendo-grid-group-panel>\n <div #ariaRoot\n class="k-grid-aria-root"\n role="grid"\n [attr.aria-label]="ariaLabel"\n [attr.aria-rowcount]="ariaRowCount"\n [attr.aria-colcount]="ariaColCount">\n <ng-container *ngIf="isScrollable">\n <div *ngIf="!hideHeader"\n class="k-grid-header"\n role="presentation"\n [style.padding]="headerPadding">\n <div *ngIf="isLocked"\n #lockedHeader\n role="presentation"\n class="k-grid-header-locked"\n [style.width.px]="lockedWidth">\n <table [locked]="true" role="presentation" [style.width.px]="lockedWidth">\n <colgroup kendoGridColGroup\n role="presentation"\n [columns]="$any(lockedLeafColumns)"\n [groups]="group"\n [detailTemplate]="detailTemplate">\n </colgroup>\n <thead kendoGridHeader\n [resizable]="resizable"\n [scrollable]="true"\n [columns]="$any(lockedColumns)"\n [totalColumnLevels]="totalColumnLevels"\n [sort]="sort"\n [groups]="group"\n [filter]="filter"\n [filterable]="filterable"\n [groupable]="showGroupPanel"\n [reorderable]="reorderable"\n [sortable]="sortable"\n [columnMenu]="columnMenuOptions"\n [columnMenuTemplate]="columnMenuTemplate"\n [totalColumnsCount]="leafColumns.length"\n [detailTemplate]="detailTemplate"\n [tabIndex]="navigation.tableEnabled ? \'-1\' : \'0\'">\n </thead>\n </table>\n </div><div #header class="k-grid-header-wrap" role="presentation" data-scrollable\n [kendoGridResizableContainer]="lockedLeafColumns.length > 0"\n [lockedWidth]="lockedWidth + scrollbarWidth + 2">\n <table role="presentation" [style.width.px]="nonLockedWidth" [virtualColumns]="virtualColumns">\n <colgroup kendoGridColGroup\n role="presentation"\n [columns]="headerLeafColumns"\n [groups]="isLocked ? [] : group"\n [detailTemplate]="detailTemplate">\n </colgroup>\n <thead kendoGridHeader\n [resizable]="resizable"\n role="presentation"\n [scrollable]="true"\n [columns]="headerColumns"\n [totalColumnLevels]="totalColumnLevels"\n [sort]="sort"\n [filter]="filter"\n [filterable]="filterable"\n [groupable]="showGroupPanel"\n [reorderable]="reorderable"\n [groups]="isLocked ? [] : group"\n [sortable]="sortable"\n [columnMenu]="columnMenuOptions"\n [columnMenuTemplate]="columnMenuTemplate"\n [lockedColumnsCount]="lockedLeafColumns.length"\n [totalColumnsCount]="leafColumns.length"\n [detailTemplate]="detailTemplate"\n [tabIndex]="navigation.tableEnabled ? \'-1\' : \'0\'">\n </thead>\n </table>\n <div *ngIf="virtualColumns" class="k-width-container" role="presentation">\n <div [style.width.px]="columnsContainer.unlockedWidth"></div>\n </div>\n </div>\n </div>\n <kendo-grid-list\n [data]="$any(view)"\n [rowHeight]="rowHeight"\n [detailRowHeight]="detailRowHeight"\n [total]="totalCount"\n [take]="pageSize"\n [groups]="group"\n [groupable]="groupable"\n [skip]="skip"\n [trackBy]="trackBy"\n [columns]="columnsContainer"\n [selectable]="selectable"\n [filterable]="filterable"\n [detailTemplate]="detailTemplate"\n [noRecordsTemplate]="noRecordsTemplate"\n (pageChange)="notifyPageChange(\'list\', $event)"\n [rowClass]="rowClass"\n [rowSticky]="rowSticky"\n [loading]="loading"\n [isVirtual]="isVirtual"\n [cellLoadingTemplate]="cellLoadingTemplate?.templateRef"\n [loadingTemplate]="loadingTemplate?.templateRef"\n [virtualColumns]="virtualColumns"\n (scrollBottom)="notifyScrollBottom()"\n (contentScroll)="contentScroll.emit($event)"\n kendoDraggable\n kendoGridSelectionMarquee\n [enableDrag]="marqueeSelection"\n >\n </kendo-grid-list>\n <div\n *ngIf="showFooter"\n class="k-grid-footer"\n [style.padding]="headerPadding">\n <div\n *ngIf="lockedLeafColumns.length"\n class="k-grid-footer-locked"\n [style.width.px]="lockedWidth">\n <table role="presentation" [locked]="true" [style.width.px]="lockedWidth">\n <colgroup kendoGridColGroup\n [columns]="$any(lockedLeafColumns)"\n [groups]="group"\n [detailTemplate]="detailTemplate">\n </colgroup>\n <tfoot kendoGridFooter\n [scrollable]="true"\n [groups]="group"\n [columns]="$any(lockedLeafColumns)"\n [detailTemplate]="detailTemplate"\n [logicalRowIndex]="ariaRowCount">\n </tfoot>\n </table>\n </div><div #footer\n class="k-grid-footer-wrap" data-scrollable\n [kendoGridResizableContainer]="lockedLeafColumns.length > 0"\n [lockedWidth]="lockedWidth + scrollbarWidth + 3">\n <table role="presentation" [style.width.px]="nonLockedWidth">\n <colgroup kendoGridColGroup\n [columns]="$any(nonLockedLeafColumns)"\n [groups]="isLocked ? [] : group"\n [detailTemplate]="detailTemplate">\n </colgroup>\n <tfoot kendoGridFooter\n [logicalRowIndex]="ariaRowCount"\n [scrollable]="true"\n [groups]="isLocked ? [] : group"\n [columns]="$any(nonLockedLeafColumns)"\n [lockedColumnsCount]="lockedLeafColumns.length"\n [detailTemplate]="detailTemplate">\n </tfoot>\n </table>\n </div>\n </div>\n </ng-container>\n <ng-container *ngIf="!isScrollable">\n <table [style.table-layout]="resizable ? \'fixed\' : null">\n <colgroup kendoGridColGroup\n [columns]="$any(leafColumns)"\n [groups]="group"\n [detailTemplate]="detailTemplate">\n </colgroup>\n <thead kendoGridHeader\n *ngIf="!hideHeader"\n [resizable]="resizable"\n [scrollable]="false"\n [columns]="$any(visibleColumns)"\n [totalColumnLevels]="totalColumnLevels"\n [groups]="group"\n [groupable]="showGroupPanel"\n [reorderable]="reorderable"\n [sort]="sort"\n [sortable]="sortable"\n [filter]="filter"\n [filterable]="filterable"\n [columnMenu]="columnMenuOptions"\n [columnMenuTemplate]="columnMenuTemplate"\n [detailTemplate]="detailTemplate"\n [tabIndex]="navigation.tableEnabled ? \'-1\' : \'0\'">\n </thead>\n <tbody kendoGridTableBody\n [isLoading]="loading"\n [groups]="group"\n [data]="$any(view)"\n [skip]="skip"\n [columns]="$any(leafColumns)"\n [selectable]="selectable"\n [filterable]="filterable"\n [noRecordsTemplate]="noRecordsTemplate"\n [detailTemplate]="detailTemplate"\n [showGroupFooters]="showGroupFooters"\n [trackBy]="trackBy"\n [rowClass]="rowClass"\n kendoDraggable\n kendoGridSelectionMarquee\n [enableDrag]="marqueeSelection">\n </tbody>\n <tfoot kendoGridFooter\n *ngIf="showFooter"\n [scrollable]="false"\n [logicalRowIndex]="ariaRowCount"\n [groups]="group"\n [columns]="$any(leafColumns)"\n [detailTemplate]="detailTemplate">\n </tfoot>\n </table>\n </ng-container>\n <div [loadingTemplate]="loadingTemplate" *ngIf="loading" kendoGridLoading>\n </div>\n </div>\n <kendo-pager\n *ngIf="showBottomPager"\n [tabindex]="navigation.pagerEnabled ? \'0\' : \'-1\'"\n [attr.role]="navigation.pagerEnabled ? \'application\' : undefined"\n [template]="pagerTemplate"\n [pageSize]="pageSize"\n [total]="view.total"\n [skip]="skip"\n [options]="pageable"\n (pageChange)="notifyPageChange(\'pager\', $event)">\n </kendo-pager>\n <kendo-grid-toolbar class="k-toolbar k-grid-toolbar k-grid-toolbar-bottom" *ngIf="showBottomToolbar" position="bottom"></kendo-grid-toolbar>\n '}]}],ctorParameters:function(){return[{type:Bn},{type:Nt},{type:At},{type:i.ElementRef},{type:vo},{type:Je},{type:ko},{type:ct},{type:u},{type:v},{type:Fo},{type:Vo},{type:i.Renderer2},{type:zo},{type:i.NgZone},{type:Bo},{type:we},{type:Wo},{type:i.ChangeDetectorRef},{type:fr},{type:C},{type:m},{type:Sr},{type:Qe},{type:a.LocalizationService},{type:so}]},propDecorators:{data:[{type:P.Input}],pageSize:[{type:P.Input}],height:[{type:P.Input}],rowHeight:[{type:P.Input}],detailRowHeight:[{type:P.Input}],skip:[{type:P.Input}],scrollable:[{type:P.Input}],selectable:[{type:P.Input}],sort:[{type:P.Input}],trackBy:[{type:P.Input}],filter:[{type:P.Input}],group:[{type:P.Input}],virtualColumns:[{type:P.Input}],filterable:[{type:P.Input}],sortable:[{type:P.Input}],pageable:[{type:P.Input}],groupable:[{type:P.Input}],navigable:[{type:P.Input}],navigatable:[{type:P.Input}],autoSize:[{type:P.Input}],rowClass:[{type:P.Input}],rowSticky:[{type:P.Input}],rowSelected:[{type:P.Input}],cellSelected:[{type:P.Input}],resizable:[{type:P.Input}],reorderable:[{type:P.Input}],loading:[{type:P.Input}],columnMenu:[{type:P.Input}],hideHeader:[{type:P.Input}],filterChange:[{type:P.Output}],pageChange:[{type:P.Output}],groupChange:[{type:P.Output}],sortChange:[{type:P.Output}],selectionChange:[{type:P.Output}],dataStateChange:[{type:P.Output}],groupExpand:[{type:P.Output}],groupCollapse:[{type:P.Output}],detailExpand:[{type:P.Output}],detailCollapse:[{type:P.Output}],edit:[{type:P.Output}],cancel:[{type:P.Output}],save:[{type:P.Output}],remove:[{type:P.Output}],add:[{type:P.Output}],cellClose:[{type:P.Output}],cellClick:[{type:P.Output}],pdfExport:[{type:P.Output}],excelExport:[{type:P.Output}],columnResize:[{type:P.Output}],columnReorder:[{type:P.Output}],columnVisibilityChange:[{type:P.Output}],columnLockedChange:[{type:P.Output}],columnStickyChange:[{type:P.Output}],scrollBottom:[{type:P.Output}],contentScroll:[{type:P.Output}],columns:[{type:P.ContentChildren,args:[y]}],dir:[{type:P.HostBinding,args:["attr.dir"]}],hostClasses:[{type:P.HostBinding,args:["class.k-grid"]}],lockedClasses:[{type:P.HostBinding,args:["class.k-grid-lockedcolumns"]}],virtualClasses:[{type:P.HostBinding,args:["class.k-grid-virtual"]}],noScrollbarClass:[{type:P.HostBinding,args:["class.k-grid-no-scrollbar"]}],detailTemplateChildren:[{type:P.ContentChildren,args:[Vn]}],cellLoadingTemplateChildren:[{type:P.ContentChildren,args:[Rr]}],loadingTemplateChildren:[{type:P.ContentChildren,args:[Lr]}],noRecordsTemplateChildren:[{type:P.ContentChildren,args:[xo]}],pagerTemplateChildren:[{type:P.ContentChildren,args:[To]}],toolbarTemplateChildren:[{type:P.ContentChildren,args:[jo]}],columnMenuTemplates:[{type:P.ContentChildren,args:[nn]}],lockedHeader:[{type:P.ViewChild,args:["lockedHeader",{static:!1}]}],header:[{type:P.ViewChild,args:["header",{static:!1}]}],footer:[{type:P.ViewChildren,args:["footer"]}],ariaRoot:[{type:P.ViewChild,args:["ariaRoot",{static:!0}]}],isDetailExpanded:[{type:P.Input}],isGroupExpanded:[{type:P.Input}]}});Object.defineProperty(sc.prototype,"skip",{set:function(e){V(e)||(e=0),this.grid.skip=this.state.skip=e},enumerable:!1,configurable:!0}),Object.defineProperty(sc.prototype,"sort",{set:function(e){this.grid.sort=this.state.sort=e},enumerable:!1,configurable:!0}),Object.defineProperty(sc.prototype,"filter",{set:function(e){this.grid.filter=this.state.filter=e},enumerable:!1,configurable:!0}),Object.defineProperty(sc.prototype,"pageSize",{set:function(e){this.grid.pageSize=this.state.take=e},enumerable:!1,configurable:!0}),Object.defineProperty(sc.prototype,"group",{set:function(e){this.grid.group=this.state.group=e},enumerable:!1,configurable:!0}),Object.defineProperty(sc.prototype,"data",{set:function(e){this.originalData=e||[],this.localDataChangesService&&(this.localDataChangesService.data=e),this.dataChanged=!0},enumerable:!1,configurable:!0}),sc.prototype.ngOnInit=function(){this.applyState(this.state),this.stateChangeSubscription=this.grid.dataStateChange.subscribe(this.onStateChange.bind(this))},sc.prototype.ngOnDestroy=function(){this.stateChangeSubscription&&this.stateChangeSubscription.unsubscribe(),this.dataChangedSubscription&&this.dataChangedSubscription.unsubscribe()},sc.prototype.ngOnChanges=function(e){p.anyChanged(["pageSize","skip","sort","group","filter"],e)&&this.rebind()},sc.prototype.ngDoCheck=function(){this.dataChanged&&this.updateGridData()},sc.prototype.onStateChange=function(e){this.applyState(e),this.rebind()},sc.prototype.rebind=function(){this.data=this.originalData,this.updateGridData(),this.notifyDataChange()},sc.prototype.notifyDataChange=function(){this.grid.onDataChange(),this.changeDetector&&this.changeDetector.markForCheck()},sc.prototype.process=function(e){return j.process(this.originalData,e)},sc.prototype.applyState=function(e){var t=e.skip,n=e.take,o=e.sort,r=e.group,e=e.filter;this.skip=t,this.pageSize=n,this.sort=o,this.group=r,this.filter=e},sc.prototype.updateGridData=function(){this.grid.data=this.process(this.state),this.dataChanged=!1};s=sc;function sc(e,t,n){this.grid=e,this.changeDetector=t,this.localDataChangesService=n,this.state={skip:0},this.originalData=[],n&&(this.dataChangedSubscription=this.localDataChangesService.changes.subscribe(this.rebind.bind(this)))}s.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:s,deps:[{token:E},{token:i.ChangeDetectorRef},{token:Se}],target:i.ɵɵFactoryTarget.Directive}),s.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:s,selector:"[kendoGridBinding]",inputs:{skip:"skip",sort:"sort",filter:"filter",pageSize:"pageSize",group:"group",data:["kendoGridBinding","data"]},usesOnChanges:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:s,decorators:[{type:P.Directive,args:[{selector:"[kendoGridBinding]"}]}],ctorParameters:function(){return[{type:E},{type:i.ChangeDetectorRef},{type:Se}]},propDecorators:{skip:[{type:P.Input}],sort:[{type:P.Input}],filter:[{type:P.Input}],pageSize:[{type:P.Input}],group:[{type:P.Input}],data:[{type:P.Input,args:["kendoGridBinding"]}]}});c(cc,lc=lo),cc.prototype.ngOnInit=function(){!1===this.ctx.grid.selectable&&(this.ctx.grid.selectable=!0),this.ctx.grid.selectionDirective=this},cc.prototype.ngOnDestroy=function(){lc.prototype.destroy.call(this)};var lc,St=cc;function cc(e,t){t=lc.call(this,e,t)||this;return t.ctx=e,t}St.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:St,deps:[{token:so},{token:i.ChangeDetectorRef}],target:i.ɵɵFactoryTarget.Directive}),St.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:St,selector:"[kendoGridSelectBy]",usesInheritance:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:St,decorators:[{type:P.Directive,args:[{selector:"[kendoGridSelectBy]"}]}],ctorParameters:function(){return[{type:so},{type:i.ChangeDetectorRef}]}});Object.defineProperty(pc.prototype,"expandDetailsKey",{get:function(){return this._expandBy},set:function(e){ce(e)?this._expandBy=K.getter(e):this._expandBy=e},enumerable:!1,configurable:!0}),Object.defineProperty(pc.prototype,"expandDetailBy",{get:function(){return this.expandDetailsKey},set:function(e){this.expandDetailsKey=e},enumerable:!1,configurable:!0}),pc.prototype.ngOnChanges=function(e){V(e.expandedDetailKeys)&&this.lastExpandedState!==this.expandedDetailKeys&&(this.expandedState=new Set(this.expandedDetailKeys))},pc.prototype.ngOnDestroy=function(){this.subscriptions.unsubscribe()},Object.defineProperty(pc.prototype,"keyGetter",{get:function(){return this._expandBy||K.getter(void 0)},enumerable:!1,configurable:!0}),pc.prototype.isExpanded=function(e){e=this.keyGetter(e.dataItem),e=this.expandedState.has(e);return this.initiallyExpanded?!e:e},pc.prototype.toggleState=function(e){var t=this.keyGetter(e.dataItem);Boolean(this.initiallyExpanded)!==e.expand?this.expandedState.add(t):this.expandedState.delete(t),this.notifyChange()},pc.prototype.notifyChange=function(){this.lastExpandedState=Array.from(this.expandedState),this.expandedDetailKeysChange.emit(this.lastExpandedState)};M=pc;function pc(e){this.grid=e,this.expandedDetailKeysChange=new P.EventEmitter,this.expandedDetailKeys=[],this.initiallyExpanded=!1,this.expandedState=new Set,this.subscriptions=new b.Subscription,this.grid.isDetailExpanded=this.isExpanded.bind(this),this.subscriptions.add(b.merge(this.grid.detailExpand.pipe(G.map(function(e){return Object.assign({expand:!0},e)})),this.grid.detailCollapse.pipe(G.map(function(e){return Object.assign({expand:!1},e)}))).subscribe(this.toggleState.bind(this)))}M.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:M,deps:[{token:E}],target:i.ɵɵFactoryTarget.Directive}),M.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:M,selector:"[kendoGridExpandDetailsBy]",inputs:{expandDetailsKey:["kendoGridExpandDetailsBy","expandDetailsKey"],expandDetailBy:"expandDetailBy",expandedDetailKeys:"expandedDetailKeys",initiallyExpanded:"initiallyExpanded"},outputs:{expandedDetailKeysChange:"expandedDetailKeysChange"},exportAs:["kendoGridExpandDetailsBy"],usesOnChanges:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:M,decorators:[{type:P.Directive,args:[{selector:"[kendoGridExpandDetailsBy]",exportAs:"kendoGridExpandDetailsBy"}]}],ctorParameters:function(){return[{type:E}]},propDecorators:{expandedDetailKeysChange:[{type:P.Output}],expandDetailsKey:[{type:P.Input,args:["kendoGridExpandDetailsBy"]}],expandDetailBy:[{type:P.Input}],expandedDetailKeys:[{type:P.Input}],initiallyExpanded:[{type:P.Input}]}});function uc(e){return{field:e.group.field,value:e.group.value,parentGroupKeys:function(e){for(var t=[];e;)t.push({field:e.group.field,value:e.group.value}),e=e.parentGroup;return t}(e.parentGroup)}}Object.defineProperty(gc.prototype,"expandGroupBy",{get:function(){return this._expandGroupBy},set:function(e){"function"==typeof e&&(this._expandGroupBy=e)},enumerable:!1,configurable:!0}),Object.defineProperty(gc.prototype,"expandedGroupKeys",{get:function(){return this._expandedGroupKeys},set:function(e){this._expandedGroupKeys=(e||[]).slice()},enumerable:!1,configurable:!0}),gc.prototype.ngOnDestroy=function(){this.subscriptions.unsubscribe()},Object.defineProperty(gc.prototype,"keyGetter",{get:function(){return this.expandGroupBy||uc},enumerable:!1,configurable:!0}),gc.prototype.isExpanded=function(e){return-1<this.getItemIndex(e)?!this.groupsInitiallyExpanded:this.groupsInitiallyExpanded},gc.prototype.getItemIndex=function(o){return this.expandGroupBy?this.expandedGroupKeys.indexOf(this.keyGetter(o)):this.expandedGroupKeys.findIndex(function(e){for(var t=0,n=o.parentGroup;V(n);){if(!V(e.parentGroupKeys)||!V(e.parentGroupKeys[t])||n.group.value!==e.parentGroupKeys[t].value||n.group.field!==e.parentGroupKeys[t].field)return!1;n=n.parentGroup,t++}return e.value===o.group.value&&e.field===o.group.field})},gc.prototype.toggleState=function(e){var t=this.keyGetter(e);Boolean(this.groupsInitiallyExpanded)!==e.expand?this.expandedGroupKeys.push(t):(e=this.expandedGroupKeys.indexOf(t),this.expandedGroupKeys.splice(e,1)),this.expandedGroupKeysChange.emit(this.expandedGroupKeys.slice())};var dc=gc;function gc(e){this.grid=e,this.expandedGroupKeysChange=new P.EventEmitter,this.groupsInitiallyExpanded=!1,this.subscriptions=new b.Subscription,this.grid.isGroupExpanded=this.isExpanded.bind(this),this.subscriptions.add(b.merge(this.grid.groupExpand.pipe(G.map(function(e){return Object.assign({expand:!0},e)})),this.grid.groupCollapse.pipe(G.map(function(e){return Object.assign({expand:!1},e)}))).subscribe(this.toggleState.bind(this)))}dc.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:dc,deps:[{token:E}],target:i.ɵɵFactoryTarget.Directive}),dc.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:dc,selector:"[kendoGridExpandGroupBy]",inputs:{expandGroupBy:["kendoGridExpandGroupBy","expandGroupBy"],expandedGroupKeys:"expandedGroupKeys",groupsInitiallyExpanded:"groupsInitiallyExpanded"},outputs:{expandedGroupKeysChange:"expandedGroupKeysChange"},exportAs:["kendoGridExpandGroupBy"],ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:dc,decorators:[{type:P.Directive,args:[{selector:"[kendoGridExpandGroupBy]",exportAs:"kendoGridExpandGroupBy"}]}],ctorParameters:function(){return[{type:E}]},propDecorators:{expandedGroupKeysChange:[{type:P.Output}],expandGroupBy:[{type:P.Input,args:["kendoGridExpandGroupBy"]}],expandedGroupKeys:[{type:P.Input}],groupsInitiallyExpanded:[{type:P.Input}]}});c(fc,mc=O),Object.defineProperty(fc.prototype,"override",{get:function(){return!0},enumerable:!1,configurable:!0});var mc,hc=fc;function fc(e){var t=mc.call(this)||this;return t.service=e,t}hc.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:hc,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),hc.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:hc,selector:"kendo-grid-messages",providers:[{provide:O,useExisting:P.forwardRef(function(){return hc})}],usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:hc,decorators:[{type:P.Component,args:[{providers:[{provide:O,useExisting:P.forwardRef(function(){return hc})}],selector:"kendo-grid-messages",template:""}]}],ctorParameters:function(){return[{type:a.LocalizationService}]}});var yc,vc=Mi({filterContainsOperator:"contains",filterNotContainsOperator:"doesnotcontain",filterEqOperator:"eq",filterNotEqOperator:"neq",filterStartsWithOperator:"startswith",filterEndsWithOperator:"endswith",filterIsNullOperator:"isnull",filterIsNotNullOperator:"isnotnull",filterIsEmptyOperator:"isempty",filterIsNotEmptyOperator:"isnotempty"}),bc=(c(kc,yc=ji),Object.defineProperty(kc.prototype,"valueField",{get:function(){return this._valueField||this.column.field},set:function(e){this._valueField=e},enumerable:!1,configurable:!0}),Object.defineProperty(kc.prototype,"currentFilter",{get:function(){return this.filterByField(this.column.field)},enumerable:!1,configurable:!0}),Object.defineProperty(kc.prototype,"currentOperator",{get:function(){return this.currentFilter?this.currentFilter.operator:"contains"},enumerable:!1,configurable:!0}),kc);function kc(e,t,n){e=yc.call(this,e)||this;return e.localization=n,e.showOperators=!0,e.defaultOperators=vc(e.localization),e.column=t,e}bc.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:bc,deps:[{token:v},{token:gn},{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),bc.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:bc,selector:"kendo-grid-autocomplete-filter-cell",inputs:{showOperators:"showOperators",column:"column",filter:"filter",data:"data",valueField:"valueField"},usesInheritance:!0,ngImport:i,template:'\n <kendo-grid-filter-wrapper-cell\n [column]="column"\n [filter]="filter"\n [operators]="operators"\n [showOperators]="showOperators">\n <kendo-autocomplete\n kendoFilterInput\n [data]="data"\n [valueField]="valueField"\n [value]="currentFilter?.value">\n </kendo-autocomplete>\n </kendo-grid-filter-wrapper-cell>\n ',isInline:!0,components:[{type:Xa,selector:"kendo-grid-filter-wrapper-cell",inputs:["showOperators"]},{type:te.AutoCompleteComponent,selector:"kendo-autocomplete",inputs:["highlightFirst","focusableId","data","value","valueField","placeholder","popupSettings","listHeight","loading","clearButton","suggest","disabled","itemDisabled","readonly","tabindex","tabIndex","filterable","virtual","size","rounded","fillMode"],outputs:["valueChange","filterChange","open","opened","close","closed","focus","blur"],exportAs:["kendoAutoComplete"]}],directives:[{type:Xi,selector:"[kendoFilterInput]",inputs:["filterDelay","columnLabel","value"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:bc,decorators:[{type:P.Component,args:[{selector:"kendo-grid-autocomplete-filter-cell",template:'\n <kendo-grid-filter-wrapper-cell\n [column]="column"\n [filter]="filter"\n [operators]="operators"\n [showOperators]="showOperators">\n <kendo-autocomplete\n kendoFilterInput\n [data]="data"\n [valueField]="valueField"\n [value]="currentFilter?.value">\n </kendo-autocomplete>\n </kendo-grid-filter-wrapper-cell>\n '}]}],ctorParameters:function(){return[{type:v},{type:gn},{type:a.LocalizationService}]},propDecorators:{showOperators:[{type:P.Input}],column:[{type:P.Input}],filter:[{type:P.Input}],data:[{type:P.Input}],valueField:[{type:P.Input}]}});var O=[gn,Pn,Ui,fa,Dt,tn,ki,Al,qi,Fl,Vn,yn,Nl,Yl],L=(Cc.exports=function(){return[gn,yn,Pn,tn,Vn,Dt]},Cc);function Cc(){}L.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:L,deps:[],target:i.ɵɵFactoryTarget.NgModule}),L.ɵmod=i.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:L,declarations:[gn,Pn,Ui,fa,Dt,tn,ki,Al,qi,Fl,Vn,yn,Nl,Yl],imports:[t.CommonModule],exports:[gn,Pn,Ui,fa,Dt,tn,ki,Al,qi,Fl,Vn,yn,Nl,Yl,p.DraggableModule,p.EventsModule]}),L.ɵinj=i.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:L,imports:[[t.CommonModule],p.DraggableModule,p.EventsModule]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:L,decorators:[{type:P.NgModule,args:[{declarations:[O],exports:[O,p.DraggableModule,p.EventsModule],imports:[t.CommonModule]}]}]});c(wc,Ic=S);var Ic,xc=wc;function wc(e){return Ic.call(this,"contains",e)||this}xc.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:xc,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),xc.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:xc,selector:"kendo-filter-contains-operator",providers:[{provide:S,useExisting:P.forwardRef(function(){return xc})}],usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:xc,decorators:[{type:P.Component,args:[{providers:[{provide:S,useExisting:P.forwardRef(function(){return xc})}],selector:"kendo-filter-contains-operator",template:""}]}],ctorParameters:function(){return[{type:a.LocalizationService}]}});c(Tc,Sc=S);var Sc,Dc=Tc;function Tc(e){return Sc.call(this,"doesnotcontain",e)||this}Dc.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Dc,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),Dc.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Dc,selector:"kendo-filter-not-contains-operator",providers:[{provide:S,useExisting:P.forwardRef(function(){return Dc})}],usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Dc,decorators:[{type:P.Component,args:[{providers:[{provide:S,useExisting:P.forwardRef(function(){return Dc})}],selector:"kendo-filter-not-contains-operator",template:""}]}],ctorParameters:function(){return[{type:a.LocalizationService}]}});c(Ec,Fc=S);var Fc,Oc=Ec;function Ec(e){return Fc.call(this,"endswith",e)||this}Oc.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Oc,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),Oc.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Oc,selector:"kendo-filter-endswith-operator",providers:[{provide:S,useExisting:P.forwardRef(function(){return Oc})}],usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Oc,decorators:[{type:P.Component,args:[{providers:[{provide:S,useExisting:P.forwardRef(function(){return Oc})}],selector:"kendo-filter-endswith-operator",template:""}]}],ctorParameters:function(){return[{type:a.LocalizationService}]}});c(Pc,Rc=S);var Rc,Lc=Pc;function Pc(e){return Rc.call(this,"eq",e)||this}Lc.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Lc,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),Lc.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Lc,selector:"kendo-filter-eq-operator",providers:[{provide:S,useExisting:P.forwardRef(function(){return Lc})}],usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Lc,decorators:[{type:P.Component,args:[{providers:[{provide:S,useExisting:P.forwardRef(function(){return Lc})}],selector:"kendo-filter-eq-operator",template:""}]}],ctorParameters:function(){return[{type:a.LocalizationService}]}});c(Mc,Gc=S);var Gc,Vc=Mc;function Mc(e){return Gc.call(this,"isempty",e)||this}Vc.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Vc,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),Vc.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Vc,selector:"kendo-filter-isempty-operator",providers:[{provide:S,useExisting:P.forwardRef(function(){return Vc})}],usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Vc,decorators:[{type:P.Component,args:[{providers:[{provide:S,useExisting:P.forwardRef(function(){return Vc})}],selector:"kendo-filter-isempty-operator",template:""}]}],ctorParameters:function(){return[{type:a.LocalizationService}]}});c(jc,zc=S);var zc,Nc=jc;function jc(e){return zc.call(this,"isnotempty",e)||this}Nc.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Nc,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),Nc.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Nc,selector:"kendo-filter-isnotempty-operator",providers:[{provide:S,useExisting:P.forwardRef(function(){return Nc})}],usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Nc,decorators:[{type:P.Component,args:[{providers:[{provide:S,useExisting:P.forwardRef(function(){return Nc})}],selector:"kendo-filter-isnotempty-operator",template:""}]}],ctorParameters:function(){return[{type:a.LocalizationService}]}});c(Hc,Ac=S);var Ac,Bc=Hc;function Hc(e){return Ac.call(this,"isnotnull",e)||this}Bc.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Bc,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),Bc.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Bc,selector:"kendo-filter-isnotnull-operator",providers:[{provide:S,useExisting:P.forwardRef(function(){return Bc})}],usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Bc,decorators:[{type:P.Component,args:[{providers:[{provide:S,useExisting:P.forwardRef(function(){return Bc})}],selector:"kendo-filter-isnotnull-operator",template:""}]}],ctorParameters:function(){return[{type:a.LocalizationService}]}});c(qc,$c=S);var $c,Kc=qc;function qc(e){return $c.call(this,"isnull",e)||this}Kc.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Kc,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),Kc.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Kc,selector:"kendo-filter-isnull-operator",providers:[{provide:S,useExisting:P.forwardRef(function(){return Kc})}],usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Kc,decorators:[{type:P.Component,args:[{providers:[{provide:S,useExisting:P.forwardRef(function(){return Kc})}],selector:"kendo-filter-isnull-operator",template:""}]}],ctorParameters:function(){return[{type:a.LocalizationService}]}});c(Zc,_c=S);var _c,Wc=Zc;function Zc(e){return _c.call(this,"neq",e)||this}Wc.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Wc,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),Wc.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Wc,selector:"kendo-filter-neq-operator",providers:[{provide:S,useExisting:P.forwardRef(function(){return Wc})}],usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Wc,decorators:[{type:P.Component,args:[{providers:[{provide:S,useExisting:P.forwardRef(function(){return Wc})}],selector:"kendo-filter-neq-operator",template:""}]}],ctorParameters:function(){return[{type:a.LocalizationService}]}});c(Xc,Uc=S);var Uc,Qc=Xc;function Xc(e){return Uc.call(this,"startswith",e)||this}Qc.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Qc,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),Qc.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Qc,selector:"kendo-filter-startswith-operator",providers:[{provide:S,useExisting:P.forwardRef(function(){return Qc})}],usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Qc,decorators:[{type:P.Component,args:[{providers:[{provide:S,useExisting:P.forwardRef(function(){return Qc})}],selector:"kendo-filter-startswith-operator",template:""}]}],ctorParameters:function(){return[{type:a.LocalizationService}]}});c(ep,Yc=S);var Yc,Jc=ep;function ep(e){return Yc.call(this,"gt",e)||this}Jc.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Jc,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),Jc.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Jc,selector:"kendo-filter-gt-operator",providers:[{provide:S,useExisting:P.forwardRef(function(){return Jc})}],usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Jc,decorators:[{type:P.Component,args:[{providers:[{provide:S,useExisting:P.forwardRef(function(){return Jc})}],selector:"kendo-filter-gt-operator",template:""}]}],ctorParameters:function(){return[{type:a.LocalizationService}]}});c(op,tp=S);var tp,np=op;function op(e){return tp.call(this,"gte",e)||this}np.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:np,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),np.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:np,selector:"kendo-filter-gte-operator",providers:[{provide:S,useExisting:P.forwardRef(function(){return np})}],usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:np,decorators:[{type:P.Component,args:[{providers:[{provide:S,useExisting:P.forwardRef(function(){return np})}],selector:"kendo-filter-gte-operator",template:""}]}],ctorParameters:function(){return[{type:a.LocalizationService}]}});c(ap,rp=S);var rp,ip=ap;function ap(e){return rp.call(this,"lt",e)||this}ip.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ip,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),ip.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:ip,selector:"kendo-filter-lt-operator",providers:[{provide:S,useExisting:P.forwardRef(function(){return ip})}],usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ip,decorators:[{type:P.Component,args:[{providers:[{provide:S,useExisting:P.forwardRef(function(){return ip})}],selector:"kendo-filter-lt-operator",template:""}]}],ctorParameters:function(){return[{type:a.LocalizationService}]}});c(cp,sp=S);var sp,lp=cp;function cp(e){return sp.call(this,"lte",e)||this}lp.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:lp,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),lp.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:lp,selector:"kendo-filter-lte-operator",providers:[{provide:S,useExisting:P.forwardRef(function(){return lp})}],usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:lp,decorators:[{type:P.Component,args:[{providers:[{provide:S,useExisting:P.forwardRef(function(){return lp})}],selector:"kendo-filter-lte-operator",template:""}]}],ctorParameters:function(){return[{type:a.LocalizationService}]}});c(dp,pp=S),dp.prototype.toJSON=function(){return{text:this.text,value:"gt"}};var pp,up=dp;function dp(e){return pp.call(this,"after",e)||this}up.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:up,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),up.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:up,selector:"kendo-filter-after-operator",providers:[{provide:S,useExisting:P.forwardRef(function(){return up})}],usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:up,decorators:[{type:P.Component,args:[{providers:[{provide:S,useExisting:P.forwardRef(function(){return up})}],selector:"kendo-filter-after-operator",template:""}]}],ctorParameters:function(){return[{type:a.LocalizationService}]}});c(hp,gp=S),hp.prototype.toJSON=function(){return{text:this.text,value:"gte"}};var gp,mp=hp;function hp(e){return gp.call(this,"after-eq",e)||this}mp.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:mp,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),mp.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:mp,selector:"kendo-filter-after-eq-operator",providers:[{provide:S,useExisting:P.forwardRef(function(){return mp})}],usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:mp,decorators:[{type:P.Component,args:[{providers:[{provide:S,useExisting:P.forwardRef(function(){return mp})}],selector:"kendo-filter-after-eq-operator",template:""}]}],ctorParameters:function(){return[{type:a.LocalizationService}]}});c(vp,fp=S),vp.prototype.toJSON=function(){return{text:this.text,value:"lte"}};var fp,yp=vp;function vp(e){return fp.call(this,"before-eq",e)||this}yp.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:yp,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),yp.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:yp,selector:"kendo-filter-before-eq-operator",providers:[{provide:S,useExisting:P.forwardRef(function(){return yp})}],usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:yp,decorators:[{type:P.Component,args:[{providers:[{provide:S,useExisting:P.forwardRef(function(){return yp})}],selector:"kendo-filter-before-eq-operator",template:""}]}],ctorParameters:function(){return[{type:a.LocalizationService}]}});c(Cp,bp=S),Cp.prototype.toJSON=function(){return{text:this.text,value:"lt"}};var bp,kp=Cp;function Cp(e){return bp.call(this,"before",e)||this}kp.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:kp,deps:[{token:a.LocalizationService}],target:i.ɵɵFactoryTarget.Component}),kp.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:kp,selector:"kendo-filter-before-operator",providers:[{provide:S,useExisting:P.forwardRef(function(){return kp})}],usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:kp,decorators:[{type:P.Component,args:[{providers:[{provide:S,useExisting:P.forwardRef(function(){return kp})}],selector:"kendo-filter-before-operator",template:""}]}],ctorParameters:function(){return[{type:a.LocalizationService}]}});var Ip=[Ts,xc,Dc,Oc,Lc,Vc,Nc,Bc,Kc,Wc,Qc,Jc,np,ip,lp,up,mp,yp,kp],O=[t.CommonModule,z.ReactiveFormsModule,z.FormsModule,o.DropDownListModule,o.AutoCompleteModule,B.InputsModule,$.DatePickerModule,n.PopupModule,L],S=[Xi],xp=(wp.exports=function(){return g([],k(Ip))},wp);function wp(){}xp.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:xp,deps:[],target:i.ɵɵFactoryTarget.NgModule}),xp.ɵmod=i.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:xp,declarations:[Ts,xc,Dc,Oc,Lc,Vc,Nc,Bc,Kc,Wc,Qc,Jc,np,ip,lp,up,mp,yp,kp,Xi],imports:[t.CommonModule,z.ReactiveFormsModule,z.FormsModule,o.DropDownListModule,o.AutoCompleteModule,B.InputsModule,$.DatePickerModule,n.PopupModule,L],exports:[Ts,xc,Dc,Oc,Lc,Vc,Nc,Bc,Kc,Wc,Qc,Jc,np,ip,lp,up,mp,yp,kp,t.CommonModule,z.ReactiveFormsModule,z.FormsModule,o.DropDownListModule,o.AutoCompleteModule,B.InputsModule,$.DatePickerModule,n.PopupModule,L,Xi]}),xp.ɵinj=i.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:xp,imports:[g([],k(O)),t.CommonModule,z.ReactiveFormsModule,z.FormsModule,o.DropDownListModule,o.AutoCompleteModule,B.InputsModule,$.DatePickerModule,n.PopupModule,L]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:xp,decorators:[{type:P.NgModule,args:[{declarations:[Ip,S],exports:[Ip,O,S],imports:g([],k(O))}]}]});n=[Qs,_s,cn,Ps,Ms,bc,js,na,Xa,Hs],S=[Ps,Ms,js,Hs],Sp.exports=function(){return[Qs,_s,cn,Ts,Ps,Ms,bc,js,Hs,xp.exports()]},O=Sp;function Sp(){}O.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:O,deps:[],target:i.ɵɵFactoryTarget.NgModule}),O.ɵmod=i.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:O,declarations:[Qs,_s,cn,Ps,Ms,bc,js,na,Xa,Hs],imports:[xp],exports:[Qs,_s,cn,Ps,Ms,bc,js,na,Xa,Hs,xp]}),O.ɵinj=i.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:O,imports:[[xp],xp]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:O,decorators:[{type:P.NgModule,args:[{declarations:[n],entryComponents:S,exports:[n,xp],imports:[xp]}]}]});var S=[t.CommonModule,B.InputsModule,H.LabelModule,o.DropDownsModule,p.ResizeSensorModule,L],n=[li,Br,Yr,Kr,Ur,ti,ai,To,oi,_r],Dp=(Tp.exports=function(){return[li,Br,Yr,Kr,Ur,ti,ai,To,oi,_r]},Tp);function Tp(){}Dp.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Dp,deps:[],target:i.ɵɵFactoryTarget.NgModule}),Dp.ɵmod=i.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Dp,declarations:[li,Br,Yr,Kr,Ur,ti,ai,To,oi,_r],imports:[t.CommonModule,B.InputsModule,H.LabelModule,o.DropDownsModule,p.ResizeSensorModule,L],exports:[li,Br,Yr,Kr,Ur,ti,ai,To,oi,_r]}),Dp.ɵinj=i.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Dp,imports:[g([],k(S))]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Dp,decorators:[{type:P.NgModule,args:[{declarations:[n],exports:[n],imports:g([],k(S))}]}]});H=[w,I],o=function(){},o.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:o,deps:[],target:i.ɵɵFactoryTarget.NgModule}),o.ɵmod=i.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:o,declarations:[w,I],exports:[w,I]}),o.ɵinj=i.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:o}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:o,decorators:[{type:P.NgModule,args:[{declarations:[H],exports:[H]}]}]}),n=[Qt,Xt,Jt,ne,vi,A],Fp.exports=function(){return[Qt,Xt,Jt]},S=Fp;function Fp(){}S.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:S,deps:[],target:i.ɵɵFactoryTarget.NgModule}),S.ɵmod=i.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:S,declarations:[Qt,Xt,Jt,ne,vi,A],imports:[t.CommonModule,L,o],exports:[Qt,Xt,Jt,ne,vi,A]}),S.ɵinj=i.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:S,imports:[[t.CommonModule,L,o]]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:S,decorators:[{type:P.NgModule,args:[{declarations:[n],exports:[n],imports:[t.CommonModule,L,o]}]}]});w=[Wa,qa,sa,ca,da,pn,Ca,va,Ta,Ea,Ba,Na,ra,Va],I=[da,Ca,Ea,Na],Op.exports=function(){return[da,pn,Ca,Ea,Na,ra,Va,xp.exports()]},H=Op;function Op(){}H.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:H,deps:[],target:i.ɵɵFactoryTarget.NgModule}),H.ɵmod=i.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:H,declarations:[Wa,qa,sa,ca,da,pn,Ca,va,Ta,Ea,Ba,Na,ra,Va],imports:[xp],exports:[Wa,qa,sa,ca,da,pn,Ca,va,Ta,Ea,Ba,Na,ra,Va,xp]}),H.ɵinj=i.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:H,imports:[[xp],xp]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:H,decorators:[{type:P.NgModule,args:[{declarations:[w],entryComponents:I,exports:[w,xp],imports:[xp]}]}]});Object.defineProperty(Rp.prototype,"columns",{get:function(){return this.columnInfoService.leafNamedColumns},enumerable:!1,configurable:!0}),Rp.prototype.ngOnDestroy=function(){this.close()},Rp.prototype.toggle=function(t,e){var n,o=this;this.popupRef?this.close():(n=this.localization.rtl?"right":"left",this.popupRef=this.popupService.open({anchor:t,content:e,positionMode:"absolute",anchorAlign:{vertical:"bottom",horizontal:n},popupAlign:{vertical:"top",horizontal:n}}),this.renderer.setAttribute(this.popupRef.popupElement,"dir",this.localization.rtl?"rtl":"ltr"),this.ngZone.runOutsideAngular(function(){return o.closeClick=o.renderer.listen("document","click",function(e){e=e.target;$e(e,function(e){return e===o.popupRef.popupElement||e===t})||o.close()})}))},Rp.prototype.onApply=function(e){this.close(),e.length&&(this.changeDetector.markForCheck(),this.columnInfoService.changeVisibility(e))},Rp.prototype.onChange=function(e){this.changeDetector.markForCheck(),this.columnInfoService.changeVisibility(e)},Rp.prototype.close=function(){this.popupRef&&(this.popupRef.close(),this.popupRef=null),this.detachClose()},Rp.prototype.detachClose=function(){this.closeClick&&(this.closeClick(),this.closeClick=null)};var Ep=Rp;function Rp(e,t,n,o,r,i){this.localization=e,this.columnInfoService=t,this.popupService=n,this.ngZone=o,this.renderer=r,this.changeDetector=i,this.autoSync=!1,this.allowHideAll=!0}Ep.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ep,deps:[{token:a.LocalizationService},{token:C},{token:Y.PopupService},{token:i.NgZone},{token:i.Renderer2},{token:i.ChangeDetectorRef}],target:i.ɵɵFactoryTarget.Component}),Ep.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Ep,selector:"kendo-grid-column-chooser",inputs:{autoSync:"autoSync",allowHideAll:"allowHideAll"},ngImport:i,template:'\n <button #anchor\n type="button"\n (click)="toggle(anchor, template)"\n class="k-button k-button-flat-base k-button-flat k-icon-button k-button-md k-rounded-md k-button-rectangle k-icon-button"\n [attr.title]="localization.get(\'columns\')">\n <span class="k-button-icon k-icon k-i-columns"></span>\n </button>\n <ng-template #template>\n <span class=\'k-column-chooser-title\'>{{ localization.get(\'columns\') }}</span>\n <kendo-grid-columnlist\n [columns]="columns"\n [applyText]="localization.get(\'columnsApply\')"\n [resetText]="localization.get(\'columnsReset\')"\n [autoSync]="autoSync"\n [allowHideAll]="allowHideAll"\n (apply)="onApply($event)"\n (columnChange)="onChange($event)">\n </kendo-grid-columnlist>\n </ng-template>\n ',isInline:!0,components:[{type:r,selector:"kendo-grid-columnlist",inputs:["columns","autoSync","allowHideAll","applyText","resetText","actionsClass","isLast","isExpanded","service"],outputs:["reset","apply","columnChange"]}]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Ep,decorators:[{type:P.Component,args:[{selector:"kendo-grid-column-chooser",template:'\n <button #anchor\n type="button"\n (click)="toggle(anchor, template)"\n class="k-button k-button-flat-base k-button-flat k-icon-button k-button-md k-rounded-md k-button-rectangle k-icon-button"\n [attr.title]="localization.get(\'columns\')">\n <span class="k-button-icon k-icon k-i-columns"></span>\n </button>\n <ng-template #template>\n <span class=\'k-column-chooser-title\'>{{ localization.get(\'columns\') }}</span>\n <kendo-grid-columnlist\n [columns]="columns"\n [applyText]="localization.get(\'columnsApply\')"\n [resetText]="localization.get(\'columnsReset\')"\n [autoSync]="autoSync"\n [allowHideAll]="allowHideAll"\n (apply)="onApply($event)"\n (columnChange)="onChange($event)">\n </kendo-grid-columnlist>\n </ng-template>\n '}]}],ctorParameters:function(){return[{type:a.LocalizationService},{type:C},{type:Y.PopupService},{type:i.NgZone},{type:i.Renderer2},{type:i.ChangeDetectorRef}]},propDecorators:{autoSync:[{type:P.Input}],allowHideAll:[{type:P.Input}]}});n=[r,Ep,gs,fs,es,Ja,xs,Ss,os,nn,ks,vs,as,cs],Lp.exports=function(){return[Ep,fs,es,Ja,xs,os,as,cs,gs,nn,ks,vs,Ss]},I=Lp;function Lp(){}I.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:I,deps:[],target:i.ɵɵFactoryTarget.NgModule}),I.ɵmod=i.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:I,declarations:[r,Ep,gs,fs,es,Ja,xs,Ss,os,nn,ks,vs,as,cs],imports:[t.CommonModule,H],exports:[r,Ep,gs,fs,es,Ja,xs,Ss,os,nn,ks,vs,as,cs]}),I.ɵinj=i.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:I,imports:[[t.CommonModule,H]]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:I,decorators:[{type:P.NgModule,args:[{declarations:[n],imports:[t.CommonModule,H],exports:[n]}]}]});w=[gl,en,sl,tl],r=[t.CommonModule,S,O,H,L,o,I],Pp.exports=function(){return[en,tl]},n=Pp;function Pp(){}n.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:n,deps:[],target:i.ɵɵFactoryTarget.NgModule}),n.ɵmod=i.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:n,declarations:[gl,en,sl,tl],imports:[t.CommonModule,S,O,H,L,o,I],exports:[gl,en,sl,tl]}),n.ɵinj=i.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:n,imports:[g([],k(r))]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:n,decorators:[{type:P.NgModule,args:[{declarations:[w],exports:[w],imports:g([],k(r))}]}]});c(Mp,Gp=y),Object.defineProperty(Mp.prototype,"templateRef",{get:function(){return this.template?this.template.templateRef:void 0},enumerable:!1,configurable:!0});var Gp,Vp=Mp;function Mp(e,t){t=Gp.call(this,e,t)||this;return t.parent=e,t.isCheckboxColumn=!0,t}Vp.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Vp,deps:[{token:y,host:!0,optional:!0,skipSelf:!0},{token:f,optional:!0}],target:i.ɵɵFactoryTarget.Component}),Vp.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Vp,selector:"kendo-grid-checkbox-column",inputs:{showSelectAll:"showSelectAll"},providers:[{provide:y,useExisting:P.forwardRef(function(){return Vp})}],queries:[{propertyName:"template",first:!0,predicate:Ut,descendants:!0}],usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Vp,decorators:[{type:P.Component,args:[{providers:[{provide:y,useExisting:P.forwardRef(function(){return Vp})}],selector:"kendo-grid-checkbox-column",template:""}]}],ctorParameters:function(){return[{type:y,decorators:[{type:P.SkipSelf},{type:P.Host},{type:P.Optional}]},{type:f,decorators:[{type:P.Optional}]}]},propDecorators:{showSelectAll:[{type:P.Input}],template:[{type:P.ContentChild,args:[Ut,{static:!1}]}]}});c(jp,zp=_.Button),Object.defineProperty(jp.prototype,"visible",{get:function(){return this.isEdited?"none":""},enumerable:!1,configurable:!0}),jp.prototype.onClick=function(e){e.preventDefault(),this.editService.beginEdit(this.rowIndex)},jp.prototype.ngDoCheck=function(){this.cellContext&&(this.rowIndex=this.cellContext.rowIndex,this.isEdited=this.editService.isEdited(this.rowIndex))};var zp,Np=jp;function jp(e,t,n,o,r,i){n=zp.call(this,n,o,null,r,i)||this;return n.editService=e,n.cellContext=t,n.commandClass=!0,n}Np.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Np,deps:[{token:u},{token:wt},{token:i.ElementRef},{token:i.Renderer2},{token:a.LocalizationService},{token:i.NgZone}],target:i.ɵɵFactoryTarget.Directive}),Np.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:Np,selector:"[kendoGridEditCommand]",host:{listeners:{click:"onClick($event)"},properties:{"style.display":"this.visible","class.k-grid-edit-command":"this.commandClass"}},usesInheritance:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Np,decorators:[{type:P.Directive,args:[{selector:"[kendoGridEditCommand]"}]}],ctorParameters:function(){return[{type:u},{type:void 0,decorators:[{type:P.Inject,args:[wt]}]},{type:i.ElementRef},{type:i.Renderer2},{type:a.LocalizationService},{type:i.NgZone}]},propDecorators:{visible:[{type:P.HostBinding,args:["style.display"]}],commandClass:[{type:P.HostBinding,args:["class.k-grid-edit-command"]}],onClick:[{type:P.HostListener,args:["click",["$event"]]}]}});c(Hp,Ap=_.Button),Object.defineProperty(Hp.prototype,"visible",{get:function(){return this.isEdited?"":"none"},enumerable:!1,configurable:!0}),Hp.prototype.onClick=function(e){e.preventDefault(),this.isEdited&&this.editService.endEdit(this.rowIndex)},Hp.prototype.ngDoCheck=function(){this.cellContext&&(this.rowIndex=this.cellContext.rowIndex,this.isEdited=this.editService.isEdited(this.rowIndex))};var Ap,Bp=Hp;function Hp(e,t,n,o,r,i){n=Ap.call(this,n,o,null,r,i)||this;return n.editService=e,n.cellContext=t,n.commandClass=!0,n}Bp.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Bp,deps:[{token:u},{token:wt},{token:i.ElementRef},{token:i.Renderer2},{token:a.LocalizationService},{token:i.NgZone}],target:i.ɵɵFactoryTarget.Directive}),Bp.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:Bp,selector:"[kendoGridCancelCommand]",host:{listeners:{click:"onClick($event)"},properties:{"style.display":"this.visible","class.k-grid-cancel-command":"this.commandClass"}},usesInheritance:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Bp,decorators:[{type:P.Directive,args:[{selector:"[kendoGridCancelCommand]"}]}],ctorParameters:function(){return[{type:u},{type:void 0,decorators:[{type:P.Inject,args:[wt]}]},{type:i.ElementRef},{type:i.Renderer2},{type:a.LocalizationService},{type:i.NgZone}]},propDecorators:{visible:[{type:P.HostBinding,args:["style.display"]}],commandClass:[{type:P.HostBinding,args:["class.k-grid-cancel-command"]}],onClick:[{type:P.HostListener,args:["click",["$event"]]}]}});c(qp,$p=_.Button),Object.defineProperty(qp.prototype,"visible",{get:function(){return this.isEdited?"":"none"},enumerable:!1,configurable:!0}),qp.prototype.onClick=function(e){e.preventDefault(),this.isEdited&&this.editService.save(this.rowIndex)},qp.prototype.ngDoCheck=function(){this.cellContext&&(this.rowIndex=this.cellContext.rowIndex,this.isEdited=this.editService.isEdited(this.rowIndex))};var $p,Kp=qp;function qp(e,t,n,o,r,i){n=$p.call(this,n,o,null,r,i)||this;return n.editService=e,n.cellContext=t,n.commandClass=!0,n}Kp.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Kp,deps:[{token:u},{token:wt},{token:i.ElementRef},{token:i.Renderer2},{token:a.LocalizationService},{token:i.NgZone}],target:i.ɵɵFactoryTarget.Directive}),Kp.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:Kp,selector:"[kendoGridSaveCommand]",host:{listeners:{click:"onClick($event)"},properties:{"style.display":"this.visible","class.k-grid-save-command":"this.commandClass"}},usesInheritance:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Kp,decorators:[{type:P.Directive,args:[{selector:"[kendoGridSaveCommand]"}]}],ctorParameters:function(){return[{type:u},{type:void 0,decorators:[{type:P.Inject,args:[wt]}]},{type:i.ElementRef},{type:i.Renderer2},{type:a.LocalizationService},{type:i.NgZone}]},propDecorators:{visible:[{type:P.HostBinding,args:["style.display"]}],commandClass:[{type:P.HostBinding,args:["class.k-grid-save-command"]}],onClick:[{type:P.HostListener,args:["click",["$event"]]}]}});c(Zp,_p=_.Button),Object.defineProperty(Zp.prototype,"visible",{get:function(){return this.isEdited?"none":""},enumerable:!1,configurable:!0}),Zp.prototype.onClick=function(e){e.preventDefault(),this.editService.remove(this.rowIndex)},Zp.prototype.ngDoCheck=function(){this.cellContext&&(this.rowIndex=this.cellContext.rowIndex,this.isEdited=this.editService.isEdited(this.rowIndex))};var _p,Wp=Zp;function Zp(e,t,n,o,r,i){n=_p.call(this,n,o,null,r,i)||this;return n.editService=e,n.cellContext=t,n.commandClass=!0,n}Wp.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Wp,deps:[{token:u},{token:wt},{token:i.ElementRef},{token:i.Renderer2},{token:a.LocalizationService},{token:i.NgZone}],target:i.ɵɵFactoryTarget.Directive}),Wp.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:Wp,selector:"[kendoGridRemoveCommand]",host:{listeners:{click:"onClick($event)"},properties:{"style.display":"this.visible","class.k-grid-remove-command":"this.commandClass"}},usesInheritance:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Wp,decorators:[{type:P.Directive,args:[{selector:"[kendoGridRemoveCommand]"}]}],ctorParameters:function(){return[{type:u},{type:void 0,decorators:[{type:P.Inject,args:[wt]}]},{type:i.ElementRef},{type:i.Renderer2},{type:a.LocalizationService},{type:i.NgZone}]},propDecorators:{visible:[{type:P.HostBinding,args:["style.display"]}],commandClass:[{type:P.HostBinding,args:["class.k-grid-remove-command"]}],onClick:[{type:P.HostListener,args:["click",["$event"]]}]}});c(Xp,Up=_.Button),Xp.prototype.onClick=function(e){e.preventDefault(),this.editService.beginAdd()},Object.defineProperty(Xp.prototype,"commandClass",{get:function(){return!0},enumerable:!1,configurable:!0});var Up,Qp=Xp;function Xp(e,t,n,o,r){t=Up.call(this,t,n,null,o,r)||this;return t.editService=e,t}Qp.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Qp,deps:[{token:u},{token:i.ElementRef},{token:i.Renderer2},{token:a.LocalizationService},{token:i.NgZone}],target:i.ɵɵFactoryTarget.Directive}),Qp.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:Qp,selector:"[kendoGridAddCommand]",host:{listeners:{click:"onClick($event)"},properties:{"class.k-grid-add-command":"this.commandClass"}},usesInheritance:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Qp,decorators:[{type:P.Directive,args:[{selector:"[kendoGridAddCommand]"}]}],ctorParameters:function(){return[{type:u},{type:i.ElementRef},{type:i.Renderer2},{type:a.LocalizationService},{type:i.NgZone}]},propDecorators:{onClick:[{type:P.HostListener,args:["click",["$event"]]}],commandClass:[{type:P.HostBinding,args:["class.k-grid-add-command"]}]}});o=[xl,Vp,Sl,Ut,Yt,l,xo,El,Np,Bp,Kp,Wp,Qp,Rr,Lr],w=[t.CommonModule,z.ReactiveFormsModule,z.FormsModule,L,S,B.NumericTextBoxModule,$.DatePickerModule,p.ResizeSensorModule],Yp.exports=function(){return[xl,Vp,Sl,Ut,xo,Yt,Np,Bp,Kp,Wp,Qp,Rr,Lr]},r=Yp;function Yp(){}r.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:r,deps:[],target:i.ɵɵFactoryTarget.NgModule}),r.ɵmod=i.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:r,declarations:[xl,Vp,Sl,Ut,Yt,l,xo,El,Np,Bp,Kp,Wp,Qp,Rr,Lr],imports:[t.CommonModule,z.ReactiveFormsModule,z.FormsModule,L,S,B.NumericTextBoxModule,$.DatePickerModule,p.ResizeSensorModule],exports:[xl,Vp,Sl,Ut,Yt,l,xo,El,Np,Bp,Kp,Wp,Qp,Rr,Lr]}),r.ɵinj=i.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:r,imports:[g([],k(w))]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:r,decorators:[{type:P.NgModule,args:[{declarations:[o],exports:[o],imports:g([],k(w))}]}]});B=[Ql],$=[t.CommonModule,L],Jp.exports=function(){return[]},o=Jp;function Jp(){}o.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:o,deps:[],target:i.ɵɵFactoryTarget.NgModule}),o.ɵmod=i.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:o,declarations:[Ql],imports:[t.CommonModule,L],exports:[Ql]}),o.ɵinj=i.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:o,imports:[g([],k($))]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:o,decorators:[{type:P.NgModule,args:[{declarations:[B],exports:[B],imports:g([],k($))}]}]});tu.prototype.create=function(e){this.hasLocalData&&this.grid.skip?this.localDataChangesService.data.splice(this.grid.skip,0,e):this.data.unshift(e),this.dataChanged()},tu.prototype.update=function(e){},tu.prototype.remove=function(e){for(var t=this.data,n=0;n<t.length;n++)if(e===t[n]){t.splice(n,1),this.dataChanged({action:"remove",item:e});break}},tu.prototype.assignValues=function(e,t){Object.assign(e,t)},tu.prototype.dataChanged=function(e){void 0===e&&(e={}),this.hasLocalData&&this.localDataChangesService.changes.emit(e)},Object.defineProperty(tu.prototype,"hasLocalData",{get:function(){return Array.isArray(this.localDataChangesService.data)},enumerable:!1,configurable:!0}),Object.defineProperty(tu.prototype,"data",{get:function(){if(this.hasLocalData)return this.localDataChangesService.data;var e=this.grid.data;if(Array.isArray(e))return e;if(P.isDevMode())throw new Error("The default edit service of the editing directives works only when binding to plain array.Please provide an editService.");return[]},enumerable:!1,configurable:!0});var eu=tu;function tu(e,t){this.grid=e,this.localDataChangesService=t}Object.defineProperty(nu.prototype,"editService",{get:function(){return this.userEditService||this.defaultEditService},set:function(e){this.userEditService=e},enumerable:!1,configurable:!0}),nu.prototype.ngOnInit=function(){this.subscriptions=this.grid.add.subscribe(this.addHandler.bind(this)),this.subscriptions.add(this.grid.remove.subscribe(this.removeHandler.bind(this))),this.subscriptions.add(this.grid.cancel.subscribe(this.cancelHandler.bind(this))),this.subscriptions.add(this.grid.save.subscribe(this.saveHandler.bind(this))),this.subscriptions.add(this.grid.dataStateChange.subscribe(this.onStateChange.bind(this)))},nu.prototype.ngOnDestroy=function(){this.subscriptions.unsubscribe()},nu.prototype.createDefaultService=function(){return new eu(this.grid,this.localDataChangesService)},nu.prototype.addHandler=function(){this.grid.addRow(this.createModel({isNew:!0}))},nu.prototype.saveHandler=function(e){var t=this.saveModel(e);t&&(e.isNew?this.editService.create(t):this.editService.update(t)),this.grid.closeRow(e.rowIndex)},nu.prototype.cancelHandler=function(e){e=e.rowIndex;this.closeEditor(e)},nu.prototype.removeHandler=function(e){function t(e){e&&n.editService.remove(o)}var n=this,o=e.dataItem;this.removeConfirmation?(e=this.removeConfirmation(o))instanceof Promise?e.then(t):e instanceof b.Observable?e.pipe(G.take(1)).subscribe(t):t(e):t(!0)},nu.prototype.onStateChange=function(){this.closeEditor()},nu.prototype.closeEditor=function(e){this.grid.closeRow(e)};w=nu;function nu(e,t){this.grid=e,this.localDataChangesService=t,this.defaultEditService=this.createDefaultService()}w.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:w,deps:[{token:E},{token:Se}],target:i.ɵɵFactoryTarget.Directive}),w.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:w,selector:"[kendoGridEditingDirectiveBase]",inputs:{editService:"editService",removeConfirmation:"removeConfirmation"},ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:w,decorators:[{type:P.Directive,args:[{selector:"[kendoGridEditingDirectiveBase]"}]}],ctorParameters:function(){return[{type:E},{type:Se}]},propDecorators:{editService:[{type:P.Input}],removeConfirmation:[{type:P.Input}]}});c(iu,ou=eu),iu.prototype.update=function(e){this.dataChanged()};var ou,ru=iu;function iu(){return null!==ou&&ou.apply(this,arguments)||this}c(su,au=w),su.prototype.ngOnInit=function(){au.prototype.ngOnInit.call(this),this.subscriptions.add(this.grid.edit.subscribe(this.editHandler.bind(this)))},su.prototype.createDefaultService=function(){return new ru(this.grid,this.localDataChangesService)},su.prototype.addHandler=function(){this.closeEditor(),au.prototype.addHandler.call(this)},su.prototype.editHandler=function(e){this.closeEditor(),this.rowIndex=e.rowIndex,this.grid.editRow(e.rowIndex,this.createModel(e))},su.prototype.saveHandler=function(e){au.prototype.saveHandler.call(this,e),this.clean()},su.prototype.closeEditor=function(e){void 0===e&&(e=this.rowIndex),au.prototype.closeEditor.call(this,e),this.clean()},su.prototype.clean=function(){delete this.rowIndex};var au,B=su;function su(){return null!==au&&au.apply(this,arguments)||this}B.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:B,deps:null,target:i.ɵɵFactoryTarget.Directive}),B.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:B,selector:"[kendoGridRowEditingDirectiveBase]",usesInheritance:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:B,decorators:[{type:P.Directive,args:[{selector:"[kendoGridRowEditingDirectiveBase]"}]}]});c(cu,lu=B),cu.prototype.editHandler=function(e){lu.prototype.editHandler.call(this,e),this.dataItem=e.dataItem,this.originalValues={},this.editService.assignValues(this.originalValues,this.dataItem)},cu.prototype.closeEditor=function(e){this.dataItem&&this.editService.assignValues(this.dataItem,this.originalValues),lu.prototype.closeEditor.call(this,e)},cu.prototype.createModel=function(e){if(e.isNew)return this.createNewItem()},cu.prototype.saveModel=function(e){return e.dataItem},cu.prototype.clean=function(){lu.prototype.clean.call(this),delete this.dataItem};var lu,$=cu;function cu(e,t){var n=lu.call(this,e,t)||this;return n.grid=e,n.localDataChangesService=t,n}$.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:$,deps:[{token:E},{token:Se}],target:i.ɵɵFactoryTarget.Directive}),$.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:$,selector:"[kendoGridTemplateEditing]",inputs:{createNewItem:["kendoGridTemplateEditing","createNewItem"]},usesInheritance:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:$,decorators:[{type:P.Directive,args:[{selector:"[kendoGridTemplateEditing]"}]}],ctorParameters:function(){return[{type:E},{type:Se}]},propDecorators:{createNewItem:[{type:P.Input,args:["kendoGridTemplateEditing"]}]}});function pu(e){if(e.markAsTouched(),e.hasOwnProperty("controls")){var t,n=e.controls;for(t in n)n.hasOwnProperty(t)&&pu(n[t])}}c(gu,uu=B),gu.prototype.createModel=function(e){return this.createFormGroup(e)},gu.prototype.saveModel=function(e){var t=e.dataItem,n=e.formGroup,e=e.isNew;if(n.dirty||e)return n.valid?(this.editService.assignValues(t,n.value),t):void pu(n)};var uu,du=gu;function gu(e,t){var n=uu.call(this,e,t)||this;return n.grid=e,n.localDataChangesService=t,n}du.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:du,deps:[{token:E},{token:Se}],target:i.ɵɵFactoryTarget.Directive}),du.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:du,selector:"[kendoGridReactiveEditing]",inputs:{createFormGroup:["kendoGridReactiveEditing","createFormGroup"]},usesInheritance:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:du,decorators:[{type:P.Directive,args:[{selector:"[kendoGridReactiveEditing]"}]}],ctorParameters:function(){return[{type:E},{type:Se}]},propDecorators:{createFormGroup:[{type:P.Input,args:["kendoGridReactiveEditing"]}]}});c(fu,mu=w),fu.prototype.createModel=function(e){return this.createFormGroup(e)},fu.prototype.saveModel=function(e){var t=e.dataItem,n=e.formGroup,e=e.isNew;if(n.dirty||e)return n.valid?(this.editService.assignValues(t,n.value),t):void pu(n)},fu.prototype.ngOnInit=function(){mu.prototype.ngOnInit.call(this),this.subscriptions.add(this.grid.cellClick.subscribe(this.cellClickHandler.bind(this))),this.subscriptions.add(this.grid.cellClose.subscribe(this.cellCloseHandler.bind(this)))},fu.prototype.removeHandler=function(e){mu.prototype.removeHandler.call(this,e),this.grid.cancelCell()},fu.prototype.cellClickHandler=function(e){e.isEdited||"contextmenu"===e.type||(this.grid.editCell(e.rowIndex,e.columnIndex,this.createFormGroup(e)),this.cdr.markForCheck())},fu.prototype.cellCloseHandler=function(e){var t=e.formGroup,n=e.dataItem;t.valid?!t.dirty||e.originalEvent&&e.originalEvent.keyCode===p.Keys.Escape||(this.editService.assignValues(n,t.value),this.editService.update(n)):e.preventDefault()};var mu,hu=fu;function fu(e,t,n){var o=mu.call(this,e,t)||this;return o.grid=e,o.localDataChangesService=t,o.cdr=n,o}hu.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:hu,deps:[{token:E},{token:Se},{token:i.ChangeDetectorRef}],target:i.ɵɵFactoryTarget.Directive}),hu.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:hu,selector:"[kendoGridInCellEditing]",inputs:{createFormGroup:["kendoGridInCellEditing","createFormGroup"]},usesInheritance:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:hu,decorators:[{type:P.Directive,args:[{selector:"[kendoGridInCellEditing]"}]}],ctorParameters:function(){return[{type:E},{type:Se},{type:i.ChangeDetectorRef}]},propDecorators:{createFormGroup:[{type:P.Input,args:["kendoGridInCellEditing"]}]}});function yu(e){return V(e)&&0<e.length}function vu(e,t){return j.process(e,t).data}function bu(e,t){var n=[];return{group:e.split("_").reduce(function(e,t){t=parseInt(t,10);return e.items?(n.push(e),e.items[t]):ae(e)?e[t]:e},t),parents:n}}function ku(e,t,n,o){if(void 0===o&&(o=!1),!V(n))return e;for(var r=[],i=0,a=e.length;i<a&&!(n<=0);i++){var s,l,c=e[i],p=c.items,u=Iu(p,o),d=(o&&p.length&&u++,0<t);t&&(t--,u&&u<=t)?t-=u:d&&!u||(u=[],s=!0,d||n--,n&&((l=p)&&l.length&&l[0].field&&l[0].items?(l=ku(p,t,n,o),u.push.apply(u,g([],k(l))),n-=Iu(l,o)):(u.push.apply(u,g([],k(p.slice(t,Math.min(t+n,p.length))))),n-=u.length),n&&o&&(s=!1,n--),t=0),r.push({aggregates:c.aggregates,field:c.field,hideFooter:s,items:u,offset:i,skipHeader:d,value:c.value}))}return r}var Cu,Iu=function(e,o){return void 0===o&&(o=!1),e.reduce(function(e,t){var n;return t.skipHeader||e++,t.items&&(n=Iu(t.items,o),o&&n&&!t.hideFooter&&e++,e+=n),e},0)},xu=(c(wu,Cu=s),Object.defineProperty(wu.prototype,"kendoGridGroupBinding",{set:function(e){this.groups=null,this.grid.resetGroupsState(),this.data=e},enumerable:!1,configurable:!0}),Object.defineProperty(wu.prototype,"data",{set:function(e){this.originalData=e||[],this.dataChanged=!0},enumerable:!1,configurable:!0}),Object.defineProperty(wu.prototype,"sort",{set:function(e){var t=this.state.sort!==e;this.grid.sort=this.state.sort=e,t&&(this.groups=null,this.grid.resetGroupsState())},enumerable:!1,configurable:!0}),Object.defineProperty(wu.prototype,"filter",{set:function(e){Ki(this.state.filter,e)&&(this.state.filter=e,this.grid.filter=Bi(e),this.groups=null,this.grid.resetGroupsState())},enumerable:!1,configurable:!0}),Object.defineProperty(wu.prototype,"group",{set:function(e){var t=yu(this.state.group)||yu(e),t=this.state.group!==e&&t;this.grid.group=this.state.group=e,t&&(this.groups=null,this.grid.resetGroupsState(),this.skip=0)},enumerable:!1,configurable:!0}),wu.prototype.ngOnInit=function(){Cu.prototype.ngOnInit.call(this),this.grid.groupExpand.subscribe(this.groupExpand.bind(this)),this.grid.groupCollapse.subscribe(this.groupCollapse.bind(this))},wu.prototype.ngAfterContentInit=function(){if(P.isDevMode()&&this.grid.isGroupExpanded)throw new Error("Using the `kendoGridGroupBinding` directive in combination with the `kendoGridExpandGroupBy` directive or the `isGroupExpanded` callback is not supported. To use grouping with the `kendoGridGroupBinding` directive, set the Grid `groupable` property to `true`.")},wu.prototype.groupExpand=function(e){var t,n,o,e=e.groupIndex,e=(this.grid.expandGroupChildren(e),bu(e,this.groups)),r=e.group,e=e.parents;r.items.length||(t=this.state.group.filter((n=e,o=r,function(t){return t.field!==o.field&&!n.some(function(e){return e.field===t.field})})),e=function(e,t){t=t.map(function(e){return{field:e.field,operator:"eq",value:e.value}});return j.filterBy(e,{filters:t,logic:"and"})}(this.originalData,e.concat(r)),r.items=vu(e,{filter:this.state.filter,group:t,sort:this.state.sort})),this.grid.data=this.dataResult(this.state.skip,this.state.take)},wu.prototype.groupCollapse=function(e){e=e.groupIndex,e=bu(e,this.groups).group;e&&(e.items=[]),this.grid.data=this.dataResult(this.state.skip,this.state.take)},wu.prototype.process=function(e){var t;return e.group&&e.group.length?(t=this.processGroups(e),this.grid.skip-=function(e){for(var t=0;e;)e.skipHeader&&t++,e=e.items&&e.items[0]||null;return t}(t.data[0]),t):(this.groups=null,Cu.prototype.process.call(this,e))},wu.prototype.processGroups=function(e){return this.groups&&this.groups.length||(this.groups=vu(this.originalData,{filter:e.filter,group:e.group,sort:e.sort})),this.dataResult(e.skip,e.take)},wu.prototype.dataResult=function(e,t){var n=this.grid.showGroupFooters;return{data:ku(this.groups,e,t,n),total:Iu(this.groups,n)}},wu.prototype.applyState=function(e){var t=e.skip,n=e.take,o=e.sort,r=e.group,e=e.filter;this.skip=t,this.state.take=n,this.sort=o,this.group=r,this.filter=e},wu);function wu(e,t,n){return Cu.call(this,e,t,n)||this}xu.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:xu,deps:[{token:E},{token:i.ChangeDetectorRef},{token:Se}],target:i.ɵɵFactoryTarget.Directive}),xu.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:xu,selector:"[kendoGridGroupBinding]",inputs:{kendoGridGroupBinding:"kendoGridGroupBinding",sort:"sort",filter:"filter",group:"group"},usesInheritance:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:xu,decorators:[{type:P.Directive,args:[{selector:"[kendoGridGroupBinding]"}]}],ctorParameters:function(){return[{type:E},{type:i.ChangeDetectorRef},{type:Se}]},propDecorators:{kendoGridGroupBinding:[{type:P.Input,args:["kendoGridGroupBinding"]}],sort:[{type:P.Input}],filter:[{type:P.Input}],group:[{type:P.Input}]}});var Su,Du=g(g(g(g(g(g(g(g(g([E,jo,Pr,ke,s,St,hc,xu,$,du,hu,M,dc],k(S.exports())),k(L.exports())),k(r.exports())),k(n.exports())),k(o.exports())),k(Dp.exports())),k(O.exports())),k(H.exports())),k(I.exports())),Tu=[E,Ul,Pr,oc,hc,s,jo,St,$,du,hu,M,dc,xu,$t,ke],Fu=function(){},$t=(Fu.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Fu,deps:[],target:i.ɵɵFactoryTarget.NgModule}),Fu.ɵmod=i.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Fu,declarations:[E,Ul,Pr,oc,hc,s,jo,St,$,du,hu,M,dc,xu,$t,ke],imports:[t.CommonModule,S,L,r,n,o,Dp,O,H,p.ResizeSensorModule,I],exports:[E,jo,Pr,ke,s,St,hc,xu,$,du,hu,M,dc,Qt,Xt,Jt,gn,yn,Pn,tn,Vn,Dt,xl,Vp,Sl,Ut,xo,Yt,Np,Bp,Kp,Wp,Qp,Rr,Lr,en,tl,li,Br,Yr,Kr,Ur,ti,ai,To,oi,_r,Qs,_s,cn,Ts,Ps,Ms,bc,js,Hs,Ts,xc,Dc,Oc,Lc,Vc,Nc,Bc,Kc,Wc,Qc,Jc,np,ip,lp,up,mp,yp,kp,da,pn,Ca,Ea,Na,ra,Va,Ts,xc,Dc,Oc,Lc,Vc,Nc,Bc,Kc,Wc,Qc,Jc,np,ip,lp,up,mp,yp,kp,Ep,fs,es,Ja,xs,os,as,cs,gs,nn,ks,vs,Ss]}),Fu.ɵinj=i.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Fu,imports:[[t.CommonModule,S,L,r,n,o,Dp,O,H,p.ResizeSensorModule,I]]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Fu,decorators:[{type:P.NgModule,args:[{declarations:[Tu],exports:[Du],imports:[t.CommonModule,S,L,r,n,o,Dp,O,H,p.ResizeSensorModule,I]}]}]}),c(Ou,Su=W.PDFExportMarginComponent),Ou);function Ou(){return null!==Su&&Su.apply(this,arguments)||this}$t.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:$t,deps:null,target:i.ɵɵFactoryTarget.Component}),$t.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:$t,selector:"kendo-grid-pdf-margin",usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:$t,decorators:[{type:P.Component,args:[{selector:"kendo-grid-pdf-margin",template:""}]}]});c(Ru,Eu=W.PDFExportTemplateDirective);var Eu,Tu=Ru;function Ru(e){return Eu.call(this,e)||this}Tu.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Tu,deps:[{token:i.TemplateRef,optional:!0}],target:i.ɵɵFactoryTarget.Directive}),Tu.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:Tu,selector:"[kendoGridPDFTemplate]",usesInheritance:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Tu,decorators:[{type:P.Directive,args:[{selector:"[kendoGridPDFTemplate]"}]}],ctorParameters:function(){return[{type:i.TemplateRef,decorators:[{type:P.Optional}]}]}});function Lu(e){return e?"locked":"wrap"}var Pu="k-grid-header",Gu="k-grid-footer",Vu=ze("KENDO-GRID-LIST"),Mu=ze("TABLE"),zu=(Nu.prototype.content=function(e){return We(this.list,Me("k-grid-content"+(e?"-locked":"")))},Nu.prototype.header=function(e){return this.headerWrap=this.headerWrap||We(this.element,Me(Pu)),We(this.headerWrap,Me(Pu+"-"+Lu(e)))},Nu.prototype.footer=function(e){return this.footerWrap=this.footerWrap||We(this.element,Me(Gu)),We(this.footerWrap,Me(Gu+"-"+Lu(e)))},Nu.prototype.table=function(){return We(this.element,Mu)},Nu);function Nu(e){this.element=e,this.list=We(e,Vu)}function ju(e){for(var t=e.cloneNode(!1),n=(e._kendoExportVisual&&(t._kendoExportVisual=e._kendoExportVisual),0<=qu.indexOf(String(e.nodeName).toLowerCase())&&(t.removeAttribute("id"),t.removeAttribute("name"),t.value=e.value,t.checked=e.checked,t.selected=e.selected),e.firstChild);n;)t.appendChild(ju(n)),n=n.nextSibling;return t}function Au(e){var t,n,o,r,i=(e=new zu(e)).content(),a=i?(t=[i.querySelector("colgroup")],n=[e.header().querySelector("thead")],i=[i.querySelector("tbody")],r=[],(o=e.footer())&&r.push(o.querySelector("tfoot")),(a=e.content(!0))&&(t.unshift(a.querySelector("colgroup")),n.unshift(e.header(!0).querySelector("thead")),i.unshift(a.querySelector("tbody")),o&&r.unshift(e.footer(!0).querySelector("tfoot"))),function(e,t,n,o){for(var r=document.createElement("table"),i=e[0].cloneNode(!0),a=1;a<e.length;a++)_u(i,e[a].querySelectorAll("col"));var s=Zu(t),n=Zu(n);return s.className=Pu,Uu(s,t),r.appendChild(i),r.appendChild(s),r.appendChild(n),o.length&&((t=Zu(o)).className=Gu,r.appendChild(t)),Wu(r)}(t,n,i,r)):Wu(e.table().cloneNode(!0));return a}function Bu(e,t){return e=document.createElement(e),t&&(e.className=t),e}function Hu(e){return Bu("div",e)}var $u,Ku="k-first",qu=["input","select","textarea","option"],_u=function(e,t){for(var n=t.length,o=0;o<n;o++)e.appendChild(ju(t[o]))},Wu=function(e){var t=document.createElement("div");return t.className="k-grid",t.appendChild(e),t},Zu=function(e){var t=e.length,n=ju(e[0]),o=n.rows.length;if(1<t)for(var r=0;r<o;r++)for(var i=1;i<t;i++)_u(n.rows[r],e[i].rows[r].cells);return n},Uu=function(e,t){if(1<t.length&&1<e.rows.length)for(var n=1;n<e.rows.length;n++){var o=t[0].rows[n].cells.length,o=e.rows[n].cells[o];-1===String(o.className).indexOf(Ku)&&(o.className+=" "+Ku)}},Du=(c(Qu,$u=W.PDFExportComponent),Qu.prototype.ngOnDestroy=function(){this.saveSubscription.unsubscribe(),this.drawSubscription.unsubscribe(),this.reset()},Qu.prototype.saveAs=function(e){throw new Error("Not supported. Use GridComponent.saveAsPDF")},Qu.prototype.export=function(){throw new Error("Not supported. Use GridComponent.drawPDF")},Qu.prototype.savePDF=function(e){this.createPDF(e,this.draw)},Qu.prototype.drawPDF=function(e){var t=this,n=e.component,o=e.promise;this.createPDF(n,function(){t.createExportGroup(o)})},Qu.prototype.createPDF=function(e,t){var n=e.pageSize,o=e.view.total,r=this.columns.toArray();r.length&&(this.originalColumns=e.columns.toArray()),this.component=e,this.suspendService.scroll=!0,this.pdfService.exporting=!0,this.initProgress(),this.renderAllPages=this.allPages&&n<o,this.renderAllPages?(this.skip=e.skip,this.pageSize=n,this.changePage(0,o,t,r)):r.length||e.virtualColumns?this.changeColumns(r,t):t()},Qu.prototype.initProgress=function(){var e=this.component.wrapper.nativeElement,t=this.progress=Hu("k-loading-pdf-mask"),n=ju(e);t.appendChild(n),t.appendChild(Hu("k-loading-color")),t.appendChild(Bu("span","k-i-loading k-icon")),this.originalHeight=e.style.height,this.originalOverflow=e.style.overflow,e.style.height=e.offsetHeight+"px",e.style.overflow="hidden",e.appendChild(t),this.applyScroll(n)},Qu.prototype.applyScroll=function(e){var t,n=new zu(this.component.wrapper.nativeElement),o=n.content();o&&((t=(e=new zu(e)).content()).scrollTop=o.scrollTop,t.scrollLeft=o.scrollLeft,e.header().scrollLeft=n.header().scrollLeft,(t=n.footer())&&(e.footer().scrollLeft=t.scrollLeft),(o=n.content(!0))&&((t=e.content(!0)).scrollTop=o.scrollTop,t.scrollLeft=o.scrollLeft))},Qu.prototype.draw=function(){var t=this;this.createExportElement(function(e){t.save(e,t.fileName)})},Qu.prototype.createExportGroup=function(t){var n=this;this.createExportElement(function(e){n.exportElement(e).then(function(e){return t.resolve(e)})})},Qu.prototype.createExportElement=function(n){var o=this;this.ngZone.runOutsideAngular(function(){var e=o.container=Hu("k-grid-pdf-export-element"),t=Au(o.component.wrapper.nativeElement);e.appendChild(t),document.body.appendChild(e),n(t)})},Qu.prototype.drawOptions=function(){var e=$u.prototype.drawOptions.call(this);return e._destructive=!0,e},Qu.prototype.cleanup=function(){var e;$u.prototype.cleanup.call(this),this.pdfService.exporting=!1,this.component?(e=this.originalColumns,delete this.originalColumns,this.renderAllPages?this.changePage(this.skip,this.pageSize,this.reset,e):e||this.component.virtualColumns?this.changeColumns(e,this.reset):this.reset()):this.reset(),this.removeContainer()},Qu.prototype.removeContainer=function(){this.container&&(document.body.removeChild(this.container),delete this.container)},Qu.prototype.changePage=function(e,t,n,o){var r=this;this.ngZone.run(function(){r.pdfService.dataChanged.pipe(G.take(1)).subscribe(function(){o&&o.length||r.component.virtualColumns?r.changeColumns(o,n):r.onStable(n)}),r.component.notifyPageChange("pdf",{skip:e,take:t})})},Qu.prototype.changeColumns=function(e,t){var n=this;this.ngZone.run(function(){n.onStable(t),e&&e.length&&n.component.columns.reset(e)})},Qu.prototype.reset=function(){var e;this.suspendService.scroll=!1,this.renderAllPages=!1,this.component&&((e=this.component.wrapper.nativeElement).removeChild(this.progress),e.style.height=this.originalHeight,e.style.overflow=this.originalOverflow,delete this.progress,delete this.component)},Qu.prototype.onStable=function(t){var n=this;setTimeout(function(){var e=n.ngZone.onStable.asObservable().pipe(G.take(1));(e=0<n.delay?e.pipe(G.delay(n.delay)):e).subscribe(t)},0)},Qu);function Qu(e,t,n,o){o=$u.call(this,o)||this;return o.pdfService=e,o.suspendService=t,o.ngZone=n,o.delay=0,o.columns=new P.QueryList,o.saveSubscription=e.savePDF.subscribe(o.savePDF.bind(o)),o.drawSubscription=e.drawPDF.subscribe(o.drawPDF.bind(o)),o.reset=o.reset.bind(o),o.draw=o.draw.bind(o),o}Du.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Du,deps:[{token:Fo},{token:Go},{token:i.NgZone},{token:i.ElementRef}],target:i.ɵɵFactoryTarget.Component}),Du.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:Du,selector:"kendo-grid-pdf",inputs:{allPages:"allPages",delay:"delay"},queries:[{propertyName:"marginComponent",first:!0,predicate:$t,descendants:!0},{propertyName:"pageTemplateDirective",first:!0,predicate:Tu,descendants:!0},{propertyName:"columns",predicate:y}],usesInheritance:!0,ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:Du,decorators:[{type:P.Component,args:[{selector:"kendo-grid-pdf",template:""}]}],ctorParameters:function(){return[{type:Fo},{type:Go},{type:i.NgZone},{type:i.ElementRef}]},propDecorators:{allPages:[{type:P.Input}],delay:[{type:P.Input}],columns:[{type:P.ContentChildren,args:[y]}],marginComponent:[{type:P.ContentChild,args:[$t,{static:!1}]}],pageTemplateDirective:[{type:P.ContentChild,args:[Tu,{static:!1}]}]}});c(Yu,Xu=_.Button),Yu.prototype.onClick=function(e){e.preventDefault(),this.pdfService.exportClick.emit()},Object.defineProperty(Yu.prototype,"pdfClass",{get:function(){return!0},enumerable:!1,configurable:!0});var Xu,t=Yu;function Yu(e,t,n,o,r){t=Xu.call(this,t,n,null,o,r)||this;return t.pdfService=e,t.ngZone=r,t}t.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:t,deps:[{token:Fo},{token:i.ElementRef},{token:i.Renderer2},{token:a.LocalizationService},{token:i.NgZone}],target:i.ɵɵFactoryTarget.Directive}),t.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:t,selector:"[kendoGridPDFCommand]",host:{listeners:{click:"onClick($event)"},properties:{"class.k-grid-pdf":"this.pdfClass"}},usesInheritance:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:t,decorators:[{type:P.Directive,args:[{selector:"[kendoGridPDFCommand]"}]}],ctorParameters:function(){return[{type:Fo},{type:i.ElementRef},{type:i.Renderer2},{type:a.LocalizationService},{type:i.NgZone}]},propDecorators:{onClick:[{type:P.HostListener,args:["click",["$event"]]}],pdfClass:[{type:P.HostBinding,args:["class.k-grid-pdf"]}]}});var Ju,I=[Du,$t,t,Tu],W=[Du,$t,t,Tu],ed=function(){},td=(ed.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ed,deps:[],target:i.ɵɵFactoryTarget.NgModule}),ed.ɵmod=i.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ed,declarations:[Du,$t,t,Tu],exports:[Du,$t,t,Tu]}),ed.ɵinj=i.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ed}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:ed,decorators:[{type:P.NgModule,args:[{declarations:[W],exports:[I]}]}]}),c(nd,Ju=tt),nd);function nd(e){var t=Ju.call(this)||this;return t.workbook=e,t}var od=function(e){return{title:e.title,field:e.field,locked:Boolean(e.locked),width:e.width,level:e.level,hidden:!e.isVisible,groupHeaderTemplate:e.groupHeaderTemplate,groupHeaderColumnTemplate:e.groupHeaderColumnTemplate,groupFooterTemplate:e.groupFooterTemplate,footerTemplate:e.footerTemplate}},rd=function(e){var n=[];return On(e).forEach(function(e){var t;e.isSpanColumn?n.push.apply(n,g([],k(rd(e.childrenArray)))):(t=od(e),e.isColumnGroup&&(t.children=[t].concat(rd(e.childrenArray))),n.push(t))}),n},W=(id.prototype.ngOnDestroy=function(){this.saveSubscription.unsubscribe(),this.dataSubscription&&this.dataSubscription.unsubscribe()},id.prototype.save=function(t){function e(e){delete n.dataSubscription,n.exportData(t,e)}var n=this,o=(this.fetchData||function(e){return{data:e.view.map(function(e){return e}),group:e.group}})(t);o instanceof Promise?o.then(e):o instanceof b.Observable?this.dataSubscription=o.pipe(G.take(1)).subscribe(e):e(o)},id.prototype.exportData=function(e,t){var n=this,o=U.workbookOptions({columns:this.columns.length?this.columns:function(e){e=rd(e.columns.toArray());return j.orderBy(e,[{field:"locked",dir:"desc"}])}(e),data:t.data,group:t.group,filterable:this.filterable,creator:this.creator,date:this.date,paddingCellOptions:this.paddingCellOptions,headerPaddingCellOptions:this.headerPaddingCellOptions,rtl:this.localization.rtl,collapsible:this.collapsible}),t=new td(o);e.excelExport.emit(t),t.isDefaultPrevented()||this.zone.runOutsideAngular(function(){return n.saveFile(o)})},id.prototype.saveFile=function(e){var t=this;U.toDataURL(e).then(function(e){Z.saveAs(e,t.fileName,{forceProxy:t.forceProxy,proxyURL:t.proxyURL})})},id);function id(e,t,n){this.localization=t,this.zone=n,this.fileName="Export.xlsx",this.columns=new P.QueryList,this.saveSubscription=e.saveToExcel.subscribe(this.save.bind(this))}W.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:W,deps:[{token:zo},{token:a.LocalizationService},{token:i.NgZone}],target:i.ɵɵFactoryTarget.Component}),W.ɵcmp=i.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:W,selector:"kendo-grid-excel",inputs:{fileName:"fileName",filterable:"filterable",creator:"creator",date:"date",forceProxy:"forceProxy",proxyURL:"proxyURL",fetchData:"fetchData",paddingCellOptions:"paddingCellOptions",headerPaddingCellOptions:"headerPaddingCellOptions",collapsible:"collapsible"},queries:[{propertyName:"columns",predicate:U.ColumnBase,descendants:!0}],ngImport:i,template:"",isInline:!0}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:W,decorators:[{type:P.Component,args:[{selector:"kendo-grid-excel",template:""}]}],ctorParameters:function(){return[{type:zo},{type:a.LocalizationService},{type:i.NgZone}]},propDecorators:{fileName:[{type:P.Input}],filterable:[{type:P.Input}],creator:[{type:P.Input}],date:[{type:P.Input}],forceProxy:[{type:P.Input}],proxyURL:[{type:P.Input}],fetchData:[{type:P.Input}],paddingCellOptions:[{type:P.Input}],headerPaddingCellOptions:[{type:P.Input}],collapsible:[{type:P.Input}],columns:[{type:P.ContentChildren,args:[U.ColumnBase,{descendants:!0}]}]}});c(sd,ad=_.Button),sd.prototype.onClick=function(e){e.preventDefault(),this.excelService.exportClick.emit()},Object.defineProperty(sd.prototype,"excelClass",{get:function(){return!0},enumerable:!1,configurable:!0});var ad,I=sd;function sd(e,t,n,o,r){t=ad.call(this,t,n,null,o,r)||this;return t.excelService=e,t.ngZone=r,t}I.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:I,deps:[{token:zo},{token:i.ElementRef},{token:i.Renderer2},{token:a.LocalizationService},{token:i.NgZone}],target:i.ɵɵFactoryTarget.Directive}),I.ɵdir=i.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:I,selector:"[kendoGridExcelCommand]",host:{listeners:{click:"onClick($event)"},properties:{"class.k-grid-excel":"this.excelClass"}},usesInheritance:!0,ngImport:i}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:I,decorators:[{type:P.Directive,args:[{selector:"[kendoGridExcelCommand]"}]}],ctorParameters:function(){return[{type:zo},{type:i.ElementRef},{type:i.Renderer2},{type:a.LocalizationService},{type:i.NgZone}]},propDecorators:{onClick:[{type:P.HostListener,args:["click",["$event"]]}],excelClass:[{type:P.HostBinding,args:["class.k-grid-excel"]}]}});tt=[W,I],_=function(){};_.ɵfac=i.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:_,deps:[],target:i.ɵɵFactoryTarget.NgModule}),_.ɵmod=i.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:_,declarations:[W,I],exports:[W,I,U.ExcelExportModule]}),_.ɵinj=i.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:_,imports:[U.ExcelExportModule]}),i.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:i,type:_,decorators:[{type:P.NgModule,args:[{declarations:[tt],exports:[tt,U.ExcelExportModule]}]}]}),e.AddCommandDirective=Qp,e.AfterEqFilterOperatorComponent=mp,e.AfterFilterOperatorComponent=up,e.AutoCompleteFilterCellComponent=bc,e.BaseFilterCellComponent=ji,e.BeforeEqFilterOperatorComponent=yp,e.BeforeFilterOperatorComponent=kp,e.BodyModule=r,e.BooleanFilterCellComponent=js,e.BooleanFilterComponent=Pa,e.BooleanFilterMenuComponent=Na,e.BooleanFilterRadioButtonDirective=Va,e.CancelCommandDirective=Bp,e.CellCloseEvent=ht,e.CellComponent=El,e.CellLoadingTemplateDirective=Rr,e.CellTemplateDirective=Ut,e.CheckboxColumnComponent=Vp,e.ColGroupComponent=ki,e.ColumnBase=y,e.ColumnChooserComponent=Ep,e.ColumnComponent=gn,e.ColumnGroupComponent=Pn,e.ColumnHandleDirective=sl,e.ColumnInfoService=C,e.ColumnLockedChangeEvent=Fr,e.ColumnMenuChooserComponent=gs,e.ColumnMenuComponent=Ss,e.ColumnMenuContainerComponent=ks,e.ColumnMenuFilterComponent=fs,e.ColumnMenuItemComponent=es,e.ColumnMenuItemContentTemplateDirective=Ja,e.ColumnMenuItemDirective=vs,e.ColumnMenuLockComponent=os,e.ColumnMenuPositionComponent=cs,e.ColumnMenuSortComponent=xs,e.ColumnMenuStickComponent=as,e.ColumnMenuTemplateDirective=nn,e.ColumnReorderEvent=br,e.ColumnStickyChangeEvent=Er,e.ColumnVisibilityChangeEvent=Tr,e.ColumnsContainer=po,e.CommandColumnComponent=xl,e.ContainsFilterOperatorComponent=xc,e.CustomMessagesComponent=hc,e.DataBindingDirective=s,e.DateFilterCellComponent=Hs,e.DateFilterComponent=Sa,e.DateFilterMenuComponent=Ea,e.DateFilterMenuInputComponent=Ta,e.DetailCollapseEvent=rt,e.DetailExpandEvent=st,e.DetailTemplateDirective=Vn,e.DoesNotContainFilterOperatorComponent=Dc,e.EditCommandDirective=Np,e.EditTemplateDirective=Yt,e.EditingDirectiveBase=w,e.EndsWithFilterOperatorComponent=Oc,e.EqualFilterOperatorComponent=Lc,e.ExcelCommandDirective=I,e.ExcelComponent=W,e.ExcelExportEvent=td,e.ExcelModule=_,e.ExcelService=zo,e.ExpandDetailsDirective=M,e.ExpandGroupDirective=dc,e.FieldAccessorPipe=Fl,e.FilterCellComponent=_s,e.FilterCellHostDirective=na,e.FilterCellOperatorsComponent=Ts,e.FilterCellTemplateDirective=cn,e.FilterCellWrapperComponent=Xa,e.FilterInputDirective=Xi,e.FilterMenuComponent=Wa,e.FilterMenuContainerComponent=qa,e.FilterMenuDropDownListDirective=ra,e.FilterMenuHostDirective=Ba,e.FilterMenuInputWrapperComponent=sa,e.FilterMenuModule=H,e.FilterMenuTemplateDirective=pn,e.FilterRowComponent=Qs,e.FilterService=v,e.FocusableDirective=Dt,e.FooterComponent=Ql,e.FooterModule=o,e.FooterTemplateDirective=tn,e.GreaterFilterOperatorComponent=Jc,e.GreaterOrEqualToFilterOperatorComponent=np,e.GridComponent=E,e.GridModule=Fu,e.GridSpacerComponent=ke,e.GroupBindingDirective=xu,e.GroupFooterTemplateDirective=Jt,e.GroupHeaderColumnTemplateDirective=Xt,e.GroupHeaderComponent=ne,e.GroupHeaderTemplateDirective=Qt,e.GroupIndicatorComponent=A,e.GroupModule=S,e.GroupPanelComponent=vi,e.HeaderComponent=gl,e.HeaderModule=n,e.HeaderTemplateDirective=en,e.InCellEditingDirective=hu,e.IsEmptyFilterOperatorComponent=Vc,e.IsNotEmptyFilterOperatorComponent=Nc,e.IsNotNullFilterOperatorComponent=Bc,e.IsNullFilterOperatorComponent=Kc,e.LessFilterOperatorComponent=ip,e.LessOrEqualToFilterOperatorComponent=lp,e.ListComponent=Ul,e.LoadingComponent=Yl,e.LoadingTemplateDirective=Lr,e.LocalDataChangesService=Se,e.LogicalCellDirective=Ui,e.LogicalRowDirective=fa,e.MenuTabbingService=So,e.NoRecordsTemplateDirective=xo,e.NotEqualFilterOperatorComponent=Wc,e.NumericFilterCellComponent=Ms,e.NumericFilterMenuComponent=Ca,e.NumericFilterMenuInputComponent=va,e.PDFCommandDirective=t,e.PDFComponent=Du,e.PDFMarginComponent=$t,e.PDFModule=ed,e.PDFService=Fo,e.PDFTemplateDirective=Tu,e.PagerComponent=li,e.PagerDropDownListDirective=oi,e.PagerInfoComponent=ti,e.PagerInputComponent=Ur,e.PagerInputDirective=_r,e.PagerModule=Dp,e.PagerNextButtonsComponent=Yr,e.PagerNumericButtonsComponent=Kr,e.PagerPageSizesComponent=ai,e.PagerPrevButtonsComponent=Br,e.PagerTemplateDirective=To,e.PopupCloseEvent=Yo,e.ReactiveEditingDirective=du,e.RemoveCommandDirective=Wp,e.ResizableContainerDirective=Al,e.RowEditingDirectiveBase=B,e.RowFilterModule=O,e.SaveCommandDirective=Kp,e.SelectAllCheckboxDirective=tl,e.SelectionCheckboxDirective=Sl,e.SelectionDirective=St,e.SharedFilterModule=xp,e.SharedModule=L,e.SinglePopupService=er,e.Skip=q,e.SpanColumnComponent=yn,e.StartsWithFilterOperatorComponent=Qc,e.StringFilterCellComponent=Ps,e.StringFilterMenuComponent=da,e.StringFilterMenuInputComponent=ca,e.SuspendService=Go,e.TableBodyComponent=l,e.TableDirective=Nl,e.TemplateContextDirective=qi,e.TemplateEditingDirective=$,e.ToolbarComponent=Pr,e.ToolbarTemplateDirective=jo,e.count=Iu,e.defaultTrackBy=Or,e.hasFilterMenu=Uo,e.hasFilterRow=Qo,e.isFilterable=function(e){return!1!==e},e.slice=ku,Object.defineProperty(e,"__esModule",{value:!0})});
|