@metadev/daga 5.1.1 → 5.1.3
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 +13 -0
- package/README.md +78 -78
- package/index.cjs.js +1280 -1167
- package/index.esm.js +1280 -1167
- package/package.json +1 -1
- package/src/lib/diagram/canvas/diagram-canvas-util.d.ts +9 -3
- package/src/lib/diagram/canvas/diagram-canvas.d.ts +8 -51
- package/src/lib/diagram/canvas/diagram-context-menu.d.ts +1 -3
- package/src/lib/diagram/canvas/diagram-user-highlight.d.ts +1 -6
- package/src/lib/diagram/canvas/diagram-user-selection.d.ts +1 -5
- package/src/lib/diagram/collab/collab-action.d.ts +1 -1
- package/src/lib/diagram/collab/collab-client.d.ts +1 -23
- package/src/lib/diagram/config/diagram-config.d.ts +5 -0
- package/src/lib/diagram/diagram-action.d.ts +2 -6
- package/src/lib/diagram/model/diagram-connection.d.ts +3 -3
- package/src/lib/diagram/model/diagram-decorator.d.ts +1 -1
- package/src/lib/diagram/model/diagram-element.d.ts +1 -1
- package/src/lib/diagram/model/diagram-field.d.ts +2 -2
- package/src/lib/diagram/model/diagram-node.d.ts +15 -3
- package/src/lib/diagram/model/diagram-object.d.ts +1 -1
- package/src/lib/diagram/model/diagram-port.d.ts +3 -3
- package/src/lib/diagram/model/diagram-section.d.ts +1 -1
- package/src/lib/diagram/property/value.d.ts +1 -16
- package/src/lib/interfaces/canvas.d.ts +15 -4
- package/src/lib/util/grid.d.ts +1 -3
package/Changelog.md
CHANGED
|
@@ -6,6 +6,19 @@ List of releases and changes.
|
|
|
6
6
|
|
|
7
7
|
## Next release
|
|
8
8
|
|
|
9
|
+
## 5.1.3
|
|
10
|
+
|
|
11
|
+
- Fix bug where `EditFieldAction` is not triggered if `openTextInput()` was not called programmatically [#409](https://github.com/metadevpro/daga/pull/409)
|
|
12
|
+
- Update nx to version 23 [#410](https://github.com/metadevpro/daga/pull/410)
|
|
13
|
+
- Make properties `readonly` where applicable [#411](https://github.com/metadevpro/daga/pull/411)
|
|
14
|
+
- Use octothorpe `#` demarked private fields always instead of mixing octothorpe JavaScript private fields with TypeScript access modifiers [#411](https://github.com/metadevpro/daga/pull/411)
|
|
15
|
+
|
|
16
|
+
## 5.1.2
|
|
17
|
+
|
|
18
|
+
- Add `z` property to node types to enable configuring the relative render order of nodes [#405](https://github.com/metadevpro/daga/pull/405)
|
|
19
|
+
- Add `bringToFront` and `sendToBack` methods in canvas to easily move the `z` order of nodes [#405](https://github.com/metadevpro/daga/pull/405)
|
|
20
|
+
- Fix bug where drag and drop from palette does not work in dockview [#406](https://github.com/metadevpro/daga/pull/406)
|
|
21
|
+
|
|
9
22
|
## 5.1.1
|
|
10
23
|
|
|
11
24
|
- Fix broken center functionality [#401](https://github.com/metadevpro/daga/pull/401)
|
package/README.md
CHANGED
|
@@ -1,78 +1,78 @@
|
|
|
1
|
-
# Daga
|
|
2
|
-
|
|
3
|
-

|
|
4
|
-
|
|
5
|
-
Diagramming library for models.
|
|
6
|
-
|
|
7
|
-
[Daga documentation and tutorial](https://daga.metadev.pro)
|
|
8
|
-
[Daga product page](https://metadev.pro/products/daga/).
|
|
9
|
-
Made and comercial suport by [Metadev](https://metadev.pro).
|
|
10
|
-
|
|
11
|
-
## Diagram Example
|
|
12
|
-
|
|
13
|
-

|
|
14
|
-
|
|
15
|
-
## Requirements
|
|
16
|
-
|
|
17
|
-
- Angular
|
|
18
|
-
|
|
19
|
-
### Compatibility Matrix
|
|
20
|
-
|
|
21
|
-
Please ensure you use a compatible Angular version with Daga version.
|
|
22
|
-
|
|
23
|
-
|Daga Version |Angular Version |
|
|
24
|
-
|
|
25
|
-
|4.2.x
|
|
26
|
-
|3.x
|
|
27
|
-
|1.5 - 2.x |
|
|
28
|
-
|1.x - 1.4 |
|
|
29
|
-
|
|
30
|
-
## Build Daga
|
|
31
|
-
|
|
32
|
-
```bash
|
|
33
|
-
npm run build
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
## Generate Docs
|
|
37
|
-
|
|
38
|
-
```bash
|
|
39
|
-
npm run doc
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
## Test
|
|
43
|
-
|
|
44
|
-
```bash
|
|
45
|
-
npm run test
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
## Lint
|
|
49
|
-
|
|
50
|
-
```bash
|
|
51
|
-
npm run lint
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
## Pack
|
|
55
|
-
|
|
56
|
-
```bash
|
|
57
|
-
npm run pack-daga
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
## Publish in npmjs
|
|
61
|
-
|
|
62
|
-
```bash
|
|
63
|
-
npm run publish-daga
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
## Tutorial & Documentation
|
|
67
|
-
|
|
68
|
-
- [Documentation, tutorial and samples](https://daga.metadev.pro/)
|
|
69
|
-
|
|
70
|
-
## License
|
|
71
|
-
|
|
72
|
-
(C) 2023-2024 [Metadev S.L.](https://metadev.pro) All rights reserved.
|
|
73
|
-
[Dual license](LICENSE.md):
|
|
74
|
-
|
|
75
|
-
1. Comercial licence for for-profit organizations.
|
|
76
|
-
2. Free license for research & educational usages.
|
|
77
|
-
|
|
78
|
-

|
|
1
|
+
# Daga
|
|
2
|
+
|
|
3
|
+

|
|
4
|
+
|
|
5
|
+
Diagramming library for models.
|
|
6
|
+
|
|
7
|
+
[Daga documentation and tutorial](https://daga.metadev.pro)
|
|
8
|
+
[Daga product page](https://metadev.pro/products/daga/).
|
|
9
|
+
Made and comercial suport by [Metadev](https://metadev.pro).
|
|
10
|
+
|
|
11
|
+
## Diagram Example
|
|
12
|
+
|
|
13
|
+

|
|
14
|
+
|
|
15
|
+
## Requirements
|
|
16
|
+
|
|
17
|
+
- Angular
|
|
18
|
+
|
|
19
|
+
### Compatibility Matrix
|
|
20
|
+
|
|
21
|
+
Please ensure you use a compatible Angular version with Daga version.
|
|
22
|
+
|
|
23
|
+
| Daga Version | Angular Version |
|
|
24
|
+
| -----------: | --------------: |
|
|
25
|
+
| 4.2.x | 20.x |
|
|
26
|
+
| 3.x | 19.x |
|
|
27
|
+
| 1.5 - 2.x | 18.x |
|
|
28
|
+
| 1.x - 1.4 | 17.x |
|
|
29
|
+
|
|
30
|
+
## Build Daga
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
npm run build
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## Generate Docs
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
npm run doc
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## Test
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
npm run test
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## Lint
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
npm run lint
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
## Pack
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
npm run pack-daga
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
## Publish in npmjs
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
npm run publish-daga
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
## Tutorial & Documentation
|
|
67
|
+
|
|
68
|
+
- [Documentation, tutorial and samples](https://daga.metadev.pro/)
|
|
69
|
+
|
|
70
|
+
## License
|
|
71
|
+
|
|
72
|
+
(C) 2023-2024 [Metadev S.L.](https://metadev.pro) All rights reserved.
|
|
73
|
+
[Dual license](LICENSE.md):
|
|
74
|
+
|
|
75
|
+
1. Comercial licence for for-profit organizations.
|
|
76
|
+
2. Free license for research & educational usages.
|
|
77
|
+
|
|
78
|
+

|