@progress/kendo-vue-notification 3.3.4 → 3.3.6-dev.202206170937

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("vue"),require("@progress/kendo-licensing")):"function"==typeof define&&define.amd?define(["vue","@progress/kendo-licensing"],t):"object"==typeof exports?exports.KendoVueNotification=t(require("vue"),require("@progress/kendo-licensing")):e.KendoVueNotification=t(e.Vue,e.KendoLicensing)}(window,(function(e,t){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=3)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){"use strict";n.r(t),n.d(t,"classNames",(function(){return o})),n.d(t,"guid",(function(){return r})),n.d(t,"Keys",(function(){return i})),n.d(t,"noop",(function(){return C})),n.d(t,"getListeners",(function(){return L})),n.d(t,"hasListener",(function(){return E})),n.d(t,"canUseDOM",(function(){return u})),n.d(t,"focusFirstFocusableChild",(function(){return s})),n.d(t,"clone",(function(){return k})),n.d(t,"Draggable",(function(){return O})),n.d(t,"cloneArray",(function(){return N})),n.d(t,"cloneValue",(function(){return M})),n.d(t,"cloneObject",(function(){return P})),n.d(t,"cloneDate",(function(){return j})),n.d(t,"getTemplate",(function(){return Y})),n.d(t,"templateRendering",(function(){return X})),n.d(t,"templateDefinition",(function(){return V})),n.d(t,"getTabIndex",(function(){return A})),n.d(t,"getDefaultSlots",(function(){return _})),n.d(t,"isRtl",(function(){return F})),n.d(t,"getDir",(function(){return G})),n.d(t,"getter",(function(){return $})),n.d(t,"setter",(function(){return D})),n.d(t,"validatePackage",(function(){return q})),n.d(t,"kendoThemeMaps",(function(){return B}));var o=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.filter((function(e){return!0!==e&&!!e})).map((function(e){return Array.isArray(e)?o.apply(void 0,e):"object"==typeof e?Object.keys(e).map((function(t,n){return e[n]||e[t]&&t||null})).filter((function(e){return null!==e})).join(" "):e})).filter((function(e){return!!e})).join(" ")},r=function(){var e,t,n="";for(e=0;e<32;e++)t=16*Math.random()|0,8!==e&&12!==e&&16!==e&&20!==e||(n+="-"),n+=(12===e?4:16===e?3&t|8:t).toString(16);return n},i={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),s=function(e){if(e){var t=e.querySelectorAll('input, [tabindex]:not([tabindex="-1"])');t.length&&t[0].focus&&t[0].focus()}},c=n(0),a=function(e,t){return function(n){return t(e(n))}},l=function(e,t,n){return e.addEventListener&&e.addEventListener(t,n)},d=function(e,t,n){return e&&e.removeEventListener&&e.removeEventListener(t,n)},f=function(){},p=function(e){return e.preventDefault()},h=/touch/;function v(e){return e.type.match(h)?{pageX:e.changedTouches[0].pageX,pageY:e.changedTouches[0].pageY,clientX:e.changedTouches[0].clientX,clientY:e.changedTouches[0].clientY,type:e.type,originalEvent:e,isTouch:!0}:{pageX:e.pageX,pageY:e.pageY,clientX:e.clientX,clientY:e.clientY,offsetX:e.offsetX,offsetY:e.offsetY,type:e.type,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,altKey:e.altKey,originalEvent:e}}var m=function(e){var t=this,n=e.press;void 0===n&&(n=f);var o=e.drag;void 0===o&&(o=f);var r=e.release;void 0===r&&(r=f);var i=e.mouseOnly;void 0===i&&(i=!1),this._pressHandler=a(v,n),this._dragHandler=a(v,o),this._releaseHandler=a(v,r),this._ignoreMouse=!1,this._mouseOnly=i,this._touchstart=function(e){1===e.touches.length&&t._pressHandler(e)},this._touchmove=function(e){1===e.touches.length&&t._dragHandler(e)},this._touchend=function(e){0===e.touches.length&&1===e.changedTouches.length&&(t._releaseHandler(e),t._ignoreMouse=!0,setTimeout(t._restoreMouse,2e3))},this._restoreMouse=function(){t._ignoreMouse=!1},this._mousedown=function(e){var n=e.which;n&&n>1||t._ignoreMouse||(l(document,"mousemove",t._mousemove),l(document,"mouseup",t._mouseup),t._pressHandler(e))},this._mousemove=function(e){t._dragHandler(e)},this._mouseup=function(e){d(document,"mousemove",t._mousemove),d(document,"mouseup",t._mouseup),t._releaseHandler(e)},this._pointerdown=function(e){e.isPrimary&&0===e.button&&(l(document,"pointermove",t._pointermove),l(document,"pointerup",t._pointerup),l(document,"pointercancel",t._pointerup),l(document,"contextmenu",p),t._pressHandler(e))},this._pointermove=function(e){e.isPrimary&&t._dragHandler(e)},this._pointerup=function(e){e.isPrimary&&(d(document,"pointermove",t._pointermove),d(document,"pointerup",t._pointerup),d(document,"pointercancel",t._pointerup),d(document,"contextmenu",p),t._releaseHandler(e))}};m.supportPointerEvent=function(){return"undefined"!=typeof window&&window.PointerEvent},m.prototype.bindTo=function(e){e!==this._element&&(this._element&&this._unbindFromCurrent(),this._element=e,this._bindToCurrent())},m.prototype._bindToCurrent=function(){var e=this._element;this._usePointers()?l(e,"pointerdown",this._pointerdown):(l(e,"mousedown",this._mousedown),this._mouseOnly||(l(e,"touchstart",this._touchstart),l(e,"touchmove",this._touchmove),l(e,"touchend",this._touchend)))},m.prototype._unbindFromCurrent=function(){var e=this._element;if(this._usePointers())return d(e,"pointerdown",this._pointerdown),d(document,"pointermove",this._pointermove),d(document,"pointerup",this._pointerup),d(document,"contextmenu",p),void d(document,"pointercancel",this._pointerup);d(e,"mousedown",this._mousedown),this._mouseOnly||(d(e,"touchstart",this._touchstart),d(e,"touchmove",this._touchmove),d(e,"touchend",this._touchend))},m.prototype._usePointers=function(){return!this._mouseOnly&&m.supportPointerEvent()},m.prototype.update=function(e){var t=e.press;void 0===t&&(t=f);var n=e.drag;void 0===n&&(n=f);var o=e.release;void 0===o&&(o=f);var r=e.mouseOnly;void 0===r&&(r=!1),this._pressHandler=a(v,t),this._dragHandler=a(v,n),this._releaseHandler=a(v,o),this._mouseOnly=r},m.prototype.destroy=function(){this._unbindFromCurrent(),this._element=null},m.default=m;var g,y=m;function _(e){var t=e.$slots.default;return e.v3&&t&&"function"==typeof t?t():t}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var w=c.h,O=(b(g={emits:{press:null,drag:null,release:null},inheritAttrs:!1,created:function(){this.element=null,this.draggable=new y({press:this.press,drag:this.drag,release:this.release})},setup:w?function(){return{v3:!!w}}:void 0,mounted:function(){this.$el&&(this.element=3===this.$el.nodeType?this.$el.nextElementSibling:this.$el,this.draggable.bindTo(this.element))},destroyed:w?void 0:function(){this.draggable.destroy()},unmounted:function(){this.draggable.destroy()},methods:{press:function(e){this.element&&this.$emit("press",e,this.element)},drag:function(e){this.element&&this.$emit("drag",e,this.element)},release:function(e){this.element&&this.$emit("release",e,this.element)}}},"setup",w?function(){return{v3:!!w}}:void 0),b(g,"render",(function(e){return _(this)})),g),j=function(e){return e?new Date(e.getTime()):null};function k(e){var t={};return P(e,t),t}function P(e,t){for(var n in e)if(e.hasOwnProperty(n)){var o=e[n];t[n]=M(o,t[n])}}function M(e,t){if(Array.isArray(e))return N(e);if(e instanceof Date)return j(e);if(e&&"object"==typeof e){var n=t||{};return P(e,n),n}return e}function N(e){return e.map((function(e){return M(e,void 0)}))}var C=function(){},S=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g,T={};function $(e){if(T[e])return T[e];var t=[];return e.replace(S,(function(e,n,o,r){t.push(void 0!==n?n:o||r)})),T[e]=function(e){for(var n=e,o=0;o<t.length&&n;o++)n=n[t[o]];return n},T[e]}T.undefined=function(){};var x={};function D(e){if(x[e])return x[e];var t=[];return e.replace(S,(function(e,n,o,r){t.push(void 0!==n?n:o||r)})),x[e]=function(e,n){for(var o=e,r=t.length-1,i=0;i<r&&o;i++)o=o[t[i]]=o[t[i]]||{};o[t[r]]=n},x[e]}function E(e){return this.v3?Object.keys(this.$attrs).map((function(e){return e.toLowerCase()})).some((function(t){return t.endsWith(e.toLowerCase())})):this.$listeners[e]}function L(){if(this.v3){var e={};for(var t in this.$attrs)t.startsWith("on")&&(e[t]=this.$attrs[t]);return e}return this.$listeners}x.undefined=function(e){return e};var H=function(){return(H=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},K=c.h,V={type:[String,Function,Object,Boolean],default:function(){}};function X(e,t){if(e||!1===e){var n=K?this.$slots[e]||(e.toLowerCase?this.$slots[e.toLowerCase()]:null):this.$scopedSlots[e]||(e.toLowerCase?this.$scopedSlots[e.toLowerCase()]:null);return"string"==typeof e&&n?{kt:!0,type:"slot",render:n,listeners:t}:"string"==typeof e||"object"==typeof e||"function"==typeof e&&e.component?{kt:!0,type:"component",render:e,listeners:t}:{kt:!0,type:"renderFunction",render:e,listeners:t}}}function Y(e){var t,n,o,r=e.h,i=e.template,u=e.defaultRendering,s=e.defaultSlots,c=e.additionalProps,a=e.additionalListeners,l=e.swapDefaultSlots;if(!i||i&&!0===i.render)return u;if(K){var d=u?u.props:{};t=H(H({},U(a)),i.listeners),n=H(H(H({},d),c),t),o=H(H({},n),t)}else{var f=u&&u.componentOptions,p=f?u.componentOptions.listeners:{},h=f?u.componentOptions.propsData:{};t=H(H(H(H({},p),a),U(a)),i.listeners),o={props:n=H(H(H({},h),c),t),on:t}}if("slot"===i.type){var v=i.render({props:n,listeners:t,methods:t,defaultSlots:s});return v?v[0]:void 0}return"renderFunction"===i.type?l?i.render?i.render(r,u,s,n,t):void 0:i.render?i.render(r,u,n,t,s):void 0:r(i.render,o,K?function(){return[s]}:[s])}function U(e){if(!e)return e;for(var t={},n=Object.keys(e),o=0;o<n.length;o++){var r=n[o];t["on"+r.charAt(0).toUpperCase()+r.slice(1)]=e[r]}return t}var A=function(e,t,n){var o="string"==typeof e?parseInt(e,void 0):e;if(NaN!==o)return void 0!==o?o:t?n?void 0:-1:0};function F(e){return Boolean(u&&e&&"rtl"===getComputedStyle(e).direction)}function G(e,t){if(!t&&u&&e){var n=window.getComputedStyle(e).direction;if(n)return n}return t}var I=n(1);function q(e){if(void 0!==I)I.validatePackage(e);else{var t="License activation failed for "+e.name+"\n";t+="The @progress/kendo-licensing script is not loaded.\n",t+="See "+e.licensingDocsUrl+" for more information.\n",console.warn(t)}}var B={sizeMap:{small:"sm",medium:"md",large:"lg"},roundedMap:{small:"sm",medium:"md",large:"lg"}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NotificationGroup=t.Notification=void 0;var o=n(4);Object.defineProperty(t,"Notification",{enumerable:!0,get:function(){return o.Notification}});var r=n(6);Object.defineProperty(t,"NotificationGroup",{enumerable:!0,get:function(){return r.NotificationGroup}})},function(e,t,n){"use strict";var o=Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&o(t,e,n);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.NotificationVue2=t.Notification=void 0;var u=i(n(0)).h,s=n(5),c=n(2),a={name:"KendoNotification",props:{closable:{type:[Object,Boolean],default:function(){return!1}},dir:String,type:{type:Object,default:function(){return{style:"none",icon:!0}},validator:function(e){return["none","success","error","warning","info"].includes(e.style)}}},created:function(){c.validatePackage(s.packageMetadata)},setup:u?function(){return{v3:!!u}}:void 0,render:function(e){var t=u||e,n=c.getDefaultSlots(this),o=this.$props,r=o.closable,i=o.type;return t("div",{class:"k-notification-container"},[t("div",{class:"k-widget k-notification"+("none"===i.style?"":" k-notification-"+i.style)+(r?" k-notification-closable":""),style:this.$props.style},[t("div",{class:"k-notification-wrap"},[i.icon&&t("span",{class:"k-icon k-i-"+i.style}),t("div",{class:"k-notification-content"},[n]),r&&t("a",{class:"k-icon k-i-close",title:"Close",attrs:this.v3?void 0:{title:"Close"},onClick:this.handleClick,on:this.v3?void 0:{click:this.handleClick}})])])])},methods:{handleClick:function(e){this.$emit("close",{component:this,event:e})}}};t.NotificationVue2=a;var l=a;t.Notification=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata=void 0,t.packageMetadata={name:"@progress/kendo-vue-notification",productName:"Kendo UI for Vue",productCodes:["KENDOUIVUE","KENDOUICOMPLETE"],publishDate:1654589342,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(e,t,n){"use strict";var o=Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&o(t,e,n);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.NotificationGroupVue2=t.NotificationGroup=void 0;var u=i(n(0)).h,s=n(2),c={name:"KendoNotificationGroup",setup:u?function(){return{v3:!!u}}:void 0,render:function(e){return(u||e)("div",{class:"k-notification-group",style:{alignItems:"center",flexWrap:"wrap"}},[s.getDefaultSlots(this)])}};t.NotificationGroupVue2=c;var a=c;t.NotificationGroup=a}])}));
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("vue"),require("@progress/kendo-licensing")):"function"==typeof define&&define.amd?define(["vue","@progress/kendo-licensing"],t):"object"==typeof exports?exports.KendoVueNotification=t(require("vue"),require("@progress/kendo-licensing")):e.KendoVueNotification=t(e.Vue,e.KendoLicensing)}(window,(function(e,t){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=3)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){"use strict";n.r(t),n.d(t,"classNames",(function(){return r})),n.d(t,"guid",(function(){return i})),n.d(t,"Keys",(function(){return u})),n.d(t,"noop",(function(){return D})),n.d(t,"isObject",(function(){return o})),n.d(t,"getListeners",(function(){return K})),n.d(t,"hasListener",(function(){return H})),n.d(t,"canUseDOM",(function(){return s})),n.d(t,"focusFirstFocusableChild",(function(){return c})),n.d(t,"clone",(function(){return M})),n.d(t,"Draggable",(function(){return k})),n.d(t,"cloneArray",(function(){return S})),n.d(t,"cloneValue",(function(){return C})),n.d(t,"cloneObject",(function(){return N})),n.d(t,"cloneDate",(function(){return P})),n.d(t,"getTemplate",(function(){return A})),n.d(t,"templateRendering",(function(){return U})),n.d(t,"templateDefinition",(function(){return Y})),n.d(t,"getTabIndex",(function(){return G})),n.d(t,"getDefaultSlots",(function(){return O})),n.d(t,"isRtl",(function(){return I})),n.d(t,"getDir",(function(){return q})),n.d(t,"getter",(function(){return x})),n.d(t,"setter",(function(){return L})),n.d(t,"validatePackage",(function(){return R})),n.d(t,"kendoThemeMaps",(function(){return W}));var o=function(e){return"object"==typeof e},r=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.filter((function(e){return!0!==e&&!!e})).map((function(e){return Array.isArray(e)?r.apply(void 0,e):o(e)?Object.keys(e).map((function(t,n){return e[n]||e[t]&&t||null})).filter((function(e){return null!==e})).join(" "):e})).filter((function(e){return!!e})).join(" ")},i=function(){var e,t,n="";for(e=0;e<32;e++)t=16*Math.random()|0,8!==e&&12!==e&&16!==e&&20!==e||(n+="-"),n+=(12===e?4:16===e?3&t|8:t).toString(16);return n},u={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),c=function(e){if(e){var t=e.querySelectorAll('input, [tabindex]:not([tabindex="-1"])');t.length&&t[0].focus&&t[0].focus()}},a=n(0),l=function(e,t){return function(n){return t(e(n))}},d=function(e,t,n){return e.addEventListener&&e.addEventListener(t,n)},f=function(e,t,n){return e&&e.removeEventListener&&e.removeEventListener(t,n)},p=function(){},h=function(e){return e.preventDefault()},m=/touch/;function v(e){return e.type.match(m)?{pageX:e.changedTouches[0].pageX,pageY:e.changedTouches[0].pageY,clientX:e.changedTouches[0].clientX,clientY:e.changedTouches[0].clientY,type:e.type,originalEvent:e,isTouch:!0}:{pageX:e.pageX,pageY:e.pageY,clientX:e.clientX,clientY:e.clientY,offsetX:e.offsetX,offsetY:e.offsetY,type:e.type,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,altKey:e.altKey,originalEvent:e}}var g=function(e){var t=this,n=e.press;void 0===n&&(n=p);var o=e.drag;void 0===o&&(o=p);var r=e.release;void 0===r&&(r=p);var i=e.mouseOnly;void 0===i&&(i=!1),this._pressHandler=l(v,n),this._dragHandler=l(v,o),this._releaseHandler=l(v,r),this._ignoreMouse=!1,this._mouseOnly=i,this._touchstart=function(e){1===e.touches.length&&t._pressHandler(e)},this._touchmove=function(e){1===e.touches.length&&t._dragHandler(e)},this._touchend=function(e){0===e.touches.length&&1===e.changedTouches.length&&(t._releaseHandler(e),t._ignoreMouse=!0,setTimeout(t._restoreMouse,2e3))},this._restoreMouse=function(){t._ignoreMouse=!1},this._mousedown=function(e){var n=e.which;n&&n>1||t._ignoreMouse||(d(t.document,"mousemove",t._mousemove),d(t.document,"mouseup",t._mouseup),t._pressHandler(e))},this._mousemove=function(e){t._dragHandler(e)},this._mouseup=function(e){f(t.document,"mousemove",t._mousemove),f(t.document,"mouseup",t._mouseup),t._releaseHandler(e)},this._pointerdown=function(e){e.isPrimary&&0===e.button&&(d(t.document,"pointermove",t._pointermove),d(t.document,"pointerup",t._pointerup),d(t.document,"pointercancel",t._pointerup),d(t.document,"contextmenu",h),t._pressHandler(e))},this._pointermove=function(e){e.isPrimary&&t._dragHandler(e)},this._pointerup=function(e){e.isPrimary&&(f(t.document,"pointermove",t._pointermove),f(t.document,"pointerup",t._pointerup),f(t.document,"pointercancel",t._pointerup),f(t.document,"contextmenu",h),t._releaseHandler(e))}},y={document:{configurable:!0}};g.supportPointerEvent=function(){return"undefined"!=typeof window&&window.PointerEvent},y.document.get=function(){return this._element?this._element.ownerDocument:document},g.prototype.bindTo=function(e){e!==this._element&&(this._element&&this._unbindFromCurrent(),this._element=e,this._bindToCurrent())},g.prototype._bindToCurrent=function(){var e=this._element;this._usePointers()?d(e,"pointerdown",this._pointerdown):(d(e,"mousedown",this._mousedown),this._mouseOnly||(d(e,"touchstart",this._touchstart),d(e,"touchmove",this._touchmove),d(e,"touchend",this._touchend)))},g.prototype._unbindFromCurrent=function(){var e=this._element;if(this._usePointers())return f(e,"pointerdown",this._pointerdown),f(this.document,"pointermove",this._pointermove),f(this.document,"pointerup",this._pointerup),f(this.document,"contextmenu",h),void f(this.document,"pointercancel",this._pointerup);f(e,"mousedown",this._mousedown),this._mouseOnly||(f(e,"touchstart",this._touchstart),f(e,"touchmove",this._touchmove),f(e,"touchend",this._touchend))},g.prototype._usePointers=function(){return!this._mouseOnly&&g.supportPointerEvent()},g.prototype.update=function(e){var t=e.press;void 0===t&&(t=p);var n=e.drag;void 0===n&&(n=p);var o=e.release;void 0===o&&(o=p);var r=e.mouseOnly;void 0===r&&(r=!1),this._pressHandler=l(v,t),this._dragHandler=l(v,n),this._releaseHandler=l(v,o),this._mouseOnly=r},g.prototype.destroy=function(){this._unbindFromCurrent(),this._element=null},Object.defineProperties(g.prototype,y),g.default=g;var _,b=g;function O(e){var t=e.$slots.default;return e.v3&&t&&"function"==typeof t?t():t}function w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var j=a.h,k=(w(_={emits:{press:null,drag:null,release:null},inheritAttrs:!1,created:function(){this.element=null,this.draggable=new b({press:this.press,drag:this.drag,release:this.release})},setup:j?function(){return{v3:!!j}}:void 0,mounted:function(){this.$el&&(this.element=3===this.$el.nodeType?this.$el.nextElementSibling:this.$el,this.draggable.bindTo(this.element))},destroyed:j?void 0:function(){this.draggable.destroy()},unmounted:function(){this.draggable.destroy()},methods:{press:function(e){this.element&&this.$emit("press",e,this.element)},drag:function(e){this.element&&this.$emit("drag",e,this.element)},release:function(e){this.element&&this.$emit("release",e,this.element)}}},"setup",j?function(){return{v3:!!j}}:void 0),w(_,"render",(function(e){return O(this)})),_),P=function(e){return e?new Date(e.getTime()):null};function M(e){var t={};return N(e,t),t}function N(e,t){for(var n in e)if(e.hasOwnProperty(n)){var o=e[n];t[n]=C(o,t[n])}}function C(e,t){if(Array.isArray(e))return S(e);if(e instanceof Date)return P(e);if(e&&o(e)){var n=t||{};return N(e,n),n}return e}function S(e){return e.map((function(e){return C(e,void 0)}))}var D=function(){},T=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g,$={};function x(e){if($[e])return $[e];var t=[];return e.replace(T,(function(e,n,o,r){t.push(void 0!==n?n:o||r)})),$[e]=function(e){for(var n=e,o=0;o<t.length&&n;o++)n=n[t[o]];return n},$[e]}$.undefined=function(){};var E={};function L(e){if(E[e])return E[e];var t=[];return e.replace(T,(function(e,n,o,r){t.push(void 0!==n?n:o||r)})),E[e]=function(e,n){for(var o=e,r=t.length-1,i=0;i<r&&o;i++)o=o[t[i]]=o[t[i]]||{};o[t[r]]=n},E[e]}function H(e){return this.v3?Object.keys(this.$attrs).map((function(e){return e.toLowerCase()})).some((function(t){return t.endsWith(e.toLowerCase())})):this.$listeners[e]}function K(){if(this.v3){var e={};for(var t in this.$attrs)t.startsWith("on")&&(e[t]=this.$attrs[t]);return e}return this.$listeners}E.undefined=function(e){return e};var V=function(){return(V=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},X=a.h,Y={type:[String,Function,Object,Boolean],default:function(){}};function U(e,t){if(e||!1===e){var n=X?this.$slots[e]||(e.toLowerCase?this.$slots[e.toLowerCase()]:null):this.$scopedSlots[e]||(e.toLowerCase?this.$scopedSlots[e.toLowerCase()]:null);return"string"==typeof e&&n?{kt:!0,type:"slot",render:n,listeners:t}:"string"==typeof e||o(e)||"function"==typeof e&&e.component?{kt:!0,type:"component",render:e,listeners:t}:{kt:!0,type:"renderFunction",render:e,listeners:t}}}function A(e){var t,n,o,r=e.h,i=e.template,u=e.defaultRendering,s=e.defaultSlots,c=e.additionalProps,a=e.additionalListeners,l=e.swapDefaultSlots;if(!i||i&&!0===i.render)return u;if(X){var d=u?u.props:{};t=V(V({},F(a)),i.listeners),n=V(V(V({},d),c),t),o=V(V({},n),t)}else{var f=u&&u.componentOptions,p=f?u.componentOptions.listeners:{},h=f?u.componentOptions.propsData:{};t=V(V(V(V({},p),a),F(a)),i.listeners),o={props:n=V(V(V({},h),c),t),on:t}}if("slot"===i.type){var m=i.render({props:n,listeners:t,methods:t,defaultSlots:s});return m?m[0]:void 0}return"renderFunction"===i.type?l?i.render?i.render(r,u,s,n,t):void 0:i.render?i.render(r,u,n,t,s):void 0:r(i.render,o,X?function(){return[s]}:[s])}function F(e){if(!e)return e;for(var t={},n=Object.keys(e),o=0;o<n.length;o++){var r=n[o];t["on"+r.charAt(0).toUpperCase()+r.slice(1)]=e[r]}return t}var G=function(e,t,n){var o="string"==typeof e?parseInt(e,void 0):e;if(NaN!==o)return void 0!==o?o:t?n?void 0:-1:0};function I(e){return Boolean(s&&e&&"rtl"===getComputedStyle(e).direction)}function q(e,t){if(!t&&s&&e){var n=window.getComputedStyle(e).direction;if(n)return n}return t}var B=n(1);function R(e){if(void 0!==B)B.validatePackage(e);else{var t="License activation failed for "+e.name+"\n";t+="The @progress/kendo-licensing script is not loaded.\n",t+="See "+e.licensingDocsUrl+" for more information.\n",console.warn(t)}}var W={sizeMap:{small:"sm",medium:"md",large:"lg"},roundedMap:{small:"sm",medium:"md",large:"lg"}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NotificationGroup=t.Notification=void 0;var o=n(4);Object.defineProperty(t,"Notification",{enumerable:!0,get:function(){return o.Notification}});var r=n(6);Object.defineProperty(t,"NotificationGroup",{enumerable:!0,get:function(){return r.NotificationGroup}})},function(e,t,n){"use strict";var o=Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&o(t,e,n);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.NotificationVue2=t.Notification=void 0;var u=i(n(0)).h,s=n(5),c=n(2),a={name:"KendoNotification",props:{closable:{type:[Object,Boolean],default:function(){return!1}},dir:String,type:{type:Object,default:function(){return{style:"none",icon:!0}},validator:function(e){return["none","success","error","warning","info"].includes(e.style)}}},created:function(){c.validatePackage(s.packageMetadata)},setup:u?function(){return{v3:!!u}}:void 0,render:function(e){var t=u||e,n=c.getDefaultSlots(this),o=this.$props,r=o.closable,i=o.type;return t("div",{class:"k-notification-container"},[t("div",{class:"k-widget k-notification"+("none"===i.style?"":" k-notification-"+i.style)+(r?" k-notification-closable":""),style:this.$props.style},[t("div",{class:"k-notification-wrap"},[i.icon&&t("span",{class:"k-icon k-i-"+i.style}),t("div",{class:"k-notification-content"},[n]),r&&t("a",{class:"k-icon k-i-close",title:"Close",attrs:this.v3?void 0:{title:"Close"},onClick:this.handleClick,on:this.v3?void 0:{click:this.handleClick}})])])])},methods:{handleClick:function(e){this.$emit("close",{component:this,event:e})}}};t.NotificationVue2=a;var l=a;t.Notification=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata=void 0,t.packageMetadata={name:"@progress/kendo-vue-notification",productName:"Kendo UI for Vue",productCodes:["KENDOUIVUE","KENDOUICOMPLETE"],publishDate:1655458326,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(e,t,n){"use strict";var o=Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&o(t,e,n);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.NotificationGroupVue2=t.NotificationGroup=void 0;var u=i(n(0)).h,s=n(2),c={name:"KendoNotificationGroup",setup:u?function(){return{v3:!!u}}:void 0,render:function(e){return(u||e)("div",{class:"k-notification-group",style:{alignItems:"center",flexWrap:"wrap"}},[s.getDefaultSlots(this)])}};t.NotificationGroupVue2=c;var a=c;t.NotificationGroup=a}])}));
@@ -18,7 +18,7 @@ export interface NotificationEvent {
18
18
  target: Notification;
19
19
  }
