@progress/kendo-vue-common 3.7.4-dev.202212300853 → 3.7.4-dev.202301120847

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.KendoVueCommon=t(require("vue"),require("@progress/kendo-licensing")):e.KendoVueCommon=t(e.Vue,e.KendoLicensing)}(self,(function(e,t){return(()=>{"use strict";var n={527:(e,t,n)=>{var r;function o(e){return o="function"==typeof Symbol&&"symbol"==o(Symbol.iterator)?function(e){return void 0===e?"undefined":o(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":o(e)},o(e)}function i(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==(void 0===e?"undefined":o(e))||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==(void 0===r?"undefined":o(r)))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===(void 0===t?"undefined":o(t))?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u=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]},a=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},c=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)&&u(t,e,n);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.DraggableVue2=t.Draggable=void 0;var s=c(n(895)),l=(s.h,s.version&&"3"===s.version[0]),d=c(n(11)),f=n(437),p=(i(r={emits:{press:null,drag:null,release:null},inheritAttrs:!1,created:function(){this.element=null;var e=d,t=void 0!==e&&e.Draggable?e:e.default;this.draggable=new t.Draggable({press:this.press,drag:this.drag,release:this.release})},setup:l?function(){return{v3:!!l}}:void 0,mounted:function(){this.$el&&(this.element=3===this.$el.nodeType?this.$el.nextElementSibling:this.$el,this.draggable.bindTo(this.element))},destroyed:l?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",l?function(){return{v3:!!l}}:void 0),i(r,"render",(function(e){return(0,f.getDefaultSlots)(this)})),r);t.DraggableVue2=p;var v=p;t.Draggable=v},185:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BrowserSupportService=void 0;var n=function(){return"undefined"!=typeof document?document:{}},r=function(){function e(){}return Object.defineProperty(e.prototype,"scrollbarWidth",{get:function(){var e=n();if(!this.scrollbar&&e&&e.createElement){var t=e.createElement("div");t.style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",t.innerHTML="&nbsp;",e.body.appendChild(t),this.scrollbar=t.offsetWidth-t.scrollWidth,e.body.removeChild(t)}return this.scrollbar},enumerable:!1,configurable:!0}),e}();t.BrowserSupportService=r},20:(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},881:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.classNames=void 0;var r=n(46);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(" ")}},382:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.cloneArray=t.cloneValue=t.cloneObject=t.clone=t.cloneDate=void 0;var r=n(46);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},955:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.FIELD_REGEX=void 0,t.FIELD_REGEX=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g},437:(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}},33:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.focusContainer=t.focusLastFocusableChild=t.focusFirstFocusableChild=t.lastFocusableChild=t.firstFocusableChild=void 0;var r=n(874),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}},183:(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}},49:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getter=void 0;var r=n(955),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]}},805:(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}},934:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.hasRelativeStackingContext=void 0;var r=n(20);t.hasRelativeStackingContext=function(e){if(!r.canUseDOM)return!1;var t=e?e.ownerDocument:document;if(!t||!t.body)return!1;var n=t.createElement("div");n.style.transform="matrix(10, 0, 0, 10, 0, 0)",n.innerHTML='<div style="position: fixed; top: '.concat(10,'px;">child</div>'),t.body.appendChild(n);var o=10!==n.children[0].getBoundingClientRect().top;return t.body.removeChild(n),o}},676:(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.FontIconVue2=t.FontIcon=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,a=i.version&&"3"===i.version[0],c=n(232),s={name:"KendoFontIcon",props:{name:String,themeColor:{type:String},size:{type:String},flip:{type:String},id:String,tabIndex:Number},computed:{fontClassNames:function(){var e,t=this.$props,n=t.name,r=t.flip,o=t.size,i=t.themeColor;return(e={"k-icon":!0})["k-i-"+n]=n,e["k-color-"+i]=i,e["k-flip-h"]="horizontal"===r||"both"===r,e["k-flip-v"]="vertical"===r||"both"===r,e[c.SIZE_CLASSES[o]]=o,e}},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=u||e,n=this.$props.id;return t("span",{class:this.fontClassNames,id:n,attrs:this.v3?void 0:{id:n,role:"presentation"},role:"presentation"})}};t.FontIconVue2=s;var l=s;t.FontIcon=l},924:(e,t,n)=>{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},r.apply(this,arguments)},o=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]},i=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.IconVue2=t.Icon=void 0;var u=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)&&o(t,e,n);return i(t,e),t}(n(895)),a=u.h,c=u.version&&"3"===u.version[0],s=n(676),l=n(385),d={name:"KendoIcon",props:{iconType:{type:String,default:"font"},name:String,icon:Object,themeColor:{type:String},size:{type:String},flip:{type:String},id:String,viewBox:{type:String,default:"0 0 24 24"},tabIndex:Number},setup:c?function(){return{v3:!!c}}:void 0,render:function(e){var t=a||e,n=this.$props,o=n.iconType,i=n.name,u=n.icon,c=n.themeColor,d=n.size,f=n.flip,p=n.id,v=n.viewBox,b=n.tabIndex,m=i||(u&&u.name?u.name.split("-icon")[0]:void 0),g={themeColor:c,size:d,flip:f,id:p,tabIndex:b},h=t(s.FontIcon,r(r({},g),{name:m,attrs:this.v3?void 0:r(r({},g),{name:m})})),y=t(l.SvgIcon,r(r({},g),{icon:u,viewBox:v,attrs:this.v3?void 0:r(r({},g),{icon:u,viewBox:v})}));return"font"===o?h:y}};t.IconVue2=d;var f=d;t.Icon=f},385:(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.SvgIconVue2=t.SvgIcon=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,a=i.version&&"3"===i.version[0],c=n(232),s=n(437),l={name:"KendoSvgIcon",props:{icon:Object,themeColor:{type:String},size:{type:String},flip:{type:String},id:String,viewBox:{type:String,default:"0 0 24 24"},tabIndex:Number},computed:{wrapperClass:function(){var e,t=this.$props,n=t.name,r=t.flip,o=t.size;return(e={"k-svg-icon":!0})["k-color-"+t.themeColor]=!0,e["k-svg-i-"+n]=n,e["k-flip-h"]="horizontal"===r||"both"===r,e["k-flip-v"]="vertical"===r||"both"===r,e[c.SIZE_CLASSES[o]]=!0,e}},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=u||e,n=(0,s.getDefaultSlots)(this),r=this.$props,o=r.svgClassName,i=r.icon,a=r.id,c=r.tabIndex,l=r.svgStyle,d=r.viewBox,f=i?i.content:void 0,p=t("svg",{attrs:{id:a,"aria-hidden":!0,tabIndex:c,focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:i?i.viewBox:d},domProps:{innerHTML:f},innerHTML:f,class:o,style:l},[i?void 0:n]);return t("span",{class:this.wrapperClass},[p])}};t.SvgIconVue2=l;var d=l;t.SvgIcon=d},232:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SIZE_CLASSES=void 0,t.SIZE_CLASSES={default:"",xsmall:"k-icon-xs",small:"k-icon-sm",medium:"k-icon-md",large:"k-icon-lg",xlarge:"k-icon-xl"}},866:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},500:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},148:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},46:(e,t)=>{function n(e){return n="function"==typeof Symbol&&"symbol"==n(Symbol.iterator)?function(e){return void 0===e?"undefined":n(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":n(e)},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.isObject=void 0,t.isObject=function(e){return"object"===(void 0===e?"undefined":n(e))}},870:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getDir=t.isRtl=void 0;var r=n(20);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}},874:(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}},655:(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}},545:(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=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(881);Object.defineProperty(t,"classNames",{enumerable:!0,get:function(){return i.classNames}});var u=n(805);Object.defineProperty(t,"guid",{enumerable:!0,get:function(){return u.guid}});var a=n(874);Object.defineProperty(t,"Keys",{enumerable:!0,get:function(){return a.Keys}});var c=n(20);Object.defineProperty(t,"canUseDOM",{enumerable:!0,get:function(){return c.canUseDOM}});var s=n(162);Object.defineProperty(t,"getRef",{enumerable:!0,get:function(){return s.getRef}}),Object.defineProperty(t,"setRef",{enumerable:!0,get:function(){return s.setRef}});var l=n(33);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(527);Object.defineProperty(t,"Draggable",{enumerable:!0,get:function(){return d.Draggable}});var f=n(382);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(46);Object.defineProperty(t,"isObject",{enumerable:!0,get:function(){return p.isObject}});var v=n(992);Object.defineProperty(t,"noop",{enumerable:!0,get:function(){return v.noop}});var b=n(49);Object.defineProperty(t,"getter",{enumerable:!0,get:function(){return b.getter}});var m=n(267);Object.defineProperty(t,"setter",{enumerable:!0,get:function(){return m.setter}});var g=n(655);Object.defineProperty(t,"hasListener",{enumerable:!0,get:function(){return g.hasListener}}),Object.defineProperty(t,"getListeners",{enumerable:!0,get:function(){return g.getListeners}});var h=n(497);Object.defineProperty(t,"templateRendering",{enumerable:!0,get:function(){return h.templateRendering}}),Object.defineProperty(t,"getTemplate",{enumerable:!0,get:function(){return h.getTemplate}}),Object.defineProperty(t,"templateDefinition",{enumerable:!0,get:function(){return h.templateDefinition}});var y=n(183);Object.defineProperty(t,"getTabIndex",{enumerable:!0,get:function(){return y.getTabIndex}});var O=n(437);Object.defineProperty(t,"getDefaultSlots",{enumerable:!0,get:function(){return O.getDefaultSlots}});var _=n(870);Object.defineProperty(t,"isRtl",{enumerable:!0,get:function(){return _.isRtl}}),Object.defineProperty(t,"getDir",{enumerable:!0,get:function(){return _.getDir}});var j=n(34);Object.defineProperty(t,"validatePackage",{enumerable:!0,get:function(){return j.validatePackage}}),o(n(932),t),o(n(887),t),o(n(185),t),o(n(146),t),o(n(934),t),o(n(924),t),o(n(676),t),o(n(385),t),o(n(866),t),o(n(500),t),o(n(148),t)},992:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.noop=void 0,t.noop=function(){}},162:(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}},146:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.setScrollbarWidth=t.getScrollbarWidth=void 0;var r=n(185),o=n(20);t.getScrollbarWidth=function(){return!(!o.canUseDOM||!document.body)&&(new r.BrowserSupportService).scrollbarWidth},t.setScrollbarWidth=function(){if(!o.canUseDOM||!document.body)return!1;var e=(new r.BrowserSupportService).scrollbarWidth;document.body.style.setProperty("--kendo-scrollbar-width","".concat(e,"px"))}},267:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.setter=void 0;var r=n(955),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]}},497:(e,t,n)=>{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},r.apply(this,arguments)},o=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]},i=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.transformListeners=t.getTemplate=t.templateRendering=t.templateDefinition=void 0;var u=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)&&o(t,e,n);return i(t,e),t}(n(895)),a=n(46),c=u,s=c.version&&"3"===c.version[0];function l(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,a.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,a=e.defaultRendering,c=e.defaultSlots,d=e.additionalProps,f=e.additionalListeners,p=e.swapDefaultSlots;if(!u||u&&!0===u.render)return a;if(s){var v=a?a.props:{};t=r(r({},l(f)),u.listeners),n=r(r(r({},v),d),t),o=r(r({},n),t)}else{var b=a&&a.componentOptions,m=b?a.componentOptions.listeners:{},g=b?a.componentOptions.propsData:{};t=r(r(r(r({},m),f),l(f)),u.listeners),o={props:n=r(r(r({},g),d),t),on:t}}if("slot"===u.type){var h=u.render({props:n,listeners:t,methods:t,defaultSlots:c});return h?h[0]:void 0}return"renderFunction"===u.type?p?u.render?u.render(i,a,c,n,t):void 0:u.render?u.render(i,a,n,t,c):void 0:i(u.render,o,s?function(){return[c]}:[c])},t.transformListeners=l},932:(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"}}},887:(e,t)=>{var n=function(){return n=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},n.apply(this,arguments)},r=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};function o(e,t,o){var i;return o?n(n({},e),((i={})[t]=o.length?r([],o,!0):void 0,i)):e&&e[t]?r([],e[t],!0):[]}function i(e,t,n){if(e[t]){var r=o(e,t).map((function(e){return i(e,t,n)}));return n(o(e,t,r))}return n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.getNestedValue=t.getItemPath=t.extendDataItem=t.mapTreeItem=t.mapTree=void 0,t.mapTree=function(e,t,n){return r([],e.map((function(e){return i(e,t,n)})),!0)},t.mapTreeItem=function(e,t,n,r){for(var o=e,i=[],u=0;u<t.length;u++)o=o[t[u]],o=Array.isArray(o)?o:o[n],i.push(o);var a=i.length>1?i[i.length-2]:e,c=t[t.length-1],s=r(a[c]);a.splice(c,1,s)},t.extendDataItem=function(e,t,n){var r;return Object.assign({},e,e[t]?((r={})[t]=e[t].slice(),r):{},n||{})},t.getItemPath=function(e,t,n){var o=[],i=r([],t,!0);if(i.length){var u=e[i.shift()||0];for(o.push(u);i.length&&n;)u=u[n][i.shift()||0],o.push(u)}return o},t.getNestedValue=function(e,t){var n=e.split("."),r=t;return n.forEach((function(e){r=r?r[e]:void 0})),r}},34:(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.validatePackage=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(302));t.validatePackage=function(e){var t=i,n=void 0!==t&&t.validatePackage?t:t.default;if(n&&n.validatePackage)n.validatePackage(e);else{var r="License activation failed for ".concat(e.name,"\n");r+="The @progress/kendo-licensing script is not loaded.\n",r+="See ".concat(e.licensingDocsUrl," for more information.\n"),console.warn(r)}}},11:(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(){},a=function(e){return e.preventDefault()},c=/touch/;function s(e){return e.type.match(c)?{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 c=e.drag;void 0===c&&(c=u);var l=e.release;void 0===l&&(l=u);var d=e.mouseOnly;void 0===d&&(d=!1),this._pressHandler=r(s,n),this._dragHandler=r(s,c),this._releaseHandler=r(s,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",a),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",a),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",a),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(s,t),this._dragHandler=r(s,n),this._releaseHandler=r(s,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](i,i.exports,o),i.exports}return 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})},o(545)})()}));
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.KendoVueCommon=t(require("vue"),require("@progress/kendo-licensing")):e.KendoVueCommon=t(e.Vue,e.KendoLicensing)}(self,(function(e,t){return(()=>{"use strict";var n={527:(e,t,n)=>{var r;function o(e){return o="function"==typeof Symbol&&"symbol"==o(Symbol.iterator)?function(e){return void 0===e?"undefined":o(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":o(e)},o(e)}function i(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==(void 0===e?"undefined":o(e))||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==(void 0===r?"undefined":o(r)))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===(void 0===t?"undefined":o(t))?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u=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]},a=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},l=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)&&u(t,e,n);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.DraggableVue2=t.Draggable=void 0;var c=l(n(895)),s=(c.h,c.version&&"3"===c.version[0]),d=l(n(11)),f=n(437),p=(i(r={emits:{press:null,drag:null,release:null},inheritAttrs:!1,created:function(){this.element=null;var e=d,t=void 0!==e&&e.Draggable?e:e.default;this.draggable=new t.Draggable({press:this.press,drag:this.drag,release:this.release})},setup:s?function(){return{v3:!!s}}:void 0,mounted:function(){this.$el&&(this.element=3===this.$el.nodeType?this.$el.nextElementSibling:this.$el,this.draggable.bindTo(this.element))},destroyed:s?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",s?function(){return{v3:!!s}}:void 0),i(r,"render",(function(e){return(0,f.getDefaultSlots)(this)})),r);t.DraggableVue2=p;var v=p;t.Draggable=v},185:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BrowserSupportService=void 0;var n=function(){return"undefined"!=typeof document?document:{}},r=function(){function e(){}return Object.defineProperty(e.prototype,"scrollbarWidth",{get:function(){var e=n();if(!this.scrollbar&&e&&e.createElement){var t=e.createElement("div");t.style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",t.innerHTML="&nbsp;",e.body.appendChild(t),this.scrollbar=t.offsetWidth-t.scrollWidth,e.body.removeChild(t)}return this.scrollbar},enumerable:!1,configurable:!0}),e}();t.BrowserSupportService=r},20:(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},881:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.classNames=void 0;var r=n(46);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(" ")}},382:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.cloneArray=t.cloneValue=t.cloneObject=t.clone=t.cloneDate=void 0;var r=n(46);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},955:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.FIELD_REGEX=void 0,t.FIELD_REGEX=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g},437:(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}},33:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.focusContainer=t.focusLastFocusableChild=t.focusFirstFocusableChild=t.lastFocusableChild=t.firstFocusableChild=void 0;var r=n(874),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}},183:(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}},49:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getter=void 0;var r=n(955),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]}},805:(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}},934:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.hasRelativeStackingContext=void 0;var r=n(20);t.hasRelativeStackingContext=function(e){if(!r.canUseDOM)return!1;var t=e?e.ownerDocument:document;if(!t||!t.body)return!1;var n=t.createElement("div");n.style.transform="matrix(10, 0, 0, 10, 0, 0)",n.innerHTML='<div style="position: fixed; top: '.concat(10,'px;">child</div>'),t.body.appendChild(n);var o=10!==n.children[0].getBoundingClientRect().top;return t.body.removeChild(n),o}},676:(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.FontIconVue2=t.FontIcon=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,a=i.version&&"3"===i.version[0],l=n(232),c={name:"KendoFontIcon",emits:{click:null},props:{name:String,themeColor:{type:String},size:{type:String},flip:{type:String},id:String,ariaLabel:String,title:String,tabIndex:Number},computed:{fontClassNames:function(){var e,t=this.$props,n=t.name,r=t.flip,o=t.size,i=t.themeColor;return(e={"k-icon":!0})["k-i-"+n]=n,e["k-color-"+i]=i,e["k-flip-h"]="horizontal"===r||"both"===r,e["k-flip-v"]="vertical"===r||"both"===r,e[l.SIZE_CLASSES[o]]=o,e}},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=u||e,n=this.$props,r=n.id,o=n.title,i=n.tabIndex,a=n.ariaLabel;return t("span",{class:this.fontClassNames,id:r,attrs:this.v3?void 0:{id:r,title:o,"aria-label":a,tabIndex:i,role:"presentation"},title:o,"aria-label":a,tabIndex:i,role:"presentation",onClick:this.handleClick,on:this.v3?void 0:{click:this.handleClick}})},methods:{handleClick:function(e){this.$emit("click",e)}}};t.FontIconVue2=c;var s=c;t.FontIcon=s},924:(e,t,n)=>{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},r.apply(this,arguments)},o=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]},i=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.IconVue2=t.Icon=void 0;var u=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)&&o(t,e,n);return i(t,e),t}(n(895)),a=u.h,l=u.version&&"3"===u.version[0],c=n(676),s=n(385),d={name:"KendoIcon",emits:{click:null},inject:{kendoIcons:{default:{type:"font",icons:{}}}},props:{name:String,icon:Object,title:String,themeColor:{type:String},size:{type:String},flip:{type:String},id:String,ariaLabel:String,viewBox:{type:String,default:"0 0 24 24"},tabIndex:Number},setup:l?function(){return{v3:!!l}}:void 0,render:function(e){var t=a||e,n=this.$props,o=n.name,i=n.icon,u=n.themeColor,l=n.size,d=n.flip,f=n.id,p=n.viewBox,v=n.tabIndex,b=n.title,h=n.ariaLabel,m=i||o&&this.kendoIcons.icons[o],g="svg"===this.kendoIcons.type&&void 0!==m,y=o||(i&&i.name?i.name:void 0),O={themeColor:u,size:l,flip:d,id:f,tabIndex:v,title:b,ariaLabel:h},_=t(c.FontIcon,r(r({},O),{name:y,attrs:this.v3?void 0:r(r({},O),{name:y}),onClick:this.handleClick,on:this.v3?void 0:{click:this.handleClick}})),j=t(s.SvgIcon,r(r({},O),{icon:i,viewBox:p,attrs:this.v3?void 0:r(r({},O),{icon:i,viewBox:p}),onClick:this.handleClick,on:this.v3?void 0:{click:this.handleClick}}));return g?j:_},methods:{handleClick:function(e){this.$emit("click",e)}}};t.IconVue2=d;var f=d;t.Icon=f},385:(e,t,n)=>{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},r.apply(this,arguments)},o=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]},i=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.SvgIconVue2=t.SvgIcon=void 0;var u=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)&&o(t,e,n);return i(t,e),t}(n(895)),a=u.h,l=u.version&&"3"===u.version[0],c=n(232),s=n(437),d={name:"KendoSvgIcon",emits:{click:null},props:{icon:Object,themeColor:{type:String},size:{type:String},flip:{type:String},id:String,ariaLabel:String,title:String,viewBox:{type:String,default:"0 0 24 24"},tabIndex:Number},computed:{wrapperClass:function(){var e,t=this.$props,n=t.name,r=t.flip,o=t.size;return(e={"k-svg-icon":!0})["k-color-"+t.themeColor]=!0,e["k-svg-i-"+n]=n,e["k-flip-h"]="horizontal"===r||"both"===r,e["k-flip-v"]="vertical"===r||"both"===r,e[c.SIZE_CLASSES[o]]=!0,e}},setup:l?function(){return{v3:!!l}}:void 0,render:function(e){var t=a||e,n=(0,s.getDefaultSlots)(this),o=this.$props,i=o.svgClassName,u=o.icon,l=o.id,c=o.tabIndex,d=o.svgStyle,f=o.viewBox,p=o.title,v=o.ariaLabel,b=u?u.content:void 0,h={id:l,title:p,"aria-hidden":!0,tabIndex:c,ariaLabel:v,focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:u?u.viewBox:f},m=t("svg",r(r({},h),{attrs:h,domProps:{innerHTML:b},innerHTML:b,class:i,style:d}),[u?void 0:n]);return t("span",{class:this.wrapperClass,onClick:this.handleClick,on:this.v3?void 0:{click:this.handleClick}},[m])},methods:{handleClick:function(e){this.$emit("click",e)}}};t.SvgIconVue2=d;var f=d;t.SvgIcon=f},232:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SIZE_CLASSES=void 0,t.SIZE_CLASSES={default:"",xsmall:"k-icon-xs",small:"k-icon-sm",medium:"k-icon-md",large:"k-icon-lg",xlarge:"k-icon-xl"}},866:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},500:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},148:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},46:(e,t)=>{function n(e){return n="function"==typeof Symbol&&"symbol"==n(Symbol.iterator)?function(e){return void 0===e?"undefined":n(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":n(e)},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.isObject=void 0,t.isObject=function(e){return"object"===(void 0===e?"undefined":n(e))}},870:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getDir=t.isRtl=void 0;var r=n(20);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}},874:(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}},655:(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}},545:(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=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(881);Object.defineProperty(t,"classNames",{enumerable:!0,get:function(){return i.classNames}});var u=n(805);Object.defineProperty(t,"guid",{enumerable:!0,get:function(){return u.guid}});var a=n(874);Object.defineProperty(t,"Keys",{enumerable:!0,get:function(){return a.Keys}});var l=n(20);Object.defineProperty(t,"canUseDOM",{enumerable:!0,get:function(){return l.canUseDOM}});var c=n(162);Object.defineProperty(t,"getRef",{enumerable:!0,get:function(){return c.getRef}}),Object.defineProperty(t,"setRef",{enumerable:!0,get:function(){return c.setRef}});var s=n(33);Object.defineProperty(t,"focusFirstFocusableChild",{enumerable:!0,get:function(){return s.focusFirstFocusableChild}}),Object.defineProperty(t,"focusLastFocusableChild",{enumerable:!0,get:function(){return s.focusLastFocusableChild}}),Object.defineProperty(t,"focusContainer",{enumerable:!0,get:function(){return s.focusContainer}}),Object.defineProperty(t,"firstFocusableChild",{enumerable:!0,get:function(){return s.firstFocusableChild}}),Object.defineProperty(t,"lastFocusableChild",{enumerable:!0,get:function(){return s.lastFocusableChild}});var d=n(527);Object.defineProperty(t,"Draggable",{enumerable:!0,get:function(){return d.Draggable}});var f=n(382);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(46);Object.defineProperty(t,"isObject",{enumerable:!0,get:function(){return p.isObject}});var v=n(992);Object.defineProperty(t,"noop",{enumerable:!0,get:function(){return v.noop}});var b=n(49);Object.defineProperty(t,"getter",{enumerable:!0,get:function(){return b.getter}});var h=n(267);Object.defineProperty(t,"setter",{enumerable:!0,get:function(){return h.setter}});var m=n(655);Object.defineProperty(t,"hasListener",{enumerable:!0,get:function(){return m.hasListener}}),Object.defineProperty(t,"getListeners",{enumerable:!0,get:function(){return m.getListeners}});var g=n(497);Object.defineProperty(t,"templateRendering",{enumerable:!0,get:function(){return g.templateRendering}}),Object.defineProperty(t,"getTemplate",{enumerable:!0,get:function(){return g.getTemplate}}),Object.defineProperty(t,"templateDefinition",{enumerable:!0,get:function(){return g.templateDefinition}});var y=n(183);Object.defineProperty(t,"getTabIndex",{enumerable:!0,get:function(){return y.getTabIndex}});var O=n(437);Object.defineProperty(t,"getDefaultSlots",{enumerable:!0,get:function(){return O.getDefaultSlots}});var _=n(870);Object.defineProperty(t,"isRtl",{enumerable:!0,get:function(){return _.isRtl}}),Object.defineProperty(t,"getDir",{enumerable:!0,get:function(){return _.getDir}});var j=n(34);Object.defineProperty(t,"validatePackage",{enumerable:!0,get:function(){return j.validatePackage}}),o(n(932),t),o(n(887),t),o(n(185),t),o(n(146),t),o(n(934),t),o(n(924),t),o(n(676),t),o(n(385),t),o(n(866),t),o(n(500),t),o(n(148),t)},992:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.noop=void 0,t.noop=function(){}},162:(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}},146:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.setScrollbarWidth=t.getScrollbarWidth=void 0;var r=n(185),o=n(20);t.getScrollbarWidth=function(){return!(!o.canUseDOM||!document.body)&&(new r.BrowserSupportService).scrollbarWidth},t.setScrollbarWidth=function(){if(!o.canUseDOM||!document.body)return!1;var e=(new r.BrowserSupportService).scrollbarWidth;document.body.style.setProperty("--kendo-scrollbar-width","".concat(e,"px"))}},267:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.setter=void 0;var r=n(955),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]}},497:(e,t,n)=>{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},r.apply(this,arguments)},o=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]},i=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.transformListeners=t.getTemplate=t.templateRendering=t.templateDefinition=void 0;var u=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)&&o(t,e,n);return i(t,e),t}(n(895)),a=n(46),l=u,c=l.version&&"3"===l.version[0];function s(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=c?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,a.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,a=e.defaultRendering,l=e.defaultSlots,d=e.additionalProps,f=e.additionalListeners,p=e.swapDefaultSlots;if(!u||u&&!0===u.render)return a;if(c){var v=a?a.props:{};t=r(r({},s(f)),u.listeners),n=r(r(r({},v),d),t),o=r(r({},n),t)}else{var b=a&&a.componentOptions,h=b?a.componentOptions.listeners:{},m=b?a.componentOptions.propsData:{};t=r(r(r(r({},h),f),s(f)),u.listeners),o={props:n=r(r(r({},m),d),t),on:t}}if("slot"===u.type){var g=u.render({props:n,listeners:t,methods:t,defaultSlots:l});return g?g[0]:void 0}return"renderFunction"===u.type?p?u.render?u.render(i,a,l,n,t):void 0:u.render?u.render(i,a,n,t,l):void 0:i(u.render,o,c?function(){return[l]}:[l])},t.transformListeners=s},932:(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"}}},887:(e,t)=>{var n=function(){return n=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},n.apply(this,arguments)},r=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};function o(e,t,o){var i;return o?n(n({},e),((i={})[t]=o.length?r([],o,!0):void 0,i)):e&&e[t]?r([],e[t],!0):[]}function i(e,t,n){if(e[t]){var r=o(e,t).map((function(e){return i(e,t,n)}));return n(o(e,t,r))}return n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.getNestedValue=t.getItemPath=t.extendDataItem=t.mapTreeItem=t.mapTree=void 0,t.mapTree=function(e,t,n){return r([],e.map((function(e){return i(e,t,n)})),!0)},t.mapTreeItem=function(e,t,n,r){for(var o=e,i=[],u=0;u<t.length;u++)o=o[t[u]],o=Array.isArray(o)?o:o[n],i.push(o);var a=i.length>1?i[i.length-2]:e,l=t[t.length-1],c=r(a[l]);a.splice(l,1,c)},t.extendDataItem=function(e,t,n){var r;return Object.assign({},e,e[t]?((r={})[t]=e[t].slice(),r):{},n||{})},t.getItemPath=function(e,t,n){var o=[],i=r([],t,!0);if(i.length){var u=e[i.shift()||0];for(o.push(u);i.length&&n;)u=u[n][i.shift()||0],o.push(u)}return o},t.getNestedValue=function(e,t){var n=e.split("."),r=t;return n.forEach((function(e){r=r?r[e]:void 0})),r}},34:(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.validatePackage=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(302));t.validatePackage=function(e){var t=i,n=void 0!==t&&t.validatePackage?t:t.default;if(n&&n.validatePackage)n.validatePackage(e);else{var r="License activation failed for ".concat(e.name,"\n");r+="The @progress/kendo-licensing script is not loaded.\n",r+="See ".concat(e.licensingDocsUrl," for more information.\n"),console.warn(r)}}},11:(e,t,n)=>{n.r(t),n.d(t,{Draggable:()=>s,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(){},a=function(e){return e.preventDefault()},l=/touch/;function c(e){return e.type.match(l)?{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 s=function(e){var t=this,n=e.press;void 0===n&&(n=u);var l=e.drag;void 0===l&&(l=u);var s=e.release;void 0===s&&(s=u);var d=e.mouseOnly;void 0===d&&(d=!1),this._pressHandler=r(c,n),this._dragHandler=r(c,l),this._releaseHandler=r(c,s),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",a),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",a),t._releaseHandler(e))}},d={document:{configurable:!0}};s.supportPointerEvent=function(){return"undefined"!=typeof window&&window.PointerEvent},d.document.get=function(){return this._element?this._element.ownerDocument:document},s.prototype.bindTo=function(e){e!==this._element&&(this._element&&this._unbindFromCurrent(),this._element=e,this._bindToCurrent())},s.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)))},s.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",a),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))},s.prototype._usePointers=function(){return!this._mouseOnly&&s.supportPointerEvent()},s.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},s.prototype.destroy=function(){this._unbindFromCurrent(),this._element=null},Object.defineProperties(s.prototype,d),s.default=s;const f=s},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](i,i.exports,o),i.exports}return 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})},o(545)})()}));
@@ -13,6 +13,14 @@ export interface BaseIconProps {
13
13
  * Sets the `id` of the icon element.
14
14
  */
15
15
  id?: string;
16
+ /**
17
+ * Sets the `aria-label` of the icon element.
18
+ */
19
+ ariaLabel?: string;
20
+ /**
21
+ * Sets the `title` of the icon element.
22
+ */
23
+ title?: string;
16
24
  /**
17
25
  * Specifies a list of CSS classes that will be added to the root DOM element.
18
26
  */
@@ -9,6 +9,10 @@ import { SIZE_CLASSES } from './constants';
9
9
  */
10
10
  var FontIconVue2 = {
11
11
  name: 'KendoFontIcon',
12
+ // @ts-ignore
13
+ emits: {
14
+ click: null
15
+ },
12
16
  props: {
13
17
  name: String,
14
18
  themeColor: {
@@ -21,6 +25,8 @@ var FontIconVue2 = {
21
25
  type: String
22
26
  },
23
27
  id: String,
28
+ ariaLabel: String,
29
+ title: String,
24
30
  tabIndex: Number
25
31
  },
26
32
  computed: {
@@ -46,16 +52,35 @@ var FontIconVue2 = {
46
52
  // @ts-ignore
47
53
  render: function render(createElement) {
48
54
  var h = gh || createElement;
49
- var id = this.$props.id;
55
+ var _a = this.$props,
56
+ id = _a.id,
57
+ title = _a.title,
58
+ tabIndex = _a.tabIndex,
59
+ ariaLabel = _a.ariaLabel;
50
60
  return h("span", {
51
61
  "class": this.fontClassNames,
52
62
  id: id,
53
63
  attrs: this.v3 ? undefined : {
54
64
  id: id,
65
+ title: title,
66
+ "aria-label": ariaLabel,
67
+ tabIndex: tabIndex,
55
68
  role: "presentation"
56
69
  },
57
- role: "presentation"
70
+ title: title,
71
+ "aria-label": ariaLabel,
72
+ tabIndex: tabIndex,
73
+ role: "presentation",
74
+ onClick: this.handleClick,
75
+ on: this.v3 ? undefined : {
76
+ "click": this.handleClick
77
+ }
58
78
  });
79
+ },
80
+ methods: {
81
+ handleClick: function handleClick(e) {
82
+ this.$emit('click', e);
83
+ }
59
84
  }
60
85
  };
61
86
  /**
@@ -22,13 +22,22 @@ import { SvgIcon } from './SvgIcon';
22
22
  */
23
23
  var IconVue2 = {
24
24
  name: 'KendoIcon',
25
+ // @ts-ignore
26
+ emits: {
27
+ click: null
28
+ },
29
+ inject: {
30
+ kendoIcons: {
31
+ default: {
32
+ type: 'font',
33
+ icons: {}
34
+ }
35
+ }
36
+ },
25
37
  props: {
26
- iconType: {
27
- type: String,
28
- default: 'font'
29
- },
30
38
  name: String,
31
39
  icon: Object,
40
+ title: String,
32
41
  themeColor: {
33
42
  type: String
34
43
  },
@@ -39,6 +48,7 @@ var IconVue2 = {
39
48
  type: String
40
49
  },
41
50
  id: String,
51
+ ariaLabel: String,
42
52
  viewBox: {
43
53
  type: String,
44
54
  default: '0 0 24 24'
@@ -56,7 +66,6 @@ var IconVue2 = {
56
66
  render: function render(createElement) {
57
67
  var h = gh || createElement;
58
68
  var _a = this.$props,
59
- iconType = _a.iconType,
60
69
  name = _a.name,
61
70
  icon = _a.icon,
62
71
  themeColor = _a.themeColor,
@@ -64,20 +73,30 @@ var IconVue2 = {
64
73
  flip = _a.flip,
65
74
  id = _a.id,
66
75
  viewBox = _a.viewBox,
67
- tabIndex = _a.tabIndex;
68
- var resolvedName = name || (icon && icon.name ? icon.name.split('-icon')[0] : undefined);
76
+ tabIndex = _a.tabIndex,
77
+ title = _a.title,
78
+ ariaLabel = _a.ariaLabel;
79
+ var svg = icon || name && this.kendoIcons.icons[name];
80
+ var renderSVG = this.kendoIcons.type === 'svg' && svg !== undefined;
81
+ var resolvedName = name || (icon && icon.name ? icon.name : undefined);
69
82
  var commonProps = {
70
83
  themeColor: themeColor,
71
84
  size: size,
72
85
  flip: flip,
73
86
  id: id,
74
- tabIndex: tabIndex
87
+ tabIndex: tabIndex,
88
+ title: title,
89
+ ariaLabel: ariaLabel
75
90
  };
76
91
  var fontIcon = h(FontIcon, __assign(__assign({}, commonProps), {
77
92
  name: resolvedName,
78
93
  attrs: this.v3 ? undefined : __assign(__assign({}, commonProps), {
79
94
  name: resolvedName
80
- })
95
+ }),
96
+ onClick: this.handleClick,
97
+ on: this.v3 ? undefined : {
98
+ 'click': this.handleClick
99
+ }
81
100
  }));
82
101
  var svgIcon = h(SvgIcon, __assign(__assign({}, commonProps), {
83
102
  icon: icon,
@@ -85,9 +104,18 @@ var IconVue2 = {
85
104
  attrs: this.v3 ? undefined : __assign(__assign({}, commonProps), {
86
105
  icon: icon,
87
106
  viewBox: viewBox
88
- })
107
+ }),
108
+ onClick: this.handleClick,
109
+ on: this.v3 ? undefined : {
110
+ 'click': this.handleClick
111
+ }
89
112
  }));
90
- return iconType === 'font' ? fontIcon : svgIcon;
113
+ return renderSVG ? svgIcon : fontIcon;
114
+ },
115
+ methods: {
116
+ handleClick: function handleClick(e) {
117
+ this.$emit('click', e);
118
+ }
91
119
  }
92
120
  };
93
121
  /**
@@ -1,3 +1,15 @@
1
+ var __assign = this && this.__assign || function () {
2
+ __assign = Object.assign || function (t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) {
6
+ if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
7
+ }
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
1
13
  // @ts-ignore
2
14
  import * as Vue from 'vue';
3
15
  var allVue = Vue;
@@ -10,6 +22,10 @@ import { getDefaultSlots } from '../defaultSlots';
10
22
  */
11
23
  var SvgIconVue2 = {
12
24
  name: 'KendoSvgIcon',
25
+ // @ts-ignore
26
+ emits: {
27
+ click: null
28
+ },
13
29
  props: {
14
30
  icon: Object,
15
31
  themeColor: {
@@ -22,6 +38,8 @@ var SvgIconVue2 = {
22
38
  type: String
23
39
  },
24
40
  id: String,
41
+ ariaLabel: String,
42
+ title: String,
25
43
  viewBox: {
26
44
  type: String,
27
45
  default: '0 0 24 24'
@@ -58,27 +76,41 @@ var SvgIconVue2 = {
58
76
  id = _a.id,
59
77
  tabIndex = _a.tabIndex,
60
78
  svgStyle = _a.svgStyle,
61
- viewBox = _a.viewBox;
79
+ viewBox = _a.viewBox,
80
+ title = _a.title,
81
+ ariaLabel = _a.ariaLabel;
62
82
  var innerHTML = icon ? icon.content : undefined;
63
- var svg = h('svg', {
64
- attrs: {
65
- id: id,
66
- 'aria-hidden': true,
67
- tabIndex: tabIndex,
68
- focusable: 'false',
69
- xmlns: 'http://www.w3.org/2000/svg',
70
- viewBox: icon ? icon.viewBox : viewBox
71
- },
83
+ var attrs = {
84
+ id: id,
85
+ title: title,
86
+ 'aria-hidden': true,
87
+ tabIndex: tabIndex,
88
+ ariaLabel: ariaLabel,
89
+ focusable: 'false',
90
+ xmlns: 'http://www.w3.org/2000/svg',
91
+ viewBox: icon ? icon.viewBox : viewBox
92
+ };
93
+ var svg = h('svg', __assign(__assign({}, attrs), {
94
+ attrs: attrs,
72
95
  domProps: {
73
96
  innerHTML: innerHTML
74
97
  },
75
98
  innerHTML: innerHTML,
76
99
  'class': svgClassName,
77
100
  style: svgStyle
78
- }, [icon ? undefined : defaultSlot]);
101
+ }), [icon ? undefined : defaultSlot]);
79
102
  return h("span", {
80
- "class": this.wrapperClass
103
+ "class": this.wrapperClass,
104
+ onClick: this.handleClick,
105
+ on: this.v3 ? undefined : {
106
+ "click": this.handleClick
107
+ }
81
108
  }, [svg]);
109
+ },
110
+ methods: {
111
+ handleClick: function handleClick(e) {
112
+ this.$emit('click', e);
113
+ }
82
114
  }
83
115
  };
84
116
  /**
@@ -13,6 +13,14 @@ export interface BaseIconProps {
13
13
  * Sets the `id` of the icon element.
14
14
  */
15
15
  id?: string;
16
+ /**
17
+ * Sets the `aria-label` of the icon element.
18
+ */
19
+ ariaLabel?: string;
20
+ /**
21
+ * Sets the `title` of the icon element.
22
+ */
23
+ title?: string;
16
24
  /**
17
25
  * Specifies a list of CSS classes that will be added to the root DOM element.
18
26
  */
@@ -9,6 +9,10 @@ import { SIZE_CLASSES } from './constants.js';
9
9
  */
10
10
  var FontIconVue2 = {
11
11
  name: 'KendoFontIcon',
12
+ // @ts-ignore
13
+ emits: {
14
+ click: null
15
+ },
12
16
  props: {
13
17
  name: String,
14
18
  themeColor: {
@@ -21,6 +25,8 @@ var FontIconVue2 = {
21
25
  type: String
22
26
  },
23
27
  id: String,
28
+ ariaLabel: String,
29
+ title: String,
24
30
  tabIndex: Number
25
31
  },
26
32
  computed: {
@@ -46,16 +52,35 @@ var FontIconVue2 = {
46
52
  // @ts-ignore
47
53
  render: function render(createElement) {
48
54
  var h = gh || createElement;
49
- var id = this.$props.id;
55
+ var _a = this.$props,
56
+ id = _a.id,
57
+ title = _a.title,
58
+ tabIndex = _a.tabIndex,
59
+ ariaLabel = _a.ariaLabel;
50
60
  return h("span", {
51
61
  "class": this.fontClassNames,
52
62
  id: id,
53
63
  attrs: this.v3 ? undefined : {
54
64
  id: id,
65
+ title: title,
66
+ "aria-label": ariaLabel,
67
+ tabIndex: tabIndex,
55
68
  role: "presentation"
56
69
  },
57
- role: "presentation"
70
+ title: title,
71
+ "aria-label": ariaLabel,
72
+ tabIndex: tabIndex,
73
+ role: "presentation",
74
+ onClick: this.handleClick,
75
+ on: this.v3 ? undefined : {
76
+ "click": this.handleClick
77
+ }
58
78
  });
79
+ },
80
+ methods: {
81
+ handleClick: function handleClick(e) {
82
+ this.$emit('click', e);
83
+ }
59
84
  }
60
85
  };
61
86
  /**
@@ -22,13 +22,22 @@ import { SvgIcon } from './SvgIcon.js';
22
22
  */
23
23
  var IconVue2 = {
24
24
  name: 'KendoIcon',
25
+ // @ts-ignore
26
+ emits: {
27
+ click: null
28
+ },
29
+ inject: {
30
+ kendoIcons: {
31
+ default: {
32
+ type: 'font',
33
+ icons: {}
34
+ }
35
+ }
36
+ },
25
37
  props: {
26
- iconType: {
27
- type: String,
28
- default: 'font'
29
- },
30
38
  name: String,
31
39
  icon: Object,
40
+ title: String,
32
41
  themeColor: {
33
42
  type: String
34
43
  },
@@ -39,6 +48,7 @@ var IconVue2 = {
39
48
  type: String
40
49
  },
41
50
  id: String,
51
+ ariaLabel: String,
42
52
  viewBox: {
43
53
  type: String,
44
54
  default: '0 0 24 24'
@@ -56,7 +66,6 @@ var IconVue2 = {
56
66
  render: function render(createElement) {
57
67
  var h = gh || createElement;
58
68
  var _a = this.$props,
59
- iconType = _a.iconType,
60
69
  name = _a.name,
61
70
  icon = _a.icon,
62
71
  themeColor = _a.themeColor,
@@ -64,20 +73,30 @@ var IconVue2 = {
64
73
  flip = _a.flip,
65
74
  id = _a.id,
66
75
  viewBox = _a.viewBox,
67
- tabIndex = _a.tabIndex;
68
- var resolvedName = name || (icon && icon.name ? icon.name.split('-icon')[0] : undefined);
76
+ tabIndex = _a.tabIndex,
77
+ title = _a.title,
78
+ ariaLabel = _a.ariaLabel;
79
+ var svg = icon || name && this.kendoIcons.icons[name];
80
+ var renderSVG = this.kendoIcons.type === 'svg' && svg !== undefined;
81
+ var resolvedName = name || (icon && icon.name ? icon.name : undefined);
69
82
  var commonProps = {
70
83
  themeColor: themeColor,
71
84
  size: size,
72
85
  flip: flip,
73
86
  id: id,
74
- tabIndex: tabIndex
87
+ tabIndex: tabIndex,
88
+ title: title,
89
+ ariaLabel: ariaLabel
75
90
  };
76
91
  var fontIcon = h(FontIcon, __assign(__assign({}, commonProps), {
77
92
  name: resolvedName,
78
93
  attrs: this.v3 ? undefined : __assign(__assign({}, commonProps), {
79
94
  name: resolvedName
80
- })
95
+ }),
96
+ onClick: this.handleClick,
97
+ on: this.v3 ? undefined : {
98
+ 'click': this.handleClick
99
+ }
81
100
  }));
82
101
  var svgIcon = h(SvgIcon, __assign(__assign({}, commonProps), {
83
102
  icon: icon,
@@ -85,9 +104,18 @@ var IconVue2 = {
85
104
  attrs: this.v3 ? undefined : __assign(__assign({}, commonProps), {
86
105
  icon: icon,
87
106
  viewBox: viewBox
88
- })
107
+ }),
108
+ onClick: this.handleClick,
109
+ on: this.v3 ? undefined : {
110
+ 'click': this.handleClick
111
+ }
89
112
  }));
90
- return iconType === 'font' ? fontIcon : svgIcon;
113
+ return renderSVG ? svgIcon : fontIcon;
114
+ },
115
+ methods: {
116
+ handleClick: function handleClick(e) {
117
+ this.$emit('click', e);
118
+ }
91
119
  }
92
120
  };
93
121
  /**
@@ -1,3 +1,15 @@
1
+ var __assign = this && this.__assign || function () {
2
+ __assign = Object.assign || function (t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) {
6
+ if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
7
+ }
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
1
13
  // @ts-ignore
2
14
  import * as Vue from 'vue';
3
15
  var allVue = Vue;
@@ -10,6 +22,10 @@ import { getDefaultSlots } from '../defaultSlots.js';
10
22
  */
11
23
  var SvgIconVue2 = {
12
24
  name: 'KendoSvgIcon',
25
+ // @ts-ignore
26
+ emits: {
27
+ click: null
28
+ },
13
29
  props: {
14
30
  icon: Object,
15
31
  themeColor: {
@@ -22,6 +38,8 @@ var SvgIconVue2 = {
22
38
  type: String
23
39
  },
24
40
  id: String,
41
+ ariaLabel: String,
42
+ title: String,
25
43
  viewBox: {
26
44
  type: String,
27
45
  default: '0 0 24 24'
@@ -58,27 +76,41 @@ var SvgIconVue2 = {
58
76
  id = _a.id,
59
77
  tabIndex = _a.tabIndex,
60
78
  svgStyle = _a.svgStyle,
61
- viewBox = _a.viewBox;
79
+ viewBox = _a.viewBox,
80
+ title = _a.title,
81
+ ariaLabel = _a.ariaLabel;
62
82
  var innerHTML = icon ? icon.content : undefined;
63
- var svg = h('svg', {
64
- attrs: {
65
- id: id,
66
- 'aria-hidden': true,
67
- tabIndex: tabIndex,
68
- focusable: 'false',
69
- xmlns: 'http://www.w3.org/2000/svg',
70
- viewBox: icon ? icon.viewBox : viewBox
71
- },
83
+ var attrs = {
84
+ id: id,
85
+ title: title,
86
+ 'aria-hidden': true,
87
+ tabIndex: tabIndex,
88
+ ariaLabel: ariaLabel,
89
+ focusable: 'false',
90
+ xmlns: 'http://www.w3.org/2000/svg',
91
+ viewBox: icon ? icon.viewBox : viewBox
92
+ };
93
+ var svg = h('svg', __assign(__assign({}, attrs), {
94
+ attrs: attrs,
72
95
  domProps: {
73
96
  innerHTML: innerHTML
74
97
  },
75
98
  innerHTML: innerHTML,
76
99
  'class': svgClassName,
77
100
  style: svgStyle
78
- }, [icon ? undefined : defaultSlot]);
101
+ }), [icon ? undefined : defaultSlot]);
79
102
  return h("span", {
80
- "class": this.wrapperClass
103
+ "class": this.wrapperClass,
104
+ onClick: this.handleClick,
105
+ on: this.v3 ? undefined : {
106
+ "click": this.handleClick
107
+ }
81
108
  }, [svg]);
109
+ },
110
+ methods: {
111
+ handleClick: function handleClick(e) {
112
+ this.$emit('click', e);
113
+ }
82
114
  }
83
115
  };
84
116
  /**
@@ -13,6 +13,14 @@ export interface BaseIconProps {
13
13
  * Sets the `id` of the icon element.
14
14
  */
15
15
  id?: string;
16
+ /**
17
+ * Sets the `aria-label` of the icon element.
18
+ */
19
+ ariaLabel?: string;
20
+ /**
21
+ * Sets the `title` of the icon element.
22
+ */
23
+ title?: string;
16
24
  /**
17
25
  * Specifies a list of CSS classes that will be added to the root DOM element.
18
26
  */
@@ -15,6 +15,10 @@ var constants_1 = require("./constants");
15
15
  */
16
16
  var FontIconVue2 = {
17
17
  name: 'KendoFontIcon',
18
+ // @ts-ignore
19
+ emits: {
20
+ click: null
21
+ },
18
22
  props: {
19
23
  name: String,
20
24
  themeColor: {
@@ -27,6 +31,8 @@ var FontIconVue2 = {
27
31
  type: String
28
32
  },
29
33
  id: String,
34
+ ariaLabel: String,
35
+ title: String,
30
36
  tabIndex: Number
31
37
  },
32
38
  computed: {
@@ -52,16 +58,35 @@ var FontIconVue2 = {
52
58
  // @ts-ignore
53
59
  render: function render(createElement) {
54
60
  var h = gh || createElement;
55
- var id = this.$props.id;
61
+ var _a = this.$props,
62
+ id = _a.id,
63
+ title = _a.title,
64
+ tabIndex = _a.tabIndex,
65
+ ariaLabel = _a.ariaLabel;
56
66
  return h("span", {
57
67
  "class": this.fontClassNames,
58
68
  id: id,
59
69
  attrs: this.v3 ? undefined : {
60
70
  id: id,
71
+ title: title,
72
+ "aria-label": ariaLabel,
73
+ tabIndex: tabIndex,
61
74
  role: "presentation"
62
75
  },
63
- role: "presentation"
76
+ title: title,
77
+ "aria-label": ariaLabel,
78
+ tabIndex: tabIndex,
79
+ role: "presentation",
80
+ onClick: this.handleClick,
81
+ on: this.v3 ? undefined : {
82
+ "click": this.handleClick
83
+ }
64
84
  });
85
+ },
86
+ methods: {
87
+ handleClick: function handleClick(e) {
88
+ this.$emit('click', e);
89
+ }
65
90
  }
66
91
  };
67
92
  exports.FontIconVue2 = FontIconVue2;
@@ -28,13 +28,22 @@ var SvgIcon_1 = require("./SvgIcon");
28
28
  */
29
29
  var IconVue2 = {
30
30
  name: 'KendoIcon',
31
+ // @ts-ignore
32
+ emits: {
33
+ click: null
34
+ },
35
+ inject: {
36
+ kendoIcons: {
37
+ default: {
38
+ type: 'font',
39
+ icons: {}
40
+ }
41
+ }
42
+ },
31
43
  props: {
32
- iconType: {
33
- type: String,
34
- default: 'font'
35
- },
36
44
  name: String,
37
45
  icon: Object,
46
+ title: String,
38
47
  themeColor: {
39
48
  type: String
40
49
  },
@@ -45,6 +54,7 @@ var IconVue2 = {
45
54
  type: String
46
55
  },
47
56
  id: String,
57
+ ariaLabel: String,
48
58
  viewBox: {
49
59
  type: String,
50
60
  default: '0 0 24 24'
@@ -62,7 +72,6 @@ var IconVue2 = {
62
72
  render: function render(createElement) {
63
73
  var h = gh || createElement;
64
74
  var _a = this.$props,
65
- iconType = _a.iconType,
66
75
  name = _a.name,
67
76
  icon = _a.icon,
68
77
  themeColor = _a.themeColor,
@@ -70,20 +79,30 @@ var IconVue2 = {
70
79
  flip = _a.flip,
71
80
  id = _a.id,
72
81
  viewBox = _a.viewBox,
73
- tabIndex = _a.tabIndex;
74
- var resolvedName = name || (icon && icon.name ? icon.name.split('-icon')[0] : undefined);
82
+ tabIndex = _a.tabIndex,
83
+ title = _a.title,
84
+ ariaLabel = _a.ariaLabel;
85
+ var svg = icon || name && this.kendoIcons.icons[name];
86
+ var renderSVG = this.kendoIcons.type === 'svg' && svg !== undefined;
87
+ var resolvedName = name || (icon && icon.name ? icon.name : undefined);
75
88
  var commonProps = {
76
89
  themeColor: themeColor,
77
90
  size: size,
78
91
  flip: flip,
79
92
  id: id,
80
- tabIndex: tabIndex
93
+ tabIndex: tabIndex,
94
+ title: title,
95
+ ariaLabel: ariaLabel
81
96
  };
82
97
  var fontIcon = h(FontIcon_1.FontIcon, __assign(__assign({}, commonProps), {
83
98
  name: resolvedName,
84
99
  attrs: this.v3 ? undefined : __assign(__assign({}, commonProps), {
85
100
  name: resolvedName
86
- })
101
+ }),
102
+ onClick: this.handleClick,
103
+ on: this.v3 ? undefined : {
104
+ 'click': this.handleClick
105
+ }
87
106
  }));
88
107
  var svgIcon = h(SvgIcon_1.SvgIcon, __assign(__assign({}, commonProps), {
89
108
  icon: icon,
@@ -91,9 +110,18 @@ var IconVue2 = {
91
110
  attrs: this.v3 ? undefined : __assign(__assign({}, commonProps), {
92
111
  icon: icon,
93
112
  viewBox: viewBox
94
- })
113
+ }),
114
+ onClick: this.handleClick,
115
+ on: this.v3 ? undefined : {
116
+ 'click': this.handleClick
117
+ }
95
118
  }));
96
- return iconType === 'font' ? fontIcon : svgIcon;
119
+ return renderSVG ? svgIcon : fontIcon;
120
+ },
121
+ methods: {
122
+ handleClick: function handleClick(e) {
123
+ this.$emit('click', e);
124
+ }
97
125
  }
98
126
  };
99
127
  exports.IconVue2 = IconVue2;
@@ -1,5 +1,17 @@
1
1
  "use strict";
2
2
 
3
+ var __assign = undefined && undefined.__assign || function () {
4
+ __assign = Object.assign || function (t) {
5
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
6
+ s = arguments[i];
7
+ for (var p in s) {
8
+ if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
9
+ }
10
+ }
11
+ return t;
12
+ };
13
+ return __assign.apply(this, arguments);
14
+ };
3
15
  Object.defineProperty(exports, "__esModule", {
4
16
  value: true
5
17
  });
@@ -16,6 +28,10 @@ var defaultSlots_1 = require("../defaultSlots");
16
28
  */
17
29
  var SvgIconVue2 = {
18
30
  name: 'KendoSvgIcon',
31
+ // @ts-ignore
32
+ emits: {
33
+ click: null
34
+ },
19
35
  props: {
20
36
  icon: Object,
21
37
  themeColor: {
@@ -28,6 +44,8 @@ var SvgIconVue2 = {
28
44
  type: String
29
45
  },
30
46
  id: String,
47
+ ariaLabel: String,
48
+ title: String,
31
49
  viewBox: {
32
50
  type: String,
33
51
  default: '0 0 24 24'
@@ -64,27 +82,41 @@ var SvgIconVue2 = {
64
82
  id = _a.id,
65
83
  tabIndex = _a.tabIndex,
66
84
  svgStyle = _a.svgStyle,
67
- viewBox = _a.viewBox;
85
+ viewBox = _a.viewBox,
86
+ title = _a.title,
87
+ ariaLabel = _a.ariaLabel;
68
88
  var innerHTML = icon ? icon.content : undefined;
69
- var svg = h('svg', {
70
- attrs: {
71
- id: id,
72
- 'aria-hidden': true,
73
- tabIndex: tabIndex,
74
- focusable: 'false',
75
- xmlns: 'http://www.w3.org/2000/svg',
76
- viewBox: icon ? icon.viewBox : viewBox
77
- },
89
+ var attrs = {
90
+ id: id,
91
+ title: title,
92
+ 'aria-hidden': true,
93
+ tabIndex: tabIndex,
94
+ ariaLabel: ariaLabel,
95
+ focusable: 'false',
96
+ xmlns: 'http://www.w3.org/2000/svg',
97
+ viewBox: icon ? icon.viewBox : viewBox
98
+ };
99
+ var svg = h('svg', __assign(__assign({}, attrs), {
100
+ attrs: attrs,
78
101
  domProps: {
79
102
  innerHTML: innerHTML
80
103
  },
81
104
  innerHTML: innerHTML,
82
105
  'class': svgClassName,
83
106
  style: svgStyle
84
- }, [icon ? undefined : defaultSlot]);
107
+ }), [icon ? undefined : defaultSlot]);
85
108
  return h("span", {
86
- "class": this.wrapperClass
109
+ "class": this.wrapperClass,
110
+ onClick: this.handleClick,
111
+ on: this.v3 ? undefined : {
112
+ "click": this.handleClick
113
+ }
87
114
  }, [svg]);
115
+ },
116
+ methods: {
117
+ handleClick: function handleClick(e) {
118
+ this.$emit('click', e);
119
+ }
88
120
  }
89
121
  };
90
122
  exports.SvgIconVue2 = SvgIconVue2;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/kendo-vue-common",
3
3
  "description": "Kendo UI for Vue Common Utilities package",
4
- "version": "3.7.4-dev.202212300853",
4
+ "version": "3.7.4-dev.202301120847",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/telerik/kendo-vue.git"
@@ -32,15 +32,16 @@
32
32
  "framework": "Kendo UI for Vue"
33
33
  },
34
34
  "peerDependencies": {
35
- "@progress/kendo-licensing": "^1.1.0",
35
+ "@progress/kendo-licensing": "^1.3.0",
36
+ "@progress/kendo-svg-icons": "^1.0.0",
36
37
  "vue": "^2.6.12 || ^3.0.2"
37
38
  },
38
39
  "dependencies": {
39
40
  "@progress/kendo-draggable": "^3.0.1"
40
41
  },
41
42
  "devDependencies": {
42
- "@progress/kendo-licensing": "^1.1.0",
43
- "@progress/kendo-svg-icons": "^0.6.0"
43
+ "@progress/kendo-licensing": "^1.3.0",
44
+ "@progress/kendo-svg-icons": "^1.0.0"
44
45
  },
45
46
  "author": "Progress",
46
47
  "license": "SEE LICENSE IN LICENSE.md",