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

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 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}])}));
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:1655701296,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}])}));
@@ -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: 1655458326,
8
+ publishDate: 1655701296,
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-notification',
9
9
  productName: 'Kendo UI for Vue',
10
10
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
11
- publishDate: 1655458326,
11
+ publishDate: 1655701296,
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.6-dev.202206170937",
4
+ "version": "3.3.6",
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.6-dev.202206170937"
36
+ "@progress/kendo-vue-common": "3.3.6"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@progress/kendo-licensing": "^1.0.1",
40
- "@progress/kendo-vue-animation": "3.3.6-dev.202206170937"
40
+ "@progress/kendo-vue-animation": "3.3.6"
41
41
  },
42
42
  "@progress": {
43
43
  "friendlyName": "Notification",