20
20
  /**
21
- * Represents the props of the [KendoReact Notification component]({% slug overview_notification %}).
21
+ * Represents the props of the [Kendo UI for Vue Notification component]({% slug overview_notification %}).
22
22
  */
23
23
  export interface NotificationProps {
24
24
  /**
@@ -82,6 +82,17 @@ export interface NotificationData {
82
82
  */
83
83
  export interface NotificationAll extends Vue, NotificationMethods, NotificationData, NotificationComputed, NotificationState {
84
84
  }
85
+ /**
86
+ * @hidden
87
+ */
85
88
  declare let NotificationVue2: ComponentOptions<NotificationAll, DefaultData<NotificationData>, DefaultMethods<NotificationAll>, NotificationComputed, RecordPropsDefinition<NotificationProps>>;
89
+ /**
90
+ * Represents the [Kendo UI for Vue Native Notification component]({% slug overview_notification %}).
91
+ *
92
+ *
93
+ * ### props <span class='code'>Readonly&lt;[NotificationProps]({% slug api_notification_notificationprops %})</span>
94
+ * The props of the Notification component.
95
+ *
96
+ */
86
97
  declare const Notification: DefineComponent<NotificationProps, any, NotificationData, NotificationComputed, NotificationMethods, {}, {}, {}, string, NotificationProps, NotificationProps, {}>;
87
98
  export { Notification, NotificationVue2 };
@@ -4,7 +4,10 @@ var allVue = Vue;
4
4
  var gh = allVue.h;
5
5
  import { packageMetadata } from './package-metadata';
6
6
  import { validatePackage, getDefaultSlots } from '@progress/kendo-vue-common';
7
- var buttonTitle = 'Close'; // tslint:enable:max-line-length
7
+ var buttonTitle = 'Close';
8
+ /**
9
+ * @hidden
10
+ */
8
11
 
9
12
  var NotificationVue2 = {
10
13
  name: 'KendoNotification',
@@ -78,5 +81,14 @@ var NotificationVue2 = {
78
81
  }
79
82
  }
80
83
  };
