@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
package/script/utils/mod.js
CHANGED
|
@@ -1,22 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
3
|
exports.Rect = void 0;
|
|
18
|
-
exports.disableWebviewShortcutsAndContextMenu = disableWebviewShortcutsAndContextMenu;
|
|
19
|
-
__exportStar(require("./layered_hitbox.js"), exports);
|
|
20
4
|
class Rect {
|
|
21
5
|
left = 0;
|
|
22
6
|
top = 0;
|
|
@@ -24,42 +8,3 @@ class Rect {
|
|
|
24
8
|
bottom = 0;
|
|
25
9
|
}
|
|
26
10
|
exports.Rect = Rect;
|
|
27
|
-
function disableWebviewShortcutsAndContextMenu() {
|
|
28
|
-
globalThis.addEventListener('keydown', function (event) {
|
|
29
|
-
// prevent refresh
|
|
30
|
-
if (event.key === 'F5') {
|
|
31
|
-
event.preventDefault();
|
|
32
|
-
}
|
|
33
|
-
// prevent close
|
|
34
|
-
if (event.altKey && event.key === 'F4') {
|
|
35
|
-
event.preventDefault();
|
|
36
|
-
}
|
|
37
|
-
// others
|
|
38
|
-
if (event.ctrlKey) {
|
|
39
|
-
switch (event.key) {
|
|
40
|
-
case 'r': // reload
|
|
41
|
-
case 'f': // search
|
|
42
|
-
case 'g': // find
|
|
43
|
-
case 'p': // print
|
|
44
|
-
case 'j': // downloads
|
|
45
|
-
case 'u': // source
|
|
46
|
-
event.preventDefault();
|
|
47
|
-
break;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
});
|
|
51
|
-
// prevent browser context menu
|
|
52
|
-
globalThis.addEventListener('contextmenu', (e) => e.preventDefault(), {
|
|
53
|
-
capture: true,
|
|
54
|
-
});
|
|
55
|
-
// prevent drop files in webview
|
|
56
|
-
globalThis.addEventListener('drop', (e) => e.preventDefault());
|
|
57
|
-
globalThis.addEventListener('dragover', (e) => e.preventDefault());
|
|
58
|
-
// prevent dragging images
|
|
59
|
-
globalThis.addEventListener('dragstart', (event) => {
|
|
60
|
-
const target = event.target;
|
|
61
|
-
if (target?.tagName?.toLowerCase() === 'img') {
|
|
62
|
-
event.preventDefault();
|
|
63
|
-
}
|
|
64
|
-
});
|
|
65
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_validate_binary_like.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/encoding/1.0.7/_validate_binary_like.ts"],"names":[],"mappings":"AAeA,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,OAAO,GAAG,UAAU,CAa9D"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
|
-
const encoder = new TextEncoder();
|
|
3
|
-
function getTypeName(value) {
|
|
4
|
-
const type = typeof value;
|
|
5
|
-
if (type !== "object") {
|
|
6
|
-
return type;
|
|
7
|
-
}
|
|
8
|
-
else if (value === null) {
|
|
9
|
-
return "null";
|
|
10
|
-
}
|
|
11
|
-
else {
|
|
12
|
-
return value?.constructor?.name ?? "object";
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
export function validateBinaryLike(source) {
|
|
16
|
-
if (typeof source === "string") {
|
|
17
|
-
return encoder.encode(source);
|
|
18
|
-
}
|
|
19
|
-
else if (source instanceof Uint8Array) {
|
|
20
|
-
return source;
|
|
21
|
-
}
|
|
22
|
-
else if (source instanceof ArrayBuffer) {
|
|
23
|
-
return new Uint8Array(source);
|
|
24
|
-
}
|
|
25
|
-
throw new TypeError(`Cannot validate the input as it must be a Uint8Array, a string, or an ArrayBuffer: received a value of the type ${getTypeName(source)}`);
|
|
26
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import type { Uint8Array_ } from "./_types.js";
|
|
2
|
-
export type { Uint8Array_ };
|
|
3
|
-
/**
|
|
4
|
-
* Converts data into a base64-encoded string.
|
|
5
|
-
*
|
|
6
|
-
* @see {@link https://www.rfc-editor.org/rfc/rfc4648.html#section-4}
|
|
7
|
-
*
|
|
8
|
-
* @param data The data to encode.
|
|
9
|
-
* @returns The base64-encoded string.
|
|
10
|
-
*
|
|
11
|
-
* @example Usage
|
|
12
|
-
* ```ts
|
|
13
|
-
* import { encodeBase64 } from "@std/encoding/base64";
|
|
14
|
-
* import { assertEquals } from "@std/assert";
|
|
15
|
-
*
|
|
16
|
-
* assertEquals(encodeBase64("foobar"), "Zm9vYmFy");
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
export declare function encodeBase64(data: ArrayBuffer | Uint8Array | string): string;
|
|
20
|
-
/**
|
|
21
|
-
* Decodes a base64-encoded string.
|
|
22
|
-
*
|
|
23
|
-
* @see {@link https://www.rfc-editor.org/rfc/rfc4648.html#section-4}
|
|
24
|
-
*
|
|
25
|
-
* @param b64 The base64-encoded string to decode.
|
|
26
|
-
* @returns The decoded data.
|
|
27
|
-
*
|
|
28
|
-
* @example Usage
|
|
29
|
-
* ```ts
|
|
30
|
-
* import { decodeBase64 } from "@std/encoding/base64";
|
|
31
|
-
* import { assertEquals } from "@std/assert";
|
|
32
|
-
*
|
|
33
|
-
* assertEquals(
|
|
34
|
-
* decodeBase64("Zm9vYmFy"),
|
|
35
|
-
* new TextEncoder().encode("foobar")
|
|
36
|
-
* );
|
|
37
|
-
* ```
|
|
38
|
-
*/
|
|
39
|
-
export declare function decodeBase64(b64: string): Uint8Array_;
|
|
40
|
-
//# sourceMappingURL=base64.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"base64.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/encoding/1.0.7/base64.ts"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC/C,YAAY,EAAE,WAAW,EAAE,CAAC;AAqE5B;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,WAAW,GAAG,UAAU,GAAG,MAAM,GAAG,MAAM,CAmC5E;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,WAAW,CAQrD"}
|
|
@@ -1,163 +0,0 @@
|
|
|
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-4 | base64}
|
|
6
|
-
* encoding and decoding.
|
|
7
|
-
*
|
|
8
|
-
* ```ts
|
|
9
|
-
* import {
|
|
10
|
-
* encodeBase64,
|
|
11
|
-
* decodeBase64,
|
|
12
|
-
* } from "@std/encoding/base64";
|
|
13
|
-
* import { assertEquals } from "@std/assert";
|
|
14
|
-
*
|
|
15
|
-
* const foobar = new TextEncoder().encode("foobar");
|
|
16
|
-
*
|
|
17
|
-
* assertEquals(encodeBase64(foobar), "Zm9vYmFy");
|
|
18
|
-
* assertEquals(decodeBase64("Zm9vYmFy"), foobar);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @module
|
|
22
|
-
*/
|
|
23
|
-
import { validateBinaryLike } from "./_validate_binary_like.js";
|
|
24
|
-
const base64abc = [
|
|
25
|
-
"A",
|
|
26
|
-
"B",
|
|
27
|
-
"C",
|
|
28
|
-
"D",
|
|
29
|
-
"E",
|
|
30
|
-
"F",
|
|
31
|
-
"G",
|
|
32
|
-
"H",
|
|
33
|
-
"I",
|
|
34
|
-
"J",
|
|
35
|
-
"K",
|
|
36
|
-
"L",
|
|
37
|
-
"M",
|
|
38
|
-
"N",
|
|
39
|
-
"O",
|
|
40
|
-
"P",
|
|
41
|
-
"Q",
|
|
42
|
-
"R",
|
|
43
|
-
"S",
|
|
44
|
-
"T",
|
|
45
|
-
"U",
|
|
46
|
-
"V",
|
|
47
|
-
"W",
|
|
48
|
-
"X",
|
|
49
|
-
"Y",
|
|
50
|
-
"Z",
|
|
51
|
-
"a",
|
|
52
|
-
"b",
|
|
53
|
-
"c",
|
|
54
|
-
"d",
|
|
55
|
-
"e",
|
|
56
|
-
"f",
|
|
57
|
-
"g",
|
|
58
|
-
"h",
|
|
59
|
-
"i",
|
|
60
|
-
"j",
|
|
61
|
-
"k",
|
|
62
|
-
"l",
|
|
63
|
-
"m",
|
|
64
|
-
"n",
|
|
65
|
-
"o",
|
|
66
|
-
"p",
|
|
67
|
-
"q",
|
|
68
|
-
"r",
|
|
69
|
-
"s",
|
|
70
|
-
"t",
|
|
71
|
-
"u",
|
|
72
|
-
"v",
|
|
73
|
-
"w",
|
|
74
|
-
"x",
|
|
75
|
-
"y",
|
|
76
|
-
"z",
|
|
77
|
-
"0",
|
|
78
|
-
"1",
|
|
79
|
-
"2",
|
|
80
|
-
"3",
|
|
81
|
-
"4",
|
|
82
|
-
"5",
|
|
83
|
-
"6",
|
|
84
|
-
"7",
|
|
85
|
-
"8",
|
|
86
|
-
"9",
|
|
87
|
-
"+",
|
|
88
|
-
"/",
|
|
89
|
-
];
|
|
90
|
-
/**
|
|
91
|
-
* Converts data into a base64-encoded string.
|
|
92
|
-
*
|
|
93
|
-
* @see {@link https://www.rfc-editor.org/rfc/rfc4648.html#section-4}
|
|
94
|
-
*
|
|
95
|
-
* @param data The data to encode.
|
|
96
|
-
* @returns The base64-encoded string.
|
|
97
|
-
*
|
|
98
|
-
* @example Usage
|
|
99
|
-
* ```ts
|
|
100
|
-
* import { encodeBase64 } from "@std/encoding/base64";
|
|
101
|
-
* import { assertEquals } from "@std/assert";
|
|
102
|
-
*
|
|
103
|
-
* assertEquals(encodeBase64("foobar"), "Zm9vYmFy");
|
|
104
|
-
* ```
|
|
105
|
-
*/
|
|
106
|
-
export function encodeBase64(data) {
|
|
107
|
-
// CREDIT: https://gist.github.com/enepomnyaschih/72c423f727d395eeaa09697058238727
|
|
108
|
-
const uint8 = validateBinaryLike(data);
|
|
109
|
-
let result = "";
|
|
110
|
-
let i;
|
|
111
|
-
const l = uint8.length;
|
|
112
|
-
for (i = 2; i < l; i += 3) {
|
|
113
|
-
result += base64abc[(uint8[i - 2]) >> 2];
|
|
114
|
-
result += base64abc[(((uint8[i - 2]) & 0x03) << 4) |
|
|
115
|
-
((uint8[i - 1]) >> 4)];
|
|
116
|
-
result += base64abc[(((uint8[i - 1]) & 0x0f) << 2) |
|
|
117
|
-
((uint8[i]) >> 6)];
|
|
118
|
-
result += base64abc[(uint8[i]) & 0x3f];
|
|
119
|
-
}
|
|
120
|
-
if (i === l + 1) {
|
|
121
|
-
// 1 octet yet to write
|
|
122
|
-
result += base64abc[(uint8[i - 2]) >> 2];
|
|
123
|
-
result += base64abc[((uint8[i - 2]) & 0x03) << 4];
|
|
124
|
-
result += "==";
|
|
125
|
-
}
|
|
126
|
-
if (i === l) {
|
|
127
|
-
// 2 octets yet to write
|
|
128
|
-
result += base64abc[(uint8[i - 2]) >> 2];
|
|
129
|
-
result += base64abc[(((uint8[i - 2]) & 0x03) << 4) |
|
|
130
|
-
((uint8[i - 1]) >> 4)];
|
|
131
|
-
result += base64abc[((uint8[i - 1]) & 0x0f) << 2];
|
|
132
|
-
result += "=";
|
|
133
|
-
}
|
|
134
|
-
return result;
|
|
135
|
-
}
|
|
136
|
-
/**
|
|
137
|
-
* Decodes a base64-encoded string.
|
|
138
|
-
*
|
|
139
|
-
* @see {@link https://www.rfc-editor.org/rfc/rfc4648.html#section-4}
|
|
140
|
-
*
|
|
141
|
-
* @param b64 The base64-encoded string to decode.
|
|
142
|
-
* @returns The decoded data.
|
|
143
|
-
*
|
|
144
|
-
* @example Usage
|
|
145
|
-
* ```ts
|
|
146
|
-
* import { decodeBase64 } from "@std/encoding/base64";
|
|
147
|
-
* import { assertEquals } from "@std/assert";
|
|
148
|
-
*
|
|
149
|
-
* assertEquals(
|
|
150
|
-
* decodeBase64("Zm9vYmFy"),
|
|
151
|
-
* new TextEncoder().encode("foobar")
|
|
152
|
-
* );
|
|
153
|
-
* ```
|
|
154
|
-
*/
|
|
155
|
-
export function decodeBase64(b64) {
|
|
156
|
-
const binString = atob(b64);
|
|
157
|
-
const size = binString.length;
|
|
158
|
-
const bytes = new Uint8Array(size);
|
|
159
|
-
for (let i = 0; i < size; i++) {
|
|
160
|
-
bytes[i] = binString.charCodeAt(i);
|
|
161
|
-
}
|
|
162
|
-
return bytes;
|
|
163
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"base64url.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/encoding/1.0.7/base64url.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC/C,YAAY,EAAE,WAAW,EAAE,CAAC;AAiC5B;;;;;;;;;;;;;;;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,CAE3D"}
|
|
@@ -1,81 +0,0 @@
|
|
|
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 * as base64 from "./base64.js";
|
|
11
|
-
/**
|
|
12
|
-
* Some variants allow or require omitting the padding '=' signs:
|
|
13
|
-
* https://en.wikipedia.org/wiki/Base64#The_URL_applications
|
|
14
|
-
*
|
|
15
|
-
* @param base64url
|
|
16
|
-
*/
|
|
17
|
-
function addPaddingToBase64url(base64url) {
|
|
18
|
-
if (base64url.length % 4 === 2)
|
|
19
|
-
return base64url + "==";
|
|
20
|
-
if (base64url.length % 4 === 3)
|
|
21
|
-
return base64url + "=";
|
|
22
|
-
if (base64url.length % 4 === 1) {
|
|
23
|
-
throw new TypeError("Illegal base64url string");
|
|
24
|
-
}
|
|
25
|
-
return base64url;
|
|
26
|
-
}
|
|
27
|
-
function convertBase64urlToBase64(b64url) {
|
|
28
|
-
if (!/^[-_A-Z0-9]*?={0,2}$/i.test(b64url)) {
|
|
29
|
-
// Contains characters not part of base64url spec.
|
|
30
|
-
throw new TypeError("Failed to decode base64url: invalid character");
|
|
31
|
-
}
|
|
32
|
-
return addPaddingToBase64url(b64url).replace(/\-/g, "+").replace(/_/g, "/");
|
|
33
|
-
}
|
|
34
|
-
function convertBase64ToBase64url(b64) {
|
|
35
|
-
return b64.endsWith("=")
|
|
36
|
-
? b64.endsWith("==")
|
|
37
|
-
? b64.replace(/\+/g, "-").replace(/\//g, "_").slice(0, -2)
|
|
38
|
-
: b64.replace(/\+/g, "-").replace(/\//g, "_").slice(0, -1)
|
|
39
|
-
: b64.replace(/\+/g, "-").replace(/\//g, "_");
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* Convert data into a base64url-encoded string.
|
|
43
|
-
*
|
|
44
|
-
* @see {@link https://www.rfc-editor.org/rfc/rfc4648.html#section-5}
|
|
45
|
-
*
|
|
46
|
-
* @param data The data to encode.
|
|
47
|
-
* @returns The base64url-encoded string.
|
|
48
|
-
*
|
|
49
|
-
* @example Usage
|
|
50
|
-
* ```ts
|
|
51
|
-
* import { encodeBase64Url } from "@std/encoding/base64url";
|
|
52
|
-
* import { assertEquals } from "@std/assert";
|
|
53
|
-
*
|
|
54
|
-
* assertEquals(encodeBase64Url("foobar"), "Zm9vYmFy");
|
|
55
|
-
* ```
|
|
56
|
-
*/
|
|
57
|
-
export function encodeBase64Url(data) {
|
|
58
|
-
return convertBase64ToBase64url(base64.encodeBase64(data));
|
|
59
|
-
}
|
|
60
|
-
/**
|
|
61
|
-
* Decodes a given base64url-encoded string.
|
|
62
|
-
*
|
|
63
|
-
* @see {@link https://www.rfc-editor.org/rfc/rfc4648.html#section-5}
|
|
64
|
-
*
|
|
65
|
-
* @param b64url The base64url-encoded string to decode.
|
|
66
|
-
* @returns The decoded data.
|
|
67
|
-
*
|
|
68
|
-
* @example Usage
|
|
69
|
-
* ```ts
|
|
70
|
-
* import { decodeBase64Url } from "@std/encoding/base64url";
|
|
71
|
-
* import { assertEquals } from "@std/assert";
|
|
72
|
-
*
|
|
73
|
-
* assertEquals(
|
|
74
|
-
* decodeBase64Url("Zm9vYmFy"),
|
|
75
|
-
* new TextEncoder().encode("foobar")
|
|
76
|
-
* );
|
|
77
|
-
* ```
|
|
78
|
-
*/
|
|
79
|
-
export function decodeBase64Url(b64url) {
|
|
80
|
-
return base64.decodeBase64(convertBase64urlToBase64(b64url));
|
|
81
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"layered_hitbox.d.ts","sourceRoot":"","sources":["../../src/utils/layered_hitbox.ts"],"names":[],"mappings":"AAIA,wBAAsB,8BAA8B,IAAI,OAAO,CAAC,IAAI,CAAC,CAwEpE"}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { getCurrentWebviewWindow } from '@tauri-apps/api/webviewWindow';
|
|
2
|
-
import { SeelenEvent } from '../handlers/mod.js';
|
|
3
|
-
export async function declareDocumentAsLayeredHitbox() {
|
|
4
|
-
const webview = getCurrentWebviewWindow();
|
|
5
|
-
const { x, y } = await webview.outerPosition();
|
|
6
|
-
const { width, height } = await webview.outerSize();
|
|
7
|
-
const webviewRect = { x, y, width, height };
|
|
8
|
-
let ignoring_cursor_events = true;
|
|
9
|
-
let is_layered_enabled = true;
|
|
10
|
-
await webview.setIgnoreCursorEvents(true);
|
|
11
|
-
webview.onMoved((e) => {
|
|
12
|
-
webviewRect.x = e.payload.x;
|
|
13
|
-
webviewRect.y = e.payload.y;
|
|
14
|
-
});
|
|
15
|
-
webview.onResized((e) => {
|
|
16
|
-
webviewRect.width = e.payload.width;
|
|
17
|
-
webviewRect.height = e.payload.height;
|
|
18
|
-
});
|
|
19
|
-
webview.listen(SeelenEvent.HandleLayeredHitboxes, (event) => {
|
|
20
|
-
is_layered_enabled = event.payload;
|
|
21
|
-
});
|
|
22
|
-
webview.listen(SeelenEvent.GlobalMouseMove, (event) => {
|
|
23
|
-
if (!is_layered_enabled) {
|
|
24
|
-
return;
|
|
25
|
-
}
|
|
26
|
-
const [mouseX, mouseY] = event.payload;
|
|
27
|
-
const { x: windowX, y: windowY, width: windowWidth, height: windowHeight, } = webviewRect;
|
|
28
|
-
// check if the mouse is inside the window
|
|
29
|
-
const isHoverWindow = mouseX >= windowX &&
|
|
30
|
-
mouseX <= windowX + windowWidth &&
|
|
31
|
-
mouseY >= windowY &&
|
|
32
|
-
mouseY <= windowY + windowHeight;
|
|
33
|
-
if (!isHoverWindow) {
|
|
34
|
-
return;
|
|
35
|
-
}
|
|
36
|
-
const adjustedX = (mouseX - windowX) / globalThis.devicePixelRatio;
|
|
37
|
-
const adjustedY = (mouseY - windowY) / globalThis.devicePixelRatio;
|
|
38
|
-
const isOverBody = document.elementFromPoint(adjustedX, adjustedY) == document.body;
|
|
39
|
-
if (isOverBody && !ignoring_cursor_events) {
|
|
40
|
-
ignoring_cursor_events = true;
|
|
41
|
-
webview.setIgnoreCursorEvents(true);
|
|
42
|
-
}
|
|
43
|
-
if (!isOverBody && ignoring_cursor_events) {
|
|
44
|
-
ignoring_cursor_events = false;
|
|
45
|
-
webview.setIgnoreCursorEvents(false);
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
globalThis.addEventListener('touchstart', (e) => {
|
|
49
|
-
const isOverBody = e.target == document.body;
|
|
50
|
-
if (isOverBody && !ignoring_cursor_events) {
|
|
51
|
-
ignoring_cursor_events = true;
|
|
52
|
-
webview.setIgnoreCursorEvents(true);
|
|
53
|
-
}
|
|
54
|
-
});
|
|
55
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_validate_binary_like.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/encoding/1.0.7/_validate_binary_like.ts"],"names":[],"mappings":"AAeA,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,OAAO,GAAG,UAAU,CAa9D"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.validateBinaryLike = validateBinaryLike;
|
|
5
|
-
const encoder = new TextEncoder();
|
|
6
|
-
function getTypeName(value) {
|
|
7
|
-
const type = typeof value;
|
|
8
|
-
if (type !== "object") {
|
|
9
|
-
return type;
|
|
10
|
-
}
|
|
11
|
-
else if (value === null) {
|
|
12
|
-
return "null";
|
|
13
|
-
}
|
|
14
|
-
else {
|
|
15
|
-
return value?.constructor?.name ?? "object";
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
function validateBinaryLike(source) {
|
|
19
|
-
if (typeof source === "string") {
|
|
20
|
-
return encoder.encode(source);
|
|
21
|
-
}
|
|
22
|
-
else if (source instanceof Uint8Array) {
|
|
23
|
-
return source;
|
|
24
|
-
}
|
|
25
|
-
else if (source instanceof ArrayBuffer) {
|
|
26
|
-
return new Uint8Array(source);
|
|
27
|
-
}
|
|
28
|
-
throw new TypeError(`Cannot validate the input as it must be a Uint8Array, a string, or an ArrayBuffer: received a value of the type ${getTypeName(source)}`);
|
|
29
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import type { Uint8Array_ } from "./_types.js";
|
|
2
|
-
export type { Uint8Array_ };
|
|
3
|
-
/**
|
|
4
|
-
* Converts data into a base64-encoded string.
|
|
5
|
-
*
|
|
6
|
-
* @see {@link https://www.rfc-editor.org/rfc/rfc4648.html#section-4}
|
|
7
|
-
*
|
|
8
|
-
* @param data The data to encode.
|
|
9
|
-
* @returns The base64-encoded string.
|
|
10
|
-
*
|
|
11
|
-
* @example Usage
|
|
12
|
-
* ```ts
|
|
13
|
-
* import { encodeBase64 } from "@std/encoding/base64";
|
|
14
|
-
* import { assertEquals } from "@std/assert";
|
|
15
|
-
*
|
|
16
|
-
* assertEquals(encodeBase64("foobar"), "Zm9vYmFy");
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
export declare function encodeBase64(data: ArrayBuffer | Uint8Array | string): string;
|
|
20
|
-
/**
|
|
21
|
-
* Decodes a base64-encoded string.
|
|
22
|
-
*
|
|
23
|
-
* @see {@link https://www.rfc-editor.org/rfc/rfc4648.html#section-4}
|
|
24
|
-
*
|
|
25
|
-
* @param b64 The base64-encoded string to decode.
|
|
26
|
-
* @returns The decoded data.
|
|
27
|
-
*
|
|
28
|
-
* @example Usage
|
|
29
|
-
* ```ts
|
|
30
|
-
* import { decodeBase64 } from "@std/encoding/base64";
|
|
31
|
-
* import { assertEquals } from "@std/assert";
|
|
32
|
-
*
|
|
33
|
-
* assertEquals(
|
|
34
|
-
* decodeBase64("Zm9vYmFy"),
|
|
35
|
-
* new TextEncoder().encode("foobar")
|
|
36
|
-
* );
|
|
37
|
-
* ```
|
|
38
|
-
*/
|
|
39
|
-
export declare function decodeBase64(b64: string): Uint8Array_;
|
|
40
|
-
//# sourceMappingURL=base64.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"base64.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/encoding/1.0.7/base64.ts"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC/C,YAAY,EAAE,WAAW,EAAE,CAAC;AAqE5B;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,WAAW,GAAG,UAAU,GAAG,MAAM,GAAG,MAAM,CAmC5E;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,WAAW,CAQrD"}
|