bpm-core 0.0.1
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 +30 -0
- package/esm2022/bpm-core.mjs +5 -0
- package/esm2022/lib/classes/form-validation.mjs +80 -0
- package/esm2022/lib/classes/index.mjs +2 -0
- package/esm2022/lib/components/app-component-sections/activities/activities.component.mjs +51 -0
- package/esm2022/lib/components/app-component-sections/comment-section/comment-section.component.mjs +66 -0
- package/esm2022/lib/components/app-component-sections/faq-sidenav/faq-sidenav.component.mjs +29 -0
- package/esm2022/lib/components/app-component-sections/faqs/faqs.component.mjs +32 -0
- package/esm2022/lib/components/app-component-sections/faqs/index.mjs +2 -0
- package/esm2022/lib/components/app-component-sections/feedback-section/feedback-section.component.mjs +236 -0
- package/esm2022/lib/components/app-component-sections/form-section/form-section.component.mjs +270 -0
- package/esm2022/lib/components/app-component-sections/index.mjs +9 -0
- package/esm2022/lib/components/app-component-sections/main-request-details/main-request-details.component.mjs +34 -0
- package/esm2022/lib/components/app-component-sections/profile-section/profile-section.component.mjs +45 -0
- package/esm2022/lib/components/app-component-sections/service-header/service-header.component.mjs +162 -0
- package/esm2022/lib/components/app-component-sections/status/status.component.mjs +38 -0
- package/esm2022/lib/components/app-component-sections/workflow-section/workflow-section.component.mjs +162 -0
- package/esm2022/lib/components/shared-components/confirmation-popup/confirmation-popup.component.mjs +39 -0
- package/esm2022/lib/components/shared-components/delete-popup/delete-popup.component.mjs +19 -0
- package/esm2022/lib/components/shared-components/dialogs/confirm-dialog/confirm-dialog.component.mjs +30 -0
- package/esm2022/lib/components/shared-components/dialogs/delete-dialog/delete-dialog.component.mjs +28 -0
- package/esm2022/lib/components/shared-components/dialogs/submit-dialog/submit-dialog.component.mjs +72 -0
- package/esm2022/lib/components/shared-components/doc-uploader/docs-uploader.component.mjs +686 -0
- package/esm2022/lib/components/shared-components/form-field/add-attachment-section/add-attachment-section.component.mjs +77 -0
- package/esm2022/lib/components/shared-components/form-field/attachment-section/attachment-section.component.mjs +181 -0
- package/esm2022/lib/components/shared-components/form-field/base-component/base-component.component.mjs +198 -0
- package/esm2022/lib/components/shared-components/form-field/checkbox/checkbox.component.mjs +69 -0
- package/esm2022/lib/components/shared-components/form-field/custom-searchable-autocomplete/custom-searchable.component.mjs +201 -0
- package/esm2022/lib/components/shared-components/form-field/date-picker/date-format.mjs +31 -0
- package/esm2022/lib/components/shared-components/form-field/date-picker/date-picker.component.mjs +244 -0
- package/esm2022/lib/components/shared-components/form-field/date-range-picker/date-range-picker.component.mjs +26 -0
- package/esm2022/lib/components/shared-components/form-field/form-label/form-label.component.mjs +31 -0
- package/esm2022/lib/components/shared-components/form-field/index.mjs +25 -0
- package/esm2022/lib/components/shared-components/form-field/info-item/info-item.component.mjs +72 -0
- package/esm2022/lib/components/shared-components/form-field/input/input.component.mjs +155 -0
- package/esm2022/lib/components/shared-components/form-field/input-autocomplete/index.mjs +3 -0
- package/esm2022/lib/components/shared-components/form-field/input-autocomplete/input-autocomplete.model.mjs +2 -0
- package/esm2022/lib/components/shared-components/form-field/input-currency/input-currency.component.mjs +157 -0
- package/esm2022/lib/components/shared-components/form-field/input-email/input-email.component.mjs +114 -0
- package/esm2022/lib/components/shared-components/form-field/input-mask/input-mask.component.mjs +111 -0
- package/esm2022/lib/components/shared-components/form-field/input-number/input-number.component.mjs +153 -0
- package/esm2022/lib/components/shared-components/form-field/input-telephone/input-telephone.component.mjs +176 -0
- package/esm2022/lib/components/shared-components/form-field/radio/radio.component.mjs +38 -0
- package/esm2022/lib/components/shared-components/form-field/repeated-list/repeated-list.component.mjs +32 -0
- package/esm2022/lib/components/shared-components/form-field/search-employee/search-employee.component.mjs +228 -0
- package/esm2022/lib/components/shared-components/form-field/select/select.component.mjs +191 -0
- package/esm2022/lib/components/shared-components/form-field/table-list/table-list.component.mjs +116 -0
- package/esm2022/lib/components/shared-components/form-field/textarea/special-chars.directive.mjs +39 -0
- package/esm2022/lib/components/shared-components/form-field/textarea/textarea.component.mjs +88 -0
- package/esm2022/lib/components/shared-components/form-field/toggle-button/toggle-button.component.mjs +75 -0
- package/esm2022/lib/components/shared-components/index.mjs +10 -0
- package/esm2022/lib/components/shared-components/terms-conditions/terms-conditions.component.mjs +31 -0
- package/esm2022/lib/components/shared-components/title-section/title-section.component.mjs +31 -0
- package/esm2022/lib/constants/constants.mjs +144 -0
- package/esm2022/lib/constants/index.mjs +2 -0
- package/esm2022/lib/environments/environment.local.mjs +27 -0
- package/esm2022/lib/functions/data-to-blob.mjs +12 -0
- package/esm2022/lib/functions/encode-password.mjs +14 -0
- package/esm2022/lib/functions/handel-error-response.mjs +12 -0
- package/esm2022/lib/functions/index.mjs +5 -0
- package/esm2022/lib/functions/is-valid-data.mjs +42 -0
- package/esm2022/lib/hooks/index.mjs +3 -0
- package/esm2022/lib/hooks/load-form.mjs +13 -0
- package/esm2022/lib/hooks/save-form.mjs +18 -0
- package/esm2022/lib/i18n/ar.mjs +183 -0
- package/esm2022/lib/i18n/en.mjs +187 -0
- package/esm2022/lib/i18n/index.mjs +3 -0
- package/esm2022/lib/interfaces/api-response.interface.mjs +2 -0
- package/esm2022/lib/interfaces/document-file.interface.mjs +2 -0
- package/esm2022/lib/interfaces/form-items.interface.mjs +2 -0
- package/esm2022/lib/interfaces/form.interface.mjs +150 -0
- package/esm2022/lib/interfaces/igate-user.interface.mjs +2 -0
- package/esm2022/lib/interfaces/index.mjs +8 -0
- package/esm2022/lib/interfaces/lov-list.interface.mjs +2 -0
- package/esm2022/lib/interfaces/lov.interface.mjs +2 -0
- package/esm2022/lib/interfaces/shared.interface.mjs +2 -0
- package/esm2022/lib/pipes/currency.pipe.mjs +66 -0
- package/esm2022/lib/pipes/format-as-password.pipe.mjs +19 -0
- package/esm2022/lib/pipes/index.mjs +3 -0
- package/esm2022/lib/services/feedBack.service.mjs +80 -0
- package/esm2022/lib/services/i18n.service.mjs +36 -0
- package/esm2022/lib/services/index.mjs +3 -0
- package/esm2022/lib/services/sidenav.service.mjs +69 -0
- package/esm2022/lib/validators/ar.directive.mjs +53 -0
- package/esm2022/lib/validators/currency.directive.mjs +74 -0
- package/esm2022/lib/validators/en.directive.mjs +50 -0
- package/esm2022/lib/validators/id.validator.mjs +66 -0
- package/esm2022/lib/validators/index.mjs +8 -0
- package/esm2022/lib/validators/string-to-boolean.pipe.mjs +16 -0
- package/esm2022/lib/validators/text.directive.mjs +50 -0
- package/esm2022/lib/validators/timer.pipe.mjs +19 -0
- package/esm2022/public-api.mjs +16 -0
- package/fesm2022/bpm-core.mjs +6005 -0
- package/fesm2022/bpm-core.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/classes/form-validation.d.ts +19 -0
- package/lib/classes/index.d.ts +1 -0
- package/lib/components/app-component-sections/activities/activities.component.d.ts +22 -0
- package/lib/components/app-component-sections/comment-section/comment-section.component.d.ts +19 -0
- package/lib/components/app-component-sections/faq-sidenav/faq-sidenav.component.d.ts +13 -0
- package/lib/components/app-component-sections/faqs/faqs.component.d.ts +17 -0
- package/lib/components/app-component-sections/faqs/index.d.ts +1 -0
- package/lib/components/app-component-sections/feedback-section/feedback-section.component.d.ts +38 -0
- package/lib/components/app-component-sections/form-section/form-section.component.d.ts +58 -0
- package/lib/components/app-component-sections/index.d.ts +8 -0
- package/lib/components/app-component-sections/main-request-details/main-request-details.component.d.ts +13 -0
- package/lib/components/app-component-sections/profile-section/profile-section.component.d.ts +17 -0
- package/lib/components/app-component-sections/service-header/service-header.component.d.ts +35 -0
- package/lib/components/app-component-sections/status/status.component.d.ts +23 -0
- package/lib/components/app-component-sections/workflow-section/workflow-section.component.d.ts +29 -0
- package/lib/components/shared-components/confirmation-popup/confirmation-popup.component.d.ts +25 -0
- package/lib/components/shared-components/delete-popup/delete-popup.component.d.ts +6 -0
- package/lib/components/shared-components/dialogs/confirm-dialog/confirm-dialog.component.d.ts +11 -0
- package/lib/components/shared-components/dialogs/delete-dialog/delete-dialog.component.d.ts +11 -0
- package/lib/components/shared-components/dialogs/submit-dialog/submit-dialog.component.d.ts +15 -0
- package/lib/components/shared-components/doc-uploader/docs-uploader.component.d.ts +144 -0
- package/lib/components/shared-components/form-field/add-attachment-section/add-attachment-section.component.d.ts +16 -0
- package/lib/components/shared-components/form-field/attachment-section/attachment-section.component.d.ts +30 -0
- package/lib/components/shared-components/form-field/base-component/base-component.component.d.ts +63 -0
- package/lib/components/shared-components/form-field/checkbox/checkbox.component.d.ts +18 -0
- package/lib/components/shared-components/form-field/custom-searchable-autocomplete/custom-searchable.component.d.ts +29 -0
- package/lib/components/shared-components/form-field/date-picker/date-format.d.ts +17 -0
- package/lib/components/shared-components/form-field/date-picker/date-picker.component.d.ts +41 -0
- package/lib/components/shared-components/form-field/date-range-picker/date-range-picker.component.d.ts +10 -0
- package/lib/components/shared-components/form-field/form-label/form-label.component.d.ts +12 -0
- package/lib/components/shared-components/form-field/index.d.ts +24 -0
- package/lib/components/shared-components/form-field/info-item/info-item.component.d.ts +23 -0
- package/lib/components/shared-components/form-field/input/input.component.d.ts +32 -0
- package/lib/components/shared-components/form-field/input-autocomplete/index.d.ts +1 -0
- package/lib/components/shared-components/form-field/input-autocomplete/input-autocomplete.model.d.ts +6 -0
- package/lib/components/shared-components/form-field/input-currency/input-currency.component.d.ts +31 -0
- package/lib/components/shared-components/form-field/input-email/input-email.component.d.ts +27 -0
- package/lib/components/shared-components/form-field/input-mask/input-mask.component.d.ts +27 -0
- package/lib/components/shared-components/form-field/input-number/input-number.component.d.ts +30 -0
- package/lib/components/shared-components/form-field/input-telephone/input-telephone.component.d.ts +45 -0
- package/lib/components/shared-components/form-field/radio/radio.component.d.ts +10 -0
- package/lib/components/shared-components/form-field/repeated-list/repeated-list.component.d.ts +9 -0
- package/lib/components/shared-components/form-field/search-employee/search-employee.component.d.ts +44 -0
- package/lib/components/shared-components/form-field/select/select.component.d.ts +36 -0
- package/lib/components/shared-components/form-field/table-list/table-list.component.d.ts +26 -0
- package/lib/components/shared-components/form-field/textarea/special-chars.directive.d.ts +10 -0
- package/lib/components/shared-components/form-field/textarea/textarea.component.d.ts +20 -0
- package/lib/components/shared-components/form-field/toggle-button/toggle-button.component.d.ts +20 -0
- package/lib/components/shared-components/index.d.ts +9 -0
- package/lib/components/shared-components/terms-conditions/terms-conditions.component.d.ts +12 -0
- package/lib/components/shared-components/title-section/title-section.component.d.ts +13 -0
- package/lib/constants/constants.d.ts +122 -0
- package/lib/constants/index.d.ts +1 -0
- package/lib/environments/environment.local.d.ts +26 -0
- package/lib/functions/data-to-blob.d.ts +1 -0
- package/lib/functions/encode-password.d.ts +1 -0
- package/lib/functions/handel-error-response.d.ts +4 -0
- package/lib/functions/index.d.ts +4 -0
- package/lib/functions/is-valid-data.d.ts +1 -0
- package/lib/hooks/index.d.ts +2 -0
- package/lib/hooks/load-form.d.ts +10 -0
- package/lib/hooks/save-form.d.ts +15 -0
- package/lib/i18n/ar.d.ts +170 -0
- package/lib/i18n/en.d.ts +174 -0
- package/lib/i18n/index.d.ts +2 -0
- package/lib/interfaces/api-response.interface.d.ts +5 -0
- package/lib/interfaces/document-file.interface.d.ts +12 -0
- package/lib/interfaces/form-items.interface.d.ts +14 -0
- package/lib/interfaces/form.interface.d.ts +95 -0
- package/lib/interfaces/igate-user.interface.d.ts +16 -0
- package/lib/interfaces/index.d.ts +7 -0
- package/lib/interfaces/lov-list.interface.d.ts +10 -0
- package/lib/interfaces/lov.interface.d.ts +19 -0
- package/lib/interfaces/shared.interface.d.ts +21 -0
- package/lib/pipes/currency.pipe.d.ts +13 -0
- package/lib/pipes/format-as-password.pipe.d.ts +7 -0
- package/lib/pipes/index.d.ts +2 -0
- package/lib/services/feedBack.service.d.ts +21 -0
- package/lib/services/i18n.service.d.ts +10 -0
- package/lib/services/index.d.ts +2 -0
- package/lib/services/sidenav.service.d.ts +28 -0
- package/lib/validators/ar.directive.d.ts +11 -0
- package/lib/validators/currency.directive.d.ts +16 -0
- package/lib/validators/en.directive.d.ts +11 -0
- package/lib/validators/id.validator.d.ts +3 -0
- package/lib/validators/index.d.ts +7 -0
- package/lib/validators/string-to-boolean.pipe.d.ts +7 -0
- package/lib/validators/text.directive.d.ts +12 -0
- package/lib/validators/timer.pipe.d.ts +7 -0
- package/package.json +26 -0
- package/public-api.d.ts +13 -0
package/lib/components/shared-components/form-field/base-component/base-component.component.d.ts
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { DateAdapter } from '@angular/material/core';
|
|
2
|
+
import { FormControl } from '@angular/forms';
|
|
3
|
+
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
4
|
+
import { EventEmitter, ChangeDetectorRef } from '@angular/core';
|
|
5
|
+
import { FormBuilder } from '@angular/forms';
|
|
6
|
+
import { HttpClient } from '@angular/common/http';
|
|
7
|
+
import { Section } from '../../../../interfaces';
|
|
8
|
+
import { CoreI18nService } from '../../../../services';
|
|
9
|
+
import { MycurrencyPipe } from '../../../../pipes';
|
|
10
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
11
|
+
import { CustomDateFormat } from '../date-picker/date-format';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
|
+
export declare class BaseComponent {
|
|
14
|
+
i18n: CoreI18nService;
|
|
15
|
+
http: HttpClient;
|
|
16
|
+
fb: FormBuilder;
|
|
17
|
+
private dateAdapter;
|
|
18
|
+
cdRef: ChangeDetectorRef;
|
|
19
|
+
dialog: MatDialog;
|
|
20
|
+
dialogRef: MatDialogRef<any>;
|
|
21
|
+
dialogData: any;
|
|
22
|
+
mycurrencyPipe: MycurrencyPipe;
|
|
23
|
+
dateFormat: CustomDateFormat;
|
|
24
|
+
sanitizer: DomSanitizer;
|
|
25
|
+
hideOption: boolean;
|
|
26
|
+
type: string;
|
|
27
|
+
loading: boolean;
|
|
28
|
+
field: any;
|
|
29
|
+
labelTextReadMode: string;
|
|
30
|
+
labelTextWriteMode: string;
|
|
31
|
+
isReadOnly: boolean;
|
|
32
|
+
name: string;
|
|
33
|
+
required: boolean;
|
|
34
|
+
mask: string;
|
|
35
|
+
allowedExtensions: string;
|
|
36
|
+
link: boolean;
|
|
37
|
+
multiple: boolean;
|
|
38
|
+
insideTable: boolean;
|
|
39
|
+
showIfEmpty: boolean;
|
|
40
|
+
showErrorMessage: boolean;
|
|
41
|
+
showHint: boolean;
|
|
42
|
+
hint: string;
|
|
43
|
+
errorMessage: string;
|
|
44
|
+
placeholder: string;
|
|
45
|
+
maxLength: number;
|
|
46
|
+
minLength: number;
|
|
47
|
+
maxValue: string;
|
|
48
|
+
minValue: string;
|
|
49
|
+
disabled: boolean;
|
|
50
|
+
lov: any;
|
|
51
|
+
hasLabel: boolean;
|
|
52
|
+
section: Section;
|
|
53
|
+
controller: FormControl;
|
|
54
|
+
value: any;
|
|
55
|
+
emitedValue: EventEmitter<any>;
|
|
56
|
+
filesize: string;
|
|
57
|
+
randomID: number;
|
|
58
|
+
constructor(i18n: CoreI18nService, http: HttpClient, fb: FormBuilder, dateAdapter: DateAdapter<Date>, cdRef: ChangeDetectorRef, dialog: MatDialog, dialogRef: MatDialogRef<any>, dialogData: any, mycurrencyPipe: MycurrencyPipe, dateFormat: CustomDateFormat, sanitizer: DomSanitizer);
|
|
59
|
+
get shouldSetDateFormateInAr(): boolean;
|
|
60
|
+
resetData(): void;
|
|
61
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponent, never>;
|
|
62
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseComponent, "app-base-component", never, { "hideOption": { "alias": "hideOption"; "required": false; }; "type": { "alias": "type"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "field": { "alias": "field"; "required": false; }; "labelTextReadMode": { "alias": "labelTextReadMode"; "required": false; }; "labelTextWriteMode": { "alias": "labelTextWriteMode"; "required": false; }; "isReadOnly": { "alias": "isReadOnly"; "required": false; }; "name": { "alias": "name"; "required": false; }; "required": { "alias": "required"; "required": false; }; "mask": { "alias": "mask"; "required": false; }; "allowedExtensions": { "alias": "allowedExtensions"; "required": false; }; "link": { "alias": "link"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "insideTable": { "alias": "insideTable"; "required": false; }; "showIfEmpty": { "alias": "showIfEmpty"; "required": false; }; "showErrorMessage": { "alias": "showErrorMessage"; "required": false; }; "showHint": { "alias": "showHint"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "minLength": { "alias": "minLength"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "lov": { "alias": "lov"; "required": false; }; "hasLabel": { "alias": "hasLabel"; "required": false; }; "section": { "alias": "section"; "required": false; }; "controller": { "alias": "controller"; "required": false; }; }, { "emitedValue": "emitedValue"; }, never, never, true, never>;
|
|
63
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { BaseComponent } from '../base-component/base-component.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CheckBoxComponent extends BaseComponent {
|
|
5
|
+
containTerms: boolean;
|
|
6
|
+
termsLabel: string;
|
|
7
|
+
linkText: string;
|
|
8
|
+
hrefLink: string;
|
|
9
|
+
downloadCheckBox: EventEmitter<any>;
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
resetCheckBoxData(): void;
|
|
12
|
+
openUrl(): void;
|
|
13
|
+
valueChange(event: any): void;
|
|
14
|
+
downloadFile(): void;
|
|
15
|
+
openTermsPopup(): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CheckBoxComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckBoxComponent, "app-checkbox", never, { "containTerms": { "alias": "containTerms"; "required": false; }; "termsLabel": { "alias": "termsLabel"; "required": false; }; "linkText": { "alias": "linkText"; "required": false; }; "hrefLink": { "alias": "hrefLink"; "required": false; }; }, { "downloadCheckBox": "downloadCheckBox"; }, never, never, true, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { EventEmitter, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { FormControl } from '@angular/forms';
|
|
3
|
+
import { Observable } from "rxjs";
|
|
4
|
+
import { BaseComponent } from '../base-component/base-component.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class CustomSearchableComponent extends BaseComponent {
|
|
7
|
+
myControl: FormControl;
|
|
8
|
+
options: any;
|
|
9
|
+
label: string;
|
|
10
|
+
selectedValue: EventEmitter<any>;
|
|
11
|
+
resetByDeleteBtn: EventEmitter<any>;
|
|
12
|
+
isLengthGreaterThan4: EventEmitter<any>;
|
|
13
|
+
noData: boolean;
|
|
14
|
+
filteredOptions: Observable<any>;
|
|
15
|
+
floatLabel: any;
|
|
16
|
+
className: string;
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
clearInput(): void;
|
|
19
|
+
onKeyDown(e: KeyboardEvent, input: HTMLInputElement): void;
|
|
20
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
21
|
+
onValueChange(): void;
|
|
22
|
+
focusOutFunction(event: any): void;
|
|
23
|
+
private _filter;
|
|
24
|
+
displayFn(option: any): string;
|
|
25
|
+
getAutoComplete(value: any): void;
|
|
26
|
+
onLoadOptions(event: any): void;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomSearchableComponent, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomSearchableComponent, "app-custom-searchable", never, { "myControl": { "alias": "myControl"; "required": false; }; "options": { "alias": "options"; "required": false; }; "label": { "alias": "label"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "className": { "alias": "className"; "required": false; }; }, { "selectedValue": "selectedValue"; "resetByDeleteBtn": "resetByDeleteBtn"; "isLengthGreaterThan4": "isLengthGreaterThan4"; }, never, never, true, never>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface DateParse {
|
|
2
|
+
dateInput: string;
|
|
3
|
+
}
|
|
4
|
+
export type DateDisplay = DateParse & {
|
|
5
|
+
monthYearLabel?: string;
|
|
6
|
+
dateA11yLabel?: string;
|
|
7
|
+
monthYearA11yLabel?: string;
|
|
8
|
+
};
|
|
9
|
+
export declare class CustomDateFormat {
|
|
10
|
+
private _parse;
|
|
11
|
+
private _display;
|
|
12
|
+
set parse(parse: DateParse);
|
|
13
|
+
get parse(): DateParse;
|
|
14
|
+
set display(display: DateDisplay);
|
|
15
|
+
get display(): DateDisplay;
|
|
16
|
+
updateDateFormat(parse: DateParse, display?: DateDisplay): void;
|
|
17
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { FormControl } from '@angular/forms';
|
|
2
|
+
import { BaseComponent } from '../base-component/base-component.component';
|
|
3
|
+
import { EventEmitter, SimpleChanges, AfterViewInit } from '@angular/core';
|
|
4
|
+
import { MatDatepicker } from '@angular/material/datepicker';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class DatePickerComponent extends BaseComponent implements AfterViewInit {
|
|
7
|
+
date: FormControl<any>;
|
|
8
|
+
tooltip: string;
|
|
9
|
+
className: string;
|
|
10
|
+
calendarType: string;
|
|
11
|
+
showLabel: boolean;
|
|
12
|
+
yearOnly: boolean;
|
|
13
|
+
resetDate: boolean;
|
|
14
|
+
dateValue: EventEmitter<any>;
|
|
15
|
+
showIslamic: boolean;
|
|
16
|
+
error: string;
|
|
17
|
+
minDateValue: any;
|
|
18
|
+
maxDateValue: any;
|
|
19
|
+
maxDate: string;
|
|
20
|
+
datepickerObj: any;
|
|
21
|
+
minDate: string;
|
|
22
|
+
customMaxDate: any;
|
|
23
|
+
customMinDate: any;
|
|
24
|
+
set format(_format: string);
|
|
25
|
+
datepicker: MatDatepicker<any>;
|
|
26
|
+
floatLabel: any;
|
|
27
|
+
ngAfterViewInit(): void;
|
|
28
|
+
get shouldSetDateFormateInAr(): boolean;
|
|
29
|
+
ngOnInit(): void;
|
|
30
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
31
|
+
resetDateData(): void;
|
|
32
|
+
focusPicker(picker: any): void;
|
|
33
|
+
onFocus(): void;
|
|
34
|
+
dateChange(event: any): void;
|
|
35
|
+
clearDateValue(event: any): void;
|
|
36
|
+
removeDate(): void;
|
|
37
|
+
toggleIslamicCal(): void;
|
|
38
|
+
private activateYearOnlyMode;
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerComponent, never>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerComponent, "app-datepicker", never, { "tooltip": { "alias": "tooltip"; "required": false; }; "className": { "alias": "className"; "required": false; }; "calendarType": { "alias": "calendarType"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "yearOnly": { "alias": "yearOnly"; "required": false; }; "resetDate": { "alias": "resetDate"; "required": false; }; "error": { "alias": "error"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "customMaxDate": { "alias": "customMaxDate"; "required": false; }; "customMinDate": { "alias": "customMinDate"; "required": false; }; "format": { "alias": "format"; "required": false; }; }, { "dateValue": "dateValue"; }, never, never, true, never>;
|
|
41
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class DateRangePickerComponent {
|
|
3
|
+
label: string;
|
|
4
|
+
tooltip: string;
|
|
5
|
+
className: string;
|
|
6
|
+
placeholder: string;
|
|
7
|
+
constructor();
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateRangePickerComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateRangePickerComponent, "app-date-range-picker", never, { "label": { "alias": "label"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "className": { "alias": "className"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, {}, never, never, true, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CoreI18nService } from '../../../../services';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FormLabelComponent {
|
|
4
|
+
i18n: CoreI18nService;
|
|
5
|
+
hideOption: boolean;
|
|
6
|
+
showLabel: boolean;
|
|
7
|
+
label: string;
|
|
8
|
+
optional: boolean;
|
|
9
|
+
constructor(i18n: CoreI18nService);
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormLabelComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormLabelComponent, "app-form-label", never, { "hideOption": { "alias": "hideOption"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "label": { "alias": "label"; "required": false; }; "optional": { "alias": "optional"; "required": false; }; }, {}, never, never, true, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export * from './base-component/base-component.component';
|
|
2
|
+
export * from './checkbox/checkbox.component';
|
|
3
|
+
export * from './custom-searchable-autocomplete/custom-searchable.component';
|
|
4
|
+
export * from './date-picker/date-picker.component';
|
|
5
|
+
export * from './date-range-picker/date-range-picker.component';
|
|
6
|
+
export * from './form-label/form-label.component';
|
|
7
|
+
export * from './info-item/info-item.component';
|
|
8
|
+
export * from './input/input.component';
|
|
9
|
+
export * from './input-number/input-number.component';
|
|
10
|
+
export * from './input-email/input-email.component';
|
|
11
|
+
export * from './input-mask/input-mask.component';
|
|
12
|
+
export * from './input-currency/input-currency.component';
|
|
13
|
+
export * from './input-autocomplete';
|
|
14
|
+
export * from './input-telephone/input-telephone.component';
|
|
15
|
+
export * from './search-employee/search-employee.component';
|
|
16
|
+
export * from './select/select.component';
|
|
17
|
+
export * from './textarea/textarea.component';
|
|
18
|
+
export * from './textarea/special-chars.directive';
|
|
19
|
+
export * from './toggle-button/toggle-button.component';
|
|
20
|
+
export * from './table-list/table-list.component';
|
|
21
|
+
export * from './repeated-list/repeated-list.component';
|
|
22
|
+
export * from './attachment-section/attachment-section.component';
|
|
23
|
+
export * from './add-attachment-section/add-attachment-section.component';
|
|
24
|
+
export * from './radio/radio.component';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { CoreI18nService } from '../../../../services';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class InfoItemComponent implements OnInit {
|
|
5
|
+
i18n: CoreI18nService;
|
|
6
|
+
label: string;
|
|
7
|
+
value: any;
|
|
8
|
+
name: any;
|
|
9
|
+
type: string;
|
|
10
|
+
dateType: string;
|
|
11
|
+
multiple: boolean;
|
|
12
|
+
insideTable: boolean;
|
|
13
|
+
hasLabel: boolean;
|
|
14
|
+
arrayList: [];
|
|
15
|
+
actionType: string;
|
|
16
|
+
download: boolean;
|
|
17
|
+
constructor(i18n: CoreI18nService);
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
viewForm(url: string): void;
|
|
20
|
+
getImage(email: string): string;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InfoItemComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InfoItemComponent, "app-info-item", never, { "label": { "alias": "label"; "required": false; }; "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; "type": { "alias": "type"; "required": false; }; "dateType": { "alias": "dateType"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "insideTable": { "alias": "insideTable"; "required": false; }; "hasLabel": { "alias": "hasLabel"; "required": false; }; "arrayList": { "alias": "arrayList"; "required": false; }; "actionType": { "alias": "actionType"; "required": false; }; "download": { "alias": "download"; "required": false; }; }, {}, never, never, true, never>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { BaseComponent } from '../base-component/base-component.component';
|
|
2
|
+
import { SimpleChanges, EventEmitter } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class InputComponent extends BaseComponent {
|
|
5
|
+
label: string;
|
|
6
|
+
displayValue: any;
|
|
7
|
+
hasError: boolean;
|
|
8
|
+
hasTooltip: boolean;
|
|
9
|
+
error: string;
|
|
10
|
+
tooltip: string;
|
|
11
|
+
floatLabel: any;
|
|
12
|
+
className: string;
|
|
13
|
+
showLabel: boolean;
|
|
14
|
+
matPrefix: boolean;
|
|
15
|
+
iconPrefixName: string;
|
|
16
|
+
matSuffix: boolean;
|
|
17
|
+
iconSuffixName: string;
|
|
18
|
+
numberSuffixName: string;
|
|
19
|
+
optional: boolean;
|
|
20
|
+
showArrows: boolean;
|
|
21
|
+
decimals: number;
|
|
22
|
+
emitedChangedValue1: EventEmitter<any>;
|
|
23
|
+
useCurrency: boolean;
|
|
24
|
+
useMask: boolean;
|
|
25
|
+
ngOnInit(): void;
|
|
26
|
+
ngAfterViewChecked(): void;
|
|
27
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
28
|
+
onValueChange1(data: any): void;
|
|
29
|
+
onValueChange(data: any): void;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "app-input", never, { "label": { "alias": "label"; "required": false; }; "displayValue": { "alias": "displayValue"; "required": false; }; "hasError": { "alias": "hasError"; "required": false; }; "hasTooltip": { "alias": "hasTooltip"; "required": false; }; "error": { "alias": "error"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "className": { "alias": "className"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "matPrefix": { "alias": "matPrefix"; "required": false; }; "iconPrefixName": { "alias": "iconPrefixName"; "required": false; }; "matSuffix": { "alias": "matSuffix"; "required": false; }; "iconSuffixName": { "alias": "iconSuffixName"; "required": false; }; "numberSuffixName": { "alias": "numberSuffixName"; "required": false; }; "optional": { "alias": "optional"; "required": false; }; "showArrows": { "alias": "showArrows"; "required": false; }; "decimals": { "alias": "decimals"; "required": false; }; "emitedChangedValue1": { "alias": "emitedChangedValue1"; "required": false; }; "useCurrency": { "alias": "useCurrency"; "required": false; }; "useMask": { "alias": "useMask"; "required": false; }; }, {}, never, never, true, never>;
|
|
32
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './input-autocomplete.model';
|
package/lib/components/shared-components/form-field/input-currency/input-currency.component.d.ts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { BaseComponent } from '../base-component/base-component.component';
|
|
2
|
+
import { SimpleChanges } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class InputCurrencyComponent extends BaseComponent {
|
|
5
|
+
label: string;
|
|
6
|
+
displayValue: any;
|
|
7
|
+
hasError: boolean;
|
|
8
|
+
error: string;
|
|
9
|
+
tooltip: string;
|
|
10
|
+
floatLabel: any;
|
|
11
|
+
className: string;
|
|
12
|
+
showLabel: boolean;
|
|
13
|
+
showPlus: boolean;
|
|
14
|
+
showMinus: boolean;
|
|
15
|
+
matPrefix: boolean;
|
|
16
|
+
iconPrefixName: string;
|
|
17
|
+
matSuffix: boolean;
|
|
18
|
+
iconSuffixName: string;
|
|
19
|
+
numberSuffixName: string;
|
|
20
|
+
optional: boolean;
|
|
21
|
+
showArrows: boolean;
|
|
22
|
+
decimals: number;
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
ngAfterViewChecked(): void;
|
|
25
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
26
|
+
plus(): void;
|
|
27
|
+
minus(): void;
|
|
28
|
+
onValueChange(data: any): void;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputCurrencyComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputCurrencyComponent, "app-input-currency", never, { "label": { "alias": "label"; "required": false; }; "displayValue": { "alias": "displayValue"; "required": false; }; "hasError": { "alias": "hasError"; "required": false; }; "error": { "alias": "error"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "className": { "alias": "className"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "showPlus": { "alias": "showPlus"; "required": false; }; "showMinus": { "alias": "showMinus"; "required": false; }; "matPrefix": { "alias": "matPrefix"; "required": false; }; "iconPrefixName": { "alias": "iconPrefixName"; "required": false; }; "matSuffix": { "alias": "matSuffix"; "required": false; }; "iconSuffixName": { "alias": "iconSuffixName"; "required": false; }; "numberSuffixName": { "alias": "numberSuffixName"; "required": false; }; "optional": { "alias": "optional"; "required": false; }; "showArrows": { "alias": "showArrows"; "required": false; }; "decimals": { "alias": "decimals"; "required": false; }; }, {}, never, never, true, never>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { BaseComponent } from '../base-component/base-component.component';
|
|
2
|
+
import { SimpleChanges } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class InputEmailComponent extends BaseComponent {
|
|
5
|
+
label: string;
|
|
6
|
+
displayValue: any;
|
|
7
|
+
hasError: boolean;
|
|
8
|
+
error: string;
|
|
9
|
+
tooltip: string;
|
|
10
|
+
floatLabel: any;
|
|
11
|
+
className: string;
|
|
12
|
+
showLabel: boolean;
|
|
13
|
+
matPrefix: boolean;
|
|
14
|
+
iconPrefixName: string;
|
|
15
|
+
matSuffix: boolean;
|
|
16
|
+
iconSuffixName: string;
|
|
17
|
+
numberSuffixName: string;
|
|
18
|
+
optional: boolean;
|
|
19
|
+
showArrows: boolean;
|
|
20
|
+
decimals: number;
|
|
21
|
+
ngOnInit(): void;
|
|
22
|
+
ngAfterViewChecked(): void;
|
|
23
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
24
|
+
onValueChange(data: any): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputEmailComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputEmailComponent, "app-input-email", never, { "label": { "alias": "label"; "required": false; }; "displayValue": { "alias": "displayValue"; "required": false; }; "hasError": { "alias": "hasError"; "required": false; }; "error": { "alias": "error"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "className": { "alias": "className"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "matPrefix": { "alias": "matPrefix"; "required": false; }; "iconPrefixName": { "alias": "iconPrefixName"; "required": false; }; "matSuffix": { "alias": "matSuffix"; "required": false; }; "iconSuffixName": { "alias": "iconSuffixName"; "required": false; }; "numberSuffixName": { "alias": "numberSuffixName"; "required": false; }; "optional": { "alias": "optional"; "required": false; }; "showArrows": { "alias": "showArrows"; "required": false; }; "decimals": { "alias": "decimals"; "required": false; }; }, {}, never, never, true, never>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { BaseComponent } from '../base-component/base-component.component';
|
|
2
|
+
import { SimpleChanges } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class InputMaskComponent extends BaseComponent {
|
|
5
|
+
label: string;
|
|
6
|
+
displayValue: any;
|
|
7
|
+
hasError: boolean;
|
|
8
|
+
error: string;
|
|
9
|
+
tooltip: string;
|
|
10
|
+
floatLabel: any;
|
|
11
|
+
className: string;
|
|
12
|
+
showLabel: boolean;
|
|
13
|
+
matPrefix: boolean;
|
|
14
|
+
iconPrefixName: string;
|
|
15
|
+
matSuffix: boolean;
|
|
16
|
+
iconSuffixName: string;
|
|
17
|
+
numberSuffixName: string;
|
|
18
|
+
optional: boolean;
|
|
19
|
+
showArrows: boolean;
|
|
20
|
+
decimals: number;
|
|
21
|
+
ngOnInit(): void;
|
|
22
|
+
ngAfterViewChecked(): void;
|
|
23
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
24
|
+
onValueChange(data: any): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputMaskComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputMaskComponent, "app-input-mask", never, { "label": { "alias": "label"; "required": false; }; "displayValue": { "alias": "displayValue"; "required": false; }; "hasError": { "alias": "hasError"; "required": false; }; "error": { "alias": "error"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "className": { "alias": "className"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "matPrefix": { "alias": "matPrefix"; "required": false; }; "iconPrefixName": { "alias": "iconPrefixName"; "required": false; }; "matSuffix": { "alias": "matSuffix"; "required": false; }; "iconSuffixName": { "alias": "iconSuffixName"; "required": false; }; "numberSuffixName": { "alias": "numberSuffixName"; "required": false; }; "optional": { "alias": "optional"; "required": false; }; "showArrows": { "alias": "showArrows"; "required": false; }; "decimals": { "alias": "decimals"; "required": false; }; }, {}, never, never, true, never>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { BaseComponent } from '../base-component/base-component.component';
|
|
2
|
+
import { EventEmitter, SimpleChanges } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class InputNumberComponent extends BaseComponent {
|
|
5
|
+
label: string;
|
|
6
|
+
displayValue: any;
|
|
7
|
+
hasError: boolean;
|
|
8
|
+
error: string;
|
|
9
|
+
tooltip: string;
|
|
10
|
+
floatLabel: any;
|
|
11
|
+
className: string;
|
|
12
|
+
showLabel: boolean;
|
|
13
|
+
matPrefix: boolean;
|
|
14
|
+
iconPrefixName: string;
|
|
15
|
+
matSuffix: boolean;
|
|
16
|
+
iconSuffixName: string;
|
|
17
|
+
numberSuffixName: string;
|
|
18
|
+
optional: boolean;
|
|
19
|
+
showArrows: boolean;
|
|
20
|
+
decimals: number;
|
|
21
|
+
allowedPattern: string;
|
|
22
|
+
emitedChangedValue: EventEmitter<any>;
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
ngAfterViewChecked(): void;
|
|
25
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
26
|
+
onValueChange(data: any): void;
|
|
27
|
+
onValueChangeEvent(data: any): void;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputNumberComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputNumberComponent, "app-input-number", never, { "label": { "alias": "label"; "required": false; }; "displayValue": { "alias": "displayValue"; "required": false; }; "hasError": { "alias": "hasError"; "required": false; }; "error": { "alias": "error"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "className": { "alias": "className"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "matPrefix": { "alias": "matPrefix"; "required": false; }; "iconPrefixName": { "alias": "iconPrefixName"; "required": false; }; "matSuffix": { "alias": "matSuffix"; "required": false; }; "iconSuffixName": { "alias": "iconSuffixName"; "required": false; }; "numberSuffixName": { "alias": "numberSuffixName"; "required": false; }; "optional": { "alias": "optional"; "required": false; }; "showArrows": { "alias": "showArrows"; "required": false; }; "decimals": { "alias": "decimals"; "required": false; }; "allowedPattern": { "alias": "allowedPattern"; "required": false; }; }, { "emitedChangedValue": "emitedChangedValue"; }, never, never, true, never>;
|
|
30
|
+
}
|
package/lib/components/shared-components/form-field/input-telephone/input-telephone.component.d.ts
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { FormControl } from '@angular/forms';
|
|
2
|
+
import { EventEmitter } from '@angular/core';
|
|
3
|
+
import { CoreI18nService } from '../../../../services';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class InputTelephoneComponent {
|
|
6
|
+
i18n: CoreI18nService;
|
|
7
|
+
label: string;
|
|
8
|
+
value: string;
|
|
9
|
+
tooltip: string;
|
|
10
|
+
floatLabel: any;
|
|
11
|
+
className: string;
|
|
12
|
+
placeholder: string;
|
|
13
|
+
showLabel: boolean;
|
|
14
|
+
isReadOnly: boolean;
|
|
15
|
+
matPrefix: boolean;
|
|
16
|
+
iconPrefixName: string;
|
|
17
|
+
matSuffix: boolean;
|
|
18
|
+
iconSuffixName: string;
|
|
19
|
+
required: boolean;
|
|
20
|
+
disabled: boolean;
|
|
21
|
+
field: any;
|
|
22
|
+
name: string;
|
|
23
|
+
controller: FormControl;
|
|
24
|
+
error: string;
|
|
25
|
+
checkPhoneError: EventEmitter<boolean>;
|
|
26
|
+
phoneValue: EventEmitter<string>;
|
|
27
|
+
totalNumber: EventEmitter<string>;
|
|
28
|
+
maxLength: any;
|
|
29
|
+
minLength: any;
|
|
30
|
+
countryCode: string;
|
|
31
|
+
showEdit: boolean;
|
|
32
|
+
inputValue: EventEmitter<any>;
|
|
33
|
+
emitedValue: EventEmitter<any>;
|
|
34
|
+
telhasError: boolean;
|
|
35
|
+
emitedError: EventEmitter<any>;
|
|
36
|
+
constructor(i18n: CoreI18nService);
|
|
37
|
+
onCountryChange(event: any): void;
|
|
38
|
+
hasError(event: boolean): void;
|
|
39
|
+
getNumber(event: any): void;
|
|
40
|
+
telInputObject($event: any): void;
|
|
41
|
+
editClicked(): void;
|
|
42
|
+
onValueChange(data: any): void;
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputTelephoneComponent, never>;
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputTelephoneComponent, "app-input-telephone", never, { "label": { "alias": "label"; "required": false; }; "value": { "alias": "value"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "className": { "alias": "className"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "isReadOnly": { "alias": "isReadOnly"; "required": false; }; "matPrefix": { "alias": "matPrefix"; "required": false; }; "iconPrefixName": { "alias": "iconPrefixName"; "required": false; }; "matSuffix": { "alias": "matSuffix"; "required": false; }; "iconSuffixName": { "alias": "iconSuffixName"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "field": { "alias": "field"; "required": false; }; "name": { "alias": "name"; "required": false; }; "controller": { "alias": "controller"; "required": false; }; "error": { "alias": "error"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "minLength": { "alias": "minLength"; "required": false; }; "showEdit": { "alias": "showEdit"; "required": false; }; }, { "checkPhoneError": "checkPhoneError"; "phoneValue": "phoneValue"; "totalNumber": "totalNumber"; "inputValue": "inputValue"; "emitedValue": "emitedValue"; "emitedError": "emitedError"; }, never, never, true, never>;
|
|
45
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BaseComponent } from '../base-component/base-component.component';
|
|
2
|
+
import { MatRadioChange } from '@angular/material/radio';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class RadioComponent extends BaseComponent {
|
|
5
|
+
ngOnInit(): void;
|
|
6
|
+
resetCheckBoxData(): void;
|
|
7
|
+
valueChange(event: MatRadioChange): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RadioComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RadioComponent, "app-radio", never, {}, {}, never, never, true, never>;
|
|
10
|
+
}
|
package/lib/components/shared-components/form-field/repeated-list/repeated-list.component.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class RepeatedListComponent {
|
|
3
|
+
listOfItems: any;
|
|
4
|
+
type: string;
|
|
5
|
+
constructor();
|
|
6
|
+
getImage(email: string): string;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RepeatedListComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RepeatedListComponent, "app-repeated-list", never, { "listOfItems": { "alias": "listOfItems"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, never, true, never>;
|
|
9
|
+
}
|
package/lib/components/shared-components/form-field/search-employee/search-employee.component.d.ts
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { BaseComponent } from './../base-component/base-component.component';
|
|
2
|
+
import { EventEmitter, SimpleChanges } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SearchEmployeeComponent extends BaseComponent {
|
|
5
|
+
valueName: string;
|
|
6
|
+
label: string;
|
|
7
|
+
tooltip: string;
|
|
8
|
+
className: string;
|
|
9
|
+
showLabel: boolean;
|
|
10
|
+
optional: boolean;
|
|
11
|
+
data: any[];
|
|
12
|
+
filteredOptions: any;
|
|
13
|
+
floatLabel: any;
|
|
14
|
+
error: string;
|
|
15
|
+
selectedItems: any[];
|
|
16
|
+
selected: boolean;
|
|
17
|
+
selectedEmp: EventEmitter<any>;
|
|
18
|
+
onInputChange: EventEmitter<any>;
|
|
19
|
+
showEdit: boolean;
|
|
20
|
+
editDirectManger: EventEmitter<any>;
|
|
21
|
+
deleteDirectManger: EventEmitter<any>;
|
|
22
|
+
searchingForEmp: boolean;
|
|
23
|
+
arrayList: any[];
|
|
24
|
+
isUniqueUsers: boolean;
|
|
25
|
+
userAlreadyExist: boolean;
|
|
26
|
+
emitedDeletedValue: EventEmitter<any>;
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
deleteRow(ind: number, rowData: any): void;
|
|
29
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
30
|
+
resetSearchEmpData(): void;
|
|
31
|
+
onLoadOptions(event: any): void;
|
|
32
|
+
includeData(option: any, filterValue: string): any;
|
|
33
|
+
getImage(id: string): string;
|
|
34
|
+
selectOption(object: any, ev: any): void;
|
|
35
|
+
openHints(): void;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SearchEmployeeComponent, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SearchEmployeeComponent, "app-search-employee", never, { "valueName": { "alias": "valueName"; "required": false; }; "label": { "alias": "label"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "className": { "alias": "className"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "optional": { "alias": "optional"; "required": false; }; "data": { "alias": "data"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "error": { "alias": "error"; "required": false; }; "showEdit": { "alias": "showEdit"; "required": false; }; "arrayList": { "alias": "arrayList"; "required": false; }; "isUniqueUsers": { "alias": "isUniqueUsers"; "required": false; }; }, { "selectedEmp": "selectedEmp"; "onInputChange": "onInputChange"; "editDirectManger": "editDirectManger"; "deleteDirectManger": "deleteDirectManger"; "emitedDeletedValue": "emitedDeletedValue"; }, never, never, true, never>;
|
|
38
|
+
}
|
|
39
|
+
export interface searchEmp {
|
|
40
|
+
personName?: string;
|
|
41
|
+
personEmail?: string;
|
|
42
|
+
contact?: string;
|
|
43
|
+
employeeNumber?: string;
|
|
44
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { BaseComponent } from './../base-component/base-component.component';
|
|
2
|
+
import { MatSelectChange } from '@angular/material/select';
|
|
3
|
+
import { EventEmitter, SimpleChanges, ElementRef } from '@angular/core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SelectComponent extends BaseComponent {
|
|
6
|
+
emitedValues: any[];
|
|
7
|
+
valueName: any;
|
|
8
|
+
parentKey: string;
|
|
9
|
+
label: string;
|
|
10
|
+
tooltip: string;
|
|
11
|
+
className: string;
|
|
12
|
+
showLabel: boolean;
|
|
13
|
+
readonly: boolean;
|
|
14
|
+
optional: boolean;
|
|
15
|
+
data: any[];
|
|
16
|
+
onChange: EventEmitter<any>;
|
|
17
|
+
error: string;
|
|
18
|
+
optionAr: string;
|
|
19
|
+
optionEn: string;
|
|
20
|
+
hasPlaceHolder: boolean;
|
|
21
|
+
emitedMultiValue: EventEmitter<any>;
|
|
22
|
+
selectCtrl: ElementRef;
|
|
23
|
+
selectAllEnabled: boolean;
|
|
24
|
+
selectAllOption: any;
|
|
25
|
+
selectedValues: string[];
|
|
26
|
+
parentValue: string;
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
29
|
+
resetKeyValue(): void;
|
|
30
|
+
toggleAllOptions(value: any): void;
|
|
31
|
+
transformSelectedData(value: any): any;
|
|
32
|
+
handleOnOptionSelected(value: any): void;
|
|
33
|
+
emitSelectedValue(event: MatSelectChange): void;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "app-select", never, { "valueName": { "alias": "valueName"; "required": false; }; "parentKey": { "alias": "parentKey"; "required": false; }; "label": { "alias": "label"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "className": { "alias": "className"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "optional": { "alias": "optional"; "required": false; }; "data": { "alias": "data"; "required": false; }; "error": { "alias": "error"; "required": false; }; "optionAr": { "alias": "optionAr"; "required": false; }; "optionEn": { "alias": "optionEn"; "required": false; }; "hasPlaceHolder": { "alias": "hasPlaceHolder"; "required": false; }; "parentValue": { "alias": "parentValue"; "required": false; }; }, { "onChange": "onChange"; "emitedMultiValue": "emitedMultiValue"; }, never, never, true, never>;
|
|
36
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { BaseComponent } from './../base-component/base-component.component';
|
|
3
|
+
import { MatTableDataSource } from '@angular/material/table';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class TableListComponent extends BaseComponent {
|
|
6
|
+
columns: any;
|
|
7
|
+
columnsConfig: any;
|
|
8
|
+
rows: any;
|
|
9
|
+
actions: any;
|
|
10
|
+
totalRecords: number;
|
|
11
|
+
className: string;
|
|
12
|
+
dataSource: MatTableDataSource<any, import("@angular/material/paginator").MatPaginator>;
|
|
13
|
+
pageChanged: EventEmitter<any>;
|
|
14
|
+
buttonAction: EventEmitter<any>;
|
|
15
|
+
emitDataRow: EventEmitter<any>;
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
truncateName(text: string): string;
|
|
18
|
+
onPageChange(event: any): void;
|
|
19
|
+
delete(): void;
|
|
20
|
+
buttonClicked(element: any, fn: string, $event: MouseEvent): void;
|
|
21
|
+
selectedRow(row: any): void;
|
|
22
|
+
getSlaColor(value: any, max: number): void;
|
|
23
|
+
sentBack(): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableListComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableListComponent, "app-table-list", never, { "columns": { "alias": "columns"; "required": false; }; "columnsConfig": { "alias": "columnsConfig"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "totalRecords": { "alias": "totalRecords"; "required": false; }; "className": { "alias": "className"; "required": false; }; }, { "pageChanged": "pageChanged"; "buttonAction": "buttonAction"; "emitDataRow": "emitDataRow"; }, never, never, true, never>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
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, false, never>;
|
|
10
|
+
}
|