@livinglogic/livingapi 0.13.0 → 0.14.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 +41 -0
- 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-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 +3 -3
- package/rollup.config.js +1 -1
- package/src/livingapi.js +3518 -387
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,46 @@
|
|
|
1
1
|
# Changes
|
|
2
2
|
|
|
3
|
+
## 0.14.0 (2002-06-14)
|
|
4
|
+
|
|
5
|
+
Merged form functionality into the LivingAPI, i.e. in mode `form/*/*` when
|
|
6
|
+
getting or setting field attributes of fields of the global `record` variable,
|
|
7
|
+
values are fetched from/set on the DOM.
|
|
8
|
+
|
|
9
|
+
Added support for UL4 type objects for all LivingAPI classes.
|
|
10
|
+
|
|
11
|
+
Added support for custom attributes (whose name starts with `x_`) to most
|
|
12
|
+
LivingAPI classes.
|
|
13
|
+
|
|
14
|
+
Added several shortcut attributes for layout controls and parameters.
|
|
15
|
+
|
|
16
|
+
`Globals` now supports the standard LivingAPI logging functions
|
|
17
|
+
(`Globals.log_debug()` etc.) They log to the Javascript console.
|
|
18
|
+
|
|
19
|
+
Added `ButtonLayoutControl`.
|
|
20
|
+
|
|
21
|
+
Added `Globals.current_geo()` which returns the current geographical location
|
|
22
|
+
(which must be set beforehand via `Globals.set_current_geo()`).
|
|
23
|
+
|
|
24
|
+
Added attributes to `NumberControl`: `precision`, `minimum` and `maximum`.
|
|
25
|
+
|
|
26
|
+
Updated `File` attributes: Added `url`, `archived_url`, `archive` and `geo`.
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
## 0.13.2 (2022-02-22)
|
|
30
|
+
|
|
31
|
+
Fixed handling of `ul4.Date_` objects in `DateFieldBase.validate()`
|
|
32
|
+
(and subclasses).
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
## 0.13.1 (2021-12-22)
|
|
36
|
+
|
|
37
|
+
Fixed creating `Field` objects: Now for each control type the matching field
|
|
38
|
+
type will be used: e.g. the value for a `StringControl` will be in a
|
|
39
|
+
`StringField`.
|
|
40
|
+
|
|
41
|
+
Fix setting the initial value of a field: Now the value goes through the
|
|
42
|
+
normal field validation.
|
|
43
|
+
|
|
3
44
|
|
|
4
45
|
## 0.13.0 (2021-11-30)
|
|
5
46
|
|
package/README.md
CHANGED
|
@@ -41,7 +41,7 @@ do
|
|
|
41
41
|
|
|
42
42
|
```html
|
|
43
43
|
<script type="module">
|
|
44
|
-
import * as la from '/static/livingapi/0.
|
|
44
|
+
import * as la from '/static/livingapi/0.13.0/dist/esm-static/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 '/static/ul4/1.
|
|
54
|
-
import * as la from '/static/livingapi/0.
|
|
53
|
+
import * as ul4 from '/static/ul4/1.11.0/dist/esm/ul4.js';
|
|
54
|
+
import * as la from '/static/livingapi/0.13.0/dist/esm-static/livingapi.js';
|
|
55
55
|
...
|
|
56
56
|
</script>
|
|
57
57
|
```
|