bpm-core 0.0.56 → 0.0.57
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/esm2022/lib/components/shared-components/form-field/add-attachment-section/add-attachment-section.component.mjs +6 -4
- package/esm2022/lib/components/shared-components/form-field/attachment-section/attachment-section.component.mjs +7 -7
- package/esm2022/lib/components/shared-components/form-field/checkbox/checkbox.component.mjs +4 -3
- package/esm2022/lib/components/shared-components/form-field/control-value-accessor.directive.mjs +5 -1
- package/esm2022/lib/components/shared-components/form-field/custom-searchable-autocomplete/custom-searchable.component.mjs +3 -3
- package/esm2022/lib/components/shared-components/form-field/date-picker/date-picker.component.mjs +4 -3
- package/esm2022/lib/components/shared-components/form-field/date-range-picker/date-range-picker.component.mjs +4 -3
- package/esm2022/lib/components/shared-components/form-field/doc-uploader/docs-uploader.component.mjs +7 -7
- package/esm2022/lib/components/shared-components/form-field/form-label/form-label.component.mjs +5 -3
- package/esm2022/lib/components/shared-components/form-field/info-item/info-item.component.mjs +6 -4
- package/esm2022/lib/components/shared-components/form-field/input-telephone/input-telephone.component.mjs +16 -3
- package/esm2022/lib/components/shared-components/form-field/search-employee/search-employee.component.mjs +16 -13
- package/esm2022/lib/components/shared-components/form-field/shared-imports.mjs +4 -2
- package/esm2022/lib/components/shared-components/form-field/toggle-button/toggle-button.component.mjs +6 -6
- package/esm2022/lib/components/shared-components/form-field/validation-errors/validation-errors.component.mjs +5 -5
- package/esm2022/lib/pipes/translate.pipe.mjs +36 -0
- package/esm2022/lib/testComponent/request-details-section/request-details-section.component.mjs +86 -53
- package/fesm2022/bpm-core.mjs +526 -137
- package/fesm2022/bpm-core.mjs.map +1 -1
- package/lib/components/shared-components/form-field/control-value-accessor.directive.d.ts +1 -0
- package/lib/components/shared-components/form-field/input-telephone/input-telephone.component.d.ts +2 -0
- package/lib/components/shared-components/form-field/shared-imports.d.ts +4 -3
- package/lib/components/shared-components/form-field/toggle-button/toggle-button.component.d.ts +2 -2
- package/lib/components/shared-components/form-field/validation-errors/validation-errors.component.d.ts +4 -4
- package/lib/pipes/translate.pipe.d.ts +11 -0
- package/lib/testComponent/request-details-section/request-details-section.component.d.ts +1 -0
- package/package.json +1 -1
|
@@ -30,6 +30,7 @@ export declare class ControlValueAccessorDirective<Type> implements ControlValue
|
|
|
30
30
|
multiple: boolean;
|
|
31
31
|
searchControl: FormControl<any>;
|
|
32
32
|
employeeSearchControl: FormControl<any>;
|
|
33
|
+
telephoneControl: FormControl<any>;
|
|
33
34
|
attachments: any[];
|
|
34
35
|
startDateControl: FormControl<any>;
|
|
35
36
|
endDateControl: FormControl<any>;
|
package/lib/components/shared-components/form-field/input-telephone/input-telephone.component.d.ts
CHANGED
|
@@ -4,9 +4,11 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class InputTelephoneComponent<Type> extends ControlValueAccessorDirective<Type> {
|
|
5
5
|
floatLabel: any;
|
|
6
6
|
className: string;
|
|
7
|
+
controlValue: string;
|
|
7
8
|
CountryISO: typeof CountryISO;
|
|
8
9
|
SearchCountryField: typeof SearchCountryField;
|
|
9
10
|
show: boolean;
|
|
11
|
+
setControlValue(controlValue: any): void;
|
|
10
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputTelephoneComponent<any>, never>;
|
|
11
13
|
static ɵcmp: i0.ɵɵComponentDeclaration<InputTelephoneComponent<any>, "app-input-telephone", never, { "floatLabel": { "alias": "floatLabel"; "required": false; }; "className": { "alias": "className"; "required": false; }; }, {}, never, never, true, never>;
|
|
12
14
|
}
|
|
@@ -8,7 +8,8 @@ import { InfoItemComponent } from "./info-item/info-item.component";
|
|
|
8
8
|
import { EnOnlyDirective } from "../../../directives/en.directive";
|
|
9
9
|
import { ArOnlyDirective } from "../../../directives/ar.directive";
|
|
10
10
|
import { NgClass } from "@angular/common";
|
|
11
|
-
|
|
12
|
-
export declare const
|
|
13
|
-
export declare const
|
|
11
|
+
import { TranslatePipe } from "../../../pipes/translate.pipe";
|
|
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)[];
|
|
14
15
|
export declare const TextLanguageDirectives: (typeof EnOnlyDirective | typeof ArOnlyDirective)[];
|
package/lib/components/shared-components/form-field/toggle-button/toggle-button.component.d.ts
CHANGED
|
@@ -10,8 +10,8 @@ export declare class ToggleButtonComponent<Type> extends ControlValueAccessorDir
|
|
|
10
10
|
optionEn: string;
|
|
11
11
|
hasHint: boolean;
|
|
12
12
|
options: any[];
|
|
13
|
-
|
|
13
|
+
displayedLabel: string;
|
|
14
14
|
key: string;
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToggleButtonComponent<any>, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToggleButtonComponent<any>, "app-toggle-button", never, { "className": { "alias": "className"; "required": false; }; "data": { "alias": "data"; "required": false; }; "error": { "alias": "error"; "required": false; }; "optionAr": { "alias": "optionAr"; "required": false; }; "optionEn": { "alias": "optionEn"; "required": false; }; "hasHint": { "alias": "hasHint"; "required": false; }; "options": { "alias": "options"; "required": false; }; "
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToggleButtonComponent<any>, "app-toggle-button", never, { "className": { "alias": "className"; "required": false; }; "data": { "alias": "data"; "required": false; }; "error": { "alias": "error"; "required": false; }; "optionAr": { "alias": "optionAr"; "required": false; }; "optionEn": { "alias": "optionEn"; "required": false; }; "hasHint": { "alias": "hasHint"; "required": false; }; "options": { "alias": "options"; "required": false; }; "displayedLabel": { "alias": "displayedLabel"; "required": false; }; "key": { "alias": "key"; "required": false; }; }, { "onChange": "onChange"; }, never, never, true, never>;
|
|
17
17
|
}
|
|
@@ -5,10 +5,10 @@ export declare class ValidationErrorsComponent<Type> extends ControlValueAccesso
|
|
|
5
5
|
errors: {};
|
|
6
6
|
customErrorMessages: {};
|
|
7
7
|
errorMessages: {
|
|
8
|
-
required:
|
|
9
|
-
maxlength:
|
|
10
|
-
minlength:
|
|
11
|
-
validatePhoneNumber:
|
|
8
|
+
required: any;
|
|
9
|
+
maxlength: any;
|
|
10
|
+
minlength: any;
|
|
11
|
+
validatePhoneNumber: any;
|
|
12
12
|
};
|
|
13
13
|
ngOnChanges(changes: SimpleChanges): void;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<ValidationErrorsComponent<any>, never>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TranslatePipe implements PipeTransform {
|
|
4
|
+
private coreLocales;
|
|
5
|
+
language: string;
|
|
6
|
+
constructor();
|
|
7
|
+
transform(key: any): any;
|
|
8
|
+
getLanguage(): string;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TranslatePipe, never>;
|
|
10
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<TranslatePipe, "translate", true>;
|
|
11
|
+
}
|
|
@@ -62,6 +62,7 @@ export declare class RequestDetailsSectionComponent implements OnInit {
|
|
|
62
62
|
checkValidity(action: string): boolean;
|
|
63
63
|
customCallSubmit(action: string): void;
|
|
64
64
|
resetForm(): void;
|
|
65
|
+
pageChanged(event: any): void;
|
|
65
66
|
static ɵfac: i0.ɵɵFactoryDeclaration<RequestDetailsSectionComponent, never>;
|
|
66
67
|
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>;
|
|
67
68
|
}
|