@bnsights/bbsf-controls 1.0.110 → 1.0.112
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 +8 -0
- package/esm2022/lib/Shared/Components/app-base-component.mjs +7 -7
- package/esm2022/lib/Shared/Enums/StartView.mjs +1 -1
- package/esm2022/lib/Shared/Enums/map-enums.mjs +7 -0
- package/esm2022/lib/Shared/Models/AutocompleteOptions.mjs +9 -9
- package/esm2022/lib/Shared/Models/CalendarOptions.mjs +7 -7
- 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/FileUploadModel.mjs +1 -1
- package/esm2022/lib/Shared/Models/FileUploadOptions.mjs +3 -3
- 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 +5 -1
- 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/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/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 +90 -97
- package/esm2022/lib/controls/DropdownList/DropdownList.component.mjs +74 -74
- package/esm2022/lib/controls/FileUplaod/FileUplaod.component.mjs +155 -155
- 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 +113 -113
- package/esm2022/lib/controls/MapAutoComplete/MapAutoComplete.component.mjs +322 -246
- 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 +85 -85
- package/esm2022/lib/controls/Phone/Phone.component.mjs +42 -42
- package/esm2022/lib/controls/ProfileImageUploader/ProfileImageUploader.component.mjs +112 -112
- 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 +13 -24
- package/esm2022/lib/controls/page-header-component/page-header-component.component.mjs +4 -4
- package/esm2022/public-api.mjs +8 -10
- package/fesm2022/bnsights-bbsf-controls.mjs +3060 -2989
- package/fesm2022/bnsights-bbsf-controls.mjs.map +1 -1
- package/lib/Shared/Enums/map-enums.d.ts +5 -0
- package/lib/Shared/Models/AutocompleteOptions.d.ts +20 -20
- package/lib/Shared/Models/CalendarOptions.d.ts +10 -10
- 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/FileUploadModel.d.ts +1 -1
- package/lib/Shared/Models/FileUploadOptions.d.ts +8 -8
- 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 +2 -1
- 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/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/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 +20 -24
- package/lib/controls/DropdownList/DropdownList.component.d.ts +13 -13
- package/lib/controls/FileUplaod/FileUplaod.component.d.ts +11 -11
- 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 +31 -13
- 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 +9 -9
- 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 +4 -2
- package/package.json +7 -2
- package/public-api.d.ts +5 -4
- package/src/lib/assets/Style-rtl.scss +46 -28
- package/src/lib/assets/images/marker-pin.svg +4 -0
- package/src/lib/assets/sass/base.scss +73 -21
- package/esm2022/lib/Shared/Models/datePickerOptions.mjs +0 -23
- package/esm2022/lib/controls/Toggleslide/toggleslide.component.mjs +0 -90
|
@@ -2,55 +2,55 @@ import { FilterItem } from './FilterItem';
|
|
|
2
2
|
import { ForceDirection } from '../Enums/ForceDirection';
|
|
3
3
|
export declare class PagingOptions<T = any> {
|
|
4
4
|
/**URL of the action that will be called on update*/
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
actionPostURL: string;
|
|
6
|
+
validationToken: string;
|
|
7
7
|
/** Comma separater list of parameters that need to be passed to the updated function, the parameter name must be the ID of the element that holds the value of the filter.
|
|
8
8
|
* ex "searchText,fromDateTimePicker" we should have now an input with id searchText and a datetime picker with id fromDateTimePicker*/
|
|
9
|
-
|
|
9
|
+
filters: FilterItem[];
|
|
10
10
|
/**The total count for the items in the datasource */
|
|
11
|
-
|
|
11
|
+
totalCount: number;
|
|
12
12
|
/** No of items in one page
|
|
13
13
|
* Default is 10
|
|
14
14
|
*/
|
|
15
|
-
|
|
15
|
+
pageSize: number;
|
|
16
16
|
/**Typeahead search input, used to attach on change events to the search input to refresh the paging after change */
|
|
17
|
-
|
|
17
|
+
typeaheadSearchControlNames: string[];
|
|
18
18
|
/**Comma separater list of Dropdowns filters , used to attach on change events to the dropdown filter to refresh the paging after change */
|
|
19
|
-
|
|
19
|
+
dropdownFiltersControlNames: string[];
|
|
20
20
|
/**Comma separater list of Bootstrap datepicker filters, used to attach on change events to the datepicker filter to refresh the paging after change */
|
|
21
|
-
|
|
21
|
+
bootstrapDatePickersFiltersControlNames: string[];
|
|
22
22
|
/**Comma separater list of any button/element filters to attach on click event, this will refresh the paging after the event is fired */
|
|
23
|
-
|
|
23
|
+
onClickFiltersControlNames: string[];
|
|
24
24
|
/** Comma separater list of any button/element filters to attach on keypress/Enter event, this will refresh the paging after the event is fired */
|
|
25
|
-
|
|
25
|
+
onKeyPressFiltersControlNames: string[];
|
|
26
26
|
/** The js function name to be called to update the paging total count and keep the current page as is, have to pass the new total count of the datasource items
|
|
27
27
|
* Default value is Paging_Update fill this parameter in case there are multiple paging controls */
|
|
28
|
-
|
|
28
|
+
updateFunctionName: string;
|
|
29
29
|
/** The js function name to be called to reinitialize the paging component with a new items count and reset the curent page to 1, you must pass the new total count of the datasource items
|
|
30
30
|
* Default value is Paging_Reinitialize fill this parameter in case there are multiple paging controls*/
|
|
31
|
-
|
|
31
|
+
reinitializeFunctionName: string;
|
|
32
32
|
/**Show a dropdown to be able to change the page size */
|
|
33
|
-
|
|
33
|
+
showPageSizeOption: boolean;
|
|
34
34
|
/**js function name to be called when a page is updated */
|
|
35
|
-
|
|
35
|
+
onSuccessCallBackJSFunction: string;
|
|
36
36
|
/** bool to set block ui by container rather than the whole window */
|
|
37
|
-
|
|
37
|
+
blockUIByContainer: boolean;
|
|
38
38
|
/**hide Pagination When Page Size Equal One */
|
|
39
|
-
|
|
39
|
+
hidePaginationWhenPageSizeEqualOne: boolean;
|
|
40
40
|
/**Show First And Last */
|
|
41
|
-
|
|
41
|
+
showFirstAndLast: boolean;
|
|
42
42
|
/**Show Load More Button And Hide Paging */
|
|
43
|
-
|
|
43
|
+
isLoadMoreControl: boolean;
|
|
44
44
|
/** Load More items While Scrolling */
|
|
45
|
-
|
|
45
|
+
isInfiniteScroll: boolean;
|
|
46
46
|
/**should get a html element or css selector for a scrollable element; window or current element will be used if this attribute is empty. */
|
|
47
|
-
|
|
47
|
+
infiniteScrollContainer: any;
|
|
48
48
|
/**listens to the window scroll instead of the actual element scroll. this allows to invoke a callback function in the scope of the element while listenning to the window scroll. */
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
scrollWindow: boolean;
|
|
50
|
+
forceDirection: ForceDirection;
|
|
51
51
|
TypeOfResponse?: new () => T;
|
|
52
52
|
/** Clear Filter button selector */
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
53
|
+
resetFilterButtonName: string;
|
|
54
|
+
disableBlockUI: boolean;
|
|
55
|
+
startPagingCallback: Function;
|
|
56
56
|
}
|
|
@@ -3,19 +3,19 @@ import { ForceDirection } from '../Enums/ForceDirection';
|
|
|
3
3
|
import { ControlOptionsBase } from './ControlOptionsBase';
|
|
4
4
|
export declare class PhoneOptions extends ControlOptionsBase {
|
|
5
5
|
/**To set value to Phonebox */
|
|
6
|
-
|
|
6
|
+
value: any;
|
|
7
7
|
/** To allow search in country list*/
|
|
8
|
-
|
|
8
|
+
allowSearch: boolean;
|
|
9
9
|
/**Allow To Show Placeholder */
|
|
10
|
-
|
|
10
|
+
enablePlaceholder: boolean;
|
|
11
11
|
/**Allow To Select First Country */
|
|
12
|
-
|
|
12
|
+
selectFirstCountry: boolean;
|
|
13
13
|
/**Set Selected Country To Phone Box*/
|
|
14
|
-
|
|
14
|
+
selectedCountryISO: Country;
|
|
15
15
|
/**Allow Phone Validation */
|
|
16
|
-
|
|
16
|
+
phoneValidation: boolean;
|
|
17
17
|
/**Set List Of Countries As Preferred Countries*/
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
preferredCountries: Country[];
|
|
19
|
+
onlyCountries: Country[];
|
|
20
|
+
forceDirection: ForceDirection;
|
|
21
21
|
}
|
|
@@ -7,22 +7,22 @@ import { ProfilePictureDTO } from './ProfilePictureDTO';
|
|
|
7
7
|
import { ControlOptionsBase } from './ControlOptionsBase';
|
|
8
8
|
export declare class ProfileImageUploadOptions extends ControlOptionsBase {
|
|
9
9
|
/**To set value to FileInput */
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
value: ProfilePictureDTO;
|
|
11
|
+
allowDropZone: boolean;
|
|
12
12
|
/** Set File MaxSize In MB */
|
|
13
|
-
|
|
13
|
+
fileMaxSizeInMB: number;
|
|
14
14
|
/** Set List of Custom Attribute to FileInput */
|
|
15
|
-
|
|
15
|
+
imageUploadAcceptsTypes: ImageType[];
|
|
16
16
|
/** Set Default Image */
|
|
17
|
-
|
|
17
|
+
defaultImageSrc: string;
|
|
18
18
|
/** Set ImageID Encrypted */
|
|
19
|
-
|
|
19
|
+
imageIDEncrypted: string;
|
|
20
20
|
/** Set EditPersonalImage */
|
|
21
|
-
|
|
21
|
+
editPersonalImageTitle: EditPersonalImage;
|
|
22
22
|
/** Set SaveDTO */
|
|
23
|
-
|
|
23
|
+
saveTitle: SaveDTO;
|
|
24
24
|
/** Set CancelDTO */
|
|
25
|
-
|
|
25
|
+
cancelTitle: CancelDTO;
|
|
26
26
|
/** Set UploadPersonalImage */
|
|
27
|
-
|
|
27
|
+
uploadPersonalImageTitle: UploadPersonalImage;
|
|
28
28
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { FileDTO } from './FileDTO';
|
|
2
2
|
export declare class ProfilePictureDTO {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
imageID_GUID: string;
|
|
4
|
+
imageIDEncrypted: string;
|
|
5
|
+
fileName: string;
|
|
6
|
+
mediumPicture: string;
|
|
7
|
+
smallPicture: string;
|
|
8
|
+
original: string;
|
|
9
9
|
profilePicture: FileDTO;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
avatarPicture: FileDTO;
|
|
11
|
+
originalPicture: FileDTO;
|
|
12
|
+
fileURL?: string;
|
|
13
13
|
}
|
|
@@ -2,7 +2,7 @@ import { ControlOptionsBase } from './ControlOptionsBase';
|
|
|
2
2
|
import { RadioButtonItem } from './RadioButtonItem';
|
|
3
3
|
export declare class RadioButtonOptions extends ControlOptionsBase {
|
|
4
4
|
/**To set value to RadioButton */
|
|
5
|
-
|
|
5
|
+
value: RadioButtonItem;
|
|
6
6
|
/** Set List of Custom Attribute to RadioButton */
|
|
7
|
-
|
|
7
|
+
items: RadioButtonItem[];
|
|
8
8
|
}
|
|
@@ -3,16 +3,16 @@ import { ControlOptionsBase } from './ControlOptionsBase';
|
|
|
3
3
|
import { RecaptchaModel } from './Recaptcha';
|
|
4
4
|
export declare class RecaptchaOptions extends ControlOptionsBase {
|
|
5
5
|
/**To set value to Control */
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
value: RecaptchaModel;
|
|
7
|
+
forceDirection: ForceDirection;
|
|
8
8
|
/**Prevent AutoComplete of control default value is "on" available values "on" and "off"*/
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
autoComplete: string;
|
|
10
|
+
noMargin: boolean;
|
|
11
11
|
/**the url of a remote server that supports jsonp calls */
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
12
|
+
actionURL: string;
|
|
13
|
+
backgroundColorPrimary: string;
|
|
14
|
+
backgroundColorSecondary: string;
|
|
15
|
+
textColorPrimary: string;
|
|
16
|
+
textColorSecondary: string;
|
|
17
|
+
fontSize: number;
|
|
18
18
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DataType } from "../Enums/Enums";
|
|
2
2
|
export declare class RepeaterField {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
headerTitle: string;
|
|
4
|
+
controlType: DataType;
|
|
5
|
+
controlOptions: any;
|
|
6
|
+
isHiddenInput: boolean;
|
|
7
7
|
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { RepeaterField } from "./RepeaterField";
|
|
2
2
|
export declare class RepeaterOptions {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
3
|
+
isRequired: boolean;
|
|
4
|
+
minRequiredItems: number;
|
|
5
|
+
extraClasses: string;
|
|
6
|
+
name: string;
|
|
7
|
+
actionLabelKey: string;
|
|
8
|
+
addButtonExtraClasses: string;
|
|
9
|
+
repeaterTableExtraClasses: string;
|
|
10
|
+
repeaterTableRowExtraClasses: string;
|
|
11
|
+
addButtonText: string;
|
|
12
|
+
deleteButtonExtraClasses: string;
|
|
13
|
+
deleteButtonText: string;
|
|
14
|
+
repeaterValue: any[];
|
|
15
|
+
repeaterStructure: RepeaterField[];
|
|
16
|
+
disableAddButton: boolean;
|
|
17
|
+
disableDeleteButton: boolean;
|
|
18
|
+
isReadonly: boolean;
|
|
19
19
|
}
|
|
@@ -3,55 +3,55 @@ import { ControlOptionsBase } from './ControlOptionsBase';
|
|
|
3
3
|
import { TagInputView } from '../Enums/TagInputView';
|
|
4
4
|
export declare class TagsInputOptions extends ControlOptionsBase {
|
|
5
5
|
/**To set value to Control */
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
value: any;
|
|
7
|
+
maxLength?: number;
|
|
8
8
|
/**Set the MinLength of characters In AutoComplete */
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
minLength?: number;
|
|
10
|
+
maxWordCount: number;
|
|
11
11
|
/**Prevent AutoComplete of tagsinput*/
|
|
12
|
-
|
|
12
|
+
autoComplete: boolean;
|
|
13
13
|
/** text input on change */
|
|
14
|
-
|
|
14
|
+
trimTextOnChange: boolean;
|
|
15
15
|
/** add button to for coping to clipboard */
|
|
16
|
-
|
|
16
|
+
enableCopyToClipboard: boolean;
|
|
17
17
|
/**Prevent Defulat Password Validation to set Custom Validation */
|
|
18
|
-
|
|
18
|
+
removeDefulatPasswordValidation: boolean;
|
|
19
19
|
/** to set Direction of tagsinput if tagsinput is Arabic or English */
|
|
20
|
-
|
|
20
|
+
forceDirection: ForceDirection;
|
|
21
21
|
/**the url of a remote server that supports jsonp calls */
|
|
22
|
-
|
|
22
|
+
actionURL: string;
|
|
23
23
|
/**Remove Last When User Click On Backspace */
|
|
24
|
-
|
|
24
|
+
removeLastOnBackspace: boolean;
|
|
25
25
|
/** Allow User To Delete Tags */
|
|
26
|
-
|
|
26
|
+
canDeleteTags: boolean;
|
|
27
27
|
/** Allow User To Add Tags */
|
|
28
|
-
|
|
28
|
+
canAddTags: boolean;
|
|
29
29
|
/** Set Max Number Of Tags That User Can Be Select */
|
|
30
|
-
|
|
30
|
+
maxNumberTags: number;
|
|
31
31
|
/** Set Min Length Of Char To Call Search Function */
|
|
32
|
-
|
|
32
|
+
minSearchLength: number;
|
|
33
33
|
/**Allow Scrolle Option In Dropdown */
|
|
34
|
-
|
|
34
|
+
scrollableOptions: boolean;
|
|
35
35
|
/** Set Max Number Of Tags That will Be Appear ON Dropdown */
|
|
36
|
-
|
|
36
|
+
maxSearchResultsCount: number;
|
|
37
37
|
/**Value Name Of Tag Option In Dropdown */
|
|
38
|
-
|
|
38
|
+
datasourceItemValue: string;
|
|
39
39
|
/**Text Of Tag That Will Show In Dropdown */
|
|
40
|
-
|
|
40
|
+
datasourceItemText: string;
|
|
41
41
|
/**Text Show when none of the given options match the entered text */
|
|
42
|
-
|
|
42
|
+
noResultText: string;
|
|
43
43
|
/**Set Query Param Name By Default It's 'query'*/
|
|
44
|
-
|
|
44
|
+
queryParamName: string;
|
|
45
45
|
/**Set Query Param Name By Default It's 'query'*/
|
|
46
|
-
|
|
46
|
+
selectedItemsParamName: string;
|
|
47
47
|
/**Set Filter Param Name By Default It's 'query'*/
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
filterParamName: string;
|
|
49
|
+
defaultImgUrl: string;
|
|
50
50
|
/** allow add value of TagInput dosn't exist in list*/
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
allowNewSelection: boolean;
|
|
52
|
+
validationToken: string;
|
|
53
53
|
/**Set Extra Filters*/
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
extraFilters: string;
|
|
55
|
+
tagInputMode: TagInputView;
|
|
56
|
+
showDescription: boolean;
|
|
57
57
|
}
|
|
@@ -2,22 +2,22 @@ import { ForceDirection } from '../Enums/ForceDirection';
|
|
|
2
2
|
import { ControlOptionsBase } from './ControlOptionsBase';
|
|
3
3
|
export declare class TextAreaOptions extends ControlOptionsBase {
|
|
4
4
|
/**To set value to Control */
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
value: any;
|
|
6
|
+
maxLength?: number;
|
|
7
7
|
/**Set the MinLength of characters In TextArea */
|
|
8
|
-
|
|
8
|
+
minLength?: number;
|
|
9
9
|
/**Set Number Of Rows */
|
|
10
|
-
|
|
10
|
+
rows: number;
|
|
11
11
|
/**Set Number Of columns */
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
cols: number;
|
|
13
|
+
maxWordCount: number;
|
|
14
14
|
/**Prevent AutoComplete of TextArea*/
|
|
15
|
-
|
|
15
|
+
autoComplete: boolean;
|
|
16
16
|
/** text input on change */
|
|
17
|
-
|
|
17
|
+
trimTextOnChange: boolean;
|
|
18
18
|
/** add button to for coping to clipboard */
|
|
19
|
-
|
|
19
|
+
enableCopyToClipboard: boolean;
|
|
20
20
|
/** to set Direction of TextArea if TextArea is Arabic or English */
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
forceDirection: ForceDirection;
|
|
22
|
+
maxLengthWarningLimit: number;
|
|
23
23
|
}
|
|
@@ -6,32 +6,32 @@ import { LanguageValidation } from '../Enums/LanguageValidation';
|
|
|
6
6
|
import { ControlOptionsBase } from './ControlOptionsBase';
|
|
7
7
|
export declare class TextBoxOptions extends ControlOptionsBase {
|
|
8
8
|
/**To set value to Control */
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
value: any;
|
|
10
|
+
maxLength?: number;
|
|
11
11
|
/**Set the MinLength of characters In TextBox */
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
minLength?: number;
|
|
13
|
+
maxWordCount: number;
|
|
14
14
|
/** set Range Number to Textbox with type number with From-Value and To-value*/
|
|
15
|
-
|
|
15
|
+
numberRange: RangeNumber;
|
|
16
16
|
/**Prevent AutoComplete of textbox default value is "on" available values "on" and "off"*/
|
|
17
|
-
|
|
17
|
+
autoComplete: string;
|
|
18
18
|
/** text input on change */
|
|
19
|
-
|
|
19
|
+
trimTextOnChange: boolean;
|
|
20
20
|
/** add button to for coping to clipboard */
|
|
21
|
-
|
|
21
|
+
enableCopyToClipboard: boolean;
|
|
22
22
|
/**Prevent Defulat Password Validation to set Custom Validation */
|
|
23
|
-
|
|
23
|
+
removeDefaultPasswordValidation: boolean;
|
|
24
24
|
/** to set Direction of textbox if textbox is Arabic or English */
|
|
25
|
-
|
|
25
|
+
forceDirection: ForceDirection;
|
|
26
26
|
/** to set Language of textbox if textbox language is Arabic or English */
|
|
27
|
-
|
|
27
|
+
languageValidation: LanguageValidation;
|
|
28
28
|
/** Set Type of TextBox ("text","password","email","number") */
|
|
29
|
-
|
|
29
|
+
type: InputType;
|
|
30
30
|
/** Set Mask Pattern Attribute to TextBox */
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
31
|
+
maskPattern: string;
|
|
32
|
+
icon: string;
|
|
33
|
+
iconPosition: IconPosition;
|
|
34
|
+
noMargin: boolean;
|
|
35
|
+
validationRules: any[];
|
|
36
|
+
maxLengthWarningLimit: number;
|
|
37
37
|
}
|
|
@@ -2,8 +2,8 @@ import { ForceDirection } from '../Enums/ForceDirection';
|
|
|
2
2
|
import { ControlOptionsBase } from './ControlOptionsBase';
|
|
3
3
|
export declare class ToggleSlideOptions extends ControlOptionsBase {
|
|
4
4
|
/**Display validation message only on added repeater when add class "v-required"*/
|
|
5
|
-
|
|
5
|
+
validationClasses: string;
|
|
6
6
|
/**To set value to ToggleSlide */
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
value: boolean;
|
|
8
|
+
forceDirection: ForceDirection;
|
|
9
9
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ControlFilterItem } from "./control-filter-Item";
|
|
2
2
|
export declare class FilterOptions {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
controlsOptions: ControlFilterItem[];
|
|
4
|
+
applyFunction: Function;
|
|
5
|
+
restFunction: Function;
|
|
6
|
+
showLoadingInFiltersBox: boolean;
|
|
7
7
|
}
|
|
@@ -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
|
}
|