@sumaris-net/ngx-components 18.7.1 → 18.7.3
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 +5 -0
- package/esm2022/src/app/shared/dates.mjs +2 -2
- package/esm2022/src/app/shared/material/duration/duration.utils.mjs +5 -22
- package/esm2022/src/app/shared/material/duration/material.duration.mjs +6 -3
- package/esm2022/src/app/shared/material/duration/testing/mat-duration.test.mjs +8 -3
- package/fesm2022/sumaris-net.ngx-components.mjs +20 -31
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/shared/material/duration/duration.utils.d.ts +1 -2
- package/src/app/shared/material/duration/material.duration.d.ts +1 -0
- package/src/app/shared/material/duration/testing/mat-duration.test.d.ts +1 -0
package/package.json
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
export declare const DEFAULT_MAX_DECIMALS =
|
|
2
|
-
export declare function formatDuration(value: number | null): string;
|
|
1
|
+
export declare const DEFAULT_MAX_DECIMALS = 7;
|
|
3
2
|
export declare function parseDuration(input: string, maxDecimals?: number, placeholderChar?: string): number | null;
|
|
@@ -39,6 +39,7 @@ export declare class MatDuration implements OnInit, OnDestroy, ControlValueAcces
|
|
|
39
39
|
clearable: boolean;
|
|
40
40
|
matInputs: QueryList<ElementRef>;
|
|
41
41
|
get value(): any;
|
|
42
|
+
protected dayUnit: string;
|
|
42
43
|
constructor(platform: Platform, dateAdapter: DateAdapter<Moment>, translate: TranslateService, formBuilder: UntypedFormBuilder, cd: ChangeDetectorRef, formGroupDir: FormGroupDirective);
|
|
43
44
|
ngOnInit(): void;
|
|
44
45
|
ngOnDestroy(): void;
|
|
@@ -17,6 +17,7 @@ export declare class DurationTestPage implements OnInit {
|
|
|
17
17
|
(value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
|
|
18
18
|
(value: any, replacer?: (string | number)[], space?: string | number): string;
|
|
19
19
|
};
|
|
20
|
+
protected readonly Number: NumberConstructor;
|
|
20
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<DurationTestPage, never>;
|
|
21
22
|
static ɵcmp: i0.ɵɵComponentDeclaration<DurationTestPage, "app-duration-test", never, {}, {}, never, never, false, never>;
|
|
22
23
|
}
|