ember-ebau-gwr 8.0.1 → 8.0.2
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/CHANGELOG.md +7 -0
- package/addon/components/link-building-modal.js +1 -3
- package/addon/controllers/building/edit/form.js +1 -0
- package/addon/models/address.js +1 -1
- package/addon/templates/building/edit/entrance/edit/index.hbs +3 -8
- package/addon/templates/building/edit/form.hbs +8 -6
- package/package.json +1 -1
- package/translations/building/it.yaml +3 -3
- package/translations/it.yaml +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [8.0.2](https://github.com/inosca/ember-ebau-gwr/compare/v8.0.1...v8.0.2) (2024-10-28)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **entrance:** ensure street is set for building creation ([b2e175a](https://github.com/inosca/ember-ebau-gwr/commit/b2e175ac624c18c9954e839d642fd506047d0abc))
|
|
7
|
+
|
|
1
8
|
## [8.0.1](https://github.com/inosca/ember-ebau-gwr/compare/v8.0.0...v8.0.1) (2024-08-27)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -3,9 +3,7 @@ import Component from "@glimmer/component";
|
|
|
3
3
|
import { tracked } from "@glimmer/tracking";
|
|
4
4
|
import BuildingWork from "ember-ebau-gwr/models/building-work";
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
// existing buildings as "Neubau".
|
|
8
|
-
const KIND_OF_WORK_OPTIONS = BuildingWork.kindOfWorkOptions.slice(1);
|
|
6
|
+
const KIND_OF_WORK_OPTIONS = BuildingWork.kindOfWorkOptions;
|
|
9
7
|
|
|
10
8
|
export default class LinkBuildingModalComponent extends Component {
|
|
11
9
|
@service config;
|
|
@@ -114,6 +114,7 @@ export default class BuildingFormController extends ImportController {
|
|
|
114
114
|
"building.buildingEntrance.locality.swissZipCodeAddOn",
|
|
115
115
|
streetList.locality.swissZipCodeAddOn,
|
|
116
116
|
);
|
|
117
|
+
changeset.set("building.buildingEntrance.street", streetList);
|
|
117
118
|
}
|
|
118
119
|
|
|
119
120
|
@dropTask
|
package/addon/models/address.js
CHANGED
|
@@ -27,13 +27,13 @@
|
|
|
27
27
|
{{/unless}}
|
|
28
28
|
<Field
|
|
29
29
|
@attr="locality.name.nameLong"
|
|
30
|
-
@disabled={{
|
|
30
|
+
@disabled={{true}}
|
|
31
31
|
@required={{true}}
|
|
32
32
|
/>
|
|
33
33
|
<Field
|
|
34
34
|
@attr="locality.swissZipCode"
|
|
35
35
|
@type="number"
|
|
36
|
-
@disabled={{
|
|
36
|
+
@disabled={{true}}
|
|
37
37
|
@required={{true}}
|
|
38
38
|
/>
|
|
39
39
|
{{#if this.buildingEntrance.isNew}}
|
|
@@ -47,11 +47,6 @@
|
|
|
47
47
|
)
|
|
48
48
|
}}
|
|
49
49
|
@on-update={{fn this.syncLocalityWithSelectedStreet changeset}}
|
|
50
|
-
@disabled={{not
|
|
51
|
-
(changeset-get
|
|
52
|
-
changeset "locality.swissZipCode"
|
|
53
|
-
)
|
|
54
|
-
}}
|
|
55
50
|
@required={{true}}
|
|
56
51
|
/>
|
|
57
52
|
{{else}}
|
|
@@ -112,4 +107,4 @@
|
|
|
112
107
|
{{/unless}}
|
|
113
108
|
</ModelForm>
|
|
114
109
|
{{/if}}
|
|
115
|
-
</div>
|
|
110
|
+
</div>
|
|
@@ -149,11 +149,18 @@
|
|
|
149
149
|
<small class="uk-margin-bottom">
|
|
150
150
|
{{t "ember-gwr.building.buildingEntrance.info"}}
|
|
151
151
|
</small>
|
|
152
|
+
<Field
|
|
153
|
+
@attr="building.buildingEntrance.locality.name.nameLong"
|
|
154
|
+
@required={{true}}
|
|
155
|
+
@label="ember-gwr.buildingEntrance.fields.locality.name.nameLong"
|
|
156
|
+
@disabled={{true}}
|
|
157
|
+
/>
|
|
152
158
|
<Field
|
|
153
159
|
@attr="building.buildingEntrance.locality.swissZipCode"
|
|
154
160
|
@type="number"
|
|
155
161
|
@label="ember-gwr.buildingEntrance.fields.locality.swissZipCode"
|
|
156
162
|
@required={{true}}
|
|
163
|
+
@disabled={{true}}
|
|
157
164
|
/>
|
|
158
165
|
<Field
|
|
159
166
|
@attr="building.buildingEntrance.locality.street"
|
|
@@ -165,11 +172,6 @@
|
|
|
165
172
|
)
|
|
166
173
|
}}
|
|
167
174
|
@on-update={{fn this.syncLocalityWithStreet changeset}}
|
|
168
|
-
@disabled={{not
|
|
169
|
-
(changeset-get
|
|
170
|
-
changeset "building.buildingEntrance.locality.swissZipCode"
|
|
171
|
-
)
|
|
172
|
-
}}
|
|
173
175
|
@required={{true}}
|
|
174
176
|
/>
|
|
175
177
|
<Field
|
|
@@ -472,4 +474,4 @@
|
|
|
472
474
|
<Field @attr="building.buildingFreeText2" />
|
|
473
475
|
</ModelForm>
|
|
474
476
|
{{/if}}
|
|
475
|
-
</div>
|
|
477
|
+
</div>
|
package/package.json
CHANGED
|
@@ -159,9 +159,9 @@ ember-gwr:
|
|
|
159
159
|
number: Numero del fondo (numero della particella)
|
|
160
160
|
subDistrict: Numero del circondario del registro fondiario
|
|
161
161
|
|
|
162
|
-
surfaceAreaOfBuilding: Superficie dell'edificio (
|
|
162
|
+
surfaceAreaOfBuilding: Superficie dell'edificio (m²)
|
|
163
163
|
volume:
|
|
164
|
-
volume: Volume dell'edificio (
|
|
164
|
+
volume: Volume dell'edificio (m³)
|
|
165
165
|
norm: Norma
|
|
166
166
|
normPlaceholder: Seleziona una norma...
|
|
167
167
|
normOptions:
|
|
@@ -184,7 +184,7 @@ ember-gwr:
|
|
|
184
184
|
numberOfFloors: Numero di piani
|
|
185
185
|
numberOfSeparateHabitableRooms: Numero di locali abitabili indipendenti
|
|
186
186
|
civilDefenseShelter: Rifugio di protezione civile
|
|
187
|
-
energyRelevantSurface: Superficie di riferimento energetico (
|
|
187
|
+
energyRelevantSurface: Superficie di riferimento energetico (m²)
|
|
188
188
|
|
|
189
189
|
heating:
|
|
190
190
|
heatGeneratorHotWater: Generatore di calore
|
package/translations/it.yaml
CHANGED
|
@@ -55,8 +55,8 @@ ember-gwr:
|
|
|
55
55
|
searchProject: Cerca ed elabora progetti di costruzione
|
|
56
56
|
searchBuilding: Cerca ed elabora edifici
|
|
57
57
|
quarterlyClosure: "Chiusura trimestrale {quarter}"
|
|
58
|
-
backToGlobal:
|
|
59
|
-
backToSearch:
|
|
58
|
+
backToGlobal: Torna alla panoramica
|
|
59
|
+
backToSearch: Torna alla ricerca
|
|
60
60
|
|
|
61
61
|
nav:
|
|
62
62
|
projectDetails: Dettagli del progetto
|