-
Extension
-
-
-
+
+
+
+
Are You Sure Want to delete?
+ {{rowSelected.id}}
+
-
-
-
+
-
-
-
-
-
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/visaproject-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/SiteTreeBuilder/SiteBuilderGrid/SiteTree.component.ts b/visaproject-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/SiteTreeBuilder/SiteBuilderGrid/SiteTree.component.ts
index 8eaa9e4..3aa41e0 100644
--- a/visaproject-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/SiteTreeBuilder/SiteBuilderGrid/SiteTree.component.ts
+++ b/visaproject-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/SiteTreeBuilder/SiteBuilderGrid/SiteTree.component.ts
@@ -59,19 +59,21 @@ export class SiteTreeComponent implements OnInit {
) { }
// component button
ngOnInit(): void {
+
+ this.getData();
+
if (this.cardmodeldata !== '') {
this.cardmodal = JSON.parse(this.cardmodeldata);
this.dashboardArray = this.cardmodal.dashboard.slice();
- console.log(this.dashboardArray)
+ console.log('card data ', this.dashboardArray)
}
this.userrole = this.userInfoService.getRoles();
- this.getData();
this.entryForm = this._fb.group({
name: [null],
description: [null],
- active: [false],
+ active: [true],
}); // component_button200
// form code start
@@ -99,11 +101,15 @@ export class SiteTreeComponent implements OnInit {
}
+ FileDataLogoupload: any[];
+ selectedLogoupload: any[];
+
error;
getData() {
this.mainService.getAll().subscribe((data) => {
console.log(data);
this.product = data;
+ console.log('site data ', this.product);
if (this.product.length == 0) {
this.error = "No Data Available"
}
@@ -116,6 +122,15 @@ export class SiteTreeComponent implements OnInit {
}
onEdit(row) {
this.rowSelected = row;
+
+
+
+ this.selectedlogoupload = [];
+ this.mainService.uploadLogouploadgetById(row.id, this.tableName).subscribe(uploaddata => {
+ console.log(uploaddata);
+ this.FileDatalogoupload = uploaddata;
+
+ })
this.modalEdit = true;
}
onDelete(row) {
@@ -149,6 +164,13 @@ export class SiteTreeComponent implements OnInit {
this.ngOnInit();
}, 500);
+
+ for (let i = 0; i < this.selectedlogoupload.length; i++) {
+
+ this.mainService.uploadLogoupload(data.id, this.tableName, this.selectedlogoupload[i]).subscribe(uploaddata => {
+ console.log(uploaddata);
+ })
+ }
}, (error) => {
console.log(error);
if (error.status >= 200 && error.status <= 299) {
@@ -178,6 +200,13 @@ export class SiteTreeComponent implements OnInit {
this.ngOnInit();
}, 500);
+
+ for (let i = 0; i < this.selectedlogoupload.length; i++) {
+
+ this.mainService.uploadLogoupload(data.id, this.tableName, this.selectedlogoupload[i]).subscribe(uploaddata => {
+ console.log(uploaddata);
+ })
+ }
}, (error) => {
console.log(error);
if (error.status >= 200 && error.status <= 299) {
@@ -195,7 +224,9 @@ export class SiteTreeComponent implements OnInit {
}, 500);
}
goToAdd(row) {
- this.modalAdd = true; this.submitted = false;
+ console.log('go to add ')
+ this.modalAdd = true;
+ this.submitted = false;
}
@@ -218,6 +249,47 @@ export class SiteTreeComponent implements OnInit {
+ filePreviewlogoupload: string | ArrayBuffer | null = null;
+ FileDatalogoupload: { uploadedfile_name?: any, filePreview: string | ArrayBuffer | null }[] = []; // Initialize the array
+ selectedlogoupload: File[] = [];
+ public onFileChangedlogoupload(event, index) {
+ const files = event.target.files;
+ for (let i = 0; i < files.length; i++) {
+ const file = files[i];
+ this.FileDatalogoupload[index].uploadedfile_name = files[i].name;
+ this.selectedlogoupload.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.FileDatalogoupload[index] = {
+ ...this.FileDatalogoupload[index], // Preserve existing properties
+ filePreview: filePreview // Update only the filePreview property
+ };
+ };
+ reader.readAsDataURL(file);
+ }
+ }
+ }
+ onAddLineslogoupload() {
+ this.FileDatalogoupload.push({
+ uploadedfile_name: "",
+ filePreview: "",
+ // f3: "",
+ });
+ }
+ deleteRowlogoupload(index, id) {
+ this.FileDatalogoupload.splice(index, 1);
+
+ if (id) {
+ this.mainService.uploadLogouploaddelete(id).subscribe(data => {
+ console.log(data);
+ })
+ }
+ }
+
+
// updateaction
gotositebuilder(id) {
diff --git a/visaproject-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/SiteTreeBuilder/SiteBuilderGrid/SiteTree.service.ts b/visaproject-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/SiteTreeBuilder/SiteBuilderGrid/SiteTree.service.ts
index 824cef1..84f41e2 100644
--- a/visaproject-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/SiteTreeBuilder/SiteBuilderGrid/SiteTree.service.ts
+++ b/visaproject-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/SiteTreeBuilder/SiteBuilderGrid/SiteTree.service.ts
@@ -7,9 +7,10 @@ import { environment } from 'src/environments/environment';
providedIn: 'root'
})
export class SiteTreeservice {
- private baseURL = "SiteTree/SiteTree";
+ private baseURL = "SiteTree/SiteTree";
private dlfbaseURL = environment.nodeUrl + "/entityBuilder";
private llmURL = environment.nodeUrl + "/llm";
+ private geminiURL = environment.ollamaUrl;
constructor(
@@ -52,7 +53,7 @@ export class SiteTreeservice {
return this.apiRequest.get(_http);
}
- callLlm(data: any): Observable
{
+ callLlm(data: any): Observable {
return this.http.post(`${this.llmURL}/chatMemory`, data);
}
@@ -68,24 +69,24 @@ export class SiteTreeservice {
return this.apiRequest.post(`sureops/deploy?projId=` + projId, data);
}
- deploySiteBuilder(siteId: number, siteName: string, data: any): Observable {
- const formattedSiteName = this.formatSiteName(siteName);
- const _http = `${this.baseURL}/deploy?siteId=${siteId}&siteBuilderName=${formattedSiteName}`;
- return this.apiRequest.post(_http, data);
-}
+ deploySiteBuilder(siteId: number, siteName: string, data: any): Observable {
+ const formattedSiteName = this.formatSiteName(siteName);
+ const _http = `${this.baseURL}/deploy?siteId=${siteId}&siteBuilderName=${formattedSiteName}`;
+ return this.apiRequest.post(_http, data);
+ }
- createHtmlfile(siteId: number, siteName: string, data: any): Observable {
- const formattedSiteName = this.formatSiteName(siteName);
- const _http = `${this.baseURL}/createFile?siteId=${siteId}&siteBuilderName=${formattedSiteName}`;
- return this.apiRequest.post(_http, data);
-}
+ createHtmlfile(siteId: number, siteName: string, data: any): Observable {
+ const formattedSiteName = this.formatSiteName(siteName);
+ const _http = `${this.baseURL}/createFile?siteId=${siteId}&siteBuilderName=${formattedSiteName}`;
+ return this.apiRequest.post(_http, data);
+ }
-readPages( siteName: string, pageName: string): Observable {
- const formattedSite = this.formatSiteName(siteName);
- const _http = `${this.baseURL}/read?siteBuilderName=${formattedSite}&filename=${pageName}`;
- return this.apiRequest.get(_http, undefined, 'text');
-}
+ readPages(siteName: string, pageName: string): Observable {
+ const formattedSite = this.formatSiteName(siteName);
+ const _http = `${this.baseURL}/read?siteBuilderName=${formattedSite}&filename=${pageName}`;
+ return this.apiRequest.get(_http, undefined, 'text');
+ }
@@ -94,11 +95,11 @@ readPages( siteName: string, pageName: string): Observable {
}
private formatSiteName(name: string): string {
- return name
- .replace(/([a-z])([A-Z])/g, '$1_$2') // Convert camelCase to snake_case
- .replace(/\s+/g, '_') // Replace spaces with underscores
- .toLowerCase();
-}
+ return name
+ .replace(/([a-z])([A-Z])/g, '$1_$2') // Convert camelCase to snake_case
+ .replace(/\s+/g, '_') // Replace spaces with underscores
+ .toLowerCase();
+ }
// readPages(siteNmae: String, pageNmae: String): Observable {
@@ -110,5 +111,22 @@ readPages( siteName: string, pageName: string): Observable {
return this.http.post(`${this.llmURL}/api/gemini`, data);
}
+
+
+
+ uploadLogoupload(ref: any, Sitebuilder: any, file: any): Observable {
+ const formData = new FormData();
+ formData.append('file', file);
+ return this.apiRequest.postFormData(`FileUpload/Uploadeddocs/${ref}/${Sitebuilder}`, formData);
+ }
+
+ uploadLogouploadgetById(ref: any, Sitebuilder: any,): Observable {
+ return this.apiRequest.get(`FileUpload/Uploadeddocs/${ref}/${Sitebuilder}`);
+ }
+
+
+ uploadLogouploaddelete(id: number): Observable {
+ return this.apiRequest.delete(`FileUpload/Uploadeddocs/${id}`);
+ }
// updateactionΖ
}
\ No newline at end of file
diff --git a/visaproject-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/SiteTreeBuilder/SiteBuilderGrid/SiteTree_cardvariable.ts b/visaproject-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/SiteTreeBuilder/SiteBuilderGrid/SiteTree_cardvariable.ts
index 14c14b3..e39ff1d 100644
--- a/visaproject-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/SiteTreeBuilder/SiteBuilderGrid/SiteTree_cardvariable.ts
+++ b/visaproject-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/SiteTreeBuilder/SiteBuilderGrid/SiteTree_cardvariable.ts
@@ -1,4 +1,6 @@
export const SiteTreecardvariable = {
"cardButton": false,
+ // "cardmodeldata": ``
"cardmodeldata": ``
+
}
\ No newline at end of file
diff --git a/visaproject-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/SiteTreeBuilder/Tag/Tag.component.html b/visaproject-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/SiteTreeBuilder/Tag/Tag.component.html
new file mode 100644
index 0000000..f52f24d
--- /dev/null
+++ b/visaproject-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/SiteTreeBuilder/Tag/Tag.component.html
@@ -0,0 +1,376 @@
+
+ - Tag
+
+
+
+
+
Tag
+
+
+
+
+
+
+
+
+
+ Loading ...
+
+ {{error}}
+
+
+ Name
+
+
+
+ Description
+
+
+
+ Active
+
+
+
+
+
+ Action
+
+
+
+
+
+{{user. name }}
+
+
+
+
+
+
+{{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
+
+
+
+
+
+
+
+
+
+ Data could be found. Loading..
+ Loading ...
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{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)}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Update Tag
+
+
+
+
+
+
+
+
+
{{rowSelected.id}}
+
+
+
+
+
+
+
Are You Sure Want to delete?
+ {{rowSelected.id}}
+
+
+
+
+
+ Add Tag
+
+
+
+
+
+
+
+
+
+
+
+
+ Form Extension
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/visaproject-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/SiteTreeBuilder/Tag/Tag.component.scss b/visaproject-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/SiteTreeBuilder/Tag/Tag.component.scss
new file mode 100644
index 0000000..c47b921
--- /dev/null
+++ b/visaproject-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/SiteTreeBuilder/Tag/Tag.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/visaproject-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/SiteTreeBuilder/Tag/Tag.component.ts b/visaproject-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/SiteTreeBuilder/Tag/Tag.component.ts
new file mode 100644
index 0000000..ce4f0d2
--- /dev/null
+++ b/visaproject-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/SiteTreeBuilder/Tag/Tag.component.ts
@@ -0,0 +1,244 @@
+import { Component, OnInit } from '@angular/core';
+import { ToastrService } from 'ngx-toastr';
+import { AlertService } from 'src/app/services/alert.service';
+import { Tagservice } from './Tag.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 { Tagcardvariable } from './Tag_cardvariable';
+import { UserInfoService } from 'src/app/services/user-info.service';
+declare var JsBarcode: any;
+@Component({
+ selector: 'app-Tag',
+ templateUrl: './Tag.component.html',
+ styleUrls: ['./Tag.component.scss']
+})
+export class TagComponent implements OnInit {
+ cardButton = Tagcardvariable.cardButton;
+ cardmodeldata = Tagcardvariable.cardmodeldata;
+ public dashboardArray: DashboardContentModel2[];
+ isCardview = Tagcardvariable.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 = 'Tag_formCode'
+ tableName = 'Tag'; checkFormCode; selected: any[] = []; constructor(
+ private extensionService: ExtensionService,
+ private userInfoService: UserInfoService,
+ private mainService: Tagservice,
+ 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({
+ name: [null],
+
+ description: [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 === "Tag_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");
+ }
+ setTimeout(() => {
+ this.ngOnInit();
+ }, 500);
+
+
+
+
+
+
+ }, (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");
+ }
+ setTimeout(() => {
+ this.ngOnInit();
+ }, 500);
+
+
+
+
+
+
+ }, (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/visaproject-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/SiteTreeBuilder/Tag/Tag.service.ts b/visaproject-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/SiteTreeBuilder/Tag/Tag.service.ts
new file mode 100644
index 0000000..b4b7442
--- /dev/null
+++ b/visaproject-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/SiteTreeBuilder/Tag/Tag.service.ts
@@ -0,0 +1,39 @@
+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 Tagservice{
+ private baseURL = "Tag/Tag" ; 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/visaproject-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/SiteTreeBuilder/Tag/Tag_cardvariable.ts b/visaproject-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/SiteTreeBuilder/Tag/Tag_cardvariable.ts
new file mode 100644
index 0000000..31c73a4
--- /dev/null
+++ b/visaproject-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/SiteTreeBuilder/Tag/Tag_cardvariable.ts
@@ -0,0 +1,4 @@
+export const Tagcardvariable = {
+ "cardButton": false,
+ "cardmodeldata": ``
+}
\ No newline at end of file
diff --git a/visaproject-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/SiteTreeBuilder/TreeNode 2.zip b/visaproject-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/SiteTreeBuilder/TreeNode 2.zip
new file mode 100644
index 0000000..6e4738b
Binary files /dev/null and b/visaproject-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/SiteTreeBuilder/TreeNode 2.zip differ
diff --git a/visaproject-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/SiteTreeBuilder/TreeNode 3.zip b/visaproject-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/SiteTreeBuilder/TreeNode 3.zip
new file mode 100644
index 0000000..5ca1513
Binary files /dev/null and b/visaproject-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/SiteTreeBuilder/TreeNode 3.zip differ
diff --git a/visaproject-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/SiteTreeBuilder/WireframesUi/wireframe-renderer.component.html b/visaproject-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/SiteTreeBuilder/WireframesUi/wireframe-renderer.component.html
index 2d7d639..0cd2f9c 100644
--- a/visaproject-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/SiteTreeBuilder/WireframesUi/wireframe-renderer.component.html
+++ b/visaproject-front-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/SiteTreeBuilder/WireframesUi/wireframe-renderer.component.html
@@ -115,40 +115,35 @@
-
+
-
-
-
-
-
+
+
+
+
+
-
-
-