bpm-core 0.0.56 → 0.0.58
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/app-component-sections/layout/layout.component.mjs +3 -3
- 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/input.component.mjs +7 -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/components/shared-components/table/table.component.mjs +2 -2
- package/esm2022/lib/i18n/ar.mjs +9 -2
- package/esm2022/lib/i18n/en.mjs +9 -2
- package/esm2022/lib/pipes/translate.pipe.mjs +36 -0
- package/esm2022/lib/testComponent/general-approver-section/general-approver-section.component.mjs +2 -2
- package/esm2022/lib/testComponent/request-details-section/request-details-section.component.mjs +86 -53
- package/fesm2022/bpm-core.mjs +550 -144
- 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/input.component.d.ts +2 -1
- 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 +3 -2
- 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/i18n/ar.d.ts +7 -0
- package/lib/i18n/en.d.ts +7 -0
- 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
- package/src/lib/assets/scss/_general.scss +2 -2
|
@@ -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>;
|
|
@@ -7,6 +7,7 @@ export declare class InputComponent<Type> extends ControlValueAccessorDirective<
|
|
|
7
7
|
iconPrefixName: string;
|
|
8
8
|
iconSuffixName: string;
|
|
9
9
|
emitedChangedValue1: EventEmitter<any>;
|
|
10
|
+
customErrorMessages: any;
|
|
10
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent<any>, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent<any>, "app-input", never, { "floatLabel": { "alias": "floatLabel"; "required": false; }; "className": { "alias": "className"; "required": false; }; "iconPrefixName": { "alias": "iconPrefixName"; "required": false; }; "iconSuffixName": { "alias": "iconSuffixName"; "required": false; }; "emitedChangedValue1": { "alias": "emitedChangedValue1"; "required": false; }; }, {}, never, never, true, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent<any>, "app-input", never, { "floatLabel": { "alias": "floatLabel"; "required": false; }; "className": { "alias": "className"; "required": false; }; "iconPrefixName": { "alias": "iconPrefixName"; "required": false; }; "iconSuffixName": { "alias": "iconSuffixName"; "required": false; }; "emitedChangedValue1": { "alias": "emitedChangedValue1"; "required": false; }; "customErrorMessages": { "alias": "customErrorMessages"; "required": false; }; }, {}, never, never, true, never>;
|
|
12
13
|
}
|
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
|
+
import { TranslatePipe } from "../../../pipes/translate.pipe";
|
|
11
12
|
export declare const MatDatePickerImports: (typeof MatDatepickerInput | typeof MatDatepickerToggle | typeof MatDatepickerModule)[];
|
|
12
|
-
export declare const MatFormImports: (typeof
|
|
13
|
-
export declare const Shareds: (typeof
|
|
13
|
+
export declare const MatFormImports: (typeof MatFormFieldModule | typeof MatFormField | typeof MatInput)[];
|
|
14
|
+
export declare const Shareds: (typeof TranslatePipe | typeof NgClass | typeof ValidationErrorsComponent | typeof FormLabelComponent | typeof InfoItemComponent | typeof ReactiveFormsModule)[];
|
|
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>;
|
package/lib/i18n/ar.d.ts
CHANGED
|
@@ -176,5 +176,12 @@ declare const _default: {
|
|
|
176
176
|
status: string;
|
|
177
177
|
downloadAll: string;
|
|
178
178
|
itemsPerPage: string;
|
|
179
|
+
thisFieldIsRequired: string;
|
|
180
|
+
thisFieldMaxLength: string;
|
|
181
|
+
thisFieldMinLength: string;
|
|
182
|
+
pleaseEnterValidNumber: string;
|
|
183
|
+
startDate: string;
|
|
184
|
+
endDate: string;
|
|
185
|
+
textArea: string;
|
|
179
186
|
};
|
|
180
187
|
export default _default;
|
package/lib/i18n/en.d.ts
CHANGED
|
@@ -180,5 +180,12 @@ declare const _default: {
|
|
|
180
180
|
status: string;
|
|
181
181
|
downloadAll: string;
|
|
182
182
|
itemsPerPage: string;
|
|
183
|
+
thisFieldIsRequired: string;
|
|
184
|
+
thisFieldMaxLength: string;
|
|
185
|
+
thisFieldMinLength: string;
|
|
186
|
+
pleaseEnterValidNumber: string;
|
|
187
|
+
startDate: string;
|
|
188
|
+
endDate: string;
|
|
189
|
+
textArea: string;
|
|
183
190
|
};
|
|
184
191
|
export default _default;
|
|
@@ -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
|
}
|
package/package.json
CHANGED
|
@@ -1000,7 +1000,7 @@ html.NoScroll {
|
|
|
1000
1000
|
overflow: hidden;
|
|
1001
1001
|
}
|
|
1002
1002
|
|
|
1003
|
-
|
|
1003
|
+
/*.hup-main-container {
|
|
1004
1004
|
.hub-top-header {
|
|
1005
1005
|
display: none !important;
|
|
1006
1006
|
}
|
|
@@ -1008,7 +1008,7 @@ html.NoScroll {
|
|
|
1008
1008
|
.hup-main-wrapper {
|
|
1009
1009
|
margin-top: 0 !important;
|
|
1010
1010
|
}
|
|
1011
|
-
}
|
|
1011
|
+
}*/
|
|
1012
1012
|
|
|
1013
1013
|
.dockbar-ready {
|
|
1014
1014
|
.dockbar {
|