@progress/kendo-vue-treeview 3.4.4 → 3.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("vue"),require("@progress/kendo-licensing")):"function"==typeof define&&define.amd?define(["vue","@progress/kendo-licensing"],t):"object"==typeof exports?exports.KendoVueTreeview=t(require("vue"),require("@progress/kendo-licensing")):e.KendoVueTreeview=t(e.Vue,e.KendoLicensing)}(window,(function(e,t){return function(e){var t={};function i(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,function(t){return e[t]}.bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=8)}([function(t,i){t.exports=e},function(e,t,i){"use strict";i.r(t),i.d(t,"getRef",(function(){return d})),i.d(t,"setRef",(function(){return u})),i.d(t,"classNames",(function(){return r})),i.d(t,"guid",(function(){return o})),i.d(t,"Keys",(function(){return a})),i.d(t,"noop",(function(){return P})),i.d(t,"isObject",(function(){return n})),i.d(t,"getListeners",(function(){return M})),i.d(t,"hasListener",(function(){return R})),i.d(t,"canUseDOM",(function(){return s})),i.d(t,"focusFirstFocusableChild",(function(){return l})),i.d(t,"clone",(function(){return $})),i.d(t,"Draggable",(function(){return C})),i.d(t,"cloneArray",(function(){return N})),i.d(t,"cloneValue",(function(){return F})),i.d(t,"cloneObject",(function(){return w})),i.d(t,"cloneDate",(function(){return S})),i.d(t,"getTemplate",(function(){return G})),i.d(t,"templateRendering",(function(){return W})),i.d(t,"templateDefinition",(function(){return K})),i.d(t,"getTabIndex",(function(){return Y})),i.d(t,"getDefaultSlots",(function(){return D})),i.d(t,"isRtl",(function(){return X})),i.d(t,"getDir",(function(){return Z})),i.d(t,"getter",(function(){return L})),i.d(t,"setter",(function(){return V})),i.d(t,"validatePackage",(function(){return J})),i.d(t,"kendoThemeMaps",(function(){return Q}));var n=function(e){return"object"==typeof e},r=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.filter((function(e){return!0!==e&&!!e})).map((function(e){return Array.isArray(e)?r.apply(void 0,e):n(e)?Object.keys(e).map((function(t,i){return e[i]||e[t]&&t||null})).filter((function(e){return null!==e})).join(" "):e})).filter((function(e){return!!e})).join(" ")},o=function(){var e,t,i="";for(e=0;e<32;e++)t=16*Math.random()|0,8!==e&&12!==e&&16!==e&&20!==e||(i+="-"),i+=(12===e?4:16===e?3&t|8:t).toString(16);return i},a={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 d(e,t,i){return e.v3?e[t+"Ref"]:e.$refs[""+(i||t)]}function u(e,t,i){return e.v3?function(i){e[t+"Ref"]=i}:i||t}var l=function(e){if(e){var t=e.querySelectorAll('input, [tabindex]:not([tabindex="-1"])');t.length&&t[0].focus&&t[0].focus()}},c=i(0),p=function(e,t){return function(i){return t(e(i))}},h=function(e,t,i){return e.addEventListener&&e.addEventListener(t,i)},f=function(e,t,i){return e&&e.removeEventListener&&e.removeEventListener(t,i)},m=function(){},v=function(e){return e.preventDefault()},g=/touch/;function I(e){return e.type.match(g)?{pageX:e.changedTouches[0].pageX,pageY:e.changedTouches[0].pageY,clientX:e.changedTouches[0].clientX,clientY:e.changedTouches[0].clientY,type:e.type,originalEvent:e,isTouch:!0}:{pageX:e.pageX,pageY:e.pageY,clientX:e.clientX,clientY:e.clientY,offsetX:e.offsetX,offsetY:e.offsetY,type:e.type,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,altKey:e.altKey,originalEvent:e}}var E=function(e){var t=this,i=e.press;void 0===i&&(i=m);var n=e.drag;void 0===n&&(n=m);var r=e.release;void 0===r&&(r=m);var o=e.mouseOnly;void 0===o&&(o=!1),this._pressHandler=p(I,i),this._dragHandler=p(I,n),this._releaseHandler=p(I,r),this._ignoreMouse=!1,this._mouseOnly=o,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 i=e.which;i&&i>1||t._ignoreMouse||(h(t.document,"mousemove",t._mousemove),h(t.document,"mouseup",t._mouseup),t._pressHandler(e))},this._mousemove=function(e){t._dragHandler(e)},this._mouseup=function(e){f(t.document,"mousemove",t._mousemove),f(t.document,"mouseup",t._mouseup),t._releaseHandler(e)},this._pointerdown=function(e){e.isPrimary&&0===e.button&&(h(t.document,"pointermove",t._pointermove),h(t.document,"pointerup",t._pointerup),h(t.document,"pointercancel",t._pointerup),h(t.document,"contextmenu",v),t._pressHandler(e))},this._pointermove=function(e){e.isPrimary&&t._dragHandler(e)},this._pointerup=function(e){e.isPrimary&&(f(t.document,"pointermove",t._pointermove),f(t.document,"pointerup",t._pointerup),f(t.document,"pointercancel",t._pointerup),f(t.document,"contextmenu",v),t._releaseHandler(e))}},x={document:{configurable:!0}};E.supportPointerEvent=function(){return"undefined"!=typeof window&&window.PointerEvent},x.document.get=function(){return this._element?this._element.ownerDocument:document},E.prototype.bindTo=function(e){e!==this._element&&(this._element&&this._unbindFromCurrent(),this._element=e,this._bindToCurrent())},E.prototype._bindToCurrent=function(){var e=this._element;this._usePointers()?h(e,"pointerdown",this._pointerdown):(h(e,"mousedown",this._mousedown),this._mouseOnly||(h(e,"touchstart",this._touchstart),h(e,"touchmove",this._touchmove),h(e,"touchend",this._touchend)))},E.prototype._unbindFromCurrent=function(){var e=this._element;if(this._usePointers())return f(e,"pointerdown",this._pointerdown),f(this.document,"pointermove",this._pointermove),f(this.document,"pointerup",this._pointerup),f(this.document,"contextmenu",v),void f(this.document,"pointercancel",this._pointerup);f(e,"mousedown",this._mousedown),this._mouseOnly||(f(e,"touchstart",this._touchstart),f(e,"touchmove",this._touchmove),f(e,"touchend",this._touchend))},E.prototype._usePointers=function(){return!this._mouseOnly&&E.supportPointerEvent()},E.prototype.update=function(e){var t=e.press;void 0===t&&(t=m);var i=e.drag;void 0===i&&(i=m);var n=e.release;void 0===n&&(n=m);var r=e.mouseOnly;void 0===r&&(r=!1),this._pressHandler=p(I,t),this._dragHandler=p(I,i),this._releaseHandler=p(I,n),this._mouseOnly=r},E.prototype.destroy=function(){this._unbindFromCurrent(),this._element=null},Object.defineProperties(E.prototype,x),E.default=E;var b,y=E;function D(e){var t=e.$slots.default;return e.v3&&t&&"function"==typeof t?t():t}function k(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var _=c,O=(_.h,_.version&&"3"===_.version[0]),C=(k(b={emits:{press:null,drag:null,release:null},inheritAttrs:!1,created:function(){this.element=null,this.draggable=new y({press:this.press,drag:this.drag,release:this.release})},setup:O?function(){return{v3:!!O}}:void 0,mounted:function(){this.$el&&(this.element=3===this.$el.nodeType?this.$el.nextElementSibling:this.$el,this.draggable.bindTo(this.element))},destroyed:O?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",O?function(){return{v3:!!O}}:void 0),k(b,"render",(function(e){return D(this)})),b),S=function(e){return e?new Date(e.getTime()):null};function $(e){var t={};return w(e,t),t}function w(e,t){for(var i in e)if(e.hasOwnProperty(i)){var n=e[i];t[i]=F(n,t[i])}}function F(e,t){if(Array.isArray(e))return N(e);if(e instanceof Date)return S(e);if(e&&n(e)){var i=t||{};return w(e,i),i}return e}function N(e){return e.map((function(e){return F(e,void 0)}))}var P=function(){},T=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g,j={};function L(e){if(j[e])return j[e];var t=[];return e.replace(T,(function(e,i,n,r){t.push(void 0!==i?i:n||r)})),j[e]=function(e){for(var i=e,n=0;n<t.length&&i;n++)i=i[t[n]];return i},j[e]}j.undefined=function(){};var A={};function V(e){if(A[e])return A[e];var t=[];return e.replace(T,(function(e,i,n,r){t.push(void 0!==i?i:n||r)})),A[e]=function(e,i){for(var n=e,r=t.length-1,o=0;o<r&&n;o++)n=n[t[o]]=n[t[o]]||{};n[t[r]]=i},A[e]}function R(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 M(){if(this.v3){var e={};for(var t in this.$attrs)t.startsWith("on")&&(e[t]=this.$attrs[t]);return e}return this.$listeners}A.undefined=function(e){return e};var z=function(){return(z=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},B=c,H=B.version&&"3"===B.version[0],K={type:[String,Function,Object,Boolean],default:function(){}};function W(e,t){if(e||!1===e){var i=H?this.$slots[e]||(e.toLowerCase?this.$slots[e.toLowerCase()]:null):this.$scopedSlots[e]||(e.toLowerCase?this.$scopedSlots[e.toLowerCase()]:null);return"string"==typeof e&&i?{kt:!0,type:"slot",render:i,listeners:t}:"string"==typeof e||n(e)||"function"==typeof e&&e.component?{kt:!0,type:"component",render:e,listeners:t}:{kt:!0,type:"renderFunction",render:e,listeners:t}}}function G(e){var t,i,n,r=e.h,o=e.template,a=e.defaultRendering,s=e.defaultSlots,d=e.additionalProps,u=e.additionalListeners,l=e.swapDefaultSlots;if(!o||o&&!0===o.render)return a;if(H){var c=a?a.props:{};t=z(z({},U(u)),o.listeners),i=z(z(z({},c),d),t),n=z(z({},i),t)}else{var p=a&&a.componentOptions,h=p?a.componentOptions.listeners:{},f=p?a.componentOptions.propsData:{};t=z(z(z(z({},h),u),U(u)),o.listeners),n={props:i=z(z(z({},f),d),t),on:t}}if("slot"===o.type){var m=o.render({props:i,listeners:t,methods:t,defaultSlots:s});return m?m[0]:void 0}return"renderFunction"===o.type?l?o.render?o.render(r,a,s,i,t):void 0:o.render?o.render(r,a,i,t,s):void 0:r(o.render,n,H?function(){return[s]}:[s])}function U(e){if(!e)return e;for(var t={},i=Object.keys(e),n=0;n<i.length;n++){var r=i[n];t["on"+r.charAt(0).toUpperCase()+r.slice(1)]=e[r]}return t}var Y=function(e,t,i){var n="string"==typeof e?parseInt(e,void 0):e;if(NaN!==n)return void 0!==n?n:t?i?void 0:-1:0};function X(e){return Boolean(s&&e&&"rtl"===getComputedStyle(e).direction)}function Z(e,t){if(!t&&s&&e){var i=window.getComputedStyle(e).direction;if(i)return i}return t}var q=i(6);function J(e){if(void 0!==q)q.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 Q={sizeMap:{small:"sm",medium:"md",large:"lg"},roundedMap:{small:"sm",medium:"md",large:"lg"}}},function(e,t,i){"use strict";function n(e){return s(e)?e:e.split(t.SEPARATOR)[0]}function r(e){if(s(e))return e;var i=e.indexOf(t.SEPARATOR);return e.substring(i+1)}function o(e,i){return e=e.toString(),i?i+t.SEPARATOR+e:e}function a(e){var i=e.lastIndexOf(t.SEPARATOR);return i<0?t.EMPTY_ID:e.substring(0,i)}function s(e){return e===t.EMPTY_ID||e.indexOf(t.SEPARATOR)<0}function d(e){return e!==t.EMPTY_ID&&e.indexOf(t.SEPARATOR)<0}function u(e){var i=e.lastIndexOf(t.SEPARATOR);return i<0?e:e.substring(i+1)}Object.defineProperty(t,"__esModule",{value:!0}),t.getDecrementedItemIdAfterRemoval=t.isItemFirstFromSiblings=t.getShortId=t.getAllShortIds=t.isIdZeroLevel=t.isIdEmptyOrZeroLevel=t.getDirectParentId=t.createId=t.getFirstChildId=t.getIdWithoutRootParentId=t.getRootParentId=t.getItemById=t.SEPARATOR=t.ZERO_LEVEL_ZERO_NODE_ID=t.EMPTY_ID=void 0,t.EMPTY_ID="",t.ZERO_LEVEL_ZERO_NODE_ID="0",t.SEPARATOR="_",t.getItemById=function e(t,i,o){if(d(t))return i[Number(t)];var a=i[Number(n(t))],s=a&&a[o]||[];return s.length?e(r(t),s,o):void 0},t.getRootParentId=n,t.getIdWithoutRootParentId=r,t.getFirstChildId=function(e){return o("0",e)},t.createId=o,t.getDirectParentId=a,t.isIdEmptyOrZeroLevel=s,t.isIdZeroLevel=d,t.getAllShortIds=function(e){return e.split(t.SEPARATOR)},t.getShortId=u,t.isItemFirstFromSiblings=function(e){return u(e)===t.ZERO_LEVEL_ZERO_NODE_ID},t.getDecrementedItemIdAfterRemoval=function(e,i){var o=i;e="r"+t.SEPARATOR+e,i="r"+t.SEPARATOR+i;var s=a(e)+t.SEPARATOR;if(i.startsWith(s)){var d=i.substring(s.length);if(d){var l=n(d);if(Number(u(e))<Number(l))return r(s+(Number(l)-1).toString()+d.substring(l.length))}}return o}},function(e,t,i){"use strict";var n=function(){return(n=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},r=function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.addItem=t.removeItem=t.getAllParents=t.areAllDirectChildrenChecked=t.getAllDirectIndirectChildrenIds=t.isEnabledAndAllParentsEnabled=t.updateItem=t.resolveItemsIds=t.resolveItemId=t.isItemExpandedAndWithChildren=t.hasChildren=void 0;var o=i(2),a=r(i(11)),s=i(5);function d(e,t){var i=s.getNestedValue(t,e);return Boolean(i&&i.length)}function u(e,t,i,n){var r=[],u=new a.default;return u.init(e),function e(t,i,n,r,a,u){for(var l=0;l<n.length;l++){var c=n[l],p=o.createId(l,r);t.hasId(s.getNestedValue(i,c))&&a.push(p),d(c,u)&&e(t,i,s.getNestedValue(u,c),p,a,u)}}(u,t,i,o.EMPTY_ID,r,n),r}t.hasChildren=d,t.isItemExpandedAndWithChildren=function(e,t){return t.expanded(e)&&d(e,t.getChildrenField())},t.resolveItemId=function(e,t,i,n){var r=u([e],t,i,n);return r.length?r[0]:void 0},t.resolveItemsIds=u,t.updateItem=function e(t,i,n,r,a){var s,d=Number(o.getRootParentId(i));if(d>=t.length)return t;var u=t,l=t[d];return l[r]||(l=(u=t.slice())[d]=Object.assign({},l,((s={})[r]=!0,s))),o.isIdZeroLevel(i)?n(l):l[a]&&(l[a]=e(l[a],o.getIdWithoutRootParentId(i),n,r,a)),u},t.isEnabledAndAllParentsEnabled=function(e,t,i){for(var n=o.getAllShortIds(e),r=t,a=0;a<n.length;a++){var s=r[Number(n[a])];if(i.disabled(s))return!1;r=s[i.getChildrenField()]}return!0},t.getAllDirectIndirectChildrenIds=function(e,t,i,n){return n?function e(t){for(var r=[],o=t[i]||[],a=0;a<o.length;a++)r.push(s.getNestedValue(n,o[a])),r=r.concat(e(o[a]));return r}(e):function e(t,n){for(var r=[],a=t[i]||[],s=0;s<a.length;s++){var d=o.createId(s,n);r.push(d),r=r.concat(e(a[s],d))}return r}(e,t)},t.areAllDirectChildrenChecked=function(e,t,i,n,r){return(e[n]||[]).every((function(e,n){return r.indexOf(i?s.getNestedValue(i,e):o.createId(n,t))>-1}))},t.getAllParents=function(e,t,i){for(var n=[],r=o.getAllShortIds(e),a=i,s=0;s<r.length-1&&a;s++){var d=a[Number(r[s])];n.push(d),a=d[t]}return n},t.removeItem=function e(t,i,r){var a=r.slice();if(o.isIdZeroLevel(t))a.splice(Number(t),1);else{var s=Number(o.getRootParentId(t)),d=a[s]=n({},a[s]);d[i]=e(o.getIdWithoutRootParentId(t),i,d[i])}return a},t.addItem=function e(t,i,r,a,s){var d=s.slice();if(o.isIdZeroLevel(a))if("child"===i){var u=d[Number(a)]=n({},d[Number(a)]);u[r]?(u[r]=u[r].slice(),u[r].push(t)):u[r]=[t]}else d.splice(Number(a)+("after"===i?1:0),0,t);else{var l=Number(o.getRootParentId(a)),c=d[l]=n({},d[l]);c[r]=e(t,i,r,o.getIdWithoutRootParentId(a),c[r])}return d}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DOM_KENDO_TREEVIEW_GUID_FIELD=t.DOM_KENDO_ITEM_ID_FIELD=t.CHECK_INDETERMINATE_FIELD=t.CHECK_FIELD=t.SELECT_FIELD=t.HAS_CHILDREN_FIELD=t.CHILDREN_FIELD=t.DISABLED_FIELD=t.TEXT_FIELD=t.EXPAND_FIELD=void 0,t.EXPAND_FIELD="expanded",t.TEXT_FIELD="text",t.DISABLED_FIELD="disabled",t.CHILDREN_FIELD="items",t.HAS_CHILDREN_FIELD="hasChildren",t.SELECT_FIELD="selected",t.CHECK_FIELD="checked",t.CHECK_INDETERMINATE_FIELD="checkIndeterminate",t.DOM_KENDO_ITEM_ID_FIELD="_kendoItemId",t.DOM_KENDO_TREEVIEW_GUID_FIELD="_kendoTreeViewGuid"},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isArray=t.getNestedValue=void 0,t.getNestedValue=function(e,t){var i=(e||"").split("."),n=t;return i.forEach((function(e){n=n?n[e]:void 0})),n},t.isArray=function(e){return void 0!==e.length}},function(e,i){e.exports=t},function(e,t,i){"use strict";var n=function(){return(n=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},r=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},o=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.TreeViewItemVue2=t.TreeViewItem=void 0;var s=a(i(0)),d=s.h,u=s.version&&"3"===s.version[0],l=i(1),c=i(2),p=i(3),h=i(19),f=i(4),m=l.kendoThemeMaps.sizeMap,v={name:"KendoTreeViewItem",props:{item:Object,itemId:String,treeGuid:String,animate:Boolean,focusedItemId:String,tabbableItemId:String,fieldsService:Object,itemUI:Object,ariaMultiSelectable:Boolean,expandIcons:Boolean,checkboxes:Boolean,onFocusDomElNeeded:Object,draggable:Boolean,size:{type:String,default:"medium",validator:function(e){return[null,"small","medium","large"].includes(e)}}},computed:{fieldsSvc:function(){return this.$props.fieldsService},currentTabIndex:function(){return(this.$props.focusedItemId||this.$props.tabbableItemId)===this.itemId?0:-1},ariaExpanded:function(){return this.fieldsSvc.hasChildren(this.item)||p.hasChildren(this.item,this.fieldsSvc.getChildrenField())?Boolean(this.fieldsSvc.expanded(this.item)):void 0},ariaChecked:function(){return this.$props.checkboxes?this.fieldsSvc.checked(this.item)?"true":this.fieldsSvc.checkIndeterminate(this.item)?"mixed":"false":void 0},ariaSelected:function(){return!!this.fieldsSvc.selected(this.item)||(this.$props.ariaMultiSelectable?!!this.fieldsSvc.disabled(this.item)&&void 0:void 0)}},created:function(){this.itemGuid=l.guid(),this.prevFocusedItemId=this.focusedItemId,this.prevFieldsService=this.fieldsService,this.prevItem=this.item},watch:{focusedItemId:function(e,t){this.prevFocusedItemId=t},fieldsService:function(e,t){this.prevFieldsService=t},item:function(e,t){this.prevItem=t}},mounted:function(){var e=this.$props.focusedItemId,t=this.itemId;e&&e===t&&this.$emit("focusdomelneeded",this.$el),this.checkboxElement=l.getRef(this,"checkboxElement"),this.checkboxElement&&(this.checkboxElement.indeterminate=this.fieldsSvc.checkIndeterminate(this.item)),this.assignDraggableMeta(this.$refs.treemid)},updated:function(){var e=this.$props.focusedItemId;if(e&&e!==this.prevFocusedItemId&&e===this.itemId&&this.$emit("focusdomelneeded",this.$el),this.checkboxElement=l.getRef(this,"checkboxElement"),this.checkboxElement){var t=this.fieldsSvc.checkIndeterminate(this.item);t!==this.prevFieldsService.checkIndeterminate(this.prevItem)&&(this.checkboxElement.indeterminate=t)}this.assignDraggableMeta(this.$refs.treemid)},setup:u?function(){return{v3:!!u}}:void 0,render:function(e){var t=this,i=this,n=d||e,r=function(){return p.isItemExpandedAndWithChildren(this.item,this.fieldsSvc)?n("ul",{class:"k-treeview-group",role:"group",attrs:this.v3?void 0:{role:"group"}},[this.fieldsSvc.children(this.item).map((function(e,t){return n(g,{item:e,attrs:this.v3?void 0:{item:e,itemId:c.createId(t,this.itemId),treeGuid:this.$props.treeGuid,animate:this.$props.animate,focusedItemId:this.$props.focusedItemId,tabbableItemId:this.$props.tabbableItemId,fieldsService:this.$props.fieldsService,itemUI:this.$props.itemUI,checkboxes:this.$props.checkboxes,ariaMultiSelectable:this.$props.ariaMultiSelectable,draggable:this.$props.draggable,expandIcons:this.$props.expandIcons,size:this.$props.size},itemId:c.createId(t,this.itemId),treeGuid:this.$props.treeGuid,animate:this.$props.animate,focusedItemId:this.$props.focusedItemId,tabbableItemId:this.$props.tabbableItemId,fieldsService:this.$props.fieldsService,itemUI:this.$props.itemUI,checkboxes:this.$props.checkboxes,ariaMultiSelectable:this.$props.ariaMultiSelectable,onItemclick:this.handleItemClick,on:this.v3?void 0:{itemclick:this.handleItemClick,focusdomelneeded:this.handleFocusDomElNeeded,press:this.handlePress,drag:this.handleDrag,release:this.handleRelease,expandchange:this.handleExpandChange,checkchange:this.handleCheckChange},onFocusdomelneeded:this.handleFocusDomElNeeded,draggable:this.$props.draggable,onPress:this.handlePress,onDrag:this.handleDrag,onRelease:this.handleRelease,expandIcons:this.$props.expandIcons,onExpandchange:this.handleExpandChange,onCheckchange:this.handleCheckChange,key:t,size:this.$props.size})}),this)]):void 0},o=l.getTemplate.call(this,{h:n,template:this.$props.itemUI,defaultRendering:this.fieldsSvc.text(this.item),additionalProps:{item:this.item,itemHierarchicalIndex:this.itemId}}),a=function(){return n("span",{class:this.getContentClassName(),style:{touchAction:"none"},onClick:this.handleItemClick,on:this.v3?void 0:{click:this.handleItemClick}},[n("span",{class:"k-treeview-leaf-text"},[o])])};return n("li",{class:this.getRootClassName(),tabindex:this.currentTabIndex,attrs:this.v3?void 0:{tabindex:this.currentTabIndex,role:"treeitem","aria-expanded":this.ariaExpanded,"aria-selected":this.ariaSelected,"aria-checked":this.ariaChecked,"aria-disabled":!!this.fieldsSvc.disabled(this.item)||void 0},role:"treeitem","aria-expanded":this.ariaExpanded,"aria-selected":this.ariaSelected,"aria-checked":this.ariaChecked,"aria-disabled":!!this.fieldsSvc.disabled(this.item)||void 0},[n("div",{class:"k-treeview-mid",ref:"treemid"},[function(){return this.$props.expandIcons&&(this.fieldsSvc.hasChildren(this.item)||p.hasChildren(this.item,this.fieldsSvc.getChildrenField()))&&n("span",{class:"k-treeview-toggle"},[n("span",{class:this.getIconClassName(),onClick:this.handleExpandChange,on:this.v3?void 0:{click:this.handleExpandChange}})])}.call(this),function(){var e;if(this.$props.checkboxes){var t=this.$props.size;return n("div",{class:"k-checkbox-wrap"},[n("input",{type:"checkbox",attrs:this.v3?void 0:{type:"checkbox",id:this.itemGuid,tabindex:-1},class:l.classNames("k-checkbox k-rounded-md",(e={},e["k-checkbox-"+(m[t]||t)]=t,e)),checked:this.v3?Boolean(this.fieldsSvc.checked(this.item)):null,domProps:this.v3?void 0:{checked:Boolean(this.fieldsSvc.checked(this.item))},id:this.itemGuid,tabindex:-1,onChange:this.handleCheckChange,on:this.v3?void 0:{change:this.handleCheckChange},ref:l.setRef(this,"checkboxElement")}),n("label",{class:"k-checkbox-label",for:this.itemGuid,attrs:this.v3?void 0:{for:this.itemGuid}})])}}.call(this),this.$props.draggable?n(l.Draggable,{onPress:function(e){return i.handlePress(e)},on:this.v3?void 0:{press:function(e){return i.handlePress(e)},drag:function(e){return i.handleDrag(e)},release:function(e){return i.handleRelease(e)}},onDrag:function(e){return i.handleDrag(e)},onRelease:function(e){return i.handleRelease(e)}},this.v3?function(){return[a.call(t)]}:[a.call(t)]):a.call(this)]),this.$props.animate?n(h.Reveal,{appear:this.ariaExpanded,attrs:this.v3?void 0:{appear:this.ariaExpanded,transitionEnterDuration:200,transitionExitDuration:200},transitionEnterDuration:200,transitionExitDuration:200,style:{display:"block"}},this.v3?function(){return[r.call(t)]}:[r.call(t)]):r.call(this)])},methods:{handleCheckChange:function(e,t,i){this.$emit("checkchange",e,t||this.item,i||this.itemId)},handleExpandChange:function(e,t,i){this.$emit("expandchange",e,t||this.item,i||this.itemId)},handleItemClick:function(e,t,i){this.$emit("itemclick",e,t||this.item,i||this.itemId)},handlePress:function(e,t,i){this.$emit("press",e,t||n({},this.item),i||this.itemId)},handleDrag:function(e,t,i){this.$emit("drag",e,t||this.item,i||this.itemId)},handleRelease:function(e,t,i){this.$emit("release",e,t||this.item,i||this.itemId)},handleFocusDomElNeeded:function(e){this.$emit("focusdomelneeded",e)},getIconClassName:function(){var e=this.fieldsSvc.expanded(this.item);return l.classNames("k-icon",{"k-i-expand":!e,"k-i-collapse":e,"k-i-loading":e&&!p.hasChildren(this.item,this.fieldsSvc.getChildrenField())})},getRootClassName:function(){return l.classNames("k-treeview-item",{"k-disabled":this.fieldsSvc.disabled(this.item)})},getContentClassName:function(){return l.classNames("k-treeview-leaf",{"k-focus":this.$props.focusedItemId===this.itemId,"k-selected":this.fieldsSvc.selected(this.item)})},assignDraggableMeta:function(e){e&&!e[f.DOM_KENDO_ITEM_ID_FIELD]&&(e[f.DOM_KENDO_ITEM_ID_FIELD]=this.$props.itemId,e[f.DOM_KENDO_TREEVIEW_GUID_FIELD]=this.$props.treeGuid)}}};t.TreeViewItemVue2=v;var g=v;t.TreeViewItem=g},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TreeViewDragAnalyzer=t.moveTreeViewItem=t.TreeViewDragClue=t.handleTreeViewCheckChange=t.processTreeViewItems=t.TreeView=t.TreeViewItem=void 0;var n=i(9);Object.defineProperty(t,"TreeView",{enumerable:!0,get:function(){return n.TreeView}});var r=i(14);Object.defineProperty(t,"processTreeViewItems",{enumerable:!0,get:function(){return r.processTreeViewItems}});var o=i(15);Object.defineProperty(t,"moveTreeViewItem",{enumerable:!0,get:function(){return o.moveTreeViewItem}});var a=i(16);Object.defineProperty(t,"handleTreeViewCheckChange",{enumerable:!0,get:function(){return a.handleTreeViewCheckChange}});var s=i(17);Object.defineProperty(t,"TreeViewDragClue",{enumerable:!0,get:function(){return s.TreeViewDragClue}});var d=i(18);Object.defineProperty(t,"TreeViewDragAnalyzer",{enumerable:!0,get:function(){return d.TreeViewDragAnalyzer}});var u=i(7);Object.defineProperty(t,"TreeViewItem",{enumerable:!0,get:function(){return u.TreeViewItem}})},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t},a=function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.TreeViewVue2=t.TreeView=void 0;var s=o(i(0)),d=s.h,u=s.version&&"3"===s.version[0],l=i(1),c=a(i(10)),p=i(3),h=i(7),f=i(2),m=a(i(12)),v=i(13),g=i(4),I=l.kendoThemeMaps.sizeMap,E={name:"KendoTreeView",props:{dataItems:Array,animate:{type:Boolean,default:!0},id:String,draggable:Boolean,tabIndex:Number,focusIdField:String,getFocusHierarchicalIndex:Function,expandField:{type:String,default:g.EXPAND_FIELD},selectField:{type:String,default:g.SELECT_FIELD},childrenField:{type:String,default:g.CHILDREN_FIELD},hasChildrenField:{type:String,default:g.HAS_CHILDREN_FIELD},expandIcons:Boolean,checkboxes:Boolean,textField:{type:String,default:g.TEXT_FIELD},disableField:{type:String,default:g.DISABLED_FIELD},checkField:{type:String,default:g.CHECK_FIELD},checkIndeterminateField:{type:String,default:g.CHECK_INDETERMINATE_FIELD},item:[Object,String,Function],ariaMultiSelectable:[String,Boolean],ariaLabel:String,ariaLabelledby:String,size:{type:String,default:"medium",validator:function(e){return[null,"small","medium","large"].includes(e)}}},data:function(){return{focusedItemId:void 0,focusedItemPublicId:void 0,tabbableItemId:f.ZERO_LEVEL_ZERO_NODE_ID}},computed:{treeGuid:function(){return this.id||this.innerId}},created:function(){l.validatePackage(v.packageMetadata),this.allowExplicitFocus=!1,this.innerId=l.guid()},updated:function(){this.allowExplicitFocus=!1,this.refocusDueToFocusIdField()},setup:u?function(){return{v3:!!u}}:void 0,render:function(e){var t,i=d||e;this.fieldsSvc=new m.default(this.$props);var n=this.$props.size;return i("div",{class:l.classNames("k-treeview",(t={},t["k-treeview-"+(I[n]||n)]=n,t)),onKeydown:this.onKeyDown,on:this.v3?void 0:{keydown:this.onKeyDown,focusin:this.onFocus,focusout:this.onBlur},onFocusin:this.onFocus,onFocusout:this.onBlur,role:"tree",attrs:this.v3?void 0:{role:"tree","aria-multiselectable":!!this.ariaMultiSelectable||void 0,"aria-label":this.$props["aria-label"],"aria-labelledby":this.$props["aria-labelledby"],tabindex:this.$props.tabIndex},"aria-multiselectable":!!this.ariaMultiSelectable||void 0,"aria-label":this.$props["aria-label"],"aria-labelledby":this.$props["aria-labelledby"],tabindex:this.$props.tabIndex,style:{userSelect:this.draggable?"none":void 0}},[i("ul",{class:"k-treeview-lines k-treeview-group",role:"group",attrs:this.v3?void 0:{role:"group"}},[this.dataItems.map((function(e,t){var r=l.templateRendering.call(this,this.item,l.getListeners.call(this));return i(h.TreeViewItem,{item:e,attrs:this.v3?void 0:{item:e,itemId:t.toString(),treeGuid:this.treeGuid,animate:this.$props.animate,focusedItemId:this.focusedItemId,tabbableItemId:this.tabbableItemId,fieldsService:this.fieldsSvc,itemUI:r,checkboxes:this.$props.checkboxes,ariaMultiSelectable:this.ariaMultiSelectable,draggable:this.$props.draggable,expandIcons:this.$props.expandIcons,size:n},itemId:t.toString(),treeGuid:this.treeGuid,animate:this.$props.animate,focusedItemId:this.focusedItemId,tabbableItemId:this.tabbableItemId,fieldsService:this.fieldsSvc,itemUI:r,checkboxes:this.$props.checkboxes,ariaMultiSelectable:this.ariaMultiSelectable,onItemclick:this.onItemClick,on:this.v3?void 0:{itemclick:this.onItemClick,focusdomelneeded:this.onFocusDomElNeeded,press:this.onPress,drag:this.onDrag,release:this.onRelease,expandchange:this.onExpandChange,checkchange:this.onCheckChange},onFocusdomelneeded:this.onFocusDomElNeeded,draggable:this.$props.draggable,onPress:this.onPress,onDrag:this.onDrag,onRelease:this.onRelease,expandIcons:this.$props.expandIcons,onExpandchange:this.onExpandChange,onCheckchange:this.onCheckChange,key:t,size:n})}),this)])])},methods:{onFocusDomElNeeded:function(e){this.allowExplicitFocus&&this.focusDomItem(e)},onCheckChange:function(e,t,i){this.setFocus(i),this.dispatchCheckChange(e,t,i)},onExpandChange:function(e,t,i){this.setFocus(i),this.dispatchExpandChange(e,t,i)},onPress:function(e,t,i){this.$emit("itemdragstart",{target:this,item:t,itemHierarchicalIndex:i})},onDrag:function(e,t,i){var n=e.pageX,r=e.pageY,o=e.clientX,a=e.clientY;this.$emit("itemdragover",{target:this,item:t,itemHierarchicalIndex:i,pageX:n,pageY:r,clientX:o,clientY:a})},onRelease:function(e,t,i){var n=e.pageX,r=e.pageY,o=e.clientX,a=e.clientY;this.$emit("itemdragend",{target:this,item:t,itemHierarchicalIndex:i,pageX:n,pageY:r,clientX:o,clientY:a})},onItemClick:function(e,t,i){this.setFocus(i),this.dispatchItemClick(e,t,i)},onFocus:function(){clearTimeout(this.blurRequest),void 0===this.focusedItemId&&this.dataItems.length&&this.setFocus(this.tabbableItemId)},onBlur:function(){var e=this;clearTimeout(this.blurRequest),this.blurRequest=window.setTimeout((function(){return e.setFocus(void 0)}),0)},onKeyDown:function(e){var t=this.getFocusedItem();if(t){var i=c.default(t,this.focusedItemId,this.dataItems,e.keyCode,this.fieldsSvc);i!==this.focusedItemId&&(e.preventDefault(),this.allowExplicitFocus=!0,this.setFocus(i)),this.dispatchEventsOnKeyDown(e,t)}},dispatchEventsOnKeyDown:function(e,t){var i=this,n=function(){return p.isEnabledAndAllParentsEnabled(i.focusedItemId,i.dataItems,i.fieldsSvc)};e.keyCode===l.Keys.left&&this.fieldsSvc.expanded(t)&&n()||e.keyCode===l.Keys.right&&!this.fieldsSvc.expanded(t)&&(this.fieldsSvc.hasChildren(t)||p.hasChildren(t,this.$props.childrenField))&&n()?this.dispatchExpandChange(e,t,this.focusedItemId):e.keyCode===l.Keys.enter&&n()?this.dispatchItemClick(e,t,this.focusedItemId):e.keyCode===l.Keys.space&&n()&&(e.preventDefault(),this.dispatchCheckChange(e,t,this.focusedItemId))},setFocus:function(e){if(e)if(this.fieldsSvc.focusIdField){var t=this.getItemById(e);this.focusedItemId=e,this.focusedItemPublicId=this.fieldsSvc.focusId(t)}else this.focusedItemId=e;else{var i=this.focusedItemId;this.focusedItemId=void 0,this.focusedItemPublicId=void 0,this.tabbableItemId=i}},getFocusedItem:function(){return this.focusedItemId?this.getItemById(this.focusedItemId):void 0},getItemById:function(e){return f.getItemById(e,this.dataItems,this.$props.childrenField||g.CHILDREN_FIELD)},dispatchCheckChange:function(e,t,i){this.$emit("checkchange",{item:t,itemHierarchicalIndex:i})},dispatchExpandChange:function(e,t,i){this.$emit("expandchange",{item:t,itemHierarchicalIndex:i})},dispatchItemClick:function(e,t,i){this.$emit("itemclick",{item:t,itemHierarchicalIndex:i})},refocusDueToFocusIdField:function(){if(this.fieldsSvc.focusIdField){var e=this.focusedItemPublicId;if(e){var t=this.$props.getFocusHierarchicalIndex?this.$props.getFocusHierarchicalIndex(e):p.resolveItemId(e,this.fieldsSvc.focusIdField,this.dataItems,this.$props.childrenField);t!==this.focusedItemId&&(this.allowExplicitFocus=!0,this.focusedItemId=t)}}},focusDomItem:function(e){e.focus()},guid:function(){return this.treeGuid}}};t.TreeViewVue2=E;var x=E;t.TreeView=x},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0});var a=i(1),s=o(i(2)),d=i(3);t.default=function(e,t,i,n,r){switch(n){case a.Keys.left:return s.isIdZeroLevel(t)||r.expanded(e)&&d.isEnabledAndAllParentsEnabled(t,i,r)?t:s.getDirectParentId(t);case a.Keys.right:return d.isItemExpandedAndWithChildren(e,r)?s.getFirstChildId(t):t;case a.Keys.up:return o=Number(s.getShortId(t)),u=s.getDirectParentId(t),o?function e(t,i,n){var r=s.getItemById(t,i,n.getChildrenField());return d.isItemExpandedAndWithChildren(r,n)?e(s.createId(r[n.getChildrenField()].length-1,t),i,n):t}(s.createId(o-1,u),i,r):s.isIdZeroLevel(t)?t:u;case a.Keys.down:return d.isItemExpandedAndWithChildren(e,r)?s.getFirstChildId(t):function e(t,i,n){var r=s.getDirectParentId(t),o=r?s.getItemById(r,i,n.getChildrenField()):void 0,a=o?o[n.getChildrenField()]:i,d=Number(s.getShortId(t));return d<a.length-1?s.createId(d+1,r):o?e(r,i,n):void 0}(t,i,r)||t;case a.Keys.home:return s.ZERO_LEVEL_ZERO_NODE_ID;case a.Keys.end:return function(){var e,t=(i.length-1).toString(),n=i[i.length-1];for(;d.isItemExpandedAndWithChildren(n,r);)e=n[r.getChildrenField()],t=s.createId(e.length-1,t),n=e[e.length-1];return t}();default:return t}var o,u}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){this.objects=[]}return e.prototype.init=function(e){for(var t,i=0;i<e.length;i++)i%5e4==0&&(t={},this.objects.push(t)),t[e[i]]=!0},e.prototype.hasId=function(e){return this.objects.some((function(t){return t[e]}))},e}();t.default=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(5),r=function(){function e(e){this.expandField=e.expandField,this.selectField=e.selectField,this.hasChildrenField=e.hasChildrenField,this.childrenField=e.childrenField,this.textField=e.textField,this.disableField=e.disableField,this.checkField=e.checkField,this.checkIndeterminateField=e.checkIndeterminateField,this.focusIdField=e.focusIdField}return e.prototype.expanded=function(e){return n.getNestedValue(this.expandField,e)},e.prototype.selected=function(e){return n.getNestedValue(this.selectField,e)},e.prototype.text=function(e){return n.getNestedValue(this.textField,e)},e.prototype.disabled=function(e){return n.getNestedValue(this.disableField,e)},e.prototype.hasChildren=function(e){return n.getNestedValue(this.hasChildrenField,e)},e.prototype.children=function(e){var t=n.getNestedValue(this.childrenField,e);return t||[]},e.prototype.checked=function(e){return n.getNestedValue(this.checkField,e)},e.prototype.checkIndeterminate=function(e){return n.getNestedValue(this.checkIndeterminateField,e)},e.prototype.focusId=function(e){return this.focusIdField&&n.getNestedValue(this.focusIdField,e)},e.prototype.getChildrenField=function(){return this.childrenField},e}();t.default=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata=void 0,t.packageMetadata={name:"@progress/kendo-vue-treeview",productName:"Kendo UI for Vue",productCodes:["KENDOUIVUE","KENDOUICOMPLETE"],publishDate:1658485762,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,i){"use strict";var n=function(){return(n=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.processTreeViewItems=void 0;var r=i(3),o=i(4),a=i(5);function s(e,t,i,n,o){if(i){var s=d(i,t),l=s.ids,c=s.field;return function(e,t,i,n,o){var a=e;return t.forEach((function(e){a=r.updateItem(a,e,(function(e){return u(i,e)}),n,o)})),a}(e,!a.isArray(i)&&i.idField?r.resolveItemsIds(l,i.idField,e,o):l,c,n,o)}return e}function d(e,t){var i,n;return a.isArray(e)?(i=e,n=t):(i=e.ids||[],n=e.operationField||t),{ids:i,field:n}}function u(e,t){for(var i=(e||"").split("."),r=t,o=0;o<i.length;o++){var a=i[o];if(o===i.length-1)r[a]=!0;else{if(void 0===r[a])return;r[a]=n({},r[a]),r=r[a]}}}function l(e,t,i,n,r){for(var o=!1,s=0;s<e.length;s++){var d=e[s];if(a.getNestedValue(n,d)){if(!o)for(var c=0;c<t.length;c++)u(r,t[c]);o=!0,d[i]&&l(d[i],[],i,n,r)}else d[i]&&l(d[i],o?[d]:t.concat([d]),i,n,r)}}t.processTreeViewItems=function(e,t){if(!e||!e.length)return[];var i=e,n=t.cloneField||"cloned",r=t.expandField||o.EXPAND_FIELD,u=t.selectField||o.SELECT_FIELD,c=t.checkField||o.CHECK_FIELD,p=t.childrenField||o.CHILDREN_FIELD;return i=s(i,r,t.expand,n,p),i=s(i,u,t.select,n,p),function(e,t,i){if(i&&!a.isArray(i)&&i.applyCheckIndeterminate)for(var n=d(i,o.CHECK_FIELD).field,r=i.checkIndeterminateField||o.CHECK_INDETERMINATE_FIELD,s=0;s<e.length;s++){var u=e[s],c=u[t];c&&l(c,a.getNestedValue(n,u)?[]:[u],t,n,r)}}(i=s(i,c,t.check,n,p),p,t.check),i}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.moveTreeViewItem=void 0;var n=i(3),r=i(2),o=i(4);t.moveTreeViewItem=function(e,t,i,a,s,d){var u=d||o.CHILDREN_FIELD;if(!function(){if(!(t&&t.length&&e&&a))return!1;if(s&&!s.length)return!1;var i=s&&s!==t?s:t;if(!r.getItemById(a,i,u))return!1;return!0}())return h();var l=r.getItemById(e,t,u);if(!l)return h();if(s&&s!==t)return{sourceData:n.removeItem(e,u,t),targetData:n.addItem(l,i,u,a,s)};if((a+"_").startsWith(e+"_"))return h();var c=n.removeItem(e,u,t),p=n.addItem(l,i,u,r.getDecrementedItemIdAfterRemoval(e,a),c);return s?{sourceData:p,targetData:p}:p;function h(){return s?{sourceData:t,targetData:s}:t}}},function(e,t,i){"use strict";var n=function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.handleTreeViewCheckChange=void 0;var r=i(3),o=i(2),a=i(5),s=i(4);t.handleTreeViewCheckChange=function(e,t,i,d,u){if(void 0===d&&(d={}),!i||!i.length)return[];var l,c=function(e){var t,i=void 0;a.isArray(e)?t=e:(t=e.ids||[],i=e.idField);return{ids:t,idField:i}}(t),p=c.ids,h=c.idField,f=h?a.getNestedValue(h,e.item):e.itemHierarchicalIndex,m=p.indexOf(f),v=-1===m,g=u||s.CHILDREN_FIELD;return d.singleMode?l=v?[f]:[]:(l=p.slice(),v?l.push(f):l.splice(m,1),d.checkChildren&&function(e,t,i,n,o,a){r.getAllDirectIndirectChildrenIds(e,t,o,n).forEach((function(e){i&&-1===a.indexOf(e)?a.push(e):!i&&a.indexOf(e)>-1&&a.splice(a.indexOf(e),1)}))}(e.item,e.itemHierarchicalIndex,v,h,g,l),d.checkParents&&function(e,t,i,s,d,u){var l=function(){var d,l,c;return n(this,(function(n){switch(n.label){case 0:if(!i)return[3,5];d=r.getAllParents(e,s,u),l=d.length-1,n.label=1;case 1:return l>-1?[4,{id:a.getNestedValue(i,d[l]),item:t?d[l]:void 0}]:[3,4];case 2:n.sent(),n.label=3;case 3:return l--,[3,1];case 4:return[3,8];case 5:c=o.getDirectParentId(e),n.label=6;case 6:return c?[4,{id:c,item:t?o.getItemById(c,u,s):void 0}]:[3,8];case 7:return n.sent(),c=o.getDirectParentId(c),[3,6];case 8:return[2]}}))}(),c=l.next();t?function(){for(;!c.done;){var e=c.value,t=e.id,n=e.item;if(-1!==d.indexOf(t)||!r.areAllDirectChildrenChecked(n,t,i,s,d))break;d.push(t),c=l.next()}}():function(){for(;!c.done;){var e=c.value.id,t=d.indexOf(e);if(!(t>-1))break;d.splice(t,1),c=l.next()}}()}(e.itemHierarchicalIndex,v,h,g,l,i)),a.isArray(t)?l:Object.assign({},t,{ids:l})}},function(e,t,i){"use strict";var n=function(){return(n=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},r=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},o=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.TreeViewDragClueVue2=t.TreeViewDragClue=void 0;var s=a(i(0)),d=s.h,u=s.version&&"3"===s.version[0],l=i(1),c={name:"KendoTreeViewDragClue",props:{},data:function(){return{visible:!1,top:0,left:0,text:"",operationClassName:"k-i-cancel"}},setup:u?function(){return{v3:!!u}}:void 0,render:function(e){var t=d||e,i={top:this.top+"px",left:this.left+"px"};return this.visible&&t("div",{class:"k-header k-drag-clue",style:n(n({},{display:"block",position:"absolute",zIndex:2e4,padding:"4px 6px"}),i)},[t("span",{class:l.classNames("k-icon k-drag-status k-icon-with-modifier",this.operationClassName)},[t("span",{class:"k-icon k-icon-modifier"})]),this.text])},methods:{show:function(e,t,i,n){this.visible=!0,this.top=e,this.left=t,this.text=i,this.operationClassName=n},hide:function(){this.visible=!1}}};t.TreeViewDragClueVue2=c;var p=c;t.TreeViewDragClue=p},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TreeViewDragAnalyzer=void 0;var n=i(4),r=function(){function e(e){this.event=e,this.initialized=!1,this.itemId=e.itemHierarchicalIndex,this.treeViewGuid=e.target.guid()}return e.prototype.init=function(){return this.initialized||(this.setDestimationMeta(document.elementFromPoint(this.event.clientX,this.event.clientY)),this.initialized=!0),this},Object.defineProperty(e.prototype,"isDropAllowed",{get:function(){return!!(this.initialized&&this.destItemId&&this.destTreeViewGuid)&&!(this.destTreeViewGuid+"_"+this.destItemId+"_").startsWith(this.treeViewGuid+"_"+this.itemId+"_")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"destinationMeta",{get:function(){return{itemHierarchicalIndex:this.destItemId,treeViewGuid:this.destTreeViewGuid}},enumerable:!1,configurable:!0}),e.prototype.getDropOperation=function(){if(this.initialized&&this.isDropAllowed){var e=this.destDomNodeWithMeta.getBoundingClientRect(),t=e.top;return t+e.height-this.event.clientY<6?"after":this.event.clientY-t<6?"before":"child"}},e.prototype.setDestimationMeta=function(e){for(var t=e;t&&!t[n.DOM_KENDO_ITEM_ID_FIELD];)t=t.parentNode;t&&t[n.DOM_KENDO_ITEM_ID_FIELD]&&(this.destDomNodeWithMeta=t,this.destItemId=t[n.DOM_KENDO_ITEM_ID_FIELD],this.destTreeViewGuid=t[n.DOM_KENDO_TREEVIEW_GUID_FIELD])},e}();t.TreeViewDragAnalyzer=r},function(e,t,i){"use strict";i.r(t),i.d(t,"Animation",(function(){return _})),i.d(t,"AnimationVue2",(function(){return k})),i.d(t,"AnimationChild",(function(){return g})),i.d(t,"AnimationChildVue2",(function(){return v})),i.d(t,"Fade",(function(){return w})),i.d(t,"FadeVue2",(function(){return $})),i.d(t,"Expand",(function(){return L})),i.d(t,"ExpandVue2",(function(){return j})),i.d(t,"Push",(function(){return B})),i.d(t,"PushVue2",(function(){return z})),i.d(t,"Slide",(function(){return Y})),i.d(t,"SlideVue2",(function(){return U})),i.d(t,"Zoom",(function(){return ee})),i.d(t,"ZoomVue2",(function(){return Q})),i.d(t,"Reveal",(function(){return se})),i.d(t,"RevealVue2",(function(){return ae})),i.d(t,"animate",(function(){return de})),i.d(t,"cancelAnimation",(function(){return ue}));var n=i(0),r=function(e){if(!e)return 0;var t=e.ownerDocument.defaultView.getComputedStyle(e),i=parseFloat(t.marginTop),n=parseFloat(t.marginBottom);return e.offsetHeight+i+n},o=function(e){if(!e)return 0;var t=e.ownerDocument.defaultView.getComputedStyle(e),i=parseFloat(t.marginLeft),n=parseFloat(t.marginRight);return e.offsetWidth+i+n},a={"animation-container":"k-animation-container","animation-container-relative":"k-animation-container-relative","animation-container-fixed":"k-animation-container-fixed","push-right-enter":"k-push-right-enter","push-right-appear":"k-push-right-appear","push-right-enter-active":"k-push-right-enter-active","push-right-appear-active":"k-push-right-appear-active","push-right-exit":"k-push-right-exit","push-right-exit-active":"k-push-right-exit-active","push-left-enter":"k-push-left-enter","push-left-appear":"k-push-left-appear","push-left-enter-active":"k-push-left-enter-active","push-left-appear-active":"k-push-left-appear-active","push-left-exit":"k-push-left-exit","push-left-exit-active":"k-push-left-exit-active","push-down-enter":"k-push-down-enter","push-down-appear":"k-push-down-appear","push-down-enter-active":"k-push-down-enter-active","push-down-appear-active":"k-push-down-appear-active","push-down-exit":"k-push-down-exit","push-down-exit-active":"k-push-down-exit-active","push-up-enter":"k-push-up-enter","push-up-appear":"k-push-up-appear","push-up-enter-active":"k-push-up-enter-active","push-up-appear-active":"k-push-up-appear-active","push-up-exit":"k-push-up-exit","push-up-exit-active":"k-push-up-exit-active",expand:"k-expand","expand-vertical-enter":"k-expand-vertical-enter","expand-vertical-appear":"k-expand-vertical-appear","expand-vertical-enter-active":"k-expand-vertical-enter-active","expand-vertical-appear-active":"k-expand-vertical-appear-active","expand-vertical-exit":"k-expand-vertical-exit","expand-vertical-exit-active":"k-expand-vertical-exit-active","expand-horizontal-enter":"k-expand-horizontal-enter","expand-horizontal-appear":"k-expand-horizontal-appear","expand-horizontal-enter-active":"k-expand-horizontal-enter-active","expand-horizontal-appear-active":"k-expand-horizontal-appear-active","expand-horizontal-exit":"k-expand-horizontal-exit","expand-horizontal-exit-active":"k-expand-horizontal-exit-active","child-animation-container":"k-child-animation-container","fade-enter":"k-fade-enter","fade-appear":"k-fade-appear","fade-enter-active":"k-fade-enter-active","fade-appear-active":"k-fade-appear-active","fade-exit":"k-fade-exit","fade-exit-active":"k-fade-exit-active","zoom-in-enter":"k-zoom-in-enter","zoom-in-appear":"k-zoom-in-appear","zoom-in-enter-active":"k-zoom-in-enter-active","zoom-in-appear-active":"k-zoom-in-appear-active","zoom-in-exit":"k-zoom-in-exit","zoom-in-exit-active":"k-zoom-in-exit-active","zoom-out-enter":"k-zoom-out-enter","zoom-out-appear":"k-zoom-out-appear","zoom-out-enter-active":"k-zoom-out-enter-active","zoom-out-appear-active":"k-zoom-out-appear-active","zoom-out-exit":"k-zoom-out-exit","zoom-out-exit-active":"k-zoom-out-exit-active","slide-in-appear":"k-slide-in-appear",centered:"k-centered","slide-in-appear-active":"k-slide-in-appear-active","slide-down-enter":"k-slide-down-enter","slide-down-appear":"k-slide-down-appear","slide-down-enter-active":"k-slide-down-enter-active","slide-down-appear-active":"k-slide-down-appear-active","slide-down-exit":"k-slide-down-exit","slide-down-exit-active":"k-slide-down-exit-active","slide-up-enter":"k-slide-up-enter","slide-up-appear":"k-slide-up-appear","slide-up-enter-active":"k-slide-up-enter-active","slide-up-appear-active":"k-slide-up-appear-active","slide-up-exit":"k-slide-up-exit","slide-up-exit-active":"k-slide-up-exit-active","slide-right-enter":"k-slide-right-enter","slide-right-appear":"k-slide-right-appear","slide-right-enter-active":"k-slide-right-enter-active","slide-right-appear-active":"k-slide-right-appear-active","slide-right-exit":"k-slide-right-exit","slide-right-exit-active":"k-slide-right-exit-active","slide-left-enter":"k-slide-left-enter","slide-left-appear":"k-slide-left-appear","slide-left-enter-active":"k-slide-left-enter-active","slide-left-appear-active":"k-slide-left-appear-active","slide-left-exit":"k-slide-left-exit","slide-left-exit-active":"k-slide-left-exit-active","reveal-vertical-enter":"k-reveal-vertical-enter","reveal-vertical-appear":"k-reveal-vertical-appear","reveal-vertical-enter-active":"k-reveal-vertical-enter-active","reveal-vertical-appear-active":"k-reveal-vertical-appear-active","reveal-vertical-exit":"k-reveal-vertical-exit","reveal-vertical-exit-active":"k-reveal-vertical-exit-active","reveal-horizontal-enter":"k-reveal-horizontal-enter","reveal-horizontal-appear":"k-reveal-horizontal-appear","reveal-horizontal-enter-active":"k-reveal-horizontal-enter-active","reveal-horizontal-appear-active":"k-reveal-horizontal-appear-active","reveal-horizontal-exit":"k-reveal-horizontal-exit","reveal-horizontal-exit-active":"k-reveal-horizontal-exit-active"},s=i(1),d=function(){return(d=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},u=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(i[n[r]]=e[n[r]])}return i},l=n,c=l.h,p=l.version&&"3"===l.version[0],h=l.ref,f=l.Transition,m=a,v={props:{in:Boolean,transitionName:{type:String,required:!0},transitionStyle:Object,componentChildClassName:[Array],className:String,appear:{type:Boolean,default:!0},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!0},transitionEnterDuration:Number,transitionExitDuration:Number,mountOnEnter:Boolean,unmountOnExit:Boolean,animationEnteringStyle:Object,animationEnteredStyle:Object,animationExitingStyle:Object,animationExitedStyle:Object},created:function(){this.animationStep=""},setup:p?function(){return{v3:!!p,elementRef:h(null)}}:void 0,mounted:function(){this._element=this.v3?this.elementRef||null:this.$refs.element||null},computed:{element:{get:function(){return this._element}}},methods:{onBeforeEnter:function(e){this.$emit("beforeenter",{animatedElement:e,target:this})},onEnter:function(e){this.animationStep="entering",this.$emit("entering",{animatedElement:e,target:this})},onAfterEnter:function(e){this.animationStep="entered",this.$emit("entered",{animatedElement:e,target:this})},onBeforeLeave:function(e){this.$emit("exit",{animatedElement:e,target:this})},onLeave:function(e){this.animationStep="exiting",this.$emit("exiting",{animatedElement:e,target:this})},onAfterLeave:function(e){this.animationStep="exited",this.$emit("exited",{animatedElement:e,target:this})}},render:function(e){var t=this,i=c||e,n=this.$props,r=n.appear,o=n.enter,a=n.exit,l=n.transitionName,p=n.transitionEnterDuration,h=n.transitionExitDuration,v=(n.className,n.componentChildClassName),g=(n.mountOnEnter,n.unmountOnExit,n.animationEnteringStyle),I=n.animationEnteredStyle,E=n.animationExitingStyle,x=n.animationExitedStyle,b=(u(n,["appear","enter","exit","transitionName","transitionEnterDuration","transitionExitDuration","className","componentChildClassName","mountOnEnter","unmountOnExit","animationEnteringStyle","animationEnteredStyle","animationExitingStyle","animationExitedStyle"]),Object(s.getDefaultSlots)(this)),y=this.v3?r:!!b,D=this.v3?f:"transition",k=[v,m["child-animation-container"]],_=o?p:0,O=a?h:0,C=[d({transitionDelay:"0ms",transitionDuration:y?_+"ms":O+"ms"},this.$props.transitionStyle),{entering:d({transitionDuration:_+"ms"},g),entered:d({},I),exiting:d({transitionDuration:O+"ms"},E),exited:d({},x)}[this.animationStep]],S={enter:_,leave:O},$=[y?i("div",{style:C,class:k,ref:this.v3?function(e){t.elementRef=e}:"element"},[b]):null];return i(D,{duration:S,attrs:this.v3?null:{duration:S,name:l,appear:r,appearClass:m[l+"-appear"]||l+"-appear",appearToClass:m[l+"-appear-active"]||l+"-appear-active",enterClass:m[l+"-enter"]||l+"-enter",enterToClass:m[l+"-enter-active"]||l+"-enter-active",leaveClass:m[l+"-exit"]||l+"-exit",leaveToClass:m[l+"-exit-active"]||l+"-exit-active"},name:l,appear:r,appearFromClass:m[l+"-appear"]||l+"-appear",enterFromClass:m[l+"-enter"]||l+"-enter",leaveFromClass:m[l+"-exit"]||l+"-exit",appearToClass:m[l+"-appear-active"]||l+"-appear-active",enterToClass:m[l+"-enter-active"]||l+"-enter-active",leaveToClass:m[l+"-exit-active"]||l+"-exit-active",onBeforeEnter:this.onBeforeEnter,on:this.v3?null:{beforeEnter:this.onBeforeEnter,enter:this.onEnter,afterEnter:this.onAfterEnter,beforeLeave:this.onBeforeLeave,leave:this.onLeave,afterLeave:this.onAfterLeave},onEnter:this.onEnter,onAfterEnter:this.onAfterEnter,onBeforeLeave:this.onBeforeLeave,onLeave:this.onLeave,onAfterLeave:this.onAfterLeave},this.v3?function(){return $}:$)}},g=v,I={name:"@progress/kendo-vue-animation",productName:"Kendo UI for Vue",productCodes:["KENDOUIVUE","KENDOUICOMPLETE"],publishDate:1658485209,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"},E=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(i[n[r]]=e[n[r]])}return i},x=n,b=x.h,y=x.version&&"3"===x.version[0],D=a,k={props:{childFactory:Object,className:String,tag:String,id:String,animationEnteringStyle:Object,animationExitingStyle:Object,componentChildClassName:[Array],transitionName:{type:String,required:!0},appear:{type:Boolean,default:!0},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!0},transitionEnterDuration:{type:Number},transitionExitDuration:{type:Number}},methods:{onEntering:function(e){this.$emit("entering",e)},onEnter:function(e){this.$emit("enter",e)},onEntered:function(e){this.$emit("entered",e)},onExit:function(e){this.$emit("exit",e)},onExiting:function(e){this.$emit("exiting",e)},onExited:function(e){this.$emit("exited",e)}},setup:y?function(){return{v3:!!y}}:void 0,created:function(){Object(s.validatePackage)(I)},render:function(e){var t=b||e,i=Object(s.getDefaultSlots)(this),n=this.$props,r=(n.id,n.tag,n.role),o=n.className,a=(n.childFactory,n.stackChildren,n.componentChildStyle,n.componentChildClassName,E(n,["id","tag","role","className","childFactory","stackChildren","componentChildStyle","componentChildClassName"]),[D["animation-container"],D["animation-container-relative"],o]);return t("div",{id:this.$props.id,attrs:this.v3?void 0:{id:this.$props.id,role:r},class:a,role:r},[t(g,{key:"some",appear:this.$props.appear,attrs:this.v3?void 0:{appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionName:this.$props.transitionName,componentChildClassName:this.$props.componentChildClassName,animationEnteringStyle:this.$props.animationEnteringStyle,animationExitingStyle:this.$props.animationExitingStyle,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},enter:this.$props.enter,exit:this.$props.exit,transitionName:this.$props.transitionName,componentChildClassName:this.$props.componentChildClassName,onBeforeenter:this.onEnter,on:this.v3?void 0:{beforeenter:this.onEnter,entering:this.onEntering,entered:this.onEntered,exit:this.onExit,exiting:this.onExiting,exited:this.onExited},onEntering:this.onEntering,onEntered:this.onEntered,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited,animationEnteringStyle:this.$props.animationEnteringStyle,animationExitingStyle:this.$props.animationExitingStyle,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},this.v3?function(){return[i]}:[i])])}},_=k,O=n,C=O.h,S=O.version&&"3"===O.version[0],$={props:{appear:{type:Boolean,default:!1},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!1},transitionEnterDuration:{type:Number,default:500},transitionExitDuration:{type:Number,default:500},childFactory:Object,className:String,tag:String,id:String},setup:S?function(){return{v3:!!S}}:void 0,render:function(e){var t=C||e,i=Object(s.getDefaultSlots)(this);return t(_,{transitionName:"fade",attrs:this.v3?void 0:{transitionName:"fade",appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},this.v3?function(){return[i]}:[i])}},w=$,F=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(i[n[r]]=e[n[r]])}return i},N=n,P=N.h,T=N.version&&"3"===N.version[0],j={props:{appear:{type:Boolean,default:!1},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!0},transitionEnterDuration:{type:Number,default:300},transitionExitDuration:{type:Number,default:300},childFactory:Object,className:String,direction:{type:String,default:"vertical"},tag:String,id:String},setup:T?function(){return{v3:!!T}}:void 0,render:function(e){var t=P||e,i=Object(s.getDefaultSlots)(this),n=this.$props,r=(n.direction,F(n,["direction"]),"expand-"+this.$props.direction);return t(_,{transitionName:r,attrs:this.v3?void 0:{transitionName:r,appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},this.v3?function(){return[i]}:[i])}},L=j,A=n,V=A.h,R=A.version&&"3"===A.version[0],M={position:"absolute",top:"0",left:"0"},z={props:{appear:{type:Boolean,default:!1},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!0},transitionEnterDuration:{type:Number,default:300},transitionExitDuration:{type:Number,default:300},childFactory:Object,className:String,direction:{type:String,default:"right"},tag:String,id:String},setup:R?function(){return{v3:!!R}}:void 0,render:function(e){var t=V||e,i=Object(s.getDefaultSlots)(this),n="push-"+this.$props.direction;return t(_,{transitionName:n,attrs:this.v3?void 0:{transitionName:n,appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration,animationExitingStyle:this.$props.stackChildren?M:void 0},appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration,animationExitingStyle:this.$props.stackChildren?M:void 0},this.v3?function(){return[i]}:[i])}},B=z,H=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(i[n[r]]=e[n[r]])}return i},K=n,W=K.h,G=K.version&&"3"===K.version[0],U={props:{appear:{type:Boolean,default:!1},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!0},transitionEnterDuration:{type:Number,default:300},transitionExitDuration:{type:Number,default:300},componentChildClassName:[Array],childFactory:Object,className:String,direction:{type:String,default:"down"},tag:String,id:String,role:String},methods:{onEntering:function(e){this.$emit("entering",e)},onEnter:function(e){this.$emit("enter",e)},onEntered:function(e){this.$emit("entered",e)},onExit:function(e){this.$emit("exit",e)},onExiting:function(e){this.$emit("exiting",e)},onExited:function(e){this.$emit("exited",e)}},setup:G?function(){return{v3:!!G}}:void 0,render:function(e){var t=W||e,i=Object(s.getDefaultSlots)(this),n=this.$props,r=(n.direction,n.id),o=(H(n,["direction","id"]),"slide-"+this.$props.direction);return t(_,{id:r,attrs:this.v3?void 0:{id:r,transitionName:o,componentChildClassName:this.$props.componentChildClassName,appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},transitionName:o,componentChildClassName:this.$props.componentChildClassName,appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,onEnter:this.onEnter,on:this.v3?void 0:{enter:this.onEnter,entering:this.onEntering,entered:this.onEntered,exit:this.onExit,exiting:this.onExiting,exited:this.onExited},onEntering:this.onEntering,onEntered:this.onEntered,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},this.v3?function(){return[i]}:[i])}},Y=U,X=n,Z=X.h,q=X.version&&"3"===X.version[0],J={position:"absolute",top:"0",left:"0"},Q={props:{appear:{type:Boolean,default:!1},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!0},stackChildren:{type:Boolean,default:!1},transitionEnterDuration:{type:Number,default:300},transitionExitDuration:{type:Number,default:300},childFactory:Object,className:String,direction:{type:String,default:"out"},tag:String,id:String},setup:q?function(){return{v3:!!q}}:void 0,render:function(e){var t=Z||e,i=Object(s.getDefaultSlots)(this),n="zoom-"+this.$props.direction;return t(_,{transitionName:n,attrs:this.v3?void 0:{transitionName:n,appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration,animationExitingStyle:this.$props.stackChildren?J:void 0},appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration,animationExitingStyle:this.$props.stackChildren?J:void 0},this.v3?function(){return[i]}:[i])}},ee=Q,te=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(i[n[r]]=e[n[r]])}return i},ie=n,ne=ie.h,re=ie.version&&"3"===ie.version[0],oe=function(){},ae={props:{appear:{type:Boolean,default:!1},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!0},transitionEnterDuration:{type:Number,default:300},transitionExitDuration:{type:Number,default:300},childFactory:Object,className:String,direction:{type:String,default:"vertical"},tag:String,id:String},data:function(){return{maxHeight:"",maxWidth:""}},methods:{componentWillEnter:function(e){var t=this.$props.onEnter;this.updateContainerDimensions(e.animatedElement,(function(){t&&t.call(void 0,e)}))},componentIsEntering:function(e){var t=this.$props.onEntering;this.updateContainerDimensions(e.animatedElement,(function(){t&&t.call(void 0,e)}))},componentWillExit:function(e){var t=this.$props.onExit;this.updateContainerDimensions(e.animatedElement,(function(){t&&t.call(void 0,e)}))},updateContainerDimensions:function(e,t){void 0===t&&(t=oe);var i=e?e.firstElementChild:null;if(i){var n=r(i),a=o(i);this.$data.maxHeight=n,this.$data.maxWidth=a,t()}}},computed:{animationEnteringStyle:{get:function(){var e;return{maxHeight:(e="vertical"===this.$props.direction?{maxHeight:this.maxHeight?this.maxHeight+"px":null}:{maxWidth:this.maxWidth?this.maxWidth+"px":null}).maxHeight,maxWidth:e.maxWidth}}}},setup:re?function(){return{v3:!!re}}:void 0,render:function(e){var t=ne||e,i=Object(s.getDefaultSlots)(this),n=this.$props,r=(n.direction,n.childFactory,te(n,["direction","childFactory"]),"reveal-"+this.$props.direction);return t(_,{appear:this.$props.appear,attrs:this.v3?void 0:{appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration,animationEnteringStyle:this.animationEnteringStyle,transitionName:r},enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration,onEnter:this.componentWillEnter,on:this.v3?void 0:{enter:this.componentWillEnter,entering:this.componentIsEntering,exit:this.componentWillExit},onEntering:this.componentIsEntering,onExit:this.componentWillExit,animationEnteringStyle:this.animationEnteringStyle,transitionName:r},this.v3?function(){return[i]}:[i])}},se=ae,de=function(e,t,i){void 0===t&&(t=0),void 0===i&&(i=0);var n,r=e.duration,o=t&&1-t;e.onStart&&e.onStart();return i=window.requestAnimationFrame((function a(s){n||(n=s);var d=(s-n+1)/r+o;d<=1?(e.onUpdate&&e.onUpdate(d),i=window.requestAnimationFrame(a),t=d):(e.onEnd&&e.onEnd(1),t=0)}))},ue=function(e){e&&window.cancelAnimationFrame(e)}}])}));
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.KendoVueTreeview=t(require("vue"),require("@progress/kendo-licensing")):e.KendoVueTreeview=t(e.Vue,e.KendoLicensing)}(window,(function(e,t){return function(e){var t={};function i(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,function(t){return e[t]}.bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=8)}([function(t,i){t.exports=e},function(e,t,i){"use strict";i.r(t),i.d(t,"getRef",(function(){return d})),i.d(t,"setRef",(function(){return u})),i.d(t,"classNames",(function(){return r})),i.d(t,"guid",(function(){return o})),i.d(t,"Keys",(function(){return a})),i.d(t,"noop",(function(){return V})),i.d(t,"isObject",(function(){return n})),i.d(t,"getListeners",(function(){return W})),i.d(t,"hasListener",(function(){return K})),i.d(t,"canUseDOM",(function(){return s})),i.d(t,"firstFocusableChild",(function(){return c})),i.d(t,"focusFirstFocusableChild",(function(){return h})),i.d(t,"lastFocusableChild",(function(){return p})),i.d(t,"focusLastFocusableChild",(function(){return f})),i.d(t,"focusContainer",(function(){return m})),i.d(t,"clone",(function(){return T})),i.d(t,"Draggable",(function(){return N})),i.d(t,"cloneArray",(function(){return L})),i.d(t,"cloneValue",(function(){return A})),i.d(t,"cloneObject",(function(){return j})),i.d(t,"cloneDate",(function(){return P})),i.d(t,"getTemplate",(function(){return q})),i.d(t,"templateRendering",(function(){return Z})),i.d(t,"templateDefinition",(function(){return X})),i.d(t,"getTabIndex",(function(){return Q})),i.d(t,"getDefaultSlots",(function(){return S})),i.d(t,"isRtl",(function(){return ee})),i.d(t,"getDir",(function(){return te})),i.d(t,"getter",(function(){return z})),i.d(t,"setter",(function(){return H})),i.d(t,"validatePackage",(function(){return ne})),i.d(t,"kendoThemeMaps",(function(){return re}));var n=function(e){return"object"==typeof e},r=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.filter((function(e){return!0!==e&&!!e})).map((function(e){return Array.isArray(e)?r.apply(void 0,e):n(e)?Object.keys(e).map((function(t,i){return e[i]||e[t]&&t||null})).filter((function(e){return null!==e})).join(" "):e})).filter((function(e){return!!e})).join(" ")},o=function(){var e,t,i="";for(e=0;e<32;e++)t=16*Math.random()|0,8!==e&&12!==e&&16!==e&&20!==e||(i+="-"),i+=(12===e?4:16===e?3&t|8:t).toString(16);return i},a={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 d(e,t,i){return e.v3?e[t+"Ref"]:e.$refs[""+(i||t)]}function u(e,t,i){return e.v3?function(i){e[t+"Ref"]=i}:i||t}var l='input, [tabindex]:not([tabindex="-1"])',c=function(e){if(e){var t=e.querySelectorAll(l);if(t.length&&t[0].focus)return t[0]}},p=function(e){if(e){var t=e.querySelectorAll(l);if(t.length&&t[t.length-1].focus)return t[t.length-1]}},h=function(e){if(e){var t=e.querySelectorAll(l);t.length&&t[0].focus&&t[0].focus()}},f=function(e){if(e){var t=e.querySelectorAll(l);t.length&&t[t.length-1].focus&&t[t.length-1].focus()}},m=function(e,t){var i=!0;if(e.keyCode!==a.enter&&e.target===t)return!1;if(e.keyCode===a.enter&&e.target===t)i=!0,setTimeout((function(){h(t)}),1);else if(e.keyCode===a.esc)i=!1,t.focus();else if(e.keyCode===a.tab){var n=c(t),r=p(t);r&&!e.shiftKey&&e.target===r&&(e.preventDefault(),n.focus()),n&&e.shiftKey&&e.target===n&&(e.preventDefault(),r.focus())}return i},v=i(0),g=function(e,t){return function(i){return t(e(i))}},I=function(e,t,i){return e.addEventListener&&e.addEventListener(t,i)},E=function(e,t,i){return e&&e.removeEventListener&&e.removeEventListener(t,i)},x=function(){},b=function(e){return e.preventDefault()},y=/touch/;function D(e){return e.type.match(y)?{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 k=function(e){var t=this,i=e.press;void 0===i&&(i=x);var n=e.drag;void 0===n&&(n=x);var r=e.release;void 0===r&&(r=x);var o=e.mouseOnly;void 0===o&&(o=!1),this._pressHandler=g(D,i),this._dragHandler=g(D,n),this._releaseHandler=g(D,r),this._ignoreMouse=!1,this._mouseOnly=o,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 i=e.which;i&&i>1||t._ignoreMouse||(I(t.document,"mousemove",t._mousemove),I(t.document,"mouseup",t._mouseup),t._pressHandler(e))},this._mousemove=function(e){t._dragHandler(e)},this._mouseup=function(e){E(t.document,"mousemove",t._mousemove),E(t.document,"mouseup",t._mouseup),t._releaseHandler(e)},this._pointerdown=function(e){e.isPrimary&&0===e.button&&(I(t.document,"pointermove",t._pointermove),I(t.document,"pointerup",t._pointerup),I(t.document,"pointercancel",t._pointerup),I(t.document,"contextmenu",b),t._pressHandler(e))},this._pointermove=function(e){e.isPrimary&&t._dragHandler(e)},this._pointerup=function(e){e.isPrimary&&(E(t.document,"pointermove",t._pointermove),E(t.document,"pointerup",t._pointerup),E(t.document,"pointercancel",t._pointerup),E(t.document,"contextmenu",b),t._releaseHandler(e))}},C={document:{configurable:!0}};k.supportPointerEvent=function(){return"undefined"!=typeof window&&window.PointerEvent},C.document.get=function(){return this._element?this._element.ownerDocument:document},k.prototype.bindTo=function(e){e!==this._element&&(this._element&&this._unbindFromCurrent(),this._element=e,this._bindToCurrent())},k.prototype._bindToCurrent=function(){var e=this._element;this._usePointers()?I(e,"pointerdown",this._pointerdown):(I(e,"mousedown",this._mousedown),this._mouseOnly||(I(e,"touchstart",this._touchstart),I(e,"touchmove",this._touchmove),I(e,"touchend",this._touchend)))},k.prototype._unbindFromCurrent=function(){var e=this._element;if(this._usePointers())return E(e,"pointerdown",this._pointerdown),E(this.document,"pointermove",this._pointermove),E(this.document,"pointerup",this._pointerup),E(this.document,"contextmenu",b),void E(this.document,"pointercancel",this._pointerup);E(e,"mousedown",this._mousedown),this._mouseOnly||(E(e,"touchstart",this._touchstart),E(e,"touchmove",this._touchmove),E(e,"touchend",this._touchend))},k.prototype._usePointers=function(){return!this._mouseOnly&&k.supportPointerEvent()},k.prototype.update=function(e){var t=e.press;void 0===t&&(t=x);var i=e.drag;void 0===i&&(i=x);var n=e.release;void 0===n&&(n=x);var r=e.mouseOnly;void 0===r&&(r=!1),this._pressHandler=g(D,t),this._dragHandler=g(D,i),this._releaseHandler=g(D,n),this._mouseOnly=r},k.prototype.destroy=function(){this._unbindFromCurrent(),this._element=null},Object.defineProperties(k.prototype,C),k.default=k;var _,O=k;function S(e){var t=e.$slots.default;return e.v3&&t&&"function"==typeof t?t():t}function $(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var w=v,F=(w.h,w.version&&"3"===w.version[0]),N=($(_={emits:{press:null,drag:null,release:null},inheritAttrs:!1,created:function(){this.element=null,this.draggable=new O({press:this.press,drag:this.drag,release:this.release})},setup:F?function(){return{v3:!!F}}:void 0,mounted:function(){this.$el&&(this.element=3===this.$el.nodeType?this.$el.nextElementSibling:this.$el,this.draggable.bindTo(this.element))},destroyed:F?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",F?function(){return{v3:!!F}}:void 0),$(_,"render",(function(e){return S(this)})),_),P=function(e){return e?new Date(e.getTime()):null};function T(e){var t={};return j(e,t),t}function j(e,t){for(var i in e)if(e.hasOwnProperty(i)){var n=e[i];t[i]=A(n,t[i])}}function A(e,t){if(Array.isArray(e))return L(e);if(e instanceof Date)return P(e);if(e&&n(e)){var i=t||{};return j(e,i),i}return e}function L(e){return e.map((function(e){return A(e,void 0)}))}var V=function(){},R=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g,M={};function z(e){if(M[e])return M[e];var t=[];return e.replace(R,(function(e,i,n,r){t.push(void 0!==i?i:n||r)})),M[e]=function(e){for(var i=e,n=0;n<t.length&&i;n++)i=i[t[n]];return i},M[e]}M.undefined=function(){};var B={};function H(e){if(B[e])return B[e];var t=[];return e.replace(R,(function(e,i,n,r){t.push(void 0!==i?i:n||r)})),B[e]=function(e,i){for(var n=e,r=t.length-1,o=0;o<r&&n;o++)n=n[t[o]]=n[t[o]]||{};n[t[r]]=i},B[e]}function K(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 W(){if(this.v3){var e={};for(var t in this.$attrs)t.startsWith("on")&&(e[t]=this.$attrs[t]);return e}return this.$listeners}B.undefined=function(e){return e};var G=function(){return(G=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},U=v,Y=U.version&&"3"===U.version[0],X={type:[String,Function,Object,Boolean],default:function(){}};function Z(e,t){if(e||!1===e){var i=Y?this.$slots[e]||(e.toLowerCase?this.$slots[e.toLowerCase()]:null):this.$scopedSlots[e]||(e.toLowerCase?this.$scopedSlots[e.toLowerCase()]:null);return"string"==typeof e&&i?{kt:!0,type:"slot",render:i,listeners:t}:"string"==typeof e||n(e)||"function"==typeof e&&e.component?{kt:!0,type:"component",render:e,listeners:t}:{kt:!0,type:"renderFunction",render:e,listeners:t}}}function q(e){var t,i,n,r=e.h,o=e.template,a=e.defaultRendering,s=e.defaultSlots,d=e.additionalProps,u=e.additionalListeners,l=e.swapDefaultSlots;if(!o||o&&!0===o.render)return a;if(Y){var c=a?a.props:{};t=G(G({},J(u)),o.listeners),i=G(G(G({},c),d),t),n=G(G({},i),t)}else{var p=a&&a.componentOptions,h=p?a.componentOptions.listeners:{},f=p?a.componentOptions.propsData:{};t=G(G(G(G({},h),u),J(u)),o.listeners),n={props:i=G(G(G({},f),d),t),on:t}}if("slot"===o.type){var m=o.render({props:i,listeners:t,methods:t,defaultSlots:s});return m?m[0]:void 0}return"renderFunction"===o.type?l?o.render?o.render(r,a,s,i,t):void 0:o.render?o.render(r,a,i,t,s):void 0:r(o.render,n,Y?function(){return[s]}:[s])}function J(e){if(!e)return e;for(var t={},i=Object.keys(e),n=0;n<i.length;n++){var r=i[n];t["on"+r.charAt(0).toUpperCase()+r.slice(1)]=e[r]}return t}var Q=function(e,t,i){var n="string"==typeof e?parseInt(e,void 0):e;if(NaN!==n)return void 0!==n?n:t?i?void 0:-1:0};function ee(e){return Boolean(s&&e&&"rtl"===getComputedStyle(e).direction)}function te(e,t){if(!t&&s&&e){var i=window.getComputedStyle(e).direction;if(i)return i}return t}var ie=i(6);function ne(e){if(void 0!==ie)ie.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 re={sizeMap:{small:"sm",medium:"md",large:"lg"},roundedMap:{small:"sm",medium:"md",large:"lg"}}},function(e,t,i){"use strict";function n(e){return s(e)?e:e.split(t.SEPARATOR)[0]}function r(e){if(s(e))return e;var i=e.indexOf(t.SEPARATOR);return e.substring(i+1)}function o(e,i){return e=e.toString(),i?i+t.SEPARATOR+e:e}function a(e){var i=e.lastIndexOf(t.SEPARATOR);return i<0?t.EMPTY_ID:e.substring(0,i)}function s(e){return e===t.EMPTY_ID||e.indexOf(t.SEPARATOR)<0}function d(e){return e!==t.EMPTY_ID&&e.indexOf(t.SEPARATOR)<0}function u(e){var i=e.lastIndexOf(t.SEPARATOR);return i<0?e:e.substring(i+1)}Object.defineProperty(t,"__esModule",{value:!0}),t.getDecrementedItemIdAfterRemoval=t.isItemFirstFromSiblings=t.getShortId=t.getAllShortIds=t.isIdZeroLevel=t.isIdEmptyOrZeroLevel=t.getDirectParentId=t.createId=t.getFirstChildId=t.getIdWithoutRootParentId=t.getRootParentId=t.getItemById=t.SEPARATOR=t.ZERO_LEVEL_ZERO_NODE_ID=t.EMPTY_ID=void 0,t.EMPTY_ID="",t.ZERO_LEVEL_ZERO_NODE_ID="0",t.SEPARATOR="_",t.getItemById=function e(t,i,o){if(d(t))return i[Number(t)];var a=i[Number(n(t))],s=a&&a[o]||[];return s.length?e(r(t),s,o):void 0},t.getRootParentId=n,t.getIdWithoutRootParentId=r,t.getFirstChildId=function(e){return o("0",e)},t.createId=o,t.getDirectParentId=a,t.isIdEmptyOrZeroLevel=s,t.isIdZeroLevel=d,t.getAllShortIds=function(e){return e.split(t.SEPARATOR)},t.getShortId=u,t.isItemFirstFromSiblings=function(e){return u(e)===t.ZERO_LEVEL_ZERO_NODE_ID},t.getDecrementedItemIdAfterRemoval=function(e,i){var o=i;e="r"+t.SEPARATOR+e,i="r"+t.SEPARATOR+i;var s=a(e)+t.SEPARATOR;if(i.startsWith(s)){var d=i.substring(s.length);if(d){var l=n(d);if(Number(u(e))<Number(l))return r(s+(Number(l)-1).toString()+d.substring(l.length))}}return o}},function(e,t,i){"use strict";var n=function(){return(n=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},r=function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.addItem=t.removeItem=t.getAllParents=t.areAllDirectChildrenChecked=t.getAllDirectIndirectChildrenIds=t.isEnabledAndAllParentsEnabled=t.updateItem=t.resolveItemsIds=t.resolveItemId=t.isItemExpandedAndWithChildren=t.hasChildren=void 0;var o=i(2),a=r(i(11)),s=i(5);function d(e,t){var i=s.getNestedValue(t,e);return Boolean(i&&i.length)}function u(e,t,i,n){var r=[],u=new a.default;return u.init(e),function e(t,i,n,r,a,u){for(var l=0;l<n.length;l++){var c=n[l],p=o.createId(l,r);t.hasId(s.getNestedValue(i,c))&&a.push(p),d(c,u)&&e(t,i,s.getNestedValue(u,c),p,a,u)}}(u,t,i,o.EMPTY_ID,r,n),r}t.hasChildren=d,t.isItemExpandedAndWithChildren=function(e,t){return t.expanded(e)&&d(e,t.getChildrenField())},t.resolveItemId=function(e,t,i,n){var r=u([e],t,i,n);return r.length?r[0]:void 0},t.resolveItemsIds=u,t.updateItem=function e(t,i,n,r,a){var s,d=Number(o.getRootParentId(i));if(d>=t.length)return t;var u=t,l=t[d];return l[r]||(l=(u=t.slice())[d]=Object.assign({},l,((s={})[r]=!0,s))),o.isIdZeroLevel(i)?n(l):l[a]&&(l[a]=e(l[a],o.getIdWithoutRootParentId(i),n,r,a)),u},t.isEnabledAndAllParentsEnabled=function(e,t,i){for(var n=o.getAllShortIds(e),r=t,a=0;a<n.length;a++){var s=r[Number(n[a])];if(i.disabled(s))return!1;r=s[i.getChildrenField()]}return!0},t.getAllDirectIndirectChildrenIds=function(e,t,i,n){return n?function e(t){for(var r=[],o=t[i]||[],a=0;a<o.length;a++)r.push(s.getNestedValue(n,o[a])),r=r.concat(e(o[a]));return r}(e):function e(t,n){for(var r=[],a=t[i]||[],s=0;s<a.length;s++){var d=o.createId(s,n);r.push(d),r=r.concat(e(a[s],d))}return r}(e,t)},t.areAllDirectChildrenChecked=function(e,t,i,n,r){return(e[n]||[]).every((function(e,n){return r.indexOf(i?s.getNestedValue(i,e):o.createId(n,t))>-1}))},t.getAllParents=function(e,t,i){for(var n=[],r=o.getAllShortIds(e),a=i,s=0;s<r.length-1&&a;s++){var d=a[Number(r[s])];n.push(d),a=d[t]}return n},t.removeItem=function e(t,i,r){var a=r.slice();if(o.isIdZeroLevel(t))a.splice(Number(t),1);else{var s=Number(o.getRootParentId(t)),d=a[s]=n({},a[s]);d[i]=e(o.getIdWithoutRootParentId(t),i,d[i])}return a},t.addItem=function e(t,i,r,a,s){var d=s.slice();if(o.isIdZeroLevel(a))if("child"===i){var u=d[Number(a)]=n({},d[Number(a)]);u[r]?(u[r]=u[r].slice(),u[r].push(t)):u[r]=[t]}else d.splice(Number(a)+("after"===i?1:0),0,t);else{var l=Number(o.getRootParentId(a)),c=d[l]=n({},d[l]);c[r]=e(t,i,r,o.getIdWithoutRootParentId(a),c[r])}return d}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DOM_KENDO_TREEVIEW_GUID_FIELD=t.DOM_KENDO_ITEM_ID_FIELD=t.CHECK_INDETERMINATE_FIELD=t.CHECK_FIELD=t.SELECT_FIELD=t.HAS_CHILDREN_FIELD=t.CHILDREN_FIELD=t.DISABLED_FIELD=t.TEXT_FIELD=t.EXPAND_FIELD=void 0,t.EXPAND_FIELD="expanded",t.TEXT_FIELD="text",t.DISABLED_FIELD="disabled",t.CHILDREN_FIELD="items",t.HAS_CHILDREN_FIELD="hasChildren",t.SELECT_FIELD="selected",t.CHECK_FIELD="checked",t.CHECK_INDETERMINATE_FIELD="checkIndeterminate",t.DOM_KENDO_ITEM_ID_FIELD="_kendoItemId",t.DOM_KENDO_TREEVIEW_GUID_FIELD="_kendoTreeViewGuid"},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isArray=t.getNestedValue=void 0,t.getNestedValue=function(e,t){var i=(e||"").split("."),n=t;return i.forEach((function(e){n=n?n[e]:void 0})),n},t.isArray=function(e){return void 0!==e.length}},function(e,i){e.exports=t},function(e,t,i){"use strict";var n=function(){return(n=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},r=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},o=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.TreeViewItemVue2=t.TreeViewItem=void 0;var s=a(i(0)),d=s.h,u=s.version&&"3"===s.version[0],l=i(1),c=i(2),p=i(3),h=i(19),f=i(4),m=l.kendoThemeMaps.sizeMap,v={name:"KendoTreeViewItem",props:{item:Object,itemId:String,treeGuid:String,animate:Boolean,focusedItemId:String,tabbableItemId:String,fieldsService:Object,itemUI:Object,ariaMultiSelectable:Boolean,expandIcons:Boolean,checkboxes:Boolean,onFocusDomElNeeded:Object,draggable:Boolean,size:{type:String,default:"medium",validator:function(e){return[null,"small","medium","large"].includes(e)}}},computed:{fieldsSvc:function(){return this.$props.fieldsService},currentTabIndex:function(){return(this.$props.focusedItemId||this.$props.tabbableItemId)===this.itemId?0:-1},ariaExpanded:function(){return this.fieldsSvc.hasChildren(this.item)||p.hasChildren(this.item,this.fieldsSvc.getChildrenField())?Boolean(this.fieldsSvc.expanded(this.item)):void 0},ariaChecked:function(){return this.$props.checkboxes?this.fieldsSvc.checked(this.item)?"true":this.fieldsSvc.checkIndeterminate(this.item)?"mixed":"false":void 0},ariaSelected:function(){return!!this.fieldsSvc.selected(this.item)||(this.$props.ariaMultiSelectable?!!this.fieldsSvc.disabled(this.item)&&void 0:void 0)}},created:function(){this.itemGuid=l.guid(),this.prevFocusedItemId=this.focusedItemId,this.prevFieldsService=this.fieldsService,this.prevItem=this.item},watch:{focusedItemId:function(e,t){this.prevFocusedItemId=t},fieldsService:function(e,t){this.prevFieldsService=t},item:function(e,t){this.prevItem=t}},mounted:function(){var e=this.$props.focusedItemId,t=this.itemId;e&&e===t&&this.$emit("focusdomelneeded",this.$el),this.checkboxElement=l.getRef(this,"checkboxElement"),this.checkboxElement&&(this.checkboxElement.indeterminate=this.fieldsSvc.checkIndeterminate(this.item)),this.assignDraggableMeta(this.$refs.treemid)},updated:function(){var e=this.$props.focusedItemId;if(e&&e!==this.prevFocusedItemId&&e===this.itemId&&this.$emit("focusdomelneeded",this.$el),this.checkboxElement=l.getRef(this,"checkboxElement"),this.checkboxElement){var t=this.fieldsSvc.checkIndeterminate(this.item);t!==this.prevFieldsService.checkIndeterminate(this.prevItem)&&(this.checkboxElement.indeterminate=t)}this.assignDraggableMeta(this.$refs.treemid)},setup:u?function(){return{v3:!!u}}:void 0,render:function(e){var t=this,i=this,n=d||e,r=function(){return p.isItemExpandedAndWithChildren(this.item,this.fieldsSvc)?n("ul",{class:"k-treeview-group",role:"group",attrs:this.v3?void 0:{role:"group"}},[this.fieldsSvc.children(this.item).map((function(e,t){return n(g,{item:e,attrs:this.v3?void 0:{item:e,itemId:c.createId(t,this.itemId),treeGuid:this.$props.treeGuid,animate:this.$props.animate,focusedItemId:this.$props.focusedItemId,tabbableItemId:this.$props.tabbableItemId,fieldsService:this.$props.fieldsService,itemUI:this.$props.itemUI,checkboxes:this.$props.checkboxes,ariaMultiSelectable:this.$props.ariaMultiSelectable,draggable:this.$props.draggable,expandIcons:this.$props.expandIcons,size:this.$props.size},itemId:c.createId(t,this.itemId),treeGuid:this.$props.treeGuid,animate:this.$props.animate,focusedItemId:this.$props.focusedItemId,tabbableItemId:this.$props.tabbableItemId,fieldsService:this.$props.fieldsService,itemUI:this.$props.itemUI,checkboxes:this.$props.checkboxes,ariaMultiSelectable:this.$props.ariaMultiSelectable,onItemclick:this.handleItemClick,on:this.v3?void 0:{itemclick:this.handleItemClick,focusdomelneeded:this.handleFocusDomElNeeded,press:this.handlePress,drag:this.handleDrag,release:this.handleRelease,expandchange:this.handleExpandChange,checkchange:this.handleCheckChange},onFocusdomelneeded:this.handleFocusDomElNeeded,draggable:this.$props.draggable,onPress:this.handlePress,onDrag:this.handleDrag,onRelease:this.handleRelease,expandIcons:this.$props.expandIcons,onExpandchange:this.handleExpandChange,onCheckchange:this.handleCheckChange,key:t,size:this.$props.size})}),this)]):void 0},o=l.getTemplate.call(this,{h:n,template:this.$props.itemUI,defaultRendering:this.fieldsSvc.text(this.item),additionalProps:{item:this.item,itemHierarchicalIndex:this.itemId}}),a=function(){return n("span",{class:this.getContentClassName(),style:{touchAction:"none"},onClick:this.handleItemClick,on:this.v3?void 0:{click:this.handleItemClick}},[n("span",{class:"k-treeview-leaf-text"},[o])])};return n("li",{class:this.getRootClassName(),tabindex:this.currentTabIndex,attrs:this.v3?void 0:{tabindex:this.currentTabIndex,role:"treeitem","aria-expanded":this.ariaExpanded,"aria-selected":this.ariaSelected,"aria-checked":this.ariaChecked,"aria-disabled":!!this.fieldsSvc.disabled(this.item)||void 0},role:"treeitem","aria-expanded":this.ariaExpanded,"aria-selected":this.ariaSelected,"aria-checked":this.ariaChecked,"aria-disabled":!!this.fieldsSvc.disabled(this.item)||void 0},[n("div",{class:"k-treeview-mid",ref:"treemid"},[function(){return this.$props.expandIcons&&(this.fieldsSvc.hasChildren(this.item)||p.hasChildren(this.item,this.fieldsSvc.getChildrenField()))&&n("span",{class:"k-treeview-toggle"},[n("span",{class:this.getIconClassName(),onClick:this.handleExpandChange,on:this.v3?void 0:{click:this.handleExpandChange}})])}.call(this),function(){var e;if(this.$props.checkboxes){var t=this.$props.size;return n("div",{class:"k-checkbox-wrap"},[n("input",{type:"checkbox",attrs:this.v3?void 0:{type:"checkbox",id:this.itemGuid,tabindex:-1},class:l.classNames("k-checkbox k-rounded-md",(e={},e["k-checkbox-"+(m[t]||t)]=t,e)),checked:this.v3?Boolean(this.fieldsSvc.checked(this.item)):null,domProps:this.v3?void 0:{checked:Boolean(this.fieldsSvc.checked(this.item))},id:this.itemGuid,tabindex:-1,onChange:this.handleCheckChange,on:this.v3?void 0:{change:this.handleCheckChange},ref:l.setRef(this,"checkboxElement")}),n("label",{class:"k-checkbox-label",for:this.itemGuid,attrs:this.v3?void 0:{for:this.itemGuid}})])}}.call(this),this.$props.draggable?n(l.Draggable,{onPress:function(e){return i.handlePress(e)},on:this.v3?void 0:{press:function(e){return i.handlePress(e)},drag:function(e){return i.handleDrag(e)},release:function(e){return i.handleRelease(e)}},onDrag:function(e){return i.handleDrag(e)},onRelease:function(e){return i.handleRelease(e)}},this.v3?function(){return[a.call(t)]}:[a.call(t)]):a.call(this)]),this.$props.animate?n(h.Reveal,{appear:this.ariaExpanded,attrs:this.v3?void 0:{appear:this.ariaExpanded,transitionEnterDuration:200,transitionExitDuration:200},transitionEnterDuration:200,transitionExitDuration:200,style:{display:"block"}},this.v3?function(){return[r.call(t)]}:[r.call(t)]):r.call(this)])},methods:{handleCheckChange:function(e,t,i){this.$emit("checkchange",e,t||this.item,i||this.itemId)},handleExpandChange:function(e,t,i){this.$emit("expandchange",e,t||this.item,i||this.itemId)},handleItemClick:function(e,t,i){this.$emit("itemclick",e,t||this.item,i||this.itemId)},handlePress:function(e,t,i){this.$emit("press",e,t||n({},this.item),i||this.itemId)},handleDrag:function(e,t,i){this.$emit("drag",e,t||this.item,i||this.itemId)},handleRelease:function(e,t,i){this.$emit("release",e,t||this.item,i||this.itemId)},handleFocusDomElNeeded:function(e){this.$emit("focusdomelneeded",e)},getIconClassName:function(){var e=this.fieldsSvc.expanded(this.item);return l.classNames("k-icon",{"k-i-expand":!e,"k-i-collapse":e,"k-i-loading":e&&!p.hasChildren(this.item,this.fieldsSvc.getChildrenField())})},getRootClassName:function(){return l.classNames("k-treeview-item",{"k-disabled":this.fieldsSvc.disabled(this.item)})},getContentClassName:function(){return l.classNames("k-treeview-leaf",{"k-focus":this.$props.focusedItemId===this.itemId,"k-selected":this.fieldsSvc.selected(this.item)})},assignDraggableMeta:function(e){e&&!e[f.DOM_KENDO_ITEM_ID_FIELD]&&(e[f.DOM_KENDO_ITEM_ID_FIELD]=this.$props.itemId,e[f.DOM_KENDO_TREEVIEW_GUID_FIELD]=this.$props.treeGuid)}}};t.TreeViewItemVue2=v;var g=v;t.TreeViewItem=g},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TreeViewDragAnalyzer=t.moveTreeViewItem=t.TreeViewDragClue=t.handleTreeViewCheckChange=t.processTreeViewItems=t.TreeView=t.TreeViewItem=void 0;var n=i(9);Object.defineProperty(t,"TreeView",{enumerable:!0,get:function(){return n.TreeView}});var r=i(14);Object.defineProperty(t,"processTreeViewItems",{enumerable:!0,get:function(){return r.processTreeViewItems}});var o=i(15);Object.defineProperty(t,"moveTreeViewItem",{enumerable:!0,get:function(){return o.moveTreeViewItem}});var a=i(16);Object.defineProperty(t,"handleTreeViewCheckChange",{enumerable:!0,get:function(){return a.handleTreeViewCheckChange}});var s=i(17);Object.defineProperty(t,"TreeViewDragClue",{enumerable:!0,get:function(){return s.TreeViewDragClue}});var d=i(18);Object.defineProperty(t,"TreeViewDragAnalyzer",{enumerable:!0,get:function(){return d.TreeViewDragAnalyzer}});var u=i(7);Object.defineProperty(t,"TreeViewItem",{enumerable:!0,get:function(){return u.TreeViewItem}})},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t},a=function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.TreeViewVue2=t.TreeView=void 0;var s=o(i(0)),d=s.h,u=s.version&&"3"===s.version[0],l=i(1),c=a(i(10)),p=i(3),h=i(7),f=i(2),m=a(i(12)),v=i(13),g=i(4),I=l.kendoThemeMaps.sizeMap,E={name:"KendoTreeView",props:{dataItems:Array,animate:{type:Boolean,default:!0},id:String,draggable:Boolean,tabIndex:Number,focusIdField:String,getFocusHierarchicalIndex:Function,expandField:{type:String,default:g.EXPAND_FIELD},selectField:{type:String,default:g.SELECT_FIELD},childrenField:{type:String,default:g.CHILDREN_FIELD},hasChildrenField:{type:String,default:g.HAS_CHILDREN_FIELD},expandIcons:Boolean,checkboxes:Boolean,textField:{type:String,default:g.TEXT_FIELD},disableField:{type:String,default:g.DISABLED_FIELD},checkField:{type:String,default:g.CHECK_FIELD},checkIndeterminateField:{type:String,default:g.CHECK_INDETERMINATE_FIELD},item:[Object,String,Function],ariaMultiSelectable:[String,Boolean],ariaLabel:String,ariaLabelledby:String,size:{type:String,default:"medium",validator:function(e){return[null,"small","medium","large"].includes(e)}}},data:function(){return{focusedItemId:void 0,focusedItemPublicId:void 0,tabbableItemId:f.ZERO_LEVEL_ZERO_NODE_ID}},computed:{treeGuid:function(){return this.id||this.innerId}},created:function(){l.validatePackage(v.packageMetadata),this.allowExplicitFocus=!1,this.innerId=l.guid()},updated:function(){this.allowExplicitFocus=!1,this.refocusDueToFocusIdField()},setup:u?function(){return{v3:!!u}}:void 0,render:function(e){var t,i=d||e;this.fieldsSvc=new m.default(this.$props);var n=this.$props.size;return i("div",{class:l.classNames("k-treeview",(t={},t["k-treeview-"+(I[n]||n)]=n,t)),onKeydown:this.onKeyDown,on:this.v3?void 0:{keydown:this.onKeyDown,focusin:this.onFocus,focusout:this.onBlur},onFocusin:this.onFocus,onFocusout:this.onBlur,role:"tree",attrs:this.v3?void 0:{role:"tree","aria-multiselectable":!!this.ariaMultiSelectable||void 0,"aria-label":this.$props["aria-label"],"aria-labelledby":this.$props["aria-labelledby"],tabindex:this.$props.tabIndex},"aria-multiselectable":!!this.ariaMultiSelectable||void 0,"aria-label":this.$props["aria-label"],"aria-labelledby":this.$props["aria-labelledby"],tabindex:this.$props.tabIndex,style:{userSelect:this.draggable?"none":void 0}},[i("ul",{class:"k-treeview-lines k-treeview-group",role:"group",attrs:this.v3?void 0:{role:"group"}},[this.dataItems.map((function(e,t){var r=l.templateRendering.call(this,this.item,l.getListeners.call(this));return i(h.TreeViewItem,{item:e,attrs:this.v3?void 0:{item:e,itemId:t.toString(),treeGuid:this.treeGuid,animate:this.$props.animate,focusedItemId:this.focusedItemId,tabbableItemId:this.tabbableItemId,fieldsService:this.fieldsSvc,itemUI:r,checkboxes:this.$props.checkboxes,ariaMultiSelectable:this.ariaMultiSelectable,draggable:this.$props.draggable,expandIcons:this.$props.expandIcons,size:n},itemId:t.toString(),treeGuid:this.treeGuid,animate:this.$props.animate,focusedItemId:this.focusedItemId,tabbableItemId:this.tabbableItemId,fieldsService:this.fieldsSvc,itemUI:r,checkboxes:this.$props.checkboxes,ariaMultiSelectable:this.ariaMultiSelectable,onItemclick:this.onItemClick,on:this.v3?void 0:{itemclick:this.onItemClick,focusdomelneeded:this.onFocusDomElNeeded,press:this.onPress,drag:this.onDrag,release:this.onRelease,expandchange:this.onExpandChange,checkchange:this.onCheckChange},onFocusdomelneeded:this.onFocusDomElNeeded,draggable:this.$props.draggable,onPress:this.onPress,onDrag:this.onDrag,onRelease:this.onRelease,expandIcons:this.$props.expandIcons,onExpandchange:this.onExpandChange,onCheckchange:this.onCheckChange,key:t,size:n})}),this)])])},methods:{onFocusDomElNeeded:function(e){this.allowExplicitFocus&&this.focusDomItem(e)},onCheckChange:function(e,t,i){this.setFocus(i),this.dispatchCheckChange(e,t,i)},onExpandChange:function(e,t,i){this.setFocus(i),this.dispatchExpandChange(e,t,i)},onPress:function(e,t,i){this.$emit("itemdragstart",{target:this,item:t,itemHierarchicalIndex:i})},onDrag:function(e,t,i){var n=e.pageX,r=e.pageY,o=e.clientX,a=e.clientY;this.$emit("itemdragover",{target:this,item:t,itemHierarchicalIndex:i,pageX:n,pageY:r,clientX:o,clientY:a})},onRelease:function(e,t,i){var n=e.pageX,r=e.pageY,o=e.clientX,a=e.clientY;this.$emit("itemdragend",{target:this,item:t,itemHierarchicalIndex:i,pageX:n,pageY:r,clientX:o,clientY:a})},onItemClick:function(e,t,i){this.setFocus(i),this.dispatchItemClick(e,t,i)},onFocus:function(){clearTimeout(this.blurRequest),void 0===this.focusedItemId&&this.dataItems.length&&this.setFocus(this.tabbableItemId)},onBlur:function(){var e=this;clearTimeout(this.blurRequest),this.blurRequest=window.setTimeout((function(){return e.setFocus(void 0)}),0)},onKeyDown:function(e){var t=this.getFocusedItem();if(t){var i=c.default(t,this.focusedItemId,this.dataItems,e.keyCode,this.fieldsSvc);i!==this.focusedItemId&&(e.preventDefault(),this.allowExplicitFocus=!0,this.setFocus(i)),this.dispatchEventsOnKeyDown(e,t)}},dispatchEventsOnKeyDown:function(e,t){var i=this,n=function(){return p.isEnabledAndAllParentsEnabled(i.focusedItemId,i.dataItems,i.fieldsSvc)};e.keyCode===l.Keys.left&&this.fieldsSvc.expanded(t)&&n()||e.keyCode===l.Keys.right&&!this.fieldsSvc.expanded(t)&&(this.fieldsSvc.hasChildren(t)||p.hasChildren(t,this.$props.childrenField))&&n()?this.dispatchExpandChange(e,t,this.focusedItemId):e.keyCode===l.Keys.enter&&n()?this.dispatchItemClick(e,t,this.focusedItemId):e.keyCode===l.Keys.space&&n()&&(e.preventDefault(),this.dispatchCheckChange(e,t,this.focusedItemId))},setFocus:function(e){if(e)if(this.fieldsSvc.focusIdField){var t=this.getItemById(e);this.focusedItemId=e,this.focusedItemPublicId=this.fieldsSvc.focusId(t)}else this.focusedItemId=e;else{var i=this.focusedItemId;this.focusedItemId=void 0,this.focusedItemPublicId=void 0,this.tabbableItemId=i}},getFocusedItem:function(){return this.focusedItemId?this.getItemById(this.focusedItemId):void 0},getItemById:function(e){return f.getItemById(e,this.dataItems,this.$props.childrenField||g.CHILDREN_FIELD)},dispatchCheckChange:function(e,t,i){this.$emit("checkchange",{item:t,itemHierarchicalIndex:i})},dispatchExpandChange:function(e,t,i){this.$emit("expandchange",{item:t,itemHierarchicalIndex:i})},dispatchItemClick:function(e,t,i){this.$emit("itemclick",{item:t,itemHierarchicalIndex:i})},refocusDueToFocusIdField:function(){if(this.fieldsSvc.focusIdField){var e=this.focusedItemPublicId;if(e){var t=this.$props.getFocusHierarchicalIndex?this.$props.getFocusHierarchicalIndex(e):p.resolveItemId(e,this.fieldsSvc.focusIdField,this.dataItems,this.$props.childrenField);t!==this.focusedItemId&&(this.allowExplicitFocus=!0,this.focusedItemId=t)}}},focusDomItem:function(e){e.focus()},guid:function(){return this.treeGuid}}};t.TreeViewVue2=E;var x=E;t.TreeView=x},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0});var a=i(1),s=o(i(2)),d=i(3);t.default=function(e,t,i,n,r){switch(n){case a.Keys.left:return s.isIdZeroLevel(t)||r.expanded(e)&&d.isEnabledAndAllParentsEnabled(t,i,r)?t:s.getDirectParentId(t);case a.Keys.right:return d.isItemExpandedAndWithChildren(e,r)?s.getFirstChildId(t):t;case a.Keys.up:return o=Number(s.getShortId(t)),u=s.getDirectParentId(t),o?function e(t,i,n){var r=s.getItemById(t,i,n.getChildrenField());return d.isItemExpandedAndWithChildren(r,n)?e(s.createId(r[n.getChildrenField()].length-1,t),i,n):t}(s.createId(o-1,u),i,r):s.isIdZeroLevel(t)?t:u;case a.Keys.down:return d.isItemExpandedAndWithChildren(e,r)?s.getFirstChildId(t):function e(t,i,n){var r=s.getDirectParentId(t),o=r?s.getItemById(r,i,n.getChildrenField()):void 0,a=o?o[n.getChildrenField()]:i,d=Number(s.getShortId(t));return d<a.length-1?s.createId(d+1,r):o?e(r,i,n):void 0}(t,i,r)||t;case a.Keys.home:return s.ZERO_LEVEL_ZERO_NODE_ID;case a.Keys.end:return function(){var e,t=(i.length-1).toString(),n=i[i.length-1];for(;d.isItemExpandedAndWithChildren(n,r);)e=n[r.getChildrenField()],t=s.createId(e.length-1,t),n=e[e.length-1];return t}();default:return t}var o,u}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){this.objects=[]}return e.prototype.init=function(e){for(var t,i=0;i<e.length;i++)i%5e4==0&&(t={},this.objects.push(t)),t[e[i]]=!0},e.prototype.hasId=function(e){return this.objects.some((function(t){return t[e]}))},e}();t.default=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(5),r=function(){function e(e){this.expandField=e.expandField,this.selectField=e.selectField,this.hasChildrenField=e.hasChildrenField,this.childrenField=e.childrenField,this.textField=e.textField,this.disableField=e.disableField,this.checkField=e.checkField,this.checkIndeterminateField=e.checkIndeterminateField,this.focusIdField=e.focusIdField}return e.prototype.expanded=function(e){return n.getNestedValue(this.expandField,e)},e.prototype.selected=function(e){return n.getNestedValue(this.selectField,e)},e.prototype.text=function(e){return n.getNestedValue(this.textField,e)},e.prototype.disabled=function(e){return n.getNestedValue(this.disableField,e)},e.prototype.hasChildren=function(e){return n.getNestedValue(this.hasChildrenField,e)},e.prototype.children=function(e){var t=n.getNestedValue(this.childrenField,e);return t||[]},e.prototype.checked=function(e){return n.getNestedValue(this.checkField,e)},e.prototype.checkIndeterminate=function(e){return n.getNestedValue(this.checkIndeterminateField,e)},e.prototype.focusId=function(e){return this.focusIdField&&n.getNestedValue(this.focusIdField,e)},e.prototype.getChildrenField=function(){return this.childrenField},e}();t.default=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata=void 0,t.packageMetadata={name:"@progress/kendo-vue-treeview",productName:"Kendo UI for Vue",productCodes:["KENDOUIVUE","KENDOUICOMPLETE"],publishDate:1659331134,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,i){"use strict";var n=function(){return(n=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.processTreeViewItems=void 0;var r=i(3),o=i(4),a=i(5);function s(e,t,i,n,o){if(i){var s=d(i,t),l=s.ids,c=s.field;return function(e,t,i,n,o){var a=e;return t.forEach((function(e){a=r.updateItem(a,e,(function(e){return u(i,e)}),n,o)})),a}(e,!a.isArray(i)&&i.idField?r.resolveItemsIds(l,i.idField,e,o):l,c,n,o)}return e}function d(e,t){var i,n;return a.isArray(e)?(i=e,n=t):(i=e.ids||[],n=e.operationField||t),{ids:i,field:n}}function u(e,t){for(var i=(e||"").split("."),r=t,o=0;o<i.length;o++){var a=i[o];if(o===i.length-1)r[a]=!0;else{if(void 0===r[a])return;r[a]=n({},r[a]),r=r[a]}}}function l(e,t,i,n,r){for(var o=!1,s=0;s<e.length;s++){var d=e[s];if(a.getNestedValue(n,d)){if(!o)for(var c=0;c<t.length;c++)u(r,t[c]);o=!0,d[i]&&l(d[i],[],i,n,r)}else d[i]&&l(d[i],o?[d]:t.concat([d]),i,n,r)}}t.processTreeViewItems=function(e,t){if(!e||!e.length)return[];var i=e,n=t.cloneField||"cloned",r=t.expandField||o.EXPAND_FIELD,u=t.selectField||o.SELECT_FIELD,c=t.checkField||o.CHECK_FIELD,p=t.childrenField||o.CHILDREN_FIELD;return i=s(i,r,t.expand,n,p),i=s(i,u,t.select,n,p),function(e,t,i){if(i&&!a.isArray(i)&&i.applyCheckIndeterminate)for(var n=d(i,o.CHECK_FIELD).field,r=i.checkIndeterminateField||o.CHECK_INDETERMINATE_FIELD,s=0;s<e.length;s++){var u=e[s],c=u[t];c&&l(c,a.getNestedValue(n,u)?[]:[u],t,n,r)}}(i=s(i,c,t.check,n,p),p,t.check),i}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.moveTreeViewItem=void 0;var n=i(3),r=i(2),o=i(4);t.moveTreeViewItem=function(e,t,i,a,s,d){var u=d||o.CHILDREN_FIELD;if(!function(){if(!(t&&t.length&&e&&a))return!1;if(s&&!s.length)return!1;var i=s&&s!==t?s:t;if(!r.getItemById(a,i,u))return!1;return!0}())return h();var l=r.getItemById(e,t,u);if(!l)return h();if(s&&s!==t)return{sourceData:n.removeItem(e,u,t),targetData:n.addItem(l,i,u,a,s)};if((a+"_").startsWith(e+"_"))return h();var c=n.removeItem(e,u,t),p=n.addItem(l,i,u,r.getDecrementedItemIdAfterRemoval(e,a),c);return s?{sourceData:p,targetData:p}:p;function h(){return s?{sourceData:t,targetData:s}:t}}},function(e,t,i){"use strict";var n=function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.handleTreeViewCheckChange=void 0;var r=i(3),o=i(2),a=i(5),s=i(4);t.handleTreeViewCheckChange=function(e,t,i,d,u){if(void 0===d&&(d={}),!i||!i.length)return[];var l,c=function(e){var t,i=void 0;a.isArray(e)?t=e:(t=e.ids||[],i=e.idField);return{ids:t,idField:i}}(t),p=c.ids,h=c.idField,f=h?a.getNestedValue(h,e.item):e.itemHierarchicalIndex,m=p.indexOf(f),v=-1===m,g=u||s.CHILDREN_FIELD;return d.singleMode?l=v?[f]:[]:(l=p.slice(),v?l.push(f):l.splice(m,1),d.checkChildren&&function(e,t,i,n,o,a){r.getAllDirectIndirectChildrenIds(e,t,o,n).forEach((function(e){i&&-1===a.indexOf(e)?a.push(e):!i&&a.indexOf(e)>-1&&a.splice(a.indexOf(e),1)}))}(e.item,e.itemHierarchicalIndex,v,h,g,l),d.checkParents&&function(e,t,i,s,d,u){var l=function(){var d,l,c;return n(this,(function(n){switch(n.label){case 0:if(!i)return[3,5];d=r.getAllParents(e,s,u),l=d.length-1,n.label=1;case 1:return l>-1?[4,{id:a.getNestedValue(i,d[l]),item:t?d[l]:void 0}]:[3,4];case 2:n.sent(),n.label=3;case 3:return l--,[3,1];case 4:return[3,8];case 5:c=o.getDirectParentId(e),n.label=6;case 6:return c?[4,{id:c,item:t?o.getItemById(c,u,s):void 0}]:[3,8];case 7:return n.sent(),c=o.getDirectParentId(c),[3,6];case 8:return[2]}}))}(),c=l.next();t?function(){for(;!c.done;){var e=c.value,t=e.id,n=e.item;if(-1!==d.indexOf(t)||!r.areAllDirectChildrenChecked(n,t,i,s,d))break;d.push(t),c=l.next()}}():function(){for(;!c.done;){var e=c.value.id,t=d.indexOf(e);if(!(t>-1))break;d.splice(t,1),c=l.next()}}()}(e.itemHierarchicalIndex,v,h,g,l,i)),a.isArray(t)?l:Object.assign({},t,{ids:l})}},function(e,t,i){"use strict";var n=function(){return(n=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},r=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},o=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.TreeViewDragClueVue2=t.TreeViewDragClue=void 0;var s=a(i(0)),d=s.h,u=s.version&&"3"===s.version[0],l=i(1),c={name:"KendoTreeViewDragClue",props:{},data:function(){return{visible:!1,top:0,left:0,text:"",operationClassName:"k-i-cancel"}},setup:u?function(){return{v3:!!u}}:void 0,render:function(e){var t=d||e,i={top:this.top+"px",left:this.left+"px"};return this.visible&&t("div",{class:"k-header k-drag-clue",style:n(n({},{display:"block",position:"absolute",zIndex:2e4,padding:"4px 6px"}),i)},[t("span",{class:l.classNames("k-icon k-drag-status k-icon-with-modifier",this.operationClassName)},[t("span",{class:"k-icon k-icon-modifier"})]),this.text])},methods:{show:function(e,t,i,n){this.visible=!0,this.top=e,this.left=t,this.text=i,this.operationClassName=n},hide:function(){this.visible=!1}}};t.TreeViewDragClueVue2=c;var p=c;t.TreeViewDragClue=p},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TreeViewDragAnalyzer=void 0;var n=i(4),r=function(){function e(e){this.event=e,this.initialized=!1,this.itemId=e.itemHierarchicalIndex,this.treeViewGuid=e.target.guid()}return e.prototype.init=function(){return this.initialized||(this.setDestimationMeta(document.elementFromPoint(this.event.clientX,this.event.clientY)),this.initialized=!0),this},Object.defineProperty(e.prototype,"isDropAllowed",{get:function(){return!!(this.initialized&&this.destItemId&&this.destTreeViewGuid)&&!(this.destTreeViewGuid+"_"+this.destItemId+"_").startsWith(this.treeViewGuid+"_"+this.itemId+"_")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"destinationMeta",{get:function(){return{itemHierarchicalIndex:this.destItemId,treeViewGuid:this.destTreeViewGuid}},enumerable:!1,configurable:!0}),e.prototype.getDropOperation=function(){if(this.initialized&&this.isDropAllowed){var e=this.destDomNodeWithMeta.getBoundingClientRect(),t=e.top;return t+e.height-this.event.clientY<6?"after":this.event.clientY-t<6?"before":"child"}},e.prototype.setDestimationMeta=function(e){for(var t=e;t&&!t[n.DOM_KENDO_ITEM_ID_FIELD];)t=t.parentNode;t&&t[n.DOM_KENDO_ITEM_ID_FIELD]&&(this.destDomNodeWithMeta=t,this.destItemId=t[n.DOM_KENDO_ITEM_ID_FIELD],this.destTreeViewGuid=t[n.DOM_KENDO_TREEVIEW_GUID_FIELD])},e}();t.TreeViewDragAnalyzer=r},function(e,t,i){"use strict";i.r(t),i.d(t,"Animation",(function(){return C})),i.d(t,"AnimationVue2",(function(){return k})),i.d(t,"AnimationChild",(function(){return g})),i.d(t,"AnimationChildVue2",(function(){return v})),i.d(t,"Fade",(function(){return w})),i.d(t,"FadeVue2",(function(){return $})),i.d(t,"Expand",(function(){return A})),i.d(t,"ExpandVue2",(function(){return j})),i.d(t,"Push",(function(){return B})),i.d(t,"PushVue2",(function(){return z})),i.d(t,"Slide",(function(){return Y})),i.d(t,"SlideVue2",(function(){return U})),i.d(t,"Zoom",(function(){return ee})),i.d(t,"ZoomVue2",(function(){return Q})),i.d(t,"Reveal",(function(){return se})),i.d(t,"RevealVue2",(function(){return ae})),i.d(t,"animate",(function(){return de})),i.d(t,"cancelAnimation",(function(){return ue}));var n=i(0),r=function(e){if(!e)return 0;var t=e.ownerDocument.defaultView.getComputedStyle(e),i=parseFloat(t.marginTop),n=parseFloat(t.marginBottom);return e.offsetHeight+i+n},o=function(e){if(!e)return 0;var t=e.ownerDocument.defaultView.getComputedStyle(e),i=parseFloat(t.marginLeft),n=parseFloat(t.marginRight);return e.offsetWidth+i+n},a={"animation-container":"k-animation-container","animation-container-relative":"k-animation-container-relative","animation-container-fixed":"k-animation-container-fixed","push-right-enter":"k-push-right-enter","push-right-appear":"k-push-right-appear","push-right-enter-active":"k-push-right-enter-active","push-right-appear-active":"k-push-right-appear-active","push-right-exit":"k-push-right-exit","push-right-exit-active":"k-push-right-exit-active","push-left-enter":"k-push-left-enter","push-left-appear":"k-push-left-appear","push-left-enter-active":"k-push-left-enter-active","push-left-appear-active":"k-push-left-appear-active","push-left-exit":"k-push-left-exit","push-left-exit-active":"k-push-left-exit-active","push-down-enter":"k-push-down-enter","push-down-appear":"k-push-down-appear","push-down-enter-active":"k-push-down-enter-active","push-down-appear-active":"k-push-down-appear-active","push-down-exit":"k-push-down-exit","push-down-exit-active":"k-push-down-exit-active","push-up-enter":"k-push-up-enter","push-up-appear":"k-push-up-appear","push-up-enter-active":"k-push-up-enter-active","push-up-appear-active":"k-push-up-appear-active","push-up-exit":"k-push-up-exit","push-up-exit-active":"k-push-up-exit-active",expand:"k-expand","expand-vertical-enter":"k-expand-vertical-enter","expand-vertical-appear":"k-expand-vertical-appear","expand-vertical-enter-active":"k-expand-vertical-enter-active","expand-vertical-appear-active":"k-expand-vertical-appear-active","expand-vertical-exit":"k-expand-vertical-exit","expand-vertical-exit-active":"k-expand-vertical-exit-active","expand-horizontal-enter":"k-expand-horizontal-enter","expand-horizontal-appear":"k-expand-horizontal-appear","expand-horizontal-enter-active":"k-expand-horizontal-enter-active","expand-horizontal-appear-active":"k-expand-horizontal-appear-active","expand-horizontal-exit":"k-expand-horizontal-exit","expand-horizontal-exit-active":"k-expand-horizontal-exit-active","child-animation-container":"k-child-animation-container","fade-enter":"k-fade-enter","fade-appear":"k-fade-appear","fade-enter-active":"k-fade-enter-active","fade-appear-active":"k-fade-appear-active","fade-exit":"k-fade-exit","fade-exit-active":"k-fade-exit-active","zoom-in-enter":"k-zoom-in-enter","zoom-in-appear":"k-zoom-in-appear","zoom-in-enter-active":"k-zoom-in-enter-active","zoom-in-appear-active":"k-zoom-in-appear-active","zoom-in-exit":"k-zoom-in-exit","zoom-in-exit-active":"k-zoom-in-exit-active","zoom-out-enter":"k-zoom-out-enter","zoom-out-appear":"k-zoom-out-appear","zoom-out-enter-active":"k-zoom-out-enter-active","zoom-out-appear-active":"k-zoom-out-appear-active","zoom-out-exit":"k-zoom-out-exit","zoom-out-exit-active":"k-zoom-out-exit-active","slide-in-appear":"k-slide-in-appear",centered:"k-centered","slide-in-appear-active":"k-slide-in-appear-active","slide-down-enter":"k-slide-down-enter","slide-down-appear":"k-slide-down-appear","slide-down-enter-active":"k-slide-down-enter-active","slide-down-appear-active":"k-slide-down-appear-active","slide-down-exit":"k-slide-down-exit","slide-down-exit-active":"k-slide-down-exit-active","slide-up-enter":"k-slide-up-enter","slide-up-appear":"k-slide-up-appear","slide-up-enter-active":"k-slide-up-enter-active","slide-up-appear-active":"k-slide-up-appear-active","slide-up-exit":"k-slide-up-exit","slide-up-exit-active":"k-slide-up-exit-active","slide-right-enter":"k-slide-right-enter","slide-right-appear":"k-slide-right-appear","slide-right-enter-active":"k-slide-right-enter-active","slide-right-appear-active":"k-slide-right-appear-active","slide-right-exit":"k-slide-right-exit","slide-right-exit-active":"k-slide-right-exit-active","slide-left-enter":"k-slide-left-enter","slide-left-appear":"k-slide-left-appear","slide-left-enter-active":"k-slide-left-enter-active","slide-left-appear-active":"k-slide-left-appear-active","slide-left-exit":"k-slide-left-exit","slide-left-exit-active":"k-slide-left-exit-active","reveal-vertical-enter":"k-reveal-vertical-enter","reveal-vertical-appear":"k-reveal-vertical-appear","reveal-vertical-enter-active":"k-reveal-vertical-enter-active","reveal-vertical-appear-active":"k-reveal-vertical-appear-active","reveal-vertical-exit":"k-reveal-vertical-exit","reveal-vertical-exit-active":"k-reveal-vertical-exit-active","reveal-horizontal-enter":"k-reveal-horizontal-enter","reveal-horizontal-appear":"k-reveal-horizontal-appear","reveal-horizontal-enter-active":"k-reveal-horizontal-enter-active","reveal-horizontal-appear-active":"k-reveal-horizontal-appear-active","reveal-horizontal-exit":"k-reveal-horizontal-exit","reveal-horizontal-exit-active":"k-reveal-horizontal-exit-active"},s=i(1),d=function(){return(d=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},u=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(i[n[r]]=e[n[r]])}return i},l=n,c=l.h,p=l.version&&"3"===l.version[0],h=l.ref,f=l.Transition,m=a,v={props:{in:Boolean,transitionName:{type:String,required:!0},transitionStyle:Object,componentChildClassName:[Array],className:String,appear:{type:Boolean,default:!0},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!0},transitionEnterDuration:Number,transitionExitDuration:Number,mountOnEnter:Boolean,unmountOnExit:Boolean,animationEnteringStyle:Object,animationEnteredStyle:Object,animationExitingStyle:Object,animationExitedStyle:Object},created:function(){this.animationStep=""},setup:p?function(){return{v3:!!p,elementRef:h(null)}}:void 0,mounted:function(){this._element=this.v3?this.elementRef||null:this.$refs.element||null},computed:{element:{get:function(){return this._element}}},methods:{onBeforeEnter:function(e){this.$emit("beforeenter",{animatedElement:e,target:this})},onEnter:function(e){this.animationStep="entering",this.$emit("entering",{animatedElement:e,target:this})},onAfterEnter:function(e){this.animationStep="entered",this.$emit("entered",{animatedElement:e,target:this})},onBeforeLeave:function(e){this.$emit("exit",{animatedElement:e,target:this})},onLeave:function(e){this.animationStep="exiting",this.$emit("exiting",{animatedElement:e,target:this})},onAfterLeave:function(e){this.animationStep="exited",this.$emit("exited",{animatedElement:e,target:this})}},render:function(e){var t=this,i=c||e,n=this.$props,r=n.appear,o=n.enter,a=n.exit,l=n.transitionName,p=n.transitionEnterDuration,h=n.transitionExitDuration,v=(n.className,n.componentChildClassName),g=(n.mountOnEnter,n.unmountOnExit,n.animationEnteringStyle),I=n.animationEnteredStyle,E=n.animationExitingStyle,x=n.animationExitedStyle,b=(u(n,["appear","enter","exit","transitionName","transitionEnterDuration","transitionExitDuration","className","componentChildClassName","mountOnEnter","unmountOnExit","animationEnteringStyle","animationEnteredStyle","animationExitingStyle","animationExitedStyle"]),Object(s.getDefaultSlots)(this)),y=this.v3?r:!!b,D=this.v3?f:"transition",k=[v,m["child-animation-container"]],C=o?p:0,_=a?h:0,O=[d({transitionDelay:"0ms",transitionDuration:y?C+"ms":_+"ms"},this.$props.transitionStyle),{entering:d({transitionDuration:C+"ms"},g),entered:d({},I),exiting:d({transitionDuration:_+"ms"},E),exited:d({},x)}[this.animationStep]],S={enter:C,leave:_},$=[y?i("div",{style:O,class:k,ref:this.v3?function(e){t.elementRef=e}:"element"},[b]):null];return i(D,{duration:S,attrs:this.v3?null:{duration:S,name:l,appear:r,appearClass:m[l+"-appear"]||l+"-appear",appearToClass:m[l+"-appear-active"]||l+"-appear-active",enterClass:m[l+"-enter"]||l+"-enter",enterToClass:m[l+"-enter-active"]||l+"-enter-active",leaveClass:m[l+"-exit"]||l+"-exit",leaveToClass:m[l+"-exit-active"]||l+"-exit-active"},name:l,appear:r,appearFromClass:m[l+"-appear"]||l+"-appear",enterFromClass:m[l+"-enter"]||l+"-enter",leaveFromClass:m[l+"-exit"]||l+"-exit",appearToClass:m[l+"-appear-active"]||l+"-appear-active",enterToClass:m[l+"-enter-active"]||l+"-enter-active",leaveToClass:m[l+"-exit-active"]||l+"-exit-active",onBeforeEnter:this.onBeforeEnter,on:this.v3?null:{beforeEnter:this.onBeforeEnter,enter:this.onEnter,afterEnter:this.onAfterEnter,beforeLeave:this.onBeforeLeave,leave:this.onLeave,afterLeave:this.onAfterLeave},onEnter:this.onEnter,onAfterEnter:this.onAfterEnter,onBeforeLeave:this.onBeforeLeave,onLeave:this.onLeave,onAfterLeave:this.onAfterLeave},this.v3?function(){return $}:$)}},g=v,I={name:"@progress/kendo-vue-animation",productName:"Kendo UI for Vue",productCodes:["KENDOUIVUE","KENDOUICOMPLETE"],publishDate:1659330556,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"},E=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(i[n[r]]=e[n[r]])}return i},x=n,b=x.h,y=x.version&&"3"===x.version[0],D=a,k={props:{childFactory:Object,className:String,tag:String,id:String,animationEnteringStyle:Object,animationExitingStyle:Object,componentChildClassName:[Array],transitionName:{type:String,required:!0},appear:{type:Boolean,default:!0},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!0},transitionEnterDuration:{type:Number},transitionExitDuration:{type:Number}},methods:{onEntering:function(e){this.$emit("entering",e)},onEnter:function(e){this.$emit("enter",e)},onEntered:function(e){this.$emit("entered",e)},onExit:function(e){this.$emit("exit",e)},onExiting:function(e){this.$emit("exiting",e)},onExited:function(e){this.$emit("exited",e)}},setup:y?function(){return{v3:!!y}}:void 0,created:function(){Object(s.validatePackage)(I)},render:function(e){var t=b||e,i=Object(s.getDefaultSlots)(this),n=this.$props,r=(n.id,n.tag,n.role),o=n.className,a=(n.childFactory,n.stackChildren,n.componentChildStyle,n.componentChildClassName,E(n,["id","tag","role","className","childFactory","stackChildren","componentChildStyle","componentChildClassName"]),[D["animation-container"],D["animation-container-relative"],o]);return t("div",{id:this.$props.id,attrs:this.v3?void 0:{id:this.$props.id,role:r},class:a,role:r},[t(g,{key:"some",appear:this.$props.appear,attrs:this.v3?void 0:{appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionName:this.$props.transitionName,componentChildClassName:this.$props.componentChildClassName,animationEnteringStyle:this.$props.animationEnteringStyle,animationExitingStyle:this.$props.animationExitingStyle,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},enter:this.$props.enter,exit:this.$props.exit,transitionName:this.$props.transitionName,componentChildClassName:this.$props.componentChildClassName,onBeforeenter:this.onEnter,on:this.v3?void 0:{beforeenter:this.onEnter,entering:this.onEntering,entered:this.onEntered,exit:this.onExit,exiting:this.onExiting,exited:this.onExited},onEntering:this.onEntering,onEntered:this.onEntered,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited,animationEnteringStyle:this.$props.animationEnteringStyle,animationExitingStyle:this.$props.animationExitingStyle,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},this.v3?function(){return[i]}:[i])])}},C=k,_=n,O=_.h,S=_.version&&"3"===_.version[0],$={props:{appear:{type:Boolean,default:!1},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!1},transitionEnterDuration:{type:Number,default:500},transitionExitDuration:{type:Number,default:500},childFactory:Object,className:String,tag:String,id:String},setup:S?function(){return{v3:!!S}}:void 0,render:function(e){var t=O||e,i=Object(s.getDefaultSlots)(this);return t(C,{transitionName:"fade",attrs:this.v3?void 0:{transitionName:"fade",appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},this.v3?function(){return[i]}:[i])}},w=$,F=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(i[n[r]]=e[n[r]])}return i},N=n,P=N.h,T=N.version&&"3"===N.version[0],j={props:{appear:{type:Boolean,default:!1},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!0},transitionEnterDuration:{type:Number,default:300},transitionExitDuration:{type:Number,default:300},childFactory:Object,className:String,direction:{type:String,default:"vertical"},tag:String,id:String},setup:T?function(){return{v3:!!T}}:void 0,render:function(e){var t=P||e,i=Object(s.getDefaultSlots)(this),n=this.$props,r=(n.direction,F(n,["direction"]),"expand-"+this.$props.direction);return t(C,{transitionName:r,attrs:this.v3?void 0:{transitionName:r,appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},this.v3?function(){return[i]}:[i])}},A=j,L=n,V=L.h,R=L.version&&"3"===L.version[0],M={position:"absolute",top:"0",left:"0"},z={props:{appear:{type:Boolean,default:!1},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!0},transitionEnterDuration:{type:Number,default:300},transitionExitDuration:{type:Number,default:300},childFactory:Object,className:String,direction:{type:String,default:"right"},tag:String,id:String},setup:R?function(){return{v3:!!R}}:void 0,render:function(e){var t=V||e,i=Object(s.getDefaultSlots)(this),n="push-"+this.$props.direction;return t(C,{transitionName:n,attrs:this.v3?void 0:{transitionName:n,appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration,animationExitingStyle:this.$props.stackChildren?M:void 0},appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration,animationExitingStyle:this.$props.stackChildren?M:void 0},this.v3?function(){return[i]}:[i])}},B=z,H=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(i[n[r]]=e[n[r]])}return i},K=n,W=K.h,G=K.version&&"3"===K.version[0],U={props:{appear:{type:Boolean,default:!1},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!0},transitionEnterDuration:{type:Number,default:300},transitionExitDuration:{type:Number,default:300},componentChildClassName:[Array],childFactory:Object,className:String,direction:{type:String,default:"down"},tag:String,id:String,role:String},methods:{onEntering:function(e){this.$emit("entering",e)},onEnter:function(e){this.$emit("enter",e)},onEntered:function(e){this.$emit("entered",e)},onExit:function(e){this.$emit("exit",e)},onExiting:function(e){this.$emit("exiting",e)},onExited:function(e){this.$emit("exited",e)}},setup:G?function(){return{v3:!!G}}:void 0,render:function(e){var t=W||e,i=Object(s.getDefaultSlots)(this),n=this.$props,r=(n.direction,n.id),o=(H(n,["direction","id"]),"slide-"+this.$props.direction);return t(C,{id:r,attrs:this.v3?void 0:{id:r,transitionName:o,componentChildClassName:this.$props.componentChildClassName,appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},transitionName:o,componentChildClassName:this.$props.componentChildClassName,appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,onEnter:this.onEnter,on:this.v3?void 0:{enter:this.onEnter,entering:this.onEntering,entered:this.onEntered,exit:this.onExit,exiting:this.onExiting,exited:this.onExited},onEntering:this.onEntering,onEntered:this.onEntered,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},this.v3?function(){return[i]}:[i])}},Y=U,X=n,Z=X.h,q=X.version&&"3"===X.version[0],J={position:"absolute",top:"0",left:"0"},Q={props:{appear:{type:Boolean,default:!1},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!0},stackChildren:{type:Boolean,default:!1},transitionEnterDuration:{type:Number,default:300},transitionExitDuration:{type:Number,default:300},childFactory:Object,className:String,direction:{type:String,default:"out"},tag:String,id:String},setup:q?function(){return{v3:!!q}}:void 0,render:function(e){var t=Z||e,i=Object(s.getDefaultSlots)(this),n="zoom-"+this.$props.direction;return t(C,{transitionName:n,attrs:this.v3?void 0:{transitionName:n,appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration,animationExitingStyle:this.$props.stackChildren?J:void 0},appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration,animationExitingStyle:this.$props.stackChildren?J:void 0},this.v3?function(){return[i]}:[i])}},ee=Q,te=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(i[n[r]]=e[n[r]])}return i},ie=n,ne=ie.h,re=ie.version&&"3"===ie.version[0],oe=function(){},ae={props:{appear:{type:Boolean,default:!1},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!0},transitionEnterDuration:{type:Number,default:300},transitionExitDuration:{type:Number,default:300},childFactory:Object,className:String,direction:{type:String,default:"vertical"},tag:String,id:String},data:function(){return{maxHeight:"",maxWidth:""}},methods:{componentWillEnter:function(e){var t=this.$props.onEnter;this.updateContainerDimensions(e.animatedElement,(function(){t&&t.call(void 0,e)}))},componentIsEntering:function(e){var t=this.$props.onEntering;this.updateContainerDimensions(e.animatedElement,(function(){t&&t.call(void 0,e)}))},componentWillExit:function(e){var t=this.$props.onExit;this.updateContainerDimensions(e.animatedElement,(function(){t&&t.call(void 0,e)}))},updateContainerDimensions:function(e,t){void 0===t&&(t=oe);var i=e?e.firstElementChild:null;if(i){var n=r(i),a=o(i);this.$data.maxHeight=n,this.$data.maxWidth=a,t()}}},computed:{animationEnteringStyle:{get:function(){var e;return{maxHeight:(e="vertical"===this.$props.direction?{maxHeight:this.maxHeight?this.maxHeight+"px":null}:{maxWidth:this.maxWidth?this.maxWidth+"px":null}).maxHeight,maxWidth:e.maxWidth}}}},setup:re?function(){return{v3:!!re}}:void 0,render:function(e){var t=ne||e,i=Object(s.getDefaultSlots)(this),n=this.$props,r=(n.direction,n.childFactory,te(n,["direction","childFactory"]),"reveal-"+this.$props.direction);return t(C,{appear:this.$props.appear,attrs:this.v3?void 0:{appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration,animationEnteringStyle:this.animationEnteringStyle,transitionName:r},enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration,onEnter:this.componentWillEnter,on:this.v3?void 0:{enter:this.componentWillEnter,entering:this.componentIsEntering,exit:this.componentWillExit},onEntering:this.componentIsEntering,onExit:this.componentWillExit,animationEnteringStyle:this.animationEnteringStyle,transitionName:r},this.v3?function(){return[i]}:[i])}},se=ae,de=function(e,t,i){void 0===t&&(t=0),void 0===i&&(i=0);var n,r=e.duration,o=t&&1-t;e.onStart&&e.onStart();return i=window.requestAnimationFrame((function a(s){n||(n=s);var d=(s-n+1)/r+o;d<=1?(e.onUpdate&&e.onUpdate(d),i=window.requestAnimationFrame(a),t=d):(e.onEnd&&e.onEnd(1),t=0)}))},ue=function(e){e&&window.cancelAnimationFrame(e)}}])}));
@@ -5,7 +5,7 @@ export var packageMetadata = {
5
5
  name: '@progress/kendo-vue-treeview',
6
6
  productName: 'Kendo UI for Vue',
7
7
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
8
- publishDate: 1658485762,
8
+ publishDate: 1659331134,
9
9
  version: '',
10
10
  licensingDocsUrl: 'https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning'
11
11
  };
