@sumaris-net/ngx-components 18.5.5 → 18.5.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/doc/changelog.md +6 -0
- package/esm2022/src/app/core/services/platform.service.mjs +20 -12
- package/fesm2022/sumaris-net.ngx-components.mjs +19 -11
- 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/core/services/platform.service.d.ts +3 -1
- package/src/app/shared/inputs.d.ts +1 -1
- 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;
|
|
@@ -39,10 +39,10 @@ export declare class PlatformService extends StartableService {
|
|
|
39
39
|
private cache;
|
|
40
40
|
private audioProvider;
|
|
41
41
|
protected environment: Environment;
|
|
42
|
-
private loggingService;
|
|
43
42
|
private downloader;
|
|
44
43
|
private _logger;
|
|
45
44
|
private _mobile;
|
|
45
|
+
private _desktop;
|
|
46
46
|
private _cordova;
|
|
47
47
|
private _capacitor;
|
|
48
48
|
private _android;
|
|
@@ -64,7 +64,9 @@ export declare class PlatformService extends StartableService {
|
|
|
64
64
|
isCordova(): boolean;
|
|
65
65
|
isAndroidCordova(): boolean;
|
|
66
66
|
isIOSCordova(): boolean;
|
|
67
|
+
isAndroid(): boolean;
|
|
67
68
|
isIOS(): boolean;
|
|
69
|
+
isMacOSDesktop(): boolean;
|
|
68
70
|
/**
|
|
69
71
|
* Is a native App (and NOT a mobile web)
|
|
70
72
|
*/
|
|
@@ -17,7 +17,7 @@ export interface InputElement extends FocusableElement {
|
|
|
17
17
|
}
|
|
18
18
|
export declare function isInputElement(object: any): object is InputElement;
|
|
19
19
|
export declare function asInputElement<T = any>(object: ElementRef<T>): InputElement | undefined;
|
|
20
|
-
export declare function tabindexComparator(a: InputElement, b: InputElement):
|
|
20
|
+
export declare function tabindexComparator(a: InputElement, b: InputElement): 1 | 0 | -1;
|
|
21
21
|
export interface CanGainFocusOptions {
|
|
22
22
|
minTabindex?: number;
|
|
23
23
|
maxTabindex?: number;
|
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.5.
|
|
5
|
+
"version": "18.5.7",
|
|
6
6
|
"default_locale": "fr",
|
|
7
7
|
"description": "Angular components for building beautiful and responsive Apps",
|
|
8
8
|
"icons": [{
|