Mercurial > gemma
annotate client/src/components/Pane.vue @ 3253:3a7b6eb162db
client: waterlevel diagram: separated main chart and navigation drawers
author | Markus Kottlaender <markus@intevation.de> |
---|---|
date | Tue, 14 May 2019 13:22:24 +0200 |
parents | b6cc4838d2c0 |
children | fa7dc3f31ef3 |
rev | line source |
---|---|
3072
0233845cadb7
client: improved splitscreen mechanis
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
1 <template> |
3146
b6cc4838d2c0
client: implemented pane mechanic for diagrams
Markus Kottlaender <markus@intevation.de>
parents:
3072
diff
changeset
|
2 <div :id="pane.id" class="pane d-flex position-relative"> |
b6cc4838d2c0
client: implemented pane mechanic for diagrams
Markus Kottlaender <markus@intevation.de>
parents:
3072
diff
changeset
|
3 <component :is="pane.component" :key="pane.id" /> |
3072
0233845cadb7
client: improved splitscreen mechanis
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
4 </div> |
0233845cadb7
client: improved splitscreen mechanis
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
5 </template> |
0233845cadb7
client: improved splitscreen mechanis
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
6 |
0233845cadb7
client: improved splitscreen mechanis
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
7 <script> |
0233845cadb7
client: improved splitscreen mechanis
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
8 /* This is Free Software under GNU Affero General Public License v >= 3.0 |
0233845cadb7
client: improved splitscreen mechanis
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
9 * without warranty, see README.md and license for details. |
0233845cadb7
client: improved splitscreen mechanis
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
10 * |
0233845cadb7
client: improved splitscreen mechanis
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
11 * SPDX-License-Identifier: AGPL-3.0-or-later |
0233845cadb7
client: improved splitscreen mechanis
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
12 * License-Filename: LICENSES/AGPL-3.0.txt |
0233845cadb7
client: improved splitscreen mechanis
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
13 * |
0233845cadb7
client: improved splitscreen mechanis
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
14 * Copyright (C) 2018 by via donau |
0233845cadb7
client: improved splitscreen mechanis
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
15 * – Österreichische Wasserstraßen-Gesellschaft mbH |
0233845cadb7
client: improved splitscreen mechanis
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
16 * Software engineering by Intevation GmbH |
0233845cadb7
client: improved splitscreen mechanis
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
17 * |
0233845cadb7
client: improved splitscreen mechanis
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
18 * Author(s): |
0233845cadb7
client: improved splitscreen mechanis
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
19 * Markus Kottländer <markus.kottlaender@intevation.de> |
0233845cadb7
client: improved splitscreen mechanis
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
20 */ |
0233845cadb7
client: improved splitscreen mechanis
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
21 |
0233845cadb7
client: improved splitscreen mechanis
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
22 export default { |
0233845cadb7
client: improved splitscreen mechanis
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
23 props: ["pane"], |
0233845cadb7
client: improved splitscreen mechanis
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
24 components: { |
0233845cadb7
client: improved splitscreen mechanis
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
25 // all components that are supposed to be displayed in a pane must be registered here |
0233845cadb7
client: improved splitscreen mechanis
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
26 Map: () => import("./map/Map"), |
0233845cadb7
client: improved splitscreen mechanis
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
27 Fairwayprofile: () => import("./fairway/Fairwayprofile"), |
0233845cadb7
client: improved splitscreen mechanis
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
28 AvailableFairwayDepth: () => import("./fairway/AvailableFairwayDepth"), |
0233845cadb7
client: improved splitscreen mechanis
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
29 Waterlevel: () => import("./gauge/Waterlevel"), |
0233845cadb7
client: improved splitscreen mechanis
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
30 HydrologicalConditions: () => import("./gauge/HydrologicalConditions") |
0233845cadb7
client: improved splitscreen mechanis
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
31 } |
0233845cadb7
client: improved splitscreen mechanis
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
32 }; |
0233845cadb7
client: improved splitscreen mechanis
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
33 </script> |