bpm-core 0.0.129 → 0.0.131
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 +57 -4
- package/fesm2022/bpm-core.mjs +354 -304
- package/fesm2022/bpm-core.mjs.map +1 -1
- package/lib/components/shared-components/form-field/attachment-section/attachment-section.component.d.ts +1 -2
- package/lib/components/shared-components/form-field/control-value-accessor.directive.d.ts +4 -4
- package/lib/components/shared-components/form-field/index.d.ts +0 -1
- package/lib/components/shared-components/form-field/input/input.component.d.ts +3 -2
- package/lib/components/shared-components/form-field/input-number/input-number.component.d.ts +2 -0
- package/lib/components/shared-components/form-field/radio/radio.component.d.ts +39 -2
- package/lib/components/shared-components/form-field/search-employee/search-employee.component.d.ts +5 -5
- package/lib/components/shared-components/form-field/shared-imports.d.ts +3 -6
- package/lib/components/shared-components/form-field/textarea/textarea.component.d.ts +76 -1
- package/lib/components/shared-components/table/table.component.d.ts +3 -3
- package/lib/{components/shared-components/form-field/input → directives}/input-map-filter/input-filters.d.ts +1 -0
- package/lib/{components/shared-components/form-field/input → directives}/input-map-filter/input-map-filter.directive.d.ts +4 -1
- package/lib/testComponent/request-details-section/request-details-section.component.d.ts +2 -5
- package/package.json +8 -3
- package/public-api.d.ts +1 -0
- package/src/lib/assets/scss/_general.scss +0 -205
- package/src/lib/assets/scss/base.scss +0 -2
- package/cli/deploy/build.js +0 -62
- package/cli/deploy/git-operations-handler.js +0 -104
- package/cli/deploy/index.js +0 -61
- package/cli/deploy/jenkins-manager.js +0 -107
- package/cli/deploy/utilities.js +0 -114
- package/cli/generate/index.js +0 -8
- package/cli/generate/mock/form-node.js +0 -77
- package/cli/generate/mock/index.js +0 -207
- package/cli/generate/mock/lov.js +0 -18
- package/cli/index.js +0 -14
- package/lib/directives/ar.directive.d.ts +0 -11
- package/lib/directives/en.directive.d.ts +0 -11
- package/lib/directives/number.directive.d.ts +0 -14
- package/src/lib/assets/scss/_charts.scss +0 -190
- /package/lib/{components/shared-components/form-field/input → directives}/input-map-filter/index.d.ts +0 -0
- /package/lib/{components/shared-components/form-field/input → directives}/input-map-filter/input-mappers.d.ts +0 -0
- /package/lib/{components/shared-components/form-field/input → directives}/input-map-filter/types.d.ts +0 -0
package/README.md
CHANGED
|
@@ -3,6 +3,19 @@
|
|
|
3
3
|
|
|
4
4
|
> Ensure your project is updated to Angular 19 to avoid compatibility issues.
|
|
5
5
|
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Table of Contents
|
|
9
|
+
|
|
10
|
+
- [Recently Added Features](#recently-added-features)
|
|
11
|
+
- [BPM Core CLI](#bpm-core-cli)
|
|
12
|
+
- [Input Mapping and Filtering](#input-mapping-and-filtering)
|
|
13
|
+
- [Time Picker](#time-picker)
|
|
14
|
+
- [Summary Section](#summary-section)
|
|
15
|
+
- [Changes Log](#changes-log)
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
6
19
|
## [Recently Added Features](#recently-added-features)
|
|
7
20
|
- ### [BPM Core CLI](#bpm-core-cli)
|
|
8
21
|
A command-line interface tool that provides helper scripts to speed up common tasks.
|
|
@@ -20,7 +33,8 @@
|
|
|
20
33
|
|
|
21
34
|
---
|
|
22
35
|
|
|
23
|
-
- `deploy`
|
|
36
|
+
- `deploy` — *Supports only library services*.
|
|
37
|
+
|
|
24
38
|
Use this command to deploy your service to one of the following environments: `dev`, `sit`, or `bat`.
|
|
25
39
|
|
|
26
40
|
The deployment process includes:
|
|
@@ -40,10 +54,16 @@
|
|
|
40
54
|
```bash
|
|
41
55
|
npx bpm-core deploy --help
|
|
42
56
|
```
|
|
43
|
-
|
|
44
|
-
|
|
57
|
+
---
|
|
58
|
+
- `generate` (alias: `g`) — *Supports only library services*.
|
|
59
|
+
|
|
60
|
+
Provides the following subcommands:
|
|
61
|
+
- `mock` (alias: `m`).
|
|
62
|
+
|
|
63
|
+
Use this subcommand to generate mock data for your service. The generated mock data will be saved in your service root as a file named `mock-output.json`.
|
|
64
|
+
|
|
65
|
+
**Example usage**
|
|
45
66
|
|
|
46
|
-
**Example usage**
|
|
47
67
|
In your terminal, navigate to the service directory and run the following command:
|
|
48
68
|
|
|
49
69
|
```bash
|
|
@@ -51,7 +71,24 @@
|
|
|
51
71
|
# or using aliases
|
|
52
72
|
npx bpm-core g m
|
|
53
73
|
```
|
|
74
|
+
---
|
|
75
|
+
- `new` (alias: `n`)
|
|
54
76
|
|
|
77
|
+
Use this subcommand to generate a new service, just like the form builder does.
|
|
78
|
+
|
|
79
|
+
**Example usage**
|
|
80
|
+
|
|
81
|
+
First, create the service directory. Then, in your terminal, navigate to that directory and run the following command:
|
|
82
|
+
|
|
83
|
+
```bash
|
|
84
|
+
npx bpm-core generate new --config config.json --service-code MSM
|
|
85
|
+
# or using aliases
|
|
86
|
+
npx bpm-core g n --config config.json --service-code MSM
|
|
87
|
+
```
|
|
88
|
+
The required options are:
|
|
89
|
+
- `--config` the generation config path (like a form builder config).
|
|
90
|
+
- `--service-code` the service code.
|
|
91
|
+
---
|
|
55
92
|
|
|
56
93
|
|
|
57
94
|
- ### [Input Mapping and Filtering](#input-mapping-and-filtering)
|
|
@@ -212,6 +249,22 @@
|
|
|
212
249
|
|
|
213
250
|
## [Changes Log](#changes-log)
|
|
214
251
|
|
|
252
|
+
<a id="bpm-core00130-2025-09-18"></a>
|
|
253
|
+
### [bpm-core@0.0.130 — 2025-09-18](#bpm-core00130-2025-09-18)
|
|
254
|
+
- feat(cli): add `generate new` command to generate an initial service from a config like the form builder.
|
|
255
|
+
- fix(cli/mock-data): restructure LOVs in payload and enhance logged path generation.
|
|
256
|
+
- [BREAKING CHANGE] fix(custom-searchable): update the default value of the `key` input property to 'value' (was 'description').
|
|
257
|
+
- feat(radio): activate and enhance radio component.
|
|
258
|
+
- refactor: remove ngx-translate package.
|
|
259
|
+
- [BREAKING CHANGE] refactor(input & textarea): remove 'enOnly' and 'arOnly' type values, use filterFn instead.
|
|
260
|
+
- fix(input-number): prevent dropping text into input number.
|
|
261
|
+
- [BREAKING CHANGE] refactor(attachment-section): replace `isRequired` input with `descriptionRequired` input and add `commentsRequired` input.
|
|
262
|
+
- fix(attachment-section): hide label in read-only mode if no attachments.
|
|
263
|
+
- fix(custom-searchable): add padding for search and clear icons in RTL.
|
|
264
|
+
- feat(input): add `maxLength` input property.
|
|
265
|
+
- feat(datepicker): support typed inputs for `minDate`, `maxDate`, `customMinDate`, and `customMaxDate`.
|
|
266
|
+
- feat(search-employee): add `selectedEmployee` output to emit the full details of the selected employee.
|
|
267
|
+
|
|
215
268
|
<a id="bpm-core00129-2025-09-01"></a>
|
|
216
269
|
### [bpm-core@0.0.129 — 2025-09-01](#bpm-core00129-2025-09-01)
|
|
217
270
|
- feat(cli): add generate command with mock subcommand to produce mock data
|