@livinglogic/livingapi 1.34.0 → 1.35.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 +15 -0
- package/README.md +2 -2
- package/dist/esm-node/livingapi.js +1 -1
- package/dist/esm-node/livingapi.js.map +1 -1
- package/dist/esm-npm/livingapi.js +1 -1
- package/dist/esm-npm/livingapi.js.map +1 -1
- package/dist/esm-static/livingapi.js +1 -1
- package/dist/esm-static/livingapi.js.map +1 -1
- package/dist/umd/livingapi.js +1 -1
- package/dist/umd/livingapi.js.map +1 -1
- package/package.json +1 -1
- package/src/livingapi.js +66 -30
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Changes
|
|
2
2
|
|
|
3
|
+
## 1.35.0 (2026-08-28)
|
|
4
|
+
|
|
5
|
+
The eight `typename_*` attributes of `AppLang` have been replaced by the
|
|
6
|
+
new read-only attribute `typenames`: a map that maps noun form identifiers
|
|
7
|
+
(e.g. `nom_sin` for nominative singular) to the type name in that form.
|
|
8
|
+
This supports arbitrary per-language forms instead of the fixed eight German
|
|
9
|
+
forms. The `typename_*` attributes of the `App` itself are unchanged
|
|
10
|
+
(they hold the system language version); their getters now take the `typenames`
|
|
11
|
+
map of the translation for the current language into account.
|
|
12
|
+
|
|
13
|
+
`App` has a new read-only attribute `typenames` that mirrors the `typenames`
|
|
14
|
+
map of the translation for the current language (`globals.lang`), falling
|
|
15
|
+
back to the noun forms for the system language.
|
|
16
|
+
|
|
17
|
+
|
|
3
18
|
## 1.34.0 (2026-08-19)
|
|
4
19
|
|
|
5
20
|
Added support for the translations of the multilingual attributes of apps,
|
package/README.md
CHANGED
|
@@ -40,7 +40,7 @@ do
|
|
|
40
40
|
|
|
41
41
|
```html
|
|
42
42
|
<script type="module">
|
|
43
|
-
import * as la from '/npm/@livinglogic/livingapi@1.
|
|
43
|
+
import * as la from '/npm/@livinglogic/livingapi@1.35.0/dist/esm-npm/livingapi.js';
|
|
44
44
|
...
|
|
45
45
|
</script>
|
|
46
46
|
```
|
|
@@ -50,7 +50,7 @@ or (if you need both UL4 and LivingAPI):
|
|
|
50
50
|
```html
|
|
51
51
|
<script type="module">
|
|
52
52
|
import * as ul4 from '/npm/@livinglogic/ul4@1.19.0/dist/esm/ul4.js';
|
|
53
|
-
import * as la from '/npm/@livinglogic/livingapi@1.
|
|
53
|
+
import * as la from '/npm/@livinglogic/livingapi@1.35.0/dist/esm-npm/livingapi.js';
|
|
54
54
|
...
|
|
55
55
|
</script>
|
|
56
56
|
```
|