ember-ebau-gwr 8.0.3 → 8.1.1
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 +15 -0
- package/addon/components/import-modal.hbs +1 -1
- package/addon/components/import-modal.js +2 -0
- package/addon/components/login-modal.hbs +2 -2
- package/addon/components/login-modal.js +7 -0
- package/addon/components/model-errors/skeleton-errors.hbs +1 -1
- package/addon/components/model-errors/skeleton.hbs +2 -2
- package/addon/components/model-form/field.hbs +1 -5
- package/addon/components/model-form/field.js +6 -0
- package/addon/components/model-form/header/status-selector.hbs +1 -1
- package/addon/components/model-form/header/status-selector.js +2 -0
- package/addon/components/model-form/submit-errors.hbs +3 -3
- package/addon/components/model-form/submit-errors.js +6 -0
- package/addon/components/search-street.hbs +1 -1
- package/addon/components/search-street.js +7 -5
- package/addon/controllers/search-project.js +5 -0
- package/addon/models/municipalities.js +198 -0
- package/addon/templates/building/edit/form.hbs +1 -1
- package/addon/templates/project/form.hbs +1 -1
- package/addon/templates/search-building.hbs +1 -1
- package/addon/templates/search-project.hbs +1 -1
- package/package.json +19 -19
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
## [8.1.1](https://github.com/inosca/ember-ebau-gwr/compare/v8.1.0...v8.1.1) (2026-05-27)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **search-street:** fix invalid validation path on new buildings ([40cd7d3](https://github.com/inosca/ember-ebau-gwr/commit/40cd7d3b99c2b3a453fab1bcead1bd6b415e2c96))
|
|
7
|
+
* **search-street:** fix validation error on correct input ([4471c34](https://github.com/inosca/ember-ebau-gwr/commit/4471c34496cfe1de400264f500e8a589b02f38c6))
|
|
8
|
+
|
|
9
|
+
# [8.1.0](https://github.com/inosca/ember-ebau-gwr/compare/v8.0.3...v8.1.0) (2026-01-12)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
* **config:** add Aargau municipalities ([c3250de](https://github.com/inosca/ember-ebau-gwr/commit/c3250dec851f9bf658a5b66aa2e9b3564ecd38b1))
|
|
15
|
+
|
|
1
16
|
## [8.0.3](https://github.com/inosca/ember-ebau-gwr/compare/v8.0.2...v8.0.3) (2025-03-03)
|
|
2
17
|
|
|
3
18
|
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
@renderInPlace={{true}}
|
|
41
41
|
@triggerClass="uk-select"
|
|
42
42
|
@options={{this.sortedMunicipalities}}
|
|
43
|
-
@selected={{
|
|
43
|
+
@selected={{this.getMunicipality this.municipality}}
|
|
44
44
|
@placeholder={{t "ember-gwr.components.loginModal.municipality"}}
|
|
45
45
|
@searchEnabled={{true}}
|
|
46
46
|
@searchField="name"
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"ember-gwr.components.loginModal.loginInfo"
|
|
80
80
|
user=this.authFetch.username
|
|
81
81
|
municipality=(get
|
|
82
|
-
(
|
|
82
|
+
(this.getMunicipality this.authFetch.municipality)
|
|
83
83
|
"name"
|
|
84
84
|
)
|
|
85
85
|
htmlSafe=true
|
|
@@ -16,6 +16,13 @@ export default class LoginModalComponent extends Component {
|
|
|
16
16
|
return municipalities[this.config.cantonAbbreviation];
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
+
getMunicipality = (id) => {
|
|
20
|
+
const municipalityItem = this.municipalities.find(
|
|
21
|
+
(municipality) => municipality.id === parseInt(id),
|
|
22
|
+
);
|
|
23
|
+
return municipalityItem;
|
|
24
|
+
};
|
|
25
|
+
|
|
19
26
|
@action
|
|
20
27
|
async login() {
|
|
21
28
|
const token = await this.authFetch.housingStatToken.perform(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<UkSwitcher class="uk-margin-small-top uk-animation-fade" as |switcher|>
|
|
2
2
|
<switcher.nav @type="subnav" as |nav|>
|
|
3
3
|
<nav.component uk-switcher @divider={{true}} as |tab|>
|
|
4
|
-
{{#each (
|
|
4
|
+
{{#each (array 1 2 3)}}
|
|
5
5
|
<tab.item>
|
|
6
6
|
<div
|
|
7
7
|
class="ember-ebau-gwr-label-width ember-ebau-gwr-label-height uk-background-muted"
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
</nav.component>
|
|
12
12
|
</switcher.nav>
|
|
13
13
|
<switcher.content as |content|>
|
|
14
|
-
{{#each (
|
|
14
|
+
{{#each (array 1 2 3)}}
|
|
15
15
|
<content.item>
|
|
16
16
|
<ModelErrors::SkeletonErrors />
|
|
17
17
|
</content.item>
|
|
@@ -32,11 +32,7 @@
|
|
|
32
32
|
)
|
|
33
33
|
)
|
|
34
34
|
promptIsSelectable=true
|
|
35
|
-
on-update=
|
|
36
|
-
@on-update
|
|
37
|
-
(queue this.updateModelField @on-update)
|
|
38
|
-
this.updateModelField
|
|
39
|
-
)
|
|
35
|
+
on-update=this.updateModelField
|
|
40
36
|
renderComponent=(component
|
|
41
37
|
this.fieldComponent
|
|
42
38
|
horizontal=this.isHorizontal
|
|
@@ -59,6 +59,8 @@ export default class ModelFormHeaderStatusSelectorComponent extends Component {
|
|
|
59
59
|
}));
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
+
isIndexNotLast = (index) => index !== this.args.nextValidStates.length - 1;
|
|
63
|
+
|
|
62
64
|
get isValidStatusChange() {
|
|
63
65
|
return (
|
|
64
66
|
this.modelStatus && this.args.nextValidStates.includes(this.newStatus)
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
class="uk-alert-danger uk-text-small uk-flex-1 uk-margin-remove-bottom"
|
|
21
21
|
uk-alert
|
|
22
22
|
>
|
|
23
|
-
{{
|
|
23
|
+
{{this.getErrorObject 0}}
|
|
24
24
|
</div>
|
|
25
25
|
{{else if (gt @errors.length 1)}}
|
|
26
26
|
<button
|
|
@@ -31,14 +31,14 @@
|
|
|
31
31
|
>
|
|
32
32
|
<div class="uk-flex-inline uk-flex-middle">
|
|
33
33
|
<div class="uk-text-small uk-margin-small-right">
|
|
34
|
-
{{
|
|
34
|
+
{{this.visualErrorIndex}}
|
|
35
35
|
<span>
|
|
36
36
|
/
|
|
37
37
|
</span>
|
|
38
38
|
{{@errors.length}}
|
|
39
39
|
</div>
|
|
40
40
|
<div>
|
|
41
|
-
{{
|
|
41
|
+
{{this.getErrorObject this.errorIndex}}
|
|
42
42
|
</div>
|
|
43
43
|
</div>
|
|
44
44
|
</button>
|
|
@@ -5,6 +5,12 @@ import { tracked } from "@glimmer/tracking";
|
|
|
5
5
|
export default class ModelFormSubmitErrorsComponent extends Component {
|
|
6
6
|
@tracked errorIndex = 0;
|
|
7
7
|
|
|
8
|
+
getErrorObject = (index) => this.args.errors[index];
|
|
9
|
+
|
|
10
|
+
get visualErrorIndex() {
|
|
11
|
+
return this.errorIndex + 1;
|
|
12
|
+
}
|
|
13
|
+
|
|
8
14
|
@action
|
|
9
15
|
updateCurrentIndex() {
|
|
10
16
|
if (this.args.errors.length) {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
@searchEnabled={{true}}
|
|
13
13
|
@search={{perform this.search}}
|
|
14
14
|
@selected={{@value}}
|
|
15
|
-
@onChange={{
|
|
15
|
+
@onChange={{this.setDirtyAndUpdate}}
|
|
16
16
|
@onFocus={{this.handleFocus}}
|
|
17
17
|
@searchMessage={{t "ember-gwr.components.linkStreet.search"}}
|
|
18
18
|
@noMatchesMessage={{t "ember-gwr.components.search.noResults"}}
|
|
@@ -22,11 +22,7 @@ export default class SearchStreetComponent extends ValidatedInput {
|
|
|
22
22
|
`error.${this.args.options.validationPath}.validation`,
|
|
23
23
|
);
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
return [errors];
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
return errors;
|
|
25
|
+
return errors ? [errors] : [];
|
|
30
26
|
}
|
|
31
27
|
|
|
32
28
|
get swissZipCode() {
|
|
@@ -70,6 +66,12 @@ export default class SearchStreetComponent extends ValidatedInput {
|
|
|
70
66
|
}
|
|
71
67
|
});
|
|
72
68
|
|
|
69
|
+
@action
|
|
70
|
+
setDirtyAndUpdate(value) {
|
|
71
|
+
this.dirty = true;
|
|
72
|
+
this.args["on-update"](value);
|
|
73
|
+
}
|
|
74
|
+
|
|
73
75
|
@action
|
|
74
76
|
handleFocus(select, e) {
|
|
75
77
|
if (this.focusComesFromOutside(e)) {
|
|
@@ -33,6 +33,11 @@ export default class SearchProjectController extends Controller {
|
|
|
33
33
|
}));
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
+
@action
|
|
37
|
+
getEproidLinks(eproid) {
|
|
38
|
+
return this.links.filter((link) => link.eproid === eproid);
|
|
39
|
+
}
|
|
40
|
+
|
|
36
41
|
@lastValue("fetchInstanceLinks") links;
|
|
37
42
|
@dropTask
|
|
38
43
|
*fetchInstanceLinks(projects) {
|
|
@@ -603,4 +603,202 @@ export default {
|
|
|
603
603
|
{ id: 1219, name: "Unterschächen" },
|
|
604
604
|
{ id: 1220, name: "Wassen" },
|
|
605
605
|
],
|
|
606
|
+
AG: [
|
|
607
|
+
{ id: 4001, name: "Aarau" },
|
|
608
|
+
{ id: 4002, name: "Biberstein" },
|
|
609
|
+
{ id: 4003, name: "Buchs (AG)" },
|
|
610
|
+
{ id: 4004, name: "Densbüren" },
|
|
611
|
+
{ id: 4005, name: "Erlinsbach (AG)" },
|
|
612
|
+
{ id: 4006, name: "Gränichen" },
|
|
613
|
+
{ id: 4007, name: "Hirschthal" },
|
|
614
|
+
{ id: 4008, name: "Küttigen" },
|
|
615
|
+
{ id: 4009, name: "Muhen" },
|
|
616
|
+
{ id: 4010, name: "Oberentfelden" },
|
|
617
|
+
{ id: 4012, name: "Suhr" },
|
|
618
|
+
{ id: 4013, name: "Unterentfelden" },
|
|
619
|
+
{ id: 4021, name: "Baden" },
|
|
620
|
+
{ id: 4022, name: "Bellikon" },
|
|
621
|
+
{ id: 4023, name: "Bergdietikon" },
|
|
622
|
+
{ id: 4024, name: "Birmenstorf (AG)" },
|
|
623
|
+
{ id: 4026, name: "Ennetbaden" },
|
|
624
|
+
{ id: 4027, name: "Fislisbach" },
|
|
625
|
+
{ id: 4028, name: "Freienwil" },
|
|
626
|
+
{ id: 4029, name: "Gebenstorf" },
|
|
627
|
+
{ id: 4030, name: "Killwangen" },
|
|
628
|
+
{ id: 4031, name: "Künten" },
|
|
629
|
+
{ id: 4032, name: "Mägenwil" },
|
|
630
|
+
{ id: 4033, name: "Mellingen" },
|
|
631
|
+
{ id: 4034, name: "Neuenhof" },
|
|
632
|
+
{ id: 4035, name: "Niederrohrdorf" },
|
|
633
|
+
{ id: 4037, name: "Oberrohrdorf" },
|
|
634
|
+
{ id: 4038, name: "Obersiggenthal" },
|
|
635
|
+
{ id: 4039, name: "Remetschwil" },
|
|
636
|
+
{ id: 4040, name: "Spreitenbach" },
|
|
637
|
+
{ id: 4041, name: "Stetten (AG)" },
|
|
638
|
+
{ id: 4044, name: "Untersiggenthal" },
|
|
639
|
+
{ id: 4045, name: "Wettingen" },
|
|
640
|
+
{ id: 4046, name: "Wohlenschwil" },
|
|
641
|
+
{ id: 4047, name: "Würenlingen" },
|
|
642
|
+
{ id: 4048, name: "Würenlos" },
|
|
643
|
+
{ id: 4049, name: "Ehrendingen" },
|
|
644
|
+
{ id: 4061, name: "Arni (AG)" },
|
|
645
|
+
{ id: 4062, name: "Berikon" },
|
|
646
|
+
{ id: 4063, name: "Bremgarten (AG)" },
|
|
647
|
+
{ id: 4064, name: "Büttikon" },
|
|
648
|
+
{ id: 4065, name: "Dottikon" },
|
|
649
|
+
{ id: 4066, name: "Eggenwil" },
|
|
650
|
+
{ id: 4067, name: "Fischbach-Göslikon" },
|
|
651
|
+
{ id: 4068, name: "Hägglingen" },
|
|
652
|
+
{ id: 4071, name: "Jonen" },
|
|
653
|
+
{ id: 4072, name: "Niederwil (AG)" },
|
|
654
|
+
{ id: 4073, name: "Oberlunkhofen" },
|
|
655
|
+
{ id: 4074, name: "Oberwil-Lieli" },
|
|
656
|
+
{ id: 4075, name: "Rudolfstetten-Friedlisberg" },
|
|
657
|
+
{ id: 4076, name: "Sarmenstorf" },
|
|
658
|
+
{ id: 4077, name: "Tägerig" },
|
|
659
|
+
{ id: 4078, name: "Uezwil" },
|
|
660
|
+
{ id: 4079, name: "Unterlunkhofen" },
|
|
661
|
+
{ id: 4080, name: "Villmergen" },
|
|
662
|
+
{ id: 4081, name: "Widen" },
|
|
663
|
+
{ id: 4082, name: "Wohlen (AG)" },
|
|
664
|
+
{ id: 4083, name: "Zufikon" },
|
|
665
|
+
{ id: 4084, name: "Islisberg" },
|
|
666
|
+
{ id: 4091, name: "Auenstein" },
|
|
667
|
+
{ id: 4092, name: "Birr" },
|
|
668
|
+
{ id: 4093, name: "Birrhard" },
|
|
669
|
+
{ id: 4095, name: "Brugg" },
|
|
670
|
+
{ id: 4099, name: "Habsburg" },
|
|
671
|
+
{ id: 4100, name: "Hausen (AG)" },
|
|
672
|
+
{ id: 4104, name: "Lupfig" },
|
|
673
|
+
{ id: 4105, name: "Mandach" },
|
|
674
|
+
{ id: 4106, name: "Mönthal" },
|
|
675
|
+
{ id: 4107, name: "Mülligen" },
|
|
676
|
+
{ id: 4110, name: "Remigen" },
|
|
677
|
+
{ id: 4111, name: "Riniken" },
|
|
678
|
+
{ id: 4112, name: "Rüfenach" },
|
|
679
|
+
{ id: 4117, name: "Thalheim (AG)" },
|
|
680
|
+
{ id: 4120, name: "Veltheim (AG)" },
|
|
681
|
+
{ id: 4121, name: "Villigen" },
|
|
682
|
+
{ id: 4123, name: "Windisch" },
|
|
683
|
+
{ id: 4124, name: "Bözberg" },
|
|
684
|
+
{ id: 4125, name: "Schinznach" },
|
|
685
|
+
{ id: 4131, name: "Beinwil am See" },
|
|
686
|
+
{ id: 4132, name: "Birrwil" },
|
|
687
|
+
{ id: 4134, name: "Dürrenäsch" },
|
|
688
|
+
{ id: 4135, name: "Gontenschwil" },
|
|
689
|
+
{ id: 4136, name: "Holziken" },
|
|
690
|
+
{ id: 4137, name: "Leimbach (AG)" },
|
|
691
|
+
{ id: 4138, name: "Leutwil" },
|
|
692
|
+
{ id: 4139, name: "Menziken" },
|
|
693
|
+
{ id: 4140, name: "Oberkulm" },
|
|
694
|
+
{ id: 4141, name: "Reinach (AG)" },
|
|
695
|
+
{ id: 4142, name: "Schlossrued" },
|
|
696
|
+
{ id: 4143, name: "Schmiedrued" },
|
|
697
|
+
{ id: 4144, name: "Schöftland" },
|
|
698
|
+
{ id: 4145, name: "Teufenthal (AG)" },
|
|
699
|
+
{ id: 4146, name: "Unterkulm" },
|
|
700
|
+
{ id: 4147, name: "Zetzwil" },
|
|
701
|
+
{ id: 4161, name: "Eiken" },
|
|
702
|
+
{ id: 4163, name: "Frick" },
|
|
703
|
+
{ id: 4164, name: "Gansingen" },
|
|
704
|
+
{ id: 4165, name: "Gipf-Oberfrick" },
|
|
705
|
+
{ id: 4169, name: "Kaisten" },
|
|
706
|
+
{ id: 4170, name: "Laufenburg" },
|
|
707
|
+
{ id: 4172, name: "Münchwilen (AG)" },
|
|
708
|
+
{ id: 4173, name: "Oberhof" },
|
|
709
|
+
{ id: 4175, name: "Oeschgen" },
|
|
710
|
+
{ id: 4176, name: "Schwaderloch" },
|
|
711
|
+
{ id: 4177, name: "Sisseln" },
|
|
712
|
+
{ id: 4181, name: "Wittnau" },
|
|
713
|
+
{ id: 4182, name: "Wölflinswil" },
|
|
714
|
+
{ id: 4183, name: "Zeihen" },
|
|
715
|
+
{ id: 4184, name: "Mettauertal" },
|
|
716
|
+
{ id: 4185, name: "Böztal" },
|
|
717
|
+
{ id: 4186, name: "Herznach-Ueken" },
|
|
718
|
+
{ id: 4191, name: "Ammerswil" },
|
|
719
|
+
{ id: 4192, name: "Boniswil" },
|
|
720
|
+
{ id: 4193, name: "Brunegg" },
|
|
721
|
+
{ id: 4194, name: "Dintikon" },
|
|
722
|
+
{ id: 4195, name: "Egliswil" },
|
|
723
|
+
{ id: 4196, name: "Fahrwangen" },
|
|
724
|
+
{ id: 4197, name: "Hallwil" },
|
|
725
|
+
{ id: 4198, name: "Hendschiken" },
|
|
726
|
+
{ id: 4199, name: "Holderbank (AG)" },
|
|
727
|
+
{ id: 4200, name: "Hunzenschwil" },
|
|
728
|
+
{ id: 4201, name: "Lenzburg" },
|
|
729
|
+
{ id: 4202, name: "Meisterschwanden" },
|
|
730
|
+
{ id: 4203, name: "Möriken-Wildegg" },
|
|
731
|
+
{ id: 4204, name: "Niederlenz" },
|
|
732
|
+
{ id: 4205, name: "Othmarsingen" },
|
|
733
|
+
{ id: 4206, name: "Rupperswil" },
|
|
734
|
+
{ id: 4207, name: "Schafisheim" },
|
|
735
|
+
{ id: 4208, name: "Seengen" },
|
|
736
|
+
{ id: 4209, name: "Seon" },
|
|
737
|
+
{ id: 4210, name: "Staufen" },
|
|
738
|
+
{ id: 4221, name: "Abtwil" },
|
|
739
|
+
{ id: 4222, name: "Aristau" },
|
|
740
|
+
{ id: 4223, name: "Auw" },
|
|
741
|
+
{ id: 4224, name: "Beinwil (Freiamt)" },
|
|
742
|
+
{ id: 4226, name: "Besenbüren" },
|
|
743
|
+
{ id: 4227, name: "Bettwil" },
|
|
744
|
+
{ id: 4228, name: "Boswil" },
|
|
745
|
+
{ id: 4229, name: "Bünzen" },
|
|
746
|
+
{ id: 4230, name: "Buttwil" },
|
|
747
|
+
{ id: 4231, name: "Dietwil" },
|
|
748
|
+
{ id: 4232, name: "Geltwil" },
|
|
749
|
+
{ id: 4233, name: "Kallern" },
|
|
750
|
+
{ id: 4234, name: "Merenschwand" },
|
|
751
|
+
{ id: 4235, name: "Mühlau" },
|
|
752
|
+
{ id: 4236, name: "Muri (AG)" },
|
|
753
|
+
{ id: 4237, name: "Oberrüti" },
|
|
754
|
+
{ id: 4238, name: "Rottenschwil" },
|
|
755
|
+
{ id: 4239, name: "Sins" },
|
|
756
|
+
{ id: 4240, name: "Waltenschwil" },
|
|
757
|
+
{ id: 4251, name: "Hellikon" },
|
|
758
|
+
{ id: 4252, name: "Kaiseraugst" },
|
|
759
|
+
{ id: 4253, name: "Magden" },
|
|
760
|
+
{ id: 4254, name: "Möhlin" },
|
|
761
|
+
{ id: 4255, name: "Mumpf" },
|
|
762
|
+
{ id: 4256, name: "Obermumpf" },
|
|
763
|
+
{ id: 4257, name: "Olsberg" },
|
|
764
|
+
{ id: 4258, name: "Rheinfelden" },
|
|
765
|
+
{ id: 4259, name: "Schupfart" },
|
|
766
|
+
{ id: 4260, name: "Stein (AG)" },
|
|
767
|
+
{ id: 4261, name: "Wallbach" },
|
|
768
|
+
{ id: 4262, name: "Wegenstetten" },
|
|
769
|
+
{ id: 4263, name: "Zeiningen" },
|
|
770
|
+
{ id: 4264, name: "Zuzgen" },
|
|
771
|
+
{ id: 4271, name: "Aarburg" },
|
|
772
|
+
{ id: 4273, name: "Bottenwil" },
|
|
773
|
+
{ id: 4274, name: "Brittnau" },
|
|
774
|
+
{ id: 4275, name: "Kirchleerau" },
|
|
775
|
+
{ id: 4276, name: "Kölliken" },
|
|
776
|
+
{ id: 4277, name: "Moosleerau" },
|
|
777
|
+
{ id: 4279, name: "Murgenthal" },
|
|
778
|
+
{ id: 4280, name: "Oftringen" },
|
|
779
|
+
{ id: 4281, name: "Reitnau" },
|
|
780
|
+
{ id: 4282, name: "Rothrist" },
|
|
781
|
+
{ id: 4283, name: "Safenwil" },
|
|
782
|
+
{ id: 4284, name: "Staffelbach" },
|
|
783
|
+
{ id: 4285, name: "Strengelbach" },
|
|
784
|
+
{ id: 4286, name: "Uerkheim" },
|
|
785
|
+
{ id: 4287, name: "Vordemwald" },
|
|
786
|
+
{ id: 4288, name: "Wiliberg" },
|
|
787
|
+
{ id: 4289, name: "Zofingen" },
|
|
788
|
+
{ id: 4303, name: "Böttstein" },
|
|
789
|
+
{ id: 4304, name: "Döttingen" },
|
|
790
|
+
{ id: 4305, name: "Endingen" },
|
|
791
|
+
{ id: 4306, name: "Fisibach" },
|
|
792
|
+
{ id: 4307, name: "Full-Reuenthal" },
|
|
793
|
+
{ id: 4309, name: "Klingnau" },
|
|
794
|
+
{ id: 4310, name: "Koblenz" },
|
|
795
|
+
{ id: 4311, name: "Leibstadt" },
|
|
796
|
+
{ id: 4312, name: "Lengnau (AG)" },
|
|
797
|
+
{ id: 4313, name: "Leuggern" },
|
|
798
|
+
{ id: 4314, name: "Mellikon" },
|
|
799
|
+
{ id: 4318, name: "Schneisingen" },
|
|
800
|
+
{ id: 4319, name: "Siglistorf" },
|
|
801
|
+
{ id: 4320, name: "Tegerfelden" },
|
|
802
|
+
{ id: 4324, name: "Zurzach" },
|
|
803
|
+
],
|
|
606
804
|
};
|
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
locality=(changeset-get
|
|
171
171
|
changeset "building.buildingEntrance.locality"
|
|
172
172
|
)
|
|
173
|
-
validationPath="street.description.descriptionLong"
|
|
173
|
+
validationPath="building.buildingEntrance.street.description.descriptionLong"
|
|
174
174
|
}}
|
|
175
175
|
@on-update={{fn this.syncLocalityWithStreet changeset}}
|
|
176
176
|
@required={{true}}
|
|
@@ -296,7 +296,7 @@
|
|
|
296
296
|
@attr="typeOfClient"
|
|
297
297
|
@gwrEnumOptions={{this.choiceOptions.typeOfClientOptions}}
|
|
298
298
|
/>
|
|
299
|
-
{{#if (
|
|
299
|
+
{{#if (this.isClientMismatch changeset)}}
|
|
300
300
|
<div class="uk-alert uk-alert-danger">
|
|
301
301
|
{{t "ember-gwr.constructionProject.fields.typeOfClientAlert"}}
|
|
302
302
|
</div>
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
<TableRowColumn @attr="officialConstructionProjectFileNo" />
|
|
99
99
|
<TableRowColumn @attr="constructionProjectDescription" />
|
|
100
100
|
<TableRowColumn @attr="EPROID" as |value|>
|
|
101
|
-
<InstanceLink @links={{
|
|
101
|
+
<InstanceLink @links={{this.getEproidLinks value}} />
|
|
102
102
|
</TableRowColumn>
|
|
103
103
|
<TableRowColumn @attr="projectStatus" as |value|>
|
|
104
104
|
{{#if value}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ember-ebau-gwr",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.1.1",
|
|
4
4
|
"description": "Ember engine to integrate ebau-gwr into an ember app.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon",
|
|
@@ -37,7 +37,6 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@babel/core": "^7.26.7",
|
|
40
|
-
"@ember/legacy-built-in-components": "^0.5.0",
|
|
41
40
|
"@ember/render-modifiers": "^2.1.0",
|
|
42
41
|
"@fortawesome/ember-fontawesome": "^2.0.0",
|
|
43
42
|
"@fortawesome/free-regular-svg-icons": "^6.7.2",
|
|
@@ -50,7 +49,6 @@
|
|
|
50
49
|
"ember-changeset-validations": "^4.1.1",
|
|
51
50
|
"ember-cli-babel": "^8.2.0",
|
|
52
51
|
"ember-cli-htmlbars": "^6.3.0",
|
|
53
|
-
"ember-composable-helpers": "^5.0.0",
|
|
54
52
|
"ember-concurrency": "^4.0.2",
|
|
55
53
|
"ember-engines-router-service": "^0.6.0",
|
|
56
54
|
"ember-flatpickr": "^8.0.1",
|
|
@@ -68,55 +66,57 @@
|
|
|
68
66
|
"reactiveweb": "^1.3.0"
|
|
69
67
|
},
|
|
70
68
|
"devDependencies": {
|
|
71
|
-
"@adfinis/eslint-config": "3.0.
|
|
72
|
-
"@adfinis/semantic-release-config": "
|
|
69
|
+
"@adfinis/eslint-config": "3.0.2",
|
|
70
|
+
"@adfinis/semantic-release-config": "6.0.0",
|
|
73
71
|
"@babel/eslint-parser": "7.26.5",
|
|
74
72
|
"@babel/plugin-proposal-decorators": "7.25.9",
|
|
75
73
|
"@ember-data/model": "5.3.9",
|
|
76
|
-
"@ember/optional-features": "
|
|
77
|
-
"@ember/test-helpers": "5.
|
|
74
|
+
"@ember/optional-features": "3.0.0",
|
|
75
|
+
"@ember/test-helpers": "5.4.2",
|
|
76
|
+
"@ember/test-waiters": "^3.1.0",
|
|
78
77
|
"@embroider/test-setup": "4.0.0",
|
|
79
78
|
"@fortawesome/fontawesome-svg-core": "6.7.2",
|
|
80
79
|
"broccoli-asset-rev": "3.0.0",
|
|
81
80
|
"concurrently": "9.1.2",
|
|
82
|
-
"ember-cli": "6.
|
|
81
|
+
"ember-cli": "6.12.0",
|
|
83
82
|
"ember-cli-clean-css": "3.0.0",
|
|
84
83
|
"ember-cli-dependency-checker": "3.3.3",
|
|
85
84
|
"ember-cli-inject-live-reload": "2.1.0",
|
|
86
|
-
"ember-cli-mirage": "3.0.4",
|
|
87
85
|
"ember-cli-sass": "11.0.1",
|
|
88
86
|
"ember-cli-sri": "2.1.1",
|
|
89
87
|
"ember-cli-terser": "4.0.2",
|
|
90
88
|
"ember-data": "5.3.9",
|
|
91
89
|
"ember-engines": "0.11.0",
|
|
90
|
+
"ember-inflector": "^6.0.0",
|
|
91
|
+
"ember-mirage": "^0.4.3",
|
|
92
92
|
"ember-qunit": "9.0.1",
|
|
93
93
|
"ember-source": "6.1.0",
|
|
94
94
|
"ember-source-channel-url": "3.0.0",
|
|
95
|
-
"ember-template-lint": "
|
|
95
|
+
"ember-template-lint": "7.9.3",
|
|
96
96
|
"ember-template-lint-plugin-prettier": "5.0.0",
|
|
97
|
-
"ember-test-selectors": "7.
|
|
97
|
+
"ember-test-selectors": "7.1.0",
|
|
98
98
|
"ember-try": "3.0.0",
|
|
99
99
|
"eslint": "9.19.0",
|
|
100
100
|
"eslint-config-prettier": "10.0.1",
|
|
101
|
-
"eslint-plugin-ember": "12.
|
|
102
|
-
"eslint-plugin-import": "2.
|
|
101
|
+
"eslint-plugin-ember": "12.5.0",
|
|
102
|
+
"eslint-plugin-import": "2.32.0",
|
|
103
103
|
"eslint-plugin-n": "17.15.1",
|
|
104
104
|
"eslint-plugin-prettier": "5.2.3",
|
|
105
|
-
"eslint-plugin-qunit": "8.
|
|
105
|
+
"eslint-plugin-qunit": "8.2.6",
|
|
106
106
|
"loader.js": "4.7.0",
|
|
107
107
|
"local-cors-proxy": "1.1.0",
|
|
108
108
|
"miragejs": "0.1.48",
|
|
109
|
-
"prettier": "3.
|
|
110
|
-
"qunit": "2.
|
|
109
|
+
"prettier": "3.8.3",
|
|
110
|
+
"qunit": "2.25.0",
|
|
111
111
|
"qunit-dom": "3.4.0",
|
|
112
112
|
"sass": "1.83.4",
|
|
113
113
|
"semantic-release": "24.2.1",
|
|
114
|
-
"stylelint": "16.
|
|
114
|
+
"stylelint": "16.26.1",
|
|
115
115
|
"stylelint-config-standard-scss": "14.0.0",
|
|
116
116
|
"stylelint-prettier": "5.0.3",
|
|
117
117
|
"stylelint-scss": "6.10.1",
|
|
118
|
-
"uikit": "3.
|
|
119
|
-
"webpack": "5.
|
|
118
|
+
"uikit": "3.25.16",
|
|
119
|
+
"webpack": "5.98.0"
|
|
120
120
|
},
|
|
121
121
|
"engines": {
|
|
122
122
|
"node": ">= 18"
|