Browse Source
			
			
			Bugfix/improve numeric comparison of strings in value component (#4330)
			
				* Improve numeric comparison of strings
* Update changelog
			
			
				pull/4352/head^2
			
			
		 
		
			
				
					
						
						Thomas Kaul
					
					8 months ago
					
						
							committed by
							
								
								GitHub
							
						 
					
				 
				
			 
		 
		
			
				
					
					No known key found for this signature in database
					
						
							GPG Key ID: B5690EEEBB952194
						
					
				
			
		
		
		
	
		
			
				 2 changed files with 
6 additions and 
2 deletions
			 
			
		 
		
			
				- 
					
					
					 
					CHANGELOG.md
				
 
			
				- 
					
					
					 
					libs/ui/src/lib/value/value.component.html
				
 
			
		
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
			
				
					| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -16,6 +16,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					- Upgraded `prettier` from version `3.4.2` to `3.5.1` | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					### Fixed | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					- Improved the numeric comparison of strings in the value component | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					## 2.140.0 - 2025-02-20 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					### Changed | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  | 
				
			
			
		
	
								
							
						
					 
					
				 
			 
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
			
				
					| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -10,8 +10,8 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    > | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      <ng-container *ngIf="isNumber || value === null"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        <ng-container *ngIf="colorizeSign && !useAbsoluteValue"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          <div *ngIf="value > 0" class="mr-1 text-success">+</div> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          <div *ngIf="value < 0" class="mr-1 text-danger">-</div> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          <div *ngIf="+value > 0" class="mr-1 text-success">+</div> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          <div *ngIf="+value < 0" class="mr-1 text-danger">-</div> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        </ng-container> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        <div | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          *ngIf="isPercent" | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |