@bnsights/bbsf-controls 1.0.115 → 1.0.117
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/bnsights-test-test-controls.mjs +5 -0
- package/esm2022/lib/Shared/Models/EnglishArabicDTO.mjs +8 -9
- package/esm2022/lib/Shared/Models/FormOptions.mjs +4 -2
- package/esm2022/lib/controls/AutocompleteTextBox/AutocompleteTextBox.component.mjs +27 -25
- package/esm2022/lib/controls/Form/Form.component.mjs +4 -4
- package/esm2022/lib/controls/MultiLingualTextArea/MultiLingualTextArea.component.mjs +12 -9
- package/esm2022/lib/controls/MultiLingualTextBox/MultiLingualTextBox.component.mjs +37 -36
- package/fesm2022/bnsights-bbsf-controls.mjs +92 -85
- package/fesm2022/bnsights-bbsf-controls.mjs.map +1 -1
- package/fesm2022/bnsights-test-test-controls.mjs +9278 -0
- package/fesm2022/bnsights-test-test-controls.mjs.map +1 -0
- package/lib/Shared/Models/FormOptions.d.ts +1 -0
- package/lib/controls/AutocompleteTextBox/AutocompleteTextBox.component.d.ts +3 -3
- package/lib/controls/MultiLingualTextBox/MultiLingualTextBox.component.d.ts +8 -4
- package/package.json +1 -1
- package/bnsights-bbsf-controls-1.0.115.tgz +0 -0
|
@@ -2,6 +2,7 @@ import { FormGroup } from '@angular/forms';
|
|
|
2
2
|
import { PagingActionMode } from '../Enums/PagingActionMode';
|
|
3
3
|
import { PagingComponent } from '../../controls/Paging/Paging.component';
|
|
4
4
|
export declare class FormOptions {
|
|
5
|
+
formName: string;
|
|
5
6
|
formGroup: FormGroup;
|
|
6
7
|
pagingReference: PagingComponent<any>;
|
|
7
8
|
pagingActionMode: PagingActionMode;
|
|
@@ -34,7 +34,6 @@ export declare class AutocompleteTextBoxComponent implements OnInit {
|
|
|
34
34
|
newSelectionValidationKey: string;
|
|
35
35
|
markAllAsTouched: boolean;
|
|
36
36
|
validationRules: any[];
|
|
37
|
-
newSelectionValidation: CustomValidation;
|
|
38
37
|
validationRulesasync: any[];
|
|
39
38
|
dataSource: Observable<any>;
|
|
40
39
|
suggestions$: Observable<any[]>;
|
|
@@ -43,12 +42,13 @@ export declare class AutocompleteTextBoxComponent implements OnInit {
|
|
|
43
42
|
SelectedValue: string;
|
|
44
43
|
avatarImage: string;
|
|
45
44
|
textDir: any;
|
|
45
|
+
newSelectionValidation: CustomValidation;
|
|
46
46
|
ngOnInit(): void;
|
|
47
|
-
loadValidator()
|
|
47
|
+
loadValidator: () => void;
|
|
48
48
|
ngAfterViewInit(): void;
|
|
49
49
|
resetError: () => void;
|
|
50
50
|
showGlobalError(): void;
|
|
51
|
-
getErrorValidation(ErrorList: any)
|
|
51
|
+
getErrorValidation: (ErrorList: any) => string;
|
|
52
52
|
copyInputMessage(inputElement: any): void;
|
|
53
53
|
selectEvent(item: any): void;
|
|
54
54
|
onChangeSearch(search: string): Promise<void>;
|
|
@@ -3,7 +3,9 @@ import { FormGroup, AbstractControl, ControlContainer, FormGroupDirective } from
|
|
|
3
3
|
import { ControlUtility } from '../../Shared/services/ControlUtility';
|
|
4
4
|
import { BBSFTranslateService, ControlValidationService, UtilityService } from '@bnsights/bbsf-utilities';
|
|
5
5
|
import { GlobalSettings } from '../../Shared/services/GlobalSettings.service';
|
|
6
|
+
import { ControlLayout } from '../../Shared/Enums/ControlLayout';
|
|
6
7
|
import { MultiLingualTextBoxOptions } from '../../Shared/Models/MultiLingualTextBoxOptions';
|
|
8
|
+
import { IconPosition } from '../../Shared/Enums/IconPosition';
|
|
7
9
|
import * as i0 from "@angular/core";
|
|
8
10
|
export declare class MultiLingualTextBoxComponent implements OnInit {
|
|
9
11
|
multiLingualTextBoxFormControlHost: FormGroupDirective;
|
|
@@ -13,15 +15,17 @@ export declare class MultiLingualTextBoxComponent implements OnInit {
|
|
|
13
15
|
private translate;
|
|
14
16
|
private controlValidationService;
|
|
15
17
|
private globalSettings;
|
|
16
|
-
static
|
|
18
|
+
static controlContainerStatic: any;
|
|
17
19
|
constructor(multiLingualTextBoxFormControlHost: FormGroupDirective, controlContainer: ControlContainer, controlUtility: ControlUtility, utilityService: UtilityService, translate: BBSFTranslateService, controlValidationService: ControlValidationService, globalSettings: GlobalSettings);
|
|
18
20
|
group: FormGroup;
|
|
19
21
|
options: MultiLingualTextBoxOptions;
|
|
20
22
|
onChange: EventEmitter<any>;
|
|
23
|
+
ControlLayout: typeof ControlLayout;
|
|
24
|
+
IconPosition: typeof IconPosition;
|
|
21
25
|
arabicFormControl: AbstractControl;
|
|
22
26
|
englishFormControl: AbstractControl;
|
|
23
27
|
multiFormControl: AbstractControl;
|
|
24
|
-
|
|
28
|
+
multiLanguageGroup: FormGroup;
|
|
25
29
|
arabicWordCount: number;
|
|
26
30
|
arabicWordCountArray: number;
|
|
27
31
|
englishWordCount: number;
|
|
@@ -30,9 +34,9 @@ export declare class MultiLingualTextBoxComponent implements OnInit {
|
|
|
30
34
|
showArabicTextBox: boolean;
|
|
31
35
|
showEnglishTextBox: boolean;
|
|
32
36
|
arabicValidationRules: any[];
|
|
33
|
-
|
|
37
|
+
arabicValidationRulesAsync: any[];
|
|
34
38
|
englishValidationRules: any[];
|
|
35
|
-
|
|
39
|
+
englishValidationRulesAsync: any[];
|
|
36
40
|
isShowArabicWordCount: boolean;
|
|
37
41
|
isShowEnglishWordCount: boolean;
|
|
38
42
|
isShowAsteriskInArabic: boolean;
|
package/package.json
CHANGED
|
Binary file
|