winui-svelte 0.0.4 → 0.0.5

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 (1293) hide show
  1. package/API.md +1151 -17
  2. package/README.md +115 -18
  3. package/dist/accessibility/announce.d.ts +22 -0
  4. package/dist/accessibility/announce.d.ts.map +1 -0
  5. package/dist/accessibility/announce.js +52 -0
  6. package/dist/accessibility/announce.js.map +1 -0
  7. package/dist/accessibility/audit/accessibility-rules.json +100 -0
  8. package/dist/accessibility/audit/audit-tree.d.ts +48 -0
  9. package/dist/accessibility/audit/audit-tree.d.ts.map +1 -0
  10. package/dist/accessibility/audit/audit-tree.js +125 -0
  11. package/dist/accessibility/audit/audit-tree.js.map +1 -0
  12. package/dist/accessibility/audit/contrast.d.ts +65 -0
  13. package/dist/accessibility/audit/contrast.d.ts.map +1 -0
  14. package/dist/accessibility/audit/contrast.js +120 -0
  15. package/dist/accessibility/audit/contrast.js.map +1 -0
  16. package/dist/accessibility/audit/index.d.ts +19 -0
  17. package/dist/accessibility/audit/index.d.ts.map +1 -0
  18. package/dist/accessibility/audit/index.js +22 -0
  19. package/dist/accessibility/audit/index.js.map +1 -0
  20. package/dist/accessibility/audit/rules.d.ts +87 -0
  21. package/dist/accessibility/audit/rules.d.ts.map +1 -0
  22. package/dist/accessibility/audit/rules.js +67 -0
  23. package/dist/accessibility/audit/rules.js.map +1 -0
  24. package/dist/accessibility/audit/visual-tree-host.d.ts +5 -0
  25. package/dist/accessibility/audit/visual-tree-host.d.ts.map +1 -0
  26. package/dist/accessibility/audit/visual-tree-host.js +139 -0
  27. package/dist/accessibility/audit/visual-tree-host.js.map +1 -0
  28. package/dist/accessibility/index.d.ts +6 -0
  29. package/dist/accessibility/index.d.ts.map +1 -0
  30. package/dist/accessibility/index.js +6 -0
  31. package/dist/accessibility/index.js.map +1 -0
  32. package/dist/accessibility/live-priority.d.ts +22 -0
  33. package/dist/accessibility/live-priority.d.ts.map +1 -0
  34. package/dist/accessibility/live-priority.js +27 -0
  35. package/dist/accessibility/live-priority.js.map +1 -0
  36. package/dist/accessibility/live-region.d.ts +16 -0
  37. package/dist/accessibility/live-region.d.ts.map +1 -0
  38. package/dist/accessibility/live-region.js +20 -0
  39. package/dist/accessibility/live-region.js.map +1 -0
  40. package/dist/accessibility/notification.d.ts +15 -0
  41. package/dist/accessibility/notification.d.ts.map +1 -0
  42. package/dist/accessibility/notification.js +28 -0
  43. package/dist/accessibility/notification.js.map +1 -0
  44. package/dist/app/activate.d.ts +44 -0
  45. package/dist/app/activate.d.ts.map +1 -0
  46. package/dist/app/activate.js +64 -0
  47. package/dist/app/activate.js.map +1 -0
  48. package/dist/app/activation/classify.d.ts +41 -0
  49. package/dist/app/activation/classify.d.ts.map +1 -0
  50. package/dist/app/activation/classify.js +108 -0
  51. package/dist/app/activation/classify.js.map +1 -0
  52. package/dist/app/activation/command.d.ts +41 -0
  53. package/dist/app/activation/command.d.ts.map +1 -0
  54. package/dist/app/activation/command.js +63 -0
  55. package/dist/app/activation/command.js.map +1 -0
  56. package/dist/app/activation/context.d.ts +23 -0
  57. package/dist/app/activation/context.d.ts.map +1 -0
  58. package/dist/app/activation/context.js +15 -0
  59. package/dist/app/activation/context.js.map +1 -0
  60. package/dist/app/activation/index.d.ts +11 -0
  61. package/dist/app/activation/index.d.ts.map +1 -0
  62. package/dist/app/activation/index.js +5 -0
  63. package/dist/app/activation/index.js.map +1 -0
  64. package/dist/app/activation/kinds.d.ts +48 -0
  65. package/dist/app/activation/kinds.d.ts.map +1 -0
  66. package/dist/app/activation/kinds.js +9 -0
  67. package/dist/app/activation/kinds.js.map +1 -0
  68. package/dist/app/activation/login.d.ts +55 -0
  69. package/dist/app/activation/login.d.ts.map +1 -0
  70. package/dist/app/activation/login.js +68 -0
  71. package/dist/app/activation/login.js.map +1 -0
  72. package/dist/app/activation/native.d.ts +16 -0
  73. package/dist/app/activation/native.d.ts.map +1 -0
  74. package/dist/app/activation/native.js +260 -0
  75. package/dist/app/activation/native.js.map +1 -0
  76. package/dist/app/activation/protocol-handlers.d.ts +29 -0
  77. package/dist/app/activation/protocol-handlers.d.ts.map +1 -0
  78. package/dist/app/activation/protocol-handlers.js +64 -0
  79. package/dist/app/activation/protocol-handlers.js.map +1 -0
  80. package/dist/app/activation/receive.d.ts +44 -0
  81. package/dist/app/activation/receive.d.ts.map +1 -0
  82. package/dist/app/activation/receive.js +60 -0
  83. package/dist/app/activation/receive.js.map +1 -0
  84. package/dist/app/activation/registration.d.ts +104 -0
  85. package/dist/app/activation/registration.d.ts.map +1 -0
  86. package/dist/app/activation/registration.js +240 -0
  87. package/dist/app/activation/registration.js.map +1 -0
  88. package/dist/app/activation/registry.d.ts +23 -0
  89. package/dist/app/activation/registry.d.ts.map +1 -0
  90. package/dist/app/activation/registry.js +2 -0
  91. package/dist/app/activation/registry.js.map +1 -0
  92. package/dist/app/activation/scheme.d.ts +36 -0
  93. package/dist/app/activation/scheme.d.ts.map +1 -0
  94. package/dist/app/activation/scheme.js +103 -0
  95. package/dist/app/activation/scheme.js.map +1 -0
  96. package/dist/app/hotkeys/errors.d.ts +22 -0
  97. package/dist/app/hotkeys/errors.d.ts.map +1 -0
  98. package/dist/app/hotkeys/errors.js +23 -0
  99. package/dist/app/hotkeys/errors.js.map +1 -0
  100. package/dist/app/hotkeys/index.d.ts +30 -0
  101. package/dist/app/hotkeys/index.d.ts.map +1 -0
  102. package/dist/app/hotkeys/index.js +59 -0
  103. package/dist/app/hotkeys/index.js.map +1 -0
  104. package/dist/app/hotkeys/keys.d.ts +43 -0
  105. package/dist/app/hotkeys/keys.d.ts.map +1 -0
  106. package/dist/app/hotkeys/keys.js +135 -0
  107. package/dist/app/hotkeys/keys.js.map +1 -0
  108. package/dist/app/hotkeys/native.d.ts +10 -0
  109. package/dist/app/hotkeys/native.d.ts.map +1 -0
  110. package/dist/app/hotkeys/native.js +35 -0
  111. package/dist/app/hotkeys/native.js.map +1 -0
  112. package/dist/app/hotkeys/registry.d.ts +67 -0
  113. package/dist/app/hotkeys/registry.d.ts.map +1 -0
  114. package/dist/app/hotkeys/registry.js +85 -0
  115. package/dist/app/hotkeys/registry.js.map +1 -0
  116. package/dist/app/index.d.ts +6 -0
  117. package/dist/app/index.d.ts.map +1 -1
  118. package/dist/app/index.js +3 -0
  119. package/dist/app/index.js.map +1 -1
  120. package/dist/app/launch-command.d.ts +46 -0
  121. package/dist/app/launch-command.d.ts.map +1 -0
  122. package/dist/app/launch-command.js +61 -0
  123. package/dist/app/launch-command.js.map +1 -0
  124. package/dist/app/native.d.ts +16 -0
  125. package/dist/app/native.d.ts.map +1 -0
  126. package/dist/app/native.js +48 -0
  127. package/dist/app/native.js.map +1 -0
  128. package/dist/app/notification-schedule.d.ts +16 -0
  129. package/dist/app/notification-schedule.d.ts.map +1 -0
  130. package/dist/app/notification-schedule.js +20 -0
  131. package/dist/app/notification-schedule.js.map +1 -0
  132. package/dist/app/notification-source.d.ts +13 -0
  133. package/dist/app/notification-source.d.ts.map +1 -1
  134. package/dist/app/notification-source.js +22 -7
  135. package/dist/app/notification-source.js.map +1 -1
  136. package/dist/app/notify.d.ts +37 -1
  137. package/dist/app/notify.d.ts.map +1 -1
  138. package/dist/app/notify.js +30 -10
  139. package/dist/app/notify.js.map +1 -1
  140. package/dist/app/relaunch.d.ts +46 -0
  141. package/dist/app/relaunch.d.ts.map +1 -0
  142. package/dist/app/relaunch.js +45 -0
  143. package/dist/app/relaunch.js.map +1 -0
  144. package/dist/app/restart-after-crash.d.ts +57 -0
  145. package/dist/app/restart-after-crash.d.ts.map +1 -0
  146. package/dist/app/restart-after-crash.js +81 -0
  147. package/dist/app/restart-after-crash.js.map +1 -0
  148. package/dist/app/schedule-bindings.d.ts +4 -0
  149. package/dist/app/schedule-bindings.d.ts.map +1 -0
  150. package/dist/app/schedule-bindings.js +4 -0
  151. package/dist/app/schedule-bindings.js.map +1 -0
  152. package/dist/app/windows-time.d.ts +10 -0
  153. package/dist/app/windows-time.d.ts.map +1 -0
  154. package/dist/app/windows-time.js +13 -0
  155. package/dist/app/windows-time.js.map +1 -0
  156. package/dist/bindings/.dynwinrt-managed +1 -1
  157. package/dist/bindings/microsoft/ui/input/CharacterReceivedEventArgs.d.ts +40 -0
  158. package/dist/bindings/microsoft/ui/input/CharacterReceivedEventArgs.js +89 -0
  159. package/dist/bindings/microsoft/ui/input/ContextMenuKeyEventArgs.d.ts +16 -0
  160. package/dist/bindings/microsoft/ui/input/ContextMenuKeyEventArgs.js +51 -0
  161. package/dist/bindings/microsoft/ui/input/IInputKeyboardSource2.d.ts +133 -0
  162. package/dist/bindings/microsoft/ui/input/IInputKeyboardSource2.js +494 -0
  163. package/dist/bindings/microsoft/ui/input/InputKeyboardSource.d.ts +102 -0
  164. package/dist/bindings/microsoft/ui/input/InputKeyboardSource.js +346 -0
  165. package/dist/bindings/microsoft/ui/input/KeyEventArgs.d.ts +46 -0
  166. package/dist/bindings/microsoft/ui/input/KeyEventArgs.js +100 -0
  167. package/dist/bindings/microsoft/ui/input/VirtualKeyStates.d.ts +19 -0
  168. package/dist/bindings/microsoft/ui/input/VirtualKeyStates.js +20 -0
  169. package/dist/bindings/microsoft/ui/xaml/automation/AutomationProperty.d.ts +10 -0
  170. package/dist/bindings/microsoft/ui/xaml/automation/AutomationProperty.js +39 -0
  171. package/dist/bindings/microsoft/ui/xaml/automation/AutomationTextEditChangeType.d.ts +23 -0
  172. package/dist/bindings/microsoft/ui/xaml/automation/AutomationTextEditChangeType.js +24 -0
  173. package/dist/bindings/microsoft/ui/xaml/automation/peers/AutomationEvents.d.ts +127 -0
  174. package/dist/bindings/microsoft/ui/xaml/automation/peers/AutomationEvents.js +128 -0
  175. package/dist/bindings/microsoft/ui/xaml/automation/peers/AutomationNavigationDirection.d.ts +27 -0
  176. package/dist/bindings/microsoft/ui/xaml/automation/peers/AutomationNavigationDirection.js +28 -0
  177. package/dist/bindings/microsoft/ui/xaml/automation/peers/AutomationNotificationKind.d.ts +27 -0
  178. package/dist/bindings/microsoft/ui/xaml/automation/peers/AutomationNotificationKind.js +28 -0
  179. package/dist/bindings/microsoft/ui/xaml/automation/peers/AutomationNotificationProcessing.d.ts +27 -0
  180. package/dist/bindings/microsoft/ui/xaml/automation/peers/AutomationNotificationProcessing.js +28 -0
  181. package/dist/bindings/microsoft/ui/xaml/automation/peers/AutomationOrientation.d.ts +19 -0
  182. package/dist/bindings/microsoft/ui/xaml/automation/peers/AutomationOrientation.js +20 -0
  183. package/dist/bindings/microsoft/ui/xaml/automation/peers/AutomationPeer.d.ts +373 -0
  184. package/dist/bindings/microsoft/ui/xaml/automation/peers/AutomationPeer.js +741 -0
  185. package/dist/bindings/microsoft/ui/xaml/automation/peers/AutomationPeerAnnotation.d.ts +57 -0
  186. package/dist/bindings/microsoft/ui/xaml/automation/peers/AutomationPeerAnnotation.js +216 -0
  187. package/dist/bindings/microsoft/ui/xaml/automation/peers/AutomationStructureChangeType.d.ts +31 -0
  188. package/dist/bindings/microsoft/ui/xaml/automation/peers/AutomationStructureChangeType.js +32 -0
  189. package/dist/bindings/microsoft/ui/xaml/automation/peers/FrameworkElementAutomationPeer.d.ts +142 -0
  190. package/dist/bindings/microsoft/ui/xaml/automation/peers/FrameworkElementAutomationPeer.js +531 -0
  191. package/dist/bindings/microsoft/ui/xaml/automation/peers/IAutomationPeer.d.ts +448 -0
  192. package/dist/bindings/microsoft/ui/xaml/automation/peers/IAutomationPeer.js +1073 -0
  193. package/dist/bindings/microsoft/ui/xaml/automation/peers/IAutomationPeerProtected.d.ts +32 -0
  194. package/dist/bindings/microsoft/ui/xaml/automation/peers/IAutomationPeerProtected.js +138 -0
  195. package/dist/bindings/microsoft/ui/xaml/automation/peers/PatternInterface.d.ts +143 -0
  196. package/dist/bindings/microsoft/ui/xaml/automation/peers/PatternInterface.js +144 -0
  197. package/dist/bindings/microsoft/ui/xaml/automation/provider/IRawElementProviderSimple.d.ts +25 -0
  198. package/dist/bindings/microsoft/ui/xaml/automation/provider/IRawElementProviderSimple.js +110 -0
  199. package/dist/bindings/microsoft/ui/xaml/input/FindNextElementOptions.d.ts +52 -0
  200. package/dist/bindings/microsoft/ui/xaml/input/FindNextElementOptions.js +133 -0
  201. package/dist/bindings/microsoft/ui/xaml/input/FocusManager.d.ts +159 -0
  202. package/dist/bindings/microsoft/ui/xaml/input/FocusManager.js +360 -0
  203. package/dist/bindings/microsoft/ui/xaml/input/FocusManagerGotFocusEventArgs.d.ts +21 -0
  204. package/dist/bindings/microsoft/ui/xaml/input/FocusManagerGotFocusEventArgs.js +58 -0
  205. package/dist/bindings/microsoft/ui/xaml/input/FocusManagerLostFocusEventArgs.d.ts +21 -0
  206. package/dist/bindings/microsoft/ui/xaml/input/FocusManagerLostFocusEventArgs.js +58 -0
  207. package/dist/bindings/microsoft/ui/xaml/input/FocusMovementResult.d.ts +15 -0
  208. package/dist/bindings/microsoft/ui/xaml/input/FocusMovementResult.js +47 -0
  209. package/dist/bindings/microsoft/ui/xaml/input/XYFocusNavigationStrategyOverride.d.ts +27 -0
  210. package/dist/bindings/microsoft/ui/xaml/input/XYFocusNavigationStrategyOverride.js +28 -0
  211. package/dist/bindings/microsoft/ui/xaml/media/animation/BasicConnectedAnimationConfiguration.d.ts +11 -0
  212. package/dist/bindings/microsoft/ui/xaml/media/animation/BasicConnectedAnimationConfiguration.js +62 -0
  213. package/dist/bindings/microsoft/ui/xaml/media/animation/DirectConnectedAnimationConfiguration.d.ts +11 -0
  214. package/dist/bindings/microsoft/ui/xaml/media/animation/DirectConnectedAnimationConfiguration.js +62 -0
  215. package/dist/bindings/microsoft/ui/xaml/media/animation/GravityConnectedAnimationConfiguration.d.ts +17 -0
  216. package/dist/bindings/microsoft/ui/xaml/media/animation/GravityConnectedAnimationConfiguration.js +74 -0
  217. package/dist/bindings/windows/application-model/AddResourcePackageOptions.d.ts +7 -0
  218. package/dist/bindings/windows/application-model/AddResourcePackageOptions.js +8 -0
  219. package/dist/bindings/windows/application-model/IPackageCatalog2.d.ts +50 -0
  220. package/dist/bindings/windows/application-model/IPackageCatalog2.js +211 -0
  221. package/dist/bindings/windows/application-model/IPackageCatalog3.d.ts +29 -0
  222. package/dist/bindings/windows/application-model/IPackageCatalog3.js +136 -0
  223. package/dist/bindings/windows/application-model/IPackageCatalog4.d.ts +60 -0
  224. package/dist/bindings/windows/application-model/IPackageCatalog4.js +199 -0
  225. package/dist/bindings/windows/application-model/PackageCatalog.d.ts +100 -0
  226. package/dist/bindings/windows/application-model/PackageCatalog.js +440 -0
  227. package/dist/bindings/windows/application-model/PackageCatalogAddOptionalPackageResult.d.ts +10 -0
  228. package/dist/bindings/windows/application-model/PackageCatalogAddOptionalPackageResult.js +47 -0
  229. package/dist/bindings/windows/application-model/PackageCatalogAddResourcePackageResult.d.ts +11 -0
  230. package/dist/bindings/windows/application-model/PackageCatalogAddResourcePackageResult.js +51 -0
  231. package/dist/bindings/windows/application-model/PackageCatalogRemoveOptionalPackagesResult.d.ts +10 -0
  232. package/dist/bindings/windows/application-model/PackageCatalogRemoveOptionalPackagesResult.js +50 -0
  233. package/dist/bindings/windows/application-model/PackageCatalogRemoveResourcePackagesResult.d.ts +10 -0
  234. package/dist/bindings/windows/application-model/PackageCatalogRemoveResourcePackagesResult.js +50 -0
  235. package/dist/bindings/windows/application-model/PackageContentGroupStagingEventArgs.d.ts +15 -0
  236. package/dist/bindings/windows/application-model/PackageContentGroupStagingEventArgs.js +67 -0
  237. package/dist/bindings/windows/application-model/PackageInstallingEventArgs.d.ts +13 -0
  238. package/dist/bindings/windows/application-model/PackageInstallingEventArgs.js +59 -0
  239. package/dist/bindings/windows/application-model/PackageStagingEventArgs.d.ts +13 -0
  240. package/dist/bindings/windows/application-model/PackageStagingEventArgs.js +59 -0
  241. package/dist/bindings/windows/application-model/PackageStatusChangedEventArgs.d.ts +9 -0
  242. package/dist/bindings/windows/application-model/PackageStatusChangedEventArgs.js +43 -0
  243. package/dist/bindings/windows/application-model/PackageUninstallingEventArgs.d.ts +13 -0
  244. package/dist/bindings/windows/application-model/PackageUninstallingEventArgs.js +59 -0
  245. package/dist/bindings/windows/application-model/PackageUpdatingEventArgs.d.ts +14 -0
  246. package/dist/bindings/windows/application-model/PackageUpdatingEventArgs.js +63 -0
  247. package/dist/bindings/windows/application-model/StartupTask.d.ts +15 -0
  248. package/dist/bindings/windows/application-model/StartupTask.js +115 -0
  249. package/dist/bindings/windows/application-model/StartupTaskState.d.ts +5 -0
  250. package/dist/bindings/windows/application-model/StartupTaskState.js +6 -0
  251. package/dist/bindings/windows/foundation/EventHandler_MicrosoftUIXamlInputFocusManagerGotFocusEventArgs_g9744aab498e22ee2.d.ts +7 -0
  252. package/dist/bindings/windows/foundation/EventHandler_MicrosoftUIXamlInputFocusManagerGotFocusEventArgs_g9744aab498e22ee2.js +7 -0
  253. package/dist/bindings/windows/foundation/EventHandler_MicrosoftUIXamlInputFocusManagerLostFocusEventArgs_g1708c8c6742d9f14.d.ts +7 -0
  254. package/dist/bindings/windows/foundation/EventHandler_MicrosoftUIXamlInputFocusManagerLostFocusEventArgs_g1708c8c6742d9f14.js +7 -0
  255. package/dist/bindings/windows/foundation/EventHandler_MicrosoftUIXamlInputGettingFocusEventArgs_gcf469412ccadc527.d.ts +7 -0
  256. package/dist/bindings/windows/foundation/EventHandler_MicrosoftUIXamlInputGettingFocusEventArgs_gcf469412ccadc527.js +7 -0
  257. package/dist/bindings/windows/foundation/EventHandler_MicrosoftUIXamlInputLosingFocusEventArgs_g01067b38dcf7cb15.d.ts +7 -0
  258. package/dist/bindings/windows/foundation/EventHandler_MicrosoftUIXamlInputLosingFocusEventArgs_g01067b38dcf7cb15.js +7 -0
  259. package/dist/bindings/windows/foundation/TypedEventHandler_MicrosoftUIInputInputKeyboardSource_MicrosoftUIInputCharacterReceivedEventArgs_g949756a8af790124.d.ts +8 -0
  260. package/dist/bindings/windows/foundation/TypedEventHandler_MicrosoftUIInputInputKeyboardSource_MicrosoftUIInputCharacterReceivedEventArgs_g949756a8af790124.js +7 -0
  261. package/dist/bindings/windows/foundation/TypedEventHandler_MicrosoftUIInputInputKeyboardSource_MicrosoftUIInputContextMenuKeyEventArgs_gfaa54200cb240b39.d.ts +8 -0
  262. package/dist/bindings/windows/foundation/TypedEventHandler_MicrosoftUIInputInputKeyboardSource_MicrosoftUIInputContextMenuKeyEventArgs_gfaa54200cb240b39.js +7 -0
  263. package/dist/bindings/windows/foundation/TypedEventHandler_MicrosoftUIInputInputKeyboardSource_MicrosoftUIInputKeyEventArgs_gead6188cb3dd043f.d.ts +8 -0
  264. package/dist/bindings/windows/foundation/TypedEventHandler_MicrosoftUIInputInputKeyboardSource_MicrosoftUIInputKeyEventArgs_gead6188cb3dd043f.js +7 -0
  265. package/dist/bindings/windows/foundation/TypedEventHandler_WindowsApplicationModelPackageCatalog_WindowsApplicationModelPackageContentGroupStag_g9de03bf71c8249f6.d.ts +8 -0
  266. package/dist/bindings/windows/foundation/TypedEventHandler_WindowsApplicationModelPackageCatalog_WindowsApplicationModelPackageContentGroupStag_g9de03bf71c8249f6.js +7 -0
  267. package/dist/bindings/windows/foundation/TypedEventHandler_WindowsApplicationModelPackageCatalog_WindowsApplicationModelPackageInstallingEventA_g5da5beb9a0e17bc6.d.ts +8 -0
  268. package/dist/bindings/windows/foundation/TypedEventHandler_WindowsApplicationModelPackageCatalog_WindowsApplicationModelPackageInstallingEventA_g5da5beb9a0e17bc6.js +7 -0
  269. package/dist/bindings/windows/foundation/TypedEventHandler_WindowsApplicationModelPackageCatalog_WindowsApplicationModelPackageStagingEventArgs_ga7c7c75d178b56a6.d.ts +8 -0
  270. package/dist/bindings/windows/foundation/TypedEventHandler_WindowsApplicationModelPackageCatalog_WindowsApplicationModelPackageStagingEventArgs_ga7c7c75d178b56a6.js +7 -0
  271. package/dist/bindings/windows/foundation/TypedEventHandler_WindowsApplicationModelPackageCatalog_WindowsApplicationModelPackageStatusChangedEve_ge8daadde37a07d11.d.ts +8 -0
  272. package/dist/bindings/windows/foundation/TypedEventHandler_WindowsApplicationModelPackageCatalog_WindowsApplicationModelPackageStatusChangedEve_ge8daadde37a07d11.js +7 -0
  273. package/dist/bindings/windows/foundation/TypedEventHandler_WindowsApplicationModelPackageCatalog_WindowsApplicationModelPackageUninstallingEven_gb8f6a82edaf89485.d.ts +8 -0
  274. package/dist/bindings/windows/foundation/TypedEventHandler_WindowsApplicationModelPackageCatalog_WindowsApplicationModelPackageUninstallingEven_gb8f6a82edaf89485.js +7 -0
  275. package/dist/bindings/windows/foundation/TypedEventHandler_WindowsApplicationModelPackageCatalog_WindowsApplicationModelPackageUpdatingEventArg_gb2c74bce54d9728d.d.ts +8 -0
  276. package/dist/bindings/windows/foundation/TypedEventHandler_WindowsApplicationModelPackageCatalog_WindowsApplicationModelPackageUpdatingEventArg_gb2c74bce54d9728d.js +7 -0
  277. package/dist/bindings/windows/foundation/TypedEventHandler_WindowsServicesStoreStoreContext_Object_ga48d68d009829e64.d.ts +7 -0
  278. package/dist/bindings/windows/foundation/TypedEventHandler_WindowsServicesStoreStoreContext_Object_ga48d68d009829e64.js +7 -0
  279. package/dist/bindings/windows/foundation/TypedEventHandler_WindowsServicesStoreStorePackageLicense_Object_gc978b769c354e904.d.ts +7 -0
  280. package/dist/bindings/windows/foundation/TypedEventHandler_WindowsServicesStoreStorePackageLicense_Object_gc978b769c354e904.js +7 -0
  281. package/dist/bindings/windows/foundation/TypedEventHandler_WindowsServicesStoreStoreQueueItem_Object_g088e531e702509cf.d.ts +7 -0
  282. package/dist/bindings/windows/foundation/TypedEventHandler_WindowsServicesStoreStoreQueueItem_Object_g088e531e702509cf.js +7 -0
  283. package/dist/bindings/windows/foundation/TypedEventHandler_WindowsServicesStoreStoreQueueItem_WindowsServicesStoreStoreQueueItemCompletedEventA_g34ce9111d212b7b3.d.ts +8 -0
  284. package/dist/bindings/windows/foundation/TypedEventHandler_WindowsServicesStoreStoreQueueItem_WindowsServicesStoreStoreQueueItemCompletedEventA_g34ce9111d212b7b3.js +7 -0
  285. package/dist/bindings/windows/foundation/TypedEventHandler_WindowsUINotificationsToastNotificationManagerForUser_Object_gf9f98c6574495e8c.d.ts +7 -0
  286. package/dist/bindings/windows/foundation/TypedEventHandler_WindowsUINotificationsToastNotificationManagerForUser_Object_gf9f98c6574495e8c.js +7 -0
  287. package/dist/bindings/windows/foundation/TypedEventHandler_WindowsUINotificationsToastNotifier_WindowsUINotificationsScheduledToastNotification_g001c9266a166b291.d.ts +8 -0
  288. package/dist/bindings/windows/foundation/TypedEventHandler_WindowsUINotificationsToastNotifier_WindowsUINotificationsScheduledToastNotification_g001c9266a166b291.js +7 -0
  289. package/dist/bindings/windows/foundation/collections/IIterable_WindowsApplicationModelPackage_g6cb7c58670977615.d.ts +23 -0
  290. package/dist/bindings/windows/foundation/collections/IIterable_WindowsApplicationModelPackage_g6cb7c58670977615.js +45 -0
  291. package/dist/bindings/windows/foundation/collections/IIterable_WindowsServicesStoreStorePackageUpdate_g2b3af8b1803050c9.d.ts +23 -0
  292. package/dist/bindings/windows/foundation/collections/IIterable_WindowsServicesStoreStorePackageUpdate_g2b3af8b1803050c9.js +45 -0
  293. package/dist/bindings/windows/foundation/collections/IIterable_WindowsServicesStoreStoreQueueItem_gefa6c894c870ec86.d.ts +23 -0
  294. package/dist/bindings/windows/foundation/collections/IIterable_WindowsServicesStoreStoreQueueItem_gefa6c894c870ec86.js +45 -0
  295. package/dist/bindings/windows/foundation/collections/IIterator_WindowsApplicationModelPackage_gfb85903b74efaccc.d.ts +31 -0
  296. package/dist/bindings/windows/foundation/collections/IIterator_WindowsApplicationModelPackage_gfb85903b74efaccc.js +67 -0
  297. package/dist/bindings/windows/foundation/collections/IIterator_WindowsServicesStoreStorePackageUpdate_gd49c43fc9590df8e.d.ts +31 -0
  298. package/dist/bindings/windows/foundation/collections/IIterator_WindowsServicesStoreStorePackageUpdate_gd49c43fc9590df8e.js +67 -0
  299. package/dist/bindings/windows/foundation/collections/IIterator_WindowsServicesStoreStoreQueueItem_gb618559796af22f1.d.ts +31 -0
  300. package/dist/bindings/windows/foundation/collections/IIterator_WindowsServicesStoreStoreQueueItem_gb618559796af22f1.js +67 -0
  301. package/dist/bindings/windows/foundation/collections/IMapView_String_WindowsServicesStoreStoreLicense_g162ecf9ec8342f7c.d.ts +36 -0
  302. package/dist/bindings/windows/foundation/collections/IMapView_String_WindowsServicesStoreStoreLicense_g162ecf9ec8342f7c.js +71 -0
  303. package/dist/bindings/windows/foundation/collections/IMapView_String_WindowsServicesStoreStoreProduct_g8ea2e65832c6f5a4.d.ts +36 -0
  304. package/dist/bindings/windows/foundation/collections/IMapView_String_WindowsServicesStoreStoreProduct_g8ea2e65832c6f5a4.js +71 -0
  305. package/dist/bindings/windows/foundation/collections/IMap_String_WindowsServicesStoreStoreLicense_gf681f328cc2e3874.d.ts +60 -0
  306. package/dist/bindings/windows/foundation/collections/IMap_String_WindowsServicesStoreStoreLicense_gf681f328cc2e3874.js +114 -0
  307. package/dist/bindings/windows/foundation/collections/IMap_String_WindowsServicesStoreStoreProduct_g4d742845f441491c.d.ts +60 -0
  308. package/dist/bindings/windows/foundation/collections/IMap_String_WindowsServicesStoreStoreProduct_g4d742845f441491c.js +114 -0
  309. package/dist/bindings/windows/foundation/collections/IVectorView_MicrosoftUIXamlAutomationPeersAutomationPeerAnnotation_g1291d190459cae2b.d.ts +40 -0
  310. package/dist/bindings/windows/foundation/collections/IVectorView_MicrosoftUIXamlAutomationPeersAutomationPeerAnnotation_g1291d190459cae2b.js +85 -0
  311. package/dist/bindings/windows/foundation/collections/IVectorView_MicrosoftUIXamlAutomationPeersAutomationPeer_gcf17e6c70dae9df8.d.ts +40 -0
  312. package/dist/bindings/windows/foundation/collections/IVectorView_MicrosoftUIXamlAutomationPeersAutomationPeer_gcf17e6c70dae9df8.js +85 -0
  313. package/dist/bindings/windows/foundation/collections/IVectorView_WindowsApplicationModelStartupTask_g213762a6fd9a9707.d.ts +40 -0
  314. package/dist/bindings/windows/foundation/collections/IVectorView_WindowsApplicationModelStartupTask_g213762a6fd9a9707.js +85 -0
  315. package/dist/bindings/windows/foundation/collections/IVectorView_WindowsServicesStoreStoreAvailability_geb0561a0f0dd0005.d.ts +40 -0
  316. package/dist/bindings/windows/foundation/collections/IVectorView_WindowsServicesStoreStoreAvailability_geb0561a0f0dd0005.js +85 -0
  317. package/dist/bindings/windows/foundation/collections/IVectorView_WindowsServicesStoreStoreImage_g3308691eac26400f.d.ts +40 -0
  318. package/dist/bindings/windows/foundation/collections/IVectorView_WindowsServicesStoreStoreImage_g3308691eac26400f.js +85 -0
  319. package/dist/bindings/windows/foundation/collections/IVectorView_WindowsServicesStoreStorePackageUpdateStatus_g48777acdbcb2a5c8.d.ts +54 -0
  320. package/dist/bindings/windows/foundation/collections/IVectorView_WindowsServicesStoreStorePackageUpdateStatus_g48777acdbcb2a5c8.js +109 -0
  321. package/dist/bindings/windows/foundation/collections/IVectorView_WindowsServicesStoreStorePackageUpdate_gc7d2f3857622cec3.d.ts +40 -0
  322. package/dist/bindings/windows/foundation/collections/IVectorView_WindowsServicesStoreStorePackageUpdate_gc7d2f3857622cec3.js +85 -0
  323. package/dist/bindings/windows/foundation/collections/IVectorView_WindowsServicesStoreStoreQueueItem_g866c0e5377ca52ec.d.ts +40 -0
  324. package/dist/bindings/windows/foundation/collections/IVectorView_WindowsServicesStoreStoreQueueItem_g866c0e5377ca52ec.js +85 -0
  325. package/dist/bindings/windows/foundation/collections/IVectorView_WindowsServicesStoreStoreSku_g915fbb9b0e903e7f.d.ts +40 -0
  326. package/dist/bindings/windows/foundation/collections/IVectorView_WindowsServicesStoreStoreSku_g915fbb9b0e903e7f.js +85 -0
  327. package/dist/bindings/windows/foundation/collections/IVectorView_WindowsServicesStoreStoreVideo_gcff017d5106c30d1.d.ts +40 -0
  328. package/dist/bindings/windows/foundation/collections/IVectorView_WindowsServicesStoreStoreVideo_gcff017d5106c30d1.js +85 -0
  329. package/dist/bindings/windows/foundation/collections/IVectorView_WindowsUINotificationsScheduledToastNotification_gafec5ba714dc8e71.d.ts +40 -0
  330. package/dist/bindings/windows/foundation/collections/IVectorView_WindowsUINotificationsScheduledToastNotification_gafec5ba714dc8e71.js +85 -0
  331. package/dist/bindings/windows/foundation/collections/IVectorView_WindowsUINotificationsToastCollection_g3093026941314e4f.d.ts +40 -0
  332. package/dist/bindings/windows/foundation/collections/IVectorView_WindowsUINotificationsToastCollection_g3093026941314e4f.js +85 -0
  333. package/dist/bindings/windows/foundation/collections/IVectorView_WindowsUINotificationsToastNotification_g8c913fdb725fef16.d.ts +40 -0
  334. package/dist/bindings/windows/foundation/collections/IVectorView_WindowsUINotificationsToastNotification_g8c913fdb725fef16.js +85 -0
  335. package/dist/bindings/windows/foundation/collections/IVector_MicrosoftUIXamlAutomationPeersAutomationPeerAnnotation_g0be2a565a8b48fdc.d.ts +62 -0
  336. package/dist/bindings/windows/foundation/collections/IVector_MicrosoftUIXamlAutomationPeersAutomationPeerAnnotation_g0be2a565a8b48fdc.js +135 -0
  337. package/dist/bindings/windows/foundation/collections/IVector_MicrosoftUIXamlAutomationPeersAutomationPeer_gfdcbe941c5dbe60f.d.ts +62 -0
  338. package/dist/bindings/windows/foundation/collections/IVector_MicrosoftUIXamlAutomationPeersAutomationPeer_gfdcbe941c5dbe60f.js +135 -0
  339. package/dist/bindings/windows/services/store/IStoreAppLicense2.d.ts +27 -0
  340. package/dist/bindings/windows/services/store/IStoreAppLicense2.js +116 -0
  341. package/dist/bindings/windows/services/store/IStoreContext2.d.ts +30 -0
  342. package/dist/bindings/windows/services/store/IStoreContext2.js +140 -0
  343. package/dist/bindings/windows/services/store/IStoreContext3.d.ts +107 -0
  344. package/dist/bindings/windows/services/store/IStoreContext3.js +519 -0
  345. package/dist/bindings/windows/services/store/IStoreContext4.d.ts +34 -0
  346. package/dist/bindings/windows/services/store/IStoreContext4.js +167 -0
  347. package/dist/bindings/windows/services/store/IStoreContext5.d.ts +36 -0
  348. package/dist/bindings/windows/services/store/IStoreContext5.js +187 -0
  349. package/dist/bindings/windows/services/store/IStorePackageUpdateResult2.d.ts +28 -0
  350. package/dist/bindings/windows/services/store/IStorePackageUpdateResult2.js +122 -0
  351. package/dist/bindings/windows/services/store/IStorePrice2.d.ts +33 -0
  352. package/dist/bindings/windows/services/store/IStorePrice2.js +140 -0
  353. package/dist/bindings/windows/services/store/IStoreQueueItem2.d.ts +33 -0
  354. package/dist/bindings/windows/services/store/IStoreQueueItem2.js +176 -0
  355. package/dist/bindings/windows/services/store/StoreAcquireLicenseResult.d.ts +10 -0
  356. package/dist/bindings/windows/services/store/StoreAcquireLicenseResult.js +47 -0
  357. package/dist/bindings/windows/services/store/StoreAppLicense.d.ts +38 -0
  358. package/dist/bindings/windows/services/store/StoreAppLicense.js +136 -0
  359. package/dist/bindings/windows/services/store/StoreAvailability.d.ts +26 -0
  360. package/dist/bindings/windows/services/store/StoreAvailability.js +134 -0
  361. package/dist/bindings/windows/services/store/StoreCanAcquireLicenseResult.d.ts +11 -0
  362. package/dist/bindings/windows/services/store/StoreCanAcquireLicenseResult.js +51 -0
  363. package/dist/bindings/windows/services/store/StoreCanLicenseStatus.d.ts +9 -0
  364. package/dist/bindings/windows/services/store/StoreCanLicenseStatus.js +10 -0
  365. package/dist/bindings/windows/services/store/StoreCollectionData.d.ts +33 -0
  366. package/dist/bindings/windows/services/store/StoreCollectionData.js +102 -0
  367. package/dist/bindings/windows/services/store/StoreConsumableResult.d.ts +12 -0
  368. package/dist/bindings/windows/services/store/StoreConsumableResult.js +55 -0
  369. package/dist/bindings/windows/services/store/StoreConsumableStatus.d.ts +8 -0
  370. package/dist/bindings/windows/services/store/StoreConsumableStatus.js +9 -0
  371. package/dist/bindings/windows/services/store/StoreContext.d.ts +121 -0
  372. package/dist/bindings/windows/services/store/StoreContext.js +975 -0
  373. package/dist/bindings/windows/services/store/StoreDurationUnit.d.ts +10 -0
  374. package/dist/bindings/windows/services/store/StoreDurationUnit.js +11 -0
  375. package/dist/bindings/windows/services/store/StoreImage.d.ts +13 -0
  376. package/dist/bindings/windows/services/store/StoreImage.js +59 -0
  377. package/dist/bindings/windows/services/store/StoreLicense.d.ts +21 -0
  378. package/dist/bindings/windows/services/store/StoreLicense.js +73 -0
  379. package/dist/bindings/windows/services/store/StorePackageInstallOptions.d.ts +13 -0
  380. package/dist/bindings/windows/services/store/StorePackageInstallOptions.js +61 -0
  381. package/dist/bindings/windows/services/store/StorePackageLicense.d.ts +31 -0
  382. package/dist/bindings/windows/services/store/StorePackageLicense.js +117 -0
  383. package/dist/bindings/windows/services/store/StorePackageUpdate.d.ts +10 -0
  384. package/dist/bindings/windows/services/store/StorePackageUpdate.js +47 -0
  385. package/dist/bindings/windows/services/store/StorePackageUpdateResult.d.ts +29 -0
  386. package/dist/bindings/windows/services/store/StorePackageUpdateResult.js +99 -0
  387. package/dist/bindings/windows/services/store/StorePackageUpdateState.d.ts +5 -0
  388. package/dist/bindings/windows/services/store/StorePackageUpdateState.js +6 -0
  389. package/dist/bindings/windows/services/store/StorePackageUpdateStatus.d.ts +5 -0
  390. package/dist/bindings/windows/services/store/StorePackageUpdateStatus.js +6 -0
  391. package/dist/bindings/windows/services/store/StorePrice.d.ts +27 -0
  392. package/dist/bindings/windows/services/store/StorePrice.js +106 -0
  393. package/dist/bindings/windows/services/store/StoreProduct.d.ts +34 -0
  394. package/dist/bindings/windows/services/store/StoreProduct.js +201 -0
  395. package/dist/bindings/windows/services/store/StoreProductOptions.d.ts +13 -0
  396. package/dist/bindings/windows/services/store/StoreProductOptions.js +60 -0
  397. package/dist/bindings/windows/services/store/StoreProductPagedQueryResult.d.ts +12 -0
  398. package/dist/bindings/windows/services/store/StoreProductPagedQueryResult.js +73 -0
  399. package/dist/bindings/windows/services/store/StoreProductQueryResult.d.ts +10 -0
  400. package/dist/bindings/windows/services/store/StoreProductQueryResult.js +53 -0
  401. package/dist/bindings/windows/services/store/StoreProductResult.d.ts +10 -0
  402. package/dist/bindings/windows/services/store/StoreProductResult.js +47 -0
  403. package/dist/bindings/windows/services/store/StorePurchaseProperties.d.ts +17 -0
  404. package/dist/bindings/windows/services/store/StorePurchaseProperties.js +90 -0
  405. package/dist/bindings/windows/services/store/StorePurchaseResult.d.ts +10 -0
  406. package/dist/bindings/windows/services/store/StorePurchaseResult.js +47 -0
  407. package/dist/bindings/windows/services/store/StorePurchaseStatus.d.ts +9 -0
  408. package/dist/bindings/windows/services/store/StorePurchaseStatus.js +10 -0
  409. package/dist/bindings/windows/services/store/StoreQueueItem.d.ts +40 -0
  410. package/dist/bindings/windows/services/store/StoreQueueItem.js +199 -0
  411. package/dist/bindings/windows/services/store/StoreQueueItemCompletedEventArgs.d.ts +9 -0
  412. package/dist/bindings/windows/services/store/StoreQueueItemCompletedEventArgs.js +43 -0
  413. package/dist/bindings/windows/services/store/StoreQueueItemExtendedState.d.ts +19 -0
  414. package/dist/bindings/windows/services/store/StoreQueueItemExtendedState.js +20 -0
  415. package/dist/bindings/windows/services/store/StoreQueueItemKind.d.ts +7 -0
  416. package/dist/bindings/windows/services/store/StoreQueueItemKind.js +8 -0
  417. package/dist/bindings/windows/services/store/StoreQueueItemState.d.ts +9 -0
  418. package/dist/bindings/windows/services/store/StoreQueueItemState.js +10 -0
  419. package/dist/bindings/windows/services/store/StoreQueueItemStatus.d.ts +27 -0
  420. package/dist/bindings/windows/services/store/StoreQueueItemStatus.js +83 -0
  421. package/dist/bindings/windows/services/store/StoreRateAndReviewResult.d.ts +12 -0
  422. package/dist/bindings/windows/services/store/StoreRateAndReviewResult.js +55 -0
  423. package/dist/bindings/windows/services/store/StoreRateAndReviewStatus.d.ts +8 -0
  424. package/dist/bindings/windows/services/store/StoreRateAndReviewStatus.js +9 -0
  425. package/dist/bindings/windows/services/store/StoreSku.d.ts +36 -0
  426. package/dist/bindings/windows/services/store/StoreSku.js +208 -0
  427. package/dist/bindings/windows/services/store/StoreSubscriptionInfo.d.ts +13 -0
  428. package/dist/bindings/windows/services/store/StoreSubscriptionInfo.js +59 -0
  429. package/dist/bindings/windows/services/store/StoreUninstallStorePackageResult.d.ts +10 -0
  430. package/dist/bindings/windows/services/store/StoreUninstallStorePackageResult.js +47 -0
  431. package/dist/bindings/windows/services/store/StoreUninstallStorePackageStatus.d.ts +9 -0
  432. package/dist/bindings/windows/services/store/StoreUninstallStorePackageStatus.js +10 -0
  433. package/dist/bindings/windows/services/store/StoreVideo.d.ts +15 -0
  434. package/dist/bindings/windows/services/store/StoreVideo.js +66 -0
  435. package/dist/bindings/windows/ui/notifications/IScheduledToastNotification2.d.ts +39 -0
  436. package/dist/bindings/windows/ui/notifications/IScheduledToastNotification2.js +173 -0
  437. package/dist/bindings/windows/ui/notifications/IScheduledToastNotification3.d.ts +35 -0
  438. package/dist/bindings/windows/ui/notifications/IScheduledToastNotification3.js +153 -0
  439. package/dist/bindings/windows/ui/notifications/IScheduledToastNotification4.d.ts +39 -0
  440. package/dist/bindings/windows/ui/notifications/IScheduledToastNotification4.js +147 -0
  441. package/dist/bindings/windows/ui/notifications/IToastNotificationHistory2.d.ts +31 -0
  442. package/dist/bindings/windows/ui/notifications/IToastNotificationHistory2.js +134 -0
  443. package/dist/bindings/windows/ui/notifications/IToastNotificationManagerForUser2.d.ts +39 -0
  444. package/dist/bindings/windows/ui/notifications/IToastNotificationManagerForUser2.js +185 -0
  445. package/dist/bindings/windows/ui/notifications/IToastNotificationManagerForUser3.d.ts +49 -0
  446. package/dist/bindings/windows/ui/notifications/IToastNotificationManagerForUser3.js +195 -0
  447. package/dist/bindings/windows/ui/notifications/IToastNotifier2.d.ts +32 -0
  448. package/dist/bindings/windows/ui/notifications/IToastNotifier2.js +137 -0
  449. package/dist/bindings/windows/ui/notifications/IToastNotifier3.d.ts +46 -0
  450. package/dist/bindings/windows/ui/notifications/IToastNotifier3.js +184 -0
  451. package/dist/bindings/windows/ui/notifications/NotificationSetting.d.ts +9 -0
  452. package/dist/bindings/windows/ui/notifications/NotificationSetting.js +10 -0
  453. package/dist/bindings/windows/ui/notifications/NotificationUpdateResult.d.ts +7 -0
  454. package/dist/bindings/windows/ui/notifications/NotificationUpdateResult.js +8 -0
  455. package/dist/bindings/windows/ui/notifications/ScheduledToastNotification.d.ts +51 -0
  456. package/dist/bindings/windows/ui/notifications/ScheduledToastNotification.js +231 -0
  457. package/dist/bindings/windows/ui/notifications/ScheduledToastNotificationShowingEventArgs.d.ts +13 -0
  458. package/dist/bindings/windows/ui/notifications/ScheduledToastNotificationShowingEventArgs.js +58 -0
  459. package/dist/bindings/windows/ui/notifications/ToastCollection.d.ts +16 -0
  460. package/dist/bindings/windows/ui/notifications/ToastCollection.js +91 -0
  461. package/dist/bindings/windows/ui/notifications/ToastCollectionManager.d.ts +17 -0
  462. package/dist/bindings/windows/ui/notifications/ToastCollectionManager.js +136 -0
  463. package/dist/bindings/windows/ui/notifications/ToastNotificationHistory.d.ts +24 -0
  464. package/dist/bindings/windows/ui/notifications/ToastNotificationHistory.js +137 -0
  465. package/dist/bindings/windows/ui/notifications/ToastNotificationManager.d.ts +19 -0
  466. package/dist/bindings/windows/ui/notifications/ToastNotificationManager.js +133 -0
  467. package/dist/bindings/windows/ui/notifications/ToastNotificationManagerForUser.d.ts +40 -0
  468. package/dist/bindings/windows/ui/notifications/ToastNotificationManagerForUser.js +205 -0
  469. package/dist/bindings/windows/ui/notifications/ToastNotificationMode.d.ts +7 -0
  470. package/dist/bindings/windows/ui/notifications/ToastNotificationMode.js +8 -0
  471. package/dist/bindings/windows/ui/notifications/ToastNotifier.d.ts +41 -0
  472. package/dist/bindings/windows/ui/notifications/ToastNotifier.js +183 -0
  473. package/dist/bindings/windows/ui/notifications/ToastTemplateType.d.ts +12 -0
  474. package/dist/bindings/windows/ui/notifications/ToastTemplateType.js +13 -0
  475. package/dist/components/convert.d.ts +1 -1
  476. package/dist/components/convert.d.ts.map +1 -1
  477. package/dist/components/convert.js +3 -2
  478. package/dist/components/convert.js.map +1 -1
  479. package/dist/components/generated/bindings.d.ts +1 -0
  480. package/dist/components/generated/bindings.d.ts.map +1 -1
  481. package/dist/components/generated/bindings.js +1 -0
  482. package/dist/components/generated/bindings.js.map +1 -1
  483. package/dist/components/generated/enums.d.ts +3 -0
  484. package/dist/components/generated/enums.d.ts.map +1 -1
  485. package/dist/components/generated/enums.js +1 -0
  486. package/dist/components/generated/enums.js.map +1 -1
  487. package/dist/components/index.d.ts +1 -1
  488. package/dist/components/index.d.ts.map +1 -1
  489. package/dist/components/runtime.svelte.d.ts +1 -0
  490. package/dist/components/runtime.svelte.d.ts.map +1 -1
  491. package/dist/components/runtime.svelte.js +17 -6
  492. package/dist/components/runtime.svelte.js.map +1 -1
  493. package/dist/composition/animate.d.ts +78 -0
  494. package/dist/composition/animate.d.ts.map +1 -0
  495. package/dist/composition/animate.js +184 -0
  496. package/dist/composition/animate.js.map +1 -0
  497. package/dist/composition/expression.d.ts +177 -0
  498. package/dist/composition/expression.d.ts.map +1 -0
  499. package/dist/composition/expression.js +330 -0
  500. package/dist/composition/expression.js.map +1 -0
  501. package/dist/composition/index.d.ts +11 -0
  502. package/dist/composition/index.d.ts.map +1 -0
  503. package/dist/composition/index.js +9 -0
  504. package/dist/composition/index.js.map +1 -0
  505. package/dist/composition/property-set.d.ts +36 -0
  506. package/dist/composition/property-set.d.ts.map +1 -0
  507. package/dist/composition/property-set.js +81 -0
  508. package/dist/composition/property-set.js.map +1 -0
  509. package/dist/composition/spring.d.ts +43 -0
  510. package/dist/composition/spring.d.ts.map +1 -0
  511. package/dist/composition/spring.js +23 -0
  512. package/dist/composition/spring.js.map +1 -0
  513. package/dist/composition/targets.d.ts +48 -0
  514. package/dist/composition/targets.d.ts.map +1 -0
  515. package/dist/composition/targets.js +34 -0
  516. package/dist/composition/targets.js.map +1 -0
  517. package/dist/css/index.d.ts +2 -0
  518. package/dist/css/index.d.ts.map +1 -1
  519. package/dist/css/index.js +2 -0
  520. package/dist/css/index.js.map +1 -1
  521. package/dist/css/parse/box-shadow.d.ts +46 -0
  522. package/dist/css/parse/box-shadow.d.ts.map +1 -0
  523. package/dist/css/parse/box-shadow.js +65 -0
  524. package/dist/css/parse/box-shadow.js.map +1 -0
  525. package/dist/css/parse/filters.d.ts.map +1 -1
  526. package/dist/css/parse/filters.js +1 -1
  527. package/dist/css/parse/filters.js.map +1 -1
  528. package/dist/css/parse/parser.js +1 -1
  529. package/dist/css/parse/parser.js.map +1 -1
  530. package/dist/css/parse/scroll-timeline.d.ts +181 -0
  531. package/dist/css/parse/scroll-timeline.d.ts.map +1 -0
  532. package/dist/css/parse/scroll-timeline.js +278 -0
  533. package/dist/css/parse/scroll-timeline.js.map +1 -0
  534. package/dist/css/runtime/resources.d.ts +2 -0
  535. package/dist/css/runtime/resources.d.ts.map +1 -1
  536. package/dist/css/runtime/resources.js +2 -2
  537. package/dist/css/runtime/resources.js.map +1 -1
  538. package/dist/css/runtime/runtime.d.ts +37 -3
  539. package/dist/css/runtime/runtime.d.ts.map +1 -1
  540. package/dist/css/runtime/runtime.js +27 -13
  541. package/dist/css/runtime/runtime.js.map +1 -1
  542. package/dist/css/runtime/sheet-module.d.ts +3 -1
  543. package/dist/css/runtime/sheet-module.d.ts.map +1 -1
  544. package/dist/css/runtime/sheet-module.js +24 -10
  545. package/dist/css/runtime/sheet-module.js.map +1 -1
  546. package/dist/css/runtime/visual-state-native.d.ts +10 -0
  547. package/dist/css/runtime/visual-state-native.d.ts.map +1 -0
  548. package/dist/css/runtime/visual-state-native.js +112 -0
  549. package/dist/css/runtime/visual-state-native.js.map +1 -0
  550. package/dist/css/runtime/visual-states.d.ts +27 -0
  551. package/dist/css/runtime/visual-states.d.ts.map +1 -0
  552. package/dist/css/runtime/visual-states.js +83 -0
  553. package/dist/css/runtime/visual-states.js.map +1 -0
  554. package/dist/css/scroll-timeline.d.ts +21 -0
  555. package/dist/css/scroll-timeline.d.ts.map +1 -0
  556. package/dist/css/scroll-timeline.js +11 -0
  557. package/dist/css/scroll-timeline.js.map +1 -0
  558. package/dist/css/shadow.d.ts +23 -0
  559. package/dist/css/shadow.d.ts.map +1 -0
  560. package/dist/css/shadow.js +11 -0
  561. package/dist/css/shadow.js.map +1 -0
  562. package/dist/css/translate/animation-properties.d.ts +8 -2
  563. package/dist/css/translate/animation-properties.d.ts.map +1 -1
  564. package/dist/css/translate/animation-properties.js +202 -15
  565. package/dist/css/translate/animation-properties.js.map +1 -1
  566. package/dist/css/translate/build-shorthands.d.ts +3 -2
  567. package/dist/css/translate/build-shorthands.d.ts.map +1 -1
  568. package/dist/css/translate/build-shorthands.js +5 -3
  569. package/dist/css/translate/build-shorthands.js.map +1 -1
  570. package/dist/css/translate/cascade.d.ts.map +1 -1
  571. package/dist/css/translate/cascade.js +4 -1
  572. package/dist/css/translate/cascade.js.map +1 -1
  573. package/dist/css/translate/easing.d.ts +2 -0
  574. package/dist/css/translate/easing.d.ts.map +1 -1
  575. package/dist/css/translate/easing.js +4 -0
  576. package/dist/css/translate/easing.js.map +1 -1
  577. package/dist/css/translate/font-face.d.ts +22 -0
  578. package/dist/css/translate/font-face.d.ts.map +1 -0
  579. package/dist/css/translate/font-face.js +76 -0
  580. package/dist/css/translate/font-face.js.map +1 -0
  581. package/dist/css/translate/handled-members.d.ts +7 -0
  582. package/dist/css/translate/handled-members.d.ts.map +1 -0
  583. package/dist/css/translate/handled-members.js +16 -0
  584. package/dist/css/translate/handled-members.js.map +1 -0
  585. package/dist/css/translate/lazy-groups.d.ts.map +1 -1
  586. package/dist/css/translate/lazy-groups.js +41 -1
  587. package/dist/css/translate/lazy-groups.js.map +1 -1
  588. package/dist/css/translate/linked-tracks.d.ts +13 -0
  589. package/dist/css/translate/linked-tracks.d.ts.map +1 -0
  590. package/dist/css/translate/linked-tracks.js +48 -0
  591. package/dist/css/translate/linked-tracks.js.map +1 -0
  592. package/dist/css/translate/scroll-link.d.ts +106 -0
  593. package/dist/css/translate/scroll-link.d.ts.map +1 -0
  594. package/dist/css/translate/scroll-link.js +222 -0
  595. package/dist/css/translate/scroll-link.js.map +1 -0
  596. package/dist/css/translate/scroll-timeline-properties.d.ts +46 -0
  597. package/dist/css/translate/scroll-timeline-properties.d.ts.map +1 -0
  598. package/dist/css/translate/scroll-timeline-properties.js +167 -0
  599. package/dist/css/translate/scroll-timeline-properties.js.map +1 -0
  600. package/dist/css/translate/shadow-mode.d.ts +24 -0
  601. package/dist/css/translate/shadow-mode.d.ts.map +1 -0
  602. package/dist/css/translate/shadow-mode.js +20 -0
  603. package/dist/css/translate/shadow-mode.js.map +1 -0
  604. package/dist/css/translate/shadow-properties.d.ts +50 -0
  605. package/dist/css/translate/shadow-properties.d.ts.map +1 -0
  606. package/dist/css/translate/shadow-properties.js +155 -0
  607. package/dist/css/translate/shadow-properties.js.map +1 -0
  608. package/dist/css/translate/shorthands.d.ts +4 -2
  609. package/dist/css/translate/shorthands.d.ts.map +1 -1
  610. package/dist/css/translate/shorthands.js +3 -2
  611. package/dist/css/translate/shorthands.js.map +1 -1
  612. package/dist/css/translate/state-properties.d.ts +52 -0
  613. package/dist/css/translate/state-properties.d.ts.map +1 -0
  614. package/dist/css/translate/state-properties.js +115 -0
  615. package/dist/css/translate/state-properties.js.map +1 -0
  616. package/dist/css/translate/surface-properties.d.ts +3 -1
  617. package/dist/css/translate/surface-properties.d.ts.map +1 -1
  618. package/dist/css/translate/surface-properties.js +21 -17
  619. package/dist/css/translate/surface-properties.js.map +1 -1
  620. package/dist/css/translate/translate.d.ts +3 -2
  621. package/dist/css/translate/translate.d.ts.map +1 -1
  622. package/dist/css/translate/translate.js +47 -13
  623. package/dist/css/translate/translate.js.map +1 -1
  624. package/dist/css/translate/type-ramp.d.ts +8 -0
  625. package/dist/css/translate/type-ramp.d.ts.map +1 -0
  626. package/dist/css/translate/type-ramp.js +59 -0
  627. package/dist/css/translate/type-ramp.js.map +1 -0
  628. package/dist/css/translate/types.d.ts +7 -0
  629. package/dist/css/translate/types.d.ts.map +1 -1
  630. package/dist/css/translate/typography-properties.d.ts +52 -0
  631. package/dist/css/translate/typography-properties.d.ts.map +1 -0
  632. package/dist/css/translate/typography-properties.js +430 -0
  633. package/dist/css/translate/typography-properties.js.map +1 -0
  634. package/dist/css/translate/unsupported-properties.d.ts +2 -0
  635. package/dist/css/translate/unsupported-properties.d.ts.map +1 -1
  636. package/dist/css/translate/unsupported-properties.js +7 -1
  637. package/dist/css/translate/unsupported-properties.js.map +1 -1
  638. package/dist/css/translate/view-transition-properties.d.ts +29 -0
  639. package/dist/css/translate/view-transition-properties.d.ts.map +1 -0
  640. package/dist/css/translate/view-transition-properties.js +53 -0
  641. package/dist/css/translate/view-transition-properties.js.map +1 -0
  642. package/dist/css/translate/winui-only-properties.d.ts.map +1 -1
  643. package/dist/css/translate/winui-only-properties.js +16 -1
  644. package/dist/css/translate/winui-only-properties.js.map +1 -1
  645. package/dist/css/typography.d.ts +2 -0
  646. package/dist/css/typography.d.ts.map +1 -0
  647. package/dist/css/typography.js +6 -0
  648. package/dist/css/typography.js.map +1 -0
  649. package/dist/css/validate/vscode-css-data.json +262 -1
  650. package/dist/css/validate/vscode-data.d.ts +5 -0
  651. package/dist/css/validate/vscode-data.d.ts.map +1 -1
  652. package/dist/css/validate/vscode-data.js +37 -0
  653. package/dist/css/validate/vscode-data.js.map +1 -1
  654. package/dist/css/view-transition.d.ts +13 -0
  655. package/dist/css/view-transition.d.ts.map +1 -0
  656. package/dist/css/view-transition.js +12 -0
  657. package/dist/css/view-transition.js.map +1 -0
  658. package/dist/css/visual-states.d.ts +7 -0
  659. package/dist/css/visual-states.d.ts.map +1 -0
  660. package/dist/css/visual-states.js +16 -0
  661. package/dist/css/visual-states.js.map +1 -0
  662. package/dist/devices/bindings.d.ts +4 -1
  663. package/dist/devices/bindings.d.ts.map +1 -1
  664. package/dist/devices/bindings.js +4 -1
  665. package/dist/devices/bindings.js.map +1 -1
  666. package/dist/devices/displays.svelte.d.ts.map +1 -1
  667. package/dist/devices/displays.svelte.js +2 -1
  668. package/dist/devices/displays.svelte.js.map +1 -1
  669. package/dist/devices/live.svelte.d.ts +3 -24
  670. package/dist/devices/live.svelte.d.ts.map +1 -1
  671. package/dist/devices/live.svelte.js +2 -40
  672. package/dist/devices/live.svelte.js.map +1 -1
  673. package/dist/devices/power.d.ts +5 -3
  674. package/dist/devices/power.d.ts.map +1 -1
  675. package/dist/devices/power.js +3 -2
  676. package/dist/devices/power.js.map +1 -1
  677. package/dist/devices/power.svelte.d.ts +27 -0
  678. package/dist/devices/power.svelte.d.ts.map +1 -1
  679. package/dist/devices/power.svelte.js +40 -0
  680. package/dist/devices/power.svelte.js.map +1 -1
  681. package/dist/devices/subscription.d.ts +35 -0
  682. package/dist/devices/subscription.d.ts.map +1 -0
  683. package/dist/devices/subscription.js +47 -0
  684. package/dist/devices/subscription.js.map +1 -0
  685. package/dist/devices/system-power.d.ts +54 -0
  686. package/dist/devices/system-power.d.ts.map +1 -0
  687. package/dist/devices/system-power.js +66 -0
  688. package/dist/devices/system-power.js.map +1 -0
  689. package/dist/enums.d.ts +11 -1
  690. package/dist/enums.d.ts.map +1 -1
  691. package/dist/enums.js +11 -1
  692. package/dist/enums.js.map +1 -1
  693. package/dist/font-files.d.ts +19 -0
  694. package/dist/font-files.d.ts.map +1 -0
  695. package/dist/font-files.js +55 -0
  696. package/dist/font-files.js.map +1 -0
  697. package/dist/font-registry.d.ts +24 -0
  698. package/dist/font-registry.d.ts.map +1 -0
  699. package/dist/font-registry.js +67 -0
  700. package/dist/font-registry.js.map +1 -0
  701. package/dist/font-spelling.d.ts +15 -0
  702. package/dist/font-spelling.d.ts.map +1 -0
  703. package/dist/font-spelling.js +27 -0
  704. package/dist/font-spelling.js.map +1 -0
  705. package/dist/forms/FormField.svelte +2 -1
  706. package/dist/index.d.ts +2 -0
  707. package/dist/index.d.ts.map +1 -1
  708. package/dist/index.js +1 -0
  709. package/dist/index.js.map +1 -1
  710. package/dist/input/active-element.svelte.d.ts +22 -0
  711. package/dist/input/active-element.svelte.d.ts.map +1 -0
  712. package/dist/input/active-element.svelte.js +32 -0
  713. package/dist/input/active-element.svelte.js.map +1 -0
  714. package/dist/input/dom-event.d.ts +93 -0
  715. package/dist/input/dom-event.d.ts.map +1 -0
  716. package/dist/input/dom-event.js +39 -0
  717. package/dist/input/dom-event.js.map +1 -0
  718. package/dist/input/events.d.ts +13 -0
  719. package/dist/input/events.d.ts.map +1 -0
  720. package/dist/input/events.js +187 -0
  721. package/dist/input/events.js.map +1 -0
  722. package/dist/input/focused-element.d.ts +18 -0
  723. package/dist/input/focused-element.d.ts.map +1 -0
  724. package/dist/input/focused-element.js +32 -0
  725. package/dist/input/focused-element.js.map +1 -0
  726. package/dist/input/index.d.ts +13 -0
  727. package/dist/input/index.d.ts.map +1 -0
  728. package/dist/input/index.js +7 -0
  729. package/dist/input/index.js.map +1 -0
  730. package/dist/input/key-names.d.ts +18 -0
  731. package/dist/input/key-names.d.ts.map +1 -0
  732. package/dist/input/key-names.js +182 -0
  733. package/dist/input/key-names.js.map +1 -0
  734. package/dist/input/keyboard-fields.d.ts +38 -0
  735. package/dist/input/keyboard-fields.d.ts.map +1 -0
  736. package/dist/input/keyboard-fields.js +43 -0
  737. package/dist/input/keyboard-fields.js.map +1 -0
  738. package/dist/input/move-focus.d.ts +19 -0
  739. package/dist/input/move-focus.d.ts.map +1 -0
  740. package/dist/input/move-focus.js +29 -0
  741. package/dist/input/move-focus.js.map +1 -0
  742. package/dist/input/pointer-capture.d.ts +47 -0
  743. package/dist/input/pointer-capture.d.ts.map +1 -0
  744. package/dist/input/pointer-capture.js +59 -0
  745. package/dist/input/pointer-capture.js.map +1 -0
  746. package/dist/input/pointer-fields.d.ts +118 -0
  747. package/dist/input/pointer-fields.d.ts.map +1 -0
  748. package/dist/input/pointer-fields.js +141 -0
  749. package/dist/input/pointer-fields.js.map +1 -0
  750. package/dist/input/pointer-routes.d.ts +13 -0
  751. package/dist/input/pointer-routes.d.ts.map +1 -0
  752. package/dist/input/pointer-routes.js +13 -0
  753. package/dist/input/pointer-routes.js.map +1 -0
  754. package/dist/input/trap-focus.d.ts +18 -0
  755. package/dist/input/trap-focus.d.ts.map +1 -0
  756. package/dist/input/trap-focus.js +45 -0
  757. package/dist/input/trap-focus.js.map +1 -0
  758. package/dist/key-code.d.ts +131 -0
  759. package/dist/key-code.d.ts.map +1 -0
  760. package/dist/key-code.js +134 -0
  761. package/dist/key-code.js.map +1 -0
  762. package/dist/messaging/page.d.ts +25 -0
  763. package/dist/messaging/page.d.ts.map +1 -0
  764. package/dist/messaging/page.js +43 -0
  765. package/dist/messaging/page.js.map +1 -0
  766. package/dist/messaging/web-view2/cookies.d.ts +53 -0
  767. package/dist/messaging/web-view2/cookies.d.ts.map +1 -0
  768. package/dist/messaging/web-view2/cookies.js +54 -0
  769. package/dist/messaging/web-view2/cookies.js.map +1 -0
  770. package/dist/messaging/web-view2/core.d.ts +101 -0
  771. package/dist/messaging/web-view2/core.d.ts.map +1 -0
  772. package/dist/messaging/web-view2/core.js +37 -0
  773. package/dist/messaging/web-view2/core.js.map +1 -0
  774. package/dist/messaging/web-view2/index.d.ts +9 -0
  775. package/dist/messaging/web-view2/index.d.ts.map +1 -0
  776. package/dist/messaging/web-view2/index.js +7 -0
  777. package/dist/messaging/web-view2/index.js.map +1 -0
  778. package/dist/messaging/web-view2/policy.d.ts +64 -0
  779. package/dist/messaging/web-view2/policy.d.ts.map +1 -0
  780. package/dist/messaging/web-view2/policy.js +96 -0
  781. package/dist/messaging/web-view2/policy.js.map +1 -0
  782. package/dist/messaging/web-view2/transport.d.ts +34 -0
  783. package/dist/messaging/web-view2/transport.d.ts.map +1 -0
  784. package/dist/messaging/web-view2/transport.js +109 -0
  785. package/dist/messaging/web-view2/transport.js.map +1 -0
  786. package/dist/notice/index.d.ts +4 -0
  787. package/dist/notice/index.d.ts.map +1 -0
  788. package/dist/notice/index.js +2 -0
  789. package/dist/notice/index.js.map +1 -0
  790. package/dist/notice/native.d.ts +18 -0
  791. package/dist/notice/native.d.ts.map +1 -0
  792. package/dist/notice/native.js +32 -0
  793. package/dist/notice/native.js.map +1 -0
  794. package/dist/notice/notice.d.ts +70 -0
  795. package/dist/notice/notice.d.ts.map +1 -0
  796. package/dist/notice/notice.js +95 -0
  797. package/dist/notice/notice.js.map +1 -0
  798. package/dist/renderer/host/connected-configuration.d.ts +23 -0
  799. package/dist/renderer/host/connected-configuration.d.ts.map +1 -0
  800. package/dist/renderer/host/connected-configuration.js +36 -0
  801. package/dist/renderer/host/connected-configuration.js.map +1 -0
  802. package/dist/renderer/host/control.d.ts +8 -0
  803. package/dist/renderer/host/control.d.ts.map +1 -1
  804. package/dist/renderer/host/control.js +7 -2
  805. package/dist/renderer/host/control.js.map +1 -1
  806. package/dist/renderer/host/element-animation.d.ts.map +1 -1
  807. package/dist/renderer/host/element-animation.js +2 -15
  808. package/dist/renderer/host/element-animation.js.map +1 -1
  809. package/dist/renderer/host/glide-height.d.ts +27 -0
  810. package/dist/renderer/host/glide-height.d.ts.map +1 -0
  811. package/dist/renderer/host/glide-height.js +106 -0
  812. package/dist/renderer/host/glide-height.js.map +1 -0
  813. package/dist/renderer/host/implicit-layout-animation.d.ts +50 -0
  814. package/dist/renderer/host/implicit-layout-animation.d.ts.map +1 -0
  815. package/dist/renderer/host/implicit-layout-animation.js +121 -0
  816. package/dist/renderer/host/implicit-layout-animation.js.map +1 -0
  817. package/dist/renderer/host/motion-preference.d.ts +19 -0
  818. package/dist/renderer/host/motion-preference.d.ts.map +1 -0
  819. package/dist/renderer/host/motion-preference.js +26 -0
  820. package/dist/renderer/host/motion-preference.js.map +1 -0
  821. package/dist/renderer/host/values.d.ts +1 -1
  822. package/dist/renderer/host/view-transition-names.d.ts +13 -0
  823. package/dist/renderer/host/view-transition-names.d.ts.map +1 -0
  824. package/dist/renderer/host/view-transition-names.js +25 -0
  825. package/dist/renderer/host/view-transition-names.js.map +1 -0
  826. package/dist/settings/SettingsCard.d.svelte.ts +12 -0
  827. package/dist/settings/SettingsCard.svelte +80 -0
  828. package/dist/settings/SettingsExpander.d.svelte.ts +12 -0
  829. package/dist/settings/SettingsExpander.svelte +46 -0
  830. package/dist/settings/SettingsRow.svelte +79 -0
  831. package/dist/settings/index.d.ts +5 -0
  832. package/dist/settings/index.d.ts.map +1 -0
  833. package/dist/settings/index.js +7 -0
  834. package/dist/settings/index.js.map +1 -0
  835. package/dist/settings/settings-context.d.ts +7 -0
  836. package/dist/settings/settings-context.d.ts.map +1 -0
  837. package/dist/settings/settings-context.js +11 -0
  838. package/dist/settings/settings-context.js.map +1 -0
  839. package/dist/settings/settings-props.d.ts +40 -0
  840. package/dist/settings/settings-props.d.ts.map +1 -0
  841. package/dist/settings/settings-props.js +3 -0
  842. package/dist/settings/settings-props.js.map +1 -0
  843. package/dist/store/bindings.d.ts +7 -0
  844. package/dist/store/bindings.d.ts.map +1 -0
  845. package/dist/store/bindings.js +10 -0
  846. package/dist/store/bindings.js.map +1 -0
  847. package/dist/store/identity.d.ts +24 -0
  848. package/dist/store/identity.d.ts.map +1 -0
  849. package/dist/store/identity.js +27 -0
  850. package/dist/store/identity.js.map +1 -0
  851. package/dist/store/index.d.ts +10 -0
  852. package/dist/store/index.d.ts.map +1 -0
  853. package/dist/store/index.js +8 -0
  854. package/dist/store/index.js.map +1 -0
  855. package/dist/store/license.d.ts +63 -0
  856. package/dist/store/license.d.ts.map +1 -0
  857. package/dist/store/license.js +95 -0
  858. package/dist/store/license.js.map +1 -0
  859. package/dist/store/packages.d.ts +45 -0
  860. package/dist/store/packages.d.ts.map +1 -0
  861. package/dist/store/packages.js +80 -0
  862. package/dist/store/packages.js.map +1 -0
  863. package/dist/store/reply.d.ts +26 -0
  864. package/dist/store/reply.d.ts.map +1 -0
  865. package/dist/store/reply.js +15 -0
  866. package/dist/store/reply.js.map +1 -0
  867. package/dist/store/startup.d.ts +23 -0
  868. package/dist/store/startup.d.ts.map +1 -0
  869. package/dist/store/startup.js +18 -0
  870. package/dist/store/startup.js.map +1 -0
  871. package/dist/store/states.d.ts +50 -0
  872. package/dist/store/states.d.ts.map +1 -0
  873. package/dist/store/states.js +56 -0
  874. package/dist/store/states.js.map +1 -0
  875. package/dist/store/types.d.ts +102 -0
  876. package/dist/store/types.d.ts.map +1 -0
  877. package/dist/store/types.js +2 -0
  878. package/dist/store/types.js.map +1 -0
  879. package/dist/store/updates.d.ts +23 -0
  880. package/dist/store/updates.d.ts.map +1 -0
  881. package/dist/store/updates.js +18 -0
  882. package/dist/store/updates.js.map +1 -0
  883. package/dist/store/window-interop.d.ts +10 -0
  884. package/dist/store/window-interop.d.ts.map +1 -0
  885. package/dist/store/window-interop.js +35 -0
  886. package/dist/store/window-interop.js.map +1 -0
  887. package/dist/store/windows-backend.d.ts +23 -0
  888. package/dist/store/windows-backend.d.ts.map +1 -0
  889. package/dist/store/windows-backend.js +26 -0
  890. package/dist/store/windows-backend.js.map +1 -0
  891. package/dist/store/windows-identity.d.ts +22 -0
  892. package/dist/store/windows-identity.d.ts.map +1 -0
  893. package/dist/store/windows-identity.js +51 -0
  894. package/dist/store/windows-identity.js.map +1 -0
  895. package/dist/store/windows-packages.d.ts +26 -0
  896. package/dist/store/windows-packages.d.ts.map +1 -0
  897. package/dist/store/windows-packages.js +70 -0
  898. package/dist/store/windows-packages.js.map +1 -0
  899. package/dist/store/windows-store.d.ts +47 -0
  900. package/dist/store/windows-store.d.ts.map +1 -0
  901. package/dist/store/windows-store.js +107 -0
  902. package/dist/store/windows-store.js.map +1 -0
  903. package/dist/tray/exit-hook.d.ts +3 -0
  904. package/dist/tray/exit-hook.d.ts.map +1 -0
  905. package/dist/tray/exit-hook.js +11 -0
  906. package/dist/tray/exit-hook.js.map +1 -0
  907. package/dist/tray/native.d.ts.map +1 -1
  908. package/dist/tray/native.js +5 -41
  909. package/dist/tray/native.js.map +1 -1
  910. package/dist/tray/standalone/index.d.ts +11 -0
  911. package/dist/tray/standalone/index.d.ts.map +1 -0
  912. package/dist/tray/standalone/index.js +6 -0
  913. package/dist/tray/standalone/index.js.map +1 -0
  914. package/dist/tray/standalone/native.d.ts +40 -0
  915. package/dist/tray/standalone/native.d.ts.map +1 -0
  916. package/dist/tray/standalone/native.js +96 -0
  917. package/dist/tray/standalone/native.js.map +1 -0
  918. package/dist/tray/standalone/standalone-tray.d.ts +44 -0
  919. package/dist/tray/standalone/standalone-tray.d.ts.map +1 -0
  920. package/dist/tray/standalone/standalone-tray.js +75 -0
  921. package/dist/tray/standalone/standalone-tray.js.map +1 -0
  922. package/dist/tray/tray-icon.d.ts.map +1 -1
  923. package/dist/tray/tray-icon.js +3 -6
  924. package/dist/tray/tray-icon.js.map +1 -1
  925. package/dist/web-apis/animations.d.ts +2 -5
  926. package/dist/web-apis/animations.d.ts.map +1 -1
  927. package/dist/web-apis/animations.js +1 -20
  928. package/dist/web-apis/animations.js.map +1 -1
  929. package/dist/web-apis/atomic-file.d.ts +19 -0
  930. package/dist/web-apis/atomic-file.d.ts.map +1 -0
  931. package/dist/web-apis/atomic-file.js +28 -0
  932. package/dist/web-apis/atomic-file.js.map +1 -0
  933. package/dist/web-apis/badge-glyph.d.ts +19 -0
  934. package/dist/web-apis/badge-glyph.d.ts.map +1 -0
  935. package/dist/web-apis/badge-glyph.js +17 -0
  936. package/dist/web-apis/badge-glyph.js.map +1 -0
  937. package/dist/web-apis/badging.d.ts +8 -18
  938. package/dist/web-apis/badging.d.ts.map +1 -1
  939. package/dist/web-apis/badging.js +25 -17
  940. package/dist/web-apis/badging.js.map +1 -1
  941. package/dist/web-apis/contacts.d.ts +1 -1
  942. package/dist/web-apis/fonts.d.ts +113 -0
  943. package/dist/web-apis/fonts.d.ts.map +1 -0
  944. package/dist/web-apis/fonts.js +237 -0
  945. package/dist/web-apis/fonts.js.map +1 -0
  946. package/dist/web-apis/geolocation.d.ts +1 -1
  947. package/dist/web-apis/keyframe-input.d.ts +15 -0
  948. package/dist/web-apis/keyframe-input.d.ts.map +1 -0
  949. package/dist/web-apis/keyframe-input.js +30 -0
  950. package/dist/web-apis/keyframe-input.js.map +1 -0
  951. package/dist/web-apis/notification.d.ts +48 -1
  952. package/dist/web-apis/notification.d.ts.map +1 -1
  953. package/dist/web-apis/notification.js +98 -4
  954. package/dist/web-apis/notification.js.map +1 -1
  955. package/dist/web-apis/page.d.ts +20 -4
  956. package/dist/web-apis/page.d.ts.map +1 -1
  957. package/dist/web-apis/page.js +54 -8
  958. package/dist/web-apis/page.js.map +1 -1
  959. package/dist/web-apis/scroll-timeline.d.ts +127 -0
  960. package/dist/web-apis/scroll-timeline.d.ts.map +1 -0
  961. package/dist/web-apis/scroll-timeline.js +415 -0
  962. package/dist/web-apis/scroll-timeline.js.map +1 -0
  963. package/dist/web-apis/view-transitions.d.ts +80 -0
  964. package/dist/web-apis/view-transitions.d.ts.map +1 -0
  965. package/dist/web-apis/view-transitions.js +299 -0
  966. package/dist/web-apis/view-transitions.js.map +1 -0
  967. package/dist/web-apis/web-storage.d.ts +1 -18
  968. package/dist/web-apis/web-storage.d.ts.map +1 -1
  969. package/dist/web-apis/web-storage.js +1 -26
  970. package/dist/web-apis/web-storage.js.map +1 -1
  971. package/dist/web-apis/window-controls-overlay.d.ts +105 -0
  972. package/dist/web-apis/window-controls-overlay.d.ts.map +1 -0
  973. package/dist/web-apis/window-controls-overlay.js +147 -0
  974. package/dist/web-apis/window-controls-overlay.js.map +1 -0
  975. package/dist/win2d/child-slot.d.ts +13 -0
  976. package/dist/win2d/child-slot.d.ts.map +1 -0
  977. package/dist/win2d/child-slot.js +29 -0
  978. package/dist/win2d/child-slot.js.map +1 -0
  979. package/dist/win2d/context-2d/pointer-events.d.ts +1 -2
  980. package/dist/win2d/context-2d/pointer-events.d.ts.map +1 -1
  981. package/dist/win2d/context-2d/pointer-events.js +13 -102
  982. package/dist/win2d/context-2d/pointer-events.js.map +1 -1
  983. package/dist/win2d/element-lifecycle.d.ts +37 -0
  984. package/dist/win2d/element-lifecycle.d.ts.map +1 -0
  985. package/dist/win2d/element-lifecycle.js +73 -0
  986. package/dist/win2d/element-lifecycle.js.map +1 -0
  987. package/dist/win2d/element-shadow.d.ts +26 -0
  988. package/dist/win2d/element-shadow.d.ts.map +1 -0
  989. package/dist/win2d/element-shadow.js +128 -0
  990. package/dist/win2d/element-shadow.js.map +1 -0
  991. package/dist/win2d/element-visual.d.ts +1 -3
  992. package/dist/win2d/element-visual.d.ts.map +1 -1
  993. package/dist/win2d/element-visual.js +18 -72
  994. package/dist/win2d/element-visual.js.map +1 -1
  995. package/dist/win2d/scroll-host.d.ts +27 -0
  996. package/dist/win2d/scroll-host.d.ts.map +1 -0
  997. package/dist/win2d/scroll-host.js +293 -0
  998. package/dist/win2d/scroll-host.js.map +1 -0
  999. package/dist/win2d/scroll-link.d.ts +57 -0
  1000. package/dist/win2d/scroll-link.d.ts.map +1 -0
  1001. package/dist/win2d/scroll-link.js +165 -0
  1002. package/dist/win2d/scroll-link.js.map +1 -0
  1003. package/dist/win2d/shadow-geometry.d.ts +46 -0
  1004. package/dist/win2d/shadow-geometry.d.ts.map +1 -0
  1005. package/dist/win2d/shadow-geometry.js +82 -0
  1006. package/dist/win2d/shadow-geometry.js.map +1 -0
  1007. package/dist/win2d/shadow-host.d.ts +13 -0
  1008. package/dist/win2d/shadow-host.d.ts.map +1 -0
  1009. package/dist/win2d/shadow-host.js +23 -0
  1010. package/dist/win2d/shadow-host.js.map +1 -0
  1011. package/dist/win2d/shadow-receivers.d.ts +13 -0
  1012. package/dist/win2d/shadow-receivers.d.ts.map +1 -0
  1013. package/dist/win2d/shadow-receivers.js +56 -0
  1014. package/dist/win2d/shadow-receivers.js.map +1 -0
  1015. package/dist/win32-calls.d.ts +3 -1
  1016. package/dist/win32-calls.d.ts.map +1 -1
  1017. package/dist/win32-calls.js +3 -2
  1018. package/dist/win32-calls.js.map +1 -1
  1019. package/dist/win32-icons.d.ts +36 -0
  1020. package/dist/win32-icons.d.ts.map +1 -0
  1021. package/dist/win32-icons.js +143 -0
  1022. package/dist/win32-icons.js.map +1 -0
  1023. package/dist/window/apply-chrome.d.ts +8 -1
  1024. package/dist/window/apply-chrome.d.ts.map +1 -1
  1025. package/dist/window/apply-chrome.js +16 -2
  1026. package/dist/window/apply-chrome.js.map +1 -1
  1027. package/dist/window/badge-icon.d.ts +37 -0
  1028. package/dist/window/badge-icon.d.ts.map +1 -0
  1029. package/dist/window/badge-icon.js +196 -0
  1030. package/dist/window/badge-icon.js.map +1 -0
  1031. package/dist/window/chrome.d.ts +10 -0
  1032. package/dist/window/chrome.d.ts.map +1 -1
  1033. package/dist/window/chrome.js +8 -0
  1034. package/dist/window/chrome.js.map +1 -1
  1035. package/dist/window/index.d.ts +1 -1
  1036. package/dist/window/index.d.ts.map +1 -1
  1037. package/dist/window/index.js +1 -1
  1038. package/dist/window/index.js.map +1 -1
  1039. package/dist/window/message-hooks.d.ts +26 -0
  1040. package/dist/window/message-hooks.d.ts.map +1 -0
  1041. package/dist/window/message-hooks.js +46 -0
  1042. package/dist/window/message-hooks.js.map +1 -0
  1043. package/dist/window/message-pump.d.ts +3 -1
  1044. package/dist/window/message-pump.d.ts.map +1 -1
  1045. package/dist/window/message-pump.js +4 -1
  1046. package/dist/window/message-pump.js.map +1 -1
  1047. package/dist/window/native.d.ts +38 -0
  1048. package/dist/window/native.d.ts.map +1 -1
  1049. package/dist/window/native.js +134 -6
  1050. package/dist/window/native.js.map +1 -1
  1051. package/dist/window/reduced-motion.d.ts +7 -0
  1052. package/dist/window/reduced-motion.d.ts.map +1 -0
  1053. package/dist/window/reduced-motion.js +15 -0
  1054. package/dist/window/reduced-motion.js.map +1 -0
  1055. package/dist/window/system-dispatcher-queue.d.ts +7 -0
  1056. package/dist/window/system-dispatcher-queue.d.ts.map +1 -0
  1057. package/dist/window/system-dispatcher-queue.js +56 -0
  1058. package/dist/window/system-dispatcher-queue.js.map +1 -0
  1059. package/dist/window/taskbar-calls.d.ts +58 -0
  1060. package/dist/window/taskbar-calls.d.ts.map +1 -0
  1061. package/dist/window/taskbar-calls.js +77 -0
  1062. package/dist/window/taskbar-calls.js.map +1 -0
  1063. package/dist/window/taskbar-native.d.ts +9 -0
  1064. package/dist/window/taskbar-native.d.ts.map +1 -0
  1065. package/dist/window/taskbar-native.js +119 -0
  1066. package/dist/window/taskbar-native.js.map +1 -0
  1067. package/dist/window/taskbar.d.ts +104 -0
  1068. package/dist/window/taskbar.d.ts.map +1 -0
  1069. package/dist/window/taskbar.js +117 -0
  1070. package/dist/window/taskbar.js.map +1 -0
  1071. package/dist/window/transparent-backdrop.d.ts +7 -0
  1072. package/dist/window/transparent-backdrop.d.ts.map +1 -1
  1073. package/dist/window/transparent-backdrop.js +37 -1
  1074. package/dist/window/transparent-backdrop.js.map +1 -1
  1075. package/dist/window/window-handle.d.ts +17 -0
  1076. package/dist/window/window-handle.d.ts.map +1 -1
  1077. package/dist/window/window-handle.js +32 -0
  1078. package/dist/window/window-handle.js.map +1 -1
  1079. package/dist/window/window-host.svelte.d.ts +17 -1
  1080. package/dist/window/window-host.svelte.d.ts.map +1 -1
  1081. package/dist/window/window-host.svelte.js +52 -4
  1082. package/dist/window/window-host.svelte.js.map +1 -1
  1083. package/dist/window/window-state-keeper.d.ts +49 -0
  1084. package/dist/window/window-state-keeper.d.ts.map +1 -0
  1085. package/dist/window/window-state-keeper.js +164 -0
  1086. package/dist/window/window-state-keeper.js.map +1 -0
  1087. package/dist/window/window-state.d.ts +83 -0
  1088. package/dist/window/window-state.d.ts.map +1 -0
  1089. package/dist/window/window-state.js +155 -0
  1090. package/dist/window/window-state.js.map +1 -0
  1091. package/dist/winui.d.ts +2 -0
  1092. package/dist/winui.d.ts.map +1 -1
  1093. package/dist/winui.js +2 -0
  1094. package/dist/winui.js.map +1 -1
  1095. package/package.json +99 -1
  1096. package/src/accessibility/announce.ts +67 -0
  1097. package/src/accessibility/audit/audit-tree.ts +199 -0
  1098. package/src/accessibility/audit/contrast.ts +149 -0
  1099. package/src/accessibility/audit/index.ts +27 -0
  1100. package/src/accessibility/audit/rules.ts +110 -0
  1101. package/src/accessibility/audit/visual-tree-host.ts +179 -0
  1102. package/src/accessibility/index.ts +8 -0
  1103. package/src/accessibility/live-priority.ts +32 -0
  1104. package/src/accessibility/live-region.ts +27 -0
  1105. package/src/accessibility/notification.ts +35 -0
  1106. package/src/app/activate.ts +88 -0
  1107. package/src/app/activation/classify.ts +130 -0
  1108. package/src/app/activation/command.ts +83 -0
  1109. package/src/app/activation/context.ts +29 -0
  1110. package/src/app/activation/index.ts +10 -0
  1111. package/src/app/activation/kinds.ts +63 -0
  1112. package/src/app/activation/login.ts +90 -0
  1113. package/src/app/activation/native.ts +301 -0
  1114. package/src/app/activation/protocol-handlers.ts +83 -0
  1115. package/src/app/activation/receive.ts +106 -0
  1116. package/src/app/activation/registration.ts +305 -0
  1117. package/src/app/activation/registry.ts +26 -0
  1118. package/src/app/activation/scheme.ts +115 -0
  1119. package/src/app/hotkeys/errors.ts +30 -0
  1120. package/src/app/hotkeys/index.ts +76 -0
  1121. package/src/app/hotkeys/keys.ts +194 -0
  1122. package/src/app/hotkeys/native.ts +36 -0
  1123. package/src/app/hotkeys/registry.ts +153 -0
  1124. package/src/app/index.ts +6 -0
  1125. package/src/app/launch-command.ts +80 -0
  1126. package/src/app/native.ts +58 -0
  1127. package/src/app/notification-schedule.ts +25 -0
  1128. package/src/app/notification-source.ts +23 -8
  1129. package/src/app/notify.ts +65 -10
  1130. package/src/app/relaunch.ts +79 -0
  1131. package/src/app/restart-after-crash.ts +111 -0
  1132. package/src/app/schedule-bindings.ts +3 -0
  1133. package/src/app/windows-time.ts +13 -0
  1134. package/src/components/convert.ts +3 -2
  1135. package/src/components/generated/bindings.ts +1 -0
  1136. package/src/components/generated/enums.ts +3 -0
  1137. package/src/components/index.ts +1 -1
  1138. package/src/components/runtime.svelte.ts +18 -6
  1139. package/src/composition/animate.ts +263 -0
  1140. package/src/composition/expression.ts +492 -0
  1141. package/src/composition/index.ts +36 -0
  1142. package/src/composition/property-set.ts +104 -0
  1143. package/src/composition/spring.ts +57 -0
  1144. package/src/composition/targets.ts +74 -0
  1145. package/src/css/API.md +321 -2
  1146. package/src/css/index.ts +2 -0
  1147. package/src/css/parse/box-shadow.ts +90 -0
  1148. package/src/css/parse/filters.ts +1 -1
  1149. package/src/css/parse/parser.ts +1 -1
  1150. package/src/css/parse/scroll-timeline.ts +373 -0
  1151. package/src/css/runtime/resources.ts +2 -2
  1152. package/src/css/runtime/runtime.ts +52 -16
  1153. package/src/css/runtime/sheet-module.ts +31 -11
  1154. package/src/css/runtime/visual-state-native.ts +161 -0
  1155. package/src/css/runtime/visual-states.ts +117 -0
  1156. package/src/css/scroll-timeline.ts +12 -0
  1157. package/src/css/shadow.ts +12 -0
  1158. package/src/css/translate/animation-properties.ts +240 -15
  1159. package/src/css/translate/build-shorthands.ts +5 -3
  1160. package/src/css/translate/cascade.ts +5 -1
  1161. package/src/css/translate/easing.ts +5 -0
  1162. package/src/css/translate/font-face.ts +97 -0
  1163. package/src/css/translate/handled-members.ts +16 -0
  1164. package/src/css/translate/lazy-groups.ts +43 -1
  1165. package/src/css/translate/linked-tracks.ts +56 -0
  1166. package/src/css/translate/scroll-link.ts +317 -0
  1167. package/src/css/translate/scroll-timeline-properties.ts +222 -0
  1168. package/src/css/translate/shadow-mode.ts +29 -0
  1169. package/src/css/translate/shadow-properties.ts +199 -0
  1170. package/src/css/translate/shorthands.ts +4 -3
  1171. package/src/css/translate/state-properties.ts +151 -0
  1172. package/src/css/translate/surface-properties.ts +22 -17
  1173. package/src/css/translate/translate.ts +69 -17
  1174. package/src/css/translate/type-ramp.ts +65 -0
  1175. package/src/css/translate/types.ts +8 -0
  1176. package/src/css/translate/typography-properties.ts +533 -0
  1177. package/src/css/translate/unsupported-properties.ts +8 -1
  1178. package/src/css/translate/view-transition-properties.ts +70 -0
  1179. package/src/css/translate/winui-only-properties.ts +16 -1
  1180. package/src/css/typography.ts +6 -0
  1181. package/src/css/validate/vscode-data.ts +44 -0
  1182. package/src/css/view-transition.ts +13 -0
  1183. package/src/css/visual-states.ts +17 -0
  1184. package/src/devices/bindings.ts +4 -1
  1185. package/src/devices/displays.svelte.ts +2 -1
  1186. package/src/devices/live.svelte.ts +4 -54
  1187. package/src/devices/power.svelte.ts +51 -0
  1188. package/src/devices/power.ts +12 -3
  1189. package/src/devices/subscription.ts +60 -0
  1190. package/src/devices/system-power.ts +95 -0
  1191. package/src/enums.ts +11 -1
  1192. package/src/font-files.ts +68 -0
  1193. package/src/font-registry.ts +79 -0
  1194. package/src/font-spelling.ts +29 -0
  1195. package/src/index.ts +2 -0
  1196. package/src/input/active-element.svelte.ts +44 -0
  1197. package/src/input/dom-event.ts +121 -0
  1198. package/src/input/events.ts +272 -0
  1199. package/src/input/focused-element.ts +34 -0
  1200. package/src/input/index.ts +12 -0
  1201. package/src/input/key-names.ts +231 -0
  1202. package/src/input/keyboard-fields.ts +71 -0
  1203. package/src/input/move-focus.ts +35 -0
  1204. package/src/input/pointer-capture.ts +92 -0
  1205. package/src/input/pointer-fields.ts +212 -0
  1206. package/src/input/pointer-routes.ts +16 -0
  1207. package/src/input/trap-focus.ts +56 -0
  1208. package/src/key-code.ts +139 -0
  1209. package/src/messaging/page.ts +61 -0
  1210. package/src/messaging/web-view2/cookies.ts +109 -0
  1211. package/src/messaging/web-view2/core.ts +126 -0
  1212. package/src/messaging/web-view2/index.ts +14 -0
  1213. package/src/messaging/web-view2/policy.ts +127 -0
  1214. package/src/messaging/web-view2/transport.ts +137 -0
  1215. package/src/notice/index.ts +3 -0
  1216. package/src/notice/native.ts +48 -0
  1217. package/src/notice/notice.ts +148 -0
  1218. package/src/renderer/host/connected-configuration.ts +49 -0
  1219. package/src/renderer/host/control.ts +7 -2
  1220. package/src/renderer/host/element-animation.ts +2 -16
  1221. package/src/renderer/host/glide-height.ts +147 -0
  1222. package/src/renderer/host/implicit-layout-animation.ts +190 -0
  1223. package/src/renderer/host/motion-preference.ts +31 -0
  1224. package/src/renderer/host/view-transition-names.ts +30 -0
  1225. package/src/settings/SettingsCard.d.svelte.ts +12 -0
  1226. package/src/settings/SettingsExpander.d.svelte.ts +12 -0
  1227. package/src/settings/index.ts +9 -0
  1228. package/src/settings/settings-context.ts +13 -0
  1229. package/src/settings/settings-props.ts +57 -0
  1230. package/src/store/bindings.ts +11 -0
  1231. package/src/store/identity.ts +36 -0
  1232. package/src/store/index.ts +21 -0
  1233. package/src/store/license.ts +136 -0
  1234. package/src/store/packages.ts +94 -0
  1235. package/src/store/reply.ts +29 -0
  1236. package/src/store/startup.ts +29 -0
  1237. package/src/store/states.ts +72 -0
  1238. package/src/store/types.ts +122 -0
  1239. package/src/store/updates.ts +29 -0
  1240. package/src/store/window-interop.ts +40 -0
  1241. package/src/store/windows-backend.ts +27 -0
  1242. package/src/store/windows-identity.ts +58 -0
  1243. package/src/store/windows-packages.ts +91 -0
  1244. package/src/store/windows-store.ts +126 -0
  1245. package/src/tray/exit-hook.ts +13 -0
  1246. package/src/tray/native.ts +5 -41
  1247. package/src/tray/standalone/index.ts +16 -0
  1248. package/src/tray/standalone/native.ts +144 -0
  1249. package/src/tray/standalone/standalone-tray.ts +124 -0
  1250. package/src/tray/tray-icon.ts +3 -8
  1251. package/src/web-apis/animations.ts +4 -31
  1252. package/src/web-apis/atomic-file.ts +36 -0
  1253. package/src/web-apis/badge-glyph.ts +18 -0
  1254. package/src/web-apis/badging.ts +37 -19
  1255. package/src/web-apis/fonts.ts +277 -0
  1256. package/src/web-apis/keyframe-input.ts +43 -0
  1257. package/src/web-apis/notification.ts +114 -4
  1258. package/src/web-apis/page.ts +70 -8
  1259. package/src/web-apis/scroll-timeline.ts +544 -0
  1260. package/src/web-apis/view-transitions.ts +409 -0
  1261. package/src/web-apis/web-storage.ts +2 -35
  1262. package/src/web-apis/window-controls-overlay.ts +213 -0
  1263. package/src/win2d/child-slot.ts +43 -0
  1264. package/src/win2d/context-2d/pointer-events.ts +14 -119
  1265. package/src/win2d/element-lifecycle.ts +97 -0
  1266. package/src/win2d/element-shadow.ts +167 -0
  1267. package/src/win2d/element-visual.ts +19 -84
  1268. package/src/win2d/scroll-host.ts +364 -0
  1269. package/src/win2d/scroll-link.ts +227 -0
  1270. package/src/win2d/shadow-geometry.ts +98 -0
  1271. package/src/win2d/shadow-host.ts +26 -0
  1272. package/src/win2d/shadow-receivers.ts +82 -0
  1273. package/src/win32-calls.ts +6 -2
  1274. package/src/win32-icons.ts +162 -0
  1275. package/src/window/apply-chrome.ts +22 -0
  1276. package/src/window/badge-icon.ts +234 -0
  1277. package/src/window/chrome.ts +12 -0
  1278. package/src/window/index.ts +1 -1
  1279. package/src/window/message-hooks.ts +63 -0
  1280. package/src/window/message-pump.ts +8 -1
  1281. package/src/window/native.ts +162 -6
  1282. package/src/window/reduced-motion.ts +14 -0
  1283. package/src/window/system-dispatcher-queue.ts +61 -0
  1284. package/src/window/taskbar-calls.ts +111 -0
  1285. package/src/window/taskbar-native.ts +140 -0
  1286. package/src/window/taskbar.ts +174 -0
  1287. package/src/window/transparent-backdrop.ts +38 -1
  1288. package/src/window/window-handle.ts +36 -0
  1289. package/src/window/window-host.svelte.ts +90 -4
  1290. package/src/window/window-state-keeper.ts +205 -0
  1291. package/src/window/window-state.ts +207 -0
  1292. package/src/winui.ts +2 -0
  1293. package/web-types.json +7482 -37
