@syncfusion/ej2-vue-navigations
Advanced tools
Comparing version 18.1.36-beta to 18.1.42
@@ -5,2 +5,16 @@ # Changelog | ||
### ContextMenu | ||
#### Bug Fixes | ||
- `F152308` - Context menu popup position misaligned while using `beforeOpen` event has been resolved. | ||
### Menu | ||
#### Bug Fixes | ||
- Menu not working properly when collapsing the sub menu in hamburger mode has been resolved. | ||
## 18.1.36-beta (2020-03-19) | ||
### TreeView | ||
@@ -7,0 +21,0 @@ |
/*! | ||
* filename: ej2-vue-navigations.umd.min.js | ||
* version : 18.1.36-beta | ||
* version : 18.1.42 | ||
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved. | ||
@@ -10,3 +10,3 @@ * Use of this code is subject to the terms of our license. | ||
*/ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-navigations"),require("vue"),require("@syncfusion/ej2-vue-base"),require("@syncfusion/ej2-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-navigations","vue","@syncfusion/ej2-vue-base","@syncfusion/ej2-base"],t):t(e.ej={},e.ej2Navigations,e.Vue,e.ej2VueBase,e.ej2Base)}(this,function(e,t,n,o,r){"use strict";n=n&&n.hasOwnProperty("default")?n.default:n;var s=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),i=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.prototype.render=function(){},t=i([o.EJComponentDecorator({})],t)}(n),a={name:"e-accordionitems",install:function(e){e.component(a.name,c)}},p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.prototype.render=function(){},t=i([o.EJComponentDecorator({})],t)}(n),u={name:"e-accordionitem",install:function(e){e.component(u.name,p)}},l=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),f=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},d=["animation","dataSource","enablePersistence","enableRtl","expandMode","headerTemplate","height","itemTemplate","items","locale","width","clicked","created","destroyed","expanded","expanding"],h=[],m=function(e){function n(){var n=e.call(this)||this;return n.propKeys=d,n.models=h,n.hasChildDirective=!0,n.hasInjectedModules=!1,n.tagMapper={"e-accordionitems":"e-accordionitem"},n.tagNameMapper={"e-accordionitems":"e-items"},n.ej2Instances=new t.Accordion({}),n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n}return l(n,e),n.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},n.prototype.render=function(e){return e("div",this.$slots.default)},n.prototype.addItem=function(e,t){return this.ej2Instances.addItem(e,t)},n.prototype.enableItem=function(e,t){return this.ej2Instances.enableItem(e,t)},n.prototype.expandItem=function(e,t){return this.ej2Instances.expandItem(e,t)},n.prototype.hideItem=function(e,t){return this.ej2Instances.hideItem(e,t)},n.prototype.refresh=function(){return this.ej2Instances.refresh()},n.prototype.removeItem=function(e){return this.ej2Instances.removeItem(e)},n.prototype.select=function(e){return this.ej2Instances.select(e)},n=f([o.EJComponentDecorator({props:d})],n)}(o.ComponentBase),y={name:"ejs-accordion",install:function(e){e.component(y.name,m),e.component(u.name,p),e.component(a.name,c)}},j=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),I=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},b=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return j(t,e),t.prototype.render=function(){},t=I([o.EJComponentDecorator({})],t)}(n),g={name:"e-items",install:function(e){e.component(g.name,b)}},P=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return j(t,e),t.prototype.render=function(){},t=I([o.EJComponentDecorator({})],t)}(n),_={name:"e-item",install:function(e){e.component(_.name,P)}},v=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),O=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},w=["cssClass","enableCollision","enableHtmlSanitizer","enablePersistence","enableRtl","height","items","locale","overflowMode","scrollStep","width","beforeCreate","clicked","created","destroyed"],C=[],D=function(e){function n(){var n=e.call(this)||this;return n.propKeys=w,n.models=C,n.hasChildDirective=!0,n.hasInjectedModules=!1,n.tagMapper={"e-items":"e-item"},n.tagNameMapper={},n.ej2Instances=new t.Toolbar({}),n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n}return v(n,e),n.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},n.prototype.render=function(e){return e("div",this.$slots.default)},n.prototype.addItems=function(e,t){return this.ej2Instances.addItems(e,t)},n.prototype.disable=function(e){return this.ej2Instances.disable(e)},n.prototype.enableItems=function(e,t){return this.ej2Instances.enableItems(e,t)},n.prototype.hideItem=function(e,t){return this.ej2Instances.hideItem(e,t)},n.prototype.refreshOverflow=function(){return this.ej2Instances.refreshOverflow()},n.prototype.removeItems=function(e){return this.ej2Instances.removeItems(e)},n=O([o.EJComponentDecorator({props:w})],n)}(o.ComponentBase),R={name:"ejs-toolbar",install:function(e){e.component(R.name,D),e.component(_.name,P),e.component(g.name,b)}},M=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),A=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},N=["animationSettings","cssClass","enableHtmlSanitizer","enablePersistence","enableRtl","enableScrolling","fields","filter","items","locale","showItemOnClick","target","template","beforeClose","beforeItemRender","beforeOpen","created","onClose","onOpen","select"],k=[],T=function(e){function n(){var n=e.call(this)||this;return n.propKeys=N,n.models=k,n.hasChildDirective=!1,n.hasInjectedModules=!1,n.tagMapper={},n.tagNameMapper={},n.ej2Instances=new t.ContextMenu({}),n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n}return M(n,e),n.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},n.prototype.render=function(e){return e("ul",this.$slots.default)},n.prototype.close=function(){return this.ej2Instances.close()},n.prototype.enableItems=function(e,t,n){return this.ej2Instances.enableItems(e,t,n)},n.prototype.hideItems=function(e,t){return this.ej2Instances.hideItems(e,t)},n.prototype.insertAfter=function(e,t,n){return this.ej2Instances.insertAfter(e,t,n)},n.prototype.insertBefore=function(e,t,n){return this.ej2Instances.insertBefore(e,t,n)},n.prototype.open=function(e,t,n){return this.ej2Instances.open(e,t,n)},n.prototype.removeItems=function(e,t){return this.ej2Instances.removeItems(e,t)},n.prototype.showItems=function(e,t){return this.ej2Instances.showItems(e,t)},n=A([o.EJComponentDecorator({props:N})],n)}(o.ComponentBase),E={name:"ejs-contextmenu",install:function(e){e.component(E.name,T)}},S=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),x=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},B=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return S(t,e),t.prototype.render=function(){},t=x([o.EJComponentDecorator({})],t)}(n),$={name:"e-tabitems",install:function(e){e.component($.name,B)}},J=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return S(t,e),t.prototype.render=function(){},t=x([o.EJComponentDecorator({})],t)}(n),K={name:"e-tabitem",install:function(e){e.component(K.name,J)}},V=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),z=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},q=["animation","cssClass","enablePersistence","enableRtl","headerPlacement","height","heightAdjustMode","items","loadOn","locale","overflowMode","scrollStep","selectedItem","showCloseButton","width","added","adding","created","destroyed","removed","removing","selected","selecting"],H=[],F=function(e){function n(){var n=e.call(this)||this;return n.propKeys=q,n.models=H,n.hasChildDirective=!0,n.hasInjectedModules=!1,n.tagMapper={"e-tabitems":"e-tabitem"},n.tagNameMapper={"e-tabitems":"e-items"},n.ej2Instances=new t.Tab({}),n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n}return V(n,e),n.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},n.prototype.render=function(e){return e("div",this.$slots.default)},n.prototype.addTab=function(e,t){return this.ej2Instances.addTab(e,t)},n.prototype.disable=function(e){return this.ej2Instances.disable(e)},n.prototype.enableTab=function(e,t){return this.ej2Instances.enableTab(e,t)},n.prototype.hideTab=function(e,t){return this.ej2Instances.hideTab(e,t)},n.prototype.refresh=function(){return this.ej2Instances.refresh()},n.prototype.removeTab=function(e){return this.ej2Instances.removeTab(e)},n.prototype.select=function(e){return this.ej2Instances.select(e)},n=z([o.EJComponentDecorator({props:q})],n)}(o.ComponentBase),G={name:"ejs-tab",install:function(e){e.component(G.name,F),e.component(K.name,J),e.component($.name,B)}},Q=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),U=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},L=["allowDragAndDrop","allowEditing","allowMultiSelection","animation","autoCheck","checkedNodes","cssClass","disabled","enableHtmlSanitizer","enablePersistence","enableRtl","expandOn","expandedNodes","fields","fullRowNavigable","fullRowSelect","loadOnDemand","locale","nodeTemplate","selectedNodes","showCheckBox","sortOrder","actionFailure","created","dataBound","dataSourceChanged","destroyed","drawNode","keyPress","nodeChecked","nodeChecking","nodeClicked","nodeCollapsed","nodeCollapsing","nodeDragStart","nodeDragStop","nodeDragging","nodeDropped","nodeEdited","nodeEditing","nodeExpanded","nodeExpanding","nodeSelected","nodeSelecting"],W=[],X=function(e){function n(){var n=e.call(this)||this;return n.propKeys=L,n.models=W,n.hasChildDirective=!1,n.hasInjectedModules=!1,n.tagMapper={},n.tagNameMapper={},n.ej2Instances=new t.TreeView({}),n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n}return Q(n,e),n.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},n.prototype.render=function(e){return e("div",this.$slots.default)},n.prototype.addNodes=function(e,t,n,o){return this.ej2Instances.addNodes(e,t,n,o)},n.prototype.beginEdit=function(e){return this.ej2Instances.beginEdit(e)},n.prototype.checkAll=function(e){return this.ej2Instances.checkAll(e)},n.prototype.collapseAll=function(e,t,n){return this.ej2Instances.collapseAll(e,t,n)},n.prototype.disableNodes=function(e){return this.ej2Instances.disableNodes(e)},n.prototype.enableNodes=function(e){return this.ej2Instances.enableNodes(e)},n.prototype.ensureVisible=function(e){return this.ej2Instances.ensureVisible(e)},n.prototype.expandAll=function(e,t,n){return this.ej2Instances.expandAll(e,t,n)},n.prototype.getAllCheckedNodes=function(){return this.ej2Instances.getAllCheckedNodes()},n.prototype.getDisabledNodes=function(){return this.ej2Instances.getDisabledNodes()},n.prototype.getNode=function(e){return this.ej2Instances.getNode(e)},n.prototype.getTreeData=function(e){return this.ej2Instances.getTreeData(e)},n.prototype.moveNodes=function(e,t,n,o){return this.ej2Instances.moveNodes(e,t,n,o)},n.prototype.refreshNode=function(e,t){return this.ej2Instances.refreshNode(e,t)},n.prototype.removeNodes=function(e){return this.ej2Instances.removeNodes(e)},n.prototype.uncheckAll=function(e){return this.ej2Instances.uncheckAll(e)},n.prototype.updateNode=function(e,t){return this.ej2Instances.updateNode(e,t)},n=U([o.EJComponentDecorator({props:L})],n)}(o.ComponentBase),Y={name:"ejs-treeview",install:function(e){e.component(Y.name,X)}},Z=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),ee=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},te=["animate","closeOnDocumentClick","dockSize","enableDock","enableGestures","enablePersistence","enableRtl","height","isOpen","locale","mediaQuery","position","showBackdrop","target","type","width","zIndex","change","close","created","destroyed","open"],ne=["isOpen"],oe=function(e){function n(){var n=e.call(this)||this;return n.propKeys=te,n.models=ne,n.hasChildDirective=!1,n.hasInjectedModules=!1,n.tagMapper={},n.tagNameMapper={},n.ej2Instances=new t.Sidebar({}),n.ej2Instances._trigger=n.ej2Instances.trigger,n.ej2Instances.trigger=n.trigger,n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n}return Z(n,e),n.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},n.prototype.trigger=function(e,t,n){if(("change"===e||"input"===e)&&this.models&&0!==this.models.length){var o=this.models.toString().match(/checked|value/)||[],s=o[0];t&&o&&!r.isUndefined(t[s])&&(this.$emit("update:"+s,t[s]),this.$emit("modelchanged",t[s]))}this.ej2Instances&&this.ej2Instances._trigger&&this.ej2Instances._trigger(e,t,n)},n.prototype.render=function(e){return e("div",this.$slots.default)},n.prototype.hide=function(e){return this.ej2Instances.hide(e)},n.prototype.show=function(e){return this.ej2Instances.show(e)},n.prototype.toggle=function(e){return this.ej2Instances.toggle(e)},n=ee([o.EJComponentDecorator({props:te,model:{event:"modelchanged"}})],n)}(o.ComponentBase),re={name:"ejs-sidebar",install:function(e){e.component(re.name,oe)}},se=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),ie=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},ce=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return se(t,e),t.prototype.render=function(){},t=ie([o.EJComponentDecorator({})],t)}(n),ae={name:"e-menu-items",install:function(e){e.component(ae.name,ce)}},pe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return se(t,e),t.prototype.render=function(){},t=ie([o.EJComponentDecorator({})],t)}(n),ue={name:"e-",install:function(e){e.component(ue.name,pe)}},le=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),fe=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},de=["animationSettings","cssClass","enableHtmlSanitizer","enablePersistence","enableRtl","enableScrolling","fields","filter","hamburgerMode","items","locale","orientation","showItemOnClick","target","template","title","beforeClose","beforeItemRender","beforeOpen","created","onClose","onOpen","select"],he=[],me=function(e){function n(){var n=e.call(this)||this;return n.propKeys=de,n.models=he,n.hasChildDirective=!0,n.hasInjectedModules=!1,n.tagMapper={"e-menu-items":"e-"},n.tagNameMapper={"e-menu-items":"e-items"},n.ej2Instances=new t.Menu({}),n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n}return le(n,e),n.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},n.prototype.render=function(e){return e("ul",this.$slots.default)},n.prototype.close=function(){return this.ej2Instances.close()},n.prototype.enableItems=function(e,t,n){return this.ej2Instances.enableItems(e,t,n)},n.prototype.hideItems=function(e,t){return this.ej2Instances.hideItems(e,t)},n.prototype.insertAfter=function(e,t,n){return this.ej2Instances.insertAfter(e,t,n)},n.prototype.insertBefore=function(e,t,n){return this.ej2Instances.insertBefore(e,t,n)},n.prototype.open=function(){return this.ej2Instances.open()},n.prototype.removeItems=function(e,t){return this.ej2Instances.removeItems(e,t)},n.prototype.showItems=function(e,t){return this.ej2Instances.showItems(e,t)},n=fe([o.EJComponentDecorator({props:de})],n)}(o.ComponentBase),ye={name:"ejs-menu",install:function(e){e.component(ye.name,me),e.component(ue.name,pe),e.component(ae.name,ce)}};e.AccordionItemsDirective=c,e.AccordionItemDirective=p,e.AccordionItemsPlugin=a,e.AccordionItemPlugin=u,e.AccordionComponent=m,e.AccordionPlugin=y,e.ItemsDirective=b,e.ItemDirective=P,e.ItemsPlugin=g,e.ItemPlugin=_,e.ToolbarComponent=D,e.ToolbarPlugin=R,e.ContextMenuComponent=T,e.ContextMenuPlugin=E,e.TabItemsDirective=B,e.TabItemDirective=J,e.TabItemsPlugin=$,e.TabItemPlugin=K,e.TabComponent=F,e.TabPlugin=G,e.TreeViewComponent=X,e.TreeViewPlugin=Y,e.SidebarComponent=oe,e.SidebarPlugin=re,e.MenuItemsDirective=ce,e.MenuItemDirective=pe,e.MenuItemsPlugin=ae,e.MenuItemPlugin=ue,e.MenuComponent=me,e.MenuPlugin=ye,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})}); | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-navigations"),require("vue"),require("@syncfusion/ej2-vue-base"),require("@syncfusion/ej2-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-navigations","vue","@syncfusion/ej2-vue-base","@syncfusion/ej2-base"],t):t(e.ej={},e.ej2Navigations,e.Vue,e.ej2VueBase,e.ej2Base)}(this,function(e,t,n,o,r){"use strict";n=n&&n.hasOwnProperty("default")?n.default:n;var s=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),i=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.prototype.render=function(){},t=i([o.EJComponentDecorator({})],t)}(n),a={name:"e-accordionitems",install:function(e){e.component(a.name,c)}},p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.prototype.render=function(){},t=i([o.EJComponentDecorator({})],t)}(n),u={name:"e-accordionitem",install:function(e){e.component(u.name,p)}},l=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),f=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},d=["animation","dataSource","enablePersistence","enableRtl","expandMode","headerTemplate","height","itemTemplate","items","locale","width","clicked","created","destroyed","expanded","expanding"],h=[],m=function(e){function n(){var n=e.call(this)||this;return n.propKeys=d,n.models=h,n.hasChildDirective=!0,n.hasInjectedModules=!1,n.tagMapper={"e-accordionitems":"e-accordionitem"},n.tagNameMapper={"e-accordionitems":"e-items"},n.ej2Instances=new t.Accordion({}),n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n}return l(n,e),n.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},n.prototype.render=function(e){return e("div",this.$slots.default)},n.prototype.addItem=function(e,t){return this.ej2Instances.addItem(e,t)},n.prototype.enableItem=function(e,t){return this.ej2Instances.enableItem(e,t)},n.prototype.expandItem=function(e,t){return this.ej2Instances.expandItem(e,t)},n.prototype.hideItem=function(e,t){return this.ej2Instances.hideItem(e,t)},n.prototype.refresh=function(){return this.ej2Instances.refresh()},n.prototype.removeItem=function(e){return this.ej2Instances.removeItem(e)},n.prototype.select=function(e){return this.ej2Instances.select(e)},n=f([o.EJComponentDecorator({props:d})],n)}(o.ComponentBase),y={name:"ejs-accordion",install:function(e){e.component(y.name,m),e.component(u.name,p),e.component(a.name,c)}},j=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),I=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},b=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return j(t,e),t.prototype.render=function(){},t=I([o.EJComponentDecorator({})],t)}(n),g={name:"e-items",install:function(e){e.component(g.name,b)}},P=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return j(t,e),t.prototype.render=function(){},t=I([o.EJComponentDecorator({})],t)}(n),_={name:"e-item",install:function(e){e.component(_.name,P)}},v=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),O=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},w=["allowKeyboard","cssClass","enableCollision","enableHtmlSanitizer","enablePersistence","enableRtl","height","items","locale","overflowMode","scrollStep","width","beforeCreate","clicked","created","destroyed"],C=[],D=function(e){function n(){var n=e.call(this)||this;return n.propKeys=w,n.models=C,n.hasChildDirective=!0,n.hasInjectedModules=!1,n.tagMapper={"e-items":"e-item"},n.tagNameMapper={},n.ej2Instances=new t.Toolbar({}),n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n}return v(n,e),n.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},n.prototype.render=function(e){return e("div",this.$slots.default)},n.prototype.addItems=function(e,t){return this.ej2Instances.addItems(e,t)},n.prototype.disable=function(e){return this.ej2Instances.disable(e)},n.prototype.enableItems=function(e,t){return this.ej2Instances.enableItems(e,t)},n.prototype.hideItem=function(e,t){return this.ej2Instances.hideItem(e,t)},n.prototype.refreshOverflow=function(){return this.ej2Instances.refreshOverflow()},n.prototype.removeItems=function(e){return this.ej2Instances.removeItems(e)},n=O([o.EJComponentDecorator({props:w})],n)}(o.ComponentBase),R={name:"ejs-toolbar",install:function(e){e.component(R.name,D),e.component(_.name,P),e.component(g.name,b)}},M=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),A=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},N=["animationSettings","cssClass","enableHtmlSanitizer","enablePersistence","enableRtl","enableScrolling","fields","filter","items","locale","showItemOnClick","target","template","beforeClose","beforeItemRender","beforeOpen","created","onClose","onOpen","select"],k=[],T=function(e){function n(){var n=e.call(this)||this;return n.propKeys=N,n.models=k,n.hasChildDirective=!1,n.hasInjectedModules=!1,n.tagMapper={},n.tagNameMapper={},n.ej2Instances=new t.ContextMenu({}),n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n}return M(n,e),n.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},n.prototype.render=function(e){return e("ul",this.$slots.default)},n.prototype.close=function(){return this.ej2Instances.close()},n.prototype.enableItems=function(e,t,n){return this.ej2Instances.enableItems(e,t,n)},n.prototype.hideItems=function(e,t){return this.ej2Instances.hideItems(e,t)},n.prototype.insertAfter=function(e,t,n){return this.ej2Instances.insertAfter(e,t,n)},n.prototype.insertBefore=function(e,t,n){return this.ej2Instances.insertBefore(e,t,n)},n.prototype.open=function(e,t,n){return this.ej2Instances.open(e,t,n)},n.prototype.removeItems=function(e,t){return this.ej2Instances.removeItems(e,t)},n.prototype.showItems=function(e,t){return this.ej2Instances.showItems(e,t)},n=A([o.EJComponentDecorator({props:N})],n)}(o.ComponentBase),S={name:"ejs-contextmenu",install:function(e){e.component(S.name,T)}},E=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),x=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},B=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return E(t,e),t.prototype.render=function(){},t=x([o.EJComponentDecorator({})],t)}(n),$={name:"e-tabitems",install:function(e){e.component($.name,B)}},J=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return E(t,e),t.prototype.render=function(){},t=x([o.EJComponentDecorator({})],t)}(n),K={name:"e-tabitem",install:function(e){e.component(K.name,J)}},V=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),z=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},q=["animation","cssClass","enablePersistence","enableRtl","headerPlacement","height","heightAdjustMode","items","loadOn","locale","overflowMode","scrollStep","selectedItem","showCloseButton","width","added","adding","created","destroyed","removed","removing","selected","selecting"],H=[],U=function(e){function n(){var n=e.call(this)||this;return n.propKeys=q,n.models=H,n.hasChildDirective=!0,n.hasInjectedModules=!1,n.tagMapper={"e-tabitems":"e-tabitem"},n.tagNameMapper={"e-tabitems":"e-items"},n.ej2Instances=new t.Tab({}),n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n}return V(n,e),n.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},n.prototype.render=function(e){return e("div",this.$slots.default)},n.prototype.addTab=function(e,t){return this.ej2Instances.addTab(e,t)},n.prototype.disable=function(e){return this.ej2Instances.disable(e)},n.prototype.enableTab=function(e,t){return this.ej2Instances.enableTab(e,t)},n.prototype.hideTab=function(e,t){return this.ej2Instances.hideTab(e,t)},n.prototype.refresh=function(){return this.ej2Instances.refresh()},n.prototype.removeTab=function(e){return this.ej2Instances.removeTab(e)},n.prototype.select=function(e){return this.ej2Instances.select(e)},n=z([o.EJComponentDecorator({props:q})],n)}(o.ComponentBase),F={name:"ejs-tab",install:function(e){e.component(F.name,U),e.component(K.name,J),e.component($.name,B)}},G=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Q=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},L=["allowDragAndDrop","allowEditing","allowMultiSelection","animation","autoCheck","checkedNodes","cssClass","disabled","enableHtmlSanitizer","enablePersistence","enableRtl","expandOn","expandedNodes","fields","fullRowNavigable","fullRowSelect","loadOnDemand","locale","nodeTemplate","selectedNodes","showCheckBox","sortOrder","actionFailure","created","dataBound","dataSourceChanged","destroyed","drawNode","keyPress","nodeChecked","nodeChecking","nodeClicked","nodeCollapsed","nodeCollapsing","nodeDragStart","nodeDragStop","nodeDragging","nodeDropped","nodeEdited","nodeEditing","nodeExpanded","nodeExpanding","nodeSelected","nodeSelecting"],W=[],X=function(e){function n(){var n=e.call(this)||this;return n.propKeys=L,n.models=W,n.hasChildDirective=!1,n.hasInjectedModules=!1,n.tagMapper={},n.tagNameMapper={},n.ej2Instances=new t.TreeView({}),n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n}return G(n,e),n.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},n.prototype.render=function(e){return e("div",this.$slots.default)},n.prototype.addNodes=function(e,t,n,o){return this.ej2Instances.addNodes(e,t,n,o)},n.prototype.beginEdit=function(e){return this.ej2Instances.beginEdit(e)},n.prototype.checkAll=function(e){return this.ej2Instances.checkAll(e)},n.prototype.collapseAll=function(e,t,n){return this.ej2Instances.collapseAll(e,t,n)},n.prototype.disableNodes=function(e){return this.ej2Instances.disableNodes(e)},n.prototype.enableNodes=function(e){return this.ej2Instances.enableNodes(e)},n.prototype.ensureVisible=function(e){return this.ej2Instances.ensureVisible(e)},n.prototype.expandAll=function(e,t,n){return this.ej2Instances.expandAll(e,t,n)},n.prototype.getAllCheckedNodes=function(){return this.ej2Instances.getAllCheckedNodes()},n.prototype.getDisabledNodes=function(){return this.ej2Instances.getDisabledNodes()},n.prototype.getNode=function(e){return this.ej2Instances.getNode(e)},n.prototype.getTreeData=function(e){return this.ej2Instances.getTreeData(e)},n.prototype.moveNodes=function(e,t,n,o){return this.ej2Instances.moveNodes(e,t,n,o)},n.prototype.refreshNode=function(e,t){return this.ej2Instances.refreshNode(e,t)},n.prototype.removeNodes=function(e){return this.ej2Instances.removeNodes(e)},n.prototype.uncheckAll=function(e){return this.ej2Instances.uncheckAll(e)},n.prototype.updateNode=function(e,t){return this.ej2Instances.updateNode(e,t)},n=Q([o.EJComponentDecorator({props:L})],n)}(o.ComponentBase),Y={name:"ejs-treeview",install:function(e){e.component(Y.name,X)}},Z=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),ee=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},te=["animate","closeOnDocumentClick","dockSize","enableDock","enableGestures","enablePersistence","enableRtl","height","isOpen","locale","mediaQuery","position","showBackdrop","target","type","width","zIndex","change","close","created","destroyed","open"],ne=["isOpen"],oe=function(e){function n(){var n=e.call(this)||this;return n.propKeys=te,n.models=ne,n.hasChildDirective=!1,n.hasInjectedModules=!1,n.tagMapper={},n.tagNameMapper={},n.ej2Instances=new t.Sidebar({}),n.ej2Instances._trigger=n.ej2Instances.trigger,n.ej2Instances.trigger=n.trigger,n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n}return Z(n,e),n.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},n.prototype.trigger=function(e,t,n){if("change"!==e&&"input"!==e||!this.models||0===this.models.length){if("actionBegin"===e&&"dateNavigate"===t.requestType&&this.models&&0!==this.models.length){s=(o=this.models.toString().match(/currentView|selectedDate/)||[])[0];t&&o&&!r.isUndefined(t[s])&&(this.$emit("update:"+s,t[s]),this.$emit("modelchanged",t[s]))}}else{var o,s=(o=this.models.toString().match(/checked|value/)||[])[0];t&&o&&!r.isUndefined(t[s])&&(this.$emit("update:"+s,t[s]),this.$emit("modelchanged",t[s]))}this.ej2Instances&&this.ej2Instances._trigger&&this.ej2Instances._trigger(e,t,n)},n.prototype.render=function(e){return e("div",this.$slots.default)},n.prototype.hide=function(e){return this.ej2Instances.hide(e)},n.prototype.show=function(e){return this.ej2Instances.show(e)},n.prototype.toggle=function(e){return this.ej2Instances.toggle(e)},n=ee([o.EJComponentDecorator({props:te,model:{event:"modelchanged"}})],n)}(o.ComponentBase),re={name:"ejs-sidebar",install:function(e){e.component(re.name,oe)}},se=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),ie=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},ce=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return se(t,e),t.prototype.render=function(){},t=ie([o.EJComponentDecorator({})],t)}(n),ae={name:"e-menu-items",install:function(e){e.component(ae.name,ce)}},pe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return se(t,e),t.prototype.render=function(){},t=ie([o.EJComponentDecorator({})],t)}(n),ue={name:"e-",install:function(e){e.component(ue.name,pe)}},le=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),fe=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},de=["animationSettings","cssClass","enableHtmlSanitizer","enablePersistence","enableRtl","enableScrolling","fields","filter","hamburgerMode","items","locale","orientation","showItemOnClick","target","template","title","beforeClose","beforeItemRender","beforeOpen","created","onClose","onOpen","select"],he=[],me=function(e){function n(){var n=e.call(this)||this;return n.propKeys=de,n.models=he,n.hasChildDirective=!0,n.hasInjectedModules=!1,n.tagMapper={"e-menu-items":"e-"},n.tagNameMapper={"e-menu-items":"e-items"},n.ej2Instances=new t.Menu({}),n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n}return le(n,e),n.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},n.prototype.render=function(e){return e("ul",this.$slots.default)},n.prototype.close=function(){return this.ej2Instances.close()},n.prototype.enableItems=function(e,t,n){return this.ej2Instances.enableItems(e,t,n)},n.prototype.hideItems=function(e,t){return this.ej2Instances.hideItems(e,t)},n.prototype.insertAfter=function(e,t,n){return this.ej2Instances.insertAfter(e,t,n)},n.prototype.insertBefore=function(e,t,n){return this.ej2Instances.insertBefore(e,t,n)},n.prototype.open=function(){return this.ej2Instances.open()},n.prototype.removeItems=function(e,t){return this.ej2Instances.removeItems(e,t)},n.prototype.showItems=function(e,t){return this.ej2Instances.showItems(e,t)},n=fe([o.EJComponentDecorator({props:de})],n)}(o.ComponentBase),ye={name:"ejs-menu",install:function(e){e.component(ye.name,me),e.component(ue.name,pe),e.component(ae.name,ce)}};e.AccordionItemsDirective=c,e.AccordionItemDirective=p,e.AccordionItemsPlugin=a,e.AccordionItemPlugin=u,e.AccordionComponent=m,e.AccordionPlugin=y,e.ItemsDirective=b,e.ItemDirective=P,e.ItemsPlugin=g,e.ItemPlugin=_,e.ToolbarComponent=D,e.ToolbarPlugin=R,e.ContextMenuComponent=T,e.ContextMenuPlugin=S,e.TabItemsDirective=B,e.TabItemDirective=J,e.TabItemsPlugin=$,e.TabItemPlugin=K,e.TabComponent=U,e.TabPlugin=F,e.TreeViewComponent=X,e.TreeViewPlugin=Y,e.SidebarComponent=oe,e.SidebarPlugin=re,e.MenuItemsDirective=ce,e.MenuItemDirective=pe,e.MenuItemsPlugin=ae,e.MenuItemPlugin=ue,e.MenuComponent=me,e.MenuPlugin=ye,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})}); | ||
//# sourceMappingURL=ej2-vue-navigations.umd.min.js.map |
@@ -187,3 +187,3 @@ import { Accordion, ContextMenu, Menu, Sidebar, Tab, Toolbar, TreeView } from '@syncfusion/ej2-navigations'; | ||
}; | ||
const properties$1 = ['cssClass', 'enableCollision', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'height', 'items', 'locale', 'overflowMode', 'scrollStep', 'width', 'beforeCreate', 'clicked', 'created', 'destroyed']; | ||
const properties$1 = ['allowKeyboard', 'cssClass', 'enableCollision', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'height', 'items', 'locale', 'overflowMode', 'scrollStep', 'width', 'beforeCreate', 'clicked', 'created', 'destroyed']; | ||
const modelProps$1 = []; | ||
@@ -633,2 +633,10 @@ /** | ||
} | ||
else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) { | ||
let key = this.models.toString().match(/currentView|selectedDate/) || []; | ||
let propKey = key[0]; | ||
if (eventProp && key && !isUndefined(eventProp[propKey])) { | ||
this.$emit('update:' + propKey, eventProp[propKey]); | ||
this.$emit('modelchanged', eventProp[propKey]); | ||
} | ||
} | ||
if (this.ej2Instances && this.ej2Instances._trigger) { | ||
@@ -635,0 +643,0 @@ this.ej2Instances._trigger(eventName, eventProp, successHandler); |
@@ -263,3 +263,3 @@ import { Accordion, ContextMenu, Menu, Sidebar, Tab, Toolbar, TreeView } from '@syncfusion/ej2-navigations'; | ||
}; | ||
var properties$1 = ['cssClass', 'enableCollision', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'height', 'items', 'locale', 'overflowMode', 'scrollStep', 'width', 'beforeCreate', 'clicked', 'created', 'destroyed']; | ||
var properties$1 = ['allowKeyboard', 'cssClass', 'enableCollision', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'height', 'items', 'locale', 'overflowMode', 'scrollStep', 'width', 'beforeCreate', 'clicked', 'created', 'destroyed']; | ||
var modelProps$1 = []; | ||
@@ -803,2 +803,10 @@ /** | ||
} | ||
else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) { | ||
var key = this.models.toString().match(/currentView|selectedDate/) || []; | ||
var propKey = key[0]; | ||
if (eventProp && key && !isUndefined(eventProp[propKey])) { | ||
this.$emit('update:' + propKey, eventProp[propKey]); | ||
this.$emit('modelchanged', eventProp[propKey]); | ||
} | ||
} | ||
if (this.ej2Instances && this.ej2Instances._trigger) { | ||
@@ -805,0 +813,0 @@ this.ej2Instances._trigger(eventName, eventProp, successHandler); |
{ | ||
"_from": "@syncfusion/ej2-vue-navigations@*", | ||
"_id": "@syncfusion/ej2-vue-navigations@17.4.50", | ||
"_id": "@syncfusion/ej2-vue-navigations@18.1.36", | ||
"_inBundle": false, | ||
"_integrity": "sha512-kclOxxXU4u4Hoy9+zcsyYTjE1/CpYK5dkqP7LHiKnw6G2PWtBwDTcFj0Rd6qyK0i4JJ5H69lEyZBBZb6S4SegA==", | ||
"_integrity": "sha512-KJ9yNJ+dReWSPVzqfJCFIU5tz8jGW6mmgsu476R4TsGvAUvLijnhIUczQ2Y5iWijiBTiCXtHSWfEoCml1zsbbg==", | ||
"_location": "/@syncfusion/ej2-vue-navigations", | ||
@@ -22,4 +22,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-vue-navigations/-/ej2-vue-navigations-17.4.50.tgz", | ||
"_shasum": "4766b08ea15aa73a48607e9b7714ab35edf2b9cb", | ||
"_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-vue-navigations/-/ej2-vue-navigations-18.1.36.tgz", | ||
"_shasum": "4329b8796761cc6fab42d496fbe9c328e4490750", | ||
"_spec": "@syncfusion/ej2-vue-navigations@*", | ||
@@ -35,5 +35,5 @@ "_where": "/jenkins/workspace/automation_release_18.1.0.1-52JLNOGRCDHXRVQM3W564VPLFCPHWUYDYU3I3DVRABSR7F6AIFYQ/packages/included", | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "~18.1.36-beta", | ||
"@syncfusion/ej2-navigations": "18.1.36-beta", | ||
"@syncfusion/ej2-vue-base": "~18.1.36-beta" | ||
"@syncfusion/ej2-base": "~18.1.42", | ||
"@syncfusion/ej2-navigations": "18.1.42", | ||
"@syncfusion/ej2-vue-base": "~18.1.42" | ||
}, | ||
@@ -155,4 +155,4 @@ "deprecated": false, | ||
}, | ||
"version": "18.1.36-beta", | ||
"version": "18.1.42", | ||
"sideEffects": false | ||
} |
@@ -73,2 +73,10 @@ var __extends = (this && this.__extends) || (function () { | ||
} | ||
else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) { | ||
var key = this.models.toString().match(/currentView|selectedDate/) || []; | ||
var propKey = key[0]; | ||
if (eventProp && key && !isUndefined(eventProp[propKey])) { | ||
this.$emit('update:' + propKey, eventProp[propKey]); | ||
this.$emit('modelchanged', eventProp[propKey]); | ||
} | ||
} | ||
if (this.ej2Instances && this.ej2Instances._trigger) { | ||
@@ -75,0 +83,0 @@ this.ej2Instances._trigger(eventName, eventProp, successHandler); |
@@ -23,3 +23,3 @@ var __extends = (this && this.__extends) || (function () { | ||
import { ItemsDirective, ItemDirective, ItemsPlugin, ItemPlugin } from './items.directive'; | ||
export var properties = ['cssClass', 'enableCollision', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'height', 'items', 'locale', 'overflowMode', 'scrollStep', 'width', 'beforeCreate', 'clicked', 'created', 'destroyed']; | ||
export var properties = ['allowKeyboard', 'cssClass', 'enableCollision', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'height', 'items', 'locale', 'overflowMode', 'scrollStep', 'width', 'beforeCreate', 'clicked', 'created', 'destroyed']; | ||
export var modelProps = []; | ||
@@ -26,0 +26,0 @@ /** |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
4813698
131889
1
+ Added@syncfusion/ej2-navigations@18.1.42(transitive)
- Removed@syncfusion/ej2-navigations@18.1.36-beta(transitive)