84
+ /**
85
+ * Represents the [Kendo UI for Vue Native Notification component]({% slug overview_notification %}).
86
+ *
87
+ *
88
+ * ### props <span class='code'>Readonly&lt;[NotificationProps]({% slug api_notification_notificationprops %})</span>
89
+ * The props of the Notification component.
90
+ *
91
+ */
92
+
81
93
  var Notification = NotificationVue2;
82
94
  export { Notification, NotificationVue2 };
@@ -5,7 +5,7 @@ declare type DefaultMethods<V> = {
5
5
  [key: string]: (this: V, ...args: any[]) => any;
6
6
  };
7
7
  /**
8
- * Represents the props of the [KendoReact NotificationGroup component]({% slug api_notification_notificationgroup %}).
8
+ * Represents the props of the [Kendo UI for Vue NotificationGroup component]({% slug api_notification_notificationgroup %}).
9
9
  */
10
10
  export interface NotificationGroupProps {
11
11
  }
@@ -37,6 +37,12 @@ export interface NotificationGroupData {
37
37
  */
38
38
  export interface NotificationGroupAll extends Vue, NotificationGroupMethods, NotificationGroupData, NotificationGroupComputed, NotificationGroupState {
39
39
  }
40
+ /**
41
+ * @hidden
42
+ */
40
43
  declare let NotificationGroupVue2: ComponentOptions<NotificationGroupAll, DefaultData<NotificationGroupData>, DefaultMethods<NotificationGroupAll>, NotificationGroupComputed, RecordPropsDefinition<NotificationGroupProps>>;
44
+ /**
45
+ * @hidden
46
+ */
41
47
  declare const NotificationGroup: DefineComponent<NotificationGroupProps, any, NotificationGroupData, NotificationGroupComputed, NotificationGroupMethods, {}, {}, {}, string, NotificationGroupProps, NotificationGroupProps, {}>;
42
48
  export { NotificationGroup, NotificationGroupVue2 };
@@ -2,7 +2,10 @@
2
2
  import * as Vue from 'vue';
3
3
  var allVue = Vue;
4
4
  var gh = allVue.h;
5
- import { getDefaultSlots } from '@progress/kendo-vue-common'; // tslint:enable:max-line-length
5
+ import { getDefaultSlots } from '@progress/kendo-vue-common';
6
+ /**
7
+ * @hidden
8
+ */
6
9
 
7
10
  var NotificationGroupVue2 = {
8
11
  name: 'KendoNotificationGroup',
@@ -26,5 +29,9 @@ var NotificationGroupVue2 = {
26
29
  }, [defaultSlot]);
27
30
  }
