@progress/kendo-react-listview 6.1.1 → 7.0.0-develop.2

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.
Files changed (57) hide show
  1. package/LICENSE.md +1 -1
  2. package/ListView.d.ts +14 -0
  3. package/ListViewFooter.d.ts +8 -0
  4. package/ListViewHeader.d.ts +8 -0
  5. package/dist/cdn/js/kendo-react-listview.js +5 -1
  6. package/events.d.ts +8 -0
  7. package/index.d.ts +13 -0
  8. package/index.js +5 -0
  9. package/index.mjs +41 -0
  10. package/interfaces/ListViewFooterProps.d.ts +18 -0
  11. package/interfaces/ListViewHeaderProps.d.ts +18 -0
  12. package/interfaces/ListViewItemProps.d.ts +17 -0
  13. package/{dist/es/interfaces → interfaces}/ListViewProps.d.ts +4 -1
  14. package/package-metadata.d.ts +9 -0
  15. package/package.json +26 -39
  16. package/about.md +0 -3
  17. package/dist/es/ListView.d.ts +0 -10
  18. package/dist/es/ListView.js +0 -42
  19. package/dist/es/ListViewFooter.d.ts +0 -4
  20. package/dist/es/ListViewFooter.js +0 -6
  21. package/dist/es/ListViewHeader.d.ts +0 -4
  22. package/dist/es/ListViewHeader.js +0 -6
  23. package/dist/es/events.d.ts +0 -4
  24. package/dist/es/events.js +0 -1
  25. package/dist/es/interfaces/ListViewFooterProps.d.ts +0 -15
  26. package/dist/es/interfaces/ListViewFooterProps.js +0 -1
  27. package/dist/es/interfaces/ListViewHeaderProps.d.ts +0 -15
  28. package/dist/es/interfaces/ListViewHeaderProps.js +0 -1
  29. package/dist/es/interfaces/ListViewItemProps.d.ts +0 -13
  30. package/dist/es/interfaces/ListViewItemProps.js +0 -2
  31. package/dist/es/interfaces/ListViewProps.js +0 -2
  32. package/dist/es/main.d.ts +0 -9
  33. package/dist/es/main.js +0 -4
  34. package/dist/es/package-metadata.d.ts +0 -5
  35. package/dist/es/package-metadata.js +0 -11
  36. package/dist/npm/ListView.d.ts +0 -10
  37. package/dist/npm/ListView.js +0 -45
  38. package/dist/npm/ListViewFooter.d.ts +0 -4
  39. package/dist/npm/ListViewFooter.js +0 -9
  40. package/dist/npm/ListViewHeader.d.ts +0 -4
  41. package/dist/npm/ListViewHeader.js +0 -9
  42. package/dist/npm/events.d.ts +0 -4
  43. package/dist/npm/events.js +0 -2
  44. package/dist/npm/interfaces/ListViewFooterProps.d.ts +0 -15
  45. package/dist/npm/interfaces/ListViewFooterProps.js +0 -2
  46. package/dist/npm/interfaces/ListViewHeaderProps.d.ts +0 -15
  47. package/dist/npm/interfaces/ListViewHeaderProps.js +0 -2
  48. package/dist/npm/interfaces/ListViewItemProps.d.ts +0 -13
  49. package/dist/npm/interfaces/ListViewItemProps.js +0 -3
  50. package/dist/npm/interfaces/ListViewProps.d.ts +0 -36
  51. package/dist/npm/interfaces/ListViewProps.js +0 -3
  52. package/dist/npm/main.d.ts +0 -9
  53. package/dist/npm/main.js +0 -9
  54. package/dist/npm/package-metadata.d.ts +0 -5
  55. package/dist/npm/package-metadata.js +0 -14
  56. package/dist/systemjs/kendo-react-listview.js +0 -1
  57. package/e2e-next/basic.tests.ts +0 -24
