@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.
Files changed (537) hide show
  1. package/esm/constants/mod.d.ts +17 -9
  2. package/esm/constants/mod.d.ts.map +1 -1
  3. package/esm/constants/mod.js +6 -4
  4. package/esm/handlers/commands.d.ts +17 -8
  5. package/esm/handlers/commands.d.ts.map +1 -1
  6. package/esm/handlers/commands.js +17 -8
  7. package/esm/handlers/events.d.ts +3 -5
  8. package/esm/handlers/events.d.ts.map +1 -1
  9. package/esm/handlers/events.js +3 -5
  10. package/esm/lib.d.ts +1 -1
  11. package/esm/lib.d.ts.map +1 -1
  12. package/esm/lib.js +1 -1
  13. package/esm/resource/mod.d.ts +6 -0
  14. package/esm/resource/mod.d.ts.map +1 -0
  15. package/esm/state/icon_pack.d.ts +23 -52
  16. package/esm/state/icon_pack.d.ts.map +1 -1
  17. package/esm/state/icon_pack.js +137 -131
  18. package/esm/state/mod.d.ts +2 -1
  19. package/esm/state/mod.d.ts.map +1 -1
  20. package/esm/state/mod.js +1 -0
  21. package/esm/state/plugin/mod.d.ts +1 -1
  22. package/esm/state/plugin/mod.d.ts.map +1 -1
  23. package/esm/state/settings/mod.d.ts +6 -5
  24. package/esm/state/settings/mod.d.ts.map +1 -1
  25. package/esm/state/settings/mod.js +5 -8
  26. package/esm/state/settings/settings_by_monitor.d.ts +1 -4
  27. package/esm/state/settings/settings_by_monitor.d.ts.map +1 -1
  28. package/esm/state/settings/settings_by_monitor.js +0 -8
  29. package/esm/state/settings_by_app.d.ts +1 -1
  30. package/esm/state/settings_by_app.d.ts.map +1 -1
  31. package/esm/state/theme/mod.d.ts +19 -3
  32. package/esm/state/theme/mod.d.ts.map +1 -1
  33. package/esm/state/theme/mod.js +96 -0
  34. package/esm/state/wallpaper/mod.d.ts +15 -0
  35. package/esm/state/wallpaper/mod.d.ts.map +1 -0
  36. package/esm/state/wallpaper/mod.js +31 -0
  37. package/esm/state/weg_items.d.ts +6 -9
  38. package/esm/state/weg_items.d.ts.map +1 -1
  39. package/esm/state/weg_items.js +9 -17
  40. package/esm/state/widget/mod.d.ts +9 -4
  41. package/esm/state/widget/mod.d.ts.map +1 -1
  42. package/esm/state/widget/mod.js +31 -12
  43. package/esm/state/wm_layout.d.ts +4 -5
  44. package/esm/state/wm_layout.d.ts.map +1 -1
  45. package/esm/state/wm_layout.js +3 -8
  46. package/esm/system_state/bluetooth/mod.d.ts +2 -2
  47. package/esm/system_state/bluetooth/mod.d.ts.map +1 -1
  48. package/esm/system_state/language.d.ts +1 -1
  49. package/esm/system_state/language.d.ts.map +1 -1
  50. package/esm/system_state/monitors.d.ts +1 -1
  51. package/esm/system_state/monitors.d.ts.map +1 -1
  52. package/esm/system_state/ui_colors.d.ts +1 -1
  53. package/esm/system_state/ui_colors.d.ts.map +1 -1
  54. package/esm/system_state/ui_colors.js +8 -2
  55. package/esm/system_state/user.d.ts +1 -1
  56. package/esm/system_state/user.d.ts.map +1 -1
  57. package/esm/types/CssVariableName.d.ts +5 -0
  58. package/esm/types/CssVariableName.d.ts.map +1 -0
  59. package/esm/types/CustomIconPackEntry.d.ts +16 -0
  60. package/esm/types/CustomIconPackEntry.d.ts.map +1 -0
  61. package/esm/types/DesktopWorkspace.d.ts +5 -0
  62. package/esm/types/DesktopWorkspace.d.ts.map +1 -1
  63. package/esm/types/FocusedApp.d.ts +4 -0
  64. package/esm/types/FocusedApp.d.ts.map +1 -1
  65. package/esm/types/FocusedApp.js +0 -1
  66. package/esm/types/Icon.d.ts +17 -10
  67. package/esm/types/Icon.d.ts.map +1 -1
  68. package/esm/types/IconPack.d.ts +7 -19
  69. package/esm/types/IconPack.d.ts.map +1 -1
  70. package/esm/types/IconPackEntry.d.ts +11 -0
  71. package/esm/types/IconPackEntry.d.ts.map +1 -0
  72. package/esm/types/IconPackId.d.ts +3 -0
  73. package/esm/types/IconPackId.d.ts.map +1 -1
  74. package/esm/types/MediaPlayer.d.ts +2 -0
  75. package/esm/types/MediaPlayer.d.ts.map +1 -1
  76. package/esm/types/MediaPlayerTimeline.d.ts +24 -0
  77. package/esm/types/MediaPlayerTimeline.d.ts.map +1 -0
  78. package/esm/types/MixBlendMode.d.ts +2 -0
  79. package/esm/types/MixBlendMode.d.ts.map +1 -0
  80. package/esm/types/MonitorConfiguration.d.ts +0 -5
  81. package/esm/types/MonitorConfiguration.d.ts.map +1 -1
  82. package/esm/types/MonitorId.d.ts +2 -0
  83. package/esm/types/MonitorId.d.ts.map +1 -0
  84. package/esm/types/MonitorSettingsByWidget.d.ts +1 -10
  85. package/esm/types/MonitorSettingsByWidget.d.ts.map +1 -1
  86. package/esm/types/ObjectFit.d.ts +2 -0
  87. package/esm/types/ObjectFit.d.ts.map +1 -0
  88. package/esm/types/ObjectPosition.d.ts +2 -0
  89. package/esm/types/ObjectPosition.d.ts.map +1 -0
  90. package/esm/types/PhysicalMonitor.d.ts +2 -1
  91. package/esm/types/PhysicalMonitor.d.ts.map +1 -1
  92. package/esm/types/PlaybackSpeed.d.ts +2 -0
  93. package/esm/types/PlaybackSpeed.d.ts.map +1 -0
  94. package/esm/types/PluginId.d.ts +3 -0
  95. package/esm/types/PluginId.d.ts.map +1 -1
  96. package/esm/types/Resource.d.ts +35 -3
  97. package/esm/types/Resource.d.ts.map +1 -1
  98. package/esm/types/ResourceAttribute.d.ts +2 -0
  99. package/esm/types/ResourceAttribute.d.ts.map +1 -0
  100. package/esm/types/ResourceId.d.ts +4 -2
  101. package/esm/types/ResourceId.d.ts.map +1 -1
  102. package/esm/types/ResourceMetadata.d.ts +2 -6
  103. package/esm/types/ResourceMetadata.d.ts.map +1 -1
  104. package/esm/types/SeelenCommandArgument.d.ts +43 -18
  105. package/esm/types/SeelenCommandArgument.d.ts.map +1 -1
  106. package/esm/types/SeelenCommandClosePopupArgs.d.ts +4 -0
  107. package/esm/types/SeelenCommandClosePopupArgs.d.ts.map +1 -0
  108. package/esm/types/SeelenCommandClosePopupArgs.js +2 -0
  109. package/esm/types/SeelenCommandCreatePopupArgs.d.ts +5 -0
  110. package/esm/types/SeelenCommandCreatePopupArgs.d.ts.map +1 -0
  111. package/esm/types/SeelenCommandRemoveResourceArgs.d.ts +7 -0
  112. package/esm/types/SeelenCommandRemoveResourceArgs.d.ts.map +1 -0
  113. package/esm/types/SeelenCommandRequestToUserInputShortcutArgs.d.ts +4 -0
  114. package/esm/types/SeelenCommandRequestToUserInputShortcutArgs.d.ts.map +1 -0
  115. package/esm/types/SeelenCommandRequestToUserInputShortcutArgs.js +2 -0
  116. package/esm/types/SeelenCommandReturn.d.ts +38 -16
  117. package/esm/types/SeelenCommandReturn.d.ts.map +1 -1
  118. package/esm/types/SeelenCommandSetNativeShellWallpaperArgs.d.ts +4 -0
  119. package/esm/types/SeelenCommandSetNativeShellWallpaperArgs.d.ts.map +1 -0
  120. package/esm/types/SeelenCommandSetNativeShellWallpaperArgs.js +2 -0
  121. package/esm/types/SeelenCommandStateGetWegItemsArgs.d.ts +5 -0
  122. package/esm/types/SeelenCommandStateGetWegItemsArgs.d.ts.map +1 -0
  123. package/esm/types/SeelenCommandStateSetCustomIconPackArgs.d.ts +5 -0
  124. package/esm/types/SeelenCommandStateSetCustomIconPackArgs.d.ts.map +1 -0
  125. package/esm/types/SeelenCommandSwitchWorkspaceArgs.d.ts +2 -0
  126. package/esm/types/SeelenCommandSwitchWorkspaceArgs.d.ts.map +1 -1
  127. package/esm/types/SeelenCommandSwitchWorkspaceArgs.js +0 -1
  128. package/esm/types/SeelenCommandUpdatePopupArgs.d.ts +6 -0
  129. package/esm/types/SeelenCommandUpdatePopupArgs.d.ts.map +1 -0
  130. package/esm/types/SeelenEventPayload.d.ts +10 -14
  131. package/esm/types/SeelenEventPayload.d.ts.map +1 -1
  132. package/esm/types/SeelenWallSettings.d.ts +5 -2
  133. package/esm/types/SeelenWallSettings.d.ts.map +1 -1
  134. package/esm/types/SeelenWegSettings.d.ts +4 -0
  135. package/esm/types/SeelenWegSettings.d.ts.map +1 -1
  136. package/esm/types/Settings.d.ts +23 -16
  137. package/esm/types/Settings.d.ts.map +1 -1
  138. package/esm/types/SettingsByWidget.d.ts +19 -3
  139. package/esm/types/SettingsByWidget.d.ts.map +1 -1
  140. package/esm/types/SharedIconPackEntry.d.ts +12 -0
  141. package/esm/types/SharedIconPackEntry.d.ts.map +1 -0
  142. package/esm/types/SluHotkey.d.ts +8 -0
  143. package/esm/types/SluHotkey.d.ts.map +1 -0
  144. package/esm/types/SluHotkeyAction.d.ts +84 -0
  145. package/esm/types/SluHotkeyAction.d.ts.map +1 -0
  146. package/esm/types/SluHotkeyAction.js +2 -0
  147. package/esm/types/SluPopupConfig.d.ts +2 -0
  148. package/esm/types/SluPopupConfig.d.ts.map +1 -1
  149. package/esm/types/SluShortcutsSettings.d.ts +6 -0
  150. package/esm/types/SluShortcutsSettings.d.ts.map +1 -0
  151. package/esm/types/Theme.d.ts +5 -0
  152. package/esm/types/Theme.d.ts.map +1 -1
  153. package/esm/types/ThemeConfigDefinition.d.ts +6 -0
  154. package/esm/types/ThemeConfigDefinition.d.ts.map +1 -0
  155. package/esm/types/ThemeConfigGroup.d.ts +7 -0
  156. package/esm/types/ThemeConfigGroup.d.ts.map +1 -0
  157. package/esm/types/ThemeConfigGroup.js +1 -0
  158. package/esm/types/ThemeId.d.ts +3 -0
  159. package/esm/types/ThemeId.d.ts.map +1 -1
  160. package/esm/types/ThemeSettings.d.ts +5 -0
  161. package/esm/types/ThemeSettings.d.ts.map +1 -0
  162. package/esm/types/ThemeSettings.js +1 -0
  163. package/esm/types/ThemeSettingsDefinition.d.ts +2 -2
  164. package/esm/types/ThemeSettingsDefinition.d.ts.map +1 -1
  165. package/esm/types/ThemeVariable.d.ts +16 -2
  166. package/esm/types/ThemeVariable.d.ts.map +1 -1
  167. package/esm/types/ThemeVariableWithUnit.d.ts +11 -2
  168. package/esm/types/ThemeVariableWithUnit.d.ts.map +1 -1
  169. package/esm/types/ThirdPartyPlugin.d.ts +2 -2
  170. package/esm/types/ThirdPartyPlugin.d.ts.map +1 -1
  171. package/esm/types/ThirdPartyWidgetSettings.d.ts +1 -1
  172. package/esm/types/ThirdPartyWidgetSettings.d.ts.map +1 -1
  173. package/esm/types/UniqueIconPackEntry.d.ts +24 -0
  174. package/esm/types/UniqueIconPackEntry.d.ts.map +1 -0
  175. package/esm/types/UniqueIconPackEntry.js +1 -0
  176. package/esm/types/VirtualDesktopMonitor.d.ts +9 -0
  177. package/esm/types/VirtualDesktopMonitor.d.ts.map +1 -0
  178. package/esm/types/VirtualDesktopMonitor.js +1 -0
  179. package/esm/types/VirtualDesktops.d.ts +15 -0
  180. package/esm/types/VirtualDesktops.d.ts.map +1 -0
  181. package/esm/types/VirtualDesktops.js +1 -0
  182. package/esm/types/Wallpaper.d.ts +11 -0
  183. package/esm/types/Wallpaper.d.ts.map +1 -0
  184. package/esm/types/Wallpaper.js +1 -0
  185. package/esm/types/WallpaperId.d.ts +6 -0
  186. package/esm/types/WallpaperId.d.ts.map +1 -0
  187. package/esm/types/WallpaperId.js +1 -0
  188. package/esm/types/WallpaperInstanceSettings.d.ts +45 -0
  189. package/esm/types/WallpaperInstanceSettings.d.ts.map +1 -0
  190. package/esm/types/WallpaperInstanceSettings.js +1 -0
  191. package/esm/types/WidgetId.d.ts +3 -0
  192. package/esm/types/WidgetId.d.ts.map +1 -1
  193. package/esm/types/WindowManagerLayout.d.ts +1 -2
  194. package/esm/types/WindowManagerLayout.d.ts.map +1 -1
  195. package/esm/types/WmNode.d.ts +40 -15
  196. package/esm/types/WmNode.d.ts.map +1 -1
  197. package/esm/types/WmNodeKind.d.ts +2 -0
  198. package/esm/types/WmNodeKind.d.ts.map +1 -0
  199. package/esm/types/WmNodeKind.js +2 -0
  200. package/esm/types/WmNodeLifetime.d.ts +2 -0
  201. package/esm/types/WmNodeLifetime.d.ts.map +1 -0
  202. package/esm/types/WmNodeLifetime.js +2 -0
  203. package/esm/types/mod.d.ts +215 -201
  204. package/esm/types/mod.d.ts.map +1 -1
  205. package/esm/types/mod.js +215 -201
  206. package/esm/utils/Wrapper.d.ts +3 -0
  207. package/esm/utils/Wrapper.d.ts.map +1 -0
  208. package/esm/utils/Wrapper.js +5 -0
  209. package/package.json +6 -6
  210. package/script/constants/mod.d.ts +17 -9
  211. package/script/constants/mod.d.ts.map +1 -1
  212. package/script/constants/mod.js +6 -4
  213. package/script/handlers/commands.d.ts +17 -8
  214. package/script/handlers/commands.d.ts.map +1 -1
  215. package/script/handlers/commands.js +17 -8
  216. package/script/handlers/events.d.ts +3 -5
  217. package/script/handlers/events.d.ts.map +1 -1
  218. package/script/handlers/events.js +3 -5
  219. package/script/lib.d.ts +1 -1
  220. package/script/lib.d.ts.map +1 -1
  221. package/script/lib.js +1 -1
  222. package/script/resource/mod.d.ts +6 -0
  223. package/script/resource/mod.d.ts.map +1 -0
  224. package/script/state/icon_pack.d.ts +23 -52
  225. package/script/state/icon_pack.d.ts.map +1 -1
  226. package/script/state/icon_pack.js +137 -131
  227. package/script/state/mod.d.ts +2 -1
  228. package/script/state/mod.d.ts.map +1 -1
  229. package/script/state/mod.js +1 -0
  230. package/script/state/plugin/mod.d.ts +1 -1
  231. package/script/state/plugin/mod.d.ts.map +1 -1
  232. package/script/state/settings/mod.d.ts +6 -5
  233. package/script/state/settings/mod.d.ts.map +1 -1
  234. package/script/state/settings/mod.js +5 -9
  235. package/script/state/settings/settings_by_monitor.d.ts +1 -4
  236. package/script/state/settings/settings_by_monitor.d.ts.map +1 -1
  237. package/script/state/settings/settings_by_monitor.js +1 -9
  238. package/script/state/settings_by_app.d.ts +1 -1
  239. package/script/state/settings_by_app.d.ts.map +1 -1
  240. package/script/state/theme/mod.d.ts +19 -3
  241. package/script/state/theme/mod.d.ts.map +1 -1
  242. package/script/state/theme/mod.js +100 -1
  243. package/script/state/wallpaper/mod.d.ts +15 -0
  244. package/script/state/wallpaper/mod.d.ts.map +1 -0
  245. package/script/state/wallpaper/mod.js +36 -0
  246. package/script/state/weg_items.d.ts +6 -9
  247. package/script/state/weg_items.d.ts.map +1 -1
  248. package/script/state/weg_items.js +7 -15
  249. package/script/state/widget/mod.d.ts +9 -4
  250. package/script/state/widget/mod.d.ts.map +1 -1
  251. package/script/state/widget/mod.js +31 -12
  252. package/script/state/wm_layout.d.ts +4 -5
  253. package/script/state/wm_layout.d.ts.map +1 -1
  254. package/script/state/wm_layout.js +5 -11
  255. package/script/system_state/bluetooth/mod.d.ts +2 -2
  256. package/script/system_state/bluetooth/mod.d.ts.map +1 -1
  257. package/script/system_state/language.d.ts +1 -1
  258. package/script/system_state/language.d.ts.map +1 -1
  259. package/script/system_state/monitors.d.ts +1 -1
  260. package/script/system_state/monitors.d.ts.map +1 -1
  261. package/script/system_state/ui_colors.d.ts +1 -1
  262. package/script/system_state/ui_colors.d.ts.map +1 -1
  263. package/script/system_state/ui_colors.js +8 -2
  264. package/script/system_state/user.d.ts +1 -1
  265. package/script/system_state/user.d.ts.map +1 -1
  266. package/script/types/CssVariableName.d.ts +5 -0
  267. package/script/types/CssVariableName.d.ts.map +1 -0
  268. package/script/types/CustomIconPackEntry.d.ts +16 -0
  269. package/script/types/CustomIconPackEntry.d.ts.map +1 -0
  270. package/script/types/DesktopWorkspace.d.ts +5 -0
  271. package/script/types/DesktopWorkspace.d.ts.map +1 -1
  272. package/script/types/FocusedApp.d.ts +4 -0
  273. package/script/types/FocusedApp.d.ts.map +1 -1
  274. package/script/types/FocusedApp.js +0 -1
  275. package/script/types/Icon.d.ts +17 -10
  276. package/script/types/Icon.d.ts.map +1 -1
  277. package/script/types/IconPack.d.ts +7 -19
  278. package/script/types/IconPack.d.ts.map +1 -1
  279. package/script/types/IconPackEntry.d.ts +11 -0
  280. package/script/types/IconPackEntry.d.ts.map +1 -0
  281. package/script/types/IconPackId.d.ts +3 -0
  282. package/script/types/IconPackId.d.ts.map +1 -1
  283. package/script/types/MediaPlayer.d.ts +2 -0
  284. package/script/types/MediaPlayer.d.ts.map +1 -1
  285. package/script/types/MediaPlayerTimeline.d.ts +24 -0
  286. package/script/types/MediaPlayerTimeline.d.ts.map +1 -0
  287. package/script/types/MixBlendMode.d.ts +2 -0
  288. package/script/types/MixBlendMode.d.ts.map +1 -0
  289. package/script/types/MonitorConfiguration.d.ts +0 -5
  290. package/script/types/MonitorConfiguration.d.ts.map +1 -1
  291. package/script/types/MonitorId.d.ts +2 -0
  292. package/script/types/MonitorId.d.ts.map +1 -0
  293. package/script/types/MonitorSettingsByWidget.d.ts +1 -10
  294. package/script/types/MonitorSettingsByWidget.d.ts.map +1 -1
  295. package/script/types/ObjectFit.d.ts +2 -0
  296. package/script/types/ObjectFit.d.ts.map +1 -0
  297. package/script/types/ObjectPosition.d.ts +2 -0
  298. package/script/types/ObjectPosition.d.ts.map +1 -0
  299. package/script/types/PhysicalMonitor.d.ts +2 -1
  300. package/script/types/PhysicalMonitor.d.ts.map +1 -1
  301. package/script/types/PlaybackSpeed.d.ts +2 -0
  302. package/script/types/PlaybackSpeed.d.ts.map +1 -0
  303. package/script/types/PluginId.d.ts +3 -0
  304. package/script/types/PluginId.d.ts.map +1 -1
  305. package/script/types/Resource.d.ts +35 -3
  306. package/script/types/Resource.d.ts.map +1 -1
  307. package/script/types/ResourceAttribute.d.ts +2 -0
  308. package/script/types/ResourceAttribute.d.ts.map +1 -0
  309. package/script/types/ResourceId.d.ts +4 -2
  310. package/script/types/ResourceId.d.ts.map +1 -1
  311. package/script/types/ResourceMetadata.d.ts +2 -6
  312. package/script/types/ResourceMetadata.d.ts.map +1 -1
  313. package/script/types/SeelenCommandArgument.d.ts +43 -18
  314. package/script/types/SeelenCommandArgument.d.ts.map +1 -1
  315. package/script/types/SeelenCommandClosePopupArgs.d.ts +4 -0
  316. package/script/types/SeelenCommandClosePopupArgs.d.ts.map +1 -0
  317. package/script/types/SeelenCommandClosePopupArgs.js +3 -0
  318. package/script/types/SeelenCommandCreatePopupArgs.d.ts +5 -0
  319. package/script/types/SeelenCommandCreatePopupArgs.d.ts.map +1 -0
  320. package/script/types/SeelenCommandRemoveResourceArgs.d.ts +7 -0
  321. package/script/types/SeelenCommandRemoveResourceArgs.d.ts.map +1 -0
  322. package/script/types/SeelenCommandRequestToUserInputShortcutArgs.d.ts +4 -0
  323. package/script/types/SeelenCommandRequestToUserInputShortcutArgs.d.ts.map +1 -0
  324. package/script/types/SeelenCommandRequestToUserInputShortcutArgs.js +3 -0
  325. package/script/types/SeelenCommandReturn.d.ts +38 -16
  326. package/script/types/SeelenCommandReturn.d.ts.map +1 -1
  327. package/script/types/SeelenCommandSetNativeShellWallpaperArgs.d.ts +4 -0
  328. package/script/types/SeelenCommandSetNativeShellWallpaperArgs.d.ts.map +1 -0
  329. package/script/types/SeelenCommandSetNativeShellWallpaperArgs.js +3 -0
  330. package/script/types/SeelenCommandStateGetWegItemsArgs.d.ts +5 -0
  331. package/script/types/SeelenCommandStateGetWegItemsArgs.d.ts.map +1 -0
  332. package/script/types/SeelenCommandStateSetCustomIconPackArgs.d.ts +5 -0
  333. package/script/types/SeelenCommandStateSetCustomIconPackArgs.d.ts.map +1 -0
  334. package/script/types/SeelenCommandSwitchWorkspaceArgs.d.ts +2 -0
  335. package/script/types/SeelenCommandSwitchWorkspaceArgs.d.ts.map +1 -1
  336. package/script/types/SeelenCommandSwitchWorkspaceArgs.js +0 -1
  337. package/script/types/SeelenCommandUpdatePopupArgs.d.ts +6 -0
  338. package/script/types/SeelenCommandUpdatePopupArgs.d.ts.map +1 -0
  339. package/script/types/SeelenEventPayload.d.ts +10 -14
  340. package/script/types/SeelenEventPayload.d.ts.map +1 -1
  341. package/script/types/SeelenWallSettings.d.ts +5 -2
  342. package/script/types/SeelenWallSettings.d.ts.map +1 -1
  343. package/script/types/SeelenWegSettings.d.ts +4 -0
  344. package/script/types/SeelenWegSettings.d.ts.map +1 -1
  345. package/script/types/Settings.d.ts +23 -16
  346. package/script/types/Settings.d.ts.map +1 -1
  347. package/script/types/SettingsByWidget.d.ts +19 -3
  348. package/script/types/SettingsByWidget.d.ts.map +1 -1
  349. package/script/types/SharedIconPackEntry.d.ts +12 -0
  350. package/script/types/SharedIconPackEntry.d.ts.map +1 -0
  351. package/script/types/SluHotkey.d.ts +8 -0
  352. package/script/types/SluHotkey.d.ts.map +1 -0
  353. package/script/types/SluHotkeyAction.d.ts +84 -0
  354. package/script/types/SluHotkeyAction.d.ts.map +1 -0
  355. package/script/types/SluHotkeyAction.js +3 -0
  356. package/script/types/SluPopupConfig.d.ts +2 -0
  357. package/script/types/SluPopupConfig.d.ts.map +1 -1
  358. package/script/types/SluShortcutsSettings.d.ts +6 -0
  359. package/script/types/SluShortcutsSettings.d.ts.map +1 -0
  360. package/script/types/Theme.d.ts +5 -0
  361. package/script/types/Theme.d.ts.map +1 -1
  362. package/script/types/ThemeConfigDefinition.d.ts +6 -0
  363. package/script/types/ThemeConfigDefinition.d.ts.map +1 -0
  364. package/script/types/ThemeConfigGroup.d.ts +7 -0
  365. package/script/types/ThemeConfigGroup.d.ts.map +1 -0
  366. package/script/types/ThemeConfigGroup.js +2 -0
  367. package/script/types/ThemeId.d.ts +3 -0
  368. package/script/types/ThemeId.d.ts.map +1 -1
  369. package/script/types/ThemeSettings.d.ts +5 -0
  370. package/script/types/ThemeSettings.d.ts.map +1 -0
  371. package/script/types/ThemeSettings.js +2 -0
  372. package/script/types/ThemeSettingsDefinition.d.ts +2 -2
  373. package/script/types/ThemeSettingsDefinition.d.ts.map +1 -1
  374. package/script/types/ThemeVariable.d.ts +16 -2
  375. package/script/types/ThemeVariable.d.ts.map +1 -1
  376. package/script/types/ThemeVariableWithUnit.d.ts +11 -2
  377. package/script/types/ThemeVariableWithUnit.d.ts.map +1 -1
  378. package/script/types/ThirdPartyPlugin.d.ts +2 -2
  379. package/script/types/ThirdPartyPlugin.d.ts.map +1 -1
  380. package/script/types/ThirdPartyWidgetSettings.d.ts +1 -1
  381. package/script/types/ThirdPartyWidgetSettings.d.ts.map +1 -1
  382. package/script/types/UniqueIconPackEntry.d.ts +24 -0
  383. package/script/types/UniqueIconPackEntry.d.ts.map +1 -0
  384. package/script/types/UniqueIconPackEntry.js +2 -0
  385. package/script/types/VirtualDesktopMonitor.d.ts +9 -0
  386. package/script/types/VirtualDesktopMonitor.d.ts.map +1 -0
  387. package/script/types/VirtualDesktopMonitor.js +2 -0
  388. package/script/types/VirtualDesktops.d.ts +15 -0
  389. package/script/types/VirtualDesktops.d.ts.map +1 -0
  390. package/script/types/VirtualDesktops.js +2 -0
  391. package/script/types/Wallpaper.d.ts +11 -0
  392. package/script/types/Wallpaper.d.ts.map +1 -0
  393. package/script/types/Wallpaper.js +2 -0
  394. package/script/types/WallpaperId.d.ts +6 -0
  395. package/script/types/WallpaperId.d.ts.map +1 -0
  396. package/script/types/WallpaperId.js +2 -0
  397. package/script/types/WallpaperInstanceSettings.d.ts +45 -0
  398. package/script/types/WallpaperInstanceSettings.d.ts.map +1 -0
  399. package/script/types/WallpaperInstanceSettings.js +2 -0
  400. package/script/types/WidgetId.d.ts +3 -0
  401. package/script/types/WidgetId.d.ts.map +1 -1
  402. package/script/types/WindowManagerLayout.d.ts +1 -2
  403. package/script/types/WindowManagerLayout.d.ts.map +1 -1
  404. package/script/types/WmNode.d.ts +40 -15
  405. package/script/types/WmNode.d.ts.map +1 -1
  406. package/script/types/WmNodeKind.d.ts +2 -0
  407. package/script/types/WmNodeKind.d.ts.map +1 -0
  408. package/script/types/WmNodeKind.js +3 -0
  409. package/script/types/WmNodeLifetime.d.ts +2 -0
  410. package/script/types/WmNodeLifetime.d.ts.map +1 -0
  411. package/script/types/WmNodeLifetime.js +3 -0
  412. package/script/types/mod.d.ts +215 -201
  413. package/script/types/mod.d.ts.map +1 -1
  414. package/script/types/mod.js +215 -201
  415. package/script/utils/Wrapper.d.ts +3 -0
  416. package/script/utils/Wrapper.d.ts.map +1 -0
  417. package/script/utils/Wrapper.js +8 -0
  418. package/esm/resource.d.ts +0 -6
  419. package/esm/resource.d.ts.map +0 -1
  420. package/esm/types/AhkVar.d.ts +0 -7
  421. package/esm/types/AhkVar.d.ts.map +0 -1
  422. package/esm/types/AhkVarList.d.ts +0 -64
  423. package/esm/types/AhkVarList.d.ts.map +0 -1
  424. package/esm/types/FancyToolbarSettingsByMonitor.d.ts +0 -4
  425. package/esm/types/FancyToolbarSettingsByMonitor.d.ts.map +0 -1
  426. package/esm/types/NoFallbackBehavior.d.ts +0 -2
  427. package/esm/types/NoFallbackBehavior.d.ts.map +0 -1
  428. package/esm/types/NodeSubtype.d.ts +0 -2
  429. package/esm/types/NodeSubtype.d.ts.map +0 -1
  430. package/esm/types/SeelenCommandStateSetWallpaperArgs.d.ts +0 -4
  431. package/esm/types/SeelenCommandStateSetWallpaperArgs.d.ts.map +0 -1
  432. package/esm/types/SeelenWallSettingsByMonitor.d.ts +0 -6
  433. package/esm/types/SeelenWallSettingsByMonitor.d.ts.map +0 -1
  434. package/esm/types/SeelenWallWallpaper.d.ts +0 -5
  435. package/esm/types/SeelenWallWallpaper.d.ts.map +0 -1
  436. package/esm/types/SeelenWegSettingsByMonitor.d.ts +0 -8
  437. package/esm/types/SeelenWegSettingsByMonitor.d.ts.map +0 -1
  438. package/esm/types/VirtualDesktopStrategy.d.ts +0 -2
  439. package/esm/types/VirtualDesktopStrategy.d.ts.map +0 -1
  440. package/esm/types/WindowManagerSettingsByMonitor.d.ts +0 -9
  441. package/esm/types/WindowManagerSettingsByMonitor.d.ts.map +0 -1
  442. package/esm/types/WmFallbackNode.d.ts +0 -25
  443. package/esm/types/WmFallbackNode.d.ts.map +0 -1
  444. package/esm/types/WmHorizontalNode.d.ts +0 -19
  445. package/esm/types/WmHorizontalNode.d.ts.map +0 -1
  446. package/esm/types/WmLeafNode.d.ts +0 -21
  447. package/esm/types/WmLeafNode.d.ts.map +0 -1
  448. package/esm/types/WmStackNode.d.ts +0 -25
  449. package/esm/types/WmStackNode.d.ts.map +0 -1
  450. package/esm/types/WmVerticalNode.d.ts +0 -19
  451. package/esm/types/WmVerticalNode.d.ts.map +0 -1
  452. package/esm/types/WorkspaceConfiguration.d.ts +0 -8
  453. package/esm/types/WorkspaceConfiguration.d.ts.map +0 -1
  454. package/esm/types/WorkspaceIdentifier.d.ts +0 -6
  455. package/esm/types/WorkspaceIdentifier.d.ts.map +0 -1
  456. package/esm/types/WorkspaceIdentifierType.d.ts +0 -2
  457. package/esm/types/WorkspaceIdentifierType.d.ts.map +0 -1
  458. package/script/resource.d.ts +0 -6
  459. package/script/resource.d.ts.map +0 -1
  460. package/script/types/AhkVar.d.ts +0 -7
  461. package/script/types/AhkVar.d.ts.map +0 -1
  462. package/script/types/AhkVarList.d.ts +0 -64
  463. package/script/types/AhkVarList.d.ts.map +0 -1
  464. package/script/types/FancyToolbarSettingsByMonitor.d.ts +0 -4
  465. package/script/types/FancyToolbarSettingsByMonitor.d.ts.map +0 -1
  466. package/script/types/NoFallbackBehavior.d.ts +0 -2
  467. package/script/types/NoFallbackBehavior.d.ts.map +0 -1
  468. package/script/types/NodeSubtype.d.ts +0 -2
  469. package/script/types/NodeSubtype.d.ts.map +0 -1
  470. package/script/types/SeelenCommandStateSetWallpaperArgs.d.ts +0 -4
  471. package/script/types/SeelenCommandStateSetWallpaperArgs.d.ts.map +0 -1
  472. package/script/types/SeelenWallSettingsByMonitor.d.ts +0 -6
  473. package/script/types/SeelenWallSettingsByMonitor.d.ts.map +0 -1
  474. package/script/types/SeelenWallWallpaper.d.ts +0 -5
  475. package/script/types/SeelenWallWallpaper.d.ts.map +0 -1
  476. package/script/types/SeelenWegSettingsByMonitor.d.ts +0 -8
  477. package/script/types/SeelenWegSettingsByMonitor.d.ts.map +0 -1
  478. package/script/types/VirtualDesktopStrategy.d.ts +0 -2
  479. package/script/types/VirtualDesktopStrategy.d.ts.map +0 -1
  480. package/script/types/WindowManagerSettingsByMonitor.d.ts +0 -9
  481. package/script/types/WindowManagerSettingsByMonitor.d.ts.map +0 -1
  482. package/script/types/WmFallbackNode.d.ts +0 -25
  483. package/script/types/WmFallbackNode.d.ts.map +0 -1
  484. package/script/types/WmHorizontalNode.d.ts +0 -19
  485. package/script/types/WmHorizontalNode.d.ts.map +0 -1
  486. package/script/types/WmLeafNode.d.ts +0 -21
  487. package/script/types/WmLeafNode.d.ts.map +0 -1
  488. package/script/types/WmStackNode.d.ts +0 -25
  489. package/script/types/WmStackNode.d.ts.map +0 -1
  490. package/script/types/WmVerticalNode.d.ts +0 -19
  491. package/script/types/WmVerticalNode.d.ts.map +0 -1
  492. package/script/types/WorkspaceConfiguration.d.ts +0 -8
  493. package/script/types/WorkspaceConfiguration.d.ts.map +0 -1
  494. package/script/types/WorkspaceIdentifier.d.ts +0 -6
  495. package/script/types/WorkspaceIdentifier.d.ts.map +0 -1
  496. package/script/types/WorkspaceIdentifierType.d.ts +0 -2
  497. package/script/types/WorkspaceIdentifierType.d.ts.map +0 -1
  498. /package/esm/{resource.js → resource/mod.js} +0 -0
  499. /package/esm/types/{AhkVar.js → CssVariableName.js} +0 -0
  500. /package/esm/types/{AhkVarList.js → CustomIconPackEntry.js} +0 -0
  501. /package/esm/types/{SeelenWallSettingsByMonitor.js → IconPackEntry.js} +0 -0
  502. /package/esm/types/{FancyToolbarSettingsByMonitor.js → MediaPlayerTimeline.js} +0 -0
  503. /package/esm/types/{NoFallbackBehavior.js → MixBlendMode.js} +0 -0
  504. /package/esm/types/{NodeSubtype.js → MonitorId.js} +0 -0
  505. /package/esm/types/{SeelenCommandStateSetWallpaperArgs.js → ObjectFit.js} +0 -0
  506. /package/esm/types/{SeelenWallWallpaper.js → ObjectPosition.js} +0 -0
  507. /package/esm/types/{VirtualDesktopStrategy.js → PlaybackSpeed.js} +0 -0
  508. /package/esm/types/{WorkspaceIdentifierType.js → ResourceAttribute.js} +0 -0
  509. /package/esm/types/{SeelenWegSettingsByMonitor.js → SeelenCommandCreatePopupArgs.js} +0 -0
  510. /package/esm/types/{WindowManagerSettingsByMonitor.js → SeelenCommandRemoveResourceArgs.js} +0 -0
  511. /package/esm/types/{WmFallbackNode.js → SeelenCommandStateGetWegItemsArgs.js} +0 -0
  512. /package/esm/types/{WmHorizontalNode.js → SeelenCommandStateSetCustomIconPackArgs.js} +0 -0
  513. /package/esm/types/{WmLeafNode.js → SeelenCommandUpdatePopupArgs.js} +0 -0
  514. /package/esm/types/{WmStackNode.js → SharedIconPackEntry.js} +0 -0
  515. /package/esm/types/{WmVerticalNode.js → SluHotkey.js} +0 -0
  516. /package/esm/types/{WorkspaceConfiguration.js → SluShortcutsSettings.js} +0 -0
  517. /package/esm/types/{WorkspaceIdentifier.js → ThemeConfigDefinition.js} +0 -0
  518. /package/script/{resource.js → resource/mod.js} +0 -0
  519. /package/script/types/{AhkVar.js → CssVariableName.js} +0 -0
  520. /package/script/types/{AhkVarList.js → CustomIconPackEntry.js} +0 -0
  521. /package/script/types/{SeelenWallSettingsByMonitor.js → IconPackEntry.js} +0 -0
  522. /package/script/types/{FancyToolbarSettingsByMonitor.js → MediaPlayerTimeline.js} +0 -0
  523. /package/script/types/{NoFallbackBehavior.js → MixBlendMode.js} +0 -0
  524. /package/script/types/{NodeSubtype.js → MonitorId.js} +0 -0
  525. /package/script/types/{SeelenCommandStateSetWallpaperArgs.js → ObjectFit.js} +0 -0
  526. /package/script/types/{SeelenWallWallpaper.js → ObjectPosition.js} +0 -0
  527. /package/script/types/{VirtualDesktopStrategy.js → PlaybackSpeed.js} +0 -0
  528. /package/script/types/{WorkspaceIdentifierType.js → ResourceAttribute.js} +0 -0
  529. /package/script/types/{SeelenWegSettingsByMonitor.js → SeelenCommandCreatePopupArgs.js} +0 -0
  530. /package/script/types/{WindowManagerSettingsByMonitor.js → SeelenCommandRemoveResourceArgs.js} +0 -0
  531. /package/script/types/{WmFallbackNode.js → SeelenCommandStateGetWegItemsArgs.js} +0 -0
  532. /package/script/types/{WmHorizontalNode.js → SeelenCommandStateSetCustomIconPackArgs.js} +0 -0
  533. /package/script/types/{WmLeafNode.js → SeelenCommandUpdatePopupArgs.js} +0 -0
  534. /package/script/types/{WmStackNode.js → SharedIconPackEntry.js} +0 -0
  535. /package/script/types/{WmVerticalNode.js → SluHotkey.js} +0 -0
  536. /package/script/types/{WorkspaceConfiguration.js → SluShortcutsSettings.js} +0 -0
  537. /package/script/types/{WorkspaceIdentifier.js → ThemeConfigDefinition.js} +0 -0
