ng-ipa-library 2.0.2 → 3.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/{esm2020 → esm2022}/lib/core/components/loading/loading.component.mjs +37 -37
- package/{esm2020 → esm2022}/lib/core/interceptors/error.interceptor.mjs +46 -46
- package/{esm2020 → esm2022}/lib/core/interceptors/loading.interceptor.mjs +58 -58
- package/{esm2020 → esm2022}/lib/core/interceptors/myIPAToken.interceptor.mjs +25 -25
- package/{esm2020 → esm2022}/lib/core/interceptors/token.interceptor.mjs +81 -81
- package/{esm2020 → esm2022}/lib/core/services/auth.service.mjs +62 -62
- package/{esm2020 → esm2022}/lib/core/services/error.service.mjs +55 -55
- package/{esm2020 → esm2022}/lib/core/services/loader.service.mjs +24 -24
- package/{esm2020 → esm2022}/lib/core/services/token.service.mjs +22 -22
- package/{esm2020 → esm2022}/lib/generate-form/generate-form.component.mjs +153 -153
- package/esm2022/lib/ipa-form/datepicker/datepicker.component.mjs +133 -0
- package/esm2022/lib/ipa-form/datepicker/gregorian-datepicker/gregorian-datepicker.component.mjs +27 -0
- package/{esm2020 → esm2022}/lib/ipa-form/datepicker/gregorian-datepicker/gregorian18n.mjs +38 -38
- package/{esm2020 → esm2022}/lib/ipa-form/datepicker/hijri-datepicker/IslamicI18n.mjs +38 -38
- package/esm2022/lib/ipa-form/datepicker/hijri-datepicker/hijri-datepicker.component.mjs +27 -0
- package/{esm2020 → esm2022}/lib/ipa-form/dropdown-input/dropdown-input.component.mjs +84 -84
- package/{esm2020 → esm2022}/lib/ipa-form/file-upload/file-upload.component.mjs +142 -142
- package/{esm2020 → esm2022}/lib/ipa-form/ipa-form.service.mjs +290 -290
- package/{esm2020 → esm2022}/lib/ipa-form/recaptcha/recaptcha.component.mjs +55 -55
- package/{esm2020 → esm2022}/lib/ipa-form/text-input/text-input.component.mjs +93 -93
- package/{esm2020 → esm2022}/lib/ipa-form/textarea-input/textarea-input.component.mjs +76 -76
- package/{esm2020 → esm2022}/lib/models/apiException.mjs +1 -1
- package/{esm2020 → esm2022}/lib/models/apiResponse.mjs +1 -1
- package/{esm2020 → esm2022}/lib/models/breadcrumbs.model.mjs +1 -1
- package/{esm2020 → esm2022}/lib/models/decodedToken.model.mjs +1 -1
- package/{esm2020 → esm2022}/lib/models/exceptionUrl.model.mjs +1 -1
- package/{esm2020 → esm2022}/lib/models/generateForm.model.mjs +1 -1
- package/{esm2020 → esm2022}/lib/models/pagedResult.mjs +1 -1
- package/{esm2020 → esm2022}/lib/models/user.model.mjs +1 -1
- package/{esm2020 → esm2022}/lib/ng-ipa-library.module.mjs +107 -107
- package/{esm2020 → esm2022}/lib/pipes/hijri-date.pipe.mjs +18 -18
- package/{esm2020 → esm2022}/lib/pipes/pipes.module.mjs +16 -16
- package/{esm2020 → esm2022}/lib/services/breadcrumbs.service.mjs +149 -149
- package/{esm2020 → esm2022}/lib/services/common.service.mjs +51 -51
- package/{esm2020 → esm2022}/lib/share-button/share-button.component.mjs +35 -35
- package/{esm2020 → esm2022}/lib/share-button/share-button.module.mjs +50 -50
- package/{esm2020 → esm2022}/ng-ipa-library.mjs +4 -4
- package/{esm2020 → esm2022}/public-api.mjs +41 -41
- package/{fesm2020 → fesm2022}/ng-ipa-library.mjs +1784 -1739
- package/fesm2022/ng-ipa-library.mjs.map +1 -0
- package/index.d.ts +5 -5
- package/lib/core/components/loading/loading.component.d.ts +13 -13
- package/lib/core/interceptors/error.interceptor.d.ts +12 -12
- package/lib/core/interceptors/loading.interceptor.d.ts +14 -14
- package/lib/core/interceptors/myIPAToken.interceptor.d.ts +11 -11
- package/lib/core/interceptors/token.interceptor.d.ts +19 -19
- package/lib/core/services/auth.service.d.ts +18 -18
- package/lib/core/services/error.service.d.ts +19 -19
- package/lib/core/services/loader.service.d.ts +12 -12
- package/lib/core/services/token.service.d.ts +10 -10
- package/lib/generate-form/generate-form.component.d.ts +34 -34
- package/lib/ipa-form/datepicker/datepicker.component.d.ts +38 -37
- package/lib/ipa-form/datepicker/gregorian-datepicker/gregorian-datepicker.component.d.ts +7 -7
- package/lib/ipa-form/datepicker/gregorian-datepicker/gregorian18n.d.ts +11 -11
- package/lib/ipa-form/datepicker/hijri-datepicker/IslamicI18n.d.ts +11 -11
- package/lib/ipa-form/datepicker/hijri-datepicker/hijri-datepicker.component.d.ts +7 -7
- package/lib/ipa-form/dropdown-input/dropdown-input.component.d.ts +34 -34
- package/lib/ipa-form/file-upload/file-upload.component.d.ts +40 -40
- package/lib/ipa-form/ipa-form.service.d.ts +51 -51
- package/lib/ipa-form/recaptcha/recaptcha.component.d.ts +22 -22
- package/lib/ipa-form/text-input/text-input.component.d.ts +35 -35
- package/lib/ipa-form/textarea-input/textarea-input.component.d.ts +32 -32
- package/lib/models/apiException.d.ts +5 -5
- package/lib/models/apiResponse.d.ts +5 -5
- package/lib/models/breadcrumbs.model.d.ts +4 -4
- package/lib/models/decodedToken.model.d.ts +6 -6
- package/lib/models/exceptionUrl.model.d.ts +4 -4
- package/lib/models/generateForm.model.d.ts +31 -31
- package/lib/models/pagedResult.d.ts +4 -4
- package/lib/models/user.model.d.ts +7 -7
- package/lib/ng-ipa-library.module.d.ts +25 -25
- package/lib/pipes/hijri-date.pipe.d.ts +7 -7
- package/lib/pipes/pipes.module.d.ts +7 -7
- package/lib/services/breadcrumbs.service.d.ts +18 -18
- package/lib/services/common.service.d.ts +11 -11
- package/lib/share-button/share-button.component.d.ts +11 -11
- package/lib/share-button/share-button.module.d.ts +13 -13
- package/package.json +12 -18
- package/public-api.d.ts +31 -31
- package/src/lib/assets/ngIPAStyle.scss +4 -1
- package/esm2020/lib/ipa-form/datepicker/datepicker.component.mjs +0 -88
- package/esm2020/lib/ipa-form/datepicker/gregorian-datepicker/gregorian-datepicker.component.mjs +0 -27
- package/esm2020/lib/ipa-form/datepicker/hijri-datepicker/hijri-datepicker.component.mjs +0 -27
- package/fesm2015/ng-ipa-library.mjs +0 -1867
- package/fesm2015/ng-ipa-library.mjs.map +0 -1
- package/fesm2020/ng-ipa-library.mjs.map +0 -1
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { IndividualConfig, ToastrService } from 'ngx-toastr';
|
|
2
|
-
import { ApiException } from '../../models/apiException';
|
|
3
|
-
import { ApiResponse } from '../../models/apiResponse';
|
|
4
|
-
import { ExceptionUrl } from '../../models/exceptionUrl.model';
|
|
5
|
-
import { CommonService } from '../../services/common.service';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class ErrorService {
|
|
8
|
-
private toastrService;
|
|
9
|
-
private commonService;
|
|
10
|
-
urls: ExceptionUrl[];
|
|
11
|
-
constructor(toastrService: ToastrService, commonService: CommonService);
|
|
12
|
-
setExceptionUrls(urls: ExceptionUrl[]): void;
|
|
13
|
-
addExceptionUrl(url: ExceptionUrl): void;
|
|
14
|
-
showErrorMsg(response: ApiResponse, toastrConfig: Partial<IndividualConfig>): void;
|
|
15
|
-
show500ErrorMsg(response: ApiException, toastrConfig: Partial<IndividualConfig>): void;
|
|
16
|
-
private addCopyButton;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorService, never>;
|
|
18
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ErrorService>;
|
|
19
|
-
}
|
|
1
|
+
import { IndividualConfig, ToastrService } from 'ngx-toastr';
|
|
2
|
+
import { ApiException } from '../../models/apiException';
|
|
3
|
+
import { ApiResponse } from '../../models/apiResponse';
|
|
4
|
+
import { ExceptionUrl } from '../../models/exceptionUrl.model';
|
|
5
|
+
import { CommonService } from '../../services/common.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class ErrorService {
|
|
8
|
+
private toastrService;
|
|
9
|
+
private commonService;
|
|
10
|
+
urls: ExceptionUrl[];
|
|
11
|
+
constructor(toastrService: ToastrService, commonService: CommonService);
|
|
12
|
+
setExceptionUrls(urls: ExceptionUrl[]): void;
|
|
13
|
+
addExceptionUrl(url: ExceptionUrl): void;
|
|
14
|
+
showErrorMsg(response: ApiResponse, toastrConfig: Partial<IndividualConfig>): void;
|
|
15
|
+
show500ErrorMsg(response: ApiException, toastrConfig: Partial<IndividualConfig>): void;
|
|
16
|
+
private addCopyButton;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorService, never>;
|
|
18
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ErrorService>;
|
|
19
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { BehaviorSubject } from 'rxjs';
|
|
2
|
-
import { ExceptionUrl } from '../../models/exceptionUrl.model';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class LoaderService {
|
|
5
|
-
isLoading: BehaviorSubject<boolean>;
|
|
6
|
-
urls: ExceptionUrl[];
|
|
7
|
-
constructor();
|
|
8
|
-
setExceptionUrls(urls: ExceptionUrl[]): void;
|
|
9
|
-
addExceptionUrl(url: ExceptionUrl): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LoaderService, never>;
|
|
11
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LoaderService>;
|
|
12
|
-
}
|
|
1
|
+
import { BehaviorSubject } from 'rxjs';
|
|
2
|
+
import { ExceptionUrl } from '../../models/exceptionUrl.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class LoaderService {
|
|
5
|
+
isLoading: BehaviorSubject<boolean>;
|
|
6
|
+
urls: ExceptionUrl[];
|
|
7
|
+
constructor();
|
|
8
|
+
setExceptionUrls(urls: ExceptionUrl[]): void;
|
|
9
|
+
addExceptionUrl(url: ExceptionUrl): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoaderService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LoaderService>;
|
|
12
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ExceptionUrl } from '../../models/exceptionUrl.model';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class TokenService {
|
|
4
|
-
urls: ExceptionUrl[];
|
|
5
|
-
constructor();
|
|
6
|
-
setExceptionUrls(urls: ExceptionUrl[]): void;
|
|
7
|
-
addExceptionUrl(url: ExceptionUrl): void;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TokenService, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TokenService>;
|
|
10
|
-
}
|
|
1
|
+
import { ExceptionUrl } from '../../models/exceptionUrl.model';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TokenService {
|
|
4
|
+
urls: ExceptionUrl[];
|
|
5
|
+
constructor();
|
|
6
|
+
setExceptionUrls(urls: ExceptionUrl[]): void;
|
|
7
|
+
addExceptionUrl(url: ExceptionUrl): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TokenService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TokenService>;
|
|
10
|
+
}
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { UntypedFormArray, UntypedFormGroup } from '@angular/forms';
|
|
3
|
-
import { IPAFormService } from '../ipa-form/ipa-form.service';
|
|
4
|
-
import { GenerateForm } from '../models/generateForm.model';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class GenerateFormComponent implements OnInit {
|
|
7
|
-
private validationService;
|
|
8
|
-
generateForm: UntypedFormGroup;
|
|
9
|
-
form: GenerateForm;
|
|
10
|
-
isArabicForm: boolean;
|
|
11
|
-
siteKey: string;
|
|
12
|
-
recaptchaSize: 'compact' | 'normal';
|
|
13
|
-
lang: 'ar' | 'en';
|
|
14
|
-
recaptchaType: 'image' | 'audio';
|
|
15
|
-
theme: 'light' | 'dark';
|
|
16
|
-
useGlobalDomain: boolean;
|
|
17
|
-
successUpload: EventEmitter<any>;
|
|
18
|
-
fileAdded: EventEmitter<any>;
|
|
19
|
-
fileDeleted: EventEmitter<any>;
|
|
20
|
-
errorMsg: string | null;
|
|
21
|
-
constructor(validationService: IPAFormService);
|
|
22
|
-
ngOnInit(): void;
|
|
23
|
-
getFormControls(formControlName: string): UntypedFormArray;
|
|
24
|
-
getErrorMessage(formControlName: string): string | null;
|
|
25
|
-
SuccessUpload(event: any): void;
|
|
26
|
-
FileAdded(file: any, formControlName: string): void;
|
|
27
|
-
FileDeleted(event: any, formControlName: string): void;
|
|
28
|
-
private changeDataValueForEngForm;
|
|
29
|
-
private createForm;
|
|
30
|
-
private addCheckboxControl;
|
|
31
|
-
private getCheckboxSelectedValues;
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GenerateFormComponent, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GenerateFormComponent, "ipa-generate-form", never, { "generateForm": "generateForm"; "form": "form"; "isArabicForm": "isArabicForm"; "siteKey": "siteKey"; "recaptchaSize": "recaptchaSize"; "lang": "lang"; "recaptchaType": "recaptchaType"; "theme": "theme"; "useGlobalDomain": "useGlobalDomain"; }, { "successUpload": "successUpload"; "fileAdded": "fileAdded"; "fileDeleted": "fileDeleted"; }, never, never, false, never>;
|
|
34
|
-
}
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { UntypedFormArray, UntypedFormGroup } from '@angular/forms';
|
|
3
|
+
import { IPAFormService } from '../ipa-form/ipa-form.service';
|
|
4
|
+
import { GenerateForm } from '../models/generateForm.model';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class GenerateFormComponent implements OnInit {
|
|
7
|
+
private validationService;
|
|
8
|
+
generateForm: UntypedFormGroup;
|
|
9
|
+
form: GenerateForm;
|
|
10
|
+
isArabicForm: boolean;
|
|
11
|
+
siteKey: string;
|
|
12
|
+
recaptchaSize: 'compact' | 'normal';
|
|
13
|
+
lang: 'ar' | 'en';
|
|
14
|
+
recaptchaType: 'image' | 'audio';
|
|
15
|
+
theme: 'light' | 'dark';
|
|
16
|
+
useGlobalDomain: boolean;
|
|
17
|
+
successUpload: EventEmitter<any>;
|
|
18
|
+
fileAdded: EventEmitter<any>;
|
|
19
|
+
fileDeleted: EventEmitter<any>;
|
|
20
|
+
errorMsg: string | null;
|
|
21
|
+
constructor(validationService: IPAFormService);
|
|
22
|
+
ngOnInit(): void;
|
|
23
|
+
getFormControls(formControlName: string): UntypedFormArray;
|
|
24
|
+
getErrorMessage(formControlName: string): string | null;
|
|
25
|
+
SuccessUpload(event: any): void;
|
|
26
|
+
FileAdded(file: any, formControlName: string): void;
|
|
27
|
+
FileDeleted(event: any, formControlName: string): void;
|
|
28
|
+
private changeDataValueForEngForm;
|
|
29
|
+
private createForm;
|
|
30
|
+
private addCheckboxControl;
|
|
31
|
+
private getCheckboxSelectedValues;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GenerateFormComponent, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GenerateFormComponent, "ipa-generate-form", never, { "generateForm": { "alias": "generateForm"; "required": false; }; "form": { "alias": "form"; "required": false; }; "isArabicForm": { "alias": "isArabicForm"; "required": false; }; "siteKey": { "alias": "siteKey"; "required": false; }; "recaptchaSize": { "alias": "recaptchaSize"; "required": false; }; "lang": { "alias": "lang"; "required": false; }; "recaptchaType": { "alias": "recaptchaType"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "useGlobalDomain": { "alias": "useGlobalDomain"; "required": false; }; }, { "successUpload": "successUpload"; "fileAdded": "fileAdded"; "fileDeleted": "fileDeleted"; }, never, never, false, never>;
|
|
34
|
+
}
|
|
@@ -1,37 +1,38 @@
|
|
|
1
|
-
import { AfterContentChecked, ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
|
-
import { UntypedFormControl, NgControl } from '@angular/forms';
|
|
3
|
-
import { NgbCalendar, NgbDate, NgbDateStruct, NgbInputDatepicker, NgbInputDatepickerConfig } from '@ng-bootstrap/ng-bootstrap';
|
|
4
|
-
import { IPAFormService } from '../ipa-form.service';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class DatepickerComponent implements OnInit, AfterContentChecked {
|
|
7
|
-
private ipaFormService;
|
|
8
|
-
private calendar;
|
|
9
|
-
controlDir: NgControl;
|
|
10
|
-
private cd;
|
|
11
|
-
datepicker: NgbInputDatepicker;
|
|
12
|
-
id: string;
|
|
13
|
-
label: string;
|
|
14
|
-
patternErrorMsg: string;
|
|
15
|
-
required: boolean;
|
|
16
|
-
maxDate: NgbDateStruct;
|
|
17
|
-
minDate: NgbDateStruct;
|
|
18
|
-
classes: string;
|
|
19
|
-
containerClasses: string;
|
|
20
|
-
isArabicForm: boolean;
|
|
21
|
-
isHijriDatepicker: boolean;
|
|
22
|
-
today: NgbDate;
|
|
23
|
-
formControl: UntypedFormControl;
|
|
24
|
-
errorMsg: string | null;
|
|
25
|
-
constructor(ipaFormService: IPAFormService, calendar: NgbCalendar, controlDir: NgControl, config: NgbInputDatepickerConfig, cd: ChangeDetectorRef);
|
|
26
|
-
ngAfterContentChecked(): void;
|
|
27
|
-
ngOnInit(): void;
|
|
28
|
-
onChange(event: any): void;
|
|
29
|
-
onTouched(): void;
|
|
30
|
-
writeValue(obj: any): void;
|
|
31
|
-
registerOnChange(fn: any): void;
|
|
32
|
-
registerOnTouched(fn: any): void;
|
|
33
|
-
openDatepicker(event:
|
|
34
|
-
get errorMessage(): string | null;
|
|
35
|
-
|
|
36
|
-
static
|
|
37
|
-
}
|
|
1
|
+
import { AfterContentChecked, ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
|
+
import { UntypedFormControl, NgControl } from '@angular/forms';
|
|
3
|
+
import { NgbCalendar, NgbDate, NgbDateStruct, NgbInputDatepicker, NgbInputDatepickerConfig } from '@ng-bootstrap/ng-bootstrap';
|
|
4
|
+
import { IPAFormService } from '../ipa-form.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class DatepickerComponent implements OnInit, AfterContentChecked {
|
|
7
|
+
private ipaFormService;
|
|
8
|
+
private calendar;
|
|
9
|
+
controlDir: NgControl;
|
|
10
|
+
private cd;
|
|
11
|
+
datepicker: NgbInputDatepicker;
|
|
12
|
+
id: string;
|
|
13
|
+
label: string;
|
|
14
|
+
patternErrorMsg: string;
|
|
15
|
+
required: boolean;
|
|
16
|
+
maxDate: NgbDateStruct;
|
|
17
|
+
minDate: NgbDateStruct;
|
|
18
|
+
classes: string;
|
|
19
|
+
containerClasses: string;
|
|
20
|
+
isArabicForm: boolean;
|
|
21
|
+
isHijriDatepicker: boolean;
|
|
22
|
+
today: NgbDate;
|
|
23
|
+
formControl: UntypedFormControl;
|
|
24
|
+
errorMsg: string | null;
|
|
25
|
+
constructor(ipaFormService: IPAFormService, calendar: NgbCalendar, controlDir: NgControl, config: NgbInputDatepickerConfig, cd: ChangeDetectorRef);
|
|
26
|
+
ngAfterContentChecked(): void;
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
onChange(event: any): void;
|
|
29
|
+
onTouched(): void;
|
|
30
|
+
writeValue(obj: any): void;
|
|
31
|
+
registerOnChange(fn: any): void;
|
|
32
|
+
registerOnTouched(fn: any): void;
|
|
33
|
+
openDatepicker(event: Event): void;
|
|
34
|
+
get errorMessage(): string | null;
|
|
35
|
+
private changeDatepickerTitles;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerComponent, [null, null, { self: true; }, null, null]>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DatepickerComponent, "ipa-datepicker", never, { "id": { "alias": "id"; "required": false; }; "label": { "alias": "label"; "required": false; }; "patternErrorMsg": { "alias": "patternErrorMsg"; "required": false; }; "required": { "alias": "required"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "classes": { "alias": "classes"; "required": false; }; "containerClasses": { "alias": "containerClasses"; "required": false; }; "isArabicForm": { "alias": "isArabicForm"; "required": false; }; }, {}, never, never, false, never>;
|
|
38
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { DatepickerComponent } from '../datepicker.component';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class GregorianDatepickerComponent extends DatepickerComponent {
|
|
4
|
-
isHijriDatepicker: boolean;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GregorianDatepickerComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GregorianDatepickerComponent, "ipa-gregorian-datepicker", never, {}, {}, never, never, false, never>;
|
|
7
|
-
}
|
|
1
|
+
import { DatepickerComponent } from '../datepicker.component';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class GregorianDatepickerComponent extends DatepickerComponent {
|
|
4
|
+
isHijriDatepicker: boolean;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GregorianDatepickerComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GregorianDatepickerComponent, "ipa-gregorian-datepicker", never, {}, {}, never, never, false, never>;
|
|
7
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { TranslationWidth } from '@angular/common';
|
|
2
|
-
import { NgbDatepickerI18n, NgbDateStruct } from '@ng-bootstrap/ng-bootstrap';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class Gregorian18n extends NgbDatepickerI18n {
|
|
5
|
-
getMonthShortName(month: number): string;
|
|
6
|
-
getMonthFullName(month: number): string;
|
|
7
|
-
getWeekdayLabel(weekday: number, width?: TranslationWidth): string;
|
|
8
|
-
getDayAriaLabel(date: NgbDateStruct): string;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<Gregorian18n, never>;
|
|
10
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<Gregorian18n>;
|
|
11
|
-
}
|
|
1
|
+
import { TranslationWidth } from '@angular/common';
|
|
2
|
+
import { NgbDatepickerI18n, NgbDateStruct } from '@ng-bootstrap/ng-bootstrap';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class Gregorian18n extends NgbDatepickerI18n {
|
|
5
|
+
getMonthShortName(month: number): string;
|
|
6
|
+
getMonthFullName(month: number): string;
|
|
7
|
+
getWeekdayLabel(weekday: number, width?: TranslationWidth): string;
|
|
8
|
+
getDayAriaLabel(date: NgbDateStruct): string;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Gregorian18n, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<Gregorian18n>;
|
|
11
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { TranslationWidth } from '@angular/common';
|
|
2
|
-
import { NgbDatepickerI18n, NgbDateStruct } from '@ng-bootstrap/ng-bootstrap';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class IslamicI18n extends NgbDatepickerI18n {
|
|
5
|
-
getMonthShortName(month: number): string;
|
|
6
|
-
getMonthFullName(month: number): string;
|
|
7
|
-
getWeekdayLabel(weekday: number, width?: TranslationWidth): string;
|
|
8
|
-
getDayAriaLabel(date: NgbDateStruct): string;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IslamicI18n, never>;
|
|
10
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<IslamicI18n>;
|
|
11
|
-
}
|
|
1
|
+
import { TranslationWidth } from '@angular/common';
|
|
2
|
+
import { NgbDatepickerI18n, NgbDateStruct } from '@ng-bootstrap/ng-bootstrap';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class IslamicI18n extends NgbDatepickerI18n {
|
|
5
|
+
getMonthShortName(month: number): string;
|
|
6
|
+
getMonthFullName(month: number): string;
|
|
7
|
+
getWeekdayLabel(weekday: number, width?: TranslationWidth): string;
|
|
8
|
+
getDayAriaLabel(date: NgbDateStruct): string;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IslamicI18n, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<IslamicI18n>;
|
|
11
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { DatepickerComponent } from '../datepicker.component';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class HijriDatepickerComponent extends DatepickerComponent {
|
|
4
|
-
isHijriDatepicker: boolean;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HijriDatepickerComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HijriDatepickerComponent, "ipa-hijri-datepicker", never, {}, {}, never, never, false, never>;
|
|
7
|
-
}
|
|
1
|
+
import { DatepickerComponent } from '../datepicker.component';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class HijriDatepickerComponent extends DatepickerComponent {
|
|
4
|
+
isHijriDatepicker: boolean;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HijriDatepickerComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HijriDatepickerComponent, "ipa-hijri-datepicker", never, {}, {}, never, never, false, never>;
|
|
7
|
+
}
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { UntypedFormControl, NgControl } from '@angular/forms';
|
|
3
|
-
import { IPAFormService } from '../ipa-form.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class DropdownInputComponent implements OnInit {
|
|
6
|
-
private validationService;
|
|
7
|
-
controlDir: NgControl;
|
|
8
|
-
input: HTMLSelectElement;
|
|
9
|
-
id: string;
|
|
10
|
-
label: string;
|
|
11
|
-
items: any[];
|
|
12
|
-
textField: string;
|
|
13
|
-
valueField: string;
|
|
14
|
-
required: boolean;
|
|
15
|
-
firstItemLabel: string;
|
|
16
|
-
searchable: boolean;
|
|
17
|
-
notFoundText: string;
|
|
18
|
-
classes: string;
|
|
19
|
-
containerClasses: string;
|
|
20
|
-
isArabicForm: boolean;
|
|
21
|
-
fromGenerateForm: boolean;
|
|
22
|
-
formControl: UntypedFormControl;
|
|
23
|
-
errorMsg: string | null;
|
|
24
|
-
constructor(validationService: IPAFormService, controlDir: NgControl);
|
|
25
|
-
ngOnInit(): void;
|
|
26
|
-
onChange(event: any): void;
|
|
27
|
-
onTouched(): void;
|
|
28
|
-
writeValue(obj: any): void;
|
|
29
|
-
registerOnChange(fn: any): void;
|
|
30
|
-
registerOnTouched(fn: any): void;
|
|
31
|
-
get errorMessage(): string | null;
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownInputComponent, [null, { self: true; }]>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownInputComponent, "ipa-dropdown-input", never, { "id": "id"; "label": "label"; "items": "items"; "textField": "textField"; "valueField": "valueField"; "required": "required"; "firstItemLabel": "firstItemLabel"; "searchable": "searchable"; "notFoundText": "notFoundText"; "classes": "classes"; "containerClasses": "containerClasses"; "isArabicForm": "isArabicForm"; "fromGenerateForm": "fromGenerateForm"; }, {}, never, never, false, never>;
|
|
34
|
-
}
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { UntypedFormControl, NgControl } from '@angular/forms';
|
|
3
|
+
import { IPAFormService } from '../ipa-form.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class DropdownInputComponent implements OnInit {
|
|
6
|
+
private validationService;
|
|
7
|
+
controlDir: NgControl;
|
|
8
|
+
input: HTMLSelectElement;
|
|
9
|
+
id: string;
|
|
10
|
+
label: string;
|
|
11
|
+
items: any[];
|
|
12
|
+
textField: string;
|
|
13
|
+
valueField: string;
|
|
14
|
+
required: boolean;
|
|
15
|
+
firstItemLabel: string;
|
|
16
|
+
searchable: boolean;
|
|
17
|
+
notFoundText: string;
|
|
18
|
+
classes: string;
|
|
19
|
+
containerClasses: string;
|
|
20
|
+
isArabicForm: boolean;
|
|
21
|
+
fromGenerateForm: boolean;
|
|
22
|
+
formControl: UntypedFormControl;
|
|
23
|
+
errorMsg: string | null;
|
|
24
|
+
constructor(validationService: IPAFormService, controlDir: NgControl);
|
|
25
|
+
ngOnInit(): void;
|
|
26
|
+
onChange(event: any): void;
|
|
27
|
+
onTouched(): void;
|
|
28
|
+
writeValue(obj: any): void;
|
|
29
|
+
registerOnChange(fn: any): void;
|
|
30
|
+
registerOnTouched(fn: any): void;
|
|
31
|
+
get errorMessage(): string | null;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownInputComponent, [null, { self: true; }]>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownInputComponent, "ipa-dropdown-input", never, { "id": { "alias": "id"; "required": false; }; "label": { "alias": "label"; "required": false; }; "items": { "alias": "items"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "required": { "alias": "required"; "required": false; }; "firstItemLabel": { "alias": "firstItemLabel"; "required": false; }; "searchable": { "alias": "searchable"; "required": false; }; "notFoundText": { "alias": "notFoundText"; "required": false; }; "classes": { "alias": "classes"; "required": false; }; "containerClasses": { "alias": "containerClasses"; "required": false; }; "isArabicForm": { "alias": "isArabicForm"; "required": false; }; "fromGenerateForm": { "alias": "fromGenerateForm"; "required": false; }; }, {}, never, never, false, never>;
|
|
34
|
+
}
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { ToastrService } from 'ngx-toastr';
|
|
3
|
-
import { DropzoneConfigInterface, DropzoneDirective } from 'ngx-dropzone-wrapper';
|
|
4
|
-
import { UntypedFormControl } from '@angular/forms';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class FileUploadComponent implements OnInit {
|
|
7
|
-
private toastrService;
|
|
8
|
-
dropzoneDir: DropzoneDirective;
|
|
9
|
-
isArabicForm: boolean;
|
|
10
|
-
label: string;
|
|
11
|
-
required: boolean;
|
|
12
|
-
acceptedFiles: string;
|
|
13
|
-
multiple: number;
|
|
14
|
-
maxFileSize: number;
|
|
15
|
-
method: string;
|
|
16
|
-
autoUpload: boolean;
|
|
17
|
-
apiUrl: string;
|
|
18
|
-
authorization: string;
|
|
19
|
-
successUpload: EventEmitter<any>;
|
|
20
|
-
fileAdded: EventEmitter<any>;
|
|
21
|
-
fileDeleted: EventEmitter<any>;
|
|
22
|
-
dragEnter: boolean;
|
|
23
|
-
errors: string[];
|
|
24
|
-
config: DropzoneConfigInterface;
|
|
25
|
-
filesAdded: File[];
|
|
26
|
-
currentFiles: File[];
|
|
27
|
-
formControl: UntypedFormControl;
|
|
28
|
-
constructor(toastrService: ToastrService);
|
|
29
|
-
ngOnInit(): void;
|
|
30
|
-
operationCompleted(e: any): void;
|
|
31
|
-
onUploadSuccess(e: any): void;
|
|
32
|
-
onUploadError(e: any): void;
|
|
33
|
-
fileWasAdded(e: File): void;
|
|
34
|
-
sending(e: any): void;
|
|
35
|
-
reset(e: any): void;
|
|
36
|
-
deleteFile(file: any): void;
|
|
37
|
-
private setConfiguration;
|
|
38
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadComponent, never>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadComponent, "ipa-file-upload", never, { "isArabicForm": "isArabicForm"; "label": "label"; "required": "required"; "acceptedFiles": "acceptedFiles"; "multiple": "multiple"; "maxFileSize": "maxFileSize"; "method": "method"; "autoUpload": "autoUpload"; "apiUrl": "apiUrl"; "authorization": "authorization"; }, { "successUpload": "successUpload"; "fileAdded": "fileAdded"; "fileDeleted": "fileDeleted"; }, never, never, false, never>;
|
|
40
|
-
}
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { ToastrService } from 'ngx-toastr';
|
|
3
|
+
import { DropzoneConfigInterface, DropzoneDirective } from 'ngx-dropzone-wrapper';
|
|
4
|
+
import { UntypedFormControl } from '@angular/forms';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class FileUploadComponent implements OnInit {
|
|
7
|
+
private toastrService;
|
|
8
|
+
dropzoneDir: DropzoneDirective;
|
|
9
|
+
isArabicForm: boolean;
|
|
10
|
+
label: string;
|
|
11
|
+
required: boolean;
|
|
12
|
+
acceptedFiles: string;
|
|
13
|
+
multiple: number;
|
|
14
|
+
maxFileSize: number;
|
|
15
|
+
method: string;
|
|
16
|
+
autoUpload: boolean;
|
|
17
|
+
apiUrl: string;
|
|
18
|
+
authorization: string;
|
|
19
|
+
successUpload: EventEmitter<any>;
|
|
20
|
+
fileAdded: EventEmitter<any>;
|
|
21
|
+
fileDeleted: EventEmitter<any>;
|
|
22
|
+
dragEnter: boolean;
|
|
23
|
+
errors: string[];
|
|
24
|
+
config: DropzoneConfigInterface;
|
|
25
|
+
filesAdded: File[];
|
|
26
|
+
currentFiles: File[];
|
|
27
|
+
formControl: UntypedFormControl;
|
|
28
|
+
constructor(toastrService: ToastrService);
|
|
29
|
+
ngOnInit(): void;
|
|
30
|
+
operationCompleted(e: any): void;
|
|
31
|
+
onUploadSuccess(e: any): void;
|
|
32
|
+
onUploadError(e: any): void;
|
|
33
|
+
fileWasAdded(e: File): void;
|
|
34
|
+
sending(e: any): void;
|
|
35
|
+
reset(e: any): void;
|
|
36
|
+
deleteFile(file: any): void;
|
|
37
|
+
private setConfiguration;
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadComponent, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadComponent, "ipa-file-upload", never, { "isArabicForm": { "alias": "isArabicForm"; "required": false; }; "label": { "alias": "label"; "required": false; }; "required": { "alias": "required"; "required": false; }; "acceptedFiles": { "alias": "acceptedFiles"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "maxFileSize": { "alias": "maxFileSize"; "required": false; }; "method": { "alias": "method"; "required": false; }; "autoUpload": { "alias": "autoUpload"; "required": false; }; "apiUrl": { "alias": "apiUrl"; "required": false; }; "authorization": { "alias": "authorization"; "required": false; }; }, { "successUpload": "successUpload"; "fileAdded": "fileAdded"; "fileDeleted": "fileDeleted"; }, never, never, false, never>;
|
|
40
|
+
}
|
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
import { AbstractControl, UntypedFormControl, ValidationErrors } from '@angular/forms';
|
|
2
|
-
import { Moment } from 'moment';
|
|
3
|
-
import { NgbDateParserFormatter } from '@ng-bootstrap/ng-bootstrap';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class IPAFormService {
|
|
6
|
-
private parserFormatter;
|
|
7
|
-
constructor(parserFormatter: NgbDateParserFormatter);
|
|
8
|
-
/**
|
|
9
|
-
* check link is valid.
|
|
10
|
-
*/
|
|
11
|
-
static linkValidation(control: AbstractControl): ValidationErrors | null;
|
|
12
|
-
/**
|
|
13
|
-
* check mp4 link is valid.
|
|
14
|
-
*/
|
|
15
|
-
static mp4LinkValidation(control: AbstractControl): ValidationErrors | null;
|
|
16
|
-
/**
|
|
17
|
-
* check mobile number is valid.
|
|
18
|
-
*/
|
|
19
|
-
static mobileNo(control: AbstractControl): ValidationErrors | null;
|
|
20
|
-
/**
|
|
21
|
-
* check email is valid.
|
|
22
|
-
*/
|
|
23
|
-
static email(control: AbstractControl): ValidationErrors | null;
|
|
24
|
-
/**
|
|
25
|
-
* check national ID or iqama ID is valid.
|
|
26
|
-
*/
|
|
27
|
-
static checkID(control: AbstractControl): ValidationErrors | null;
|
|
28
|
-
static validHijriDate(control: AbstractControl): ValidationErrors | null;
|
|
29
|
-
getErrorMessage(control: UntypedFormControl, patternErrorMsg: string | undefined, isArabic: boolean): string | null;
|
|
30
|
-
/**
|
|
31
|
-
* convert gregorian date to hijri date (Based on Umm al-Qura calculations).
|
|
32
|
-
* @param date: gregorian date
|
|
33
|
-
* @param format: iDD => day: ١٥, iMM => month: ٠٤, iMMM => month: ربيع ٢,
|
|
34
|
-
* iMMMM => ربيع الثاني, iYY => year: ٤٢, iYYYY => year: ١٤٤٢,
|
|
35
|
-
* dd => ن, ddd => إثنين, dddd => الإثنين
|
|
36
|
-
* @example 'iYYYY/iM/iDهـ الموافق YYYY/M/Dم'
|
|
37
|
-
* '١٤٤٢/٠٤/١٥هـ الموافق ٢٠٢٠/١١/٣٠'
|
|
38
|
-
*/
|
|
39
|
-
convertToHijriDate(date: string, format?: string, lang?: string): string;
|
|
40
|
-
convertToGregorianDate(date: Moment, format?: string, lang?: string): string;
|
|
41
|
-
getCurrentHijriDate(): string;
|
|
42
|
-
private getValidatorErrorMessage;
|
|
43
|
-
private addPatternMsg;
|
|
44
|
-
private getNgbDatepickerErrorMsg;
|
|
45
|
-
private static checkHijriDateValid;
|
|
46
|
-
private static convertToEn;
|
|
47
|
-
private static nationalIdValidate;
|
|
48
|
-
private static iqamaIdValidate;
|
|
49
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IPAFormService, never>;
|
|
50
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<IPAFormService>;
|
|
51
|
-
}
|
|
1
|
+
import { AbstractControl, UntypedFormControl, ValidationErrors } from '@angular/forms';
|
|
2
|
+
import { Moment } from 'moment';
|
|
3
|
+
import { NgbDateParserFormatter } from '@ng-bootstrap/ng-bootstrap';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class IPAFormService {
|
|
6
|
+
private parserFormatter;
|
|
7
|
+
constructor(parserFormatter: NgbDateParserFormatter);
|
|
8
|
+
/**
|
|
9
|
+
* check link is valid.
|
|
10
|
+
*/
|
|
11
|
+
static linkValidation(control: AbstractControl): ValidationErrors | null;
|
|
12
|
+
/**
|
|
13
|
+
* check mp4 link is valid.
|
|
14
|
+
*/
|
|
15
|
+
static mp4LinkValidation(control: AbstractControl): ValidationErrors | null;
|
|
16
|
+
/**
|
|
17
|
+
* check mobile number is valid.
|
|
18
|
+
*/
|
|
19
|
+
static mobileNo(control: AbstractControl): ValidationErrors | null;
|
|
20
|
+
/**
|
|
21
|
+
* check email is valid.
|
|
22
|
+
*/
|
|
23
|
+
static email(control: AbstractControl): ValidationErrors | null;
|
|
24
|
+
/**
|
|
25
|
+
* check national ID or iqama ID is valid.
|
|
26
|
+
*/
|
|
27
|
+
static checkID(control: AbstractControl): ValidationErrors | null;
|
|
28
|
+
static validHijriDate(control: AbstractControl): ValidationErrors | null;
|
|
29
|
+
getErrorMessage(control: UntypedFormControl, patternErrorMsg: string | undefined, isArabic: boolean): string | null;
|
|
30
|
+
/**
|
|
31
|
+
* convert gregorian date to hijri date (Based on Umm al-Qura calculations).
|
|
32
|
+
* @param date: gregorian date
|
|
33
|
+
* @param format: iDD => day: ١٥, iMM => month: ٠٤, iMMM => month: ربيع ٢,
|
|
34
|
+
* iMMMM => ربيع الثاني, iYY => year: ٤٢, iYYYY => year: ١٤٤٢,
|
|
35
|
+
* dd => ن, ddd => إثنين, dddd => الإثنين
|
|
36
|
+
* @example 'iYYYY/iM/iDهـ الموافق YYYY/M/Dم'
|
|
37
|
+
* '١٤٤٢/٠٤/١٥هـ الموافق ٢٠٢٠/١١/٣٠'
|
|
38
|
+
*/
|
|
39
|
+
convertToHijriDate(date: string, format?: string, lang?: string): string;
|
|
40
|
+
convertToGregorianDate(date: Moment, format?: string, lang?: string): string;
|
|
41
|
+
getCurrentHijriDate(): string;
|
|
42
|
+
private getValidatorErrorMessage;
|
|
43
|
+
private addPatternMsg;
|
|
44
|
+
private getNgbDatepickerErrorMsg;
|
|
45
|
+
private static checkHijriDateValid;
|
|
46
|
+
private static convertToEn;
|
|
47
|
+
private static nationalIdValidate;
|
|
48
|
+
private static iqamaIdValidate;
|
|
49
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IPAFormService, never>;
|
|
50
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<IPAFormService>;
|
|
51
|
+
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { UntypedFormControl, NgControl } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class RecaptchaComponent implements OnInit {
|
|
5
|
-
controlDir: NgControl;
|
|
6
|
-
siteKey: string;
|
|
7
|
-
recaptchaSize: 'compact' | 'normal';
|
|
8
|
-
lang: 'ar' | 'en';
|
|
9
|
-
recaptchaType: 'image' | 'audio';
|
|
10
|
-
theme: 'light' | 'dark';
|
|
11
|
-
useGlobalDomain: boolean;
|
|
12
|
-
formControl: UntypedFormControl;
|
|
13
|
-
constructor(controlDir: NgControl);
|
|
14
|
-
ngOnInit(): void;
|
|
15
|
-
onChange(event: any): void;
|
|
16
|
-
onTouched(): void;
|
|
17
|
-
writeValue(obj: any): void;
|
|
18
|
-
registerOnChange(fn: any): void;
|
|
19
|
-
registerOnTouched(fn: any): void;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RecaptchaComponent, [{ self: true; }]>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RecaptchaComponent, "ipa-recaptcha", never, { "siteKey": "siteKey"; "recaptchaSize": "recaptchaSize"; "lang": "lang"; "recaptchaType": "recaptchaType"; "theme": "theme"; "useGlobalDomain": "useGlobalDomain"; }, {}, never, never, false, never>;
|
|
22
|
-
}
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { UntypedFormControl, NgControl } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class RecaptchaComponent implements OnInit {
|
|
5
|
+
controlDir: NgControl;
|
|
6
|
+
siteKey: string;
|
|
7
|
+
recaptchaSize: 'compact' | 'normal';
|
|
8
|
+
lang: 'ar' | 'en';
|
|
9
|
+
recaptchaType: 'image' | 'audio';
|
|
10
|
+
theme: 'light' | 'dark';
|
|
11
|
+
useGlobalDomain: boolean;
|
|
12
|
+
formControl: UntypedFormControl;
|
|
13
|
+
constructor(controlDir: NgControl);
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
onChange(event: any): void;
|
|
16
|
+
onTouched(): void;
|
|
17
|
+
writeValue(obj: any): void;
|
|
18
|
+
registerOnChange(fn: any): void;
|
|
19
|
+
registerOnTouched(fn: any): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RecaptchaComponent, [{ self: true; }]>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RecaptchaComponent, "ipa-recaptcha", never, { "siteKey": { "alias": "siteKey"; "required": false; }; "recaptchaSize": { "alias": "recaptchaSize"; "required": false; }; "lang": { "alias": "lang"; "required": false; }; "recaptchaType": { "alias": "recaptchaType"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "useGlobalDomain": { "alias": "useGlobalDomain"; "required": false; }; }, {}, never, never, false, never>;
|
|
22
|
+
}
|