@yuuvis/bpm-management-app 1.0.3 → 1.1.0-alpha.1

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 CHANGED
@@ -15,16 +15,46 @@ 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 app: App[] = [
18
+ export const apps: App[] = [
19
19
  {
20
- id: 'io.yuuvis.app.bpm-management-app',
21
- title: "yuuvis BPM Management",
22
- path: 'bpm',
23
- iconName: 'library_books',
24
- loadChildren: () => import('@yuuvis/bpm-management-app').then((m) => m.YuvBpmAdminRoutes)
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` | `false` | Shows the **Deployments** tab. If not set to `true`, the tab is hidden and navigating directly to `.../deployments` redirects to the processes page. |
36
+ | `showProcessDefinitions` | `boolean` | `false` | Shows the **Process definitions** tab. If not set to `true`, the tab is hidden and navigating directly to `.../definitions` redirects to the processes page. |
37
+
38
+ Example, enabling 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: true,
50
+ showProcessDefinitions: true
51
+ }
52
+ },
53
+ ]
54
+ ```
55
+
56
+ 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.
57
+
28
58
  ## License
29
59
 
30
60
  Copyright (c) 2026 OPTIMAL SYSTEMS GmbH. All rights reserved.
@@ -5,10 +5,10 @@ class YuvBpmManagementExtension {
5
5
  init() {
6
6
  return Promise.resolve();
7
7
  }
8
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: YuvBpmManagementExtension, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
9
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: YuvBpmManagementExtension });
8
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: YuvBpmManagementExtension, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
9
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: YuvBpmManagementExtension });
10
10
  }
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: YuvBpmManagementExtension, decorators: [{
11
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: YuvBpmManagementExtension, decorators: [{
12
12
  type: Injectable
13
13
  }] });
14
14
 
@@ -1 +1 @@
1
- {"version":3,"file":"yuuvis-bpm-management-app-extensions.mjs","sources":["../../../../../projects/yuuvis/bpm-management-app/extensions/src/lib/services/extensions.service.ts","../../../../../projects/yuuvis/bpm-management-app/extensions/src/yuuvis-bpm-management-app-extensions.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { ClientShellExtension } from '@yuuvis/client-shell-core';\n\n@Injectable()\nexport class YuvBpmManagementExtension implements ClientShellExtension {\n\n init(): Promise<any> {\n return Promise.resolve();\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAIa,yBAAyB,CAAA;IAEpC,IAAI,GAAA;AACF,QAAA,OAAO,OAAO,CAAC,OAAO,EAAE;IAC1B;wGAJW,yBAAyB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;4GAAzB,yBAAyB,EAAA,CAAA;;4FAAzB,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBADrC;;;ACHD;;AAEG;;;;"}
1
+ {"version":3,"file":"yuuvis-bpm-management-app-extensions.mjs","sources":["../../../../../projects/yuuvis/bpm-management-app/extensions/src/lib/services/extensions.service.ts","../../../../../projects/yuuvis/bpm-management-app/extensions/src/yuuvis-bpm-management-app-extensions.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { ClientShellExtension } from '@yuuvis/client-shell-core';\n\n@Injectable()\nexport class YuvBpmManagementExtension implements ClientShellExtension {\n\n init(): Promise<any> {\n return Promise.resolve();\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAIa,yBAAyB,CAAA;IAEpC,IAAI,GAAA;AACF,QAAA,OAAO,OAAO,CAAC,OAAO,EAAE;IAC1B;wGAJW,yBAAyB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;4GAAzB,yBAAyB,EAAA,CAAA;;4FAAzB,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBADrC;;;ACHD;;AAEG;;"}