define(["modules/tables/module","datatables","datatables-responsive","datatables-colvis","datatables-tools","datatables-bootstrap"],function(a){"use strict";return a.registerDirective("datatableColumnReorder",function(){return{restrict:"A",link:function(a,b){var c=void 0,d={tablet:1024,phone:480};b.dataTable({sDom:"<'dt-toolbar'<'col-xs-12 col-sm-6'f><'col-sm-6 hidden-xs'C>r>t<'dt-toolbar-footer'<'col-sm-6 hidden-xs'i><'col-sm-6 col-xs-12'p>>",oLanguage:{sSearch:"<span class='input-group-addon input-sm'><i class='glyphicon glyphicon-search'></i></span> "},autoWidth:!1,preDrawCallback:function(){c||(c=new ResponsiveDatatablesHelper(b,d))},rowCallback:function(a){c.createExpandIcon(a)},drawCallback:function(){c.respond()}})}}})});