@sumaris-net/ngx-components 1.15.4 → 1.15.7

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": "1.15.4",
4
+ "version": "1.15.7",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -17,6 +17,13 @@ export declare class DateUtils {
17
17
  * @param keepLocalTime if true, only the timezone (and offset) is updated, keeping the local time same. Consequently, it will now point to a different point in time if the offset has changed.
18
18
  */
19
19
  static resetTime(value: Moment | string, timezone?: string, keepLocalTime?: boolean): Moment | undefined;
20
+ /**
21
+ * Test if a date is on the given day of week
22
+ * @param date
23
+ * @param weekday
24
+ * @param timezone
25
+ */
26
+ static isAtDay(date: string | Moment, weekday: number, timezone?: string): boolean;
20
27
  }
21
28
  export declare function toDateISOString(value: any): string | undefined;
22
29
  export declare function fromDateISOString(value: any): Moment | undefined;
@@ -1,11 +1,6 @@
1
1
  export declare const matchMedia: (win: Window, query: string) => boolean;
2
2
  export declare const testUserAgent: (win: Window, expr: RegExp) => boolean;
3
- export declare const isWindow: (win?: Window) => boolean;
4
- /**
5
- * Detect desktop, by fine cursor. See https://github.com/ionic-team/ionic-framework/issues/19942
6
- * @param win
7
- */
8
- export declare const isDesktop: (win?: Window) => boolean;
3
+ export declare const isWindows: (win?: Window) => boolean;
9
4
  export declare const isTouchUi: (win?: Window) => boolean;
10
5
  export declare const isMobile: (win: Window) => boolean;
11
6
  export declare const isIOS: (win: Window) => boolean;