@livinglogic/livingapi 1.13.0 → 1.15.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 +18 -0
- package/HOWTO-release.md +2 -2
- package/README.md +3 -3
- 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 +2 -2
- package/src/livingapi.js +108 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Changes
|
|
2
2
|
|
|
3
|
+
## 1.14.0 (2024-11-25)
|
|
4
|
+
|
|
5
|
+
Setting a `BoolField` to an empty string now sets the value to `None`. Setting
|
|
6
|
+
it to a case insensitive version of `"false"`, `"off"`, `"0"` or `"no"` sets
|
|
7
|
+
it to `False`.
|
|
8
|
+
|
|
9
|
+
Added `App` attributes `gramgen`, `typename_nom_sin`, `typename_gen_sin`,
|
|
10
|
+
`typename_dat_sin`, `typename_acc_sin`, `typename_nom_plu`, `typename_gen_plu`,
|
|
11
|
+
`typename_dat_plu` and `typename_acc_plu` which provide a name for the type
|
|
12
|
+
of records of an app.
|
|
13
|
+
|
|
14
|
+
Added classes `DataSourceChildren` and `RecordChildren` which provide an
|
|
15
|
+
enhanced way to store record children.
|
|
16
|
+
|
|
17
|
+
Add `Field.mode` which inherits `Control.mode` but can be changed.
|
|
18
|
+
|
|
19
|
+
Fixed super constructor call in `AppLookupChoiceField.constructor`.
|
|
20
|
+
|
|
3
21
|
## 1.13.0 (2024-11-07)
|
|
4
22
|
|
|
5
23
|
Setting a `BoolField` to an empty string now sets the value to `False`.
|
package/HOWTO-release.md
CHANGED
|
@@ -31,11 +31,11 @@ you see.
|
|
|
31
31
|
incorporated into the generated source and the generated source is checked
|
|
32
32
|
in, you have to build the release files, after you update the version number
|
|
33
33
|
like this:
|
|
34
|
-
|
|
34
|
+
|
|
35
35
|
```
|
|
36
36
|
npm run build
|
|
37
37
|
```
|
|
38
|
-
|
|
38
|
+
|
|
39
39
|
This should rebuild `dist/umd/livingapi.js`, `dist/umd/livingapi.js.map`,
|
|
40
40
|
`dist/esm-node/livingapi.js`, `dist/esm-node/livingapi.js.map`,
|
|
41
41
|
`dist/esm-static/livingapi.js` and `dist/esm-static/livingapi.js.map`.
|
package/README.md
CHANGED
|
@@ -41,7 +41,7 @@ do
|
|
|
41
41
|
|
|
42
42
|
```html
|
|
43
43
|
<script type="module">
|
|
44
|
-
import * as la from '/npm/@livinglogic/livingapi@1.
|
|
44
|
+
import * as la from '/npm/@livinglogic/livingapi@1.15.0/dist/esm-npm/livingapi.js';
|
|
45
45
|
...
|
|
46
46
|
</script>
|
|
47
47
|
```
|
|
@@ -50,8 +50,8 @@ or (if you need both UL4 and LivingAPI):
|
|
|
50
50
|
|
|
51
51
|
```html
|
|
52
52
|
<script type="module">
|
|
53
|
-
import * as ul4 from '/npm/@livinglogic/ul4@1.
|
|
54
|
-
import * as la from '/npm/@livinglogic/livingapi@1.
|
|
53
|
+
import * as ul4 from '/npm/@livinglogic/ul4@1.18.0/dist/esm/ul4.js';
|
|
54
|
+
import * as la from '/npm/@livinglogic/livingapi@1.15.0/dist/esm-npm/livingapi.js';
|
|
55
55
|
...
|
|
56
56
|
</script>
|
|
57
57
|
```
|