BREAKING CHANGE(decorators): Migrate to TC39 standard decorators (accessor) across components, update tsconfig and bump dependencies

This commit is contained in:
2025-11-17 13:27:11 +00:00
parent 70c29c778c
commit 92f69e2aa6
75 changed files with 2142 additions and 1901 deletions

View File

@@ -32,19 +32,19 @@ export class DeesSlashMenu extends DeesElement {
}
@state()
public visible: boolean = false;
accessor visible: boolean = false;
@state()
private position: { x: number; y: number } = { x: 0, y: 0 };
accessor position: { x: number; y: number } = { x: 0, y: 0 };
@state()
private filter: string = '';
accessor filter: string = '';
@state()
private selectedIndex: number = 0;
accessor selectedIndex: number = 0;
@state()
private menuZIndex: number = 1000;
accessor menuZIndex: number = 1000;
private callback: ((type: string) => void) | null = null;