@sumaris-net/ngx-components 18.2.9-beta2 → 18.2.10
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 +6 -0
- package/esm2022/src/app/shared/dates.mjs +8 -1
- package/esm2022/src/app/shared/material/autocomplete/material.autocomplete.mjs +3 -2
- package/esm2022/src/app/shared/material/autocomplete/testing/autocomplete.test.mjs +3 -3
- package/fesm2022/sumaris-net.ngx-components.mjs +11 -3
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/shared/dates.d.ts +1 -0
- package/src/app/shared/inputs.d.ts +1 -1
- package/src/assets/manifest.json +1 -1
package/package.json
CHANGED
|
@@ -19,6 +19,7 @@ export declare class DateUtils {
|
|
|
19
19
|
static equals(date1: Moment | string, date2: Moment | string): boolean;
|
|
20
20
|
static isSame(date1: Moment | string, date2: Moment | string, granularity?: unitOfTime.StartOf): boolean;
|
|
21
21
|
static compare(date1: Moment | string, date2: Moment | string, granularity?: unitOfTime.StartOf): number;
|
|
22
|
+
static durationAbs(date1: Moment | string, date2: Moment | string, durationUnit?: unitOfTime.Base): number;
|
|
22
23
|
/**
|
|
23
24
|
* Create a copy of a date, without time fields (always return a new Moment object, or undefined).
|
|
24
25
|
* Same implementation as the Java class Dates.resetTime() (see any SUMARiS like Pod)
|
|
@@ -16,7 +16,7 @@ export interface InputElement extends FocusableElement {
|
|
|
16
16
|
}
|
|
17
17
|
export declare function isInputElement(object: any): object is InputElement;
|
|
18
18
|
export declare function asInputElement<T = any>(object: ElementRef<T>): InputElement | undefined;
|
|
19
|
-
export declare function tabindexComparator(a: InputElement, b: InputElement):
|
|
19
|
+
export declare function tabindexComparator(a: InputElement, b: InputElement): 0 | 1 | -1;
|
|
20
20
|
export interface CanGainFocusOptions {
|
|
21
21
|
minTabindex?: number;
|
|
22
22
|
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.2.
|
|
5
|
+
"version": "18.2.10",
|
|
6
6
|
"default_locale": "fr",
|
|
7
7
|
"description": "Angular components for building beautiful and responsive Apps",
|
|
8
8
|
"icons": [{
|