@widget-js/core 24.1.1-beta.41 → 24.1.1-beta.42

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/dist/index.d.cts CHANGED
@@ -2577,24 +2577,22 @@ interface Hardware {
2577
2577
  id?: number;
2578
2578
  hardwareType: HardwareType;
2579
2579
  hardwareName: string;
2580
- children: Node<HardwareSensor>[];
2580
+ children: HardwareSensor[];
2581
2581
  }
2582
- interface Node<T> {
2582
+ interface Node {
2583
2583
  id?: number;
2584
2584
  text?: string;
2585
2585
  min?: number;
2586
2586
  max?: number;
2587
2587
  value?: number;
2588
2588
  unit?: string;
2589
- children?: T[];
2589
+ children?: any[];
2590
2590
  }
2591
- interface TypeNode extends Node<HardwareSensor> {
2592
- }
2593
- interface HardwareSensor extends Node<any> {
2594
- sensorId: string;
2591
+ interface HardwareSensor extends Node {
2592
+ sensorId?: string;
2595
2593
  sensorType: SensorType;
2596
- hardwareType: HardwareType;
2597
- hardwareName: string;
2594
+ hardwareType?: HardwareType;
2595
+ hardwareName?: string;
2598
2596
  }
2599
2597
 
2600
2598
  interface SystemFile {
@@ -3426,4 +3424,4 @@ declare class GridSystem extends GridRect {
3426
3424
  getHeight(): number;
3427
3425
  }
3428
3426
 
3429
- export { type AddWidgetOption, type AlignPosition, ApiConstants, AppApi, AppApiConstants, AppApiEvent, type AppApiMethods, type AppMouseEvent, AppNotification, AppReminderNotification, type AppRuntimeInfo, BackgroundWidget, BaseApi, type BatteryData, BroadcastApi, type BroadcastApiMethods, BroadcastEvent, type BroadcastEventType, BrowserWindowApi, BrowserWindowApiEvent, type BrowserWindowApiMethods, type BrowserWindowOptions, type CallNotificationOption, type Category, Channel, ClipboardApi, ClipboardApiEvent, type ClipboardApiMethods, type CountdownNotificationOption, type CpuCacheData, type CpuCurrentSpeedData, type CpuData, type CurrentLoadCpuData, type CurrentLoadData, DefaultWidgetTheme, DeployMode, DeployedPage, DeployedWidget, DeployedWidgetApi, type DeployedWidgetApiMethods, type DevOptions, DeviceApi, type DeviceApiMethods, DialogApi, type DialogApiMethods, type DiskLayoutData, type Display, type DownloadUrlOptions, ElectronApi, ElectronUtils, FileApi, type FileApiMethods, type FileInfo, type GraphicsControllerData, type GraphicsData, type GraphicsDisplayData, Gravity, GridRect, GridSystem, type Hardware, type HardwareSensor, type HardwareType, HostedMode, type IAppApi, type IBackgroundWidgetOptions, type IDialogApi, type IGridRect, type ILogApi, type IMouseApi, type IPage, type IPageOptions, type IProcessApi, type IWidgetDataApi, type IWidgetOptions, type IWidgetPackageApi, type IWidgetTheme, type IWindowSize, type InfoNotificationOption, type Language, type LanguageCode, LanguageMap, type LanguageTextMap, LanguageUtils, type LocalPackageUrlInfo, type LocationQuery, type LocationQueryRaw, type LocationQueryValue, type LocationQueryValueRaw, LogApi, type LogApiMethods, type MemData, type MemLayoutData, MenuApi, MenuApiEvent, type MenuApiMethods, type MetaInfo, type Metadata, MouseApi, MouseApiEvent, type MouseApiMethods, type NativeKeyboardEvent, type Node, type NormalizeOptions, NotificationApi, NotificationApiEvent, type NotificationApiMethods, type NotificationOption, NotificationSize, type NotificationType, type OsData, Page, type Point, type Position, ProcessApi, type ProcessApiMethods, type ProxyConfig, type ReadDirOptions, type Rectangle, type ReminderNotificationOption, type RemotePackageUrlInfo, type SaveWidgetOption, type SensorType, type SetPositionOptions, ShortcutApi, ShortcutApiEvent, type ShortcutApiMethods, type ShowMenuOption, type Size, type SmartData, StorageApi, type StorageApiMethods, StoreApi, type StoreApiMethods, SystemApi, SystemApiEvent, type SystemApiMethods, type SystemFile, ThemeMode, type TypeNode, type UserData, type VersionData, WebSocketEvent, WebSocketEventType, Widget, WidgetApi, WidgetApiEvent, type WidgetApiMethods, WidgetData, WidgetDataApi, type WidgetDataApiMethods, WidgetKeyword, type WidgetMenuItem, WidgetPackage, WidgetPackageApi, WidgetPackageApiEvent, type WidgetPackageApiMethods, type WidgetPackageOptions, WidgetPackageUtils, WidgetParams, type WidgetPermission, type WidgetRoute, WidgetTheme, type WidgetThemeKey, type WidgetThemeProperty, WidgetUtils, delay, normalizeUrl, parseQuery, stringifyQuery };
3427
+ export { type AddWidgetOption, type AlignPosition, ApiConstants, AppApi, AppApiConstants, AppApiEvent, type AppApiMethods, type AppMouseEvent, AppNotification, AppReminderNotification, type AppRuntimeInfo, BackgroundWidget, BaseApi, type BatteryData, BroadcastApi, type BroadcastApiMethods, BroadcastEvent, type BroadcastEventType, BrowserWindowApi, BrowserWindowApiEvent, type BrowserWindowApiMethods, type BrowserWindowOptions, type CallNotificationOption, type Category, Channel, ClipboardApi, ClipboardApiEvent, type ClipboardApiMethods, type CountdownNotificationOption, type CpuCacheData, type CpuCurrentSpeedData, type CpuData, type CurrentLoadCpuData, type CurrentLoadData, DefaultWidgetTheme, DeployMode, DeployedPage, DeployedWidget, DeployedWidgetApi, type DeployedWidgetApiMethods, type DevOptions, DeviceApi, type DeviceApiMethods, DialogApi, type DialogApiMethods, type DiskLayoutData, type Display, type DownloadUrlOptions, ElectronApi, ElectronUtils, FileApi, type FileApiMethods, type FileInfo, type GraphicsControllerData, type GraphicsData, type GraphicsDisplayData, Gravity, GridRect, GridSystem, type Hardware, type HardwareSensor, type HardwareType, HostedMode, type IAppApi, type IBackgroundWidgetOptions, type IDialogApi, type IGridRect, type ILogApi, type IMouseApi, type IPage, type IPageOptions, type IProcessApi, type IWidgetDataApi, type IWidgetOptions, type IWidgetPackageApi, type IWidgetTheme, type IWindowSize, type InfoNotificationOption, type Language, type LanguageCode, LanguageMap, type LanguageTextMap, LanguageUtils, type LocalPackageUrlInfo, type LocationQuery, type LocationQueryRaw, type LocationQueryValue, type LocationQueryValueRaw, LogApi, type LogApiMethods, type MemData, type MemLayoutData, MenuApi, MenuApiEvent, type MenuApiMethods, type MetaInfo, type Metadata, MouseApi, MouseApiEvent, type MouseApiMethods, type NativeKeyboardEvent, type Node, type NormalizeOptions, NotificationApi, NotificationApiEvent, type NotificationApiMethods, type NotificationOption, NotificationSize, type NotificationType, type OsData, Page, type Point, type Position, ProcessApi, type ProcessApiMethods, type ProxyConfig, type ReadDirOptions, type Rectangle, type ReminderNotificationOption, type RemotePackageUrlInfo, type SaveWidgetOption, type SensorType, type SetPositionOptions, ShortcutApi, ShortcutApiEvent, type ShortcutApiMethods, type ShowMenuOption, type Size, type SmartData, StorageApi, type StorageApiMethods, StoreApi, type StoreApiMethods, SystemApi, SystemApiEvent, type SystemApiMethods, type SystemFile, ThemeMode, type UserData, type VersionData, WebSocketEvent, WebSocketEventType, Widget, WidgetApi, WidgetApiEvent, type WidgetApiMethods, WidgetData, WidgetDataApi, type WidgetDataApiMethods, WidgetKeyword, type WidgetMenuItem, WidgetPackage, WidgetPackageApi, WidgetPackageApiEvent, type WidgetPackageApiMethods, type WidgetPackageOptions, WidgetPackageUtils, WidgetParams, type WidgetPermission, type WidgetRoute, WidgetTheme, type WidgetThemeKey, type WidgetThemeProperty, WidgetUtils, delay, normalizeUrl, parseQuery, stringifyQuery };
package/dist/index.d.ts CHANGED
@@ -2577,24 +2577,22 @@ interface Hardware {
2577
2577
  id?: number;
2578
2578
  hardwareType: HardwareType;
2579
2579
  hardwareName: string;
2580
- children: Node<HardwareSensor>[];
2580
+ children: HardwareSensor[];
2581
2581
  }
2582
- interface Node<T> {
2582
+ interface Node {
2583
2583
  id?: number;
2584
2584
  text?: string;
2585
2585
  min?: number;
2586
2586
  max?: number;
2587
2587
  value?: number;
2588
2588
  unit?: string;
2589
- children?: T[];
2589
+ children?: any[];
2590
2590
  }
2591
- interface TypeNode extends Node<HardwareSensor> {
2592
- }
2593
- interface HardwareSensor extends Node<any> {
2594
- sensorId: string;
2591
+ interface HardwareSensor extends Node {
2592
+ sensorId?: string;
2595
2593
  sensorType: SensorType;
2596
- hardwareType: HardwareType;
2597
- hardwareName: string;
2594
+ hardwareType?: HardwareType;
2595
+ hardwareName?: string;
2598
2596
  }
2599
2597
 
2600
2598
  interface SystemFile {
@@ -3426,4 +3424,4 @@ declare class GridSystem extends GridRect {
3426
3424
  getHeight(): number;
3427
3425
  }
3428
3426
 
3429
- export { type AddWidgetOption, type AlignPosition, ApiConstants, AppApi, AppApiConstants, AppApiEvent, type AppApiMethods, type AppMouseEvent, AppNotification, AppReminderNotification, type AppRuntimeInfo, BackgroundWidget, BaseApi, type BatteryData, BroadcastApi, type BroadcastApiMethods, BroadcastEvent, type BroadcastEventType, BrowserWindowApi, BrowserWindowApiEvent, type BrowserWindowApiMethods, type BrowserWindowOptions, type CallNotificationOption, type Category, Channel, ClipboardApi, ClipboardApiEvent, type ClipboardApiMethods, type CountdownNotificationOption, type CpuCacheData, type CpuCurrentSpeedData, type CpuData, type CurrentLoadCpuData, type CurrentLoadData, DefaultWidgetTheme, DeployMode, DeployedPage, DeployedWidget, DeployedWidgetApi, type DeployedWidgetApiMethods, type DevOptions, DeviceApi, type DeviceApiMethods, DialogApi, type DialogApiMethods, type DiskLayoutData, type Display, type DownloadUrlOptions, ElectronApi, ElectronUtils, FileApi, type FileApiMethods, type FileInfo, type GraphicsControllerData, type GraphicsData, type GraphicsDisplayData, Gravity, GridRect, GridSystem, type Hardware, type HardwareSensor, type HardwareType, HostedMode, type IAppApi, type IBackgroundWidgetOptions, type IDialogApi, type IGridRect, type ILogApi, type IMouseApi, type IPage, type IPageOptions, type IProcessApi, type IWidgetDataApi, type IWidgetOptions, type IWidgetPackageApi, type IWidgetTheme, type IWindowSize, type InfoNotificationOption, type Language, type LanguageCode, LanguageMap, type LanguageTextMap, LanguageUtils, type LocalPackageUrlInfo, type LocationQuery, type LocationQueryRaw, type LocationQueryValue, type LocationQueryValueRaw, LogApi, type LogApiMethods, type MemData, type MemLayoutData, MenuApi, MenuApiEvent, type MenuApiMethods, type MetaInfo, type Metadata, MouseApi, MouseApiEvent, type MouseApiMethods, type NativeKeyboardEvent, type Node, type NormalizeOptions, NotificationApi, NotificationApiEvent, type NotificationApiMethods, type NotificationOption, NotificationSize, type NotificationType, type OsData, Page, type Point, type Position, ProcessApi, type ProcessApiMethods, type ProxyConfig, type ReadDirOptions, type Rectangle, type ReminderNotificationOption, type RemotePackageUrlInfo, type SaveWidgetOption, type SensorType, type SetPositionOptions, ShortcutApi, ShortcutApiEvent, type ShortcutApiMethods, type ShowMenuOption, type Size, type SmartData, StorageApi, type StorageApiMethods, StoreApi, type StoreApiMethods, SystemApi, SystemApiEvent, type SystemApiMethods, type SystemFile, ThemeMode, type TypeNode, type UserData, type VersionData, WebSocketEvent, WebSocketEventType, Widget, WidgetApi, WidgetApiEvent, type WidgetApiMethods, WidgetData, WidgetDataApi, type WidgetDataApiMethods, WidgetKeyword, type WidgetMenuItem, WidgetPackage, WidgetPackageApi, WidgetPackageApiEvent, type WidgetPackageApiMethods, type WidgetPackageOptions, WidgetPackageUtils, WidgetParams, type WidgetPermission, type WidgetRoute, WidgetTheme, type WidgetThemeKey, type WidgetThemeProperty, WidgetUtils, delay, normalizeUrl, parseQuery, stringifyQuery };
3427
+ export { type AddWidgetOption, type AlignPosition, ApiConstants, AppApi, AppApiConstants, AppApiEvent, type AppApiMethods, type AppMouseEvent, AppNotification, AppReminderNotification, type AppRuntimeInfo, BackgroundWidget, BaseApi, type BatteryData, BroadcastApi, type BroadcastApiMethods, BroadcastEvent, type BroadcastEventType, BrowserWindowApi, BrowserWindowApiEvent, type BrowserWindowApiMethods, type BrowserWindowOptions, type CallNotificationOption, type Category, Channel, ClipboardApi, ClipboardApiEvent, type ClipboardApiMethods, type CountdownNotificationOption, type CpuCacheData, type CpuCurrentSpeedData, type CpuData, type CurrentLoadCpuData, type CurrentLoadData, DefaultWidgetTheme, DeployMode, DeployedPage, DeployedWidget, DeployedWidgetApi, type DeployedWidgetApiMethods, type DevOptions, DeviceApi, type DeviceApiMethods, DialogApi, type DialogApiMethods, type DiskLayoutData, type Display, type DownloadUrlOptions, ElectronApi, ElectronUtils, FileApi, type FileApiMethods, type FileInfo, type GraphicsControllerData, type GraphicsData, type GraphicsDisplayData, Gravity, GridRect, GridSystem, type Hardware, type HardwareSensor, type HardwareType, HostedMode, type IAppApi, type IBackgroundWidgetOptions, type IDialogApi, type IGridRect, type ILogApi, type IMouseApi, type IPage, type IPageOptions, type IProcessApi, type IWidgetDataApi, type IWidgetOptions, type IWidgetPackageApi, type IWidgetTheme, type IWindowSize, type InfoNotificationOption, type Language, type LanguageCode, LanguageMap, type LanguageTextMap, LanguageUtils, type LocalPackageUrlInfo, type LocationQuery, type LocationQueryRaw, type LocationQueryValue, type LocationQueryValueRaw, LogApi, type LogApiMethods, type MemData, type MemLayoutData, MenuApi, MenuApiEvent, type MenuApiMethods, type MetaInfo, type Metadata, MouseApi, MouseApiEvent, type MouseApiMethods, type NativeKeyboardEvent, type Node, type NormalizeOptions, NotificationApi, NotificationApiEvent, type NotificationApiMethods, type NotificationOption, NotificationSize, type NotificationType, type OsData, Page, type Point, type Position, ProcessApi, type ProcessApiMethods, type ProxyConfig, type ReadDirOptions, type Rectangle, type ReminderNotificationOption, type RemotePackageUrlInfo, type SaveWidgetOption, type SensorType, type SetPositionOptions, ShortcutApi, ShortcutApiEvent, type ShortcutApiMethods, type ShowMenuOption, type Size, type SmartData, StorageApi, type StorageApiMethods, StoreApi, type StoreApiMethods, SystemApi, SystemApiEvent, type SystemApiMethods, type SystemFile, ThemeMode, type UserData, type VersionData, WebSocketEvent, WebSocketEventType, Widget, WidgetApi, WidgetApiEvent, type WidgetApiMethods, WidgetData, WidgetDataApi, type WidgetDataApiMethods, WidgetKeyword, type WidgetMenuItem, WidgetPackage, WidgetPackageApi, WidgetPackageApiEvent, type WidgetPackageApiMethods, type WidgetPackageOptions, WidgetPackageUtils, WidgetParams, type WidgetPermission, type WidgetRoute, WidgetTheme, type WidgetThemeKey, type WidgetThemeProperty, WidgetUtils, delay, normalizeUrl, parseQuery, stringifyQuery };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@widget-js/core",
3
3
  "type": "module",
4
- "version": "24.1.1-beta.41",
4
+ "version": "24.1.1-beta.42",
5
5
  "description": "",
6
6
  "publishConfig": {
7
7
  "access": "public"