Mercurial > gemma
annotate client/src/main.js @ 2878:4f66a3ba424b
Fixed selection for Nash-Sutcliffe coeff calculation.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 01 Apr 2019 15:57:36 +0200 |
parents | 503a73e9a755 |
children | ac4732c57b0b |
rev | line source |
---|---|
1243
24797f66f268
Client: remove (minor) superfluous things
Bernhard Reiter <bernhard@intevation.de>
parents:
1163
diff
changeset
|
1 /* This is Free Software under GNU Affero General Public License v >= 3.0 |
1019
ca628dce90dd
Licensing information added
Thomas Junk <thomas.junk@intevation.de>
parents:
880
diff
changeset
|
2 * without warranty, see README.md and license for details. |
1243
24797f66f268
Client: remove (minor) superfluous things
Bernhard Reiter <bernhard@intevation.de>
parents:
1163
diff
changeset
|
3 * |
1019
ca628dce90dd
Licensing information added
Thomas Junk <thomas.junk@intevation.de>
parents:
880
diff
changeset
|
4 * SPDX-License-Identifier: AGPL-3.0-or-later |
ca628dce90dd
Licensing information added
Thomas Junk <thomas.junk@intevation.de>
parents:
880
diff
changeset
|
5 * License-Filename: LICENSES/AGPL-3.0.txt |
1243
24797f66f268
Client: remove (minor) superfluous things
Bernhard Reiter <bernhard@intevation.de>
parents:
1163
diff
changeset
|
6 * |
1363 | 7 * Copyright (C) 2018 by via donau |
1019
ca628dce90dd
Licensing information added
Thomas Junk <thomas.junk@intevation.de>
parents:
880
diff
changeset
|
8 * – Österreichische Wasserstraßen-Gesellschaft mbH |
ca628dce90dd
Licensing information added
Thomas Junk <thomas.junk@intevation.de>
parents:
880
diff
changeset
|
9 * Software engineering by Intevation GmbH |
1243
24797f66f268
Client: remove (minor) superfluous things
Bernhard Reiter <bernhard@intevation.de>
parents:
1163
diff
changeset
|
10 * |
1019
ca628dce90dd
Licensing information added
Thomas Junk <thomas.junk@intevation.de>
parents:
880
diff
changeset
|
11 * Author(s): |
ca628dce90dd
Licensing information added
Thomas Junk <thomas.junk@intevation.de>
parents:
880
diff
changeset
|
12 * Thomas Junk <thomas.junk@intevation.de> |
1363 | 13 * Markus Kottländer <markus@intevation.de> |
1019
ca628dce90dd
Licensing information added
Thomas Junk <thomas.junk@intevation.de>
parents:
880
diff
changeset
|
14 */ |
ca628dce90dd
Licensing information added
Thomas Junk <thomas.junk@intevation.de>
parents:
880
diff
changeset
|
15 |
2385
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
16 // 3rd-party |
3 | 17 import Vue from "vue"; |
2385
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
18 import VTooltip from "v-tooltip"; |
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
19 import GetTextPlugin from "vue-gettext"; |
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
20 import Snotify, { SnotifyPosition } from "vue-snotify"; |
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
21 import VueClipboard from "vue-clipboard2"; |
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
22 import ToggleButton from "vue-js-toggle-button"; |
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
23 import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome"; |
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
24 import { library } from "@fortawesome/fontawesome-svg-core"; |
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
25 |
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
26 // local |
2541
468c8dc796cf
client: convert lib helper functions to Vue filters
Markus Kottlaender <markus@intevation.de>
parents:
2464
diff
changeset
|
27 import router from "@/router"; |
468c8dc796cf
client: convert lib helper functions to Vue filters
Markus Kottlaender <markus@intevation.de>
parents:
2464
diff
changeset
|
28 import store from "@/store"; |
468c8dc796cf
client: convert lib helper functions to Vue filters
Markus Kottlaender <markus@intevation.de>
parents:
2464
diff
changeset
|
29 import translations from "@/locale/translations.json"; |
468c8dc796cf
client: convert lib helper functions to Vue filters
Markus Kottlaender <markus@intevation.de>
parents:
2464
diff
changeset
|
30 import filters from "@/lib/filters"; |
2385
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
31 import { supportedLanguages, defaultLanguage } from "./locale/languages.js"; |
2541
468c8dc796cf
client: convert lib helper functions to Vue filters
Markus Kottlaender <markus@intevation.de>
parents:
2464
diff
changeset
|
32 import App from "@/components/App.vue"; |
2408
02d30251d594
client: table component for unified style
Markus Kottlaender <markus@intevation.de>
parents:
2387
diff
changeset
|
33 import UIBoxHeader from "@/components/ui/UIBoxHeader"; |
02d30251d594
client: table component for unified style
Markus Kottlaender <markus@intevation.de>
parents:
2387
diff
changeset
|
34 import UITableHeader from "@/components/ui/UITableHeader"; |
02d30251d594
client: table component for unified style
Markus Kottlaender <markus@intevation.de>
parents:
2387
diff
changeset
|
35 import UITableBody from "@/components/ui/UITableBody"; |
2840
503a73e9a755
client: ui: implemented global SpinnerOverlay component
Markus Kottlaender <markus@intevation.de>
parents:
2790
diff
changeset
|
36 import SpinnerOverlay from "@/components/ui/SpinnerOverlay"; |
2385
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
37 |
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
38 // styles |
159
3d9341f6da4e
feat: Locale of browser determines the default language
Thomas Junk <thomas.junk@intevation.de>
parents:
141
diff
changeset
|
39 import "../node_modules/bootstrap/dist/css/bootstrap.min.css"; |
428
d7a06b9fffc9
feat: Usability for usermanagement improved.
Thomas Junk <thomas.junk@intevation.de>
parents:
375
diff
changeset
|
40 import "../node_modules/animate.css/animate.min.css"; |
159
3d9341f6da4e
feat: Locale of browser determines the default language
Thomas Junk <thomas.junk@intevation.de>
parents:
141
diff
changeset
|
41 import "../node_modules/ol/ol.css"; |
713
badbc0207418
feat: systeminformation feature added
Thomas Junk <thomas.junk@intevation.de>
parents:
565
diff
changeset
|
42 import "../node_modules/highlight.js/styles/paraiso-dark.css"; |
2461
b60efa7d4cee
client: adjusted notification style
Markus Kottlaender <markus@intevation.de>
parents:
2408
diff
changeset
|
43 import "../node_modules/vue-snotify/styles/simple.css"; |
2385
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
44 |
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
45 // fontawesome5 icons |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
46 import { |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
47 faAngleDown, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
48 faAngleLeft, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
49 faAngleRight, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
50 faAngleUp, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
51 faBars, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
52 faBook, |
1800 | 53 faBullseye, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
54 faChartArea, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
55 faCheck, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
56 faCity, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
57 faClipboardCheck, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
58 faClock, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
59 faCloudUploadAlt, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
60 faCopy, |
2212
733cfc3db48a
started pdf template administration
Markus Kottlaender <markus@intevation.de>
parents:
1800
diff
changeset
|
61 faDownload, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
62 faDrawPolygon, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
63 faExclamationTriangle, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
64 faEye, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
65 faEyeSlash, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
66 faFilePdf, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
67 faFolderPlus, |
2790
563bcd8b7d7b
Page_not_found: implementation of rudimentary 404 page
Thomas Junk <thomas.junk@intevation.de>
parents:
2743
diff
changeset
|
68 faFrownOpen, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
69 faInfo, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
70 faLayerGroup, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
71 faMapMarkedAlt, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
72 faMinus, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
73 faPaperPlane, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
74 faPencilAlt, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
75 faPlay, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
76 faPlus, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
77 faPowerOff, |
1797
67340ceecc5f
feat: define sections and stretches etd
Thomas Junk <thomas.junk@intevation.de>
parents:
1698
diff
changeset
|
78 faRoad, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
79 faRuler, |
2464
bc0f1771497a
Use better suited icon for gauges in search results.
Sascha Wilde <wilde@intevation.de>
parents:
2461
diff
changeset
|
80 faRulerVertical, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
81 faSearch, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
82 faShip, |
2408
02d30251d594
client: table component for unified style
Markus Kottlaender <markus@intevation.de>
parents:
2387
diff
changeset
|
83 faSort, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
84 faSortAmountDown, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
85 faSortAmountUp, |
2408
02d30251d594
client: table component for unified style
Markus Kottlaender <markus@intevation.de>
parents:
2387
diff
changeset
|
86 faSortDown, |
02d30251d594
client: table component for unified style
Markus Kottlaender <markus@intevation.de>
parents:
2387
diff
changeset
|
87 faSortUp, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
88 faSpinner, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
89 faStar, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
90 faTasks, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
91 faTimes, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
92 faTrash, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
93 faUpload, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
94 faUser, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
95 faUsersCog, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
96 faWater, |
2184
826fc7309370
client: Added refresh button to reload the WFS layer data.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1800
diff
changeset
|
97 faWrench, |
2743
4063adda3095
client: identified box: moved bbox zoom button to feature headers and removed bbox from the feature's properties list
Markus Kottlaender <markus@intevation.de>
parents:
2566
diff
changeset
|
98 faRedo, |
4063adda3095
client: identified box: moved bbox zoom button to feature headers and removed bbox from the feature's properties list
Markus Kottlaender <markus@intevation.de>
parents:
2566
diff
changeset
|
99 faCrosshairs |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
100 } from "@fortawesome/free-solid-svg-icons"; |
2566
83b938bf4da9
client: prepared store and minimized splitscreens for multiple simultaneous diagrams
Markus Kottlaender <markus@intevation.de>
parents:
2541
diff
changeset
|
101 import { |
83b938bf4da9
client: prepared store and minimized splitscreens for multiple simultaneous diagrams
Markus Kottlaender <markus@intevation.de>
parents:
2541
diff
changeset
|
102 faWindowMinimize, |
83b938bf4da9
client: prepared store and minimized splitscreens for multiple simultaneous diagrams
Markus Kottlaender <markus@intevation.de>
parents:
2541
diff
changeset
|
103 faWindowMaximize |
83b938bf4da9
client: prepared store and minimized splitscreens for multiple simultaneous diagrams
Markus Kottlaender <markus@intevation.de>
parents:
2541
diff
changeset
|
104 } from "@fortawesome/free-regular-svg-icons"; |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
105 import { faAdn } from "@fortawesome/free-brands-svg-icons"; |
1097
874d19f32015
added fontawesome5 and implemented one example icon on login screen
Markus Kottlaender <markus@intevation.de>
parents:
1019
diff
changeset
|
106 |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
107 library.add( |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
108 faAdn, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
109 faAngleDown, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
110 faAngleLeft, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
111 faAngleRight, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
112 faAngleUp, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
113 faBars, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
114 faBook, |
1800 | 115 faBullseye, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
116 faChartArea, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
117 faCheck, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
118 faCity, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
119 faClipboardCheck, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
120 faClock, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
121 faCloudUploadAlt, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
122 faCopy, |
2212
733cfc3db48a
started pdf template administration
Markus Kottlaender <markus@intevation.de>
parents:
1800
diff
changeset
|
123 faDownload, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
124 faDrawPolygon, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
125 faExclamationTriangle, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
126 faEye, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
127 faEyeSlash, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
128 faFilePdf, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
129 faFolderPlus, |
2790
563bcd8b7d7b
Page_not_found: implementation of rudimentary 404 page
Thomas Junk <thomas.junk@intevation.de>
parents:
2743
diff
changeset
|
130 faFrownOpen, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
131 faInfo, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
132 faLayerGroup, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
133 faMapMarkedAlt, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
134 faMinus, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
135 faPaperPlane, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
136 faPencilAlt, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
137 faPlay, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
138 faPlus, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
139 faPowerOff, |
1797
67340ceecc5f
feat: define sections and stretches etd
Thomas Junk <thomas.junk@intevation.de>
parents:
1698
diff
changeset
|
140 faRoad, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
141 faRuler, |
2464
bc0f1771497a
Use better suited icon for gauges in search results.
Sascha Wilde <wilde@intevation.de>
parents:
2461
diff
changeset
|
142 faRulerVertical, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
143 faSearch, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
144 faShip, |
2408
02d30251d594
client: table component for unified style
Markus Kottlaender <markus@intevation.de>
parents:
2387
diff
changeset
|
145 faSort, |
02d30251d594
client: table component for unified style
Markus Kottlaender <markus@intevation.de>
parents:
2387
diff
changeset
|
146 faSortDown, |
02d30251d594
client: table component for unified style
Markus Kottlaender <markus@intevation.de>
parents:
2387
diff
changeset
|
147 faSortUp, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
148 faSortAmountDown, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
149 faSortAmountUp, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
150 faSpinner, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
151 faStar, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
152 faTasks, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
153 faTimes, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
154 faTrash, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
155 faUpload, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
156 faUser, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
157 faUsersCog, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
158 faWater, |
2184
826fc7309370
client: Added refresh button to reload the WFS layer data.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1800
diff
changeset
|
159 faWrench, |
2566
83b938bf4da9
client: prepared store and minimized splitscreens for multiple simultaneous diagrams
Markus Kottlaender <markus@intevation.de>
parents:
2541
diff
changeset
|
160 faRedo, |
83b938bf4da9
client: prepared store and minimized splitscreens for multiple simultaneous diagrams
Markus Kottlaender <markus@intevation.de>
parents:
2541
diff
changeset
|
161 faWindowMinimize, |
2743
4063adda3095
client: identified box: moved bbox zoom button to feature headers and removed bbox from the feature's properties list
Markus Kottlaender <markus@intevation.de>
parents:
2566
diff
changeset
|
162 faWindowMaximize, |
4063adda3095
client: identified box: moved bbox zoom button to feature headers and removed bbox from the feature's properties list
Markus Kottlaender <markus@intevation.de>
parents:
2566
diff
changeset
|
163 faCrosshairs |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
164 ); |
1549
b03db5726ca5
importqueue detail view
Thomas Junk <thomas.junk@intevation.de>
parents:
1543
diff
changeset
|
165 |
2385
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
166 // register plugins |
141 | 167 Vue.use(GetTextPlugin, { |
168 translations: translations, | |
159
3d9341f6da4e
feat: Locale of browser determines the default language
Thomas Junk <thomas.junk@intevation.de>
parents:
141
diff
changeset
|
169 availableLanguages: supportedLanguages, |
141 | 170 defaultLanguage: defaultLanguage |
171 }); | |
2385
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
172 Vue.use(Snotify, { toast: { position: SnotifyPosition.centerBottom } }); |
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
173 Vue.use(ToggleButton); |
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
174 Vue.use(VTooltip); |
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
175 Vue.use(VueClipboard); |
141 | 176 |
2385
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
177 // register global components |
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
178 Vue.component("font-awesome-icon", FontAwesomeIcon); |
2408
02d30251d594
client: table component for unified style
Markus Kottlaender <markus@intevation.de>
parents:
2387
diff
changeset
|
179 Vue.component("UIBoxHeader", UIBoxHeader); |
02d30251d594
client: table component for unified style
Markus Kottlaender <markus@intevation.de>
parents:
2387
diff
changeset
|
180 Vue.component("UITableHeader", UITableHeader); |
02d30251d594
client: table component for unified style
Markus Kottlaender <markus@intevation.de>
parents:
2387
diff
changeset
|
181 Vue.component("UITableBody", UITableBody); |
2840
503a73e9a755
client: ui: implemented global SpinnerOverlay component
Markus Kottlaender <markus@intevation.de>
parents:
2790
diff
changeset
|
182 Vue.component("SpinnerOverlay", SpinnerOverlay); |
2385
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
183 |
2541
468c8dc796cf
client: convert lib helper functions to Vue filters
Markus Kottlaender <markus@intevation.de>
parents:
2464
diff
changeset
|
184 // register global filters |
468c8dc796cf
client: convert lib helper functions to Vue filters
Markus Kottlaender <markus@intevation.de>
parents:
2464
diff
changeset
|
185 for (let name in filters) Vue.filter(name, filters[name]); |
468c8dc796cf
client: convert lib helper functions to Vue filters
Markus Kottlaender <markus@intevation.de>
parents:
2464
diff
changeset
|
186 |
2385
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
187 // global vue config |
3 | 188 Vue.config.productionTip = false; |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
189 |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
190 const app = new Vue({ |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
191 router, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
192 store, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
193 render: h => h(App) |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
194 }).$mount("#app"); |
295
22deb76dff2c
feat: Added vue2-toastr
Thomas Junk <thomas.junk@intevation.de>
parents:
159
diff
changeset
|
195 |
22deb76dff2c
feat: Added vue2-toastr
Thomas Junk <thomas.junk@intevation.de>
parents:
159
diff
changeset
|
196 export default app; |