@seelen-ui/lib 2.5.8 → 2.6.6-next.2605170835

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 (493) hide show
  1. package/esm/gen/types/AppBarEdge.d.ts +7 -0
  2. package/esm/gen/types/AppBarEdge.d.ts.map +1 -0
  3. package/esm/gen/types/AppBarEdge.js +8 -0
  4. package/esm/gen/types/AppNotification.d.ts +3 -0
  5. package/esm/gen/types/AppNotification.d.ts.map +1 -1
  6. package/esm/gen/types/AudioWaveform.d.ts +11 -0
  7. package/esm/gen/types/AudioWaveform.d.ts.map +1 -0
  8. package/esm/gen/types/BackupStatus.d.ts +10 -0
  9. package/esm/gen/types/BackupStatus.d.ts.map +1 -0
  10. package/esm/gen/types/BluetoothDevice.d.ts +1 -0
  11. package/esm/gen/types/BluetoothDevice.d.ts.map +1 -1
  12. package/esm/gen/types/ClipboardData.d.ts +15 -0
  13. package/esm/gen/types/ClipboardData.d.ts.map +1 -0
  14. package/esm/gen/types/ClipboardEntry.d.ts +24 -0
  15. package/esm/gen/types/ClipboardEntry.d.ts.map +1 -0
  16. package/esm/gen/types/ClipboardEntryContent.d.ts +16 -0
  17. package/esm/gen/types/ClipboardEntryContent.d.ts.map +1 -0
  18. package/esm/gen/types/ClipboardEntryContent.js +2 -0
  19. package/esm/gen/types/Comparator.d.ts +9 -0
  20. package/esm/gen/types/Comparator.d.ts.map +1 -0
  21. package/esm/gen/types/Comparator.js +10 -0
  22. package/esm/gen/types/ContextMenu.d.ts +8 -0
  23. package/esm/gen/types/ContextMenu.d.ts.map +1 -1
  24. package/esm/gen/types/ContextMenuCallbackPayload.d.ts +20 -0
  25. package/esm/gen/types/ContextMenuCallbackPayload.d.ts.map +1 -0
  26. package/esm/gen/types/ContextMenuItem.d.ts +4 -2
  27. package/esm/gen/types/ContextMenuItem.d.ts.map +1 -1
  28. package/esm/gen/types/FancyToolbarSettings.d.ts +6 -0
  29. package/esm/gen/types/FancyToolbarSettings.d.ts.map +1 -1
  30. package/esm/gen/types/FocusedApp.d.ts +1 -1
  31. package/esm/gen/types/FocusedApp.d.ts.map +1 -1
  32. package/esm/gen/types/KnownPlugin.d.ts +2 -2
  33. package/esm/gen/types/KnownPlugin.d.ts.map +1 -1
  34. package/esm/gen/types/NotificationsMode.d.ts +6 -0
  35. package/esm/gen/types/NotificationsMode.d.ts.map +1 -0
  36. package/esm/gen/types/NotificationsMode.js +7 -0
  37. package/esm/gen/types/Operand.d.ts +5 -0
  38. package/esm/gen/types/Operand.d.ts.map +1 -0
  39. package/esm/gen/types/Operand.js +6 -0
  40. package/esm/gen/types/ResolvedShortcut.d.ts +9 -0
  41. package/esm/gen/types/ResolvedShortcut.d.ts.map +1 -0
  42. package/esm/gen/types/ResolvedShortcut.js +2 -0
  43. package/esm/gen/types/ResourceId.d.ts +6 -2
  44. package/esm/gen/types/ResourceId.d.ts.map +1 -1
  45. package/esm/gen/types/SeelenCommandActivateNotificationArgs.d.ts +3 -0
  46. package/esm/gen/types/SeelenCommandActivateNotificationArgs.d.ts.map +1 -1
  47. package/esm/gen/types/SeelenCommandActivateNotificationArgs.js +0 -1
  48. package/esm/gen/types/SeelenCommandArgument.d.ts +51 -5
  49. package/esm/gen/types/SeelenCommandArgument.d.ts.map +1 -1
  50. package/esm/gen/types/SeelenCommandClipboardDeleteEntryArgs.d.ts +4 -0
  51. package/esm/gen/types/SeelenCommandClipboardDeleteEntryArgs.d.ts.map +1 -0
  52. package/esm/gen/types/SeelenCommandClipboardDeleteEntryArgs.js +2 -0
  53. package/esm/gen/types/SeelenCommandClipboardPasteArgs.d.ts +4 -0
  54. package/esm/gen/types/SeelenCommandClipboardPasteArgs.d.ts.map +1 -0
  55. package/esm/gen/types/SeelenCommandClipboardPasteArgs.js +2 -0
  56. package/esm/gen/types/SeelenCommandClipboardSetContentArgs.d.ts +4 -0
  57. package/esm/gen/types/SeelenCommandClipboardSetContentArgs.d.ts.map +1 -0
  58. package/esm/gen/types/SeelenCommandClipboardSetContentArgs.js +2 -0
  59. package/esm/gen/types/SeelenCommandConnectBluetoothDeviceArgs.d.ts +4 -0
  60. package/esm/gen/types/SeelenCommandConnectBluetoothDeviceArgs.d.ts.map +1 -0
  61. package/esm/gen/types/SeelenCommandConnectBluetoothDeviceArgs.js +2 -0
  62. package/esm/gen/types/SeelenCommandMoveWindowToWorkspaceArgs.d.ts +6 -0
  63. package/esm/gen/types/SeelenCommandMoveWindowToWorkspaceArgs.d.ts.map +1 -0
  64. package/esm/gen/types/SeelenCommandRegisterAppBarArgs.d.ts +7 -0
  65. package/esm/gen/types/SeelenCommandRegisterAppBarArgs.d.ts.map +1 -0
  66. package/esm/gen/types/SeelenCommandRegisterAppBarArgs.js +1 -0
  67. package/esm/gen/types/SeelenCommandReturn.d.ts +49 -8
  68. package/esm/gen/types/SeelenCommandReturn.d.ts.map +1 -1
  69. package/esm/gen/types/SeelenCommandSetFocusAssistArgs.d.ts +4 -0
  70. package/esm/gen/types/SeelenCommandSetFocusAssistArgs.d.ts.map +1 -0
  71. package/esm/gen/types/SeelenCommandSetFocusAssistArgs.js +2 -0
  72. package/esm/gen/types/SeelenCommandSetNotificationsModeArgs.d.ts +5 -0
  73. package/esm/gen/types/SeelenCommandSetNotificationsModeArgs.d.ts.map +1 -0
  74. package/esm/gen/types/SeelenCommandSetNotificationsModeArgs.js +1 -0
  75. package/esm/gen/types/SeelenCommandSystemSetAccentColorArgs.d.ts +5 -0
  76. package/esm/gen/types/SeelenCommandSystemSetAccentColorArgs.d.ts.map +1 -0
  77. package/esm/gen/types/SeelenCommandSystemSetAccentColorArgs.js +1 -0
  78. package/esm/gen/types/SeelenCommandWlanForgetArgs.d.ts +4 -0
  79. package/esm/gen/types/SeelenCommandWlanForgetArgs.d.ts.map +1 -0
  80. package/esm/gen/types/SeelenCommandWlanForgetArgs.js +2 -0
  81. package/esm/gen/types/SeelenEventPayload.d.ts +26 -8
  82. package/esm/gen/types/SeelenEventPayload.d.ts.map +1 -1
  83. package/esm/gen/types/SeelenFont.d.ts +4 -0
  84. package/esm/gen/types/SeelenFont.d.ts.map +1 -0
  85. package/esm/gen/types/SeelenFont.js +2 -0
  86. package/esm/gen/types/SeelenWallSettings.d.ts +14 -0
  87. package/esm/gen/types/SeelenWallSettings.d.ts.map +1 -1
  88. package/esm/gen/types/SeelenWegSettings.d.ts +11 -0
  89. package/esm/gen/types/SeelenWegSettings.d.ts.map +1 -1
  90. package/esm/gen/types/Settings.d.ts +12 -0
  91. package/esm/gen/types/Settings.d.ts.map +1 -1
  92. package/esm/gen/types/SettingsByWidget.d.ts +7 -0
  93. package/esm/gen/types/SettingsByWidget.d.ts.map +1 -1
  94. package/esm/gen/types/SluShortcutsSettings.d.ts +9 -2
  95. package/esm/gen/types/SluShortcutsSettings.d.ts.map +1 -1
  96. package/esm/gen/types/SluShortcutsSettings.js +1 -0
  97. package/esm/gen/types/SystemShortcutDeclaration.d.ts +16 -0
  98. package/esm/gen/types/SystemShortcutDeclaration.d.ts.map +1 -0
  99. package/esm/gen/types/SystemShortcutDeclaration.js +2 -0
  100. package/esm/gen/types/ThemeConfigDefinition.d.ts +2 -4
  101. package/esm/gen/types/ThemeConfigDefinition.d.ts.map +1 -1
  102. package/esm/gen/types/ThemeConfigGroupVariant.d.ts +5 -0
  103. package/esm/gen/types/ThemeConfigGroupVariant.d.ts.map +1 -0
  104. package/esm/gen/types/ThemeConfigGroupVariant.js +1 -0
  105. package/esm/gen/types/ThemeVariableDefinition.d.ts +2 -0
  106. package/esm/gen/types/ThemeVariableDefinition.d.ts.map +1 -1
  107. package/esm/gen/types/ThirdPartyWidgetSettings.d.ts +7 -0
  108. package/esm/gen/types/ThirdPartyWidgetSettings.d.ts.map +1 -1
  109. package/esm/gen/types/ToolbarItem.d.ts +2 -0
  110. package/esm/gen/types/ToolbarItem.d.ts.map +1 -1
  111. package/esm/gen/types/TwmCondition.d.ts +17 -0
  112. package/esm/gen/types/TwmCondition.d.ts.map +1 -0
  113. package/esm/gen/types/TwmCondition.js +1 -0
  114. package/esm/gen/types/TwmGlobalRuntimeTree.d.ts +8 -0
  115. package/esm/gen/types/TwmGlobalRuntimeTree.d.ts.map +1 -0
  116. package/esm/gen/types/TwmGlobalRuntimeTree.js +1 -0
  117. package/esm/gen/types/{WmNodeKind.d.ts → TwmNodeKind.d.ts} +2 -2
  118. package/esm/gen/types/TwmNodeKind.d.ts.map +1 -0
  119. package/esm/gen/types/TwmNodeKind.js +8 -0
  120. package/esm/gen/types/TwmNodeLifetime.d.ts +5 -0
  121. package/esm/gen/types/TwmNodeLifetime.d.ts.map +1 -0
  122. package/esm/gen/types/TwmNodeLifetime.js +6 -0
  123. package/esm/gen/types/TwmPlugin.d.ts +8 -0
  124. package/esm/gen/types/TwmPlugin.d.ts.map +1 -0
  125. package/esm/gen/types/TwmPlugin.js +1 -0
  126. package/esm/gen/types/{WmNode.d.ts → TwmPluginNode.d.ts} +15 -17
  127. package/esm/gen/types/TwmPluginNode.d.ts.map +1 -0
  128. package/esm/gen/types/TwmPluginNode.js +1 -0
  129. package/esm/gen/types/TwmReservation.d.ts +9 -0
  130. package/esm/gen/types/TwmReservation.d.ts.map +1 -0
  131. package/esm/gen/types/TwmReservation.js +10 -0
  132. package/esm/gen/types/TwmRuntimeNode.d.ts +22 -0
  133. package/esm/gen/types/TwmRuntimeNode.d.ts.map +1 -0
  134. package/esm/gen/types/TwmRuntimeNode.js +1 -0
  135. package/esm/gen/types/TwmRuntimeTree.d.ts +8 -0
  136. package/esm/gen/types/TwmRuntimeTree.d.ts.map +1 -0
  137. package/esm/gen/types/TwmRuntimeTree.js +1 -0
  138. package/esm/gen/types/TwmStackPolicy.d.ts +6 -0
  139. package/esm/gen/types/TwmStackPolicy.d.ts.map +1 -0
  140. package/esm/gen/types/TwmStackPolicy.js +7 -0
  141. package/esm/gen/types/UIColors.d.ts +9 -10
  142. package/esm/gen/types/UIColors.d.ts.map +1 -1
  143. package/esm/gen/types/UIColors.js +0 -1
  144. package/esm/gen/types/UserAppWindow.d.ts +5 -0
  145. package/esm/gen/types/UserAppWindow.d.ts.map +1 -1
  146. package/esm/gen/types/UserAppWindowPreview.d.ts +1 -1
  147. package/esm/gen/types/Wallpaper.d.ts +1 -1
  148. package/esm/gen/types/WallpaperKind.d.ts +1 -0
  149. package/esm/gen/types/WallpaperKind.d.ts.map +1 -1
  150. package/esm/gen/types/WallpaperKind.js +1 -0
  151. package/esm/gen/types/WegMiddleClickAction.d.ts +5 -0
  152. package/esm/gen/types/WegMiddleClickAction.d.ts.map +1 -0
  153. package/esm/gen/types/WegMiddleClickAction.js +6 -0
  154. package/esm/gen/types/Widget.d.ts +11 -0
  155. package/esm/gen/types/Widget.d.ts.map +1 -1
  156. package/esm/gen/types/WidgetConfigDefinition.d.ts +2 -4
  157. package/esm/gen/types/WidgetConfigDefinition.d.ts.map +1 -1
  158. package/esm/gen/types/WidgetConfigGroupVariant.d.ts +5 -0
  159. package/esm/gen/types/WidgetConfigGroupVariant.d.ts.map +1 -0
  160. package/esm/gen/types/WidgetConfigGroupVariant.js +1 -0
  161. package/esm/gen/types/WidgetSelectOption.d.ts +1 -1
  162. package/esm/gen/types/WidgetSelectOption.d.ts.map +1 -1
  163. package/esm/gen/types/WidgetSettingColor.d.ts +4 -4
  164. package/esm/gen/types/WidgetSettingColor.d.ts.map +1 -1
  165. package/esm/gen/types/WidgetSettingFont.d.ts +34 -0
  166. package/esm/gen/types/WidgetSettingFont.d.ts.map +1 -0
  167. package/esm/gen/types/WidgetSettingFont.js +1 -0
  168. package/esm/gen/types/WidgetSettingInputNumber.d.ts +4 -4
  169. package/esm/gen/types/WidgetSettingInputNumber.d.ts.map +1 -1
  170. package/esm/gen/types/WidgetSettingInputText.d.ts +4 -4
  171. package/esm/gen/types/WidgetSettingInputText.d.ts.map +1 -1
  172. package/esm/gen/types/WidgetSettingItem.d.ts +4 -1
  173. package/esm/gen/types/WidgetSettingItem.d.ts.map +1 -1
  174. package/esm/gen/types/WidgetSettingRange.d.ts +4 -4
  175. package/esm/gen/types/WidgetSettingRange.d.ts.map +1 -1
  176. package/esm/gen/types/WidgetSettingSelect.d.ts +4 -4
  177. package/esm/gen/types/WidgetSettingSelect.d.ts.map +1 -1
  178. package/esm/gen/types/WidgetSettingSwitch.d.ts +4 -4
  179. package/esm/gen/types/WidgetSettingSwitch.d.ts.map +1 -1
  180. package/esm/gen/types/WidgetShortcutDeclaration.d.ts +33 -0
  181. package/esm/gen/types/WidgetShortcutDeclaration.d.ts.map +1 -0
  182. package/esm/gen/types/WidgetShortcutDeclaration.js +1 -0
  183. package/esm/gen/types/WidgetStatus.d.ts +2 -1
  184. package/esm/gen/types/WidgetStatus.d.ts.map +1 -1
  185. package/esm/gen/types/WidgetStatus.js +1 -0
  186. package/esm/gen/types/WindowManagerSettings.d.ts +6 -0
  187. package/esm/gen/types/WindowManagerSettings.d.ts.map +1 -1
  188. package/esm/gen/types/WlanBssEntry.d.ts +15 -6
  189. package/esm/gen/types/WlanBssEntry.d.ts.map +1 -1
  190. package/esm/gen/types/mod.d.ts +275 -245
  191. package/esm/gen/types/mod.d.ts.map +1 -1
  192. package/esm/gen/types/mod.js +275 -245
  193. package/esm/gen/types/serde_json/JsonValue.d.ts +4 -0
  194. package/esm/gen/types/serde_json/JsonValue.d.ts.map +1 -0
  195. package/esm/gen/types/serde_json/JsonValue.js +2 -0
  196. package/esm/src/handlers/commands.d.ts +22 -4
  197. package/esm/src/handlers/commands.d.ts.map +1 -1
  198. package/esm/src/handlers/commands.js +21 -3
  199. package/esm/src/handlers/events.d.ts +9 -3
  200. package/esm/src/handlers/events.d.ts.map +1 -1
  201. package/esm/src/handlers/events.js +8 -2
  202. package/esm/src/state/theme/theming.d.ts +1 -0
  203. package/esm/src/state/theme/theming.d.ts.map +1 -1
  204. package/esm/src/state/theme/theming.js +21 -1
  205. package/esm/src/state/widget/interfaces.d.ts +48 -7
  206. package/esm/src/state/widget/interfaces.d.ts.map +1 -1
  207. package/esm/src/state/widget/mod.d.ts +12 -7
  208. package/esm/src/state/widget/mod.d.ts.map +1 -1
  209. package/esm/src/state/widget/mod.js +90 -99
  210. package/esm/src/state/widget/positioning.js +1 -1
  211. package/esm/src/state/widget/sizing.d.ts +14 -3
  212. package/esm/src/state/widget/sizing.d.ts.map +1 -1
  213. package/esm/src/state/widget/sizing.js +60 -17
  214. package/esm/src/system_state/ui_colors.d.ts +0 -1
  215. package/esm/src/system_state/ui_colors.d.ts.map +1 -1
  216. package/esm/src/system_state/ui_colors.js +5 -22
  217. package/esm/src/utils/async.d.ts +12 -0
  218. package/esm/src/utils/async.d.ts.map +1 -1
  219. package/esm/src/utils/async.js +46 -0
  220. package/esm/src/utils/mod.d.ts +2 -0
  221. package/esm/src/utils/mod.d.ts.map +1 -1
  222. package/esm/src/utils/mod.js +5 -0
  223. package/package.json +7 -6
  224. package/script/gen/types/AppBarEdge.d.ts +7 -0
  225. package/script/gen/types/AppBarEdge.d.ts.map +1 -0
  226. package/script/gen/types/AppBarEdge.js +11 -0
  227. package/script/gen/types/AppNotification.d.ts +3 -0
  228. package/script/gen/types/AppNotification.d.ts.map +1 -1
  229. package/script/gen/types/AudioWaveform.d.ts +11 -0
  230. package/script/gen/types/AudioWaveform.d.ts.map +1 -0
  231. package/script/gen/types/BackupStatus.d.ts +10 -0
  232. package/script/gen/types/BackupStatus.d.ts.map +1 -0
  233. package/script/gen/types/BluetoothDevice.d.ts +1 -0
  234. package/script/gen/types/BluetoothDevice.d.ts.map +1 -1
  235. package/script/gen/types/ClipboardData.d.ts +15 -0
  236. package/script/gen/types/ClipboardData.d.ts.map +1 -0
  237. package/script/gen/types/ClipboardEntry.d.ts +24 -0
  238. package/script/gen/types/ClipboardEntry.d.ts.map +1 -0
  239. package/script/gen/types/ClipboardEntryContent.d.ts +16 -0
  240. package/script/gen/types/ClipboardEntryContent.d.ts.map +1 -0
  241. package/script/gen/types/ClipboardEntryContent.js +3 -0
  242. package/script/gen/types/Comparator.d.ts +9 -0
  243. package/script/gen/types/Comparator.d.ts.map +1 -0
  244. package/script/gen/types/Comparator.js +13 -0
  245. package/script/gen/types/ContextMenu.d.ts +8 -0
  246. package/script/gen/types/ContextMenu.d.ts.map +1 -1
  247. package/script/gen/types/ContextMenuCallbackPayload.d.ts +20 -0
  248. package/script/gen/types/ContextMenuCallbackPayload.d.ts.map +1 -0
  249. package/script/gen/types/ContextMenuItem.d.ts +4 -2
  250. package/script/gen/types/ContextMenuItem.d.ts.map +1 -1
  251. package/script/gen/types/FancyToolbarSettings.d.ts +6 -0
  252. package/script/gen/types/FancyToolbarSettings.d.ts.map +1 -1
  253. package/script/gen/types/FocusedApp.d.ts +1 -1
  254. package/script/gen/types/FocusedApp.d.ts.map +1 -1
  255. package/script/gen/types/KnownPlugin.d.ts +2 -2
  256. package/script/gen/types/KnownPlugin.d.ts.map +1 -1
  257. package/script/gen/types/NotificationsMode.d.ts +6 -0
  258. package/script/gen/types/NotificationsMode.d.ts.map +1 -0
  259. package/script/gen/types/NotificationsMode.js +10 -0
  260. package/script/gen/types/Operand.d.ts +5 -0
  261. package/script/gen/types/Operand.d.ts.map +1 -0
  262. package/script/gen/types/Operand.js +9 -0
  263. package/script/gen/types/ResolvedShortcut.d.ts +9 -0
  264. package/script/gen/types/ResolvedShortcut.d.ts.map +1 -0
  265. package/script/gen/types/ResolvedShortcut.js +3 -0
  266. package/script/gen/types/ResourceId.d.ts +6 -2
  267. package/script/gen/types/ResourceId.d.ts.map +1 -1
  268. package/script/gen/types/SeelenCommandActivateNotificationArgs.d.ts +3 -0
  269. package/script/gen/types/SeelenCommandActivateNotificationArgs.d.ts.map +1 -1
  270. package/script/gen/types/SeelenCommandActivateNotificationArgs.js +0 -1
  271. package/script/gen/types/SeelenCommandArgument.d.ts +51 -5
  272. package/script/gen/types/SeelenCommandArgument.d.ts.map +1 -1
  273. package/script/gen/types/SeelenCommandClipboardDeleteEntryArgs.d.ts +4 -0
  274. package/script/gen/types/SeelenCommandClipboardDeleteEntryArgs.d.ts.map +1 -0
  275. package/script/gen/types/SeelenCommandClipboardDeleteEntryArgs.js +3 -0
  276. package/script/gen/types/SeelenCommandClipboardPasteArgs.d.ts +4 -0
  277. package/script/gen/types/SeelenCommandClipboardPasteArgs.d.ts.map +1 -0
  278. package/script/gen/types/SeelenCommandClipboardPasteArgs.js +3 -0
  279. package/script/gen/types/SeelenCommandClipboardSetContentArgs.d.ts +4 -0
  280. package/script/gen/types/SeelenCommandClipboardSetContentArgs.d.ts.map +1 -0
  281. package/script/gen/types/SeelenCommandClipboardSetContentArgs.js +3 -0
  282. package/script/gen/types/SeelenCommandConnectBluetoothDeviceArgs.d.ts +4 -0
  283. package/script/gen/types/SeelenCommandConnectBluetoothDeviceArgs.d.ts.map +1 -0
  284. package/script/gen/types/SeelenCommandConnectBluetoothDeviceArgs.js +3 -0
  285. package/script/gen/types/SeelenCommandMoveWindowToWorkspaceArgs.d.ts +6 -0
  286. package/script/gen/types/SeelenCommandMoveWindowToWorkspaceArgs.d.ts.map +1 -0
  287. package/script/gen/types/SeelenCommandRegisterAppBarArgs.d.ts +7 -0
  288. package/script/gen/types/SeelenCommandRegisterAppBarArgs.d.ts.map +1 -0
  289. package/script/gen/types/SeelenCommandRegisterAppBarArgs.js +2 -0
  290. package/script/gen/types/SeelenCommandReturn.d.ts +49 -8
  291. package/script/gen/types/SeelenCommandReturn.d.ts.map +1 -1
  292. package/script/gen/types/SeelenCommandSetFocusAssistArgs.d.ts +4 -0
  293. package/script/gen/types/SeelenCommandSetFocusAssistArgs.d.ts.map +1 -0
  294. package/script/gen/types/SeelenCommandSetFocusAssistArgs.js +3 -0
  295. package/script/gen/types/SeelenCommandSetNotificationsModeArgs.d.ts +5 -0
  296. package/script/gen/types/SeelenCommandSetNotificationsModeArgs.d.ts.map +1 -0
  297. package/script/gen/types/SeelenCommandSetNotificationsModeArgs.js +2 -0
  298. package/script/gen/types/SeelenCommandSystemSetAccentColorArgs.d.ts +5 -0
  299. package/script/gen/types/SeelenCommandSystemSetAccentColorArgs.d.ts.map +1 -0
  300. package/script/gen/types/SeelenCommandSystemSetAccentColorArgs.js +2 -0
  301. package/script/gen/types/SeelenCommandWlanForgetArgs.d.ts +4 -0
  302. package/script/gen/types/SeelenCommandWlanForgetArgs.d.ts.map +1 -0
  303. package/script/gen/types/SeelenCommandWlanForgetArgs.js +3 -0
  304. package/script/gen/types/SeelenEventPayload.d.ts +26 -8
  305. package/script/gen/types/SeelenEventPayload.d.ts.map +1 -1
  306. package/script/gen/types/SeelenFont.d.ts +4 -0
  307. package/script/gen/types/SeelenFont.d.ts.map +1 -0
  308. package/script/gen/types/SeelenFont.js +3 -0
  309. package/script/gen/types/SeelenWallSettings.d.ts +14 -0
  310. package/script/gen/types/SeelenWallSettings.d.ts.map +1 -1
  311. package/script/gen/types/SeelenWegSettings.d.ts +11 -0
  312. package/script/gen/types/SeelenWegSettings.d.ts.map +1 -1
  313. package/script/gen/types/Settings.d.ts +12 -0
  314. package/script/gen/types/Settings.d.ts.map +1 -1
  315. package/script/gen/types/SettingsByWidget.d.ts +7 -0
  316. package/script/gen/types/SettingsByWidget.d.ts.map +1 -1
  317. package/script/gen/types/SluShortcutsSettings.d.ts +9 -2
  318. package/script/gen/types/SluShortcutsSettings.d.ts.map +1 -1
  319. package/script/gen/types/SluShortcutsSettings.js +1 -0
  320. package/script/gen/types/SystemShortcutDeclaration.d.ts +16 -0
  321. package/script/gen/types/SystemShortcutDeclaration.d.ts.map +1 -0
  322. package/script/gen/types/SystemShortcutDeclaration.js +3 -0
  323. package/script/gen/types/ThemeConfigDefinition.d.ts +2 -4
  324. package/script/gen/types/ThemeConfigDefinition.d.ts.map +1 -1
  325. package/script/gen/types/ThemeConfigGroupVariant.d.ts +5 -0
  326. package/script/gen/types/ThemeConfigGroupVariant.d.ts.map +1 -0
  327. package/script/gen/types/ThemeConfigGroupVariant.js +2 -0
  328. package/script/gen/types/ThemeVariableDefinition.d.ts +2 -0
  329. package/script/gen/types/ThemeVariableDefinition.d.ts.map +1 -1
  330. package/script/gen/types/ThirdPartyWidgetSettings.d.ts +7 -0
  331. package/script/gen/types/ThirdPartyWidgetSettings.d.ts.map +1 -1
  332. package/script/gen/types/ToolbarItem.d.ts +2 -0
  333. package/script/gen/types/ToolbarItem.d.ts.map +1 -1
  334. package/script/gen/types/TwmCondition.d.ts +17 -0
  335. package/script/gen/types/TwmCondition.d.ts.map +1 -0
  336. package/script/gen/types/TwmCondition.js +2 -0
  337. package/script/gen/types/TwmGlobalRuntimeTree.d.ts +8 -0
  338. package/script/gen/types/TwmGlobalRuntimeTree.d.ts.map +1 -0
  339. package/script/gen/types/TwmGlobalRuntimeTree.js +2 -0
  340. package/script/gen/types/{WmNodeKind.d.ts → TwmNodeKind.d.ts} +2 -2
  341. package/script/gen/types/TwmNodeKind.d.ts.map +1 -0
  342. package/script/gen/types/TwmNodeKind.js +11 -0
  343. package/script/gen/types/TwmNodeLifetime.d.ts +5 -0
  344. package/script/gen/types/TwmNodeLifetime.d.ts.map +1 -0
  345. package/script/gen/types/TwmNodeLifetime.js +9 -0
  346. package/script/gen/types/TwmPlugin.d.ts +8 -0
  347. package/script/gen/types/TwmPlugin.d.ts.map +1 -0
  348. package/script/gen/types/TwmPlugin.js +2 -0
  349. package/script/gen/types/{WmNode.d.ts → TwmPluginNode.d.ts} +15 -17
  350. package/script/gen/types/TwmPluginNode.d.ts.map +1 -0
  351. package/script/gen/types/TwmPluginNode.js +2 -0
  352. package/script/gen/types/TwmReservation.d.ts +9 -0
  353. package/script/gen/types/TwmReservation.d.ts.map +1 -0
  354. package/script/gen/types/TwmReservation.js +13 -0
  355. package/script/gen/types/TwmRuntimeNode.d.ts +22 -0
  356. package/script/gen/types/TwmRuntimeNode.d.ts.map +1 -0
  357. package/script/gen/types/TwmRuntimeNode.js +2 -0
  358. package/script/gen/types/TwmRuntimeTree.d.ts +8 -0
  359. package/script/gen/types/TwmRuntimeTree.d.ts.map +1 -0
  360. package/script/gen/types/TwmRuntimeTree.js +2 -0
  361. package/script/gen/types/TwmStackPolicy.d.ts +6 -0
  362. package/script/gen/types/TwmStackPolicy.d.ts.map +1 -0
  363. package/script/gen/types/TwmStackPolicy.js +10 -0
  364. package/script/gen/types/UIColors.d.ts +9 -10
  365. package/script/gen/types/UIColors.d.ts.map +1 -1
  366. package/script/gen/types/UIColors.js +0 -1
  367. package/script/gen/types/UserAppWindow.d.ts +5 -0
  368. package/script/gen/types/UserAppWindow.d.ts.map +1 -1
  369. package/script/gen/types/UserAppWindowPreview.d.ts +1 -1
  370. package/script/gen/types/Wallpaper.d.ts +1 -1
  371. package/script/gen/types/WallpaperKind.d.ts +1 -0
  372. package/script/gen/types/WallpaperKind.d.ts.map +1 -1
  373. package/script/gen/types/WallpaperKind.js +1 -0
  374. package/script/gen/types/WegMiddleClickAction.d.ts +5 -0
  375. package/script/gen/types/WegMiddleClickAction.d.ts.map +1 -0
  376. package/script/gen/types/WegMiddleClickAction.js +9 -0
  377. package/script/gen/types/Widget.d.ts +11 -0
  378. package/script/gen/types/Widget.d.ts.map +1 -1
  379. package/script/gen/types/WidgetConfigDefinition.d.ts +2 -4
  380. package/script/gen/types/WidgetConfigDefinition.d.ts.map +1 -1
  381. package/script/gen/types/WidgetConfigGroupVariant.d.ts +5 -0
  382. package/script/gen/types/WidgetConfigGroupVariant.d.ts.map +1 -0
  383. package/script/gen/types/WidgetConfigGroupVariant.js +2 -0
  384. package/script/gen/types/WidgetSelectOption.d.ts +1 -1
  385. package/script/gen/types/WidgetSelectOption.d.ts.map +1 -1
  386. package/script/gen/types/WidgetSettingColor.d.ts +4 -4
  387. package/script/gen/types/WidgetSettingColor.d.ts.map +1 -1
  388. package/script/gen/types/WidgetSettingFont.d.ts +34 -0
  389. package/script/gen/types/WidgetSettingFont.d.ts.map +1 -0
  390. package/script/gen/types/WidgetSettingFont.js +2 -0
  391. package/script/gen/types/WidgetSettingInputNumber.d.ts +4 -4
  392. package/script/gen/types/WidgetSettingInputNumber.d.ts.map +1 -1
  393. package/script/gen/types/WidgetSettingInputText.d.ts +4 -4
  394. package/script/gen/types/WidgetSettingInputText.d.ts.map +1 -1
  395. package/script/gen/types/WidgetSettingItem.d.ts +4 -1
  396. package/script/gen/types/WidgetSettingItem.d.ts.map +1 -1
  397. package/script/gen/types/WidgetSettingRange.d.ts +4 -4
  398. package/script/gen/types/WidgetSettingRange.d.ts.map +1 -1
  399. package/script/gen/types/WidgetSettingSelect.d.ts +4 -4
  400. package/script/gen/types/WidgetSettingSelect.d.ts.map +1 -1
  401. package/script/gen/types/WidgetSettingSwitch.d.ts +4 -4
  402. package/script/gen/types/WidgetSettingSwitch.d.ts.map +1 -1
  403. package/script/gen/types/WidgetShortcutDeclaration.d.ts +33 -0
  404. package/script/gen/types/WidgetShortcutDeclaration.d.ts.map +1 -0
  405. package/script/gen/types/WidgetShortcutDeclaration.js +2 -0
  406. package/script/gen/types/WidgetStatus.d.ts +2 -1
  407. package/script/gen/types/WidgetStatus.d.ts.map +1 -1
  408. package/script/gen/types/WidgetStatus.js +1 -0
  409. package/script/gen/types/WindowManagerSettings.d.ts +6 -0
  410. package/script/gen/types/WindowManagerSettings.d.ts.map +1 -1
  411. package/script/gen/types/WlanBssEntry.d.ts +15 -6
  412. package/script/gen/types/WlanBssEntry.d.ts.map +1 -1
  413. package/script/gen/types/mod.d.ts +275 -245
  414. package/script/gen/types/mod.d.ts.map +1 -1
  415. package/script/gen/types/mod.js +275 -245
  416. package/script/gen/types/serde_json/JsonValue.d.ts +4 -0
  417. package/script/gen/types/serde_json/JsonValue.d.ts.map +1 -0
  418. package/script/gen/types/serde_json/JsonValue.js +3 -0
  419. package/script/src/handlers/commands.d.ts +22 -4
  420. package/script/src/handlers/commands.d.ts.map +1 -1
  421. package/script/src/handlers/commands.js +21 -3
  422. package/script/src/handlers/events.d.ts +9 -3
  423. package/script/src/handlers/events.d.ts.map +1 -1
  424. package/script/src/handlers/events.js +8 -2
  425. package/script/src/state/theme/theming.d.ts +1 -0
  426. package/script/src/state/theme/theming.d.ts.map +1 -1
  427. package/script/src/state/theme/theming.js +22 -1
  428. package/script/src/state/widget/interfaces.d.ts +48 -7
  429. package/script/src/state/widget/interfaces.d.ts.map +1 -1
  430. package/script/src/state/widget/mod.d.ts +12 -7
  431. package/script/src/state/widget/mod.d.ts.map +1 -1
  432. package/script/src/state/widget/mod.js +89 -98
  433. package/script/src/state/widget/positioning.js +2 -2
  434. package/script/src/state/widget/sizing.d.ts +14 -3
  435. package/script/src/state/widget/sizing.d.ts.map +1 -1
  436. package/script/src/state/widget/sizing.js +61 -18
  437. package/script/src/system_state/ui_colors.d.ts +0 -1
  438. package/script/src/system_state/ui_colors.d.ts.map +1 -1
  439. package/script/src/system_state/ui_colors.js +5 -22
  440. package/script/src/utils/async.d.ts +12 -0
  441. package/script/src/utils/async.d.ts.map +1 -1
  442. package/script/src/utils/async.js +49 -0
  443. package/script/src/utils/mod.d.ts +2 -0
  444. package/script/src/utils/mod.d.ts.map +1 -1
  445. package/script/src/utils/mod.js +8 -1
  446. package/styles/colors.css +521 -0
  447. package/styles/reset.css +129 -0
  448. package/styles/shadows.css +7 -0
  449. package/styles/spacings.css +9 -0
  450. package/esm/gen/types/SluHotkey.d.ts +0 -17
  451. package/esm/gen/types/SluHotkey.d.ts.map +0 -1
  452. package/esm/gen/types/SluHotkeyAction.d.ts +0 -96
  453. package/esm/gen/types/SluHotkeyAction.d.ts.map +0 -1
  454. package/esm/gen/types/WindowManagerLayout.d.ts +0 -6
  455. package/esm/gen/types/WindowManagerLayout.d.ts.map +0 -1
  456. package/esm/gen/types/WlanProfile.d.ts +0 -8
  457. package/esm/gen/types/WlanProfile.d.ts.map +0 -1
  458. package/esm/gen/types/WmNode.d.ts.map +0 -1
  459. package/esm/gen/types/WmNodeKind.d.ts.map +0 -1
  460. package/esm/gen/types/WmNodeKind.js +0 -8
  461. package/esm/gen/types/WmNodeLifetime.d.ts +0 -5
  462. package/esm/gen/types/WmNodeLifetime.d.ts.map +0 -1
  463. package/esm/gen/types/WmNodeLifetime.js +0 -6
  464. package/esm/gen/types/WmRenderTree.d.ts +0 -6
  465. package/esm/gen/types/WmRenderTree.d.ts.map +0 -1
  466. package/script/gen/types/SluHotkey.d.ts +0 -17
  467. package/script/gen/types/SluHotkey.d.ts.map +0 -1
  468. package/script/gen/types/SluHotkeyAction.d.ts +0 -96
  469. package/script/gen/types/SluHotkeyAction.d.ts.map +0 -1
  470. package/script/gen/types/WindowManagerLayout.d.ts +0 -6
  471. package/script/gen/types/WindowManagerLayout.d.ts.map +0 -1
  472. package/script/gen/types/WlanProfile.d.ts +0 -8
  473. package/script/gen/types/WlanProfile.d.ts.map +0 -1
  474. package/script/gen/types/WmNode.d.ts.map +0 -1
  475. package/script/gen/types/WmNodeKind.d.ts.map +0 -1
  476. package/script/gen/types/WmNodeKind.js +0 -11
  477. package/script/gen/types/WmNodeLifetime.d.ts +0 -5
  478. package/script/gen/types/WmNodeLifetime.d.ts.map +0 -1
  479. package/script/gen/types/WmNodeLifetime.js +0 -9
  480. package/script/gen/types/WmRenderTree.d.ts +0 -6
  481. package/script/gen/types/WmRenderTree.d.ts.map +0 -1
  482. /package/esm/gen/types/{SluHotkeyAction.js → AudioWaveform.js} +0 -0
  483. /package/esm/gen/types/{WlanProfile.js → BackupStatus.js} +0 -0
  484. /package/esm/gen/types/{SluHotkey.js → ClipboardData.js} +0 -0
  485. /package/esm/gen/types/{WindowManagerLayout.js → ClipboardEntry.js} +0 -0
  486. /package/esm/gen/types/{WmNode.js → ContextMenuCallbackPayload.js} +0 -0
  487. /package/esm/gen/types/{WmRenderTree.js → SeelenCommandMoveWindowToWorkspaceArgs.js} +0 -0
  488. /package/script/gen/types/{SluHotkeyAction.js → AudioWaveform.js} +0 -0
  489. /package/script/gen/types/{WlanProfile.js → BackupStatus.js} +0 -0
  490. /package/script/gen/types/{SluHotkey.js → ClipboardData.js} +0 -0
  491. /package/script/gen/types/{WindowManagerLayout.js → ClipboardEntry.js} +0 -0
  492. /package/script/gen/types/{WmNode.js → ContextMenuCallbackPayload.js} +0 -0
  493. /package/script/gen/types/{WmRenderTree.js → SeelenCommandMoveWindowToWorkspaceArgs.js} +0 -0
