@seelen-ui/lib 2.3.6 → 2.4.1-next.20250825015552
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/esm/constants/mod.d.ts +17 -9
- package/esm/constants/mod.d.ts.map +1 -1
- package/esm/constants/mod.js +6 -4
- package/esm/handlers/commands.d.ts +17 -8
- package/esm/handlers/commands.d.ts.map +1 -1
- package/esm/handlers/commands.js +17 -8
- package/esm/handlers/events.d.ts +3 -5
- package/esm/handlers/events.d.ts.map +1 -1
- package/esm/handlers/events.js +3 -5
- package/esm/lib.d.ts +1 -1
- package/esm/lib.d.ts.map +1 -1
- package/esm/lib.js +1 -1
- package/esm/resource/mod.d.ts +6 -0
- package/esm/resource/mod.d.ts.map +1 -0
- package/esm/state/icon_pack.d.ts +23 -52
- package/esm/state/icon_pack.d.ts.map +1 -1
- package/esm/state/icon_pack.js +137 -131
- package/esm/state/mod.d.ts +2 -1
- package/esm/state/mod.d.ts.map +1 -1
- package/esm/state/mod.js +1 -0
- package/esm/state/plugin/mod.d.ts +1 -1
- package/esm/state/plugin/mod.d.ts.map +1 -1
- package/esm/state/settings/mod.d.ts +6 -5
- package/esm/state/settings/mod.d.ts.map +1 -1
- package/esm/state/settings/mod.js +5 -8
- package/esm/state/settings/settings_by_monitor.d.ts +1 -4
- package/esm/state/settings/settings_by_monitor.d.ts.map +1 -1
- package/esm/state/settings/settings_by_monitor.js +0 -8
- package/esm/state/settings_by_app.d.ts +1 -1
- package/esm/state/settings_by_app.d.ts.map +1 -1
- package/esm/state/theme/mod.d.ts +19 -3
- package/esm/state/theme/mod.d.ts.map +1 -1
- package/esm/state/theme/mod.js +96 -0
- package/esm/state/wallpaper/mod.d.ts +15 -0
- package/esm/state/wallpaper/mod.d.ts.map +1 -0
- package/esm/state/wallpaper/mod.js +31 -0
- package/esm/state/weg_items.d.ts +6 -9
- package/esm/state/weg_items.d.ts.map +1 -1
- package/esm/state/weg_items.js +9 -17
- package/esm/state/widget/mod.d.ts +9 -4
- package/esm/state/widget/mod.d.ts.map +1 -1
- package/esm/state/widget/mod.js +31 -12
- package/esm/state/wm_layout.d.ts +4 -5
- package/esm/state/wm_layout.d.ts.map +1 -1
- package/esm/state/wm_layout.js +3 -8
- package/esm/system_state/bluetooth/mod.d.ts +2 -2
- package/esm/system_state/bluetooth/mod.d.ts.map +1 -1
- package/esm/system_state/language.d.ts +1 -1
- package/esm/system_state/language.d.ts.map +1 -1
- package/esm/system_state/monitors.d.ts +1 -1
- package/esm/system_state/monitors.d.ts.map +1 -1
- package/esm/system_state/ui_colors.d.ts +1 -1
- package/esm/system_state/ui_colors.d.ts.map +1 -1
- package/esm/system_state/ui_colors.js +8 -2
- package/esm/system_state/user.d.ts +1 -1
- package/esm/system_state/user.d.ts.map +1 -1
- package/esm/types/CssVariableName.d.ts +5 -0
- package/esm/types/CssVariableName.d.ts.map +1 -0
- package/esm/types/CustomIconPackEntry.d.ts +16 -0
- package/esm/types/CustomIconPackEntry.d.ts.map +1 -0
- package/esm/types/DesktopWorkspace.d.ts +5 -0
- package/esm/types/DesktopWorkspace.d.ts.map +1 -1
- package/esm/types/FocusedApp.d.ts +4 -0
- package/esm/types/FocusedApp.d.ts.map +1 -1
- package/esm/types/FocusedApp.js +0 -1
- package/esm/types/Icon.d.ts +17 -10
- package/esm/types/Icon.d.ts.map +1 -1
- package/esm/types/IconPack.d.ts +7 -19
- package/esm/types/IconPack.d.ts.map +1 -1
- package/esm/types/IconPackEntry.d.ts +11 -0
- package/esm/types/IconPackEntry.d.ts.map +1 -0
- package/esm/types/IconPackId.d.ts +3 -0
- package/esm/types/IconPackId.d.ts.map +1 -1
- package/esm/types/MediaPlayer.d.ts +2 -0
- package/esm/types/MediaPlayer.d.ts.map +1 -1
- package/esm/types/MediaPlayerTimeline.d.ts +24 -0
- package/esm/types/MediaPlayerTimeline.d.ts.map +1 -0
- package/esm/types/MixBlendMode.d.ts +2 -0
- package/esm/types/MixBlendMode.d.ts.map +1 -0
- package/esm/types/MonitorConfiguration.d.ts +0 -5
- package/esm/types/MonitorConfiguration.d.ts.map +1 -1
- package/esm/types/MonitorId.d.ts +2 -0
- package/esm/types/MonitorId.d.ts.map +1 -0
- package/esm/types/MonitorSettingsByWidget.d.ts +1 -10
- package/esm/types/MonitorSettingsByWidget.d.ts.map +1 -1
- package/esm/types/ObjectFit.d.ts +2 -0
- package/esm/types/ObjectFit.d.ts.map +1 -0
- package/esm/types/ObjectPosition.d.ts +2 -0
- package/esm/types/ObjectPosition.d.ts.map +1 -0
- package/esm/types/PhysicalMonitor.d.ts +2 -1
- package/esm/types/PhysicalMonitor.d.ts.map +1 -1
- package/esm/types/PlaybackSpeed.d.ts +2 -0
- package/esm/types/PlaybackSpeed.d.ts.map +1 -0
- package/esm/types/PluginId.d.ts +3 -0
- package/esm/types/PluginId.d.ts.map +1 -1
- package/esm/types/Resource.d.ts +35 -3
- package/esm/types/Resource.d.ts.map +1 -1
- package/esm/types/ResourceAttribute.d.ts +2 -0
- package/esm/types/ResourceAttribute.d.ts.map +1 -0
- package/esm/types/ResourceId.d.ts +4 -2
- package/esm/types/ResourceId.d.ts.map +1 -1
- package/esm/types/ResourceMetadata.d.ts +2 -6
- package/esm/types/ResourceMetadata.d.ts.map +1 -1
- package/esm/types/SeelenCommandArgument.d.ts +43 -18
- package/esm/types/SeelenCommandArgument.d.ts.map +1 -1
- package/esm/types/SeelenCommandClosePopupArgs.d.ts +4 -0
- package/esm/types/SeelenCommandClosePopupArgs.d.ts.map +1 -0
- package/esm/types/SeelenCommandClosePopupArgs.js +2 -0
- package/esm/types/SeelenCommandCreatePopupArgs.d.ts +5 -0
- package/esm/types/SeelenCommandCreatePopupArgs.d.ts.map +1 -0
- package/esm/types/SeelenCommandRemoveResourceArgs.d.ts +7 -0
- package/esm/types/SeelenCommandRemoveResourceArgs.d.ts.map +1 -0
- package/esm/types/SeelenCommandRequestToUserInputShortcutArgs.d.ts +4 -0
- package/esm/types/SeelenCommandRequestToUserInputShortcutArgs.d.ts.map +1 -0
- package/esm/types/SeelenCommandRequestToUserInputShortcutArgs.js +2 -0
- package/esm/types/SeelenCommandReturn.d.ts +38 -16
- package/esm/types/SeelenCommandReturn.d.ts.map +1 -1
- package/esm/types/SeelenCommandSetNativeShellWallpaperArgs.d.ts +4 -0
- package/esm/types/SeelenCommandSetNativeShellWallpaperArgs.d.ts.map +1 -0
- package/esm/types/SeelenCommandSetNativeShellWallpaperArgs.js +2 -0
- package/esm/types/SeelenCommandStateGetWegItemsArgs.d.ts +5 -0
- package/esm/types/SeelenCommandStateGetWegItemsArgs.d.ts.map +1 -0
- package/esm/types/SeelenCommandStateSetCustomIconPackArgs.d.ts +5 -0
- package/esm/types/SeelenCommandStateSetCustomIconPackArgs.d.ts.map +1 -0
- package/esm/types/SeelenCommandSwitchWorkspaceArgs.d.ts +2 -0
- package/esm/types/SeelenCommandSwitchWorkspaceArgs.d.ts.map +1 -1
- package/esm/types/SeelenCommandSwitchWorkspaceArgs.js +0 -1
- package/esm/types/SeelenCommandUpdatePopupArgs.d.ts +6 -0
- package/esm/types/SeelenCommandUpdatePopupArgs.d.ts.map +1 -0
- package/esm/types/SeelenEventPayload.d.ts +10 -14
- package/esm/types/SeelenEventPayload.d.ts.map +1 -1
- package/esm/types/SeelenWallSettings.d.ts +5 -2
- package/esm/types/SeelenWallSettings.d.ts.map +1 -1
- package/esm/types/SeelenWegSettings.d.ts +4 -0
- package/esm/types/SeelenWegSettings.d.ts.map +1 -1
- package/esm/types/Settings.d.ts +23 -16
- package/esm/types/Settings.d.ts.map +1 -1
- package/esm/types/SettingsByWidget.d.ts +19 -3
- package/esm/types/SettingsByWidget.d.ts.map +1 -1
- package/esm/types/SharedIconPackEntry.d.ts +12 -0
- package/esm/types/SharedIconPackEntry.d.ts.map +1 -0
- package/esm/types/SluHotkey.d.ts +8 -0
- package/esm/types/SluHotkey.d.ts.map +1 -0
- package/esm/types/SluHotkeyAction.d.ts +84 -0
- package/esm/types/SluHotkeyAction.d.ts.map +1 -0
- package/esm/types/SluHotkeyAction.js +2 -0
- package/esm/types/SluPopupConfig.d.ts +2 -0
- package/esm/types/SluPopupConfig.d.ts.map +1 -1
- package/esm/types/SluShortcutsSettings.d.ts +6 -0
- package/esm/types/SluShortcutsSettings.d.ts.map +1 -0
- package/esm/types/Theme.d.ts +5 -0
- package/esm/types/Theme.d.ts.map +1 -1
- package/esm/types/ThemeConfigDefinition.d.ts +6 -0
- package/esm/types/ThemeConfigDefinition.d.ts.map +1 -0
- package/esm/types/ThemeConfigGroup.d.ts +7 -0
- package/esm/types/ThemeConfigGroup.d.ts.map +1 -0
- package/esm/types/ThemeConfigGroup.js +1 -0
- package/esm/types/ThemeId.d.ts +3 -0
- package/esm/types/ThemeId.d.ts.map +1 -1
- package/esm/types/ThemeSettings.d.ts +5 -0
- package/esm/types/ThemeSettings.d.ts.map +1 -0
- package/esm/types/ThemeSettings.js +1 -0
- package/esm/types/ThemeSettingsDefinition.d.ts +2 -2
- package/esm/types/ThemeSettingsDefinition.d.ts.map +1 -1
- package/esm/types/ThemeVariable.d.ts +16 -2
- package/esm/types/ThemeVariable.d.ts.map +1 -1
- package/esm/types/ThemeVariableWithUnit.d.ts +11 -2
- package/esm/types/ThemeVariableWithUnit.d.ts.map +1 -1
- package/esm/types/ThirdPartyPlugin.d.ts +2 -2
- package/esm/types/ThirdPartyPlugin.d.ts.map +1 -1
- package/esm/types/ThirdPartyWidgetSettings.d.ts +1 -1
- package/esm/types/ThirdPartyWidgetSettings.d.ts.map +1 -1
- package/esm/types/UniqueIconPackEntry.d.ts +24 -0
- package/esm/types/UniqueIconPackEntry.d.ts.map +1 -0
- package/esm/types/UniqueIconPackEntry.js +1 -0
- package/esm/types/VirtualDesktopMonitor.d.ts +9 -0
- package/esm/types/VirtualDesktopMonitor.d.ts.map +1 -0
- package/esm/types/VirtualDesktopMonitor.js +1 -0
- package/esm/types/VirtualDesktops.d.ts +15 -0
- package/esm/types/VirtualDesktops.d.ts.map +1 -0
- package/esm/types/VirtualDesktops.js +1 -0
- package/esm/types/Wallpaper.d.ts +11 -0
- package/esm/types/Wallpaper.d.ts.map +1 -0
- package/esm/types/Wallpaper.js +1 -0
- package/esm/types/WallpaperId.d.ts +6 -0
- package/esm/types/WallpaperId.d.ts.map +1 -0
- package/esm/types/WallpaperId.js +1 -0
- package/esm/types/WallpaperInstanceSettings.d.ts +45 -0
- package/esm/types/WallpaperInstanceSettings.d.ts.map +1 -0
- package/esm/types/WallpaperInstanceSettings.js +1 -0
- package/esm/types/WidgetId.d.ts +3 -0
- package/esm/types/WidgetId.d.ts.map +1 -1
- package/esm/types/WindowManagerLayout.d.ts +1 -2
- package/esm/types/WindowManagerLayout.d.ts.map +1 -1
- package/esm/types/WmNode.d.ts +40 -15
- package/esm/types/WmNode.d.ts.map +1 -1
- package/esm/types/WmNodeKind.d.ts +2 -0
- package/esm/types/WmNodeKind.d.ts.map +1 -0
- package/esm/types/WmNodeKind.js +2 -0
- package/esm/types/WmNodeLifetime.d.ts +2 -0
- package/esm/types/WmNodeLifetime.d.ts.map +1 -0
- package/esm/types/WmNodeLifetime.js +2 -0
- package/esm/types/mod.d.ts +215 -201
- package/esm/types/mod.d.ts.map +1 -1
- package/esm/types/mod.js +215 -201
- package/esm/utils/Wrapper.d.ts +3 -0
- package/esm/utils/Wrapper.d.ts.map +1 -0
- package/esm/utils/Wrapper.js +5 -0
- package/package.json +6 -6
- package/script/constants/mod.d.ts +17 -9
- package/script/constants/mod.d.ts.map +1 -1
- package/script/constants/mod.js +6 -4
- package/script/handlers/commands.d.ts +17 -8
- package/script/handlers/commands.d.ts.map +1 -1
- package/script/handlers/commands.js +17 -8
- package/script/handlers/events.d.ts +3 -5
- package/script/handlers/events.d.ts.map +1 -1
- package/script/handlers/events.js +3 -5
- package/script/lib.d.ts +1 -1
- package/script/lib.d.ts.map +1 -1
- package/script/lib.js +1 -1
- package/script/resource/mod.d.ts +6 -0
- package/script/resource/mod.d.ts.map +1 -0
- package/script/state/icon_pack.d.ts +23 -52
- package/script/state/icon_pack.d.ts.map +1 -1
- package/script/state/icon_pack.js +137 -131
- package/script/state/mod.d.ts +2 -1
- package/script/state/mod.d.ts.map +1 -1
- package/script/state/mod.js +1 -0
- package/script/state/plugin/mod.d.ts +1 -1
- package/script/state/plugin/mod.d.ts.map +1 -1
- package/script/state/settings/mod.d.ts +6 -5
- package/script/state/settings/mod.d.ts.map +1 -1
- package/script/state/settings/mod.js +5 -9
- package/script/state/settings/settings_by_monitor.d.ts +1 -4
- package/script/state/settings/settings_by_monitor.d.ts.map +1 -1
- package/script/state/settings/settings_by_monitor.js +1 -9
- package/script/state/settings_by_app.d.ts +1 -1
- package/script/state/settings_by_app.d.ts.map +1 -1
- package/script/state/theme/mod.d.ts +19 -3
- package/script/state/theme/mod.d.ts.map +1 -1
- package/script/state/theme/mod.js +100 -1
- package/script/state/wallpaper/mod.d.ts +15 -0
- package/script/state/wallpaper/mod.d.ts.map +1 -0
- package/script/state/wallpaper/mod.js +36 -0
- package/script/state/weg_items.d.ts +6 -9
- package/script/state/weg_items.d.ts.map +1 -1
- package/script/state/weg_items.js +7 -15
- package/script/state/widget/mod.d.ts +9 -4
- package/script/state/widget/mod.d.ts.map +1 -1
- package/script/state/widget/mod.js +31 -12
- package/script/state/wm_layout.d.ts +4 -5
- package/script/state/wm_layout.d.ts.map +1 -1
- package/script/state/wm_layout.js +5 -11
- package/script/system_state/bluetooth/mod.d.ts +2 -2
- package/script/system_state/bluetooth/mod.d.ts.map +1 -1
- package/script/system_state/language.d.ts +1 -1
- package/script/system_state/language.d.ts.map +1 -1
- package/script/system_state/monitors.d.ts +1 -1
- package/script/system_state/monitors.d.ts.map +1 -1
- package/script/system_state/ui_colors.d.ts +1 -1
- package/script/system_state/ui_colors.d.ts.map +1 -1
- package/script/system_state/ui_colors.js +8 -2
- package/script/system_state/user.d.ts +1 -1
- package/script/system_state/user.d.ts.map +1 -1
- package/script/types/CssVariableName.d.ts +5 -0
- package/script/types/CssVariableName.d.ts.map +1 -0
- package/script/types/CustomIconPackEntry.d.ts +16 -0
- package/script/types/CustomIconPackEntry.d.ts.map +1 -0
- package/script/types/DesktopWorkspace.d.ts +5 -0
- package/script/types/DesktopWorkspace.d.ts.map +1 -1
- package/script/types/FocusedApp.d.ts +4 -0
- package/script/types/FocusedApp.d.ts.map +1 -1
- package/script/types/FocusedApp.js +0 -1
- package/script/types/Icon.d.ts +17 -10
- package/script/types/Icon.d.ts.map +1 -1
- package/script/types/IconPack.d.ts +7 -19
- package/script/types/IconPack.d.ts.map +1 -1
- package/script/types/IconPackEntry.d.ts +11 -0
- package/script/types/IconPackEntry.d.ts.map +1 -0
- package/script/types/IconPackId.d.ts +3 -0
- package/script/types/IconPackId.d.ts.map +1 -1
- package/script/types/MediaPlayer.d.ts +2 -0
- package/script/types/MediaPlayer.d.ts.map +1 -1
- package/script/types/MediaPlayerTimeline.d.ts +24 -0
- package/script/types/MediaPlayerTimeline.d.ts.map +1 -0
- package/script/types/MixBlendMode.d.ts +2 -0
- package/script/types/MixBlendMode.d.ts.map +1 -0
- package/script/types/MonitorConfiguration.d.ts +0 -5
- package/script/types/MonitorConfiguration.d.ts.map +1 -1
- package/script/types/MonitorId.d.ts +2 -0
- package/script/types/MonitorId.d.ts.map +1 -0
- package/script/types/MonitorSettingsByWidget.d.ts +1 -10
- package/script/types/MonitorSettingsByWidget.d.ts.map +1 -1
- package/script/types/ObjectFit.d.ts +2 -0
- package/script/types/ObjectFit.d.ts.map +1 -0
- package/script/types/ObjectPosition.d.ts +2 -0
- package/script/types/ObjectPosition.d.ts.map +1 -0
- package/script/types/PhysicalMonitor.d.ts +2 -1
- package/script/types/PhysicalMonitor.d.ts.map +1 -1
- package/script/types/PlaybackSpeed.d.ts +2 -0
- package/script/types/PlaybackSpeed.d.ts.map +1 -0
- package/script/types/PluginId.d.ts +3 -0
- package/script/types/PluginId.d.ts.map +1 -1
- package/script/types/Resource.d.ts +35 -3
- package/script/types/Resource.d.ts.map +1 -1
- package/script/types/ResourceAttribute.d.ts +2 -0
- package/script/types/ResourceAttribute.d.ts.map +1 -0
- package/script/types/ResourceId.d.ts +4 -2
- package/script/types/ResourceId.d.ts.map +1 -1
- package/script/types/ResourceMetadata.d.ts +2 -6
- package/script/types/ResourceMetadata.d.ts.map +1 -1
- package/script/types/SeelenCommandArgument.d.ts +43 -18
- package/script/types/SeelenCommandArgument.d.ts.map +1 -1
- package/script/types/SeelenCommandClosePopupArgs.d.ts +4 -0
- package/script/types/SeelenCommandClosePopupArgs.d.ts.map +1 -0
- package/script/types/SeelenCommandClosePopupArgs.js +3 -0
- package/script/types/SeelenCommandCreatePopupArgs.d.ts +5 -0
- package/script/types/SeelenCommandCreatePopupArgs.d.ts.map +1 -0
- package/script/types/SeelenCommandRemoveResourceArgs.d.ts +7 -0
- package/script/types/SeelenCommandRemoveResourceArgs.d.ts.map +1 -0
- package/script/types/SeelenCommandRequestToUserInputShortcutArgs.d.ts +4 -0
- package/script/types/SeelenCommandRequestToUserInputShortcutArgs.d.ts.map +1 -0
- package/script/types/SeelenCommandRequestToUserInputShortcutArgs.js +3 -0
- package/script/types/SeelenCommandReturn.d.ts +38 -16
- package/script/types/SeelenCommandReturn.d.ts.map +1 -1
- package/script/types/SeelenCommandSetNativeShellWallpaperArgs.d.ts +4 -0
- package/script/types/SeelenCommandSetNativeShellWallpaperArgs.d.ts.map +1 -0
- package/script/types/SeelenCommandSetNativeShellWallpaperArgs.js +3 -0
- package/script/types/SeelenCommandStateGetWegItemsArgs.d.ts +5 -0
- package/script/types/SeelenCommandStateGetWegItemsArgs.d.ts.map +1 -0
- package/script/types/SeelenCommandStateSetCustomIconPackArgs.d.ts +5 -0
- package/script/types/SeelenCommandStateSetCustomIconPackArgs.d.ts.map +1 -0
- package/script/types/SeelenCommandSwitchWorkspaceArgs.d.ts +2 -0
- package/script/types/SeelenCommandSwitchWorkspaceArgs.d.ts.map +1 -1
- package/script/types/SeelenCommandSwitchWorkspaceArgs.js +0 -1
- package/script/types/SeelenCommandUpdatePopupArgs.d.ts +6 -0
- package/script/types/SeelenCommandUpdatePopupArgs.d.ts.map +1 -0
- package/script/types/SeelenEventPayload.d.ts +10 -14
- package/script/types/SeelenEventPayload.d.ts.map +1 -1
- package/script/types/SeelenWallSettings.d.ts +5 -2
- package/script/types/SeelenWallSettings.d.ts.map +1 -1
- package/script/types/SeelenWegSettings.d.ts +4 -0
- package/script/types/SeelenWegSettings.d.ts.map +1 -1
- package/script/types/Settings.d.ts +23 -16
- package/script/types/Settings.d.ts.map +1 -1
- package/script/types/SettingsByWidget.d.ts +19 -3
- package/script/types/SettingsByWidget.d.ts.map +1 -1
- package/script/types/SharedIconPackEntry.d.ts +12 -0
- package/script/types/SharedIconPackEntry.d.ts.map +1 -0
- package/script/types/SluHotkey.d.ts +8 -0
- package/script/types/SluHotkey.d.ts.map +1 -0
- package/script/types/SluHotkeyAction.d.ts +84 -0
- package/script/types/SluHotkeyAction.d.ts.map +1 -0
- package/script/types/SluHotkeyAction.js +3 -0
- package/script/types/SluPopupConfig.d.ts +2 -0
- package/script/types/SluPopupConfig.d.ts.map +1 -1
- package/script/types/SluShortcutsSettings.d.ts +6 -0
- package/script/types/SluShortcutsSettings.d.ts.map +1 -0
- package/script/types/Theme.d.ts +5 -0
- package/script/types/Theme.d.ts.map +1 -1
- package/script/types/ThemeConfigDefinition.d.ts +6 -0
- package/script/types/ThemeConfigDefinition.d.ts.map +1 -0
- package/script/types/ThemeConfigGroup.d.ts +7 -0
- package/script/types/ThemeConfigGroup.d.ts.map +1 -0
- package/script/types/ThemeConfigGroup.js +2 -0
- package/script/types/ThemeId.d.ts +3 -0
- package/script/types/ThemeId.d.ts.map +1 -1
- package/script/types/ThemeSettings.d.ts +5 -0
- package/script/types/ThemeSettings.d.ts.map +1 -0
- package/script/types/ThemeSettings.js +2 -0
- package/script/types/ThemeSettingsDefinition.d.ts +2 -2
- package/script/types/ThemeSettingsDefinition.d.ts.map +1 -1
- package/script/types/ThemeVariable.d.ts +16 -2
- package/script/types/ThemeVariable.d.ts.map +1 -1
- package/script/types/ThemeVariableWithUnit.d.ts +11 -2
- package/script/types/ThemeVariableWithUnit.d.ts.map +1 -1
- package/script/types/ThirdPartyPlugin.d.ts +2 -2
- package/script/types/ThirdPartyPlugin.d.ts.map +1 -1
- package/script/types/ThirdPartyWidgetSettings.d.ts +1 -1
- package/script/types/ThirdPartyWidgetSettings.d.ts.map +1 -1
- package/script/types/UniqueIconPackEntry.d.ts +24 -0
- package/script/types/UniqueIconPackEntry.d.ts.map +1 -0
- package/script/types/UniqueIconPackEntry.js +2 -0
- package/script/types/VirtualDesktopMonitor.d.ts +9 -0
- package/script/types/VirtualDesktopMonitor.d.ts.map +1 -0
- package/script/types/VirtualDesktopMonitor.js +2 -0
- package/script/types/VirtualDesktops.d.ts +15 -0
- package/script/types/VirtualDesktops.d.ts.map +1 -0
- package/script/types/VirtualDesktops.js +2 -0
- package/script/types/Wallpaper.d.ts +11 -0
- package/script/types/Wallpaper.d.ts.map +1 -0
- package/script/types/Wallpaper.js +2 -0
- package/script/types/WallpaperId.d.ts +6 -0
- package/script/types/WallpaperId.d.ts.map +1 -0
- package/script/types/WallpaperId.js +2 -0
- package/script/types/WallpaperInstanceSettings.d.ts +45 -0
- package/script/types/WallpaperInstanceSettings.d.ts.map +1 -0
- package/script/types/WallpaperInstanceSettings.js +2 -0
- package/script/types/WidgetId.d.ts +3 -0
- package/script/types/WidgetId.d.ts.map +1 -1
- package/script/types/WindowManagerLayout.d.ts +1 -2
- package/script/types/WindowManagerLayout.d.ts.map +1 -1
- package/script/types/WmNode.d.ts +40 -15
- package/script/types/WmNode.d.ts.map +1 -1
- package/script/types/WmNodeKind.d.ts +2 -0
- package/script/types/WmNodeKind.d.ts.map +1 -0
- package/script/types/WmNodeKind.js +3 -0
- package/script/types/WmNodeLifetime.d.ts +2 -0
- package/script/types/WmNodeLifetime.d.ts.map +1 -0
- package/script/types/WmNodeLifetime.js +3 -0
- package/script/types/mod.d.ts +215 -201
- package/script/types/mod.d.ts.map +1 -1
- package/script/types/mod.js +215 -201
- package/script/utils/Wrapper.d.ts +3 -0
- package/script/utils/Wrapper.d.ts.map +1 -0
- package/script/utils/Wrapper.js +8 -0
- package/esm/resource.d.ts +0 -6
- package/esm/resource.d.ts.map +0 -1
- package/esm/types/AhkVar.d.ts +0 -7
- package/esm/types/AhkVar.d.ts.map +0 -1
- package/esm/types/AhkVarList.d.ts +0 -64
- package/esm/types/AhkVarList.d.ts.map +0 -1
- package/esm/types/FancyToolbarSettingsByMonitor.d.ts +0 -4
- package/esm/types/FancyToolbarSettingsByMonitor.d.ts.map +0 -1
- package/esm/types/NoFallbackBehavior.d.ts +0 -2
- package/esm/types/NoFallbackBehavior.d.ts.map +0 -1
- package/esm/types/NodeSubtype.d.ts +0 -2
- package/esm/types/NodeSubtype.d.ts.map +0 -1
- package/esm/types/SeelenCommandStateSetWallpaperArgs.d.ts +0 -4
- package/esm/types/SeelenCommandStateSetWallpaperArgs.d.ts.map +0 -1
- package/esm/types/SeelenWallSettingsByMonitor.d.ts +0 -6
- package/esm/types/SeelenWallSettingsByMonitor.d.ts.map +0 -1
- package/esm/types/SeelenWallWallpaper.d.ts +0 -5
- package/esm/types/SeelenWallWallpaper.d.ts.map +0 -1
- package/esm/types/SeelenWegSettingsByMonitor.d.ts +0 -8
- package/esm/types/SeelenWegSettingsByMonitor.d.ts.map +0 -1
- package/esm/types/VirtualDesktopStrategy.d.ts +0 -2
- package/esm/types/VirtualDesktopStrategy.d.ts.map +0 -1
- package/esm/types/WindowManagerSettingsByMonitor.d.ts +0 -9
- package/esm/types/WindowManagerSettingsByMonitor.d.ts.map +0 -1
- package/esm/types/WmFallbackNode.d.ts +0 -25
- package/esm/types/WmFallbackNode.d.ts.map +0 -1
- package/esm/types/WmHorizontalNode.d.ts +0 -19
- package/esm/types/WmHorizontalNode.d.ts.map +0 -1
- package/esm/types/WmLeafNode.d.ts +0 -21
- package/esm/types/WmLeafNode.d.ts.map +0 -1
- package/esm/types/WmStackNode.d.ts +0 -25
- package/esm/types/WmStackNode.d.ts.map +0 -1
- package/esm/types/WmVerticalNode.d.ts +0 -19
- package/esm/types/WmVerticalNode.d.ts.map +0 -1
- package/esm/types/WorkspaceConfiguration.d.ts +0 -8
- package/esm/types/WorkspaceConfiguration.d.ts.map +0 -1
- package/esm/types/WorkspaceIdentifier.d.ts +0 -6
- package/esm/types/WorkspaceIdentifier.d.ts.map +0 -1
- package/esm/types/WorkspaceIdentifierType.d.ts +0 -2
- package/esm/types/WorkspaceIdentifierType.d.ts.map +0 -1
- package/script/resource.d.ts +0 -6
- package/script/resource.d.ts.map +0 -1
- package/script/types/AhkVar.d.ts +0 -7
- package/script/types/AhkVar.d.ts.map +0 -1
- package/script/types/AhkVarList.d.ts +0 -64
- package/script/types/AhkVarList.d.ts.map +0 -1
- package/script/types/FancyToolbarSettingsByMonitor.d.ts +0 -4
- package/script/types/FancyToolbarSettingsByMonitor.d.ts.map +0 -1
- package/script/types/NoFallbackBehavior.d.ts +0 -2
- package/script/types/NoFallbackBehavior.d.ts.map +0 -1
- package/script/types/NodeSubtype.d.ts +0 -2
- package/script/types/NodeSubtype.d.ts.map +0 -1
- package/script/types/SeelenCommandStateSetWallpaperArgs.d.ts +0 -4
- package/script/types/SeelenCommandStateSetWallpaperArgs.d.ts.map +0 -1
- package/script/types/SeelenWallSettingsByMonitor.d.ts +0 -6
- package/script/types/SeelenWallSettingsByMonitor.d.ts.map +0 -1
- package/script/types/SeelenWallWallpaper.d.ts +0 -5
- package/script/types/SeelenWallWallpaper.d.ts.map +0 -1
- package/script/types/SeelenWegSettingsByMonitor.d.ts +0 -8
- package/script/types/SeelenWegSettingsByMonitor.d.ts.map +0 -1
- package/script/types/VirtualDesktopStrategy.d.ts +0 -2
- package/script/types/VirtualDesktopStrategy.d.ts.map +0 -1
- package/script/types/WindowManagerSettingsByMonitor.d.ts +0 -9
- package/script/types/WindowManagerSettingsByMonitor.d.ts.map +0 -1
- package/script/types/WmFallbackNode.d.ts +0 -25
- package/script/types/WmFallbackNode.d.ts.map +0 -1
- package/script/types/WmHorizontalNode.d.ts +0 -19
- package/script/types/WmHorizontalNode.d.ts.map +0 -1
- package/script/types/WmLeafNode.d.ts +0 -21
- package/script/types/WmLeafNode.d.ts.map +0 -1
- package/script/types/WmStackNode.d.ts +0 -25
- package/script/types/WmStackNode.d.ts.map +0 -1
- package/script/types/WmVerticalNode.d.ts +0 -19
- package/script/types/WmVerticalNode.d.ts.map +0 -1
- package/script/types/WorkspaceConfiguration.d.ts +0 -8
- package/script/types/WorkspaceConfiguration.d.ts.map +0 -1
- package/script/types/WorkspaceIdentifier.d.ts +0 -6
- package/script/types/WorkspaceIdentifier.d.ts.map +0 -1
- package/script/types/WorkspaceIdentifierType.d.ts +0 -2
- package/script/types/WorkspaceIdentifierType.d.ts.map +0 -1
- /package/esm/{resource.js → resource/mod.js} +0 -0
- /package/esm/types/{AhkVar.js → CssVariableName.js} +0 -0
- /package/esm/types/{AhkVarList.js → CustomIconPackEntry.js} +0 -0
- /package/esm/types/{SeelenWallSettingsByMonitor.js → IconPackEntry.js} +0 -0
- /package/esm/types/{FancyToolbarSettingsByMonitor.js → MediaPlayerTimeline.js} +0 -0
- /package/esm/types/{NoFallbackBehavior.js → MixBlendMode.js} +0 -0
- /package/esm/types/{NodeSubtype.js → MonitorId.js} +0 -0
- /package/esm/types/{SeelenCommandStateSetWallpaperArgs.js → ObjectFit.js} +0 -0
- /package/esm/types/{SeelenWallWallpaper.js → ObjectPosition.js} +0 -0
- /package/esm/types/{VirtualDesktopStrategy.js → PlaybackSpeed.js} +0 -0
- /package/esm/types/{WorkspaceIdentifierType.js → ResourceAttribute.js} +0 -0
- /package/esm/types/{SeelenWegSettingsByMonitor.js → SeelenCommandCreatePopupArgs.js} +0 -0
- /package/esm/types/{WindowManagerSettingsByMonitor.js → SeelenCommandRemoveResourceArgs.js} +0 -0
- /package/esm/types/{WmFallbackNode.js → SeelenCommandStateGetWegItemsArgs.js} +0 -0
- /package/esm/types/{WmHorizontalNode.js → SeelenCommandStateSetCustomIconPackArgs.js} +0 -0
- /package/esm/types/{WmLeafNode.js → SeelenCommandUpdatePopupArgs.js} +0 -0
- /package/esm/types/{WmStackNode.js → SharedIconPackEntry.js} +0 -0
- /package/esm/types/{WmVerticalNode.js → SluHotkey.js} +0 -0
- /package/esm/types/{WorkspaceConfiguration.js → SluShortcutsSettings.js} +0 -0
- /package/esm/types/{WorkspaceIdentifier.js → ThemeConfigDefinition.js} +0 -0
- /package/script/{resource.js → resource/mod.js} +0 -0
- /package/script/types/{AhkVar.js → CssVariableName.js} +0 -0
- /package/script/types/{AhkVarList.js → CustomIconPackEntry.js} +0 -0
- /package/script/types/{SeelenWallSettingsByMonitor.js → IconPackEntry.js} +0 -0
- /package/script/types/{FancyToolbarSettingsByMonitor.js → MediaPlayerTimeline.js} +0 -0
- /package/script/types/{NoFallbackBehavior.js → MixBlendMode.js} +0 -0
- /package/script/types/{NodeSubtype.js → MonitorId.js} +0 -0
- /package/script/types/{SeelenCommandStateSetWallpaperArgs.js → ObjectFit.js} +0 -0
- /package/script/types/{SeelenWallWallpaper.js → ObjectPosition.js} +0 -0
- /package/script/types/{VirtualDesktopStrategy.js → PlaybackSpeed.js} +0 -0
- /package/script/types/{WorkspaceIdentifierType.js → ResourceAttribute.js} +0 -0
- /package/script/types/{SeelenWegSettingsByMonitor.js → SeelenCommandCreatePopupArgs.js} +0 -0
- /package/script/types/{WindowManagerSettingsByMonitor.js → SeelenCommandRemoveResourceArgs.js} +0 -0
- /package/script/types/{WmFallbackNode.js → SeelenCommandStateGetWegItemsArgs.js} +0 -0
- /package/script/types/{WmHorizontalNode.js → SeelenCommandStateSetCustomIconPackArgs.js} +0 -0
- /package/script/types/{WmLeafNode.js → SeelenCommandUpdatePopupArgs.js} +0 -0
- /package/script/types/{WmStackNode.js → SharedIconPackEntry.js} +0 -0
- /package/script/types/{WmVerticalNode.js → SluHotkey.js} +0 -0
- /package/script/types/{WorkspaceConfiguration.js → SluShortcutsSettings.js} +0 -0
- /package/script/types/{WorkspaceIdentifier.js → ThemeConfigDefinition.js} +0 -0
package/esm/constants/mod.d.ts
CHANGED
|
@@ -15,9 +15,13 @@ declare const _languageList: readonly [{
|
|
|
15
15
|
readonly enLabel: "Korean";
|
|
16
16
|
readonly value: "ko";
|
|
17
17
|
}, {
|
|
18
|
-
readonly label: "中文";
|
|
19
|
-
readonly enLabel: "Chinese";
|
|
20
|
-
readonly value: "zh";
|
|
18
|
+
readonly label: "中文 (简体)";
|
|
19
|
+
readonly enLabel: "Chinese (Simplified)";
|
|
20
|
+
readonly value: "zh-CN";
|
|
21
|
+
}, {
|
|
22
|
+
readonly label: "中文 (繁體)";
|
|
23
|
+
readonly enLabel: "Chinese (Traditional)";
|
|
24
|
+
readonly value: "zh-TW";
|
|
21
25
|
}, {
|
|
22
26
|
readonly label: "Français";
|
|
23
27
|
readonly enLabel: "French";
|
|
@@ -27,9 +31,13 @@ declare const _languageList: readonly [{
|
|
|
27
31
|
readonly enLabel: "Arabic";
|
|
28
32
|
readonly value: "ar";
|
|
29
33
|
}, {
|
|
30
|
-
readonly label: "Português";
|
|
31
|
-
readonly enLabel: "Portuguese";
|
|
32
|
-
readonly value: "pt";
|
|
34
|
+
readonly label: "Português (Portugal)";
|
|
35
|
+
readonly enLabel: "Portuguese (Portugal)";
|
|
36
|
+
readonly value: "pt-PT";
|
|
37
|
+
}, {
|
|
38
|
+
readonly label: "Português (Brasil)";
|
|
39
|
+
readonly enLabel: "Portuguese (Brazil)";
|
|
40
|
+
readonly value: "pt-BR";
|
|
33
41
|
}, {
|
|
34
42
|
readonly label: "Русский";
|
|
35
43
|
readonly enLabel: "Russian";
|
|
@@ -123,7 +131,7 @@ declare const _languageList: readonly [{
|
|
|
123
131
|
readonly enLabel: "Estonian";
|
|
124
132
|
readonly value: "et";
|
|
125
133
|
}, {
|
|
126
|
-
readonly label: "
|
|
134
|
+
readonly label: "Tagalog";
|
|
127
135
|
readonly enLabel: "Filipino";
|
|
128
136
|
readonly value: "tl";
|
|
129
137
|
}, {
|
|
@@ -156,7 +164,7 @@ declare const _languageList: readonly [{
|
|
|
156
164
|
readonly value: "bn";
|
|
157
165
|
}, {
|
|
158
166
|
readonly label: "فارسی";
|
|
159
|
-
readonly enLabel: "
|
|
167
|
+
readonly enLabel: "Persian";
|
|
160
168
|
readonly value: "fa";
|
|
161
169
|
}, {
|
|
162
170
|
readonly label: "ਪੰਜਾਬੀ";
|
|
@@ -283,7 +291,7 @@ export type SupportedLanguagesCode = (typeof _languageList)[number]['value'];
|
|
|
283
291
|
export interface SupportedLanguage {
|
|
284
292
|
label: string;
|
|
285
293
|
enLabel: string;
|
|
286
|
-
/** language code @example 'de' 'es' 'zh' '
|
|
294
|
+
/** language code @example 'de' 'es' 'zh' 'en-US' 'en-UK' */
|
|
287
295
|
value: string;
|
|
288
296
|
}
|
|
289
297
|
export declare const SupportedLanguages: SupportedLanguage[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../src/constants/mod.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../src/constants/mod.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyET,CAAC;AAEX,MAAM,MAAM,sBAAsB,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC;AAE7E,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,4DAA4D;IAC5D,KAAK,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,kBAAkB,EAAE,iBAAiB,EAAqE,CAAC"}
|
package/esm/constants/mod.js
CHANGED
|
@@ -3,10 +3,12 @@ const _languageList = [
|
|
|
3
3
|
{ label: 'English', enLabel: 'English', value: 'en' },
|
|
4
4
|
{ label: 'Español', enLabel: 'Spanish', value: 'es' },
|
|
5
5
|
{ label: '한국어', enLabel: 'Korean', value: 'ko' },
|
|
6
|
-
{ label: '中文', enLabel: 'Chinese', value: 'zh' },
|
|
6
|
+
{ label: '中文 (简体)', enLabel: 'Chinese (Simplified)', value: 'zh-CN' },
|
|
7
|
+
{ label: '中文 (繁體)', enLabel: 'Chinese (Traditional)', value: 'zh-TW' },
|
|
7
8
|
{ label: 'Français', enLabel: 'French', value: 'fr' },
|
|
8
9
|
{ label: 'العربية', enLabel: 'Arabic', value: 'ar' },
|
|
9
|
-
{ label: 'Português', enLabel: 'Portuguese', value: 'pt' },
|
|
10
|
+
{ label: 'Português (Portugal)', enLabel: 'Portuguese (Portugal)', value: 'pt-PT' },
|
|
11
|
+
{ label: 'Português (Brasil)', enLabel: 'Portuguese (Brazil)', value: 'pt-BR' },
|
|
10
12
|
{ label: 'Русский', enLabel: 'Russian', value: 'ru' },
|
|
11
13
|
{ label: 'हिन्दी', enLabel: 'Hindi', value: 'hi' },
|
|
12
14
|
{ label: '日本語', enLabel: 'Japanese', value: 'ja' },
|
|
@@ -30,7 +32,7 @@ const _languageList = [
|
|
|
30
32
|
{ label: 'Lietuvių', enLabel: 'Lithuanian', value: 'lt' },
|
|
31
33
|
{ label: 'Latviešu', enLabel: 'Latvian', value: 'lv' },
|
|
32
34
|
{ label: 'Eesti', enLabel: 'Estonian', value: 'et' },
|
|
33
|
-
{ label: '
|
|
35
|
+
{ label: 'Tagalog', enLabel: 'Filipino', value: 'tl' }, // or fil
|
|
34
36
|
{ label: 'Tiếng Việt', enLabel: 'Vietnamese', value: 'vi' },
|
|
35
37
|
{ label: 'ไทย', enLabel: 'Thai', value: 'th' },
|
|
36
38
|
{ label: 'Indonesia', enLabel: 'Indonesian', value: 'id' },
|
|
@@ -38,7 +40,7 @@ const _languageList = [
|
|
|
38
40
|
{ label: 'Català', enLabel: 'Catalan', value: 'ca' },
|
|
39
41
|
{ label: 'Afrikaans', enLabel: 'Afrikaans', value: 'af' },
|
|
40
42
|
{ label: 'বাংলা', enLabel: 'Bengali', value: 'bn' },
|
|
41
|
-
{ label: 'فارسی', enLabel: '
|
|
43
|
+
{ label: 'فارسی', enLabel: 'Persian', value: 'fa' },
|
|
42
44
|
{ label: 'ਪੰਜਾਬੀ', enLabel: 'Punjabi', value: 'pa' },
|
|
43
45
|
{ label: 'Kiswahili', enLabel: 'Swahili', value: 'sw' },
|
|
44
46
|
{ label: 'தமிழ்', enLabel: 'Tamil', value: 'ta' },
|
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
export declare enum SeelenCommand {
|
|
2
|
+
StateGetVirtualDesktops = "get_virtual_desktops",
|
|
3
|
+
SwitchWorkspace = "switch_workspace",
|
|
2
4
|
Run = "run",
|
|
5
|
+
RunAsAdmin = "run_as_admin",
|
|
6
|
+
GetFocusedApp = "get_focused_app",
|
|
3
7
|
IsDevMode = "is_dev_mode",
|
|
4
8
|
IsAppxPackage = "is_appx_package",
|
|
5
9
|
OpenFile = "open_file",
|
|
6
|
-
RunAsAdmin = "run_as_admin",
|
|
7
10
|
SelectFileOnExplorer = "select_file_on_explorer",
|
|
8
|
-
IsVirtualDesktopSupported = "is_virtual_desktop_supported",
|
|
9
11
|
GetUserEnvs = "get_user_envs",
|
|
10
12
|
ShowAppSettings = "show_app_settings",
|
|
11
|
-
SwitchWorkspace = "switch_workspace",
|
|
12
13
|
SendKeys = "send_keys",
|
|
13
14
|
GetIcon = "get_icon",
|
|
14
15
|
SimulateFullscreen = "simulate_fullscreen",
|
|
15
16
|
ShowDesktop = "show_desktop",
|
|
17
|
+
RequestToUserInputShortcut = "request_to_user_input_shortcut",
|
|
16
18
|
CheckForUpdates = "check_for_updates",
|
|
17
19
|
InstallLastAvailableUpdate = "install_last_available_update",
|
|
18
20
|
TranslateText = "translate_text",
|
|
@@ -21,25 +23,30 @@ export declare enum SeelenCommand {
|
|
|
21
23
|
SystemGetColors = "get_system_colors",
|
|
22
24
|
SystemGetLanguages = "get_system_languages",
|
|
23
25
|
SystemSetKeyboardLayout = "set_system_keyboard_layout",
|
|
26
|
+
StateGetDefaultSettings = "state_get_default_settings",
|
|
27
|
+
StateGetDefaultMonitorSettings = "state_get_default_monitor_settings",
|
|
28
|
+
StateGetDefaultWallpaperSettings = "state_get_default_wallpaper_settings",
|
|
24
29
|
SetAutoStart = "set_auto_start",
|
|
25
30
|
GetAutoStartStatus = "get_auto_start_status",
|
|
31
|
+
RemoveResource = "remove_resource",
|
|
26
32
|
StateGetThemes = "state_get_themes",
|
|
27
33
|
StateGetWegItems = "state_get_weg_items",
|
|
28
34
|
StateWriteWegItems = "state_write_weg_items",
|
|
29
35
|
StateGetToolbarItems = "state_get_toolbar_items",
|
|
30
36
|
StateGetSettings = "state_get_settings",
|
|
31
37
|
StateWriteSettings = "state_write_settings",
|
|
32
|
-
StateGetDefaultSettings = "state_get_default_settings",
|
|
33
|
-
StateGetDefaultMonitorSettings = "state_get_default_monitor_settings",
|
|
34
38
|
StateGetSpecificAppsConfigurations = "state_get_specific_apps_configurations",
|
|
35
|
-
StateGetWallpaper = "state_get_wallpaper",
|
|
36
|
-
StateSetWallpaper = "state_set_wallpaper",
|
|
37
39
|
StateGetHistory = "state_get_history",
|
|
38
40
|
StateGetPlugins = "state_get_plugins",
|
|
39
41
|
StateGetWidgets = "state_get_widgets",
|
|
40
42
|
StateGetIconPacks = "state_get_icon_packs",
|
|
43
|
+
StateGetWallpapers = "state_get_wallpapers",
|
|
44
|
+
StateSetCustomIconPack = "state_add_icon_to_custom_icon_pack",
|
|
41
45
|
StateGetProfiles = "state_get_profiles",
|
|
42
46
|
StateDeleteCachedIcons = "state_delete_cached_icons",
|
|
47
|
+
StateRequestWallpaperAddition = "state_request_wallpaper_addition",
|
|
48
|
+
GetNativeShellWallpaper = "get_native_shell_wallpaper",
|
|
49
|
+
SetNativeShellWallpaper = "set_native_shell_wallpaper",
|
|
43
50
|
GetUser = "get_user",
|
|
44
51
|
GetUserFolderContent = "get_user_folder_content",
|
|
45
52
|
SetUserFolderLimit = "set_user_folder_limit",
|
|
@@ -68,7 +75,6 @@ export declare enum SeelenCommand {
|
|
|
68
75
|
Restart = "restart",
|
|
69
76
|
Shutdown = "shutdown",
|
|
70
77
|
Lock = "lock",
|
|
71
|
-
WegGetItemsForWidget = "weg_get_items_for_widget",
|
|
72
78
|
WegCloseApp = "weg_close_app",
|
|
73
79
|
WegKillApp = "weg_kill_app",
|
|
74
80
|
WegToggleWindowState = "weg_toggle_window_state",
|
|
@@ -77,6 +83,9 @@ export declare enum SeelenCommand {
|
|
|
77
83
|
SetWindowPosition = "set_window_position",
|
|
78
84
|
RequestFocus = "request_focus",
|
|
79
85
|
LauncherGetApps = "launcher_get_apps",
|
|
86
|
+
CreatePopup = "create_popup",
|
|
87
|
+
UpdatePopup = "update_popup",
|
|
88
|
+
ClosePopup = "close_popup",
|
|
80
89
|
GetPopupConfig = "get_popup_config",
|
|
81
90
|
GetTrayIcons = "get_tray_icons",
|
|
82
91
|
OnClickTrayIcon = "on_click_tray_icon",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../../src/handlers/commands.ts"],"names":[],"mappings":"AACA,oBAAY,aAAa;IACvB,GAAG,QAAQ;IACX,SAAS,gBAAgB;IACzB,aAAa,oBAAoB;IACjC,QAAQ,cAAc;IACtB,
|
|
1
|
+
{"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../../src/handlers/commands.ts"],"names":[],"mappings":"AACA,oBAAY,aAAa;IACvB,uBAAuB,yBAAyB;IAChD,eAAe,qBAAqB;IACpC,GAAG,QAAQ;IACX,UAAU,iBAAiB;IAC3B,aAAa,oBAAoB;IACjC,SAAS,gBAAgB;IACzB,aAAa,oBAAoB;IACjC,QAAQ,cAAc;IACtB,oBAAoB,4BAA4B;IAChD,WAAW,kBAAkB;IAC7B,eAAe,sBAAsB;IACrC,QAAQ,cAAc;IACtB,OAAO,aAAa;IACpB,kBAAkB,wBAAwB;IAC1C,WAAW,iBAAiB;IAC5B,0BAA0B,mCAAmC;IAC7D,eAAe,sBAAsB;IACrC,0BAA0B,kCAAkC;IAC5D,aAAa,mBAAmB;IAChC,8BAA8B,gCAAgC;IAC9D,iBAAiB,2BAA2B;IAC5C,eAAe,sBAAsB;IACrC,kBAAkB,yBAAyB;IAC3C,uBAAuB,+BAA+B;IACtD,uBAAuB,+BAA+B;IACtD,8BAA8B,uCAAuC;IACrE,gCAAgC,yCAAyC;IACzE,YAAY,mBAAmB;IAC/B,kBAAkB,0BAA0B;IAC5C,cAAc,oBAAoB;IAClC,cAAc,qBAAqB;IACnC,gBAAgB,wBAAwB;IACxC,kBAAkB,0BAA0B;IAC5C,oBAAoB,4BAA4B;IAChD,gBAAgB,uBAAuB;IACvC,kBAAkB,yBAAyB;IAC3C,kCAAkC,2CAA2C;IAC7E,eAAe,sBAAsB;IACrC,eAAe,sBAAsB;IACrC,eAAe,sBAAsB;IACrC,iBAAiB,yBAAyB;IAC1C,kBAAkB,yBAAyB;IAC3C,sBAAsB,uCAAuC;IAC7D,gBAAgB,uBAAuB;IACvC,sBAAsB,8BAA8B;IACpD,6BAA6B,qCAAqC;IAClE,uBAAuB,+BAA+B;IACtD,uBAAuB,+BAA+B;IACtD,OAAO,aAAa;IACpB,oBAAoB,4BAA4B;IAChD,kBAAkB,0BAA0B;IAC5C,4BAA4B,oCAAoC;IAChE,sBAAsB,6BAA6B;IACnD,qBAAqB,4BAA4B;IACjD,mBAAmB,0BAA0B;IAC7C,qBAAqB,4BAA4B;IACjD,0BAA0B,kCAAkC;IAC5D,eAAe,sBAAsB;IACrC,gBAAgB,uBAAuB;IACvC,SAAS,eAAe;IACxB,oBAAoB,4BAA4B;IAChD,SAAS,eAAe;IACxB,cAAc,qBAAqB;IACnC,eAAe,sBAAsB;IACrC,qBAAqB,6BAA6B;IAClD,wBAAwB,gCAAgC;IACxD,wBAAwB,gCAAgC;IACxD,cAAc,qBAAqB;IACnC,YAAY,mBAAmB;IAC/B,YAAY,kBAAkB;IAC9B,MAAM,YAAY;IAClB,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,WAAW,kBAAkB;IAC7B,UAAU,iBAAiB;IAC3B,oBAAoB,4BAA4B;IAChD,wBAAwB,gCAAgC;IACxD,UAAU,iBAAiB;IAC3B,iBAAiB,wBAAwB;IACzC,YAAY,kBAAkB;IAC9B,eAAe,sBAAsB;IACrC,WAAW,iBAAiB;IAC5B,WAAW,iBAAiB;IAC5B,UAAU,gBAAgB;IAC1B,cAAc,qBAAqB;IACnC,YAAY,mBAAmB;IAC/B,eAAe,uBAAuB;IACtC,qBAAqB,8BAA8B;IACnD,eAAe,sBAAsB;IACrC,iBAAiB,wBAAwB;IACzC,gBAAgB,uBAAuB;IACvC,WAAW,iBAAiB;IAC5B,cAAc,oBAAoB;IAClC,gBAAgB,sBAAsB;IACtC,kBAAkB,wBAAwB;IAC1C,qBAAqB,4BAA4B;CAClD"}
|
package/esm/handlers/commands.js
CHANGED
|
@@ -1,20 +1,22 @@
|
|
|
1
1
|
// This file was generated via rust macros. Don't modify manually.
|
|
2
2
|
export var SeelenCommand;
|
|
3
3
|
(function (SeelenCommand) {
|
|
4
|
+
SeelenCommand["StateGetVirtualDesktops"] = "get_virtual_desktops";
|
|
5
|
+
SeelenCommand["SwitchWorkspace"] = "switch_workspace";
|
|
4
6
|
SeelenCommand["Run"] = "run";
|
|
7
|
+
SeelenCommand["RunAsAdmin"] = "run_as_admin";
|
|
8
|
+
SeelenCommand["GetFocusedApp"] = "get_focused_app";
|
|
5
9
|
SeelenCommand["IsDevMode"] = "is_dev_mode";
|
|
6
10
|
SeelenCommand["IsAppxPackage"] = "is_appx_package";
|
|
7
11
|
SeelenCommand["OpenFile"] = "open_file";
|
|
8
|
-
SeelenCommand["RunAsAdmin"] = "run_as_admin";
|
|
9
12
|
SeelenCommand["SelectFileOnExplorer"] = "select_file_on_explorer";
|
|
10
|
-
SeelenCommand["IsVirtualDesktopSupported"] = "is_virtual_desktop_supported";
|
|
11
13
|
SeelenCommand["GetUserEnvs"] = "get_user_envs";
|
|
12
14
|
SeelenCommand["ShowAppSettings"] = "show_app_settings";
|
|
13
|
-
SeelenCommand["SwitchWorkspace"] = "switch_workspace";
|
|
14
15
|
SeelenCommand["SendKeys"] = "send_keys";
|
|
15
16
|
SeelenCommand["GetIcon"] = "get_icon";
|
|
16
17
|
SeelenCommand["SimulateFullscreen"] = "simulate_fullscreen";
|
|
17
18
|
SeelenCommand["ShowDesktop"] = "show_desktop";
|
|
19
|
+
SeelenCommand["RequestToUserInputShortcut"] = "request_to_user_input_shortcut";
|
|
18
20
|
SeelenCommand["CheckForUpdates"] = "check_for_updates";
|
|
19
21
|
SeelenCommand["InstallLastAvailableUpdate"] = "install_last_available_update";
|
|
20
22
|
SeelenCommand["TranslateText"] = "translate_text";
|
|
@@ -23,25 +25,30 @@ export var SeelenCommand;
|
|
|
23
25
|
SeelenCommand["SystemGetColors"] = "get_system_colors";
|
|
24
26
|
SeelenCommand["SystemGetLanguages"] = "get_system_languages";
|
|
25
27
|
SeelenCommand["SystemSetKeyboardLayout"] = "set_system_keyboard_layout";
|
|
28
|
+
SeelenCommand["StateGetDefaultSettings"] = "state_get_default_settings";
|
|
29
|
+
SeelenCommand["StateGetDefaultMonitorSettings"] = "state_get_default_monitor_settings";
|
|
30
|
+
SeelenCommand["StateGetDefaultWallpaperSettings"] = "state_get_default_wallpaper_settings";
|
|
26
31
|
SeelenCommand["SetAutoStart"] = "set_auto_start";
|
|
27
32
|
SeelenCommand["GetAutoStartStatus"] = "get_auto_start_status";
|
|
33
|
+
SeelenCommand["RemoveResource"] = "remove_resource";
|
|
28
34
|
SeelenCommand["StateGetThemes"] = "state_get_themes";
|
|
29
35
|
SeelenCommand["StateGetWegItems"] = "state_get_weg_items";
|
|
30
36
|
SeelenCommand["StateWriteWegItems"] = "state_write_weg_items";
|
|
31
37
|
SeelenCommand["StateGetToolbarItems"] = "state_get_toolbar_items";
|
|
32
38
|
SeelenCommand["StateGetSettings"] = "state_get_settings";
|
|
33
39
|
SeelenCommand["StateWriteSettings"] = "state_write_settings";
|
|
34
|
-
SeelenCommand["StateGetDefaultSettings"] = "state_get_default_settings";
|
|
35
|
-
SeelenCommand["StateGetDefaultMonitorSettings"] = "state_get_default_monitor_settings";
|
|
36
40
|
SeelenCommand["StateGetSpecificAppsConfigurations"] = "state_get_specific_apps_configurations";
|
|
37
|
-
SeelenCommand["StateGetWallpaper"] = "state_get_wallpaper";
|
|
38
|
-
SeelenCommand["StateSetWallpaper"] = "state_set_wallpaper";
|
|
39
41
|
SeelenCommand["StateGetHistory"] = "state_get_history";
|
|
40
42
|
SeelenCommand["StateGetPlugins"] = "state_get_plugins";
|
|
41
43
|
SeelenCommand["StateGetWidgets"] = "state_get_widgets";
|
|
42
44
|
SeelenCommand["StateGetIconPacks"] = "state_get_icon_packs";
|
|
45
|
+
SeelenCommand["StateGetWallpapers"] = "state_get_wallpapers";
|
|
46
|
+
SeelenCommand["StateSetCustomIconPack"] = "state_add_icon_to_custom_icon_pack";
|
|
43
47
|
SeelenCommand["StateGetProfiles"] = "state_get_profiles";
|
|
44
48
|
SeelenCommand["StateDeleteCachedIcons"] = "state_delete_cached_icons";
|
|
49
|
+
SeelenCommand["StateRequestWallpaperAddition"] = "state_request_wallpaper_addition";
|
|
50
|
+
SeelenCommand["GetNativeShellWallpaper"] = "get_native_shell_wallpaper";
|
|
51
|
+
SeelenCommand["SetNativeShellWallpaper"] = "set_native_shell_wallpaper";
|
|
45
52
|
SeelenCommand["GetUser"] = "get_user";
|
|
46
53
|
SeelenCommand["GetUserFolderContent"] = "get_user_folder_content";
|
|
47
54
|
SeelenCommand["SetUserFolderLimit"] = "set_user_folder_limit";
|
|
@@ -70,7 +77,6 @@ export var SeelenCommand;
|
|
|
70
77
|
SeelenCommand["Restart"] = "restart";
|
|
71
78
|
SeelenCommand["Shutdown"] = "shutdown";
|
|
72
79
|
SeelenCommand["Lock"] = "lock";
|
|
73
|
-
SeelenCommand["WegGetItemsForWidget"] = "weg_get_items_for_widget";
|
|
74
80
|
SeelenCommand["WegCloseApp"] = "weg_close_app";
|
|
75
81
|
SeelenCommand["WegKillApp"] = "weg_kill_app";
|
|
76
82
|
SeelenCommand["WegToggleWindowState"] = "weg_toggle_window_state";
|
|
@@ -79,6 +85,9 @@ export var SeelenCommand;
|
|
|
79
85
|
SeelenCommand["SetWindowPosition"] = "set_window_position";
|
|
80
86
|
SeelenCommand["RequestFocus"] = "request_focus";
|
|
81
87
|
SeelenCommand["LauncherGetApps"] = "launcher_get_apps";
|
|
88
|
+
SeelenCommand["CreatePopup"] = "create_popup";
|
|
89
|
+
SeelenCommand["UpdatePopup"] = "update_popup";
|
|
90
|
+
SeelenCommand["ClosePopup"] = "close_popup";
|
|
82
91
|
SeelenCommand["GetPopupConfig"] = "get_popup_config";
|
|
83
92
|
SeelenCommand["GetTrayIcons"] = "get_tray_icons";
|
|
84
93
|
SeelenCommand["OnClickTrayIcon"] = "on_click_tray_icon";
|
package/esm/handlers/events.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export declare enum SeelenEvent {
|
|
2
|
-
|
|
3
|
-
ActiveWorkspaceChanged = "active-workspace-changed",
|
|
2
|
+
VirtualDesktopsChanged = "virtual-desktops::changed",
|
|
4
3
|
GlobalFocusChanged = "global-focus-changed",
|
|
5
4
|
GlobalMouseMove = "global-mouse-move",
|
|
6
5
|
HandleLayeredHitboxes = "handle-layered",
|
|
@@ -27,13 +26,11 @@ export declare enum SeelenEvent {
|
|
|
27
26
|
TrayInfo = "tray-info",
|
|
28
27
|
ToolbarOverlaped = "set-auto-hide",
|
|
29
28
|
WegOverlaped = "set-auto-hide",
|
|
30
|
-
WegInstanceChanged = "weg::instance-changed",
|
|
31
29
|
WMSetReservation = "set-reservation",
|
|
32
30
|
WMForceRetiling = "wm-force-retiling",
|
|
33
31
|
WMSetLayout = "wm-set-layout",
|
|
34
|
-
WMSetOverlayVisibility = "wm-set-overlay-visibility",
|
|
35
|
-
WMSetActiveWindow = "wm-set-active-window",
|
|
36
32
|
WallStop = "wall-stop",
|
|
33
|
+
PopupContentChanged = "popup-content-changed",
|
|
37
34
|
StateSettingsChanged = "settings-changed",
|
|
38
35
|
StateWegItemsChanged = "weg-items",
|
|
39
36
|
StateToolbarItemsChanged = "toolbar-items",
|
|
@@ -43,6 +40,7 @@ export declare enum SeelenEvent {
|
|
|
43
40
|
StateIconPacksChanged = "icon-packs",
|
|
44
41
|
StatePluginsChanged = "plugins-changed",
|
|
45
42
|
StateWidgetsChanged = "widgets-changed",
|
|
43
|
+
StateWallpapersChanged = "UserResources::wallpapers-changed",
|
|
46
44
|
StateProfilesChanged = "profiles-changed"
|
|
47
45
|
}
|
|
48
46
|
//# sourceMappingURL=events.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/handlers/events.ts"],"names":[],"mappings":"AACA,oBAAY,WAAW;IACrB,
|
|
1
|
+
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/handlers/events.ts"],"names":[],"mappings":"AACA,oBAAY,WAAW;IACrB,sBAAsB,8BAA8B;IACpD,kBAAkB,yBAAyB;IAC3C,eAAe,sBAAsB;IACrC,qBAAqB,mBAAmB;IACxC,qBAAqB,6BAA6B;IAClD,sBAAsB,8BAA8B;IACpD,WAAW,iBAAiB;IAC5B,iBAAiB,wBAAwB;IACzC,uBAAuB,8BAA8B;IACrD,iCAAiC,yCAAyC;IAC1E,oBAAoB,4BAA4B;IAChD,uBAAuB,+BAA+B;IACtD,aAAa,mBAAmB;IAChC,WAAW,iBAAiB;IAC5B,YAAY,kBAAkB;IAC9B,qBAAqB,6BAA6B;IAClD,eAAe,qBAAqB;IACpC,yBAAyB,gCAAgC;IACzD,kBAAkB,iBAAiB;IACnC,aAAa,kBAAkB;IAC/B,WAAW,iBAAiB;IAC5B,SAAS,eAAe;IACxB,eAAe,qBAAqB;IACpC,aAAa,mBAAmB;IAChC,QAAQ,cAAc;IACtB,gBAAgB,kBAAkB;IAClC,YAAY,kBAAkB;IAC9B,gBAAgB,oBAAoB;IACpC,eAAe,sBAAsB;IACrC,WAAW,kBAAkB;IAC7B,QAAQ,cAAc;IACtB,mBAAmB,0BAA0B;IAC7C,oBAAoB,qBAAqB;IACzC,oBAAoB,cAAc;IAClC,wBAAwB,kBAAkB;IAC1C,kBAAkB,WAAW;IAC7B,yBAAyB,oBAAoB;IAC7C,mBAAmB,YAAY;IAC/B,qBAAqB,eAAe;IACpC,mBAAmB,oBAAoB;IACvC,mBAAmB,oBAAoB;IACvC,sBAAsB,sCAAsC;IAC5D,oBAAoB,qBAAqB;CAC1C"}
|
package/esm/handlers/events.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
// This file was generated via rust macros. Don't modify manually.
|
|
2
2
|
export var SeelenEvent;
|
|
3
3
|
(function (SeelenEvent) {
|
|
4
|
-
SeelenEvent["
|
|
5
|
-
SeelenEvent["ActiveWorkspaceChanged"] = "active-workspace-changed";
|
|
4
|
+
SeelenEvent["VirtualDesktopsChanged"] = "virtual-desktops::changed";
|
|
6
5
|
SeelenEvent["GlobalFocusChanged"] = "global-focus-changed";
|
|
7
6
|
SeelenEvent["GlobalMouseMove"] = "global-mouse-move";
|
|
8
7
|
SeelenEvent["HandleLayeredHitboxes"] = "handle-layered";
|
|
@@ -29,13 +28,11 @@ export var SeelenEvent;
|
|
|
29
28
|
SeelenEvent["TrayInfo"] = "tray-info";
|
|
30
29
|
SeelenEvent["ToolbarOverlaped"] = "set-auto-hide";
|
|
31
30
|
SeelenEvent["WegOverlaped"] = "set-auto-hide";
|
|
32
|
-
SeelenEvent["WegInstanceChanged"] = "weg::instance-changed";
|
|
33
31
|
SeelenEvent["WMSetReservation"] = "set-reservation";
|
|
34
32
|
SeelenEvent["WMForceRetiling"] = "wm-force-retiling";
|
|
35
33
|
SeelenEvent["WMSetLayout"] = "wm-set-layout";
|
|
36
|
-
SeelenEvent["WMSetOverlayVisibility"] = "wm-set-overlay-visibility";
|
|
37
|
-
SeelenEvent["WMSetActiveWindow"] = "wm-set-active-window";
|
|
38
34
|
SeelenEvent["WallStop"] = "wall-stop";
|
|
35
|
+
SeelenEvent["PopupContentChanged"] = "popup-content-changed";
|
|
39
36
|
SeelenEvent["StateSettingsChanged"] = "settings-changed";
|
|
40
37
|
SeelenEvent["StateWegItemsChanged"] = "weg-items";
|
|
41
38
|
SeelenEvent["StateToolbarItemsChanged"] = "toolbar-items";
|
|
@@ -45,5 +42,6 @@ export var SeelenEvent;
|
|
|
45
42
|
SeelenEvent["StateIconPacksChanged"] = "icon-packs";
|
|
46
43
|
SeelenEvent["StatePluginsChanged"] = "plugins-changed";
|
|
47
44
|
SeelenEvent["StateWidgetsChanged"] = "widgets-changed";
|
|
45
|
+
SeelenEvent["StateWallpapersChanged"] = "UserResources::wallpapers-changed";
|
|
48
46
|
SeelenEvent["StateProfilesChanged"] = "profiles-changed";
|
|
49
47
|
})(SeelenEvent || (SeelenEvent = {}));
|
package/esm/lib.d.ts
CHANGED
|
@@ -2,6 +2,6 @@ export * from './constants/mod.js';
|
|
|
2
2
|
export * from './state/mod.js';
|
|
3
3
|
export * from './system_state/mod.js';
|
|
4
4
|
export * from './utils/mod.js';
|
|
5
|
-
export * from './resource.js';
|
|
5
|
+
export * from './resource/mod.js';
|
|
6
6
|
export { invoke, SeelenCommand, SeelenEvent, subscribe } from './handlers/mod.js';
|
|
7
7
|
//# sourceMappingURL=lib.d.ts.map
|
package/esm/lib.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lib.d.ts","sourceRoot":"","sources":["../src/lib.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,
|
|
1
|
+
{"version":3,"file":"lib.d.ts","sourceRoot":"","sources":["../src/lib.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC"}
|
package/esm/lib.js
CHANGED
|
@@ -2,5 +2,5 @@ export * from './constants/mod.js';
|
|
|
2
2
|
export * from './state/mod.js';
|
|
3
3
|
export * from './system_state/mod.js';
|
|
4
4
|
export * from './utils/mod.js';
|
|
5
|
-
export * from './resource.js';
|
|
5
|
+
export * from './resource/mod.js';
|
|
6
6
|
export { invoke, SeelenCommand, SeelenEvent, subscribe } from './handlers/mod.js';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ResourceKind, ResourceStatus } from '../types/mod.js';
|
|
2
|
+
import type { Enum } from '../utils/enums.js';
|
|
3
|
+
declare const ResourceKind: Enum<ResourceKind>;
|
|
4
|
+
declare const ResourceStatus: Enum<ResourceStatus>;
|
|
5
|
+
export { ResourceKind, ResourceStatus };
|
|
6
|
+
//# sourceMappingURL=mod.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../src/resource/mod.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACpE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAE9C,QAAA,MAAM,YAAY,EAAE,IAAI,CAAC,YAAY,CAOpC,CAAC;AAEF,QAAA,MAAM,cAAc,EAAE,IAAI,CAAC,cAAc,CAMxC,CAAC;AAEF,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,CAAC"}
|
package/esm/state/icon_pack.d.ts
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import type { Icon as IIcon, IconPack as IIconPack, SeelenCommandGetIconArgs } from '../types/mod.js';
|
|
1
|
+
import type { Icon as IIcon, IconPack, IconPack as IIconPack, SeelenCommandGetIconArgs } from '../types/mod.js';
|
|
2
2
|
import { List } from '../utils/List.js';
|
|
3
3
|
import { type UnSubscriber } from '../handlers/mod.js';
|
|
4
4
|
import type { UnlistenFn } from '@tauri-apps/api/event';
|
|
5
5
|
export declare class IconPackList extends List<IIconPack> {
|
|
6
6
|
static getAsync(): Promise<IconPackList>;
|
|
7
|
-
static onChange(cb: (
|
|
7
|
+
static onChange(cb: (payload: IconPackList) => void): Promise<UnSubscriber>;
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* Class helper to allow easy use of icon packs
|
|
11
11
|
*/
|
|
12
12
|
export declare class IconPackManager {
|
|
13
|
-
protected
|
|
14
|
-
protected
|
|
15
|
-
protected _actives: string[];
|
|
13
|
+
protected _availableIconPacks: IconPack[];
|
|
14
|
+
protected _activeIconPackIds: string[];
|
|
16
15
|
private callbacks;
|
|
17
|
-
private
|
|
18
|
-
private
|
|
19
|
-
private
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
get
|
|
23
|
-
|
|
16
|
+
private unlisteners;
|
|
17
|
+
private isListeningForChanges;
|
|
18
|
+
private activeIconPacks;
|
|
19
|
+
protected constructor(_availableIconPacks: IconPack[], _activeIconPackIds: string[]);
|
|
20
|
+
get iconPacks(): IconPack[];
|
|
21
|
+
get activeIconPackIds(): string[];
|
|
22
|
+
protected resolveAvailableIcons(): void;
|
|
23
|
+
protected cacheActiveIconPacks(): void;
|
|
24
24
|
/**
|
|
25
25
|
* Creates an instance of IconPackManager. This intance will be updated when
|
|
26
26
|
* the list of icon packs or the settings changes, so just having one global instance is enough.
|
|
@@ -65,11 +65,9 @@ export declare class IconPackManager {
|
|
|
65
65
|
*
|
|
66
66
|
* The search for icons follows this priority order:
|
|
67
67
|
* 1. UMID (App User Model Id)
|
|
68
|
-
* 2. Full path
|
|
69
|
-
* 3.
|
|
70
|
-
*
|
|
71
|
-
* Icon packs are searched in the order of their priority. An icon from a higher-priority pack
|
|
72
|
-
* will override an icon from a lower-priority pack, even if the latter matches the search criteria.
|
|
68
|
+
* 2. Full path
|
|
69
|
+
* 3. Filename (this is only used to match executable files like .exe)
|
|
70
|
+
* 4. Extension
|
|
73
71
|
*
|
|
74
72
|
* @param {Object} args - Arguments for retrieving the icon path.
|
|
75
73
|
* @param {string} [args.path] - The full path to the app or file.
|
|
@@ -87,34 +85,7 @@ export declare class IconPackManager {
|
|
|
87
85
|
* umid: "Seelen.SeelenUI_p6yyn03m1894e!App"
|
|
88
86
|
* });
|
|
89
87
|
*/
|
|
90
|
-
getIconPath(
|
|
91
|
-
/**
|
|
92
|
-
* Returns the icon Url/Src for an app or file. If no icon is available, returns `null`.
|
|
93
|
-
*
|
|
94
|
-
* The search for icons follows this priority order:
|
|
95
|
-
* 1. UMID (App User Model Id)
|
|
96
|
-
* 2. Full path or filename (for executable files like .exe or .lnk)
|
|
97
|
-
* 3. File extension (for non-executable files like .png, .jpg, .txt)
|
|
98
|
-
*
|
|
99
|
-
* Icon packs are searched in the order of their priority. An icon from a higher-priority pack
|
|
100
|
-
* will override an icon from a lower-priority pack, even if the latter matches the search criteria.
|
|
101
|
-
*
|
|
102
|
-
* @param {Object} args - Arguments for retrieving the icon path.
|
|
103
|
-
* @param {string} [args.path] - The full path to the app or file.
|
|
104
|
-
* @param {string} [args.umid] - The UMID of the app.
|
|
105
|
-
* @returns {string | null} - The path to the icon, or `null` if no icon is found.
|
|
106
|
-
*
|
|
107
|
-
* @example
|
|
108
|
-
* // Example 1: Get icon by full path
|
|
109
|
-
* const iconSrc = instance.getIconPath({
|
|
110
|
-
* path: "C:\\Program Files\\Steam\\steam.exe"
|
|
111
|
-
* });
|
|
112
|
-
*
|
|
113
|
-
* // Example 2: Get icon by UMID
|
|
114
|
-
* const iconSrc = instance.getIconPath({
|
|
115
|
-
* umid: "Seelen.SeelenUI_p6yyn03m1894e!App"
|
|
116
|
-
* });
|
|
117
|
-
*/
|
|
88
|
+
getIconPath(args: SeelenCommandGetIconArgs): IIcon | null;
|
|
118
89
|
getIcon({ path, umid }: SeelenCommandGetIconArgs): IIcon | null;
|
|
119
90
|
/**
|
|
120
91
|
* Will return the special missing icon path from the highest priority icon pack.
|
|
@@ -127,18 +98,18 @@ export declare class IconPackManager {
|
|
|
127
98
|
*/
|
|
128
99
|
getMissingIcon(): IIcon | null;
|
|
129
100
|
/**
|
|
130
|
-
* Will return the
|
|
101
|
+
* Will return the specific icon path from the highest priority icon pack.
|
|
131
102
|
* If no icon pack haves the searched icon, will return null.
|
|
132
103
|
*/
|
|
133
|
-
|
|
104
|
+
getCustomIconPath(name: string): IIcon | null;
|
|
134
105
|
/**
|
|
135
|
-
* Will return the
|
|
106
|
+
* Will return the specific icon SRC from the highest priority icon pack.
|
|
136
107
|
* If no icon pack haves the searched icon, will return null.
|
|
137
108
|
*/
|
|
138
|
-
|
|
109
|
+
getCustomIcon(name: string): IIcon | null;
|
|
139
110
|
/**
|
|
140
|
-
*
|
|
141
|
-
*
|
|
111
|
+
* This method doesn't take in care icon packs, just extracts the inherited icon into system's icon pack
|
|
112
|
+
* if it's not already there.
|
|
142
113
|
*
|
|
143
114
|
* @param filePath The path to the app could be umid o full path
|
|
144
115
|
* @example
|
|
@@ -149,7 +120,7 @@ export declare class IconPackManager {
|
|
|
149
120
|
* umid: "Seelen.SeelenUI_p6yyn03m1894e!App"
|
|
150
121
|
* });
|
|
151
122
|
*/
|
|
152
|
-
static
|
|
123
|
+
static requestIconExtraction(obj: SeelenCommandGetIconArgs): Promise<void>;
|
|
153
124
|
/**
|
|
154
125
|
* This will delete all stored icons on the system icon pack.\
|
|
155
126
|
* All icons should be regenerated after calling this method.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon_pack.d.ts","sourceRoot":"","sources":["../../src/state/icon_pack.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"icon_pack.d.ts","sourceRoot":"","sources":["../../src/state/icon_pack.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,IAAI,IAAI,KAAK,EACb,QAAQ,EACR,QAAQ,IAAI,SAAS,EACrB,wBAAwB,EAEzB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAExC,OAAO,EAAsC,KAAK,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAE3F,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAGxD,qBAAa,YAAa,SAAQ,IAAI,CAAC,SAAS,CAAC;IAC/C,MAAM,CAAC,QAAQ,IAAI,OAAO,CAAC,YAAY,CAAC;IAIxC,MAAM,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC,OAAO,EAAE,YAAY,KAAK,IAAI,GAAG,OAAO,CAAC,YAAY,CAAC;CAG5E;AAED;;GAEG;AACH,qBAAa,eAAe;IASxB,SAAS,CAAC,mBAAmB,EAAE,QAAQ,EAAE;IACzC,SAAS,CAAC,kBAAkB,EAAE,MAAM,EAAE;IATxC,OAAO,CAAC,SAAS,CAA8B;IAC/C,OAAO,CAAC,WAAW,CAAoB;IACvC,OAAO,CAAC,qBAAqB,CAAS;IAGtC,OAAO,CAAC,eAAe,CAAkB;IAEzC,SAAS,aACG,mBAAmB,EAAE,QAAQ,EAAE,EAC/B,kBAAkB,EAAE,MAAM,EAAE;IAGxC,IAAI,SAAS,IAAI,QAAQ,EAAE,CAE1B;IAED,IAAI,iBAAiB,IAAI,MAAM,EAAE,CAEhC;IAED,SAAS,CAAC,qBAAqB,IAAI,IAAI;IAwBvC,SAAS,CAAC,oBAAoB,IAAI,IAAI;IAUtC;;;;;OAKG;WACiB,MAAM,IAAI,OAAO,CAAC,eAAe,CAAC;IAUtD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;IACU,QAAQ,CAAC,EAAE,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,UAAU,CAAC;IA6B1D;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACI,WAAW,CAAC,IAAI,EAAE,wBAAwB,GAAG,KAAK,GAAG,IAAI;IAyEzD,OAAO,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,wBAAwB,GAAG,KAAK,GAAG,IAAI;IAKtE;;;OAGG;IACI,kBAAkB,IAAI,KAAK,GAAG,IAAI;IASzC;;;OAGG;IACI,cAAc,IAAI,KAAK,GAAG,IAAI;IAKrC;;;OAGG;IACI,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,KAAK,GAAG,IAAI;IAUpD;;;OAGG;IACI,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,KAAK,GAAG,IAAI;IAKhD;;;;;;;;;;;;OAYG;WACW,qBAAqB,CAAC,GAAG,EAAE,wBAAwB,GAAG,OAAO,CAAC,IAAI,CAAC;IAIjF;;;OAGG;WACW,gBAAgB,IAAI,OAAO,CAAC,IAAI,CAAC;CAGhD"}
|