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

@@ -27,33 +27,33 @@ export class DeesInputText extends DeesInputBase {
type: String,
reflect: true,
})
public value: string = '';
accessor value: string = '';
@property({
type: Boolean,
reflect: true,
})
public isPasswordBool = false;
accessor isPasswordBool = false;
@property({
type: Boolean,
reflect: true,
})
public showPasswordBool = false;
accessor showPasswordBool = false;
@property({
type: Boolean,
reflect: true,
})
public validationState: 'valid' | 'warn' | 'invalid';
accessor validationState: 'valid' | 'warn' | 'invalid';
@property({
reflect: true,
})
public validationText: string = '';
accessor validationText: string = '';
@property({})
validationFunction: (value: string) => boolean;
accessor validationFunction: (value: string) => boolean;
public static styles = [
...DeesInputBase.baseStyles,