2019-02-24 18:05:06 +01:00
|
|
|
/*
|
|
|
|
* Welcome to your app's main JavaScript file!
|
|
|
|
*
|
|
|
|
* We recommend including the built version of this JavaScript file
|
|
|
|
* (and its CSS file) in your base layout (base.html.twig).
|
|
|
|
*/
|
|
|
|
|
|
|
|
// any CSS you require will output into a single css file (app.css in this case)
|
2019-03-24 19:55:39 +01:00
|
|
|
|
2019-02-24 18:05:06 +01:00
|
|
|
require('../css/app.css');
|
|
|
|
|
|
|
|
// Need jQuery? Install it with "yarn add jquery", then uncomment to require it.
|
|
|
|
const $ = require('jquery');
|
|
|
|
|
|
|
|
import 'bootstrap';
|
|
|
|
import 'bootstrap/dist/css/bootstrap.min.css';
|
|
|
|
|
|
|
|
import '@fortawesome/fontawesome-free/css/all.css'
|
|
|
|
|
2019-03-05 23:52:45 +01:00
|
|
|
import 'datatables.net-bs4/css/dataTables.bootstrap4.css'
|
|
|
|
import 'datatables.net-buttons-bs4/css/buttons.bootstrap4.css'
|
2019-03-12 19:09:22 +01:00
|
|
|
import 'datatables.net-fixedheader-bs4/css/fixedHeader.bootstrap4.css'
|
|
|
|
import 'datatables.net-select-bs4/css/select.bootstrap4.css'
|
2019-03-14 12:56:55 +01:00
|
|
|
import 'bootstrap-select/dist/css/bootstrap-select.css'
|
2019-03-14 18:27:29 +01:00
|
|
|
import 'awesome-bootstrap-checkbox/awesome-bootstrap-checkbox.css'
|
2019-03-05 23:52:45 +01:00
|
|
|
|
2019-03-24 15:25:40 +01:00
|
|
|
import "bootstrap-treeview/src/css/bootstrap-treeview.css"
|
|
|
|
|
2019-03-05 23:52:45 +01:00
|
|
|
//require( 'jszip' );
|
|
|
|
//#require( 'pdfmake' );
|
|
|
|
require( 'datatables.net-bs4' );
|
|
|
|
require( 'datatables.net-buttons-bs4' );
|
|
|
|
require( 'datatables.net-buttons/js/buttons.colVis.js' );
|
|
|
|
require( 'datatables.net-buttons/js/buttons.html5.js' );
|
|
|
|
require( 'datatables.net-buttons/js/buttons.print.js' );
|
|
|
|
//require( 'datatables.net-colreorder-bs4' )();
|
|
|
|
require( 'datatables.net-fixedheader-bs4' );
|
|
|
|
require( 'datatables.net-select-bs4' );
|
2019-03-24 15:25:40 +01:00
|
|
|
require('bootstrap-select');
|
2019-03-24 20:25:27 +01:00
|
|
|
require('jquery-form');
|
2019-03-05 23:52:45 +01:00
|
|
|
|
2019-03-24 15:25:40 +01:00
|
|
|
//require('bootstrap-treeview/src/js/bootstrap-treeview');
|
2019-03-05 23:52:45 +01:00
|
|
|
|
|
|
|
//Define jquery globally
|
|
|
|
window.$ = window.jQuery = require("jquery");
|
|
|
|
|
2019-03-24 15:25:40 +01:00
|
|
|
require('bootstrap-treeview/src/js/bootstrap-treeview');
|
2019-03-26 15:49:50 +01:00
|
|
|
require('./datatables.js');
|
|
|
|
|
2019-03-24 15:25:40 +01:00
|
|
|
|
2019-03-24 19:55:39 +01:00
|
|
|
require('../ts_src/ajax_ui');
|
|
|
|
import {ajaxUI} from "../ts_src/ajax_ui";
|
|
|
|
|
|
|
|
window.ajaxUI = ajaxUI;
|
|
|
|
|
2019-03-26 16:34:14 +01:00
|
|
|
//Require all events;
|
|
|
|
require('../ts_src/event_listeners');
|
|
|
|
|
|
|
|
|
|
|
|
//Start AjaxUI AFTER all event has been registered
|
2019-03-24 19:55:39 +01:00
|
|
|
$(document).ready(ajaxUI.start());
|
|
|
|
|
2019-03-26 16:34:14 +01:00
|
|
|
|
|
|
|
|
2019-03-24 15:25:40 +01:00
|
|
|
//console.log('Hello Webpack Encore! Edit me in assets/js/app.js');
|