wacom 21.1.21 → 21.1.23

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": "wacom",
3
- "version": "21.1.21",
3
+ "version": "21.1.23",
4
4
  "license": "MIT",
5
5
  "repository": "WebArtWork/wacom",
6
6
  "funding": [
package/types/wacom.d.ts CHANGED
@@ -238,6 +238,14 @@ interface DomComponent<T> {
238
238
  remove: () => void;
239
239
  }
240
240
 
241
+ declare global {
242
+ interface String {
243
+ capitalize(): string;
244
+ }
245
+ }
246
+
247
+ type Viewport = 'mobile' | 'tablet' | 'desktop';
248
+
241
249
  type ThemeMode = 'light' | 'dark' | string;
242
250
  type ThemeDensity = 'comfortable' | 'compact' | string;
243
251
  type ThemeRadius = 'rounded' | 'square' | string;
@@ -453,7 +461,7 @@ declare abstract class CrudComponent<Service extends CrudServiceInterface<Docume
453
461
  /** ChangeDetectorRef handles on push strategy */
454
462
  private __cdr;
455
463
  /** Internal reference to form service matching FormServiceInterface */
456
- private __form;
464
+ private __formService;
457
465
  /**
458
466
  * Constructor
459
467
  *
@@ -621,13 +629,10 @@ declare class SplitPipe implements PipeTransform {
621
629
  static ɵpipe: i0.ɵɵPipeDeclaration<SplitPipe, "split", true>;
622
630
  }
623
631
 
624
- declare global {
625
- interface String {
626
- capitalize(): string;
627
- }
628
- }
629
632
  declare class CoreService {
633
+ private readonly _platformId;
630
634
  private readonly _isBrowser;
635
+ private readonly _destroyRef;
631
636
  deviceID: string;
632
637
  constructor();
633
638
  /**
@@ -721,6 +726,11 @@ declare class CoreService {
721
726
  * @returns {boolean} - Returns true if the device is an iOS device.
722
727
  */
723
728
  isIos(): boolean;
729
+ readonly viewport: WritableSignal<Viewport>;
730
+ readonly isViewportMobile: Signal<boolean>;
731
+ readonly isViewportTablet: Signal<boolean>;
732
+ readonly isViewportDesktop: Signal<boolean>;
733
+ detectViewport(): void;
724
734
  version: string;
725
735
  appVersion: string;
726
736
  dateVersion: string;
@@ -2000,4 +2010,4 @@ declare class WacomModule {
2000
2010
  }
2001
2011
 
2002
2012
  export { ArrPipe, CONFIG_TOKEN, ClickOutsideDirective, CoreService, CrudComponent, CrudService, DEFAULT_CONFIG, DEFAULT_HTTP_CONFIG, DEFAULT_NETWORK_CONFIG, DomService, EmitterService, HttpService, ManualDisabledDirective, ManualNameDirective, ManualReadonlyDirective, ManualTypeDirective, MetaGuard, MetaService, MongodatePipe, NETWORK_CONFIG, NetworkService, NumberPipe, PaginationPipe, RtcService, SafePipe, SearchPipe, SocketService, SplicePipe, SplitPipe, StoreService, ThemeService, TimeService, UtilService, WacomModule, provideWacom };
2003
- export type { Config, CrudDocument, CrudOptions, CrudServiceInterface, DomComponent, HttpConfig, HttpHeaderType, MetaConfig, MetaDefaults, MetaPage, NetworkConfig, NetworkStatus, StoreConfig, TableConfig, TableConfigButton, ThemeDensity, ThemeMode, ThemeRadius };
2013
+ export type { Config, CrudDocument, CrudOptions, CrudServiceInterface, DomComponent, HttpConfig, HttpHeaderType, MetaConfig, MetaDefaults, MetaPage, NetworkConfig, NetworkStatus, StoreConfig, TableConfig, TableConfigButton, ThemeDensity, ThemeMode, ThemeRadius, Viewport };