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

@@ -38,33 +38,31 @@ export class DeesInputRichtext extends DeesInputBase<string> {
type: String,
reflect: true,
})
public value: string = '';
accessor value: string = '';
@property({
type: String,
})
public placeholder: string = '';
accessor placeholder: string = '';
@property({
type: Boolean,
})
public showWordCount: boolean = true;
accessor showWordCount: boolean = true;
@property({
type: Number,
})
public minHeight: number = 200;
accessor minHeight: number = 200;
@state()
public showLinkInput: boolean = false;
accessor showLinkInput: boolean = false;
@state()
public wordCount: number = 0;
accessor wordCount: number = 0;
@query('.editor-content')
private editorElement: HTMLElement;
@query('.link-input input')
private linkInputElement: HTMLInputElement;
public editor: Editor;