@@ -4,9 +4,11 @@ export declare enum SeelenCommand {
4
4
  CreateWorkspace = "create_workspace",
5
5
  DestroyWorkspace = "destroy_workspace",
6
6
  RenameWorkspace = "rename_workspace",
7
+ MoveWindowToWorkspace = "move_window_to_workspace",
7
8
  WallpaperNext = "wallpaper_next",
8
9
  WallpaperPrev = "wallpaper_prev",
9
10
  WallpaperSaveThumbnail = "wallpaper_save_thumbnail",
11
+ SetAsWallpaper = "set_as_wallpaper",
10
12
  LogFromWebview = "log_from_webview",
11
13
  OpenFile = "open_file",
12
14
  SelectFileOnExplorer = "select_file_on_explorer",
@@ -28,8 +30,11 @@ export declare enum SeelenCommand {
28
30
  SystemGetForegroundWindowColor = "get_foreground_window_color",
29
31
  SystemGetMonitors = "get_connected_monitors",
30
32
  SystemGetColors = "get_system_colors",
33
+ SystemSetAccentColor = "set_system_accent_color",
31
34
  SystemGetLanguages = "get_system_languages",
32
35
  SystemSetKeyboardLayout = "set_system_keyboard_layout",
36
+ RegisterAppBar = "register_app_bar",
37
+ UnregisterAppBar = "unregister_app_bar",
33
38
  StateGetDefaultSettings = "state_get_default_settings",
34
39
  StateGetDefaultMonitorSettings = "state_get_default_monitor_settings",
35
40
  StateGetDefaultWallpaperSettings = "state_get_default_wallpaper_settings",
@@ -46,6 +51,7 @@ export declare enum SeelenCommand {
46
51
  StateGetSettingsByApp = "state_get_settings_by_app",
47
52
  StateGetPlugins = "state_get_plugins",
48
53
  StateGetWidgets = "state_get_widgets",
54
+ StateGetSystemShortcuts = "state_get_system_shortcuts",
49
55
  StateGetIconPacks = "state_get_icon_packs",
50
56
  StateGetWallpapers = "state_get_wallpapers",
51
57
  StateSetCustomIconPack = "state_add_icon_to_custom_icon_pack",
@@ -74,6 +80,7 @@ export declare enum SeelenCommand {
74
80
  SetVolumeLevel = "set_volume_level",
75
81
  MediaToggleMute = "media_toggle_mute",
76
82
  MediaSetDefaultDevice = "media_set_default_device",
83
+ GetMediaWaveform = "get_media_waveform",
77
84
  GetAllMonitorsBrightness = "get_all_monitors_brightness",
78
85
  SetMonitorBrightness = "set_monitor_brightness",
79
86
  GetPowerStatus = "get_power_status",
@@ -96,11 +103,10 @@ export declare enum SeelenCommand {
96
103
  UpdatePopup = "update_popup",
97
104
  ClosePopup = "close_popup",
98
105
  GetPopupConfig = "get_popup_config",
99
- WlanGetProfiles = "wlan_get_profiles",
100
- WlanStartScanning = "wlan_start_scanning",
101
- WlanStopScanning = "wlan_stop_scanning",
106
+ WlanScan = "wlan_scan",
102
107
  WlanConnect = "wlan_connect",
103
108
  WlanDisconnect = "wlan_disconnect",
109
+ WlanForget = "wlan_forget",
104
110
  GetNetworkDefaultLocalIp = "get_network_default_local_ip",
105
111
  GetNetworkAdapters = "get_network_adapters",
106
112
  GetNetworkInternetConnection = "get_network_internet_connection",
@@ -122,6 +128,7 @@ export declare enum SeelenCommand {
122
128
  RequestPairBluetoothDevice = "request_pair_bluetooth_device",
123
129
  ConfirmBluetoothDevicePairing = "confirm_bluetooth_device_pairing",
124
130
  DisconnectBluetoothDevice = "disconnect_bluetooth_device",
131
+ ConnectBluetoothDevice = "connect_bluetooth_device",
125
132
  ForgetBluetoothDevice = "forget_bluetooth_device",
126
133
  GetStartMenuItems = "get_start_menu_items",
127
134
  GetNativeStartMenu = "get_native_start_menu",
@@ -129,6 +136,17 @@ export declare enum SeelenCommand {
129
136
  TrashBinEmpty = "trash_bin_empty",
130
137
  GetSeelenSession = "get_seelen_session",
131
138
  SeelenLogin = "seelen_login",
132
- SeelenLogout = "seelen_logout"
139
+ SeelenLogout = "seelen_logout",
140
+ GetBackupStatus = "get_backup_status",
141
+ ClipboardGetData = "clipboard_get_data",
142
+ ClipboardDeleteEntry = "clipboard_delete_entry",
143
+ ClipboardClearHistory = "clipboard_clear_history",
144
+ ClipboardSetContent = "clipboard_set_content",
145
+ ClipboardPaste = "clipboard_paste",
146
+ GetFonts = "get_fonts",
147
+ GetFocusAssist = "get_focus_assist",
148
+ SetFocusAssist = "set_focus_assist",
149
+ GetNotificationsMode = "get_notifications_mode",
150
+ SetNotificationsMode = "set_notifications_mode"
133
151
  }
134
152
  //# sourceMappingURL=commands.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../../../src/src/handlers/commands.ts"],"names":[],"mappings":"AACA,oBAAY,aAAa;IACvB,uBAAuB,yBAAyB;IAChD,eAAe,qBAAqB;IACpC,eAAe,qBAAqB;IACpC,gBAAgB,sBAAsB;IACtC,eAAe,qBAAqB;IACpC,aAAa,mBAAmB;IAChC,aAAa,mBAAmB;IAChC,sBAAsB,6BAA6B;IACnD,cAAc,qBAAqB;IACnC,QAAQ,cAAc;IACtB,oBAAoB,4BAA4B;IAChD,GAAG,QAAQ;IACX,YAAY,kBAAkB;IAC9B,SAAS,gBAAgB;IACzB,aAAa,oBAAoB;IACjC,eAAe,sBAAsB;IACrC,aAAa,oBAAoB;IACjC,gBAAgB,uBAAuB;IACvC,WAAW,kBAAkB;IAC7B,WAAW,kBAAkB;IAC7B,aAAa,oBAAoB;IACjC,OAAO,aAAa;IACpB,WAAW,iBAAiB;IAC5B,0BAA0B,mCAAmC;IAC7D,eAAe,sBAAsB;IACrC,0BAA0B,kCAAkC;IAC5D,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,sBAAsB,8BAA8B;IACpD,gBAAgB,uBAAuB;IACvC,kBAAkB,yBAAyB;IAC3C,qBAAqB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IAClC,wBAAwB,iCAAiC;IACzD,kBAAkB,yBAAyB;IAC3C,4BAA4B,oCAAoC;IAChE,kBAAkB,0BAA0B;IAC5C,wBAAwB,iCAAiC;IACzD,gBAAgB,sBAAsB;IACtC,kBAAkB,wBAAwB;IAC1C,qBAAqB,4BAA4B;IACjD,oBAAoB,0BAA0B;IAC9C,SAAS,eAAe;IACxB,aAAa,qBAAqB;IAClC,cAAc,qBAAqB;IACnC,gBAAgB,uBAAuB;IACvC,eAAe,sBAAsB;IACrC,cAAc,qBAAqB;IACnC,mBAAmB,0BAA0B;IAC7C,sBAAsB,6BAA6B;IACnD,qBAAqB,4BAA4B;IACjD,0BAA0B,kCAAkC;IAC5D,6BAA6B,qCAAqC;IAClE,yBAAyB,gCAAgC;IACzD,qBAAqB,4BAA4B;IACjD,iBAAiB,yBAAyB;IAC1C,kBAAkB,0BAA0B;IAC5C,eAAe,uBAAuB;IACtC,aAAa,oBAAoB;IACjC,gBAAgB,uBAAuB;IACvC,WAAW,iBAAiB;IAC5B,YAAY,kBAAkB;CAC/B"}
1
+ {"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../../../src/src/handlers/commands.ts"],"names":[],"mappings":"AACA,oBAAY,aAAa;IACvB,uBAAuB,yBAAyB;IAChD,eAAe,qBAAqB;IACpC,eAAe,qBAAqB;IACpC,gBAAgB,sBAAsB;IACtC,eAAe,qBAAqB;IACpC,qBAAqB,6BAA6B;IAClD,aAAa,mBAAmB;IAChC,aAAa,mBAAmB;IAChC,sBAAsB,6BAA6B;IACnD,cAAc,qBAAqB;IACnC,cAAc,qBAAqB;IACnC,QAAQ,cAAc;IACtB,oBAAoB,4BAA4B;IAChD,GAAG,QAAQ;IACX,YAAY,kBAAkB;IAC9B,SAAS,gBAAgB;IACzB,aAAa,oBAAoB;IACjC,eAAe,sBAAsB;IACrC,aAAa,oBAAoB;IACjC,gBAAgB,uBAAuB;IACvC,WAAW,kBAAkB;IAC7B,WAAW,kBAAkB;IAC7B,aAAa,o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;IACjC,gBAAgB,uBAAuB;IACvC,WAAW,iBAAiB;IAC5B,YAAY,kBAAkB;IAC9B,eAAe,sBAAsB;IACrC,gBAAgB,uBAAuB;IACvC,oBAAoB,2BAA2B;IAC/C,qBAAqB,4BAA4B;IACjD,mBAAmB,0BAA0B;IAC7C,cAAc,oBAAoB;IAClC,QAAQ,cAAc;IACtB,cAAc,qBAAqB;IACnC,cAAc,qBAAqB;IACnC,oBAAoB,2BAA2B;IAC/C,oBAAoB,2BAA2B;CAChD"}
@@ -9,9 +9,11 @@ var SeelenCommand;
9
9
  SeelenCommand["CreateWorkspace"] = "create_workspace";
10
10
  SeelenCommand["DestroyWorkspace"] = "destroy_workspace";
11
11
  SeelenCommand["RenameWorkspace"] = "rename_workspace";
12
+ SeelenCommand["MoveWindowToWorkspace"] = "move_window_to_workspace";
12
13
  SeelenCommand["WallpaperNext"] = "wallpaper_next";
13
14
  SeelenCommand["WallpaperPrev"] = "wallpaper_prev";
14
15
  SeelenCommand["WallpaperSaveThumbnail"] = "wallpaper_save_thumbnail";
16
+ SeelenCommand["SetAsWallpaper"] = "set_as_wallpaper";
15
17
  SeelenCommand["LogFromWebview"] = "log_from_webview";
16
18
  SeelenCommand["OpenFile"] = "open_file";
17
19
  SeelenCommand["SelectFileOnExplorer"] = "select_file_on_explorer";
@@ -33,8 +35,11 @@ var SeelenCommand;
33
35
  SeelenCommand["SystemGetForegroundWindowColor"] = "get_foreground_window_color";
34
36
  SeelenCommand["SystemGetMonitors"] = "get_connected_monitors";
35
37
  SeelenCommand["SystemGetColors"] = "get_system_colors";
38
+ SeelenCommand["SystemSetAccentColor"] = "set_system_accent_color";
36
39
  SeelenCommand["SystemGetLanguages"] = "get_system_languages";
37
40
  SeelenCommand["SystemSetKeyboardLayout"] = "set_system_keyboard_layout";
41
+ SeelenCommand["RegisterAppBar"] = "register_app_bar";
42
+ SeelenCommand["UnregisterAppBar"] = "unregister_app_bar";
38
43
  SeelenCommand["StateGetDefaultSettings"] = "state_get_default_settings";
39
44
  SeelenCommand["StateGetDefaultMonitorSettings"] = "state_get_default_monitor_settings";
40
45
  SeelenCommand["StateGetDefaultWallpaperSettings"] = "state_get_default_wallpaper_settings";
@@ -51,6 +56,7 @@ var SeelenCommand;
51
56
  SeelenCommand["StateGetSettingsByApp"] = "state_get_settings_by_app";
52
57
  SeelenCommand["StateGetPlugins"] = "state_get_plugins";
53
58
  SeelenCommand["StateGetWidgets"] = "state_get_widgets";
59
+ SeelenCommand["StateGetSystemShortcuts"] = "state_get_system_shortcuts";
54
60
  SeelenCommand["StateGetIconPacks"] = "state_get_icon_packs";
55
61
  SeelenCommand["StateGetWallpapers"] = "state_get_wallpapers";
56
62
  SeelenCommand["StateSetCustomIconPack"] = "state_add_icon_to_custom_icon_pack";
@@ -79,6 +85,7 @@ var SeelenCommand;
79
85
  SeelenCommand["SetVolumeLevel"] = "set_volume_level";
80
86
  SeelenCommand["MediaToggleMute"] = "media_toggle_mute";
81
87
  SeelenCommand["MediaSetDefaultDevice"] = "media_set_default_device";
88
+ SeelenCommand["GetMediaWaveform"] = "get_media_waveform";
82
89
  SeelenCommand["GetAllMonitorsBrightness"] = "get_all_monitors_brightness";
83
90
  SeelenCommand["SetMonitorBrightness"] = "set_monitor_brightness";
84
91
  SeelenCommand["GetPowerStatus"] = "get_power_status";
@@ -101,11 +108,10 @@ var SeelenCommand;
101
108
  SeelenCommand["UpdatePopup"] = "update_popup";
102
109
  SeelenCommand["ClosePopup"] = "close_popup";
103
110
  SeelenCommand["GetPopupConfig"] = "get_popup_config";
104
- SeelenCommand["WlanGetProfiles"] = "wlan_get_profiles";
105
- SeelenCommand["WlanStartScanning"] = "wlan_start_scanning";
106
- SeelenCommand["WlanStopScanning"] = "wlan_stop_scanning";
111
+ SeelenCommand["WlanScan"] = "wlan_scan";
107
112
  SeelenCommand["WlanConnect"] = "wlan_connect";
108
113
  SeelenCommand["WlanDisconnect"] = "wlan_disconnect";
114
+ SeelenCommand["WlanForget"] = "wlan_forget";
109
115
  SeelenCommand["GetNetworkDefaultLocalIp"] = "get_network_default_local_ip";
110
116
  SeelenCommand["GetNetworkAdapters"] = "get_network_adapters";
111
117
  SeelenCommand["GetNetworkInternetConnection"] = "get_network_internet_connection";
@@ -127,6 +133,7 @@ var SeelenCommand;
127
133
  SeelenCommand["RequestPairBluetoothDevice"] = "request_pair_bluetooth_device";
128
134
  SeelenCommand["ConfirmBluetoothDevicePairing"] = "confirm_bluetooth_device_pairing";
129
135
  SeelenCommand["DisconnectBluetoothDevice"] = "disconnect_bluetooth_device";
136
+ SeelenCommand["ConnectBluetoothDevice"] = "connect_bluetooth_device";
130
137
  SeelenCommand["ForgetBluetoothDevice"] = "forget_bluetooth_device";
131
138
  SeelenCommand["GetStartMenuItems"] = "get_start_menu_items";
132
139
  SeelenCommand["GetNativeStartMenu"] = "get_native_start_menu";
@@ -135,4 +142,15 @@ var SeelenCommand;
135
142
  SeelenCommand["GetSeelenSession"] = "get_seelen_session";
136
143
  SeelenCommand["SeelenLogin"] = "seelen_login";
137
144
  SeelenCommand["SeelenLogout"] = "seelen_logout";
145
+ SeelenCommand["GetBackupStatus"] = "get_backup_status";
146
+ SeelenCommand["ClipboardGetData"] = "clipboard_get_data";
147
+ SeelenCommand["ClipboardDeleteEntry"] = "clipboard_delete_entry";
148
+ SeelenCommand["ClipboardClearHistory"] = "clipboard_clear_history";
149
+ SeelenCommand["ClipboardSetContent"] = "clipboard_set_content";
150
+ SeelenCommand["ClipboardPaste"] = "clipboard_paste";
151
+ SeelenCommand["GetFonts"] = "get_fonts";
152
+ SeelenCommand["GetFocusAssist"] = "get_focus_assist";
153
+ SeelenCommand["SetFocusAssist"] = "set_focus_assist";
154
+ SeelenCommand["GetNotificationsMode"] = "get_notifications_mode";
155
+ SeelenCommand["SetNotificationsMode"] = "set_notifications_mode";
138
156
  })(SeelenCommand || (exports.SeelenCommand = SeelenCommand = {}));
@@ -14,21 +14,21 @@ export declare enum SeelenEvent {
14
14
  MediaDevices = "media::devices",
15
15
  MediaInputs = "media-inputs",
16
16
  MediaOutputs = "media-outputs",
17
+ MediaWaveform = "media::waveform",
17
18
  NetworkDefaultLocalIp = "network-default-local-ip",
18
19
  NetworkAdapters = "network-adapters",
19
20
  NetworkInternetConnection = "network-internet-connection",
20
21
  NetworkWlanScanned = "wlan-scanned",
21
- Notifications = "notifications",
22
22
  PowerStatus = "power-status",
23
23
  PowerMode = "power-mode",
24
24
  BatteriesStatus = "batteries-status",
25
25
  ColorsChanged = "colors-changed",
26
+ SystemFontsChanged = "system::fonts-changed",
26
27
  WMSetReservation = "wm::set-reservation",
27
28
  WMForceRetiling = "wm::force-retiling",
28
29
  WMTreeChanged = "wm::tree-changed",
29
30
  PopupContentChanged = "popup-content-changed",
30
31
  StateSettingsChanged = "settings-changed",
31
- StateSettingsByAppChanged = "settings-by-app",
32
32
  StateThemesChanged = "themes",
33
33
  StateIconPacksChanged = "icon-packs",
34
34
  StatePluginsChanged = "plugins-changed",
@@ -46,6 +46,12 @@ export declare enum SeelenEvent {
46
46
  StartMenuItemsChanged = "start-menu::items-changed",
47
47
  WegAddItem = "weg::add-item",
48
48
  TrashBinChanged = "trash-bin::changed",
49
- SeelenSessionChanged = "session::changed"
49
+ SeelenSessionChanged = "session::changed",
50
+ SeelenBackupStatusChanged = "backup::status-changed",
51
+ ClipboardDataChanged = "clipboard::data-changed",
52
+ FocusAssistChanged = "focus-assist::changed",
53
+ NotificationsModeChanged = "notifications::mode-changed",
54
+ Notifications = "notifications",
55
+ PluginEnabled = "plugin::enabled"
50
56
  }
51
57
  //# sourceMappingURL=events.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../src/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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;IAChD,qBAAqB,0BAA0B;IAC/C,6BAA6B,mCAAmC;IAChE,aAAa,mBAAmB;IAChC,YAAY,mBAAmB;IAC/B,WAAW,iBAAiB;IAC5B,YAAY,kBAAkB;IAC9B,aAAa,oBAAoB;IACjC,qBAAqB,6BAA6B;IAClD,eAAe,qBAAqB;IACpC,yBAAyB,gCAAgC;IACzD,kBAAkB,iBAAiB;IACnC,WAAW,iBAAiB;IAC5B,SAAS,eAAe;IACxB,eAAe,qBAAqB;IACpC,aAAa,mBAAmB;IAChC,kBAAkB,0BAA0B;IAC5C,gBAAgB,wBAAwB;IACxC,eAAe,uBAAuB;IACtC,aAAa,qBAAqB;IAClC,mBAAmB,0BAA0B;IAC7C,oBAAoB,qBAAqB;IACzC,kBAAkB,WAAW;IAC7B,qBAAqB,eAAe;IACpC,mBAAmB,oBAAoB;IACvC,mBAAmB,oBAAoB;IACvC,sBAAsB,sCAAsC;IAC5D,iBAAiB,yBAAyB;IAC1C,2BAA2B,oCAAoC;IAC/D,eAAe,sBAAsB;IACrC,aAAa,mBAAmB;IAChC,kBAAkB,0BAA0B;IAC5C,oBAAoB,4BAA4B;IAChD,mBAAmB,2BAA2B;IAC9C,kBAAkB,0BAA0B;IAC5C,uBAAuB,8BAA8B;IACrD,qBAAqB,8BAA8B;IACnD,UAAU,kBAAkB;IAC5B,eAAe,uBAAuB;IACtC,oBAAoB,qBAAqB;IACzC,yBAAyB,2BAA2B;IACpD,oBAAoB,4BAA4B;IAChD,kBAAkB,0BAA0B;IAC5C,wBAAwB,gCAAgC;IACxD,aAAa,kBAAkB;IAC/B,aAAa,oBAAoB;CAClC"}
@@ -19,21 +19,21 @@ var SeelenEvent;
19
19
  SeelenEvent["MediaDevices"] = "media::devices";
20
20
  SeelenEvent["MediaInputs"] = "media-inputs";
21
21
  SeelenEvent["MediaOutputs"] = "media-outputs";
22
+ SeelenEvent["MediaWaveform"] = "media::waveform";
22
23
  SeelenEvent["NetworkDefaultLocalIp"] = "network-default-local-ip";
23
24
  SeelenEvent["NetworkAdapters"] = "network-adapters";
24
25
  SeelenEvent["NetworkInternetConnection"] = "network-internet-connection";
25
26
  SeelenEvent["NetworkWlanScanned"] = "wlan-scanned";
26
- SeelenEvent["Notifications"] = "notifications";
27
27
  SeelenEvent["PowerStatus"] = "power-status";
28
28
  SeelenEvent["PowerMode"] = "power-mode";
29
29
  SeelenEvent["BatteriesStatus"] = "batteries-status";
30
30
  SeelenEvent["ColorsChanged"] = "colors-changed";
31
+ SeelenEvent["SystemFontsChanged"] = "system::fonts-changed";
31
32
  SeelenEvent["WMSetReservation"] = "wm::set-reservation";
32
33
  SeelenEvent["WMForceRetiling"] = "wm::force-retiling";
33
34
  SeelenEvent["WMTreeChanged"] = "wm::tree-changed";
34
35
  SeelenEvent["PopupContentChanged"] = "popup-content-changed";
35
36
  SeelenEvent["StateSettingsChanged"] = "settings-changed";
36
- SeelenEvent["StateSettingsByAppChanged"] = "settings-by-app";
37
37
  SeelenEvent["StateThemesChanged"] = "themes";
38
38
  SeelenEvent["StateIconPacksChanged"] = "icon-packs";
39
39
  SeelenEvent["StatePluginsChanged"] = "plugins-changed";
@@ -52,4 +52,10 @@ var SeelenEvent;
52
52
  SeelenEvent["WegAddItem"] = "weg::add-item";
53
53
  SeelenEvent["TrashBinChanged"] = "trash-bin::changed";
54
54
  SeelenEvent["SeelenSessionChanged"] = "session::changed";
55
+ SeelenEvent["SeelenBackupStatusChanged"] = "backup::status-changed";
56
+ SeelenEvent["ClipboardDataChanged"] = "clipboard::data-changed";
57
+ SeelenEvent["FocusAssistChanged"] = "focus-assist::changed";
58
+ SeelenEvent["NotificationsModeChanged"] = "notifications::mode-changed";
59
+ SeelenEvent["Notifications"] = "notifications";
60
+ SeelenEvent["PluginEnabled"] = "plugin::enabled";
55
61
  })(SeelenEvent || (exports.SeelenEvent = SeelenEvent = {}));
@@ -3,5 +3,6 @@
3
3
  * when the themes or settings change. Also will add the systehm ui colors to the document.
4
4
  */
5
5
  export declare function startThemingTool(): Promise<void>;
6
+ export declare function setPerformanceStyles(): void;
6
7
  export declare function startDateCssVariables(): void;
7
8
  //# sourceMappingURL=theming.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"theming.d.ts","sourceRoot":"","sources":["../../../../src/src/state/theme/theming.ts"],"names":[],"mappings":"AAKA;;;GAGG;AACH,wBAAsB,gBAAgB,IAAI,OAAO,CAAC,IAAI,CAAC,CAoBtD;AAED,wBAAgB,qBAAqB,IAAI,IAAI,CAK5C"}
1
+ {"version":3,"file":"theming.d.ts","sourceRoot":"","sources":["../../../../src/src/state/theme/theming.ts"],"names":[],"mappings":"AAKA;;;GAGG;AACH,wBAAsB,gBAAgB,IAAI,OAAO,CAAC,IAAI,CAAC,CAqBtD;AAiBD,wBAAgB,oBAAoB,IAAI,IAAI,CAI3C;AAED,wBAAgB,qBAAqB,IAAI,IAAI,CAK5C"}
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.startThemingTool = startThemingTool;
4
+ exports.setPerformanceStyles = setPerformanceStyles;
4
5
  exports.startDateCssVariables = startDateCssVariables;
5
6
  const ui_colors_js_1 = require("../../system_state/ui_colors.js");
6
7
  const DOM_js_1 = require("../../utils/DOM.js");
@@ -21,11 +22,31 @@ async function startThemingTool() {
21
22
  settings = newSettings;
22
23
  themes.applyToDocument(settings.activeThemes, settings.byTheme);
23
24
  });
25
+ setPerformanceStyles();
26
+ startDateCssVariables();
24
27
  (await ui_colors_js_1.UIColors.getAsync()).setAsCssVariables();
25
28
  await ui_colors_js_1.UIColors.onChange((colors) => colors.setAsCssVariables());
26
- startDateCssVariables();
27
29
  themes.applyToDocument(settings.activeThemes, settings.byTheme);
28
30
  }
