@sumaris-net/ngx-components 2.4.22 → 2.4.23-rc2
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/esm2020/src/app/core/form/entity/entity-editor.class.mjs +10 -28
- package/esm2020/src/app/shared/dates.mjs +7 -1
- package/esm2020/src/app/shared/toolbar/toolbar.mjs +7 -6
- package/fesm2015/sumaris-net.ngx-components.mjs +30 -43
- package/fesm2015/sumaris-net.ngx-components.mjs.map +1 -1
- package/fesm2020/sumaris-net.ngx-components.mjs +21 -32
- package/fesm2020/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/core/form/entity/entity-editor.class.d.ts +1 -1
- package/src/app/shared/dates.d.ts +1 -0
- package/src/app/shared/toolbar/toolbar.d.ts +2 -2
package/package.json
CHANGED
|
@@ -185,7 +185,7 @@ export declare abstract class AppEntityEditor<T extends Entity<T, ID>, S extends
|
|
|
185
185
|
* Open the first tab that is invalid
|
|
186
186
|
*/
|
|
187
187
|
private openFirstInvalidTab;
|
|
188
|
-
protected updateRoute(data: T, queryParams
|
|
188
|
+
protected updateRoute(data: T, queryParams?: any): Promise<boolean>;
|
|
189
189
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppEntityEditor<any, any, any>, never>;
|
|
190
190
|
static ɵdir: i0.ɵɵDirectiveDeclaration<AppEntityEditor<any, any, any>, never, never, {}, {}, never, never, false>;
|
|
191
191
|
}
|
|
@@ -22,6 +22,7 @@ export declare class DateUtils {
|
|
|
22
22
|
*/
|
|
23
23
|
static resetTime(value: Moment | string, timezone?: string, keepLocalTime?: boolean): Moment | undefined;
|
|
24
24
|
static markNoTime(value: Moment): Moment | undefined;
|
|
25
|
+
static markTime(value: Moment): Moment | undefined;
|
|
25
26
|
static isNoTime(value: Moment): boolean;
|
|
26
27
|
/**
|
|
27
28
|
* Test if a date is on the given day of week
|
|
@@ -11,7 +11,7 @@ import * as i0 from "@angular/core";
|
|
|
11
11
|
export declare abstract class ToolbarToken {
|
|
12
12
|
abstract onBackClick: Observable<Event>;
|
|
13
13
|
abstract doBackClick(event: Event): any;
|
|
14
|
-
abstract goBack(): Promise<
|
|
14
|
+
abstract goBack(): Promise<boolean>;
|
|
15
15
|
abstract canGoBack: boolean;
|
|
16
16
|
}
|
|
17
17
|
export declare class ToolbarComponent implements ToolbarToken, OnInit, OnDestroy {
|
|
@@ -52,7 +52,7 @@ export declare class ToolbarComponent implements ToolbarToken, OnInit, OnDestroy
|
|
|
52
52
|
ngOnDestroy(): void;
|
|
53
53
|
toggleSearchBar(): Promise<void>;
|
|
54
54
|
doBackClick(event: Event): void;
|
|
55
|
-
goBack(): Promise<
|
|
55
|
+
goBack(): Promise<boolean>;
|
|
56
56
|
tapClose(event: HammerTapEvent): void;
|
|
57
57
|
tapValidate(event: HammerTapEvent): void;
|
|
58
58
|
protected ionSearchBarChanged(event: Event): void;
|