@seelen-ui/lib 2.1.8 → 2.2.6-next.20250406223121

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 (761) hide show
  1. package/esm/deps/jsr.io/@std/encoding/1.0.8/_common64.d.ts +21 -0
  2. package/esm/deps/jsr.io/@std/encoding/1.0.8/_common64.d.ts.map +1 -0
  3. package/esm/deps/jsr.io/@std/encoding/1.0.8/_common64.js +98 -0
  4. package/esm/deps/jsr.io/@std/encoding/1.0.8/_common_detach.d.ts +4 -0
  5. package/esm/deps/jsr.io/@std/encoding/1.0.8/_common_detach.d.ts.map +1 -0
  6. package/esm/deps/jsr.io/@std/encoding/1.0.8/_common_detach.js +13 -0
  7. package/{script/deps/jsr.io/@std/encoding/1.0.7 → esm/deps/jsr.io/@std/encoding/1.0.8}/_types.d.ts.map +1 -1
  8. package/esm/deps/jsr.io/@std/encoding/1.0.8/base64url.d.ts.map +1 -0
  9. package/esm/deps/jsr.io/@std/encoding/1.0.8/base64url.js +72 -0
  10. package/esm/handlers/commands.d.ts +19 -1
  11. package/esm/handlers/commands.d.ts.map +1 -1
  12. package/esm/handlers/commands.js +19 -1
  13. package/esm/handlers/events.d.ts +6 -0
  14. package/esm/handlers/events.d.ts.map +1 -1
  15. package/esm/handlers/events.js +6 -0
  16. package/esm/state/icon_pack.d.ts +28 -6
  17. package/esm/state/icon_pack.d.ts.map +1 -1
  18. package/esm/state/icon_pack.js +73 -10
  19. package/esm/state/placeholder.d.ts +2 -0
  20. package/esm/state/placeholder.d.ts.map +1 -1
  21. package/esm/state/placeholder.js +2 -0
  22. package/esm/state/settings/mod.d.ts +7 -3
  23. package/esm/state/settings/mod.d.ts.map +1 -1
  24. package/esm/state/settings/mod.js +5 -1
  25. package/esm/state/widget.js +1 -1
  26. package/esm/system_state/bluetooth.d.ts +76 -0
  27. package/esm/system_state/bluetooth.d.ts.map +1 -0
  28. package/esm/system_state/bluetooth.js +62 -0
  29. package/esm/system_state/language.d.ts +4 -0
  30. package/esm/system_state/language.d.ts.map +1 -1
  31. package/esm/system_state/mod.d.ts +1 -0
  32. package/esm/system_state/mod.d.ts.map +1 -1
  33. package/esm/system_state/mod.js +1 -0
  34. package/esm/system_state/ui_colors.d.ts +28 -13
  35. package/esm/system_state/ui_colors.d.ts.map +1 -1
  36. package/esm/system_state/ui_colors.js +76 -1
  37. package/esm/types/AppNotification.d.ts +10 -0
  38. package/esm/types/AppNotification.d.ts.map +1 -0
  39. package/esm/types/AppNotification.js +1 -0
  40. package/esm/types/BLEAppearance.d.ts +218 -0
  41. package/esm/types/BLEAppearance.d.ts.map +1 -0
  42. package/esm/types/BLEAppearance.js +1 -0
  43. package/esm/types/BLEAppearanceAVEquipmentSubCategory.d.ts +4 -0
  44. package/esm/types/BLEAppearanceAVEquipmentSubCategory.d.ts.map +1 -0
  45. package/esm/types/BLEAppearanceAVEquipmentSubCategory.js +2 -0
  46. package/esm/types/BLEAppearanceAccessControlSubCategory.d.ts +4 -0
  47. package/esm/types/BLEAppearanceAccessControlSubCategory.d.ts.map +1 -0
  48. package/esm/types/BLEAppearanceAccessControlSubCategory.js +2 -0
  49. package/esm/types/BLEAppearanceAirConditioningSubCategory.d.ts +4 -0
  50. package/esm/types/BLEAppearanceAirConditioningSubCategory.d.ts.map +1 -0
  51. package/esm/types/BLEAppearanceAirConditioningSubCategory.js +2 -0
  52. package/esm/types/BLEAppearanceAircraftSubCategory.d.ts +4 -0
  53. package/esm/types/BLEAppearanceAircraftSubCategory.d.ts.map +1 -0
  54. package/esm/types/BLEAppearanceAircraftSubCategory.js +2 -0
  55. package/esm/types/BLEAppearanceAudioSinkSubCategory.d.ts +4 -0
  56. package/esm/types/BLEAppearanceAudioSinkSubCategory.d.ts.map +1 -0
  57. package/esm/types/BLEAppearanceAudioSinkSubCategory.js +2 -0
  58. package/esm/types/BLEAppearanceAudioSourceSubCategory.d.ts +4 -0
  59. package/esm/types/BLEAppearanceAudioSourceSubCategory.d.ts.map +1 -0
  60. package/esm/types/BLEAppearanceAudioSourceSubCategory.js +2 -0
  61. package/esm/types/BLEAppearanceBarcodeScannerSubCategory.d.ts +4 -0
  62. package/esm/types/BLEAppearanceBarcodeScannerSubCategory.d.ts.map +1 -0
  63. package/esm/types/BLEAppearanceBarcodeScannerSubCategory.js +2 -0
  64. package/esm/types/BLEAppearanceBloodPressureSubCategory.d.ts +4 -0
  65. package/esm/types/BLEAppearanceBloodPressureSubCategory.d.ts.map +1 -0
  66. package/esm/types/BLEAppearanceBloodPressureSubCategory.js +2 -0
  67. package/esm/types/BLEAppearanceClockSubCategory.d.ts +4 -0
  68. package/esm/types/BLEAppearanceClockSubCategory.d.ts.map +1 -0
  69. package/esm/types/BLEAppearanceClockSubCategory.js +2 -0
  70. package/esm/types/BLEAppearanceComputerSubCategory.d.ts +4 -0
  71. package/esm/types/BLEAppearanceComputerSubCategory.d.ts.map +1 -0
  72. package/esm/types/BLEAppearanceComputerSubCategory.js +2 -0
  73. package/esm/types/BLEAppearanceContinuousGlucoseMonitorSubCategory.d.ts +4 -0
  74. package/esm/types/BLEAppearanceContinuousGlucoseMonitorSubCategory.d.ts.map +1 -0
  75. package/esm/types/BLEAppearanceContinuousGlucoseMonitorSubCategory.js +2 -0
  76. package/esm/types/BLEAppearanceControlDeviceSubCategory.d.ts +4 -0
  77. package/esm/types/BLEAppearanceControlDeviceSubCategory.d.ts.map +1 -0
  78. package/esm/types/BLEAppearanceControlDeviceSubCategory.js +2 -0
  79. package/esm/types/BLEAppearanceCyclingSubCategory.d.ts +4 -0
  80. package/esm/types/BLEAppearanceCyclingSubCategory.d.ts.map +1 -0
  81. package/esm/types/BLEAppearanceCyclingSubCategory.js +2 -0
  82. package/esm/types/BLEAppearanceDisplayEquipmentSubCategory.d.ts +4 -0
  83. package/esm/types/BLEAppearanceDisplayEquipmentSubCategory.d.ts.map +1 -0
  84. package/esm/types/BLEAppearanceDisplayEquipmentSubCategory.js +2 -0
  85. package/esm/types/BLEAppearanceDisplaySubCategory.d.ts +4 -0
  86. package/esm/types/BLEAppearanceDisplaySubCategory.d.ts.map +1 -0
  87. package/esm/types/BLEAppearanceDisplaySubCategory.js +2 -0
  88. package/esm/types/BLEAppearanceDomesticApplianceSubCategory.d.ts +4 -0
  89. package/esm/types/BLEAppearanceDomesticApplianceSubCategory.d.ts.map +1 -0
  90. package/esm/types/BLEAppearanceDomesticApplianceSubCategory.js +2 -0
  91. package/esm/types/BLEAppearanceEyeglassesSubCategory.d.ts +4 -0
  92. package/esm/types/BLEAppearanceEyeglassesSubCategory.d.ts.map +1 -0
  93. package/esm/types/BLEAppearanceEyeglassesSubCategory.js +2 -0
  94. package/esm/types/BLEAppearanceFanSubCategory.d.ts +4 -0
  95. package/esm/types/BLEAppearanceFanSubCategory.d.ts.map +1 -0
  96. package/esm/types/BLEAppearanceFanSubCategory.js +2 -0
  97. package/esm/types/BLEAppearanceGamingSubCategory.d.ts +4 -0
  98. package/esm/types/BLEAppearanceGamingSubCategory.d.ts.map +1 -0
  99. package/esm/types/BLEAppearanceGamingSubCategory.js +2 -0
  100. package/esm/types/BLEAppearanceGlucoseMeterSubCategory.d.ts +4 -0
  101. package/esm/types/BLEAppearanceGlucoseMeterSubCategory.d.ts.map +1 -0
  102. package/esm/types/BLEAppearanceGlucoseMeterSubCategory.js +2 -0
  103. package/esm/types/BLEAppearanceHVACSubCategory.d.ts +4 -0
  104. package/esm/types/BLEAppearanceHVACSubCategory.d.ts.map +1 -0
  105. package/esm/types/BLEAppearanceHVACSubCategory.js +2 -0
  106. package/esm/types/BLEAppearanceHearingaidSubCategory.d.ts +4 -0
  107. package/esm/types/BLEAppearanceHearingaidSubCategory.d.ts.map +1 -0
  108. package/esm/types/BLEAppearanceHearingaidSubCategory.js +2 -0
  109. package/esm/types/BLEAppearanceHeartRateSensorSubCategory.d.ts +4 -0
  110. package/esm/types/BLEAppearanceHeartRateSensorSubCategory.d.ts.map +1 -0
  111. package/esm/types/BLEAppearanceHeartRateSensorSubCategory.js +2 -0
  112. package/esm/types/BLEAppearanceHeatingSubCategory.d.ts +4 -0
  113. package/esm/types/BLEAppearanceHeatingSubCategory.d.ts.map +1 -0
  114. package/esm/types/BLEAppearanceHeatingSubCategory.js +2 -0
  115. package/esm/types/BLEAppearanceHumanInterfaceDeviceSubCategory.d.ts +4 -0
  116. package/esm/types/BLEAppearanceHumanInterfaceDeviceSubCategory.d.ts.map +1 -0
  117. package/esm/types/BLEAppearanceHumanInterfaceDeviceSubCategory.js +2 -0
  118. package/esm/types/BLEAppearanceHumidifierSubCategory.d.ts +4 -0
  119. package/esm/types/BLEAppearanceHumidifierSubCategory.d.ts.map +1 -0
  120. package/esm/types/BLEAppearanceHumidifierSubCategory.js +2 -0
  121. package/esm/types/BLEAppearanceIndustrialMeasurementDeviceSubCategory.d.ts +4 -0
  122. package/esm/types/BLEAppearanceIndustrialMeasurementDeviceSubCategory.d.ts.map +1 -0
  123. package/esm/types/BLEAppearanceIndustrialMeasurementDeviceSubCategory.js +2 -0
  124. package/esm/types/BLEAppearanceIndustrialToolsSubCategory.d.ts +4 -0
  125. package/esm/types/BLEAppearanceIndustrialToolsSubCategory.d.ts.map +1 -0
  126. package/esm/types/BLEAppearanceIndustrialToolsSubCategory.js +2 -0
  127. package/esm/types/BLEAppearanceInsulinPumpSubCategory.d.ts +4 -0
  128. package/esm/types/BLEAppearanceInsulinPumpSubCategory.d.ts.map +1 -0
  129. package/esm/types/BLEAppearanceInsulinPumpSubCategory.js +2 -0
  130. package/esm/types/BLEAppearanceKeyringSubCategory.d.ts +4 -0
  131. package/esm/types/BLEAppearanceKeyringSubCategory.d.ts.map +1 -0
  132. package/esm/types/BLEAppearanceKeyringSubCategory.js +2 -0
  133. package/esm/types/BLEAppearanceLightFixturesSubCategory.d.ts +4 -0
  134. package/esm/types/BLEAppearanceLightFixturesSubCategory.d.ts.map +1 -0
  135. package/esm/types/BLEAppearanceLightFixturesSubCategory.js +2 -0
  136. package/esm/types/BLEAppearanceLightSourceSubCategory.d.ts +4 -0
  137. package/esm/types/BLEAppearanceLightSourceSubCategory.d.ts.map +1 -0
  138. package/esm/types/BLEAppearanceLightSourceSubCategory.js +2 -0
  139. package/esm/types/BLEAppearanceMediaPlayerSubCategory.d.ts +4 -0
  140. package/esm/types/BLEAppearanceMediaPlayerSubCategory.d.ts.map +1 -0
  141. package/esm/types/BLEAppearanceMediaPlayerSubCategory.js +2 -0
  142. package/esm/types/BLEAppearanceMedicationDeliverySubCategory.d.ts +4 -0
  143. package/esm/types/BLEAppearanceMedicationDeliverySubCategory.d.ts.map +1 -0
  144. package/esm/types/BLEAppearanceMedicationDeliverySubCategory.js +2 -0
  145. package/esm/types/BLEAppearanceMotorizedDeviceSubCategory.d.ts +4 -0
  146. package/esm/types/BLEAppearanceMotorizedDeviceSubCategory.d.ts.map +1 -0
  147. package/esm/types/BLEAppearanceMotorizedDeviceSubCategory.js +2 -0
  148. package/esm/types/BLEAppearanceMotorizedVehicleSubCategory.d.ts +4 -0
  149. package/esm/types/BLEAppearanceMotorizedVehicleSubCategory.d.ts.map +1 -0
  150. package/esm/types/BLEAppearanceMotorizedVehicleSubCategory.js +2 -0
  151. package/esm/types/BLEAppearanceNetworkDeviceSubCategory.d.ts +4 -0
  152. package/esm/types/BLEAppearanceNetworkDeviceSubCategory.d.ts.map +1 -0
  153. package/esm/types/BLEAppearanceNetworkDeviceSubCategory.js +2 -0
  154. package/esm/types/BLEAppearanceOutdoorSportsActivitySubCategory.d.ts +4 -0
  155. package/esm/types/BLEAppearanceOutdoorSportsActivitySubCategory.d.ts.map +1 -0
  156. package/esm/types/BLEAppearanceOutdoorSportsActivitySubCategory.js +2 -0
  157. package/esm/types/BLEAppearancePersonalMobilityDeviceSubCategory.d.ts +4 -0
  158. package/esm/types/BLEAppearancePersonalMobilityDeviceSubCategory.d.ts.map +1 -0
  159. package/esm/types/BLEAppearancePersonalMobilityDeviceSubCategory.js +2 -0
  160. package/esm/types/BLEAppearancePhoneSubCategory.d.ts +4 -0
  161. package/esm/types/BLEAppearancePhoneSubCategory.d.ts.map +1 -0
  162. package/esm/types/BLEAppearancePhoneSubCategory.js +2 -0
  163. package/esm/types/BLEAppearancePowerDeviceSubCategory.d.ts +4 -0
  164. package/esm/types/BLEAppearancePowerDeviceSubCategory.d.ts.map +1 -0
  165. package/esm/types/BLEAppearancePowerDeviceSubCategory.js +2 -0
  166. package/esm/types/BLEAppearancePulseOximeterSubCategory.d.ts +4 -0
  167. package/esm/types/BLEAppearancePulseOximeterSubCategory.d.ts.map +1 -0
  168. package/esm/types/BLEAppearancePulseOximeterSubCategory.js +2 -0
  169. package/esm/types/BLEAppearanceRemoteControlSubCategory.d.ts +4 -0
  170. package/esm/types/BLEAppearanceRemoteControlSubCategory.d.ts.map +1 -0
  171. package/esm/types/BLEAppearanceRemoteControlSubCategory.js +2 -0
  172. package/esm/types/BLEAppearanceRunningWalkingSensorSubCategory.d.ts +4 -0
  173. package/esm/types/BLEAppearanceRunningWalkingSensorSubCategory.d.ts.map +1 -0
  174. package/esm/types/BLEAppearanceRunningWalkingSensorSubCategory.js +2 -0
  175. package/esm/types/BLEAppearanceSensorSubCategory.d.ts +4 -0
  176. package/esm/types/BLEAppearanceSensorSubCategory.d.ts.map +1 -0
  177. package/esm/types/BLEAppearanceSensorSubCategory.js +2 -0
  178. package/esm/types/BLEAppearanceSignageSubCategory.d.ts +4 -0
  179. package/esm/types/BLEAppearanceSignageSubCategory.d.ts.map +1 -0
  180. package/esm/types/BLEAppearanceSignageSubCategory.js +2 -0
  181. package/esm/types/BLEAppearanceSpirometerSubCategory.d.ts +4 -0
  182. package/esm/types/BLEAppearanceSpirometerSubCategory.d.ts.map +1 -0
  183. package/esm/types/BLEAppearanceSpirometerSubCategory.js +2 -0
  184. package/esm/types/BLEAppearanceTagSubCategory.d.ts +4 -0
  185. package/esm/types/BLEAppearanceTagSubCategory.d.ts.map +1 -0
  186. package/esm/types/BLEAppearanceTagSubCategory.js +2 -0
  187. package/esm/types/BLEAppearanceThermometerSubCategory.d.ts +4 -0
  188. package/esm/types/BLEAppearanceThermometerSubCategory.d.ts.map +1 -0
  189. package/esm/types/BLEAppearanceThermometerSubCategory.js +2 -0
  190. package/esm/types/BLEAppearanceUnknownSubCategory.d.ts +4 -0
  191. package/esm/types/BLEAppearanceUnknownSubCategory.d.ts.map +1 -0
  192. package/esm/types/BLEAppearanceUnknownSubCategory.js +2 -0
  193. package/esm/types/BLEAppearanceWatchSubCategory.d.ts +4 -0
  194. package/esm/types/BLEAppearanceWatchSubCategory.d.ts.map +1 -0
  195. package/esm/types/BLEAppearanceWatchSubCategory.js +2 -0
  196. package/esm/types/BLEAppearanceWearableAudioDeviceSubCategory.d.ts +4 -0
  197. package/esm/types/BLEAppearanceWearableAudioDeviceSubCategory.d.ts.map +1 -0
  198. package/esm/types/BLEAppearanceWearableAudioDeviceSubCategory.js +2 -0
  199. package/esm/types/BLEAppearanceWeightScaleSubCategory.d.ts +4 -0
  200. package/esm/types/BLEAppearanceWeightScaleSubCategory.d.ts.map +1 -0
  201. package/esm/types/BLEAppearanceWeightScaleSubCategory.js +2 -0
  202. package/esm/types/BLEAppearanceWindowCoveringSubCategory.d.ts +4 -0
  203. package/esm/types/BLEAppearanceWindowCoveringSubCategory.d.ts.map +1 -0
  204. package/esm/types/BLEAppearanceWindowCoveringSubCategory.js +2 -0
  205. package/esm/types/Binding.d.ts +7 -0
  206. package/esm/types/Binding.d.ts.map +1 -0
  207. package/esm/types/Binding.js +1 -0
  208. package/esm/types/BluetoothAudioVideoMinor.d.ts +7 -0
  209. package/esm/types/BluetoothAudioVideoMinor.d.ts.map +1 -0
  210. package/esm/types/BluetoothAudioVideoMinor.js +2 -0
  211. package/esm/types/BluetoothComputerMinor.d.ts +7 -0
  212. package/esm/types/BluetoothComputerMinor.d.ts.map +1 -0
  213. package/esm/types/BluetoothComputerMinor.js +2 -0
  214. package/esm/types/BluetoothDevice.d.ts +21 -0
  215. package/esm/types/BluetoothDevice.d.ts.map +1 -0
  216. package/esm/types/BluetoothDevice.js +1 -0
  217. package/esm/types/BluetoothDevicePairShowPinRequest.d.ts +5 -0
  218. package/esm/types/BluetoothDevicePairShowPinRequest.d.ts.map +1 -0
  219. package/esm/types/BluetoothDevicePairShowPinRequest.js +2 -0
  220. package/esm/types/BluetoothHealthMinor.d.ts +7 -0
  221. package/esm/types/BluetoothHealthMinor.d.ts.map +1 -0
  222. package/esm/types/BluetoothHealthMinor.js +2 -0
  223. package/esm/types/BluetoothImagingMinor.d.ts +5 -0
  224. package/esm/types/BluetoothImagingMinor.d.ts.map +1 -0
  225. package/esm/types/BluetoothImagingMinor.js +2 -0
  226. package/esm/types/BluetoothImagingSubMinor.d.ts +7 -0
  227. package/esm/types/BluetoothImagingSubMinor.d.ts.map +1 -0
  228. package/esm/types/BluetoothImagingSubMinor.js +2 -0
  229. package/esm/types/BluetoothMajorClass.d.ts +5 -0
  230. package/esm/types/BluetoothMajorClass.d.ts.map +1 -0
  231. package/esm/types/BluetoothMajorClass.js +2 -0
  232. package/esm/types/BluetoothMajorServiceClass.d.ts +2 -0
  233. package/esm/types/BluetoothMajorServiceClass.d.ts.map +1 -0
  234. package/esm/types/BluetoothMajorServiceClass.js +2 -0
  235. package/esm/types/BluetoothMinorClass.d.ts +40 -0
  236. package/esm/types/BluetoothMinorClass.d.ts.map +1 -0
  237. package/esm/types/BluetoothMinorClass.js +1 -0
  238. package/esm/types/BluetoothNetworkMinor.d.ts +5 -0
  239. package/esm/types/BluetoothNetworkMinor.d.ts.map +1 -0
  240. package/esm/types/BluetoothNetworkMinor.js +2 -0
  241. package/esm/types/BluetoothNetworkSubMinor.d.ts +7 -0
  242. package/esm/types/BluetoothNetworkSubMinor.d.ts.map +1 -0
  243. package/esm/types/BluetoothNetworkSubMinor.js +2 -0
  244. package/esm/types/BluetoothPeripheralMinor.d.ts +5 -0
  245. package/esm/types/BluetoothPeripheralMinor.d.ts.map +1 -0
  246. package/esm/types/BluetoothPeripheralMinor.js +2 -0
  247. package/esm/types/BluetoothPeripheralSubMinor.d.ts +7 -0
  248. package/esm/types/BluetoothPeripheralSubMinor.d.ts.map +1 -0
  249. package/esm/types/BluetoothPeripheralSubMinor.js +2 -0
  250. package/esm/types/BluetoothPhoneMinor.d.ts +7 -0
  251. package/esm/types/BluetoothPhoneMinor.d.ts.map +1 -0
  252. package/esm/types/BluetoothPhoneMinor.js +2 -0
  253. package/esm/types/BluetoothToolbarItem.d.ts +186 -0
  254. package/esm/types/BluetoothToolbarItem.d.ts.map +1 -0
  255. package/esm/types/BluetoothToolbarItem.js +1 -0
  256. package/esm/types/BluetoothToyMinor.d.ts +7 -0
  257. package/esm/types/BluetoothToyMinor.d.ts.map +1 -0
  258. package/esm/types/BluetoothToyMinor.js +2 -0
  259. package/esm/types/BluetoothWearableMinor.d.ts +7 -0
  260. package/esm/types/BluetoothWearableMinor.d.ts.map +1 -0
  261. package/esm/types/BluetoothWearableMinor.js +2 -0
  262. package/esm/types/Color.d.ts +10 -0
  263. package/esm/types/Color.d.ts.map +1 -0
  264. package/esm/types/Color.js +2 -0
  265. package/esm/types/FancyToolbarSettings.d.ts +13 -4
  266. package/esm/types/FancyToolbarSettings.d.ts.map +1 -1
  267. package/esm/types/FancyToolbarSide.d.ts +2 -0
  268. package/esm/types/FancyToolbarSide.d.ts.map +1 -0
  269. package/esm/types/FancyToolbarSide.js +2 -0
  270. package/esm/types/Icon.d.ts +19 -0
  271. package/esm/types/Icon.d.ts.map +1 -0
  272. package/esm/types/Icon.js +2 -0
  273. package/esm/types/IconPack.d.ts +15 -2
  274. package/esm/types/IconPack.d.ts.map +1 -1
  275. package/esm/types/KeyboardToolbarItem.d.ts +138 -0
  276. package/esm/types/KeyboardToolbarItem.d.ts.map +1 -0
  277. package/esm/types/KeyboardToolbarItem.js +1 -0
  278. package/esm/types/PinnedWegItemData.d.ts +7 -2
  279. package/esm/types/PinnedWegItemData.d.ts.map +1 -1
  280. package/esm/types/PowerToolbarItem.d.ts +44 -0
  281. package/esm/types/PowerToolbarItem.d.ts.map +1 -1
  282. package/esm/types/RelaunchArguments.d.ts +2 -0
  283. package/esm/types/RelaunchArguments.d.ts.map +1 -0
  284. package/esm/types/RelaunchArguments.js +2 -0
  285. package/esm/types/SeelenWegSettings.d.ts +4 -4
  286. package/esm/types/SeelenWegSettings.d.ts.map +1 -1
  287. package/esm/types/Toast.d.ts +10 -0
  288. package/esm/types/Toast.d.ts.map +1 -0
  289. package/esm/types/Toast.js +1 -0
  290. package/esm/types/ToastAction.d.ts +25 -0
  291. package/esm/types/ToastAction.d.ts.map +1 -0
  292. package/esm/types/ToastAction.js +1 -0
  293. package/esm/types/ToastActionActivationType.d.ts +2 -0
  294. package/esm/types/ToastActionActivationType.d.ts.map +1 -0
  295. package/esm/types/ToastActionActivationType.js +2 -0
  296. package/esm/types/ToastActionAfterActivationBehavior.d.ts +2 -0
  297. package/esm/types/ToastActionAfterActivationBehavior.d.ts.map +1 -0
  298. package/esm/types/ToastActionAfterActivationBehavior.js +2 -0
  299. package/esm/types/ToastActionButtonStyle.d.ts +2 -0
  300. package/esm/types/ToastActionButtonStyle.d.ts.map +1 -0
  301. package/esm/types/ToastActionButtonStyle.js +2 -0
  302. package/esm/types/ToastActionPlacement.d.ts +2 -0
  303. package/esm/types/ToastActionPlacement.d.ts.map +1 -0
  304. package/esm/types/ToastActionPlacement.js +2 -0
  305. package/esm/types/ToastActions.d.ts +5 -0
  306. package/esm/types/ToastActions.d.ts.map +1 -0
  307. package/esm/types/ToastActions.js +1 -0
  308. package/esm/types/ToastActionsEntry.d.ts +8 -0
  309. package/esm/types/ToastActionsEntry.d.ts.map +1 -0
  310. package/esm/types/ToastActionsEntry.js +1 -0
  311. package/esm/types/ToastBindingEntry.d.ts +14 -0
  312. package/esm/types/ToastBindingEntry.d.ts.map +1 -0
  313. package/esm/types/ToastBindingEntry.js +1 -0
  314. package/esm/types/ToastGroup.d.ts +5 -0
  315. package/esm/types/ToastGroup.d.ts.map +1 -0
  316. package/esm/types/ToastGroup.js +1 -0
  317. package/esm/types/ToastHeader.d.ts +8 -0
  318. package/esm/types/ToastHeader.d.ts.map +1 -0
  319. package/esm/types/ToastHeader.js +1 -0
  320. package/esm/types/ToastImage.d.ts +11 -0
  321. package/esm/types/ToastImage.d.ts.map +1 -0
  322. package/esm/types/ToastImage.js +1 -0
  323. package/esm/types/ToastImageCropType.d.ts +2 -0
  324. package/esm/types/ToastImageCropType.d.ts.map +1 -0
  325. package/esm/types/ToastImageCropType.js +2 -0
  326. package/esm/types/ToastImagePlacement.d.ts +2 -0
  327. package/esm/types/ToastImagePlacement.d.ts.map +1 -0
  328. package/esm/types/ToastImagePlacement.js +2 -0
  329. package/esm/types/ToastInput.d.ts +10 -0
  330. package/esm/types/ToastInput.d.ts.map +1 -0
  331. package/esm/types/ToastInput.js +1 -0
  332. package/esm/types/ToastInputSelection.d.ts +5 -0
  333. package/esm/types/ToastInputSelection.d.ts.map +1 -0
  334. package/esm/types/ToastInputSelection.js +2 -0
  335. package/esm/types/ToastInputType.d.ts +2 -0
  336. package/esm/types/ToastInputType.d.ts.map +1 -0
  337. package/esm/types/ToastInputType.js +2 -0
  338. package/esm/types/ToastProgress.d.ts +7 -0
  339. package/esm/types/ToastProgress.d.ts.map +1 -0
  340. package/esm/types/ToastProgress.js +2 -0
  341. package/esm/types/ToastSubGroup.d.ts +5 -0
  342. package/esm/types/ToastSubGroup.d.ts.map +1 -0
  343. package/esm/types/ToastSubGroup.js +1 -0
  344. package/esm/types/ToastSubGroupEntry.d.ts +8 -0
  345. package/esm/types/ToastSubGroupEntry.d.ts.map +1 -0
  346. package/esm/types/ToastSubGroupEntry.js +1 -0
  347. package/esm/types/ToastTemplateType.d.ts +2 -0
  348. package/esm/types/ToastTemplateType.d.ts.map +1 -0
  349. package/esm/types/ToastTemplateType.js +2 -0
  350. package/esm/types/ToastText.d.ts +5 -0
  351. package/esm/types/ToastText.d.ts.map +1 -0
  352. package/esm/types/ToastText.js +2 -0
  353. package/esm/types/ToastVisual.d.ts +5 -0
  354. package/esm/types/ToastVisual.d.ts.map +1 -0
  355. package/esm/types/ToastVisual.js +1 -0
  356. package/esm/types/ToolbarItem.d.ts +6 -0
  357. package/esm/types/ToolbarItem.d.ts.map +1 -1
  358. package/esm/types/UIColors.d.ts +16 -0
  359. package/esm/types/UIColors.d.ts.map +1 -0
  360. package/esm/types/UIColors.js +2 -0
  361. package/esm/types/mod.d.ts +185 -81
  362. package/esm/types/mod.d.ts.map +1 -1
  363. package/esm/types/mod.js +185 -81
  364. package/esm/utils/mod.d.ts +0 -2
  365. package/esm/utils/mod.d.ts.map +1 -1
  366. package/esm/utils/mod.js +0 -40
  367. package/package.json +2 -2
  368. package/script/deps/jsr.io/@std/encoding/1.0.8/_common64.d.ts +21 -0
  369. package/script/deps/jsr.io/@std/encoding/1.0.8/_common64.d.ts.map +1 -0
  370. package/script/deps/jsr.io/@std/encoding/1.0.8/_common64.js +103 -0
  371. package/script/deps/jsr.io/@std/encoding/1.0.8/_common_detach.d.ts +4 -0
  372. package/script/deps/jsr.io/@std/encoding/1.0.8/_common_detach.d.ts.map +1 -0
  373. package/script/deps/jsr.io/@std/encoding/1.0.8/_common_detach.js +16 -0
  374. package/{esm/deps/jsr.io/@std/encoding/1.0.7 → script/deps/jsr.io/@std/encoding/1.0.8}/_types.d.ts.map +1 -1
  375. package/script/deps/jsr.io/@std/encoding/1.0.8/base64url.d.ts.map +1 -0
  376. package/script/deps/jsr.io/@std/encoding/1.0.8/base64url.js +76 -0
  377. package/script/handlers/commands.d.ts +19 -1
  378. package/script/handlers/commands.d.ts.map +1 -1
  379. package/script/handlers/commands.js +19 -1
  380. package/script/handlers/events.d.ts +6 -0
  381. package/script/handlers/events.d.ts.map +1 -1
  382. package/script/handlers/events.js +6 -0
  383. package/script/state/icon_pack.d.ts +28 -6
  384. package/script/state/icon_pack.d.ts.map +1 -1
  385. package/script/state/icon_pack.js +73 -10
  386. package/script/state/placeholder.d.ts +2 -0
  387. package/script/state/placeholder.d.ts.map +1 -1
  388. package/script/state/placeholder.js +2 -0
  389. package/script/state/settings/mod.d.ts +7 -3
  390. package/script/state/settings/mod.d.ts.map +1 -1
  391. package/script/state/settings/mod.js +6 -1
  392. package/script/state/widget.js +1 -1
  393. package/script/system_state/bluetooth.d.ts +76 -0
  394. package/script/system_state/bluetooth.d.ts.map +1 -0
  395. package/script/system_state/bluetooth.js +67 -0
  396. package/script/system_state/language.d.ts +4 -0
  397. package/script/system_state/language.d.ts.map +1 -1
  398. package/script/system_state/mod.d.ts +1 -0
  399. package/script/system_state/mod.d.ts.map +1 -1
  400. package/script/system_state/mod.js +1 -0
  401. package/script/system_state/ui_colors.d.ts +28 -13
  402. package/script/system_state/ui_colors.d.ts.map +1 -1
  403. package/script/system_state/ui_colors.js +78 -2
  404. package/script/types/AppNotification.d.ts +10 -0
  405. package/script/types/AppNotification.d.ts.map +1 -0
  406. package/script/types/AppNotification.js +2 -0
  407. package/script/types/BLEAppearance.d.ts +218 -0
  408. package/script/types/BLEAppearance.d.ts.map +1 -0
  409. package/script/types/BLEAppearance.js +2 -0
  410. package/script/types/BLEAppearanceAVEquipmentSubCategory.d.ts +4 -0
  411. package/script/types/BLEAppearanceAVEquipmentSubCategory.d.ts.map +1 -0
  412. package/script/types/BLEAppearanceAVEquipmentSubCategory.js +3 -0
  413. package/script/types/BLEAppearanceAccessControlSubCategory.d.ts +4 -0
  414. package/script/types/BLEAppearanceAccessControlSubCategory.d.ts.map +1 -0
  415. package/script/types/BLEAppearanceAccessControlSubCategory.js +3 -0
  416. package/script/types/BLEAppearanceAirConditioningSubCategory.d.ts +4 -0
  417. package/script/types/BLEAppearanceAirConditioningSubCategory.d.ts.map +1 -0
  418. package/script/types/BLEAppearanceAirConditioningSubCategory.js +3 -0
  419. package/script/types/BLEAppearanceAircraftSubCategory.d.ts +4 -0
  420. package/script/types/BLEAppearanceAircraftSubCategory.d.ts.map +1 -0
  421. package/script/types/BLEAppearanceAircraftSubCategory.js +3 -0
  422. package/script/types/BLEAppearanceAudioSinkSubCategory.d.ts +4 -0
  423. package/script/types/BLEAppearanceAudioSinkSubCategory.d.ts.map +1 -0
  424. package/script/types/BLEAppearanceAudioSinkSubCategory.js +3 -0
  425. package/script/types/BLEAppearanceAudioSourceSubCategory.d.ts +4 -0
  426. package/script/types/BLEAppearanceAudioSourceSubCategory.d.ts.map +1 -0
  427. package/script/types/BLEAppearanceAudioSourceSubCategory.js +3 -0
  428. package/script/types/BLEAppearanceBarcodeScannerSubCategory.d.ts +4 -0
  429. package/script/types/BLEAppearanceBarcodeScannerSubCategory.d.ts.map +1 -0
  430. package/script/types/BLEAppearanceBarcodeScannerSubCategory.js +3 -0
  431. package/script/types/BLEAppearanceBloodPressureSubCategory.d.ts +4 -0
  432. package/script/types/BLEAppearanceBloodPressureSubCategory.d.ts.map +1 -0
  433. package/script/types/BLEAppearanceBloodPressureSubCategory.js +3 -0
  434. package/script/types/BLEAppearanceClockSubCategory.d.ts +4 -0
  435. package/script/types/BLEAppearanceClockSubCategory.d.ts.map +1 -0
  436. package/script/types/BLEAppearanceClockSubCategory.js +3 -0
  437. package/script/types/BLEAppearanceComputerSubCategory.d.ts +4 -0
  438. package/script/types/BLEAppearanceComputerSubCategory.d.ts.map +1 -0
  439. package/script/types/BLEAppearanceComputerSubCategory.js +3 -0
  440. package/script/types/BLEAppearanceContinuousGlucoseMonitorSubCategory.d.ts +4 -0
  441. package/script/types/BLEAppearanceContinuousGlucoseMonitorSubCategory.d.ts.map +1 -0
  442. package/script/types/BLEAppearanceContinuousGlucoseMonitorSubCategory.js +3 -0
  443. package/script/types/BLEAppearanceControlDeviceSubCategory.d.ts +4 -0
  444. package/script/types/BLEAppearanceControlDeviceSubCategory.d.ts.map +1 -0
  445. package/script/types/BLEAppearanceControlDeviceSubCategory.js +3 -0
  446. package/script/types/BLEAppearanceCyclingSubCategory.d.ts +4 -0
  447. package/script/types/BLEAppearanceCyclingSubCategory.d.ts.map +1 -0
  448. package/script/types/BLEAppearanceCyclingSubCategory.js +3 -0
  449. package/script/types/BLEAppearanceDisplayEquipmentSubCategory.d.ts +4 -0
  450. package/script/types/BLEAppearanceDisplayEquipmentSubCategory.d.ts.map +1 -0
  451. package/script/types/BLEAppearanceDisplayEquipmentSubCategory.js +3 -0
  452. package/script/types/BLEAppearanceDisplaySubCategory.d.ts +4 -0
  453. package/script/types/BLEAppearanceDisplaySubCategory.d.ts.map +1 -0
  454. package/script/types/BLEAppearanceDisplaySubCategory.js +3 -0
  455. package/script/types/BLEAppearanceDomesticApplianceSubCategory.d.ts +4 -0
  456. package/script/types/BLEAppearanceDomesticApplianceSubCategory.d.ts.map +1 -0
  457. package/script/types/BLEAppearanceDomesticApplianceSubCategory.js +3 -0
  458. package/script/types/BLEAppearanceEyeglassesSubCategory.d.ts +4 -0
  459. package/script/types/BLEAppearanceEyeglassesSubCategory.d.ts.map +1 -0
  460. package/script/types/BLEAppearanceEyeglassesSubCategory.js +3 -0
  461. package/script/types/BLEAppearanceFanSubCategory.d.ts +4 -0
  462. package/script/types/BLEAppearanceFanSubCategory.d.ts.map +1 -0
  463. package/script/types/BLEAppearanceFanSubCategory.js +3 -0
  464. package/script/types/BLEAppearanceGamingSubCategory.d.ts +4 -0
  465. package/script/types/BLEAppearanceGamingSubCategory.d.ts.map +1 -0
  466. package/script/types/BLEAppearanceGamingSubCategory.js +3 -0
  467. package/script/types/BLEAppearanceGlucoseMeterSubCategory.d.ts +4 -0
  468. package/script/types/BLEAppearanceGlucoseMeterSubCategory.d.ts.map +1 -0
  469. package/script/types/BLEAppearanceGlucoseMeterSubCategory.js +3 -0
  470. package/script/types/BLEAppearanceHVACSubCategory.d.ts +4 -0
  471. package/script/types/BLEAppearanceHVACSubCategory.d.ts.map +1 -0
  472. package/script/types/BLEAppearanceHVACSubCategory.js +3 -0
  473. package/script/types/BLEAppearanceHearingaidSubCategory.d.ts +4 -0
  474. package/script/types/BLEAppearanceHearingaidSubCategory.d.ts.map +1 -0
  475. package/script/types/BLEAppearanceHearingaidSubCategory.js +3 -0
  476. package/script/types/BLEAppearanceHeartRateSensorSubCategory.d.ts +4 -0
  477. package/script/types/BLEAppearanceHeartRateSensorSubCategory.d.ts.map +1 -0
  478. package/script/types/BLEAppearanceHeartRateSensorSubCategory.js +3 -0
  479. package/script/types/BLEAppearanceHeatingSubCategory.d.ts +4 -0
  480. package/script/types/BLEAppearanceHeatingSubCategory.d.ts.map +1 -0
  481. package/script/types/BLEAppearanceHeatingSubCategory.js +3 -0
  482. package/script/types/BLEAppearanceHumanInterfaceDeviceSubCategory.d.ts +4 -0
  483. package/script/types/BLEAppearanceHumanInterfaceDeviceSubCategory.d.ts.map +1 -0
  484. package/script/types/BLEAppearanceHumanInterfaceDeviceSubCategory.js +3 -0
  485. package/script/types/BLEAppearanceHumidifierSubCategory.d.ts +4 -0
  486. package/script/types/BLEAppearanceHumidifierSubCategory.d.ts.map +1 -0
  487. package/script/types/BLEAppearanceHumidifierSubCategory.js +3 -0
  488. package/script/types/BLEAppearanceIndustrialMeasurementDeviceSubCategory.d.ts +4 -0
  489. package/script/types/BLEAppearanceIndustrialMeasurementDeviceSubCategory.d.ts.map +1 -0
  490. package/script/types/BLEAppearanceIndustrialMeasurementDeviceSubCategory.js +3 -0
  491. package/script/types/BLEAppearanceIndustrialToolsSubCategory.d.ts +4 -0
  492. package/script/types/BLEAppearanceIndustrialToolsSubCategory.d.ts.map +1 -0
  493. package/script/types/BLEAppearanceIndustrialToolsSubCategory.js +3 -0
  494. package/script/types/BLEAppearanceInsulinPumpSubCategory.d.ts +4 -0
  495. package/script/types/BLEAppearanceInsulinPumpSubCategory.d.ts.map +1 -0
  496. package/script/types/BLEAppearanceInsulinPumpSubCategory.js +3 -0
  497. package/script/types/BLEAppearanceKeyringSubCategory.d.ts +4 -0
  498. package/script/types/BLEAppearanceKeyringSubCategory.d.ts.map +1 -0
  499. package/script/types/BLEAppearanceKeyringSubCategory.js +3 -0
  500. package/script/types/BLEAppearanceLightFixturesSubCategory.d.ts +4 -0
  501. package/script/types/BLEAppearanceLightFixturesSubCategory.d.ts.map +1 -0
  502. package/script/types/BLEAppearanceLightFixturesSubCategory.js +3 -0
  503. package/script/types/BLEAppearanceLightSourceSubCategory.d.ts +4 -0
  504. package/script/types/BLEAppearanceLightSourceSubCategory.d.ts.map +1 -0
  505. package/script/types/BLEAppearanceLightSourceSubCategory.js +3 -0
  506. package/script/types/BLEAppearanceMediaPlayerSubCategory.d.ts +4 -0
  507. package/script/types/BLEAppearanceMediaPlayerSubCategory.d.ts.map +1 -0
  508. package/script/types/BLEAppearanceMediaPlayerSubCategory.js +3 -0
  509. package/script/types/BLEAppearanceMedicationDeliverySubCategory.d.ts +4 -0
  510. package/script/types/BLEAppearanceMedicationDeliverySubCategory.d.ts.map +1 -0
  511. package/script/types/BLEAppearanceMedicationDeliverySubCategory.js +3 -0
  512. package/script/types/BLEAppearanceMotorizedDeviceSubCategory.d.ts +4 -0
  513. package/script/types/BLEAppearanceMotorizedDeviceSubCategory.d.ts.map +1 -0
  514. package/script/types/BLEAppearanceMotorizedDeviceSubCategory.js +3 -0
  515. package/script/types/BLEAppearanceMotorizedVehicleSubCategory.d.ts +4 -0
  516. package/script/types/BLEAppearanceMotorizedVehicleSubCategory.d.ts.map +1 -0
  517. package/script/types/BLEAppearanceMotorizedVehicleSubCategory.js +3 -0
  518. package/script/types/BLEAppearanceNetworkDeviceSubCategory.d.ts +4 -0
  519. package/script/types/BLEAppearanceNetworkDeviceSubCategory.d.ts.map +1 -0
  520. package/script/types/BLEAppearanceNetworkDeviceSubCategory.js +3 -0
  521. package/script/types/BLEAppearanceOutdoorSportsActivitySubCategory.d.ts +4 -0
  522. package/script/types/BLEAppearanceOutdoorSportsActivitySubCategory.d.ts.map +1 -0
  523. package/script/types/BLEAppearanceOutdoorSportsActivitySubCategory.js +3 -0
  524. package/script/types/BLEAppearancePersonalMobilityDeviceSubCategory.d.ts +4 -0
  525. package/script/types/BLEAppearancePersonalMobilityDeviceSubCategory.d.ts.map +1 -0
  526. package/script/types/BLEAppearancePersonalMobilityDeviceSubCategory.js +3 -0
  527. package/script/types/BLEAppearancePhoneSubCategory.d.ts +4 -0
  528. package/script/types/BLEAppearancePhoneSubCategory.d.ts.map +1 -0
  529. package/script/types/BLEAppearancePhoneSubCategory.js +3 -0
  530. package/script/types/BLEAppearancePowerDeviceSubCategory.d.ts +4 -0
  531. package/script/types/BLEAppearancePowerDeviceSubCategory.d.ts.map +1 -0
  532. package/script/types/BLEAppearancePowerDeviceSubCategory.js +3 -0
  533. package/script/types/BLEAppearancePulseOximeterSubCategory.d.ts +4 -0
  534. package/script/types/BLEAppearancePulseOximeterSubCategory.d.ts.map +1 -0
  535. package/script/types/BLEAppearancePulseOximeterSubCategory.js +3 -0
  536. package/script/types/BLEAppearanceRemoteControlSubCategory.d.ts +4 -0
  537. package/script/types/BLEAppearanceRemoteControlSubCategory.d.ts.map +1 -0
  538. package/script/types/BLEAppearanceRemoteControlSubCategory.js +3 -0
  539. package/script/types/BLEAppearanceRunningWalkingSensorSubCategory.d.ts +4 -0
  540. package/script/types/BLEAppearanceRunningWalkingSensorSubCategory.d.ts.map +1 -0
  541. package/script/types/BLEAppearanceRunningWalkingSensorSubCategory.js +3 -0
  542. package/script/types/BLEAppearanceSensorSubCategory.d.ts +4 -0
  543. package/script/types/BLEAppearanceSensorSubCategory.d.ts.map +1 -0
  544. package/script/types/BLEAppearanceSensorSubCategory.js +3 -0
  545. package/script/types/BLEAppearanceSignageSubCategory.d.ts +4 -0
  546. package/script/types/BLEAppearanceSignageSubCategory.d.ts.map +1 -0
  547. package/script/types/BLEAppearanceSignageSubCategory.js +3 -0
  548. package/script/types/BLEAppearanceSpirometerSubCategory.d.ts +4 -0
  549. package/script/types/BLEAppearanceSpirometerSubCategory.d.ts.map +1 -0
  550. package/script/types/BLEAppearanceSpirometerSubCategory.js +3 -0
  551. package/script/types/BLEAppearanceTagSubCategory.d.ts +4 -0
  552. package/script/types/BLEAppearanceTagSubCategory.d.ts.map +1 -0
  553. package/script/types/BLEAppearanceTagSubCategory.js +3 -0
  554. package/script/types/BLEAppearanceThermometerSubCategory.d.ts +4 -0
  555. package/script/types/BLEAppearanceThermometerSubCategory.d.ts.map +1 -0
  556. package/script/types/BLEAppearanceThermometerSubCategory.js +3 -0
  557. package/script/types/BLEAppearanceUnknownSubCategory.d.ts +4 -0
  558. package/script/types/BLEAppearanceUnknownSubCategory.d.ts.map +1 -0
  559. package/script/types/BLEAppearanceUnknownSubCategory.js +3 -0
  560. package/script/types/BLEAppearanceWatchSubCategory.d.ts +4 -0
  561. package/script/types/BLEAppearanceWatchSubCategory.d.ts.map +1 -0
  562. package/script/types/BLEAppearanceWatchSubCategory.js +3 -0
  563. package/script/types/BLEAppearanceWearableAudioDeviceSubCategory.d.ts +4 -0
  564. package/script/types/BLEAppearanceWearableAudioDeviceSubCategory.d.ts.map +1 -0
  565. package/script/types/BLEAppearanceWearableAudioDeviceSubCategory.js +3 -0
  566. package/script/types/BLEAppearanceWeightScaleSubCategory.d.ts +4 -0
  567. package/script/types/BLEAppearanceWeightScaleSubCategory.d.ts.map +1 -0
  568. package/script/types/BLEAppearanceWeightScaleSubCategory.js +3 -0
  569. package/script/types/BLEAppearanceWindowCoveringSubCategory.d.ts +4 -0
  570. package/script/types/BLEAppearanceWindowCoveringSubCategory.d.ts.map +1 -0
  571. package/script/types/BLEAppearanceWindowCoveringSubCategory.js +3 -0
  572. package/script/types/Binding.d.ts +7 -0
  573. package/script/types/Binding.d.ts.map +1 -0
  574. package/script/types/Binding.js +2 -0
  575. package/script/types/BluetoothAudioVideoMinor.d.ts +7 -0
  576. package/script/types/BluetoothAudioVideoMinor.d.ts.map +1 -0
  577. package/script/types/BluetoothAudioVideoMinor.js +3 -0
  578. package/script/types/BluetoothComputerMinor.d.ts +7 -0
  579. package/script/types/BluetoothComputerMinor.d.ts.map +1 -0
  580. package/script/types/BluetoothComputerMinor.js +3 -0
  581. package/script/types/BluetoothDevice.d.ts +21 -0
  582. package/script/types/BluetoothDevice.d.ts.map +1 -0
  583. package/script/types/BluetoothDevice.js +2 -0
  584. package/script/types/BluetoothDevicePairShowPinRequest.d.ts +5 -0
  585. package/script/types/BluetoothDevicePairShowPinRequest.d.ts.map +1 -0
  586. package/script/types/BluetoothDevicePairShowPinRequest.js +3 -0
  587. package/script/types/BluetoothHealthMinor.d.ts +7 -0
  588. package/script/types/BluetoothHealthMinor.d.ts.map +1 -0
  589. package/script/types/BluetoothHealthMinor.js +3 -0
  590. package/script/types/BluetoothImagingMinor.d.ts +5 -0
  591. package/script/types/BluetoothImagingMinor.d.ts.map +1 -0
  592. package/script/types/BluetoothImagingMinor.js +3 -0
  593. package/script/types/BluetoothImagingSubMinor.d.ts +7 -0
  594. package/script/types/BluetoothImagingSubMinor.d.ts.map +1 -0
  595. package/script/types/BluetoothImagingSubMinor.js +3 -0
  596. package/script/types/BluetoothMajorClass.d.ts +5 -0
  597. package/script/types/BluetoothMajorClass.d.ts.map +1 -0
  598. package/script/types/BluetoothMajorClass.js +3 -0
  599. package/script/types/BluetoothMajorServiceClass.d.ts +2 -0
  600. package/script/types/BluetoothMajorServiceClass.d.ts.map +1 -0
  601. package/script/types/BluetoothMajorServiceClass.js +3 -0
  602. package/script/types/BluetoothMinorClass.d.ts +40 -0
  603. package/script/types/BluetoothMinorClass.d.ts.map +1 -0
  604. package/script/types/BluetoothMinorClass.js +2 -0
  605. package/script/types/BluetoothNetworkMinor.d.ts +5 -0
  606. package/script/types/BluetoothNetworkMinor.d.ts.map +1 -0
  607. package/script/types/BluetoothNetworkMinor.js +3 -0
  608. package/script/types/BluetoothNetworkSubMinor.d.ts +7 -0
  609. package/script/types/BluetoothNetworkSubMinor.d.ts.map +1 -0
  610. package/script/types/BluetoothNetworkSubMinor.js +3 -0
  611. package/script/types/BluetoothPeripheralMinor.d.ts +5 -0
  612. package/script/types/BluetoothPeripheralMinor.d.ts.map +1 -0
  613. package/script/types/BluetoothPeripheralMinor.js +3 -0
  614. package/script/types/BluetoothPeripheralSubMinor.d.ts +7 -0
  615. package/script/types/BluetoothPeripheralSubMinor.d.ts.map +1 -0
  616. package/script/types/BluetoothPeripheralSubMinor.js +3 -0
  617. package/script/types/BluetoothPhoneMinor.d.ts +7 -0
  618. package/script/types/BluetoothPhoneMinor.d.ts.map +1 -0
  619. package/script/types/BluetoothPhoneMinor.js +3 -0
  620. package/script/types/BluetoothToolbarItem.d.ts +186 -0
  621. package/script/types/BluetoothToolbarItem.d.ts.map +1 -0
  622. package/script/types/BluetoothToolbarItem.js +2 -0
  623. package/script/types/BluetoothToyMinor.d.ts +7 -0
  624. package/script/types/BluetoothToyMinor.d.ts.map +1 -0
  625. package/script/types/BluetoothToyMinor.js +3 -0
  626. package/script/types/BluetoothWearableMinor.d.ts +7 -0
  627. package/script/types/BluetoothWearableMinor.d.ts.map +1 -0
  628. package/script/types/BluetoothWearableMinor.js +3 -0
  629. package/script/types/Color.d.ts +10 -0
  630. package/script/types/Color.d.ts.map +1 -0
  631. package/script/types/Color.js +3 -0
  632. package/script/types/FancyToolbarSettings.d.ts +13 -4
  633. package/script/types/FancyToolbarSettings.d.ts.map +1 -1
  634. package/script/types/FancyToolbarSide.d.ts +2 -0
  635. package/script/types/FancyToolbarSide.d.ts.map +1 -0
  636. package/script/types/FancyToolbarSide.js +3 -0
  637. package/script/types/Icon.d.ts +19 -0
  638. package/script/types/Icon.d.ts.map +1 -0
  639. package/script/types/Icon.js +3 -0
  640. package/script/types/IconPack.d.ts +15 -2
  641. package/script/types/IconPack.d.ts.map +1 -1
  642. package/script/types/KeyboardToolbarItem.d.ts +138 -0
  643. package/script/types/KeyboardToolbarItem.d.ts.map +1 -0
  644. package/script/types/KeyboardToolbarItem.js +2 -0
  645. package/script/types/PinnedWegItemData.d.ts +7 -2
  646. package/script/types/PinnedWegItemData.d.ts.map +1 -1
  647. package/script/types/PowerToolbarItem.d.ts +44 -0
  648. package/script/types/PowerToolbarItem.d.ts.map +1 -1
  649. package/script/types/RelaunchArguments.d.ts +2 -0
  650. package/script/types/RelaunchArguments.d.ts.map +1 -0
  651. package/script/types/RelaunchArguments.js +3 -0
  652. package/script/types/SeelenWegSettings.d.ts +4 -4
  653. package/script/types/SeelenWegSettings.d.ts.map +1 -1
  654. package/script/types/Toast.d.ts +10 -0
  655. package/script/types/Toast.d.ts.map +1 -0
  656. package/script/types/Toast.js +2 -0
  657. package/script/types/ToastAction.d.ts +25 -0
  658. package/script/types/ToastAction.d.ts.map +1 -0
  659. package/script/types/ToastAction.js +2 -0
  660. package/script/types/ToastActionActivationType.d.ts +2 -0
  661. package/script/types/ToastActionActivationType.d.ts.map +1 -0
  662. package/script/types/ToastActionActivationType.js +3 -0
  663. package/script/types/ToastActionAfterActivationBehavior.d.ts +2 -0
  664. package/script/types/ToastActionAfterActivationBehavior.d.ts.map +1 -0
  665. package/script/types/ToastActionAfterActivationBehavior.js +3 -0
  666. package/script/types/ToastActionButtonStyle.d.ts +2 -0
  667. package/script/types/ToastActionButtonStyle.d.ts.map +1 -0
  668. package/script/types/ToastActionButtonStyle.js +3 -0
  669. package/script/types/ToastActionPlacement.d.ts +2 -0
  670. package/script/types/ToastActionPlacement.d.ts.map +1 -0
  671. package/script/types/ToastActionPlacement.js +3 -0
  672. package/script/types/ToastActions.d.ts +5 -0
  673. package/script/types/ToastActions.d.ts.map +1 -0
  674. package/script/types/ToastActions.js +2 -0
  675. package/script/types/ToastActionsEntry.d.ts +8 -0
  676. package/script/types/ToastActionsEntry.d.ts.map +1 -0
  677. package/script/types/ToastActionsEntry.js +2 -0
  678. package/script/types/ToastBindingEntry.d.ts +14 -0
  679. package/script/types/ToastBindingEntry.d.ts.map +1 -0
  680. package/script/types/ToastBindingEntry.js +2 -0
  681. package/script/types/ToastGroup.d.ts +5 -0
  682. package/script/types/ToastGroup.d.ts.map +1 -0
  683. package/script/types/ToastGroup.js +2 -0
  684. package/script/types/ToastHeader.d.ts +8 -0
  685. package/script/types/ToastHeader.d.ts.map +1 -0
  686. package/script/types/ToastHeader.js +2 -0
  687. package/script/types/ToastImage.d.ts +11 -0
  688. package/script/types/ToastImage.d.ts.map +1 -0
  689. package/script/types/ToastImage.js +2 -0
  690. package/script/types/ToastImageCropType.d.ts +2 -0
  691. package/script/types/ToastImageCropType.d.ts.map +1 -0
  692. package/script/types/ToastImageCropType.js +3 -0
  693. package/script/types/ToastImagePlacement.d.ts +2 -0
  694. package/script/types/ToastImagePlacement.d.ts.map +1 -0
  695. package/script/types/ToastImagePlacement.js +3 -0
  696. package/script/types/ToastInput.d.ts +10 -0
  697. package/script/types/ToastInput.d.ts.map +1 -0
  698. package/script/types/ToastInput.js +2 -0
  699. package/script/types/ToastInputSelection.d.ts +5 -0
  700. package/script/types/ToastInputSelection.d.ts.map +1 -0
  701. package/script/types/ToastInputSelection.js +3 -0
  702. package/script/types/ToastInputType.d.ts +2 -0
  703. package/script/types/ToastInputType.d.ts.map +1 -0
  704. package/script/types/ToastInputType.js +3 -0
  705. package/script/types/ToastProgress.d.ts +7 -0
  706. package/script/types/ToastProgress.d.ts.map +1 -0
  707. package/script/types/ToastProgress.js +3 -0
  708. package/script/types/ToastSubGroup.d.ts +5 -0
  709. package/script/types/ToastSubGroup.d.ts.map +1 -0
  710. package/script/types/ToastSubGroup.js +2 -0
  711. package/script/types/ToastSubGroupEntry.d.ts +8 -0
  712. package/script/types/ToastSubGroupEntry.d.ts.map +1 -0
  713. package/script/types/ToastSubGroupEntry.js +2 -0
  714. package/script/types/ToastTemplateType.d.ts +2 -0
  715. package/script/types/ToastTemplateType.d.ts.map +1 -0
  716. package/script/types/ToastTemplateType.js +3 -0
  717. package/script/types/ToastText.d.ts +5 -0
  718. package/script/types/ToastText.d.ts.map +1 -0
  719. package/script/types/ToastText.js +3 -0
  720. package/script/types/ToastVisual.d.ts +5 -0
  721. package/script/types/ToastVisual.d.ts.map +1 -0
  722. package/script/types/ToastVisual.js +2 -0
  723. package/script/types/ToolbarItem.d.ts +6 -0
  724. package/script/types/ToolbarItem.d.ts.map +1 -1
  725. package/script/types/UIColors.d.ts +16 -0
  726. package/script/types/UIColors.d.ts.map +1 -0
  727. package/script/types/UIColors.js +3 -0
  728. package/script/types/mod.d.ts +185 -81
  729. package/script/types/mod.d.ts.map +1 -1
  730. package/script/types/mod.js +185 -81
  731. package/script/utils/mod.d.ts +0 -2
  732. package/script/utils/mod.d.ts.map +1 -1
  733. package/script/utils/mod.js +0 -55
  734. package/esm/deps/jsr.io/@std/encoding/1.0.7/_validate_binary_like.d.ts +0 -2
  735. package/esm/deps/jsr.io/@std/encoding/1.0.7/_validate_binary_like.d.ts.map +0 -1
  736. package/esm/deps/jsr.io/@std/encoding/1.0.7/_validate_binary_like.js +0 -26
  737. package/esm/deps/jsr.io/@std/encoding/1.0.7/base64.d.ts +0 -40
  738. package/esm/deps/jsr.io/@std/encoding/1.0.7/base64.d.ts.map +0 -1
  739. package/esm/deps/jsr.io/@std/encoding/1.0.7/base64.js +0 -163
  740. package/esm/deps/jsr.io/@std/encoding/1.0.7/base64url.d.ts.map +0 -1
  741. package/esm/deps/jsr.io/@std/encoding/1.0.7/base64url.js +0 -81
  742. package/esm/utils/layered_hitbox.d.ts +0 -2
  743. package/esm/utils/layered_hitbox.d.ts.map +0 -1
  744. package/esm/utils/layered_hitbox.js +0 -55
  745. package/script/deps/jsr.io/@std/encoding/1.0.7/_validate_binary_like.d.ts +0 -2
  746. package/script/deps/jsr.io/@std/encoding/1.0.7/_validate_binary_like.d.ts.map +0 -1
  747. package/script/deps/jsr.io/@std/encoding/1.0.7/_validate_binary_like.js +0 -29
  748. package/script/deps/jsr.io/@std/encoding/1.0.7/base64.d.ts +0 -40
  749. package/script/deps/jsr.io/@std/encoding/1.0.7/base64.d.ts.map +0 -1
  750. package/script/deps/jsr.io/@std/encoding/1.0.7/base64.js +0 -167
  751. package/script/deps/jsr.io/@std/encoding/1.0.7/base64url.d.ts.map +0 -1
  752. package/script/deps/jsr.io/@std/encoding/1.0.7/base64url.js +0 -108
  753. package/script/utils/layered_hitbox.d.ts +0 -2
  754. package/script/utils/layered_hitbox.d.ts.map +0 -1
  755. package/script/utils/layered_hitbox.js +0 -58
  756. /package/esm/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.8}/_types.d.ts +0 -0
  757. /package/esm/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.8}/_types.js +0 -0
  758. /package/esm/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.8}/base64url.d.ts +0 -0
  759. /package/script/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.8}/_types.d.ts +0 -0
  760. /package/script/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.8}/_types.js +0 -0
  761. /package/script/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.8}/base64url.d.ts +0 -0
