@syncfusion/ej2-vue-base
Advanced tools
Comparing version 20.3.49 to 20.3.50
/*! | ||
* filename: ej2-vue-base.umd.min.js | ||
* version : 20.3.49 | ||
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved. | ||
* version : 20.3.50 | ||
* Copyright Syncfusion Inc. 2001 - 2022. All rights reserved. | ||
* Use of this code is subject to the terms of our license. | ||
@@ -10,3 +10,3 @@ * A copy of the current license can be obtained at any time by e-mailing | ||
*/ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-base"),require("vue-class-component"),require("vue")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-base","vue-class-component","vue"],t):t(e.ej={},e.ej2Base,e.Vue3,e.Vue$1)}(this,function(e,t,n,r){"use strict";function o(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}function s(e,t){void 0===t&&(t={}),t.name=t.name||e._componentTag||e.name;var n=e.prototype;if(t.props)for(var r=function(e){(t.props||(t.props={}))[e]={},(t.watch||(t.watch={}))[e]=function(n){this.ej2Instances[e]=n,this.dataBind&&"DateRangePickerComponent"!==t.name&&this.dataBind()}},o=0,s=t.props;o<s.length;o++){r(s[o])}Object.getOwnPropertyNames(n).forEach(function(e){if("constructor"!==e)if(m.indexOf(e)>-1)t[e]=n[e];else{var r=Object.getOwnPropertyDescriptor(n,e);"function"==typeof r.value?(t.methods||(t.methods={}))[e]=r.value:(r.get||r.set)&&((t.computed||(t.computed={}))[e]={get:r.get,set:r.set})}}),Object.getOwnPropertyNames(g.prototype).forEach(function(e){m.indexOf(e)>-1&&(t[e]=n[e])}),(t.mixins||(t.mixins=[])).push({data:function(){return function(e,t){t.prototype._init=function(){var t=this,n=Object.getOwnPropertyNames(e);if(e.$options.props)for(var r in e.$options.props)e.hasOwnProperty(r)||n.push(r);n.forEach(function(n){"_"!==n.charAt(0)&&Object.defineProperty(t,n,{get:function(){return e[n]},set:function(t){return e[n]=t}})})};var n=new t,r={};return Object.keys(n).forEach(function(e){void 0!==n[e]&&(r[e]=n[e])}),r}(this,e)}});var i=e.__decorators__;i&&(i.forEach(Function(t)),delete e.__decorators__);var a=Object.getPrototypeOf(e.prototype);return(a instanceof l?a.constructor:l).extend(t)}function i(e,n){var r=this;return function(o,s,i,p,u){var h;if(s){var f=s.vueInstance?s.vueInstance.plugins:null,g=t.getUniqueID("templateParentDiv"),m=t.getUniqueID("templateDiv"),O=t.createElement("div",{id:g,innerHTML:'<div id="'+m+'"></div>'});if(document.body.appendChild(O),v||"string"!=typeof e)if(v)if("string"==typeof e){var j=function(e,t,n){if(!(e||n&&n.vueInstance))return;return a(n&&n.vueInstance?n.vueInstance:e,t)}(s.vueInstance,e,u);if(!j)return t.detach(O),y(e,n)(o);new l({render:function(){return j[e]({data:o})}}).$mount("#"+m),h=O.childNodes,t.detach(O)}else{var b=($=e.call(r,{})).template;x=t.getValue("template.propsData",$),C={data:{data:t.extend($.data||{},o)},parent:s.vueInstance};x&&(b=$.template.extends,C.propsData=x),"function"!=typeof b&&(b=l.extend(b));if(new b(C).$mount("#"+m),h=O.childNodes,s.vueInstance){var I=s.vueInstance.templateCollection;I||(s.vueInstance.templateCollection={},I=s.vueInstance.templateCollection),i&&(I[i]||(I[i]=[]),I[i].push(h[0]))}t.detach(O)}else{var $,D=$=e.call(r,{}),x=t.getValue("template.propsData",$),C={data:{data:t.extend($.data||{},o)},parent:s.vueInstance};D.template||(D.template=D[Object.keys(D)[0]]);var V=void 0;if(D.template.extends)V=D.template.extends._context.components.template;else if(!(V=D.template._context.components[e.name])){var _=Object.keys(D.template._context.components)[0];V=D.template._context.components[_]}var P;if(x)P=Object.assign(V.data(),x);else if(P=Object.assign(V.data(),C.data),V.components)for(var M=function(e){var t=V.components[e];if(t&&t.data){var n=Object.assign(t.data(),C.data);t.data=function(){return n}}},k=0,N=Object.keys(V.components)||[];k<N.length;k++){M(N[k])}V.data=function(){return P};T=d.createApp(V);if(f)for(E=0;E<f.length;E++)T.use(f[E]);T.mount("grid"===s.getModuleName()?"#"+g:"#"+m),h=O.childNodes,t.detach(O)}else{var w=function(e,t,n){if(!(e||n&&n.vueInstance))return;return c(n&&n.vueInstance?n.vueInstance.$slots:e.$slots,t)}(s.vueInstance,e,u);if(!w)return t.detach(O),y(e,n)(o);var T=d.createApp({render:function(){return w[e]({data:o})}});if(f)for(var E=0;E<f.length;E++)T.use(f[E]);T.mount("grid"===s.getModuleName()?"#"+g:"#"+m),h=O.childNodes,t.detach(O)}}return h||[]}}function a(e,t){if(e){var n=e.$slots,r=e.$scopedSlots,o=e.scopedSlots,s=e.children;if(r&&r[t])return r;if(n&&n.default)for(var i=n.default,c=0;c<i.length;c++){if(l=a(p(i[c]),t))return l}else{if(o&&o[t])return o;if(s)for(c=0;c<s.length;c++){var l;if(l=a(p(s[c]),t))return l}}}}function p(e){var t=e.componentOptions&&e.componentOptions.children?e.componentOptions:e.data;return e.componentInstance?e.componentInstance:t}function c(e,t){if(e&&e[t])return e;if(e&&e.default)for(var n=e.default(),r=0;r<n.length;r++){var o=c(n[r].children,t);if(o)return o}}var l=r.default,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 r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),h=o(r),d=h,f=d.h,v=!(parseInt(d.version)>2),g=function(e){function n(){var t=e.call(this,arguments)||this;return t.hasInjectedModules=!1,t.hasChildDirective=!1,t.childDirObjects="",t.isDecorator=!1,t}return u(n,e),n.prototype.created=function(){var e=this;if(this.propKeys){for(var n=function(t){r.ej2Instances.addEventListener(t,function(n){e.$emit(t,n)})},r=this,o=0,s=this.propKeys;o<s.length;o++){n(s[o])}var i=t.getValue("$root.$options.provide",this),a=t.getValue("$parent.$options.provide",this);if(this.hasInjectedModules&&!v){var p=[];i&&i.managed?(this.isDecorator=!0,p=this.getInjectedServices()||[]):i?p=i[this.ej2Instances.getModuleName()]||[]:a&&(p=this.getInjectedServices()||[]);for(var c=0,l=this.ej2Instances.getInjectedModules()||[];c<l.length;c++){var u=l[c];-1===p.indexOf(u)&&p.push(u)}this.ej2Instances.injectedModules=p}}},n.prototype.mounted=function(){var e=this.$el?this.$el.querySelectorAll("div.e-directive"):null;if(!v&&e)for(var t=0;t<e.length;t++)e[t].parentElement&&e[t].parentElement.removeChild(e[t]);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.ej2Instances.appendTo(this.$el)},n.prototype.getInjectedServices=function(){var e,n=[];if(this.$root&&this.isDecorator?e=t.getValue("$root.$options.provide",this):this.$vnode?e=t.getValue("$vnode.context.$options.provide",this):this.$parent&&(e=t.getValue("$parent.$options.provide",this)),e){var r=e;if("function"==typeof e)if(e.managed){var o=e.managed,s=Object.keys(o),i=void 0;this.$root&&this.isDecorator?i=Object.keys(this.$root):this.$vnode?i=Object.keys(this.$vnode.context):this.$parent&&(i=Object.keys(this.$parent));for(var a=0;a<s.length;a++)for(var p=0;p<i.length;p++)-1!==i[p].indexOf(s[a])&&(this.$root&&this.isDecorator?o[s[p]]=this.$root[i[a]]:this.$vnode?o[s[a]]=this.$vnode.context[i[p]]:this.$parent&&(o[s[a]]=this.$parent[i[p]]),r=o)}else this.$vnode?r=this.$vnode.context.$options.provide():this.$parent&&(r=this.$parent.$options.provide());n=r[this.ej2Instances.getModuleName()]||[]}return this.isDecorator=!1,n},n.prototype.updated=function(){if(this.hasChildDirective){var e={};this.fetchChildPropValues(e);var t=JSON.stringify(e);this.childDirObjects!==t&&(this.childDirObjects=t,this.assignValueToWrapper(e,!1))}},n.prototype.beforeDestroy=function(){var e=this;e.ej2Instances.destroy(),e.$el.style.visibility="hidden",e=null},n.prototype.bindProperties=function(){for(var e={},n=0,r=this.propKeys;n<r.length;n++){var o=r[n];(!t.isNullOrUndefined(this[o])&&!this.isVue3||this[0]&&!t.isNullOrUndefined(this[0][0])&&!t.isNullOrUndefined(this[0][0][o]))&&(e[o]=this.isVue3?this[0][0][o]:this[o])}if(this.hasChildDirective&&this.fetchChildPropValues(e),this.hasInjectedModules){for(var s=this.getInjectedServices()||[],i=0,a=this.ej2Instances.getInjectedModules()||[];i<a.length;i++){var p=a[i];-1===s.indexOf(p)&&s.push(p)}this.ej2Instances.injectedModules=s}this.assignValueToWrapper(e)},n.prototype.assignValueToWrapper=function(e,n){this.ej2Instances.setProperties(t.extend({},{},e,!0),!!t.isNullOrUndefined(n)||n)},n.prototype.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 r=0;r<n.length;r++)if(n[r].type.methods){var o=n[r].type.methods.getTag().replace("e-",""),s=this.resolveArrayDirectives(n[r].children,o),i=o.split("-"),a=this.ej2Instances.getModuleName().toLowerCase(),p=i.length>1&&a.indexOf(i[0])>-1?i[1]:i[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]=s[o]}}else t=this.getDirectiveValues(this.$slots.default,this.tagMapper||{},this.tagNameMapper||{});this.childDirObjects||(this.childDirObjects=JSON.stringify(t));for(var c=0,l=Object.keys(t);c<l.length;c++){var u=l[c];e[u]=t[u]}},n.prototype.resolveArrayDirectives=function(e,t){var n,r=[];r=e.default?e.default():e;var o={};o[t]=[];for(var s=function(e){var r={},s=e.type.methods?e.type.methods.getTag():t;if(e.children){var a=void 0;if((n=i.resolveComplexDirs(e.children,i.tagMapper["e-"+t],s)).length)r=n;else for(var p=0;p<Object.keys(n).length;p++)a=Object.keys(n)[p],r[a]=n[a]}e.props&&Object.keys(e.props).forEach(function(t){r[t]=e.props[t]}),/[s]\b/.test(s)&&n&&(!/[s]\b/.test(t)||n.length)?o[t]=r:r&&0!==Object.keys(r).length&&o[t].push(r)},i=this,a=0,p=r;a<p.length;a++){s(p[a])}return o},n.prototype.resolveComplexDirs=function(e,t,n){for(var r,o=[],s={},i=function(e){var i=void 0;t[n]&&(i=(i=Object.keys(t[n]).find(function(r){return t[n][r]===e.type.methods.getTag().replace(/[s]\b/,"")}))?i.replace("e-",""):e.type.methods.getTag().replace("e-",""),"diagram"==a.ej2Instances.getModuleName().toLowerCase()&&-1!=i.indexOf("annotations")&&(i="annotations")),e.children&&(r=a.resolveComplexInnerDirs(e.children,t[n],e.type.methods.getTag()),s[i]||(s[i]=[]),r.length>1?s[i]=r:s[i].push(r)),o.length>1?(s=0!=Object.keys(s).length||s.length?s:[],e.props&&s.push(e.props)):s=e.props?Object.assign(s,e.props):s},a=this,p=0,c=o=e.default?e.default():e;p<c.length;p++){i(c[p])}return s},n.prototype.resolveComplexInnerDirs=function(e,t,n){for(var r,o=[],s=(o=e.default?e.default():e).length>1?[]:{},i=0,a=o;i<a.length;i++){var p=a[i],c=p.type.methods.getTag().replace("e-","");p.children&&(r=this.resolveMultilevelComplexInnerDirs(p.children,t[n],p.type.methods.getTag()),/[s]\b/.test(c)||o.length>1?/[s]\b/.test(c)?(s[c]=s[c]?s[c]:[],r.length?s[c]=r:s[c].push(r)):r&&s.push(r):s=r||s),o.length>1&&p.props&&s.length>=0?s.push(p.props):s=p.props?Object.assign(s,p.props):s}return s},n.prototype.resolveMultilevelComplexInnerDirs=function(e,t,n){for(var r,o=[],s=(o=e.default?e.default():e).length>1?[]:{},i=0,a=o;i<a.length;i++){var p=a[i],c=p.type.methods.getTag().replace("e-","");p.children&&(r=this.resolveComplexInnerDirs(p.children,t[n],p.type.methods.getTag())),/[s]\b/.test(c)?(s[c]=s[c]?s[c]:[],r.length?s[c]=r:s[c].push(r),p.props&&s[c].push(p.props)):(s=r,s=p.props?Object.assign(s,p.props):s)}return s},n.prototype.getDirectiveValues=function(e,t,n){var r=Object.keys(t),o={};if(e)for(var s=0,i=e;s<i.length;s++){var a=i[s];if(a.componentOptions&&a.componentOptions.children&&a.componentOptions.tag){var p=a.componentOptions.tag;if(-1!==r.indexOf(p)){var c=n[p]?n[p]:p;o[c.replace("e-","")]=[];for(var l=0,u=a.componentOptions.children;l<u.length;l++){var h=u[l],d=this.getVNodeValue(h,t[p],n);0!==Object.keys(d).length&&o[c.replace("e-","")].push(d)}}}}return o},n.prototype.getMultiLevelDirValue=function(e,t,n){for(var r={},o=0,s=e;o<s.length;o++){var i=s[o];if(i.componentOptions){var a=i.componentOptions.tag,p=n[a]?n[a]:a;if(r[p.replace("e-","")]=[],i.componentOptions&&i.componentOptions.children)for(var c=0,l=i.componentOptions.children;c<l.length;c++){var u=l[c],h=this.getVNodeValue(u,t[a],n);0!==Object.keys(h).length&&r[p.replace("e-","")].push(h)}}}return r},n.prototype.getVNodeValue=function(e,n,r){var o={};if(e.componentOptions){var s=e.componentOptions.tag;"string"==typeof n&&s===n&&e.data?o=e.data.attrs?this.getCamelCaseProps(e.data.attrs):this.getCamelCaseProps(e.data):"object"==typeof n&&(e.componentOptions.children&&-1!==Object.keys(n).indexOf(s)&&(o=this.getMultiLevelDirValue(e.componentOptions.children,n[s],r)),e.data&&e.data.attrs&&(o=t.extend(o,this.getCamelCaseProps(e.data.attrs))))}return o},n.prototype.getCamelCaseProps=function(e){for(var t={},n=0,r=Object.keys(e);n<r.length;n++){var o=r[n];t[o.replace(/-[a-z]/g,function(e){return e[1].toUpperCase()})]=e[o]}return t},n.prototype.dataBind=function(){this.ej2Instances.dataBind()},n.prototype.setProperties=function(e,t){return this.ej2Instances.setProperties(e,t)},n}(!v||parseInt(d.version)<3?n.Vue:l),m=["data","beforeCreate","created","beforeMount","mounted","beforeDestroy","destroyed","beforeUpdate","updated","activated","deactivated","render","errorCaptured"],y=t.getTemplateEngine();t.setTemplateEngine({compile:i}),e.aVue=h,e._interopRequireWildcard=o,e.allVue=d,e.gh=f,e.isExecute=v,e.ComponentBase=g,e.$internalHooks=m,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,r=e.props;n<r.length;n++)t(r[n]);return[e.newprops,e.watch]},e.EJComponentDecorator=function(e,t){if(t)return function(t){return s(t,e)}},e.EJcomponentFactory=s,e.compile=i,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 o(e,n){void 0===n&&(n={}),n.name=n.name||e._componentTag||e.name;var o=e.prototype;if(n.props)for(var r=function(e){(n.props||(n.props={}))[e]={},(n.watch||(n.watch={}))[e]=function(t){this.ej2Instances[e]=t,this.dataBind&&"DateRangePickerComponent"!==n.name&&this.dataBind()}},i=0,p=n.props;i<p.length;i++){r(p[i])}Object.getOwnPropertyNames(o).forEach(function(e){if("constructor"!==e)if(a.indexOf(e)>-1)n[e]=o[e];else{var t=Object.getOwnPropertyDescriptor(o,e);"function"==typeof t.value?(n.methods||(n.methods={}))[e]=t.value:(t.get||t.set)&&((n.computed||(n.computed={}))[e]={get:t.get,set:t.set})}}),Object.getOwnPropertyNames(s.prototype).forEach(function(e){a.indexOf(e)>-1&&(n[e]=o[e])}),(n.mixins||(n.mixins=[])).push({data:function(){return function(e,t){t.prototype._init=function(){var t=this,n=Object.getOwnPropertyNames(e);if(e.$options.props)for(var o in e.$options.props)e.hasOwnProperty(o)||n.push(o);n.forEach(function(n){"_"!==n.charAt(0)&&Object.defineProperty(t,n,{get:function(){return e[n]},set:function(t){return e[n]=t}})})};var n=new t,o={};return Object.keys(n).forEach(function(e){void 0!==n[e]&&(o[e]=n[e])}),o}(this,e)}});var c=e.__decorators__;c&&(c.forEach(Function(n)),delete e.__decorators__);var u=Object.getPrototypeOf(e.prototype);return(u instanceof t?u.constructor:t).extend(n)}function r(e,o){var r=this;return"string"==typeof e?p(e,o):function(o,i){var s=n.getUniqueID("templateParentDiv"),a=n.getUniqueID("templateDiv"),p=n.createElement("div",{id:s,innerHTML:'<div id="'+a+'"></div>'});document.body.appendChild(p);var c,u=e.call(r,{});if(i){var d=u.template,f=n.getValue("template.propsData",u),h={data:{data:n.extend(u.data||{},o)},parent:i.vueInstance};f&&(d=u.template.extends,h.propsData=f),"function"!=typeof d&&(d=t.extend(d));new d(h).$mount("#"+a),c=p.childNodes,n.detach(p)}return c||[]}}t=t&&t.hasOwnProperty("default")?t.default:t;var i=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)}}(),s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.hasInjectedModules=!1,t.hasChildDirective=!1,t.childDirObjects="",t}return i(t,e),t.prototype.created=function(){for(var e=this,t=function(t){n.ej2Instances.addEventListener(t,function(n){e.$emit(t,n)})},n=this,o=0,r=this.propKeys;o<r.length;o++){t(r[o])}},t.prototype.mounted=function(){this.ej2Instances.isVue=!0,this.ej2Instances.vueInstance=this,this.ej2Instances.appendTo(this.$el)},t.prototype.getInjectedServices=function(){var e=[],t=n.getValue("$vnode.context.$options.provide",this);if(t){var o=t;"function"==typeof t&&(o=this.$vnode.context.$options.provide()),e=o[this.ej2Instances.getModuleName()]||[]}return e},t.prototype.updated=function(){if(this.hasChildDirective){var e={};this.fetchChildPropValues(e);var t=JSON.stringify(e);this.childDirObjects!==t&&(this.childDirObjects=t,this.assignValueToWrapper(e,!1))}},t.prototype.beforeDestroy=function(){var e=this;e.ej2Instances.destroy(),e.$el.style.visibility="hidden",e=null},t.prototype.bindProperties=function(){for(var e={},t=0,o=this.propKeys;t<o.length;t++){var r=o[t];n.isNullOrUndefined(this[r])||(e[r]=this[r])}if(this.hasChildDirective&&this.fetchChildPropValues(e),this.hasInjectedModules){for(var i=this.getInjectedServices()||[],s=0,a=this.ej2Instances.getInjectedModules()||[];s<a.length;s++){var p=a[s];-1===i.indexOf(p)&&i.push(p)}this.ej2Instances.injectedModules=i}this.assignValueToWrapper(e)},t.prototype.assignValueToWrapper=function(e,t){this.ej2Instances.setProperties(n.extend({},{},e,!0),!!n.isNullOrUndefined(t)||t)},t.prototype.fetchChildPropValues=function(e){var t=this.getDirectiveValues(this.$slots.default,this.tagMapper||{},this.tagNameMapper||{});this.childDirObjects||(this.childDirObjects=JSON.stringify(t));for(var n=0,o=Object.keys(t);n<o.length;n++){var r=o[n];e[r]=t[r]}},t.prototype.getDirectiveValues=function(e,t,n){var o=Object.keys(t),r={};if(e)for(var i=0,s=e;i<s.length;i++){var a=s[i];if(a.componentOptions&&a.componentOptions.children&&a.componentOptions.tag){var p=a.componentOptions.tag;if(-1!==o.indexOf(p)){var c=n[p]?n[p]:p;r[c.replace("e-","")]=[];for(var u=0,d=a.componentOptions.children;u<d.length;u++){var f=d[u],h=this.getVNodeValue(f,t[p],n);0!==Object.keys(h).length&&r[c.replace("e-","")].push(h)}}}}return r},t.prototype.getMultiLevelDirValue=function(e,t,n){for(var o={},r=0,i=e;r<i.length;r++){var s=i[r];if(s.componentOptions){var a=s.componentOptions.tag,p=n[a]?n[a]:a;if(o[p.replace("e-","")]=[],s.componentOptions&&s.componentOptions.children)for(var c=0,u=s.componentOptions.children;c<u.length;c++){var d=u[c],f=this.getVNodeValue(d,t[a],n);0!==Object.keys(f).length&&o[p.replace("e-","")].push(f)}}}return o},t.prototype.getVNodeValue=function(e,t,o){var r={};if(e.componentOptions){var i=e.componentOptions.tag;"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],o)),e.data&&e.data.attrs&&(r=n.extend(r,this.getCamelCaseProps(e.data.attrs))))}return r},t.prototype.getCamelCaseProps=function(e){for(var t={},n=0,o=Object.keys(e);n<o.length;n++){var r=o[n];t[r.replace(/-[a-z]/g,function(e){return e[1].toUpperCase()})]=e[r]}return t},t.prototype.dataBind=function(){this.ej2Instances.dataBind()},t.prototype.setProperties=function(e,t){return this.ej2Instances.setProperties(e,t)},t}(t),a=["data","beforeCreate","created","beforeMount","mounted","beforeDestroy","destroyed","beforeUpdate","updated","activated","deactivated","render","errorCaptured"],p=n.getTemplateEngine();n.setTemplateEngine({compile:r}),e.ComponentBase=s,e.$internalHooks=a,e.EJComponentDecorator=function(e){return function(t){return o(t,e)}},e.EJcomponentFactory=o,e.compile=r,Object.defineProperty(e,"__esModule",{value:!0})}); | ||
//# sourceMappingURL=ej2-vue-base.umd.min.js.map |
{ | ||
"_from": "@syncfusion/ej2-vue-base@*", | ||
"_id": "@syncfusion/ej2-vue-base@19.3.53", | ||
"_from": "@syncfusion/ej2-vue-base", | ||
"_id": "@syncfusion/ej2-vue-base@20.3.49", | ||
"_inBundle": false, | ||
"_integrity": "sha512-gpf0Q05aJIKl1PNxGeoxzWx0dWVAS+J8i9w/lOhFws3w3qoCXiynPVLdsoAsK9XZC70PUeriSAatet6geHfTOw==", | ||
"_integrity": "sha512-kGWiQka3Sk7ZopPl0XEUpXjLotFl57EMUnG5pcs/ZMHv9VgzgEX1CfGLNXanrq2RDpJZgJvNGL6kZMA1oFvoBA==", | ||
"_location": "/@syncfusion/ej2-vue-base", | ||
"_phantomChildren": {}, | ||
"_requested": { | ||
"type": "range", | ||
"type": "tag", | ||
"registry": true, | ||
"raw": "@syncfusion/ej2-vue-base@*", | ||
"raw": "@syncfusion/ej2-vue-base", | ||
"name": "@syncfusion/ej2-vue-base", | ||
"escapedName": "@syncfusion%2fej2-vue-base", | ||
"scope": "@syncfusion", | ||
"rawSpec": "*", | ||
"rawSpec": "", | ||
"saveSpec": null, | ||
"fetchSpec": "*" | ||
"fetchSpec": "latest" | ||
}, | ||
"_requiredBy": [ | ||
"/", | ||
"/@syncfusion/ej2-vue-buttons", | ||
"/@syncfusion/ej2-vue-calendars", | ||
"/@syncfusion/ej2-vue-charts", | ||
"/@syncfusion/ej2-vue-circulargauge", | ||
"/@syncfusion/ej2-vue-diagrams", | ||
"/@syncfusion/ej2-vue-documenteditor", | ||
"/@syncfusion/ej2-vue-dropdowns", | ||
"/@syncfusion/ej2-vue-filemanager", | ||
"/@syncfusion/ej2-vue-gantt", | ||
"/@syncfusion/ej2-vue-grids", | ||
"/@syncfusion/ej2-vue-heatmap", | ||
"/@syncfusion/ej2-vue-inputs", | ||
"/@syncfusion/ej2-vue-kanban", | ||
"/@syncfusion/ej2-vue-maps", | ||
"/@syncfusion/ej2-vue-navigations", | ||
"/@syncfusion/ej2-vue-pdfviewer", | ||
"/@syncfusion/ej2-vue-pivotview", | ||
"/@syncfusion/ej2-vue-popups", | ||
"/@syncfusion/ej2-vue-querybuilder", | ||
"/@syncfusion/ej2-vue-schedule", | ||
"/@syncfusion/ej2-vue-spreadsheet", | ||
"/@syncfusion/ej2-vue-treegrid" | ||
"#USER", | ||
"/" | ||
], | ||
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-vue-base/-/ej2-vue-base-19.3.53.tgz", | ||
"_shasum": "bfe7f88dcd36eb1c07a59b9833b39087873a430c", | ||
"_spec": "@syncfusion/ej2-vue-base@*", | ||
"_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included", | ||
"_resolved": "https://registry.npmjs.org/@syncfusion/ej2-vue-base/-/ej2-vue-base-20.3.49.tgz", | ||
"_shasum": "d1d924f0ce6754a1f40f2becac62acbeea2959fe", | ||
"_spec": "@syncfusion/ej2-vue-base", | ||
"_where": "C:\\Users\\TempEymard\\Desktop\\New folder", | ||
"author": { | ||
@@ -56,3 +35,3 @@ "name": "Syncfusion Inc." | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "~20.3.49", | ||
"@syncfusion/ej2-base": "~20.3.50", | ||
"glob": "^7.0.5" | ||
@@ -86,5 +65,5 @@ }, | ||
}, | ||
"sideEffects": true, | ||
"typings": "index.d.ts", | ||
"version": "20.3.49", | ||
"sideEffects": true | ||
} | ||
"version": "20.3.50" | ||
} |
/** | ||
* Vue Component Base | ||
*/ | ||
import Vue from 'vue'; | ||
import Vue from 'vue'; | ||
export declare const aVue: any; | ||
@@ -20,3 +21,3 @@ export declare function _interopRequireWildcard(obj: any): any; | ||
protected isDecorator: boolean; | ||
// constructor(); | ||
// // constructor(); | ||
created(): void; | ||
@@ -23,0 +24,0 @@ mounted(): void; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
359423
2851