@sumaris-net/ngx-components 18.6.60 → 18.6.61
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/shared/dates.mjs +13 -1
- package/esm2022/src/app/shared/pipes/duration.pipe.mjs +3 -12
- package/fesm2022/sumaris-net.ngx-components.mjs +13 -10
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/core/install/install-upgrade-card.component.d.ts +1 -1
- package/src/app/shared/dates.d.ts +4 -0
- package/src/assets/manifest.json +1 -1
package/package.json
CHANGED
|
@@ -46,7 +46,7 @@ export declare class AppInstallUpgradeCard implements OnInit, OnDestroy {
|
|
|
46
46
|
download(event: Event, link: InstallAppLink): Promise<void>;
|
|
47
47
|
openFile(event: Event, link: InstallAppLink): Promise<void>;
|
|
48
48
|
tryOnline(): Promise<void>;
|
|
49
|
-
getPlatformName(platform: 'android' | 'ios' | 'electron'): "" | "
|
|
49
|
+
getPlatformName(platform: 'android' | 'ios' | 'electron'): "" | "desktop" | "Android" | "iOS";
|
|
50
50
|
asLink(value: any): InstallAppLink;
|
|
51
51
|
private checkNeedInstallOrUpdate;
|
|
52
52
|
private getCompatibleInstallLinks;
|
|
@@ -48,6 +48,10 @@ export declare class DateUtils {
|
|
|
48
48
|
* @param timezone
|
|
49
49
|
*/
|
|
50
50
|
static isAtDay(date: string | Moment, weekday: number, timezone?: string): boolean;
|
|
51
|
+
static durationToString(value: number, dayUnit: string, opts?: unitOfTime.DurationConstructor | {
|
|
52
|
+
unit?: unitOfTime.DurationConstructor;
|
|
53
|
+
seconds?: boolean;
|
|
54
|
+
} | any): string;
|
|
51
55
|
}
|
|
52
56
|
export declare function toDateISOString(value: any): string | undefined;
|
|
53
57
|
export declare function fromDateISOString(value: any): Moment | undefined;
|
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.6.
|
|
5
|
+
"version": "18.6.61",
|
|
6
6
|
"default_locale": "fr",
|
|
7
7
|
"description": "Angular components for building beautiful and responsive Apps",
|
|
8
8
|
"icons": [{
|