@progress/kendo-react-dropdowns 5.1.0-dev.202202180916 → 5.1.0-dev.202202221154

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.
@@ -5,7 +5,7 @@ export var packageMetadata = {
5
5
  name: '@progress/kendo-react-dropdowns',
6
6
  productName: 'KendoReact',
7
7
  productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
8
- publishDate: 1645174856,
8
+ publishDate: 1645529880,
9
9
  version: '',
10
10
  licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
11
11
  };
@@ -7,7 +7,7 @@ exports.packageMetadata = {
7
7
  name: '@progress/kendo-react-dropdowns',
8
8
  productName: 'KendoReact',
9
9
  productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
10
- publishDate: 1645174856,
10
+ publishDate: 1645529880,
11
11
  version: '',
12
12
  licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
13
13
  };
@@ -1 +1 @@
1
- System.register("@progress/kendo-react-dropdowns",["react","prop-types","@progress/kendo-react-common","@progress/kendo-react-labels","@progress/kendo-react-intl","@progress/kendo-react-treeview","@progress/kendo-react-popup","@progress/kendo-react-buttons"],function(l){var a,s,r,u,p,d,c,h;function t(e){return e.__useDefault?e.default:e}return{setters:[function(e){a=t(e)},function(e){s=t(e)},function(e){r=t(e)},function(e){u=t(e)},function(e){p=t(e)},function(e){d=t(e)},function(e){c=t(e)},function(e){h=t(e)}],execute:function(){function o(e){if(i[e])return i[e].exports;var t=i[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}var n,i;n=[function(e,t){e.exports=a},function(e,t){e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});function i(e){return null!=e}function o(e,t,n){var i=-1;if(t){t=t.toLowerCase();for(var o=0;o<e.length;o++){var a=(r(e[o],n)||"")+"";if(a&&a.toLowerCase().startsWith(t)){i=o;break}}}return i}function a(e,t,n,i){function o(e){return i?e:e.toLowerCase()}return void 0===i&&(i=!1),e.findIndex(function(e){return n?o(r(e,n))===o(t):o(t)===o(e.toString())})}t.isPresent=i,t.sameCharsOnly=function(e,t){for(var n=0;n<e.length;n++)if(e.charAt(n)!==t)return!1;return!0},t.shuffleData=function(e,t,n){return(e=n?[n].concat(e):e).slice(t).concat(e.slice(0,t))},t.matchText=function(e,t,n){if(!i(e))return!1;e=String(e);return 0===(e=n?e.toLowerCase():e).indexOf(t)},t.scrollToItem=function(e,t,n,i,o){var a=e.offsetHeight,t=t.children.item(n),n=t.offsetTop+(o?i-e.scrollTop:0),t=t.offsetHeight;o?(o=0,a<n+t?o=n+t-a:n<0&&(o=n),0!==o?e.scrollTop+=o:0===e.scrollTop&&0!==i&&(e.scrollTop=i)):n+t>a+e.scrollTop?e.scrollTop=n+t-a:n<e.scrollTop&&(e.scrollTop-=e.scrollTop-n)},t.itemIndexStartsWith=o;function s(e,t,n){if((e=void 0===e?[]:e)===(t=void 0===t?[]:t))return!0;if(e.length!==t.length)return!1;for(var i=0;i<e.length;i++)if(!l(e[i],t[i],n))return!1;return!0}t.getItemIndexByText=a;var r=function(e,t){var n;return t&&i(e)?(t=t.split("."),n=e,t.forEach(function(e){n=n?n[e]:void 0}),n):e},l=(t.getItemValue=r,t.matchDataCollections=s,t.removeDataItems=function(n,e,i){e.forEach(function(t){var e=n.findIndex(function(e){return l(e,t,i)});-1!==e&&n.splice(e,1)})},function(e,t,n){return e===t||i(e)===i(t)&&r(e,n)===r(t,n)});t.areSame=l,t.getFocusedItem=function(e,t,n){var i;return t?-1!==(i=a(e,t,n,!0))?e[i]:e[o(e,t,n)]:e[0]},t.suggestValue=function(e,t,n){void 0===t&&(t=[]);var i="";return!e||(t=t[o(t,e,n)])&&(t=r(t,n),e.toLowerCase()!==t.toLowerCase()&&(i=t.substring(e.length))),i},t.preventDefaultNonInputs=function(e){"INPUT"!==e.target.nodeName&&e.preventDefault()},t.matchTags=function(e,t,n){return!!e==!!t&&e.text===t.text&&(e===t||s(e.data,t.data,n))}},function(e,t){e.exports=s},function(e,t){e.exports=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-react-dropdowns",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1645174856,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"}},function(r,e,t){"use strict";var i,n,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),b=(Object.defineProperty(e,"__esModule",{value:!0}),t(0)),k=t(23),C=t(2),p=t(8),a=t(9),t=(n=b.Component,o(s,n),s.prototype.renderItems=function(){var r=this,e=this.props,l=e.textField,u=e.valueField,p=e.groupField,d=e.optionsGuid,t=e.skip,v=void 0===t?0:t,g=e.focusedIndex,t=e.highlightSelected,m=void 0===t||t,c=e.value,h=e.data,y=e.itemRender,f=Array.isArray(c);return h.map(function(t,e){var n,i,o=v+e,a=m&&(!f&&C.areSame(t,c,u)||f&&-1!==c.findIndex(function(e){return C.areSame(e,t,u)})),s=void 0;return 0<e&&void 0!==p&&(n=C.getItemValue(t,p),i=C.getItemValue(h[e-1],p),n&&i&&n!==i&&(s=n)),b.createElement(k.default,{id:"option-"+d+"-"+o,dataItem:t,selected:a,focused:g===e,index:o,key:o,onClick:r.props.onClick,textField:l,group:s,render:y})})},s.prototype.renderNoValueElement=function(e){var t=this.props.noDataRender,e=b.createElement("div",{className:"k-nodata"},b.createElement("div",null,e.toLanguageString(a.nodata,a.messages[a.nodata])));return t?t.call(void 0,e):e},s.prototype.render=function(){var e=p.provideLocalizationService(this),t=this.props,n=t.id,i=t.show,o=t.wrapperCssClass,a=t.wrapperStyle,s=t.listStyle,r=t.listRef,l=t.wrapperRef,t=t.listClassName,t=void 0===t?"k-list-ul":t,u=this.renderItems();return u.length?b.createElement("div",{className:o,style:a,ref:l,onMouseDown:this.props.onMouseDown,onBlur:this.props.onBlur,onScroll:this.props.onScroll,unselectable:"on"},b.createElement("ul",{id:n,role:"listbox","aria-hidden":!i||void 0,className:t,ref:r,style:s},u),this.props.scroller):this.renderNoValueElement(e)},s);function s(){return null!==n&&n.apply(this,arguments)||this}e.default=t,p.registerForLocalization(t)},function(u,e,t){"use strict";var i,n,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},s=(Object.defineProperty(e,"__esModule",{value:!0}),t(0)),r=t(12),t=(n=s.Component,o(l,n),l.prototype.render=function(){var e=this.props,t=e.children,n=e.width,i=e.dir,o=e.itemsCount,e=e.popupSettings;return s.createElement(r.Popup,a({style:{width:n,direction:i},contentKey:o&&o.join()},e),t)},l);function l(){return null!==n&&n.apply(this,arguments)||this}e.default=t},function(e,t){e.exports=p},function(e,t,n){"use strict";var i;Object.defineProperty(t,"__esModule",{value:!0}),t.nodata="dropdowns.nodata",t.clear="dropdowns.clear",t.messages=((i={})[t.clear]="clear",i[t.nodata]="NO DATA FOUND.",i)},function(p,e,t){"use strict";var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},n=(Object.defineProperty(e,"__esModule",{value:!0}),t(0)),i=t(3),a=t(24),s=t(25),r=t(2),l=t(1),t=(u.prototype.didMount=function(){var e=this.component.props,t=e.popupSettings||{},n=e.style||{},t=t.width,i=!0===e.opened;void 0===t&&this.calculatePopupWidth(),void 0===e.dir&&void 0===n.direction&&(this.calculateDir(),i=!0),i&&this.component.forceUpdate()},u.prototype.calculateDir=function(){var e=this.component.element;e&&e.ownerDocument&&e.ownerDocument.defaultView&&(this.dirCalculated=e.ownerDocument.defaultView.getComputedStyle(e).direction||void 0)},u.prototype.calculatePopupWidth=function(){this.wrapper&&(this.popupWidth=this.wrapper.offsetWidth+"px")},u.prototype.scrollToItem=function(e,t){var n,i,o=this.list||this.vs.list;o&&0<=e&&(i=(n=this.vs).container||o.parentNode,t=void 0!==t?t:n.enabled,r.scrollToItem(i,o,e,n.translate,t))},u.prototype.initState=function(){return{data:{},events:[],syntheticEvent:void 0}},u.prototype.applyState=function(e){var n=this,i=(0<Object.keys(e.data).length&&this.component.setState(e.data),{syntheticEvent:e.syntheticEvent,nativeEvent:e.syntheticEvent?e.syntheticEvent.nativeEvent:void 0,target:this.component,value:this.component.value});e.events.forEach(function(e){var t=e.type,t=(delete e.type,t&&n.component.props[t]);t&&t.call(void 0,o({},i,e))})},u.prototype.triggerOnPageChange=function(e,t,n){var i=this.component.props.virtual;!i||(t=Math.min(Math.max(0,t),Math.max(0,i.total-n)))!==i.skip&&e.events.push({type:"onPageChange",page:{skip:t,take:n}})},u.prototype.triggerPageChangeCornerItems=function(e,t){var n=this.component.props,i=n.data,i=void 0===i?[]:i,o=n.dataItemKey,a=n.virtual,n=(void 0!==n.opened?n:this.component.state).opened;e&&a&&this.vs.enabled&&(0<a.skip&&r.areSame(e,i[0],o)?this.triggerOnPageChange(t,a.skip-1,a.pageSize):!n&&a.skip+a.pageSize<a.total&&r.areSame(e,i[i.length-1],o)&&this.triggerOnPageChange(t,a.skip+1,a.pageSize))},u.prototype.getPopupSettings=function(){return Object.assign({},u.defaultProps.popupSettings,this.component.props.popupSettings)},u.basicPropTypes={opened:i.bool,disabled:i.bool,dir:i.string,tabIndex:i.number,accessKey:i.string,data:i.array,textField:i.string,className:i.string,label:i.string,loading:i.bool,popupSettings:i.shape({animate:i.oneOfType([i.bool,i.shape({openDuration:i.number,closeDuration:i.number})]),popupClass:i.string,className:i.string,appendTo:i.element,width:i.oneOfType([i.string,i.number]),height:i.oneOfType([i.string,i.number])}),onOpen:i.func,onClose:i.func,onFocus:i.func,onBlur:i.func,onChange:i.func,itemRender:i.func,listNoDataRender:i.func,focusedItemIndex:i.func,header:i.node,footer:i.node},u.propTypes=o({},u.basicPropTypes,{value:i.any,defaultValue:i.any,filterable:i.bool,filter:i.string,virtual:i.shape({pageSize:i.number.isRequired,skip:i.number.isRequired,total:i.number.isRequired}),onFilterChange:i.func,onPageChange:i.func}),u.defaultProps={popupSettings:{height:"200px"},required:!1,validityStyles:!0},u);function u(e){var o=this;this.vs=new a.default,this.navigation=new s.Navigation,this.handleItemClick=function(e,t){var n=o.initState();(n.syntheticEvent=t).stopPropagation(),o.component.handleItemSelect(e,n),o.togglePopup(n),o.applyState(n)},this.handleFocus=function(e){var t;o.component.state.focused||((t=o.initState()).data.focused=!0,t.events.push({type:"onFocus"}),t.syntheticEvent=e,o.applyState(t))},this.filterChanged=function(e,t){var n=o.component.props,i=n.textField;n.filterable&&t.events.push({type:"onFilterChange",filter:{field:i,operator:"contains",ignoreCase:!0,value:e}})},this.togglePopup=function(e){var t=o.component.props,n=(void 0!==t.opened?t:o.component.state).opened;void 0===t.opened&&(e.data.opened=!n),n?e.events.push({type:"onClose"}):(e.events.push({type:"onOpen"}),o.calculatePopupWidth())},this.pageChange=function(e,t){var n=o.initState();n.syntheticEvent=t,o.triggerOnPageChange(n,e.skip,e.take),o.applyState(n)},this.scrollToVirtualItem=function(e,t){var n,i=o.vs;i.enabled=!1,0===e.skip?i.reset():e.skip+e.pageSize===e.total?i.scrollToEnd():(0===(n=i.translate)&&(i.calcScrollElementHeight(),n=i.itemHeight*e.skip,i.translateTo(n-i.itemHeight)),i.container&&(i.container.scrollTop=n),o.scrollToItem(t,!0)),window.setTimeout(function(){return i.enabled=!0},10)},this.renderScrollElement=function(){var t=o.vs;return t.enabled&&n.createElement("div",{ref:function(e){return t.scrollElement=e},key:"scrollElementKey"})},this.listBoxId=l.guid(),this.guid=l.guid(),this.component=e,this.vs.PageChange=this.pageChange}e.default=t},function(u,e,t){"use strict";var i,n,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=(Object.defineProperty(e,"__esModule",{value:!0}),t(0)),s=t(8),r=t(9),t=(n=a.Component,o(l,n),l.prototype.render=function(){var e=s.provideLocalizationService(this).toLanguageString(r.clear,r.messages[r.clear]);return a.createElement("span",{className:"k-clear-value",role:"button",onClick:this.props.onClick,onMouseDown:this.onMouseDown,tabIndex:-1,title:e,key:"clearbutton"},a.createElement("span",{className:"k-icon k-i-x"}))},l);function l(){var e=null!==n&&n.apply(this,arguments)||this;return e.onMouseDown=function(e){return e.preventDefault()},e}e.default=t,s.registerForLocalization(t)},function(e,t){e.exports=c},function(p,e,t){"use strict";var i,n,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=(Object.defineProperty(e,"__esModule",{value:!0}),t(0)),r=t(1),l=r.kendoThemeMaps.sizeMap,u=r.kendoThemeMaps.roundedMap,t=(n=s.Component,o(a,n),a.prototype.render=function(){var e,t=this,n=this.props,i=n.size,o=n.rounded,a=n.fillMode,n=n.inputRef;return s.createElement("div",{className:"k-list-filter"},s.createElement("span",{className:r.classNames("k-searchbox k-input",((e={})["k-input-"+(l[i]||i)]=i,e["k-rounded-"+(u[o]||o)]=o,e["k-input-"+a]=a,e))},s.createElement("span",{className:"k-input-icon k-icon k-i-search"}),s.createElement("input",{ref:n||function(e){return t.input=e},value:this.props.value||"",className:"k-input-inner",onChange:this.props.onChange,onKeyDown:this.props.onKeyDown,tabIndex:this.props.tabIndex,onClick:function(e){return e.stopPropagation()}})))},a);function a(){return null!==n&&n.apply(this,arguments)||this}e.default=t},function(e,t,n){"use strict";var i,o,a=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=(Object.defineProperty(t,"__esModule",{value:!0}),n(0)),n=(o=s.Component,a(r,o),Object.defineProperty(r.prototype,"input",{get:function(){return this._input},enumerable:!0,configurable:!0}),r.prototype.componentDidUpdate=function(e){var t=e.value,e=e.suggestedText,n=this.props,i=n.value,o=n.suggestedText,n=n.focused,a=this.input,s=t!==i||o!==e,t=s&&t.startsWith(i)&&!(e&&o&&e.endsWith(o));n&&a&&document.activeElement!==a&&a.focus(),o&&s&&!t&&a&&a.setSelectionRange(i.length-o.length,i.length)},r.prototype.render=function(){var t=this,e=this.props,n=e.expanded,n=void 0!==n&&n,i=e.disabled,o=e.role,e=e.render,o=s.createElement("input",{autoComplete:"off",id:this.props.id,type:"text",key:"searchbar",size:this.props.size,placeholder:this.props.placeholder,className:"k-input-inner",tabIndex:this.props.tabIndex,accessKey:this.props.accessKey,role:void 0===o?"listbox":o,name:this.props.name,value:this.props.value,onChange:this.props.onChange,ref:function(e){return t._input=e},onKeyDown:this.props.onKeyDown,onFocus:this.props.onFocus,onBlur:this.props.onBlur,"aria-disabled":i||void 0,disabled:i||void 0,readOnly:this.props.readOnly||void 0,"aria-haspopup":"listbox","aria-expanded":n,"aria-owns":this.props.owns,"aria-activedescendant":n?this.props.activedescendant:void 0,"aria-describedby":this.props.ariaDescribedBy,"aria-labelledby":this.props.ariaLabelledBy});return e?e.call(void 0,o):o},r);function r(){return null!==o&&o.apply(this,arguments)||this}t.default=n},function(a,e,t){"use strict";var i,n,s=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),g=this&&this.__assign||function(){return(g=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},m=(Object.defineProperty(e,"__esModule",{value:!0}),t(0)),o=t(3),r=t(10),y=t(1),k=t(4),b=t(2),d=t(14),p=t(7),v=t(6),l=t(1),u=t(5),x=t(11),I=y.kendoThemeMaps.sizeMap,S=y.kendoThemeMaps.roundedMap,t=(n=m.Component,s(C,n),Object.defineProperty(C.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),Object.defineProperty(C.prototype,"value",{get:function(){return void 0!==this._valueDuringOnChange?this._valueDuringOnChange:void 0!==this.props.value?this.props.value:void 0!==this.state.value?this.state.value:void 0!==this.props.defaultValue?this.props.defaultValue:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(C.prototype,"index",{get:function(){var e=this.props,t=e.data,t=void 0===t?[]:t,n=e.dataItemKey,i=this.value;return t.findIndex(function(e){return b.areSame(e,i,n)})},enumerable:!0,configurable:!0}),Object.defineProperty(C.prototype,"name",{get:function(){return this.props.name},enumerable:!0,configurable:!0}),Object.defineProperty(C.prototype,"validity",{get:function(){var e=void 0!==this.props.validationMessage,t=!this.required||null!==this.value&&""!==this.value&&void 0!==this.value;return{customError:e,valid:void 0!==this.props.valid?this.props.valid:t,valueMissing:null===this.value}},enumerable:!0,configurable:!0}),Object.defineProperty(C.prototype,"validityStyles",{get:function(){return(void 0!==this.props.validityStyles?this.props:C.defaultProps).validityStyles},enumerable:!0,configurable:!0}),Object.defineProperty(C.prototype,"required",{get:function(){return(void 0!==this.props.required?this.props:C.defaultProps).required},enumerable:!0,configurable:!0}),C.prototype.componentDidUpdate=function(e,t){var n=this.props,i=n.data,i=void 0===i?[]:i,o=n.dataItemKey,n=n.virtual,a=e.virtual?e.virtual.total:0,s=(void 0!==this.props.opened?this.props:this.state).opened,r=(void 0!==e.opened?e:t).opened,l=!r&&s,u=this.value;this._valueOnDidUpdate=u,n&&n.total!==a?(this.base.vs.calcScrollElementHeight(),this.base.vs.reset()):(a=(void 0!==e.value?e:t).value,e=i.findIndex(function(e){return b.areSame(e,u,o)}),t=!b.areSame(a,u,o),l&&n?this.base.scrollToVirtualItem(n,e):(l&&!n||s&&r&&u&&t)&&this.base.scrollToItem(e)),l&&this._input&&this._input.focus(),this.setValidity()},C.prototype.componentDidMount=function(){this.base.didMount(),this.setValidity()},C.prototype.render=function(){var e=this.props,p=e.dir,d=e.disabled,t=e.clearButton,t=void 0===t?C.defaultProps.clearButton:t,n=e.label,i=e.textField,c=e.className,o=e.style,a=e.loading,h=e.iconClassName,s=e.virtual,r=e.size,l=e.rounded,e=e.fillMode,f=!this.validityStyles||this.validity.valid,u=void 0!==this.props.filter?this.props.filter:this.state.text,i=b.getItemValue(this.value,i),u=b.isPresent(u)?u:i,i=t&&(!!u||b.isPresent(this.value)),t=this.base.vs,v=this.props.id||this._inputId,l=(t.enabled=void 0!==s,void 0!==s&&(t.skip=s.skip,t.total=s.total,t.pageSize=s.pageSize),m.createElement("span",{className:y.classNames("k-combobox k-input",((t={})["k-input-"+(I[r]||r)]=r,t["k-rounded-"+(S[l]||l)]=l,t["k-input-"+e]=e,t["k-valid"]=f,t["k-invalid"]=!f,t["k-loading"]=a,t["k-required"]=this.required,t["k-disabled"]=d,t),c),ref:this.componentRef,style:n?g({},o,{width:void 0}):o,dir:p},this.renderSearchBar(u||"",v),i&&!a&&m.createElement(x.default,{onClick:this.clearButtonClick,key:"clearbutton"}),a&&m.createElement("span",{className:"k-icon k-i-loading",key:"loading"}),m.createElement("button",{tabIndex:-1,type:"button",className:y.classNames("k-input-button k-button k-icon-button",((s={})["k-button-"+(I[r]||r)]=r,s["k-button-"+e]=e,s["k-button-"+e+"-base"]=e,s)),onClick:this.toggleBtnClick,onMouseDown:function(e){return e.preventDefault()}},m.createElement("span",{className:y.classNames("k-button-icon k-icon k-i-arrow-s",h)})),this.renderListContainer()));return n?m.createElement(k.FloatingLabel,{label:n,editorId:v,editorValue:u,editorValid:f,editorDisabled:d,style:{width:o?o.width:void 0},children:l}):l},C.prototype.onNavigate=function(e,t){var n=this.props,i=n.data,i=void 0===i?[]:i,n=n.virtual,n=void 0===n?{skip:0}:n,o=this.props.filter||this.state.text,a=this.getFocusedIndex(),s=this.base.vs,r=this.value;this._suggested="",-1===a||b.isPresent(r)?""===o?this.handleItemSelect(0,e):(r=n.skip+a,void 0!==(o=this.base.navigation.navigate({keyCode:t,current:r,max:(s.enabled?s.total:i.length)-1,min:0}))&&this.handleItemSelect(o,e)):this.handleItemSelect(a,e)},C.prototype.applyValueOnEnter=function(e,t){var n=this.props,i=n.data,i=void 0===i?[]:i,o=n.textField,n=n.allowCustom,a=(void 0!==this.props.opened?this.props:this.state).opened,s=b.getItemValue(this.value,o)===e?this.index:b.getItemIndexByText(i,e,o),r=-1!==s,l=void 0;if(this._suggested="",r)l=i[s];else{if(!n)return this.selectFocusedItem(e,t);l=void 0!==o?((r={})[o]=e,r):e}this.triggerOnChange(l,t),a&&this.base.togglePopup(t),void 0===this.props.filter&&void 0!==this.state.text&&(t.data.text=void 0),this.applyState(t)},C.prototype.applyValueOnRejectSuggestions=function(e,t){var n=this.props,i=n.data,i=void 0===i?[]:i,o=n.textField,n=n.allowCustom,a=(void 0!==this.props.opened?this.props:this.state).opened,s=b.getItemValue(this.value,o);if(this._suggested="",e===s||""===e&&!b.isPresent(s))return a&&this.base.togglePopup(t),this.applyState(t);var s=b.getItemIndexByText(i,e,o,!0),r=null;-1!==s?r=i[s]:n&&(r=e?o?((i={})[o]=e,i):e:null),this.triggerOnChange(r,t),void 0!==this.state.text&&(t.data.text=void 0,this.base.filterChanged("",t)),a&&this.base.togglePopup(t),this.applyState(t)},C.prototype.selectFocusedItem=function(e,t){var n=(void 0!==this.props.opened?this.props:this.state).opened,i=this.props,o=i.data,a=i.textField,s=i.virtual,i=i.focusedItemIndex,i=void 0===i?b.itemIndexStartsWith:i,s=(void 0===s?{skip:0}:s).skip,i=""===e&&0===s?0:i(void 0===o?[]:o,e,a);return-1!==i?this.handleItemSelect(i+s,t):(this.triggerOnChange(null,t),void 0!==this.state.text&&(t.data.text=void 0)),n&&this.base.togglePopup(t),this.applyState(t)},C.prototype.renderListContainer=function(){var e=this.base,t=this.props,n=t.dir,i=t.header,o=t.footer,a=t.data,a=void 0===a?[]:a,s=t.groupField,t=t.size,r=(void 0!==this.props.opened?this.props:this.state).opened,l=e.getPopupSettings(),e=void 0!==l.width?l.width:e.popupWidth,u=this.state.group;return void 0===u&&void 0!==s&&(u=b.getItemValue(a[0],s)),m.createElement(p.default,{width:e,popupSettings:{animate:l.animate,anchor:this.element,show:r,popupClass:y.classNames(l.popupClass,"k-list",((s={})["k-list-"+(I[t]||t)]=t,s["k-virtual-list"]=this.base.vs.enabled,s)),className:l.className,appendTo:l.appendTo},dir:void 0!==n?n:this.base.dirCalculated,itemsCount:[a.length]},i&&m.createElement("div",{className:"k-list-header"},i),u&&m.createElement("div",{className:"k-group-header"},u),this.renderList(),o&&m.createElement("div",{className:"k-list-footer"},o))},C.prototype.renderList=function(){var t=this,e=this.base,n=this.props,i=n.textField,o=n.dataItemKey,p=n.listNoDataRender,d=n.itemRender,a=n.data,a=void 0===a?[]:a,n=n.virtual,n=void 0===n?{skip:0}:n,c=e.getPopupSettings(),s=e.vs,n=n.skip,r=(void 0!==this.props.opened?this.props:this.state).opened,h="translateY("+s.translate+"px)",f=r?this.getFocusedIndex():void 0,l=void 0!==this.props.filter?this.props.filter:this.state.text,u=b.getItemValue(this.value,i),l=b.isPresent(l)&&l!==u?null:this.value,u=this.props.list||v.default;return m.createElement(u,{id:e.listBoxId,show:r,data:a,focusedIndex:f,value:l,textField:i,valueField:o,groupField:this.props.groupField,optionsGuid:e.guid,listRef:function(e){s.list=t.base.list=e,t.itemHeight=0},wrapperStyle:{maxHeight:c.height},wrapperCssClass:"k-list-content",listStyle:s.enabled?{transform:h}:void 0,key:"listkey",skip:n,onClick:this.handleItemClick,itemRender:d,noDataRender:p,onMouseDown:function(e){return e.preventDefault()},onScroll:this.onScroll,wrapperRef:s.scrollerRef,scroller:this.base.renderScrollElement()})},C.prototype.renderSearchBar=function(e,t){var n=this,i=this.props,o=i.placeholder,a=i.tabIndex,s=i.disabled,r=i.data,r=void 0===r?[]:r,l=i.dataItemKey,i=i.virtual,i=void 0===i?{skip:0}:i,p=(void 0!==this.props.opened?this.props:this.state).opened,u=this.value,r=Math.max(0,r.findIndex(function(e){return b.areSame(e,u,l)}));return this._suggested&&!b.areSame(this._valueOnDidUpdate,u,l)&&(this._suggested=""),m.createElement(d.default,{id:t,placeholder:o,tabIndex:a||void 0,accessKey:this.props.accessKey,value:e+this._suggested,suggestedText:this._suggested,ref:function(e){return n._input=e&&e.input},onKeyDown:this.onInputKeyDown,onChange:this.inputOnChange,onFocus:this.base.handleFocus,onBlur:this.handleBlur,disabled:s,expanded:p,owns:this.base.listBoxId,activedescendant:this.base.guid+"-"+(r+i.skip),role:"combobox",ariaLabelledBy:this.props.ariaLabelledBy,ariaDescribedBy:this.props.ariaDescribedBy,render:this.props.valueRender})},C.prototype.triggerOnChange=function(e,t){var n=this.value;!b.isPresent(n)&&!b.isPresent(e)||b.areSame(n,e,this.props.dataItemKey)||(void 0===this.props.value&&(t.data.value=e),this._valueDuringOnChange=e,t.events.push({type:"onChange"}))},C.prototype.getFocusedIndex=function(){var t=this.value,e=this.props,n=e.data,n=void 0===n?[]:n,i=e.textField,o=e.dataItemKey,a=e.virtual,a=void 0===a?{skip:0}:a,e=e.focusedItemIndex,e=void 0===e?b.itemIndexStartsWith:e,s=this.props.filter||this.state.text;return b.isPresent(t)&&void 0===s?n.findIndex(function(e){return b.areSame(e,t,o)}):s?e(n,s,i):0===a.skip?0:-1},C.prototype.suggestValue=function(e){var t=this.props,n=t.data,t=t.textField;this._suggested=b.suggestValue(e,n,t)},C.prototype.applyState=function(e){this.base.applyState(e),this._valueDuringOnChange=void 0},C.displayName="ComboBox",C.propTypes=g({},r.default.propTypes,{size:o.oneOf([null,"small","medium","large"]),rounded:o.oneOf([null,"small","medium","large","full"]),fillMode:o.oneOf([null,"solid","flat","outline"]),dataItemKey:o.string,groupField:o.string,suggest:o.bool,placeholder:o.string,allowCustom:o.bool,clearButton:o.bool,iconClassName:o.string,validationMessage:o.string,required:o.bool,id:o.string,ariaLabelledBy:o.string,ariaDescribedBy:o.string,list:o.any,valueRender:o.func}),C.defaultProps=g({},r.default.defaultProps,{size:"medium",rounded:"medium",fillMode:"solid",allowCustom:!1,clearButton:!0,required:!1}),C);function C(e){var d=n.call(this,e)||this;return d.state={},d.base=new r.default(d),d._inputId=y.guid(),d._suggested="",d.itemHeight=0,d.focus=function(){d._input&&d._input.focus()},d.handleItemSelect=function(e,t){var n=d.props,i=n.data,o=n.virtual,n=n.dataItemKey,i=(void 0===i?[]:i)[e-(o?o.skip:0)],e=!b.areSame(i,d.value,n);d.triggerOnChange(i,t),void 0!==d.state.text&&(t.data.text=void 0),e&&d.base.triggerPageChangeCornerItems(i,t)},d.componentRef=function(e){d._element=e,d.base.wrapper=e},d.toggleBtnClick=function(e){var t=d.base.initState();t.syntheticEvent=e,d.base.togglePopup(t),d.applyState(t)},d.onScroll=function(e){var t=d.base,n=t.vs,t=t.list,i=(n.scrollHandler(e),d.props),o=i.data,a=void 0===o?[]:o,s=i.groupField;if(s&&a.length){for(var r=d.itemHeight=d.itemHeight||(n.enabled?n.itemHeight:t?t.children[0].offsetHeight:0),p=e.target.scrollTop-n.skip*r,l=a[0][s],u=1;u<a.length&&!(p<r*u);u++)a[u]&&a[u][s]&&(l=a[u][s]);l!==d.state.group&&d.setState({group:l})}},d.handleItemClick=function(e,t){d.base.handleItemClick(e,t),d._valueDuringOnChange=void 0},d.handleBlur=function(e){var t;d.state.focused&&((t=d.base.initState()).data.focused=!1,t.events.push({type:"onBlur"}),t.syntheticEvent=e,d.applyValueOnRejectSuggestions(e.currentTarget.value,t))},d.onInputKeyDown=function(e){var t=e.keyCode,n=(void 0!==d.props.opened?d.props:d.state).opened,i=d.base.initState();if(!(i.syntheticEvent=e).altKey&&(t===y.Keys.up||t===y.Keys.down))return e.preventDefault(),d.onNavigate(i,t),void d.applyState(i);function o(){e.preventDefault(),d.base.togglePopup(i),d.applyState(i)}n?e.altKey&&t===y.Keys.up?o():t===y.Keys.enter?(e.preventDefault(),d.applyValueOnEnter(e.currentTarget.value,i)):t===y.Keys.esc&&d.applyValueOnRejectSuggestions(e.currentTarget.value,i):e.altKey&&t===y.Keys.down&&o()},d.inputOnChange=function(e){var t,n,i=d.base.initState(),o=(i.syntheticEvent=e,(void 0!==d.props.opened?d.props:d.state).opened),e=e.currentTarget,a=e.value;d.props.suggest&&(e=e.selectionEnd===a.length,n=void 0!==d.props.filter?d.props.filter:d.state.text,t=(n=b.isPresent(n)?n:b.getItemValue(d.value,d.props.textField)||"")&&n===a,n=n&&n.length>a.length,t||n||!e?d._suggested="":d.suggestValue(a)),void 0===d.props.filter&&(i.data.text=a),void 0!==d.state.focusedItem&&(i.data.focusedItem=void 0),o||d.base.togglePopup(i),d.base.filterChanged(a,i),d.applyState(i)},d.clearButtonClick=function(e){var t=d.base.initState();(t.syntheticEvent=e).stopPropagation(),d._suggested="",d.base.filterChanged("",t),void 0===d.props.filter&&void 0!==d.state.text&&(t.data.text=void 0),d.triggerOnChange(null,t),(void 0!==d.props.opened?d.props:d.state).opened&&d.base.togglePopup(t),d.applyState(t)},d.setValidity=function(){d._input&&d._input.setCustomValidity&&d._input.setCustomValidity(d.validity.valid?"":d.props.validationMessage||"Please enter a valid value!")},l.validatePackage(u.packageMetadata),d}e.ComboBoxWithoutContext=t,e.ComboBoxPropsContext=y.createPropsContext(),e.ComboBox=y.withPropsContext(e.ComboBoxPropsContext,t),e.ComboBox.displayName="KendoReactComboBox"},function(s,e,t){"use strict";function u(e){return e.syntheticEvent.preventDefault()}function p(e){return e.syntheticEvent.stopPropagation()}var i,n,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),d=(Object.defineProperty(e,"__esModule",{value:!0}),t(0)),c=t(28),t=(n=d.Component,o(a,n),a.prototype.render=function(){var e=this.props,n=e.data,i=e.guid,o=e.focused,a=e.tagRender,s=e.tag,r=e.onTagDelete,l=e.size;return d.createElement(d.Fragment,null,n.map(function(t,e){e=s?d.createElement(s,{key:t.text+e,tagData:t,guid:i,focusedTag:o,onTagDelete:r}):d.createElement(c.Chip,{id:"tag-"+i+"-"+t.text.replace(/\s+/g,"-"),"aria-selected":!0,role:"option","aria-setsize":n.length,key:t.text+e,text:t.text,removable:!0,removeIcon:"k-i-close",onRemove:function(e){return r.call(void 0,t.data,e.syntheticEvent)},onMouseDown:u,onClick:p,className:t===o?"k-focus":void 0,size:l});return a?a(t,e):e}),this.props.children)},a);function a(){return null!==n&&n.apply(this,arguments)||this}e.default=t},function(e,t){e.exports=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(0);t.useDropdownWidth=function(e,t,n){var t=a.useState(t),i=t[0],o=t[1];return a.useEffect(function(){void 0!==i&&e.current&&o(e.current.offsetWidth)},n),i}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0);t.ListNoData=function(e){return i.createElement("div",{className:"k-nodata"},i.createElement("div",null,e.children))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o=n(21),o=(t.DropDownList=o.DropDownList,t.DropDownListPropsContext=o.DropDownListPropsContext,n(15)),o=(t.ComboBox=o.ComboBox,t.ComboBoxPropsContext=o.ComboBoxPropsContext,n(26)),o=(t.AutoComplete=o.AutoComplete,t.AutoCompletePropsContext=o.AutoCompletePropsContext,n(27)),o=(t.MultiSelect=o.MultiSelect,t.MultiSelectPropsContext=o.MultiSelectPropsContext,n(30)),o=(t.MultiColumnComboBox=o.MultiColumnComboBox,t.MultiColumnComboBoxPropsContext=o.MultiColumnComboBoxPropsContext,n(32)),o=(t.DropDownTree=o.DropDownTree,t.DropDownTreePropsContext=o.DropDownTreePropsContext,n(33)),a=(t.MultiSelectTree=o.MultiSelectTree,t.MultiSelectTreePropsContext=o.MultiSelectTreePropsContext,n(34));for(i in a)t.hasOwnProperty(i)||(t[i]=a[i]);var s,r=t;for(s in r)l(s,r[s])},function(s,e,t){"use strict";var i,n,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),k=this&&this.__assign||function(){return(k=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},x=(Object.defineProperty(e,"__esModule",{value:!0}),t(0)),o=t(3),I=t(1),_=t(4),u=t(7),l=t(13),p=t(22),d=t(6),c=t(10),S=t(2),h=t(1),f=t(5),w=I.kendoThemeMaps.sizeMap,P=I.kendoThemeMaps.roundedMap,t=(n=x.Component,r(a,n),Object.defineProperty(a.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"value",{get:function(){var e;return void 0!==this._valueDuringOnChange?e=this._valueDuringOnChange:void 0!==this.props.value?e=this.props.value:void 0!==this.state.value?e=this.state.value:void 0!==this.props.defaultValue&&(e=this.props.defaultValue),e=S.isPresent(e)||void 0===this.props.defaultItem?e:this.props.defaultItem},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"index",{get:function(){var e=this.props,t=e.data,t=void 0===t?[]:t,n=e.dataItemKey,i=this.value;return t.findIndex(function(e){return S.areSame(e,i,n)})},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"name",{get:function(){return this.props.name},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"validity",{get:function(){var e=void 0!==this.props.validationMessage,t=!this.required||null!==this.value&&""!==this.value&&void 0!==this.value;return{customError:e,valid:void 0!==this.props.valid?this.props.valid:t,valueMissing:null===this.value}},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"validityStyles",{get:function(){return(void 0!==this.props.validityStyles?this.props:a.defaultProps).validityStyles},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"required",{get:function(){return(void 0!==this.props.required?this.props:a.defaultProps).required},enumerable:!0,configurable:!0}),a.prototype.componentDidUpdate=function(e,t){var n,i=this.props,o=i.data,o=void 0===o?[]:o,a=i.dataItemKey,i=i.virtual,s=e.virtual?e.virtual.total:0,r=(void 0!==this.props.opened?this.props:this.state).opened,l=(void 0!==e.opened?e:t).opened,u=!l&&r;this.base.getPopupSettings().animate||u&&this.onPopupOpened(),i&&i.total!==s?(this.base.vs.calcScrollElementHeight(),this.base.vs.reset()):(n=this.value,s=(void 0!==e.value?e:t).value,e=o.findIndex(function(e){return S.areSame(e,n,a)}),t=!S.areSame(s,n,a),u&&i?this.base.scrollToVirtualItem(i,e):u&&!i||r&&l&&n&&t&&!this._navigated?this.base.scrollToItem(e):r&&l&&this._navigated&&(this._navigated&&i&&0===i.skip?this.base.vs.reset():this._navigated&&i&&i.skip===i.total-i.pageSize&&this.base.vs.scrollToEnd())),this._navigated=!1,this.setValidity()},a.prototype.componentDidMount=function(){this.base.didMount(),this.setValidity()},a.prototype.render=function(){var e=this.props,t=e.style,n=e.className,p=e.label,d=e.dir,i=e.virtual,o=e.size,a=e.rounded,e=e.fillMode,c=(void 0!==this.props.opened?this.props:this.state).opened,s=this.value,h=S.getItemValue(s,this.props.textField),f=!this.validityStyles||this.validity.valid,r=this.base,r=(r.vs.enabled=void 0!==i,void 0!==i&&(r.vs.skip=i.skip,r.vs.total=i.total,r.vs.pageSize=i.pageSize),this.props),v=r.dataItemKey,l=r.data,l=void 0===l?[]:l,g=r.disabled,m=r.tabIndex,y=r.loading,b=r.iconClassName,r=r.valueRender,C=this.state.focused,l=l.findIndex(function(e){return S.areSame(e,s,v)}),u=x.createElement("span",{className:"k-input-inner"},x.createElement("span",{className:"k-input-value-text"},h)),r=void 0!==r?r.call(void 0,u,s):u,a=x.createElement("span",{ref:this.componentRef,className:I.classNames("k-dropdownlist k-picker",n,((u={})["k-picker-"+(w[o]||o)]=o,u["k-rounded-"+(P[a]||a)]=a,u["k-picker-"+e]=e,u["k-focused"]=C,u["k-disabled"]=g,u["k-invalid"]=!f,u["k-valid"]=f,u["k-loading"]=y,u["k-required"]=this.required,u)),style:p?k({},t,{width:void 0}):t,dir:d,onMouseDown:c?S.preventDefaultNonInputs:void 0,onFocus:this.handleFocus,onBlur:this.handleBlur,tabIndex:I.getTabIndex(m,g),accessKey:this.props.accessKey,onKeyDown:this.handleKeyDown,onKeyPress:this.handleKeyPress,onClick:g?void 0:this.handleWrapperClick,role:"listbox","aria-disabled":g||void 0,"aria-haspopup":!0,"aria-expanded":c||!1,"aria-owns":this.base.listBoxId,"aria-activedescendant":c?"option-"+this.base.guid+"-"+(l+(i?i.skip:0)):void 0,"aria-label":this.props.label,"aria-labelledby":this.props.ariaLabelledBy,"aria-describedby":this.props.ariaDescribedBy,id:this.props.id,title:this.props.title},r,y&&x.createElement("span",{className:"k-icon k-i-loading",key:"loading"}),x.createElement("button",{tabIndex:-1,type:"button",className:I.classNames("k-input-button k-button k-icon-button",((n={})["k-button-"+(w[o]||o)]=o,n["k-button-"+e]=e,n["k-button-"+e+"-base"]=e,n)),onMouseDown:function(e){return e.preventDefault()}},x.createElement("span",{className:I.classNames("k-button-icon k-icon k-i-arrow-s",b)})),this.dummySelect(s),this.renderListContainer());return p?x.createElement(_.FloatingLabel,{label:p,editorValue:h,editorValid:f,editorDisabled:this.props.disabled,style:{width:t?t.width:void 0},children:a}):a},a.prototype.onNavigate=function(e,t){var n=this.props,i=n.data,i=void 0===i?[]:i,o=n.defaultItem,a=n.dataItemKey,n=n.virtual,n=void 0===n?{skip:0,total:0,pageSize:0}:n,s=this.base.vs,r=this.value,l=i.findIndex(function(e){return S.areSame(e,r,a)}),l=this.base.navigation.navigate({current:n.skip+l,max:(s.enabled?n.total:i.length)-1,min:void 0!==o?-1:0,keyCode:t});void 0!==l&&this.handleItemSelect(l,e),this.applyState(e)},a.prototype.focusedIndex=function(){var e=S.isPresent(this.props.filter)?this.props.filter:this.state.text,t=this.props,n=t.data,n=void 0===n?[]:n,i=t.virtual,i=void 0===i?{skip:0}:i,o=t.dataItemKey,a=t.textField,t=t.focusedItemIndex,s=this.value,r=!(n.findIndex(function(e){return S.areSame(e,s,o)})<0&&!this.props.defaultItem);return!r&&e&&0===i.skip?t?t(n,e,a):n.indexOf(S.getFocusedItem(n,e,a)):r||0!==i.skip?void 0:0},a.prototype.focusElement=function(e){var t=this;this._skipFocusEvent=!0,e.focus(),window.setTimeout(function(){return t._skipFocusEvent=!1},30)},a.prototype.triggerOnChange=function(e,t){S.areSame(this.value,e,this.props.dataItemKey)||(void 0===this.props.value&&(t.data.value=e),this._valueDuringOnChange=e,t.events.push({type:"onChange"}))},a.prototype.applyState=function(e){this.base.applyState(e),this._valueDuringOnChange=void 0},a.displayName="DropDownList",a.propTypes=k({delay:o.number,ignoreCase:o.bool,iconClassName:o.string,defaultItem:o.any,valueRender:o.func,valueMap:o.func,validationMessage:o.string,required:o.bool,id:o.string,ariaLabelledBy:o.string,ariaDescribedBy:o.string,leftRightKeysNavigation:o.bool,title:o.string},c.default.propTypes),a.defaultProps=k({delay:500,tabIndex:0,ignoreCase:!0},c.default.defaultProps,{required:!1,size:"medium",rounded:"medium",fillMode:"solid"}),a);function a(e){var v=n.call(this,e)||this;return v.state={},v.base=new c.default(v),v.searchState={word:"",last:""},v._skipFocusEvent=!1,v._filterInput=null,v._navigated=!1,v.focus=function(){v.base.wrapper&&v.base.wrapper.focus()},v.handleItemSelect=function(e,t){var n=v.props,i=n.data,o=n.virtual,a=n.dataItemKey,n=n.defaultItem,o=o?o.skip:0,n=-1===e&&void 0!==n?n:(void 0===i?[]:i)[e-o],i=!S.areSame(n,v.value,a);v.triggerOnChange(n,t),i&&v.base.triggerPageChangeCornerItems(n,t)},v.componentRef=function(e){v._element=e,v.base.wrapper=e},v.dummySelect=function(e){return x.createElement("select",{name:v.props.name,ref:function(e){v._select=e},tabIndex:-1,"aria-hidden":!0,title:v.props.label,style:{opacity:0,width:1,border:0,zIndex:-1,position:"absolute",left:"50%"}},x.createElement("option",{value:v.props.valueMap?v.props.valueMap.call(void 0,e):e}))},v.renderListContainer=function(){var e=v.props,t=e.header,n=e.footer,i=e.dir,o=e.data,o=void 0===o?[]:o,e=e.size,a=v.base,s=a.getPopupSettings(),r=(void 0!==v.props.opened?v.props:v.state).opened,l=void 0!==s.width?s.width:a.popupWidth,a={dir:void 0!==i?i:a.dirCalculated,width:l,popupSettings:{popupClass:I.classNames(s.popupClass,"k-list",((i={})["k-list-"+(w[e]||e)]=e,i["k-virtual-list"]=v.base.vs.enabled,i)),className:s.className,animate:s.animate,anchor:v.element,show:r,onOpen:v.onPopupOpened,onClose:v.onPopupClosed,appendTo:s.appendTo},itemsCount:[o.length]};return x.createElement(u.default,k({},a),v.renderListFilter(),v.renderDefaultItem(),t&&x.createElement("div",{className:"k-list-header"},t),v.renderList(),n&&x.createElement("div",{className:"k-list-footer"},n))},v.renderList=function(){var e=v.props,t=e.data,t=void 0===t?[]:t,n=e.textField,i=e.dataItemKey,o=e.virtual,a=e.listNoDataRender,e=e.itemRender,s=v.base.vs,o=(void 0===o?{skip:0}:o).skip,r=(void 0!==v.props.opened?v.props:v.state).opened,l=v.base.getPopupSettings(),u="translateY("+s.translate+"px)";return x.createElement(d.default,{id:v.base.listBoxId,show:r,data:t.slice(),focusedIndex:v.focusedIndex(),value:v.value,textField:n,valueField:i,optionsGuid:v.base.guid,listRef:function(e){return s.list=v.base.list=e},wrapperStyle:{maxHeight:l.height},wrapperCssClass:"k-list-content",listStyle:s.enabled?{transform:u}:void 0,key:"listkey",skip:o,onClick:v.handleItemClick,itemRender:e,noDataRender:a,onScroll:function(e){s.scrollHandler(e)},wrapperRef:s.scrollerRef,scroller:v.base.renderScrollElement()})},v.renderListFilter=function(){var e=void 0!==v.props.filter?v.props.filter:v.state.text;return v.props.filterable&&x.createElement(l.default,{value:e,ref:function(e){return v._filterInput=e&&e.input},onChange:v.handleListFilterChange,onKeyDown:v.handleKeyDown,size:v.props.size,rounded:v.props.rounded,fillMode:v.props.fillMode})},v.renderDefaultItem=function(){var e=v.props,t=e.textField,n=e.defaultItem,e=e.dataItemKey;return void 0!==n&&x.createElement(p.default,{defaultItem:n,textField:t,selected:S.areSame(v.value,n,e),key:"defaultitemkey",onClick:v.handleDefaultItemClick})},v.search=function(e){clearTimeout(v._typingTimeout),v.props.filterable||(v._typingTimeout=window.setTimeout(function(){return v.searchState.word=""},v.props.delay),v.selectNext(e))},v.selectNext=function(p){var e,t=v.props,n=t.data,n=void 0===n?[]:n,d=t.dataItemKey,i=n.map(function(e,t){return{item:e,itemIndex:t}}),o=v.searchState.word,a=v.searchState.last,s=S.sameCharsOnly(o,a),r=i.length,t=Math.max(0,n.findIndex(function(e){return S.areSame(e,v.value,d)}));v.props.defaultItem&&(e={item:v.props.defaultItem,itemIndex:-1},r+=1,t+=1);for(var c,l,i=S.shuffleData(i,t+=s?1:0,e),u=0,n=v.props,h=n.textField,f=n.ignoreCase;u<r;u++)if(l=S.getItemValue(i[u].item,h),c=s&&S.matchText(l,a,f),l=S.matchText(l,o,f),c||l){u=i[u].itemIndex;break}u!==r&&((t=v.base.initState()).syntheticEvent=p,v.handleItemSelect(u,t),v.applyState(t),v._valueDuringOnChange=void 0)},v.handleKeyDown=function(e){var t=v.props,n=t.data,n=void 0===n?[]:n,i=t.filterable,o=t.disabled,a=t.leftRightKeysNavigation,t=t.virtual,t=void 0===t?{skip:0,total:0,pageSize:0}:t,s=(void 0!==v.props.opened?v.props:v.state).opened,r=e.keyCode,l=r===I.Keys.home||r===I.Keys.end,u=r===I.Keys.up||r===I.Keys.down,p=!s&&(e.altKey&&r===I.Keys.down||r===I.Keys.enter||r===I.Keys.space),d=s&&(e.altKey&&r===I.Keys.up||r===I.Keys.esc),a=(void 0===a||a)&&(r===I.Keys.left||r===I.Keys.right),u=u||!i&&(a||l),i=v.base.initState();i.syntheticEvent=e,o||(l&&v.base.vs.enabled?r===I.Keys.home?0!==t.skip?(v.base.triggerOnPageChange(i,0,t.pageSize),v._navigated=!0):v.triggerOnChange(n[0],i):t.skip<t.total-t.pageSize?(v.base.triggerOnPageChange(i,t.total-t.pageSize,t.pageSize),v._navigated=!0):v.triggerOnChange(n[n.length-1],i):s&&r===I.Keys.enter?(void 0!==(a=v.focusedIndex())&&v.handleItemSelect(a,i),v.base.togglePopup(i),e.preventDefault()):p||d?(v.base.togglePopup(i),e.preventDefault()):u&&(v.onNavigate(i,r),e.preventDefault()),v.applyState(i))},v.handleItemClick=function(e,t){v.base.handleItemClick(e,t),v._valueDuringOnChange=void 0},v.handleFocus=function(e){v._skipFocusEvent||v.base.handleFocus(e)},v.handleBlur=function(e){var t,n;!v._skipFocusEvent&&v.state.focused&&(t=(void 0!==v.props.opened?v.props:v.state).opened,(n=v.base.initState()).syntheticEvent=e,n.data.focused=!1,n.events.push({type:"onBlur"}),t&&v.base.togglePopup(n),v.applyState(n))},v.handleDefaultItemClick=function(e){var t=v.base.initState();t.syntheticEvent=e,v.base.togglePopup(t),v.triggerOnChange(v.props.defaultItem,t),v.applyState(t)},v.handleWrapperClick=function(e){var t;e.isPropagationStopped()||((t=v.base.initState()).syntheticEvent=e,v.state.focused||(t.data.focused=!0),v.base.togglePopup(t),v.applyState(t))},v.handleKeyPress=function(e){var t;v.props.filterable||0===e.which||e.keyCode===I.Keys.enter||(t=String.fromCharCode(e.charCode||e.keyCode)," "===(t=v.props.ignoreCase?t.toLowerCase():t)&&e.preventDefault(),v.searchState={word:v.searchState.word+t,last:v.searchState.last+t},v.search(e))},v.handleListFilterChange=function(e){var t=v.base.initState();t.syntheticEvent=e,void 0===v.props.filter&&(t.data.text=e.target.value),v.base.filterChanged(e.target.value,t),v.applyState(t)},v.onPopupOpened=function(){v._filterInput&&v.focusElement(v._filterInput)},v.onPopupClosed=function(){v.state.focused&&window.setTimeout(function(){v.state.focused&&v.base.wrapper&&v.focusElement(v.base.wrapper)})},v.setValidity=function(){v._select&&v._select.setCustomValidity&&v._select.setCustomValidity(v.validity.valid?"":v.props.validationMessage||"Please select a value from the list!")},h.validatePackage(f.packageMetadata),v}e.DropDownListWithoutContext=t,e.DropDownListPropsContext=I.createPropsContext(),e.DropDownList=I.withPropsContext(e.DropDownListPropsContext,t),e.DropDownList.displayName="KendoReactDropDownList"},function(p,e,t){"use strict";function i(e){return e.preventDefault()}var o,n,a=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=(Object.defineProperty(e,"__esModule",{value:!0}),t(0)),r=t(1),l=t(2),t=(n=s.Component,a(u,n),u.prototype.render=function(){var e=this.props,t=e.selected,n=e.defaultItem,e=e.textField;return s.createElement("div",{onClick:this.props.onClick,onMouseDown:i,style:{position:"unset"},className:r.classNames("k-list-optionlabel",{"k-selected":t})},l.getItemValue(n,e)||"")},u);function u(){return null!==n&&n.apply(this,arguments)||this}e.default=t},function(u,e,t){"use strict";var i,n,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=(Object.defineProperty(e,"__esModule",{value:!0}),t(0)),s=t(1),r=t(2),t=(n=a.Component,o(l,n),l.prototype.render=function(){var e=this.props,t=e.selected,n=e.group,i=e.dataItem,e=e.render,t=a.createElement("li",{id:this.props.id,role:"option","aria-selected":t,className:s.classNames("k-list-item",{"k-selected":t,"k-focus":this.props.focused,"k-first":Boolean(n)}),onClick:this.handleClick,style:{position:"unset"}},a.createElement("span",{className:"k-list-item-text"},r.getItemValue(i,this.props.textField).toString()),void 0!==n?a.createElement("div",{className:"k-group"},n):null);return void 0!==e?e.call(void 0,t,this.props):t},l);function l(){var t=null!==n&&n.apply(this,arguments)||this;return t.handleClick=function(e){return t.props.onClick(t.props.index,e)},t}e.default=t},function(e,t,n){"use strict";function i(){var n=this;this.containerHeight=0,this.skip=0,this.total=0,this.enabled=!1,this.pageSize=0,this.itemHeight=0,this.prevScrollPos=0,this.listTranslate=0,this.scrollSyncing=!1,this.scrollerRef=function(e){var t=n;(t.container=e)&&(e.setAttribute("unselectable","on"),window.setTimeout(t.calcScrollElementHeight.bind(t),0))},this.calcScrollElementHeight=function(){var e=!(n.scrollSyncing=!0),t=(n.itemHeight=n.list?n.list.children[0].offsetHeight:n.itemHeight,n.containerHeight=Math.min(1533915,n.itemHeight*n.total),n.containerHeight);return n.scrollElement&&(e=n.scrollElement.style.height!==t+"px")&&(n.scrollElement.style.height=t+"px"),n.scrollSyncing=!1,e},this.scrollHandler=this.scrollHandler.bind(this)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(i.prototype,"translate",{get:function(){return this.listTranslate},enumerable:!0,configurable:!0}),i.prototype.changePage=function(e,t){e=Math.min(Math.max(0,e),this.total-this.pageSize);e!==this.skip&&this.PageChange({skip:e,take:this.pageSize},t)},i.prototype.translateTo=function(e){this.listTranslate=e,this.list&&(this.list.style.transform="translateY("+e+"px)")},i.prototype.reset=function(){this.container&&(this.calcScrollElementHeight(),this.container.scrollTop=0,this.translateTo(0))},i.prototype.scrollToEnd=function(){this.container&&this.list&&(this.calcScrollElementHeight(),this.container.scrollTop=this.container.scrollHeight-this.container.offsetHeight,this.translateTo(this.container.scrollHeight))},i.prototype.localScrollUp=function(e){var t,n=this.itemHeight,i=this.container.scrollTop,o=this.listTranslate,a=i-o;if(!(n<a)){for(t=0;t<this.skip&&!(o+n+a<=i);t++)o-=n;if(o=this.validateTranslate(o),this.skip-t<=0&&i<=o)return this.translateTo(0),this.changePage(0,e),void(this.container.scrollTop=0);o!==this.listTranslate&&(this.translateTo(o),this.changePage(this.skip-t,e))}},i.prototype.localScrollDown=function(e){for(var t=this.itemHeight,n=this.container.scrollTop,i=this.listTranslate,o=this.list.children.length,a=0;a<o&&!(n<=i+t);a++)i+=t;i=this.validateTranslate(i),o<=a&&this.skip+a>=this.total?(this.translateTo(i),this.changePage(this.total-1,e)):i!==this.listTranslate&&(this.translateTo(i),this.changePage(this.skip+a,e))},i.prototype.scrollNonStrict=function(e){var t=this.total*this.prevScrollPos/this.containerHeight,n=Math.min(Math.floor(t),this.total-1),t=this.containerHeight*t/this.total,t=this.validateTranslate(t);this.translateTo(t),this.changePage(n,e)},i.prototype.scrollHandler=function(e){var t=this.container?this.container.scrollTop:0,n=this.prevScrollPos;this.prevScrollPos=t,this.enabled&&this.list&&this.container&&!this.scrollSyncing&&(t-n<=0&&t>this.listTranslate-this.list.scrollHeight/10?this.localScrollUp(e):0<t-n&&t<this.listTranslate+2*this.list.scrollHeight/3?this.localScrollDown(e):this.scrollNonStrict(e))},i.prototype.validateTranslate=function(e){return e=Math.max(0,e),Math.min(this.containerHeight,e)},t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(1);function a(){}a.prototype.navigate=function(e){var t=e.keyCode;return t===o.Keys.up||t===o.Keys.left?this.next({current:e.current,min:e.min,max:e.max,step:-1}):t===o.Keys.down||t===o.Keys.right?this.next({current:e.current,min:e.min,max:e.max,step:1}):t===o.Keys.home?0:t===o.Keys.end?e.max:void 0},a.prototype.next=function(e){return i.isPresent(e.current)?Math.min(e.max,Math.max(e.current+e.step,e.min)):e.min},t.Navigation=a},function(s,e,t){"use strict";var i,n,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),g=this&&this.__assign||function(){return(g=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},m=(Object.defineProperty(e,"__esModule",{value:!0}),t(0)),o=t(3),p=t(14),u=t(7),d=t(6),c=t(10),l=t(2),y=t(1),b=t(4),h=t(1),f=t(5),C=t(11),k=y.kendoThemeMaps.sizeMap,x=y.kendoThemeMaps.roundedMap,t=(n=m.Component,r(a,n),Object.defineProperty(a.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"value",{get:function(){return void 0!==this._valueDuringOnChange?this._valueDuringOnChange:void 0!==this.props.value?this.props.value:void 0!==this.state.value?this.state.value:void 0!==this.props.defaultValue?this.props.defaultValue:""},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"name",{get:function(){return this.props.name},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"validity",{get:function(){var e=void 0!==this.props.validationMessage,t=!this.required||""!==this.value;return{customError:e,valid:void 0!==this.props.valid?this.props.valid:t,valueMissing:null===this.value}},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"validityStyles",{get:function(){return(void 0!==this.props.validityStyles?this.props:a.defaultProps).validityStyles},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"required",{get:function(){return(void 0!==this.props.required?this.props:a.defaultProps).required},enumerable:!0,configurable:!0}),a.prototype.componentDidUpdate=function(e,t){var n=this.props.data,n=void 0===n?[]:n,i=e.data,i=void 0===i?[]:i,o=this.focusedIndex(),a=n[o],a=void 0!==a&&t.focusedItem!==a,s=(void 0!==this.props.opened?this.props:this.state).opened,e=(void 0!==e.opened?e:t).opened;(s&&(a||i!==n)||!e&&s)&&this.base.scrollToItem(o),this.setValidity()},a.prototype.componentDidMount=function(){this.base.didMount(),this.setValidity()},a.prototype.render=function(){var p=this,e=this.props,d=e.dir,c=e.disabled,t=e.label,n=e.className,i=e.style,o=e.loading,a=e.suggest,s=e.size,r=e.rounded,e=e.fillMode,l=!this.validityStyles||this.validity.valid,h=this.base,u=this.value,f=!1!==this.props.clearButton&&!o&&!!u,v=this.props.id||this._inputId,n=("string"==typeof a&&(this._suggested=a),m.createElement("span",{className:y.classNames("k-autocomplete k-input",n,((a={})["k-input-"+(k[s]||s)]=s,a["k-rounded-"+(x[r]||r)]=r,a["k-input-"+e]=e,a["k-valid"]=l,a["k-invalid"]=!l,a["k-loading"]=o,a["k-required"]=this.required,a["k-disabled"]=c,a)),ref:function(e){p._element=e,h.wrapper=e},style:t?g({},i,{width:void 0}):i,dir:d},this.renderSearchBar(u||"",v),o&&m.createElement("span",{className:"k-icon k-i-loading"}),f&&!o&&m.createElement(C.default,{onClick:this.clearButtonClick,key:"clearbutton"}),this.renderListContainer()));return t?m.createElement(b.FloatingLabel,{label:t,editorId:v,editorValue:u,editorValid:l,editorDisabled:c,style:{width:i?i.width:void 0},children:n}):n},a.prototype.onNavigate=function(e,t){var n=this,i=this.value,o=this.props,a=o.data,a=void 0===a?[]:a,s=o.textField,o=o.focusedItemIndex,o=void 0!==this.state.focusedItem?a.findIndex(function(e){return l.areSame(e,n.state.focusedItem,s)}):o?o(a,i,s):a.indexOf(l.getFocusedItem(a,i,s)),i=this.base.navigation.navigate({keyCode:t,current:o,max:a.length-1,min:0});void 0!==i&&this.itemFocus(i,e),this.applyState(e)},a.prototype.applyInputValue=function(e,t,n){var i=(void 0!==this.props.opened?this.props:this.state).opened,o=this.props,a=o.data,a=void 0===a?[]:a,o=o.textField;this._suggested="",i&&n===y.Keys.enter&&(n=l.getItemValue(a[this.focusedIndex(e)],o),this.triggerOnChange(n,t)),i&&this.togglePopup(t),this.applyState(t)},a.prototype.renderSearchBar=function(e,t){var n=this,i=this.base,o=this.props,a=o.placeholder,s=o.tabIndex,r=o.disabled,o=o.readonly,l=this.state.focused,u=(void 0!==this.props.opened?this.props:this.state).opened;return m.createElement(p.default,{id:t,placeholder:a,tabIndex:s||void 0,accessKey:this.props.accessKey,value:e,suggestedText:this._suggested,focused:l,name:this.props.name,ref:function(e){return n._input=e&&e.input},onKeyDown:this.onInputKeyDown,onChange:this.onChangeHandler,onFocus:i.handleFocus,onBlur:this.handleBlur,disabled:r,readOnly:o,expanded:u,owns:i.listBoxId,activedescendant:"option-"+i.guid+"-"+this.focusedIndex(),role:"combobox",ariaLabelledBy:this.props.ariaLabelledBy,ariaDescribedBy:this.props.ariaDescribedBy,render:this.props.valueRender})},a.prototype.renderListContainer=function(){var e=this.base,t=this.props,n=t.dir,i=t.header,o=t.footer,a=t.data,a=void 0===a?[]:a,t=t.size,s=e.getPopupSettings(),r=(void 0!==this.props.opened?this.props:this.state).opened,e=void 0!==s.width?s.width:e.popupWidth;return m.createElement(u.default,{width:e,popupSettings:{animate:s.animate,anchor:this.element,show:r,popupClass:y.classNames(s.popupClass,"k-list",((e={})["k-list-"+(k[t]||t)]=t,e)),className:s.className,appendTo:s.appendTo},dir:void 0!==n?n:this.base.dirCalculated,itemsCount:[a.length]},i&&m.createElement("div",{className:"k-list-header"},i),this.renderList(),o&&m.createElement("div",{className:"k-list-footer"},o))},a.prototype.renderList=function(){var t=this.base,e=t.getPopupSettings(),n=this.props,i=n.textField,o=n.data,o=void 0===o?[]:o,a=n.listNoDataRender,n=n.itemRender,s=this.value,r=(void 0!==this.props.opened?this.props:this.state).opened;return m.createElement(d.default,{id:t.listBoxId,show:r,data:o.slice(),focusedIndex:this.focusedIndex(),value:s,textField:i,valueField:i,highlightSelected:!1,optionsGuid:t.guid,listRef:function(e){return t.list=e},wrapperStyle:{maxHeight:e.height},wrapperCssClass:"k-list-content",onClick:this.handleItemClick,itemRender:n,noDataRender:a,onMouseDown:function(e){return e.preventDefault()}})},a.prototype.triggerOnChange=function(e,t,n){this.value===e&&!n||(t.data.value=e,this._valueDuringOnChange=e,t.events.push(g({type:"onChange"},n||{})))},a.prototype.applyState=function(e){this.base.applyState(e),this._valueDuringOnChange=void 0},a.prototype.suggestValue=function(e){var t,n;this._suggested="",e&&(n=(t=this.props).data,t=t.textField,(n=(n=void 0===n?[]:n)[l.itemIndexStartsWith(n,e,t)])&&(n=l.getItemValue(n,t),e.toLowerCase()!==n.toLowerCase()&&(this._suggested=n.substring(e.length))))},a.prototype.focusedIndex=function(e){var t=this,n=this.props,i=n.data,i=void 0===i?[]:i,o=n.textField,n=n.focusedItemIndex,e=void 0!==e?e:this.value;return void 0!==this.state.focusedItem?i.findIndex(function(e){return l.areSame(e,t.state.focusedItem,o)}):n?n(i,e,o):Math.max(0,i.indexOf(l.getFocusedItem(i,e,o)))},a.displayName="AutoComplete",a.propTypes=g({},c.default.basicPropTypes,{size:o.oneOf([null,"small","medium","large"]),rounded:o.oneOf([null,"small","medium","large","full"]),fillMode:o.oneOf([null,"solid","flat","outline"]),suggest:o.oneOfType([o.bool,o.string]),placeholder:o.string,value:o.string,defaultValue:o.string,validationMessage:o.string,required:o.bool,readonly:o.bool,clearButton:o.bool,valueRender:o.func,id:o.string,ariaLabelledBy:o.string,ariaDescribedBy:o.string}),a.defaultProps=g({},c.default.defaultProps,{size:"medium",rounded:"medium",fillMode:"solid"}),a);function a(e){var r=n.call(this,e)||this;return r.state={},r.base=new c.default(r),r._inputId=y.guid(),r._suggested="",r.focus=function(){r._input&&r._input.focus()},r.handleItemSelect=function(e,t){var n=r.props.data,n=l.getItemValue((void 0===n?[]:n)[e],r.props.textField);r.triggerOnChange(n,t)},r.itemFocus=function(e,t){var n=r.props,i=n.data,n=n.textField,i=(void 0===i?[]:i)[e];l.areSame(r.state.focusedItem,i,n)||(t.data.focusedItem=i)},r.togglePopup=function(e){r.base.togglePopup(e)},r.setValidity=function(){r._input&&r._input.setCustomValidity&&r._input.setCustomValidity(r.validity.valid?"":r.props.validationMessage||"Please enter a valid value!")},r.handleItemClick=function(e,t){r.base.handleItemClick(e,t),r._valueDuringOnChange=void 0},r.onChangeHandler=function(e){var t=r.base.initState(),n=e.currentTarget,i=n.value,n=n.selectionEnd===i.length,e=(t.syntheticEvent=e,r._suggested),o=r.value,o=o&&o.substring(0,o.length-e.length),e=o&&o.length>i.length,a=r.props.suggest,s=(void 0!==r.props.opened?r.props:r.state).opened;void 0!==a&&!1!==a?(o&&o===i||e||!n?r._suggested="":r.suggestValue(i),a=i+r._suggested,o={userInput:i,value:r._suggested},r.triggerOnChange(a,t,{suggestion:o})):(r._suggested="",r.triggerOnChange(i,t)),(!s&&i||s&&!i)&&r.togglePopup(t),t.data.focusedItem=void 0,r.applyState(t)},r.clearButtonClick=function(e){var t=r.base.initState(),n=(void 0!==r.props.opened?r.props:r.state).opened;t.syntheticEvent=e,r._suggested="",r.triggerOnChange("",t),void 0!==r.state.focusedItem&&(t.data.focusedItem=void 0),n&&r.togglePopup(t),r.applyState(t)},r.onInputKeyDown=function(e){function t(){i&&e.preventDefault()}var n=e.keyCode,i=(void 0!==r.props.opened?r.props:r.state).opened,o=r.base.initState();o.syntheticEvent=e;n===y.Keys.enter||n===y.Keys.esc?(t(),r.applyInputValue(e.currentTarget.value,o,e.keyCode)):n!==y.Keys.up&&n!==y.Keys.down||(t(),r.onNavigate(o,n))},r.handleBlur=function(e){var t;r.state.focused&&((t=r.base.initState()).data.focused=!1,t.events.push({type:"onBlur"}),t.syntheticEvent=e,r.applyInputValue(e.currentTarget.value,t))},h.validatePackage(f.packageMetadata),r}e.AutoCompleteWithoutContext=t,e.AutoCompletePropsContext=y.createPropsContext(),e.AutoComplete=y.withPropsContext(e.AutoCompletePropsContext,t),e.AutoComplete.displayName="KendoReactAutoComplete"},function(o,e,t){"use strict";var a,s=this&&this.__extends||(a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),C=this&&this.__assign||function(){return(C=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});function c(e){return e.preventDefault()}function h(e){return e===p.CustomItem}var p,r,k=t(0),n=t(3),x=t(1),S=t(4),f=t(7),v=t(6),_=t(16),d=t(14),l=t(10),u=t(29),I=t(2),g=t(1),m=t(5),w=t(11),P=x.kendoThemeMaps.sizeMap,E=x.kendoThemeMaps.roundedMap,t=((t=p=p||{})[t.None=0]="None",t[t.ListItem=1]="ListItem",t[t.CustomItem=2]="CustomItem",r=k.Component,s(i,r),Object.defineProperty(i.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"value",{get:function(){var e=[];return this._valueItemsDuringOnChange?e.push.apply(e,this._valueItemsDuringOnChange):this.props.value?e.push.apply(e,this.props.value):this.state.value?e.push.apply(e,this.state.value):this.props.defaultValue&&e.push.apply(e,this.props.defaultValue),e},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"name",{get:function(){return this.props.name},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"validity",{get:function(){var e=void 0!==this.props.validationMessage,t=!this.required||null!==this.value&&0<this.value.length&&void 0!==this.value;return{customError:e,valid:void 0!==this.props.valid?this.props.valid:t,valueMissing:null===this.value}},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"required",{get:function(){return(void 0!==this.props.required?this.props:i.defaultProps).required},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"validityStyles",{get:function(){return(void 0!==this.props.validityStyles?this.props:i.defaultProps).validityStyles},enumerable:!0,configurable:!0}),i.prototype.componentDidUpdate=function(e,t){var n=this.props.virtual,i=n?n.skip:0,o=e.virtual?e.virtual.total:0,a=(void 0!==this.props.opened?this.props:this.state).opened,e=(void 0!==e.opened?e:t).opened,t=!e&&a,s=e&&!a;!this.base.getPopupSettings().animate&&s&&this.onPopupClosed(),n&&n.total!==o?(this.base.vs.calcScrollElementHeight(),this.base.vs.reset()):(o=(s=this.getFocusedState()).focusedItem,s=s.focusedIndex,t&&n?this.base.scrollToVirtualItem(n,s-i):t&&!n?this.base.scrollToItem(s):a&&e&&o&&this.scrollToFocused&&this.base.scrollToItem(s-i)),this.scrollToFocused=!1,this.setValidity()},i.prototype.componentDidMount=function(){this.base.didMount(),this.setValidity()},i.prototype.onNavigate=function(e,t){var n=this.props,i=n.allowCustom,n=n.data,n=void 0===n?[]:n,o=(void 0!==this.props.opened?this.props:this.state).opened,a=void 0!==this.props.filter?this.props.filter:this.state.text,s=this.getFocusedState(),r=s.focusedType,s=s.focusedIndex,i=i&&a,a=h(r),r=this.base,l=r.vs;o&&t===x.Keys.up&&a?void 0!==this.state.focusedIndex&&(e.data.focusedIndex=void 0):void 0!==(o=r.navigation.navigate({keyCode:t,current:s,max:(l.enabled?l.total:n.length)-1,min:i?-1:0}))&&(this.itemFocus(o,e),this.scrollToFocused=!0),this.applyState(e)},i.prototype.render=function(){var e=this.props,t=e.style,n=e.className,i=e.label,p=e.dir,o=e.disabled,a=e.tags,d=e.textField,c=e.dataItemKey,s=e.virtual,r=e.size,h=e.rounded,f=e.fillMode,v=e.loading,e=e.filter,l=this.state,g=l.text,m=l.focused,y=l.focusedTag,l=this.base.vs,b=this.props.id||this._inputId,u=(l.enabled=void 0!==s,void 0!==s&&(l.skip=s.skip,l.total=s.total,l.pageSize=s.pageSize),[]),l=(void 0===a?this.value.forEach(function(e){u.push({text:I.getItemValue(e,d),data:[e]})}):u.push.apply(u,a),this.setItems(u,this._tags),!this.validityStyles||this.validity.valid),s=Boolean(void 0!==e?e:g)||0<this.value.length,n=k.createElement("div",{ref:this.componentRef,className:x.classNames("k-multiselect k-input",n,((a={})["k-input-"+(P[r]||r)]=r,a["k-rounded-"+(E[h]||h)]=h,a["k-input-"+f]=f,a["k-focus"]=m&&!o,a["k-invalid"]=!l,a["k-valid"]=l,a["k-disabled"]=o,a["k-loading"]=v,a["k-required"]=this.required,a)),style:i?C({},t,{width:void 0}):t,dir:p,onFocus:this.handleFocus,onBlur:this.handleBlur,onClick:this.handleWrapperClick,onMouseDown:I.preventDefaultNonInputs},k.createElement("div",{className:x.classNames("k-input-values k-chip-list k-selection-multiple",((e={})["k-chip-list-"+(P[r]||r)]=r,e)),role:"listbox",id:"tagslist-"+this.base.guid},0<u.length&&k.createElement(_.default,{tagRender:this.props.tagRender,onTagDelete:this.onTagDelete,data:u,guid:this.base.guid,focused:y?u.find(function(e){return I.matchTags(e,y,c)}):void 0,size:r}),this.renderSearchbar(b)),v&&k.createElement("span",{className:"k-icon k-i-loading"}),s&&k.createElement(w.default,{onClick:this.clearButtonClick}),this.renderListContainer());return i?k.createElement(S.FloatingLabel,{label:i,editorId:b,editorValue:g||I.getItemValue(this.value[0],d),editorValid:l,editorDisabled:o,style:{width:t?t.width:void 0},children:n}):n},i.prototype.renderSearchbar=function(e){var t=this.state,n=t.activedescendant,t=t.focusedTag,i=this.props,o=i.disabled,a=i.placeholder,i=i.ariaDescribedBy,s=(void 0!==this.props.filter?this.props.filter:this.state.text)||"",r=(void 0!==this.props.opened?this.props:this.state).opened,l=this.getFocusedState().focusedIndex,a=0!==this.value.length||s?void 0:a,n=n===u.ActiveDescendant.TagsList&&void 0!==t?"tag-"+this.base.guid+"-"+t.text.replace(/\s+/g,"-"):"option-"+this.base.guid+"-"+l;return k.createElement(d.default,{id:e,size:Math.max((a||"").length,s.length,1),tabIndex:this.props.tabIndex,accessKey:this.props.accessKey,placeholder:a,value:s,onChange:this.onChangeHandler,onKeyDown:this.onInputKeyDown,ref:this.searchbarRef,disabled:o,expanded:r,owns:this.base.listBoxId,activedescendant:n,ariaDescribedBy:"tagslist-"+this.base.guid+(i?" "+i:""),ariaLabelledBy:this.props.ariaLabelledBy})},i.prototype.onTagsNavigate=function(e,t){var n,e=e.keyCode,i=this.state.focusedTag,o=this._tags,a=this.props.dataItemKey,s=i?o.findIndex(function(e){return I.matchTags(e,i,a)}):-1,r=void 0,l=-1!==s;e===x.Keys.left?r=o[s=l?Math.max(0,s-1):o.length-1]:e===x.Keys.right?s===o.length-1?r=void 0:l&&(r=o[s=Math.min(o.length-1,s+1)]):e===x.Keys.home?r=o[0]:e===x.Keys.end?r=o[o.length-1]:e===x.Keys.delete?l&&(n=this.value,I.removeDataItems(n,o[s].data,a),this.triggerOnChange(n,t)):e===x.Keys.backspace&&(n=this.value,l?(I.removeDataItems(n,o[s].data,a),this.triggerOnChange(n,t)):!l&&o.length&&(e=o.pop(),I.removeDataItems(n,e.data,a),this.triggerOnChange(n,t))),r!==i&&(t.data.focusedTag=r,t.data.activedescendant=u.ActiveDescendant.TagsList),this.applyState(t)},i.prototype.triggerOnChange=function(e,t){void 0===this.props.value&&(t.data.value=e.slice()),this._valueItemsDuringOnChange=[],this.setItems(e,this._valueItemsDuringOnChange),t.events.push({type:"onChange"})},i.prototype.selectFocusedItem=function(e){var t=this.props,n=t.data,n=void 0===n?[]:n,t=t.virtual,i=this.getFocusedState().focusedIndex;void 0!==n[i-(t?t.skip:0)]&&this.handleItemClick(i,e)},i.prototype.setItems=function(e,t){t.length=0,t.push.apply(t,e)},i.prototype.getFocusedState=function(){var e=this.state.focusedIndex,t=void 0!==this.props.filter?this.props.filter:this.state.text,n=this.props,i=n.allowCustom,o=n.data,o=void 0===o?[]:o,a=n.dataItemKey,s=n.virtual,r=n.textField,n=n.focusedItemIndex,n=void 0===n?I.itemIndexStartsWith:n,s=s&&s.skip||0;if(void 0!==e)return{focusedIndex:e,focusedItem:o[e-s],focusedType:p.ListItem};var l,u,e=this.value;return i&&t?{focusedItem:null,focusedIndex:-1,focusedType:p.CustomItem}:t?{focusedItem:o[u=n(o,t,r)],focusedIndex:u+s,focusedType:p.ListItem}:e.length?(l=e[e.length-1],u=o.findIndex(function(e){return I.areSame(e,l,a)}),void 0!==o[u]?{focusedIndex:u+s,focusedItem:o[u],focusedType:p.ListItem}:{focusedType:p.None,focusedIndex:-1}):0===s?{focusedItem:o[0],focusedIndex:0,focusedType:p.ListItem}:{focusedType:p.None,focusedIndex:-1}},i.prototype.focusElement=function(e){var t=this;this._skipFocusEvent=!0,e.focus(),window.setTimeout(function(){return t._skipFocusEvent=!1},0)},i.prototype.applyState=function(e){this.base.applyState(e),this._valueItemsDuringOnChange=null},i.displayName="MultiSelect",i.propTypes=C({},l.default.propTypes,{autoClose:n.bool,value:n.arrayOf(n.any),defaultValue:n.arrayOf(n.any),dataItemKey:n.string,placeholder:n.string,tags:n.arrayOf(n.shape({text:n.string,data:n.arrayOf(n.any)})),tagRender:n.func,id:n.string,ariaLabelledBy:n.string,ariaDescribedBy:n.string}),i.defaultProps=C({},l.default.defaultProps,{autoClose:!0,required:!1,size:"medium",rounded:"medium",fillMode:"solid"}),i);function i(e){var d=r.call(this,e)||this;return d.state={activedescendant:u.ActiveDescendant.PopupList},d._valueItemsDuringOnChange=null,d._inputId=x.guid(),d.base=new l.default(d),d._tags=[],d._skipFocusEvent=!1,d.scrollToFocused=!1,d.focus=function(){d._input&&d._input.focus()},d.handleItemSelect=function(e,t){var n=d.props,i=n.data,o=n.dataItemKey,n=n.virtual,a=(void 0===i?[]:i)[e-(n?n.skip:0)],i=d.value.findIndex(function(e){return I.areSame(e,a,o)}),e=[];-1!==i?(e=d.value).splice(i,1):e=d.value.concat([a]),(void 0!==d.props.filter?d.props.filter:d.state.text)&&(d.state.text&&(t.data.text=""),d.base.filterChanged("",t)),void 0!==d.state.focusedIndex&&(t.data.focusedIndex=void 0),d.triggerOnChange(e,t),d.base.triggerPageChangeCornerItems(a,t)},d.onTagDelete=function(e,t){var n=(void 0!==d.props.opened?d.props:d.state).opened,i=d.base.initState(),t=(i.syntheticEvent=t,n&&d.base.togglePopup(i),d.state.focused||(i.data.focused=!0,d.focus()),d.value);I.removeDataItems(t,e,d.props.dataItemKey),d.triggerOnChange(t,i),d.applyState(i)},d.itemFocus=function(e,t){var n=d.props,i=n.data,i=void 0===i?[]:i,o=n.allowCustom,n=n.virtual,n=n?n.skip:0,a=void 0!==d.props.filter?d.props.filter:d.state.text,s=d.getFocusedState().focusedIndex,o=o&&a,a=i[e-n];a&&s!==e?d.state.focusedIndex!==e&&(t.data.focusedIndex=e,t.data.activedescendant=u.ActiveDescendant.PopupList):o&&-1===e&&void 0!==d.state.focusedIndex&&(t.data.focusedIndex=void 0),d.base.triggerPageChangeCornerItems(a,t)},d.componentRef=function(e){d._element=e,d.base.wrapper=e},d.searchbarRef=function(e){var t=d._input=e&&e.input;t&&d.state.focused&&window.setTimeout(function(){return t.focus()},0)},d.onChangeHandler=function(e){var t=d.base.initState(),n=e.currentTarget.value,i=(void 0!==d.props.opened?d.props:d.state).opened;t.syntheticEvent=e,void 0===d.props.filter&&(t.data.text=n),t.data.focusedIndex=void 0,i||d.base.togglePopup(t),d.base.filterChanged(n,t),d.applyState(t)},d.clearButtonClick=function(e){var t=(void 0!==d.props.opened?d.props:d.state).opened,n=d.base.initState(),e=((n.syntheticEvent=e).stopPropagation(),0<d.value.length&&d.triggerOnChange([],n),void 0!==d.state.focusedIndex&&(n.data.focusedIndex=void 0),t&&d.base.togglePopup(n),void 0!==d.props.filter?d.props.filter:d.state.text);I.isPresent(e)&&""!==e&&d.base.filterChanged("",n),d.state.text&&(n.data.text=""),d.applyState(n)},d.onInputKeyDown=function(e){var t=e.keyCode,n=void 0!==d.props.filter?d.props.filter:d.state.text,i=(void 0!==d.props.opened?d.props:d.state).opened,o=d.getFocusedState().focusedItem,a=d.base.initState();if(a.syntheticEvent=e,!n&&0<d.value.length&&(t===x.Keys.left||t===x.Keys.right||t===x.Keys.home||t===x.Keys.end||t===x.Keys.delete||t===x.Keys.backspace))return d.onTagsNavigate(e,a);function s(){e.preventDefault(),d.base.togglePopup(a),d.applyState(a)}i?e.altKey&&t===x.Keys.up?s():t===x.Keys.up||t===x.Keys.down?(e.preventDefault(),d.onNavigate(a,t)):t===x.Keys.enter?(e.preventDefault(),d.props.allowCustom&&n&&null===o?d.customItemSelect(e):d.selectFocusedItem(e)):t===x.Keys.esc&&s():e.altKey&&t===x.Keys.down&&s()},d.renderListContainer=function(){var e=d.base,t=d.props,n=t.header,i=t.footer,p=t.allowCustom,o=t.dir,a=t.data,a=void 0===a?[]:a,t=t.size,s=d.base.getPopupSettings(),r=(void 0!==d.props.opened?d.props:d.state).opened,l=void 0!==d.props.filter?d.props.filter:d.state.text,u=void 0!==s.width?s.width:e.popupWidth,e={dir:void 0!==o?o:e.dirCalculated,width:u,popupSettings:{popupClass:x.classNames(s.popupClass,"k-list",((o={})["k-list-"+(P[t]||t)]=t,o["k-virtual-list"]=d.base.vs.enabled,o)),className:s.className,animate:s.animate,anchor:d.element,show:r,onOpen:d.onPopupOpened,onClose:d.onPopupClosed,appendTo:s.appendTo},itemsCount:[a.length,d.value.length]},u=d.getFocusedState().focusedType,r=p&&l&&k.createElement("div",{className:x.classNames("k-list",((o={})["k-list-"+(P[t]||t)]=t,o)),key:"customitem",onClick:d.customItemSelect,onMouseDown:c},k.createElement("div",{className:x.classNames("k-list-item k-custom-item",{"k-focus":h(u)}),style:{fontStyle:"italic"}},l,k.createElement("span",{className:"k-icon k-i-plus",style:{position:"absolute",right:"0.5em"}})));return k.createElement(f.default,C({},e),n&&k.createElement("div",{className:"k-list-header"},n),r,d.renderList(),i&&k.createElement("div",{className:"k-list-footer"},i))},d.renderList=function(){var e=d.props,t=e.data,t=void 0===t?[]:t,n=e.textField,i=e.listNoDataRender,o=e.itemRender,a=e.dataItemKey,e=e.virtual,s=d.base.vs,e=e?e.skip:0,r=(void 0!==d.props.opened?d.props:d.state).opened,l=d.getFocusedState().focusedIndex,u=d.base.getPopupSettings(),p="translateY("+s.translate+"px)";return k.createElement(v.default,{id:d.base.listBoxId,show:r,data:t.slice(),focusedIndex:l-e,value:d.value,textField:n,valueField:a,optionsGuid:d.base.guid,listRef:function(e){s.list=d.base.list=e},wrapperStyle:{maxHeight:u.height},wrapperCssClass:"k-list-content",listStyle:s.enabled?{transform:p}:void 0,key:"listKey",skip:e,onClick:d.handleItemClick,itemRender:o,noDataRender:i,onMouseDown:c,onBlur:d.handleBlur,onScroll:function(e){s.scrollHandler(e)},wrapperRef:s.scrollerRef,scroller:d.base.renderScrollElement()})},d.customItemSelect=function(e){var t,n=void 0!==d.props.filter?d.props.filter:d.state.text,i=d.props.textField;n&&((t=d.base.initState()).syntheticEvent=e,i=i?((e={})[i]=n,e):n,void 0!==d.state.text&&(t.data.text=""),t.data.focusedIndex=void 0,d.base.filterChanged("",t),e=d.value.concat([i]),d.triggerOnChange(e,t),d.base.togglePopup(t),d.applyState(t))},d.handleWrapperClick=function(e){var t=(void 0!==d.props.opened?d.props:d.state).opened,n=d._input,t=(!t&&n&&d.focusElement(n),d.base.initState());t.syntheticEvent=e,d.state.focused||(t.events.push({type:"onFocus"}),t.data.focused=!0),d.base.togglePopup(t),d.applyState(t)},d.handleItemClick=function(e,t){var n=d.base.initState();n.syntheticEvent=t,d.handleItemSelect(e,n),d.props.autoClose&&d.base.togglePopup(n),t.stopPropagation(),d.applyState(n)},d.handleBlur=function(e){var t,n,i,o;d.state.focused&&!d._skipFocusEvent&&(t=(void 0!==d.props.opened?d.props:d.state).opened,n=d.base.initState(),i=(o=d.props).allowCustom,o=o.filterable,n.syntheticEvent=e,n.data.focused=!1,n.events.push({type:"onBlur"}),t&&(d.state.opened&&(n.data.opened=!1),n.events.push({type:"onClose"})),i||o||!d.state.text||(n.data.text=""),d.applyState(n))},d.handleFocus=function(e){d._skipFocusEvent||d.base.handleFocus(e)},d.onPopupOpened=function(){d._input&&d.state.focused&&d.focusElement(d._input)},d.onPopupClosed=function(){d.state.focused&&window.setTimeout(function(){d.state.focused&&d.focusElement(d._input)},0)},d.setValidity=function(){d._input&&d._input.setCustomValidity&&d._input.setCustomValidity(d.validity.valid?"":d.props.validationMessage||"Please enter a valid value!")},g.validatePackage(m.packageMetadata),d}e.MultiSelectWithoutContext=t,e.MultiSelectPropsContext=x.createPropsContext(),e.MultiSelect=x.withPropsContext(e.MultiSelectPropsContext,t),e.MultiSelect.displayName="KendoReactMultiSelect"},function(e,t){e.exports=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),(t=t.ActiveDescendant||(t.ActiveDescendant={}))[t.PopupList=0]="PopupList",t[t.TagsList=1]="TagsList"},function(n,E,e){"use strict";var O=this&&this.__assign||function(){return(O=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},D=this&&this.__rest||function(e,t){var n={};for(o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&(n[o[i]]=e[o[i]]);return n},M=(Object.defineProperty(E,"__esModule",{value:!0}),e(0)),t=e(3),T=e(31),F=e(1),K=e(15),B=F.kendoThemeMaps.sizeMap,e=(E.MultiColumnComboBoxPropsContext=F.createPropsContext(),E.MultiColumnComboBox=M.forwardRef(function(e,t){var l=F.usePropsContext(E.MultiColumnComboBoxPropsContext,e),n=M.useRef(null),i=M.useRef(null),o=F.getScrollbarWidth(),e=l.columns,u=void 0===e?N.columns:e,e=l.popupSettings,e=void 0===e?N.popupSettings:e,a=l.size,p=l.onOpen,d=l.onClose,c=l.onFocus,h=l.onBlur,f=l.onChange,v=l.onFilterChange,g=l.onPageChange,s=D(l,["columns","popupSettings","size","onOpen","onClose","onFocus","onBlur","onChange","onFilterChange","onPageChange"]),t=(M.useImperativeHandle(n,function(){return{element:i.current&&i.current.element,focus:function(){i.current&&i.current.focus()},get value(){return i.current&&i.current.value},get name(){return i.current&&i.current.name},props:l}}),M.useImperativeHandle(t,function(){return n.current}),M.useMemo(function(){return"calc("+u.map(function(e){return e=e.width,t=N.width,e?"number"==typeof e?e+"px":e:t;var t}).filter(Boolean).join(" + ")+" + "+o+"px)"},[u,o])),m=M.useMemo(function(){return M.createElement(M.Fragment,null,l.header,M.createElement("div",{className:"k-table-header"},M.createElement("div",{className:"k-table-header-wrap"},M.createElement("table",{className:"k-table",role:"presentation"},M.createElement("colgroup",null,u.map(function(e,t){return M.createElement("col",{key:e.uniqueKey||t,style:{width:e.width||N.width}})})),M.createElement("thead",{className:"k-table-thead"},M.createElement("tr",{className:"k-table-row"},u.map(function(e,t){return M.createElement("th",{className:"k-table-th",key:e.uniqueKey||t},e.header||" ")})))))))},[l.header,u]),y=l.virtual?l.virtual.skip:0,b=M.useCallback(function(e,n){var t,i,o=u.map(function(e,t){return M.createElement("span",{className:"k-table-td",style:{width:e.width||N.width},key:e.uniqueKey||t},e.field?F.getter(e.field)(n.dataItem):"")}),a=void 0,s=l.data||[],r=n.index-y,s=(void 0!==l.groupField&&(t=(i=F.getter(l.groupField))(s[r]),i=i(s[r-1]),t&&i&&t!==i&&(a=t)),a&&o.push(M.createElement("div",{key:"group",className:"k-cell k-group-cell"},M.createElement("span",null,a))),M.cloneElement(e,O({},e.props,{className:F.classNames("k-table-row",{"k-table-alt-row":n.index%2!=0,"k-focus":n.focused,"k-selected":n.selected})}),o));return l.itemRender?l.itemRender.call(void 0,s,n):s},[u,l.groupField,l.itemRender,l.data,y]),r=M.useCallback(function(e,t){e&&e.call(void 0,O({},t,{target:n.current}))},[]),C=M.useCallback(function(e){return r(p,e)},[p]),k=M.useCallback(function(e){return r(d,e)},[d]),x=M.useCallback(function(e){return r(c,e)},[c]),I=M.useCallback(function(e){return r(h,e)},[h]),S=M.useCallback(function(e){return r(f,e)},[f]),_=M.useCallback(function(e){return r(v,e)},[v]),w=M.useCallback(function(e){return r(g,e)},[g]),P=(M.useEffect(function(){F.setScrollbarWidth()}),M.useCallback(function(e){return M.createElement(T.MultiColumnList,O({},e))},[]));return M.createElement(K.ComboBox,O({},s,{list:P,popupSettings:O({width:t},e,{popupClass:F.classNames("k-dropdowngrid-popup k-data-table",((s={})["k-table-"+(B[a]||a)]=a,s)),className:e.className}),ref:i,header:m,itemRender:b,size:l.size,rounded:l.rounded,fillMode:l.fillMode,onOpen:C,onClose:k,onFocus:x,onBlur:I,onChange:S,onFilterChange:_,onPageChange:w}))}),O({},K.ComboBoxWithoutContext.propTypes,{columns:t.any.isRequired})),N={columns:[],popupSettings:{},width:"200px",size:"medium",rounded:"medium",fillMode:"solid"};E.MultiColumnComboBox.displayName="KendoMultiColumnComboBox",E.MultiColumnComboBox.propTypes=e,E.MultiColumnComboBox.defaultProps=N},function(e,t,n){"use strict";var i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=(Object.defineProperty(t,"__esModule",{value:!0}),n(0)),a=n(6);t.MultiColumnList=function(e){return o.createElement(a.default,i({},e,{wrapperCssClass:"k-table-scroller",listClassName:"k-table k-table-list",listStyle:i({},e.listStyle)}))}},function(n,de,e){"use strict";function be(e){return fe.createElement("span",{className:"k-input-value-text"},e.children)}function ce(e){return e.split("_").map(function(e){return parseInt(e,10)})}var he=this&&this.__assign||function(){return(he=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},fe=(Object.defineProperty(de,"__esModule",{value:!0}),e(0)),t=e(3),ve=e(1),Ce=e(12),ke=e(8),xe=e(17),Ie=e(1),Se=e(5),ge=e(2),_e=e(18),we=e(19),me=e(9),Pe=e(4),Ee=e(13),Oe=ve.kendoThemeMaps.sizeMap,De=ve.kendoThemeMaps.roundedMap,ye={selectField:"selected",subItemsField:"items",popupSettings:{animate:!0,width:"200px",height:"200px"},required:!1,validityStyles:!0,size:"medium",rounded:"medium",fillMode:"solid"},e=(de.DropDownTreePropsContext=ve.createPropsContext(),de.DropDownTree=fe.forwardRef(function(p,d){Ie.validatePackage(Se.packageMetadata);var o=ve.usePropsContext(de.DropDownTreePropsContext,p),p=fe.useMemo(function(){return ve.guid()},[]),p=o.id||p,e=o.data,c=void 0===e?[]:e,h=o.dataItemKey,e=o.popupSettings,e=void 0===e?{}:e,f=o.style,f=void 0===f?{}:f,t=o.opened,v=o.disabled,g=o.onOpen,m=void 0===g?ve.noop:g,g=o.onClose,n=void 0===g?ve.noop:g,g=o.placeholder,y=o.label,b=o.name,i=o.selectField,C=void 0===i?ye.selectField:i,i=o.subItemsField,k=void 0===i?ye.subItemsField:i,x=o.validationMessage,i=o.valid,I=o.required,S=o.validityStyles,_=ve.getTabIndex(o.tabIndex,v),r=fe.useRef(null),w=fe.useRef(null),P=fe.useRef(null),E=fe.useRef(null),O=fe.useRef(null),D=fe.useRef(!1),M=fe.useState(void 0),a=M[0],T=M[1],F=void 0!==o.value,K=F?o.value:void 0!==a?a:o.defaultValue,N=ge.isPresent(K),M=N?ge.getItemValue(K,o.textField):"",B=(a=N,R=(i={validationMessage:x,valid:i,required:I}).valid,{customError:void 0!==i.validationMessage,valid:Boolean(void 0!==R?R:!i.required||a),valueMissing:!a}),j=fe.useCallback(function(){return w.current&&w.current.focus()},[]),R=(fe.useImperativeHandle(r,function(){return{props:o,element:w.current,focus:j}}),fe.useImperativeHandle(d,function(){return r.current}),ve.useRtl(w,o.dir)),i=(void 0!==e.width?e:void 0!==f.width?f:ye.popupSettings).width,a=_e.useDropdownWidth(w,i),d=he({width:a},void 0!==R?{direction:R}:{}),i=fe.useState(!1),a=i[0],V=i[1],l=void 0!==t?t:a,i=fe.useState(!1),s=i[0],L=i[1],a=fe.useState(""),i=a[0],z=a[1],a=fe.useCallback(function(){E.current&&E.current.setCustomValidity&&E.current.setCustomValidity(B.valid?"":void 0===x?"Please select a value from the list!":x)},[x,B]),q=(fe.useEffect(a),fe.useCallback(function(e){l||(m&&(e=he({},e),m.call(void 0,e)),void 0===t&&V(!0))},[l,t,m])),H=fe.useCallback(function(e){l&&(n&&(e=he({},e),n.call(void 0,e)),void 0===t&&V(!1))},[l,t,n]),a=fe.useCallback(function(e){!e.isDefaultPrevented()&&r.current&&(L(!0),e={syntheticEvent:e,nativeEvent:e.nativeEvent,target:r.current},(l?H:q)(e))},[l,t,m,n]),A=fe.useCallback(function(e){D.current=!0,e(),window.setTimeout(function(){return D.current=!1},0)},[]),W=fe.useCallback(function(e){var t=e.keyCode,n=e.altKey,i=O.current&&O.current.element;if(r.current&&(!e.isDefaultPrevented()||P.current!==e.target)){var o={syntheticEvent:e,nativeEvent:e.nativeEvent,target:r.current};if(l)if(t===ve.Keys.esc||n&&t===ve.Keys.up)e.preventDefault(),H(o);else if(i&&i.querySelector(".k-focus")&&(t===ve.Keys.up||t===ve.Keys.down||t===ve.Keys.left||t===ve.Keys.right||t===ve.Keys.home||t===ve.Keys.end)){if(t===ve.Keys.up&&P.current){var a=Array.from(i.querySelectorAll(".k-treeview-item")),s=a.slice().reverse().find(function(e){return Boolean(e&&e.querySelector(".k-focus"))});if(s&&0===a.indexOf(s))return A(function(){G(P.current)})}A(ve.noop)}else t===ve.Keys.down&&A(function(){G(P.current||i)});else n&&t===ve.Keys.down&&(e.preventDefault(),q(o))}},[l,t,m,n]),U=fe.useCallback(function(e){var t=e.keyCode;e.altKey||t!==ve.Keys.up&&t!==ve.Keys.down||(e.preventDefault(),A(t===ve.Keys.up?function(){G(w.current)}:function(){G(O.current&&O.current.element)}))},[]),G=fe.useCallback(function(e){e&&A(function(){return e.focus()})},[]),Y=fe.useCallback(function(){!s&&l?H({target:r.current}):o.filterable?G(P.current):G(O.current&&O.current.element)},[n,o.filterable,s,t,l]),J=fe.useCallback(function(){s&&G(w.current)},[s]),Q=fe.useCallback(function(e){!s&&!D.current&&(L(!0),o.onFocus&&r.current)&&(e={syntheticEvent:e,nativeEvent:e.nativeEvent,target:r.current},o.onFocus.call(void 0,e))},[s,o.onFocus]),X=fe.useCallback(function(e){var t;s&&!D.current&&r.current&&(L(!1),e={syntheticEvent:e,nativeEvent:e.nativeEvent,target:r.current},o.onBlur&&(t=he({},e),o.onBlur.call(void 0,t)),H(e))},[s,o.onBlur,l,t,n]),Z=fe.useCallback(function(){s&&A(ve.noop)},[s]),$=fe.useCallback(function(e,t,n){o.onChange&&(n=he({value:t,level:n?ce(n):[]},e),o.onChange.call(void 0,n)),F||T(t)},[o.onChange,F]),ee=fe.useCallback(function(e){var t,n,i;!ge.areSame(e.item,K,h)&&r.current&&(t=e.item,n=e.itemHierarchicalIndex,i=e.nativeEvent,e={syntheticEvent:e.syntheticEvent,nativeEvent:i,target:r.current},$(e,t,n),H(e))},[F,K,o.onChange,h,l,t,n]),te=fe.useCallback(function(e){var t;r.current&&(t={syntheticEvent:e,nativeEvent:e.nativeEvent,target:r.current},$(t,null),H(t),e.preventDefault())},[F,o.onChange,l,t,n]),ne=fe.useCallback(function(e){var t,n,i;e.syntheticEvent.stopPropagation(),o.onExpandChange&&r.current&&(t=e.item,i=e.itemHierarchicalIndex,n=e.nativeEvent,e=e.syntheticEvent,i={level:ce(i),item:t,nativeEvent:n,syntheticEvent:e,target:r.current},o.onExpandChange.call(void 0,i))},[o.onExpandChange]),ie=fe.useCallback(function(e){var t;o.onFilterChange&&r.current&&(t={filter:{field:o.textField,operator:"contains",value:e.target.value},syntheticEvent:e,nativeEvent:e.nativeEvent,target:r.current},o.onFilterChange.call(void 0,t),void 0===o.filter&&z(e.target.value))},[o.onFilterChange,o.filter,o.textField]),oe=fe.useMemo(function(){return F||!N?c:ve.mapTree(c,k,function(e){var t;return ve.extendDataItem(e,k,((t={})[C]=ge.areSame(e,K,h),t))})},[c,K,F,N,C,k]),ae=o.listNoData||we.ListNoData,se=o.valueHolder||be,re=ke.useLocalization(),S=!S||B.valid,le=o.size,ue=o.rounded,pe=o.fillMode,u=fe.createElement("span",{className:ve.classNames("k-dropdowntree k-picker",o.className,((u={})["k-picker-"+(Oe[le]||le)]=le,u["k-rounded-"+(De[ue]||ue)]=ue,u["k-picker-"+pe]=pe,u["k-focus"]=s,u["k-valid"]=S,u["k-invalid"]=!S,u["k-loading"]=o.loading,u["k-required"]=I,u["k-disabled"]=o.disabled,u)),tabIndex:_,accessKey:o.accessKey,id:p,style:y?he({},f,{width:void 0}):f,dir:R,ref:w,onKeyDown:v?void 0:W,onMouseDown:Z,onClick:v?void 0:a,onFocus:Q,onBlur:X,role:"listbox","aria-haspopup":"true","aria-expanded":l,"aria-disabled":v,"aria-label":y,"aria-labelledby":o.ariaLabelledBy,"aria-describedby":o.ariaDescribedBy},fe.createElement("span",{className:"k-input-inner"},fe.createElement(se,{item:K},M||g)),o.loading&&fe.createElement("span",{className:"k-icon k-i-loading"}),N&&!v&&fe.createElement("span",{onClick:te,className:"k-clear-value",title:re.toLanguageString(me.clear,me.messages[me.clear]),role:"button",tabIndex:-1,onMouseDown:function(e){return e.preventDefault()}},fe.createElement("span",{className:"k-icon k-i-x"})),fe.createElement("button",{tabIndex:-1,type:"button","aria-label":"select",className:ve.classNames("k-input-button k-button k-icon-button",((I={})["k-button-"+(Oe[le]||le)]=le,I["k-button-"+pe]=pe,I["k-button-"+pe+"-base"]=pe,I))},fe.createElement("span",{className:"k-button-icon k-icon k-i-arrow-s"})),fe.createElement("select",{name:b,ref:E,tabIndex:-1,"aria-hidden":!0,title:y,style:{opacity:0,width:1,border:0,zIndex:-1,position:"absolute",left:"50%"}},fe.createElement("option",{value:o.valueMap?o.valueMap.call(void 0,K):K})),fe.createElement(Ce.Popup,{className:ve.classNames(e.className,{"k-rtl":"rtl"===R}),popupClass:e.popupClass,style:d,animate:e.animate,anchor:w.current,show:l,onOpen:Y,onClose:J,appendTo:e.appendTo},o.filterable&&fe.createElement(Ee.default,{value:void 0===o.filter?i:o.filter,inputRef:P,onChange:ie,onKeyDown:U,size:le,rounded:ue,fillMode:pe}),0<c.length?fe.createElement(xe.TreeView,{ref:O,tabIndex:_,data:oe,focusIdField:h,textField:o.textField,selectField:C,expandField:o.expandField,childrenField:k,expandIcons:!0,onItemClick:ee,onExpandChange:ne,size:le,item:o.item}):fe.createElement(ae,null,re.toLanguageString(me.nodata,me.messages[me.nodata]))));return y?fe.createElement(Pe.FloatingLabel,{label:y,editorValue:M,editorPlaceholder:g,editorValid:S,editorDisabled:v,editorId:p,style:{width:f?f.width:void 0},children:u,dir:R}):u}),{opened:t.bool,disabled:t.bool,dir:t.string,tabIndex:t.number,accessKey:t.string,data:t.array,value:t.any,valueMap:t.func,placeholder:t.string,dataItemKey:t.string.isRequired,textField:t.string.isRequired,selectField:t.string,expandField:t.string,subItemsField:t.string,className:t.string,style:t.object,label:t.string,validationMessage:t.string,validityStyles:t.bool,valid:t.bool,required:t.bool,name:t.string,id:t.string,ariaLabelledBy:t.string,ariaDescribedBy:t.string,filterable:t.bool,filter:t.string,loading:t.bool,popupSettings:t.shape({animate:t.oneOfType([t.bool,t.shape({openDuration:t.number,closeDuration:t.number})]),popupClass:t.string,className:t.string,appendTo:t.any,width:t.oneOfType([t.string,t.number]),height:t.oneOfType([t.string,t.number])}),onOpen:t.func,onClose:t.func,onFocus:t.func,onBlur:t.func,onChange:t.func,onFilterChange:t.func,onExpandChange:t.func,item:t.func,valueHolder:t.func,listNoData:t.func});de.DropDownTree.displayName="KendoReactDropDownTree",de.DropDownTree.defaultProps=ye,de.DropDownTree.propTypes=e},function(n,ce,e){"use strict";var he=this&&this.__assign||function(){return(he=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},fe=(Object.defineProperty(ce,"__esModule",{value:!0}),e(0)),t=e(3),ve=e(1),Ce=e(12),ke=e(8),xe=e(17),Ie=e(1),Se=e(5),ge=e(2),_e=e(18),we=e(19),me=e(9),Pe=e(4),Ee=e(16),Oe=e(11),De=e(13),ye=ve.kendoThemeMaps.sizeMap,Me=ve.kendoThemeMaps.roundedMap,be={checkField:"checkField",checkIndeterminateField:"checkIndeterminateField",subItemsField:"items",popupSettings:{animate:!0,width:"200px",height:"200px"},size:"medium",rounded:"medium",fillMode:"solid",required:!1,validityStyles:!0},e=(ce.MultiSelectTreePropsContext=ve.createPropsContext(),ce.MultiSelectTree=fe.forwardRef(function(a,s){var o=ve.usePropsContext(ce.MultiSelectTreePropsContext,a),a=(Ie.validatePackage(Se.packageMetadata),fe.useMemo(function(){return ve.guid()},[])),a=o.id||a,r=o.data,r=void 0===r?[]:r,f=o.dataItemKey,l=o.popupSettings,l=void 0===l?{}:l,v=o.style,v=void 0===v?{}:v,g=o.opened,m=o.disabled,y=o.onOpen,b=void 0===y?ve.noop:y,y=o.onClose,C=void 0===y?ve.noop:y,y=o.placeholder,k=o.label,x=o.name,I=o.checkField,I=void 0===I?be.checkField:I,S=o.checkIndeterminateField,S=void 0===S?be.checkIndeterminateField:S,_=o.subItemsField,_=void 0===_?be.subItemsField:_,w=o.validationMessage,P=o.valid,E=o.tags,u=o.value,O=o.required,O=void 0===O?be.required:O,D=o.validityStyles,D=void 0===D?be.validityStyles:D,M=ve.getTabIndex(o.tabIndex,m),p=fe.useRef(null),n=fe.useRef(null),T=fe.useRef(null),F=fe.useRef(null),K=fe.useRef(null),N=fe.useRef(!1),B=fe.useRef([]),j=fe.useRef(null),e=fe.useState(),R=e[0],V=e[1],e=fe.useState(!1),L=e[0],z=e[1],e=fe.useState(!1),i=e[0],q=e[1],e=fe.useState(""),H=e[0],A=e[1],d=void 0!==g?g:L,e=Boolean(Array.isArray(u)&&u.length),W=(L=e,U=(P={validationMessage:w,valid:P,required:O}).valid,{customError:void 0!==P.validationMessage,valid:Boolean(void 0!==U?U:!P.required||L),valueMissing:!L}),U=ve.useRtl(n,o.dir),P=(void 0!==l.width?l:void 0!==v.width?v:be.popupSettings).width,L=_e.useDropdownWidth(n,P),P=he({width:L},void 0!==U?{direction:U}:{}),G=fe.useCallback(function(){return n.current&&n.current.focus()},[]),L=(B.current=void 0===E?(u||[]).map(function(e){return{text:ge.getItemValue(e,o.textField),data:[e]}}):E.slice(),fe.useImperativeHandle(p,function(){return{props:o,element:n.current,focus:G}}),fe.useImperativeHandle(s,function(){return p.current}),fe.useCallback(function(){F.current&&F.current.setCustomValidity&&F.current.setCustomValidity(W.valid?"":void 0===w?"Please select a value from the list!":w)},[w,W])),Y=(fe.useEffect(L),fe.useEffect(function(){j.current&&d&&j.current.setPosition(j.current._popup)},[u,d]),fe.useCallback(function(e,t,n){o.onChange&&(t=he({items:t,operation:n},e),o.onChange.call(void 0,t))},[o.onChange])),E=fe.useCallback(function(e){var t,n;!ge.areSame(e.item,u,f)&&p.current&&(t=e.item,n=e.nativeEvent,e={syntheticEvent:e.syntheticEvent,nativeEvent:n,target:p.current},Y(e,[t],"toggle"))},[u,f,Y]),J=fe.useCallback(function(e){d||(b&&(e=he({},e),b.call(void 0,e)),void 0===g&&z(!0))},[d,g,b]),Q=fe.useCallback(function(e){d&&(C&&(e=he({},e),C.call(void 0,e)),void 0===g&&z(!1))},[d,g,C]),c=fe.useCallback(function(e){N.current=!0,e(),window.setTimeout(function(){return N.current=!1},0)},[]),h=fe.useCallback(function(e){e&&c(function(){return e.focus()})},[c]),s=fe.useCallback(function(){!i&&d?Q({target:p.current}):o.filterable?h(T.current):h(K.current&&K.current.element)},[i,d,h,Q,o.filterable]),L=fe.useCallback(function(){i&&h(n.current)},[i,h]),X=fe.useCallback(function(e){!i&&!N.current&&(q(!0),o.onFocus&&p.current)&&(e={syntheticEvent:e,nativeEvent:e.nativeEvent,target:p.current},o.onFocus.call(void 0,e))},[i,o.onFocus]),Z=fe.useCallback(function(e){var t;i&&!N.current&&p.current&&(q(!1),e={syntheticEvent:e,nativeEvent:e.nativeEvent,target:p.current},o.onBlur&&(t=he({},e),o.onBlur.call(void 0,t)),Q(e))},[i,o.onBlur,d,g,C]),$=fe.useCallback(function(){i&&c(ve.noop)},[i,c]),ee=fe.useCallback(function(e){!e.isDefaultPrevented()&&p.current&&(q(!0),e={syntheticEvent:e,nativeEvent:e.nativeEvent,target:p.current},d||J(e))},[d,J]),te=fe.useCallback(function(e){var t=e.keyCode,n=e.altKey,i=K.current&&K.current.element;if(p.current&&(!e.isDefaultPrevented()||T.current!==e.target)){var o,a,s={syntheticEvent:e,nativeEvent:e.nativeEvent,target:p.current};if(u&&0<u.length&&(t===ve.Keys.left||t===ve.Keys.right||t===ve.Keys.home||t===ve.Keys.end||t===ve.Keys.delete)&&(l=B.current,a=void 0,r=-1!==(o=R?l.findIndex(function(e){return ge.matchTags(e,R,f)}):-1),t===ve.Keys.left?a=l[o=r?Math.max(0,o-1):l.length-1]:t===ve.Keys.right?o===l.length-1?a=void 0:r&&(a=l[o=Math.min(l.length-1,o+1)]):t===ve.Keys.home?a=l[0]:t===ve.Keys.end?a=l[l.length-1]:t===ve.Keys.delete&&r&&Y(s,l[o].data,"delete"),a!==R&&V(a)),d)if(t===ve.Keys.esc||n&&t===ve.Keys.up)e.preventDefault(),Q(s);else if(i&&i.querySelector(".k-focus")&&(t===ve.Keys.up||t===ve.Keys.down||t===ve.Keys.left||t===ve.Keys.right||t===ve.Keys.home||t===ve.Keys.end)){if(t===ve.Keys.up&&T.current){var r=Array.from(i.querySelectorAll(".k-treeview-item")),l=r.slice().reverse().find(function(e){return Boolean(e&&e.querySelector(".k-focus"))});if(l&&0===r.indexOf(l))return c(function(){h(T.current)})}c(ve.noop)}else t===ve.Keys.down&&c(function(){h(T.current||i)});else n&&t===ve.Keys.down&&(e.preventDefault(),J(s))}},[d,Q,h,c,J,R,f,u,Y]),ne=fe.useCallback(function(e){var t=e.keyCode;e.altKey||t!==ve.Keys.up&&t!==ve.Keys.down||(e.preventDefault(),c(t===ve.Keys.up?function(){h(n.current)}:function(){h(K.current&&K.current.element)}))},[h,c]),ie=fe.useCallback(function(e){var t;p.current&&(t={syntheticEvent:e,nativeEvent:e.nativeEvent,target:p.current},Y(t,[],"clear"),Q(t),e.preventDefault())},[Y,Q]),oe=fe.useCallback(function(e,t){Q({target:p.current}),i||h(T.current),Y({syntheticEvent:t,nativeEvent:t.nativeEvent,target:p.current},e,"delete")},[Y,Q,h,i]),ae=fe.useCallback(function(e){var t,n,i;o.onExpandChange&&p.current&&(t=e.item,i=e.itemHierarchicalIndex,n=e.nativeEvent,e=e.syntheticEvent,i={level:i.split("_").map(function(e){return parseInt(e,10)}),item:t,nativeEvent:n,syntheticEvent:e,target:p.current},o.onExpandChange.call(void 0,i))},[o.onExpandChange]),se=fe.useCallback(function(e){var t;o.onFilterChange&&p.current&&(t={filter:{field:o.textField,operator:"contains",value:e.target.value},syntheticEvent:e,nativeEvent:e.nativeEvent,target:p.current},o.onFilterChange.call(void 0,t),void 0===o.filter&&A(e.target.value))},[o.onFilterChange,o.filter,o.textField]),re=o.listNoData||we.ListNoData,le=ke.useLocalization(),D=!D||W.valid,ue=o.size,pe=o.rounded,de=o.fillMode,t=fe.createElement("span",{className:ve.classNames("k-multiselect k-input",o.className,((t={})["k-input-"+(ye[ue]||ue)]=ue,t["k-rounded-"+(Me[pe]||pe)]=pe,t["k-input-"+de]=de,t["k-focus"]=i&&!m,t["k-invalid"]=!D,t["k-valid"]=D,t["k-disabled"]=m,t["k-loading"]=o.loading,t["k-required"]=O,t)),tabIndex:M,accessKey:o.accessKey,id:a,style:k?he({},v,{width:void 0}):v,dir:U,ref:n,onKeyDown:m?void 0:te,onMouseDown:$,onFocus:X,onBlur:Z,role:"listbox","aria-haspopup":"true","aria-expanded":d,"aria-disabled":m,"aria-label":k,"aria-labelledby":o.ariaLabelledBy,"aria-describedby":o.ariaDescribedBy,onClick:m?void 0:ee},0<B.current.length&&fe.createElement("div",{className:ve.classNames("k-input-values k-chip-list k-selection-multiple",((O={})["k-chip-list-"+(ye[ue]||ue)]=ue,O)),role:"listbox",id:"tagslist-"+a},fe.createElement(Ee.default,{tag:o.tag,onTagDelete:oe,data:B.current,guid:a,focused:R?B.current.find(function(e){return ge.matchTags(e,R,f)}):void 0,size:ue})),!e&&fe.createElement("span",{className:"k-input-inner"},fe.createElement("span",{className:"k-input-value-text"}," ")),o.loading&&fe.createElement("span",{className:"k-icon k-i-loading"}),e&&!m&&fe.createElement(Oe.default,{onClick:ie}),fe.createElement("select",{name:x,ref:F,tabIndex:-1,"aria-hidden":!0,title:k,style:{opacity:0,width:1,border:0,zIndex:-1,position:"absolute",left:"50%"}},fe.createElement("option",{value:o.valueMap?o.valueMap.call(void 0,u):u})),fe.createElement(Ce.Popup,{popupClass:l.popupClass,className:ve.classNames(l.className,{"k-rtl":"rtl"===U}),style:P,animate:l.animate,anchor:n.current,show:d,onOpen:s,onClose:L,appendTo:l.appendTo,ref:j},o.filterable&&fe.createElement(De.default,{value:void 0===o.filter?H:o.filter,inputRef:T,onChange:se,onKeyDown:ne,tabIndex:M,size:ue,rounded:pe,fillMode:de}),0<r.length?fe.createElement(xe.TreeView,{ref:K,tabIndex:M,data:r,focusIdField:f,textField:o.textField,checkField:I,checkIndeterminateField:S,expandField:o.expandField,childrenField:_,expandIcons:!0,onItemClick:E,onCheckChange:E,onExpandChange:ae,checkboxes:!0,size:ue,item:o.item}):fe.createElement(re,null,le.toLanguageString(me.nodata,me.messages[me.nodata]))));return k?fe.createElement(Pe.FloatingLabel,{label:k,editorValue:e,editorPlaceholder:y,editorValid:D,editorDisabled:m,editorId:a,style:{width:v?v.width:void 0},children:t,dir:U}):t}),{opened:t.bool,disabled:t.bool,dir:t.string,tabIndex:t.number,accessKey:t.string,data:t.array,value:t.any,valueMap:t.func,placeholder:t.string,dataItemKey:t.string.isRequired,textField:t.string.isRequired,checkField:t.string,checkIndeterminateField:t.string,expandField:t.string,subItemsField:t.string,className:t.string,style:t.object,label:t.string,validationMessage:t.string,validityStyles:t.bool,valid:t.bool,required:t.bool,name:t.string,id:t.string,ariaLabelledBy:t.string,ariaDescribedBy:t.string,filterable:t.bool,filter:t.string,loading:t.bool,tags:t.arrayOf(t.shape({text:t.string,data:t.arrayOf(t.any)})),popupSettings:t.shape({animate:t.oneOfType([t.bool,t.shape({openDuration:t.number,closeDuration:t.number})]),popupClass:t.string,className:t.string,appendTo:t.any,width:t.oneOfType([t.string,t.number]),height:t.oneOfType([t.string,t.number])}),onOpen:t.func,onClose:t.func,onFocus:t.func,onBlur:t.func,onChange:t.func,onFilterChange:t.func,onExpandChange:t.func,item:t.func,listNoData:t.func});ce.MultiSelectTree.displayName="KendoReactMultiSelectTree",ce.MultiSelectTree.defaultProps=be,ce.MultiSelectTree.propTypes=e},function(e,P,t){"use strict";Object.defineProperty(P,"__esModule",{value:!0});var E=t(1);P.getValueMap=function(e,t){var n={};return e&&e.length&&e.forEach(function(e){n[t(e)]=!0}),n},P.getMultiSelectTreeValue=function(p,e){var d,c=e.items,h=e.dataItemKey,t=e.value,f=e.subItemsField,f=void 0===f?"items":f,e=e.operation,n=E.getter(h),v=P.getValueMap(t,n);if("clear"===e)return[];if("delete"===e)return d=P.getValueMap(c,n),t.filter(function(e){return!d[n(e)]});for(var g,i,h=c[0],m=n(h),o=E.getter(f),a=p.slice(),s=[];a.length;){var r=a.pop();if(m===n(r)){g=s.map(function(e){return e.item}),i=r;break}s&&s.length&&s[s.length-1].parentPosition===a.length&&s.pop(),(u=o(r))&&u.length&&(s.push({item:r,parentPosition:a.length}),a.push.apply(a,u))}for(var y=(o(i)||[]).slice(),b=[];y.length;)r=y.pop(),b.push(r),(u=o(r))&&u.length&&y.push.apply(y,u);var l=[];if(v[m]){var C=n(i),k=P.getValueMap(b,n),x=P.getValueMap(g,n);l.push.apply(l,t.filter(function(e){e=n(e);return!k[e]&&C!==e&&!x[e]}))}else{l.push.apply(l,t),l.push(i),l.push.apply(l,b.filter(function(e){return!v[n(e)]}));for(var I=g.filter(function(e){return!v[n(e)]}),S=P.getValueMap(l,n),_=I.length-1;-1<_;_--){var u,w=I[_];if((u=o(w)).filter(function(e){return S[n(e)]}).length<u.length)break;l.push(w),S[n(w)]=!0}}return l}}],i={},o.m=n,o.c=i,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)o.d(n,i,function(e){return t[e]}.bind(null,i));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=20)}}});
1
+ System.register("@progress/kendo-react-dropdowns",["react","prop-types","@progress/kendo-react-labels","@progress/kendo-react-common","@progress/kendo-react-popup","@progress/kendo-react-treeview","@progress/kendo-react-intl","@progress/kendo-react-buttons"],function(l){var a,s,r,u,p,d,c,h;function t(e){return e.__useDefault?e.default:e}return{setters:[function(e){a=t(e)},function(e){s=t(e)},function(e){r=t(e)},function(e){u=t(e)},function(e){p=t(e)},function(e){d=t(e)},function(e){c=t(e)},function(e){h=t(e)}],execute:function(){function o(e){if(i[e])return i[e].exports;var t=i[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}var n,i;n=[function(e,t){e.exports=a},function(e,t){e.exports=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});function i(e){return null!=e}function o(e,t,n){var i=-1;if(t){t=t.toLowerCase();for(var o=0;o<e.length;o++){var a=(r(e[o],n)||"")+"";if(a&&a.toLowerCase().startsWith(t)){i=o;break}}}return i}function a(e,t,n,i){function o(e){return i?e:e.toLowerCase()}return void 0===i&&(i=!1),e.findIndex(function(e){return n?o(r(e,n))===o(t):o(t)===o(e.toString())})}t.isPresent=i,t.sameCharsOnly=function(e,t){for(var n=0;n<e.length;n++)if(e.charAt(n)!==t)return!1;return!0},t.shuffleData=function(e,t,n){return(e=n?[n].concat(e):e).slice(t).concat(e.slice(0,t))},t.matchText=function(e,t,n){if(!i(e))return!1;e=String(e);return 0===(e=n?e.toLowerCase():e).indexOf(t)},t.scrollToItem=function(e,t,n,i,o){var a=e.offsetHeight,t=t.children.item(n),n=t.offsetTop+(o?i-e.scrollTop:0),t=t.offsetHeight;o?(o=0,a<n+t?o=n+t-a:n<0&&(o=n),0!==o?e.scrollTop+=o:0===e.scrollTop&&0!==i&&(e.scrollTop=i)):n+t>a+e.scrollTop?e.scrollTop=n+t-a:n<e.scrollTop&&(e.scrollTop-=e.scrollTop-n)},t.itemIndexStartsWith=o;function s(e,t,n){if((e=void 0===e?[]:e)===(t=void 0===t?[]:t))return!0;if(e.length!==t.length)return!1;for(var i=0;i<e.length;i++)if(!l(e[i],t[i],n))return!1;return!0}t.getItemIndexByText=a;var r=function(e,t){var n;return t&&i(e)?(t=t.split("."),n=e,t.forEach(function(e){n=n?n[e]:void 0}),n):e},l=(t.getItemValue=r,t.matchDataCollections=s,t.removeDataItems=function(n,e,i){e.forEach(function(t){var e=n.findIndex(function(e){return l(e,t,i)});-1!==e&&n.splice(e,1)})},function(e,t,n){return e===t||i(e)===i(t)&&r(e,n)===r(t,n)});t.areSame=l,t.getFocusedItem=function(e,t,n){var i;return t?-1!==(i=a(e,t,n,!0))?e[i]:e[o(e,t,n)]:e[0]},t.suggestValue=function(e,t,n){void 0===t&&(t=[]);var i="";return!e||(t=t[o(t,e,n)])&&(t=r(t,n),e.toLowerCase()!==t.toLowerCase()&&(i=t.substring(e.length))),i},t.preventDefaultNonInputs=function(e){"INPUT"!==e.target.nodeName&&e.preventDefault()},t.matchTags=function(e,t,n){return!!e==!!t&&e.text===t.text&&(e===t||s(e.data,t.data,n))}},function(e,t){e.exports=s},function(e,t){e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-react-dropdowns",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1645529880,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"}},function(r,e,t){"use strict";var i,n,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),b=(Object.defineProperty(e,"__esModule",{value:!0}),t(0)),k=t(23),C=t(2),p=t(8),a=t(9),t=(n=b.Component,o(s,n),s.prototype.renderItems=function(){var r=this,e=this.props,l=e.textField,u=e.valueField,p=e.groupField,d=e.optionsGuid,t=e.skip,v=void 0===t?0:t,g=e.focusedIndex,t=e.highlightSelected,m=void 0===t||t,c=e.value,h=e.data,y=e.itemRender,f=Array.isArray(c);return h.map(function(t,e){var n,i,o=v+e,a=m&&(!f&&C.areSame(t,c,u)||f&&-1!==c.findIndex(function(e){return C.areSame(e,t,u)})),s=void 0;return 0<e&&void 0!==p&&(n=C.getItemValue(t,p),i=C.getItemValue(h[e-1],p),n&&i&&n!==i&&(s=n)),b.createElement(k.default,{id:"option-"+d+"-"+o,dataItem:t,selected:a,focused:g===e,index:o,key:o,onClick:r.props.onClick,textField:l,group:s,render:y})})},s.prototype.renderNoValueElement=function(e){var t=this.props.noDataRender,e=b.createElement("div",{className:"k-nodata"},b.createElement("div",null,e.toLanguageString(a.nodata,a.messages[a.nodata])));return t?t.call(void 0,e):e},s.prototype.render=function(){var e=p.provideLocalizationService(this),t=this.props,n=t.id,i=t.show,o=t.wrapperCssClass,a=t.wrapperStyle,s=t.listStyle,r=t.listRef,l=t.wrapperRef,t=t.listClassName,t=void 0===t?"k-list-ul":t,u=this.renderItems();return u.length?b.createElement("div",{className:o,style:a,ref:l,onMouseDown:this.props.onMouseDown,onBlur:this.props.onBlur,onScroll:this.props.onScroll,unselectable:"on"},b.createElement("ul",{id:n,role:"listbox","aria-hidden":!i||void 0,className:t,ref:r,style:s},u),this.props.scroller):this.renderNoValueElement(e)},s);function s(){return null!==n&&n.apply(this,arguments)||this}e.default=t,p.registerForLocalization(t)},function(u,e,t){"use strict";var i,n,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},s=(Object.defineProperty(e,"__esModule",{value:!0}),t(0)),r=t(12),t=(n=s.Component,o(l,n),l.prototype.render=function(){var e=this.props,t=e.children,n=e.width,i=e.dir,o=e.itemsCount,e=e.popupSettings;return s.createElement(r.Popup,a({style:{width:n,direction:i},contentKey:o&&o.join()},e),t)},l);function l(){return null!==n&&n.apply(this,arguments)||this}e.default=t},function(e,t){e.exports=c},function(e,t,n){"use strict";var i;Object.defineProperty(t,"__esModule",{value:!0}),t.nodata="dropdowns.nodata",t.clear="dropdowns.clear",t.messages=((i={})[t.clear]="clear",i[t.nodata]="NO DATA FOUND.",i)},function(p,e,t){"use strict";var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},n=(Object.defineProperty(e,"__esModule",{value:!0}),t(0)),i=t(3),a=t(24),s=t(25),r=t(2),l=t(1),t=(u.prototype.didMount=function(){var e=this.component.props,t=e.popupSettings||{},n=e.style||{},t=t.width,i=!0===e.opened;void 0===t&&this.calculatePopupWidth(),void 0===e.dir&&void 0===n.direction&&(this.calculateDir(),i=!0),i&&this.component.forceUpdate()},u.prototype.calculateDir=function(){var e=this.component.element;e&&e.ownerDocument&&e.ownerDocument.defaultView&&(this.dirCalculated=e.ownerDocument.defaultView.getComputedStyle(e).direction||void 0)},u.prototype.calculatePopupWidth=function(){this.wrapper&&(this.popupWidth=this.wrapper.offsetWidth+"px")},u.prototype.scrollToItem=function(e,t){var n,i,o=this.list||this.vs.list;o&&0<=e&&(i=(n=this.vs).container||o.parentNode,t=void 0!==t?t:n.enabled,r.scrollToItem(i,o,e,n.translate,t))},u.prototype.initState=function(){return{data:{},events:[],syntheticEvent:void 0}},u.prototype.applyState=function(e){var n=this,i=(0<Object.keys(e.data).length&&this.component.setState(e.data),{syntheticEvent:e.syntheticEvent,nativeEvent:e.syntheticEvent?e.syntheticEvent.nativeEvent:void 0,target:this.component,value:this.component.value});e.events.forEach(function(e){var t=e.type,t=(delete e.type,t&&n.component.props[t]);t&&t.call(void 0,o({},i,e))})},u.prototype.triggerOnPageChange=function(e,t,n){var i=this.component.props.virtual;!i||(t=Math.min(Math.max(0,t),Math.max(0,i.total-n)))!==i.skip&&e.events.push({type:"onPageChange",page:{skip:t,take:n}})},u.prototype.triggerPageChangeCornerItems=function(e,t){var n=this.component.props,i=n.data,i=void 0===i?[]:i,o=n.dataItemKey,a=n.virtual,n=(void 0!==n.opened?n:this.component.state).opened;e&&a&&this.vs.enabled&&(0<a.skip&&r.areSame(e,i[0],o)?this.triggerOnPageChange(t,a.skip-1,a.pageSize):!n&&a.skip+a.pageSize<a.total&&r.areSame(e,i[i.length-1],o)&&this.triggerOnPageChange(t,a.skip+1,a.pageSize))},u.prototype.getPopupSettings=function(){return Object.assign({},u.defaultProps.popupSettings,this.component.props.popupSettings)},u.basicPropTypes={opened:i.bool,disabled:i.bool,dir:i.string,tabIndex:i.number,accessKey:i.string,data:i.array,textField:i.string,className:i.string,label:i.string,loading:i.bool,popupSettings:i.shape({animate:i.oneOfType([i.bool,i.shape({openDuration:i.number,closeDuration:i.number})]),popupClass:i.string,className:i.string,appendTo:i.element,width:i.oneOfType([i.string,i.number]),height:i.oneOfType([i.string,i.number])}),onOpen:i.func,onClose:i.func,onFocus:i.func,onBlur:i.func,onChange:i.func,itemRender:i.func,listNoDataRender:i.func,focusedItemIndex:i.func,header:i.node,footer:i.node},u.propTypes=o({},u.basicPropTypes,{value:i.any,defaultValue:i.any,filterable:i.bool,filter:i.string,virtual:i.shape({pageSize:i.number.isRequired,skip:i.number.isRequired,total:i.number.isRequired}),onFilterChange:i.func,onPageChange:i.func}),u.defaultProps={popupSettings:{height:"200px"},required:!1,validityStyles:!0},u);function u(e){var o=this;this.vs=new a.default,this.navigation=new s.Navigation,this.handleItemClick=function(e,t){var n=o.initState();(n.syntheticEvent=t).stopPropagation(),o.component.handleItemSelect(e,n),o.togglePopup(n),o.applyState(n)},this.handleFocus=function(e){var t;o.component.state.focused||((t=o.initState()).data.focused=!0,t.events.push({type:"onFocus"}),t.syntheticEvent=e,o.applyState(t))},this.filterChanged=function(e,t){var n=o.component.props,i=n.textField;n.filterable&&t.events.push({type:"onFilterChange",filter:{field:i,operator:"contains",ignoreCase:!0,value:e}})},this.togglePopup=function(e){var t=o.component.props,n=(void 0!==t.opened?t:o.component.state).opened;void 0===t.opened&&(e.data.opened=!n),n?e.events.push({type:"onClose"}):(e.events.push({type:"onOpen"}),o.calculatePopupWidth())},this.pageChange=function(e,t){var n=o.initState();n.syntheticEvent=t,o.triggerOnPageChange(n,e.skip,e.take),o.applyState(n)},this.scrollToVirtualItem=function(e,t){var n,i=o.vs;i.enabled=!1,0===e.skip?i.reset():e.skip+e.pageSize===e.total?i.scrollToEnd():(0===(n=i.translate)&&(i.calcScrollElementHeight(),n=i.itemHeight*e.skip,i.translateTo(n-i.itemHeight)),i.container&&(i.container.scrollTop=n),o.scrollToItem(t,!0)),window.setTimeout(function(){return i.enabled=!0},10)},this.renderScrollElement=function(){var t=o.vs;return t.enabled&&n.createElement("div",{ref:function(e){return t.scrollElement=e},key:"scrollElementKey"})},this.listBoxId=l.guid(),this.guid=l.guid(),this.component=e,this.vs.PageChange=this.pageChange}e.default=t},function(u,e,t){"use strict";var i,n,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=(Object.defineProperty(e,"__esModule",{value:!0}),t(0)),s=t(8),r=t(9),t=(n=a.Component,o(l,n),l.prototype.render=function(){var e=s.provideLocalizationService(this).toLanguageString(r.clear,r.messages[r.clear]);return a.createElement("span",{className:"k-clear-value",role:"button",onClick:this.props.onClick,onMouseDown:this.onMouseDown,tabIndex:-1,title:e,key:"clearbutton"},a.createElement("span",{className:"k-icon k-i-x"}))},l);function l(){var e=null!==n&&n.apply(this,arguments)||this;return e.onMouseDown=function(e){return e.preventDefault()},e}e.default=t,s.registerForLocalization(t)},function(e,t){e.exports=p},function(p,e,t){"use strict";var i,n,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=(Object.defineProperty(e,"__esModule",{value:!0}),t(0)),r=t(1),l=r.kendoThemeMaps.sizeMap,u=r.kendoThemeMaps.roundedMap,t=(n=s.Component,o(a,n),a.prototype.render=function(){var e,t=this,n=this.props,i=n.size,o=n.rounded,a=n.fillMode,n=n.inputRef;return s.createElement("div",{className:"k-list-filter"},s.createElement("span",{className:r.classNames("k-searchbox k-input",((e={})["k-input-"+(l[i]||i)]=i,e["k-rounded-"+(u[o]||o)]=o,e["k-input-"+a]=a,e))},s.createElement("span",{className:"k-input-icon k-icon k-i-search"}),s.createElement("input",{ref:n||function(e){return t.input=e},value:this.props.value||"",className:"k-input-inner",onChange:this.props.onChange,onKeyDown:this.props.onKeyDown,tabIndex:this.props.tabIndex,onClick:function(e){return e.stopPropagation()}})))},a);function a(){return null!==n&&n.apply(this,arguments)||this}e.default=t},function(e,t,n){"use strict";var i,o,a=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=(Object.defineProperty(t,"__esModule",{value:!0}),n(0)),n=(o=s.Component,a(r,o),Object.defineProperty(r.prototype,"input",{get:function(){return this._input},enumerable:!0,configurable:!0}),r.prototype.componentDidUpdate=function(e){var t=e.value,e=e.suggestedText,n=this.props,i=n.value,o=n.suggestedText,n=n.focused,a=this.input,s=t!==i||o!==e,t=s&&t.startsWith(i)&&!(e&&o&&e.endsWith(o));n&&a&&document.activeElement!==a&&a.focus(),o&&s&&!t&&a&&a.setSelectionRange(i.length-o.length,i.length)},r.prototype.render=function(){var t=this,e=this.props,n=e.expanded,n=void 0!==n&&n,i=e.disabled,o=e.role,e=e.render,o=s.createElement("input",{autoComplete:"off",id:this.props.id,type:"text",key:"searchbar",size:this.props.size,placeholder:this.props.placeholder,className:"k-input-inner",tabIndex:this.props.tabIndex,accessKey:this.props.accessKey,role:void 0===o?"listbox":o,name:this.props.name,value:this.props.value,onChange:this.props.onChange,ref:function(e){return t._input=e},onKeyDown:this.props.onKeyDown,onFocus:this.props.onFocus,onBlur:this.props.onBlur,"aria-disabled":i||void 0,disabled:i||void 0,readOnly:this.props.readOnly||void 0,"aria-haspopup":"listbox","aria-expanded":n,"aria-owns":this.props.owns,"aria-activedescendant":n?this.props.activedescendant:void 0,"aria-describedby":this.props.ariaDescribedBy,"aria-labelledby":this.props.ariaLabelledBy});return e?e.call(void 0,o):o},r);function r(){return null!==o&&o.apply(this,arguments)||this}t.default=n},function(a,e,t){"use strict";var i,n,s=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),g=this&&this.__assign||function(){return(g=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},m=(Object.defineProperty(e,"__esModule",{value:!0}),t(0)),o=t(3),r=t(10),y=t(1),k=t(4),b=t(2),d=t(14),p=t(7),v=t(6),l=t(1),u=t(5),x=t(11),I=y.kendoThemeMaps.sizeMap,S=y.kendoThemeMaps.roundedMap,t=(n=m.Component,s(C,n),Object.defineProperty(C.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),Object.defineProperty(C.prototype,"value",{get:function(){return void 0!==this._valueDuringOnChange?this._valueDuringOnChange:void 0!==this.props.value?this.props.value:void 0!==this.state.value?this.state.value:void 0!==this.props.defaultValue?this.props.defaultValue:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(C.prototype,"index",{get:function(){var e=this.props,t=e.data,t=void 0===t?[]:t,n=e.dataItemKey,i=this.value;return t.findIndex(function(e){return b.areSame(e,i,n)})},enumerable:!0,configurable:!0}),Object.defineProperty(C.prototype,"name",{get:function(){return this.props.name},enumerable:!0,configurable:!0}),Object.defineProperty(C.prototype,"validity",{get:function(){var e=void 0!==this.props.validationMessage,t=!this.required||null!==this.value&&""!==this.value&&void 0!==this.value;return{customError:e,valid:void 0!==this.props.valid?this.props.valid:t,valueMissing:null===this.value}},enumerable:!0,configurable:!0}),Object.defineProperty(C.prototype,"validityStyles",{get:function(){return(void 0!==this.props.validityStyles?this.props:C.defaultProps).validityStyles},enumerable:!0,configurable:!0}),Object.defineProperty(C.prototype,"required",{get:function(){return(void 0!==this.props.required?this.props:C.defaultProps).required},enumerable:!0,configurable:!0}),C.prototype.componentDidUpdate=function(e,t){var n=this.props,i=n.data,i=void 0===i?[]:i,o=n.dataItemKey,n=n.virtual,a=e.virtual?e.virtual.total:0,s=(void 0!==this.props.opened?this.props:this.state).opened,r=(void 0!==e.opened?e:t).opened,l=!r&&s,u=this.value;this._valueOnDidUpdate=u,n&&n.total!==a?(this.base.vs.calcScrollElementHeight(),this.base.vs.reset()):(a=(void 0!==e.value?e:t).value,e=i.findIndex(function(e){return b.areSame(e,u,o)}),t=!b.areSame(a,u,o),l&&n?this.base.scrollToVirtualItem(n,e):(l&&!n||s&&r&&u&&t)&&this.base.scrollToItem(e)),l&&this._input&&this._input.focus(),this.setValidity()},C.prototype.componentDidMount=function(){this.base.didMount(),this.setValidity()},C.prototype.render=function(){var e=this.props,p=e.dir,d=e.disabled,t=e.clearButton,t=void 0===t?C.defaultProps.clearButton:t,n=e.label,i=e.textField,c=e.className,o=e.style,a=e.loading,h=e.iconClassName,s=e.virtual,r=e.size,l=e.rounded,e=e.fillMode,f=!this.validityStyles||this.validity.valid,u=void 0!==this.props.filter?this.props.filter:this.state.text,i=b.getItemValue(this.value,i),u=b.isPresent(u)?u:i,i=t&&(!!u||b.isPresent(this.value)),t=this.base.vs,v=this.props.id||this._inputId,l=(t.enabled=void 0!==s,void 0!==s&&(t.skip=s.skip,t.total=s.total,t.pageSize=s.pageSize),m.createElement("span",{className:y.classNames("k-combobox k-input",((t={})["k-input-"+(I[r]||r)]=r,t["k-rounded-"+(S[l]||l)]=l,t["k-input-"+e]=e,t["k-valid"]=f,t["k-invalid"]=!f,t["k-loading"]=a,t["k-required"]=this.required,t["k-disabled"]=d,t),c),ref:this.componentRef,style:n?g({},o,{width:void 0}):o,dir:p},this.renderSearchBar(u||"",v),i&&!a&&m.createElement(x.default,{onClick:this.clearButtonClick,key:"clearbutton"}),a&&m.createElement("span",{className:"k-icon k-i-loading",key:"loading"}),m.createElement("button",{tabIndex:-1,type:"button",className:y.classNames("k-input-button k-button k-icon-button",((s={})["k-button-"+(I[r]||r)]=r,s["k-button-"+e]=e,s["k-button-"+e+"-base"]=e,s)),onClick:this.toggleBtnClick,onMouseDown:function(e){return e.preventDefault()}},m.createElement("span",{className:y.classNames("k-button-icon k-icon k-i-arrow-s",h)})),this.renderListContainer()));return n?m.createElement(k.FloatingLabel,{label:n,editorId:v,editorValue:u,editorValid:f,editorDisabled:d,style:{width:o?o.width:void 0},children:l}):l},C.prototype.onNavigate=function(e,t){var n=this.props,i=n.data,i=void 0===i?[]:i,n=n.virtual,n=void 0===n?{skip:0}:n,o=this.props.filter||this.state.text,a=this.getFocusedIndex(),s=this.base.vs,r=this.value;this._suggested="",-1===a||b.isPresent(r)?""===o?this.handleItemSelect(0,e):(r=n.skip+a,void 0!==(o=this.base.navigation.navigate({keyCode:t,current:r,max:(s.enabled?s.total:i.length)-1,min:0}))&&this.handleItemSelect(o,e)):this.handleItemSelect(a,e)},C.prototype.applyValueOnEnter=function(e,t){var n=this.props,i=n.data,i=void 0===i?[]:i,o=n.textField,n=n.allowCustom,a=(void 0!==this.props.opened?this.props:this.state).opened,s=b.getItemValue(this.value,o)===e?this.index:b.getItemIndexByText(i,e,o),r=-1!==s,l=void 0;if(this._suggested="",r)l=i[s];else{if(!n)return this.selectFocusedItem(e,t);l=void 0!==o?((r={})[o]=e,r):e}this.triggerOnChange(l,t),a&&this.base.togglePopup(t),void 0===this.props.filter&&void 0!==this.state.text&&(t.data.text=void 0),this.applyState(t)},C.prototype.applyValueOnRejectSuggestions=function(e,t){var n=this.props,i=n.data,i=void 0===i?[]:i,o=n.textField,n=n.allowCustom,a=(void 0!==this.props.opened?this.props:this.state).opened,s=b.getItemValue(this.value,o);if(this._suggested="",e===s||""===e&&!b.isPresent(s))return a&&this.base.togglePopup(t),this.applyState(t);var s=b.getItemIndexByText(i,e,o,!0),r=null;-1!==s?r=i[s]:n&&(r=e?o?((i={})[o]=e,i):e:null),this.triggerOnChange(r,t),void 0!==this.state.text&&(t.data.text=void 0,this.base.filterChanged("",t)),a&&this.base.togglePopup(t),this.applyState(t)},C.prototype.selectFocusedItem=function(e,t){var n=(void 0!==this.props.opened?this.props:this.state).opened,i=this.props,o=i.data,a=i.textField,s=i.virtual,i=i.focusedItemIndex,i=void 0===i?b.itemIndexStartsWith:i,s=(void 0===s?{skip:0}:s).skip,i=""===e&&0===s?0:i(void 0===o?[]:o,e,a);return-1!==i?this.handleItemSelect(i+s,t):(this.triggerOnChange(null,t),void 0!==this.state.text&&(t.data.text=void 0)),n&&this.base.togglePopup(t),this.applyState(t)},C.prototype.renderListContainer=function(){var e=this.base,t=this.props,n=t.dir,i=t.header,o=t.footer,a=t.data,a=void 0===a?[]:a,s=t.groupField,t=t.size,r=(void 0!==this.props.opened?this.props:this.state).opened,l=e.getPopupSettings(),e=void 0!==l.width?l.width:e.popupWidth,u=this.state.group;return void 0===u&&void 0!==s&&(u=b.getItemValue(a[0],s)),m.createElement(p.default,{width:e,popupSettings:{animate:l.animate,anchor:this.element,show:r,popupClass:y.classNames(l.popupClass,"k-list",((s={})["k-list-"+(I[t]||t)]=t,s["k-virtual-list"]=this.base.vs.enabled,s)),className:l.className,appendTo:l.appendTo},dir:void 0!==n?n:this.base.dirCalculated,itemsCount:[a.length]},i&&m.createElement("div",{className:"k-list-header"},i),u&&m.createElement("div",{className:"k-group-header"},u),this.renderList(),o&&m.createElement("div",{className:"k-list-footer"},o))},C.prototype.renderList=function(){var t=this,e=this.base,n=this.props,i=n.textField,o=n.dataItemKey,p=n.listNoDataRender,d=n.itemRender,a=n.data,a=void 0===a?[]:a,n=n.virtual,n=void 0===n?{skip:0}:n,c=e.getPopupSettings(),s=e.vs,n=n.skip,r=(void 0!==this.props.opened?this.props:this.state).opened,h="translateY("+s.translate+"px)",f=r?this.getFocusedIndex():void 0,l=void 0!==this.props.filter?this.props.filter:this.state.text,u=b.getItemValue(this.value,i),l=b.isPresent(l)&&l!==u?null:this.value,u=this.props.list||v.default;return m.createElement(u,{id:e.listBoxId,show:r,data:a,focusedIndex:f,value:l,textField:i,valueField:o,groupField:this.props.groupField,optionsGuid:e.guid,listRef:function(e){s.list=t.base.list=e,t.itemHeight=0},wrapperStyle:{maxHeight:c.height},wrapperCssClass:"k-list-content",listStyle:s.enabled?{transform:h}:void 0,key:"listkey",skip:n,onClick:this.handleItemClick,itemRender:d,noDataRender:p,onMouseDown:function(e){return e.preventDefault()},onScroll:this.onScroll,wrapperRef:s.scrollerRef,scroller:this.base.renderScrollElement()})},C.prototype.renderSearchBar=function(e,t){var n=this,i=this.props,o=i.placeholder,a=i.tabIndex,s=i.disabled,r=i.data,r=void 0===r?[]:r,l=i.dataItemKey,i=i.virtual,i=void 0===i?{skip:0}:i,p=(void 0!==this.props.opened?this.props:this.state).opened,u=this.value,r=Math.max(0,r.findIndex(function(e){return b.areSame(e,u,l)}));return this._suggested&&!b.areSame(this._valueOnDidUpdate,u,l)&&(this._suggested=""),m.createElement(d.default,{id:t,placeholder:o,tabIndex:a||void 0,accessKey:this.props.accessKey,value:e+this._suggested,suggestedText:this._suggested,ref:function(e){return n._input=e&&e.input},onKeyDown:this.onInputKeyDown,onChange:this.inputOnChange,onFocus:this.base.handleFocus,onBlur:this.handleBlur,disabled:s,expanded:p,owns:this.base.listBoxId,activedescendant:this.base.guid+"-"+(r+i.skip),role:"combobox",ariaLabelledBy:this.props.ariaLabelledBy,ariaDescribedBy:this.props.ariaDescribedBy,render:this.props.valueRender})},C.prototype.triggerOnChange=function(e,t){var n=this.value;!b.isPresent(n)&&!b.isPresent(e)||b.areSame(n,e,this.props.dataItemKey)||(void 0===this.props.value&&(t.data.value=e),this._valueDuringOnChange=e,t.events.push({type:"onChange"}))},C.prototype.getFocusedIndex=function(){var t=this.value,e=this.props,n=e.data,n=void 0===n?[]:n,i=e.textField,o=e.dataItemKey,a=e.virtual,a=void 0===a?{skip:0}:a,e=e.focusedItemIndex,e=void 0===e?b.itemIndexStartsWith:e,s=this.props.filter||this.state.text;return b.isPresent(t)&&void 0===s?n.findIndex(function(e){return b.areSame(e,t,o)}):s?e(n,s,i):0===a.skip?0:-1},C.prototype.suggestValue=function(e){var t=this.props,n=t.data,t=t.textField;this._suggested=b.suggestValue(e,n,t)},C.prototype.applyState=function(e){this.base.applyState(e),this._valueDuringOnChange=void 0},C.displayName="ComboBox",C.propTypes=g({},r.default.propTypes,{size:o.oneOf([null,"small","medium","large"]),rounded:o.oneOf([null,"small","medium","large","full"]),fillMode:o.oneOf([null,"solid","flat","outline"]),dataItemKey:o.string,groupField:o.string,suggest:o.bool,placeholder:o.string,allowCustom:o.bool,clearButton:o.bool,iconClassName:o.string,validationMessage:o.string,required:o.bool,id:o.string,ariaLabelledBy:o.string,ariaDescribedBy:o.string,list:o.any,valueRender:o.func}),C.defaultProps=g({},r.default.defaultProps,{size:"medium",rounded:"medium",fillMode:"solid",allowCustom:!1,clearButton:!0,required:!1}),C);function C(e){var d=n.call(this,e)||this;return d.state={},d.base=new r.default(d),d._inputId=y.guid(),d._suggested="",d.itemHeight=0,d.focus=function(){d._input&&d._input.focus()},d.handleItemSelect=function(e,t){var n=d.props,i=n.data,o=n.virtual,n=n.dataItemKey,i=(void 0===i?[]:i)[e-(o?o.skip:0)],e=!b.areSame(i,d.value,n);d.triggerOnChange(i,t),void 0!==d.state.text&&(t.data.text=void 0),e&&d.base.triggerPageChangeCornerItems(i,t)},d.componentRef=function(e){d._element=e,d.base.wrapper=e},d.toggleBtnClick=function(e){var t=d.base.initState();t.syntheticEvent=e,d.base.togglePopup(t),d.applyState(t)},d.onScroll=function(e){var t=d.base,n=t.vs,t=t.list,i=(n.scrollHandler(e),d.props),o=i.data,a=void 0===o?[]:o,s=i.groupField;if(s&&a.length){for(var r=d.itemHeight=d.itemHeight||(n.enabled?n.itemHeight:t?t.children[0].offsetHeight:0),p=e.target.scrollTop-n.skip*r,l=a[0][s],u=1;u<a.length&&!(p<r*u);u++)a[u]&&a[u][s]&&(l=a[u][s]);l!==d.state.group&&d.setState({group:l})}},d.handleItemClick=function(e,t){d.base.handleItemClick(e,t),d._valueDuringOnChange=void 0},d.handleBlur=function(e){var t;d.state.focused&&((t=d.base.initState()).data.focused=!1,t.events.push({type:"onBlur"}),t.syntheticEvent=e,d.applyValueOnRejectSuggestions(e.currentTarget.value,t))},d.onInputKeyDown=function(e){var t=e.keyCode,n=(void 0!==d.props.opened?d.props:d.state).opened,i=d.base.initState();if(!(i.syntheticEvent=e).altKey&&(t===y.Keys.up||t===y.Keys.down))return e.preventDefault(),d.onNavigate(i,t),void d.applyState(i);function o(){e.preventDefault(),d.base.togglePopup(i),d.applyState(i)}n?e.altKey&&t===y.Keys.up?o():t===y.Keys.enter?(e.preventDefault(),d.applyValueOnEnter(e.currentTarget.value,i)):t===y.Keys.esc&&d.applyValueOnRejectSuggestions(e.currentTarget.value,i):e.altKey&&t===y.Keys.down&&o()},d.inputOnChange=function(e){var t,n,i=d.base.initState(),o=(i.syntheticEvent=e,(void 0!==d.props.opened?d.props:d.state).opened),e=e.currentTarget,a=e.value;d.props.suggest&&(e=e.selectionEnd===a.length,n=void 0!==d.props.filter?d.props.filter:d.state.text,t=(n=b.isPresent(n)?n:b.getItemValue(d.value,d.props.textField)||"")&&n===a,n=n&&n.length>a.length,t||n||!e?d._suggested="":d.suggestValue(a)),void 0===d.props.filter&&(i.data.text=a),void 0!==d.state.focusedItem&&(i.data.focusedItem=void 0),o||d.base.togglePopup(i),d.base.filterChanged(a,i),d.applyState(i)},d.clearButtonClick=function(e){var t=d.base.initState();(t.syntheticEvent=e).stopPropagation(),d._suggested="",d.base.filterChanged("",t),void 0===d.props.filter&&void 0!==d.state.text&&(t.data.text=void 0),d.triggerOnChange(null,t),(void 0!==d.props.opened?d.props:d.state).opened&&d.base.togglePopup(t),d.applyState(t)},d.setValidity=function(){d._input&&d._input.setCustomValidity&&d._input.setCustomValidity(d.validity.valid?"":d.props.validationMessage||"Please enter a valid value!")},l.validatePackage(u.packageMetadata),d}e.ComboBoxWithoutContext=t,e.ComboBoxPropsContext=y.createPropsContext(),e.ComboBox=y.withPropsContext(e.ComboBoxPropsContext,t),e.ComboBox.displayName="KendoReactComboBox"},function(s,e,t){"use strict";function u(e){return e.syntheticEvent.preventDefault()}function p(e){return e.syntheticEvent.stopPropagation()}var i,n,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),d=(Object.defineProperty(e,"__esModule",{value:!0}),t(0)),c=t(28),t=(n=d.Component,o(a,n),a.prototype.render=function(){var e=this.props,n=e.data,i=e.guid,o=e.focused,a=e.tagRender,s=e.tag,r=e.onTagDelete,l=e.size;return d.createElement(d.Fragment,null,n.map(function(t,e){e=s?d.createElement(s,{key:t.text+e,tagData:t,guid:i,focusedTag:o,onTagDelete:r}):d.createElement(c.Chip,{id:"tag-"+i+"-"+t.text.replace(/\s+/g,"-"),"aria-selected":!0,role:"option","aria-setsize":n.length,key:t.text+e,text:t.text,removable:!0,removeIcon:"k-i-close",onRemove:function(e){return r.call(void 0,t.data,e.syntheticEvent)},onMouseDown:u,onClick:p,className:t===o?"k-focus":void 0,size:l});return a?a(t,e):e}),this.props.children)},a);function a(){return null!==n&&n.apply(this,arguments)||this}e.default=t},function(e,t){e.exports=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(0);t.useDropdownWidth=function(e,t,n){var t=a.useState(t),i=t[0],o=t[1];return a.useEffect(function(){void 0!==i&&e.current&&o(e.current.offsetWidth)},n),i}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0);t.ListNoData=function(e){return i.createElement("div",{className:"k-nodata"},i.createElement("div",null,e.children))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o=n(21),o=(t.DropDownList=o.DropDownList,t.DropDownListPropsContext=o.DropDownListPropsContext,n(15)),o=(t.ComboBox=o.ComboBox,t.ComboBoxPropsContext=o.ComboBoxPropsContext,n(26)),o=(t.AutoComplete=o.AutoComplete,t.AutoCompletePropsContext=o.AutoCompletePropsContext,n(27)),o=(t.MultiSelect=o.MultiSelect,t.MultiSelectPropsContext=o.MultiSelectPropsContext,n(30)),o=(t.MultiColumnComboBox=o.MultiColumnComboBox,t.MultiColumnComboBoxPropsContext=o.MultiColumnComboBoxPropsContext,n(32)),o=(t.DropDownTree=o.DropDownTree,t.DropDownTreePropsContext=o.DropDownTreePropsContext,n(33)),a=(t.MultiSelectTree=o.MultiSelectTree,t.MultiSelectTreePropsContext=o.MultiSelectTreePropsContext,n(34));for(i in a)t.hasOwnProperty(i)||(t[i]=a[i]);var s,r=t;for(s in r)l(s,r[s])},function(s,e,t){"use strict";var i,n,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),k=this&&this.__assign||function(){return(k=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},x=(Object.defineProperty(e,"__esModule",{value:!0}),t(0)),o=t(3),I=t(1),_=t(4),u=t(7),l=t(13),p=t(22),d=t(6),c=t(10),S=t(2),h=t(1),f=t(5),w=I.kendoThemeMaps.sizeMap,P=I.kendoThemeMaps.roundedMap,t=(n=x.Component,r(a,n),Object.defineProperty(a.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"value",{get:function(){var e;return void 0!==this._valueDuringOnChange?e=this._valueDuringOnChange:void 0!==this.props.value?e=this.props.value:void 0!==this.state.value?e=this.state.value:void 0!==this.props.defaultValue&&(e=this.props.defaultValue),e=S.isPresent(e)||void 0===this.props.defaultItem?e:this.props.defaultItem},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"index",{get:function(){var e=this.props,t=e.data,t=void 0===t?[]:t,n=e.dataItemKey,i=this.value;return t.findIndex(function(e){return S.areSame(e,i,n)})},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"name",{get:function(){return this.props.name},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"validity",{get:function(){var e=void 0!==this.props.validationMessage,t=!this.required||null!==this.value&&""!==this.value&&void 0!==this.value;return{customError:e,valid:void 0!==this.props.valid?this.props.valid:t,valueMissing:null===this.value}},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"validityStyles",{get:function(){return(void 0!==this.props.validityStyles?this.props:a.defaultProps).validityStyles},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"required",{get:function(){return(void 0!==this.props.required?this.props:a.defaultProps).required},enumerable:!0,configurable:!0}),a.prototype.componentDidUpdate=function(e,t){var n,i=this.props,o=i.data,o=void 0===o?[]:o,a=i.dataItemKey,i=i.virtual,s=e.virtual?e.virtual.total:0,r=(void 0!==this.props.opened?this.props:this.state).opened,l=(void 0!==e.opened?e:t).opened,u=!l&&r;this.base.getPopupSettings().animate||u&&this.onPopupOpened(),i&&i.total!==s?(this.base.vs.calcScrollElementHeight(),this.base.vs.reset()):(n=this.value,s=(void 0!==e.value?e:t).value,e=o.findIndex(function(e){return S.areSame(e,n,a)}),t=!S.areSame(s,n,a),u&&i?this.base.scrollToVirtualItem(i,e):u&&!i||r&&l&&n&&t&&!this._navigated?this.base.scrollToItem(e):r&&l&&this._navigated&&(this._navigated&&i&&0===i.skip?this.base.vs.reset():this._navigated&&i&&i.skip===i.total-i.pageSize&&this.base.vs.scrollToEnd())),this._navigated=!1,this.setValidity()},a.prototype.componentDidMount=function(){this.base.didMount(),this.setValidity()},a.prototype.render=function(){var e=this.props,t=e.style,n=e.className,p=e.label,d=e.dir,i=e.virtual,o=e.size,a=e.rounded,e=e.fillMode,c=(void 0!==this.props.opened?this.props:this.state).opened,s=this.value,h=S.getItemValue(s,this.props.textField),f=!this.validityStyles||this.validity.valid,r=this.base,r=(r.vs.enabled=void 0!==i,void 0!==i&&(r.vs.skip=i.skip,r.vs.total=i.total,r.vs.pageSize=i.pageSize),this.props),v=r.dataItemKey,l=r.data,l=void 0===l?[]:l,g=r.disabled,m=r.tabIndex,y=r.loading,b=r.iconClassName,r=r.valueRender,C=this.state.focused,l=l.findIndex(function(e){return S.areSame(e,s,v)}),u=x.createElement("span",{className:"k-input-inner"},x.createElement("span",{className:"k-input-value-text"},h)),r=void 0!==r?r.call(void 0,u,s):u,a=x.createElement("span",{ref:this.componentRef,className:I.classNames("k-dropdownlist k-picker",n,((u={})["k-picker-"+(w[o]||o)]=o,u["k-rounded-"+(P[a]||a)]=a,u["k-picker-"+e]=e,u["k-focused"]=C,u["k-disabled"]=g,u["k-invalid"]=!f,u["k-valid"]=f,u["k-loading"]=y,u["k-required"]=this.required,u)),style:p?k({},t,{width:void 0}):t,dir:d,onMouseDown:c?S.preventDefaultNonInputs:void 0,onFocus:this.handleFocus,onBlur:this.handleBlur,tabIndex:I.getTabIndex(m,g),accessKey:this.props.accessKey,onKeyDown:this.handleKeyDown,onKeyPress:this.handleKeyPress,onClick:g?void 0:this.handleWrapperClick,role:"listbox","aria-disabled":g||void 0,"aria-haspopup":!0,"aria-expanded":c||!1,"aria-owns":this.base.listBoxId,"aria-activedescendant":c?"option-"+this.base.guid+"-"+(l+(i?i.skip:0)):void 0,"aria-label":this.props.label,"aria-labelledby":this.props.ariaLabelledBy,"aria-describedby":this.props.ariaDescribedBy,id:this.props.id,title:this.props.title},r,y&&x.createElement("span",{className:"k-icon k-i-loading",key:"loading"}),x.createElement("button",{tabIndex:-1,type:"button",className:I.classNames("k-input-button k-button k-icon-button",((n={})["k-button-"+(w[o]||o)]=o,n["k-button-"+e]=e,n["k-button-"+e+"-base"]=e,n)),onMouseDown:function(e){return e.preventDefault()}},x.createElement("span",{className:I.classNames("k-button-icon k-icon k-i-arrow-s",b)})),this.dummySelect(s),this.renderListContainer());return p?x.createElement(_.FloatingLabel,{label:p,editorValue:h,editorValid:f,editorDisabled:this.props.disabled,style:{width:t?t.width:void 0},children:a}):a},a.prototype.onNavigate=function(e,t){var n=this.props,i=n.data,i=void 0===i?[]:i,o=n.defaultItem,a=n.dataItemKey,n=n.virtual,n=void 0===n?{skip:0,total:0,pageSize:0}:n,s=this.base.vs,r=this.value,l=i.findIndex(function(e){return S.areSame(e,r,a)}),l=this.base.navigation.navigate({current:n.skip+l,max:(s.enabled?n.total:i.length)-1,min:void 0!==o?-1:0,keyCode:t});void 0!==l&&this.handleItemSelect(l,e),this.applyState(e)},a.prototype.focusedIndex=function(){var e=S.isPresent(this.props.filter)?this.props.filter:this.state.text,t=this.props,n=t.data,n=void 0===n?[]:n,i=t.virtual,i=void 0===i?{skip:0}:i,o=t.dataItemKey,a=t.textField,t=t.focusedItemIndex,s=this.value,r=!(n.findIndex(function(e){return S.areSame(e,s,o)})<0&&!this.props.defaultItem);return!r&&e&&0===i.skip?t?t(n,e,a):n.indexOf(S.getFocusedItem(n,e,a)):r||0!==i.skip?void 0:0},a.prototype.focusElement=function(e){var t=this;this._skipFocusEvent=!0,e.focus(),window.setTimeout(function(){return t._skipFocusEvent=!1},30)},a.prototype.triggerOnChange=function(e,t){S.areSame(this.value,e,this.props.dataItemKey)||(void 0===this.props.value&&(t.data.value=e),this._valueDuringOnChange=e,t.events.push({type:"onChange"}))},a.prototype.applyState=function(e){this.base.applyState(e),this._valueDuringOnChange=void 0},a.displayName="DropDownList",a.propTypes=k({delay:o.number,ignoreCase:o.bool,iconClassName:o.string,defaultItem:o.any,valueRender:o.func,valueMap:o.func,validationMessage:o.string,required:o.bool,id:o.string,ariaLabelledBy:o.string,ariaDescribedBy:o.string,leftRightKeysNavigation:o.bool,title:o.string},c.default.propTypes),a.defaultProps=k({delay:500,tabIndex:0,ignoreCase:!0},c.default.defaultProps,{required:!1,size:"medium",rounded:"medium",fillMode:"solid"}),a);function a(e){var v=n.call(this,e)||this;return v.state={},v.base=new c.default(v),v.searchState={word:"",last:""},v._skipFocusEvent=!1,v._filterInput=null,v._navigated=!1,v.focus=function(){v.base.wrapper&&v.base.wrapper.focus()},v.handleItemSelect=function(e,t){var n=v.props,i=n.data,o=n.virtual,a=n.dataItemKey,n=n.defaultItem,o=o?o.skip:0,n=-1===e&&void 0!==n?n:(void 0===i?[]:i)[e-o],i=!S.areSame(n,v.value,a);v.triggerOnChange(n,t),i&&v.base.triggerPageChangeCornerItems(n,t)},v.componentRef=function(e){v._element=e,v.base.wrapper=e},v.dummySelect=function(e){return x.createElement("select",{name:v.props.name,ref:function(e){v._select=e},tabIndex:-1,"aria-hidden":!0,title:v.props.label,style:{opacity:0,width:1,border:0,zIndex:-1,position:"absolute",left:"50%"}},x.createElement("option",{value:v.props.valueMap?v.props.valueMap.call(void 0,e):e}))},v.renderListContainer=function(){var e=v.props,t=e.header,n=e.footer,i=e.dir,o=e.data,o=void 0===o?[]:o,e=e.size,a=v.base,s=a.getPopupSettings(),r=(void 0!==v.props.opened?v.props:v.state).opened,l=void 0!==s.width?s.width:a.popupWidth,a={dir:void 0!==i?i:a.dirCalculated,width:l,popupSettings:{popupClass:I.classNames(s.popupClass,"k-list",((i={})["k-list-"+(w[e]||e)]=e,i["k-virtual-list"]=v.base.vs.enabled,i)),className:s.className,animate:s.animate,anchor:v.element,show:r,onOpen:v.onPopupOpened,onClose:v.onPopupClosed,appendTo:s.appendTo},itemsCount:[o.length]};return x.createElement(u.default,k({},a),v.renderListFilter(),v.renderDefaultItem(),t&&x.createElement("div",{className:"k-list-header"},t),v.renderList(),n&&x.createElement("div",{className:"k-list-footer"},n))},v.renderList=function(){var e=v.props,t=e.data,t=void 0===t?[]:t,n=e.textField,i=e.dataItemKey,o=e.virtual,a=e.listNoDataRender,e=e.itemRender,s=v.base.vs,o=(void 0===o?{skip:0}:o).skip,r=(void 0!==v.props.opened?v.props:v.state).opened,l=v.base.getPopupSettings(),u="translateY("+s.translate+"px)";return x.createElement(d.default,{id:v.base.listBoxId,show:r,data:t.slice(),focusedIndex:v.focusedIndex(),value:v.value,textField:n,valueField:i,optionsGuid:v.base.guid,listRef:function(e){return s.list=v.base.list=e},wrapperStyle:{maxHeight:l.height},wrapperCssClass:"k-list-content",listStyle:s.enabled?{transform:u}:void 0,key:"listkey",skip:o,onClick:v.handleItemClick,itemRender:e,noDataRender:a,onScroll:function(e){s.scrollHandler(e)},wrapperRef:s.scrollerRef,scroller:v.base.renderScrollElement()})},v.renderListFilter=function(){var e=void 0!==v.props.filter?v.props.filter:v.state.text;return v.props.filterable&&x.createElement(l.default,{value:e,ref:function(e){return v._filterInput=e&&e.input},onChange:v.handleListFilterChange,onKeyDown:v.handleKeyDown,size:v.props.size,rounded:v.props.rounded,fillMode:v.props.fillMode})},v.renderDefaultItem=function(){var e=v.props,t=e.textField,n=e.defaultItem,e=e.dataItemKey;return void 0!==n&&x.createElement(p.default,{defaultItem:n,textField:t,selected:S.areSame(v.value,n,e),key:"defaultitemkey",onClick:v.handleDefaultItemClick})},v.search=function(e){clearTimeout(v._typingTimeout),v.props.filterable||(v._typingTimeout=window.setTimeout(function(){return v.searchState.word=""},v.props.delay),v.selectNext(e))},v.selectNext=function(p){var e,t=v.props,n=t.data,n=void 0===n?[]:n,d=t.dataItemKey,i=n.map(function(e,t){return{item:e,itemIndex:t}}),o=v.searchState.word,a=v.searchState.last,s=S.sameCharsOnly(o,a),r=i.length,t=Math.max(0,n.findIndex(function(e){return S.areSame(e,v.value,d)}));v.props.defaultItem&&(e={item:v.props.defaultItem,itemIndex:-1},r+=1,t+=1);for(var c,l,i=S.shuffleData(i,t+=s?1:0,e),u=0,n=v.props,h=n.textField,f=n.ignoreCase;u<r;u++)if(l=S.getItemValue(i[u].item,h),c=s&&S.matchText(l,a,f),l=S.matchText(l,o,f),c||l){u=i[u].itemIndex;break}u!==r&&((t=v.base.initState()).syntheticEvent=p,v.handleItemSelect(u,t),v.applyState(t),v._valueDuringOnChange=void 0)},v.handleKeyDown=function(e){var t=v.props,n=t.data,n=void 0===n?[]:n,i=t.filterable,o=t.disabled,a=t.leftRightKeysNavigation,t=t.virtual,t=void 0===t?{skip:0,total:0,pageSize:0}:t,s=(void 0!==v.props.opened?v.props:v.state).opened,r=e.keyCode,l=r===I.Keys.home||r===I.Keys.end,u=r===I.Keys.up||r===I.Keys.down,p=!s&&(e.altKey&&r===I.Keys.down||r===I.Keys.enter||r===I.Keys.space),d=s&&(e.altKey&&r===I.Keys.up||r===I.Keys.esc),a=(void 0===a||a)&&(r===I.Keys.left||r===I.Keys.right),u=u||!i&&(a||l),i=v.base.initState();i.syntheticEvent=e,o||(l&&v.base.vs.enabled?r===I.Keys.home?0!==t.skip?(v.base.triggerOnPageChange(i,0,t.pageSize),v._navigated=!0):v.triggerOnChange(n[0],i):t.skip<t.total-t.pageSize?(v.base.triggerOnPageChange(i,t.total-t.pageSize,t.pageSize),v._navigated=!0):v.triggerOnChange(n[n.length-1],i):s&&r===I.Keys.enter?(void 0!==(a=v.focusedIndex())&&v.handleItemSelect(a,i),v.base.togglePopup(i),e.preventDefault()):p||d?(v.base.togglePopup(i),e.preventDefault()):u&&(v.onNavigate(i,r),e.preventDefault()),v.applyState(i))},v.handleItemClick=function(e,t){v.base.handleItemClick(e,t),v._valueDuringOnChange=void 0},v.handleFocus=function(e){v._skipFocusEvent||v.base.handleFocus(e)},v.handleBlur=function(e){var t,n;!v._skipFocusEvent&&v.state.focused&&(t=(void 0!==v.props.opened?v.props:v.state).opened,(n=v.base.initState()).syntheticEvent=e,n.data.focused=!1,n.events.push({type:"onBlur"}),t&&v.base.togglePopup(n),v.applyState(n))},v.handleDefaultItemClick=function(e){var t=v.base.initState();t.syntheticEvent=e,v.base.togglePopup(t),v.triggerOnChange(v.props.defaultItem,t),v.applyState(t)},v.handleWrapperClick=function(e){var t;e.isPropagationStopped()||((t=v.base.initState()).syntheticEvent=e,v.state.focused||(t.data.focused=!0),v.base.togglePopup(t),v.applyState(t))},v.handleKeyPress=function(e){var t;v.props.filterable||0===e.which||e.keyCode===I.Keys.enter||(t=String.fromCharCode(e.charCode||e.keyCode)," "===(t=v.props.ignoreCase?t.toLowerCase():t)&&e.preventDefault(),v.searchState={word:v.searchState.word+t,last:v.searchState.last+t},v.search(e))},v.handleListFilterChange=function(e){var t=v.base.initState();t.syntheticEvent=e,void 0===v.props.filter&&(t.data.text=e.target.value),v.base.filterChanged(e.target.value,t),v.applyState(t)},v.onPopupOpened=function(){v._filterInput&&v.focusElement(v._filterInput)},v.onPopupClosed=function(){v.state.focused&&window.setTimeout(function(){v.state.focused&&v.base.wrapper&&v.focusElement(v.base.wrapper)})},v.setValidity=function(){v._select&&v._select.setCustomValidity&&v._select.setCustomValidity(v.validity.valid?"":v.props.validationMessage||"Please select a value from the list!")},h.validatePackage(f.packageMetadata),v}e.DropDownListWithoutContext=t,e.DropDownListPropsContext=I.createPropsContext(),e.DropDownList=I.withPropsContext(e.DropDownListPropsContext,t),e.DropDownList.displayName="KendoReactDropDownList"},function(p,e,t){"use strict";function i(e){return e.preventDefault()}var o,n,a=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=(Object.defineProperty(e,"__esModule",{value:!0}),t(0)),r=t(1),l=t(2),t=(n=s.Component,a(u,n),u.prototype.render=function(){var e=this.props,t=e.selected,n=e.defaultItem,e=e.textField;return s.createElement("div",{onClick:this.props.onClick,onMouseDown:i,style:{position:"unset"},className:r.classNames("k-list-optionlabel",{"k-selected":t})},l.getItemValue(n,e)||"")},u);function u(){return null!==n&&n.apply(this,arguments)||this}e.default=t},function(u,e,t){"use strict";var i,n,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=(Object.defineProperty(e,"__esModule",{value:!0}),t(0)),s=t(1),r=t(2),t=(n=a.Component,o(l,n),l.prototype.render=function(){var e=this.props,t=e.selected,n=e.group,i=e.dataItem,e=e.render,t=a.createElement("li",{id:this.props.id,role:"option","aria-selected":t,className:s.classNames("k-list-item",{"k-selected":t,"k-focus":this.props.focused,"k-first":Boolean(n)}),onClick:this.handleClick,style:{position:"unset"}},a.createElement("span",{className:"k-list-item-text"},r.getItemValue(i,this.props.textField).toString()),void 0!==n?a.createElement("div",{className:"k-group"},n):null);return void 0!==e?e.call(void 0,t,this.props):t},l);function l(){var t=null!==n&&n.apply(this,arguments)||this;return t.handleClick=function(e){return t.props.onClick(t.props.index,e)},t}e.default=t},function(e,t,n){"use strict";function i(){var n=this;this.containerHeight=0,this.skip=0,this.total=0,this.enabled=!1,this.pageSize=0,this.itemHeight=0,this.prevScrollPos=0,this.listTranslate=0,this.scrollSyncing=!1,this.scrollerRef=function(e){var t=n;(t.container=e)&&(e.setAttribute("unselectable","on"),window.setTimeout(t.calcScrollElementHeight.bind(t),0))},this.calcScrollElementHeight=function(){var e=!(n.scrollSyncing=!0),t=(n.itemHeight=n.list?n.list.children[0].offsetHeight:n.itemHeight,n.containerHeight=Math.min(1533915,n.itemHeight*n.total),n.containerHeight);return n.scrollElement&&(e=n.scrollElement.style.height!==t+"px")&&(n.scrollElement.style.height=t+"px"),n.scrollSyncing=!1,e},this.scrollHandler=this.scrollHandler.bind(this)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(i.prototype,"translate",{get:function(){return this.listTranslate},enumerable:!0,configurable:!0}),i.prototype.changePage=function(e,t){e=Math.min(Math.max(0,e),this.total-this.pageSize);e!==this.skip&&this.PageChange({skip:e,take:this.pageSize},t)},i.prototype.translateTo=function(e){this.listTranslate=e,this.list&&(this.list.style.transform="translateY("+e+"px)")},i.prototype.reset=function(){this.container&&(this.calcScrollElementHeight(),this.container.scrollTop=0,this.translateTo(0))},i.prototype.scrollToEnd=function(){this.container&&this.list&&(this.calcScrollElementHeight(),this.container.scrollTop=this.container.scrollHeight-this.container.offsetHeight,this.translateTo(this.container.scrollHeight))},i.prototype.localScrollUp=function(e){var t,n=this.itemHeight,i=this.container.scrollTop,o=this.listTranslate,a=i-o;if(!(n<a)){for(t=0;t<this.skip&&!(o+n+a<=i);t++)o-=n;if(o=this.validateTranslate(o),this.skip-t<=0&&i<=o)return this.translateTo(0),this.changePage(0,e),void(this.container.scrollTop=0);o!==this.listTranslate&&(this.translateTo(o),this.changePage(this.skip-t,e))}},i.prototype.localScrollDown=function(e){for(var t=this.itemHeight,n=this.container.scrollTop,i=this.listTranslate,o=this.list.children.length,a=0;a<o&&!(n<=i+t);a++)i+=t;i=this.validateTranslate(i),o<=a&&this.skip+a>=this.total?(this.translateTo(i),this.changePage(this.total-1,e)):i!==this.listTranslate&&(this.translateTo(i),this.changePage(this.skip+a,e))},i.prototype.scrollNonStrict=function(e){var t=this.total*this.prevScrollPos/this.containerHeight,n=Math.min(Math.floor(t),this.total-1),t=this.containerHeight*t/this.total,t=this.validateTranslate(t);this.translateTo(t),this.changePage(n,e)},i.prototype.scrollHandler=function(e){var t=this.container?this.container.scrollTop:0,n=this.prevScrollPos;this.prevScrollPos=t,this.enabled&&this.list&&this.container&&!this.scrollSyncing&&(t-n<=0&&t>this.listTranslate-this.list.scrollHeight/10?this.localScrollUp(e):0<t-n&&t<this.listTranslate+2*this.list.scrollHeight/3?this.localScrollDown(e):this.scrollNonStrict(e))},i.prototype.validateTranslate=function(e){return e=Math.max(0,e),Math.min(this.containerHeight,e)},t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(1);function a(){}a.prototype.navigate=function(e){var t=e.keyCode;return t===o.Keys.up||t===o.Keys.left?this.next({current:e.current,min:e.min,max:e.max,step:-1}):t===o.Keys.down||t===o.Keys.right?this.next({current:e.current,min:e.min,max:e.max,step:1}):t===o.Keys.home?0:t===o.Keys.end?e.max:void 0},a.prototype.next=function(e){return i.isPresent(e.current)?Math.min(e.max,Math.max(e.current+e.step,e.min)):e.min},t.Navigation=a},function(s,e,t){"use strict";var i,n,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),g=this&&this.__assign||function(){return(g=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},m=(Object.defineProperty(e,"__esModule",{value:!0}),t(0)),o=t(3),p=t(14),u=t(7),d=t(6),c=t(10),l=t(2),y=t(1),b=t(4),h=t(1),f=t(5),C=t(11),k=y.kendoThemeMaps.sizeMap,x=y.kendoThemeMaps.roundedMap,t=(n=m.Component,r(a,n),Object.defineProperty(a.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"value",{get:function(){return void 0!==this._valueDuringOnChange?this._valueDuringOnChange:void 0!==this.props.value?this.props.value:void 0!==this.state.value?this.state.value:void 0!==this.props.defaultValue?this.props.defaultValue:""},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"name",{get:function(){return this.props.name},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"validity",{get:function(){var e=void 0!==this.props.validationMessage,t=!this.required||""!==this.value;return{customError:e,valid:void 0!==this.props.valid?this.props.valid:t,valueMissing:null===this.value}},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"validityStyles",{get:function(){return(void 0!==this.props.validityStyles?this.props:a.defaultProps).validityStyles},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"required",{get:function(){return(void 0!==this.props.required?this.props:a.defaultProps).required},enumerable:!0,configurable:!0}),a.prototype.componentDidUpdate=function(e,t){var n=this.props.data,n=void 0===n?[]:n,i=e.data,i=void 0===i?[]:i,o=this.focusedIndex(),a=n[o],a=void 0!==a&&t.focusedItem!==a,s=(void 0!==this.props.opened?this.props:this.state).opened,e=(void 0!==e.opened?e:t).opened;(s&&(a||i!==n)||!e&&s)&&this.base.scrollToItem(o),this.setValidity()},a.prototype.componentDidMount=function(){this.base.didMount(),this.setValidity()},a.prototype.render=function(){var p=this,e=this.props,d=e.dir,c=e.disabled,t=e.label,n=e.className,i=e.style,o=e.loading,a=e.suggest,s=e.size,r=e.rounded,e=e.fillMode,l=!this.validityStyles||this.validity.valid,h=this.base,u=this.value,f=!1!==this.props.clearButton&&!o&&!!u,v=this.props.id||this._inputId,n=("string"==typeof a&&(this._suggested=a),m.createElement("span",{className:y.classNames("k-autocomplete k-input",n,((a={})["k-input-"+(k[s]||s)]=s,a["k-rounded-"+(x[r]||r)]=r,a["k-input-"+e]=e,a["k-valid"]=l,a["k-invalid"]=!l,a["k-loading"]=o,a["k-required"]=this.required,a["k-disabled"]=c,a)),ref:function(e){p._element=e,h.wrapper=e},style:t?g({},i,{width:void 0}):i,dir:d},this.renderSearchBar(u||"",v),o&&m.createElement("span",{className:"k-icon k-i-loading"}),f&&!o&&m.createElement(C.default,{onClick:this.clearButtonClick,key:"clearbutton"}),this.renderListContainer()));return t?m.createElement(b.FloatingLabel,{label:t,editorId:v,editorValue:u,editorValid:l,editorDisabled:c,style:{width:i?i.width:void 0},children:n}):n},a.prototype.onNavigate=function(e,t){var n=this,i=this.value,o=this.props,a=o.data,a=void 0===a?[]:a,s=o.textField,o=o.focusedItemIndex,o=void 0!==this.state.focusedItem?a.findIndex(function(e){return l.areSame(e,n.state.focusedItem,s)}):o?o(a,i,s):a.indexOf(l.getFocusedItem(a,i,s)),i=this.base.navigation.navigate({keyCode:t,current:o,max:a.length-1,min:0});void 0!==i&&this.itemFocus(i,e),this.applyState(e)},a.prototype.applyInputValue=function(e,t,n){var i=(void 0!==this.props.opened?this.props:this.state).opened,o=this.props,a=o.data,a=void 0===a?[]:a,o=o.textField;this._suggested="",i&&n===y.Keys.enter&&(n=l.getItemValue(a[this.focusedIndex(e)],o),this.triggerOnChange(n,t)),i&&this.togglePopup(t),this.applyState(t)},a.prototype.renderSearchBar=function(e,t){var n=this,i=this.base,o=this.props,a=o.placeholder,s=o.tabIndex,r=o.disabled,o=o.readonly,l=this.state.focused,u=(void 0!==this.props.opened?this.props:this.state).opened;return m.createElement(p.default,{id:t,placeholder:a,tabIndex:s||void 0,accessKey:this.props.accessKey,value:e,suggestedText:this._suggested,focused:l,name:this.props.name,ref:function(e){return n._input=e&&e.input},onKeyDown:this.onInputKeyDown,onChange:this.onChangeHandler,onFocus:i.handleFocus,onBlur:this.handleBlur,disabled:r,readOnly:o,expanded:u,owns:i.listBoxId,activedescendant:"option-"+i.guid+"-"+this.focusedIndex(),role:"combobox",ariaLabelledBy:this.props.ariaLabelledBy,ariaDescribedBy:this.props.ariaDescribedBy,render:this.props.valueRender})},a.prototype.renderListContainer=function(){var e=this.base,t=this.props,n=t.dir,i=t.header,o=t.footer,a=t.data,a=void 0===a?[]:a,t=t.size,s=e.getPopupSettings(),r=(void 0!==this.props.opened?this.props:this.state).opened,e=void 0!==s.width?s.width:e.popupWidth;return m.createElement(u.default,{width:e,popupSettings:{animate:s.animate,anchor:this.element,show:r,popupClass:y.classNames(s.popupClass,"k-list",((e={})["k-list-"+(k[t]||t)]=t,e)),className:s.className,appendTo:s.appendTo},dir:void 0!==n?n:this.base.dirCalculated,itemsCount:[a.length]},i&&m.createElement("div",{className:"k-list-header"},i),this.renderList(),o&&m.createElement("div",{className:"k-list-footer"},o))},a.prototype.renderList=function(){var t=this.base,e=t.getPopupSettings(),n=this.props,i=n.textField,o=n.data,o=void 0===o?[]:o,a=n.listNoDataRender,n=n.itemRender,s=this.value,r=(void 0!==this.props.opened?this.props:this.state).opened;return m.createElement(d.default,{id:t.listBoxId,show:r,data:o.slice(),focusedIndex:this.focusedIndex(),value:s,textField:i,valueField:i,highlightSelected:!1,optionsGuid:t.guid,listRef:function(e){return t.list=e},wrapperStyle:{maxHeight:e.height},wrapperCssClass:"k-list-content",onClick:this.handleItemClick,itemRender:n,noDataRender:a,onMouseDown:function(e){return e.preventDefault()}})},a.prototype.triggerOnChange=function(e,t,n){this.value===e&&!n||(t.data.value=e,this._valueDuringOnChange=e,t.events.push(g({type:"onChange"},n||{})))},a.prototype.applyState=function(e){this.base.applyState(e),this._valueDuringOnChange=void 0},a.prototype.suggestValue=function(e){var t,n;this._suggested="",e&&(n=(t=this.props).data,t=t.textField,(n=(n=void 0===n?[]:n)[l.itemIndexStartsWith(n,e,t)])&&(n=l.getItemValue(n,t),e.toLowerCase()!==n.toLowerCase()&&(this._suggested=n.substring(e.length))))},a.prototype.focusedIndex=function(e){var t=this,n=this.props,i=n.data,i=void 0===i?[]:i,o=n.textField,n=n.focusedItemIndex,e=void 0!==e?e:this.value;return void 0!==this.state.focusedItem?i.findIndex(function(e){return l.areSame(e,t.state.focusedItem,o)}):n?n(i,e,o):Math.max(0,i.indexOf(l.getFocusedItem(i,e,o)))},a.displayName="AutoComplete",a.propTypes=g({},c.default.basicPropTypes,{size:o.oneOf([null,"small","medium","large"]),rounded:o.oneOf([null,"small","medium","large","full"]),fillMode:o.oneOf([null,"solid","flat","outline"]),suggest:o.oneOfType([o.bool,o.string]),placeholder:o.string,value:o.string,defaultValue:o.string,validationMessage:o.string,required:o.bool,readonly:o.bool,clearButton:o.bool,valueRender:o.func,id:o.string,ariaLabelledBy:o.string,ariaDescribedBy:o.string}),a.defaultProps=g({},c.default.defaultProps,{size:"medium",rounded:"medium",fillMode:"solid"}),a);function a(e){var r=n.call(this,e)||this;return r.state={},r.base=new c.default(r),r._inputId=y.guid(),r._suggested="",r.focus=function(){r._input&&r._input.focus()},r.handleItemSelect=function(e,t){var n=r.props.data,n=l.getItemValue((void 0===n?[]:n)[e],r.props.textField);r.triggerOnChange(n,t)},r.itemFocus=function(e,t){var n=r.props,i=n.data,n=n.textField,i=(void 0===i?[]:i)[e];l.areSame(r.state.focusedItem,i,n)||(t.data.focusedItem=i)},r.togglePopup=function(e){r.base.togglePopup(e)},r.setValidity=function(){r._input&&r._input.setCustomValidity&&r._input.setCustomValidity(r.validity.valid?"":r.props.validationMessage||"Please enter a valid value!")},r.handleItemClick=function(e,t){r.base.handleItemClick(e,t),r._valueDuringOnChange=void 0},r.onChangeHandler=function(e){var t=r.base.initState(),n=e.currentTarget,i=n.value,n=n.selectionEnd===i.length,e=(t.syntheticEvent=e,r._suggested),o=r.value,o=o&&o.substring(0,o.length-e.length),e=o&&o.length>i.length,a=r.props.suggest,s=(void 0!==r.props.opened?r.props:r.state).opened;void 0!==a&&!1!==a?(o&&o===i||e||!n?r._suggested="":r.suggestValue(i),a=i+r._suggested,o={userInput:i,value:r._suggested},r.triggerOnChange(a,t,{suggestion:o})):(r._suggested="",r.triggerOnChange(i,t)),(!s&&i||s&&!i)&&r.togglePopup(t),t.data.focusedItem=void 0,r.applyState(t)},r.clearButtonClick=function(e){var t=r.base.initState(),n=(void 0!==r.props.opened?r.props:r.state).opened;t.syntheticEvent=e,r._suggested="",r.triggerOnChange("",t),void 0!==r.state.focusedItem&&(t.data.focusedItem=void 0),n&&r.togglePopup(t),r.applyState(t)},r.onInputKeyDown=function(e){function t(){i&&e.preventDefault()}var n=e.keyCode,i=(void 0!==r.props.opened?r.props:r.state).opened,o=r.base.initState();o.syntheticEvent=e;n===y.Keys.enter||n===y.Keys.esc?(t(),r.applyInputValue(e.currentTarget.value,o,e.keyCode)):n!==y.Keys.up&&n!==y.Keys.down||(t(),r.onNavigate(o,n))},r.handleBlur=function(e){var t;r.state.focused&&((t=r.base.initState()).data.focused=!1,t.events.push({type:"onBlur"}),t.syntheticEvent=e,r.applyInputValue(e.currentTarget.value,t))},h.validatePackage(f.packageMetadata),r}e.AutoCompleteWithoutContext=t,e.AutoCompletePropsContext=y.createPropsContext(),e.AutoComplete=y.withPropsContext(e.AutoCompletePropsContext,t),e.AutoComplete.displayName="KendoReactAutoComplete"},function(o,e,t){"use strict";var a,s=this&&this.__extends||(a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),C=this&&this.__assign||function(){return(C=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});function c(e){return e.preventDefault()}function h(e){return e===p.CustomItem}var p,r,k=t(0),n=t(3),x=t(1),S=t(4),f=t(7),v=t(6),_=t(16),d=t(14),l=t(10),u=t(29),I=t(2),g=t(1),m=t(5),w=t(11),P=x.kendoThemeMaps.sizeMap,E=x.kendoThemeMaps.roundedMap,t=((t=p=p||{})[t.None=0]="None",t[t.ListItem=1]="ListItem",t[t.CustomItem=2]="CustomItem",r=k.Component,s(i,r),Object.defineProperty(i.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"value",{get:function(){var e=[];return this._valueItemsDuringOnChange?e.push.apply(e,this._valueItemsDuringOnChange):this.props.value?e.push.apply(e,this.props.value):this.state.value?e.push.apply(e,this.state.value):this.props.defaultValue&&e.push.apply(e,this.props.defaultValue),e},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"name",{get:function(){return this.props.name},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"validity",{get:function(){var e=void 0!==this.props.validationMessage,t=!this.required||null!==this.value&&0<this.value.length&&void 0!==this.value;return{customError:e,valid:void 0!==this.props.valid?this.props.valid:t,valueMissing:null===this.value}},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"required",{get:function(){return(void 0!==this.props.required?this.props:i.defaultProps).required},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"validityStyles",{get:function(){return(void 0!==this.props.validityStyles?this.props:i.defaultProps).validityStyles},enumerable:!0,configurable:!0}),i.prototype.componentDidUpdate=function(e,t){var n=this.props.virtual,i=n?n.skip:0,o=e.virtual?e.virtual.total:0,a=(void 0!==this.props.opened?this.props:this.state).opened,e=(void 0!==e.opened?e:t).opened,t=!e&&a,s=e&&!a;!this.base.getPopupSettings().animate&&s&&this.onPopupClosed(),n&&n.total!==o?(this.base.vs.calcScrollElementHeight(),this.base.vs.reset()):(o=(s=this.getFocusedState()).focusedItem,s=s.focusedIndex,t&&n?this.base.scrollToVirtualItem(n,s-i):t&&!n?this.base.scrollToItem(s):a&&e&&o&&this.scrollToFocused&&this.base.scrollToItem(s-i)),this.scrollToFocused=!1,this.setValidity()},i.prototype.componentDidMount=function(){this.base.didMount(),this.setValidity()},i.prototype.onNavigate=function(e,t){var n=this.props,i=n.allowCustom,n=n.data,n=void 0===n?[]:n,o=(void 0!==this.props.opened?this.props:this.state).opened,a=void 0!==this.props.filter?this.props.filter:this.state.text,s=this.getFocusedState(),r=s.focusedType,s=s.focusedIndex,i=i&&a,a=h(r),r=this.base,l=r.vs;o&&t===x.Keys.up&&a?void 0!==this.state.focusedIndex&&(e.data.focusedIndex=void 0):void 0!==(o=r.navigation.navigate({keyCode:t,current:s,max:(l.enabled?l.total:n.length)-1,min:i?-1:0}))&&(this.itemFocus(o,e),this.scrollToFocused=!0),this.applyState(e)},i.prototype.render=function(){var e=this.props,t=e.style,n=e.className,i=e.label,p=e.dir,o=e.disabled,a=e.tags,d=e.textField,c=e.dataItemKey,s=e.virtual,r=e.size,h=e.rounded,f=e.fillMode,v=e.loading,e=e.filter,l=this.state,g=l.text,m=l.focused,y=l.focusedTag,l=this.base.vs,b=this.props.id||this._inputId,u=(l.enabled=void 0!==s,void 0!==s&&(l.skip=s.skip,l.total=s.total,l.pageSize=s.pageSize),[]),l=(void 0===a?this.value.forEach(function(e){u.push({text:I.getItemValue(e,d),data:[e]})}):u.push.apply(u,a),this.setItems(u,this._tags),!this.validityStyles||this.validity.valid),s=Boolean(void 0!==e?e:g)||0<this.value.length,n=k.createElement("div",{ref:this.componentRef,className:x.classNames("k-multiselect k-input",n,((a={})["k-input-"+(P[r]||r)]=r,a["k-rounded-"+(E[h]||h)]=h,a["k-input-"+f]=f,a["k-focus"]=m&&!o,a["k-invalid"]=!l,a["k-valid"]=l,a["k-disabled"]=o,a["k-loading"]=v,a["k-required"]=this.required,a)),style:i?C({},t,{width:void 0}):t,dir:p,onFocus:this.handleFocus,onBlur:this.handleBlur,onClick:this.handleWrapperClick,onMouseDown:I.preventDefaultNonInputs},k.createElement("div",{className:x.classNames("k-input-values k-chip-list k-selection-multiple",((e={})["k-chip-list-"+(P[r]||r)]=r,e)),role:"listbox",id:"tagslist-"+this.base.guid},0<u.length&&k.createElement(_.default,{tagRender:this.props.tagRender,onTagDelete:this.onTagDelete,data:u,guid:this.base.guid,focused:y?u.find(function(e){return I.matchTags(e,y,c)}):void 0,size:r}),this.renderSearchbar(b)),v&&k.createElement("span",{className:"k-icon k-i-loading"}),s&&k.createElement(w.default,{onClick:this.clearButtonClick}),this.renderListContainer());return i?k.createElement(S.FloatingLabel,{label:i,editorId:b,editorValue:g||I.getItemValue(this.value[0],d),editorValid:l,editorDisabled:o,style:{width:t?t.width:void 0},children:n}):n},i.prototype.renderSearchbar=function(e){var t=this.state,n=t.activedescendant,t=t.focusedTag,i=this.props,o=i.disabled,a=i.placeholder,i=i.ariaDescribedBy,s=(void 0!==this.props.filter?this.props.filter:this.state.text)||"",r=(void 0!==this.props.opened?this.props:this.state).opened,l=this.getFocusedState().focusedIndex,a=0!==this.value.length||s?void 0:a,n=n===u.ActiveDescendant.TagsList&&void 0!==t?"tag-"+this.base.guid+"-"+t.text.replace(/\s+/g,"-"):"option-"+this.base.guid+"-"+l;return k.createElement(d.default,{id:e,size:Math.max((a||"").length,s.length,1),tabIndex:this.props.tabIndex,accessKey:this.props.accessKey,placeholder:a,value:s,onChange:this.onChangeHandler,onKeyDown:this.onInputKeyDown,ref:this.searchbarRef,disabled:o,expanded:r,owns:this.base.listBoxId,activedescendant:n,ariaDescribedBy:"tagslist-"+this.base.guid+(i?" "+i:""),ariaLabelledBy:this.props.ariaLabelledBy})},i.prototype.onTagsNavigate=function(e,t){var n,e=e.keyCode,i=this.state.focusedTag,o=this._tags,a=this.props.dataItemKey,s=i?o.findIndex(function(e){return I.matchTags(e,i,a)}):-1,r=void 0,l=-1!==s;e===x.Keys.left?r=o[s=l?Math.max(0,s-1):o.length-1]:e===x.Keys.right?s===o.length-1?r=void 0:l&&(r=o[s=Math.min(o.length-1,s+1)]):e===x.Keys.home?r=o[0]:e===x.Keys.end?r=o[o.length-1]:e===x.Keys.delete?l&&(n=this.value,I.removeDataItems(n,o[s].data,a),this.triggerOnChange(n,t)):e===x.Keys.backspace&&(n=this.value,l?(I.removeDataItems(n,o[s].data,a),this.triggerOnChange(n,t)):!l&&o.length&&(e=o.pop(),I.removeDataItems(n,e.data,a),this.triggerOnChange(n,t))),r!==i&&(t.data.focusedTag=r,t.data.activedescendant=u.ActiveDescendant.TagsList),this.applyState(t)},i.prototype.triggerOnChange=function(e,t){void 0===this.props.value&&(t.data.value=e.slice()),this._valueItemsDuringOnChange=[],this.setItems(e,this._valueItemsDuringOnChange),t.events.push({type:"onChange"})},i.prototype.selectFocusedItem=function(e){var t=this.props,n=t.data,n=void 0===n?[]:n,t=t.virtual,i=this.getFocusedState().focusedIndex;void 0!==n[i-(t?t.skip:0)]&&this.handleItemClick(i,e)},i.prototype.setItems=function(e,t){t.length=0,t.push.apply(t,e)},i.prototype.getFocusedState=function(){var e=this.state.focusedIndex,t=void 0!==this.props.filter?this.props.filter:this.state.text,n=this.props,i=n.allowCustom,o=n.data,o=void 0===o?[]:o,a=n.dataItemKey,s=n.virtual,r=n.textField,n=n.focusedItemIndex,n=void 0===n?I.itemIndexStartsWith:n,s=s&&s.skip||0;if(void 0!==e)return{focusedIndex:e,focusedItem:o[e-s],focusedType:p.ListItem};var l,u,e=this.value;return i&&t?{focusedItem:null,focusedIndex:-1,focusedType:p.CustomItem}:t?{focusedItem:o[u=n(o,t,r)],focusedIndex:u+s,focusedType:p.ListItem}:e.length?(l=e[e.length-1],u=o.findIndex(function(e){return I.areSame(e,l,a)}),void 0!==o[u]?{focusedIndex:u+s,focusedItem:o[u],focusedType:p.ListItem}:{focusedType:p.None,focusedIndex:-1}):0===s?{focusedItem:o[0],focusedIndex:0,focusedType:p.ListItem}:{focusedType:p.None,focusedIndex:-1}},i.prototype.focusElement=function(e){var t=this;this._skipFocusEvent=!0,e.focus(),window.setTimeout(function(){return t._skipFocusEvent=!1},0)},i.prototype.applyState=function(e){this.base.applyState(e),this._valueItemsDuringOnChange=null},i.displayName="MultiSelect",i.propTypes=C({},l.default.propTypes,{autoClose:n.bool,value:n.arrayOf(n.any),defaultValue:n.arrayOf(n.any),dataItemKey:n.string,placeholder:n.string,tags:n.arrayOf(n.shape({text:n.string,data:n.arrayOf(n.any)})),tagRender:n.func,id:n.string,ariaLabelledBy:n.string,ariaDescribedBy:n.string}),i.defaultProps=C({},l.default.defaultProps,{autoClose:!0,required:!1,size:"medium",rounded:"medium",fillMode:"solid"}),i);function i(e){var d=r.call(this,e)||this;return d.state={activedescendant:u.ActiveDescendant.PopupList},d._valueItemsDuringOnChange=null,d._inputId=x.guid(),d.base=new l.default(d),d._tags=[],d._skipFocusEvent=!1,d.scrollToFocused=!1,d.focus=function(){d._input&&d._input.focus()},d.handleItemSelect=function(e,t){var n=d.props,i=n.data,o=n.dataItemKey,n=n.virtual,a=(void 0===i?[]:i)[e-(n?n.skip:0)],i=d.value.findIndex(function(e){return I.areSame(e,a,o)}),e=[];-1!==i?(e=d.value).splice(i,1):e=d.value.concat([a]),(void 0!==d.props.filter?d.props.filter:d.state.text)&&(d.state.text&&(t.data.text=""),d.base.filterChanged("",t)),void 0!==d.state.focusedIndex&&(t.data.focusedIndex=void 0),d.triggerOnChange(e,t),d.base.triggerPageChangeCornerItems(a,t)},d.onTagDelete=function(e,t){var n=(void 0!==d.props.opened?d.props:d.state).opened,i=d.base.initState(),t=(i.syntheticEvent=t,n&&d.base.togglePopup(i),d.state.focused||(i.data.focused=!0,d.focus()),d.value);I.removeDataItems(t,e,d.props.dataItemKey),d.triggerOnChange(t,i),d.applyState(i)},d.itemFocus=function(e,t){var n=d.props,i=n.data,i=void 0===i?[]:i,o=n.allowCustom,n=n.virtual,n=n?n.skip:0,a=void 0!==d.props.filter?d.props.filter:d.state.text,s=d.getFocusedState().focusedIndex,o=o&&a,a=i[e-n];a&&s!==e?d.state.focusedIndex!==e&&(t.data.focusedIndex=e,t.data.activedescendant=u.ActiveDescendant.PopupList):o&&-1===e&&void 0!==d.state.focusedIndex&&(t.data.focusedIndex=void 0),d.base.triggerPageChangeCornerItems(a,t)},d.componentRef=function(e){d._element=e,d.base.wrapper=e},d.searchbarRef=function(e){var t=d._input=e&&e.input;t&&d.state.focused&&window.setTimeout(function(){return t.focus()},0)},d.onChangeHandler=function(e){var t=d.base.initState(),n=e.currentTarget.value,i=(void 0!==d.props.opened?d.props:d.state).opened;t.syntheticEvent=e,void 0===d.props.filter&&(t.data.text=n),t.data.focusedIndex=void 0,i||d.base.togglePopup(t),d.base.filterChanged(n,t),d.applyState(t)},d.clearButtonClick=function(e){var t=(void 0!==d.props.opened?d.props:d.state).opened,n=d.base.initState(),e=((n.syntheticEvent=e).stopPropagation(),0<d.value.length&&d.triggerOnChange([],n),void 0!==d.state.focusedIndex&&(n.data.focusedIndex=void 0),t&&d.base.togglePopup(n),void 0!==d.props.filter?d.props.filter:d.state.text);I.isPresent(e)&&""!==e&&d.base.filterChanged("",n),d.state.text&&(n.data.text=""),d.applyState(n)},d.onInputKeyDown=function(e){var t=e.keyCode,n=void 0!==d.props.filter?d.props.filter:d.state.text,i=(void 0!==d.props.opened?d.props:d.state).opened,o=d.getFocusedState().focusedItem,a=d.base.initState();if(a.syntheticEvent=e,!n&&0<d.value.length&&(t===x.Keys.left||t===x.Keys.right||t===x.Keys.home||t===x.Keys.end||t===x.Keys.delete||t===x.Keys.backspace))return d.onTagsNavigate(e,a);function s(){e.preventDefault(),d.base.togglePopup(a),d.applyState(a)}i?e.altKey&&t===x.Keys.up?s():t===x.Keys.up||t===x.Keys.down?(e.preventDefault(),d.onNavigate(a,t)):t===x.Keys.enter?(e.preventDefault(),d.props.allowCustom&&n&&null===o?d.customItemSelect(e):d.selectFocusedItem(e)):t===x.Keys.esc&&s():e.altKey&&t===x.Keys.down&&s()},d.renderListContainer=function(){var e=d.base,t=d.props,n=t.header,i=t.footer,p=t.allowCustom,o=t.dir,a=t.data,a=void 0===a?[]:a,t=t.size,s=d.base.getPopupSettings(),r=(void 0!==d.props.opened?d.props:d.state).opened,l=void 0!==d.props.filter?d.props.filter:d.state.text,u=void 0!==s.width?s.width:e.popupWidth,e={dir:void 0!==o?o:e.dirCalculated,width:u,popupSettings:{popupClass:x.classNames(s.popupClass,"k-list",((o={})["k-list-"+(P[t]||t)]=t,o["k-virtual-list"]=d.base.vs.enabled,o)),className:s.className,animate:s.animate,anchor:d.element,show:r,onOpen:d.onPopupOpened,onClose:d.onPopupClosed,appendTo:s.appendTo},itemsCount:[a.length,d.value.length]},u=d.getFocusedState().focusedType,r=p&&l&&k.createElement("div",{className:x.classNames("k-list",((o={})["k-list-"+(P[t]||t)]=t,o)),key:"customitem",onClick:d.customItemSelect,onMouseDown:c},k.createElement("div",{className:x.classNames("k-list-item k-custom-item",{"k-focus":h(u)}),style:{fontStyle:"italic"}},l,k.createElement("span",{className:"k-icon k-i-plus",style:{position:"absolute",right:"0.5em"}})));return k.createElement(f.default,C({},e),n&&k.createElement("div",{className:"k-list-header"},n),r,d.renderList(),i&&k.createElement("div",{className:"k-list-footer"},i))},d.renderList=function(){var e=d.props,t=e.data,t=void 0===t?[]:t,n=e.textField,i=e.listNoDataRender,o=e.itemRender,a=e.dataItemKey,e=e.virtual,s=d.base.vs,e=e?e.skip:0,r=(void 0!==d.props.opened?d.props:d.state).opened,l=d.getFocusedState().focusedIndex,u=d.base.getPopupSettings(),p="translateY("+s.translate+"px)";return k.createElement(v.default,{id:d.base.listBoxId,show:r,data:t.slice(),focusedIndex:l-e,value:d.value,textField:n,valueField:a,optionsGuid:d.base.guid,listRef:function(e){s.list=d.base.list=e},wrapperStyle:{maxHeight:u.height},wrapperCssClass:"k-list-content",listStyle:s.enabled?{transform:p}:void 0,key:"listKey",skip:e,onClick:d.handleItemClick,itemRender:o,noDataRender:i,onMouseDown:c,onBlur:d.handleBlur,onScroll:function(e){s.scrollHandler(e)},wrapperRef:s.scrollerRef,scroller:d.base.renderScrollElement()})},d.customItemSelect=function(e){var t,n=void 0!==d.props.filter?d.props.filter:d.state.text,i=d.props.textField;n&&((t=d.base.initState()).syntheticEvent=e,i=i?((e={})[i]=n,e):n,void 0!==d.state.text&&(t.data.text=""),t.data.focusedIndex=void 0,d.base.filterChanged("",t),e=d.value.concat([i]),d.triggerOnChange(e,t),d.base.togglePopup(t),d.applyState(t))},d.handleWrapperClick=function(e){var t=(void 0!==d.props.opened?d.props:d.state).opened,n=d._input,t=(!t&&n&&d.focusElement(n),d.base.initState());t.syntheticEvent=e,d.state.focused||(t.events.push({type:"onFocus"}),t.data.focused=!0),d.base.togglePopup(t),d.applyState(t)},d.handleItemClick=function(e,t){var n=d.base.initState();n.syntheticEvent=t,d.handleItemSelect(e,n),d.props.autoClose&&d.base.togglePopup(n),t.stopPropagation(),d.applyState(n)},d.handleBlur=function(e){var t,n,i,o;d.state.focused&&!d._skipFocusEvent&&(t=(void 0!==d.props.opened?d.props:d.state).opened,n=d.base.initState(),i=(o=d.props).allowCustom,o=o.filterable,n.syntheticEvent=e,n.data.focused=!1,n.events.push({type:"onBlur"}),t&&(d.state.opened&&(n.data.opened=!1),n.events.push({type:"onClose"})),i||o||!d.state.text||(n.data.text=""),d.applyState(n))},d.handleFocus=function(e){d._skipFocusEvent||d.base.handleFocus(e)},d.onPopupOpened=function(){d._input&&d.state.focused&&d.focusElement(d._input)},d.onPopupClosed=function(){d.state.focused&&window.setTimeout(function(){d.state.focused&&d.focusElement(d._input)},0)},d.setValidity=function(){d._input&&d._input.setCustomValidity&&d._input.setCustomValidity(d.validity.valid?"":d.props.validationMessage||"Please enter a valid value!")},g.validatePackage(m.packageMetadata),d}e.MultiSelectWithoutContext=t,e.MultiSelectPropsContext=x.createPropsContext(),e.MultiSelect=x.withPropsContext(e.MultiSelectPropsContext,t),e.MultiSelect.displayName="KendoReactMultiSelect"},function(e,t){e.exports=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),(t=t.ActiveDescendant||(t.ActiveDescendant={}))[t.PopupList=0]="PopupList",t[t.TagsList=1]="TagsList"},function(n,E,e){"use strict";var O=this&&this.__assign||function(){return(O=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},D=this&&this.__rest||function(e,t){var n={};for(o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&(n[o[i]]=e[o[i]]);return n},M=(Object.defineProperty(E,"__esModule",{value:!0}),e(0)),t=e(3),T=e(31),F=e(1),K=e(15),B=F.kendoThemeMaps.sizeMap,e=(E.MultiColumnComboBoxPropsContext=F.createPropsContext(),E.MultiColumnComboBox=M.forwardRef(function(e,t){var l=F.usePropsContext(E.MultiColumnComboBoxPropsContext,e),n=M.useRef(null),i=M.useRef(null),o=F.getScrollbarWidth(),e=l.columns,u=void 0===e?N.columns:e,e=l.popupSettings,e=void 0===e?N.popupSettings:e,a=l.size,p=l.onOpen,d=l.onClose,c=l.onFocus,h=l.onBlur,f=l.onChange,v=l.onFilterChange,g=l.onPageChange,s=D(l,["columns","popupSettings","size","onOpen","onClose","onFocus","onBlur","onChange","onFilterChange","onPageChange"]),t=(M.useImperativeHandle(n,function(){return{element:i.current&&i.current.element,focus:function(){i.current&&i.current.focus()},get value(){return i.current&&i.current.value},get name(){return i.current&&i.current.name},props:l}}),M.useImperativeHandle(t,function(){return n.current}),M.useMemo(function(){return"calc("+u.map(function(e){return e=e.width,t=N.width,e?"number"==typeof e?e+"px":e:t;var t}).filter(Boolean).join(" + ")+" + "+o+"px)"},[u,o])),m=M.useMemo(function(){return M.createElement(M.Fragment,null,l.header,M.createElement("div",{className:"k-table-header"},M.createElement("div",{className:"k-table-header-wrap"},M.createElement("table",{className:"k-table",role:"presentation"},M.createElement("colgroup",null,u.map(function(e,t){return M.createElement("col",{key:e.uniqueKey||t,style:{width:e.width||N.width}})})),M.createElement("thead",{className:"k-table-thead"},M.createElement("tr",{className:"k-table-row"},u.map(function(e,t){return M.createElement("th",{className:"k-table-th",key:e.uniqueKey||t},e.header||" ")})))))))},[l.header,u]),y=l.virtual?l.virtual.skip:0,b=M.useCallback(function(e,n){var t,i,o=u.map(function(e,t){return M.createElement("span",{className:"k-table-td",style:{width:e.width||N.width},key:e.uniqueKey||t},e.field?F.getter(e.field)(n.dataItem):"")}),a=void 0,s=l.data||[],r=n.index-y,s=(void 0!==l.groupField&&(t=(i=F.getter(l.groupField))(s[r]),i=i(s[r-1]),t&&i&&t!==i&&(a=t)),a&&o.push(M.createElement("div",{key:"group",className:"k-cell k-group-cell"},M.createElement("span",null,a))),M.cloneElement(e,O({},e.props,{className:F.classNames("k-table-row",{"k-table-alt-row":n.index%2!=0,"k-focus":n.focused,"k-selected":n.selected})}),o));return l.itemRender?l.itemRender.call(void 0,s,n):s},[u,l.groupField,l.itemRender,l.data,y]),r=M.useCallback(function(e,t){e&&e.call(void 0,O({},t,{target:n.current}))},[]),C=M.useCallback(function(e){return r(p,e)},[p]),k=M.useCallback(function(e){return r(d,e)},[d]),x=M.useCallback(function(e){return r(c,e)},[c]),I=M.useCallback(function(e){return r(h,e)},[h]),S=M.useCallback(function(e){return r(f,e)},[f]),_=M.useCallback(function(e){return r(v,e)},[v]),w=M.useCallback(function(e){return r(g,e)},[g]),P=(M.useEffect(function(){F.setScrollbarWidth()}),M.useCallback(function(e){return M.createElement(T.MultiColumnList,O({},e))},[]));return M.createElement(K.ComboBox,O({},s,{list:P,popupSettings:O({width:t},e,{popupClass:F.classNames("k-dropdowngrid-popup k-data-table",((s={})["k-table-"+(B[a]||a)]=a,s)),className:e.className}),ref:i,header:m,itemRender:b,size:l.size,rounded:l.rounded,fillMode:l.fillMode,onOpen:C,onClose:k,onFocus:x,onBlur:I,onChange:S,onFilterChange:_,onPageChange:w}))}),O({},K.ComboBoxWithoutContext.propTypes,{columns:t.any.isRequired})),N={columns:[],popupSettings:{},width:"200px",size:"medium",rounded:"medium",fillMode:"solid"};E.MultiColumnComboBox.displayName="KendoMultiColumnComboBox",E.MultiColumnComboBox.propTypes=e,E.MultiColumnComboBox.defaultProps=N},function(e,t,n){"use strict";var i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=(Object.defineProperty(t,"__esModule",{value:!0}),n(0)),a=n(6);t.MultiColumnList=function(e){return o.createElement(a.default,i({},e,{wrapperCssClass:"k-table-scroller",listClassName:"k-table k-table-list",listStyle:i({},e.listStyle)}))}},function(n,de,e){"use strict";function be(e){return fe.createElement("span",{className:"k-input-value-text"},e.children)}function ce(e){return e.split("_").map(function(e){return parseInt(e,10)})}var he=this&&this.__assign||function(){return(he=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},fe=(Object.defineProperty(de,"__esModule",{value:!0}),e(0)),t=e(3),ve=e(1),Ce=e(12),ke=e(8),xe=e(17),Ie=e(1),Se=e(5),ge=e(2),_e=e(18),we=e(19),me=e(9),Pe=e(4),Ee=e(13),Oe=ve.kendoThemeMaps.sizeMap,De=ve.kendoThemeMaps.roundedMap,ye={selectField:"selected",subItemsField:"items",popupSettings:{animate:!0,width:"200px",height:"200px"},required:!1,validityStyles:!0,size:"medium",rounded:"medium",fillMode:"solid"},e=(de.DropDownTreePropsContext=ve.createPropsContext(),de.DropDownTree=fe.forwardRef(function(p,d){Ie.validatePackage(Se.packageMetadata);var o=ve.usePropsContext(de.DropDownTreePropsContext,p),p=fe.useMemo(function(){return ve.guid()},[]),p=o.id||p,e=o.data,c=void 0===e?[]:e,h=o.dataItemKey,e=o.popupSettings,e=void 0===e?{}:e,f=o.style,f=void 0===f?{}:f,t=o.opened,v=o.disabled,g=o.onOpen,m=void 0===g?ve.noop:g,g=o.onClose,n=void 0===g?ve.noop:g,g=o.placeholder,y=o.label,b=o.name,i=o.selectField,C=void 0===i?ye.selectField:i,i=o.subItemsField,k=void 0===i?ye.subItemsField:i,x=o.validationMessage,i=o.valid,I=o.required,S=o.validityStyles,_=ve.getTabIndex(o.tabIndex,v),r=fe.useRef(null),w=fe.useRef(null),P=fe.useRef(null),E=fe.useRef(null),O=fe.useRef(null),D=fe.useRef(!1),M=fe.useState(void 0),a=M[0],T=M[1],F=void 0!==o.value,K=F?o.value:void 0!==a?a:o.defaultValue,N=ge.isPresent(K),M=N?ge.getItemValue(K,o.textField):"",B=(a=N,R=(i={validationMessage:x,valid:i,required:I}).valid,{customError:void 0!==i.validationMessage,valid:Boolean(void 0!==R?R:!i.required||a),valueMissing:!a}),j=fe.useCallback(function(){return w.current&&w.current.focus()},[]),R=(fe.useImperativeHandle(r,function(){return{props:o,element:w.current,focus:j}}),fe.useImperativeHandle(d,function(){return r.current}),ve.useRtl(w,o.dir)),i=(void 0!==e.width?e:void 0!==f.width?f:ye.popupSettings).width,a=_e.useDropdownWidth(w,i),d=he({width:a},void 0!==R?{direction:R}:{}),i=fe.useState(!1),a=i[0],V=i[1],l=void 0!==t?t:a,i=fe.useState(!1),s=i[0],L=i[1],a=fe.useState(""),i=a[0],z=a[1],a=fe.useCallback(function(){E.current&&E.current.setCustomValidity&&E.current.setCustomValidity(B.valid?"":void 0===x?"Please select a value from the list!":x)},[x,B]),q=(fe.useEffect(a),fe.useCallback(function(e){l||(m&&(e=he({},e),m.call(void 0,e)),void 0===t&&V(!0))},[l,t,m])),H=fe.useCallback(function(e){l&&(n&&(e=he({},e),n.call(void 0,e)),void 0===t&&V(!1))},[l,t,n]),a=fe.useCallback(function(e){!e.isDefaultPrevented()&&r.current&&(L(!0),e={syntheticEvent:e,nativeEvent:e.nativeEvent,target:r.current},(l?H:q)(e))},[l,t,m,n]),A=fe.useCallback(function(e){D.current=!0,e(),window.setTimeout(function(){return D.current=!1},0)},[]),W=fe.useCallback(function(e){var t=e.keyCode,n=e.altKey,i=O.current&&O.current.element;if(r.current&&(!e.isDefaultPrevented()||P.current!==e.target)){var o={syntheticEvent:e,nativeEvent:e.nativeEvent,target:r.current};if(l)if(t===ve.Keys.esc||n&&t===ve.Keys.up)e.preventDefault(),H(o);else if(i&&i.querySelector(".k-focus")&&(t===ve.Keys.up||t===ve.Keys.down||t===ve.Keys.left||t===ve.Keys.right||t===ve.Keys.home||t===ve.Keys.end)){if(t===ve.Keys.up&&P.current){var a=Array.from(i.querySelectorAll(".k-treeview-item")),s=a.slice().reverse().find(function(e){return Boolean(e&&e.querySelector(".k-focus"))});if(s&&0===a.indexOf(s))return A(function(){G(P.current)})}A(ve.noop)}else t===ve.Keys.down&&A(function(){G(P.current||i)});else n&&t===ve.Keys.down&&(e.preventDefault(),q(o))}},[l,t,m,n]),U=fe.useCallback(function(e){var t=e.keyCode;e.altKey||t!==ve.Keys.up&&t!==ve.Keys.down||(e.preventDefault(),A(t===ve.Keys.up?function(){G(w.current)}:function(){G(O.current&&O.current.element)}))},[]),G=fe.useCallback(function(e){e&&A(function(){return e.focus()})},[]),Y=fe.useCallback(function(){!s&&l?H({target:r.current}):o.filterable?G(P.current):G(O.current&&O.current.element)},[n,o.filterable,s,t,l]),J=fe.useCallback(function(){s&&G(w.current)},[s]),Q=fe.useCallback(function(e){!s&&!D.current&&(L(!0),o.onFocus&&r.current)&&(e={syntheticEvent:e,nativeEvent:e.nativeEvent,target:r.current},o.onFocus.call(void 0,e))},[s,o.onFocus]),X=fe.useCallback(function(e){var t;s&&!D.current&&r.current&&(L(!1),e={syntheticEvent:e,nativeEvent:e.nativeEvent,target:r.current},o.onBlur&&(t=he({},e),o.onBlur.call(void 0,t)),H(e))},[s,o.onBlur,l,t,n]),Z=fe.useCallback(function(){s&&A(ve.noop)},[s]),$=fe.useCallback(function(e,t,n){o.onChange&&(n=he({value:t,level:n?ce(n):[]},e),o.onChange.call(void 0,n)),F||T(t)},[o.onChange,F]),ee=fe.useCallback(function(e){var t,n,i;!ge.areSame(e.item,K,h)&&r.current&&(t=e.item,n=e.itemHierarchicalIndex,i=e.nativeEvent,e={syntheticEvent:e.syntheticEvent,nativeEvent:i,target:r.current},$(e,t,n),H(e))},[F,K,o.onChange,h,l,t,n]),te=fe.useCallback(function(e){var t;r.current&&(t={syntheticEvent:e,nativeEvent:e.nativeEvent,target:r.current},$(t,null),H(t),e.preventDefault())},[F,o.onChange,l,t,n]),ne=fe.useCallback(function(e){var t,n,i;e.syntheticEvent.stopPropagation(),o.onExpandChange&&r.current&&(t=e.item,i=e.itemHierarchicalIndex,n=e.nativeEvent,e=e.syntheticEvent,i={level:ce(i),item:t,nativeEvent:n,syntheticEvent:e,target:r.current},o.onExpandChange.call(void 0,i))},[o.onExpandChange]),ie=fe.useCallback(function(e){var t;o.onFilterChange&&r.current&&(t={filter:{field:o.textField,operator:"contains",value:e.target.value},syntheticEvent:e,nativeEvent:e.nativeEvent,target:r.current},o.onFilterChange.call(void 0,t),void 0===o.filter&&z(e.target.value))},[o.onFilterChange,o.filter,o.textField]),oe=fe.useMemo(function(){return F||!N?c:ve.mapTree(c,k,function(e){var t;return ve.extendDataItem(e,k,((t={})[C]=ge.areSame(e,K,h),t))})},[c,K,F,N,C,k]),ae=o.listNoData||we.ListNoData,se=o.valueHolder||be,re=ke.useLocalization(),S=!S||B.valid,le=o.size,ue=o.rounded,pe=o.fillMode,u=fe.createElement("span",{className:ve.classNames("k-dropdowntree k-picker",o.className,((u={})["k-picker-"+(Oe[le]||le)]=le,u["k-rounded-"+(De[ue]||ue)]=ue,u["k-picker-"+pe]=pe,u["k-focus"]=s,u["k-valid"]=S,u["k-invalid"]=!S,u["k-loading"]=o.loading,u["k-required"]=I,u["k-disabled"]=o.disabled,u)),tabIndex:_,accessKey:o.accessKey,id:p,style:y?he({},f,{width:void 0}):f,dir:R,ref:w,onKeyDown:v?void 0:W,onMouseDown:Z,onClick:v?void 0:a,onFocus:Q,onBlur:X,role:"listbox","aria-haspopup":"true","aria-expanded":l,"aria-disabled":v,"aria-label":y,"aria-labelledby":o.ariaLabelledBy,"aria-describedby":o.ariaDescribedBy},fe.createElement("span",{className:"k-input-inner"},fe.createElement(se,{item:K},M||g)),o.loading&&fe.createElement("span",{className:"k-icon k-i-loading"}),N&&!v&&fe.createElement("span",{onClick:te,className:"k-clear-value",title:re.toLanguageString(me.clear,me.messages[me.clear]),role:"button",tabIndex:-1,onMouseDown:function(e){return e.preventDefault()}},fe.createElement("span",{className:"k-icon k-i-x"})),fe.createElement("button",{tabIndex:-1,type:"button","aria-label":"select",className:ve.classNames("k-input-button k-button k-icon-button",((I={})["k-button-"+(Oe[le]||le)]=le,I["k-button-"+pe]=pe,I["k-button-"+pe+"-base"]=pe,I))},fe.createElement("span",{className:"k-button-icon k-icon k-i-arrow-s"})),fe.createElement("select",{name:b,ref:E,tabIndex:-1,"aria-hidden":!0,title:y,style:{opacity:0,width:1,border:0,zIndex:-1,position:"absolute",left:"50%"}},fe.createElement("option",{value:o.valueMap?o.valueMap.call(void 0,K):K})),fe.createElement(Ce.Popup,{className:ve.classNames(e.className,{"k-rtl":"rtl"===R}),popupClass:e.popupClass,style:d,animate:e.animate,anchor:w.current,show:l,onOpen:Y,onClose:J,appendTo:e.appendTo},o.filterable&&fe.createElement(Ee.default,{value:void 0===o.filter?i:o.filter,inputRef:P,onChange:ie,onKeyDown:U,size:le,rounded:ue,fillMode:pe}),0<c.length?fe.createElement(xe.TreeView,{ref:O,tabIndex:_,data:oe,focusIdField:h,textField:o.textField,selectField:C,expandField:o.expandField,childrenField:k,expandIcons:!0,onItemClick:ee,onExpandChange:ne,size:le,item:o.item}):fe.createElement(ae,null,re.toLanguageString(me.nodata,me.messages[me.nodata]))));return y?fe.createElement(Pe.FloatingLabel,{label:y,editorValue:M,editorPlaceholder:g,editorValid:S,editorDisabled:v,editorId:p,style:{width:f?f.width:void 0},children:u,dir:R}):u}),{opened:t.bool,disabled:t.bool,dir:t.string,tabIndex:t.number,accessKey:t.string,data:t.array,value:t.any,valueMap:t.func,placeholder:t.string,dataItemKey:t.string.isRequired,textField:t.string.isRequired,selectField:t.string,expandField:t.string,subItemsField:t.string,className:t.string,style:t.object,label:t.string,validationMessage:t.string,validityStyles:t.bool,valid:t.bool,required:t.bool,name:t.string,id:t.string,ariaLabelledBy:t.string,ariaDescribedBy:t.string,filterable:t.bool,filter:t.string,loading:t.bool,popupSettings:t.shape({animate:t.oneOfType([t.bool,t.shape({openDuration:t.number,closeDuration:t.number})]),popupClass:t.string,className:t.string,appendTo:t.any,width:t.oneOfType([t.string,t.number]),height:t.oneOfType([t.string,t.number])}),onOpen:t.func,onClose:t.func,onFocus:t.func,onBlur:t.func,onChange:t.func,onFilterChange:t.func,onExpandChange:t.func,item:t.func,valueHolder:t.func,listNoData:t.func});de.DropDownTree.displayName="KendoReactDropDownTree",de.DropDownTree.defaultProps=ye,de.DropDownTree.propTypes=e},function(n,ce,e){"use strict";var he=this&&this.__assign||function(){return(he=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},fe=(Object.defineProperty(ce,"__esModule",{value:!0}),e(0)),t=e(3),ve=e(1),Ce=e(12),ke=e(8),xe=e(17),Ie=e(1),Se=e(5),ge=e(2),_e=e(18),we=e(19),me=e(9),Pe=e(4),Ee=e(16),Oe=e(11),De=e(13),ye=ve.kendoThemeMaps.sizeMap,Me=ve.kendoThemeMaps.roundedMap,be={checkField:"checkField",checkIndeterminateField:"checkIndeterminateField",subItemsField:"items",popupSettings:{animate:!0,width:"200px",height:"200px"},size:"medium",rounded:"medium",fillMode:"solid",required:!1,validityStyles:!0},e=(ce.MultiSelectTreePropsContext=ve.createPropsContext(),ce.MultiSelectTree=fe.forwardRef(function(a,s){var o=ve.usePropsContext(ce.MultiSelectTreePropsContext,a),a=(Ie.validatePackage(Se.packageMetadata),fe.useMemo(function(){return ve.guid()},[])),a=o.id||a,r=o.data,r=void 0===r?[]:r,f=o.dataItemKey,l=o.popupSettings,l=void 0===l?{}:l,v=o.style,v=void 0===v?{}:v,g=o.opened,m=o.disabled,y=o.onOpen,b=void 0===y?ve.noop:y,y=o.onClose,C=void 0===y?ve.noop:y,y=o.placeholder,k=o.label,x=o.name,I=o.checkField,I=void 0===I?be.checkField:I,S=o.checkIndeterminateField,S=void 0===S?be.checkIndeterminateField:S,_=o.subItemsField,_=void 0===_?be.subItemsField:_,w=o.validationMessage,P=o.valid,E=o.tags,u=o.value,O=o.required,O=void 0===O?be.required:O,D=o.validityStyles,D=void 0===D?be.validityStyles:D,M=ve.getTabIndex(o.tabIndex,m),p=fe.useRef(null),n=fe.useRef(null),T=fe.useRef(null),F=fe.useRef(null),K=fe.useRef(null),N=fe.useRef(!1),B=fe.useRef([]),j=fe.useRef(null),e=fe.useState(),R=e[0],V=e[1],e=fe.useState(!1),L=e[0],z=e[1],e=fe.useState(!1),i=e[0],q=e[1],e=fe.useState(""),H=e[0],A=e[1],d=void 0!==g?g:L,e=Boolean(Array.isArray(u)&&u.length),W=(L=e,U=(P={validationMessage:w,valid:P,required:O}).valid,{customError:void 0!==P.validationMessage,valid:Boolean(void 0!==U?U:!P.required||L),valueMissing:!L}),U=ve.useRtl(n,o.dir),P=(void 0!==l.width?l:void 0!==v.width?v:be.popupSettings).width,L=_e.useDropdownWidth(n,P),P=he({width:L},void 0!==U?{direction:U}:{}),G=fe.useCallback(function(){return n.current&&n.current.focus()},[]),L=(B.current=void 0===E?(u||[]).map(function(e){return{text:ge.getItemValue(e,o.textField),data:[e]}}):E.slice(),fe.useImperativeHandle(p,function(){return{props:o,element:n.current,focus:G}}),fe.useImperativeHandle(s,function(){return p.current}),fe.useCallback(function(){F.current&&F.current.setCustomValidity&&F.current.setCustomValidity(W.valid?"":void 0===w?"Please select a value from the list!":w)},[w,W])),Y=(fe.useEffect(L),fe.useEffect(function(){j.current&&d&&j.current.setPosition(j.current._popup)},[u,d]),fe.useCallback(function(e,t,n){o.onChange&&(t=he({items:t,operation:n},e),o.onChange.call(void 0,t))},[o.onChange])),E=fe.useCallback(function(e){var t,n;!ge.areSame(e.item,u,f)&&p.current&&(t=e.item,n=e.nativeEvent,e={syntheticEvent:e.syntheticEvent,nativeEvent:n,target:p.current},Y(e,[t],"toggle"))},[u,f,Y]),J=fe.useCallback(function(e){d||(b&&(e=he({},e),b.call(void 0,e)),void 0===g&&z(!0))},[d,g,b]),Q=fe.useCallback(function(e){d&&(C&&(e=he({},e),C.call(void 0,e)),void 0===g&&z(!1))},[d,g,C]),c=fe.useCallback(function(e){N.current=!0,e(),window.setTimeout(function(){return N.current=!1},0)},[]),h=fe.useCallback(function(e){e&&c(function(){return e.focus()})},[c]),s=fe.useCallback(function(){!i&&d?Q({target:p.current}):o.filterable?h(T.current):h(K.current&&K.current.element)},[i,d,h,Q,o.filterable]),L=fe.useCallback(function(){i&&h(n.current)},[i,h]),X=fe.useCallback(function(e){!i&&!N.current&&(q(!0),o.onFocus&&p.current)&&(e={syntheticEvent:e,nativeEvent:e.nativeEvent,target:p.current},o.onFocus.call(void 0,e))},[i,o.onFocus]),Z=fe.useCallback(function(e){var t;i&&!N.current&&p.current&&(q(!1),e={syntheticEvent:e,nativeEvent:e.nativeEvent,target:p.current},o.onBlur&&(t=he({},e),o.onBlur.call(void 0,t)),Q(e))},[i,o.onBlur,d,g,C]),$=fe.useCallback(function(){i&&c(ve.noop)},[i,c]),ee=fe.useCallback(function(e){!e.isDefaultPrevented()&&p.current&&(q(!0),e={syntheticEvent:e,nativeEvent:e.nativeEvent,target:p.current},d||J(e))},[d,J]),te=fe.useCallback(function(e){var t=e.keyCode,n=e.altKey,i=K.current&&K.current.element;if(p.current&&(!e.isDefaultPrevented()||T.current!==e.target)){var o,a,s={syntheticEvent:e,nativeEvent:e.nativeEvent,target:p.current};if(u&&0<u.length&&(t===ve.Keys.left||t===ve.Keys.right||t===ve.Keys.home||t===ve.Keys.end||t===ve.Keys.delete)&&(l=B.current,a=void 0,r=-1!==(o=R?l.findIndex(function(e){return ge.matchTags(e,R,f)}):-1),t===ve.Keys.left?a=l[o=r?Math.max(0,o-1):l.length-1]:t===ve.Keys.right?o===l.length-1?a=void 0:r&&(a=l[o=Math.min(l.length-1,o+1)]):t===ve.Keys.home?a=l[0]:t===ve.Keys.end?a=l[l.length-1]:t===ve.Keys.delete&&r&&Y(s,l[o].data,"delete"),a!==R&&V(a)),d)if(t===ve.Keys.esc||n&&t===ve.Keys.up)e.preventDefault(),Q(s);else if(i&&i.querySelector(".k-focus")&&(t===ve.Keys.up||t===ve.Keys.down||t===ve.Keys.left||t===ve.Keys.right||t===ve.Keys.home||t===ve.Keys.end)){if(t===ve.Keys.up&&T.current){var r=Array.from(i.querySelectorAll(".k-treeview-item")),l=r.slice().reverse().find(function(e){return Boolean(e&&e.querySelector(".k-focus"))});if(l&&0===r.indexOf(l))return c(function(){h(T.current)})}c(ve.noop)}else t===ve.Keys.down&&c(function(){h(T.current||i)});else n&&t===ve.Keys.down&&(e.preventDefault(),J(s))}},[d,Q,h,c,J,R,f,u,Y]),ne=fe.useCallback(function(e){var t=e.keyCode;e.altKey||t!==ve.Keys.up&&t!==ve.Keys.down||(e.preventDefault(),c(t===ve.Keys.up?function(){h(n.current)}:function(){h(K.current&&K.current.element)}))},[h,c]),ie=fe.useCallback(function(e){var t;p.current&&(t={syntheticEvent:e,nativeEvent:e.nativeEvent,target:p.current},Y(t,[],"clear"),Q(t),e.preventDefault())},[Y,Q]),oe=fe.useCallback(function(e,t){Q({target:p.current}),i||h(T.current),Y({syntheticEvent:t,nativeEvent:t.nativeEvent,target:p.current},e,"delete")},[Y,Q,h,i]),ae=fe.useCallback(function(e){var t,n,i;o.onExpandChange&&p.current&&(t=e.item,i=e.itemHierarchicalIndex,n=e.nativeEvent,e=e.syntheticEvent,i={level:i.split("_").map(function(e){return parseInt(e,10)}),item:t,nativeEvent:n,syntheticEvent:e,target:p.current},o.onExpandChange.call(void 0,i))},[o.onExpandChange]),se=fe.useCallback(function(e){var t;o.onFilterChange&&p.current&&(t={filter:{field:o.textField,operator:"contains",value:e.target.value},syntheticEvent:e,nativeEvent:e.nativeEvent,target:p.current},o.onFilterChange.call(void 0,t),void 0===o.filter&&A(e.target.value))},[o.onFilterChange,o.filter,o.textField]),re=o.listNoData||we.ListNoData,le=ke.useLocalization(),D=!D||W.valid,ue=o.size,pe=o.rounded,de=o.fillMode,t=fe.createElement("span",{className:ve.classNames("k-multiselect k-input",o.className,((t={})["k-input-"+(ye[ue]||ue)]=ue,t["k-rounded-"+(Me[pe]||pe)]=pe,t["k-input-"+de]=de,t["k-focus"]=i&&!m,t["k-invalid"]=!D,t["k-valid"]=D,t["k-disabled"]=m,t["k-loading"]=o.loading,t["k-required"]=O,t)),tabIndex:M,accessKey:o.accessKey,id:a,style:k?he({},v,{width:void 0}):v,dir:U,ref:n,onKeyDown:m?void 0:te,onMouseDown:$,onFocus:X,onBlur:Z,role:"listbox","aria-haspopup":"true","aria-expanded":d,"aria-disabled":m,"aria-label":k,"aria-labelledby":o.ariaLabelledBy,"aria-describedby":o.ariaDescribedBy,onClick:m?void 0:ee},0<B.current.length&&fe.createElement("div",{className:ve.classNames("k-input-values k-chip-list k-selection-multiple",((O={})["k-chip-list-"+(ye[ue]||ue)]=ue,O)),role:"listbox",id:"tagslist-"+a},fe.createElement(Ee.default,{tag:o.tag,onTagDelete:oe,data:B.current,guid:a,focused:R?B.current.find(function(e){return ge.matchTags(e,R,f)}):void 0,size:ue})),!e&&fe.createElement("span",{className:"k-input-inner"},fe.createElement("span",{className:"k-input-value-text"}," ")),o.loading&&fe.createElement("span",{className:"k-icon k-i-loading"}),e&&!m&&fe.createElement(Oe.default,{onClick:ie}),fe.createElement("select",{name:x,ref:F,tabIndex:-1,"aria-hidden":!0,title:k,style:{opacity:0,width:1,border:0,zIndex:-1,position:"absolute",left:"50%"}},fe.createElement("option",{value:o.valueMap?o.valueMap.call(void 0,u):u})),fe.createElement(Ce.Popup,{popupClass:l.popupClass,className:ve.classNames(l.className,{"k-rtl":"rtl"===U}),style:P,animate:l.animate,anchor:n.current,show:d,onOpen:s,onClose:L,appendTo:l.appendTo,ref:j},o.filterable&&fe.createElement(De.default,{value:void 0===o.filter?H:o.filter,inputRef:T,onChange:se,onKeyDown:ne,tabIndex:M,size:ue,rounded:pe,fillMode:de}),0<r.length?fe.createElement(xe.TreeView,{ref:K,tabIndex:M,data:r,focusIdField:f,textField:o.textField,checkField:I,checkIndeterminateField:S,expandField:o.expandField,childrenField:_,expandIcons:!0,onItemClick:E,onCheckChange:E,onExpandChange:ae,checkboxes:!0,size:ue,item:o.item}):fe.createElement(re,null,le.toLanguageString(me.nodata,me.messages[me.nodata]))));return k?fe.createElement(Pe.FloatingLabel,{label:k,editorValue:e,editorPlaceholder:y,editorValid:D,editorDisabled:m,editorId:a,style:{width:v?v.width:void 0},children:t,dir:U}):t}),{opened:t.bool,disabled:t.bool,dir:t.string,tabIndex:t.number,accessKey:t.string,data:t.array,value:t.any,valueMap:t.func,placeholder:t.string,dataItemKey:t.string.isRequired,textField:t.string.isRequired,checkField:t.string,checkIndeterminateField:t.string,expandField:t.string,subItemsField:t.string,className:t.string,style:t.object,label:t.string,validationMessage:t.string,validityStyles:t.bool,valid:t.bool,required:t.bool,name:t.string,id:t.string,ariaLabelledBy:t.string,ariaDescribedBy:t.string,filterable:t.bool,filter:t.string,loading:t.bool,tags:t.arrayOf(t.shape({text:t.string,data:t.arrayOf(t.any)})),popupSettings:t.shape({animate:t.oneOfType([t.bool,t.shape({openDuration:t.number,closeDuration:t.number})]),popupClass:t.string,className:t.string,appendTo:t.any,width:t.oneOfType([t.string,t.number]),height:t.oneOfType([t.string,t.number])}),onOpen:t.func,onClose:t.func,onFocus:t.func,onBlur:t.func,onChange:t.func,onFilterChange:t.func,onExpandChange:t.func,item:t.func,listNoData:t.func});ce.MultiSelectTree.displayName="KendoReactMultiSelectTree",ce.MultiSelectTree.defaultProps=be,ce.MultiSelectTree.propTypes=e},function(e,P,t){"use strict";Object.defineProperty(P,"__esModule",{value:!0});var E=t(1);P.getValueMap=function(e,t){var n={};return e&&e.length&&e.forEach(function(e){n[t(e)]=!0}),n},P.getMultiSelectTreeValue=function(p,e){var d,c=e.items,h=e.dataItemKey,t=e.value,f=e.subItemsField,f=void 0===f?"items":f,e=e.operation,n=E.getter(h),v=P.getValueMap(t,n);if("clear"===e)return[];if("delete"===e)return d=P.getValueMap(c,n),t.filter(function(e){return!d[n(e)]});for(var g,i,h=c[0],m=n(h),o=E.getter(f),a=p.slice(),s=[];a.length;){var r=a.pop();if(m===n(r)){g=s.map(function(e){return e.item}),i=r;break}s&&s.length&&s[s.length-1].parentPosition===a.length&&s.pop(),(u=o(r))&&u.length&&(s.push({item:r,parentPosition:a.length}),a.push.apply(a,u))}for(var y=(o(i)||[]).slice(),b=[];y.length;)r=y.pop(),b.push(r),(u=o(r))&&u.length&&y.push.apply(y,u);var l=[];if(v[m]){var C=n(i),k=P.getValueMap(b,n),x=P.getValueMap(g,n);l.push.apply(l,t.filter(function(e){e=n(e);return!k[e]&&C!==e&&!x[e]}))}else{l.push.apply(l,t),l.push(i),l.push.apply(l,b.filter(function(e){return!v[n(e)]}));for(var I=g.filter(function(e){return!v[n(e)]}),S=P.getValueMap(l,n),_=I.length-1;-1<_;_--){var u,w=I[_];if((u=o(w)).filter(function(e){return S[n(e)]}).length<u.length)break;l.push(w),S[n(w)]=!0}}return l}}],i={},o.m=n,o.c=i,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)o.d(n,i,function(e){return t[e]}.bind(null,i));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=20)}}});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-react-dropdowns",
3
- "version": "5.1.0-dev.202202180916",
3
+ "version": "5.1.0-dev.202202221154",
4
4
  "description": "KendoReact Dropdowns package",
5
5
  "repository": {
6
6
  "type": "git",
@@ -48,9 +48,9 @@
48
48
  "react-dom": "^16.8.2 || ^17.0.0"
49
49
  },
50
50
  "dependencies": {
51
- "@progress/kendo-react-common": "5.1.0-dev.202202180916",
52
- "@progress/kendo-react-labels": "5.1.0-dev.202202180916",
53
- "@progress/kendo-react-popup": "5.1.0-dev.202202180916",
51
+ "@progress/kendo-react-common": "5.1.0-dev.202202221154",
52
+ "@progress/kendo-react-labels": "5.1.0-dev.202202221154",
53
+ "@progress/kendo-react-popup": "5.1.0-dev.202202221154",
54
54
  "prop-types": "^15.6.0"
55
55
  },
56
56
  "devDependencies": {
@@ -58,14 +58,14 @@
58
58
  "@progress/kendo-date-math": "^1.4.1",
59
59
  "@progress/kendo-drawing": "^1.8.0",
60
60
  "@progress/kendo-licensing": "^1.0.1",
61
- "@progress/kendo-react-animation": "5.1.0-dev.202202180916",
62
- "@progress/kendo-react-buttons": "5.1.0-dev.202202180916",
63
- "@progress/kendo-react-data-tools": "5.1.0-dev.202202180916",
64
- "@progress/kendo-react-dateinputs": "5.1.0-dev.202202180916",
65
- "@progress/kendo-react-grid": "5.1.0-dev.202202180916",
66
- "@progress/kendo-react-inputs": "5.1.0-dev.202202180916",
67
- "@progress/kendo-react-intl": "5.1.0-dev.202202180916",
68
- "@progress/kendo-react-treeview": "5.1.0-dev.202202180916"
61
+ "@progress/kendo-react-animation": "5.1.0-dev.202202221154",
62
+ "@progress/kendo-react-buttons": "5.1.0-dev.202202221154",
63
+ "@progress/kendo-react-data-tools": "5.1.0-dev.202202221154",
64
+ "@progress/kendo-react-dateinputs": "5.1.0-dev.202202221154",
65
+ "@progress/kendo-react-grid": "5.1.0-dev.202202221154",
66
+ "@progress/kendo-react-inputs": "5.1.0-dev.202202221154",
67
+ "@progress/kendo-react-intl": "5.1.0-dev.202202221154",
68
+ "@progress/kendo-react-treeview": "5.1.0-dev.202202221154"
69
69
  },
70
70
  "@progress": {
71
71
  "friendlyName": "Dropdowns",