@progress/kendo-vue-tooltip 3.4.2 → 3.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(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.KendoVueTooltip=e(require("vue"),require("@progress/kendo-licensing")):t.KendoVueTooltip=e(t.Vue,t.KendoLicensing)}(window,(function(t,e){return function(t){var e={};function n(o){if(e[o])return e[o].exports;var i=e[o]={i:o,l:!1,exports:{}};return t[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},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 o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(o,i,function(e){return t[e]}.bind(null,i));return o},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=2)}([function(e,n){e.exports=t},function(t,n){t.exports=e},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TooltipVue2=e.Tooltip=void 0;var o=n(3);Object.defineProperty(e,"Tooltip",{enumerable:!0,get:function(){return o.Tooltip}}),Object.defineProperty(e,"TooltipVue2",{enumerable:!0,get:function(){return o.TooltipVue2}})},function(t,e,n){"use strict";var o=function(){return(o=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)},i=Object.create?function(t,e,n,o){void 0===o&&(o=n),Object.defineProperty(t,o,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,o){void 0===o&&(o=n),t[o]=e[n]},r=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},s=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.TooltipVue2=e.Tooltip=void 0;var u=s(n(0)),l=u.h,a="3"===u.version[0],c=n(6),p=n(4),d=n(5),h={name:"KendoTooltip",inheritAttrs:!1,props:{showCallout:{type:Boolean,default:!0},setCalloutOnPositionAuto:{type:String,default:void 0},anchorElement:{type:String,default:"pointer",validator:function(t){return["pointer","target"].includes(t)}},content:[String,Object,Function],filter:Function,openDelay:{type:Number,default:400},open:{type:Boolean,default:void 0},position:{type:String,default:"auto",validator:function(t){return["right","left","top","bottom","auto"].includes(t)}},updatePosition:{type:Function,default:void 0},updateInterval:Number,className:String,wrapperStyle:Object,tooltipClassName:String,tooltipStyle:Object,targetElement:[Object,HTMLAnchorElement],parentTitle:{type:Boolean,default:!1}},data:function(){return{top:0,left:0,currentTargetElement:null,currentOpen:!1,title:""}},computed:{wrapperClass:function(){var t;return(t={"k-animation-container":!0,"k-animation-container-fixed":!0,"k-animation-container-shown":!0})[this.$props.className]=!0,t},computedTarget:function(){return void 0!==this.targetElement?this.targetElement:this.currentTargetElement},computedOpen:function(){return void 0!==this.open?this.open:this.currentOpen}},inject:{kCurrentZIndex:{default:null}},created:function(){c.validatePackage(d.packageMetadata),this.top=0,this.left=0,this.willOpen=!1},mounted:function(){this.element=c.getRef(this,"element"),document&&document.body.addEventListener("mousemove",this.handleBodyMousemove)},destroyed:a?void 0:function(){this.destroyElement()},unmounted:function(){this.destroyElement()},updated:function(){if(this.$props.open&&this.$props.targetElement&&this.showToolTip({target:this.$props.targetElement}),this.element=c.getRef(this,"element"),this.element){if(this.resetPosition(),this.computedTarget){var t=this.$props.appendTo?this.$props.appendTo:this.computedTarget.ownerDocument.body;this.element.parentElement!==t&&this.computedTarget.ownerDocument.body.append(this.element)}this.callout=this.v3?this.calloutRef:this.$refs.callout,this.callout&&(this.callout.className=this.calloutClassName(),"auto"===this.$props.position&&(this.left<window.screen.availWidth/2?this.callout.style.left=this.$props.setCalloutOnPositionAuto||"25%":this.callout.style.left=this.$props.setCalloutOnPositionAuto||"75%"))}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=l||t,n=c.getDefaultSlots(this),i=this.getCurrentZIndex(),r=this.$props.content?c.templateRendering.call(this,this.$props.content,c.getListeners.call(this)):void 0,s=this.title,u=c.getTemplate.call(this,{h:e,template:r,defaultRendering:s,additionalProps:{title:this.title,target:this.computedTarget}}),a=this.computedOpen&&e("div",{class:c.classNames("k-tooltip",this.$props.tooltipClassName),style:o({position:"relative"},this.$props.tooltipStyle)},[e("div",{class:"k-tooltip-content"},[u]),this.$props.showCallout&&e("div",{ref:c.setRef(this,"callout")})]),p=this.computedTarget&&this.title&&this.computedTarget.ownerDocument&&e("div",{ref:c.setRef(this,"element"),class:this.wrapperClass,style:o({zIndex:i},this.$props.wrapperStyle),tabindex:0,attrs:this.v3?void 0:{tabindex:0}},[a]);return n?e("div",{onMouseover:this.handleMouseOver,on:this.v3?void 0:{mouseover:this.handleMouseOver,mouseout:this.handleMouseOut},onMouseout:this.handleMouseOut},[p,n]):p},methods:{destroyElement:function(){clearTimeout(this.openTimeoutId),clearInterval(this.updateIntervalId),document&&document.body.removeEventListener("mousemove",this.handleBodyMousemove),this.element&&this.element.remove()},handleMouseOut:function(t){var e=this.computedTarget?this.computedTarget.ownerDocument:document,n=e&&e.elementFromPoint(t.clientX,t.clientY);this.willOpen=!1,p.isTooltipElement(n)||this.computedTarget!==t.target||this.$props.open||(clearInterval(this.updateIntervalId),this.onClose(t))},handleMouseOver:function(t){var e=t.target;this.isVisible(e)&&!p.isTooltipElement(e)&&e!==this.computedTarget&&this.showToolTip(t)},handleBodyMousemove:function(t){this.top=t.clientY,this.left=t.clientX},onClose:function(t){this.$emit("close",{event:t,component:this}),this.currentTargetElement=null,this.currentOpen=!1,this.title=""},showToolTip:function(t){var e=this;clearTimeout(this.openTimeoutId),clearInterval(this.updateIntervalId),t.target.hasChildNodes()&&t.target.childNodes.forEach((function(e){"title"===e.nodeName&&(t.target.titleExpando=e.innerHTML,e.remove())}));var n=this.computedTarget||t.target,o=this.getTitle(n);o.title?(o.element&&(o.element.titleExpando=o.title,o.element.title=""),this.willOpen=!0,this.$props.openDelay?this.openTimeoutId=window.setTimeout((function(){e.willOpen&&(e.currentTargetElement=n,e.currentOpen=!0,e.title=o.title,e.setUpdateInterval())}),this.$props.openDelay):(this.currentTargetElement=n,this.currentOpen=!0,this.title=o.title,this.setUpdateInterval()),this.title!==o.title&&this.$emit("open",{event:t,compoponent:this})):this.computedOpen&&this.onClose(t)},setUpdateInterval:function(){this.$props.updateInterval&&(this.updateIntervalId=setInterval(this.onIntervalUpdate,this.$props.updateInterval))},onIntervalUpdate:function(){var t=this.computedTarget;t&&(null===t.parentElement?this.onClose({target:t}):this.showToolTip({target:t}))},resetPosition:function(){if(this.element){var t=void 0;t=this.$props.updatePosition?this.$props.updatePosition({element:this.element,targetElement:this.computedTarget,mouseTop:this.top,mouseLeft:this.left,anchorElement:this.$props.anchorElement,position:this.$props.position,target:this}):this.setPosition(this.element),this.element.style.left=t.left+"px",this.element.style.top=t.top+"px"}},isVisible:function(t){return!this.$props.filter||this.$props.filter(t)},setPosition:function(t){var e=this.parentTitle?this.getTitle(this.computedTarget).element:this.computedTarget,n=p.getDomRect(e);return{left:p.getLeftPosition(this.left,t.offsetWidth,n,this.$props.anchorElement,this.$props.position),top:p.getTopPosition(this.top,n,t.offsetHeight,this.$props.anchorElement,this.$props.position)}},getTitle:function(t){for(;t;){if(null!==t.getAttribute("title")||t.titleExpando)return{title:t.getAttribute("title")||t.titleExpando,element:t};t=this.$props.parentTitle&&t.parentElement||null}return{title:"",element:t}},calloutClassName:function(){switch(this.$props.position){case"bottom":return"k-callout k-callout-n";case"left":return"k-callout k-callout-e";case"right":return"k-callout k-callout-w";case"top":return"k-callout k-callout-s";default:return this.top<window.innerHeight/2?"k-callout k-callout-n":"k-callout k-callout-s"}},getCurrentZIndex:function(){return this.kCurrentZIndex?this.kCurrentZIndex:100}}};e.TooltipVue2=h;var f=h;e.Tooltip=f},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isTooltipElement=e.toolTipSelectors=e.getDomRect=e.getTopPosition=e.getLeftPosition=void 0;e.getLeftPosition=function(t,e,n,o,i){switch(i){case"bottom":return"pointer"===o?t-e/2:n.left-e/2+n.width/2;case"left":return"pointer"===o?t-e-10:n.left-e-10;case"right":return"pointer"===o?t+10:n.right+10;case"top":return"pointer"===o?t-e/2:n.left-e/2+n.width/2;default:return"pointer"===o?t<window.screen.availWidth/2?t-10:t-e+10:t<window.screen.availWidth/2?n.left:n.right-e}},e.getTopPosition=function(t,e,n,o,i){switch(i){case"bottom":return"pointer"===o?t+10:e.bottom+10;case"left":case"right":return"pointer"===o?t-n/2:e.top-n/2+e.height/2;case"top":return"pointer"===o?t-n-10:e.top-n-10;default:return"pointer"===o?t<window.innerHeight/2?t+10:t-n-10:t<window.innerHeight/2?e.bottom+10:e.top-n-10}},e.getDomRect=function(t){return null!==t?t.getBoundingClientRect():document.body.getBoundingClientRect()},e.toolTipSelectors=["k-tooltip-content","k-animation-container","k-tooltip","k-tooltip-title","k-tooltip k-tooltip-closable","k-icon k-i-close"],e.isTooltipElement=function(t){if(null===t)return!1;for(var n=t;n;){if(null!==n&&n.classList&&n.classList.contains("k-tooltip"))return!0;n=null!==n.parentNode&&n.parentNode}return e.toolTipSelectors.filter((function(e){return e===t.className})).length>0}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.packageMetadata=void 0,e.packageMetadata={name:"@progress/kendo-vue-tooltip",productName:"Kendo UI for Vue",productCodes:["KENDOUIVUE","KENDOUICOMPLETE"],publishDate:1657172350,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,"getRef",(function(){return l})),n.d(e,"setRef",(function(){return a})),n.d(e,"classNames",(function(){return i})),n.d(e,"guid",(function(){return r})),n.d(e,"Keys",(function(){return s})),n.d(e,"noop",(function(){return S})),n.d(e,"isObject",(function(){return o})),n.d(e,"getListeners",(function(){return K})),n.d(e,"hasListener",(function(){return A})),n.d(e,"canUseDOM",(function(){return u})),n.d(e,"focusFirstFocusableChild",(function(){return c})),n.d(e,"clone",(function(){return C})),n.d(e,"Draggable",(function(){return E})),n.d(e,"cloneArray",(function(){return x})),n.d(e,"cloneValue",(function(){return I})),n.d(e,"cloneObject",(function(){return M})),n.d(e,"cloneDate",(function(){return j})),n.d(e,"getTemplate",(function(){return Y})),n.d(e,"templateRendering",(function(){return X})),n.d(e,"templateDefinition",(function(){return F})),n.d(e,"getTabIndex",(function(){return W})),n.d(e,"getDefaultSlots",(function(){return O})),n.d(e,"isRtl",(function(){return q})),n.d(e,"getDir",(function(){return Z})),n.d(e,"getter",(function(){return N})),n.d(e,"setter",(function(){return R})),n.d(e,"validatePackage",(function(){return G})),n.d(e,"kendoThemeMaps",(function(){return J}));var o=function(t){return"object"==typeof t},i=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)?i.apply(void 0,t):o(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},s={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},u=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 a(t,e,n){return t.v3?function(n){t[e+"Ref"]=n}:n||e}var c=function(t){if(t){var e=t.querySelectorAll('input, [tabindex]:not([tabindex="-1"])');e.length&&e[0].focus&&e[0].focus()}},p=n(0),d=function(t,e){return function(n){return e(t(n))}},h=function(t,e,n){return t.addEventListener&&t.addEventListener(e,n)},f=function(t,e,n){return t&&t.removeEventListener&&t.removeEventListener(e,n)},m=function(){},v=function(t){return t.preventDefault()},g=/touch/;function y(t){return t.type.match(g)?{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 b=function(t){var e=this,n=t.press;void 0===n&&(n=m);var o=t.drag;void 0===o&&(o=m);var i=t.release;void 0===i&&(i=m);var r=t.mouseOnly;void 0===r&&(r=!1),this._pressHandler=d(y,n),this._dragHandler=d(y,o),this._releaseHandler=d(y,i),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||(h(e.document,"mousemove",e._mousemove),h(e.document,"mouseup",e._mouseup),e._pressHandler(t))},this._mousemove=function(t){e._dragHandler(t)},this._mouseup=function(t){f(e.document,"mousemove",e._mousemove),f(e.document,"mouseup",e._mouseup),e._releaseHandler(t)},this._pointerdown=function(t){t.isPrimary&&0===t.button&&(h(e.document,"pointermove",e._pointermove),h(e.document,"pointerup",e._pointerup),h(e.document,"pointercancel",e._pointerup),h(e.document,"contextmenu",v),e._pressHandler(t))},this._pointermove=function(t){t.isPrimary&&e._dragHandler(t)},this._pointerup=function(t){t.isPrimary&&(f(e.document,"pointermove",e._pointermove),f(e.document,"pointerup",e._pointerup),f(e.document,"pointercancel",e._pointerup),f(e.document,"contextmenu",v),e._releaseHandler(t))}},_={document:{configurable:!0}};b.supportPointerEvent=function(){return"undefined"!=typeof window&&window.PointerEvent},_.document.get=function(){return this._element?this._element.ownerDocument:document},b.prototype.bindTo=function(t){t!==this._element&&(this._element&&this._unbindFromCurrent(),this._element=t,this._bindToCurrent())},b.prototype._bindToCurrent=function(){var t=this._element;this._usePointers()?h(t,"pointerdown",this._pointerdown):(h(t,"mousedown",this._mousedown),this._mouseOnly||(h(t,"touchstart",this._touchstart),h(t,"touchmove",this._touchmove),h(t,"touchend",this._touchend)))},b.prototype._unbindFromCurrent=function(){var t=this._element;if(this._usePointers())return f(t,"pointerdown",this._pointerdown),f(this.document,"pointermove",this._pointermove),f(this.document,"pointerup",this._pointerup),f(this.document,"contextmenu",v),void f(this.document,"pointercancel",this._pointerup);f(t,"mousedown",this._mousedown),this._mouseOnly||(f(t,"touchstart",this._touchstart),f(t,"touchmove",this._touchmove),f(t,"touchend",this._touchend))},b.prototype._usePointers=function(){return!this._mouseOnly&&b.supportPointerEvent()},b.prototype.update=function(t){var e=t.press;void 0===e&&(e=m);var n=t.drag;void 0===n&&(n=m);var o=t.release;void 0===o&&(o=m);var i=t.mouseOnly;void 0===i&&(i=!1),this._pressHandler=d(y,e),this._dragHandler=d(y,n),this._releaseHandler=d(y,o),this._mouseOnly=i},b.prototype.destroy=function(){this._unbindFromCurrent(),this._element=null},Object.defineProperties(b.prototype,_),b.default=b;var T,w=b;function O(t){var e=t.$slots.default;return t.v3&&e&&"function"==typeof e?e():e}function k(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,P=($.h,"3"===$.version[0]),E=(k(T={emits:{press:null,drag:null,release:null},inheritAttrs:!1,created:function(){this.element=null,this.draggable=new w({press:this.press,drag:this.drag,release:this.release})},setup:P?function(){return{v3:!!P}}:void 0,mounted:function(){this.$el&&(this.element=3===this.$el.nodeType?this.$el.nextElementSibling:this.$el,this.draggable.bindTo(this.element))},destroyed:P?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",P?function(){return{v3:!!P}}:void 0),k(T,"render",(function(t){return O(this)})),T),j=function(t){return t?new Date(t.getTime()):null};function C(t){var e={};return M(t,e),e}function M(t,e){for(var n in t)if(t.hasOwnProperty(n)){var o=t[n];e[n]=I(o,e[n])}}function I(t,e){if(Array.isArray(t))return x(t);if(t instanceof Date)return j(t);if(t&&o(t)){var n=e||{};return M(t,n),n}return t}function x(t){return t.map((function(t){return I(t,void 0)}))}var S=function(){},D=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g,L={};function N(t){if(L[t])return L[t];var e=[];return t.replace(D,(function(t,n,o,i){e.push(void 0!==n?n:o||i)})),L[t]=function(t){for(var n=t,o=0;o<e.length&&n;o++)n=n[e[o]];return n},L[t]}L.undefined=function(){};var H={};function R(t){if(H[t])return H[t];var e=[];return t.replace(D,(function(t,n,o,i){e.push(void 0!==n?n:o||i)})),H[t]=function(t,n){for(var o=t,i=e.length-1,r=0;r<i&&o;r++)o=o[e[r]]=o[e[r]]||{};o[e[i]]=n},H[t]}function A(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 K(){if(this.v3){var t={};for(var e in this.$attrs)e.startsWith("on")&&(t[e]=this.$attrs[e]);return t}return this.$listeners}H.undefined=function(t){return t};var U=function(){return(U=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)},V="3"===p.version[0],F={type:[String,Function,Object,Boolean],default:function(){}};function X(t,e){if(t||!1===t){var n=V?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||o(t)||"function"==typeof t&&t.component?{kt:!0,type:"component",render:t,listeners:e}:{kt:!0,type:"renderFunction",render:t,listeners:e}}}function Y(t){var e,n,o,i=t.h,r=t.template,s=t.defaultRendering,u=t.defaultSlots,l=t.additionalProps,a=t.additionalListeners,c=t.swapDefaultSlots;if(!r||r&&!0===r.render)return s;if(V){var p=s?s.props:{};e=U(U({},B(a)),r.listeners),n=U(U(U({},p),l),e),o=U(U({},n),e)}else{var d=s&&s.componentOptions,h=d?s.componentOptions.listeners:{},f=d?s.componentOptions.propsData:{};e=U(U(U(U({},h),a),B(a)),r.listeners),o={props:n=U(U(U({},f),l),e),on:e}}if("slot"===r.type){var m=r.render({props:n,listeners:e,methods:e,defaultSlots:u});return m?m[0]:void 0}return"renderFunction"===r.type?c?r.render?r.render(i,s,u,n,e):void 0:r.render?r.render(i,s,n,e,u):void 0:i(r.render,o,V?function(){return[u]}:[u])}function B(t){if(!t)return t;for(var e={},n=Object.keys(t),o=0;o<n.length;o++){var i=n[o];e["on"+i.charAt(0).toUpperCase()+i.slice(1)]=t[i]}return e}var W=function(t,e,n){var o="string"==typeof t?parseInt(t,void 0):t;if(NaN!==o)return void 0!==o?o:e?n?void 0:-1:0};function q(t){return Boolean(u&&t&&"rtl"===getComputedStyle(t).direction)}function Z(t,e){if(!e&&u&&t){var n=window.getComputedStyle(t).direction;if(n)return n}return e}var z=n(1);function G(t){if(void 0!==z)z.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 J={sizeMap:{small:"sm",medium:"md",large:"lg"},roundedMap:{small:"sm",medium:"md",large:"lg"}}}])}));
|
|
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.KendoVueTooltip=e(require("vue"),require("@progress/kendo-licensing")):t.KendoVueTooltip=e(t.Vue,t.KendoLicensing)}(window,(function(t,e){return function(t){var e={};function n(o){if(e[o])return e[o].exports;var i=e[o]={i:o,l:!1,exports:{}};return t[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},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 o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(o,i,function(e){return t[e]}.bind(null,i));return o},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=2)}([function(e,n){e.exports=t},function(t,n){t.exports=e},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TooltipVue2=e.Tooltip=void 0;var o=n(3);Object.defineProperty(e,"Tooltip",{enumerable:!0,get:function(){return o.Tooltip}}),Object.defineProperty(e,"TooltipVue2",{enumerable:!0,get:function(){return o.TooltipVue2}})},function(t,e,n){"use strict";var o=function(){return(o=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)},i=Object.create?function(t,e,n,o){void 0===o&&(o=n),Object.defineProperty(t,o,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,o){void 0===o&&(o=n),t[o]=e[n]},r=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},s=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.TooltipVue2=e.Tooltip=void 0;var u=s(n(0)),l=u.h,a="3"===u.version[0],c=n(6),p=n(4),d=n(5),h={name:"KendoTooltip",inheritAttrs:!1,props:{showCallout:{type:Boolean,default:!0},setCalloutOnPositionAuto:{type:String,default:void 0},anchorElement:{type:String,default:"pointer",validator:function(t){return["pointer","target"].includes(t)}},content:[String,Object,Function],filter:Function,openDelay:{type:Number,default:400},open:{type:Boolean,default:void 0},position:{type:String,default:"auto",validator:function(t){return["right","left","top","bottom","auto"].includes(t)}},updatePosition:{type:Function,default:void 0},updateInterval:Number,className:String,wrapperStyle:Object,tooltipClassName:String,tooltipStyle:Object,targetElement:[Object,HTMLAnchorElement],parentTitle:{type:Boolean,default:!1}},data:function(){return{top:0,left:0,currentTargetElement:null,currentOpen:!1,title:""}},computed:{wrapperClass:function(){var t;return(t={"k-animation-container":!0,"k-animation-container-fixed":!0,"k-animation-container-shown":!0})[this.$props.className]=!0,t},computedTarget:function(){return void 0!==this.targetElement?this.targetElement:this.currentTargetElement},computedOpen:function(){return void 0!==this.open?this.open:this.currentOpen}},inject:{kCurrentZIndex:{default:null}},created:function(){c.validatePackage(d.packageMetadata),this.top=0,this.left=0,this.willOpen=!1},mounted:function(){this.element=c.getRef(this,"element"),document&&document.body.addEventListener("mousemove",this.handleBodyMousemove)},destroyed:a?void 0:function(){this.destroyElement()},unmounted:function(){this.destroyElement()},updated:function(){if(this.$props.open&&this.$props.targetElement&&this.showToolTip({target:this.$props.targetElement}),this.element=c.getRef(this,"element"),this.element){if(this.resetPosition(),this.computedTarget){var t=this.$props.appendTo?this.$props.appendTo:this.computedTarget.ownerDocument.body;this.element.parentElement!==t&&this.computedTarget.ownerDocument.body.append(this.element)}this.callout=this.v3?this.calloutRef:this.$refs.callout,this.callout&&(this.callout.className=this.calloutClassName(),"auto"===this.$props.position&&(this.left<window.screen.availWidth/2?this.callout.style.left=this.$props.setCalloutOnPositionAuto||"25%":this.callout.style.left=this.$props.setCalloutOnPositionAuto||"75%"))}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=l||t,n=c.getDefaultSlots(this),i=this.getCurrentZIndex(),r=this.$props.content?c.templateRendering.call(this,this.$props.content,c.getListeners.call(this)):void 0,s=this.title,u=c.getTemplate.call(this,{h:e,template:r,defaultRendering:s,additionalProps:{title:this.title,target:this.computedTarget}}),a=this.computedOpen&&e("div",{class:c.classNames("k-tooltip",this.$props.tooltipClassName),style:o({position:"relative"},this.$props.tooltipStyle)},[e("div",{class:"k-tooltip-content"},[u]),this.$props.showCallout&&e("div",{ref:c.setRef(this,"callout")})]),p=this.computedTarget&&this.title&&this.computedTarget.ownerDocument&&e("div",{ref:c.setRef(this,"element"),class:this.wrapperClass,style:o({zIndex:i},this.$props.wrapperStyle),tabindex:0,attrs:this.v3?void 0:{tabindex:0}},[a]);return n?e("div",{onMouseover:this.handleMouseOver,on:this.v3?void 0:{mouseover:this.handleMouseOver,mouseout:this.handleMouseOut},onMouseout:this.handleMouseOut},[p,n]):p},methods:{destroyElement:function(){clearTimeout(this.openTimeoutId),clearInterval(this.updateIntervalId),document&&document.body.removeEventListener("mousemove",this.handleBodyMousemove),this.element&&this.element.remove()},handleMouseOut:function(t){var e=this.computedTarget?this.computedTarget.ownerDocument:document,n=e&&e.elementFromPoint(t.clientX,t.clientY);this.willOpen=!1,p.isTooltipElement(n)||this.computedTarget!==t.target||this.$props.open||(clearInterval(this.updateIntervalId),this.onClose(t))},handleMouseOver:function(t){var e=t.target;this.isVisible(e)&&!p.isTooltipElement(e)&&e!==this.computedTarget&&this.showToolTip(t)},handleBodyMousemove:function(t){this.top=t.clientY,this.left=t.clientX},onClose:function(t){this.$emit("close",{event:t,component:this}),this.currentTargetElement=null,this.currentOpen=!1,this.title=""},showToolTip:function(t){var e=this;clearTimeout(this.openTimeoutId),clearInterval(this.updateIntervalId),t.target.hasChildNodes()&&t.target.childNodes.forEach((function(e){"title"===e.nodeName&&(t.target.titleExpando=e.innerHTML,e.remove())}));var n=this.computedTarget||t.target,o=this.getTitle(n);o.title?(o.element&&(o.element.titleExpando=o.title,o.element.title=""),this.willOpen=!0,this.$props.openDelay?this.openTimeoutId=window.setTimeout((function(){e.willOpen&&(e.currentTargetElement=n,e.currentOpen=!0,e.title=o.title,e.setUpdateInterval())}),this.$props.openDelay):(this.currentTargetElement=n,this.currentOpen=!0,this.title=o.title,this.setUpdateInterval()),this.title!==o.title&&this.$emit("open",{event:t,compoponent:this})):this.computedOpen&&this.onClose(t)},setUpdateInterval:function(){this.$props.updateInterval&&(this.updateIntervalId=setInterval(this.onIntervalUpdate,this.$props.updateInterval))},onIntervalUpdate:function(){var t=this.computedTarget;t&&(null===t.parentElement?this.onClose({target:t}):this.showToolTip({target:t}))},resetPosition:function(){if(this.element){var t=void 0;t=this.$props.updatePosition?this.$props.updatePosition({element:this.element,targetElement:this.computedTarget,mouseTop:this.top,mouseLeft:this.left,anchorElement:this.$props.anchorElement,position:this.$props.position,target:this}):this.setPosition(this.element),this.element.style.left=t.left+"px",this.element.style.top=t.top+"px"}},isVisible:function(t){return!this.$props.filter||this.$props.filter(t)},setPosition:function(t){var e=this.parentTitle?this.getTitle(this.computedTarget).element:this.computedTarget,n=p.getDomRect(e);return{left:p.getLeftPosition(this.left,t.offsetWidth,n,this.$props.anchorElement,this.$props.position),top:p.getTopPosition(this.top,n,t.offsetHeight,this.$props.anchorElement,this.$props.position)}},getTitle:function(t){for(;t;){if(null!==t.getAttribute("title")||t.titleExpando)return{title:t.getAttribute("title")||t.titleExpando,element:t};t=this.$props.parentTitle&&t.parentElement||null}return{title:"",element:t}},calloutClassName:function(){switch(this.$props.position){case"bottom":return"k-callout k-callout-n";case"left":return"k-callout k-callout-e";case"right":return"k-callout k-callout-w";case"top":return"k-callout k-callout-s";default:return this.top<window.innerHeight/2?"k-callout k-callout-n":"k-callout k-callout-s"}},getCurrentZIndex:function(){return this.kCurrentZIndex?this.kCurrentZIndex:100}}};e.TooltipVue2=h;var f=h;e.Tooltip=f},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isTooltipElement=e.toolTipSelectors=e.getDomRect=e.getTopPosition=e.getLeftPosition=void 0;e.getLeftPosition=function(t,e,n,o,i){switch(i){case"bottom":return"pointer"===o?t-e/2:n.left-e/2+n.width/2;case"left":return"pointer"===o?t-e-10:n.left-e-10;case"right":return"pointer"===o?t+10:n.right+10;case"top":return"pointer"===o?t-e/2:n.left-e/2+n.width/2;default:return"pointer"===o?t<window.screen.availWidth/2?t-10:t-e+10:t<window.screen.availWidth/2?n.left:n.right-e}},e.getTopPosition=function(t,e,n,o,i){switch(i){case"bottom":return"pointer"===o?t+10:e.bottom+10;case"left":case"right":return"pointer"===o?t-n/2:e.top-n/2+e.height/2;case"top":return"pointer"===o?t-n-10:e.top-n-10;default:return"pointer"===o?t<window.innerHeight/2?t+10:t-n-10:t<window.innerHeight/2?e.bottom+10:e.top-n-10}},e.getDomRect=function(t){return null!==t?t.getBoundingClientRect():document.body.getBoundingClientRect()},e.toolTipSelectors=["k-tooltip-content","k-animation-container","k-tooltip","k-tooltip-title","k-tooltip k-tooltip-closable","k-icon k-i-close"],e.isTooltipElement=function(t){if(null===t)return!1;for(var n=t;n;){if(null!==n&&n.classList&&n.classList.contains("k-tooltip"))return!0;n=null!==n.parentNode&&n.parentNode}return e.toolTipSelectors.filter((function(e){return e===t.className})).length>0}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.packageMetadata=void 0,e.packageMetadata={name:"@progress/kendo-vue-tooltip",productName:"Kendo UI for Vue",productCodes:["KENDOUIVUE","KENDOUICOMPLETE"],publishDate:1657628159,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,"getRef",(function(){return l})),n.d(e,"setRef",(function(){return a})),n.d(e,"classNames",(function(){return i})),n.d(e,"guid",(function(){return r})),n.d(e,"Keys",(function(){return s})),n.d(e,"noop",(function(){return S})),n.d(e,"isObject",(function(){return o})),n.d(e,"getListeners",(function(){return K})),n.d(e,"hasListener",(function(){return A})),n.d(e,"canUseDOM",(function(){return u})),n.d(e,"focusFirstFocusableChild",(function(){return c})),n.d(e,"clone",(function(){return C})),n.d(e,"Draggable",(function(){return E})),n.d(e,"cloneArray",(function(){return x})),n.d(e,"cloneValue",(function(){return I})),n.d(e,"cloneObject",(function(){return M})),n.d(e,"cloneDate",(function(){return j})),n.d(e,"getTemplate",(function(){return Y})),n.d(e,"templateRendering",(function(){return X})),n.d(e,"templateDefinition",(function(){return F})),n.d(e,"getTabIndex",(function(){return W})),n.d(e,"getDefaultSlots",(function(){return O})),n.d(e,"isRtl",(function(){return q})),n.d(e,"getDir",(function(){return Z})),n.d(e,"getter",(function(){return N})),n.d(e,"setter",(function(){return R})),n.d(e,"validatePackage",(function(){return G})),n.d(e,"kendoThemeMaps",(function(){return J}));var o=function(t){return"object"==typeof t},i=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)?i.apply(void 0,t):o(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},s={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},u=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 a(t,e,n){return t.v3?function(n){t[e+"Ref"]=n}:n||e}var c=function(t){if(t){var e=t.querySelectorAll('input, [tabindex]:not([tabindex="-1"])');e.length&&e[0].focus&&e[0].focus()}},p=n(0),d=function(t,e){return function(n){return e(t(n))}},h=function(t,e,n){return t.addEventListener&&t.addEventListener(e,n)},f=function(t,e,n){return t&&t.removeEventListener&&t.removeEventListener(e,n)},m=function(){},v=function(t){return t.preventDefault()},g=/touch/;function y(t){return t.type.match(g)?{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 b=function(t){var e=this,n=t.press;void 0===n&&(n=m);var o=t.drag;void 0===o&&(o=m);var i=t.release;void 0===i&&(i=m);var r=t.mouseOnly;void 0===r&&(r=!1),this._pressHandler=d(y,n),this._dragHandler=d(y,o),this._releaseHandler=d(y,i),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||(h(e.document,"mousemove",e._mousemove),h(e.document,"mouseup",e._mouseup),e._pressHandler(t))},this._mousemove=function(t){e._dragHandler(t)},this._mouseup=function(t){f(e.document,"mousemove",e._mousemove),f(e.document,"mouseup",e._mouseup),e._releaseHandler(t)},this._pointerdown=function(t){t.isPrimary&&0===t.button&&(h(e.document,"pointermove",e._pointermove),h(e.document,"pointerup",e._pointerup),h(e.document,"pointercancel",e._pointerup),h(e.document,"contextmenu",v),e._pressHandler(t))},this._pointermove=function(t){t.isPrimary&&e._dragHandler(t)},this._pointerup=function(t){t.isPrimary&&(f(e.document,"pointermove",e._pointermove),f(e.document,"pointerup",e._pointerup),f(e.document,"pointercancel",e._pointerup),f(e.document,"contextmenu",v),e._releaseHandler(t))}},_={document:{configurable:!0}};b.supportPointerEvent=function(){return"undefined"!=typeof window&&window.PointerEvent},_.document.get=function(){return this._element?this._element.ownerDocument:document},b.prototype.bindTo=function(t){t!==this._element&&(this._element&&this._unbindFromCurrent(),this._element=t,this._bindToCurrent())},b.prototype._bindToCurrent=function(){var t=this._element;this._usePointers()?h(t,"pointerdown",this._pointerdown):(h(t,"mousedown",this._mousedown),this._mouseOnly||(h(t,"touchstart",this._touchstart),h(t,"touchmove",this._touchmove),h(t,"touchend",this._touchend)))},b.prototype._unbindFromCurrent=function(){var t=this._element;if(this._usePointers())return f(t,"pointerdown",this._pointerdown),f(this.document,"pointermove",this._pointermove),f(this.document,"pointerup",this._pointerup),f(this.document,"contextmenu",v),void f(this.document,"pointercancel",this._pointerup);f(t,"mousedown",this._mousedown),this._mouseOnly||(f(t,"touchstart",this._touchstart),f(t,"touchmove",this._touchmove),f(t,"touchend",this._touchend))},b.prototype._usePointers=function(){return!this._mouseOnly&&b.supportPointerEvent()},b.prototype.update=function(t){var e=t.press;void 0===e&&(e=m);var n=t.drag;void 0===n&&(n=m);var o=t.release;void 0===o&&(o=m);var i=t.mouseOnly;void 0===i&&(i=!1),this._pressHandler=d(y,e),this._dragHandler=d(y,n),this._releaseHandler=d(y,o),this._mouseOnly=i},b.prototype.destroy=function(){this._unbindFromCurrent(),this._element=null},Object.defineProperties(b.prototype,_),b.default=b;var T,w=b;function O(t){var e=t.$slots.default;return t.v3&&e&&"function"==typeof e?e():e}function k(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,P=($.h,"3"===$.version[0]),E=(k(T={emits:{press:null,drag:null,release:null},inheritAttrs:!1,created:function(){this.element=null,this.draggable=new w({press:this.press,drag:this.drag,release:this.release})},setup:P?function(){return{v3:!!P}}:void 0,mounted:function(){this.$el&&(this.element=3===this.$el.nodeType?this.$el.nextElementSibling:this.$el,this.draggable.bindTo(this.element))},destroyed:P?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",P?function(){return{v3:!!P}}:void 0),k(T,"render",(function(t){return O(this)})),T),j=function(t){return t?new Date(t.getTime()):null};function C(t){var e={};return M(t,e),e}function M(t,e){for(var n in t)if(t.hasOwnProperty(n)){var o=t[n];e[n]=I(o,e[n])}}function I(t,e){if(Array.isArray(t))return x(t);if(t instanceof Date)return j(t);if(t&&o(t)){var n=e||{};return M(t,n),n}return t}function x(t){return t.map((function(t){return I(t,void 0)}))}var S=function(){},D=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g,L={};function N(t){if(L[t])return L[t];var e=[];return t.replace(D,(function(t,n,o,i){e.push(void 0!==n?n:o||i)})),L[t]=function(t){for(var n=t,o=0;o<e.length&&n;o++)n=n[e[o]];return n},L[t]}L.undefined=function(){};var H={};function R(t){if(H[t])return H[t];var e=[];return t.replace(D,(function(t,n,o,i){e.push(void 0!==n?n:o||i)})),H[t]=function(t,n){for(var o=t,i=e.length-1,r=0;r<i&&o;r++)o=o[e[r]]=o[e[r]]||{};o[e[i]]=n},H[t]}function A(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 K(){if(this.v3){var t={};for(var e in this.$attrs)e.startsWith("on")&&(t[e]=this.$attrs[e]);return t}return this.$listeners}H.undefined=function(t){return t};var U=function(){return(U=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)},V="3"===p.version[0],F={type:[String,Function,Object,Boolean],default:function(){}};function X(t,e){if(t||!1===t){var n=V?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||o(t)||"function"==typeof t&&t.component?{kt:!0,type:"component",render:t,listeners:e}:{kt:!0,type:"renderFunction",render:t,listeners:e}}}function Y(t){var e,n,o,i=t.h,r=t.template,s=t.defaultRendering,u=t.defaultSlots,l=t.additionalProps,a=t.additionalListeners,c=t.swapDefaultSlots;if(!r||r&&!0===r.render)return s;if(V){var p=s?s.props:{};e=U(U({},B(a)),r.listeners),n=U(U(U({},p),l),e),o=U(U({},n),e)}else{var d=s&&s.componentOptions,h=d?s.componentOptions.listeners:{},f=d?s.componentOptions.propsData:{};e=U(U(U(U({},h),a),B(a)),r.listeners),o={props:n=U(U(U({},f),l),e),on:e}}if("slot"===r.type){var m=r.render({props:n,listeners:e,methods:e,defaultSlots:u});return m?m[0]:void 0}return"renderFunction"===r.type?c?r.render?r.render(i,s,u,n,e):void 0:r.render?r.render(i,s,n,e,u):void 0:i(r.render,o,V?function(){return[u]}:[u])}function B(t){if(!t)return t;for(var e={},n=Object.keys(t),o=0;o<n.length;o++){var i=n[o];e["on"+i.charAt(0).toUpperCase()+i.slice(1)]=t[i]}return e}var W=function(t,e,n){var o="string"==typeof t?parseInt(t,void 0):t;if(NaN!==o)return void 0!==o?o:e?n?void 0:-1:0};function q(t){return Boolean(u&&t&&"rtl"===getComputedStyle(t).direction)}function Z(t,e){if(!e&&u&&t){var n=window.getComputedStyle(t).direction;if(n)return n}return e}var z=n(1);function G(t){if(void 0!==z)z.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 J={sizeMap:{small:"sm",medium:"md",large:"lg"},roundedMap:{small:"sm",medium:"md",large:"lg"}}}])}));
|
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-vue-tooltip',
|
|
6
6
|
productName: 'Kendo UI for Vue',
|
|
7
7
|
productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1657628159,
|
|
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
|
};
|
|
@@ -8,7 +8,7 @@ exports.packageMetadata = {
|
|
|
8
8
|
name: '@progress/kendo-vue-tooltip',
|
|
9
9
|
productName: 'Kendo UI for Vue',
|
|
10
10
|
productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
|
|
11
|
-
publishDate:
|
|
11
|
+
publishDate: 1657628159,
|
|
12
12
|
version: '',
|
|
13
13
|
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'
|
|
14
14
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-vue-tooltip",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.3",
|
|
4
4
|
"description": "Kendo UI for Vue Tooltip package",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -33,14 +33,14 @@
|
|
|
33
33
|
"vue": "^2.6.12 || ^3.0.2"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@progress/kendo-vue-common": "3.4.
|
|
36
|
+
"@progress/kendo-vue-common": "3.4.3"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@progress/kendo-licensing": "^1.0.1",
|
|
40
|
-
"@progress/kendo-vue-buttons": "3.4.
|
|
41
|
-
"@progress/kendo-vue-dialogs": "3.4.
|
|
42
|
-
"@progress/kendo-vue-grid": "3.4.
|
|
43
|
-
"@progress/kendo-vue-intl": "3.4.
|
|
40
|
+
"@progress/kendo-vue-buttons": "3.4.3",
|
|
41
|
+
"@progress/kendo-vue-dialogs": "3.4.3",
|
|
42
|
+
"@progress/kendo-vue-grid": "3.4.3",
|
|
43
|
+
"@progress/kendo-vue-intl": "3.4.3"
|
|
44
44
|
},
|
|
45
45
|
"@progress": {
|
|
46
46
|
"friendlyName": "Tooltip",
|