xref: /webtrees/resources/js/vendor.js (revision 75e7614a3c4ae5641ce6af45e2bb8ce501918735)
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
29window.Sortable = require('sortablejs');
30
31import "select2";
32//import "select2/dist/js/i18n/*.js";
33
34import "select2/dist/js/i18n/af.js";
35import "select2/dist/js/i18n/ar.js";
36import "select2/dist/js/i18n/az.js";
37import "select2/dist/js/i18n/bg.js";
38import "select2/dist/js/i18n/bn.js";
39import "select2/dist/js/i18n/bs.js";
40import "select2/dist/js/i18n/ca.js";
41import "select2/dist/js/i18n/cs.js";
42import "select2/dist/js/i18n/da.js";
43import "select2/dist/js/i18n/de.js";
44import "select2/dist/js/i18n/dsb.js";
45import "select2/dist/js/i18n/el.js";
46import "select2/dist/js/i18n/en.js";
47import "select2/dist/js/i18n/es.js";
48import "select2/dist/js/i18n/et.js";
49import "select2/dist/js/i18n/eu.js";
50import "select2/dist/js/i18n/fa.js";
51import "select2/dist/js/i18n/fi.js";
52import "select2/dist/js/i18n/fr.js";
53import "select2/dist/js/i18n/gl.js";
54import "select2/dist/js/i18n/he.js";
55import "select2/dist/js/i18n/hi.js";
56import "select2/dist/js/i18n/hr.js";
57import "select2/dist/js/i18n/hsb.js";
58import "select2/dist/js/i18n/hu.js";
59import "select2/dist/js/i18n/hy.js";
60import "select2/dist/js/i18n/id.js";
61import "select2/dist/js/i18n/is.js";
62import "select2/dist/js/i18n/it.js";
63import "select2/dist/js/i18n/ja.js";
64import "select2/dist/js/i18n/ka.js";
65import "select2/dist/js/i18n/km.js";
66import "select2/dist/js/i18n/ko.js";
67import "select2/dist/js/i18n/lt.js";
68import "select2/dist/js/i18n/lv.js";
69import "select2/dist/js/i18n/mk.js";
70import "select2/dist/js/i18n/ms.js";
71import "select2/dist/js/i18n/nb.js";
72import "select2/dist/js/i18n/ne.js";
73import "select2/dist/js/i18n/nl.js";
74import "select2/dist/js/i18n/pl.js";
75import "select2/dist/js/i18n/ps.js";
76import "select2/dist/js/i18n/pt-BR.js";
77import "select2/dist/js/i18n/pt.js";
78import "select2/dist/js/i18n/ro.js";
79import "select2/dist/js/i18n/ru.js";
80import "select2/dist/js/i18n/sk.js";
81import "select2/dist/js/i18n/sl.js";
82import "select2/dist/js/i18n/sq.js";
83import "select2/dist/js/i18n/sr-Cyrl.js";
84import "select2/dist/js/i18n/sr.js";
85import "select2/dist/js/i18n/sv.js";
86import "select2/dist/js/i18n/th.js";
87import "select2/dist/js/i18n/tk.js";
88import "select2/dist/js/i18n/tr.js";
89import "select2/dist/js/i18n/uk.js";
90import "select2/dist/js/i18n/vi.js";
91import "select2/dist/js/i18n/zh-CN.js";
92import "select2/dist/js/i18n/zh-TW.js";
93
94import "hideshowpassword";
95
96import "moment";
97
98import "jquery-colorbox";
99
100import "wheelzoom";
101
102import "leaflet";
103import "leaflet-providers";
104window.GeoSearch = require("leaflet-geosearch");
105import "leaflet.markercluster";
106import "beautifymarker";
107