Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@progress/kendo-react-data-tools

Package Overview
Dependencies
Maintainers
1
Versions
995
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@progress/kendo-react-data-tools - npm Package Compare versions

Comparing version 3.7.0-dev.201910280924 to 3.7.0-dev.201910301342

2

dist/systemjs/kendo-react-data-tools.js

@@ -1,1 +0,1 @@

System.register("@progress/kendo-react-data-tools",["react","prop-types","@progress/kendo-react-intl"],function(i){var a,s,l;function t(e){return e.__useDefault?e.default:e}return{setters:[function(e){a=t(e)},function(e){s=t(e)},function(e){l=t(e)}],execute:function(){function o(e){if(n[e])return n[e].exports;var t=n[e]={i:e,l:!1,exports:{}};return r[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}var r,n;n={},o.m=r=[function(e,t){e.exports=a},function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),u=this&&this.__assign||function(){return(u=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var c=r(0);t.createFilterCell=function(p){return t=c.Component,o(e,t),e.prototype.render=function(){var e=this.props,t=e.clearButtonTitle,r=void 0===t?"":t,n=e.operators,o=void 0===n?[]:n,i=this.findCellFilter()||u({},p.emptyFilter,{operator:""}),a=i.operator,s=i.value,l={value:o.find(function(e){return e.operator===a})||null,onChange:this.operatorChange,className:"k-dropdown-operator",iconClassName:"k-i-filter k-icon",data:o,textField:"text",popupSettings:{width:""},components:this.props.components};return c.createElement("div",{className:"k-filtercell"},c.createElement("div",{className:"k-filtercell-wrapper"},p.inputComponent({value:s,onChange:this.inputChange,components:this.props.components}),c.createElement("div",{className:"k-filtercell-operator"},p.operatorComponent(l,this.props),c.createElement("button",{className:null!==s&&""!==s||a?"k-button k-button-icon k-clear-button-visible":"k-button k-button-icon",title:r,type:"button",onClick:this.clearButtonClick},c.createElement("span",{className:"k-icon k-i-filter-clear"})))))},e;function e(){var c=null!==t&&t.apply(this,arguments)||this;return c.filterChange=function(e){c.props.onFilterChange&&c.props.onFilterChange(e)},c.inputChange=function(e){var t=e.target.value,r=c.props,n=r.filter,o=void 0===n?[]:n,i=r.field,a=void 0===i?"":i,s=c.findCellFilter(),l=s?o.map(function(e){return e.field===a?u({},s,{value:t}):e}):o.concat([u({},p.emptyFilter,{value:t,field:a})]);c.filterChange({filter:l,field:a,syntheticEvent:e.syntheticEvent})},c.operatorChange=function(e){var t=e.target.value.operator,r=c.props,n=r.filter,o=void 0===n?[]:n,i=r.field,a=void 0===i?"":i,s=c.findCellFilter(),l=s?o.map(function(e){return e.field===a?u({},s,{operator:t}):e}):o.concat([u({},p.emptyFilter,{field:a,operator:t})]);c.filterChange({filter:l,field:a,syntheticEvent:e.syntheticEvent})},c.clearButtonClick=function(e){var t=c.props,r=t.filter,n=void 0===r?[]:r,o=t.field,i=void 0===o?"":o;c.filterChange({filter:n.filter(function(e){return e.field!==i}),field:i,syntheticEvent:e})},c.findCellFilter=function(){var e=c.props,t=e.filter,r=void 0===t?[]:t,n=e.field;return r.find(function(e){return e.field===n})},c}var t}},function(e,t){e.exports=l},function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.pagerInfo="pager.info",t.pagerFirstPage="pager.firstPage",t.pagerPreviousPage="pager.previousPage",t.pagerNextPage="pager.nextPage",t.pagerLastPage="pager.lastPage",t.pagerItemPerPage="pager.itemsPerPage",t.pagerPage="pager.page",t.pagerOf="pager.of",t.messages=((n={})[t.pagerItemPerPage]="items per page",n[t.pagerInfo]="{0} - {1} of {2} items",n[t.pagerFirstPage]="Go to the first page",n[t.pagerPreviousPage]="Go to the previous page",n[t.pagerNextPage]="Go to the next page",n[t.pagerLastPage]="Go to the last page",n[t.pagerPage]="Page",n[t.pagerOf]="of",n)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ColumnDefaultProps={filterable:!0,editable:!0,sortable:!0,resizable:!0,reorderable:!0,groupable:!0}},function(e,t,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var o=r(0);t.HeaderCell=function(e){var t=e.onClick?{href:"#",onClick:e.onClick}:{},r=o.createElement("a",n({className:"k-link"},t),e.title||e.field||" ",e.children);return e.render?e.render.call(void 0,r,e):r}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalize=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Object.assign.apply(Object,[{allowUnsort:!0,mode:"single"}].concat(e))}},function(e,r,t){"use strict";function n(e){for(var t in e)r.hasOwnProperty(t)||(r[t]=e[t])}Object.defineProperty(r,"__esModule",{value:!0});var o=t(8);r.Pager=o.Pager,n(t(13)),n(t(18)),n(t(25)),function(e){for(var t in e)i(t,e[t])}(r)},function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var i,v=r(0),a=r(9),y=r(10),m=r(11),_=r(12),b=r(3),P=r(2),s=(i=v.Component,o(l,i),l.prototype.render=function(){var e,t,r,n,o=this.props,i=o.skip,a=o.take,s=o.total,l=o.pageSizes,c=o.className,p=P.provideLocalizationService(this),u=P.provideIntlService(this),f=Math.floor(i/a)+1,h="numeric"===this.props.type?v.createElement(y.PagerNumericButtons,{buttonCount:this.props.buttonCount||0,totalPages:this.totalPages,currentPage:f,pageChange:this.changePage}):v.createElement(m.PagerInput,{currentPage:f,totalPages:this.totalPages,pageChange:this.changePage});this.props.previousNext&&(e=this.renderButton(1,"k-link k-pager-nav k-pager-first"+(1===f?" k-state-disabled":""),p.toLanguageString(b.pagerFirstPage,b.messages[b.pagerFirstPage]),"k-icon k-i-arrow-end-left"),t=this.renderButton(f-1,"k-link k-pager-nav"+(1===f?" k-state-disabled":""),p.toLanguageString(b.pagerPreviousPage,b.messages[b.pagerPreviousPage]),"k-icon k-i-arrow-60-left"),r=this.renderButton(f+1,"k-link k-pager-nav"+(f===this.totalPages?" k-state-disabled":""),p.toLanguageString(b.pagerNextPage,b.messages[b.pagerNextPage]),"k-icon k-i-arrow-60-right"),n=this.renderButton(this.totalPages,"k-link k-pager-nav k-pager-last"+(f===this.totalPages?" k-state-disabled":""),p.toLanguageString(b.pagerLastPage,b.messages[b.pagerLastPage]),"k-icon k-i-arrow-end-right"));var d=void 0!==l&&v.createElement(_.PagerPageSizes,{pageChange:this.props.onPageChange,pageSize:a,pageSizes:l}),g=this.props.info&&v.createElement("div",{className:"k-pager-info k-label"},u.format(p.toLanguageString(b.pagerInfo,b.messages[b.pagerInfo]),[Math.min(i+1,s),Math.min(i+a,s),s]));return v.createElement("div",{className:"k-pager-wrap k-floatwrap k-widget"+(c?" "+c:""),style:this.props.style},e,t,h,r,n,d,g)},l.prototype.renderButton=function(t,e,r,n){var o=this;return v.createElement("a",{onClick:function(e){e.preventDefault(),o.changePage(t,e)},href:"#",className:e,title:r},v.createElement("span",{className:n,"aria-label":r}))},Object.defineProperty(l.prototype,"totalPages",{get:function(){return Math.ceil((this.props.total||0)/this.props.take)},enumerable:!0,configurable:!0}),l.propTypes={className:a.string,style:a.object,total:a.number.isRequired,skip:a.number.isRequired,take:a.number.isRequired,buttonCount:a.number,info:a.bool,type:a.oneOf(["numeric","input"]),pageSizes:a.arrayOf(a.number),previousNext:a.bool,onPageChange:a.func},l.defaultProps={buttonCount:10,info:!0,type:"numeric"},l);function l(){var r=null!==i&&i.apply(this,arguments)||this;return r.changePage=function(e,t){r.props.onPageChange&&0<e&&e<=r.totalPages&&r.props.onPageChange({target:r,skip:(e-1)*r.props.take,take:r.props.take,syntheticEvent:t,nativeEvent:t.nativeEvent})},r}t.Pager=s,P.registerForIntl(s),P.registerForLocalization(s)},function(e,t){e.exports=s},function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var i,a=r(0),s=(i=a.Component,o(l,i),l.prototype.render=function(){for(var r=this,e=1<this.start&&this.renderDots(this.start-1),t=this.end<this.props.totalPages&&this.renderDots(this.end+1),n=[],o=this.start;o<=this.end;o++)n.push(o);var i=n.map(function(t){return a.createElement("li",{key:t},a.createElement("a",{href:"#",onClick:function(e){return r.handlePageChange(e,t)},className:r.props.currentPage===t?"k-link k-state-selected":"k-link"},t))});return a.createElement("ul",{className:"k-pager-numbers k-reset"},e,i,t)},l.prototype.renderDots=function(t){var r=this;return a.createElement("li",null,a.createElement("a",{className:"k-link",onClick:function(e){return r.handlePageChange(e,t)},href:"#"},"..."))},Object.defineProperty(l.prototype,"end",{get:function(){return Math.min(this.start+this.props.buttonCount-1,this.props.totalPages)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"start",{get:function(){var e=this.props.currentPage,t=this.props.buttonCount;if(t<e){var r=e%t;return 0==r?e-t+1:e-r+1}return 1},enumerable:!0,configurable:!0}),l);function l(){var r=null!==i&&i.apply(this,arguments)||this;return r.handlePageChange=function(e,t){e.preventDefault(),r.props.pageChange(t,e)},r}t.PagerNumericButtons=s},function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var i,a=r(0),s=r(2),l=r(3),c=(i=a.Component,o(p,i),p.prototype.render=function(){var e=this,t=s.provideLocalizationService(this);return a.createElement("span",{className:"k-pager-input k-label"},t.toLanguageString(l.pagerPage,l.messages[l.pagerPage]),a.createElement("input",{className:"k-textbox",value:this.value(),onBlur:function(){return e.forceUpdate()},onChange:this.onChange}),t.toLanguageString(l.pagerOf,l.messages[l.pagerOf])+" "+this.props.totalPages)},p);function p(){var r=null!==i&&i.apply(this,arguments)||this;return r._text=void 0,r.onChange=function(e){var t=r._text=e.target.value.replace(/\D/g,"");r.forceUpdate(),t&&r.props.pageChange(parseInt(t,10),e)},r.value=function(){var e=void 0===r._text?r.props.currentPage.toString():r._text;return r._text=void 0,e},r}t.PagerInput=c,s.registerForLocalization(c)},function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var i,a=r(0),s=r(2),l=r(3),c=(i=a.Component,o(p,i),p.prototype.render=function(){var t=this,e=this.props.pageSizes.slice();return 0===e.filter(function(e){return e===t.props.pageSize}).length&&e.unshift(this.props.pageSize),a.createElement("label",{className:"k-pager-sizes k-label"},a.createElement("select",{value:this.props.pageSize,onChange:this.pageSizeChange},e.map(function(e,t){return a.createElement("option",{key:t,value:e}," ",e," ")})),s.provideLocalizationService(this).toLanguageString(l.pagerItemPerPage,l.messages[l.pagerItemPerPage]))},p);function p(){var t=null!==i&&i.apply(this,arguments)||this;return t.pageSizeChange=function(e){t.props.pageChange&&t.props.pageChange({skip:0,take:parseInt(e.target.value,10)},e)},t}t.PagerPageSizes=c,s.registerForLocalization(c)},function(e,r,t){"use strict";function n(e){for(var t in e)r.hasOwnProperty(t)||(r[t]=e[t])}Object.defineProperty(r,"__esModule",{value:!0}),n(t(1)),n(t(14)),n(t(15)),n(t(16)),n(t(17))},function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),l=this&&this.__assign||function(){return(l=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},c=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&(r[n[o]]=e[n[o]])}return r};Object.defineProperty(t,"__esModule",{value:!0});var i,p=r(0),a=r(1),s={emptyFilter:{operator:"eq",value:""},inputComponent:function(e){return null},operatorComponent:function(e,n){var t=n.filter,o=void 0===t?[]:t,i=n.field,a=o.find(function(e){return e.field===i}),r=e.components.DropDownList,s=c(e,["components"]);return r&&p.createElement(r,l({},s,{value:e.data.find(function(e){return e.operator===(a?a.value:"")}),onChange:function(e){if(n.onFilterChange){var t=e.target.value.operator;if(""!==t){var r=a?o.map(function(e){return e.field===i?l({},a,{value:t}):e}):o.concat([{value:t,field:i,operator:"eq"}]);n.onFilterChange.call(void 0,{filter:r,field:i,syntheticEvent:e.syntheticEvent})}else a&&n.onFilterChange.call(void 0,{filter:o.filter(function(e){return e.field!==a.field}),field:i,syntheticEvent:e.syntheticEvent})}}}))}},u=(i=a.createFilterCell(s),o(f,i),f);function f(){return null!==i&&i.apply(this,arguments)||this}t.BooleanFilter=u},function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&(r[n[o]]=e[n[o]])}return r};Object.defineProperty(t,"__esModule",{value:!0});var s,l=r(0),c={inputComponent:function(e){var t=e.components.DatePicker,r=a(e,["components"]);return t&&l.createElement(t,i({},r))},operatorComponent:function(e){var t=e.components.DropDownList,r=a(e,["components"]);return t&&l.createElement(t,i({},r))},emptyFilter:{operator:"eq",value:null}},p=(s=r(1).createFilterCell(c),o(u,s),u);function u(){return null!==s&&s.apply(this,arguments)||this}t.DateFilter=p},function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&(r[n[o]]=e[n[o]])}return r};Object.defineProperty(t,"__esModule",{value:!0});var s,l=r(0),c={inputComponent:function(e){var t=e.components.NumericTextBox,r=a(e,["components"]);return t&&l.createElement(t,i({},r))},operatorComponent:function(e){var t=e.components.DropDownList,r=a(e,["components"]);return t&&l.createElement(t,i({},r))},emptyFilter:{operator:"eq",value:null}},p=(s=r(1).createFilterCell(c),o(u,s),u);function u(){return null!==s&&s.apply(this,arguments)||this}t.NumericFilter=p},function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&(r[n[o]]=e[n[o]])}return r};Object.defineProperty(t,"__esModule",{value:!0});var s,l=r(0),c={inputComponent:function(e){var t=e.components.Input,r=a(e,["components"]);return t&&l.createElement(t,i({},r))},operatorComponent:function(e){var t=e.components.DropDownList,r=a(e,["components"]);return t&&l.createElement(t,i({},r))},emptyFilter:{operator:"contains",value:""}},p=(s=r(1).createFilterCell(c),o(u,s),u);function u(){return null!==s&&s.apply(this,arguments)||this}t.TextFilter=p},function(e,r,t){"use strict";function n(e){for(var t in e)r.hasOwnProperty(t)||(r[t]=e[t])}Object.defineProperty(r,"__esModule",{value:!0}),n(t(4)),n(t(19)),n(t(20)),n(t(5)),n(t(22)),n(t(23)),n(t(6)),n(t(24))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r(0);t.FilterRow=function(e){var t=e.columns,r=e.filter,n=e.filterChange,o=e.sort,i=void 0===o?[]:o;return a.createElement("tr",{className:"k-filter-row"},t.map(function(e,t){return a.createElement("th",{key:t,className:function(e,t,r){var n=r?"k-grid-header-sticky":"";return e.some(function(e){return e.field===t})&&(n+=" k-sorted"),n}(i,e.field,e.locked)},e.filter&&a.createElement(e.filter,{field:e.field,filter:r,onFilterChange:n}))}))}},function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var i,a=r(0),s=r(21),l=(i=a.Component,o(c,i),c.prototype.componentDidMount=function(){if(this.element){this.setState({});var e=(new s.BrowserSupportService).scrollbarWidth,t="rtl"===getComputedStyle(this.element).direction||!1,r=Math.max(0,e-1)+"px",n=t?0:r,o=t?r:0;this.divStyle={padding:"0 "+n+" 0 "+o}}},c.prototype.setScrollLeft=function(e){this.headerWrap&&(this.headerWrap.scrollLeft=e)},c.prototype.setWidth=function(e){this.table&&(this.table.style.width=e+"px")},c.prototype.render=function(){var t=this;return this.props.staticHeaders?a.createElement("div",{ref:function(e){t.element=e},className:"k-grid-header",style:this.divStyle},a.createElement("div",{ref:function(e){t.headerWrap=e},className:"k-grid-header-wrap"},a.createElement("table",{ref:function(e){t.table=e}},a.createElement("colgroup",{ref:function(e){t.props.columnResize.colGroupHeader=e}},this.props.cols),a.createElement("thead",null,this.props.headerRow,this.props.filterRow)))):a.createElement("thead",{className:"k-grid-header"},this.props.headerRow,this.props.filterRow)},c);function c(){var e=null!==i&&i.apply(this,arguments)||this;return e.divStyle={},e.element=null,e.headerWrap=null,e.table=null,e}t.Header=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=(Object.defineProperty(o.prototype,"scrollbarWidth",{get:function(){var e="undefined"!=typeof document?document:{};if(!this.scrollbar&&e&&e.createElement){var t=e.createElement("div");t.style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",t.innerHTML="&nbsp;",e.body.appendChild(t),this.scrollbar=t.offsetWidth-t.scrollWidth,e.body.removeChild(t)}return this.scrollbar},enumerable:!0,configurable:!0}),o);function o(){}t.BrowserSupportService=n},function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),p=this&&this.__assign||function(){return(p=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var i,u=r(0),f=r(5),l=r(6),h={true:{asc:"desc",desc:"","":"asc"},false:{asc:"desc",desc:"asc","":"asc"}},d={none:"",asc:"ascending",desc:"descending"},a=(i=u.Component,o(s,i),s.prototype.cellClass=function(t,e,r){var n="k-header"+(r?" k-grid-header-sticky":"")+(e?" "+e:"");return this.props.sort&&this.props.sort.some(function(e){return e.field===t})&&(n+=" k-sorted"),n},s.prototype.sortIcon=function(e){return this.props.sort?0<=e&&[u.createElement("span",{key:1,className:"k-icon k-i-sort-"+this.props.sort[e].dir+"-sm"}),1<this.props.sort.length&&u.createElement("span",{key:2,className:"k-sort-order"},e+1)]:null},s.prototype.render=function(){var r=this;return this.props.columnsMap.map(function(e,t){return u.createElement("tr",{key:t},r.cells(e))})},s);function s(){var c=null!==i&&i.apply(this,arguments)||this;return c.cellClick=function(e,t){if(e.preventDefault(),c.props.sortChange){var r=l.normalize(c.props.sortable||!1,t.sortable||!1),n=r.allowUnsort,o=r.mode,i=(c.props.sort||[]).filter(function(e){return e.field===t.field})[0],a=h[n][i&&i.dir||""],s="single"===o?[]:(c.props.sort||[]).filter(function(e){return e.field!==t.field});""!==a&&t.field&&s.push({field:t.field,dir:a}),c.props.sortChange(e,s,t.field)}},c.cells=function(e){return e.map(function(e,t){var r=c.props.columns[e],n=c.props.sortable&&r.sortable,o=c.props.sort?c.props.sort.findIndex(function(e){return e.field===r.field}):-1,i=0<=o&&c.props.sort[o].dir||"none",a={field:r.field,onClick:n&&function(e){return c.cellClick(e,r)}||void 0,selectionChange:c.props.selectionChange,title:r.title,selectionValue:r.headerSelectionValue,render:c.props.cellRender,children:c.sortIcon(o)},s=(r.kFirst?"k-first ":"")+c.cellClass(r.field,r.headerClassName,r.locked),l=void 0!==r.locked?{left:r.left,right:r.right,borderRightWidth:r.rightBorder?"1px":""}:{};return u.createElement("th",{"aria-sort":d[i],key:t,colSpan:r.colSpan,rowSpan:r.rowSpan,className:s,style:l},r.headerCell&&u.createElement(r.headerCell,p({},a))||u.createElement(f.HeaderCell,p({},a)))})},c}t.HeaderRow=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0);t.HeaderSelectionCell=function(t){var e=[n.createElement("input",{key:0,checked:t.selectionValue,id:t.inputId,type:"checkbox",className:"k-checkbox",onChange:function(e){return t.selectionChange({field:t.field,syntheticEvent:e})}}),n.createElement("label",{key:1,className:"k-checkbox-label",htmlFor:t.inputId})];return t.render?t.render.call(void 0,e,t):e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=r(4);t.mapColumns=function(e){for(var n=[[]],o=0,t=e.length-1;0<=t;t--)e[t].colSpan=e[t].colSpan||1,-1!==e[t].parentIndex&&(e[e[t].parentIndex].colSpan=(e[e[t].parentIndex].colSpan||0)+e[t].colSpan);var i=0;e.forEach(function(e){i=Math.max(i,e.depth)});var a=1;e.forEach(function(e,t){n[e.depth]=n[e.depth]||[];var r=!1;0===n[e.depth].length&&(a<=1?a=1+(0<e.children.length?0:i-e.depth):(a--,r=!0)),e.rowSpan=1+(0<e.children.length?0:i-e.depth),e.kFirst=r,e.index=n[e.depth].length,n[e.depth].push(t),e.locked&&0===e.children.length&&(e.left=o,o+=e.width?parseFloat(e.width.toString()):0)});for(var r=!1,s=0,l=e.length-1;0<=l;l--){var c=e[l];c.locked&&0===c.children.length&&(c.right=s,s+=c.width?parseFloat(c.width.toString()):0,c.rightBorder=!r),r=c.locked||!1}return n},t.readColumns=function o(e,i,a){void 0===a&&(a=0);var s=[];if(!e)return[];if(e&&void 0===e.length&&(e=[e]),e.forEach(function(e,t){e=e.props?e.props:e;var r=i[t]||null,n=o(e.children,r&&r.children||[],a+1);s.push(Object.assign({depth:a},l.ColumnDefaultProps,n.length?{cell:function(){return null},filter:function(){return null}}:{},r?{width:r.width,orderIndex:r.orderIndex}:{},e,{declarationIndex:s.length,children:n,rowSpan:0,colSpan:0}))}),s.sort(function(e,t){return e.orderIndex===t.orderIndex?e.declarationIndex-t.declarationIndex:(e.orderIndex||0)-(t.orderIndex||0)}),0!==a)return s;var r=[],n=function(e,t){return e.forEach(function(e){e.parentIndex=t,n(e.children,r.push(e)-1)})};return n(s,-1),r}},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(e){for(var t in e)r.hasOwnProperty(t)||(r[t]=e[t])}(t(26))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tableColumnsVirtualization=function(e){var t=e.enabled,r=e.columns,n=void 0===r?[]:r,o=e.tableViewPortWidth,i=e.scrollLeft,a=n.map(function(){return 1}),s=n.map(function(){return!1});if(t){for(var l=n.map(function(e){return parseFloat((e.width||"").toString())||10}),c=0,p=0,u=0;u<n.length;u++)if(!n[u].locked){var f=u<l.length-1?l[u+1]:0;if(!(p+l[u]+f<i)){a[u]=1+c;break}s[u]=!0,c++,p+=l[u]}var h=l.reduce(function(e,t){return e+t},0);for(p=c=0,u=n.length-1;0<=u;u--)if(!n[u].locked){if(!(p+2*l[u]<h-o-i)){a[u]=Math.max(a[u],1+c);break}s[u]=!0,c++,p+=l[u]}}return{colSpans:a,hiddenColumns:s}}}],o.c=n,o.d=function(e,t,r){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},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 r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)o.d(r,n,function(e){return t[e]}.bind(null,n));return r},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=7)}}});
System.register("@progress/kendo-react-data-tools",["prop-types","react","@progress/kendo-react-intl"],function(i){var a,s,l;function t(e){return e.__useDefault?e.default:e}return{setters:[function(e){a=t(e)},function(e){s=t(e)},function(e){l=t(e)}],execute:function(){function o(e){if(n[e])return n[e].exports;var t=n[e]={i:e,l:!1,exports:{}};return r[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}var r,n;n={},o.m=r=[function(e,t){e.exports=s},function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),u=this&&this.__assign||function(){return(u=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var c=r(0);t.createFilterCell=function(p){return t=c.Component,o(e,t),e.prototype.render=function(){var e=this.props,t=e.clearButtonTitle,r=void 0===t?"":t,n=e.operators,o=void 0===n?[]:n,i=this.findCellFilter()||u({},p.emptyFilter,{operator:""}),a=i.operator,s=i.value,l={value:o.find(function(e){return e.operator===a})||null,onChange:this.operatorChange,className:"k-dropdown-operator",iconClassName:"k-i-filter k-icon",data:o,textField:"text",popupSettings:{width:""},components:this.props.components};return c.createElement("div",{className:"k-filtercell"},c.createElement("div",{className:"k-filtercell-wrapper"},p.inputComponent({value:s,onChange:this.inputChange,components:this.props.components}),c.createElement("div",{className:"k-filtercell-operator"},p.operatorComponent(l,this.props),c.createElement("button",{className:null!==s&&""!==s||a?"k-button k-button-icon k-clear-button-visible":"k-button k-button-icon",title:r,type:"button",onClick:this.clearButtonClick},c.createElement("span",{className:"k-icon k-i-filter-clear"})))))},e;function e(){var c=null!==t&&t.apply(this,arguments)||this;return c.filterChange=function(e){c.props.onFilterChange&&c.props.onFilterChange(e)},c.inputChange=function(e){var t=e.target.value,r=c.props,n=r.filter,o=void 0===n?[]:n,i=r.field,a=void 0===i?"":i,s=c.findCellFilter(),l=s?o.map(function(e){return e.field===a?u({},s,{value:t}):e}):o.concat([u({},p.emptyFilter,{value:t,field:a})]);c.filterChange({filter:l,field:a,syntheticEvent:e.syntheticEvent})},c.operatorChange=function(e){var t=e.target.value.operator,r=c.props,n=r.filter,o=void 0===n?[]:n,i=r.field,a=void 0===i?"":i,s=c.findCellFilter(),l=s?o.map(function(e){return e.field===a?u({},s,{operator:t}):e}):o.concat([u({},p.emptyFilter,{field:a,operator:t})]);c.filterChange({filter:l,field:a,syntheticEvent:e.syntheticEvent})},c.clearButtonClick=function(e){var t=c.props,r=t.filter,n=void 0===r?[]:r,o=t.field,i=void 0===o?"":o;c.filterChange({filter:n.filter(function(e){return e.field!==i}),field:i,syntheticEvent:e})},c.findCellFilter=function(){var e=c.props,t=e.filter,r=void 0===t?[]:t,n=e.field;return r.find(function(e){return e.field===n})},c}var t}},function(e,t){e.exports=l},function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.pagerInfo="pager.info",t.pagerFirstPage="pager.firstPage",t.pagerPreviousPage="pager.previousPage",t.pagerNextPage="pager.nextPage",t.pagerLastPage="pager.lastPage",t.pagerItemPerPage="pager.itemsPerPage",t.pagerPage="pager.page",t.pagerOf="pager.of",t.messages=((n={})[t.pagerItemPerPage]="items per page",n[t.pagerInfo]="{0} - {1} of {2} items",n[t.pagerFirstPage]="Go to the first page",n[t.pagerPreviousPage]="Go to the previous page",n[t.pagerNextPage]="Go to the next page",n[t.pagerLastPage]="Go to the last page",n[t.pagerPage]="Page",n[t.pagerOf]="of",n)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ColumnDefaultProps={filterable:!0,editable:!0,sortable:!0,resizable:!0,reorderable:!0,groupable:!0}},function(e,t,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var o=r(0);t.HeaderCell=function(e){var t=e.onClick?{href:"#",onClick:e.onClick}:{},r=o.createElement("a",n({className:"k-link"},t),e.title||e.field||" ",e.children);return e.render?e.render.call(void 0,r,e):r}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalize=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Object.assign.apply(Object,[{allowUnsort:!0,mode:"single"}].concat(e))}},function(e,r,t){"use strict";function n(e){for(var t in e)r.hasOwnProperty(t)||(r[t]=e[t])}Object.defineProperty(r,"__esModule",{value:!0});var o=t(8);r.Pager=o.Pager,n(t(13)),n(t(18)),n(t(25)),function(e){for(var t in e)i(t,e[t])}(r)},function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var i,v=r(0),a=r(9),y=r(10),m=r(11),_=r(12),b=r(3),P=r(2),s=(i=v.Component,o(l,i),l.prototype.render=function(){var e,t,r,n,o=this.props,i=o.skip,a=o.take,s=o.total,l=o.pageSizes,c=o.className,p=P.provideLocalizationService(this),u=P.provideIntlService(this),f=Math.floor(i/a)+1,h="numeric"===this.props.type?v.createElement(y.PagerNumericButtons,{buttonCount:this.props.buttonCount||0,totalPages:this.totalPages,currentPage:f,pageChange:this.changePage}):v.createElement(m.PagerInput,{currentPage:f,totalPages:this.totalPages,pageChange:this.changePage});this.props.previousNext&&(e=this.renderButton(1,"k-link k-pager-nav k-pager-first"+(1===f?" k-state-disabled":""),p.toLanguageString(b.pagerFirstPage,b.messages[b.pagerFirstPage]),"k-icon k-i-arrow-end-left"),t=this.renderButton(f-1,"k-link k-pager-nav"+(1===f?" k-state-disabled":""),p.toLanguageString(b.pagerPreviousPage,b.messages[b.pagerPreviousPage]),"k-icon k-i-arrow-60-left"),r=this.renderButton(f+1,"k-link k-pager-nav"+(f===this.totalPages?" k-state-disabled":""),p.toLanguageString(b.pagerNextPage,b.messages[b.pagerNextPage]),"k-icon k-i-arrow-60-right"),n=this.renderButton(this.totalPages,"k-link k-pager-nav k-pager-last"+(f===this.totalPages?" k-state-disabled":""),p.toLanguageString(b.pagerLastPage,b.messages[b.pagerLastPage]),"k-icon k-i-arrow-end-right"));var d=void 0!==l&&v.createElement(_.PagerPageSizes,{pageChange:this.props.onPageChange,pageSize:a,pageSizes:l}),g=this.props.info&&v.createElement("div",{className:"k-pager-info k-label"},u.format(p.toLanguageString(b.pagerInfo,b.messages[b.pagerInfo]),[Math.min(i+1,s),Math.min(i+a,s),s]));return v.createElement("div",{className:"k-pager-wrap k-floatwrap k-widget"+(c?" "+c:""),style:this.props.style},e,t,h,r,n,d,g)},l.prototype.renderButton=function(t,e,r,n){var o=this;return v.createElement("a",{onClick:function(e){e.preventDefault(),o.changePage(t,e)},href:"#",className:e,title:r},v.createElement("span",{className:n,"aria-label":r}))},Object.defineProperty(l.prototype,"totalPages",{get:function(){return Math.ceil((this.props.total||0)/this.props.take)},enumerable:!0,configurable:!0}),l.propTypes={className:a.string,style:a.object,total:a.number.isRequired,skip:a.number.isRequired,take:a.number.isRequired,buttonCount:a.number,info:a.bool,type:a.oneOf(["numeric","input"]),pageSizes:a.arrayOf(a.number),previousNext:a.bool,onPageChange:a.func},l.defaultProps={buttonCount:10,info:!0,type:"numeric"},l);function l(){var r=null!==i&&i.apply(this,arguments)||this;return r.changePage=function(e,t){r.props.onPageChange&&0<e&&e<=r.totalPages&&r.props.onPageChange({target:r,skip:(e-1)*r.props.take,take:r.props.take,syntheticEvent:t,nativeEvent:t.nativeEvent})},r}t.Pager=s,P.registerForIntl(s),P.registerForLocalization(s)},function(e,t){e.exports=a},function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var i,a=r(0),s=(i=a.Component,o(l,i),l.prototype.render=function(){for(var r=this,e=1<this.start&&this.renderDots(this.start-1),t=this.end<this.props.totalPages&&this.renderDots(this.end+1),n=[],o=this.start;o<=this.end;o++)n.push(o);var i=n.map(function(t){return a.createElement("li",{key:t},a.createElement("a",{href:"#",onClick:function(e){return r.handlePageChange(e,t)},className:r.props.currentPage===t?"k-link k-state-selected":"k-link"},t))});return a.createElement("ul",{className:"k-pager-numbers k-reset"},e,i,t)},l.prototype.renderDots=function(t){var r=this;return a.createElement("li",null,a.createElement("a",{className:"k-link",onClick:function(e){return r.handlePageChange(e,t)},href:"#"},"..."))},Object.defineProperty(l.prototype,"end",{get:function(){return Math.min(this.start+this.props.buttonCount-1,this.props.totalPages)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"start",{get:function(){var e=this.props.currentPage,t=this.props.buttonCount;if(t<e){var r=e%t;return 0==r?e-t+1:e-r+1}return 1},enumerable:!0,configurable:!0}),l);function l(){var r=null!==i&&i.apply(this,arguments)||this;return r.handlePageChange=function(e,t){e.preventDefault(),r.props.pageChange(t,e)},r}t.PagerNumericButtons=s},function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var i,a=r(0),s=r(2),l=r(3),c=(i=a.Component,o(p,i),p.prototype.render=function(){var e=this,t=s.provideLocalizationService(this);return a.createElement("span",{className:"k-pager-input k-label"},t.toLanguageString(l.pagerPage,l.messages[l.pagerPage]),a.createElement("input",{className:"k-textbox",value:this.value(),onBlur:function(){return e.forceUpdate()},onChange:this.onChange}),t.toLanguageString(l.pagerOf,l.messages[l.pagerOf])+" "+this.props.totalPages)},p);function p(){var r=null!==i&&i.apply(this,arguments)||this;return r._text=void 0,r.onChange=function(e){var t=r._text=e.target.value.replace(/\D/g,"");r.forceUpdate(),t&&r.props.pageChange(parseInt(t,10),e)},r.value=function(){var e=void 0===r._text?r.props.currentPage.toString():r._text;return r._text=void 0,e},r}t.PagerInput=c,s.registerForLocalization(c)},function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var i,a=r(0),s=r(2),l=r(3),c=(i=a.Component,o(p,i),p.prototype.render=function(){var t=this,e=this.props.pageSizes.slice();return 0===e.filter(function(e){return e===t.props.pageSize}).length&&e.unshift(this.props.pageSize),a.createElement("label",{className:"k-pager-sizes k-label"},a.createElement("select",{value:this.props.pageSize,onChange:this.pageSizeChange},e.map(function(e,t){return a.createElement("option",{key:t,value:e}," ",e," ")})),s.provideLocalizationService(this).toLanguageString(l.pagerItemPerPage,l.messages[l.pagerItemPerPage]))},p);function p(){var t=null!==i&&i.apply(this,arguments)||this;return t.pageSizeChange=function(e){t.props.pageChange&&t.props.pageChange({skip:0,take:parseInt(e.target.value,10)},e)},t}t.PagerPageSizes=c,s.registerForLocalization(c)},function(e,r,t){"use strict";function n(e){for(var t in e)r.hasOwnProperty(t)||(r[t]=e[t])}Object.defineProperty(r,"__esModule",{value:!0}),n(t(1)),n(t(14)),n(t(15)),n(t(16)),n(t(17))},function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),l=this&&this.__assign||function(){return(l=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},c=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&(r[n[o]]=e[n[o]])}return r};Object.defineProperty(t,"__esModule",{value:!0});var i,p=r(0),a=r(1),s={emptyFilter:{operator:"eq",value:""},inputComponent:function(e){return null},operatorComponent:function(e,n){var t=n.filter,o=void 0===t?[]:t,i=n.field,a=o.find(function(e){return e.field===i}),r=e.components.DropDownList,s=c(e,["components"]);return r&&p.createElement(r,l({},s,{value:e.data.find(function(e){return e.operator===(a?a.value:"")}),onChange:function(e){if(n.onFilterChange){var t=e.target.value.operator;if(""!==t){var r=a?o.map(function(e){return e.field===i?l({},a,{value:t}):e}):o.concat([{value:t,field:i,operator:"eq"}]);n.onFilterChange.call(void 0,{filter:r,field:i,syntheticEvent:e.syntheticEvent})}else a&&n.onFilterChange.call(void 0,{filter:o.filter(function(e){return e.field!==a.field}),field:i,syntheticEvent:e.syntheticEvent})}}}))}},u=(i=a.createFilterCell(s),o(f,i),f);function f(){return null!==i&&i.apply(this,arguments)||this}t.BooleanFilter=u},function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&(r[n[o]]=e[n[o]])}return r};Object.defineProperty(t,"__esModule",{value:!0});var s,l=r(0),c={inputComponent:function(e){var t=e.components.DatePicker,r=a(e,["components"]);return t&&l.createElement(t,i({},r))},operatorComponent:function(e){var t=e.components.DropDownList,r=a(e,["components"]);return t&&l.createElement(t,i({},r))},emptyFilter:{operator:"eq",value:null}},p=(s=r(1).createFilterCell(c),o(u,s),u);function u(){return null!==s&&s.apply(this,arguments)||this}t.DateFilter=p},function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&(r[n[o]]=e[n[o]])}return r};Object.defineProperty(t,"__esModule",{value:!0});var s,l=r(0),c={inputComponent:function(e){var t=e.components.NumericTextBox,r=a(e,["components"]);return t&&l.createElement(t,i({},r))},operatorComponent:function(e){var t=e.components.DropDownList,r=a(e,["components"]);return t&&l.createElement(t,i({},r))},emptyFilter:{operator:"eq",value:null}},p=(s=r(1).createFilterCell(c),o(u,s),u);function u(){return null!==s&&s.apply(this,arguments)||this}t.NumericFilter=p},function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&(r[n[o]]=e[n[o]])}return r};Object.defineProperty(t,"__esModule",{value:!0});var s,l=r(0),c={inputComponent:function(e){var t=e.components.Input,r=a(e,["components"]);return t&&l.createElement(t,i({},r))},operatorComponent:function(e){var t=e.components.DropDownList,r=a(e,["components"]);return t&&l.createElement(t,i({},r))},emptyFilter:{operator:"contains",value:""}},p=(s=r(1).createFilterCell(c),o(u,s),u);function u(){return null!==s&&s.apply(this,arguments)||this}t.TextFilter=p},function(e,r,t){"use strict";function n(e){for(var t in e)r.hasOwnProperty(t)||(r[t]=e[t])}Object.defineProperty(r,"__esModule",{value:!0}),n(t(4)),n(t(19)),n(t(20)),n(t(5)),n(t(22)),n(t(23)),n(t(6)),n(t(24))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r(0);t.FilterRow=function(e){var t=e.columns,r=e.filter,n=e.filterChange,o=e.sort,i=void 0===o?[]:o;return a.createElement("tr",{className:"k-filter-row"},t.map(function(e,t){return a.createElement("th",{key:t,className:function(e,t,r){var n=r?"k-grid-header-sticky":"";return e.some(function(e){return e.field===t})&&(n+=" k-sorted"),n}(i,e.field,e.locked)},e.filter&&a.createElement(e.filter,{field:e.field,filter:r,onFilterChange:n}))}))}},function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var i,a=r(0),s=r(21),l=(i=a.Component,o(c,i),c.prototype.componentDidMount=function(){if(this.element){this.setState({});var e=(new s.BrowserSupportService).scrollbarWidth,t="rtl"===getComputedStyle(this.element).direction||!1,r=Math.max(0,e-1)+"px",n=t?0:r,o=t?r:0;this.divStyle={padding:"0 "+n+" 0 "+o}}},c.prototype.setScrollLeft=function(e){this.headerWrap&&(this.headerWrap.scrollLeft=e)},c.prototype.setWidth=function(e){this.table&&(this.table.style.width=e+"px")},c.prototype.render=function(){var t=this;return this.props.staticHeaders?a.createElement("div",{ref:function(e){t.element=e},className:"k-grid-header",style:this.divStyle},a.createElement("div",{ref:function(e){t.headerWrap=e},className:"k-grid-header-wrap"},a.createElement("table",{ref:function(e){t.table=e}},a.createElement("colgroup",{ref:function(e){t.props.columnResize.colGroupHeader=e}},this.props.cols),a.createElement("thead",null,this.props.headerRow,this.props.filterRow)))):a.createElement("thead",{className:"k-grid-header"},this.props.headerRow,this.props.filterRow)},c);function c(){var e=null!==i&&i.apply(this,arguments)||this;return e.divStyle={},e.element=null,e.headerWrap=null,e.table=null,e}t.Header=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=(Object.defineProperty(o.prototype,"scrollbarWidth",{get:function(){var e="undefined"!=typeof document?document:{};if(!this.scrollbar&&e&&e.createElement){var t=e.createElement("div");t.style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",t.innerHTML="&nbsp;",e.body.appendChild(t),this.scrollbar=t.offsetWidth-t.scrollWidth,e.body.removeChild(t)}return this.scrollbar},enumerable:!0,configurable:!0}),o);function o(){}t.BrowserSupportService=n},function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),p=this&&this.__assign||function(){return(p=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var i,u=r(0),f=r(5),l=r(6),h={true:{asc:"desc",desc:"","":"asc"},false:{asc:"desc",desc:"asc","":"asc"}},d={none:"",asc:"ascending",desc:"descending"},a=(i=u.Component,o(s,i),s.prototype.cellClass=function(t,e,r){var n="k-header"+(r?" k-grid-header-sticky":"")+(e?" "+e:"");return this.props.sort&&this.props.sort.some(function(e){return e.field===t})&&(n+=" k-sorted"),n},s.prototype.sortIcon=function(e){return this.props.sort?0<=e&&[u.createElement("span",{key:1,className:"k-icon k-i-sort-"+this.props.sort[e].dir+"-sm"}),1<this.props.sort.length&&u.createElement("span",{key:2,className:"k-sort-order"},e+1)]:null},s.prototype.render=function(){var r=this;return this.props.columnsMap.map(function(e,t){return u.createElement("tr",{key:t},r.cells(e))})},s);function s(){var c=null!==i&&i.apply(this,arguments)||this;return c.cellClick=function(e,t){if(e.preventDefault(),c.props.sortChange){var r=l.normalize(c.props.sortable||!1,t.sortable||!1),n=r.allowUnsort,o=r.mode,i=(c.props.sort||[]).filter(function(e){return e.field===t.field})[0],a=h[n][i&&i.dir||""],s="single"===o?[]:(c.props.sort||[]).filter(function(e){return e.field!==t.field});""!==a&&t.field&&s.push({field:t.field,dir:a}),c.props.sortChange(e,s,t.field)}},c.cells=function(e){return e.map(function(e,t){var r=c.props.columns[e],n=c.props.sortable&&r.sortable,o=c.props.sort?c.props.sort.findIndex(function(e){return e.field===r.field}):-1,i=0<=o&&c.props.sort[o].dir||"none",a={field:r.field,onClick:n&&function(e){return c.cellClick(e,r)}||void 0,selectionChange:c.props.selectionChange,title:r.title,selectionValue:r.headerSelectionValue,render:c.props.cellRender,children:c.sortIcon(o)},s=(r.kFirst?"k-first ":"")+c.cellClass(r.field,r.headerClassName,r.locked),l=void 0!==r.locked?{left:r.left,right:r.right,borderRightWidth:r.rightBorder?"1px":""}:{};return u.createElement("th",{"aria-sort":d[i],key:t,colSpan:r.colSpan,rowSpan:r.rowSpan,className:s,style:l},r.headerCell&&u.createElement(r.headerCell,p({},a))||u.createElement(f.HeaderCell,p({},a)))})},c}t.HeaderRow=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0);t.HeaderSelectionCell=function(t){var e=[n.createElement("input",{key:0,checked:t.selectionValue,id:t.inputId,type:"checkbox",className:"k-checkbox",onChange:function(e){return t.selectionChange({field:t.field,syntheticEvent:e})}}),n.createElement("label",{key:1,className:"k-checkbox-label",htmlFor:t.inputId})];return t.render?t.render.call(void 0,e,t):e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=r(4);t.mapColumns=function(e){for(var n=[[]],o=0,t=e.length-1;0<=t;t--)e[t].colSpan=e[t].colSpan||1,-1!==e[t].parentIndex&&(e[e[t].parentIndex].colSpan=(e[e[t].parentIndex].colSpan||0)+e[t].colSpan);var i=0;e.forEach(function(e){i=Math.max(i,e.depth)});var a=1;e.forEach(function(e,t){n[e.depth]=n[e.depth]||[];var r=!1;0===n[e.depth].length&&(a<=1?a=1+(0<e.children.length?0:i-e.depth):(a--,r=!0)),e.rowSpan=1+(0<e.children.length?0:i-e.depth),e.kFirst=r,e.index=n[e.depth].length,n[e.depth].push(t),e.locked&&0===e.children.length&&(e.left=o,o+=e.width?parseFloat(e.width.toString()):0)});for(var r=!1,s=0,l=e.length-1;0<=l;l--){var c=e[l];c.locked&&0===c.children.length&&(c.right=s,s+=c.width?parseFloat(c.width.toString()):0,c.rightBorder=!r),r=c.locked||!1}return n},t.readColumns=function o(e,i,a){void 0===a&&(a=0);var s=[];if(!e)return[];if(e&&void 0===e.length&&(e=[e]),e.forEach(function(e,t){e=e.props?e.props:e;var r=i[t]||null,n=o(e.children,r&&r.children||[],a+1);s.push(Object.assign({depth:a},l.ColumnDefaultProps,n.length?{cell:function(){return null},filter:function(){return null}}:{},r?{width:r.width,orderIndex:r.orderIndex}:{},e,{declarationIndex:s.length,children:n,rowSpan:0,colSpan:0}))}),s.sort(function(e,t){return e.orderIndex===t.orderIndex?e.declarationIndex-t.declarationIndex:(e.orderIndex||0)-(t.orderIndex||0)}),0!==a)return s;var r=[],n=function(e,t){return e.forEach(function(e){e.parentIndex=t,n(e.children,r.push(e)-1)})};return n(s,-1),r}},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(e){for(var t in e)r.hasOwnProperty(t)||(r[t]=e[t])}(t(26))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tableColumnsVirtualization=function(e){var t=e.enabled,r=e.columns,n=void 0===r?[]:r,o=e.tableViewPortWidth,i=e.scrollLeft,a=n.map(function(){return 1}),s=n.map(function(){return!1});if(t){for(var l=n.map(function(e){return parseFloat((e.width||"").toString())||10}),c=0,p=0,u=0;u<n.length;u++)if(!n[u].locked){var f=u<l.length-1?l[u+1]:0;if(!(p+l[u]+f<i)){a[u]=1+c;break}s[u]=!0,c++,p+=l[u]}var h=l.reduce(function(e,t){return e+t},0);for(p=c=0,u=n.length-1;0<=u;u--)if(!n[u].locked){if(!(p+2*l[u]<h-o-i)){a[u]=Math.max(a[u],1+c);break}s[u]=!0,c++,p+=l[u]}}return{colSpans:a,hiddenColumns:s}}}],o.c=n,o.d=function(e,t,r){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},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 r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)o.d(r,n,function(e){return t[e]}.bind(null,n));return r},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=7)}}});
{
"name": "@progress/kendo-react-data-tools",
"description": "KendoReact Data Tools package",
"version": "3.7.0-dev.201910280924",
"version": "3.7.0-dev.201910301342",
"repository": {

@@ -42,3 +42,3 @@ "type": "git",

"@progress/kendo-data-query": "^1.0.0",
"@progress/kendo-react-intl": "3.7.0-dev.201910280924"
"@progress/kendo-react-intl": "3.7.0-dev.201910301342"
},

@@ -45,0 +45,0 @@ "@progress": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc