2019-10-20 03:00:05 +02:00
|
|
|
"use strict";
|
|
|
|
|
2018-02-09 13:10:40 +01:00
|
|
|
import '../scss/app.scss';
|
2018-02-05 12:11:01 +01:00
|
|
|
|
2018-06-23 12:27:06 +02:00
|
|
|
// import Bootstrap
|
|
|
|
import 'popper.js';
|
2018-02-09 13:10:40 +01:00
|
|
|
import 'bootstrap/js/dist/util';
|
|
|
|
import 'bootstrap/js/dist/alert';
|
|
|
|
import 'bootstrap/js/dist/button';
|
|
|
|
import 'bootstrap/js/dist/carousel';
|
|
|
|
import 'bootstrap/js/dist/collapse';
|
2019-10-20 03:00:05 +02:00
|
|
|
|
|
|
|
import 'hammerjs/hammer';
|
|
|
|
import 'jquery-hammerjs/jquery.hammer';
|
|
|
|
|
|
|
|
// Routie
|
|
|
|
//import 'pouchdb/dist/pouchdb';
|
2019-11-25 08:00:33 +01:00
|
|
|
//import '@a2nt/ss-bootstrap-ui-webpack-boilerplate/src/js/_components/routes/index';
|
2019-10-20 03:00:05 +02:00
|
|
|
|
|
|
|
// conflicts with _components/_ui.hover.js (shows dropdown on hover)
|
|
|
|
//import 'bootstrap/js/dist/dropdown';
|
2019-11-25 08:00:33 +01:00
|
|
|
import '@a2nt/ss-bootstrap-ui-webpack-boilerplate/src/js/_components/_ui.hover';
|
2019-10-20 03:00:05 +02:00
|
|
|
|
2019-11-25 08:00:33 +01:00
|
|
|
import '@a2nt/ss-bootstrap-ui-webpack-boilerplate/src/js/_components/_ui.carousel';
|
|
|
|
import '@a2nt/ss-bootstrap-ui-webpack-boilerplate/src/js/_components/_ui.menu';
|
2019-10-20 03:00:05 +02:00
|
|
|
|
2018-02-09 13:10:40 +01:00
|
|
|
import 'bootstrap/js/dist/modal';
|
|
|
|
import 'bootstrap/js/dist/tooltip';
|
|
|
|
import 'bootstrap/js/dist/popover';
|
|
|
|
import 'bootstrap/js/dist/scrollspy';
|
|
|
|
import 'bootstrap/js/dist/tab';
|
2018-02-05 12:11:01 +01:00
|
|
|
//
|
|
|
|
|
2019-11-27 06:30:48 +01:00
|
|
|
import Spinner from '@a2nt/ss-bootstrap-ui-webpack-boilerplate/src/js/_components/_ui.spinner';
|
|
|
|
//import Multislider from '@a2nt/ss-bootstrap-ui-webpack-boilerplate/src/js/_components/_ui.multislider';
|
2018-06-23 12:27:06 +02:00
|
|
|
|
2019-09-07 03:39:49 +02:00
|
|
|
// Offcanvas menu
|
2019-09-07 03:49:31 +02:00
|
|
|
//import 'offcanvas-bootstrap/dist/js/bootstrap.offcanvas';
|
2019-09-07 03:39:49 +02:00
|
|
|
|
|
|
|
// Uncomment it to enable meta-lightbox zooming on hover
|
|
|
|
//import 'jquery-zoom/jquery.zoom';
|
2019-09-07 03:49:31 +02:00
|
|
|
|
2019-10-20 03:00:05 +02:00
|
|
|
// Toggle bootstrap form fields
|
2019-11-25 08:00:33 +01:00
|
|
|
//import FormToggleUI from '@a2nt/ss-bootstrap-ui-webpack-boilerplate/src/js/_components/_ui.form.fields.toggle';
|
2019-10-20 03:00:05 +02:00
|
|
|
|
|
|
|
// Bootstrap Date & Time fields
|
2019-11-25 08:00:33 +01:00
|
|
|
//import FormDatetime from '@a2nt/ss-bootstrap-ui-webpack-boilerplate/src/js/_components/_ui.form.datetime';
|
2019-10-20 03:00:05 +02:00
|
|
|
|
|
|
|
// Stepped forms functionality
|
2019-11-25 08:00:33 +01:00
|
|
|
//import FormStepped from '@a2nt/ss-bootstrap-ui-webpack-boilerplate/src/js/_components/_ui.form.stepped';
|
2019-10-20 03:00:05 +02:00
|
|
|
|
|
|
|
// Forms validation functionality
|
2019-11-25 08:00:33 +01:00
|
|
|
//import FormValidate from '@a2nt/ss-bootstrap-ui-webpack-boilerplate/src/js/_components/_ui.form.validate';
|
2019-10-20 03:00:05 +02:00
|
|
|
|
|
|
|
// Store forms data into localStorage
|
2019-11-25 08:00:33 +01:00
|
|
|
//import FormStorage from '@a2nt/ss-bootstrap-ui-webpack-boilerplate/src/js/_components/_ui.form.storage';
|
2019-10-20 03:00:05 +02:00
|
|
|
|
|
|
|
// client-side images cropping
|
2019-11-25 08:00:33 +01:00
|
|
|
//import FormCroppie from '@a2nt/ss-bootstrap-ui-webpack-boilerplate/src/js/_components/_ui.form.croppie';
|
2019-10-20 03:00:05 +02:00
|
|
|
|
|
|
|
// Google NoCaptcha fields
|
2019-11-25 08:00:33 +01:00
|
|
|
//import NoCaptcha from '@a2nt/ss-bootstrap-ui-webpack-boilerplate/src/js/_components/_ui.nocaptcha';
|
2019-10-20 03:00:05 +02:00
|
|
|
|
2019-09-07 03:49:31 +02:00
|
|
|
// youtube video preview image
|
2019-11-25 08:00:33 +01:00
|
|
|
import '@a2nt/ss-bootstrap-ui-webpack-boilerplate/src/js/_components/_ui.video.preview';
|
2019-09-07 03:49:31 +02:00
|
|
|
|
2019-10-20 03:00:05 +02:00
|
|
|
// Meta Lightbox
|
2019-11-25 09:50:50 +01:00
|
|
|
import '@a2nt/meta-lightbox/src/js/index';
|
2018-04-21 05:36:06 +02:00
|
|
|
|
2019-10-20 03:00:05 +02:00
|
|
|
//import Confirmation from 'bootstrap-confirmation2/dist/bootstrap-confirmation';
|
|
|
|
//import Table from 'bootstrap-table/dist/bootstrap-table';
|
|
|
|
|
2019-11-25 08:00:33 +01:00
|
|
|
import '@a2nt/ss-bootstrap-ui-webpack-boilerplate/src/js/_main';
|
2018-07-02 04:34:36 +02:00
|
|
|
import './_layout';
|
2018-02-05 12:11:01 +01:00
|
|
|
|
2018-02-22 12:48:28 +01:00
|
|
|
function importAll(r) {
|
2019-06-08 17:54:43 +02:00
|
|
|
return r.keys().map(r);
|
2018-02-22 12:48:28 +01:00
|
|
|
}
|
|
|
|
|
2018-06-23 12:27:06 +02:00
|
|
|
const images = importAll(require.context('../img/', false, /\.(png|jpe?g|svg)$/));
|
2018-07-02 04:34:36 +02:00
|
|
|
const fontAwesome = importAll(require.context('font-awesome', false, /\.(otf|eot|svg|ttf|woff|woff2)$/));
|