@progress/kendo-react-animation 6.1.1-dev.202311151536 → 7.0.0-develop.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/{dist/es/Animation.d.ts → Animation.d.ts} +5 -1
  2. package/{dist/npm/AnimationChild.d.ts → AnimationChild.d.ts} +5 -1
  3. package/{dist/es/AnimationInterface.d.ts → AnimationInterface.d.ts} +4 -1
  4. package/{dist/npm/Expand.d.ts → Expand.d.ts} +6 -2
  5. package/{dist/es/Fade.d.ts → Fade.d.ts} +5 -1
  6. package/LICENSE.md +1 -1
  7. package/{dist/npm/Push.d.ts → Push.d.ts} +6 -2
  8. package/{dist/npm/Reveal.d.ts → Reveal.d.ts} +6 -2
  9. package/{dist/es/Slide.d.ts → Slide.d.ts} +6 -2
  10. package/{dist/npm/Zoom.d.ts → Zoom.d.ts} +6 -2
  11. package/dist/cdn/js/kendo-react-animation.js +5 -1
  12. package/hooks/useAnimation.d.ts +16 -0
  13. package/index.d.ts +14 -0
  14. package/index.js +5 -0
  15. package/index.mjs +669 -0
  16. package/package-metadata.d.ts +9 -0
  17. package/package.json +28 -27
  18. package/util.d.ts +15 -0
  19. package/about.md +0 -3
  20. package/dist/es/Animation.js +0 -98
  21. package/dist/es/AnimationChild.d.ts +0 -89
  22. package/dist/es/AnimationChild.js +0 -175
  23. package/dist/es/AnimationInterface.js +0 -2
  24. package/dist/es/Expand.d.ts +0 -81
  25. package/dist/es/Expand.js +0 -88
  26. package/dist/es/Fade.js +0 -83
  27. package/dist/es/Push.d.ts +0 -89
  28. package/dist/es/Push.js +0 -92
  29. package/dist/es/Reveal.d.ts +0 -101
  30. package/dist/es/Reveal.js +0 -152
  31. package/dist/es/Slide.js +0 -90
  32. package/dist/es/Zoom.d.ts +0 -87
  33. package/dist/es/Zoom.js +0 -90
  34. package/dist/es/hooks/useAnimation.d.ts +0 -12
  35. package/dist/es/hooks/useAnimation.js +0 -48
  36. package/dist/es/main.d.ts +0 -10
  37. package/dist/es/main.js +0 -10
  38. package/dist/es/package-metadata.d.ts +0 -5
  39. package/dist/es/package-metadata.js +0 -11
  40. package/dist/es/util.d.ts +0 -11
  41. package/dist/es/util.js +0 -138
  42. package/dist/npm/Animation.d.ts +0 -82
  43. package/dist/npm/Animation.js +0 -101
  44. package/dist/npm/AnimationChild.js +0 -178
  45. package/dist/npm/AnimationInterface.d.ts +0 -89
  46. package/dist/npm/AnimationInterface.js +0 -3
  47. package/dist/npm/Expand.js +0 -91
  48. package/dist/npm/Fade.d.ts +0 -67
  49. package/dist/npm/Fade.js +0 -86
  50. package/dist/npm/Push.js +0 -95
  51. package/dist/npm/Reveal.js +0 -155
  52. package/dist/npm/Slide.d.ts +0 -83
  53. package/dist/npm/Slide.js +0 -93
  54. package/dist/npm/Zoom.js +0 -93
  55. package/dist/npm/hooks/useAnimation.d.ts +0 -12
  56. package/dist/npm/hooks/useAnimation.js +0 -52
  57. package/dist/npm/main.d.ts +0 -10
  58. package/dist/npm/main.js +0 -21
  59. package/dist/npm/package-metadata.d.ts +0 -5
  60. package/dist/npm/package-metadata.js +0 -14
  61. package/dist/npm/util.d.ts +0 -11
  62. package/dist/npm/util.js +0 -140
  63. package/dist/systemjs/kendo-react-animation.js +0 -1
  64. package/e2e-next/basic.tests.ts +0 -25
@@ -1,3 +1,7 @@
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
+ *-------------------------------------------------------------------------------------------*/
1
5
  import * as React from 'react';
2
6
  import * as PropTypes from 'prop-types';
3
7
  import { AnimationInterface } from './AnimationInterface';
@@ -78,5 +82,5 @@ export declare class Animation extends React.Component<AnimationProps, {}> {
78
82
  /**
79
83
  * @hidden
80
84
  */
81
- render(): JSX.Element;
85
+ render(): import("react/jsx-runtime").JSX.Element;
82
86
  }
@@ -1,3 +1,7 @@
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
+ *-------------------------------------------------------------------------------------------*/
1
5
  import * as React from 'react';
2
6
  import * as PropTypes from 'prop-types';
3
7
  import { AnimationInterface } from './AnimationInterface';
@@ -85,5 +89,5 @@ export declare class AnimationChild extends React.Component<AnimationChildProps,
85
89
  /**
86
90
  * @hidden
87
91
  */
88
- render(): JSX.Element;
92
+ render(): import("react/jsx-runtime").JSX.Element;
89
93
  }
@@ -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 { AnimationChild } from './AnimationChild';
3
6
  /**
4
7
  * The arguments that are passed to the life-cycle hooks.
@@ -1,3 +1,7 @@
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
+ *-------------------------------------------------------------------------------------------*/
1
5
  import * as React from 'react';
2
6
  import * as PropTypes from 'prop-types';
3
7
  import { AnimationInterface } from './AnimationInterface';
@@ -8,7 +12,7 @@ import { AnimationInterface } from './AnimationInterface';
8
12
  * * (Default) `vertical`&mdash;Expands the content from center to top and bottom, and vice-versa.
9
13
  * * `horizontal`&mdash;Expands the content from center to left and right, and vice-versa.
10
14
  */
11
- export declare type ExpandDirection = 'horizontal' | 'vertical';
15
+ export type ExpandDirection = 'horizontal' | 'vertical';
12
16
  /**
13
17
  * Represent the props of the [KendoReact Expand Animation component]({% slug animationtypes_animation %}#toc-expand).
14
18
  *
@@ -77,5 +81,5 @@ export declare class Expand extends React.Component<ExpandProps, {}> {
77
81
  /**
78
82
  * @hidden
79
83
  */
80
- render(): JSX.Element;
84
+ render(): import("react/jsx-runtime").JSX.Element;
81
85
  }
@@ -1,3 +1,7 @@
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
+ *-------------------------------------------------------------------------------------------*/
1
5
  import * as React from 'react';
2
6
  import * as PropTypes from 'prop-types';
3
7
  import { AnimationInterface } from './AnimationInterface';
@@ -63,5 +67,5 @@ export declare class Fade extends React.Component<FadeProps, {}> {
63
67
  /**
64
68
  * @hidden
65
69
  */
66
- render(): JSX.Element;
70
+ render(): import("react/jsx-runtime").JSX.Element;
67
71
  }
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.*
@@ -1,3 +1,7 @@
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
+ *-------------------------------------------------------------------------------------------*/
1
5
  import * as React from 'react';
2
6
  import * as PropTypes from 'prop-types';
3
7
  import { AnimationInterface } from './AnimationInterface';
@@ -10,7 +14,7 @@ import { AnimationInterface } from './AnimationInterface';
10
14
  * * `down`&mdash;Pushes the content from top to bottom.
11
15
  * * `left`&mdash;Pushes the content from right to left.
12
16
  */
13
- export declare type PushDirection = 'up' | 'down' | 'left' | 'right';
17
+ export type PushDirection = 'up' | 'down' | 'left' | 'right';
14
18
  /**
15
19
  * Represent the props of the [KendoReact Push Animation component]({% slug animationtypes_animation %}#toc-push).
16
20
  *
@@ -85,5 +89,5 @@ export declare class Push extends React.Component<PushProps, {}> {
85
89
  /**
86
90
  * @hidden
87
91
  */
88
- render(): JSX.Element;
92
+ render(): import("react/jsx-runtime").JSX.Element;
89
93
  }
@@ -1,3 +1,7 @@
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
+ *-------------------------------------------------------------------------------------------*/
1
5
  import * as React from 'react';
2
6
  import * as PropTypes from 'prop-types';
3
7
  import { AnimationInterface, AnimationEventArguments } from './AnimationInterface';
@@ -8,7 +12,7 @@ import { AnimationInterface, AnimationEventArguments } from './AnimationInterfac
8
12
  * * (Default) `vertical`&mdash;Reveals the height of the content.
9
13
  * * `horizontal`&mdash;Reveals the width of the content.
10
14
  */
11
- export declare type RevealDirection = 'horizontal' | 'vertical';
15
+ export type RevealDirection = 'horizontal' | 'vertical';
12
16
  /**
13
17
  * Represent the props of the [KendoReact Reveal Animation component]({% slug animationtypes_animation %}#toc-rveal).
14
18
  *
@@ -93,7 +97,7 @@ export declare class Reveal extends React.Component<RevealProps, RevealState> {
93
97
  /**
94
98
  * @hidden
95
99
  */
96
- render(): JSX.Element;
100
+ render(): import("react/jsx-runtime").JSX.Element;
97
101
  private componentWillEnter;
98
102
  private componentIsEntering;
99
103
  private componentWillExit;
@@ -1,3 +1,7 @@
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
+ *-------------------------------------------------------------------------------------------*/
1
5
  import * as React from 'react';
2
6
  import * as PropTypes from 'prop-types';
3
7
  import { AnimationInterface } from './AnimationInterface';
@@ -10,7 +14,7 @@ import { AnimationInterface } from './AnimationInterface';
10
14
  * * `left`&mdash;On showing, slides the content from right to left, and vice-versa.
11
15
  * * `right`&mdash;On showing, slides the content from left to right, and vice-versa.
12
16
  */
13
- export declare type SlideDirection = 'up' | 'down' | 'left' | 'right';
17
+ export type SlideDirection = 'up' | 'down' | 'left' | 'right';
14
18
  /**
15
19
  * Represent the props of the [KendoReact Slide Animation component]({% slug animationtypes_animation %}#toc-slide).
16
20
  *
@@ -79,5 +83,5 @@ export declare class Slide extends React.Component<SlideProps, {}> {
79
83
  /**
80
84
  * @hidden
81
85
  */
82
- render(): JSX.Element;
86
+ render(): import("react/jsx-runtime").JSX.Element;
83
87
  }
@@ -1,3 +1,7 @@
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
+ *-------------------------------------------------------------------------------------------*/
1
5
  import * as React from 'react';
2
6
  import * as PropTypes from 'prop-types';
3
7
  import { AnimationInterface } from './AnimationInterface';
@@ -8,7 +12,7 @@ import { AnimationInterface } from './AnimationInterface';
8
12
  * * (Default) `out`&mdash;Zooms the content from the outside to the inside.
9
13
  * * `in`&mdash;Zooms the content from the inside to the outside.
10
14
  */
11
- export declare type ZoomDirection = 'in' | 'out';
15
+ export type ZoomDirection = 'in' | 'out';
12
16
  /**
13
17
  * Represent the props of the [KendoReact Zoom Animation component]({% slug animationtypes_animation %}#toc-zoom).
14
18
  *
@@ -83,5 +87,5 @@ export declare class Zoom extends React.Component<ZoomProps, {}> {
83
87
  /**
84
88
  * @hidden
85
89
  */
