@progress/kendo-vue-popup 3.5.0-dev.202208010922 → 3.5.1-dev.202208100944

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/dist/cdn/js/kendo-vue-popup.js +1 -1
  2. package/dist/es/Popup.js +1 -1
  3. package/dist/es/models/Align.js +1 -0
  4. package/dist/es/models/AlignElementSettings.js +1 -0
  5. package/dist/es/models/Collision.js +1 -0
  6. package/dist/es/models/CollisionType.js +1 -0
  7. package/dist/es/models/Events.js +1 -0
  8. package/dist/es/models/Offset.js +1 -0
  9. package/dist/es/models/PopupAnimation.js +1 -0
  10. package/dist/es/models/PopupProps.js +1 -0
  11. package/dist/es/models/PopupSettings.js +1 -0
  12. package/dist/es/models/Position.js +1 -0
  13. package/dist/es/models/positionElementSettings.js +1 -0
  14. package/dist/es/package-metadata.js +1 -1
  15. package/dist/es/util.js +2 -2
  16. package/dist/esm/Popup.d.ts +72 -0
  17. package/dist/esm/Popup.js +424 -0
  18. package/dist/esm/additionalTypes.ts +21 -0
  19. package/dist/esm/main.d.ts +9 -0
  20. package/dist/esm/main.js +2 -0
  21. package/dist/esm/models/Align.d.ts +23 -0
  22. package/dist/esm/models/Align.js +1 -0
  23. package/dist/esm/models/AlignElementSettings.d.ts +11 -0
  24. package/dist/esm/models/AlignElementSettings.js +1 -0
  25. package/dist/esm/models/Collision.d.ts +14 -0
  26. package/dist/esm/models/Collision.js +1 -0
  27. package/dist/esm/models/CollisionType.d.ts +8 -0
  28. package/dist/esm/models/CollisionType.js +1 -0
  29. package/dist/esm/models/Events.d.ts +18 -0
  30. package/dist/esm/models/Events.js +1 -0
  31. package/dist/esm/models/Offset.d.ts +13 -0
  32. package/dist/esm/models/Offset.js +1 -0
  33. package/dist/esm/models/PopupAnimation.d.ts +13 -0
  34. package/dist/esm/models/PopupAnimation.js +1 -0
  35. package/dist/esm/models/PopupProps.d.ts +10 -0
  36. package/dist/esm/models/PopupProps.js +1 -0
  37. package/dist/esm/models/PopupSettings.d.ts +68 -0
  38. package/dist/esm/models/PopupSettings.js +2 -0
  39. package/dist/esm/models/Position.d.ts +8 -0
  40. package/dist/esm/models/Position.js +1 -0
  41. package/dist/esm/models/positionElementSettings.d.ts +13 -0
  42. package/dist/esm/models/positionElementSettings.js +1 -0
  43. package/dist/esm/package-metadata.d.ts +5 -0
  44. package/dist/esm/package-metadata.js +11 -0
  45. package/dist/esm/package.json +3 -0
  46. package/dist/esm/services/alignService.d.ts +14 -0
  47. package/dist/esm/services/alignService.js +43 -0
  48. package/dist/esm/services/domService.d.ts +34 -0
  49. package/dist/esm/services/domService.js +139 -0
  50. package/dist/esm/services/positionService.d.ts +12 -0
  51. package/dist/esm/services/positionService.js +34 -0
  52. package/dist/esm/util.d.ts +74 -0
  53. package/dist/esm/util.js +254 -0
  54. package/dist/npm/Popup.js +7 -7
  55. package/dist/npm/package-metadata.js +1 -1
  56. package/dist/npm/services/alignService.js +3 -3
  57. package/dist/npm/services/domService.js +18 -18
  58. package/dist/npm/services/positionService.js +2 -2
  59. package/dist/npm/util.js +42 -30
  60. package/package.json +3 -3
