@progress/kendo-angular-filter 2.3.1-dev.202211031421 → 2.3.1
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.
|
@@ -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-l10n"),require("@progress/kendo-licensing"),require("@progress/kendo-angular-common"),require("@progress/kendo-angular-dropdowns"),require("@progress/kendo-angular-inputs"),require("@progress/kendo-angular-dateinputs"),require("@angular/common"),require("@progress/kendo-angular-buttons"),require("@progress/kendo-angular-label")):"function"==typeof define&&define.amd?define("KendoAngularFilter",["exports","@angular/core","@progress/kendo-angular-l10n","@progress/kendo-licensing","@progress/kendo-angular-common","@progress/kendo-angular-dropdowns","@progress/kendo-angular-inputs","@progress/kendo-angular-dateinputs","@angular/common","@progress/kendo-angular-buttons","@progress/kendo-angular-label"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).KendoAngularFilter={},e.ng.core,e.KendoAngularL10N,e.KendoLicensing,e.KendoAngularCommon,e.KendoAngularDropdowns,e.KendoAngularInputs,e.KendoAngularDateinputs,e.ng.common,e.KendoAngularButtons,e.KendoAngularLabel)}(this,function(e,a,t,B,i,r,n,M,z,G,R){"use strict";function o(r){var n;return r&&r.__esModule?r:(n=Object.create(null),r&&Object.keys(r).forEach(function(e){var t;"default"!==e&&(t=Object.getOwnPropertyDescriptor(r,e),Object.defineProperty(n,e,t.get?t:{enumerable:!0,get:function(){return r[e]}}))}),n.default=r,Object.freeze(n))}var l=o(a),s=o(t),p=o(r),u=o(n),d=o(M),c=o(z),f=o(G),m=(P.prototype.addFilterGroup=function(e){e.filters.push({logic:"and",filters:[]})},P.prototype.addFilterExpression=function(e){e.filters.push({operator:"eq",value:null,field:null})},P.prototype.remove=function(t,r,e){var n,o=this;e=e||this.normalizedValue,t===e?e.filters=[]:0<=(n=e.filters.indexOf(t))&&n===r?e.filters=e.filters.filter(function(e){return e!==t}):e.filters.forEach(function(e){return e.filters&&o.remove(t,r,e)})},P);function P(){this.normalizedValue={logic:"and",filters:[]},this.filters=[]}m.ɵfac=l.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:m,deps:[],target:l.ɵɵFactoryTarget.Injectable}),m.ɵprov=l.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:m}),l.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:m,decorators:[{type:a.Injectable}]});function j(t,r){return Object.keys(t).find(function(e){return t[e]===r})}function K(r){return function(t){return Object.keys(r).map(function(e){return{text:t.get(e),value:r[e]}})}}var $=["isnull","isnotnull","isempty","isnotempty"],_={filterEqOperator:"eq",filterNotEqOperator:"neq",filterContainsOperator:"contains",filterNotContainsOperator:"doesnotcontain",filterStartsWithOperator:"startswith",filterEndsWithOperator:"endswith",filterIsNullOperator:"isnull",filterIsNotNullOperator:"isnotnull",filterIsEmptyOperator:"isempty",filterIsNotEmptyOperator:"isnotempty"},W={filterEqOperator:"eq",filterNotEqOperator:"neq",filterGteOperator:"gte",filterGtOperator:"gt",filterLteOperator:"lte",filterLtOperator:"lt",filterIsNullOperator:"isnull",filterIsNotNullOperator:"isnotnull"},H={filterEqOperator:"eq",filterNotEqOperator:"neq",filterAfterOrEqualOperator:"gte",filterAfterOperator:"gt",filterBeforeOrEqualOperator:"lte",filterBeforeOperator:"lt",filterIsNullOperator:"isnull",filterIsNotNullOperator:"isnotnull"},U={string:_,number:W,date:H},J={filterAndLogic:"and",filterOrLogic:"or"},g=function(){},h=(g.ɵfac=l.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:g,deps:[],target:l.ɵɵFactoryTarget.Injectable}),g.ɵprov=l.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:g}),l.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:g,decorators:[{type:a.Injectable}]}),{andButton:"button.k-group-start",orButton:"button.k-group-end",addFilterButton:'button[icon="filter-add-expression"]',addGroupButton:'button[icon="filter-add-group"]',removeButton:'button[icon="x"]',filterFieldWrapper:".k-filter-field",filterOperatorWrapper:".k-filter-operator",filterValueEditorWrapper:".k-filter-value",kendoDropDownListComponent:"kendo-dropdownlist",kendoInput:".k-input",kendoInputInner:".k-input-inner",inputElement:"input",textAreaElement:"textarea",kendoToolbar:".k-toolbar",kendoButton:".k-button",kendoFilterToolbarItem:".k-filter-toolbar-item"}),Q={name:"@progress/kendo-angular-filter",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1667485228,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"},v=function(e){this.templateRef=e},I=(v.ɵfac=l.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:v,deps:[{token:l.TemplateRef}],target:l.ɵɵFactoryTarget.Directive}),v.ɵdir=l.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:v,selector:"[kendoFilterValueEditorTemplate]",ngImport:l}),l.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:v,decorators:[{type:a.Directive,args:[{selector:"[kendoFilterValueEditorTemplate]"}]}],ctorParameters:function(){return[{type:l.TemplateRef}]}}),Object.defineProperty(X.prototype,"title",{get:function(){return this._title},set:function(e){this._title=e||this.field},enumerable:!1,configurable:!0}),X);function X(){}I.ɵfac=l.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:I,deps:[],target:l.ɵɵFactoryTarget.Component}),I.ɵcmp=l.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:I,selector:"kendo-filter-field",inputs:{field:"field",title:"title",editor:"editor",operators:"operators",editorFormat:"editorFormat"},queries:[{propertyName:"editorTemplate",first:!0,predicate:v,descendants:!0}],ngImport:l,template:"",isInline:!0}),l.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:I,decorators:[{type:a.Component,args:[{selector:"kendo-filter-field",template:""}]}],propDecorators:{field:[{type:a.Input}],title:[{type:a.Input}],editor:[{type:a.Input}],operators:[{type:a.Input}],editorFormat:[{type:a.Input}],editorTemplate:[{type:a.ContentChild,args:[v]}]}});y.prototype.processKeyDown=function(e,t){switch(e){case i.Keys.ArrowUp:t.preventDefault(),this.isInnerNavigationActivated||(0<this.currentToolbarItemIndex?this.currentToolbarItemIndex--:this.currentToolbarItemIndex,o=this.flattenFilterItems[this.currentToolbarItemIndex].toolbarElement,this.focusCurrentElement(o));break;case i.Keys.ArrowDown:t.preventDefault(),this.isInnerNavigationActivated||(this.currentToolbarItemIndex<this.flattenFilterItems.length-1?this.currentToolbarItemIndex++:this.currentToolbarItemIndex,o=this.flattenFilterItems[this.currentToolbarItemIndex].toolbarElement,this.focusCurrentElement(o));break;case i.Keys.Enter:var r=t.target.closest(h.kendoToolbar),r=(!this.isInnerNavigationActivated&&r&&(t.preventDefault(),this.isInnerNavigationActivated=!0,this.currentToolbarItemChildrenIndex=0,o=this.flattenFilterItems[this.currentToolbarItemIndex].focusableChildren[this.currentToolbarItemChildrenIndex],this.focusCurrentElement(o)),t.target.closest(h.kendoFilterToolbarItem)),n=t.target.closest(h.kendoButton);this.isInnerNavigationActivated&&!this.isFilterExpressionComponentFocused&&r&&!n&&(t.preventDefault(),this.isFilterExpressionComponentFocused=!0,o=(r=this.flattenFilterItems[this.currentToolbarItemIndex].focusableChildren[this.currentToolbarItemChildrenIndex]).querySelector(h.KendoDropDownListComponent)||r.querySelector(h.kendoInputInner)||r.querySelector(h.inputElement)||r.querySelector(h.textAreaElement),this.focusCurrentElement(o));break;case i.Keys.Escape:this.isInnerNavigationActivated&&!this.isFilterExpressionComponentFocused&&(t.preventDefault(),this.isInnerNavigationActivated=!1,this.currentToolbarItemChildrenIndex=0,o=this.flattenFilterItems[this.currentToolbarItemIndex].toolbarElement,this.focusCurrentElement(o)),this.isFilterExpressionComponentFocused&&(t.preventDefault(),this.isFilterExpressionComponentFocused=!1,this.isInnerNavigationActivated=!0,o=this.flattenFilterItems[this.currentToolbarItemIndex].focusableChildren[this.currentToolbarItemChildrenIndex],this.focusCurrentElement(o));break;case i.Keys.ArrowRight:this.isInnerNavigationActivated&&!this.isFilterExpressionComponentFocused&&(t.preventDefault(),this.currentToolbarItemChildrenIndex<this.flattenFilterItems[this.currentToolbarItemIndex].focusableChildren.length-1?this.currentToolbarItemChildrenIndex++:this.currentToolbarItemChildrenIndex,o=this.flattenFilterItems[this.currentToolbarItemIndex].focusableChildren[this.currentToolbarItemChildrenIndex],this.focusCurrentElement(o));break;case i.Keys.ArrowLeft:var o;this.isInnerNavigationActivated&&!this.isFilterExpressionComponentFocused&&(t.preventDefault(),0<this.currentToolbarItemChildrenIndex?this.currentToolbarItemChildrenIndex--:this.currentToolbarItemChildrenIndex,o=this.flattenFilterItems[this.currentToolbarItemIndex].focusableChildren[this.currentToolbarItemChildrenIndex],this.focusCurrentElement(o))}},y.prototype.focusCurrentElement=function(e,t){this.renderer.setAttribute(this.currentlyFocusedElement,"tabindex","-1"),(this.currentlyFocusedElement=e)&&(this.renderer.setAttribute(this.currentlyFocusedElement,"tabindex","0"),t||this.currentlyFocusedElement.focus())},y.prototype.flattenHierarchicalFilterItems=function(e){var n=this;e.forEach(function(e){var t,r={component:e,isGroup:!1,toolbarElement:e.toolbarElement,focusableChildren:[]};n.flattenFilterItems.push(r),e.operators&&0<(null==(t=e.filterItems)?void 0:t.length)?(n.setGroupItemChildren(r,e),n.flattenHierarchicalFilterItems(e.filterItems)):e.operators&&0===(null==(t=e.filterItems)?void 0:t.length)?n.setGroupItemChildren(r,e):(r.focusableChildren.push(e.toolbarElement.querySelector(h.filterFieldWrapper)),e.toolbarElement.querySelector(".k-filter-operator")&&r.focusableChildren.push(e.toolbarElement.querySelector(h.filterOperatorWrapper)),r.focusableChildren.push(e.toolbarElement.querySelector(h.filterValueEditorWrapper)),r.focusableChildren.push(e.toolbarElement.querySelector(h.removeButton)))})},y.prototype.setGroupItemChildren=function(e,t){e.isGroup=!0,e.focusableChildren.push(t.toolbarElement.querySelector(h.andButton)),e.focusableChildren.push(t.toolbarElement.querySelector(h.orButton)),e.focusableChildren.push(t.toolbarElement.querySelector(h.addFilterButton)),e.focusableChildren.push(t.toolbarElement.querySelector(h.addGroupButton)),e.focusableChildren.push(t.toolbarElement.querySelector(h.removeButton))},y.prototype.setItemIndexes=function(){this.flattenFilterItems.forEach(function(e,t){e.component.itemNumber=t}),this.cdr.detectChanges()},y.prototype.reset=function(e){this.flattenFilterItems=[],this.hierarchicalFilterItems=e,this.flattenHierarchicalFilterItems(e),this.setItemIndexes()};var b=y;function y(e,t){this.cdr=e,this.renderer=t,this.hierarchicalFilterItems=[],this.flattenFilterItems=[],this.currentToolbarItemIndex=0,this.currentToolbarItemChildrenIndex=0,this.isInnerNavigationActivated=!1,this.isFilterExpressionComponentFocused=!1}b.ɵfac=l.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:b,deps:[{token:l.ChangeDetectorRef},{token:l.Renderer2}],target:l.ɵɵFactoryTarget.Injectable}),b.ɵprov=l.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:b}),l.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:b,decorators:[{type:a.Injectable}],ctorParameters:function(){return[{type:l.ChangeDetectorRef},{type:l.Renderer2}]}});var Y="Pass at least one user-defined filter through the [filters] input property or nest kendo-filter-field components. See http://www.telerik.com/kendo-angular-ui/components/filter/#data-binding",Z=function(e){return"There is no user-defined filter with '"+e+"' field provided through the [filters] input property."},ee=function(e){return"Provide a value for the boolean '"+e+"' user-defined filter as the operator is always set to 'eq'."},te=function(e){return"The operator of the boolean '"+e+"' user-defined filter is always set to 'eq'."},re=function(e,t){return"The user-defined filter with field '"+e+"' is missing the '"+t+"' operator."},ne=function(e){return"The provided value for the numeric editor of the '"+e+"' filter expression isn't one of a supported type string or NumberFormat. See http://www.telerik.com/kendo-angular-ui/components/filter/#editor-formats/"},oe=function(e){return"The provided value for the date editor of the '"+e+"' filter expression isn't one of a supported type string or DateFormat. See http://www.telerik.com/kendo-angular-ui/components/filter/#editor-formats/"},ie=function(e,t){return(ie=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}))(e,t)};function ae(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}ie(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}Object.create;function le(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a}function se(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||((n=n||Array.prototype.slice.call(t,0,o))[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}Object.create;Object.defineProperty(x.prototype,"toolbarElement",{get:function(){return this.element.nativeElement.querySelector(".k-toolbar")},enumerable:!1,configurable:!0}),x.prototype.onFocus=function(){this.renderer.addClass(this.navigationService.flattenFilterItems[this.itemNumber].toolbarElement,"k-focus"),this.navigationService.isInnerNavigationActivated=!1},x.prototype.onBlur=function(){this.renderer.removeClass(this.navigationService.flattenFilterItems[this.itemNumber].toolbarElement,"k-focus")},x.prototype.messageFor=function(e){return this.localization.get(e)},x.prototype.onMouseDown=function(e){var t=e.target.closest(h.kendoFilterToolbarItem),e=e.target.closest(h.kendoToolbar);e=t?(e=Array.from(e.children).indexOf(t),this.navigationService.currentToolbarItemChildrenIndex=e,this.navigationService.isInnerNavigationActivated=!0,this.navigationService.isFilterExpressionComponentFocused=!0,(t=this.navigationService.flattenFilterItems[this.itemNumber].focusableChildren[e]).querySelector(h.kendoDropDownListComponent)||t.querySelector(h.kendoInput)||t.querySelector(h.kendoInputInner)||t.querySelector(h.inputElement)||t.querySelector(h.textAreaElement)):(this.navigationService.currentToolbarItemChildrenIndex=0,this.navigationService.isInnerNavigationActivated=!1,this.navigationService.isFilterExpressionComponentFocused=!1,this.navigationService.flattenFilterItems[this.itemNumber].toolbarElement),this.navigationService.currentToolbarItemIndex=this.itemNumber,this.navigationService.focusCurrentElement(e,!0)};var k=x;function x(e,t,r,n){this.element=e,this.navigationService=t,this.localization=r,this.renderer=n,this.valueChange=new a.EventEmitter}k.ɵfac=l.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:k,deps:[{token:l.ElementRef},{token:b},{token:s.LocalizationService},{token:l.Renderer2}],target:l.ɵɵFactoryTarget.Directive}),k.ɵdir=l.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:k,inputs:{index:"index"},outputs:{valueChange:"valueChange"},ngImport:l}),l.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:k,decorators:[{type:a.Directive,args:[{}]}],ctorParameters:function(){return[{type:l.ElementRef},{type:b},{type:s.LocalizationService},{type:l.Renderer2}]},propDecorators:{index:[{type:a.Input}],valueChange:[{type:a.Output}]}});pe.prototype.ngOnInit=function(){var e=this.hostElement.nativeElement.querySelector("input")||this.hostElement.nativeElement;this.renderer.setAttribute(e,"aria-label",this.ariaLabel)};var C=pe;function pe(e,t){this.hostElement=e,this.renderer=t}C.ɵfac=l.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:C,deps:[{token:l.ElementRef},{token:l.Renderer2}],target:l.ɵɵFactoryTarget.Directive}),C.ɵdir=l.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:C,selector:"[kendoAriaLabelValue]",inputs:{ariaLabel:["kendoAriaLabelValue","ariaLabel"]},ngImport:l}),l.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:C,decorators:[{type:a.Directive,args:[{selector:"[kendoAriaLabelValue]"}]}],ctorParameters:function(){return[{type:l.ElementRef},{type:l.Renderer2}]},propDecorators:{ariaLabel:[{type:a.Input,args:["kendoAriaLabelValue"]}]}});ue.prototype.messageFor=function(e){return this.localization.get(e)},ue.prototype.getOperator=function(e){return this.messageFor(j(U[this.editorType],e))},ue.prototype.operatorValueChange=function(e){this.valueChange.emit(e)};var F=ue;function ue(e){this.localization=e,this.valueChange=new a.EventEmitter,this.operators=[]}F.ɵfac=l.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:F,deps:[{token:s.LocalizationService}],target:l.ɵɵFactoryTarget.Component}),F.ɵcmp=l.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:F,selector:"kendo-filter-expression-operators",inputs:{currentItem:"currentItem",editorType:"editorType",operators:"operators"},outputs:{valueChange:"valueChange"},ngImport:l,template:'\n <kendo-dropdownlist\n [tabindex]="-1"\n [kendoAriaLabelValue]="messageFor(\'filterOperatorAriaLabel\')"\n [data]="operators"\n [title]="messageFor(\'filterExpressionOperators\')"\n [(value)]="currentItem.operator"\n (valueChange)="operatorValueChange($event)"\n [valuePrimitive]="true"\n textField="text"\n valueField="value"\n >\n <ng-template kendoDropDownListValueTemplate let-dataItem>\n {{ getOperator(dataItem.value) }}\n </ng-template>\n <ng-template kendoDropDownListItemTemplate let-dataItem>\n {{ getOperator(dataItem.value) }}\n </ng-template>\n </kendo-dropdownlist>\n ',isInline:!0,components:[{type:p.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:C,selector:"[kendoAriaLabelValue]",inputs:["kendoAriaLabelValue"]},{type:p.ValueTemplateDirective,selector:"[kendoDropDownListValueTemplate],[kendoDropDownTreeValueTemplate]"},{type:p.ItemTemplateDirective,selector:"[kendoDropDownListItemTemplate],[kendoComboBoxItemTemplate],[kendoAutoCompleteItemTemplate],[kendoMultiSelectItemTemplate]"}]}),l.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:F,decorators:[{type:a.Component,args:[{selector:"kendo-filter-expression-operators",template:'\n <kendo-dropdownlist\n [tabindex]="-1"\n [kendoAriaLabelValue]="messageFor(\'filterOperatorAriaLabel\')"\n [data]="operators"\n [title]="messageFor(\'filterExpressionOperators\')"\n [(value)]="currentItem.operator"\n (valueChange)="operatorValueChange($event)"\n [valuePrimitive]="true"\n textField="text"\n valueField="value"\n >\n <ng-template kendoDropDownListValueTemplate let-dataItem>\n {{ getOperator(dataItem.value) }}\n </ng-template>\n <ng-template kendoDropDownListItemTemplate let-dataItem>\n {{ getOperator(dataItem.value) }}\n </ng-template>\n </kendo-dropdownlist>\n '}]}],ctorParameters:function(){return[{type:s.LocalizationService}]},propDecorators:{currentItem:[{type:a.Input}],editorType:[{type:a.Input}],valueChange:[{type:a.Output}],operators:[{type:a.Input}]}});de.prototype.messageFor=function(e){return this.localization.get(e)},de.prototype.onValueChange=function(e){this.currentItem.value=e,this.valueChange.emit()};var O=de;function de(e){this.localization=e,this.valueChange=new a.EventEmitter}O.ɵfac=l.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:O,deps:[{token:s.LocalizationService}],target:l.ɵɵFactoryTarget.Component}),O.ɵcmp=l.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:O,selector:"kendo-filter-text-editor",inputs:{currentItem:"currentItem",isDisabled:"isDisabled"},outputs:{valueChange:"valueChange"},ngImport:l,template:'\n <kendo-textbox\n [tabindex]="-1"\n [kendoAriaLabelValue]="messageFor(\'filterValueAriaLabel\')"\n [value]="currentItem.value"\n (valueChange)="onValueChange($event)"\n [disabled]="isDisabled">\n </kendo-textbox>\n ',isInline:!0,components:[{type:u.TextBoxComponent,selector:"kendo-textbox",inputs:["focusableId","title","disabled","readonly","tabindex","value","selectOnFocus","showSuccessIcon","showErrorIcon","clearButton","successIcon","errorIcon","clearButtonIcon","size","rounded","fillMode","tabIndex","placeholder","maxlength"],outputs:["valueChange","inputFocus","inputBlur","focus","blur"],exportAs:["kendoTextBox"]}],directives:[{type:C,selector:"[kendoAriaLabelValue]",inputs:["kendoAriaLabelValue"]}]}),l.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:O,decorators:[{type:a.Component,args:[{selector:"kendo-filter-text-editor",template:'\n <kendo-textbox\n [tabindex]="-1"\n [kendoAriaLabelValue]="messageFor(\'filterValueAriaLabel\')"\n [value]="currentItem.value"\n (valueChange)="onValueChange($event)"\n [disabled]="isDisabled">\n </kendo-textbox>\n '}]}],ctorParameters:function(){return[{type:s.LocalizationService}]},propDecorators:{currentItem:[{type:a.Input}],isDisabled:[{type:a.Input}],valueChange:[{type:a.Output}]}});ce.prototype.messageFor=function(e){return this.localization.get(e)},ce.prototype.onValueChange=function(e){this.currentItem.value=e,this.valueChange.emit()};var T=ce;function ce(e){this.localization=e,this.valueChange=new a.EventEmitter}T.ɵfac=l.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:T,deps:[{token:s.LocalizationService}],target:l.ɵɵFactoryTarget.Component}),T.ɵcmp=l.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:T,selector:"kendo-filter-numeric-editor",inputs:{currentItem:"currentItem",isDisabled:"isDisabled",format:"format"},outputs:{valueChange:"valueChange"},ngImport:l,template:'\n <kendo-numerictextbox\n [tabindex]="-1"\n [kendoAriaLabelValue]="messageFor(\'filterValueAriaLabel\')"\n [value]="currentItem.value"\n (valueChange)="onValueChange($event)"\n [disabled]="isDisabled"\n [format]="format">\n <kendo-numerictextbox-messages\n [increment]="messageFor(\'editorNumericIncrement\')"\n [decrement]="messageFor(\'editorNumericDecrement\')">\n </kendo-numerictextbox-messages>\n </kendo-numerictextbox>\n ',isInline:!0,components:[{type:u.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:u.NumericTextBoxCustomMessagesComponent,selector:"kendo-numerictextbox-messages"}],directives:[{type:C,selector:"[kendoAriaLabelValue]",inputs:["kendoAriaLabelValue"]}]}),l.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:T,decorators:[{type:a.Component,args:[{selector:"kendo-filter-numeric-editor",template:'\n <kendo-numerictextbox\n [tabindex]="-1"\n [kendoAriaLabelValue]="messageFor(\'filterValueAriaLabel\')"\n [value]="currentItem.value"\n (valueChange)="onValueChange($event)"\n [disabled]="isDisabled"\n [format]="format">\n <kendo-numerictextbox-messages\n [increment]="messageFor(\'editorNumericIncrement\')"\n [decrement]="messageFor(\'editorNumericDecrement\')">\n </kendo-numerictextbox-messages>\n </kendo-numerictextbox>\n '}]}],ctorParameters:function(){return[{type:s.LocalizationService}]},propDecorators:{currentItem:[{type:a.Input}],isDisabled:[{type:a.Input}],format:[{type:a.Input}],valueChange:[{type:a.Output}]}});D.prototype.ngOnInit=function(){var e=this;this.localizationSubscription=this.localization.changes.subscribe(function(){e.defaultItem=e.getDefaultItem(),e.items=e.getValueItems(),e.cdr.detectChanges()})},D.prototype.getDefaultItem=function(){return{text:this.localization.get("filterBooleanAll"),value:null}},D.prototype.getValueItems=function(){return[{text:this.localization.get("filterIsTrue"),value:!0},{text:this.localization.get("filterIsFalse"),value:!1}]},D.prototype.ngOnDestroy=function(){this.localizationSubscription&&this.localizationSubscription.unsubscribe()},D.prototype.messageFor=function(e){return this.localization.get(e)},D.prototype.onValueChange=function(e){this.currentItem.value=e,this.valueChange.emit()};u=D;function D(e,t){this.localization=e,this.cdr=t,this.valueChange=new a.EventEmitter,this.items=this.getValueItems(),this.defaultItem=this.getDefaultItem()}u.ɵfac=l.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:u,deps:[{token:s.LocalizationService},{token:l.ChangeDetectorRef}],target:l.ɵɵFactoryTarget.Component}),u.ɵcmp=l.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:u,selector:"kendo-filter-boolean-editor",inputs:{currentItem:"currentItem"},outputs:{valueChange:"valueChange"},ngImport:l,template:'\n <kendo-dropdownlist\n [tabindex]="-1"\n [kendoAriaLabelValue]="messageFor(\'filterValueAriaLabel\')"\n [value]="currentItem.value"\n (valueChange)="onValueChange($event)"\n [data]="items"\n [defaultItem]="defaultItem"\n [valuePrimitive]="true"\n textField="text"\n valueField="value"\n >\n </kendo-dropdownlist>\n ',isInline:!0,components:[{type:p.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:C,selector:"[kendoAriaLabelValue]",inputs:["kendoAriaLabelValue"]}]}),l.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:u,decorators:[{type:a.Component,args:[{selector:"kendo-filter-boolean-editor",template:'\n <kendo-dropdownlist\n [tabindex]="-1"\n [kendoAriaLabelValue]="messageFor(\'filterValueAriaLabel\')"\n [value]="currentItem.value"\n (valueChange)="onValueChange($event)"\n [data]="items"\n [defaultItem]="defaultItem"\n [valuePrimitive]="true"\n textField="text"\n valueField="value"\n >\n </kendo-dropdownlist>\n '}]}],ctorParameters:function(){return[{type:s.LocalizationService},{type:l.ChangeDetectorRef}]},propDecorators:{currentItem:[{type:a.Input}],valueChange:[{type:a.Output}]}});fe.prototype.messageFor=function(e){return this.localization.get(e)},fe.prototype.onValueChange=function(e){this.currentItem.value=e,this.valueChange.emit()};var E=fe;function fe(e){this.localization=e,this.valueChange=new a.EventEmitter}E.ɵfac=l.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:E,deps:[{token:s.LocalizationService}],target:l.ɵɵFactoryTarget.Component}),E.ɵcmp=l.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:E,selector:"kendo-filter-date-editor",inputs:{currentItem:"currentItem",isDisabled:"isDisabled",format:"format"},outputs:{valueChange:"valueChange"},ngImport:l,template:'\n <kendo-datepicker\n [tabindex]="-1"\n [kendoAriaLabelValue]="messageFor(\'filterValueAriaLabel\')"\n [value]="currentItem.value"\n (valueChange)="onValueChange($event)"\n [disabled]="isDisabled"\n [format]="format">\n <kendo-datepicker-messages\n [toggle]="messageFor(\'editorDateToggleText\')"\n [today]="messageFor(\'editorDateTodayText\')">\n </kendo-datepicker-messages>\n </kendo-datepicker>\n ',isInline:!0,components:[{type:d.DatePickerComponent,selector:"kendo-datepicker",inputs:["cellTemplate","monthCellTemplate","yearCellTemplate","decadeCellTemplate","centuryCellTemplate","weekNumberTemplate","headerTitleTemplate","navigationItemTemplate","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:d.DatePickerCustomMessagesComponent,selector:"kendo-datepicker-messages"}],directives:[{type:C,selector:"[kendoAriaLabelValue]",inputs:["kendoAriaLabelValue"]}]}),l.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:E,decorators:[{type:a.Component,args:[{selector:"kendo-filter-date-editor",template:'\n <kendo-datepicker\n [tabindex]="-1"\n [kendoAriaLabelValue]="messageFor(\'filterValueAriaLabel\')"\n [value]="currentItem.value"\n (valueChange)="onValueChange($event)"\n [disabled]="isDisabled"\n [format]="format">\n <kendo-datepicker-messages\n [toggle]="messageFor(\'editorDateToggleText\')"\n [today]="messageFor(\'editorDateTodayText\')">\n </kendo-datepicker-messages>\n </kendo-datepicker>\n '}]}],ctorParameters:function(){return[{type:s.LocalizationService}]},propDecorators:{currentItem:[{type:a.Input}],isDisabled:[{type:a.Input}],format:[{type:a.Input}],valueChange:[{type:a.Output}]}});ae(L,me=k),Object.defineProperty(L.prototype,"currentFilterExpression",{get:function(){return this.getFilterExpressionByField(this.currentItem.field)},enumerable:!1,configurable:!0}),Object.defineProperty(L.prototype,"numericEditorFormat",{get:function(){var e="string"!=typeof this.editorFormat&&!this.isNumberFormat(this.editorFormat);return this.editorFormat&&e&&console.warn(ne(this.currentFilterExpression.title)),this.editorFormat},enumerable:!1,configurable:!0}),Object.defineProperty(L.prototype,"dateEditorFormat",{get:function(){var e="string"!=typeof this.editorFormat&&!this.isDateFormat(this.editorFormat);return this.editorFormat&&e&&console.warn(oe(this.currentFilterExpression.title)),this.editorFormat},enumerable:!1,configurable:!0}),L.prototype.isNumberFormat=function(e){return!!(a.isDevMode()&&e&&(e.currency||e.currencyDisplay||e.maximumFractionDigits||e.minimumIntegerDigits||e.style||e.useGrouping))},L.prototype.isDateFormat=function(e){return!!(a.isDevMode()&&e&&e.displayFormat&&e.inputFormat)},L.prototype.ngOnInit=function(){var e=this,t=(this.isEditorDisabled=0<=$.indexOf(this.currentItem.operator),this.filters=this.filterService.filters,this.getFilterExpressionByField(this.currentItem.field)),r=(this.currentItem.field&&this.setOperators(t),null!=t&&t.editorFormat&&(this.editorFormat=t.editorFormat),this.getFilterExpressionByField(this.filterService.filters[0].field));this.currentItem.field||(this.currentItem.field=this.filterService.filters[0].field,this.setOperators(r)),this.setEditorTemplate(),this.localizationSubscription=this.localization.changes.subscribe(function(){e.setOperators(t||r),e.cdr.detectChanges()})},L.prototype.ngOnDestroy=function(){this.localizationSubscription&&this.localizationSubscription.unsubscribe()},L.prototype.normalizeOperators=function(e,t){for(var r=[],n=0;n<t.length;n++)0<=["string","number","boolean","date"].indexOf(e)&&r.push({value:t[n],text:this.localization.get(j(U[e],t[n]))});return r},L.prototype.getFilterExpressionByField=function(t){var e=this.filterService.filters.find(function(e){return e.field===t});return e||null},L.prototype.filterValueChange=function(e){this.navigationService.currentToolbarItemIndex=this.itemNumber,this.navigationService.currentToolbarItemChildrenIndex=0,this.currentItem.value=null,this.currentItem.field=e,this.setEditorTemplate();e=this.getFilterExpressionByField(this.currentItem.field);this.setOperators(e),this.editorFormat=e.editorFormat,this.valueChange.emit()},L.prototype.getDefaultOperators=function(e){switch(e){case"string":return K(_)(this.localization);case"number":return K(W)(this.localization);case"date":return K(H)(this.localization)}},L.prototype.getEditorType=function(){var t=this;return this.filterService.filters.find(function(e){return e.field===t.currentItem.field}).editor},L.prototype.removeFilterExpression=function(){this.filterService.remove(this.currentItem,this.index),this.valueChange.emit(!0)},L.prototype.setOperators=function(e){var t,r=this;this.isBoolean="boolean"===e.editor,this.isBoolean||(e.operators?(t=this.normalizeOperators(e.editor,e.operators),this.operators=t):this.operators=this.getDefaultOperators(e.editor),this.currentItem.operator||(this.currentItem.operator=this.operators[0].value),t=!this.operators.find(function(e){return e.value===r.currentItem.operator}),this.currentItem.operator&&t&&(this.currentItem.operator=this.operators[0].value))},L.prototype.onOperatorChange=function(e){this.navigationService.currentToolbarItemIndex=this.itemNumber,this.navigationService.currentToolbarItemChildrenIndex=1,this.valueChange.emit(),$.includes(e)?(this.currentItem.value=null,this.isEditorDisabled=!0):this.isEditorDisabled=!1},L.prototype.setEditorTemplate=function(){var t=this,e=this.filterService.filters.find(function(e){return e.field===t.currentItem.field});this.editorTemplate=e.editorTemplate||null};var me,A=L;function L(e,t,r,n,o,i){r=me.call(this,r,n,o,i)||this;return r.filterService=e,r.cdr=t,r.operators=[],r.filters=[],r.isBoolean=!1,r.isEditorDisabled=!1,r}A.ɵfac=l.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:A,deps:[{token:m},{token:l.ChangeDetectorRef},{token:l.ElementRef},{token:b},{token:s.LocalizationService},{token:l.Renderer2}],target:l.ɵɵFactoryTarget.Component}),A.ɵcmp=l.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:A,selector:"kendo-filter-expression",inputs:{currentItem:"currentItem"},providers:[{provide:g,useExisting:a.forwardRef(function(){return A})}],usesInheritance:!0,ngImport:l,template:'\n <div class="k-filter-toolbar">\n <div class="k-toolbar" role="toolbar" [attr.aria-label]="messageFor(\'filterToolbarAriaLabel\')" (focus)="onFocus()" (focusout)="onBlur()" (mousedown)="onMouseDown($event)">\n <div class="k-filter-toolbar-item k-filter-field k-toolbar-item" >\n <kendo-dropdownlist\n [tabindex]="-1"\n [kendoAriaLabelValue]="messageFor(\'filterFieldAriaLabel\')"\n [title]="messageFor(\'filterExpressionFilters\')"\n [data]="filters"\n textField="title"\n valueField="field"\n [value]="currentItem.field"\n [valuePrimitive]="true"\n (valueChange)="filterValueChange($event)">\n </kendo-dropdownlist>\n </div>\n <div *ngIf="!isBoolean" class="k-filter-toolbar-item k-filter-operator k-toolbar-item" >\n <kendo-filter-expression-operators\n [currentItem]="currentItem"\n [operators]="operators"\n [editorType]="getEditorType()"\n (valueChange)="onOperatorChange($event);">\n </kendo-filter-expression-operators>\n </div>\n\n <div class="k-filter-toolbar-item k-filter-value k-toolbar-item">\n <ng-container *ngIf="!editorTemplate" [ngSwitch]="getEditorType()">\n <kendo-filter-text-editor *ngSwitchCase="\'string\'" [currentItem]="currentItem" [isDisabled]="isEditorDisabled" (valueChange)="valueChange.emit()"></kendo-filter-text-editor>\n <kendo-filter-numeric-editor *ngSwitchCase="\'number\'" [currentItem]="currentItem" [isDisabled]="isEditorDisabled" [format]="numericEditorFormat" (valueChange)="valueChange.emit()"></kendo-filter-numeric-editor>\n <kendo-filter-boolean-editor *ngSwitchCase="\'boolean\'" [currentItem]="currentItem" (valueChange)="valueChange.emit()"></kendo-filter-boolean-editor>\n <kendo-filter-date-editor *ngSwitchCase="\'date\'" [currentItem]="currentItem" [isDisabled]="isEditorDisabled" [format]="dateEditorFormat" (valueChange)="valueChange.emit()"></kendo-filter-date-editor>\n </ng-container>\n <ng-container *ngIf="editorTemplate">\n <ng-template\n [templateContext]="{templateRef: editorTemplate, $implicit: currentItem}">\n </ng-template>\n </ng-container>\n </div>\n\n <div class="k-filter-toolbar-item k-toolbar-item" >\n <button\n kendoButton\n tabindex="-1"\n icon="x"\n fillMode="flat"\n [title]="messageFor(\'remove\')"\n (click)="removeFilterExpression()">\n </button>\n </div>\n </div>\n </div>\n ',isInline:!0,components:[{type:p.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:F,selector:"kendo-filter-expression-operators",inputs:["currentItem","editorType","operators"],outputs:["valueChange"]},{type:O,selector:"kendo-filter-text-editor",inputs:["currentItem","isDisabled"],outputs:["valueChange"]},{type:T,selector:"kendo-filter-numeric-editor",inputs:["currentItem","isDisabled","format"],outputs:["valueChange"]},{type:u,selector:"kendo-filter-boolean-editor",inputs:["currentItem"],outputs:["valueChange"]},{type:E,selector:"kendo-filter-date-editor",inputs:["currentItem","isDisabled","format"],outputs:["valueChange"]}],directives:[{type:C,selector:"[kendoAriaLabelValue]",inputs:["kendoAriaLabelValue"]},{type:c.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{type:c.NgSwitch,selector:"[ngSwitch]",inputs:["ngSwitch"]},{type:c.NgSwitchCase,selector:"[ngSwitchCase]",inputs:["ngSwitchCase"]},{type:f.TemplateContextDirective,selector:"[templateContext]",inputs:["templateContext"]},{type:f.ButtonDirective,selector:"button[kendoButton], span[kendoButton]",inputs:["toggleable","togglable","selected","tabIndex","icon","iconClass","imageUrl","disabled","size","rounded","fillMode","themeColor","role","primary","look"],outputs:["selectedChange","click"],exportAs:["kendoButton"]}]}),l.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:A,decorators:[{type:a.Component,args:[{providers:[{provide:g,useExisting:a.forwardRef(function(){return A})}],selector:"kendo-filter-expression",template:'\n <div class="k-filter-toolbar">\n <div class="k-toolbar" role="toolbar" [attr.aria-label]="messageFor(\'filterToolbarAriaLabel\')" (focus)="onFocus()" (focusout)="onBlur()" (mousedown)="onMouseDown($event)">\n <div class="k-filter-toolbar-item k-filter-field k-toolbar-item" >\n <kendo-dropdownlist\n [tabindex]="-1"\n [kendoAriaLabelValue]="messageFor(\'filterFieldAriaLabel\')"\n [title]="messageFor(\'filterExpressionFilters\')"\n [data]="filters"\n textField="title"\n valueField="field"\n [value]="currentItem.field"\n [valuePrimitive]="true"\n (valueChange)="filterValueChange($event)">\n </kendo-dropdownlist>\n </div>\n <div *ngIf="!isBoolean" class="k-filter-toolbar-item k-filter-operator k-toolbar-item" >\n <kendo-filter-expression-operators\n [currentItem]="currentItem"\n [operators]="operators"\n [editorType]="getEditorType()"\n (valueChange)="onOperatorChange($event);">\n </kendo-filter-expression-operators>\n </div>\n\n <div class="k-filter-toolbar-item k-filter-value k-toolbar-item">\n <ng-container *ngIf="!editorTemplate" [ngSwitch]="getEditorType()">\n <kendo-filter-text-editor *ngSwitchCase="\'string\'" [currentItem]="currentItem" [isDisabled]="isEditorDisabled" (valueChange)="valueChange.emit()"></kendo-filter-text-editor>\n <kendo-filter-numeric-editor *ngSwitchCase="\'number\'" [currentItem]="currentItem" [isDisabled]="isEditorDisabled" [format]="numericEditorFormat" (valueChange)="valueChange.emit()"></kendo-filter-numeric-editor>\n <kendo-filter-boolean-editor *ngSwitchCase="\'boolean\'" [currentItem]="currentItem" (valueChange)="valueChange.emit()"></kendo-filter-boolean-editor>\n <kendo-filter-date-editor *ngSwitchCase="\'date\'" [currentItem]="currentItem" [isDisabled]="isEditorDisabled" [format]="dateEditorFormat" (valueChange)="valueChange.emit()"></kendo-filter-date-editor>\n </ng-container>\n <ng-container *ngIf="editorTemplate">\n <ng-template\n [templateContext]="{templateRef: editorTemplate, $implicit: currentItem}">\n </ng-template>\n </ng-container>\n </div>\n\n <div class="k-filter-toolbar-item k-toolbar-item" >\n <button\n kendoButton\n tabindex="-1"\n icon="x"\n fillMode="flat"\n [title]="messageFor(\'remove\')"\n (click)="removeFilterExpression()">\n </button>\n </div>\n </div>\n </div>\n '}]}],ctorParameters:function(){return[{type:m},{type:l.ChangeDetectorRef},{type:l.ElementRef},{type:b},{type:s.LocalizationService},{type:l.Renderer2}]},propDecorators:{currentItem:[{type:a.Input}]}});ae(w,ge=k),Object.defineProperty(w.prototype,"filterItems",{get:function(){return this._filterItems.toArray()},enumerable:!1,configurable:!0}),w.prototype.ngOnInit=function(){var e=this;this.operators=this.getLogicOperators(),this.localizationSubscription=this.localization.changes.subscribe(function(){e.operators=e.getLogicOperators(),e.cdr.detectChanges()})},w.prototype.ngOnDestroy=function(){this.localizationSubscription&&this.localizationSubscription.unsubscribe()},w.prototype.getLogicOperators=function(){return K(J)(this.localization)},w.prototype.getOperator=function(e){return this.messageFor(j(J,e))},w.prototype.selectedChange=function(e){this.currentItem.logic!==e&&(this.currentItem.logic=e,this.valueChange.emit())},w.prototype.addFilterExpression=function(){this.filterService.addFilterExpression(this.currentItem),this.valueChange.emit()},w.prototype.addFilterGroup=function(){this.filterService.addFilterGroup(this.currentItem),this.valueChange.emit()},w.prototype.removeFilterGroup=function(){this.filterService.remove(this.currentItem,this.index),this.cdr.detectChanges(),this.valueChange.emit(!0)},w.prototype.onMouseDown=function(e){var t,e=e.target.closest(h.kendoFilterToolbarItem)?(t=Array.from(e.target.closest(h.kendoToolbar).children).indexOf(e.target.closest(h.kendoFilterToolbarItem))+1,e.target.closest(h.andButton)&&(t=0),e.target.closest(h.orButton)&&(t=1),this.navigationService.currentToolbarItemChildrenIndex=t,this.navigationService.isInnerNavigationActivated=!0,this.navigationService.flattenFilterItems[this.itemNumber].focusableChildren[t]):(this.navigationService.currentToolbarItemChildrenIndex=0,this.navigationService.isInnerNavigationActivated=!1,this.navigationService.flattenFilterItems[this.itemNumber].toolbarElement);this.navigationService.isFilterExpressionComponentFocused=!1,this.navigationService.currentToolbarItemIndex=this.itemNumber,this.navigationService.focusCurrentElement(e,!0)};var ge,S=w;function w(e,t,r,n,o,i){r=ge.call(this,r,n,o,i)||this;return r.filterService=e,r.cdr=t,r.currentItem={logic:"or",filters:[]},r.operators=[],r}S.ɵfac=l.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:S,deps:[{token:m},{token:l.ChangeDetectorRef},{token:l.ElementRef},{token:b},{token:s.LocalizationService},{token:l.Renderer2}],target:l.ɵɵFactoryTarget.Component}),S.ɵcmp=l.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:S,selector:"kendo-filter-group",inputs:{currentItem:"currentItem"},providers:[{provide:g,useExisting:a.forwardRef(function(){return S})}],viewQueries:[{propertyName:"_filterItems",predicate:g,descendants:!0}],usesInheritance:!0,ngImport:l,template:'\n <div class="k-filter-toolbar">\n <div class="k-toolbar" role="toolbar" [attr.aria-label]="messageFor(\'filterToolbarAriaLabel\')" (focus)="onFocus()" (focusout)="onBlur()" (mousedown)="onMouseDown($event)">\n <div class="k-filter-toolbar-item">\n <div class="k-widget k-button-group" role="group">\n <button\n tabindex="-1"\n *ngFor="let operator of operators"\n kendoButton\n [ngClass]="{\'k-group-start\': operator.value === \'and\', \'k-group-end\': operator.value === \'or\'}"\n [selected]="currentItem.logic === operator.value"\n [attr.aria-pressed]="currentItem.logic === operator.value"\n [title]="operator.text"\n (click)="selectedChange(operator.value)"\n >\n {{getOperator(operator.value)}}\n </button>\n </div>\n </div>\n <div class="k-filter-toolbar-item">\n <button\n kendoButton\n tabindex="-1"\n [title]="messageFor(\'addFilter\')"\n icon="filter-add-expression"\n (click)="addFilterExpression()">\n {{messageFor(\'addFilter\')}}\n </button>\n </div>\n <div class="k-filter-toolbar-item">\n <button\n kendoButton\n tabindex="-1"\n [title]="messageFor(\'addGroup\')"\n icon="filter-add-group"\n (click)="addFilterGroup()">\n {{messageFor(\'addGroup\')}}\n </button>\n </div>\n <div class="k-filter-toolbar-item">\n <button\n kendoButton\n tabindex="-1"\n icon="x"\n fillMode="flat"\n [title]="messageFor(\'remove\')"\n (click)="removeFilterGroup()">\n </button>\n </div>\n </div>\n </div>\n\n <ul class="k-filter-lines" role="group" *ngIf="currentItem.filters">\n <ng-container *ngFor="let item of currentItem.filters; let i = index;">\n <li class="k-filter-item" role="treeitem" *ngIf="!item[\'filters\']">\n <kendo-filter-expression (valueChange)="valueChange.emit($event)" [currentItem]="item" [index]="i">\n </kendo-filter-expression>\n </li>\n <li class="k-filter-item" role="treeitem" *ngIf="item[\'filters\']">\n <kendo-filter-group\n (valueChange)="valueChange.emit($event)"\n [currentItem]="item"\n [index]="i"\n >\n </kendo-filter-group>\n </li>\n </ng-container>\n </ul>\n ',isInline:!0,components:[{type:A,selector:"kendo-filter-expression",inputs:["currentItem"]},{type:S,selector:"kendo-filter-group",inputs:["currentItem"]}],directives:[{type:c.NgForOf,selector:"[ngFor][ngForOf]",inputs:["ngForOf","ngForTrackBy","ngForTemplate"]},{type:f.ButtonDirective,selector:"button[kendoButton], span[kendoButton]",inputs:["toggleable","togglable","selected","tabIndex","icon","iconClass","imageUrl","disabled","size","rounded","fillMode","themeColor","role","primary","look"],outputs:["selectedChange","click"],exportAs:["kendoButton"]},{type:c.NgClass,selector:"[ngClass]",inputs:["class","ngClass"]},{type:c.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]}]}),l.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:S,decorators:[{type:a.Component,args:[{providers:[{provide:g,useExisting:a.forwardRef(function(){return S})}],selector:"kendo-filter-group",template:'\n <div class="k-filter-toolbar">\n <div class="k-toolbar" role="toolbar" [attr.aria-label]="messageFor(\'filterToolbarAriaLabel\')" (focus)="onFocus()" (focusout)="onBlur()" (mousedown)="onMouseDown($event)">\n <div class="k-filter-toolbar-item">\n <div class="k-widget k-button-group" role="group">\n <button\n tabindex="-1"\n *ngFor="let operator of operators"\n kendoButton\n [ngClass]="{\'k-group-start\': operator.value === \'and\', \'k-group-end\': operator.value === \'or\'}"\n [selected]="currentItem.logic === operator.value"\n [attr.aria-pressed]="currentItem.logic === operator.value"\n [title]="operator.text"\n (click)="selectedChange(operator.value)"\n >\n {{getOperator(operator.value)}}\n </button>\n </div>\n </div>\n <div class="k-filter-toolbar-item">\n <button\n kendoButton\n tabindex="-1"\n [title]="messageFor(\'addFilter\')"\n icon="filter-add-expression"\n (click)="addFilterExpression()">\n {{messageFor(\'addFilter\')}}\n </button>\n </div>\n <div class="k-filter-toolbar-item">\n <button\n kendoButton\n tabindex="-1"\n [title]="messageFor(\'addGroup\')"\n icon="filter-add-group"\n (click)="addFilterGroup()">\n {{messageFor(\'addGroup\')}}\n </button>\n </div>\n <div class="k-filter-toolbar-item">\n <button\n kendoButton\n tabindex="-1"\n icon="x"\n fillMode="flat"\n [title]="messageFor(\'remove\')"\n (click)="removeFilterGroup()">\n </button>\n </div>\n </div>\n </div>\n\n <ul class="k-filter-lines" role="group" *ngIf="currentItem.filters">\n <ng-container *ngFor="let item of currentItem.filters; let i = index;">\n <li class="k-filter-item" role="treeitem" *ngIf="!item[\'filters\']">\n <kendo-filter-expression (valueChange)="valueChange.emit($event)" [currentItem]="item" [index]="i">\n </kendo-filter-expression>\n </li>\n <li class="k-filter-item" role="treeitem" *ngIf="item[\'filters\']">\n <kendo-filter-group\n (valueChange)="valueChange.emit($event)"\n [currentItem]="item"\n [index]="i"\n >\n </kendo-filter-group>\n </li>\n </ng-container>\n </ul>\n '}]}],ctorParameters:function(){return[{type:m},{type:l.ChangeDetectorRef},{type:l.ElementRef},{type:b},{type:s.LocalizationService},{type:l.Renderer2}]},propDecorators:{_filterItems:[{type:a.ViewChildren,args:[g]}],currentItem:[{type:a.Input}]}});ae(ve,he=t.ComponentMessages);var he,d=ve;function ve(){return null!==he&&he.apply(this,arguments)||this}d.ɵfac=l.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:d,deps:null,target:l.ɵɵFactoryTarget.Directive}),d.ɵdir=l.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:d,selector:"[kendoFilterMessages]",inputs:{filterExpressionOperators:"filterExpressionOperators",filterExpressionFilters:"filterExpressionFilters",remove:"remove",addGroup:"addGroup",addFilter:"addFilter",filterAndLogic:"filterAndLogic",filterOrLogic:"filterOrLogic",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",editorNumericDecrement:"editorNumericDecrement",editorNumericIncrement:"editorNumericIncrement",editorDateTodayText:"editorDateTodayText",editorDateToggleText:"editorDateToggleText",filterFieldAriaLabel:"filterFieldAriaLabel",filterOperatorAriaLabel:"filterOperatorAriaLabel",filterValueAriaLabel:"filterValueAriaLabel",filterToolbarAriaLabel:"filterToolbarAriaLabel",filterComponentAriaLabel:"filterComponentAriaLabel"},usesInheritance:!0,ngImport:l}),l.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:d,decorators:[{type:a.Directive,args:[{selector:"[kendoFilterMessages]"}]}],propDecorators:{filterExpressionOperators:[{type:a.Input}],filterExpressionFilters:[{type:a.Input}],remove:[{type:a.Input}],addGroup:[{type:a.Input}],addFilter:[{type:a.Input}],filterAndLogic:[{type:a.Input}],filterOrLogic:[{type:a.Input}],filterEqOperator:[{type:a.Input}],filterNotEqOperator:[{type:a.Input}],filterIsNullOperator:[{type:a.Input}],filterIsNotNullOperator:[{type:a.Input}],filterIsEmptyOperator:[{type:a.Input}],filterIsNotEmptyOperator:[{type:a.Input}],filterStartsWithOperator:[{type:a.Input}],filterContainsOperator:[{type:a.Input}],filterNotContainsOperator:[{type:a.Input}],filterEndsWithOperator:[{type:a.Input}],filterGteOperator:[{type:a.Input}],filterGtOperator:[{type:a.Input}],filterLteOperator:[{type:a.Input}],filterLtOperator:[{type:a.Input}],filterIsTrue:[{type:a.Input}],filterIsFalse:[{type:a.Input}],filterBooleanAll:[{type:a.Input}],filterAfterOrEqualOperator:[{type:a.Input}],filterAfterOperator:[{type:a.Input}],filterBeforeOperator:[{type:a.Input}],filterBeforeOrEqualOperator:[{type:a.Input}],editorNumericDecrement:[{type:a.Input}],editorNumericIncrement:[{type:a.Input}],editorDateTodayText:[{type:a.Input}],editorDateToggleText:[{type:a.Input}],filterFieldAriaLabel:[{type:a.Input}],filterOperatorAriaLabel:[{type:a.Input}],filterValueAriaLabel:[{type:a.Input}],filterToolbarAriaLabel:[{type:a.Input}],filterComponentAriaLabel:[{type:a.Input}]}});ae(be,Ie=d);var Ie,V=be;function be(e){var t=Ie.call(this)||this;return t.service=e,t}V.ɵfac=l.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:V,deps:[{token:s.LocalizationService}],target:l.ɵɵFactoryTarget.Directive}),V.ɵdir=l.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:V,selector:"[kendoFilterLocalizedMessages]",providers:[{provide:d,useExisting:a.forwardRef(function(){return V})}],usesInheritance:!0,ngImport:l}),l.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:V,decorators:[{type:a.Directive,args:[{providers:[{provide:d,useExisting:a.forwardRef(function(){return V})}],selector:"[kendoFilterLocalizedMessages]"}]}],ctorParameters:function(){return[{type:s.LocalizationService}]}});N.prototype.focusout=function(){var e=this;setTimeout(function(){document.activeElement.closest(".k-filter")||(e.renderer.setAttribute(e.navigationService.currentlyFocusedElement,"tabindex","-1"),e.navigationService.currentlyFocusedElement=e.navigationService.flattenFilterItems[e.navigationService.currentToolbarItemIndex].toolbarElement,e.renderer.setAttribute(e.navigationService.currentlyFocusedElement,"tabindex","0"),e.navigationService.isInnerNavigationActivated=!1,e.navigationService.isFilterExpressionComponentFocused=!1)})},N.prototype.onKeydown=function(e){var t=e.keyCode;-1<[i.Keys.ArrowUp,i.Keys.ArrowDown,i.Keys.ArrowLeft,i.Keys.ArrowRight,i.Keys.Enter,i.Keys.Escape,i.Keys.Tab].indexOf(t)&&this.navigationService.processKeyDown(t,e)},Object.defineProperty(N.prototype,"filters",{get:function(){return this.filterService.filters},set:function(e){0<e.length&&(this.filterService.filters=e.map(function(e){e=Object.assign({},e);return e.title||(e.title=e.field),e}),this.setValue(this.value))},enumerable:!1,configurable:!0}),Object.defineProperty(N.prototype,"value",{get:function(){return this._value},set:function(e){e=JSON.parse(JSON.stringify(e));this._value=e,0<this.filters.length&&this.setValue(this.value)},enumerable:!1,configurable:!0}),Object.defineProperty(N.prototype,"filterItems",{get:function(){return this._filterItems.toArray()},enumerable:!1,configurable:!0}),Object.defineProperty(N.prototype,"toolbarElement",{get:function(){return this.element.nativeElement.querySelector(".k-toolbar")},enumerable:!1,configurable:!0}),N.prototype.ngOnInit=function(){var t=this;this.localizationSubscription=this.localization.changes.subscribe(function(e){e=e.rtl;t.direction=e?"rtl":"ltr",t.cdr.detectChanges()})},N.prototype.ngAfterViewInit=function(){if(this.filterFields&&0<this.filterFields.length&&(this.filters=this.filterFields.map(function(e){return Object.assign(Object.assign({},e),{title:e.title,editorTemplate:null==(e=e.editorTemplate)?void 0:e.templateRef})})),0===this.filters.length)throw new Error(Y);var e;this.navigationService.reset(this.filterItems),this.navigationService.currentlyFocusedElement||(e=this.navigationService.flattenFilterItems[0].toolbarElement,this.navigationService.currentlyFocusedElement=e,this.renderer.setAttribute(e,"tabindex","0"))},N.prototype.ngOnDestroy=function(){this.localizationSubscription&&this.localizationSubscription.unsubscribe()},N.prototype.getCurrentFilter=function(){return this.filterService.normalizedValue},N.prototype.onValueChange=function(e){this.valueChange.emit(this.filterService.normalizedValue),this.cdr.detectChanges(),this.navigationService.reset(this.filterItems),e&&(this.navigationService.currentToolbarItemIndex===this.navigationService.flattenFilterItems.length&&--this.navigationService.currentToolbarItemIndex,this.navigationService.isInnerNavigationActivated=!1,this.navigationService.isFilterExpressionComponentFocused=!1,this.navigationService.currentlyFocusedElement=this.navigationService.flattenFilterItems[this.navigationService.currentToolbarItemIndex].toolbarElement,this.renderer.setAttribute(this.navigationService.currentlyFocusedElement,"tabindex","0"),this.renderer.addClass(this.navigationService.currentlyFocusedElement,"k-focus"),this.navigationService.currentlyFocusedElement.focus())},N.prototype.normalizeFilter=function(t){var e=this.filterService.filters.find(function(e){return e.field===t.field});if(a.isDevMode()&&!e)throw new Error(Z(t.field));if(a.isDevMode()&&"boolean"===e.editor&&!t.value&&!1!==t.value&&console.warn(ee(t.field)),a.isDevMode()&&"boolean"===e.editor&&"eq"!==t.operator&&console.warn(te(t.field)),t.operator&&e.operators&&!e.operators.some(function(e){return e===t.operator}))throw new Error(re(t.field,t.operator));"boolean"===e.editor&&(t.operator="eq"),"date"===e.editor&&t.value&&(t.value=new Date(t.value)),null==t.value&&(t.value=null),0<=$.indexOf(t.operator)&&(t.value=null)},N.prototype.setValue=function(e){this.normalizeValue(e),this.filterService.normalizedValue=e,this.cdr.detectChanges()},N.prototype.normalizeValue=function(e){var t=this;this.filterService.filters.length&&e.filters.forEach(function(e){e.filters?t.normalizeValue(e):t.normalizeFilter(e)})},N.prototype.messageFor=function(e){return this.localization.get(e)};p=N;function N(e,t,r,n,o,i){this.filterService=e,this.localization=t,this.cdr=r,this.element=n,this.navigationService=o,this.renderer=i,this.valueChange=new a.EventEmitter,this._value={filters:[],logic:"and"},B.validatePackage(Q),this.direction=t.rtl?"rtl":"ltr"}p.ɵfac=l.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:p,deps:[{token:m},{token:s.LocalizationService},{token:l.ChangeDetectorRef},{token:l.ElementRef},{token:b},{token:l.Renderer2}],target:l.ɵɵFactoryTarget.Component}),p.ɵcmp=l.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:p,selector:"kendo-filter",inputs:{filters:"filters",value:"value"},outputs:{valueChange:"valueChange"},host:{listeners:{focusout:"focusout($event)",keydown:"onKeydown($event)"},properties:{"attr.dir":"this.direction"}},providers:[t.LocalizationService,{provide:t.L10N_PREFIX,useValue:"kendo.filter"},m,b],queries:[{propertyName:"filterFields",predicate:I}],viewQueries:[{propertyName:"_filterItems",predicate:g,descendants:!0}],ngImport:l,template:'\n <ng-container kendoFilterLocalizedMessages\n i18n-editorDateTodayText="kendo.filter.editorDateTodayText|The text of the Today button of the Date editor"\n editorDateTodayText="Today"\n\n i18n-editorDateToggleText="kendo.filter.editorDateToggleText|The title of the Toggle button of the Date editor."\n editorDateToggleText="Toggle calendar"\n\n i18n-editorNumericDecrement="kendo.filter.editorNumericDecrement|The title of the Decrement button of the Numeric editor"\n editorNumericDecrement="Decrement"\n\n i18n-editorNumericIncrement="kendo.filter.editorNumericIncrement|The title of the Increment button of the Numeric editor"\n editorNumericIncrement="Increment"\n\n i18n-filterExpressionOperators="kendo.filter.filterExpressionOperators|The text of the Filter Expression Operators drop down"\n filterExpressionOperators="Operators"\n\n i18n-filterExpressionFilters="kendo.filter.filterExpressionFilters|The text of the Filter Expression filters drop down"\n filterExpressionFilters="Fields"\n\n i18n-remove="kendo.filter.remove|The text of the Remove button"\n remove="Remove"\n\n i18n-addFilter="kendo.filter.addFilter|The text of the Add Filter button"\n addFilter="Add Filter"\n\n i18n-addGroup="kendo.filter.addGroup|The text of the Add Group button"\n addGroup="Add Group"\n\n i18n-filterAndLogic="kendo.filter.filterAndLogic|The text of the And filter logic"\n filterAndLogic="And"\n\n i18n-filterOrLogic="kendo.filter.filterOrLogic|The text of the Or filter logic"\n filterOrLogic="Or"\n\n i18n-filterEqOperator="kendo.filter.filterEqOperator|The text of the equal filter operator"\n filterEqOperator="Is equal to"\n\n i18n-filterNotEqOperator="kendo.filter.filterNotEqOperator|The text of the not equal filter operator"\n filterNotEqOperator="Is not equal to"\n\n i18n-filterIsNullOperator="kendo.filter.filterIsNullOperator|The text of the is null filter operator"\n filterIsNullOperator="Is null"\n\n i18n-filterIsNotNullOperator="kendo.filter.filterIsNotNullOperator|The text of the is not null filter operator"\n filterIsNotNullOperator="Is not null"\n\n i18n-filterIsEmptyOperator="kendo.filter.filterIsEmptyOperator|The text of the is empty filter operator"\n filterIsEmptyOperator="Is empty"\n\n i18n-filterIsNotEmptyOperator="kendo.filter.filterIsNotEmptyOperator|The text of the is not empty filter operator"\n filterIsNotEmptyOperator="Is not empty"\n\n i18n-filterStartsWithOperator="kendo.filter.filterStartsWithOperator|The text of the starts with filter operator"\n filterStartsWithOperator="Starts with"\n\n i18n-filterContainsOperator="kendo.filter.filterContainsOperator|The text of the contains filter operator"\n filterContainsOperator="Contains"\n\n i18n-filterNotContainsOperator="kendo.filter.filterNotContainsOperator|The text of the does not contain filter operator"\n filterNotContainsOperator="Does not contain"\n\n i18n-filterEndsWithOperator="kendo.filter.filterEndsWithOperator|The text of the ends with filter operator"\n filterEndsWithOperator="Ends with"\n\n i18n-filterGteOperator="kendo.filter.filterGteOperator|The text of the greater than or equal filter operator"\n filterGteOperator="Is greater than or equal to"\n\n i18n-filterGtOperator="kendo.filter.filterGtOperator|The text of the greater than filter operator"\n filterGtOperator="Is greater than"\n\n i18n-filterLteOperator="kendo.filter.filterLteOperator|The text of the less than or equal filter operator"\n filterLteOperator="Is less than or equal to"\n\n i18n-filterLtOperator="kendo.filter.filterLtOperator|The text of the less than filter operator"\n filterLtOperator="Is less than"\n\n i18n-filterIsTrue="kendo.filter.filterIsTrue|The text of the IsTrue boolean filter option"\n filterIsTrue="Is True"\n\n i18n-filterIsFalse="kendo.filter.filterIsFalse|The text of the IsFalse boolean filter option"\n filterIsFalse="Is False"\n\n i18n-filterBooleanAll="kendo.filter.filterBooleanAll|The text of the (All) boolean filter option"\n filterBooleanAll="(All)"\n\n i18n-filterAfterOrEqualOperator="kendo.filter.filterAfterOrEqualOperator|The text of the after or equal date filter operator"\n filterAfterOrEqualOperator="Is after or equal to"\n\n i18n-filterAfterOperator="kendo.filter.filterAfterOperator|The text of the after date filter operator"\n filterAfterOperator="Is after"\n\n i18n-filterBeforeOperator="kendo.filter.filterBeforeOperator|The text of the before date filter operator"\n filterBeforeOperator="Is before"\n\n i18n-filterBeforeOrEqualOperator="kendo.filter.filterBeforeOrEqualOperator|The text of the before or equal date filter operator"\n filterBeforeOrEqualOperator="Is before or equal to"\n\n i18n-filterFieldAriaLabel="kendo.filter.filterFieldAriaLabel|The text of the filter field aria label"\n filterFieldAriaLabel="field"\n\n i18n-filterOperatorAriaLabel="kendo.filter.filterOperatorAriaLabel|The text of the filter operator aria label"\n filterOperatorAriaLabel="operator"\n\n i18n-filterValueAriaLabel="kendo.filter.filterValueAriaLabel|The text of the filter value aria label"\n filterValueAriaLabel="value"\n\n i18n-filterToolbarAriaLabel="kendo.filter.filterToolbarAriaLabel|The text of the filter row aria label"\n filterToolbarAriaLabel="filter row settings"\n\n i18n-filterComponentAriaLabel="kendo.filter.filterComponentAriaLabel|The text of the filter component aria label"\n filterComponentAriaLabel="filter component"\n >\n </ng-container>\n <div class="k-widget k-filter" [attr.dir]="direction">\n <ul class=\'k-filter-container\' role="tree" [attr.aria-label]="messageFor(\'filterComponentAriaLabel\')">\n <li class=\'k-filter-group-main\' role="treeitem">\n <kendo-filter-group\n [currentItem]="getCurrentFilter()"\n (valueChange)="onValueChange($event)"\n >\n </kendo-filter-group>\n </li>\n </ul>\n </div>\n ',isInline:!0,components:[{type:S,selector:"kendo-filter-group",inputs:["currentItem"]}],directives:[{type:V,selector:"[kendoFilterLocalizedMessages]"}]}),l.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:p,decorators:[{type:a.Component,args:[{providers:[t.LocalizationService,{provide:t.L10N_PREFIX,useValue:"kendo.filter"},m,b],selector:"kendo-filter",template:'\n <ng-container kendoFilterLocalizedMessages\n i18n-editorDateTodayText="kendo.filter.editorDateTodayText|The text of the Today button of the Date editor"\n editorDateTodayText="Today"\n\n i18n-editorDateToggleText="kendo.filter.editorDateToggleText|The title of the Toggle button of the Date editor."\n editorDateToggleText="Toggle calendar"\n\n i18n-editorNumericDecrement="kendo.filter.editorNumericDecrement|The title of the Decrement button of the Numeric editor"\n editorNumericDecrement="Decrement"\n\n i18n-editorNumericIncrement="kendo.filter.editorNumericIncrement|The title of the Increment button of the Numeric editor"\n editorNumericIncrement="Increment"\n\n i18n-filterExpressionOperators="kendo.filter.filterExpressionOperators|The text of the Filter Expression Operators drop down"\n filterExpressionOperators="Operators"\n\n i18n-filterExpressionFilters="kendo.filter.filterExpressionFilters|The text of the Filter Expression filters drop down"\n filterExpressionFilters="Fields"\n\n i18n-remove="kendo.filter.remove|The text of the Remove button"\n remove="Remove"\n\n i18n-addFilter="kendo.filter.addFilter|The text of the Add Filter button"\n addFilter="Add Filter"\n\n i18n-addGroup="kendo.filter.addGroup|The text of the Add Group button"\n addGroup="Add Group"\n\n i18n-filterAndLogic="kendo.filter.filterAndLogic|The text of the And filter logic"\n filterAndLogic="And"\n\n i18n-filterOrLogic="kendo.filter.filterOrLogic|The text of the Or filter logic"\n filterOrLogic="Or"\n\n i18n-filterEqOperator="kendo.filter.filterEqOperator|The text of the equal filter operator"\n filterEqOperator="Is equal to"\n\n i18n-filterNotEqOperator="kendo.filter.filterNotEqOperator|The text of the not equal filter operator"\n filterNotEqOperator="Is not equal to"\n\n i18n-filterIsNullOperator="kendo.filter.filterIsNullOperator|The text of the is null filter operator"\n filterIsNullOperator="Is null"\n\n i18n-filterIsNotNullOperator="kendo.filter.filterIsNotNullOperator|The text of the is not null filter operator"\n filterIsNotNullOperator="Is not null"\n\n i18n-filterIsEmptyOperator="kendo.filter.filterIsEmptyOperator|The text of the is empty filter operator"\n filterIsEmptyOperator="Is empty"\n\n i18n-filterIsNotEmptyOperator="kendo.filter.filterIsNotEmptyOperator|The text of the is not empty filter operator"\n filterIsNotEmptyOperator="Is not empty"\n\n i18n-filterStartsWithOperator="kendo.filter.filterStartsWithOperator|The text of the starts with filter operator"\n filterStartsWithOperator="Starts with"\n\n i18n-filterContainsOperator="kendo.filter.filterContainsOperator|The text of the contains filter operator"\n filterContainsOperator="Contains"\n\n i18n-filterNotContainsOperator="kendo.filter.filterNotContainsOperator|The text of the does not contain filter operator"\n filterNotContainsOperator="Does not contain"\n\n i18n-filterEndsWithOperator="kendo.filter.filterEndsWithOperator|The text of the ends with filter operator"\n filterEndsWithOperator="Ends with"\n\n i18n-filterGteOperator="kendo.filter.filterGteOperator|The text of the greater than or equal filter operator"\n filterGteOperator="Is greater than or equal to"\n\n i18n-filterGtOperator="kendo.filter.filterGtOperator|The text of the greater than filter operator"\n filterGtOperator="Is greater than"\n\n i18n-filterLteOperator="kendo.filter.filterLteOperator|The text of the less than or equal filter operator"\n filterLteOperator="Is less than or equal to"\n\n i18n-filterLtOperator="kendo.filter.filterLtOperator|The text of the less than filter operator"\n filterLtOperator="Is less than"\n\n i18n-filterIsTrue="kendo.filter.filterIsTrue|The text of the IsTrue boolean filter option"\n filterIsTrue="Is True"\n\n i18n-filterIsFalse="kendo.filter.filterIsFalse|The text of the IsFalse boolean filter option"\n filterIsFalse="Is False"\n\n i18n-filterBooleanAll="kendo.filter.filterBooleanAll|The text of the (All) boolean filter option"\n filterBooleanAll="(All)"\n\n i18n-filterAfterOrEqualOperator="kendo.filter.filterAfterOrEqualOperator|The text of the after or equal date filter operator"\n filterAfterOrEqualOperator="Is after or equal to"\n\n i18n-filterAfterOperator="kendo.filter.filterAfterOperator|The text of the after date filter operator"\n filterAfterOperator="Is after"\n\n i18n-filterBeforeOperator="kendo.filter.filterBeforeOperator|The text of the before date filter operator"\n filterBeforeOperator="Is before"\n\n i18n-filterBeforeOrEqualOperator="kendo.filter.filterBeforeOrEqualOperator|The text of the before or equal date filter operator"\n filterBeforeOrEqualOperator="Is before or equal to"\n\n i18n-filterFieldAriaLabel="kendo.filter.filterFieldAriaLabel|The text of the filter field aria label"\n filterFieldAriaLabel="field"\n\n i18n-filterOperatorAriaLabel="kendo.filter.filterOperatorAriaLabel|The text of the filter operator aria label"\n filterOperatorAriaLabel="operator"\n\n i18n-filterValueAriaLabel="kendo.filter.filterValueAriaLabel|The text of the filter value aria label"\n filterValueAriaLabel="value"\n\n i18n-filterToolbarAriaLabel="kendo.filter.filterToolbarAriaLabel|The text of the filter row aria label"\n filterToolbarAriaLabel="filter row settings"\n\n i18n-filterComponentAriaLabel="kendo.filter.filterComponentAriaLabel|The text of the filter component aria label"\n filterComponentAriaLabel="filter component"\n >\n </ng-container>\n <div class="k-widget k-filter" [attr.dir]="direction">\n <ul class=\'k-filter-container\' role="tree" [attr.aria-label]="messageFor(\'filterComponentAriaLabel\')">\n <li class=\'k-filter-group-main\' role="treeitem">\n <kendo-filter-group\n [currentItem]="getCurrentFilter()"\n (valueChange)="onValueChange($event)"\n >\n </kendo-filter-group>\n </li>\n </ul>\n </div>\n '}]}],ctorParameters:function(){return[{type:m},{type:s.LocalizationService},{type:l.ChangeDetectorRef},{type:l.ElementRef},{type:b},{type:l.Renderer2}]},propDecorators:{focusout:[{type:a.HostListener,args:["focusout",["$event"]]}],onKeydown:[{type:a.HostListener,args:["keydown",["$event"]]}],direction:[{type:a.HostBinding,args:["attr.dir"]}],filters:[{type:a.Input}],value:[{type:a.Input}],valueChange:[{type:a.Output}],filterFields:[{type:a.ContentChildren,args:[I]}],_filterItems:[{type:a.ViewChildren,args:[g]}]}});ae(ke,ye=d),Object.defineProperty(ke.prototype,"override",{get:function(){return!0},enumerable:!1,configurable:!0});var ye,q=ke;function ke(e){var t=ye.call(this)||this;return t.service=e,t}q.ɵfac=l.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:q,deps:[{token:s.LocalizationService}],target:l.ɵɵFactoryTarget.Component}),q.ɵcmp=l.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:q,selector:"kendo-filter-messages",providers:[{provide:d,useExisting:a.forwardRef(function(){return q})}],usesInheritance:!0,ngImport:l,template:"",isInline:!0}),l.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:q,decorators:[{type:a.Component,args:[{providers:[{provide:d,useExisting:a.forwardRef(function(){return q})}],selector:"kendo-filter-messages",template:""}]}],ctorParameters:function(){return[{type:s.LocalizationService}]}});k=[z.CommonModule,n.InputsModule,R.LabelModule,r.DropDownsModule,G.ButtonsModule,M.DateInputsModule],f=function(){},f.ɵfac=l.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:f,deps:[],target:l.ɵɵFactoryTarget.NgModule}),f.ɵmod=l.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:f,imports:[z.CommonModule,n.InputsModule,R.LabelModule,r.DropDownsModule,G.ButtonsModule,M.DateInputsModule],exports:[z.CommonModule,n.InputsModule,R.LabelModule,r.DropDownsModule,G.ButtonsModule,M.DateInputsModule]}),f.ɵinj=l.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:f,imports:[se([],le(k)),z.CommonModule,n.InputsModule,R.LabelModule,r.DropDownsModule,G.ButtonsModule,M.DateInputsModule]}),l.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:f,decorators:[{type:a.NgModule,args:[{imports:se([],le(k)),exports:se([],le(k))}]}]}),c=function(){};c.ɵfac=l.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:c,deps:[],target:l.ɵɵFactoryTarget.NgModule}),c.ɵmod=l.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:c,declarations:[p,T,O,A,S,F,u,E,V,q,C,I,v],imports:[f],exports:[p,T,O,A,S,F,u,E,V,q,C,I,v]}),c.ɵinj=l.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:c,imports:[[f]]}),l.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:c,decorators:[{type:a.NgModule,args:[{imports:[f],declarations:[p,T,O,A,S,F,u,E,V,q,C,I,v],exports:[p,T,O,A,S,F,u,E,V,q,C,I,v]}]}]}),e.AriaLabelValueDirective=C,e.CustomMessagesComponent=q,e.FilterBooleanEditorComponent=u,e.FilterComponent=p,e.FilterDateEditorComponent=E,e.FilterExpressionComponent=A,e.FilterExpressionOperatorsComponent=F,e.FilterFieldComponent=I,e.FilterGroupComponent=S,e.FilterModule=c,e.FilterNumericEditorComponent=T,e.FilterTextEditorComponent=O,e.FilterValueEditorTemplateDirective=v,e.LocalizedMessagesDirective=V,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-l10n"),require("@progress/kendo-licensing"),require("@progress/kendo-angular-common"),require("@progress/kendo-angular-dropdowns"),require("@progress/kendo-angular-inputs"),require("@progress/kendo-angular-dateinputs"),require("@angular/common"),require("@progress/kendo-angular-buttons"),require("@progress/kendo-angular-label")):"function"==typeof define&&define.amd?define("KendoAngularFilter",["exports","@angular/core","@progress/kendo-angular-l10n","@progress/kendo-licensing","@progress/kendo-angular-common","@progress/kendo-angular-dropdowns","@progress/kendo-angular-inputs","@progress/kendo-angular-dateinputs","@angular/common","@progress/kendo-angular-buttons","@progress/kendo-angular-label"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).KendoAngularFilter={},e.ng.core,e.KendoAngularL10N,e.KendoLicensing,e.KendoAngularCommon,e.KendoAngularDropdowns,e.KendoAngularInputs,e.KendoAngularDateinputs,e.ng.common,e.KendoAngularButtons,e.KendoAngularLabel)}(this,function(e,a,t,B,i,r,n,M,z,G,R){"use strict";function o(r){var n;return r&&r.__esModule?r:(n=Object.create(null),r&&Object.keys(r).forEach(function(e){var t;"default"!==e&&(t=Object.getOwnPropertyDescriptor(r,e),Object.defineProperty(n,e,t.get?t:{enumerable:!0,get:function(){return r[e]}}))}),n.default=r,Object.freeze(n))}var l=o(a),s=o(t),p=o(r),u=o(n),d=o(M),c=o(z),f=o(G),m=(P.prototype.addFilterGroup=function(e){e.filters.push({logic:"and",filters:[]})},P.prototype.addFilterExpression=function(e){e.filters.push({operator:"eq",value:null,field:null})},P.prototype.remove=function(t,r,e){var n,o=this;e=e||this.normalizedValue,t===e?e.filters=[]:0<=(n=e.filters.indexOf(t))&&n===r?e.filters=e.filters.filter(function(e){return e!==t}):e.filters.forEach(function(e){return e.filters&&o.remove(t,r,e)})},P);function P(){this.normalizedValue={logic:"and",filters:[]},this.filters=[]}m.ɵfac=l.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:m,deps:[],target:l.ɵɵFactoryTarget.Injectable}),m.ɵprov=l.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:m}),l.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:m,decorators:[{type:a.Injectable}]});function j(t,r){return Object.keys(t).find(function(e){return t[e]===r})}function K(r){return function(t){return Object.keys(r).map(function(e){return{text:t.get(e),value:r[e]}})}}var $=["isnull","isnotnull","isempty","isnotempty"],_={filterEqOperator:"eq",filterNotEqOperator:"neq",filterContainsOperator:"contains",filterNotContainsOperator:"doesnotcontain",filterStartsWithOperator:"startswith",filterEndsWithOperator:"endswith",filterIsNullOperator:"isnull",filterIsNotNullOperator:"isnotnull",filterIsEmptyOperator:"isempty",filterIsNotEmptyOperator:"isnotempty"},W={filterEqOperator:"eq",filterNotEqOperator:"neq",filterGteOperator:"gte",filterGtOperator:"gt",filterLteOperator:"lte",filterLtOperator:"lt",filterIsNullOperator:"isnull",filterIsNotNullOperator:"isnotnull"},H={filterEqOperator:"eq",filterNotEqOperator:"neq",filterAfterOrEqualOperator:"gte",filterAfterOperator:"gt",filterBeforeOrEqualOperator:"lte",filterBeforeOperator:"lt",filterIsNullOperator:"isnull",filterIsNotNullOperator:"isnotnull"},U={string:_,number:W,date:H},J={filterAndLogic:"and",filterOrLogic:"or"},g=function(){},h=(g.ɵfac=l.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:g,deps:[],target:l.ɵɵFactoryTarget.Injectable}),g.ɵprov=l.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:g}),l.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:g,decorators:[{type:a.Injectable}]}),{andButton:"button.k-group-start",orButton:"button.k-group-end",addFilterButton:'button[icon="filter-add-expression"]',addGroupButton:'button[icon="filter-add-group"]',removeButton:'button[icon="x"]',filterFieldWrapper:".k-filter-field",filterOperatorWrapper:".k-filter-operator",filterValueEditorWrapper:".k-filter-value",kendoDropDownListComponent:"kendo-dropdownlist",kendoInput:".k-input",kendoInputInner:".k-input-inner",inputElement:"input",textAreaElement:"textarea",kendoToolbar:".k-toolbar",kendoButton:".k-button",kendoFilterToolbarItem:".k-filter-toolbar-item"}),Q={name:"@progress/kendo-angular-filter",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1668752652,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"},v=function(e){this.templateRef=e},I=(v.ɵfac=l.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:v,deps:[{token:l.TemplateRef}],target:l.ɵɵFactoryTarget.Directive}),v.ɵdir=l.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:v,selector:"[kendoFilterValueEditorTemplate]",ngImport:l}),l.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:v,decorators:[{type:a.Directive,args:[{selector:"[kendoFilterValueEditorTemplate]"}]}],ctorParameters:function(){return[{type:l.TemplateRef}]}}),Object.defineProperty(X.prototype,"title",{get:function(){return this._title},set:function(e){this._title=e||this.field},enumerable:!1,configurable:!0}),X);function X(){}I.ɵfac=l.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:I,deps:[],target:l.ɵɵFactoryTarget.Component}),I.ɵcmp=l.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:I,selector:"kendo-filter-field",inputs:{field:"field",title:"title",editor:"editor",operators:"operators",editorFormat:"editorFormat"},queries:[{propertyName:"editorTemplate",first:!0,predicate:v,descendants:!0}],ngImport:l,template:"",isInline:!0}),l.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:I,decorators:[{type:a.Component,args:[{selector:"kendo-filter-field",template:""}]}],propDecorators:{field:[{type:a.Input}],title:[{type:a.Input}],editor:[{type:a.Input}],operators:[{type:a.Input}],editorFormat:[{type:a.Input}],editorTemplate:[{type:a.ContentChild,args:[v]}]}});y.prototype.processKeyDown=function(e,t){switch(e){case i.Keys.ArrowUp:t.preventDefault(),this.isInnerNavigationActivated||(0<this.currentToolbarItemIndex?this.currentToolbarItemIndex--:this.currentToolbarItemIndex,o=this.flattenFilterItems[this.currentToolbarItemIndex].toolbarElement,this.focusCurrentElement(o));break;case i.Keys.ArrowDown:t.preventDefault(),this.isInnerNavigationActivated||(this.currentToolbarItemIndex<this.flattenFilterItems.length-1?this.currentToolbarItemIndex++:this.currentToolbarItemIndex,o=this.flattenFilterItems[this.currentToolbarItemIndex].toolbarElement,this.focusCurrentElement(o));break;case i.Keys.Enter:var r=t.target.closest(h.kendoToolbar),r=(!this.isInnerNavigationActivated&&r&&(t.preventDefault(),this.isInnerNavigationActivated=!0,this.currentToolbarItemChildrenIndex=0,o=this.flattenFilterItems[this.currentToolbarItemIndex].focusableChildren[this.currentToolbarItemChildrenIndex],this.focusCurrentElement(o)),t.target.closest(h.kendoFilterToolbarItem)),n=t.target.closest(h.kendoButton);this.isInnerNavigationActivated&&!this.isFilterExpressionComponentFocused&&r&&!n&&(t.preventDefault(),this.isFilterExpressionComponentFocused=!0,o=(r=this.flattenFilterItems[this.currentToolbarItemIndex].focusableChildren[this.currentToolbarItemChildrenIndex]).querySelector(h.KendoDropDownListComponent)||r.querySelector(h.kendoInputInner)||r.querySelector(h.inputElement)||r.querySelector(h.textAreaElement),this.focusCurrentElement(o));break;case i.Keys.Escape:this.isInnerNavigationActivated&&!this.isFilterExpressionComponentFocused&&(t.preventDefault(),this.isInnerNavigationActivated=!1,this.currentToolbarItemChildrenIndex=0,o=this.flattenFilterItems[this.currentToolbarItemIndex].toolbarElement,this.focusCurrentElement(o)),this.isFilterExpressionComponentFocused&&(t.preventDefault(),this.isFilterExpressionComponentFocused=!1,this.isInnerNavigationActivated=!0,o=this.flattenFilterItems[this.currentToolbarItemIndex].focusableChildren[this.currentToolbarItemChildrenIndex],this.focusCurrentElement(o));break;case i.Keys.ArrowRight:this.isInnerNavigationActivated&&!this.isFilterExpressionComponentFocused&&(t.preventDefault(),this.currentToolbarItemChildrenIndex<this.flattenFilterItems[this.currentToolbarItemIndex].focusableChildren.length-1?this.currentToolbarItemChildrenIndex++:this.currentToolbarItemChildrenIndex,o=this.flattenFilterItems[this.currentToolbarItemIndex].focusableChildren[this.currentToolbarItemChildrenIndex],this.focusCurrentElement(o));break;case i.Keys.ArrowLeft:var o;this.isInnerNavigationActivated&&!this.isFilterExpressionComponentFocused&&(t.preventDefault(),0<this.currentToolbarItemChildrenIndex?this.currentToolbarItemChildrenIndex--:this.currentToolbarItemChildrenIndex,o=this.flattenFilterItems[this.currentToolbarItemIndex].focusableChildren[this.currentToolbarItemChildrenIndex],this.focusCurrentElement(o))}},y.prototype.focusCurrentElement=function(e,t){this.renderer.setAttribute(this.currentlyFocusedElement,"tabindex","-1"),(this.currentlyFocusedElement=e)&&(this.renderer.setAttribute(this.currentlyFocusedElement,"tabindex","0"),t||this.currentlyFocusedElement.focus())},y.prototype.flattenHierarchicalFilterItems=function(e){var n=this;e.forEach(function(e){var t,r={component:e,isGroup:!1,toolbarElement:e.toolbarElement,focusableChildren:[]};n.flattenFilterItems.push(r),e.operators&&0<(null==(t=e.filterItems)?void 0:t.length)?(n.setGroupItemChildren(r,e),n.flattenHierarchicalFilterItems(e.filterItems)):e.operators&&0===(null==(t=e.filterItems)?void 0:t.length)?n.setGroupItemChildren(r,e):(r.focusableChildren.push(e.toolbarElement.querySelector(h.filterFieldWrapper)),e.toolbarElement.querySelector(".k-filter-operator")&&r.focusableChildren.push(e.toolbarElement.querySelector(h.filterOperatorWrapper)),r.focusableChildren.push(e.toolbarElement.querySelector(h.filterValueEditorWrapper)),r.focusableChildren.push(e.toolbarElement.querySelector(h.removeButton)))})},y.prototype.setGroupItemChildren=function(e,t){e.isGroup=!0,e.focusableChildren.push(t.toolbarElement.querySelector(h.andButton)),e.focusableChildren.push(t.toolbarElement.querySelector(h.orButton)),e.focusableChildren.push(t.toolbarElement.querySelector(h.addFilterButton)),e.focusableChildren.push(t.toolbarElement.querySelector(h.addGroupButton)),e.focusableChildren.push(t.toolbarElement.querySelector(h.removeButton))},y.prototype.setItemIndexes=function(){this.flattenFilterItems.forEach(function(e,t){e.component.itemNumber=t}),this.cdr.detectChanges()},y.prototype.reset=function(e){this.flattenFilterItems=[],this.hierarchicalFilterItems=e,this.flattenHierarchicalFilterItems(e),this.setItemIndexes()};var b=y;function y(e,t){this.cdr=e,this.renderer=t,this.hierarchicalFilterItems=[],this.flattenFilterItems=[],this.currentToolbarItemIndex=0,this.currentToolbarItemChildrenIndex=0,this.isInnerNavigationActivated=!1,this.isFilterExpressionComponentFocused=!1}b.ɵfac=l.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:b,deps:[{token:l.ChangeDetectorRef},{token:l.Renderer2}],target:l.ɵɵFactoryTarget.Injectable}),b.ɵprov=l.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:b}),l.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:b,decorators:[{type:a.Injectable}],ctorParameters:function(){return[{type:l.ChangeDetectorRef},{type:l.Renderer2}]}});var Y="Pass at least one user-defined filter through the [filters] input property or nest kendo-filter-field components. See http://www.telerik.com/kendo-angular-ui/components/filter/#data-binding",Z=function(e){return"There is no user-defined filter with '"+e+"' field provided through the [filters] input property."},ee=function(e){return"Provide a value for the boolean '"+e+"' user-defined filter as the operator is always set to 'eq'."},te=function(e){return"The operator of the boolean '"+e+"' user-defined filter is always set to 'eq'."},re=function(e,t){return"The user-defined filter with field '"+e+"' is missing the '"+t+"' operator."},ne=function(e){return"The provided value for the numeric editor of the '"+e+"' filter expression isn't one of a supported type string or NumberFormat. See http://www.telerik.com/kendo-angular-ui/components/filter/#editor-formats/"},oe=function(e){return"The provided value for the date editor of the '"+e+"' filter expression isn't one of a supported type string or DateFormat. See http://www.telerik.com/kendo-angular-ui/components/filter/#editor-formats/"},ie=function(e,t){return(ie=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}))(e,t)};function ae(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}ie(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}Object.create;function le(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a}function se(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||((n=n||Array.prototype.slice.call(t,0,o))[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}Object.create;Object.defineProperty(x.prototype,"toolbarElement",{get:function(){return this.element.nativeElement.querySelector(".k-toolbar")},enumerable:!1,configurable:!0}),x.prototype.onFocus=function(){this.renderer.addClass(this.navigationService.flattenFilterItems[this.itemNumber].toolbarElement,"k-focus"),this.navigationService.isInnerNavigationActivated=!1},x.prototype.onBlur=function(){this.renderer.removeClass(this.navigationService.flattenFilterItems[this.itemNumber].toolbarElement,"k-focus")},x.prototype.messageFor=function(e){return this.localization.get(e)},x.prototype.onMouseDown=function(e){var t=e.target.closest(h.kendoFilterToolbarItem),e=e.target.closest(h.kendoToolbar);e=t?(e=Array.from(e.children).indexOf(t),this.navigationService.currentToolbarItemChildrenIndex=e,this.navigationService.isInnerNavigationActivated=!0,this.navigationService.isFilterExpressionComponentFocused=!0,(t=this.navigationService.flattenFilterItems[this.itemNumber].focusableChildren[e]).querySelector(h.kendoDropDownListComponent)||t.querySelector(h.kendoInput)||t.querySelector(h.kendoInputInner)||t.querySelector(h.inputElement)||t.querySelector(h.textAreaElement)):(this.navigationService.currentToolbarItemChildrenIndex=0,this.navigationService.isInnerNavigationActivated=!1,this.navigationService.isFilterExpressionComponentFocused=!1,this.navigationService.flattenFilterItems[this.itemNumber].toolbarElement),this.navigationService.currentToolbarItemIndex=this.itemNumber,this.navigationService.focusCurrentElement(e,!0)};var k=x;function x(e,t,r,n){this.element=e,this.navigationService=t,this.localization=r,this.renderer=n,this.valueChange=new a.EventEmitter}k.ɵfac=l.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:k,deps:[{token:l.ElementRef},{token:b},{token:s.LocalizationService},{token:l.Renderer2}],target:l.ɵɵFactoryTarget.Directive}),k.ɵdir=l.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:k,inputs:{index:"index"},outputs:{valueChange:"valueChange"},ngImport:l}),l.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:k,decorators:[{type:a.Directive,args:[{}]}],ctorParameters:function(){return[{type:l.ElementRef},{type:b},{type:s.LocalizationService},{type:l.Renderer2}]},propDecorators:{index:[{type:a.Input}],valueChange:[{type:a.Output}]}});pe.prototype.ngOnInit=function(){var e=this.hostElement.nativeElement.querySelector("input")||this.hostElement.nativeElement;this.renderer.setAttribute(e,"aria-label",this.ariaLabel)};var C=pe;function pe(e,t){this.hostElement=e,this.renderer=t}C.ɵfac=l.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:C,deps:[{token:l.ElementRef},{token:l.Renderer2}],target:l.ɵɵFactoryTarget.Directive}),C.ɵdir=l.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:C,selector:"[kendoAriaLabelValue]",inputs:{ariaLabel:["kendoAriaLabelValue","ariaLabel"]},ngImport:l}),l.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:C,decorators:[{type:a.Directive,args:[{selector:"[kendoAriaLabelValue]"}]}],ctorParameters:function(){return[{type:l.ElementRef},{type:l.Renderer2}]},propDecorators:{ariaLabel:[{type:a.Input,args:["kendoAriaLabelValue"]}]}});ue.prototype.messageFor=function(e){return this.localization.get(e)},ue.prototype.getOperator=function(e){return this.messageFor(j(U[this.editorType],e))},ue.prototype.operatorValueChange=function(e){this.valueChange.emit(e)};var F=ue;function ue(e){this.localization=e,this.valueChange=new a.EventEmitter,this.operators=[]}F.ɵfac=l.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:F,deps:[{token:s.LocalizationService}],target:l.ɵɵFactoryTarget.Component}),F.ɵcmp=l.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:F,selector:"kendo-filter-expression-operators",inputs:{currentItem:"currentItem",editorType:"editorType",operators:"operators"},outputs:{valueChange:"valueChange"},ngImport:l,template:'\n <kendo-dropdownlist\n [tabindex]="-1"\n [kendoAriaLabelValue]="messageFor(\'filterOperatorAriaLabel\')"\n [data]="operators"\n [title]="messageFor(\'filterExpressionOperators\')"\n [(value)]="currentItem.operator"\n (valueChange)="operatorValueChange($event)"\n [valuePrimitive]="true"\n textField="text"\n valueField="value"\n >\n <ng-template kendoDropDownListValueTemplate let-dataItem>\n {{ getOperator(dataItem.value) }}\n </ng-template>\n <ng-template kendoDropDownListItemTemplate let-dataItem>\n {{ getOperator(dataItem.value) }}\n </ng-template>\n </kendo-dropdownlist>\n ',isInline:!0,components:[{type:p.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:C,selector:"[kendoAriaLabelValue]",inputs:["kendoAriaLabelValue"]},{type:p.ValueTemplateDirective,selector:"[kendoDropDownListValueTemplate],[kendoDropDownTreeValueTemplate]"},{type:p.ItemTemplateDirective,selector:"[kendoDropDownListItemTemplate],[kendoComboBoxItemTemplate],[kendoAutoCompleteItemTemplate],[kendoMultiSelectItemTemplate]"}]}),l.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:F,decorators:[{type:a.Component,args:[{selector:"kendo-filter-expression-operators",template:'\n <kendo-dropdownlist\n [tabindex]="-1"\n [kendoAriaLabelValue]="messageFor(\'filterOperatorAriaLabel\')"\n [data]="operators"\n [title]="messageFor(\'filterExpressionOperators\')"\n [(value)]="currentItem.operator"\n (valueChange)="operatorValueChange($event)"\n [valuePrimitive]="true"\n textField="text"\n valueField="value"\n >\n <ng-template kendoDropDownListValueTemplate let-dataItem>\n {{ getOperator(dataItem.value) }}\n </ng-template>\n <ng-template kendoDropDownListItemTemplate let-dataItem>\n {{ getOperator(dataItem.value) }}\n </ng-template>\n </kendo-dropdownlist>\n '}]}],ctorParameters:function(){return[{type:s.LocalizationService}]},propDecorators:{currentItem:[{type:a.Input}],editorType:[{type:a.Input}],valueChange:[{type:a.Output}],operators:[{type:a.Input}]}});de.prototype.messageFor=function(e){return this.localization.get(e)},de.prototype.onValueChange=function(e){this.currentItem.value=e,this.valueChange.emit()};var O=de;function de(e){this.localization=e,this.valueChange=new a.EventEmitter}O.ɵfac=l.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:O,deps:[{token:s.LocalizationService}],target:l.ɵɵFactoryTarget.Component}),O.ɵcmp=l.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:O,selector:"kendo-filter-text-editor",inputs:{currentItem:"currentItem",isDisabled:"isDisabled"},outputs:{valueChange:"valueChange"},ngImport:l,template:'\n <kendo-textbox\n [tabindex]="-1"\n [kendoAriaLabelValue]="messageFor(\'filterValueAriaLabel\')"\n [value]="currentItem.value"\n (valueChange)="onValueChange($event)"\n [disabled]="isDisabled">\n </kendo-textbox>\n ',isInline:!0,components:[{type:u.TextBoxComponent,selector:"kendo-textbox",inputs:["focusableId","title","disabled","readonly","tabindex","value","selectOnFocus","showSuccessIcon","showErrorIcon","clearButton","successIcon","errorIcon","clearButtonIcon","size","rounded","fillMode","tabIndex","placeholder","maxlength"],outputs:["valueChange","inputFocus","inputBlur","focus","blur"],exportAs:["kendoTextBox"]}],directives:[{type:C,selector:"[kendoAriaLabelValue]",inputs:["kendoAriaLabelValue"]}]}),l.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:O,decorators:[{type:a.Component,args:[{selector:"kendo-filter-text-editor",template:'\n <kendo-textbox\n [tabindex]="-1"\n [kendoAriaLabelValue]="messageFor(\'filterValueAriaLabel\')"\n [value]="currentItem.value"\n (valueChange)="onValueChange($event)"\n [disabled]="isDisabled">\n </kendo-textbox>\n '}]}],ctorParameters:function(){return[{type:s.LocalizationService}]},propDecorators:{currentItem:[{type:a.Input}],isDisabled:[{type:a.Input}],valueChange:[{type:a.Output}]}});ce.prototype.messageFor=function(e){return this.localization.get(e)},ce.prototype.onValueChange=function(e){this.currentItem.value=e,this.valueChange.emit()};var T=ce;function ce(e){this.localization=e,this.valueChange=new a.EventEmitter}T.ɵfac=l.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:T,deps:[{token:s.LocalizationService}],target:l.ɵɵFactoryTarget.Component}),T.ɵcmp=l.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:T,selector:"kendo-filter-numeric-editor",inputs:{currentItem:"currentItem",isDisabled:"isDisabled",format:"format"},outputs:{valueChange:"valueChange"},ngImport:l,template:'\n <kendo-numerictextbox\n [tabindex]="-1"\n [kendoAriaLabelValue]="messageFor(\'filterValueAriaLabel\')"\n [value]="currentItem.value"\n (valueChange)="onValueChange($event)"\n [disabled]="isDisabled"\n [format]="format">\n <kendo-numerictextbox-messages\n [increment]="messageFor(\'editorNumericIncrement\')"\n [decrement]="messageFor(\'editorNumericDecrement\')">\n </kendo-numerictextbox-messages>\n </kendo-numerictextbox>\n ',isInline:!0,components:[{type:u.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:u.NumericTextBoxCustomMessagesComponent,selector:"kendo-numerictextbox-messages"}],directives:[{type:C,selector:"[kendoAriaLabelValue]",inputs:["kendoAriaLabelValue"]}]}),l.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:T,decorators:[{type:a.Component,args:[{selector:"kendo-filter-numeric-editor",template:'\n <kendo-numerictextbox\n [tabindex]="-1"\n [kendoAriaLabelValue]="messageFor(\'filterValueAriaLabel\')"\n [value]="currentItem.value"\n (valueChange)="onValueChange($event)"\n [disabled]="isDisabled"\n [format]="format">\n <kendo-numerictextbox-messages\n [increment]="messageFor(\'editorNumericIncrement\')"\n [decrement]="messageFor(\'editorNumericDecrement\')">\n </kendo-numerictextbox-messages>\n </kendo-numerictextbox>\n '}]}],ctorParameters:function(){return[{type:s.LocalizationService}]},propDecorators:{currentItem:[{type:a.Input}],isDisabled:[{type:a.Input}],format:[{type:a.Input}],valueChange:[{type:a.Output}]}});D.prototype.ngOnInit=function(){var e=this;this.localizationSubscription=this.localization.changes.subscribe(function(){e.defaultItem=e.getDefaultItem(),e.items=e.getValueItems(),e.cdr.detectChanges()})},D.prototype.getDefaultItem=function(){return{text:this.localization.get("filterBooleanAll"),value:null}},D.prototype.getValueItems=function(){return[{text:this.localization.get("filterIsTrue"),value:!0},{text:this.localization.get("filterIsFalse"),value:!1}]},D.prototype.ngOnDestroy=function(){this.localizationSubscription&&this.localizationSubscription.unsubscribe()},D.prototype.messageFor=function(e){return this.localization.get(e)},D.prototype.onValueChange=function(e){this.currentItem.value=e,this.valueChange.emit()};u=D;function D(e,t){this.localization=e,this.cdr=t,this.valueChange=new a.EventEmitter,this.items=this.getValueItems(),this.defaultItem=this.getDefaultItem()}u.ɵfac=l.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:u,deps:[{token:s.LocalizationService},{token:l.ChangeDetectorRef}],target:l.ɵɵFactoryTarget.Component}),u.ɵcmp=l.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:u,selector:"kendo-filter-boolean-editor",inputs:{currentItem:"currentItem"},outputs:{valueChange:"valueChange"},ngImport:l,template:'\n <kendo-dropdownlist\n [tabindex]="-1"\n [kendoAriaLabelValue]="messageFor(\'filterValueAriaLabel\')"\n [value]="currentItem.value"\n (valueChange)="onValueChange($event)"\n [data]="items"\n [defaultItem]="defaultItem"\n [valuePrimitive]="true"\n textField="text"\n valueField="value"\n >\n </kendo-dropdownlist>\n ',isInline:!0,components:[{type:p.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:C,selector:"[kendoAriaLabelValue]",inputs:["kendoAriaLabelValue"]}]}),l.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:u,decorators:[{type:a.Component,args:[{selector:"kendo-filter-boolean-editor",template:'\n <kendo-dropdownlist\n [tabindex]="-1"\n [kendoAriaLabelValue]="messageFor(\'filterValueAriaLabel\')"\n [value]="currentItem.value"\n (valueChange)="onValueChange($event)"\n [data]="items"\n [defaultItem]="defaultItem"\n [valuePrimitive]="true"\n textField="text"\n valueField="value"\n >\n </kendo-dropdownlist>\n '}]}],ctorParameters:function(){return[{type:s.LocalizationService},{type:l.ChangeDetectorRef}]},propDecorators:{currentItem:[{type:a.Input}],valueChange:[{type:a.Output}]}});fe.prototype.messageFor=function(e){return this.localization.get(e)},fe.prototype.onValueChange=function(e){this.currentItem.value=e,this.valueChange.emit()};var E=fe;function fe(e){this.localization=e,this.valueChange=new a.EventEmitter}E.ɵfac=l.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:E,deps:[{token:s.LocalizationService}],target:l.ɵɵFactoryTarget.Component}),E.ɵcmp=l.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:E,selector:"kendo-filter-date-editor",inputs:{currentItem:"currentItem",isDisabled:"isDisabled",format:"format"},outputs:{valueChange:"valueChange"},ngImport:l,template:'\n <kendo-datepicker\n [tabindex]="-1"\n [kendoAriaLabelValue]="messageFor(\'filterValueAriaLabel\')"\n [value]="currentItem.value"\n (valueChange)="onValueChange($event)"\n [disabled]="isDisabled"\n [format]="format">\n <kendo-datepicker-messages\n [toggle]="messageFor(\'editorDateToggleText\')"\n [today]="messageFor(\'editorDateTodayText\')">\n </kendo-datepicker-messages>\n </kendo-datepicker>\n ',isInline:!0,components:[{type:d.DatePickerComponent,selector:"kendo-datepicker",inputs:["cellTemplate","monthCellTemplate","yearCellTemplate","decadeCellTemplate","centuryCellTemplate","weekNumberTemplate","headerTitleTemplate","navigationItemTemplate","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:d.DatePickerCustomMessagesComponent,selector:"kendo-datepicker-messages"}],directives:[{type:C,selector:"[kendoAriaLabelValue]",inputs:["kendoAriaLabelValue"]}]}),l.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:E,decorators:[{type:a.Component,args:[{selector:"kendo-filter-date-editor",template:'\n <kendo-datepicker\n [tabindex]="-1"\n [kendoAriaLabelValue]="messageFor(\'filterValueAriaLabel\')"\n [value]="currentItem.value"\n (valueChange)="onValueChange($event)"\n [disabled]="isDisabled"\n [format]="format">\n <kendo-datepicker-messages\n [toggle]="messageFor(\'editorDateToggleText\')"\n [today]="messageFor(\'editorDateTodayText\')">\n </kendo-datepicker-messages>\n </kendo-datepicker>\n '}]}],ctorParameters:function(){return[{type:s.LocalizationService}]},propDecorators:{currentItem:[{type:a.Input}],isDisabled:[{type:a.Input}],format:[{type:a.Input}],valueChange:[{type:a.Output}]}});ae(L,me=k),Object.defineProperty(L.prototype,"currentFilterExpression",{get:function(){return this.getFilterExpressionByField(this.currentItem.field)},enumerable:!1,configurable:!0}),Object.defineProperty(L.prototype,"numericEditorFormat",{get:function(){var e="string"!=typeof this.editorFormat&&!this.isNumberFormat(this.editorFormat);return this.editorFormat&&e&&console.warn(ne(this.currentFilterExpression.title)),this.editorFormat},enumerable:!1,configurable:!0}),Object.defineProperty(L.prototype,"dateEditorFormat",{get:function(){var e="string"!=typeof this.editorFormat&&!this.isDateFormat(this.editorFormat);return this.editorFormat&&e&&console.warn(oe(this.currentFilterExpression.title)),this.editorFormat},enumerable:!1,configurable:!0}),L.prototype.isNumberFormat=function(e){return!!(a.isDevMode()&&e&&(e.currency||e.currencyDisplay||e.maximumFractionDigits||e.minimumIntegerDigits||e.style||e.useGrouping))},L.prototype.isDateFormat=function(e){return!!(a.isDevMode()&&e&&e.displayFormat&&e.inputFormat)},L.prototype.ngOnInit=function(){var e=this,t=(this.isEditorDisabled=0<=$.indexOf(this.currentItem.operator),this.filters=this.filterService.filters,this.getFilterExpressionByField(this.currentItem.field)),r=(this.currentItem.field&&this.setOperators(t),null!=t&&t.editorFormat&&(this.editorFormat=t.editorFormat),this.getFilterExpressionByField(this.filterService.filters[0].field));this.currentItem.field||(this.currentItem.field=this.filterService.filters[0].field,this.setOperators(r)),this.setEditorTemplate(),this.localizationSubscription=this.localization.changes.subscribe(function(){e.setOperators(t||r),e.cdr.detectChanges()})},L.prototype.ngOnDestroy=function(){this.localizationSubscription&&this.localizationSubscription.unsubscribe()},L.prototype.normalizeOperators=function(e,t){for(var r=[],n=0;n<t.length;n++)0<=["string","number","boolean","date"].indexOf(e)&&r.push({value:t[n],text:this.localization.get(j(U[e],t[n]))});return r},L.prototype.getFilterExpressionByField=function(t){var e=this.filterService.filters.find(function(e){return e.field===t});return e||null},L.prototype.filterValueChange=function(e){this.navigationService.currentToolbarItemIndex=this.itemNumber,this.navigationService.currentToolbarItemChildrenIndex=0,this.currentItem.value=null,this.currentItem.field=e,this.setEditorTemplate();e=this.getFilterExpressionByField(this.currentItem.field);this.setOperators(e),this.editorFormat=e.editorFormat,this.valueChange.emit()},L.prototype.getDefaultOperators=function(e){switch(e){case"string":return K(_)(this.localization);case"number":return K(W)(this.localization);case"date":return K(H)(this.localization)}},L.prototype.getEditorType=function(){var t=this;return this.filterService.filters.find(function(e){return e.field===t.currentItem.field}).editor},L.prototype.removeFilterExpression=function(){this.filterService.remove(this.currentItem,this.index),this.valueChange.emit(!0)},L.prototype.setOperators=function(e){var t,r=this;this.isBoolean="boolean"===e.editor,this.isBoolean||(e.operators?(t=this.normalizeOperators(e.editor,e.operators),this.operators=t):this.operators=this.getDefaultOperators(e.editor),this.currentItem.operator||(this.currentItem.operator=this.operators[0].value),t=!this.operators.find(function(e){return e.value===r.currentItem.operator}),this.currentItem.operator&&t&&(this.currentItem.operator=this.operators[0].value))},L.prototype.onOperatorChange=function(e){this.navigationService.currentToolbarItemIndex=this.itemNumber,this.navigationService.currentToolbarItemChildrenIndex=1,this.valueChange.emit(),$.includes(e)?(this.currentItem.value=null,this.isEditorDisabled=!0):this.isEditorDisabled=!1},L.prototype.setEditorTemplate=function(){var t=this,e=this.filterService.filters.find(function(e){return e.field===t.currentItem.field});this.editorTemplate=e.editorTemplate||null};var me,A=L;function L(e,t,r,n,o,i){r=me.call(this,r,n,o,i)||this;return r.filterService=e,r.cdr=t,r.operators=[],r.filters=[],r.isBoolean=!1,r.isEditorDisabled=!1,r}A.ɵfac=l.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:A,deps:[{token:m},{token:l.ChangeDetectorRef},{token:l.ElementRef},{token:b},{token:s.LocalizationService},{token:l.Renderer2}],target:l.ɵɵFactoryTarget.Component}),A.ɵcmp=l.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:A,selector:"kendo-filter-expression",inputs:{currentItem:"currentItem"},providers:[{provide:g,useExisting:a.forwardRef(function(){return A})}],usesInheritance:!0,ngImport:l,template:'\n <div class="k-filter-toolbar">\n <div class="k-toolbar" role="toolbar" [attr.aria-label]="messageFor(\'filterToolbarAriaLabel\')" (focus)="onFocus()" (focusout)="onBlur()" (mousedown)="onMouseDown($event)">\n <div class="k-filter-toolbar-item k-filter-field k-toolbar-item" >\n <kendo-dropdownlist\n [tabindex]="-1"\n [kendoAriaLabelValue]="messageFor(\'filterFieldAriaLabel\')"\n [title]="messageFor(\'filterExpressionFilters\')"\n [data]="filters"\n textField="title"\n valueField="field"\n [value]="currentItem.field"\n [valuePrimitive]="true"\n (valueChange)="filterValueChange($event)">\n </kendo-dropdownlist>\n </div>\n <div *ngIf="!isBoolean" class="k-filter-toolbar-item k-filter-operator k-toolbar-item" >\n <kendo-filter-expression-operators\n [currentItem]="currentItem"\n [operators]="operators"\n [editorType]="getEditorType()"\n (valueChange)="onOperatorChange($event);">\n </kendo-filter-expression-operators>\n </div>\n\n <div class="k-filter-toolbar-item k-filter-value k-toolbar-item">\n <ng-container *ngIf="!editorTemplate" [ngSwitch]="getEditorType()">\n <kendo-filter-text-editor *ngSwitchCase="\'string\'" [currentItem]="currentItem" [isDisabled]="isEditorDisabled" (valueChange)="valueChange.emit()"></kendo-filter-text-editor>\n <kendo-filter-numeric-editor *ngSwitchCase="\'number\'" [currentItem]="currentItem" [isDisabled]="isEditorDisabled" [format]="numericEditorFormat" (valueChange)="valueChange.emit()"></kendo-filter-numeric-editor>\n <kendo-filter-boolean-editor *ngSwitchCase="\'boolean\'" [currentItem]="currentItem" (valueChange)="valueChange.emit()"></kendo-filter-boolean-editor>\n <kendo-filter-date-editor *ngSwitchCase="\'date\'" [currentItem]="currentItem" [isDisabled]="isEditorDisabled" [format]="dateEditorFormat" (valueChange)="valueChange.emit()"></kendo-filter-date-editor>\n </ng-container>\n <ng-container *ngIf="editorTemplate">\n <ng-template\n [templateContext]="{templateRef: editorTemplate, $implicit: currentItem}">\n </ng-template>\n </ng-container>\n </div>\n\n <div class="k-filter-toolbar-item k-toolbar-item" >\n <button\n kendoButton\n tabindex="-1"\n icon="x"\n fillMode="flat"\n [title]="messageFor(\'remove\')"\n (click)="removeFilterExpression()">\n </button>\n </div>\n </div>\n </div>\n ',isInline:!0,components:[{type:p.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:F,selector:"kendo-filter-expression-operators",inputs:["currentItem","editorType","operators"],outputs:["valueChange"]},{type:O,selector:"kendo-filter-text-editor",inputs:["currentItem","isDisabled"],outputs:["valueChange"]},{type:T,selector:"kendo-filter-numeric-editor",inputs:["currentItem","isDisabled","format"],outputs:["valueChange"]},{type:u,selector:"kendo-filter-boolean-editor",inputs:["currentItem"],outputs:["valueChange"]},{type:E,selector:"kendo-filter-date-editor",inputs:["currentItem","isDisabled","format"],outputs:["valueChange"]}],directives:[{type:C,selector:"[kendoAriaLabelValue]",inputs:["kendoAriaLabelValue"]},{type:c.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{type:c.NgSwitch,selector:"[ngSwitch]",inputs:["ngSwitch"]},{type:c.NgSwitchCase,selector:"[ngSwitchCase]",inputs:["ngSwitchCase"]},{type:f.TemplateContextDirective,selector:"[templateContext]",inputs:["templateContext"]},{type:f.ButtonDirective,selector:"button[kendoButton], span[kendoButton]",inputs:["toggleable","togglable","selected","tabIndex","icon","iconClass","imageUrl","disabled","size","rounded","fillMode","themeColor","role","primary","look"],outputs:["selectedChange","click"],exportAs:["kendoButton"]}]}),l.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:A,decorators:[{type:a.Component,args:[{providers:[{provide:g,useExisting:a.forwardRef(function(){return A})}],selector:"kendo-filter-expression",template:'\n <div class="k-filter-toolbar">\n <div class="k-toolbar" role="toolbar" [attr.aria-label]="messageFor(\'filterToolbarAriaLabel\')" (focus)="onFocus()" (focusout)="onBlur()" (mousedown)="onMouseDown($event)">\n <div class="k-filter-toolbar-item k-filter-field k-toolbar-item" >\n <kendo-dropdownlist\n [tabindex]="-1"\n [kendoAriaLabelValue]="messageFor(\'filterFieldAriaLabel\')"\n [title]="messageFor(\'filterExpressionFilters\')"\n [data]="filters"\n textField="title"\n valueField="field"\n [value]="currentItem.field"\n [valuePrimitive]="true"\n (valueChange)="filterValueChange($event)">\n </kendo-dropdownlist>\n </div>\n <div *ngIf="!isBoolean" class="k-filter-toolbar-item k-filter-operator k-toolbar-item" >\n <kendo-filter-expression-operators\n [currentItem]="currentItem"\n [operators]="operators"\n [editorType]="getEditorType()"\n (valueChange)="onOperatorChange($event);">\n </kendo-filter-expression-operators>\n </div>\n\n <div class="k-filter-toolbar-item k-filter-value k-toolbar-item">\n <ng-container *ngIf="!editorTemplate" [ngSwitch]="getEditorType()">\n <kendo-filter-text-editor *ngSwitchCase="\'string\'" [currentItem]="currentItem" [isDisabled]="isEditorDisabled" (valueChange)="valueChange.emit()"></kendo-filter-text-editor>\n <kendo-filter-numeric-editor *ngSwitchCase="\'number\'" [currentItem]="currentItem" [isDisabled]="isEditorDisabled" [format]="numericEditorFormat" (valueChange)="valueChange.emit()"></kendo-filter-numeric-editor>\n <kendo-filter-boolean-editor *ngSwitchCase="\'boolean\'" [currentItem]="currentItem" (valueChange)="valueChange.emit()"></kendo-filter-boolean-editor>\n <kendo-filter-date-editor *ngSwitchCase="\'date\'" [currentItem]="currentItem" [isDisabled]="isEditorDisabled" [format]="dateEditorFormat" (valueChange)="valueChange.emit()"></kendo-filter-date-editor>\n </ng-container>\n <ng-container *ngIf="editorTemplate">\n <ng-template\n [templateContext]="{templateRef: editorTemplate, $implicit: currentItem}">\n </ng-template>\n </ng-container>\n </div>\n\n <div class="k-filter-toolbar-item k-toolbar-item" >\n <button\n kendoButton\n tabindex="-1"\n icon="x"\n fillMode="flat"\n [title]="messageFor(\'remove\')"\n (click)="removeFilterExpression()">\n </button>\n </div>\n </div>\n </div>\n '}]}],ctorParameters:function(){return[{type:m},{type:l.ChangeDetectorRef},{type:l.ElementRef},{type:b},{type:s.LocalizationService},{type:l.Renderer2}]},propDecorators:{currentItem:[{type:a.Input}]}});ae(w,ge=k),Object.defineProperty(w.prototype,"filterItems",{get:function(){return this._filterItems.toArray()},enumerable:!1,configurable:!0}),w.prototype.ngOnInit=function(){var e=this;this.operators=this.getLogicOperators(),this.localizationSubscription=this.localization.changes.subscribe(function(){e.operators=e.getLogicOperators(),e.cdr.detectChanges()})},w.prototype.ngOnDestroy=function(){this.localizationSubscription&&this.localizationSubscription.unsubscribe()},w.prototype.getLogicOperators=function(){return K(J)(this.localization)},w.prototype.getOperator=function(e){return this.messageFor(j(J,e))},w.prototype.selectedChange=function(e){this.currentItem.logic!==e&&(this.currentItem.logic=e,this.valueChange.emit())},w.prototype.addFilterExpression=function(){this.filterService.addFilterExpression(this.currentItem),this.valueChange.emit()},w.prototype.addFilterGroup=function(){this.filterService.addFilterGroup(this.currentItem),this.valueChange.emit()},w.prototype.removeFilterGroup=function(){this.filterService.remove(this.currentItem,this.index),this.cdr.detectChanges(),this.valueChange.emit(!0)},w.prototype.onMouseDown=function(e){var t,e=e.target.closest(h.kendoFilterToolbarItem)?(t=Array.from(e.target.closest(h.kendoToolbar).children).indexOf(e.target.closest(h.kendoFilterToolbarItem))+1,e.target.closest(h.andButton)&&(t=0),e.target.closest(h.orButton)&&(t=1),this.navigationService.currentToolbarItemChildrenIndex=t,this.navigationService.isInnerNavigationActivated=!0,this.navigationService.flattenFilterItems[this.itemNumber].focusableChildren[t]):(this.navigationService.currentToolbarItemChildrenIndex=0,this.navigationService.isInnerNavigationActivated=!1,this.navigationService.flattenFilterItems[this.itemNumber].toolbarElement);this.navigationService.isFilterExpressionComponentFocused=!1,this.navigationService.currentToolbarItemIndex=this.itemNumber,this.navigationService.focusCurrentElement(e,!0)};var ge,S=w;function w(e,t,r,n,o,i){r=ge.call(this,r,n,o,i)||this;return r.filterService=e,r.cdr=t,r.currentItem={logic:"or",filters:[]},r.operators=[],r}S.ɵfac=l.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:S,deps:[{token:m},{token:l.ChangeDetectorRef},{token:l.ElementRef},{token:b},{token:s.LocalizationService},{token:l.Renderer2}],target:l.ɵɵFactoryTarget.Component}),S.ɵcmp=l.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:S,selector:"kendo-filter-group",inputs:{currentItem:"currentItem"},providers:[{provide:g,useExisting:a.forwardRef(function(){return S})}],viewQueries:[{propertyName:"_filterItems",predicate:g,descendants:!0}],usesInheritance:!0,ngImport:l,template:'\n <div class="k-filter-toolbar">\n <div class="k-toolbar" role="toolbar" [attr.aria-label]="messageFor(\'filterToolbarAriaLabel\')" (focus)="onFocus()" (focusout)="onBlur()" (mousedown)="onMouseDown($event)">\n <div class="k-filter-toolbar-item">\n <div class="k-widget k-button-group" role="group">\n <button\n tabindex="-1"\n *ngFor="let operator of operators"\n kendoButton\n [ngClass]="{\'k-group-start\': operator.value === \'and\', \'k-group-end\': operator.value === \'or\'}"\n [selected]="currentItem.logic === operator.value"\n [attr.aria-pressed]="currentItem.logic === operator.value"\n [title]="operator.text"\n (click)="selectedChange(operator.value)"\n >\n {{getOperator(operator.value)}}\n </button>\n </div>\n </div>\n <div class="k-filter-toolbar-item">\n <button\n kendoButton\n tabindex="-1"\n [title]="messageFor(\'addFilter\')"\n icon="filter-add-expression"\n (click)="addFilterExpression()">\n {{messageFor(\'addFilter\')}}\n </button>\n </div>\n <div class="k-filter-toolbar-item">\n <button\n kendoButton\n tabindex="-1"\n [title]="messageFor(\'addGroup\')"\n icon="filter-add-group"\n (click)="addFilterGroup()">\n {{messageFor(\'addGroup\')}}\n </button>\n </div>\n <div class="k-filter-toolbar-item">\n <button\n kendoButton\n tabindex="-1"\n icon="x"\n fillMode="flat"\n [title]="messageFor(\'remove\')"\n (click)="removeFilterGroup()">\n </button>\n </div>\n </div>\n </div>\n\n <ul class="k-filter-lines" role="group" *ngIf="currentItem.filters">\n <ng-container *ngFor="let item of currentItem.filters; let i = index;">\n <li class="k-filter-item" role="treeitem" *ngIf="!item[\'filters\']">\n <kendo-filter-expression (valueChange)="valueChange.emit($event)" [currentItem]="item" [index]="i">\n </kendo-filter-expression>\n </li>\n <li class="k-filter-item" role="treeitem" *ngIf="item[\'filters\']">\n <kendo-filter-group\n (valueChange)="valueChange.emit($event)"\n [currentItem]="item"\n [index]="i"\n >\n </kendo-filter-group>\n </li>\n </ng-container>\n </ul>\n ',isInline:!0,components:[{type:A,selector:"kendo-filter-expression",inputs:["currentItem"]},{type:S,selector:"kendo-filter-group",inputs:["currentItem"]}],directives:[{type:c.NgForOf,selector:"[ngFor][ngForOf]",inputs:["ngForOf","ngForTrackBy","ngForTemplate"]},{type:f.ButtonDirective,selector:"button[kendoButton], span[kendoButton]",inputs:["toggleable","togglable","selected","tabIndex","icon","iconClass","imageUrl","disabled","size","rounded","fillMode","themeColor","role","primary","look"],outputs:["selectedChange","click"],exportAs:["kendoButton"]},{type:c.NgClass,selector:"[ngClass]",inputs:["class","ngClass"]},{type:c.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]}]}),l.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:S,decorators:[{type:a.Component,args:[{providers:[{provide:g,useExisting:a.forwardRef(function(){return S})}],selector:"kendo-filter-group",template:'\n <div class="k-filter-toolbar">\n <div class="k-toolbar" role="toolbar" [attr.aria-label]="messageFor(\'filterToolbarAriaLabel\')" (focus)="onFocus()" (focusout)="onBlur()" (mousedown)="onMouseDown($event)">\n <div class="k-filter-toolbar-item">\n <div class="k-widget k-button-group" role="group">\n <button\n tabindex="-1"\n *ngFor="let operator of operators"\n kendoButton\n [ngClass]="{\'k-group-start\': operator.value === \'and\', \'k-group-end\': operator.value === \'or\'}"\n [selected]="currentItem.logic === operator.value"\n [attr.aria-pressed]="currentItem.logic === operator.value"\n [title]="operator.text"\n (click)="selectedChange(operator.value)"\n >\n {{getOperator(operator.value)}}\n </button>\n </div>\n </div>\n <div class="k-filter-toolbar-item">\n <button\n kendoButton\n tabindex="-1"\n [title]="messageFor(\'addFilter\')"\n icon="filter-add-expression"\n (click)="addFilterExpression()">\n {{messageFor(\'addFilter\')}}\n </button>\n </div>\n <div class="k-filter-toolbar-item">\n <button\n kendoButton\n tabindex="-1"\n [title]="messageFor(\'addGroup\')"\n icon="filter-add-group"\n (click)="addFilterGroup()">\n {{messageFor(\'addGroup\')}}\n </button>\n </div>\n <div class="k-filter-toolbar-item">\n <button\n kendoButton\n tabindex="-1"\n icon="x"\n fillMode="flat"\n [title]="messageFor(\'remove\')"\n (click)="removeFilterGroup()">\n </button>\n </div>\n </div>\n </div>\n\n <ul class="k-filter-lines" role="group" *ngIf="currentItem.filters">\n <ng-container *ngFor="let item of currentItem.filters; let i = index;">\n <li class="k-filter-item" role="treeitem" *ngIf="!item[\'filters\']">\n <kendo-filter-expression (valueChange)="valueChange.emit($event)" [currentItem]="item" [index]="i">\n </kendo-filter-expression>\n </li>\n <li class="k-filter-item" role="treeitem" *ngIf="item[\'filters\']">\n <kendo-filter-group\n (valueChange)="valueChange.emit($event)"\n [currentItem]="item"\n [index]="i"\n >\n </kendo-filter-group>\n </li>\n </ng-container>\n </ul>\n '}]}],ctorParameters:function(){return[{type:m},{type:l.ChangeDetectorRef},{type:l.ElementRef},{type:b},{type:s.LocalizationService},{type:l.Renderer2}]},propDecorators:{_filterItems:[{type:a.ViewChildren,args:[g]}],currentItem:[{type:a.Input}]}});ae(ve,he=t.ComponentMessages);var he,d=ve;function ve(){return null!==he&&he.apply(this,arguments)||this}d.ɵfac=l.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:d,deps:null,target:l.ɵɵFactoryTarget.Directive}),d.ɵdir=l.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:d,selector:"[kendoFilterMessages]",inputs:{filterExpressionOperators:"filterExpressionOperators",filterExpressionFilters:"filterExpressionFilters",remove:"remove",addGroup:"addGroup",addFilter:"addFilter",filterAndLogic:"filterAndLogic",filterOrLogic:"filterOrLogic",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",editorNumericDecrement:"editorNumericDecrement",editorNumericIncrement:"editorNumericIncrement",editorDateTodayText:"editorDateTodayText",editorDateToggleText:"editorDateToggleText",filterFieldAriaLabel:"filterFieldAriaLabel",filterOperatorAriaLabel:"filterOperatorAriaLabel",filterValueAriaLabel:"filterValueAriaLabel",filterToolbarAriaLabel:"filterToolbarAriaLabel",filterComponentAriaLabel:"filterComponentAriaLabel"},usesInheritance:!0,ngImport:l}),l.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:d,decorators:[{type:a.Directive,args:[{selector:"[kendoFilterMessages]"}]}],propDecorators:{filterExpressionOperators:[{type:a.Input}],filterExpressionFilters:[{type:a.Input}],remove:[{type:a.Input}],addGroup:[{type:a.Input}],addFilter:[{type:a.Input}],filterAndLogic:[{type:a.Input}],filterOrLogic:[{type:a.Input}],filterEqOperator:[{type:a.Input}],filterNotEqOperator:[{type:a.Input}],filterIsNullOperator:[{type:a.Input}],filterIsNotNullOperator:[{type:a.Input}],filterIsEmptyOperator:[{type:a.Input}],filterIsNotEmptyOperator:[{type:a.Input}],filterStartsWithOperator:[{type:a.Input}],filterContainsOperator:[{type:a.Input}],filterNotContainsOperator:[{type:a.Input}],filterEndsWithOperator:[{type:a.Input}],filterGteOperator:[{type:a.Input}],filterGtOperator:[{type:a.Input}],filterLteOperator:[{type:a.Input}],filterLtOperator:[{type:a.Input}],filterIsTrue:[{type:a.Input}],filterIsFalse:[{type:a.Input}],filterBooleanAll:[{type:a.Input}],filterAfterOrEqualOperator:[{type:a.Input}],filterAfterOperator:[{type:a.Input}],filterBeforeOperator:[{type:a.Input}],filterBeforeOrEqualOperator:[{type:a.Input}],editorNumericDecrement:[{type:a.Input}],editorNumericIncrement:[{type:a.Input}],editorDateTodayText:[{type:a.Input}],editorDateToggleText:[{type:a.Input}],filterFieldAriaLabel:[{type:a.Input}],filterOperatorAriaLabel:[{type:a.Input}],filterValueAriaLabel:[{type:a.Input}],filterToolbarAriaLabel:[{type:a.Input}],filterComponentAriaLabel:[{type:a.Input}]}});ae(be,Ie=d);var Ie,V=be;function be(e){var t=Ie.call(this)||this;return t.service=e,t}V.ɵfac=l.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:V,deps:[{token:s.LocalizationService}],target:l.ɵɵFactoryTarget.Directive}),V.ɵdir=l.ɵɵngDeclareDirective({minVersion:"12.0.0",version:"12.2.16",type:V,selector:"[kendoFilterLocalizedMessages]",providers:[{provide:d,useExisting:a.forwardRef(function(){return V})}],usesInheritance:!0,ngImport:l}),l.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:V,decorators:[{type:a.Directive,args:[{providers:[{provide:d,useExisting:a.forwardRef(function(){return V})}],selector:"[kendoFilterLocalizedMessages]"}]}],ctorParameters:function(){return[{type:s.LocalizationService}]}});N.prototype.focusout=function(){var e=this;setTimeout(function(){document.activeElement.closest(".k-filter")||(e.renderer.setAttribute(e.navigationService.currentlyFocusedElement,"tabindex","-1"),e.navigationService.currentlyFocusedElement=e.navigationService.flattenFilterItems[e.navigationService.currentToolbarItemIndex].toolbarElement,e.renderer.setAttribute(e.navigationService.currentlyFocusedElement,"tabindex","0"),e.navigationService.isInnerNavigationActivated=!1,e.navigationService.isFilterExpressionComponentFocused=!1)})},N.prototype.onKeydown=function(e){var t=e.keyCode;-1<[i.Keys.ArrowUp,i.Keys.ArrowDown,i.Keys.ArrowLeft,i.Keys.ArrowRight,i.Keys.Enter,i.Keys.Escape,i.Keys.Tab].indexOf(t)&&this.navigationService.processKeyDown(t,e)},Object.defineProperty(N.prototype,"filters",{get:function(){return this.filterService.filters},set:function(e){0<e.length&&(this.filterService.filters=e.map(function(e){e=Object.assign({},e);return e.title||(e.title=e.field),e}),this.setValue(this.value))},enumerable:!1,configurable:!0}),Object.defineProperty(N.prototype,"value",{get:function(){return this._value},set:function(e){e=JSON.parse(JSON.stringify(e));this._value=e,0<this.filters.length&&this.setValue(this.value)},enumerable:!1,configurable:!0}),Object.defineProperty(N.prototype,"filterItems",{get:function(){return this._filterItems.toArray()},enumerable:!1,configurable:!0}),Object.defineProperty(N.prototype,"toolbarElement",{get:function(){return this.element.nativeElement.querySelector(".k-toolbar")},enumerable:!1,configurable:!0}),N.prototype.ngOnInit=function(){var t=this;this.localizationSubscription=this.localization.changes.subscribe(function(e){e=e.rtl;t.direction=e?"rtl":"ltr",t.cdr.detectChanges()})},N.prototype.ngAfterViewInit=function(){if(this.filterFields&&0<this.filterFields.length&&(this.filters=this.filterFields.map(function(e){return Object.assign(Object.assign({},e),{title:e.title,editorTemplate:null==(e=e.editorTemplate)?void 0:e.templateRef})})),0===this.filters.length)throw new Error(Y);var e;this.navigationService.reset(this.filterItems),this.navigationService.currentlyFocusedElement||(e=this.navigationService.flattenFilterItems[0].toolbarElement,this.navigationService.currentlyFocusedElement=e,this.renderer.setAttribute(e,"tabindex","0"))},N.prototype.ngOnDestroy=function(){this.localizationSubscription&&this.localizationSubscription.unsubscribe()},N.prototype.getCurrentFilter=function(){return this.filterService.normalizedValue},N.prototype.onValueChange=function(e){this.valueChange.emit(this.filterService.normalizedValue),this.cdr.detectChanges(),this.navigationService.reset(this.filterItems),e&&(this.navigationService.currentToolbarItemIndex===this.navigationService.flattenFilterItems.length&&--this.navigationService.currentToolbarItemIndex,this.navigationService.isInnerNavigationActivated=!1,this.navigationService.isFilterExpressionComponentFocused=!1,this.navigationService.currentlyFocusedElement=this.navigationService.flattenFilterItems[this.navigationService.currentToolbarItemIndex].toolbarElement,this.renderer.setAttribute(this.navigationService.currentlyFocusedElement,"tabindex","0"),this.renderer.addClass(this.navigationService.currentlyFocusedElement,"k-focus"),this.navigationService.currentlyFocusedElement.focus())},N.prototype.normalizeFilter=function(t){var e=this.filterService.filters.find(function(e){return e.field===t.field});if(a.isDevMode()&&!e)throw new Error(Z(t.field));if(a.isDevMode()&&"boolean"===e.editor&&!t.value&&!1!==t.value&&console.warn(ee(t.field)),a.isDevMode()&&"boolean"===e.editor&&"eq"!==t.operator&&console.warn(te(t.field)),t.operator&&e.operators&&!e.operators.some(function(e){return e===t.operator}))throw new Error(re(t.field,t.operator));"boolean"===e.editor&&(t.operator="eq"),"date"===e.editor&&t.value&&(t.value=new Date(t.value)),null==t.value&&(t.value=null),0<=$.indexOf(t.operator)&&(t.value=null)},N.prototype.setValue=function(e){this.normalizeValue(e),this.filterService.normalizedValue=e,this.cdr.detectChanges()},N.prototype.normalizeValue=function(e){var t=this;this.filterService.filters.length&&e.filters.forEach(function(e){e.filters?t.normalizeValue(e):t.normalizeFilter(e)})},N.prototype.messageFor=function(e){return this.localization.get(e)};p=N;function N(e,t,r,n,o,i){this.filterService=e,this.localization=t,this.cdr=r,this.element=n,this.navigationService=o,this.renderer=i,this.valueChange=new a.EventEmitter,this._value={filters:[],logic:"and"},B.validatePackage(Q),this.direction=t.rtl?"rtl":"ltr"}p.ɵfac=l.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:p,deps:[{token:m},{token:s.LocalizationService},{token:l.ChangeDetectorRef},{token:l.ElementRef},{token:b},{token:l.Renderer2}],target:l.ɵɵFactoryTarget.Component}),p.ɵcmp=l.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:p,selector:"kendo-filter",inputs:{filters:"filters",value:"value"},outputs:{valueChange:"valueChange"},host:{listeners:{focusout:"focusout($event)",keydown:"onKeydown($event)"},properties:{"attr.dir":"this.direction"}},providers:[t.LocalizationService,{provide:t.L10N_PREFIX,useValue:"kendo.filter"},m,b],queries:[{propertyName:"filterFields",predicate:I}],viewQueries:[{propertyName:"_filterItems",predicate:g,descendants:!0}],ngImport:l,template:'\n <ng-container kendoFilterLocalizedMessages\n i18n-editorDateTodayText="kendo.filter.editorDateTodayText|The text of the Today button of the Date editor"\n editorDateTodayText="Today"\n\n i18n-editorDateToggleText="kendo.filter.editorDateToggleText|The title of the Toggle button of the Date editor."\n editorDateToggleText="Toggle calendar"\n\n i18n-editorNumericDecrement="kendo.filter.editorNumericDecrement|The title of the Decrement button of the Numeric editor"\n editorNumericDecrement="Decrement"\n\n i18n-editorNumericIncrement="kendo.filter.editorNumericIncrement|The title of the Increment button of the Numeric editor"\n editorNumericIncrement="Increment"\n\n i18n-filterExpressionOperators="kendo.filter.filterExpressionOperators|The text of the Filter Expression Operators drop down"\n filterExpressionOperators="Operators"\n\n i18n-filterExpressionFilters="kendo.filter.filterExpressionFilters|The text of the Filter Expression filters drop down"\n filterExpressionFilters="Fields"\n\n i18n-remove="kendo.filter.remove|The text of the Remove button"\n remove="Remove"\n\n i18n-addFilter="kendo.filter.addFilter|The text of the Add Filter button"\n addFilter="Add Filter"\n\n i18n-addGroup="kendo.filter.addGroup|The text of the Add Group button"\n addGroup="Add Group"\n\n i18n-filterAndLogic="kendo.filter.filterAndLogic|The text of the And filter logic"\n filterAndLogic="And"\n\n i18n-filterOrLogic="kendo.filter.filterOrLogic|The text of the Or filter logic"\n filterOrLogic="Or"\n\n i18n-filterEqOperator="kendo.filter.filterEqOperator|The text of the equal filter operator"\n filterEqOperator="Is equal to"\n\n i18n-filterNotEqOperator="kendo.filter.filterNotEqOperator|The text of the not equal filter operator"\n filterNotEqOperator="Is not equal to"\n\n i18n-filterIsNullOperator="kendo.filter.filterIsNullOperator|The text of the is null filter operator"\n filterIsNullOperator="Is null"\n\n i18n-filterIsNotNullOperator="kendo.filter.filterIsNotNullOperator|The text of the is not null filter operator"\n filterIsNotNullOperator="Is not null"\n\n i18n-filterIsEmptyOperator="kendo.filter.filterIsEmptyOperator|The text of the is empty filter operator"\n filterIsEmptyOperator="Is empty"\n\n i18n-filterIsNotEmptyOperator="kendo.filter.filterIsNotEmptyOperator|The text of the is not empty filter operator"\n filterIsNotEmptyOperator="Is not empty"\n\n i18n-filterStartsWithOperator="kendo.filter.filterStartsWithOperator|The text of the starts with filter operator"\n filterStartsWithOperator="Starts with"\n\n i18n-filterContainsOperator="kendo.filter.filterContainsOperator|The text of the contains filter operator"\n filterContainsOperator="Contains"\n\n i18n-filterNotContainsOperator="kendo.filter.filterNotContainsOperator|The text of the does not contain filter operator"\n filterNotContainsOperator="Does not contain"\n\n i18n-filterEndsWithOperator="kendo.filter.filterEndsWithOperator|The text of the ends with filter operator"\n filterEndsWithOperator="Ends with"\n\n i18n-filterGteOperator="kendo.filter.filterGteOperator|The text of the greater than or equal filter operator"\n filterGteOperator="Is greater than or equal to"\n\n i18n-filterGtOperator="kendo.filter.filterGtOperator|The text of the greater than filter operator"\n filterGtOperator="Is greater than"\n\n i18n-filterLteOperator="kendo.filter.filterLteOperator|The text of the less than or equal filter operator"\n filterLteOperator="Is less than or equal to"\n\n i18n-filterLtOperator="kendo.filter.filterLtOperator|The text of the less than filter operator"\n filterLtOperator="Is less than"\n\n i18n-filterIsTrue="kendo.filter.filterIsTrue|The text of the IsTrue boolean filter option"\n filterIsTrue="Is True"\n\n i18n-filterIsFalse="kendo.filter.filterIsFalse|The text of the IsFalse boolean filter option"\n filterIsFalse="Is False"\n\n i18n-filterBooleanAll="kendo.filter.filterBooleanAll|The text of the (All) boolean filter option"\n filterBooleanAll="(All)"\n\n i18n-filterAfterOrEqualOperator="kendo.filter.filterAfterOrEqualOperator|The text of the after or equal date filter operator"\n filterAfterOrEqualOperator="Is after or equal to"\n\n i18n-filterAfterOperator="kendo.filter.filterAfterOperator|The text of the after date filter operator"\n filterAfterOperator="Is after"\n\n i18n-filterBeforeOperator="kendo.filter.filterBeforeOperator|The text of the before date filter operator"\n filterBeforeOperator="Is before"\n\n i18n-filterBeforeOrEqualOperator="kendo.filter.filterBeforeOrEqualOperator|The text of the before or equal date filter operator"\n filterBeforeOrEqualOperator="Is before or equal to"\n\n i18n-filterFieldAriaLabel="kendo.filter.filterFieldAriaLabel|The text of the filter field aria label"\n filterFieldAriaLabel="field"\n\n i18n-filterOperatorAriaLabel="kendo.filter.filterOperatorAriaLabel|The text of the filter operator aria label"\n filterOperatorAriaLabel="operator"\n\n i18n-filterValueAriaLabel="kendo.filter.filterValueAriaLabel|The text of the filter value aria label"\n filterValueAriaLabel="value"\n\n i18n-filterToolbarAriaLabel="kendo.filter.filterToolbarAriaLabel|The text of the filter row aria label"\n filterToolbarAriaLabel="filter row settings"\n\n i18n-filterComponentAriaLabel="kendo.filter.filterComponentAriaLabel|The text of the filter component aria label"\n filterComponentAriaLabel="filter component"\n >\n </ng-container>\n <div class="k-widget k-filter" [attr.dir]="direction">\n <ul class=\'k-filter-container\' role="tree" [attr.aria-label]="messageFor(\'filterComponentAriaLabel\')">\n <li class=\'k-filter-group-main\' role="treeitem">\n <kendo-filter-group\n [currentItem]="getCurrentFilter()"\n (valueChange)="onValueChange($event)"\n >\n </kendo-filter-group>\n </li>\n </ul>\n </div>\n ',isInline:!0,components:[{type:S,selector:"kendo-filter-group",inputs:["currentItem"]}],directives:[{type:V,selector:"[kendoFilterLocalizedMessages]"}]}),l.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:p,decorators:[{type:a.Component,args:[{providers:[t.LocalizationService,{provide:t.L10N_PREFIX,useValue:"kendo.filter"},m,b],selector:"kendo-filter",template:'\n <ng-container kendoFilterLocalizedMessages\n i18n-editorDateTodayText="kendo.filter.editorDateTodayText|The text of the Today button of the Date editor"\n editorDateTodayText="Today"\n\n i18n-editorDateToggleText="kendo.filter.editorDateToggleText|The title of the Toggle button of the Date editor."\n editorDateToggleText="Toggle calendar"\n\n i18n-editorNumericDecrement="kendo.filter.editorNumericDecrement|The title of the Decrement button of the Numeric editor"\n editorNumericDecrement="Decrement"\n\n i18n-editorNumericIncrement="kendo.filter.editorNumericIncrement|The title of the Increment button of the Numeric editor"\n editorNumericIncrement="Increment"\n\n i18n-filterExpressionOperators="kendo.filter.filterExpressionOperators|The text of the Filter Expression Operators drop down"\n filterExpressionOperators="Operators"\n\n i18n-filterExpressionFilters="kendo.filter.filterExpressionFilters|The text of the Filter Expression filters drop down"\n filterExpressionFilters="Fields"\n\n i18n-remove="kendo.filter.remove|The text of the Remove button"\n remove="Remove"\n\n i18n-addFilter="kendo.filter.addFilter|The text of the Add Filter button"\n addFilter="Add Filter"\n\n i18n-addGroup="kendo.filter.addGroup|The text of the Add Group button"\n addGroup="Add Group"\n\n i18n-filterAndLogic="kendo.filter.filterAndLogic|The text of the And filter logic"\n filterAndLogic="And"\n\n i18n-filterOrLogic="kendo.filter.filterOrLogic|The text of the Or filter logic"\n filterOrLogic="Or"\n\n i18n-filterEqOperator="kendo.filter.filterEqOperator|The text of the equal filter operator"\n filterEqOperator="Is equal to"\n\n i18n-filterNotEqOperator="kendo.filter.filterNotEqOperator|The text of the not equal filter operator"\n filterNotEqOperator="Is not equal to"\n\n i18n-filterIsNullOperator="kendo.filter.filterIsNullOperator|The text of the is null filter operator"\n filterIsNullOperator="Is null"\n\n i18n-filterIsNotNullOperator="kendo.filter.filterIsNotNullOperator|The text of the is not null filter operator"\n filterIsNotNullOperator="Is not null"\n\n i18n-filterIsEmptyOperator="kendo.filter.filterIsEmptyOperator|The text of the is empty filter operator"\n filterIsEmptyOperator="Is empty"\n\n i18n-filterIsNotEmptyOperator="kendo.filter.filterIsNotEmptyOperator|The text of the is not empty filter operator"\n filterIsNotEmptyOperator="Is not empty"\n\n i18n-filterStartsWithOperator="kendo.filter.filterStartsWithOperator|The text of the starts with filter operator"\n filterStartsWithOperator="Starts with"\n\n i18n-filterContainsOperator="kendo.filter.filterContainsOperator|The text of the contains filter operator"\n filterContainsOperator="Contains"\n\n i18n-filterNotContainsOperator="kendo.filter.filterNotContainsOperator|The text of the does not contain filter operator"\n filterNotContainsOperator="Does not contain"\n\n i18n-filterEndsWithOperator="kendo.filter.filterEndsWithOperator|The text of the ends with filter operator"\n filterEndsWithOperator="Ends with"\n\n i18n-filterGteOperator="kendo.filter.filterGteOperator|The text of the greater than or equal filter operator"\n filterGteOperator="Is greater than or equal to"\n\n i18n-filterGtOperator="kendo.filter.filterGtOperator|The text of the greater than filter operator"\n filterGtOperator="Is greater than"\n\n i18n-filterLteOperator="kendo.filter.filterLteOperator|The text of the less than or equal filter operator"\n filterLteOperator="Is less than or equal to"\n\n i18n-filterLtOperator="kendo.filter.filterLtOperator|The text of the less than filter operator"\n filterLtOperator="Is less than"\n\n i18n-filterIsTrue="kendo.filter.filterIsTrue|The text of the IsTrue boolean filter option"\n filterIsTrue="Is True"\n\n i18n-filterIsFalse="kendo.filter.filterIsFalse|The text of the IsFalse boolean filter option"\n filterIsFalse="Is False"\n\n i18n-filterBooleanAll="kendo.filter.filterBooleanAll|The text of the (All) boolean filter option"\n filterBooleanAll="(All)"\n\n i18n-filterAfterOrEqualOperator="kendo.filter.filterAfterOrEqualOperator|The text of the after or equal date filter operator"\n filterAfterOrEqualOperator="Is after or equal to"\n\n i18n-filterAfterOperator="kendo.filter.filterAfterOperator|The text of the after date filter operator"\n filterAfterOperator="Is after"\n\n i18n-filterBeforeOperator="kendo.filter.filterBeforeOperator|The text of the before date filter operator"\n filterBeforeOperator="Is before"\n\n i18n-filterBeforeOrEqualOperator="kendo.filter.filterBeforeOrEqualOperator|The text of the before or equal date filter operator"\n filterBeforeOrEqualOperator="Is before or equal to"\n\n i18n-filterFieldAriaLabel="kendo.filter.filterFieldAriaLabel|The text of the filter field aria label"\n filterFieldAriaLabel="field"\n\n i18n-filterOperatorAriaLabel="kendo.filter.filterOperatorAriaLabel|The text of the filter operator aria label"\n filterOperatorAriaLabel="operator"\n\n i18n-filterValueAriaLabel="kendo.filter.filterValueAriaLabel|The text of the filter value aria label"\n filterValueAriaLabel="value"\n\n i18n-filterToolbarAriaLabel="kendo.filter.filterToolbarAriaLabel|The text of the filter row aria label"\n filterToolbarAriaLabel="filter row settings"\n\n i18n-filterComponentAriaLabel="kendo.filter.filterComponentAriaLabel|The text of the filter component aria label"\n filterComponentAriaLabel="filter component"\n >\n </ng-container>\n <div class="k-widget k-filter" [attr.dir]="direction">\n <ul class=\'k-filter-container\' role="tree" [attr.aria-label]="messageFor(\'filterComponentAriaLabel\')">\n <li class=\'k-filter-group-main\' role="treeitem">\n <kendo-filter-group\n [currentItem]="getCurrentFilter()"\n (valueChange)="onValueChange($event)"\n >\n </kendo-filter-group>\n </li>\n </ul>\n </div>\n '}]}],ctorParameters:function(){return[{type:m},{type:s.LocalizationService},{type:l.ChangeDetectorRef},{type:l.ElementRef},{type:b},{type:l.Renderer2}]},propDecorators:{focusout:[{type:a.HostListener,args:["focusout",["$event"]]}],onKeydown:[{type:a.HostListener,args:["keydown",["$event"]]}],direction:[{type:a.HostBinding,args:["attr.dir"]}],filters:[{type:a.Input}],value:[{type:a.Input}],valueChange:[{type:a.Output}],filterFields:[{type:a.ContentChildren,args:[I]}],_filterItems:[{type:a.ViewChildren,args:[g]}]}});ae(ke,ye=d),Object.defineProperty(ke.prototype,"override",{get:function(){return!0},enumerable:!1,configurable:!0});var ye,q=ke;function ke(e){var t=ye.call(this)||this;return t.service=e,t}q.ɵfac=l.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:q,deps:[{token:s.LocalizationService}],target:l.ɵɵFactoryTarget.Component}),q.ɵcmp=l.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:q,selector:"kendo-filter-messages",providers:[{provide:d,useExisting:a.forwardRef(function(){return q})}],usesInheritance:!0,ngImport:l,template:"",isInline:!0}),l.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:q,decorators:[{type:a.Component,args:[{providers:[{provide:d,useExisting:a.forwardRef(function(){return q})}],selector:"kendo-filter-messages",template:""}]}],ctorParameters:function(){return[{type:s.LocalizationService}]}});k=[z.CommonModule,n.InputsModule,R.LabelModule,r.DropDownsModule,G.ButtonsModule,M.DateInputsModule],f=function(){},f.ɵfac=l.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:f,deps:[],target:l.ɵɵFactoryTarget.NgModule}),f.ɵmod=l.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:f,imports:[z.CommonModule,n.InputsModule,R.LabelModule,r.DropDownsModule,G.ButtonsModule,M.DateInputsModule],exports:[z.CommonModule,n.InputsModule,R.LabelModule,r.DropDownsModule,G.ButtonsModule,M.DateInputsModule]}),f.ɵinj=l.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:f,imports:[se([],le(k)),z.CommonModule,n.InputsModule,R.LabelModule,r.DropDownsModule,G.ButtonsModule,M.DateInputsModule]}),l.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:f,decorators:[{type:a.NgModule,args:[{imports:se([],le(k)),exports:se([],le(k))}]}]}),c=function(){};c.ɵfac=l.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:c,deps:[],target:l.ɵɵFactoryTarget.NgModule}),c.ɵmod=l.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:c,declarations:[p,T,O,A,S,F,u,E,V,q,C,I,v],imports:[f],exports:[p,T,O,A,S,F,u,E,V,q,C,I,v]}),c.ɵinj=l.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:c,imports:[[f]]}),l.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:l,type:c,decorators:[{type:a.NgModule,args:[{imports:[f],declarations:[p,T,O,A,S,F,u,E,V,q,C,I,v],exports:[p,T,O,A,S,F,u,E,V,q,C,I,v]}]}]}),e.AriaLabelValueDirective=C,e.CustomMessagesComponent=q,e.FilterBooleanEditorComponent=u,e.FilterComponent=p,e.FilterDateEditorComponent=E,e.FilterExpressionComponent=A,e.FilterExpressionOperatorsComponent=F,e.FilterFieldComponent=I,e.FilterGroupComponent=S,e.FilterModule=c,e.FilterNumericEditorComponent=T,e.FilterTextEditorComponent=O,e.FilterValueEditorTemplateDirective=v,e.LocalizedMessagesDirective=V,Object.defineProperty(e,"__esModule",{value:!0})});
|
package/esm2015/filter.module.js
CHANGED
|
@@ -19,7 +19,7 @@ import { SharedModule } from './shared.module';
|
|
|
19
19
|
import { FilterValueEditorTemplateDirective } from './templates/value-editor.template';
|
|
20
20
|
import * as i0 from "@angular/core";
|
|
21
21
|
/**
|
|
22
|
-
* Represents the [NgModule](
|
|
22
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
23
23
|
* definition for the Filter component.
|
|
24
24
|
*
|
|
25
25
|
* @example
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-filter',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
12
|
+
publishDate: 1668752652,
|
|
13
13
|
version: '',
|
|
14
14
|
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'
|
|
15
15
|
};
|
|
@@ -233,7 +233,7 @@ const packageMetadata = {
|
|
|
233
233
|
name: '@progress/kendo-angular-filter',
|
|
234
234
|
productName: 'Kendo UI for Angular',
|
|
235
235
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
236
|
-
publishDate:
|
|
236
|
+
publishDate: 1668752652,
|
|
237
237
|
version: '',
|
|
238
238
|
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'
|
|
239
239
|
};
|
|
@@ -2114,7 +2114,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
2114
2114
|
}] });
|
|
2115
2115
|
|
|
2116
2116
|
/**
|
|
2117
|
-
* Represents the [NgModule](
|
|
2117
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
2118
2118
|
* definition for the Filter component.
|
|
2119
2119
|
*
|
|
2120
2120
|
* @example
|
package/filter.module.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ import * as i12 from "./filter-field.component";
|
|
|
18
18
|
import * as i13 from "./templates/value-editor.template";
|
|
19
19
|
import * as i14 from "./shared.module";
|
|
20
20
|
/**
|
|
21
|
-
* Represents the [NgModule](
|
|
21
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
22
22
|
* definition for the Filter component.
|
|
23
23
|
*
|
|
24
24
|
* @example
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-filter",
|
|
3
|
-
"version": "2.3.1
|
|
3
|
+
"version": "2.3.1",
|
|
4
4
|
"description": "Kendo UI Angular Filter",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"tslib": "^2.3.1"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@angular/common": "12 -
|
|
28
|
-
"@angular/core": "12 -
|
|
27
|
+
"@angular/common": "12 - 15",
|
|
28
|
+
"@angular/core": "12 - 15",
|
|
29
29
|
"@progress/kendo-angular-buttons": "^8.0.0",
|
|
30
30
|
"@progress/kendo-angular-common": "^3.0.0",
|
|
31
31
|
"@progress/kendo-angular-dateinputs": "^7.0.0",
|