/**
 * Program: SDL Common filters
 * Author: SDL
 * Description: SDL Common Filters
 */
import dateFormat from './dateFormat';
import numberFormat from './numberFormat';
import numberFormat_de from './numberFormat_de';
import reverse from './reverse';
import nl2br from './nl2br';
import cutString from './cutString';

export default {
  install(Vue) {
    Vue.config.globalProperties.$filters = {
      reverse: reverse,
      dateFormat: dateFormat,
      numberFormat: numberFormat,
      numberFormat_de: numberFormat_de,
      nl2br: nl2br,
      cutString: cutString,
    };
  },
};
