@bnsights/bbsf-controls 1.0.111 → 1.0.113
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 +9 -0
- package/bnsights-bbsf-controls-1.0.113.tgz +0 -0
- package/esm2022/lib/Shared/Components/app-base-component.mjs +11 -11
- package/esm2022/lib/Shared/Enums/StartView.mjs +1 -1
- package/esm2022/lib/Shared/Enums/map-enums.mjs +7 -7
- package/esm2022/lib/Shared/Models/Attribute.mjs +1 -1
- package/esm2022/lib/Shared/Models/AutocompleteOptions.mjs +9 -9
- package/esm2022/lib/Shared/Models/CalendarOptions.mjs +7 -7
- package/esm2022/lib/Shared/Models/CancelDTO.mjs +3 -3
- package/esm2022/lib/Shared/Models/CheckBoxOptions.mjs +3 -3
- package/esm2022/lib/Shared/Models/ConfirmationModalOptions.mjs +16 -16
- package/esm2022/lib/Shared/Models/ControlOptionsBase.mjs +5 -5
- package/esm2022/lib/Shared/Models/DatePickerOptions.mjs +24 -0
- package/esm2022/lib/Shared/Models/DropdownOptions.mjs +6 -6
- package/esm2022/lib/Shared/Models/EnglishArabicDTO.mjs +3 -3
- package/esm2022/lib/Shared/Models/FileDTO.mjs +22 -2
- package/esm2022/lib/Shared/Models/FileUploadModel.mjs +1 -1
- package/esm2022/lib/Shared/Models/FileUploadOptions.mjs +5 -3
- package/esm2022/lib/Shared/Models/FilterItem.mjs +2 -2
- package/esm2022/lib/Shared/Models/FormOptions.mjs +13 -13
- package/esm2022/lib/Shared/Models/HtmlEditorOptions.mjs +3 -3
- package/esm2022/lib/Shared/Models/ImageUploadOptions.mjs +4 -4
- package/esm2022/lib/Shared/Models/MapAutoCompleteOptions.mjs +1 -3
- package/esm2022/lib/Shared/Models/MapAutocompleteDTO.mjs +2 -2
- package/esm2022/lib/Shared/Models/MultiLingualHtmlEditorOptions.mjs +2 -2
- package/esm2022/lib/Shared/Models/MultiLingualTextAreaOptions.mjs +2 -2
- package/esm2022/lib/Shared/Models/{MultilingualTextBoxOptions.mjs → MultiLingualTextBoxOptions.mjs} +5 -5
- package/esm2022/lib/Shared/Models/MultilingualControlOptionsBase.mjs +6 -6
- package/esm2022/lib/Shared/Models/MultipleFileUploadModel.mjs +5 -5
- package/esm2022/lib/Shared/Models/PagingOptions.mjs +22 -22
- package/esm2022/lib/Shared/Models/PhoneOptions.mjs +4 -4
- package/esm2022/lib/Shared/Models/ProfileImageUploadOptions.mjs +3 -3
- package/esm2022/lib/Shared/Models/ProfilePictureDTO.mjs +1 -1
- package/esm2022/lib/Shared/Models/RadioButtonItem.mjs +1 -1
- package/esm2022/lib/Shared/Models/RadioButtonOptions.mjs +1 -1
- package/esm2022/lib/Shared/Models/RangeNumber.mjs +1 -1
- package/esm2022/lib/Shared/Models/Recaptcha.mjs +2 -2
- package/esm2022/lib/Shared/Models/RecaptchaOptions.mjs +9 -9
- package/esm2022/lib/Shared/Models/RepeaterField.mjs +1 -1
- package/esm2022/lib/Shared/Models/RepeaterOptions.mjs +9 -9
- package/esm2022/lib/Shared/Models/TagsInputDTO.mjs +1 -1
- package/esm2022/lib/Shared/Models/TagsInputOptions.mjs +19 -19
- package/esm2022/lib/Shared/Models/TextAreaOptions.mjs +1 -1
- package/esm2022/lib/Shared/Models/TextBoxOptions.mjs +9 -9
- package/esm2022/lib/Shared/Models/{ToggleslideOptions.mjs → ToggleSlideOptions.mjs} +2 -2
- package/esm2022/lib/Shared/Models/UploadPersonalImage.mjs +3 -3
- package/esm2022/lib/Shared/Models/filter-options.mjs +5 -5
- package/esm2022/lib/Shared/Models/page-header-options.mjs +32 -32
- package/esm2022/lib/Shared/services/ControlUtility.mjs +37 -37
- package/esm2022/lib/Shared/services/GlobalSettings.service.mjs +9 -9
- package/esm2022/lib/Shared/services/file-upload.service.mjs +29 -0
- package/esm2022/lib/controls/AutocompleteTextBox/AutocompleteTextBox.component.mjs +81 -81
- package/esm2022/lib/controls/Calendar/Calendar.component.mjs +40 -40
- package/esm2022/lib/controls/CheckBox/CheckBox.component.mjs +35 -35
- package/esm2022/lib/controls/ConfirmationModal/ConfirmationModal.component.mjs +30 -30
- package/esm2022/lib/controls/DateTimePicker/DateTimePicker.component.mjs +98 -97
- package/esm2022/lib/controls/DropdownList/DropdownList.component.mjs +74 -74
- package/esm2022/lib/controls/FileUplaod/FileUplaod.component.mjs +258 -191
- package/esm2022/lib/controls/Form/Form.component.mjs +24 -24
- package/esm2022/lib/controls/HtmlEditor/HtmlEditor.component.mjs +55 -55
- package/esm2022/lib/controls/ImageUpload/ImageUpload.component.mjs +126 -126
- package/esm2022/lib/controls/MapAutoComplete/MapAutoComplete.component.mjs +62 -66
- package/esm2022/lib/controls/MultiLingualHtmlEditor/MultiLingualHtmlEditor.component.mjs +163 -163
- package/esm2022/lib/controls/MultiLingualTextArea/MultiLingualTextArea.component.mjs +193 -193
- package/esm2022/lib/controls/MultiLingualTextBox/MultiLingualTextBox.component.mjs +210 -210
- package/esm2022/lib/controls/Paging/Paging.component.mjs +88 -88
- package/esm2022/lib/controls/Phone/Phone.component.mjs +42 -42
- package/esm2022/lib/controls/ProfileImageUploader/ProfileImageUploader.component.mjs +127 -127
- package/esm2022/lib/controls/RadioButton/RadioButton.component.mjs +38 -38
- package/esm2022/lib/controls/Recaptcha/Recaptcha.component.mjs +46 -46
- package/esm2022/lib/controls/Repeater/repeater/repeater.component.mjs +12 -12
- package/esm2022/lib/controls/Repeater/repeater-field-builder/repeater-field-builder.component.mjs +556 -556
- package/esm2022/lib/controls/Repeater/repeater-table/repeater-table.component.mjs +15 -15
- package/esm2022/lib/controls/TagsInput/TagsInput.component.mjs +100 -100
- package/esm2022/lib/controls/TextArea/TextArea.component.mjs +71 -71
- package/esm2022/lib/controls/TextBox/TextBox.component.mjs +116 -116
- package/esm2022/lib/controls/Toggleslide/Toggleslide.component.mjs +90 -0
- package/esm2022/lib/controls/bbsf-controls.module.mjs +2 -2
- package/esm2022/lib/controls/page-header-component/page-header-component.component.mjs +4 -4
- package/esm2022/public-api.mjs +7 -7
- package/fesm2022/bnsights-bbsf-controls.mjs +3001 -2892
- package/fesm2022/bnsights-bbsf-controls.mjs.map +1 -1
- package/lib/Shared/Enums/map-enums.d.ts +1 -1
- package/lib/Shared/Models/Attribute.d.ts +1 -1
- package/lib/Shared/Models/AutocompleteOptions.d.ts +20 -20
- package/lib/Shared/Models/CalendarOptions.d.ts +10 -10
- package/lib/Shared/Models/CancelDTO.d.ts +2 -2
- package/lib/Shared/Models/CheckBoxOptions.d.ts +2 -2
- package/lib/Shared/Models/ConfirmationModalOptions.d.ts +14 -14
- package/lib/Shared/Models/ControlOptionsBase.d.ts +17 -17
- package/lib/Shared/Models/{datePickerOptions.d.ts → DatePickerOptions.d.ts} +12 -13
- package/lib/Shared/Models/DropdownOptions.d.ts +15 -15
- package/lib/Shared/Models/EnglishArabicDTO.d.ts +2 -2
- package/lib/Shared/Models/FileDTO.d.ts +18 -18
- package/lib/Shared/Models/FileUploadModel.d.ts +1 -1
- package/lib/Shared/Models/FileUploadOptions.d.ts +10 -8
- package/lib/Shared/Models/FilterItem.d.ts +4 -4
- package/lib/Shared/Models/FormOptions.d.ts +11 -11
- package/lib/Shared/Models/HtmlEditorOptions.d.ts +11 -11
- package/lib/Shared/Models/ImageUploadOptions.d.ts +9 -9
- package/lib/Shared/Models/MapAutoCompleteOptions.d.ts +1 -2
- package/lib/Shared/Models/MapAutocompleteDTO.d.ts +5 -5
- package/lib/Shared/Models/MultiLingualHtmlEditorOptions.d.ts +7 -7
- package/lib/Shared/Models/MultiLingualTextAreaOptions.d.ts +5 -5
- package/lib/Shared/Models/{MultilingualTextBoxOptions.d.ts → MultiLingualTextBoxOptions.d.ts} +6 -6
- package/lib/Shared/Models/MultilingualControlOptionsBase.d.ts +34 -34
- package/lib/Shared/Models/MultipleFileUploadModel.d.ts +4 -4
- package/lib/Shared/Models/PagingOptions.d.ts +25 -25
- package/lib/Shared/Models/PhoneOptions.d.ts +9 -9
- package/lib/Shared/Models/ProfileImageUploadOptions.d.ts +10 -10
- package/lib/Shared/Models/ProfilePictureDTO.d.ts +9 -9
- package/lib/Shared/Models/RadioButtonItem.d.ts +2 -2
- package/lib/Shared/Models/RadioButtonOptions.d.ts +2 -2
- package/lib/Shared/Models/RangeNumber.d.ts +2 -2
- package/lib/Shared/Models/Recaptcha.d.ts +4 -4
- package/lib/Shared/Models/RecaptchaOptions.d.ts +10 -10
- package/lib/Shared/Models/RepeaterField.d.ts +4 -4
- package/lib/Shared/Models/RepeaterOptions.d.ts +16 -16
- package/lib/Shared/Models/TagsInputDTO.d.ts +4 -4
- package/lib/Shared/Models/TagsInputOptions.d.ts +29 -29
- package/lib/Shared/Models/TextAreaOptions.d.ts +11 -11
- package/lib/Shared/Models/TextBoxOptions.d.ts +18 -18
- package/lib/Shared/Models/{ToggleslideOptions.d.ts → ToggleSlideOptions.d.ts} +3 -3
- package/lib/Shared/Models/UploadPersonalImage.d.ts +2 -2
- package/lib/Shared/Models/filter-options.d.ts +4 -4
- package/lib/Shared/Models/page-header-options.d.ts +43 -43
- package/lib/Shared/services/ControlUtility.d.ts +8 -8
- package/lib/Shared/services/GlobalSettings.service.d.ts +8 -8
- package/lib/Shared/services/file-upload.service.d.ts +11 -0
- package/lib/controls/AutocompleteTextBox/AutocompleteTextBox.component.d.ts +11 -11
- package/lib/controls/Calendar/Calendar.component.d.ts +7 -7
- package/lib/controls/CheckBox/CheckBox.component.d.ts +10 -10
- package/lib/controls/DateTimePicker/DateTimePicker.component.d.ts +22 -24
- package/lib/controls/DropdownList/DropdownList.component.d.ts +13 -13
- package/lib/controls/FileUplaod/FileUplaod.component.d.ts +20 -16
- package/lib/controls/Form/Form.component.d.ts +2 -2
- package/lib/controls/HtmlEditor/HtmlEditor.component.d.ts +12 -12
- package/lib/controls/ImageUpload/ImageUpload.component.d.ts +16 -16
- package/lib/controls/MapAutoComplete/MapAutoComplete.component.d.ts +6 -9
- package/lib/controls/MultiLingualHtmlEditor/MultiLingualHtmlEditor.component.d.ts +25 -25
- package/lib/controls/MultiLingualTextArea/MultiLingualTextArea.component.d.ts +24 -24
- package/lib/controls/MultiLingualTextBox/MultiLingualTextBox.component.d.ts +32 -32
- package/lib/controls/Paging/Paging.component.d.ts +11 -11
- package/lib/controls/Phone/Phone.component.d.ts +12 -12
- package/lib/controls/ProfileImageUploader/ProfileImageUploader.component.d.ts +18 -18
- package/lib/controls/RadioButton/RadioButton.component.d.ts +11 -11
- package/lib/controls/Recaptcha/Recaptcha.component.d.ts +10 -10
- package/lib/controls/Repeater/repeater-field-builder/repeater-field-builder.component.d.ts +5 -5
- package/lib/controls/Repeater/repeater-table/repeater-table.component.d.ts +1 -1
- package/lib/controls/TagsInput/TagsInput.component.d.ts +17 -17
- package/lib/controls/TextArea/TextArea.component.d.ts +14 -14
- package/lib/controls/TextBox/TextBox.component.d.ts +25 -25
- package/lib/controls/Toggleslide/{toggleslide.component.d.ts → Toggleslide.component.d.ts} +10 -10
- package/lib/controls/bbsf-controls.module.d.ts +1 -1
- package/package.json +4 -3
- package/public-api.d.ts +4 -4
- package/src/lib/assets/Style-rtl.scss +16 -0
- package/src/lib/assets/images/marker-pin.svg +4 -4
- package/src/lib/assets/sass/file-upload.scss +39 -1
- package/src/lib/assets/sass/image-upload.scss +5 -6
- package/esm2022/bnsights-test-test-controls.mjs +0 -5
- package/esm2022/lib/Shared/Models/datePickerOptions.mjs +0 -23
- package/esm2022/lib/controls/Toggleslide/toggleslide.component.mjs +0 -90
- package/fesm2022/bnsights-test-test-controls.mjs +0 -9164
- package/fesm2022/bnsights-test-test-controls.mjs.map +0 -1
|
@@ -3,69 +3,69 @@ import { FilterOptions } from "./filter-options";
|
|
|
3
3
|
import { TextBoxOptions } from "./TextBoxOptions";
|
|
4
4
|
export declare class PageHeaderOptions {
|
|
5
5
|
constructor();
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
6
|
+
titleKey: string;
|
|
7
|
+
titleValue: string;
|
|
8
|
+
subTitleKey: string;
|
|
9
|
+
breadCrumb: BreadCrumbModel;
|
|
10
|
+
addButton: AddButton;
|
|
11
|
+
editButton: EditButton;
|
|
12
|
+
deleteButton: DeleteButton;
|
|
13
|
+
exportButton: ExportButton;
|
|
14
|
+
gridView: GridViewModel;
|
|
15
|
+
searchTextBox: TextBoxModel;
|
|
16
|
+
filtersButton: FiltersButton;
|
|
17
|
+
filters: FilterOptions;
|
|
18
|
+
dropDownActions: DropdownActions;
|
|
19
|
+
listing: boolean;
|
|
20
20
|
}
|
|
21
21
|
export declare class BreadCrumbModel {
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
active: boolean;
|
|
23
|
+
breadCrumbItems: BreadCrumb[];
|
|
24
24
|
}
|
|
25
25
|
export declare class AddButton {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
active: boolean;
|
|
27
|
+
buttonTextKey: string;
|
|
28
|
+
function: Function;
|
|
29
29
|
}
|
|
30
30
|
export declare class EditButton {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
active: boolean;
|
|
32
|
+
buttonTextKey: string;
|
|
33
|
+
function: Function;
|
|
34
34
|
}
|
|
35
35
|
export declare class DeleteButton {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
36
|
+
active: boolean;
|
|
37
|
+
buttonTextKey: string;
|
|
38
|
+
function: Function;
|
|
39
39
|
}
|
|
40
40
|
export declare class FiltersButton {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
41
|
+
active: boolean;
|
|
42
|
+
buttonTextKey: string;
|
|
43
|
+
function: Function;
|
|
44
|
+
showLoadingInFiltersBox: boolean;
|
|
45
45
|
constructor();
|
|
46
46
|
}
|
|
47
47
|
export declare class ExportButton {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
48
|
+
active: boolean;
|
|
49
|
+
buttonTextKey: string;
|
|
50
|
+
function: Function;
|
|
51
51
|
}
|
|
52
52
|
export declare class GridViewModel {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
53
|
+
active: boolean;
|
|
54
|
+
toggleFunction: Function;
|
|
55
|
+
showGridViewByDefault: boolean;
|
|
56
56
|
}
|
|
57
57
|
export declare class TextBoxModel {
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
active: boolean;
|
|
59
|
+
textSearchBoxOptions: TextBoxOptions;
|
|
60
60
|
}
|
|
61
61
|
export declare class DropdownActions {
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
active: boolean;
|
|
63
|
+
dropdownActionItems: DropdownActionItem[];
|
|
64
64
|
}
|
|
65
65
|
export declare class DropdownActionItem {
|
|
66
66
|
constructor(text: string, svg: string, functionName: Function, routerLink?: string);
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
67
|
+
text: string;
|
|
68
|
+
svg: string;
|
|
69
|
+
function: Function;
|
|
70
|
+
routerLink: string;
|
|
71
71
|
}
|
|
@@ -8,7 +8,7 @@ export declare class ControlUtility {
|
|
|
8
8
|
private controlValidationService;
|
|
9
9
|
private utilityService;
|
|
10
10
|
constructor(ErrorHandler: ErrorMassageValidation, controlValidationService: ControlValidationService, utilityService: UtilityService);
|
|
11
|
-
getErrorValidation(Errorsitem: any[],
|
|
11
|
+
getErrorValidation(Errorsitem: any[], customValidation?: CustomValidation): string;
|
|
12
12
|
patternValidator(regex: RegExp, error: ValidationErrors): ValidatorFn;
|
|
13
13
|
patchControlValue(originalValue: any, PatchFunction: any, PatchPath: any): void;
|
|
14
14
|
arabicValidator(error: ValidationErrors): ValidatorFn;
|
|
@@ -19,14 +19,14 @@ export declare class ControlUtility {
|
|
|
19
19
|
scrollToGlobalErrorMassage(): void;
|
|
20
20
|
setAttributeForControl(options: any): void;
|
|
21
21
|
showGlobalError(formId?: string): void;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
addRequiredToControl(
|
|
25
|
-
removeRequiredFromControl(
|
|
26
|
-
|
|
27
|
-
|
|
22
|
+
removeRequiredValidation(formControl: AbstractControl, validationRole: any[], options: any): void;
|
|
23
|
+
addRequiredValidation(formControl: AbstractControl, validationRole: any[], options: any): void;
|
|
24
|
+
addRequiredToControl(formControl: AbstractControl, options: any): void;
|
|
25
|
+
removeRequiredFromControl(formControl: AbstractControl, options: any): void;
|
|
26
|
+
removeCustomValidation(formControl: AbstractControl, validationRole: any[], customValidation: CustomValidation): void;
|
|
27
|
+
addCustomValidation(formControl: AbstractControl, validationRole: any[], customValidation: CustomValidation): void;
|
|
28
28
|
static getLocal(): string;
|
|
29
|
-
|
|
29
|
+
isValid(formControl: AbstractControl): void;
|
|
30
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<ControlUtility, never>;
|
|
31
31
|
static ɵprov: i0.ɵɵInjectableDeclaration<ControlUtility>;
|
|
32
32
|
}
|
|
@@ -3,15 +3,15 @@ import { LanguageMode } from "../Enums/LanguageMode";
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class GlobalSettings {
|
|
5
5
|
/** to set type of view if MultilingualTextArea is Vertical or Horizontal */
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
viewType: ControlLayout;
|
|
7
|
+
multiControlPlacementType: ControlLayout;
|
|
8
8
|
/**To Set LanguageMode To MultipleLanguageText */
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
9
|
+
languageMode: LanguageMode;
|
|
10
|
+
hideAstericsWhenRequired: boolean;
|
|
11
|
+
maxLengthWarningLimit: number;
|
|
12
|
+
maxLengthTextBox: number;
|
|
13
|
+
maxLengthTextArea: number;
|
|
14
|
+
defaultImageSrc: string;
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<GlobalSettings, never>;
|
|
16
16
|
static ɵprov: i0.ɵɵInjectableDeclaration<GlobalSettings>;
|
|
17
17
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { RequestHandlerService } from '@bnsights/bbsf-utilities';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FileUploadService {
|
|
4
|
+
private http;
|
|
5
|
+
apiUrl: string;
|
|
6
|
+
constructor(http: RequestHandlerService);
|
|
7
|
+
uploadFile(file: File): import("rxjs").Observable<any>;
|
|
8
|
+
deleteFile(id: string): import("rxjs").Observable<unknown>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadService, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FileUploadService>;
|
|
11
|
+
}
|
|
@@ -14,22 +14,22 @@ export declare class AutocompleteTextBoxComponent implements OnInit {
|
|
|
14
14
|
private requestHandlerService;
|
|
15
15
|
private controlUtility;
|
|
16
16
|
private controlContainer;
|
|
17
|
-
|
|
18
|
-
private
|
|
17
|
+
autoCompleteTextBoxControlHost: FormGroupDirective;
|
|
18
|
+
private utilityService;
|
|
19
19
|
private controlValidationService;
|
|
20
20
|
private globalSettings;
|
|
21
21
|
static controlContainerstatic: any;
|
|
22
|
-
constructor(http: HttpClient, ErrorHandler: ErrorMassageValidation, requestHandlerService: RequestHandlerService, controlUtility: ControlUtility, controlContainer: ControlContainer,
|
|
22
|
+
constructor(http: HttpClient, ErrorHandler: ErrorMassageValidation, requestHandlerService: RequestHandlerService, controlUtility: ControlUtility, controlContainer: ControlContainer, autoCompleteTextBoxControlHost: FormGroupDirective, utilityService: UtilityService, controlValidationService: ControlValidationService, globalSettings: GlobalSettings);
|
|
23
23
|
group: FormGroup;
|
|
24
24
|
options: AutocompleteOptions;
|
|
25
25
|
OnChange: EventEmitter<any>;
|
|
26
26
|
keyword: string;
|
|
27
|
-
|
|
27
|
+
autoCompleteTextBoxControl: AbstractControl;
|
|
28
28
|
Search: string;
|
|
29
29
|
Key: string;
|
|
30
|
-
|
|
30
|
+
api: string;
|
|
31
31
|
Value: string;
|
|
32
|
-
|
|
32
|
+
newSelectionValidationKey: string;
|
|
33
33
|
markAllAsTouched: boolean;
|
|
34
34
|
validationRules: any[];
|
|
35
35
|
validationRulesasync: any[];
|
|
@@ -49,11 +49,11 @@ export declare class AutocompleteTextBoxComponent implements OnInit {
|
|
|
49
49
|
selectEvent(item: any): void;
|
|
50
50
|
onChangeSearch(search: string): Promise<void>;
|
|
51
51
|
onInputCleared(): void;
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
52
|
+
removeRequiredValidation: () => void;
|
|
53
|
+
addRequiredValidation: () => void;
|
|
54
|
+
removeCustomValidation: (customValidation: any) => void;
|
|
55
|
+
addCustomValidation: (customValidation: any) => void;
|
|
56
|
+
isValid: () => void;
|
|
57
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteTextBoxComponent, [null, null, null, null, { optional: true; }, null, null, null, null]>;
|
|
58
58
|
static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteTextBoxComponent, "BBSF-AutocompleteTextBox", never, { "group": { "alias": "group"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "OnChange": "OnChange"; }, never, never, false, never>;
|
|
59
59
|
}
|
|
@@ -11,15 +11,15 @@ export declare class CalendarComponent implements OnInit {
|
|
|
11
11
|
private ErrorHandler;
|
|
12
12
|
private controlUtility;
|
|
13
13
|
private controlContainer;
|
|
14
|
-
|
|
15
|
-
private
|
|
14
|
+
phoneControlHost: FormGroupDirective;
|
|
15
|
+
private utilityService;
|
|
16
16
|
private translate;
|
|
17
17
|
private controlValidationService;
|
|
18
18
|
static controlContainerstatic: any;
|
|
19
|
-
constructor(ErrorHandler: ErrorMassageValidation, controlUtility: ControlUtility, controlContainer: ControlContainer,
|
|
19
|
+
constructor(ErrorHandler: ErrorMassageValidation, controlUtility: ControlUtility, controlContainer: ControlContainer, phoneControlHost: FormGroupDirective, utilityService: UtilityService, translate: BBSFTranslateService, controlValidationService: ControlValidationService);
|
|
20
20
|
group: FormGroup;
|
|
21
21
|
options: CalendarOptions;
|
|
22
|
-
|
|
22
|
+
calendarFormControl: AbstractControl;
|
|
23
23
|
calendarComponent: FullCalendarComponent;
|
|
24
24
|
calendarVisible: boolean;
|
|
25
25
|
calendarOptions: core.CalendarOptions;
|
|
@@ -27,10 +27,10 @@ export declare class CalendarComponent implements OnInit {
|
|
|
27
27
|
calendarPlugins: core.PluginDef[];
|
|
28
28
|
calendarWeekends: boolean;
|
|
29
29
|
calendarEvents: core.EventInput[];
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
defaultView: string;
|
|
31
|
+
calendarViews: string;
|
|
32
32
|
locales: any[];
|
|
33
|
-
|
|
33
|
+
currentLanguage: string;
|
|
34
34
|
ngOnInit(): Promise<void>;
|
|
35
35
|
ngAfterViewInit(): void;
|
|
36
36
|
resetError: () => void;
|
|
@@ -8,15 +8,15 @@ export declare class CheckBoxComponent implements OnInit {
|
|
|
8
8
|
private controlUtility;
|
|
9
9
|
private controlContainer;
|
|
10
10
|
CheckBoxControlHost: FormGroupDirective;
|
|
11
|
-
private
|
|
11
|
+
private utilityService;
|
|
12
12
|
private translate;
|
|
13
13
|
private controlValidationService;
|
|
14
14
|
static controlContainerstatic: any;
|
|
15
|
-
constructor(controlUtility: ControlUtility, controlContainer: ControlContainer, CheckBoxControlHost: FormGroupDirective,
|
|
15
|
+
constructor(controlUtility: ControlUtility, controlContainer: ControlContainer, CheckBoxControlHost: FormGroupDirective, utilityService: UtilityService, translate: BBSFTranslateService, controlValidationService: ControlValidationService);
|
|
16
16
|
group: FormGroup;
|
|
17
17
|
options: CheckBoxOptions;
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
onChange: EventEmitter<any>;
|
|
19
|
+
checkBoxFormControl: AbstractControl;
|
|
20
20
|
markAllAsTouched: boolean;
|
|
21
21
|
validationRules: any[];
|
|
22
22
|
validationRulesasync: any[];
|
|
@@ -27,11 +27,11 @@ export declare class CheckBoxComponent implements OnInit {
|
|
|
27
27
|
showGlobalError(): void;
|
|
28
28
|
getErrorValidation(ErrorList: any): string;
|
|
29
29
|
onValueChanged(): void;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
30
|
+
removeRequiredValidation: () => void;
|
|
31
|
+
addRequiredValidation: () => void;
|
|
32
|
+
removeCustomValidation: (customValidation: any) => void;
|
|
33
|
+
addCustomValidation: (customValidation: any) => void;
|
|
34
|
+
isValid: () => void;
|
|
35
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckBoxComponent, [null, { optional: true; }, null, null, null, null]>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CheckBoxComponent, "BBSF-CheckBox", never, { "group": { "alias": "group"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckBoxComponent, "BBSF-CheckBox", never, { "group": { "alias": "group"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "onChange": "onChange"; }, never, never, false, never>;
|
|
37
37
|
}
|
|
@@ -1,38 +1,35 @@
|
|
|
1
1
|
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
2
|
import { FormGroup, AbstractControl, FormGroupDirective, ControlContainer } from '@angular/forms';
|
|
3
|
-
import { DatePickerOptions } from '../../Shared/Models/
|
|
4
|
-
import { ErrorMassageValidation } from '../../Shared/services/validationErrorMassage.service';
|
|
3
|
+
import { DatePickerOptions } from '../../Shared/Models/DatePickerOptions';
|
|
5
4
|
import { ControlUtility } from '../../Shared/services/ControlUtility';
|
|
6
5
|
import { OnPagingFiltersChangeService } from '../../Shared/services/OnPagingFiltersChange.service';
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { DateTimeAdapter } from '@danielmoncada/angular-datetime-picker';
|
|
6
|
+
import { ControlValidationService, UtilityService } from '@bnsights/bbsf-utilities';
|
|
7
|
+
import { DateTimeAdapter, DateViewType } from '@danielmoncada/angular-datetime-picker';
|
|
10
8
|
import * as dateTimeClass from '@danielmoncada/angular-datetime-picker';
|
|
9
|
+
import { Direction } from '@angular/cdk/bidi';
|
|
11
10
|
import * as i0 from "@angular/core";
|
|
12
11
|
export declare class DateInputComponent implements OnInit {
|
|
13
|
-
datepipe: DatePipe;
|
|
14
12
|
private onChangeService;
|
|
15
|
-
private ErrorHandler;
|
|
16
13
|
private controlUtility;
|
|
17
14
|
private controlContainer;
|
|
18
15
|
DateInputControlHost: FormGroupDirective;
|
|
19
|
-
private
|
|
20
|
-
private translate;
|
|
16
|
+
private utilityService;
|
|
21
17
|
private controlValidationService;
|
|
22
18
|
private dateTimeAdapter;
|
|
23
|
-
static
|
|
24
|
-
constructor(
|
|
19
|
+
static controlContainerStatic: any;
|
|
20
|
+
constructor(onChangeService: OnPagingFiltersChangeService, controlUtility: ControlUtility, controlContainer: ControlContainer, DateInputControlHost: FormGroupDirective, utilityService: UtilityService, controlValidationService: ControlValidationService, dateTimeAdapter: DateTimeAdapter<any>);
|
|
25
21
|
group: FormGroup;
|
|
26
22
|
options: DatePickerOptions;
|
|
27
|
-
|
|
28
|
-
|
|
23
|
+
DropdownTemplateVariable: any;
|
|
24
|
+
onChange: EventEmitter<any>;
|
|
25
|
+
datePickerFormControl: AbstractControl;
|
|
29
26
|
markAllAsTouched: boolean;
|
|
30
27
|
validationRules: any[];
|
|
31
|
-
|
|
28
|
+
validationRulesAsync: any[];
|
|
32
29
|
comparedControl: AbstractControl;
|
|
33
30
|
dateError: boolean;
|
|
34
|
-
textDir:
|
|
35
|
-
startView:
|
|
31
|
+
textDir: Direction;
|
|
32
|
+
startView: DateViewType;
|
|
36
33
|
ngOnInit(): void;
|
|
37
34
|
ngAfterViewInit(): void;
|
|
38
35
|
resetError: () => void;
|
|
@@ -50,12 +47,13 @@ export declare class DateInputComponent implements OnInit {
|
|
|
50
47
|
checkIfStartDateBeForEndDate: () => {
|
|
51
48
|
InvalidStartDate: boolean;
|
|
52
49
|
};
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
static
|
|
50
|
+
checkIsPickerInFilter(): void;
|
|
51
|
+
translateByKey(key: string): string;
|
|
52
|
+
removeRequiredValidation: () => void;
|
|
53
|
+
addRequiredValidation: () => void;
|
|
54
|
+
removeCustomValidation: (customValidation: any) => void;
|
|
55
|
+
addCustomValidation: (customValidation: any) => void;
|
|
56
|
+
isValid: () => void;
|
|
57
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateInputComponent, [null, null, { optional: true; }, null, null, null, null]>;
|
|
58
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateInputComponent, "BBSF-DateTimePicker", never, { "group": { "alias": "group"; "required": false; }; "options": { "alias": "options"; "required": false; }; "DropdownTemplateVariable": { "alias": "DropdownTemplateVariable"; "required": false; }; }, { "onChange": "onChange"; }, never, never, false, never>;
|
|
61
59
|
}
|
|
@@ -12,19 +12,19 @@ export declare class DropdownListComponent implements OnInit {
|
|
|
12
12
|
private onChangeService;
|
|
13
13
|
private controlUtility;
|
|
14
14
|
private controlContainer;
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
dropdownListControlHost: FormGroupDirective;
|
|
16
|
+
utilityService: UtilityService;
|
|
17
17
|
private controlValidationService;
|
|
18
18
|
private globalSettings;
|
|
19
19
|
static controlContainerstatic: any;
|
|
20
|
-
constructor(onChangeService: OnPagingFiltersChangeService, controlUtility: ControlUtility, controlContainer: ControlContainer,
|
|
20
|
+
constructor(onChangeService: OnPagingFiltersChangeService, controlUtility: ControlUtility, controlContainer: ControlContainer, dropdownListControlHost: FormGroupDirective, utilityService: UtilityService, controlValidationService: ControlValidationService, globalSettings: GlobalSettings);
|
|
21
21
|
group: FormGroup;
|
|
22
22
|
options: DropdownOptions;
|
|
23
|
-
|
|
23
|
+
dropdownListFormControl: AbstractControl;
|
|
24
24
|
dropdownSettings: {};
|
|
25
|
-
|
|
25
|
+
selectedItems: DropdownListItem[];
|
|
26
26
|
SelectedList: any[];
|
|
27
|
-
|
|
27
|
+
onChange: EventEmitter<any>;
|
|
28
28
|
onClear: EventEmitter<any>;
|
|
29
29
|
markAllAsTouched: boolean;
|
|
30
30
|
controlChanged: boolean;
|
|
@@ -44,12 +44,12 @@ export declare class DropdownListComponent implements OnInit {
|
|
|
44
44
|
onDeselect(items: any): void;
|
|
45
45
|
onDeselectAll(items: any): void;
|
|
46
46
|
onDropDownClose(): void;
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
47
|
+
removeRequiredValidation: () => void;
|
|
48
|
+
addRequiredValidation: () => void;
|
|
49
|
+
removeCustomValidation: (customValidation: any) => void;
|
|
50
|
+
addCustomValidation: (customValidation: any) => void;
|
|
51
|
+
isValid: () => void;
|
|
52
|
+
updateDataSource: (dataSource: DropdownListItem[]) => void;
|
|
53
53
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownListComponent, [null, null, { optional: true; }, null, null, null, null]>;
|
|
54
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownListComponent, "BBSF-DropdownList", never, { "group": { "alias": "group"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "
|
|
54
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownListComponent, "BBSF-DropdownList", never, { "group": { "alias": "group"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "onChange": "onChange"; "onClear": "onClear"; }, never, never, false, never>;
|
|
55
55
|
}
|
|
@@ -2,12 +2,13 @@ import { OnInit, ElementRef, EventEmitter } from '@angular/core';
|
|
|
2
2
|
import { FormGroup, AbstractControl, ControlContainer, FormGroupDirective } from '@angular/forms';
|
|
3
3
|
import { FileUploadOptions } from '../../Shared/Models/FileUploadOptions';
|
|
4
4
|
import { ControlUtility } from '../../Shared/services/ControlUtility';
|
|
5
|
-
import { FileUploader, FileLikeObject } from 'ng2-file-upload';
|
|
5
|
+
import { FileUploader, FileLikeObject, FileItem } from 'ng2-file-upload';
|
|
6
6
|
import { FileUploadModel } from '../../Shared/Models/FileUploadModel';
|
|
7
7
|
import { MultipleFileUploadModel } from '../../Shared/Models/MultipleFileUploadModel';
|
|
8
8
|
import { ControlValidationService, UtilityService } from '@bnsights/bbsf-utilities';
|
|
9
9
|
import { GlobalSettings } from '../../Shared/services/GlobalSettings.service';
|
|
10
10
|
import { FileDTO } from '../../Shared/Models/FileDTO';
|
|
11
|
+
import { FileUploadService } from '../../Shared/services/file-upload.service';
|
|
11
12
|
import * as i0 from "@angular/core";
|
|
12
13
|
export declare class FileUploadComponent implements OnInit {
|
|
13
14
|
private controlContainer;
|
|
@@ -16,21 +17,23 @@ export declare class FileUploadComponent implements OnInit {
|
|
|
16
17
|
UtilityService: UtilityService;
|
|
17
18
|
private controlValidationService;
|
|
18
19
|
private globalSettings;
|
|
20
|
+
private fileUploadService;
|
|
19
21
|
static controlContainerstatic: any;
|
|
20
22
|
fileInput: ElementRef;
|
|
21
23
|
isSubmitted: boolean;
|
|
22
24
|
group: FormGroup;
|
|
23
25
|
options: FileUploadOptions;
|
|
24
26
|
OnChange: EventEmitter<any>;
|
|
27
|
+
isUploadComplete: EventEmitter<any>;
|
|
25
28
|
fileUploadFormControl: AbstractControl;
|
|
26
|
-
|
|
27
|
-
|
|
29
|
+
validationMessage: string;
|
|
30
|
+
validationCountMessage: string;
|
|
28
31
|
uploader: FileUploader;
|
|
29
32
|
hasAnotherDropZoneOver: boolean;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
33
|
+
acceptedType: string;
|
|
34
|
+
acceptedTypeArray: string[];
|
|
35
|
+
toolTipTypeArray: string[];
|
|
36
|
+
fileLikeObject: FileLikeObject;
|
|
34
37
|
markAllAsTouched: boolean;
|
|
35
38
|
validationRules: any[];
|
|
36
39
|
validationRulesasync: any[];
|
|
@@ -38,7 +41,7 @@ export declare class FileUploadComponent implements OnInit {
|
|
|
38
41
|
multipleFileUploadModel: MultipleFileUploadModel;
|
|
39
42
|
file: any;
|
|
40
43
|
deletedFiles: FileDTO[];
|
|
41
|
-
constructor(controlContainer: ControlContainer, MultipleFileUplaodControlHost: FormGroupDirective, controlUtility: ControlUtility, UtilityService: UtilityService, controlValidationService: ControlValidationService, globalSettings: GlobalSettings);
|
|
44
|
+
constructor(controlContainer: ControlContainer, MultipleFileUplaodControlHost: FormGroupDirective, controlUtility: ControlUtility, UtilityService: UtilityService, controlValidationService: ControlValidationService, globalSettings: GlobalSettings, fileUploadService: FileUploadService);
|
|
42
45
|
ngOnInit(): void;
|
|
43
46
|
ngAfterViewInit(): void;
|
|
44
47
|
resetError: () => void;
|
|
@@ -47,12 +50,13 @@ export declare class FileUploadComponent implements OnInit {
|
|
|
47
50
|
fileOverAnother(event: any): void;
|
|
48
51
|
isHideInput(): boolean;
|
|
49
52
|
onFileChange(): void;
|
|
50
|
-
removeFromControlValue(item:
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
static
|
|
53
|
+
removeFromControlValue(item: FileItem): void;
|
|
54
|
+
removeRequiredValidation: () => void;
|
|
55
|
+
addRequiredValidation: () => void;
|
|
56
|
+
removeCustomValidation: (customValidation: any) => void;
|
|
57
|
+
addCustomValidation: (customValidation: any) => void;
|
|
58
|
+
isValid: () => void;
|
|
59
|
+
convertSizeToMB(size: number): number;
|
|
60
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadComponent, [{ optional: true; }, null, null, null, null, null, null]>;
|
|
61
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadComponent, "BBSF-FileUplaod", never, { "group": { "alias": "group"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "OnChange": "OnChange"; "isUploadComplete": "isUploadComplete"; }, never, never, false, never>;
|
|
58
62
|
}
|
|
@@ -14,7 +14,7 @@ export declare class FormComponent implements OnInit {
|
|
|
14
14
|
private router;
|
|
15
15
|
fromName: string;
|
|
16
16
|
isChange: boolean;
|
|
17
|
-
|
|
17
|
+
onChange: EventEmitter<any>;
|
|
18
18
|
constructor(controlUtility: ControlUtility, utilityService: UtilityService, controlValidationService: ControlValidationService, modalService: NgbModal, ngbActiveModal: NgbActiveModal, router: Router);
|
|
19
19
|
options: FormOptions;
|
|
20
20
|
ngOnInit(): void;
|
|
@@ -24,5 +24,5 @@ export declare class FormComponent implements OnInit {
|
|
|
24
24
|
showGlobalError(): void;
|
|
25
25
|
randomString(length: any): string;
|
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormComponent, "BBSF-Form", never, { "options": { "alias": "options"; "required": false; }; }, { "
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormComponent, "BBSF-Form", never, { "options": { "alias": "options"; "required": false; }; }, { "onChange": "onChange"; }, never, ["*"], false, never>;
|
|
28
28
|
}
|
|
@@ -10,21 +10,21 @@ export declare class HtmlEditorComponent implements OnInit {
|
|
|
10
10
|
private zone;
|
|
11
11
|
private controlUtility;
|
|
12
12
|
private controlContainer;
|
|
13
|
-
|
|
14
|
-
private
|
|
13
|
+
htmlEditorControlHost: FormGroupDirective;
|
|
14
|
+
private utilityService;
|
|
15
15
|
private controlValidationService;
|
|
16
16
|
private globalSettings;
|
|
17
17
|
editorConfig: AngularEditorConfig;
|
|
18
18
|
static controlContainerstatic: any;
|
|
19
|
-
constructor(zone: NgZone, controlUtility: ControlUtility, controlContainer: ControlContainer,
|
|
19
|
+
constructor(zone: NgZone, controlUtility: ControlUtility, controlContainer: ControlContainer, htmlEditorControlHost: FormGroupDirective, utilityService: UtilityService, controlValidationService: ControlValidationService, globalSettings: GlobalSettings);
|
|
20
20
|
group: FormGroup;
|
|
21
21
|
options: HtmlEditorOptions;
|
|
22
22
|
OnChange: EventEmitter<any>;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
htmlEditorFormControl: AbstractControl;
|
|
24
|
+
wordCount: number;
|
|
25
|
+
wordCountArray: number;
|
|
26
26
|
markAllAsTouched: boolean;
|
|
27
|
-
|
|
27
|
+
config: any;
|
|
28
28
|
miscList: any;
|
|
29
29
|
styleList: any;
|
|
30
30
|
fontsizeList: any;
|
|
@@ -39,11 +39,11 @@ export declare class HtmlEditorComponent implements OnInit {
|
|
|
39
39
|
showGlobalError(): void;
|
|
40
40
|
getErrorValidation(ErrorList: any): string;
|
|
41
41
|
onValueChanged(): void;
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
42
|
+
removeRequiredValidation: () => void;
|
|
43
|
+
addRequiredValidation: () => void;
|
|
44
|
+
removeCustomValidation: (customValidation: any) => void;
|
|
45
|
+
addCustomValidation: (customValidation: any) => void;
|
|
46
|
+
isValid: () => void;
|
|
47
47
|
static ɵfac: i0.ɵɵFactoryDeclaration<HtmlEditorComponent, [null, null, { optional: true; }, null, null, null, null]>;
|
|
48
48
|
static ɵcmp: i0.ɵɵComponentDeclaration<HtmlEditorComponent, "BBSF-HtmlEditor", never, { "group": { "alias": "group"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "OnChange": "OnChange"; }, never, never, false, never>;
|
|
49
49
|
}
|
|
@@ -13,26 +13,26 @@ export declare class ImageUploaderComponent implements OnInit {
|
|
|
13
13
|
private controlUtility;
|
|
14
14
|
private controlContainer;
|
|
15
15
|
ImageUplaoderControlHost: FormGroupDirective;
|
|
16
|
-
|
|
16
|
+
utilityService: UtilityService;
|
|
17
17
|
private controlValidationService;
|
|
18
18
|
private globalSettings;
|
|
19
19
|
private modalService;
|
|
20
20
|
static controlContainerstatic: any;
|
|
21
21
|
fileInput: ElementRef;
|
|
22
22
|
files: File[];
|
|
23
|
-
|
|
23
|
+
imageSource: string;
|
|
24
24
|
isSubmitted: boolean;
|
|
25
25
|
group: FormGroup;
|
|
26
26
|
options: ImageUploadOptions;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
onChange: EventEmitter<any>;
|
|
28
|
+
imageUploadFormControl: AbstractControl;
|
|
29
|
+
validationMessage: string;
|
|
30
30
|
uploader: FileUploader;
|
|
31
31
|
hasAnotherDropZoneOver: boolean;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
32
|
+
acceptedType: string;
|
|
33
|
+
acceptedTypeArray: string[];
|
|
34
|
+
toolTipTypeArray: string[];
|
|
35
|
+
fileLikeObject: FileLikeObject;
|
|
36
36
|
control: FormControl;
|
|
37
37
|
angularCropper: CropperComponent;
|
|
38
38
|
imgUrl: any;
|
|
@@ -45,7 +45,7 @@ export declare class ImageUploaderComponent implements OnInit {
|
|
|
45
45
|
validationRules: any[];
|
|
46
46
|
validationRulesasync: any[];
|
|
47
47
|
maxFileSize: number;
|
|
48
|
-
constructor(zone: NgZone, controlUtility: ControlUtility, controlContainer: ControlContainer, ImageUplaoderControlHost: FormGroupDirective,
|
|
48
|
+
constructor(zone: NgZone, controlUtility: ControlUtility, controlContainer: ControlContainer, ImageUplaoderControlHost: FormGroupDirective, utilityService: UtilityService, controlValidationService: ControlValidationService, globalSettings: GlobalSettings, modalService: NgbModal);
|
|
49
49
|
ngOnInit(): void;
|
|
50
50
|
ngAfterViewInit(): void;
|
|
51
51
|
showImageUploader(element: HTMLElement): void;
|
|
@@ -60,11 +60,11 @@ export declare class ImageUploaderComponent implements OnInit {
|
|
|
60
60
|
moveImage(offsetX: number, offsetY: number): void;
|
|
61
61
|
zoomImage(ratio: number): void;
|
|
62
62
|
openModal(open: boolean): void;
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
63
|
+
removeRequiredValidation: () => void;
|
|
64
|
+
addRequiredValidation: () => void;
|
|
65
|
+
removeCustomValidation: (customValidation: any) => void;
|
|
66
|
+
addCustomValidation: (customValidation: any) => void;
|
|
67
|
+
isValid: () => void;
|
|
68
68
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageUploaderComponent, [null, null, { optional: true; }, null, null, null, null, null]>;
|
|
69
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ImageUploaderComponent, "BBSF-ImageUpload", never, { "group": { "alias": "group"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "
|
|
69
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ImageUploaderComponent, "BBSF-ImageUpload", never, { "group": { "alias": "group"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "onChange": "onChange"; }, never, never, false, never>;
|
|
70
70
|
}
|