bpm-core 0.0.116 → 0.0.121
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 +59 -30
- package/fesm2022/bpm-core.mjs +152 -127
- package/fesm2022/bpm-core.mjs.map +1 -1
- package/lib/components/app-component-sections/workflow-section/workflow-section.component.d.ts +1 -0
- package/lib/components/shared-components/form-field/index.d.ts +1 -0
- package/lib/components/shared-components/form-field/shared-imports.d.ts +3 -3
- package/lib/components/shared-components/form-field/time-picker/time-picker.component.d.ts +39 -0
- package/lib/testComponent/request-details-section/request-details-section.component.d.ts +3 -47
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,30 +1,59 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
1
|
+
## Recently Added Features
|
|
2
|
+
- ### Time Picker (Requires Angular Material 19.0.0 or Higher)
|
|
3
|
+
To use it, import `TimepickerComponent` in your TypeScript file and add `<app-timepicker>` to your template. For more information, hover over the selector after adding it to your template.
|
|
4
|
+
- ### Summary Section / Stage
|
|
5
|
+
This is a stage that appears before the request stage.
|
|
6
|
+
|
|
7
|
+
To enable this feature:
|
|
8
|
+
- The summary section **must be the first item** in the `workflowSteps` list.
|
|
9
|
+
- The `details` object for this step must include the following property:
|
|
10
|
+
|
|
11
|
+
```json
|
|
12
|
+
"stage0": {
|
|
13
|
+
"isStage0": "true"
|
|
14
|
+
}
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
**Example of a full payload:**
|
|
18
|
+
|
|
19
|
+
<details>
|
|
20
|
+
<summary>Click to expand full JSON payload</summary>
|
|
21
|
+
|
|
22
|
+
```json
|
|
23
|
+
{
|
|
24
|
+
"data": {
|
|
25
|
+
"requester": { ... },
|
|
26
|
+
"workflowSteps": [
|
|
27
|
+
{
|
|
28
|
+
"actor": {
|
|
29
|
+
"recipient": {
|
|
30
|
+
"role": "stage0"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"details": {
|
|
34
|
+
"litigantType": "",
|
|
35
|
+
"other": "",
|
|
36
|
+
"requestType": "",
|
|
37
|
+
"reqSubject": "",
|
|
38
|
+
"claimValue": "",
|
|
39
|
+
"subClassification": "",
|
|
40
|
+
"reqDetails": "",
|
|
41
|
+
"plainName": "",
|
|
42
|
+
"stage0": {
|
|
43
|
+
"isStage0": "true"
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"actor": { ... },
|
|
49
|
+
"date": "",
|
|
50
|
+
"details": { ... }
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
|
+
"request": { ... },
|
|
54
|
+
"form": { ... }
|
|
55
|
+
},
|
|
56
|
+
"meta": { ... }
|
|
57
|
+
}
|
|
58
|
+
```
|
|
59
|
+
</details>
|