@bnsights/bbsf-controls 1.0.41 → 1.0.44
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 +17 -0
- package/bnsights-bbsf-controls-1.0.44.tgz +0 -0
- package/bnsights-bbsf-controls.metadata.json +1 -1
- package/bundles/bnsights-bbsf-controls.umd.js +124 -52
- package/bundles/bnsights-bbsf-controls.umd.js.map +1 -1
- package/esm2015/lib/Shared/Enums/Enums.js +2 -1
- package/esm2015/lib/Shared/Enums/FileType.js +2 -2
- package/esm2015/lib/Shared/Models/ControlOptionsBase.js +3 -1
- package/esm2015/lib/Shared/Models/DropdownOptions.js +1 -1
- package/esm2015/lib/Shared/Models/FileDTO.js +1 -1
- package/esm2015/lib/Shared/Models/MultilingualTextBoxOptions.js +3 -1
- package/esm2015/lib/Shared/Models/MultipleFileUploadModel.js +1 -1
- package/esm2015/lib/Shared/Models/TagsInputOptions.js +1 -3
- package/esm2015/lib/Shared/Models/TextBoxOptions.js +3 -3
- package/esm2015/lib/Shared/Models/datePickerOptions.js +3 -1
- package/esm2015/lib/Shared/services/render-component-service.service.js +13 -2
- package/esm2015/lib/controls/DateTimePicker/DateTimePicker.component.js +2 -2
- package/esm2015/lib/controls/DropdownList/DropdownList.component.js +4 -4
- package/esm2015/lib/controls/FileUplaod/FileUplaod.component.js +50 -33
- package/esm2015/lib/controls/Form/Form.component.js +13 -2
- package/esm2015/lib/controls/MultiLingualTextBox/MultiLingualTextBox.component.js +4 -4
- package/esm2015/lib/controls/Paging/Paging.component.js +29 -2
- package/esm2015/lib/controls/TagsInput/TagsInput.component.js +4 -2
- package/esm2015/lib/controls/TextBox/TextBox.component.js +2 -2
- package/esm2015/lib/controls/Toggleslide/toggleslide.component.js +2 -5
- package/fesm2015/bnsights-bbsf-controls.js +122 -52
- package/fesm2015/bnsights-bbsf-controls.js.map +1 -1
- package/lib/Shared/Enums/Enums.d.ts +2 -1
- package/lib/Shared/Enums/FileType.d.ts +1 -1
- package/lib/Shared/Models/DropdownOptions.d.ts +1 -1
- package/lib/Shared/Models/FileDTO.d.ts +1 -1
- package/lib/Shared/Models/MultilingualTextBoxOptions.d.ts +2 -0
- package/lib/Shared/Models/MultipleFileUploadModel.d.ts +1 -1
- package/lib/Shared/Models/TextBoxOptions.d.ts +1 -1
- package/lib/Shared/services/render-component-service.service.d.ts +1 -1
- package/lib/controls/DropdownList/DropdownList.component.d.ts +2 -2
- package/lib/controls/FileUplaod/FileUplaod.component.d.ts +4 -1
- package/lib/controls/Form/Form.component.d.ts +4 -1
- package/lib/controls/Paging/Paging.component.d.ts +3 -0
- package/package.json +2 -2
- package/bnsights-bbsf-controls-1.0.41.tgz +0 -0
|
@@ -25,5 +25,6 @@ export declare enum DataType {
|
|
|
25
25
|
Challenge = "48C419CE-5306-4F6B-87A3-F016E522D9E3",
|
|
26
26
|
CoverPhoto = "9CC8C0BB-C670-466F-A632-8632FF5C1296",
|
|
27
27
|
InnovationLab = "4B914ED0-8B36-4E24-B85E-9A04C9F266BE",
|
|
28
|
-
Country = "342AA701-76C7-4E5D-8056-407BFC86F888"
|
|
28
|
+
Country = "342AA701-76C7-4E5D-8056-407BFC86F888",
|
|
29
|
+
AreaOfFocus = "06a4cfb7-216a-4a60-8388-7a859aab90b4"
|
|
29
30
|
}
|
|
@@ -9,7 +9,7 @@ export declare enum FileType {
|
|
|
9
9
|
ZIP = "application/zip",
|
|
10
10
|
RAR = "application/x-rar-compressed",
|
|
11
11
|
VIDEO = "video/webm,video/ogg,video/mp4,video/quicktime,video/x-msvideo,video/x-ms-wmv",
|
|
12
|
-
License = "application/
|
|
12
|
+
License = "application/BN",
|
|
13
13
|
Xml = "text/xml",
|
|
14
14
|
OctetSteam = "application/octet-stream",
|
|
15
15
|
Txt = "text/plain",
|
|
@@ -8,7 +8,7 @@ export declare class DropdownOptions extends ControlOptionsBase {
|
|
|
8
8
|
SelectedItems: any;
|
|
9
9
|
/** Disable Bootstrap DropdownList */
|
|
10
10
|
DisableBootstrapSelect: boolean;
|
|
11
|
-
/** to set DropdownList in SingleMode Or MultibleMode */
|
|
11
|
+
/** to set DropdownList in SingleMode Or MultibleMode ,,If false => DisableBootstrapSelect must be equal false */
|
|
12
12
|
SingleSelection: boolean;
|
|
13
13
|
/** to set Number Of selected Element That will Show In The Box */
|
|
14
14
|
ItemsShowLimit: number;
|
|
@@ -7,4 +7,6 @@ export declare class MultiLingualTextBoxOptions extends MultilingualControlOptio
|
|
|
7
7
|
IconPositionAR: IconPosition;
|
|
8
8
|
MultiControlPlacementType: ControlLayout;
|
|
9
9
|
MaxLengthWarningLimit: number;
|
|
10
|
+
/**Prevent AutoComplete of inputs default value is "on" available values "on" and "off"*/
|
|
11
|
+
AutoComplete: string;
|
|
10
12
|
}
|
|
@@ -13,7 +13,7 @@ export declare class TextBoxOptions extends ControlOptionsBase {
|
|
|
13
13
|
MaxWordCount: number;
|
|
14
14
|
/** set Range Number to Textbox with type number with From-Value and To-value*/
|
|
15
15
|
NumberRange: RangeNumber;
|
|
16
|
-
/**Prevent AutoComplete of textbox*/
|
|
16
|
+
/**Prevent AutoComplete of textbox default value is "on" available values "on" and "off"*/
|
|
17
17
|
AutoComplete: string;
|
|
18
18
|
/** text input on change */
|
|
19
19
|
TrimTextOnChange: boolean;
|
|
@@ -3,5 +3,5 @@ import { FormGroup } from '@angular/forms';
|
|
|
3
3
|
export declare class RenderComponentService {
|
|
4
4
|
private componentFactoryResolver;
|
|
5
5
|
constructor(componentFactoryResolver: ComponentFactoryResolver);
|
|
6
|
-
renderDynamicComponent<T>(viewContainerRef: ViewContainerRef, component: any, group: FormGroup, options: any): void;
|
|
6
|
+
renderDynamicComponent<T>(viewContainerRef: ViewContainerRef, component: any, group: FormGroup, options: any, size?: number): void;
|
|
7
7
|
}
|
|
@@ -11,7 +11,7 @@ export declare class DropdownListComponent implements OnInit {
|
|
|
11
11
|
private controlUtility;
|
|
12
12
|
private controlContainer;
|
|
13
13
|
DropdownListControlHost: FormGroupDirective;
|
|
14
|
-
|
|
14
|
+
UtilityService: UtilityService;
|
|
15
15
|
private controlValidationService;
|
|
16
16
|
private globalSettings;
|
|
17
17
|
static controlContainerstatic: any;
|
|
@@ -33,7 +33,7 @@ export declare class DropdownListComponent implements OnInit {
|
|
|
33
33
|
resetError: () => void;
|
|
34
34
|
showGlobalError(): void;
|
|
35
35
|
getErrorValidation(ErrorList: any): string;
|
|
36
|
-
onItemSelect(
|
|
36
|
+
onItemSelect(): void;
|
|
37
37
|
Clear(): void;
|
|
38
38
|
onSelectAll(items: any): void;
|
|
39
39
|
onDeselect(items: any): void;
|
|
@@ -7,11 +7,12 @@ import { FileUploadModel } from '../../Shared/Models/FileUploadModel';
|
|
|
7
7
|
import { MultipleFileUploadModel } from '../../Shared/Models/MultipleFileUploadModel';
|
|
8
8
|
import { ControlValidationService, UtilityService } from '@bnsights/bbsf-utilities';
|
|
9
9
|
import { GlobalSettings } from '../../Shared/services/GlobalSettings.service';
|
|
10
|
+
import { FileDTO } from '../../Shared/Models/FileDTO';
|
|
10
11
|
export declare class FileUploadComponent implements OnInit {
|
|
11
12
|
private controlContainer;
|
|
12
13
|
MultipleFileUplaodControlHost: FormGroupDirective;
|
|
13
14
|
private controlUtility;
|
|
14
|
-
|
|
15
|
+
UtilityService: UtilityService;
|
|
15
16
|
private controlValidationService;
|
|
16
17
|
private globalSettings;
|
|
17
18
|
static controlContainerstatic: any;
|
|
@@ -33,6 +34,8 @@ export declare class FileUploadComponent implements OnInit {
|
|
|
33
34
|
validationRulesasync: any[];
|
|
34
35
|
fileUploadModel: FileUploadModel;
|
|
35
36
|
multipleFileUploadModel: MultipleFileUploadModel;
|
|
37
|
+
file: any;
|
|
38
|
+
deletedFiles: FileDTO[];
|
|
36
39
|
constructor(controlContainer: ControlContainer, MultipleFileUplaodControlHost: FormGroupDirective, controlUtility: ControlUtility, UtilityService: UtilityService, controlValidationService: ControlValidationService, globalSettings: GlobalSettings);
|
|
37
40
|
ngOnInit(): void;
|
|
38
41
|
ngAfterViewInit(): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
1
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
2
|
import { NgbActiveModal, NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
3
3
|
import { ControlValidationService, UtilityService } from '@bnsights/bbsf-utilities';
|
|
4
4
|
import { FormOptions } from '../../Shared/Models/FormOptions';
|
|
@@ -12,9 +12,12 @@ export declare class FormComponent implements OnInit {
|
|
|
12
12
|
private ngbActiveModal;
|
|
13
13
|
private router;
|
|
14
14
|
fromName: string;
|
|
15
|
+
isChange: boolean;
|
|
16
|
+
OnChange: EventEmitter<any>;
|
|
15
17
|
constructor(controlUtility: ControlUtility, utilityService: UtilityService, controlValidationService: ControlValidationService, modalService: NgbModal, ngbActiveModal: NgbActiveModal, router: Router);
|
|
16
18
|
options: FormOptions;
|
|
17
19
|
ngOnInit(): void;
|
|
20
|
+
ngAfterViewInit(): void;
|
|
18
21
|
submit(): void;
|
|
19
22
|
private handleError;
|
|
20
23
|
showGlobalError(): void;
|
|
@@ -18,6 +18,8 @@ export declare class PagingComponent<T> implements OnInit {
|
|
|
18
18
|
totalRow: any;
|
|
19
19
|
pageSize: any;
|
|
20
20
|
Pages: any;
|
|
21
|
+
pagesText: string;
|
|
22
|
+
itemsText: string;
|
|
21
23
|
CurrentPage: any;
|
|
22
24
|
ShowPageSizeOption: boolean;
|
|
23
25
|
ShowFirstAndLast: boolean;
|
|
@@ -43,4 +45,5 @@ export declare class PagingComponent<T> implements OnInit {
|
|
|
43
45
|
ReinitializePaging: () => void;
|
|
44
46
|
UpdatePaging: () => void;
|
|
45
47
|
castItems(objectArr: any[]): T[];
|
|
48
|
+
setText(pagesNumber: number, itemsNumber: number): void;
|
|
46
49
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bnsights/bbsf-controls",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.44",
|
|
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.20",
|
|
25
25
|
"@fortawesome/fontawesome-free": "^5.15.2",
|
|
26
26
|
"google-libphonenumber": "^3.2.17",
|
|
27
27
|
"@fullcalendar/angular": "^5.5.0",
|
|
Binary file
|