@progress/kendo-react-popup 4.10.0 → 4.11.0-dev.202110282119
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.
|
@@ -1 +1 @@
|
|
|
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")):"function"==typeof define&&define.amd?define(["react","prop-types","@progress/kendo-licensing","react-dom"],t):"object"==typeof exports?exports.KendoReactPopup=t(require("react"),require("prop-types"),require("@progress/kendo-licensing"),require("react-dom")):e.KendoReactPopup=t(e.React,e.PropTypes,e.KendoLicensing,e.ReactDOM)}(window,(function(e,t,n,o){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=6)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(5),r=n(3);t.eitherRect=function(e,t){return e||{height:0,left:t.left,top:t.top,width:0}},t.replaceOffset=function(e,t){return t?{height:e.height,left:t.left,top:t.top,width:e.width}:e},t.removeStackingOffset=function(e,t){return t?{height:e.height,left:e.left-t.left,top:e.top-t.top,width:e.width}:e},t.isDifferentOffset=function(e,t){var n=e.left,o=e.top,r=t.left,i=t.top;return Math.abs(n-r)>=1||Math.abs(o-i)>=1},t.hasBoundingRect=function(e){return!!e.getBoundingClientRect},t.OVERFLOW_REGEXP=/auto|scroll/;var i=function(e){var t=window.getComputedStyle(e);return""+t.overflow+t.overflowX+t.overflowY};t.scrollableParents=function(e){var n=[];if(!r.canUseDOM)return n;for(var o=e.parentElement;o;)t.OVERFLOW_REGEXP.test(i(o))&&n.push(o),o=o.parentElement;return n.push(window),n},t.FRAME_DURATION=1e3/60,t.HAS_RELATIVE_STACKING_CONTEXT=r.hasRelativeStackingContext(),t.zIndex=function(e,t){if(!e||!r.canUseDOM)return null;var n=o.siblingContainer(e,t);if(!n)return null;var i=[e].concat(o.parents(e,n)).reduce((function(e,t){var n=t.style.zIndex||window.getComputedStyle(t).zIndex,o=parseInt(n,10);return o>e?o:e}),0);return i?i+1:null},t.CollisionType={fit:"fit",flip:"flip"},t.AlignPoint={left:"left",center:"center",right:"right",bottom:"bottom",top:"top"},t.throttle=function(e,t,n){var o,r,i,u;void 0===n&&(n={});var s=0;n=n||{};var l=function(){s=!1===n.leading?0:(new Date).getTime(),o=null,u=e.apply(r,i),o||(r=i=null)};return function(){var c=(new Date).getTime();s||!1!==n.leading||(s=c);var a=t-(c-s);return r=this,i=arguments,a<=0||a>t?(o&&(clearTimeout(o),o=null),s=c,u=e.apply(r,i),o||(r=i=null)):o||!1===n.trailing||(o=window.setTimeout(l,a)),u}}},function(e,t,n){"use strict";n.r(t),n.d(t,"BrowserSupportService",(function(){return r})),n.d(t,"canUseDOM",(function(){return i})),n.d(t,"canUseRef",(function(){return u})),n.d(t,"classNames",(function(){return s})),n.d(t,"cloneDate",(function(){return l})),n.d(t,"clone",(function(){return c})),n.d(t,"cloneObject",(function(){return a})),n.d(t,"cloneValue",(function(){return p})),n.d(t,"cloneArray",(function(){return f})),n.d(t,"Draggable",(function(){return M})),n.d(t,"focusFirstFocusableChild",(function(){return E})),n.d(t,"FormComponent",(function(){return S})),n.d(t,"getTabIndex",(function(){return T})),n.d(t,"getter",(function(){return D})),n.d(t,"guid",(function(){return z})),n.d(t,"Keys",(function(){return N})),n.d(t,"noop",(function(){return L})),n.d(t,"getScrollbarWidth",(function(){return I})),n.d(t,"setScrollbarWidth",(function(){return H})),n.d(t,"setter",(function(){return F})),n.d(t,"mapTree",(function(){return V})),n.d(t,"mapTreeItem",(function(){return X})),n.d(t,"extendDataItem",(function(){return Y})),n.d(t,"getItemPath",(function(){return q})),n.d(t,"validatePackage",(function(){return $})),n.d(t,"hasRelativeStackingContext",(function(){return Z})),n.d(t,"dispatchEvent",(function(){return J})),n.d(t,"AsyncFocusBlur",(function(){return te})),n.d(t,"useDir",(function(){return ne})),n.d(t,"useAsyncFocusBlur",(function(){return Q})),n.d(t,"useDraggable",(function(){return oe})),n.d(t,"useRtl",(function(){return re})),n.d(t,"useMouse",(function(){return ie})),n.d(t,"useCustomComponent",(function(){return ue})),n.d(t,"Icon",(function(){return ae})),n.d(t,"SvgIcon",(function(){return he})),n.d(t,"Typography",(function(){return Me}));var o=function(){return"undefined"!=typeof document?document:{}},r=function(){function e(){}return Object.defineProperty(e.prototype,"scrollbarWidth",{get:function(){var e=o();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=" ",e.body.appendChild(t),this.scrollbar=t.offsetWidth-t.scrollWidth,e.body.removeChild(t)}return this.scrollbar},enumerable:!0,configurable:!0}),e}(),i=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement),u=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))},s=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.filter((function(e){return!0!==e&&!!e})).map((function(e){return Array.isArray(e)?s.apply(void 0,e):"object"==typeof e?Object.keys(e).map((function(t,n){return e[n]||e[t]&&t||null})).filter((function(e){return null!==e})).join(" "):e})).filter((function(e){return!!e})).join(" ")},l=function(e){return e?new Date(e.getTime()):null};function c(e){var t={};return a(e,t),t}function a(e,t){for(var n in e)if(e.hasOwnProperty(n)){var o=e[n];t[n]=p(o,t[n])}}function p(e,t){if(Array.isArray(e))return f(e);if(e instanceof Date)return l(e);if(e&&"object"==typeof e){var n=t||{};return a(e,n),n}return e}function f(e){return e.map((function(e){return p(e,void 0)}))}var d=n(0),h=n(1),m=function(e,t){return function(n){return t(e(n))}},v=function(e,t,n){return e.addEventListener&&e.addEventListener(t,n)},g=function(e,t,n){return e&&e.removeEventListener&&e.removeEventListener(t,n)},y=function(){},w=function(e){return e.preventDefault()},b=/touch/;function O(e){return e.type.match(b)?{pageX:e.changedTouches[0].pageX,pageY:e.changedTouches[0].pageY,clientX:e.changedTouches[0].clientX,clientY:e.changedTouches[0].clientY,type:e.type,originalEvent:e,isTouch:!0}:{pageX:e.pageX,pageY:e.pageY,clientX:e.clientX,clientY:e.clientY,offsetX:e.offsetX,offsetY:e.offsetY,type:e.type,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,altKey:e.altKey,originalEvent:e}}var _=function(e){var t=this,n=e.press;void 0===n&&(n=y);var o=e.drag;void 0===o&&(o=y);var r=e.release;void 0===r&&(r=y);var i=e.mouseOnly;void 0===i&&(i=!1),this._pressHandler=m(O,n),this._dragHandler=m(O,o),this._releaseHandler=m(O,r),this._ignoreMouse=!1,this._mouseOnly=i,this._touchstart=function(e){1===e.touches.length&&t._pressHandler(e)},this._touchmove=function(e){1===e.touches.length&&t._dragHandler(e)},this._touchend=function(e){0===e.touches.length&&1===e.changedTouches.length&&(t._releaseHandler(e),t._ignoreMouse=!0,setTimeout(t._restoreMouse,2e3))},this._restoreMouse=function(){t._ignoreMouse=!1},this._mousedown=function(e){var n=e.which;n&&n>1||t._ignoreMouse||(v(t.document,"mousemove",t._mousemove),v(t.document,"mouseup",t._mouseup),t._pressHandler(e))},this._mousemove=function(e){t._dragHandler(e)},this._mouseup=function(e){g(t.document,"mousemove",t._mousemove),g(t.document,"mouseup",t._mouseup),t._releaseHandler(e)},this._pointerdown=function(e){e.isPrimary&&0===e.button&&(v(t.document,"pointermove",t._pointermove),v(t.document,"pointerup",t._pointerup),v(t.document,"pointercancel",t._pointerup),v(t.document,"contextmenu",w),t._pressHandler(e))},this._pointermove=function(e){e.isPrimary&&t._dragHandler(e)},this._pointerup=function(e){e.isPrimary&&(g(t.document,"pointermove",t._pointermove),g(t.document,"pointerup",t._pointerup),g(t.document,"pointercancel",t._pointerup),g(t.document,"contextmenu",w),t._releaseHandler(e))}},P={document:{configurable:!0}};_.supportPointerEvent=function(){return"undefined"!=typeof window&&window.PointerEvent},P.document.get=function(){return this._element?this._element.ownerDocument:document},_.prototype.bindTo=function(e){e!==this._element&&(this._element&&this._unbindFromCurrent(),this._element=e,this._bindToCurrent())},_.prototype._bindToCurrent=function(){var e=this._element;this._usePointers()?v(e,"pointerdown",this._pointerdown):(v(e,"mousedown",this._mousedown),this._mouseOnly||(v(e,"touchstart",this._touchstart),v(e,"touchmove",this._touchmove),v(e,"touchend",this._touchend)))},_.prototype._unbindFromCurrent=function(){var e=this._element;if(this._usePointers())return g(e,"pointerdown",this._pointerdown),g(this.document,"pointermove",this._pointermove),g(this.document,"pointerup",this._pointerup),g(this.document,"contextmenu",w),void g(this.document,"pointercancel",this._pointerup);g(e,"mousedown",this._mousedown),this._mouseOnly||(g(e,"touchstart",this._touchstart),g(e,"touchmove",this._touchmove),g(e,"touchend",this._touchend))},_.prototype._usePointers=function(){return!this._mouseOnly&&_.supportPointerEvent()},_.prototype.update=function(e){var t=e.press;void 0===t&&(t=y);var n=e.drag;void 0===n&&(n=y);var o=e.release;void 0===o&&(o=y);var r=e.mouseOnly;void 0===r&&(r=!1),this._pressHandler=m(O,t),this._dragHandler=m(O,n),this._releaseHandler=m(O,o),this._mouseOnly=r},_.prototype.destroy=function(){this._unbindFromCurrent(),this._element=null},Object.defineProperties(_.prototype,P),_.default=_;var k,x=_,C=(k=function(e,t){return(k=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}k(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),M=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.element=null,t.draggable=new x({press:function(e){t.element&&t.props.onPress&&t.props.onPress.call(void 0,{target:t,event:e,element:t.element})},drag:function(e){t.element&&t.props.onDrag&&t.props.onDrag.call(void 0,{target:t,event:e,element:t.element})},release:function(e){t.element&&t.props.onRelease&&t.props.onRelease.call(void 0,{target:t,event:e})}}),t.childRef=function(e){var n=t.props.childRef;t.element=e,n&&"function"==typeof n&&n(e)},t}return C(t,e),t.prototype.componentDidMount=function(){this.element&&this.draggable.bindTo(this.element)},t.prototype.componentWillUnmount=function(){this.draggable.destroy()},t.prototype.render=function(){return d.cloneElement(d.Children.only(this.props.children),{ref:this.childRef})},t.propTypes={children:h.element.isRequired},t}(d.Component),E=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()}},S=function(){},T=function(e,t,n){var o="string"==typeof e?parseInt(e,void 0):e;if(NaN!==o)return void 0!==o?o:t?n?void 0:-1:0},A=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g;function R(e){var t=[];return e.replace(A,(function(e,n,o,r){t.push(void 0!==n?n:o||r)})),t}var j={};function D(e){if(j[e])return j[e];var t=R(e);return j[e]=function(e){for(var n=e,o=0;o<t.length&&n;o++)n=n[t[o]];return n},j[e]}j.undefined=function(){};var z=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},N={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},L=function(){},I=function(){return!(!i||!document.body)&&(new r).scrollbarWidth},H=function(){if(!i||!document.body)return!1;var e=(new r).scrollbarWidth;document.body.style.setProperty("--kendo-scrollbar-width",e+"px")},B={undefined:function(e){return e}},W=function(e,t){return t&&t.arrays&&!isNaN(Number(e))?[]:{}};function F(e){if(B[e])return B[e];var t=R(e);return B[e]=function(e,n,o){for(var r=e,i=t.length-1,u=0;u<i&&r;u++)r=r[t[u]]=r[t[u]]||W(t[u+1],o);r[t[i]]=n},B[e]}var U=function(){return(U=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function K(e,t,n){var o;return n?U({},e,((o={})[t]=n.length?n.slice():void 0,o)):e&&e[t]?e[t].slice():[]}var V=function(e,t,n){return e.map((function(e){return function e(t,n,o){if(t[n]){var r=K(t,n).map((function(t){return e(t,n,o)}));return o(K(t,n,r))}return o(t)}(e,t,n)})).slice()},X=function(e,t,n,o){for(var r=e,i=[],u=0;u<t.length;u++)r=r[t[u]],r=Array.isArray(r)?r:r[n],i.push(r);var s=i.length>1?i[i.length-2]:e,l=t[t.length-1],c=o(s[l]);s.splice(l,1,c)},Y=function(e,t,n){var o;return Object.assign({},e,e[t]?((o={})[t]=e[t].slice(),o):{},n||{})},q=function(e,t,n){var o=[],r=t.slice();if(r.length){var i=e[r.shift()||0];for(o.push(i);r.length&&n;)i=i[n][r.shift()||0],o.push(i)}return o},G=n(4);function $(e){if(void 0!==G)G.validatePackage(e);else{var t="License activation failed for "+e.name+"\n";t+="The @progress/kendo-licensing script is not loaded.\n",t+="See "+e.licensingDocsUrl+" for more information.\n",console.warn(t)}}var Z=function(e){if(!i)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)",n.innerHTML='<div style="position: fixed; top: 10px;">child</div>',t.body.appendChild(n);var o=10!==n.children[0].getBoundingClientRect().top;return t.body.removeChild(n),o};function J(e,t,n,o){if(e){var r={syntheticEvent:t,nativeEvent:t.nativeEvent,target:n};e.call(void 0,Object.assign(r,o))}}function Q(e){var t=e.onFocus,n=e.onBlur,o=e.onSyncFocus,r=e.onSyncBlur,i=d.useRef(!1),u=d.useRef(0),s=d.useCallback((function(e){clearTimeout(u.current),u.current=window.setTimeout((function(){return e()}))}),[u]),l=d.useCallback((function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];clearTimeout(u.current),o&&o.call.apply(o,[void 0].concat(e)),i.current||(i.current=!0,t&&t.call.apply(t,[void 0].concat(e)))}),[i,t,o]),c=d.useCallback((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];r&&r.call.apply(r,[void 0].concat(e)),s((function(){i.current&&n&&(i.current=!1,n.call.apply(n,[void 0].concat(e)))}))}),[i,s,n,r]);return d.useEffect((function(){return function(){clearTimeout(u.current)}}),[]),{onFocus:l,onBlur:c}}var ee=function(){return(ee=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},te=function(e){var t=e.children,n=Q({onFocus:e.onFocus,onBlur:e.onBlur,onSyncFocus:e.onSyncFocus,onSyncBlur:e.onSyncBlur});return t.call(void 0,ee({},n))};function ne(e,t,n){var o=d.useState(t),r=o[0],i=o[1];return d.useEffect((function(){if(!r&&window&&e.current){var t=window.getComputedStyle(e.current).direction;t&&i(t)}}),n),r}function oe(e,t){var n=t.onPress,o=t.onDrag,r=t.onRelease,i=d.useMemo((function(){return new x({press:n,drag:o,release:r})}),[]);d.useEffect((function(){var t=e.current;if(t)return i.bindTo(t),function(){i.destroy()}}),[]),d.useEffect((function(){i.update({press:n,drag:o,release:r})}),[n,o,r])}function re(e,t,n){var o=d.useState(t),r=o[0],i=o[1];return d.useEffect((function(){if(!r&&window&&e.current){var t=window.getComputedStyle(e.current).direction;t&&i(t)}}),n),r}var ie=function(e,t,n){void 0===n&&(n={});var o=d.useCallback((function(o){n.onMouseDown&&n.onMouseDown.call(void 0,o),e.onMouseDown&&e.onMouseDown.call(void 0,{target:t.current,syntheticEvent:o})}),[n.onMouseDown,e.onMouseDown,t]),r=d.useCallback((function(o){n.onMouseUp&&n.onMouseUp.call(void 0,o),e.onMouseUp&&e.onMouseUp.call(void 0,{target:t.current,syntheticEvent:o})}),[n.onMouseUp,e.onMouseUp,t]);return{onClick:d.useCallback((function(o){n.onClick&&n.onClick.call(void 0,o),e.onClick&&e.onClick.call(void 0,{target:t.current,syntheticEvent:o})}),[n.onClick,e.onClick,t]),onMouseUp:r,onMouseDown:o,onDoubleClick:d.useCallback((function(o){n.onDoubleClick&&n.onDoubleClick.call(void 0,o),e.onDoubleClick&&e.onDoubleClick.call(void 0,{target:t.current,syntheticEvent:o})}),[n.onDoubleClick,e.onDoubleClick,t]),onMouseEnter:d.useCallback((function(o){n.onMouseEnter&&n.onMouseEnter.call(void 0,o),e.onMouseEnter&&e.onMouseEnter.call(void 0,{target:t.current,syntheticEvent:o})}),[n.onMouseEnter,e.onMouseEnter,t]),onMouseLeave:d.useCallback((function(o){n.onMouseLeave&&n.onMouseLeave.call(void 0,o),e.onMouseLeave&&e.onMouseLeave.call(void 0,{target:t.current,syntheticEvent:o})}),[n.onMouseLeave,e.onMouseLeave,t]),onMouseMove:d.useCallback((function(o){n.onMouseMove&&n.onMouseMove.call(void 0,o),e.onMouseMove&&e.onMouseMove.call(void 0,{target:t.current,syntheticEvent:o})}),[n.onMouseMove,e.onMouseMove,t]),onMouseOut:d.useCallback((function(o){n.onMouseOut&&n.onMouseOut.call(void 0,o),e.onMouseOut&&e.onMouseOut.call(void 0,{target:t.current,syntheticEvent:o})}),[n.onMouseOut,e.onMouseOut,t]),onMouseOver:d.useCallback((function(o){n.onMouseOver&&n.onMouseOver.call(void 0,o),e.onMouseOver&&e.onMouseOver.call(void 0,{target:t.current,syntheticEvent:o})}),[n.onMouseOver,e.onMouseOver,t])}},ue=function(e){return d.isValidElement(e)?[e.type,e.props]:[e,{}]},se={default:"",xsmall:"k-icon-xs",small:"k-icon-sm",medium:"k-icon-md",large:"k-icon-lg",xlarge:"k-icon-xl"},le=function(){return(le=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},ce=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&(n[o[r]]=e[o[r]])}return n},ae=d.forwardRef((function(e,t){var n=e.className,o=e.name,r=e.themeColor,i=e.size,u=e.flip,l=e.style,c=ce(e,["className","name","themeColor","size","flip","style"]),a=d.useRef(null),p=d.useRef(null);d.useImperativeHandle(a,(function(){return{element:p.current}})),d.useImperativeHandle(t,(function(){return a.current}));var f=d.useMemo((function(){return r||pe.themeColor}),[r]),h=d.useMemo((function(){return i||pe.size}),[i]),m=d.useMemo((function(){return u||pe.flip}),[u]),v=d.useMemo((function(){return s("k-icon","k-i-"+o,"k-color-"+f,{"k-flip-h":"horizontal"===m||"both"===m,"k-flip-v":"vertical"===m||"both"===m},se[h],n)}),[o,f,h,m,n]),g=ie(e,a);return d.createElement("span",le({ref:p},c,g,{className:v,style:l,role:"presentation"}))}));ae.propTypes={style:h.object,classNames:h.string,name:h.string,themeColor:h.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"]),size:h.oneOf(["default","xsmall","small","medium","large","xlarge"]),flip:h.oneOf(["default","horizontal","vertical","both"])};var pe={size:"default",themeColor:"inherit",flip:"default"};ae.displayName="KendoIcon";var fe=function(){return(fe=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},de=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&(n[o[r]]=e[o[r]])}return n},he=d.forwardRef((function(e,t){var n=e.children,o=e.className,r=e.svgClassName,i=e.icon,u=e.flip,l=e.size,c=e.style,a=e.svgStyle,p=e.themeColor,f=e.viewBox,h=de(e,["children","className","svgClassName","icon","flip","size","style","svgStyle","themeColor","viewBox"]),m=d.useRef(null);d.useImperativeHandle(t,(function(){return{element:m.current}}));var v=d.useMemo((function(){return i?i.name:me.icon}),[i]),g=d.useMemo((function(){return p||me.themeColor}),[p]),y=d.useMemo((function(){return l||me.size}),[l]),w=d.useMemo((function(){return u||me.flip}),[u]),b=d.useMemo((function(){return f||me.viewBox}),[f]),O=d.useMemo((function(){return s("k-svg-icon","k-color-"+g,"k-svg-i-"+v,{"k-flip-h":"horizontal"===w||"both"===w,"k-flip-v":"vertical"===w||"both"===w},se[y],o)}),[v,g,y,w,o]),_=d.useMemo((function(){return e.width&&e.height?fe({width:e.width,height:e.height},c):e.width?fe({width:e.width,height:e.width},c):e.height?fe({width:e.height,height:e.height},c):fe({},c)}),[e.width,e.height,c]);return d.createElement("span",{className:O,style:_,ref:m},d.createElement("svg",fe({className:r,style:a,"aria-hidden":!0,focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:i?i.viewBox:b,dangerouslySetInnerHTML:i?{__html:i.content}:void 0},h),i?void 0:n))}));he.propTypes={style:h.object,classNames:h.string,children:h.any,icon:h.object,themeColor:h.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"]),size:h.oneOf(["default","xsmall","small","medium","large","xlarge"]),flip:h.oneOf(["default","horizontal","vertical","both"])};var me={size:"default",themeColor:"inherit",flip:"default",icon:"",viewBox:"0 0 24 24"};he.displayName="KendoSvgIcon";var ve={xsmall:"k-fs-xs",small:"k-fs-sm",medium:"k-fs-md",large:"k-fs-lg",xlarge:"k-fs-xl"},ge={light:"k-font-weight-light",normal:"k-font-weight-normal",bold:"k-font-weight-bold"},ye={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"},we={xsmall:"xs",small:"sm",medium:"md",large:"lg",xlarge:"xl",thin:"thin",hair:"hair"},be={top:"k-mt-",right:"k-mr-",bottom:"k-mb-",left:"k-ml-"},Oe={left:"k-text-left",right:"k-text-right",center:"k-text-center",justify:"k-text-justify"},_e={lowercase:"k-text-lowercase",uppercase:"k-text-uppercase",capitalize:"k-text-capitalize"},Pe={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"},ke=function(){return(ke=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},xe=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&(n[o[r]]=e[o[r]])}return n},Ce=function(e){var t=d.forwardRef((function(t,n){var o=t.className,r=t.fontSize,i=t.fontWeight,u=t.textAlign,s=t.textTransform,l=t.themeColor,c=t.margin,a=xe(t,["className","fontSize","fontWeight","textAlign","textTransform","themeColor","margin"]),p=d.useRef(null),f=d.useRef(null);d.useImperativeHandle(p,(function(){return{element:f.current,props:t}})),d.useImperativeHandle(n,(function(){return p.current}));var h=e,m=function(){if(void 0!==c){if("string"==typeof c)return[ye[c]];if("number"==typeof c&&c>=0&&c<=24)return["k-m-"+c];if("object"==typeof c){var e=[];return Object.keys(c).forEach((function(t){var n,o;null!==c[t]&&void 0!==c[t]&&e.push((n=t,o=c[t],""+be[n]+("string"==typeof o?we[o]:o)))})),e.join(" ")}}};return d.createElement(h,ke({ref:f,className:["k-"+("p"===e?"paragraph":e),ve[r],ge[i],Oe[u],_e[s],Pe[l],m(),o].filter((function(e){return void 0!==e})).join(" ")},a),t.children)}));return t.propTypes={style:h.object,className:h.string,fontSize:h.oneOf(["xsmall","small","medium","large","xlarge"]),fontWeight:h.oneOf(["light","normal","bold"]),margin:h.oneOfType([h.number,h.object,h.oneOf(["xsmall","small","medium","large","xlarge","thin","hair"])]),textAlign:h.oneOf(["left","right","center","justify"]),textTransform:h.oneOf(["lowercase","uppercase","capitalize"]),themeColor:h.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"])},t.displayName="KendoReactTypography"+e.toUpperCase(),t},Me={h1:Ce("h1"),h2:Ce("h2"),h3:Ce("h3"),h4:Ce("h4"),h5:Ce("h5"),h6:Ce("h6"),p:Ce("p"),code:Ce("code"),pre:Ce("pre")}},function(e,t){e.exports=n},function(e,t,n){"use strict";n.r(t),n.d(t,"align",(function(){return r})),n.d(t,"addScroll",(function(){return i})),n.d(t,"applyLocationOffset",(function(){return u})),n.d(t,"boundingOffset",(function(){return d})),n.d(t,"isBodyOffset",(function(){return m})),n.d(t,"offsetParent",(function(){return h})),n.d(t,"offset",(function(){return v})),n.d(t,"parents",(function(){return g})),n.d(t,"parentScrollPosition",(function(){return b})),n.d(t,"position",(function(){return O})),n.d(t,"positionWithScroll",(function(){return _})),n.d(t,"removeScroll",(function(){return P})),n.d(t,"restrictToView",(function(){return M})),n.d(t,"scrollPosition",(function(){return y})),n.d(t,"siblingContainer",(function(){return S})),n.d(t,"siblings",(function(){return E})),n.d(t,"zIndex",(function(){return T})),n.d(t,"getDocumentElement",(function(){return c})),n.d(t,"getWindow",(function(){return l})),n.d(t,"getWindowViewPort",(function(){return f})),n.d(t,"AlignPoint",(function(){return o})),n.d(t,"Collision",(function(){return k}));var o={bottom:"bottom",center:"center",middle:"middle",left:"left",right:"right",top:"top"},r=function(e){var t=e.anchorRect,n=e.anchorAlign,r=e.elementRect,i=e.elementAlign,u=e.margin;void 0===u&&(u={});var s=n.horizontal,l=n.vertical,c=i.horizontal,a=i.vertical,p=u.horizontal||0,f=u.vertical||0,d=t.top,h=t.left;return l===o.bottom&&(d+=t.height),l!==o.center&&l!==o.middle||(d+=Math.round(t.height/2)),a===o.bottom&&(d-=r.height,f*=-1),a!==o.center&&a!==o.middle||(d-=Math.round(r.height/2),f*=-1),s===o.right&&(h+=t.width),s!==o.center&&s!==o.middle||(h+=Math.round(t.width/2)),c===o.right&&(h-=r.width,p*=-1),c!==o.center&&c!==o.middle||(h-=Math.round(r.width/2),p*=-1),{top:d+f,left:h+p}};function i(e,t){return{top:e.top+t.y,left:e.left+t.x,height:e.height,width:e.width}}function u(e,t,n){var o=e.top,r=e.left;return n&&(r=0,o=0),{top:o+t.top,left:r+t.left,height:e.height,width:e.width}}function s(e){return e.ownerDocument||e.document||e}var l=function(e){return s(e).defaultView},c=function(e){return s(e).documentElement},a=0;function p(){if(!a&&"undefined"!=typeof document){var e=document.createElement("div");e.style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",e.innerHTML=" ",document.body.appendChild(e),a=e.offsetWidth-e.scrollWidth,document.body.removeChild(e)}return a}function f(e){var t=l(e),n=c(e),o={height:t.innerHeight,width:t.innerWidth};return n.scrollHeight-n.clientHeight>0&&(o.width-=p()),o}var d=function(e){if(!e.getBoundingClientRect){var t=f(e);return{bottom:t.height,left:0,right:t.width,top:0}}var n=e.getBoundingClientRect();return{bottom:n.bottom,left:n.left,right:n.right,top:n.top}},h=function(e){for(var t=e.offsetParent;t&&"static"===t.style.position;)t=t.offsetParent;return t||c(e)},m=function(e){return h(e)===e.ownerDocument.body},v=function(e){var t=e.getBoundingClientRect(),n=t.left,o=t.top;return t.height||t.width||(t=function(e){var t=e.style,n=t.display,o=t.left,r=t.position;e.style.display="",e.style.left="-10000px",e.style.position="absolute";var i=e.getBoundingClientRect();return e.style.display=n,e.style.left=o,e.style.position=r,i}(e)),{top:o,left:n,height:t.height,width:t.width}},g=function(e,t){for(var n=[],o=e.parentNode;o&&(n.push(o),o!==t);)o=o.parentNode;return n};function y(e){var t=c(e),n=l(e);return{x:n.pageXOffset||t.scrollLeft||0,y:n.pageYOffset||t.scrollTop||0}}var w=function(e){return e===(e.ownerDocument||{}).body?y(e):{x:e.scrollLeft,y:e.scrollTop}};function b(e){var t=h(e);return t?w(t):{x:0,y:0}}var O=function(e,t){var n=l(e),o=n.getComputedStyle(e),r=v(e),i=t||h(e),u=e.ownerDocument,s=i!==u.body&&i!==u.documentElement,c={top:0,left:0};if("fixed"!==o.position&&s){var a=n.getComputedStyle(i);(c=v(i)).top+=parseInt(a.borderTopWidth,10),c.left+=parseInt(a.borderLeftWidth,10)}return{top:r.top-c.top,left:r.left-c.left,height:r.height,width:r.width}},_=function(e,t,n){void 0===n&&(n=1);var o=t?h(t):null,r=O(e,o),i=r.top,u=r.left,s=r.height,l=r.width,c=function(e,t){return e?w(e):b(t)}(o,e),a=c.x,p=c.y,f=e.ownerDocument,d=o===f.body||o===f.documentElement?1:n;return{top:i+p*d,left:u+a*d,height:s,width:l}};function P(e,t){return{top:e.top-t.y,left:e.left-t.x,height:e.height,width:e.width}}var k={fit:"fit",flip:"flip"},x=function(e,t,n){var o=0;return e+t>n&&(o=n-(e+t)),e<0&&(o=-e),o},C=function(e){var t=e.offset,n=e.size,r=e.anchorSize,i=e.viewPortSize,u=e.anchorAlignPoint,s=e.elementAlignPoint,l=e.margin,c=0,a=s===o.center||s===o.middle,p=u===o.center||u===o.middle,f=2*l;if(s!==u&&!a&&!p){var d=u===o.top||u===o.left;t<0&&d?t+(c=n+r+f)+n>i&&(c=0):t>=0&&!d&&(t+n>i&&(c+=-(r+n+f)),t+c<0&&(c=0))}return c},M=function(e){var t=e.anchorRect,n=e.anchorAlign,o=e.elementRect,r=e.elementAlign,i=e.collisions,u=e.viewPort,s=e.margin;void 0===s&&(s={});var l=o.top,c=o.left,a=o.height,p=o.width,f=u.height,d=u.width,h=s.horizontal||0,m=s.vertical||0,v=0,g=0,y=i.horizontal===k.flip,w=i.vertical===k.flip;i.vertical===k.fit&&(g+=x(l,a,f)),i.horizontal===k.fit&&(v+=x(c,p,d)),w&&(g+=C({margin:m,offset:l,size:a,anchorSize:t.height,viewPortSize:f,anchorAlignPoint:n.vertical,elementAlignPoint:r.vertical})),y&&(v+=C({margin:h,offset:c,size:p,anchorSize:t.width,viewPortSize:d,anchorAlignPoint:n.horizontal,elementAlignPoint:r.horizontal}));var b=y&&0!==v,O=w&&0!==g;return{flipped:b||O,flip:{horizontal:b,vertical:O},offset:{left:v,top:g}}},E=function(e){for(var t=[],n=e.parentNode.firstElementChild;n;)n!==e&&t.push(n),n=n.nextElementSibling;return t},S=function(e,t){for(var n,o,r=g(e),i=t;i&&(n=E(i),!(o=r.reduce((function(e,t){return e.concat(n.filter((function(e){return e===t})))}),[])[0]));)i=i.parentElement;return o};function T(e,t){if(!e||!t)return null;var n=S(e,t);if(!n)return null;var o=[e].concat(g(e,n)).reduce((function(e,t){var n=t.style.zIndex||window.getComputedStyle(t).zIndex,o=parseInt(n,10);return o>e?o:e}),0);return o?o+1:null}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(7);t.Popup=o.Popup,t.PopupPropsContext=o.PopupPropsContext},function(e,t,n){"use strict";var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(8);t.PopupPropsContext=r.createContext((function(e){return e})),t.Popup=r.forwardRef((function(e,n){var u=r.useContext(t.PopupPropsContext).call(void 0,e);return r.createElement(i.Popup,o({ref:n},u))}))},function(e,t,n){"use strict";var o,r=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var u=n(0),s=n(9),l=n(1),c=n(10),a=n(3),p=n(2),f=n(11),d=n(12),h=n(13),m=n(3),v=n(14);function g(e,t){if(e===t)return!0;if(!!e!=!!t)return!1;var n=Object.getOwnPropertyNames(e),o=Object.getOwnPropertyNames(t);if(n.length!==o.length)return!1;for(var r=0;r<n.length;r++){var i=n[r];if(e[i]!==t[i])return!1}return!0}var y,w={left:-1e3,top:0};!function(e){e.hiding="hiding",e.hidden="hidden",e.showing="showing",e.shown="shown",e.reposition="reposition"}(y||(y={}));var b=function(e){function t(t){var n=e.call(this,t)||this;return n.state={current:y.hidden,previous:y.hidden,props:{}},n._popup=null,n.show=function(e){n.setPosition(e),n.animate(e.firstChild,"enter",n.onOpened),n.setState({current:y.shown,previous:n.state.current})},n.setPosition=function(e){var t=n.props,o=t.anchorAlign,r=t.popupAlign,i=t.collision,u=t.offset,s=t.anchor,l=e.firstElementChild,c=getComputedStyle(l),a=c.width,p=c.height;l.style.position="absolute",l.style.width=a,l.style.height=p;var f=n._alignService.alignElement({anchor:s,element:l,elementAlign:r,anchorAlign:o,offset:u}),d=n._positionService.positionElement({anchor:s,anchorAlign:o,collisions:i,element:l,currentLocation:f,elementAlign:r});d.offset&&(e.style.top=d.offset.top+"px",e.style.left=d.offset.left+"px",l.style.position="",l.style.width="",l.style.height=""),n._flipped=d.flipped},n.onOpened=function(){var e=n._popup;e&&(n.props.show&&e.classList.add("k-animation-container-shown"),n.attachRepositionHandlers(e),n.props.onOpen&&n.props.onOpen.call(void 0,{target:n}))},n.animate=function(e,t,o){c.slide(e,n._flipped?"up":"down",n.animationDuration[t],t,o)},n.onClosing=function(e){n.props.show||e.classList.remove("k-animation-container-shown"),n.detachRepositionHandlers()},n.onClosed=function(){n.state.current===y.hiding&&n.state.previous===y.shown&&n.setState({current:y.hidden,previous:n.state.current}),n.props.onClose&&n.props.onClose.call(void 0,{target:n})},m.validatePackage(v.packageMetadata),n._domService=new d.DOMService,n._alignService=new f.AlignService(n._domService),n._positionService=new h.PositionService(n._domService),n.reposition=p.throttle(n.reposition.bind(n),p.FRAME_DURATION),n}return r(t,e),t.getDerivedStateFromProps=function(e,t){var n=e.show,o=e.anchor,r=e.anchorAlign,u=e.appendTo,s=e.collision,l=e.popupAlign,c=e.className,a=e.popupClass,p=e.style,f=e.offset,d=e.contentKey,h=i({},t,{props:{show:n,anchor:o,anchorAlign:r,appendTo:u,collision:s,popupAlign:l,className:c,popupClass:a,style:p,offset:f,contentKey:d}});return e.show?t.current===y.hidden||t.current===y.hiding?i({},h,{current:y.showing,previous:t.current}):t.current===y.showing?i({},h,{current:y.shown,previous:t.current}):t.current!==y.shown||g(f,t.props.offset)&&g(r,t.props.anchorAlign)&&g(u,t.props.appendTo)&&g(s,t.props.collision)&&g(l,t.props.popupAlign)&&g(p,t.props.style)&&o===t.props.anchor&&a===t.props.popupClass&&c===t.props.className?h:i({},h,{current:y.reposition,previous:t.current}):t.current===y.hiding||t.current===y.hidden?i({},h,{current:y.hidden,previous:t.current}):i({},h,{current:y.hiding,previous:t.current})},t.prototype.componentDidUpdate=function(e){this.state.current===y.showing&&this._popup?this.show(this._popup):this.state.current===y.hiding&&this._popup?(this.onClosing(this._popup),this.animate(this._popup.firstChild,"exit",this.onClosed)):this.state.current===y.reposition&&this.state.previous===y.shown?this.setState({current:y.shown,previous:this.state.current}):this.state.current===y.shown&&e.contentKey!==this.props.contentKey&&this._popup&&this.setPosition(this._popup)},t.prototype.componentDidMount=function(){this.state.current===y.showing&&this._popup&&this.show(this._popup)},t.prototype.componentWillUnmount=function(){this.detachRepositionHandlers()},t.prototype.render=function(){var e=this,t=this.props,n=t.children,o=t.className,r=t.popupClass,i=t.show,l=t.id,c=this.props.appendTo?this.props.appendTo:a.canUseDOM?this.props.anchor&&this.props.anchor.ownerDocument?this.props.anchor.ownerDocument.body:document.body:void 0;this.state.current===y.reposition&&this.state.previous===y.shown&&this._popup&&this.setPosition(this._popup);var p=Object.assign({},{position:"absolute"},this.props.style||{}),f=this.state.current===y.hiding;if((i||f)&&c){var d=u.createElement("div",{className:a.classNames("k-animation-container","k-animation-container-relative",o),id:l,ref:function(t){return e._popup=t},style:p},u.createElement("div",{className:a.classNames(r,"k-popup","k-child-animation-container"),style:{transitionDelay:"0ms"}},n));return s.createPortal(d,c)}return null},Object.defineProperty(t.prototype,"animationDuration",{get:function(){var e=this.props.animate,t=0,n=0;return e&&(!0===e?t=n=300:(t=e.openDuration||0,n=e.closeDuration||0)),{enter:t,exit:n}},enumerable:!0,configurable:!0}),t.prototype.attachRepositionHandlers=function(e){var t=this;this.detachRepositionHandlers(),this._scrollableParents=this._domService.scrollableParents(this.props.anchor||e),this._scrollableParents.map((function(e){return e.addEventListener("scroll",t.reposition)})),window.addEventListener("resize",this.reposition)},t.prototype.detachRepositionHandlers=function(){var e=this;this._scrollableParents&&(this._scrollableParents.map((function(t){return t.removeEventListener("scroll",e.reposition)})),this._scrollableParents=void 0),window.removeEventListener("resize",this.reposition)},t.prototype.reposition=function(){this.setState({current:y.reposition,previous:this.state.current})},t.propTypes={anchor:function(e){var t=e.anchor;return t&&"number"!=typeof t.nodeType?new Error("Invalid prop `anchor` supplied to `Kendo React Popup`. Validation failed."):null},appendTo:function(e){var t=e.appendTo;return t&&"number"!=typeof t.nodeType?new Error("Invalid prop `appendTo` supplied to `Kendo React Popup`. Validation failed."):null},className:l.string,id:l.string,popupClass:l.string,collision:l.shape({horizontal:l.oneOf([p.CollisionType.fit,p.CollisionType.flip]),vertical:l.oneOf([p.CollisionType.fit,p.CollisionType.flip])}),anchorAlign:l.shape({horizontal:l.oneOf([p.AlignPoint.left,p.AlignPoint.center,p.AlignPoint.right]),vertical:l.oneOf([p.AlignPoint.top,p.AlignPoint.center,p.AlignPoint.bottom])}),popupAlign:l.shape({horizontal:l.oneOf([p.AlignPoint.left,p.AlignPoint.center,p.AlignPoint.right]),vertical:l.oneOf([p.AlignPoint.top,p.AlignPoint.center,p.AlignPoint.bottom])}),offset:l.shape({left:l.number,top:l.number}),children:l.oneOfType([l.element,l.node]),show:l.bool,animate:l.oneOfType([l.bool,l.shape({openDuration:l.number,closeDuration:l.number})])},t.defaultProps={collision:{horizontal:p.CollisionType.fit,vertical:p.CollisionType.flip},anchorAlign:{horizontal:p.AlignPoint.left,vertical:p.AlignPoint.bottom},popupAlign:{horizontal:p.AlignPoint.left,vertical:p.AlignPoint.top},offset:w,animate:!0,show:!1},t}(u.Component);t.Popup=b},function(e,t){e.exports=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){e.style.transitionDuration="",e.classList.remove("k-slide-down-appear","k-slide-down-appear-active","k-slide-down-exit","k-slide-down-exit-active","k-slide-up-appear","k-slide-up-appear-active","k-slide-up-exit","k-slide-up-exit-active")},r="undefined"!=typeof window&&/Firefox/.test(window.navigator.userAgent);t.slide=function(e,t,n,i,u){if(0===n)return u();var s="k-slide-"+t+"-"+i,l=s+"-active",c=function(){e.removeEventListener("transitionend",c),o(e),u()};e.addEventListener("transitionend",c);var a=e.ownerDocument;if(a){var p=a.defaultView;if(p){var f=function(){o(e),e.classList.add(s),p.requestAnimationFrame((function(){e.style.transitionDuration=n+"ms",e.classList.add(l)}))};r?p.requestAnimationFrame(f):f()}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),r=function(){function e(e){this._dom=e}return e.prototype.alignElement=function(e){var t=e.anchor,n=e.element,o=e.anchorAlign,r=e.elementAlign,i=e.offset,u=!this._dom.hasOffsetParent(n)?this.absoluteRect(t,n,i):this.relativeRect(t,n,i);return this._dom.align({anchorAlign:o,anchorRect:u,elementAlign:r,elementRect:this._dom.offset(n)})},e.prototype.absoluteRect=function(e,t,n){var r=this._dom,i=o.eitherRect(r.offset(e),n),u=r.stackingElementOffset(t),s=o.removeStackingOffset(i,u),l=r.stackingElementScroll(t),c=r.addScroll(s,l),a=this.elementScrollPosition(e,t),p=r.removeScroll(c,a);return p.left+=window.scrollX||window.pageXOffset,p.top+=window.scrollY||window.pageYOffset,p},e.prototype.elementScrollPosition=function(e,t){return e?{x:0,y:0}:this._dom.scrollPosition(t)},e.prototype.relativeRect=function(e,t,n){return o.eitherRect(this._dom.position(e,t),n)},e}();t.AlignService=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(5),r=n(2),i=n(3),u=function(){function e(){}return e.prototype.addOffset=function(e,t){return{left:e.left+t.left,top:e.top+t.top}},e.prototype.align=function(e){return o.align(e)},e.prototype.boundingOffset=function(e){return o.boundingOffset(e)},e.prototype.getWindow=function(){return i.canUseDOM?window:null},e.prototype.isBodyOffset=function(e){return o.isBodyOffset(e)},e.prototype.hasOffsetParent=function(e){if(!e)return!1;var t=e.offsetParent;return t&&!("BODY"===t.nodeName&&"static"===window.getComputedStyle(t).position)},e.prototype.offset=function(e){return e?o.offset(e):null},e.prototype.staticOffset=function(e){if(!e)return null;var t=e.style,n=t.left,r=t.top;e.style.left="0px",e.style.top="0px";var i=o.offset(e);return e.style.left=n,e.style.top=r,i},e.prototype.position=function(e,t){if(!e||!t)return null;var n=o.siblingContainer(e,t);return o.positionWithScroll(e,n)},e.prototype.relativeOffset=function(e,t){return o.applyLocationOffset(this.offset(e),t,this.isBodyOffset(e))},e.prototype.addScroll=function(e,t){return o.addScroll(e,t)},e.prototype.removeScroll=function(e,t){return o.removeScroll(e,t)},e.prototype.restrictToView=function(e){return o.restrictToView(e)},e.prototype.scrollPosition=function(e){return o.scrollPosition(e)},e.prototype.scrollableParents=function(e){return r.scrollableParents(e)},e.prototype.stackingElementOffset=function(e){var t=this.getRelativeContextElement(e);return t?o.offset(t):null},e.prototype.stackingElementScroll=function(e){var t=this.getRelativeContextElement(e);return t?{x:t.scrollLeft,y:t.scrollTop}:{x:0,y:0}},e.prototype.stackingElementViewPort=function(e){var t=this.getRelativeContextElement(e);return t?{height:t.scrollHeight,width:t.scrollWidth}:null},e.prototype.getRelativeContextElement=function(e){if(!e||!r.HAS_RELATIVE_STACKING_CONTEXT)return null;for(var t=e.parentElement;t;){if("none"!==window.getComputedStyle(t).transform)return t;t=t.parentElement}return null},e.prototype.useRelativePosition=function(e){return!!this.getRelativeContextElement(e)},e.prototype.windowViewPort=function(e){return o.getWindowViewPort(e)},e.prototype.zIndex=function(e,t){return r.zIndex(e,t)},e.prototype.zoomLevel=function(){return i.canUseDOM?parseFloat((document.documentElement.clientWidth/window.innerWidth).toFixed(2)):1},e.prototype.isZoomed=function(){return this.zoomLevel()>1},e}();t.DOMService=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),r=function(){function e(e){this._dom=e}return e.prototype.positionElement=function(e){var t=e.anchor,n=e.currentLocation,r=e.element,i=e.anchorAlign,u=e.elementAlign,s=e.collisions,l=this._dom,c=e.viewPort||l.stackingElementViewPort(r)||l.windowViewPort(r),a=o.eitherRect(l.offset(t),n),p=o.replaceOffset(l.staticOffset(r),n),f=this.elementRect(r,p),d=l.restrictToView({anchorAlign:i,anchorRect:a,collisions:s,elementAlign:u,elementRect:f,viewPort:c});return{flipped:d.flipped,offset:l.addOffset(p,d.offset)}},e.prototype.elementRect=function(e,t){return this._dom.removeScroll(t,this._dom.scrollPosition(e))},e}();t.PositionService=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-react-popup",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1635344607,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"}}])}));
|
|
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")):"function"==typeof define&&define.amd?define(["react","prop-types","@progress/kendo-licensing","react-dom"],t):"object"==typeof exports?exports.KendoReactPopup=t(require("react"),require("prop-types"),require("@progress/kendo-licensing"),require("react-dom")):e.KendoReactPopup=t(e.React,e.PropTypes,e.KendoLicensing,e.ReactDOM)}(window,(function(e,t,n,o){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=6)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(5),r=n(3);t.eitherRect=function(e,t){return e||{height:0,left:t.left,top:t.top,width:0}},t.replaceOffset=function(e,t){return t?{height:e.height,left:t.left,top:t.top,width:e.width}:e},t.removeStackingOffset=function(e,t){return t?{height:e.height,left:e.left-t.left,top:e.top-t.top,width:e.width}:e},t.isDifferentOffset=function(e,t){var n=e.left,o=e.top,r=t.left,i=t.top;return Math.abs(n-r)>=1||Math.abs(o-i)>=1},t.hasBoundingRect=function(e){return!!e.getBoundingClientRect},t.OVERFLOW_REGEXP=/auto|scroll/;var i=function(e){var t=window.getComputedStyle(e);return""+t.overflow+t.overflowX+t.overflowY};t.scrollableParents=function(e){var n=[];if(!r.canUseDOM)return n;for(var o=e.parentElement;o;)t.OVERFLOW_REGEXP.test(i(o))&&n.push(o),o=o.parentElement;return n.push(window),n},t.FRAME_DURATION=1e3/60,t.HAS_RELATIVE_STACKING_CONTEXT=r.hasRelativeStackingContext(),t.zIndex=function(e,t){if(!e||!r.canUseDOM)return null;var n=o.siblingContainer(e,t);if(!n)return null;var i=[e].concat(o.parents(e,n)).reduce((function(e,t){var n=t.style.zIndex||window.getComputedStyle(t).zIndex,o=parseInt(n,10);return o>e?o:e}),0);return i?i+1:null},t.CollisionType={fit:"fit",flip:"flip"},t.AlignPoint={left:"left",center:"center",right:"right",bottom:"bottom",top:"top"},t.throttle=function(e,t,n){var o,r,i,u;void 0===n&&(n={});var s=0;n=n||{};var l=function(){s=!1===n.leading?0:(new Date).getTime(),o=null,u=e.apply(r,i),o||(r=i=null)};return function(){var c=(new Date).getTime();s||!1!==n.leading||(s=c);var a=t-(c-s);return r=this,i=arguments,a<=0||a>t?(o&&(clearTimeout(o),o=null),s=c,u=e.apply(r,i),o||(r=i=null)):o||!1===n.trailing||(o=window.setTimeout(l,a)),u}}},function(e,t,n){"use strict";n.r(t),n.d(t,"BrowserSupportService",(function(){return r})),n.d(t,"canUseDOM",(function(){return i})),n.d(t,"canUseRef",(function(){return u})),n.d(t,"classNames",(function(){return s})),n.d(t,"cloneDate",(function(){return l})),n.d(t,"clone",(function(){return c})),n.d(t,"cloneObject",(function(){return a})),n.d(t,"cloneValue",(function(){return p})),n.d(t,"cloneArray",(function(){return f})),n.d(t,"Draggable",(function(){return M})),n.d(t,"focusFirstFocusableChild",(function(){return E})),n.d(t,"FormComponent",(function(){return S})),n.d(t,"getTabIndex",(function(){return T})),n.d(t,"getter",(function(){return D})),n.d(t,"guid",(function(){return z})),n.d(t,"Keys",(function(){return N})),n.d(t,"noop",(function(){return L})),n.d(t,"getScrollbarWidth",(function(){return I})),n.d(t,"setScrollbarWidth",(function(){return H})),n.d(t,"setter",(function(){return F})),n.d(t,"mapTree",(function(){return V})),n.d(t,"mapTreeItem",(function(){return X})),n.d(t,"extendDataItem",(function(){return Y})),n.d(t,"getItemPath",(function(){return q})),n.d(t,"validatePackage",(function(){return $})),n.d(t,"hasRelativeStackingContext",(function(){return Z})),n.d(t,"dispatchEvent",(function(){return J})),n.d(t,"AsyncFocusBlur",(function(){return te})),n.d(t,"useDir",(function(){return ne})),n.d(t,"useAsyncFocusBlur",(function(){return Q})),n.d(t,"useDraggable",(function(){return oe})),n.d(t,"useRtl",(function(){return re})),n.d(t,"useMouse",(function(){return ie})),n.d(t,"useCustomComponent",(function(){return ue})),n.d(t,"Icon",(function(){return ae})),n.d(t,"SvgIcon",(function(){return he})),n.d(t,"Typography",(function(){return Me}));var o=function(){return"undefined"!=typeof document?document:{}},r=function(){function e(){}return Object.defineProperty(e.prototype,"scrollbarWidth",{get:function(){var e=o();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=" ",e.body.appendChild(t),this.scrollbar=t.offsetWidth-t.scrollWidth,e.body.removeChild(t)}return this.scrollbar},enumerable:!0,configurable:!0}),e}(),i=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement),u=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))},s=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.filter((function(e){return!0!==e&&!!e})).map((function(e){return Array.isArray(e)?s.apply(void 0,e):"object"==typeof e?Object.keys(e).map((function(t,n){return e[n]||e[t]&&t||null})).filter((function(e){return null!==e})).join(" "):e})).filter((function(e){return!!e})).join(" ")},l=function(e){return e?new Date(e.getTime()):null};function c(e){var t={};return a(e,t),t}function a(e,t){for(var n in e)if(e.hasOwnProperty(n)){var o=e[n];t[n]=p(o,t[n])}}function p(e,t){if(Array.isArray(e))return f(e);if(e instanceof Date)return l(e);if(e&&"object"==typeof e){var n=t||{};return a(e,n),n}return e}function f(e){return e.map((function(e){return p(e,void 0)}))}var d=n(0),h=n(1),m=function(e,t){return function(n){return t(e(n))}},v=function(e,t,n){return e.addEventListener&&e.addEventListener(t,n)},g=function(e,t,n){return e&&e.removeEventListener&&e.removeEventListener(t,n)},y=function(){},w=function(e){return e.preventDefault()},b=/touch/;function O(e){return e.type.match(b)?{pageX:e.changedTouches[0].pageX,pageY:e.changedTouches[0].pageY,clientX:e.changedTouches[0].clientX,clientY:e.changedTouches[0].clientY,type:e.type,originalEvent:e,isTouch:!0}:{pageX:e.pageX,pageY:e.pageY,clientX:e.clientX,clientY:e.clientY,offsetX:e.offsetX,offsetY:e.offsetY,type:e.type,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,altKey:e.altKey,originalEvent:e}}var _=function(e){var t=this,n=e.press;void 0===n&&(n=y);var o=e.drag;void 0===o&&(o=y);var r=e.release;void 0===r&&(r=y);var i=e.mouseOnly;void 0===i&&(i=!1),this._pressHandler=m(O,n),this._dragHandler=m(O,o),this._releaseHandler=m(O,r),this._ignoreMouse=!1,this._mouseOnly=i,this._touchstart=function(e){1===e.touches.length&&t._pressHandler(e)},this._touchmove=function(e){1===e.touches.length&&t._dragHandler(e)},this._touchend=function(e){0===e.touches.length&&1===e.changedTouches.length&&(t._releaseHandler(e),t._ignoreMouse=!0,setTimeout(t._restoreMouse,2e3))},this._restoreMouse=function(){t._ignoreMouse=!1},this._mousedown=function(e){var n=e.which;n&&n>1||t._ignoreMouse||(v(t.document,"mousemove",t._mousemove),v(t.document,"mouseup",t._mouseup),t._pressHandler(e))},this._mousemove=function(e){t._dragHandler(e)},this._mouseup=function(e){g(t.document,"mousemove",t._mousemove),g(t.document,"mouseup",t._mouseup),t._releaseHandler(e)},this._pointerdown=function(e){e.isPrimary&&0===e.button&&(v(t.document,"pointermove",t._pointermove),v(t.document,"pointerup",t._pointerup),v(t.document,"pointercancel",t._pointerup),v(t.document,"contextmenu",w),t._pressHandler(e))},this._pointermove=function(e){e.isPrimary&&t._dragHandler(e)},this._pointerup=function(e){e.isPrimary&&(g(t.document,"pointermove",t._pointermove),g(t.document,"pointerup",t._pointerup),g(t.document,"pointercancel",t._pointerup),g(t.document,"contextmenu",w),t._releaseHandler(e))}},P={document:{configurable:!0}};_.supportPointerEvent=function(){return"undefined"!=typeof window&&window.PointerEvent},P.document.get=function(){return this._element?this._element.ownerDocument:document},_.prototype.bindTo=function(e){e!==this._element&&(this._element&&this._unbindFromCurrent(),this._element=e,this._bindToCurrent())},_.prototype._bindToCurrent=function(){var e=this._element;this._usePointers()?v(e,"pointerdown",this._pointerdown):(v(e,"mousedown",this._mousedown),this._mouseOnly||(v(e,"touchstart",this._touchstart),v(e,"touchmove",this._touchmove),v(e,"touchend",this._touchend)))},_.prototype._unbindFromCurrent=function(){var e=this._element;if(this._usePointers())return g(e,"pointerdown",this._pointerdown),g(this.document,"pointermove",this._pointermove),g(this.document,"pointerup",this._pointerup),g(this.document,"contextmenu",w),void g(this.document,"pointercancel",this._pointerup);g(e,"mousedown",this._mousedown),this._mouseOnly||(g(e,"touchstart",this._touchstart),g(e,"touchmove",this._touchmove),g(e,"touchend",this._touchend))},_.prototype._usePointers=function(){return!this._mouseOnly&&_.supportPointerEvent()},_.prototype.update=function(e){var t=e.press;void 0===t&&(t=y);var n=e.drag;void 0===n&&(n=y);var o=e.release;void 0===o&&(o=y);var r=e.mouseOnly;void 0===r&&(r=!1),this._pressHandler=m(O,t),this._dragHandler=m(O,n),this._releaseHandler=m(O,o),this._mouseOnly=r},_.prototype.destroy=function(){this._unbindFromCurrent(),this._element=null},Object.defineProperties(_.prototype,P),_.default=_;var k,x=_,C=(k=function(e,t){return(k=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}k(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),M=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.element=null,t.draggable=new x({press:function(e){t.element&&t.props.onPress&&t.props.onPress.call(void 0,{target:t,event:e,element:t.element})},drag:function(e){t.element&&t.props.onDrag&&t.props.onDrag.call(void 0,{target:t,event:e,element:t.element})},release:function(e){t.element&&t.props.onRelease&&t.props.onRelease.call(void 0,{target:t,event:e})}}),t.childRef=function(e){var n=t.props.childRef;t.element=e,n&&"function"==typeof n&&n(e)},t}return C(t,e),t.prototype.componentDidMount=function(){this.element&&this.draggable.bindTo(this.element)},t.prototype.componentWillUnmount=function(){this.draggable.destroy()},t.prototype.render=function(){return d.cloneElement(d.Children.only(this.props.children),{ref:this.childRef})},t.propTypes={children:h.element.isRequired},t}(d.Component),E=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()}},S=function(){},T=function(e,t,n){var o="string"==typeof e?parseInt(e,void 0):e;if(NaN!==o)return void 0!==o?o:t?n?void 0:-1:0},A=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g;function R(e){var t=[];return e.replace(A,(function(e,n,o,r){t.push(void 0!==n?n:o||r)})),t}var j={};function D(e){if(j[e])return j[e];var t=R(e);return j[e]=function(e){for(var n=e,o=0;o<t.length&&n;o++)n=n[t[o]];return n},j[e]}j.undefined=function(){};var z=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},N={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},L=function(){},I=function(){return!(!i||!document.body)&&(new r).scrollbarWidth},H=function(){if(!i||!document.body)return!1;var e=(new r).scrollbarWidth;document.body.style.setProperty("--kendo-scrollbar-width",e+"px")},B={undefined:function(e){return e}},W=function(e,t){return t&&t.arrays&&!isNaN(Number(e))?[]:{}};function F(e){if(B[e])return B[e];var t=R(e);return B[e]=function(e,n,o){for(var r=e,i=t.length-1,u=0;u<i&&r;u++)r=r[t[u]]=r[t[u]]||W(t[u+1],o);r[t[i]]=n},B[e]}var U=function(){return(U=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function K(e,t,n){var o;return n?U({},e,((o={})[t]=n.length?n.slice():void 0,o)):e&&e[t]?e[t].slice():[]}var V=function(e,t,n){return e.map((function(e){return function e(t,n,o){if(t[n]){var r=K(t,n).map((function(t){return e(t,n,o)}));return o(K(t,n,r))}return o(t)}(e,t,n)})).slice()},X=function(e,t,n,o){for(var r=e,i=[],u=0;u<t.length;u++)r=r[t[u]],r=Array.isArray(r)?r:r[n],i.push(r);var s=i.length>1?i[i.length-2]:e,l=t[t.length-1],c=o(s[l]);s.splice(l,1,c)},Y=function(e,t,n){var o;return Object.assign({},e,e[t]?((o={})[t]=e[t].slice(),o):{},n||{})},q=function(e,t,n){var o=[],r=t.slice();if(r.length){var i=e[r.shift()||0];for(o.push(i);r.length&&n;)i=i[n][r.shift()||0],o.push(i)}return o},G=n(4);function $(e){if(void 0!==G)G.validatePackage(e);else{var t="License activation failed for "+e.name+"\n";t+="The @progress/kendo-licensing script is not loaded.\n",t+="See "+e.licensingDocsUrl+" for more information.\n",console.warn(t)}}var Z=function(e){if(!i)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)",n.innerHTML='<div style="position: fixed; top: 10px;">child</div>',t.body.appendChild(n);var o=10!==n.children[0].getBoundingClientRect().top;return t.body.removeChild(n),o};function J(e,t,n,o){if(e){var r={syntheticEvent:t,nativeEvent:t.nativeEvent,target:n};e.call(void 0,Object.assign(r,o))}}function Q(e){var t=e.onFocus,n=e.onBlur,o=e.onSyncFocus,r=e.onSyncBlur,i=d.useRef(!1),u=d.useRef(0),s=d.useCallback((function(e){clearTimeout(u.current),u.current=window.setTimeout((function(){return e()}))}),[u]),l=d.useCallback((function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];clearTimeout(u.current),o&&o.call.apply(o,[void 0].concat(e)),i.current||(i.current=!0,t&&t.call.apply(t,[void 0].concat(e)))}),[i,t,o]),c=d.useCallback((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];r&&r.call.apply(r,[void 0].concat(e)),s((function(){i.current&&n&&(i.current=!1,n.call.apply(n,[void 0].concat(e)))}))}),[i,s,n,r]);return d.useEffect((function(){return function(){clearTimeout(u.current)}}),[]),{onFocus:l,onBlur:c}}var ee=function(){return(ee=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},te=function(e){var t=e.children,n=Q({onFocus:e.onFocus,onBlur:e.onBlur,onSyncFocus:e.onSyncFocus,onSyncBlur:e.onSyncBlur});return t.call(void 0,ee({},n))};function ne(e,t,n){var o=d.useState(t),r=o[0],i=o[1];return d.useEffect((function(){if(!r&&window&&e.current){var t=window.getComputedStyle(e.current).direction;t&&i(t)}}),n),r}function oe(e,t){var n=t.onPress,o=t.onDrag,r=t.onRelease,i=d.useMemo((function(){return new x({press:n,drag:o,release:r})}),[]);d.useEffect((function(){var t=e.current;if(t)return i.bindTo(t),function(){i.destroy()}}),[]),d.useEffect((function(){i.update({press:n,drag:o,release:r})}),[n,o,r])}function re(e,t,n){var o=d.useState(t),r=o[0],i=o[1];return d.useEffect((function(){if(!r&&window&&e.current){var t=window.getComputedStyle(e.current).direction;t&&i(t)}}),n),r}var ie=function(e,t,n){void 0===n&&(n={});var o=d.useCallback((function(o){n.onMouseDown&&n.onMouseDown.call(void 0,o),e.onMouseDown&&e.onMouseDown.call(void 0,{target:t.current,syntheticEvent:o})}),[n.onMouseDown,e.onMouseDown,t]),r=d.useCallback((function(o){n.onMouseUp&&n.onMouseUp.call(void 0,o),e.onMouseUp&&e.onMouseUp.call(void 0,{target:t.current,syntheticEvent:o})}),[n.onMouseUp,e.onMouseUp,t]);return{onClick:d.useCallback((function(o){n.onClick&&n.onClick.call(void 0,o),e.onClick&&e.onClick.call(void 0,{target:t.current,syntheticEvent:o})}),[n.onClick,e.onClick,t]),onMouseUp:r,onMouseDown:o,onDoubleClick:d.useCallback((function(o){n.onDoubleClick&&n.onDoubleClick.call(void 0,o),e.onDoubleClick&&e.onDoubleClick.call(void 0,{target:t.current,syntheticEvent:o})}),[n.onDoubleClick,e.onDoubleClick,t]),onMouseEnter:d.useCallback((function(o){n.onMouseEnter&&n.onMouseEnter.call(void 0,o),e.onMouseEnter&&e.onMouseEnter.call(void 0,{target:t.current,syntheticEvent:o})}),[n.onMouseEnter,e.onMouseEnter,t]),onMouseLeave:d.useCallback((function(o){n.onMouseLeave&&n.onMouseLeave.call(void 0,o),e.onMouseLeave&&e.onMouseLeave.call(void 0,{target:t.current,syntheticEvent:o})}),[n.onMouseLeave,e.onMouseLeave,t]),onMouseMove:d.useCallback((function(o){n.onMouseMove&&n.onMouseMove.call(void 0,o),e.onMouseMove&&e.onMouseMove.call(void 0,{target:t.current,syntheticEvent:o})}),[n.onMouseMove,e.onMouseMove,t]),onMouseOut:d.useCallback((function(o){n.onMouseOut&&n.onMouseOut.call(void 0,o),e.onMouseOut&&e.onMouseOut.call(void 0,{target:t.current,syntheticEvent:o})}),[n.onMouseOut,e.onMouseOut,t]),onMouseOver:d.useCallback((function(o){n.onMouseOver&&n.onMouseOver.call(void 0,o),e.onMouseOver&&e.onMouseOver.call(void 0,{target:t.current,syntheticEvent:o})}),[n.onMouseOver,e.onMouseOver,t])}},ue=function(e){return d.isValidElement(e)?[e.type,e.props]:[e,{}]},se={default:"",xsmall:"k-icon-xs",small:"k-icon-sm",medium:"k-icon-md",large:"k-icon-lg",xlarge:"k-icon-xl"},le=function(){return(le=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},ce=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&(n[o[r]]=e[o[r]])}return n},ae=d.forwardRef((function(e,t){var n=e.className,o=e.name,r=e.themeColor,i=e.size,u=e.flip,l=e.style,c=ce(e,["className","name","themeColor","size","flip","style"]),a=d.useRef(null),p=d.useRef(null);d.useImperativeHandle(a,(function(){return{element:p.current}})),d.useImperativeHandle(t,(function(){return a.current}));var f=d.useMemo((function(){return r||pe.themeColor}),[r]),h=d.useMemo((function(){return i||pe.size}),[i]),m=d.useMemo((function(){return u||pe.flip}),[u]),v=d.useMemo((function(){return s("k-icon","k-i-"+o,"k-color-"+f,{"k-flip-h":"horizontal"===m||"both"===m,"k-flip-v":"vertical"===m||"both"===m},se[h],n)}),[o,f,h,m,n]),g=ie(e,a);return d.createElement("span",le({ref:p},c,g,{className:v,style:l,role:"presentation"}))}));ae.propTypes={style:h.object,classNames:h.string,name:h.string,themeColor:h.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"]),size:h.oneOf(["default","xsmall","small","medium","large","xlarge"]),flip:h.oneOf(["default","horizontal","vertical","both"])};var pe={size:"default",themeColor:"inherit",flip:"default"};ae.displayName="KendoIcon";var fe=function(){return(fe=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},de=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&(n[o[r]]=e[o[r]])}return n},he=d.forwardRef((function(e,t){var n=e.children,o=e.className,r=e.svgClassName,i=e.icon,u=e.flip,l=e.size,c=e.style,a=e.svgStyle,p=e.themeColor,f=e.viewBox,h=de(e,["children","className","svgClassName","icon","flip","size","style","svgStyle","themeColor","viewBox"]),m=d.useRef(null);d.useImperativeHandle(t,(function(){return{element:m.current}}));var v=d.useMemo((function(){return i?i.name:me.icon}),[i]),g=d.useMemo((function(){return p||me.themeColor}),[p]),y=d.useMemo((function(){return l||me.size}),[l]),w=d.useMemo((function(){return u||me.flip}),[u]),b=d.useMemo((function(){return f||me.viewBox}),[f]),O=d.useMemo((function(){return s("k-svg-icon","k-color-"+g,"k-svg-i-"+v,{"k-flip-h":"horizontal"===w||"both"===w,"k-flip-v":"vertical"===w||"both"===w},se[y],o)}),[v,g,y,w,o]),_=d.useMemo((function(){return e.width&&e.height?fe({width:e.width,height:e.height},c):e.width?fe({width:e.width,height:e.width},c):e.height?fe({width:e.height,height:e.height},c):fe({},c)}),[e.width,e.height,c]);return d.createElement("span",{className:O,style:_,ref:m},d.createElement("svg",fe({className:r,style:a,"aria-hidden":!0,focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:i?i.viewBox:b,dangerouslySetInnerHTML:i?{__html:i.content}:void 0},h),i?void 0:n))}));he.propTypes={style:h.object,classNames:h.string,children:h.any,icon:h.object,themeColor:h.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"]),size:h.oneOf(["default","xsmall","small","medium","large","xlarge"]),flip:h.oneOf(["default","horizontal","vertical","both"])};var me={size:"default",themeColor:"inherit",flip:"default",icon:"",viewBox:"0 0 24 24"};he.displayName="KendoSvgIcon";var ve={xsmall:"k-fs-xs",small:"k-fs-sm",medium:"k-fs-md",large:"k-fs-lg",xlarge:"k-fs-xl"},ge={light:"k-font-weight-light",normal:"k-font-weight-normal",bold:"k-font-weight-bold"},ye={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"},we={xsmall:"xs",small:"sm",medium:"md",large:"lg",xlarge:"xl",thin:"thin",hair:"hair"},be={top:"k-mt-",right:"k-mr-",bottom:"k-mb-",left:"k-ml-"},Oe={left:"k-text-left",right:"k-text-right",center:"k-text-center",justify:"k-text-justify"},_e={lowercase:"k-text-lowercase",uppercase:"k-text-uppercase",capitalize:"k-text-capitalize"},Pe={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"},ke=function(){return(ke=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},xe=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&(n[o[r]]=e[o[r]])}return n},Ce=function(e){var t=d.forwardRef((function(t,n){var o=t.className,r=t.fontSize,i=t.fontWeight,u=t.textAlign,s=t.textTransform,l=t.themeColor,c=t.margin,a=xe(t,["className","fontSize","fontWeight","textAlign","textTransform","themeColor","margin"]),p=d.useRef(null),f=d.useRef(null);d.useImperativeHandle(p,(function(){return{element:f.current,props:t}})),d.useImperativeHandle(n,(function(){return p.current}));var h=e,m=function(){if(void 0!==c){if("string"==typeof c)return[ye[c]];if("number"==typeof c&&c>=0&&c<=24)return["k-m-"+c];if("object"==typeof c){var e=[];return Object.keys(c).forEach((function(t){var n,o;null!==c[t]&&void 0!==c[t]&&e.push((n=t,o=c[t],""+be[n]+("string"==typeof o?we[o]:o)))})),e.join(" ")}}};return d.createElement(h,ke({ref:f,className:["k-"+("p"===e?"paragraph":e),ve[r],ge[i],Oe[u],_e[s],Pe[l],m(),o].filter((function(e){return void 0!==e})).join(" ")},a),t.children)}));return t.propTypes={style:h.object,className:h.string,fontSize:h.oneOf(["xsmall","small","medium","large","xlarge"]),fontWeight:h.oneOf(["light","normal","bold"]),margin:h.oneOfType([h.number,h.object,h.oneOf(["xsmall","small","medium","large","xlarge","thin","hair"])]),textAlign:h.oneOf(["left","right","center","justify"]),textTransform:h.oneOf(["lowercase","uppercase","capitalize"]),themeColor:h.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"])},t.displayName="KendoReactTypography"+e.toUpperCase(),t},Me={h1:Ce("h1"),h2:Ce("h2"),h3:Ce("h3"),h4:Ce("h4"),h5:Ce("h5"),h6:Ce("h6"),p:Ce("p"),code:Ce("code"),pre:Ce("pre")}},function(e,t){e.exports=n},function(e,t,n){"use strict";n.r(t),n.d(t,"align",(function(){return r})),n.d(t,"addScroll",(function(){return i})),n.d(t,"applyLocationOffset",(function(){return u})),n.d(t,"boundingOffset",(function(){return d})),n.d(t,"isBodyOffset",(function(){return m})),n.d(t,"offsetParent",(function(){return h})),n.d(t,"offset",(function(){return v})),n.d(t,"parents",(function(){return g})),n.d(t,"parentScrollPosition",(function(){return b})),n.d(t,"position",(function(){return O})),n.d(t,"positionWithScroll",(function(){return _})),n.d(t,"removeScroll",(function(){return P})),n.d(t,"restrictToView",(function(){return M})),n.d(t,"scrollPosition",(function(){return y})),n.d(t,"siblingContainer",(function(){return S})),n.d(t,"siblings",(function(){return E})),n.d(t,"zIndex",(function(){return T})),n.d(t,"getDocumentElement",(function(){return c})),n.d(t,"getWindow",(function(){return l})),n.d(t,"getWindowViewPort",(function(){return f})),n.d(t,"AlignPoint",(function(){return o})),n.d(t,"Collision",(function(){return k}));var o={bottom:"bottom",center:"center",middle:"middle",left:"left",right:"right",top:"top"},r=function(e){var t=e.anchorRect,n=e.anchorAlign,r=e.elementRect,i=e.elementAlign,u=e.margin;void 0===u&&(u={});var s=n.horizontal,l=n.vertical,c=i.horizontal,a=i.vertical,p=u.horizontal||0,f=u.vertical||0,d=t.top,h=t.left;return l===o.bottom&&(d+=t.height),l!==o.center&&l!==o.middle||(d+=Math.round(t.height/2)),a===o.bottom&&(d-=r.height,f*=-1),a!==o.center&&a!==o.middle||(d-=Math.round(r.height/2),f*=-1),s===o.right&&(h+=t.width),s!==o.center&&s!==o.middle||(h+=Math.round(t.width/2)),c===o.right&&(h-=r.width,p*=-1),c!==o.center&&c!==o.middle||(h-=Math.round(r.width/2),p*=-1),{top:d+f,left:h+p}};function i(e,t){return{top:e.top+t.y,left:e.left+t.x,height:e.height,width:e.width}}function u(e,t,n){var o=e.top,r=e.left;return n&&(r=0,o=0),{top:o+t.top,left:r+t.left,height:e.height,width:e.width}}function s(e){return e.ownerDocument||e.document||e}var l=function(e){return s(e).defaultView},c=function(e){return s(e).documentElement},a=0;function p(){if(!a&&"undefined"!=typeof document){var e=document.createElement("div");e.style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",e.innerHTML=" ",document.body.appendChild(e),a=e.offsetWidth-e.scrollWidth,document.body.removeChild(e)}return a}function f(e){var t=l(e),n=c(e),o={height:t.innerHeight,width:t.innerWidth};return n.scrollHeight-n.clientHeight>0&&(o.width-=p()),o}var d=function(e){if(!e.getBoundingClientRect){var t=f(e);return{bottom:t.height,left:0,right:t.width,top:0}}var n=e.getBoundingClientRect();return{bottom:n.bottom,left:n.left,right:n.right,top:n.top}},h=function(e){for(var t=e.offsetParent;t&&"static"===t.style.position;)t=t.offsetParent;return t||c(e)},m=function(e){return h(e)===e.ownerDocument.body},v=function(e){var t=e.getBoundingClientRect(),n=t.left,o=t.top;return t.height||t.width||(t=function(e){var t=e.style,n=t.display,o=t.left,r=t.position;e.style.display="",e.style.left="-10000px",e.style.position="absolute";var i=e.getBoundingClientRect();return e.style.display=n,e.style.left=o,e.style.position=r,i}(e)),{top:o,left:n,height:t.height,width:t.width}},g=function(e,t){for(var n=[],o=e.parentNode;o&&(n.push(o),o!==t);)o=o.parentNode;return n};function y(e){var t=c(e),n=l(e);return{x:n.pageXOffset||t.scrollLeft||0,y:n.pageYOffset||t.scrollTop||0}}var w=function(e){return e===(e.ownerDocument||{}).body?y(e):{x:e.scrollLeft,y:e.scrollTop}};function b(e){var t=h(e);return t?w(t):{x:0,y:0}}var O=function(e,t){var n=l(e),o=n.getComputedStyle(e),r=v(e),i=t||h(e),u=e.ownerDocument,s=i!==u.body&&i!==u.documentElement,c={top:0,left:0};if("fixed"!==o.position&&s){var a=n.getComputedStyle(i);(c=v(i)).top+=parseInt(a.borderTopWidth,10),c.left+=parseInt(a.borderLeftWidth,10)}return{top:r.top-c.top,left:r.left-c.left,height:r.height,width:r.width}},_=function(e,t,n){void 0===n&&(n=1);var o=t?h(t):null,r=O(e,o),i=r.top,u=r.left,s=r.height,l=r.width,c=function(e,t){return e?w(e):b(t)}(o,e),a=c.x,p=c.y,f=e.ownerDocument,d=o===f.body||o===f.documentElement?1:n;return{top:i+p*d,left:u+a*d,height:s,width:l}};function P(e,t){return{top:e.top-t.y,left:e.left-t.x,height:e.height,width:e.width}}var k={fit:"fit",flip:"flip"},x=function(e,t,n){var o=0;return e+t>n&&(o=n-(e+t)),e<0&&(o=-e),o},C=function(e){var t=e.offset,n=e.size,r=e.anchorSize,i=e.viewPortSize,u=e.anchorAlignPoint,s=e.elementAlignPoint,l=e.margin,c=0,a=s===o.center||s===o.middle,p=u===o.center||u===o.middle,f=2*l;if(s!==u&&!a&&!p){var d=u===o.top||u===o.left;t<0&&d?t+(c=n+r+f)+n>i&&(c=0):t>=0&&!d&&(t+n>i&&(c+=-(r+n+f)),t+c<0&&(c=0))}return c},M=function(e){var t=e.anchorRect,n=e.anchorAlign,o=e.elementRect,r=e.elementAlign,i=e.collisions,u=e.viewPort,s=e.margin;void 0===s&&(s={});var l=o.top,c=o.left,a=o.height,p=o.width,f=u.height,d=u.width,h=s.horizontal||0,m=s.vertical||0,v=0,g=0,y=i.horizontal===k.flip,w=i.vertical===k.flip;i.vertical===k.fit&&(g+=x(l,a,f)),i.horizontal===k.fit&&(v+=x(c,p,d)),w&&(g+=C({margin:m,offset:l,size:a,anchorSize:t.height,viewPortSize:f,anchorAlignPoint:n.vertical,elementAlignPoint:r.vertical})),y&&(v+=C({margin:h,offset:c,size:p,anchorSize:t.width,viewPortSize:d,anchorAlignPoint:n.horizontal,elementAlignPoint:r.horizontal}));var b=y&&0!==v,O=w&&0!==g;return{flipped:b||O,flip:{horizontal:b,vertical:O},offset:{left:v,top:g}}},E=function(e){for(var t=[],n=e.parentNode.firstElementChild;n;)n!==e&&t.push(n),n=n.nextElementSibling;return t},S=function(e,t){for(var n,o,r=g(e),i=t;i&&(n=E(i),!(o=r.reduce((function(e,t){return e.concat(n.filter((function(e){return e===t})))}),[])[0]));)i=i.parentElement;return o};function T(e,t){if(!e||!t)return null;var n=S(e,t);if(!n)return null;var o=[e].concat(g(e,n)).reduce((function(e,t){var n=t.style.zIndex||window.getComputedStyle(t).zIndex,o=parseInt(n,10);return o>e?o:e}),0);return o?o+1:null}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(7);t.Popup=o.Popup,t.PopupPropsContext=o.PopupPropsContext},function(e,t,n){"use strict";var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(8);t.PopupPropsContext=r.createContext((function(e){return e})),t.Popup=r.forwardRef((function(e,n){var u=r.useContext(t.PopupPropsContext).call(void 0,e);return r.createElement(i.Popup,o({ref:n},u))}))},function(e,t,n){"use strict";var o,r=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var u=n(0),s=n(9),l=n(1),c=n(10),a=n(3),p=n(2),f=n(11),d=n(12),h=n(13),m=n(3),v=n(14);function g(e,t){if(e===t)return!0;if(!!e!=!!t)return!1;var n=Object.getOwnPropertyNames(e),o=Object.getOwnPropertyNames(t);if(n.length!==o.length)return!1;for(var r=0;r<n.length;r++){var i=n[r];if(e[i]!==t[i])return!1}return!0}var y,w={left:-1e3,top:0};!function(e){e.hiding="hiding",e.hidden="hidden",e.showing="showing",e.shown="shown",e.reposition="reposition"}(y||(y={}));var b=function(e){function t(t){var n=e.call(this,t)||this;return n.state={current:y.hidden,previous:y.hidden,props:{}},n._popup=null,n.show=function(e){n.setPosition(e),n.animate(e.firstChild,"enter",n.onOpened),n.setState({current:y.shown,previous:n.state.current})},n.setPosition=function(e){var t=n.props,o=t.anchorAlign,r=t.popupAlign,i=t.collision,u=t.offset,s=t.anchor,l=e.firstElementChild,c=getComputedStyle(l),a=c.width,p=c.height;l.style.position="absolute",l.style.width=a,l.style.height=p;var f=n._alignService.alignElement({anchor:s,element:l,elementAlign:r,anchorAlign:o,offset:u}),d=n._positionService.positionElement({anchor:s,anchorAlign:o,collisions:i,element:l,currentLocation:f,elementAlign:r});d.offset&&(e.style.top=d.offset.top+"px",e.style.left=d.offset.left+"px",l.style.position="",l.style.width="",l.style.height=""),n._flipped=d.flipped},n.onOpened=function(){var e=n._popup;e&&(n.props.show&&e.classList.add("k-animation-container-shown"),n.attachRepositionHandlers(e),n.props.onOpen&&n.props.onOpen.call(void 0,{target:n}))},n.animate=function(e,t,o){c.slide(e,n._flipped?"up":"down",n.animationDuration[t],t,o)},n.onClosing=function(e){n.props.show||e.classList.remove("k-animation-container-shown"),n.detachRepositionHandlers()},n.onClosed=function(){n.state.current===y.hiding&&n.state.previous===y.shown&&n.setState({current:y.hidden,previous:n.state.current}),n.props.onClose&&n.props.onClose.call(void 0,{target:n})},m.validatePackage(v.packageMetadata),n._domService=new d.DOMService,n._alignService=new f.AlignService(n._domService),n._positionService=new h.PositionService(n._domService),n.reposition=p.throttle(n.reposition.bind(n),p.FRAME_DURATION),n}return r(t,e),t.getDerivedStateFromProps=function(e,t){var n=e.show,o=e.anchor,r=e.anchorAlign,u=e.appendTo,s=e.collision,l=e.popupAlign,c=e.className,a=e.popupClass,p=e.style,f=e.offset,d=e.contentKey,h=i({},t,{props:{show:n,anchor:o,anchorAlign:r,appendTo:u,collision:s,popupAlign:l,className:c,popupClass:a,style:p,offset:f,contentKey:d}});return e.show?t.current===y.hidden||t.current===y.hiding?i({},h,{current:y.showing,previous:t.current}):t.current===y.showing?i({},h,{current:y.shown,previous:t.current}):t.current!==y.shown||g(f,t.props.offset)&&g(r,t.props.anchorAlign)&&g(u,t.props.appendTo)&&g(s,t.props.collision)&&g(l,t.props.popupAlign)&&g(p,t.props.style)&&o===t.props.anchor&&a===t.props.popupClass&&c===t.props.className?h:i({},h,{current:y.reposition,previous:t.current}):t.current===y.hiding||t.current===y.hidden?i({},h,{current:y.hidden,previous:t.current}):i({},h,{current:y.hiding,previous:t.current})},t.prototype.componentDidUpdate=function(e){this.state.current===y.showing&&this._popup?this.show(this._popup):this.state.current===y.hiding&&this._popup?(this.onClosing(this._popup),this.animate(this._popup.firstChild,"exit",this.onClosed)):this.state.current===y.reposition&&this.state.previous===y.shown?this.setState({current:y.shown,previous:this.state.current}):this.state.current===y.shown&&e.contentKey!==this.props.contentKey&&this._popup&&this.setPosition(this._popup)},t.prototype.componentDidMount=function(){this.state.current===y.showing&&this._popup&&this.show(this._popup)},t.prototype.componentWillUnmount=function(){this.detachRepositionHandlers()},t.prototype.render=function(){var e=this,t=this.props,n=t.children,o=t.className,r=t.popupClass,i=t.show,l=t.id,c=this.props.appendTo?this.props.appendTo:a.canUseDOM?this.props.anchor&&this.props.anchor.ownerDocument?this.props.anchor.ownerDocument.body:document.body:void 0;this.state.current===y.reposition&&this.state.previous===y.shown&&this._popup&&this.setPosition(this._popup);var p=Object.assign({},{position:"absolute"},this.props.style||{}),f=this.state.current===y.hiding;if((i||f)&&c){var d=u.createElement("div",{className:a.classNames("k-animation-container","k-animation-container-relative",o),id:l,ref:function(t){return e._popup=t},style:p},u.createElement("div",{className:a.classNames(r,"k-popup","k-child-animation-container"),style:{transitionDelay:"0ms"}},n));return s.createPortal(d,c)}return null},Object.defineProperty(t.prototype,"animationDuration",{get:function(){var e=this.props.animate,t=0,n=0;return e&&(!0===e?t=n=300:(t=e.openDuration||0,n=e.closeDuration||0)),{enter:t,exit:n}},enumerable:!0,configurable:!0}),t.prototype.attachRepositionHandlers=function(e){var t=this;this.detachRepositionHandlers(),this._scrollableParents=this._domService.scrollableParents(this.props.anchor||e),this._scrollableParents.map((function(e){return e.addEventListener("scroll",t.reposition)})),window.addEventListener("resize",this.reposition)},t.prototype.detachRepositionHandlers=function(){var e=this;this._scrollableParents&&(this._scrollableParents.map((function(t){return t.removeEventListener("scroll",e.reposition)})),this._scrollableParents=void 0),window.removeEventListener("resize",this.reposition)},t.prototype.reposition=function(){this.setState({current:y.reposition,previous:this.state.current})},t.propTypes={anchor:function(e){var t=e.anchor;return t&&"number"!=typeof t.nodeType?new Error("Invalid prop `anchor` supplied to `Kendo React Popup`. Validation failed."):null},appendTo:function(e){var t=e.appendTo;return t&&"number"!=typeof t.nodeType?new Error("Invalid prop `appendTo` supplied to `Kendo React Popup`. Validation failed."):null},className:l.string,id:l.string,popupClass:l.string,collision:l.shape({horizontal:l.oneOf([p.CollisionType.fit,p.CollisionType.flip]),vertical:l.oneOf([p.CollisionType.fit,p.CollisionType.flip])}),anchorAlign:l.shape({horizontal:l.oneOf([p.AlignPoint.left,p.AlignPoint.center,p.AlignPoint.right]),vertical:l.oneOf([p.AlignPoint.top,p.AlignPoint.center,p.AlignPoint.bottom])}),popupAlign:l.shape({horizontal:l.oneOf([p.AlignPoint.left,p.AlignPoint.center,p.AlignPoint.right]),vertical:l.oneOf([p.AlignPoint.top,p.AlignPoint.center,p.AlignPoint.bottom])}),offset:l.shape({left:l.number,top:l.number}),children:l.oneOfType([l.element,l.node]),show:l.bool,animate:l.oneOfType([l.bool,l.shape({openDuration:l.number,closeDuration:l.number})])},t.defaultProps={collision:{horizontal:p.CollisionType.fit,vertical:p.CollisionType.flip},anchorAlign:{horizontal:p.AlignPoint.left,vertical:p.AlignPoint.bottom},popupAlign:{horizontal:p.AlignPoint.left,vertical:p.AlignPoint.top},offset:w,animate:!0,show:!1},t}(u.Component);t.Popup=b},function(e,t){e.exports=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){e.style.transitionDuration="",e.classList.remove("k-slide-down-appear","k-slide-down-appear-active","k-slide-down-exit","k-slide-down-exit-active","k-slide-up-appear","k-slide-up-appear-active","k-slide-up-exit","k-slide-up-exit-active")},r="undefined"!=typeof window&&/Firefox/.test(window.navigator.userAgent);t.slide=function(e,t,n,i,u){if(0===n)return u();var s="k-slide-"+t+"-"+i,l=s+"-active",c=function(){e.removeEventListener("transitionend",c),o(e),u()};e.addEventListener("transitionend",c);var a=e.ownerDocument;if(a){var p=a.defaultView;if(p){var f=function(){o(e),e.classList.add(s),p.requestAnimationFrame((function(){e.style.transitionDuration=n+"ms",e.classList.add(l)}))};r?p.requestAnimationFrame(f):f()}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),r=function(){function e(e){this._dom=e}return e.prototype.alignElement=function(e){var t=e.anchor,n=e.element,o=e.anchorAlign,r=e.elementAlign,i=e.offset,u=!this._dom.hasOffsetParent(n)?this.absoluteRect(t,n,i):this.relativeRect(t,n,i);return this._dom.align({anchorAlign:o,anchorRect:u,elementAlign:r,elementRect:this._dom.offset(n)})},e.prototype.absoluteRect=function(e,t,n){var r=this._dom,i=o.eitherRect(r.offset(e),n),u=r.stackingElementOffset(t),s=o.removeStackingOffset(i,u),l=r.stackingElementScroll(t),c=r.addScroll(s,l),a=this.elementScrollPosition(e,t),p=r.removeScroll(c,a);return p.left+=window.scrollX||window.pageXOffset,p.top+=window.scrollY||window.pageYOffset,p},e.prototype.elementScrollPosition=function(e,t){return e?{x:0,y:0}:this._dom.scrollPosition(t)},e.prototype.relativeRect=function(e,t,n){return o.eitherRect(this._dom.position(e,t),n)},e}();t.AlignService=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(5),r=n(2),i=n(3),u=function(){function e(){}return e.prototype.addOffset=function(e,t){return{left:e.left+t.left,top:e.top+t.top}},e.prototype.align=function(e){return o.align(e)},e.prototype.boundingOffset=function(e){return o.boundingOffset(e)},e.prototype.getWindow=function(){return i.canUseDOM?window:null},e.prototype.isBodyOffset=function(e){return o.isBodyOffset(e)},e.prototype.hasOffsetParent=function(e){if(!e)return!1;var t=e.offsetParent;return t&&!("BODY"===t.nodeName&&"static"===window.getComputedStyle(t).position)},e.prototype.offset=function(e){return e?o.offset(e):null},e.prototype.staticOffset=function(e){if(!e)return null;var t=e.style,n=t.left,r=t.top;e.style.left="0px",e.style.top="0px";var i=o.offset(e);return e.style.left=n,e.style.top=r,i},e.prototype.position=function(e,t){if(!e||!t)return null;var n=o.siblingContainer(e,t);return o.positionWithScroll(e,n)},e.prototype.relativeOffset=function(e,t){return o.applyLocationOffset(this.offset(e),t,this.isBodyOffset(e))},e.prototype.addScroll=function(e,t){return o.addScroll(e,t)},e.prototype.removeScroll=function(e,t){return o.removeScroll(e,t)},e.prototype.restrictToView=function(e){return o.restrictToView(e)},e.prototype.scrollPosition=function(e){return o.scrollPosition(e)},e.prototype.scrollableParents=function(e){return r.scrollableParents(e)},e.prototype.stackingElementOffset=function(e){var t=this.getRelativeContextElement(e);return t?o.offset(t):null},e.prototype.stackingElementScroll=function(e){var t=this.getRelativeContextElement(e);return t?{x:t.scrollLeft,y:t.scrollTop}:{x:0,y:0}},e.prototype.stackingElementViewPort=function(e){var t=this.getRelativeContextElement(e);return t?{height:t.scrollHeight,width:t.scrollWidth}:null},e.prototype.getRelativeContextElement=function(e){if(!e||!r.HAS_RELATIVE_STACKING_CONTEXT)return null;for(var t=e.parentElement;t;){if("none"!==window.getComputedStyle(t).transform)return t;t=t.parentElement}return null},e.prototype.useRelativePosition=function(e){return!!this.getRelativeContextElement(e)},e.prototype.windowViewPort=function(e){return o.getWindowViewPort(e)},e.prototype.zIndex=function(e,t){return r.zIndex(e,t)},e.prototype.zoomLevel=function(){return i.canUseDOM?parseFloat((document.documentElement.clientWidth/window.innerWidth).toFixed(2)):1},e.prototype.isZoomed=function(){return this.zoomLevel()>1},e}();t.DOMService=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),r=function(){function e(e){this._dom=e}return e.prototype.positionElement=function(e){var t=e.anchor,n=e.currentLocation,r=e.element,i=e.anchorAlign,u=e.elementAlign,s=e.collisions,l=this._dom,c=e.viewPort||l.stackingElementViewPort(r)||l.windowViewPort(r),a=o.eitherRect(l.offset(t),n),p=o.replaceOffset(l.staticOffset(r),n),f=this.elementRect(r,p),d=l.restrictToView({anchorAlign:i,anchorRect:a,collisions:s,elementAlign:u,elementRect:f,viewPort:c});return{flipped:d.flipped,offset:l.addOffset(p,d.offset)}},e.prototype.elementRect=function(e,t){return this._dom.removeScroll(t,this._dom.scrollPosition(e))},e}();t.PositionService=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-react-popup",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1635454846,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"}}])}));
|
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-react-popup',
|
|
6
6
|
productName: 'KendoReact',
|
|
7
7
|
productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1635454846,
|
|
9
9
|
version: '',
|
|
10
10
|
licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
|
|
11
11
|
};
|
|
@@ -7,7 +7,7 @@ exports.packageMetadata = {
|
|
|
7
7
|
name: '@progress/kendo-react-popup',
|
|
8
8
|
productName: 'KendoReact',
|
|
9
9
|
productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
|
|
10
|
-
publishDate:
|
|
10
|
+
publishDate: 1635454846,
|
|
11
11
|
version: '',
|
|
12
12
|
licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
|
|
13
13
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register("@progress/kendo-react-popup",["react","react-dom","prop-types","@progress/kendo-react-common","@progress/kendo-popup-common"],function(r){var s,p,l,a,c;function e(t){return t.__useDefault?t.default:t}return{setters:[function(t){s=e(t)},function(t){p=e(t)},function(t){l=e(t)},function(t){a=e(t)},function(t){c=e(t)}],execute:function(){function i(t){if(o[t])return o[t].exports;var e=o[t]={i:t,l:!1,exports:{}};return n[t].call(e.exports,e,e.exports,i),e.l=!0,e.exports}var n,o;n=[function(t,e){t.exports=a},function(t,o,e){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var n=e(3),i=e(0);o.eitherRect=function(t,e){return t||{height:0,left:e.left,top:e.top,width:0}},o.replaceOffset=function(t,e){return e?{height:t.height,left:e.left,top:e.top,width:t.width}:t},o.removeStackingOffset=function(t,e){return e?{height:t.height,left:t.left-e.left,top:t.top-e.top,width:t.width}:t},o.isDifferentOffset=function(t,e){var n=t.left,o=t.top,t=e.left,e=e.top;return 1<=Math.abs(n-t)||1<=Math.abs(o-e)},o.hasBoundingRect=function(t){return!!t.getBoundingClientRect},o.OVERFLOW_REGEXP=/auto|scroll/;o.scrollableParents=function(t){var e=[];if(!i.canUseDOM)return e;for(var n=t.parentElement;n;)o.OVERFLOW_REGEXP.test(function(t){t=window.getComputedStyle(t);return""+t.overflow+t.overflowX+t.overflowY}(n))&&e.push(n),n=n.parentElement;return e.push(window),e},o.FRAME_DURATION=1e3/60,o.HAS_RELATIVE_STACKING_CONTEXT=i.hasRelativeStackingContext(),o.zIndex=function(t,e){if(!t||!i.canUseDOM)return null;e=n.siblingContainer(t,e);if(!e)return null;e=[t].concat(n.parents(t,e)).reduce(function(t,e){e=e.style.zIndex||window.getComputedStyle(e).zIndex,e=parseInt(e,10);return t<e?e:t},0);return e?e+1:null},o.CollisionType={fit:"fit",flip:"flip"},o.AlignPoint={left:"left",center:"center",right:"right",bottom:"bottom",top:"top"},o.throttle=function(n,o,i){var r,s,p,l,a=0;i=(i=void 0===i?{}:i)||{};function c(){a=!1===i.leading?0:(new Date).getTime(),r=null,l=n.apply(s,p),r||(s=p=null)}return function(){var t=(new Date).getTime();a||!1!==i.leading||(a=t);var e=o-(t-a);return s=this,p=arguments,e<=0||o<e?(r&&(clearTimeout(r),r=null),a=t,l=n.apply(s,p),r||(s=p=null)):r||!1===i.trailing||(r=window.setTimeout(c,e)),l}}},function(t,e){t.exports=s},function(t,e){t.exports=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});n=n(5);e.Popup=n.Popup,e.PopupPropsContext=n.PopupPropsContext,function(t){for(var e in t)r(e,t[e])}(e)},function(t,n,e){"use strict";var o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};Object.defineProperty(n,"__esModule",{value:!0});var i=e(2),r=e(6);n.PopupPropsContext=i.createContext(function(t){return t}),n.Popup=i.forwardRef(function(t,e){t=i.useContext(n.PopupPropsContext).call(void 0,t);return i.createElement(r.Popup,o({ref:e},t))})},function(t,e,n){"use strict";var o,i=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),d=this&&this.__assign||function(){return(d=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var a=n(2),c=n(7),r=n(8),s=n(9),u=n(0),p=n(1),l=n(10),f=n(11),h=n(12),m=n(0),g=n(13);function v(t,e){if(t===e)return 1;if(!!t==!!e){var n=Object.getOwnPropertyNames(t),o=Object.getOwnPropertyNames(e);if(n.length===o.length){for(var i=0;i<n.length;i++){var r=n[i];if(t[r]!==e[r])return}return 1}}}var y,w={left:-1e3,top:0};(n=y=y||{}).hiding="hiding",n.hidden="hidden",n.showing="showing",n.shown="shown",n.reposition="reposition";var _,w=(_=a.Component,i(P,_),P.getDerivedStateFromProps=function(t,e){var n=t.show,o=t.anchor,i=t.anchorAlign,r=t.appendTo,s=t.collision,p=t.popupAlign,l=t.className,a=t.popupClass,c=t.style,u=t.offset,f=t.contentKey,f=d({},e,{props:{show:n,anchor:o,anchorAlign:i,appendTo:r,collision:s,popupAlign:p,className:l,popupClass:a,style:c,offset:u,contentKey:f}});return t.show?e.current===y.hidden||e.current===y.hiding?d({},f,{current:y.showing,previous:e.current}):e.current===y.showing?d({},f,{current:y.shown,previous:e.current}):e.current!==y.shown||v(u,e.props.offset)&&v(i,e.props.anchorAlign)&&v(r,e.props.appendTo)&&v(s,e.props.collision)&&v(p,e.props.popupAlign)&&v(c,e.props.style)&&o===e.props.anchor&&a===e.props.popupClass&&l===e.props.className?f:d({},f,{current:y.reposition,previous:e.current}):e.current===y.hiding||e.current===y.hidden?d({},f,{current:y.hidden,previous:e.current}):d({},f,{current:y.hiding,previous:e.current})},P.prototype.componentDidUpdate=function(t){this.state.current===y.showing&&this._popup?this.show(this._popup):this.state.current===y.hiding&&this._popup?(this.onClosing(this._popup),this.animate(this._popup.firstChild,"exit",this.onClosed)):this.state.current===y.reposition&&this.state.previous===y.shown?this.setState({current:y.shown,previous:this.state.current}):this.state.current===y.shown&&t.contentKey!==this.props.contentKey&&this._popup&&this.setPosition(this._popup)},P.prototype.componentDidMount=function(){this.state.current===y.showing&&this._popup&&this.show(this._popup)},P.prototype.componentWillUnmount=function(){this.detachRepositionHandlers()},P.prototype.render=function(){var e=this,t=this.props,n=t.children,o=t.className,i=t.popupClass,r=t.show,s=t.id,p=this.props.appendTo||(u.canUseDOM?(this.props.anchor&&this.props.anchor.ownerDocument?this.props.anchor.ownerDocument:document).body:void 0);this.state.current===y.reposition&&this.state.previous===y.shown&&this._popup&&this.setPosition(this._popup);var l=Object.assign({},{position:"absolute"},this.props.style||{}),t=this.state.current===y.hiding;if((r||t)&&p){n=a.createElement("div",{className:u.classNames("k-animation-container","k-animation-container-relative",o),id:s,ref:function(t){return e._popup=t},style:l},a.createElement("div",{className:u.classNames(i,"k-popup","k-child-animation-container"),style:{transitionDelay:"0ms"}},n));return c.createPortal(n,p)}return null},Object.defineProperty(P.prototype,"animationDuration",{get:function(){var t=this.props.animate,e=0,n=0;return t&&(!0===t?e=n=300:(e=t.openDuration||0,n=t.closeDuration||0)),{enter:e,exit:n}},enumerable:!0,configurable:!0}),P.prototype.attachRepositionHandlers=function(t){var e=this;this.detachRepositionHandlers(),this._scrollableParents=this._domService.scrollableParents(this.props.anchor||t),this._scrollableParents.map(function(t){return t.addEventListener("scroll",e.reposition)}),window.addEventListener("resize",this.reposition)},P.prototype.detachRepositionHandlers=function(){var e=this;this._scrollableParents&&(this._scrollableParents.map(function(t){return t.removeEventListener("scroll",e.reposition)}),this._scrollableParents=void 0),window.removeEventListener("resize",this.reposition)},P.prototype.reposition=function(){this.setState({current:y.reposition,previous:this.state.current})},P.propTypes={anchor:function(t){t=t.anchor;return t&&"number"!=typeof t.nodeType?new Error("Invalid prop `anchor` supplied to `Kendo React Popup`. Validation failed."):null},appendTo:function(t){t=t.appendTo;return t&&"number"!=typeof t.nodeType?new Error("Invalid prop `appendTo` supplied to `Kendo React Popup`. Validation failed."):null},className:r.string,id:r.string,popupClass:r.string,collision:r.shape({horizontal:r.oneOf([p.CollisionType.fit,p.CollisionType.flip]),vertical:r.oneOf([p.CollisionType.fit,p.CollisionType.flip])}),anchorAlign:r.shape({horizontal:r.oneOf([p.AlignPoint.left,p.AlignPoint.center,p.AlignPoint.right]),vertical:r.oneOf([p.AlignPoint.top,p.AlignPoint.center,p.AlignPoint.bottom])}),popupAlign:r.shape({horizontal:r.oneOf([p.AlignPoint.left,p.AlignPoint.center,p.AlignPoint.right]),vertical:r.oneOf([p.AlignPoint.top,p.AlignPoint.center,p.AlignPoint.bottom])}),offset:r.shape({left:r.number,top:r.number}),children:r.oneOfType([r.element,r.node]),show:r.bool,animate:r.oneOfType([r.bool,r.shape({openDuration:r.number,closeDuration:r.number})])},P.defaultProps={collision:{horizontal:p.CollisionType.fit,vertical:p.CollisionType.flip},anchorAlign:{horizontal:p.AlignPoint.left,vertical:p.AlignPoint.bottom},popupAlign:{horizontal:p.AlignPoint.left,vertical:p.AlignPoint.top},offset:w,animate:!0,show:!1},P);function P(t){var a=_.call(this,t)||this;return a.state={current:y.hidden,previous:y.hidden,props:{}},a._popup=null,a.show=function(t){a.setPosition(t),a.animate(t.firstChild,"enter",a.onOpened),a.setState({current:y.shown,previous:a.state.current})},a.setPosition=function(t){var e=a.props,n=e.anchorAlign,o=e.popupAlign,i=e.collision,r=e.offset,s=e.anchor,p=t.firstElementChild,l=getComputedStyle(p),e=l.width,l=l.height;p.style.position="absolute",p.style.width=e,p.style.height=l;r=a._alignService.alignElement({anchor:s,element:p,elementAlign:o,anchorAlign:n,offset:r}),o=a._positionService.positionElement({anchor:s,anchorAlign:n,collisions:i,element:p,currentLocation:r,elementAlign:o});o.offset&&(t.style.top=o.offset.top+"px",t.style.left=o.offset.left+"px",p.style.position="",p.style.width="",p.style.height=""),a._flipped=o.flipped},a.onOpened=function(){var t=a._popup;t&&(a.props.show&&t.classList.add("k-animation-container-shown"),a.attachRepositionHandlers(t),a.props.onOpen&&a.props.onOpen.call(void 0,{target:a}))},a.animate=function(t,e,n){s.slide(t,a._flipped?"up":"down",a.animationDuration[e],e,n)},a.onClosing=function(t){a.props.show||t.classList.remove("k-animation-container-shown"),a.detachRepositionHandlers()},a.onClosed=function(){a.state.current===y.hiding&&a.state.previous===y.shown&&a.setState({current:y.hidden,previous:a.state.current}),a.props.onClose&&a.props.onClose.call(void 0,{target:a})},m.validatePackage(g.packageMetadata),a._domService=new f.DOMService,a._alignService=new l.AlignService(a._domService),a._positionService=new h.PositionService(a._domService),a.reposition=p.throttle(a.reposition.bind(a),p.FRAME_DURATION),a}e.Popup=w},function(t,e){t.exports=p},function(t,e){t.exports=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});function a(t){t.style.transitionDuration="",t.classList.remove("k-slide-down-appear","k-slide-down-appear-active","k-slide-down-exit","k-slide-down-exit-active","k-slide-up-appear","k-slide-up-appear-active","k-slide-up-exit","k-slide-up-exit-active")}var c="undefined"!=typeof window&&/Firefox/.test(window.navigator.userAgent);e.slide=function(t,e,n,o,i){if(0===n)return i();function r(){t.removeEventListener("transitionend",r),a(t),i()}var s="k-slide-"+e+"-"+o,p=s+"-active";t.addEventListener("transitionend",r);var l,o=t.ownerDocument;!o||(l=o.defaultView)&&(o=function(){a(t),t.classList.add(s),l.requestAnimationFrame(function(){t.style.transitionDuration=n+"ms",t.classList.add(p)})},c?l.requestAnimationFrame(o):o())}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),n=(o.prototype.alignElement=function(t){var e=t.anchor,n=t.element,o=t.anchorAlign,i=t.elementAlign,t=t.offset,t=this._dom.hasOffsetParent(n)?this.relativeRect(e,n,t):this.absoluteRect(e,n,t);return this._dom.align({anchorAlign:o,anchorRect:t,elementAlign:i,elementRect:this._dom.offset(n)})},o.prototype.absoluteRect=function(t,e,n){var o=this._dom,i=r.eitherRect(o.offset(t),n),n=o.stackingElementOffset(e),i=r.removeStackingOffset(i,n),n=o.stackingElementScroll(e),n=o.addScroll(i,n),e=this.elementScrollPosition(t,e),e=o.removeScroll(n,e);return e.left+=window.scrollX||window.pageXOffset,e.top+=window.scrollY||window.pageYOffset,e},o.prototype.elementScrollPosition=function(t,e){return t?{x:0,y:0}:this._dom.scrollPosition(e)},o.prototype.relativeRect=function(t,e,n){return r.eitherRect(this._dom.position(t,e),n)},o);function o(t){this._dom=t}e.AlignService=n},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3),o=n(1),r=n(0),n=(s.prototype.addOffset=function(t,e){return{left:t.left+e.left,top:t.top+e.top}},s.prototype.align=function(t){return i.align(t)},s.prototype.boundingOffset=function(t){return i.boundingOffset(t)},s.prototype.getWindow=function(){return r.canUseDOM?window:null},s.prototype.isBodyOffset=function(t){return i.isBodyOffset(t)},s.prototype.hasOffsetParent=function(t){if(!t)return!1;t=t.offsetParent;return t&&!("BODY"===t.nodeName&&"static"===window.getComputedStyle(t).position)},s.prototype.offset=function(t){return t?i.offset(t):null},s.prototype.staticOffset=function(t){if(!t)return null;var e=t.style,n=e.left,o=e.top;t.style.left="0px",t.style.top="0px";e=i.offset(t);return t.style.left=n,t.style.top=o,e},s.prototype.position=function(t,e){if(!t||!e)return null;e=i.siblingContainer(t,e);return i.positionWithScroll(t,e)},s.prototype.relativeOffset=function(t,e){return i.applyLocationOffset(this.offset(t),e,this.isBodyOffset(t))},s.prototype.addScroll=function(t,e){return i.addScroll(t,e)},s.prototype.removeScroll=function(t,e){return i.removeScroll(t,e)},s.prototype.restrictToView=function(t){return i.restrictToView(t)},s.prototype.scrollPosition=function(t){return i.scrollPosition(t)},s.prototype.scrollableParents=function(t){return o.scrollableParents(t)},s.prototype.stackingElementOffset=function(t){t=this.getRelativeContextElement(t);return t?i.offset(t):null},s.prototype.stackingElementScroll=function(t){t=this.getRelativeContextElement(t);return t?{x:t.scrollLeft,y:t.scrollTop}:{x:0,y:0}},s.prototype.stackingElementViewPort=function(t){t=this.getRelativeContextElement(t);return t?{height:t.scrollHeight,width:t.scrollWidth}:null},s.prototype.getRelativeContextElement=function(t){if(!t||!o.HAS_RELATIVE_STACKING_CONTEXT)return null;for(var e=t.parentElement;e;){if("none"!==window.getComputedStyle(e).transform)return e;e=e.parentElement}return null},s.prototype.useRelativePosition=function(t){return!!this.getRelativeContextElement(t)},s.prototype.windowViewPort=function(t){return i.getWindowViewPort(t)},s.prototype.zIndex=function(t,e){return o.zIndex(t,e)},s.prototype.zoomLevel=function(){return r.canUseDOM?parseFloat((document.documentElement.clientWidth/window.innerWidth).toFixed(2)):1},s.prototype.isZoomed=function(){return 1<this.zoomLevel()},s);function s(){}e.DOMService=n},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=n(1),n=(o.prototype.positionElement=function(t){var e=t.anchor,n=t.currentLocation,o=t.element,i=t.anchorAlign,r=t.elementAlign,s=t.collisions,p=this._dom,t=t.viewPort||p.stackingElementViewPort(o)||p.windowViewPort(o),e=l.eitherRect(p.offset(e),n),n=l.replaceOffset(p.staticOffset(o),n),o=this.elementRect(o,n),t=p.restrictToView({anchorAlign:i,anchorRect:e,collisions:s,elementAlign:r,elementRect:o,viewPort:t});return{flipped:t.flipped,offset:p.addOffset(n,t.offset)}},o.prototype.elementRect=function(t,e){return this._dom.removeScroll(e,this._dom.scrollPosition(t))},o);function o(t){this._dom=t}e.PositionService=n},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.packageMetadata={name:"@progress/kendo-react-popup",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1635344607,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"}}],o={},i.m=n,i.c=o,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)i.d(n,o,function(t){return e[t]}.bind(null,o));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=4)}}});
|
|
1
|
+
System.register("@progress/kendo-react-popup",["react","react-dom","prop-types","@progress/kendo-react-common","@progress/kendo-popup-common"],function(r){var s,p,l,a,c;function e(t){return t.__useDefault?t.default:t}return{setters:[function(t){s=e(t)},function(t){p=e(t)},function(t){l=e(t)},function(t){a=e(t)},function(t){c=e(t)}],execute:function(){function i(t){if(o[t])return o[t].exports;var e=o[t]={i:t,l:!1,exports:{}};return n[t].call(e.exports,e,e.exports,i),e.l=!0,e.exports}var n,o;n=[function(t,e){t.exports=a},function(t,o,e){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var n=e(3),i=e(0);o.eitherRect=function(t,e){return t||{height:0,left:e.left,top:e.top,width:0}},o.replaceOffset=function(t,e){return e?{height:t.height,left:e.left,top:e.top,width:t.width}:t},o.removeStackingOffset=function(t,e){return e?{height:t.height,left:t.left-e.left,top:t.top-e.top,width:t.width}:t},o.isDifferentOffset=function(t,e){var n=t.left,o=t.top,t=e.left,e=e.top;return 1<=Math.abs(n-t)||1<=Math.abs(o-e)},o.hasBoundingRect=function(t){return!!t.getBoundingClientRect},o.OVERFLOW_REGEXP=/auto|scroll/;o.scrollableParents=function(t){var e=[];if(!i.canUseDOM)return e;for(var n=t.parentElement;n;)o.OVERFLOW_REGEXP.test(function(t){t=window.getComputedStyle(t);return""+t.overflow+t.overflowX+t.overflowY}(n))&&e.push(n),n=n.parentElement;return e.push(window),e},o.FRAME_DURATION=1e3/60,o.HAS_RELATIVE_STACKING_CONTEXT=i.hasRelativeStackingContext(),o.zIndex=function(t,e){if(!t||!i.canUseDOM)return null;e=n.siblingContainer(t,e);if(!e)return null;e=[t].concat(n.parents(t,e)).reduce(function(t,e){e=e.style.zIndex||window.getComputedStyle(e).zIndex,e=parseInt(e,10);return t<e?e:t},0);return e?e+1:null},o.CollisionType={fit:"fit",flip:"flip"},o.AlignPoint={left:"left",center:"center",right:"right",bottom:"bottom",top:"top"},o.throttle=function(n,o,i){var r,s,p,l,a=0;i=(i=void 0===i?{}:i)||{};function c(){a=!1===i.leading?0:(new Date).getTime(),r=null,l=n.apply(s,p),r||(s=p=null)}return function(){var t=(new Date).getTime();a||!1!==i.leading||(a=t);var e=o-(t-a);return s=this,p=arguments,e<=0||o<e?(r&&(clearTimeout(r),r=null),a=t,l=n.apply(s,p),r||(s=p=null)):r||!1===i.trailing||(r=window.setTimeout(c,e)),l}}},function(t,e){t.exports=s},function(t,e){t.exports=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});n=n(5);e.Popup=n.Popup,e.PopupPropsContext=n.PopupPropsContext,function(t){for(var e in t)r(e,t[e])}(e)},function(t,n,e){"use strict";var o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};Object.defineProperty(n,"__esModule",{value:!0});var i=e(2),r=e(6);n.PopupPropsContext=i.createContext(function(t){return t}),n.Popup=i.forwardRef(function(t,e){t=i.useContext(n.PopupPropsContext).call(void 0,t);return i.createElement(r.Popup,o({ref:e},t))})},function(t,e,n){"use strict";var o,i=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),d=this&&this.__assign||function(){return(d=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var a=n(2),c=n(7),r=n(8),s=n(9),u=n(0),p=n(1),l=n(10),f=n(11),h=n(12),m=n(0),g=n(13);function v(t,e){if(t===e)return 1;if(!!t==!!e){var n=Object.getOwnPropertyNames(t),o=Object.getOwnPropertyNames(e);if(n.length===o.length){for(var i=0;i<n.length;i++){var r=n[i];if(t[r]!==e[r])return}return 1}}}var y,w={left:-1e3,top:0};(n=y=y||{}).hiding="hiding",n.hidden="hidden",n.showing="showing",n.shown="shown",n.reposition="reposition";var _,w=(_=a.Component,i(P,_),P.getDerivedStateFromProps=function(t,e){var n=t.show,o=t.anchor,i=t.anchorAlign,r=t.appendTo,s=t.collision,p=t.popupAlign,l=t.className,a=t.popupClass,c=t.style,u=t.offset,f=t.contentKey,f=d({},e,{props:{show:n,anchor:o,anchorAlign:i,appendTo:r,collision:s,popupAlign:p,className:l,popupClass:a,style:c,offset:u,contentKey:f}});return t.show?e.current===y.hidden||e.current===y.hiding?d({},f,{current:y.showing,previous:e.current}):e.current===y.showing?d({},f,{current:y.shown,previous:e.current}):e.current!==y.shown||v(u,e.props.offset)&&v(i,e.props.anchorAlign)&&v(r,e.props.appendTo)&&v(s,e.props.collision)&&v(p,e.props.popupAlign)&&v(c,e.props.style)&&o===e.props.anchor&&a===e.props.popupClass&&l===e.props.className?f:d({},f,{current:y.reposition,previous:e.current}):e.current===y.hiding||e.current===y.hidden?d({},f,{current:y.hidden,previous:e.current}):d({},f,{current:y.hiding,previous:e.current})},P.prototype.componentDidUpdate=function(t){this.state.current===y.showing&&this._popup?this.show(this._popup):this.state.current===y.hiding&&this._popup?(this.onClosing(this._popup),this.animate(this._popup.firstChild,"exit",this.onClosed)):this.state.current===y.reposition&&this.state.previous===y.shown?this.setState({current:y.shown,previous:this.state.current}):this.state.current===y.shown&&t.contentKey!==this.props.contentKey&&this._popup&&this.setPosition(this._popup)},P.prototype.componentDidMount=function(){this.state.current===y.showing&&this._popup&&this.show(this._popup)},P.prototype.componentWillUnmount=function(){this.detachRepositionHandlers()},P.prototype.render=function(){var e=this,t=this.props,n=t.children,o=t.className,i=t.popupClass,r=t.show,s=t.id,p=this.props.appendTo||(u.canUseDOM?(this.props.anchor&&this.props.anchor.ownerDocument?this.props.anchor.ownerDocument:document).body:void 0);this.state.current===y.reposition&&this.state.previous===y.shown&&this._popup&&this.setPosition(this._popup);var l=Object.assign({},{position:"absolute"},this.props.style||{}),t=this.state.current===y.hiding;if((r||t)&&p){n=a.createElement("div",{className:u.classNames("k-animation-container","k-animation-container-relative",o),id:s,ref:function(t){return e._popup=t},style:l},a.createElement("div",{className:u.classNames(i,"k-popup","k-child-animation-container"),style:{transitionDelay:"0ms"}},n));return c.createPortal(n,p)}return null},Object.defineProperty(P.prototype,"animationDuration",{get:function(){var t=this.props.animate,e=0,n=0;return t&&(!0===t?e=n=300:(e=t.openDuration||0,n=t.closeDuration||0)),{enter:e,exit:n}},enumerable:!0,configurable:!0}),P.prototype.attachRepositionHandlers=function(t){var e=this;this.detachRepositionHandlers(),this._scrollableParents=this._domService.scrollableParents(this.props.anchor||t),this._scrollableParents.map(function(t){return t.addEventListener("scroll",e.reposition)}),window.addEventListener("resize",this.reposition)},P.prototype.detachRepositionHandlers=function(){var e=this;this._scrollableParents&&(this._scrollableParents.map(function(t){return t.removeEventListener("scroll",e.reposition)}),this._scrollableParents=void 0),window.removeEventListener("resize",this.reposition)},P.prototype.reposition=function(){this.setState({current:y.reposition,previous:this.state.current})},P.propTypes={anchor:function(t){t=t.anchor;return t&&"number"!=typeof t.nodeType?new Error("Invalid prop `anchor` supplied to `Kendo React Popup`. Validation failed."):null},appendTo:function(t){t=t.appendTo;return t&&"number"!=typeof t.nodeType?new Error("Invalid prop `appendTo` supplied to `Kendo React Popup`. Validation failed."):null},className:r.string,id:r.string,popupClass:r.string,collision:r.shape({horizontal:r.oneOf([p.CollisionType.fit,p.CollisionType.flip]),vertical:r.oneOf([p.CollisionType.fit,p.CollisionType.flip])}),anchorAlign:r.shape({horizontal:r.oneOf([p.AlignPoint.left,p.AlignPoint.center,p.AlignPoint.right]),vertical:r.oneOf([p.AlignPoint.top,p.AlignPoint.center,p.AlignPoint.bottom])}),popupAlign:r.shape({horizontal:r.oneOf([p.AlignPoint.left,p.AlignPoint.center,p.AlignPoint.right]),vertical:r.oneOf([p.AlignPoint.top,p.AlignPoint.center,p.AlignPoint.bottom])}),offset:r.shape({left:r.number,top:r.number}),children:r.oneOfType([r.element,r.node]),show:r.bool,animate:r.oneOfType([r.bool,r.shape({openDuration:r.number,closeDuration:r.number})])},P.defaultProps={collision:{horizontal:p.CollisionType.fit,vertical:p.CollisionType.flip},anchorAlign:{horizontal:p.AlignPoint.left,vertical:p.AlignPoint.bottom},popupAlign:{horizontal:p.AlignPoint.left,vertical:p.AlignPoint.top},offset:w,animate:!0,show:!1},P);function P(t){var a=_.call(this,t)||this;return a.state={current:y.hidden,previous:y.hidden,props:{}},a._popup=null,a.show=function(t){a.setPosition(t),a.animate(t.firstChild,"enter",a.onOpened),a.setState({current:y.shown,previous:a.state.current})},a.setPosition=function(t){var e=a.props,n=e.anchorAlign,o=e.popupAlign,i=e.collision,r=e.offset,s=e.anchor,p=t.firstElementChild,l=getComputedStyle(p),e=l.width,l=l.height;p.style.position="absolute",p.style.width=e,p.style.height=l;r=a._alignService.alignElement({anchor:s,element:p,elementAlign:o,anchorAlign:n,offset:r}),o=a._positionService.positionElement({anchor:s,anchorAlign:n,collisions:i,element:p,currentLocation:r,elementAlign:o});o.offset&&(t.style.top=o.offset.top+"px",t.style.left=o.offset.left+"px",p.style.position="",p.style.width="",p.style.height=""),a._flipped=o.flipped},a.onOpened=function(){var t=a._popup;t&&(a.props.show&&t.classList.add("k-animation-container-shown"),a.attachRepositionHandlers(t),a.props.onOpen&&a.props.onOpen.call(void 0,{target:a}))},a.animate=function(t,e,n){s.slide(t,a._flipped?"up":"down",a.animationDuration[e],e,n)},a.onClosing=function(t){a.props.show||t.classList.remove("k-animation-container-shown"),a.detachRepositionHandlers()},a.onClosed=function(){a.state.current===y.hiding&&a.state.previous===y.shown&&a.setState({current:y.hidden,previous:a.state.current}),a.props.onClose&&a.props.onClose.call(void 0,{target:a})},m.validatePackage(g.packageMetadata),a._domService=new f.DOMService,a._alignService=new l.AlignService(a._domService),a._positionService=new h.PositionService(a._domService),a.reposition=p.throttle(a.reposition.bind(a),p.FRAME_DURATION),a}e.Popup=w},function(t,e){t.exports=p},function(t,e){t.exports=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});function a(t){t.style.transitionDuration="",t.classList.remove("k-slide-down-appear","k-slide-down-appear-active","k-slide-down-exit","k-slide-down-exit-active","k-slide-up-appear","k-slide-up-appear-active","k-slide-up-exit","k-slide-up-exit-active")}var c="undefined"!=typeof window&&/Firefox/.test(window.navigator.userAgent);e.slide=function(t,e,n,o,i){if(0===n)return i();function r(){t.removeEventListener("transitionend",r),a(t),i()}var s="k-slide-"+e+"-"+o,p=s+"-active";t.addEventListener("transitionend",r);var l,o=t.ownerDocument;!o||(l=o.defaultView)&&(o=function(){a(t),t.classList.add(s),l.requestAnimationFrame(function(){t.style.transitionDuration=n+"ms",t.classList.add(p)})},c?l.requestAnimationFrame(o):o())}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),n=(o.prototype.alignElement=function(t){var e=t.anchor,n=t.element,o=t.anchorAlign,i=t.elementAlign,t=t.offset,t=this._dom.hasOffsetParent(n)?this.relativeRect(e,n,t):this.absoluteRect(e,n,t);return this._dom.align({anchorAlign:o,anchorRect:t,elementAlign:i,elementRect:this._dom.offset(n)})},o.prototype.absoluteRect=function(t,e,n){var o=this._dom,i=r.eitherRect(o.offset(t),n),n=o.stackingElementOffset(e),i=r.removeStackingOffset(i,n),n=o.stackingElementScroll(e),n=o.addScroll(i,n),e=this.elementScrollPosition(t,e),e=o.removeScroll(n,e);return e.left+=window.scrollX||window.pageXOffset,e.top+=window.scrollY||window.pageYOffset,e},o.prototype.elementScrollPosition=function(t,e){return t?{x:0,y:0}:this._dom.scrollPosition(e)},o.prototype.relativeRect=function(t,e,n){return r.eitherRect(this._dom.position(t,e),n)},o);function o(t){this._dom=t}e.AlignService=n},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3),o=n(1),r=n(0),n=(s.prototype.addOffset=function(t,e){return{left:t.left+e.left,top:t.top+e.top}},s.prototype.align=function(t){return i.align(t)},s.prototype.boundingOffset=function(t){return i.boundingOffset(t)},s.prototype.getWindow=function(){return r.canUseDOM?window:null},s.prototype.isBodyOffset=function(t){return i.isBodyOffset(t)},s.prototype.hasOffsetParent=function(t){if(!t)return!1;t=t.offsetParent;return t&&!("BODY"===t.nodeName&&"static"===window.getComputedStyle(t).position)},s.prototype.offset=function(t){return t?i.offset(t):null},s.prototype.staticOffset=function(t){if(!t)return null;var e=t.style,n=e.left,o=e.top;t.style.left="0px",t.style.top="0px";e=i.offset(t);return t.style.left=n,t.style.top=o,e},s.prototype.position=function(t,e){if(!t||!e)return null;e=i.siblingContainer(t,e);return i.positionWithScroll(t,e)},s.prototype.relativeOffset=function(t,e){return i.applyLocationOffset(this.offset(t),e,this.isBodyOffset(t))},s.prototype.addScroll=function(t,e){return i.addScroll(t,e)},s.prototype.removeScroll=function(t,e){return i.removeScroll(t,e)},s.prototype.restrictToView=function(t){return i.restrictToView(t)},s.prototype.scrollPosition=function(t){return i.scrollPosition(t)},s.prototype.scrollableParents=function(t){return o.scrollableParents(t)},s.prototype.stackingElementOffset=function(t){t=this.getRelativeContextElement(t);return t?i.offset(t):null},s.prototype.stackingElementScroll=function(t){t=this.getRelativeContextElement(t);return t?{x:t.scrollLeft,y:t.scrollTop}:{x:0,y:0}},s.prototype.stackingElementViewPort=function(t){t=this.getRelativeContextElement(t);return t?{height:t.scrollHeight,width:t.scrollWidth}:null},s.prototype.getRelativeContextElement=function(t){if(!t||!o.HAS_RELATIVE_STACKING_CONTEXT)return null;for(var e=t.parentElement;e;){if("none"!==window.getComputedStyle(e).transform)return e;e=e.parentElement}return null},s.prototype.useRelativePosition=function(t){return!!this.getRelativeContextElement(t)},s.prototype.windowViewPort=function(t){return i.getWindowViewPort(t)},s.prototype.zIndex=function(t,e){return o.zIndex(t,e)},s.prototype.zoomLevel=function(){return r.canUseDOM?parseFloat((document.documentElement.clientWidth/window.innerWidth).toFixed(2)):1},s.prototype.isZoomed=function(){return 1<this.zoomLevel()},s);function s(){}e.DOMService=n},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=n(1),n=(o.prototype.positionElement=function(t){var e=t.anchor,n=t.currentLocation,o=t.element,i=t.anchorAlign,r=t.elementAlign,s=t.collisions,p=this._dom,t=t.viewPort||p.stackingElementViewPort(o)||p.windowViewPort(o),e=l.eitherRect(p.offset(e),n),n=l.replaceOffset(p.staticOffset(o),n),o=this.elementRect(o,n),t=p.restrictToView({anchorAlign:i,anchorRect:e,collisions:s,elementAlign:r,elementRect:o,viewPort:t});return{flipped:t.flipped,offset:p.addOffset(n,t.offset)}},o.prototype.elementRect=function(t,e){return this._dom.removeScroll(e,this._dom.scrollPosition(t))},o);function o(t){this._dom=t}e.PositionService=n},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.packageMetadata={name:"@progress/kendo-react-popup",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1635454846,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"}}],o={},i.m=n,i.c=o,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)i.d(n,o,function(t){return e[t]}.bind(null,o));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=4)}}});
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-react-popup",
|
|
3
3
|
"description": "KendoReact Popup package",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.11.0-dev.202110282119",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/telerik/kendo-react.git"
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@progress/kendo-popup-common": "^1.2.2",
|
|
39
|
-
"@progress/kendo-react-common": "4.
|
|
39
|
+
"@progress/kendo-react-common": "4.11.0-dev.202110282119",
|
|
40
40
|
"prop-types": "^15.6.0"
|
|
41
41
|
},
|
|
42
42
|
"@progress": {
|