@bnsights/bbsf-controls 1.0.171 → 1.0.173
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 +10 -0
- package/esm2022/lib/Shared/Models/AutocompleteOptions.mjs +16 -1
- package/esm2022/lib/Shared/Models/ControlOptionsBase.mjs +5 -1
- package/esm2022/lib/Shared/Models/DatePickerOptions.mjs +17 -1
- package/esm2022/lib/Shared/Models/DropdownOptions.mjs +23 -1
- package/esm2022/lib/Shared/Models/MultiLingualTextBoxOptions.mjs +4 -1
- package/esm2022/lib/Shared/Models/MultilingualControlOptionsBase.mjs +6 -1
- package/esm2022/lib/Shared/Models/PhoneOptions.mjs +4 -1
- package/esm2022/lib/Shared/Models/RadioButtonOptions.mjs +4 -1
- package/esm2022/lib/Shared/Models/TagsInputOptions.mjs +16 -1
- package/esm2022/lib/Shared/Models/TextAreaOptions.mjs +4 -1
- package/esm2022/lib/Shared/Models/TextBoxOptions.mjs +4 -1
- package/esm2022/lib/controls/AutocompleteTextBox/AutocompleteTextBox.component.mjs +8 -4
- package/esm2022/lib/controls/DateTimePicker/DateTimePicker.component.mjs +20 -9
- package/esm2022/lib/controls/DropdownList/DropdownList.component.mjs +47 -14
- package/esm2022/lib/controls/FileUplaod/FileUplaod.component.mjs +18 -1
- package/esm2022/lib/controls/MultiLingualTextBox/MultiLingualTextBox.component.mjs +29 -21
- package/esm2022/lib/controls/TagsInput/TagsInput.component.mjs +1 -1
- package/fesm2022/bnsights-bbsf-controls.mjs +208 -44
- package/fesm2022/bnsights-bbsf-controls.mjs.map +1 -1
- package/lib/Shared/Models/AutocompleteOptions.d.ts +1 -0
- package/lib/Shared/Models/ControlOptionsBase.d.ts +4 -3
- package/lib/Shared/Models/DatePickerOptions.d.ts +1 -0
- package/lib/Shared/Models/DropdownOptions.d.ts +1 -0
- package/lib/Shared/Models/MultiLingualTextBoxOptions.d.ts +1 -0
- package/lib/Shared/Models/MultilingualControlOptionsBase.d.ts +2 -0
- package/lib/Shared/Models/PhoneOptions.d.ts +1 -0
- package/lib/Shared/Models/RadioButtonOptions.d.ts +1 -0
- package/lib/Shared/Models/TagsInputOptions.d.ts +1 -0
- package/lib/Shared/Models/TextAreaOptions.d.ts +1 -0
- package/lib/Shared/Models/TextBoxOptions.d.ts +1 -0
- package/lib/controls/DropdownList/DropdownList.component.d.ts +4 -2
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ControlLayout } from
|
|
1
|
+
import { ControlLayout } from '../Enums/ControlLayout';
|
|
2
2
|
import { Attribute } from './Attribute';
|
|
3
|
-
import { CustomValidation } from
|
|
3
|
+
import { CustomValidation } from './CustomValidation';
|
|
4
4
|
export declare class ControlOptionsBase {
|
|
5
5
|
/** Represent Name Of Form Control*/
|
|
6
6
|
name: string;
|
|
@@ -21,7 +21,7 @@ export declare class ControlOptionsBase {
|
|
|
21
21
|
* if ForceAsterisk=true and IsRequired=True his display "*" ,
|
|
22
22
|
* if ForceAsterisk=false and IsRequired=false this remove "*",
|
|
23
23
|
*if ForceAsterisk=false and IsRequired=True this display "*" ,
|
|
24
|
-
|
|
24
|
+
*/
|
|
25
25
|
showAsterisk: boolean;
|
|
26
26
|
/** Ability to set Control required */
|
|
27
27
|
isRequired: boolean;
|
|
@@ -43,4 +43,5 @@ export declare class ControlOptionsBase {
|
|
|
43
43
|
isReadonly: boolean;
|
|
44
44
|
/** Set output function for repeater */
|
|
45
45
|
outputFunction: Function;
|
|
46
|
+
get displayValue(): any;
|
|
46
47
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OnInit, EventEmitter } from '@angular/core';
|
|
1
|
+
import { OnInit, EventEmitter, DoCheck } from '@angular/core';
|
|
2
2
|
import { FormGroup, AbstractControl, FormGroupDirective, ControlContainer } from '@angular/forms';
|
|
3
3
|
import { ControlUtility } from '../../Shared/services/ControlUtility';
|
|
4
4
|
import { DropdownOptions } from '../../Shared/Models/DropdownOptions';
|
|
@@ -8,7 +8,7 @@ import { ControlValidationService, UtilityService } from '@bnsights/bbsf-utiliti
|
|
|
8
8
|
import { GlobalSettings } from '../../Shared/services/GlobalSettings.service';
|
|
9
9
|
import { ForceDirection } from '../../Shared/Enums/ForceDirection';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
|
-
export declare class DropdownListComponent implements OnInit {
|
|
11
|
+
export declare class DropdownListComponent implements OnInit, DoCheck {
|
|
12
12
|
private onChangeService;
|
|
13
13
|
private controlUtility;
|
|
14
14
|
private controlContainer;
|
|
@@ -33,7 +33,9 @@ export declare class DropdownListComponent implements OnInit {
|
|
|
33
33
|
validationRulesasync: any[];
|
|
34
34
|
textDir: any;
|
|
35
35
|
ForceDirection: typeof ForceDirection;
|
|
36
|
+
private previousSelectedItems;
|
|
36
37
|
ngOnInit(): void;
|
|
38
|
+
ngDoCheck(): void;
|
|
37
39
|
ngAfterViewInit(): void;
|
|
38
40
|
resetError: () => void;
|
|
39
41
|
showGlobalError(): void;
|