define(["modules/forms/module","lodash","bootstrap-duallistbox"],function(a,b){"use strict";return a.registerDirective("smartDuallistbox",function(){return{restrict:"A",compile:function(a,c){a.removeAttr("smart-duallistbox data-smart-duallistbox");var d=b.pick(c,["nonSelectedFilter"]),e=b.extend(d,{nonSelectedListLabel:"Non-selected",selectedListLabel:"Selected",preserveSelectionOnMove:"moved",moveOnSelect:!1});a.bootstrapDualListbox(e)}}})});