@syncfusion/ej2-vue-layouts 20.4.53 → 21.1.37

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.
Files changed (62) hide show
  1. package/CHANGELOG.md +0 -12
  2. package/dist/ej2-vue-layouts.umd.min.js +2 -2
  3. package/dist/ej2-vue-layouts.umd.min.js.map +1 -1
  4. package/dist/es6/ej2-vue-layouts.es2015.js +226 -336
  5. package/dist/es6/ej2-vue-layouts.es2015.js.map +1 -1
  6. package/dist/es6/ej2-vue-layouts.es5.js +257 -401
  7. package/dist/es6/ej2-vue-layouts.es5.js.map +1 -1
  8. package/dist/global/ej2-vue-layouts.min.js +2 -2
  9. package/package.json +11 -10
  10. package/src/dashboard-layout/dashboardlayout.component.d.ts +3 -30
  11. package/src/dashboard-layout/dashboardlayout.component.js +107 -136
  12. package/src/dashboard-layout/panels.directive.d.ts +2 -12
  13. package/src/dashboard-layout/panels.directive.js +22 -71
  14. package/src/splitter/panesettings.directive.d.ts +2 -12
  15. package/src/splitter/panesettings.directive.js +22 -71
  16. package/src/splitter/splitter.component.d.ts +3 -26
  17. package/src/splitter/splitter.component.js +95 -124
  18. package/styles/avatar/bootstrap-dark.css +3 -0
  19. package/styles/avatar/bootstrap.css +3 -0
  20. package/styles/avatar/bootstrap4.css +3 -0
  21. package/styles/avatar/bootstrap5-dark.css +3 -0
  22. package/styles/avatar/bootstrap5.css +3 -0
  23. package/styles/avatar/fabric-dark.css +3 -0
  24. package/styles/avatar/fabric.css +3 -0
  25. package/styles/avatar/fluent-dark.css +3 -0
  26. package/styles/avatar/fluent.css +3 -0
  27. package/styles/avatar/highcontrast-light.css +3 -0
  28. package/styles/avatar/highcontrast.css +3 -0
  29. package/styles/avatar/material-dark.css +3 -0
  30. package/styles/avatar/material.css +3 -0
  31. package/styles/avatar/tailwind-dark.css +3 -0
  32. package/styles/avatar/tailwind.css +3 -0
  33. package/styles/bootstrap-dark.css +5 -1
  34. package/styles/bootstrap.css +5 -1
  35. package/styles/bootstrap4.css +5 -1
  36. package/styles/bootstrap5-dark.css +5 -1
  37. package/styles/bootstrap5.css +5 -1
  38. package/styles/card/bootstrap-dark.css +2 -1
  39. package/styles/card/bootstrap.css +2 -1
  40. package/styles/card/bootstrap4.css +2 -1
  41. package/styles/card/bootstrap5-dark.css +2 -1
  42. package/styles/card/bootstrap5.css +2 -1
  43. package/styles/card/fabric-dark.css +2 -1
  44. package/styles/card/fabric.css +2 -1
  45. package/styles/card/fluent-dark.css +2 -1
  46. package/styles/card/fluent.css +2 -1
  47. package/styles/card/highcontrast-light.css +2 -1
  48. package/styles/card/highcontrast.css +2 -1
  49. package/styles/card/material-dark.css +2 -1
  50. package/styles/card/material.css +2 -1
  51. package/styles/card/tailwind-dark.css +2 -1
  52. package/styles/card/tailwind.css +2 -1
  53. package/styles/fabric-dark.css +5 -1
  54. package/styles/fabric.css +5 -1
  55. package/styles/fluent-dark.css +5 -1
  56. package/styles/fluent.css +5 -1
  57. package/styles/highcontrast-light.css +5 -1
  58. package/styles/highcontrast.css +5 -1
  59. package/styles/material-dark.css +5 -1
  60. package/styles/material.css +5 -1
  61. package/styles/tailwind-dark.css +5 -1
  62. package/styles/tailwind.css +5 -1
package/CHANGELOG.md CHANGED
@@ -2,20 +2,8 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
- ### Dashboard Layout
6
-
7
- #### Bug Fixes
8
-
9
- - `#I443265` - The issue of the dragStop event being triggered twice has been resolved.
10
-
11
5
  ## 20.4.48 (2023-02-01)
12
6
 
13
- ### Dashboard Layout
14
-
15
- #### Bug Fixes
16
-
17
- - `#I423971` - Provided cancel option in Drag Start and Drag Stop events of the Dashboard Layout component.
18
-
19
7
  ### Splitter
20
8
 
21
9
  #### Bug Fixes
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * filename: ej2-vue-layouts.umd.min.js
3
- * version : 20.4.53
3
+ * version : 21.1.37
4
4
  * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
7
7
  * licensing@syncfusion.com. Any infringement will be prosecuted under
8
8
  * applicable laws.
9
9
  */
