1/** 2 * webtrees: online genealogy 3 * Copyright (C) 2019 webtrees development team 4 * This program is free software: you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License as published by 6 * the Free Software Foundation, either version 3 of the License, or 7 * (at your option) any later version. 8 * This program is distributed in the hope that it will be useful, 9 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 * GNU General Public License for more details. 12 * You should have received a copy of the GNU General Public License 13 * along with this program. If not, see <http://www.gnu.org/licenses/>. 14 */ 15 16import $ from "jquery"; 17window.$ = window.jQuery = $; 18 19import "popper.js"; 20import "bootstrap"; 21import "datatables.net"; 22 23window.Bloodhound = require("corejs-typeahead/dist/bloodhound.min.js"); 24import "corejs-typeahead"; 25 26import "datatables.net-bs4"; 27 28// See https://github.com/RubaXa/Sortable/issues/1229 29//window.Sortable = require('sortablejs'); 30import Sortable from 'sortablejs'; 31window.Sortable = Sortable; 32 33import "select2"; 34//import "select2/dist/js/i18n/*.js"; 35 36import "select2/dist/js/i18n/af.js"; 37import "select2/dist/js/i18n/ar.js"; 38import "select2/dist/js/i18n/az.js"; 39import "select2/dist/js/i18n/bg.js"; 40import "select2/dist/js/i18n/bn.js"; 41import "select2/dist/js/i18n/bs.js"; 42import "select2/dist/js/i18n/ca.js"; 43import "select2/dist/js/i18n/cs.js"; 44import "select2/dist/js/i18n/da.js"; 45import "select2/dist/js/i18n/de.js"; 46import "select2/dist/js/i18n/dsb.js"; 47import "select2/dist/js/i18n/el.js"; 48import "select2/dist/js/i18n/en.js"; 49import "select2/dist/js/i18n/es.js"; 50import "select2/dist/js/i18n/et.js"; 51import "select2/dist/js/i18n/eu.js"; 52import "select2/dist/js/i18n/fa.js"; 53import "select2/dist/js/i18n/fi.js"; 54import "select2/dist/js/i18n/fr.js"; 55import "select2/dist/js/i18n/gl.js"; 56import "select2/dist/js/i18n/he.js"; 57import "select2/dist/js/i18n/hi.js"; 58import "select2/dist/js/i18n/hr.js"; 59import "select2/dist/js/i18n/hsb.js"; 60import "select2/dist/js/i18n/hu.js"; 61import "select2/dist/js/i18n/hy.js"; 62import "select2/dist/js/i18n/id.js"; 63import "select2/dist/js/i18n/is.js"; 64import "select2/dist/js/i18n/it.js"; 65import "select2/dist/js/i18n/ja.js"; 66import "select2/dist/js/i18n/ka.js"; 67import "select2/dist/js/i18n/km.js"; 68import "select2/dist/js/i18n/ko.js"; 69import "select2/dist/js/i18n/lt.js"; 70import "select2/dist/js/i18n/lv.js"; 71import "select2/dist/js/i18n/mk.js"; 72import "select2/dist/js/i18n/ms.js"; 73import "select2/dist/js/i18n/nb.js"; 74import "select2/dist/js/i18n/ne.js"; 75import "select2/dist/js/i18n/nl.js"; 76import "select2/dist/js/i18n/pl.js"; 77import "select2/dist/js/i18n/ps.js"; 78import "select2/dist/js/i18n/pt-BR.js"; 79import "select2/dist/js/i18n/pt.js"; 80import "select2/dist/js/i18n/ro.js"; 81import "select2/dist/js/i18n/ru.js"; 82import "select2/dist/js/i18n/sk.js"; 83import "select2/dist/js/i18n/sl.js"; 84import "select2/dist/js/i18n/sq.js"; 85import "select2/dist/js/i18n/sr-Cyrl.js"; 86import "select2/dist/js/i18n/sr.js"; 87import "select2/dist/js/i18n/sv.js"; 88import "select2/dist/js/i18n/th.js"; 89import "select2/dist/js/i18n/tk.js"; 90import "select2/dist/js/i18n/tr.js"; 91import "select2/dist/js/i18n/uk.js"; 92import "select2/dist/js/i18n/vi.js"; 93import "select2/dist/js/i18n/zh-CN.js"; 94import "select2/dist/js/i18n/zh-TW.js"; 95 96import "hideshowpassword"; 97 98import "moment"; 99 100import "jquery-colorbox"; 101 102import "wheelzoom"; 103 104import "leaflet"; 105import "leaflet-providers"; 106window.GeoSearch = require("leaflet-geosearch"); 107import "leaflet.markercluster"; 108import "beautifymarker"; 109