@acorex/core 6.5.20 → 6.5.22
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.
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { Subject } from "rxjs";
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare type AXPlatforms = 'Android' | 'Desktop' | 'iOS' | 'Mobile';
|
|
3
|
+
export declare type AXPlatforms = 'Android' | 'Desktop' | 'iOS' | 'Mobile' | '';
|
|
4
4
|
export declare type AXBrowsers = 'Chrome' | 'Safari' | 'Edge' | 'Firefox' | 'Opera' | 'MSIE';
|
|
5
5
|
export declare type AXTechnologies = 'PWA' | 'Hybrid' | 'Electron';
|
|
6
|
+
export declare type AXScreenSizes = 'SM' | 'MD' | 'LG' | 'XL' | '2XL';
|
|
6
7
|
export declare const testUserAgent: (win: Window, expr: RegExp) => boolean;
|
|
7
8
|
export declare class AXPlatformEvent {
|
|
8
9
|
nativeEvent: UIEvent | Event;
|
|
@@ -15,7 +16,7 @@ export declare class AXPlatform {
|
|
|
15
16
|
isRtl(): boolean;
|
|
16
17
|
isLandscape(): boolean;
|
|
17
18
|
isPortrate(): boolean;
|
|
18
|
-
is(name: AXPlatforms | AXBrowsers | AXTechnologies): boolean;
|
|
19
|
+
is(name: AXPlatforms | AXBrowsers | AXTechnologies | AXScreenSizes): boolean;
|
|
19
20
|
switchDarkMode(): void;
|
|
20
21
|
switchLightMode(): void;
|
|
21
22
|
private _setFullHeightRatio;
|