10
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-layouts"),require("vue"),require("@syncfusion/ej2-vue-base"),require("@syncfusion/ej2-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-layouts","vue","@syncfusion/ej2-vue-base","@syncfusion/ej2-base"],t):t(e.ej={},e.ej2Layouts,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)}}(),a=function(e,t,n,o){var r,s=arguments.length,a=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var i=e.length-1;i>=0;i--)(r=e[i])&&(a=(s<3?r(a):s>3?r(t,n,a):r(t,n))||a);return s>3&&a&&Object.defineProperty(t,n,a),a},i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.prototype.render=function(){},t=a([o.EJComponentDecorator({})],t)}(n),c={name:"e-panes",install:function(e){e.component(c.name,i)}},p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.prototype.render=function(){},t=a([o.EJComponentDecorator({})],t)}(n),l={name:"e-pane",install:function(e){e.component(l.name,p)}},u=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,a=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var i=e.length-1;i>=0;i--)(r=e[i])&&(a=(s<3?r(a):s>3?r(t,n,a):r(t,n))||a);return s>3&&a&&Object.defineProperty(t,n,a),a},d=["isLazyUpdate","plugins","cssClass","enableHtmlSanitizer","enablePersistence","enableReversePanes","enableRtl","enabled","height","locale","orientation","paneSettings","separatorSize","width","beforeCollapse","beforeExpand","beforeSanitizeHtml","collapsed","created","expanded","resizeStart","resizeStop","resizing"],y=[],h=function(e){function n(){var n=e.call(this,arguments)||this;return n.propKeys=d,n.models=y,n.hasChildDirective=!0,n.hasInjectedModules=!1,n.tagMapper={"e-panes":"e-pane"},n.tagNameMapper={"e-panes":"e-paneSettings"},n.ej2Instances=new t.Splitter({}),n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n.ej2Instances.clearTemplate=n.clearTemplate,n.updated=n.updated,n}return u(n,e),n.prototype.clearTemplate=function(e){if(e||(e=Object.keys(this.templateCollection||{})),e.length&&this.templateCollection)for(var t=0,n=e;t<n.length;t++){var o=n[t],s=this.templateCollection[o];if(s&&s.length){for(var a=0,i=s;a<i.length;a++){var c=i[a];r.getValue("__vue__.$destroy",c)&&c.__vue__.$destroy(),c.innerHTML&&(c.innerHTML="")}delete this.templateCollection[o]}}},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.custom=function(){this.updated()},n.prototype.addPane=function(e,t){return this.ej2Instances.addPane(e,t)},n.prototype.collapse=function(e){return this.ej2Instances.collapse(e)},n.prototype.expand=function(e){return this.ej2Instances.expand(e)},n.prototype.removePane=function(e){return this.ej2Instances.removePane(e)},n=f([o.EJComponentDecorator({props:d})],n)}(o.ComponentBase),m={name:"ejs-splitter",install:function(e){e.component(m.name,h),e.component(l.name,p),e.component(c.name,i)}},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)}}(),P=function(e,t,n,o){var r,s=arguments.length,a=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var i=e.length-1;i>=0;i--)(r=e[i])&&(a=(s<3?r(a):s>3?r(t,n,a):r(t,n))||a);return s>3&&a&&Object.defineProperty(t,n,a),a},_=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return j(t,e),t.prototype.render=function(){},t=P([o.EJComponentDecorator({})],t)}(n),v={name:"e-panels",install:function(e){e.component(v.name,_)}},g=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return j(t,e),t.prototype.render=function(){},t=P([o.EJComponentDecorator({})],t)}(n),b={name:"e-panel",install:function(e){e.component(b.name,g)}},O=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,a=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var i=e.length-1;i>=0;i--)(r=e[i])&&(a=(s<3?r(a):s>3?r(t,n,a):r(t,n))||a);return s>3&&a&&Object.defineProperty(t,n,a),a},C=["isLazyUpdate","plugins","allowDragging","allowFloating","allowPushing","allowResizing","cellAspectRatio","cellSpacing","columns","draggableHandle","enableHtmlSanitizer","enablePersistence","enableRtl","locale","mediaQuery","panels","resizableHandles","showGridLines","change","created","destroyed","drag","dragStart","dragStop","resize","resizeStart","resizeStop"],w=[],D=function(e){function n(){var n=e.call(this,arguments)||this;return n.propKeys=C,n.models=w,n.hasChildDirective=!0,n.hasInjectedModules=!1,n.tagMapper={"e-panels":"e-panel"},n.tagNameMapper={},n.ej2Instances=new t.DashboardLayout({}),n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n.ej2Instances.clearTemplate=n.clearTemplate,n.updated=n.updated,n}return O(n,e),n.prototype.clearTemplate=function(e){if(e||(e=Object.keys(this.templateCollection||{})),e.length&&this.templateCollection)for(var t=0,n=e;t<n.length;t++){var o=n[t],s=this.templateCollection[o];if(s&&s.length){for(var a=0,i=s;a<i.length;a++){var c=i[a];r.getValue("__vue__.$destroy",c)&&c.__vue__.$destroy(),c.innerHTML&&(c.innerHTML="")}delete this.templateCollection[o]}}},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.custom=function(){this.updated()},n.prototype.addPanel=function(e){return this.ej2Instances.addPanel(e)},n.prototype.movePanel=function(e,t,n){return this.ej2Instances.movePanel(e,t,n)},n.prototype.refresh=function(){return this.ej2Instances.refresh()},n.prototype.removeAll=function(){return this.ej2Instances.removeAll()},n.prototype.removePanel=function(e){return this.ej2Instances.removePanel(e)},n.prototype.resizePanel=function(e,t,n){return this.ej2Instances.resizePanel(e,t,n)},n.prototype.serialize=function(){return this.ej2Instances.serialize()},n.prototype.updatePanel=function(e){return this.ej2Instances.updatePanel(e)},n=I([o.EJComponentDecorator({props:C})],n)}(o.ComponentBase),z={name:"ejs-dashboardlayout",install:function(e){e.component(z.name,D),e.component(b.name,g),e.component(v.name,_)}};e.PanesDirective=i,e.PaneDirective=p,e.PanesPlugin=c,e.PanePlugin=l,e.SplitterComponent=h,e.SplitterPlugin=m,e.PanelsDirective=_,e.PanelDirective=g,e.PanelsPlugin=v,e.PanelPlugin=b,e.DashboardLayoutComponent=D,e.DashboardLayoutPlugin=z,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})});
10
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-layouts"),require("@syncfusion/ej2-vue-base"),require("@syncfusion/ej2-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-layouts","@syncfusion/ej2-vue-base","@syncfusion/ej2-base"],t):t(e.ej={},e.ej2Layouts,e.ej2VueBase,e.ej2Base)}(this,function(e,t,n,s){"use strict";var i=n.vueDefineComponent({inject:{custom:{default:null}},render:function(e){if(!n.isExecute){var t=n.isExecute?e:n.gh,i=null;return s.isNullOrUndefined(this.$slots.default)||(i=n.isExecute?this.$slots.default:this.$slots.default()),t("div",{class:"e-directive"},i)}},updated:function(){!n.isExecute&&this.custom&&this.custom()},methods:{getTag:function(){return"e-panes"}}}),a={name:"e-panes",install:function(e){e.component(a.name,i)}},o=n.vueDefineComponent({render:function(){},methods:{getTag:function(){return"e-pane"}}}),l={name:"e-pane",install:function(e){e.component(l.name,o)}},r=["isLazyUpdate","plugins","cssClass","enableHtmlSanitizer","enablePersistence","enableReversePanes","enableRtl","enabled","height","locale","orientation","paneSettings","separatorSize","width","beforeCollapse","beforeExpand","beforeSanitizeHtml","collapsed","created","expanded","resizeStart","resizeStop","resizing"],u=[],c=n.getProps({props:r}),d=c[0],p=c[1],h=Object.keys(p);h.push("modelchanged","update:modelValue");for(var m=0,f=u;m<f.length;m++){var g=f[m];h.push("update:"+g)}var v=n.vueDefineComponent({name:"SplitterComponent",mixins:[n.ComponentBase],props:d,watch:p,emits:h,provide:function(){return{custom:this.custom}},data:function(){return{ej2Instances:new t.Splitter({}),propKeys:r,models:u,hasChildDirective:!0,hasInjectedModules:!1,tagMapper:{"e-panes":"e-pane"},tagNameMapper:{"e-panes":"e-paneSettings"},isVue3:!n.isExecute,templateCollection:{}}},created:function(){this.bindProperties(),this.ej2Instances._setProperties=this.ej2Instances.setProperties,this.ej2Instances.setProperties=this.setProperties,this.ej2Instances.clearTemplate=this.clearTemplate,this.updated=this.updated},render:function(e){var t=n.isExecute?e:n.gh,i=null;return s.isNullOrUndefined(this.$slots.default)||(i=n.isExecute?this.$slots.default:this.$slots.default()),t("div",i)},methods:{clearTemplate:function(e){if(e||(e=Object.keys(this.templateCollection||{})),e.length&&this.templateCollection)for(var t=0,n=e;t<n.length;t++){var i=n[t],a=this.templateCollection[i];if(a&&a.length){for(var o=0,l=a;o<l.length;o++){var r=l[o];s.getValue("__vue__.$destroy",r)&&r.__vue__.$destroy(),r.innerHTML&&(r.innerHTML="")}delete this.templateCollection[i]}}},setProperties:function(e,t){var n=this;this.isVue3&&(this.models=this.models?this.models:this.ej2Instances.referModels),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(s){t!==s||/datasource/i.test(t)||(n.isVue3?n.ej2Instances.vueInstance.$emit("update:"+t,e[t]):(n.$emit("update:"+t,e[t]),n.$emit("modelchanged",e[t])))})})},custom:function(){this.updated()},addPane:function(e,t){return this.ej2Instances.addPane(e,t)},collapse:function(e){return this.ej2Instances.collapse(e)},expand:function(e){return this.ej2Instances.expand(e)},removePane:function(e){return this.ej2Instances.removePane(e)}}}),j={name:"ejs-splitter",install:function(e){e.component(j.name,v),e.component(l.name,o),e.component(a.name,i)}},P=n.vueDefineComponent({inject:{custom:{default:null}},render:function(e){if(!n.isExecute){var t=n.isExecute?e:n.gh,i=null;return s.isNullOrUndefined(this.$slots.default)||(i=n.isExecute?this.$slots.default:this.$slots.default()),t("div",{class:"e-directive"},i)}},updated:function(){!n.isExecute&&this.custom&&this.custom()},methods:{getTag:function(){return"e-panels"}}}),I={name:"e-panels",install:function(e){e.component(I.name,P)}},y=n.vueDefineComponent({render:function(){},methods:{getTag:function(){return"e-panel"}}}),b={name:"e-panel",install:function(e){e.component(b.name,y)}},C=["isLazyUpdate","plugins","allowDragging","allowFloating","allowPushing","allowResizing","cellAspectRatio","cellSpacing","columns","draggableHandle","enableHtmlSanitizer","enablePersistence","enableRtl","locale","mediaQuery","panels","resizableHandles","showGridLines","change","created","destroyed","drag","dragStart","dragStop","resize","resizeStart","resizeStop"],_=[],x=n.getProps({props:C}),$=x[0],z=x[1],D=Object.keys(z);D.push("modelchanged","update:modelValue");for(var S=0,E=_;S<E.length;S++){var T=E[S];D.push("update:"+T)}var M=n.vueDefineComponent({name:"DashboardLayoutComponent",mixins:[n.ComponentBase],props:$,watch:z,emits:D,provide:function(){return{custom:this.custom}},data:function(){return{ej2Instances:new t.DashboardLayout({}),propKeys:C,models:_,hasChildDirective:!0,hasInjectedModules:!1,tagMapper:{"e-panels":"e-panel"},tagNameMapper:{},isVue3:!n.isExecute,templateCollection:{}}},created:function(){this.bindProperties(),this.ej2Instances._setProperties=this.ej2Instances.setProperties,this.ej2Instances.setProperties=this.setProperties,this.ej2Instances.clearTemplate=this.clearTemplate,this.updated=this.updated},render:function(e){var t=n.isExecute?e:n.gh,i=null;return s.isNullOrUndefined(this.$slots.default)||(i=n.isExecute?this.$slots.default:this.$slots.default()),t("div",i)},methods:{clearTemplate:function(e){if(e||(e=Object.keys(this.templateCollection||{})),e.length&&this.templateCollection)for(var t=0,n=e;t<n.length;t++){var i=n[t],a=this.templateCollection[i];if(a&&a.length){for(var o=0,l=a;o<l.length;o++){var r=l[o];s.getValue("__vue__.$destroy",r)&&r.__vue__.$destroy(),r.innerHTML&&(r.innerHTML="")}delete this.templateCollection[i]}}},setProperties:function(e,t){var n=this;this.isVue3&&(this.models=this.models?this.models:this.ej2Instances.referModels),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(s){t!==s||/datasource/i.test(t)||(n.isVue3?n.ej2Instances.vueInstance.$emit("update:"+t,e[t]):(n.$emit("update:"+t,e[t]),n.$emit("modelchanged",e[t])))})})},custom:function(){this.updated()},addPanel:function(e){return this.ej2Instances.addPanel(e)},movePanel:function(e,t,n){return this.ej2Instances.movePanel(e,t,n)},refresh:function(){return this.ej2Instances.refresh()},removeAll:function(){return this.ej2Instances.removeAll()},removePanel:function(e){return this.ej2Instances.removePanel(e)},resizePanel:function(e,t,n){return this.ej2Instances.resizePanel(e,t,n)},serialize:function(){return this.ej2Instances.serialize()},updatePanel:function(e){return this.ej2Instances.updatePanel(e)}}}),L={name:"ejs-dashboardlayout",install:function(e){e.component(L.name,M),e.component(b.name,y),e.component(I.name,P)}};e.PanesDirective=i,e.PaneDirective=o,e.PanesPlugin=a,e.PanePlugin=l,e.SplitterComponent=v,e.SplitterPlugin=j,e.PanelsDirective=P,e.PanelDirective=y,e.PanelsPlugin=I,e.PanelPlugin=b,e.DashboardLayoutComponent=M,e.DashboardLayoutPlugin=L,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})});
11
11
  //# sourceMappingURL=ej2-vue-layouts.umd.min.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ej2-vue-layouts.umd.min.js","sources":["../vue2/src/splitter/panesettings.directive.js","../vue2/src/splitter/splitter.component.js","../vue2/src/dashboard-layout/panels.directive.js","../vue2/src/dashboard-layout/dashboardlayout.component.js"],"sourcesContent":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport Vue from 'vue';\nimport { EJComponentDecorator } from '@syncfusion/ej2-vue-base';\nvar PanesDirective = /** @class */ (function (_super) {\n __extends(PanesDirective, _super);\n function PanesDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n PanesDirective.prototype.render = function () {\n return;\n };\n PanesDirective = __decorate([\n EJComponentDecorator({})\n ], PanesDirective);\n return PanesDirective;\n}(Vue));\nexport { PanesDirective };\nexport var PanesPlugin = {\n name: 'e-panes',\n install: function (Vue) {\n Vue.component(PanesPlugin.name, PanesDirective);\n }\n};\n/**\n * 'e-pane' directive represent a pane of Vue Splitter\n * It must be contained in a Splitter component(`ejs-splitter`).\n * ```html\n * <ejs-splitter id='splitter'>\n * <e-panes>\n * <e-pane size='150px'></e-pane>\n * <e-pane size='150px'></e-pane>\n * </e-panes>\n * </ejs-splitter>\n * ```\n */\nvar PaneDirective = /** @class */ (function (_super) {\n __extends(PaneDirective, _super);\n function PaneDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n PaneDirective.prototype.render = function () {\n return;\n };\n PaneDirective = __decorate([\n EJComponentDecorator({})\n ], PaneDirective);\n return PaneDirective;\n}(Vue));\nexport { PaneDirective };\nexport var PanePlugin = {\n name: 'e-pane',\n install: function (Vue) {\n Vue.component(PanePlugin.name, PaneDirective);\n }\n};\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { ComponentBase, EJComponentDecorator } from '@syncfusion/ej2-vue-base';\nimport { getValue } from '@syncfusion/ej2-base';\nimport { Splitter } from '@syncfusion/ej2-layouts';\nimport { PanesDirective, PaneDirective, PanesPlugin, PanePlugin } from './panesettings.directive';\nexport var properties = ['isLazyUpdate', 'plugins', 'cssClass', 'enableHtmlSanitizer', 'enablePersistence', 'enableReversePanes', 'enableRtl', 'enabled', 'height', 'locale', 'orientation', 'paneSettings', 'separatorSize', 'width', 'beforeCollapse', 'beforeExpand', 'beforeSanitizeHtml', 'collapsed', 'created', 'expanded', 'resizeStart', 'resizeStop', 'resizing'];\nexport var modelProps = [];\n/**\n * Represents the VueJS Splitter component\n * ```html\n * <ejs-splitter></ejs-splitter>\n * ```\n */\nvar SplitterComponent = /** @class */ (function (_super) {\n __extends(SplitterComponent, _super);\n function SplitterComponent() {\n var _this = _super.call(this, arguments) || this;\n _this.propKeys = properties;\n _this.models = modelProps;\n _this.hasChildDirective = true;\n _this.hasInjectedModules = false;\n _this.tagMapper = { \"e-panes\": \"e-pane\" };\n _this.tagNameMapper = { \"e-panes\": \"e-paneSettings\" };\n _this.ej2Instances = new Splitter({});\n _this.bindProperties();\n _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;\n _this.ej2Instances.setProperties = _this.setProperties;\n _this.ej2Instances.clearTemplate = _this.clearTemplate;\n _this.updated = _this.updated;\n return _this;\n }\n SplitterComponent.prototype.clearTemplate = function (templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {\n var tempName = templateNames_1[_i];\n var elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {\n var ele = elementCollection_1[_a];\n var destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n };\n SplitterComponent.prototype.setProperties = function (prop, muteOnChange) {\n var _this = this;\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map(function (key) {\n _this.models.map(function (model) {\n if ((key === model) && !(/datasource/i.test(key))) {\n _this.$emit('update:' + key, prop[key]);\n }\n });\n });\n }\n };\n SplitterComponent.prototype.render = function (createElement) {\n return createElement('div', this.$slots.default);\n };\n SplitterComponent.prototype.custom = function () {\n this.updated();\n };\n SplitterComponent.prototype.addPane = function (paneProperties, index) {\n return this.ej2Instances.addPane(paneProperties, index);\n };\n SplitterComponent.prototype.collapse = function (index) {\n return this.ej2Instances.collapse(index);\n };\n SplitterComponent.prototype.expand = function (index) {\n return this.ej2Instances.expand(index);\n };\n SplitterComponent.prototype.removePane = function (index) {\n return this.ej2Instances.removePane(index);\n };\n SplitterComponent = __decorate([\n EJComponentDecorator({\n props: properties\n })\n ], SplitterComponent);\n return SplitterComponent;\n}(ComponentBase));\nexport { SplitterComponent };\nexport var SplitterPlugin = {\n name: 'ejs-splitter',\n install: function (Vue) {\n Vue.component(SplitterPlugin.name, SplitterComponent);\n Vue.component(PanePlugin.name, PaneDirective);\n Vue.component(PanesPlugin.name, PanesDirective);\n }\n};\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport Vue from 'vue';\nimport { EJComponentDecorator } from '@syncfusion/ej2-vue-base';\nvar PanelsDirective = /** @class */ (function (_super) {\n __extends(PanelsDirective, _super);\n function PanelsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n PanelsDirective.prototype.render = function () {\n return;\n };\n PanelsDirective = __decorate([\n EJComponentDecorator({})\n ], PanelsDirective);\n return PanelsDirective;\n}(Vue));\nexport { PanelsDirective };\nexport var PanelsPlugin = {\n name: 'e-panels',\n install: function (Vue) {\n Vue.component(PanelsPlugin.name, PanelsDirective);\n }\n};\n/**\n * 'e-panels' directive represent a presets of VueJS dashboardlayout component\n * It must be contained in a dashboardlayout component(`ejs-dashboardlayout`).\n * ```html\n * <ejs-dashboardlayout>\n * <e-panels>\n * <e-panel></e-panel>\n * <e-panel></e-panel>\n * </e-panels>\n * </ejs-dashboardlayout>\n * ```\n */\nvar PanelDirective = /** @class */ (function (_super) {\n __extends(PanelDirective, _super);\n function PanelDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n PanelDirective.prototype.render = function () {\n return;\n };\n PanelDirective = __decorate([\n EJComponentDecorator({})\n ], PanelDirective);\n return PanelDirective;\n}(Vue));\nexport { PanelDirective };\nexport var PanelPlugin = {\n name: 'e-panel',\n install: function (Vue) {\n Vue.component(PanelPlugin.name, PanelDirective);\n }\n};\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { ComponentBase, EJComponentDecorator } from '@syncfusion/ej2-vue-base';\nimport { getValue } from '@syncfusion/ej2-base';\nimport { DashboardLayout } from '@syncfusion/ej2-layouts';\nimport { PanelsDirective, PanelDirective, PanelsPlugin, PanelPlugin } from './panels.directive';\nexport var properties = ['isLazyUpdate', 'plugins', 'allowDragging', 'allowFloating', 'allowPushing', 'allowResizing', 'cellAspectRatio', 'cellSpacing', 'columns', 'draggableHandle', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'locale', 'mediaQuery', 'panels', 'resizableHandles', 'showGridLines', 'change', 'created', 'destroyed', 'drag', 'dragStart', 'dragStop', 'resize', 'resizeStart', 'resizeStop'];\nexport var modelProps = [];\n/**\n * Represents the Essential JS 2 VueJS DashboardLayout Component.\n * ```html\n * <ejs-dashboardlayout></ejs-dashboardlayout>\n * ```\n */\nvar DashboardLayoutComponent = /** @class */ (function (_super) {\n __extends(DashboardLayoutComponent, _super);\n function DashboardLayoutComponent() {\n var _this = _super.call(this, arguments) || this;\n _this.propKeys = properties;\n _this.models = modelProps;\n _this.hasChildDirective = true;\n _this.hasInjectedModules = false;\n _this.tagMapper = { \"e-panels\": \"e-panel\" };\n _this.tagNameMapper = {};\n _this.ej2Instances = new DashboardLayout({});\n _this.bindProperties();\n _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;\n _this.ej2Instances.setProperties = _this.setProperties;\n _this.ej2Instances.clearTemplate = _this.clearTemplate;\n _this.updated = _this.updated;\n return _this;\n }\n DashboardLayoutComponent.prototype.clearTemplate = function (templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {\n var tempName = templateNames_1[_i];\n var elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {\n var ele = elementCollection_1[_a];\n var destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n };\n DashboardLayoutComponent.prototype.setProperties = function (prop, muteOnChange) {\n var _this = this;\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map(function (key) {\n _this.models.map(function (model) {\n if ((key === model) && !(/datasource/i.test(key))) {\n _this.$emit('update:' + key, prop[key]);\n }\n });\n });\n }\n };\n DashboardLayoutComponent.prototype.render = function (createElement) {\n return createElement('div', this.$slots.default);\n };\n DashboardLayoutComponent.prototype.custom = function () {\n this.updated();\n };\n DashboardLayoutComponent.prototype.addPanel = function (panel) {\n return this.ej2Instances.addPanel(panel);\n };\n DashboardLayoutComponent.prototype.movePanel = function (id, row, col) {\n return this.ej2Instances.movePanel(id, row, col);\n };\n DashboardLayoutComponent.prototype.refresh = function () {\n return this.ej2Instances.refresh();\n };\n DashboardLayoutComponent.prototype.removeAll = function () {\n return this.ej2Instances.removeAll();\n };\n DashboardLayoutComponent.prototype.removePanel = function (id) {\n return this.ej2Instances.removePanel(id);\n };\n DashboardLayoutComponent.prototype.resizePanel = function (id, sizeX, sizeY) {\n return this.ej2Instances.resizePanel(id, sizeX, sizeY);\n };\n DashboardLayoutComponent.prototype.serialize = function () {\n return this.ej2Instances.serialize();\n };\n DashboardLayoutComponent.prototype.updatePanel = function (panel) {\n return this.ej2Instances.updatePanel(panel);\n };\n DashboardLayoutComponent = __decorate([\n EJComponentDecorator({\n props: properties\n })\n ], DashboardLayoutComponent);\n return DashboardLayoutComponent;\n}(ComponentBase));\nexport { DashboardLayoutComponent };\nexport var DashboardLayoutPlugin = {\n name: 'ejs-dashboardlayout',\n install: function (Vue) {\n Vue.component(DashboardLayoutPlugin.name, DashboardLayoutComponent);\n Vue.component(PanelPlugin.name, PanelDirective);\n Vue.component(PanelsPlugin.name, PanelsDirective);\n }\n};\n"],"names":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","this","constructor","prototype","create","__decorate","decorators","target","key","desc","c","arguments","length","r","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","PanesDirective","_super","apply","render","EJComponentDecorator","Vue","PanesPlugin","name","install","component","PaneDirective","PanePlugin","properties","modelProps","SplitterComponent","_this","call","propKeys","models","hasChildDirective","hasInjectedModules","tagMapper","e-panes","tagNameMapper","ej2Instances","Splitter","bindProperties","_setProperties","setProperties","clearTemplate","updated","templateNames","keys","templateCollection","_i","templateNames_1","tempName","elementCollection","_a","elementCollection_1","ele","getValue","__vue__","$destroy","innerHTML","prop","muteOnChange","map","model","test","$emit","createElement","$slots","default","custom","addPane","paneProperties","index","collapse","expand","removePane","props","ComponentBase","SplitterPlugin","PanelsDirective","PanelsPlugin","PanelDirective","PanelPlugin","DashboardLayoutComponent","e-panels","DashboardLayout","addPanel","panel","movePanel","id","row","col","refresh","removeAll","removePanel","resizePanel","sizeX","sizeY","serialize","updatePanel","DashboardLayoutPlugin"],"mappings":"4dAAA,IAAIA,EAAwC,WACxC,IAAIC,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAChBC,wBAA2BC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,KAAIN,EAAEM,GAAKL,EAAEK,MACpDN,EAAGC,IAE5B,OAAO,SAAUD,EAAGC,GAEhB,SAASO,IAAOC,KAAKC,YAAcV,EADnCD,EAAcC,EAAGC,GAEjBD,EAAEW,UAAkB,OAANV,EAAaC,OAAOU,OAAOX,IAAMO,EAAGG,UAAYV,EAAEU,UAAW,IAAIH,IAV3C,GAaxCK,EAA0C,SAAUC,EAAYC,EAAQC,EAAKC,GAC7E,IAA2HjB,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EAAIC,EAAKC,IAEhDR,EAAyBpF,UAAU6F,QAAU,WACzC,OAAO/F,KAAK0C,aAAaqD,WAE7BT,EAAyBpF,UAAU8F,UAAY,WAC3C,OAAOhG,KAAK0C,aAAasD,aAE7BV,EAAyBpF,UAAU+F,YAAc,SAAUL,GACvD,OAAO5F,KAAK0C,aAAauD,YAAYL,IAEzCN,EAAyBpF,UAAUgG,YAAc,SAAUN,EAAIO,EAAOC,GAClE,OAAOpG,KAAK0C,aAAawD,YAAYN,EAAIO,EAAOC,IAEpDd,EAAyBpF,UAAUmG,UAAY,WAC3C,OAAOrG,KAAK0C,aAAa2D,aAE7Bf,EAAyBpF,UAAUoG,YAAc,SAAUZ,GACvD,OAAO1F,KAAK0C,aAAa4D,YAAYZ,IAEzCJ,EAA2BlF,GACvBkB,wBACIyD,MAAOjD,KAEZwD,IAELN,iBAESuB,GACP9E,KAAM,sBACNC,QAAS,SAAUH,GACfA,EAAII,UAAU4E,EAAsB9E,KAAM6D,GAC1C/D,EAAII,UAAU0D,EAAY5D,KAAM2D,GAChC7D,EAAII,UAAUwD,EAAa1D,KAAMyD"}
