@sumaris-net/ngx-components 18.22.10 → 18.22.11
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/doc/changelog.md +3 -0
- package/esm2022/src/app/core/table/table.class.mjs +13 -11
- package/esm2022/src/app/shared/forms.mjs +9 -6
- package/fesm2022/sumaris-net.ngx-components.mjs +18 -14
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/shared/forms.d.ts +2 -1
- package/src/app/shared/inputs.d.ts +1 -1
- package/src/assets/manifest.json +1 -1
package/package.json
CHANGED
|
@@ -48,10 +48,11 @@ export declare function getFormErrors(control: AbstractControl, opts?: {
|
|
|
48
48
|
* @param {AbstractControl} form - The root form group, form array, or control to start searching from.
|
|
49
49
|
* @param {string} path - The dot-separated path specifying the control. For example, 'groupName.controlName' or 'arrayName.0.controlName'.
|
|
50
50
|
* @param {boolean} [strict=true] - If true, throws an error if the full path cannot be resolved; if false, returns the last valid control encountered.
|
|
51
|
+
* @param failIfMissing - If true, throw an error if the control not exists.
|
|
51
52
|
* @return {AbstractControl} - The control at the specified path or the closest valid control if strict mode is disabled.
|
|
52
53
|
* @throws {Error} - Throws an error if the path cannot be resolved and strict mode is enabled.
|
|
53
54
|
*/
|
|
54
|
-
export declare function getControlFromPath(form: AbstractControl, path: string, strict?: boolean): AbstractControl;
|
|
55
|
+
export declare function getControlFromPath(form: AbstractControl, path: string, strict?: boolean, failIfMissing?: boolean): AbstractControl;
|
|
55
56
|
export declare function disableControls(form: UntypedFormGroup, paths: string[], opts?: {
|
|
56
57
|
onlySelf?: boolean;
|
|
57
58
|
emitEvent?: boolean;
|
|
@@ -17,7 +17,7 @@ export interface InputElement extends FocusableElement {
|
|
|
17
17
|
}
|
|
18
18
|
export declare function isInputElement(object: any): object is InputElement;
|
|
19
19
|
export declare function asInputElement<T = any>(object: ElementRef<T>): InputElement | undefined;
|
|
20
|
-
export declare function tabindexComparator(a: InputElement, b: InputElement):
|
|
20
|
+
export declare function tabindexComparator(a: InputElement, b: InputElement): 0 | 1 | -1;
|
|
21
21
|
export interface CanGainFocusOptions {
|
|
22
22
|
minTabindex?: number;
|
|
23
23
|
maxTabindex?: number;
|
package/src/assets/manifest.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "ngx-sumaris-components",
|
|
3
3
|
"short_name": "ngx-sumaris-components",
|
|
4
4
|
"manifest_version": 1,
|
|
5
|
-
"version": "18.22.
|
|
5
|
+
"version": "18.22.11",
|
|
6
6
|
"default_locale": "fr",
|
|
7
7
|
"description": "Angular components for building beautiful and responsive Apps",
|
|
8
8
|
"icons": [{
|