@@ -13,10 +13,13 @@ export declare enum SeelenCommand {
13
13
  GetIcon = "get_icon",
14
14
  SimulateFullscreen = "simulate_fullscreen",
15
15
  CheckForUpdates = "check_for_updates",
16
+ ShowDesktop = "show_desktop",
16
17
  InstallLastAvailableUpdate = "install_last_available_update",
18
+ SystemGetForegroundWindowColor = "get_foreground_window_color",
17
19
  SystemGetMonitors = "get_connected_monitors",
18
20
  SystemGetColors = "get_system_colors",
19
21
  SystemGetLanguages = "get_system_languages",
22
+ SystemSetKeyboardLayout = "set_system_keyboard_layout",
20
23
  SetAutoStart = "set_auto_start",
21
24
  GetAutoStartStatus = "get_auto_start_status",
22
25
  StateGetThemes = "state_get_themes",
@@ -39,6 +42,16 @@ export declare enum SeelenCommand {
39
42
  GetUser = "get_user",
40
43
  GetUserFolderContent = "get_user_folder_content",
41
44
  SetUserFolderLimit = "set_user_folder_limit",
45
+ GetConnectedBluetoothDevices = "get_connected_bluetooth_devices",
46
+ GetBluetoothRadioState = "get_bluetooth_radio_state",
47
+ SetBluetoothRadioState = "set_bluetooth_radio_state",
48
+ StartBluetoothScanning = "start_bluetooth_scanning",
49
+ StopBluetoothScanning = "stop_bluetooth_scanning",
50
+ PairBluetoothDevice = "pair_bluetooth_device",
51
+ ForgetBluetoothDevice = "forget_bluetooth_device",
52
+ ConfirmBluetoothDevicePair = "confirm_bluetooth_device_pair",
53
+ GetMediaDevices = "get_media_devices",
54
+ GetMediaSessions = "get_media_sessions",
42
55
  MediaPrev = "media_prev",
43
56
  MediaTogglePlayPause = "media_toggle_play_pause",
44
57
  MediaNext = "media_next",
@@ -47,8 +60,12 @@ export declare enum SeelenCommand {
47
60
  MediaSetDefaultDevice = "media_set_default_device",
48
61
  GetMainMonitorBrightness = "get_main_monitor_brightness",
49
62
  SetMainMonitorBrightness = "set_main_monitor_brightness",
63
+ GetPowerStatus = "get_power_status",
64
+ GetPowerMode = "get_power_mode",
65
+ GetBatteries = "get_batteries",
50
66
  LogOut = "log_out",
51
67
  Suspend = "suspend",
68
+ Hibernate = "hibernate",
52
69
  Restart = "restart",
53
70
  Shutdown = "shutdown",
54
71
  Lock = "lock",
@@ -61,7 +78,7 @@ export declare enum SeelenCommand {
61
78
  SetWindowPosition = "set_window_position",
62
79
  RequestFocus = "request_focus",
63
80
  LauncherGetApps = "launcher_get_apps",
64
- TempGetByEventTrayInfo = "temp_get_by_event_tray_info",
81
+ GetTrayIcons = "get_tray_icons",
65
82
  OnClickTrayIcon = "on_click_tray_icon",
66
83
  OnContextMenuTrayIcon = "on_context_menu_tray_icon",
67
84
  WlanGetProfiles = "wlan_get_profiles",
@@ -69,6 +86,7 @@ export declare enum SeelenCommand {
69
86
  WlanStopScanning = "wlan_stop_scanning",
70
87
  WlanConnect = "wlan_connect",
71
88
  WlanDisconnect = "wlan_disconnect",
89
+ GetNotifications = "get_notifications",
72
90
  NotificationsClose = "notifications_close",
73
91
  NotificationsCloseAll = "notifications_close_all"
74
92
  }
@@ -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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kBAAkB,0BAA0B;IAC5C,4BAA4B,oCAAoC;IAChE,sBAAsB,8BAA8B;IACpD,sBAAsB,8BAA8B;IACpD,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,oBAAoB,6BAA6B;IACjD,WAAW,kBAAkB;IAC7B,UAAU,iBAAiB;IAC3B,oBAAoB,4BAA4B;IAChD,wBAAwB,gCAAgC;IACxD,UAAU,iBAAiB;IAC3B,iBAAiB,wBAAwB;IACzC,YAAY,kBAAkB;IAC9B,eAAe,sBAAsB;IACrC,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"}
@@ -18,10 +18,13 @@ var SeelenCommand;
18
18
  SeelenCommand["GetIcon"] = "get_icon";
19
19
  SeelenCommand["SimulateFullscreen"] = "simulate_fullscreen";
20
20
  SeelenCommand["CheckForUpdates"] = "check_for_updates";
21
+ SeelenCommand["ShowDesktop"] = "show_desktop";
21
22
  SeelenCommand["InstallLastAvailableUpdate"] = "install_last_available_update";
23
+ SeelenCommand["SystemGetForegroundWindowColor"] = "get_foreground_window_color";
22
24
  SeelenCommand["SystemGetMonitors"] = "get_connected_monitors";
23
25
  SeelenCommand["SystemGetColors"] = "get_system_colors";
24
26
  SeelenCommand["SystemGetLanguages"] = "get_system_languages";
27
+ SeelenCommand["SystemSetKeyboardLayout"] = "set_system_keyboard_layout";
25
28
  SeelenCommand["SetAutoStart"] = "set_auto_start";
26
29
  SeelenCommand["GetAutoStartStatus"] = "get_auto_start_status";
27
30
  SeelenCommand["StateGetThemes"] = "state_get_themes";
@@ -44,6 +47,16 @@ var SeelenCommand;
44
47
  SeelenCommand["GetUser"] = "get_user";
45
48
  SeelenCommand["GetUserFolderContent"] = "get_user_folder_content";
46
49
  SeelenCommand["SetUserFolderLimit"] = "set_user_folder_limit";
50
+ SeelenCommand["GetConnectedBluetoothDevices"] = "get_connected_bluetooth_devices";
51
+ SeelenCommand["GetBluetoothRadioState"] = "get_bluetooth_radio_state";
52
+ SeelenCommand["SetBluetoothRadioState"] = "set_bluetooth_radio_state";
53
+ SeelenCommand["StartBluetoothScanning"] = "start_bluetooth_scanning";
54
+ SeelenCommand["StopBluetoothScanning"] = "stop_bluetooth_scanning";
55
+ SeelenCommand["PairBluetoothDevice"] = "pair_bluetooth_device";
56
+ SeelenCommand["ForgetBluetoothDevice"] = "forget_bluetooth_device";
57
+ SeelenCommand["ConfirmBluetoothDevicePair"] = "confirm_bluetooth_device_pair";
58
+ SeelenCommand["GetMediaDevices"] = "get_media_devices";
59
+ SeelenCommand["GetMediaSessions"] = "get_media_sessions";
47
60
  SeelenCommand["MediaPrev"] = "media_prev";
48
61
  SeelenCommand["MediaTogglePlayPause"] = "media_toggle_play_pause";
49
62
  SeelenCommand["MediaNext"] = "media_next";
@@ -52,8 +65,12 @@ var SeelenCommand;
52
65
  SeelenCommand["MediaSetDefaultDevice"] = "media_set_default_device";
53
66
  SeelenCommand["GetMainMonitorBrightness"] = "get_main_monitor_brightness";
54
67
  SeelenCommand["SetMainMonitorBrightness"] = "set_main_monitor_brightness";
68
+ SeelenCommand["GetPowerStatus"] = "get_power_status";
69
+ SeelenCommand["GetPowerMode"] = "get_power_mode";
70
+ SeelenCommand["GetBatteries"] = "get_batteries";
55
71
  SeelenCommand["LogOut"] = "log_out";
56
72
  SeelenCommand["Suspend"] = "suspend";
73
+ SeelenCommand["Hibernate"] = "hibernate";
57
74
  SeelenCommand["Restart"] = "restart";
58
75
  SeelenCommand["Shutdown"] = "shutdown";
59
76
  SeelenCommand["Lock"] = "lock";
@@ -66,7 +83,7 @@ var SeelenCommand;
66
83
  SeelenCommand["SetWindowPosition"] = "set_window_position";
67
84
  SeelenCommand["RequestFocus"] = "request_focus";
68
85
  SeelenCommand["LauncherGetApps"] = "launcher_get_apps";
69
- SeelenCommand["TempGetByEventTrayInfo"] = "temp_get_by_event_tray_info";
86
+ SeelenCommand["GetTrayIcons"] = "get_tray_icons";
70
87
  SeelenCommand["OnClickTrayIcon"] = "on_click_tray_icon";
71
88
  SeelenCommand["OnContextMenuTrayIcon"] = "on_context_menu_tray_icon";
72
89
  SeelenCommand["WlanGetProfiles"] = "wlan_get_profiles";
@@ -74,6 +91,7 @@ var SeelenCommand;
74
91
  SeelenCommand["WlanStopScanning"] = "wlan_stop_scanning";
75
92
  SeelenCommand["WlanConnect"] = "wlan_connect";
76
93
  SeelenCommand["WlanDisconnect"] = "wlan_disconnect";
94
+ SeelenCommand["GetNotifications"] = "get_notifications";
77
95
  SeelenCommand["NotificationsClose"] = "notifications_close";
78
96
  SeelenCommand["NotificationsCloseAll"] = "notifications_close_all";
79
97
  })(SeelenCommand || (exports.SeelenCommand = SeelenCommand = {}));
@@ -8,6 +8,11 @@ export declare enum SeelenEvent {
8
8
  SystemLanguagesChanged = "system::languages-changed",
9
9
  UserChanged = "user-changed",
10
10
  UserFolderChanged = "user-folder-changed",
11
+ BluetoothRadioStateChanged = "bluetooth-radio-state-changed",
12
+ BluetoothDevicesChanged = "bluetooth-devices-changed",
13
+ BluetoothDiscoveredDevicesChanged = "bluetooth-discovered-devices-changed",
14
+ BluetoothPairShowPin = "bluetooth-pair-show-pin",
15
+ BluetoothPairRequestPin = "bluetooth-pair-request-pin",
11
16
  MediaSessions = "media-sessions",
12
17
  MediaInputs = "media-inputs",
13
18
  MediaOutputs = "media-outputs",
@@ -17,6 +22,7 @@ export declare enum SeelenEvent {
17
22
  NetworkWlanScanned = "wlan-scanned",
18
23
  Notifications = "notifications",
19
24
  PowerStatus = "power-status",
25
+ PowerPlan = "power-plan",
20
26
  BatteriesStatus = "batteries-status",
21
27
  ColorsChanged = "colors-changed",
22
28
  TrayInfo = "tray-info",
@@ -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,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,eAAe,qBAAqB;IACpC,aAAa,mBAAmB;IAChC,QAAQ,cAAc;IACtB,gBAAgB,kBAAkB;IAClC,YAAY,kBAAkB;IAC9B,kBAAkB,0BAA0B;IAC5C,gBAAgB,oBAAoB;IACpC,cAAc,kBAAkB;IAChC,aAAa,iBAAiB;IAC9B,oBAAoB,yBAAyB;IAC7C,OAAO,UAAU;IACjB,oBAAoB,yBAAyB;IAC7C,WAAW,eAAe;IAC1B,cAAc,kB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,oBAAoB,yBAAyB;IAC7C,WAAW,eAAe;IAC1B,cAAc,kBAAkB;IAChC,cAAc,kBAAkB;IAChC,eAAe,sBAAsB;IACrC,WAAW,kBAAkB;IAC7B,sBAAsB,8BAA8B;IACpD,iBAAiB,yBAAyB;IAC1C,QAAQ,cAAc;IACtB,oBAAoB,qBAAqB;IACzC,oBAAoB,cAAc;IAClC,wBAAwB,kBAAkB;IAC1C,kBAAkB,WAAW;IAC7B,yBAAyB,oBAAoB;IAC7C,mBAAmB,YAAY;IAC/B,qBAAqB,eAAe;IACpC,mBAAmB,oBAAoB;IACvC,mBAAmB,oBAAoB;IACvC,oBAAoB,qBAAqB;CAC1C"}
@@ -13,6 +13,11 @@ var SeelenEvent;
13
13
  SeelenEvent["SystemLanguagesChanged"] = "system::languages-changed";
14
14
  SeelenEvent["UserChanged"] = "user-changed";
15
15
  SeelenEvent["UserFolderChanged"] = "user-folder-changed";
16
+ SeelenEvent["BluetoothRadioStateChanged"] = "bluetooth-radio-state-changed";
17
+ SeelenEvent["BluetoothDevicesChanged"] = "bluetooth-devices-changed";
18
+ SeelenEvent["BluetoothDiscoveredDevicesChanged"] = "bluetooth-discovered-devices-changed";
19
+ SeelenEvent["BluetoothPairShowPin"] = "bluetooth-pair-show-pin";
20
+ SeelenEvent["BluetoothPairRequestPin"] = "bluetooth-pair-request-pin";
16
21
  SeelenEvent["MediaSessions"] = "media-sessions";
17
22
  SeelenEvent["MediaInputs"] = "media-inputs";
18
23
  SeelenEvent["MediaOutputs"] = "media-outputs";
@@ -22,6 +27,7 @@ var SeelenEvent;
22
27
  SeelenEvent["NetworkWlanScanned"] = "wlan-scanned";
23
28
  SeelenEvent["Notifications"] = "notifications";
24
29
  SeelenEvent["PowerStatus"] = "power-status";
30
+ SeelenEvent["PowerPlan"] = "power-plan";
25
31
  SeelenEvent["BatteriesStatus"] = "batteries-status";
26
32
  SeelenEvent["ColorsChanged"] = "colors-changed";
27
33
  SeelenEvent["TrayInfo"] = "tray-info";
@@ -1,4 +1,4 @@
1
- import type { IconPack } from '../types/mod.js';
1
+ import type { Icon as IIcon, IconPack as IIconPack } from '../types/mod.js';
2
2
  import { List } from '../utils/List.js';
3
3
  import { SeelenCommand, SeelenEvent } from '../handlers/mod.js';
4
4
  import type { UnlistenFn } from '@tauri-apps/api/event';
@@ -13,15 +13,15 @@ declare global {
13
13
  [SeelenCommand.StateDeleteCachedIcons]: null;
14
14
  }
15
15
  interface ReturnByCommand {
16
- [SeelenCommand.StateGetIconPacks]: IconPack[];
16
+ [SeelenCommand.StateGetIconPacks]: IIconPack[];
17
17
  [SeelenCommand.GetIcon]: string | null;
18
18
  [SeelenCommand.StateDeleteCachedIcons]: void;
19
19
  }
20
20
  interface PayloadByEvent {
21
- [SeelenEvent.StateIconPacksChanged]: IconPack[];
21
+ [SeelenEvent.StateIconPacksChanged]: IIconPack[];
22
22
  }
23
23
  }
24
- export declare class IconPackList extends List<IconPack> {
24
+ export declare class IconPackList extends List<IIconPack> {
25
25
  static readonly getAsync: () => Promise<InstanceType<typeof IconPackList>>;
26
26
  static readonly onChange: (cb: (instance: IconPackList) => void) => Promise<UnlistenFn>;
27
27
  }
@@ -35,6 +35,8 @@ export declare class IconPackManager {
35
35
  private callbacks;
36
36
  private unlistenerSettings;
37
37
  private unlistenerIcons;
38
+ private static resolveIcon;
39
+ private static resolveIconAsSrc;
38
40
  protected constructor(iconPackPath: string, _iconPacks: IconPackList, _actives: string[]);
39
41
  get iconPacks(): IconPackList;
40
42
  get actives(): string[];
@@ -104,7 +106,7 @@ export declare class IconPackManager {
104
106
  * umid: "Seelen.SeelenUI_p6yyn03m1894e!App"
105
107
  * });
106
108
  */
107
- getIconPath({ path, umid }: GetIconArgs): string | null;
109
+ getIconPath({ path, umid }: GetIconArgs): IIcon | null;
108
110
  /**
109
111
  * Returns the icon Url/Src for an app or file. If no icon is available, returns `null`.
110
112
  *
@@ -132,7 +134,27 @@ export declare class IconPackManager {
132
134
  * umid: "Seelen.SeelenUI_p6yyn03m1894e!App"
133
135
  * });
134
136
  */
135
- getIcon({ path, umid }: GetIconArgs): string | null;
137
+ getIcon({ path, umid }: GetIconArgs): IIcon | null;
138
+ /**
139
+ * Will return the special missing icon path from the highest priority icon pack.
140
+ * If no icon pack haves a missing icon, will return null.
141
+ */
142
+ getMissingIconPath(): IIcon | null;
143
+ /**
144
+ * Will return the special missing icon SRC from the highest priority icon pack.
145
+ * If no icon pack haves a missing icon, will return null.
146
+ */
147
+ getMissingIcon(): IIcon | null;
148
+ /**
149
+ * Will return the specifit icon path from the highest priority icon pack.
150
+ * If no icon pack haves the searched icon, will return null.
151
+ */
152
+ getSpecificIconPath(name: string): IIcon | null;
153
+ /**
154
+ * Will return the specifit icon SRC from the highest priority icon pack.
155
+ * If no icon pack haves the searched icon, will return null.
156
+ */
157
+ getSpecificIcon(name: string): IIcon | null;
136
158
  /**
137
159
  * Return the icon Path for an app or file, in case of no icon available will return `null`.\
138
160
  * This method doesn't take in care icon packs, just extracts the inherited icon into system's icon pack.
@@ -1 +1 @@
1
- {"version":3,"file":"icon_pack.d.ts","sourceRoot":"","sources":["../../src/state/icon_pack.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAExC,OAAO,EAAU,aAAa,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAIxE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAExD,MAAM,WAAW,WAAW;IAC1B,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,aAAa;QACrB,CAAC,aAAa,CAAC,iBAAiB,CAAC,EAAE,IAAI,CAAC;QACxC,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE,WAAW,CAAC;QAC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c,IAAI,KAAK,GAAG,IAAI;IAKrC;;;OAGG;IACI,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,KAAK,GAAG,IAAI;IAWtD;;;OAGG;IACI,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,KAAK,GAAG,IAAI;IAKlD;;;;;;;;;;;;OAYG;WACW,WAAW,CAAC,GAAG,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;IAInE;;;OAGG;WACW,gBAAgB,IAAI,OAAO,CAAC,IAAI,CAAC;CAGhD"}
@@ -22,6 +22,26 @@ class IconPackManager {
22
22
  callbacks = new Set();
23
23
  unlistenerSettings = null;
24
24
  unlistenerIcons = null;
25
+ static resolveIcon(parent, icon) {
26
+ if (typeof icon === 'string') {
27
+ return `${parent}\\${icon}`;
28
+ }
29
+ return {
30
+ light: `${parent}\\${icon.light}`,
31
+ dark: `${parent}\\${icon.dark}`,
32
+ mask: icon.mask ? `${parent}\\${icon.mask}` : null,
33
+ };
34
+ }
35
+ static resolveIconAsSrc(icon) {
36
+ if (typeof icon === 'string') {
37
+ return (0, core_1.convertFileSrc)(icon);
38
+ }
39
+ return {
40
+ light: (0, core_1.convertFileSrc)(icon.light),
41
+ dark: (0, core_1.convertFileSrc)(icon.dark),
42
+ mask: icon.mask ? (0, core_1.convertFileSrc)(icon.mask) : null,
43
+ };
44
+ }
25
45
  constructor(iconPackPath, _iconPacks, _actives) {
26
46
  this.iconPackPath = iconPackPath;
27
47
  this._iconPacks = _iconPacks;
@@ -137,9 +157,9 @@ class IconPackManager {
137
157
  // Search by UMID first (highest priority)
138
158
  if (umid) {
139
159
  for (const pack of orderedPacks) {
140
- const subPath = pack.apps[umid];
141
- if (subPath) {
142
- return `${this.iconPackPath}\\${pack.metadata.filename}\\${subPath}`;
160
+ const icon = pack.apps[umid];
161
+ if (icon) {
162
+ return IconPackManager.resolveIcon(`${this.iconPackPath}\\${pack.metadata.filename}`, icon);
143
163
  }
144
164
  }
145
165
  }
@@ -156,9 +176,9 @@ class IconPackManager {
156
176
  return null;
157
177
  }
158
178
  for (const pack of orderedPacks) {
159
- const subPath = pack.files[extension];
160
- if (subPath) {
161
- return `${this.iconPackPath}\\${pack.metadata.filename}\\${subPath}`;
179
+ const icon = pack.files[extension];
180
+ if (icon) {
181
+ return IconPackManager.resolveIcon(`${this.iconPackPath}\\${pack.metadata.filename}`, icon);
162
182
  }
163
183
  }
164
184
  return null;
@@ -169,9 +189,9 @@ class IconPackManager {
169
189
  return null;
170
190
  }
171
191
  for (const pack of orderedPacks) {
172
- const subPath = pack.apps[path] || pack.apps[filename];
173
- if (subPath) {
174
- return `${this.iconPackPath}\\${pack.metadata.filename}\\${subPath}`;
192
+ const icon = pack.apps[path] || pack.apps[filename];
193
+ if (icon) {
194
+ return IconPackManager.resolveIcon(`${this.iconPackPath}\\${pack.metadata.filename}`, icon);
175
195
  }
176
196
  }
177
197
  // If no icon is found in any icon pack, return null
@@ -206,7 +226,50 @@ class IconPackManager {
206
226
  */
207
227
  getIcon({ path, umid }) {
208
228
  const iconPath = this.getIconPath({ path, umid });
209
- return iconPath ? (0, core_1.convertFileSrc)(iconPath) : null;
229
+ return iconPath ? IconPackManager.resolveIconAsSrc(iconPath) : null;
230
+ }
231
+ /**
232
+ * Will return the special missing icon path from the highest priority icon pack.
233
+ * If no icon pack haves a missing icon, will return null.
234
+ */
235
+ getMissingIconPath() {
236
+ for (const active of this.actives.toReversed()) {
237
+ const pack = this.iconPacks.asArray().find((p) => p.metadata.filename === active);
238
+ if (pack && pack.missing) {
239
+ return IconPackManager.resolveIcon(`${this.iconPackPath}\\${pack.metadata.filename}`, pack.missing);
240
+ }
241
+ }
242
+ return null;
243
+ }
244
+ /**
245
+ * Will return the special missing icon SRC from the highest priority icon pack.
246
+ * If no icon pack haves a missing icon, will return null.
247
+ */
248
+ getMissingIcon() {
249
+ const iconPath = this.getMissingIconPath();
250
+ return iconPath ? IconPackManager.resolveIconAsSrc(iconPath) : null;
251
+ }
252
+ /**
253
+ * Will return the specifit icon path from the highest priority icon pack.
254
+ * If no icon pack haves the searched icon, will return null.
255
+ */
256
+ getSpecificIconPath(name) {
257
+ for (const active of this.actives.toReversed()) {
258
+ const pack = this.iconPacks.asArray().find((p) => p.metadata.filename === active);
259
+ const icon = pack?.specific[name];
260
+ if (icon) {
261
+ return IconPackManager.resolveIcon(`${this.iconPackPath}\\${pack.metadata.filename}`, icon);
262
+ }
263
+ }
264
+ return null;
265
+ }
266
+ /**
267
+ * Will return the specifit icon SRC from the highest priority icon pack.
268
+ * If no icon pack haves the searched icon, will return null.
269
+ */
270
+ getSpecificIcon(name) {
271
+ const iconPath = this.getSpecificIconPath(name);
272
+ return iconPath ? IconPackManager.resolveIconAsSrc(iconPath) : null;
210
273
  }
211
274
  /**
212
275
  * Return the icon Path for an app or file, in case of no icon available will return `null`.\
@@ -17,7 +17,9 @@ declare const ToolbarModuleType: {
17
17
  Generic: "generic";
18
18
  Date: "date";
19
19
  Power: "power";
20
+ Keyboard: "keyboard";
20
21
  Network: "network";
22
+ Bluetooth: "bluetooth";
21
23
  Media: "media";
22
24
  User: "user";
23
25
  Tray: "tray";
@@ -1 +1 @@
1
- {"version":3,"file":"placeholder.d.ts","sourceRoot":"","sources":["../../src/state/placeholder.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAe,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;AAE1F,OAAO,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAErE,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,aAAa;QACrB,CAAC,aAAa,CAAC,oBAAoB,CAAC,EAAE,IAAI,CAAC;KAC5C;IACD,UAAU,eAAe;QACvB,CAAC,aAAa,CAAC,oBAAoB,CAAC,EAAE,WAAW,CAAC;KACnD;IACD,UAAU,cAAc;QACtB,CAAC,WAAW,CAAC,wBAAwB,CAAC,EAAE,WAAW,CAAC;KACrD;CACF;AAMD,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;CAarB,CAAC;AAEH,QAAA,MAAM,wBAAwB;;;;CAI5B,CAAC;AAEH,OAAO,EAAE,iBAAiB,EAAE,wBAAwB,EAAE,CAAC"}
1
+ {"version":3,"file":"placeholder.d.ts","sourceRoot":"","sources":["../../src/state/placeholder.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAe,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;AAE1F,OAAO,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAErE,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,aAAa;QACrB,CAAC,aAAa,CAAC,oBAAoB,CAAC,EAAE,IAAI,CAAC;KAC5C;IACD,UAAU,eAAe;QACvB,CAAC,aAAa,CAAC,oBAAoB,CAAC,EAAE,WAAW,CAAC;KACnD;IACD,UAAU,cAAc;QACtB,CAAC,WAAW,CAAC,wBAAwB,CAAC,EAAE,WAAW,CAAC;KACrD;CACF;AAMD,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;CAerB,CAAC;AAEH,QAAA,MAAM,wBAAwB;;;;CAI5B,CAAC;AAEH,OAAO,EAAE,iBAAiB,EAAE,wBAAwB,EAAE,CAAC"}
@@ -10,7 +10,9 @@ const ToolbarModuleType = (0, enums_js_1.enumFromUnion)({
10
10
  Generic: 'generic',
11
11
  Date: 'date',
12
12
  Power: 'power',
13
+ Keyboard: 'keyboard',
13
14
  Network: 'network',
15
+ Bluetooth: 'bluetooth',
14
16
  Media: 'media',
15
17
  Tray: 'tray',
16
18
  User: 'user',
@@ -1,5 +1,5 @@
1
1
  import { SeelenCommand, SeelenEvent } from '../../handlers/mod.js';
2
- import type { FancyToolbarSettings, HideMode, SeelenLauncherMonitor, SeelenLauncherSettings, SeelenWallSettings, SeelenWegMode, SeelenWegSettings, SeelenWegSide, Settings as ISettings, UpdateChannel, VirtualDesktopStrategy, WidgetId, WindowManagerSettings } from '../../types/mod.js';
2
+ import type { FancyToolbarSettings, FancyToolbarSide, HideMode, SeelenLauncherMonitor, SeelenLauncherSettings, SeelenWallSettings, SeelenWegMode, SeelenWegSettings, SeelenWegSide, Settings as ISettings, UpdateChannel, VirtualDesktopStrategy, WidgetId, WindowManagerSettings } from '../../types/mod.js';
3
3
  declare global {
4
4
  interface ArgsByCommand {
5
5
  [SeelenCommand.StateGetSettings]: {
@@ -36,6 +36,10 @@ export declare class Settings {
36
36
  /** Will store the settings on disk */
37
37
  save(): Promise<void>;
38
38
  }
39
+ declare const FancyToolbarSide: {
40
+ Top: "Top";
41
+ Bottom: "Bottom";
42
+ };
39
43
  declare const VirtualDesktopStrategy: {
40
44
  Native: "Native";
41
45
  Seelen: "Seelen";
@@ -45,8 +49,8 @@ declare const SeelenWegMode: {
45
49
  MinContent: "MinContent";
46
50
  };
47
51
  declare const HideMode: {
48
- Never: "Never";
49
52
  Always: "Always";
53
+ Never: "Never";
50
54
  OnOverlap: "OnOverlap";
51
55
  };
52
56
  declare const SeelenWegSide: {
@@ -64,7 +68,7 @@ declare const UpdateChannel: {
64
68
  Beta: "Beta";
65
69
  Nightly: "Nightly";
66
70
  };
67
- export { HideMode, SeelenLauncherMonitor, SeelenWegMode, SeelenWegSide, UpdateChannel, VirtualDesktopStrategy };
71
+ export { FancyToolbarSide, HideMode, SeelenLauncherMonitor, SeelenWegMode, SeelenWegSide, UpdateChannel, VirtualDesktopStrategy, };
68
72
  export * from './settings_by_monitor.js';
69
73
  export * from './declaration.js';
70
74
  //# sourceMappingURL=mod.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../../src/state/settings/mod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEnE,OAAO,KAAK,EACV,oBAAoB,EACpB,QAAQ,EACR,qBAAqB,EACrB,sBAAsB,EACtB,kBAAkB,EAClB,aAAa,EACb,iBAAiB,EAC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B,EACrB,aAAa,EACb,aAAa,EACb,aAAa,EACb,sBAAsB,GACvB,CAAC;AAEF,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC"}
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.VirtualDesktopStrategy = exports.UpdateChannel = exports.SeelenWegSide = exports.SeelenWegMode = exports.SeelenLauncherMonitor = exports.HideMode = exports.Settings = void 0;
17
+ exports.VirtualDesktopStrategy = exports.UpdateChannel = exports.SeelenWegSide = exports.SeelenWegMode = exports.SeelenLauncherMonitor = exports.HideMode = exports.FancyToolbarSide = exports.Settings = void 0;
18
18
  const mod_js_1 = require("../../handlers/mod.js");
19
19
  const State_js_1 = require("../../utils/State.js");
20
20
  const enums_js_1 = require("../../utils/enums.js");
@@ -64,6 +64,11 @@ exports.Settings = Settings;
64
64
  // =================================================================================
65
65
  // From here some enums as helpers like @seelen-ui/types only contains types
66
66
  // =================================================================================
67
+ const FancyToolbarSide = (0, enums_js_1.enumFromUnion)({
68
+ Top: 'Top',
69
+ Bottom: 'Bottom',
70
+ });
71
+ exports.FancyToolbarSide = FancyToolbarSide;
67
72
  const VirtualDesktopStrategy = (0, enums_js_1.enumFromUnion)({
68
73
  Native: 'Native',
69
74
  Seelen: 'Seelen',
@@ -6,7 +6,7 @@ const mod_js_1 = require("../handlers/mod.js");
6
6
  const List_js_1 = require("../utils/List.js");
7
7
  const State_js_1 = require("../utils/State.js");
8
8
  const webviewWindow_1 = require("@tauri-apps/api/webviewWindow");
9
- const base64url_js_1 = require("../deps/jsr.io/@std/encoding/1.0.7/base64url.js");
9
+ const base64url_js_1 = require("../deps/jsr.io/@std/encoding/1.0.8/base64url.js");
10
10
  exports.SeelenWegWidgetId = '@seelen/weg';
11
11
  exports.SeelenToolbarWidgetId = '@seelen/fancy-toolbar';
12
12
  exports.SeelenWindowManagerWidgetId = '@seelen/window-manager';
@@ -0,0 +1,76 @@
1
+ import { SeelenCommand, SeelenEvent } from '../handlers/mod.js';
2
+ import { List } from '../utils/List.js';
3
+ import type { BluetoothDevice, BluetoothDevicePairShowPinRequest } from '../types/mod.js';
4
+ import type { UnlistenFn } from '@tauri-apps/api/event';
5
+ declare global {
6
+ interface ArgsByCommand {
7
+ [SeelenCommand.GetConnectedBluetoothDevices]: null;
8
+ [SeelenCommand.GetBluetoothRadioState]: null;
9
+ [SeelenCommand.SetBluetoothRadioState]: {
10
+ state: boolean;
11
+ };
12
+ [SeelenCommand.StartBluetoothScanning]: null;
13
+ [SeelenCommand.StopBluetoothScanning]: null;
14
+ [SeelenCommand.PairBluetoothDevice]: {
15
+ address: bigint;
16
+ };
17
+ [SeelenCommand.ForgetBluetoothDevice]: {
18
+ id: string;
19
+ };
20
+ [SeelenCommand.ConfirmBluetoothDevicePair]: {
21
+ accept: boolean;
22
+ passphrase: string;
23
+ };
24
+ }
25
+ interface ReturnByCommand {
26
+ [SeelenCommand.GetConnectedBluetoothDevices]: BluetoothDevice[];
27
+ [SeelenCommand.GetBluetoothRadioState]: boolean;
28
+ [SeelenCommand.SetBluetoothRadioState]: void;
29
+ [SeelenCommand.StartBluetoothScanning]: void;
30
+ [SeelenCommand.StopBluetoothScanning]: void;
31
+ [SeelenCommand.PairBluetoothDevice]: void;
32
+ [SeelenCommand.ForgetBluetoothDevice]: void;
33
+ [SeelenCommand.ConfirmBluetoothDevicePair]: void;
34
+ }
35
+ interface PayloadByEvent {
36
+ [SeelenEvent.BluetoothRadioStateChanged]: boolean;
37
+ [SeelenEvent.BluetoothDevicesChanged]: BluetoothDevice[];
38
+ [SeelenEvent.BluetoothDiscoveredDevicesChanged]: BluetoothDevice[];
39
+ [SeelenEvent.BluetoothPairShowPin]: BluetoothDevicePairShowPinRequest;
40
+ [SeelenEvent.BluetoothPairRequestPin]: void;
41
+ }
42
+ }
43
+ export declare class BluetoothRadio {
44
+ state: boolean;
45
+ constructor(state: boolean);
46
+ static readonly getAsync: () => Promise<InstanceType<typeof BluetoothRadio>>;
47
+ static readonly onChange: (cb: (instance: BluetoothRadio) => void) => Promise<UnlistenFn>;
48
+ static setState(state: boolean): Promise<void>;
49
+ }
50
+ export declare class BluetoothDevices extends List<BluetoothDevice> {
51
+ static readonly getAsync: () => Promise<InstanceType<typeof BluetoothDevices>>;
52
+ static readonly onChange: (cb: (instance: BluetoothDevices) => void) => Promise<UnlistenFn>;
53
+ static readonly onDiscoveredDevicesChange: (cb: (instance: BluetoothDevices) => void) => Promise<UnlistenFn>;
54
+ static discover(): Promise<void>;
55
+ static stopDiscovery(): Promise<void>;
56
+ static pairDevice(address: bigint): Promise<void>;
57
+ static forgetDevice(id: string): Promise<void>;
58
+ static confirmPair(accept: boolean, passphrase: string): Promise<void>;
59
+ static onPairRequest(cb: (param: BluetoothDevicePairShowPinRequest | void) => void): Promise<UnlistenFn>;
60
+ static default(): BluetoothDevices;
61
+ }
62
+ declare const BluetoothMajor: {
63
+ Uncategorized: "Uncategorized";
64
+ Phone: "Phone";
65
+ Computer: "Computer";
66
+ Wearable: "Wearable";
67
+ Miscellaneous: "Miscellaneous";
68
+ NetworkAccessPoint: "NetworkAccessPoint";
69
+ AudioVideo: "AudioVideo";
70
+ Peripheral: "Peripheral";
71
+ Imaging: "Imaging";
72
+ Toy: "Toy";
73
+ Health: "Health";
74
+ };
75
+ export { BluetoothMajor };
76
+ //# sourceMappingURL=bluetooth.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bluetooth.d.ts","sourceRoot":"","sources":["../../src/system_state/bluetooth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,aAAa,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACxE,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAExC,OAAO,KAAK,EAAE,eAAe,EAAE,iCAAiC,EAAuB,M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A,MAAM,cAAc;;;;;;;;;;;;CAYlB,CAAC;AAEH,OAAO,EAAE,cAAc,EAAE,CAAC"}
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BluetoothMajor = exports.BluetoothDevices = exports.BluetoothRadio = void 0;
4
+ const mod_js_1 = require("../handlers/mod.js");
5
+ const List_js_1 = require("../utils/List.js");
6
+ const enums_js_1 = require("../utils/enums.js");
7
+ const invokers_js_1 = require("../handlers/invokers.js");
8
+ const State_js_1 = require("../utils/State.js");
9
+ class BluetoothRadio {
10
+ state;
11
+ constructor(state) {
12
+ this.state = state;
13
+ }
14
+ static getAsync = (0, State_js_1.createInstanceInvoker)(this, mod_js_1.SeelenCommand.GetBluetoothRadioState);
15
+ static onChange = (0, State_js_1.createInstanceOnEvent)(this, mod_js_1.SeelenEvent.BluetoothRadioStateChanged);
16
+ static async setState(state) {
17
+ return await (0, mod_js_1.invoke)(mod_js_1.SeelenCommand.SetBluetoothRadioState, { state });
18
+ }
19
+ }
20
+ exports.BluetoothRadio = BluetoothRadio;
21
+ class BluetoothDevices extends List_js_1.List {
22
+ static getAsync = (0, State_js_1.createInstanceInvoker)(this, mod_js_1.SeelenCommand.GetConnectedBluetoothDevices);
23
+ static onChange = (0, State_js_1.createInstanceOnEvent)(this, mod_js_1.SeelenEvent.BluetoothDevicesChanged);
24
+ static onDiscoveredDevicesChange = (0, State_js_1.createInstanceOnEvent)(this, mod_js_1.SeelenEvent.BluetoothDiscoveredDevicesChanged);
25
+ static async discover() {
26
+ return await (0, mod_js_1.invoke)(mod_js_1.SeelenCommand.StartBluetoothScanning);
27
+ }
28
+ static async stopDiscovery() {
29
+ return await (0, mod_js_1.invoke)(mod_js_1.SeelenCommand.StopBluetoothScanning);
30
+ }
31
+ static async pairDevice(address) {
32
+ return await (0, mod_js_1.invoke)(mod_js_1.SeelenCommand.PairBluetoothDevice, { address });
33
+ }
34
+ static async forgetDevice(id) {
35
+ return await (0, mod_js_1.invoke)(mod_js_1.SeelenCommand.ForgetBluetoothDevice, { id });
36
+ }
37
+ static async confirmPair(accept, passphrase) {
38
+ return await (0, mod_js_1.invoke)(mod_js_1.SeelenCommand.ConfirmBluetoothDevicePair, { accept, passphrase });
39
+ }
40
+ static async onPairRequest(cb) {
41
+ //TODO(Eythaan): from here the process does not continues
42
+ const unlistenShowPin = await (0, invokers_js_1.subscribe)(mod_js_1.SeelenEvent.BluetoothPairShowPin, (param) => cb(param.payload));
43
+ const unlistenRequestPin = await (0, invokers_js_1.subscribe)(mod_js_1.SeelenEvent.BluetoothPairRequestPin, (param) => cb(param.payload));
44
+ return () => {
45
+ unlistenRequestPin();
46
+ unlistenShowPin();
47
+ };
48
+ }
49
+ static default() {
50
+ return new this([]);
51
+ }
52
+ }
53
+ exports.BluetoothDevices = BluetoothDevices;
54
+ const BluetoothMajor = (0, enums_js_1.enumFromUnion)({
55
+ Miscellaneous: 'Miscellaneous',
56
+ Computer: 'Computer',
57
+ Phone: 'Phone',
58
+ NetworkAccessPoint: 'NetworkAccessPoint',
59
+ AudioVideo: 'AudioVideo',
60
+ Peripheral: 'Peripheral',
61
+ Imaging: 'Imaging',
62
+ Wearable: 'Wearable',
63
+ Toy: 'Toy',
64
+ Health: 'Health',
65
+ Uncategorized: 'Uncategorized',
66
+ });
67
+ exports.BluetoothMajor = BluetoothMajor;