@@ -1 +1 @@
1
- !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("vue"),require("@progress/kendo-licensing")):"function"==typeof define&&define.amd?define(["vue","@progress/kendo-licensing"],e):"object"==typeof exports?exports.KendoVuePopup=e(require("vue"),require("@progress/kendo-licensing")):t.KendoVuePopup=e(t.Vue,t.KendoLicensing)}(window,(function(t,e){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=5)}([function(e,n){e.exports=t},function(t,e,n){"use strict";n.r(e),n.d(e,"getRef",(function(){return l})),n.d(e,"setRef",(function(){return u})),n.d(e,"classNames",(function(){return r})),n.d(e,"guid",(function(){return o})),n.d(e,"Keys",(function(){return a})),n.d(e,"noop",(function(){return B})),n.d(e,"isObject",(function(){return i})),n.d(e,"getListeners",(function(){return U})),n.d(e,"hasListener",(function(){return H})),n.d(e,"canUseDOM",(function(){return s})),n.d(e,"firstFocusableChild",(function(){return c})),n.d(e,"focusFirstFocusableChild",(function(){return f})),n.d(e,"lastFocusableChild",(function(){return d})),n.d(e,"focusLastFocusableChild",(function(){return h})),n.d(e,"focusContainer",(function(){return v})),n.d(e,"clone",(function(){return z})),n.d(e,"Draggable",(function(){return R})),n.d(e,"cloneArray",(function(){return L})),n.d(e,"cloneValue",(function(){return T})),n.d(e,"cloneObject",(function(){return j})),n.d(e,"cloneDate",(function(){return N})),n.d(e,"getTemplate",(function(){return G})),n.d(e,"templateRendering",(function(){return Z})),n.d(e,"templateDefinition",(function(){return q})),n.d(e,"getTabIndex",(function(){return Q})),n.d(e,"getDefaultSlots",(function(){return _})),n.d(e,"isRtl",(function(){return tt})),n.d(e,"getDir",(function(){return et})),n.d(e,"getter",(function(){return F})),n.d(e,"setter",(function(){return W})),n.d(e,"validatePackage",(function(){return it})),n.d(e,"kendoThemeMaps",(function(){return rt}));var i=function(t){return"object"==typeof t},r=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return t.filter((function(t){return!0!==t&&!!t})).map((function(t){return Array.isArray(t)?r.apply(void 0,t):i(t)?Object.keys(t).map((function(e,n){return t[n]||t[e]&&e||null})).filter((function(t){return null!==t})).join(" "):t})).filter((function(t){return!!t})).join(" ")},o=function(){var t,e,n="";for(t=0;t<32;t++)e=16*Math.random()|0,8!==t&&12!==t&&16!==t&&20!==t||(n+="-"),n+=(12===t?4:16===t?3&e|8:e).toString(16);return n},a={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},s=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement);function l(t,e,n){return t.v3?t[e+"Ref"]:t.$refs[""+(n||e)]}function u(t,e,n){return t.v3?function(n){t[e+"Ref"]=n}:n||e}var p='input, [tabindex]:not([tabindex="-1"])',c=function(t){if(t){var e=t.querySelectorAll(p);if(e.length&&e[0].focus)return e[0]}},d=function(t){if(t){var e=t.querySelectorAll(p);if(e.length&&e[e.length-1].focus)return e[e.length-1]}},f=function(t){if(t){var e=t.querySelectorAll(p);e.length&&e[0].focus&&e[0].focus()}},h=function(t){if(t){var e=t.querySelectorAll(p);e.length&&e[e.length-1].focus&&e[e.length-1].focus()}},v=function(t,e){var n=!0;if(t.keyCode!==a.enter&&t.target===e)return!1;if(t.keyCode===a.enter&&t.target===e)n=!0,setTimeout((function(){f(e)}),1);else if(t.keyCode===a.esc)n=!1,e.focus();else if(t.keyCode===a.tab){var i=c(e),r=d(e);r&&!t.shiftKey&&t.target===r&&(t.preventDefault(),i.focus()),i&&t.shiftKey&&t.target===i&&(t.preventDefault(),r.focus())}return n},m=n(0),g=function(t,e){return function(n){return e(t(n))}},y=function(t,e,n){return t.addEventListener&&t.addEventListener(e,n)},x=function(t,e,n){return t&&t.removeEventListener&&t.removeEventListener(e,n)},E=function(){},w=function(t){return t.preventDefault()},b=/touch/;function S(t){return t.type.match(b)?{pageX:t.changedTouches[0].pageX,pageY:t.changedTouches[0].pageY,clientX:t.changedTouches[0].clientX,clientY:t.changedTouches[0].clientY,type:t.type,originalEvent:t,isTouch:!0}:{pageX:t.pageX,pageY:t.pageY,clientX:t.clientX,clientY:t.clientY,offsetX:t.offsetX,offsetY:t.offsetY,type:t.type,ctrlKey:t.ctrlKey,shiftKey:t.shiftKey,altKey:t.altKey,originalEvent:t}}var O=function(t){var e=this,n=t.press;void 0===n&&(n=E);var i=t.drag;void 0===i&&(i=E);var r=t.release;void 0===r&&(r=E);var o=t.mouseOnly;void 0===o&&(o=!1),this._pressHandler=g(S,n),this._dragHandler=g(S,i),this._releaseHandler=g(S,r),this._ignoreMouse=!1,this._mouseOnly=o,this._touchstart=function(t){1===t.touches.length&&e._pressHandler(t)},this._touchmove=function(t){1===t.touches.length&&e._dragHandler(t)},this._touchend=function(t){0===t.touches.length&&1===t.changedTouches.length&&(e._releaseHandler(t),e._ignoreMouse=!0,setTimeout(e._restoreMouse,2e3))},this._restoreMouse=function(){e._ignoreMouse=!1},this._mousedown=function(t){var n=t.which;n&&n>1||e._ignoreMouse||(y(e.document,"mousemove",e._mousemove),y(e.document,"mouseup",e._mouseup),e._pressHandler(t))},this._mousemove=function(t){e._dragHandler(t)},this._mouseup=function(t){x(e.document,"mousemove",e._mousemove),x(e.document,"mouseup",e._mouseup),e._releaseHandler(t)},this._pointerdown=function(t){t.isPrimary&&0===t.button&&(y(e.document,"pointermove",e._pointermove),y(e.document,"pointerup",e._pointerup),y(e.document,"pointercancel",e._pointerup),y(e.document,"contextmenu",w),e._pressHandler(t))},this._pointermove=function(t){t.isPrimary&&e._dragHandler(t)},this._pointerup=function(t){t.isPrimary&&(x(e.document,"pointermove",e._pointermove),x(e.document,"pointerup",e._pointerup),x(e.document,"pointercancel",e._pointerup),x(e.document,"contextmenu",w),e._releaseHandler(t))}},k={document:{configurable:!0}};O.supportPointerEvent=function(){return"undefined"!=typeof window&&window.PointerEvent},k.document.get=function(){return this._element?this._element.ownerDocument:document},O.prototype.bindTo=function(t){t!==this._element&&(this._element&&this._unbindFromCurrent(),this._element=t,this._bindToCurrent())},O.prototype._bindToCurrent=function(){var t=this._element;this._usePointers()?y(t,"pointerdown",this._pointerdown):(y(t,"mousedown",this._mousedown),this._mouseOnly||(y(t,"touchstart",this._touchstart),y(t,"touchmove",this._touchmove),y(t,"touchend",this._touchend)))},O.prototype._unbindFromCurrent=function(){var t=this._element;if(this._usePointers())return x(t,"pointerdown",this._pointerdown),x(this.document,"pointermove",this._pointermove),x(this.document,"pointerup",this._pointerup),x(this.document,"contextmenu",w),void x(this.document,"pointercancel",this._pointerup);x(t,"mousedown",this._mousedown),this._mouseOnly||(x(t,"touchstart",this._touchstart),x(t,"touchmove",this._touchmove),x(t,"touchend",this._touchend))},O.prototype._usePointers=function(){return!this._mouseOnly&&O.supportPointerEvent()},O.prototype.update=function(t){var e=t.press;void 0===e&&(e=E);var n=t.drag;void 0===n&&(n=E);var i=t.release;void 0===i&&(i=E);var r=t.mouseOnly;void 0===r&&(r=!1),this._pressHandler=g(S,e),this._dragHandler=g(S,n),this._releaseHandler=g(S,i),this._mouseOnly=r},O.prototype.destroy=function(){this._unbindFromCurrent(),this._element=null},Object.defineProperties(O.prototype,k),O.default=O;var $,C=O;function _(t){var e=t.$slots.default;return t.v3&&e&&"function"==typeof e?e():e}function D(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var P=m,A=(P.h,P.version&&"3"===P.version[0]),R=(D($={emits:{press:null,drag:null,release:null},inheritAttrs:!1,created:function(){this.element=null,this.draggable=new C({press:this.press,drag:this.drag,release:this.release})},setup:A?function(){return{v3:!!A}}:void 0,mounted:function(){this.$el&&(this.element=3===this.$el.nodeType?this.$el.nextElementSibling:this.$el,this.draggable.bindTo(this.element))},destroyed:A?void 0:function(){this.draggable.destroy()},unmounted:function(){this.draggable.destroy()},methods:{press:function(t){this.element&&this.$emit("press",t,this.element)},drag:function(t){this.element&&this.$emit("drag",t,this.element)},release:function(t){this.element&&this.$emit("release",t,this.element)}}},"setup",A?function(){return{v3:!!A}}:void 0),D($,"render",(function(t){return _(this)})),$),N=function(t){return t?new Date(t.getTime()):null};function z(t){var e={};return j(t,e),e}function j(t,e){for(var n in t)if(t.hasOwnProperty(n)){var i=t[n];e[n]=T(i,e[n])}}function T(t,e){if(Array.isArray(t))return L(t);if(t instanceof Date)return N(t);if(t&&i(t)){var n=e||{};return j(t,n),n}return t}function L(t){return t.map((function(t){return T(t,void 0)}))}var B=function(){},M=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g,I={};function F(t){if(I[t])return I[t];var e=[];return t.replace(M,(function(t,n,i,r){e.push(void 0!==n?n:i||r)})),I[t]=function(t){for(var n=t,i=0;i<e.length&&n;i++)n=n[e[i]];return n},I[t]}I.undefined=function(){};var V={};function W(t){if(V[t])return V[t];var e=[];return t.replace(M,(function(t,n,i,r){e.push(void 0!==n?n:i||r)})),V[t]=function(t,n){for(var i=t,r=e.length-1,o=0;o<r&&i;o++)i=i[e[o]]=i[e[o]]||{};i[e[r]]=n},V[t]}function H(t){return this.v3?Object.keys(this.$attrs).map((function(t){return t.toLowerCase()})).some((function(e){return e.endsWith(t.toLowerCase())})):this.$listeners[t]}function U(){if(this.v3){var t={};for(var e in this.$attrs)e.startsWith("on")&&(t[e]=this.$attrs[e]);return t}return this.$listeners}V.undefined=function(t){return t};var X=function(){return(X=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},K=m,Y=K.version&&"3"===K.version[0],q={type:[String,Function,Object,Boolean],default:function(){}};function Z(t,e){if(t||!1===t){var n=Y?this.$slots[t]||(t.toLowerCase?this.$slots[t.toLowerCase()]:null):this.$scopedSlots[t]||(t.toLowerCase?this.$scopedSlots[t.toLowerCase()]:null);return"string"==typeof t&&n?{kt:!0,type:"slot",render:n,listeners:e}:"string"==typeof t||i(t)||"function"==typeof t&&t.component?{kt:!0,type:"component",render:t,listeners:e}:{kt:!0,type:"renderFunction",render:t,listeners:e}}}function G(t){var e,n,i,r=t.h,o=t.template,a=t.defaultRendering,s=t.defaultSlots,l=t.additionalProps,u=t.additionalListeners,p=t.swapDefaultSlots;if(!o||o&&!0===o.render)return a;if(Y){var c=a?a.props:{};e=X(X({},J(u)),o.listeners),n=X(X(X({},c),l),e),i=X(X({},n),e)}else{var d=a&&a.componentOptions,f=d?a.componentOptions.listeners:{},h=d?a.componentOptions.propsData:{};e=X(X(X(X({},f),u),J(u)),o.listeners),i={props:n=X(X(X({},h),l),e),on:e}}if("slot"===o.type){var v=o.render({props:n,listeners:e,methods:e,defaultSlots:s});return v?v[0]:void 0}return"renderFunction"===o.type?p?o.render?o.render(r,a,s,n,e):void 0:o.render?o.render(r,a,n,e,s):void 0:r(o.render,i,Y?function(){return[s]}:[s])}function J(t){if(!t)return t;for(var e={},n=Object.keys(t),i=0;i<n.length;i++){var r=n[i];e["on"+r.charAt(0).toUpperCase()+r.slice(1)]=t[r]}return e}var Q=function(t,e,n){var i="string"==typeof t?parseInt(t,void 0):t;if(NaN!==i)return void 0!==i?i:e?n?void 0:-1:0};function tt(t){return Boolean(s&&t&&"rtl"===getComputedStyle(t).direction)}function et(t,e){if(!e&&s&&t){var n=window.getComputedStyle(t).direction;if(n)return n}return e}var nt=n(3);function it(t){if(void 0!==nt)nt.validatePackage(t);else{var e="License activation failed for "+t.name+"\n";e+="The @progress/kendo-licensing script is not loaded.\n",e+="See "+t.licensingDocsUrl+" for more information.\n",console.warn(e)}}var rt={sizeMap:{small:"sm",medium:"md",large:"lg"},roundedMap:{small:"sm",medium:"md",large:"lg"}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.throttle=e.AlignPoint=e.CollisionType=e.zIndex=e.HAS_RELATIVE_STACKING_CONTEXT=e.hasRelativeStackingContext=e.FRAME_DURATION=e.scrollableParents=e.OVERFLOW_REGEXP=e.hasBoundingRect=e.isWindowAvailable=e.isDocumentAvailable=e.isDifferentOffset=e.removeStackingOffset=e.replaceOffset=e.eitherRect=void 0;var i=n(4);e.eitherRect=function(t,e){return t||{height:0,left:e.left,top:e.top,width:0}},e.replaceOffset=function(t,e){return e?{height:t.height,left:e.left,top:e.top,width:t.width}:t},e.removeStackingOffset=function(t,e){return e?{height:t.height,left:t.left-e.left,top:t.top-e.top,width:t.width}:t},e.isDifferentOffset=function(t,e){var n=t.left,i=t.top,r=e.left,o=e.top;return Math.abs(n-r)>=1||Math.abs(i-o)>=1},e.isDocumentAvailable=function(){return"undefined"!=typeof document&&!!document.body},e.isWindowAvailable=function(){return"undefined"!=typeof window},e.hasBoundingRect=function(t){return!!t.getBoundingClientRect},e.OVERFLOW_REGEXP=/auto|scroll/;var r=function(t){var e=window.getComputedStyle(t);return""+e.overflow+e.overflowX+e.overflowY};e.scrollableParents=function(t){var n=[];if(!e.isDocumentAvailable()||!e.isWindowAvailable())return n;for(var i=t.parentElement;i;)e.OVERFLOW_REGEXP.test(r(i))&&n.push(i),i=i.parentElement;return n.push(window),n},e.FRAME_DURATION=1e3/60,e.hasRelativeStackingContext=function(){if(!e.isDocumentAvailable())return!1;var t=document.createElement("div");if(t.style.transform="matrix(10, 0, 0, 10, 0, 0)",t.innerHTML="<div>child</div>",document.body.appendChild(t),t&&t.firstChild){var n=t.firstChild;n.style.position="fixed",n.style.top="10px"}var i=10!==t.children[0].getBoundingClientRect().top;return document.body.removeChild(t),i},e.HAS_RELATIVE_STACKING_CONTEXT=e.hasRelativeStackingContext(),e.zIndex=function(t,n){if(!t||!e.isDocumentAvailable()||!e.isWindowAvailable())return null;var r=i.siblingContainer(t,n);if(!r)return null;var o=[t].concat(i.parents(t,r)).reduce((function(t,e){var n=e.style.zIndex||window.getComputedStyle(e).zIndex,i=parseInt(n,10);return i>t?i:t}),0);return o?o+1:null},e.CollisionType={fit:"fit",flip:"flip"},e.AlignPoint={left:"left",center:"center",right:"right",bottom:"bottom",top:"top"},e.throttle=function(t,e,n){var i,r,o,a;void 0===n&&(n={});var s=0;n=n||{};var l=function(){s=!1===n.leading?0:(new Date).getTime(),i=null,a=t.apply(r,o),i||(r=o=null)};return function(){var u=(new Date).getTime();s||!1!==n.leading||(s=u);var p=e-(u-s);return r=this,o=arguments,p<=0||p>e?(i&&(clearTimeout(i),i=null),s=u,a=t.apply(r,o),i||(r=o=null)):i||!1===n.trailing||(i=setTimeout(l,p)),a}}},function(t,n){t.exports=e},function(t,e,n){"use strict";n.r(e),n.d(e,"align",(function(){return r})),n.d(e,"addScroll",(function(){return o})),n.d(e,"applyLocationOffset",(function(){return a})),n.d(e,"boundingOffset",(function(){return f})),n.d(e,"isBodyOffset",(function(){return v})),n.d(e,"offsetParent",(function(){return h})),n.d(e,"offset",(function(){return m})),n.d(e,"parents",(function(){return g})),n.d(e,"parentScrollPosition",(function(){return E})),n.d(e,"position",(function(){return w})),n.d(e,"positionWithScroll",(function(){return b})),n.d(e,"removeScroll",(function(){return S})),n.d(e,"restrictToView",(function(){return C})),n.d(e,"scrollPosition",(function(){return y})),n.d(e,"siblingContainer",(function(){return D})),n.d(e,"siblings",(function(){return _})),n.d(e,"zIndex",(function(){return P})),n.d(e,"alignElement",(function(){return U})),n.d(e,"domUtils",(function(){return W})),n.d(e,"utils",(function(){return T})),n.d(e,"positionElement",(function(){return X})),n.d(e,"getDocumentElement",(function(){return u})),n.d(e,"getWindow",(function(){return l})),n.d(e,"getWindowViewPort",(function(){return d})),n.d(e,"AlignPoint",(function(){return i})),n.d(e,"Collision",(function(){return O}));var i={bottom:"bottom",center:"center",middle:"middle",left:"left",right:"right",top:"top"},r=function(t){var e=t.anchorRect,n=t.anchorAlign,r=t.elementRect,o=t.elementAlign,a=t.margin;void 0===a&&(a={});var s=n.horizontal,l=n.vertical,u=o.horizontal,p=o.vertical,c=a.horizontal||0,d=a.vertical||0,f=e.top,h=e.left;return l===i.bottom&&(f+=e.height),l!==i.center&&l!==i.middle||(f+=Math.round(e.height/2)),p===i.bottom&&(f-=r.height,d*=-1),p!==i.center&&p!==i.middle||(f-=Math.round(r.height/2),d*=-1),s===i.right&&(h+=e.width),s!==i.center&&s!==i.middle||(h+=Math.round(e.width/2)),u===i.right&&(h-=r.width,c*=-1),u!==i.center&&u!==i.middle||(h-=Math.round(r.width/2),c*=-1),{top:f+d,left:h+c}};function o(t,e){return{top:t.top+e.y,left:t.left+e.x,height:t.height,width:t.width}}function a(t,e,n){var i=t.top,r=t.left;return n&&(r=0,i=0),{top:i+e.top,left:r+e.left,height:t.height,width:t.width}}function s(t){return t.ownerDocument||t.document||t}var l=function(t){return s(t).defaultView},u=function(t){return s(t).documentElement},p=0;function c(){if(!p&&"undefined"!=typeof document){var t=document.createElement("div");t.style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",t.innerHTML="&nbsp;",document.body.appendChild(t),p=t.offsetWidth-t.scrollWidth,document.body.removeChild(t)}return p}function d(t){var e=l(t),n=u(t),i={height:e.innerHeight,width:e.innerWidth};return n.scrollHeight-n.clientHeight>0&&(i.width-=c()),i}var f=function(t){if(!t.getBoundingClientRect){var e=d(t);return{bottom:e.height,left:0,right:e.width,top:0}}var n=t.getBoundingClientRect();return{bottom:n.bottom,left:n.left,right:n.right,top:n.top}},h=function(t){for(var e=t.offsetParent;e&&"static"===e.style.position;)e=e.offsetParent;return e||u(t)},v=function(t){return h(t)===t.ownerDocument.body},m=function(t){var e=t.getBoundingClientRect(),n=e.left,i=e.top;return e.height||e.width||(e=function(t){var e=t.style,n=e.display,i=e.left,r=e.position;t.style.display="",t.style.left="-10000px",t.style.position="absolute";var o=t.getBoundingClientRect();return t.style.display=n,t.style.left=i,t.style.position=r,o}(t)),{top:i,left:n,height:e.height,width:e.width}},g=function(t,e){for(var n=[],i=t.parentNode;i&&(n.push(i),i!==e);)i=i.parentNode;return n};function y(t){var e=u(t),n=l(t);return{x:n.pageXOffset||e.scrollLeft||0,y:n.pageYOffset||e.scrollTop||0}}var x=function(t){return t===(t.ownerDocument||{}).body?y(t):{x:t.scrollLeft,y:t.scrollTop}};function E(t){var e=h(t);return e?x(e):{x:0,y:0}}var w=function(t,e){var n=l(t),i=n.getComputedStyle(t),r=m(t),o=e||h(t),a=t.ownerDocument,s=o!==a.body&&o!==a.documentElement,u={top:0,left:0};if("fixed"!==i.position&&s){var p=n.getComputedStyle(o);(u=m(o)).top+=parseInt(p.borderTopWidth,10),u.left+=parseInt(p.borderLeftWidth,10)}return{top:r.top-u.top,left:r.left-u.left,height:r.height,width:r.width}},b=function(t,e,n){void 0===n&&(n=1);var i=e?h(e):null,r=w(t,i),o=r.top,a=r.left,s=r.height,l=r.width,u=function(t,e){return t?x(t):E(e)}(i,t),p=u.x,c=u.y,d=t.ownerDocument,f=i===d.body||i===d.documentElement?1:n;return{top:o+c*f,left:a+p*f,height:s,width:l}};function S(t,e){return{top:t.top-e.y,left:t.left-e.x,height:t.height,width:t.width}}var O={fit:"fit",flip:"flip",none:"none"},k=function(t,e,n){var i=0;return t+e>n&&(i=n-(t+e)),t<0&&(i=-t),i},$=function(t){var e=t.offset,n=t.size,r=t.anchorSize,o=t.viewPortSize,a=t.anchorAlignPoint,s=t.elementAlignPoint,l=t.margin,u=0,p=s===i.center||s===i.middle,c=a===i.center||a===i.middle,d=2*l;if(s!==a&&!p&&!c){var f=a===i.top||a===i.left;e<0&&f?e+(u=n+r+d)+n>o&&(u=0):e>=0&&!f&&(e+n>o&&(u+=-(r+n+d)),e+u<0&&(u=0))}return u},C=function(t){var e=t.anchorRect,n=t.anchorAlign,i=t.elementRect,r=t.elementAlign,o=t.collisions,a=t.viewPort,s=t.margin;void 0===s&&(s={});var l=i.top,u=i.left,p=i.height,c=i.width,d=a.height,f=a.width,h=s.horizontal||0,v=s.vertical||0,m=0,g=0,y=o.vertical===O.fit,x=o.horizontal===O.fit,E=o.vertical===O.flip,w=o.horizontal===O.flip;y&&(g+=k(l,p,d)),x&&(m+=k(u,c,f)),E&&(g+=$({margin:v,offset:l,size:p,anchorSize:e.height,viewPortSize:d,anchorAlignPoint:n.vertical,elementAlignPoint:r.vertical})),w&&(m+=$({margin:h,offset:u,size:c,anchorSize:e.width,viewPortSize:f,anchorAlignPoint:n.horizontal,elementAlignPoint:r.horizontal}));var b=E&&0!==g,S=w&&0!==m,C=y&&0!==g,_=x&&0!==m;return{flipped:S||b,fitted:C||_,flip:{horizontal:S,vertical:b},fit:{horizontal:_,vertical:C},offset:{left:m,top:g}}},_=function(t){for(var e=[],n=t.parentNode.firstElementChild;n;)n!==t&&e.push(n),n=n.nextElementSibling;return e},D=function(t,e){for(var n,i,r=g(t),o=e;o&&(n=_(o),!(i=r.reduce((function(t,e){return t.concat(n.filter((function(t){return t===e})))}),[])[0]));)o=o.parentElement;return i};function P(t,e){if(!t||!e)return null;var n=D(t,e);if(!n)return null;var i=[t].concat(g(t,n)).reduce((function(t,e){var n=e.style.zIndex||window.getComputedStyle(e).zIndex,i=parseInt(n,10);return i>t?i:t}),0);return i?i+1:null}var A,R,N,z=(A=function(t){if(!j())return!1;var e=t?t.ownerDocument:document;if(!e||!e.body)return!1;var n=e.createElement("div");n.style.transform="matrix(10, 0, 0, 10, 0, 0)",n.innerHTML='<div style="position: fixed; top: 10px;">child</div>',e.body.appendChild(n);var i=10!==n.children[0].getBoundingClientRect().top;return e.body.removeChild(n),i},N=!1,function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return N||(R=A.apply(void 0,t),N=!0),R}),j=function(){return Boolean("undefined"!=typeof window&&window.document&&window.document.createElement)},T={eitherRect:function(t,e){return t||{height:0,left:e.left,top:e.top,width:0}},scaleRect:function(t,e){return t&&1!==e?{height:t.height/e,left:t.left/e,top:t.top/e,width:t.width/e}:t},removeStackingOffset:function(t,e){return e?{height:t.height,left:t.left-e.left,top:t.top-e.top,width:t.width}:t},hasRelativeStackingContext:z,canUseDOM:j},L=["font-size","font-family","font-stretch","font-style","font-weight","line-height"],B=function(){return T.canUseDOM()?window:null},M=/auto|scroll/,I=function(t){return function(t){return""+t.style.overflow+t.style.overflowX+t.style.overflowY}(t)||function(t){var e=window.getComputedStyle(t);return""+e.overflow+e.overflowX+e.overflowY}(t)},F=function(t){if(!t||!T.hasRelativeStackingContext())return null;for(var e=t.parentElement;e;){if("none"!==window.getComputedStyle(e).transform)return e;e=e.parentElement}return null},V=function(){return T.canUseDOM()&&parseFloat((document.documentElement.clientWidth/window.innerWidth).toFixed(2))||1},W={addOffset:function(t,e){return{left:t.left+e.left,top:t.top+e.top}},addScroll:o,align:r,boundingOffset:f,getFontStyles:function(t){var e=B();if(!e||!t)return[];var n=e.getComputedStyle(t);return L.map((function(t){return{key:t,value:n[t]}}))},getWindow:B,hasOffsetParent:function(t){return!!t&&Boolean(t.offsetParent)},offset:function(t){return t?m(t):null},offsetAtPoint:function(t,e){if(!t)return null;var n=t.style,i=n.left,r=n.top,o=n.transition;t.style.transition="none",t.style.left=e.left+"px",t.style.top=e.top+"px";var a=m(t);return t.style.left=i,t.style.top=r,t.offsetHeight,t.style.transition=o,a},position:function(t,e,n){return t&&e?b(t,e,n||1):null},removeScroll:S,restrictToView:C,scrollPosition:y,scrollableParents:function(t){var e=[];if(!T.canUseDOM())return e;for(var n=t.parentElement;n;)(M.test(I(n))||n.hasAttribute("data-scrollable"))&&e.push(n),n=n.parentElement;return e.push(window),e},getRelativeContextElement:F,stackingElementOffset:function(t){var e=F(t);return e?m(e):null},stackingElementScroll:function(t){var e=F(t);return e?{x:e.scrollLeft,y:e.scrollTop}:{x:0,y:0}},stackingElementViewPort:function(t){var e=F(t);return e?{height:e.scrollHeight,width:e.scrollWidth}:null},useRelativePosition:function(t){return Boolean(F(t))},windowViewPort:d,zoomLevel:V,isZoomed:function(){return V()>1},zIndex:function(t,e){if(!t||!T.canUseDOM())return null;var n=D(t,e);if(!n)return null;var i=[t].concat(g(t,n)).reduce((function(t,e){var n=e.style.zIndex||window.getComputedStyle(e).zIndex,i=parseInt(n,10);return i>t?i:t}),0);return i?i+1:null}},H=function(t,e){return t?{x:0,y:0}:W.scrollPosition(e)},U=function(t){var e=t.anchor,n=t.element,i=t.anchorAlign,r=t.elementAlign,o=t.margin,a=t.offset,s=t.positionMode,l=t.scale||1,u="fixed"===s||!W.hasOffsetParent(n)?function(t,e,n,i){var r=H(t,e),o=T.eitherRect(W.offset(t),n),a=2*i,s=W.stackingElementScroll(e);1!==i&&s&&(s.x/=a,s.y/=a);var l=W.stackingElementOffset(e);return 1!==i&&l&&(l.left/=a,l.top/=a),W.removeScroll(W.addScroll(T.removeStackingOffset(T.scaleRect(o,i),l),s),r)}(e,n,a,l):function(t,e,n,i){var r=T.eitherRect(W.position(t,e,i),n);return T.scaleRect(r,i)}(e,n,a,l),p=T.scaleRect(W.offset(n),l);return W.align({anchorAlign:i,anchorRect:u,elementAlign:r,elementRect:p,margin:o})},X=function(t){var e=t.anchor,n=t.currentLocation,i=t.element,r=t.anchorAlign,o=t.elementAlign,a=t.collisions,s=t.margin,l=t.scale||1,u=W.offsetAtPoint(i,n),p=T.scaleRect(u,l),c=T.scaleRect(W.offset(e),l),d=T.eitherRect(c,n),f=t.viewPort||W.windowViewPort(i);f.width=f.width/l,f.height=f.height/l;var h=W.restrictToView({anchorAlign:r,anchorRect:d,collisions:a,elementAlign:o,elementRect:p,margin:s,viewPort:f}),v=W.addOffset(n,h.offset);return{flip:h.flip,flipped:h.flipped,offset:v}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PopupVue2=e.Popup=void 0;var i=n(6);Object.defineProperty(e,"Popup",{enumerable:!0,get:function(){return i.Popup}}),Object.defineProperty(e,"PopupVue2",{enumerable:!0,get:function(){return i.PopupVue2}})},function(t,e,n){"use strict";var i=Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]},r=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},o=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.hasOwnProperty.call(t,n)&&i(e,t,n);return r(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.PopupVue2=e.Popup=void 0;var a=o(n(0)),s=a.h,l=a.version&&"3"===a.version[0],u=n(11),p=n(2),c=n(7),d=n(8),f=n(9),h=n(1),v=n(10),m={left:-1e3,top:0},g={name:"Popup",props:{appendTo:{type:String,default:""},anchor:{type:String,default:""},className:String,id:String,popupClass:String,collision:{type:Object,default:function(){return{horizontal:p.CollisionType.fit,vertical:p.CollisionType.flip}}},anchorAlign:{type:Object,default:function(){return{horizontal:p.AlignPoint.left,vertical:p.AlignPoint.bottom}}},popupAlign:{type:Object,default:function(){return{horizontal:p.AlignPoint.left,vertical:p.AlignPoint.top}}},offset:{type:Object,default:function(){return m}},show:{type:Boolean,default:!1},animate:{type:[Boolean,Object],default:function(){return!0}},direction:{type:String,default:"down"},transition:{type:String,default:"expand"}},inject:{kCurrentZIndex:{default:null}},data:function(){return{hasMounted:!1}},created:function(){h.validatePackage(v.packageMetadata),this.mountedAppendTo=void 0,this.mountedAnchor=void 0,this._initiallyMountedContent=void 0,this._flipped=!1,this._offsetTop=0,this._offsetLeft=-1e3,this._exitingAnimation=!1,this._prevShow=!1,this._prevShow=this.$props.show,this._domService=new d.DOMService,this._alignService=new c.AlignService(this._domService),this._positionService=new f.PositionService(this._domService),this.reposition=p.throttle(this.reposition.bind(this),p.FRAME_DURATION)},setup:l?function(){return{v3:!!l}}:void 0,mounted:function(){h.canUseDOM&&(this.mountedAppendTo=this.$props.appendTo?this.getParentRef(this.$props.appendTo):document.body,this.mountedAnchor=this.$props.anchor?this.getParentRef(this.$props.anchor):document.body),this._parentElement=this.$el.parentElement,this._initiallyMountedContent=this.$el.cloneNode(!0),this.hasMounted=!0,this.mountedAppendTo.appendChild(this.$el)},updated:function(){this._prevShow=this.$props.show},destroyed:l?void 0:function(){this.detachRepositionHandlers()},beforeDestroy:l?void 0:function(){this._parentElement&&this._parentElement.appendChild(this.$el)},unmounted:function(){this.detachRepositionHandlers()},beforeUnmount:function(){this._parentElement&&this._parentElement.appendChild(this.$el)},methods:{onOpened:function(){var t=this.$el;this.$props.show&&t.classList.add("k-animation-container-shown"),this.attachRepositionHandlers(t),this.$emit("open",{target:this})},onClosing:function(){this.$props.show||this.$el.classList.remove("k-animation-container-shown");this.detachRepositionHandlers()},onClosed:function(){this._exitingAnimation&&(this._exitingAnimation=!1,this.$forceUpdate()),this.$emit("close",{target:this})},transitionDuration:function(){var t=this.$props.animate,e=0,n=0;return t&&(!0===t?e=n=void 0:(e=t.openDuration,n=t.closeDuration)),{transitionEnterDuration:e,transitionExitDuration:n}},getParentRef:function(t){for(var e=this.$parent;!e.$refs[t];){if(e&&e.kendoAnchorRef)return e.kendoAnchorRef;if(!(e=e.$parent)&&h.canUseDOM)return document.body}return e.$refs[t].$el||e.$refs[t]},position:function(t,e,n){var i=t.anchorAlign,r=t.popupAlign,o=t.collision,a=t.offset,s=n?this.v3?this.mountedAnchor:this.getParentRef(n):document.body,l=this._alignService.alignElement({anchor:n?s:void 0,element:e,elementAlign:r,anchorAlign:i,offset:a});return this._positionService.positionElement({anchor:s,anchorAlign:i,collisions:o,element:e,currentLocation:l,elementAlign:r})},calculatePosition:function(t,e){if(!e||!p.isWindowAvailable()||!h.canUseDOM)return{flipped:!1,offset:t.offset};var n=h.getDefaultSlots(this),i=document.createElement("div"),r=this.$el&&this.$el.firstChild&&this.$el.firstChild.firstChild?this.$el.firstChild.firstChild.cloneNode(!0):null,o=r&&r.getBoundingClientRect?r:this._initiallyMountedContent;if(o)i.appendChild(o);else{var a=this.v3?n&&n[0].props?n[0].props.class:"":n&&n[0].data?n[0].data.staticClass:"",s=this.v3?this.$props.popupClass?this.$props.popupClass:"":n&&n[0].data?n[0].data.class:"";i.innerHTML='<div class="k-animation-container k-animation-container-relative">\t\n <div class="k-popup k-animation-container k-animation-container-relative">\n <div class="'+a+" "+s+'" >\n </div>\t\n </div>\t\n </div>'}if(e.appendChild(i),i&&i.firstChild){var l=i.firstChild;l.style.position="absolute",l.style.visibility="hidden",l.style.display="block",l.style.left="-1000",l.style.top="0";var u=this.v3?n&&n[0].props?n[0].props.style:{}:n[0].data?n[0].data.style:{};if(u)for(var c=0,d=Object.entries(u);c<d.length;c++){var f=d[c],v=f[0],m=f[1];l.style[v]=m}}var g=this.position(t,i.firstChild,this.$props.anchor);return i.parentNode.removeChild(i),g},attachRepositionHandlers:function(t){var e=this;this.detachRepositionHandlers(),this._scrollableParents=this._domService.scrollableParents(this.$props.anchor?this.mountedAnchor:t),this._scrollableParents.map((function(t){return t.addEventListener("scroll",e.reposition)})),window.addEventListener("resize",this.reposition)},detachRepositionHandlers:function(){var t=this;this._scrollableParents&&(this._scrollableParents.map((function(e){return e.removeEventListener("scroll",t.reposition)})),this._scrollableParents=void 0),window.removeEventListener("resize",this.reposition)},reposition:function(){this.$forceUpdate()},getCurrentZIndex:function(){return this.kCurrentZIndex?this.kCurrentZIndex+1:100}},render:function(t){var e=s||t,n=this.$props,i=n.className,r=n.popupClass,o=n.show,a=n.id,l=h.getDefaultSlots(this),c=this.v3||o?l:null,d=p.isWindowAvailable()?this.$props.appendTo?this.mountedAppendTo||this.getParentRef(this.$props.appendTo):document.body:void 0;if(this.$props.show){var f=this.calculatePosition(this.$props,d);this._offsetLeft=f.offset.left,this._offsetTop=f.offset.top,this._flipped=!!f.flipped}var v=this._flipped?"up":"down",m=this.transitionDuration(),g=m.transitionEnterDuration,y=m.transitionExitDuration,x=this.getCurrentZIndex();return this._exitingAnimation=this._exitingAnimation||this._prevShow&&!o,this.hasMounted?o||this._exitingAnimation&&d?e(u.Slide,{id:a,attrs:this.v3?void 0:{id:a,role:this.appendTo?"":"region",componentChildClassName:[r,"k-popup"],className:i,direction:v,transitionEnterDuration:g,transitionExitDuration:y,appear:o},role:this.appendTo?"":"region",componentChildClassName:[r,"k-popup"],className:i,onEntered:this.onOpened,on:this.v3?void 0:{entered:this.onOpened,exiting:this.onClosing,exited:this.onClosed},onExiting:this.onClosing,onExited:this.onClosed,direction:v,style:{zIndex:x,position:"absolute",top:this._offsetTop+"px",left:this._offsetLeft+"px"},transitionEnterDuration:g,transitionExitDuration:y,appear:o},this.v3?function(){return[c]}:[c]):null:e("div",{style:{display:"none"},class:i},[e("div",{class:[r,"k-popup"]},[l])])}};e.PopupVue2=g;var y=g;e.Popup=y},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AlignService=void 0;var i=n(2),r=function(){function t(t){this._dom=t}return t.prototype.alignElement=function(t){var e=t.anchor,n=t.element,i=t.anchorAlign,r=t.elementAlign,o=t.offset,a=!this._dom.hasOffsetParent(n)?this.absoluteRect(e,n,o):this.relativeRect(e,n,o);return this._dom.align({anchorAlign:i,anchorRect:a,elementAlign:r,elementRect:this._dom.offset(n)})},t.prototype.absoluteRect=function(t,e,n){var r=this._dom,o=i.eitherRect(r.offset(t),n),a=r.stackingElementOffset(e),s=i.removeStackingOffset(o,a),l=r.stackingElementScroll(e),u=r.addScroll(s,l),p=this.elementScrollPosition(t,e),c=r.removeScroll(u,p);return c.left+=window.scrollX||window.pageXOffset,c.top+=window.scrollY||window.pageYOffset,c},t.prototype.elementScrollPosition=function(t,e){return t?{x:0,y:0}:this._dom.scrollPosition(e)},t.prototype.relativeRect=function(t,e,n){return i.eitherRect(this._dom.position(t,e),n)},t}();e.AlignService=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DOMService=void 0;var i=n(4),r=n(2),o=function(){function t(){}return t.prototype.addOffset=function(t,e){return{left:t.left+e.left,top:t.top+e.top}},t.prototype.align=function(t){return i.align(t)},t.prototype.boundingOffset=function(t){return i.boundingOffset(t)},t.prototype.getWindow=function(){return r.isWindowAvailable()?window:null},t.prototype.isBodyOffset=function(t){return i.isBodyOffset(t)},t.prototype.hasOffsetParent=function(t){if(!t)return!1;var e=t.offsetParent;return e&&!("BODY"===e.nodeName&&"static"===window.getComputedStyle(e).position)},t.prototype.offset=function(t){return t?i.offset(t):null},t.prototype.staticOffset=function(t){if(!t)return null;var e=t.style,n=e.left,r=e.top;t.style.left="0px",t.style.top="0px";var o=i.offset(t);return t.style.left=n,t.style.top=r,o},t.prototype.position=function(t,e){if(!t||!e)return null;var n=i.siblingContainer(t,e);return i.positionWithScroll(t,n)},t.prototype.relativeOffset=function(t,e){return i.applyLocationOffset(this.offset(t),e,this.isBodyOffset(t))},t.prototype.addScroll=function(t,e){return i.addScroll(t,e)},t.prototype.removeScroll=function(t,e){return i.removeScroll(t,e)},t.prototype.restrictToView=function(t){return i.restrictToView(t)},t.prototype.scrollPosition=function(t){return i.scrollPosition(t)},t.prototype.scrollableParents=function(t){return r.scrollableParents(t)},t.prototype.stackingElementOffset=function(t){var e=this.getRelativeContextElement(t);return e?i.offset(e):null},t.prototype.stackingElementScroll=function(t){var e=this.getRelativeContextElement(t);return e?{x:e.scrollLeft,y:e.scrollTop}:{x:0,y:0}},t.prototype.stackingElementViewPort=function(t){var e=this.getRelativeContextElement(t);return e?{height:e.scrollHeight,width:e.scrollWidth}:null},t.prototype.getRelativeContextElement=function(t){if(!t||!r.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},t.prototype.useRelativePosition=function(t){return!!this.getRelativeContextElement(t)},t.prototype.windowViewPort=function(t){return i.getWindowViewPort(t)},t.prototype.zIndex=function(t,e){return r.zIndex(t,e)},t.prototype.zoomLevel=function(){return r.isDocumentAvailable()&&r.isWindowAvailable()?parseFloat((document.documentElement.clientWidth/window.innerWidth).toFixed(2)):1},t.prototype.isZoomed=function(){return this.zoomLevel()>1},t}();e.DOMService=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PositionService=void 0;var i=n(2),r=function(){function t(t){this._dom=t}return t.prototype.positionElement=function(t){var e=t.anchor,n=t.currentLocation,r=t.element,o=t.anchorAlign,a=t.elementAlign,s=t.collisions,l=this._dom,u=t.viewPort||l.stackingElementViewPort(r)||l.windowViewPort(r),p=i.eitherRect(l.offset(e),n),c=i.replaceOffset(l.staticOffset(r),n),d=this.elementRect(r,c),f=l.restrictToView({anchorAlign:o,anchorRect:p,collisions:s,elementAlign:a,elementRect:d,viewPort:u});return{flipped:f.flipped,offset:l.addOffset(c,f.offset)}},t.prototype.elementRect=function(t,e){return this._dom.removeScroll(e,this._dom.scrollPosition(t))},t}();e.PositionService=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.packageMetadata=void 0,e.packageMetadata={name:"@progress/kendo-vue-popup",productName:"Kendo UI for Vue",productCodes:["KENDOUIVUE","KENDOUICOMPLETE"],publishDate:1659345062,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"}},function(t,e,n){"use strict";n.r(e),n.d(e,"Animation",(function(){return k})),n.d(e,"AnimationVue2",(function(){return O})),n.d(e,"AnimationChild",(function(){return g})),n.d(e,"AnimationChildVue2",(function(){return m})),n.d(e,"Fade",(function(){return P})),n.d(e,"FadeVue2",(function(){return D})),n.d(e,"Expand",(function(){return T})),n.d(e,"ExpandVue2",(function(){return j})),n.d(e,"Push",(function(){return V})),n.d(e,"PushVue2",(function(){return F})),n.d(e,"Slide",(function(){return Y})),n.d(e,"SlideVue2",(function(){return K})),n.d(e,"Zoom",(function(){return tt})),n.d(e,"ZoomVue2",(function(){return Q})),n.d(e,"Reveal",(function(){return st})),n.d(e,"RevealVue2",(function(){return at})),n.d(e,"animate",(function(){return lt})),n.d(e,"cancelAnimation",(function(){return ut}));var i=n(0),r=function(t){if(!t)return 0;var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop),i=parseFloat(e.marginBottom);return t.offsetHeight+n+i},o=function(t){if(!t)return 0;var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginLeft),i=parseFloat(e.marginRight);return t.offsetWidth+n+i},a={"animation-container":"k-animation-container","animation-container-relative":"k-animation-container-relative","animation-container-fixed":"k-animation-container-fixed","push-right-enter":"k-push-right-enter","push-right-appear":"k-push-right-appear","push-right-enter-active":"k-push-right-enter-active","push-right-appear-active":"k-push-right-appear-active","push-right-exit":"k-push-right-exit","push-right-exit-active":"k-push-right-exit-active","push-left-enter":"k-push-left-enter","push-left-appear":"k-push-left-appear","push-left-enter-active":"k-push-left-enter-active","push-left-appear-active":"k-push-left-appear-active","push-left-exit":"k-push-left-exit","push-left-exit-active":"k-push-left-exit-active","push-down-enter":"k-push-down-enter","push-down-appear":"k-push-down-appear","push-down-enter-active":"k-push-down-enter-active","push-down-appear-active":"k-push-down-appear-active","push-down-exit":"k-push-down-exit","push-down-exit-active":"k-push-down-exit-active","push-up-enter":"k-push-up-enter","push-up-appear":"k-push-up-appear","push-up-enter-active":"k-push-up-enter-active","push-up-appear-active":"k-push-up-appear-active","push-up-exit":"k-push-up-exit","push-up-exit-active":"k-push-up-exit-active",expand:"k-expand","expand-vertical-enter":"k-expand-vertical-enter","expand-vertical-appear":"k-expand-vertical-appear","expand-vertical-enter-active":"k-expand-vertical-enter-active","expand-vertical-appear-active":"k-expand-vertical-appear-active","expand-vertical-exit":"k-expand-vertical-exit","expand-vertical-exit-active":"k-expand-vertical-exit-active","expand-horizontal-enter":"k-expand-horizontal-enter","expand-horizontal-appear":"k-expand-horizontal-appear","expand-horizontal-enter-active":"k-expand-horizontal-enter-active","expand-horizontal-appear-active":"k-expand-horizontal-appear-active","expand-horizontal-exit":"k-expand-horizontal-exit","expand-horizontal-exit-active":"k-expand-horizontal-exit-active","child-animation-container":"k-child-animation-container","fade-enter":"k-fade-enter","fade-appear":"k-fade-appear","fade-enter-active":"k-fade-enter-active","fade-appear-active":"k-fade-appear-active","fade-exit":"k-fade-exit","fade-exit-active":"k-fade-exit-active","zoom-in-enter":"k-zoom-in-enter","zoom-in-appear":"k-zoom-in-appear","zoom-in-enter-active":"k-zoom-in-enter-active","zoom-in-appear-active":"k-zoom-in-appear-active","zoom-in-exit":"k-zoom-in-exit","zoom-in-exit-active":"k-zoom-in-exit-active","zoom-out-enter":"k-zoom-out-enter","zoom-out-appear":"k-zoom-out-appear","zoom-out-enter-active":"k-zoom-out-enter-active","zoom-out-appear-active":"k-zoom-out-appear-active","zoom-out-exit":"k-zoom-out-exit","zoom-out-exit-active":"k-zoom-out-exit-active","slide-in-appear":"k-slide-in-appear",centered:"k-centered","slide-in-appear-active":"k-slide-in-appear-active","slide-down-enter":"k-slide-down-enter","slide-down-appear":"k-slide-down-appear","slide-down-enter-active":"k-slide-down-enter-active","slide-down-appear-active":"k-slide-down-appear-active","slide-down-exit":"k-slide-down-exit","slide-down-exit-active":"k-slide-down-exit-active","slide-up-enter":"k-slide-up-enter","slide-up-appear":"k-slide-up-appear","slide-up-enter-active":"k-slide-up-enter-active","slide-up-appear-active":"k-slide-up-appear-active","slide-up-exit":"k-slide-up-exit","slide-up-exit-active":"k-slide-up-exit-active","slide-right-enter":"k-slide-right-enter","slide-right-appear":"k-slide-right-appear","slide-right-enter-active":"k-slide-right-enter-active","slide-right-appear-active":"k-slide-right-appear-active","slide-right-exit":"k-slide-right-exit","slide-right-exit-active":"k-slide-right-exit-active","slide-left-enter":"k-slide-left-enter","slide-left-appear":"k-slide-left-appear","slide-left-enter-active":"k-slide-left-enter-active","slide-left-appear-active":"k-slide-left-appear-active","slide-left-exit":"k-slide-left-exit","slide-left-exit-active":"k-slide-left-exit-active","reveal-vertical-enter":"k-reveal-vertical-enter","reveal-vertical-appear":"k-reveal-vertical-appear","reveal-vertical-enter-active":"k-reveal-vertical-enter-active","reveal-vertical-appear-active":"k-reveal-vertical-appear-active","reveal-vertical-exit":"k-reveal-vertical-exit","reveal-vertical-exit-active":"k-reveal-vertical-exit-active","reveal-horizontal-enter":"k-reveal-horizontal-enter","reveal-horizontal-appear":"k-reveal-horizontal-appear","reveal-horizontal-enter-active":"k-reveal-horizontal-enter-active","reveal-horizontal-appear-active":"k-reveal-horizontal-appear-active","reveal-horizontal-exit":"k-reveal-horizontal-exit","reveal-horizontal-exit-active":"k-reveal-horizontal-exit-active"},s=n(1),l=function(){return(l=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},u=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n},p=i,c=p.h,d=p.version&&"3"===p.version[0],f=p.ref,h=p.Transition,v=a,m={props:{in:Boolean,transitionName:{type:String,required:!0},transitionStyle:Object,componentChildClassName:[Array],className:String,appear:{type:Boolean,default:!0},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!0},transitionEnterDuration:Number,transitionExitDuration:Number,mountOnEnter:Boolean,unmountOnExit:Boolean,animationEnteringStyle:Object,animationEnteredStyle:Object,animationExitingStyle:Object,animationExitedStyle:Object},created:function(){this.animationStep=""},setup:d?function(){return{v3:!!d,elementRef:f(null)}}:void 0,mounted:function(){this._element=this.v3?this.elementRef||null:this.$refs.element||null},computed:{element:{get:function(){return this._element}}},methods:{onBeforeEnter:function(t){this.$emit("beforeenter",{animatedElement:t,target:this})},onEnter:function(t){this.animationStep="entering",this.$emit("entering",{animatedElement:t,target:this})},onAfterEnter:function(t){this.animationStep="entered",this.$emit("entered",{animatedElement:t,target:this})},onBeforeLeave:function(t){this.$emit("exit",{animatedElement:t,target:this})},onLeave:function(t){this.animationStep="exiting",this.$emit("exiting",{animatedElement:t,target:this})},onAfterLeave:function(t){this.animationStep="exited",this.$emit("exited",{animatedElement:t,target:this})}},render:function(t){var e=this,n=c||t,i=this.$props,r=i.appear,o=i.enter,a=i.exit,p=i.transitionName,d=i.transitionEnterDuration,f=i.transitionExitDuration,m=(i.className,i.componentChildClassName),g=(i.mountOnEnter,i.unmountOnExit,i.animationEnteringStyle),y=i.animationEnteredStyle,x=i.animationExitingStyle,E=i.animationExitedStyle,w=(u(i,["appear","enter","exit","transitionName","transitionEnterDuration","transitionExitDuration","className","componentChildClassName","mountOnEnter","unmountOnExit","animationEnteringStyle","animationEnteredStyle","animationExitingStyle","animationExitedStyle"]),Object(s.getDefaultSlots)(this)),b=this.v3?r:!!w,S=this.v3?h:"transition",O=[m,v["child-animation-container"]],k=o?d:0,$=a?f:0,C=[l({transitionDelay:"0ms",transitionDuration:b?k+"ms":$+"ms"},this.$props.transitionStyle),{entering:l({transitionDuration:k+"ms"},g),entered:l({},y),exiting:l({transitionDuration:$+"ms"},x),exited:l({},E)}[this.animationStep]],_={enter:k,leave:$},D=[b?n("div",{style:C,class:O,ref:this.v3?function(t){e.elementRef=t}:"element"},[w]):null];return n(S,{duration:_,attrs:this.v3?null:{duration:_,name:p,appear:r,appearClass:v[p+"-appear"]||p+"-appear",appearToClass:v[p+"-appear-active"]||p+"-appear-active",enterClass:v[p+"-enter"]||p+"-enter",enterToClass:v[p+"-enter-active"]||p+"-enter-active",leaveClass:v[p+"-exit"]||p+"-exit",leaveToClass:v[p+"-exit-active"]||p+"-exit-active"},name:p,appear:r,appearFromClass:v[p+"-appear"]||p+"-appear",enterFromClass:v[p+"-enter"]||p+"-enter",leaveFromClass:v[p+"-exit"]||p+"-exit",appearToClass:v[p+"-appear-active"]||p+"-appear-active",enterToClass:v[p+"-enter-active"]||p+"-enter-active",leaveToClass:v[p+"-exit-active"]||p+"-exit-active",onBeforeEnter:this.onBeforeEnter,on:this.v3?null:{beforeEnter:this.onBeforeEnter,enter:this.onEnter,afterEnter:this.onAfterEnter,beforeLeave:this.onBeforeLeave,leave:this.onLeave,afterLeave:this.onAfterLeave},onEnter:this.onEnter,onAfterEnter:this.onAfterEnter,onBeforeLeave:this.onBeforeLeave,onLeave:this.onLeave,onAfterLeave:this.onAfterLeave},this.v3?function(){return D}:D)}},g=m,y={name:"@progress/kendo-vue-animation",productName:"Kendo UI for Vue",productCodes:["KENDOUIVUE","KENDOUICOMPLETE"],publishDate:1659345044,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"},x=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n},E=i,w=E.h,b=E.version&&"3"===E.version[0],S=a,O={props:{childFactory:Object,className:String,tag:String,id:String,animationEnteringStyle:Object,animationExitingStyle:Object,componentChildClassName:[Array],transitionName:{type:String,required:!0},appear:{type:Boolean,default:!0},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!0},transitionEnterDuration:{type:Number},transitionExitDuration:{type:Number}},methods:{onEntering:function(t){this.$emit("entering",t)},onEnter:function(t){this.$emit("enter",t)},onEntered:function(t){this.$emit("entered",t)},onExit:function(t){this.$emit("exit",t)},onExiting:function(t){this.$emit("exiting",t)},onExited:function(t){this.$emit("exited",t)}},setup:b?function(){return{v3:!!b}}:void 0,created:function(){Object(s.validatePackage)(y)},render:function(t){var e=w||t,n=Object(s.getDefaultSlots)(this),i=this.$props,r=(i.id,i.tag,i.role),o=i.className,a=(i.childFactory,i.stackChildren,i.componentChildStyle,i.componentChildClassName,x(i,["id","tag","role","className","childFactory","stackChildren","componentChildStyle","componentChildClassName"]),[S["animation-container"],S["animation-container-relative"],o]);return e("div",{id:this.$props.id,attrs:this.v3?void 0:{id:this.$props.id,role:r},class:a,role:r},[e(g,{key:"some",appear:this.$props.appear,attrs:this.v3?void 0:{appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionName:this.$props.transitionName,componentChildClassName:this.$props.componentChildClassName,animationEnteringStyle:this.$props.animationEnteringStyle,animationExitingStyle:this.$props.animationExitingStyle,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},enter:this.$props.enter,exit:this.$props.exit,transitionName:this.$props.transitionName,componentChildClassName:this.$props.componentChildClassName,onBeforeenter:this.onEnter,on:this.v3?void 0:{beforeenter:this.onEnter,entering:this.onEntering,entered:this.onEntered,exit:this.onExit,exiting:this.onExiting,exited:this.onExited},onEntering:this.onEntering,onEntered:this.onEntered,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited,animationEnteringStyle:this.$props.animationEnteringStyle,animationExitingStyle:this.$props.animationExitingStyle,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},this.v3?function(){return[n]}:[n])])}},k=O,$=i,C=$.h,_=$.version&&"3"===$.version[0],D={props:{appear:{type:Boolean,default:!1},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!1},transitionEnterDuration:{type:Number,default:500},transitionExitDuration:{type:Number,default:500},childFactory:Object,className:String,tag:String,id:String},setup:_?function(){return{v3:!!_}}:void 0,render:function(t){var e=C||t,n=Object(s.getDefaultSlots)(this);return e(k,{transitionName:"fade",attrs:this.v3?void 0:{transitionName:"fade",appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},this.v3?function(){return[n]}:[n])}},P=D,A=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n},R=i,N=R.h,z=R.version&&"3"===R.version[0],j={props:{appear:{type:Boolean,default:!1},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!0},transitionEnterDuration:{type:Number,default:300},transitionExitDuration:{type:Number,default:300},childFactory:Object,className:String,direction:{type:String,default:"vertical"},tag:String,id:String},setup:z?function(){return{v3:!!z}}:void 0,render:function(t){var e=N||t,n=Object(s.getDefaultSlots)(this),i=this.$props,r=(i.direction,A(i,["direction"]),"expand-"+this.$props.direction);return e(k,{transitionName:r,attrs:this.v3?void 0:{transitionName:r,appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},this.v3?function(){return[n]}:[n])}},T=j,L=i,B=L.h,M=L.version&&"3"===L.version[0],I={position:"absolute",top:"0",left:"0"},F={props:{appear:{type:Boolean,default:!1},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!0},transitionEnterDuration:{type:Number,default:300},transitionExitDuration:{type:Number,default:300},childFactory:Object,className:String,direction:{type:String,default:"right"},tag:String,id:String},setup:M?function(){return{v3:!!M}}:void 0,render:function(t){var e=B||t,n=Object(s.getDefaultSlots)(this),i="push-"+this.$props.direction;return e(k,{transitionName:i,attrs:this.v3?void 0:{transitionName:i,appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration,animationExitingStyle:this.$props.stackChildren?I:void 0},appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration,animationExitingStyle:this.$props.stackChildren?I:void 0},this.v3?function(){return[n]}:[n])}},V=F,W=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n},H=i,U=H.h,X=H.version&&"3"===H.version[0],K={props:{appear:{type:Boolean,default:!1},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!0},transitionEnterDuration:{type:Number,default:300},transitionExitDuration:{type:Number,default:300},componentChildClassName:[Array],childFactory:Object,className:String,direction:{type:String,default:"down"},tag:String,id:String,role:String},methods:{onEntering:function(t){this.$emit("entering",t)},onEnter:function(t){this.$emit("enter",t)},onEntered:function(t){this.$emit("entered",t)},onExit:function(t){this.$emit("exit",t)},onExiting:function(t){this.$emit("exiting",t)},onExited:function(t){this.$emit("exited",t)}},setup:X?function(){return{v3:!!X}}:void 0,render:function(t){var e=U||t,n=Object(s.getDefaultSlots)(this),i=this.$props,r=(i.direction,i.id),o=(W(i,["direction","id"]),"slide-"+this.$props.direction);return e(k,{id:r,attrs:this.v3?void 0:{id:r,transitionName:o,componentChildClassName:this.$props.componentChildClassName,appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},transitionName:o,componentChildClassName:this.$props.componentChildClassName,appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,onEnter:this.onEnter,on:this.v3?void 0:{enter:this.onEnter,entering:this.onEntering,entered:this.onEntered,exit:this.onExit,exiting:this.onExiting,exited:this.onExited},onEntering:this.onEntering,onEntered:this.onEntered,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},this.v3?function(){return[n]}:[n])}},Y=K,q=i,Z=q.h,G=q.version&&"3"===q.version[0],J={position:"absolute",top:"0",left:"0"},Q={props:{appear:{type:Boolean,default:!1},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!0},stackChildren:{type:Boolean,default:!1},transitionEnterDuration:{type:Number,default:300},transitionExitDuration:{type:Number,default:300},childFactory:Object,className:String,direction:{type:String,default:"out"},tag:String,id:String},setup:G?function(){return{v3:!!G}}:void 0,render:function(t){var e=Z||t,n=Object(s.getDefaultSlots)(this),i="zoom-"+this.$props.direction;return e(k,{transitionName:i,attrs:this.v3?void 0:{transitionName:i,appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration,animationExitingStyle:this.$props.stackChildren?J:void 0},appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration,animationExitingStyle:this.$props.stackChildren?J:void 0},this.v3?function(){return[n]}:[n])}},tt=Q,et=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n},nt=i,it=nt.h,rt=nt.version&&"3"===nt.version[0],ot=function(){},at={props:{appear:{type:Boolean,default:!1},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!0},transitionEnterDuration:{type:Number,default:300},transitionExitDuration:{type:Number,default:300},childFactory:Object,className:String,direction:{type:String,default:"vertical"},tag:String,id:String},data:function(){return{maxHeight:"",maxWidth:""}},methods:{componentWillEnter:function(t){var e=this.$props.onEnter;this.updateContainerDimensions(t.animatedElement,(function(){e&&e.call(void 0,t)}))},componentIsEntering:function(t){var e=this.$props.onEntering;this.updateContainerDimensions(t.animatedElement,(function(){e&&e.call(void 0,t)}))},componentWillExit:function(t){var e=this.$props.onExit;this.updateContainerDimensions(t.animatedElement,(function(){e&&e.call(void 0,t)}))},updateContainerDimensions:function(t,e){void 0===e&&(e=ot);var n=t?t.firstElementChild:null;if(n){var i=r(n),a=o(n);this.$data.maxHeight=i,this.$data.maxWidth=a,e()}}},computed:{animationEnteringStyle:{get:function(){var t;return{maxHeight:(t="vertical"===this.$props.direction?{maxHeight:this.maxHeight?this.maxHeight+"px":null}:{maxWidth:this.maxWidth?this.maxWidth+"px":null}).maxHeight,maxWidth:t.maxWidth}}}},setup:rt?function(){return{v3:!!rt}}:void 0,render:function(t){var e=it||t,n=Object(s.getDefaultSlots)(this),i=this.$props,r=(i.direction,i.childFactory,et(i,["direction","childFactory"]),"reveal-"+this.$props.direction);return e(k,{appear:this.$props.appear,attrs:this.v3?void 0:{appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration,animationEnteringStyle:this.animationEnteringStyle,transitionName:r},enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration,onEnter:this.componentWillEnter,on:this.v3?void 0:{enter:this.componentWillEnter,entering:this.componentIsEntering,exit:this.componentWillExit},onEntering:this.componentIsEntering,onExit:this.componentWillExit,animationEnteringStyle:this.animationEnteringStyle,transitionName:r},this.v3?function(){return[n]}:[n])}},st=at,lt=function(t,e,n){void 0===e&&(e=0),void 0===n&&(n=0);var i,r=t.duration,o=e&&1-e;t.onStart&&t.onStart();return n=window.requestAnimationFrame((function a(s){i||(i=s);var l=(s-i+1)/r+o;l<=1?(t.onUpdate&&t.onUpdate(l),n=window.requestAnimationFrame(a),e=l):(t.onEnd&&t.onEnd(1),e=0)}))},ut=function(t){t&&window.cancelAnimationFrame(t)}}])}));
1
+ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("vue"),require("@progress/kendo-licensing")):"function"==typeof define&&define.amd?define(["vue","@progress/kendo-licensing"],e):"object"==typeof exports?exports.KendoVuePopup=e(require("vue"),require("@progress/kendo-licensing")):t.KendoVuePopup=e(t.Vue,t.KendoLicensing)}(self,(function(t,e){return(()=>{"use strict";var n={264:(t,e,n)=>{var i=Object.create?function(t,e,n,i){void 0===i&&(i=n);var o=Object.getOwnPropertyDescriptor(e,n);o&&!("get"in o?!e.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,i,o)}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e};Object.defineProperty(e,"__esModule",{value:!0}),e.PopupVue2=e.Popup=void 0;var r=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&i(e,t,n);return o(e,t),e}(n(895)),a=r.h,s=r.version&&"3"===r.version[0],l=n(498),p=n(548),u=n(649),c=n(201),d=n(878),h=n(984),f=n(169),v={left:-1e3,top:0},m="k-animation-container-shown",g="k-popup",y={name:"Popup",props:{appendTo:{type:String,default:""},anchor:{type:String,default:""},className:String,id:String,popupClass:String,collision:{type:Object,default:function(){return{horizontal:p.CollisionType.fit,vertical:p.CollisionType.flip}}},anchorAlign:{type:Object,default:function(){return{horizontal:p.AlignPoint.left,vertical:p.AlignPoint.bottom}}},popupAlign:{type:Object,default:function(){return{horizontal:p.AlignPoint.left,vertical:p.AlignPoint.top}}},offset:{type:Object,default:function(){return v}},show:{type:Boolean,default:!1},animate:{type:[Boolean,Object],default:function(){return!0}},direction:{type:String,default:"down"},transition:{type:String,default:"expand"}},inject:{kCurrentZIndex:{default:null}},data:function(){return{hasMounted:!1}},created:function(){(0,h.validatePackage)(f.packageMetadata),this.mountedAppendTo=void 0,this.mountedAnchor=void 0,this._initiallyMountedContent=void 0,this._flipped=!1,this._offsetTop=0,this._offsetLeft=-1e3,this._exitingAnimation=!1,this._prevShow=!1,this._prevShow=this.$props.show,this._domService=new c.DOMService,this._alignService=new u.AlignService(this._domService),this._positionService=new d.PositionService(this._domService),this.reposition=(0,p.throttle)(this.reposition.bind(this),p.FRAME_DURATION)},setup:s?function(){return{v3:!!s}}:void 0,mounted:function(){h.canUseDOM&&(this.mountedAppendTo=this.$props.appendTo?this.getParentRef(this.$props.appendTo):document.body,this.mountedAnchor=this.$props.anchor?this.getParentRef(this.$props.anchor):document.body),this._parentElement=this.$el.parentElement,this._initiallyMountedContent=this.$el.cloneNode(!0),this.hasMounted=!0,this.mountedAppendTo.appendChild(this.$el)},updated:function(){this._prevShow=this.$props.show},destroyed:s?void 0:function(){this.detachRepositionHandlers()},beforeDestroy:s?void 0:function(){this._parentElement&&this._parentElement.appendChild(this.$el)},unmounted:function(){this.detachRepositionHandlers()},beforeUnmount:function(){this._parentElement&&this._parentElement.appendChild(this.$el)},methods:{onOpened:function(){var t=this.$el;this.$props.show&&t.classList.add(m),this.attachRepositionHandlers(t),this.$emit("open",{target:this})},onClosing:function(){this.$props.show||this.$el.classList.remove(m),this.detachRepositionHandlers()},onClosed:function(){this._exitingAnimation&&(this._exitingAnimation=!1,this.$forceUpdate()),this.$emit("close",{target:this})},transitionDuration:function(){var t=this.$props.animate,e=0,n=0;return t&&(!0===t?e=n=void 0:(e=t.openDuration,n=t.closeDuration)),{transitionEnterDuration:e,transitionExitDuration:n}},getParentRef:function(t){for(var e=this.$parent;!e.$refs[t];){if(e&&e.kendoAnchorRef)return e.kendoAnchorRef;if(!(e=e.$parent)&&h.canUseDOM)return document.body}return e.$refs[t].$el||e.$refs[t]},position:function(t,e,n){var i=t.anchorAlign,o=t.popupAlign,r=t.collision,a=t.offset,s=n?this.v3?this.mountedAnchor:this.getParentRef(n):document.body,l=this._alignService.alignElement({anchor:n?s:void 0,element:e,elementAlign:o,anchorAlign:i,offset:a});return this._positionService.positionElement({anchor:s,anchorAlign:i,collisions:r,element:e,currentLocation:l,elementAlign:o})},calculatePosition:function(t,e){if(!e||!(0,p.isWindowAvailable)()||!h.canUseDOM)return{flipped:!1,offset:t.offset};var n=(0,h.getDefaultSlots)(this),i=document.createElement("div"),o=this.$el&&this.$el.firstChild&&this.$el.firstChild.firstChild?this.$el.firstChild.firstChild.cloneNode(!0):null,r=o&&o.getBoundingClientRect?o:this._initiallyMountedContent;if(r)i.appendChild(r);else{var a=this.v3?n&&n[0].props?n[0].props.class:"":n&&n[0].data?n[0].data.staticClass:"",s=this.v3?this.$props.popupClass?this.$props.popupClass:"":n&&n[0].data?n[0].data.class:"";i.innerHTML='<div class="k-animation-container k-animation-container-relative">\t\n <div class="k-popup k-animation-container k-animation-container-relative">\n <div class="'.concat(a," ").concat(s,'" >\n </div>\t\n </div>\t\n </div>')}if(e.appendChild(i),i&&i.firstChild){var l=i.firstChild;l.style.position="absolute",l.style.visibility="hidden",l.style.display="block",l.style.left="-1000",l.style.top="0";var u=this.v3?n&&n[0].props?n[0].props.style:{}:n[0].data?n[0].data.style:{};if(u)for(var c=0,d=Object.entries(u);c<d.length;c++){var f=d[c],v=f[0],m=f[1];l.style[v]=m}}var g=this.position(t,i.firstChild,this.$props.anchor);return i.parentNode.removeChild(i),g},attachRepositionHandlers:function(t){var e=this;this.detachRepositionHandlers(),this._scrollableParents=this._domService.scrollableParents(this.$props.anchor?this.mountedAnchor:t),this._scrollableParents.map((function(t){return t.addEventListener("scroll",e.reposition)})),window.addEventListener("resize",this.reposition)},detachRepositionHandlers:function(){var t=this;this._scrollableParents&&(this._scrollableParents.map((function(e){return e.removeEventListener("scroll",t.reposition)})),this._scrollableParents=void 0),window.removeEventListener("resize",this.reposition)},reposition:function(){this.$forceUpdate()},getCurrentZIndex:function(){return this.kCurrentZIndex?this.kCurrentZIndex+1:100}},render:function(t){var e=a||t,n=this.$props,i=n.className,o=n.popupClass,r=n.show,s=n.id,u=(0,h.getDefaultSlots)(this),c=this.v3||r?u:null,d=(0,p.isWindowAvailable)()?this.$props.appendTo?this.mountedAppendTo||this.getParentRef(this.$props.appendTo):document.body:void 0;if(this.$props.show){var f=this.calculatePosition(this.$props,d);this._offsetLeft=f.offset.left,this._offsetTop=f.offset.top,this._flipped=!!f.flipped}var v=this._flipped?"up":"down",m=this.transitionDuration(),y=m.transitionEnterDuration,x=m.transitionExitDuration,E=this.getCurrentZIndex();return this._exitingAnimation=this._exitingAnimation||this._prevShow&&!r,this.hasMounted?r||this._exitingAnimation&&d?e(l.Slide,{id:s,attrs:this.v3?void 0:{id:s,role:this.appendTo?"":"region",componentChildClassName:[o,g],className:i,direction:v,transitionEnterDuration:y,transitionExitDuration:x,appear:r},role:this.appendTo?"":"region",componentChildClassName:[o,g],className:i,onEntered:this.onOpened,on:this.v3?void 0:{entered:this.onOpened,exiting:this.onClosing,exited:this.onClosed},onExiting:this.onClosing,onExited:this.onClosed,direction:v,style:{zIndex:E,position:"absolute",top:this._offsetTop+"px",left:this._offsetLeft+"px"},transitionEnterDuration:y,transitionExitDuration:x,appear:r},this.v3?function(){return[c]}:[c]):null:e("div",{style:{display:"none"},class:i},[e("div",{class:[o,g]},[u])])}};e.PopupVue2=y;var x=y;e.Popup=x},169:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.packageMetadata=void 0,e.packageMetadata={name:"@progress/kendo-vue-popup",productName:"Kendo UI for Vue",productCodes:["KENDOUIVUE","KENDOUICOMPLETE"],publishDate:1660123587,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"}},649:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.AlignService=void 0;var i=n(548),o=function(){function t(t){this._dom=t}return t.prototype.alignElement=function(t){var e=t.anchor,n=t.element,i=t.anchorAlign,o=t.elementAlign,r=t.offset,a=this._dom.hasOffsetParent(n)?this.relativeRect(e,n,r):this.absoluteRect(e,n,r);return this._dom.align({anchorAlign:i,anchorRect:a,elementAlign:o,elementRect:this._dom.offset(n)})},t.prototype.absoluteRect=function(t,e,n){var o=this._dom,r=(0,i.eitherRect)(o.offset(t),n),a=o.stackingElementOffset(e),s=(0,i.removeStackingOffset)(r,a),l=o.stackingElementScroll(e),p=o.addScroll(s,l),u=this.elementScrollPosition(t,e),c=o.removeScroll(p,u);return c.left+=window.scrollX||window.pageXOffset,c.top+=window.scrollY||window.pageYOffset,c},t.prototype.elementScrollPosition=function(t,e){return t?{x:0,y:0}:this._dom.scrollPosition(e)},t.prototype.relativeRect=function(t,e,n){return(0,i.eitherRect)(this._dom.position(t,e),n)},t}();e.AlignService=o},201:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.DOMService=void 0;var i=n(78),o=n(548),r=function(){function t(){}return t.prototype.addOffset=function(t,e){return{left:t.left+e.left,top:t.top+e.top}},t.prototype.align=function(t){return(0,i.align)(t)},t.prototype.boundingOffset=function(t){return(0,i.boundingOffset)(t)},t.prototype.getWindow=function(){return(0,o.isWindowAvailable)()?window:null},t.prototype.isBodyOffset=function(t){return(0,i.isBodyOffset)(t)},t.prototype.hasOffsetParent=function(t){if(!t)return!1;var e=t.offsetParent;return e&&!("BODY"===e.nodeName&&"static"===window.getComputedStyle(e).position)},t.prototype.offset=function(t){return t?(0,i.offset)(t):null},t.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";var r=(0,i.offset)(t);return t.style.left=n,t.style.top=o,r},t.prototype.position=function(t,e){if(!t||!e)return null;var n=(0,i.siblingContainer)(t,e);return(0,i.positionWithScroll)(t,n)},t.prototype.relativeOffset=function(t,e){return(0,i.applyLocationOffset)(this.offset(t),e,this.isBodyOffset(t))},t.prototype.addScroll=function(t,e){return(0,i.addScroll)(t,e)},t.prototype.removeScroll=function(t,e){return(0,i.removeScroll)(t,e)},t.prototype.restrictToView=function(t){return(0,i.restrictToView)(t)},t.prototype.scrollPosition=function(t){return(0,i.scrollPosition)(t)},t.prototype.scrollableParents=function(t){return(0,o.scrollableParents)(t)},t.prototype.stackingElementOffset=function(t){var e=this.getRelativeContextElement(t);return e?(0,i.offset)(e):null},t.prototype.stackingElementScroll=function(t){var e=this.getRelativeContextElement(t);return e?{x:e.scrollLeft,y:e.scrollTop}:{x:0,y:0}},t.prototype.stackingElementViewPort=function(t){var e=this.getRelativeContextElement(t);return e?{height:e.scrollHeight,width:e.scrollWidth}:null},t.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},t.prototype.useRelativePosition=function(t){return!!this.getRelativeContextElement(t)},t.prototype.windowViewPort=function(t){return(0,i.getWindowViewPort)(t)},t.prototype.zIndex=function(t,e){return(0,o.zIndex)(t,e)},t.prototype.zoomLevel=function(){return(0,o.isDocumentAvailable)()&&(0,o.isWindowAvailable)()?parseFloat((document.documentElement.clientWidth/window.innerWidth).toFixed(2)):1},t.prototype.isZoomed=function(){return this.zoomLevel()>1},t}();e.DOMService=r},878:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.PositionService=void 0;var i=n(548),o=function(){function t(t){this._dom=t}return t.prototype.positionElement=function(t){var e=t.anchor,n=t.currentLocation,o=t.element,r=t.anchorAlign,a=t.elementAlign,s=t.collisions,l=this._dom,p=t.viewPort||l.stackingElementViewPort(o)||l.windowViewPort(o),u=(0,i.eitherRect)(l.offset(e),n),c=(0,i.replaceOffset)(l.staticOffset(o),n),d=this.elementRect(o,c),h=l.restrictToView({anchorAlign:r,anchorRect:u,collisions:s,elementAlign:a,elementRect:d,viewPort:p});return{flipped:h.flipped,offset:l.addOffset(c,h.offset)}},t.prototype.elementRect=function(t,e){return this._dom.removeScroll(e,this._dom.scrollPosition(t))},t}();e.PositionService=o},548:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.throttle=e.AlignPoint=e.CollisionType=e.zIndex=e.HAS_RELATIVE_STACKING_CONTEXT=e.hasRelativeStackingContext=e.FRAME_DURATION=e.scrollableParents=e.OVERFLOW_REGEXP=e.hasBoundingRect=e.isWindowAvailable=e.isDocumentAvailable=e.isDifferentOffset=e.removeStackingOffset=e.replaceOffset=e.eitherRect=void 0;var i=n(78);e.eitherRect=function(t,e){return t||{height:0,left:e.left,top:e.top,width:0}},e.replaceOffset=function(t,e){return e?{height:t.height,left:e.left,top:e.top,width:t.width}:t},e.removeStackingOffset=function(t,e){return e?{height:t.height,left:t.left-e.left,top:t.top-e.top,width:t.width}:t},e.isDifferentOffset=function(t,e){var n=t.left,i=t.top,o=e.left,r=e.top;return Math.abs(n-o)>=1||Math.abs(i-r)>=1},e.isDocumentAvailable=function(){return"undefined"!=typeof document&&!!document.body},e.isWindowAvailable=function(){return"undefined"!=typeof window},e.hasBoundingRect=function(t){return!!t.getBoundingClientRect},e.OVERFLOW_REGEXP=/auto|scroll/;var o=function(t){var e=window.getComputedStyle(t);return"".concat(e.overflow).concat(e.overflowX).concat(e.overflowY)};e.scrollableParents=function(t){var n=[];if(!(0,e.isDocumentAvailable)()||!(0,e.isWindowAvailable)())return n;for(var i=t.parentElement;i;)e.OVERFLOW_REGEXP.test(o(i))&&n.push(i),i=i.parentElement;return n.push(window),n},e.FRAME_DURATION=1e3/60,e.hasRelativeStackingContext=function(){if(!(0,e.isDocumentAvailable)())return!1;var t=document.createElement("div");if(t.style.transform="matrix(10, 0, 0, 10, 0, 0)",t.innerHTML="<div>child</div>",document.body.appendChild(t),t&&t.firstChild){var n=t.firstChild;n.style.position="fixed",n.style.top="".concat(10,"px")}var i=10!==t.children[0].getBoundingClientRect().top;return document.body.removeChild(t),i},e.HAS_RELATIVE_STACKING_CONTEXT=(0,e.hasRelativeStackingContext)(),e.zIndex=function(t,n){if(!t||!(0,e.isDocumentAvailable)()||!(0,e.isWindowAvailable)())return null;var o=(0,i.siblingContainer)(t,n);if(!o)return null;var r=[t].concat((0,i.parents)(t,o)).reduce((function(t,e){var n=e.style.zIndex||window.getComputedStyle(e).zIndex,i=parseInt(n,10);return i>t?i:t}),0);return r?r+1:null},e.CollisionType={fit:"fit",flip:"flip"},e.AlignPoint={left:"left",center:"center",right:"right",bottom:"bottom",top:"top"},e.throttle=function(t,e,n){var i,o,r,a;void 0===n&&(n={});var s=0;n=n||{};var l=function(){s=!1===n.leading?0:(new Date).getTime(),i=null,a=t.apply(o,r),i||(o=r=null)};return function(){var p=(new Date).getTime();s||!1!==n.leading||(s=p);var u=e-(p-s);return o=this,r=arguments,u<=0||u>e?(i&&(clearTimeout(i),i=null),s=p,a=t.apply(o,r),i||(o=r=null)):i||!1===n.trailing||(i=setTimeout(l,u)),a}}},498:(t,e,n)=>{n.r(e),n.d(e,{Animation:()=>w,AnimationChild:()=>f,AnimationChildVue2:()=>h,AnimationVue2:()=>E,Expand:()=>A,ExpandVue2:()=>P,Fade:()=>k,FadeVue2:()=>$,Push:()=>L,PushVue2:()=>j,Reveal:()=>tt,RevealVue2:()=>Q,Slide:()=>V,SlideVue2:()=>F,Zoom:()=>Y,ZoomVue2:()=>K,animate:()=>et,cancelAnimation:()=>nt});var i=n(895);const o={"animation-container":"k-animation-container","animation-container-relative":"k-animation-container-relative","animation-container-fixed":"k-animation-container-fixed","push-right-enter":"k-push-right-enter","push-right-appear":"k-push-right-appear","push-right-enter-active":"k-push-right-enter-active","push-right-appear-active":"k-push-right-appear-active","push-right-exit":"k-push-right-exit","push-right-exit-active":"k-push-right-exit-active","push-left-enter":"k-push-left-enter","push-left-appear":"k-push-left-appear","push-left-enter-active":"k-push-left-enter-active","push-left-appear-active":"k-push-left-appear-active","push-left-exit":"k-push-left-exit","push-left-exit-active":"k-push-left-exit-active","push-down-enter":"k-push-down-enter","push-down-appear":"k-push-down-appear","push-down-enter-active":"k-push-down-enter-active","push-down-appear-active":"k-push-down-appear-active","push-down-exit":"k-push-down-exit","push-down-exit-active":"k-push-down-exit-active","push-up-enter":"k-push-up-enter","push-up-appear":"k-push-up-appear","push-up-enter-active":"k-push-up-enter-active","push-up-appear-active":"k-push-up-appear-active","push-up-exit":"k-push-up-exit","push-up-exit-active":"k-push-up-exit-active",expand:"k-expand","expand-vertical-enter":"k-expand-vertical-enter","expand-vertical-appear":"k-expand-vertical-appear","expand-vertical-enter-active":"k-expand-vertical-enter-active","expand-vertical-appear-active":"k-expand-vertical-appear-active","expand-vertical-exit":"k-expand-vertical-exit","expand-vertical-exit-active":"k-expand-vertical-exit-active","expand-horizontal-enter":"k-expand-horizontal-enter","expand-horizontal-appear":"k-expand-horizontal-appear","expand-horizontal-enter-active":"k-expand-horizontal-enter-active","expand-horizontal-appear-active":"k-expand-horizontal-appear-active","expand-horizontal-exit":"k-expand-horizontal-exit","expand-horizontal-exit-active":"k-expand-horizontal-exit-active","child-animation-container":"k-child-animation-container","fade-enter":"k-fade-enter","fade-appear":"k-fade-appear","fade-enter-active":"k-fade-enter-active","fade-appear-active":"k-fade-appear-active","fade-exit":"k-fade-exit","fade-exit-active":"k-fade-exit-active","zoom-in-enter":"k-zoom-in-enter","zoom-in-appear":"k-zoom-in-appear","zoom-in-enter-active":"k-zoom-in-enter-active","zoom-in-appear-active":"k-zoom-in-appear-active","zoom-in-exit":"k-zoom-in-exit","zoom-in-exit-active":"k-zoom-in-exit-active","zoom-out-enter":"k-zoom-out-enter","zoom-out-appear":"k-zoom-out-appear","zoom-out-enter-active":"k-zoom-out-enter-active","zoom-out-appear-active":"k-zoom-out-appear-active","zoom-out-exit":"k-zoom-out-exit","zoom-out-exit-active":"k-zoom-out-exit-active","slide-in-appear":"k-slide-in-appear",centered:"k-centered","slide-in-appear-active":"k-slide-in-appear-active","slide-down-enter":"k-slide-down-enter","slide-down-appear":"k-slide-down-appear","slide-down-enter-active":"k-slide-down-enter-active","slide-down-appear-active":"k-slide-down-appear-active","slide-down-exit":"k-slide-down-exit","slide-down-exit-active":"k-slide-down-exit-active","slide-up-enter":"k-slide-up-enter","slide-up-appear":"k-slide-up-appear","slide-up-enter-active":"k-slide-up-enter-active","slide-up-appear-active":"k-slide-up-appear-active","slide-up-exit":"k-slide-up-exit","slide-up-exit-active":"k-slide-up-exit-active","slide-right-enter":"k-slide-right-enter","slide-right-appear":"k-slide-right-appear","slide-right-enter-active":"k-slide-right-enter-active","slide-right-appear-active":"k-slide-right-appear-active","slide-right-exit":"k-slide-right-exit","slide-right-exit-active":"k-slide-right-exit-active","slide-left-enter":"k-slide-left-enter","slide-left-appear":"k-slide-left-appear","slide-left-enter-active":"k-slide-left-enter-active","slide-left-appear-active":"k-slide-left-appear-active","slide-left-exit":"k-slide-left-exit","slide-left-exit-active":"k-slide-left-exit-active","reveal-vertical-enter":"k-reveal-vertical-enter","reveal-vertical-appear":"k-reveal-vertical-appear","reveal-vertical-enter-active":"k-reveal-vertical-enter-active","reveal-vertical-appear-active":"k-reveal-vertical-appear-active","reveal-vertical-exit":"k-reveal-vertical-exit","reveal-vertical-exit-active":"k-reveal-vertical-exit-active","reveal-horizontal-enter":"k-reveal-horizontal-enter","reveal-horizontal-appear":"k-reveal-horizontal-appear","reveal-horizontal-enter-active":"k-reveal-horizontal-enter-active","reveal-horizontal-appear-active":"k-reveal-horizontal-appear-active","reveal-horizontal-exit":"k-reveal-horizontal-exit","reveal-horizontal-exit-active":"k-reveal-horizontal-exit-active"};var r=n(984),a=function(){return a=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},a.apply(this,arguments)},s=i,l=s.h,p=s.version&&"3"===s.version[0],u=s.ref,c=s.Transition,d=o,h={props:{in:Boolean,transitionName:{type:String,required:!0},transitionStyle:Object,componentChildClassName:[Array],className:String,appear:{type:Boolean,default:!0},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!0},transitionEnterDuration:Number,transitionExitDuration:Number,mountOnEnter:Boolean,unmountOnExit:Boolean,animationEnteringStyle:Object,animationEnteredStyle:Object,animationExitingStyle:Object,animationExitedStyle:Object},created:function(){this.animationStep=""},setup:p?function(){return{v3:!!p,elementRef:u(null)}}:void 0,mounted:function(){this._element=this.v3?this.elementRef||null:this.$refs.element||null},computed:{element:{get:function(){return this._element}}},methods:{onBeforeEnter:function(t){this.$emit("beforeenter",{animatedElement:t,target:this})},onEnter:function(t){this.animationStep="entering",this.$emit("entering",{animatedElement:t,target:this})},onAfterEnter:function(t){this.animationStep="entered",this.$emit("entered",{animatedElement:t,target:this})},onBeforeLeave:function(t){this.$emit("exit",{animatedElement:t,target:this})},onLeave:function(t){this.animationStep="exiting",this.$emit("exiting",{animatedElement:t,target:this})},onAfterLeave:function(t){this.animationStep="exited",this.$emit("exited",{animatedElement:t,target:this})}},render:function(t){var e=this,n=l||t,i=this.$props,o=i.appear,s=i.enter,p=i.exit,u=i.transitionName,h=i.transitionEnterDuration,f=i.transitionExitDuration,v=(i.className,i.componentChildClassName),m=(i.mountOnEnter,i.unmountOnExit,i.animationEnteringStyle),g=i.animationEnteredStyle,y=i.animationExitingStyle,x=i.animationExitedStyle,E=(function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(t);o<i.length;o++)e.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(t,i[o])&&(n[i[o]]=t[i[o]])}}(i,["appear","enter","exit","transitionName","transitionEnterDuration","transitionExitDuration","className","componentChildClassName","mountOnEnter","unmountOnExit","animationEnteringStyle","animationEnteredStyle","animationExitingStyle","animationExitedStyle"]),(0,r.getDefaultSlots)(this)),w=this.v3?o:!!E,b=this.v3?c:"transition",S=[v,d["child-animation-container"]],O=s?h:0,$=p?f:0,k=[a({transitionDelay:"0ms",transitionDuration:"".concat(w?O:$,"ms")},this.$props.transitionStyle),{entering:a({transitionDuration:"".concat(O,"ms")},m),entered:a({},g),exiting:a({transitionDuration:"".concat($,"ms")},y),exited:a({},x)}[this.animationStep]],C={enter:O,leave:$},_=[w?n("div",{style:k,class:S,ref:this.v3?function(t){e.elementRef=t}:"element"},[E]):null];return n(b,{duration:C,attrs:this.v3?null:{duration:C,name:u,appear:o,appearClass:d["".concat(u,"-appear")]||"".concat(u,"-appear"),appearToClass:d["".concat(u,"-appear-active")]||"".concat(u,"-appear-active"),enterClass:d["".concat(u,"-enter")]||"".concat(u,"-enter"),enterToClass:d["".concat(u,"-enter-active")]||"".concat(u,"-enter-active"),leaveClass:d["".concat(u,"-exit")]||"".concat(u,"-exit"),leaveToClass:d["".concat(u,"-exit-active")]||"".concat(u,"-exit-active")},name:u,appear:o,appearFromClass:d["".concat(u,"-appear")]||"".concat(u,"-appear"),enterFromClass:d["".concat(u,"-enter")]||"".concat(u,"-enter"),leaveFromClass:d["".concat(u,"-exit")]||"".concat(u,"-exit"),appearToClass:d["".concat(u,"-appear-active")]||"".concat(u,"-appear-active"),enterToClass:d["".concat(u,"-enter-active")]||"".concat(u,"-enter-active"),leaveToClass:d["".concat(u,"-exit-active")]||"".concat(u,"-exit-active"),onBeforeEnter:this.onBeforeEnter,on:this.v3?null:{beforeEnter:this.onBeforeEnter,enter:this.onEnter,afterEnter:this.onAfterEnter,beforeLeave:this.onBeforeLeave,leave:this.onLeave,afterLeave:this.onAfterLeave},onEnter:this.onEnter,onAfterEnter:this.onAfterEnter,onBeforeLeave:this.onBeforeLeave,onLeave:this.onLeave,onAfterLeave:this.onAfterLeave},this.v3?function(){return _}:_)}},f=h,v={name:"@progress/kendo-vue-animation",productName:"Kendo UI for Vue",productCodes:["KENDOUIVUE","KENDOUICOMPLETE"],publishDate:1660123555,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"},m=i,g=m.h,y=m.version&&"3"===m.version[0],x=o,E={props:{childFactory:Object,className:String,tag:String,id:String,animationEnteringStyle:Object,animationExitingStyle:Object,componentChildClassName:[Array],transitionName:{type:String,required:!0},appear:{type:Boolean,default:!0},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!0},transitionEnterDuration:{type:Number},transitionExitDuration:{type:Number}},methods:{onEntering:function(t){this.$emit("entering",t)},onEnter:function(t){this.$emit("enter",t)},onEntered:function(t){this.$emit("entered",t)},onExit:function(t){this.$emit("exit",t)},onExiting:function(t){this.$emit("exiting",t)},onExited:function(t){this.$emit("exited",t)}},setup:y?function(){return{v3:!!y}}:void 0,created:function(){(0,r.validatePackage)(v)},render:function(t){var e=g||t,n=(0,r.getDefaultSlots)(this),i=this.$props,o=(i.id,i.tag,i.role),a=i.className,s=(i.childFactory,i.stackChildren,i.componentChildStyle,i.componentChildClassName,function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(t);o<i.length;o++)e.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(t,i[o])&&(n[i[o]]=t[i[o]])}}(i,["id","tag","role","className","childFactory","stackChildren","componentChildStyle","componentChildClassName"]),[x["animation-container"],x["animation-container-relative"],a]);return e("div",{id:this.$props.id,attrs:this.v3?void 0:{id:this.$props.id,role:o},class:s,role:o},[e(f,{key:"some",appear:this.$props.appear,attrs:this.v3?void 0:{appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionName:this.$props.transitionName,componentChildClassName:this.$props.componentChildClassName,animationEnteringStyle:this.$props.animationEnteringStyle,animationExitingStyle:this.$props.animationExitingStyle,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},enter:this.$props.enter,exit:this.$props.exit,transitionName:this.$props.transitionName,componentChildClassName:this.$props.componentChildClassName,onBeforeenter:this.onEnter,on:this.v3?void 0:{beforeenter:this.onEnter,entering:this.onEntering,entered:this.onEntered,exit:this.onExit,exiting:this.onExiting,exited:this.onExited},onEntering:this.onEntering,onEntered:this.onEntered,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited,animationEnteringStyle:this.$props.animationEnteringStyle,animationExitingStyle:this.$props.animationExitingStyle,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},this.v3?function(){return[n]}:[n])])}},w=E,b=i,S=b.h,O=b.version&&"3"===b.version[0],$={props:{appear:{type:Boolean,default:!1},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!1},transitionEnterDuration:{type:Number,default:500},transitionExitDuration:{type:Number,default:500},childFactory:Object,className:String,tag:String,id:String},setup:O?function(){return{v3:!!O}}:void 0,render:function(t){var e=S||t,n=(0,r.getDefaultSlots)(this);return e(w,{transitionName:"fade",attrs:this.v3?void 0:{transitionName:"fade",appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},this.v3?function(){return[n]}:[n])}},k=$,C=i,_=C.h,D=C.version&&"3"===C.version[0],P={props:{appear:{type:Boolean,default:!1},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!0},transitionEnterDuration:{type:Number,default:300},transitionExitDuration:{type:Number,default:300},childFactory:Object,className:String,direction:{type:String,default:"vertical"},tag:String,id:String},setup:D?function(){return{v3:!!D}}:void 0,render:function(t){var e=_||t,n=(0,r.getDefaultSlots)(this),i=this.$props,o=(i.direction,function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(t);o<i.length;o++)e.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(t,i[o])&&(n[i[o]]=t[i[o]])}}(i,["direction"]),"expand-".concat(this.$props.direction));return e(w,{transitionName:o,attrs:this.v3?void 0:{transitionName:o,appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},this.v3?function(){return[n]}:[n])}},A=P,R=i,N=R.h,z=R.version&&"3"===R.version[0],T={position:"absolute",top:"0",left:"0"},j={props:{appear:{type:Boolean,default:!1},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!0},transitionEnterDuration:{type:Number,default:300},transitionExitDuration:{type:Number,default:300},childFactory:Object,className:String,direction:{type:String,default:"right"},tag:String,id:String},setup:z?function(){return{v3:!!z}}:void 0,render:function(t){var e=N||t,n=(0,r.getDefaultSlots)(this),i="push-".concat(this.$props.direction);return e(w,{transitionName:i,attrs:this.v3?void 0:{transitionName:i,appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration,animationExitingStyle:this.$props.stackChildren?T:void 0},appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration,animationExitingStyle:this.$props.stackChildren?T:void 0},this.v3?function(){return[n]}:[n])}},L=j,B=i,M=B.h,I=B.version&&"3"===B.version[0],F={props:{appear:{type:Boolean,default:!1},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!0},transitionEnterDuration:{type:Number,default:300},transitionExitDuration:{type:Number,default:300},componentChildClassName:[Array],childFactory:Object,className:String,direction:{type:String,default:"down"},tag:String,id:String,role:String},methods:{onEntering:function(t){this.$emit("entering",t)},onEnter:function(t){this.$emit("enter",t)},onEntered:function(t){this.$emit("entered",t)},onExit:function(t){this.$emit("exit",t)},onExiting:function(t){this.$emit("exiting",t)},onExited:function(t){this.$emit("exited",t)}},setup:I?function(){return{v3:!!I}}:void 0,render:function(t){var e=M||t,n=(0,r.getDefaultSlots)(this),i=this.$props,o=(i.direction,i.id),a=(function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(t);o<i.length;o++)e.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(t,i[o])&&(n[i[o]]=t[i[o]])}}(i,["direction","id"]),"slide-".concat(this.$props.direction));return e(w,{id:o,attrs:this.v3?void 0:{id:o,transitionName:a,componentChildClassName:this.$props.componentChildClassName,appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},transitionName:a,componentChildClassName:this.$props.componentChildClassName,appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,onEnter:this.onEnter,on:this.v3?void 0:{enter:this.onEnter,entering:this.onEntering,entered:this.onEntered,exit:this.onExit,exiting:this.onExiting,exited:this.onExited},onEntering:this.onEntering,onEntered:this.onEntered,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},this.v3?function(){return[n]}:[n])}},V=F,W=i,H=W.h,U=W.version&&"3"===W.version[0],X={position:"absolute",top:"0",left:"0"},K={props:{appear:{type:Boolean,default:!1},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!0},stackChildren:{type:Boolean,default:!1},transitionEnterDuration:{type:Number,default:300},transitionExitDuration:{type:Number,default:300},childFactory:Object,className:String,direction:{type:String,default:"out"},tag:String,id:String},setup:U?function(){return{v3:!!U}}:void 0,render:function(t){var e=H||t,n=(0,r.getDefaultSlots)(this),i="zoom-".concat(this.$props.direction);return e(w,{transitionName:i,attrs:this.v3?void 0:{transitionName:i,appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration,animationExitingStyle:this.$props.stackChildren?X:void 0},appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration,animationExitingStyle:this.$props.stackChildren?X:void 0},this.v3?function(){return[n]}:[n])}},Y=K,q=i,Z=q.h,G=q.version&&"3"===q.version[0],J=function(){},Q={props:{appear:{type:Boolean,default:!1},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!0},transitionEnterDuration:{type:Number,default:300},transitionExitDuration:{type:Number,default:300},childFactory:Object,className:String,direction:{type:String,default:"vertical"},tag:String,id:String},data:function(){return{maxHeight:"",maxWidth:""}},methods:{componentWillEnter:function(t){var e=this.$props.onEnter;this.updateContainerDimensions(t.animatedElement,(function(){e&&e.call(void 0,t)}))},componentIsEntering:function(t){var e=this.$props.onEntering;this.updateContainerDimensions(t.animatedElement,(function(){e&&e.call(void 0,t)}))},componentWillExit:function(t){var e=this.$props.onExit;this.updateContainerDimensions(t.animatedElement,(function(){e&&e.call(void 0,t)}))},updateContainerDimensions:function(t,e){void 0===e&&(e=J);var n=t?t.firstElementChild:null;if(n){var i=function(t){if(!t)return 0;var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop),i=parseFloat(e.marginBottom);return t.offsetHeight+n+i}(n),o=function(t){if(!t)return 0;var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginLeft),i=parseFloat(e.marginRight);return t.offsetWidth+n+i}(n);this.$data.maxHeight=i,this.$data.maxWidth=o,e()}}},computed:{animationEnteringStyle:{get:function(){var t;return{maxHeight:(t="vertical"===this.$props.direction?{maxHeight:this.maxHeight?"".concat(this.maxHeight,"px"):null}:{maxWidth:this.maxWidth?"".concat(this.maxWidth,"px"):null}).maxHeight,maxWidth:t.maxWidth}}}},setup:G?function(){return{v3:!!G}}:void 0,render:function(t){var e=Z||t,n=(0,r.getDefaultSlots)(this),i=this.$props,o=(i.direction,i.childFactory,function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(t);o<i.length;o++)e.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(t,i[o])&&(n[i[o]]=t[i[o]])}}(i,["direction","childFactory"]),"reveal-".concat(this.$props.direction));return e(w,{appear:this.$props.appear,attrs:this.v3?void 0:{appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration,animationEnteringStyle:this.animationEnteringStyle,transitionName:o},enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration,onEnter:this.componentWillEnter,on:this.v3?void 0:{enter:this.componentWillEnter,entering:this.componentIsEntering,exit:this.componentWillExit},onEntering:this.componentIsEntering,onExit:this.componentWillExit,animationEnteringStyle:this.animationEnteringStyle,transitionName:o},this.v3?function(){return[n]}:[n])}},tt=Q,et=function(t,e,n){void 0===e&&(e=0),void 0===n&&(n=0);var i,o=t.duration,r=e&&1-e;return t.onStart&&t.onStart(),n=window.requestAnimationFrame((function a(s){i||(i=s);var l=(s-i+1)/o+r;l<=1?(t.onUpdate&&t.onUpdate(l),n=window.requestAnimationFrame(a),e=l):(t.onEnd&&t.onEnd(1),e=0)}))},nt=function(t){t&&window.cancelAnimationFrame(t)}},78:(t,e,n)=>{n.r(e),n.d(e,{AlignPoint:()=>i,Collision:()=>O,addScroll:()=>r,align:()=>o,alignElement:()=>U,applyLocationOffset:()=>a,boundingOffset:()=>h,domUtils:()=>H,getDocumentElement:()=>p,getWindow:()=>l,getWindowViewPort:()=>d,isBodyOffset:()=>v,offset:()=>m,offsetParent:()=>f,parentScrollPosition:()=>E,parents:()=>g,position:()=>w,positionElement:()=>X,positionWithScroll:()=>b,removeScroll:()=>S,restrictToView:()=>C,scrollPosition:()=>y,siblingContainer:()=>D,siblings:()=>_,utils:()=>j,zIndex:()=>P});const i={bottom:"bottom",center:"center",middle:"middle",left:"left",right:"right",top:"top"},o=function(t){var e=t.anchorRect,n=t.anchorAlign,o=t.elementRect,r=t.elementAlign,a=t.margin;void 0===a&&(a={});var s=n.horizontal,l=n.vertical,p=r.horizontal,u=r.vertical,c=a.horizontal||0,d=a.vertical||0,h=e.top,f=e.left;return l===i.bottom&&(h+=e.height),l!==i.center&&l!==i.middle||(h+=Math.round(e.height/2)),u===i.bottom&&(h-=o.height,d*=-1),u!==i.center&&u!==i.middle||(h-=Math.round(o.height/2),d*=-1),s===i.right&&(f+=e.width),s!==i.center&&s!==i.middle||(f+=Math.round(e.width/2)),p===i.right&&(f-=o.width,c*=-1),p!==i.center&&p!==i.middle||(f-=Math.round(o.width/2),c*=-1),{top:h+d,left:f+c}};function r(t,e){return{top:t.top+e.y,left:t.left+e.x,height:t.height,width:t.width}}function a(t,e,n){var i=t.top,o=t.left;return n&&(o=0,i=0),{top:i+e.top,left:o+e.left,height:t.height,width:t.width}}function s(t){return t.ownerDocument||t.document||t}const l=function(t){return s(t).defaultView},p=function(t){return s(t).documentElement};var u=0;function c(){if(!u&&"undefined"!=typeof document){var t=document.createElement("div");t.style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",t.innerHTML="&nbsp;",document.body.appendChild(t),u=t.offsetWidth-t.scrollWidth,document.body.removeChild(t)}return u}function d(t){var e=l(t),n=p(t),i={height:e.innerHeight,width:e.innerWidth};return n.scrollHeight-n.clientHeight>0&&(i.width-=c()),i}const h=function(t){if(!t.getBoundingClientRect){var e=d(t);return{bottom:e.height,left:0,right:e.width,top:0}}var n=t.getBoundingClientRect();return{bottom:n.bottom,left:n.left,right:n.right,top:n.top}},f=function(t){for(var e=t.offsetParent;e&&"static"===e.style.position;)e=e.offsetParent;return e||p(t)},v=function(t){return f(t)===t.ownerDocument.body},m=function(t){var e=t.getBoundingClientRect(),n=e.left,i=e.top;return e.height||e.width||(e=function(t){var e=t.style,n=e.display,i=e.left,o=e.position;t.style.display="",t.style.left="-10000px",t.style.position="absolute";var r=t.getBoundingClientRect();return t.style.display=n,t.style.left=i,t.style.position=o,r}(t)),{top:i,left:n,height:e.height,width:e.width}};function g(t,e){for(var n=[],i=t.parentNode;i&&(n.push(i),i!==e);)i=i.parentNode;return n}function y(t){var e=p(t),n=l(t);return{x:n.pageXOffset||e.scrollLeft||0,y:n.pageYOffset||e.scrollTop||0}}function x(t){return t===(t.ownerDocument||{}).body?y(t):{x:t.scrollLeft,y:t.scrollTop}}function E(t){var e=f(t);return e?x(e):{x:0,y:0}}const w=function(t,e){var n=l(t),i=n.getComputedStyle(t),o=m(t),r=e||f(t),a=t.ownerDocument,s=r!==a.body&&r!==a.documentElement,p={top:0,left:0};if("fixed"!==i.position&&s){var u=n.getComputedStyle(r);(p=m(r)).top+=parseInt(u.borderTopWidth,10),p.left+=parseInt(u.borderLeftWidth,10)}return{top:o.top-p.top,left:o.left-p.left,height:o.height,width:o.width}};function b(t,e,n){void 0===n&&(n=1);var i=e?f(e):null,o=w(t,i),r=o.top,a=o.left,s=o.height,l=o.width,p=function(t,e){return t?x(t):E(e)}(i,t),u=p.x,c=p.y,d=t.ownerDocument,h=i===d.body||i===d.documentElement?1:n;return{top:r+c*h,left:a+u*h,height:s,width:l}}function S(t,e){return{top:t.top-e.y,left:t.left-e.x,height:t.height,width:t.width}}const O={fit:"fit",flip:"flip",none:"none"};var $=function(t,e,n){var i=0;return t+e>n&&(i=n-(t+e)),t<0&&(i=-t),i},k=function(t){var e=t.offset,n=t.size,o=t.anchorSize,r=t.viewPortSize,a=t.anchorAlignPoint,s=t.elementAlignPoint,l=t.margin,p=0,u=s===i.center||s===i.middle,c=a===i.center||a===i.middle,d=2*l;if(s!==a&&!u&&!c){var h=a===i.top||a===i.left;e<0&&h?e+(p=n+o+d)+n>r&&(p=0):e>=0&&!h&&(e+n>r&&(p+=-(o+n+d)),e+p<0&&(p=0))}return p};const C=function(t){var e=t.anchorRect,n=t.anchorAlign,i=t.elementRect,o=t.elementAlign,r=t.collisions,a=t.viewPort,s=t.margin;void 0===s&&(s={});var l=i.top,p=i.left,u=i.height,c=i.width,d=a.height,h=a.width,f=s.horizontal||0,v=s.vertical||0,m=0,g=0,y=r.vertical===O.fit,x=r.horizontal===O.fit,E=r.vertical===O.flip,w=r.horizontal===O.flip;y&&(g+=$(l,u,d)),x&&(m+=$(p,c,h)),E&&(g+=k({margin:v,offset:l,size:u,anchorSize:e.height,viewPortSize:d,anchorAlignPoint:n.vertical,elementAlignPoint:o.vertical})),w&&(m+=k({margin:f,offset:p,size:c,anchorSize:e.width,viewPortSize:h,anchorAlignPoint:n.horizontal,elementAlignPoint:o.horizontal}));var b=E&&0!==g,S=w&&0!==m,C=y&&0!==g,_=x&&0!==m;return{flipped:S||b,fitted:C||_,flip:{horizontal:S,vertical:b},fit:{horizontal:_,vertical:C},offset:{left:m,top:g}}};function _(t){for(var e=[],n=t.parentNode.firstElementChild;n;)n!==t&&e.push(n),n=n.nextElementSibling;return e}function D(t,e){for(var n,i,o=g(t),r=e;r&&(n=_(r),!(i=o.reduce((function(t,e){return t.concat(n.filter((function(t){return t===e})))}),[])[0]));)r=r.parentElement;return i}function P(t,e){if(!t||!e)return null;var n=D(t,e);if(!n)return null;var i=[t].concat(g(t,n)).reduce((function(t,e){var n=e.style.zIndex||window.getComputedStyle(e).zIndex,i=parseInt(n,10);return i>t?i:t}),0);return i?i+1:null}var A,R,N,z=(A=function(t){if(!T())return!1;var e=t?t.ownerDocument:document;if(!e||!e.body)return!1;var n=e.createElement("div");n.style.transform="matrix(10, 0, 0, 10, 0, 0)",n.innerHTML='<div style="position: fixed; top: 10px;">child</div>',e.body.appendChild(n);var i=10!==n.children[0].getBoundingClientRect().top;return e.body.removeChild(n),i},N=!1,function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return N||(R=A.apply(void 0,t),N=!0),R}),T=function(){return Boolean("undefined"!=typeof window&&window.document&&window.document.createElement)};const j={eitherRect:function(t,e){return t||{height:0,left:e.left,top:e.top,width:0}},scaleRect:function(t,e){return t&&1!==e?{height:t.height/e,left:t.left/e,top:t.top/e,width:t.width/e}:t},removeStackingOffset:function(t,e){return e?{height:t.height,left:t.left-e.left,top:t.top-e.top,width:t.width}:t},hasRelativeStackingContext:z,canUseDOM:T};var L=["font-size","font-family","font-stretch","font-style","font-weight","line-height"],B=function(){return j.canUseDOM()?window:null},M=/auto|scroll/,I=function(t){return function(t){return""+t.style.overflow+t.style.overflowX+t.style.overflowY}(t)||function(t){var e=window.getComputedStyle(t);return""+e.overflow+e.overflowX+e.overflowY}(t)},F=function(t){if(!t||!j.hasRelativeStackingContext())return null;for(var e=t.parentElement;e;){if("none"!==window.getComputedStyle(e).transform)return e;e=e.parentElement}return null},V=function(){return j.canUseDOM()&&parseFloat((document.documentElement.clientWidth/window.innerWidth).toFixed(2))||1},W={addOffset:function(t,e){return{left:t.left+e.left,top:t.top+e.top}},addScroll:r,align:o,boundingOffset:h,getFontStyles:function(t){var e=B();if(!e||!t)return[];var n=e.getComputedStyle(t);return L.map((function(t){return{key:t,value:n[t]}}))},getWindow:B,hasOffsetParent:function(t){return!!t&&Boolean(t.offsetParent)},offset:function(t){return t?m(t):null},offsetAtPoint:function(t,e){if(!t)return null;var n=t.style,i=n.left,o=n.top,r=n.transition;t.style.transition="none",t.style.left=e.left+"px",t.style.top=e.top+"px";var a=m(t);return t.style.left=i,t.style.top=o,t.offsetHeight,t.style.transition=r,a},position:function(t,e,n){return t&&e?b(t,e,n||1):null},removeScroll:S,restrictToView:C,scrollPosition:y,scrollableParents:function(t){var e=[];if(!j.canUseDOM())return e;for(var n=t.parentElement;n;)(M.test(I(n))||n.hasAttribute("data-scrollable"))&&e.push(n),n=n.parentElement;return e.push(window),e},getRelativeContextElement:F,stackingElementOffset:function(t){var e=F(t);return e?m(e):null},stackingElementScroll:function(t){var e=F(t);return e?{x:e.scrollLeft,y:e.scrollTop}:{x:0,y:0}},stackingElementViewPort:function(t){var e=F(t);return e?{height:e.scrollHeight,width:e.scrollWidth}:null},useRelativePosition:function(t){return Boolean(F(t))},windowViewPort:d,zoomLevel:V,isZoomed:function(){return V()>1},zIndex:function(t,e){if(!t||!j.canUseDOM())return null;var n=D(t,e);if(!n)return null;var i=[t].concat(g(t,n)).reduce((function(t,e){var n=e.style.zIndex||window.getComputedStyle(e).zIndex,i=parseInt(n,10);return i>t?i:t}),0);return i?i+1:null}};const H=W;const U=function(t){var e=t.anchor,n=t.element,i=t.anchorAlign,o=t.elementAlign,r=t.margin,a=t.offset,s=t.positionMode,l=t.scale||1,p="fixed"!==s&&H.hasOffsetParent(n)?function(t,e,n,i){var o=j.eitherRect(H.position(t,e,i),n);return j.scaleRect(o,i)}(e,n,a,l):function(t,e,n,i){var o=function(t,e){return t?{x:0,y:0}:H.scrollPosition(e)}(t,e),r=j.eitherRect(H.offset(t),n),a=2*i,s=H.stackingElementScroll(e);1!==i&&s&&(s.x/=a,s.y/=a);var l=H.stackingElementOffset(e);return 1!==i&&l&&(l.left/=a,l.top/=a),H.removeScroll(H.addScroll(j.removeStackingOffset(j.scaleRect(r,i),l),s),o)}(e,n,a,l),u=j.scaleRect(H.offset(n),l);return H.align({anchorAlign:i,anchorRect:p,elementAlign:o,elementRect:u,margin:r})},X=function(t){var e=t.anchor,n=t.currentLocation,i=t.element,o=t.anchorAlign,r=t.elementAlign,a=t.collisions,s=t.margin,l=t.scale||1,p=H.offsetAtPoint(i,n),u=j.scaleRect(p,l),c=j.scaleRect(H.offset(e),l),d=j.eitherRect(c,n),h=t.viewPort||H.windowViewPort(i);h.width=h.width/l,h.height=h.height/l;var f=H.restrictToView({anchorAlign:o,anchorRect:d,collisions:a,elementAlign:r,elementRect:u,margin:s,viewPort:h}),v=H.addOffset(n,f.offset);return{flip:f.flip,flipped:f.flipped,offset:v}}},984:(t,e,n)=>{n.r(e),n.d(e,{Draggable:()=>R,Keys:()=>a,canUseDOM:()=>s,classNames:()=>o,clone:()=>z,cloneArray:()=>L,cloneDate:()=>N,cloneObject:()=>T,cloneValue:()=>j,firstFocusableChild:()=>c,focusContainer:()=>v,focusFirstFocusableChild:()=>h,focusLastFocusableChild:()=>f,getDefaultSlots:()=>C,getDir:()=>et,getListeners:()=>U,getRef:()=>l,getTabIndex:()=>Q,getTemplate:()=>G,getter:()=>F,guid:()=>r,hasListener:()=>H,isObject:()=>i,isRtl:()=>tt,kendoThemeMaps:()=>ot,lastFocusableChild:()=>d,noop:()=>B,setRef:()=>p,setter:()=>W,templateDefinition:()=>q,templateRendering:()=>Z,validatePackage:()=>it});var i=function(t){return"object"==typeof t},o=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return t.filter((function(t){return!0!==t&&!!t})).map((function(t){return Array.isArray(t)?o.apply(void 0,t):i(t)?Object.keys(t).map((function(e,n){return t[n]||t[e]&&e||null})).filter((function(t){return null!==t})).join(" "):t})).filter((function(t){return!!t})).join(" ")},r=function(){var t,e,n="";for(t=0;t<32;t++)e=16*Math.random()|0,8!==t&&12!==t&&16!==t&&20!==t||(n+="-"),n+=(12===t?4:16===t?3&e|8:e).toString(16);return n},a={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},s=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement);function l(t,e,n){return t.v3?t["".concat(e,"Ref")]:t.$refs["".concat(n||e)]}function p(t,e,n){return t.v3?function(n){t["".concat(e,"Ref")]=n}:n||e}var u='input, [tabindex]:not([tabindex="-1"])',c=function(t){if(t){var e=t.querySelectorAll(u);if(e.length&&e[0].focus)return e[0]}},d=function(t){if(t){var e=t.querySelectorAll(u);if(e.length&&e[e.length-1].focus)return e[e.length-1]}},h=function(t){if(t){var e=t.querySelectorAll(u);e.length&&e[0].focus&&e[0].focus()}},f=function(t){if(t){var e=t.querySelectorAll(u);e.length&&e[e.length-1].focus&&e[e.length-1].focus()}},v=function(t,e){var n=!0;if(t.keyCode!==a.enter&&t.target===e)return!1;if(t.keyCode===a.enter&&t.target===e)n=!0,setTimeout((function(){h(e)}),1);else if(t.keyCode===a.esc)n=!1,e.focus();else if(t.keyCode===a.tab){var i=c(e),o=d(e);o&&!t.shiftKey&&t.target===o&&(t.preventDefault(),i.focus()),i&&t.shiftKey&&t.target===i&&(t.preventDefault(),o.focus())}return n},m=n(895),g=function(t,e){return function(n){return e(t(n))}},y=function(t,e,n){return t.addEventListener&&t.addEventListener(e,n)},x=function(t,e,n){return t&&t.removeEventListener&&t.removeEventListener(e,n)},E=function(){},w=function(t){return t.preventDefault()},b=/touch/;function S(t){return t.type.match(b)?{pageX:t.changedTouches[0].pageX,pageY:t.changedTouches[0].pageY,clientX:t.changedTouches[0].clientX,clientY:t.changedTouches[0].clientY,type:t.type,originalEvent:t,isTouch:!0}:{pageX:t.pageX,pageY:t.pageY,clientX:t.clientX,clientY:t.clientY,offsetX:t.offsetX,offsetY:t.offsetY,type:t.type,ctrlKey:t.ctrlKey,shiftKey:t.shiftKey,altKey:t.altKey,originalEvent:t}}var O=function(t){var e=this,n=t.press;void 0===n&&(n=E);var i=t.drag;void 0===i&&(i=E);var o=t.release;void 0===o&&(o=E);var r=t.mouseOnly;void 0===r&&(r=!1),this._pressHandler=g(S,n),this._dragHandler=g(S,i),this._releaseHandler=g(S,o),this._ignoreMouse=!1,this._mouseOnly=r,this._touchstart=function(t){1===t.touches.length&&e._pressHandler(t)},this._touchmove=function(t){1===t.touches.length&&e._dragHandler(t)},this._touchend=function(t){0===t.touches.length&&1===t.changedTouches.length&&(e._releaseHandler(t),e._ignoreMouse=!0,setTimeout(e._restoreMouse,2e3))},this._restoreMouse=function(){e._ignoreMouse=!1},this._mousedown=function(t){var n=t.which;n&&n>1||e._ignoreMouse||(y(e.document,"mousemove",e._mousemove),y(e.document,"mouseup",e._mouseup),e._pressHandler(t))},this._mousemove=function(t){e._dragHandler(t)},this._mouseup=function(t){x(e.document,"mousemove",e._mousemove),x(e.document,"mouseup",e._mouseup),e._releaseHandler(t)},this._pointerdown=function(t){t.isPrimary&&0===t.button&&(y(e.document,"pointermove",e._pointermove),y(e.document,"pointerup",e._pointerup),y(e.document,"pointercancel",e._pointerup),y(e.document,"contextmenu",w),e._pressHandler(t))},this._pointermove=function(t){t.isPrimary&&e._dragHandler(t)},this._pointerup=function(t){t.isPrimary&&(x(e.document,"pointermove",e._pointermove),x(e.document,"pointerup",e._pointerup),x(e.document,"pointercancel",e._pointerup),x(e.document,"contextmenu",w),e._releaseHandler(t))}},$={document:{configurable:!0}};O.supportPointerEvent=function(){return"undefined"!=typeof window&&window.PointerEvent},$.document.get=function(){return this._element?this._element.ownerDocument:document},O.prototype.bindTo=function(t){t!==this._element&&(this._element&&this._unbindFromCurrent(),this._element=t,this._bindToCurrent())},O.prototype._bindToCurrent=function(){var t=this._element;this._usePointers()?y(t,"pointerdown",this._pointerdown):(y(t,"mousedown",this._mousedown),this._mouseOnly||(y(t,"touchstart",this._touchstart),y(t,"touchmove",this._touchmove),y(t,"touchend",this._touchend)))},O.prototype._unbindFromCurrent=function(){var t=this._element;if(this._usePointers())return x(t,"pointerdown",this._pointerdown),x(this.document,"pointermove",this._pointermove),x(this.document,"pointerup",this._pointerup),x(this.document,"contextmenu",w),void x(this.document,"pointercancel",this._pointerup);x(t,"mousedown",this._mousedown),this._mouseOnly||(x(t,"touchstart",this._touchstart),x(t,"touchmove",this._touchmove),x(t,"touchend",this._touchend))},O.prototype._usePointers=function(){return!this._mouseOnly&&O.supportPointerEvent()},O.prototype.update=function(t){var e=t.press;void 0===e&&(e=E);var n=t.drag;void 0===n&&(n=E);var i=t.release;void 0===i&&(i=E);var o=t.mouseOnly;void 0===o&&(o=!1),this._pressHandler=g(S,e),this._dragHandler=g(S,n),this._releaseHandler=g(S,i),this._mouseOnly=o},O.prototype.destroy=function(){this._unbindFromCurrent(),this._element=null},Object.defineProperties(O.prototype,$),O.default=O;const k=O;function C(t){var e=t.$slots.default;return t.v3&&e&&"function"==typeof e?e():e}var _;function D(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var P=m,A=(P.h,P.version&&"3"===P.version[0]),R=(D(_={emits:{press:null,drag:null,release:null},inheritAttrs:!1,created:function(){this.element=null,this.draggable=new k({press:this.press,drag:this.drag,release:this.release})},setup:A?function(){return{v3:!!A}}:void 0,mounted:function(){this.$el&&(this.element=3===this.$el.nodeType?this.$el.nextElementSibling:this.$el,this.draggable.bindTo(this.element))},destroyed:A?void 0:function(){this.draggable.destroy()},unmounted:function(){this.draggable.destroy()},methods:{press:function(t){this.element&&this.$emit("press",t,this.element)},drag:function(t){this.element&&this.$emit("drag",t,this.element)},release:function(t){this.element&&this.$emit("release",t,this.element)}}},"setup",A?function(){return{v3:!!A}}:void 0),D(_,"render",(function(t){return C(this)})),_),N=function(t){return t?new Date(t.getTime()):null};function z(t){var e={};return T(t,e),e}function T(t,e){for(var n in t)if(t.hasOwnProperty(n)){var i=t[n];e[n]=j(i,e[n])}}function j(t,e){if(Array.isArray(t))return L(t);if(t instanceof Date)return N(t);if(t&&i(t)){var n=e||{};return T(t,n),n}return t}function L(t){return t.map((function(t){return j(t,void 0)}))}var B=function(){},M=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g,I={};function F(t){if(I[t])return I[t];var e=[];return t.replace(M,(function(t,n,i,o){e.push(void 0!==n?n:i||o)})),I[t]=function(t){for(var n=t,i=0;i<e.length&&n;i++)n=n[e[i]];return n},I[t]}I.undefined=function(){};var V={};function W(t){if(V[t])return V[t];var e=[];return t.replace(M,(function(t,n,i,o){e.push(void 0!==n?n:i||o)})),V[t]=function(t,n){for(var i=t,o=e.length-1,r=0;r<o&&i;r++)i=i[e[r]]=i[e[r]]||{};i[e[o]]=n},V[t]}function H(t){return this.v3?Object.keys(this.$attrs).map((function(t){return t.toLowerCase()})).some((function(e){return e.endsWith(t.toLowerCase())})):this.$listeners[t]}function U(){if(this.v3){var t={};for(var e in this.$attrs)e.startsWith("on")&&(t[e]=this.$attrs[e]);return t}return this.$listeners}V.undefined=function(t){return t};var X=function(){return X=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},X.apply(this,arguments)},K=m,Y=K.version&&"3"===K.version[0],q={type:[String,Function,Object,Boolean],default:function(){}};function Z(t,e){if(t||!1===t){var n=Y?this.$slots[t]||(t.toLowerCase?this.$slots[t.toLowerCase()]:null):this.$scopedSlots[t]||(t.toLowerCase?this.$scopedSlots[t.toLowerCase()]:null);return"string"==typeof t&&n?{kt:!0,type:"slot",render:n,listeners:e}:"string"==typeof t||i(t)||"function"==typeof t&&t.component?{kt:!0,type:"component",render:t,listeners:e}:{kt:!0,type:"renderFunction",render:t,listeners:e}}}function G(t){var e,n,i,o=t.h,r=t.template,a=t.defaultRendering,s=t.defaultSlots,l=t.additionalProps,p=t.additionalListeners,u=t.swapDefaultSlots;if(!r||r&&!0===r.render)return a;if(Y){var c=a?a.props:{};e=X(X({},J(p)),r.listeners),n=X(X(X({},c),l),e),i=X(X({},n),e)}else{var d=a&&a.componentOptions,h=d?a.componentOptions.listeners:{},f=d?a.componentOptions.propsData:{};e=X(X(X(X({},h),p),J(p)),r.listeners),i={props:n=X(X(X({},f),l),e),on:e}}if("slot"===r.type){var v=r.render({props:n,listeners:e,methods:e,defaultSlots:s});return v?v[0]:void 0}return"renderFunction"===r.type?u?r.render?r.render(o,a,s,n,e):void 0:r.render?r.render(o,a,n,e,s):void 0:o(r.render,i,Y?function(){return[s]}:[s])}function J(t){if(!t)return t;for(var e={},n=Object.keys(t),i=0;i<n.length;i++){var o=n[i];e["on"+o.charAt(0).toUpperCase()+o.slice(1)]=t[o]}return e}var Q=function(t,e,n){var i="string"==typeof t?parseInt(t,void 0):t;if(NaN!==i)return void 0!==i?i:e?n?void 0:-1:0};function tt(t){return Boolean(s&&t&&"rtl"===getComputedStyle(t).direction)}function et(t,e){if(!e&&s&&t){var n=window.getComputedStyle(t).direction;if(n)return n}return e}var nt=n(302);function it(t){if(void 0!==nt)nt.validatePackage(t);else{var e="License activation failed for ".concat(t.name,"\n");e+="The @progress/kendo-licensing script is not loaded.\n",e+="See ".concat(t.licensingDocsUrl," for more information.\n"),console.warn(e)}}var ot={sizeMap:{small:"sm",medium:"md",large:"lg"},roundedMap:{small:"sm",medium:"md",large:"lg"}}},302:t=>{t.exports=e},895:e=>{e.exports=t}},i={};function o(t){var e=i[t];if(void 0!==e)return e.exports;var r=i[t]={exports:{}};return n[t](r,r.exports,o),r.exports}o.d=(t,e)=>{for(var n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};return(()=>{var t=r;Object.defineProperty(t,"__esModule",{value:!0}),t.PopupVue2=t.Popup=void 0;var e=o(264);Object.defineProperty(t,"Popup",{enumerable:!0,get:function(){return e.Popup}}),Object.defineProperty(t,"PopupVue2",{enumerable:!0,get:function(){return e.PopupVue2}})})(),r})()}));
package/dist/es/Popup.js CHANGED
@@ -273,7 +273,7 @@ var PopupVue2 = {
273
273
  var internalClass = this.v3 ? defaultSlot && defaultSlot[0].props ? defaultSlot[0].props.class : '' : defaultSlot && defaultSlot[0].data ? defaultSlot[0].data.staticClass : ''; // @ts-ignore
274
274
 
275
275
  var domClass = this.v3 ? this.$props.popupClass ? this.$props.popupClass : '' : defaultSlot && defaultSlot[0].data ? defaultSlot[0].data.class : '';
276
- root.innerHTML = "<div class=\"k-animation-container k-animation-container-relative\">\t\n <div class=\"k-popup k-animation-container k-animation-container-relative\">\n <div class=\"" + internalClass + " " + domClass + "\" >\n </div>\t\n </div>\t\n </div>";
276
+ root.innerHTML = "<div class=\"k-animation-container k-animation-container-relative\">\t\n <div class=\"k-popup k-animation-container k-animation-container-relative\">\n <div class=\"".concat(internalClass, " ").concat(domClass, "\" >\n </div>\t\n </div>\t\n </div>");
277
277
  }
