@bnsights/bbsf-controls 1.2.5 → 1.2.7
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.
|
@@ -2,6 +2,26 @@ import { AbstractControl } from '@angular/forms';
|
|
|
2
2
|
export declare class CustomValidation {
|
|
3
3
|
massage: string;
|
|
4
4
|
functionBody: any;
|
|
5
|
+
/**
|
|
6
|
+
* Gets the control name from its parent FormGroup
|
|
7
|
+
* @param control The AbstractControl to get the name for
|
|
8
|
+
* @returns The control name/key or null if not found
|
|
9
|
+
*/
|
|
10
|
+
static getControlName(control: AbstractControl): string | null;
|
|
11
|
+
/**
|
|
12
|
+
* Extracts the element index from a control name in repeater pattern
|
|
13
|
+
* Pattern: fieldName.itemIndex.controlIndex
|
|
14
|
+
* @param control The AbstractControl to extract index from
|
|
15
|
+
* @returns The element index (itemIndex) or null if not found
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* // Before (Angular < 19):
|
|
19
|
+
* elementIndex = control?.nativeElement?.id?.split(".")[1];
|
|
20
|
+
*
|
|
21
|
+
* // After (Angular 19+):
|
|
22
|
+
* elementIndex = CustomValidation.getElementIndex(control);
|
|
23
|
+
*/
|
|
24
|
+
static getElementIndex(control: AbstractControl): string | null;
|
|
5
25
|
}
|
|
6
26
|
export declare class CustomValidator {
|
|
7
27
|
static numeric(control: AbstractControl): {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bnsights/bbsf-controls",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.7",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/animations": "^19.2.14",
|
|
6
6
|
"@angular/cdk": "^19.2.19",
|
|
@@ -12,45 +12,45 @@
|
|
|
12
12
|
"@angular/router": "^19.2.14"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@angular/google-maps": "
|
|
16
|
-
"@bnsights/bbsf-utilities": "1.2.
|
|
15
|
+
"@angular/google-maps": "18.2.14",
|
|
16
|
+
"@bnsights/bbsf-utilities": "1.2.1",
|
|
17
17
|
"@danielmoncada/angular-datetime-picker": "20.0.0",
|
|
18
|
-
"@fullcalendar/angular": "
|
|
19
|
-
"@fullcalendar/core": "
|
|
20
|
-
"@fullcalendar/daygrid": "
|
|
21
|
-
"@fullcalendar/interaction": "
|
|
22
|
-
"@fullcalendar/list": "
|
|
23
|
-
"@fullcalendar/timegrid": "
|
|
24
|
-
"@ng-bootstrap/ng-bootstrap": "
|
|
18
|
+
"@fullcalendar/angular": "6.1.19",
|
|
19
|
+
"@fullcalendar/core": "6.1.19",
|
|
20
|
+
"@fullcalendar/daygrid": "6.1.19",
|
|
21
|
+
"@fullcalendar/interaction": "6.1.19",
|
|
22
|
+
"@fullcalendar/list": "6.1.19",
|
|
23
|
+
"@fullcalendar/timegrid": "6.1.19",
|
|
24
|
+
"@ng-bootstrap/ng-bootstrap": "18.0.0",
|
|
25
25
|
"@kolkov/angular-editor": "3.0.0-beta.2",
|
|
26
|
-
"@ng-select/ng-select": "
|
|
27
|
-
"@ngrx/store": "
|
|
28
|
-
"@ngrx/store-devtools": "
|
|
29
|
-
"@sweetalert2/ngx-sweetalert2": "
|
|
30
|
-
"@types/file-saver": "
|
|
31
|
-
"@types/google.maps": "
|
|
32
|
-
"ace-builds": "
|
|
33
|
-
"angular-cropperjs": "
|
|
26
|
+
"@ng-select/ng-select": "14.9.0",
|
|
27
|
+
"@ngrx/store": "19.2.1",
|
|
28
|
+
"@ngrx/store-devtools": "19.2.1",
|
|
29
|
+
"@sweetalert2/ngx-sweetalert2": "11.0.0",
|
|
30
|
+
"@types/file-saver": "2.0.7",
|
|
31
|
+
"@types/google.maps": "3.54.10",
|
|
32
|
+
"ace-builds": "1.43.4",
|
|
33
|
+
"angular-cropperjs": "14.0.1",
|
|
34
34
|
"angular-ng-autocomplete": "2.0.12",
|
|
35
|
-
"bootstrap": "
|
|
36
|
-
"cropperjs": "
|
|
37
|
-
"file-saver": "
|
|
38
|
-
"font-awesome": "
|
|
39
|
-
"google-libphonenumber": "
|
|
40
|
-
"intl-tel-input": "
|
|
41
|
-
"jquery": "
|
|
42
|
-
"ng-inline-svg-2": "
|
|
43
|
-
"ng2-file-upload": "
|
|
44
|
-
"ngx-bootstrap": "
|
|
45
|
-
"ngx-dropzone": "
|
|
46
|
-
"ngx-infinite-scroll": "
|
|
47
|
-
"ngx-intl-tel-input": "
|
|
48
|
-
"ngx-markdown-editor": "
|
|
49
|
-
"ngx-mask": "
|
|
50
|
-
"ngx-script-loader": "
|
|
51
|
-
"summernote": "
|
|
35
|
+
"bootstrap": "5.3.8",
|
|
36
|
+
"cropperjs": "1.6.2",
|
|
37
|
+
"file-saver": "2.0.5",
|
|
38
|
+
"font-awesome": "4.7.0",
|
|
39
|
+
"google-libphonenumber": "3.2.43",
|
|
40
|
+
"intl-tel-input": "19.0.0",
|
|
41
|
+
"jquery": "3.7.1",
|
|
42
|
+
"ng-inline-svg-2": "15.0.1",
|
|
43
|
+
"ng2-file-upload": "8.0.0",
|
|
44
|
+
"ngx-bootstrap": "19.0.2",
|
|
45
|
+
"ngx-dropzone": "3.1.0",
|
|
46
|
+
"ngx-infinite-scroll": "19.0.0",
|
|
47
|
+
"ngx-intl-tel-input": "17.0.0",
|
|
48
|
+
"ngx-markdown-editor": "5.3.4",
|
|
49
|
+
"ngx-mask": "17.1.8",
|
|
50
|
+
"ngx-script-loader": "3.0.0",
|
|
51
|
+
"summernote": "0.9.1",
|
|
52
52
|
"sweetalert2": "11.10.1",
|
|
53
|
-
"tslib": "
|
|
53
|
+
"tslib": "2.6.2"
|
|
54
54
|
},
|
|
55
55
|
"module": "fesm2022/bnsights-bbsf-controls.mjs",
|
|
56
56
|
"typings": "index.d.ts",
|