remove unused codes and update

This commit is contained in:
2026-05-10 09:44:30 +03:30
parent a138034c06
commit 048e292bdd
107 changed files with 317 additions and 17930 deletions
@@ -68,6 +68,7 @@ export class InputComponent {
@Input() min?: number;
@Input() max?: number;
@Input() fixed?: number;
@Input() numericValue?: number;
@Output() valueChange = new EventEmitter<string | number>();
@Output() blur = new EventEmitter<void>();
@@ -263,15 +264,7 @@ export class InputComponent {
numericValue = Number.isNaN(parseFloat(value)) ? 0 : parseFloat(value);
}
const isIdentifierField = [
'nationalId',
'phone',
'postalCode',
'mobile',
'email',
'password',
'simple',
].includes(this.type);
const isIdentifierField = !this.numericValue;
this.control.setValue(isIdentifierField ? value : value === '' ? '' : numericValue);
const viewValue = isPriceFormat && value !== '' ? numericValue.toLocaleString('en-US') : value;