Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import '../assets/ds.scss';
import { dom, library, config } from '@fortawesome/fontawesome-svg-core';
import {faPlusSquare} from '@fortawesome/free-solid-svg-icons/faPlusSquare';
import {faPen} from '@fortawesome/free-solid-svg-icons/faPen';
import {faSearch} from '@fortawesome/free-solid-svg-icons/faSearch';
import {faAngleRight} from '@fortawesome/free-solid-svg-icons/faAngleRight';
import {faTimes} from '@fortawesome/free-solid-svg-icons/faTimes';
config.autoReplaceSvg = 'nest';
library.add(faPlusSquare, faPen, faSearch, faAngleRight, faTimes);
dom.watch();
import $ from 'jquery';
window.jQuery = $;
window.$ = $;
global.$ = $;
const Hogan = require("hogan.js");
import '@theidentityselector/thiss-jquery-plugin/src/ds-widget.js';
const search = Hogan.compile(require('!raw-loader!./templates/search.html'));
const saved = Hogan.compile(require('!raw-loader!./templates/saved.html'));
const too_many = Hogan.compile(require('!raw-loader!./templates/too_many.html'));
faPlus,
faSort,
faSortDown,
faSortUp,
faTimes,
faCalendar,
faCheckSquare,
faClock,
faEnvelope,
faFlag
)
/**
* Ensure vue-tables-2 sorting icons can be replaced with font-awesome chevrons
*/
config.autoReplaceSvg = 'nest'
dom.watch()
Vue.component('font-awesome-icon', FontAwesomeIcon)
Vue.component('font-awesome-layers', FontAwesomeLayers)
/**
* V-Calendar
*/
import VCalendar from 'v-calendar'
Vue.use(VCalendar)
/**
* Vue-Tables-2
*/
import { ClientTable } from 'vue-tables-2'
import TailwindTheme from './themes/vue-tables-tailwind-theme'
import { config, library, dom } from '@fortawesome/fontawesome-svg-core'
config.autoReplaceSvg = 'nest'
import { faCaretUp, faCaretDown, faStar, faCheck, faSpinner } from '@fortawesome/free-solid-svg-icons'
library.add(faCaretUp, faCaretDown, faCheck, faStar, faSpinner);
dom.watch()