webpack-bootstrap-ui-kit/src/js/app.js

100 lines
2.3 KiB
JavaScript
Raw Normal View History

2021-08-02 22:03:17 +02:00
'use strict';
/*
* UI Basics
*/
2021-01-31 12:57:22 +01:00
//import $ from 'jquery';
2019-06-08 17:20:51 +02:00
import '../scss/app.scss';
2021-02-08 01:30:14 +01:00
import Events from './_events';
2021-08-09 18:04:04 +02:00
import MainUI from './main';
2019-10-20 01:40:40 +02:00
2021-08-02 22:03:17 +02:00
/*
* Extra functionality
*/
2021-08-09 15:10:02 +02:00
import '@a2nt/meta-lightbox-js/src/js/app';
2021-08-09 18:04:04 +02:00
import './ui/carousel';
//import './ui/ui.instagram.feed';
2021-08-02 22:03:17 +02:00
/*
* AJAX functionality
*/
2021-08-09 18:04:04 +02:00
//import './ajax/links';
import './ajax/online';
import './ajax/lazy-images';
2021-08-02 22:03:17 +02:00
/*
* Site specific modules
*/
2021-08-09 18:04:04 +02:00
import './layout';
2021-03-03 10:21:38 +01:00
2021-01-31 12:57:22 +01:00
//import 'hammerjs/hammer';
//import 'jquery-hammerjs/jquery.hammer';
2019-10-20 01:40:40 +02:00
// Routie
//import 'pouchdb/dist/pouchdb';
2021-08-09 18:04:04 +02:00
//import './components/routes/index';
2019-10-20 01:40:40 +02:00
2021-08-09 18:04:04 +02:00
// conflicts with components/ui.hover.js (shows dropdown on hover)
2019-10-20 01:40:40 +02:00
//import 'bootstrap/js/dist/dropdown';
2021-08-09 18:04:04 +02:00
/*import './components/ui.hover';
2019-10-20 01:40:40 +02:00
2021-08-09 18:04:04 +02:00
import './components/ui.carousel';
import './components/ui.menu';
2019-10-20 01:40:40 +02:00
2019-06-08 17:20:51 +02:00
import 'bootstrap/js/dist/modal';
import 'bootstrap/js/dist/tooltip';
import 'bootstrap/js/dist/popover';
import 'bootstrap/js/dist/scrollspy';
2021-01-31 12:57:22 +01:00
import 'bootstrap/js/dist/tab';*/
2019-06-08 17:20:51 +02:00
//
// Offcanvas menu
2019-09-07 03:49:08 +02:00
//import 'offcanvas-bootstrap/dist/js/bootstrap.offcanvas';
// Uncomment it to enable meta-lightbox zooming on hover
//import 'jquery-zoom/jquery.zoom';
2019-09-07 03:49:08 +02:00
2019-11-30 09:28:57 +01:00
// FlyoutUI
2021-08-09 18:04:04 +02:00
//import FlyoutUI from './components/ui.flyout';
2019-10-20 01:40:40 +02:00
2020-01-29 10:09:39 +01:00
// Sticky sidebar
2021-08-09 18:04:04 +02:00
//import SidebarUI from './components/ui.sidebar';
2020-01-29 10:09:39 +01:00
2019-10-20 01:40:40 +02:00
// Toggle bootstrap form fields
2021-08-09 18:04:04 +02:00
//import FormToggleUI from './components/ui.form.fields.toggle';
2019-10-20 01:40:40 +02:00
// Bootstrap Date & Time fields
2021-08-09 18:04:04 +02:00
//import FormDatetime from './components/ui.form.datetime';
2019-10-20 01:40:40 +02:00
// Stepped forms functionality
2021-08-09 18:04:04 +02:00
//import FormStepped from './components/ui.form.stepped';
2019-10-20 01:40:40 +02:00
// Forms validation functionality
2021-08-09 18:04:04 +02:00
//import FormValidate from './components/ui.form.validate';
2019-10-20 01:40:40 +02:00
// Store forms data into localStorage
2021-08-09 18:04:04 +02:00
//import FormStorage from './components/ui.form.storage';
2019-10-20 01:40:40 +02:00
// client-side images cropping
2021-08-09 18:04:04 +02:00
//import FormCroppie from './components/ui.form.croppie';
2019-10-20 01:40:40 +02:00
// Google NoCaptcha fields
2021-08-09 18:04:04 +02:00
//import NoCaptcha from './components/ui.nocaptcha';
2019-10-20 01:40:40 +02:00
2019-09-07 03:49:08 +02:00
// youtube video preview image
2021-08-09 18:04:04 +02:00
//import './components/ui.video.preview';
2019-09-07 03:49:08 +02:00
2021-03-03 10:21:38 +01:00
//import Confirmation from 'bootstrap-confirmation2/dist/bootstrap-confirmation';
//import Table from 'bootstrap-table/dist/bootstrap-table';
// Map UI
2021-08-09 18:04:04 +02:00
//import MapApi from './components/ui.map.api';
2021-03-03 10:21:38 +01:00
2021-08-09 18:04:04 +02:00
//import FormSelect2 from './components/ui.form.select2';
2021-03-03 10:21:38 +01:00
2021-08-09 18:04:04 +02:00
//import './main';
//import './layout';
2019-06-08 17:20:51 +02:00
2021-03-03 10:21:38 +01:00
// Google Analytics
2021-08-09 18:04:04 +02:00
//import './drivers/google.track.external.links';