@bnsights/bbsf-controls 1.0.28 → 1.0.31
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 +2 -3
- package/bnsights-bbsf-controls-1.0.31.tgz +0 -0
- package/bnsights-bbsf-controls.metadata.json +1 -1
- package/bundles/bnsights-bbsf-controls.umd.js +524 -355
- package/bundles/bnsights-bbsf-controls.umd.js.map +1 -1
- package/esm2015/lib/Shared/Enums/LanguageValidation.js +6 -0
- package/esm2015/lib/Shared/Models/RepeaterField.js +1 -1
- package/esm2015/lib/Shared/Models/RepeaterOptions.js +2 -1
- package/esm2015/lib/Shared/Models/TextBoxOptions.js +3 -1
- package/esm2015/lib/controls/Repeater/repeater/repeater.component.js +15 -9
- package/esm2015/lib/controls/Repeater/repeater-field-builder/repeater-field-builder.component.js +376 -336
- package/esm2015/lib/controls/Repeater/repeater-table/repeater-table.component.js +105 -0
- package/esm2015/lib/controls/TextBox/TextBox.component.js +14 -13
- package/esm2015/lib/controls/bbsf-controls.module.js +4 -1
- package/esm2015/public-api.js +3 -1
- package/fesm2015/bnsights-bbsf-controls.js +515 -356
- package/fesm2015/bnsights-bbsf-controls.js.map +1 -1
- package/lib/Shared/Enums/LanguageValidation.d.ts +4 -0
- package/lib/Shared/Models/RepeaterField.d.ts +1 -0
- package/lib/Shared/Models/RepeaterOptions.d.ts +3 -0
- package/lib/Shared/Models/TextBoxOptions.d.ts +3 -0
- package/lib/controls/Repeater/repeater/repeater.component.d.ts +2 -1
- package/lib/controls/Repeater/repeater-field-builder/repeater-field-builder.component.d.ts +3 -0
- package/lib/controls/Repeater/repeater-table/repeater-table.component.d.ts +16 -0
- package/package.json +2 -2
- package/public-api.d.ts +2 -0
- package/src/lib/assets/Style.css +5 -1
- package/bnsights-bbsf-controls-1.0.28.tgz +0 -0
|
@@ -4,7 +4,10 @@ export declare class RepeaterOptions {
|
|
|
4
4
|
MinRequiredItems: number;
|
|
5
5
|
ExtraClasses: string;
|
|
6
6
|
Name: string;
|
|
7
|
+
ActionLabelKey: string;
|
|
7
8
|
AddButtonExtraClasses: string;
|
|
9
|
+
RepeaterTableExtraClasses: string;
|
|
10
|
+
RepeaterTableRowExtraClasses: string;
|
|
8
11
|
AddButtonText: string;
|
|
9
12
|
DeleteButtonExtraClasses: string;
|
|
10
13
|
DeleteButtonText: string;
|
|
@@ -5,6 +5,7 @@ import { RangeNumber } from './RangeNumber';
|
|
|
5
5
|
import { ForceDirection } from '../Enums/ForceDirection';
|
|
6
6
|
import { Attribute } from './Attribute';
|
|
7
7
|
import { IconPosition } from '../Enums/IconPosition';
|
|
8
|
+
import { LanguageValidation } from '../Enums/LanguageValidation';
|
|
8
9
|
export declare class TextBoxOptions {
|
|
9
10
|
/**
|
|
10
11
|
* Represent Name Of Form Control
|
|
@@ -58,6 +59,8 @@ export declare class TextBoxOptions {
|
|
|
58
59
|
CustomValidation: CustomValidation[];
|
|
59
60
|
/** to set Direction of textbox if textbox is Arabic or English */
|
|
60
61
|
ForceDirection: ForceDirection;
|
|
62
|
+
/** to set Language of textbox if textbox language is Arabic or English */
|
|
63
|
+
LanguageValidation: LanguageValidation;
|
|
61
64
|
/** Set Type of TextBox ("text","password","email","number") */
|
|
62
65
|
Type: InputType;
|
|
63
66
|
/** Set List of Custom Attribute to TextBox */
|
|
@@ -9,6 +9,7 @@ export declare class RepeaterComponent implements OnInit {
|
|
|
9
9
|
delete: TemplateRef<any>;
|
|
10
10
|
templateRefs: Array<TemplateRef<any>>;
|
|
11
11
|
items: number[];
|
|
12
|
+
originalItems: any[];
|
|
12
13
|
repeaterGroup: FormGroup;
|
|
13
14
|
currentTemplate: TemplateRef<any>;
|
|
14
15
|
repeaterContext: {
|
|
@@ -19,7 +20,7 @@ export declare class RepeaterComponent implements OnInit {
|
|
|
19
20
|
constructor();
|
|
20
21
|
ngOnInit(): void;
|
|
21
22
|
deleteItem(Index: any): void;
|
|
22
|
-
|
|
23
|
+
addItem(): void;
|
|
23
24
|
ngAfterViewInit(): void;
|
|
24
25
|
setCurrentIndex(i: number): void;
|
|
25
26
|
}
|
|
@@ -10,6 +10,9 @@ export declare class RepeaterFieldBuilderComponent implements OnInit, AfterViewI
|
|
|
10
10
|
itemNumber: number;
|
|
11
11
|
controlNumber: number;
|
|
12
12
|
RepeaterField: RepeaterField;
|
|
13
|
+
itemsValue: any[];
|
|
14
|
+
itemValue: any;
|
|
15
|
+
value: any;
|
|
13
16
|
constructor(renderComponentService: RenderComponentService, TextControlHost: FormGroupDirective);
|
|
14
17
|
ngOnInit(): void;
|
|
15
18
|
ngAfterViewInit(): void;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { RepeaterOptions } from '../../../Shared/Models/RepeaterOptions';
|
|
4
|
+
import { UtilityService } from '@bnsights/bbsf-utilities';
|
|
5
|
+
export declare class RepeaterTableComponent implements OnInit {
|
|
6
|
+
utilityService: UtilityService;
|
|
7
|
+
group: FormGroup;
|
|
8
|
+
options: RepeaterOptions;
|
|
9
|
+
items: number[];
|
|
10
|
+
repeaterGroup: FormGroup;
|
|
11
|
+
originalItems: any[];
|
|
12
|
+
constructor(utilityService: UtilityService);
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
deleteItem(Index: any): void;
|
|
15
|
+
addItem(): void;
|
|
16
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bnsights/bbsf-controls",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.31",
|
|
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.14",
|
|
25
25
|
"@fortawesome/fontawesome-free": "^5.15.2",
|
|
26
26
|
"google-libphonenumber": "^3.2.17",
|
|
27
27
|
"@fullcalendar/angular": "^5.5.0",
|
package/public-api.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ export * from './lib/controls/RadioButton/RadioButton.component';
|
|
|
23
23
|
export * from './lib/controls/ConfirmationModal/ConfirmationModal.component';
|
|
24
24
|
export * from './lib/controls/Form/Form.component';
|
|
25
25
|
export * from './lib/controls/Repeater/repeater/repeater.component';
|
|
26
|
+
export * from './lib/controls/Repeater/repeater-table/repeater-table.component';
|
|
26
27
|
export * from './lib/controls/Repeater/repeater-field-builder/repeater-field-builder.component';
|
|
27
28
|
export * from './lib/controls/Repeater/repeater-item-field/repeater-item-field.component';
|
|
28
29
|
export * from './lib/Shared/services/validationErrorMassage.service';
|
|
@@ -98,3 +99,4 @@ export * from './lib/Shared/Enums/IconPosition';
|
|
|
98
99
|
export * from './lib/Shared/Enums/PagingActionMode';
|
|
99
100
|
export * from './lib/Shared/Enums/StyleConfirmationMode';
|
|
100
101
|
export * from './lib/Shared/Enums/Enums';
|
|
102
|
+
export * from './lib/Shared/Enums/LanguageValidation';
|
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
|