Mercurial > gemma
annotate client/src/main.js @ 3334:8c96b7379aea
client: fairway availability: made store action work with both types of feature objects
author | Markus Kottlaender <markus@intevation.de> |
---|---|
date | Mon, 20 May 2019 17:14:47 +0200 |
parents | 909a19e97db9 |
children | 11379474a1b1 |
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"; |
2385
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
45 |
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
46 // fontawesome5 icons |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
47 import { |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
48 faAngleDown, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
49 faAngleLeft, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
50 faAngleRight, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
51 faAngleUp, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
52 faBars, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
53 faBook, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
54 faChartArea, |
3159
4f4905b57fcf
toolbar: added statistics dialog component
Thomas Junk <thomas.junk@intevation.de>
parents:
3082
diff
changeset
|
55 faChartBar, |
4f4905b57fcf
toolbar: added statistics dialog component
Thomas Junk <thomas.junk@intevation.de>
parents:
3082
diff
changeset
|
56 faChartLine, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
57 faCheck, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
58 faCity, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
59 faClipboardCheck, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
60 faClock, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
61 faCloudUploadAlt, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
62 faCopy, |
2212
733cfc3db48a
started pdf template administration
Markus Kottlaender <markus@intevation.de>
parents:
1800
diff
changeset
|
63 faDownload, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
64 faDrawPolygon, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
65 faExclamationTriangle, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
66 faEye, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
67 faEyeSlash, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
68 faFilePdf, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
69 faFolderPlus, |
2790
563bcd8b7d7b
Page_not_found: implementation of rudimentary 404 page
Thomas Junk <thomas.junk@intevation.de>
parents:
2743
diff
changeset
|
70 faFrownOpen, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
71 faInfo, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
72 faLayerGroup, |
3082
a1ae3b734a9f
client: added link and unlink icons
Markus Kottlaender <markus@intevation.de>
parents:
3014
diff
changeset
|
73 faLink, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
74 faMapMarkedAlt, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
75 faMinus, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
76 faPaperPlane, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
77 faPencilAlt, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
78 faPlay, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
79 faPlus, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
80 faPowerOff, |
1797
67340ceecc5f
feat: define sections and stretches etd
Thomas Junk <thomas.junk@intevation.de>
parents:
1698
diff
changeset
|
81 faRoad, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
82 faRuler, |
2464
bc0f1771497a
Use better suited icon for gauges in search results.
Sascha Wilde <wilde@intevation.de>
parents:
2461
diff
changeset
|
83 faRulerVertical, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
84 faSearch, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
85 faShip, |
2408
02d30251d594
client: table component for unified style
Markus Kottlaender <markus@intevation.de>
parents:
2387
diff
changeset
|
86 faSort, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
87 faSortAmountDown, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
88 faSortAmountUp, |
2408
02d30251d594
client: table component for unified style
Markus Kottlaender <markus@intevation.de>
parents:
2387
diff
changeset
|
89 faSortDown, |
02d30251d594
client: table component for unified style
Markus Kottlaender <markus@intevation.de>
parents:
2387
diff
changeset
|
90 faSortUp, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
91 faSpinner, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
92 faStar, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
93 faTasks, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
94 faTimes, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
95 faTrash, |
3082
a1ae3b734a9f
client: added link and unlink icons
Markus Kottlaender <markus@intevation.de>
parents:
3014
diff
changeset
|
96 faUnlink, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
97 faUpload, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
98 faUser, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
99 faUsersCog, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
100 faWater, |
2184
826fc7309370
client: Added refresh button to reload the WFS layer data.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1800
diff
changeset
|
101 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
|
102 faRedo, |
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
|
103 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
|
104 faCrosshairs |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
105 } 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
|
106 import { |
83b938bf4da9
client: prepared store and minimized splitscreens for multiple simultaneous diagrams
Markus Kottlaender <markus@intevation.de>
parents:
2541
diff
changeset
|
107 faWindowMinimize, |
83b938bf4da9
client: prepared store and minimized splitscreens for multiple simultaneous diagrams
Markus Kottlaender <markus@intevation.de>
parents:
2541
diff
changeset
|
108 faWindowMaximize |
83b938bf4da9
client: prepared store and minimized splitscreens for multiple simultaneous diagrams
Markus Kottlaender <markus@intevation.de>
parents:
2541
diff
changeset
|
109 } from "@fortawesome/free-regular-svg-icons"; |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
110 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
|
111 |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
112 library.add( |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
113 faAdn, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
114 faAngleDown, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
115 faAngleLeft, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
116 faAngleRight, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
117 faAngleUp, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
118 faBars, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
119 faBook, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
120 faChartArea, |
3159
4f4905b57fcf
toolbar: added statistics dialog component
Thomas Junk <thomas.junk@intevation.de>
parents:
3082
diff
changeset
|
121 faChartBar, |
4f4905b57fcf
toolbar: added statistics dialog component
Thomas Junk <thomas.junk@intevation.de>
parents:
3082
diff
changeset
|
122 faChartLine, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
123 faCheck, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
124 faCity, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
125 faClipboardCheck, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
126 faClock, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
127 faCloudUploadAlt, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
128 faCopy, |
2212
733cfc3db48a
started pdf template administration
Markus Kottlaender <markus@intevation.de>
parents:
1800
diff
changeset
|
129 faDownload, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
130 faDrawPolygon, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
131 faExclamationTriangle, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
132 faEye, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
133 faEyeSlash, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
134 faFilePdf, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
135 faFolderPlus, |
2790
563bcd8b7d7b
Page_not_found: implementation of rudimentary 404 page
Thomas Junk <thomas.junk@intevation.de>
parents:
2743
diff
changeset
|
136 faFrownOpen, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
137 faInfo, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
138 faLayerGroup, |
3082
a1ae3b734a9f
client: added link and unlink icons
Markus Kottlaender <markus@intevation.de>
parents:
3014
diff
changeset
|
139 faLink, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
140 faMapMarkedAlt, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
141 faMinus, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
142 faPaperPlane, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
143 faPencilAlt, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
144 faPlay, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
145 faPlus, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
146 faPowerOff, |
1797
67340ceecc5f
feat: define sections and stretches etd
Thomas Junk <thomas.junk@intevation.de>
parents:
1698
diff
changeset
|
147 faRoad, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
148 faRuler, |
2464
bc0f1771497a
Use better suited icon for gauges in search results.
Sascha Wilde <wilde@intevation.de>
parents:
2461
diff
changeset
|
149 faRulerVertical, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
150 faSearch, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
151 faShip, |
2408
02d30251d594
client: table component for unified style
Markus Kottlaender <markus@intevation.de>
parents:
2387
diff
changeset
|
152 faSort, |
02d30251d594
client: table component for unified style
Markus Kottlaender <markus@intevation.de>
parents:
2387
diff
changeset
|
153 faSortDown, |
02d30251d594
client: table component for unified style
Markus Kottlaender <markus@intevation.de>
parents:
2387
diff
changeset
|
154 faSortUp, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
155 faSortAmountDown, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
156 faSortAmountUp, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
157 faSpinner, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
158 faStar, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
159 faTasks, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
160 faTimes, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
161 faTrash, |
3082
a1ae3b734a9f
client: added link and unlink icons
Markus Kottlaender <markus@intevation.de>
parents:
3014
diff
changeset
|
162 faUnlink, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
163 faUpload, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
164 faUser, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
165 faUsersCog, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
166 faWater, |
2184
826fc7309370
client: Added refresh button to reload the WFS layer data.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1800
diff
changeset
|
167 faWrench, |
2566
83b938bf4da9
client: prepared store and minimized splitscreens for multiple simultaneous diagrams
Markus Kottlaender <markus@intevation.de>
parents:
2541
diff
changeset
|
168 faRedo, |
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
|
169 faSync, |
2566
83b938bf4da9
client: prepared store and minimized splitscreens for multiple simultaneous diagrams
Markus Kottlaender <markus@intevation.de>
parents:
2541
diff
changeset
|
170 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
|
171 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
|
172 faCrosshairs |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
173 ); |
2385
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
174 // register plugins |
141 | 175 Vue.use(GetTextPlugin, { |
176 translations: translations, | |
159
3d9341f6da4e
feat: Locale of browser determines the default language
Thomas Junk <thomas.junk@intevation.de>
parents:
141
diff
changeset
|
177 availableLanguages: supportedLanguages, |
3215
3b36bb33f5b0
available_fairway_depth: omit empty lines after split by newline
Thomas Junk <thomas.junk@intevation.de>
parents:
3159
diff
changeset
|
178 defaultLanguage: defaultLanguage, |
3b36bb33f5b0
available_fairway_depth: omit empty lines after split by newline
Thomas Junk <thomas.junk@intevation.de>
parents:
3159
diff
changeset
|
179 silent: process.env.VUE_APP_SILENCE_TRANSLATIONWARNINGS |
141 | 180 }); |
2385
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
181 Vue.use(Snotify, { toast: { position: SnotifyPosition.centerBottom } }); |
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
182 Vue.use(ToggleButton); |
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
183 Vue.use(VTooltip); |
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
184 Vue.use(VueClipboard); |
141 | 185 |
2385
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
186 // register global components |
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
187 Vue.component("font-awesome-icon", FontAwesomeIcon); |
2408
02d30251d594
client: table component for unified style
Markus Kottlaender <markus@intevation.de>
parents:
2387
diff
changeset
|
188 Vue.component("UIBoxHeader", UIBoxHeader); |
02d30251d594
client: table component for unified style
Markus Kottlaender <markus@intevation.de>
parents:
2387
diff
changeset
|
189 Vue.component("UITableHeader", UITableHeader); |
02d30251d594
client: table component for unified style
Markus Kottlaender <markus@intevation.de>
parents:
2387
diff
changeset
|
190 Vue.component("UITableBody", UITableBody); |
2889
ac4732c57b0b
client: renamed SpinnerOverlay component to UISpinnerOverlay
Markus Kottlaender <markus@intevation.de>
parents:
2840
diff
changeset
|
191 Vue.component("UISpinnerOverlay", UISpinnerOverlay); |
2898
d57c951aec65
client: added spinner button component
Markus Kottlaender <markus@intevation.de>
parents:
2889
diff
changeset
|
192 Vue.component("UISpinnerButton", UISpinnerButton); |
2385
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
193 |
2541
468c8dc796cf
client: convert lib helper functions to Vue filters
Markus Kottlaender <markus@intevation.de>
parents:
2464
diff
changeset
|
194 // register global filters |
468c8dc796cf
client: convert lib helper functions to Vue filters
Markus Kottlaender <markus@intevation.de>
parents:
2464
diff
changeset
|
195 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
|
196 |
2385
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
197 // global vue config |
3 | 198 Vue.config.productionTip = false; |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
199 |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
200 const app = new Vue({ |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
201 router, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
202 store, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
203 render: h => h(App) |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
204 }).$mount("#app"); |
295
22deb76dff2c
feat: Added vue2-toastr
Thomas Junk <thomas.junk@intevation.de>
parents:
159
diff
changeset
|
205 |
22deb76dff2c
feat: Added vue2-toastr
Thomas Junk <thomas.junk@intevation.de>
parents:
159
diff
changeset
|
206 export default app; |