@@ -8,7 +8,7 @@ exports.packageMetadata = {
8
8
  name: '@progress/kendo-vue-treeview',
9
9
  productName: 'Kendo UI for Vue',
10
10
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
11
- publishDate: 1658485762,
11
+ publishDate: 1659331134,
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,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-vue-treeview",
3
- "version": "3.4.4",
3
+ "version": "3.4.5",
4
4
  "description": "Kendo Ui for Vue TreeView package",
5
5
  "repository": {
6
6
  "type": "git",
@@ -34,14 +34,14 @@
34
34
  "vue": "^2.6.12 || ^3.0.2"
35
35
  },
36
36
  "dependencies": {
37
- "@progress/kendo-vue-common": "3.4.4"
37
+ "@progress/kendo-vue-common": "3.4.5"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@progress/kendo-licensing": "^1.0.1",
41
- "@progress/kendo-vue-animation": "3.4.4",
42
- "@progress/kendo-vue-dropdowns": "3.4.4",
43
- "@progress/kendo-vue-inputs": "3.4.4",
44
- "@progress/kendo-vue-intl": "3.4.4"
41
+ "@progress/kendo-vue-animation": "3.4.5",
42
+ "@progress/kendo-vue-dropdowns": "3.4.5",
43
+ "@progress/kendo-vue-inputs": "3.4.5",
44
+ "@progress/kendo-vue-intl": "3.4.5"
45
45
  },
46
46
  "@progress": {
47
47
  "friendlyName": "TreeView",