86
- render(): JSX.Element;
90
+ render(): import("react/jsx-runtime").JSX.Element;
87
91
  }
@@ -1 +1,5 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("prop-types"),require("@progress/kendo-licensing"),require("react-dom"),require("react-transition-group")):"function"==typeof define&&define.amd?define(["react","prop-types","@progress/kendo-licensing","react-dom","react-transition-group"],t):"object"==typeof exports?exports.KendoReactAnimation=t(require("react"),require("prop-types"),require("@progress/kendo-licensing"),require("react-dom"),require("react-transition-group")):e.KendoReactAnimation=t(e.React,e.PropTypes,e.KendoLicensing,e.ReactDOM,e.ReactTransitionGroup)}(self,(function(e,t,n,r,o){return(()=>{"use strict";var i={134: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)}),i=this&&this.__assign||function(){return i=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},i.apply(this,arguments)},a=this&&this.__rest||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};Object.defineProperty(t,"__esModule",{value:!0}),t.Animation=void 0;var l=n(899),c=n(189),u=n(216),s=n(255),f=n(144),p=n(216),d=n(363),v=n(779).default.styles,h=function(e){function t(t){var n=e.call(this,t)||this;return(0,p.validatePackage)(d.packageMetadata),n}return o(t,e),t.prototype.render=function(){var e=this.props,t=e.id,n=e.style,r=e.children,o=e.component,c=e.className,p=e.childFactory,d=(e.stackChildren,e.componentChildStyle),h=e.componentChildClassName,m=a(e,["id","style","children","component","className","childFactory","stackChildren","componentChildStyle","componentChildClassName"]),g={id:t,style:n,component:o,childFactory:p,className:(0,u.classNames)(v["animation-container"],v["animation-container-relative"],c)},y=l.Children.map(r||null,(function(e){return l.createElement(s.AnimationChild,i({},m,{style:d,className:h}),e)}));return l.createElement(f.TransitionGroup,i({},g),y)},t.propTypes={children:c.oneOfType([c.arrayOf(c.node),c.node]),childFactory:c.any,className:c.string,component:c.string,id:c.string,style:c.any,transitionName:c.string.isRequired,appear:c.bool.isRequired,enter:c.bool.isRequired,exit:c.bool.isRequired,transitionEnterDuration:c.number.isRequired,transitionExitDuration:c.number.isRequired},t.defaultProps={component:"div"},t}(l.Component);t.Animation=h},255: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)}),i=this&&this.__assign||function(){return i=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},i.apply(this,arguments)},a=this&&this.__rest||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};Object.defineProperty(t,"__esModule",{value:!0}),t.AnimationChild=void 0;var l=n(899),c=n(189),u=n(216),s=n(144),f=n(779).default.styles,p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.elementRef=l.createRef(),t}return o(t,e),Object.defineProperty(t.prototype,"element",{get:function(){return this.elementRef.current},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this,t=this.props,n=t.children,r=t.style,o=t.appear,c=t.enter,p=t.exit,d=t.transitionName,v=t.transitionEnterDuration,h=t.transitionExitDuration,m=t.className,g=t.onEnter,y=t.onEntering,b=t.onEntered,x=t.onExit,O=t.onExiting,E=t.onExited,C=t.onAfterExited,k=t.mountOnEnter,w=t.unmountOnExit,P=t.animationEnteringStyle,A=t.animationEnteredStyle,D=t.animationExitingStyle,j=t.animationExitedStyle,I=a(t,["children","style","appear","enter","exit","transitionName","transitionEnterDuration","transitionExitDuration","className","onEnter","onEntering","onEntered","onExit","onExiting","onExited","onAfterExited","mountOnEnter","unmountOnExit","animationEnteringStyle","animationEnteredStyle","animationExitingStyle","animationExitedStyle"]),S=(0,u.classNames)(m,f["child-animation-container"]),N=i({transitionDelay:"0ms"},r),T={entering:i({transitionDuration:"".concat(v,"ms")},P),entered:i({},A),exiting:i({transitionDuration:"".concat(h,"ms")},D),exited:i({},j)},R={in:this.props.in,appear:o,enter:c,exit:p,mountOnEnter:k,unmountOnExit:w,timeout:{enter:v,exit:h},onEnter:function(){g&&g.call(void 0,{animatedElement:e.element,target:e})},onEntering:function(){y&&y.call(void 0,{animatedElement:e.element,target:e})},onEntered:function(){b&&b.call(void 0,{animatedElement:e.element,target:e})},onExit:function(){x&&x.call(void 0,{animatedElement:e.element,target:e})},onExiting:function(){O&&O.call(void 0,{animatedElement:e.element,target:e})},onExited:function(){C&&C.call(void 0,{animatedElement:e.element,target:e}),E&&E.call(void 0,{animatedElement:e.element,target:e})},classNames:{appear:f["".concat(d,"-appear")]||"".concat(d,"-appear"),appearActive:f["".concat(d,"-appear-active")]||"".concat(d,"-appear-active"),enter:f["".concat(d,"-enter")]||"".concat(d,"-enter"),enterActive:f["".concat(d,"-enter-active")]||"".concat(d,"-enter-active"),exit:f["".concat(d,"-exit")]||"".concat(d,"-exit"),exitActive:f["".concat(d,"-exit-active")]||"".concat(d,"-exit-active")}};return l.createElement(s.CSSTransition,i({},R,I,{nodeRef:this.elementRef}),(function(t){return l.createElement("div",{style:i(i({},N),T[t]),className:S,ref:e.elementRef},n)}))},t.propTypes={in:c.bool,children:c.oneOfType([c.arrayOf(c.node),c.node]),transitionName:c.string.isRequired,className:c.string,appear:c.bool,enter:c.bool,exit:c.bool,transitionEnterDuration:c.number.isRequired,transitionExitDuration:c.number.isRequired,mountOnEnter:c.bool,unmountOnExit:c.bool,animationEnteringStyle:c.object,animationEnteredStyle:c.object,animationExitingStyle:c.object,animationExitedStyle:c.object},t.defaultProps={mountOnEnter:!0,unmountOnExit:!1,onEnter:u.noop,onEntering:u.noop,onEntered:u.noop,onExit:u.noop,onExiting:u.noop,onExited:u.noop,onAfterExited:u.noop,animationEnteringStyle:{},animationEnteredStyle:{},animationExitingStyle:{},animationExitedStyle:{}},t}(l.Component);t.AnimationChild=p},632: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)}),i=this&&this.__assign||function(){return i=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},i.apply(this,arguments)},a=this&&this.__rest||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};Object.defineProperty(t,"__esModule",{value:!0}),t.Expand=void 0;var l=n(899),c=n(189),u=n(134),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){var e=this.props,t=e.direction,n=e.children,r=a(e,["direction","children"]),o={transitionName:"expand-".concat(t)};return l.createElement(u.Animation,i({},o,r),n)},t.propTypes={children:c.oneOfType([c.arrayOf(c.node),c.node]),childFactory:c.any,className:c.string,direction:c.oneOf(["horizontal","vertical"]),component:c.string,id:c.string,style:c.any},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},t}(l.Component);t.Expand=s},767: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)}),i=this&&this.__assign||function(){return i=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},i.apply(this,arguments)},a=this&&this.__rest||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};Object.defineProperty(t,"__esModule",{value:!0}),t.Fade=void 0;var l=n(899),c=n(189),u=n(134),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=a(e,["children"]);return l.createElement(u.Animation,i({},{transitionName:"fade"},n),t)},t.propTypes={children:c.oneOfType([c.arrayOf(c.node),c.node]),childFactory:c.any,className:c.string,component:c.string,id:c.string,style:c.any},t.defaultProps={appear:!1,enter:!0,exit:!1,transitionEnterDuration:500,transitionExitDuration:500},t}(l.Component);t.Fade=s},540: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)}),i=this&&this.__assign||function(){return i=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},i.apply(this,arguments)},a=this&&this.__rest||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};Object.defineProperty(t,"__esModule",{value:!0}),t.Push=void 0;var l=n(899),c=n(189),u=n(134),s={position:"absolute",top:"0",left:"0"},f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.direction,r=a(e,["children","direction"]);return l.createElement(u.Animation,i({},r,{transitionName:"push-".concat(n),animationExitingStyle:this.props.stackChildren?s:void 0}),t)},t.propTypes={children:c.oneOfType([c.arrayOf(c.node),c.node]),childFactory:c.any,className:c.string,direction:c.oneOf(["up","down","left","right"]),component:c.string,id:c.string,style:c.any,stackChildren:c.bool},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"right",stackChildren:!1},t}(l.Component);t.Push=f},343: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)}),i=this&&this.__assign||function(){return i=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},i.apply(this,arguments)},a=this&&this.__rest||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};Object.defineProperty(t,"__esModule",{value:!0}),t.Reveal=void 0;var l=n(899),c=n(189),u=n(134),s=n(216),f=n(779),p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={maxHeight:void 0,maxWidth:void 0},t.componentWillEnter=function(e){var n=t.props,r=n.onEnter,o=n.onBeforeEnter;o&&o.call(void 0,e),t.updateContainerDimensions(e.animatedElement,(function(){r&&r.call(void 0,e)}))},t.componentIsEntering=function(e){var n=t.props.onEntering;t.updateContainerDimensions(e.animatedElement,(function(){n&&n.call(void 0,e)}))},t.componentWillExit=function(e){var n=t.props.onExit;t.updateContainerDimensions(e.animatedElement,(function(){n&&n.call(void 0,e)}))},t.updateContainerDimensions=function(e,n){void 0===n&&(n=s.noop);var r=e.firstChild;if(r){var o=f.default.outerHeight(r),i=f.default.outerWidth(r);t.setState({maxHeight:o,maxWidth:i},n)}},t}return o(t,e),t.prototype.render=function(){var e,t=this.props,n=t.direction,r=t.children,o=t.childFactory,c=a(t,["direction","children","childFactory"]),s=this.state,f=s.maxHeight,p=s.maxWidth,d={maxHeight:(e="vertical"===n?{maxHeight:f?"".concat(f,"px"):""}:{maxWidth:p?"".concat(p,"px"):""}).maxHeight,maxWidth:e.maxWidth};return l.createElement(u.Animation,i({},c,{childFactory:function(t){var n=o?o(t):t;return n.props.in?n:l.cloneElement(n,i(i({},n.props),{style:i(i({},n.props.style),{maxHeight:e.maxHeight,maxWidth:e.maxWidth})}))},onEnter:this.componentWillEnter,onEntering:this.componentIsEntering,onExit:this.componentWillExit,animationEnteringStyle:d,transitionName:"reveal-".concat(n)}),r)},t.propTypes={children:c.oneOfType([c.arrayOf(c.node),c.node]),childFactory:c.any,className:c.string,direction:c.oneOf(["horizontal","vertical"]),component:c.string,id:c.string,style:c.any},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},t}(l.Component);t.Reveal=p},652: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)}),i=this&&this.__assign||function(){return i=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},i.apply(this,arguments)},a=this&&this.__rest||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};Object.defineProperty(t,"__esModule",{value:!0}),t.Slide=void 0;var l=n(899),c=n(189),u=n(134),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){var e=this.props,t=e.direction,n=e.children,r=a(e,["direction","children"]),o={transitionName:"slide-".concat(t)};return l.createElement(u.Animation,i({},o,r),n)},t.propTypes={children:c.oneOfType([c.arrayOf(c.node),c.node]),childFactory:c.any,className:c.string,direction:c.oneOf(["up","down","left","right"]),component:c.string,id:c.string,style:c.any},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"down"},t}(l.Component);t.Slide=s},908: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)}),i=this&&this.__assign||function(){return i=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},i.apply(this,arguments)},a=this&&this.__rest||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};Object.defineProperty(t,"__esModule",{value:!0}),t.Zoom=void 0;var l=n(899),c=n(189),u=n(134),s={position:"absolute",top:"0",left:"0"},f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.direction,r=a(e,["children","direction"]);return l.createElement(u.Animation,i({},r,{transitionName:"zoom-".concat(n),animationExitingStyle:this.props.stackChildren?s:void 0}),t)},t.propTypes={children:c.oneOfType([c.arrayOf(c.node),c.node]),childFactory:c.any,className:c.string,direction:c.oneOf(["in","out"]),component:c.string,id:c.string,style:c.any,stackChildren:c.bool},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"out",stackChildren:!1},t}(l.Component);t.Zoom=f},399:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.useAnimation=void 0;var r=n(899);t.useAnimation=function(e,t){var n=r.useRef(0),o=r.useRef(!1),i=r.useRef();r.useEffect((function(){return function(e){var t,r=e.duration,o=n.current&&1-n.current;e.onStart&&e.onStart();var a=function(l){t||(t=l);var c=(l-t+1)/r+o;c<=1?(e.onUpdate&&e.onUpdate(c),i.current=window.requestAnimationFrame(a),n.current=c):(e.onEnd&&e.onEnd(1),n.current=0)};i.current=window.requestAnimationFrame(a)}(e),function(){i.current&&window.cancelAnimationFrame(i.current)}}),t),r.useEffect((function(){o.current=!0}),[])}},363:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata=void 0,t.packageMetadata={name:"@progress/kendo-react-animation",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1700059672,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"}},779:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});var n={outerHeight:function(e){if(!e||!e.ownerDocument.defaultView)return 0;var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop),r=parseFloat(t.marginBottom);return e.offsetHeight+n+r},outerWidth:function(e){if(!e||!e.ownerDocument.defaultView)return 0;var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginLeft),r=parseFloat(t.marginRight);return e.offsetWidth+n+r},styles:{"animation-container":"k-animation-container","animation-container-relative":"k-animation-container-relative","animation-container-fixed":"k-animation-container-fixed","push-right-enter":"k-push-right-enter","push-right-appear":"k-push-right-appear","push-right-enter-active":"k-push-right-enter-active","push-right-appear-active":"k-push-right-appear-active","push-right-exit":"k-push-right-exit","push-right-exit-active":"k-push-right-exit-active","push-left-enter":"k-push-left-enter","push-left-appear":"k-push-left-appear","push-left-enter-active":"k-push-left-enter-active","push-left-appear-active":"k-push-left-appear-active","push-left-exit":"k-push-left-exit","push-left-exit-active":"k-push-left-exit-active","push-down-enter":"k-push-down-enter","push-down-appear":"k-push-down-appear","push-down-enter-active":"k-push-down-enter-active","push-down-appear-active":"k-push-down-appear-active","push-down-exit":"k-push-down-exit","push-down-exit-active":"k-push-down-exit-active","push-up-enter":"k-push-up-enter","push-up-appear":"k-push-up-appear","push-up-enter-active":"k-push-up-enter-active","push-up-appear-active":"k-push-up-appear-active","push-up-exit":"k-push-up-exit","push-up-exit-active":"k-push-up-exit-active",expand:"k-expand","expand-vertical-enter":"k-expand-vertical-enter","expand-vertical-appear":"k-expand-vertical-appear","expand-vertical-enter-active":"k-expand-vertical-enter-active","expand-vertical-appear-active":"k-expand-vertical-appear-active","expand-vertical-exit":"k-expand-vertical-exit","expand-vertical-exit-active":"k-expand-vertical-exit-active","expand-horizontal-enter":"k-expand-horizontal-enter","expand-horizontal-appear":"k-expand-horizontal-appear","expand-horizontal-enter-active":"k-expand-horizontal-enter-active","expand-horizontal-appear-active":"k-expand-horizontal-appear-active","expand-horizontal-exit":"k-expand-horizontal-exit","expand-horizontal-exit-active":"k-expand-horizontal-exit-active","child-animation-container":"k-child-animation-container","fade-enter":"k-fade-enter","fade-appear":"k-fade-appear","fade-enter-active":"k-fade-enter-active","fade-appear-active":"k-fade-appear-active","fade-exit":"k-fade-exit","fade-exit-active":"k-fade-exit-active","zoom-in-enter":"k-zoom-in-enter","zoom-in-appear":"k-zoom-in-appear","zoom-in-enter-active":"k-zoom-in-enter-active","zoom-in-appear-active":"k-zoom-in-appear-active","zoom-in-exit":"k-zoom-in-exit","zoom-in-exit-active":"k-zoom-in-exit-active","zoom-out-enter":"k-zoom-out-enter","zoom-out-appear":"k-zoom-out-appear","zoom-out-enter-active":"k-zoom-out-enter-active","zoom-out-appear-active":"k-zoom-out-appear-active","zoom-out-exit":"k-zoom-out-exit","zoom-out-exit-active":"k-zoom-out-exit-active","slide-in-appear":"k-slide-in-appear",centered:"k-centered","slide-in-appear-active":"k-slide-in-appear-active","slide-down-enter":"k-slide-down-enter","slide-down-appear":"k-slide-down-appear","slide-down-enter-active":"k-slide-down-enter-active","slide-down-appear-active":"k-slide-down-appear-active","slide-down-exit":"k-slide-down-exit","slide-down-exit-active":"k-slide-down-exit-active","slide-up-enter":"k-slide-up-enter","slide-up-appear":"k-slide-up-appear","slide-up-enter-active":"k-slide-up-enter-active","slide-up-appear-active":"k-slide-up-appear-active","slide-up-exit":"k-slide-up-exit","slide-up-exit-active":"k-slide-up-exit-active","slide-right-enter":"k-slide-right-enter","slide-right-appear":"k-slide-right-appear","slide-right-enter-active":"k-slide-right-enter-active","slide-right-appear-active":"k-slide-right-appear-active","slide-right-exit":"k-slide-right-exit","slide-right-exit-active":"k-slide-right-exit-active","slide-left-enter":"k-slide-left-enter","slide-left-appear":"k-slide-left-appear","slide-left-enter-active":"k-slide-left-enter-active","slide-left-appear-active":"k-slide-left-appear-active","slide-left-exit":"k-slide-left-exit","slide-left-exit-active":"k-slide-left-exit-active","reveal-vertical-enter":"k-reveal-vertical-enter","reveal-vertical-appear":"k-reveal-vertical-appear","reveal-vertical-enter-active":"k-reveal-vertical-enter-active","reveal-vertical-appear-active":"k-reveal-vertical-appear-active","reveal-vertical-exit":"k-reveal-vertical-exit","reveal-vertical-exit-active":"k-reveal-vertical-exit-active","reveal-horizontal-enter":"k-reveal-horizontal-enter","reveal-horizontal-appear":"k-reveal-horizontal-appear","reveal-horizontal-enter-active":"k-reveal-horizontal-enter-active","reveal-horizontal-appear-active":"k-reveal-horizontal-appear-active","reveal-horizontal-exit":"k-reveal-horizontal-exit","reveal-horizontal-exit-active":"k-reveal-horizontal-exit-active"}};t.default=n},216:(e,t,n)=>{n.r(t),n.d(t,{AsyncFocusBlur:()=>Z,BrowserSupportService:()=>c,COLLECTION_ACTION:()=>ie,DragAndDrop:()=>Xe,Draggable:()=>tt,Droppable:()=>rt,FOCUSABLE_ELEMENTS:()=>lt,FormComponent:()=>y,Icon:()=>ge,IconWrap:()=>ke,IconsContext:()=>Ee,Keys:()=>w,Navigation:()=>ct,SortedPublicItemIds:()=>vt,SvgIcon:()=>xe,TreeFieldsService:()=>dt,Typography:()=>Me,WatermarkOverlay:()=>W,ZIndexContext:()=>i,addItem:()=>Bt,areAllDirectChildrenChecked:()=>Ft,canUseDOM:()=>u,canUseRef:()=>s,classNames:()=>f,clone:()=>d,cloneArray:()=>m,cloneDate:()=>p,cloneObject:()=>v,cloneValue:()=>h,createPropsContext:()=>te,dispatchEvent:()=>G,extendDataItem:()=>F,focusFirstFocusableChild:()=>g,getActiveElement:()=>st,getAllDirectIndirectChildrenIds:()=>Lt,getAllParents:()=>zt,getInnerActiveElement:()=>ut,getItemPath:()=>z,getNestedValue:()=>ft,getScrollbarWidth:()=>A,getTabIndex:()=>b,getter:()=>C,guid:()=>k,hasChildren:()=>St,hasRelativeStackingContext:()=>Q,isArray:()=>pt,isEnabledAndAllParentsEnabled:()=>_t,isItemExpandedAndWithChildren:()=>Nt,kendoThemeMaps:()=>ot,mapTree:()=>_,mapTreeItem:()=>L,memoizeOne:()=>at,noop:()=>P,removeItem:()=>Ht,resolveItemId:()=>Tt,resolveItemsIds:()=>Rt,setScrollbarWidth:()=>D,setter:()=>S,shouldShowValidationUI:()=>Y,svgIconPropType:()=>he,toIconClass:()=>ve,toIconName:()=>de,treeIdUtils:()=>r,updateItem:()=>Mt,useAsyncFocusBlur:()=>J,useCollection:()=>ce,useCustomComponent:()=>le,useDir:()=>re,useDocument:()=>ue,useDraggable:()=>et,useDroppable:()=>nt,useMouse:()=>ae,usePropsContext:()=>$,useRtl:()=>oe,useWindow:()=>se,useZIndexContext:()=>a,validatePackage:()=>X,withPropsContext:()=>ne});var r={};n.r(r),n.d(r,{EMPTY_ID:()=>ht,SEPARATOR:()=>gt,ZERO_LEVEL_ZERO_NODE_ID:()=>mt,createId:()=>Et,getAllShortIds:()=>Pt,getDecrementedItemIdAfterRemoval:()=>jt,getDirectParentId:()=>Ct,getFirstChildId:()=>Ot,getIdWithoutRootParentId:()=>xt,getItemById:()=>yt,getRootParentId:()=>bt,getShortId:()=>At,isIdEmptyOrZeroLevel:()=>kt,isIdZeroLevel:()=>wt,isItemFirstFromSiblings:()=>Dt});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(" ")},p=function(e){return e?new Date(e.getTime()):null};function d(e){var t={};return v(e,t),t}function v(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 m(e);if(e instanceof Date)return p(e);if(o.isValidElement(e))return o.cloneElement(e,e.props);if(e&&"object"==typeof e){var n=t||{};return v(e,n),n}return e}function m(e){return e.map((function(e){return h(e,void 0)}))}var g=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},x=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g;function O(e){var t=[];return e.replace(x,(function(e,n,r,o){t.push(void 0!==n?n:r||o)})),t}var E={};function C(e){if(E[e])return E[e];var t=O(e);return E[e]=function(e){for(var n=e,r=0;r<t.length&&n;r++)n=n[t[r]];return n},E[e]}E.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},P=function(){},A=function(){return!(!u||!document.body)&&(new c).scrollbarWidth},D=function(){if(!u||!document.body)return!1;var e=(new c).scrollbarWidth;document.body.style.setProperty("--kendo-scrollbar-width","".concat(e,"px"))},j={undefined:function(e){return e}},I=function(e,t){return t&&t.arrays&&!isNaN(Number(e))?[]:{}};function S(e){if(j[e])return j[e];var t=O(e);return j[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]]||I(t[a+1],r);o[t[i]]=n},j[e]}var N=function(){return N=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},N.apply(this,arguments)},T=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 R(e,t,n){var r;return n?N(N({},e),((r={})[t]=n.length?T([],n,!0):void 0,r)):e&&e[t]?T([],e[t],!0):[]}function M(e,t,n){if(e[t]){var r=R(e,t).map((function(e){return M(e,t,n)}));return n(R(e,t,r))}return n(e)}var _=function(e,t,n){return T([],e.map((function(e){return M(e,t,n)})),!0)},L=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||{})},z=function(e,t,n){var r=[],o=T([],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},H=n(302),B=["telerik.com","progress.com","stackblitz.io","csb.app"];function X(e){if(void 0!==H)H.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 Y(e){return!B.some((function(e){var t;return null===(t=globalThis.document)||void 0===t?void 0:t.location.hostname.endsWith(e)}))&&!(null==H?void 0:H.validatePackage(e))}var Q=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},U=n(994),K=!1,W=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,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')"}}),i&&U.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 q=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 J(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,q([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,q([void 0],e,!1)))}))}),[a,c,n,i]);return o.useEffect((function(){return function(){clearTimeout(l.current)}}),[]),{onFocus:u,onBlur:s}}var V=function(){return V=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},V.apply(this,arguments)},Z=function(e){var t=e.children,n=J({onFocus:e.onFocus,onBlur:e.onBlur,onSyncFocus:e.onSyncFocus,onSyncBlur:e.onSyncBlur});return o.createElement(o.Fragment,null,t.call(void 0,V({},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),pe={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"},de=function(e){return e.replace(/^k-i-/,"")},ve=function(e){return"k-i-"+e},he=fe.shape({name:fe.string.isRequired,content:fe.string.isRequired,viewBox:fe.string.isRequired}),me=function(){return me=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},me.apply(this,arguments)},ge=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,p=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"]),d=o.useRef(null),v=o.useRef(null);o.useImperativeHandle(d,(function(){return{element:v.current}})),o.useImperativeHandle(t,(function(){return d.current}));var h=o.useMemo((function(){return a||ye.size}),[a]),m=o.useMemo((function(){return l||ye.flip}),[l]),g=o.useMemo((function(){var e;return f("k-icon","k-font-icon",r&&ve(r),((e={})["k-color-".concat(i)]=i,e["k-flip-h"]="horizontal"===m||"both"===m,e["k-flip-v"]="vertical"===m||"both"===m,e),pe[h],n)}),[r,i,h,m,n]),y=ae(e,d);return o.createElement("span",me({ref:v},p,y,{className:g,id:u,tabIndex:s,style:c,role:"presentation"}))}));ge.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"};ge.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)},xe=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,p=e.style,d=e.svgStyle,v=e.themeColor,h=e.viewBox,m=(e.name,e.onClick),g=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:Oe.icon}),[a]),x=o.useMemo((function(){return s||Oe.size}),[s]),O=o.useMemo((function(){return l||Oe.flip}),[l]),E=o.useMemo((function(){return h||Oe.viewBox}),[h]),C=o.useMemo((function(){var e;return f("k-icon","k-svg-icon","k-svg-i-"+b,((e={})["k-color-".concat(v)]=v,e["k-flip-h"]="horizontal"===O||"both"===O,e["k-flip-v"]="vertical"===O||"both"===O,e),pe[x],r)}),[b,v,x,O,r]),k=o.useMemo((function(){return e.width&&e.height?be({width:e.width,height:e.height},p):e.width?be({width:e.width,height:e.width},p):e.height?be({width:e.height,height:e.height},p):be({},p)}),[e.width,e.height,p]);return o.createElement("span",{className:C,style:k,ref:y,onClick:m},o.createElement("svg",be({id:c,className:i,style:d,"aria-hidden":!0,tabIndex:u,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:a?a.viewBox:E,dangerouslySetInnerHTML:a?{__html:a.content}:void 0},g),a?void 0:n))}));xe.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 Oe={size:"default",flip:"default",icon:"",viewBox:"0 0 24 24"};xe.displayName="KendoSvgIcon";var Ee=o.createContext({type:"svg"});Ee.displayName="KendoReactIconsContext";var Ce=function(){return Ce=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},Ce.apply(this,arguments)},ke=o.forwardRef((function(e,t){var n,r,i=o.useContext(Ee),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(xe,Ce({},e,{icon:f,ref:t})):o.createElement(ge,Ce({},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"},Pe={light:"k-font-weight-light",normal:"k-font-weight-normal",bold:"k-font-weight-bold"},Ae={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"},De={xsmall:"xs",small:"sm",medium:"md",large:"lg",xlarge:"xl",thin:"thin",hair:"hair"},je={top:"k-mt-",right:"k-mr-",bottom:"k-mb-",left:"k-ml-"},Ie={left:"k-text-left",right:"k-text-right",center:"k-text-center",justify:"k-text-justify"},Se={lowercase:"k-text-lowercase",uppercase:"k-text-uppercase",capitalize:"k-text-capitalize"},Ne={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"},Te=function(){return Te=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},Te.apply(this,arguments)},Re=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,p=t.margin,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}(t,["id","style","className","fontSize","fontWeight","textAlign","textTransform","themeColor","margin"]),v=o.useRef(null),h=o.useRef(null);o.useImperativeHandle(v,(function(){return{element:h.current,props:t}})),o.useImperativeHandle(n,(function(){return v.current}));var m=e;return o.createElement(m,Te({id:r,ref:h,className:["k-".concat("p"===e?"paragraph":e),we[l],Pe[c],Ie[u],Se[s],Ne[f],function(){if(void 0!==p){if("string"==typeof p)return[Ae[p]];if("number"==typeof p&&p>=0&&p<=24)return["k-m-".concat(p)];if("object"==typeof p){var e=[];return Object.keys(p).forEach((function(t){var n,r,o;null!==p[t]&&void 0!==p[t]&&e.push((n=t,o="string"==typeof(r=p[t])?De[r]:r,"".concat(je[n]).concat(o)))})),e.join(" ")}}}(),a].filter((function(e){return void 0!==e})).join(" "),style:i},d),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},Me={h1:Re("h1"),h2:Re("h2"),h3:Re("h3"),h4:Re("h4"),h5:Re("h5"),h6:Re("h6"),p:Re("p"),code:Re("code"),pre:Re("pre")},_e=function(){return _e=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},_e.apply(this,arguments)},Le=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,_e(_e({},t),{value:e}))}),[n,a])]},Fe=o.createContext([void 0,P]),ze=o.createContext([void 0,P]),He=o.createContext([[],P,P]),Be=o.createContext([[],P,P]),Xe=function(e){var t=Le(null,void 0),n=t[0],r=t[1],i=Le(null,void 0),a=i[0],l=i[1],c=ce([]),u=c[0],s=c[1],f=ce([]),p=f[0],d=f[1];return o.createElement(Fe.Provider,{value:[n,r]},o.createElement(ze.Provider,{value:[a,l]},o.createElement(He.Provider,{value:[u,function(e){s({type:ie.add,item:e})},function(e){s({type:ie.remove,item:e})}]},o.createElement(Be.Provider,{value:[p,function(e){d({type:ie.add,item:e})},function(e){d({type:ie.remove,item:e})}]},e.children))))};Xe.displayName="KendoReactDragAndDrop";var Ye,Qe=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},Ue=function(e){return e&&e.ownerDocument||window.document},Ke=function(e){var t=Qe(),n=Ue(e);return t.edge||t.safari?n.body:n.documentElement},We=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&&!We(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"}(Ye||(Ye={}));var qe=function(){},Je=function(e,t,n){void 0===n&&(n={});var r,o,i,a,l,c=n.onIsPressedChange,u=void 0===c?qe:c,s=n.onIsScrollingChange,f=void 0===s?qe:s,p=n.onVelocityChange,d=void 0===p?qe:p,v=n.onOffsetChange,h=void 0===v?qe:v,m=n.onPageOffsetChange,g=void 0===m?qe:m,y=n.onClientOffsetChange,b=void 0===y?qe:y,x=n.onScrollOffsetChange,O=void 0===x?qe:x,E=n.onInitialScrollOffsetChange,C=void 0===E?qe:E,k=t.payload,w=k.element,P=k.hint,A=e.autoScrollDirection,D=e.scrollableParent,j=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(j.type){case Ye.POINTER_DOWN:if(j.type===Ye.POINTER_DOWN&&(!j.originalEvent.isPrimary||0!==j.originalEvent.button))break;case Ye.MOUSE_DOWN:if(j.type===Ye.MOUSE_DOWN&&j.originalEvent.which&&j.originalEvent.which>1||e.ignoreMouse)break;case Ye.TOUCH_START:if(j.type===Ye.TOUCH_START&&1!==j.originalEvent.touches.length)break;case Ye.START:var I=D||Ge(t.payload.element);C(I instanceof Window?{x:I.scrollX,y:I.scrollY}:{x:I.scrollLeft,y:I.scrollTop}),b({x:j.clientX,y:j.clientY}),g({x:j.pageX,y:j.pageY}),h({x:j.offsetX,y:j.offsetY}),u(!0),k.onPress&&k.onPress(j);break;case Ye.SCROLL:if(j.type===Ye.SCROLL&&!e.pressed)break;var S=D||Ge(w),N=S instanceof Window?{x:S.scrollX,y:S.scrollY}:{x:S.scrollLeft,y:S.scrollTop};j.scrollX=N.x-e.initialScrollOffset.x,j.scrollY=N.y-e.initialScrollOffset.y,O({x:j.scrollX,y:j.scrollY});case Ye.POINTER_MOVE:if(j.type===Ye.POINTER_MOVE&&!j.originalEvent.isPrimary)break;case Ye.MOUSE_MOVE:case Ye.TOUCH_MOVE:if(j.type===Ye.TOUCH_MOVE&&1!==j.originalEvent.touches.length)break;case Ye.MOVE:if(e.pressed){if(e.autoScroll&&"scroll"!==j.originalEvent.type&&w){var T=Ue(w),R=D||Ge(T.elementFromPoint(j.clientX,j.clientY)),M=(r=j.clientX,o=j.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}}(R,function(e){var t=Ue(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);d({x:A&&!1===A.horizontal?0:M.x,y:A&&!1===A.vertical?0:M.y}),f(0!==M.y||0!==M.x)}!e.drag&&k.onDragStart&&k.onDragStart(j),k.onDrag&&k.onDrag(j);var _=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,p=c*u;return Number((p/(s+f-p)).toFixed(4))}return 0}(e,t);o>n&&(n=o,r=t)}})),r}(P||w,e.drops.map((function(e){return e&&e.element})).filter((function(e){return e!==(P||w)}))),L=e.drops.find((function(e){return e.element===_}));L&&_&&function(e,t,n){var r=n.getBoundingClientRect();return r.top<=t&&r.left<=e&&t<=r.bottom&&e<=r.right}(j.clientX,j.clientY,D||Ge(_))&&_!==w?(e.drop&&e.drop.element)!==_?(e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(j),L.onDragEnter&&L.onDragEnter(j)):L.onDragOver&&L.onDragOver(j):e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(j)}b({x:j.clientX,y:j.clientY}),g({x:j.pageX,y:j.pageY});break;case Ye.POINTER_UP:if(j.type===Ye.POINTER_UP&&!j.originalEvent.isPrimary)break;case Ye.MOUSE_UP:case Ye.TOUCH_END:if(j.type===Ye.TOUCH_END&&1!==j.originalEvent.touches.length)break;case Ye.END:u(!1),f(!1),O({x:0,y:0}),k.onRelease&&k.onRelease(j),e.drop&&e.drop.onDrop&&e.drop.onDrop(j),e.drag&&k.onDragEnd&&k.onDragEnd(j);break;case Ye.POINTER_CANCEL:case Ye.CONTEXT_MENU:case Ye.TOUCH_CANCEL:case Ye.CANCEL:u(!1),f(!1),O({x:0,y:0}),k.onDragEnd&&k.onDragEnd(j),e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(j)}},Ve=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)}},Ze=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?P:r,a=t.onRelease,l=void 0===a?P:a,c=t.onDragStart,u=void 0===c?P:c,s=t.onDrag,f=void 0===s?P:s,p=t.onDragEnd,d=void 0===p?P:p,v=n.hint,h=void 0===v?null:v,m=n.mouseOnly,g=void 0!==m&&m,y=n.autoScroll,b=void 0===y||y,x=n.scrollContainer,O=void 0===x?null:x,E=o.useState(!1),C=E[0],k=E[1],w=o.useState(!1),A=w[0],D=w[1],j=Ze(ze)[0],I=Ze(Fe),S=I[0],N=I[1],T=o.useContext(Be)[0],R=o.useContext(He),M=R[0],_=R[1],L=R[2],F=o.useRef({x:0,y:0}),z=o.useRef(),H=o.useRef(!1),B=o.useRef(),X=o.useRef(null),Y=o.useRef(!1),Q=o.useRef({x:0,y:0}),U=o.useRef({x:0,y:0}),K=o.useRef({x:0,y:0}),W=o.useRef({x:0,y:0}),G=o.useRef({x:0,y:0}),q=o.useRef({x:0,y:0}),J=Boolean("undefined"!=typeof window&&window.PointerEvent),V=!g&&J,Z=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 O&&O.current&&O.current.element?O.current.element:O?O.current:null}),[O]),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:Z(),hint:$(),onPress:he,onDragStart:ge,onDrag:ye,onDragEnd:be,onRelease:me,data:e.current}}));var re=o.useCallback((function(){var e=Z();return e&&e.ownerDocument||document}),[Z]),oe=o.useCallback((function(){var e=re();return e&&e.defaultView||window}),[re]),ie=o.useCallback((function(){return{drag:S?S.current:null,drop:j?j.current:null,drags:M.map((function(e){return e.current})),drops:T.map((function(e){return e.current})),pressed:C,ignoreMouse:H.current,scrollOffset:G.current,offset:Q.current,pageOffset:U.current,initialScrollOffset:q.current,clientOffset:K.current,initialClientOffset:W.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:A}}),[S,j,M,T,C,b,te,A]),ae=o.useCallback((function(e){k(e)}),[]),le=o.useCallback((function(e){D(e)}),[]),ce=o.useCallback((function(e){F.current=e}),[]),ue=o.useCallback((function(e){Q.current=e}),[]),se=o.useCallback((function(e){K.current=e}),[]),fe=o.useCallback((function(e){U.current=e}),[]),pe=o.useCallback((function(e){W.current=e}),[]),de=o.useCallback((function(e){G.current=e}),[]),ve=o.useCallback((function(e){q.current=e}),[]),he=o.useCallback((function(e){i(e)}),[i]),me=o.useCallback((function(e){l(e)}),[l]),ge=o.useCallback((function(t){N(ne,{target:e.current,event:t}),u(t)}),[N,e,u]),ye=o.useCallback((function(e){f(e)}),[f]),be=o.useCallback((function(t){Y.current||(N(null,{target:e.current,event:t}),d(t))}),[d,N,e]),xe=o.useCallback((function(e){Je(ie(),{event:e,payload:ne.current},{onVelocityChange:ce,onOffsetChange:ue,onClientOffsetChange:se,onPageOffsetChange:fe,onInitialClientOffsetChange:pe,onScrollOffsetChange:de,onInitialScrollOffsetChange:ve,onIsPressedChange:ae,onIsScrollingChange:le})}),[ie,ce,ue,fe,se,pe,ve,ae,de,le]),Oe=o.useCallback((function(e){xe(e)}),[xe]),Ee=o.useCallback((function(e){xe(e)}),[xe]),Ce=o.useCallback((function(e){xe(e)}),[xe]),ke=o.useCallback((function(e){xe(e)}),[xe]),we=o.useCallback((function(e){xe(e)}),[xe]),Pe=o.useCallback((function(e){xe(e)}),[xe]),Ae=o.useCallback((function(e){xe(e)}),[xe]),De=o.useCallback((function(e){e.preventDefault(),xe(e)}),[xe]),je=o.useCallback((function(e){e.preventDefault(),xe(e)}),[xe]),Ie=o.useCallback((function(e){e.preventDefault(),xe(e)}),[xe]),Se=o.useCallback((function(e){if(0===e.touches.length&&1===e.changedTouches.length){var t=oe();H.current=!0,B.current=t.setTimeout((function(){H.current=!1}),$e)}xe(e)}),[xe,oe]),Ne=o.useCallback((function(e){xe(e)}),[xe]),Te=o.useCallback((function(){var e=Z();if(e){var t=e.style.touchAction;return e.style.touchAction="none",function(){e.style.touchAction=t}}}),[Z]),Re=o.useCallback((function(){return _(ne),function(){L(ne)}}),[L,_]);o.useEffect((function(){var e=oe();if(A){var t=ee()||Ge(document.elementFromPoint(K.current.x,K.current.y));e.clearInterval(z.current),z.current=e.setInterval((function(){Ve(t,{x:F.current.x,y:F.current.y})}),50)}return function(){e.clearInterval(z.current)}}),[Z,ee,oe,A]),o.useEffect(Te,[Te]),o.useEffect((function(){var e=oe(),t=Z(),n=re();return V?(t&&(X.current=Ge(t),X.current&&X.current.addEventListener("scroll",Ne,{passive:!0}),t.addEventListener("pointerdown",Oe,{passive:!0})),C&&(n.addEventListener("pointermove",Ee),n.addEventListener("pointerup",ke,!0),n.addEventListener("contextmenu",De),n.addEventListener("pointercancel",Ce,{passive:!0}))):(e.addEventListener("touchmove",P,{capture:!1,passive:!1}),t&&(t.addEventListener("mousedown",we,{passive:!0}),g||(t.addEventListener("touchstart",je,{passive:!0}),C&&(t.addEventListener("touchmove",Ie,{passive:!0}),t.addEventListener("touchend",Se,{passive:!0})))),C&&(n.addEventListener("mousemove",Pe,{passive:!0}),n.addEventListener("mouseup",Ae,{passive:!0}))),function(){X.current&&X.current.removeEventListener("scroll",Ne),t&&(t.removeEventListener("pointerdown",Oe),t.removeEventListener("mousedown",we),t.removeEventListener("touchstart",je),t.removeEventListener("touchmove",Ie),t.removeEventListener("touchend",Se)),n.removeEventListener("pointermove",Ee),n.removeEventListener("pointerup",ke,!0),n.removeEventListener("contextmenu",De),n.removeEventListener("pointercancel",Ce),n.removeEventListener("mousemove",Pe),n.removeEventListener("mouseup",Ae),e.removeEventListener("touchmove",P),e.clearTimeout(B.current)}}),[C,oe,Z,re,g,V,De,we,Pe,Ae,Ce,Oe,Ee,ke,Se,Ie,je,Ne]),o.useEffect((function(){return Y.current=!1,function(){Y.current=!0}}),[]),o.useLayoutEffect(Re,[Re])}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:P,onDragOver:P,onDragLeave:P,onDrop:P});var n=t.onDragEnter,r=void 0===n?P:n,i=t.onDragOver,a=void 0===i?P:i,l=t.onDragLeave,c=void 0===l?P:l,u=t.onDrop,s=void 0===u?P:u,f=Ze(ze)[1],p=o.useContext(Be),d=p[1],v=p[2],h=o.useCallback((function(){return e.current&&e.current.element?e.current.element:e.current}),[e]),m=o.useRef(null);o.useImperativeHandle(m,(function(){return{element:h(),onDragEnter:g,onDragOver:y,onDragLeave:b,onDrop:x,data:e.current}}));var g=o.useCallback((function(t){f(m,{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]),x=o.useCallback((function(t){f(null,{target:e.current,event:t}),s(t)}),[f,e,s]),O=o.useCallback((function(){return d(m),function(){v(m)}}),[v,d]);o.useLayoutEffect(O,[O])}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 pt(e){return void 0!==e.length}var dt=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}(),vt=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="",mt="0",gt="_";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(xt(e),o,n):void 0}function bt(e){return kt(e)?e:e.split(gt)[0]}function xt(e){if(kt(e))return e;var t=e.indexOf(gt);return e.substring(t+1)}function Ot(e){return Et("0",e)}function Et(e,t){return e=e.toString(),t?t+gt+e:e}function Ct(e){var t=e.lastIndexOf(gt);return t<0?ht:e.substring(0,t)}function kt(e){return e===ht||e.indexOf(gt)<0}function wt(e){return e!==ht&&e.indexOf(gt)<0}function Pt(e){return e.split(gt)}function At(e){var t=e.lastIndexOf(gt);return t<0?e:e.substring(t+1)}function Dt(e){return At(e)===mt}function jt(e,t){var n=t;t="r"+gt+t;var r=Ct(e="r"+gt+e)+gt;if(t.startsWith(r)){var o=t.substring(r.length);if(o){var i=bt(o);if(Number(At(e))<Number(i))return xt(r+(Number(i)-1).toString()+o.substring(i.length))}}return n}var It=function(){return It=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},It.apply(this,arguments)};function St(e,t){var n=ft(t,e);return Boolean(n&&n.length)}function Nt(e,t){return t.expanded(e)&&St(e,t.getChildrenField())}function Tt(e,t,n,r){var o=Rt([e],t,n,r);return o.length?o[0]:void 0}function Rt(e,t,n,r){var o=[],i=new vt;return i.init(e),Xt(i,t,n,ht,o,r),o}function Mt(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]=Mt(c[o],xt(t),n,r,o)),l}function _t(e,t,n){for(var r=Pt(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 Lt(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=Et(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):Et(r,t))>-1}))}function zt(e,t,n){for(var r=[],o=Pt(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 Ht(e,t,n){var r=n.slice();if(wt(e))r.splice(Number(e),1);else{var o=Number(bt(e)),i=r[o]=It({},r[o]);i[t]=Ht(xt(e),t,i[t])}return r}function Bt(e,t,n,r,o){var i=o.slice();if(wt(r))if("child"===t){var a=i[Number(r)]=It({},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]=It({},i[l]);c[n]=Bt(e,t,n,xt(r),c[n])}return i}function Xt(e,t,n,r,o,i){for(var a=0;a<n.length;a++){var l=n[a],c=Et(a,r);e.hasId(ft(t,l))&&o.push(c),St(l,i)&&Xt(e,t,ft(i,l),c,o,i)}}},302:e=>{e.exports=n},189:e=>{e.exports=t},899:t=>{t.exports=e},994:e=>{e.exports=r},144:e=>{e.exports=o}},a={};function l(e){var t=a[e];if(void 0!==t)return t.exports;var n=a[e]={exports:{}};return i[e].call(n.exports,n,n.exports,l),n.exports}l.d=(e,t)=>{for(var n in t)l.o(t,n)&&!l.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),l.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var c={};return(()=>{var e=c;Object.defineProperty(e,"__esModule",{value:!0}),e.useAnimation=e.Reveal=e.Zoom=e.Slide=e.Push=e.Expand=e.Fade=e.AnimationChild=e.Animation=void 0;var t=l(134);Object.defineProperty(e,"Animation",{enumerable:!0,get:function(){return t.Animation}});var n=l(255);Object.defineProperty(e,"AnimationChild",{enumerable:!0,get:function(){return n.AnimationChild}});var r=l(767);Object.defineProperty(e,"Fade",{enumerable:!0,get:function(){return r.Fade}});var o=l(632);Object.defineProperty(e,"Expand",{enumerable:!0,get:function(){return o.Expand}});var i=l(540);Object.defineProperty(e,"Push",{enumerable:!0,get:function(){return i.Push}});var a=l(652);Object.defineProperty(e,"Slide",{enumerable:!0,get:function(){return a.Slide}});var u=l(908);Object.defineProperty(e,"Zoom",{enumerable:!0,get:function(){return u.Zoom}});var s=l(343);Object.defineProperty(e,"Reveal",{enumerable:!0,get:function(){return s.Reveal}});var f=l(399);Object.defineProperty(e,"useAnimation",{enumerable:!0,get:function(){return f.useAnimation}})})(),c})()}));
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(p,y){typeof exports=="object"&&typeof module<"u"?y(exports,require("react"),require("prop-types"),require("@progress/kendo-react-common"),require("react-transition-group")):typeof define=="function"&&define.amd?define(["exports","react","prop-types","@progress/kendo-react-common","react-transition-group"],y):(p=typeof globalThis<"u"?globalThis:p||self,y(p.KendoReactAnimation={},p.React,p.PropTypes,p.KendoReactCommon,p.ReactTransitionGroup))})(this,function(p,y,R,d,b){"use strict";function C(a){const i=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(a){for(const t in a)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(a,t);Object.defineProperty(i,t,n.get?n:{enumerable:!0,get:()=>a[t]})}}return i.default=a,Object.freeze(i)}const r=C(y),e=C(R),k={outerHeight:a=>{if(!a||!a.ownerDocument.defaultView)return 0;const t=a.ownerDocument.defaultView.getComputedStyle(a),n=parseFloat(t.marginTop),s=parseFloat(t.marginBottom);return a.offsetHeight+n+s},outerWidth:a=>{if(!a||!a.ownerDocument.defaultView)return 0;const t=a.ownerDocument.defaultView.getComputedStyle(a),n=parseFloat(t.marginLeft),s=parseFloat(t.marginRight);return a.offsetWidth+n+s},styles:{"animation-container":"k-animation-container","animation-container-relative":"k-animation-container-relative","animation-container-fixed":"k-animation-container-fixed","push-right-enter":"k-push-right-enter","push-right-appear":"k-push-right-appear","push-right-enter-active":"k-push-right-enter-active","push-right-appear-active":"k-push-right-appear-active","push-right-exit":"k-push-right-exit","push-right-exit-active":"k-push-right-exit-active","push-left-enter":"k-push-left-enter","push-left-appear":"k-push-left-appear","push-left-enter-active":"k-push-left-enter-active","push-left-appear-active":"k-push-left-appear-active","push-left-exit":"k-push-left-exit","push-left-exit-active":"k-push-left-exit-active","push-down-enter":"k-push-down-enter","push-down-appear":"k-push-down-appear","push-down-enter-active":"k-push-down-enter-active","push-down-appear-active":"k-push-down-appear-active","push-down-exit":"k-push-down-exit","push-down-exit-active":"k-push-down-exit-active","push-up-enter":"k-push-up-enter","push-up-appear":"k-push-up-appear","push-up-enter-active":"k-push-up-enter-active","push-up-appear-active":"k-push-up-appear-active","push-up-exit":"k-push-up-exit","push-up-exit-active":"k-push-up-exit-active",expand:"k-expand","expand-vertical-enter":"k-expand-vertical-enter","expand-vertical-appear":"k-expand-vertical-appear","expand-vertical-enter-active":"k-expand-vertical-enter-active","expand-vertical-appear-active":"k-expand-vertical-appear-active","expand-vertical-exit":"k-expand-vertical-exit","expand-vertical-exit-active":"k-expand-vertical-exit-active","expand-horizontal-enter":"k-expand-horizontal-enter","expand-horizontal-appear":"k-expand-horizontal-appear","expand-horizontal-enter-active":"k-expand-horizontal-enter-active","expand-horizontal-appear-active":"k-expand-horizontal-appear-active","expand-horizontal-exit":"k-expand-horizontal-exit","expand-horizontal-exit-active":"k-expand-horizontal-exit-active","child-animation-container":"k-child-animation-container","fade-enter":"k-fade-enter","fade-appear":"k-fade-appear","fade-enter-active":"k-fade-enter-active","fade-appear-active":"k-fade-appear-active","fade-exit":"k-fade-exit","fade-exit-active":"k-fade-exit-active","zoom-in-enter":"k-zoom-in-enter","zoom-in-appear":"k-zoom-in-appear","zoom-in-enter-active":"k-zoom-in-enter-active","zoom-in-appear-active":"k-zoom-in-appear-active","zoom-in-exit":"k-zoom-in-exit","zoom-in-exit-active":"k-zoom-in-exit-active","zoom-out-enter":"k-zoom-out-enter","zoom-out-appear":"k-zoom-out-appear","zoom-out-enter-active":"k-zoom-out-enter-active","zoom-out-appear-active":"k-zoom-out-appear-active","zoom-out-exit":"k-zoom-out-exit","zoom-out-exit-active":"k-zoom-out-exit-active","slide-in-appear":"k-slide-in-appear",centered:"k-centered","slide-in-appear-active":"k-slide-in-appear-active","slide-down-enter":"k-slide-down-enter","slide-down-appear":"k-slide-down-appear","slide-down-enter-active":"k-slide-down-enter-active","slide-down-appear-active":"k-slide-down-appear-active","slide-down-exit":"k-slide-down-exit","slide-down-exit-active":"k-slide-down-exit-active","slide-up-enter":"k-slide-up-enter","slide-up-appear":"k-slide-up-appear","slide-up-enter-active":"k-slide-up-enter-active","slide-up-appear-active":"k-slide-up-appear-active","slide-up-exit":"k-slide-up-exit","slide-up-exit-active":"k-slide-up-exit-active","slide-right-enter":"k-slide-right-enter","slide-right-appear":"k-slide-right-appear","slide-right-enter-active":"k-slide-right-enter-active","slide-right-appear-active":"k-slide-right-appear-active","slide-right-exit":"k-slide-right-exit","slide-right-exit-active":"k-slide-right-exit-active","slide-left-enter":"k-slide-left-enter","slide-left-appear":"k-slide-left-appear","slide-left-enter-active":"k-slide-left-enter-active","slide-left-appear-active":"k-slide-left-appear-active","slide-left-exit":"k-slide-left-exit","slide-left-exit-active":"k-slide-left-exit-active","reveal-vertical-enter":"k-reveal-vertical-enter","reveal-vertical-appear":"k-reveal-vertical-appear","reveal-vertical-enter-active":"k-reveal-vertical-enter-active","reveal-vertical-appear-active":"k-reveal-vertical-appear-active","reveal-vertical-exit":"k-reveal-vertical-exit","reveal-vertical-exit-active":"k-reveal-vertical-exit-active","reveal-horizontal-enter":"k-reveal-horizontal-enter","reveal-horizontal-appear":"k-reveal-horizontal-appear","reveal-horizontal-enter-active":"k-reveal-horizontal-enter-active","reveal-horizontal-appear-active":"k-reveal-horizontal-appear-active","reveal-horizontal-exit":"k-reveal-horizontal-exit","reveal-horizontal-exit-active":"k-reveal-horizontal-exit-active"}},g=k.styles;class z extends r.Component{constructor(){super(...arguments),this.elementRef=r.createRef()}get element(){return this.elementRef.current}render(){const{children:i,style:t,appear:n,enter:s,exit:u,transitionName:o,transitionEnterDuration:c,transitionExitDuration:h,className:x,onEnter:v,onEntering:l,onEntered:E,onExit:f,onExiting:P,onExited:A,onAfterExited:F,mountOnEnter:j,unmountOnExit:_,animationEnteringStyle:M,animationEnteredStyle:K,animationExitingStyle:L,animationExitedStyle:U,...V}=this.props,B=d.classNames(x,g["child-animation-container"]),G={transitionDelay:"0ms",...t},X={entering:{transitionDuration:`${c}ms`,...M},entered:{...K},exiting:{transitionDuration:`${h}ms`,...L},exited:{...U}},Y={in:this.props.in,appear:n,enter:s,exit:u,mountOnEnter:j,unmountOnExit:_,timeout:{enter:c,exit:h},onEnter:()=>{v&&v.call(void 0,{animatedElement:this.element,target:this})},onEntering:()=>{l&&l.call(void 0,{animatedElement:this.element,target:this})},onEntered:()=>{E&&E.call(void 0,{animatedElement:this.element,target:this})},onExit:()=>{f&&f.call(void 0,{animatedElement:this.element,target:this})},onExiting:()=>{P&&P.call(void 0,{animatedElement:this.element,target:this})},onExited:()=>{F&&F.call(void 0,{animatedElement:this.element,target:this}),A&&A.call(void 0,{animatedElement:this.element,target:this})},classNames:{appear:g[`${o}-appear`]||`${o}-appear`,appearActive:g[`${o}-appear-active`]||`${o}-appear-active`,enter:g[`${o}-enter`]||`${o}-enter`,enterActive:g[`${o}-enter-active`]||`${o}-enter-active`,exit:g[`${o}-exit`]||`${o}-exit`,exitActive:g[`${o}-exit-active`]||`${o}-exit-active`}};return r.createElement(b.CSSTransition,{...Y,...V,nodeRef:this.elementRef},Z=>r.createElement("div",{style:{...G,...X[Z]},className:B,ref:this.elementRef},i))}}z.propTypes={in:e.bool,children:e.oneOfType([e.arrayOf(e.node),e.node]),transitionName:e.string.isRequired,className:e.string,appear:e.bool,enter:e.bool,exit:e.bool,transitionEnterDuration:e.number.isRequired,transitionExitDuration:e.number.isRequired,mountOnEnter:e.bool,unmountOnExit:e.bool,animationEnteringStyle:e.object,animationEnteredStyle:e.object,animationExitingStyle:e.object,animationExitedStyle:e.object},z.defaultProps={mountOnEnter:!0,unmountOnExit:!1,onEnter:d.noop,onEntering:d.noop,onEntered:d.noop,onExit:d.noop,onExiting:d.noop,onExited:d.noop,onAfterExited:d.noop,animationEnteringStyle:{},animationEnteredStyle:{},animationExitingStyle:{},animationExitedStyle:{}};const W={name:"@progress/kendo-react-animation",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:0,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/"},$=k.styles;class m extends r.Component{constructor(i){super(i),d.validatePackage(W)}render(){const{id:i,style:t,children:n,component:s,className:u,childFactory:o,stackChildren:c,componentChildStyle:h,componentChildClassName:x,...v}=this.props,l={id:i,style:t,component:s,childFactory:o,className:d.classNames($["animation-container"],$["animation-container-relative"],u)},E=r.Children.map(n||null,f=>r.createElement(z,{...v,style:h,className:x},f));return r.createElement(b.TransitionGroup,{...l},E)}}m.propTypes={children:e.oneOfType([e.arrayOf(e.node),e.node]),childFactory:e.any,className:e.string,component:e.string,id:e.string,style:e.any,transitionName:e.string.isRequired,appear:e.bool.isRequired,enter:e.bool.isRequired,exit:e.bool.isRequired,transitionEnterDuration:e.number.isRequired,transitionExitDuration:e.number.isRequired},m.defaultProps={component:"div"};class w extends r.Component{render(){const{children:i,...t}=this.props,n={transitionName:"fade"};return r.createElement(m,{...n,...t},i)}}w.propTypes={children:e.oneOfType([e.arrayOf(e.node),e.node]),childFactory:e.any,className:e.string,component:e.string,id:e.string,style:e.any},w.defaultProps={appear:!1,enter:!0,exit:!1,transitionEnterDuration:500,transitionExitDuration:500};class O extends r.Component{render(){const{direction:i,children:t,...n}=this.props,s={transitionName:`expand-${i}`};return r.createElement(m,{...s,...n},t)}}O.propTypes={children:e.oneOfType([e.arrayOf(e.node),e.node]),childFactory:e.any,className:e.string,direction:e.oneOf(["horizontal","vertical"]),component:e.string,id:e.string,style:e.any},O.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"};const q={position:"absolute",top:"0",left:"0"};class N extends r.Component{render(){const{children:i,direction:t,...n}=this.props;return r.createElement(m,{...n,transitionName:`push-${t}`,animationExitingStyle:this.props.stackChildren?q:void 0},i)}}N.propTypes={children:e.oneOfType([e.arrayOf(e.node),e.node]),childFactory:e.any,className:e.string,direction:e.oneOf(["up","down","left","right"]),component:e.string,id:e.string,style:e.any,stackChildren:e.bool},N.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"right",stackChildren:!1};class D extends r.Component{render(){const{direction:i,children:t,...n}=this.props,s={transitionName:`slide-${i}`};return r.createElement(m,{...s,...n},t)}}D.propTypes={children:e.oneOfType([e.arrayOf(e.node),e.node]),childFactory:e.any,className:e.string,direction:e.oneOf(["up","down","left","right"]),component:e.string,id:e.string,style:e.any},D.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"down"};const H={position:"absolute",top:"0",left:"0"};class S extends r.Component{render(){const{children:i,direction:t,...n}=this.props;return r.createElement(m,{...n,transitionName:`zoom-${t}`,animationExitingStyle:this.props.stackChildren?H:void 0},i)}}S.propTypes={children:e.oneOfType([e.arrayOf(e.node),e.node]),childFactory:e.any,className:e.string,direction:e.oneOf(["in","out"]),component:e.string,id:e.string,style:e.any,stackChildren:e.bool},S.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"out",stackChildren:!1};class T extends r.Component{constructor(){super(...arguments),this.state={maxHeight:void 0,maxWidth:void 0},this.componentWillEnter=i=>{const{onEnter:t,onBeforeEnter:n}=this.props;n&&n.call(void 0,i),this.updateContainerDimensions(i.animatedElement,()=>{t&&t.call(void 0,i)})},this.componentIsEntering=i=>{const{onEntering:t}=this.props;this.updateContainerDimensions(i.animatedElement,()=>{t&&t.call(void 0,i)})},this.componentWillExit=i=>{const{onExit:t}=this.props;this.updateContainerDimensions(i.animatedElement,()=>{t&&t.call(void 0,i)})},this.updateContainerDimensions=(i,t=d.noop)=>{const n=i.firstChild;if(n){const s=k.outerHeight(n),u=k.outerWidth(n);this.setState({maxHeight:s,maxWidth:u},t)}}}render(){const{direction:i,children:t,childFactory:n,...s}=this.props,{maxHeight:u,maxWidth:o}=this.state;let c;i==="vertical"?c={maxHeight:u?`${u}px`:""}:c={maxWidth:o?`${o}px`:""};const h={maxHeight:c.maxHeight,maxWidth:c.maxWidth},x=v=>{let l=n?n(v):v;return l.props.in?l:r.cloneElement(l,{...l.props,style:{...l.props.style,maxHeight:c.maxHeight,maxWidth:c.maxWidth}})};return r.createElement(m,{...s,childFactory:x,onEnter:this.componentWillEnter,onEntering:this.componentIsEntering,onExit:this.componentWillExit,animationEnteringStyle:h,transitionName:`reveal-${i}`},t)}}T.propTypes={children:e.oneOfType([e.arrayOf(e.node),e.node]),childFactory:e.any,className:e.string,direction:e.oneOf(["horizontal","vertical"]),component:e.string,id:e.string,style:e.any},T.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"};const I=(a,i)=>{const t=r.useRef(0),n=r.useRef(!1),s=r.useRef(),u=o=>{const c=o.duration;let h,x,v=t.current&&1-t.current;o.onStart&&o.onStart();const l=E=>{h||(h=E),x=E-h+1;const f=x/c+v;f<=1?(o.onUpdate&&o.onUpdate(f),s.current=window.requestAnimationFrame(l),t.current=f):(o.onEnd&&o.onEnd(1),t.current=0)};s.current=window.requestAnimationFrame(l)};r.useEffect(()=>(u(a),()=>{s.current&&window.cancelAnimationFrame(s.current)}),i),r.useEffect(()=>{n.current=!0},[])};p.Animation=m,p.AnimationChild=z,p.Expand=O,p.Fade=w,p.Push=N,p.Reveal=T,p.Slide=D,p.Zoom=S,p.useAnimation=I,Object.defineProperty(p,Symbol.toStringTag,{value:"Module"})});
@@ -0,0 +1,16 @@
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
+ /** @hidden */
7
+ export type AnimationConfig = {
8
+ initial?: React.CSSProperties;
9
+ duration?: number;
10
+ appear?: boolean;
11
+ onStart?: any;
12
+ onUpdate?: any;
13
+ onEnd?: any;
14
+ };
15
+ /** @hidden */
16
+ export declare const useAnimation: (config: AnimationConfig, deps: any[]) => void;
package/index.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 { Animation, type AnimationProps } from './Animation';
6
+ import { AnimationChild, type AnimationChildProps } from './AnimationChild';
7
+ import { Fade, type FadeProps } from './Fade';
8
+ import { Expand, type ExpandDirection, type ExpandProps } from './Expand';
9
+ import { Push, type PushDirection, type PushProps } from './Push';
10
+ import { Slide, type SlideDirection, type SlideProps } from './Slide';
11
+ import { Zoom, type ZoomDirection, type ZoomProps } from './Zoom';
12
+ import { Reveal, type RevealDirection, type RevealProps } from './Reveal';
13
+ import { useAnimation } from './hooks/useAnimation';
14
+ export { Animation, AnimationProps, AnimationChild, AnimationChildProps, Fade, FadeProps, Expand, ExpandProps, ExpandDirection, Push, PushProps, PushDirection, Slide, SlideProps, SlideDirection, Zoom, ZoomProps, ZoomDirection, Reveal, RevealProps, RevealDirection, useAnimation };
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 G=require("react"),V=require("prop-types"),c=require("@progress/kendo-react-common"),R=require("react-transition-group");function $(a){const i=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(a){for(const t in a)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(a,t);Object.defineProperty(i,t,n.get?n:{enumerable:!0,get:()=>a[t]})}}return i.default=a,Object.freeze(i)}const r=$(G),e=$(V),B=a=>{if(!a||!a.ownerDocument.defaultView)return 0;const t=a.ownerDocument.defaultView.getComputedStyle(a),n=parseFloat(t.marginTop),s=parseFloat(t.marginBottom);return a.offsetHeight+n+s},K=a=>{if(!a||!a.ownerDocument.defaultView)return 0;const t=a.ownerDocument.defaultView.getComputedStyle(a),n=parseFloat(t.marginLeft),s=parseFloat(t.marginRight);return a.offsetWidth+n+s},X={"animation-container":"k-animation-container","animation-container-relative":"k-animation-container-relative","animation-container-fixed":"k-animation-container-fixed","push-right-enter":"k-push-right-enter","push-right-appear":"k-push-right-appear","push-right-enter-active":"k-push-right-enter-active","push-right-appear-active":"k-push-right-appear-active","push-right-exit":"k-push-right-exit","push-right-exit-active":"k-push-right-exit-active","push-left-enter":"k-push-left-enter","push-left-appear":"k-push-left-appear","push-left-enter-active":"k-push-left-enter-active","push-left-appear-active":"k-push-left-appear-active","push-left-exit":"k-push-left-exit","push-left-exit-active":"k-push-left-exit-active","push-down-enter":"k-push-down-enter","push-down-appear":"k-push-down-appear","push-down-enter-active":"k-push-down-enter-active","push-down-appear-active":"k-push-down-appear-active","push-down-exit":"k-push-down-exit","push-down-exit-active":"k-push-down-exit-active","push-up-enter":"k-push-up-enter","push-up-appear":"k-push-up-appear","push-up-enter-active":"k-push-up-enter-active","push-up-appear-active":"k-push-up-appear-active","push-up-exit":"k-push-up-exit","push-up-exit-active":"k-push-up-exit-active",expand:"k-expand","expand-vertical-enter":"k-expand-vertical-enter","expand-vertical-appear":"k-expand-vertical-appear","expand-vertical-enter-active":"k-expand-vertical-enter-active","expand-vertical-appear-active":"k-expand-vertical-appear-active","expand-vertical-exit":"k-expand-vertical-exit","expand-vertical-exit-active":"k-expand-vertical-exit-active","expand-horizontal-enter":"k-expand-horizontal-enter","expand-horizontal-appear":"k-expand-horizontal-appear","expand-horizontal-enter-active":"k-expand-horizontal-enter-active","expand-horizontal-appear-active":"k-expand-horizontal-appear-active","expand-horizontal-exit":"k-expand-horizontal-exit","expand-horizontal-exit-active":"k-expand-horizontal-exit-active","child-animation-container":"k-child-animation-container","fade-enter":"k-fade-enter","fade-appear":"k-fade-appear","fade-enter-active":"k-fade-enter-active","fade-appear-active":"k-fade-appear-active","fade-exit":"k-fade-exit","fade-exit-active":"k-fade-exit-active","zoom-in-enter":"k-zoom-in-enter","zoom-in-appear":"k-zoom-in-appear","zoom-in-enter-active":"k-zoom-in-enter-active","zoom-in-appear-active":"k-zoom-in-appear-active","zoom-in-exit":"k-zoom-in-exit","zoom-in-exit-active":"k-zoom-in-exit-active","zoom-out-enter":"k-zoom-out-enter","zoom-out-appear":"k-zoom-out-appear","zoom-out-enter-active":"k-zoom-out-enter-active","zoom-out-appear-active":"k-zoom-out-appear-active","zoom-out-exit":"k-zoom-out-exit","zoom-out-exit-active":"k-zoom-out-exit-active","slide-in-appear":"k-slide-in-appear",centered:"k-centered","slide-in-appear-active":"k-slide-in-appear-active","slide-down-enter":"k-slide-down-enter","slide-down-appear":"k-slide-down-appear","slide-down-enter-active":"k-slide-down-enter-active","slide-down-appear-active":"k-slide-down-appear-active","slide-down-exit":"k-slide-down-exit","slide-down-exit-active":"k-slide-down-exit-active","slide-up-enter":"k-slide-up-enter","slide-up-appear":"k-slide-up-appear","slide-up-enter-active":"k-slide-up-enter-active","slide-up-appear-active":"k-slide-up-appear-active","slide-up-exit":"k-slide-up-exit","slide-up-exit-active":"k-slide-up-exit-active","slide-right-enter":"k-slide-right-enter","slide-right-appear":"k-slide-right-appear","slide-right-enter-active":"k-slide-right-enter-active","slide-right-appear-active":"k-slide-right-appear-active","slide-right-exit":"k-slide-right-exit","slide-right-exit-active":"k-slide-right-exit-active","slide-left-enter":"k-slide-left-enter","slide-left-appear":"k-slide-left-appear","slide-left-enter-active":"k-slide-left-enter-active","slide-left-appear-active":"k-slide-left-appear-active","slide-left-exit":"k-slide-left-exit","slide-left-exit-active":"k-slide-left-exit-active","reveal-vertical-enter":"k-reveal-vertical-enter","reveal-vertical-appear":"k-reveal-vertical-appear","reveal-vertical-enter-active":"k-reveal-vertical-enter-active","reveal-vertical-appear-active":"k-reveal-vertical-appear-active","reveal-vertical-exit":"k-reveal-vertical-exit","reveal-vertical-exit-active":"k-reveal-vertical-exit-active","reveal-horizontal-enter":"k-reveal-horizontal-enter","reveal-horizontal-appear":"k-reveal-horizontal-appear","reveal-horizontal-enter-active":"k-reveal-horizontal-enter-active","reveal-horizontal-appear-active":"k-reveal-horizontal-appear-active","reveal-horizontal-exit":"k-reveal-horizontal-exit","reveal-horizontal-exit-active":"k-reveal-horizontal-exit-active"},Y={outerHeight:B,outerWidth:K,styles:X},k=Y,g=k.styles;class E extends r.Component{constructor(){super(...arguments),this.elementRef=r.createRef()}get element(){return this.elementRef.current}render(){const{children:i,style:t,appear:n,enter:s,exit:d,transitionName:o,transitionEnterDuration:l,transitionExitDuration:u,className:v,onEnter:m,onEntering:p,onEntered:f,onExit:x,onExiting:D,onExited:S,onAfterExited:T,mountOnEnter:P,unmountOnExit:A,animationEnteringStyle:F,animationEnteredStyle:W,animationExitingStyle:q,animationExitedStyle:H,...I}=this.props,j=c.classNames(v,g["child-animation-container"]),_={transitionDelay:"0ms",...t},M={entering:{transitionDuration:`${l}ms`,...F},entered:{...W},exiting:{transitionDuration:`${u}ms`,...q},exited:{...H}},L={in:this.props.in,appear:n,enter:s,exit:d,mountOnEnter:P,unmountOnExit:A,timeout:{enter:l,exit:u},onEnter:()=>{m&&m.call(void 0,{animatedElement:this.element,target:this})},onEntering:()=>{p&&p.call(void 0,{animatedElement:this.element,target:this})},onEntered:()=>{f&&f.call(void 0,{animatedElement:this.element,target:this})},onExit:()=>{x&&x.call(void 0,{animatedElement:this.element,target:this})},onExiting:()=>{D&&D.call(void 0,{animatedElement:this.element,target:this})},onExited:()=>{T&&T.call(void 0,{animatedElement:this.element,target:this}),S&&S.call(void 0,{animatedElement:this.element,target:this})},classNames:{appear:g[`${o}-appear`]||`${o}-appear`,appearActive:g[`${o}-appear-active`]||`${o}-appear-active`,enter:g[`${o}-enter`]||`${o}-enter`,enterActive:g[`${o}-enter-active`]||`${o}-enter-active`,exit:g[`${o}-exit`]||`${o}-exit`,exitActive:g[`${o}-exit-active`]||`${o}-exit-active`}};return r.createElement(R.CSSTransition,{...L,...I,nodeRef:this.elementRef},U=>r.createElement("div",{style:{..._,...M[U]},className:j,ref:this.elementRef},i))}}E.propTypes={in:e.bool,children:e.oneOfType([e.arrayOf(e.node),e.node]),transitionName:e.string.isRequired,className:e.string,appear:e.bool,enter:e.bool,exit:e.bool,transitionEnterDuration:e.number.isRequired,transitionExitDuration:e.number.isRequired,mountOnEnter:e.bool,unmountOnExit:e.bool,animationEnteringStyle:e.object,animationEnteredStyle:e.object,animationExitingStyle:e.object,animationExitedStyle:e.object};E.defaultProps={mountOnEnter:!0,unmountOnExit:!1,onEnter:c.noop,onEntering:c.noop,onEntered:c.noop,onExit:c.noop,onExiting:c.noop,onExited:c.noop,onAfterExited:c.noop,animationEnteringStyle:{},animationEnteredStyle:{},animationExitingStyle:{},animationExitedStyle:{}};const Z={name:"@progress/kendo-react-animation",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:0,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/"},b=k.styles;class h extends r.Component{constructor(i){super(i),c.validatePackage(Z)}render(){const{id:i,style:t,children:n,component:s,className:d,childFactory:o,stackChildren:l,componentChildStyle:u,componentChildClassName:v,...m}=this.props,p={id:i,style:t,component:s,childFactory:o,className:c.classNames(b["animation-container"],b["animation-container-relative"],d)},f=r.Children.map(n||null,x=>r.createElement(E,{...m,style:u,className:v},x));return r.createElement(R.TransitionGroup,{...p},f)}}h.propTypes={children:e.oneOfType([e.arrayOf(e.node),e.node]),childFactory:e.any,className:e.string,component:e.string,id:e.string,style:e.any,transitionName:e.string.isRequired,appear:e.bool.isRequired,enter:e.bool.isRequired,exit:e.bool.isRequired,transitionEnterDuration:e.number.isRequired,transitionExitDuration:e.number.isRequired};h.defaultProps={component:"div"};class y extends r.Component{render(){const{children:i,...t}=this.props,n={transitionName:"fade"};return r.createElement(h,{...n,...t},i)}}y.propTypes={children:e.oneOfType([e.arrayOf(e.node),e.node]),childFactory:e.any,className:e.string,component:e.string,id:e.string,style:e.any};y.defaultProps={appear:!1,enter:!0,exit:!1,transitionEnterDuration:500,transitionExitDuration:500};class z extends r.Component{render(){const{direction:i,children:t,...n}=this.props,s={transitionName:`expand-${i}`};return r.createElement(h,{...s,...n},t)}}z.propTypes={children:e.oneOfType([e.arrayOf(e.node),e.node]),childFactory:e.any,className:e.string,direction:e.oneOf(["horizontal","vertical"]),component:e.string,id:e.string,style:e.any};z.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"};const J={position:"absolute",top:"0",left:"0"};class w extends r.Component{render(){const{children:i,direction:t,...n}=this.props;return r.createElement(h,{...n,transitionName:`push-${t}`,animationExitingStyle:this.props.stackChildren?J:void 0},i)}}w.propTypes={children:e.oneOfType([e.arrayOf(e.node),e.node]),childFactory:e.any,className:e.string,direction:e.oneOf(["up","down","left","right"]),component:e.string,id:e.string,style:e.any,stackChildren:e.bool};w.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"right",stackChildren:!1};class O extends r.Component{render(){const{direction:i,children:t,...n}=this.props,s={transitionName:`slide-${i}`};return r.createElement(h,{...s,...n},t)}}O.propTypes={children:e.oneOfType([e.arrayOf(e.node),e.node]),childFactory:e.any,className:e.string,direction:e.oneOf(["up","down","left","right"]),component:e.string,id:e.string,style:e.any};O.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"down"};const Q={position:"absolute",top:"0",left:"0"};class N extends r.Component{render(){const{children:i,direction:t,...n}=this.props;return r.createElement(h,{...n,transitionName:`zoom-${t}`,animationExitingStyle:this.props.stackChildren?Q:void 0},i)}}N.propTypes={children:e.oneOfType([e.arrayOf(e.node),e.node]),childFactory:e.any,className:e.string,direction:e.oneOf(["in","out"]),component:e.string,id:e.string,style:e.any,stackChildren:e.bool};N.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"out",stackChildren:!1};class C extends r.Component{constructor(){super(...arguments),this.state={maxHeight:void 0,maxWidth:void 0},this.componentWillEnter=i=>{const{onEnter:t,onBeforeEnter:n}=this.props;n&&n.call(void 0,i),this.updateContainerDimensions(i.animatedElement,()=>{t&&t.call(void 0,i)})},this.componentIsEntering=i=>{const{onEntering:t}=this.props;this.updateContainerDimensions(i.animatedElement,()=>{t&&t.call(void 0,i)})},this.componentWillExit=i=>{const{onExit:t}=this.props;this.updateContainerDimensions(i.animatedElement,()=>{t&&t.call(void 0,i)})},this.updateContainerDimensions=(i,t=c.noop)=>{const n=i.firstChild;if(n){const s=k.outerHeight(n),d=k.outerWidth(n);this.setState({maxHeight:s,maxWidth:d},t)}}}render(){const{direction:i,children:t,childFactory:n,...s}=this.props,{maxHeight:d,maxWidth:o}=this.state;let l;i==="vertical"?l={maxHeight:d?`${d}px`:""}:l={maxWidth:o?`${o}px`:""};const u={maxHeight:l.maxHeight,maxWidth:l.maxWidth},v=m=>{let p=n?n(m):m;return p.props.in?p:r.cloneElement(p,{...p.props,style:{...p.props.style,maxHeight:l.maxHeight,maxWidth:l.maxWidth}})};return r.createElement(h,{...s,childFactory:v,onEnter:this.componentWillEnter,onEntering:this.componentIsEntering,onExit:this.componentWillExit,animationEnteringStyle:u,transitionName:`reveal-${i}`},t)}}C.propTypes={children:e.oneOfType([e.arrayOf(e.node),e.node]),childFactory:e.any,className:e.string,direction:e.oneOf(["horizontal","vertical"]),component:e.string,id:e.string,style:e.any};C.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"};const ee=(a,i)=>{const t=r.useRef(0),n=r.useRef(!1),s=r.useRef(),d=o=>{const l=o.duration;let u,v,m=t.current&&1-t.current;o.onStart&&o.onStart();const p=f=>{u||(u=f),v=f-u+1;const x=v/l+m;x<=1?(o.onUpdate&&o.onUpdate(x),s.current=window.requestAnimationFrame(p),t.current=x):(o.onEnd&&o.onEnd(1),t.current=0)};s.current=window.requestAnimationFrame(p)};r.useEffect(()=>(d(a),()=>{s.current&&window.cancelAnimationFrame(s.current)}),i),r.useEffect(()=>{n.current=!0},[])};exports.Animation=h;exports.AnimationChild=E;exports.Expand=z;exports.Fade=y;exports.Push=w;exports.Reveal=C;exports.Slide=O;exports.Zoom=N;exports.useAnimation=ee;