28
31
  };
32
+ /**
33
+ * @hidden
34
+ */
35
+
29
36
  var NotificationGroup = NotificationGroupVue2;
30
37
  export { NotificationGroup, NotificationGroupVue2 };
@@ -2,9 +2,20 @@
2
2
  import { DefineComponent } from 'vue';
3
3
  // @ts-ignore
4
4
  import * as Vue from 'vue';
5
+
6
+ /**
7
+ * @hidden
8
+ */
5
9
  // @ts-ignore
6
10
  type Vue2type = Vue.default;
11
+
12
+ /**
13
+ * @hidden
14
+ */
7
15
  // @ts-ignore
8
16
  import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
17
+ /**
18
+ * @hidden
19
+ */
9
20
  // @ts-ignore
10
21
  export { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type };
@@ -5,7 +5,7 @@ export var packageMetadata = {
5
5
  name: '@progress/kendo-vue-notification',
6
6
  productName: 'Kendo UI for Vue',
7
7
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
8
- publishDate: 1654589342,
8
+ publishDate: 1655458326,
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
  };
@@ -18,7 +18,7 @@ export interface NotificationEvent {
18
18
  target: Notification;
19
19
  }
20
20
  /**
21
- * Represents the props of the [KendoReact Notification component]({% slug overview_notification %}).
21
+ * Represents the props of the [Kendo UI for Vue Notification component]({% slug overview_notification %}).
22
22
  */
