@sumaris-net/ngx-components 1.15.5 → 1.15.8
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/bundles/sumaris-net.ngx-components.umd.js +19 -14
- package/bundles/sumaris-net.ngx-components.umd.js.map +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js.map +1 -1
- package/esm2015/src/app/core/form/entity-editor.class.js +5 -2
- package/esm2015/src/app/core/services/platform.service.js +12 -2
- package/esm2015/src/app/shared/platforms.js +3 -11
- package/fesm2015/sumaris-net.ngx-components.js +18 -13
- package/fesm2015/sumaris-net.ngx-components.js.map +1 -1
- package/package.json +1 -1
- package/src/app/core/services/platform.service.d.ts +4 -0
- package/src/app/shared/platforms.d.ts +1 -6
- package/sumaris-net.ngx-components.metadata.json +1 -1
package/package.json
CHANGED
|
@@ -20,6 +20,10 @@ import { ConfigService } from './config.service';
|
|
|
20
20
|
import { MomentDateAdapter } from '@angular/material-moment-adapter';
|
|
21
21
|
import { Downloader, DownloadRequest } from '@ionic-native/downloader/ngx';
|
|
22
22
|
import { StartableService } from '../../shared/services/startable-service.class';
|
|
23
|
+
export declare const AndroidOsEnvironment: Readonly<{
|
|
24
|
+
DIRECTORY_DOWNLOADS: string;
|
|
25
|
+
DIRECTORY_DOWNLOADS_OLD: string;
|
|
26
|
+
}>;
|
|
23
27
|
export declare class PlatformService extends StartableService {
|
|
24
28
|
private platform;
|
|
25
29
|
private cdkPlatform;
|
|
@@ -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
|
|
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;
|