@syncfusion/ej2-angular-base
Version:
A common package of Essential JS 2 base Angular libraries, methods and class definitions
12 lines (11 loc) • 20.2 kB
JavaScript
/*!
* filename: ej2-angular-base.min.js
* version : 33.1.46
* Copyright Syncfusion Inc. 2001 - 2025. All rights reserved.
* Use of this code is subject to the terms of our license.
* A copy of the current license can be obtained at any time by e-mailing
* licensing@syncfusion.com. Any infringement will be prosecuted under
* applicable laws.
*/
this.ej=this.ej||{},this.ej.angularbase=function(t,e,n){"use strict";function i(t,e){e.forEach(function(e){Object.getOwnPropertyNames(e.prototype).forEach(function(n){(!Object.prototype.hasOwnProperty.call(t.prototype,n)||e.isFormBase&&"constructor"!==n)&&(t.prototype["".concat(n)]=e.prototype["".concat(n)])})})}function r(t){return function(e){i(e,t)}}function s(t,e,i){var r={};if(t&&t.length){for(var s=0,a=t;s<a.length;s++){var o=a[s];!0===i?(e.propCollection["".concat(o)]=new n.EventEmitter(!1),e["".concat(o)]=e.propCollection["".concat(o)]):r["".concat(o)]=new n.EventEmitter(!1)}!0!==i&&e.setProperties(r,!0)}}function a(t,n,i){var r,s=Object.keys(t.registeredTemplate);if(s.length)for(var a=n&&n.filter(function(t){return!/\./g.test(t)}),o=/tab|accordion|toolbar/.test(null===(r=t.getModuleName)||void 0===r?void 0:r.call(t)),l=0,p=a&&a||s;l<p.length;l++){var c=p[l];if(i&&i.length)for(var h=0;h<i.length;h++)if(o)for(m=0;m<t.registeredTemplate["".concat(c)].length;m++)(g=t.registeredTemplate["".concat(c)][parseInt(m.toString(),10)])&&g===i["".concat(h)]&&(g.destroy(),t.registeredTemplate["".concat(c)].splice(m,1));else for(m=0;m<t.registeredTemplate.template.length;m++){var g=t.registeredTemplate.template[parseInt(m.toString(),10)].rootNodes[0];g===i["".concat(h)]&&(d=t.registeredTemplate["".concat(c)])[parseInt(m.toString(),10)].destroy()}else if(t.registeredTemplate["".concat(c)])for(var u=0,f=t.registeredTemplate["".concat(c)];u<f.length;u++){var d=f[u];if(!d.destroyed){if(d._view){var v=d._view.renderer.parentNode(d.rootNodes[0]);if(!e.isNullOrUndefined(v))for(var m=0;m<d.rootNodes.length;m++)v.appendChild(d.rootNodes[parseInt(m.toString(),10)])}d.destroy()}}o&&i||delete t.registeredTemplate["".concat(c)]}for(var y=0,C=t.tagObjects;y<C.length;y++)!function(t){t.instance&&t.instance.clearTemplate(n&&n.filter(function(e){return!!new RegExp(t.name).test(e)}))}(C[y])}function o(t,e,n){for(var i=t.replace(/\[/g,".").replace(/\]/g,"").split("."),r=n||{},s=0;s<i.length;s++){var a=i[parseInt(s.toString(),10)];s+1===i.length?r["".concat(a)]=void 0===e?{}:e:void 0===r["".concat(a)]&&(r["".concat(a)]={}),r=r["".concat(a)]}return r}function l(t,n){if("string"==typeof t||"function"==typeof t&&t.prototype&&t.prototype.CSPTemplate)return m(t,n);var i=t.elementRef.nativeElement._viewContainerRef,r=t.elementRef.nativeElement.propName;return function(n,s,a){var o={$implicit:n},l=i||s.viewContainerRef,p=l.createEmbeddedView(t,o);/EJS-MENTION|EJS-DROPDOWNLIST/.test(e.getValue("currentInstance.element.nodeName",l))||/E-TABITEM/.test(e.getValue("element.nativeElement.nodeName",l))&&e.getValue("currentInstance.headerTemplateRef",l)?p.detectChanges():p.markForCheck();var c=s&&s.registeredTemplate?s.registeredTemplate:e.getValue("currentInstance.registeredTemplate",l);return a=a&&s.registeredTemplate?a:r,void 0===c["".concat(a)]&&(c["".concat(a)]=[]),c["".concat(a)].push(p),p.rootNodes}}function p(t){return function(e,n){var i={set:c(n),get:h(n,t),enumerable:!0,configurable:!0};Object.defineProperty(e,n,i)}}function c(t){return function(n){void 0!==n&&(e.setValue(t+"Ref",n,this),"string"==typeof n||"function"==typeof n&&n.prototype&&n.prototype.CSPTemplate?this.saveChanges&&(this.saveChanges(t,n,void 0),this.dataBind()):(n.elementRef.nativeElement._viewContainerRef=this.viewContainerRef,n.elementRef.nativeElement.propName=t))}}function h(t,n){return function(){return e.getValue(t+"Ref",this)||n}}var g=/Ref$/,u=function(){function t(){this.hasChanges=!1,this.propCollection={},this.dataSource={},this.tags=[],this.tagObjects=[]}return t.prototype.ngOnInit=function(){this.registeredTemplate={};for(var t=0,n=this.tags;t<n.length;t++){var i=n[t],r=e.getValue("child"+i.substring(0,1).toUpperCase()+i.substring(1),this);r&&this.tagObjects.push({instance:r,name:i})}for(var s=Object.keys(this),a=0;a<s.length;a++){var o=e.getValue(s[parseInt(a.toString(),10)],this);"object"==typeof o&&o&&o.elementRef&&(e.getValue(-1!==s[parseInt(a.toString(),10)].indexOf("Ref")?s[parseInt(a.toString(),10)]:s[parseInt(a.toString(),10)]+"Ref",this)||e.setValue(-1!==s[parseInt(a.toString(),10)].indexOf("Ref")?s[parseInt(a.toString(),10)]:s[parseInt(a.toString(),10)]+"Ref",o,this),!e.getValue("viewContainerRef",this)||e.getValue("_viewContainerRef",o.elementRef.nativeElement)||e.getValue("propName",o.elementRef.nativeElement)||(e.setValue("_viewContainerRef",e.getValue("viewContainerRef",this),o.elementRef.nativeElement),e.setValue("propName",s[parseInt(a.toString(),10)].replace("Ref",""),o.elementRef.nativeElement)))}for(var l=0,p=s=(s=Object.keys(this)).filter(function(t){return/Ref$/i.test(t)});l<p.length;l++){var c=p[l].replace("Ref","");e.setValue(c.replace("_","."),e.getValue(c,this),this.propCollection)}var h=Object.keys(this);if(this.directivePropList){for(var g=0;g<this.directivePropList.length;g++){var u=this.directivePropList[parseInt(g.toString(),10)];-1===h.indexOf(u)||!1!==e.getValue(u,this)&&!e.getValue(u,this)||e.setValue(u,e.getValue(u,this),this.propCollection)}this.hasChanges=!0}this.isInitChanges=!0},t.prototype.registerEvents=function(t){s(t,this,!0)},t.prototype.ngOnChanges=function(t){for(var e=0,n=Object.keys(t);e<n.length;e++){var i=n[e],r=t["".concat(i)];this.propCollection["".concat(i)]=r.currentValue}this.isUpdated=!1,this.hasChanges=!0},t.prototype.clearTemplate=function(t){a(this,t)},t.prototype.getProperties=function(){for(var t=0,e=this.tagObjects;t<e.length;t++){var n=e[t];this.propCollection[n.name]=n.instance.getProperties()}return this.propCollection},t.prototype.isChanged=function(){var t=this.hasChanges;if(!e.isNullOrUndefined(this.propCollection[this.property]))for(var n=this.propCollection[this.property],i=Object.keys(n[0]),r=0;r<i.length;r++)if(!e.isNullOrUndefined(this.propCollection[i[parseInt(r.toString(),10)]])){var s=e.getValue(i[parseInt(r.toString(),10)],this),a=this.propCollection[this.property][0][i[parseInt(r.toString(),10)]];e.isNullOrUndefined(s)||this.propCollection[i[parseInt(r.toString(),10)]]===s||a===s||(e.setValue(i[parseInt(r.toString(),10)],s,this.propCollection[this.property][0]),e.setValue(i[parseInt(r.toString(),10)],s,this.propCollection),this.hasChanges=!0,this.isUpdated=!1)}for(var o=0,l=this.tagObjects;o<l.length;o++){var p=l[o];t=t||p.instance.hasChanges}return t||this.hasChanges},t.prototype.ngAfterContentChecked=function(){if(this.hasChanges=this.isChanged(),this.isInitChanges||this.hasChanges)for(var t=Object.keys(this),n=0,i=t=t.filter(function(t){return g.test(t)});n<i.length;n++){var r=i[n].replace("Ref","");e.setValue(r.replace("_","."),e.getValue(r,this),this.propCollection)}},t.prototype.ngAfterViewChecked=function(){this.isUpdated&&(this.hasChanges=!1)},t.prototype.ngAfterViewInit=function(){this.isInitChanges=!1},t.prototype.ngOnDestroy=function(){this.directivePropList=[]},t}(),f=function(){function t(t){this.list=[],this.hasChanges=!1,this.propertyName=t}return t.prototype.ngOnInit=function(){this.isInitChanges=!0},t.prototype.ngAfterContentInit=function(){var t=this,e=0;this.list=this.children.map(function(n){return n.dirIndex=e++,n.property=t.propertyName,n}),this.hasChanges=!0},t.prototype.getProperties=function(){for(var t=[],e=0,n=this.list;e<n.length;e++){var i=n[e];t.push(i.getProperties())}return t},t.prototype.isChanged=function(){var t=this,e=!1,n=0,i=!1,r=this.children.map(function(t){return t});if(this.list.length===this.children.length)for(var s=0;s<this.list.length;s++)this.list[parseInt(s.toString(),10)].propCollection.dataSource&&(this.list[parseInt(s.toString(),10)].dataSource&&this.list[parseInt(s.toString(),10)].propCollection.dataSource!==this.list[parseInt(s.toString(),10)].dataSource&&(this.list[parseInt(s.toString(),10)].propCollection.dataSource=this.list[parseInt(s.toString(),10)].dataSource,this.list[parseInt(s.toString(),10)].hasChanges=!0),"series"!==this.list[parseInt(s.toString(),10)].property&&(i=JSON.stringify(this.list[parseInt(s.toString(),10)].propCollection.dataSource)!==JSON.stringify(r[parseInt(s.toString(),10)].propCollection.dataSource))),i=this.list[parseInt(s.toString(),10)].hasChanges!==r[parseInt(s.toString(),10)].hasChanges;this.hasNewChildren=!(this.list.length===this.children.length&&!i)||null,this.hasNewChildren&&(this.list=this.children.map(function(e){return e.dirIndex=n++,e.property=t.propertyName,e}));for(var a=0,o=this.list;a<o.length;a++){var l=o[a];e=e||l.hasChanges}return!!this.list.length&&e},t.prototype.clearTemplate=function(t){for(var e=this,n=0,i=this.list;n<i.length;n++)i[n].clearTemplate(t&&t.map(function(t){return new RegExp(e.propertyName).test(t)?t.replace(e.propertyName+".",""):t}))},t.prototype.ngAfterContentChecked=function(){this.hasChanges=this.isChanged();for(var t=0;t<this.list.length;t++)e.getValue("childColumns",this.list[parseInt(t.toString(),10)])&&"columns"===e.getValue("property",this.list[parseInt(t.toString(),10)])&&e.setValue("columns",e.getValue("childColumns",this.list[parseInt(t.toString(),10)]).getProperties(),this.list[parseInt(t.toString(),10)].propCollection),this.list[parseInt(t.toString(),10)].isUpdated=!0},t.prototype.ngAfterViewInit=function(){this.isInitChanges=!1},t.prototype.ngOnDestroy=function(){this.list=[]},t}(),d=function(){function t(){this.isProtectedOnChange=!0,this.isFormInit=!0}return t.prototype.saveChanges=function(t,e,n){if(!this.isProtectedOnChange){this.oldProperties["".concat(t)]=n,this.changedProperties["".concat(t)]=e,this.finalUpdate();var i=setTimeout(this.dataBind.bind(this)),r=function(){clearTimeout(i)};this.finalUpdate=r}},t.prototype.ngOnInit=function(t){var n=t||this;n.registeredTemplate={},n.ngBoundedEvents={},n.isAngular=!0,n.isFormInit=!0,t&&(this.tags=t.tags),n.tags=this.tags||[],n.complexTemplate=this.complexTemplate||[],n.tagObjects=[],n.ngAttr=this.getAngularAttr(n.element),n.createElement=function(t,i){var r=n.srenderer?n.srenderer.createElement(t):e.createElement(t);return void 0===i?r:(r.innerHTML=i.innerHTML?i.innerHTML:"",void 0!==i.className&&(r.className=i.className),void 0!==i.id&&(r.id=i.id),void 0!==i.styles&&r.setAttribute("style",i.styles),void 0!==n.ngAttr&&r.setAttribute(n.ngAttr,""),void 0!==i.attrs&&e.attributes(r,i.attrs),r)};for(var i=0,r=n.tags;i<r.length;i++){var s=r[i],a={instance:e.getValue("child"+s.substring(0,1).toUpperCase()+s.substring(1),n),name:s};n.tagObjects.push(a)}for(var o=Object.keys(n),l=0;l<o.length;l++){var p=e.getValue(o[parseInt(l.toString(),10)],n);"object"==typeof p&&p&&p.elementRef&&("object"==typeof p&&p&&p.elementRef&&-1!==o[parseInt(l.toString(),10)].indexOf("_")&&-1===o[parseInt(l.toString(),10)].indexOf("Ref")&&e.setValue(o[parseInt(l.toString(),10)]+"Ref",p,n),!n.viewContainerRef||e.getValue("_viewContainerRef",p.elementRef.nativeElement)||e.getValue("propName",p.elementRef.nativeElement)||(e.setValue("_viewContainerRef",n.viewContainerRef,p.elementRef.nativeElement),e.setValue("propName",o[parseInt(l.toString(),10)].replace("Ref",""),p.elementRef.nativeElement)))}for(var c=0,h=o=(o=Object.keys(n)).filter(function(t){return/Ref$/i.test(t)&&/_/i.test(t)});c<h.length;c++){var g=h[c].replace("Ref",""),u={};e.setValue(g.replace("_","."),e.getValue(g,n),u),n.setProperties(u,!0)}},t.prototype.getAngularAttr=function(t){for(var e,n=t.attributes,i=n.length,r=0;r<i;r++)/_ngcontent/g.test(n[parseInt(r.toString(),10)].name)&&(e=n[parseInt(r.toString(),10)].name);return e},t.prototype.ngAfterViewInit=function(t){var n=t||this;/ejs-tab|ejs-accordion/g.test(n.ngEle.nativeElement.outerHTML)&&(n.ngEle.nativeElement.style.visibility="hidden");var i=Object.keys(n);i=i.filter(function(t){return/Ref$/i.test(t)});for(var r="DocumentEditor"===n.getModuleName(),s=0,a=i;s<a.length;s++){var o=a[s].replace("Ref","");e.setValue(o.replace("_","."),e.getValue(o+"Ref",n),n)}var l=function(t){"undefined"!=typeof window&&t.element&&(t.appendTo(t.element),t.ngEle.nativeElement.style.visibility="")};r||n.getModuleName().includes("btn")?l(n):setTimeout(function(){l(n)})},t.prototype.ngOnDestroy=function(t){var e=t||this;setTimeout(function(){if("undefined"!=typeof window&&e.element.classList.contains("e-control")){if(void 0!==e.ngOnFocus&&void 0!==e.ngOnBlur){var t=e.inputElement||e.element;t.removeEventListener("focus",e.ngOnFocusBound),t.removeEventListener("blur",e.ngOnBlurBound),e.ngOnFocusBound=null,e.ngOnBlurBound=null}e.destroy(),e.clearTemplate(null),setTimeout(function(){for(var t=0,n=Object.keys(e);t<n.length;t++){var i=n[t],r=e["".concat(i)];if(r&&/object/.test(typeof r)&&0!==Object.keys(r).length)if(/properties|changedProperties|childChangedProperties|oldProperties|moduleLoader/.test(i))for(var s=0,a=Object.keys(e["".concat(i)]);s<a.length;s++){var o=a[s],l=r["".concat(o)];l&&/object/.test(typeof l)&&0!==Object.keys(l).length&&(l.parent||l.parentObj)&&(e["".concat(i)]["".concat(o)]=null)}else(r.parent||r.parentObj)&&(e["".concat(i)]=null)}})}})},t.prototype.clearTemplate=function(t,e){a(this,t,e)},t.prototype.ngAfterContentChecked=function(t){for(var n=t||this,i=0,r=n.tagObjects;i<r.length;i++){var s=r[i];if(!e.isUndefined(s.instance)&&(s.instance.isInitChanges||s.instance.hasChanges||s.instance.hasNewChildren)){var a={};if(s.instance.isInitChanges){var o=void 0;(y=e.getValue("instance.list",s))&&y.length&&(o=y[0].directivePropList);var l=!0;if(n.getModuleName&&"gantt"===n.getModuleName()&&(l=!1),o&&l&&-1===o.indexOf(s.instance.propertyName))for(var p=Object.keys(s.instance.list[0].propCollection),c=0;c<s.instance.list.length;c++){s.instance.list["".concat(c)].propCollection[s.instance.propertyName]=[];for(var h={},g=0;g<p.length;g++){var u=p[parseInt(g.toString(),10)];h["".concat(u)]=s.instance.list["".concat(c)].propCollection["".concat(u)]}for(var f=0;f<s.instance.list["".concat(c)].tags.length;f++)!function(t){var n=s.instance.list["".concat(c)].tags[parseInt(t.toString(),10)],i=e.getValue("child"+n.substring(0,1).toUpperCase()+n.substring(1),s.instance.list["".concat(c)]);if(i){var r=s.instance.list["".concat(c)]["child"+n.substring(0,1).toUpperCase()+n.substring(1)],a=function(t){var n=[];if(t)for(var i=0;i<t.list.length;i++){var r=t.list[0].tags[0];if(r){var s=e.getValue("child"+r.substring(0,1).toUpperCase()+r.substring(1),t.list[parseInt(i.toString(),10)]);s&&(t.list[parseInt(i.toString(),10)].tagObjects.push({instance:s,name:r}),n.push(s))}}if(0!==n.length)for(var o=0;o<n.length;o++)a(n[parseInt(o.toString(),10)])};a(r),s.instance.list["".concat(c)].tagObjects.push({instance:i,name:n})}}(f);s.instance.list["".concat(c)].propCollection[s.instance.propertyName].push(h)}a[s.name]=s.instance.getProperties(),n.setProperties(a,s.instance.isInitChanges)}else{var d=!1;(n[s.name].length!==s.instance.list.length||/diagram|DashboardLayout/.test(n.getModuleName()))&&(n[s.name]=s.instance.list,d=!0);for(var v=0,m=s.instance.list;v<m.length;v++){var y=m[v];if(y.tags)for(var C=0,O=y.tags;C<O.length;C++){var b=O[C],V=e.getValue("child"+b.substring(0,1).toUpperCase()+b.substring(1),y);V&&y.tagObjects.push({instance:V,name:b})}var I=s.instance.list.indexOf(y),S=e.getValue(s.name,n)["".concat(I)],E=Object.keys(S);if(E=E.filter(function(t){return/Ref$/i.test(t)}),S.properties&&0!==Object.keys(S.properties).length)for(var T=0,N=E;T<N.length;T++)u=(u=N[T]).replace(/Ref/,""),S.properties["".concat(u)]=S.properties["".concat(u)]?S.properties["".concat(u)]:S.propCollection["".concat(u)];e.isUndefined(S)||e.isUndefined(S.setProperties)||(/diagram|DashboardLayout/.test(n.getModuleName())?S.setProperties(y.getProperties(),!0):S.setProperties(y.getProperties())),y.isUpdated=!0}(/grid/.test(n.getModuleName())&&d||/chart/.test(n.getModuleName()))&&(a[s.name]=s.instance.getProperties(),n.setProperties(a,s.instance.isInitChanges))}}}},t.prototype.registerEvents=function(t){s(t,this)},t.prototype.twoWaySetter=function(t,n){var i=e.getValue(n,this.properties);i!==t&&(this.saveChanges(n,t,i),e.setValue(n,e.isNullOrUndefined(t)?null:t,this.properties),e.getValue(n+"Change",this).emit(t))},t.prototype.addTwoWay=function(t){for(var i=this,r=this,s=0,a=t;s<a.length;s++)!function(t){e.getValue(t,r),Object.defineProperty(r,t,{get:function(){return e.getValue(t,i.properties)},set:function(e){return i.twoWaySetter(e,t)}}),e.setValue(t+"Change",new n.EventEmitter,r)}(a[s])},t.prototype.addEventListener=function(t,n){var i=e.getValue(t,this);e.isUndefined(i)||(this.ngBoundedEvents["".concat(t)]||(this.ngBoundedEvents["".concat(t)]=new Map),this.ngBoundedEvents["".concat(t)].set(n,i.subscribe(n)))},t.prototype.removeEventListener=function(t,n){var i=e.getValue(t,this);e.isUndefined(i)||this.ngBoundedEvents["".concat(t)].get(n).unsubscribe()},t.prototype.trigger=function(t,n,i){var r=e.getValue(t,this),s=this.isProtectedOnChange;this.isProtectedOnChange=!1,n&&(n.name=t),e.isUndefined(r)||r.next(n);var a=e.getValue("local"+t.charAt(0).toUpperCase()+t.slice(1),this);e.isUndefined(a)||a.call(this,n),this.isProtectedOnChange=s,i&&(this.preventChange=this.isPreventChange,i.call(this,n)),this.isPreventChange=!1},t}(),v=function(){function t(){this.ngOnBlurBound=this.ngOnBlur.bind(this),this.ngOnFocusBound=this.ngOnFocus.bind(this)}return t.prototype.propagateChange=function(t){},t.prototype.propagateTouch=function(){},t.prototype.localChange=function(t){var n=void 0===t.checked?t.value:t.checked;if(this.objCheck=e.isObject(n),!0===this.isUpdated&&(this.angularValue=this.oldValue),!0===this.objCheck)this.duplicateValue=JSON.stringify(n),this.duplicateAngularValue=JSON.stringify(this.angularValue),this.duplicateValue!==this.duplicateAngularValue&&void 0!==this.propagateChange&&void 0!==n&&(this.propagateChange(n),this.angularValue=n);else if(n!==this.angularValue&&void 0!==this.propagateChange&&void 0!==n)if(""!==n&&null!==n)this.propagateChange(n),this.angularValue=n;else{var i=n;this.propagateChange(i),this.angularValue=n}this.cdr.markForCheck()},t.prototype.registerOnChange=function(t){this.propagateChange=t},t.prototype.registerOnTouched=function(t){this.propagateTouch=t},t.prototype.twoWaySetter=function(t,n){var i=this.oldValue||e.getValue(n,this.properties),r=this.inputElement||this.element;(!r||i!==t||this.value!==t||void 0!==r.value&&""!==r.value)&&(this.saveChanges(n,t,i),e.setValue(n,e.isNullOrUndefined(t)?null:t,this.properties),e.getValue(n+"Change",this).emit(t))},t.prototype.ngAfterViewInit=function(t){var e=t||this;if(e.ngOnBlurBound=this.ngOnBlur.bind(this),e.ngOnFocusBound=this.ngOnFocus.bind(this),"undefined"!=typeof window){e.getModuleName().includes("dropdowntree")?setTimeout(function(){e.appendTo(e.element)}):e.appendTo(e.element);var n=e.inputElement||e.element;n.addEventListener("focus",this.ngOnFocusBound),n.addEventListener("blur",this.ngOnBlurBound)}this.isFormInit=!1},t.prototype.setDisabledState=function(t){this.enabled=!t,this.disabled=t},t.prototype.writeValue=function(t){var e=/ejs-radiobutton/g;void 0===this.checked?this.value=t:this.ngEle&&("boolean"==typeof t?e.test(this.ngEle.nativeElement.outerHTML)?this.checked=t===this.value:this.checked=t:this.checked=t===this.value);var n=null==this.angularValue;if(this.angularValue=t,this.isUpdated=!0,this.preventChange=!this.isFormInit,this.cdr.markForCheck(),null===t)return void(n&&(this.preventChange=!1))},t.prototype.ngOnFocus=function(t){!0!==this.skipFromEvent&&this.focus.emit(t),this.cdr.markForCheck()},t.prototype.ngOnBlur=function(t){this.propagateTouch(),!0!==this.skipFromEvent&&this.blur.emit(t),this.cdr.markForCheck()},t.prototype.ngOnDestroy=function(){this.destroy&&"function"==typeof this.destroy&&this.destroy.call(this)},t.isFormBase=!0,t}(),m=e.getTemplateEngine();return e.setTemplateEngine({compile:l}),t.ArrayBase=f,t.ComplexBase=u,t.ComponentBase=d,t.ComponentMixins=r,t.FormBase=v,t.Template=p,t.applyMixins=i,t.clearTemplate=a,t.compile=l,t.registerEvents=s,t.setValue=o,t}({},ej.base,core),this.ejs=ej;
//# sourceMappingURL=ej2-angular-base.min.js.map