1
+ {"version":3,"file":"ej2-vue-layouts.umd.min.js","sources":["../src/splitter/panesettings.directive.js","../src/splitter/splitter.component.js","../src/dashboard-layout/panels.directive.js","../src/dashboard-layout/dashboardlayout.component.js"],"sourcesContent":["import { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined } from '@syncfusion/ej2-base';\nexport var PanesDirective = vueDefineComponent({\n inject: { custom: { default: null } },\n render: function (createElement) {\n if (!isExecute) {\n var h = !isExecute ? gh : createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', { class: 'e-directive' }, slots);\n }\n return;\n },\n updated: function () {\n if (!isExecute && this.custom) {\n this.custom();\n }\n },\n methods: {\n getTag: function () {\n return 'e-panes';\n }\n }\n});\nexport var PanesPlugin = {\n name: 'e-panes',\n install: function (Vue) {\n Vue.component(PanesPlugin.name, PanesDirective);\n }\n};\n/**\n * 'e-pane' directive represent a pane of Vue Splitter\n * It must be contained in a Splitter component(`ejs-splitter`).\n * ```html\n * <ejs-splitter id='splitter'>\n * <e-panes>\n * <e-pane size='150px'></e-pane>\n * <e-pane size='150px'></e-pane>\n * </e-panes>\n * </ejs-splitter>\n * ```\n */\nexport var PaneDirective = vueDefineComponent({\n render: function () {\n return;\n },\n methods: {\n getTag: function () {\n return 'e-pane';\n }\n }\n});\nexport var PanePlugin = {\n name: 'e-pane',\n install: function (Vue) {\n Vue.component(PanePlugin.name, PaneDirective);\n }\n};\n","import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { Splitter } from '@syncfusion/ej2-layouts';\nimport { PanesDirective, PaneDirective, PanesPlugin, PanePlugin } from './panesettings.directive';\nexport var properties = ['isLazyUpdate', 'plugins', 'cssClass', 'enableHtmlSanitizer', 'enablePersistence', 'enableReversePanes', 'enableRtl', 'enabled', 'height', 'locale', 'orientation', 'paneSettings', 'separatorSize', 'width', 'beforeCollapse', 'beforeExpand', 'beforeSanitizeHtml', 'collapsed', 'created', 'expanded', 'resizeStart', 'resizeStop', 'resizing'];\nexport var modelProps = [];\nexport var testProp = getProps({ props: properties });\nexport var props = testProp[0], watch = testProp[1], emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged', 'update:modelValue');\nfor (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {\n var props_1 = modelProps_1[_i];\n emitProbs.push('update:' + props_1);\n}\n/**\n * Represents the VueJS Splitter component\n * ```html\n * <ejs-splitter></ejs-splitter>\n * ```\n */\nexport var SplitterComponent = vueDefineComponent({\n name: 'SplitterComponent',\n mixins: [ComponentBase],\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function () { return { custom: this.custom }; },\n data: function () {\n return {\n ej2Instances: new Splitter({}),\n propKeys: properties,\n models: modelProps,\n hasChildDirective: true,\n hasInjectedModules: false,\n tagMapper: { \"e-panes\": \"e-pane\" },\n tagNameMapper: { \"e-panes\": \"e-paneSettings\" },\n isVue3: !isExecute,\n templateCollection: {},\n };\n },\n created: function () {\n this.bindProperties();\n this.ej2Instances._setProperties = this.ej2Instances.setProperties;\n this.ej2Instances.setProperties = this.setProperties;\n this.ej2Instances.clearTemplate = this.clearTemplate;\n this.updated = this.updated;\n },\n render: function (createElement) {\n var h = !isExecute ? gh : createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n },\n methods: {\n clearTemplate: function (templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {\n var tempName = templateNames_1[_i];\n var elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {\n var ele = elementCollection_1[_a];\n var destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n },\n setProperties: function (prop, muteOnChange) {\n var _this = this;\n if (this.isVue3) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map(function (key) {\n _this.models.map(function (model) {\n if ((key === model) && !(/datasource/i.test(key))) {\n if (_this.isVue3) {\n _this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);\n }\n else {\n _this.$emit('update:' + key, prop[key]);\n _this.$emit('modelchanged', prop[key]);\n }\n }\n });\n });\n }\n },\n custom: function () {\n this.updated();\n },\n addPane: function (paneProperties, index) {\n return this.ej2Instances.addPane(paneProperties, index);\n },\n collapse: function (index) {\n return this.ej2Instances.collapse(index);\n },\n expand: function (index) {\n return this.ej2Instances.expand(index);\n },\n removePane: function (index) {\n return this.ej2Instances.removePane(index);\n },\n }\n});\nexport var SplitterPlugin = {\n name: 'ejs-splitter',\n install: function (Vue) {\n Vue.component(SplitterPlugin.name, SplitterComponent);\n Vue.component(PanePlugin.name, PaneDirective);\n Vue.component(PanesPlugin.name, PanesDirective);\n }\n};\n","import { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined } from '@syncfusion/ej2-base';\nexport var PanelsDirective = vueDefineComponent({\n inject: { custom: { default: null } },\n render: function (createElement) {\n if (!isExecute) {\n var h = !isExecute ? gh : createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', { class: 'e-directive' }, slots);\n }\n return;\n },\n updated: function () {\n if (!isExecute && this.custom) {\n this.custom();\n }\n },\n methods: {\n getTag: function () {\n return 'e-panels';\n }\n }\n});\nexport var PanelsPlugin = {\n name: 'e-panels',\n install: function (Vue) {\n Vue.component(PanelsPlugin.name, PanelsDirective);\n }\n};\n/**\n * 'e-panels' directive represent a presets of VueJS dashboardlayout component\n * It must be contained in a dashboardlayout component(`ejs-dashboardlayout`).\n * ```html\n * <ejs-dashboardlayout>\n * <e-panels>\n * <e-panel></e-panel>\n * <e-panel></e-panel>\n * </e-panels>\n * </ejs-dashboardlayout>\n * ```\n */\nexport var PanelDirective = vueDefineComponent({\n render: function () {\n return;\n },\n methods: {\n getTag: function () {\n return 'e-panel';\n }\n }\n});\nexport var PanelPlugin = {\n name: 'e-panel',\n install: function (Vue) {\n Vue.component(PanelPlugin.name, PanelDirective);\n }\n};\n","import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { DashboardLayout } from '@syncfusion/ej2-layouts';\nimport { PanelsDirective, PanelDirective, PanelsPlugin, PanelPlugin } from './panels.directive';\nexport var properties = ['isLazyUpdate', 'plugins', 'allowDragging', 'allowFloating', 'allowPushing', 'allowResizing', 'cellAspectRatio', 'cellSpacing', 'columns', 'draggableHandle', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'locale', 'mediaQuery', 'panels', 'resizableHandles', 'showGridLines', 'change', 'created', 'destroyed', 'drag', 'dragStart', 'dragStop', 'resize', 'resizeStart', 'resizeStop'];\nexport var modelProps = [];\nexport var testProp = getProps({ props: properties });\nexport var props = testProp[0], watch = testProp[1], emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged', 'update:modelValue');\nfor (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {\n var props_1 = modelProps_1[_i];\n emitProbs.push('update:' + props_1);\n}\n/**\n * Represents the Essential JS 2 VueJS DashboardLayout Component.\n * ```html\n * <ejs-dashboardlayout></ejs-dashboardlayout>\n * ```\n */\nexport var DashboardLayoutComponent = vueDefineComponent({\n name: 'DashboardLayoutComponent',\n mixins: [ComponentBase],\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function () { return { custom: this.custom }; },\n data: function () {\n return {\n ej2Instances: new DashboardLayout({}),\n propKeys: properties,\n models: modelProps,\n hasChildDirective: true,\n hasInjectedModules: false,\n tagMapper: { \"e-panels\": \"e-panel\" },\n tagNameMapper: {},\n isVue3: !isExecute,\n templateCollection: {},\n };\n },\n created: function () {\n this.bindProperties();\n this.ej2Instances._setProperties = this.ej2Instances.setProperties;\n this.ej2Instances.setProperties = this.setProperties;\n this.ej2Instances.clearTemplate = this.clearTemplate;\n this.updated = this.updated;\n },\n render: function (createElement) {\n var h = !isExecute ? gh : createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n },\n methods: {\n clearTemplate: function (templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {\n var tempName = templateNames_1[_i];\n var elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {\n var ele = elementCollection_1[_a];\n var destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n },\n setProperties: function (prop, muteOnChange) {\n var _this = this;\n if (this.isVue3) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map(function (key) {\n _this.models.map(function (model) {\n if ((key === model) && !(/datasource/i.test(key))) {\n if (_this.isVue3) {\n _this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);\n }\n else {\n _this.$emit('update:' + key, prop[key]);\n _this.$emit('modelchanged', prop[key]);\n }\n }\n });\n });\n }\n },\n custom: function () {\n this.updated();\n },\n addPanel: function (panel) {\n return this.ej2Instances.addPanel(panel);\n },\n movePanel: function (id, row, col) {\n return this.ej2Instances.movePanel(id, row, col);\n },\n refresh: function () {\n return this.ej2Instances.refresh();\n },\n removeAll: function () {\n return this.ej2Instances.removeAll();\n },\n removePanel: function (id) {\n return this.ej2Instances.removePanel(id);\n },\n resizePanel: function (id, sizeX, sizeY) {\n return this.ej2Instances.resizePanel(id, sizeX, sizeY);\n },\n serialize: function () {\n return this.ej2Instances.serialize();\n },\n updatePanel: function (panel) {\n return this.ej2Instances.updatePanel(panel);\n },\n }\n});\nexport var DashboardLayoutPlugin = {\n name: 'ejs-dashboardlayout',\n install: function (Vue) {\n Vue.component(DashboardLayoutPlugin.name, DashboardLayoutComponent);\n Vue.component(PanelPlugin.name, PanelDirective);\n Vue.component(PanelsPlugin.name, PanelsDirective);\n }\n};\n"],"names":["PanesDirective","vueDefineComponent","inject","custom","default","render","createElement","isExecute","h","gh","slots","isNullOrUndefined","this","$slots","class","updated","methods","getTag","PanesPlugin","name","install","Vue","component","PaneDirective","PanePlugin","properties","modelProps","testProp","getProps","props","watch","emitProbs","Object","keys","push","_i","modelProps_1","length","props_1","SplitterComponent","mixins","ComponentBase","emits","provide","data","ej2Instances","Splitter","propKeys","models","hasChildDirective","hasInjectedModules","tagMapper","e-panes","tagNameMapper","isVue3","templateCollection","created","bindProperties","_setProperties","setProperties","clearTemplate","templateNames","templateNames_1","tempName","elementCollection","_a","elementCollection_1","ele","getValue","__vue__","$destroy","innerHTML","prop","muteOnChange","_this","referModels","map","key","model","test","vueInstance","$emit","addPane","paneProperties","index","collapse","expand","removePane","SplitterPlugin","PanelsDirective","PanelsPlugin","PanelDirective","PanelPlugin","DashboardLayoutComponent","DashboardLayout","e-panels","addPanel","panel","movePanel","id","row","col","refresh","removeAll","removePanel","resizePanel","sizeX","sizeY","serialize","updatePanel","DashboardLayoutPlugin"],"mappings":"kZAEO,IAAIA,EAAiBC,sBACxBC,QAAUC,QAAUC,QAAS,OAC7BC,OAAQ,SAAUC,GACd,IAAKC,YAAW,CACZ,IAAIC,EAAKD,YAAiBD,EAALG,KACjBC,EAAQ,KAIZ,OAHKC,oBAAkBC,KAAKC,OAAOT,WAC/BM,EAASH,YAAoCK,KAAKC,OAAOT,QAApCQ,KAAKC,OAAOT,WAE9BI,EAAE,OAASM,MAAO,eAAiBJ,KAIlDK,QAAS,YACAR,aAAaK,KAAKT,QACnBS,KAAKT,UAGba,SACIC,OAAQ,WACJ,MAAO,cAIRC,GACPC,KAAM,UACNC,QAAS,SAAUC,GACfA,EAAIC,UAAUJ,EAAYC,KAAMnB,KAe7BuB,EAA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