mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-10 03:19:44 +00:00
Update dependency typescript to v5.9.2 (#26372)
* Update dependency typescript to v5.9.2 * fix types --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Petar Petrov <MindFreeze@users.noreply.github.com>
This commit is contained in:
@@ -218,7 +218,7 @@
|
|||||||
"tar": "7.4.3",
|
"tar": "7.4.3",
|
||||||
"terser-webpack-plugin": "5.3.14",
|
"terser-webpack-plugin": "5.3.14",
|
||||||
"ts-lit-plugin": "2.0.2",
|
"ts-lit-plugin": "2.0.2",
|
||||||
"typescript": "5.8.3",
|
"typescript": "5.9.2",
|
||||||
"typescript-eslint": "8.39.0",
|
"typescript-eslint": "8.39.0",
|
||||||
"vite-tsconfig-paths": "5.1.4",
|
"vite-tsconfig-paths": "5.1.4",
|
||||||
"vitest": "3.2.4",
|
"vitest": "3.2.4",
|
||||||
|
|||||||
@@ -188,7 +188,7 @@ export class HaComboBox extends LitElement {
|
|||||||
class="input"
|
class="input"
|
||||||
autocapitalize="none"
|
autocapitalize="none"
|
||||||
autocomplete="off"
|
autocomplete="off"
|
||||||
autocorrect="off"
|
.autocorrect=${false}
|
||||||
input-spellcheck="false"
|
input-spellcheck="false"
|
||||||
.suffix=${html`<div
|
.suffix=${html`<div
|
||||||
style="width: 28px;"
|
style="width: 28px;"
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ export class HaPasswordField extends LitElement {
|
|||||||
|
|
||||||
@property() public autocomplete?: string;
|
@property() public autocomplete?: string;
|
||||||
|
|
||||||
@property() public autocorrect?: string;
|
@property({ type: Boolean }) public autocorrect = true;
|
||||||
|
|
||||||
@property({ attribute: "input-spellcheck" })
|
@property({ attribute: "input-spellcheck" })
|
||||||
public inputSpellcheck?: string;
|
public inputSpellcheck?: string;
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ class HaPushNotificationsToggle extends LitElement {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
let applicationServerKey: Uint8Array | null;
|
let applicationServerKey: Uint8Array<ArrayBuffer> | null;
|
||||||
try {
|
try {
|
||||||
applicationServerKey = await getAppKey(this.hass);
|
applicationServerKey = await getAppKey(this.hass);
|
||||||
} catch (_err) {
|
} catch (_err) {
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ export class HaTextField extends TextFieldBase {
|
|||||||
|
|
||||||
@property() public autocomplete?: string;
|
@property() public autocomplete?: string;
|
||||||
|
|
||||||
@property() public autocorrect?: string;
|
@property({ type: Boolean }) public autocorrect = true;
|
||||||
|
|
||||||
@property({ attribute: "input-spellcheck" })
|
@property({ attribute: "input-spellcheck" })
|
||||||
public inputSpellcheck?: string;
|
public inputSpellcheck?: string;
|
||||||
@@ -57,8 +57,8 @@ export class HaTextField extends TextFieldBase {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (changedProperties.has("autocorrect")) {
|
if (changedProperties.has("autocorrect")) {
|
||||||
if (this.autocorrect) {
|
if (this.autocorrect === false) {
|
||||||
this.formElement.setAttribute("autocorrect", this.autocorrect);
|
this.formElement.setAttribute("autocorrect", "off");
|
||||||
} else {
|
} else {
|
||||||
this.formElement.removeAttribute("autocorrect");
|
this.formElement.removeAttribute("autocorrect");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import type { HomeAssistant } from "../types";
|
import type { HomeAssistant } from "../types";
|
||||||
|
|
||||||
function urlBase64ToUint8Array(base64String) {
|
function urlBase64ToUint8Array(base64String: string) {
|
||||||
const padding = "=".repeat((4 - (base64String.length % 4)) % 4);
|
const padding = "=".repeat((4 - (base64String.length % 4)) % 4);
|
||||||
const base64 = (base64String + padding).replace(/-/g, "+").replace(/_/g, "/");
|
const base64 = (base64String + padding).replace(/-/g, "+").replace(/_/g, "/");
|
||||||
|
|
||||||
|
|||||||
@@ -755,7 +755,7 @@ export class EntityRegistrySettingsEditor extends LitElement {
|
|||||||
iconTrailing
|
iconTrailing
|
||||||
autocapitalize="none"
|
autocapitalize="none"
|
||||||
autocomplete="off"
|
autocomplete="off"
|
||||||
autocorrect="off"
|
.autocorrect=${false}
|
||||||
input-spellcheck="false"
|
input-spellcheck="false"
|
||||||
>
|
>
|
||||||
<div class="layout horizontal" slot="trailingIcon">
|
<div class="layout horizontal" slot="trailingIcon">
|
||||||
|
|||||||
@@ -111,7 +111,7 @@ class ZWaveJSCapabilityMultiLevelSwitch extends LitElement {
|
|||||||
).checked;
|
).checked;
|
||||||
|
|
||||||
const startLevel = Number(
|
const startLevel = Number(
|
||||||
(this.shadowRoot!.getElementById("start_level") as HaTextField).value
|
(this.shadowRoot!.getElementById("start_level")! as HaTextField).value
|
||||||
);
|
);
|
||||||
|
|
||||||
const options = {
|
const options = {
|
||||||
|
|||||||
@@ -153,7 +153,7 @@ class HaPanelDevState extends LitElement {
|
|||||||
required
|
required
|
||||||
autocapitalize="none"
|
autocapitalize="none"
|
||||||
autocomplete="off"
|
autocomplete="off"
|
||||||
autocorrect="off"
|
.autocorrect=${false}
|
||||||
input-spellcheck="false"
|
input-spellcheck="false"
|
||||||
.value=${this._state}
|
.value=${this._state}
|
||||||
@change=${this._stateChanged}
|
@change=${this._stateChanged}
|
||||||
|
|||||||
18
yarn.lock
18
yarn.lock
@@ -9520,7 +9520,7 @@ __metadata:
|
|||||||
terser-webpack-plugin: "npm:5.3.14"
|
terser-webpack-plugin: "npm:5.3.14"
|
||||||
tinykeys: "npm:3.0.0"
|
tinykeys: "npm:3.0.0"
|
||||||
ts-lit-plugin: "npm:2.0.2"
|
ts-lit-plugin: "npm:2.0.2"
|
||||||
typescript: "npm:5.8.3"
|
typescript: "npm:5.9.2"
|
||||||
typescript-eslint: "npm:8.39.0"
|
typescript-eslint: "npm:8.39.0"
|
||||||
ua-parser-js: "npm:2.0.4"
|
ua-parser-js: "npm:2.0.4"
|
||||||
vite-tsconfig-paths: "npm:5.1.4"
|
vite-tsconfig-paths: "npm:5.1.4"
|
||||||
@@ -14601,13 +14601,13 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"typescript@npm:5.8.3":
|
"typescript@npm:5.9.2":
|
||||||
version: 5.8.3
|
version: 5.9.2
|
||||||
resolution: "typescript@npm:5.8.3"
|
resolution: "typescript@npm:5.9.2"
|
||||||
bin:
|
bin:
|
||||||
tsc: bin/tsc
|
tsc: bin/tsc
|
||||||
tsserver: bin/tsserver
|
tsserver: bin/tsserver
|
||||||
checksum: 10/65c40944c51b513b0172c6710ee62e951b70af6f75d5a5da745cb7fab132c09ae27ffdf7838996e3ed603bb015dadd099006658046941bd0ba30340cc563ae92
|
checksum: 10/cc2fe6c822819de5d453fa25aa9f32096bf70dde215d481faa1ad84a283dfb264e33988ed8f6d36bc803dd0b16dbe943efa311a798ef76d5b3892a05dfbfd628
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@@ -14621,13 +14621,13 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"typescript@patch:typescript@npm%3A5.8.3#optional!builtin<compat/typescript>":
|
"typescript@patch:typescript@npm%3A5.9.2#optional!builtin<compat/typescript>":
|
||||||
version: 5.8.3
|
version: 5.9.2
|
||||||
resolution: "typescript@patch:typescript@npm%3A5.8.3#optional!builtin<compat/typescript>::version=5.8.3&hash=5786d5"
|
resolution: "typescript@patch:typescript@npm%3A5.9.2#optional!builtin<compat/typescript>::version=5.9.2&hash=5786d5"
|
||||||
bin:
|
bin:
|
||||||
tsc: bin/tsc
|
tsc: bin/tsc
|
||||||
tsserver: bin/tsserver
|
tsserver: bin/tsserver
|
||||||
checksum: 10/b9b1e73dabac5dc730c041325dbd9c99467c1b0d239f1b74ec3b90d831384af3e2ba973946232df670519147eb51a2c20f6f96163cea2b359f03de1e2091cc4f
|
checksum: 10/bd810ab13e8e557225a8b5122370385440b933e4e077d5c7641a8afd207fdc8be9c346e3c678adba934b64e0e70b0acf5eef9493ea05170a48ce22bef845fdc7
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user