@bnsights/bbsf-controls 1.0.30 → 1.0.33
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 +11 -3
- package/bnsights-bbsf-controls-1.0.33.tgz +0 -0
- package/bnsights-bbsf-controls.metadata.json +1 -1
- package/bundles/bnsights-bbsf-controls.umd.js +357 -79
- package/bundles/bnsights-bbsf-controls.umd.js.map +1 -1
- package/esm2015/lib/Shared/Models/MultiLingualTextAreaOptions.js +1 -1
- package/esm2015/lib/Shared/Models/MultilingualTextBoxOptions.js +1 -1
- package/esm2015/lib/Shared/Models/RepeaterOptions.js +1 -2
- package/esm2015/lib/Shared/Models/TextAreaOptions.js +1 -1
- package/esm2015/lib/Shared/Models/TextBoxOptions.js +1 -1
- package/esm2015/lib/Shared/Models/datePickerOptions.js +3 -1
- package/esm2015/lib/Shared/config/environment.js +2 -2
- package/esm2015/lib/Shared/services/ControlUtility.js +24 -1
- package/esm2015/lib/Shared/services/GlobalSettings.service.js +9 -1
- package/esm2015/lib/Shared/services/validationErrorMassage.service.js +16 -1
- package/esm2015/lib/controls/AutocompleteTextBox/AutocompleteTextBox.component.js +1 -2
- package/esm2015/lib/controls/DateTimePicker/DateTimePicker.component.js +49 -3
- package/esm2015/lib/controls/FileUplaod/FileUplaod.component.js +1 -3
- package/esm2015/lib/controls/Form/Form.component.js +2 -18
- package/esm2015/lib/controls/ImageUpload/ImageUpload.component.js +7 -4
- package/esm2015/lib/controls/MultiLingualTextArea/MultiLingualTextArea.component.js +79 -8
- package/esm2015/lib/controls/MultiLingualTextBox/MultiLingualTextBox.component.js +79 -16
- package/esm2015/lib/controls/Paging/Paging.component.js +1 -3
- package/esm2015/lib/controls/Repeater/repeater-table/repeater-table.component.js +2 -2
- package/esm2015/lib/controls/TextArea/TextArea.component.js +43 -4
- package/esm2015/lib/controls/TextBox/TextBox.component.js +49 -19
- package/esm2015/lib/controls/bbsf-controls.module.js +1 -3
- package/fesm2015/bnsights-bbsf-controls.js +351 -75
- package/fesm2015/bnsights-bbsf-controls.js.map +1 -1
- package/lib/Shared/Models/MultiLingualTextAreaOptions.d.ts +1 -0
- package/lib/Shared/Models/MultilingualTextBoxOptions.d.ts +1 -0
- package/lib/Shared/Models/TextAreaOptions.d.ts +1 -0
- package/lib/Shared/Models/TextBoxOptions.d.ts +1 -0
- package/lib/Shared/Models/datePickerOptions.d.ts +2 -0
- package/lib/Shared/services/ControlUtility.d.ts +1 -0
- package/lib/Shared/services/GlobalSettings.service.d.ts +4 -0
- package/lib/controls/DateTimePicker/DateTimePicker.component.d.ts +9 -0
- package/lib/controls/MultiLingualTextArea/MultiLingualTextArea.component.d.ts +13 -2
- package/lib/controls/MultiLingualTextBox/MultiLingualTextBox.component.d.ts +13 -2
- package/lib/controls/TextArea/TextArea.component.d.ts +7 -1
- package/lib/controls/TextBox/TextBox.component.d.ts +8 -3
- package/package.json +2 -3
- package/src/lib/assets/Style.css +5 -1
- package/bnsights-bbsf-controls-1.0.30.tgz +0 -0
|
@@ -8,6 +8,7 @@ export declare class ControlUtility {
|
|
|
8
8
|
constructor(ErrorHandler: ErrorMassageValidation, controlValidationService: ControlValidationService);
|
|
9
9
|
getErrorValidation(Errorsitem: any[], CustomValidation?: CustomValidation): string;
|
|
10
10
|
patternValidator(regex: RegExp, error: ValidationErrors): ValidatorFn;
|
|
11
|
+
arabicValidator(error: ValidationErrors): ValidatorFn;
|
|
11
12
|
getInputType(type: number): string;
|
|
12
13
|
trimControlValue(value: any): any;
|
|
13
14
|
CopyInputMessage(inputElement: any): void;
|
|
@@ -7,4 +7,8 @@ export declare class GlobalSettings {
|
|
|
7
7
|
/**To Set LanguageMode To MultipleLanguageText */
|
|
8
8
|
LanguageMode: LanguageMode;
|
|
9
9
|
HideAstericsWhenRequired: boolean;
|
|
10
|
+
MaxLengthWarningLimit: number;
|
|
11
|
+
MaxLengthTextBox: number;
|
|
12
|
+
MaxLengthTextArea: number;
|
|
13
|
+
DefaultImageSrc: string;
|
|
10
14
|
}
|
|
@@ -27,6 +27,8 @@ export declare class DateInputComponent implements OnInit {
|
|
|
27
27
|
markAllAsTouched: boolean;
|
|
28
28
|
validationRules: any[];
|
|
29
29
|
validationRulesasync: any[];
|
|
30
|
+
comparedControl: AbstractControl;
|
|
31
|
+
dateError: boolean;
|
|
30
32
|
ngOnInit(): void;
|
|
31
33
|
ngAfterViewInit(): void;
|
|
32
34
|
resetError: () => void;
|
|
@@ -37,6 +39,13 @@ export declare class DateInputComponent implements OnInit {
|
|
|
37
39
|
getPickerType(type: number): string;
|
|
38
40
|
getStartView(type: number): string;
|
|
39
41
|
onDateSelect(item: any): void;
|
|
42
|
+
subscribeDateChanges(): void;
|
|
43
|
+
checkIfEndDateAfterStartDate: () => {
|
|
44
|
+
InvalidEndDate: boolean;
|
|
45
|
+
};
|
|
46
|
+
checkIfStartDateBeForEndDate: () => {
|
|
47
|
+
InvalidStartDate: boolean;
|
|
48
|
+
};
|
|
40
49
|
RemoveRequiredValidation: () => void;
|
|
41
50
|
AddRequiredValidation: () => void;
|
|
42
51
|
RemoveCustomValidation: (CustomValidation: any) => void;
|
|
@@ -38,6 +38,17 @@ export declare class MultiLingualTextAreaComponent implements OnInit {
|
|
|
38
38
|
markAllAsTouched: boolean;
|
|
39
39
|
ArabicLetterOnly: string;
|
|
40
40
|
EnglishLetterOnly: string;
|
|
41
|
+
minCharsLimit: number;
|
|
42
|
+
englishCurrentCharsCount: number;
|
|
43
|
+
arabicCurrentCharsCount: number;
|
|
44
|
+
showEnglishCharsLimitMsg: boolean;
|
|
45
|
+
showArabicCharsLimitMsg: boolean;
|
|
46
|
+
hasEnglishCharsLimitValidationError: boolean;
|
|
47
|
+
hasArabicCharsLimitValidationError: boolean;
|
|
48
|
+
englishCharsLimitMsgClass: string;
|
|
49
|
+
arabicCharsLimitMsgClass: string;
|
|
50
|
+
englishMaxLimitWarningMsg: string;
|
|
51
|
+
arabicMaxLimitWarningMsg: string;
|
|
41
52
|
getCustomErrorsMassages(): void;
|
|
42
53
|
ngOnInit(): Promise<void>;
|
|
43
54
|
onTextChange(): void;
|
|
@@ -48,8 +59,8 @@ export declare class MultiLingualTextAreaComponent implements OnInit {
|
|
|
48
59
|
trimControlValue(type: string): void;
|
|
49
60
|
copyInputMessage(inputElement: any): void;
|
|
50
61
|
showInputUsingLanguageMode(): void;
|
|
51
|
-
|
|
52
|
-
|
|
62
|
+
onArabicFocus(isFocus: boolean): void;
|
|
63
|
+
onEnglishFocus(isFocus: boolean): void;
|
|
53
64
|
RemoveRequiredValidation: () => void;
|
|
54
65
|
AddRequiredValidation: () => void;
|
|
55
66
|
RemoveCustomValidation: (CustomValidation: any) => void;
|
|
@@ -37,6 +37,17 @@ export declare class MultiLingualTextBoxComponent implements OnInit {
|
|
|
37
37
|
markAllAsTouched: boolean;
|
|
38
38
|
ArabicLetterOnly: string;
|
|
39
39
|
EnglishLetterOnly: string;
|
|
40
|
+
minCharsLimit: number;
|
|
41
|
+
englishCurrentCharsCount: number;
|
|
42
|
+
arabicCurrentCharsCount: number;
|
|
43
|
+
showEnglishCharsLimitMsg: boolean;
|
|
44
|
+
showArabicCharsLimitMsg: boolean;
|
|
45
|
+
hasEnglishCharsLimitValidationError: boolean;
|
|
46
|
+
hasArabicCharsLimitValidationError: boolean;
|
|
47
|
+
englishCharsLimitMsgClass: string;
|
|
48
|
+
arabicCharsLimitMsgClass: string;
|
|
49
|
+
englishMaxLimitWarningMsg: string;
|
|
50
|
+
arabicMaxLimitWarningMsg: string;
|
|
40
51
|
getCustomErrorsMassages(): void;
|
|
41
52
|
ngOnInit(): Promise<void>;
|
|
42
53
|
onTextChange(): void;
|
|
@@ -52,6 +63,6 @@ export declare class MultiLingualTextBoxComponent implements OnInit {
|
|
|
52
63
|
trimControlValue(type: string): void;
|
|
53
64
|
copyInputMessage(inputElement: any): void;
|
|
54
65
|
showInputUsingLanguageMode(): void;
|
|
55
|
-
|
|
56
|
-
|
|
66
|
+
onArabicFocus(isFocus: boolean): void;
|
|
67
|
+
onEnglishFocus(isFocus: boolean): void;
|
|
57
68
|
}
|
|
@@ -23,6 +23,12 @@ export declare class TextAreaComponent implements OnInit {
|
|
|
23
23
|
markAllAsTouched: boolean;
|
|
24
24
|
validationRules: any[];
|
|
25
25
|
validationRulesasync: any[];
|
|
26
|
+
currentCharsCount: number;
|
|
27
|
+
showCharsLimitMsg: boolean;
|
|
28
|
+
hasCharsLimitValidationError: boolean;
|
|
29
|
+
charsLimitMsgClass: string;
|
|
30
|
+
minCharsLimit: number;
|
|
31
|
+
maxLimitWarningMsg: string;
|
|
26
32
|
ngOnInit(): void;
|
|
27
33
|
ngAfterViewInit(): void;
|
|
28
34
|
resetError: () => void;
|
|
@@ -32,7 +38,7 @@ export declare class TextAreaComponent implements OnInit {
|
|
|
32
38
|
trimControlValue(): void;
|
|
33
39
|
copyInputMessage(inputElement: any): void;
|
|
34
40
|
onTextChange(): void;
|
|
35
|
-
|
|
41
|
+
onFocus(isFocus: boolean): void;
|
|
36
42
|
RemoveRequiredValidation: () => void;
|
|
37
43
|
AddRequiredValidation: () => void;
|
|
38
44
|
RemoveCustomValidation: (CustomValidation: any) => void;
|
|
@@ -8,7 +8,7 @@ export declare class TextboxComponent implements OnInit {
|
|
|
8
8
|
private controlUtility;
|
|
9
9
|
private controlContainer;
|
|
10
10
|
TextControlHost: FormGroupDirective;
|
|
11
|
-
|
|
11
|
+
UtilityService: UtilityService;
|
|
12
12
|
private controlValidationService;
|
|
13
13
|
private globalSettings;
|
|
14
14
|
static controlContainerstatic: any;
|
|
@@ -32,7 +32,12 @@ export declare class TextboxComponent implements OnInit {
|
|
|
32
32
|
markAllAsTouched: boolean;
|
|
33
33
|
validationRules: any[];
|
|
34
34
|
validationRulesasync: any[];
|
|
35
|
-
|
|
35
|
+
currentCharsCount: number;
|
|
36
|
+
showCharsLimitMsg: boolean;
|
|
37
|
+
hasCharsLimitValidationError: boolean;
|
|
38
|
+
charsLimitMsgClass: string;
|
|
39
|
+
minCharsLimit: number;
|
|
40
|
+
maxLimitWarningMsg: string;
|
|
36
41
|
ngOnInit(): void;
|
|
37
42
|
ngAfterViewInit(): void;
|
|
38
43
|
resetError: () => void;
|
|
@@ -43,7 +48,7 @@ export declare class TextboxComponent implements OnInit {
|
|
|
43
48
|
copyInputMessage(inputElement: any): void;
|
|
44
49
|
getCustomErrorsMassages(): void;
|
|
45
50
|
onTextChange(): void;
|
|
46
|
-
|
|
51
|
+
onFocus(isFocus: boolean): void;
|
|
47
52
|
RemoveRequiredValidation: () => void;
|
|
48
53
|
AddRequiredValidation: () => void;
|
|
49
54
|
RemoveCustomValidation: (CustomValidation: any) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bnsights/bbsf-controls",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.33",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "~12.2.12",
|
|
6
6
|
"@angular/core": "~12.2.12"
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@angular/platform-browser": "~12.2.12",
|
|
22
22
|
"@angular/platform-browser-dynamic": "~12.2.12",
|
|
23
23
|
"@angular/router": "~12.2.12",
|
|
24
|
-
"@bnsights/bbsf-utilities": "1.0.
|
|
24
|
+
"@bnsights/bbsf-utilities": "1.0.15",
|
|
25
25
|
"@fortawesome/fontawesome-free": "^5.15.2",
|
|
26
26
|
"google-libphonenumber": "^3.2.17",
|
|
27
27
|
"@fullcalendar/angular": "^5.5.0",
|
|
@@ -41,7 +41,6 @@
|
|
|
41
41
|
"@syncfusion/ej2-angular-popups": "^18.4.44",
|
|
42
42
|
"angular-cropperjs": "^1.0.2",
|
|
43
43
|
"angular-froala-wysiwyg": "^3.2.6-1",
|
|
44
|
-
"angular-ng-autocomplete": "^2.0.5",
|
|
45
44
|
"angular2-multiselect-dropdown": "^4.6.9",
|
|
46
45
|
"bootstrap": "^4.6.0",
|
|
47
46
|
"class-transformer": "^0.5.1",
|
package/src/lib/assets/Style.css
CHANGED
|
@@ -806,7 +806,7 @@ span.ng-value-label {
|
|
|
806
806
|
|
|
807
807
|
|
|
808
808
|
textarea.bnsights-control.form-control {
|
|
809
|
-
height: 92px !important;
|
|
809
|
+
/* height: 92px !important; */
|
|
810
810
|
resize: none;
|
|
811
811
|
}
|
|
812
812
|
|
|
@@ -1141,3 +1141,7 @@ button.swal2-cancel {
|
|
|
1141
1141
|
.cdk-overlay-container {
|
|
1142
1142
|
z-index: 1060 !important;
|
|
1143
1143
|
}
|
|
1144
|
+
/*table with control remove margin*/
|
|
1145
|
+
.table-w-control .b-control .form-group {
|
|
1146
|
+
margin-bottom: 0px;
|
|
1147
|
+
}
|
|
Binary file
|