@bnsights/bbsf-controls 1.0.34 → 1.0.37
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 +20 -0
- package/bnsights-bbsf-controls-1.0.37.tgz +0 -0
- package/bnsights-bbsf-controls.metadata.json +1 -1
- package/bundles/bnsights-bbsf-controls.umd.js +383 -245
- package/bundles/bnsights-bbsf-controls.umd.js.map +1 -1
- package/esm2015/lib/Shared/Models/AutocompleteOptions.js +5 -10
- package/esm2015/lib/Shared/Models/CalendarOptions.js +4 -2
- package/esm2015/lib/Shared/Models/CheckBoxOptions.js +4 -5
- package/esm2015/lib/Shared/Models/ControlOptionsBase.js +9 -0
- package/esm2015/lib/Shared/Models/DropdownOptions.js +4 -6
- package/esm2015/lib/Shared/Models/FileUploadOptions.js +4 -7
- package/esm2015/lib/Shared/Models/HtmlEditorOptions.js +4 -7
- package/esm2015/lib/Shared/Models/ImageUploadOptions.js +4 -7
- package/esm2015/lib/Shared/Models/MapAutoCompleteOptions.js +3 -9
- package/esm2015/lib/Shared/Models/MultiLingualHtmlEditorOptions.js +4 -12
- package/esm2015/lib/Shared/Models/MultiLingualTextAreaOptions.js +4 -12
- package/esm2015/lib/Shared/Models/MultilingualControlOptionsBase.js +14 -0
- package/esm2015/lib/Shared/Models/MultilingualTextBoxOptions.js +4 -12
- package/esm2015/lib/Shared/Models/PhoneOptions.js +4 -11
- package/esm2015/lib/Shared/Models/ProfileImageUploadOptions.js +4 -7
- package/esm2015/lib/Shared/Models/RadioButtonOptions.js +3 -8
- package/esm2015/lib/Shared/Models/TagsInputOptions.js +4 -9
- package/esm2015/lib/Shared/Models/TextAreaOptions.js +4 -7
- package/esm2015/lib/Shared/Models/TextBoxOptions.js +4 -7
- package/esm2015/lib/Shared/Models/ToggleslideOptions.js +4 -3
- package/esm2015/lib/Shared/Models/datePickerOptions.js +4 -8
- package/esm2015/lib/Shared/Pipes/bbsf-date-time.pipe.js +20 -0
- package/esm2015/lib/Shared/Pipes/bbsf-date.pipe.js +20 -0
- package/esm2015/lib/Shared/services/ControlUtility.js +17 -4
- package/esm2015/lib/controls/AutocompleteTextBox/AutocompleteTextBox.component.js +6 -2
- package/esm2015/lib/controls/CheckBox/CheckBox.component.js +5 -1
- package/esm2015/lib/controls/DateTimePicker/DateTimePicker.component.js +6 -2
- package/esm2015/lib/controls/DropdownList/DropdownList.component.js +6 -2
- package/esm2015/lib/controls/FileUplaod/FileUplaod.component.js +6 -2
- package/esm2015/lib/controls/HtmlEditor/HtmlEditor.component.js +6 -2
- package/esm2015/lib/controls/ImageUpload/ImageUpload.component.js +6 -2
- package/esm2015/lib/controls/MapAutoComplete/MapAutoComplete.component.js +5 -1
- package/esm2015/lib/controls/MultiLingualHtmlEditor/MultiLingualHtmlEditor.component.js +14 -4
- package/esm2015/lib/controls/MultiLingualTextArea/MultiLingualTextArea.component.js +12 -4
- package/esm2015/lib/controls/MultiLingualTextBox/MultiLingualTextBox.component.js +11 -3
- package/esm2015/lib/controls/Paging/JwPagination.component.js +3 -1
- package/esm2015/lib/controls/Paging/Paging.component.js +1 -1
- package/esm2015/lib/controls/Phone/Phone.component.js +6 -2
- package/esm2015/lib/controls/ProfileImageUploader/ProfileImageUploader.component.js +6 -2
- package/esm2015/lib/controls/RadioButton/RadioButton.component.js +6 -2
- package/esm2015/lib/controls/TagsInput/TagsInput.component.js +6 -2
- package/esm2015/lib/controls/TextArea/TextArea.component.js +6 -3
- package/esm2015/lib/controls/TextBox/TextBox.component.js +14 -6
- package/esm2015/lib/controls/Toggleslide/toggleslide.component.js +14 -3
- package/esm2015/lib/controls/bbsf-controls.module.js +14 -4
- package/esm2015/public-api.js +5 -1
- package/fesm2015/bnsights-bbsf-controls.js +247 -159
- package/fesm2015/bnsights-bbsf-controls.js.map +1 -1
- package/lib/Shared/Models/AutocompleteOptions.d.ts +3 -40
- package/lib/Shared/Models/CalendarOptions.d.ts +2 -8
- package/lib/Shared/Models/CheckBoxOptions.d.ts +2 -33
- package/lib/Shared/Models/ControlOptionsBase.d.ts +40 -0
- package/lib/Shared/Models/DropdownOptions.d.ts +2 -39
- package/lib/Shared/Models/FileUploadOptions.d.ts +2 -39
- package/lib/Shared/Models/HtmlEditorOptions.d.ts +2 -37
- package/lib/Shared/Models/ImageUploadOptions.d.ts +2 -38
- package/lib/Shared/Models/MapAutoCompleteOptions.d.ts +2 -40
- package/lib/Shared/Models/MultiLingualHtmlEditorOptions.d.ts +2 -77
- package/lib/Shared/Models/MultiLingualTextAreaOptions.d.ts +2 -76
- package/lib/Shared/Models/MultilingualControlOptionsBase.d.ts +71 -0
- package/lib/Shared/Models/MultilingualTextBoxOptions.d.ts +2 -76
- package/lib/Shared/Models/PhoneOptions.d.ts +2 -38
- package/lib/Shared/Models/ProfileImageUploadOptions.d.ts +2 -38
- package/lib/Shared/Models/RadioButtonOptions.d.ts +3 -39
- package/lib/Shared/Models/TagsInputOptions.d.ts +4 -43
- package/lib/Shared/Models/TextAreaOptions.d.ts +4 -42
- package/lib/Shared/Models/TextBoxOptions.d.ts +3 -41
- package/lib/Shared/Models/ToggleslideOptions.d.ts +3 -30
- package/lib/Shared/Models/datePickerOptions.d.ts +2 -40
- package/lib/Shared/Pipes/bbsf-date-time.pipe.d.ts +7 -0
- package/lib/Shared/Pipes/bbsf-date.pipe.d.ts +7 -0
- package/lib/Shared/services/ControlUtility.d.ts +4 -2
- package/lib/controls/Toggleslide/toggleslide.component.d.ts +3 -1
- package/package.json +3 -2
- package/public-api.d.ts +4 -0
- package/src/lib/assets/Style.css +2 -2
- package/bnsights-bbsf-controls-1.0.34.tgz +0 -0
|
@@ -1,28 +1,11 @@
|
|
|
1
1
|
import { AutocompleteDTO } from './AutocompleteDTO';
|
|
2
|
-
import { Attribute } from './Attribute';
|
|
3
2
|
import { InputType } from '../Enums/InputType';
|
|
4
3
|
import { ForceDirection } from '../Enums/ForceDirection';
|
|
5
|
-
import { CustomValidation } from './CustomValidation';
|
|
6
|
-
import { ControlLayout } from '../Enums/ControlLayout';
|
|
7
4
|
import { RangeNumber } from './RangeNumber';
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
*/
|
|
12
|
-
Name: string;
|
|
13
|
-
/**
|
|
14
|
-
* Represent classes to textbox that allow us to select the AutoComplete by jquery or javascript
|
|
15
|
-
*/
|
|
5
|
+
import { ControlOptionsBase } from './ControlOptionsBase';
|
|
6
|
+
export declare class AutocompleteOptions extends ControlOptionsBase {
|
|
7
|
+
/**Represent classes to textbox that allow us to select the AutoComplete by jquery or javascript */
|
|
16
8
|
ValidationToken: string;
|
|
17
|
-
ExtraClasses: 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 textbox*/
|
|
23
|
-
LabelDescription: string;
|
|
24
|
-
/** Represent value of the Placeholder of textbox */
|
|
25
|
-
Placeholder: string;
|
|
26
9
|
/**To set value to textbox */
|
|
27
10
|
Value: any;
|
|
28
11
|
MaxLength?: number;
|
|
@@ -33,36 +16,16 @@ export declare class AutocompleteOptions {
|
|
|
33
16
|
NumberRange: RangeNumber;
|
|
34
17
|
/**Prevent AutoComplete of textbox*/
|
|
35
18
|
AutoComplete: boolean;
|
|
36
|
-
/**
|
|
37
|
-
* Display "*" beside the label
|
|
38
|
-
* if ForceAsterisk=true and IsRequired=True his display "*" ,
|
|
39
|
-
* if if ForceAsterisk=false and IsRequired=false this remove "*",
|
|
40
|
-
*if ForceAsterisk=false and IsRequired=True this display "*" ,
|
|
41
|
-
*/
|
|
42
|
-
ShowAsterisk: boolean;
|
|
43
|
-
/** Ability to set AutoComplete required */
|
|
44
|
-
IsRequired: boolean;
|
|
45
|
-
/** Ability to display or hide the label of AutoComplete */
|
|
46
|
-
HideLabel: boolean;
|
|
47
|
-
/** Sets an attribute disable="disabled" */
|
|
48
|
-
IsDisabled: boolean;
|
|
49
19
|
/** text input on change */
|
|
50
20
|
TrimTextOnChange: boolean;
|
|
51
21
|
/** add button to for coping to clipboard */
|
|
52
22
|
EnableCopyToClipboard: boolean;
|
|
53
23
|
/**Prevent Defulat Password Validation to set Custom Validation */
|
|
54
24
|
RemoveDefulatPasswordValidation: boolean;
|
|
55
|
-
/** to set type of view if textbox is Vertical or Horizontal */
|
|
56
|
-
ViewType: ControlLayout;
|
|
57
|
-
/** Allow to Pass Object With Body of Function which represent CustomValidation and massage for error massage
|
|
58
|
-
*/
|
|
59
|
-
CustomValidation: CustomValidation[];
|
|
60
25
|
/** to set Direction of textbox if textbox is Arabic or English */
|
|
61
26
|
ForceDirection: ForceDirection;
|
|
62
27
|
/** Set Type of AutoComplete ("text","password","email","number") */
|
|
63
28
|
Type: InputType;
|
|
64
|
-
/** Set List of Custom Attribute to AutoComplete */
|
|
65
|
-
AttributeList: Attribute[];
|
|
66
29
|
/** allow add value of AutoComplete dosn't exist in list*/
|
|
67
30
|
AllowNewSelection: boolean;
|
|
68
31
|
ControlId: string;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { CalendarView } from '../Enums/CalendarView';
|
|
2
2
|
import { CalendarEventDTO } from './CalendarEventDTO';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
Name: string;
|
|
3
|
+
import { ControlOptionsBase } from './ControlOptionsBase';
|
|
4
|
+
export declare class CalendarOptions extends ControlOptionsBase {
|
|
6
5
|
/** Represent DefaultView Of Calendar*/
|
|
7
6
|
DefaultView: CalendarView;
|
|
8
7
|
/** Represent OnEventClickFunction Of Calendar*/
|
|
@@ -11,11 +10,6 @@ export declare class CalendarOptions {
|
|
|
11
10
|
CalendarViews: CalendarView[];
|
|
12
11
|
/** Represent OnDayClickFunction Of Calendar*/
|
|
13
12
|
OnDayClickFunction: any;
|
|
14
|
-
/** Represent EventList Of Calendar*/
|
|
15
|
-
/** Represent value of the label*/
|
|
16
|
-
LabelValue: string;
|
|
17
|
-
/** Represent Key of the label*/
|
|
18
|
-
LabelKey: string;
|
|
19
13
|
EventList: CalendarEventDTO[];
|
|
20
14
|
/** Set Allowc Calendar Weekends Of Calendar*/
|
|
21
15
|
AllowCalendarWeekends: boolean;
|
|
@@ -1,38 +1,7 @@
|
|
|
1
|
-
import { CustomValidation } from './CustomValidation';
|
|
2
1
|
import { ForceDirection } from '../Enums/ForceDirection';
|
|
3
|
-
import {
|
|
4
|
-
export declare class CheckBoxOptions {
|
|
5
|
-
/**
|
|
6
|
-
* Represent Name Of Form Control
|
|
7
|
-
*/
|
|
8
|
-
Name: string;
|
|
9
|
-
/**
|
|
10
|
-
* Represent classes to CheckBox that allow us to select the TextBox by jquery or javascript
|
|
11
|
-
*/
|
|
12
|
-
ExtraClasses: string;
|
|
13
|
-
/** Represent value of the label*/
|
|
14
|
-
LabelValue: string;
|
|
15
|
-
/** Represent Key of the label*/
|
|
16
|
-
LabelKey: string;
|
|
17
|
-
/** Represent value of the labelDescription show under CheckBox*/
|
|
18
|
-
LabelDescription: string;
|
|
2
|
+
import { ControlOptionsBase } from './ControlOptionsBase';
|
|
3
|
+
export declare class CheckBoxOptions extends ControlOptionsBase {
|
|
19
4
|
/**To set value to CheckBox */
|
|
20
5
|
Value: boolean;
|
|
21
|
-
/**
|
|
22
|
-
* Display "*" beside the label
|
|
23
|
-
* if ForceAsterisk=true and IsRequired=True his display "*" ,
|
|
24
|
-
* if if ForceAsterisk=false and IsRequired=false this remove "*",
|
|
25
|
-
*if ForceAsterisk=false and IsRequired=True this display "*" ,
|
|
26
|
-
*/
|
|
27
|
-
ShowAsterisk: boolean;
|
|
28
|
-
/** Ability to set CheckBox required */
|
|
29
|
-
IsRequired: boolean;
|
|
30
|
-
/** Sets an attribute disable="disabled" */
|
|
31
|
-
IsDisabled: boolean;
|
|
32
|
-
/** Set List of Custom Attribute to CheckBox */
|
|
33
|
-
AttributeList: Attribute[];
|
|
34
|
-
/** Allow to Pass Object With Body of Function which represent CustomValidation and massage for error massage
|
|
35
|
-
*/
|
|
36
|
-
CustomValidation: CustomValidation[];
|
|
37
6
|
ForceDirection: ForceDirection;
|
|
38
7
|
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { ControlLayout } from "../Enums/ControlLayout";
|
|
2
|
+
import { Attribute } from './Attribute';
|
|
3
|
+
import { CustomValidation } from "./CustomValidation";
|
|
4
|
+
export declare class ControlOptionsBase {
|
|
5
|
+
/** Represent Name Of Form Control*/
|
|
6
|
+
Name: string;
|
|
7
|
+
/** Represent classes to Control that allow us to select the Control by jquery or javascript */
|
|
8
|
+
ExtraClasses: string;
|
|
9
|
+
/** Represent value of the label*/
|
|
10
|
+
LabelValue: string;
|
|
11
|
+
/** Represent Key of the label*/
|
|
12
|
+
LabelKey: string;
|
|
13
|
+
/** Represent value of the labelDescription show under Control*/
|
|
14
|
+
LabelDescription: string;
|
|
15
|
+
/** Represent value of the Placeholder of Control */
|
|
16
|
+
Placeholder: string;
|
|
17
|
+
/**
|
|
18
|
+
* Display "*" beside the label
|
|
19
|
+
* if ForceAsterisk=true and IsRequired=True his display "*" ,
|
|
20
|
+
* if ForceAsterisk=false and IsRequired=false this remove "*",
|
|
21
|
+
*if ForceAsterisk=false and IsRequired=True this display "*" ,
|
|
22
|
+
*/
|
|
23
|
+
ShowAsterisk: boolean;
|
|
24
|
+
/** Ability to set Control required */
|
|
25
|
+
IsRequired: boolean;
|
|
26
|
+
/** Ability to display or hide the label of Control */
|
|
27
|
+
HideLabel: boolean;
|
|
28
|
+
/** Sets an attribute disable="disabled" */
|
|
29
|
+
IsDisabled: boolean;
|
|
30
|
+
/** to set type of view if Control is Vertical or Horizontal */
|
|
31
|
+
ViewType: ControlLayout;
|
|
32
|
+
/** Set List of Custom Attribute to Control */
|
|
33
|
+
AttributeList: Attribute[];
|
|
34
|
+
/** Allow to Pass Object With Body of Function which represent CustomValidation and massage for error massage */
|
|
35
|
+
CustomValidation: CustomValidation[];
|
|
36
|
+
/** Path of propriety which we need to patch value */
|
|
37
|
+
PatchPath: string;
|
|
38
|
+
/** Function which call to patch value */
|
|
39
|
+
PatchFunction: Function;
|
|
40
|
+
}
|
|
@@ -1,58 +1,21 @@
|
|
|
1
|
-
import { ControlLayout } from '../Enums/ControlLayout';
|
|
2
1
|
import { DropdownListItem } from './DropdownListItem';
|
|
3
|
-
import { CustomValidation } from './CustomValidation';
|
|
4
|
-
import { Attribute } from './Attribute';
|
|
5
2
|
import { ForceDirection } from '../Enums/ForceDirection';
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
* Represent Name Of Form Control
|
|
9
|
-
*/
|
|
10
|
-
Name: string;
|
|
11
|
-
/**
|
|
12
|
-
* Represent classes to DropdownList that allow us to select the DatePicker 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 DropdownList*/
|
|
20
|
-
LabelDescription: string;
|
|
21
|
-
/** Represent value of the Placeholder of DropdownList */
|
|
22
|
-
Placeholder: string;
|
|
3
|
+
import { ControlOptionsBase } from './ControlOptionsBase';
|
|
4
|
+
export declare class DropdownOptions extends ControlOptionsBase {
|
|
23
5
|
/**To set DataSource to DropdownList */
|
|
24
6
|
DataSource: DropdownListItem[];
|
|
25
7
|
/**To set SelectedItem to DropdownList */
|
|
26
8
|
SelectedItems: any;
|
|
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 DropdownList required */
|
|
35
|
-
IsRequired: boolean;
|
|
36
9
|
/** Disable Bootstrap DropdownList */
|
|
37
10
|
DisableBootstrapSelect: boolean;
|
|
38
|
-
/** Ability to display or hide the label of DropdownList */
|
|
39
|
-
HideLabel: boolean;
|
|
40
|
-
/** Sets an attribute disable="disabled" */
|
|
41
|
-
IsDisabled: boolean;
|
|
42
|
-
/** to set type of view if DropdownList is Vertical or Horizontal */
|
|
43
|
-
ViewType: ControlLayout;
|
|
44
11
|
/** to set DropdownList in SingleMode Or MultibleMode */
|
|
45
12
|
SingleSelection: boolean;
|
|
46
13
|
/** to set Number Of selected Element That will Show In The Box */
|
|
47
14
|
ItemsShowLimit: number;
|
|
48
15
|
/** to Show Search Filter Box*/
|
|
49
16
|
AllowSearchFilter: boolean;
|
|
50
|
-
/** To Set Custom Validation*/
|
|
51
|
-
CustomValidation: CustomValidation[];
|
|
52
17
|
/** to set Limit Of selected Element For DropdownList */
|
|
53
18
|
LimitSelection?: number;
|
|
54
|
-
/** Set List of Custom Attribute to DropdownList */
|
|
55
|
-
AttributeList: Attribute[];
|
|
56
19
|
/** Set css classes to DropdownList */
|
|
57
20
|
Classes: string;
|
|
58
21
|
/** Allow Show Checkbox */
|
|
@@ -1,46 +1,11 @@
|
|
|
1
|
-
import { CustomValidation } from './CustomValidation';
|
|
2
|
-
import { Attribute } from './Attribute';
|
|
3
|
-
import { ControlLayout } from '../Enums/ControlLayout';
|
|
4
1
|
import { FileType } from '../Enums/FileType';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
* Represent Name Of Form Control
|
|
8
|
-
*/
|
|
9
|
-
Name: string;
|
|
10
|
-
/**
|
|
11
|
-
* Represent classes to FileInput that allow us to select the FileInput 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 FileInput*/
|
|
19
|
-
LabelDescription: string;
|
|
20
|
-
/**To set value to FileInput */
|
|
2
|
+
import { ControlOptionsBase } from './ControlOptionsBase';
|
|
3
|
+
export declare class FileUploadOptions extends ControlOptionsBase {
|
|
21
4
|
Value: any;
|
|
22
|
-
/**
|
|
23
|
-
* Display "*" beside the label
|
|
24
|
-
* if ForceAsterisk=true and IsRequired=True his display "*" ,
|
|
25
|
-
* if if ForceAsterisk=false and IsRequired=false this remove "*",
|
|
26
|
-
*if ForceAsterisk=false and IsRequired=True this display "*" ,
|
|
27
|
-
*/
|
|
28
|
-
ShowAsterisk: boolean;
|
|
29
|
-
/** Ability to set FileInput required */
|
|
30
|
-
IsRequired: boolean;
|
|
31
5
|
/** Ability to set FileInput required */
|
|
32
6
|
IsMultipleFile: boolean;
|
|
33
|
-
/** Ability to display or hide the label of FileInput */
|
|
34
|
-
HideLabel: boolean;
|
|
35
|
-
/** Sets an attribute disable="disabled" */
|
|
36
|
-
IsDisabled: boolean;
|
|
37
7
|
/** Sets boolean Value to Show IsDropZone Or Not */
|
|
38
8
|
IsDropZone: boolean;
|
|
39
|
-
/** Allow to Pass Object With Body of Function which represent CustomValidation and massage for error massage
|
|
40
|
-
*/
|
|
41
|
-
CustomValidation: CustomValidation[];
|
|
42
|
-
/** Set List of Custom Attribute to FileInput */
|
|
43
|
-
AttributeList: Attribute[];
|
|
44
9
|
/** Set File MaxSize In MB */
|
|
45
10
|
FileMaxSizeInMB: number;
|
|
46
11
|
/** Set Max Number Of Files */
|
|
@@ -49,8 +14,6 @@ export declare class FileUploadOptions {
|
|
|
49
14
|
MinNoOfFiles: number;
|
|
50
15
|
/** Set File MaxSizeForAllFilesInMB In MB */
|
|
51
16
|
MaxSizeForAllFilesInMB: number;
|
|
52
|
-
/** to set type of view if textbox is Vertical or Horizontal */
|
|
53
|
-
ViewType: ControlLayout;
|
|
54
17
|
/** Set List of Custom Attribute to FileInput */
|
|
55
18
|
FileUploadAcceptsTypes: FileType[];
|
|
56
19
|
}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { CustomValidation } from './CustomValidation';
|
|
2
|
-
import { ControlLayout } from '../Enums/ControlLayout';
|
|
3
1
|
import { ForceDirection } from '../Enums/ForceDirection';
|
|
4
2
|
import { Attribute } from './Attribute';
|
|
5
3
|
import { Misc } from '../Enums/Misc';
|
|
@@ -7,46 +5,13 @@ import { Style } from '../Enums/Style';
|
|
|
7
5
|
import { FontSize } from '../Enums/FontSize';
|
|
8
6
|
import { Para } from '../Enums/Para';
|
|
9
7
|
import { Insert } from '../Enums/Insert';
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
* Represent Name Of Form Control
|
|
13
|
-
*/
|
|
14
|
-
Name: 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 HtmlEditor*/
|
|
20
|
-
LabelDescription: string;
|
|
21
|
-
/**
|
|
22
|
-
* Represent classes to HtmlEditor that allow us to select the HtmlEditor by jquery or javascript
|
|
23
|
-
*/
|
|
24
|
-
ExtraClasses: string;
|
|
25
|
-
/** Represent value of the Placeholder of HtmlEditor */
|
|
26
|
-
Placeholder: string;
|
|
8
|
+
import { ControlOptionsBase } from './ControlOptionsBase';
|
|
9
|
+
export declare class HtmlEditorOptions extends ControlOptionsBase {
|
|
27
10
|
/**To set value to HtmlEditor */
|
|
28
11
|
Value: any;
|
|
29
12
|
MaxLength?: number;
|
|
30
13
|
/**Set the MinLength of characters In HtmlEditor */
|
|
31
14
|
MinLength?: number;
|
|
32
|
-
/**
|
|
33
|
-
* Display "*" beside the label
|
|
34
|
-
* if ForceAsterisk=true and IsRequired=True his display "*" ,
|
|
35
|
-
* if if ForceAsterisk=false and IsRequired=false this remove "*",
|
|
36
|
-
*if ForceAsterisk=false and IsRequired=True this display "*" ,
|
|
37
|
-
*/
|
|
38
|
-
ShowAsterisk: boolean;
|
|
39
|
-
/** Ability to set HtmlEditor required */
|
|
40
|
-
IsRequired: boolean;
|
|
41
|
-
/** Ability to display or hide the label of HtmlEditor */
|
|
42
|
-
HideLabel: boolean;
|
|
43
|
-
/** Sets an attribute disable="disabled" */
|
|
44
|
-
IsDisabled: boolean;
|
|
45
|
-
/** to set type of view if textbox is Vertical or Horizontal */
|
|
46
|
-
ViewType: ControlLayout;
|
|
47
|
-
/** Allow to Pass Object With Body of Function which represent CustomValidation and massage for error massage
|
|
48
|
-
*/
|
|
49
|
-
CustomValidation: CustomValidation[];
|
|
50
15
|
/** to set Direction of HtmlEditor if HtmlEditor is Arabic or English */
|
|
51
16
|
ForceDirection: ForceDirection;
|
|
52
17
|
/** Set Height For */
|
|
@@ -1,38 +1,9 @@
|
|
|
1
|
-
import { CustomValidation } from './CustomValidation';
|
|
2
|
-
import { Attribute } from './Attribute';
|
|
3
|
-
import { ControlLayout } from '../Enums/ControlLayout';
|
|
4
1
|
import { FileDTO } from './FileDTO';
|
|
5
2
|
import { ImageType } from '../Enums/ImageType';
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
* Represent Name Of Form Control
|
|
9
|
-
*/
|
|
10
|
-
Name: string;
|
|
11
|
-
/**
|
|
12
|
-
* Represent classes to ImageUpload that allow us to select the FileInput 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 ImageUpload*/
|
|
20
|
-
LabelDescription: string;
|
|
3
|
+
import { ControlOptionsBase } from './ControlOptionsBase';
|
|
4
|
+
export declare class ImageUploadOptions extends ControlOptionsBase {
|
|
21
5
|
/**To set value to ImageUpload */
|
|
22
6
|
Value: FileDTO;
|
|
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 ImageUpload required */
|
|
31
|
-
IsRequired: boolean;
|
|
32
|
-
/** Ability to display or hide the label of ImageUpload */
|
|
33
|
-
HideLabel: boolean;
|
|
34
|
-
/** Sets an attribute disable="disabled" */
|
|
35
|
-
IsDisabled: boolean;
|
|
36
7
|
/** Allow to Upload Multiple File */
|
|
37
8
|
IsMultiple: boolean;
|
|
38
9
|
/** Allow to Use Drop Zone */
|
|
@@ -43,15 +14,8 @@ export declare class ImageUploadOptions {
|
|
|
43
14
|
ImageCropperHeight: number;
|
|
44
15
|
/** Set Width of Image Cropper Box */
|
|
45
16
|
ImageCropperWidth: number;
|
|
46
|
-
/** Allow to Pass Object With Body of Function which represent CustomValidation and massage for error massage
|
|
47
|
-
*/
|
|
48
|
-
CustomValidation: CustomValidation[];
|
|
49
|
-
/** Set List of Custom Attribute to FileInput */
|
|
50
|
-
AttributeList: Attribute[];
|
|
51
17
|
/** Set File MaxSize In MB */
|
|
52
18
|
FileMaxSizeInMB: number;
|
|
53
|
-
/** to set type of view if FileInput is Vertical or Horizontal */
|
|
54
|
-
ViewType: ControlLayout;
|
|
55
19
|
/** Set List of Custom Attribute to FileInput */
|
|
56
20
|
FileUploadAcceptsTypes: ImageType[];
|
|
57
21
|
/** Set Default Image */
|
|
@@ -1,44 +1,6 @@
|
|
|
1
1
|
import { MapAutocompleteDTO } from './MapAutocompleteDTO';
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
import { ControlLayout } from '../Enums/ControlLayout';
|
|
5
|
-
export declare class MapAutoCompleteOptions {
|
|
6
|
-
/**
|
|
7
|
-
* Represent Name Of MapAutoCompleteContoler
|
|
8
|
-
*/
|
|
9
|
-
Name: string;
|
|
10
|
-
/**
|
|
11
|
-
* Represent classes to textbox that allow us to select the MapAutoComplete 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 MapAutoComplete*/
|
|
19
|
-
LabelDescription: string;
|
|
20
|
-
/** Allow to Pass Object With Body of Function which represent CustomValidation and massage for error massage
|
|
21
|
-
*/
|
|
22
|
-
CustomValidation: CustomValidation[];
|
|
23
|
-
/** to set type of view if MapAutoComplete is Vertical or Horizontal */
|
|
24
|
-
ViewType: ControlLayout;
|
|
25
|
-
/** Represent value of the Placeholder of MapAutoComplete */
|
|
26
|
-
Placeholder: string;
|
|
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 MapAutoComplete required */
|
|
35
|
-
IsRequired: boolean;
|
|
36
|
-
/** Ability to display or hide the label of MapAutoComplete */
|
|
37
|
-
HideLabel: boolean;
|
|
38
|
-
/** Sets an attribute disable="disabled" */
|
|
39
|
-
IsDisabled: boolean;
|
|
40
|
-
/** Set List of Custom Attribute to TextArea */
|
|
41
|
-
AttributeList: Attribute[];
|
|
2
|
+
import { ControlOptionsBase } from './ControlOptionsBase';
|
|
3
|
+
export declare class MapAutoCompleteOptions extends ControlOptionsBase {
|
|
42
4
|
/** Sets Value of MapAutoComplete */
|
|
43
5
|
Value: MapAutocompleteDTO;
|
|
44
6
|
}
|
|
@@ -1,85 +1,12 @@
|
|
|
1
|
-
import { CustomValidation } from './CustomValidation';
|
|
2
1
|
import { InputType } from '../Enums/InputType';
|
|
3
|
-
import { EnglishArabicDTO } from './EnglishArabicDTO';
|
|
4
|
-
import { ControlLayout } from '../Enums/ControlLayout';
|
|
5
2
|
import { Misc } from '../Enums/Misc';
|
|
6
3
|
import { Style } from '../Enums/Style';
|
|
7
4
|
import { FontSize } from '../Enums/FontSize';
|
|
8
5
|
import { Para } from '../Enums/Para';
|
|
9
6
|
import { Insert } from '../Enums/Insert';
|
|
10
|
-
import {
|
|
11
|
-
export declare class MultiLingualHtmlEditorOptions {
|
|
12
|
-
/** Allow to Pass Object With Body of Function which represent CustomValidation and massage for error massage
|
|
13
|
-
*/
|
|
14
|
-
CustomValidation: CustomValidation[];
|
|
15
|
-
/**To Set Value To MultipleLanguageText with Object From Type "EnglishArabicDTO" */
|
|
16
|
-
Value: EnglishArabicDTO;
|
|
17
|
-
/** Represent value of the Label*/
|
|
18
|
-
LabelValue: string;
|
|
19
|
-
/** Represent Key of the label*/
|
|
20
|
-
ArabicLabelKey: string;
|
|
21
|
-
/** Represent Key of the label*/
|
|
22
|
-
EnglishLabelKey: string;
|
|
23
|
-
/** Represent value of the ArabicLabel*/
|
|
24
|
-
ArabicLabelValue: string;
|
|
25
|
-
/** Represent value of the EnglishLabel*/
|
|
26
|
-
EnglishLabelValue: string;
|
|
27
|
-
/** Represent value of the LabelDescription show under textbox*/
|
|
28
|
-
LabelDescription: string;
|
|
29
|
-
/** Represent value of the ArabicLabelDescription show under MultipleLanguageText*/
|
|
30
|
-
ArabicLabelDescription: string;
|
|
31
|
-
/** Represent value of the EnglishLabelDescription show under MultipleLanguageText*/
|
|
32
|
-
EnglishLabelDescription: string;
|
|
33
|
-
/**
|
|
34
|
-
* Represent Name Of Form Control
|
|
35
|
-
*/
|
|
36
|
-
Name: string;
|
|
7
|
+
import { MultilingualControlOptionsBase } from './MultilingualControlOptionsBase';
|
|
8
|
+
export declare class MultiLingualHtmlEditorOptions extends MultilingualControlOptionsBase {
|
|
37
9
|
Type: InputType;
|
|
38
|
-
/**
|
|
39
|
-
* Represent ArabicPlaceholder Of Form Control
|
|
40
|
-
*/
|
|
41
|
-
ArabicPlaceholder: string;
|
|
42
|
-
/**
|
|
43
|
-
* Represent EnglishPlaceholder Of Form Control
|
|
44
|
-
*/
|
|
45
|
-
EnglishPlaceholder: string;
|
|
46
|
-
/**
|
|
47
|
-
* Represent classes to Arabic textbox that allow us to select the MultipleLanguageText by jquery or javascript
|
|
48
|
-
*/
|
|
49
|
-
ExtraClasses_AR: string;
|
|
50
|
-
/**
|
|
51
|
-
* Represent classes to English textbox that allow us to select the MultipleLanguageText by jquery or javascript
|
|
52
|
-
*/
|
|
53
|
-
ExtraClasses_EN: string;
|
|
54
|
-
/** to set type of view if MultipleLanguageText is Vertical or Horizontal */
|
|
55
|
-
ViewType: ControlLayout;
|
|
56
|
-
/**Set the MinLength of characters In MultipleLanguageText */
|
|
57
|
-
MinLength: number;
|
|
58
|
-
MaxLength: number;
|
|
59
|
-
MaxWordCount: number;
|
|
60
|
-
/** trim input on change */
|
|
61
|
-
TrimTextOnChange: boolean;
|
|
62
|
-
/** add button to for coping to clipboard */
|
|
63
|
-
EnableCopyToClipboard: boolean;
|
|
64
|
-
/**
|
|
65
|
-
* Display "*" beside the label
|
|
66
|
-
* if ForceAsterisk=true and IsRequired=True his display "*" ,
|
|
67
|
-
* if if ForceAsterisk=false and IsRequired=false this remove "*",
|
|
68
|
-
*if ForceAsterisk=false and IsRequired=True this display "*" ,
|
|
69
|
-
*/
|
|
70
|
-
ShowAsterisk: boolean;
|
|
71
|
-
/** Ability to set MultipleLanguageText required */
|
|
72
|
-
IsRequired: boolean;
|
|
73
|
-
/** Sets an attribute disable="disabled" */
|
|
74
|
-
IsDisabled: boolean;
|
|
75
|
-
/** Ability to display or hide the EnglishField of MultipleLanguageText */
|
|
76
|
-
IsHideEnglishFields: boolean;
|
|
77
|
-
/** Ability to display or hide the ArabicField of MultipleLanguageText */
|
|
78
|
-
IsHideArabicFields: boolean;
|
|
79
|
-
/** Ability to display or hide the EnglishLabel of MultipleLanguageText */
|
|
80
|
-
IsHideEnglishLabel: boolean;
|
|
81
|
-
/** Ability to display or hide the ArabicLable of MultipleLanguageText */
|
|
82
|
-
IsHideArabicLable: boolean;
|
|
83
10
|
/** Set Height For */
|
|
84
11
|
Height: number;
|
|
85
12
|
/** Set List of Misc like codeview Or undo Or redo */
|
|
@@ -92,6 +19,4 @@ export declare class MultiLingualHtmlEditorOptions {
|
|
|
92
19
|
ToolsList_Para?: Para[];
|
|
93
20
|
/** Set List of Insert like table Or picture Or link Or video Or hr */
|
|
94
21
|
ToolsList_Insert?: Insert[];
|
|
95
|
-
/**To Set LanguageMode To MultipleLanguageText */
|
|
96
|
-
LanguageMode: LanguageMode;
|
|
97
22
|
}
|
|
@@ -1,86 +1,12 @@
|
|
|
1
|
-
import { CustomValidation } from './CustomValidation';
|
|
2
1
|
import { InputType } from '../Enums/InputType';
|
|
3
|
-
import { EnglishArabicDTO } from './EnglishArabicDTO';
|
|
4
2
|
import { ControlLayout } from '../Enums/ControlLayout';
|
|
5
|
-
import {
|
|
6
|
-
export declare class MultiLingualTextAreaOptions {
|
|
7
|
-
/** Allow to Pass Object With Body of Function which represent CustomValidation and massage for error massage
|
|
8
|
-
*/
|
|
9
|
-
CustomValidation: CustomValidation[];
|
|
10
|
-
/**To Set Value To MultipleLanguageText with Object From Type "EnglishArabicDTO" */
|
|
11
|
-
Value: EnglishArabicDTO;
|
|
12
|
-
/** Represent value of the Label*/
|
|
13
|
-
LabelValue: string;
|
|
14
|
-
/** Represent Key of the label*/
|
|
15
|
-
ArabicLabelKey: string;
|
|
16
|
-
/** Represent Key of the label*/
|
|
17
|
-
EnglishLabelKey: string;
|
|
18
|
-
/** Represent value of the ArabicLabel*/
|
|
19
|
-
ArabicLabelValue: string;
|
|
20
|
-
/** Represent value of the EnglishLabel*/
|
|
21
|
-
EnglishLabelValue: string;
|
|
22
|
-
/** Represent value of the LabelDescription show under textbox*/
|
|
23
|
-
LabelDescription: string;
|
|
24
|
-
/** Represent value of the ArabicLabelDescription show under MultilingualTextArea*/
|
|
25
|
-
ArabicLabelDescription: string;
|
|
26
|
-
/** Represent value of the EnglishLabelDescription show under MultilingualTextArea*/
|
|
27
|
-
EnglishLabelDescription: string;
|
|
28
|
-
/**
|
|
29
|
-
* Represent Name Of Form Control
|
|
30
|
-
*/
|
|
31
|
-
Name: string;
|
|
3
|
+
import { MultilingualControlOptionsBase } from './MultilingualControlOptionsBase';
|
|
4
|
+
export declare class MultiLingualTextAreaOptions extends MultilingualControlOptionsBase {
|
|
32
5
|
Type: InputType;
|
|
33
|
-
/**
|
|
34
|
-
* Represent ArabicPlaceholder Of Form Control
|
|
35
|
-
*/
|
|
36
|
-
ArabicPlaceholder: string;
|
|
37
|
-
/**
|
|
38
|
-
* Represent EnglishPlaceholder Of Form Control
|
|
39
|
-
*/
|
|
40
|
-
EnglishPlaceholder: string;
|
|
41
|
-
/**
|
|
42
|
-
* Represent classes to Arabic textbox that allow us to select the MultilingualTextArea by jquery or javascript
|
|
43
|
-
*/
|
|
44
|
-
ExtraClasses_AR: string;
|
|
45
|
-
/**
|
|
46
|
-
* Represent classes to English textbox that allow us to select the MultilingualTextArea by jquery or javascript
|
|
47
|
-
*/
|
|
48
|
-
ExtraClasses_EN: string;
|
|
49
|
-
/** to set type of view if MultilingualTextArea is Vertical or Horizontal */
|
|
50
|
-
ViewType: ControlLayout;
|
|
51
|
-
/**Set the MinLength of characters In MultilingualTextArea */
|
|
52
|
-
MinLength: number;
|
|
53
|
-
MaxLength: number;
|
|
54
|
-
MaxWordCount: number;
|
|
55
6
|
/**Set Number Of Rows */
|
|
56
7
|
Rows: number;
|
|
57
8
|
/**Set Number Of columns */
|
|
58
9
|
Cols: number;
|
|
59
|
-
/** trim input on change */
|
|
60
|
-
TrimTextOnChange: boolean;
|
|
61
|
-
/** add button to for coping to clipboard */
|
|
62
|
-
EnableCopyToClipboard: boolean;
|
|
63
|
-
/**
|
|
64
|
-
* Display "*" beside the label
|
|
65
|
-
* if ForceAsterisk=true and IsRequired=True his display "*" ,
|
|
66
|
-
* if if ForceAsterisk=false and IsRequired=false this remove "*",
|
|
67
|
-
*if ForceAsterisk=false and IsRequired=True this display "*" ,
|
|
68
|
-
*/
|
|
69
|
-
ShowAsterisk: boolean;
|
|
70
|
-
/** Ability to set MultilingualTextArea required */
|
|
71
|
-
IsRequired: boolean;
|
|
72
|
-
/** Sets an attribute disable="disabled" */
|
|
73
|
-
IsDisabled: boolean;
|
|
74
|
-
/** Ability to display or hide the EnglishField of MultilingualTextArea */
|
|
75
|
-
IsHideEnglishFields: boolean;
|
|
76
|
-
/** Ability to display or hide the ArabicField of MultilingualTextArea */
|
|
77
|
-
IsHideArabicFields: boolean;
|
|
78
|
-
/** Ability to display or hide the EnglishLabel of MultilingualTextArea */
|
|
79
|
-
IsHideEnglishLabel: boolean;
|
|
80
|
-
/** Ability to display or hide the ArabicLable of MultilingualTextArea */
|
|
81
|
-
IsHideArabicLable: boolean;
|
|
82
|
-
/**To Set LanguageMode To MultipleLanguageText */
|
|
83
|
-
LanguageMode: LanguageMode;
|
|
84
10
|
MultiControlPlacementType: ControlLayout;
|
|
85
11
|
MaxLengthWarningLimit: number;
|
|
86
12
|
}
|