AI-generated code updates
This commit is contained in:
		
							parent
							
								
									fda5248cd9
								
							
						
					
					
						commit
						d3a2103580
					
				| @ -144,3 +144,38 @@ | ||||
|         </form> | ||||
|     </div> | ||||
|        | ||||
| 
 | ||||
| # AI Generated Changes: | ||||
| ``` | ||||
| ```diff | ||||
| --- a/test15july-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/login-page/login-page.component.html | ||||
| +++ b/test15july-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/login-page/login-page.component.html | ||||
| @@ -72,7 +72,7 @@ | ||||
|      <form class="login"> | ||||
|        <section class="title"> | ||||
|          <h3 class="welcome">{{ loginEnvironment.loginHeading | sanitize}}</h3> | ||||
| -        {{ loginEnvironment.loginHeading2 | sanitize }} | ||||
| +        <span [innerHTML]="loginEnvironment.loginHeading2 | sanitize"></span> | ||||
|          <h5 class="hint" *ngIf="loginEnvironment.isSignup === 'true'">{{ loginEnvironment.loginSignup | sanitize}} <a [routerLink]="['/email-verification']" class="signup">{{ loginEnvironment.loginSignup2 | sanitize}}  </a> </h5> | ||||
|        </section> | ||||
|        <div class="login-group"> | ||||
| @@ -106,7 +106,7 @@ | ||||
|      <form class="login"> | ||||
|        <section class="title"> | ||||
|          <h3 class="welcome">{{ loginEnvironment.loginHeading | sanitize}}</h3> | ||||
| -        {{ loginEnvironment.loginHeading2 | sanitize }} | ||||
| +        <span [innerHTML]="loginEnvironment.loginHeading2 | sanitize"></span> | ||||
|          <h5 class="hint" *ngIf="loginEnvironment.isSignup === 'true'">{{ loginEnvironment.loginSignup | sanitize}} <a [routerLink]="['/email-verification']" class="signup">{{ loginEnvironment.loginSignup2 | sanitize}}  </a> </h5> | ||||
|        </section> | ||||
|        <div class="login-group"> | ||||
| @@ -139,7 +139,7 @@ | ||||
|          <form class="login"> | ||||
|            <section class="title"> | ||||
|              <h3 class="welcome">{{ loginEnvironment.loginHeading | sanitize}}</h3> | ||||
| -            {{ loginEnvironment.loginHeading2 | sanitize}} | ||||
| +            <span [innerHTML]="loginEnvironment.loginHeading2 | sanitize"></span> | ||||
|              <h5 class="hint" *ngIf="loginEnvironment.isSignup === 'true'">{{ loginEnvironment.loginSignup | sanitize}} <a [routerLink]="['/email-verification']" class="signup">{{ loginEnvironment.loginSignup2 | sanitize}}  </a> </h5> | ||||
|            </section> | ||||
|            <div class="login-group"> | ||||
| ``` | ||||
| ``` | ||||
|  | ||||
| @ -374,3 +374,20 @@ | ||||
| 
 | ||||
| 
 | ||||
|   <!-- htmlpopup --> | ||||
| 
 | ||||
| 
 | ||||
| # AI Generated Changes: | ||||
| ``` | ||||
| ```diff | ||||
| --- a/test15july-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/basic/Testw/Testw.component.html | ||||
| +++ b/test15july-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/basic/Testw/Testw.component.html | ||||
| @@ -60,7 +60,7 @@ | ||||
|            [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"     	 [style.background-color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditionbackgroundcolor : item.backgroundcolor" | ||||
|            [style.color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditiontextcolor : item.textcolor"> | ||||
|             {{beforeText(item.fieldtext)}} | ||||
| -          {{ app[transform(item.fieldtext) ] }} | ||||
| +          <span [innerHTML]="app[transform(item.fieldtext) ] | sanitize"></span> | ||||
|            {{afterText(item.fieldtext)}} | ||||
|            </div> | ||||
| ``` | ||||
| ``` | ||||
|  | ||||
| @ -403,3 +403,18 @@ | ||||
| 
 | ||||
| 
 | ||||
| <!-- htmlpopup --> | ||||
| 
 | ||||
| # AI Generated Changes: | ||||
| ``` | ||||
| ```diff | ||||
| --- a/test15july-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/stepperworkflow/Stepper_workflow/Stepper_workflow.component.html | ||||
| +++ b/test15july-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/stepperworkflow/Stepper_workflow/Stepper_workflow.component.html | ||||
| @@ -72,7 +72,7 @@ | ||||
|            [style.color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditiontextcolor : item.textcolor"> | ||||
|                        {{beforeText(item.fieldtext)}} | ||||
|                        {{ app[transform(item.fieldtext) ] }} | ||||
| -                      {{afterText(item.fieldtext)}} | ||||
| +                      <span [innerHTML]="afterText(item.fieldtext) | sanitize"></span> | ||||
|                      </div> | ||||
| ``` | ||||
| ``` | ||||
|  | ||||
| @ -29,3 +29,34 @@ import { RemoveCommasPipe } from './remove-commas.pipe'; | ||||
|   ] | ||||
| }) | ||||
| export class HelperModule { } | ||||
| 
 | ||||
| 
 | ||||
| # AI Generated Changes: | ||||
| ``` | ||||
| ```diff
 | ||||
| --- a/test15july-front-f/authsec_angular/frontend/angular-clarity-master/src/app/pipes/helpers.module.ts | ||||
| +++ b/test15july-front-f/authsec_angular/frontend/angular-clarity-master/src/app/pipes/helpers.module.ts | ||||
| @@ -5,6 +5,7 @@ | ||||
|  import {TimePipePipe} from './time-pipe.pipe'; | ||||
|  import { SearchFilterPipe } from './search-filter.pipe'; | ||||
|  import { RemoveCommasPipe } from './remove-commas.pipe'; | ||||
| +import { SanitizePipe } from './sanitize.pipe'; // Import the pipe
 | ||||
|  @NgModule({ | ||||
|    imports: [ | ||||
| @@ -16,6 +17,7 @@ | ||||
|      TimePipePipe, | ||||
|      SearchFilterPipe, | ||||
|      RemoveCommasPipe, | ||||
| +    SanitizePipe, // Add to declarations
 | ||||
|    ], | ||||
|    exports: [ | ||||
|      ThaiDatePipe, | ||||
| @@ -23,6 +25,7 @@ | ||||
|      TimePipePipe, | ||||
|      SearchFilterPipe, | ||||
|      RemoveCommasPipe, | ||||
| +    SanitizePipe, // Add to exports
 | ||||
|    ] | ||||
|  }) | ||||
|  export class HelperModule { } | ||||
| ``` | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 root
						root