winui-svelte 0.0.3 → 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.
- package/API.md +1267 -21
- package/README.md +178 -101
- package/dist/accessibility/announce.d.ts +22 -0
- package/dist/accessibility/announce.d.ts.map +1 -0
- package/dist/accessibility/announce.js +52 -0
- package/dist/accessibility/announce.js.map +1 -0
- package/dist/accessibility/audit/accessibility-rules.json +100 -0
- package/dist/accessibility/audit/audit-tree.d.ts +48 -0
- package/dist/accessibility/audit/audit-tree.d.ts.map +1 -0
- package/dist/accessibility/audit/audit-tree.js +125 -0
- package/dist/accessibility/audit/audit-tree.js.map +1 -0
- package/dist/accessibility/audit/contrast.d.ts +65 -0
- package/dist/accessibility/audit/contrast.d.ts.map +1 -0
- package/dist/accessibility/audit/contrast.js +120 -0
- package/dist/accessibility/audit/contrast.js.map +1 -0
- package/dist/accessibility/audit/index.d.ts +19 -0
- package/dist/accessibility/audit/index.d.ts.map +1 -0
- package/dist/accessibility/audit/index.js +22 -0
- package/dist/accessibility/audit/index.js.map +1 -0
- package/dist/accessibility/audit/rules.d.ts +87 -0
- package/dist/accessibility/audit/rules.d.ts.map +1 -0
- package/dist/accessibility/audit/rules.js +67 -0
- package/dist/accessibility/audit/rules.js.map +1 -0
- package/dist/accessibility/audit/visual-tree-host.d.ts +5 -0
- package/dist/accessibility/audit/visual-tree-host.d.ts.map +1 -0
- package/dist/accessibility/audit/visual-tree-host.js +139 -0
- package/dist/accessibility/audit/visual-tree-host.js.map +1 -0
- package/dist/accessibility/index.d.ts +6 -0
- package/dist/accessibility/index.d.ts.map +1 -0
- package/dist/accessibility/index.js +6 -0
- package/dist/accessibility/index.js.map +1 -0
- package/dist/accessibility/live-priority.d.ts +22 -0
- package/dist/accessibility/live-priority.d.ts.map +1 -0
- package/dist/accessibility/live-priority.js +27 -0
- package/dist/accessibility/live-priority.js.map +1 -0
- package/dist/accessibility/live-region.d.ts +16 -0
- package/dist/accessibility/live-region.d.ts.map +1 -0
- package/dist/accessibility/live-region.js +20 -0
- package/dist/accessibility/live-region.js.map +1 -0
- package/dist/accessibility/notification.d.ts +15 -0
- package/dist/accessibility/notification.d.ts.map +1 -0
- package/dist/accessibility/notification.js +28 -0
- package/dist/accessibility/notification.js.map +1 -0
- package/dist/app/activate.d.ts +44 -0
- package/dist/app/activate.d.ts.map +1 -0
- package/dist/app/activate.js +64 -0
- package/dist/app/activate.js.map +1 -0
- package/dist/app/activation/classify.d.ts +41 -0
- package/dist/app/activation/classify.d.ts.map +1 -0
- package/dist/app/activation/classify.js +108 -0
- package/dist/app/activation/classify.js.map +1 -0
- package/dist/app/activation/command.d.ts +41 -0
- package/dist/app/activation/command.d.ts.map +1 -0
- package/dist/app/activation/command.js +63 -0
- package/dist/app/activation/command.js.map +1 -0
- package/dist/app/activation/context.d.ts +23 -0
- package/dist/app/activation/context.d.ts.map +1 -0
- package/dist/app/activation/context.js +15 -0
- package/dist/app/activation/context.js.map +1 -0
- package/dist/app/activation/index.d.ts +11 -0
- package/dist/app/activation/index.d.ts.map +1 -0
- package/dist/app/activation/index.js +5 -0
- package/dist/app/activation/index.js.map +1 -0
- package/dist/app/activation/kinds.d.ts +48 -0
- package/dist/app/activation/kinds.d.ts.map +1 -0
- package/dist/app/activation/kinds.js +9 -0
- package/dist/app/activation/kinds.js.map +1 -0
- package/dist/app/activation/login.d.ts +55 -0
- package/dist/app/activation/login.d.ts.map +1 -0
- package/dist/app/activation/login.js +68 -0
- package/dist/app/activation/login.js.map +1 -0
- package/dist/app/activation/native.d.ts +16 -0
- package/dist/app/activation/native.d.ts.map +1 -0
- package/dist/app/activation/native.js +260 -0
- package/dist/app/activation/native.js.map +1 -0
- package/dist/app/activation/protocol-handlers.d.ts +29 -0
- package/dist/app/activation/protocol-handlers.d.ts.map +1 -0
- package/dist/app/activation/protocol-handlers.js +64 -0
- package/dist/app/activation/protocol-handlers.js.map +1 -0
- package/dist/app/activation/receive.d.ts +44 -0
- package/dist/app/activation/receive.d.ts.map +1 -0
- package/dist/app/activation/receive.js +60 -0
- package/dist/app/activation/receive.js.map +1 -0
- package/dist/app/activation/registration.d.ts +104 -0
- package/dist/app/activation/registration.d.ts.map +1 -0
- package/dist/app/activation/registration.js +240 -0
- package/dist/app/activation/registration.js.map +1 -0
- package/dist/app/activation/registry.d.ts +23 -0
- package/dist/app/activation/registry.d.ts.map +1 -0
- package/dist/app/activation/registry.js +2 -0
- package/dist/app/activation/registry.js.map +1 -0
- package/dist/app/activation/scheme.d.ts +36 -0
- package/dist/app/activation/scheme.d.ts.map +1 -0
- package/dist/app/activation/scheme.js +103 -0
- package/dist/app/activation/scheme.js.map +1 -0
- package/dist/app/hotkeys/errors.d.ts +22 -0
- package/dist/app/hotkeys/errors.d.ts.map +1 -0
- package/dist/app/hotkeys/errors.js +23 -0
- package/dist/app/hotkeys/errors.js.map +1 -0
- package/dist/app/hotkeys/index.d.ts +30 -0
- package/dist/app/hotkeys/index.d.ts.map +1 -0
- package/dist/app/hotkeys/index.js +59 -0
- package/dist/app/hotkeys/index.js.map +1 -0
- package/dist/app/hotkeys/keys.d.ts +43 -0
- package/dist/app/hotkeys/keys.d.ts.map +1 -0
- package/dist/app/hotkeys/keys.js +135 -0
- package/dist/app/hotkeys/keys.js.map +1 -0
- package/dist/app/hotkeys/native.d.ts +10 -0
- package/dist/app/hotkeys/native.d.ts.map +1 -0
- package/dist/app/hotkeys/native.js +35 -0
- package/dist/app/hotkeys/native.js.map +1 -0
- package/dist/app/hotkeys/registry.d.ts +67 -0
- package/dist/app/hotkeys/registry.d.ts.map +1 -0
- package/dist/app/hotkeys/registry.js +85 -0
- package/dist/app/hotkeys/registry.js.map +1 -0
- package/dist/app/index.d.ts +6 -0
- package/dist/app/index.d.ts.map +1 -1
- package/dist/app/index.js +3 -0
- package/dist/app/index.js.map +1 -1
- package/dist/app/launch-command.d.ts +46 -0
- package/dist/app/launch-command.d.ts.map +1 -0
- package/dist/app/launch-command.js +61 -0
- package/dist/app/launch-command.js.map +1 -0
- package/dist/app/native.d.ts +16 -0
- package/dist/app/native.d.ts.map +1 -0
- package/dist/app/native.js +48 -0
- package/dist/app/native.js.map +1 -0
- package/dist/app/notification-schedule.d.ts +16 -0
- package/dist/app/notification-schedule.d.ts.map +1 -0
- package/dist/app/notification-schedule.js +20 -0
- package/dist/app/notification-schedule.js.map +1 -0
- package/dist/app/notification-source.d.ts +13 -0
- package/dist/app/notification-source.d.ts.map +1 -1
- package/dist/app/notification-source.js +22 -7
- package/dist/app/notification-source.js.map +1 -1
- package/dist/app/notify.d.ts +37 -1
- package/dist/app/notify.d.ts.map +1 -1
- package/dist/app/notify.js +30 -10
- package/dist/app/notify.js.map +1 -1
- package/dist/app/relaunch.d.ts +46 -0
- package/dist/app/relaunch.d.ts.map +1 -0
- package/dist/app/relaunch.js +45 -0
- package/dist/app/relaunch.js.map +1 -0
- package/dist/app/restart-after-crash.d.ts +57 -0
- package/dist/app/restart-after-crash.d.ts.map +1 -0
- package/dist/app/restart-after-crash.js +81 -0
- package/dist/app/restart-after-crash.js.map +1 -0
- package/dist/app/schedule-bindings.d.ts +4 -0
- package/dist/app/schedule-bindings.d.ts.map +1 -0
- package/dist/app/schedule-bindings.js +4 -0
- package/dist/app/schedule-bindings.js.map +1 -0
- package/dist/app/windows-time.d.ts +10 -0
- package/dist/app/windows-time.d.ts.map +1 -0
- package/dist/app/windows-time.js +13 -0
- package/dist/app/windows-time.js.map +1 -0
- package/dist/bindings/.dynwinrt-managed +1 -1
- package/dist/bindings/microsoft/ui/input/CharacterReceivedEventArgs.d.ts +40 -0
- package/dist/bindings/microsoft/ui/input/CharacterReceivedEventArgs.js +89 -0
- package/dist/bindings/microsoft/ui/input/ContextMenuKeyEventArgs.d.ts +16 -0
- package/dist/bindings/microsoft/ui/input/ContextMenuKeyEventArgs.js +51 -0
- package/dist/bindings/microsoft/ui/input/IInputKeyboardSource2.d.ts +133 -0
- package/dist/bindings/microsoft/ui/input/IInputKeyboardSource2.js +494 -0
- package/dist/bindings/microsoft/ui/input/InputKeyboardSource.d.ts +102 -0
- package/dist/bindings/microsoft/ui/input/InputKeyboardSource.js +346 -0
- package/dist/bindings/microsoft/ui/input/KeyEventArgs.d.ts +46 -0
- package/dist/bindings/microsoft/ui/input/KeyEventArgs.js +100 -0
- package/dist/bindings/microsoft/ui/input/VirtualKeyStates.d.ts +19 -0
- package/dist/bindings/microsoft/ui/input/VirtualKeyStates.js +20 -0
- package/dist/bindings/microsoft/ui/xaml/automation/AutomationProperty.d.ts +10 -0
- package/dist/bindings/microsoft/ui/xaml/automation/AutomationProperty.js +39 -0
- package/dist/bindings/microsoft/ui/xaml/automation/AutomationTextEditChangeType.d.ts +23 -0
- package/dist/bindings/microsoft/ui/xaml/automation/AutomationTextEditChangeType.js +24 -0
- package/dist/bindings/microsoft/ui/xaml/automation/peers/AutomationEvents.d.ts +127 -0
- package/dist/bindings/microsoft/ui/xaml/automation/peers/AutomationEvents.js +128 -0
- package/dist/bindings/microsoft/ui/xaml/automation/peers/AutomationNavigationDirection.d.ts +27 -0
- package/dist/bindings/microsoft/ui/xaml/automation/peers/AutomationNavigationDirection.js +28 -0
- package/dist/bindings/microsoft/ui/xaml/automation/peers/AutomationNotificationKind.d.ts +27 -0
- package/dist/bindings/microsoft/ui/xaml/automation/peers/AutomationNotificationKind.js +28 -0
- package/dist/bindings/microsoft/ui/xaml/automation/peers/AutomationNotificationProcessing.d.ts +27 -0
- package/dist/bindings/microsoft/ui/xaml/automation/peers/AutomationNotificationProcessing.js +28 -0
- package/dist/bindings/microsoft/ui/xaml/automation/peers/AutomationOrientation.d.ts +19 -0
- package/dist/bindings/microsoft/ui/xaml/automation/peers/AutomationOrientation.js +20 -0
- package/dist/bindings/microsoft/ui/xaml/automation/peers/AutomationPeer.d.ts +373 -0
- package/dist/bindings/microsoft/ui/xaml/automation/peers/AutomationPeer.js +741 -0
- package/dist/bindings/microsoft/ui/xaml/automation/peers/AutomationPeerAnnotation.d.ts +57 -0
- package/dist/bindings/microsoft/ui/xaml/automation/peers/AutomationPeerAnnotation.js +216 -0
- package/dist/bindings/microsoft/ui/xaml/automation/peers/AutomationStructureChangeType.d.ts +31 -0
- package/dist/bindings/microsoft/ui/xaml/automation/peers/AutomationStructureChangeType.js +32 -0
- package/dist/bindings/microsoft/ui/xaml/automation/peers/FrameworkElementAutomationPeer.d.ts +142 -0
- package/dist/bindings/microsoft/ui/xaml/automation/peers/FrameworkElementAutomationPeer.js +531 -0
- package/dist/bindings/microsoft/ui/xaml/automation/peers/IAutomationPeer.d.ts +448 -0
- package/dist/bindings/microsoft/ui/xaml/automation/peers/IAutomationPeer.js +1073 -0
- package/dist/bindings/microsoft/ui/xaml/automation/peers/IAutomationPeerProtected.d.ts +32 -0
- package/dist/bindings/microsoft/ui/xaml/automation/peers/IAutomationPeerProtected.js +138 -0
- package/dist/bindings/microsoft/ui/xaml/automation/peers/PatternInterface.d.ts +143 -0
- package/dist/bindings/microsoft/ui/xaml/automation/peers/PatternInterface.js +144 -0
- package/dist/bindings/microsoft/ui/xaml/automation/provider/IRawElementProviderSimple.d.ts +25 -0
- package/dist/bindings/microsoft/ui/xaml/automation/provider/IRawElementProviderSimple.js +110 -0
- package/dist/bindings/microsoft/ui/xaml/input/FindNextElementOptions.d.ts +52 -0
- package/dist/bindings/microsoft/ui/xaml/input/FindNextElementOptions.js +133 -0
- package/dist/bindings/microsoft/ui/xaml/input/FocusManager.d.ts +159 -0
- package/dist/bindings/microsoft/ui/xaml/input/FocusManager.js +360 -0
- package/dist/bindings/microsoft/ui/xaml/input/FocusManagerGotFocusEventArgs.d.ts +21 -0
- package/dist/bindings/microsoft/ui/xaml/input/FocusManagerGotFocusEventArgs.js +58 -0
- package/dist/bindings/microsoft/ui/xaml/input/FocusManagerLostFocusEventArgs.d.ts +21 -0
- package/dist/bindings/microsoft/ui/xaml/input/FocusManagerLostFocusEventArgs.js +58 -0
- package/dist/bindings/microsoft/ui/xaml/input/FocusMovementResult.d.ts +15 -0
- package/dist/bindings/microsoft/ui/xaml/input/FocusMovementResult.js +47 -0
- package/dist/bindings/microsoft/ui/xaml/input/XYFocusNavigationStrategyOverride.d.ts +27 -0
- package/dist/bindings/microsoft/ui/xaml/input/XYFocusNavigationStrategyOverride.js +28 -0
- package/dist/bindings/microsoft/ui/xaml/media/animation/BasicConnectedAnimationConfiguration.d.ts +11 -0
- package/dist/bindings/microsoft/ui/xaml/media/animation/BasicConnectedAnimationConfiguration.js +62 -0
- package/dist/bindings/microsoft/ui/xaml/media/animation/DirectConnectedAnimationConfiguration.d.ts +11 -0
- package/dist/bindings/microsoft/ui/xaml/media/animation/DirectConnectedAnimationConfiguration.js +62 -0
- package/dist/bindings/microsoft/ui/xaml/media/animation/GravityConnectedAnimationConfiguration.d.ts +17 -0
- package/dist/bindings/microsoft/ui/xaml/media/animation/GravityConnectedAnimationConfiguration.js +74 -0
- package/dist/bindings/windows/application-model/AddResourcePackageOptions.d.ts +7 -0
- package/dist/bindings/windows/application-model/AddResourcePackageOptions.js +8 -0
- package/dist/bindings/windows/application-model/IPackageCatalog2.d.ts +50 -0
- package/dist/bindings/windows/application-model/IPackageCatalog2.js +211 -0
- package/dist/bindings/windows/application-model/IPackageCatalog3.d.ts +29 -0
- package/dist/bindings/windows/application-model/IPackageCatalog3.js +136 -0
- package/dist/bindings/windows/application-model/IPackageCatalog4.d.ts +60 -0
- package/dist/bindings/windows/application-model/IPackageCatalog4.js +199 -0
- package/dist/bindings/windows/application-model/PackageCatalog.d.ts +100 -0
- package/dist/bindings/windows/application-model/PackageCatalog.js +440 -0
- package/dist/bindings/windows/application-model/PackageCatalogAddOptionalPackageResult.d.ts +10 -0
- package/dist/bindings/windows/application-model/PackageCatalogAddOptionalPackageResult.js +47 -0
- package/dist/bindings/windows/application-model/PackageCatalogAddResourcePackageResult.d.ts +11 -0
- package/dist/bindings/windows/application-model/PackageCatalogAddResourcePackageResult.js +51 -0
- package/dist/bindings/windows/application-model/PackageCatalogRemoveOptionalPackagesResult.d.ts +10 -0
- package/dist/bindings/windows/application-model/PackageCatalogRemoveOptionalPackagesResult.js +50 -0
- package/dist/bindings/windows/application-model/PackageCatalogRemoveResourcePackagesResult.d.ts +10 -0
- package/dist/bindings/windows/application-model/PackageCatalogRemoveResourcePackagesResult.js +50 -0
- package/dist/bindings/windows/application-model/PackageContentGroupStagingEventArgs.d.ts +15 -0
- package/dist/bindings/windows/application-model/PackageContentGroupStagingEventArgs.js +67 -0
- package/dist/bindings/windows/application-model/PackageInstallingEventArgs.d.ts +13 -0
- package/dist/bindings/windows/application-model/PackageInstallingEventArgs.js +59 -0
- package/dist/bindings/windows/application-model/PackageStagingEventArgs.d.ts +13 -0
- package/dist/bindings/windows/application-model/PackageStagingEventArgs.js +59 -0
- package/dist/bindings/windows/application-model/PackageStatusChangedEventArgs.d.ts +9 -0
- package/dist/bindings/windows/application-model/PackageStatusChangedEventArgs.js +43 -0
- package/dist/bindings/windows/application-model/PackageUninstallingEventArgs.d.ts +13 -0
- package/dist/bindings/windows/application-model/PackageUninstallingEventArgs.js +59 -0
- package/dist/bindings/windows/application-model/PackageUpdatingEventArgs.d.ts +14 -0
- package/dist/bindings/windows/application-model/PackageUpdatingEventArgs.js +63 -0
- package/dist/bindings/windows/application-model/StartupTask.d.ts +15 -0
- package/dist/bindings/windows/application-model/StartupTask.js +115 -0
- package/dist/bindings/windows/application-model/StartupTaskState.d.ts +5 -0
- package/dist/bindings/windows/application-model/StartupTaskState.js +6 -0
- package/dist/bindings/windows/foundation/EventHandler_MicrosoftUIXamlInputFocusManagerGotFocusEventArgs_g9744aab498e22ee2.d.ts +7 -0
- package/dist/bindings/windows/foundation/EventHandler_MicrosoftUIXamlInputFocusManagerGotFocusEventArgs_g9744aab498e22ee2.js +7 -0
- package/dist/bindings/windows/foundation/EventHandler_MicrosoftUIXamlInputFocusManagerLostFocusEventArgs_g1708c8c6742d9f14.d.ts +7 -0
- package/dist/bindings/windows/foundation/EventHandler_MicrosoftUIXamlInputFocusManagerLostFocusEventArgs_g1708c8c6742d9f14.js +7 -0
- package/dist/bindings/windows/foundation/EventHandler_MicrosoftUIXamlInputGettingFocusEventArgs_gcf469412ccadc527.d.ts +7 -0
- package/dist/bindings/windows/foundation/EventHandler_MicrosoftUIXamlInputGettingFocusEventArgs_gcf469412ccadc527.js +7 -0
- package/dist/bindings/windows/foundation/EventHandler_MicrosoftUIXamlInputLosingFocusEventArgs_g01067b38dcf7cb15.d.ts +7 -0
- package/dist/bindings/windows/foundation/EventHandler_MicrosoftUIXamlInputLosingFocusEventArgs_g01067b38dcf7cb15.js +7 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_MicrosoftUIInputInputKeyboardSource_MicrosoftUIInputCharacterReceivedEventArgs_g949756a8af790124.d.ts +8 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_MicrosoftUIInputInputKeyboardSource_MicrosoftUIInputCharacterReceivedEventArgs_g949756a8af790124.js +7 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_MicrosoftUIInputInputKeyboardSource_MicrosoftUIInputContextMenuKeyEventArgs_gfaa54200cb240b39.d.ts +8 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_MicrosoftUIInputInputKeyboardSource_MicrosoftUIInputContextMenuKeyEventArgs_gfaa54200cb240b39.js +7 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_MicrosoftUIInputInputKeyboardSource_MicrosoftUIInputKeyEventArgs_gead6188cb3dd043f.d.ts +8 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_MicrosoftUIInputInputKeyboardSource_MicrosoftUIInputKeyEventArgs_gead6188cb3dd043f.js +7 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_WindowsApplicationModelPackageCatalog_WindowsApplicationModelPackageContentGroupStag_g9de03bf71c8249f6.d.ts +8 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_WindowsApplicationModelPackageCatalog_WindowsApplicationModelPackageContentGroupStag_g9de03bf71c8249f6.js +7 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_WindowsApplicationModelPackageCatalog_WindowsApplicationModelPackageInstallingEventA_g5da5beb9a0e17bc6.d.ts +8 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_WindowsApplicationModelPackageCatalog_WindowsApplicationModelPackageInstallingEventA_g5da5beb9a0e17bc6.js +7 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_WindowsApplicationModelPackageCatalog_WindowsApplicationModelPackageStagingEventArgs_ga7c7c75d178b56a6.d.ts +8 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_WindowsApplicationModelPackageCatalog_WindowsApplicationModelPackageStagingEventArgs_ga7c7c75d178b56a6.js +7 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_WindowsApplicationModelPackageCatalog_WindowsApplicationModelPackageStatusChangedEve_ge8daadde37a07d11.d.ts +8 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_WindowsApplicationModelPackageCatalog_WindowsApplicationModelPackageStatusChangedEve_ge8daadde37a07d11.js +7 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_WindowsApplicationModelPackageCatalog_WindowsApplicationModelPackageUninstallingEven_gb8f6a82edaf89485.d.ts +8 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_WindowsApplicationModelPackageCatalog_WindowsApplicationModelPackageUninstallingEven_gb8f6a82edaf89485.js +7 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_WindowsApplicationModelPackageCatalog_WindowsApplicationModelPackageUpdatingEventArg_gb2c74bce54d9728d.d.ts +8 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_WindowsApplicationModelPackageCatalog_WindowsApplicationModelPackageUpdatingEventArg_gb2c74bce54d9728d.js +7 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_WindowsServicesStoreStoreContext_Object_ga48d68d009829e64.d.ts +7 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_WindowsServicesStoreStoreContext_Object_ga48d68d009829e64.js +7 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_WindowsServicesStoreStorePackageLicense_Object_gc978b769c354e904.d.ts +7 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_WindowsServicesStoreStorePackageLicense_Object_gc978b769c354e904.js +7 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_WindowsServicesStoreStoreQueueItem_Object_g088e531e702509cf.d.ts +7 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_WindowsServicesStoreStoreQueueItem_Object_g088e531e702509cf.js +7 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_WindowsServicesStoreStoreQueueItem_WindowsServicesStoreStoreQueueItemCompletedEventA_g34ce9111d212b7b3.d.ts +8 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_WindowsServicesStoreStoreQueueItem_WindowsServicesStoreStoreQueueItemCompletedEventA_g34ce9111d212b7b3.js +7 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_WindowsUINotificationsToastNotificationManagerForUser_Object_gf9f98c6574495e8c.d.ts +7 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_WindowsUINotificationsToastNotificationManagerForUser_Object_gf9f98c6574495e8c.js +7 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_WindowsUINotificationsToastNotifier_WindowsUINotificationsScheduledToastNotification_g001c9266a166b291.d.ts +8 -0
- package/dist/bindings/windows/foundation/TypedEventHandler_WindowsUINotificationsToastNotifier_WindowsUINotificationsScheduledToastNotification_g001c9266a166b291.js +7 -0
- package/dist/bindings/windows/foundation/collections/IIterable_WindowsApplicationModelPackage_g6cb7c58670977615.d.ts +23 -0
- package/dist/bindings/windows/foundation/collections/IIterable_WindowsApplicationModelPackage_g6cb7c58670977615.js +45 -0
- package/dist/bindings/windows/foundation/collections/IIterable_WindowsServicesStoreStorePackageUpdate_g2b3af8b1803050c9.d.ts +23 -0
- package/dist/bindings/windows/foundation/collections/IIterable_WindowsServicesStoreStorePackageUpdate_g2b3af8b1803050c9.js +45 -0
- package/dist/bindings/windows/foundation/collections/IIterable_WindowsServicesStoreStoreQueueItem_gefa6c894c870ec86.d.ts +23 -0
- package/dist/bindings/windows/foundation/collections/IIterable_WindowsServicesStoreStoreQueueItem_gefa6c894c870ec86.js +45 -0
- package/dist/bindings/windows/foundation/collections/IIterator_WindowsApplicationModelPackage_gfb85903b74efaccc.d.ts +31 -0
- package/dist/bindings/windows/foundation/collections/IIterator_WindowsApplicationModelPackage_gfb85903b74efaccc.js +67 -0
- package/dist/bindings/windows/foundation/collections/IIterator_WindowsServicesStoreStorePackageUpdate_gd49c43fc9590df8e.d.ts +31 -0
- package/dist/bindings/windows/foundation/collections/IIterator_WindowsServicesStoreStorePackageUpdate_gd49c43fc9590df8e.js +67 -0
- package/dist/bindings/windows/foundation/collections/IIterator_WindowsServicesStoreStoreQueueItem_gb618559796af22f1.d.ts +31 -0
- package/dist/bindings/windows/foundation/collections/IIterator_WindowsServicesStoreStoreQueueItem_gb618559796af22f1.js +67 -0
- package/dist/bindings/windows/foundation/collections/IMapView_String_WindowsServicesStoreStoreLicense_g162ecf9ec8342f7c.d.ts +36 -0
- package/dist/bindings/windows/foundation/collections/IMapView_String_WindowsServicesStoreStoreLicense_g162ecf9ec8342f7c.js +71 -0
- package/dist/bindings/windows/foundation/collections/IMapView_String_WindowsServicesStoreStoreProduct_g8ea2e65832c6f5a4.d.ts +36 -0
- package/dist/bindings/windows/foundation/collections/IMapView_String_WindowsServicesStoreStoreProduct_g8ea2e65832c6f5a4.js +71 -0
- package/dist/bindings/windows/foundation/collections/IMap_String_WindowsServicesStoreStoreLicense_gf681f328cc2e3874.d.ts +60 -0
- package/dist/bindings/windows/foundation/collections/IMap_String_WindowsServicesStoreStoreLicense_gf681f328cc2e3874.js +114 -0
- package/dist/bindings/windows/foundation/collections/IMap_String_WindowsServicesStoreStoreProduct_g4d742845f441491c.d.ts +60 -0
- package/dist/bindings/windows/foundation/collections/IMap_String_WindowsServicesStoreStoreProduct_g4d742845f441491c.js +114 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_MicrosoftUIXamlAutomationPeersAutomationPeerAnnotation_g1291d190459cae2b.d.ts +40 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_MicrosoftUIXamlAutomationPeersAutomationPeerAnnotation_g1291d190459cae2b.js +85 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_MicrosoftUIXamlAutomationPeersAutomationPeer_gcf17e6c70dae9df8.d.ts +40 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_MicrosoftUIXamlAutomationPeersAutomationPeer_gcf17e6c70dae9df8.js +85 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_WindowsApplicationModelStartupTask_g213762a6fd9a9707.d.ts +40 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_WindowsApplicationModelStartupTask_g213762a6fd9a9707.js +85 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_WindowsServicesStoreStoreAvailability_geb0561a0f0dd0005.d.ts +40 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_WindowsServicesStoreStoreAvailability_geb0561a0f0dd0005.js +85 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_WindowsServicesStoreStoreImage_g3308691eac26400f.d.ts +40 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_WindowsServicesStoreStoreImage_g3308691eac26400f.js +85 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_WindowsServicesStoreStorePackageUpdateStatus_g48777acdbcb2a5c8.d.ts +54 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_WindowsServicesStoreStorePackageUpdateStatus_g48777acdbcb2a5c8.js +109 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_WindowsServicesStoreStorePackageUpdate_gc7d2f3857622cec3.d.ts +40 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_WindowsServicesStoreStorePackageUpdate_gc7d2f3857622cec3.js +85 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_WindowsServicesStoreStoreQueueItem_g866c0e5377ca52ec.d.ts +40 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_WindowsServicesStoreStoreQueueItem_g866c0e5377ca52ec.js +85 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_WindowsServicesStoreStoreSku_g915fbb9b0e903e7f.d.ts +40 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_WindowsServicesStoreStoreSku_g915fbb9b0e903e7f.js +85 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_WindowsServicesStoreStoreVideo_gcff017d5106c30d1.d.ts +40 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_WindowsServicesStoreStoreVideo_gcff017d5106c30d1.js +85 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_WindowsUINotificationsScheduledToastNotification_gafec5ba714dc8e71.d.ts +40 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_WindowsUINotificationsScheduledToastNotification_gafec5ba714dc8e71.js +85 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_WindowsUINotificationsToastCollection_g3093026941314e4f.d.ts +40 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_WindowsUINotificationsToastCollection_g3093026941314e4f.js +85 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_WindowsUINotificationsToastNotification_g8c913fdb725fef16.d.ts +40 -0
- package/dist/bindings/windows/foundation/collections/IVectorView_WindowsUINotificationsToastNotification_g8c913fdb725fef16.js +85 -0
- package/dist/bindings/windows/foundation/collections/IVector_MicrosoftUIXamlAutomationPeersAutomationPeerAnnotation_g0be2a565a8b48fdc.d.ts +62 -0
- package/dist/bindings/windows/foundation/collections/IVector_MicrosoftUIXamlAutomationPeersAutomationPeerAnnotation_g0be2a565a8b48fdc.js +135 -0
- package/dist/bindings/windows/foundation/collections/IVector_MicrosoftUIXamlAutomationPeersAutomationPeer_gfdcbe941c5dbe60f.d.ts +62 -0
- package/dist/bindings/windows/foundation/collections/IVector_MicrosoftUIXamlAutomationPeersAutomationPeer_gfdcbe941c5dbe60f.js +135 -0
- package/dist/bindings/windows/services/store/IStoreAppLicense2.d.ts +27 -0
- package/dist/bindings/windows/services/store/IStoreAppLicense2.js +116 -0
- package/dist/bindings/windows/services/store/IStoreContext2.d.ts +30 -0
- package/dist/bindings/windows/services/store/IStoreContext2.js +140 -0
- package/dist/bindings/windows/services/store/IStoreContext3.d.ts +107 -0
- package/dist/bindings/windows/services/store/IStoreContext3.js +519 -0
- package/dist/bindings/windows/services/store/IStoreContext4.d.ts +34 -0
- package/dist/bindings/windows/services/store/IStoreContext4.js +167 -0
- package/dist/bindings/windows/services/store/IStoreContext5.d.ts +36 -0
- package/dist/bindings/windows/services/store/IStoreContext5.js +187 -0
- package/dist/bindings/windows/services/store/IStorePackageUpdateResult2.d.ts +28 -0
- package/dist/bindings/windows/services/store/IStorePackageUpdateResult2.js +122 -0
- package/dist/bindings/windows/services/store/IStorePrice2.d.ts +33 -0
- package/dist/bindings/windows/services/store/IStorePrice2.js +140 -0
- package/dist/bindings/windows/services/store/IStoreQueueItem2.d.ts +33 -0
- package/dist/bindings/windows/services/store/IStoreQueueItem2.js +176 -0
- package/dist/bindings/windows/services/store/StoreAcquireLicenseResult.d.ts +10 -0
- package/dist/bindings/windows/services/store/StoreAcquireLicenseResult.js +47 -0
- package/dist/bindings/windows/services/store/StoreAppLicense.d.ts +38 -0
- package/dist/bindings/windows/services/store/StoreAppLicense.js +136 -0
- package/dist/bindings/windows/services/store/StoreAvailability.d.ts +26 -0
- package/dist/bindings/windows/services/store/StoreAvailability.js +134 -0
- package/dist/bindings/windows/services/store/StoreCanAcquireLicenseResult.d.ts +11 -0
- package/dist/bindings/windows/services/store/StoreCanAcquireLicenseResult.js +51 -0
- package/dist/bindings/windows/services/store/StoreCanLicenseStatus.d.ts +9 -0
- package/dist/bindings/windows/services/store/StoreCanLicenseStatus.js +10 -0
- package/dist/bindings/windows/services/store/StoreCollectionData.d.ts +33 -0
- package/dist/bindings/windows/services/store/StoreCollectionData.js +102 -0
- package/dist/bindings/windows/services/store/StoreConsumableResult.d.ts +12 -0
- package/dist/bindings/windows/services/store/StoreConsumableResult.js +55 -0
- package/dist/bindings/windows/services/store/StoreConsumableStatus.d.ts +8 -0
- package/dist/bindings/windows/services/store/StoreConsumableStatus.js +9 -0
- package/dist/bindings/windows/services/store/StoreContext.d.ts +121 -0
- package/dist/bindings/windows/services/store/StoreContext.js +975 -0
- package/dist/bindings/windows/services/store/StoreDurationUnit.d.ts +10 -0
- package/dist/bindings/windows/services/store/StoreDurationUnit.js +11 -0
- package/dist/bindings/windows/services/store/StoreImage.d.ts +13 -0
- package/dist/bindings/windows/services/store/StoreImage.js +59 -0
- package/dist/bindings/windows/services/store/StoreLicense.d.ts +21 -0
- package/dist/bindings/windows/services/store/StoreLicense.js +73 -0
- package/dist/bindings/windows/services/store/StorePackageInstallOptions.d.ts +13 -0
- package/dist/bindings/windows/services/store/StorePackageInstallOptions.js +61 -0
- package/dist/bindings/windows/services/store/StorePackageLicense.d.ts +31 -0
- package/dist/bindings/windows/services/store/StorePackageLicense.js +117 -0
- package/dist/bindings/windows/services/store/StorePackageUpdate.d.ts +10 -0
- package/dist/bindings/windows/services/store/StorePackageUpdate.js +47 -0
- package/dist/bindings/windows/services/store/StorePackageUpdateResult.d.ts +29 -0
- package/dist/bindings/windows/services/store/StorePackageUpdateResult.js +99 -0
- package/dist/bindings/windows/services/store/StorePackageUpdateState.d.ts +5 -0
- package/dist/bindings/windows/services/store/StorePackageUpdateState.js +6 -0
- package/dist/bindings/windows/services/store/StorePackageUpdateStatus.d.ts +5 -0
- package/dist/bindings/windows/services/store/StorePackageUpdateStatus.js +6 -0
- package/dist/bindings/windows/services/store/StorePrice.d.ts +27 -0
- package/dist/bindings/windows/services/store/StorePrice.js +106 -0
- package/dist/bindings/windows/services/store/StoreProduct.d.ts +34 -0
- package/dist/bindings/windows/services/store/StoreProduct.js +201 -0
- package/dist/bindings/windows/services/store/StoreProductOptions.d.ts +13 -0
- package/dist/bindings/windows/services/store/StoreProductOptions.js +60 -0
- package/dist/bindings/windows/services/store/StoreProductPagedQueryResult.d.ts +12 -0
- package/dist/bindings/windows/services/store/StoreProductPagedQueryResult.js +73 -0
- package/dist/bindings/windows/services/store/StoreProductQueryResult.d.ts +10 -0
- package/dist/bindings/windows/services/store/StoreProductQueryResult.js +53 -0
- package/dist/bindings/windows/services/store/StoreProductResult.d.ts +10 -0
- package/dist/bindings/windows/services/store/StoreProductResult.js +47 -0
- package/dist/bindings/windows/services/store/StorePurchaseProperties.d.ts +17 -0
- package/dist/bindings/windows/services/store/StorePurchaseProperties.js +90 -0
- package/dist/bindings/windows/services/store/StorePurchaseResult.d.ts +10 -0
- package/dist/bindings/windows/services/store/StorePurchaseResult.js +47 -0
- package/dist/bindings/windows/services/store/StorePurchaseStatus.d.ts +9 -0
- package/dist/bindings/windows/services/store/StorePurchaseStatus.js +10 -0
- package/dist/bindings/windows/services/store/StoreQueueItem.d.ts +40 -0
- package/dist/bindings/windows/services/store/StoreQueueItem.js +199 -0
- package/dist/bindings/windows/services/store/StoreQueueItemCompletedEventArgs.d.ts +9 -0
- package/dist/bindings/windows/services/store/StoreQueueItemCompletedEventArgs.js +43 -0
- package/dist/bindings/windows/services/store/StoreQueueItemExtendedState.d.ts +19 -0
- package/dist/bindings/windows/services/store/StoreQueueItemExtendedState.js +20 -0
- package/dist/bindings/windows/services/store/StoreQueueItemKind.d.ts +7 -0
- package/dist/bindings/windows/services/store/StoreQueueItemKind.js +8 -0
- package/dist/bindings/windows/services/store/StoreQueueItemState.d.ts +9 -0
- package/dist/bindings/windows/services/store/StoreQueueItemState.js +10 -0
- package/dist/bindings/windows/services/store/StoreQueueItemStatus.d.ts +27 -0
- package/dist/bindings/windows/services/store/StoreQueueItemStatus.js +83 -0
- package/dist/bindings/windows/services/store/StoreRateAndReviewResult.d.ts +12 -0
- package/dist/bindings/windows/services/store/StoreRateAndReviewResult.js +55 -0
- package/dist/bindings/windows/services/store/StoreRateAndReviewStatus.d.ts +8 -0
- package/dist/bindings/windows/services/store/StoreRateAndReviewStatus.js +9 -0
- package/dist/bindings/windows/services/store/StoreSku.d.ts +36 -0
- package/dist/bindings/windows/services/store/StoreSku.js +208 -0
- package/dist/bindings/windows/services/store/StoreSubscriptionInfo.d.ts +13 -0
- package/dist/bindings/windows/services/store/StoreSubscriptionInfo.js +59 -0
- package/dist/bindings/windows/services/store/StoreUninstallStorePackageResult.d.ts +10 -0
- package/dist/bindings/windows/services/store/StoreUninstallStorePackageResult.js +47 -0
- package/dist/bindings/windows/services/store/StoreUninstallStorePackageStatus.d.ts +9 -0
- package/dist/bindings/windows/services/store/StoreUninstallStorePackageStatus.js +10 -0
- package/dist/bindings/windows/services/store/StoreVideo.d.ts +15 -0
- package/dist/bindings/windows/services/store/StoreVideo.js +66 -0
- package/dist/bindings/windows/ui/notifications/IScheduledToastNotification2.d.ts +39 -0
- package/dist/bindings/windows/ui/notifications/IScheduledToastNotification2.js +173 -0
- package/dist/bindings/windows/ui/notifications/IScheduledToastNotification3.d.ts +35 -0
- package/dist/bindings/windows/ui/notifications/IScheduledToastNotification3.js +153 -0
- package/dist/bindings/windows/ui/notifications/IScheduledToastNotification4.d.ts +39 -0
- package/dist/bindings/windows/ui/notifications/IScheduledToastNotification4.js +147 -0
- package/dist/bindings/windows/ui/notifications/IToastNotificationHistory2.d.ts +31 -0
- package/dist/bindings/windows/ui/notifications/IToastNotificationHistory2.js +134 -0
- package/dist/bindings/windows/ui/notifications/IToastNotificationManagerForUser2.d.ts +39 -0
- package/dist/bindings/windows/ui/notifications/IToastNotificationManagerForUser2.js +185 -0
- package/dist/bindings/windows/ui/notifications/IToastNotificationManagerForUser3.d.ts +49 -0
- package/dist/bindings/windows/ui/notifications/IToastNotificationManagerForUser3.js +195 -0
- package/dist/bindings/windows/ui/notifications/IToastNotifier2.d.ts +32 -0
- package/dist/bindings/windows/ui/notifications/IToastNotifier2.js +137 -0
- package/dist/bindings/windows/ui/notifications/IToastNotifier3.d.ts +46 -0
- package/dist/bindings/windows/ui/notifications/IToastNotifier3.js +184 -0
- package/dist/bindings/windows/ui/notifications/NotificationSetting.d.ts +9 -0
- package/dist/bindings/windows/ui/notifications/NotificationSetting.js +10 -0
- package/dist/bindings/windows/ui/notifications/NotificationUpdateResult.d.ts +7 -0
- package/dist/bindings/windows/ui/notifications/NotificationUpdateResult.js +8 -0
- package/dist/bindings/windows/ui/notifications/ScheduledToastNotification.d.ts +51 -0
- package/dist/bindings/windows/ui/notifications/ScheduledToastNotification.js +231 -0
- package/dist/bindings/windows/ui/notifications/ScheduledToastNotificationShowingEventArgs.d.ts +13 -0
- package/dist/bindings/windows/ui/notifications/ScheduledToastNotificationShowingEventArgs.js +58 -0
- package/dist/bindings/windows/ui/notifications/ToastCollection.d.ts +16 -0
- package/dist/bindings/windows/ui/notifications/ToastCollection.js +91 -0
- package/dist/bindings/windows/ui/notifications/ToastCollectionManager.d.ts +17 -0
- package/dist/bindings/windows/ui/notifications/ToastCollectionManager.js +136 -0
- package/dist/bindings/windows/ui/notifications/ToastNotificationHistory.d.ts +24 -0
- package/dist/bindings/windows/ui/notifications/ToastNotificationHistory.js +137 -0
- package/dist/bindings/windows/ui/notifications/ToastNotificationManager.d.ts +19 -0
- package/dist/bindings/windows/ui/notifications/ToastNotificationManager.js +133 -0
- package/dist/bindings/windows/ui/notifications/ToastNotificationManagerForUser.d.ts +40 -0
- package/dist/bindings/windows/ui/notifications/ToastNotificationManagerForUser.js +205 -0
- package/dist/bindings/windows/ui/notifications/ToastNotificationMode.d.ts +7 -0
- package/dist/bindings/windows/ui/notifications/ToastNotificationMode.js +8 -0
- package/dist/bindings/windows/ui/notifications/ToastNotifier.d.ts +41 -0
- package/dist/bindings/windows/ui/notifications/ToastNotifier.js +183 -0
- package/dist/bindings/windows/ui/notifications/ToastTemplateType.d.ts +12 -0
- package/dist/bindings/windows/ui/notifications/ToastTemplateType.js +13 -0
- package/dist/components/convert.d.ts +4 -4
- package/dist/components/convert.d.ts.map +1 -1
- package/dist/components/convert.js +3 -2
- package/dist/components/convert.js.map +1 -1
- package/dist/components/fluent-glyph.d.ts +4 -0
- package/dist/components/fluent-glyph.d.ts.map +1 -1
- package/dist/components/generated/bindings.d.ts +1 -0
- package/dist/components/generated/bindings.d.ts.map +1 -1
- package/dist/components/generated/bindings.js +1 -0
- package/dist/components/generated/bindings.js.map +1 -1
- package/dist/components/generated/controls/FontIcon.svelte.d.ts +1 -1
- package/dist/components/generated/controls/FontIconSource.svelte.d.ts +1 -1
- package/dist/components/generated/controls/UIElement.svelte.d.ts +1 -1
- package/dist/components/generated/enums.d.ts +3 -0
- package/dist/components/generated/enums.d.ts.map +1 -1
- package/dist/components/generated/enums.js +1 -0
- package/dist/components/generated/enums.js.map +1 -1
- package/dist/components/index.d.ts +4 -2
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/runtime.svelte.d.ts +1 -0
- package/dist/components/runtime.svelte.d.ts.map +1 -1
- package/dist/components/runtime.svelte.js +17 -6
- package/dist/components/runtime.svelte.js.map +1 -1
- package/dist/composition/animate.d.ts +78 -0
- package/dist/composition/animate.d.ts.map +1 -0
- package/dist/composition/animate.js +184 -0
- package/dist/composition/animate.js.map +1 -0
- package/dist/composition/expression.d.ts +177 -0
- package/dist/composition/expression.d.ts.map +1 -0
- package/dist/composition/expression.js +330 -0
- package/dist/composition/expression.js.map +1 -0
- package/dist/composition/index.d.ts +11 -0
- package/dist/composition/index.d.ts.map +1 -0
- package/dist/composition/index.js +9 -0
- package/dist/composition/index.js.map +1 -0
- package/dist/composition/property-set.d.ts +36 -0
- package/dist/composition/property-set.d.ts.map +1 -0
- package/dist/composition/property-set.js +81 -0
- package/dist/composition/property-set.js.map +1 -0
- package/dist/composition/spring.d.ts +43 -0
- package/dist/composition/spring.d.ts.map +1 -0
- package/dist/composition/spring.js +23 -0
- package/dist/composition/spring.js.map +1 -0
- package/dist/composition/targets.d.ts +48 -0
- package/dist/composition/targets.d.ts.map +1 -0
- package/dist/composition/targets.js +34 -0
- package/dist/composition/targets.js.map +1 -0
- package/dist/css/index.d.ts +2 -0
- package/dist/css/index.d.ts.map +1 -1
- package/dist/css/index.js +2 -0
- package/dist/css/index.js.map +1 -1
- package/dist/css/parse/box-shadow.d.ts +46 -0
- package/dist/css/parse/box-shadow.d.ts.map +1 -0
- package/dist/css/parse/box-shadow.js +65 -0
- package/dist/css/parse/box-shadow.js.map +1 -0
- package/dist/css/parse/filters.d.ts.map +1 -1
- package/dist/css/parse/filters.js +1 -1
- package/dist/css/parse/filters.js.map +1 -1
- package/dist/css/parse/parser.js +1 -1
- package/dist/css/parse/parser.js.map +1 -1
- package/dist/css/parse/scroll-timeline.d.ts +181 -0
- package/dist/css/parse/scroll-timeline.d.ts.map +1 -0
- package/dist/css/parse/scroll-timeline.js +278 -0
- package/dist/css/parse/scroll-timeline.js.map +1 -0
- package/dist/css/runtime/resources.d.ts +3 -1
- package/dist/css/runtime/resources.d.ts.map +1 -1
- package/dist/css/runtime/resources.js +2 -2
- package/dist/css/runtime/resources.js.map +1 -1
- package/dist/css/runtime/runtime.d.ts +37 -3
- package/dist/css/runtime/runtime.d.ts.map +1 -1
- package/dist/css/runtime/runtime.js +27 -13
- package/dist/css/runtime/runtime.js.map +1 -1
- package/dist/css/runtime/sheet-module.d.ts +3 -1
- package/dist/css/runtime/sheet-module.d.ts.map +1 -1
- package/dist/css/runtime/sheet-module.js +24 -10
- package/dist/css/runtime/sheet-module.js.map +1 -1
- package/dist/css/runtime/visual-state-native.d.ts +10 -0
- package/dist/css/runtime/visual-state-native.d.ts.map +1 -0
- package/dist/css/runtime/visual-state-native.js +112 -0
- package/dist/css/runtime/visual-state-native.js.map +1 -0
- package/dist/css/runtime/visual-states.d.ts +27 -0
- package/dist/css/runtime/visual-states.d.ts.map +1 -0
- package/dist/css/runtime/visual-states.js +83 -0
- package/dist/css/runtime/visual-states.js.map +1 -0
- package/dist/css/scroll-timeline.d.ts +21 -0
- package/dist/css/scroll-timeline.d.ts.map +1 -0
- package/dist/css/scroll-timeline.js +11 -0
- package/dist/css/scroll-timeline.js.map +1 -0
- package/dist/css/shadow.d.ts +23 -0
- package/dist/css/shadow.d.ts.map +1 -0
- package/dist/css/shadow.js +11 -0
- package/dist/css/shadow.js.map +1 -0
- package/dist/css/translate/animation-properties.d.ts +8 -2
- package/dist/css/translate/animation-properties.d.ts.map +1 -1
- package/dist/css/translate/animation-properties.js +202 -15
- package/dist/css/translate/animation-properties.js.map +1 -1
- package/dist/css/translate/build-shorthands.d.ts +3 -2
- package/dist/css/translate/build-shorthands.d.ts.map +1 -1
- package/dist/css/translate/build-shorthands.js +5 -3
- package/dist/css/translate/build-shorthands.js.map +1 -1
- package/dist/css/translate/cascade.d.ts.map +1 -1
- package/dist/css/translate/cascade.js +4 -1
- package/dist/css/translate/cascade.js.map +1 -1
- package/dist/css/translate/easing.d.ts +2 -0
- package/dist/css/translate/easing.d.ts.map +1 -1
- package/dist/css/translate/easing.js +4 -0
- package/dist/css/translate/easing.js.map +1 -1
- package/dist/css/translate/font-face.d.ts +22 -0
- package/dist/css/translate/font-face.d.ts.map +1 -0
- package/dist/css/translate/font-face.js +76 -0
- package/dist/css/translate/font-face.js.map +1 -0
- package/dist/css/translate/handled-members.d.ts +7 -0
- package/dist/css/translate/handled-members.d.ts.map +1 -0
- package/dist/css/translate/handled-members.js +16 -0
- package/dist/css/translate/handled-members.js.map +1 -0
- package/dist/css/translate/lazy-groups.d.ts.map +1 -1
- package/dist/css/translate/lazy-groups.js +41 -1
- package/dist/css/translate/lazy-groups.js.map +1 -1
- package/dist/css/translate/linked-tracks.d.ts +13 -0
- package/dist/css/translate/linked-tracks.d.ts.map +1 -0
- package/dist/css/translate/linked-tracks.js +48 -0
- package/dist/css/translate/linked-tracks.js.map +1 -0
- package/dist/css/translate/scroll-link.d.ts +106 -0
- package/dist/css/translate/scroll-link.d.ts.map +1 -0
- package/dist/css/translate/scroll-link.js +222 -0
- package/dist/css/translate/scroll-link.js.map +1 -0
- package/dist/css/translate/scroll-timeline-properties.d.ts +46 -0
- package/dist/css/translate/scroll-timeline-properties.d.ts.map +1 -0
- package/dist/css/translate/scroll-timeline-properties.js +167 -0
- package/dist/css/translate/scroll-timeline-properties.js.map +1 -0
- package/dist/css/translate/shadow-mode.d.ts +24 -0
- package/dist/css/translate/shadow-mode.d.ts.map +1 -0
- package/dist/css/translate/shadow-mode.js +20 -0
- package/dist/css/translate/shadow-mode.js.map +1 -0
- package/dist/css/translate/shadow-properties.d.ts +50 -0
- package/dist/css/translate/shadow-properties.d.ts.map +1 -0
- package/dist/css/translate/shadow-properties.js +155 -0
- package/dist/css/translate/shadow-properties.js.map +1 -0
- package/dist/css/translate/shorthands.d.ts +4 -2
- package/dist/css/translate/shorthands.d.ts.map +1 -1
- package/dist/css/translate/shorthands.js +3 -2
- package/dist/css/translate/shorthands.js.map +1 -1
- package/dist/css/translate/state-properties.d.ts +52 -0
- package/dist/css/translate/state-properties.d.ts.map +1 -0
- package/dist/css/translate/state-properties.js +115 -0
- package/dist/css/translate/state-properties.js.map +1 -0
- package/dist/css/translate/surface-properties.d.ts +3 -1
- package/dist/css/translate/surface-properties.d.ts.map +1 -1
- package/dist/css/translate/surface-properties.js +21 -17
- package/dist/css/translate/surface-properties.js.map +1 -1
- package/dist/css/translate/translate.d.ts +3 -2
- package/dist/css/translate/translate.d.ts.map +1 -1
- package/dist/css/translate/translate.js +47 -13
- package/dist/css/translate/translate.js.map +1 -1
- package/dist/css/translate/type-ramp.d.ts +8 -0
- package/dist/css/translate/type-ramp.d.ts.map +1 -0
- package/dist/css/translate/type-ramp.js +59 -0
- package/dist/css/translate/type-ramp.js.map +1 -0
- package/dist/css/translate/types.d.ts +7 -0
- package/dist/css/translate/types.d.ts.map +1 -1
- package/dist/css/translate/typography-properties.d.ts +52 -0
- package/dist/css/translate/typography-properties.d.ts.map +1 -0
- package/dist/css/translate/typography-properties.js +430 -0
- package/dist/css/translate/typography-properties.js.map +1 -0
- package/dist/css/translate/unsupported-properties.d.ts +2 -0
- package/dist/css/translate/unsupported-properties.d.ts.map +1 -1
- package/dist/css/translate/unsupported-properties.js +7 -1
- package/dist/css/translate/unsupported-properties.js.map +1 -1
- package/dist/css/translate/view-transition-properties.d.ts +29 -0
- package/dist/css/translate/view-transition-properties.d.ts.map +1 -0
- package/dist/css/translate/view-transition-properties.js +53 -0
- package/dist/css/translate/view-transition-properties.js.map +1 -0
- package/dist/css/translate/winui-only-properties.d.ts.map +1 -1
- package/dist/css/translate/winui-only-properties.js +16 -1
- package/dist/css/translate/winui-only-properties.js.map +1 -1
- package/dist/css/typography.d.ts +2 -0
- package/dist/css/typography.d.ts.map +1 -0
- package/dist/css/typography.js +6 -0
- package/dist/css/typography.js.map +1 -0
- package/dist/css/validate/vscode-css-data.json +262 -1
- package/dist/css/validate/vscode-data.d.ts +5 -0
- package/dist/css/validate/vscode-data.d.ts.map +1 -1
- package/dist/css/validate/vscode-data.js +37 -0
- package/dist/css/validate/vscode-data.js.map +1 -1
- package/dist/css/view-transition.d.ts +13 -0
- package/dist/css/view-transition.d.ts.map +1 -0
- package/dist/css/view-transition.js +12 -0
- package/dist/css/view-transition.js.map +1 -0
- package/dist/css/visual-states.d.ts +7 -0
- package/dist/css/visual-states.d.ts.map +1 -0
- package/dist/css/visual-states.js +16 -0
- package/dist/css/visual-states.js.map +1 -0
- package/dist/dev/dev-window.d.ts +23 -0
- package/dist/dev/dev-window.d.ts.map +1 -0
- package/dist/dev/dev-window.js +42 -0
- package/dist/dev/dev-window.js.map +1 -0
- package/dist/dev/index.d.ts +3 -0
- package/dist/dev/index.d.ts.map +1 -0
- package/dist/dev/index.js +2 -0
- package/dist/dev/index.js.map +1 -0
- package/dist/dev/start-dev.d.ts +47 -0
- package/dist/dev/start-dev.d.ts.map +1 -0
- package/dist/dev/start-dev.js +81 -0
- package/dist/dev/start-dev.js.map +1 -0
- package/dist/devices/bindings.d.ts +4 -1
- package/dist/devices/bindings.d.ts.map +1 -1
- package/dist/devices/bindings.js +4 -1
- package/dist/devices/bindings.js.map +1 -1
- package/dist/devices/displays.svelte.d.ts.map +1 -1
- package/dist/devices/displays.svelte.js +2 -1
- package/dist/devices/displays.svelte.js.map +1 -1
- package/dist/devices/live.svelte.d.ts +3 -24
- package/dist/devices/live.svelte.d.ts.map +1 -1
- package/dist/devices/live.svelte.js +2 -40
- package/dist/devices/live.svelte.js.map +1 -1
- package/dist/devices/power.d.ts +5 -3
- package/dist/devices/power.d.ts.map +1 -1
- package/dist/devices/power.js +3 -2
- package/dist/devices/power.js.map +1 -1
- package/dist/devices/power.svelte.d.ts +27 -0
- package/dist/devices/power.svelte.d.ts.map +1 -1
- package/dist/devices/power.svelte.js +40 -0
- package/dist/devices/power.svelte.js.map +1 -1
- package/dist/devices/subscription.d.ts +35 -0
- package/dist/devices/subscription.d.ts.map +1 -0
- package/dist/devices/subscription.js +47 -0
- package/dist/devices/subscription.js.map +1 -0
- package/dist/devices/system-power.d.ts +54 -0
- package/dist/devices/system-power.d.ts.map +1 -0
- package/dist/devices/system-power.js +66 -0
- package/dist/devices/system-power.js.map +1 -0
- package/dist/enums.d.ts +13 -1
- package/dist/enums.d.ts.map +1 -1
- package/dist/enums.js +13 -1
- package/dist/enums.js.map +1 -1
- package/dist/font-files.d.ts +19 -0
- package/dist/font-files.d.ts.map +1 -0
- package/dist/font-files.js +55 -0
- package/dist/font-files.js.map +1 -0
- package/dist/font-registry.d.ts +24 -0
- package/dist/font-registry.d.ts.map +1 -0
- package/dist/font-registry.js +67 -0
- package/dist/font-registry.js.map +1 -0
- package/dist/font-spelling.d.ts +15 -0
- package/dist/font-spelling.d.ts.map +1 -0
- package/dist/font-spelling.js +27 -0
- package/dist/font-spelling.js.map +1 -0
- package/dist/forms/FormField.svelte +2 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/input/active-element.svelte.d.ts +22 -0
- package/dist/input/active-element.svelte.d.ts.map +1 -0
- package/dist/input/active-element.svelte.js +32 -0
- package/dist/input/active-element.svelte.js.map +1 -0
- package/dist/input/dom-event.d.ts +93 -0
- package/dist/input/dom-event.d.ts.map +1 -0
- package/dist/input/dom-event.js +39 -0
- package/dist/input/dom-event.js.map +1 -0
- package/dist/input/events.d.ts +13 -0
- package/dist/input/events.d.ts.map +1 -0
- package/dist/input/events.js +187 -0
- package/dist/input/events.js.map +1 -0
- package/dist/input/focused-element.d.ts +18 -0
- package/dist/input/focused-element.d.ts.map +1 -0
- package/dist/input/focused-element.js +32 -0
- package/dist/input/focused-element.js.map +1 -0
- package/dist/input/index.d.ts +13 -0
- package/dist/input/index.d.ts.map +1 -0
- package/dist/input/index.js +7 -0
- package/dist/input/index.js.map +1 -0
- package/dist/input/key-names.d.ts +18 -0
- package/dist/input/key-names.d.ts.map +1 -0
- package/dist/input/key-names.js +182 -0
- package/dist/input/key-names.js.map +1 -0
- package/dist/input/keyboard-fields.d.ts +38 -0
- package/dist/input/keyboard-fields.d.ts.map +1 -0
- package/dist/input/keyboard-fields.js +43 -0
- package/dist/input/keyboard-fields.js.map +1 -0
- package/dist/input/move-focus.d.ts +19 -0
- package/dist/input/move-focus.d.ts.map +1 -0
- package/dist/input/move-focus.js +29 -0
- package/dist/input/move-focus.js.map +1 -0
- package/dist/input/pointer-capture.d.ts +47 -0
- package/dist/input/pointer-capture.d.ts.map +1 -0
- package/dist/input/pointer-capture.js +59 -0
- package/dist/input/pointer-capture.js.map +1 -0
- package/dist/input/pointer-fields.d.ts +118 -0
- package/dist/input/pointer-fields.d.ts.map +1 -0
- package/dist/input/pointer-fields.js +141 -0
- package/dist/input/pointer-fields.js.map +1 -0
- package/dist/input/pointer-routes.d.ts +13 -0
- package/dist/input/pointer-routes.d.ts.map +1 -0
- package/dist/input/pointer-routes.js +13 -0
- package/dist/input/pointer-routes.js.map +1 -0
- package/dist/input/trap-focus.d.ts +18 -0
- package/dist/input/trap-focus.d.ts.map +1 -0
- package/dist/input/trap-focus.js +45 -0
- package/dist/input/trap-focus.js.map +1 -0
- package/dist/key-code.d.ts +131 -0
- package/dist/key-code.d.ts.map +1 -0
- package/dist/key-code.js +134 -0
- package/dist/key-code.js.map +1 -0
- package/dist/messaging/page.d.ts +25 -0
- package/dist/messaging/page.d.ts.map +1 -0
- package/dist/messaging/page.js +43 -0
- package/dist/messaging/page.js.map +1 -0
- package/dist/messaging/web-view2/cookies.d.ts +53 -0
- package/dist/messaging/web-view2/cookies.d.ts.map +1 -0
- package/dist/messaging/web-view2/cookies.js +54 -0
- package/dist/messaging/web-view2/cookies.js.map +1 -0
- package/dist/messaging/web-view2/core.d.ts +101 -0
- package/dist/messaging/web-view2/core.d.ts.map +1 -0
- package/dist/messaging/web-view2/core.js +37 -0
- package/dist/messaging/web-view2/core.js.map +1 -0
- package/dist/messaging/web-view2/index.d.ts +9 -0
- package/dist/messaging/web-view2/index.d.ts.map +1 -0
- package/dist/messaging/web-view2/index.js +7 -0
- package/dist/messaging/web-view2/index.js.map +1 -0
- package/dist/messaging/web-view2/policy.d.ts +64 -0
- package/dist/messaging/web-view2/policy.d.ts.map +1 -0
- package/dist/messaging/web-view2/policy.js +96 -0
- package/dist/messaging/web-view2/policy.js.map +1 -0
- package/dist/messaging/web-view2/transport.d.ts +34 -0
- package/dist/messaging/web-view2/transport.d.ts.map +1 -0
- package/dist/messaging/web-view2/transport.js +109 -0
- package/dist/messaging/web-view2/transport.js.map +1 -0
- package/dist/notice/index.d.ts +4 -0
- package/dist/notice/index.d.ts.map +1 -0
- package/dist/notice/index.js +2 -0
- package/dist/notice/index.js.map +1 -0
- package/dist/notice/native.d.ts +18 -0
- package/dist/notice/native.d.ts.map +1 -0
- package/dist/notice/native.js +32 -0
- package/dist/notice/native.js.map +1 -0
- package/dist/notice/notice.d.ts +70 -0
- package/dist/notice/notice.d.ts.map +1 -0
- package/dist/notice/notice.js +95 -0
- package/dist/notice/notice.js.map +1 -0
- package/dist/renderer/host/connected-configuration.d.ts +23 -0
- package/dist/renderer/host/connected-configuration.d.ts.map +1 -0
- package/dist/renderer/host/connected-configuration.js +36 -0
- package/dist/renderer/host/connected-configuration.js.map +1 -0
- package/dist/renderer/host/control.d.ts +8 -0
- package/dist/renderer/host/control.d.ts.map +1 -1
- package/dist/renderer/host/control.js +7 -2
- package/dist/renderer/host/control.js.map +1 -1
- package/dist/renderer/host/element-animation.d.ts.map +1 -1
- package/dist/renderer/host/element-animation.js +2 -15
- package/dist/renderer/host/element-animation.js.map +1 -1
- package/dist/renderer/host/glide-height.d.ts +27 -0
- package/dist/renderer/host/glide-height.d.ts.map +1 -0
- package/dist/renderer/host/glide-height.js +106 -0
- package/dist/renderer/host/glide-height.js.map +1 -0
- package/dist/renderer/host/implicit-layout-animation.d.ts +50 -0
- package/dist/renderer/host/implicit-layout-animation.d.ts.map +1 -0
- package/dist/renderer/host/implicit-layout-animation.js +121 -0
- package/dist/renderer/host/implicit-layout-animation.js.map +1 -0
- package/dist/renderer/host/motion-preference.d.ts +19 -0
- package/dist/renderer/host/motion-preference.d.ts.map +1 -0
- package/dist/renderer/host/motion-preference.js +26 -0
- package/dist/renderer/host/motion-preference.js.map +1 -0
- package/dist/renderer/host/values.d.ts +1 -1
- package/dist/renderer/host/view-transition-names.d.ts +13 -0
- package/dist/renderer/host/view-transition-names.d.ts.map +1 -0
- package/dist/renderer/host/view-transition-names.js +25 -0
- package/dist/renderer/host/view-transition-names.js.map +1 -0
- package/dist/settings/SettingsCard.d.svelte.ts +12 -0
- package/dist/settings/SettingsCard.svelte +80 -0
- package/dist/settings/SettingsExpander.d.svelte.ts +12 -0
- package/dist/settings/SettingsExpander.svelte +46 -0
- package/dist/settings/SettingsRow.svelte +79 -0
- package/dist/settings/index.d.ts +5 -0
- package/dist/settings/index.d.ts.map +1 -0
- package/dist/settings/index.js +7 -0
- package/dist/settings/index.js.map +1 -0
- package/dist/settings/settings-context.d.ts +7 -0
- package/dist/settings/settings-context.d.ts.map +1 -0
- package/dist/settings/settings-context.js +11 -0
- package/dist/settings/settings-context.js.map +1 -0
- package/dist/settings/settings-props.d.ts +40 -0
- package/dist/settings/settings-props.d.ts.map +1 -0
- package/dist/settings/settings-props.js +3 -0
- package/dist/settings/settings-props.js.map +1 -0
- package/dist/store/bindings.d.ts +7 -0
- package/dist/store/bindings.d.ts.map +1 -0
- package/dist/store/bindings.js +10 -0
- package/dist/store/bindings.js.map +1 -0
- package/dist/store/identity.d.ts +24 -0
- package/dist/store/identity.d.ts.map +1 -0
- package/dist/store/identity.js +27 -0
- package/dist/store/identity.js.map +1 -0
- package/dist/store/index.d.ts +10 -0
- package/dist/store/index.d.ts.map +1 -0
- package/dist/store/index.js +8 -0
- package/dist/store/index.js.map +1 -0
- package/dist/store/license.d.ts +63 -0
- package/dist/store/license.d.ts.map +1 -0
- package/dist/store/license.js +95 -0
- package/dist/store/license.js.map +1 -0
- package/dist/store/packages.d.ts +45 -0
- package/dist/store/packages.d.ts.map +1 -0
- package/dist/store/packages.js +80 -0
- package/dist/store/packages.js.map +1 -0
- package/dist/store/reply.d.ts +26 -0
- package/dist/store/reply.d.ts.map +1 -0
- package/dist/store/reply.js +15 -0
- package/dist/store/reply.js.map +1 -0
- package/dist/store/startup.d.ts +23 -0
- package/dist/store/startup.d.ts.map +1 -0
- package/dist/store/startup.js +18 -0
- package/dist/store/startup.js.map +1 -0
- package/dist/store/states.d.ts +50 -0
- package/dist/store/states.d.ts.map +1 -0
- package/dist/store/states.js +56 -0
- package/dist/store/states.js.map +1 -0
- package/dist/store/types.d.ts +102 -0
- package/dist/store/types.d.ts.map +1 -0
- package/dist/store/types.js +2 -0
- package/dist/store/types.js.map +1 -0
- package/dist/store/updates.d.ts +23 -0
- package/dist/store/updates.d.ts.map +1 -0
- package/dist/store/updates.js +18 -0
- package/dist/store/updates.js.map +1 -0
- package/dist/store/window-interop.d.ts +10 -0
- package/dist/store/window-interop.d.ts.map +1 -0
- package/dist/store/window-interop.js +35 -0
- package/dist/store/window-interop.js.map +1 -0
- package/dist/store/windows-backend.d.ts +23 -0
- package/dist/store/windows-backend.d.ts.map +1 -0
- package/dist/store/windows-backend.js +26 -0
- package/dist/store/windows-backend.js.map +1 -0
- package/dist/store/windows-identity.d.ts +22 -0
- package/dist/store/windows-identity.d.ts.map +1 -0
- package/dist/store/windows-identity.js +51 -0
- package/dist/store/windows-identity.js.map +1 -0
- package/dist/store/windows-packages.d.ts +26 -0
- package/dist/store/windows-packages.d.ts.map +1 -0
- package/dist/store/windows-packages.js +70 -0
- package/dist/store/windows-packages.js.map +1 -0
- package/dist/store/windows-store.d.ts +47 -0
- package/dist/store/windows-store.d.ts.map +1 -0
- package/dist/store/windows-store.js +107 -0
- package/dist/store/windows-store.js.map +1 -0
- package/dist/tray/exit-hook.d.ts +3 -0
- package/dist/tray/exit-hook.d.ts.map +1 -0
- package/dist/tray/exit-hook.js +11 -0
- package/dist/tray/exit-hook.js.map +1 -0
- package/dist/tray/native.d.ts.map +1 -1
- package/dist/tray/native.js +5 -41
- package/dist/tray/native.js.map +1 -1
- package/dist/tray/standalone/index.d.ts +11 -0
- package/dist/tray/standalone/index.d.ts.map +1 -0
- package/dist/tray/standalone/index.js +6 -0
- package/dist/tray/standalone/index.js.map +1 -0
- package/dist/tray/standalone/native.d.ts +40 -0
- package/dist/tray/standalone/native.d.ts.map +1 -0
- package/dist/tray/standalone/native.js +96 -0
- package/dist/tray/standalone/native.js.map +1 -0
- package/dist/tray/standalone/standalone-tray.d.ts +44 -0
- package/dist/tray/standalone/standalone-tray.d.ts.map +1 -0
- package/dist/tray/standalone/standalone-tray.js +75 -0
- package/dist/tray/standalone/standalone-tray.js.map +1 -0
- package/dist/tray/tray-icon.d.ts.map +1 -1
- package/dist/tray/tray-icon.js +3 -6
- package/dist/tray/tray-icon.js.map +1 -1
- package/dist/web-apis/animations.d.ts +2 -5
- package/dist/web-apis/animations.d.ts.map +1 -1
- package/dist/web-apis/animations.js +1 -20
- package/dist/web-apis/animations.js.map +1 -1
- package/dist/web-apis/atomic-file.d.ts +19 -0
- package/dist/web-apis/atomic-file.d.ts.map +1 -0
- package/dist/web-apis/atomic-file.js +28 -0
- package/dist/web-apis/atomic-file.js.map +1 -0
- package/dist/web-apis/badge-glyph.d.ts +19 -0
- package/dist/web-apis/badge-glyph.d.ts.map +1 -0
- package/dist/web-apis/badge-glyph.js +17 -0
- package/dist/web-apis/badge-glyph.js.map +1 -0
- package/dist/web-apis/badging.d.ts +8 -18
- package/dist/web-apis/badging.d.ts.map +1 -1
- package/dist/web-apis/badging.js +25 -17
- package/dist/web-apis/badging.js.map +1 -1
- package/dist/web-apis/contacts.d.ts +1 -1
- package/dist/web-apis/fonts.d.ts +113 -0
- package/dist/web-apis/fonts.d.ts.map +1 -0
- package/dist/web-apis/fonts.js +237 -0
- package/dist/web-apis/fonts.js.map +1 -0
- package/dist/web-apis/geolocation.d.ts +1 -1
- package/dist/web-apis/keyframe-input.d.ts +15 -0
- package/dist/web-apis/keyframe-input.d.ts.map +1 -0
- package/dist/web-apis/keyframe-input.js +30 -0
- package/dist/web-apis/keyframe-input.js.map +1 -0
- package/dist/web-apis/notification.d.ts +48 -1
- package/dist/web-apis/notification.d.ts.map +1 -1
- package/dist/web-apis/notification.js +98 -4
- package/dist/web-apis/notification.js.map +1 -1
- package/dist/web-apis/page.d.ts +20 -4
- package/dist/web-apis/page.d.ts.map +1 -1
- package/dist/web-apis/page.js +54 -8
- package/dist/web-apis/page.js.map +1 -1
- package/dist/web-apis/scroll-timeline.d.ts +127 -0
- package/dist/web-apis/scroll-timeline.d.ts.map +1 -0
- package/dist/web-apis/scroll-timeline.js +415 -0
- package/dist/web-apis/scroll-timeline.js.map +1 -0
- package/dist/web-apis/view-transitions.d.ts +80 -0
- package/dist/web-apis/view-transitions.d.ts.map +1 -0
- package/dist/web-apis/view-transitions.js +299 -0
- package/dist/web-apis/view-transitions.js.map +1 -0
- package/dist/web-apis/web-storage.d.ts +1 -18
- package/dist/web-apis/web-storage.d.ts.map +1 -1
- package/dist/web-apis/web-storage.js +1 -26
- package/dist/web-apis/web-storage.js.map +1 -1
- package/dist/web-apis/window-controls-overlay.d.ts +105 -0
- package/dist/web-apis/window-controls-overlay.d.ts.map +1 -0
- package/dist/web-apis/window-controls-overlay.js +147 -0
- package/dist/web-apis/window-controls-overlay.js.map +1 -0
- package/dist/web-apis/window-geometry.d.ts +39 -0
- package/dist/web-apis/window-geometry.d.ts.map +1 -0
- package/dist/web-apis/window-geometry.js +95 -0
- package/dist/web-apis/window-geometry.js.map +1 -0
- package/dist/win2d/Canvas.svelte +1 -0
- package/dist/win2d/child-slot.d.ts +13 -0
- package/dist/win2d/child-slot.d.ts.map +1 -0
- package/dist/win2d/child-slot.js +29 -0
- package/dist/win2d/child-slot.js.map +1 -0
- package/dist/win2d/context-2d/pointer-events.d.ts +1 -2
- package/dist/win2d/context-2d/pointer-events.d.ts.map +1 -1
- package/dist/win2d/context-2d/pointer-events.js +13 -102
- package/dist/win2d/context-2d/pointer-events.js.map +1 -1
- package/dist/win2d/element-lifecycle.d.ts +37 -0
- package/dist/win2d/element-lifecycle.d.ts.map +1 -0
- package/dist/win2d/element-lifecycle.js +73 -0
- package/dist/win2d/element-lifecycle.js.map +1 -0
- package/dist/win2d/element-shadow.d.ts +26 -0
- package/dist/win2d/element-shadow.d.ts.map +1 -0
- package/dist/win2d/element-shadow.js +128 -0
- package/dist/win2d/element-shadow.js.map +1 -0
- package/dist/win2d/element-visual.d.ts +1 -3
- package/dist/win2d/element-visual.d.ts.map +1 -1
- package/dist/win2d/element-visual.js +18 -72
- package/dist/win2d/element-visual.js.map +1 -1
- package/dist/win2d/scroll-host.d.ts +27 -0
- package/dist/win2d/scroll-host.d.ts.map +1 -0
- package/dist/win2d/scroll-host.js +293 -0
- package/dist/win2d/scroll-host.js.map +1 -0
- package/dist/win2d/scroll-link.d.ts +57 -0
- package/dist/win2d/scroll-link.d.ts.map +1 -0
- package/dist/win2d/scroll-link.js +165 -0
- package/dist/win2d/scroll-link.js.map +1 -0
- package/dist/win2d/shadow-geometry.d.ts +46 -0
- package/dist/win2d/shadow-geometry.d.ts.map +1 -0
- package/dist/win2d/shadow-geometry.js +82 -0
- package/dist/win2d/shadow-geometry.js.map +1 -0
- package/dist/win2d/shadow-host.d.ts +13 -0
- package/dist/win2d/shadow-host.d.ts.map +1 -0
- package/dist/win2d/shadow-host.js +23 -0
- package/dist/win2d/shadow-host.js.map +1 -0
- package/dist/win2d/shadow-receivers.d.ts +13 -0
- package/dist/win2d/shadow-receivers.d.ts.map +1 -0
- package/dist/win2d/shadow-receivers.js +56 -0
- package/dist/win2d/shadow-receivers.js.map +1 -0
- package/dist/win32-calls.d.ts +3 -1
- package/dist/win32-calls.d.ts.map +1 -1
- package/dist/win32-calls.js +3 -2
- package/dist/win32-calls.js.map +1 -1
- package/dist/win32-icons.d.ts +36 -0
- package/dist/win32-icons.d.ts.map +1 -0
- package/dist/win32-icons.js +143 -0
- package/dist/win32-icons.js.map +1 -0
- package/dist/window/anchor.d.ts +92 -0
- package/dist/window/anchor.d.ts.map +1 -0
- package/dist/window/anchor.js +100 -0
- package/dist/window/anchor.js.map +1 -0
- package/dist/window/apply-chrome.d.ts +8 -1
- package/dist/window/apply-chrome.d.ts.map +1 -1
- package/dist/window/apply-chrome.js +16 -2
- package/dist/window/apply-chrome.js.map +1 -1
- package/dist/window/backdrop.d.ts +4 -1
- package/dist/window/backdrop.d.ts.map +1 -1
- package/dist/window/backdrop.js +10 -2
- package/dist/window/backdrop.js.map +1 -1
- package/dist/window/badge-icon.d.ts +37 -0
- package/dist/window/badge-icon.d.ts.map +1 -0
- package/dist/window/badge-icon.js +196 -0
- package/dist/window/badge-icon.js.map +1 -0
- package/dist/window/chrome.d.ts +10 -0
- package/dist/window/chrome.d.ts.map +1 -1
- package/dist/window/chrome.js +8 -0
- package/dist/window/chrome.js.map +1 -1
- package/dist/window/create-window.d.ts +1 -1
- package/dist/window/create-window.d.ts.map +1 -1
- package/dist/window/create-window.js +3 -1
- package/dist/window/create-window.js.map +1 -1
- package/dist/window/css-pixels.d.ts +14 -0
- package/dist/window/css-pixels.d.ts.map +1 -0
- package/dist/window/css-pixels.js +12 -0
- package/dist/window/css-pixels.js.map +1 -0
- package/dist/window/dock.d.ts +51 -0
- package/dist/window/dock.d.ts.map +1 -0
- package/dist/window/dock.js +69 -0
- package/dist/window/dock.js.map +1 -0
- package/dist/window/index.d.ts +5 -1
- package/dist/window/index.d.ts.map +1 -1
- package/dist/window/index.js +3 -1
- package/dist/window/index.js.map +1 -1
- package/dist/window/message-hooks.d.ts +26 -0
- package/dist/window/message-hooks.d.ts.map +1 -0
- package/dist/window/message-hooks.js +46 -0
- package/dist/window/message-hooks.js.map +1 -0
- package/dist/window/message-pump.d.ts +3 -1
- package/dist/window/message-pump.d.ts.map +1 -1
- package/dist/window/message-pump.js +4 -1
- package/dist/window/message-pump.js.map +1 -1
- package/dist/window/native.d.ts +40 -0
- package/dist/window/native.d.ts.map +1 -1
- package/dist/window/native.js +144 -6
- package/dist/window/native.js.map +1 -1
- package/dist/window/reduced-motion.d.ts +7 -0
- package/dist/window/reduced-motion.d.ts.map +1 -0
- package/dist/window/reduced-motion.js +15 -0
- package/dist/window/reduced-motion.js.map +1 -0
- package/dist/window/system-dispatcher-queue.d.ts +7 -0
- package/dist/window/system-dispatcher-queue.d.ts.map +1 -0
- package/dist/window/system-dispatcher-queue.js +56 -0
- package/dist/window/system-dispatcher-queue.js.map +1 -0
- package/dist/window/taskbar-calls.d.ts +58 -0
- package/dist/window/taskbar-calls.d.ts.map +1 -0
- package/dist/window/taskbar-calls.js +77 -0
- package/dist/window/taskbar-calls.js.map +1 -0
- package/dist/window/taskbar-native.d.ts +9 -0
- package/dist/window/taskbar-native.d.ts.map +1 -0
- package/dist/window/taskbar-native.js +119 -0
- package/dist/window/taskbar-native.js.map +1 -0
- package/dist/window/taskbar.d.ts +104 -0
- package/dist/window/taskbar.d.ts.map +1 -0
- package/dist/window/taskbar.js +117 -0
- package/dist/window/taskbar.js.map +1 -0
- package/dist/window/transparent-backdrop.d.ts +18 -0
- package/dist/window/transparent-backdrop.d.ts.map +1 -0
- package/dist/window/transparent-backdrop.js +71 -0
- package/dist/window/transparent-backdrop.js.map +1 -0
- package/dist/window/window-handle.d.ts +34 -0
- package/dist/window/window-handle.d.ts.map +1 -1
- package/dist/window/window-handle.js +55 -0
- package/dist/window/window-handle.js.map +1 -1
- package/dist/window/window-host.svelte.d.ts +34 -13
- package/dist/window/window-host.svelte.d.ts.map +1 -1
- package/dist/window/window-host.svelte.js +220 -18
- package/dist/window/window-host.svelte.js.map +1 -1
- package/dist/window/window-state-keeper.d.ts +49 -0
- package/dist/window/window-state-keeper.d.ts.map +1 -0
- package/dist/window/window-state-keeper.js +164 -0
- package/dist/window/window-state-keeper.js.map +1 -0
- package/dist/window/window-state.d.ts +83 -0
- package/dist/window/window-state.d.ts.map +1 -0
- package/dist/window/window-state.js +155 -0
- package/dist/window/window-state.js.map +1 -0
- package/dist/winui.d.ts +7 -0
- package/dist/winui.d.ts.map +1 -1
- package/dist/winui.js +7 -0
- package/dist/winui.js.map +1 -1
- package/package.json +123 -7
- package/src/accessibility/announce.ts +67 -0
- package/src/accessibility/audit/audit-tree.ts +199 -0
- package/src/accessibility/audit/contrast.ts +149 -0
- package/src/accessibility/audit/index.ts +27 -0
- package/src/accessibility/audit/rules.ts +110 -0
- package/src/accessibility/audit/visual-tree-host.ts +179 -0
- package/src/accessibility/index.ts +8 -0
- package/src/accessibility/live-priority.ts +32 -0
- package/src/accessibility/live-region.ts +27 -0
- package/src/accessibility/notification.ts +35 -0
- package/src/app/activate.ts +88 -0
- package/src/app/activation/classify.ts +130 -0
- package/src/app/activation/command.ts +83 -0
- package/src/app/activation/context.ts +29 -0
- package/src/app/activation/index.ts +10 -0
- package/src/app/activation/kinds.ts +63 -0
- package/src/app/activation/login.ts +90 -0
- package/src/app/activation/native.ts +301 -0
- package/src/app/activation/protocol-handlers.ts +83 -0
- package/src/app/activation/receive.ts +106 -0
- package/src/app/activation/registration.ts +305 -0
- package/src/app/activation/registry.ts +26 -0
- package/src/app/activation/scheme.ts +115 -0
- package/src/app/hotkeys/errors.ts +30 -0
- package/src/app/hotkeys/index.ts +76 -0
- package/src/app/hotkeys/keys.ts +194 -0
- package/src/app/hotkeys/native.ts +36 -0
- package/src/app/hotkeys/registry.ts +153 -0
- package/src/app/index.ts +6 -0
- package/src/app/launch-command.ts +80 -0
- package/src/app/native.ts +58 -0
- package/src/app/notification-schedule.ts +25 -0
- package/src/app/notification-source.ts +23 -8
- package/src/app/notify.ts +65 -10
- package/src/app/relaunch.ts +79 -0
- package/src/app/restart-after-crash.ts +111 -0
- package/src/app/schedule-bindings.ts +3 -0
- package/src/app/windows-time.ts +13 -0
- package/src/components/convert.ts +6 -5
- package/src/components/fluent-glyph.ts +6 -0
- package/src/components/generated/bindings.ts +1 -0
- package/src/components/generated/controls/FontIcon.svelte.ts +1 -1
- package/src/components/generated/controls/FontIconSource.svelte.ts +1 -1
- package/src/components/generated/controls/UIElement.svelte.ts +1 -1
- package/src/components/generated/enums.ts +3 -0
- package/src/components/index.ts +4 -2
- package/src/components/runtime.svelte.ts +18 -6
- package/src/composition/animate.ts +263 -0
- package/src/composition/expression.ts +492 -0
- package/src/composition/index.ts +36 -0
- package/src/composition/property-set.ts +104 -0
- package/src/composition/spring.ts +57 -0
- package/src/composition/targets.ts +74 -0
- package/src/css/API.md +321 -2
- package/src/css/index.ts +2 -0
- package/src/css/parse/box-shadow.ts +90 -0
- package/src/css/parse/filters.ts +1 -1
- package/src/css/parse/parser.ts +1 -1
- package/src/css/parse/scroll-timeline.ts +373 -0
- package/src/css/runtime/resources.ts +2 -2
- package/src/css/runtime/runtime.ts +52 -16
- package/src/css/runtime/sheet-module.ts +31 -11
- package/src/css/runtime/visual-state-native.ts +161 -0
- package/src/css/runtime/visual-states.ts +117 -0
- package/src/css/scroll-timeline.ts +12 -0
- package/src/css/shadow.ts +12 -0
- package/src/css/translate/animation-properties.ts +240 -15
- package/src/css/translate/build-shorthands.ts +5 -3
- package/src/css/translate/cascade.ts +5 -1
- package/src/css/translate/easing.ts +5 -0
- package/src/css/translate/font-face.ts +97 -0
- package/src/css/translate/handled-members.ts +16 -0
- package/src/css/translate/lazy-groups.ts +43 -1
- package/src/css/translate/linked-tracks.ts +56 -0
- package/src/css/translate/scroll-link.ts +317 -0
- package/src/css/translate/scroll-timeline-properties.ts +222 -0
- package/src/css/translate/shadow-mode.ts +29 -0
- package/src/css/translate/shadow-properties.ts +199 -0
- package/src/css/translate/shorthands.ts +4 -3
- package/src/css/translate/state-properties.ts +151 -0
- package/src/css/translate/surface-properties.ts +22 -17
- package/src/css/translate/translate.ts +69 -17
- package/src/css/translate/type-ramp.ts +65 -0
- package/src/css/translate/types.ts +8 -0
- package/src/css/translate/typography-properties.ts +533 -0
- package/src/css/translate/unsupported-properties.ts +8 -1
- package/src/css/translate/view-transition-properties.ts +70 -0
- package/src/css/translate/winui-only-properties.ts +16 -1
- package/src/css/typography.ts +6 -0
- package/src/css/validate/vscode-data.ts +44 -0
- package/src/css/view-transition.ts +13 -0
- package/src/css/visual-states.ts +17 -0
- package/src/dev/dev-window.ts +63 -0
- package/src/dev/index.ts +2 -0
- package/src/dev/start-dev.ts +120 -0
- package/src/devices/bindings.ts +4 -1
- package/src/devices/displays.svelte.ts +2 -1
- package/src/devices/live.svelte.ts +4 -54
- package/src/devices/power.svelte.ts +51 -0
- package/src/devices/power.ts +12 -3
- package/src/devices/subscription.ts +60 -0
- package/src/devices/system-power.ts +95 -0
- package/src/enums.ts +13 -1
- package/src/font-files.ts +68 -0
- package/src/font-registry.ts +79 -0
- package/src/font-spelling.ts +29 -0
- package/src/index.ts +2 -0
- package/src/input/active-element.svelte.ts +44 -0
- package/src/input/dom-event.ts +121 -0
- package/src/input/events.ts +272 -0
- package/src/input/focused-element.ts +34 -0
- package/src/input/index.ts +12 -0
- package/src/input/key-names.ts +231 -0
- package/src/input/keyboard-fields.ts +71 -0
- package/src/input/move-focus.ts +35 -0
- package/src/input/pointer-capture.ts +92 -0
- package/src/input/pointer-fields.ts +212 -0
- package/src/input/pointer-routes.ts +16 -0
- package/src/input/trap-focus.ts +56 -0
- package/src/key-code.ts +139 -0
- package/src/messaging/page.ts +61 -0
- package/src/messaging/web-view2/cookies.ts +109 -0
- package/src/messaging/web-view2/core.ts +126 -0
- package/src/messaging/web-view2/index.ts +14 -0
- package/src/messaging/web-view2/policy.ts +127 -0
- package/src/messaging/web-view2/transport.ts +137 -0
- package/src/notice/index.ts +3 -0
- package/src/notice/native.ts +48 -0
- package/src/notice/notice.ts +148 -0
- package/src/renderer/host/connected-configuration.ts +49 -0
- package/src/renderer/host/control.ts +7 -2
- package/src/renderer/host/element-animation.ts +2 -16
- package/src/renderer/host/glide-height.ts +147 -0
- package/src/renderer/host/implicit-layout-animation.ts +190 -0
- package/src/renderer/host/motion-preference.ts +31 -0
- package/src/renderer/host/view-transition-names.ts +30 -0
- package/src/settings/SettingsCard.d.svelte.ts +12 -0
- package/src/settings/SettingsExpander.d.svelte.ts +12 -0
- package/src/settings/index.ts +9 -0
- package/src/settings/settings-context.ts +13 -0
- package/src/settings/settings-props.ts +57 -0
- package/src/store/bindings.ts +11 -0
- package/src/store/identity.ts +36 -0
- package/src/store/index.ts +21 -0
- package/src/store/license.ts +136 -0
- package/src/store/packages.ts +94 -0
- package/src/store/reply.ts +29 -0
- package/src/store/startup.ts +29 -0
- package/src/store/states.ts +72 -0
- package/src/store/types.ts +122 -0
- package/src/store/updates.ts +29 -0
- package/src/store/window-interop.ts +40 -0
- package/src/store/windows-backend.ts +27 -0
- package/src/store/windows-identity.ts +58 -0
- package/src/store/windows-packages.ts +91 -0
- package/src/store/windows-store.ts +126 -0
- package/src/tray/exit-hook.ts +13 -0
- package/src/tray/native.ts +5 -41
- package/src/tray/standalone/index.ts +16 -0
- package/src/tray/standalone/native.ts +144 -0
- package/src/tray/standalone/standalone-tray.ts +124 -0
- package/src/tray/tray-icon.ts +3 -8
- package/src/web-apis/animations.ts +4 -31
- package/src/web-apis/atomic-file.ts +36 -0
- package/src/web-apis/badge-glyph.ts +18 -0
- package/src/web-apis/badging.ts +37 -19
- package/src/web-apis/fonts.ts +277 -0
- package/src/web-apis/keyframe-input.ts +43 -0
- package/src/web-apis/notification.ts +114 -4
- package/src/web-apis/page.ts +70 -8
- package/src/web-apis/scroll-timeline.ts +544 -0
- package/src/web-apis/view-transitions.ts +409 -0
- package/src/web-apis/web-storage.ts +2 -35
- package/src/web-apis/window-controls-overlay.ts +213 -0
- package/src/web-apis/window-geometry.ts +106 -0
- package/src/win2d/child-slot.ts +43 -0
- package/src/win2d/context-2d/pointer-events.ts +14 -119
- package/src/win2d/element-lifecycle.ts +97 -0
- package/src/win2d/element-shadow.ts +167 -0
- package/src/win2d/element-visual.ts +19 -84
- package/src/win2d/scroll-host.ts +364 -0
- package/src/win2d/scroll-link.ts +227 -0
- package/src/win2d/shadow-geometry.ts +98 -0
- package/src/win2d/shadow-host.ts +26 -0
- package/src/win2d/shadow-receivers.ts +82 -0
- package/src/win32-calls.ts +6 -2
- package/src/win32-icons.ts +162 -0
- package/src/window/anchor.ts +156 -0
- package/src/window/apply-chrome.ts +22 -0
- package/src/window/backdrop.ts +11 -2
- package/src/window/badge-icon.ts +234 -0
- package/src/window/chrome.ts +12 -0
- package/src/window/create-window.ts +5 -1
- package/src/window/css-pixels.ts +18 -0
- package/src/window/dock.ts +99 -0
- package/src/window/index.ts +5 -1
- package/src/window/message-hooks.ts +63 -0
- package/src/window/message-pump.ts +8 -1
- package/src/window/native.ts +174 -6
- package/src/window/reduced-motion.ts +14 -0
- package/src/window/system-dispatcher-queue.ts +61 -0
- package/src/window/taskbar-calls.ts +111 -0
- package/src/window/taskbar-native.ts +140 -0
- package/src/window/taskbar.ts +174 -0
- package/src/window/transparent-backdrop.ts +75 -0
- package/src/window/window-handle.ts +62 -0
- package/src/window/window-host.svelte.ts +300 -31
- package/src/window/window-state-keeper.ts +205 -0
- package/src/window/window-state.ts +207 -0
- package/src/winui.ts +7 -0
- package/web-types.json +10625 -1484
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
// Generated by dynwinrt-codegen — do not edit
|
|
2
|
+
import { DynWinRtType, DynWinRtValue, DynWinRtStruct, WinGuid } from '@microsoft/dynwinrt';
|
|
3
|
+
import { IReference_WindowsFoundationDateTime_g49e2fdd1bcf351db } from '../../foundation/IReference_WindowsFoundationDateTime_g49e2fdd1bcf351db.js';
|
|
4
|
+
import { XmlDocument } from '../../data/xml/dom/XmlDocument.js';
|
|
5
|
+
import { NotificationMirroring } from './NotificationMirroring.js';
|
|
6
|
+
|
|
7
|
+
export interface DateTime {
|
|
8
|
+
universalTime: bigint;
|
|
9
|
+
}
|
|
10
|
+
/** Convert a WinRT struct value into a `DateTime` object. */
|
|
11
|
+
export declare function unpackDateTime(v: DynWinRtValue): DateTime;
|
|
12
|
+
export declare const DateTime_Type: DynWinRtType;
|
|
13
|
+
/** Convert a `DateTime` object into a WinRT struct value. */
|
|
14
|
+
export declare function packDateTime(v: DateTime): DynWinRtStruct;
|
|
15
|
+
|
|
16
|
+
export interface TimeSpan {
|
|
17
|
+
duration: bigint;
|
|
18
|
+
}
|
|
19
|
+
/** Convert a WinRT struct value into a `TimeSpan` object. */
|
|
20
|
+
export declare function unpackTimeSpan(v: DynWinRtValue): TimeSpan;
|
|
21
|
+
export declare const TimeSpan_Type: DynWinRtType;
|
|
22
|
+
/** Convert a `TimeSpan` object into a WinRT struct value. */
|
|
23
|
+
export declare function packTimeSpan(v: TimeSpan): DynWinRtStruct;
|
|
24
|
+
|
|
25
|
+
export declare const IID_ScheduledToastNotification: WinGuid;
|
|
26
|
+
export declare class ScheduledToastNotification {
|
|
27
|
+
constructor(content: XmlDocument, deliveryTime: DateTime);
|
|
28
|
+
constructor(content: XmlDocument, deliveryTime: DateTime, snoozeInterval: TimeSpan, maximumSnoozeCount: number);
|
|
29
|
+
static createScheduledToastNotification(content: XmlDocument, deliveryTime: DateTime): ScheduledToastNotification;
|
|
30
|
+
static createScheduledToastNotificationRecurring(content: XmlDocument, deliveryTime: DateTime, snoozeInterval: TimeSpan, maximumSnoozeCount: number): ScheduledToastNotification;
|
|
31
|
+
get content(): XmlDocument;
|
|
32
|
+
get deliveryTime(): DateTime;
|
|
33
|
+
get snoozeInterval(): TimeSpan | null;
|
|
34
|
+
get maximumSnoozeCount(): number;
|
|
35
|
+
get id(): string;
|
|
36
|
+
set id(value: string);
|
|
37
|
+
/** Cast this object to another WinRT interface. */
|
|
38
|
+
as<T>(InterfaceClass: { from(obj: any): T }): T;
|
|
39
|
+
get tag(): string;
|
|
40
|
+
set tag(value: string);
|
|
41
|
+
get group(): string;
|
|
42
|
+
set group(value: string);
|
|
43
|
+
get suppressPopup(): boolean;
|
|
44
|
+
set suppressPopup(value: boolean);
|
|
45
|
+
get notificationMirroring(): NotificationMirroring;
|
|
46
|
+
set notificationMirroring(value: NotificationMirroring);
|
|
47
|
+
get remoteId(): string;
|
|
48
|
+
set remoteId(value: string);
|
|
49
|
+
get expirationTime(): DateTime | null;
|
|
50
|
+
set expirationTime(value: DateTime | null | IReference_WindowsFoundationDateTime_g49e2fdd1bcf351db);
|
|
51
|
+
}
|
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
// Generated by dynwinrt-codegen — do not edit
|
|
2
|
+
const { DynWinRtType, DynWinRtMethodSig, DynWinRtValue, DynWinRtArray, DynWinRtStruct, DynWinRtDelegate, WinGuid } = require('@microsoft/dynwinrt');
|
|
3
|
+
let __m_______foundation_IReference_WindowsFoundationDateTime_g49e2fdd1bcf351db_c69efed2;
|
|
4
|
+
const __load_______foundation_IReference_WindowsFoundationDateTime_g49e2fdd1bcf351db_c69efed2 = () => (__m_______foundation_IReference_WindowsFoundationDateTime_g49e2fdd1bcf351db_c69efed2 ??= require('./../../foundation/IReference_WindowsFoundationDateTime_g49e2fdd1bcf351db.js'));
|
|
5
|
+
const __get_IReference_WindowsFoundationDateTime_g49e2fdd1bcf351db = () => __load_______foundation_IReference_WindowsFoundationDateTime_g49e2fdd1bcf351db_c69efed2().IReference_WindowsFoundationDateTime_g49e2fdd1bcf351db;
|
|
6
|
+
let __m_______foundation_IReference_WindowsFoundationTimeSpan_g75cd585a528e9bb3_618a70af;
|
|
7
|
+
const __load_______foundation_IReference_WindowsFoundationTimeSpan_g75cd585a528e9bb3_618a70af = () => (__m_______foundation_IReference_WindowsFoundationTimeSpan_g75cd585a528e9bb3_618a70af ??= require('./../../foundation/IReference_WindowsFoundationTimeSpan_g75cd585a528e9bb3.js'));
|
|
8
|
+
const __get_IReference_WindowsFoundationTimeSpan_g75cd585a528e9bb3 = () => __load_______foundation_IReference_WindowsFoundationTimeSpan_g75cd585a528e9bb3_618a70af().IReference_WindowsFoundationTimeSpan_g75cd585a528e9bb3;
|
|
9
|
+
let __m_______data_xml_dom_XmlDocument_7f2fd5f1;
|
|
10
|
+
const __load_______data_xml_dom_XmlDocument_7f2fd5f1 = () => (__m_______data_xml_dom_XmlDocument_7f2fd5f1 ??= require('./../../data/xml/dom/XmlDocument.js'));
|
|
11
|
+
const __get_XmlDocument = () => __load_______data_xml_dom_XmlDocument_7f2fd5f1().XmlDocument;
|
|
12
|
+
let __m_NotificationMirroring;
|
|
13
|
+
const __load_NotificationMirroring = () => (__m_NotificationMirroring ??= require('./NotificationMirroring.js'));
|
|
14
|
+
const __get_NotificationMirroring = () => __load_NotificationMirroring().NotificationMirroring;
|
|
15
|
+
const { IID_IScheduledToastNotification2 } = require('./IScheduledToastNotification2.js');
|
|
16
|
+
let __m_IScheduledToastNotification2;
|
|
17
|
+
const __load_IScheduledToastNotification2 = () => (__m_IScheduledToastNotification2 ??= require('./IScheduledToastNotification2.js'));
|
|
18
|
+
const __get_IScheduledToastNotification2 = () => __load_IScheduledToastNotification2().IScheduledToastNotification2;
|
|
19
|
+
const { IID_IScheduledToastNotification3 } = require('./IScheduledToastNotification3.js');
|
|
20
|
+
let __m_IScheduledToastNotification3;
|
|
21
|
+
const __load_IScheduledToastNotification3 = () => (__m_IScheduledToastNotification3 ??= require('./IScheduledToastNotification3.js'));
|
|
22
|
+
const __get_IScheduledToastNotification3 = () => __load_IScheduledToastNotification3().IScheduledToastNotification3;
|
|
23
|
+
const { IID_IScheduledToastNotification4 } = require('./IScheduledToastNotification4.js');
|
|
24
|
+
let __m_IScheduledToastNotification4;
|
|
25
|
+
const __load_IScheduledToastNotification4 = () => (__m_IScheduledToastNotification4 ??= require('./IScheduledToastNotification4.js'));
|
|
26
|
+
const __get_IScheduledToastNotification4 = () => __load_IScheduledToastNotification4().IScheduledToastNotification4;
|
|
27
|
+
let __m_lifetime;
|
|
28
|
+
const __load_lifetime = () => (__m_lifetime ??= require('../../../lifetime.js'));
|
|
29
|
+
const __get_castProjectedValueBorrowed = () => __load_lifetime().castProjectedValueBorrowed;
|
|
30
|
+
const __get_castProjectedValueOwned = () => __load_lifetime().castProjectedValueOwned;
|
|
31
|
+
const __get_trackProjectedValue = () => __load_lifetime().trackProjectedValue;
|
|
32
|
+
|
|
33
|
+
const _unwrap = (x) => x?._obj ?? x;
|
|
34
|
+
|
|
35
|
+
const IID_IScheduledToastNotification = WinGuid.parse('79f577f8-0de7-48cd-9740-9b370490c838');
|
|
36
|
+
const IID_IScheduledToastNotificationFactory = WinGuid.parse('e7bed191-0bb9-4189-8394-31761b476fd7');
|
|
37
|
+
const IID_ScheduledToastNotification = WinGuid.parse('79f577f8-0de7-48cd-9740-9b370490c838');
|
|
38
|
+
const IID_ARG_Windows_Data_Xml_Dom_XmlDocument = WinGuid.parse('f7f3a506-1e87-42d6-bcfb-b8c809fa5494');
|
|
39
|
+
|
|
40
|
+
let _IScheduledToastNotificationCache;
|
|
41
|
+
const _IScheduledToastNotification = new Proxy({}, {
|
|
42
|
+
get(_target, prop) {
|
|
43
|
+
_IScheduledToastNotificationCache ??= DynWinRtType.registerInterface(
|
|
44
|
+
"IScheduledToastNotification", IID_IScheduledToastNotification)
|
|
45
|
+
.addMethod("get_Content", new DynWinRtMethodSig().addOut(DynWinRtType.runtimeClass('Windows.Data.Xml.Dom.XmlDocument', DynWinRtType.interface(WinGuid.parse('f7f3a506-1e87-42d6-bcfb-b8c809fa5494')))))
|
|
46
|
+
.addMethod("get_DeliveryTime", new DynWinRtMethodSig().addOut(DynWinRtType.structType('Windows.Foundation.DateTime', [DynWinRtType.i64()])))
|
|
47
|
+
.addMethod("get_SnoozeInterval", new DynWinRtMethodSig().addOut(DynWinRtType.parameterized(WinGuid.parse('61c17706-2d65-11e0-9ae8-d48564015472'), [DynWinRtType.structType('Windows.Foundation.TimeSpan', [DynWinRtType.i64()])])))
|
|
48
|
+
.addMethod("get_MaximumSnoozeCount", new DynWinRtMethodSig().addOut(DynWinRtType.u32()))
|
|
49
|
+
.addMethod("put_Id", new DynWinRtMethodSig().addIn(DynWinRtType.hstring()))
|
|
50
|
+
.addMethod("get_Id", new DynWinRtMethodSig().addOut(DynWinRtType.hstring()));
|
|
51
|
+
const value = _IScheduledToastNotificationCache[prop];
|
|
52
|
+
return typeof value === 'function' ? value.bind(_IScheduledToastNotificationCache) : value;
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
let _IScheduledToastNotificationFactoryCache;
|
|
57
|
+
const _IScheduledToastNotificationFactory = new Proxy({}, {
|
|
58
|
+
get(_target, prop) {
|
|
59
|
+
_IScheduledToastNotificationFactoryCache ??= DynWinRtType.registerInterface(
|
|
60
|
+
"IScheduledToastNotificationFactory", IID_IScheduledToastNotificationFactory)
|
|
61
|
+
.addMethod("CreateScheduledToastNotification", new DynWinRtMethodSig().addIn(DynWinRtType.runtimeClass('Windows.Data.Xml.Dom.XmlDocument', DynWinRtType.interface(WinGuid.parse('f7f3a506-1e87-42d6-bcfb-b8c809fa5494')))).addIn(DynWinRtType.structType('Windows.Foundation.DateTime', [DynWinRtType.i64()])).addOut(DynWinRtType.runtimeClass('Windows.UI.Notifications.ScheduledToastNotification', DynWinRtType.interface(WinGuid.parse('79f577f8-0de7-48cd-9740-9b370490c838')))))
|
|
62
|
+
.addMethod("CreateScheduledToastNotificationRecurring", new DynWinRtMethodSig().addIn(DynWinRtType.runtimeClass('Windows.Data.Xml.Dom.XmlDocument', DynWinRtType.interface(WinGuid.parse('f7f3a506-1e87-42d6-bcfb-b8c809fa5494')))).addIn(DynWinRtType.structType('Windows.Foundation.DateTime', [DynWinRtType.i64()])).addIn(DynWinRtType.structType('Windows.Foundation.TimeSpan', [DynWinRtType.i64()])).addIn(DynWinRtType.u32()).addOut(DynWinRtType.runtimeClass('Windows.UI.Notifications.ScheduledToastNotification', DynWinRtType.interface(WinGuid.parse('79f577f8-0de7-48cd-9740-9b370490c838')))));
|
|
63
|
+
const value = _IScheduledToastNotificationFactoryCache[prop];
|
|
64
|
+
return typeof value === 'function' ? value.bind(_IScheduledToastNotificationFactoryCache) : value;
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
|
|
68
|
+
let _IScheduledToastNotification2Cache;
|
|
69
|
+
const _IScheduledToastNotification2 = new Proxy({}, {
|
|
70
|
+
get(_target, prop) {
|
|
71
|
+
_IScheduledToastNotification2Cache ??= DynWinRtType.registerInterface(
|
|
72
|
+
"IScheduledToastNotification2", IID_IScheduledToastNotification2)
|
|
73
|
+
.addMethod("put_Tag", new DynWinRtMethodSig().addIn(DynWinRtType.hstring()))
|
|
74
|
+
.addMethod("get_Tag", new DynWinRtMethodSig().addOut(DynWinRtType.hstring()))
|
|
75
|
+
.addMethod("put_Group", new DynWinRtMethodSig().addIn(DynWinRtType.hstring()))
|
|
76
|
+
.addMethod("get_Group", new DynWinRtMethodSig().addOut(DynWinRtType.hstring()))
|
|
77
|
+
.addMethod("put_SuppressPopup", new DynWinRtMethodSig().addIn(DynWinRtType.boolType()))
|
|
78
|
+
.addMethod("get_SuppressPopup", new DynWinRtMethodSig().addOut(DynWinRtType.boolType()));
|
|
79
|
+
const value = _IScheduledToastNotification2Cache[prop];
|
|
80
|
+
return typeof value === 'function' ? value.bind(_IScheduledToastNotification2Cache) : value;
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
|
|
84
|
+
let _IScheduledToastNotification3Cache;
|
|
85
|
+
const _IScheduledToastNotification3 = new Proxy({}, {
|
|
86
|
+
get(_target, prop) {
|
|
87
|
+
_IScheduledToastNotification3Cache ??= DynWinRtType.registerInterface(
|
|
88
|
+
"IScheduledToastNotification3", IID_IScheduledToastNotification3)
|
|
89
|
+
.addMethod("get_NotificationMirroring", new DynWinRtMethodSig().addOut(DynWinRtType.enumType('Windows.UI.Notifications.NotificationMirroring', ['Allowed', 'Disabled'], [0, 1])))
|
|
90
|
+
.addMethod("put_NotificationMirroring", new DynWinRtMethodSig().addIn(DynWinRtType.enumType('Windows.UI.Notifications.NotificationMirroring', ['Allowed', 'Disabled'], [0, 1])))
|
|
91
|
+
.addMethod("get_RemoteId", new DynWinRtMethodSig().addOut(DynWinRtType.hstring()))
|
|
92
|
+
.addMethod("put_RemoteId", new DynWinRtMethodSig().addIn(DynWinRtType.hstring()));
|
|
93
|
+
const value = _IScheduledToastNotification3Cache[prop];
|
|
94
|
+
return typeof value === 'function' ? value.bind(_IScheduledToastNotification3Cache) : value;
|
|
95
|
+
}
|
|
96
|
+
});
|
|
97
|
+
|
|
98
|
+
let _IScheduledToastNotification4Cache;
|
|
99
|
+
const _IScheduledToastNotification4 = new Proxy({}, {
|
|
100
|
+
get(_target, prop) {
|
|
101
|
+
_IScheduledToastNotification4Cache ??= DynWinRtType.registerInterface(
|
|
102
|
+
"IScheduledToastNotification4", IID_IScheduledToastNotification4)
|
|
103
|
+
.addMethod("get_ExpirationTime", new DynWinRtMethodSig().addOut(DynWinRtType.parameterized(WinGuid.parse('61c17706-2d65-11e0-9ae8-d48564015472'), [DynWinRtType.structType('Windows.Foundation.DateTime', [DynWinRtType.i64()])])))
|
|
104
|
+
.addMethod("put_ExpirationTime", new DynWinRtMethodSig().addIn(DynWinRtType.parameterized(WinGuid.parse('61c17706-2d65-11e0-9ae8-d48564015472'), [DynWinRtType.structType('Windows.Foundation.DateTime', [DynWinRtType.i64()])])));
|
|
105
|
+
const value = _IScheduledToastNotification4Cache[prop];
|
|
106
|
+
return typeof value === 'function' ? value.bind(_IScheduledToastNotification4Cache) : value;
|
|
107
|
+
}
|
|
108
|
+
});
|
|
109
|
+
|
|
110
|
+
function unpackDateTime(v) {
|
|
111
|
+
const s = v.asStruct();
|
|
112
|
+
return { universalTime: s.getI64(0) };
|
|
113
|
+
}
|
|
114
|
+
const _unpackDateTime = unpackDateTime;
|
|
115
|
+
const DateTime_Type = DynWinRtType.structType('Windows.Foundation.DateTime', [DynWinRtType.i64()]);
|
|
116
|
+
const _DateTime_Type = DateTime_Type;
|
|
117
|
+
function packDateTime(v) {
|
|
118
|
+
const s = DynWinRtStruct.create(DateTime_Type);
|
|
119
|
+
s.setI64(0, v.universalTime);
|
|
120
|
+
return s;
|
|
121
|
+
}
|
|
122
|
+
const _packDateTime = packDateTime;
|
|
123
|
+
|
|
124
|
+
function unpackTimeSpan(v) {
|
|
125
|
+
const s = v.asStruct();
|
|
126
|
+
return { duration: s.getI64(0) };
|
|
127
|
+
}
|
|
128
|
+
const _unpackTimeSpan = unpackTimeSpan;
|
|
129
|
+
const TimeSpan_Type = DynWinRtType.structType('Windows.Foundation.TimeSpan', [DynWinRtType.i64()]);
|
|
130
|
+
const _TimeSpan_Type = TimeSpan_Type;
|
|
131
|
+
function packTimeSpan(v) {
|
|
132
|
+
const s = DynWinRtStruct.create(TimeSpan_Type);
|
|
133
|
+
s.setI64(0, v.duration);
|
|
134
|
+
return s;
|
|
135
|
+
}
|
|
136
|
+
const _packTimeSpan = packTimeSpan;
|
|
137
|
+
|
|
138
|
+
class ScheduledToastNotification {
|
|
139
|
+
_obj;
|
|
140
|
+
static _f_IScheduledToastNotificationFactory;
|
|
141
|
+
static f_IScheduledToastNotificationFactory() { return ScheduledToastNotification._f_IScheduledToastNotificationFactory ??= DynWinRtValue.activationFactory('Windows.UI.Notifications.ScheduledToastNotification').cast(IID_IScheduledToastNotificationFactory); }
|
|
142
|
+
|
|
143
|
+
constructor(...args) {
|
|
144
|
+
if (args.length === 2) {
|
|
145
|
+
this._obj = ScheduledToastNotification.createScheduledToastNotification(args[0], args[1])._obj;
|
|
146
|
+
return;
|
|
147
|
+
}
|
|
148
|
+
if (args.length === 4) {
|
|
149
|
+
this._obj = ScheduledToastNotification.createScheduledToastNotificationRecurring(args[0], args[1], args[2], args[3])._obj;
|
|
150
|
+
return;
|
|
151
|
+
}
|
|
152
|
+
throw new TypeError('No matching constructor for ScheduledToastNotification.');
|
|
153
|
+
}
|
|
154
|
+
static _fromNative(obj) {
|
|
155
|
+
return Object.assign(Object.create(ScheduledToastNotification.prototype), { _obj: (__get_castProjectedValueOwned())(obj, IID_IScheduledToastNotification, 'ScheduledToastNotification') });
|
|
156
|
+
}
|
|
157
|
+
static _fromNativeBorrowed(obj) {
|
|
158
|
+
return Object.assign(Object.create(ScheduledToastNotification.prototype), { _obj: (__get_castProjectedValueBorrowed())(obj, IID_IScheduledToastNotification, 'ScheduledToastNotification') });
|
|
159
|
+
}
|
|
160
|
+
static createScheduledToastNotification(content, deliveryTime) {
|
|
161
|
+
return ScheduledToastNotification._fromNative(_IScheduledToastNotificationFactory.method(6).invoke(ScheduledToastNotification.f_IScheduledToastNotificationFactory(), [(content == null ? DynWinRtValue.nullValue() : ((value) => value instanceof DynWinRtValue && value.isNull() ? value : value.cast(IID_ARG_Windows_Data_Xml_Dom_XmlDocument))(_unwrap(content))), _packDateTime(deliveryTime).toValue()]));
|
|
162
|
+
}
|
|
163
|
+
static createScheduledToastNotificationRecurring(content, deliveryTime, snoozeInterval, maximumSnoozeCount) {
|
|
164
|
+
return ScheduledToastNotification._fromNative(_IScheduledToastNotificationFactory.method(7).invoke(ScheduledToastNotification.f_IScheduledToastNotificationFactory(), [(content == null ? DynWinRtValue.nullValue() : ((value) => value instanceof DynWinRtValue && value.isNull() ? value : value.cast(IID_ARG_Windows_Data_Xml_Dom_XmlDocument))(_unwrap(content))), _packDateTime(deliveryTime).toValue(), _packTimeSpan(snoozeInterval).toValue(), DynWinRtValue.u32(maximumSnoozeCount)]));
|
|
165
|
+
}
|
|
166
|
+
get content() {
|
|
167
|
+
return ((v) => v.isNull() ? null : (__get_XmlDocument())._fromNative(v))((() => { const _m = _IScheduledToastNotification.method(6); return typeof _m.getObj === 'function' ? _m.getObj(this._obj) : _m.invoke(this._obj, []); })());
|
|
168
|
+
}
|
|
169
|
+
get deliveryTime() {
|
|
170
|
+
return _unpackDateTime(_IScheduledToastNotification.method(7).invoke(this._obj, []));
|
|
171
|
+
}
|
|
172
|
+
get snoozeInterval() {
|
|
173
|
+
return ((v) => v.isNull() ? null : new (__get_IReference_WindowsFoundationTimeSpan_g75cd585a528e9bb3())(v).value)((() => { const _m = _IScheduledToastNotification.method(8); return typeof _m.getObj === 'function' ? _m.getObj(this._obj) : _m.invoke(this._obj, []); })());
|
|
174
|
+
}
|
|
175
|
+
get maximumSnoozeCount() {
|
|
176
|
+
return _IScheduledToastNotification.method(9).invoke(this._obj, []).toNumber();
|
|
177
|
+
}
|
|
178
|
+
get id() {
|
|
179
|
+
return (() => { const _m = _IScheduledToastNotification.method(11); return typeof _m.getString === 'function' ? _m.getString(this._obj) : _IScheduledToastNotification.method(11).invoke(this._obj, []).toString(); })();
|
|
180
|
+
}
|
|
181
|
+
set id(value) {
|
|
182
|
+
{ const _m = _IScheduledToastNotification.method(10); if (typeof _m.setHstring === 'function') _m.setHstring(this._obj, value); else _m.invoke(this._obj, [DynWinRtValue.hstring(value)]); }
|
|
183
|
+
}
|
|
184
|
+
as(InterfaceClass) {
|
|
185
|
+
return InterfaceClass.from(this._obj);
|
|
186
|
+
}
|
|
187
|
+
get tag() {
|
|
188
|
+
return (() => { const _m = _IScheduledToastNotification2.method(7); return typeof _m.getString === 'function' ? _m.getString(this._obj.cast(IID_IScheduledToastNotification2)) : _IScheduledToastNotification2.method(7).invoke(this._obj.cast(IID_IScheduledToastNotification2), []).toString(); })();
|
|
189
|
+
}
|
|
190
|
+
set tag(value) {
|
|
191
|
+
{ const _m = _IScheduledToastNotification2.method(6); if (typeof _m.setHstring === 'function') _m.setHstring(this._obj.cast(IID_IScheduledToastNotification2), value); else _m.invoke(this._obj.cast(IID_IScheduledToastNotification2), [DynWinRtValue.hstring(value)]); }
|
|
192
|
+
}
|
|
193
|
+
get group() {
|
|
194
|
+
return (() => { const _m = _IScheduledToastNotification2.method(9); return typeof _m.getString === 'function' ? _m.getString(this._obj.cast(IID_IScheduledToastNotification2)) : _IScheduledToastNotification2.method(9).invoke(this._obj.cast(IID_IScheduledToastNotification2), []).toString(); })();
|
|
195
|
+
}
|
|
196
|
+
set group(value) {
|
|
197
|
+
{ const _m = _IScheduledToastNotification2.method(8); if (typeof _m.setHstring === 'function') _m.setHstring(this._obj.cast(IID_IScheduledToastNotification2), value); else _m.invoke(this._obj.cast(IID_IScheduledToastNotification2), [DynWinRtValue.hstring(value)]); }
|
|
198
|
+
}
|
|
199
|
+
get suppressPopup() {
|
|
200
|
+
return (() => { const _m = _IScheduledToastNotification2.method(11); return typeof _m.getBool === 'function' ? _m.getBool(this._obj.cast(IID_IScheduledToastNotification2)) : _IScheduledToastNotification2.method(11).invoke(this._obj.cast(IID_IScheduledToastNotification2), []).toBool(); })();
|
|
201
|
+
}
|
|
202
|
+
set suppressPopup(value) {
|
|
203
|
+
{ const _m = _IScheduledToastNotification2.method(10); if (typeof _m.setBool === 'function') _m.setBool(this._obj.cast(IID_IScheduledToastNotification2), value); else _m.invoke(this._obj.cast(IID_IScheduledToastNotification2), [DynWinRtValue.boolValue(value)]); }
|
|
204
|
+
}
|
|
205
|
+
get notificationMirroring() {
|
|
206
|
+
return (() => { const _m = _IScheduledToastNotification3.method(6); return typeof _m.getI32 === 'function' ? _m.getI32(this._obj.cast(IID_IScheduledToastNotification3)) : _IScheduledToastNotification3.method(6).invoke(this._obj.cast(IID_IScheduledToastNotification3), []).toNumber(); })();
|
|
207
|
+
}
|
|
208
|
+
set notificationMirroring(value) {
|
|
209
|
+
{ const _m = _IScheduledToastNotification3.method(7); if (typeof _m.setI32 === 'function') _m.setI32(this._obj.cast(IID_IScheduledToastNotification3), value); else _m.invoke(this._obj.cast(IID_IScheduledToastNotification3), [DynWinRtValue.i32(value)]); }
|
|
210
|
+
}
|
|
211
|
+
get remoteId() {
|
|
212
|
+
return (() => { const _m = _IScheduledToastNotification3.method(8); return typeof _m.getString === 'function' ? _m.getString(this._obj.cast(IID_IScheduledToastNotification3)) : _IScheduledToastNotification3.method(8).invoke(this._obj.cast(IID_IScheduledToastNotification3), []).toString(); })();
|
|
213
|
+
}
|
|
214
|
+
set remoteId(value) {
|
|
215
|
+
{ const _m = _IScheduledToastNotification3.method(9); if (typeof _m.setHstring === 'function') _m.setHstring(this._obj.cast(IID_IScheduledToastNotification3), value); else _m.invoke(this._obj.cast(IID_IScheduledToastNotification3), [DynWinRtValue.hstring(value)]); }
|
|
216
|
+
}
|
|
217
|
+
get expirationTime() {
|
|
218
|
+
return ((v) => v.isNull() ? null : new (__get_IReference_WindowsFoundationDateTime_g49e2fdd1bcf351db())(v).value)((() => { const _m = _IScheduledToastNotification4.method(6); return typeof _m.getObj === 'function' ? _m.getObj(this._obj.cast(IID_IScheduledToastNotification4)) : _m.invoke(this._obj.cast(IID_IScheduledToastNotification4), []); })());
|
|
219
|
+
}
|
|
220
|
+
set expirationTime(value) {
|
|
221
|
+
_IScheduledToastNotification4.method(7).invoke(this._obj.cast(IID_IScheduledToastNotification4), [((value) => value == null ? DynWinRtValue.nullValue() : value instanceof DynWinRtValue ? value : value?._obj ?? DynWinRtValue.boxReference(_packDateTime(value).toValue(), DynWinRtType.structType('Windows.Foundation.DateTime', [DynWinRtType.i64()])))(value)]);
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
exports.IID_ScheduledToastNotification = IID_ScheduledToastNotification;
|
|
225
|
+
exports.unpackDateTime = unpackDateTime;
|
|
226
|
+
exports.DateTime_Type = DateTime_Type;
|
|
227
|
+
exports.packDateTime = packDateTime;
|
|
228
|
+
exports.unpackTimeSpan = unpackTimeSpan;
|
|
229
|
+
exports.TimeSpan_Type = TimeSpan_Type;
|
|
230
|
+
exports.packTimeSpan = packTimeSpan;
|
|
231
|
+
exports.ScheduledToastNotification = ScheduledToastNotification;
|
package/dist/bindings/windows/ui/notifications/ScheduledToastNotificationShowingEventArgs.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// Generated by dynwinrt-codegen — do not edit
|
|
2
|
+
import { WinGuid } from '@microsoft/dynwinrt';
|
|
3
|
+
import { Deferral } from '../../foundation/Deferral.js';
|
|
4
|
+
import { ScheduledToastNotification } from './ScheduledToastNotification.js';
|
|
5
|
+
|
|
6
|
+
export declare const IID_ScheduledToastNotificationShowingEventArgs: WinGuid;
|
|
7
|
+
export declare class ScheduledToastNotificationShowingEventArgs {
|
|
8
|
+
private constructor();
|
|
9
|
+
get cancel(): boolean;
|
|
10
|
+
set cancel(value: boolean);
|
|
11
|
+
get scheduledToastNotification(): ScheduledToastNotification;
|
|
12
|
+
getDeferral(): Deferral;
|
|
13
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
// Generated by dynwinrt-codegen — do not edit
|
|
2
|
+
const { DynWinRtType, DynWinRtMethodSig, DynWinRtValue, DynWinRtArray, DynWinRtDelegate, WinGuid } = require('@microsoft/dynwinrt');
|
|
3
|
+
let __m_______foundation_Deferral_401cfbdc;
|
|
4
|
+
const __load_______foundation_Deferral_401cfbdc = () => (__m_______foundation_Deferral_401cfbdc ??= require('./../../foundation/Deferral.js'));
|
|
5
|
+
const __get_Deferral = () => __load_______foundation_Deferral_401cfbdc().Deferral;
|
|
6
|
+
let __m_ScheduledToastNotification;
|
|
7
|
+
const __load_ScheduledToastNotification = () => (__m_ScheduledToastNotification ??= require('./ScheduledToastNotification.js'));
|
|
8
|
+
const __get_ScheduledToastNotification = () => __load_ScheduledToastNotification().ScheduledToastNotification;
|
|
9
|
+
let __m_lifetime;
|
|
10
|
+
const __load_lifetime = () => (__m_lifetime ??= require('../../../lifetime.js'));
|
|
11
|
+
const __get_castProjectedValueBorrowed = () => __load_lifetime().castProjectedValueBorrowed;
|
|
12
|
+
const __get_castProjectedValueOwned = () => __load_lifetime().castProjectedValueOwned;
|
|
13
|
+
const __get_trackProjectedValue = () => __load_lifetime().trackProjectedValue;
|
|
14
|
+
|
|
15
|
+
const IID_IScheduledToastNotificationShowingEventArgs = WinGuid.parse('6173f6b4-412a-5e2c-a6ed-a0209aef9a09');
|
|
16
|
+
const IID_ScheduledToastNotificationShowingEventArgs = WinGuid.parse('6173f6b4-412a-5e2c-a6ed-a0209aef9a09');
|
|
17
|
+
|
|
18
|
+
let _IScheduledToastNotificationShowingEventArgsCache;
|
|
19
|
+
const _IScheduledToastNotificationShowingEventArgs = new Proxy({}, {
|
|
20
|
+
get(_target, prop) {
|
|
21
|
+
_IScheduledToastNotificationShowingEventArgsCache ??= DynWinRtType.registerInterface(
|
|
22
|
+
"IScheduledToastNotificationShowingEventArgs", IID_IScheduledToastNotificationShowingEventArgs)
|
|
23
|
+
.addMethod("get_Cancel", new DynWinRtMethodSig().addOut(DynWinRtType.boolType()))
|
|
24
|
+
.addMethod("put_Cancel", new DynWinRtMethodSig().addIn(DynWinRtType.boolType()))
|
|
25
|
+
.addMethod("get_ScheduledToastNotification", new DynWinRtMethodSig().addOut(DynWinRtType.runtimeClass('Windows.UI.Notifications.ScheduledToastNotification', DynWinRtType.interface(WinGuid.parse('79f577f8-0de7-48cd-9740-9b370490c838')))))
|
|
26
|
+
.addMethod("GetDeferral", new DynWinRtMethodSig().addOut(DynWinRtType.runtimeClass('Windows.Foundation.Deferral', DynWinRtType.interface(WinGuid.parse('d6269732-3b7f-46a7-b40b-4fdca2a2c693')))));
|
|
27
|
+
const value = _IScheduledToastNotificationShowingEventArgsCache[prop];
|
|
28
|
+
return typeof value === 'function' ? value.bind(_IScheduledToastNotificationShowingEventArgsCache) : value;
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
class ScheduledToastNotificationShowingEventArgs {
|
|
33
|
+
_obj;
|
|
34
|
+
|
|
35
|
+
constructor() {
|
|
36
|
+
throw new TypeError('ScheduledToastNotificationShowingEventArgs cannot be constructed directly.');
|
|
37
|
+
}
|
|
38
|
+
static _fromNative(obj) {
|
|
39
|
+
return Object.assign(Object.create(ScheduledToastNotificationShowingEventArgs.prototype), { _obj: (__get_castProjectedValueOwned())(obj, IID_IScheduledToastNotificationShowingEventArgs, 'ScheduledToastNotificationShowingEventArgs') });
|
|
40
|
+
}
|
|
41
|
+
static _fromNativeBorrowed(obj) {
|
|
42
|
+
return Object.assign(Object.create(ScheduledToastNotificationShowingEventArgs.prototype), { _obj: (__get_castProjectedValueBorrowed())(obj, IID_IScheduledToastNotificationShowingEventArgs, 'ScheduledToastNotificationShowingEventArgs') });
|
|
43
|
+
}
|
|
44
|
+
get cancel() {
|
|
45
|
+
return (() => { const _m = _IScheduledToastNotificationShowingEventArgs.method(6); return typeof _m.getBool === 'function' ? _m.getBool(this._obj) : _IScheduledToastNotificationShowingEventArgs.method(6).invoke(this._obj, []).toBool(); })();
|
|
46
|
+
}
|
|
47
|
+
set cancel(value) {
|
|
48
|
+
{ const _m = _IScheduledToastNotificationShowingEventArgs.method(7); if (typeof _m.setBool === 'function') _m.setBool(this._obj, value); else _m.invoke(this._obj, [DynWinRtValue.boolValue(value)]); }
|
|
49
|
+
}
|
|
50
|
+
get scheduledToastNotification() {
|
|
51
|
+
return ((v) => v.isNull() ? null : (__get_ScheduledToastNotification())._fromNative(v))((() => { const _m = _IScheduledToastNotificationShowingEventArgs.method(8); return typeof _m.getObj === 'function' ? _m.getObj(this._obj) : _m.invoke(this._obj, []); })());
|
|
52
|
+
}
|
|
53
|
+
getDeferral() {
|
|
54
|
+
return ((v) => v.isNull() ? null : (__get_Deferral())._fromNative(v))(_IScheduledToastNotificationShowingEventArgs.method(9).invoke(this._obj, []));
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
exports.IID_ScheduledToastNotificationShowingEventArgs = IID_ScheduledToastNotificationShowingEventArgs;
|
|
58
|
+
exports.ScheduledToastNotificationShowingEventArgs = ScheduledToastNotificationShowingEventArgs;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// Generated by dynwinrt-codegen — do not edit
|
|
2
|
+
import { WinGuid } from '@microsoft/dynwinrt';
|
|
3
|
+
import { Uri } from '../../foundation/Uri.js';
|
|
4
|
+
|
|
5
|
+
export declare const IID_ToastCollection: WinGuid;
|
|
6
|
+
export declare class ToastCollection {
|
|
7
|
+
constructor(collectionId: string, displayName: string, launchArgs: string, iconUri: Uri);
|
|
8
|
+
static createInstance(collectionId: string, displayName: string, launchArgs: string, iconUri: Uri): ToastCollection;
|
|
9
|
+
get id(): string;
|
|
10
|
+
get displayName(): string;
|
|
11
|
+
set displayName(value: string);
|
|
12
|
+
get launchArgs(): string;
|
|
13
|
+
set launchArgs(value: string);
|
|
14
|
+
get icon(): Uri;
|
|
15
|
+
set icon(value: Uri);
|
|
16
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
// Generated by dynwinrt-codegen — do not edit
|
|
2
|
+
const { DynWinRtType, DynWinRtMethodSig, DynWinRtValue, DynWinRtArray, DynWinRtDelegate, WinGuid } = require('@microsoft/dynwinrt');
|
|
3
|
+
let __m_______foundation_Uri_31d4527f;
|
|
4
|
+
const __load_______foundation_Uri_31d4527f = () => (__m_______foundation_Uri_31d4527f ??= require('./../../foundation/Uri.js'));
|
|
5
|
+
const __get_Uri = () => __load_______foundation_Uri_31d4527f().Uri;
|
|
6
|
+
let __m_lifetime;
|
|
7
|
+
const __load_lifetime = () => (__m_lifetime ??= require('../../../lifetime.js'));
|
|
8
|
+
const __get_castProjectedValueBorrowed = () => __load_lifetime().castProjectedValueBorrowed;
|
|
9
|
+
const __get_castProjectedValueOwned = () => __load_lifetime().castProjectedValueOwned;
|
|
10
|
+
const __get_trackProjectedValue = () => __load_lifetime().trackProjectedValue;
|
|
11
|
+
|
|
12
|
+
const _unwrap = (x) => x?._obj ?? x;
|
|
13
|
+
|
|
14
|
+
const IID_IToastCollection = WinGuid.parse('0a8bc3b0-e0be-4858-bc2a-89dfe0b32863');
|
|
15
|
+
const IID_IToastCollectionFactory = WinGuid.parse('164dd3d7-73c4-44f7-b4ff-fb6d4bf1f4c6');
|
|
16
|
+
const IID_ToastCollection = WinGuid.parse('0a8bc3b0-e0be-4858-bc2a-89dfe0b32863');
|
|
17
|
+
const IID_ARG_Windows_Foundation_Uri = WinGuid.parse('9e365e57-48b2-4160-956f-c7385120bbfc');
|
|
18
|
+
|
|
19
|
+
let _IToastCollectionCache;
|
|
20
|
+
const _IToastCollection = new Proxy({}, {
|
|
21
|
+
get(_target, prop) {
|
|
22
|
+
_IToastCollectionCache ??= DynWinRtType.registerInterface(
|
|
23
|
+
"IToastCollection", IID_IToastCollection)
|
|
24
|
+
.addMethod("get_Id", new DynWinRtMethodSig().addOut(DynWinRtType.hstring()))
|
|
25
|
+
.addMethod("get_DisplayName", new DynWinRtMethodSig().addOut(DynWinRtType.hstring()))
|
|
26
|
+
.addMethod("put_DisplayName", new DynWinRtMethodSig().addIn(DynWinRtType.hstring()))
|
|
27
|
+
.addMethod("get_LaunchArgs", new DynWinRtMethodSig().addOut(DynWinRtType.hstring()))
|
|
28
|
+
.addMethod("put_LaunchArgs", new DynWinRtMethodSig().addIn(DynWinRtType.hstring()))
|
|
29
|
+
.addMethod("get_Icon", new DynWinRtMethodSig().addOut(DynWinRtType.runtimeClass('Windows.Foundation.Uri', DynWinRtType.interface(WinGuid.parse('9e365e57-48b2-4160-956f-c7385120bbfc')))))
|
|
30
|
+
.addMethod("put_Icon", new DynWinRtMethodSig().addIn(DynWinRtType.runtimeClass('Windows.Foundation.Uri', DynWinRtType.interface(WinGuid.parse('9e365e57-48b2-4160-956f-c7385120bbfc')))));
|
|
31
|
+
const value = _IToastCollectionCache[prop];
|
|
32
|
+
return typeof value === 'function' ? value.bind(_IToastCollectionCache) : value;
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
let _IToastCollectionFactoryCache;
|
|
37
|
+
const _IToastCollectionFactory = new Proxy({}, {
|
|
38
|
+
get(_target, prop) {
|
|
39
|
+
_IToastCollectionFactoryCache ??= DynWinRtType.registerInterface(
|
|
40
|
+
"IToastCollectionFactory", IID_IToastCollectionFactory)
|
|
41
|
+
.addMethod("CreateInstance", new DynWinRtMethodSig().addIn(DynWinRtType.hstring()).addIn(DynWinRtType.hstring()).addIn(DynWinRtType.hstring()).addIn(DynWinRtType.runtimeClass('Windows.Foundation.Uri', DynWinRtType.interface(WinGuid.parse('9e365e57-48b2-4160-956f-c7385120bbfc')))).addOut(DynWinRtType.runtimeClass('Windows.UI.Notifications.ToastCollection', DynWinRtType.interface(WinGuid.parse('0a8bc3b0-e0be-4858-bc2a-89dfe0b32863')))));
|
|
42
|
+
const value = _IToastCollectionFactoryCache[prop];
|
|
43
|
+
return typeof value === 'function' ? value.bind(_IToastCollectionFactoryCache) : value;
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
class ToastCollection {
|
|
48
|
+
_obj;
|
|
49
|
+
static _f_IToastCollectionFactory;
|
|
50
|
+
static f_IToastCollectionFactory() { return ToastCollection._f_IToastCollectionFactory ??= DynWinRtValue.activationFactory('Windows.UI.Notifications.ToastCollection').cast(IID_IToastCollectionFactory); }
|
|
51
|
+
|
|
52
|
+
constructor(...args) {
|
|
53
|
+
if (args.length === 4) {
|
|
54
|
+
this._obj = ToastCollection.createInstance(args[0], args[1], args[2], args[3])._obj;
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
throw new TypeError('No matching constructor for ToastCollection.');
|
|
58
|
+
}
|
|
59
|
+
static _fromNative(obj) {
|
|
60
|
+
return Object.assign(Object.create(ToastCollection.prototype), { _obj: (__get_castProjectedValueOwned())(obj, IID_IToastCollection, 'ToastCollection') });
|
|
61
|
+
}
|
|
62
|
+
static _fromNativeBorrowed(obj) {
|
|
63
|
+
return Object.assign(Object.create(ToastCollection.prototype), { _obj: (__get_castProjectedValueBorrowed())(obj, IID_IToastCollection, 'ToastCollection') });
|
|
64
|
+
}
|
|
65
|
+
static createInstance(collectionId, displayName, launchArgs, iconUri) {
|
|
66
|
+
return ToastCollection._fromNative(_IToastCollectionFactory.method(6).invoke(ToastCollection.f_IToastCollectionFactory(), [DynWinRtValue.hstring(collectionId), DynWinRtValue.hstring(displayName), DynWinRtValue.hstring(launchArgs), (iconUri == null ? DynWinRtValue.nullValue() : ((value) => value instanceof DynWinRtValue && value.isNull() ? value : value.cast(IID_ARG_Windows_Foundation_Uri))(_unwrap(iconUri)))]));
|
|
67
|
+
}
|
|
68
|
+
get id() {
|
|
69
|
+
return (() => { const _m = _IToastCollection.method(6); return typeof _m.getString === 'function' ? _m.getString(this._obj) : _IToastCollection.method(6).invoke(this._obj, []).toString(); })();
|
|
70
|
+
}
|
|
71
|
+
get displayName() {
|
|
72
|
+
return (() => { const _m = _IToastCollection.method(7); return typeof _m.getString === 'function' ? _m.getString(this._obj) : _IToastCollection.method(7).invoke(this._obj, []).toString(); })();
|
|
73
|
+
}
|
|
74
|
+
set displayName(value) {
|
|
75
|
+
{ const _m = _IToastCollection.method(8); if (typeof _m.setHstring === 'function') _m.setHstring(this._obj, value); else _m.invoke(this._obj, [DynWinRtValue.hstring(value)]); }
|
|
76
|
+
}
|
|
77
|
+
get launchArgs() {
|
|
78
|
+
return (() => { const _m = _IToastCollection.method(9); return typeof _m.getString === 'function' ? _m.getString(this._obj) : _IToastCollection.method(9).invoke(this._obj, []).toString(); })();
|
|
79
|
+
}
|
|
80
|
+
set launchArgs(value) {
|
|
81
|
+
{ const _m = _IToastCollection.method(10); if (typeof _m.setHstring === 'function') _m.setHstring(this._obj, value); else _m.invoke(this._obj, [DynWinRtValue.hstring(value)]); }
|
|
82
|
+
}
|
|
83
|
+
get icon() {
|
|
84
|
+
return ((v) => v.isNull() ? null : (__get_Uri())._fromNative(v))((() => { const _m = _IToastCollection.method(11); return typeof _m.getObj === 'function' ? _m.getObj(this._obj) : _m.invoke(this._obj, []); })());
|
|
85
|
+
}
|
|
86
|
+
set icon(value) {
|
|
87
|
+
_IToastCollection.method(12).invoke(this._obj, [(value == null ? DynWinRtValue.nullValue() : ((value) => value instanceof DynWinRtValue && value.isNull() ? value : value.cast(IID_ARG_Windows_Foundation_Uri))(_unwrap(value)))]);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
exports.IID_ToastCollection = IID_ToastCollection;
|
|
91
|
+
exports.ToastCollection = ToastCollection;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// Generated by dynwinrt-codegen — do not edit
|
|
2
|
+
import { WinGuid } from '@microsoft/dynwinrt';
|
|
3
|
+
import { IVectorView_WindowsUINotificationsToastCollection_g3093026941314e4f } from '../../foundation/collections/IVectorView_WindowsUINotificationsToastCollection_g3093026941314e4f.js';
|
|
4
|
+
import { User } from '../../system/User.js';
|
|
5
|
+
import { ToastCollection } from './ToastCollection.js';
|
|
6
|
+
|
|
7
|
+
export declare const IID_ToastCollectionManager: WinGuid;
|
|
8
|
+
export declare class ToastCollectionManager {
|
|
9
|
+
private constructor();
|
|
10
|
+
saveToastCollectionAsync(collection: ToastCollection, signal?: AbortSignal): Promise<void>;
|
|
11
|
+
findAllToastCollectionsAsync(signal?: AbortSignal): Promise<IVectorView_WindowsUINotificationsToastCollection_g3093026941314e4f | null>;
|
|
12
|
+
getToastCollectionAsync(collectionId: string, signal?: AbortSignal): Promise<ToastCollection>;
|
|
13
|
+
removeToastCollectionAsync(collectionId: string, signal?: AbortSignal): Promise<void>;
|
|
14
|
+
removeAllToastCollectionsAsync(signal?: AbortSignal): Promise<void>;
|
|
15
|
+
get user(): User;
|
|
16
|
+
get appId(): string;
|
|
17
|
+
}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
// Generated by dynwinrt-codegen — do not edit
|
|
2
|
+
const { DynWinRtType, DynWinRtMethodSig, DynWinRtValue, DynWinRtArray, DynWinRtDelegate, WinGuid } = require('@microsoft/dynwinrt');
|
|
3
|
+
let __m_______foundation_collections_IVectorView_WindowsUINotificationsToastCollection_g3093026941314e4f_a0bf1039;
|
|
4
|
+
const __load_______foundation_collections_IVectorView_WindowsUINotificationsToastCollection_g3093026941314e4f_a0bf1039 = () => (__m_______foundation_collections_IVectorView_WindowsUINotificationsToastCollection_g3093026941314e4f_a0bf1039 ??= require('./../../foundation/collections/IVectorView_WindowsUINotificationsToastCollection_g3093026941314e4f.js'));
|
|
5
|
+
const __get_IVectorView_WindowsUINotificationsToastCollection_g3093026941314e4f = () => __load_______foundation_collections_IVectorView_WindowsUINotificationsToastCollection_g3093026941314e4f_a0bf1039().IVectorView_WindowsUINotificationsToastCollection_g3093026941314e4f;
|
|
6
|
+
let __m_______system_User_0023d9d8;
|
|
7
|
+
const __load_______system_User_0023d9d8 = () => (__m_______system_User_0023d9d8 ??= require('./../../system/User.js'));
|
|
8
|
+
const __get_User = () => __load_______system_User_0023d9d8().User;
|
|
9
|
+
let __m_ToastCollection;
|
|
10
|
+
const __load_ToastCollection = () => (__m_ToastCollection ??= require('./ToastCollection.js'));
|
|
11
|
+
const __get_ToastCollection = () => __load_ToastCollection().ToastCollection;
|
|
12
|
+
let __m_lifetime;
|
|
13
|
+
const __load_lifetime = () => (__m_lifetime ??= require('../../../lifetime.js'));
|
|
14
|
+
const __get_castProjectedValueBorrowed = () => __load_lifetime().castProjectedValueBorrowed;
|
|
15
|
+
const __get_castProjectedValueOwned = () => __load_lifetime().castProjectedValueOwned;
|
|
16
|
+
const __get_trackProjectedValue = () => __load_lifetime().trackProjectedValue;
|
|
17
|
+
|
|
18
|
+
const _unwrap = (x) => x?._obj ?? x;
|
|
19
|
+
|
|
20
|
+
const IID_IToastCollectionManager = WinGuid.parse('2a1821fe-179d-49bc-b79d-a527920d3665');
|
|
21
|
+
const IID_ToastCollectionManager = WinGuid.parse('2a1821fe-179d-49bc-b79d-a527920d3665');
|
|
22
|
+
const IID_ARG_Windows_UI_Notifications_ToastCollection = WinGuid.parse('0a8bc3b0-e0be-4858-bc2a-89dfe0b32863');
|
|
23
|
+
|
|
24
|
+
let _IToastCollectionManagerCache;
|
|
25
|
+
const _IToastCollectionManager = new Proxy({}, {
|
|
26
|
+
get(_target, prop) {
|
|
27
|
+
_IToastCollectionManagerCache ??= DynWinRtType.registerInterface(
|
|
28
|
+
"IToastCollectionManager", IID_IToastCollectionManager)
|
|
29
|
+
.addMethod("SaveToastCollectionAsync", new DynWinRtMethodSig().addIn(DynWinRtType.runtimeClass('Windows.UI.Notifications.ToastCollection', DynWinRtType.interface(WinGuid.parse('0a8bc3b0-e0be-4858-bc2a-89dfe0b32863')))).addOut(DynWinRtType.iAsyncAction()))
|
|
30
|
+
.addMethod("FindAllToastCollectionsAsync", new DynWinRtMethodSig().addOut(DynWinRtType.iAsyncOperation(DynWinRtType.parameterized(WinGuid.parse('bbe1fa4c-b0e3-4583-baef-1f1b2e483e56'), [DynWinRtType.runtimeClass('Windows.UI.Notifications.ToastCollection', DynWinRtType.interface(WinGuid.parse('0a8bc3b0-e0be-4858-bc2a-89dfe0b32863')))]))))
|
|
31
|
+
.addMethod("GetToastCollectionAsync", new DynWinRtMethodSig().addIn(DynWinRtType.hstring()).addOut(DynWinRtType.iAsyncOperation(DynWinRtType.runtimeClass('Windows.UI.Notifications.ToastCollection', DynWinRtType.interface(WinGuid.parse('0a8bc3b0-e0be-4858-bc2a-89dfe0b32863'))))))
|
|
32
|
+
.addMethod("RemoveToastCollectionAsync", new DynWinRtMethodSig().addIn(DynWinRtType.hstring()).addOut(DynWinRtType.iAsyncAction()))
|
|
33
|
+
.addMethod("RemoveAllToastCollectionsAsync", new DynWinRtMethodSig().addOut(DynWinRtType.iAsyncAction()))
|
|
34
|
+
.addMethod("get_User", new DynWinRtMethodSig().addOut(DynWinRtType.runtimeClass('Windows.System.User', DynWinRtType.interface(WinGuid.parse('df9a26c6-e746-4bcd-b5d4-120103c4209b')))))
|
|
35
|
+
.addMethod("get_AppId", new DynWinRtMethodSig().addOut(DynWinRtType.hstring()));
|
|
36
|
+
const value = _IToastCollectionManagerCache[prop];
|
|
37
|
+
return typeof value === 'function' ? value.bind(_IToastCollectionManagerCache) : value;
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
class ToastCollectionManager {
|
|
42
|
+
_obj;
|
|
43
|
+
|
|
44
|
+
constructor() {
|
|
45
|
+
throw new TypeError('ToastCollectionManager cannot be constructed directly.');
|
|
46
|
+
}
|
|
47
|
+
static _fromNative(obj) {
|
|
48
|
+
return Object.assign(Object.create(ToastCollectionManager.prototype), { _obj: (__get_castProjectedValueOwned())(obj, IID_IToastCollectionManager, 'ToastCollectionManager') });
|
|
49
|
+
}
|
|
50
|
+
static _fromNativeBorrowed(obj) {
|
|
51
|
+
return Object.assign(Object.create(ToastCollectionManager.prototype), { _obj: (__get_castProjectedValueBorrowed())(obj, IID_IToastCollectionManager, 'ToastCollectionManager') });
|
|
52
|
+
}
|
|
53
|
+
async saveToastCollectionAsync(collection, signal) {
|
|
54
|
+
if (signal?.aborted) throw signal.reason;
|
|
55
|
+
const _op = _IToastCollectionManager.method(6).invoke(this._obj, [(collection == null ? DynWinRtValue.nullValue() : ((value) => value instanceof DynWinRtValue && value.isNull() ? value : value.cast(IID_ARG_Windows_UI_Notifications_ToastCollection))(_unwrap(collection)))]);
|
|
56
|
+
const _onAbort = signal ? () => { try { _op.cancel(); } catch (_ce) { /* cancel after completion is a no-op per WinRT spec */ } } : undefined;
|
|
57
|
+
if (_onAbort) { signal.addEventListener('abort', _onAbort, { once: true }); if (signal.aborted) _onAbort(); }
|
|
58
|
+
try {
|
|
59
|
+
await _op.toPromise();
|
|
60
|
+
return;
|
|
61
|
+
} catch (_e) {
|
|
62
|
+
if (signal?.aborted) throw signal.reason;
|
|
63
|
+
throw _e;
|
|
64
|
+
} finally {
|
|
65
|
+
if (_onAbort) signal.removeEventListener('abort', _onAbort);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
async findAllToastCollectionsAsync(signal) {
|
|
69
|
+
if (signal?.aborted) throw signal.reason;
|
|
70
|
+
const _op = _IToastCollectionManager.method(7).invoke(this._obj, []);
|
|
71
|
+
const _onAbort = signal ? () => { try { _op.cancel(); } catch (_ce) { /* cancel after completion is a no-op per WinRT spec */ } } : undefined;
|
|
72
|
+
if (_onAbort) { signal.addEventListener('abort', _onAbort, { once: true }); if (signal.aborted) _onAbort(); }
|
|
73
|
+
try {
|
|
74
|
+
const _v = await _op.toPromise();
|
|
75
|
+
return ((v) => v.isNull() ? null : new (__get_IVectorView_WindowsUINotificationsToastCollection_g3093026941314e4f())(v))(_v);
|
|
76
|
+
} catch (_e) {
|
|
77
|
+
if (signal?.aborted) throw signal.reason;
|
|
78
|
+
throw _e;
|
|
79
|
+
} finally {
|
|
80
|
+
if (_onAbort) signal.removeEventListener('abort', _onAbort);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
async getToastCollectionAsync(collectionId, signal) {
|
|
84
|
+
if (signal?.aborted) throw signal.reason;
|
|
85
|
+
const _op = _IToastCollectionManager.method(8).invoke(this._obj, [DynWinRtValue.hstring(collectionId)]);
|
|
86
|
+
const _onAbort = signal ? () => { try { _op.cancel(); } catch (_ce) { /* cancel after completion is a no-op per WinRT spec */ } } : undefined;
|
|
87
|
+
if (_onAbort) { signal.addEventListener('abort', _onAbort, { once: true }); if (signal.aborted) _onAbort(); }
|
|
88
|
+
try {
|
|
89
|
+
const _v = await _op.toPromise();
|
|
90
|
+
return ((v) => v.isNull() ? null : (__get_ToastCollection())._fromNative(v))(_v);
|
|
91
|
+
} catch (_e) {
|
|
92
|
+
if (signal?.aborted) throw signal.reason;
|
|
93
|
+
throw _e;
|
|
94
|
+
} finally {
|
|
95
|
+
if (_onAbort) signal.removeEventListener('abort', _onAbort);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
async removeToastCollectionAsync(collectionId, signal) {
|
|
99
|
+
if (signal?.aborted) throw signal.reason;
|
|
100
|
+
const _op = _IToastCollectionManager.method(9).invoke(this._obj, [DynWinRtValue.hstring(collectionId)]);
|
|
101
|
+
const _onAbort = signal ? () => { try { _op.cancel(); } catch (_ce) { /* cancel after completion is a no-op per WinRT spec */ } } : undefined;
|
|
102
|
+
if (_onAbort) { signal.addEventListener('abort', _onAbort, { once: true }); if (signal.aborted) _onAbort(); }
|
|
103
|
+
try {
|
|
104
|
+
await _op.toPromise();
|
|
105
|
+
return;
|
|
106
|
+
} catch (_e) {
|
|
107
|
+
if (signal?.aborted) throw signal.reason;
|
|
108
|
+
throw _e;
|
|
109
|
+
} finally {
|
|
110
|
+
if (_onAbort) signal.removeEventListener('abort', _onAbort);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
async removeAllToastCollectionsAsync(signal) {
|
|
114
|
+
if (signal?.aborted) throw signal.reason;
|
|
115
|
+
const _op = _IToastCollectionManager.method(10).invoke(this._obj, []);
|
|
116
|
+
const _onAbort = signal ? () => { try { _op.cancel(); } catch (_ce) { /* cancel after completion is a no-op per WinRT spec */ } } : undefined;
|
|
117
|
+
if (_onAbort) { signal.addEventListener('abort', _onAbort, { once: true }); if (signal.aborted) _onAbort(); }
|
|
118
|
+
try {
|
|
119
|
+
await _op.toPromise();
|
|
120
|
+
return;
|
|
121
|
+
} catch (_e) {
|
|
122
|
+
if (signal?.aborted) throw signal.reason;
|
|
123
|
+
throw _e;
|
|
124
|
+
} finally {
|
|
125
|
+
if (_onAbort) signal.removeEventListener('abort', _onAbort);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
get user() {
|
|
129
|
+
return ((v) => v.isNull() ? null : (__get_User())._fromNative(v))((() => { const _m = _IToastCollectionManager.method(11); return typeof _m.getObj === 'function' ? _m.getObj(this._obj) : _m.invoke(this._obj, []); })());
|
|
130
|
+
}
|
|
131
|
+
get appId() {
|
|
132
|
+
return (() => { const _m = _IToastCollectionManager.method(12); return typeof _m.getString === 'function' ? _m.getString(this._obj) : _IToastCollectionManager.method(12).invoke(this._obj, []).toString(); })();
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
exports.IID_ToastCollectionManager = IID_ToastCollectionManager;
|
|
136
|
+
exports.ToastCollectionManager = ToastCollectionManager;
|