@yuuvis/bpm-management-app 1.1.0-alpha.1 → 1.1.0-alpha.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/README.md CHANGED
@@ -18,7 +18,7 @@ In your `app.routes.ts` add a new lazy loaded route for the `@yuuvis/bpm-managem
18
18
  export const apps: App[] = [
19
19
  {
20
20
  id: 'io.yuuvis.app.bpm-management',
21
- title: 'yuuvis BPM Management',
21
+ title: 'yuuvis bpm-management',
22
22
  path: 'bpm-management',
23
23
  iconName: 'flowchart',
24
24
  loadChildren: () => import('@yuuvis/bpm-management-app').then((m) => m.YuvBpmManagementRoutes)
@@ -32,27 +32,29 @@ The app is configured by the client via the `data` property of its app entry in
32
32
 
33
33
  | Option | Type | Default | Description |
34
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. |
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
37
 
38
- Example, enabling the Deployments and Process definitions tabs:
38
+ Example, hiding the Deployments and Process definitions tabs:
39
39
 
40
40
  ```ts
41
41
  export const apps: App[] = [
42
42
  {
43
43
  id: 'io.yuuvis.app.bpm-management',
44
- title: 'yuuvis BPM Management',
44
+ title: 'yuuvis bpm-management',
45
45
  path: 'bpm-management',
46
46
  iconName: 'flowchart',
47
47
  loadChildren: () => import('@yuuvis/bpm-management-app').then((m) => m.YuvBpmManagementRoutes),
48
48
  data: {
49
- showDeployments: true,
50
- showProcessDefinitions: true
49
+ showDeployments: false,
50
+ showProcessDefinitions: false
51
51
  }
52
52
  },
53
53
  ]
54
54
  ```
55
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
+
56
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.
57
59
 
58
60
  ## License
@@ -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<void> {\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;;"}