bpm-core 0.0.111 → 0.0.112
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/fesm2022/bpm-core.mjs +72 -73
- 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/control-value-accessor.directive.d.ts +5 -3
- package/lib/components/shared-components/form-field/doc-uploader/docs-uploader.component.d.ts +1 -0
- package/lib/components/shared-components/form-field/index.d.ts +0 -1
- package/lib/components/shared-components/form-field/shared-imports.d.ts +3 -3
- package/lib/components/shared-components/form-field/textarea/textarea.component.d.ts +2 -1
- package/lib/components/shared-components/form-field/validation-errors/validation-errors.component.d.ts +1 -1
- package/lib/testComponent/request-details-section/request-details-section.component.d.ts +2 -0
- package/package.json +1 -1
- package/lib/components/shared-components/form-field/textarea/special-chars.directive.d.ts +0 -10
|
@@ -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>;
|
|
@@ -50,16 +50,18 @@ export declare class ControlValueAccessorDirective<Type> implements ControlValue
|
|
|
50
50
|
control: FormControl | undefined;
|
|
51
51
|
required: boolean;
|
|
52
52
|
mandatory: boolean;
|
|
53
|
-
maxLength: any;
|
|
54
53
|
isDisabled: boolean;
|
|
54
|
+
onChangeFn: (val: Type | null) => void;
|
|
55
|
+
onTouchedFn: () => void;
|
|
55
56
|
constructor(injector: Injector, i18n: CoreI18nService, toasterService: ToastrService, coreService: CoreService, sanitizer: DomSanitizer, fb: FormBuilder, actionStateService: ActionStateService);
|
|
56
57
|
ngOnInit(): void;
|
|
57
58
|
setFormControl(): void;
|
|
58
59
|
setFormValidators(): void;
|
|
59
60
|
writeValue(value: Type): void;
|
|
60
|
-
registerOnChange(fn: (val: Type | null) =>
|
|
61
|
-
registerOnTouched(fn: () =>
|
|
61
|
+
registerOnChange(fn: (val: Type | null) => void): void;
|
|
62
|
+
registerOnTouched(fn: () => void): void;
|
|
62
63
|
setDisabledState?(isDisabled: boolean): void;
|
|
64
|
+
setValue(value: any): void;
|
|
63
65
|
static ɵfac: i0.ɵɵFactoryDeclaration<ControlValueAccessorDirective<any>, never>;
|
|
64
66
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ControlValueAccessorDirective<any>, "[appControlValueAccessor]", never, { "tooltip": { "alias": "tooltip"; "required": false; }; "isReadOnly": { "alias": "isReadOnly"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "type": { "alias": "type"; "required": false; }; "showErrorMessage": { "alias": "showErrorMessage"; "required": false; }; "showHint": { "alias": "showHint"; "required": false; }; "showIfEmpty": { "alias": "showIfEmpty"; "required": false; }; "insideTable": { "alias": "insideTable"; "required": false; }; "mask": { "alias": "mask"; "required": false; }; "label": { "alias": "label"; "required": false; }; "matSuffix": { "alias": "matSuffix"; "required": false; }; "hasTooltip": { "alias": "hasTooltip"; "required": false; }; "name": { "alias": "name"; "required": false; }; "randomID": { "alias": "randomID"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "customErrorMessages": { "alias": "customErrorMessages"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "customMaxDate": { "alias": "customMaxDate"; "required": false; }; "customMinDate": { "alias": "customMinDate"; "required": false; }; "required": { "alias": "required"; "required": false; }; "mandatory": { "alias": "mandatory"; "required": false; }; }, {}, never, never, true, never>;
|
|
65
67
|
}
|
package/lib/components/shared-components/form-field/doc-uploader/docs-uploader.component.d.ts
CHANGED
|
@@ -55,6 +55,7 @@ export declare class DocsUploaderComponent<Type> extends ControlValueAccessorDir
|
|
|
55
55
|
inputFile: ElementRef;
|
|
56
56
|
dialog: MatDialog;
|
|
57
57
|
destroyRef: DestroyRef;
|
|
58
|
+
maxLength: number | string;
|
|
58
59
|
private readonly validImageTypes;
|
|
59
60
|
validImgPdfTypes: {
|
|
60
61
|
pdf: string[];
|
|
@@ -15,7 +15,6 @@ export * from './input-telephone/input-telephone.component';
|
|
|
15
15
|
export * from './search-employee/search-employee.component';
|
|
16
16
|
export * from './select/select.component';
|
|
17
17
|
export * from './textarea/textarea.component';
|
|
18
|
-
export * from './textarea/special-chars.directive';
|
|
19
18
|
export * from './toggle-button/toggle-button.component';
|
|
20
19
|
export * from './table-list/table-list.component';
|
|
21
20
|
export * from './repeated-list/repeated-list.component';
|
|
@@ -9,7 +9,7 @@ import { EnOnlyDirective } from "../../../directives/en.directive";
|
|
|
9
9
|
import { ArOnlyDirective } from "../../../directives/ar.directive";
|
|
10
10
|
import { NgClass } from "@angular/common";
|
|
11
11
|
import { TranslatePipe } from "../../../pipes/translate.pipe";
|
|
12
|
-
export declare const MatDatePickerImports: (typeof
|
|
13
|
-
export declare const MatFormImports: (typeof
|
|
14
|
-
export declare const Shareds: (typeof
|
|
12
|
+
export declare const MatDatePickerImports: (typeof MatDatepickerToggle | typeof MatDatepickerInput | typeof MatDatepickerModule)[];
|
|
13
|
+
export declare const MatFormImports: (typeof MatFormFieldModule | typeof MatFormField | typeof MatInput)[];
|
|
14
|
+
export declare const Shareds: (typeof FormLabelComponent | typeof ValidationErrorsComponent | typeof InfoItemComponent | typeof ReactiveFormsModule | typeof NgClass | typeof TranslatePipe)[];
|
|
15
15
|
export declare const TextLanguageDirectives: (typeof EnOnlyDirective | typeof ArOnlyDirective)[];
|
|
@@ -4,8 +4,9 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class TextareaComponent<Type> extends ControlValueAccessorDirective<Type> {
|
|
5
5
|
className: string;
|
|
6
6
|
preventSpecailChar: boolean;
|
|
7
|
+
maxLength: number | string;
|
|
7
8
|
destroyRef: DestroyRef;
|
|
8
9
|
ngOnInit(): void;
|
|
9
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextareaComponent<any>, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextareaComponent<any>, "app-textarea", never, { "className": { "alias": "className"; "required": false; }; "preventSpecailChar": { "alias": "preventSpecailChar"; "required": false; }; }, {}, never, never, true, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextareaComponent<any>, "app-textarea", never, { "className": { "alias": "className"; "required": false; }; "preventSpecailChar": { "alias": "preventSpecailChar"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; }, {}, never, never, true, never>;
|
|
11
12
|
}
|
|
@@ -2,10 +2,10 @@ import { SimpleChanges } from '@angular/core';
|
|
|
2
2
|
import { ErrorMsg, ValidationErrorMessages } from './validation-error-messages';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class ValidationErrorsComponent {
|
|
5
|
-
display: string;
|
|
6
5
|
errors: {};
|
|
7
6
|
customErrorMessages: Record<string, ErrorMsg>;
|
|
8
7
|
validationErrorMsgs: ValidationErrorMessages;
|
|
8
|
+
isErrorMsgVisible: boolean;
|
|
9
9
|
ngOnChanges(changes: SimpleChanges): void;
|
|
10
10
|
private getDefaultErrorMsgs;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<ValidationErrorsComponent, never>;
|
|
@@ -57,9 +57,11 @@ export declare class RequestDetailsSectionComponent implements OnInit {
|
|
|
57
57
|
initializeColumns(): void;
|
|
58
58
|
initializeColumnConfig(): void;
|
|
59
59
|
createForm(): void;
|
|
60
|
+
textArea: string;
|
|
60
61
|
editAsset(asset: any): void;
|
|
61
62
|
startsWithDMOEOrCR(): ValidatorFn;
|
|
62
63
|
deleteAsset(asset: any): void;
|
|
64
|
+
log(d: any): void;
|
|
63
65
|
formValue(form: any): void;
|
|
64
66
|
checkValidity(action: string): boolean;
|
|
65
67
|
customCallSubmit(action: string): void;
|
package/package.json
CHANGED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class SpecialCharacterDirective {
|
|
3
|
-
regexStr: string;
|
|
4
|
-
constructor();
|
|
5
|
-
onInputChange(event: any): void;
|
|
6
|
-
blockPaste(event: ClipboardEvent): void;
|
|
7
|
-
onDrop(event: any): void;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SpecialCharacterDirective, never>;
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SpecialCharacterDirective, "[specialIsAlphaNumeric]", never, {}, {}, never, never, true, never>;
|
|
10
|
-
}
|