23
23
  export interface NotificationProps {
24
24
  /**
@@ -82,6 +82,17 @@ export interface NotificationData {
82
82
  */
83
83
  export interface NotificationAll extends Vue, NotificationMethods, NotificationData, NotificationComputed, NotificationState {
84
84
  }
85
+ /**
86
+ * @hidden
87
+ */
85
88
  declare let NotificationVue2: ComponentOptions<NotificationAll, DefaultData<NotificationData>, DefaultMethods<NotificationAll>, NotificationComputed, RecordPropsDefinition<NotificationProps>>;
89
+ /**
90
+ * Represents the [Kendo UI for Vue Native Notification component]({% slug overview_notification %}).
91
+ *
92
+ *
93
+ * ### props <span class='code'>Readonly&lt;[NotificationProps]({% slug api_notification_notificationprops %})</span>
94
+ * The props of the Notification component.
95
+ *
96
+ */
86
97
  declare const Notification: DefineComponent<NotificationProps, any, NotificationData, NotificationComputed, NotificationMethods, {}, {}, {}, string, NotificationProps, NotificationProps, {}>;
87
98
  export { Notification, NotificationVue2 };
@@ -14,7 +14,10 @@ var package_metadata_1 = require("./package-metadata");
14
14
 
15
15
  var kendo_vue_common_1 = require("@progress/kendo-vue-common");
16
16
 
17
- var buttonTitle = 'Close'; // tslint:enable:max-line-length
17
+ var buttonTitle = 'Close';
18
+ /**
19
+ * @hidden
20
+ */
18
21
 
19
22
  var NotificationVue2 = {
20
23
  name: 'KendoNotification',
@@ -89,5 +92,14 @@ var NotificationVue2 = {
89
92
  }
90
93
  };
91
94
  exports.NotificationVue2 = NotificationVue2;
95
+ /**
96
+ * Represents the [Kendo UI for Vue Native Notification component]({% slug overview_notification %}).
97
+ *
98
+ *
99
+ * ### props <span class='code'>Readonly&lt;[NotificationProps]({% slug api_notification_notificationprops %})</span>
100
+ * The props of the Notification component.
101
+ *
102
+ */
103
+
92
104
  var Notification = NotificationVue2;
93
105
  exports.Notification = Notification;
@@ -5,7 +5,7 @@ declare type DefaultMethods<V> = {
5
5
  [key: string]: (this: V, ...args: any[]) => any;
6
6
  };
7
7
  /**
8
- * Represents the props of the [KendoReact NotificationGroup component]({% slug api_notification_notificationgroup %}).
8
+ * Represents the props of the [Kendo UI for Vue NotificationGroup component]({% slug api_notification_notificationgroup %}).
9
9
  */
10
10
  export interface NotificationGroupProps {
11
11
  }
@@ -37,6 +37,12 @@ export interface NotificationGroupData {
37
37
  */
38
38
  export interface NotificationGroupAll extends Vue, NotificationGroupMethods, NotificationGroupData, NotificationGroupComputed, NotificationGroupState {
39
39
  }
40
+ /**
41
+ * @hidden
42
+ */
40
43
  declare let NotificationGroupVue2: ComponentOptions<NotificationGroupAll, DefaultData<NotificationGroupData>, DefaultMethods<NotificationGroupAll>, NotificationGroupComputed, RecordPropsDefinition<NotificationGroupProps>>;
44
+ /**
45
+ * @hidden
46
+ */
41
47
  declare const NotificationGroup: DefineComponent<NotificationGroupProps, any, NotificationGroupData, NotificationGroupComputed, NotificationGroupMethods, {}, {}, {}, string, NotificationGroupProps, NotificationGroupProps, {}>;
42
48
  export { NotificationGroup, NotificationGroupVue2 };
@@ -10,7 +10,10 @@ var Vue = require("vue");
10
10
  var allVue = Vue;
11
11
  var gh = allVue.h;
12
12
 
13
- var kendo_vue_common_1 = require("@progress/kendo-vue-common"); // tslint:enable:max-line-length
13
+ var kendo_vue_common_1 = require("@progress/kendo-vue-common");
14
+ /**
15
+ * @hidden
16
+ */
14
17
 
15
18
 
16
19
  var NotificationGroupVue2 = {
@@ -36,5 +39,9 @@ var NotificationGroupVue2 = {
36
39
  }
37
40
  };
38
41
  exports.NotificationGroupVue2 = NotificationGroupVue2;
42
+ /**
43
+ * @hidden
44
+ */
45
+
39
46
  var NotificationGroup = NotificationGroupVue2;
40
47
  exports.NotificationGroup = NotificationGroup;
@@ -2,9 +2,20 @@
2
2
  import { DefineComponent } from 'vue';
3
3
  // @ts-ignore
4
4
  import * as Vue from 'vue';
5
+
6
+ /**
7
+ * @hidden
8
+ */
5
9
  // @ts-ignore
6
10
  type Vue2type = Vue.default;
11
+
12
+ /**
13
+ * @hidden
14
+ */
7
15
  // @ts-ignore
8
16
  import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
17
+ /**
18
+ * @hidden
19
+ */
9
20
  // @ts-ignore
10
21
  export { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type };
@@ -8,7 +8,7 @@ exports.packageMetadata = {
8
8
  name: '@progress/kendo-vue-notification',
9
9
  productName: 'Kendo UI for Vue',
10
10
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
11
- publishDate: 1654589342,
11
+ publishDate: 1655458326,
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,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/kendo-vue-notification",
3
3
  "description": "Kendo UI for Vue Notification package",
4
- "version": "3.3.4",
4
+ "version": "3.3.6-dev.202206170937",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/telerik/kendo-vue.git"
@@ -33,11 +33,11 @@
33
33
  "vue": "^2.6.12 || ^3.0.2"
34
34
  },
35
35
  "dependencies": {
36
- "@progress/kendo-vue-common": "3.3.4"
36
+ "@progress/kendo-vue-common": "3.3.6-dev.202206170937"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@progress/kendo-licensing": "^1.0.1",
40
- "@progress/kendo-vue-animation": "3.3.4"
40
+ "@progress/kendo-vue-animation": "3.3.6-dev.202206170937"
41
41
  },
42
42
  "@progress": {
43
43
  "friendlyName": "Notification",