ember-ebau-gwr 2.7.1 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/release.yml +2 -0
- package/CHANGELOG.md +95 -0
- package/addon/components/back-route.hbs +10 -0
- package/addon/components/import-modal/building-data.hbs +64 -0
- package/addon/components/import-modal/dwelling-data.hbs +30 -0
- package/addon/components/import-modal/entrance-data.hbs +14 -0
- package/addon/components/import-modal.hbs +54 -0
- package/addon/components/import-modal.js +6 -0
- package/addon/components/link-building-modal.hbs +1 -1
- package/addon/components/link-building-modal.js +2 -0
- package/addon/components/link-street.hbs +105 -0
- package/addon/components/link-street.js +24 -0
- package/addon/components/linked-models.hbs +12 -6
- package/addon/components/linked-models.js +6 -0
- package/addon/components/linked-projects.hbs +1 -1
- package/addon/components/linked-projects.js +6 -0
- package/addon/components/model-errors/error-indicator.hbs +3 -1
- package/addon/components/model-errors/header.hbs +4 -2
- package/addon/components/model-errors.hbs +1 -0
- package/addon/components/model-form/date.hbs +1 -0
- package/addon/components/model-form/date.js +6 -6
- package/addon/components/model-form/diff.hbs +40 -27
- package/addon/components/model-form/field.hbs +13 -8
- package/addon/components/model-form/field.js +36 -9
- package/addon/components/model-form/header/actions.hbs +70 -36
- package/addon/components/model-form/header/actions.js +6 -0
- package/addon/components/model-form/header/status-selector/submit-parameters.hbs +1 -1
- package/addon/components/model-form/header/status-selector.hbs +1 -1
- package/addon/components/model-form/header.hbs +4 -2
- package/addon/components/model-form/submit-errors.hbs +41 -23
- package/addon/components/model-form.hbs +6 -5
- package/addon/components/model-form.js +25 -5
- package/addon/components/model-inview.hbs +8 -0
- package/addon/components/model-inview.js +12 -0
- package/addon/components/project-form/date.hbs +1 -1
- package/addon/components/project-form/field.hbs +1 -1
- package/addon/components/project-form/field.js +5 -1
- package/addon/components/search/filters.hbs +0 -5
- package/addon/components/search/filters.js +1 -3
- package/addon/components/sub-nav.hbs +5 -10
- package/addon/controllers/building/edit/dwelling/edit.js +27 -32
- package/addon/controllers/building/edit/dwellings.js +1 -1
- package/addon/controllers/building/edit/entrance/edit/index.js +26 -13
- package/addon/controllers/building/edit/entrance/edit/link-street.js +45 -20
- package/addon/controllers/building/edit/entrances.js +18 -2
- package/addon/controllers/building/edit/form.js +29 -44
- package/addon/controllers/import.js +70 -0
- package/addon/controllers/project/errors.js +25 -29
- package/addon/controllers/project/form.js +35 -48
- package/addon/controllers/project.js +2 -1
- package/addon/helpers/housing-stat-link.js +13 -0
- package/addon/helpers/is-unset.js +7 -0
- package/addon/helpers/show-model-field.js +13 -0
- package/addon/models/address.js +39 -9
- package/addon/models/building-entrance.js +17 -7
- package/addon/models/building.js +74 -75
- package/addon/models/client.js +1 -1
- package/addon/models/construction-project.js +18 -16
- package/addon/models/date-partially-known.js +1 -1
- package/addon/models/dwelling.js +28 -1
- package/addon/models/heating.js +1 -1
- package/addon/models/identification.js +2 -1
- package/addon/models/options.js +251 -1
- package/addon/models/organisation-identification.js +6 -3
- package/addon/models/realestate-identification.js +0 -6
- package/addon/models/street.js +2 -0
- package/addon/models/xml-model.js +18 -7
- package/addon/models.js +2 -1
- package/addon/routes/building/edit/entrance/edit/index.js +0 -2
- package/addon/routes/building/edit/entrance/edit/link-street.js +10 -1
- package/addon/routes/building/edit/entrance/new.js +9 -16
- package/addon/routes/building/edit/index.js +8 -1
- package/addon/routes/building/new.js +10 -1
- package/addon/routes/project/form.js +5 -0
- package/addon/routes/project/new.js +3 -2
- package/addon/services/building-entrance.js +13 -9
- package/addon/services/building.js +195 -193
- package/addon/services/construction-project.js +140 -152
- package/addon/services/gwr.js +47 -2
- package/addon/services/street.js +10 -0
- package/addon/templates/building/edit/dwelling/edit.hbs +29 -6
- package/addon/templates/building/edit/dwellings.hbs +7 -4
- package/addon/templates/building/edit/entrance/edit/index.hbs +49 -84
- package/addon/templates/building/edit/entrance/edit/link-street.hbs +41 -12
- package/addon/templates/building/edit/entrances.hbs +6 -3
- package/addon/templates/building/edit/form.hbs +75 -21
- package/addon/templates/project/errors.hbs +121 -132
- package/addon/templates/project/form.hbs +126 -97
- package/addon/templates/project/linked-buildings.hbs +13 -20
- package/addon/templates/project.hbs +29 -19
- package/addon/templates/search-building.hbs +6 -0
- package/addon/templates/search-project.hbs +6 -0
- package/addon/utils.js +8 -0
- package/addon/validations/building-entrance.js +6 -4
- package/addon/validations/building-work.js +131 -11
- package/addon/validations/construction-project.js +154 -6
- package/addon/validations/coordinates.js +2 -2
- package/addon/validations/dwelling.js +61 -6
- package/addon/validations/realestate-identification.js +9 -9
- package/addon/validations/status/status-project-change.js +1 -1
- package/addon/validations/status/status-project-correction.js +1 -1
- package/addon/validators/range-state.js +27 -0
- package/addon/xml/helpers.js +4 -0
- package/addon/xml/templates/building-entrance.js +0 -14
- package/addon/xml/templates/building.js +0 -6
- package/addon/xml/templates/construction-project.js +2 -9
- package/addon/xml/templates/street.js +1 -7
- package/app/styles/ember-ebau-gwr.scss +32 -5
- package/config/environment.js +3 -0
- package/package.json +2 -2
- package/translations/building/de.yaml +13 -8
- package/translations/building-entrance/de.yaml +4 -10
- package/translations/construction-project/de.yaml +270 -15
- package/translations/de.yaml +46 -13
- package/translations/dwelling/de.yaml +14 -0
- package/translations/locality/de.yaml +2 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import {
|
|
2
|
+
validateNumber,
|
|
3
|
+
validateInclusion,
|
|
4
|
+
} from "ember-changeset-validations/validators";
|
|
5
|
+
|
|
6
|
+
export default function validateRangeState({ range, on, states } = {}) {
|
|
7
|
+
return (key, newValue, oldValue, changes, content) => {
|
|
8
|
+
const inclusionValidator = validateInclusion({ list: states });
|
|
9
|
+
const isIncluded = inclusionValidator(
|
|
10
|
+
on,
|
|
11
|
+
changes[on] ?? content[on],
|
|
12
|
+
content[on],
|
|
13
|
+
changes,
|
|
14
|
+
content
|
|
15
|
+
);
|
|
16
|
+
if (isIncluded !== true) {
|
|
17
|
+
return true;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
const numberValidator = validateNumber({
|
|
21
|
+
gte: range[0],
|
|
22
|
+
lte: range[1],
|
|
23
|
+
allowString: true,
|
|
24
|
+
});
|
|
25
|
+
return numberValidator(key, newValue, oldValue, changes, content);
|
|
26
|
+
};
|
|
27
|
+
}
|
package/addon/xml/helpers.js
CHANGED
|
@@ -19,6 +19,10 @@ export function eq(a, b) {
|
|
|
19
19
|
return a === b;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
+
export function notEq(a, b) {
|
|
23
|
+
return a !== b;
|
|
24
|
+
}
|
|
25
|
+
|
|
22
26
|
export function and(...args) {
|
|
23
27
|
// The last element in args is the helper definition passed by handlebars
|
|
24
28
|
// So we dont want to compare this.
|
|
@@ -29,17 +29,3 @@ export const deactivateBuildingEntrance =
|
|
|
29
29
|
</ns2:reason>
|
|
30
30
|
</ns2:deactivateBuildingEntrance>
|
|
31
31
|
{{/base}}`;
|
|
32
|
-
|
|
33
|
-
//prettier-ignore
|
|
34
|
-
export const setStreet =
|
|
35
|
-
`{{#>base}}
|
|
36
|
-
<ns2:modifyBuildingEntrance>
|
|
37
|
-
<ns2:buildingEntrance>
|
|
38
|
-
<ns2:EGAID>{{model.EGAID}}</ns2:EGAID>
|
|
39
|
-
{{> Street model=model.street}}
|
|
40
|
-
</ns2:buildingEntrance>
|
|
41
|
-
<ns2:reason>
|
|
42
|
-
{{reason}}
|
|
43
|
-
</ns2:reason>
|
|
44
|
-
</ns2:modifyBuildingEntrance>
|
|
45
|
-
{{/base}}`;
|
|
@@ -38,15 +38,9 @@ export const getBuilding =
|
|
|
38
38
|
<EGRID>{{model.realestateIdentification.EGRID}}</EGRID>
|
|
39
39
|
{{/if}}
|
|
40
40
|
{{{modelField model.realestateIdentification "number" namespace=""}}}
|
|
41
|
-
{{#if model.realestateIdentification.numberSuffix}}
|
|
42
|
-
<numberSuffix>{{model.realestateIdentification.numberSuffix}}</numberSuffix>
|
|
43
|
-
{{/if}}
|
|
44
41
|
{{#if model.realestateIdentification.subDistrict}}
|
|
45
42
|
<subDistrict>{{model.realestateIdentification.subDistrict}}</subDistrict>
|
|
46
43
|
{{/if}}
|
|
47
|
-
{{#if model.realestateIdentification.lot}}
|
|
48
|
-
<lot>{{model.realestateIdentification.lot}}</lot>
|
|
49
|
-
{{/if}}
|
|
50
44
|
</ns2:realestateIdentification>
|
|
51
45
|
{{/if}}
|
|
52
46
|
{{#if model.hasError}}
|
|
@@ -48,8 +48,7 @@ export const setToWithdrawnConstructionProject =
|
|
|
48
48
|
export const setToCancelledConstructionProject =
|
|
49
49
|
`{{#>base}}
|
|
50
50
|
<ns2:setToCancelledConstruction>
|
|
51
|
-
{{
|
|
52
|
-
<ns2:cancellationDate>{{echDate model.nonRealisationDate}}</ns2:cancellationDate>
|
|
51
|
+
<ns2:cancellationDate>{{echDate model.cancellationDate}}</ns2:cancellationDate>
|
|
53
52
|
</ns2:setToCancelledConstruction>
|
|
54
53
|
{{/base}}`;
|
|
55
54
|
|
|
@@ -82,7 +81,7 @@ export const setToCompletedConstructionProject =
|
|
|
82
81
|
<ns2:typeOfPermit>{{model.typeOfPermit}}</ns2:typeOfPermit>
|
|
83
82
|
<ns2:typeOfClient>{{model.typeOfClient}}</ns2:typeOfClient>
|
|
84
83
|
{{! this is accepted by the api but in the response the field is missing. Is this intended?}}
|
|
85
|
-
{{> Client model=model.client}}
|
|
84
|
+
{{> Client model=model.client typeOfClient=model.typeOfClient}}
|
|
86
85
|
<ns2:typeOfConstructionProject>{{model.typeOfConstructionProject}}</ns2:typeOfConstructionProject>
|
|
87
86
|
<ns2:typeOfConstruction>{{model.typeOfConstruction}}</ns2:typeOfConstruction>
|
|
88
87
|
<ns2:totalCostsOfProject>{{model.totalCostsOfProject}}</ns2:totalCostsOfProject>
|
|
@@ -110,15 +109,9 @@ export const getConstructionProject =
|
|
|
110
109
|
<EGRID>{{model.realestateIdentification.EGRID}}</EGRID>
|
|
111
110
|
{{/if}}
|
|
112
111
|
<number>{{model.realestateIdentification.number}}</number>
|
|
113
|
-
{{#if model.realestateIdentification.numberSuffix}}
|
|
114
|
-
<numberSuffix>{{model.realestateIdentification.numberSuffix}}</numberSuffix>
|
|
115
|
-
{{/if}}
|
|
116
112
|
{{#if model.realestateIdentification.subDistrict}}
|
|
117
113
|
<subDistrict>{{model.realestateIdentification.subDistrict}}</subDistrict>
|
|
118
114
|
{{/if}}
|
|
119
|
-
{{#if model.realestateIdentification.lot}}
|
|
120
|
-
<lot>{{model.realestateIdentification.lot}}</lot>
|
|
121
|
-
{{/if}}
|
|
122
115
|
</ns2:realestateIdentification>
|
|
123
116
|
{{/if}}
|
|
124
117
|
{{#if model.projectStatus}}
|
|
@@ -8,12 +8,6 @@ export const getStreet =
|
|
|
8
8
|
<ns2:descriptionLong>{{model.description.descriptionLong}}</ns2:descriptionLong>
|
|
9
9
|
</ns2:description>
|
|
10
10
|
{{/if}}
|
|
11
|
-
{{
|
|
12
|
-
<ns2:locality>
|
|
13
|
-
<ns2:name>
|
|
14
|
-
<ns2:nameLong>{{model.locality.name.nameLong}}</ns2:nameLong>
|
|
15
|
-
</ns2:name>
|
|
16
|
-
</ns2:locality>
|
|
17
|
-
{{/if}}
|
|
11
|
+
{{> Locality model=model.locality}}
|
|
18
12
|
</ns2:getStreet>
|
|
19
13
|
{{/base}}`;
|
|
@@ -18,10 +18,6 @@ $ember-ebau-gwr-required-color: $alert-danger-color !default;
|
|
|
18
18
|
min-height: $spinner-size;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
.uk-highlight-hover:hover {
|
|
22
|
-
@extend .uk-text-muted;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
21
|
.ember-ebau-gwr-label-width {
|
|
26
22
|
width: 120px;
|
|
27
23
|
|
|
@@ -30,6 +26,14 @@ $ember-ebau-gwr-required-color: $alert-danger-color !default;
|
|
|
30
26
|
}
|
|
31
27
|
}
|
|
32
28
|
|
|
29
|
+
.ember-ebau-gwr-model-id-width-large {
|
|
30
|
+
width: 90px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.ember-ebau-gwr-model-id-width-small {
|
|
34
|
+
width: 30px;
|
|
35
|
+
}
|
|
36
|
+
|
|
33
37
|
.ember-ebau-gwr-label-height {
|
|
34
38
|
height: 24.5px;
|
|
35
39
|
}
|
|
@@ -82,7 +86,7 @@ $ember-ebau-gwr-required-color: $alert-danger-color !default;
|
|
|
82
86
|
}
|
|
83
87
|
}
|
|
84
88
|
|
|
85
|
-
.projects-header {
|
|
89
|
+
.ember-ebau-gwr-projects-header {
|
|
86
90
|
@extend .uk-box-shadow-small, .uk-margin-large, .uk-background-muted;
|
|
87
91
|
border: 1px solid #e5e5e5;
|
|
88
92
|
|
|
@@ -91,6 +95,29 @@ $ember-ebau-gwr-required-color: $alert-danger-color !default;
|
|
|
91
95
|
}
|
|
92
96
|
}
|
|
93
97
|
|
|
98
|
+
.ember-ebau-gwr-import-building-list {
|
|
99
|
+
li:not(.uk-open) {
|
|
100
|
+
@extend .uk-padding-small, .uk-padding-remove-vertical;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
li.uk-open {
|
|
104
|
+
@extend .uk-box-shadow-small, .uk-padding-small;
|
|
105
|
+
|
|
106
|
+
hr {
|
|
107
|
+
margin: 10px 0;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
// UIkit adjustments
|
|
94
113
|
.uk-button-link {
|
|
95
114
|
text-transform: unset;
|
|
96
115
|
}
|
|
116
|
+
|
|
117
|
+
.uk-button.disabled {
|
|
118
|
+
@extend .uk-button-default;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.uk-highlight-hover:hover {
|
|
122
|
+
@extend .uk-text-muted;
|
|
123
|
+
}
|
package/config/environment.js
CHANGED
|
@@ -5,6 +5,9 @@ module.exports = function (environment) {
|
|
|
5
5
|
modulePrefix: "ember-ebau-gwr",
|
|
6
6
|
environment,
|
|
7
7
|
|
|
8
|
+
housingStatLinkTest: "https://www-r.housing-stat.ch",
|
|
9
|
+
housingStatLinkProd: "https://www.housing-stat.ch",
|
|
10
|
+
|
|
8
11
|
"ember-validated-form": {
|
|
9
12
|
theme: "uikit",
|
|
10
13
|
defaults: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ember-ebau-gwr",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"description": "Ember engine to integrate ebau-gwr into an ember app.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"ember-power-select": "^4.1.6",
|
|
45
45
|
"ember-truth-helpers": "^3.0.0",
|
|
46
46
|
"ember-uikit": "^3.0.2",
|
|
47
|
-
"ember-validated-form": "^
|
|
47
|
+
"ember-validated-form": "^4.1.0",
|
|
48
48
|
"handlebars": "^4.7.6",
|
|
49
49
|
"yarn.lock": "^0.0.1-security"
|
|
50
50
|
},
|
|
@@ -19,6 +19,7 @@ ember-gwr:
|
|
|
19
19
|
otherWorks: Andere Arbeiten
|
|
20
20
|
|
|
21
21
|
building:
|
|
22
|
+
building: Gebäude
|
|
22
23
|
title: Gebäude {id} - {status}
|
|
23
24
|
createNewBuilding: Neues Gebäude erfassen
|
|
24
25
|
|
|
@@ -29,6 +30,8 @@ ember-gwr:
|
|
|
29
30
|
entrances:
|
|
30
31
|
error: Beim Laden der Eingänge ist ein Fehler aufgetreten.
|
|
31
32
|
removeLinkError: Beim Entfernen der Verknüpfung ist ein Fehler aufgetreten.
|
|
33
|
+
attachedDwellingsError: Alle verknüpften Wohnungen müssen deaktiviert werden bevor der Eingang entfernt werden kann.
|
|
34
|
+
removeLinkSuccess: "Ihre Anfrage wurde vom BfS erfasst. Das Support-Team wird Ihre Anfrage bearbeiten und Sie, falls nötig kontaktieren. Telefon: 0800 866 600 E-mail: housing-stat@bfs.admin.ch"
|
|
32
35
|
dwellings:
|
|
33
36
|
entrance: Eingang {number}
|
|
34
37
|
rooms: "{number} Zimmer"
|
|
@@ -91,7 +94,7 @@ ember-gwr:
|
|
|
91
94
|
buildingCategory: Gebäudekategorie
|
|
92
95
|
buildingCategoryPlaceholder: Wählen Sie eine Gebäudekategorie aus...
|
|
93
96
|
buildingCategoryOptions:
|
|
94
|
-
1010: Provisorische
|
|
97
|
+
1010: Provisorische Unterkunft
|
|
95
98
|
1020: Reine Wohngebäude (Wohnnutzung ausschliesslich)
|
|
96
99
|
1030: Wohngebäude mit Nebennutzung
|
|
97
100
|
1040: Gebäude mit teilweiser Wohnnutzung
|
|
@@ -153,14 +156,12 @@ ember-gwr:
|
|
|
153
156
|
|
|
154
157
|
realestateIdentification:
|
|
155
158
|
EGRID: EGRID
|
|
156
|
-
number: Parzellennummer
|
|
157
|
-
numberSuffix: Suffix der Parzellennummer
|
|
159
|
+
number: Grundstücksnummer (Parzellennummer)
|
|
158
160
|
subDistrict: Grundbuchkreisnummer
|
|
159
|
-
lot: Los
|
|
160
161
|
|
|
161
162
|
surfaceAreaOfBuilding: Gebäudefläche (m2)
|
|
162
163
|
volume:
|
|
163
|
-
volume: Gebäudevolumen
|
|
164
|
+
volume: Gebäudevolumen (m3)
|
|
164
165
|
norm: Norm
|
|
165
166
|
normPlaceholder: Wählen Sie eine Norm aus...
|
|
166
167
|
normOptions:
|
|
@@ -183,7 +184,7 @@ ember-gwr:
|
|
|
183
184
|
numberOfFloors: Anzahl Geschosse
|
|
184
185
|
numberOfSeparateHabitableRooms: Anzahl separate Wohnräume
|
|
185
186
|
civilDefenseShelter: Zivilschutzraum
|
|
186
|
-
energyRelevantSurface: Energiebezugsfläche
|
|
187
|
+
energyRelevantSurface: Energiebezugsfläche (m2)
|
|
187
188
|
|
|
188
189
|
heating:
|
|
189
190
|
heatGeneratorHotWater: Wärmeerzeuger
|
|
@@ -223,8 +224,8 @@ ember-gwr:
|
|
|
223
224
|
7460: Wärmetauscher (einschliesslich für Fernwärme) für ein Gebäude
|
|
224
225
|
7461: Wärmetauscher (einschliesslich für Fernwärme) für mehrere Gebäude
|
|
225
226
|
7499: Andere
|
|
226
|
-
energySourceHeating:
|
|
227
|
-
energySourceHeatingPlaceholder: Wählen Sie einen
|
|
227
|
+
energySourceHeating: Energie-/Wärmequelle
|
|
228
|
+
energySourceHeatingPlaceholder: Wählen Sie einen Energie-/Wärmequelle...
|
|
228
229
|
energySourceHeatingOptions:
|
|
229
230
|
7500: Keine
|
|
230
231
|
7501: Luft
|
|
@@ -276,3 +277,7 @@ ember-gwr:
|
|
|
276
277
|
name:
|
|
277
278
|
nameLong: Ortsname
|
|
278
279
|
|
|
280
|
+
buildingEntrance:
|
|
281
|
+
mainEntrance: Haupteingang
|
|
282
|
+
info: Nach der Erstellung des Gebäudes können weitere Eingänge hinzugefügt werden und die Strassen der Eingänge bearbeitet werden.
|
|
283
|
+
localityError: Beim Speichern der Ortschaft des Haupteingangs ist ein Fehler aufgetreten. Bitte überprüfen Sie Ihre Angaben.
|
|
@@ -8,17 +8,10 @@ ember-gwr:
|
|
|
8
8
|
saveError: Beim Speichern des Eingangs ist ein Fehler aufgetreten.
|
|
9
9
|
saveSuccess: Eingang erfolgreich gespeichert.
|
|
10
10
|
loadingError: Beim Laden des Eingangs ist ein Fehler aufgetreten.
|
|
11
|
+
localityError: Beim Speichern der Ortschaft ist ein Fehler aufgetreten. Bitte überprüfen Sie Ihre Angaben.
|
|
11
12
|
street: Strasse
|
|
12
|
-
streetHint: Um einen Eingang zu erfassen müssen Sie zuerst eine Strasse verknüpfen.
|
|
13
13
|
coordinates: Koordinaten
|
|
14
|
-
|
|
15
|
-
linkStreet:
|
|
16
|
-
change: Strasse ändern
|
|
17
|
-
link: Strasse verknüpfen
|
|
18
|
-
heading: Strasse verknüpfen
|
|
19
|
-
search: Strasse suchen
|
|
20
|
-
linkSuccess: Strasse erfolgreich verknüpft.
|
|
21
|
-
linkError: Bei der Verknüpfung der Strasse ist ein Fehler aufgetreten.
|
|
14
|
+
missingStreetInfo: Bitte verknüpfen Sie zuerst eine Strasse.
|
|
22
15
|
|
|
23
16
|
fields:
|
|
24
17
|
EDID: EDID
|
|
@@ -44,7 +37,7 @@ ember-gwr:
|
|
|
44
37
|
isOfficialDescription: Strassenbezeichnung offiziell
|
|
45
38
|
officialStreetNumber: Amtliche Strassennummer
|
|
46
39
|
streetKind: Art der Strasse
|
|
47
|
-
streetKindPlaceholder: Wählen Sie
|
|
40
|
+
streetKindPlaceholder: Wählen Sie eine Art aus...
|
|
48
41
|
streetKindOptions:
|
|
49
42
|
9801: Strasse (Linienobjekt)
|
|
50
43
|
9802: Platz (Punktobjekt)
|
|
@@ -55,6 +48,7 @@ ember-gwr:
|
|
|
55
48
|
description:
|
|
56
49
|
descriptionLong: Strassenname
|
|
57
50
|
locality:
|
|
51
|
+
locality: Ortschaft
|
|
58
52
|
swissZipCode: PLZ
|
|
59
53
|
swissZipCodeAddOn: Postleitzahl-Zusatzziffer
|
|
60
54
|
name:
|
|
@@ -2,15 +2,16 @@ ember-gwr:
|
|
|
2
2
|
constructionProject:
|
|
3
3
|
saveError: Beim Speichern des Bauprojektes ist ein Fehler aufgetreten.
|
|
4
4
|
saveSuccess: Bauprojekt erfolgreich gespeichert.
|
|
5
|
+
missingBuildingError: Bitte verknüpfen Sie zuerst ein Gebäude.
|
|
5
6
|
|
|
6
7
|
sections:
|
|
7
8
|
freeTextFields: Freitext Felder
|
|
8
9
|
|
|
9
10
|
fields:
|
|
10
11
|
EPROID: EPROID
|
|
11
|
-
officialConstructionProjectFileNo: Baudossiernummer
|
|
12
|
-
extensionOfOfficialConstructionProjectFileNo: Baudossiernr. Zusatz
|
|
13
|
-
constructionProjectDescription: Umschreibung
|
|
12
|
+
officialConstructionProjectFileNo: Amtliche Baudossiernummer
|
|
13
|
+
extensionOfOfficialConstructionProjectFileNo: Amtliche Baudossiernr. Zusatz
|
|
14
|
+
constructionProjectDescription: Umschreibung Bauprojekt
|
|
14
15
|
constructionSurveyDeptNumber: Erhebungsstellennummer
|
|
15
16
|
totalCostsOfProject: Projektkosten total
|
|
16
17
|
projectAnnouncementDate: Datum Baueingabe
|
|
@@ -21,8 +22,8 @@ ember-gwr:
|
|
|
21
22
|
projectCompletionDate: Datum Bauende
|
|
22
23
|
projectSuspensionDate: Datum Sistierung
|
|
23
24
|
constructionAuthorisationDeniedDate: Datum Ablehnung
|
|
24
|
-
|
|
25
|
-
withdrawalDate: Datum
|
|
25
|
+
cancellationDate: Datum Nichtrealisierung
|
|
26
|
+
withdrawalDate: Datum Rückzug des Baugesuchs
|
|
26
27
|
projectFreeText1: Freitext Project 1
|
|
27
28
|
projectFreeText2: Freitext Project 2
|
|
28
29
|
|
|
@@ -31,10 +32,8 @@ ember-gwr:
|
|
|
31
32
|
|
|
32
33
|
realestateIdentification:
|
|
33
34
|
EGRID: EGRID
|
|
34
|
-
number: Parzellennummer
|
|
35
|
-
numberSuffix: Suffix der Parzellennummer
|
|
35
|
+
number: Grundstücksnummer (Parzellennummer)
|
|
36
36
|
subDistrict: Grundbuchkreisnummer
|
|
37
|
-
lot: Los
|
|
38
37
|
|
|
39
38
|
client:
|
|
40
39
|
identification:
|
|
@@ -50,12 +49,263 @@ ember-gwr:
|
|
|
50
49
|
address:
|
|
51
50
|
street: Strasse
|
|
52
51
|
houseNumber: Nummer
|
|
53
|
-
swissZipCode:
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
52
|
+
swissZipCode: Postleitzahl
|
|
53
|
+
swissZipCodeAddOn: Postleitzahl-Zusatzziffer
|
|
54
|
+
foreignZipCode: Postleitzahl im Ausland
|
|
55
|
+
addressLine2: Adresszusatz
|
|
56
|
+
country:
|
|
57
|
+
countryNameShort: Land
|
|
58
|
+
countryNameShortOptions:
|
|
59
|
+
cy: Zypern
|
|
60
|
+
cf: Zentralafrikanische Republik
|
|
61
|
+
eh: Westsahara
|
|
62
|
+
cx: Weihnachtsinsel
|
|
63
|
+
wf: Wallis und Futuna
|
|
64
|
+
vn: Vietnam
|
|
65
|
+
gb: Vereinigtes Königreich
|
|
66
|
+
us: Vereinigte Staaten von Amerika
|
|
67
|
+
ae: Vereinigte Arabische Emirate
|
|
68
|
+
ve: Venezuela
|
|
69
|
+
va: Vatikanstadt
|
|
70
|
+
vu: Vanuatu
|
|
71
|
+
uz: Usbekistan
|
|
72
|
+
uy: Uruguay
|
|
73
|
+
hu: Ungarn
|
|
74
|
+
ua: Ukraine
|
|
75
|
+
ug: Uganda
|
|
76
|
+
tv: Tuvalu
|
|
77
|
+
tc: Turks und Caicosinseln
|
|
78
|
+
tm: Turkmenistan
|
|
79
|
+
tr: Türkei
|
|
80
|
+
tn: Tunesien
|
|
81
|
+
cz: Tschechien
|
|
82
|
+
td: Tschad
|
|
83
|
+
tt: Trinidad und Tobago
|
|
84
|
+
to: Tonga
|
|
85
|
+
tk: Tokelau
|
|
86
|
+
tg: Togo
|
|
87
|
+
th: Thailand
|
|
88
|
+
tz: Tansania
|
|
89
|
+
tw: Taiwan
|
|
90
|
+
tj: Tadschikistan
|
|
91
|
+
sy: Syrien
|
|
92
|
+
sj: Svalbard und Jan Mayen
|
|
93
|
+
sr: Suriname
|
|
94
|
+
ss: Südsudan
|
|
95
|
+
kr: Südkorea
|
|
96
|
+
gs: Südgeorgien und die Südlichen Sandwichinseln
|
|
97
|
+
sd: Sudan
|
|
98
|
+
za: Südafrika
|
|
99
|
+
vc: St. Vincent und die Grenadinen
|
|
100
|
+
pm: St. Pierre und Miquelon
|
|
101
|
+
lc: St. Lucia
|
|
102
|
+
kn: St. Kitts und Nevis
|
|
103
|
+
sh: St. Helena, Ascension und Tristan da Cunha
|
|
104
|
+
lk: Sri Lanka
|
|
105
|
+
es: Spanien
|
|
106
|
+
so: Somalia
|
|
107
|
+
si: Slowenien
|
|
108
|
+
sk: Slowakei
|
|
109
|
+
sx: Sint Maarten
|
|
110
|
+
sg: Singapur
|
|
111
|
+
zw: Simbabwe
|
|
112
|
+
sl: Sierra Leone
|
|
113
|
+
sc: Seychellen
|
|
114
|
+
rs: Serbien
|
|
115
|
+
sn: Senegal
|
|
116
|
+
ch: Schweiz
|
|
117
|
+
se: Schweden
|
|
118
|
+
sa: Saudi-Arabien
|
|
119
|
+
st: São Tomé und Príncipe
|
|
120
|
+
bl: Sankt Bartholomäus
|
|
121
|
+
sm: San Marino
|
|
122
|
+
ws: Samoa
|
|
123
|
+
zm: Sambia
|
|
124
|
+
sb: Salomonen
|
|
125
|
+
mf: Saint Martin
|
|
126
|
+
ru: Russland
|
|
127
|
+
ro: Rumänien
|
|
128
|
+
rw: Ruanda
|
|
129
|
+
re: Réunion
|
|
130
|
+
cg: Republik Kongo
|
|
131
|
+
pr: Puerto Rico
|
|
132
|
+
pt: Portugal
|
|
133
|
+
pl: Polen
|
|
134
|
+
pn: Pitcairninseln
|
|
135
|
+
ph: Philippinen
|
|
136
|
+
pe: Peru
|
|
137
|
+
py: Paraguay
|
|
138
|
+
pg: Papua-Neuguinea
|
|
139
|
+
pa: Panama
|
|
140
|
+
pw: Palau
|
|
141
|
+
ps: Palästina
|
|
142
|
+
pk: Pakistan
|
|
143
|
+
tl: Osttimor
|
|
144
|
+
at: Österreich
|
|
145
|
+
om: Oman
|
|
146
|
+
no: Norwegen
|
|
147
|
+
nf: Norfolkinsel
|
|
148
|
+
mk: Nordmazedonien
|
|
149
|
+
mp: Nördliche Marianen
|
|
150
|
+
kp: Nordkorea
|
|
151
|
+
nu: Niue
|
|
152
|
+
ng: Nigeria
|
|
153
|
+
ne: Niger
|
|
154
|
+
nl: Niederlande
|
|
155
|
+
ni: Nicaragua
|
|
156
|
+
nz: Neuseeland
|
|
157
|
+
nc: Neukaledonien
|
|
158
|
+
np: Nepal
|
|
159
|
+
nr: Nauru
|
|
160
|
+
na: Namibia
|
|
161
|
+
mm: Myanmar
|
|
162
|
+
mz: Mosambik
|
|
163
|
+
ms: Montserrat
|
|
164
|
+
me: Montenegro
|
|
165
|
+
mn: Mongolei
|
|
166
|
+
mc: Monaco
|
|
167
|
+
md: Moldawien
|
|
168
|
+
fm: Mikronesien
|
|
169
|
+
mx: Mexiko
|
|
170
|
+
yt: Mayotte
|
|
171
|
+
mu: Mauritius
|
|
172
|
+
mr: Mauretanien
|
|
173
|
+
mq: Martinique
|
|
174
|
+
mh: Marshallinseln
|
|
175
|
+
ma: Marokko
|
|
176
|
+
mt: Malta
|
|
177
|
+
ml: Mali
|
|
178
|
+
mv: Malediven
|
|
179
|
+
my: Malaysia
|
|
180
|
+
mw: Malawi
|
|
181
|
+
mg: Madagaskar
|
|
182
|
+
mo: Macau
|
|
183
|
+
lu: Luxemburg
|
|
184
|
+
lt: Litauen
|
|
185
|
+
li: Liechtenstein
|
|
186
|
+
ly: Libyen
|
|
187
|
+
lr: Liberia
|
|
188
|
+
lb: Libanon
|
|
189
|
+
lv: Lettland
|
|
190
|
+
ls: Lesotho
|
|
191
|
+
la: Laos
|
|
192
|
+
kw: Kuwait
|
|
193
|
+
cu: Kuba
|
|
194
|
+
hr: Kroatien
|
|
195
|
+
xk: Kosovo
|
|
196
|
+
km: Komoren
|
|
197
|
+
co: Kolumbien
|
|
198
|
+
cc: Kokosinseln
|
|
199
|
+
ki: Kiribati
|
|
200
|
+
kg: Kirgisistan
|
|
201
|
+
ke: Kenia
|
|
202
|
+
qa: Katar
|
|
203
|
+
kz: Kasachstan
|
|
204
|
+
cv: Kap Verde
|
|
205
|
+
ca: Kanada
|
|
206
|
+
cm: Kamerun
|
|
207
|
+
kh: Kambodscha
|
|
208
|
+
ky: Kaimaninseln
|
|
209
|
+
vi: Jungferninseln (US)
|
|
210
|
+
vg: Jungferninseln (UK)
|
|
211
|
+
jo: Jordanien
|
|
212
|
+
je: Jersey
|
|
213
|
+
ye: Jemen
|
|
214
|
+
jp: Japan
|
|
215
|
+
jm: Jamaika
|
|
216
|
+
it: Italien
|
|
217
|
+
il: Israel
|
|
218
|
+
is: Island
|
|
219
|
+
ie: Irland
|
|
220
|
+
ir: Iran
|
|
221
|
+
iq: Irak
|
|
222
|
+
im: Insel Man
|
|
223
|
+
id: Indonesien
|
|
224
|
+
in: Indien
|
|
225
|
+
hk: Hongkong
|
|
226
|
+
hn: Honduras
|
|
227
|
+
hm: Heard und McDonaldinseln
|
|
228
|
+
ht: Haiti
|
|
229
|
+
gy: Guyana
|
|
230
|
+
gw: Guinea-Bissau
|
|
231
|
+
gn: Guinea
|
|
232
|
+
gg: Guernsey
|
|
233
|
+
gt: Guatemala
|
|
234
|
+
gu: Guam
|
|
235
|
+
gp: Guadeloupe
|
|
236
|
+
gl: Grönland
|
|
237
|
+
gr: Griechenland
|
|
238
|
+
gd: Grenada
|
|
239
|
+
gi: Gibraltar
|
|
240
|
+
gh: Ghana
|
|
241
|
+
ge: Georgien
|
|
242
|
+
gm: Gambia
|
|
243
|
+
ga: Gabun
|
|
244
|
+
tf: Französische Süd- und Antarktisgebiete
|
|
245
|
+
pf: Französisch-Polynesien
|
|
246
|
+
gf: Französisch-Guayana
|
|
247
|
+
fr: Frankreich
|
|
248
|
+
fi: Finnland
|
|
249
|
+
fj: Fidschi
|
|
250
|
+
fo: Färöer-Inseln
|
|
251
|
+
fk: Falklandinseln
|
|
252
|
+
sz: Eswatini
|
|
253
|
+
ee: Estland
|
|
254
|
+
er: Eritrea
|
|
255
|
+
ci: Elfenbeinküste
|
|
256
|
+
sv: El Salvador
|
|
257
|
+
ec: Ecuador
|
|
258
|
+
dj: Dschibuti
|
|
259
|
+
do: Dominikanische Republik
|
|
260
|
+
dm: Dominica
|
|
261
|
+
de: Deutschland
|
|
262
|
+
cd: Demokratische Republik Kongo
|
|
263
|
+
dk: Dänemark
|
|
264
|
+
cw: Curaçao
|
|
265
|
+
cr: Costa Rica
|
|
266
|
+
ck: Cookinseln
|
|
267
|
+
cn: China
|
|
268
|
+
cl: Chile
|
|
269
|
+
bi: Burundi
|
|
270
|
+
bf: Burkina Faso
|
|
271
|
+
bg: Bulgarien
|
|
272
|
+
bn: Brunei
|
|
273
|
+
io: Britisches Territorium im Indischen Ozean
|
|
274
|
+
br: Brasilien
|
|
275
|
+
bv: Bouvetinsel
|
|
276
|
+
bw: Botswana
|
|
277
|
+
ba: Bosnien und Herzegowina
|
|
278
|
+
bq: Bonaire, Sint Eustatius und Saba
|
|
279
|
+
bo: Bolivien
|
|
280
|
+
bt: Bhutan
|
|
281
|
+
bm: Bermuda
|
|
282
|
+
bj: Benin
|
|
283
|
+
bz: Belize
|
|
284
|
+
be: Belgien
|
|
285
|
+
by: Belarus
|
|
286
|
+
bb: Barbados
|
|
287
|
+
bd: Bangladesch
|
|
288
|
+
bh: Bahrain
|
|
289
|
+
bs: Bahamas
|
|
290
|
+
au: Australien
|
|
291
|
+
et: Äthiopien
|
|
292
|
+
az: Aserbaidschan
|
|
293
|
+
aw: Aruba
|
|
294
|
+
am: Armenien
|
|
295
|
+
ar: Argentinien
|
|
296
|
+
gq: Äquatorialguinea
|
|
297
|
+
ag: Antigua und Barbuda
|
|
298
|
+
aq: Antarktis
|
|
299
|
+
ai: Anguilla
|
|
300
|
+
ao: Angola
|
|
301
|
+
ad: Andorra
|
|
302
|
+
as: Amerikanisch Samoa
|
|
303
|
+
dz: Algerien
|
|
304
|
+
al: Albanien
|
|
305
|
+
ax: Ålandinseln
|
|
306
|
+
eg: Ägypten
|
|
307
|
+
af: Afghanistan
|
|
308
|
+
countryNameShortPlaceholder: Wählen Sie ein Land...
|
|
59
309
|
|
|
60
310
|
typeOfConstructionProject: Bauprojekttyp
|
|
61
311
|
typeOfConstructionProjectPlaceholder: Wählen Sie einen Bauprojekttyp...
|
|
@@ -101,7 +351,7 @@ ember-gwr:
|
|
|
101
351
|
6272: Einfamilienhäuser angebaut
|
|
102
352
|
6273: Mehrfamilienhäuser (reine Wohngebäude)
|
|
103
353
|
6274: Wohngebäude mit Nebennutzung (inkl. Bauernhäuser)
|
|
104
|
-
6276: Wohnheime ohne Pflegedienste und/oder
|
|
354
|
+
6276: Wohnheime ohne Pflegedienste und/oder Betreuung
|
|
105
355
|
6278: Garagen, Parkplätze, Einstellhallen im Zusammenhang mit Wohngebäuden
|
|
106
356
|
6279: Übrige Bauten im Zusammenhang mit Wohngebäuden
|
|
107
357
|
6281: Landwirtschaftsbauten
|
|
@@ -147,6 +397,11 @@ ember-gwr:
|
|
|
147
397
|
|
|
148
398
|
typeOfClient: Typ der Auftraggeber
|
|
149
399
|
typeOfClientPlaceholder: Wählen Sie den Typ des Auftraggeber...
|
|
400
|
+
typeOfClientAlert: |-
|
|
401
|
+
Für den Typ der Auftraggeber "Privatpersonen, inkl. Erbengemeinschaften" dürfen
|
|
402
|
+
die Felder "Name des Unternehmens" und "Name des Unternehmens Zusatz"
|
|
403
|
+
nicht ausgefüllt werden. Für andere Auftraggeber (Organisationen) dürfen
|
|
404
|
+
die Felder "Name" und "Vorname" nicht ausgefüllt werden.
|
|
150
405
|
typeOfClientOptions:
|
|
151
406
|
6101: SBB (Schweizerische Bundesbahnen)
|
|
152
407
|
6103: VBS (Eidg. Departement für Verteidigung, Bevölkerungsschutz und Sport)
|