text: define(["../../../default/defaultcontroller","lib/formcreator/formcreator"],function(a,b){function c(){}return c.prototype=$.extend(!0,{},a),c.prototype.moduleInformation={name:"Filter",description:"A filtering module that takes variables in, modifies them, and outputs some other variables",author:"Norman Pellet",date:"24.12.2013",license:"MIT",cssClass:"filter"},c.prototype.references={cell:{label:"Data of the cell",type:"object"},list:{label:"The array of data to display",type:"array"}},c.prototype.events={onFilter:{label:"Filtering is done"},onBeforeFilter:{label:"Before filtering script it called"}},c.prototype.variablesIn=["list"],c.prototype.actionsIn={addElement:"Add an element"},c.prototype.configurationStructure=function(a){return{groups:{cfg:{options:{type:"list"},fields:{script:{type:"jscode",title:"Filtering script"}}}},sections:{filterElement:b.makeConfig()}}},c.prototype.configFunctions={varsout:function(a){return Array.isArray(a)?a:[]},script:function(a){return a?a:""},filters:function(a){return Array.isArray(a)?a:[]}},c.prototype.configAliases={filters:["sections","filterElement"],script:["groups","cfg",0,"script",0]},c});