@progress/kendo-vue-notification 3.5.0 → 3.5.1-dev.202208150613

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.
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  > **Important**
8
8
  > * This package is а part of [Kendo UI for Vue](https://www.telerik.com/kendo-vue-ui/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-notification)—a commercial UI library.
9
9
  > * You will need to install a license key when adding the package to your project. For more information, please refer to the [Kendo UI for Vue My License page](https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-notification).
10
- > * To receive a license key, you need to either [purchase a license](https://www.telerik.com/kendo-vue-ui/pricing/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-notification) or register for a [free trial](https://www.telerik.com/try/kendo-vue-ui?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-notification). Doing so indicates that you [accept the Kendo UI for Vue License Agreement](https://www.telerik.com/purchase/license-agreement/progress-kendovue?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-notification).
10
+ > * To receive a license key, you need to either [purchase a license](https://www.telerik.com/purchase/kendo-ui/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-notification) or register for a [free trial](https://www.telerik.com/try/kendo-vue-ui?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-notification). Doing so indicates that you [accept the Kendo UI for Vue License Agreement](https://www.telerik.com/purchase/license-agreement/progress-kendovue?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-notification).
11
11
  > * The 30-day free trial gives you access to all the Kendo UI for Vue components and their full functionality. Additionally, for the period of your license, you get access to our legendary technical support provided directly by the Kendo UI for Vue dev team!
12
12
  >
13
13
  > [Start using Kendo UI for Vue](https://www.telerik.com/try/kendo-vue-ui?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-notification) and speed up your development process!
@@ -39,7 +39,7 @@ For any issues you might encounter while working with the Kendo UI for Vue Notif
39
39
  * [Kendo UI for Vue Roadmap](https://www.telerik.com/support/whats-new/kendo-vue-ui/roadmap?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-notification)
40
40
  * [Blogs](https://www.telerik.com/blogs/tag/vue?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-notification)
41
41
  * [Demos, documentation, and component reference](https://www.telerik.com/kendo-vue-ui/components/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-notification)
42
- * [Kendo UI for Vue pricing and licensing](https://www.telerik.com/kendo-vue-ui/pricing/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-notification)
42
+ * [Kendo UI for Vue pricing and licensing](https://www.telerik.com/purchase/kendo-ui/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-notification)
43
43
  * [Changelog](https://www.telerik.com/kendo-vue-ui/components/changelogs/ui-for-vue/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-notification)
44
44
 
45
45
  *Copyright © 2022 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.*
@@ -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 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:1659429199,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}])}));
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)}(self,(function(e,t){return(()=>{"use strict";var n={884:(e,t,n)=>{var r=Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}: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};Object.defineProperty(t,"__esModule",{value:!0}),t.NotificationVue2=t.Notification=void 0;var i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t}(n(895)),u=i.h,s=i.version&&"3"===i.version[0],a=n(169),c=n(680),l="Close",d={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(){(0,c.validatePackage)(a.packageMetadata)},setup:s?function(){return{v3:!!s}}:void 0,render:function(e){var t=u||e,n=(0,c.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-".concat(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-".concat(i.style)}),t("div",{class:"k-notification-content"},[n]),o&&t("a",{class:"k-icon k-i-close",title:l,attrs:this.v3?void 0:{title:l},onClick:this.handleClick,on:this.v3?void 0:{click:this.handleClick}})])])])},methods:{handleClick:function(e){this.$emit("close",{component:this,event:e})}}};t.NotificationVue2=d;var f=d;t.Notification=f},749:(e,t,n)=>{var r=Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}: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};Object.defineProperty(t,"__esModule",{value:!0}),t.NotificationGroupVue2=t.NotificationGroup=void 0;var i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t}(n(895)),u=i.h,s=i.version&&"3"===i.version[0],a=n(680),c={name:"KendoNotificationGroup",setup:s?function(){return{v3:!!s}}:void 0,render:function(e){return(u||e)("div",{class:"k-notification-group",style:{alignItems:"center",flexWrap:"wrap"}},[(0,a.getDefaultSlots)(this)])}};t.NotificationGroupVue2=c;var l=c;t.NotificationGroup=l},169:(e,t)=>{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:1660543678,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"}},346:(e,t,n)=>{var r;function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0}),t.DraggableVue2=t.Draggable=void 0;var i=n(895),u=(i.h,i.version&&"3"===i.version[0]),s=n(154),a=n(123),c=(o(r={emits:{press:null,drag:null,release:null},inheritAttrs:!1,created:function(){this.element=null,this.draggable=new s.default({press:this.press,drag:this.drag,release:this.release})},setup:u?function(){return{v3:!!u}}:void 0,mounted:function(){this.$el&&(this.element=3===this.$el.nodeType?this.$el.nextElementSibling:this.$el,this.draggable.bindTo(this.element))},destroyed:u?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",u?function(){return{v3:!!u}}:void 0),o(r,"render",(function(e){return(0,a.getDefaultSlots)(this)})),r);t.DraggableVue2=c;var l=c;t.Draggable=l},770:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.canUseDOM=void 0;var n=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement);t.canUseDOM=n},820:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.classNames=void 0;var r=n(650);t.classNames=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return e.filter((function(e){return!0!==e&&!!e})).map((function(e){return Array.isArray(e)?t.classNames.apply(void 0,e):(0,r.isObject)(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(" ")}},920:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.cloneArray=t.cloneValue=t.cloneObject=t.clone=t.cloneDate=void 0;var r=n(650);function o(e,t){for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];t[n]=i(r,t[n])}}function i(e,n){if(Array.isArray(e))return u(e);if(e instanceof Date)return(0,t.cloneDate)(e);if(e&&(0,r.isObject)(e)){var i=n||{};return o(e,i),i}return e}function u(e){return e.map((function(e){return i(e,void 0)}))}t.cloneDate=function(e){return e?new Date(e.getTime()):null},t.clone=function(e){var t={};return o(e,t),t},t.cloneObject=o,t.cloneValue=i,t.cloneArray=u},374:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.FIELD_REGEX=void 0,t.FIELD_REGEX=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g},123:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getDefaultSlots=void 0,t.getDefaultSlots=function(e){var t=e.$slots.default;return e.v3&&t&&"function"==typeof t?t():t}},580:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.focusContainer=t.focusLastFocusableChild=t.focusFirstFocusableChild=t.lastFocusableChild=t.firstFocusableChild=void 0;var r=n(385),o='input, [tabindex]:not([tabindex="-1"])';t.firstFocusableChild=function(e){if(e){var t=e.querySelectorAll(o);if(t.length&&t[0].focus)return t[0]}},t.lastFocusableChild=function(e){if(e){var t=e.querySelectorAll(o);if(t.length&&t[t.length-1].focus)return t[t.length-1]}},t.focusFirstFocusableChild=function(e){if(e){var t=e.querySelectorAll(o);t.length&&t[0].focus&&t[0].focus()}},t.focusLastFocusableChild=function(e){if(e){var t=e.querySelectorAll(o);t.length&&t[t.length-1].focus&&t[t.length-1].focus()}},t.focusContainer=function(e,n){var o=!0;if(e.keyCode!==r.Keys.enter&&e.target===n)return!1;if(e.keyCode===r.Keys.enter&&e.target===n)o=!0,setTimeout((function(){(0,t.focusFirstFocusableChild)(n)}),1);else if(e.keyCode===r.Keys.esc)o=!1,n.focus();else if(e.keyCode===r.Keys.tab){var i=(0,t.firstFocusableChild)(n),u=(0,t.lastFocusableChild)(n);u&&!e.shiftKey&&e.target===u&&(e.preventDefault(),i.focus()),i&&e.shiftKey&&e.target===i&&(e.preventDefault(),u.focus())}return o}},369:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getTabIndex=void 0,t.getTabIndex=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}},504:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getter=void 0;var r=n(374),o={undefined:function(){}};t.getter=function(e){if(o[e])return o[e];var t=[];return e.replace(r.FIELD_REGEX,(function(e,n,r,o){t.push(void 0!==n?n:r||o)})),o[e]=function(e){for(var n=e,r=0;r<t.length&&n;r++)n=n[t[r]];return n},o[e]}},350:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.guid=void 0,t.guid=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}},650:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isObject=void 0,t.isObject=function(e){return"object"==typeof e}},777:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getDir=t.isRtl=void 0;var r=n(770);t.isRtl=function(e){return Boolean(r.canUseDOM&&e&&"rtl"===getComputedStyle(e).direction)},t.getDir=function(e,t){if(!t&&r.canUseDOM&&e){var n=window.getComputedStyle(e).direction;if(n)return n}return t}},385:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Keys=void 0,t.Keys={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}},681:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getListeners=t.hasListener=void 0,t.hasListener=function(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]},t.getListeners=function(){if(this.v3){var e={};for(var t in this.$attrs)t.startsWith("on")&&(e[t]=this.$attrs[t]);return e}return this.$listeners}},680:function(e,t,n){var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.validatePackage=t.setter=t.getter=t.getDir=t.isRtl=t.getDefaultSlots=t.getTabIndex=t.templateDefinition=t.templateRendering=t.getTemplate=t.cloneDate=t.cloneObject=t.cloneValue=t.cloneArray=t.Draggable=t.clone=t.focusContainer=t.focusLastFocusableChild=t.lastFocusableChild=t.focusFirstFocusableChild=t.firstFocusableChild=t.canUseDOM=t.hasListener=t.getListeners=t.isObject=t.noop=t.Keys=t.guid=t.classNames=t.setRef=t.getRef=void 0;var i=n(820);Object.defineProperty(t,"classNames",{enumerable:!0,get:function(){return i.classNames}});var u=n(350);Object.defineProperty(t,"guid",{enumerable:!0,get:function(){return u.guid}});var s=n(385);Object.defineProperty(t,"Keys",{enumerable:!0,get:function(){return s.Keys}});var a=n(770);Object.defineProperty(t,"canUseDOM",{enumerable:!0,get:function(){return a.canUseDOM}});var c=n(360);Object.defineProperty(t,"getRef",{enumerable:!0,get:function(){return c.getRef}}),Object.defineProperty(t,"setRef",{enumerable:!0,get:function(){return c.setRef}});var l=n(580);Object.defineProperty(t,"focusFirstFocusableChild",{enumerable:!0,get:function(){return l.focusFirstFocusableChild}}),Object.defineProperty(t,"focusLastFocusableChild",{enumerable:!0,get:function(){return l.focusLastFocusableChild}}),Object.defineProperty(t,"focusContainer",{enumerable:!0,get:function(){return l.focusContainer}}),Object.defineProperty(t,"firstFocusableChild",{enumerable:!0,get:function(){return l.firstFocusableChild}}),Object.defineProperty(t,"lastFocusableChild",{enumerable:!0,get:function(){return l.lastFocusableChild}});var d=n(346);Object.defineProperty(t,"Draggable",{enumerable:!0,get:function(){return d.Draggable}});var f=n(920);Object.defineProperty(t,"clone",{enumerable:!0,get:function(){return f.clone}}),Object.defineProperty(t,"cloneArray",{enumerable:!0,get:function(){return f.cloneArray}}),Object.defineProperty(t,"cloneValue",{enumerable:!0,get:function(){return f.cloneValue}}),Object.defineProperty(t,"cloneObject",{enumerable:!0,get:function(){return f.cloneObject}}),Object.defineProperty(t,"cloneDate",{enumerable:!0,get:function(){return f.cloneDate}});var p=n(650);Object.defineProperty(t,"isObject",{enumerable:!0,get:function(){return p.isObject}});var v=n(482);Object.defineProperty(t,"noop",{enumerable:!0,get:function(){return v.noop}});var g=n(504);Object.defineProperty(t,"getter",{enumerable:!0,get:function(){return g.getter}});var h=n(63);Object.defineProperty(t,"setter",{enumerable:!0,get:function(){return h.setter}});var m=n(681);Object.defineProperty(t,"hasListener",{enumerable:!0,get:function(){return m.hasListener}}),Object.defineProperty(t,"getListeners",{enumerable:!0,get:function(){return m.getListeners}});var b=n(337);Object.defineProperty(t,"templateRendering",{enumerable:!0,get:function(){return b.templateRendering}}),Object.defineProperty(t,"getTemplate",{enumerable:!0,get:function(){return b.getTemplate}}),Object.defineProperty(t,"templateDefinition",{enumerable:!0,get:function(){return b.templateDefinition}});var y=n(369);Object.defineProperty(t,"getTabIndex",{enumerable:!0,get:function(){return y.getTabIndex}});var _=n(123);Object.defineProperty(t,"getDefaultSlots",{enumerable:!0,get:function(){return _.getDefaultSlots}});var O=n(777);Object.defineProperty(t,"isRtl",{enumerable:!0,get:function(){return O.isRtl}}),Object.defineProperty(t,"getDir",{enumerable:!0,get:function(){return O.getDir}});var j=n(940);Object.defineProperty(t,"validatePackage",{enumerable:!0,get:function(){return j.validatePackage}}),o(n(484),t)},482:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.noop=void 0,t.noop=function(){}},360:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.setRef=t.getRef=void 0,t.getRef=function(e,t,n){return e.v3?e["".concat(t,"Ref")]:e.$refs["".concat(n||t)]},t.setRef=function(e,t,n){return e.v3?function(n){e["".concat(t,"Ref")]=n}:n||t}},63:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.setter=void 0;var r=n(374),o={undefined:function(e){return e}};t.setter=function(e){if(o[e])return o[e];var t=[];return e.replace(r.FIELD_REGEX,(function(e,n,r,o){t.push(void 0!==n?n:r||o)})),o[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},o[e]}},337:function(e,t,n){var r=this&&this.__assign||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},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.transformListeners=t.getTemplate=t.templateRendering=t.templateDefinition=void 0;var o=n(895),i=n(650),u=o,s=u.version&&"3"===u.version[0];function a(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}t.templateDefinition={type:[String,Function,Object,Boolean],default:function(){}},t.templateRendering=function(e,t){if(e||!1===e){var n=s?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||(0,i.isObject)(e)||"function"==typeof e&&e.component?{kt:!0,type:"component",render:e,listeners:t}:{kt:!0,type:"renderFunction",render:e,listeners:t}}},t.getTemplate=function(e){var t,n,o,i=e.h,u=e.template,c=e.defaultRendering,l=e.defaultSlots,d=e.additionalProps,f=e.additionalListeners,p=e.swapDefaultSlots;if(!u||u&&!0===u.render)return c;if(s){var v=c?c.props:{};t=r(r({},a(f)),u.listeners),n=r(r(r({},v),d),t),o=r(r({},n),t)}else{var g=c&&c.componentOptions,h=g?c.componentOptions.listeners:{},m=g?c.componentOptions.propsData:{};t=r(r(r(r({},h),f),a(f)),u.listeners),o={props:n=r(r(r({},m),d),t),on:t}}if("slot"===u.type){var b=u.render({props:n,listeners:t,methods:t,defaultSlots:l});return b?b[0]:void 0}return"renderFunction"===u.type?p?u.render?u.render(i,c,l,n,t):void 0:u.render?u.render(i,c,n,t,l):void 0:i(u.render,o,s?function(){return[l]}:[l])},t.transformListeners=a},484:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.kendoThemeMaps=void 0,t.kendoThemeMaps={sizeMap:{small:"sm",medium:"md",large:"lg"},roundedMap:{small:"sm",medium:"md",large:"lg"}}},940:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.validatePackage=void 0;var r=n(302);t.validatePackage=function(e){if(void 0!==r)r.validatePackage(e);else{var t="License activation failed for ".concat(e.name,"\n");t+="The @progress/kendo-licensing script is not loaded.\n",t+="See ".concat(e.licensingDocsUrl," for more information.\n"),console.warn(t)}}},154:(e,t,n)=>{n.r(t),n.d(t,{Draggable:()=>l,default:()=>f});var r=function(e,t){return function(n){return t(e(n))}},o=function(e,t,n){return e.addEventListener&&e.addEventListener(t,n)},i=function(e,t,n){return e&&e.removeEventListener&&e.removeEventListener(t,n)},u=function(){},s=function(e){return e.preventDefault()},a=/touch/;function c(e){return e.type.match(a)?{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 l=function(e){var t=this,n=e.press;void 0===n&&(n=u);var a=e.drag;void 0===a&&(a=u);var l=e.release;void 0===l&&(l=u);var d=e.mouseOnly;void 0===d&&(d=!1),this._pressHandler=r(c,n),this._dragHandler=r(c,a),this._releaseHandler=r(c,l),this._ignoreMouse=!1,this._mouseOnly=d,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||(o(t.document,"mousemove",t._mousemove),o(t.document,"mouseup",t._mouseup),t._pressHandler(e))},this._mousemove=function(e){t._dragHandler(e)},this._mouseup=function(e){i(t.document,"mousemove",t._mousemove),i(t.document,"mouseup",t._mouseup),t._releaseHandler(e)},this._pointerdown=function(e){e.isPrimary&&0===e.button&&(o(t.document,"pointermove",t._pointermove),o(t.document,"pointerup",t._pointerup),o(t.document,"pointercancel",t._pointerup),o(t.document,"contextmenu",s),t._pressHandler(e))},this._pointermove=function(e){e.isPrimary&&t._dragHandler(e)},this._pointerup=function(e){e.isPrimary&&(i(t.document,"pointermove",t._pointermove),i(t.document,"pointerup",t._pointerup),i(t.document,"pointercancel",t._pointerup),i(t.document,"contextmenu",s),t._releaseHandler(e))}},d={document:{configurable:!0}};l.supportPointerEvent=function(){return"undefined"!=typeof window&&window.PointerEvent},d.document.get=function(){return this._element?this._element.ownerDocument:document},l.prototype.bindTo=function(e){e!==this._element&&(this._element&&this._unbindFromCurrent(),this._element=e,this._bindToCurrent())},l.prototype._bindToCurrent=function(){var e=this._element;this._usePointers()?o(e,"pointerdown",this._pointerdown):(o(e,"mousedown",this._mousedown),this._mouseOnly||(o(e,"touchstart",this._touchstart),o(e,"touchmove",this._touchmove),o(e,"touchend",this._touchend)))},l.prototype._unbindFromCurrent=function(){var e=this._element;if(this._usePointers())return i(e,"pointerdown",this._pointerdown),i(this.document,"pointermove",this._pointermove),i(this.document,"pointerup",this._pointerup),i(this.document,"contextmenu",s),void i(this.document,"pointercancel",this._pointerup);i(e,"mousedown",this._mousedown),this._mouseOnly||(i(e,"touchstart",this._touchstart),i(e,"touchmove",this._touchmove),i(e,"touchend",this._touchend))},l.prototype._usePointers=function(){return!this._mouseOnly&&l.supportPointerEvent()},l.prototype.update=function(e){var t=e.press;void 0===t&&(t=u);var n=e.drag;void 0===n&&(n=u);var o=e.release;void 0===o&&(o=u);var i=e.mouseOnly;void 0===i&&(i=!1),this._pressHandler=r(c,t),this._dragHandler=r(c,n),this._releaseHandler=r(c,o),this._mouseOnly=i},l.prototype.destroy=function(){this._unbindFromCurrent(),this._element=null},Object.defineProperties(l.prototype,d),l.default=l;const f=l},302:e=>{e.exports=t},895:t=>{t.exports=e}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}};return n[e].call(i.exports,i,i.exports,o),i.exports}o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{var e=i;Object.defineProperty(e,"__esModule",{value:!0}),e.NotificationGroup=e.Notification=void 0;var t=o(884);Object.defineProperty(e,"Notification",{enumerable:!0,get:function(){return t.Notification}});var n=o(749);Object.defineProperty(e,"NotificationGroup",{enumerable:!0,get:function(){return n.NotificationGroup}})})(),i})()}));
@@ -53,12 +53,12 @@ var NotificationVue2 = {
53
53
  return h("div", {
54
54
  "class": "k-notification-container"
55
55
  }, [h("div", {
56
- "class": 'k-widget k-notification' + (type.style === 'none' ? '' : " k-notification-" + type.style) + (closable ? ' k-notification-closable' : ''),
56
+ "class": 'k-widget k-notification' + (type.style === 'none' ? '' : " k-notification-".concat(type.style)) + (closable ? ' k-notification-closable' : ''),
57
57
  style: this.$props.style
58
58
  }, [h("div", {
59
59
  "class": "k-notification-wrap"
60
60
  }, [type.icon && h("span", {
61
- "class": "k-icon k-i-" + type.style
61
+ "class": "k-icon k-i-".concat(type.style)
62
62
  }), h("div", {
63
63
  "class": "k-notification-content"
64
64
  }, [defaultSlot]), closable && h("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: 1659429199,
8
+ publishDate: 1660543678,
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
  };
@@ -0,0 +1,98 @@
1
+ import { DefineComponent } from './additionalTypes';
2
+ import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
3
+ declare type DefaultData<V> = object | ((this: V) => {});
4
+ declare type DefaultMethods<V> = {
5
+ [key: string]: (this: V, ...args: any[]) => any;
6
+ };
7
+ /**
8
+ * The `close` event object of the Notification.
9
+ */
10
+ export interface NotificationEvent {
11
+ /**
12
+ * A native DOM event.
13
+ */
14
+ event: Event;
15
+ /**
16
+ * An event target.
17
+ */
18
+ target: Notification;
19
+ }
20
+ /**
21
+ * Represents the props of the [Kendo UI for Vue Notification component]({% slug overview_notification %}).
22
+ */
23
+ export interface NotificationProps {
24
+ /**
25
+ * Specifies if the Notification will require a user action to hide.
26
+ * If the property is set to `true`, the Notification renders a **Close** button.
27
+ * If the property is set to `object`, the Notification renders a **Close** button
28
+ * by extending the default props with the provided object.
29
+ *
30
+ * The possible values are:
31
+ * * (Default) `false`
32
+ * * `true`
33
+ * * `{ title: 'Hide', ... }`
34
+ */
35
+ closable?: boolean | any;
36
+ /**
37
+ * The `dir` HTML attribute.
38
+ */
39
+ dir?: string;
40
+ /**
41
+ * The Notification type
42
+ * ([see example]({% slug types_notification %})).
43
+ *
44
+ * The possible values are:
45
+ * * `style: 'none'|'success'|'error'|'warning'|'info'`. Defaults to `none`.
46
+ * * `icon?: 'true'|'false'`. Defaults to `true`.
47
+ */
48
+ type?: {
49
+ style?: 'none' | 'success' | 'error' | 'warning' | 'info';
50
+ icon?: boolean;
51
+ };
52
+ /**
53
+ * The `close` event which will be triggered when the **Close** button is clicked.
54
+ */
55
+ onClose?: (event: NotificationEvent) => void;
56
+ }
57
+ /**
58
+ * @hidden
59
+ */
60
+ export interface NotificationState {
61
+ }
62
+ /**
63
+ * @hidden
64
+ */
65
+ export interface NotificationComputed {
66
+ [key: string]: any;
67
+ skeletonClasses: object;
68
+ }
69
+ /**
70
+ * @hidden
71
+ */
72
+ export interface NotificationMethods {
73
+ [key: string]: any;
74
+ }
75
+ /**
76
+ * @hidden
77
+ */
78
+ export interface NotificationData {
79
+ }
80
+ /**
81
+ * @hidden
82
+ */
83
+ export interface NotificationAll extends Vue, NotificationMethods, NotificationData, NotificationComputed, NotificationState {
84
+ }
85
+ /**
86
+ * @hidden
87
+ */
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
+ */
97
+ declare const Notification: DefineComponent<NotificationProps, any, NotificationData, NotificationComputed, NotificationMethods, {}, {}, {}, string, NotificationProps, NotificationProps, {}>;
98
+ export { Notification, NotificationVue2 };
@@ -0,0 +1,95 @@
1
+ // @ts-ignore
2
+ import * as Vue from 'vue';
3
+ var allVue = Vue;
4
+ var gh = allVue.h;
5
+ var isV3 = allVue.version && allVue.version[0] === '3';
6
+ import { packageMetadata } from './package-metadata.js';
7
+ import { validatePackage, getDefaultSlots } from '@progress/kendo-vue-common';
8
+ var buttonTitle = 'Close';
9
+ /**
10
+ * @hidden
11
+ */
12
+
13
+ var NotificationVue2 = {
14
+ name: 'KendoNotification',
15
+ props: {
16
+ closable: {
17
+ type: [Object, Boolean],
18
+ default: function _default() {
19
+ return false;
20
+ }
21
+ },
22
+ dir: String,
23
+ type: {
24
+ type: Object,
25
+ default: function _default() {
26
+ return {
27
+ style: 'none',
28
+ icon: true
29
+ };
30
+ },
31
+ validator: function validator(value) {
32
+ return ['none', 'success', 'error', 'warning', 'info'].includes(value.style);
33
+ }
34
+ }
35
+ },
36
+ created: function created() {
37
+ validatePackage(packageMetadata);
38
+ },
39
+ // @ts-ignore
40
+ setup: !isV3 ? undefined : function () {
41
+ var v3 = !!isV3;
42
+ return {
43
+ v3: v3
44
+ };
45
+ },
46
+ // @ts-ignore
47
+ render: function render(createElement) {
48
+ var h = gh || createElement;
49
+ var defaultSlot = getDefaultSlots(this);
50
+ var _a = this.$props,
51
+ closable = _a.closable,
52
+ type = _a.type;
53
+ return h("div", {
54
+ "class": "k-notification-container"
55
+ }, [h("div", {
56
+ "class": 'k-widget k-notification' + (type.style === 'none' ? '' : " k-notification-".concat(type.style)) + (closable ? ' k-notification-closable' : ''),
57
+ style: this.$props.style
58
+ }, [h("div", {
59
+ "class": "k-notification-wrap"
60
+ }, [type.icon && h("span", {
61
+ "class": "k-icon k-i-".concat(type.style)
62
+ }), h("div", {
63
+ "class": "k-notification-content"
64
+ }, [defaultSlot]), closable && h("a", {
65
+ "class": "k-icon k-i-close",
66
+ title: buttonTitle,
67
+ attrs: this.v3 ? undefined : {
68
+ title: buttonTitle
69
+ },
70
+ onClick: this.handleClick,
71
+ on: this.v3 ? undefined : {
72
+ "click": this.handleClick
73
+ }
74
+ })])])]);
75
+ },
76
+ methods: {
77
+ handleClick: function handleClick(event) {
78
+ this.$emit('close', {
79
+ component: this,
80
+ event: event
81
+ });
82
+ }
83
+ }
84
+ };
85
+ /**
86
+ * Represents the [Kendo UI for Vue Native Notification component]({% slug overview_notification %}).
87
+ *
88
+ *
89
+ * ### props <span class='code'>Readonly&lt;[NotificationProps]({% slug api_notification_notificationprops %})</span>
90
+ * The props of the Notification component.
91
+ *
92
+ */
93
+
94
+ var Notification = NotificationVue2;
95
+ export { Notification, NotificationVue2 };
@@ -0,0 +1,48 @@
1
+ import { DefineComponent } from './additionalTypes';
2
+ import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
3
+ declare type DefaultData<V> = object | ((this: V) => {});
4
+ declare type DefaultMethods<V> = {
5
+ [key: string]: (this: V, ...args: any[]) => any;
6
+ };
7
+ /**
8
+ * Represents the props of the [Kendo UI for Vue NotificationGroup component]({% slug api_notification_notificationgroupprops %}).
9
+ */
10
+ export interface NotificationGroupProps {
11
+ }
12
+ /**
13
+ * @hidden
14
+ */
15
+ export interface NotificationGroupState {
16
+ }
17
+ /**
18
+ * @hidden
19
+ */
20
+ export interface NotificationGroupComputed {
21
+ [key: string]: any;
22
+ skeletonClasses: object;
23
+ }
24
+ /**
25
+ * @hidden
26
+ */
27
+ export interface NotificationGroupMethods {
28
+ [key: string]: any;
29
+ }
30
+ /**
31
+ * @hidden
32
+ */
33
+ export interface NotificationGroupData {
34
+ }
35
+ /**
36
+ * @hidden
37
+ */
38
+ export interface NotificationGroupAll extends Vue, NotificationGroupMethods, NotificationGroupData, NotificationGroupComputed, NotificationGroupState {
39
+ }
40
+ /**
41
+ * @hidden
42
+ */
43
+ declare let NotificationGroupVue2: ComponentOptions<NotificationGroupAll, DefaultData<NotificationGroupData>, DefaultMethods<NotificationGroupAll>, NotificationGroupComputed, RecordPropsDefinition<NotificationGroupProps>>;
44
+ /**
45
+ * @hidden
46
+ */
47
+ declare const NotificationGroup: DefineComponent<NotificationGroupProps, any, NotificationGroupData, NotificationGroupComputed, NotificationGroupMethods, {}, {}, {}, string, NotificationGroupProps, NotificationGroupProps, {}>;
48
+ export { NotificationGroup, NotificationGroupVue2 };
@@ -0,0 +1,38 @@
1
+ // @ts-ignore
2
+ import * as Vue from 'vue';
3
+ var allVue = Vue;
4
+ var gh = allVue.h;
5
+ var isV3 = allVue.version && allVue.version[0] === '3';
6
+ import { getDefaultSlots } from '@progress/kendo-vue-common';
7
+ /**
8
+ * @hidden
9
+ */
10
+
11
+ var NotificationGroupVue2 = {
12
+ name: 'KendoNotificationGroup',
13
+ // @ts-ignore
14
+ setup: !isV3 ? undefined : function () {
15
+ var v3 = !!isV3;
16
+ return {
17
+ v3: v3
18
+ };
19
+ },
20
+ // @ts-ignore
21
+ render: function render(createElement) {
22
+ var h = gh || createElement;
23
+ var defaultSlot = getDefaultSlots(this);
24
+ return h("div", {
25
+ "class": 'k-notification-group',
26
+ style: {
27
+ alignItems: 'center',
28
+ flexWrap: 'wrap'
29
+ }
30
+ }, [defaultSlot]);
31
+ }
32
+ };
33
+ /**
34
+ * @hidden
35
+ */
36
+
37
+ var NotificationGroup = NotificationGroupVue2;
38
+ export { NotificationGroup, NotificationGroupVue2 };
@@ -0,0 +1,21 @@
1
+ // @ts-ignore
2
+ import { DefineComponent } from 'vue';
3
+ // @ts-ignore
4
+ import * as Vue from 'vue';
5
+
6
+ /**
7
+ * @hidden
8
+ */
9
+ // @ts-ignore
10
+ type Vue2type = Vue.default;
11
+
12
+ /**
13
+ * @hidden
14
+ */
15
+ // @ts-ignore
16
+ import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
17
+ /**
18
+ * @hidden
19
+ */
20
+ // @ts-ignore
21
+ export { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type };
@@ -0,0 +1,3 @@
1
+ import { Notification, NotificationProps, NotificationEvent } from './Notification';
2
+ import { NotificationGroup, NotificationGroupProps } from './NotificationGroup';
3
+ export { Notification, NotificationProps, NotificationEvent, NotificationGroup, NotificationGroupProps };
@@ -0,0 +1,3 @@
1
+ import { Notification } from './Notification.js';
2
+ import { NotificationGroup } from './NotificationGroup.js';
3
+ export { Notification, NotificationGroup };
@@ -0,0 +1,5 @@
1
+ import { PackageMetadata } from '@progress/kendo-licensing';
2
+ /**
3
+ * @hidden
4
+ */
5
+ export declare const packageMetadata: PackageMetadata;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @hidden
3
+ */
4
+ export var packageMetadata = {
5
+ name: '@progress/kendo-vue-notification',
6
+ productName: 'Kendo UI for Vue',
7
+ productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
8
+ publishDate: 1660543678,
9
+ version: '',
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
+ };
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "module"
3
+ }
@@ -44,7 +44,7 @@ var NotificationVue2 = {
44
44
  }
45
45
  },
46
46
  created: function created() {
47
- kendo_vue_common_1.validatePackage(package_metadata_1.packageMetadata);
47
+ (0, kendo_vue_common_1.validatePackage)(package_metadata_1.packageMetadata);
48
48
  },
49
49
  // @ts-ignore
50
50
  setup: !isV3 ? undefined : function () {
@@ -56,19 +56,19 @@ var NotificationVue2 = {
56
56
  // @ts-ignore
57
57
  render: function render(createElement) {
58
58
  var h = gh || createElement;
59
- var defaultSlot = kendo_vue_common_1.getDefaultSlots(this);
59
+ var defaultSlot = (0, kendo_vue_common_1.getDefaultSlots)(this);
60
60
  var _a = this.$props,
61
61
  closable = _a.closable,
62
62
  type = _a.type;
63
63
  return h("div", {
64
64
  "class": "k-notification-container"
65
65
  }, [h("div", {
66
- "class": 'k-widget k-notification' + (type.style === 'none' ? '' : " k-notification-" + type.style) + (closable ? ' k-notification-closable' : ''),
66
+ "class": 'k-widget k-notification' + (type.style === 'none' ? '' : " k-notification-".concat(type.style)) + (closable ? ' k-notification-closable' : ''),
67
67
  style: this.$props.style
68
68
  }, [h("div", {
69
69
  "class": "k-notification-wrap"
70
70
  }, [type.icon && h("span", {
71
- "class": "k-icon k-i-" + type.style
71
+ "class": "k-icon k-i-".concat(type.style)
72
72
  }), h("div", {
73
73
  "class": "k-notification-content"
74
74
  }, [defaultSlot]), closable && h("a", {
@@ -29,7 +29,7 @@ var NotificationGroupVue2 = {
29
29
  // @ts-ignore
30
30
  render: function render(createElement) {
31
31
  var h = gh || createElement;
32
- var defaultSlot = kendo_vue_common_1.getDefaultSlots(this);
32
+ var defaultSlot = (0, kendo_vue_common_1.getDefaultSlots)(this);
33
33
  return h("div", {
34
34
  "class": 'k-notification-group',
35
35
  style: {
@@ -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: 1659429199,
11
+ publishDate: 1660543678,
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.5.0",
4
+ "version": "3.5.1-dev.202208150613",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/telerik/kendo-vue.git"
@@ -10,6 +10,12 @@
10
10
  "types": "dist/npm/main.d.ts",
11
11
  "module": "dist/es/main.js",
12
12
  "jsnext:main": "dist/es/main.js",
13
+ "exports": {
14
+ "node": "./dist/esm/main.js",
15
+ "import": "./dist/es/main.js",
16
+ "require": "./dist/npm/main.js",
17
+ "default": "./dist/npm/main.js"
18
+ },
13
19
  "scripts": {
14
20
  "test": "cd ../../ && npm run test -- --testPathPattern=/packages/notification/.*",
15
21
  "start": "gulp start",
@@ -33,11 +39,11 @@
33
39
  "vue": "^2.6.12 || ^3.0.2"
34
40
  },
35
41
  "dependencies": {
36
- "@progress/kendo-vue-common": "3.5.0"
42
+ "@progress/kendo-vue-common": "3.5.1-dev.202208150613"
37
43
  },
38
44
  "devDependencies": {
39
45
  "@progress/kendo-licensing": "^1.0.1",
40
- "@progress/kendo-vue-animation": "3.5.0"
46
+ "@progress/kendo-vue-animation": "3.5.1-dev.202208150613"
41
47
  },
42
48
  "@progress": {
43
49
  "friendlyName": "Notification",