@progress/kendo-vue-notification 6.1.0-develop.2 → 6.1.0-develop.4

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.
@@ -5,4 +5,11 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- !function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("vue"),require("@progress/kendo-svg-icons"),require("@progress/kendo-vue-common")):"function"==typeof define&&define.amd?define(["exports","vue","@progress/kendo-svg-icons","@progress/kendo-vue-common"],n):n((e="undefined"!=typeof globalThis?globalThis:e||self).KendoVueNotification={},e.Vue,e.KendoSvgIcons,e.KendoVueCommon)}(this,(function(e,n,o,t){"use strict";const i={name:"@progress/kendo-vue-notification",productName:"Kendo UI for Vue",productCodes:["KENDOUIVUE","KENDOUICOMPLETE"],publishDate:0,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=vue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"},c=n.defineComponent({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)}},themeColor:{type:String,default:"base",validator:function(e){return[null,"base","error","info","success","warning"].includes(e)}},ariaLabel:{type:String,default:void 0}},created(){t.validatePackage(i),this.notificationContentId=t.guid()},computed:{computedTheme(){const{type:e,themeColor:n}=this.$props;return"none"!==e.style?e.style:n},computedSvg(){switch(this.computedTheme){case"success":return{name:"check-outline",icon:o.checkOutlineIcon};case"error":return{name:"x-outline",icon:o.xOutlineIcon};case"info":return{name:"info-circle",icon:o.infoCircleIcon};case"warning":return{name:"exclamation-circle",icon:o.exclamationCircleIcon};default:return{}}},wrapperClass(){const{closable:e}=this.$props;return{"k-notification":!0,[`k-notification-${this.computedTheme}`]:this.computedTheme,"k-notification-closable":e}}},render(){const e=t.getDefaultSlots(this),{closable:i,type:c}=this.$props;return n.createVNode("div",{role:"alert",class:this.wrapperClass,style:this.$props.style,"aria-live":"polite","aria-label":this.$props.ariaLabel,"aria-describedby":this.notificationContentId},[c.icon&&this.computedSvg.name&&n.createVNode(t.Icon,{name:this.computedSvg.name,icon:this.computedSvg.icon,class:"k-notification-status"},null),n.createVNode("div",{class:"k-notification-content",id:this.notificationContentId},[e]),i&&n.createVNode("span",{class:"k-notification-actions"},[n.createVNode("span",{class:"k-notification-action k-notification-close-action","aria-hidden":!0},[n.createVNode(t.Icon,{name:"x",icon:o.xIcon,title:"Close",onClick:this.handleClick},null)])])])},methods:{handleClick(e){this.$emit("close",{component:this,event:e})}}}),s=n.defineComponent({name:"KendoNotificationGroup",render(){const e=t.getDefaultSlots(this);return n.createVNode("div",{class:"k-notification-group",style:{alignItems:"center",flexWrap:"wrap"}},[e])}});e.Notification=c,e.NotificationGroup=s}));
8
+ /**
9
+ * @license
10
+ *-------------------------------------------------------------------------------------------
11
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
12
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
13
+ *-------------------------------------------------------------------------------------------
14
+ */
15
+ !function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports,require("vue"),require("@progress/kendo-svg-icons"),require("@progress/kendo-vue-common")):"function"==typeof define&&define.amd?define(["exports","vue","@progress/kendo-svg-icons","@progress/kendo-vue-common"],o):o((e="undefined"!=typeof globalThis?globalThis:e||self).KendoVueNotification={},e.Vue,e.KendoSvgIcons,e.KendoVueCommon)}(this,(function(e,o,t,n){"use strict";const i={name:"@progress/kendo-vue-notification",productName:"Kendo UI for Vue",productCode:"KENDOUIVUE",productCodes:["KENDOUIVUE"],publishDate:0,version:"$VERSION",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=vue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"},c=o.defineComponent({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)}},themeColor:{type:String,default:"base",validator:function(e){return[null,"base","error","info","success","warning"].includes(e)}},ariaLabel:{type:String,default:void 0}},created(){n.validatePackage(i),this.notificationContentId=n.guid()},computed:{computedTheme(){const{type:e,themeColor:o}=this.$props;return"none"!==e.style?e.style:o},computedSvg(){switch(this.computedTheme){case"success":return{name:"check-outline",icon:t.checkOutlineIcon};case"error":return{name:"x-outline",icon:t.xOutlineIcon};case"info":return{name:"info-circle",icon:t.infoCircleIcon};case"warning":return{name:"exclamation-circle",icon:t.exclamationCircleIcon};default:return{}}},wrapperClass(){const{closable:e}=this.$props;return{"k-notification":!0,[`k-notification-${this.computedTheme}`]:this.computedTheme,"k-notification-closable":e}}},render(){const e=n.getDefaultSlots(this),{closable:i,type:c}=this.$props;return o.createVNode("div",{role:"alert",class:this.wrapperClass,style:this.$props.style,"aria-live":"polite","aria-label":this.$props.ariaLabel,"aria-describedby":this.notificationContentId},[c.icon&&this.computedSvg.name&&o.createVNode(n.Icon,{name:this.computedSvg.name,icon:this.computedSvg.icon,class:"k-notification-status"},null),o.createVNode("div",{class:"k-notification-content",id:this.notificationContentId},[e]),i&&o.createVNode("span",{class:"k-notification-actions"},[o.createVNode("span",{class:"k-notification-action k-notification-close-action","aria-hidden":!0},[o.createVNode(n.Icon,{name:"x",icon:t.xIcon,title:"Close",onClick:this.handleClick},null)])])])},methods:{handleClick(e){this.$emit("close",{component:this,event:e})}}}),s=o.defineComponent({name:"KendoNotificationGroup",render(){const e=n.getDefaultSlots(this);return o.createVNode("div",{class:"k-notification-group",style:{alignItems:"center",flexWrap:"wrap"}},[e])}});e.Notification=c,e.NotificationGroup=s}));
@@ -5,4 +5,4 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"@progress/kendo-vue-notification",productName:"Kendo UI for Vue",productCodes:["KENDOUIVUE","KENDOUICOMPLETE"],publishDate:0,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=vue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"};exports.packageMetadata=e;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"@progress/kendo-vue-notification",productName:"Kendo UI for Vue",productCode:"KENDOUIVUE",productCodes:["KENDOUIVUE"],publishDate: 1738077905,version:"6.1.0-develop.4",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=vue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"};exports.packageMetadata=e;
@@ -8,9 +8,10 @@
8
8
  const e = {
9
9
  name: "@progress/kendo-vue-notification",
10
10
  productName: "Kendo UI for Vue",
11
- productCodes: ["KENDOUIVUE", "KENDOUICOMPLETE"],
12
- publishDate: 1737373209,
13
- version: "",
11
+ productCode: "KENDOUIVUE",
12
+ productCodes: ["KENDOUIVUE"],
13
+ publishDate: 1738077905,
14
+ version: "6.1.0-develop.4",
14
15
  licensingDocsUrl: "https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=vue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"
15
16
  };
16
17
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-vue-notification",
3
- "version": "6.1.0-develop.2",
3
+ "version": "6.1.0-develop.4",
4
4
  "description": "TODO",
5
5
  "author": "Progress",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
@@ -11,12 +11,15 @@
11
11
  ".": {
12
12
  "import": "./index.mjs",
13
13
  "require": "./index.js"
14
+ },
15
+ "./package.json": {
16
+ "default": "./package.json"
14
17
  }
15
18
  },
16
19
  "sideEffects": false,
17
20
  "peerDependencies": {
18
21
  "@progress/kendo-licensing": "^1.3.4",
19
- "@progress/kendo-vue-common": "6.1.0-develop.2",
22
+ "@progress/kendo-vue-common": "6.1.0-develop.4",
20
23
  "vue": "^3.0.2"
21
24
  },
22
25
  "dependencies": {},
@@ -32,7 +35,13 @@
32
35
  ],
33
36
  "@progress": {
34
37
  "friendlyName": "Notification",
35
- "framework": "Kendo UI for Vue"
38
+ "framework": "Kendo UI for Vue",
39
+ "package": {
40
+ "productName": "Kendo UI for Vue",
41
+ "productCode": "KENDOUIVUE",
42
+ "publishDate": 1738077905,
43
+ "licensingDocsUrl": "https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=vue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"
44
+ }
36
45
  },
37
46
  "publishConfig": {
38
47
  "access": "public"