@seelen-ui/lib 2.1.8 → 2.2.6-next.20250406223121
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/deps/jsr.io/@std/encoding/1.0.8/_common64.d.ts +21 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.8/_common64.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.8/_common64.js +98 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.8/_common_detach.d.ts +4 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.8/_common_detach.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.8/_common_detach.js +13 -0
- package/{script/deps/jsr.io/@std/encoding/1.0.7 → esm/deps/jsr.io/@std/encoding/1.0.8}/_types.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/encoding/1.0.8/base64url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.8/base64url.js +72 -0
- package/esm/handlers/commands.d.ts +19 -1
- package/esm/handlers/commands.d.ts.map +1 -1
- package/esm/handlers/commands.js +19 -1
- package/esm/handlers/events.d.ts +6 -0
- package/esm/handlers/events.d.ts.map +1 -1
- package/esm/handlers/events.js +6 -0
- package/esm/state/icon_pack.d.ts +28 -6
- package/esm/state/icon_pack.d.ts.map +1 -1
- package/esm/state/icon_pack.js +73 -10
- package/esm/state/placeholder.d.ts +2 -0
- package/esm/state/placeholder.d.ts.map +1 -1
- package/esm/state/placeholder.js +2 -0
- package/esm/state/settings/mod.d.ts +7 -3
- package/esm/state/settings/mod.d.ts.map +1 -1
- package/esm/state/settings/mod.js +5 -1
- package/esm/state/widget.js +1 -1
- package/esm/system_state/bluetooth.d.ts +76 -0
- package/esm/system_state/bluetooth.d.ts.map +1 -0
- package/esm/system_state/bluetooth.js +62 -0
- package/esm/system_state/language.d.ts +4 -0
- package/esm/system_state/language.d.ts.map +1 -1
- package/esm/system_state/mod.d.ts +1 -0
- package/esm/system_state/mod.d.ts.map +1 -1
- package/esm/system_state/mod.js +1 -0
- package/esm/system_state/ui_colors.d.ts +28 -13
- package/esm/system_state/ui_colors.d.ts.map +1 -1
- package/esm/system_state/ui_colors.js +76 -1
- package/esm/types/AppNotification.d.ts +10 -0
- package/esm/types/AppNotification.d.ts.map +1 -0
- package/esm/types/AppNotification.js +1 -0
- package/esm/types/BLEAppearance.d.ts +218 -0
- package/esm/types/BLEAppearance.d.ts.map +1 -0
- package/esm/types/BLEAppearance.js +1 -0
- package/esm/types/BLEAppearanceAVEquipmentSubCategory.d.ts +4 -0
- package/esm/types/BLEAppearanceAVEquipmentSubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearanceAVEquipmentSubCategory.js +2 -0
- package/esm/types/BLEAppearanceAccessControlSubCategory.d.ts +4 -0
- package/esm/types/BLEAppearanceAccessControlSubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearanceAccessControlSubCategory.js +2 -0
- package/esm/types/BLEAppearanceAirConditioningSubCategory.d.ts +4 -0
- package/esm/types/BLEAppearanceAirConditioningSubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearanceAirConditioningSubCategory.js +2 -0
- package/esm/types/BLEAppearanceAircraftSubCategory.d.ts +4 -0
- package/esm/types/BLEAppearanceAircraftSubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearanceAircraftSubCategory.js +2 -0
- package/esm/types/BLEAppearanceAudioSinkSubCategory.d.ts +4 -0
- package/esm/types/BLEAppearanceAudioSinkSubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearanceAudioSinkSubCategory.js +2 -0
- package/esm/types/BLEAppearanceAudioSourceSubCategory.d.ts +4 -0
- package/esm/types/BLEAppearanceAudioSourceSubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearanceAudioSourceSubCategory.js +2 -0
- package/esm/types/BLEAppearanceBarcodeScannerSubCategory.d.ts +4 -0
- package/esm/types/BLEAppearanceBarcodeScannerSubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearanceBarcodeScannerSubCategory.js +2 -0
- package/esm/types/BLEAppearanceBloodPressureSubCategory.d.ts +4 -0
- package/esm/types/BLEAppearanceBloodPressureSubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearanceBloodPressureSubCategory.js +2 -0
- package/esm/types/BLEAppearanceClockSubCategory.d.ts +4 -0
- package/esm/types/BLEAppearanceClockSubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearanceClockSubCategory.js +2 -0
- package/esm/types/BLEAppearanceComputerSubCategory.d.ts +4 -0
- package/esm/types/BLEAppearanceComputerSubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearanceComputerSubCategory.js +2 -0
- package/esm/types/BLEAppearanceContinuousGlucoseMonitorSubCategory.d.ts +4 -0
- package/esm/types/BLEAppearanceContinuousGlucoseMonitorSubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearanceContinuousGlucoseMonitorSubCategory.js +2 -0
- package/esm/types/BLEAppearanceControlDeviceSubCategory.d.ts +4 -0
- package/esm/types/BLEAppearanceControlDeviceSubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearanceControlDeviceSubCategory.js +2 -0
- package/esm/types/BLEAppearanceCyclingSubCategory.d.ts +4 -0
- package/esm/types/BLEAppearanceCyclingSubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearanceCyclingSubCategory.js +2 -0
- package/esm/types/BLEAppearanceDisplayEquipmentSubCategory.d.ts +4 -0
- package/esm/types/BLEAppearanceDisplayEquipmentSubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearanceDisplayEquipmentSubCategory.js +2 -0
- package/esm/types/BLEAppearanceDisplaySubCategory.d.ts +4 -0
- package/esm/types/BLEAppearanceDisplaySubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearanceDisplaySubCategory.js +2 -0
- package/esm/types/BLEAppearanceDomesticApplianceSubCategory.d.ts +4 -0
- package/esm/types/BLEAppearanceDomesticApplianceSubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearanceDomesticApplianceSubCategory.js +2 -0
- package/esm/types/BLEAppearanceEyeglassesSubCategory.d.ts +4 -0
- package/esm/types/BLEAppearanceEyeglassesSubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearanceEyeglassesSubCategory.js +2 -0
- package/esm/types/BLEAppearanceFanSubCategory.d.ts +4 -0
- package/esm/types/BLEAppearanceFanSubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearanceFanSubCategory.js +2 -0
- package/esm/types/BLEAppearanceGamingSubCategory.d.ts +4 -0
- package/esm/types/BLEAppearanceGamingSubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearanceGamingSubCategory.js +2 -0
- package/esm/types/BLEAppearanceGlucoseMeterSubCategory.d.ts +4 -0
- package/esm/types/BLEAppearanceGlucoseMeterSubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearanceGlucoseMeterSubCategory.js +2 -0
- package/esm/types/BLEAppearanceHVACSubCategory.d.ts +4 -0
- package/esm/types/BLEAppearanceHVACSubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearanceHVACSubCategory.js +2 -0
- package/esm/types/BLEAppearanceHearingaidSubCategory.d.ts +4 -0
- package/esm/types/BLEAppearanceHearingaidSubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearanceHearingaidSubCategory.js +2 -0
- package/esm/types/BLEAppearanceHeartRateSensorSubCategory.d.ts +4 -0
- package/esm/types/BLEAppearanceHeartRateSensorSubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearanceHeartRateSensorSubCategory.js +2 -0
- package/esm/types/BLEAppearanceHeatingSubCategory.d.ts +4 -0
- package/esm/types/BLEAppearanceHeatingSubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearanceHeatingSubCategory.js +2 -0
- package/esm/types/BLEAppearanceHumanInterfaceDeviceSubCategory.d.ts +4 -0
- package/esm/types/BLEAppearanceHumanInterfaceDeviceSubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearanceHumanInterfaceDeviceSubCategory.js +2 -0
- package/esm/types/BLEAppearanceHumidifierSubCategory.d.ts +4 -0
- package/esm/types/BLEAppearanceHumidifierSubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearanceHumidifierSubCategory.js +2 -0
- package/esm/types/BLEAppearanceIndustrialMeasurementDeviceSubCategory.d.ts +4 -0
- package/esm/types/BLEAppearanceIndustrialMeasurementDeviceSubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearanceIndustrialMeasurementDeviceSubCategory.js +2 -0
- package/esm/types/BLEAppearanceIndustrialToolsSubCategory.d.ts +4 -0
- package/esm/types/BLEAppearanceIndustrialToolsSubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearanceIndustrialToolsSubCategory.js +2 -0
- package/esm/types/BLEAppearanceInsulinPumpSubCategory.d.ts +4 -0
- package/esm/types/BLEAppearanceInsulinPumpSubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearanceInsulinPumpSubCategory.js +2 -0
- package/esm/types/BLEAppearanceKeyringSubCategory.d.ts +4 -0
- package/esm/types/BLEAppearanceKeyringSubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearanceKeyringSubCategory.js +2 -0
- package/esm/types/BLEAppearanceLightFixturesSubCategory.d.ts +4 -0
- package/esm/types/BLEAppearanceLightFixturesSubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearanceLightFixturesSubCategory.js +2 -0
- package/esm/types/BLEAppearanceLightSourceSubCategory.d.ts +4 -0
- package/esm/types/BLEAppearanceLightSourceSubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearanceLightSourceSubCategory.js +2 -0
- package/esm/types/BLEAppearanceMediaPlayerSubCategory.d.ts +4 -0
- package/esm/types/BLEAppearanceMediaPlayerSubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearanceMediaPlayerSubCategory.js +2 -0
- package/esm/types/BLEAppearanceMedicationDeliverySubCategory.d.ts +4 -0
- package/esm/types/BLEAppearanceMedicationDeliverySubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearanceMedicationDeliverySubCategory.js +2 -0
- package/esm/types/BLEAppearanceMotorizedDeviceSubCategory.d.ts +4 -0
- package/esm/types/BLEAppearanceMotorizedDeviceSubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearanceMotorizedDeviceSubCategory.js +2 -0
- package/esm/types/BLEAppearanceMotorizedVehicleSubCategory.d.ts +4 -0
- package/esm/types/BLEAppearanceMotorizedVehicleSubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearanceMotorizedVehicleSubCategory.js +2 -0
- package/esm/types/BLEAppearanceNetworkDeviceSubCategory.d.ts +4 -0
- package/esm/types/BLEAppearanceNetworkDeviceSubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearanceNetworkDeviceSubCategory.js +2 -0
- package/esm/types/BLEAppearanceOutdoorSportsActivitySubCategory.d.ts +4 -0
- package/esm/types/BLEAppearanceOutdoorSportsActivitySubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearanceOutdoorSportsActivitySubCategory.js +2 -0
- package/esm/types/BLEAppearancePersonalMobilityDeviceSubCategory.d.ts +4 -0
- package/esm/types/BLEAppearancePersonalMobilityDeviceSubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearancePersonalMobilityDeviceSubCategory.js +2 -0
- package/esm/types/BLEAppearancePhoneSubCategory.d.ts +4 -0
- package/esm/types/BLEAppearancePhoneSubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearancePhoneSubCategory.js +2 -0
- package/esm/types/BLEAppearancePowerDeviceSubCategory.d.ts +4 -0
- package/esm/types/BLEAppearancePowerDeviceSubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearancePowerDeviceSubCategory.js +2 -0
- package/esm/types/BLEAppearancePulseOximeterSubCategory.d.ts +4 -0
- package/esm/types/BLEAppearancePulseOximeterSubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearancePulseOximeterSubCategory.js +2 -0
- package/esm/types/BLEAppearanceRemoteControlSubCategory.d.ts +4 -0
- package/esm/types/BLEAppearanceRemoteControlSubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearanceRemoteControlSubCategory.js +2 -0
- package/esm/types/BLEAppearanceRunningWalkingSensorSubCategory.d.ts +4 -0
- package/esm/types/BLEAppearanceRunningWalkingSensorSubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearanceRunningWalkingSensorSubCategory.js +2 -0
- package/esm/types/BLEAppearanceSensorSubCategory.d.ts +4 -0
- package/esm/types/BLEAppearanceSensorSubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearanceSensorSubCategory.js +2 -0
- package/esm/types/BLEAppearanceSignageSubCategory.d.ts +4 -0
- package/esm/types/BLEAppearanceSignageSubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearanceSignageSubCategory.js +2 -0
- package/esm/types/BLEAppearanceSpirometerSubCategory.d.ts +4 -0
- package/esm/types/BLEAppearanceSpirometerSubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearanceSpirometerSubCategory.js +2 -0
- package/esm/types/BLEAppearanceTagSubCategory.d.ts +4 -0
- package/esm/types/BLEAppearanceTagSubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearanceTagSubCategory.js +2 -0
- package/esm/types/BLEAppearanceThermometerSubCategory.d.ts +4 -0
- package/esm/types/BLEAppearanceThermometerSubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearanceThermometerSubCategory.js +2 -0
- package/esm/types/BLEAppearanceUnknownSubCategory.d.ts +4 -0
- package/esm/types/BLEAppearanceUnknownSubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearanceUnknownSubCategory.js +2 -0
- package/esm/types/BLEAppearanceWatchSubCategory.d.ts +4 -0
- package/esm/types/BLEAppearanceWatchSubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearanceWatchSubCategory.js +2 -0
- package/esm/types/BLEAppearanceWearableAudioDeviceSubCategory.d.ts +4 -0
- package/esm/types/BLEAppearanceWearableAudioDeviceSubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearanceWearableAudioDeviceSubCategory.js +2 -0
- package/esm/types/BLEAppearanceWeightScaleSubCategory.d.ts +4 -0
- package/esm/types/BLEAppearanceWeightScaleSubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearanceWeightScaleSubCategory.js +2 -0
- package/esm/types/BLEAppearanceWindowCoveringSubCategory.d.ts +4 -0
- package/esm/types/BLEAppearanceWindowCoveringSubCategory.d.ts.map +1 -0
- package/esm/types/BLEAppearanceWindowCoveringSubCategory.js +2 -0
- package/esm/types/Binding.d.ts +7 -0
- package/esm/types/Binding.d.ts.map +1 -0
- package/esm/types/Binding.js +1 -0
- package/esm/types/BluetoothAudioVideoMinor.d.ts +7 -0
- package/esm/types/BluetoothAudioVideoMinor.d.ts.map +1 -0
- package/esm/types/BluetoothAudioVideoMinor.js +2 -0
- package/esm/types/BluetoothComputerMinor.d.ts +7 -0
- package/esm/types/BluetoothComputerMinor.d.ts.map +1 -0
- package/esm/types/BluetoothComputerMinor.js +2 -0
- package/esm/types/BluetoothDevice.d.ts +21 -0
- package/esm/types/BluetoothDevice.d.ts.map +1 -0
- package/esm/types/BluetoothDevice.js +1 -0
- package/esm/types/BluetoothDevicePairShowPinRequest.d.ts +5 -0
- package/esm/types/BluetoothDevicePairShowPinRequest.d.ts.map +1 -0
- package/esm/types/BluetoothDevicePairShowPinRequest.js +2 -0
- package/esm/types/BluetoothHealthMinor.d.ts +7 -0
- package/esm/types/BluetoothHealthMinor.d.ts.map +1 -0
- package/esm/types/BluetoothHealthMinor.js +2 -0
- package/esm/types/BluetoothImagingMinor.d.ts +5 -0
- package/esm/types/BluetoothImagingMinor.d.ts.map +1 -0
- package/esm/types/BluetoothImagingMinor.js +2 -0
- package/esm/types/BluetoothImagingSubMinor.d.ts +7 -0
- package/esm/types/BluetoothImagingSubMinor.d.ts.map +1 -0
- package/esm/types/BluetoothImagingSubMinor.js +2 -0
- package/esm/types/BluetoothMajorClass.d.ts +5 -0
- package/esm/types/BluetoothMajorClass.d.ts.map +1 -0
- package/esm/types/BluetoothMajorClass.js +2 -0
- package/esm/types/BluetoothMajorServiceClass.d.ts +2 -0
- package/esm/types/BluetoothMajorServiceClass.d.ts.map +1 -0
- package/esm/types/BluetoothMajorServiceClass.js +2 -0
- package/esm/types/BluetoothMinorClass.d.ts +40 -0
- package/esm/types/BluetoothMinorClass.d.ts.map +1 -0
- package/esm/types/BluetoothMinorClass.js +1 -0
- package/esm/types/BluetoothNetworkMinor.d.ts +5 -0
- package/esm/types/BluetoothNetworkMinor.d.ts.map +1 -0
- package/esm/types/BluetoothNetworkMinor.js +2 -0
- package/esm/types/BluetoothNetworkSubMinor.d.ts +7 -0
- package/esm/types/BluetoothNetworkSubMinor.d.ts.map +1 -0
- package/esm/types/BluetoothNetworkSubMinor.js +2 -0
- package/esm/types/BluetoothPeripheralMinor.d.ts +5 -0
- package/esm/types/BluetoothPeripheralMinor.d.ts.map +1 -0
- package/esm/types/BluetoothPeripheralMinor.js +2 -0
- package/esm/types/BluetoothPeripheralSubMinor.d.ts +7 -0
- package/esm/types/BluetoothPeripheralSubMinor.d.ts.map +1 -0
- package/esm/types/BluetoothPeripheralSubMinor.js +2 -0
- package/esm/types/BluetoothPhoneMinor.d.ts +7 -0
- package/esm/types/BluetoothPhoneMinor.d.ts.map +1 -0
- package/esm/types/BluetoothPhoneMinor.js +2 -0
- package/esm/types/BluetoothToolbarItem.d.ts +186 -0
- package/esm/types/BluetoothToolbarItem.d.ts.map +1 -0
- package/esm/types/BluetoothToolbarItem.js +1 -0
- package/esm/types/BluetoothToyMinor.d.ts +7 -0
- package/esm/types/BluetoothToyMinor.d.ts.map +1 -0
- package/esm/types/BluetoothToyMinor.js +2 -0
- package/esm/types/BluetoothWearableMinor.d.ts +7 -0
- package/esm/types/BluetoothWearableMinor.d.ts.map +1 -0
- package/esm/types/BluetoothWearableMinor.js +2 -0
- package/esm/types/Color.d.ts +10 -0
- package/esm/types/Color.d.ts.map +1 -0
- package/esm/types/Color.js +2 -0
- package/esm/types/FancyToolbarSettings.d.ts +13 -4
- package/esm/types/FancyToolbarSettings.d.ts.map +1 -1
- package/esm/types/FancyToolbarSide.d.ts +2 -0
- package/esm/types/FancyToolbarSide.d.ts.map +1 -0
- package/esm/types/FancyToolbarSide.js +2 -0
- package/esm/types/Icon.d.ts +19 -0
- package/esm/types/Icon.d.ts.map +1 -0
- package/esm/types/Icon.js +2 -0
- package/esm/types/IconPack.d.ts +15 -2
- package/esm/types/IconPack.d.ts.map +1 -1
- package/esm/types/KeyboardToolbarItem.d.ts +138 -0
- package/esm/types/KeyboardToolbarItem.d.ts.map +1 -0
- package/esm/types/KeyboardToolbarItem.js +1 -0
- package/esm/types/PinnedWegItemData.d.ts +7 -2
- package/esm/types/PinnedWegItemData.d.ts.map +1 -1
- package/esm/types/PowerToolbarItem.d.ts +44 -0
- package/esm/types/PowerToolbarItem.d.ts.map +1 -1
- package/esm/types/RelaunchArguments.d.ts +2 -0
- package/esm/types/RelaunchArguments.d.ts.map +1 -0
- package/esm/types/RelaunchArguments.js +2 -0
- package/esm/types/SeelenWegSettings.d.ts +4 -4
- package/esm/types/SeelenWegSettings.d.ts.map +1 -1
- package/esm/types/Toast.d.ts +10 -0
- package/esm/types/Toast.d.ts.map +1 -0
- package/esm/types/Toast.js +1 -0
- package/esm/types/ToastAction.d.ts +25 -0
- package/esm/types/ToastAction.d.ts.map +1 -0
- package/esm/types/ToastAction.js +1 -0
- package/esm/types/ToastActionActivationType.d.ts +2 -0
- package/esm/types/ToastActionActivationType.d.ts.map +1 -0
- package/esm/types/ToastActionActivationType.js +2 -0
- package/esm/types/ToastActionAfterActivationBehavior.d.ts +2 -0
- package/esm/types/ToastActionAfterActivationBehavior.d.ts.map +1 -0
- package/esm/types/ToastActionAfterActivationBehavior.js +2 -0
- package/esm/types/ToastActionButtonStyle.d.ts +2 -0
- package/esm/types/ToastActionButtonStyle.d.ts.map +1 -0
- package/esm/types/ToastActionButtonStyle.js +2 -0
- package/esm/types/ToastActionPlacement.d.ts +2 -0
- package/esm/types/ToastActionPlacement.d.ts.map +1 -0
- package/esm/types/ToastActionPlacement.js +2 -0
- package/esm/types/ToastActions.d.ts +5 -0
- package/esm/types/ToastActions.d.ts.map +1 -0
- package/esm/types/ToastActions.js +1 -0
- package/esm/types/ToastActionsEntry.d.ts +8 -0
- package/esm/types/ToastActionsEntry.d.ts.map +1 -0
- package/esm/types/ToastActionsEntry.js +1 -0
- package/esm/types/ToastBindingEntry.d.ts +14 -0
- package/esm/types/ToastBindingEntry.d.ts.map +1 -0
- package/esm/types/ToastBindingEntry.js +1 -0
- package/esm/types/ToastGroup.d.ts +5 -0
- package/esm/types/ToastGroup.d.ts.map +1 -0
- package/esm/types/ToastGroup.js +1 -0
- package/esm/types/ToastHeader.d.ts +8 -0
- package/esm/types/ToastHeader.d.ts.map +1 -0
- package/esm/types/ToastHeader.js +1 -0
- package/esm/types/ToastImage.d.ts +11 -0
- package/esm/types/ToastImage.d.ts.map +1 -0
- package/esm/types/ToastImage.js +1 -0
- package/esm/types/ToastImageCropType.d.ts +2 -0
- package/esm/types/ToastImageCropType.d.ts.map +1 -0
- package/esm/types/ToastImageCropType.js +2 -0
- package/esm/types/ToastImagePlacement.d.ts +2 -0
- package/esm/types/ToastImagePlacement.d.ts.map +1 -0
- package/esm/types/ToastImagePlacement.js +2 -0
- package/esm/types/ToastInput.d.ts +10 -0
- package/esm/types/ToastInput.d.ts.map +1 -0
- package/esm/types/ToastInput.js +1 -0
- package/esm/types/ToastInputSelection.d.ts +5 -0
- package/esm/types/ToastInputSelection.d.ts.map +1 -0
- package/esm/types/ToastInputSelection.js +2 -0
- package/esm/types/ToastInputType.d.ts +2 -0
- package/esm/types/ToastInputType.d.ts.map +1 -0
- package/esm/types/ToastInputType.js +2 -0
- package/esm/types/ToastProgress.d.ts +7 -0
- package/esm/types/ToastProgress.d.ts.map +1 -0
- package/esm/types/ToastProgress.js +2 -0
- package/esm/types/ToastSubGroup.d.ts +5 -0
- package/esm/types/ToastSubGroup.d.ts.map +1 -0
- package/esm/types/ToastSubGroup.js +1 -0
- package/esm/types/ToastSubGroupEntry.d.ts +8 -0
- package/esm/types/ToastSubGroupEntry.d.ts.map +1 -0
- package/esm/types/ToastSubGroupEntry.js +1 -0
- package/esm/types/ToastTemplateType.d.ts +2 -0
- package/esm/types/ToastTemplateType.d.ts.map +1 -0
- package/esm/types/ToastTemplateType.js +2 -0
- package/esm/types/ToastText.d.ts +5 -0
- package/esm/types/ToastText.d.ts.map +1 -0
- package/esm/types/ToastText.js +2 -0
- package/esm/types/ToastVisual.d.ts +5 -0
- package/esm/types/ToastVisual.d.ts.map +1 -0
- package/esm/types/ToastVisual.js +1 -0
- package/esm/types/ToolbarItem.d.ts +6 -0
- package/esm/types/ToolbarItem.d.ts.map +1 -1
- package/esm/types/UIColors.d.ts +16 -0
- package/esm/types/UIColors.d.ts.map +1 -0
- package/esm/types/UIColors.js +2 -0
- package/esm/types/mod.d.ts +185 -81
- package/esm/types/mod.d.ts.map +1 -1
- package/esm/types/mod.js +185 -81
- package/esm/utils/mod.d.ts +0 -2
- package/esm/utils/mod.d.ts.map +1 -1
- package/esm/utils/mod.js +0 -40
- package/package.json +2 -2
- package/script/deps/jsr.io/@std/encoding/1.0.8/_common64.d.ts +21 -0
- package/script/deps/jsr.io/@std/encoding/1.0.8/_common64.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/encoding/1.0.8/_common64.js +103 -0
- package/script/deps/jsr.io/@std/encoding/1.0.8/_common_detach.d.ts +4 -0
- package/script/deps/jsr.io/@std/encoding/1.0.8/_common_detach.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/encoding/1.0.8/_common_detach.js +16 -0
- package/{esm/deps/jsr.io/@std/encoding/1.0.7 → script/deps/jsr.io/@std/encoding/1.0.8}/_types.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/encoding/1.0.8/base64url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/encoding/1.0.8/base64url.js +76 -0
- package/script/handlers/commands.d.ts +19 -1
- package/script/handlers/commands.d.ts.map +1 -1
- package/script/handlers/commands.js +19 -1
- package/script/handlers/events.d.ts +6 -0
- package/script/handlers/events.d.ts.map +1 -1
- package/script/handlers/events.js +6 -0
- package/script/state/icon_pack.d.ts +28 -6
- package/script/state/icon_pack.d.ts.map +1 -1
- package/script/state/icon_pack.js +73 -10
- package/script/state/placeholder.d.ts +2 -0
- package/script/state/placeholder.d.ts.map +1 -1
- package/script/state/placeholder.js +2 -0
- package/script/state/settings/mod.d.ts +7 -3
- package/script/state/settings/mod.d.ts.map +1 -1
- package/script/state/settings/mod.js +6 -1
- package/script/state/widget.js +1 -1
- package/script/system_state/bluetooth.d.ts +76 -0
- package/script/system_state/bluetooth.d.ts.map +1 -0
- package/script/system_state/bluetooth.js +67 -0
- package/script/system_state/language.d.ts +4 -0
- package/script/system_state/language.d.ts.map +1 -1
- package/script/system_state/mod.d.ts +1 -0
- package/script/system_state/mod.d.ts.map +1 -1
- package/script/system_state/mod.js +1 -0
- package/script/system_state/ui_colors.d.ts +28 -13
- package/script/system_state/ui_colors.d.ts.map +1 -1
- package/script/system_state/ui_colors.js +78 -2
- package/script/types/AppNotification.d.ts +10 -0
- package/script/types/AppNotification.d.ts.map +1 -0
- package/script/types/AppNotification.js +2 -0
- package/script/types/BLEAppearance.d.ts +218 -0
- package/script/types/BLEAppearance.d.ts.map +1 -0
- package/script/types/BLEAppearance.js +2 -0
- package/script/types/BLEAppearanceAVEquipmentSubCategory.d.ts +4 -0
- package/script/types/BLEAppearanceAVEquipmentSubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearanceAVEquipmentSubCategory.js +3 -0
- package/script/types/BLEAppearanceAccessControlSubCategory.d.ts +4 -0
- package/script/types/BLEAppearanceAccessControlSubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearanceAccessControlSubCategory.js +3 -0
- package/script/types/BLEAppearanceAirConditioningSubCategory.d.ts +4 -0
- package/script/types/BLEAppearanceAirConditioningSubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearanceAirConditioningSubCategory.js +3 -0
- package/script/types/BLEAppearanceAircraftSubCategory.d.ts +4 -0
- package/script/types/BLEAppearanceAircraftSubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearanceAircraftSubCategory.js +3 -0
- package/script/types/BLEAppearanceAudioSinkSubCategory.d.ts +4 -0
- package/script/types/BLEAppearanceAudioSinkSubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearanceAudioSinkSubCategory.js +3 -0
- package/script/types/BLEAppearanceAudioSourceSubCategory.d.ts +4 -0
- package/script/types/BLEAppearanceAudioSourceSubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearanceAudioSourceSubCategory.js +3 -0
- package/script/types/BLEAppearanceBarcodeScannerSubCategory.d.ts +4 -0
- package/script/types/BLEAppearanceBarcodeScannerSubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearanceBarcodeScannerSubCategory.js +3 -0
- package/script/types/BLEAppearanceBloodPressureSubCategory.d.ts +4 -0
- package/script/types/BLEAppearanceBloodPressureSubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearanceBloodPressureSubCategory.js +3 -0
- package/script/types/BLEAppearanceClockSubCategory.d.ts +4 -0
- package/script/types/BLEAppearanceClockSubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearanceClockSubCategory.js +3 -0
- package/script/types/BLEAppearanceComputerSubCategory.d.ts +4 -0
- package/script/types/BLEAppearanceComputerSubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearanceComputerSubCategory.js +3 -0
- package/script/types/BLEAppearanceContinuousGlucoseMonitorSubCategory.d.ts +4 -0
- package/script/types/BLEAppearanceContinuousGlucoseMonitorSubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearanceContinuousGlucoseMonitorSubCategory.js +3 -0
- package/script/types/BLEAppearanceControlDeviceSubCategory.d.ts +4 -0
- package/script/types/BLEAppearanceControlDeviceSubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearanceControlDeviceSubCategory.js +3 -0
- package/script/types/BLEAppearanceCyclingSubCategory.d.ts +4 -0
- package/script/types/BLEAppearanceCyclingSubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearanceCyclingSubCategory.js +3 -0
- package/script/types/BLEAppearanceDisplayEquipmentSubCategory.d.ts +4 -0
- package/script/types/BLEAppearanceDisplayEquipmentSubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearanceDisplayEquipmentSubCategory.js +3 -0
- package/script/types/BLEAppearanceDisplaySubCategory.d.ts +4 -0
- package/script/types/BLEAppearanceDisplaySubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearanceDisplaySubCategory.js +3 -0
- package/script/types/BLEAppearanceDomesticApplianceSubCategory.d.ts +4 -0
- package/script/types/BLEAppearanceDomesticApplianceSubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearanceDomesticApplianceSubCategory.js +3 -0
- package/script/types/BLEAppearanceEyeglassesSubCategory.d.ts +4 -0
- package/script/types/BLEAppearanceEyeglassesSubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearanceEyeglassesSubCategory.js +3 -0
- package/script/types/BLEAppearanceFanSubCategory.d.ts +4 -0
- package/script/types/BLEAppearanceFanSubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearanceFanSubCategory.js +3 -0
- package/script/types/BLEAppearanceGamingSubCategory.d.ts +4 -0
- package/script/types/BLEAppearanceGamingSubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearanceGamingSubCategory.js +3 -0
- package/script/types/BLEAppearanceGlucoseMeterSubCategory.d.ts +4 -0
- package/script/types/BLEAppearanceGlucoseMeterSubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearanceGlucoseMeterSubCategory.js +3 -0
- package/script/types/BLEAppearanceHVACSubCategory.d.ts +4 -0
- package/script/types/BLEAppearanceHVACSubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearanceHVACSubCategory.js +3 -0
- package/script/types/BLEAppearanceHearingaidSubCategory.d.ts +4 -0
- package/script/types/BLEAppearanceHearingaidSubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearanceHearingaidSubCategory.js +3 -0
- package/script/types/BLEAppearanceHeartRateSensorSubCategory.d.ts +4 -0
- package/script/types/BLEAppearanceHeartRateSensorSubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearanceHeartRateSensorSubCategory.js +3 -0
- package/script/types/BLEAppearanceHeatingSubCategory.d.ts +4 -0
- package/script/types/BLEAppearanceHeatingSubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearanceHeatingSubCategory.js +3 -0
- package/script/types/BLEAppearanceHumanInterfaceDeviceSubCategory.d.ts +4 -0
- package/script/types/BLEAppearanceHumanInterfaceDeviceSubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearanceHumanInterfaceDeviceSubCategory.js +3 -0
- package/script/types/BLEAppearanceHumidifierSubCategory.d.ts +4 -0
- package/script/types/BLEAppearanceHumidifierSubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearanceHumidifierSubCategory.js +3 -0
- package/script/types/BLEAppearanceIndustrialMeasurementDeviceSubCategory.d.ts +4 -0
- package/script/types/BLEAppearanceIndustrialMeasurementDeviceSubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearanceIndustrialMeasurementDeviceSubCategory.js +3 -0
- package/script/types/BLEAppearanceIndustrialToolsSubCategory.d.ts +4 -0
- package/script/types/BLEAppearanceIndustrialToolsSubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearanceIndustrialToolsSubCategory.js +3 -0
- package/script/types/BLEAppearanceInsulinPumpSubCategory.d.ts +4 -0
- package/script/types/BLEAppearanceInsulinPumpSubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearanceInsulinPumpSubCategory.js +3 -0
- package/script/types/BLEAppearanceKeyringSubCategory.d.ts +4 -0
- package/script/types/BLEAppearanceKeyringSubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearanceKeyringSubCategory.js +3 -0
- package/script/types/BLEAppearanceLightFixturesSubCategory.d.ts +4 -0
- package/script/types/BLEAppearanceLightFixturesSubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearanceLightFixturesSubCategory.js +3 -0
- package/script/types/BLEAppearanceLightSourceSubCategory.d.ts +4 -0
- package/script/types/BLEAppearanceLightSourceSubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearanceLightSourceSubCategory.js +3 -0
- package/script/types/BLEAppearanceMediaPlayerSubCategory.d.ts +4 -0
- package/script/types/BLEAppearanceMediaPlayerSubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearanceMediaPlayerSubCategory.js +3 -0
- package/script/types/BLEAppearanceMedicationDeliverySubCategory.d.ts +4 -0
- package/script/types/BLEAppearanceMedicationDeliverySubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearanceMedicationDeliverySubCategory.js +3 -0
- package/script/types/BLEAppearanceMotorizedDeviceSubCategory.d.ts +4 -0
- package/script/types/BLEAppearanceMotorizedDeviceSubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearanceMotorizedDeviceSubCategory.js +3 -0
- package/script/types/BLEAppearanceMotorizedVehicleSubCategory.d.ts +4 -0
- package/script/types/BLEAppearanceMotorizedVehicleSubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearanceMotorizedVehicleSubCategory.js +3 -0
- package/script/types/BLEAppearanceNetworkDeviceSubCategory.d.ts +4 -0
- package/script/types/BLEAppearanceNetworkDeviceSubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearanceNetworkDeviceSubCategory.js +3 -0
- package/script/types/BLEAppearanceOutdoorSportsActivitySubCategory.d.ts +4 -0
- package/script/types/BLEAppearanceOutdoorSportsActivitySubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearanceOutdoorSportsActivitySubCategory.js +3 -0
- package/script/types/BLEAppearancePersonalMobilityDeviceSubCategory.d.ts +4 -0
- package/script/types/BLEAppearancePersonalMobilityDeviceSubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearancePersonalMobilityDeviceSubCategory.js +3 -0
- package/script/types/BLEAppearancePhoneSubCategory.d.ts +4 -0
- package/script/types/BLEAppearancePhoneSubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearancePhoneSubCategory.js +3 -0
- package/script/types/BLEAppearancePowerDeviceSubCategory.d.ts +4 -0
- package/script/types/BLEAppearancePowerDeviceSubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearancePowerDeviceSubCategory.js +3 -0
- package/script/types/BLEAppearancePulseOximeterSubCategory.d.ts +4 -0
- package/script/types/BLEAppearancePulseOximeterSubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearancePulseOximeterSubCategory.js +3 -0
- package/script/types/BLEAppearanceRemoteControlSubCategory.d.ts +4 -0
- package/script/types/BLEAppearanceRemoteControlSubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearanceRemoteControlSubCategory.js +3 -0
- package/script/types/BLEAppearanceRunningWalkingSensorSubCategory.d.ts +4 -0
- package/script/types/BLEAppearanceRunningWalkingSensorSubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearanceRunningWalkingSensorSubCategory.js +3 -0
- package/script/types/BLEAppearanceSensorSubCategory.d.ts +4 -0
- package/script/types/BLEAppearanceSensorSubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearanceSensorSubCategory.js +3 -0
- package/script/types/BLEAppearanceSignageSubCategory.d.ts +4 -0
- package/script/types/BLEAppearanceSignageSubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearanceSignageSubCategory.js +3 -0
- package/script/types/BLEAppearanceSpirometerSubCategory.d.ts +4 -0
- package/script/types/BLEAppearanceSpirometerSubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearanceSpirometerSubCategory.js +3 -0
- package/script/types/BLEAppearanceTagSubCategory.d.ts +4 -0
- package/script/types/BLEAppearanceTagSubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearanceTagSubCategory.js +3 -0
- package/script/types/BLEAppearanceThermometerSubCategory.d.ts +4 -0
- package/script/types/BLEAppearanceThermometerSubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearanceThermometerSubCategory.js +3 -0
- package/script/types/BLEAppearanceUnknownSubCategory.d.ts +4 -0
- package/script/types/BLEAppearanceUnknownSubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearanceUnknownSubCategory.js +3 -0
- package/script/types/BLEAppearanceWatchSubCategory.d.ts +4 -0
- package/script/types/BLEAppearanceWatchSubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearanceWatchSubCategory.js +3 -0
- package/script/types/BLEAppearanceWearableAudioDeviceSubCategory.d.ts +4 -0
- package/script/types/BLEAppearanceWearableAudioDeviceSubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearanceWearableAudioDeviceSubCategory.js +3 -0
- package/script/types/BLEAppearanceWeightScaleSubCategory.d.ts +4 -0
- package/script/types/BLEAppearanceWeightScaleSubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearanceWeightScaleSubCategory.js +3 -0
- package/script/types/BLEAppearanceWindowCoveringSubCategory.d.ts +4 -0
- package/script/types/BLEAppearanceWindowCoveringSubCategory.d.ts.map +1 -0
- package/script/types/BLEAppearanceWindowCoveringSubCategory.js +3 -0
- package/script/types/Binding.d.ts +7 -0
- package/script/types/Binding.d.ts.map +1 -0
- package/script/types/Binding.js +2 -0
- package/script/types/BluetoothAudioVideoMinor.d.ts +7 -0
- package/script/types/BluetoothAudioVideoMinor.d.ts.map +1 -0
- package/script/types/BluetoothAudioVideoMinor.js +3 -0
- package/script/types/BluetoothComputerMinor.d.ts +7 -0
- package/script/types/BluetoothComputerMinor.d.ts.map +1 -0
- package/script/types/BluetoothComputerMinor.js +3 -0
- package/script/types/BluetoothDevice.d.ts +21 -0
- package/script/types/BluetoothDevice.d.ts.map +1 -0
- package/script/types/BluetoothDevice.js +2 -0
- package/script/types/BluetoothDevicePairShowPinRequest.d.ts +5 -0
- package/script/types/BluetoothDevicePairShowPinRequest.d.ts.map +1 -0
- package/script/types/BluetoothDevicePairShowPinRequest.js +3 -0
- package/script/types/BluetoothHealthMinor.d.ts +7 -0
- package/script/types/BluetoothHealthMinor.d.ts.map +1 -0
- package/script/types/BluetoothHealthMinor.js +3 -0
- package/script/types/BluetoothImagingMinor.d.ts +5 -0
- package/script/types/BluetoothImagingMinor.d.ts.map +1 -0
- package/script/types/BluetoothImagingMinor.js +3 -0
- package/script/types/BluetoothImagingSubMinor.d.ts +7 -0
- package/script/types/BluetoothImagingSubMinor.d.ts.map +1 -0
- package/script/types/BluetoothImagingSubMinor.js +3 -0
- package/script/types/BluetoothMajorClass.d.ts +5 -0
- package/script/types/BluetoothMajorClass.d.ts.map +1 -0
- package/script/types/BluetoothMajorClass.js +3 -0
- package/script/types/BluetoothMajorServiceClass.d.ts +2 -0
- package/script/types/BluetoothMajorServiceClass.d.ts.map +1 -0
- package/script/types/BluetoothMajorServiceClass.js +3 -0
- package/script/types/BluetoothMinorClass.d.ts +40 -0
- package/script/types/BluetoothMinorClass.d.ts.map +1 -0
- package/script/types/BluetoothMinorClass.js +2 -0
- package/script/types/BluetoothNetworkMinor.d.ts +5 -0
- package/script/types/BluetoothNetworkMinor.d.ts.map +1 -0
- package/script/types/BluetoothNetworkMinor.js +3 -0
- package/script/types/BluetoothNetworkSubMinor.d.ts +7 -0
- package/script/types/BluetoothNetworkSubMinor.d.ts.map +1 -0
- package/script/types/BluetoothNetworkSubMinor.js +3 -0
- package/script/types/BluetoothPeripheralMinor.d.ts +5 -0
- package/script/types/BluetoothPeripheralMinor.d.ts.map +1 -0
- package/script/types/BluetoothPeripheralMinor.js +3 -0
- package/script/types/BluetoothPeripheralSubMinor.d.ts +7 -0
- package/script/types/BluetoothPeripheralSubMinor.d.ts.map +1 -0
- package/script/types/BluetoothPeripheralSubMinor.js +3 -0
- package/script/types/BluetoothPhoneMinor.d.ts +7 -0
- package/script/types/BluetoothPhoneMinor.d.ts.map +1 -0
- package/script/types/BluetoothPhoneMinor.js +3 -0
- package/script/types/BluetoothToolbarItem.d.ts +186 -0
- package/script/types/BluetoothToolbarItem.d.ts.map +1 -0
- package/script/types/BluetoothToolbarItem.js +2 -0
- package/script/types/BluetoothToyMinor.d.ts +7 -0
- package/script/types/BluetoothToyMinor.d.ts.map +1 -0
- package/script/types/BluetoothToyMinor.js +3 -0
- package/script/types/BluetoothWearableMinor.d.ts +7 -0
- package/script/types/BluetoothWearableMinor.d.ts.map +1 -0
- package/script/types/BluetoothWearableMinor.js +3 -0
- package/script/types/Color.d.ts +10 -0
- package/script/types/Color.d.ts.map +1 -0
- package/script/types/Color.js +3 -0
- package/script/types/FancyToolbarSettings.d.ts +13 -4
- package/script/types/FancyToolbarSettings.d.ts.map +1 -1
- package/script/types/FancyToolbarSide.d.ts +2 -0
- package/script/types/FancyToolbarSide.d.ts.map +1 -0
- package/script/types/FancyToolbarSide.js +3 -0
- package/script/types/Icon.d.ts +19 -0
- package/script/types/Icon.d.ts.map +1 -0
- package/script/types/Icon.js +3 -0
- package/script/types/IconPack.d.ts +15 -2
- package/script/types/IconPack.d.ts.map +1 -1
- package/script/types/KeyboardToolbarItem.d.ts +138 -0
- package/script/types/KeyboardToolbarItem.d.ts.map +1 -0
- package/script/types/KeyboardToolbarItem.js +2 -0
- package/script/types/PinnedWegItemData.d.ts +7 -2
- package/script/types/PinnedWegItemData.d.ts.map +1 -1
- package/script/types/PowerToolbarItem.d.ts +44 -0
- package/script/types/PowerToolbarItem.d.ts.map +1 -1
- package/script/types/RelaunchArguments.d.ts +2 -0
- package/script/types/RelaunchArguments.d.ts.map +1 -0
- package/script/types/RelaunchArguments.js +3 -0
- package/script/types/SeelenWegSettings.d.ts +4 -4
- package/script/types/SeelenWegSettings.d.ts.map +1 -1
- package/script/types/Toast.d.ts +10 -0
- package/script/types/Toast.d.ts.map +1 -0
- package/script/types/Toast.js +2 -0
- package/script/types/ToastAction.d.ts +25 -0
- package/script/types/ToastAction.d.ts.map +1 -0
- package/script/types/ToastAction.js +2 -0
- package/script/types/ToastActionActivationType.d.ts +2 -0
- package/script/types/ToastActionActivationType.d.ts.map +1 -0
- package/script/types/ToastActionActivationType.js +3 -0
- package/script/types/ToastActionAfterActivationBehavior.d.ts +2 -0
- package/script/types/ToastActionAfterActivationBehavior.d.ts.map +1 -0
- package/script/types/ToastActionAfterActivationBehavior.js +3 -0
- package/script/types/ToastActionButtonStyle.d.ts +2 -0
- package/script/types/ToastActionButtonStyle.d.ts.map +1 -0
- package/script/types/ToastActionButtonStyle.js +3 -0
- package/script/types/ToastActionPlacement.d.ts +2 -0
- package/script/types/ToastActionPlacement.d.ts.map +1 -0
- package/script/types/ToastActionPlacement.js +3 -0
- package/script/types/ToastActions.d.ts +5 -0
- package/script/types/ToastActions.d.ts.map +1 -0
- package/script/types/ToastActions.js +2 -0
- package/script/types/ToastActionsEntry.d.ts +8 -0
- package/script/types/ToastActionsEntry.d.ts.map +1 -0
- package/script/types/ToastActionsEntry.js +2 -0
- package/script/types/ToastBindingEntry.d.ts +14 -0
- package/script/types/ToastBindingEntry.d.ts.map +1 -0
- package/script/types/ToastBindingEntry.js +2 -0
- package/script/types/ToastGroup.d.ts +5 -0
- package/script/types/ToastGroup.d.ts.map +1 -0
- package/script/types/ToastGroup.js +2 -0
- package/script/types/ToastHeader.d.ts +8 -0
- package/script/types/ToastHeader.d.ts.map +1 -0
- package/script/types/ToastHeader.js +2 -0
- package/script/types/ToastImage.d.ts +11 -0
- package/script/types/ToastImage.d.ts.map +1 -0
- package/script/types/ToastImage.js +2 -0
- package/script/types/ToastImageCropType.d.ts +2 -0
- package/script/types/ToastImageCropType.d.ts.map +1 -0
- package/script/types/ToastImageCropType.js +3 -0
- package/script/types/ToastImagePlacement.d.ts +2 -0
- package/script/types/ToastImagePlacement.d.ts.map +1 -0
- package/script/types/ToastImagePlacement.js +3 -0
- package/script/types/ToastInput.d.ts +10 -0
- package/script/types/ToastInput.d.ts.map +1 -0
- package/script/types/ToastInput.js +2 -0
- package/script/types/ToastInputSelection.d.ts +5 -0
- package/script/types/ToastInputSelection.d.ts.map +1 -0
- package/script/types/ToastInputSelection.js +3 -0
- package/script/types/ToastInputType.d.ts +2 -0
- package/script/types/ToastInputType.d.ts.map +1 -0
- package/script/types/ToastInputType.js +3 -0
- package/script/types/ToastProgress.d.ts +7 -0
- package/script/types/ToastProgress.d.ts.map +1 -0
- package/script/types/ToastProgress.js +3 -0
- package/script/types/ToastSubGroup.d.ts +5 -0
- package/script/types/ToastSubGroup.d.ts.map +1 -0
- package/script/types/ToastSubGroup.js +2 -0
- package/script/types/ToastSubGroupEntry.d.ts +8 -0
- package/script/types/ToastSubGroupEntry.d.ts.map +1 -0
- package/script/types/ToastSubGroupEntry.js +2 -0
- package/script/types/ToastTemplateType.d.ts +2 -0
- package/script/types/ToastTemplateType.d.ts.map +1 -0
- package/script/types/ToastTemplateType.js +3 -0
- package/script/types/ToastText.d.ts +5 -0
- package/script/types/ToastText.d.ts.map +1 -0
- package/script/types/ToastText.js +3 -0
- package/script/types/ToastVisual.d.ts +5 -0
- package/script/types/ToastVisual.d.ts.map +1 -0
- package/script/types/ToastVisual.js +2 -0
- package/script/types/ToolbarItem.d.ts +6 -0
- package/script/types/ToolbarItem.d.ts.map +1 -1
- package/script/types/UIColors.d.ts +16 -0
- package/script/types/UIColors.d.ts.map +1 -0
- package/script/types/UIColors.js +3 -0
- package/script/types/mod.d.ts +185 -81
- package/script/types/mod.d.ts.map +1 -1
- package/script/types/mod.js +185 -81
- package/script/utils/mod.d.ts +0 -2
- package/script/utils/mod.d.ts.map +1 -1
- package/script/utils/mod.js +0 -55
- package/esm/deps/jsr.io/@std/encoding/1.0.7/_validate_binary_like.d.ts +0 -2
- package/esm/deps/jsr.io/@std/encoding/1.0.7/_validate_binary_like.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/encoding/1.0.7/_validate_binary_like.js +0 -26
- package/esm/deps/jsr.io/@std/encoding/1.0.7/base64.d.ts +0 -40
- package/esm/deps/jsr.io/@std/encoding/1.0.7/base64.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/encoding/1.0.7/base64.js +0 -163
- package/esm/deps/jsr.io/@std/encoding/1.0.7/base64url.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/encoding/1.0.7/base64url.js +0 -81
- package/esm/utils/layered_hitbox.d.ts +0 -2
- package/esm/utils/layered_hitbox.d.ts.map +0 -1
- package/esm/utils/layered_hitbox.js +0 -55
- package/script/deps/jsr.io/@std/encoding/1.0.7/_validate_binary_like.d.ts +0 -2
- package/script/deps/jsr.io/@std/encoding/1.0.7/_validate_binary_like.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/encoding/1.0.7/_validate_binary_like.js +0 -29
- package/script/deps/jsr.io/@std/encoding/1.0.7/base64.d.ts +0 -40
- package/script/deps/jsr.io/@std/encoding/1.0.7/base64.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/encoding/1.0.7/base64.js +0 -167
- package/script/deps/jsr.io/@std/encoding/1.0.7/base64url.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/encoding/1.0.7/base64url.js +0 -108
- package/script/utils/layered_hitbox.d.ts +0 -2
- package/script/utils/layered_hitbox.d.ts.map +0 -1
- package/script/utils/layered_hitbox.js +0 -58
- /package/esm/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.8}/_types.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.8}/_types.js +0 -0
- /package/esm/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.8}/base64url.d.ts +0 -0
- /package/script/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.8}/_types.d.ts +0 -0
- /package/script/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.8}/_types.js +0 -0
- /package/script/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.8}/base64url.d.ts +0 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { Uint8Array_ } from "./_types.js";
|
|
2
|
+
export type { Uint8Array_ };
|
|
3
|
+
/**
|
|
4
|
+
* Calculate the output size needed to encode a given input size for
|
|
5
|
+
* {@linkcode encodeRawBase64}.
|
|
6
|
+
*
|
|
7
|
+
* @param originalSize The size of the input buffer.
|
|
8
|
+
* @returns The size of the output buffer.
|
|
9
|
+
*
|
|
10
|
+
* @example Basic Usage
|
|
11
|
+
* ```ts
|
|
12
|
+
* import { assertEquals } from "@std/assert";
|
|
13
|
+
* import { calcMax } from "@std/encoding/unstable-base64";
|
|
14
|
+
*
|
|
15
|
+
* assertEquals(calcMax(1), 4);
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export declare function calcMax(originalSize: number): number;
|
|
19
|
+
export declare function encode(buffer: Uint8Array_, i: number, o: number, alphabet: Uint8Array, padding: number): number;
|
|
20
|
+
export declare function decode(buffer: Uint8Array_, i: number, o: number, alphabet: Uint8Array, padding: number): number;
|
|
21
|
+
//# sourceMappingURL=_common64.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_common64.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/encoding/1.0.8/_common64.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC/C,YAAY,EAAE,WAAW,EAAE,CAAC;AAE5B;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,OAAO,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM,CAEpD;AAED,wBAAgB,MAAM,CACpB,MAAM,EAAE,WAAW,EACnB,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,QAAQ,EAAE,UAAU,EACpB,OAAO,EAAE,MAAM,GACd,MAAM,CA4BR;AAED,wBAAgB,MAAM,CACpB,MAAM,EAAE,WAAW,EACnB,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,QAAQ,EAAE,UAAU,EACpB,OAAO,EAAE,MAAM,GACd,MAAM,CAmDR"}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
|
+
/**
|
|
3
|
+
* Calculate the output size needed to encode a given input size for
|
|
4
|
+
* {@linkcode encodeRawBase64}.
|
|
5
|
+
*
|
|
6
|
+
* @param originalSize The size of the input buffer.
|
|
7
|
+
* @returns The size of the output buffer.
|
|
8
|
+
*
|
|
9
|
+
* @example Basic Usage
|
|
10
|
+
* ```ts
|
|
11
|
+
* import { assertEquals } from "@std/assert";
|
|
12
|
+
* import { calcMax } from "@std/encoding/unstable-base64";
|
|
13
|
+
*
|
|
14
|
+
* assertEquals(calcMax(1), 4);
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export function calcMax(originalSize) {
|
|
18
|
+
return ((originalSize + 2) / 3 | 0) * 4;
|
|
19
|
+
}
|
|
20
|
+
export function encode(buffer, i, o, alphabet, padding) {
|
|
21
|
+
i += 2;
|
|
22
|
+
for (; i < buffer.length; i += 3) {
|
|
23
|
+
const x = (buffer[i - 2] << 16) | (buffer[i - 1] << 8) | buffer[i];
|
|
24
|
+
buffer[o++] = alphabet[x >> 18];
|
|
25
|
+
buffer[o++] = alphabet[x >> 12 & 0x3F];
|
|
26
|
+
buffer[o++] = alphabet[x >> 6 & 0x3F];
|
|
27
|
+
buffer[o++] = alphabet[x & 0x3F];
|
|
28
|
+
}
|
|
29
|
+
switch (i) {
|
|
30
|
+
case buffer.length + 1: {
|
|
31
|
+
const x = buffer[i - 2] << 16;
|
|
32
|
+
buffer[o++] = alphabet[x >> 18];
|
|
33
|
+
buffer[o++] = alphabet[x >> 12 & 0x3F];
|
|
34
|
+
buffer[o++] = padding;
|
|
35
|
+
buffer[o++] = padding;
|
|
36
|
+
break;
|
|
37
|
+
}
|
|
38
|
+
case buffer.length: {
|
|
39
|
+
const x = (buffer[i - 2] << 16) | (buffer[i - 1] << 8);
|
|
40
|
+
buffer[o++] = alphabet[x >> 18];
|
|
41
|
+
buffer[o++] = alphabet[x >> 12 & 0x3F];
|
|
42
|
+
buffer[o++] = alphabet[x >> 6 & 0x3F];
|
|
43
|
+
buffer[o++] = padding;
|
|
44
|
+
break;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return o;
|
|
48
|
+
}
|
|
49
|
+
export function decode(buffer, i, o, alphabet, padding) {
|
|
50
|
+
for (let x = buffer.length - 2; x < buffer.length; ++x) {
|
|
51
|
+
if (buffer[x] === padding) {
|
|
52
|
+
for (let y = x + 1; y < buffer.length; ++y) {
|
|
53
|
+
if (buffer[y] !== padding) {
|
|
54
|
+
throw new TypeError(`Cannot decode input as base64: Invalid character (${String.fromCharCode(buffer[y])})`);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
buffer = buffer.subarray(0, x);
|
|
58
|
+
break;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
if ((buffer.length - o) % 4 === 1) {
|
|
62
|
+
throw new RangeError(`Cannot decode input as base64: Length (${buffer.length - o}), excluding padding, must not have a remainder of 1 when divided by 4`);
|
|
63
|
+
}
|
|
64
|
+
i += 3;
|
|
65
|
+
for (; i < buffer.length; i += 4) {
|
|
66
|
+
const x = (getByte(buffer[i - 3], alphabet) << 18) |
|
|
67
|
+
(getByte(buffer[i - 2], alphabet) << 12) |
|
|
68
|
+
(getByte(buffer[i - 1], alphabet) << 6) |
|
|
69
|
+
getByte(buffer[i], alphabet);
|
|
70
|
+
buffer[o++] = x >> 16;
|
|
71
|
+
buffer[o++] = x >> 8 & 0xFF;
|
|
72
|
+
buffer[o++] = x & 0xFF;
|
|
73
|
+
}
|
|
74
|
+
switch (i) {
|
|
75
|
+
case buffer.length + 1: {
|
|
76
|
+
const x = (getByte(buffer[i - 3], alphabet) << 18) |
|
|
77
|
+
(getByte(buffer[i - 2], alphabet) << 12);
|
|
78
|
+
buffer[o++] = x >> 16;
|
|
79
|
+
break;
|
|
80
|
+
}
|
|
81
|
+
case buffer.length: {
|
|
82
|
+
const x = (getByte(buffer[i - 3], alphabet) << 18) |
|
|
83
|
+
(getByte(buffer[i - 2], alphabet) << 12) |
|
|
84
|
+
(getByte(buffer[i - 1], alphabet) << 6);
|
|
85
|
+
buffer[o++] = x >> 16;
|
|
86
|
+
buffer[o++] = x >> 8 & 0xFF;
|
|
87
|
+
break;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
return o;
|
|
91
|
+
}
|
|
92
|
+
function getByte(char, alphabet) {
|
|
93
|
+
const byte = alphabet[char] ?? 64;
|
|
94
|
+
if (byte === 64) { // alphabet.Base64.length
|
|
95
|
+
throw new TypeError(`Cannot decode input as base64: Invalid character (${String.fromCharCode(char)})`);
|
|
96
|
+
}
|
|
97
|
+
return byte;
|
|
98
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_common_detach.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/encoding/1.0.8/_common_detach.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC/C,YAAY,EAAE,WAAW,EAAE,CAAC;AAE5B,wBAAgB,MAAM,CACpB,MAAM,EAAE,WAAW,EACnB,OAAO,EAAE,MAAM,GACd,CAAC,WAAW,EAAE,MAAM,CAAC,CAWvB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
|
+
export function detach(buffer, maxSize) {
|
|
3
|
+
const originalSize = buffer.length;
|
|
4
|
+
if (buffer.byteOffset) {
|
|
5
|
+
const b = new Uint8Array(buffer.buffer);
|
|
6
|
+
b.set(buffer);
|
|
7
|
+
buffer = b.subarray(0, originalSize);
|
|
8
|
+
}
|
|
9
|
+
// deno-lint-ignore no-explicit-any
|
|
10
|
+
buffer = new Uint8Array(buffer.buffer.transfer(maxSize));
|
|
11
|
+
buffer.set(buffer.subarray(0, originalSize), maxSize - originalSize);
|
|
12
|
+
return [buffer, maxSize - originalSize];
|
|
13
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_types.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/encoding/1.0.
|
|
1
|
+
{"version":3,"file":"_types.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/encoding/1.0.8/_types.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AAEH,MAAM,MAAM,WAAW,GAAG,UAAU,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base64url.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/encoding/1.0.8/base64url.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC/C,YAAY,EAAE,WAAW,EAAE,CAAC;AAQ5B;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,WAAW,GAAG,UAAU,GAAG,MAAM,GACtC,MAAM,CAeR;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,eAAe,CAAC,MAAM,EAAE,MAAM,GAAG,WAAW,CAK3D"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
|
+
// This module is browser compatible.
|
|
3
|
+
/**
|
|
4
|
+
* Utilities for
|
|
5
|
+
* {@link https://www.rfc-editor.org/rfc/rfc4648.html#section-5 | base64url}
|
|
6
|
+
* encoding and decoding.
|
|
7
|
+
*
|
|
8
|
+
* @module
|
|
9
|
+
*/
|
|
10
|
+
import { calcMax, decode, encode } from "./_common64.js";
|
|
11
|
+
import { detach } from "./_common_detach.js";
|
|
12
|
+
const padding = "=".charCodeAt(0);
|
|
13
|
+
const alphabet = new TextEncoder()
|
|
14
|
+
.encode("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_");
|
|
15
|
+
const rAlphabet = new Uint8Array(128).fill(64); // alphabet.length
|
|
16
|
+
alphabet.forEach((byte, i) => rAlphabet[byte] = i);
|
|
17
|
+
/**
|
|
18
|
+
* Convert data into a base64url-encoded string.
|
|
19
|
+
*
|
|
20
|
+
* @see {@link https://www.rfc-editor.org/rfc/rfc4648.html#section-5}
|
|
21
|
+
*
|
|
22
|
+
* @param data The data to encode.
|
|
23
|
+
* @returns The base64url-encoded string.
|
|
24
|
+
*
|
|
25
|
+
* @example Usage
|
|
26
|
+
* ```ts
|
|
27
|
+
* import { encodeBase64Url } from "@std/encoding/base64url";
|
|
28
|
+
* import { assertEquals } from "@std/assert";
|
|
29
|
+
*
|
|
30
|
+
* assertEquals(encodeBase64Url("foobar"), "Zm9vYmFy");
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
export function encodeBase64Url(data) {
|
|
34
|
+
if (typeof data === "string") {
|
|
35
|
+
data = new TextEncoder().encode(data);
|
|
36
|
+
}
|
|
37
|
+
else if (data instanceof ArrayBuffer)
|
|
38
|
+
data = new Uint8Array(data).slice();
|
|
39
|
+
else
|
|
40
|
+
data = data.slice();
|
|
41
|
+
const [output, i] = detach(data, calcMax(data.length));
|
|
42
|
+
let o = encode(output, i, 0, alphabet, padding);
|
|
43
|
+
o = output.indexOf(padding, o - 2);
|
|
44
|
+
return new TextDecoder().decode(
|
|
45
|
+
// deno-lint-ignore no-explicit-any
|
|
46
|
+
o > 0 ? new Uint8Array(output.buffer.transfer(o)) : output);
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Decodes a given base64url-encoded string.
|
|
50
|
+
*
|
|
51
|
+
* @see {@link https://www.rfc-editor.org/rfc/rfc4648.html#section-5}
|
|
52
|
+
*
|
|
53
|
+
* @param b64url The base64url-encoded string to decode.
|
|
54
|
+
* @returns The decoded data.
|
|
55
|
+
*
|
|
56
|
+
* @example Usage
|
|
57
|
+
* ```ts
|
|
58
|
+
* import { decodeBase64Url } from "@std/encoding/base64url";
|
|
59
|
+
* import { assertEquals } from "@std/assert";
|
|
60
|
+
*
|
|
61
|
+
* assertEquals(
|
|
62
|
+
* decodeBase64Url("Zm9vYmFy"),
|
|
63
|
+
* new TextEncoder().encode("foobar")
|
|
64
|
+
* );
|
|
65
|
+
* ```
|
|
66
|
+
*/
|
|
67
|
+
export function decodeBase64Url(b64url) {
|
|
68
|
+
const output = new TextEncoder().encode(b64url);
|
|
69
|
+
// deno-lint-ignore no-explicit-any
|
|
70
|
+
return new Uint8Array(output.buffer
|
|
71
|
+
.transfer(decode(output, 0, 0, rAlphabet, padding)));
|
|
72
|
+
}
|
|
@@ -13,10 +13,13 @@ export declare enum SeelenCommand {
|
|
|
13
13
|
GetIcon = "get_icon",
|
|
14
14
|
SimulateFullscreen = "simulate_fullscreen",
|
|
15
15
|
CheckForUpdates = "check_for_updates",
|
|
16
|
+
ShowDesktop = "show_desktop",
|
|
16
17
|
InstallLastAvailableUpdate = "install_last_available_update",
|
|
18
|
+
SystemGetForegroundWindowColor = "get_foreground_window_color",
|
|
17
19
|
SystemGetMonitors = "get_connected_monitors",
|
|
18
20
|
SystemGetColors = "get_system_colors",
|
|
19
21
|
SystemGetLanguages = "get_system_languages",
|
|
22
|
+
SystemSetKeyboardLayout = "set_system_keyboard_layout",
|
|
20
23
|
SetAutoStart = "set_auto_start",
|
|
21
24
|
GetAutoStartStatus = "get_auto_start_status",
|
|
22
25
|
StateGetThemes = "state_get_themes",
|
|
@@ -39,6 +42,16 @@ export declare enum SeelenCommand {
|
|
|
39
42
|
GetUser = "get_user",
|
|
40
43
|
GetUserFolderContent = "get_user_folder_content",
|
|
41
44
|
SetUserFolderLimit = "set_user_folder_limit",
|
|
45
|
+
GetConnectedBluetoothDevices = "get_connected_bluetooth_devices",
|
|
46
|
+
GetBluetoothRadioState = "get_bluetooth_radio_state",
|
|
47
|
+
SetBluetoothRadioState = "set_bluetooth_radio_state",
|
|
48
|
+
StartBluetoothScanning = "start_bluetooth_scanning",
|
|
49
|
+
StopBluetoothScanning = "stop_bluetooth_scanning",
|
|
50
|
+
PairBluetoothDevice = "pair_bluetooth_device",
|
|
51
|
+
ForgetBluetoothDevice = "forget_bluetooth_device",
|
|
52
|
+
ConfirmBluetoothDevicePair = "confirm_bluetooth_device_pair",
|
|
53
|
+
GetMediaDevices = "get_media_devices",
|
|
54
|
+
GetMediaSessions = "get_media_sessions",
|
|
42
55
|
MediaPrev = "media_prev",
|
|
43
56
|
MediaTogglePlayPause = "media_toggle_play_pause",
|
|
44
57
|
MediaNext = "media_next",
|
|
@@ -47,8 +60,12 @@ export declare enum SeelenCommand {
|
|
|
47
60
|
MediaSetDefaultDevice = "media_set_default_device",
|
|
48
61
|
GetMainMonitorBrightness = "get_main_monitor_brightness",
|
|
49
62
|
SetMainMonitorBrightness = "set_main_monitor_brightness",
|
|
63
|
+
GetPowerStatus = "get_power_status",
|
|
64
|
+
GetPowerMode = "get_power_mode",
|
|
65
|
+
GetBatteries = "get_batteries",
|
|
50
66
|
LogOut = "log_out",
|
|
51
67
|
Suspend = "suspend",
|
|
68
|
+
Hibernate = "hibernate",
|
|
52
69
|
Restart = "restart",
|
|
53
70
|
Shutdown = "shutdown",
|
|
54
71
|
Lock = "lock",
|
|
@@ -61,7 +78,7 @@ export declare enum SeelenCommand {
|
|
|
61
78
|
SetWindowPosition = "set_window_position",
|
|
62
79
|
RequestFocus = "request_focus",
|
|
63
80
|
LauncherGetApps = "launcher_get_apps",
|
|
64
|
-
|
|
81
|
+
GetTrayIcons = "get_tray_icons",
|
|
65
82
|
OnClickTrayIcon = "on_click_tray_icon",
|
|
66
83
|
OnContextMenuTrayIcon = "on_context_menu_tray_icon",
|
|
67
84
|
WlanGetProfiles = "wlan_get_profiles",
|
|
@@ -69,6 +86,7 @@ export declare enum SeelenCommand {
|
|
|
69
86
|
WlanStopScanning = "wlan_stop_scanning",
|
|
70
87
|
WlanConnect = "wlan_connect",
|
|
71
88
|
WlanDisconnect = "wlan_disconnect",
|
|
89
|
+
GetNotifications = "get_notifications",
|
|
72
90
|
NotificationsClose = "notifications_close",
|
|
73
91
|
NotificationsCloseAll = "notifications_close_all"
|
|
74
92
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../../src/handlers/commands.ts"],"names":[],"mappings":"AACA,oBAAY,aAAa;IACvB,GAAG,QAAQ;IACX,SAAS,gBAAgB;IACzB,aAAa,oBAAoB;IACjC,QAAQ,cAAc;IACtB,UAAU,iBAAiB;IAC3B,oBAAoB,4BAA4B;IAChD,yBAAyB,iCAAiC;IAC1D,WAAW,kBAAkB;IAC7B,eAAe,sBAAsB;IACrC,eAAe,qBAAqB;IACpC,QAAQ,cAAc;IACtB,OAAO,aAAa;IACpB,kBAAkB,wBAAwB;IAC1C,eAAe,sBAAsB;IACrC,0BAA0B,kCAAkC;IAC5D,iBAAiB,2BAA2B;IAC5C,eAAe,sBAAsB;IACrC,kBAAkB,yBAAyB;IAC3C,YAAY,mBAAmB;IAC/B,kBAAkB,0BAA0B;IAC5C,cAAc,qBAAqB;IACnC,gBAAgB,wBAAwB;IACxC,kBAAkB,0BAA0B;IAC5C,oBAAoB,4BAA4B;IAChD,gBAAgB,uBAAuB;IACvC,kBAAkB,yBAAyB;IAC3C,uBAAuB,+BAA+B;IACtD,8BAA8B,uCAAuC;IACrE,kCAAkC,2CAA2C;IAC7E,iBAAiB,wBAAwB;IACzC,iBAAiB,wBAAwB;IACzC,eAAe,sBAAsB;IACrC,eAAe,sBAAsB;IACrC,eAAe,sBAAsB;IACrC,iBAAiB,yBAAyB;IAC1C,gBAAgB,uBAAuB;IACvC,sBAAsB,8BAA8B;IACpD,OAAO,aAAa;IACpB,oBAAoB,4BAA4B;IAChD,kBAAkB,0BAA0B;IAC5C,SAAS,eAAe;IACxB,oBAAoB,4BAA4B;IAChD,SAAS,eAAe;IACxB,cAAc,qBAAqB;IACnC,eAAe,sBAAsB;IACrC,qBAAqB,6BAA6B;IAClD,wBAAwB,gCAAgC;IACxD,wBAAwB,gCAAgC;IACxD,MAAM,YAAY;IAClB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,oBAAoB,6BAA6B;IACjD,WAAW,kBAAkB;IAC7B,UAAU,iBAAiB;IAC3B,oBAAoB,4BAA4B;IAChD,wBAAwB,gCAAgC;IACxD,UAAU,iBAAiB;IAC3B,iBAAiB,wBAAwB;IACzC,YAAY,kBAAkB;IAC9B,eAAe,sBAAsB;IACrC,
|
|
1
|
+
{"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../../src/handlers/commands.ts"],"names":[],"mappings":"AACA,oBAAY,aAAa;IACvB,GAAG,QAAQ;IACX,SAAS,gBAAgB;IACzB,aAAa,oBAAoB;IACjC,QAAQ,cAAc;IACtB,UAAU,iBAAiB;IAC3B,oBAAoB,4BAA4B;IAChD,yBAAyB,iCAAiC;IAC1D,WAAW,kBAAkB;IAC7B,eAAe,sBAAsB;IACrC,eAAe,qBAAqB;IACpC,QAAQ,cAAc;IACtB,OAAO,aAAa;IACpB,kBAAkB,wBAAwB;IAC1C,eAAe,sBAAsB;IACrC,WAAW,iBAAiB;IAC5B,0BAA0B,kCAAkC;IAC5D,8BAA8B,gCAAgC;IAC9D,iBAAiB,2BAA2B;IAC5C,eAAe,sBAAsB;IACrC,kBAAkB,yBAAyB;IAC3C,uBAAuB,+BAA+B;IACtD,YAAY,mBAAmB;IAC/B,kBAAkB,0BAA0B;IAC5C,cAAc,qBAAqB;IACnC,gBAAgB,wBAAwB;IACxC,kBAAkB,0BAA0B;IAC5C,oBAAoB,4BAA4B;IAChD,gBAAgB,uBAAuB;IACvC,kBAAkB,yBAAyB;IAC3C,uBAAuB,+BAA+B;IACtD,8BAA8B,uCAAuC;IACrE,kCAAkC,2CAA2C;IAC7E,iBAAiB,wBAAwB;IACzC,iBAAiB,wBAAwB;IACzC,eAAe,sBAAsB;IACrC,eAAe,sBAAsB;IACrC,eAAe,sBAAsB;IACrC,iBAAiB,yBAAyB;IAC1C,gBAAgB,uBAAuB;IACvC,sBAAsB,8BAA8B;IACpD,OAAO,aAAa;IACpB,oBAAoB,4BAA4B;IAChD,kBAAkB,0BAA0B;IAC5C,4BAA4B,oCAAoC;IAChE,sBAAsB,8BAA8B;IACpD,sBAAsB,8BAA8B;IACpD,sBAAsB,6BAA6B;IACnD,qBAAqB,4BAA4B;IACjD,mBAAmB,0BAA0B;IAC7C,qBAAqB,4BAA4B;IACjD,0BAA0B,kCAAkC;IAC5D,eAAe,sBAAsB;IACrC,gBAAgB,uBAAuB;IACvC,SAAS,eAAe;IACxB,oBAAoB,4BAA4B;IAChD,SAAS,eAAe;IACxB,cAAc,qBAAqB;IACnC,eAAe,sBAAsB;IACrC,qBAAqB,6BAA6B;IAClD,wBAAwB,gCAAgC;IACxD,wBAAwB,gCAAgC;IACxD,cAAc,qBAAqB;IACnC,YAAY,mBAAmB;IAC/B,YAAY,kBAAkB;IAC9B,MAAM,YAAY;IAClB,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,oBAAoB,6BAA6B;IACjD,WAAW,kBAAkB;IAC7B,UAAU,iBAAiB;IAC3B,oBAAoB,4BAA4B;IAChD,wBAAwB,gCAAgC;IACxD,UAAU,iBAAiB;IAC3B,iBAAiB,wBAAwB;IACzC,YAAY,kBAAkB;IAC9B,eAAe,sBAAsB;IACrC,YAAY,mBAAmB;IAC/B,eAAe,uBAAuB;IACtC,qBAAqB,8BAA8B;IACnD,eAAe,sBAAsB;IACrC,iBAAiB,wBAAwB;IACzC,gBAAgB,uBAAuB;IACvC,WAAW,iBAAiB;IAC5B,cAAc,oBAAoB;IAClC,gBAAgB,sBAAsB;IACtC,kBAAkB,wBAAwB;IAC1C,qBAAqB,4BAA4B;CAClD"}
|
package/esm/handlers/commands.js
CHANGED
|
@@ -15,10 +15,13 @@ export var SeelenCommand;
|
|
|
15
15
|
SeelenCommand["GetIcon"] = "get_icon";
|
|
16
16
|
SeelenCommand["SimulateFullscreen"] = "simulate_fullscreen";
|
|
17
17
|
SeelenCommand["CheckForUpdates"] = "check_for_updates";
|
|
18
|
+
SeelenCommand["ShowDesktop"] = "show_desktop";
|
|
18
19
|
SeelenCommand["InstallLastAvailableUpdate"] = "install_last_available_update";
|
|
20
|
+
SeelenCommand["SystemGetForegroundWindowColor"] = "get_foreground_window_color";
|
|
19
21
|
SeelenCommand["SystemGetMonitors"] = "get_connected_monitors";
|
|
20
22
|
SeelenCommand["SystemGetColors"] = "get_system_colors";
|
|
21
23
|
SeelenCommand["SystemGetLanguages"] = "get_system_languages";
|
|
24
|
+
SeelenCommand["SystemSetKeyboardLayout"] = "set_system_keyboard_layout";
|
|
22
25
|
SeelenCommand["SetAutoStart"] = "set_auto_start";
|
|
23
26
|
SeelenCommand["GetAutoStartStatus"] = "get_auto_start_status";
|
|
24
27
|
SeelenCommand["StateGetThemes"] = "state_get_themes";
|
|
@@ -41,6 +44,16 @@ export var SeelenCommand;
|
|
|
41
44
|
SeelenCommand["GetUser"] = "get_user";
|
|
42
45
|
SeelenCommand["GetUserFolderContent"] = "get_user_folder_content";
|
|
43
46
|
SeelenCommand["SetUserFolderLimit"] = "set_user_folder_limit";
|
|
47
|
+
SeelenCommand["GetConnectedBluetoothDevices"] = "get_connected_bluetooth_devices";
|
|
48
|
+
SeelenCommand["GetBluetoothRadioState"] = "get_bluetooth_radio_state";
|
|
49
|
+
SeelenCommand["SetBluetoothRadioState"] = "set_bluetooth_radio_state";
|
|
50
|
+
SeelenCommand["StartBluetoothScanning"] = "start_bluetooth_scanning";
|
|
51
|
+
SeelenCommand["StopBluetoothScanning"] = "stop_bluetooth_scanning";
|
|
52
|
+
SeelenCommand["PairBluetoothDevice"] = "pair_bluetooth_device";
|
|
53
|
+
SeelenCommand["ForgetBluetoothDevice"] = "forget_bluetooth_device";
|
|
54
|
+
SeelenCommand["ConfirmBluetoothDevicePair"] = "confirm_bluetooth_device_pair";
|
|
55
|
+
SeelenCommand["GetMediaDevices"] = "get_media_devices";
|
|
56
|
+
SeelenCommand["GetMediaSessions"] = "get_media_sessions";
|
|
44
57
|
SeelenCommand["MediaPrev"] = "media_prev";
|
|
45
58
|
SeelenCommand["MediaTogglePlayPause"] = "media_toggle_play_pause";
|
|
46
59
|
SeelenCommand["MediaNext"] = "media_next";
|
|
@@ -49,8 +62,12 @@ export var SeelenCommand;
|
|
|
49
62
|
SeelenCommand["MediaSetDefaultDevice"] = "media_set_default_device";
|
|
50
63
|
SeelenCommand["GetMainMonitorBrightness"] = "get_main_monitor_brightness";
|
|
51
64
|
SeelenCommand["SetMainMonitorBrightness"] = "set_main_monitor_brightness";
|
|
65
|
+
SeelenCommand["GetPowerStatus"] = "get_power_status";
|
|
66
|
+
SeelenCommand["GetPowerMode"] = "get_power_mode";
|
|
67
|
+
SeelenCommand["GetBatteries"] = "get_batteries";
|
|
52
68
|
SeelenCommand["LogOut"] = "log_out";
|
|
53
69
|
SeelenCommand["Suspend"] = "suspend";
|
|
70
|
+
SeelenCommand["Hibernate"] = "hibernate";
|
|
54
71
|
SeelenCommand["Restart"] = "restart";
|
|
55
72
|
SeelenCommand["Shutdown"] = "shutdown";
|
|
56
73
|
SeelenCommand["Lock"] = "lock";
|
|
@@ -63,7 +80,7 @@ export var SeelenCommand;
|
|
|
63
80
|
SeelenCommand["SetWindowPosition"] = "set_window_position";
|
|
64
81
|
SeelenCommand["RequestFocus"] = "request_focus";
|
|
65
82
|
SeelenCommand["LauncherGetApps"] = "launcher_get_apps";
|
|
66
|
-
SeelenCommand["
|
|
83
|
+
SeelenCommand["GetTrayIcons"] = "get_tray_icons";
|
|
67
84
|
SeelenCommand["OnClickTrayIcon"] = "on_click_tray_icon";
|
|
68
85
|
SeelenCommand["OnContextMenuTrayIcon"] = "on_context_menu_tray_icon";
|
|
69
86
|
SeelenCommand["WlanGetProfiles"] = "wlan_get_profiles";
|
|
@@ -71,6 +88,7 @@ export var SeelenCommand;
|
|
|
71
88
|
SeelenCommand["WlanStopScanning"] = "wlan_stop_scanning";
|
|
72
89
|
SeelenCommand["WlanConnect"] = "wlan_connect";
|
|
73
90
|
SeelenCommand["WlanDisconnect"] = "wlan_disconnect";
|
|
91
|
+
SeelenCommand["GetNotifications"] = "get_notifications";
|
|
74
92
|
SeelenCommand["NotificationsClose"] = "notifications_close";
|
|
75
93
|
SeelenCommand["NotificationsCloseAll"] = "notifications_close_all";
|
|
76
94
|
})(SeelenCommand || (SeelenCommand = {}));
|
package/esm/handlers/events.d.ts
CHANGED
|
@@ -8,6 +8,11 @@ export declare enum SeelenEvent {
|
|
|
8
8
|
SystemLanguagesChanged = "system::languages-changed",
|
|
9
9
|
UserChanged = "user-changed",
|
|
10
10
|
UserFolderChanged = "user-folder-changed",
|
|
11
|
+
BluetoothRadioStateChanged = "bluetooth-radio-state-changed",
|
|
12
|
+
BluetoothDevicesChanged = "bluetooth-devices-changed",
|
|
13
|
+
BluetoothDiscoveredDevicesChanged = "bluetooth-discovered-devices-changed",
|
|
14
|
+
BluetoothPairShowPin = "bluetooth-pair-show-pin",
|
|
15
|
+
BluetoothPairRequestPin = "bluetooth-pair-request-pin",
|
|
11
16
|
MediaSessions = "media-sessions",
|
|
12
17
|
MediaInputs = "media-inputs",
|
|
13
18
|
MediaOutputs = "media-outputs",
|
|
@@ -17,6 +22,7 @@ export declare enum SeelenEvent {
|
|
|
17
22
|
NetworkWlanScanned = "wlan-scanned",
|
|
18
23
|
Notifications = "notifications",
|
|
19
24
|
PowerStatus = "power-status",
|
|
25
|
+
PowerPlan = "power-plan",
|
|
20
26
|
BatteriesStatus = "batteries-status",
|
|
21
27
|
ColorsChanged = "colors-changed",
|
|
22
28
|
TrayInfo = "tray-info",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/handlers/events.ts"],"names":[],"mappings":"AACA,oBAAY,WAAW;IACrB,iBAAiB,uBAAuB;IACxC,sBAAsB,6BAA6B;IACnD,kBAAkB,yBAAyB;IAC3C,eAAe,sBAAsB;IACrC,qBAAqB,mBAAmB;IACxC,qBAAqB,6BAA6B;IAClD,sBAAsB,8BAA8B;IACpD,WAAW,iBAAiB;IAC5B,iBAAiB,wBAAwB;IACzC,aAAa,mBAAmB;IAChC,WAAW,iBAAiB;IAC5B,YAAY,kBAAkB;IAC9B,qBAAqB,6BAA6B;IAClD,eAAe,qBAAqB;IACpC,yBAAyB,gCAAgC;IACzD,kBAAkB,iBAAiB;IACnC,aAAa,kBAAkB;IAC/B,WAAW,iBAAiB;IAC5B,eAAe,qBAAqB;IACpC,aAAa,mBAAmB;IAChC,QAAQ,cAAc;IACtB,gBAAgB,kBAAkB;IAClC,YAAY,kBAAkB;IAC9B,kBAAkB,0BAA0B;IAC5C,gBAAgB,oBAAoB;IACpC,cAAc,kBAAkB;IAChC,aAAa,iBAAiB;IAC9B,oBAAoB,yBAAyB;IAC7C,OAAO,UAAU;IACjB,oBAAoB,yBAAyB;IAC7C,WAAW,eAAe;IAC1B,cAAc,kBAAkB;IAChC,cAAc,kBAAkB;IAChC,eAAe,sBAAsB;IACrC,WAAW,kBAAkB;IAC7B,sBAAsB,8BAA8B;IACpD,iBAAiB,yBAAyB;IAC1C,QAAQ,cAAc;IACtB,oBAAoB,qBAAqB;IACzC,oBAAoB,cAAc;IAClC,wBAAwB,kBAAkB;IAC1C,kBAAkB,WAAW;IAC7B,yBAAyB,oBAAoB;IAC7C,mBAAmB,YAAY;IAC/B,qBAAqB,eAAe;IACpC,mBAAmB,oBAAoB;IACvC,mBAAmB,oBAAoB;IACvC,oBAAoB,qBAAqB;CAC1C"}
|
|
1
|
+
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/handlers/events.ts"],"names":[],"mappings":"AACA,oBAAY,WAAW;IACrB,iBAAiB,uBAAuB;IACxC,sBAAsB,6BAA6B;IACnD,kBAAkB,yBAAyB;IAC3C,eAAe,sBAAsB;IACrC,qBAAqB,mBAAmB;IACxC,qBAAqB,6BAA6B;IAClD,sBAAsB,8BAA8B;IACpD,WAAW,iBAAiB;IAC5B,iBAAiB,wBAAwB;IACzC,0BAA0B,kCAAkC;IAC5D,uBAAuB,8BAA8B;IACrD,iCAAiC,yCAAyC;IAC1E,oBAAoB,4BAA4B;IAChD,uBAAuB,+BAA+B;IACtD,aAAa,mBAAmB;IAChC,WAAW,iBAAiB;IAC5B,YAAY,kBAAkB;IAC9B,qBAAqB,6BAA6B;IAClD,eAAe,qBAAqB;IACpC,yBAAyB,gCAAgC;IACzD,kBAAkB,iBAAiB;IACnC,aAAa,kBAAkB;IAC/B,WAAW,iBAAiB;IAC5B,SAAS,eAAe;IACxB,eAAe,qBAAqB;IACpC,aAAa,mBAAmB;IAChC,QAAQ,cAAc;IACtB,gBAAgB,kBAAkB;IAClC,YAAY,kBAAkB;IAC9B,kBAAkB,0BAA0B;IAC5C,gBAAgB,oBAAoB;IACpC,cAAc,kBAAkB;IAChC,aAAa,iBAAiB;IAC9B,oBAAoB,yBAAyB;IAC7C,OAAO,UAAU;IACjB,oBAAoB,yBAAyB;IAC7C,WAAW,eAAe;IAC1B,cAAc,kBAAkB;IAChC,cAAc,kBAAkB;IAChC,eAAe,sBAAsB;IACrC,WAAW,kBAAkB;IAC7B,sBAAsB,8BAA8B;IACpD,iBAAiB,yBAAyB;IAC1C,QAAQ,cAAc;IACtB,oBAAoB,qBAAqB;IACzC,oBAAoB,cAAc;IAClC,wBAAwB,kBAAkB;IAC1C,kBAAkB,WAAW;IAC7B,yBAAyB,oBAAoB;IAC7C,mBAAmB,YAAY;IAC/B,qBAAqB,eAAe;IACpC,mBAAmB,oBAAoB;IACvC,mBAAmB,oBAAoB;IACvC,oBAAoB,qBAAqB;CAC1C"}
|
package/esm/handlers/events.js
CHANGED
|
@@ -10,6 +10,11 @@ export var SeelenEvent;
|
|
|
10
10
|
SeelenEvent["SystemLanguagesChanged"] = "system::languages-changed";
|
|
11
11
|
SeelenEvent["UserChanged"] = "user-changed";
|
|
12
12
|
SeelenEvent["UserFolderChanged"] = "user-folder-changed";
|
|
13
|
+
SeelenEvent["BluetoothRadioStateChanged"] = "bluetooth-radio-state-changed";
|
|
14
|
+
SeelenEvent["BluetoothDevicesChanged"] = "bluetooth-devices-changed";
|
|
15
|
+
SeelenEvent["BluetoothDiscoveredDevicesChanged"] = "bluetooth-discovered-devices-changed";
|
|
16
|
+
SeelenEvent["BluetoothPairShowPin"] = "bluetooth-pair-show-pin";
|
|
17
|
+
SeelenEvent["BluetoothPairRequestPin"] = "bluetooth-pair-request-pin";
|
|
13
18
|
SeelenEvent["MediaSessions"] = "media-sessions";
|
|
14
19
|
SeelenEvent["MediaInputs"] = "media-inputs";
|
|
15
20
|
SeelenEvent["MediaOutputs"] = "media-outputs";
|
|
@@ -19,6 +24,7 @@ export var SeelenEvent;
|
|
|
19
24
|
SeelenEvent["NetworkWlanScanned"] = "wlan-scanned";
|
|
20
25
|
SeelenEvent["Notifications"] = "notifications";
|
|
21
26
|
SeelenEvent["PowerStatus"] = "power-status";
|
|
27
|
+
SeelenEvent["PowerPlan"] = "power-plan";
|
|
22
28
|
SeelenEvent["BatteriesStatus"] = "batteries-status";
|
|
23
29
|
SeelenEvent["ColorsChanged"] = "colors-changed";
|
|
24
30
|
SeelenEvent["TrayInfo"] = "tray-info";
|
package/esm/state/icon_pack.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IconPack } from '../types/mod.js';
|
|
1
|
+
import type { Icon as IIcon, IconPack as IIconPack } from '../types/mod.js';
|
|
2
2
|
import { List } from '../utils/List.js';
|
|
3
3
|
import { SeelenCommand, SeelenEvent } from '../handlers/mod.js';
|
|
4
4
|
import type { UnlistenFn } from '@tauri-apps/api/event';
|
|
@@ -13,15 +13,15 @@ declare global {
|
|
|
13
13
|
[SeelenCommand.StateDeleteCachedIcons]: null;
|
|
14
14
|
}
|
|
15
15
|
interface ReturnByCommand {
|
|
16
|
-
[SeelenCommand.StateGetIconPacks]:
|
|
16
|
+
[SeelenCommand.StateGetIconPacks]: IIconPack[];
|
|
17
17
|
[SeelenCommand.GetIcon]: string | null;
|
|
18
18
|
[SeelenCommand.StateDeleteCachedIcons]: void;
|
|
19
19
|
}
|
|
20
20
|
interface PayloadByEvent {
|
|
21
|
-
[SeelenEvent.StateIconPacksChanged]:
|
|
21
|
+
[SeelenEvent.StateIconPacksChanged]: IIconPack[];
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
-
export declare class IconPackList extends List<
|
|
24
|
+
export declare class IconPackList extends List<IIconPack> {
|
|
25
25
|
static readonly getAsync: () => Promise<InstanceType<typeof IconPackList>>;
|
|
26
26
|
static readonly onChange: (cb: (instance: IconPackList) => void) => Promise<UnlistenFn>;
|
|
27
27
|
}
|
|
@@ -35,6 +35,8 @@ export declare class IconPackManager {
|
|
|
35
35
|
private callbacks;
|
|
36
36
|
private unlistenerSettings;
|
|
37
37
|
private unlistenerIcons;
|
|
38
|
+
private static resolveIcon;
|
|
39
|
+
private static resolveIconAsSrc;
|
|
38
40
|
protected constructor(iconPackPath: string, _iconPacks: IconPackList, _actives: string[]);
|
|
39
41
|
get iconPacks(): IconPackList;
|
|
40
42
|
get actives(): string[];
|
|
@@ -104,7 +106,7 @@ export declare class IconPackManager {
|
|
|
104
106
|
* umid: "Seelen.SeelenUI_p6yyn03m1894e!App"
|
|
105
107
|
* });
|
|
106
108
|
*/
|
|
107
|
-
getIconPath({ path, umid }: GetIconArgs):
|
|
109
|
+
getIconPath({ path, umid }: GetIconArgs): IIcon | null;
|
|
108
110
|
/**
|
|
109
111
|
* Returns the icon Url/Src for an app or file. If no icon is available, returns `null`.
|
|
110
112
|
*
|
|
@@ -132,7 +134,27 @@ export declare class IconPackManager {
|
|
|
132
134
|
* umid: "Seelen.SeelenUI_p6yyn03m1894e!App"
|
|
133
135
|
* });
|
|
134
136
|
*/
|
|
135
|
-
getIcon({ path, umid }: GetIconArgs):
|
|
137
|
+
getIcon({ path, umid }: GetIconArgs): IIcon | null;
|
|
138
|
+
/**
|
|
139
|
+
* Will return the special missing icon path from the highest priority icon pack.
|
|
140
|
+
* If no icon pack haves a missing icon, will return null.
|
|
141
|
+
*/
|
|
142
|
+
getMissingIconPath(): IIcon | null;
|
|
143
|
+
/**
|
|
144
|
+
* Will return the special missing icon SRC from the highest priority icon pack.
|
|
145
|
+
* If no icon pack haves a missing icon, will return null.
|
|
146
|
+
*/
|
|
147
|
+
getMissingIcon(): IIcon | null;
|
|
148
|
+
/**
|
|
149
|
+
* Will return the specifit icon path from the highest priority icon pack.
|
|
150
|
+
* If no icon pack haves the searched icon, will return null.
|
|
151
|
+
*/
|
|
152
|
+
getSpecificIconPath(name: string): IIcon | null;
|
|
153
|
+
/**
|
|
154
|
+
* Will return the specifit icon SRC from the highest priority icon pack.
|
|
155
|
+
* If no icon pack haves the searched icon, will return null.
|
|
156
|
+
*/
|
|
157
|
+
getSpecificIcon(name: string): IIcon | null;
|
|
136
158
|
/**
|
|
137
159
|
* Return the icon Path for an app or file, in case of no icon available will return `null`.\
|
|
138
160
|
* This method doesn't take in care icon packs, just extracts the inherited icon into system's icon pack.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon_pack.d.ts","sourceRoot":"","sources":["../../src/state/icon_pack.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"icon_pack.d.ts","sourceRoot":"","sources":["../../src/state/icon_pack.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,IAAI,KAAK,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAExC,OAAO,EAAU,aAAa,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAIxE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAExD,MAAM,WAAW,WAAW;IAC1B,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,aAAa;QACrB,CAAC,aAAa,CAAC,iBAAiB,CAAC,EAAE,IAAI,CAAC;QACxC,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE,WAAW,CAAC;QACrC,CAAC,aAAa,CAAC,sBAAsB,CAAC,EAAE,IAAI,CAAC;KAC9C;IACD,UAAU,eAAe;QACvB,CAAC,aAAa,CAAC,iBAAiB,CAAC,EAAE,SAAS,EAAE,CAAC;QAC/C,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACvC,CAAC,aAAa,CAAC,sBAAsB,CAAC,EAAE,IAAI,CAAC;KAC9C;IACD,UAAU,cAAc;QACtB,CAAC,WAAW,CAAC,qBAAqB,CAAC,EAAE,SAAS,EAAE,CAAC;KAClD;CACF;AAED,qBAAa,YAAa,SAAQ,IAAI,CAAC,SAAS,CAAC;IAC/C,MAAM,CAAC,QAAQ,CAAC,QAAQ,mDAAgE;IACxF,MAAM,CAAC,QAAQ,CAAC,QAAQ,gEAAkE;CAC3F;AAED;;GAEG;AACH,qBAAa,eAAe;IA4BxB,SAAS,CAAC,YAAY,EAAE,MAAM;IAC9B,SAAS,CAAC,UAAU,EAAE,YAAY;IAClC,SAAS,CAAC,QAAQ,EAAE,MAAM,EAAE;IA7B9B,OAAO,CAAC,SAAS,CAA8B;IAC/C,OAAO,CAAC,kBAAkB,CAA2B;IACrD,OAAO,CAAC,eAAe,CAA2B;IAElD,OAAO,CAAC,MAAM,CAAC,WAAW;IAW1B,OAAO,CAAC,MAAM,CAAC,gBAAgB;IAW/B,SAAS,aACG,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,YAAY,EACxB,QAAQ,EAAE,MAAM,EAAE;IAG9B,IAAW,SAAS,IAAI,YAAY,CAEnC;IAED,IAAW,OAAO,IAAI,MAAM,EAAE,CAE7B;IAED;;;;;OAKG;WACiB,MAAM,IAAI,OAAO,CAAC,eAAe,CAAC;IAUtD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;IACU,QAAQ,CAAC,EAAE,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,UAAU,CAAC;IAuB1D;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;IACI,WAAW,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,WAAW,GAAG,KAAK,GAAG,IAAI;IAuE7D;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;IACI,OAAO,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,WAAW,GAAG,KAAK,GAAG,IAAI;IAKzD;;;OAGG;IACI,kBAAkB,IAAI,KAAK,GAAG,IAAI;IAazC;;;OAGG;IACI,cAAc,IAAI,KAAK,GAAG,IAAI;IAKrC;;;OAGG;IACI,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,KAAK,GAAG,IAAI;IAWtD;;;OAGG;IACI,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,KAAK,GAAG,IAAI;IAKlD;;;;;;;;;;;;OAYG;WACW,WAAW,CAAC,GAAG,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;IAInE;;;OAGG;WACW,gBAAgB,IAAI,OAAO,CAAC,IAAI,CAAC;CAGhD"}
|
package/esm/state/icon_pack.js
CHANGED
|
@@ -18,6 +18,26 @@ export class IconPackManager {
|
|
|
18
18
|
callbacks = new Set();
|
|
19
19
|
unlistenerSettings = null;
|
|
20
20
|
unlistenerIcons = null;
|
|
21
|
+
static resolveIcon(parent, icon) {
|
|
22
|
+
if (typeof icon === 'string') {
|
|
23
|
+
return `${parent}\\${icon}`;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
light: `${parent}\\${icon.light}`,
|
|
27
|
+
dark: `${parent}\\${icon.dark}`,
|
|
28
|
+
mask: icon.mask ? `${parent}\\${icon.mask}` : null,
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
static resolveIconAsSrc(icon) {
|
|
32
|
+
if (typeof icon === 'string') {
|
|
33
|
+
return convertFileSrc(icon);
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
light: convertFileSrc(icon.light),
|
|
37
|
+
dark: convertFileSrc(icon.dark),
|
|
38
|
+
mask: icon.mask ? convertFileSrc(icon.mask) : null,
|
|
39
|
+
};
|
|
40
|
+
}
|
|
21
41
|
constructor(iconPackPath, _iconPacks, _actives) {
|
|
22
42
|
this.iconPackPath = iconPackPath;
|
|
23
43
|
this._iconPacks = _iconPacks;
|
|
@@ -133,9 +153,9 @@ export class IconPackManager {
|
|
|
133
153
|
// Search by UMID first (highest priority)
|
|
134
154
|
if (umid) {
|
|
135
155
|
for (const pack of orderedPacks) {
|
|
136
|
-
const
|
|
137
|
-
if (
|
|
138
|
-
return `${this.iconPackPath}\\${pack.metadata.filename}
|
|
156
|
+
const icon = pack.apps[umid];
|
|
157
|
+
if (icon) {
|
|
158
|
+
return IconPackManager.resolveIcon(`${this.iconPackPath}\\${pack.metadata.filename}`, icon);
|
|
139
159
|
}
|
|
140
160
|
}
|
|
141
161
|
}
|
|
@@ -152,9 +172,9 @@ export class IconPackManager {
|
|
|
152
172
|
return null;
|
|
153
173
|
}
|
|
154
174
|
for (const pack of orderedPacks) {
|
|
155
|
-
const
|
|
156
|
-
if (
|
|
157
|
-
return `${this.iconPackPath}\\${pack.metadata.filename}
|
|
175
|
+
const icon = pack.files[extension];
|
|
176
|
+
if (icon) {
|
|
177
|
+
return IconPackManager.resolveIcon(`${this.iconPackPath}\\${pack.metadata.filename}`, icon);
|
|
158
178
|
}
|
|
159
179
|
}
|
|
160
180
|
return null;
|
|
@@ -165,9 +185,9 @@ export class IconPackManager {
|
|
|
165
185
|
return null;
|
|
166
186
|
}
|
|
167
187
|
for (const pack of orderedPacks) {
|
|
168
|
-
const
|
|
169
|
-
if (
|
|
170
|
-
return `${this.iconPackPath}\\${pack.metadata.filename}
|
|
188
|
+
const icon = pack.apps[path] || pack.apps[filename];
|
|
189
|
+
if (icon) {
|
|
190
|
+
return IconPackManager.resolveIcon(`${this.iconPackPath}\\${pack.metadata.filename}`, icon);
|
|
171
191
|
}
|
|
172
192
|
}
|
|
173
193
|
// If no icon is found in any icon pack, return null
|
|
@@ -202,7 +222,50 @@ export class IconPackManager {
|
|
|
202
222
|
*/
|
|
203
223
|
getIcon({ path, umid }) {
|
|
204
224
|
const iconPath = this.getIconPath({ path, umid });
|
|
205
|
-
return iconPath ?
|
|
225
|
+
return iconPath ? IconPackManager.resolveIconAsSrc(iconPath) : null;
|
|
226
|
+
}
|
|
227
|
+
/**
|
|
228
|
+
* Will return the special missing icon path from the highest priority icon pack.
|
|
229
|
+
* If no icon pack haves a missing icon, will return null.
|
|
230
|
+
*/
|
|
231
|
+
getMissingIconPath() {
|
|
232
|
+
for (const active of this.actives.toReversed()) {
|
|
233
|
+
const pack = this.iconPacks.asArray().find((p) => p.metadata.filename === active);
|
|
234
|
+
if (pack && pack.missing) {
|
|
235
|
+
return IconPackManager.resolveIcon(`${this.iconPackPath}\\${pack.metadata.filename}`, pack.missing);
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
return null;
|
|
239
|
+
}
|
|
240
|
+
/**
|
|
241
|
+
* Will return the special missing icon SRC from the highest priority icon pack.
|
|
242
|
+
* If no icon pack haves a missing icon, will return null.
|
|
243
|
+
*/
|
|
244
|
+
getMissingIcon() {
|
|
245
|
+
const iconPath = this.getMissingIconPath();
|
|
246
|
+
return iconPath ? IconPackManager.resolveIconAsSrc(iconPath) : null;
|
|
247
|
+
}
|
|
248
|
+
/**
|
|
249
|
+
* Will return the specifit icon path from the highest priority icon pack.
|
|
250
|
+
* If no icon pack haves the searched icon, will return null.
|
|
251
|
+
*/
|
|
252
|
+
getSpecificIconPath(name) {
|
|
253
|
+
for (const active of this.actives.toReversed()) {
|
|
254
|
+
const pack = this.iconPacks.asArray().find((p) => p.metadata.filename === active);
|
|
255
|
+
const icon = pack?.specific[name];
|
|
256
|
+
if (icon) {
|
|
257
|
+
return IconPackManager.resolveIcon(`${this.iconPackPath}\\${pack.metadata.filename}`, icon);
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
return null;
|
|
261
|
+
}
|
|
262
|
+
/**
|
|
263
|
+
* Will return the specifit icon SRC from the highest priority icon pack.
|
|
264
|
+
* If no icon pack haves the searched icon, will return null.
|
|
265
|
+
*/
|
|
266
|
+
getSpecificIcon(name) {
|
|
267
|
+
const iconPath = this.getSpecificIconPath(name);
|
|
268
|
+
return iconPath ? IconPackManager.resolveIconAsSrc(iconPath) : null;
|
|
206
269
|
}
|
|
207
270
|
/**
|
|
208
271
|
* Return the icon Path for an app or file, in case of no icon available will return `null`.\
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"placeholder.d.ts","sourceRoot":"","sources":["../../src/state/placeholder.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAe,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;AAE1F,OAAO,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAErE,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,aAAa;QACrB,CAAC,aAAa,CAAC,oBAAoB,CAAC,EAAE,IAAI,CAAC;KAC5C;IACD,UAAU,eAAe;QACvB,CAAC,aAAa,CAAC,oBAAoB,CAAC,EAAE,WAAW,CAAC;KACnD;IACD,UAAU,cAAc;QACtB,CAAC,WAAW,CAAC,wBAAwB,CAAC,EAAE,WAAW,CAAC;KACrD;CACF;AAMD,QAAA,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"placeholder.d.ts","sourceRoot":"","sources":["../../src/state/placeholder.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAe,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;AAE1F,OAAO,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAErE,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,aAAa;QACrB,CAAC,aAAa,CAAC,oBAAoB,CAAC,EAAE,IAAI,CAAC;KAC5C;IACD,UAAU,eAAe;QACvB,CAAC,aAAa,CAAC,oBAAoB,CAAC,EAAE,WAAW,CAAC;KACnD;IACD,UAAU,cAAc;QACtB,CAAC,WAAW,CAAC,wBAAwB,CAAC,EAAE,WAAW,CAAC;KACrD;CACF;AAMD,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;CAerB,CAAC;AAEH,QAAA,MAAM,wBAAwB;;;;CAI5B,CAAC;AAEH,OAAO,EAAE,iBAAiB,EAAE,wBAAwB,EAAE,CAAC"}
|
package/esm/state/placeholder.js
CHANGED