278
278
 
279
279
  appendToElement.appendChild(root);
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -1 +1,2 @@
1
+ export {};
1
2
  // tslint:enable:max-line-length
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -5,7 +5,7 @@ export var packageMetadata = {
5
5
  name: '@progress/kendo-vue-popup',
6
6
  productName: 'Kendo UI for Vue',
7
7
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
8
- publishDate: 1659345062,
8
+ publishDate: 1660123587,
9
9
  version: '',
10
10
  licensingDocsUrl: 'https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning'
11
11
  };
package/dist/es/util.js CHANGED
@@ -92,7 +92,7 @@ export var OVERFLOW_REGEXP = /auto|scroll/;
92
92
 
93
93
  var overflowStyle = function overflowStyle(element) {
94
94
  var styles = window.getComputedStyle(element);
95
- return "" + styles.overflow + styles.overflowX + styles.overflowY;
95
+ return "".concat(styles.overflow).concat(styles.overflowX).concat(styles.overflowY);
96
96
  };
97
97
  /**
98
98
  * @hidden
@@ -143,7 +143,7 @@ export var hasRelativeStackingContext = function hasRelativeStackingContext() {
143
143
  if (parent && parent.firstChild) {
144
144
  var firstChild = parent.firstChild;
145
145
  firstChild.style.position = 'fixed';
146
- firstChild.style.top = top + "px";
146
+ firstChild.style.top = "".concat(top, "px");
147
147
  }
148
148
 
149
149
  var isDifferent = parent.children[0].getBoundingClientRect().top !== top;
@@ -0,0 +1,72 @@
1
+ import { DefineComponent } from './additionalTypes';
2
+ import { RecordPropsDefinition, ComponentOptions, Vue2type } from './additionalTypes';
3
+ declare type DefaultData<V> = object | ((this: V) => {});
4
+ declare type DefaultMethods<V> = {
5
+ [key: string]: (this: V, ...args: any[]) => any;
6
+ };
7
+ import { Position } from './models/Position';
8
+ import { PopupProps } from './models/PopupProps';
9
+ import { AlignService } from './services/alignService';
10
+ import { DOMService } from './services/domService';
11
+ import { PositionService } from './services/positionService';
12
+ /**
13
+ * @hidden
14
+ */
15
+ export interface PropsWithChildren extends PopupProps {
16
+ children?: any;
17
+ }
18
+ /**
19
+ * @hidden
20
+ */
21
+ export interface PopupMethods {
22
+ [key: string]: any;
23
+ onOpened: () => void;
24
+ onClosing: () => void;
25
+ onClosed: () => void;
26
+ transitionDuration: () => any;
27
+ getParentRef: (anchor: string) => any;
28
+ position: (settings: PopupProps, element: HTMLElement, anchor: string) => Position;
29
+ calculatePosition: ($props: any, appendToElement?: HTMLElement) => Position;
30
+ attachRepositionHandlers: (element: any) => void;
31
+ detachRepositionHandlers: () => void;
32
+ reposition: () => void;
33
+ }
34
+ /**
35
+ * @hidden
36
+ */
37
+ export interface PopupState {
38
+ mountedAppendTo: any;
39
+ mountedAnchor: any;
40
+ _parentElement: any;
41
+ _alignService: AlignService;
42
+ _positionService: PositionService;
43
+ _domService: DOMService;
44
+ _flipped: boolean;
45
+ _offsetTop: number;
46
+ _offsetLeft: number;
47
+ _scrollableParents: Array<HTMLElement> | undefined;
48
+ _exitingAnimation: boolean | undefined;
49
+ _prevShow?: boolean;
50
+ _initiallyMountedContent: any;
51
+ v3: boolean;
52
+ }
53
+ /**
54
+ * @hidden
55
+ */
56
+ export interface PopupData {
57
+ hasMounted: boolean;
58
+ }
59
+ /**
60
+ * @hidden
61
+ */
62
+ export interface PopupAll extends PopupMethods, PopupState, PopupData, Vue2type {
63
+ }
64
+ /**
65
+ * @hidden
66
+ */
67
+ declare let PopupVue2: ComponentOptions<Vue2type, DefaultData<PopupData>, DefaultMethods<PopupAll>, {}, RecordPropsDefinition<PopupProps>>;
68
+ /**
69
+ * @hidden
70
+ */
71
+ declare const Popup: DefineComponent<PopupProps, any, PopupData, {}, PopupMethods, {}, {}, {}, string, PopupProps, PopupProps, {}>;
72
+ export { Popup, PopupVue2 };