Mercurial > gemma
annotate client/src/main.js @ 5650:cb3c4ba0f052 DQR adjustments
Merged default branch
author | Sascha Wilde <wilde@sha-bang.de> |
---|---|
date | Thu, 29 Jun 2023 13:18:54 +0200 |
parents | 84d01a536bec |
children |
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"; |
2985
1b8bb4f89227
client: removed .js and .vue extention from imports
Markus Kottlaender <markus@intevation.de>
parents:
2898
diff
changeset
|
31 import { supportedLanguages, defaultLanguage } from "./locale/languages"; |
1b8bb4f89227
client: removed .js and .vue extention from imports
Markus Kottlaender <markus@intevation.de>
parents:
2898
diff
changeset
|
32 import App from "@/components/App"; |
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"; |
2889
ac4732c57b0b
client: renamed SpinnerOverlay component to UISpinnerOverlay
Markus Kottlaender <markus@intevation.de>
parents:
2840
diff
changeset
|
36 import UISpinnerOverlay from "@/components/ui/UISpinnerOverlay"; |
2898
d57c951aec65
client: added spinner button component
Markus Kottlaender <markus@intevation.de>
parents:
2889
diff
changeset
|
37 import UISpinnerButton from "@/components/ui/UISpinnerButton"; |
2385
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
38 |
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
39 // styles |
159
3d9341f6da4e
feat: Locale of browser determines the default language
Thomas Junk <thomas.junk@intevation.de>
parents:
141
diff
changeset
|
40 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
|
41 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
|
42 import "../node_modules/ol/ol.css"; |
713
badbc0207418
feat: systeminformation feature added
Thomas Junk <thomas.junk@intevation.de>
parents:
565
diff
changeset
|
43 import "../node_modules/highlight.js/styles/paraiso-dark.css"; |
2461
b60efa7d4cee
client: adjusted notification style
Markus Kottlaender <markus@intevation.de>
parents:
2408
diff
changeset
|
44 import "../node_modules/vue-snotify/styles/simple.css"; |
5629
84d01a536bec
Transformed scss and sass styles into css
Luisa Beerboom <lbeerboom@intevation.de>
parents:
5510
diff
changeset
|
45 import "./assets/application.css"; |
2385
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
46 |
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
47 // fontawesome5 icons |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
48 import { |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
49 faAngleDown, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
50 faAngleLeft, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
51 faAngleRight, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
52 faAngleUp, |
3416
b65c2530c680
client: import review: added button to go back to latest date
Markus Kottlaender <markus@intevation.de>
parents:
3391
diff
changeset
|
53 faAngleDoubleRight, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
54 faBars, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
55 faBook, |
4265
2596a028dc3a
Feature_info: display partial legend information for bottlenecks
Thomas Junk <thomas.junk@intevation.de>
parents:
3856
diff
changeset
|
56 faCaretUp, |
4349
4ed2708234b9
identify: improve legend. Add numbers
Thomas Junk <thomas.junk@intevation.de>
parents:
4265
diff
changeset
|
57 faCaretDown, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
58 faChartArea, |
3159
4f4905b57fcf
toolbar: added statistics dialog component
Thomas Junk <thomas.junk@intevation.de>
parents:
3082
diff
changeset
|
59 faChartBar, |
4f4905b57fcf
toolbar: added statistics dialog component
Thomas Junk <thomas.junk@intevation.de>
parents:
3082
diff
changeset
|
60 faChartLine, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
61 faCheck, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
62 faCity, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
63 faClipboardCheck, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
64 faClock, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
65 faCloudUploadAlt, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
66 faCopy, |
2212
733cfc3db48a
started pdf template administration
Markus Kottlaender <markus@intevation.de>
parents:
1800
diff
changeset
|
67 faDownload, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
68 faDrawPolygon, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
69 faExclamationTriangle, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
70 faEye, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
71 faEyeSlash, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
72 faFilePdf, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
73 faFolderPlus, |
2790
563bcd8b7d7b
Page_not_found: implementation of rudimentary 404 page
Thomas Junk <thomas.junk@intevation.de>
parents:
2743
diff
changeset
|
74 faFrownOpen, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
75 faInfo, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
76 faLayerGroup, |
3082
a1ae3b734a9f
client: added link and unlink icons
Markus Kottlaender <markus@intevation.de>
parents:
3014
diff
changeset
|
77 faLink, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
78 faMapMarkedAlt, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
79 faMinus, |
3391
11379474a1b1
Added preliminary icon for sections in search.
Sascha Wilde <wilde@intevation.de>
parents:
3260
diff
changeset
|
80 faObjectGroup, |
3763
a1bb7c894058
client: configuration: morphology classbreaks: added color selection
Markus Kottlaender <markus@intevation.de>
parents:
3416
diff
changeset
|
81 faPaintBrush, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
82 faPaperPlane, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
83 faPencilAlt, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
84 faPlay, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
85 faPlus, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
86 faPowerOff, |
1797
67340ceecc5f
feat: define sections and stretches etd
Thomas Junk <thomas.junk@intevation.de>
parents:
1698
diff
changeset
|
87 faRoad, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
88 faRuler, |
2464
bc0f1771497a
Use better suited icon for gauges in search results.
Sascha Wilde <wilde@intevation.de>
parents:
2461
diff
changeset
|
89 faRulerVertical, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
90 faSearch, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
91 faShip, |
2408
02d30251d594
client: table component for unified style
Markus Kottlaender <markus@intevation.de>
parents:
2387
diff
changeset
|
92 faSort, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
93 faSortAmountDown, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
94 faSortAmountUp, |
2408
02d30251d594
client: table component for unified style
Markus Kottlaender <markus@intevation.de>
parents:
2387
diff
changeset
|
95 faSortDown, |
02d30251d594
client: table component for unified style
Markus Kottlaender <markus@intevation.de>
parents:
2387
diff
changeset
|
96 faSortUp, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
97 faSpinner, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
98 faStar, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
99 faTasks, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
100 faTimes, |
3856
0b8b62fd8cea
client: configuration: added tint icon to classbreak color selection
Markus Kottlaender <markus@intevation.de>
parents:
3763
diff
changeset
|
101 faTint, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
102 faTrash, |
3082
a1ae3b734a9f
client: added link and unlink icons
Markus Kottlaender <markus@intevation.de>
parents:
3014
diff
changeset
|
103 faUnlink, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
104 faUpload, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
105 faUser, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
106 faUsersCog, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
107 faWater, |
2184
826fc7309370
client: Added refresh button to reload the WFS layer data.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1800
diff
changeset
|
108 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
|
109 faRedo, |
5510
b7792e8d5c62
Client: Improve users-table layout
Fadi Abbud <fadi.abbud@intevation.de>
parents:
4349
diff
changeset
|
110 faUndo, |
3014
5a3ac4d3dbbb
client: replaced refresh icon in import overview and zoom controls with a more appropriate one
Markus Kottlaender <markus@intevation.de>
parents:
2985
diff
changeset
|
111 faSync, |
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
|
112 faCrosshairs |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
113 } 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
|
114 import { |
83b938bf4da9
client: prepared store and minimized splitscreens for multiple simultaneous diagrams
Markus Kottlaender <markus@intevation.de>
parents:
2541
diff
changeset
|
115 faWindowMinimize, |
83b938bf4da9
client: prepared store and minimized splitscreens for multiple simultaneous diagrams
Markus Kottlaender <markus@intevation.de>
parents:
2541
diff
changeset
|
116 faWindowMaximize |
83b938bf4da9
client: prepared store and minimized splitscreens for multiple simultaneous diagrams
Markus Kottlaender <markus@intevation.de>
parents:
2541
diff
changeset
|
117 } from "@fortawesome/free-regular-svg-icons"; |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
118 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
|
119 |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
120 library.add( |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
121 faAdn, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
122 faAngleDown, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
123 faAngleLeft, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
124 faAngleRight, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
125 faAngleUp, |
3416
b65c2530c680
client: import review: added button to go back to latest date
Markus Kottlaender <markus@intevation.de>
parents:
3391
diff
changeset
|
126 faAngleDoubleRight, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
127 faBars, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
128 faBook, |
4265
2596a028dc3a
Feature_info: display partial legend information for bottlenecks
Thomas Junk <thomas.junk@intevation.de>
parents:
3856
diff
changeset
|
129 faCaretUp, |
4349
4ed2708234b9
identify: improve legend. Add numbers
Thomas Junk <thomas.junk@intevation.de>
parents:
4265
diff
changeset
|
130 faCaretDown, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
131 faChartArea, |
3159
4f4905b57fcf
toolbar: added statistics dialog component
Thomas Junk <thomas.junk@intevation.de>
parents:
3082
diff
changeset
|
132 faChartBar, |
4f4905b57fcf
toolbar: added statistics dialog component
Thomas Junk <thomas.junk@intevation.de>
parents:
3082
diff
changeset
|
133 faChartLine, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
134 faCheck, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
135 faCity, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
136 faClipboardCheck, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
137 faClock, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
138 faCloudUploadAlt, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
139 faCopy, |
2212
733cfc3db48a
started pdf template administration
Markus Kottlaender <markus@intevation.de>
parents:
1800
diff
changeset
|
140 faDownload, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
141 faDrawPolygon, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
142 faExclamationTriangle, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
143 faEye, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
144 faEyeSlash, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
145 faFilePdf, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
146 faFolderPlus, |
2790
563bcd8b7d7b
Page_not_found: implementation of rudimentary 404 page
Thomas Junk <thomas.junk@intevation.de>
parents:
2743
diff
changeset
|
147 faFrownOpen, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
148 faInfo, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
149 faLayerGroup, |
3082
a1ae3b734a9f
client: added link and unlink icons
Markus Kottlaender <markus@intevation.de>
parents:
3014
diff
changeset
|
150 faLink, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
151 faMapMarkedAlt, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
152 faMinus, |
3391
11379474a1b1
Added preliminary icon for sections in search.
Sascha Wilde <wilde@intevation.de>
parents:
3260
diff
changeset
|
153 faObjectGroup, |
3763
a1bb7c894058
client: configuration: morphology classbreaks: added color selection
Markus Kottlaender <markus@intevation.de>
parents:
3416
diff
changeset
|
154 faPaintBrush, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
155 faPaperPlane, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
156 faPencilAlt, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
157 faPlay, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
158 faPlus, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
159 faPowerOff, |
1797
67340ceecc5f
feat: define sections and stretches etd
Thomas Junk <thomas.junk@intevation.de>
parents:
1698
diff
changeset
|
160 faRoad, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
161 faRuler, |
2464
bc0f1771497a
Use better suited icon for gauges in search results.
Sascha Wilde <wilde@intevation.de>
parents:
2461
diff
changeset
|
162 faRulerVertical, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
163 faSearch, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
164 faShip, |
2408
02d30251d594
client: table component for unified style
Markus Kottlaender <markus@intevation.de>
parents:
2387
diff
changeset
|
165 faSort, |
02d30251d594
client: table component for unified style
Markus Kottlaender <markus@intevation.de>
parents:
2387
diff
changeset
|
166 faSortDown, |
02d30251d594
client: table component for unified style
Markus Kottlaender <markus@intevation.de>
parents:
2387
diff
changeset
|
167 faSortUp, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
168 faSortAmountDown, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
169 faSortAmountUp, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
170 faSpinner, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
171 faStar, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
172 faTasks, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
173 faTimes, |
3856
0b8b62fd8cea
client: configuration: added tint icon to classbreak color selection
Markus Kottlaender <markus@intevation.de>
parents:
3763
diff
changeset
|
174 faTint, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
175 faTrash, |
3082
a1ae3b734a9f
client: added link and unlink icons
Markus Kottlaender <markus@intevation.de>
parents:
3014
diff
changeset
|
176 faUnlink, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
177 faUpload, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
178 faUser, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
179 faUsersCog, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
180 faWater, |
2184
826fc7309370
client: Added refresh button to reload the WFS layer data.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1800
diff
changeset
|
181 faWrench, |
2566
83b938bf4da9
client: prepared store and minimized splitscreens for multiple simultaneous diagrams
Markus Kottlaender <markus@intevation.de>
parents:
2541
diff
changeset
|
182 faRedo, |
5510
b7792e8d5c62
Client: Improve users-table layout
Fadi Abbud <fadi.abbud@intevation.de>
parents:
4349
diff
changeset
|
183 faUndo, |
3014
5a3ac4d3dbbb
client: replaced refresh icon in import overview and zoom controls with a more appropriate one
Markus Kottlaender <markus@intevation.de>
parents:
2985
diff
changeset
|
184 faSync, |
2566
83b938bf4da9
client: prepared store and minimized splitscreens for multiple simultaneous diagrams
Markus Kottlaender <markus@intevation.de>
parents:
2541
diff
changeset
|
185 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
|
186 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
|
187 faCrosshairs |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
188 ); |
2385
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
189 // register plugins |
141 | 190 Vue.use(GetTextPlugin, { |
191 translations: translations, | |
159
3d9341f6da4e
feat: Locale of browser determines the default language
Thomas Junk <thomas.junk@intevation.de>
parents:
141
diff
changeset
|
192 availableLanguages: supportedLanguages, |
3215
3b36bb33f5b0
available_fairway_depth: omit empty lines after split by newline
Thomas Junk <thomas.junk@intevation.de>
parents:
3159
diff
changeset
|
193 defaultLanguage: defaultLanguage, |
3b36bb33f5b0
available_fairway_depth: omit empty lines after split by newline
Thomas Junk <thomas.junk@intevation.de>
parents:
3159
diff
changeset
|
194 silent: process.env.VUE_APP_SILENCE_TRANSLATIONWARNINGS |
141 | 195 }); |
2385
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
196 Vue.use(Snotify, { toast: { position: SnotifyPosition.centerBottom } }); |
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
197 Vue.use(ToggleButton); |
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
198 Vue.use(VTooltip); |
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
199 Vue.use(VueClipboard); |
141 | 200 |
2385
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
201 // register global components |
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
202 Vue.component("font-awesome-icon", FontAwesomeIcon); |
2408
02d30251d594
client: table component for unified style
Markus Kottlaender <markus@intevation.de>
parents:
2387
diff
changeset
|
203 Vue.component("UIBoxHeader", UIBoxHeader); |
02d30251d594
client: table component for unified style
Markus Kottlaender <markus@intevation.de>
parents:
2387
diff
changeset
|
204 Vue.component("UITableHeader", UITableHeader); |
02d30251d594
client: table component for unified style
Markus Kottlaender <markus@intevation.de>
parents:
2387
diff
changeset
|
205 Vue.component("UITableBody", UITableBody); |
2889
ac4732c57b0b
client: renamed SpinnerOverlay component to UISpinnerOverlay
Markus Kottlaender <markus@intevation.de>
parents:
2840
diff
changeset
|
206 Vue.component("UISpinnerOverlay", UISpinnerOverlay); |
2898
d57c951aec65
client: added spinner button component
Markus Kottlaender <markus@intevation.de>
parents:
2889
diff
changeset
|
207 Vue.component("UISpinnerButton", UISpinnerButton); |
2385
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
208 |
2541
468c8dc796cf
client: convert lib helper functions to Vue filters
Markus Kottlaender <markus@intevation.de>
parents:
2464
diff
changeset
|
209 // register global filters |
468c8dc796cf
client: convert lib helper functions to Vue filters
Markus Kottlaender <markus@intevation.de>
parents:
2464
diff
changeset
|
210 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
|
211 |
2385
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
212 // global vue config |
3 | 213 Vue.config.productionTip = false; |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
214 |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
215 const app = new Vue({ |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
216 router, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
217 store, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
218 render: h => h(App) |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
219 }).$mount("#app"); |
295
22deb76dff2c
feat: Added vue2-toastr
Thomas Junk <thomas.junk@intevation.de>
parents:
159
diff
changeset
|
220 |
22deb76dff2c
feat: Added vue2-toastr
Thomas Junk <thomas.junk@intevation.de>
parents:
159
diff
changeset
|
221 export default app; |