bpm-core 0.0.127 → 0.0.128
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 +117 -75
- package/cli/deploy/build.js +62 -0
- package/cli/deploy/git-operations-handler.js +104 -0
- package/cli/deploy/index.js +61 -0
- package/cli/deploy/jenkins-manager.js +107 -0
- package/cli/deploy/utilities.js +114 -0
- package/cli/index.js +12 -0
- package/fesm2022/bpm-core.mjs +29 -39
- package/fesm2022/bpm-core.mjs.map +1 -1
- package/lib/components/shared-components/action-buttons/action-buttons.component.d.ts +1 -1
- package/lib/components/shared-components/form-field/input/input-map-filter/input-filters.d.ts +4 -4
- package/lib/components/shared-components/form-field/input/input-map-filter/types.d.ts +1 -2
- package/lib/components/shared-components/form-field/input/input.component.d.ts +2 -8
- package/lib/components/shared-components/form-field/shared-imports.d.ts +2 -2
- package/lib/testComponent/request-details-section/request-details-section.component.d.ts +1 -1
- package/package.json +4 -1
|
@@ -36,7 +36,7 @@ export declare class ActionButtonsComponent implements AfterViewInit {
|
|
|
36
36
|
onSubmit(action: string): void;
|
|
37
37
|
submitForm(action: string, section: Section): void;
|
|
38
38
|
success(response: any): void;
|
|
39
|
-
buttonShape(item: any): "
|
|
39
|
+
buttonShape(item: any): "" | "outline";
|
|
40
40
|
buttonColor(item: any): "" | "red";
|
|
41
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<ActionButtonsComponent, never>;
|
|
42
42
|
static ɵcmp: i0.ɵɵComponentDeclaration<ActionButtonsComponent, "lib-action-buttons", never, { "lovOptions": { "alias": "lovOptions"; "required": false; }; "lovType": { "alias": "lovType"; "required": false; }; "fieldsForm": { "alias": "fieldsForm"; "required": false; }; "form": { "alias": "form"; "required": false; }; "section": { "alias": "section"; "required": false; }; "sections": { "alias": "sections"; "required": false; }; "showApprovalCycle": { "alias": "showApprovalCycle"; "required": false; }; "customCall": { "alias": "customCall"; "required": false; }; }, { "resetFormEmit": "resetFormEmit"; "customCallEmit": "customCallEmit"; }, never, never, true, never>;
|
package/lib/components/shared-components/form-field/input/input-map-filter/input-filters.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InputFilterFn
|
|
1
|
+
import { InputFilterFn } from "./types";
|
|
2
2
|
export declare class InputFilters {
|
|
3
3
|
/**
|
|
4
4
|
* A filter that allows only Arabic characters (letters, punctuation) and Arabic-Indic digits (٠–٩),
|
|
@@ -6,19 +6,19 @@ export declare class InputFilters {
|
|
|
6
6
|
*
|
|
7
7
|
* @returns `true` if the character should be allowed; otherwise, `false`
|
|
8
8
|
*/
|
|
9
|
-
static arabicOnly(char: string, current: string, next: string,
|
|
9
|
+
static arabicOnly(char: string, current: string, next: string, event: KeyboardEvent | ClipboardEvent | DragEvent): boolean;
|
|
10
10
|
/**
|
|
11
11
|
* A filter that allows only English letters (A–Z, a–z), digits (0–9), common symbols, and space.
|
|
12
12
|
*
|
|
13
13
|
* @returns `true` if the character should be allowed; otherwise, `false`
|
|
14
14
|
*/
|
|
15
|
-
static englishOnly(char: string, current: string, next: string,
|
|
15
|
+
static englishOnly(char: string, current: string, next: string, event: KeyboardEvent | ClipboardEvent | DragEvent): boolean;
|
|
16
16
|
/**
|
|
17
17
|
* A filter that allows only digits (0–9).
|
|
18
18
|
*
|
|
19
19
|
* @returns `true` if the character is a digit; otherwise, `false`
|
|
20
20
|
*/
|
|
21
|
-
static digitsOnly(char: string, current: string, next: string,
|
|
21
|
+
static digitsOnly(char: string, current: string, next: string, event: KeyboardEvent | ClipboardEvent | DragEvent): boolean;
|
|
22
22
|
/**
|
|
23
23
|
* Creates a new `PatternBuilder` instance for building a custom input filter.
|
|
24
24
|
*
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
export type InputKeyType = 'character' | 'backspace' | 'delete' | 'modifier' | 'non-printable' | 'null';
|
|
2
1
|
export type InputMapFn = (char: string, currentValue: string, nextValue: string) => string;
|
|
3
|
-
export type InputFilterFn = (char: string, currentValue: string, nextValue: string,
|
|
2
|
+
export type InputFilterFn = (char: string, currentValue: string, nextValue: string, event: KeyboardEvent | ClipboardEvent | DragEvent) => boolean;
|
|
@@ -65,12 +65,6 @@ export declare class InputComponent<Type> extends ControlValueAccessorDirective<
|
|
|
65
65
|
* - The full pasted or dropped string during paste/drop
|
|
66
66
|
* @param currentValue - The current value of the input before the character or string is applied.
|
|
67
67
|
* @param nextValue - The simulated next value if the character or string were applied.
|
|
68
|
-
* @param keyType - The kind of input interaction:
|
|
69
|
-
* - `'character'` for printable characters
|
|
70
|
-
* - `'backspace'` or `'delete'` for those keys
|
|
71
|
-
* - `'modifier'` for Ctrl/Alt/Meta combinations
|
|
72
|
-
* - `'non-printable'` for arrows, tab, escape, etc.
|
|
73
|
-
* - `'null'` for paste/drop (non-keyboard text input)
|
|
74
68
|
* @param event - The originating event triggering the input change. This can be a
|
|
75
69
|
* `KeyboardEvent` (for typing), `ClipboardEvent` (for paste), or `DragEvent` (for drop).
|
|
76
70
|
*
|
|
@@ -83,8 +77,8 @@ export declare class InputComponent<Type> extends ControlValueAccessorDirective<
|
|
|
83
77
|
*
|
|
84
78
|
* @example
|
|
85
79
|
* // Custom filter: Allow only letters (no numbers or symbols)
|
|
86
|
-
* this.filterFn = (char, current, next,
|
|
87
|
-
* return
|
|
80
|
+
* this.filterFn = (char, current, next, event) => {
|
|
81
|
+
* return /^[a-zA-Z]+$/.test(char);
|
|
88
82
|
* };
|
|
89
83
|
*/
|
|
90
84
|
filterFn: InputFilterFn;
|
|
@@ -10,6 +10,6 @@ import { ArOnlyDirective } from "../../../directives/ar.directive";
|
|
|
10
10
|
import { NgClass } from "@angular/common";
|
|
11
11
|
import { TranslatePipe } from "../../../pipes/translate.pipe";
|
|
12
12
|
export declare const MatDatePickerImports: (typeof MatDatepickerInput | typeof MatDatepickerToggle | typeof MatDatepickerModule)[];
|
|
13
|
-
export declare const MatFormImports: (typeof
|
|
14
|
-
export declare const Shareds: (typeof NgClass | typeof
|
|
13
|
+
export declare const MatFormImports: (typeof MatInput | typeof MatFormFieldModule | typeof MatFormField)[];
|
|
14
|
+
export declare const Shareds: (typeof NgClass | typeof ReactiveFormsModule | typeof TranslatePipe | typeof FormLabelComponent | typeof ValidationErrorsComponent | typeof InfoItemComponent)[];
|
|
15
15
|
export declare const TextLanguageDirectives: (typeof EnOnlyDirective | typeof ArOnlyDirective)[];
|
|
@@ -69,7 +69,7 @@ export declare class RequestDetailsSectionComponent implements OnInit {
|
|
|
69
69
|
resetForm(): void;
|
|
70
70
|
pageChanged(event: any): void;
|
|
71
71
|
mapFn: typeof InputMappers.toLowerCase;
|
|
72
|
-
|
|
72
|
+
filterFn: import("../../components/shared-components").InputFilterFn;
|
|
73
73
|
static ɵfac: i0.ɵɵFactoryDeclaration<RequestDetailsSectionComponent, never>;
|
|
74
74
|
static ɵcmp: i0.ɵɵComponentDeclaration<RequestDetailsSectionComponent, "app-request-details-section", never, { "isReadOnly": { "alias": "isReadOnly"; "required": false; }; "section": { "alias": "section"; "required": false; }; "form": { "alias": "form"; "required": false; }; "lov": { "alias": "lov"; "required": false; }; "className": { "alias": "className"; "required": false; }; }, {}, never, never, true, never>;
|
|
75
75
|
}
|