@bnsights/bbsf-controls 1.0.0
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 +24 -0
- package/bnsights-bbsf-controls.d.ts +26 -0
- package/bnsights-bbsf-controls.metadata.json +1 -0
- package/bundles/bnsights-bbsf-controls.umd.js +6375 -0
- package/bundles/bnsights-bbsf-controls.umd.js.map +1 -0
- package/esm2015/bnsights-bbsf-controls.js +27 -0
- package/esm2015/lib/Shared/Enums/CalendarView.js +8 -0
- package/esm2015/lib/Shared/Enums/ControlLayout.js +6 -0
- package/esm2015/lib/Shared/Enums/Countries.js +247 -0
- package/esm2015/lib/Shared/Enums/FileType.js +22 -0
- package/esm2015/lib/Shared/Enums/FilterType.js +11 -0
- package/esm2015/lib/Shared/Enums/FontSize.js +7 -0
- package/esm2015/lib/Shared/Enums/ForceDirection.js +6 -0
- package/esm2015/lib/Shared/Enums/IconPosition.js +6 -0
- package/esm2015/lib/Shared/Enums/ImageType.js +10 -0
- package/esm2015/lib/Shared/Enums/InputType.js +9 -0
- package/esm2015/lib/Shared/Enums/Insert.js +9 -0
- package/esm2015/lib/Shared/Enums/LanguageMode.js +11 -0
- package/esm2015/lib/Shared/Enums/Misc.js +7 -0
- package/esm2015/lib/Shared/Enums/PagingActionMode.js +6 -0
- package/esm2015/lib/Shared/Enums/Para.js +9 -0
- package/esm2015/lib/Shared/Enums/PickerType.js +7 -0
- package/esm2015/lib/Shared/Enums/SelectMode.js +6 -0
- package/esm2015/lib/Shared/Enums/StartView.js +7 -0
- package/esm2015/lib/Shared/Enums/Style.js +8 -0
- package/esm2015/lib/Shared/Enums/menu-list-enum.js +6 -0
- package/esm2015/lib/Shared/Models/Attribute.js +3 -0
- package/esm2015/lib/Shared/Models/AutocompleteDTO.js +7 -0
- package/esm2015/lib/Shared/Models/AutocompleteOptions.js +29 -0
- package/esm2015/lib/Shared/Models/CalendarEventDTO.js +3 -0
- package/esm2015/lib/Shared/Models/CalendarOptions.js +17 -0
- package/esm2015/lib/Shared/Models/CancelDTO.js +7 -0
- package/esm2015/lib/Shared/Models/CheckBoxOptions.js +12 -0
- package/esm2015/lib/Shared/Models/CustomValidation.js +14 -0
- package/esm2015/lib/Shared/Models/DropdownListItem.js +3 -0
- package/esm2015/lib/Shared/Models/DropdownOptions.js +18 -0
- package/esm2015/lib/Shared/Models/EditPersonalImage.js +7 -0
- package/esm2015/lib/Shared/Models/EnglishArabicDTO.js +3 -0
- package/esm2015/lib/Shared/Models/FileDTO.js +2 -0
- package/esm2015/lib/Shared/Models/FileUploadModel.js +3 -0
- package/esm2015/lib/Shared/Models/FileUploadOptions.js +15 -0
- package/esm2015/lib/Shared/Models/FilterItem.js +8 -0
- package/esm2015/lib/Shared/Models/FormOptions.js +26 -0
- package/esm2015/lib/Shared/Models/HtmlEditorOptions.js +16 -0
- package/esm2015/lib/Shared/Models/ImageUploadOptions.js +18 -0
- package/esm2015/lib/Shared/Models/MapAutoCompleteOptions.js +11 -0
- package/esm2015/lib/Shared/Models/MapAutocompleteDTO.js +3 -0
- package/esm2015/lib/Shared/Models/MultiLingualHtmlEditorOptions.js +19 -0
- package/esm2015/lib/Shared/Models/MultiLingualTextAreaOptions.js +19 -0
- package/esm2015/lib/Shared/Models/MultilingualTextBoxOptions.js +22 -0
- package/esm2015/lib/Shared/Models/MultipleFileUploadModel.js +9 -0
- package/esm2015/lib/Shared/Models/PagingDTO.js +13 -0
- package/esm2015/lib/Shared/Models/PagingOptions.js +43 -0
- package/esm2015/lib/Shared/Models/PhoneOptions.js +15 -0
- package/esm2015/lib/Shared/Models/ProfileImageUploadOptions.js +15 -0
- package/esm2015/lib/Shared/Models/ProfilePictureDTO.js +3 -0
- package/esm2015/lib/Shared/Models/RadioButtonItem.js +3 -0
- package/esm2015/lib/Shared/Models/RadioButtonOptions.js +10 -0
- package/esm2015/lib/Shared/Models/RangeNumber.js +3 -0
- package/esm2015/lib/Shared/Models/SaveDTO.js +7 -0
- package/esm2015/lib/Shared/Models/TagsInputDTO.js +3 -0
- package/esm2015/lib/Shared/Models/TagsInputOptions.js +45 -0
- package/esm2015/lib/Shared/Models/TextAreaOptions.js +14 -0
- package/esm2015/lib/Shared/Models/TextBoxOptions.js +21 -0
- package/esm2015/lib/Shared/Models/ToggleslideOptions.js +9 -0
- package/esm2015/lib/Shared/Models/UploadPersonalImage.js +7 -0
- package/esm2015/lib/Shared/Models/datePickerOptions.js +24 -0
- package/esm2015/lib/Shared/config/environment.js +12 -0
- package/esm2015/lib/Shared/services/ControlUtility.js +114 -0
- package/esm2015/lib/Shared/services/OnPagingFiltersChange.service.js +22 -0
- package/esm2015/lib/Shared/services/validationErrorMassage.service.js +122 -0
- package/esm2015/lib/controls/AutocompleteTextBox/AutocompleteTextBox.component.js +236 -0
- package/esm2015/lib/controls/Calendar/Calendar.component.js +176 -0
- package/esm2015/lib/controls/CheckBox/CheckBox.component.js +111 -0
- package/esm2015/lib/controls/DateTimePicker/DateTimePicker.component.js +148 -0
- package/esm2015/lib/controls/DropdownList/DropdownList.component.js +172 -0
- package/esm2015/lib/controls/FileUplaod/FileUplaod.component.js +319 -0
- package/esm2015/lib/controls/Form/Form.component.js +82 -0
- package/esm2015/lib/controls/HtmlEditor/HtmlEditor.component.js +202 -0
- package/esm2015/lib/controls/ImageUpload/ImageUpload.component.js +304 -0
- package/esm2015/lib/controls/MapAutoComplete/MapAutoComplete.component.js +283 -0
- package/esm2015/lib/controls/MultiLingualHtmlEditor/MultiLingualHtmlEditor.component.js +383 -0
- package/esm2015/lib/controls/MultiLingualTextArea/MultiLingualTextArea.component.js +325 -0
- package/esm2015/lib/controls/MultiLingualTextBox/MultiLingualTextBox.component.js +326 -0
- package/esm2015/lib/controls/Paging/JwPagination.component.js +127 -0
- package/esm2015/lib/controls/Paging/Paging.component.js +215 -0
- package/esm2015/lib/controls/Phone/Phone.component.js +114 -0
- package/esm2015/lib/controls/ProfileImageUploader/ProfileImageUploader.component.js +326 -0
- package/esm2015/lib/controls/RadioButton/RadioButton.component.js +98 -0
- package/esm2015/lib/controls/TagsInput/TagsInput.component.js +205 -0
- package/esm2015/lib/controls/TextArea/TextArea.component.js +148 -0
- package/esm2015/lib/controls/TextBox/TextBox.component.js +217 -0
- package/esm2015/lib/controls/Toggleslide/toggleslide.component.js +71 -0
- package/esm2015/lib/controls/bbsf-controls.module.js +208 -0
- package/esm2015/public-api.js +101 -0
- package/fesm2015/bnsights-bbsf-controls.js +5794 -0
- package/fesm2015/bnsights-bbsf-controls.js.map +1 -0
- package/lib/Shared/Enums/CalendarView.d.ts +6 -0
- package/lib/Shared/Enums/ControlLayout.d.ts +4 -0
- package/lib/Shared/Enums/Countries.d.ts +245 -0
- package/lib/Shared/Enums/FileType.d.ts +20 -0
- package/lib/Shared/Enums/FilterType.d.ts +9 -0
- package/lib/Shared/Enums/FontSize.d.ts +5 -0
- package/lib/Shared/Enums/ForceDirection.d.ts +4 -0
- package/lib/Shared/Enums/IconPosition.d.ts +4 -0
- package/lib/Shared/Enums/ImageType.d.ts +8 -0
- package/lib/Shared/Enums/InputType.d.ts +7 -0
- package/lib/Shared/Enums/Insert.d.ts +7 -0
- package/lib/Shared/Enums/LanguageMode.d.ts +9 -0
- package/lib/Shared/Enums/Misc.d.ts +5 -0
- package/lib/Shared/Enums/PagingActionMode.d.ts +4 -0
- package/lib/Shared/Enums/Para.d.ts +7 -0
- package/lib/Shared/Enums/PickerType.d.ts +5 -0
- package/lib/Shared/Enums/SelectMode.d.ts +4 -0
- package/lib/Shared/Enums/StartView.d.ts +5 -0
- package/lib/Shared/Enums/Style.d.ts +6 -0
- package/lib/Shared/Enums/menu-list-enum.d.ts +4 -0
- package/lib/Shared/Models/Attribute.d.ts +4 -0
- package/lib/Shared/Models/AutocompleteDTO.d.ts +4 -0
- package/lib/Shared/Models/AutocompleteOptions.d.ts +74 -0
- package/lib/Shared/Models/CalendarEventDTO.d.ts +8 -0
- package/lib/Shared/Models/CalendarOptions.d.ts +29 -0
- package/lib/Shared/Models/CancelDTO.d.ts +5 -0
- package/lib/Shared/Models/CheckBoxOptions.d.ts +38 -0
- package/lib/Shared/Models/CustomValidation.d.ts +10 -0
- package/lib/Shared/Models/DropdownListItem.d.ts +4 -0
- package/lib/Shared/Models/DropdownOptions.d.ts +67 -0
- package/lib/Shared/Models/EditPersonalImage.d.ts +5 -0
- package/lib/Shared/Models/EnglishArabicDTO.d.ts +4 -0
- package/lib/Shared/Models/FileDTO.d.ts +19 -0
- package/lib/Shared/Models/FileUploadModel.d.ts +4 -0
- package/lib/Shared/Models/FileUploadOptions.d.ts +56 -0
- package/lib/Shared/Models/FilterItem.d.ts +13 -0
- package/lib/Shared/Models/FormOptions.d.ts +15 -0
- package/lib/Shared/Models/HtmlEditorOptions.d.ts +66 -0
- package/lib/Shared/Models/ImageUploadOptions.d.ts +59 -0
- package/lib/Shared/Models/MapAutoCompleteOptions.d.ts +44 -0
- package/lib/Shared/Models/MapAutocompleteDTO.d.ts +7 -0
- package/lib/Shared/Models/MultiLingualHtmlEditorOptions.d.ts +97 -0
- package/lib/Shared/Models/MultiLingualTextAreaOptions.d.ts +85 -0
- package/lib/Shared/Models/MultilingualTextBoxOptions.d.ts +83 -0
- package/lib/Shared/Models/MultipleFileUploadModel.d.ts +7 -0
- package/lib/Shared/Models/PagingDTO.d.ts +11 -0
- package/lib/Shared/Models/PagingOptions.d.ts +51 -0
- package/lib/Shared/Models/PhoneOptions.d.ts +56 -0
- package/lib/Shared/Models/ProfileImageUploadOptions.d.ts +64 -0
- package/lib/Shared/Models/ProfilePictureDTO.d.ts +12 -0
- package/lib/Shared/Models/RadioButtonItem.d.ts +4 -0
- package/lib/Shared/Models/RadioButtonOptions.d.ts +44 -0
- package/lib/Shared/Models/RangeNumber.d.ts +4 -0
- package/lib/Shared/Models/SaveDTO.d.ts +5 -0
- package/lib/Shared/Models/TagsInputDTO.d.ts +4 -0
- package/lib/Shared/Models/TagsInputOptions.d.ts +91 -0
- package/lib/Shared/Models/TextAreaOptions.d.ts +60 -0
- package/lib/Shared/Models/TextBoxOptions.d.ts +70 -0
- package/lib/Shared/Models/ToggleslideOptions.d.ts +36 -0
- package/lib/Shared/Models/UploadPersonalImage.d.ts +5 -0
- package/lib/Shared/Models/datePickerOptions.d.ts +65 -0
- package/lib/Shared/config/environment.d.ts +1 -0
- package/lib/Shared/services/ControlUtility.d.ts +23 -0
- package/lib/Shared/services/OnPagingFiltersChange.service.d.ts +7 -0
- package/lib/Shared/services/validationErrorMassage.service.d.ts +13 -0
- package/lib/controls/AutocompleteTextBox/AutocompleteTextBox.component.d.ts +51 -0
- package/lib/controls/Calendar/Calendar.component.d.ts +40 -0
- package/lib/controls/CheckBox/CheckBox.component.d.ts +33 -0
- package/lib/controls/DateTimePicker/DateTimePicker.component.d.ts +41 -0
- package/lib/controls/DropdownList/DropdownList.component.d.ts +47 -0
- package/lib/controls/FileUplaod/FileUplaod.component.d.ts +49 -0
- package/lib/controls/Form/Form.component.d.ts +15 -0
- package/lib/controls/HtmlEditor/HtmlEditor.component.d.ts +44 -0
- package/lib/controls/ImageUpload/ImageUpload.component.d.ts +64 -0
- package/lib/controls/MapAutoComplete/MapAutoComplete.component.d.ts +52 -0
- package/lib/controls/MultiLingualHtmlEditor/MultiLingualHtmlEditor.component.d.ts +58 -0
- package/lib/controls/MultiLingualTextArea/MultiLingualTextArea.component.d.ts +59 -0
- package/lib/controls/MultiLingualTextBox/MultiLingualTextBox.component.d.ts +57 -0
- package/lib/controls/Paging/JwPagination.component.d.ts +24 -0
- package/lib/controls/Paging/Paging.component.d.ts +44 -0
- package/lib/controls/Phone/Phone.component.d.ts +37 -0
- package/lib/controls/ProfileImageUploader/ProfileImageUploader.component.d.ts +65 -0
- package/lib/controls/RadioButton/RadioButton.component.d.ts +31 -0
- package/lib/controls/TagsInput/TagsInput.component.d.ts +47 -0
- package/lib/controls/TextArea/TextArea.component.d.ts +41 -0
- package/lib/controls/TextBox/TextBox.component.d.ts +50 -0
- package/lib/controls/Toggleslide/toggleslide.component.d.ts +26 -0
- package/lib/controls/bbsf-controls.module.d.ts +10 -0
- package/package.json +85 -0
- package/public-api.d.ts +66 -0
- package/src/lib/assets/Style.css +1149 -0
- package/src/lib/assets/i18n/ar.json +29 -0
- package/src/lib/assets/i18n/en.json +24 -0
- package/src/lib/assets/images/imagenotfound.png +0 -0
- package/src/lib/assets/images/uploadimg.png +0 -0
- package/src/lib/assets/images/userimg.png +0 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { CustomValidation } from './CustomValidation';
|
|
2
|
+
import { ControlLayout } from '../Enums/ControlLayout';
|
|
3
|
+
import { Attribute } from './Attribute';
|
|
4
|
+
import { Country } from '../Enums/Countries';
|
|
5
|
+
import { ForceDirection } from '../Enums/ForceDirection';
|
|
6
|
+
export declare class PhoneOptions {
|
|
7
|
+
/**
|
|
8
|
+
* Represent Name Of Form Control
|
|
9
|
+
*/
|
|
10
|
+
Name: string;
|
|
11
|
+
/**
|
|
12
|
+
* Represent Css classes to Phonebox
|
|
13
|
+
*/
|
|
14
|
+
ExtraClasses: string;
|
|
15
|
+
/** Represent value of the label*/
|
|
16
|
+
LabelValue: string;
|
|
17
|
+
/** Represent Key of the label*/
|
|
18
|
+
LabelKey: string;
|
|
19
|
+
/** Represent value of the labelDescription show under Phonebox*/
|
|
20
|
+
LabelDescription: string;
|
|
21
|
+
/**To set value to Phonebox */
|
|
22
|
+
Value: any;
|
|
23
|
+
/**
|
|
24
|
+
* Display "*" beside the label
|
|
25
|
+
* if ForceAsterisk=true and IsRequired=True his display "*" ,
|
|
26
|
+
* if if ForceAsterisk=false and IsRequired=false this remove "*",
|
|
27
|
+
*if ForceAsterisk=false and IsRequired=True this display "*" ,
|
|
28
|
+
*/
|
|
29
|
+
ShowAsterisk: boolean;
|
|
30
|
+
/** Ability to set Phonebox required */
|
|
31
|
+
IsRequired: boolean;
|
|
32
|
+
/** Sets an attribute disable="disabled" */
|
|
33
|
+
IsDisabled: boolean;
|
|
34
|
+
/** To allow search in country list*/
|
|
35
|
+
AllowSearch: boolean;
|
|
36
|
+
/** Set List of Custom Attribute to Phonebox */
|
|
37
|
+
AttributeList: Attribute[];
|
|
38
|
+
/** Allow to Pass Object With Body of Function which represent CustomValidation and massage for error massage
|
|
39
|
+
*/
|
|
40
|
+
CustomValidation: CustomValidation[];
|
|
41
|
+
/** Ability to display or hide the label of Phonebox */
|
|
42
|
+
HideLabel: boolean;
|
|
43
|
+
/**Allow To Show Placeholder */
|
|
44
|
+
EnablePlaceholder: boolean;
|
|
45
|
+
/**Allow To Select First Country */
|
|
46
|
+
SelectFirstCountry: boolean;
|
|
47
|
+
/**Set Selected Country To Phone Box*/
|
|
48
|
+
SelectedCountryISO: Country;
|
|
49
|
+
/**Allow Phone Validation */
|
|
50
|
+
PhoneValidation: boolean;
|
|
51
|
+
/**Set List Of Countries As Preferred Countries*/
|
|
52
|
+
PreferredCountries: Country[];
|
|
53
|
+
/** to set type of view if Phonebox is Vertical or Horizontal */
|
|
54
|
+
ViewType: ControlLayout;
|
|
55
|
+
ForceDirection: ForceDirection;
|
|
56
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { CustomValidation } from './CustomValidation';
|
|
2
|
+
import { Attribute } from './Attribute';
|
|
3
|
+
import { ControlLayout } from '../Enums/ControlLayout';
|
|
4
|
+
import { ImageType } from '../Enums/ImageType';
|
|
5
|
+
import { EditPersonalImage } from './EditPersonalImage';
|
|
6
|
+
import { SaveDTO } from './SaveDTO';
|
|
7
|
+
import { CancelDTO } from './CancelDTO';
|
|
8
|
+
import { UploadPersonalImage } from './UploadPersonalImage';
|
|
9
|
+
import { ProfilePictureDTO } from './ProfilePictureDTO';
|
|
10
|
+
export declare class ProfileImageUploadOptions {
|
|
11
|
+
/**
|
|
12
|
+
* Represent Name Of Form Control
|
|
13
|
+
*/
|
|
14
|
+
Name: string;
|
|
15
|
+
/**
|
|
16
|
+
* Represent classes to textbox that allow us to select the FileInput by jquery or javascript
|
|
17
|
+
*/
|
|
18
|
+
ExtraClasses: string;
|
|
19
|
+
/** Represent value of the label*/
|
|
20
|
+
LabelValue: string;
|
|
21
|
+
/** Represent Key of the label*/
|
|
22
|
+
LabelKey: string;
|
|
23
|
+
/** Represent value of the labelDescription show under FileInput*/
|
|
24
|
+
LabelDescription: string;
|
|
25
|
+
/**To set value to FileInput */
|
|
26
|
+
Value: ProfilePictureDTO;
|
|
27
|
+
/**
|
|
28
|
+
* Display "*" beside the label
|
|
29
|
+
* if ForceAsterisk=true and IsRequired=True his display "*" ,
|
|
30
|
+
* if if ForceAsterisk=false and IsRequired=false this remove "*",
|
|
31
|
+
*if ForceAsterisk=false and IsRequired=True this display "*" ,
|
|
32
|
+
*/
|
|
33
|
+
ShowAsterisk: boolean;
|
|
34
|
+
/** Ability to set FileInput required */
|
|
35
|
+
IsRequired: boolean;
|
|
36
|
+
/** Ability to display or hide the label of FileInput */
|
|
37
|
+
HideLabel: boolean;
|
|
38
|
+
/** Sets an attribute disable="disabled" */
|
|
39
|
+
IsDisabled: boolean;
|
|
40
|
+
/** Allow to Pass Object With Body of Function which represent CustomValidation and massage for error massage
|
|
41
|
+
*/
|
|
42
|
+
AllowDropZone: boolean;
|
|
43
|
+
CustomValidation: CustomValidation[];
|
|
44
|
+
/** Set List of Custom Attribute to FileInput */
|
|
45
|
+
AttributeList: Attribute[];
|
|
46
|
+
/** Set File MaxSize In MB */
|
|
47
|
+
FileMaxSizeInMB: number;
|
|
48
|
+
/** to set type of view if FileInput is Vertical or Horizontal */
|
|
49
|
+
ViewType: ControlLayout;
|
|
50
|
+
/** Set List of Custom Attribute to FileInput */
|
|
51
|
+
ImageUploadAcceptsTypes: ImageType[];
|
|
52
|
+
/** Set Default Image */
|
|
53
|
+
DefaultImageSrc: string;
|
|
54
|
+
/** Set ImageID Encrypted */
|
|
55
|
+
ImageIDEncrypted: string;
|
|
56
|
+
/** Set EditPersonalImage */
|
|
57
|
+
EditPersonalImageTitle: EditPersonalImage;
|
|
58
|
+
/** Set SaveDTO */
|
|
59
|
+
SaveTitle: SaveDTO;
|
|
60
|
+
/** Set CancelDTO */
|
|
61
|
+
CancelTitle: CancelDTO;
|
|
62
|
+
/** Set UploadPersonalImage */
|
|
63
|
+
UploadPersonalImageTitle: UploadPersonalImage;
|
|
64
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FileDTO } from './FileDTO';
|
|
2
|
+
export declare class ProfilePictureDTO {
|
|
3
|
+
ImageID_GUID: string;
|
|
4
|
+
ImageIDEncrypted: string;
|
|
5
|
+
FileName: string;
|
|
6
|
+
MediumPicture: string;
|
|
7
|
+
SmallPicture: string;
|
|
8
|
+
Original: string;
|
|
9
|
+
profilePicture: FileDTO;
|
|
10
|
+
AvatarPicture: FileDTO;
|
|
11
|
+
OriginalPicture: FileDTO;
|
|
12
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { CustomValidation } from './CustomValidation';
|
|
2
|
+
import { ControlLayout } from '../Enums/ControlLayout';
|
|
3
|
+
import { RadioButtonItem } from './RadioButtonItem';
|
|
4
|
+
export declare class RadioButtonOptions {
|
|
5
|
+
/**
|
|
6
|
+
* Represent Name Of Form Control
|
|
7
|
+
*/
|
|
8
|
+
Name: string;
|
|
9
|
+
/**
|
|
10
|
+
* Represent classes to RadioButton that allow us to select the TextBox by jquery or javascript
|
|
11
|
+
*/
|
|
12
|
+
ExtraClasses: string;
|
|
13
|
+
/**
|
|
14
|
+
* Display validation message only on added repeater when add class "v-required"
|
|
15
|
+
*/
|
|
16
|
+
ValidationClasses: string;
|
|
17
|
+
/** Represent value of the label*/
|
|
18
|
+
LabelValue: string;
|
|
19
|
+
/** Represent Key of the label*/
|
|
20
|
+
LabelKey: string;
|
|
21
|
+
/** Represent value of the labelDescription show under RadioButton*/
|
|
22
|
+
LabelDescription: string;
|
|
23
|
+
/**To set value to textbox */
|
|
24
|
+
Value: RadioButtonItem;
|
|
25
|
+
/**
|
|
26
|
+
* Display "*" beside the label
|
|
27
|
+
* if ForceAsterisk=true and IsRequired=True his display "*" ,
|
|
28
|
+
* if if ForceAsterisk=false and IsRequired=false this remove "*",
|
|
29
|
+
*if ForceAsterisk=false and IsRequired=True this display "*" ,
|
|
30
|
+
*/
|
|
31
|
+
ShowAsterisk: boolean;
|
|
32
|
+
/** Ability to display or hide the label of TextBox */
|
|
33
|
+
HideLabel: boolean;
|
|
34
|
+
ViewType: ControlLayout;
|
|
35
|
+
/** Ability to set RadioButton required */
|
|
36
|
+
IsRequired: boolean;
|
|
37
|
+
/** Sets an attribute disable="disabled" */
|
|
38
|
+
IsDisabled: boolean;
|
|
39
|
+
/** Set List of Custom Attribute to RadioButton */
|
|
40
|
+
Items: RadioButtonItem[];
|
|
41
|
+
/** Allow to Pass Object With Body of Function which represent CustomValidation and massage for error massage
|
|
42
|
+
*/
|
|
43
|
+
CustomValidation: CustomValidation[];
|
|
44
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { ControlLayout } from '../Enums/ControlLayout';
|
|
2
|
+
import { CustomValidation } from './CustomValidation';
|
|
3
|
+
import { ForceDirection } from '../Enums/ForceDirection';
|
|
4
|
+
import { Attribute } from './Attribute';
|
|
5
|
+
import { TagsInputDTO } from './TagsInputDTO';
|
|
6
|
+
export declare class TagsInputOptions {
|
|
7
|
+
/**
|
|
8
|
+
* Represent Name Of Form Control
|
|
9
|
+
*/
|
|
10
|
+
Name: string;
|
|
11
|
+
/**
|
|
12
|
+
* Represent classes to tagsinput that allow us to select the AutoComplete by jquery or javascript
|
|
13
|
+
*/
|
|
14
|
+
ExtraClasses: string;
|
|
15
|
+
/** Represent value of the label*/
|
|
16
|
+
LabelValue: string;
|
|
17
|
+
/** Represent Key of the label*/
|
|
18
|
+
LabelKey: string;
|
|
19
|
+
/** Represent value of the labelDescription show under tagsinput*/
|
|
20
|
+
LabelDescription: string;
|
|
21
|
+
/** Represent value of the Placeholder of tagsinput */
|
|
22
|
+
Placeholder: string;
|
|
23
|
+
/**To set value to tagsinput */
|
|
24
|
+
Value: TagsInputDTO[];
|
|
25
|
+
MaxLength?: number;
|
|
26
|
+
/**Set the MinLength of characters In AutoComplete */
|
|
27
|
+
MinLength?: number;
|
|
28
|
+
MaxWordCount: number;
|
|
29
|
+
/**Prevent AutoComplete of tagsinput*/
|
|
30
|
+
AutoComplete: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Display "*" beside the label
|
|
33
|
+
* if ForceAsterisk=true and IsRequired=True his display "*" ,
|
|
34
|
+
* if if ForceAsterisk=false and IsRequired=false this remove "*",
|
|
35
|
+
*if ForceAsterisk=false and IsRequired=True this display "*" ,
|
|
36
|
+
*/
|
|
37
|
+
ShowAsterisk: boolean;
|
|
38
|
+
/** Ability to set AutoComplete required */
|
|
39
|
+
IsRequired: boolean;
|
|
40
|
+
/** Ability to display or hide the label of AutoComplete */
|
|
41
|
+
HideLabel: boolean;
|
|
42
|
+
/** Sets an attribute disable="disabled" */
|
|
43
|
+
IsDisabled: boolean;
|
|
44
|
+
/** text input on change */
|
|
45
|
+
TrimTextOnChange: boolean;
|
|
46
|
+
/** add button to for coping to clipboard */
|
|
47
|
+
EnableCopyToClipboard: boolean;
|
|
48
|
+
/**Prevent Defulat Password Validation to set Custom Validation */
|
|
49
|
+
RemoveDefulatPasswordValidation: boolean;
|
|
50
|
+
/** to set type of view if tagsinput is Vertical or Horizontal */
|
|
51
|
+
ViewType: ControlLayout;
|
|
52
|
+
/** Allow to Pass Object With Body of Function which represent CustomValidation and massage for error massage
|
|
53
|
+
*/
|
|
54
|
+
CustomValidation: CustomValidation[];
|
|
55
|
+
/** to set Direction of tagsinput if tagsinput is Arabic or English */
|
|
56
|
+
ForceDirection: ForceDirection;
|
|
57
|
+
/** Set List of Custom Attribute to AutoComplete */
|
|
58
|
+
AttributeList: Attribute[];
|
|
59
|
+
/**the url of a remote server that supports jsonp calls */
|
|
60
|
+
ActionURL: string;
|
|
61
|
+
/**Remove Last When User Click On Backspace */
|
|
62
|
+
RemoveLastOnBackspace: boolean;
|
|
63
|
+
/** Allow User To Delete Tags */
|
|
64
|
+
CanDeleteTags: boolean;
|
|
65
|
+
/** Allow User To Add Tags */
|
|
66
|
+
CanAddTags: boolean;
|
|
67
|
+
/** Set Max Number Of Tags That User Can Be Select */
|
|
68
|
+
MaxNumberTags: number;
|
|
69
|
+
/** Set Min Length Of Char To Call Search Function */
|
|
70
|
+
MinSearchLength: number;
|
|
71
|
+
/**Allow Scrolle Option In Dropdown */
|
|
72
|
+
ScrollableOptions: boolean;
|
|
73
|
+
/** Set Max Number Of Tags That will Be Appear ON Dropdown */
|
|
74
|
+
MaxSearchResultsCount: number;
|
|
75
|
+
/**Value Name Of Tag Option In Dropdown */
|
|
76
|
+
DatasourceItemValue: string;
|
|
77
|
+
/**Text Of Tag That Will Show In Dropdown */
|
|
78
|
+
DatasourceItemText: string;
|
|
79
|
+
/**Text Show when none of the given options match the entered text */
|
|
80
|
+
NoResultText: string;
|
|
81
|
+
/**Set Query Param Name By Default It's 'query'*/
|
|
82
|
+
QueryParamName: string;
|
|
83
|
+
/**Set Query Param Name By Default It's 'query'*/
|
|
84
|
+
SelectedItemsParamName: string;
|
|
85
|
+
/**Set Filter Param Name By Default It's 'query'*/
|
|
86
|
+
FilterParamName: string;
|
|
87
|
+
DefaultImgUrl: string;
|
|
88
|
+
/** allow add value of TagInput dosn't exist in list*/
|
|
89
|
+
AllowNewSelection: boolean;
|
|
90
|
+
ValidationToken: string;
|
|
91
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { CustomValidation } from './CustomValidation';
|
|
2
|
+
import { ControlLayout } from '../Enums/ControlLayout';
|
|
3
|
+
import { ForceDirection } from '../Enums/ForceDirection';
|
|
4
|
+
import { Attribute } from './Attribute';
|
|
5
|
+
export declare class TextAreaOptions {
|
|
6
|
+
/**
|
|
7
|
+
* Represent Name Of Form Control
|
|
8
|
+
*/
|
|
9
|
+
Name: string;
|
|
10
|
+
/**
|
|
11
|
+
* Represent classes to textbox that allow us to select the TextArea by jquery or javascript
|
|
12
|
+
*/
|
|
13
|
+
ExtraClasses: string;
|
|
14
|
+
/** Represent value of the label*/
|
|
15
|
+
LabelValue: string;
|
|
16
|
+
/** Represent Key of the label*/
|
|
17
|
+
LabelKey: string;
|
|
18
|
+
/** Represent value of the labelDescription show under TextArea*/
|
|
19
|
+
LabelDescription: string;
|
|
20
|
+
/** Represent value of the Placeholder of TextArea */
|
|
21
|
+
Placeholder: string;
|
|
22
|
+
/**To set value to TextArea */
|
|
23
|
+
Value: string;
|
|
24
|
+
MaxLength?: number;
|
|
25
|
+
/**Set the MinLength of characters In TextArea */
|
|
26
|
+
MinLength?: number;
|
|
27
|
+
/**Set Number Of Rows */
|
|
28
|
+
Rows: number;
|
|
29
|
+
/**Set Number Of columns */
|
|
30
|
+
Cols: number;
|
|
31
|
+
MaxWordCount: number;
|
|
32
|
+
/**Prevent AutoComplete of TextArea*/
|
|
33
|
+
AutoComplete: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Display "*" beside the label
|
|
36
|
+
* if ForceAsterisk=true and IsRequired=True his display "*" ,
|
|
37
|
+
* if if ForceAsterisk=false and IsRequired=false this remove "*",
|
|
38
|
+
*if ForceAsterisk=false and IsRequired=True this display "*" ,
|
|
39
|
+
*/
|
|
40
|
+
ShowAsterisk: boolean;
|
|
41
|
+
/** Ability to set TextArea required */
|
|
42
|
+
IsRequired: boolean;
|
|
43
|
+
/** Ability to display or hide the label of TextArea */
|
|
44
|
+
HideLabel: boolean;
|
|
45
|
+
/** Sets an attribute disable="disabled" */
|
|
46
|
+
IsDisabled: boolean;
|
|
47
|
+
/** text input on change */
|
|
48
|
+
TrimTextOnChange: boolean;
|
|
49
|
+
/** add button to for coping to clipboard */
|
|
50
|
+
EnableCopyToClipboard: boolean;
|
|
51
|
+
/** to set type of view if TextArea is Vertical or Horizontal */
|
|
52
|
+
ViewType: ControlLayout;
|
|
53
|
+
/** Allow to Pass Object With Body of Function which represent CustomValidation and massage for error massage
|
|
54
|
+
*/
|
|
55
|
+
CustomValidation: CustomValidation[];
|
|
56
|
+
/** to set Direction of TextArea if TextArea is Arabic or English */
|
|
57
|
+
ForceDirection: ForceDirection;
|
|
58
|
+
/** Set List of Custom Attribute to TextArea */
|
|
59
|
+
AttributeList: Attribute[];
|
|
60
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { InputType } from '../Enums/InputType';
|
|
2
|
+
import { CustomValidation } from './CustomValidation';
|
|
3
|
+
import { ControlLayout } from '../Enums/ControlLayout';
|
|
4
|
+
import { RangeNumber } from './RangeNumber';
|
|
5
|
+
import { ForceDirection } from '../Enums/ForceDirection';
|
|
6
|
+
import { Attribute } from './Attribute';
|
|
7
|
+
import { IconPosition } from '../Enums/IconPosition';
|
|
8
|
+
export declare class TextBoxOptions {
|
|
9
|
+
/**
|
|
10
|
+
* Represent Name Of Form Control
|
|
11
|
+
*/
|
|
12
|
+
Name: string;
|
|
13
|
+
/**
|
|
14
|
+
* Represent classes to textbox that allow us to select the TextBox by jquery or javascript
|
|
15
|
+
*/
|
|
16
|
+
ExtraClasses: string;
|
|
17
|
+
/** Represent value of the label*/
|
|
18
|
+
LabelValue: string;
|
|
19
|
+
/** Represent Key of the label*/
|
|
20
|
+
LabelKey: string;
|
|
21
|
+
/** Represent value of the labelDescription show under textbox*/
|
|
22
|
+
LabelDescription: string;
|
|
23
|
+
/** Represent value of the Placeholder of textbox */
|
|
24
|
+
Placeholder: string;
|
|
25
|
+
/**To set value to textbox */
|
|
26
|
+
Value: any;
|
|
27
|
+
MaxLength?: number;
|
|
28
|
+
/**Set the MinLength of characters In TextBox */
|
|
29
|
+
MinLength?: number;
|
|
30
|
+
MaxWordCount: number;
|
|
31
|
+
/** set Range Number to Textbox with type number with From-Value and To-value*/
|
|
32
|
+
NumberRange: RangeNumber;
|
|
33
|
+
/**Prevent AutoComplete of textbox*/
|
|
34
|
+
AutoComplete: string;
|
|
35
|
+
/**
|
|
36
|
+
* Display "*" beside the label
|
|
37
|
+
* if ForceAsterisk=true and IsRequired=True his display "*" ,
|
|
38
|
+
* if ForceAsterisk=false and IsRequired=false this remove "*",
|
|
39
|
+
*if ForceAsterisk=false and IsRequired=True this display "*" ,
|
|
40
|
+
*/
|
|
41
|
+
ShowAsterisk: boolean;
|
|
42
|
+
/** Ability to set TextBox required */
|
|
43
|
+
IsRequired: boolean;
|
|
44
|
+
/** Ability to display or hide the label of TextBox */
|
|
45
|
+
HideLabel: boolean;
|
|
46
|
+
/** Sets an attribute disable="disabled" */
|
|
47
|
+
IsDisabled: boolean;
|
|
48
|
+
/** text input on change */
|
|
49
|
+
TrimTextOnChange: boolean;
|
|
50
|
+
/** add button to for coping to clipboard */
|
|
51
|
+
EnableCopyToClipboard: boolean;
|
|
52
|
+
/**Prevent Defulat Password Validation to set Custom Validation */
|
|
53
|
+
RemoveDefaultPasswordValidation: boolean;
|
|
54
|
+
/** to set type of view if textbox is Vertical or Horizontal */
|
|
55
|
+
ViewType: ControlLayout;
|
|
56
|
+
/** Allow to Pass Object With Body of Function which represent CustomValidation and massage for error massage
|
|
57
|
+
*/
|
|
58
|
+
CustomValidation: CustomValidation[];
|
|
59
|
+
/** to set Direction of textbox if textbox is Arabic or English */
|
|
60
|
+
ForceDirection: ForceDirection;
|
|
61
|
+
/** Set Type of TextBox ("text","password","email","number") */
|
|
62
|
+
Type: InputType;
|
|
63
|
+
/** Set List of Custom Attribute to TextBox */
|
|
64
|
+
AttributeList: Attribute[];
|
|
65
|
+
/** Set Mask Pattern Attribute to TextBox */
|
|
66
|
+
MaskPattern: string;
|
|
67
|
+
Icon: string;
|
|
68
|
+
IconPosition: IconPosition;
|
|
69
|
+
NoMargin: boolean;
|
|
70
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { CustomValidation } from './CustomValidation';
|
|
2
|
+
import { ControlLayout } from '../Enums/ControlLayout';
|
|
3
|
+
import { ForceDirection } from '../Enums/ForceDirection';
|
|
4
|
+
import { Attribute } from './Attribute';
|
|
5
|
+
export declare class ToggleSlideOptions {
|
|
6
|
+
/**
|
|
7
|
+
* Represent Name Of Form Control
|
|
8
|
+
*/
|
|
9
|
+
Name: string;
|
|
10
|
+
/**
|
|
11
|
+
* Represent classes to ToggleSlide that allow us to select the ToggleSlide by jquery or javascript
|
|
12
|
+
*/
|
|
13
|
+
ExtraClasses: string;
|
|
14
|
+
/**
|
|
15
|
+
* Display validation message only on added repeater when add class "v-required"
|
|
16
|
+
*/
|
|
17
|
+
ValidationClasses: string;
|
|
18
|
+
/** Represent value of the label*/
|
|
19
|
+
LabelValue: string;
|
|
20
|
+
/** Represent Key of the label*/
|
|
21
|
+
LabelKey: string;
|
|
22
|
+
/** Represent value of the labelDescription show under ToggleSlide*/
|
|
23
|
+
LabelDescription: string;
|
|
24
|
+
/**To set value to ToggleSlide */
|
|
25
|
+
Value: boolean;
|
|
26
|
+
/** Sets an attribute disable="disabled" */
|
|
27
|
+
IsDisabled: boolean;
|
|
28
|
+
/** Set List of Custom Attribute to ToggleSlide */
|
|
29
|
+
AttributeList: Attribute[];
|
|
30
|
+
/** Allow to Pass Object With Body of Function which represent CustomValidation and massage for error massage
|
|
31
|
+
*/
|
|
32
|
+
CustomValidation: CustomValidation;
|
|
33
|
+
ViewType: ControlLayout;
|
|
34
|
+
ForceDirection: ForceDirection;
|
|
35
|
+
HideLabel: boolean;
|
|
36
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { CustomValidation } from './CustomValidation';
|
|
2
|
+
import { ControlLayout } from '../Enums/ControlLayout';
|
|
3
|
+
import { ForceDirection } from '../Enums/ForceDirection';
|
|
4
|
+
import { Attribute } from './Attribute';
|
|
5
|
+
import { StartView } from '../Enums/StartView';
|
|
6
|
+
import { PickerType } from '../Enums/PickerType';
|
|
7
|
+
import { SelectMode } from '../Enums/SelectMode';
|
|
8
|
+
export declare class DatePickerOptions {
|
|
9
|
+
/**
|
|
10
|
+
* Represent Name Of Form Control
|
|
11
|
+
*/
|
|
12
|
+
Name: string;
|
|
13
|
+
/**
|
|
14
|
+
* Represent classes to DatePicer that allow us to select the DatePicker by jquery or javascript
|
|
15
|
+
*/
|
|
16
|
+
ExtraClasses: string;
|
|
17
|
+
/** Represent value of the label*/
|
|
18
|
+
LabelValue: string;
|
|
19
|
+
/** Represent Key of the label*/
|
|
20
|
+
LabelKey: string;
|
|
21
|
+
/** Represent value of the labelDescription show under DatePicker*/
|
|
22
|
+
LabelDescription: string;
|
|
23
|
+
/** Represent value of the Placeholder of DatePicker */
|
|
24
|
+
Placeholder: string;
|
|
25
|
+
/**To set value to DatePicker */
|
|
26
|
+
Value: Date;
|
|
27
|
+
/**To set StartDate to DatePicker */
|
|
28
|
+
StartDate: Date;
|
|
29
|
+
/**To set EndDate to DatePicker */
|
|
30
|
+
EndDate: Date;
|
|
31
|
+
/**
|
|
32
|
+
* Display "*" beside the label
|
|
33
|
+
* if ForceAsterisk=true and IsRequired=True his display "*" ,
|
|
34
|
+
* if if ForceAsterisk=false and IsRequired=false this remove "*",
|
|
35
|
+
*if ForceAsterisk=false and IsRequired=True this display "*" ,
|
|
36
|
+
*/
|
|
37
|
+
ShowAsterisk: boolean;
|
|
38
|
+
/** Ability to set DatePicker required */
|
|
39
|
+
IsRequired: boolean;
|
|
40
|
+
/** Ability to display or hide the label of DatePicker */
|
|
41
|
+
HideLabel: boolean;
|
|
42
|
+
/** Sets an attribute disable="disabled" */
|
|
43
|
+
IsDisabled: boolean;
|
|
44
|
+
/** add button to for coping to clipboard */
|
|
45
|
+
EnableCopyToClipboard: boolean;
|
|
46
|
+
/** to set type of view if DatePicker is Vertical or Horizontal */
|
|
47
|
+
ViewType: ControlLayout;
|
|
48
|
+
/** Allow to Pass Object With Body of Function which represent CustomValidation and massage for error massage
|
|
49
|
+
*/
|
|
50
|
+
CustomValidation: CustomValidation[];
|
|
51
|
+
IsGMT: boolean;
|
|
52
|
+
/**To set First Day Of Week to DatePicker */
|
|
53
|
+
FirstDayOfWeek: Number;
|
|
54
|
+
/**To set Hour12Timer to DatePicker is 12 Hour or 24 Hour*/
|
|
55
|
+
Hour12Timer: boolean;
|
|
56
|
+
/**To set PickerType to DatePicker is Calendar or Timer Or Both */
|
|
57
|
+
PickerType: PickerType;
|
|
58
|
+
/**To set StartView to DatePicker is Year or Month Or Multi-Year */
|
|
59
|
+
StartView: StartView;
|
|
60
|
+
/**To set SelectMode to DatePicker is Single or Range */
|
|
61
|
+
SelectMode: SelectMode;
|
|
62
|
+
/**To set AttributeList to DatePicker */
|
|
63
|
+
AttributeList: Attribute[];
|
|
64
|
+
ForceDirection: ForceDirection;
|
|
65
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const environment: any;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { CustomValidation } from '../Models/CustomValidation';
|
|
2
|
+
import { ErrorMassageValidation } from './validationErrorMassage.service';
|
|
3
|
+
import { ValidationErrors, ValidatorFn, AbstractControl } from '@angular/forms';
|
|
4
|
+
import { ControlValidationService } from '@bnsights/bbsf-utilities';
|
|
5
|
+
export declare class ControlUtility {
|
|
6
|
+
private ErrorHandler;
|
|
7
|
+
private controlValidationService;
|
|
8
|
+
constructor(ErrorHandler: ErrorMassageValidation, controlValidationService: ControlValidationService);
|
|
9
|
+
getErrorValidation(Errorsitem: any[], CustomValidation?: CustomValidation): string;
|
|
10
|
+
patternValidator(regex: RegExp, error: ValidationErrors): ValidatorFn;
|
|
11
|
+
getInputType(type: number): string;
|
|
12
|
+
trimControlValue(value: any): any;
|
|
13
|
+
CopyInputMessage(inputElement: any): void;
|
|
14
|
+
getErrorValidationMassage(ErrorList: any, group: any, options: any): string;
|
|
15
|
+
scrollToGlobalErrorMassage(): void;
|
|
16
|
+
setAttributeForControl(options: any): void;
|
|
17
|
+
showGlobalError(): void;
|
|
18
|
+
RemoveRequiredValidation(FormControl: AbstractControl, ValidationRole: any[], Options: any): void;
|
|
19
|
+
AddRequiredValidation(FormControl: AbstractControl, ValidationRole: any[], Options: any): void;
|
|
20
|
+
RemoveCustomValidation(FormControl: AbstractControl, ValidationRole: any[], CustomValidation: CustomValidation): void;
|
|
21
|
+
AddCustomValidation(FormControl: AbstractControl, ValidationRole: any[], CustomValidation: CustomValidation): void;
|
|
22
|
+
IsValid(FormControl: AbstractControl): void;
|
|
23
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Http } from '@angular/http';
|
|
2
|
+
import { ControlContainer } from '@angular/forms';
|
|
3
|
+
import { UtilityService } from '@bnsights/bbsf-utilities';
|
|
4
|
+
export declare class ErrorMassageValidation {
|
|
5
|
+
private http;
|
|
6
|
+
private controlContainer;
|
|
7
|
+
private utilityService;
|
|
8
|
+
static controlContainerstatic: any;
|
|
9
|
+
constructor(http: Http, controlContainer: ControlContainer, utilityService: UtilityService);
|
|
10
|
+
url: string;
|
|
11
|
+
static showerror(FormControlName: string): void;
|
|
12
|
+
getErrorMassageValidation(error: any): string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { FormGroup, AbstractControl, ControlContainer, FormGroupDirective } from '@angular/forms';
|
|
3
|
+
import { ErrorMassageValidation } from '../../Shared/services/validationErrorMassage.service';
|
|
4
|
+
import { ControlUtility } from '../../Shared/services/ControlUtility';
|
|
5
|
+
import { AutocompleteOptions } from '../../Shared/Models/AutocompleteOptions';
|
|
6
|
+
import { Observable } from 'rxjs';
|
|
7
|
+
import { HttpClient } from '@angular/common/http';
|
|
8
|
+
import { BBSFTranslateService, ControlValidationService, UtilityService } from '@bnsights/bbsf-utilities';
|
|
9
|
+
export declare class AutocompleteTextBoxComponent implements OnInit {
|
|
10
|
+
private http;
|
|
11
|
+
private ErrorHandler;
|
|
12
|
+
private controlUtility;
|
|
13
|
+
private controlContainer;
|
|
14
|
+
AutocompleteTextBoxControlHost: FormGroupDirective;
|
|
15
|
+
private UtilityService;
|
|
16
|
+
private translate;
|
|
17
|
+
private controlValidationService;
|
|
18
|
+
static controlContainerstatic: any;
|
|
19
|
+
constructor(http: HttpClient, ErrorHandler: ErrorMassageValidation, controlUtility: ControlUtility, controlContainer: ControlContainer, AutocompleteTextBoxControlHost: FormGroupDirective, UtilityService: UtilityService, translate: BBSFTranslateService, controlValidationService: ControlValidationService);
|
|
20
|
+
group: FormGroup;
|
|
21
|
+
options: AutocompleteOptions;
|
|
22
|
+
OnChange: EventEmitter<any>;
|
|
23
|
+
keyword: string;
|
|
24
|
+
AutocompleteTextBoxControl: AbstractControl;
|
|
25
|
+
Search: string;
|
|
26
|
+
Key: string;
|
|
27
|
+
Api: string;
|
|
28
|
+
Value: string;
|
|
29
|
+
NewSelectionValidationKey: string;
|
|
30
|
+
markAllAsTouched: boolean;
|
|
31
|
+
validationRules: any[];
|
|
32
|
+
validationRulesasync: any[];
|
|
33
|
+
dataSource: Observable<any>;
|
|
34
|
+
suggestions$: Observable<any[]>;
|
|
35
|
+
errorMessage: string;
|
|
36
|
+
dataList: any[];
|
|
37
|
+
SelectedValue: string;
|
|
38
|
+
ngOnInit(): void;
|
|
39
|
+
ngAfterViewInit(): void;
|
|
40
|
+
resetError: () => void;
|
|
41
|
+
showGlobalError(): void;
|
|
42
|
+
getErrorValidation(ErrorList: any): string;
|
|
43
|
+
copyInputMessage(inputElement: any): void;
|
|
44
|
+
selectEvent(item: any): void;
|
|
45
|
+
onChangeSearch(search: string): Promise<void>;
|
|
46
|
+
RemoveRequiredValidation: () => void;
|
|
47
|
+
AddRequiredValidation: () => void;
|
|
48
|
+
RemoveCustomValidation: (CustomValidation: any) => void;
|
|
49
|
+
AddCustomValidation: (CustomValidation: any) => void;
|
|
50
|
+
IsValid: () => void;
|
|
51
|
+
}
|