@yuuvis/bpm-management-app 1.0.4 → 1.1.0-alpha.2
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/README.md +38 -6
- package/fesm2022/yuuvis-bpm-management-app.mjs +1707 -1800
- package/fesm2022/yuuvis-bpm-management-app.mjs.map +1 -1
- package/lib/assets/i18n/de.json +112 -65
- package/lib/assets/i18n/en.json +111 -65
- package/package.json +1 -1
- package/types/yuuvis-bpm-management-app.d.ts +80 -15
- package/yuv-manifest.json +3 -3
package/README.md
CHANGED
|
@@ -15,16 +15,48 @@ npm install @yuuvis/bpm-management-app --save
|
|
|
15
15
|
In your `app.routes.ts` add a new lazy loaded route for the `@yuuvis/bpm-management-app` package:
|
|
16
16
|
|
|
17
17
|
```ts
|
|
18
|
-
export const
|
|
18
|
+
export const apps: App[] = [
|
|
19
19
|
{
|
|
20
|
-
id: 'io.yuuvis.app.bpm-management
|
|
21
|
-
title:
|
|
22
|
-
path: 'bpm',
|
|
23
|
-
iconName: '
|
|
24
|
-
loadChildren: () => import('@yuuvis/bpm-management-app').then((m) => m.
|
|
20
|
+
id: 'io.yuuvis.app.bpm-management',
|
|
21
|
+
title: 'yuuvis bpm-management',
|
|
22
|
+
path: 'bpm-management',
|
|
23
|
+
iconName: 'flowchart',
|
|
24
|
+
loadChildren: () => import('@yuuvis/bpm-management-app').then((m) => m.YuvBpmManagementRoutes)
|
|
25
25
|
},
|
|
26
26
|
]
|
|
27
27
|
```
|
|
28
|
+
|
|
29
|
+
## Configuration
|
|
30
|
+
|
|
31
|
+
The app is configured by the client via the `data` property of its app entry in `app.routes.ts`. The options are typed as `BpmManagementAppData`, which is exported by the package.
|
|
32
|
+
|
|
33
|
+
| Option | Type | Default | Description |
|
|
34
|
+
| ----------------- | --------- | ------- | ----------- |
|
|
35
|
+
| `showDeployments` | `boolean` | `true` | Shows the **Deployments** tab. If set to `false`, the tab is hidden and navigating directly to `.../deployments` redirects to the processes page. |
|
|
36
|
+
| `showProcessDefinitions` | `boolean` | `true` | Shows the **Process definitions** tab. If set to `false`, the tab is hidden and navigating directly to `.../definitions` redirects to the processes page. |
|
|
37
|
+
|
|
38
|
+
Example, hiding the Deployments and Process definitions tabs:
|
|
39
|
+
|
|
40
|
+
```ts
|
|
41
|
+
export const apps: App[] = [
|
|
42
|
+
{
|
|
43
|
+
id: 'io.yuuvis.app.bpm-management',
|
|
44
|
+
title: 'yuuvis bpm-management',
|
|
45
|
+
path: 'bpm-management',
|
|
46
|
+
iconName: 'flowchart',
|
|
47
|
+
loadChildren: () => import('@yuuvis/bpm-management-app').then((m) => m.YuvBpmManagementRoutes),
|
|
48
|
+
data: {
|
|
49
|
+
showDeployments: false,
|
|
50
|
+
showProcessDefinitions: false
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
]
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
Navigating to the app's path (`.../bpm-management`) opens the first enabled tab: Deployments, then Process definitions, then Processes. Processes and Tasks are always available.
|
|
57
|
+
|
|
58
|
+
The app can be registered multiple times with different `id`, `path` and `data` (for example one entry with all tabs and one without), each entry is configured independently.
|
|
59
|
+
|
|
28
60
|
## License
|
|
29
61
|
|
|
30
62
|
Copyright (c) 2026 OPTIMAL SYSTEMS GmbH. All rights reserved.
|