@seelen-ui/lib 2.5.8 → 2.6.6-next.2605170835
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/gen/types/AppBarEdge.d.ts +7 -0
- package/esm/gen/types/AppBarEdge.d.ts.map +1 -0
- package/esm/gen/types/AppBarEdge.js +8 -0
- package/esm/gen/types/AppNotification.d.ts +3 -0
- package/esm/gen/types/AppNotification.d.ts.map +1 -1
- package/esm/gen/types/AudioWaveform.d.ts +11 -0
- package/esm/gen/types/AudioWaveform.d.ts.map +1 -0
- package/esm/gen/types/BackupStatus.d.ts +10 -0
- package/esm/gen/types/BackupStatus.d.ts.map +1 -0
- package/esm/gen/types/BluetoothDevice.d.ts +1 -0
- package/esm/gen/types/BluetoothDevice.d.ts.map +1 -1
- package/esm/gen/types/ClipboardData.d.ts +15 -0
- package/esm/gen/types/ClipboardData.d.ts.map +1 -0
- package/esm/gen/types/ClipboardEntry.d.ts +24 -0
- package/esm/gen/types/ClipboardEntry.d.ts.map +1 -0
- package/esm/gen/types/ClipboardEntryContent.d.ts +16 -0
- package/esm/gen/types/ClipboardEntryContent.d.ts.map +1 -0
- package/esm/gen/types/ClipboardEntryContent.js +2 -0
- package/esm/gen/types/Comparator.d.ts +9 -0
- package/esm/gen/types/Comparator.d.ts.map +1 -0
- package/esm/gen/types/Comparator.js +10 -0
- package/esm/gen/types/ContextMenu.d.ts +8 -0
- package/esm/gen/types/ContextMenu.d.ts.map +1 -1
- package/esm/gen/types/ContextMenuCallbackPayload.d.ts +20 -0
- package/esm/gen/types/ContextMenuCallbackPayload.d.ts.map +1 -0
- package/esm/gen/types/ContextMenuItem.d.ts +4 -2
- package/esm/gen/types/ContextMenuItem.d.ts.map +1 -1
- package/esm/gen/types/FancyToolbarSettings.d.ts +6 -0
- package/esm/gen/types/FancyToolbarSettings.d.ts.map +1 -1
- package/esm/gen/types/FocusedApp.d.ts +1 -1
- package/esm/gen/types/FocusedApp.d.ts.map +1 -1
- package/esm/gen/types/KnownPlugin.d.ts +2 -2
- package/esm/gen/types/KnownPlugin.d.ts.map +1 -1
- package/esm/gen/types/NotificationsMode.d.ts +6 -0
- package/esm/gen/types/NotificationsMode.d.ts.map +1 -0
- package/esm/gen/types/NotificationsMode.js +7 -0
- package/esm/gen/types/Operand.d.ts +5 -0
- package/esm/gen/types/Operand.d.ts.map +1 -0
- package/esm/gen/types/Operand.js +6 -0
- package/esm/gen/types/ResolvedShortcut.d.ts +9 -0
- package/esm/gen/types/ResolvedShortcut.d.ts.map +1 -0
- package/esm/gen/types/ResolvedShortcut.js +2 -0
- package/esm/gen/types/ResourceId.d.ts +6 -2
- package/esm/gen/types/ResourceId.d.ts.map +1 -1
- package/esm/gen/types/SeelenCommandActivateNotificationArgs.d.ts +3 -0
- package/esm/gen/types/SeelenCommandActivateNotificationArgs.d.ts.map +1 -1
- package/esm/gen/types/SeelenCommandActivateNotificationArgs.js +0 -1
- package/esm/gen/types/SeelenCommandArgument.d.ts +51 -5
- package/esm/gen/types/SeelenCommandArgument.d.ts.map +1 -1
- package/esm/gen/types/SeelenCommandClipboardDeleteEntryArgs.d.ts +4 -0
- package/esm/gen/types/SeelenCommandClipboardDeleteEntryArgs.d.ts.map +1 -0
- package/esm/gen/types/SeelenCommandClipboardDeleteEntryArgs.js +2 -0
- package/esm/gen/types/SeelenCommandClipboardPasteArgs.d.ts +4 -0
- package/esm/gen/types/SeelenCommandClipboardPasteArgs.d.ts.map +1 -0
- package/esm/gen/types/SeelenCommandClipboardPasteArgs.js +2 -0
- package/esm/gen/types/SeelenCommandClipboardSetContentArgs.d.ts +4 -0
- package/esm/gen/types/SeelenCommandClipboardSetContentArgs.d.ts.map +1 -0
- package/esm/gen/types/SeelenCommandClipboardSetContentArgs.js +2 -0
- package/esm/gen/types/SeelenCommandConnectBluetoothDeviceArgs.d.ts +4 -0
- package/esm/gen/types/SeelenCommandConnectBluetoothDeviceArgs.d.ts.map +1 -0
- package/esm/gen/types/SeelenCommandConnectBluetoothDeviceArgs.js +2 -0
- package/esm/gen/types/SeelenCommandMoveWindowToWorkspaceArgs.d.ts +6 -0
- package/esm/gen/types/SeelenCommandMoveWindowToWorkspaceArgs.d.ts.map +1 -0
- package/esm/gen/types/SeelenCommandRegisterAppBarArgs.d.ts +7 -0
- package/esm/gen/types/SeelenCommandRegisterAppBarArgs.d.ts.map +1 -0
- package/esm/gen/types/SeelenCommandRegisterAppBarArgs.js +1 -0
- package/esm/gen/types/SeelenCommandReturn.d.ts +49 -8
- package/esm/gen/types/SeelenCommandReturn.d.ts.map +1 -1
- package/esm/gen/types/SeelenCommandSetFocusAssistArgs.d.ts +4 -0
- package/esm/gen/types/SeelenCommandSetFocusAssistArgs.d.ts.map +1 -0
- package/esm/gen/types/SeelenCommandSetFocusAssistArgs.js +2 -0
- package/esm/gen/types/SeelenCommandSetNotificationsModeArgs.d.ts +5 -0
- package/esm/gen/types/SeelenCommandSetNotificationsModeArgs.d.ts.map +1 -0
- package/esm/gen/types/SeelenCommandSetNotificationsModeArgs.js +1 -0
- package/esm/gen/types/SeelenCommandSystemSetAccentColorArgs.d.ts +5 -0
- package/esm/gen/types/SeelenCommandSystemSetAccentColorArgs.d.ts.map +1 -0
- package/esm/gen/types/SeelenCommandSystemSetAccentColorArgs.js +1 -0
- package/esm/gen/types/SeelenCommandWlanForgetArgs.d.ts +4 -0
- package/esm/gen/types/SeelenCommandWlanForgetArgs.d.ts.map +1 -0
- package/esm/gen/types/SeelenCommandWlanForgetArgs.js +2 -0
- package/esm/gen/types/SeelenEventPayload.d.ts +26 -8
- package/esm/gen/types/SeelenEventPayload.d.ts.map +1 -1
- package/esm/gen/types/SeelenFont.d.ts +4 -0
- package/esm/gen/types/SeelenFont.d.ts.map +1 -0
- package/esm/gen/types/SeelenFont.js +2 -0
- package/esm/gen/types/SeelenWallSettings.d.ts +14 -0
- package/esm/gen/types/SeelenWallSettings.d.ts.map +1 -1
- package/esm/gen/types/SeelenWegSettings.d.ts +11 -0
- package/esm/gen/types/SeelenWegSettings.d.ts.map +1 -1
- package/esm/gen/types/Settings.d.ts +12 -0
- package/esm/gen/types/Settings.d.ts.map +1 -1
- package/esm/gen/types/SettingsByWidget.d.ts +7 -0
- package/esm/gen/types/SettingsByWidget.d.ts.map +1 -1
- package/esm/gen/types/SluShortcutsSettings.d.ts +9 -2
- package/esm/gen/types/SluShortcutsSettings.d.ts.map +1 -1
- package/esm/gen/types/SluShortcutsSettings.js +1 -0
- package/esm/gen/types/SystemShortcutDeclaration.d.ts +16 -0
- package/esm/gen/types/SystemShortcutDeclaration.d.ts.map +1 -0
- package/esm/gen/types/SystemShortcutDeclaration.js +2 -0
- package/esm/gen/types/ThemeConfigDefinition.d.ts +2 -4
- package/esm/gen/types/ThemeConfigDefinition.d.ts.map +1 -1
- package/esm/gen/types/ThemeConfigGroupVariant.d.ts +5 -0
- package/esm/gen/types/ThemeConfigGroupVariant.d.ts.map +1 -0
- package/esm/gen/types/ThemeConfigGroupVariant.js +1 -0
- package/esm/gen/types/ThemeVariableDefinition.d.ts +2 -0
- package/esm/gen/types/ThemeVariableDefinition.d.ts.map +1 -1
- package/esm/gen/types/ThirdPartyWidgetSettings.d.ts +7 -0
- package/esm/gen/types/ThirdPartyWidgetSettings.d.ts.map +1 -1
- package/esm/gen/types/ToolbarItem.d.ts +2 -0
- package/esm/gen/types/ToolbarItem.d.ts.map +1 -1
- package/esm/gen/types/TwmCondition.d.ts +17 -0
- package/esm/gen/types/TwmCondition.d.ts.map +1 -0
- package/esm/gen/types/TwmCondition.js +1 -0
- package/esm/gen/types/TwmGlobalRuntimeTree.d.ts +8 -0
- package/esm/gen/types/TwmGlobalRuntimeTree.d.ts.map +1 -0
- package/esm/gen/types/TwmGlobalRuntimeTree.js +1 -0
- package/esm/gen/types/{WmNodeKind.d.ts → TwmNodeKind.d.ts} +2 -2
- package/esm/gen/types/TwmNodeKind.d.ts.map +1 -0
- package/esm/gen/types/TwmNodeKind.js +8 -0
- package/esm/gen/types/TwmNodeLifetime.d.ts +5 -0
- package/esm/gen/types/TwmNodeLifetime.d.ts.map +1 -0
- package/esm/gen/types/TwmNodeLifetime.js +6 -0
- package/esm/gen/types/TwmPlugin.d.ts +8 -0
- package/esm/gen/types/TwmPlugin.d.ts.map +1 -0
- package/esm/gen/types/TwmPlugin.js +1 -0
- package/esm/gen/types/{WmNode.d.ts → TwmPluginNode.d.ts} +15 -17
- package/esm/gen/types/TwmPluginNode.d.ts.map +1 -0
- package/esm/gen/types/TwmPluginNode.js +1 -0
- package/esm/gen/types/TwmReservation.d.ts +9 -0
- package/esm/gen/types/TwmReservation.d.ts.map +1 -0
- package/esm/gen/types/TwmReservation.js +10 -0
- package/esm/gen/types/TwmRuntimeNode.d.ts +22 -0
- package/esm/gen/types/TwmRuntimeNode.d.ts.map +1 -0
- package/esm/gen/types/TwmRuntimeNode.js +1 -0
- package/esm/gen/types/TwmRuntimeTree.d.ts +8 -0
- package/esm/gen/types/TwmRuntimeTree.d.ts.map +1 -0
- package/esm/gen/types/TwmRuntimeTree.js +1 -0
- package/esm/gen/types/TwmStackPolicy.d.ts +6 -0
- package/esm/gen/types/TwmStackPolicy.d.ts.map +1 -0
- package/esm/gen/types/TwmStackPolicy.js +7 -0
- package/esm/gen/types/UIColors.d.ts +9 -10
- package/esm/gen/types/UIColors.d.ts.map +1 -1
- package/esm/gen/types/UIColors.js +0 -1
- package/esm/gen/types/UserAppWindow.d.ts +5 -0
- package/esm/gen/types/UserAppWindow.d.ts.map +1 -1
- package/esm/gen/types/UserAppWindowPreview.d.ts +1 -1
- package/esm/gen/types/Wallpaper.d.ts +1 -1
- package/esm/gen/types/WallpaperKind.d.ts +1 -0
- package/esm/gen/types/WallpaperKind.d.ts.map +1 -1
- package/esm/gen/types/WallpaperKind.js +1 -0
- package/esm/gen/types/WegMiddleClickAction.d.ts +5 -0
- package/esm/gen/types/WegMiddleClickAction.d.ts.map +1 -0
- package/esm/gen/types/WegMiddleClickAction.js +6 -0
- package/esm/gen/types/Widget.d.ts +11 -0
- package/esm/gen/types/Widget.d.ts.map +1 -1
- package/esm/gen/types/WidgetConfigDefinition.d.ts +2 -4
- package/esm/gen/types/WidgetConfigDefinition.d.ts.map +1 -1
- package/esm/gen/types/WidgetConfigGroupVariant.d.ts +5 -0
- package/esm/gen/types/WidgetConfigGroupVariant.d.ts.map +1 -0
- package/esm/gen/types/WidgetConfigGroupVariant.js +1 -0
- package/esm/gen/types/WidgetSelectOption.d.ts +1 -1
- package/esm/gen/types/WidgetSelectOption.d.ts.map +1 -1
- package/esm/gen/types/WidgetSettingColor.d.ts +4 -4
- package/esm/gen/types/WidgetSettingColor.d.ts.map +1 -1
- package/esm/gen/types/WidgetSettingFont.d.ts +34 -0
- package/esm/gen/types/WidgetSettingFont.d.ts.map +1 -0
- package/esm/gen/types/WidgetSettingFont.js +1 -0
- package/esm/gen/types/WidgetSettingInputNumber.d.ts +4 -4
- package/esm/gen/types/WidgetSettingInputNumber.d.ts.map +1 -1
- package/esm/gen/types/WidgetSettingInputText.d.ts +4 -4
- package/esm/gen/types/WidgetSettingInputText.d.ts.map +1 -1
- package/esm/gen/types/WidgetSettingItem.d.ts +4 -1
- package/esm/gen/types/WidgetSettingItem.d.ts.map +1 -1
- package/esm/gen/types/WidgetSettingRange.d.ts +4 -4
- package/esm/gen/types/WidgetSettingRange.d.ts.map +1 -1
- package/esm/gen/types/WidgetSettingSelect.d.ts +4 -4
- package/esm/gen/types/WidgetSettingSelect.d.ts.map +1 -1
- package/esm/gen/types/WidgetSettingSwitch.d.ts +4 -4
- package/esm/gen/types/WidgetSettingSwitch.d.ts.map +1 -1
- package/esm/gen/types/WidgetShortcutDeclaration.d.ts +33 -0
- package/esm/gen/types/WidgetShortcutDeclaration.d.ts.map +1 -0
- package/esm/gen/types/WidgetShortcutDeclaration.js +1 -0
- package/esm/gen/types/WidgetStatus.d.ts +2 -1
- package/esm/gen/types/WidgetStatus.d.ts.map +1 -1
- package/esm/gen/types/WidgetStatus.js +1 -0
- package/esm/gen/types/WindowManagerSettings.d.ts +6 -0
- package/esm/gen/types/WindowManagerSettings.d.ts.map +1 -1
- package/esm/gen/types/WlanBssEntry.d.ts +15 -6
- package/esm/gen/types/WlanBssEntry.d.ts.map +1 -1
- package/esm/gen/types/mod.d.ts +275 -245
- package/esm/gen/types/mod.d.ts.map +1 -1
- package/esm/gen/types/mod.js +275 -245
- package/esm/gen/types/serde_json/JsonValue.d.ts +4 -0
- package/esm/gen/types/serde_json/JsonValue.d.ts.map +1 -0
- package/esm/gen/types/serde_json/JsonValue.js +2 -0
- package/esm/src/handlers/commands.d.ts +22 -4
- package/esm/src/handlers/commands.d.ts.map +1 -1
- package/esm/src/handlers/commands.js +21 -3
- package/esm/src/handlers/events.d.ts +9 -3
- package/esm/src/handlers/events.d.ts.map +1 -1
- package/esm/src/handlers/events.js +8 -2
- package/esm/src/state/theme/theming.d.ts +1 -0
- package/esm/src/state/theme/theming.d.ts.map +1 -1
- package/esm/src/state/theme/theming.js +21 -1
- package/esm/src/state/widget/interfaces.d.ts +48 -7
- package/esm/src/state/widget/interfaces.d.ts.map +1 -1
- package/esm/src/state/widget/mod.d.ts +12 -7
- package/esm/src/state/widget/mod.d.ts.map +1 -1
- package/esm/src/state/widget/mod.js +90 -99
- package/esm/src/state/widget/positioning.js +1 -1
- package/esm/src/state/widget/sizing.d.ts +14 -3
- package/esm/src/state/widget/sizing.d.ts.map +1 -1
- package/esm/src/state/widget/sizing.js +60 -17
- package/esm/src/system_state/ui_colors.d.ts +0 -1
- package/esm/src/system_state/ui_colors.d.ts.map +1 -1
- package/esm/src/system_state/ui_colors.js +5 -22
- package/esm/src/utils/async.d.ts +12 -0
- package/esm/src/utils/async.d.ts.map +1 -1
- package/esm/src/utils/async.js +46 -0
- package/esm/src/utils/mod.d.ts +2 -0
- package/esm/src/utils/mod.d.ts.map +1 -1
- package/esm/src/utils/mod.js +5 -0
- package/package.json +7 -6
- package/script/gen/types/AppBarEdge.d.ts +7 -0
- package/script/gen/types/AppBarEdge.d.ts.map +1 -0
- package/script/gen/types/AppBarEdge.js +11 -0
- package/script/gen/types/AppNotification.d.ts +3 -0
- package/script/gen/types/AppNotification.d.ts.map +1 -1
- package/script/gen/types/AudioWaveform.d.ts +11 -0
- package/script/gen/types/AudioWaveform.d.ts.map +1 -0
- package/script/gen/types/BackupStatus.d.ts +10 -0
- package/script/gen/types/BackupStatus.d.ts.map +1 -0
- package/script/gen/types/BluetoothDevice.d.ts +1 -0
- package/script/gen/types/BluetoothDevice.d.ts.map +1 -1
- package/script/gen/types/ClipboardData.d.ts +15 -0
- package/script/gen/types/ClipboardData.d.ts.map +1 -0
- package/script/gen/types/ClipboardEntry.d.ts +24 -0
- package/script/gen/types/ClipboardEntry.d.ts.map +1 -0
- package/script/gen/types/ClipboardEntryContent.d.ts +16 -0
- package/script/gen/types/ClipboardEntryContent.d.ts.map +1 -0
- package/script/gen/types/ClipboardEntryContent.js +3 -0
- package/script/gen/types/Comparator.d.ts +9 -0
- package/script/gen/types/Comparator.d.ts.map +1 -0
- package/script/gen/types/Comparator.js +13 -0
- package/script/gen/types/ContextMenu.d.ts +8 -0
- package/script/gen/types/ContextMenu.d.ts.map +1 -1
- package/script/gen/types/ContextMenuCallbackPayload.d.ts +20 -0
- package/script/gen/types/ContextMenuCallbackPayload.d.ts.map +1 -0
- package/script/gen/types/ContextMenuItem.d.ts +4 -2
- package/script/gen/types/ContextMenuItem.d.ts.map +1 -1
- package/script/gen/types/FancyToolbarSettings.d.ts +6 -0
- package/script/gen/types/FancyToolbarSettings.d.ts.map +1 -1
- package/script/gen/types/FocusedApp.d.ts +1 -1
- package/script/gen/types/FocusedApp.d.ts.map +1 -1
- package/script/gen/types/KnownPlugin.d.ts +2 -2
- package/script/gen/types/KnownPlugin.d.ts.map +1 -1
- package/script/gen/types/NotificationsMode.d.ts +6 -0
- package/script/gen/types/NotificationsMode.d.ts.map +1 -0
- package/script/gen/types/NotificationsMode.js +10 -0
- package/script/gen/types/Operand.d.ts +5 -0
- package/script/gen/types/Operand.d.ts.map +1 -0
- package/script/gen/types/Operand.js +9 -0
- package/script/gen/types/ResolvedShortcut.d.ts +9 -0
- package/script/gen/types/ResolvedShortcut.d.ts.map +1 -0
- package/script/gen/types/ResolvedShortcut.js +3 -0
- package/script/gen/types/ResourceId.d.ts +6 -2
- package/script/gen/types/ResourceId.d.ts.map +1 -1
- package/script/gen/types/SeelenCommandActivateNotificationArgs.d.ts +3 -0
- package/script/gen/types/SeelenCommandActivateNotificationArgs.d.ts.map +1 -1
- package/script/gen/types/SeelenCommandActivateNotificationArgs.js +0 -1
- package/script/gen/types/SeelenCommandArgument.d.ts +51 -5
- package/script/gen/types/SeelenCommandArgument.d.ts.map +1 -1
- package/script/gen/types/SeelenCommandClipboardDeleteEntryArgs.d.ts +4 -0
- package/script/gen/types/SeelenCommandClipboardDeleteEntryArgs.d.ts.map +1 -0
- package/script/gen/types/SeelenCommandClipboardDeleteEntryArgs.js +3 -0
- package/script/gen/types/SeelenCommandClipboardPasteArgs.d.ts +4 -0
- package/script/gen/types/SeelenCommandClipboardPasteArgs.d.ts.map +1 -0
- package/script/gen/types/SeelenCommandClipboardPasteArgs.js +3 -0
- package/script/gen/types/SeelenCommandClipboardSetContentArgs.d.ts +4 -0
- package/script/gen/types/SeelenCommandClipboardSetContentArgs.d.ts.map +1 -0
- package/script/gen/types/SeelenCommandClipboardSetContentArgs.js +3 -0
- package/script/gen/types/SeelenCommandConnectBluetoothDeviceArgs.d.ts +4 -0
- package/script/gen/types/SeelenCommandConnectBluetoothDeviceArgs.d.ts.map +1 -0
- package/script/gen/types/SeelenCommandConnectBluetoothDeviceArgs.js +3 -0
- package/script/gen/types/SeelenCommandMoveWindowToWorkspaceArgs.d.ts +6 -0
- package/script/gen/types/SeelenCommandMoveWindowToWorkspaceArgs.d.ts.map +1 -0
- package/script/gen/types/SeelenCommandRegisterAppBarArgs.d.ts +7 -0
- package/script/gen/types/SeelenCommandRegisterAppBarArgs.d.ts.map +1 -0
- package/script/gen/types/SeelenCommandRegisterAppBarArgs.js +2 -0
- package/script/gen/types/SeelenCommandReturn.d.ts +49 -8
- package/script/gen/types/SeelenCommandReturn.d.ts.map +1 -1
- package/script/gen/types/SeelenCommandSetFocusAssistArgs.d.ts +4 -0
- package/script/gen/types/SeelenCommandSetFocusAssistArgs.d.ts.map +1 -0
- package/script/gen/types/SeelenCommandSetFocusAssistArgs.js +3 -0
- package/script/gen/types/SeelenCommandSetNotificationsModeArgs.d.ts +5 -0
- package/script/gen/types/SeelenCommandSetNotificationsModeArgs.d.ts.map +1 -0
- package/script/gen/types/SeelenCommandSetNotificationsModeArgs.js +2 -0
- package/script/gen/types/SeelenCommandSystemSetAccentColorArgs.d.ts +5 -0
- package/script/gen/types/SeelenCommandSystemSetAccentColorArgs.d.ts.map +1 -0
- package/script/gen/types/SeelenCommandSystemSetAccentColorArgs.js +2 -0
- package/script/gen/types/SeelenCommandWlanForgetArgs.d.ts +4 -0
- package/script/gen/types/SeelenCommandWlanForgetArgs.d.ts.map +1 -0
- package/script/gen/types/SeelenCommandWlanForgetArgs.js +3 -0
- package/script/gen/types/SeelenEventPayload.d.ts +26 -8
- package/script/gen/types/SeelenEventPayload.d.ts.map +1 -1
- package/script/gen/types/SeelenFont.d.ts +4 -0
- package/script/gen/types/SeelenFont.d.ts.map +1 -0
- package/script/gen/types/SeelenFont.js +3 -0
- package/script/gen/types/SeelenWallSettings.d.ts +14 -0
- package/script/gen/types/SeelenWallSettings.d.ts.map +1 -1
- package/script/gen/types/SeelenWegSettings.d.ts +11 -0
- package/script/gen/types/SeelenWegSettings.d.ts.map +1 -1
- package/script/gen/types/Settings.d.ts +12 -0
- package/script/gen/types/Settings.d.ts.map +1 -1
- package/script/gen/types/SettingsByWidget.d.ts +7 -0
- package/script/gen/types/SettingsByWidget.d.ts.map +1 -1
- package/script/gen/types/SluShortcutsSettings.d.ts +9 -2
- package/script/gen/types/SluShortcutsSettings.d.ts.map +1 -1
- package/script/gen/types/SluShortcutsSettings.js +1 -0
- package/script/gen/types/SystemShortcutDeclaration.d.ts +16 -0
- package/script/gen/types/SystemShortcutDeclaration.d.ts.map +1 -0
- package/script/gen/types/SystemShortcutDeclaration.js +3 -0
- package/script/gen/types/ThemeConfigDefinition.d.ts +2 -4
- package/script/gen/types/ThemeConfigDefinition.d.ts.map +1 -1
- package/script/gen/types/ThemeConfigGroupVariant.d.ts +5 -0
- package/script/gen/types/ThemeConfigGroupVariant.d.ts.map +1 -0
- package/script/gen/types/ThemeConfigGroupVariant.js +2 -0
- package/script/gen/types/ThemeVariableDefinition.d.ts +2 -0
- package/script/gen/types/ThemeVariableDefinition.d.ts.map +1 -1
- package/script/gen/types/ThirdPartyWidgetSettings.d.ts +7 -0
- package/script/gen/types/ThirdPartyWidgetSettings.d.ts.map +1 -1
- package/script/gen/types/ToolbarItem.d.ts +2 -0
- package/script/gen/types/ToolbarItem.d.ts.map +1 -1
- package/script/gen/types/TwmCondition.d.ts +17 -0
- package/script/gen/types/TwmCondition.d.ts.map +1 -0
- package/script/gen/types/TwmCondition.js +2 -0
- package/script/gen/types/TwmGlobalRuntimeTree.d.ts +8 -0
- package/script/gen/types/TwmGlobalRuntimeTree.d.ts.map +1 -0
- package/script/gen/types/TwmGlobalRuntimeTree.js +2 -0
- package/script/gen/types/{WmNodeKind.d.ts → TwmNodeKind.d.ts} +2 -2
- package/script/gen/types/TwmNodeKind.d.ts.map +1 -0
- package/script/gen/types/TwmNodeKind.js +11 -0
- package/script/gen/types/TwmNodeLifetime.d.ts +5 -0
- package/script/gen/types/TwmNodeLifetime.d.ts.map +1 -0
- package/script/gen/types/TwmNodeLifetime.js +9 -0
- package/script/gen/types/TwmPlugin.d.ts +8 -0
- package/script/gen/types/TwmPlugin.d.ts.map +1 -0
- package/script/gen/types/TwmPlugin.js +2 -0
- package/script/gen/types/{WmNode.d.ts → TwmPluginNode.d.ts} +15 -17
- package/script/gen/types/TwmPluginNode.d.ts.map +1 -0
- package/script/gen/types/TwmPluginNode.js +2 -0
- package/script/gen/types/TwmReservation.d.ts +9 -0
- package/script/gen/types/TwmReservation.d.ts.map +1 -0
- package/script/gen/types/TwmReservation.js +13 -0
- package/script/gen/types/TwmRuntimeNode.d.ts +22 -0
- package/script/gen/types/TwmRuntimeNode.d.ts.map +1 -0
- package/script/gen/types/TwmRuntimeNode.js +2 -0
- package/script/gen/types/TwmRuntimeTree.d.ts +8 -0
- package/script/gen/types/TwmRuntimeTree.d.ts.map +1 -0
- package/script/gen/types/TwmRuntimeTree.js +2 -0
- package/script/gen/types/TwmStackPolicy.d.ts +6 -0
- package/script/gen/types/TwmStackPolicy.d.ts.map +1 -0
- package/script/gen/types/TwmStackPolicy.js +10 -0
- package/script/gen/types/UIColors.d.ts +9 -10
- package/script/gen/types/UIColors.d.ts.map +1 -1
- package/script/gen/types/UIColors.js +0 -1
- package/script/gen/types/UserAppWindow.d.ts +5 -0
- package/script/gen/types/UserAppWindow.d.ts.map +1 -1
- package/script/gen/types/UserAppWindowPreview.d.ts +1 -1
- package/script/gen/types/Wallpaper.d.ts +1 -1
- package/script/gen/types/WallpaperKind.d.ts +1 -0
- package/script/gen/types/WallpaperKind.d.ts.map +1 -1
- package/script/gen/types/WallpaperKind.js +1 -0
- package/script/gen/types/WegMiddleClickAction.d.ts +5 -0
- package/script/gen/types/WegMiddleClickAction.d.ts.map +1 -0
- package/script/gen/types/WegMiddleClickAction.js +9 -0
- package/script/gen/types/Widget.d.ts +11 -0
- package/script/gen/types/Widget.d.ts.map +1 -1
- package/script/gen/types/WidgetConfigDefinition.d.ts +2 -4
- package/script/gen/types/WidgetConfigDefinition.d.ts.map +1 -1
- package/script/gen/types/WidgetConfigGroupVariant.d.ts +5 -0
- package/script/gen/types/WidgetConfigGroupVariant.d.ts.map +1 -0
- package/script/gen/types/WidgetConfigGroupVariant.js +2 -0
- package/script/gen/types/WidgetSelectOption.d.ts +1 -1
- package/script/gen/types/WidgetSelectOption.d.ts.map +1 -1
- package/script/gen/types/WidgetSettingColor.d.ts +4 -4
- package/script/gen/types/WidgetSettingColor.d.ts.map +1 -1
- package/script/gen/types/WidgetSettingFont.d.ts +34 -0
- package/script/gen/types/WidgetSettingFont.d.ts.map +1 -0
- package/script/gen/types/WidgetSettingFont.js +2 -0
- package/script/gen/types/WidgetSettingInputNumber.d.ts +4 -4
- package/script/gen/types/WidgetSettingInputNumber.d.ts.map +1 -1
- package/script/gen/types/WidgetSettingInputText.d.ts +4 -4
- package/script/gen/types/WidgetSettingInputText.d.ts.map +1 -1
- package/script/gen/types/WidgetSettingItem.d.ts +4 -1
- package/script/gen/types/WidgetSettingItem.d.ts.map +1 -1
- package/script/gen/types/WidgetSettingRange.d.ts +4 -4
- package/script/gen/types/WidgetSettingRange.d.ts.map +1 -1
- package/script/gen/types/WidgetSettingSelect.d.ts +4 -4
- package/script/gen/types/WidgetSettingSelect.d.ts.map +1 -1
- package/script/gen/types/WidgetSettingSwitch.d.ts +4 -4
- package/script/gen/types/WidgetSettingSwitch.d.ts.map +1 -1
- package/script/gen/types/WidgetShortcutDeclaration.d.ts +33 -0
- package/script/gen/types/WidgetShortcutDeclaration.d.ts.map +1 -0
- package/script/gen/types/WidgetShortcutDeclaration.js +2 -0
- package/script/gen/types/WidgetStatus.d.ts +2 -1
- package/script/gen/types/WidgetStatus.d.ts.map +1 -1
- package/script/gen/types/WidgetStatus.js +1 -0
- package/script/gen/types/WindowManagerSettings.d.ts +6 -0
- package/script/gen/types/WindowManagerSettings.d.ts.map +1 -1
- package/script/gen/types/WlanBssEntry.d.ts +15 -6
- package/script/gen/types/WlanBssEntry.d.ts.map +1 -1
- package/script/gen/types/mod.d.ts +275 -245
- package/script/gen/types/mod.d.ts.map +1 -1
- package/script/gen/types/mod.js +275 -245
- package/script/gen/types/serde_json/JsonValue.d.ts +4 -0
- package/script/gen/types/serde_json/JsonValue.d.ts.map +1 -0
- package/script/gen/types/serde_json/JsonValue.js +3 -0
- package/script/src/handlers/commands.d.ts +22 -4
- package/script/src/handlers/commands.d.ts.map +1 -1
- package/script/src/handlers/commands.js +21 -3
- package/script/src/handlers/events.d.ts +9 -3
- package/script/src/handlers/events.d.ts.map +1 -1
- package/script/src/handlers/events.js +8 -2
- package/script/src/state/theme/theming.d.ts +1 -0
- package/script/src/state/theme/theming.d.ts.map +1 -1
- package/script/src/state/theme/theming.js +22 -1
- package/script/src/state/widget/interfaces.d.ts +48 -7
- package/script/src/state/widget/interfaces.d.ts.map +1 -1
- package/script/src/state/widget/mod.d.ts +12 -7
- package/script/src/state/widget/mod.d.ts.map +1 -1
- package/script/src/state/widget/mod.js +89 -98
- package/script/src/state/widget/positioning.js +2 -2
- package/script/src/state/widget/sizing.d.ts +14 -3
- package/script/src/state/widget/sizing.d.ts.map +1 -1
- package/script/src/state/widget/sizing.js +61 -18
- package/script/src/system_state/ui_colors.d.ts +0 -1
- package/script/src/system_state/ui_colors.d.ts.map +1 -1
- package/script/src/system_state/ui_colors.js +5 -22
- package/script/src/utils/async.d.ts +12 -0
- package/script/src/utils/async.d.ts.map +1 -1
- package/script/src/utils/async.js +49 -0
- package/script/src/utils/mod.d.ts +2 -0
- package/script/src/utils/mod.d.ts.map +1 -1
- package/script/src/utils/mod.js +8 -1
- package/styles/colors.css +521 -0
- package/styles/reset.css +129 -0
- package/styles/shadows.css +7 -0
- package/styles/spacings.css +9 -0
- package/esm/gen/types/SluHotkey.d.ts +0 -17
- package/esm/gen/types/SluHotkey.d.ts.map +0 -1
- package/esm/gen/types/SluHotkeyAction.d.ts +0 -96
- package/esm/gen/types/SluHotkeyAction.d.ts.map +0 -1
- package/esm/gen/types/WindowManagerLayout.d.ts +0 -6
- package/esm/gen/types/WindowManagerLayout.d.ts.map +0 -1
- package/esm/gen/types/WlanProfile.d.ts +0 -8
- package/esm/gen/types/WlanProfile.d.ts.map +0 -1
- package/esm/gen/types/WmNode.d.ts.map +0 -1
- package/esm/gen/types/WmNodeKind.d.ts.map +0 -1
- package/esm/gen/types/WmNodeKind.js +0 -8
- package/esm/gen/types/WmNodeLifetime.d.ts +0 -5
- package/esm/gen/types/WmNodeLifetime.d.ts.map +0 -1
- package/esm/gen/types/WmNodeLifetime.js +0 -6
- package/esm/gen/types/WmRenderTree.d.ts +0 -6
- package/esm/gen/types/WmRenderTree.d.ts.map +0 -1
- package/script/gen/types/SluHotkey.d.ts +0 -17
- package/script/gen/types/SluHotkey.d.ts.map +0 -1
- package/script/gen/types/SluHotkeyAction.d.ts +0 -96
- package/script/gen/types/SluHotkeyAction.d.ts.map +0 -1
- package/script/gen/types/WindowManagerLayout.d.ts +0 -6
- package/script/gen/types/WindowManagerLayout.d.ts.map +0 -1
- package/script/gen/types/WlanProfile.d.ts +0 -8
- package/script/gen/types/WlanProfile.d.ts.map +0 -1
- package/script/gen/types/WmNode.d.ts.map +0 -1
- package/script/gen/types/WmNodeKind.d.ts.map +0 -1
- package/script/gen/types/WmNodeKind.js +0 -11
- package/script/gen/types/WmNodeLifetime.d.ts +0 -5
- package/script/gen/types/WmNodeLifetime.d.ts.map +0 -1
- package/script/gen/types/WmNodeLifetime.js +0 -9
- package/script/gen/types/WmRenderTree.d.ts +0 -6
- package/script/gen/types/WmRenderTree.d.ts.map +0 -1
- /package/esm/gen/types/{SluHotkeyAction.js → AudioWaveform.js} +0 -0
- /package/esm/gen/types/{WlanProfile.js → BackupStatus.js} +0 -0
- /package/esm/gen/types/{SluHotkey.js → ClipboardData.js} +0 -0
- /package/esm/gen/types/{WindowManagerLayout.js → ClipboardEntry.js} +0 -0
- /package/esm/gen/types/{WmNode.js → ContextMenuCallbackPayload.js} +0 -0
- /package/esm/gen/types/{WmRenderTree.js → SeelenCommandMoveWindowToWorkspaceArgs.js} +0 -0
- /package/script/gen/types/{SluHotkeyAction.js → AudioWaveform.js} +0 -0
- /package/script/gen/types/{WlanProfile.js → BackupStatus.js} +0 -0
- /package/script/gen/types/{SluHotkey.js → ClipboardData.js} +0 -0
- /package/script/gen/types/{WindowManagerLayout.js → ClipboardEntry.js} +0 -0
- /package/script/gen/types/{WmNode.js → ContextMenuCallbackPayload.js} +0 -0
- /package/script/gen/types/{WmRenderTree.js → SeelenCommandMoveWindowToWorkspaceArgs.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../../../src/src/handlers/commands.ts"],"names":[],"mappings":"AACA,oBAAY,aAAa;IACvB,uBAAuB,yBAAyB;IAChD,eAAe,qBAAqB;IACpC,eAAe,qBAAqB;IACpC,gBAAgB,sBAAsB;IACtC,eAAe,qBAAqB;IACpC,aAAa,mBAAmB;IAChC,aAAa,mBAAmB;IAChC,sBAAsB,6BAA6B;IACnD,cAAc,qBAAqB;IACnC,QAAQ,cAAc;IACtB,oBAAoB,4BAA4B;IAChD,GAAG,QAAQ;IACX,YAAY,kBAAkB;IAC9B,SAAS,gBAAgB;IACzB,aAAa,oBAAoB;IACjC,eAAe,sBAAsB;IACrC,aAAa,oBAAoB;IACjC,gBAAgB,uBAAuB;IACvC,WAAW,kBAAkB;IAC7B,WAAW,kBAAkB;IAC7B,aAAa,oBAAoB;IACjC,OAAO,aAAa;IACpB,WAAW,iBAAiB;IAC5B,0BAA0B,mCAAmC;IAC7D,eAAe,sBAAsB;IACrC,0BAA0B,kCAAkC;IAC5D,8BAA8B,gCAAgC;IAC9D,iBAAiB,2BAA2B;IAC5C,eAAe,sBAAsB;IACrC,kBAAkB,yBAAyB;IAC3C,uBAAuB,+BAA+B;IACtD,uBAAuB,+BAA+B;IACtD,8BAA8B,uCAAuC;IACrE,gCAAgC,yCAAyC;IACzE,YAAY,mBAAmB;IAC/B,kBAAkB,0BAA0B;IAC5C,cAAc,oBAAoB;IAClC,cAAc,qBAAqB;IACnC,gBAAgB,wBAAwB;IACxC,kBAAkB,0BAA0B;IAC5C,oBAAoB,4BAA4B;IAChD,sBAAsB,8BAA8B;IACpD,gBAAgB,uBAAuB;IACvC,kBAAkB,yBAAyB;IAC3C,qBAAqB,8BAA8B;IACnD,eAAe,sBAAsB;IACrC,eAAe,sBAA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qB,4BAA4B;IACjD,oBAAoB,0BAA0B;IAC9C,SAAS,eAAe;IACxB,aAAa,qBAAqB;IAClC,cAAc,qBAAqB;IACnC,gBAAgB,uBAAuB;IACvC,eAAe,sBAAsB;IACrC,cAAc,qBAAqB;IACnC,mBAAmB,0BAA0B;IAC7C,sBAAsB,6BAA6B;IACnD,qBAAqB,4BAA4B;IACjD,0BAA0B,kCAAkC;IAC5D,6BAA6B,qCAAqC;IAClE,yBAAyB,gCAAgC;IACzD,sBAAsB,6BAA6B;IACnD,qBAAqB,4BAA4B;IACjD,iBAAiB,yBAAyB;IAC1C,kBAAkB,0BAA0B;IAC5C,eAAe,uBAAuB;IACtC,aAAa,oBAAoB;IACjC,gBAAgB,uBAAuB;IACvC,WAAW,iBAAiB;IAC5B,YAAY,kBAAkB;IAC9B,eAAe,sBAAsB;IACrC,gBAAgB,uBAAuB;IACvC,oBAAoB,2BAA2B;IAC/C,qBAAqB,4BAA4B;IACjD,mBAAmB,0BAA0B;IAC7C,cAAc,oBAAoB;IAClC,QAAQ,cAAc;IACtB,cAAc,qBAAqB;IACnC,cAAc,qBAAqB;IACnC,oBAAoB,2BAA2B;IAC/C,oBAAoB,2BAA2B;CAChD"}
|
|
@@ -6,9 +6,11 @@ export var SeelenCommand;
|
|
|
6
6
|
SeelenCommand["CreateWorkspace"] = "create_workspace";
|
|
7
7
|
SeelenCommand["DestroyWorkspace"] = "destroy_workspace";
|
|
8
8
|
SeelenCommand["RenameWorkspace"] = "rename_workspace";
|
|
9
|
+
SeelenCommand["MoveWindowToWorkspace"] = "move_window_to_workspace";
|
|
9
10
|
SeelenCommand["WallpaperNext"] = "wallpaper_next";
|
|
10
11
|
SeelenCommand["WallpaperPrev"] = "wallpaper_prev";
|
|
11
12
|
SeelenCommand["WallpaperSaveThumbnail"] = "wallpaper_save_thumbnail";
|
|
13
|
+
SeelenCommand["SetAsWallpaper"] = "set_as_wallpaper";
|
|
12
14
|
SeelenCommand["LogFromWebview"] = "log_from_webview";
|
|
13
15
|
SeelenCommand["OpenFile"] = "open_file";
|
|
14
16
|
SeelenCommand["SelectFileOnExplorer"] = "select_file_on_explorer";
|
|
@@ -30,8 +32,11 @@ export var SeelenCommand;
|
|
|
30
32
|
SeelenCommand["SystemGetForegroundWindowColor"] = "get_foreground_window_color";
|
|
31
33
|
SeelenCommand["SystemGetMonitors"] = "get_connected_monitors";
|
|
32
34
|
SeelenCommand["SystemGetColors"] = "get_system_colors";
|
|
35
|
+
SeelenCommand["SystemSetAccentColor"] = "set_system_accent_color";
|
|
33
36
|
SeelenCommand["SystemGetLanguages"] = "get_system_languages";
|
|
34
37
|
SeelenCommand["SystemSetKeyboardLayout"] = "set_system_keyboard_layout";
|
|
38
|
+
SeelenCommand["RegisterAppBar"] = "register_app_bar";
|
|
39
|
+
SeelenCommand["UnregisterAppBar"] = "unregister_app_bar";
|
|
35
40
|
SeelenCommand["StateGetDefaultSettings"] = "state_get_default_settings";
|
|
36
41
|
SeelenCommand["StateGetDefaultMonitorSettings"] = "state_get_default_monitor_settings";
|
|
37
42
|
SeelenCommand["StateGetDefaultWallpaperSettings"] = "state_get_default_wallpaper_settings";
|
|
@@ -48,6 +53,7 @@ export var SeelenCommand;
|
|
|
48
53
|
SeelenCommand["StateGetSettingsByApp"] = "state_get_settings_by_app";
|
|
49
54
|
SeelenCommand["StateGetPlugins"] = "state_get_plugins";
|
|
50
55
|
SeelenCommand["StateGetWidgets"] = "state_get_widgets";
|
|
56
|
+
SeelenCommand["StateGetSystemShortcuts"] = "state_get_system_shortcuts";
|
|
51
57
|
SeelenCommand["StateGetIconPacks"] = "state_get_icon_packs";
|
|
52
58
|
SeelenCommand["StateGetWallpapers"] = "state_get_wallpapers";
|
|
53
59
|
SeelenCommand["StateSetCustomIconPack"] = "state_add_icon_to_custom_icon_pack";
|
|
@@ -76,6 +82,7 @@ export var SeelenCommand;
|
|
|
76
82
|
SeelenCommand["SetVolumeLevel"] = "set_volume_level";
|
|
77
83
|
SeelenCommand["MediaToggleMute"] = "media_toggle_mute";
|
|
78
84
|
SeelenCommand["MediaSetDefaultDevice"] = "media_set_default_device";
|
|
85
|
+
SeelenCommand["GetMediaWaveform"] = "get_media_waveform";
|
|
79
86
|
SeelenCommand["GetAllMonitorsBrightness"] = "get_all_monitors_brightness";
|
|
80
87
|
SeelenCommand["SetMonitorBrightness"] = "set_monitor_brightness";
|
|
81
88
|
SeelenCommand["GetPowerStatus"] = "get_power_status";
|
|
@@ -98,11 +105,10 @@ export var SeelenCommand;
|
|
|
98
105
|
SeelenCommand["UpdatePopup"] = "update_popup";
|
|
99
106
|
SeelenCommand["ClosePopup"] = "close_popup";
|
|
100
107
|
SeelenCommand["GetPopupConfig"] = "get_popup_config";
|
|
101
|
-
SeelenCommand["
|
|
102
|
-
SeelenCommand["WlanStartScanning"] = "wlan_start_scanning";
|
|
103
|
-
SeelenCommand["WlanStopScanning"] = "wlan_stop_scanning";
|
|
108
|
+
SeelenCommand["WlanScan"] = "wlan_scan";
|
|
104
109
|
SeelenCommand["WlanConnect"] = "wlan_connect";
|
|
105
110
|
SeelenCommand["WlanDisconnect"] = "wlan_disconnect";
|
|
111
|
+
SeelenCommand["WlanForget"] = "wlan_forget";
|
|
106
112
|
SeelenCommand["GetNetworkDefaultLocalIp"] = "get_network_default_local_ip";
|
|
107
113
|
SeelenCommand["GetNetworkAdapters"] = "get_network_adapters";
|
|
108
114
|
SeelenCommand["GetNetworkInternetConnection"] = "get_network_internet_connection";
|
|
@@ -124,6 +130,7 @@ export var SeelenCommand;
|
|
|
124
130
|
SeelenCommand["RequestPairBluetoothDevice"] = "request_pair_bluetooth_device";
|
|
125
131
|
SeelenCommand["ConfirmBluetoothDevicePairing"] = "confirm_bluetooth_device_pairing";
|
|
126
132
|
SeelenCommand["DisconnectBluetoothDevice"] = "disconnect_bluetooth_device";
|
|
133
|
+
SeelenCommand["ConnectBluetoothDevice"] = "connect_bluetooth_device";
|
|
127
134
|
SeelenCommand["ForgetBluetoothDevice"] = "forget_bluetooth_device";
|
|
128
135
|
SeelenCommand["GetStartMenuItems"] = "get_start_menu_items";
|
|
129
136
|
SeelenCommand["GetNativeStartMenu"] = "get_native_start_menu";
|
|
@@ -132,4 +139,15 @@ export var SeelenCommand;
|
|
|
132
139
|
SeelenCommand["GetSeelenSession"] = "get_seelen_session";
|
|
133
140
|
SeelenCommand["SeelenLogin"] = "seelen_login";
|
|
134
141
|
SeelenCommand["SeelenLogout"] = "seelen_logout";
|
|
142
|
+
SeelenCommand["GetBackupStatus"] = "get_backup_status";
|
|
143
|
+
SeelenCommand["ClipboardGetData"] = "clipboard_get_data";
|
|
144
|
+
SeelenCommand["ClipboardDeleteEntry"] = "clipboard_delete_entry";
|
|
145
|
+
SeelenCommand["ClipboardClearHistory"] = "clipboard_clear_history";
|
|
146
|
+
SeelenCommand["ClipboardSetContent"] = "clipboard_set_content";
|
|
147
|
+
SeelenCommand["ClipboardPaste"] = "clipboard_paste";
|
|
148
|
+
SeelenCommand["GetFonts"] = "get_fonts";
|
|
149
|
+
SeelenCommand["GetFocusAssist"] = "get_focus_assist";
|
|
150
|
+
SeelenCommand["SetFocusAssist"] = "set_focus_assist";
|
|
151
|
+
SeelenCommand["GetNotificationsMode"] = "get_notifications_mode";
|
|
152
|
+
SeelenCommand["SetNotificationsMode"] = "set_notifications_mode";
|
|
135
153
|
})(SeelenCommand || (SeelenCommand = {}));
|
|
@@ -14,21 +14,21 @@ export declare enum SeelenEvent {
|
|
|
14
14
|
MediaDevices = "media::devices",
|
|
15
15
|
MediaInputs = "media-inputs",
|
|
16
16
|
MediaOutputs = "media-outputs",
|
|
17
|
+
MediaWaveform = "media::waveform",
|
|
17
18
|
NetworkDefaultLocalIp = "network-default-local-ip",
|
|
18
19
|
NetworkAdapters = "network-adapters",
|
|
19
20
|
NetworkInternetConnection = "network-internet-connection",
|
|
20
21
|
NetworkWlanScanned = "wlan-scanned",
|
|
21
|
-
Notifications = "notifications",
|
|
22
22
|
PowerStatus = "power-status",
|
|
23
23
|
PowerMode = "power-mode",
|
|
24
24
|
BatteriesStatus = "batteries-status",
|
|
25
25
|
ColorsChanged = "colors-changed",
|
|
26
|
+
SystemFontsChanged = "system::fonts-changed",
|
|
26
27
|
WMSetReservation = "wm::set-reservation",
|
|
27
28
|
WMForceRetiling = "wm::force-retiling",
|
|
28
29
|
WMTreeChanged = "wm::tree-changed",
|
|
29
30
|
PopupContentChanged = "popup-content-changed",
|
|
30
31
|
StateSettingsChanged = "settings-changed",
|
|
31
|
-
StateSettingsByAppChanged = "settings-by-app",
|
|
32
32
|
StateThemesChanged = "themes",
|
|
33
33
|
StateIconPacksChanged = "icon-packs",
|
|
34
34
|
StatePluginsChanged = "plugins-changed",
|
|
@@ -46,6 +46,12 @@ export declare enum SeelenEvent {
|
|
|
46
46
|
StartMenuItemsChanged = "start-menu::items-changed",
|
|
47
47
|
WegAddItem = "weg::add-item",
|
|
48
48
|
TrashBinChanged = "trash-bin::changed",
|
|
49
|
-
SeelenSessionChanged = "session::changed"
|
|
49
|
+
SeelenSessionChanged = "session::changed",
|
|
50
|
+
SeelenBackupStatusChanged = "backup::status-changed",
|
|
51
|
+
ClipboardDataChanged = "clipboard::data-changed",
|
|
52
|
+
FocusAssistChanged = "focus-assist::changed",
|
|
53
|
+
NotificationsModeChanged = "notifications::mode-changed",
|
|
54
|
+
Notifications = "notifications",
|
|
55
|
+
PluginEnabled = "plugin::enabled"
|
|
50
56
|
}
|
|
51
57
|
//# sourceMappingURL=events.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../src/src/handlers/events.ts"],"names":[],"mappings":"AACA,oBAAY,WAAW;IACrB,sBAAsB,8BAA8B;IACpD,kBAAkB,yBAAyB;IAC3C,eAAe,sBAAsB;IACrC,qBAAqB,mBAAmB;IACxC,qBAAqB,6BAA6B;IAClD,sBAAsB,8BAA8B;IACpD,+BAA+B,wCAAwC;IACvE,WAAW,iBAAiB;IAC5B,iBAAiB,+BA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,4BAA4B;IAChD,mBAAmB,2BAA2B;IAC9C,kBAAkB,0BAA0B;IAC5C,uBAAuB,8BAA8B;IACrD,qBAAqB,8BAA8B;IACnD,UAAU,kBAAkB;IAC5B,eAAe,uBAAuB;IACtC,oBAAoB,qBAAqB;IACzC,yBAAyB,2BAA2B;IACpD,oBAAoB,4BAA4B;IAChD,kBAAkB,0BAA0B;IAC5C,wBAAwB,gCAAgC;IACxD,aAAa,kBAAkB;IAC/B,aAAa,oBAAoB;CAClC"}
|
|
@@ -16,21 +16,21 @@ export var SeelenEvent;
|
|
|
16
16
|
SeelenEvent["MediaDevices"] = "media::devices";
|
|
17
17
|
SeelenEvent["MediaInputs"] = "media-inputs";
|
|
18
18
|
SeelenEvent["MediaOutputs"] = "media-outputs";
|
|
19
|
+
SeelenEvent["MediaWaveform"] = "media::waveform";
|
|
19
20
|
SeelenEvent["NetworkDefaultLocalIp"] = "network-default-local-ip";
|
|
20
21
|
SeelenEvent["NetworkAdapters"] = "network-adapters";
|
|
21
22
|
SeelenEvent["NetworkInternetConnection"] = "network-internet-connection";
|
|
22
23
|
SeelenEvent["NetworkWlanScanned"] = "wlan-scanned";
|
|
23
|
-
SeelenEvent["Notifications"] = "notifications";
|
|
24
24
|
SeelenEvent["PowerStatus"] = "power-status";
|
|
25
25
|
SeelenEvent["PowerMode"] = "power-mode";
|
|
26
26
|
SeelenEvent["BatteriesStatus"] = "batteries-status";
|
|
27
27
|
SeelenEvent["ColorsChanged"] = "colors-changed";
|
|
28
|
+
SeelenEvent["SystemFontsChanged"] = "system::fonts-changed";
|
|
28
29
|
SeelenEvent["WMSetReservation"] = "wm::set-reservation";
|
|
29
30
|
SeelenEvent["WMForceRetiling"] = "wm::force-retiling";
|
|
30
31
|
SeelenEvent["WMTreeChanged"] = "wm::tree-changed";
|
|
31
32
|
SeelenEvent["PopupContentChanged"] = "popup-content-changed";
|
|
32
33
|
SeelenEvent["StateSettingsChanged"] = "settings-changed";
|
|
33
|
-
SeelenEvent["StateSettingsByAppChanged"] = "settings-by-app";
|
|
34
34
|
SeelenEvent["StateThemesChanged"] = "themes";
|
|
35
35
|
SeelenEvent["StateIconPacksChanged"] = "icon-packs";
|
|
36
36
|
SeelenEvent["StatePluginsChanged"] = "plugins-changed";
|
|
@@ -49,4 +49,10 @@ export var SeelenEvent;
|
|
|
49
49
|
SeelenEvent["WegAddItem"] = "weg::add-item";
|
|
50
50
|
SeelenEvent["TrashBinChanged"] = "trash-bin::changed";
|
|
51
51
|
SeelenEvent["SeelenSessionChanged"] = "session::changed";
|
|
52
|
+
SeelenEvent["SeelenBackupStatusChanged"] = "backup::status-changed";
|
|
53
|
+
SeelenEvent["ClipboardDataChanged"] = "clipboard::data-changed";
|
|
54
|
+
SeelenEvent["FocusAssistChanged"] = "focus-assist::changed";
|
|
55
|
+
SeelenEvent["NotificationsModeChanged"] = "notifications::mode-changed";
|
|
56
|
+
SeelenEvent["Notifications"] = "notifications";
|
|
57
|
+
SeelenEvent["PluginEnabled"] = "plugin::enabled";
|
|
52
58
|
})(SeelenEvent || (SeelenEvent = {}));
|
|
@@ -3,5 +3,6 @@
|
|
|
3
3
|
* when the themes or settings change. Also will add the systehm ui colors to the document.
|
|
4
4
|
*/
|
|
5
5
|
export declare function startThemingTool(): Promise<void>;
|
|
6
|
+
export declare function setPerformanceStyles(): void;
|
|
6
7
|
export declare function startDateCssVariables(): void;
|
|
7
8
|
//# sourceMappingURL=theming.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theming.d.ts","sourceRoot":"","sources":["../../../../src/src/state/theme/theming.ts"],"names":[],"mappings":"AAKA;;;GAGG;AACH,wBAAsB,gBAAgB,IAAI,OAAO,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"theming.d.ts","sourceRoot":"","sources":["../../../../src/src/state/theme/theming.ts"],"names":[],"mappings":"AAKA;;;GAGG;AACH,wBAAsB,gBAAgB,IAAI,OAAO,CAAC,IAAI,CAAC,CAqBtD;AAiBD,wBAAgB,oBAAoB,IAAI,IAAI,CAI3C;AAED,wBAAgB,qBAAqB,IAAI,IAAI,CAK5C"}
|
|
@@ -17,11 +17,31 @@ export async function startThemingTool() {
|
|
|
17
17
|
settings = newSettings;
|
|
18
18
|
themes.applyToDocument(settings.activeThemes, settings.byTheme);
|
|
19
19
|
});
|
|
20
|
+
setPerformanceStyles();
|
|
21
|
+
startDateCssVariables();
|
|
20
22
|
(await UIColors.getAsync()).setAsCssVariables();
|
|
21
23
|
await UIColors.onChange((colors) => colors.setAsCssVariables());
|
|
22
|
-
startDateCssVariables();
|
|
23
24
|
themes.applyToDocument(settings.activeThemes, settings.byTheme);
|
|
24
25
|
}
|
|
26
|
+
// Used by performance mode to reduce cpu/gpu usage
|
|
27
|
+
const PERF_CSS = `
|
|
28
|
+
html[data-animations-off] *,
|
|
29
|
+
html[data-animations-off] *::before,
|
|
30
|
+
html[data-animations-off] *::after {
|
|
31
|
+
animation-duration: 0.001ms !important;
|
|
32
|
+
animation-iteration-count: 1 !important;
|
|
33
|
+
animation-delay: 0s !important;
|
|
34
|
+
|
|
35
|
+
transition-duration: 0.001ms !important;
|
|
36
|
+
transition-delay: 0s !important;
|
|
37
|
+
|
|
38
|
+
scroll-behavior: auto !important;
|
|
39
|
+
}`;
|
|
40
|
+
export function setPerformanceStyles() {
|
|
41
|
+
const styleSheet = new RuntimeStyleSheet("@static/performance");
|
|
42
|
+
styleSheet.addStyle(PERF_CSS);
|
|
43
|
+
styleSheet.applyToDocument();
|
|
44
|
+
}
|
|
25
45
|
export function startDateCssVariables() {
|
|
26
46
|
// Set initial values immediately
|
|
27
47
|
updateDateCssVariables();
|
|
@@ -12,23 +12,64 @@ export interface WidgetInformation {
|
|
|
12
12
|
}
|
|
13
13
|
export interface InitWidgetOptions {
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Automatically resizes the widget to match the content size of a given element.
|
|
16
|
+
*
|
|
16
17
|
* @example
|
|
17
|
-
* autoSizeByContent: document.body
|
|
18
|
-
* autoSizeByContent: document.getElementById("root")
|
|
18
|
+
* autoSizeByContent: document.body
|
|
19
|
+
* autoSizeByContent: document.getElementById("root")
|
|
20
|
+
*
|
|
19
21
|
* @default undefined
|
|
20
22
|
*/
|
|
21
23
|
autoSizeByContent?: HTMLElement | null;
|
|
22
24
|
/**
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
25
|
+
* When `autoSizeByContent` is enabled, ensures the widget stays fully visible
|
|
26
|
+
* by adjusting its position to fit within the screen bounds.
|
|
27
|
+
*
|
|
28
|
+
* @default true
|
|
29
|
+
*/
|
|
30
|
+
autoSizeFitOnScreen?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Forces the WebView to use a 1:1 device pixel ratio (disables DPI scaling).
|
|
33
|
+
*
|
|
34
|
+
* ⚠️ Not intended for typical widgets. Use only when exact pixel alignment
|
|
35
|
+
* with the physical display is required (e.g. multi-monitor widgets like
|
|
36
|
+
* power menu, workspace viewer, wallpaper manager).
|
|
37
|
+
*
|
|
38
|
+
* Widgets using this must handle per-monitor DPI scaling manually.
|
|
39
|
+
*
|
|
40
|
+
* @default false
|
|
41
|
+
*/
|
|
42
|
+
normalizeDevicePixelRatio?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Persists and restores the widget's last known position and size.
|
|
45
|
+
*
|
|
46
|
+
* Intended for widgets that users can move or resize (e.g. desktop widgets).
|
|
26
47
|
*
|
|
27
48
|
* @default widget.preset === "Desktop"
|
|
28
49
|
*/
|
|
29
50
|
saveAndRestoreLastRect?: boolean;
|
|
30
51
|
/**
|
|
31
|
-
*
|
|
52
|
+
* Hides the widget when it loses focus.
|
|
53
|
+
*
|
|
54
|
+
* Commonly used for popup-style widgets.
|
|
55
|
+
*
|
|
56
|
+
* @default widget.preset === "Popup"
|
|
57
|
+
*/
|
|
58
|
+
hideOnFocusLoss?: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Closes the widget after being hidden for a period of time,
|
|
61
|
+
* instead of keeping it in memory.
|
|
62
|
+
*
|
|
63
|
+
* Useful for infrequently used popup widgets to reduce resource usage.
|
|
64
|
+
* The widget will be recreated when opened again.
|
|
65
|
+
*
|
|
66
|
+
* @default widget.lazy === true
|
|
67
|
+
*/
|
|
68
|
+
closeOnHide?: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* Disables CSS animations when performance mode is set to "Extreme".
|
|
71
|
+
*
|
|
72
|
+
* Helps reduce rendering overhead on low-end systems or heavy workloads.
|
|
32
73
|
*
|
|
33
74
|
* @default true
|
|
34
75
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../../src/src/state/widget/interfaces.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,4BAA4B;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,kEAAkE;IAClE,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,gEAAgE;IAChE,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,0CAA0C;IAC1C,MAAM,EAAE;QAAE,QAAQ,EAAE,GAAG,IAAI,MAAM,CAAC,CAAC,EAAE,MAAM;KAAE,CAAC;CAC/C;AAED,MAAM,WAAW,iBAAiB;IAChC
|
|
1
|
+
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../../src/src/state/widget/interfaces.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,4BAA4B;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,kEAAkE;IAClE,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,gEAAgE;IAChE,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,0CAA0C;IAC1C,MAAM,EAAE;QAAE,QAAQ,EAAE,GAAG,IAAI,MAAM,CAAC,CAAC,EAAE,MAAM;KAAE,CAAC;CAC/C;AAED,MAAM,WAAW,iBAAiB;IAChC;;;;;;;;OAQG;IACH,iBAAiB,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IAEvC;;;;;OAKG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAE9B;;;;;;;;;;OAUG;IACH,yBAAyB,CAAC,EAAE,OAAO,CAAC;IAEpC;;;;;;OAMG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;IAEjC;;;;;;OAMG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B;;;;;;;;OAQG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;;;;;OAMG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC;AAED,MAAM,WAAW,kBAAkB;IACjC;;;;OAIG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type Frame, type Rect, type ThirdPartyWidgetSettings, type Widget as IWidget, type WidgetId, type WidgetTriggerPayload } from "../../../gen/types/mod.js";
|
|
1
|
+
import { type Alignment, type Frame, type Rect, type ThirdPartyWidgetSettings, type Widget as IWidget, type WidgetId, type WidgetTriggerPayload } from "../../../gen/types/mod.js";
|
|
2
2
|
import type { InitWidgetOptions, ReadyWidgetOptions, WidgetInformation } from "./interfaces.js";
|
|
3
3
|
import { type Webview } from "@tauri-apps/api/webview";
|
|
4
4
|
import { type Window } from "@tauri-apps/api/window";
|
|
@@ -24,26 +24,26 @@ export declare class Widget {
|
|
|
24
24
|
/** current window where the widget is running */
|
|
25
25
|
readonly window: Window;
|
|
26
26
|
private autoSizer?;
|
|
27
|
+
private destroyOnHide;
|
|
27
28
|
private runtimeState;
|
|
28
29
|
private constructor();
|
|
29
30
|
/** Returns the current window id of the widget */
|
|
30
31
|
get windowId(): number;
|
|
31
|
-
/** Returns the current position and size of the widget */
|
|
32
|
-
get frame(): Frame;
|
|
33
32
|
/** Returns the default config of the widget, declared on the widget definition */
|
|
34
33
|
getDefaultConfig(): ThirdPartyWidgetSettings;
|
|
35
|
-
private applyInvisiblePreset;
|
|
36
34
|
/** Will apply the recommended settings for a desktop widget */
|
|
37
35
|
private applyDesktopPreset;
|
|
38
36
|
/** Will apply the recommended settings for an overlay widget */
|
|
39
37
|
private applyOverlayPreset;
|
|
40
38
|
/** Will apply the recommended settings for a popup widget */
|
|
41
39
|
private applyPopupPreset;
|
|
40
|
+
private hideOnFocusLoss;
|
|
42
41
|
/**
|
|
43
42
|
* Will restore the saved position and size of the widget on start,
|
|
44
43
|
* after that will store the position and size of the widget on change.
|
|
45
44
|
*/
|
|
46
|
-
persistPositionAndSize
|
|
45
|
+
private persistPositionAndSize;
|
|
46
|
+
private normalizeDevicePixelRatio;
|
|
47
47
|
/**
|
|
48
48
|
* Will initialize the widget based on the preset and mark it as `pending`, this function won't show the widget.
|
|
49
49
|
* This should be called before any other action on the widget. After this you should call
|
|
@@ -58,12 +58,17 @@ export declare class Widget {
|
|
|
58
58
|
*/
|
|
59
59
|
ready(options?: ReadyWidgetOptions): Promise<void>;
|
|
60
60
|
onTrigger(cb: (args: WidgetTriggerPayload) => void): void;
|
|
61
|
-
|
|
61
|
+
__unsafe_setPosition(rect: Rect, ref: Frame): Promise<void>;
|
|
62
|
+
/**
|
|
63
|
+
* This will adjust the position of the widget based on the current placement and alignX/alignY arguments.
|
|
64
|
+
* This makes the widget fit into the monitor where it was placed, avoiding monitor overflow.
|
|
65
|
+
*/
|
|
66
|
+
adjustAndSetPosition(x: number, y: number, alignX?: Alignment | null, alignY?: Alignment | null): Promise<void>;
|
|
62
67
|
setPosition(rect: Rect): Promise<void>;
|
|
63
68
|
show(): Promise<void>;
|
|
64
69
|
/** Will force foreground the widget */
|
|
65
70
|
focus(): Promise<void>;
|
|
66
|
-
hide(
|
|
71
|
+
hide(): void;
|
|
67
72
|
}
|
|
68
73
|
export declare const SeelenSettingsWidgetId: WidgetId;
|
|
69
74
|
export declare const SeelenPopupWidgetId: WidgetId;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../../../src/src/state/widget/mod.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,KAAK,EACV,KAAK,IAAI,EACT,KAAK,wBAAwB,EAC7B,KAAK,MAAM,IAAI,OAAO,EAEtB,KAAK,QAAQ,EAIb,KAAK,oBAAoB,EAC1B,MAAM,2BAA2B,CAAC;AAOnC,OAAO,KAAK,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEhG,OAAO,EAAqB,KAAK,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAC1E,OAAO,EAAoB,KAAK,MAAM,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../../../src/src/state/widget/mod.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,SAAS,EACd,KAAK,KAAK,EACV,KAAK,IAAI,EACT,KAAK,wBAAwB,EAC7B,KAAK,MAAM,IAAI,OAAO,EAEtB,KAAK,QAAQ,EAIb,KAAK,oBAAoB,EAC1B,MAAM,2BAA2B,CAAC;AAOnC,OAAO,KAAK,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEhG,OAAO,EAAqB,KAAK,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAC1E,OAAO,EAAoB,KAAK,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAUvE;;GAEG;AACH,qBAAa,MAAM;IACjB;;;OAGG;IACH,MAAM,CAAC,UAAU,IAAI,MAAM;IAU3B,iCAAiC;IACjC,MAAM,KAAK,IAAI,IAAI,MAAM,CAExB;IAED,gBAAgB;IAChB,SAAgB,EAAE,EAAE,QAAQ,CAAC;IAC7B,wBAAwB;IACxB,SAAgB,GAAG,EAAE,OAAO,CAAC;IAC7B,0CAA0C;IAC1C,SAAgB,OAAO,EAAE,iBAAiB,CAAC;IAC3C,kDAAkD;IAClD,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