From c1bea9ad25c52cfc0c1ff45255c27b7aca76a0fb Mon Sep 17 00:00:00 2001 From: risadmin_prod Date: Fri, 21 Mar 2025 09:13:30 +0000 Subject: [PATCH] build_app --- .../Builders/Services/BuilderService.java | 6 + .../basicp1/Controllers/FormbController.java | 64 -- .../com/realnet/basicp1/Entity/Formb.java | 46 -- .../basicp1/Repository/FormbRepository.java | 16 - .../basicp1/Services/FormbService.java | 91 --- .../authsec_mysql/mysql/wf_table/wf_table.sql | 6 +- .../basicp1/Formb/Formb.component.html | 597 ------------------ .../basicp1/Formb/Formb.component.ts | 424 ------------- .../basicp1/Formb/Formb.service.ts | 68 -- .../app/modules/main/main-routing.module.ts | 6 + .../src/app/modules/main/main.module.ts | 6 + .../src/assets/i18n/en.json | 35 +- 12 files changed, 26 insertions(+), 1339 deletions(-) diff --git a/testnewangular-back-b/authsec_springboot/backend/src/main/java/com/realnet/Builders/Services/BuilderService.java b/testnewangular-back-b/authsec_springboot/backend/src/main/java/com/realnet/Builders/Services/BuilderService.java index 83f747b..d585496 100644 --- a/testnewangular-back-b/authsec_springboot/backend/src/main/java/com/realnet/Builders/Services/BuilderService.java +++ b/testnewangular-back-b/authsec_springboot/backend/src/main/java/com/realnet/Builders/Services/BuilderService.java @@ -69,6 +69,12 @@ public class BuilderService { executeDump(true); // ADD OTHER SERVICE +addCustomMenu( "Formb", "Transcations"); + + +addCustomMenu( "Forma", "Transcations"); + + addCustomMenu( "Child", "Transcations"); diff --git a/testnewangular-back-b/authsec_springboot/backend/src/main/java/com/realnet/basicp1/Controllers/FormbController.java b/testnewangular-back-b/authsec_springboot/backend/src/main/java/com/realnet/basicp1/Controllers/FormbController.java index 1fdc6c9..b8cf017 100644 --- a/testnewangular-back-b/authsec_springboot/backend/src/main/java/com/realnet/basicp1/Controllers/FormbController.java +++ b/testnewangular-back-b/authsec_springboot/backend/src/main/java/com/realnet/basicp1/Controllers/FormbController.java @@ -21,22 +21,6 @@ import com.realnet.basicp1.Services.FormbService ; - - - - - - - - - - - - - - - - @@ -54,22 +38,6 @@ public class FormbController { - - - - - - - - - - - - - - - - @@ -80,22 +48,6 @@ public class FormbController { Formb save = Service.Savedata(data) ; - - - - - - - - - - - - - - - - @@ -147,22 +99,6 @@ public class FormbController { - - - - - - - - - - - - - - - - diff --git a/testnewangular-back-b/authsec_springboot/backend/src/main/java/com/realnet/basicp1/Entity/Formb.java b/testnewangular-back-b/authsec_springboot/backend/src/main/java/com/realnet/basicp1/Entity/Formb.java index dd6ea18..ab8a96e 100644 --- a/testnewangular-back-b/authsec_springboot/backend/src/main/java/com/realnet/basicp1/Entity/Formb.java +++ b/testnewangular-back-b/authsec_springboot/backend/src/main/java/com/realnet/basicp1/Entity/Formb.java @@ -8,22 +8,6 @@ import com.realnet.WhoColumn.Entity.Extension; - - - - - - - - - - - - - - - - @@ -49,35 +33,5 @@ private String recaptchaf; private String documentseq; - private Long user_id; - private String user_name; - -private String selectst; - - private String radiod; - - - - -private boolean a; - - - -private boolean b; - - - -private String fileuploadjname; -private String fileuploadjpath ; - -private String imageuploadhname; -private String imageuploadhpath ; - -private String audiohname; -private String audiohpath ; - -private String videohname; -private String videohpath ; - } diff --git a/testnewangular-back-b/authsec_springboot/backend/src/main/java/com/realnet/basicp1/Repository/FormbRepository.java b/testnewangular-back-b/authsec_springboot/backend/src/main/java/com/realnet/basicp1/Repository/FormbRepository.java index 15fe022..549ccf6 100644 --- a/testnewangular-back-b/authsec_springboot/backend/src/main/java/com/realnet/basicp1/Repository/FormbRepository.java +++ b/testnewangular-back-b/authsec_springboot/backend/src/main/java/com/realnet/basicp1/Repository/FormbRepository.java @@ -14,22 +14,6 @@ import java.util.*; - - - - - - - - - - - - - - - - diff --git a/testnewangular-back-b/authsec_springboot/backend/src/main/java/com/realnet/basicp1/Services/FormbService.java b/testnewangular-back-b/authsec_springboot/backend/src/main/java/com/realnet/basicp1/Services/FormbService.java index 7d43508..235dfbf 100644 --- a/testnewangular-back-b/authsec_springboot/backend/src/main/java/com/realnet/basicp1/Services/FormbService.java +++ b/testnewangular-back-b/authsec_springboot/backend/src/main/java/com/realnet/basicp1/Services/FormbService.java @@ -16,22 +16,6 @@ import com.realnet.users.entity1.AppUser; - - - - - - - - - - - - - - - - @@ -55,22 +39,6 @@ private FormbRepository Repository; @Autowired private SequenceService documentseqsequenceService; - - - - - - - - - - - - - - - - public Formb Savedata(Formb data) { @@ -80,23 +48,6 @@ public Formb Savedata(Formb data) { data.setDocumentseq (documentseqsequenceService.GenerateSequence("hh")); -data.setUser_id(getUser().getUserId()); - data.setUser_name(getUser().getFullName()); - - - - - - - - - - - - - - - data.setUpdatedBy(getUser().getUserId()); data.setCreatedBy(getUser().getUserId()); data.setAccountId(getUser().getAccount().getAccount_id()); @@ -136,54 +87,12 @@ old.setRecaptchaf(data.getRecaptchaf()); old.setDocumentseq(data.getDocumentseq()); - - -old.setSelectst(data.getSelectst()); - -old.setRadiod(data.getRadiod()); - - - -old.setA(data.isA()); - - - -old.setB(data.isB()); - - - - - - - - - - - - - final Formb test = Repository.save(old); data.setUpdatedBy(getUser().getUserId()); return test;} - - - - - - - - - - - - - - - - diff --git a/testnewangular-db-d/authsec_mysql/mysql/wf_table/wf_table.sql b/testnewangular-db-d/authsec_mysql/mysql/wf_table/wf_table.sql index bd1b894..75898b2 100755 --- a/testnewangular-db-d/authsec_mysql/mysql/wf_table/wf_table.sql +++ b/testnewangular-db-d/authsec_mysql/mysql/wf_table/wf_table.sql @@ -1,8 +1,4 @@ CREATE TABLE db.Forma(id BIGINT NOT NULL AUTO_INCREMENT, paragraph_field VARCHAR(400), textarea VARCHAR(400), toggle_switch VARCHAR(400), number_field int, text_field VARCHAR(400), datetime_field VARCHAR(400), phone_number VARCHAR(400), password_field VARCHAR(400), date_field Date, email_field VARCHAR(400), url_field VARCHAR(400), PRIMARY KEY (id)); -CREATE TABLE db.Formb(id BIGINT NOT NULL AUTO_INCREMENT, a bit(1), b bit(1), recaptchaf VARCHAR(400), useridf VARCHAR(400), imageuploadh VARCHAR(400), percentagef int, fileuploadj VARCHAR(400), documentseq VARCHAR(400), audioh VARCHAR(400), selectst VARCHAR(400), radiod VARCHAR(400), decimald double, videoh VARCHAR(400), PRIMARY KEY (id)); - -CREATE TABLE db.Formc(id BIGINT NOT NULL AUTO_INCREMENT, numbers int, numbered int, a VARCHAR(400), valuey VARCHAR(400), onetoone VARCHAR(400), b VARCHAR(400), qrcode VARCHAR(400), currencys VARCHAR(400), barcode VARCHAR(400), datagg VARCHAR(400), calculatedadd VARCHAR(400), PRIMARY KEY (id)); - -CREATE TABLE db.Child(id BIGINT NOT NULL AUTO_INCREMENT, namem VARCHAR(400), PRIMARY KEY (id)); +CREATE TABLE db.Formb(id BIGINT NOT NULL AUTO_INCREMENT, percentagef int, documentseq VARCHAR(400), recaptchaf VARCHAR(400), decimald double, PRIMARY KEY (id)); diff --git a/testnewangular-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/basicp1/Formb/Formb.component.html b/testnewangular-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/basicp1/Formb/Formb.component.html index 59bf2d8..446cee8 100644 --- a/testnewangular-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/basicp1/Formb/Formb.component.html +++ b/testnewangular-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/basicp1/Formb/Formb.component.html @@ -38,38 +38,6 @@ documentseq - - - - selectst - - - - Radiod - - - - - - a - - - - - b - - - - - - - - - - - - - @@ -90,34 +58,6 @@ {{user. documentseq }} - - - -{{user. selectst }} - - -{{user. radiod }} - - - - -{{user. a}} - - - -{{user. b}} - - - - - - - - - - - - @@ -274,22 +214,6 @@ - - - - - - - - - - - - - - - - @@ -301,22 +225,6 @@ - - - - - - - - - - - - - - - - @@ -346,83 +254,6 @@ - - -
- -
- -
- - - - - - - - - - - - - - - - - -
- - -
- -
-
- - - -
-
- - - - - -
-
- - - - -
-
-
- - - - - - - - - - @@ -432,182 +263,6 @@ - - - - - - - - -
List of fileuploadj
- -
- - - - - - - - - - - - - - - - - - - - - - - -
No FileFile NamePreviewCancel
- {{attach.uploadedfile_name}} File Preview - - - - -
Are you sure?
-   - -
-
- -
- -
List of imageuploadh
- -
- - - - - - - - - - - - - - - - - - - - - - - -
No FileFile NamePreviewCancel
- {{attach.uploadedfile_name}} File Preview - - - - -
Are you sure?
-   - -
-
- -
- -
List of audioh
- -
- - - - - - - - - - - - - - - - - - - - - - - -
No FileFile NamePreviewCancel
- {{attach.uploadedfile_name}} - - - - -
Are you sure?
-   - -
-
- -
- -
List of videoh
- -
- - - - - - - - - - - - - - - - - - - - - - - -
No FileFile NamePreviewCancel
- {{attach.uploadedfile_name}} - - - - -
Are you sure?
-   - -
-
- -
-

Extension

@@ -655,22 +310,6 @@ - - - - - - - - - - - - - - - - @@ -717,78 +356,6 @@ - - -
- -
- -
- - - - - - - - - - - - - - - - - - - -
- - - - - -
- -
-
- - - -
- -
- - - -
- -
- - -
- - - - - - - - - -
@@ -799,154 +366,6 @@ - - - - - - - - -
List of fileuploadj
- -
- - - - - - - - - - - - - - - - - - - - - - - -
No FileFile NamePreviewCancel
- {{attach.uploadedfile_name}} File Preview - - - -
- -
List of imageuploadh
- -
- - - - - - - - - - - - - - - - - - - - - - - -
No FileFile NamePreviewCancel
- {{attach.uploadedfile_name}} File Preview - - - -
- -
List of audioh
- -
- - - - - - - - - - - - - - - - - - - - - - - -
No FileFile NamePreviewCancel
- {{attach.uploadedfile_name}} - - - -
- -
List of videoh
- -
- - - - - - - - - - - - - - - - - - - - - - - -
No FileFile NamePreviewCancel
- {{attach.uploadedfile_name}} - - - -
- @@ -982,22 +401,6 @@ - - - - - - - - - - - - - - - - diff --git a/testnewangular-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/basicp1/Formb/Formb.component.ts b/testnewangular-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/basicp1/Formb/Formb.component.ts index 7ac720e..bf157dc 100644 --- a/testnewangular-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/basicp1/Formb/Formb.component.ts +++ b/testnewangular-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/basicp1/Formb/Formb.component.ts @@ -72,47 +72,7 @@ recaptchaf : [null, [Validators.required,this.checkrecaptchaf.bind(this)]], documentseq : [null], - -selectst : [null], - -radiod : [null], - - -a:[false], - - - -b:[false], - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -150,22 +110,6 @@ this.generaterecaptchaf() - - - - - - - - - - - - - - - - } @@ -176,26 +120,6 @@ this.generaterecaptchaf() - - - - - - - - - - -FileDataImageuploadh: any[]; - selectedImageuploadh: any[]; - -FileDataAudioh: any[]; - selectedAudioh: any[]; - -FileDataVideoh: any[]; - selectedVideoh: any[]; - - error; getData() { this.mainService.getAll().subscribe((data) => { @@ -221,42 +145,6 @@ FileDataVideoh: any[]; - - - - - - - - - this.selectedfileuploadj = []; - this.mainService.uploadfilegetByIdfileuploadj(row.id,this.tableName).subscribe(uploaddata =>{ - console.log(uploaddata); - this.FileDatafileuploadj = uploaddata; - - }) - - this.selectedimageuploadh = []; - this.mainService.uploadImageuploadhgetById(row.id,this.tableName).subscribe(uploaddata =>{ - console.log(uploaddata); - this.FileDataimageuploadh = uploaddata; - - }) - - this.selectedaudioh = []; - this.mainService.uploadAudiohgetById(row.id,this.tableName).subscribe(uploaddata =>{ - console.log(uploaddata); - this.FileDataaudioh = uploaddata; - - }) - - this.selectedvideoh = []; - this.mainService.uploadVideohgetById(row.id,this.tableName).subscribe(uploaddata =>{ - console.log(uploaddata); - this.FileDatavideoh = uploaddata; - - }) - this.modalEdit = true; } @@ -280,22 +168,6 @@ FileDataVideoh: any[]; - - - - - - - - - - - - - - - - @@ -320,42 +192,6 @@ FileDataVideoh: any[]; - - - - - - - - -for (let i = 0; i < this.selectedfileuploadj.length; i++){ - - this.mainService.uploadfilefileuploadj(data.id,this.tableName,this.selectedfileuploadj[i]).subscribe(uploaddata =>{ - console.log(uploaddata); - }) -} - -for (let i = 0; i < this.selectedimageuploadh.length; i++){ - - this.mainService.uploadImageuploadh(data.id,this.tableName,this.selectedimageuploadh[i]).subscribe(uploaddata =>{ - console.log(uploaddata); - }) -} - -for (let i = 0; i < this.selectedaudioh.length; i++){ - - this.mainService.uploadAudioh(data.id,this.tableName,this.selectedaudioh[i]).subscribe(uploaddata =>{ - console.log(uploaddata); - }) -} - -for (let i = 0; i < this.selectedvideoh.length; i++){ - - this.mainService.uploadVideoh(data.id,this.tableName,this.selectedvideoh[i]).subscribe(uploaddata =>{ - console.log(uploaddata); - }) -} - }, (error) => { console.log(error); if (error.status >= 200 && error.status <= 299) { @@ -377,22 +213,6 @@ onCreate() { - - - - - - - - - - - - - - - - @@ -412,42 +232,6 @@ onCreate() { - - - - - - - - -for (let i = 0; i < this.selectedfileuploadj.length; i++){ - - this.mainService.uploadfilefileuploadj(data.id,this.tableName,this.selectedfileuploadj[i]).subscribe(uploaddata =>{ - console.log(uploaddata); - }) -} - -for (let i = 0; i < this.selectedimageuploadh.length; i++){ - - this.mainService.uploadImageuploadh(data.id,this.tableName,this.selectedimageuploadh[i]).subscribe(uploaddata =>{ - console.log(uploaddata); - }) -} - -for (let i = 0; i < this.selectedaudioh.length; i++){ - - this.mainService.uploadAudioh(data.id,this.tableName,this.selectedaudioh[i]).subscribe(uploaddata =>{ - console.log(uploaddata); - }) -} - -for (let i = 0; i < this.selectedvideoh.length; i++){ - - this.mainService.uploadVideoh(data.id,this.tableName,this.selectedvideoh[i]).subscribe(uploaddata =>{ - console.log(uploaddata); - }) -} - }, (error) => { console.log(error); @@ -474,26 +258,6 @@ this.modalAdd = true; this.submitted = false; - - - - - - - - -this.FileDatafileuploadj = []; -this.selectedfileuploadj =[]; - -this.FileDataImageuploadh = []; -this.selectedImageuploadh =[]; - -this.FileDataAudioh = []; -this.selectedAudioh =[]; - -this.FileDataVideoh = []; -this.selectedVideoh =[]; - } submitted = false; @@ -537,200 +301,12 @@ checkrecaptchafEdit(): void { - - - - -updateradiod (radiod : string): void { - this.entryForm.get('radiod').setValue(radiod); } - -updateradiodEdit(radiod : string): void { this.rowSelected.radiod = radiod } - ; - - - -filePreviewfileuploadj: string | ArrayBuffer | null = null; -FileDatafileuploadj: {uploadedfile_name?:any, filePreview: string | ArrayBuffer | null }[] = []; // Initialize the array -selectedfileuploadj: File[]=[]; -public onFileChangedfileuploadj(event, index) { - const files = event.target.files; - for (let i = 0; i < files.length; i++) { - const file = files[i]; - this.FileDatafileuploadj[index].uploadedfile_name = files[i].name; - this.selectedfileuploadj.push(files[i]); - if (file.type.startsWith('file/')) { - const reader = new FileReader(); - reader.onload = (e) => { - // Set the file preview source - const filePreview = e.target?.result as string; - this.FileDatafileuploadj[index] = { - ...this.FileDatafileuploadj[index], // Preserve existing properties - filePreview: filePreview // Update only the filePreview property - }; - }; - reader.readAsDataURL(file); - } - } -} - onAddLinesfileuploadj(){ - this.FileDatafileuploadj.push({ - uploadedfile_name: "", - filePreview: "", - // f3: "", - }); - } - deleteRowfileuploadj(index,id) { - this.FileDatafileuploadj.splice(index, 1); - - if(id){ - this.mainService.uploadfiledeletefileuploadj(id).subscribe(data =>{ - console.log(data); - }) - } - } - -filePreviewimageuploadh: string | ArrayBuffer | null = null; -FileDataimageuploadh: {uploadedfile_name?:any, filePreview: string | ArrayBuffer | null }[] = []; // Initialize the array -selectedimageuploadh: File[]=[]; -public onFileChangedimageuploadh(event, index) { - const files = event.target.files; - for (let i = 0; i < files.length; i++) { - const file = files[i]; - this.FileDataimageuploadh[index].uploadedfile_name = files[i].name; - this.selectedimageuploadh.push(files[i]); - if (file.type.startsWith('image/')) { - const reader = new FileReader(); - reader.onload = (e) => { - // Set the file preview source - const filePreview = e.target?.result as string; - this.FileDataimageuploadh[index] = { - ...this.FileDataimageuploadh[index], // Preserve existing properties - filePreview: filePreview // Update only the filePreview property - }; - }; - reader.readAsDataURL(file); - } - } -} - onAddLinesimageuploadh(){ - this.FileDataimageuploadh.push({ - uploadedfile_name: "", - filePreview: "", - // f3: "", - }); - } - deleteRowimageuploadh(index,id) { - this.FileDataimageuploadh.splice(index, 1); - - if(id){ - this.mainService.uploadImageuploadhdelete(id).subscribe(data =>{ - console.log(data); - }) - } - } - -filePreviewaudioh: string | ArrayBuffer | null = null; -FileDataaudioh: {uploadedfile_name?:any, filePreview: string | ArrayBuffer | null }[] = []; // Initialize the array -selectedaudioh: File[]=[]; -public onFileChangedaudioh(event, index) { - const files = event.target.files; - for (let i = 0; i < files.length; i++) { - const file = files[i]; - this.FileDataaudioh[index].uploadedfile_name = files[i].name; - this.selectedaudioh.push(files[i]); - if (file.type.startsWith('audio/')) { - const reader = new FileReader(); - reader.onload = (e) => { - // Set the file preview source - const filePreview = e.target?.result as string; - this.FileDataaudioh[index] = { - ...this.FileDataaudioh[index], // Preserve existing properties - filePreview: filePreview // Update only the filePreview property - }; - }; - reader.readAsDataURL(file); - } - } -} - onAddLinesaudioh(){ - this.FileDataaudioh.push({ - uploadedfile_name: "", - filePreview: "", - // f3: "", - }); - } - deleteRowaudioh(index,id) { - this.FileDataaudioh.splice(index, 1); - - if(id){ - this.mainService.uploadAudiohdelete(id).subscribe(data =>{ - console.log(data); - }) - } - } - -filePreviewvideoh: string | ArrayBuffer | null = null; -FileDatavideoh: {uploadedfile_name?:any, filePreview: string | ArrayBuffer | null }[] = []; // Initialize the array -selectedvideoh: File[]=[]; -public onFileChangedvideoh(event, index) { - const files = event.target.files; - for (let i = 0; i < files.length; i++) { - const file = files[i]; - this.FileDatavideoh[index].uploadedfile_name = files[i].name; - this.selectedvideoh.push(files[i]); - if (file.type.startsWith('video/')) { - const reader = new FileReader(); - reader.onload = (e) => { - // Set the file preview source - const filePreview = e.target?.result as string; - this.FileDatavideoh[index] = { - ...this.FileDatavideoh[index], // Preserve existing properties - filePreview: filePreview // Update only the filePreview property - }; - }; - reader.readAsDataURL(file); - } - } -} - onAddLinesvideoh(){ - this.FileDatavideoh.push({ - uploadedfile_name: "", - filePreview: "", - // f3: "", - }); - } - deleteRowvideoh(index,id) { - this.FileDatavideoh.splice(index, 1); - - if(id){ - this.mainService.uploadVideohdelete(id).subscribe(data =>{ - console.log(data); - }) - } - } - // updateaction } - - - - - - - - - - - - - - - - diff --git a/testnewangular-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/basicp1/Formb/Formb.service.ts b/testnewangular-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/basicp1/Formb/Formb.service.ts index 04ae43b..2d59240 100644 --- a/testnewangular-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/basicp1/Formb/Formb.service.ts +++ b/testnewangular-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/basicp1/Formb/Formb.service.ts @@ -37,73 +37,5 @@ export class Formbservice{ - - - - - - - - - uploadfilefileuploadj(ref:any, Formb:any, file:any): Observable{ - const formData = new FormData(); - formData.append('file', file); - return this.apiRequest.postFormData(`FileUpload/Uploadeddocs/${ref}/${Formb}`, formData); - } - - uploadfilegetByIdfileuploadj(ref:any, Formb:any,): Observable { - return this.apiRequest.get(`FileUpload/Uploadeddocs/${ref}/${Formb}`); - } - - - uploadfiledeletefileuploadj(id: number): Observable { - return this.apiRequest.delete(`FileUpload/Uploadeddocs/${id}`); - } - - uploadImageuploadh(ref:any, Formb:any, file:any): Observable{ - const formData = new FormData(); - formData.append('file', file); - return this.apiRequest.postFormData(`FileUpload/Uploadeddocs/${ref}/${Formb}`, formData); - } - - uploadImageuploadhgetById(ref:any, Formb:any,): Observable { - return this.apiRequest.get(`FileUpload/Uploadeddocs/${ref}/${Formb}`); - } - - - uploadImageuploadhdelete(id: number): Observable { - return this.apiRequest.delete(`FileUpload/Uploadeddocs/${id}`); - } - - uploadAudioh(ref:any, Formb:any, file:any): Observable{ - const formData = new FormData(); - formData.append('file', file); - return this.apiRequest.postFormData(`FileUpload/Uploadeddocs/${ref}/${Formb}`, formData); - } - - uploadAudiohgetById(ref:any, Formb:any,): Observable { - return this.apiRequest.get(`FileUpload/Uploadeddocs/${ref}/${Formb}`); - } - - - uploadAudiohdelete(id: number): Observable { - return this.apiRequest.delete(`FileUpload/Uploadeddocs/${id}`); - } - - uploadVideoh(ref:any, Formb:any, file:any): Observable{ - const formData = new FormData(); - formData.append('file', file); - return this.apiRequest.postFormData(`FileUpload/Uploadeddocs/${ref}/${Formb}`, formData); - } - - uploadVideohgetById(ref:any, Formb:any,): Observable { - return this.apiRequest.get(`FileUpload/Uploadeddocs/${ref}/${Formb}`); - } - - - uploadVideohdelete(id: number): Observable { - return this.apiRequest.delete(`FileUpload/Uploadeddocs/${id}`); - } - // updateaction } \ No newline at end of file diff --git a/testnewangular-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/main-routing.module.ts b/testnewangular-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/main-routing.module.ts index 6e74202..9cecc7a 100644 --- a/testnewangular-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/main-routing.module.ts +++ b/testnewangular-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/main-routing.module.ts @@ -1,3 +1,5 @@ + + import { ChildComponent } from './BuilderComponents/basicp1/Child/Child.component'; import { FormcComponent } from './BuilderComponents/basicp1/Formc/Formc.component'; import { FormbComponent } from './BuilderComponents/basicp1/Formb/Formb.component'; @@ -245,6 +247,10 @@ const routes: Routes = [ // buildercomponents + + + + {path:'Child',component:ChildComponent}, diff --git a/testnewangular-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/main.module.ts b/testnewangular-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/main.module.ts index d6aaab8..c99cc89 100644 --- a/testnewangular-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/main.module.ts +++ b/testnewangular-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/main.module.ts @@ -1,3 +1,5 @@ + + import { ChildComponent } from './BuilderComponents/basicp1/Child/Child.component'; import { FormcComponent } from './BuilderComponents/basicp1/Formc/Formc.component'; import { FormbComponent } from './BuilderComponents/basicp1/Formb/Formb.component'; @@ -146,6 +148,10 @@ import { MappingruleeditComponent } from './datamanagement/mappingrule/mappingru // buildercomponents + + + + ChildComponent, diff --git a/testnewangular-front-f/authsec_angular/frontend/angular-clarity-master/src/assets/i18n/en.json b/testnewangular-front-f/authsec_angular/frontend/angular-clarity-master/src/assets/i18n/en.json index ddec144..4c5388e 100644 --- a/testnewangular-front-f/authsec_angular/frontend/angular-clarity-master/src/assets/i18n/en.json +++ b/testnewangular-front-f/authsec_angular/frontend/angular-clarity-master/src/assets/i18n/en.json @@ -226,42 +226,21 @@ "MENU_ACTION_LINK": "Menu Action Link", "STATUS": "Status", "SUB_MENU": "Sub Menu", - "Valuey": "Valuey", - "Qrcode": "Qrcode", - "Currencys": "Currencys", + "Toggle_Switch": "Toggle_Switch", + "Number_Field": "Number_Field", "Text_Field": "Text_Field", "Datetime_Field": "Datetime_Field", "Phone_Number": "Phone_Number", - "Numbers": "Numbers", - "OneToOne": "OneToOne", - "Textarea": "Textarea", - "Imageuploadh": "Imageuploadh", - "documentseq": "documentseq", - "selectst": "selectst", - "Radiod": "Radiod", - "Namem": "Namem", - "Date_Field": "Date_Field", - "Decimald": "Decimald", - "Child": "Child", - "videoh": "videoh", - "a": "a", - "Numbered": "Numbered", - "b": "b", - "Toggle_Switch": "Toggle_Switch", - "Number_Field": "Number_Field", "recaptchaf": "recaptchaf", "Email_Field": "Email_Field", - "calculatedadd": "calculatedadd", "Url_Field": "Url_Field", "Formb": "Formb", - "Formc": "Formc", "Forma": "Forma", - "UserIdf": "UserIdf", "Paragraph_Field": "Paragraph_Field", + "Textarea": "Textarea", "Percentagef": "Percentagef", - "Fileuploadj": "Fileuploadj", - "Barcode": "Barcode", - "audioh": "audioh", - "datagg": "datagg", - "Password_Field": "Password_Field" + "documentseq": "documentseq", + "Password_Field": "Password_Field", + "Date_Field": "Date_Field", + "Decimald": "Decimald" } \ No newline at end of file