31
+ // Used by performance mode to reduce cpu/gpu usage
32
+ const PERF_CSS = `
33
+ html[data-animations-off] *,
34
+ html[data-animations-off] *::before,
35
+ html[data-animations-off] *::after {
36
+ animation-duration: 0.001ms !important;
37
+ animation-iteration-count: 1 !important;
38
+ animation-delay: 0s !important;
39
+
40
+ transition-duration: 0.001ms !important;
41
+ transition-delay: 0s !important;
42
+
43
+ scroll-behavior: auto !important;
44
+ }`;
45
+ function setPerformanceStyles() {
46
+ const styleSheet = new DOM_js_1.RuntimeStyleSheet("@static/performance");
47
+ styleSheet.addStyle(PERF_CSS);
48
+ styleSheet.applyToDocument();
49
+ }
29
50
  function startDateCssVariables() {
30
51
  // Set initial values immediately
31
52
  updateDateCssVariables();
@@ -12,23 +12,64 @@ export interface WidgetInformation {
12
12
  }
13
13
  export interface InitWidgetOptions {
14
14
  /**
15
- * Will auto size the widget to the content size of the element
15
+ * Automatically resizes the widget to match the content size of a given element.
16
+ *
16
17
  * @example
17
- * autoSizeByContent: document.body,
18
- * autoSizeByContent: document.getElementById("root"),
18
+ * autoSizeByContent: document.body
19
+ * autoSizeByContent: document.getElementById("root")
20
+ *
19
21
  * @default undefined
20
22
  */
21
23
  autoSizeByContent?: HTMLElement | null;
22
24
  /**
23
- * Will save the position and size of the widget on change.
24
- * This is intedeed to be used when the size and position of the widget is
25
- * allowed to be changed by the user, Normally used on desktop widgets.
25
+ * When `autoSizeByContent` is enabled, ensures the widget stays fully visible
26
+ * by adjusting its position to fit within the screen bounds.
27
+ *
28
+ * @default true
29
+ */
30
+ autoSizeFitOnScreen?: boolean;
31
+ /**
32
+ * Forces the WebView to use a 1:1 device pixel ratio (disables DPI scaling).
33
+ *
34
+ * ⚠️ Not intended for typical widgets. Use only when exact pixel alignment
35
+ * with the physical display is required (e.g. multi-monitor widgets like
36
+ * power menu, workspace viewer, wallpaper manager).
37
+ *
38
+ * Widgets using this must handle per-monitor DPI scaling manually.
39
+ *
40
+ * @default false
41
+ */
42
+ normalizeDevicePixelRatio?: boolean;
43
+ /**
44
+ * Persists and restores the widget's last known position and size.
45
+ *
46
+ * Intended for widgets that users can move or resize (e.g. desktop widgets).
26
47
  *
27
48
  * @default widget.preset === "Desktop"
28
49
  */
29
50
  saveAndRestoreLastRect?: boolean;
30
51
  /**
31
- * Will disable the css animations on the widget when performace mode is set to Extreme
52
+ * Hides the widget when it loses focus.
53
+ *
54
+ * Commonly used for popup-style widgets.
55
+ *
56
+ * @default widget.preset === "Popup"
57
+ */
58
+ hideOnFocusLoss?: boolean;
59
+ /**
60
+ * Closes the widget after being hidden for a period of time,
61
+ * instead of keeping it in memory.
62
+ *
63
+ * Useful for infrequently used popup widgets to reduce resource usage.
64
+ * The widget will be recreated when opened again.
65
+ *
66
+ * @default widget.lazy === true
67
+ */
68
+ closeOnHide?: boolean;
69
+ /**
70
+ * Disables CSS animations when performance mode is set to "Extreme".
71
+ *
72
+ * Helps reduce rendering overhead on low-end systems or heavy workloads.
32
73
  *
33
74
  * @default true
34
75
  */
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../../src/src/state/widget/interfaces.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,4BAA4B;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,kEAAkE;IAClE,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,gEAAgE;IAChE,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,0CAA0C;IAC1C,MAAM,EAAE;QAAE,QAAQ,EAAE,GAAG,IAAI,MAAM,CAAC,CAAC,EAAE,MAAM;KAAE,CAAC;CAC/C;AAED,MAAM,WAAW,iBAAiB;IAChC;;;;;;OAMG;IACH,iBAAiB,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IACvC;;;;;;OAMG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC;AAED,MAAM,WAAW,kBAAkB;IACjC;;;;OAIG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB"}
1
+ {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../../src/src/state/widget/interfaces.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,4BAA4B;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,kEAAkE;IAClE,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,gEAAgE;IAChE,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,0CAA0C;IAC1C,MAAM,EAAE;QAAE,QAAQ,EAAE,GAAG,IAAI,MAAM,CAAC,CAAC,EAAE,MAAM;KAAE,CAAC;CAC/C;AAED,MAAM,WAAW,iBAAiB;IAChC;;;;;;;;OAQG;IACH,iBAAiB,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IAEvC;;;;;OAKG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAE9B;;;;;;;;;;OAUG;IACH,yBAAyB,CAAC,EAAE,OAAO,CAAC;IAEpC;;;;;;OAMG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;IAEjC;;;;;;OAMG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B;;;;;;;;OAQG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;;;;;OAMG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC;AAED,MAAM,WAAW,kBAAkB;IACjC;;;;OAIG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB"}
@@ -1,4 +1,4 @@
1
- import { type Frame, type Rect, type ThirdPartyWidgetSettings, type Widget as IWidget, type WidgetId, type WidgetTriggerPayload } from "../../../gen/types/mod.js";
1
+ import { type Alignment, type Frame, type Rect, type ThirdPartyWidgetSettings, type Widget as IWidget, type WidgetId, type WidgetTriggerPayload } from "../../../gen/types/mod.js";
2
2
  import type { InitWidgetOptions, ReadyWidgetOptions, WidgetInformation } from "./interfaces.js";
3
3
  import { type Webview } from "@tauri-apps/api/webview";
4
4
  import { type Window } from "@tauri-apps/api/window";
@@ -24,26 +24,26 @@ export declare class Widget {
24
24
  /** current window where the widget is running */
25
25
  readonly window: Window;
26
26
  private autoSizer?;
27
+ private destroyOnHide;
27
28
  private runtimeState;
28
29
  private constructor();
29
30
  /** Returns the current window id of the widget */
30
31
  get windowId(): number;
31
- /** Returns the current position and size of the widget */
32
- get frame(): Frame;
33
32
  /** Returns the default config of the widget, declared on the widget definition */
34
33
  getDefaultConfig(): ThirdPartyWidgetSettings;
35
- private applyInvisiblePreset;
36
34
  /** Will apply the recommended settings for a desktop widget */
37
35
  private applyDesktopPreset;
38
36
  /** Will apply the recommended settings for an overlay widget */
39
37
  private applyOverlayPreset;
40
38
  /** Will apply the recommended settings for a popup widget */
41
39
  private applyPopupPreset;
40
+ private hideOnFocusLoss;
42
41
  /**
43
42
  * Will restore the saved position and size of the widget on start,
44
43
  * after that will store the position and size of the widget on change.
45
44
  */
46
- persistPositionAndSize(): Promise<void>;
45
+ private persistPositionAndSize;
46
+ private normalizeDevicePixelRatio;
47
47
  /**
48
48
  * Will initialize the widget based on the preset and mark it as `pending`, this function won't show the widget.
49
49
  * This should be called before any other action on the widget. After this you should call
@@ -58,12 +58,17 @@ export declare class Widget {
58
58
  */
59
59
  ready(options?: ReadyWidgetOptions): Promise<void>;
60
60
  onTrigger(cb: (args: WidgetTriggerPayload) => void): void;
61
- /** If animations are enabled this will animate the movement of the widget */
61
+ __unsafe_setPosition(rect: Rect, ref: Frame): Promise<void>;
62
+ /**
63
+ * This will adjust the position of the widget based on the current placement and alignX/alignY arguments.
64
+ * This makes the widget fit into the monitor where it was placed, avoiding monitor overflow.
65
+ */
66
+ adjustAndSetPosition(x: number, y: number, alignX?: Alignment | null, alignY?: Alignment | null): Promise<void>;
62
67
  setPosition(rect: Rect): Promise<void>;
63
68
  show(): Promise<void>;
64
69
  /** Will force foreground the widget */
65
70
  focus(): Promise<void>;
66
- hide(closeAfterInactivity?: boolean): void;
71
+ hide(): void;
67
72
  }
68
73
  export declare const SeelenSettingsWidgetId: WidgetId;
69
74
  export declare const SeelenPopupWidgetId: WidgetId;
@@ -1 +1 @@
1
- {"version":3,"file":"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