@bizy/core 21.8.6 → 21.8.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bizy/core",
3
- "version": "21.8.6",
3
+ "version": "21.8.8",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "^21.0.0",
6
6
  "@angular/common": "^21.0.0",
@@ -1,5 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { EventEmitter, PipeTransform, ElementRef, AfterViewInit, OnDestroy, OnChanges, OnInit, AfterContentInit, QueryList, TemplateRef, ViewContainerRef, AfterViewChecked, ChangeDetectorRef, RendererFactory2, Renderer2 } from '@angular/core';
3
+ import * as rxjs from 'rxjs';
3
4
  import { Observable, Subject, BehaviorSubject } from 'rxjs';
4
5
  import { CalendarEvent, CalendarMonthViewDay } from 'angular-calendar';
5
6
  import { UppyFile, SuccessResponse } from '@uppy/core';
@@ -2217,19 +2218,47 @@ declare class BizyAnimationService {
2217
2218
  static ɵprov: i0.ɵɵInjectableDeclaration<BizyAnimationService>;
2218
2219
  }
2219
2220
 
2220
- interface WindowSize {
2221
+ interface IWindowSize {
2221
2222
  height: number;
2222
2223
  width: number;
2223
2224
  }
2225
+ declare enum BIZY_DEVICE_OS {
2226
+ IOS = "iOS",
2227
+ MAC = "Mac",
2228
+ ANDROID = "Android",
2229
+ WINDOWS = "Windows",
2230
+ LINUX = "Linux"
2231
+ }
2232
+ declare enum BIZY_DEVICE_BROWSER {
2233
+ CHROME = "CHROME",
2234
+ SAFARI = "SAFARI",
2235
+ EDGE = "EDGE",
2236
+ OPERA = "OPERA",
2237
+ FIREFOX = "FIREFOX",
2238
+ UNKNOWN = "UNKNOWN"
2239
+ }
2224
2240
  declare class BizyDeviceService {
2225
2241
  #private;
2226
- get windowSizeChange$(): Observable<WindowSize>;
2242
+ readonly windowSizeChange$: rxjs.Observable<IWindowSize | {
2243
+ width: number;
2244
+ height: number;
2245
+ }>;
2227
2246
  getUserAgent(): Promise<string>;
2247
+ getWindowSize: () => IWindowSize;
2248
+ getWindowWidth: () => number;
2249
+ getWindowHeight: () => number;
2228
2250
  isMobile: () => boolean;
2229
2251
  isTablet: () => boolean;
2230
2252
  isDesktop: () => boolean;
2231
2253
  isPortrait: () => boolean;
2232
2254
  isLandscape: () => boolean;
2255
+ isIOS: () => boolean;
2256
+ isAndroid: () => boolean;
2257
+ isMacintosh: () => boolean;
2258
+ isWindows: () => boolean;
2259
+ isLinux: () => boolean;
2260
+ getOS: () => BIZY_DEVICE_OS;
2261
+ getBrowser: () => BIZY_DEVICE_BROWSER;
2233
2262
  static ɵfac: i0.ɵɵFactoryDeclaration<BizyDeviceService, never>;
2234
2263
  static ɵprov: i0.ɵɵInjectableDeclaration<BizyDeviceService>;
2235
2264
  }