@@ -1 +1 @@
1
- {"version":3,"file":"badging.js","sourceRoot":"","sources":["../../src/web-apis/badging.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAC;AACvD,OAAO,EAAE,sBAAsB,EAAE,MAAM,qEAAqE,CAAC;AAC7G,OAAO,EAAE,wBAAwB,EAAE,MAAM,uEAAuE,CAAC;AAEjH,kFAAkF;AAClF,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,IAAI,EAAE,MAAM;IACZ,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,WAAW,EAAE,YAAY;IACzB,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB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AAC;IACrC,CAAC;IAED,MAAM,YAAY,GAAG;QACnB,uBAAuB,CAAC;YACtB,IAAI,EAAE,aAAa;YACnB,KAAK,EAAE,WAAW;SACnB,CAAC;QACF,uBAAuB,CAAC;YACtB,IAAI,EAAE,eAAe;YACrB,KAAK,EAAE,KAAK,IAAI,EAAE,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;SAC9C,CAAC;QACF,uBAAuB,CAAC;YACtB,IAAI,EAAE,kBAAkB;YACxB,KAAK,EAAE,gBAAgB;SACxB,CAAC;KACH,CAAC;IACF,OAAO,GAAG,EAAE;QACV,KAAK,MAAM,SAAS,IAAI,YAAY,CAAC,OAAO,EAAE,EAAE,CAAC;YAC/C,SAAS,EAAE,CAAC;QACd,CAAC;IACH,CAAC,CAAC;AACJ,CAAC"}
@@ -72,7 +72,7 @@ export interface ContactsInstallOptions {
72
72
  * @returns The chooser.
73
73
  */
74
74
  export declare function windowsContactChooser(): {
75
- properties: ("name" | "address" | "email" | "tel")[];
75
+ properties: ("name" | "address" | "tel" | "email")[];
76
76
  isSupported(): Promise<boolean>;
77
77
  choose({ isMultiple, commitButtonText }: ContactChoice): Promise<{
78
78
  names: string[];
@@ -0,0 +1,113 @@
1
+ /** The values of `FontFace.status` and `FontFaceSet.status`. */
2
+ export declare const FontLoadStatus: {
3
+ readonly UNLOADED: "unloaded";
4
+ readonly LOADING: "loading";
5
+ readonly LOADED: "loaded";
6
+ readonly ERROR: "error";
7
+ };
8
+ /** One of the values of `FontLoadStatus`. */
9
+ export type FontLoadStatus = (typeof FontLoadStatus)[keyof typeof FontLoadStatus];
10
+ /** The descriptors a `FontFace` is given and reads back. */
11
+ export interface FontFaceDescriptors {
12
+ style?: string;
13
+ weight?: string;
14
+ stretch?: string;
15
+ unicodeRange?: string;
16
+ display?: string;
17
+ }
18
+ /**
19
+ * The web `FontFace`: a font family and the font file (`url(...)`, a path or
20
+ * a `file:` URL) or bytes it comes from. `load()` registers the file under
21
+ * the family; `document.fonts.add(face)` does the same at once. A relative
22
+ * path is relative to the working folder.
23
+ */
24
+ export declare class FontFace {
25
+ readonly family: string;
26
+ style: string;
27
+ weight: string;
28
+ stretch: string;
29
+ unicodeRange: string;
30
+ display: string;
31
+ readonly loaded: Promise<FontFace>;
32
+ private currentStatus;
33
+ private readonly source;
34
+ private readonly settle;
35
+ constructor(family: string, source: string | BufferSource, descriptors?: FontFaceDescriptors);
36
+ /** `"unloaded"`, `"loading"`, `"loaded"` or `"error"`. */
37
+ get status(): FontLoadStatus;
38
+ /**
39
+ * Registers the font file under the family.
40
+ *
41
+ * @returns This face once the family is usable.
42
+ * @throws {DOMException} `NetworkError` (as a rejection) when there is no such file.
43
+ */
44
+ load(): Promise<FontFace>;
45
+ }
46
+ /** The web `FontFaceSet` (`document.fonts`): the faces added, whose families the app can use. */
47
+ export declare class FontFaceSet {
48
+ readonly ready: Promise<Awaited<this>>;
49
+ private readonly faces;
50
+ /** The number of faces. */
51
+ get size(): number;
52
+ /** `"loaded"`: a face is registered as it is added. */
53
+ get status(): "loaded";
54
+ /**
55
+ * Adds a face and registers its file now.
56
+ *
57
+ * @param face - The face.
58
+ * @returns This set.
59
+ */
60
+ add(face: FontFace): this;
61
+ /**
62
+ * Removes a face. The family stops resolving to its file; a font WinUI has
63
+ * already loaded stays usable by name for the life of the process.
64
+ *
65
+ * @param face - The face.
66
+ * @returns Whether it was in the set.
67
+ */
68
+ delete(face: FontFace): boolean;
69
+ /**
70
+ * Whether a face is in the set.
71
+ *
72
+ * @param face - The face.
73
+ * @returns True when it is.
74
+ */
75
+ has(face: FontFace): boolean;
76
+ /** Removes every face. */
77
+ clear(): void;
78
+ /**
79
+ * Whether the faces of the set that a font names are all loaded.
80
+ *
81
+ * @param font - A CSS font shorthand or family list.
82
+ * @returns False when a face of the set named in it is not loaded.
83
+ */
84
+ check(font: string): boolean;
85
+ /**
86
+ * Loads the faces of the set that a font names.
87
+ *
88
+ * @param font - A CSS font shorthand or family list.
89
+ * @returns The faces of the set named in it, once loaded.
90
+ */
91
+ load(font: string): Promise<FontFace[]>;
92
+ /**
93
+ * Calls back for every face.
94
+ *
95
+ * @param callback - Called with each face, twice, then this set.
96
+ */
97
+ forEach(callback: (face: FontFace, again: FontFace, set: FontFaceSet) => void): void;
98
+ values(): SetIterator<FontFace>;
99
+ [Symbol.iterator](): SetIterator<FontFace>;
100
+ private matching;
101
+ }
102
+ /**
103
+ * Defines `FontFace` on the global scope and `document.fonts`, a `FontFaceSet`
104
+ * whose faces are font files of the app (`new FontFace("Face", "url(./Face.ttf)")`
105
+ * then `document.fonts.add(face)`). A family added is then usable in a style
106
+ * sheet's `font-family` and in a `fontFamily` prop. Add the face before the
107
+ * control that uses it is created. A `document` of the page module is reused;
108
+ * without one a minimal one is defined.
109
+ *
110
+ * @returns A function that removes them again.
111
+ */
112
+ export declare function installFontFaces(): () => void;
113
+ //# sourceMappingURL=fonts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fonts.d.ts","sourceRoot":"","sources":["../../src/web-apis/fonts.ts"],"names":[],"mappings":"AAsBA,gEAAgE;AAChE,eAAO,MAAM,cAAc;;;;;CAKjB,CAAC;AACX,6CAA6C;AAC7C,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,OAAO,cAAc,CAAC,CAAC;AAElF,4DAA4D;AAC5D,MAAM,WAAW,mBAAmB;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAmBD;;;;;GAKG;AACH,qBAAa,QAAQ;IACnB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,M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rorName, domException } from "./dom-exception.js";
3
+ import { defineProperty } from "./install.js";
4
+ import { registerFont } from "../font-files.js";
5
+ import { unregisterFont } from "../font-registry.js";
6
+ import { createHash } from "node:crypto";
7
+ import { mkdirSync, writeFileSync } from "node:fs";
8
+ import { tmpdir } from "node:os";
9
+ import path from "node:path";
10
+ // FontFace and document.fonts over the font registry: a face whose source is
11
+ // a font file (or the bytes of one) registers the file under its family, and
12
+ // the family then resolves wherever a font family is written. WinUI takes the
13
+ // weight, style and width of a face from the font file itself, so the
14
+ // descriptors are kept and read back but choose nothing.
15
+ const URL_SOURCE = /^url\(\s*(?:"([^"]*)"|'([^']*)'|([^)]*?))\s*\)$/iu;
16
+ const BYTES_FOLDER = "winui-svelte-fonts";
17
+ const BYTES_EXTENSION = ".ttf";
18
+ const HASH_ALGORITHM = "sha1";
19
+ const DOCUMENT_PROPERTY = "document";
20
+ /** The values of `FontFace.status` and `FontFaceSet.status`. */
21
+ export const FontLoadStatus = {
22
+ UNLOADED: "unloaded",
23
+ LOADING: "loading",
24
+ LOADED: "loaded",
25
+ ERROR: "error"
26
+ };
27
+ function fileOfSource(source) {
28
+ const match = URL_SOURCE.exec(source.trim());
29
+ const written = match?.slice(1).find(group => group !== undefined) ?? source;
30
+ return written.trim();
31
+ }
32
+ // A face made from bytes has no file to point at, so the bytes get one, named by their hash.
33
+ function fileOfBytes(source) {
34
+ const bytes = bytesOfBufferSource(source);
35
+ const name = createHash(HASH_ALGORITHM).update(bytes).digest("hex");
36
+ const folder = path.join(tmpdir(), BYTES_FOLDER);
37
+ mkdirSync(folder, { recursive: true });
38
+ const file = path.join(folder, `${name}${BYTES_EXTENSION}`);
39
+ writeFileSync(file, bytes);
40
+ return file;
41
+ }
42
+ /**
43
+ * The web `FontFace`: a font family and the font file (`url(...)`, a path or
44
+ * a `file:` URL) or bytes it comes from. `load()` registers the file under
45
+ * the family; `document.fonts.add(face)` does the same at once. A relative
46
+ * path is relative to the working folder.
47
+ */
48
+ export class FontFace {
49
+ family;
50
+ style;
51
+ weight;
52
+ stretch;
53
+ unicodeRange;
54
+ display;
55
+ loaded;
56
+ currentStatus = FontLoadStatus.UNLOADED;
57
+ source;
58
+ settle = Promise.withResolvers();
59
+ constructor(family, source, descriptors = {}) {
60
+ this.family = family;
61
+ this.source = source;
62
+ this.style = descriptors.style ?? "normal";
63
+ this.weight = descriptors.weight ?? "normal";
64
+ this.stretch = descriptors.stretch ?? "normal";
65
+ this.unicodeRange = descriptors.unicodeRange ?? "U+0-10FFFF";
66
+ this.display = descriptors.display ?? "auto";
67
+ this.loaded = this.settle.promise;
68
+ // A face nobody awaits, but whose load failed, is not an unhandled rejection.
69
+ this.loaded.catch(() => undefined);
70
+ }
71
+ /** `"unloaded"`, `"loading"`, `"loaded"` or `"error"`. */
72
+ get status() {
73
+ return this.currentStatus;
74
+ }
75
+ /**
76
+ * Registers the font file under the family.
77
+ *
78
+ * @returns This face once the family is usable.
79
+ * @throws {DOMException} `NetworkError` (as a rejection) when there is no such file.
80
+ */
81
+ load() {
82
+ const isSettled = this.currentStatus === FontLoadStatus.LOADED || this.currentStatus === FontLoadStatus.ERROR;
83
+ if (isSettled) {
84
+ return this.loaded;
85
+ }
86
+ this.currentStatus = FontLoadStatus.LOADING;
87
+ try {
88
+ const isBytes = typeof this.source !== "string";
89
+ registerFont({
90
+ family: this.family,
91
+ source: isBytes ? fileOfBytes(this.source) : fileOfSource(this.source)
92
+ });
93
+ this.currentStatus = FontLoadStatus.LOADED;
94
+ this.settle.resolve(this);
95
+ }
96
+ catch (error) {
97
+ this.currentStatus = FontLoadStatus.ERROR;
98
+ this.settle.reject(domException({
99
+ name: DomErrorName.NETWORK,
100
+ message: error instanceof Error ? error.message : String(error)
101
+ }));
102
+ }
103
+ return this.loaded;
104
+ }
105
+ }
106
+ /** The web `FontFaceSet` (`document.fonts`): the faces added, whose families the app can use. */
107
+ export class FontFaceSet {
108
+ ready = Promise.resolve(this);
109
+ faces = new Set();
110
+ /** The number of faces. */
111
+ get size() {
112
+ return this.faces.size;
113
+ }
114
+ /** `"loaded"`: a face is registered as it is added. */
115
+ get status() {
116
+ return FontLoadStatus.LOADED;
117
+ }
118
+ /**
119
+ * Adds a face and registers its file now.
120
+ *
121
+ * @param face - The face.
122
+ * @returns This set.
123
+ */
124
+ add(face) {
125
+ this.faces.add(face);
126
+ void face.load();
127
+ return this;
128
+ }
129
+ /**
130
+ * Removes a face. The family stops resolving to its file; a font WinUI has
131
+ * already loaded stays usable by name for the life of the process.
132
+ *
133
+ * @param face - The face.
134
+ * @returns Whether it was in the set.
135
+ */
136
+ delete(face) {
137
+ const isAdded = this.faces.delete(face);
138
+ if (isAdded) {
139
+ unregisterFont(face.family);
140
+ }
141
+ return isAdded;
142
+ }
143
+ /**
144
+ * Whether a face is in the set.
145
+ *
146
+ * @param face - The face.
147
+ * @returns True when it is.
148
+ */
149
+ has(face) {
150
+ return this.faces.has(face);
151
+ }
152
+ /** Removes every face. */
153
+ clear() {
154
+ for (const face of this.faces) {
155
+ this.delete(face);
156
+ }
157
+ }
158
+ /**
159
+ * Whether the faces of the set that a font names are all loaded.
160
+ *
161
+ * @param font - A CSS font shorthand or family list.
162
+ * @returns False when a face of the set named in it is not loaded.
163
+ */
164
+ check(font) {
165
+ return this.matching(font).every(face => face.status === FontLoadStatus.LOADED);
166
+ }
167
+ /**
168
+ * Loads the faces of the set that a font names.
169
+ *
170
+ * @param font - A CSS font shorthand or family list.
171
+ * @returns The faces of the set named in it, once loaded.
172
+ */
173
+ async load(font) {
174
+ const faces = this.matching(font);
175
+ await Promise.all(faces.map(face => face.load()));
176
+ return faces;
177
+ }
178
+ /**
179
+ * Calls back for every face.
180
+ *
181
+ * @param callback - Called with each face, twice, then this set.
182
+ */
183
+ forEach(callback) {
184
+ for (const face of this.faces) {
185
+ callback(face, face, this);
186
+ }
187
+ }
188
+ values() {
189
+ return this.faces.values();
190
+ }
191
+ [Symbol.iterator]() {
192
+ return this.faces.values();
193
+ }
194
+ matching(font) {
195
+ const text = font.toLowerCase();
196
+ return [...this.faces].filter(face => text.includes(face.family.toLowerCase()));
197
+ }
198
+ }
199
+ /**
200
+ * Defines `FontFace` on the global scope and `document.fonts`, a `FontFaceSet`
201
+ * whose faces are font files of the app (`new FontFace("Face", "url(./Face.ttf)")`
202
+ * then `document.fonts.add(face)`). A family added is then usable in a style
203
+ * sheet's `font-family` and in a `fontFamily` prop. Add the face before the
204
+ * control that uses it is created. A `document` of the page module is reused;
205
+ * without one a minimal one is defined.
206
+ *
207
+ * @returns A function that removes them again.
208
+ */
209
+ export function installFontFaces() {
210
+ const fonts = new FontFaceSet();
211
+ const hasDocument = typeof globalThis.document === "object";
212
+ const target = hasDocument ? globalThis.document : {};
213
+ const restores = [
214
+ defineProperty({
215
+ name: "FontFace",
216
+ value: FontFace
217
+ }),
218
+ defineProperty({
219
+ name: "fonts",
220
+ value: fonts,
221
+ target
222
+ })
223
+ ];
224
+ if (!hasDocument) {
225
+ restores.push(defineProperty({
226
+ name: DOCUMENT_PROPERTY,
227
+ value: target
228
+ }));
229
+ }
230
+ return () => {
231
+ fonts.clear();
232
+ for (const restore of restores.reverse()) {
233
+ restore();
234
+ }
235
+ };
236
+ }
237
+ //# sourceMappingURL=fonts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fonts.js","sourceRoot":"","sources":["../../src/web-apis/fonts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACnD,O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E,MAAM;SACd,CAAC,CACH,CAAC;IACJ,CAAC;IAED,OAAO,GAAG,EAAE;QACV,KAAK,CAAC,KAAK,EAAE,CAAC;QACd,KAAK,MAAM,OAAO,IAAI,QAAQ,CAAC,OAAO,EAAE,EAAE,CAAC;YACzC,OAAO,EAAE,CAAC;QACZ,CAAC;IACH,CAAC,CAAC;AACJ,CAAC"}
@@ -224,7 +224,7 @@ export declare function windowsGeolocationBackend(): {
224
224
  heading: number | null;
225
225
  speed: number | null;
226
226
  timestamp: number;
227
- positionSource: "unknown" | "default" | "cellular" | "satellite" | "wifi" | "ip-address" | "obfuscated";
227
+ positionSource: "default" | "unknown" | "cellular" | "satellite" | "wifi" | "ip-address" | "obfuscated";
228
228
  isRemoteSource: boolean;
229
229
  satelliteData: {
230
230
  positionDilutionOfPrecision: number | null;
@@ -0,0 +1,15 @@
1
+ import type { Keyframe } from "../renderer/host/keyframes.js";
2
+ type PropertyValues = ReadonlyArray<string | number | null> | string | number | null;
3
+ /** The keyframes of `animate()`: a list of them, or properties with the list of their values. */
4
+ export type KeyframeInput = readonly Keyframe[] | Record<string, PropertyValues>;
5
+ /**
6
+ * The keyframes of `animate()` as a list of keyframes, whichever form they were written in.
7
+ *
8
+ * @param input - A list of keyframes, an object of property value lists, or null.
9
+ * @returns One object for each keyframe.
10
+ */
11
+ export declare function normalizeKeyframes(input: KeyframeInput | null): {
12
+ [x: string]: string | number | null | undefined;
13
+ }[];
14
+ export {};
15
+ //# sourceMappingURL=keyframe-input.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keyframe-input.d.ts","sourceRoot":"","sources":["../../src/web-apis/keyframe-input.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAQhE,KAAK,cAAc,GAAG,aAAa,CAAC,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;AAErF,iGAAiG;AACjG,MAAM,MAAM,aAAa,GAAG,SAAS,QAAQ,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;AAMjF;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,aAAa,GAAG,IAAI;;IAmB7D"}
@@ -0,0 +1,30 @@
1
+ // The keyframes of `animate()` as the web writes them: a list of keyframes, or
2
+ // an object of property value lists. The Web Animations API and the scroll
3
+ // timelines read them alike.
4
+ const KEYFRAME_OFFSET = "offset";
5
+ function isKeyframeList(input) {
6
+ return Array.isArray(input);
7
+ }
8
+ /**
9
+ * The keyframes of `animate()` as a list of keyframes, whichever form they were written in.
10
+ *
11
+ * @param input - A list of keyframes, an object of property value lists, or null.
12
+ * @returns One object for each keyframe.
13
+ */
14
+ export function normalizeKeyframes(input) {
15
+ const isEmpty = input === null;
16
+ if (isEmpty) {
17
+ return [];
18
+ }
19
+ if (isKeyframeList(input)) {
20
+ return input.map(keyframe => ({ ...keyframe }));
21
+ }
22
+ const properties = Object.entries(input).filter(([name]) => name !== KEYFRAME_OFFSET);
23
+ const lists = properties.map(([name, values]) => [name, [values].flat()]);
24
+ const count = Math.max(0, ...lists.map(([, values]) => values.length));
25
+ return Array.from({ length: count }, (_, i) => Object.fromEntries(lists.flatMap(([name, values]) => {
26
+ const value = values[Math.min(i, values.length - 1)];
27
+ return value === undefined ? [] : [[name, value]];
28
+ })));
29
+ }
30
+ //# sourceMappingURL=keyframe-input.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keyframe-input.js","sourceRoot":"","sources":["../../src/web-apis/keyframe-input.ts"],"names":[],"mappings":"AAEA,+EAA+E;AAC/E,2EAA2E;AAC3E,6BAA6B;AAE7B,MAAM,eAAe,GAAG,QAAQ,CAAC;AAOjC,SAAS,cAAc,CAAC,KAAoB;IAC1C,OAAO,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;AAC9B,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,kBAAk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AAK,CAAC,CAAC,CAAC;IACpD,CAAC,CAAC,CACH,CAAC,CAAC;AACL,CAAC"}
@@ -8,6 +8,11 @@ export declare const NotificationPermission: {
8
8
  };
9
9
  /** One of the values of `NotificationPermission`. */
10
10
  export type NotificationPermission = (typeof NotificationPermission)[keyof typeof NotificationPermission];
11
+ /** When a scheduled notification shows: milliseconds since 1970, as `Date.now()` counts. */
12
+ export declare class TimestampTrigger {
13
+ readonly timestamp: number;
14
+ constructor(timestamp: number);
15
+ }
11
16
  /** A button of the standard `actions` list. */
12
17
  export interface NotificationAction {
13
18
  readonly action: string;
@@ -61,6 +66,12 @@ export interface NotificationExtras {
61
66
  readonly audio?: NotificationSound;
62
67
  /** Small text naming the source, at the bottom. */
63
68
  readonly attribution?: string;
69
+ /**
70
+ * Shows the notification at a moment, even if the app has exited by then
71
+ * (`new TimestampTrigger(Date.now() + 60_000)`). Only a process with package
72
+ * identity can schedule; without it the constructor throws `NotSupportedError`.
73
+ */
74
+ readonly showTrigger?: TimestampTrigger;
64
75
  }
65
76
  /** The standard options of `new Notification(title, options)`, with the extras. */
66
77
  export interface NotificationInit extends NotificationExtras {
@@ -143,6 +154,7 @@ export declare class Notification extends HandlerEventTarget {
143
154
  private currentProgress;
144
155
  private sequence;
145
156
  private platformId;
157
+ private scheduled;
146
158
  private isClosed;
147
159
  /**
148
160
  * Shows a notification once the permission is granted; before that an
@@ -165,6 +177,12 @@ export declare class Notification extends HandlerEventTarget {
165
177
  * @returns The permission.
166
178
  */
167
179
  static requestPermission(callback?: (permission: NotificationPermission) => void): Promise<"denied" | "granted">;
180
+ /**
181
+ * Removes every notification of this app from the screen and the
182
+ * notification center, including ones an earlier run showed, and fires
183
+ * `close` on those this run still holds. WinUI-only.
184
+ */
185
+ static closeAll(): Promise<void>;
168
186
  get onclick(): EventListener | null;
169
187
  set onclick(handler: EventListener | null);
170
188
  get onshow(): EventListener | null;
@@ -188,6 +206,8 @@ export declare class Notification extends HandlerEventTarget {
188
206
  update(changes: {
189
207
  progress: NotificationProgress;
190
208
  }): Promise<void>;
209
+ /** Whether Windows still holds this notification, given the ids it listed; not for apps. */
210
+ isListedIn(ids: ReadonlySet<number>): boolean;
191
211
  /** Called with a click on the notification; not for apps. */
192
212
  activate({ action, readInput }: {
193
213
  action: string;
@@ -199,11 +219,38 @@ export declare class Notification extends HandlerEventTarget {
199
219
  private argumentsFor;
200
220
  private controls;
201
221
  private present;
222
+ private schedule;
202
223
  private replacePrevious;
203
224
  private spec;
204
225
  }
205
226
  /**
206
- * Defines `globalThis.Notification` and answers the Permissions API's
227
+ * The notification members of a `ServiceWorkerRegistration`, for code that
228
+ * lists the notifications it showed. There is no service worker here:
229
+ * `notificationRegistration()` is the object to hand such code.
230
+ */
231
+ export declare class NotificationRegistration {
232
+ /**
233
+ * The notifications this run showed that Windows still holds (on screen or
234
+ * in the notification center), so one the user dismissed is not listed.
235
+ * One an earlier run showed is not listed either: `Notification.closeAll()`
236
+ * removes those. A scheduled notification is listed once it has shown, which
237
+ * only the platform knows, so it is not listed here.
238
+ *
239
+ * @param filter - Only the notifications with this `tag`.
240
+ * @returns The notifications.
241
+ */
242
+ getNotifications(filter?: {
243
+ tag?: string;
244
+ }): Promise<Notification[]>;
245
+ }
246
+ /**
247
+ * The registration that lists the notifications; needs `installNotification()`.
248
+ *
249
+ * @returns The registration.
250
+ */
251
+ export declare function notificationRegistration(): NotificationRegistration;
252
+ /**
253
+ * Defines `globalThis.Notification` and `TimestampTrigger`, and answers the Permissions API's
207
254
  * `notifications`. Nothing is defined until this is called; call it on the
208
255
  * thread the app's code runs on.
209
256
  *
@@ -1 +1 @@
1
- {"version":3,"file":"notification.d.ts","sourceRoot":"","sources":["../../src/web-apis/notification.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAKzD,OAAO,KAAK,EACV,mBAAmB,EACnB,uBAAuB,EACvB,kBAAkB,EAElB,oBAAoB,EAEpB,oBAAoB,EACpB,oBAA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