ember-ebau-gwr 3.4.0 → 4.0.3
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 +35 -0
- package/README.md +12 -31
- package/addon/components/import-modal.hbs +1 -1
- package/addon/components/link-building-modal.hbs +3 -3
- package/addon/components/link-street.hbs +1 -1
- package/addon/components/link-street.js +1 -1
- package/addon/components/login-modal.hbs +3 -1
- package/addon/components/logout.hbs +1 -1
- package/addon/components/logout.js +1 -1
- package/addon/components/model-errors/header.hbs +1 -1
- package/addon/components/model-form/date.hbs +28 -14
- package/addon/components/model-form/date.js +30 -7
- package/addon/components/model-form/diff.hbs +3 -3
- package/addon/components/model-form/field.hbs +4 -4
- package/addon/components/model-form/header/status-selector/submit-parameters.hbs +5 -3
- package/addon/components/model-form/header/status-selector.hbs +5 -8
- package/addon/components/model-form/header/status-selector.js +5 -3
- package/addon/components/model-form/header/status.hbs +1 -0
- package/addon/components/model-form/header.hbs +1 -0
- package/addon/components/model-form/submit.hbs +1 -0
- package/addon/components/model-form.hbs +3 -3
- package/addon/components/model-form.js +1 -1
- package/addon/components/model-inview.js +1 -1
- package/addon/components/project-form/diff.hbs +2 -0
- package/addon/components/search/result-table/row/field.hbs +1 -1
- package/addon/components/sub-nav.hbs +1 -3
- package/addon/controllers/building/edit/dwelling/edit.js +2 -2
- package/addon/controllers/building/edit/dwellings.js +1 -1
- package/addon/controllers/building/edit/entrance/edit/index.js +2 -2
- package/addon/controllers/building/edit/entrance/edit/link-street.js +3 -2
- package/addon/controllers/building/edit/entrances.js +1 -1
- package/addon/controllers/building/edit/form.js +3 -2
- package/addon/controllers/import.js +1 -1
- package/addon/controllers/project/errors.js +1 -5
- package/addon/controllers/project/form.js +2 -2
- package/addon/controllers/project/linked-buildings.js +1 -1
- package/addon/controllers/project.js +5 -5
- package/addon/controllers/search-building.js +3 -2
- package/addon/controllers/search-project.js +5 -3
- package/addon/engine.js +0 -1
- package/addon/helpers/build-url.js +10 -0
- package/addon/models/construction-project.js +5 -10
- package/addon/models/options.js +10 -120
- package/addon/modifiers/pikaday.js +2 -0
- package/addon/routes/building/edit/dwelling/new.js +1 -1
- package/addon/routes/building/edit/entrance/edit/link-street.js +3 -2
- package/addon/routes/building/edit/entrance/new.js +1 -1
- package/addon/routes/project/errors.js +1 -1
- package/addon/routes/project/form.js +1 -1
- package/addon/routes/project/new.js +6 -3
- package/addon/routes/project.js +1 -1
- package/addon/services/auth-fetch.js +1 -1
- package/addon/services/construction-project.js +5 -4
- package/addon/templates/building/edit/dwelling/edit.hbs +13 -13
- package/addon/templates/building/edit/dwellings.hbs +1 -1
- package/addon/templates/building/edit/entrance/edit/index.hbs +6 -6
- package/addon/templates/building/edit/entrances.hbs +2 -2
- package/addon/templates/building/edit/form.hbs +13 -13
- package/addon/templates/project/errors.hbs +3 -3
- package/addon/templates/project/form.hbs +21 -21
- package/addon/templates/project/linked-buildings.hbs +1 -1
- package/addon/templates/project.hbs +8 -16
- package/addon/xml/helpers.js +3 -3
- package/app/helpers/build-url.js +1 -0
- package/package.json +74 -65
- package/translations/building/fr.yaml +8 -8
- package/translations/building-entrance/de.yaml +0 -1
- package/translations/building-entrance/fr.yaml +2 -3
- package/translations/construction-project/de.yaml +235 -234
- package/translations/construction-project/fr.yaml +245 -244
- package/translations/de.yaml +9 -5
- package/translations/dwelling/de.yaml +4 -5
- package/translations/dwelling/fr.yaml +1 -2
- package/translations/fr.yaml +27 -23
- package/.dependabot/config.yml +0 -15
- package/.github/workflows/release.yml +0 -22
- package/.github/workflows/test.yml +0 -74
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{{#if (or this.fetchProject.isRunning)}}
|
|
2
2
|
<div class="uk-flex uk-flex-center uk-flex-middle uk-margin-large-top">
|
|
3
|
-
<UkSpinner @ratio=
|
|
3
|
+
<UkSpinner @ratio={{3}} />
|
|
4
4
|
</div>
|
|
5
5
|
{{else}}
|
|
6
6
|
<div uk-alert>
|
|
7
|
-
<a href="" class="uk-alert-close" uk-close></a>
|
|
7
|
+
<a href="" class="uk-alert-close" uk-close><span hidden>{{t "ebau-gwr.close"}}</span></a>
|
|
8
8
|
<div class="uk-flex-inline uk-flex-middle">
|
|
9
9
|
<div uk-icon="info"></div>
|
|
10
10
|
<div class="uk-margin-small-left">
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
>
|
|
34
34
|
<ul class="uk-list uk-list-divider uk-list-large">
|
|
35
35
|
{{#each this.workBuildings as |building|}}
|
|
36
|
-
<ModelInview
|
|
36
|
+
<ModelInview
|
|
37
37
|
@model={{building.EGID}}
|
|
38
38
|
@fetchModel={{perform this.fetchModel}}
|
|
39
39
|
as |inview|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<div>
|
|
2
2
|
{{#if this.fetchProject.isRunning}}
|
|
3
3
|
<div class="uk-flex uk-flex-center uk-flex-middle uk-margin-large-top">
|
|
4
|
-
<UkSpinner @ratio=
|
|
4
|
+
<UkSpinner @ratio={{3}} />
|
|
5
5
|
</div>
|
|
6
6
|
{{else}}
|
|
7
7
|
<ModelForm
|
|
@@ -62,9 +62,9 @@
|
|
|
62
62
|
@attr="typeOfConstructionProject"
|
|
63
63
|
@gwrEnumOptions={{this.choiceOptions.typeOfConstructionProjectOptions}}
|
|
64
64
|
@on-update={{fn (mut this.typeOfConstructionProject)}}
|
|
65
|
-
@hint={{if
|
|
66
|
-
(eq this.typeOfConstructionProject 6010)
|
|
67
|
-
(t "ember-gwr.linkedBuildings.buildingDisabledForInfrastructure")
|
|
65
|
+
@hint={{if
|
|
66
|
+
(eq this.typeOfConstructionProject 6010)
|
|
67
|
+
(t "ember-gwr.linkedBuildings.buildingDisabledForInfrastructure")
|
|
68
68
|
(if (eq this.typeOfConstructionProject 6011)
|
|
69
69
|
(t "ember-gwr.linkedBuildings.superstructureInfo"))
|
|
70
70
|
}}
|
|
@@ -173,37 +173,37 @@
|
|
|
173
173
|
@required={{true}}
|
|
174
174
|
/>
|
|
175
175
|
</div>
|
|
176
|
-
<div
|
|
177
|
-
class="{{spacingClass}}
|
|
178
|
-
{{if (not (show-model-field
|
|
176
|
+
<div
|
|
177
|
+
class="{{spacingClass}}
|
|
178
|
+
{{if (not (show-model-field
|
|
179
179
|
"buildingPermitIssueDate" changeset this.import
|
|
180
180
|
)) "uk-hidden"}}"
|
|
181
181
|
>
|
|
182
182
|
<Field @inputType="date" @attr="buildingPermitIssueDate" />
|
|
183
183
|
</div>
|
|
184
184
|
<div class="{{spacingClass}}
|
|
185
|
-
{{if (not (show-model-field
|
|
185
|
+
{{if (not (show-model-field
|
|
186
186
|
"projectStartDate" changeset this.import
|
|
187
187
|
)) "uk-hidden"}}"
|
|
188
188
|
>
|
|
189
189
|
<Field @inputType="date" @attr="projectStartDate" />
|
|
190
190
|
</div>
|
|
191
191
|
<div class="{{spacingClass}}
|
|
192
|
-
{{if (not (show-model-field
|
|
192
|
+
{{if (not (show-model-field
|
|
193
193
|
"projectCompletionDate" changeset this.import
|
|
194
194
|
)) "uk-hidden"}}"
|
|
195
195
|
>
|
|
196
196
|
<Field @inputType="date" @attr="projectCompletionDate" />
|
|
197
197
|
</div>
|
|
198
198
|
<div class="{{spacingClass}}
|
|
199
|
-
{{if (not (show-model-field
|
|
199
|
+
{{if (not (show-model-field
|
|
200
200
|
"projectSuspensionDate" changeset this.import
|
|
201
201
|
)) "uk-hidden"}}"
|
|
202
202
|
>
|
|
203
203
|
<Field @inputType="date" @attr="projectSuspensionDate" />
|
|
204
204
|
</div>
|
|
205
205
|
<div class="{{spacingClass}}
|
|
206
|
-
{{if (not (show-model-field
|
|
206
|
+
{{if (not (show-model-field
|
|
207
207
|
"constructionAuthorisationDeniedDate" changeset this.import
|
|
208
208
|
)) "uk-hidden"}}"
|
|
209
209
|
>
|
|
@@ -213,14 +213,14 @@
|
|
|
213
213
|
/>
|
|
214
214
|
</div>
|
|
215
215
|
<div class="{{spacingClass}}
|
|
216
|
-
{{if (not (show-model-field
|
|
216
|
+
{{if (not (show-model-field
|
|
217
217
|
"cancellationDate" changeset this.import
|
|
218
218
|
)) "uk-hidden"}}"
|
|
219
219
|
>
|
|
220
220
|
<Field @inputType="date" @attr="cancellationDate" />
|
|
221
221
|
</div>
|
|
222
222
|
<div class="{{spacingClass}}
|
|
223
|
-
{{if (not (show-model-field
|
|
223
|
+
{{if (not (show-model-field
|
|
224
224
|
"withdrawalDate" changeset this.import
|
|
225
225
|
)) "uk-hidden"}}"
|
|
226
226
|
>
|
|
@@ -228,9 +228,9 @@
|
|
|
228
228
|
</div>
|
|
229
229
|
{{/let}}
|
|
230
230
|
</div>
|
|
231
|
-
{{#if (or
|
|
232
|
-
(not this.project.isNew)
|
|
233
|
-
(show-model-field
|
|
231
|
+
{{#if (or
|
|
232
|
+
(not this.project.isNew)
|
|
233
|
+
(show-model-field
|
|
234
234
|
"durationOfConstructionPhase" changeset this.import)
|
|
235
235
|
)
|
|
236
236
|
}}
|
|
@@ -315,7 +315,7 @@
|
|
|
315
315
|
</div>
|
|
316
316
|
</div>
|
|
317
317
|
<Field @attr="client.address.addressLine2" />
|
|
318
|
-
{{#if (or
|
|
318
|
+
{{#if (or
|
|
319
319
|
(eq changeset.client.address.country.countryNameShort "ch")
|
|
320
320
|
(and this.import this.import.data.client.address.swissZipCode)
|
|
321
321
|
)}}
|
|
@@ -335,9 +335,9 @@
|
|
|
335
335
|
/>
|
|
336
336
|
</div>
|
|
337
337
|
</div>
|
|
338
|
-
{{else if (or
|
|
338
|
+
{{else if (or
|
|
339
339
|
changeset.client.address.country.countryNameShort
|
|
340
|
-
(and this.import this.import.data.client.address.foreignZipCode)
|
|
340
|
+
(and this.import this.import.data.client.address.foreignZipCode)
|
|
341
341
|
)}}
|
|
342
342
|
<Field
|
|
343
343
|
@type="number"
|
|
@@ -384,12 +384,12 @@
|
|
|
384
384
|
<UkButton
|
|
385
385
|
@color="default"
|
|
386
386
|
@label={{t "ember-gwr.components.modelForm.project.confirmationContinue"}}
|
|
387
|
-
{{
|
|
387
|
+
@onClick={{perform this.processTypeOfConstructionProjectChange}}
|
|
388
388
|
/>
|
|
389
389
|
<UkButton
|
|
390
390
|
@color="primary"
|
|
391
391
|
@label={{t "ember-gwr.components.modelForm.project.confirmationCancel"}}
|
|
392
|
-
{{
|
|
392
|
+
@onClick={{this.cancelTypeOfConstructionProjectChange}}
|
|
393
393
|
/>
|
|
394
394
|
</modal.footer>
|
|
395
395
|
</UkModal>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<div {{did-insert this.onLoad}} {{did-update this.onLoad}}>
|
|
2
2
|
{{#if this.constructionProject.all.isRunning}}
|
|
3
3
|
<div class="uk-flex uk-flex-center uk-flex-middle uk-margin-large-top">
|
|
4
|
-
<UkSpinner @ratio=
|
|
4
|
+
<UkSpinner @ratio={{3}} />
|
|
5
5
|
</div>
|
|
6
6
|
{{else}}
|
|
7
7
|
{{#if this.displayLandingPage}}
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
{{t "ember-gwr.nav.housingStatInfo"}}
|
|
32
32
|
</div>
|
|
33
33
|
<div>
|
|
34
|
-
{{t "ember-gwr.nav.deletionInfo"}}
|
|
34
|
+
{{t "ember-gwr.nav.deletionInfo"}}
|
|
35
35
|
</div>
|
|
36
36
|
</div>
|
|
37
37
|
</div>
|
|
@@ -49,16 +49,12 @@
|
|
|
49
49
|
</div>
|
|
50
50
|
</div>
|
|
51
51
|
<UkTab as |Tab|>
|
|
52
|
-
<Tab.
|
|
52
|
+
<Tab.item @href={{if this.activeProject (build-url "project.form" (array this.activeProject)) (build-url "project.new")}}>
|
|
53
53
|
{{t "ember-gwr.models.project" count=1}}
|
|
54
|
-
</Tab.
|
|
55
|
-
<Tab.
|
|
56
|
-
@route="project.linked-buildings"
|
|
57
|
-
@model={{this.activeProject}}
|
|
58
|
-
@disabled={{this.buildingTabInfoText}}
|
|
59
|
-
>
|
|
54
|
+
</Tab.item>
|
|
55
|
+
<Tab.item @href={{if this.activeProject (build-url "project.linked-buildings" (array this.activeProject))}} @disabled={{this.buildingTabInfoText}}>
|
|
60
56
|
{{t "ember-gwr.models.building" count=1}}
|
|
61
|
-
</Tab.
|
|
57
|
+
</Tab.item>
|
|
62
58
|
{{#if this.buildingTabInfoText}}
|
|
63
59
|
<div class="uk-padding-remove">
|
|
64
60
|
<span
|
|
@@ -68,13 +64,9 @@
|
|
|
68
64
|
</div>
|
|
69
65
|
{{/if}}
|
|
70
66
|
{{#if this.activeProject}}
|
|
71
|
-
<Tab.
|
|
72
|
-
class="uk-position-right"
|
|
73
|
-
@route="project.errors"
|
|
74
|
-
@model={{this.activeProject}}
|
|
75
|
-
>
|
|
67
|
+
<Tab.item class="uk-position-right" @href={{build-url "project.errors" (array this.activeProject)}}>
|
|
76
68
|
{{t "ember-gwr.issues.nav"}}
|
|
77
|
-
</Tab.
|
|
69
|
+
</Tab.item>
|
|
78
70
|
{{/if}}
|
|
79
71
|
</UkTab>
|
|
80
72
|
{{outlet}}
|
package/addon/xml/helpers.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { get } from "@ember/object";
|
|
2
|
-
import
|
|
2
|
+
import { DateTime } from "luxon";
|
|
3
3
|
|
|
4
4
|
// All functions in this file will be registered to handlebars as helpers.
|
|
5
5
|
|
|
6
6
|
export function echDate(date) {
|
|
7
|
-
return
|
|
8
|
-
?
|
|
7
|
+
return date instanceof Date && date !== null
|
|
8
|
+
? DateTime.fromJSDate(date).toISODate()
|
|
9
9
|
: date;
|
|
10
10
|
}
|
|
11
11
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "ember-ebau-gwr/helpers/build-url";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ember-ebau-gwr",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.3",
|
|
4
4
|
"description": "Ember engine to integrate ebau-gwr into an ember app.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"scripts": {
|
|
17
17
|
"build": "ember build --environment=production",
|
|
18
|
-
"lint": "npm-run-all --aggregate-output --continue-on-error --parallel
|
|
18
|
+
"lint": "npm-run-all --aggregate-output --continue-on-error --parallel \"lint:!(fix)\"",
|
|
19
19
|
"lint:fix": "npm-run-all --aggregate-output --continue-on-error --parallel lint:*:fix",
|
|
20
20
|
"lint:hbs": "ember-template-lint .",
|
|
21
21
|
"lint:hbs:fix": "ember-template-lint . --fix",
|
|
@@ -27,77 +27,86 @@
|
|
|
27
27
|
"test:ember": "ember test",
|
|
28
28
|
"test:ember-compatibility": "ember try:each"
|
|
29
29
|
},
|
|
30
|
+
"peerDependencies": {
|
|
31
|
+
"ember-engines": ">= 8"
|
|
32
|
+
},
|
|
30
33
|
"dependencies": {
|
|
31
|
-
"@ember/render-modifiers": "^
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"ember-
|
|
35
|
-
"ember-changeset
|
|
36
|
-
"ember-
|
|
37
|
-
"ember-cli-
|
|
38
|
-
"ember-
|
|
39
|
-
"ember-
|
|
40
|
-
"ember-concurrency
|
|
41
|
-
"ember-
|
|
42
|
-
"ember-
|
|
43
|
-
"ember-pikaday": "^
|
|
44
|
-
"ember-power-select": "^
|
|
34
|
+
"@ember/render-modifiers": "^2.0.4",
|
|
35
|
+
"@glimmer/component": "^1.0.4",
|
|
36
|
+
"@glimmer/tracking": "^1.0.4",
|
|
37
|
+
"ember-auto-import": "^2.4.0",
|
|
38
|
+
"ember-changeset": "^4.0.0-beta.5",
|
|
39
|
+
"ember-changeset-validations": "^4.0.0-beta.2",
|
|
40
|
+
"ember-cli-babel": "^7.26.11",
|
|
41
|
+
"ember-cli-htmlbars": "^6.0.1",
|
|
42
|
+
"ember-composable-helpers": "^5.0.0",
|
|
43
|
+
"ember-concurrency": "^2.2.1",
|
|
44
|
+
"ember-engines-router-service": "^0.3.0",
|
|
45
|
+
"ember-intl": "^5.7.2",
|
|
46
|
+
"ember-pikaday": "^4.0.0",
|
|
47
|
+
"ember-power-select": "^5.0.3",
|
|
45
48
|
"ember-truth-helpers": "^3.0.0",
|
|
46
|
-
"ember-uikit": "^
|
|
47
|
-
"ember-validated-form": "^
|
|
48
|
-
"handlebars": "^4.7.
|
|
49
|
-
"
|
|
49
|
+
"ember-uikit": "^5.0.0",
|
|
50
|
+
"ember-validated-form": "^5.2.2",
|
|
51
|
+
"handlebars": "^4.7.7",
|
|
52
|
+
"luxon": "^2.3.0"
|
|
50
53
|
},
|
|
51
54
|
"devDependencies": {
|
|
52
|
-
"@adfinis-sygroup/eslint-config": "
|
|
53
|
-
"@adfinis-sygroup/semantic-release-config": "
|
|
54
|
-
"@ember/optional-features": "
|
|
55
|
-
"@ember/test-helpers": "
|
|
56
|
-
"@
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"ember-cli": "
|
|
61
|
-
"ember-cli-
|
|
62
|
-
"ember-cli-
|
|
63
|
-
"ember-cli-
|
|
64
|
-
"ember-cli-
|
|
65
|
-
"ember-cli-
|
|
66
|
-
"ember-
|
|
67
|
-
"ember-
|
|
68
|
-
"ember-
|
|
69
|
-
"ember-
|
|
70
|
-
"ember-
|
|
71
|
-
"ember-
|
|
72
|
-
"ember-
|
|
73
|
-
"ember-
|
|
74
|
-
"ember-
|
|
75
|
-
"ember-
|
|
76
|
-
"ember-
|
|
77
|
-
"ember-
|
|
78
|
-
"ember-
|
|
79
|
-
"ember-
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"eslint": "
|
|
83
|
-
"eslint-
|
|
84
|
-
"eslint-plugin-
|
|
85
|
-
"eslint-plugin-
|
|
86
|
-
"eslint-plugin-
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"npm-run-all": "
|
|
91
|
-
"prettier": "
|
|
92
|
-
"qunit": "
|
|
93
|
-
"qunit-dom": "
|
|
94
|
-
"sass": "
|
|
55
|
+
"@adfinis-sygroup/eslint-config": "1.5.0",
|
|
56
|
+
"@adfinis-sygroup/semantic-release-config": "3.4.0",
|
|
57
|
+
"@ember/optional-features": "2.0.0",
|
|
58
|
+
"@ember/test-helpers": "2.6.0",
|
|
59
|
+
"@embroider/test-setup": "1.2.0",
|
|
60
|
+
"babel-eslint": "10.1.0",
|
|
61
|
+
"broccoli-asset-rev": "3.0.0",
|
|
62
|
+
"ember-cli": "3.28.5",
|
|
63
|
+
"ember-cli-dependency-checker": "3.2.0",
|
|
64
|
+
"ember-cli-inject-live-reload": "2.1.0",
|
|
65
|
+
"ember-cli-mirage": "2.4.0",
|
|
66
|
+
"ember-cli-sass": "10.0.1",
|
|
67
|
+
"ember-cli-sri": "2.1.1",
|
|
68
|
+
"ember-cli-terser": "4.0.2",
|
|
69
|
+
"ember-data": "3.28.8",
|
|
70
|
+
"ember-disable-prototype-extensions": "1.1.3",
|
|
71
|
+
"ember-engines": "https://gitpkg.now.sh/anehx/ember-engines/packages/ember-engines?c08f7650ffc4b723e8ba1143d7498e58bc1e4b78",
|
|
72
|
+
"ember-export-application-global": "2.0.1",
|
|
73
|
+
"ember-load-initializers": "2.1.2",
|
|
74
|
+
"ember-maybe-import-regenerator": "^1.0.0",
|
|
75
|
+
"ember-qunit": "5.1.5",
|
|
76
|
+
"ember-resolver": "8.0.3",
|
|
77
|
+
"ember-source": "3.28.8",
|
|
78
|
+
"ember-source-channel-url": "3.0.0",
|
|
79
|
+
"ember-template-lint": "4.1.0",
|
|
80
|
+
"ember-template-lint-plugin-prettier": "4.0.0",
|
|
81
|
+
"ember-test-selectors": "6.0.0",
|
|
82
|
+
"ember-try": "2.0.0",
|
|
83
|
+
"eslint": "7.32.0",
|
|
84
|
+
"eslint-config-prettier": "8.3.0",
|
|
85
|
+
"eslint-plugin-ember": "10.5.9",
|
|
86
|
+
"eslint-plugin-import": "2.25.4",
|
|
87
|
+
"eslint-plugin-node": "11.1.0",
|
|
88
|
+
"eslint-plugin-prettier": "4.0.0",
|
|
89
|
+
"eslint-plugin-qunit": "7.2.0",
|
|
90
|
+
"loader.js": "4.7.0",
|
|
91
|
+
"local-cors-proxy": "1.1.0",
|
|
92
|
+
"miragejs": "0.1.43",
|
|
93
|
+
"npm-run-all": "4.1.5",
|
|
94
|
+
"prettier": "2.5.1",
|
|
95
|
+
"qunit": "2.18.0",
|
|
96
|
+
"qunit-dom": "2.0.0",
|
|
97
|
+
"sass": "1.49.7",
|
|
98
|
+
"webpack": "5.69.0"
|
|
95
99
|
},
|
|
100
|
+
"//": [
|
|
101
|
+
"TODO: remove @embroider/* resolutions when https://github.com/embroider-build/embroider/issues/1077 is resolved",
|
|
102
|
+
"TODO: remove ember-engines exotic dependency when https://github.com/ember-engines/ember-engines/pull/794 is released"
|
|
103
|
+
],
|
|
96
104
|
"resolutions": {
|
|
97
|
-
"
|
|
105
|
+
"@embroider/macros": "1.1.0",
|
|
106
|
+
"@embroider/util": "1.1.0"
|
|
98
107
|
},
|
|
99
108
|
"engines": {
|
|
100
|
-
"node": "
|
|
109
|
+
"node": "12.* || 14.* || >= 16"
|
|
101
110
|
},
|
|
102
111
|
"ember": {
|
|
103
112
|
"edition": "octane"
|
|
@@ -7,7 +7,7 @@ ember-gwr:
|
|
|
7
7
|
6001: Nouvelle construction
|
|
8
8
|
6002: Transformation
|
|
9
9
|
6007: Démolition
|
|
10
|
-
|
|
10
|
+
|
|
11
11
|
energeticRestauration: Assainissement énergétique
|
|
12
12
|
renovationHeatingsystem: Assainissement du système de chauffage
|
|
13
13
|
innerConversionRenovation: Transformations / rénovations intérieures
|
|
@@ -17,14 +17,14 @@ ember-gwr:
|
|
|
17
17
|
thermicSolarFacility: Installation solaire thermique
|
|
18
18
|
photovoltaicSolarFacility: Installation solaire photovoltaïque
|
|
19
19
|
otherWorks: Autres travaux de transformation
|
|
20
|
-
|
|
20
|
+
|
|
21
21
|
building:
|
|
22
22
|
building: Bâtiment
|
|
23
23
|
title: Bâtiment {id} - {status}
|
|
24
24
|
createNewBuilding: Saisir un nouveau bâtiment
|
|
25
|
-
|
|
25
|
+
|
|
26
26
|
backToProject: Retour au projet de construction
|
|
27
|
-
|
|
27
|
+
|
|
28
28
|
saveError: Une erreur s'est produite lors de la sauvegarde du bâtiment.
|
|
29
29
|
saveSuccess: Bâtiment sauvegardé avec succès.
|
|
30
30
|
entrances:
|
|
@@ -77,7 +77,7 @@ ember-gwr:
|
|
|
77
77
|
localCode2: Codes locaux 2
|
|
78
78
|
localCode3: Codes locaux 3
|
|
79
79
|
localCode4: Codes locaux 4
|
|
80
|
-
|
|
80
|
+
|
|
81
81
|
neighbourhood: Quartier
|
|
82
82
|
|
|
83
83
|
buildingStatus: Statut du bâtiment
|
|
@@ -152,12 +152,12 @@ ember-gwr:
|
|
|
152
152
|
8022: Période de 2011 à 2015
|
|
153
153
|
8023: Période à partir de 2016
|
|
154
154
|
yearOfDemolition: Année de démolition du bâtiment
|
|
155
|
-
|
|
155
|
+
|
|
156
156
|
realestateIdentification:
|
|
157
157
|
EGRID: EGRID
|
|
158
158
|
number: Numéro de parcelle
|
|
159
159
|
subDistrict: Numéro de secteur du registre foncier
|
|
160
|
-
|
|
160
|
+
|
|
161
161
|
surfaceAreaOfBuilding: Surface du bâtiment en mètres carrés.
|
|
162
162
|
volume:
|
|
163
163
|
volume: Volume du bâtiment (m3)
|
|
@@ -274,7 +274,7 @@ ember-gwr:
|
|
|
274
274
|
swissZipCode: NPA
|
|
275
275
|
name:
|
|
276
276
|
nameLong: Désignation de la localité
|
|
277
|
-
|
|
277
|
+
|
|
278
278
|
buildingEntrance:
|
|
279
279
|
mainEntrance: Entrée principale
|
|
280
280
|
info: Une fois le bâtiment créé, il est possible d'ajouter d'autres entrées et d'éditer les rues des entrées.
|
|
@@ -4,7 +4,7 @@ ember-gwr:
|
|
|
4
4
|
backToBuilding: Retour au bâtiment
|
|
5
5
|
backToEntrance: Retour à l'entrée
|
|
6
6
|
createNewEntrance: Saisir une nouvelle entrée.
|
|
7
|
-
|
|
7
|
+
|
|
8
8
|
saveError: Une erreur s'est produite lors de la sauvegarde de l'entrée.
|
|
9
9
|
saveSuccess: Entrée sauvegardée avec succès.
|
|
10
10
|
loadingError: Une erreur s'est produite lors du chargement de l'entrée.
|
|
@@ -12,7 +12,7 @@ ember-gwr:
|
|
|
12
12
|
street: Rue
|
|
13
13
|
coordinates: Coordonnées
|
|
14
14
|
missingStreetInfo: Veuillez d'abord lier une rue.
|
|
15
|
-
|
|
15
|
+
|
|
16
16
|
fields:
|
|
17
17
|
EDID: EDID
|
|
18
18
|
EGAID: EGAID
|
|
@@ -53,4 +53,3 @@ ember-gwr:
|
|
|
53
53
|
swissZipCodeAddOn: Chiffre complémentaire du NPA
|
|
54
54
|
name:
|
|
55
55
|
nameLong: Nom de la localité
|
|
56
|
-
|