ember-ebau-gwr 6.4.0 → 7.0.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/CHANGELOG.md +19 -0
- package/README.md +8 -6
- package/addon/controllers/building/edit/entrance/edit/link-street.js +0 -1
- package/app/styles/ember-ebau-gwr.scss +10 -7
- package/index.js +1 -1
- package/package.json +38 -30
- package/translations/de.yaml +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
# [7.0.0](https://github.com/inosca/ember-ebau-gwr/compare/v6.4.1...v7.0.0) (2023-05-01)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### chore
|
|
5
|
+
|
|
6
|
+
* **deps:** update dependencies ([c3035de](https://github.com/inosca/ember-ebau-gwr/commit/c3035de22b22edb112c2f0d35aac08dfedc08126))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### BREAKING CHANGES
|
|
10
|
+
|
|
11
|
+
* **deps:** Drop support for Ember v3.
|
|
12
|
+
|
|
13
|
+
## [6.4.1](https://github.com/inosca/ember-ebau-gwr/compare/v6.4.0...v6.4.1) (2023-04-11)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* **intl:** correct typos in login info text ([46f60ee](https://github.com/inosca/ember-ebau-gwr/commit/46f60eecdb037a5420a53820bb9df68a6189b0b9))
|
|
19
|
+
|
|
1
20
|
# [6.4.0](https://github.com/inosca/ember-ebau-gwr/compare/v6.3.5...v6.4.0) (2023-03-20)
|
|
2
21
|
|
|
3
22
|
|
package/README.md
CHANGED
|
@@ -13,8 +13,8 @@ yarn start
|
|
|
13
13
|
|
|
14
14
|
## Compatibility
|
|
15
15
|
|
|
16
|
-
- Ember.js
|
|
17
|
-
- Ember CLI
|
|
16
|
+
- Ember.js v4.4 or above
|
|
17
|
+
- Ember CLI v4.4 or above
|
|
18
18
|
- Node.js v14 or above
|
|
19
19
|
|
|
20
20
|
## Installation
|
|
@@ -33,17 +33,19 @@ this.mount("ember-ebau-gwr", { as: "gwr", path: "gwr/:id" });
|
|
|
33
33
|
```
|
|
34
34
|
|
|
35
35
|
### Enviroment configuration
|
|
36
|
+
|
|
36
37
|
In your `config/environment.js` you need to define the following option for
|
|
37
38
|
`changeset-validations`. We use this feature to generate translated errors:
|
|
39
|
+
|
|
38
40
|
```js
|
|
39
41
|
"changeset-validations": { rawOutput: true },
|
|
40
42
|
```
|
|
41
43
|
|
|
42
44
|
> **Important**
|
|
43
45
|
> This currentlry has the limitation, that if your app uses
|
|
44
|
-
`changeset-validations` itself, this option changes the behaviour in the whole
|
|
45
|
-
app. Due to engine config restrictions, there is sadly currently no other way
|
|
46
|
-
than maybe implementing something on build-pipeline level.
|
|
46
|
+
> `changeset-validations` itself, this option changes the behaviour in the whole
|
|
47
|
+
> app. Due to engine config restrictions, there is sadly currently no other way
|
|
48
|
+
> than maybe implementing something on build-pipeline level.
|
|
47
49
|
|
|
48
50
|
### Styling
|
|
49
51
|
|
|
@@ -84,7 +86,7 @@ The config service is used to pass config to the engine. The following propertie
|
|
|
84
86
|
| `authToken` | `String` | The authentication toke from the host app. |
|
|
85
87
|
| `camacGroup` | `String\|Number` | The current camac group of the user. |
|
|
86
88
|
| `pageSize` | `Number` | The page size which the gwr api should return. |
|
|
87
|
-
| `modalContainer` | `CSS Selector` | A CSS selector to render the modals in.
|
|
89
|
+
| `modalContainer` | `CSS Selector` | A CSS selector to render the modals in. |
|
|
88
90
|
|
|
89
91
|
All values should follow the officially used format.
|
|
90
92
|
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
$ember-ebau-gwr-required-color: $alert-danger-color !default;
|
|
12
|
+
|
|
12
13
|
.required-indicator {
|
|
13
14
|
color: $ember-ebau-gwr-required-color;
|
|
14
15
|
}
|
|
@@ -38,12 +39,6 @@ $ember-ebau-gwr-required-color: $alert-danger-color !default;
|
|
|
38
39
|
height: 24.5px;
|
|
39
40
|
}
|
|
40
41
|
|
|
41
|
-
#ember-ebau-gwr-header-errors {
|
|
42
|
-
li:last-child {
|
|
43
|
-
padding-bottom: $padding-padding;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
42
|
.ember-ebau-gwr-label-color-danger {
|
|
48
43
|
color: $alert-danger-color;
|
|
49
44
|
border: 1px solid $alert-danger-color;
|
|
@@ -88,6 +83,7 @@ $ember-ebau-gwr-required-color: $alert-danger-color !default;
|
|
|
88
83
|
|
|
89
84
|
.ember-ebau-gwr-projects-header {
|
|
90
85
|
@extend .uk-box-shadow-small, .uk-margin-large, .uk-background-muted;
|
|
86
|
+
|
|
91
87
|
border: 1px solid #e5e5e5;
|
|
92
88
|
|
|
93
89
|
table {
|
|
@@ -109,12 +105,19 @@ $ember-ebau-gwr-required-color: $alert-danger-color !default;
|
|
|
109
105
|
}
|
|
110
106
|
}
|
|
111
107
|
|
|
108
|
+
#ember-ebau-gwr-header-errors {
|
|
109
|
+
li:last-child {
|
|
110
|
+
padding-bottom: $padding-padding;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
112
114
|
.ember-ebau-gwr-title-card {
|
|
113
115
|
.title-card-content {
|
|
114
116
|
margin-top: 100px;
|
|
115
117
|
|
|
116
118
|
.title-card-text {
|
|
117
119
|
@extend .uk-text-large, .uk-text-light;
|
|
120
|
+
|
|
118
121
|
white-space: pre-line;
|
|
119
122
|
line-height: 1.5;
|
|
120
123
|
margin-top: 10px;
|
|
@@ -142,4 +145,4 @@ $ember-ebau-gwr-required-color: $alert-danger-color !default;
|
|
|
142
145
|
|
|
143
146
|
.margin-right-xs {
|
|
144
147
|
margin-right: 5px;
|
|
145
|
-
}
|
|
148
|
+
}
|
package/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
/* eslint-disable
|
|
3
|
+
/* eslint-disable ember/avoid-leaking-state-in-ember-objects */
|
|
4
4
|
const EngineAddon = require("ember-engines/lib/engine-addon");
|
|
5
5
|
|
|
6
6
|
module.exports = EngineAddon.extend({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ember-ebau-gwr",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0",
|
|
4
4
|
"description": "Ember engine to integrate ebau-gwr into an ember app.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon",
|
|
@@ -16,6 +16,8 @@
|
|
|
16
16
|
"scripts": {
|
|
17
17
|
"build": "ember build --environment=production",
|
|
18
18
|
"lint": "concurrently \"npm:lint:*(!fix)\" --names \"lint:\"",
|
|
19
|
+
"lint:css": "stylelint \"**/*.scss\"",
|
|
20
|
+
"lint:css:fix": "concurrently \"npm:lint:css -- --fix\"",
|
|
19
21
|
"lint:fix": "concurrently \"npm:lint:*:fix\" --names \"fix:\"",
|
|
20
22
|
"lint:hbs": "ember-template-lint .",
|
|
21
23
|
"lint:hbs:fix": "ember-template-lint . --fix",
|
|
@@ -28,77 +30,83 @@
|
|
|
28
30
|
"test:ember-compatibility": "ember try:each"
|
|
29
31
|
},
|
|
30
32
|
"peerDependencies": {
|
|
31
|
-
"ember-engines": "
|
|
32
|
-
"ember-source": "^
|
|
33
|
+
"ember-engines": "^0.9.0",
|
|
34
|
+
"ember-source": "^4.0.0"
|
|
33
35
|
},
|
|
34
36
|
"dependencies": {
|
|
35
37
|
"@ember/legacy-built-in-components": "^0.4.2",
|
|
36
38
|
"@ember/render-modifiers": "^2.0.4",
|
|
37
39
|
"@fortawesome/ember-fontawesome": "^0.4.1",
|
|
38
|
-
"@fortawesome/free-regular-svg-icons": "^6.
|
|
39
|
-
"@fortawesome/free-solid-svg-icons": "^6.
|
|
40
|
+
"@fortawesome/free-regular-svg-icons": "^6.4.0",
|
|
41
|
+
"@fortawesome/free-solid-svg-icons": "^6.4.0",
|
|
40
42
|
"@glimmer/component": "^1.1.2",
|
|
41
43
|
"@glimmer/tracking": "^1.1.2",
|
|
42
|
-
"ember-auto-import": "^2.6.
|
|
44
|
+
"ember-auto-import": "^2.6.3",
|
|
43
45
|
"ember-changeset": "^4.1.2",
|
|
44
46
|
"ember-changeset-validations": "^4.1.1",
|
|
45
47
|
"ember-cli-babel": "^7.26.11",
|
|
46
48
|
"ember-cli-htmlbars": "^6.2.0",
|
|
47
49
|
"ember-composable-helpers": "^5.0.0",
|
|
48
50
|
"ember-concurrency": "^2.3.7",
|
|
49
|
-
"ember-data": "^3.28.
|
|
51
|
+
"ember-data": "^3.28.13",
|
|
50
52
|
"ember-engines-router-service": "0.3.0",
|
|
51
|
-
"ember-flatpickr": "^
|
|
53
|
+
"ember-flatpickr": "^4.0.0",
|
|
52
54
|
"ember-intl": "^5.7.2",
|
|
53
|
-
"ember-power-select": "^
|
|
54
|
-
"ember-resources": "^5.6.
|
|
55
|
+
"ember-power-select": "^7.0.0",
|
|
56
|
+
"ember-resources": "^5.6.4",
|
|
55
57
|
"ember-truth-helpers": "^3.1.1",
|
|
56
|
-
"ember-uikit": "^
|
|
58
|
+
"ember-uikit": "^8.0.0",
|
|
57
59
|
"ember-validated-form": "^6.2.0",
|
|
58
60
|
"handlebars": "^4.7.7",
|
|
59
|
-
"luxon": "^3.
|
|
61
|
+
"luxon": "^3.3.0"
|
|
60
62
|
},
|
|
61
63
|
"devDependencies": {
|
|
62
|
-
"@adfinis
|
|
63
|
-
"@adfinis
|
|
64
|
+
"@adfinis/eslint-config": "2.0.0",
|
|
65
|
+
"@adfinis/semantic-release-config": "4.0.0",
|
|
66
|
+
"@babel/eslint-parser": "7.21.3",
|
|
67
|
+
"@babel/plugin-proposal-decorators": "7.21.0",
|
|
64
68
|
"@ember/optional-features": "2.0.0",
|
|
69
|
+
"@ember/string": "3.0.1",
|
|
65
70
|
"@ember/test-helpers": "2.9.3",
|
|
66
71
|
"@embroider/test-setup": "2.1.1",
|
|
67
|
-
"babel-eslint": "10.1.0",
|
|
68
72
|
"broccoli-asset-rev": "3.0.0",
|
|
69
|
-
"concurrently": "
|
|
70
|
-
"ember-cli": "4.
|
|
73
|
+
"concurrently": "8.0.1",
|
|
74
|
+
"ember-cli": "4.12.1",
|
|
71
75
|
"ember-cli-dependency-checker": "3.3.1",
|
|
72
76
|
"ember-cli-inject-live-reload": "2.1.0",
|
|
73
77
|
"ember-cli-mirage": "3.0.0-alpha.3",
|
|
74
78
|
"ember-cli-sass": "11.0.1",
|
|
75
79
|
"ember-cli-sri": "2.1.1",
|
|
76
80
|
"ember-cli-terser": "4.0.2",
|
|
77
|
-
"ember-engines": "0.
|
|
81
|
+
"ember-engines": "0.9.0",
|
|
78
82
|
"ember-load-initializers": "2.1.2",
|
|
79
|
-
"ember-qunit": "6.
|
|
80
|
-
"ember-resolver": "
|
|
81
|
-
"ember-source": "4.
|
|
83
|
+
"ember-qunit": "6.2.0",
|
|
84
|
+
"ember-resolver": "10.0.0",
|
|
85
|
+
"ember-source": "4.12.0",
|
|
82
86
|
"ember-source-channel-url": "3.0.0",
|
|
83
|
-
"ember-template-lint": "5.
|
|
87
|
+
"ember-template-lint": "5.7.3",
|
|
84
88
|
"ember-template-lint-plugin-prettier": "4.1.0",
|
|
85
89
|
"ember-test-selectors": "6.0.0",
|
|
86
90
|
"ember-try": "2.0.0",
|
|
87
|
-
"eslint": "
|
|
88
|
-
"eslint-config-prettier": "8.
|
|
89
|
-
"eslint-plugin-ember": "11.
|
|
91
|
+
"eslint": "8.39.0",
|
|
92
|
+
"eslint-config-prettier": "8.8.0",
|
|
93
|
+
"eslint-plugin-ember": "11.5.2",
|
|
90
94
|
"eslint-plugin-import": "2.27.5",
|
|
91
|
-
"eslint-plugin-
|
|
95
|
+
"eslint-plugin-n": "15.7.0",
|
|
92
96
|
"eslint-plugin-prettier": "4.2.1",
|
|
93
97
|
"eslint-plugin-qunit": "7.3.4",
|
|
94
98
|
"loader.js": "4.7.0",
|
|
95
99
|
"local-cors-proxy": "1.1.0",
|
|
96
100
|
"miragejs": "0.1.47",
|
|
97
|
-
"prettier": "2.8.
|
|
101
|
+
"prettier": "2.8.8",
|
|
98
102
|
"qunit": "2.19.4",
|
|
99
103
|
"qunit-dom": "2.0.0",
|
|
100
|
-
"sass": "1.
|
|
101
|
-
"
|
|
104
|
+
"sass": "1.62.1",
|
|
105
|
+
"stylelint": "15.6.0",
|
|
106
|
+
"stylelint-config-standard-scss": "9.0.0",
|
|
107
|
+
"stylelint-prettier": "3.0.0",
|
|
108
|
+
"stylelint-scss": "5.0.0",
|
|
109
|
+
"webpack": "5.81.0"
|
|
102
110
|
},
|
|
103
111
|
"engines": {
|
|
104
112
|
"node": "14.* || 16.* || >= 18"
|
|
@@ -110,6 +118,6 @@
|
|
|
110
118
|
"configPath": "tests/dummy/config"
|
|
111
119
|
},
|
|
112
120
|
"release": {
|
|
113
|
-
"extends": "@adfinis
|
|
121
|
+
"extends": "@adfinis/semantic-release-config"
|
|
114
122
|
}
|
|
115
123
|
}
|
package/translations/de.yaml
CHANGED
|
@@ -239,7 +239,7 @@ ember-gwr:
|
|
|
239
239
|
municipalitySearch: Gemeinde suchen...
|
|
240
240
|
municipalityNoneFound: Es wurde keine Gemeinde gefunden
|
|
241
241
|
loginInfo: "<b>{user}</b> angemeldet in <b>{municipality}</b>"
|
|
242
|
-
loginIssueContact: "<b>Falls
|
|
242
|
+
loginIssueContact: "<b>Falls Sie sich nicht anmelden können, melden Sie sich direkt bei...</b><br><br>Hotline<br>housing-stat@bfs.admin.ch<br>0800 866 600<br>Von Montag bis Freitag<br>08:30-11:30 und 14:00-16:00"
|
|
243
243
|
|
|
244
244
|
logout: Abmelden
|
|
245
245
|
|