diff --git a/test1408-test1308-b-b/authsec_springboot/backend/src/main/java/com/realnet/Builders/Services/BuilderService.java b/test1408-test1308-b-b/authsec_springboot/backend/src/main/java/com/realnet/Builders/Services/BuilderService.java index 931ca7c..0ed7bea 100644 --- a/test1408-test1308-b-b/authsec_springboot/backend/src/main/java/com/realnet/Builders/Services/BuilderService.java +++ b/test1408-test1308-b-b/authsec_springboot/backend/src/main/java/com/realnet/Builders/Services/BuilderService.java @@ -46,6 +46,9 @@ public class BuilderService { public void callotherService() { // ADD OTHER SERVICE +addCustomMenu( "Name", "Transcations"); + + diff --git a/test1408-test1308-b-b/authsec_springboot/backend/src/main/java/com/realnet/test13/Controllers/NameController.java b/test1408-test1308-b-b/authsec_springboot/backend/src/main/java/com/realnet/test13/Controllers/NameController.java new file mode 100644 index 0000000..d458373 --- /dev/null +++ b/test1408-test1308-b-b/authsec_springboot/backend/src/main/java/com/realnet/test13/Controllers/NameController.java @@ -0,0 +1,86 @@ +package com.realnet.test13.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.data.domain.Pageable; +import org.springframework.beans.factory.annotation.*; +import com.realnet.test13.Entity.Name; +import com.realnet.test13.Services.NameService ; +@RequestMapping(value = "/Name") + @CrossOrigin("*") +@RestController +public class NameController { + @Autowired + private NameService Service; + +@Value("${projectPath}") + private String projectPath; + + + + + + + + @PostMapping("/Name") + public Name Savedata(@RequestBody Name data) { + Name save = Service.Savedata(data) ; + + + + + + System.out.println("data saved..." + save); + + return save; + } +@PutMapping("/Name/{id}") + public Name update(@RequestBody Name data,@PathVariable Integer id ) { + Name update = Service.update(data,id); + System.out.println("data update..." + update); + return update; + } +// get all with pagination + @GetMapping("/Name/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("/Name") + public List getdetails() { + List get = Service.getdetails(); + return get; +} +// get all without authentication + + @GetMapping("/token/Name") + public List getallwioutsec() { + List get = Service.getdetails(); + return get; +} +@GetMapping("/Name/{id}") + public Name getdetailsbyId(@PathVariable Integer id ) { + Name get = Service.getdetailsbyId(id); + return get; + } +@DeleteMapping("/Name/{id}") + public void delete_by_id(@PathVariable Integer id ) { + Service.delete_by_id(id); + + } + +} \ No newline at end of file diff --git a/test1408-test1308-b-b/authsec_springboot/backend/src/main/java/com/realnet/test13/Entity/Name.java b/test1408-test1308-b-b/authsec_springboot/backend/src/main/java/com/realnet/test13/Entity/Name.java new file mode 100644 index 0000000..03db431 --- /dev/null +++ b/test1408-test1308-b-b/authsec_springboot/backend/src/main/java/com/realnet/test13/Entity/Name.java @@ -0,0 +1,34 @@ +package com.realnet.test13.Entity; + import lombok.*; +import com.realnet.WhoColumn.Extension; + import javax.persistence.*; + import java.time.LocalDateTime; + import java.util.*; + + + + + + + + @Entity + @Data + public class Name extends Extension { + /** + * + */ + private static final long serialVersionUID = 1L; + + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + private Integer id; + +private String name; + +@Column(length = 2000) +private String description; + +private boolean active; + + +} diff --git a/test1408-test1308-b-b/authsec_springboot/backend/src/main/java/com/realnet/test13/Repository/NameRepository.java b/test1408-test1308-b-b/authsec_springboot/backend/src/main/java/com/realnet/test13/Repository/NameRepository.java new file mode 100644 index 0000000..a9a7e1a --- /dev/null +++ b/test1408-test1308-b-b/authsec_springboot/backend/src/main/java/com/realnet/test13/Repository/NameRepository.java @@ -0,0 +1,21 @@ +package com.realnet.test13.Repository; + + +import org.springframework.data.jpa.repository.JpaRepository; + +import org.springframework.stereotype.Repository; +import java.util.*; + + + + + + + + + +import com.realnet.test13.Entity.Name; + +@Repository +public interface NameRepository extends JpaRepository { +} \ No newline at end of file diff --git a/test1408-test1308-b-b/authsec_springboot/backend/src/main/java/com/realnet/test13/Services/NameService.java b/test1408-test1308-b-b/authsec_springboot/backend/src/main/java/com/realnet/test13/Services/NameService.java new file mode 100644 index 0000000..a4ffb70 --- /dev/null +++ b/test1408-test1308-b-b/authsec_springboot/backend/src/main/java/com/realnet/test13/Services/NameService.java @@ -0,0 +1,76 @@ +package com.realnet.test13.Services; +import com.realnet.test13.Repository.NameRepository; +import com.realnet.test13.Entity.Name;import java.util.List; + +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 org.springframework.data.domain.Pageable; +import com.realnet.users.service1.AppUserServiceImpl; +import com.realnet.users.entity1.AppUser; + + + + + + + import org.springframework.stereotype.Service; + +@Service + public class NameService { +@Autowired +private NameRepository Repository; + @Autowired + private AppUserServiceImpl userService; + + + + + +public Name Savedata(Name data) { + + + + + + +Name save = Repository.save(data); + return save; + } + + +// get all with pagination + public Page getAllWithPagination(Pageable page) { + return Repository.findAll(page); + } +public List getdetails() { + return (List) Repository.findAll(); + } + + +public Name getdetailsbyId(Integer id) { + return Repository.findById(id).get(); + } + + + public void delete_by_id(Integer id) { + Repository.deleteById(id); +} + + +public Name update(Name data,Integer id) { + Name old = Repository.findById(id).get(); +old.setName(data.getName()); + +old.setDescription(data.getDescription()); + +old.setActive (data.isActive()); + +final Name test = Repository.save(old); + return test;} + public AppUser getUser() { + AppUser user = userService.getLoggedInUser(); + return user; + + }} diff --git a/test1408-test1308-db-d/authsec_mysql/mysql/wf_table/wf_table.sql b/test1408-test1308-db-d/authsec_mysql/mysql/wf_table/wf_table.sql new file mode 100755 index 0000000..982c6ca --- /dev/null +++ b/test1408-test1308-db-d/authsec_mysql/mysql/wf_table/wf_table.sql @@ -0,0 +1,2 @@ +CREATE TABLE test1308-db.Name(id BIGINT NOT NULL AUTO_INCREMENT, Active VARCHAR(400), Description VARCHAR(400), Name VARCHAR(400), PRIMARY KEY (id)); + diff --git a/test1408-test1308-f-f/authsec_angular_bootsstrap/angular-bootstrap/src/app/modules/main/BuilderComponents/test13/Name/Name.component.html b/test1408-test1308-f-f/authsec_angular_bootsstrap/angular-bootstrap/src/app/modules/main/BuilderComponents/test13/Name/Name.component.html new file mode 100644 index 0000000..84bcade --- /dev/null +++ b/test1408-test1308-f-f/authsec_angular_bootsstrap/angular-bootstrap/src/app/modules/main/BuilderComponents/test13/Name/Name.component.html @@ -0,0 +1,103 @@ + + + + +
+
+
+

Name

  +
+
+
+ + +
+
+
+ + +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameDescriptionActiveAction
{{data.name}}{{data.active}}
+ + + + + + + +
+ + + + + + + + + + + + + diff --git a/test1408-test1308-f-f/authsec_angular_bootsstrap/angular-bootstrap/src/app/modules/main/BuilderComponents/test13/Name/Name.component.scss b/test1408-test1308-f-f/authsec_angular_bootsstrap/angular-bootstrap/src/app/modules/main/BuilderComponents/test13/Name/Name.component.scss new file mode 100644 index 0000000..4084453 --- /dev/null +++ b/test1408-test1308-f-f/authsec_angular_bootsstrap/angular-bootstrap/src/app/modules/main/BuilderComponents/test13/Name/Name.component.scss @@ -0,0 +1,4 @@ +.delete,.heading{ + text-align: center; + color: red; +} \ No newline at end of file diff --git a/test1408-test1308-f-f/authsec_angular_bootsstrap/angular-bootstrap/src/app/modules/main/BuilderComponents/test13/Name/Name.component.ts b/test1408-test1308-f-f/authsec_angular_bootsstrap/angular-bootstrap/src/app/modules/main/BuilderComponents/test13/Name/Name.component.ts new file mode 100644 index 0000000..49e9079 --- /dev/null +++ b/test1408-test1308-f-f/authsec_angular_bootsstrap/angular-bootstrap/src/app/modules/main/BuilderComponents/test13/Name/Name.component.ts @@ -0,0 +1,109 @@ +import { Component, OnInit } from '@angular/core'; +import { FormBuilder, FormGroup } from '@angular/forms'; +import { ActivatedRoute, Router } from '@angular/router'; +import * as moment from 'moment'; +import * as bootstrap from 'bootstrap'; +import { NameService } from './Name.service'; + +import { ToastrService } from 'ngx-toastr'; + + +@Component({ + selector: 'app-Name', + templateUrl: './Name.component.html', + styleUrls: ['./Name.component.scss'] +}) +export class NameComponent implements OnInit { + loading = false; + loading1=false; + public entryForm: FormGroup; + givendata; + orders; + modalAdd= false; + modaledit=false; +mcreate; +medit; +mdelete; +showdata; +error; +modaldelete=false; +rowSelected :any= {}; + searchFilter; + constructor( + private _fb: FormBuilder, + private router: Router, private toastr:ToastrService, + private route: ActivatedRoute, + + private mainservice:NameService, + ) {this.loading1 = true; + setTimeout(() => { + this.loading1 = false; + }, 1000); } + + ngOnInit(): void { + this.getData(); + + } + getData(){ + this.mainservice.getAll().subscribe((data) => { + console.log(data); + this.givendata = data; + if(this.givendata.length==0){ + this.error="No data Available"; + console.log(this.error) + } + + + + },(error) => { + console.log(error); + if(error){ + this.error="Server Error"; + } + }); + } + + + goToAdd() { + this.router.navigate(["../Nameadd"],{relativeTo:this.route}); + } + goToEdit(id: any){ + this.router.navigate(["../Nameedit/"+ id], { relativeTo: this.route }); + } + onDelete(row) { + this.rowSelected = row; + this.modaldelete=true; + } + + delete(id) + { + this.modaldelete = false; + console.log("in delete "+id); + this.mainservice.deleteusr(id).subscribe( + (data) => { + console.log(data); + this.ngOnInit(); + if (data == null || data) { + this.toastr.success('Deleted successfully'); + } + }, + (error) => { + console.log('Error in adding data...',+error); + if(error){ + this.toastr.error('Not Deleted Data Getting Some Error'); + } + } + ); + + + } + + +goToReplaceStringdescription(row){ + this.modalissue.removeAllBackdrops(); +this.rowSelected= row; } + + + + +} \ No newline at end of file diff --git a/test1408-test1308-f-f/authsec_angular_bootsstrap/angular-bootstrap/src/app/modules/main/BuilderComponents/test13/Name/Name.service.ts b/test1408-test1308-f-f/authsec_angular_bootsstrap/angular-bootstrap/src/app/modules/main/BuilderComponents/test13/Name/Name.service.ts new file mode 100644 index 0000000..7cef3a8 --- /dev/null +++ b/test1408-test1308-f-f/authsec_angular_bootsstrap/angular-bootstrap/src/app/modules/main/BuilderComponents/test13/Name/Name.service.ts @@ -0,0 +1,36 @@ +import { HttpClient } from '@angular/common/http'; +import { Injectable } from '@angular/core'; +import { Observable } from 'rxjs'; +import { ApiRequestService } from 'src/app/services/api/api-request.service'; +import baseUrl from 'src/app/services/api/helper'; +@Injectable({ + providedIn: 'root' +}) +export class NameService { + private baseURL = "Name/Name" ; 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); + } + updatenew(id: number, data: any): Observable { + const _http = this.baseURL + "/" + id; + return this.apiRequest.put(_http, data); + } + deleteusr(id: number): Observable { + const _http = this.baseURL + "/" + id; + return this.apiRequest.delete(_http); + } + + + + + + +// updateaction +} \ No newline at end of file diff --git a/test1408-test1308-f-f/authsec_angular_bootsstrap/angular-bootstrap/src/app/modules/main/BuilderComponents/test13/Name/Nameadd/Nameadd.component.html b/test1408-test1308-f-f/authsec_angular_bootsstrap/angular-bootstrap/src/app/modules/main/BuilderComponents/test13/Name/Nameadd/Nameadd.component.html new file mode 100644 index 0000000..e782bac --- /dev/null +++ b/test1408-test1308-f-f/authsec_angular_bootsstrap/angular-bootstrap/src/app/modules/main/BuilderComponents/test13/Name/Nameadd/Nameadd.component.html @@ -0,0 +1,53 @@ + +

Name

+ Add Mode + + + + + +
+
+
+
+ +
+ + +
+
*This field is Required
+
+
+ +
+ + +
+ +
+
+
+
+ +
+ + + + + + +
+ + +
+ + + + + + + + diff --git a/test1408-test1308-f-f/authsec_angular_bootsstrap/angular-bootstrap/src/app/modules/main/BuilderComponents/test13/Name/Nameadd/Nameadd.component.scss b/test1408-test1308-f-f/authsec_angular_bootsstrap/angular-bootstrap/src/app/modules/main/BuilderComponents/test13/Name/Nameadd/Nameadd.component.scss new file mode 100644 index 0000000..94079ce --- /dev/null +++ b/test1408-test1308-f-f/authsec_angular_bootsstrap/angular-bootstrap/src/app/modules/main/BuilderComponents/test13/Name/Nameadd/Nameadd.component.scss @@ -0,0 +1,63 @@ +input[type=text],[type=date],[type=password],[type=number],[type=email],[type=url],[type=datetime-local],textarea { + width: 100%; + padding: 5px 20px; + // margin: 3px 0; + background-color:rgb(255, 255, 255); + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; +} +.required-field{ + color: red; +font-size: 18px; + +} +.green{ + background-color: rgb(156, 231, 156); + color: black; +} +.blue{ + background-color: #57abcf;//rgb(82, 87, 161); + color: black; +} +.td-title { + text-align: center; + width: 150px; +color: white; + font-weight: bold; + background-color: rgba(63, 122, 231, 0.863); + //color: rgb(24, 13, 13); +} +th{ + background-color:rgb(170, 169, 169); + font-weight: bold; +} +.td-content{ + text-align: left; +} +.delete,.heading{ + text-align: center; + color: red; +} +.section p { +background-color: rgb(206, 201, 201); + padding: 10px; + font-size: 18px; +} + +select{ + width: 100%; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; +} + + +input.ng-invalid.ng-touched { + border-color: red; +} + +.error_mess { + color: red; +} \ No newline at end of file diff --git a/test1408-test1308-f-f/authsec_angular_bootsstrap/angular-bootstrap/src/app/modules/main/BuilderComponents/test13/Name/Nameadd/Nameadd.component.ts b/test1408-test1308-f-f/authsec_angular_bootsstrap/angular-bootstrap/src/app/modules/main/BuilderComponents/test13/Name/Nameadd/Nameadd.component.ts new file mode 100644 index 0000000..479d61c --- /dev/null +++ b/test1408-test1308-f-f/authsec_angular_bootsstrap/angular-bootstrap/src/app/modules/main/BuilderComponents/test13/Name/Nameadd/Nameadd.component.ts @@ -0,0 +1,119 @@ +import { Component, OnInit } from '@angular/core'; +import { FormArray, FormBuilder, FormGroup, Validators } from '@angular/forms'; +import { ActivatedRoute, Router } from '@angular/router'; +import { ToastrService } from 'ngx-toastr'; +import { AbstractControl, ValidationErrors } from '@angular/forms'; +declare var JsBarcode: any; +import { AccesstypeService } from 'src/app/services/admin/accesstype.service'; +import { NameService } from '../Name.service'; + + + +@Component({ + selector: 'app-Nameadd', + templateUrl: './Nameadd.component.html', + styleUrls: ['./Nameadd.component.scss'] +}) +export class NameaddComponent implements OnInit { + public entryForm: FormGroup; + + loading = false; +tableName = 'Name'; + + error; + submitted=false; + + constructor(private _fb: FormBuilder, + private mainservice:NameService, + private router: Router,private accesstype:AccesstypeService, + private route: ActivatedRoute, + + private toastr: ToastrService ) { } + + ngOnInit(): void { + this.entryForm = this._fb.group({ +name :[null], + +description :[null], + +active :[false], + + + + + + + + + }); + + + + + + + } + givendata; + getData(){ + this.mainservice.getAll().subscribe((data) => { + console.log(data); + this.givendata = data; + },(error) => { + console.log(error); + }); + } + onSubmit(){ + this.submitted=true + if (this.entryForm.invalid) { + return; + } + + + + + + + console.log(this.entryForm.value); + 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"); + } + }); + this.router.navigate(["../Name"], { relativeTo: this.route }); + } + +goback(){ + this.router.navigate(["../Name"], { relativeTo: this.route }); +} + + + + + + +} + + + + + diff --git a/test1408-test1308-f-f/authsec_angular_bootsstrap/angular-bootstrap/src/app/modules/main/BuilderComponents/test13/Name/Nameedit/Nameedit.component.html b/test1408-test1308-f-f/authsec_angular_bootsstrap/angular-bootstrap/src/app/modules/main/BuilderComponents/test13/Name/Nameedit/Nameedit.component.html new file mode 100644 index 0000000..8336e27 --- /dev/null +++ b/test1408-test1308-f-f/authsec_angular_bootsstrap/angular-bootstrap/src/app/modules/main/BuilderComponents/test13/Name/Nameedit/Nameedit.component.html @@ -0,0 +1,49 @@ +

table_name

+ Edit Mode + + + + + +
+
+
+
+
+ +
+ + +
+ +
+ + +
+ +
+
+
+
+ +
+ + + + + + +
+ + +
+ + + + + + + diff --git a/test1408-test1308-f-f/authsec_angular_bootsstrap/angular-bootstrap/src/app/modules/main/BuilderComponents/test13/Name/Nameedit/Nameedit.component.scss b/test1408-test1308-f-f/authsec_angular_bootsstrap/angular-bootstrap/src/app/modules/main/BuilderComponents/test13/Name/Nameedit/Nameedit.component.scss new file mode 100644 index 0000000..fe29251 --- /dev/null +++ b/test1408-test1308-f-f/authsec_angular_bootsstrap/angular-bootstrap/src/app/modules/main/BuilderComponents/test13/Name/Nameedit/Nameedit.component.scss @@ -0,0 +1,55 @@ +input[type=text],[type=date],[type=password],[type=number],[type=email],[type=url],[type=datetime-local],textarea { + width: 100%; + padding: 5px 20px; + // margin: 3px 0; + background-color:rgb(255, 255, 255); + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; +} +.required-field{ + color: red; +font-size: 18px; + +} +.green{ + background-color: rgb(156, 231, 156); + color: black; +} +.blue{ + background-color: #57abcf;//rgb(82, 87, 161); + color: black; +} +.td-title { + text-align: center; + width: 150px; +color: white; + font-weight: bold; + background-color: rgba(63, 122, 231, 0.863); + //color: rgb(24, 13, 13); +} +th{ + background-color:rgb(170, 169, 169); + font-weight: bold; +} +.td-content{ + text-align: left; +} +.delete,.heading{ + text-align: center; + color: red; +} +.section p { +background-color: rgb(206, 201, 201); + padding: 10px; + font-size: 18px; +} + +select{ + width: 100%; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; +} + diff --git a/test1408-test1308-f-f/authsec_angular_bootsstrap/angular-bootstrap/src/app/modules/main/BuilderComponents/test13/Name/Nameedit/Nameedit.component.ts b/test1408-test1308-f-f/authsec_angular_bootsstrap/angular-bootstrap/src/app/modules/main/BuilderComponents/test13/Name/Nameedit/Nameedit.component.ts new file mode 100644 index 0000000..f88c317 --- /dev/null +++ b/test1408-test1308-f-f/authsec_angular_bootsstrap/angular-bootstrap/src/app/modules/main/BuilderComponents/test13/Name/Nameedit/Nameedit.component.ts @@ -0,0 +1,106 @@ +import { Component, OnInit } from '@angular/core'; +import { ActivatedRoute, Router } from '@angular/router'; +import { ToastrService } from 'ngx-toastr'; +import { AbstractControl, ValidationErrors } from '@angular/forms'; + +declare var JsBarcode: any; +import { NameService } from '../Name.service'; + +@Component({ + selector: 'app-Nameedit', + templateUrl: './Nameedit.component.html', + styleUrls: ['./Nameedit.component.scss'] +}) +export class NameeditComponent implements OnInit { + id:number; + data1:any={}; + loading = false; +tableName = 'Name'; + + error; + constructor( private route:ActivatedRoute, + private mainservice:NameService, + private router: Router, + + private toastr: ToastrService, ) { } + + ngOnInit(): void { + this.id = this.route.snapshot.params["id"]; + console.log("update with id = ", this.id); + this.getById(this.id); + // + + + + + + + + } + givendata; + getData(){ + this.mainservice.getAll().subscribe((data) => { + console.log(data); + this.givendata = data; + },(error) => { + console.log(error); + }); + } +getById(id:number){ +this.mainservice.getbyid(id).subscribe((data)=>{ + this.data1=data; + + + + + + + + console.log(this.data1); +}); +} +update(){ + + + + + + + console.log(this.data1); + this.mainservice.updatenew(this.id,this.data1).subscribe((data)=>{ +console.log(data); if (data || data.status >= 200 && data.status <= 299) { + this.toastr.success("Update Successfully"); + } + + + + + + + + +this.router.navigate(["../../Name"], { relativeTo: this.route }); + },(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"); + } + + }); + +} +goback(){ + this.router.navigate(["../../Name"], { relativeTo: this.route }); +} + + + + + + + } \ No newline at end of file diff --git a/test1408-test1308-f-f/authsec_angular_bootsstrap/angular-bootstrap/src/app/modules/main/main-routing.module.ts b/test1408-test1308-f-f/authsec_angular_bootsstrap/angular-bootstrap/src/app/modules/main/main-routing.module.ts index bb3d23e..059ff23 100644 --- a/test1408-test1308-f-f/authsec_angular_bootsstrap/angular-bootstrap/src/app/modules/main/main-routing.module.ts +++ b/test1408-test1308-f-f/authsec_angular_bootsstrap/angular-bootstrap/src/app/modules/main/main-routing.module.ts @@ -1,3 +1,6 @@ +import { NameeditComponent } from './BuilderComponents/test13/Name/Nameedit/Nameedit.component'; +import { NameaddComponent } from './BuilderComponents/test13/Name/Nameadd/Nameadd.component'; +import { NameComponent } from './BuilderComponents/test13/Name/Name.component'; @@ -159,6 +162,15 @@ const routes: Routes = [ // buildercomponents +{path:'Nameedit/:id',component:NameeditComponent}, + + +{path:'Nameadd',component:NameaddComponent}, + + +{path:'Name',component:NameComponent}, + + { path: '**', component: PageNotFoundComponent }, diff --git a/test1408-test1308-f-f/authsec_angular_bootsstrap/angular-bootstrap/src/app/modules/main/main.module.ts b/test1408-test1308-f-f/authsec_angular_bootsstrap/angular-bootstrap/src/app/modules/main/main.module.ts index 691830b..5bef89f 100644 --- a/test1408-test1308-f-f/authsec_angular_bootsstrap/angular-bootstrap/src/app/modules/main/main.module.ts +++ b/test1408-test1308-f-f/authsec_angular_bootsstrap/angular-bootstrap/src/app/modules/main/main.module.ts @@ -1,3 +1,6 @@ +import { NameeditComponent } from './BuilderComponents/test13/Name/Nameedit/Nameedit.component'; +import { NameaddComponent } from './BuilderComponents/test13/Name/Nameadd/Nameadd.component'; +import { NameComponent } from './BuilderComponents/test13/Name/Name.component'; import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; import { CommonModule } from '@angular/common'; @@ -108,6 +111,15 @@ import { BubbleRunnerComponent } from './builder/dashboardrunner/dashrunnerline/ DoughnutChartComponent, LineChartComponent, RadarChartComponent, BarChartComponent, BubbleChartComponent, DynamicChartComponent, ScatterChartComponent, PolarChartComponent, PieChartComponent, FinancialChartComponent, ToDoChartComponent,GridViewComponent, DashboardrunnerComponent,DashrunnerallComponent,DashrunnerlineComponent, BarRunnerComponent, LineRunnerComponent, DoughnutRunnerComponent, GridRunnerComponent,PieRunnerComponent,PolarRunnerComponent,RadarRunnerComponent,ScatterRunnerComponent,TodoRunnerComponent,BubbleRunnerComponent, // buildercomponents +NameeditComponent, + + +NameaddComponent, + + +NameComponent, + +