MWF.xApplication.process.FormDesigner.Module = MWF.xApplication.process.FormDesigner.Module || {}; MWF.xDesktop.requireApp("process.FormDesigner", "Module.Elinput", null, false); MWF.xApplication.process.FormDesigner.Module.Eltree = MWF.FCEltree = new Class({ Extends: MWF.FCElinput, Implements: [Options, Events], options: { "style": "default", "propertyPath": "../x_component_process_FormDesigner/Module/Eltree/eltree.html" }, _initModuleType: function(){ this.className = "Eltree"; this.moduleType = "element"; this.moduleName = "eltree"; }, _afterMounted: function(el, callback){ this.node = el; this.node.store("module", this); this._loadVueCss(); this._createIcon(); if (callback) callback(); }, _filterHtml: function(html){ var reg = /(?:@|v-on|v-model)\S*(?:\=)\S*(?:\"|\'|\s)/g; var v = html.replace(reg, ""); return v; }, _createIcon: function(){ this.iconNode = new Element("div", { "styles": this.css.iconNode, "o2icon": "eltree" }).inject(this.node, "top"); new Element("div", { "styles": this.css.iconNodeIcon }).inject(this.iconNode); new Element("div", { "styles": this.css.iconNodeText, "text": "Eltree" }).inject(this.iconNode); }, _createElementHtml: function(){ var html = "