@@ -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: "Filipino";
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: "Farsi";
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' 'en_us' 'en_uk' */
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuET,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"}
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"}
@@ -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: 'Filipino', enLabel: 'Filipino', value: 'tl' },
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: 'Farsi', value: 'fa' },
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,UAAU,iBAAiB;IAC3B,oBAAoB,4BAA4B;IAChD,yBAAyB,iCAAiC;IAC1D,WAAW,kBAAkB;IAC7B,eAAe,sBAAsB;IACrC,eAAe,qBAAqB;IACpC,QAAQ,cAAc;IACtB,OAAO,aAAa;IACpB,kBAAkB,wBAAwB;IAC1C,WAAW,iBAAiB;IAC5B,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,YAAY,mBAAmB;IAC/B,kBAAkB,0BAA0B;IAC5C,cAAc,qBAAqB;IACnC,gBAAgB,wBAAwB;IACxC,kBAAkB,0BAA0B;IAC5C,oBAA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AAqC;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"}
@@ -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";
@@ -1,6 +1,5 @@
1
1
  export declare enum SeelenEvent {
2
- WorkspacesChanged = "workspaces-changed",
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,iBAAiB,uBAAuB;IACxC,sBAAsB,6BAA6B;IACnD,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,kBAAkB,0BAA0B;IAC5C,gBAAgB,oBAAoB;IACpC,eAAe,sBAAsB;IACrC,WAAW,kBAAkB;IAC7B,sBAAsB,8BAA8B;IACpD,iBAAiB,yBAAyB;IAC1C,QAAQ,cAAc;IACtB,oBAAoB,qBAAqB;IACzC,oBAAoB,cAAc;IAClC,wBAA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,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["WorkspacesChanged"] = "workspaces-changed";
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,eAAe,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,mBAAmB,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"}
@@ -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: (user: IconPackList) => void): Promise<UnSubscriber>;
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 iconPackPath: string;
14
- protected _iconPacks: IconPackList;
15
- protected _actives: string[];
13
+ protected _availableIconPacks: IconPack[];
14
+ protected _activeIconPackIds: string[];
16
15
  private callbacks;
17
- private unlistenerSettings;
18
- private unlistenerIcons;
19
- private static resolveIcon;
20
- private static resolveIconAsSrc;
21
- protected constructor(iconPackPath: string, _iconPacks: IconPackList, _actives: string[]);
22
- get iconPacks(): IconPackList;
23
- get actives(): string[];
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 or filename (for executable files like .exe or .lnk)
69
- * 3. File extension (for non-executable files like .png, .jpg, .txt)
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({ path, umid }: SeelenCommandGetIconArgs): IIcon | null;
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 specifit icon path from the highest priority icon pack.
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
- getSpecificIconPath(name: string): IIcon | null;
104
+ getCustomIconPath(name: string): IIcon | null;
134
105
  /**
135
- * Will return the specifit icon SRC from the highest priority icon pack.
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
- getSpecificIcon(name: string): IIcon | null;
109
+ getCustomIcon(name: string): IIcon | null;
139
110
  /**
140
- * Return the icon Path for an app or file, in case of no icon available will return `null`.\
141
- * This method doesn't take in care icon packs, just extracts the inherited icon into system's icon pack.
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 extractIcon(obj: SeelenCommandGetIconArgs): Promise<void>;
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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