package/LICENSE.md CHANGED
@@ -8,4 +8,4 @@ This is commercial software. To use it, you need to agree to the [**End User Lic
8
8
 
9
9
  All available KendoReact commercial licenses may be obtained at the [KendoReact website](https://www.telerik.com/kendo-react-ui/pricing).
10
10
 
11
- *Copyright © 2022 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.*
11
+ *Copyright © 2023 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.*
package/ListView.d.ts ADDED
@@ -0,0 +1,14 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import * as React from 'react';
6
+ import { ListViewProps } from './interfaces/ListViewProps';
7
+ export declare class ListView extends React.PureComponent<ListViewProps, {}> {
8
+ constructor(props: ListViewProps);
9
+ /**
10
+ * @hidden
11
+ */
12
+ render(): import("react/jsx-runtime").JSX.Element;
13
+ private onScroll;
14
+ }
@@ -0,0 +1,8 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import * as React from 'react';
6
+ import { ListViewFooterProps } from './interfaces/ListViewFooterProps';
7
+ declare const ListViewFooter: React.FunctionComponent<ListViewFooterProps>;
8
+ export { ListViewFooter };
@@ -0,0 +1,8 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import * as React from 'react';
6
+ import { ListViewHeaderProps } from './interfaces/ListViewHeaderProps';
7
+ declare const ListViewHeader: React.FunctionComponent<ListViewHeaderProps>;
8
+ export { ListViewHeader };
@@ -1 +1,5 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("@progress/kendo-licensing"),require("react-dom"),require("prop-types")):"function"==typeof define&&define.amd?define(["react","@progress/kendo-licensing","react-dom","prop-types"],t):"object"==typeof exports?exports.KendoReactListview=t(require("react"),require("@progress/kendo-licensing"),require("react-dom"),require("prop-types")):e.KendoReactListview=t(e.React,e.KendoLicensing,e.ReactDOM,e.PropTypes)}(self,(function(e,t,n,r){return(()=>{"use strict";var o={54:function(e,t,n){var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.ListView=void 0;var i=n(899),a=n(216),l=n(216),c=n(363),u=function(e){function t(t){var n=e.call(this,t)||this;return n.onScroll=function(e){return(0,a.dispatchEvent)(n.props.onScroll,e,n,void 0)},(0,l.validatePackage)(c.packageMetadata),n}return o(t,e),t.prototype.render=function(){var e=this.props,t=e.data,n=void 0===t?[]:t,r=e.item;return i.createElement("div",{className:(0,a.classNames)("k-listview k-d-flex",this.props.className),style:this.props.style},this.props.header?i.createElement(this.props.header,null):null,i.createElement("div",{role:"list",className:"k-listview-content",onScroll:this.onScroll},r&&n.map((function(e,t){return i.createElement(r,{dataItem:e,index:t,key:t})}))),this.props.footer?i.createElement(this.props.footer,null):null)},t}(i.PureComponent);t.ListView=u},652:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ListViewFooter=void 0;var r=n(899),o=n(216);t.ListViewFooter=function(e){return r.createElement("div",{className:(0,o.classNames)("k-listview-footer",e.className),style:e.style},e.children)}},861:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ListViewHeader=void 0;var r=n(899),o=n(216);t.ListViewHeader=function(e){return r.createElement("div",{className:(0,o.classNames)("k-listview-header",e.className),style:e.style},e.children)}},363:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata=void 0,t.packageMetadata={name:"@progress/kendo-react-listview",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1700064816,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"}},216:(e,t,n)=>{n.r(t),n.d(t,{AsyncFocusBlur:()=>_,BrowserSupportService:()=>c,COLLECTION_ACTION:()=>ie,DragAndDrop:()=>Ye,Draggable:()=>tt,Droppable:()=>rt,FOCUSABLE_ELEMENTS:()=>lt,FormComponent:()=>y,Icon:()=>me,IconWrap:()=>ke,IconsContext:()=>xe,Keys:()=>w,Navigation:()=>ct,SortedPublicItemIds:()=>pt,SvgIcon:()=>Ee,TreeFieldsService:()=>vt,Typography:()=>Se,WatermarkOverlay:()=>J,ZIndexContext:()=>i,addItem:()=>zt,areAllDirectChildrenChecked:()=>Ft,canUseDOM:()=>u,canUseRef:()=>s,classNames:()=>f,clone:()=>v,cloneArray:()=>g,cloneDate:()=>d,cloneObject:()=>p,cloneValue:()=>h,createPropsContext:()=>te,dispatchEvent:()=>G,extendDataItem:()=>F,focusFirstFocusableChild:()=>m,getActiveElement:()=>st,getAllDirectIndirectChildrenIds:()=>Ht,getAllParents:()=>Bt,getInnerActiveElement:()=>ut,getItemPath:()=>B,getNestedValue:()=>ft,getScrollbarWidth:()=>P,getTabIndex:()=>b,getter:()=>O,guid:()=>k,hasChildren:()=>Mt,hasRelativeStackingContext:()=>U,isArray:()=>dt,isEnabledAndAllParentsEnabled:()=>jt,isItemExpandedAndWithChildren:()=>Lt,kendoThemeMaps:()=>ot,mapTree:()=>j,mapTreeItem:()=>H,memoizeOne:()=>at,noop:()=>D,removeItem:()=>Xt,resolveItemId:()=>Rt,resolveItemsIds:()=>Tt,setScrollbarWidth:()=>A,setter:()=>M,shouldShowValidationUI:()=>Q,svgIconPropType:()=>he,toIconClass:()=>pe,toIconName:()=>ve,treeIdUtils:()=>r,updateItem:()=>St,useAsyncFocusBlur:()=>q,useCollection:()=>ce,useCustomComponent:()=>le,useDir:()=>re,useDocument:()=>ue,useDraggable:()=>et,useDroppable:()=>nt,useMouse:()=>ae,usePropsContext:()=>$,useRtl:()=>oe,useWindow:()=>se,useZIndexContext:()=>a,validatePackage:()=>Y,withPropsContext:()=>ne});var r={};n.r(r),n.d(r,{EMPTY_ID:()=>ht,SEPARATOR:()=>mt,ZERO_LEVEL_ZERO_NODE_ID:()=>gt,createId:()=>xt,getAllShortIds:()=>Dt,getDecrementedItemIdAfterRemoval:()=>It,getDirectParentId:()=>Ot,getFirstChildId:()=>Ct,getIdWithoutRootParentId:()=>Et,getItemById:()=>yt,getRootParentId:()=>bt,getShortId:()=>Pt,isIdEmptyOrZeroLevel:()=>kt,isIdZeroLevel:()=>wt,isItemFirstFromSiblings:()=>At});var o=n(899),i=o.createContext(0),a=function(){return o.useContext(i)};i.displayName="KendoReactZIndexContext";var l=function(){return"undefined"!=typeof document?document:{}},c=function(){function e(){this.scrollbar=0}return Object.defineProperty(e.prototype,"scrollbarWidth",{get:function(){var e=l();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:!1,configurable:!0}),e}(),u=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement),s=function(e){return"string"!=typeof Comment&&(function(e){return Boolean("function"==typeof e&&!!e.prototype.isReactComponent)}(e)||function(e){return Boolean(e.$$typeof&&"function"==typeof e.render)}(e))},f=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n={},r=function(e){return e.filter((function(e){return!0!==e&&!!e})).map((function(e){return Array.isArray(e)?r(e):function(e){return"object"==typeof e?Object.keys(e).forEach((function(t){n[t]=e[t]})):n[e]=!0}(e)}))};return r(e),Object.keys(n).map((function(e){return n[e]&&e||null})).filter((function(e){return null!==e})).join(" ")},d=function(e){return e?new Date(e.getTime()):null};function v(e){var t={};return p(e,t),t}function p(e,t){for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];t[n]=h(r,t[n])}}function h(e,t){if(Array.isArray(e))return g(e);if(e instanceof Date)return d(e);if(o.isValidElement(e))return o.cloneElement(e,e.props);if(e&&"object"==typeof e){var n=t||{};return p(e,n),n}return e}function g(e){return e.map((function(e){return h(e,void 0)}))}var m=function(e){if(e){if((e instanceof HTMLInputElement||-1!==e.tabIndex)&&e.focus)return void e.focus();var t=e.querySelector('input, [tabindex]:not([tabindex="-1"])');t&&t.focus&&t.focus()}},y=function(){},b=function(e,t,n){var r="string"==typeof e?parseInt(e,void 0):e;if(NaN!==r)return void 0!==r?r:t?n?void 0:-1:0},E=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g;function C(e){var t=[];return e.replace(E,(function(e,n,r,o){t.push(void 0!==n?n:r||o)})),t}var x={};function O(e){if(x[e])return x[e];var t=C(e);return x[e]=function(e){for(var n=e,r=0;r<t.length&&n;r++)n=n[t[r]];return n},x[e]}x.undefined=function(){};var k=function(){var e,t,n="";for(e=0;e<32;e++)t=16*Math.random()|0,8!==e&&12!==e&&16!==e&&20!==e||(n+="-"),n+=(12===e?4:16===e?3&t|8:t).toString(16);return n},w={backspace:8,tab:9,enter:13,shift:16,esc:27,space:32,pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40,delete:46},D=function(){},P=function(){return!(!u||!document.body)&&(new c).scrollbarWidth},A=function(){if(!u||!document.body)return!1;var e=(new c).scrollbarWidth;document.body.style.setProperty("--kendo-scrollbar-width","".concat(e,"px"))},I={undefined:function(e){return e}},N=function(e,t){return t&&t.arrays&&!isNaN(Number(e))?[]:{}};function M(e){if(I[e])return I[e];var t=C(e);return I[e]=function(e,n,r){for(var o=e,i=t.length-1,a=0;a<i&&o;a++)o=o[t[a]]=o[t[a]]||N(t[a+1],r);o[t[i]]=n},I[e]}var L=function(){return L=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},L.apply(this,arguments)},R=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};function T(e,t,n){var r;return n?L(L({},e),((r={})[t]=n.length?R([],n,!0):void 0,r)):e&&e[t]?R([],e[t],!0):[]}function S(e,t,n){if(e[t]){var r=T(e,t).map((function(e){return S(e,t,n)}));return n(T(e,t,r))}return n(e)}var j=function(e,t,n){return R([],e.map((function(e){return S(e,t,n)})),!0)},H=function(e,t,n,r){for(var o=e,i=[],a=0;a<t.length;a++)o=o[t[a]],o=Array.isArray(o)?o:o[n],i.push(o);var l=i.length>1?i[i.length-2]:e,c=t[t.length-1],u=r(l[c]);l.splice(c,1,u)},F=function(e,t,n){var r;return Object.assign({},e,e[t]?((r={})[t]=e[t].slice(),r):{},n||{})},B=function(e,t,n){var r=[],o=R([],t,!0);if(o.length){var i=e[o.shift()||0];for(r.push(i);o.length&&n;)i=i[n][o.shift()||0],r.push(i)}return r},X=n(302),z=["telerik.com","progress.com","stackblitz.io","csb.app"];function Y(e){if(void 0!==X)X.validatePackage(e);else{var t="License activation failed for ".concat(e.name,"\n");t+="The @progress/kendo-licensing script is not loaded.\n",t+="See ".concat(e.licensingDocsUrl," for more information.\n"),console.warn(t)}}function Q(e){return!z.some((function(e){var t;return null===(t=globalThis.document)||void 0===t?void 0:t.location.hostname.endsWith(e)}))&&!(null==X?void 0:X.validatePackage(e))}var U=function(e){if(!u)return!1;var t=e?e.ownerDocument:document;if(!t||!t.body)return!1;var n=t.createElement("div");n.style.transform="matrix(10, 0, 0, 10, 0, 0)";var r=t.createElement("div");r.appendChild(t.createTextNode("child")),r.style.position="fixed",r.style.top="10px",n.appendChild(r),t.body.appendChild(n);var o=10!==r.getBoundingClientRect().top;return t.body.removeChild(n),o},V=n(994),K=!1,J=function(){var e=o.useState(!0),t=e[0],n=e[1],r=o.useState(!1),i=r[0],a=r[1];o.useEffect((function(){K||(a(!0),K=!0)}),[]);var l=o.createElement(o.Fragment,null,t&&o.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",position:"fixed",top:"16px",right:"16px",padding:"12px",borderRadius:"4px",boxShadow:"0px 4px 5px 0px rgba(0, 0, 0, 0.04), 0px 2px 4px 0px rgba(0, 0, 0, 0.03)",fontSize:"14px",fontWeight:400,lineHeight:"20px",backgroundColor:"#FFC000",color:"#1E1E1E",zIndex:999}},o.createElement("span",{style:{display:"flex",alignSelf:"center",marginRight:"8px"}},o.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 1L0 15H16L8 1ZM7 6V11H9V6H7ZM7 14V12H9V14H7Z",fill:"#1E1E1E"}))),o.createElement("span",null,"No valid license found for KendoReact. Learn how to activate your license."),o.createElement("div",{style:{display:"flex",alignItems:"center",marginLeft:"24px"}},o.createElement("a",{href:"https://www.telerik.com/kendo-react-ui/components/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-banner",style:{marginRight:"8px",display:"flex"}},o.createElement("button",{title:"Learn More",style:{display:"inline-flex",position:"relative",border:"none",borderRadius:"4px",padding:"5px",backgroundColor:"transparent",transition:"color 0.2s ease-in-out",outline:"none",cursor:"pointer"}},o.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},o.createElement("path",{d:"M15 8C15 11.8656 11.8656 15 8 15C4.13437 15 1 11.8656 1 8C1 4.13437 4.13437 1 8 1C11.8656 1 15 4.13437 15 8ZM14 8C14 4.6875 11.3125 2 8 2C4.6875 2 2 4.6875 2 8C2 11.3125 4.6875 14 8 14C11.3125 14 14 11.3125 14 8ZM11 6C11 7.4125 10.2687 8.05937 9.73125 8.53125C9.25937 8.94688 9 9.17813 9 10H7C7 8.275 7.84688 7.525 8.40938 7.03125C8.84062 6.65312 9 6.50938 9 6C9 5.45 8.55 5 8 5C7.45 5 7 5.45 7 6H5C5 4.34375 6.34375 3 8 3C9.65625 3 11 4.34375 11 6ZM9 13V11H7V13H9Z",fill:"#1E1E1E"})))),o.createElement("button",{title:"Close",style:{display:"inline-flex",position:"relative",border:"none",borderRadius:"4px",padding:"5px",backgroundColor:"transparent",transition:"color 0.2s ease-in-out",outline:"none",cursor:"pointer"},onClick:function(){n(!1)}},o.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},o.createElement("path",{d:"M13 4.41562L9.41563 8L13 11.5844L11.5844 13L8 9.41563L4.41562 13L3 11.5844L6.58437 8L3 4.41562L4.41562 3L8 6.58437L11.5844 3L13 4.41562Z",fill:"#1E1E1E"}))))));return o.createElement(o.Fragment,null,o.createElement("div",{style:{position:"absolute",width:"100%",height:"100%",top:0,left:0,right:0,bottom:0,opacity:.2,zIndex:101,pointerEvents:"none",backgroundImage:"url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABVxSURBVHgB7Z3tVRtJE4WL9zgANgLLGRCCnAGOADmCxRGgDFAGYiOADKQMIAGO9J8ji42g37mjqlUjBgOanpn+uM85sjC2sKzbVd1dVV0tQgghhBBCCCGEEEIIKRPn3Gn1GAlJmmN1pP558J6OX9540ejh4WGlX09OTk7+EZIclXYXlY43+vVflY7PH3wd9c+AY/Wvvcb9/b0bjUYOz/hBQpICmh1oOPrEa6l/4rTR337AhIMgTSqtzg+0m8gnof7p0mD8EzmGhkFwJiR6np6e7luLL9Q/RTDTBzF+7wfWg2CxWOCHjYVET6XTdLPZrFuLL9Q/NeCkoVUQ4/d+6Ijev1yof1rAUVMvQgjJHebrSRu+CEmWo/O8hISgCjStKpgiGoDWed4AUP/hwGf++Pi4hQYyFHgDzBP3T7A8b0uo/zD4+sMBy1CwWKR/YjF+fS/Uv2di0t/eEAdBT0QnvlD/PolR/xoOgu4JUd7bFdS/e6I1foODoFuqz3M2mUziFF+of5dEb/xGwyAYCwmCVuPNYv5MqX94Yl75NWKD4PLyEm92KqQoqH9Y8Bnis0zC+A14LbxxVqiVCfUPh678plxNFYQe5pjRgAgpDAv4IOAHJyCEkDJoiPaeCyG5UA1oRIYWHNivSSbV0wLq/zbQXz+bS8kV/AeZJ35NCcYPqH8zvv4VS8kVFou8phTj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eh1ahUkT4GQg0Vc9XQqInqP6ODRyTA046VJ7Y1x/XdgmJnmD6M8+bLiGKRVjemy6t9WeeN30aBsGHI/bUP33a6M88bybYIPjs9o3658Gx+tuLmefNgGN1pP55QB0JIYQQQgghhBBCCJGy+T9ftRg+rVNPfAAAAABJRU5ErkJggg==')"}}),i&&V.createPortal(l,document.body))};function G(e,t,n,r){if(e){var o={syntheticEvent:t,nativeEvent:t.nativeEvent,target:n};e.call(void 0,Object.assign(o,r))}}var W=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};function q(e){var t=e.onFocus,n=e.onBlur,r=e.onSyncFocus,i=e.onSyncBlur,a=o.useRef(!1),l=o.useRef(0),c=o.useCallback((function(e){clearTimeout(l.current),l.current=window.setTimeout((function(){return e()}))}),[l]),u=o.useCallback((function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];clearTimeout(l.current),r&&r.call(void 0,e[0]),a.current||(a.current=!0,t&&t.call.apply(t,W([void 0],e,!1)))}),[a,t,r]),s=o.useCallback((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];i&&i.call(void 0,e[0]),c((function(){a.current&&n&&(a.current=!1,n.call.apply(n,W([void 0],e,!1)))}))}),[a,c,n,i]);return o.useEffect((function(){return function(){clearTimeout(l.current)}}),[]),{onFocus:u,onBlur:s}}var Z=function(){return Z=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Z.apply(this,arguments)},_=function(e){var t=e.children,n=q({onFocus:e.onFocus,onBlur:e.onBlur,onSyncFocus:e.onSyncFocus,onSyncBlur:e.onSyncBlur});return o.createElement(o.Fragment,null,t.call(void 0,Z({},n)))},$=function(e,t){return o.useContext(e)(t)},ee=function(){return ee=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},ee.apply(this,arguments)},te=function(){return o.createContext((function(e){return e}))},ne=function(e,t){return o.forwardRef((function(n,r){var i=$(e,n);return o.createElement(t,ee({},i,{ref:r}))}))};function re(e,t,n){var r=o.useState(t),i=r[0],a=r[1];return o.useEffect((function(){if(!i&&window&&e.current){var t=window.getComputedStyle(e.current).direction;t&&a(t)}}),n),i}function oe(e,t,n){var r=o.useState(t),i=r[0],a=r[1];return o.useEffect((function(){if(!i&&window&&e.current){var t=window.getComputedStyle(e.current).direction;t&&a(t)}}),n),i}var ie,ae=function(e,t,n){void 0===n&&(n={});var r=o.useCallback((function(r){n.onMouseDown&&n.onMouseDown.call(void 0,r),e.onMouseDown&&e.onMouseDown.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseDown,e.onMouseDown,t]),i=o.useCallback((function(r){n.onMouseUp&&n.onMouseUp.call(void 0,r),e.onMouseUp&&e.onMouseUp.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseUp,e.onMouseUp,t]);return{onClick:o.useCallback((function(r){n.onClick&&n.onClick.call(void 0,r),e.onClick&&e.onClick.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onClick,e.onClick,t]),onMouseUp:i,onMouseDown:r,onDoubleClick:o.useCallback((function(r){n.onDoubleClick&&n.onDoubleClick.call(void 0,r),e.onDoubleClick&&e.onDoubleClick.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onDoubleClick,e.onDoubleClick,t]),onMouseEnter:o.useCallback((function(r){n.onMouseEnter&&n.onMouseEnter.call(void 0,r),e.onMouseEnter&&e.onMouseEnter.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseEnter,e.onMouseEnter,t]),onMouseLeave:o.useCallback((function(r){n.onMouseLeave&&n.onMouseLeave.call(void 0,r),e.onMouseLeave&&e.onMouseLeave.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseLeave,e.onMouseLeave,t]),onMouseMove:o.useCallback((function(r){n.onMouseMove&&n.onMouseMove.call(void 0,r),e.onMouseMove&&e.onMouseMove.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseMove,e.onMouseMove,t]),onMouseOut:o.useCallback((function(r){n.onMouseOut&&n.onMouseOut.call(void 0,r),e.onMouseOut&&e.onMouseOut.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseOut,e.onMouseOut,t]),onMouseOver:o.useCallback((function(r){n.onMouseOver&&n.onMouseOver.call(void 0,r),e.onMouseOver&&e.onMouseOver.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseOver,e.onMouseOver,t])}},le=function(e){return[e,{}]};!function(e){e[e.add=0]="add",e[e.remove=1]="remove"}(ie||(ie={}));var ce=function(e){void 0===e&&(e=[]);var t=o.useRef(e),n=o.useCallback((function(e){switch(e.type){case ie.add:t.current.push(e.item);break;case ie.remove:var n=t.current.indexOf(e.item);t.current.splice(n,1)}}),[]);return[t.current,n]},ue=function(e){var t=o.useCallback((function(){return e.current&&e.current.element?e.current.element:e.current}),[e]);return o.useCallback((function(){var e=t();return e&&e.ownerDocument||document}),[t])},se=function(e){var t=ue(e);return o.useCallback((function(){var e=t();return e&&e.defaultView||window}),[t])},fe=n(189),de={default:"",xsmall:"k-icon-xs",small:"k-icon-sm",medium:"k-icon-md",large:"k-icon-lg",xlarge:"k-icon-xl",xxlarge:"k-icon-xxl",xxxlarge:"k-icon-xxxl"},ve=function(e){return e.replace(/^k-i-/,"")},pe=function(e){return"k-i-"+e},he=fe.shape({name:fe.string.isRequired,content:fe.string.isRequired,viewBox:fe.string.isRequired}),ge=function(){return ge=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},ge.apply(this,arguments)},me=o.forwardRef((function(e,t){var n=e.className,r=e.name,i=e.themeColor,a=e.size,l=e.flip,c=e.style,u=e.id,s=e.tabIndex,d=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["className","name","themeColor","size","flip","style","id","tabIndex"]),v=o.useRef(null),p=o.useRef(null);o.useImperativeHandle(v,(function(){return{element:p.current}})),o.useImperativeHandle(t,(function(){return v.current}));var h=o.useMemo((function(){return a||ye.size}),[a]),g=o.useMemo((function(){return l||ye.flip}),[l]),m=o.useMemo((function(){var e;return f("k-icon","k-font-icon",r&&pe(r),((e={})["k-color-".concat(i)]=i,e["k-flip-h"]="horizontal"===g||"both"===g,e["k-flip-v"]="vertical"===g||"both"===g,e),de[h],n)}),[r,i,h,g,n]),y=ae(e,v);return o.createElement("span",ge({ref:p},d,y,{className:m,id:u,tabIndex:s,style:c,role:"presentation"}))}));me.propTypes={style:fe.object,classNames:fe.string,name:fe.string,themeColor:fe.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"]),size:fe.oneOf(["default","xsmall","small","medium","large","xlarge","xxlarge","xxxlarge"]),flip:fe.oneOf(["default","horizontal","vertical","both"])};var ye={size:"default",flip:"default"};me.displayName="KendoIcon";var be=function(){return be=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},be.apply(this,arguments)},Ee=o.forwardRef((function(e,t){var n=e.children,r=e.className,i=e.svgClassName,a=e.icon,l=e.flip,c=e.id,u=e.tabIndex,s=e.size,d=e.style,v=e.svgStyle,p=e.themeColor,h=e.viewBox,g=(e.name,e.onClick),m=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["children","className","svgClassName","icon","flip","id","tabIndex","size","style","svgStyle","themeColor","viewBox","name","onClick"]),y=o.useRef(null);o.useImperativeHandle(t,(function(){return{element:y.current}}));var b=o.useMemo((function(){return a?a.name:Ce.icon}),[a]),E=o.useMemo((function(){return s||Ce.size}),[s]),C=o.useMemo((function(){return l||Ce.flip}),[l]),x=o.useMemo((function(){return h||Ce.viewBox}),[h]),O=o.useMemo((function(){var e;return f("k-icon","k-svg-icon","k-svg-i-"+b,((e={})["k-color-".concat(p)]=p,e["k-flip-h"]="horizontal"===C||"both"===C,e["k-flip-v"]="vertical"===C||"both"===C,e),de[E],r)}),[b,p,E,C,r]),k=o.useMemo((function(){return e.width&&e.height?be({width:e.width,height:e.height},d):e.width?be({width:e.width,height:e.width},d):e.height?be({width:e.height,height:e.height},d):be({},d)}),[e.width,e.height,d]);return o.createElement("span",{className:O,style:k,ref:y,onClick:g},o.createElement("svg",be({id:c,className:i,style:v,"aria-hidden":!0,tabIndex:u,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:a?a.viewBox:x,dangerouslySetInnerHTML:a?{__html:a.content}:void 0},m),a?void 0:n))}));Ee.propTypes={style:fe.object,classNames:fe.string,children:fe.any,icon:fe.object,themeColor:fe.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"]),size:fe.oneOf(["default","xsmall","small","medium","large","xlarge","xxlarge","xxxlarge"]),flip:fe.oneOf(["default","horizontal","vertical","both"])};var Ce={size:"default",flip:"default",icon:"",viewBox:"0 0 24 24"};Ee.displayName="KendoSvgIcon";var xe=o.createContext({type:"svg"});xe.displayName="KendoReactIconsContext";var Oe=function(){return Oe=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Oe.apply(this,arguments)},ke=o.forwardRef((function(e,t){var n,r,i=o.useContext(xe),a=i.type,l=i.icons,c=e.icon,u=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["icon"]),s="svg"===a?(null===(n=e.icon)||void 0===n?void 0:n.name)||e.name:e.name||(null===(r=e.icon)||void 0===r?void 0:r.name),f=(s=s&&l&&l[s]&&"string"==typeof l[s]?l[s]:s)&&l&&l[s]&&"string"!=typeof l[s]?l[s]:c;return"svg"===a&&f?o.createElement(Ee,Oe({},e,{icon:f,ref:t})):o.createElement(me,Oe({},u,{name:s,ref:t}))}));ke.displayName="KendoIconWrap";var we={xsmall:"k-fs-xs",small:"k-fs-sm",medium:"k-fs-md",large:"k-fs-lg",xlarge:"k-fs-xl"},De={light:"k-font-weight-light",normal:"k-font-weight-normal",bold:"k-font-weight-bold"},Pe={xsmall:"k-m-xs",small:"k-m-sm",medium:"k-m-md",large:"k-m-lg",xlarge:"k-m-xl",thin:"k-m-thin",hair:"k-m-hair"},Ae={xsmall:"xs",small:"sm",medium:"md",large:"lg",xlarge:"xl",thin:"thin",hair:"hair"},Ie={top:"k-mt-",right:"k-mr-",bottom:"k-mb-",left:"k-ml-"},Ne={left:"k-text-left",right:"k-text-right",center:"k-text-center",justify:"k-text-justify"},Me={lowercase:"k-text-lowercase",uppercase:"k-text-uppercase",capitalize:"k-text-capitalize"},Le={inherit:"k-color-inherit",primary:"k-color-primary",secondary:"k-color-secondary",tertiary:"k-color-tertiary",info:"k-color-info",success:"k-color-success",warning:"k-color-warning",error:"k-color-error",dark:"k-color-dark",light:"k-color-light",inverse:"k-color-inverse"},Re=function(){return Re=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Re.apply(this,arguments)},Te=function(e){var t=o.forwardRef((function(t,n){var r=t.id,i=t.style,a=t.className,l=t.fontSize,c=t.fontWeight,u=t.textAlign,s=t.textTransform,f=t.themeColor,d=t.margin,v=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(t,["id","style","className","fontSize","fontWeight","textAlign","textTransform","themeColor","margin"]),p=o.useRef(null),h=o.useRef(null);o.useImperativeHandle(p,(function(){return{element:h.current,props:t}})),o.useImperativeHandle(n,(function(){return p.current}));var g=e;return o.createElement(g,Re({id:r,ref:h,className:["k-".concat("p"===e?"paragraph":e),we[l],De[c],Ne[u],Me[s],Le[f],function(){if(void 0!==d){if("string"==typeof d)return[Pe[d]];if("number"==typeof d&&d>=0&&d<=24)return["k-m-".concat(d)];if("object"==typeof d){var e=[];return Object.keys(d).forEach((function(t){var n,r,o;null!==d[t]&&void 0!==d[t]&&e.push((n=t,o="string"==typeof(r=d[t])?Ae[r]:r,"".concat(Ie[n]).concat(o)))})),e.join(" ")}}}(),a].filter((function(e){return void 0!==e})).join(" "),style:i},v),t.children)}));return t.propTypes={style:fe.object,className:fe.string,fontSize:fe.oneOf(["xsmall","small","medium","large","xlarge"]),fontWeight:fe.oneOf(["light","normal","bold"]),margin:fe.oneOfType([fe.number,fe.object,fe.oneOf(["xsmall","small","medium","large","xlarge","thin","hair"])]),textAlign:fe.oneOf(["left","right","center","justify"]),textTransform:fe.oneOf(["lowercase","uppercase","capitalize"]),themeColor:fe.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"])},t.displayName="KendoReactTypography".concat(e.toUpperCase()),t},Se={h1:Te("h1"),h2:Te("h2"),h3:Te("h3"),h4:Te("h4"),h5:Te("h5"),h6:Te("h6"),p:Te("p"),code:Te("code"),pre:Te("pre")},je=function(){return je=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},je.apply(this,arguments)},He=function(e,t,n){var r=o.useState(t||e),i=r[0],a=r[1];return[void 0!==t?t:i,o.useCallback((function(e,t){a(e),n&&n.call(void 0,je(je({},t),{value:e}))}),[n,a])]},Fe=o.createContext([void 0,D]),Be=o.createContext([void 0,D]),Xe=o.createContext([[],D,D]),ze=o.createContext([[],D,D]),Ye=function(e){var t=He(null,void 0),n=t[0],r=t[1],i=He(null,void 0),a=i[0],l=i[1],c=ce([]),u=c[0],s=c[1],f=ce([]),d=f[0],v=f[1];return o.createElement(Fe.Provider,{value:[n,r]},o.createElement(Be.Provider,{value:[a,l]},o.createElement(Xe.Provider,{value:[u,function(e){s({type:ie.add,item:e})},function(e){s({type:ie.remove,item:e})}]},o.createElement(ze.Provider,{value:[d,function(e){v({type:ie.add,item:e})},function(e){v({type:ie.remove,item:e})}]},e.children))))};Ye.displayName="KendoReactDragAndDrop";var Qe,Ue=function(){var e=window&&window.navigator.userAgent;if(!e)return!1;var t=!1,n=[],r={edge:/(edge)[ \/]([\w.]+)/i,webkit:/(chrome|crios)[ \/]([\w.]+)/i,safari:/(webkit)[ \/]([\w.]+)/i,opera:/(opera)(?:.*version|)[ \/]([\w.]+)/i,msie:/(msie\s|trident.*? rv:)([\w.]+)/i,mozilla:/(mozilla)(?:.*? rv:([\w.]+)|)/i};for(var o in r)if(r.hasOwnProperty(o)&&(n=e.match(r[o]))){(t={})[o]=!0,t[n[1].toLowerCase().split(" ")[0].split("/")[0]]=!0,t.version=parseInt(document.DOCUMENT_NODE||n[2],10);break}return t},Ve=function(e){return e&&e.ownerDocument||window.document},Ke=function(e){var t=Ue(),n=Ve(e);return t.edge||t.safari?n.body:n.documentElement},Je=function(e){if(e&&e.className&&"string"==typeof e.className&&e.className.indexOf("k-auto-scrollable")>-1)return!0;var t=window.getComputedStyle(e,"overflow").overflow;return t.indexOf("auto")>-1||t.indexOf("scroll")>-1},Ge=function(e){var t=Ke(e);if(!e||e===document.body||e===document.documentElement)return t;for(var n=e;n&&n!==document.body&&n.nodeType!==Node.DOCUMENT_FRAGMENT_NODE&&n.nodeType!==Node.DOCUMENT_NODE&&!Je(n);)n=n.parentNode;return!n||n!==document.body&&n.nodeType!==Node.DOCUMENT_FRAGMENT_NODE?n:t};!function(e){e.POINTER_DOWN="pointerdown",e.POINTER_MOVE="pointermove",e.POINTER_UP="pointerup",e.POINTER_CANCEL="pointercancel",e.MOUSE_DOWN="mousedown",e.MOUSE_MOVE="mousemove",e.MOUSE_UP="mouseup",e.CONTEXT_MENU="contextmenu",e.TOUCH_START="touchstart",e.TOUCH_MOVE="touchmove",e.TOUCH_END="touchend",e.TOUCH_CANCEL="touchcancel",e.SCROLL="scroll",e.START="KENDO_DRAG_AND_DROP_START",e.MOVE="KENDO_DRAG_AND_DROP_MOVE",e.END="KENDO_DRAG_AND_DROP_END",e.CANCEL="KENDO_DRAG_AND_DROP_CANCEL"}(Qe||(Qe={}));var We=function(){},qe=function(e,t,n){void 0===n&&(n={});var r,o,i,a,l,c=n.onIsPressedChange,u=void 0===c?We:c,s=n.onIsScrollingChange,f=void 0===s?We:s,d=n.onVelocityChange,v=void 0===d?We:d,p=n.onOffsetChange,h=void 0===p?We:p,g=n.onPageOffsetChange,m=void 0===g?We:g,y=n.onClientOffsetChange,b=void 0===y?We:y,E=n.onScrollOffsetChange,C=void 0===E?We:E,x=n.onInitialScrollOffsetChange,O=void 0===x?We:x,k=t.payload,w=k.element,D=k.hint,P=e.autoScrollDirection,A=e.scrollableParent,I=function(e,t){return function(e){return/^touch/.test(e.type)}(e)?{pageX:e.changedTouches[0].pageX,pageY:e.changedTouches[0].pageY,clientX:e.changedTouches[0].clientX,clientY:e.changedTouches[0].clientY,scrollX:t.scrollOffset.x,scrollY:t.scrollOffset.y,offsetX:t.offset.x,offsetY:t.offset.y,type:e.type,originalEvent:e,isTouch:!0,altKey:!1,ctrlKey:!1,shiftKey:!1,metaKey:!1}:function(e){return/^(scroll)/.test(e.type)}(e)?{pageX:t.pageOffset.x,pageY:t.pageOffset.y,clientX:t.clientOffset.x,clientY:t.clientOffset.y,scrollX:t.scrollOffset.x,scrollY:t.scrollOffset.y,offsetX:t.offset.x,offsetY:t.offset.y,type:e.type,originalEvent:e,altKey:!1,ctrlKey:!1,shiftKey:!1,metaKey:!1}:{pageX:e.pageX,pageY:e.pageY,clientX:e.clientX,clientY:e.clientY,offsetX:e.offsetX,offsetY:e.offsetY,scrollX:t.scrollOffset.x,scrollY:t.scrollOffset.y,type:e.type,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,altKey:e.altKey,metaKey:e.metaKey,originalEvent:e}}(t.event,e);switch(I.type){case Qe.POINTER_DOWN:if(I.type===Qe.POINTER_DOWN&&(!I.originalEvent.isPrimary||0!==I.originalEvent.button))break;case Qe.MOUSE_DOWN:if(I.type===Qe.MOUSE_DOWN&&I.originalEvent.which&&I.originalEvent.which>1||e.ignoreMouse)break;case Qe.TOUCH_START:if(I.type===Qe.TOUCH_START&&1!==I.originalEvent.touches.length)break;case Qe.START:var N=A||Ge(t.payload.element);O(N instanceof Window?{x:N.scrollX,y:N.scrollY}:{x:N.scrollLeft,y:N.scrollTop}),b({x:I.clientX,y:I.clientY}),m({x:I.pageX,y:I.pageY}),h({x:I.offsetX,y:I.offsetY}),u(!0),k.onPress&&k.onPress(I);break;case Qe.SCROLL:if(I.type===Qe.SCROLL&&!e.pressed)break;var M=A||Ge(w),L=M instanceof Window?{x:M.scrollX,y:M.scrollY}:{x:M.scrollLeft,y:M.scrollTop};I.scrollX=L.x-e.initialScrollOffset.x,I.scrollY=L.y-e.initialScrollOffset.y,C({x:I.scrollX,y:I.scrollY});case Qe.POINTER_MOVE:if(I.type===Qe.POINTER_MOVE&&!I.originalEvent.isPrimary)break;case Qe.MOUSE_MOVE:case Qe.TOUCH_MOVE:if(I.type===Qe.TOUCH_MOVE&&1!==I.originalEvent.touches.length)break;case Qe.MOVE:if(e.pressed){if(e.autoScroll&&"scroll"!==I.originalEvent.type&&w){var R=Ve(w),T=A||Ge(R.elementFromPoint(I.clientX,I.clientY)),S=(r=I.clientX,o=I.clientY,i=function(e,t){var n=Ke(e);if(e===n)return{top:n.scrollTop,left:n.scrollLeft,bottom:n.scrollTop+t.innerHeight,right:n.scrollLeft+t.innerWidth};var r=e.getBoundingClientRect();return{bottom:r.top+r.height,right:r.left+r.width,left:r.left,top:r.top}}(T,function(e){var t=Ve(e);return t&&t.defaultView||window}(w)),a={x:0,y:0},l=50,r-i.left<l?a.x=-(l-(r-i.left)):i.right-r<l&&(a.x=l-(i.right-r)),o-i.top<l?a.y=-(l-(o-i.top)):i.bottom-o<l&&(a.y=l-(i.bottom-o)),a);v({x:P&&!1===P.horizontal?0:S.x,y:P&&!1===P.vertical?0:S.y}),f(0!==S.y||0!==S.x)}!e.drag&&k.onDragStart&&k.onDragStart(I),k.onDrag&&k.onDrag(I);var j=function(e,t){var n=0,r=null;return t.forEach((function(t){if(t&&e){var o=function(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=Math.max(r.top,n.top),i=Math.max(r.left,n.left),a=Math.min(r.left+r.width,n.left+n.width),l=Math.min(r.top+r.height,n.top+n.height),c=a-i,u=l-o;if(i<a&&o<l){var s=r.width*r.height,f=n.width*n.height,d=c*u;return Number((d/(s+f-d)).toFixed(4))}return 0}(e,t);o>n&&(n=o,r=t)}})),r}(D||w,e.drops.map((function(e){return e&&e.element})).filter((function(e){return e!==(D||w)}))),H=e.drops.find((function(e){return e.element===j}));H&&j&&function(e,t,n){var r=n.getBoundingClientRect();return r.top<=t&&r.left<=e&&t<=r.bottom&&e<=r.right}(I.clientX,I.clientY,A||Ge(j))&&j!==w?(e.drop&&e.drop.element)!==j?(e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(I),H.onDragEnter&&H.onDragEnter(I)):H.onDragOver&&H.onDragOver(I):e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(I)}b({x:I.clientX,y:I.clientY}),m({x:I.pageX,y:I.pageY});break;case Qe.POINTER_UP:if(I.type===Qe.POINTER_UP&&!I.originalEvent.isPrimary)break;case Qe.MOUSE_UP:case Qe.TOUCH_END:if(I.type===Qe.TOUCH_END&&1!==I.originalEvent.touches.length)break;case Qe.END:u(!1),f(!1),C({x:0,y:0}),k.onRelease&&k.onRelease(I),e.drop&&e.drop.onDrop&&e.drop.onDrop(I),e.drag&&k.onDragEnd&&k.onDragEnd(I);break;case Qe.POINTER_CANCEL:case Qe.CONTEXT_MENU:case Qe.TOUCH_CANCEL:case Qe.CANCEL:u(!1),f(!1),C({x:0,y:0}),k.onDragEnd&&k.onDragEnd(I),e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(I)}},Ze=function(e,t){if(e){var n,r;e===Ke(e)?(n=document.body.scrollHeight>window.innerHeight,r=document.body.scrollWidth>window.innerWidth):(n=e.offsetHeight<=e.scrollHeight,r=e.offsetWidth<=e.scrollWidth);var o=e.scrollTop+t.y,i=n&&o>0&&o<e.scrollHeight,a=e.scrollLeft+t.x,l=r&&a>0&&a<e.scrollWidth;i?e.scrollTop+=t.y:n&&o<0&&(e.scrollTop=0),l?e.scrollLeft+=t.x:r&&a<0&&(e.scrollLeft=0)}},_e=function(e,t){var n=o.useContext(e),r=n[0],i=n[1],a=o.useState(t),l=a[0],c=a[1];return[void 0!==r?r:l,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];void 0!==r?i.apply(void 0,e):c(e[0])}]},$e=2e3;function et(e,t,n){void 0===n&&(n={});var r=t.onPress,i=void 0===r?D:r,a=t.onRelease,l=void 0===a?D:a,c=t.onDragStart,u=void 0===c?D:c,s=t.onDrag,f=void 0===s?D:s,d=t.onDragEnd,v=void 0===d?D:d,p=n.hint,h=void 0===p?null:p,g=n.mouseOnly,m=void 0!==g&&g,y=n.autoScroll,b=void 0===y||y,E=n.scrollContainer,C=void 0===E?null:E,x=o.useState(!1),O=x[0],k=x[1],w=o.useState(!1),P=w[0],A=w[1],I=_e(Be)[0],N=_e(Fe),M=N[0],L=N[1],R=o.useContext(ze)[0],T=o.useContext(Xe),S=T[0],j=T[1],H=T[2],F=o.useRef({x:0,y:0}),B=o.useRef(),X=o.useRef(!1),z=o.useRef(),Y=o.useRef(null),Q=o.useRef(!1),U=o.useRef({x:0,y:0}),V=o.useRef({x:0,y:0}),K=o.useRef({x:0,y:0}),J=o.useRef({x:0,y:0}),G=o.useRef({x:0,y:0}),W=o.useRef({x:0,y:0}),q=Boolean("undefined"!=typeof window&&window.PointerEvent),Z=!m&&q,_=o.useCallback((function(){return e.current&&e.current.element?e.current.element:e.current}),[e]),$=o.useCallback((function(){return h&&h.current&&h.current.element?h.current.element:h?h.current:null}),[h]),ee=o.useCallback((function(){return C&&C.current&&C.current.element?C.current.element:C?C.current:null}),[C]),te=o.useCallback((function(){return"object"==typeof b&&b.boundaryElementRef&&b.boundaryElementRef.current&&b.boundaryElementRef.current.element?b.boundaryElementRef.current.element:"object"==typeof b&&b.boundaryElementRef&&b.boundaryElementRef.current?b.boundaryElementRef.current:null}),[b]),ne=o.useRef(null);o.useImperativeHandle(ne,(function(){return{element:_(),hint:$(),onPress:he,onDragStart:me,onDrag:ye,onDragEnd:be,onRelease:ge,data:e.current}}));var re=o.useCallback((function(){var e=_();return e&&e.ownerDocument||document}),[_]),oe=o.useCallback((function(){var e=re();return e&&e.defaultView||window}),[re]),ie=o.useCallback((function(){return{drag:M?M.current:null,drop:I?I.current:null,drags:S.map((function(e){return e.current})),drops:R.map((function(e){return e.current})),pressed:O,ignoreMouse:X.current,scrollOffset:G.current,offset:U.current,pageOffset:V.current,initialScrollOffset:W.current,clientOffset:K.current,initialClientOffset:J.current,velocity:F.current,autoScroll:Boolean("object"==typeof b?!1!==b.enabled:b),scrollableParent:te(),autoScrollDirection:"object"==typeof b?b.direction:{horizontal:!0,vertical:!0},isScrolling:P}}),[M,I,S,R,O,b,te,P]),ae=o.useCallback((function(e){k(e)}),[]),le=o.useCallback((function(e){A(e)}),[]),ce=o.useCallback((function(e){F.current=e}),[]),ue=o.useCallback((function(e){U.current=e}),[]),se=o.useCallback((function(e){K.current=e}),[]),fe=o.useCallback((function(e){V.current=e}),[]),de=o.useCallback((function(e){J.current=e}),[]),ve=o.useCallback((function(e){G.current=e}),[]),pe=o.useCallback((function(e){W.current=e}),[]),he=o.useCallback((function(e){i(e)}),[i]),ge=o.useCallback((function(e){l(e)}),[l]),me=o.useCallback((function(t){L(ne,{target:e.current,event:t}),u(t)}),[L,e,u]),ye=o.useCallback((function(e){f(e)}),[f]),be=o.useCallback((function(t){Q.current||(L(null,{target:e.current,event:t}),v(t))}),[v,L,e]),Ee=o.useCallback((function(e){qe(ie(),{event:e,payload:ne.current},{onVelocityChange:ce,onOffsetChange:ue,onClientOffsetChange:se,onPageOffsetChange:fe,onInitialClientOffsetChange:de,onScrollOffsetChange:ve,onInitialScrollOffsetChange:pe,onIsPressedChange:ae,onIsScrollingChange:le})}),[ie,ce,ue,fe,se,de,pe,ae,ve,le]),Ce=o.useCallback((function(e){Ee(e)}),[Ee]),xe=o.useCallback((function(e){Ee(e)}),[Ee]),Oe=o.useCallback((function(e){Ee(e)}),[Ee]),ke=o.useCallback((function(e){Ee(e)}),[Ee]),we=o.useCallback((function(e){Ee(e)}),[Ee]),De=o.useCallback((function(e){Ee(e)}),[Ee]),Pe=o.useCallback((function(e){Ee(e)}),[Ee]),Ae=o.useCallback((function(e){e.preventDefault(),Ee(e)}),[Ee]),Ie=o.useCallback((function(e){e.preventDefault(),Ee(e)}),[Ee]),Ne=o.useCallback((function(e){e.preventDefault(),Ee(e)}),[Ee]),Me=o.useCallback((function(e){if(0===e.touches.length&&1===e.changedTouches.length){var t=oe();X.current=!0,z.current=t.setTimeout((function(){X.current=!1}),$e)}Ee(e)}),[Ee,oe]),Le=o.useCallback((function(e){Ee(e)}),[Ee]),Re=o.useCallback((function(){var e=_();if(e){var t=e.style.touchAction;return e.style.touchAction="none",function(){e.style.touchAction=t}}}),[_]),Te=o.useCallback((function(){return j(ne),function(){H(ne)}}),[H,j]);o.useEffect((function(){var e=oe();if(P){var t=ee()||Ge(document.elementFromPoint(K.current.x,K.current.y));e.clearInterval(B.current),B.current=e.setInterval((function(){Ze(t,{x:F.current.x,y:F.current.y})}),50)}return function(){e.clearInterval(B.current)}}),[_,ee,oe,P]),o.useEffect(Re,[Re]),o.useEffect((function(){var e=oe(),t=_(),n=re();return Z?(t&&(Y.current=Ge(t),Y.current&&Y.current.addEventListener("scroll",Le,{passive:!0}),t.addEventListener("pointerdown",Ce,{passive:!0})),O&&(n.addEventListener("pointermove",xe),n.addEventListener("pointerup",ke,!0),n.addEventListener("contextmenu",Ae),n.addEventListener("pointercancel",Oe,{passive:!0}))):(e.addEventListener("touchmove",D,{capture:!1,passive:!1}),t&&(t.addEventListener("mousedown",we,{passive:!0}),m||(t.addEventListener("touchstart",Ie,{passive:!0}),O&&(t.addEventListener("touchmove",Ne,{passive:!0}),t.addEventListener("touchend",Me,{passive:!0})))),O&&(n.addEventListener("mousemove",De,{passive:!0}),n.addEventListener("mouseup",Pe,{passive:!0}))),function(){Y.current&&Y.current.removeEventListener("scroll",Le),t&&(t.removeEventListener("pointerdown",Ce),t.removeEventListener("mousedown",we),t.removeEventListener("touchstart",Ie),t.removeEventListener("touchmove",Ne),t.removeEventListener("touchend",Me)),n.removeEventListener("pointermove",xe),n.removeEventListener("pointerup",ke,!0),n.removeEventListener("contextmenu",Ae),n.removeEventListener("pointercancel",Oe),n.removeEventListener("mousemove",De),n.removeEventListener("mouseup",Pe),e.removeEventListener("touchmove",D),e.clearTimeout(z.current)}}),[O,oe,_,re,m,Z,Ae,we,De,Pe,Oe,Ce,xe,ke,Me,Ne,Ie,Le]),o.useEffect((function(){return Q.current=!1,function(){Q.current=!0}}),[]),o.useLayoutEffect(Te,[Te])}var tt=o.forwardRef((function(e,t){var n=o.useRef(null),r=o.useRef(null),i=o.useCallback((function(){return n.current&&n.current.element?n.current.element:n.current}),[n]);o.useImperativeHandle(r,(function(){return{element:i()||null}})),o.useImperativeHandle(t,(function(){return r.current})),o.useImperativeHandle(e.childRef,(function(){return n.current}));var a=o.useCallback((function(t){e.onPress&&e.onPress({element:i(),target:r.current,event:t})}),[i,e.onPress]),l=o.useCallback((function(t){e.onRelease&&e.onRelease({element:i(),target:r.current,event:t})}),[i,e.onRelease]),c=o.useCallback((function(t){e.onDragStart&&e.onDragStart({element:i(),target:r.current,event:t})}),[e,i]),u=o.useCallback((function(t){e.onDrag&&e.onDrag({element:i(),target:r.current,event:t})}),[i,e.onDrag]),s=o.useCallback((function(t){e.onDragEnd&&e.onDragEnd({element:i(),target:r.current,event:t})}),[i,e.onDragEnd]);return et(n,{onPress:a,onRelease:l,onDragStart:c,onDrag:u,onDragEnd:s},{mouseOnly:e.mouseOnly,autoScroll:e.autoScroll,hint:e.hint,scrollContainer:e.scrollContainer}),e.children?o.cloneElement(o.Children.only(e.children),{ref:n}):null}));function nt(e,t){void 0===t&&(t={onDragEnter:D,onDragOver:D,onDragLeave:D,onDrop:D});var n=t.onDragEnter,r=void 0===n?D:n,i=t.onDragOver,a=void 0===i?D:i,l=t.onDragLeave,c=void 0===l?D:l,u=t.onDrop,s=void 0===u?D:u,f=_e(Be)[1],d=o.useContext(ze),v=d[1],p=d[2],h=o.useCallback((function(){return e.current&&e.current.element?e.current.element:e.current}),[e]),g=o.useRef(null);o.useImperativeHandle(g,(function(){return{element:h(),onDragEnter:m,onDragOver:y,onDragLeave:b,onDrop:E,data:e.current}}));var m=o.useCallback((function(t){f(g,{target:e.current,event:t}),r(t)}),[f,e,r]),y=o.useCallback((function(e){a(e)}),[a]),b=o.useCallback((function(t){f(null,{target:e.current,event:t}),c(t)}),[f,e,c]),E=o.useCallback((function(t){f(null,{target:e.current,event:t}),s(t)}),[f,e,s]),C=o.useCallback((function(){return v(g),function(){p(g)}}),[p,v]);o.useLayoutEffect(C,[C])}tt.displayName="KendoReactDraggable";var rt=o.forwardRef((function(e,t){var n=o.useRef(null),r=o.useRef(null),i=o.useCallback((function(){return n.current&&n.current.element?n.current.element:n.current}),[n]);o.useImperativeHandle(r,(function(){return{element:i()||void 0}})),o.useImperativeHandle(t,(function(){return r.current})),o.useImperativeHandle(e.childRef,(function(){return n.current}));var a=o.useCallback((function(t){e.onDragEnter&&e.onDragEnter({element:i(),target:r.current,event:t})}),[e.onDragEnter,i]),l=o.useCallback((function(t){e.onDragOver&&e.onDragOver({element:i(),target:r.current,event:t})}),[i,e.onDragOver]),c=o.useCallback((function(t){e.onDragLeave&&e.onDragLeave({element:i(),target:r.current,event:t})}),[e.onDragLeave,i]),u=o.useCallback((function(t){e.onDrop&&e.onDrop({element:i(),target:r.current,event:t})}),[e.onDrop,i]);return nt(n,{onDragEnter:a,onDragOver:l,onDragLeave:c,onDrop:u}),e.children?o.cloneElement(o.Children.only(e.children),{ref:n}):null}));rt.displayName="KendoReactDroppable";var ot={sizeMap:{small:"sm",medium:"md",large:"lg"},roundedMap:{small:"sm",medium:"md",large:"lg"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};function it(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!((r=e[n])===(o=t[n])||Number.isNaN(r)&&Number.isNaN(o)))return!1;var r,o;return!0}function at(e,t){void 0===t&&(t=it);var n=null;function r(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var i=e.apply(this,r);return n={lastResult:i,lastArgs:r,lastThis:this},i}return r.clear=function(){n=null},r}var lt=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[contenteditable]"],ct=function(){function e(e){var t=this;this.rovingTabIndex=!0,this.update=function(){},this.focusNextIndex=function(e,n){var r=t.elements,o=r.indexOf(e)+n,i=r[(o=o<0?r.length-1:o)%r.length];return t.focusElement(i,e),i},this.tabIndex=e.tabIndex||0,this.root=e.root,this.selectors=e.selectors,this.focusOptions=e.focusOptions||{preventScroll:!0},this.rovingTabIndex=void 0===e.rovingTabIndex||e.rovingTabIndex,this.mouseEvents=e.mouseEvents||{},this.keyboardEvents=e.keyboardEvents||{}}return Object.defineProperty(e.prototype,"elements",{get:function(){return this.root.current?Array.from(this.root.current.querySelectorAll(this.selectors.join(","))):[]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"first",{get:function(){return this.root.current&&this.root.current.querySelector(this.selectors.join(","))||null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"last",{get:function(){var e=this.elements;return e[e.length-1]||null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"current",{get:function(){return this.elements.find((function(e){return e.matches(":focus")}))||null},enumerable:!1,configurable:!0}),e.prototype.focusNext=function(e){return this.focusNextIndex(e,1)},e.prototype.focusPrevious=function(e){return this.focusNextIndex(e,-1)},e.prototype.triggerKeyboardEvent=function(e,t){var n=e.target instanceof Element&&e.target.closest(this.selectors.join(",")),r=" "===e.key?"Space":e.key,o=e.nativeEvent.type;n&&this.keyboardEvents[o][r]&&this.keyboardEvents[o][r].call(void 0,n,this,e,t)},e.prototype.triggerMouseEvent=function(e){var t=e.target instanceof Element&&e.target.closest(this.selectors.join(",")),n=e.nativeEvent.type;t&&this.mouseEvents[n].call(void 0,t,this,e)},e.prototype.focusElement=function(e,t){e&&(t&&(this.rovingTabIndex&&t.removeAttribute("tabindex"),t.classList.remove("k-focus")),this.rovingTabIndex&&e.setAttribute("tabindex",String(this.tabIndex)),e.focus(this.focusOptions))},e}(),ut=function(e){var t=e.shadowRoot,n=e.contentDocument;return t&&t.activeElement?ut(t.activeElement):n&&n.activeElement?ut(n.activeElement):e},st=function(e){if(e&&e.activeElement)return ut(e.activeElement)};function ft(e,t){var n=(e||"").split("."),r=t;return n.forEach((function(e){r=r?r[e]:void 0})),r}function dt(e){return void 0!==e.length}var vt=function(){function e(e){this.expandField=e.expandField,this.selectField=e.selectField,this.hasChildrenField=e.hasChildrenField,this.childrenField=e.childrenField,this.textField=e.textField,this.disableField=e.disableField,this.checkField=e.checkField,this.checkIndeterminateField=e.checkIndeterminateField,this.focusIdField=e.focusIdField}return e.prototype.expanded=function(e){return ft(this.expandField,e)},e.prototype.selected=function(e){return ft(this.selectField,e)},e.prototype.text=function(e){return ft(this.textField,e)},e.prototype.disabled=function(e){return ft(this.disableField,e)},e.prototype.hasChildren=function(e){return ft(this.hasChildrenField,e)},e.prototype.children=function(e){return ft(this.childrenField,e)||[]},e.prototype.checked=function(e){return ft(this.checkField,e)},e.prototype.checkIndeterminate=function(e){return ft(this.checkIndeterminateField,e)},e.prototype.focusId=function(e){return this.focusIdField&&ft(this.focusIdField,e)},e.prototype.getChildrenField=function(){return this.childrenField},e}(),pt=function(){function e(){this.objects=[]}return e.prototype.init=function(e){for(var t,n=0;n<e.length;n++)n%5e4==0&&(t={},this.objects.push(t)),t[e[n]]=!0},e.prototype.hasId=function(e){return this.objects.some((function(t){return t[e]}))},e}(),ht="",gt="0",mt="_";function yt(e,t,n){if(wt(e))return t[Number(e)];var r=t[Number(bt(e))],o=r&&r[n]||[];return o.length?yt(Et(e),o,n):void 0}function bt(e){return kt(e)?e:e.split(mt)[0]}function Et(e){if(kt(e))return e;var t=e.indexOf(mt);return e.substring(t+1)}function Ct(e){return xt("0",e)}function xt(e,t){return e=e.toString(),t?t+mt+e:e}function Ot(e){var t=e.lastIndexOf(mt);return t<0?ht:e.substring(0,t)}function kt(e){return e===ht||e.indexOf(mt)<0}function wt(e){return e!==ht&&e.indexOf(mt)<0}function Dt(e){return e.split(mt)}function Pt(e){var t=e.lastIndexOf(mt);return t<0?e:e.substring(t+1)}function At(e){return Pt(e)===gt}function It(e,t){var n=t;t="r"+mt+t;var r=Ot(e="r"+mt+e)+mt;if(t.startsWith(r)){var o=t.substring(r.length);if(o){var i=bt(o);if(Number(Pt(e))<Number(i))return Et(r+(Number(i)-1).toString()+o.substring(i.length))}}return n}var Nt=function(){return Nt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Nt.apply(this,arguments)};function Mt(e,t){var n=ft(t,e);return Boolean(n&&n.length)}function Lt(e,t){return t.expanded(e)&&Mt(e,t.getChildrenField())}function Rt(e,t,n,r){var o=Tt([e],t,n,r);return o.length?o[0]:void 0}function Tt(e,t,n,r){var o=[],i=new pt;return i.init(e),Yt(i,t,n,ht,o,r),o}function St(e,t,n,r,o){var i,a=Number(bt(t));if(a>=e.length)return e;var l=e,c=e[a];return c[r]||(c=(l=e.slice())[a]=Object.assign({},c,((i={})[r]=!0,i))),wt(t)?n(c):c[o]&&(c[o]=St(c[o],Et(t),n,r,o)),l}function jt(e,t,n){for(var r=Dt(e),o=t,i=0;i<r.length;i++){var a=o[Number(r[i])];if(n.disabled(a))return!1;o=a[n.getChildrenField()]}return!0}function Ht(e,t,n,r){return r?function e(t){for(var o=[],i=t[n]||[],a=0;a<i.length;a++)o.push(ft(r,i[a])),o=o.concat(e(i[a]));return o}(e):function e(t,r){for(var o=[],i=t[n]||[],a=0;a<i.length;a++){var l=xt(a,r);o.push(l),o=o.concat(e(i[a],l))}return o}(e,t)}function Ft(e,t,n,r,o){return(e[r]||[]).every((function(e,r){return o.indexOf(n?ft(n,e):xt(r,t))>-1}))}function Bt(e,t,n){for(var r=[],o=Dt(e),i=n,a=0;a<o.length-1&&i;a++){var l=i[Number(o[a])];r.push(l),i=l[t]}return r}function Xt(e,t,n){var r=n.slice();if(wt(e))r.splice(Number(e),1);else{var o=Number(bt(e)),i=r[o]=Nt({},r[o]);i[t]=Xt(Et(e),t,i[t])}return r}function zt(e,t,n,r,o){var i=o.slice();if(wt(r))if("child"===t){var a=i[Number(r)]=Nt({},i[Number(r)]);a[n]?(a[n]=a[n].slice(),a[n].push(e)):a[n]=[e]}else i.splice(Number(r)+("after"===t?1:0),0,e);else{var l=Number(bt(r)),c=i[l]=Nt({},i[l]);c[n]=zt(e,t,n,Et(r),c[n])}return i}function Yt(e,t,n,r,o,i){for(var a=0;a<n.length;a++){var l=n[a],c=xt(a,r);e.hasId(ft(t,l))&&o.push(c),Mt(l,i)&&Yt(e,t,ft(i,l),c,o,i)}}},302:e=>{e.exports=t},189:e=>{e.exports=r},899:t=>{t.exports=e},994:e=>{e.exports=n}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={exports:{}};return o[e].call(n.exports,n,n.exports,a),n.exports}a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var l={};return(()=>{var e=l;Object.defineProperty(e,"__esModule",{value:!0}),e.ListViewFooter=e.ListViewHeader=e.ListView=void 0;var t=a(54);Object.defineProperty(e,"ListView",{enumerable:!0,get:function(){return t.ListView}});var n=a(861);Object.defineProperty(e,"ListViewHeader",{enumerable:!0,get:function(){return n.ListViewHeader}});var r=a(652);Object.defineProperty(e,"ListViewFooter",{enumerable:!0,get:function(){return r.ListViewFooter}})})(),l})()}));
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ (function(t,n){typeof exports=="object"&&typeof module<"u"?n(exports,require("react"),require("@progress/kendo-react-common")):typeof define=="function"&&define.amd?define(["exports","react","@progress/kendo-react-common"],n):(t=typeof globalThis<"u"?globalThis:t||self,n(t.KendoReactListview={},t.React,t.KendoReactCommon))})(this,function(t,n,c){"use strict";function l(e){const i=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const s in e)if(s!=="default"){const o=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(i,s,o.get?o:{enumerable:!0,get:()=>e[s]})}}return i.default=e,Object.freeze(i)}const r=l(n),d={name:"@progress/kendo-react-listview",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:0,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/"};class u extends r.PureComponent{constructor(i){super(i),this.onScroll=s=>c.dispatchEvent(this.props.onScroll,s,this,void 0),c.validatePackage(d)}render(){const{data:i=[],item:s}=this.props;return r.createElement("div",{className:c.classNames("k-listview k-d-flex",this.props.className),style:this.props.style},this.props.header?r.createElement(this.props.header,null):null,r.createElement("div",{role:"list",className:"k-listview-content",onScroll:this.onScroll},s&&i.map((o,a)=>r.createElement(s,{dataItem:o,index:a,key:a}))),this.props.footer?r.createElement(this.props.footer,null):null)}}const p=e=>r.createElement("div",{className:c.classNames("k-listview-header",e.className),style:e.style},e.children),m=e=>r.createElement("div",{className:c.classNames("k-listview-footer",e.className),style:e.style},e.children);t.ListView=u,t.ListViewFooter=m,t.ListViewHeader=p,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})});
package/events.d.ts ADDED
@@ -0,0 +1,8 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { BaseEvent } from '@progress/kendo-react-common';
6
+ import { ListView } from './ListView';
7
+ export interface ListViewEvent extends BaseEvent<ListView> {
8
+ }
package/index.d.ts ADDED
@@ -0,0 +1,13 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { ListView } from './ListView';
6
+ import { ListViewHeader } from './ListViewHeader';
7
+ import { ListViewFooter } from './ListViewFooter';
8
+ import { type ListViewProps } from './interfaces/ListViewProps';
9
+ import { type ListViewItemProps } from './interfaces/ListViewItemProps';
10
+ import { type ListViewFooterProps } from './interfaces/ListViewFooterProps';
11
+ import { type ListViewHeaderProps } from './interfaces/ListViewHeaderProps';
12
+ import { type ListViewEvent } from './events';
13
+ export { ListView, ListViewProps, ListViewEvent, ListViewHeader, ListViewFooter, ListViewItemProps, ListViewFooterProps, ListViewHeaderProps };
package/index.js ADDED
@@ -0,0 +1,5 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react"),a=require("@progress/kendo-react-common");function i(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const l=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,l.get?l:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const s=i(c),n={name:"@progress/kendo-react-listview",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:0,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/"};class m extends s.PureComponent{constructor(r){super(r),this.onScroll=t=>a.dispatchEvent(this.props.onScroll,t,this,void 0),a.validatePackage(n)}render(){const{data:r=[],item:t}=this.props;return s.createElement("div",{className:a.classNames("k-listview k-d-flex",this.props.className),style:this.props.style},this.props.header?s.createElement(this.props.header,null):null,s.createElement("div",{role:"list",className:"k-listview-content",onScroll:this.onScroll},t&&r.map((l,o)=>s.createElement(t,{dataItem:l,index:o,key:o}))),this.props.footer?s.createElement(this.props.footer,null):null)}}const d=e=>s.createElement("div",{className:a.classNames("k-listview-header",e.className),style:e.style},e.children),u=e=>s.createElement("div",{className:a.classNames("k-listview-footer",e.className),style:e.style},e.children);exports.ListView=m;exports.ListViewFooter=u;exports.ListViewHeader=d;
package/index.mjs ADDED
@@ -0,0 +1,41 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import * as t from "react";
6
+ import { dispatchEvent as i, validatePackage as c, classNames as r } from "@progress/kendo-react-common";
7
+ const n = {
8
+ name: "@progress/kendo-react-listview",
9
+ productName: "KendoReact",
10
+ productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
11
+ publishDate: 1700573614,
12
+ version: "",
13
+ licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/"
14
+ };
15
+ class d extends t.PureComponent {
16
+ constructor(l) {
17
+ super(l), this.onScroll = (s) => i(this.props.onScroll, s, this, void 0), c(n);
18
+ }
19
+ /**
20
+ * @hidden
21
+ */
22
+ render() {
23
+ const { data: l = [], item: s } = this.props;
24
+ return /* @__PURE__ */ t.createElement(
25
+ "div",
26
+ {
27
+ className: r("k-listview k-d-flex", this.props.className),
28
+ style: this.props.style
29
+ },
30
+ this.props.header ? /* @__PURE__ */ t.createElement(this.props.header, null) : null,
31
+ /* @__PURE__ */ t.createElement("div", { role: "list", className: "k-listview-content", onScroll: this.onScroll }, s && l.map((o, a) => /* @__PURE__ */ t.createElement(s, { dataItem: o, index: a, key: a }))),
32
+ this.props.footer ? /* @__PURE__ */ t.createElement(this.props.footer, null) : null
33
+ );
34
+ }
35
+ }
36
+ const p = (e) => /* @__PURE__ */ t.createElement("div", { className: r("k-listview-header", e.className), style: e.style }, e.children), h = (e) => /* @__PURE__ */ t.createElement("div", { className: r("k-listview-footer", e.className), style: e.style }, e.children);
37
+ export {
38
+ d as ListView,
39
+ h as ListViewFooter,
40
+ p as ListViewHeader
41
+ };
@@ -0,0 +1,18 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ export interface ListViewFooterProps {
6
+ /**
7
+ * Sets the ListViewFooter children elements.
8
+ */
9
+ children?: React.ReactNode;
10
+ /**
11
+ * Sets additional CSS styles to the ListViewFooter.
12
+ */
13
+ style?: React.CSSProperties;
14
+ /**
15
+ * Add additional classes to the ListViewFooter.
16
+ */
17
+ className?: string;
18
+ }
@@ -0,0 +1,18 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ export interface ListViewHeaderProps {
6
+ /**
7
+ * Sets the ListViewHeader children elements.
8
+ */
9
+ children?: React.ReactNode;
10
+ /**
11
+ * Sets additional CSS styles to the ListViewHeader.
12
+ */
13
+ style?: React.CSSProperties;
14
+ /**
15
+ * Add additional classes to the ListViewHeader.
16
+ */
17
+ className?: string;
18
+ }
@@ -0,0 +1,17 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ /**
6
+ * Represents the props of the each ListView item.
7
+ */
8
+ export interface ListViewItemProps {
9
+ /**
10
+ * The data object that represents the current item.
11
+ */
12
+ dataItem: any;
13
+ /**
14
+ * The index of the item in the data collection.
15
+ */
16
+ index?: number;
17
+ }
@@ -1,4 +1,7 @@
1
- /// <reference types="react" />
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
2
5
  import { ListViewEvent } from '../events';
3
6
  import { ListViewItemProps } from './ListViewItemProps';
4
7
  /**
@@ -0,0 +1,9 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { PackageMetadata } from '@progress/kendo-licensing';
6
+ /**
7
+ * @hidden
8
+ */
9
+ export declare const packageMetadata: PackageMetadata;
package/package.json CHANGED
@@ -1,20 +1,28 @@
1
1
  {
2
2
  "name": "@progress/kendo-react-listview",
3
- "version": "6.1.1",
3
+ "version": "7.0.0-develop.2",
4
4
  "description": "React ListView enables you to display a custom layout of data items. KendoReact ListView package",
5
- "repository": {
6
- "type": "git",
7
- "url": "https://github.com/telerik/kendo-react.git"
5
+ "author": "Progress",
6
+ "license": "SEE LICENSE IN LICENSE.md",
7
+ "homepage": "https://www.telerik.com/kendo-react-ui",
8
+ "main": "./index.js",
9
+ "types": "./index.d.ts",
10
+ "exports": {
11
+ ".": {
12
+ "import": "./index.mjs",
13
+ "require": "./index.js"
14
+ }
8
15
  },
9
- "main": "dist/npm/main.js",
10
- "types": "dist/npm/main.d.ts",
11
- "module": "dist/es/main.js",
12
- "jsnext:main": "dist/es/main.js",
13
- "scripts": {
14
- "test": "cd ../../ && npm run test -- --testPathPattern=/packages/listview/.*",
15
- "build-package": "gulp build-package"
16
+ "sideEffects": false,
17
+ "peerDependencies": {
18
+ "@progress/kendo-licensing": "^1.3.0",
19
+ "@progress/kendo-react-common": "7.0.0-develop.2",
20
+ "react": "^16.8.2 || ^17.0.0 || ^18.0.0",
21
+ "react-dom": "^16.8.2 || ^17.0.0 || ^18.0.0"
22
+ },
23
+ "dependencies": {
24
+ "prop-types": "^15.6.0"
16
25
  },
17
- "homepage": "https://www.telerik.com/kendo-react-ui",
18
26
  "keywords": [
19
27
  "Kendo UI",
20
28
  "React",
@@ -27,36 +35,15 @@
27
35
  "React component",
28
36
  "Telerik"
29
37
  ],
30
- "peerDependencies": {
31
- "@progress/kendo-licensing": "^1.3.0",
32
- "react": "^16.8.2 || ^17.0.0 || ^18.0.0",
33
- "react-dom": "^16.8.2 || ^17.0.0 || ^18.0.0"
34
- },
35
- "dependencies": {
36
- "@progress/kendo-react-common": "6.1.1",
37
- "prop-types": "^15.6.0"
38
- },
39
- "devDependencies": {
40
- "@progress/kendo-data-query": "^1.0.0",
41
- "@progress/kendo-date-math": "^1.4.1",
42
- "@progress/kendo-drawing": "^1.17.2",
43
- "@progress/kendo-licensing": "^1.3.0",
44
- "@progress/kendo-react-buttons": "6.1.1",
45
- "@progress/kendo-react-data-tools": "6.1.1",
46
- "@progress/kendo-react-dateinputs": "6.1.1",
47
- "@progress/kendo-react-dropdowns": "6.1.1",
48
- "@progress/kendo-react-inputs": "6.1.1",
49
- "@progress/kendo-react-intl": "6.1.1",
50
- "@progress/kendo-react-layout": "6.1.1"
51
- },
52
38
  "@progress": {
53
39
  "friendlyName": "ListView",
54
40
  "framework": "KendoReact"
55
41
  },
56
- "author": "Progress",
57
- "license": "SEE LICENSE IN LICENSE.md",
42
+ "repository": {
43
+ "type": "git",
44
+ "url": "git+https://github.com/telerik/kendo-react.git"
45
+ },
58
46
  "publishConfig": {
59
47
  "access": "public"
60
- },
61
- "sideEffects": false
62
- }
48
+ }
49
+ }
package/about.md DELETED
@@ -1,3 +0,0 @@
1
- <a href="https://www.telerik.com/kendo-react-ui?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-listview&utm_content=banner" target="_blank">
2
- <img src="https://www.telerik.com/kendo-react-ui/components/npm-banner.svg" alt="KendoReact NPM Banner">
3
- </a>
@@ -1,10 +0,0 @@
1
- import * as React from 'react';
2
- import { ListViewProps } from './interfaces/ListViewProps';
3
- export declare class ListView extends React.PureComponent<ListViewProps, {}> {
4
- constructor(props: ListViewProps);
5
- /**
6
- * @hidden
7
- */
8
- render(): JSX.Element;
9
- private onScroll;
10
- }
@@ -1,42 +0,0 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- if (typeof b !== "function" && b !== null)
10
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
11
- extendStatics(d, b);
12
- function __() { this.constructor = d; }
13
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
14
- };
15
- })();
16
- import * as React from 'react';
17
- import { classNames, dispatchEvent } from '@progress/kendo-react-common';
18
- import { validatePackage } from '@progress/kendo-react-common';
19
- import { packageMetadata } from './package-metadata';
20
- var ListView = /** @class */ (function (_super) {
21
- __extends(ListView, _super);
22
- function ListView(props) {
23
- var _this = _super.call(this, props) || this;
24
- _this.onScroll = function (event) { return dispatchEvent(_this.props.onScroll, event, _this, undefined); };
25
- validatePackage(packageMetadata);
26
- return _this;
27
- }
28
- /**
29
- * @hidden
30
- */
31
- ListView.prototype.render = function () {
32
- var _a = this.props, _b = _a.data, data = _b === void 0 ? [] : _b, Item = _a.item;
33
- return (React.createElement("div", { className: classNames('k-listview k-d-flex', this.props.className), style: this.props.style },
34
- this.props.header ? React.createElement(this.props.header, null) : null,
35
- React.createElement("div", { role: "list", className: "k-listview-content", onScroll: this.onScroll }, Item && data.map(function (dataItem, index) {
36
- return React.createElement(Item, { dataItem: dataItem, index: index, key: index });
37
- })),
38
- this.props.footer ? React.createElement(this.props.footer, null) : null));
39
- };
40
- return ListView;
41
- }(React.PureComponent));
42
- export { ListView };
@@ -1,4 +0,0 @@
1
- import * as React from 'react';
2
- import { ListViewFooterProps } from './interfaces/ListViewFooterProps';
3
- declare const ListViewFooter: React.FunctionComponent<ListViewFooterProps>;
4
- export { ListViewFooter };
@@ -1,6 +0,0 @@
1
- import * as React from 'react';
2
- import { classNames } from '@progress/kendo-react-common';
3
- var ListViewFooter = function (props) {
4
- return (React.createElement("div", { className: classNames('k-listview-footer', props.className), style: props.style }, props.children));
5
- };
6
- export { ListViewFooter };
@@ -1,4 +0,0 @@
1
- import * as React from 'react';
2
- import { ListViewHeaderProps } from './interfaces/ListViewHeaderProps';
3
- declare const ListViewHeader: React.FunctionComponent<ListViewHeaderProps>;
4
- export { ListViewHeader };
@@ -1,6 +0,0 @@
1
- import * as React from 'react';
2
- import { classNames } from '@progress/kendo-react-common';
3
- var ListViewHeader = function (props) {
4
- return (React.createElement("div", { className: classNames('k-listview-header', props.className), style: props.style }, props.children));
5
- };
6
- export { ListViewHeader };
@@ -1,4 +0,0 @@
1
- import { BaseEvent } from '@progress/kendo-react-common';
2
- import { ListView } from './ListView';
3
- export interface ListViewEvent extends BaseEvent<ListView> {
4
- }
package/dist/es/events.js DELETED
@@ -1 +0,0 @@
1
- export {};
@@ -1,15 +0,0 @@
1
- /// <reference types="react" />
2
- export interface ListViewFooterProps {
3
- /**
4
- * Sets the ListViewFooter children elements.
5
- */
6
- children?: React.ReactNode;
7
- /**
8
- * Sets additional CSS styles to the ListViewFooter.
9
- */
10
- style?: React.CSSProperties;
11
- /**
12
- * Add additional classes to the ListViewFooter.
13
- */
14
- className?: string;
15
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,15 +0,0 @@
1
- /// <reference types="react" />
2
- export interface ListViewHeaderProps {
3
- /**
4
- * Sets the ListViewHeader children elements.
5
- */
6
- children?: React.ReactNode;
7
- /**
8
- * Sets additional CSS styles to the ListViewHeader.
9
- */
10
- style?: React.CSSProperties;
11
- /**
12
- * Add additional classes to the ListViewHeader.
13
- */
14
- className?: string;
15
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,13 +0,0 @@
1
- /**
2
- * Represents the props of the each ListView item.
3
- */
4
- export interface ListViewItemProps {
5
- /**
6
- * The data object that represents the current item.
7
- */
8
- dataItem: any;
9
- /**
10
- * The index of the item in the data collection.
11
- */
12
- index?: number;
13
- }
@@ -1,2 +0,0 @@
1
- export {};
2
- // tslint:enable:max-line-length
@@ -1,2 +0,0 @@
1
- export {};
2
- // tslint:enable:max-line-length
package/dist/es/main.d.ts DELETED
@@ -1,9 +0,0 @@
1
- import { ListView } from './ListView';
2
- import { ListViewHeader } from './ListViewHeader';
3
- import { ListViewFooter } from './ListViewFooter';
4
- import { ListViewProps } from './interfaces/ListViewProps';
5
- import { ListViewItemProps } from './interfaces/ListViewItemProps';
6
- import { ListViewFooterProps } from './interfaces/ListViewFooterProps';
7
- import { ListViewHeaderProps } from './interfaces/ListViewHeaderProps';
8
- import { ListViewEvent } from './events';
9
- export { ListView, ListViewProps, ListViewEvent, ListViewHeader, ListViewFooter, ListViewItemProps, ListViewFooterProps, ListViewHeaderProps };
package/dist/es/main.js DELETED
@@ -1,4 +0,0 @@
1
- import { ListView } from './ListView';
2
- import { ListViewHeader } from './ListViewHeader';
3
- import { ListViewFooter } from './ListViewFooter';
4
- export { ListView, ListViewHeader, ListViewFooter };
@@ -1,5 +0,0 @@
1
- import { PackageMetadata } from '@progress/kendo-licensing';
2
- /**
3
- * @hidden
4
- */
5
- export declare const packageMetadata: PackageMetadata;
@@ -1,11 +0,0 @@
1
- /**
2
- * @hidden
3
- */
4
- export var packageMetadata = {
5
- name: '@progress/kendo-react-listview',
6
- productName: 'KendoReact',
7
- productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
8
- publishDate: 1700064816,
9
- version: '',
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
- };
@@ -1,10 +0,0 @@
1
- import * as React from 'react';
2
- import { ListViewProps } from './interfaces/ListViewProps';
3
- export declare class ListView extends React.PureComponent<ListViewProps, {}> {
4
- constructor(props: ListViewProps);
5
- /**
6
- * @hidden
7
- */
8
- render(): JSX.Element;
9
- private onScroll;
10
- }
@@ -1,45 +0,0 @@
1
- "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.ListView = void 0;
19
- var React = require("react");
20
- var kendo_react_common_1 = require("@progress/kendo-react-common");
21
- var kendo_react_common_2 = require("@progress/kendo-react-common");
22
- var package_metadata_1 = require("./package-metadata");
23
- var ListView = /** @class */ (function (_super) {
24
- __extends(ListView, _super);
25
- function ListView(props) {
26
- var _this = _super.call(this, props) || this;
27
- _this.onScroll = function (event) { return (0, kendo_react_common_1.dispatchEvent)(_this.props.onScroll, event, _this, undefined); };
28
- (0, kendo_react_common_2.validatePackage)(package_metadata_1.packageMetadata);
29
- return _this;
30
- }
31
- /**
32
- * @hidden
33
- */
34
- ListView.prototype.render = function () {
35
- var _a = this.props, _b = _a.data, data = _b === void 0 ? [] : _b, Item = _a.item;
36
- return (React.createElement("div", { className: (0, kendo_react_common_1.classNames)('k-listview k-d-flex', this.props.className), style: this.props.style },
37
- this.props.header ? React.createElement(this.props.header, null) : null,
38
- React.createElement("div", { role: "list", className: "k-listview-content", onScroll: this.onScroll }, Item && data.map(function (dataItem, index) {
39
- return React.createElement(Item, { dataItem: dataItem, index: index, key: index });
40
- })),
41
- this.props.footer ? React.createElement(this.props.footer, null) : null));
42
- };
43
- return ListView;
44
- }(React.PureComponent));
45
- exports.ListView = ListView;
@@ -1,4 +0,0 @@
1
- import * as React from 'react';
2
- import { ListViewFooterProps } from './interfaces/ListViewFooterProps';
3
- declare const ListViewFooter: React.FunctionComponent<ListViewFooterProps>;
4
- export { ListViewFooter };
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListViewFooter = void 0;
4
- var React = require("react");
5
- var kendo_react_common_1 = require("@progress/kendo-react-common");
6
- var ListViewFooter = function (props) {
7
- return (React.createElement("div", { className: (0, kendo_react_common_1.classNames)('k-listview-footer', props.className), style: props.style }, props.children));
8
- };
9
- exports.ListViewFooter = ListViewFooter;
@@ -1,4 +0,0 @@
1
- import * as React from 'react';
2
- import { ListViewHeaderProps } from './interfaces/ListViewHeaderProps';
3
- declare const ListViewHeader: React.FunctionComponent<ListViewHeaderProps>;
4
- export { ListViewHeader };
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListViewHeader = void 0;
4
- var React = require("react");
5
- var kendo_react_common_1 = require("@progress/kendo-react-common");
6
- var ListViewHeader = function (props) {
7
- return (React.createElement("div", { className: (0, kendo_react_common_1.classNames)('k-listview-header', props.className), style: props.style }, props.children));
8
- };
9
- exports.ListViewHeader = ListViewHeader;
@@ -1,4 +0,0 @@
1
- import { BaseEvent } from '@progress/kendo-react-common';
2
- import { ListView } from './ListView';
3
- export interface ListViewEvent extends BaseEvent<ListView> {
4
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,15 +0,0 @@
1
- /// <reference types="react" />
2
- export interface ListViewFooterProps {
3
- /**
4
- * Sets the ListViewFooter children elements.
5
- */
6
- children?: React.ReactNode;
7
- /**
8
- * Sets additional CSS styles to the ListViewFooter.
9
- */
10
- style?: React.CSSProperties;
11
- /**
12
- * Add additional classes to the ListViewFooter.
13
- */
14
- className?: string;
15
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,15 +0,0 @@
1
- /// <reference types="react" />
2
- export interface ListViewHeaderProps {
3
- /**
4
- * Sets the ListViewHeader children elements.
5
- */
6
- children?: React.ReactNode;
7
- /**
8
- * Sets additional CSS styles to the ListViewHeader.
9
- */
10
- style?: React.CSSProperties;
11
- /**
12
- * Add additional classes to the ListViewHeader.
13
- */
14
- className?: string;
15
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,13 +0,0 @@
1
- /**
2
- * Represents the props of the each ListView item.
3
- */
4
- export interface ListViewItemProps {
5
- /**
6
- * The data object that represents the current item.
7
- */
8
- dataItem: any;
9
- /**
10
- * The index of the item in the data collection.
11
- */
12
- index?: number;
13
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- // tslint:enable:max-line-length
@@ -1,36 +0,0 @@
1
- /// <reference types="react" />
2
- import { ListViewEvent } from '../events';
3
- import { ListViewItemProps } from './ListViewItemProps';
4
- /**
5
- * Represents the props of the [KendoReact ListView component]({% slug overview_listview %}).
6
- */
7
- export interface ListViewProps {
8
- /**
9
- * Sets a class of the ListView DOM element.
10
- */
11
- className?: string;
12
- /**
13
- * Sets the data of the ListView.
14
- */
15
- data?: any[];
16
- /**
17
- * Defines the component that will be rendered for each item of the data collection.
18
- */
19
- item?: React.ComponentType<ListViewItemProps>;
20
- /**
21
- * Defines the component that will be rendered for ListView header.
22
- */
23
- header?: React.ComponentType<any>;
24
- /**
25
- * Defines the component that will be rendered for ListView footer.
26
- */
27
- footer?: React.ComponentType<any>;
28
- /**
29
- * Sets styles to the ListView container.
30
- */
31
- style?: React.CSSProperties;
32
- /**
33
- * Fires when the ListView has been scrolled.
34
- */
35
- onScroll?: (event: ListViewEvent) => void;
36
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- // tslint:enable:max-line-length
@@ -1,9 +0,0 @@
1
- import { ListView } from './ListView';
2
- import { ListViewHeader } from './ListViewHeader';
3
- import { ListViewFooter } from './ListViewFooter';
4
- import { ListViewProps } from './interfaces/ListViewProps';
5
- import { ListViewItemProps } from './interfaces/ListViewItemProps';
6
- import { ListViewFooterProps } from './interfaces/ListViewFooterProps';
7
- import { ListViewHeaderProps } from './interfaces/ListViewHeaderProps';
8
- import { ListViewEvent } from './events';
9
- export { ListView, ListViewProps, ListViewEvent, ListViewHeader, ListViewFooter, ListViewItemProps, ListViewFooterProps, ListViewHeaderProps };
package/dist/npm/main.js DELETED
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListViewFooter = exports.ListViewHeader = exports.ListView = void 0;
4
- var ListView_1 = require("./ListView");
5
- Object.defineProperty(exports, "ListView", { enumerable: true, get: function () { return ListView_1.ListView; } });
6
- var ListViewHeader_1 = require("./ListViewHeader");
7
- Object.defineProperty(exports, "ListViewHeader", { enumerable: true, get: function () { return ListViewHeader_1.ListViewHeader; } });
8
- var ListViewFooter_1 = require("./ListViewFooter");
9
- Object.defineProperty(exports, "ListViewFooter", { enumerable: true, get: function () { return ListViewFooter_1.ListViewFooter; } });
@@ -1,5 +0,0 @@
1
- import { PackageMetadata } from '@progress/kendo-licensing';
2
- /**
3
- * @hidden
4
- */
5
- export declare const packageMetadata: PackageMetadata;
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.packageMetadata = void 0;
4
- /**
5
- * @hidden
6
- */
7
- exports.packageMetadata = {
8
- name: '@progress/kendo-react-listview',
9
- productName: 'KendoReact',
10
- productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
11
- publishDate: 1700064816,
12
- version: '',
13
- 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'
14
- };
@@ -1 +0,0 @@
1
- System.register("@progress/kendo-react-listview",["@progress/kendo-react-common","react"],function(e,t){var c={},l={};return Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(l,"__esModule",{value:!0}),{setters:[function(t){Object.keys(t).forEach(function(e){c[e]=t[e]})},function(t){Object.keys(t).forEach(function(e){l[e]=t[e]})}],execute:function(){e((()=>{"use strict";var r={54:function(e,t,r){var o,n,i=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 r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}))(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=(Object.defineProperty(t,"__esModule",{value:!0}),t.ListView=void 0,r(954)),a=r(811),c=r(811),l=r(363),r=(n=s.PureComponent,i(u,n),u.prototype.render=function(){var e=this.props,t=e.data,t=void 0===t?[]:t,r=e.item;return s.createElement("div",{className:(0,a.classNames)("k-listview k-d-flex",this.props.className),style:this.props.style},this.props.header?s.createElement(this.props.header,null):null,s.createElement("div",{role:"list",className:"k-listview-content",onScroll:this.onScroll},r&&t.map(function(e,t){return s.createElement(r,{dataItem:e,index:t,key:t})})),this.props.footer?s.createElement(this.props.footer,null):null)},u);function u(e){var t=n.call(this,e)||this;return t.onScroll=function(e){return(0,a.dispatchEvent)(t.props.onScroll,e,t,void 0)},(0,c.validatePackage)(l.packageMetadata),t}t.ListView=r},652:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ListViewFooter=void 0;var o=r(954),n=r(811);t.ListViewFooter=function(e){return o.createElement("div",{className:(0,n.classNames)("k-listview-footer",e.className),style:e.style},e.children)}},861:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ListViewHeader=void 0;var o=r(954),n=r(811);t.ListViewHeader=function(e){return o.createElement("div",{className:(0,n.classNames)("k-listview-header",e.className),style:e.style},e.children)}},363:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata=void 0,t.packageMetadata={name:"@progress/kendo-react-listview",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1700064816,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"}},811:e=>{e.exports=c},954:e=>{e.exports=l}},o={};function n(e){var t=o[e];return void 0!==t||(t=o[e]={exports:{}},r[e].call(t.exports,t,t.exports,n)),t.exports}var e,t,i,s,a={};return e=a,Object.defineProperty(e,"__esModule",{value:!0}),e.ListViewFooter=e.ListViewHeader=e.ListView=void 0,t=n(54),Object.defineProperty(e,"ListView",{enumerable:!0,get:function(){return t.ListView}}),i=n(861),Object.defineProperty(e,"ListViewHeader",{enumerable:!0,get:function(){return i.ListViewHeader}}),s=n(652),Object.defineProperty(e,"ListViewFooter",{enumerable:!0,get:function(){return s.ListViewFooter}}),a})())}}});
@@ -1,24 +0,0 @@
1
- import { Browser } from '@progress/kendo-e2e';
2
- import { LOCATORS } from '../../../e2eUtils/const';
3
-
4
- let browser: Browser;
5
-
6
- beforeAll(() => {
7
- browser = new Browser();
8
- });
9
-
10
- beforeEach(async () => {
11
- await browser.navigateTo('http://localhost:3000/listview/overview');
12
- });
13
-
14
- afterEach(async () => {
15
- expect(await browser.getErrorLogs()).toEqual([]);
16
- });
17
-
18
- afterAll(async () => {
19
- await browser.close();
20
- });
21
-
22
- it('should not have errors', async () => {
23
- expect(await browser.isVisible(LOCATORS.LISTVIEW)).toBe(true);
24
- });