@bnsights/bbsf-controls 1.0.113 → 1.0.115
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 +12 -1
- package/bnsights-bbsf-controls-1.0.115.tgz +0 -0
- package/esm2022/lib/Shared/Models/AutocompleteDTO.mjs +1 -1
- package/esm2022/lib/Shared/Models/AutocompleteOptions.mjs +1 -1
- package/esm2022/lib/Shared/Models/FormOptions.mjs +3 -1
- package/esm2022/lib/Shared/Models/TagsInputOptions.mjs +1 -1
- package/esm2022/lib/controls/AutocompleteTextBox/AutocompleteTextBox.component.mjs +26 -11
- package/esm2022/lib/controls/Form/Form.component.mjs +3 -3
- package/esm2022/lib/controls/TagsInput/TagsInput.component.mjs +27 -15
- package/esm2022/lib/controls/page-header-component/page-header-component.component.mjs +1 -1
- package/fesm2022/bnsights-bbsf-controls.mjs +69 -41
- package/fesm2022/bnsights-bbsf-controls.mjs.map +1 -1
- package/lib/Shared/Models/AutocompleteOptions.d.ts +2 -0
- package/lib/Shared/Models/FormOptions.d.ts +1 -0
- package/lib/Shared/Models/TagsInputOptions.d.ts +1 -1
- package/lib/controls/AutocompleteTextBox/AutocompleteTextBox.component.d.ts +5 -1
- package/lib/controls/TagsInput/TagsInput.component.d.ts +3 -1
- package/package.json +1 -1
- package/bnsights-bbsf-controls-1.0.113.tgz +0 -0
|
@@ -51,7 +51,7 @@ export declare class TagsInputOptions extends ControlOptionsBase {
|
|
|
51
51
|
allowNewSelection: boolean;
|
|
52
52
|
validationToken: string;
|
|
53
53
|
/**Set Extra Filters*/
|
|
54
|
-
extraFilters: string;
|
|
54
|
+
extraFilters: string | Function;
|
|
55
55
|
tagInputMode: TagInputView;
|
|
56
56
|
showDescription: boolean;
|
|
57
57
|
}
|
|
@@ -7,6 +7,7 @@ import { Observable } from 'rxjs';
|
|
|
7
7
|
import { HttpClient } from '@angular/common/http';
|
|
8
8
|
import { ControlValidationService, RequestHandlerService, UtilityService } from '@bnsights/bbsf-utilities';
|
|
9
9
|
import { GlobalSettings } from '../../Shared/services/GlobalSettings.service';
|
|
10
|
+
import { CustomValidation } from '../../Shared/Models/CustomValidation';
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
11
12
|
export declare class AutocompleteTextBoxComponent implements OnInit {
|
|
12
13
|
private http;
|
|
@@ -21,6 +22,7 @@ export declare class AutocompleteTextBoxComponent implements OnInit {
|
|
|
21
22
|
static controlContainerstatic: any;
|
|
22
23
|
constructor(http: HttpClient, ErrorHandler: ErrorMassageValidation, requestHandlerService: RequestHandlerService, controlUtility: ControlUtility, controlContainer: ControlContainer, autoCompleteTextBoxControlHost: FormGroupDirective, utilityService: UtilityService, controlValidationService: ControlValidationService, globalSettings: GlobalSettings);
|
|
23
24
|
group: FormGroup;
|
|
25
|
+
name: string;
|
|
24
26
|
options: AutocompleteOptions;
|
|
25
27
|
OnChange: EventEmitter<any>;
|
|
26
28
|
keyword: string;
|
|
@@ -32,6 +34,7 @@ export declare class AutocompleteTextBoxComponent implements OnInit {
|
|
|
32
34
|
newSelectionValidationKey: string;
|
|
33
35
|
markAllAsTouched: boolean;
|
|
34
36
|
validationRules: any[];
|
|
37
|
+
newSelectionValidation: CustomValidation;
|
|
35
38
|
validationRulesasync: any[];
|
|
36
39
|
dataSource: Observable<any>;
|
|
37
40
|
suggestions$: Observable<any[]>;
|
|
@@ -41,6 +44,7 @@ export declare class AutocompleteTextBoxComponent implements OnInit {
|
|
|
41
44
|
avatarImage: string;
|
|
42
45
|
textDir: any;
|
|
43
46
|
ngOnInit(): void;
|
|
47
|
+
loadValidator(): void;
|
|
44
48
|
ngAfterViewInit(): void;
|
|
45
49
|
resetError: () => void;
|
|
46
50
|
showGlobalError(): void;
|
|
@@ -55,5 +59,5 @@ export declare class AutocompleteTextBoxComponent implements OnInit {
|
|
|
55
59
|
addCustomValidation: (customValidation: any) => void;
|
|
56
60
|
isValid: () => void;
|
|
57
61
|
static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteTextBoxComponent, [null, null, null, null, { optional: true; }, null, null, null, null]>;
|
|
58
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteTextBoxComponent, "BBSF-AutocompleteTextBox", never, { "group": { "alias": "group"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "OnChange": "OnChange"; }, never, never, false, never>;
|
|
62
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteTextBoxComponent, "BBSF-AutocompleteTextBox", never, { "group": { "alias": "group"; "required": false; }; "name": { "alias": "name"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "OnChange": "OnChange"; }, never, never, false, never>;
|
|
59
63
|
}
|
|
@@ -19,9 +19,11 @@ export declare class TagsInputComponent implements OnInit, OnDestroy {
|
|
|
19
19
|
static controlContainerstatic: any;
|
|
20
20
|
constructor(http: HttpClient, controlUtility: ControlUtility, requestHandlerService: RequestHandlerService, controlContainer: ControlContainer, TagsInputControlHost: FormGroupDirective, utilityService: UtilityService, controlValidationService: ControlValidationService, globalSettings: GlobalSettings);
|
|
21
21
|
group: FormGroup;
|
|
22
|
+
name: string;
|
|
22
23
|
options: TagsInputOptions;
|
|
23
24
|
onChange: EventEmitter<any>;
|
|
24
25
|
searchKey: any;
|
|
26
|
+
searchKeyValue: string;
|
|
25
27
|
selectedId: any[];
|
|
26
28
|
tags: any[];
|
|
27
29
|
newSelectionValidationKey: string;
|
|
@@ -54,5 +56,5 @@ export declare class TagsInputComponent implements OnInit, OnDestroy {
|
|
|
54
56
|
onTagsInputBlur(SearchKey: any): void;
|
|
55
57
|
getTagsValue(): any[];
|
|
56
58
|
static ɵfac: i0.ɵɵFactoryDeclaration<TagsInputComponent, [null, null, null, { optional: true; }, null, null, null, null]>;
|
|
57
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TagsInputComponent, "BBSF-TagsInput", never, { "group": { "alias": "group"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "onChange": "onChange"; }, never, never, false, never>;
|
|
59
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TagsInputComponent, "BBSF-TagsInput", never, { "group": { "alias": "group"; "required": false; }; "name": { "alias": "name"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "onChange": "onChange"; }, never, never, false, never>;
|
|
58
60
|
}
|
package/package.json
CHANGED
|
Binary file
|