@progress/kendo-vue-notification 3.4.4 → 3.4.5
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(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},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,"getRef",(function(){return c})),n.d(t,"setRef",(function(){return a})),n.d(t,"classNames",(function(){return o})),n.d(t,"guid",(function(){return i})),n.d(t,"Keys",(function(){return u})),n.d(t,"noop",(function(){return x})),n.d(t,"isObject",(function(){return r})),n.d(t,"getListeners",(function(){return Y})),n.d(t,"hasListener",(function(){return X})),n.d(t,"canUseDOM",(function(){return s})),n.d(t,"focusFirstFocusableChild",(function(){return d})),n.d(t,"clone",(function(){return S})),n.d(t,"Draggable",(function(){return N})),n.d(t,"cloneArray",(function(){return T})),n.d(t,"cloneValue",(function(){return D})),n.d(t,"cloneObject",(function(){return $})),n.d(t,"cloneDate",(function(){return C})),n.d(t,"getTemplate",(function(){return I})),n.d(t,"templateRendering",(function(){return R})),n.d(t,"templateDefinition",(function(){return G})),n.d(t,"getTabIndex",(function(){return B})),n.d(t,"getDefaultSlots",(function(){return j})),n.d(t,"isRtl",(function(){return W})),n.d(t,"getDir",(function(){return z})),n.d(t,"getter",(function(){return H})),n.d(t,"setter",(function(){return V})),n.d(t,"validatePackage",(function(){return Q})),n.d(t,"kendoThemeMaps",(function(){return Z}));var r=function(e){return"object"==typeof e},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):r(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);function c(e,t,n){return e.v3?e[t+"Ref"]:e.$refs[""+(n||t)]}function a(e,t,n){return e.v3?function(n){e[t+"Ref"]=n}:n||t}var d=function(e){if(e){var t=e.querySelectorAll('input, [tabindex]:not([tabindex="-1"])');t.length&&t[0].focus&&t[0].focus()}},l=n(0),f=function(e,t){return function(n){return t(e(n))}},p=function(e,t,n){return e.addEventListener&&e.addEventListener(t,n)},v=function(e,t,n){return e&&e.removeEventListener&&e.removeEventListener(t,n)},h=function(){},m=function(e){return e.preventDefault()},g=/touch/;function y(e){return e.type.match(g)?{pageX:e.changedTouches[0].pageX,pageY:e.changedTouches[0].pageY,clientX:e.changedTouches[0].clientX,clientY:e.changedTouches[0].clientY,type:e.type,originalEvent:e,isTouch:!0}:{pageX:e.pageX,pageY:e.pageY,clientX:e.clientX,clientY:e.clientY,offsetX:e.offsetX,offsetY:e.offsetY,type:e.type,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,altKey:e.altKey,originalEvent:e}}var _=function(e){var t=this,n=e.press;void 0===n&&(n=h);var r=e.drag;void 0===r&&(r=h);var o=e.release;void 0===o&&(o=h);var i=e.mouseOnly;void 0===i&&(i=!1),this._pressHandler=f(y,n),this._dragHandler=f(y,r),this._releaseHandler=f(y,o),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||(p(t.document,"mousemove",t._mousemove),p(t.document,"mouseup",t._mouseup),t._pressHandler(e))},this._mousemove=function(e){t._dragHandler(e)},this._mouseup=function(e){v(t.document,"mousemove",t._mousemove),v(t.document,"mouseup",t._mouseup),t._releaseHandler(e)},this._pointerdown=function(e){e.isPrimary&&0===e.button&&(p(t.document,"pointermove",t._pointermove),p(t.document,"pointerup",t._pointerup),p(t.document,"pointercancel",t._pointerup),p(t.document,"contextmenu",m),t._pressHandler(e))},this._pointermove=function(e){e.isPrimary&&t._dragHandler(e)},this._pointerup=function(e){e.isPrimary&&(v(t.document,"pointermove",t._pointermove),v(t.document,"pointerup",t._pointerup),v(t.document,"pointercancel",t._pointerup),v(t.document,"contextmenu",m),t._releaseHandler(e))}},b={document:{configurable:!0}};_.supportPointerEvent=function(){return"undefined"!=typeof window&&window.PointerEvent},b.document.get=function(){return this._element?this._element.ownerDocument:document},_.prototype.bindTo=function(e){e!==this._element&&(this._element&&this._unbindFromCurrent(),this._element=e,this._bindToCurrent())},_.prototype._bindToCurrent=function(){var e=this._element;this._usePointers()?p(e,"pointerdown",this._pointerdown):(p(e,"mousedown",this._mousedown),this._mouseOnly||(p(e,"touchstart",this._touchstart),p(e,"touchmove",this._touchmove),p(e,"touchend",this._touchend)))},_.prototype._unbindFromCurrent=function(){var e=this._element;if(this._usePointers())return v(e,"pointerdown",this._pointerdown),v(this.document,"pointermove",this._pointermove),v(this.document,"pointerup",this._pointerup),v(this.document,"contextmenu",m),void v(this.document,"pointercancel",this._pointerup);v(e,"mousedown",this._mousedown),this._mouseOnly||(v(e,"touchstart",this._touchstart),v(e,"touchmove",this._touchmove),v(e,"touchend",this._touchend))},_.prototype._usePointers=function(){return!this._mouseOnly&&_.supportPointerEvent()},_.prototype.update=function(e){var t=e.press;void 0===t&&(t=h);var n=e.drag;void 0===n&&(n=h);var r=e.release;void 0===r&&(r=h);var o=e.mouseOnly;void 0===o&&(o=!1),this._pressHandler=f(y,t),this._dragHandler=f(y,n),this._releaseHandler=f(y,r),this._mouseOnly=o},_.prototype.destroy=function(){this._unbindFromCurrent(),this._element=null},Object.defineProperties(_.prototype,b),_.default=_;var O,w=_;function j(e){var t=e.$slots.default;return e.v3&&t&&"function"==typeof t?t():t}function k(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var P=l,M=(P.h,P.version&&"3"===P.version[0]),N=(k(O={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:M?function(){return{v3:!!M}}:void 0,mounted:function(){this.$el&&(this.element=3===this.$el.nodeType?this.$el.nextElementSibling:this.$el,this.draggable.bindTo(this.element))},destroyed:M?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",M?function(){return{v3:!!M}}:void 0),k(O,"render",(function(e){return j(this)})),O),C=function(e){return e?new Date(e.getTime()):null};function S(e){var t={};return $(e,t),t}function $(e,t){for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];t[n]=D(r,t[n])}}function D(e,t){if(Array.isArray(e))return T(e);if(e instanceof Date)return C(e);if(e&&r(e)){var n=t||{};return $(e,n),n}return e}function T(e){return e.map((function(e){return D(e,void 0)}))}var x=function(){},E=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g,L={};function H(e){if(L[e])return L[e];var t=[];return e.replace(E,(function(e,n,r,o){t.push(void 0!==n?n:r||o)})),L[e]=function(e){for(var n=e,r=0;r<t.length&&n;r++)n=n[t[r]];return n},L[e]}L.undefined=function(){};var K={};function V(e){if(K[e])return K[e];var t=[];return e.replace(E,(function(e,n,r,o){t.push(void 0!==n?n:r||o)})),K[e]=function(e,n){for(var r=e,o=t.length-1,i=0;i<o&&r;i++)r=r[t[i]]=r[t[i]]||{};r[t[o]]=n},K[e]}function X(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 Y(){if(this.v3){var e={};for(var t in this.$attrs)t.startsWith("on")&&(e[t]=this.$attrs[t]);return e}return this.$listeners}K.undefined=function(e){return e};var U=function(){return(U=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},A=l,F=A.version&&"3"===A.version[0],G={type:[String,Function,Object,Boolean],default:function(){}};function R(e,t){if(e||!1===e){var n=F?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||r(e)||"function"==typeof e&&e.component?{kt:!0,type:"component",render:e,listeners:t}:{kt:!0,type:"renderFunction",render:e,listeners:t}}}function I(e){var t,n,r,o=e.h,i=e.template,u=e.defaultRendering,s=e.defaultSlots,c=e.additionalProps,a=e.additionalListeners,d=e.swapDefaultSlots;if(!i||i&&!0===i.render)return u;if(F){var l=u?u.props:{};t=U(U({},q(a)),i.listeners),n=U(U(U({},l),c),t),r=U(U({},n),t)}else{var f=u&&u.componentOptions,p=f?u.componentOptions.listeners:{},v=f?u.componentOptions.propsData:{};t=U(U(U(U({},p),a),q(a)),i.listeners),r={props:n=U(U(U({},v),c),t),on:t}}if("slot"===i.type){var h=i.render({props:n,listeners:t,methods:t,defaultSlots:s});return h?h[0]:void 0}return"renderFunction"===i.type?d?i.render?i.render(o,u,s,n,t):void 0:i.render?i.render(o,u,n,t,s):void 0:o(i.render,r,F?function(){return[s]}:[s])}function q(e){if(!e)return e;for(var t={},n=Object.keys(e),r=0;r<n.length;r++){var o=n[r];t["on"+o.charAt(0).toUpperCase()+o.slice(1)]=e[o]}return t}var B=function(e,t,n){var r="string"==typeof e?parseInt(e,void 0):e;if(NaN!==r)return void 0!==r?r:t?n?void 0:-1:0};function W(e){return Boolean(s&&e&&"rtl"===getComputedStyle(e).direction)}function z(e,t){if(!t&&s&&e){var n=window.getComputedStyle(e).direction;if(n)return n}return t}var J=n(1);function Q(e){if(void 0!==J)J.validatePackage(e);else{var t="License activation failed for "+e.name+"\n";t+="The @progress/kendo-licensing script is not loaded.\n",t+="See "+e.licensingDocsUrl+" for more information.\n",console.warn(t)}}var Z={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 r=n(4);Object.defineProperty(t,"Notification",{enumerable:!0,get:function(){return r.Notification}});var o=n(6);Object.defineProperty(t,"NotificationGroup",{enumerable:!0,get:function(){return o.NotificationGroup}})},function(e,t,n){"use strict";var r=Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]},o=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)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.NotificationVue2=t.Notification=void 0;var u=i(n(0)),s=u.h,c=u.version&&"3"===u.version[0],a=n(5),d=n(2),l={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(){d.validatePackage(a.packageMetadata)},setup:c?function(){return{v3:!!c}}:void 0,render:function(e){var t=s||e,n=d.getDefaultSlots(this),r=this.$props,o=r.closable,i=r.type;return t("div",{class:"k-notification-container"},[t("div",{class:"k-widget k-notification"+("none"===i.style?"":" k-notification-"+i.style)+(o?" 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]),o&&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=l;var f=l;t.Notification=f},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:1658485648,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 r=Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]},o=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)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.NotificationGroupVue2=t.NotificationGroup=void 0;var u=i(n(0)),s=u.h,c=u.version&&"3"===u.version[0],a=n(2),d={name:"KendoNotificationGroup",setup:c?function(){return{v3:!!c}}:void 0,render:function(e){return(s||e)("div",{class:"k-notification-group",style:{alignItems:"center",flexWrap:"wrap"}},[a.getDefaultSlots(this)])}};t.NotificationGroupVue2=d;var l=d;t.NotificationGroup=l}])}));
|
|
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(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},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,"getRef",(function(){return c})),n.d(t,"setRef",(function(){return a})),n.d(t,"classNames",(function(){return o})),n.d(t,"guid",(function(){return i})),n.d(t,"Keys",(function(){return u})),n.d(t,"noop",(function(){return A})),n.d(t,"isObject",(function(){return r})),n.d(t,"getListeners",(function(){return G})),n.d(t,"hasListener",(function(){return q})),n.d(t,"canUseDOM",(function(){return s})),n.d(t,"firstFocusableChild",(function(){return l})),n.d(t,"focusFirstFocusableChild",(function(){return p})),n.d(t,"lastFocusableChild",(function(){return d})),n.d(t,"focusLastFocusableChild",(function(){return h})),n.d(t,"focusContainer",(function(){return v})),n.d(t,"clone",(function(){return K})),n.d(t,"Draggable",(function(){return $})),n.d(t,"cloneArray",(function(){return H})),n.d(t,"cloneValue",(function(){return E})),n.d(t,"cloneObject",(function(){return L})),n.d(t,"cloneDate",(function(){return x})),n.d(t,"getTemplate",(function(){return J})),n.d(t,"templateRendering",(function(){return z})),n.d(t,"templateDefinition",(function(){return W})),n.d(t,"getTabIndex",(function(){return Z})),n.d(t,"getDefaultSlots",(function(){return N})),n.d(t,"isRtl",(function(){return ee})),n.d(t,"getDir",(function(){return te})),n.d(t,"getter",(function(){return X})),n.d(t,"setter",(function(){return U})),n.d(t,"validatePackage",(function(){return re})),n.d(t,"kendoThemeMaps",(function(){return oe}));var r=function(e){return"object"==typeof e},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):r(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);function c(e,t,n){return e.v3?e[t+"Ref"]:e.$refs[""+(n||t)]}function a(e,t,n){return e.v3?function(n){e[t+"Ref"]=n}:n||t}var f='input, [tabindex]:not([tabindex="-1"])',l=function(e){if(e){var t=e.querySelectorAll(f);if(t.length&&t[0].focus)return t[0]}},d=function(e){if(e){var t=e.querySelectorAll(f);if(t.length&&t[t.length-1].focus)return t[t.length-1]}},p=function(e){if(e){var t=e.querySelectorAll(f);t.length&&t[0].focus&&t[0].focus()}},h=function(e){if(e){var t=e.querySelectorAll(f);t.length&&t[t.length-1].focus&&t[t.length-1].focus()}},v=function(e,t){var n=!0;if(e.keyCode!==u.enter&&e.target===t)return!1;if(e.keyCode===u.enter&&e.target===t)n=!0,setTimeout((function(){p(t)}),1);else if(e.keyCode===u.esc)n=!1,t.focus();else if(e.keyCode===u.tab){var r=l(t),o=d(t);o&&!e.shiftKey&&e.target===o&&(e.preventDefault(),r.focus()),r&&e.shiftKey&&e.target===r&&(e.preventDefault(),o.focus())}return n},m=n(0),g=function(e,t){return function(n){return t(e(n))}},y=function(e,t,n){return e.addEventListener&&e.addEventListener(t,n)},_=function(e,t,n){return e&&e.removeEventListener&&e.removeEventListener(t,n)},b=function(){},O=function(e){return e.preventDefault()},w=/touch/;function k(e){return e.type.match(w)?{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 j=function(e){var t=this,n=e.press;void 0===n&&(n=b);var r=e.drag;void 0===r&&(r=b);var o=e.release;void 0===o&&(o=b);var i=e.mouseOnly;void 0===i&&(i=!1),this._pressHandler=g(k,n),this._dragHandler=g(k,r),this._releaseHandler=g(k,o),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||(y(t.document,"mousemove",t._mousemove),y(t.document,"mouseup",t._mouseup),t._pressHandler(e))},this._mousemove=function(e){t._dragHandler(e)},this._mouseup=function(e){_(t.document,"mousemove",t._mousemove),_(t.document,"mouseup",t._mouseup),t._releaseHandler(e)},this._pointerdown=function(e){e.isPrimary&&0===e.button&&(y(t.document,"pointermove",t._pointermove),y(t.document,"pointerup",t._pointerup),y(t.document,"pointercancel",t._pointerup),y(t.document,"contextmenu",O),t._pressHandler(e))},this._pointermove=function(e){e.isPrimary&&t._dragHandler(e)},this._pointerup=function(e){e.isPrimary&&(_(t.document,"pointermove",t._pointermove),_(t.document,"pointerup",t._pointerup),_(t.document,"pointercancel",t._pointerup),_(t.document,"contextmenu",O),t._releaseHandler(e))}},P={document:{configurable:!0}};j.supportPointerEvent=function(){return"undefined"!=typeof window&&window.PointerEvent},P.document.get=function(){return this._element?this._element.ownerDocument:document},j.prototype.bindTo=function(e){e!==this._element&&(this._element&&this._unbindFromCurrent(),this._element=e,this._bindToCurrent())},j.prototype._bindToCurrent=function(){var e=this._element;this._usePointers()?y(e,"pointerdown",this._pointerdown):(y(e,"mousedown",this._mousedown),this._mouseOnly||(y(e,"touchstart",this._touchstart),y(e,"touchmove",this._touchmove),y(e,"touchend",this._touchend)))},j.prototype._unbindFromCurrent=function(){var e=this._element;if(this._usePointers())return _(e,"pointerdown",this._pointerdown),_(this.document,"pointermove",this._pointermove),_(this.document,"pointerup",this._pointerup),_(this.document,"contextmenu",O),void _(this.document,"pointercancel",this._pointerup);_(e,"mousedown",this._mousedown),this._mouseOnly||(_(e,"touchstart",this._touchstart),_(e,"touchmove",this._touchmove),_(e,"touchend",this._touchend))},j.prototype._usePointers=function(){return!this._mouseOnly&&j.supportPointerEvent()},j.prototype.update=function(e){var t=e.press;void 0===t&&(t=b);var n=e.drag;void 0===n&&(n=b);var r=e.release;void 0===r&&(r=b);var o=e.mouseOnly;void 0===o&&(o=!1),this._pressHandler=g(k,t),this._dragHandler=g(k,n),this._releaseHandler=g(k,r),this._mouseOnly=o},j.prototype.destroy=function(){this._unbindFromCurrent(),this._element=null},Object.defineProperties(j.prototype,P),j.default=j;var C,M=j;function N(e){var t=e.$slots.default;return e.v3&&t&&"function"==typeof t?t():t}function S(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var D=m,T=(D.h,D.version&&"3"===D.version[0]),$=(S(C={emits:{press:null,drag:null,release:null},inheritAttrs:!1,created:function(){this.element=null,this.draggable=new M({press:this.press,drag:this.drag,release:this.release})},setup:T?function(){return{v3:!!T}}:void 0,mounted:function(){this.$el&&(this.element=3===this.$el.nodeType?this.$el.nextElementSibling:this.$el,this.draggable.bindTo(this.element))},destroyed:T?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",T?function(){return{v3:!!T}}:void 0),S(C,"render",(function(e){return N(this)})),C),x=function(e){return e?new Date(e.getTime()):null};function K(e){var t={};return L(e,t),t}function L(e,t){for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];t[n]=E(r,t[n])}}function E(e,t){if(Array.isArray(e))return H(e);if(e instanceof Date)return x(e);if(e&&r(e)){var n=t||{};return L(e,n),n}return e}function H(e){return e.map((function(e){return E(e,void 0)}))}var A=function(){},F=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g,V={};function X(e){if(V[e])return V[e];var t=[];return e.replace(F,(function(e,n,r,o){t.push(void 0!==n?n:r||o)})),V[e]=function(e){for(var n=e,r=0;r<t.length&&n;r++)n=n[t[r]];return n},V[e]}V.undefined=function(){};var Y={};function U(e){if(Y[e])return Y[e];var t=[];return e.replace(F,(function(e,n,r,o){t.push(void 0!==n?n:r||o)})),Y[e]=function(e,n){for(var r=e,o=t.length-1,i=0;i<o&&r;i++)r=r[t[i]]=r[t[i]]||{};r[t[o]]=n},Y[e]}function q(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 G(){if(this.v3){var e={};for(var t in this.$attrs)t.startsWith("on")&&(e[t]=this.$attrs[t]);return e}return this.$listeners}Y.undefined=function(e){return e};var R=function(){return(R=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},I=m,B=I.version&&"3"===I.version[0],W={type:[String,Function,Object,Boolean],default:function(){}};function z(e,t){if(e||!1===e){var n=B?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||r(e)||"function"==typeof e&&e.component?{kt:!0,type:"component",render:e,listeners:t}:{kt:!0,type:"renderFunction",render:e,listeners:t}}}function J(e){var t,n,r,o=e.h,i=e.template,u=e.defaultRendering,s=e.defaultSlots,c=e.additionalProps,a=e.additionalListeners,f=e.swapDefaultSlots;if(!i||i&&!0===i.render)return u;if(B){var l=u?u.props:{};t=R(R({},Q(a)),i.listeners),n=R(R(R({},l),c),t),r=R(R({},n),t)}else{var d=u&&u.componentOptions,p=d?u.componentOptions.listeners:{},h=d?u.componentOptions.propsData:{};t=R(R(R(R({},p),a),Q(a)),i.listeners),r={props:n=R(R(R({},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?f?i.render?i.render(o,u,s,n,t):void 0:i.render?i.render(o,u,n,t,s):void 0:o(i.render,r,B?function(){return[s]}:[s])}function Q(e){if(!e)return e;for(var t={},n=Object.keys(e),r=0;r<n.length;r++){var o=n[r];t["on"+o.charAt(0).toUpperCase()+o.slice(1)]=e[o]}return t}var Z=function(e,t,n){var r="string"==typeof e?parseInt(e,void 0):e;if(NaN!==r)return void 0!==r?r:t?n?void 0:-1:0};function ee(e){return Boolean(s&&e&&"rtl"===getComputedStyle(e).direction)}function te(e,t){if(!t&&s&&e){var n=window.getComputedStyle(e).direction;if(n)return n}return t}var ne=n(1);function re(e){if(void 0!==ne)ne.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 oe={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 r=n(4);Object.defineProperty(t,"Notification",{enumerable:!0,get:function(){return r.Notification}});var o=n(6);Object.defineProperty(t,"NotificationGroup",{enumerable:!0,get:function(){return o.NotificationGroup}})},function(e,t,n){"use strict";var r=Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]},o=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)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.NotificationVue2=t.Notification=void 0;var u=i(n(0)),s=u.h,c=u.version&&"3"===u.version[0],a=n(5),f=n(2),l={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(){f.validatePackage(a.packageMetadata)},setup:c?function(){return{v3:!!c}}:void 0,render:function(e){var t=s||e,n=f.getDefaultSlots(this),r=this.$props,o=r.closable,i=r.type;return t("div",{class:"k-notification-container"},[t("div",{class:"k-widget k-notification"+("none"===i.style?"":" k-notification-"+i.style)+(o?" 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]),o&&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=l;var d=l;t.Notification=d},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:1659331019,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 r=Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]},o=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)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.NotificationGroupVue2=t.NotificationGroup=void 0;var u=i(n(0)),s=u.h,c=u.version&&"3"===u.version[0],a=n(2),f={name:"KendoNotificationGroup",setup:c?function(){return{v3:!!c}}:void 0,render:function(e){return(s||e)("div",{class:"k-notification-group",style:{alignItems:"center",flexWrap:"wrap"}},[a.getDefaultSlots(this)])}};t.NotificationGroupVue2=f;var l=f;t.NotificationGroup=l}])}));
|
|
@@ -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:
|
|
8
|
+
publishDate: 1659331019,
|
|
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:
|
|
11
|
+
publishDate: 1659331019,
|
|
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.4.
|
|
4
|
+
"version": "3.4.5",
|
|
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.4.
|
|
36
|
+
"@progress/kendo-vue-common": "3.4.5"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@progress/kendo-licensing": "^1.0.1",
|
|
40
|
-
"@progress/kendo-vue-animation": "3.4.
|
|
40
|
+
"@progress/kendo-vue-animation": "3.4.5"
|
|
41
41
|
},
|
|
42
42
|
"@progress": {
|
|
43
43
|
"friendlyName": "Notification",
|