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,16 +32,16 @@ export class DeesWysiwygBlock extends DeesElement {
}
}
@property({ type: Object })
public block: IBlock;
accessor block: IBlock;
@property({ type: Boolean })
public isSelected: boolean = false;
accessor isSelected: boolean = false;
@property({ type: Object })
public handlers: IBlockEventHandlers;
accessor handlers: IBlockEventHandlers;
@property({ type: Object })
public wysiwygComponent: any; // Reference to parent dees-input-wysiwyg
accessor wysiwygComponent: any; // Reference to parent dees-input-wysiwyg
// Reference to the editable block element
private blockElement: HTMLDivElement | null = null;