@sumaris-net/ngx-components 18.6.60 → 18.6.62

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sumaris-net/ngx-components",
3
3
  "description": "SUMARiS Angular components",
4
- "version": "18.6.60",
4
+ "version": "18.6.62",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -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'): "" | "Android" | "iOS" | "desktop";
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;
@@ -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.60",
5
+ "version": "18.6.62",
6
6
  "default_locale": "fr",
7
7
  "description": "Angular components for building beautiful and responsive Apps",
8
8
  "icons": [{