Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@syncfusion/ej2-vue-base

Package Overview
Dependencies
Maintainers
3
Versions
142
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@syncfusion/ej2-vue-base - npm Package Compare versions

Comparing version 21.2.3 to 21.2.6

6

CHANGELOG.md

@@ -5,2 +5,8 @@ # Changelog

### Common
#### Bug Fixes
- `#I453141` - The issue with "Unable to access the template data inside the external template while using Composition API" has been resolved.
## 21.1.41 (2023-04-18)

@@ -7,0 +13,0 @@

4

dist/ej2-vue-base.umd.min.js
/*!
* filename: ej2-vue-base.umd.min.js
* version : 21.2.3
* version : 21.2.6
* 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("vue"),require("@syncfusion/ej2-base")):"function"==typeof define&&define.amd?define(["exports","vue","@syncfusion/ej2-base"],t):t(e.ej={},e.Vue,e.ej2Base)}(this,function(e,t,n){"use strict";function s(e,t){var s=this;return function(o,p,h,d,u){var v;if(p){var m=p.vueInstance?p.vueInstance.plugins:null,I=n.getUniqueID("templateParentDiv"),j=n.getUniqueID("templateDiv"),O=n.createElement("div",{id:I,innerHTML:'<div id="'+j+'"></div>'});if(document.body.appendChild(O),l||"string"!=typeof e)if(l)if("string"==typeof e){var y=function(e,t,n){if(!(e||n&&n.vueInstance))return;return i(n&&n.vueInstance?n.vueInstance:e,t)}(p.vueInstance,e,u);if(!y)return n.detach(O),g(e,t)(o);var b={},$=function(e){e.$parent&&$(e.$parent),e._provided&&Object.keys(e._provided).length>0&&(b=f({},b,e._provided))},C=p.vueInstance?p.vueInstance:u&&u.vueInstance?u.vueInstance:null;C&&$(C);new c({provide:f({},b),render:function(){return y[""+e]({data:o})}}).$mount("#"+j),v=O.childNodes,n.detach(O)}else{var x=(k=e.call(s,{})).template,V=(M=n.getValue("template.propsData",k),{data:{data:n.extend(k.data||{},o)},parent:p.vueInstance});M&&(x=k.template.extends,V.propsData=M),"function"!=typeof x&&(x=c.extend(x));if(new x(V).$mount("#"+j),v=O.childNodes,p.vueInstance){var D=p.vueInstance.templateCollection;D||(p.vueInstance.templateCollection={},D=p.vueInstance.templateCollection),h&&(D[""+h]||(D[""+h]=[]),D[""+h].push(v[0]))}n.detach(O)}else{var k,S=k=e.call(s,{}),M=n.getValue("template.propsData",k),N={data:{data:n.extend(k.data||{},o)},parent:p.vueInstance};S.template||(S.template=S[Object.keys(S)[0]]);var P=void 0;if(S.template.extends)P=S.template.extends._context.components.template;else if(!(P=S.template._context.components[e.name])){var _=Object.keys(S.template._context.components)[0];P=S.template._context.components[""+_]}var w;if(M)w=Object.assign(P.data(),M);else if(w=Object.assign(P.data(),N.data),P.components)for(var T=function(e){var t=P.components[""+e];t&&t.data&&(t.__data||(t.__data=t.data),t.data=function(e){return Object.assign(t.__data.call(e),N.data)})},U=0,L=Object.keys(P.components)||[];U<L.length;U++){T(L[U])}P.data=function(){return w};A=c.createApp(P);if(m)for(B=0;B<m.length;B++)A.use(m[parseInt(B.toString(),10)]);r(A,p.vueInstance,u),A.mount("#"+I),v=O.childNodes,n.detach(O)}else{var E=function(e,t,n){if(!(e||n&&n.vueInstance))return;return a(n&&n.vueInstance?n.vueInstance.$slots:e.$slots,t)}(p.vueInstance,e,u);if(!E)return n.detach(O),g(e,t)(o);var A=c.createApp({render:function(){return E[""+e]({data:o})}});if(m)for(var B=0;B<m.length;B++)A.use(m[parseInt(B.toString(),10)]);r(A,p.vueInstance,u),A.mount("#"+I),v=O.childNodes,n.detach(O)}}return v||[]}}function r(e,t,n){var s=t||(n&&n.vueInstance?n.vueInstance:null);if(s){for(var r=["components","mixins","provides"],i=0;i<r.length;i++){var o=r[i];e._context[o]&&s.$.appContext[o]&&(e._context[o]=s.$.appContext[o])}var a={},p=function(e){e.$&&e.$.parent&&p(e.$.parent),e.provides&&Object.keys(e.provides).length>0&&(a=f({},a,e.provides))};p(s),e._context.provides&&(e._context.provides=f({},e._context.provides,a)),e._context.config.globalProperties&&s.$.appContext.config.globalProperties&&(e._context.config.globalProperties=s.$.appContext.config.globalProperties)}}function i(e,t){if(e){var n=e.$slots,s=e.$scopedSlots,r=e.scopedSlots,a=e.children;if(s&&s[""+t])return s;if(n&&n.default)for(var p=n.default,l=0;l<p.length;l++){if(c=i(o(p[parseInt(l.toString(),10)]),t))return c}else{if(r&&r[""+t])return r;if(a)for(l=0;l<a.length;l++){var c;if(c=i(o(a[parseInt(l.toString(),10)]),t))return c}}}}function o(e){var t=e.componentOptions&&e.componentOptions.children?e.componentOptions:e.data||"e-markersettings"!==e.tag&&"e-markersetting"!==e.tag?e.data:e;return e.componentInstance?e.componentInstance:t}function a(e,t){if(e&&e[""+t])return e;if(e&&e.default)for(var n=e.default(),s=0;s<n.length;s++){var r=a(n[parseInt(s.toString(),10)].children,t);if(r)return r}}var p=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[""+n]=e[""+n]);return t.default=e,t}(t),l=!(parseInt(p.version)>2),c=l?p.default.default?p.default.default:p.default:p,h=p.h,d=function(e){return l?c.extend(e):c.defineComponent(e)},u=d({name:"ComponentBase",data:function(){return{tagMapper:{},tagNameMapper:{},hasInjectedModules:!1,hasChildDirective:!1,childDirObjects:"",propKeys:{},isDecorator:!1}},created:function(){var e=this;if(this.ej2Instance&&(this.ej2Instances=this.isVue3?c.toRaw(this.ej2Instance):this.ej2Instance),this.propKeys){for(var t=function(t){s.ej2Instances.addEventListener(t,function(n){e.$emit(t,n)})},s=this,r=0,i=this.propKeys;r<i.length;r++){t(i[r])}var o=n.getValue("$root.$options.provide",this),a=n.getValue("$parent.$options.provide",this);if(a=n.isNullOrUndefined(a)?n.getValue("$.parent.provides",this):a,this.hasInjectedModules&&!l){var p=[];o&&o.managed?(this.isDecorator=!0,p=this.getInjectedServices()||[]):o?p=o[this.ej2Instances.getModuleName()]||[]:a&&(p=this.getInjectedServices()||[]);for(var h=0,d=this.ej2Instances.getInjectedModules()||[];h<d.length;h++){var u=d[h];-1===p.indexOf(u)&&p.push(u)}this.ej2Instances.injectedModules=p}}},mounted:function(){var e=this.$el?this.$el.querySelectorAll("div.e-directive"):null;if(!l&&e)for(var t=0;t<e.length;t++)e[parseInt(t.toString(),10)].parentElement&&e[parseInt(t.toString(),10)].parentElement.removeChild(e[parseInt(t.toString(),10)]);this.ej2Instances.isVue=!0,this.ej2Instances.isVue3=this.isVue3,this.ej2Instances.vueInstance=this,this.isVue3&&(this.ej2Instances.ej2Instances=this.ej2Instances,this.ej2Instances.referModels=this.models,this.setModelValue()),this.ej2Instances.appendTo(this.$el)},updated:function(){if(this.isVue3&&this.setModelValue(),this.hasChildDirective){var e={};this.fetchChildPropValues(e);var t=JSON.stringify(e);this.childDirObjects!==t&&(this.childDirObjects=t,this.assignValueToWrapper(e,!1))}},beforeDestroy:function(){this.destroyComponent()},beforeUnmount:function(){this.destroyComponent()},methods:{setModelValue:function(){if(!n.isNullOrUndefined(this.modelValue)||!n.isNullOrUndefined(this.$attrs.modelValue)){var e=(this.models.toString().match(/checked|value/)||[])[0];n.isNullOrUndefined(e)||(this.ej2Instances[""+e]=n.isNullOrUndefined(this.modelValue)?this.$attrs.modelValue:this.modelValue)}},updated:function(){if(this.isVue3&&this.setModelValue(),this.hasChildDirective){var e={};this.fetchChildPropValues(e);var t=JSON.stringify(e);this.childDirObjects!==t&&(this.childDirObjects=t,this.assignValueToWrapper(e,!1))}},getInjectedServices:function(){var e,t=[];if(this.$root&&this.isDecorator?e=n.getValue("$root.$options.provide",this):this.$vnode?e=n.getValue("$vnode.context.$options.provide",this):this.$parent&&(e=n.getValue("$parent.$options.provide",this)),n.isNullOrUndefined(e)&&!n.isNullOrUndefined(this.$)&&(e=n.getValue("$.parent.provides",this)),e){var s=e;if("function"==typeof e)if(e.managed){var r=e.managed,i=Object.keys(r),o=void 0;this.$root&&this.isDecorator?o=Object.keys(this.$root):this.$vnode?o=Object.keys(this.$vnode.context):this.$parent&&(o=Object.keys(this.$parent));for(var a=0;a<i.length;a++)for(var p=0;p<o.length;p++)-1!==o[parseInt(p.toString(),10)].indexOf(i[parseInt(a.toString(),10)])&&(this.$root&&this.isDecorator?r[i[parseInt(p.toString(),10)]]=this.$root[o[parseInt(a.toString(),10)]]:this.$vnode?r[i[parseInt(a.toString(),10)]]=this.$vnode.context[o[parseInt(p.toString(),10)]]:this.$parent&&(r[i[parseInt(a.toString(),10)]]=this.$parent[o[parseInt(p.toString(),10)]]),s=r)}else this.$vnode?s=this.$vnode.context.$options.provide():this.$parent&&(s=this.$parent.$options.provide());t=s[this.ej2Instances.getModuleName()]||[]}return this.isDecorator=!1,t},destroyComponent:function(){var e=this;e.ej2Instances.destroy(),e.$el.style.visibility="hidden",e=null},bindProperties:function(){for(var e={},t=0,s=this.propKeys;t<s.length;t++){var r=s[t];n.isNullOrUndefined(this[""+r])?!this[0]||n.isNullOrUndefined(this[0][0])||n.isNullOrUndefined(this[0][0][""+r])||(e[""+r]=this[0][0][""+r]):e[""+r]=this[""+r]}if(this.hasChildDirective&&this.fetchChildPropValues(e),this.hasInjectedModules){for(var i=this.getInjectedServices()||[],o=0,a=this.ej2Instances.getInjectedModules()||[];o<a.length;o++){var p=a[o];-1===i.indexOf(p)&&i.push(p)}this.ej2Instances.injectedModules=i}this.assignValueToWrapper(e)},assignValueToWrapper:function(e,t){this.ej2Instances.setProperties(n.extend({},{},e,!0),!!n.isNullOrUndefined(t)||t)},fetchChildPropValues:function(e){var t={};if(this.isVue3){var n=void 0;if(this[0]&&this[0][1].slots.default?n=this[0][1].slots.default():this&&this.$&&this.$.slots&&this.$.slots.default&&(n=this.$.slots.default()),!n)return;for(var s=0;s<n.length;s++)if(n[parseInt(s.toString(),10)].type.methods||"e-seriescollection"===n[parseInt(s.toString(),10)].type){var r="e-seriescollection"===n[parseInt(s.toString(),10)].type?"series-collection":n[parseInt(s.toString(),10)].type.methods.getTag().replace("e-",""),i=this.resolveArrayDirectives(n[parseInt(s.toString(),10)].children,r),o=r.split("-"),a=this.ej2Instances.getModuleName().toLowerCase(),p=o.length>1&&a.indexOf(o[0])>-1?o[1]:o[0];p=p.replace(a,""),"splitter"==a&&"panes"==p?p="paneSettings":"bulletchart"==a&&"range"==p?p="ranges":"schedule"==a&&"header"==p&&(p="headerRows"),t[""+p]=i[""+r]}}else t=this.getDirectiveValues(this.$slots.default,this.tagMapper||{},this.tagNameMapper||{});this.childDirObjects||(this.childDirObjects=JSON.stringify(t));for(var l=0,c=Object.keys(t);l<c.length;l++){var h=c[l];e[""+h]=t[""+h]}},resolveArrayDirectives:function(e,t){var n,s=[];s=e.default?e.default():e;var r={};r[""+t]=[];for(var i=function(e){var s={},i=e.type.methods?e.type.methods.getTag():t;if(e.children){var a=void 0;if((n=o.resolveComplexDirs(e.children,o.tagMapper["e-"+t],i)).length)s=n;else for(var p=0;p<Object.keys(n).length;p++)a=Object.keys(n)[parseInt(p.toString(),10)],s[""+a]=n[""+a]}e.props&&Object.keys(e.props).forEach(function(t){var n=t.replace(/-[a-z]/g,function(e){return e[1].toUpperCase()});n&&(s[""+n]=e.props[""+t])}),/[s]\b/.test(i)&&n&&(!/[s]\b/.test(t)||n.length)?Array.isArray(s)?s.forEach(function(e){r[""+t].push(e)}):r[""+t].push(s):s&&0!==Object.keys(s).length&&r[""+t].push(s)},o=this,a=0,p=s;a<p.length;a++){i(p[a])}return r},resolveComplexDirs:function(e,t,n){for(var s,r=[],i={},o=function(e){var o=void 0;if(t[""+n]){o=Object.keys(t[""+n]).find(function(s){return t[""+n][""+s]===e.type.methods.getTag().replace(/[s]\b/,"")});var p=a.ej2Instances.getModuleName().toLowerCase();o=o?o.replace("e-",""):e.type.methods.getTag().replace("ribbon"===p?"e-ribbon-":"e-",""),"diagram"==a.ej2Instances.getModuleName().toLowerCase()&&-1!=o.indexOf("annotations")&&(o="annotations")}e.children&&(s=a.resolveComplexInnerDirs(e.children,t[""+n],e.type.methods.getTag()),i[""+o]||(i[""+o]=[]),s.length>1?i[""+o]=s:i[""+o].push(s)),e.props&&(e.props=a.getCamelCaseProps(e.props)),r.length>1?(i=0!=Object.keys(i).length||i.length?i:[],e.props&&i.push(e.props)):i=e.props?Object.assign(i,e.props):i},a=this,p=0,l=r=e.default?e.default():e;p<l.length;p++){o(l[p])}return i},resolveComplexInnerDirs:function(e,t,n){for(var s,r=[],i=(r=e.default?e.default():e).length>1?[]:{},o=0,a=r;o<a.length;o++){var p=a[o],l="ribbon"==this.ej2Instances.getModuleName().toLowerCase(),c=p.type.methods.getTag().replace(l?"e-ribbon-":"e-","");p.children&&(s=this.resolveMultilevelComplexInnerDirs(p.children,t[""+n],p.type.methods.getTag()),/[s]\b/.test(c)||r.length>1?/[s]\b/.test(c)?(i[""+c]=i[""+c]?i[""+c]:[],s.length?i[""+c]=s:i[""+c].push(s)):!s||l&&s.hasOwnProperty("collections")||i.push(s):i=s||i),p.props&&(p.props=this.getCamelCaseProps(p.props)),r.length>1&&p.props?l&&s&&s.hasOwnProperty("collections")?(s=p.props?Object.assign(s,p.props):s,i.push(s)):i.length>=0?i.push(p.props):i=p.props?Object.assign(i,p.props):i:i=p.props?Object.assign(i,p.props):i}return i},resolveMultilevelComplexInnerDirs:function(e,t,n){for(var s,r=[],i=(r=e.default?e.default():e).length>1?[]:{},o=0,a=r;o<a.length;o++){var p=a[o],l=this.ej2Instances.getModuleName().toLowerCase(),c=p.type.methods.getTag().replace("ribbon"===l?"e-ribbon-":"e-","");p.children&&(s=this.resolveComplexInnerDirs(p.children,t[""+n],p.type.methods.getTag())),p.props&&(p.props=this.getCamelCaseProps(p.props)),/[s]\b/.test(c)?(i[""+c]=i[""+c]?i[""+c]:[],s.length?i[""+c]=s:i[""+c].push(s),p.props&&i[""+c].push(p.props)):(i=s,i=p.props?Object.assign(i,p.props):i)}return i},getDirectiveValues:function(e,t,n){var s=Object.keys(t),r={};if(e)for(var i=0,o=e;i<o.length;i++){var a=o[i];if(a.componentOptions&&a.componentOptions.children&&a.componentOptions.tag||"e-seriescollection"===a.tag&&a.children){var p=a.componentOptions?a.componentOptions.tag:a.tag;if(p="e-seriescollection"===p?"e-seriesCollection":p,-1!==s.indexOf(p)){var l=n[""+p]?n[""+p]:p;r[l.replace("e-","")]=[];for(var c=0,h=a.componentOptions?a.componentOptions.children:a.children;c<h.length;c++){var d=h[c],u=this.getVNodeValue(d,t[""+p],n);0!==Object.keys(u).length&&r[l.replace("e-","")].push(u)}}}}return r},getMultiLevelDirValue:function(e,t,n){for(var s={},r=0,i=e;r<i.length;r++){var o=i[r],a=void 0,p=void 0;if(o.componentOptions?(a=o.componentOptions.tag,o.componentOptions.children&&(p=o.componentOptions.children)):"e-markersettings"!==o.tag&&"e-markersetting"!==o.tag||!o.children||(a="e-markersettings"===o.tag?"e-markerSettings":"e-markerSetting",p=o.children),a){var l=n[""+a]?n[""+a]:a;if(s[l.replace("e-","")]=[],p)for(var c=0,h=p;c<h.length;c++){var d=h[c],u=this.getVNodeValue(d,t[""+a],n);0!==Object.keys(u).length&&s[l.replace("e-","")].push(u)}}}return s},getVNodeValue:function(e,t,s){var r={};if(e.componentOptions||("e-markersettings"===e.tag||"e-markersetting"===e.tag)&&e.context){var i=void 0;i=e.componentOptions?e.componentOptions.tag:"e-markersettings"===e.tag?"e-markerSettings":"e-markerSetting","string"==typeof t&&i===t&&e.data?r=e.data.attrs?this.getCamelCaseProps(e.data.attrs):this.getCamelCaseProps(e.data):"object"==typeof t&&(e.componentOptions.children&&-1!==Object.keys(t).indexOf(i)?r=this.getMultiLevelDirValue(e.componentOptions.children,t[""+i],s):!e.children||-1===Object.keys(t).indexOf(i)||"e-markersettings"!==i&&"e-markersetting"!==i||(r=this.getMultiLevelDirValue(e.children,t[""+i],s)),e.data&&e.data.attrs&&(r=n.extend(r,this.getCamelCaseProps(e.data.attrs))))}return r},getCamelCaseProps:function(e){for(var t={},n=0,s=Object.keys(e);n<s.length;n++){var r=s[n];t[r.replace(/-[a-z]/g,function(e){return e[1].toUpperCase()})]=e[""+r]}return t},dataBind:function(){this.ej2Instances.dataBind()},setProperties:function(e,t){return this.ej2Instances.setProperties(e,t)}}}),f=function(){return(f=Object.assign||function(e){for(var t,n=1,s=arguments.length;n<s;n++){t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(this,arguments)},g=n.getTemplateEngine();n.setTemplateEngine({compile:s}),e.isExecute=l,e.aVue=c,e.gh=h,e.vueDefineComponent=d,e.ComponentBase=u,e.getProps=function(e){if(void 0===e&&(e={}),e.props)for(var t=function(t){(e.newprops||(e.newprops={}))[""+t]={},(e.watch||(e.watch={}))[""+t]=function(n){this.ej2Instances[""+t]=n,this.dataBind&&"DateRangePickerComponent"!==e.name&&this.dataBind()}},n=0,s=e.props;n<s.length;n++)t(s[n]);return[e.newprops,e.watch]},e.compile=s,Object.defineProperty(e,"__esModule",{value:!0})});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue"),require("@syncfusion/ej2-base")):"function"==typeof define&&define.amd?define(["exports","vue","@syncfusion/ej2-base"],t):t(e.ej={},e.Vue,e.ej2Base)}(this,function(e,t,n){"use strict";function s(e,t){var s=this;return function(o,p,d,h,u){var v;if(p){var m=p.vueInstance?p.vueInstance.plugins:null,I=n.getUniqueID("templateParentDiv"),j=n.getUniqueID("templateDiv"),O=n.createElement("div",{id:I,innerHTML:'<div id="'+j+'"></div>'});if(document.body.appendChild(O),l||"string"!=typeof e)if(l)if("string"==typeof e){var b=function(e,t,n){if(!(e||n&&n.vueInstance))return;return i(n&&n.vueInstance?n.vueInstance:e,t)}(p.vueInstance,e,u);if(!b)return n.detach(O),g(e,t)(o);var y={},$=function(e){e.$parent&&$(e.$parent),e._provided&&Object.keys(e._provided).length>0&&(y=f({},y,e._provided))},C=p.vueInstance?p.vueInstance:u&&u.vueInstance?u.vueInstance:null;C&&$(C);new c({provide:f({},y),render:function(){return b[""+e]({data:o})}}).$mount("#"+j),v=O.childNodes,n.detach(O)}else{var x=(k=e.call(s,{})).template,V=(N=n.getValue("template.propsData",k),{data:{data:n.extend(k.data||{},o)},parent:p.vueInstance});if(N&&(x=k.template.extends,V.propsData=N),"function"!=typeof x&&(x=c.extend(x)),x.options.setup){var D=Object.assign(x.options.setup(),V.data);x.options.setup=function(e){return D}}if(new x(V).$mount("#"+j),v=O.childNodes,p.vueInstance){var S=p.vueInstance.templateCollection;S||(p.vueInstance.templateCollection={},S=p.vueInstance.templateCollection),d&&(S[""+d]||(S[""+d]=[]),S[""+d].push(v[0]))}n.detach(O)}else{var k,M=k=e.call(s,{}),N=n.getValue("template.propsData",k),P={data:{data:n.extend(k.data||{},o)},parent:p.vueInstance};M.template||(M.template=M[Object.keys(M)[0]]);var _=void 0;if(M.template.extends)_=M.template.extends._context.components.template;else if(!(_=M.template._context.components[e.name])){var w=Object.keys(M.template._context.components)[0];_=M.template._context.components[""+w]}var T;if(N)T=_.setup?Object.assign(_.setup(null,{expose:function(){}}),N):Object.assign(_.data(),N);else if(T=_.setup?Object.assign(_.setup(null,{expose:function(){}}),P.data):Object.assign(_.data(),P.data),_.components)for(var U=function(e){var t=_.components[""+e];t&&t.data&&(t.__data||(t.__data=t.data),t.data=function(e){return Object.assign(t.__data.call(e),P.data)})},L=0,E=Object.keys(_.components)||[];L<E.length;L++){U(E[L])}_.setup&&(_.setup=function(e,t){(0,t.expose)();var n=T;return Object.defineProperty(n,"__isScriptSetup",{enumerable:!1,value:!0}),n}),_.data=function(){return T};B=c.createApp(_);if(m)for(q=0;q<m.length;q++)B.use(m[parseInt(q.toString(),10)]);r(B,p.vueInstance,u),B.mount("#"+I),v=O.childNodes,n.detach(O)}else{var A=function(e,t,n){if(!(e||n&&n.vueInstance))return;return a(n&&n.vueInstance?n.vueInstance.$slots:e.$slots,t)}(p.vueInstance,e,u);if(!A)return n.detach(O),g(e,t)(o);var B=c.createApp({render:function(){return A[""+e]({data:o})}});if(m)for(var q=0;q<m.length;q++)B.use(m[parseInt(q.toString(),10)]);r(B,p.vueInstance,u),B.mount("#"+I),v=O.childNodes,n.detach(O)}}return v||[]}}function r(e,t,n){var s=t||(n&&n.vueInstance?n.vueInstance:null);if(s){for(var r=["components","mixins","provides"],i=0;i<r.length;i++){var o=r[i];e._context[o]&&s.$.appContext[o]&&(e._context[o]=s.$.appContext[o])}var a={},p=function(e){e.$&&e.$.parent&&p(e.$.parent),e.provides&&Object.keys(e.provides).length>0&&(a=f({},a,e.provides))};p(s),e._context.provides&&(e._context.provides=f({},e._context.provides,a)),e._context.config.globalProperties&&s.$.appContext.config.globalProperties&&(e._context.config.globalProperties=s.$.appContext.config.globalProperties)}}function i(e,t){if(e){var n=e.$slots,s=e.$scopedSlots,r=e.scopedSlots,a=e.children;if(s&&s[""+t])return s;if(n&&n.default)for(var p=n.default,l=0;l<p.length;l++){if(c=i(o(p[parseInt(l.toString(),10)]),t))return c}else{if(r&&r[""+t])return r;if(a)for(l=0;l<a.length;l++){var c;if(c=i(o(a[parseInt(l.toString(),10)]),t))return c}}}}function o(e){var t=e.componentOptions&&e.componentOptions.children?e.componentOptions:e.data||"e-markersettings"!==e.tag&&"e-markersetting"!==e.tag?e.data:e;return e.componentInstance?e.componentInstance:t}function a(e,t){if(e&&e[""+t])return e;if(e&&e.default)for(var n=e.default(),s=0;s<n.length;s++){var r=a(n[parseInt(s.toString(),10)].children,t);if(r)return r}}var p=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[""+n]=e[""+n]);return t.default=e,t}(t),l=!(parseInt(p.version)>2),c=l?p.default.default?p.default.default:p.default:p,d=p.h,h=function(e){return l?c.extend(e):c.defineComponent(e)},u=h({name:"ComponentBase",data:function(){return{tagMapper:{},tagNameMapper:{},hasInjectedModules:!1,hasChildDirective:!1,childDirObjects:"",propKeys:{},isDecorator:!1}},created:function(){var e=this;if(this.ej2Instance&&(this.ej2Instances=this.isVue3?c.toRaw(this.ej2Instance):this.ej2Instance),this.propKeys){for(var t=function(t){s.ej2Instances.addEventListener(t,function(n){e.$emit(t,n)})},s=this,r=0,i=this.propKeys;r<i.length;r++){t(i[r])}var o=n.getValue("$root.$options.provide",this),a=n.getValue("$parent.$options.provide",this);if(a=n.isNullOrUndefined(a)?n.getValue("$.parent.provides",this):a,this.hasInjectedModules&&!l){var p=[];o&&o.managed?(this.isDecorator=!0,p=this.getInjectedServices()||[]):o?p=o[this.ej2Instances.getModuleName()]||[]:a&&(p=this.getInjectedServices()||[]);for(var d=0,h=this.ej2Instances.getInjectedModules()||[];d<h.length;d++){var u=h[d];-1===p.indexOf(u)&&p.push(u)}this.ej2Instances.injectedModules=p}}},mounted:function(){var e=this.$el?this.$el.querySelectorAll("div.e-directive"):null;if(!l&&e)for(var t=0;t<e.length;t++)e[parseInt(t.toString(),10)].parentElement&&e[parseInt(t.toString(),10)].parentElement.removeChild(e[parseInt(t.toString(),10)]);this.ej2Instances.isVue=!0,this.ej2Instances.isVue3=this.isVue3,this.ej2Instances.vueInstance=this,this.isVue3&&(this.ej2Instances.ej2Instances=this.ej2Instances,this.ej2Instances.referModels=this.models,this.setModelValue()),this.ej2Instances.appendTo(this.$el)},updated:function(){if(this.isVue3&&this.setModelValue(),this.hasChildDirective){var e={};this.fetchChildPropValues(e);var t=JSON.stringify(e);this.childDirObjects!==t&&(this.childDirObjects=t,this.assignValueToWrapper(e,!1))}},beforeDestroy:function(){this.destroyComponent()},beforeUnmount:function(){this.destroyComponent()},methods:{setModelValue:function(){if(!n.isNullOrUndefined(this.modelValue)||!n.isNullOrUndefined(this.$attrs.modelValue)){var e=(this.models.toString().match(/checked|value/)||[])[0];n.isNullOrUndefined(e)||(this.ej2Instances[""+e]=n.isNullOrUndefined(this.modelValue)?this.$attrs.modelValue:this.modelValue)}},updated:function(){if(this.isVue3&&this.setModelValue(),this.hasChildDirective){var e={};this.fetchChildPropValues(e);var t=JSON.stringify(e);this.childDirObjects!==t&&(this.childDirObjects=t,this.assignValueToWrapper(e,!1))}},getInjectedServices:function(){var e,t=[];if(this.$root&&this.isDecorator?e=n.getValue("$root.$options.provide",this):this.$vnode?e=n.getValue("$vnode.context.$options.provide",this):this.$parent&&(e=n.getValue("$parent.$options.provide",this)),n.isNullOrUndefined(e)&&!n.isNullOrUndefined(this.$)&&(e=n.getValue("$.parent.provides",this)),e){var s=e;if("function"==typeof e)if(e.managed){var r=e.managed,i=Object.keys(r),o=void 0;this.$root&&this.isDecorator?o=Object.keys(this.$root):this.$vnode?o=Object.keys(this.$vnode.context):this.$parent&&(o=Object.keys(this.$parent));for(var a=0;a<i.length;a++)for(var p=0;p<o.length;p++)-1!==o[parseInt(p.toString(),10)].indexOf(i[parseInt(a.toString(),10)])&&(this.$root&&this.isDecorator?r[i[parseInt(p.toString(),10)]]=this.$root[o[parseInt(a.toString(),10)]]:this.$vnode?r[i[parseInt(a.toString(),10)]]=this.$vnode.context[o[parseInt(p.toString(),10)]]:this.$parent&&(r[i[parseInt(a.toString(),10)]]=this.$parent[o[parseInt(p.toString(),10)]]),s=r)}else this.$vnode?s=this.$vnode.context.$options.provide():this.$parent&&(s=this.$parent.$options.provide());t=s[this.ej2Instances.getModuleName()]||[]}return this.isDecorator=!1,t},destroyComponent:function(){var e=this;e.ej2Instances.destroy(),e.$el.style.visibility="hidden",e=null},bindProperties:function(){for(var e={},t=0,s=this.propKeys;t<s.length;t++){var r=s[t];n.isNullOrUndefined(this[""+r])?!this[0]||n.isNullOrUndefined(this[0][0])||n.isNullOrUndefined(this[0][0][""+r])||(e[""+r]=this[0][0][""+r]):e[""+r]=this[""+r]}if(this.hasChildDirective&&this.fetchChildPropValues(e),this.hasInjectedModules){for(var i=this.getInjectedServices()||[],o=0,a=this.ej2Instances.getInjectedModules()||[];o<a.length;o++){var p=a[o];-1===i.indexOf(p)&&i.push(p)}this.ej2Instances.injectedModules=i}this.assignValueToWrapper(e)},assignValueToWrapper:function(e,t){this.ej2Instances.setProperties(n.extend({},{},e,!0),!!n.isNullOrUndefined(t)||t)},fetchChildPropValues:function(e){var t={};if(this.isVue3){var n=void 0;if(this[0]&&this[0][1].slots.default?n=this[0][1].slots.default():this&&this.$&&this.$.slots&&this.$.slots.default&&(n=this.$.slots.default()),!n)return;for(var s=0;s<n.length;s++)if(n[parseInt(s.toString(),10)].type.methods||"e-seriescollection"===n[parseInt(s.toString(),10)].type){var r="e-seriescollection"===n[parseInt(s.toString(),10)].type?"series-collection":n[parseInt(s.toString(),10)].type.methods.getTag().replace("e-",""),i=this.resolveArrayDirectives(n[parseInt(s.toString(),10)].children,r),o=r.split("-"),a=this.ej2Instances.getModuleName().toLowerCase(),p=o.length>1&&a.indexOf(o[0])>-1?o[1]:o[0];p=p.replace(a,""),"splitter"==a&&"panes"==p?p="paneSettings":"bulletchart"==a&&"range"==p?p="ranges":"schedule"==a&&"header"==p&&(p="headerRows"),t[""+p]=i[""+r]}}else t=this.getDirectiveValues(this.$slots.default,this.tagMapper||{},this.tagNameMapper||{});this.childDirObjects||(this.childDirObjects=JSON.stringify(t));for(var l=0,c=Object.keys(t);l<c.length;l++){var d=c[l];e[""+d]=t[""+d]}},resolveArrayDirectives:function(e,t){var n,s=[];s=e.default?e.default():e;var r={};r[""+t]=[];for(var i=function(e){var s={},i=e.type.methods?e.type.methods.getTag():t;if(e.children){var a=void 0;if((n=o.resolveComplexDirs(e.children,o.tagMapper["e-"+t],i)).length)s=n;else for(var p=0;p<Object.keys(n).length;p++)a=Object.keys(n)[parseInt(p.toString(),10)],s[""+a]=n[""+a]}e.props&&Object.keys(e.props).forEach(function(t){var n=t.replace(/-[a-z]/g,function(e){return e[1].toUpperCase()});n&&(s[""+n]=e.props[""+t])}),/[s]\b/.test(i)&&n&&(!/[s]\b/.test(t)||n.length)?Array.isArray(s)?s.forEach(function(e){r[""+t].push(e)}):r[""+t].push(s):s&&0!==Object.keys(s).length&&r[""+t].push(s)},o=this,a=0,p=s;a<p.length;a++){i(p[a])}return r},resolveComplexDirs:function(e,t,n){for(var s,r=[],i={},o=function(e){var o=void 0;if(t[""+n]){o=Object.keys(t[""+n]).find(function(s){return t[""+n][""+s]===e.type.methods.getTag().replace(/[s]\b/,"")});var p=a.ej2Instances.getModuleName().toLowerCase();o=o?o.replace("e-",""):e.type.methods.getTag().replace("ribbon"===p?"e-ribbon-":"e-",""),"diagram"==a.ej2Instances.getModuleName().toLowerCase()&&-1!=o.indexOf("annotations")&&(o="annotations")}e.children&&(s=a.resolveComplexInnerDirs(e.children,t[""+n],e.type.methods.getTag()),i[""+o]||(i[""+o]=[]),s.length>1?i[""+o]=s:i[""+o].push(s)),e.props&&(e.props=a.getCamelCaseProps(e.props)),r.length>1?(i=0!=Object.keys(i).length||i.length?i:[],e.props&&i.push(e.props)):i=e.props?Object.assign(i,e.props):i},a=this,p=0,l=r=e.default?e.default():e;p<l.length;p++){o(l[p])}return i},resolveComplexInnerDirs:function(e,t,n){for(var s,r=[],i=(r=e.default?e.default():e).length>1?[]:{},o=0,a=r;o<a.length;o++){var p=a[o],l="ribbon"==this.ej2Instances.getModuleName().toLowerCase(),c=p.type.methods.getTag().replace(l?"e-ribbon-":"e-","");p.children&&(s=this.resolveMultilevelComplexInnerDirs(p.children,t[""+n],p.type.methods.getTag()),/[s]\b/.test(c)||r.length>1?/[s]\b/.test(c)?(i[""+c]=i[""+c]?i[""+c]:[],s.length?i[""+c]=s:i[""+c].push(s)):!s||l&&s.hasOwnProperty("collections")||i.push(s):i=s||i),p.props&&(p.props=this.getCamelCaseProps(p.props)),r.length>1&&p.props?l&&s&&s.hasOwnProperty("collections")?(s=p.props?Object.assign(s,p.props):s,i.push(s)):i.length>=0?i.push(p.props):i=p.props?Object.assign(i,p.props):i:i=p.props?Object.assign(i,p.props):i}return i},resolveMultilevelComplexInnerDirs:function(e,t,n){for(var s,r=[],i=(r=e.default?e.default():e).length>1?[]:{},o=0,a=r;o<a.length;o++){var p=a[o],l=this.ej2Instances.getModuleName().toLowerCase(),c=p.type.methods.getTag().replace("ribbon"===l?"e-ribbon-":"e-","");p.children&&(s=this.resolveComplexInnerDirs(p.children,t[""+n],p.type.methods.getTag())),p.props&&(p.props=this.getCamelCaseProps(p.props)),/[s]\b/.test(c)?(i[""+c]=i[""+c]?i[""+c]:[],s.length?i[""+c]=s:i[""+c].push(s),p.props&&i[""+c].push(p.props)):(i=s,i=p.props?Object.assign(i,p.props):i)}return i},getDirectiveValues:function(e,t,n){var s=Object.keys(t),r={};if(e)for(var i=0,o=e;i<o.length;i++){var a=o[i];if(a.componentOptions&&a.componentOptions.children&&a.componentOptions.tag||"e-seriescollection"===a.tag&&a.children){var p=a.componentOptions?a.componentOptions.tag:a.tag;if(p="e-seriescollection"===p?"e-seriesCollection":p,-1!==s.indexOf(p)){var l=n[""+p]?n[""+p]:p;r[l.replace("e-","")]=[];for(var c=0,d=a.componentOptions?a.componentOptions.children:a.children;c<d.length;c++){var h=d[c],u=this.getVNodeValue(h,t[""+p],n);0!==Object.keys(u).length&&r[l.replace("e-","")].push(u)}}}}return r},getMultiLevelDirValue:function(e,t,n){for(var s={},r=0,i=e;r<i.length;r++){var o=i[r],a=void 0,p=void 0;if(o.componentOptions?(a=o.componentOptions.tag,o.componentOptions.children&&(p=o.componentOptions.children)):"e-markersettings"!==o.tag&&"e-markersetting"!==o.tag||!o.children||(a="e-markersettings"===o.tag?"e-markerSettings":"e-markerSetting",p=o.children),a){var l=n[""+a]?n[""+a]:a;if(s[l.replace("e-","")]=[],p)for(var c=0,d=p;c<d.length;c++){var h=d[c],u=this.getVNodeValue(h,t[""+a],n);0!==Object.keys(u).length&&s[l.replace("e-","")].push(u)}}}return s},getVNodeValue:function(e,t,s){var r={};if(e.componentOptions||("e-markersettings"===e.tag||"e-markersetting"===e.tag)&&e.context){var i=void 0;i=e.componentOptions?e.componentOptions.tag:"e-markersettings"===e.tag?"e-markerSettings":"e-markerSetting","string"==typeof t&&i===t&&e.data?r=e.data.attrs?this.getCamelCaseProps(e.data.attrs):this.getCamelCaseProps(e.data):"object"==typeof t&&(e.componentOptions.children&&-1!==Object.keys(t).indexOf(i)?r=this.getMultiLevelDirValue(e.componentOptions.children,t[""+i],s):!e.children||-1===Object.keys(t).indexOf(i)||"e-markersettings"!==i&&"e-markersetting"!==i||(r=this.getMultiLevelDirValue(e.children,t[""+i],s)),e.data&&e.data.attrs&&(r=n.extend(r,this.getCamelCaseProps(e.data.attrs))))}return r},getCamelCaseProps:function(e){for(var t={},n=0,s=Object.keys(e);n<s.length;n++){var r=s[n];t[r.replace(/-[a-z]/g,function(e){return e[1].toUpperCase()})]=e[""+r]}return t},dataBind:function(){this.ej2Instances.dataBind()},setProperties:function(e,t){return this.ej2Instances.setProperties(e,t)}}}),f=function(){return(f=Object.assign||function(e){for(var t,n=1,s=arguments.length;n<s;n++){t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(this,arguments)},g=n.getTemplateEngine();n.setTemplateEngine({compile:s}),e.isExecute=l,e.aVue=c,e.gh=d,e.vueDefineComponent=h,e.ComponentBase=u,e.getProps=function(e){if(void 0===e&&(e={}),e.props)for(var t=function(t){(e.newprops||(e.newprops={}))[""+t]={},(e.watch||(e.watch={}))[""+t]=function(n){this.ej2Instances[""+t]=n,this.dataBind&&"DateRangePickerComponent"!==e.name&&this.dataBind()}},n=0,s=e.props;n<s.length;n++)t(s[n]);return[e.newprops,e.watch]},e.compile=s,Object.defineProperty(e,"__esModule",{value:!0})});
//# sourceMappingURL=ej2-vue-base.umd.min.js.map

@@ -628,6 +628,16 @@ import * as Vue from 'vue';

if (propsData) {
tempRef = Object.assign(templateCompRef.data(), propsData);
if (templateCompRef.setup) {
tempRef = Object.assign(templateCompRef.setup(null, { expose: function () { } }), propsData);
}
else {
tempRef = Object.assign(templateCompRef.data(), propsData);
}
}
else {
tempRef = Object.assign(templateCompRef.data(), dataObj.data);
if (templateCompRef.setup) {
tempRef = Object.assign(templateCompRef.setup(null, { expose: function () { } }), dataObj.data);
}
else {
tempRef = Object.assign(templateCompRef.data(), dataObj.data);
}
if (templateCompRef.components) {

@@ -645,2 +655,10 @@ let objkeys = Object.keys(templateCompRef.components) || [];

}
if (templateCompRef.setup) {
templateCompRef.setup = function (__props, { expose: __expose }) {
__expose();
const __returned__ = tempRef;
Object.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true });
return __returned__;
};
}
templateCompRef.data = function () { return tempRef; };

@@ -708,2 +726,8 @@ let app = aVue.createApp(templateCompRef);

}
if (templateFunction.options.setup) {
var variables = Object.assign(templateFunction.options.setup(), dataObj.data);
templateFunction.options.setup = function (__props) {
return variables;
};
}
let templateVue = new templateFunction(dataObj);

@@ -710,0 +734,0 @@ // let templateVue = new Vue(tempObj.template);

@@ -673,6 +673,16 @@ import * as Vue from 'vue';

if (propsData) {
tempRef_1 = Object.assign(templateCompRef.data(), propsData);
if (templateCompRef.setup) {
tempRef_1 = Object.assign(templateCompRef.setup(null, { expose: function () { } }), propsData);
}
else {
tempRef_1 = Object.assign(templateCompRef.data(), propsData);
}
}
else {
tempRef_1 = Object.assign(templateCompRef.data(), dataObj_1.data);
if (templateCompRef.setup) {
tempRef_1 = Object.assign(templateCompRef.setup(null, { expose: function () { } }), dataObj_1.data);
}
else {
tempRef_1 = Object.assign(templateCompRef.data(), dataObj_1.data);
}
if (templateCompRef.components) {

@@ -694,2 +704,11 @@ var objkeys = Object.keys(templateCompRef.components) || [];

}
if (templateCompRef.setup) {
templateCompRef.setup = function (__props, _a) {
var __expose = _a.expose;
__expose();
var __returned__ = tempRef_1;
Object.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true });
return __returned__;
};
}
templateCompRef.data = function () { return tempRef_1; };

@@ -757,2 +776,8 @@ var app = aVue.createApp(templateCompRef);

}
if (templateFunction.options.setup) {
var variables = Object.assign(templateFunction.options.setup(), dataObj.data);
templateFunction.options.setup = function (__props) {
return variables;
};
}
var templateVue = new templateFunction(dataObj);

@@ -759,0 +784,0 @@ // let templateVue = new Vue(tempObj.template);

/*!
* filename: ej2-vue-base.min.js
* version : 21.2.3
* version : 21.2.6
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.

@@ -10,3 +10,3 @@ * Use of this code is subject to the terms of our license.

*/
this.ej=this.ej||{},this.ej.vuebase=function(e,t,n){"use strict";function s(e){if(void 0===e&&(e={}),e.props)for(var t=0,n=e.props;t<n.length;t++)!function(t){(e.newprops||(e.newprops={}))[""+t]={},(e.watch||(e.watch={}))[""+t]=function(n){this.ej2Instances[""+t]=n,this.dataBind&&"DateRangePickerComponent"!==e.name&&this.dataBind()}}(n[t]);return[e.newprops,e.watch]}function r(e,t){var s=this;return function(r,o,l,c,h){var f;if(o){var g=o.vueInstance?o.vueInstance.plugins:null,v=n.getUniqueID("templateParentDiv"),j=n.getUniqueID("templateDiv"),O=n.createElement("div",{id:v,innerHTML:'<div id="'+j+'"></div>'});if(document.body.appendChild(O),d||"string"!=typeof e)if(d)if("string"==typeof e){var b=a(o.vueInstance,e,h);if(!b)return n.detach(O),I(e,t)(r);var y={},$=function(e){e.$parent&&$(e.$parent),e._provided&&Object.keys(e._provided).length>0&&(y=m({},y,e._provided))},C=o.vueInstance?o.vueInstance:h&&h.vueInstance?h.vueInstance:null;C&&$(C),new u({provide:m({},y),render:function(){return b[""+e]({data:r})}}).$mount("#"+j),f=O.childNodes,n.detach(O)}else{var V=e.call(s,{}),x=V.template,D=n.getValue("template.propsData",V),k={data:{data:n.extend(V.data||{},r)},parent:o.vueInstance};if(D&&(x=V.template.extends,k.propsData=D),"function"!=typeof x&&(x=u.extend(x)),new x(k).$mount("#"+j),f=O.childNodes,o.vueInstance){var S=o.vueInstance.templateCollection;S||(o.vueInstance.templateCollection={},S=o.vueInstance.templateCollection),l&&(S[""+l]||(S[""+l]=[]),S[""+l].push(f[0]))}n.detach(O)}else{var M=V=e.call(s,{}),D=n.getValue("template.propsData",V),N={data:{data:n.extend(V.data||{},r)},parent:o.vueInstance};M.template||(M.template=M[Object.keys(M)[0]]);var P=void 0;if(M.template.extends)P=M.template.extends._context.components.template;else if(!(P=M.template._context.components[e.name])){var _=Object.keys(M.template._context.components)[0];P=M.template._context.components[""+_]}var w;if(D)w=Object.assign(P.data(),D);else if(w=Object.assign(P.data(),N.data),P.components)for(var T=0,U=Object.keys(P.components)||[];T<U.length;T++)!function(e){var t=P.components[""+e];t&&t.data&&(t.__data||(t.__data=t.data),t.data=function(e){return Object.assign(t.__data.call(e),N.data)})}(U[T]);P.data=function(){return w};E=u.createApp(P);if(g)for(A=0;A<g.length;A++)E.use(g[parseInt(A.toString(),10)]);i(E,o.vueInstance,h),E.mount("#"+v),f=O.childNodes,n.detach(O)}else{var L=p(o.vueInstance,e,h);if(!L)return n.detach(O),I(e,t)(r);var E=u.createApp({render:function(){return L[""+e]({data:r})}});if(g)for(var A=0;A<g.length;A++)E.use(g[parseInt(A.toString(),10)]);i(E,o.vueInstance,h),E.mount("#"+v),f=O.childNodes,n.detach(O)}}return f||[]}}function i(e,t,n){var s=t||(n&&n.vueInstance?n.vueInstance:null);if(s){for(var r=["components","mixins","provides"],i=0;i<r.length;i++){var a=r[i];e._context[a]&&s.$.appContext[a]&&(e._context[a]=s.$.appContext[a])}var o={},l=function(e){e.$&&e.$.parent&&l(e.$.parent),e.provides&&Object.keys(e.provides).length>0&&(o=m({},o,e.provides))};l(s),e._context.provides&&(e._context.provides=m({},e._context.provides,o)),e._context.config.globalProperties&&s.$.appContext.config.globalProperties&&(e._context.config.globalProperties=s.$.appContext.config.globalProperties)}}function a(e,t,n){if(e||n&&n.vueInstance)return o(n&&n.vueInstance?n.vueInstance:e,t)}function o(e,t){if(e){var n=e.$slots,s=e.$scopedSlots,r=e.scopedSlots,i=e.children;if(s&&s[""+t])return s;if(n&&n.default){for(var a=n.default,p=0;p<a.length;p++)if(c=o(l(a[parseInt(p.toString(),10)]),t))return c}else{if(r&&r[""+t])return r;if(i)for(p=0;p<i.length;p++){var c=o(l(i[parseInt(p.toString(),10)]),t);if(c)return c}}}}function l(e){var t=e.componentOptions&&e.componentOptions.children?e.componentOptions:e.data||"e-markersettings"!==e.tag&&"e-markersetting"!==e.tag?e.data:e;return e.componentInstance?e.componentInstance:t}function p(e,t,n){if(e||n&&n.vueInstance)return c(n&&n.vueInstance?n.vueInstance.$slots:e.$slots,t)}function c(e,t){if(e&&e[""+t])return e;if(e&&e.default)for(var n=e.default(),s=0;s<n.length;s++){var r=c(n[parseInt(s.toString(),10)].children,t);if(r)return r}}var h=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[""+n]=e[""+n]);return t.default=e,t}(t),d=!(parseInt(h.version)>2),u=d?h.default.default?h.default.default:h.default:h,f=h.h,g=function(e){return d?u.extend(e):u.defineComponent(e)},v=g({name:"ComponentBase",data:function(){return{tagMapper:{},tagNameMapper:{},hasInjectedModules:!1,hasChildDirective:!1,childDirObjects:"",propKeys:{},isDecorator:!1}},created:function(){var e=this;if(this.ej2Instance&&(this.ej2Instances=this.isVue3?u.toRaw(this.ej2Instance):this.ej2Instance),this.propKeys){for(var t=this,s=0,r=this.propKeys;s<r.length;s++)!function(n){t.ej2Instances.addEventListener(n,function(t){e.$emit(n,t)})}(r[s]);var i=n.getValue("$root.$options.provide",this),a=n.getValue("$parent.$options.provide",this);if(a=n.isNullOrUndefined(a)?n.getValue("$.parent.provides",this):a,this.hasInjectedModules&&!d){var o=[];i&&i.managed?(this.isDecorator=!0,o=this.getInjectedServices()||[]):i?o=i[this.ej2Instances.getModuleName()]||[]:a&&(o=this.getInjectedServices()||[]);for(var l=0,p=this.ej2Instances.getInjectedModules()||[];l<p.length;l++){var c=p[l];-1===o.indexOf(c)&&o.push(c)}this.ej2Instances.injectedModules=o}}},mounted:function(){var e=this.$el?this.$el.querySelectorAll("div.e-directive"):null;if(!d&&e)for(var t=0;t<e.length;t++)e[parseInt(t.toString(),10)].parentElement&&e[parseInt(t.toString(),10)].parentElement.removeChild(e[parseInt(t.toString(),10)]);this.ej2Instances.isVue=!0,this.ej2Instances.isVue3=this.isVue3,this.ej2Instances.vueInstance=this,this.isVue3&&(this.ej2Instances.ej2Instances=this.ej2Instances,this.ej2Instances.referModels=this.models,this.setModelValue()),this.ej2Instances.appendTo(this.$el)},updated:function(){if(this.isVue3&&this.setModelValue(),this.hasChildDirective){var e={};this.fetchChildPropValues(e);var t=JSON.stringify(e);this.childDirObjects!==t&&(this.childDirObjects=t,this.assignValueToWrapper(e,!1))}},beforeDestroy:function(){this.destroyComponent()},beforeUnmount:function(){this.destroyComponent()},methods:{setModelValue:function(){if(!n.isNullOrUndefined(this.modelValue)||!n.isNullOrUndefined(this.$attrs.modelValue)){var e=(this.models.toString().match(/checked|value/)||[])[0];n.isNullOrUndefined(e)||(this.ej2Instances[""+e]=n.isNullOrUndefined(this.modelValue)?this.$attrs.modelValue:this.modelValue)}},updated:function(){if(this.isVue3&&this.setModelValue(),this.hasChildDirective){var e={};this.fetchChildPropValues(e);var t=JSON.stringify(e);this.childDirObjects!==t&&(this.childDirObjects=t,this.assignValueToWrapper(e,!1))}},getInjectedServices:function(){var e,t=[];if(this.$root&&this.isDecorator?e=n.getValue("$root.$options.provide",this):this.$vnode?e=n.getValue("$vnode.context.$options.provide",this):this.$parent&&(e=n.getValue("$parent.$options.provide",this)),n.isNullOrUndefined(e)&&!n.isNullOrUndefined(this.$)&&(e=n.getValue("$.parent.provides",this)),e){var s=e;if("function"==typeof e)if(e.managed){var r=e.managed,i=Object.keys(r),a=void 0;this.$root&&this.isDecorator?a=Object.keys(this.$root):this.$vnode?a=Object.keys(this.$vnode.context):this.$parent&&(a=Object.keys(this.$parent));for(var o=0;o<i.length;o++)for(var l=0;l<a.length;l++)-1!==a[parseInt(l.toString(),10)].indexOf(i[parseInt(o.toString(),10)])&&(this.$root&&this.isDecorator?r[i[parseInt(l.toString(),10)]]=this.$root[a[parseInt(o.toString(),10)]]:this.$vnode?r[i[parseInt(o.toString(),10)]]=this.$vnode.context[a[parseInt(l.toString(),10)]]:this.$parent&&(r[i[parseInt(o.toString(),10)]]=this.$parent[a[parseInt(l.toString(),10)]]),s=r)}else this.$vnode?s=this.$vnode.context.$options.provide():this.$parent&&(s=this.$parent.$options.provide());t=s[this.ej2Instances.getModuleName()]||[]}return this.isDecorator=!1,t},destroyComponent:function(){var e=this;e.ej2Instances.destroy(),e.$el.style.visibility="hidden",e=null},bindProperties:function(){for(var e={},t=0,s=this.propKeys;t<s.length;t++){var r=s[t];n.isNullOrUndefined(this[""+r])?!this[0]||n.isNullOrUndefined(this[0][0])||n.isNullOrUndefined(this[0][0][""+r])||(e[""+r]=this[0][0][""+r]):e[""+r]=this[""+r]}if(this.hasChildDirective&&this.fetchChildPropValues(e),this.hasInjectedModules){for(var i=this.getInjectedServices()||[],a=0,o=this.ej2Instances.getInjectedModules()||[];a<o.length;a++){var l=o[a];-1===i.indexOf(l)&&i.push(l)}this.ej2Instances.injectedModules=i}this.assignValueToWrapper(e)},assignValueToWrapper:function(e,t){this.ej2Instances.setProperties(n.extend({},{},e,!0),!!n.isNullOrUndefined(t)||t)},fetchChildPropValues:function(e){var t={};if(this.isVue3){var n=void 0;if(this[0]&&this[0][1].slots.default?n=this[0][1].slots.default():this&&this.$&&this.$.slots&&this.$.slots.default&&(n=this.$.slots.default()),!n)return;for(var s=0;s<n.length;s++)if(n[parseInt(s.toString(),10)].type.methods||"e-seriescollection"===n[parseInt(s.toString(),10)].type){var r="e-seriescollection"===n[parseInt(s.toString(),10)].type?"series-collection":n[parseInt(s.toString(),10)].type.methods.getTag().replace("e-",""),i=this.resolveArrayDirectives(n[parseInt(s.toString(),10)].children,r),a=r.split("-"),o=this.ej2Instances.getModuleName().toLowerCase(),l=a.length>1&&o.indexOf(a[0])>-1?a[1]:a[0];l=l.replace(o,""),"splitter"==o&&"panes"==l?l="paneSettings":"bulletchart"==o&&"range"==l?l="ranges":"schedule"==o&&"header"==l&&(l="headerRows"),t[""+l]=i[""+r]}}else t=this.getDirectiveValues(this.$slots.default,this.tagMapper||{},this.tagNameMapper||{});this.childDirObjects||(this.childDirObjects=JSON.stringify(t));for(var p=0,c=Object.keys(t);p<c.length;p++){var h=c[p];e[""+h]=t[""+h]}},resolveArrayDirectives:function(e,t){var n,s=[];s=e.default?e.default():e;var r={};r[""+t]=[];for(var i=this,a=0,o=s;a<o.length;a++)!function(e){var s={},a=e.type.methods?e.type.methods.getTag():t;if(e.children){var o=void 0;if((n=i.resolveComplexDirs(e.children,i.tagMapper["e-"+t],a)).length)s=n;else for(var l=0;l<Object.keys(n).length;l++)o=Object.keys(n)[parseInt(l.toString(),10)],s[""+o]=n[""+o]}e.props&&Object.keys(e.props).forEach(function(t){var n=t.replace(/-[a-z]/g,function(e){return e[1].toUpperCase()});n&&(s[""+n]=e.props[""+t])}),/[s]\b/.test(a)&&n&&(!/[s]\b/.test(t)||n.length)?Array.isArray(s)?s.forEach(function(e){r[""+t].push(e)}):r[""+t].push(s):s&&0!==Object.keys(s).length&&r[""+t].push(s)}(o[a]);return r},resolveComplexDirs:function(e,t,n){for(var s,r=[],i={},a=this,o=0,l=r=e.default?e.default():e;o<l.length;o++)!function(e){var o=void 0;if(t[""+n]){o=Object.keys(t[""+n]).find(function(s){return t[""+n][""+s]===e.type.methods.getTag().replace(/[s]\b/,"")});var l=a.ej2Instances.getModuleName().toLowerCase();o=o?o.replace("e-",""):e.type.methods.getTag().replace("ribbon"===l?"e-ribbon-":"e-",""),"diagram"==a.ej2Instances.getModuleName().toLowerCase()&&-1!=o.indexOf("annotations")&&(o="annotations")}e.children&&(s=a.resolveComplexInnerDirs(e.children,t[""+n],e.type.methods.getTag()),i[""+o]||(i[""+o]=[]),s.length>1?i[""+o]=s:i[""+o].push(s)),e.props&&(e.props=a.getCamelCaseProps(e.props)),r.length>1?(i=0!=Object.keys(i).length||i.length?i:[],e.props&&i.push(e.props)):i=e.props?Object.assign(i,e.props):i}(l[o]);return i},resolveComplexInnerDirs:function(e,t,n){for(var s,r=[],i=(r=e.default?e.default():e).length>1?[]:{},a=0,o=r;a<o.length;a++){var l=o[a],p="ribbon"==this.ej2Instances.getModuleName().toLowerCase(),c=l.type.methods.getTag().replace(p?"e-ribbon-":"e-","");l.children&&(s=this.resolveMultilevelComplexInnerDirs(l.children,t[""+n],l.type.methods.getTag()),/[s]\b/.test(c)||r.length>1?/[s]\b/.test(c)?(i[""+c]=i[""+c]?i[""+c]:[],s.length?i[""+c]=s:i[""+c].push(s)):!s||p&&s.hasOwnProperty("collections")||i.push(s):i=s||i),l.props&&(l.props=this.getCamelCaseProps(l.props)),r.length>1&&l.props?p&&s&&s.hasOwnProperty("collections")?(s=l.props?Object.assign(s,l.props):s,i.push(s)):i.length>=0?i.push(l.props):i=l.props?Object.assign(i,l.props):i:i=l.props?Object.assign(i,l.props):i}return i},resolveMultilevelComplexInnerDirs:function(e,t,n){for(var s,r=[],i=(r=e.default?e.default():e).length>1?[]:{},a=0,o=r;a<o.length;a++){var l=o[a],p=this.ej2Instances.getModuleName().toLowerCase(),c=l.type.methods.getTag().replace("ribbon"===p?"e-ribbon-":"e-","");l.children&&(s=this.resolveComplexInnerDirs(l.children,t[""+n],l.type.methods.getTag())),l.props&&(l.props=this.getCamelCaseProps(l.props)),/[s]\b/.test(c)?(i[""+c]=i[""+c]?i[""+c]:[],s.length?i[""+c]=s:i[""+c].push(s),l.props&&i[""+c].push(l.props)):(i=s,i=l.props?Object.assign(i,l.props):i)}return i},getDirectiveValues:function(e,t,n){var s=Object.keys(t),r={};if(e)for(var i=0,a=e;i<a.length;i++){var o=a[i];if(o.componentOptions&&o.componentOptions.children&&o.componentOptions.tag||"e-seriescollection"===o.tag&&o.children){var l=o.componentOptions?o.componentOptions.tag:o.tag;if(l="e-seriescollection"===l?"e-seriesCollection":l,-1!==s.indexOf(l)){var p=n[""+l]?n[""+l]:l;r[p.replace("e-","")]=[];for(var c=0,h=o.componentOptions?o.componentOptions.children:o.children;c<h.length;c++){var d=h[c],u=this.getVNodeValue(d,t[""+l],n);0!==Object.keys(u).length&&r[p.replace("e-","")].push(u)}}}}return r},getMultiLevelDirValue:function(e,t,n){for(var s={},r=0,i=e;r<i.length;r++){var a=i[r],o=void 0,l=void 0;if(a.componentOptions?(o=a.componentOptions.tag,a.componentOptions.children&&(l=a.componentOptions.children)):"e-markersettings"!==a.tag&&"e-markersetting"!==a.tag||!a.children||(o="e-markersettings"===a.tag?"e-markerSettings":"e-markerSetting",l=a.children),o){var p=n[""+o]?n[""+o]:o;if(s[p.replace("e-","")]=[],l)for(var c=0,h=l;c<h.length;c++){var d=h[c],u=this.getVNodeValue(d,t[""+o],n);0!==Object.keys(u).length&&s[p.replace("e-","")].push(u)}}}return s},getVNodeValue:function(e,t,s){var r={};if(e.componentOptions||("e-markersettings"===e.tag||"e-markersetting"===e.tag)&&e.context){var i=void 0;i=e.componentOptions?e.componentOptions.tag:"e-markersettings"===e.tag?"e-markerSettings":"e-markerSetting","string"==typeof t&&i===t&&e.data?r=e.data.attrs?this.getCamelCaseProps(e.data.attrs):this.getCamelCaseProps(e.data):"object"==typeof t&&(e.componentOptions.children&&-1!==Object.keys(t).indexOf(i)?r=this.getMultiLevelDirValue(e.componentOptions.children,t[""+i],s):!e.children||-1===Object.keys(t).indexOf(i)||"e-markersettings"!==i&&"e-markersetting"!==i||(r=this.getMultiLevelDirValue(e.children,t[""+i],s)),e.data&&e.data.attrs&&(r=n.extend(r,this.getCamelCaseProps(e.data.attrs))))}return r},getCamelCaseProps:function(e){for(var t={},n=0,s=Object.keys(e);n<s.length;n++){var r=s[n];t[r.replace(/-[a-z]/g,function(e){return e[1].toUpperCase()})]=e[""+r]}return t},dataBind:function(){this.ej2Instances.dataBind()},setProperties:function(e,t){return this.ej2Instances.setProperties(e,t)}}}),m=function(){return(m=Object.assign||function(e){for(var t,n=1,s=arguments.length;n<s;n++){t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(this,arguments)},I=n.getTemplateEngine();return n.setTemplateEngine({compile:r}),e.isExecute=d,e.aVue=u,e.gh=f,e.vueDefineComponent=g,e.ComponentBase=v,e.getProps=s,e.compile=r,e}({},Vue,ej.base),this.ejs=ej;
this.ej=this.ej||{},this.ej.vuebase=function(e,t,n){"use strict";function s(e){if(void 0===e&&(e={}),e.props)for(var t=0,n=e.props;t<n.length;t++)!function(t){(e.newprops||(e.newprops={}))[""+t]={},(e.watch||(e.watch={}))[""+t]=function(n){this.ej2Instances[""+t]=n,this.dataBind&&"DateRangePickerComponent"!==e.name&&this.dataBind()}}(n[t]);return[e.newprops,e.watch]}function r(e,t){var s=this;return function(r,o,p,c,h){var f;if(o){var g=o.vueInstance?o.vueInstance.plugins:null,v=n.getUniqueID("templateParentDiv"),j=n.getUniqueID("templateDiv"),O=n.createElement("div",{id:v,innerHTML:'<div id="'+j+'"></div>'});if(document.body.appendChild(O),d||"string"!=typeof e)if(d)if("string"==typeof e){var b=a(o.vueInstance,e,h);if(!b)return n.detach(O),I(e,t)(r);var y={},$=function(e){e.$parent&&$(e.$parent),e._provided&&Object.keys(e._provided).length>0&&(y=m({},y,e._provided))},C=o.vueInstance?o.vueInstance:h&&h.vueInstance?h.vueInstance:null;C&&$(C),new u({provide:m({},y),render:function(){return b[""+e]({data:r})}}).$mount("#"+j),f=O.childNodes,n.detach(O)}else{var x=e.call(s,{}),V=x.template,D=n.getValue("template.propsData",x),S={data:{data:n.extend(x.data||{},r)},parent:o.vueInstance};if(D&&(V=x.template.extends,S.propsData=D),"function"!=typeof V&&(V=u.extend(V)),V.options.setup){var k=Object.assign(V.options.setup(),S.data);V.options.setup=function(e){return k}}if(new V(S).$mount("#"+j),f=O.childNodes,o.vueInstance){var M=o.vueInstance.templateCollection;M||(o.vueInstance.templateCollection={},M=o.vueInstance.templateCollection),p&&(M[""+p]||(M[""+p]=[]),M[""+p].push(f[0]))}n.detach(O)}else{var N=x=e.call(s,{}),D=n.getValue("template.propsData",x),P={data:{data:n.extend(x.data||{},r)},parent:o.vueInstance};N.template||(N.template=N[Object.keys(N)[0]]);var _=void 0;if(N.template.extends)_=N.template.extends._context.components.template;else if(!(_=N.template._context.components[e.name])){var w=Object.keys(N.template._context.components)[0];_=N.template._context.components[""+w]}var T;if(D)T=_.setup?Object.assign(_.setup(null,{expose:function(){}}),D):Object.assign(_.data(),D);else if(T=_.setup?Object.assign(_.setup(null,{expose:function(){}}),P.data):Object.assign(_.data(),P.data),_.components)for(var U=0,L=Object.keys(_.components)||[];U<L.length;U++)!function(e){var t=_.components[""+e];t&&t.data&&(t.__data||(t.__data=t.data),t.data=function(e){return Object.assign(t.__data.call(e),P.data)})}(L[U]);_.setup&&(_.setup=function(e,t){(0,t.expose)();var n=T;return Object.defineProperty(n,"__isScriptSetup",{enumerable:!1,value:!0}),n}),_.data=function(){return T};A=u.createApp(_);if(g)for(B=0;B<g.length;B++)A.use(g[parseInt(B.toString(),10)]);i(A,o.vueInstance,h),A.mount("#"+v),f=O.childNodes,n.detach(O)}else{var E=l(o.vueInstance,e,h);if(!E)return n.detach(O),I(e,t)(r);var A=u.createApp({render:function(){return E[""+e]({data:r})}});if(g)for(var B=0;B<g.length;B++)A.use(g[parseInt(B.toString(),10)]);i(A,o.vueInstance,h),A.mount("#"+v),f=O.childNodes,n.detach(O)}}return f||[]}}function i(e,t,n){var s=t||(n&&n.vueInstance?n.vueInstance:null);if(s){for(var r=["components","mixins","provides"],i=0;i<r.length;i++){var a=r[i];e._context[a]&&s.$.appContext[a]&&(e._context[a]=s.$.appContext[a])}var o={},p=function(e){e.$&&e.$.parent&&p(e.$.parent),e.provides&&Object.keys(e.provides).length>0&&(o=m({},o,e.provides))};p(s),e._context.provides&&(e._context.provides=m({},e._context.provides,o)),e._context.config.globalProperties&&s.$.appContext.config.globalProperties&&(e._context.config.globalProperties=s.$.appContext.config.globalProperties)}}function a(e,t,n){if(e||n&&n.vueInstance)return o(n&&n.vueInstance?n.vueInstance:e,t)}function o(e,t){if(e){var n=e.$slots,s=e.$scopedSlots,r=e.scopedSlots,i=e.children;if(s&&s[""+t])return s;if(n&&n.default){for(var a=n.default,l=0;l<a.length;l++)if(c=o(p(a[parseInt(l.toString(),10)]),t))return c}else{if(r&&r[""+t])return r;if(i)for(l=0;l<i.length;l++){var c=o(p(i[parseInt(l.toString(),10)]),t);if(c)return c}}}}function p(e){var t=e.componentOptions&&e.componentOptions.children?e.componentOptions:e.data||"e-markersettings"!==e.tag&&"e-markersetting"!==e.tag?e.data:e;return e.componentInstance?e.componentInstance:t}function l(e,t,n){if(e||n&&n.vueInstance)return c(n&&n.vueInstance?n.vueInstance.$slots:e.$slots,t)}function c(e,t){if(e&&e[""+t])return e;if(e&&e.default)for(var n=e.default(),s=0;s<n.length;s++){var r=c(n[parseInt(s.toString(),10)].children,t);if(r)return r}}var h=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[""+n]=e[""+n]);return t.default=e,t}(t),d=!(parseInt(h.version)>2),u=d?h.default.default?h.default.default:h.default:h,f=h.h,g=function(e){return d?u.extend(e):u.defineComponent(e)},v=g({name:"ComponentBase",data:function(){return{tagMapper:{},tagNameMapper:{},hasInjectedModules:!1,hasChildDirective:!1,childDirObjects:"",propKeys:{},isDecorator:!1}},created:function(){var e=this;if(this.ej2Instance&&(this.ej2Instances=this.isVue3?u.toRaw(this.ej2Instance):this.ej2Instance),this.propKeys){for(var t=this,s=0,r=this.propKeys;s<r.length;s++)!function(n){t.ej2Instances.addEventListener(n,function(t){e.$emit(n,t)})}(r[s]);var i=n.getValue("$root.$options.provide",this),a=n.getValue("$parent.$options.provide",this);if(a=n.isNullOrUndefined(a)?n.getValue("$.parent.provides",this):a,this.hasInjectedModules&&!d){var o=[];i&&i.managed?(this.isDecorator=!0,o=this.getInjectedServices()||[]):i?o=i[this.ej2Instances.getModuleName()]||[]:a&&(o=this.getInjectedServices()||[]);for(var p=0,l=this.ej2Instances.getInjectedModules()||[];p<l.length;p++){var c=l[p];-1===o.indexOf(c)&&o.push(c)}this.ej2Instances.injectedModules=o}}},mounted:function(){var e=this.$el?this.$el.querySelectorAll("div.e-directive"):null;if(!d&&e)for(var t=0;t<e.length;t++)e[parseInt(t.toString(),10)].parentElement&&e[parseInt(t.toString(),10)].parentElement.removeChild(e[parseInt(t.toString(),10)]);this.ej2Instances.isVue=!0,this.ej2Instances.isVue3=this.isVue3,this.ej2Instances.vueInstance=this,this.isVue3&&(this.ej2Instances.ej2Instances=this.ej2Instances,this.ej2Instances.referModels=this.models,this.setModelValue()),this.ej2Instances.appendTo(this.$el)},updated:function(){if(this.isVue3&&this.setModelValue(),this.hasChildDirective){var e={};this.fetchChildPropValues(e);var t=JSON.stringify(e);this.childDirObjects!==t&&(this.childDirObjects=t,this.assignValueToWrapper(e,!1))}},beforeDestroy:function(){this.destroyComponent()},beforeUnmount:function(){this.destroyComponent()},methods:{setModelValue:function(){if(!n.isNullOrUndefined(this.modelValue)||!n.isNullOrUndefined(this.$attrs.modelValue)){var e=(this.models.toString().match(/checked|value/)||[])[0];n.isNullOrUndefined(e)||(this.ej2Instances[""+e]=n.isNullOrUndefined(this.modelValue)?this.$attrs.modelValue:this.modelValue)}},updated:function(){if(this.isVue3&&this.setModelValue(),this.hasChildDirective){var e={};this.fetchChildPropValues(e);var t=JSON.stringify(e);this.childDirObjects!==t&&(this.childDirObjects=t,this.assignValueToWrapper(e,!1))}},getInjectedServices:function(){var e,t=[];if(this.$root&&this.isDecorator?e=n.getValue("$root.$options.provide",this):this.$vnode?e=n.getValue("$vnode.context.$options.provide",this):this.$parent&&(e=n.getValue("$parent.$options.provide",this)),n.isNullOrUndefined(e)&&!n.isNullOrUndefined(this.$)&&(e=n.getValue("$.parent.provides",this)),e){var s=e;if("function"==typeof e)if(e.managed){var r=e.managed,i=Object.keys(r),a=void 0;this.$root&&this.isDecorator?a=Object.keys(this.$root):this.$vnode?a=Object.keys(this.$vnode.context):this.$parent&&(a=Object.keys(this.$parent));for(var o=0;o<i.length;o++)for(var p=0;p<a.length;p++)-1!==a[parseInt(p.toString(),10)].indexOf(i[parseInt(o.toString(),10)])&&(this.$root&&this.isDecorator?r[i[parseInt(p.toString(),10)]]=this.$root[a[parseInt(o.toString(),10)]]:this.$vnode?r[i[parseInt(o.toString(),10)]]=this.$vnode.context[a[parseInt(p.toString(),10)]]:this.$parent&&(r[i[parseInt(o.toString(),10)]]=this.$parent[a[parseInt(p.toString(),10)]]),s=r)}else this.$vnode?s=this.$vnode.context.$options.provide():this.$parent&&(s=this.$parent.$options.provide());t=s[this.ej2Instances.getModuleName()]||[]}return this.isDecorator=!1,t},destroyComponent:function(){var e=this;e.ej2Instances.destroy(),e.$el.style.visibility="hidden",e=null},bindProperties:function(){for(var e={},t=0,s=this.propKeys;t<s.length;t++){var r=s[t];n.isNullOrUndefined(this[""+r])?!this[0]||n.isNullOrUndefined(this[0][0])||n.isNullOrUndefined(this[0][0][""+r])||(e[""+r]=this[0][0][""+r]):e[""+r]=this[""+r]}if(this.hasChildDirective&&this.fetchChildPropValues(e),this.hasInjectedModules){for(var i=this.getInjectedServices()||[],a=0,o=this.ej2Instances.getInjectedModules()||[];a<o.length;a++){var p=o[a];-1===i.indexOf(p)&&i.push(p)}this.ej2Instances.injectedModules=i}this.assignValueToWrapper(e)},assignValueToWrapper:function(e,t){this.ej2Instances.setProperties(n.extend({},{},e,!0),!!n.isNullOrUndefined(t)||t)},fetchChildPropValues:function(e){var t={};if(this.isVue3){var n=void 0;if(this[0]&&this[0][1].slots.default?n=this[0][1].slots.default():this&&this.$&&this.$.slots&&this.$.slots.default&&(n=this.$.slots.default()),!n)return;for(var s=0;s<n.length;s++)if(n[parseInt(s.toString(),10)].type.methods||"e-seriescollection"===n[parseInt(s.toString(),10)].type){var r="e-seriescollection"===n[parseInt(s.toString(),10)].type?"series-collection":n[parseInt(s.toString(),10)].type.methods.getTag().replace("e-",""),i=this.resolveArrayDirectives(n[parseInt(s.toString(),10)].children,r),a=r.split("-"),o=this.ej2Instances.getModuleName().toLowerCase(),p=a.length>1&&o.indexOf(a[0])>-1?a[1]:a[0];p=p.replace(o,""),"splitter"==o&&"panes"==p?p="paneSettings":"bulletchart"==o&&"range"==p?p="ranges":"schedule"==o&&"header"==p&&(p="headerRows"),t[""+p]=i[""+r]}}else t=this.getDirectiveValues(this.$slots.default,this.tagMapper||{},this.tagNameMapper||{});this.childDirObjects||(this.childDirObjects=JSON.stringify(t));for(var l=0,c=Object.keys(t);l<c.length;l++){var h=c[l];e[""+h]=t[""+h]}},resolveArrayDirectives:function(e,t){var n,s=[];s=e.default?e.default():e;var r={};r[""+t]=[];for(var i=this,a=0,o=s;a<o.length;a++)!function(e){var s={},a=e.type.methods?e.type.methods.getTag():t;if(e.children){var o=void 0;if((n=i.resolveComplexDirs(e.children,i.tagMapper["e-"+t],a)).length)s=n;else for(var p=0;p<Object.keys(n).length;p++)o=Object.keys(n)[parseInt(p.toString(),10)],s[""+o]=n[""+o]}e.props&&Object.keys(e.props).forEach(function(t){var n=t.replace(/-[a-z]/g,function(e){return e[1].toUpperCase()});n&&(s[""+n]=e.props[""+t])}),/[s]\b/.test(a)&&n&&(!/[s]\b/.test(t)||n.length)?Array.isArray(s)?s.forEach(function(e){r[""+t].push(e)}):r[""+t].push(s):s&&0!==Object.keys(s).length&&r[""+t].push(s)}(o[a]);return r},resolveComplexDirs:function(e,t,n){for(var s,r=[],i={},a=this,o=0,p=r=e.default?e.default():e;o<p.length;o++)!function(e){var o=void 0;if(t[""+n]){o=Object.keys(t[""+n]).find(function(s){return t[""+n][""+s]===e.type.methods.getTag().replace(/[s]\b/,"")});var p=a.ej2Instances.getModuleName().toLowerCase();o=o?o.replace("e-",""):e.type.methods.getTag().replace("ribbon"===p?"e-ribbon-":"e-",""),"diagram"==a.ej2Instances.getModuleName().toLowerCase()&&-1!=o.indexOf("annotations")&&(o="annotations")}e.children&&(s=a.resolveComplexInnerDirs(e.children,t[""+n],e.type.methods.getTag()),i[""+o]||(i[""+o]=[]),s.length>1?i[""+o]=s:i[""+o].push(s)),e.props&&(e.props=a.getCamelCaseProps(e.props)),r.length>1?(i=0!=Object.keys(i).length||i.length?i:[],e.props&&i.push(e.props)):i=e.props?Object.assign(i,e.props):i}(p[o]);return i},resolveComplexInnerDirs:function(e,t,n){for(var s,r=[],i=(r=e.default?e.default():e).length>1?[]:{},a=0,o=r;a<o.length;a++){var p=o[a],l="ribbon"==this.ej2Instances.getModuleName().toLowerCase(),c=p.type.methods.getTag().replace(l?"e-ribbon-":"e-","");p.children&&(s=this.resolveMultilevelComplexInnerDirs(p.children,t[""+n],p.type.methods.getTag()),/[s]\b/.test(c)||r.length>1?/[s]\b/.test(c)?(i[""+c]=i[""+c]?i[""+c]:[],s.length?i[""+c]=s:i[""+c].push(s)):!s||l&&s.hasOwnProperty("collections")||i.push(s):i=s||i),p.props&&(p.props=this.getCamelCaseProps(p.props)),r.length>1&&p.props?l&&s&&s.hasOwnProperty("collections")?(s=p.props?Object.assign(s,p.props):s,i.push(s)):i.length>=0?i.push(p.props):i=p.props?Object.assign(i,p.props):i:i=p.props?Object.assign(i,p.props):i}return i},resolveMultilevelComplexInnerDirs:function(e,t,n){for(var s,r=[],i=(r=e.default?e.default():e).length>1?[]:{},a=0,o=r;a<o.length;a++){var p=o[a],l=this.ej2Instances.getModuleName().toLowerCase(),c=p.type.methods.getTag().replace("ribbon"===l?"e-ribbon-":"e-","");p.children&&(s=this.resolveComplexInnerDirs(p.children,t[""+n],p.type.methods.getTag())),p.props&&(p.props=this.getCamelCaseProps(p.props)),/[s]\b/.test(c)?(i[""+c]=i[""+c]?i[""+c]:[],s.length?i[""+c]=s:i[""+c].push(s),p.props&&i[""+c].push(p.props)):(i=s,i=p.props?Object.assign(i,p.props):i)}return i},getDirectiveValues:function(e,t,n){var s=Object.keys(t),r={};if(e)for(var i=0,a=e;i<a.length;i++){var o=a[i];if(o.componentOptions&&o.componentOptions.children&&o.componentOptions.tag||"e-seriescollection"===o.tag&&o.children){var p=o.componentOptions?o.componentOptions.tag:o.tag;if(p="e-seriescollection"===p?"e-seriesCollection":p,-1!==s.indexOf(p)){var l=n[""+p]?n[""+p]:p;r[l.replace("e-","")]=[];for(var c=0,h=o.componentOptions?o.componentOptions.children:o.children;c<h.length;c++){var d=h[c],u=this.getVNodeValue(d,t[""+p],n);0!==Object.keys(u).length&&r[l.replace("e-","")].push(u)}}}}return r},getMultiLevelDirValue:function(e,t,n){for(var s={},r=0,i=e;r<i.length;r++){var a=i[r],o=void 0,p=void 0;if(a.componentOptions?(o=a.componentOptions.tag,a.componentOptions.children&&(p=a.componentOptions.children)):"e-markersettings"!==a.tag&&"e-markersetting"!==a.tag||!a.children||(o="e-markersettings"===a.tag?"e-markerSettings":"e-markerSetting",p=a.children),o){var l=n[""+o]?n[""+o]:o;if(s[l.replace("e-","")]=[],p)for(var c=0,h=p;c<h.length;c++){var d=h[c],u=this.getVNodeValue(d,t[""+o],n);0!==Object.keys(u).length&&s[l.replace("e-","")].push(u)}}}return s},getVNodeValue:function(e,t,s){var r={};if(e.componentOptions||("e-markersettings"===e.tag||"e-markersetting"===e.tag)&&e.context){var i=void 0;i=e.componentOptions?e.componentOptions.tag:"e-markersettings"===e.tag?"e-markerSettings":"e-markerSetting","string"==typeof t&&i===t&&e.data?r=e.data.attrs?this.getCamelCaseProps(e.data.attrs):this.getCamelCaseProps(e.data):"object"==typeof t&&(e.componentOptions.children&&-1!==Object.keys(t).indexOf(i)?r=this.getMultiLevelDirValue(e.componentOptions.children,t[""+i],s):!e.children||-1===Object.keys(t).indexOf(i)||"e-markersettings"!==i&&"e-markersetting"!==i||(r=this.getMultiLevelDirValue(e.children,t[""+i],s)),e.data&&e.data.attrs&&(r=n.extend(r,this.getCamelCaseProps(e.data.attrs))))}return r},getCamelCaseProps:function(e){for(var t={},n=0,s=Object.keys(e);n<s.length;n++){var r=s[n];t[r.replace(/-[a-z]/g,function(e){return e[1].toUpperCase()})]=e[""+r]}return t},dataBind:function(){this.ej2Instances.dataBind()},setProperties:function(e,t){return this.ej2Instances.setProperties(e,t)}}}),m=function(){return(m=Object.assign||function(e){for(var t,n=1,s=arguments.length;n<s;n++){t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(this,arguments)},I=n.getTemplateEngine();return n.setTemplateEngine({compile:r}),e.isExecute=d,e.aVue=u,e.gh=f,e.vueDefineComponent=g,e.ComponentBase=v,e.getProps=s,e.compile=r,e}({},Vue,ej.base),this.ejs=ej;
//# sourceMappingURL=ej2-vue-base.min.js.map
/*!
* filename: index.d.ts
* version : 21.2.3
* version : 21.2.6
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.

@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license.

{
"_from": "@syncfusion/ej2-vue-base@*",
"_id": "@syncfusion/ej2-vue-base@21.1.41",
"_id": "@syncfusion/ej2-vue-base@21.2.3",
"_inBundle": false,
"_integrity": "sha512-38ghkjMCKp02X4Zug+Mr1rsNtqMpE2U79hgvvFbpbC0da+jiKDdmd5iqMlZIpyNGkVhN8IR3rXwd1gu3+kxxQg==",
"_integrity": "sha512-z/HvyKcBNp4cijFzvIS4+2gYw1KPku6lCqYu+al5oiGRsM7eP9XvEjt9JEbmg4/nxGK1ecpojmWksIpGL9nquQ==",
"_location": "/@syncfusion/ej2-vue-base",

@@ -21,10 +21,22 @@ "_phantomChildren": {},

"/",
"/@syncfusion/ej2-vue-barcode-generator",
"/@syncfusion/ej2-vue-buttons",
"/@syncfusion/ej2-vue-circulargauge",
"/@syncfusion/ej2-vue-calendars",
"/@syncfusion/ej2-vue-charts",
"/@syncfusion/ej2-vue-diagrams",
"/@syncfusion/ej2-vue-documenteditor",
"/@syncfusion/ej2-vue-dropdowns",
"/@syncfusion/ej2-vue-gantt",
"/@syncfusion/ej2-vue-grids",
"/@syncfusion/ej2-vue-image-editor",
"/@syncfusion/ej2-vue-inputs",
"/@syncfusion/ej2-vue-layouts",
"/@syncfusion/ej2-vue-lists",
"/@syncfusion/ej2-vue-popups"
"/@syncfusion/ej2-vue-navigations",
"/@syncfusion/ej2-vue-pivotview",
"/@syncfusion/ej2-vue-richtexteditor",
"/@syncfusion/ej2-vue-schedule",
"/@syncfusion/ej2-vue-treegrid"
],
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-vue-base/-/ej2-vue-base-21.1.41.tgz",
"_shasum": "da9bc71473af8033c5f2e4717ed43de8e9966b9d",
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-vue-base/-/ej2-vue-base-21.2.3.tgz",
"_shasum": "da87654b9bc4f15be2829fc0e1662720f95b8256",
"_spec": "@syncfusion/ej2-vue-base@*",

@@ -70,4 +82,4 @@ "_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",

"typings": "index.d.ts",
"version": "21.2.3",
"version": "21.2.6",
"sideEffects": true
}

@@ -80,6 +80,16 @@ var __assign = (this && this.__assign) || function () {

if (propsData) {
tempRef_1 = Object.assign(templateCompRef.data(), propsData);
if (templateCompRef.setup) {
tempRef_1 = Object.assign(templateCompRef.setup(null, { expose: function () { } }), propsData);
}
else {
tempRef_1 = Object.assign(templateCompRef.data(), propsData);
}
}
else {
tempRef_1 = Object.assign(templateCompRef.data(), dataObj_1.data);
if (templateCompRef.setup) {
tempRef_1 = Object.assign(templateCompRef.setup(null, { expose: function () { } }), dataObj_1.data);
}
else {
tempRef_1 = Object.assign(templateCompRef.data(), dataObj_1.data);
}
if (templateCompRef.components) {

@@ -101,2 +111,11 @@ var objkeys = Object.keys(templateCompRef.components) || [];

}
if (templateCompRef.setup) {
templateCompRef.setup = function (__props, _a) {
var __expose = _a.expose;
__expose();
var __returned__ = tempRef_1;
Object.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true });
return __returned__;
};
}
templateCompRef.data = function () { return tempRef_1; };

@@ -164,2 +183,8 @@ var app = Vue.createApp(templateCompRef);

}
if (templateFunction.options.setup) {
var variables = Object.assign(templateFunction.options.setup(), dataObj.data);
templateFunction.options.setup = function (__props) {
return variables;
};
}
var templateVue = new templateFunction(dataObj);

@@ -166,0 +191,0 @@ // let templateVue = new Vue(tempObj.template);

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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc