From fa5a8a07cadc8d133ded49aea55be61855506a5e Mon Sep 17 00:00:00 2001 From: risadmin_prod Date: Mon, 24 Mar 2025 03:36:38 +0000 Subject: [PATCH] build_app --- .../Builders/Services/BuilderService.java | 3 + .../Controllers/Emp_detailsController.java | 115 +++++ .../realnet/vpspack/Entity/Emp_details.java | 42 ++ .../Repository/Emp_detailsRepository.java | 34 ++ .../vpspack/Services/Emp_detailsService.java | 114 +++++ .../authsec_mysql/mysql/wf_table/wf_table.sql | 2 + .../Emp_details/Emp_details.component.html | 459 ++++++++++++++++++ .../Emp_details/Emp_details.component.scss | 78 +++ .../Emp_details/Emp_details.component.ts | 314 ++++++++++++ .../Emp_details/Emp_details.service.ts | 43 ++ .../Emp_details/Emp_details_cardvariable.ts | 4 + .../app/modules/main/main-routing.module.ts | 4 + .../src/app/modules/main/main.module.ts | 4 + .../src/assets/i18n/en.json | 12 +- 14 files changed, 1222 insertions(+), 6 deletions(-) create mode 100644 test24march-back-b/authsec_springboot/backend/src/main/java/com/realnet/vpspack/Controllers/Emp_detailsController.java create mode 100644 test24march-back-b/authsec_springboot/backend/src/main/java/com/realnet/vpspack/Entity/Emp_details.java create mode 100644 test24march-back-b/authsec_springboot/backend/src/main/java/com/realnet/vpspack/Repository/Emp_detailsRepository.java create mode 100644 test24march-back-b/authsec_springboot/backend/src/main/java/com/realnet/vpspack/Services/Emp_detailsService.java create mode 100755 test24march-db-d/authsec_mysql/mysql/wf_table/wf_table.sql create mode 100644 test24march-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/vpspack/Emp_details/Emp_details.component.html create mode 100644 test24march-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/vpspack/Emp_details/Emp_details.component.scss create mode 100644 test24march-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/vpspack/Emp_details/Emp_details.component.ts create mode 100644 test24march-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/vpspack/Emp_details/Emp_details.service.ts create mode 100644 test24march-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/vpspack/Emp_details/Emp_details_cardvariable.ts diff --git a/test24march-back-b/authsec_springboot/backend/src/main/java/com/realnet/Builders/Services/BuilderService.java b/test24march-back-b/authsec_springboot/backend/src/main/java/com/realnet/Builders/Services/BuilderService.java index 11edc5f..1724d70 100644 --- a/test24march-back-b/authsec_springboot/backend/src/main/java/com/realnet/Builders/Services/BuilderService.java +++ b/test24march-back-b/authsec_springboot/backend/src/main/java/com/realnet/Builders/Services/BuilderService.java @@ -69,6 +69,9 @@ public class BuilderService { executeDump(true); // ADD OTHER SERVICE +addCustomMenu( "Emp_details", "Transcations"); + + System.out.println("dashboard and menu inserted..."); diff --git a/test24march-back-b/authsec_springboot/backend/src/main/java/com/realnet/vpspack/Controllers/Emp_detailsController.java b/test24march-back-b/authsec_springboot/backend/src/main/java/com/realnet/vpspack/Controllers/Emp_detailsController.java new file mode 100644 index 0000000..9be40d1 --- /dev/null +++ b/test24march-back-b/authsec_springboot/backend/src/main/java/com/realnet/vpspack/Controllers/Emp_detailsController.java @@ -0,0 +1,115 @@ +package com.realnet.vpspack.Controllers; +import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; + import org.springframework.web.bind.annotation.*; +import org.springframework.web.multipart.MultipartFile; +import com.fasterxml.jackson.core.JsonProcessingException; +import org.springframework.web.bind.annotation.CrossOrigin; +import com.fasterxml.jackson.databind.JsonMappingException; +import com.realnet.config.EmailService; +import com.realnet.users.entity1.AppUser; +import com.realnet.users.service1.AppUserServiceImpl; +import com.fasterxml.jackson.databind.ObjectMapper; +import org.springframework.data.domain.Page; +import org.springframework.data.domain.PageRequest; +import org.springframework.http.ResponseEntity; +import org.springframework.data.domain.Pageable; +import org.springframework.beans.factory.annotation.*; +import com.realnet.vpspack.Entity.Emp_details; +import com.realnet.vpspack.Services.Emp_detailsService ; + + + + + + + + + + +@RequestMapping(value = "/Emp_details") + @CrossOrigin("*") +@RestController +public class Emp_detailsController { + @Autowired + private Emp_detailsService Service; + +@Value("${projectPath}") + private String projectPath; + + + + + + + + + + + + @PostMapping("/Emp_details") + public Emp_details Savedata(@RequestBody Emp_details data) { + Emp_details save = Service.Savedata(data) ; + + + + + + + + + + System.out.println("data saved..." + save); + + return save; + } +@PutMapping("/Emp_details/{id}") + public Emp_details update(@RequestBody Emp_details data,@PathVariable Integer id ) { + Emp_details update = Service.update(data,id); + System.out.println("data update..." + update); + return update; + } +// get all with pagination + @GetMapping("/Emp_details/getall/page") + public Page getall(@RequestParam(value = "page", required = false) Integer page, + @RequestParam(value = "size", required = false) Integer size) { + Pageable paging = PageRequest.of(page, size); + Page get = Service.getAllWithPagination(paging); + + return get; + + } + @GetMapping("/Emp_details") + public List getdetails() { + List get = Service.getdetails(); + return get; +} +// get all without authentication + + @GetMapping("/token/Emp_details") + public List getallwioutsec() { + List get = Service.getdetails(); + return get; +} +@GetMapping("/Emp_details/{id}") + public Emp_details getdetailsbyId(@PathVariable Integer id ) { + Emp_details get = Service.getdetailsbyId(id); + return get; + } +@DeleteMapping("/Emp_details/{id}") + public void delete_by_id(@PathVariable Integer id ) { + Service.delete_by_id(id); + + } + + + + + + + + + + + +} \ No newline at end of file diff --git a/test24march-back-b/authsec_springboot/backend/src/main/java/com/realnet/vpspack/Entity/Emp_details.java b/test24march-back-b/authsec_springboot/backend/src/main/java/com/realnet/vpspack/Entity/Emp_details.java new file mode 100644 index 0000000..284b4c3 --- /dev/null +++ b/test24march-back-b/authsec_springboot/backend/src/main/java/com/realnet/vpspack/Entity/Emp_details.java @@ -0,0 +1,42 @@ +package com.realnet.vpspack.Entity; + import lombok.*; +import com.realnet.WhoColumn.Entity.Extension; + import javax.persistence.*; + import java.time.LocalDateTime; + import java.util.*; + + + + + + + + + + + + @Entity + @Data + public class Emp_details extends Extension { + /** + * + */ + private static final long serialVersionUID = 1L; + + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + private Integer id; + +private String first_name; + +private String last_name; + +@Column(length = 2000) +private String description; + +private String status; + +private boolean active; + + +} diff --git a/test24march-back-b/authsec_springboot/backend/src/main/java/com/realnet/vpspack/Repository/Emp_detailsRepository.java b/test24march-back-b/authsec_springboot/backend/src/main/java/com/realnet/vpspack/Repository/Emp_detailsRepository.java new file mode 100644 index 0000000..03f390c --- /dev/null +++ b/test24march-back-b/authsec_springboot/backend/src/main/java/com/realnet/vpspack/Repository/Emp_detailsRepository.java @@ -0,0 +1,34 @@ +package com.realnet.vpspack.Repository; + + +import org.springframework.data.domain.Page; +import org.springframework.data.domain.Pageable; +import org.springframework.data.jpa.repository.JpaRepository; +import org.springframework.data.jpa.repository.Query; + +import org.springframework.stereotype.Repository; +import java.util.*; + + + + + + + + + + + + + +import com.realnet.vpspack.Entity.Emp_details; + +@Repository +public interface Emp_detailsRepository extends JpaRepository { + +@Query(value = "select * from emp_details where created_by=?1", nativeQuery = true) + List findAll(Long creayedBy); + +@Query(value = "select * from emp_details where created_by=?1", nativeQuery = true) + Page findAll(Pageable page, Long creayedBy); +} \ No newline at end of file diff --git a/test24march-back-b/authsec_springboot/backend/src/main/java/com/realnet/vpspack/Services/Emp_detailsService.java b/test24march-back-b/authsec_springboot/backend/src/main/java/com/realnet/vpspack/Services/Emp_detailsService.java new file mode 100644 index 0000000..0510482 --- /dev/null +++ b/test24march-back-b/authsec_springboot/backend/src/main/java/com/realnet/vpspack/Services/Emp_detailsService.java @@ -0,0 +1,114 @@ +package com.realnet.vpspack.Services; +import com.realnet.vpspack.Repository.Emp_detailsRepository; +import com.realnet.vpspack.Entity.Emp_details;import java.util.List; +import java.util.ArrayList; + +import org.springframework.beans.factory.annotation.Autowired; +import com.realnet.SequenceGenerator.Service.SequenceService; +import com.realnet.Notification.Entity.NotificationService; +import org.springframework.data.domain.Page; +import com.realnet.realm.Entity.Realm; +import com.realnet.realm.Services.RealmService;import org.springframework.data.domain.Pageable; +import org.springframework.http.ResponseEntity; +import com.realnet.users.service1.AppUserServiceImpl; +import org.springframework.http.HttpStatus; +import com.realnet.users.entity1.AppUser; + + + + + + + + + + + import org.springframework.stereotype.Service; + +@Service + public class Emp_detailsService { +@Autowired +private Emp_detailsRepository Repository; + @Autowired + private AppUserServiceImpl userService; +@Autowired + private RealmService realmService; + + + + + + + + + +public Emp_details Savedata(Emp_details data) { + + + + + + + + + + + data.setUpdatedBy(getUser().getUserId()); + data.setCreatedBy(getUser().getUserId()); + data.setAccountId(getUser().getAccount().getAccount_id()); +Emp_details save = Repository.save(data); + return save; + } + + +// get all with pagination + public Page getAllWithPagination(Pageable page) { + return Repository.findAll(page, getUser().getUserId()); + } +public List getdetails() { + List realm = realmService.findByUserId(getUser().getUserId()); +List all = Repository.findAll(getUser().getUserId()); + + return all ; } + + +public Emp_details getdetailsbyId(Integer id) { + return Repository.findById(id).get(); + } + + + public void delete_by_id(Integer id) { + Repository.deleteById(id); +} + + +public Emp_details update(Emp_details data,Integer id) { + Emp_details old = Repository.findById(id).get(); +old.setFirst_name(data.getFirst_name()); + +old.setLast_name(data.getLast_name()); + +old.setDescription(data.getDescription()); + +old.setStatus(data.getStatus()); + +old.setActive (data.isActive()); + +final Emp_details test = Repository.save(old); + data.setUpdatedBy(getUser().getUserId()); + return test;} + + + + + + + + + + + public AppUser getUser() { + AppUser user = userService.getLoggedInUser(); + return user; + + }} diff --git a/test24march-db-d/authsec_mysql/mysql/wf_table/wf_table.sql b/test24march-db-d/authsec_mysql/mysql/wf_table/wf_table.sql new file mode 100755 index 0000000..c644cc1 --- /dev/null +++ b/test24march-db-d/authsec_mysql/mysql/wf_table/wf_table.sql @@ -0,0 +1,2 @@ +CREATE TABLE db.Emp_details(id BIGINT NOT NULL AUTO_INCREMENT, active VARCHAR(400), first_name VARCHAR(400), description VARCHAR(400), last_name VARCHAR(400), status VARCHAR(400), PRIMARY KEY (id)); + diff --git a/test24march-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/vpspack/Emp_details/Emp_details.component.html b/test24march-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/vpspack/Emp_details/Emp_details.component.html new file mode 100644 index 0000000..2191d02 --- /dev/null +++ b/test24march-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/vpspack/Emp_details/Emp_details.component.html @@ -0,0 +1,459 @@ + +
+
+
+

Emp_details

+
+
+ + + +
+ + + + Loading ... + +
{{error}}
+
+ + First name + + + + last name + + + + Description + + + + status + + + + Active + + + + + + Action + + + + + +{{user. first_name }} + + +{{user. last_name }} + + + + + + +{{user. status }} + + +{{user. active }} + + + + + + + +
Who Column
+
Account ID: {{user.accountId}}
+
Created At: {{user.createdAt| date}}
+
Created By: {{user.createdBy}}
+
Updated At: {{user.updatedAt | date}}
+
Updated By: {{user.updatedBy}}
+
+
+
+ + + + + + + +
+ + + Users per page + {{pagination.firstItem + 1}} - {{pagination.lastItem + 1}} + of {{pagination.totalItems}} users + + +
+ + + +
+
+
+
+
+
+ +
+
+ {{beforeText(item.fieldtext)}} + {{ app[transform(item.fieldtext) ] }} + {{afterText(item.fieldtext)}} +
+ +
+ {{beforeText(item.fieldtext)}} + {{ app[transform(item.fieldtext) ] | date}} + {{afterText(item.fieldtext)}} +
+
+ {{beforeText(item.fieldtext)}} + {{ app[transform(item.fieldtext) ]}} + {{afterText(item.fieldtext)}} +
+ +
+
+
+ + +
+ +
+ +
File Preview
+
+
+
+
+
+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test24march-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/vpspack/Emp_details/Emp_details.component.scss b/test24march-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/vpspack/Emp_details/Emp_details.component.scss new file mode 100644 index 0000000..c47b921 --- /dev/null +++ b/test24march-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/vpspack/Emp_details/Emp_details.component.scss @@ -0,0 +1,78 @@ +//@import "../../../../assets/scss/var"; +.s-info-bar { + display: flex; + flex-direction: row; + justify-content: space-between; + button { + outline: none; + } +} +.delete,.heading{ + text-align: center; + color: red; +} +.entry-pg { + width: 750px; +} + +.button1::after { + content: none; +} +.button1:hover::after { + content: "ADD ROWS"; +} + +.section { + background-color: #dddddd; + height: 40px; +} + +.section p { + //color: white; + padding: 10px; + font-size: 18px; +} + +.clr-input { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + padding: 0.75rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; +} + +.clr-file { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + //padding: 0.6rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; +} + +.center { + text-align: center; +} +select{ + width: 100%; + margin-top: 3px; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; +} +input[type=text],[type=date],[type=number],textarea { + width: 100%; + padding: 15px 15px; + background-color:rgb(255, 255, 255); + // margin: 8px 0; + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; +} +.error_mess { + color: red; +} diff --git a/test24march-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/vpspack/Emp_details/Emp_details.component.ts b/test24march-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/vpspack/Emp_details/Emp_details.component.ts new file mode 100644 index 0000000..36b6482 --- /dev/null +++ b/test24march-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/vpspack/Emp_details/Emp_details.component.ts @@ -0,0 +1,314 @@ +import { Component, OnInit } from '@angular/core'; +import { ToastrService } from 'ngx-toastr'; +import { AlertService } from 'src/app/services/alert.service'; +import { Emp_detailsservice} from './Emp_details.service'; +import { AbstractControl, FormArray, FormBuilder, FormGroup, Validators, ValidationErrors } from '@angular/forms'; +import { ExtensionService } from 'src/app/services/fnd/extension.service'; +import { DashboardContentModel2 } from 'src/app/models/builder/dashboard'; +import { Emp_detailscardvariable } from './Emp_details_cardvariable'; +import { UserInfoService } from 'src/app/services/user-info.service'; +declare var JsBarcode: any; +@Component({ + selector: 'app-Emp_details', + templateUrl: './Emp_details.component.html', + styleUrls: ['./Emp_details.component.scss'] +}) +export class Emp_detailsComponent implements OnInit { + cardButton = Emp_detailscardvariable.cardButton; + cardmodeldata = Emp_detailscardvariable.cardmodeldata; + public dashboardArray: DashboardContentModel2[]; + isCardview = Emp_detailscardvariable.cardButton; + cardmodal; changeView(){ + this.isCardview = !this.isCardview; + } + beforeText(fieldtext: string): string { // Extract the text before the first '<' + const index = fieldtext.indexOf('<'); + return index !== -1 ? fieldtext.substring(0, index) : fieldtext; + } + afterText(fieldtext: string): string { // Extract the text after the last '>' + const index = fieldtext.lastIndexOf('>'); + return index !== -1 ? fieldtext.substring(index + 1) : ''; + } + transform(fieldtext: string): string { + const match = fieldtext.match(/<([^>]*)>/); + return match ? match[1] : ''; // Extract the text between '<' and '>' + } + userrole; + rowSelected :any= {}; + modaldelete=false; + modalEdit=false; + modalAdd= false; + public entryForm: FormGroup; + loading = false; + product; + modalOpenedforNewLine = false; + newLine:any; + additionalFieldsFromBackend: any[] = []; + formcode = 'Emp_details_formCode' +tableName = 'Emp_details'; checkFormCode; selected: any[] = []; constructor( + private extensionService: ExtensionService, +private userInfoService:UserInfoService, + private mainService:Emp_detailsservice, + private alertService: AlertService, + private toastr: ToastrService, + private _fb: FormBuilder, + ) { } +// component button + ngOnInit(): void { + if(this.cardmodeldata !== ''){ + this.cardmodal = JSON.parse(this.cardmodeldata); + this.dashboardArray = this.cardmodal.dashboard.slice(); + console.log(this.dashboardArray) + } + this.userrole=this.userInfoService.getRoles(); + this.getData(); + this.entryForm = this._fb.group({ +first_name : [null], + +last_name : [null], + +description : [null], + +status : [null], + +active : [false], + + + + + + + + + + + + + }); // component_button200 + // form code start + this.extensionService.getJsonObjectsByFormCodeList(this.formcode).subscribe(data => { + console.log(data); + const jsonArray = data.map((str) => JSON.parse(str)); + this.additionalFieldsFromBackend = jsonArray; + this.checkFormCode = this.additionalFieldsFromBackend.some(field => field.formCode === "Emp_details_formCode"); + console.log(this.checkFormCode); + console.log(this.additionalFieldsFromBackend); + if (this.additionalFieldsFromBackend && this.additionalFieldsFromBackend.length > 0) { + this.additionalFieldsFromBackend.forEach(field => { + if (field.formCode === this.formcode) { + if (!this.entryForm.contains(field.extValue)) { + // Add the control only if it doesn't exist in the form + this.entryForm.addControl(field.extValue, this._fb.control(field.fieldValue)); + } + } + }); + } + }); + console.log(this.entryForm.value); + // form code end + + + + + + + + + + + + } + + + + + + + + + + + error; + getData() { + this.mainService.getAll().subscribe((data) => { + console.log(data); + this.product = data; + if(this.product.length==0){ + this.error="No Data Available" + } + },(error) => { + console.log(error); + if(error){ + this.error="Server Error"; + } + }); + } + onEdit(row) { + this.rowSelected = row; + + + + + + + + + + + + this.modalEdit = true; + } + onDelete(row) { + this.rowSelected = row; + this.modaldelete=true; + } + delete(id) + { + this.modaldelete = false; + console.log("in delete "+id); + this.mainService.delete(id).subscribe( + (data) => { + console.log(data); + this.ngOnInit(); + if (data) { this.toastr.success('Deleted successfully'); } + }); + } + onUpdate(id) { + this.modalEdit = false; + + + + + + + + + + + //console.log("in update"); + console.log("id " + id); + console.log(this.rowSelected); + //console.log("out update"); + this.mainService.update(id, this.rowSelected).subscribe( + (data) => { + console.log(data); + if (data || data.status >= 200 && data.status <= 299) { + this.toastr.success("Update Successfully"); + } + + + + + + + + + + + + }, (error) => { + console.log(error); + if (error.status >= 200 && error.status <= 299) { + // this.toastr.success("update Succesfully"); + } + if (error.status >= 400 && error.status <= 499) { + this.toastr.error("Not Updated"); + } + if (error.status >= 500 && error.status <= 599) { + this.toastr.error("Not Updated"); + } + }); + setTimeout(() => { + this.ngOnInit(); + }, 500); + } +onCreate() { + this.modalAdd=false; + + + + + + + + + + + this.mainService.create(this.entryForm.value).subscribe( + (data) => { + console.log(data); + if (data || data.status >= 200 && data.status <= 299) { + this.toastr.success("Added Successfully"); + } + + + + + + + + + + + + }, (error) => { + console.log(error); + if (error.status >= 200 && error.status <= 299) { + // this.toastr.success("Added Succesfully"); + } + if (error.status >= 400 && error.status <= 499) { + this.toastr.error("Not Added"); + } + if (error.status >= 500 && error.status <= 599) { + this.toastr.error("Not Added"); + } + }); + setTimeout(() => { + this.ngOnInit(); + }, 500); + } + goToAdd(row) { +this.modalAdd = true; this.submitted = false; + + + + + + + + + + + } + submitted = false; +onSubmit() { + console.log(this.entryForm.value); + this.submitted = true; + if (this.entryForm.invalid) { + return; + }this.onCreate(); + +} + + + + +rsModaldescription = false; +goToReplaceStringdescription(row){ +this.rowSelected = row; this.rsModaldescription =true; } + + + + + +// updateaction +} + + + + + + + + + diff --git a/test24march-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/vpspack/Emp_details/Emp_details.service.ts b/test24march-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/vpspack/Emp_details/Emp_details.service.ts new file mode 100644 index 0000000..73e660e --- /dev/null +++ b/test24march-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/vpspack/Emp_details/Emp_details.service.ts @@ -0,0 +1,43 @@ +import { Injectable } from '@angular/core'; +import { Observable } from "rxjs"; +import { HttpClient, HttpHeaders, HttpParams, } from "@angular/common/http"; +import { ApiRequestService } from "src/app/services/api/api-request.service"; +import { environment } from 'src/environments/environment'; +@Injectable({ + providedIn: 'root' +}) +export class Emp_detailsservice{ + private baseURL = "Emp_details/Emp_details" ; constructor( + private http: HttpClient, + private apiRequest: ApiRequestService, + ) { } + getAll(page?: number, size?: number): Observable { + return this.apiRequest.get(this.baseURL); + } + getById(id: number): Observable { + const _http = this.baseURL + "/" + id; + return this.apiRequest.get(_http); + } + create(data: any): Observable { + return this.apiRequest.post(this.baseURL, data); + } + update(id: number, data: any): Observable { + const _http = this.baseURL + "/" + id; + return this.apiRequest.put(_http, data); + } + delete(id: number): Observable { + const _http = this.baseURL + "/" + id; + return this.apiRequest.delete(_http); + } + + + + + + + + + + +// updateaction +} \ No newline at end of file diff --git a/test24march-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/vpspack/Emp_details/Emp_details_cardvariable.ts b/test24march-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/vpspack/Emp_details/Emp_details_cardvariable.ts new file mode 100644 index 0000000..dfdb526 --- /dev/null +++ b/test24march-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/vpspack/Emp_details/Emp_details_cardvariable.ts @@ -0,0 +1,4 @@ +export const Emp_detailscardvariable = { + "cardButton": false, + "cardmodeldata": `` +} \ No newline at end of file diff --git a/test24march-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/main-routing.module.ts b/test24march-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/main-routing.module.ts index fb9e70c..2114e08 100644 --- a/test24march-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/main-routing.module.ts +++ b/test24march-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/main-routing.module.ts @@ -1,3 +1,4 @@ +import { Emp_detailsComponent } from './BuilderComponents/vpspack/Emp_details/Emp_details.component'; import { SequencegenaratorComponent } from './fnd/sequencegenarator/sequencegenarator.component'; import { Component, NgModule } from '@angular/core'; @@ -241,6 +242,9 @@ const routes: Routes = [ // buildercomponents +{path:'Emp_details',component:Emp_detailsComponent}, + + diff --git a/test24march-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/main.module.ts b/test24march-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/main.module.ts index cccc926..ebf665c 100644 --- a/test24march-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/main.module.ts +++ b/test24march-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/main.module.ts @@ -1,3 +1,4 @@ +import { Emp_detailsComponent } from './BuilderComponents/vpspack/Emp_details/Emp_details.component'; import { SequencegenaratorComponent } from './fnd/sequencegenarator/sequencegenarator.component'; @@ -142,6 +143,9 @@ import { MappingruleeditComponent } from './datamanagement/mappingrule/mappingru // buildercomponents +Emp_detailsComponent, + + diff --git a/test24march-front-f/authsec_angular/frontend/angular-clarity-master/src/assets/i18n/en.json b/test24march-front-f/authsec_angular/frontend/angular-clarity-master/src/assets/i18n/en.json index ae5b788..9fb433b 100644 --- a/test24march-front-f/authsec_angular/frontend/angular-clarity-master/src/assets/i18n/en.json +++ b/test24march-front-f/authsec_angular/frontend/angular-clarity-master/src/assets/i18n/en.json @@ -226,10 +226,10 @@ "MENU_ACTION_LINK": "Menu Action Link", "STATUS": "Status", "SUB_MENU": "Sub Menu", - "Stt": "Stt", - "OneToManyExtension": "OneToManyExtension", - "studentname": "studentname", - "description": "description", - "Studenthigh": "Studenthigh", - "Name": "Name" + "Active": "Active", + "First_name": "First_name", + "Description": "Description", + "Emp_details": "Emp_details", + "last_name": "last_name", + "status": "status" } \ No newline at end of file