dashboard
This commit is contained in:
		
							parent
							
								
									47e9fb92e3
								
							
						
					
					
						commit
						7c1a487114
					
				| @ -0,0 +1,20 @@ | ||||
| <!DOCTYPE html> | ||||
| 
 | ||||
| <html> | ||||
| <head> | ||||
| <title>gaurav</title> | ||||
| 
 | ||||
| </head> | ||||
| 
 | ||||
| <body> | ||||
|     <h1>this is h1</h1> | ||||
|     <h2>this is h1</h2> | ||||
|     <h3>this is h1</h3> | ||||
|     <h4>this is h1</h4> | ||||
|     <p>Lorem ipsum, dolor sit amet consectetur adipisicing elit. Ipsa fuga, asperiores mollitia iste vitae repellendus adipisci atque eum corrupti ad placeat unde voluptatum quia perferendis neque expedita, sequi iure quo. Ut error adipisci ex cum sint, suscipit, voluptatem repellat nemo dolorum unde dolores quasi aut. A earum quo mollitia voluptatibus!</p> | ||||
|     | ||||
| 
 | ||||
| </body> | ||||
| 
 | ||||
| </html> | ||||
| 
 | ||||
| @ -453,7 +453,17 @@ export class EditnewdashComponent implements OnInit { | ||||
| 
 | ||||
|   onDrop(ev) { | ||||
|     const componentType = ev.dataTransfer.getData("widgetIdentifier"); | ||||
|     let maxChartId = this.dashboardArray?.reduce((maxId, item) => Math.max(maxId, item.chartid), 0); | ||||
|     // Safely calculate maxChartId, handling cases where chartid might be NaN or missing
 | ||||
|     let maxChartId = 0; | ||||
|     if (this.dashboardArray && this.dashboardArray.length > 0) { | ||||
|       const validChartIds = this.dashboardArray | ||||
|         .map(item => item.chartid) | ||||
|         .filter(chartid => typeof chartid === 'number' && !isNaN(chartid)); | ||||
|        | ||||
|       if (validChartIds.length > 0) { | ||||
|         maxChartId = Math.max(...validChartIds); | ||||
|       } | ||||
|     } | ||||
|     switch (componentType) { | ||||
|       case "radar_chart": | ||||
|         return this.dashboardArray.push({ | ||||
| @ -758,15 +768,34 @@ export class EditnewdashComponent implements OnInit { | ||||
|       this.refreshBaseDrilldownColumns(); | ||||
|     } | ||||
|      | ||||
|     if (item.datastore !== undefined || '' || null) { | ||||
|     // Check if we have either datastore or table to fetch columns
 | ||||
|     if ((item.datastore !== undefined && item.datastore !== '' && item.datastore !== null) ||  | ||||
|         (item.table !== undefined && item.table !== '' && item.table !== null)) { | ||||
|       const datastore = item.datastore; | ||||
|       this.getTables(datastore); | ||||
|       const table = item.table; | ||||
|       this.getColumns(datastore, table); | ||||
|        | ||||
|       // Fetch tables if datastore is available
 | ||||
|       if (datastore) { | ||||
|         this.getTables(datastore); | ||||
|       } | ||||
|        | ||||
|       // Fetch columns if table is available
 | ||||
|       if (table) { | ||||
|         this.getColumns(datastore, table); | ||||
|       } | ||||
|        | ||||
|       console.log(item.yAxis); | ||||
|       if (isArray(item.yAxis)) { | ||||
|         this.selectedyAxis = item.yAxis; | ||||
|       // Set selectedyAxis regardless of whether it's an array or string
 | ||||
|       if (item.yAxis !== undefined && item.yAxis !== '' && item.yAxis !== null) { | ||||
|         if (isArray(item.yAxis)) { | ||||
|           this.selectedyAxis = item.yAxis; | ||||
|         } else { | ||||
|           // For single yAxis values, convert to array
 | ||||
|           this.selectedyAxis = [item.yAxis]; | ||||
|         } | ||||
|         console.log(this.selectedyAxis); | ||||
|       } else { | ||||
|         this.selectedyAxis = []; | ||||
|       } | ||||
|     } else { | ||||
|       this.selectedyAxis = []; | ||||
| @ -840,12 +869,29 @@ export class EditnewdashComponent implements OnInit { | ||||
|   // Update the onSubmit method to properly save filter data
 | ||||
|   onSubmit(id) { | ||||
|     console.log(id); | ||||
|     if (!isNullArray(this.selectedyAxis)) { | ||||
|       console.log("get y-axis array", this.selectedyAxis); | ||||
|      | ||||
|     // Check if ID is valid, including handling NaN
 | ||||
|     if (id === null || id === undefined || isNaN(id)) { | ||||
|       console.warn('Chart ID is null, undefined, or NaN, using modelid instead:', this.modelid); | ||||
|       id = this.modelid; | ||||
|     } | ||||
|      | ||||
|     // Ensure we have a valid numeric ID
 | ||||
|     const numId = typeof id === 'number' ? id : parseInt(id, 10); | ||||
|     if (isNaN(numId)) { | ||||
|       console.error('Unable to determine valid chart ID, aborting onSubmit'); | ||||
|       return; | ||||
|     } | ||||
|      | ||||
|     // Handle both array and string yAxis values
 | ||||
|     if (this.selectedyAxis !== undefined && this.selectedyAxis !== null &&  | ||||
|         ((Array.isArray(this.selectedyAxis) && this.selectedyAxis.length > 0) ||  | ||||
|          (typeof this.selectedyAxis === 'string' && this.selectedyAxis !== ''))) { | ||||
|       console.log("get y-axis", this.selectedyAxis); | ||||
|       this.entryForm.patchValue({ yAxis: this.selectedyAxis }); | ||||
|     } | ||||
|     let formdata = this.entryForm.value; | ||||
|     let num = id; | ||||
|     let num = numId; | ||||
|     console.log(this.entryForm.value); | ||||
|     this.dashboardCollection.dashboard = this.dashboardCollection.dashboard.map(item => { | ||||
|       if (item.chartid == num) { | ||||
| @ -1052,15 +1098,25 @@ export class EditnewdashComponent implements OnInit { | ||||
|   applyChanges(id) { | ||||
|     console.log('Apply changes for chart ID:', id); | ||||
|      | ||||
|     // Check if ID is valid
 | ||||
|     if (id === null || id === undefined) { | ||||
|       console.warn('Chart ID is null or undefined, using modelid instead:', this.modelid); | ||||
|     // Check if ID is valid, including handling NaN
 | ||||
|     if (id === null || id === undefined || isNaN(id)) { | ||||
|       console.warn('Chart ID is null, undefined, or NaN, using modelid instead:', this.modelid); | ||||
|       id = this.modelid; | ||||
|     } | ||||
|      | ||||
|     // Update the form with selected Y-axis values if it's an array
 | ||||
|     if (!isNullArray(this.selectedyAxis)) { | ||||
|       console.log("get y-axis array", this.selectedyAxis); | ||||
|     // Ensure we have a valid numeric ID
 | ||||
|     const numId = typeof id === 'number' ? id : parseInt(id, 10); | ||||
|     if (isNaN(numId)) { | ||||
|       console.error('Unable to determine valid chart ID, aborting applyChanges'); | ||||
|       return; | ||||
|     } | ||||
|      | ||||
|     // Update the form with selected Y-axis values
 | ||||
|     // Handle both array and string yAxis values
 | ||||
|     if (this.selectedyAxis !== undefined && this.selectedyAxis !== null &&  | ||||
|         ((Array.isArray(this.selectedyAxis) && this.selectedyAxis.length > 0) ||  | ||||
|          (typeof this.selectedyAxis === 'string' && this.selectedyAxis !== ''))) { | ||||
|       console.log("get y-axis", this.selectedyAxis); | ||||
|       this.entryForm.patchValue({ yAxis: this.selectedyAxis }); | ||||
|     } | ||||
|      | ||||
|  | ||||
| @ -13,67 +13,66 @@ import { ReportBuilderService } from 'src/app/services/api/report-builder.servic | ||||
| export class ReportBuild2editComponent implements OnInit { | ||||
|   public entryForm: FormGroup; | ||||
|   updated = false; | ||||
|   ReportData:any = {}; | ||||
|   ReportData: any = {}; | ||||
|   id: number; | ||||
|   nodeEditProperties = { | ||||
|     std_param_html:'', | ||||
|     adhoc_param_html:'', | ||||
|     std_param_html: '', | ||||
|     adhoc_param_html: '', | ||||
|     // column_str:'',
 | ||||
|     // conn_name:'',
 | ||||
|     date_param_req:'', | ||||
|     date_param_req: '', | ||||
|     // folderName:'',
 | ||||
|     url:'', | ||||
|     url: '', | ||||
| 
 | ||||
| }; | ||||
|   }; | ||||
|   constructor(private router: Router, | ||||
|     private route: ActivatedRoute,private reportBuilderService: ReportBuilderService, | ||||
|     private toastr: ToastrService,  private _fb: FormBuilder) { } | ||||
|     private route: ActivatedRoute, private reportBuilderService: ReportBuilderService, | ||||
|     private toastr: ToastrService, private _fb: FormBuilder) { } | ||||
| 
 | ||||
|   ngOnInit(): void { | ||||
|     this.id = this.route.snapshot.params["id"]; | ||||
|     console.log("update with id = ", this.id); | ||||
| 
 | ||||
|     this.entryForm = this._fb.group({ | ||||
|       std_param_html : [null], | ||||
|       adhoc_param_html:[null], | ||||
|       std_param_html: [null], | ||||
|       adhoc_param_html: [null], | ||||
|       // column_str:[null],
 | ||||
|       // conn_name:[null],
 | ||||
|       date_param_req:[null], | ||||
|       date_param_req: [null], | ||||
|       // folderName:[null],
 | ||||
|       url:[null], | ||||
|       }); | ||||
|       url: [null], | ||||
|     }); | ||||
| 
 | ||||
|     this.getById(this.id); | ||||
|     this.listoddatabase(); | ||||
|   } | ||||
|   databaselist; | ||||
|   listoddatabase(){ | ||||
|     this.reportBuilderService.getdatabse().subscribe((data)=>{ | ||||
|       this.databaselist=data; | ||||
|   listoddatabase() { | ||||
|     this.reportBuilderService.getdatabse().subscribe((data) => { | ||||
|       this.databaselist = data; | ||||
|       console.log(this.databaselist) | ||||
|     },(error) => { | ||||
|     }, (error) => { | ||||
|       console.log(error); | ||||
|       if(error){ | ||||
|      } | ||||
|       if (error) { | ||||
|       } | ||||
|     }); | ||||
|    | ||||
| 
 | ||||
|   } | ||||
|   builderLine; | ||||
|   lineId; | ||||
|   builderLineData:any[] = []; | ||||
|   builderLineData: any[] = []; | ||||
|   getById(id: number) { | ||||
|     this.reportBuilderService.getrbDetailsById(id).subscribe( | ||||
|       (data) => { | ||||
|         console.log(data); | ||||
|         this.ReportData = data; | ||||
| 
 | ||||
|          | ||||
| 
 | ||||
|         this.builderLine = this.ReportData.rpt_builder2_lines; | ||||
|         this.lineId = this.builderLine[0].id | ||||
|         console.log("line data ",this.lineId, this.builderLine); | ||||
|         if(this.builderLine[0].model != '') | ||||
|         { | ||||
|           this.builderLineData = JSON.parse(this.builderLine[0].model) ; | ||||
|         console.log("line data ", this.lineId, this.builderLine); | ||||
|         if (this.builderLine[0].model != '') { | ||||
|           this.builderLineData = JSON.parse(this.builderLine[0].model); | ||||
|           console.log(this.builderLineData); | ||||
| 
 | ||||
|           this.nodeEditProperties.std_param_html = this.builderLineData[0].std_param_html; | ||||
| @ -92,25 +91,25 @@ export class ReportBuild2editComponent implements OnInit { | ||||
| 
 | ||||
|   stdparams; | ||||
|   keysfromurl; | ||||
|   getkeys(){ | ||||
|     if(this.nodeEditProperties.url !== null){ | ||||
|       this.reportBuilderService.getcolumnDetailsByurl(this.nodeEditProperties.url).subscribe(data =>{ | ||||
|         console.log(data); | ||||
|   getkeys() { | ||||
|     if (this.nodeEditProperties.url !== null) { | ||||
|       this.reportBuilderService.getcolumnDetailsByurl(this.nodeEditProperties.url).subscribe(data => { | ||||
|         console.log('coloum list data ', data); | ||||
|         this.keysfromurl = data; | ||||
|         this.nodeEditProperties.adhoc_param_html =  this.keysfromurl; | ||||
|         this.nodeEditProperties.adhoc_param_html = this.keysfromurl; | ||||
|       }) | ||||
|     }else{ | ||||
|     } else { | ||||
|       this.toastr.error("URL is required"); | ||||
|     } | ||||
|   } | ||||
|    | ||||
| 
 | ||||
| 
 | ||||
|   listBuilder_Lines = { | ||||
|     model:{} | ||||
|     model: {} | ||||
|   } | ||||
|   update() { | ||||
| 
 | ||||
|    | ||||
| 
 | ||||
|     this.builderLineData[0] = { | ||||
|       std_param_html: this.nodeEditProperties.std_param_html, | ||||
|       adhoc_param_html: this.nodeEditProperties.adhoc_param_html, | ||||
| @ -119,7 +118,7 @@ export class ReportBuild2editComponent implements OnInit { | ||||
|     }; | ||||
| 
 | ||||
|     this.builderLineData[0].std_param_html = this.nodeEditProperties.std_param_html; | ||||
|      this.builderLineData[0].adhoc_param_html = this.nodeEditProperties.adhoc_param_html; | ||||
|     this.builderLineData[0].adhoc_param_html = this.nodeEditProperties.adhoc_param_html; | ||||
|     //  this.builderLineData.column_str =  this.nodeEditProperties.column_str;
 | ||||
|     //  this.builderLineData.conn_name = this.nodeEditProperties.conn_name ;
 | ||||
|     this.builderLineData[0].date_param_req = this.nodeEditProperties.date_param_req; | ||||
| @ -129,14 +128,14 @@ export class ReportBuild2editComponent implements OnInit { | ||||
|     console.log(this.builderLineData); | ||||
|     let tmp = JSON.stringify(this.builderLineData); //.replace(/\\/g, '')
 | ||||
|     this.listBuilder_Lines.model = tmp; | ||||
| console.log(this.listBuilder_Lines); | ||||
|     console.log(this.listBuilder_Lines); | ||||
| 
 | ||||
|     this.reportBuilderService.updaterbLineData(this.listBuilder_Lines, this.lineId).subscribe( | ||||
|       (data) => { | ||||
|         console.log(data); | ||||
|         if (data) { | ||||
|           this.toastr.success('Update successfully'); | ||||
|        } | ||||
|         } | ||||
|         this.router.navigate(["../../all"], { relativeTo: this.route }); | ||||
|         //this.router.navigate(["../../all"],{ relativeTo: this.route, queryParams: { p_id: this.projectId } });
 | ||||
|       }, | ||||
|  | ||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @ -39,6 +39,14 @@ | ||||
|         </div> | ||||
|       </a> | ||||
| 
 | ||||
|       <a href="javascript://" class="nav-link nav-icon modern-nav-icon" routerLinkActive="active" | ||||
|         routerLink="/cns-portal/shield-dashboard"> | ||||
|         <div class="nav-icon-wrapper"> | ||||
|           <clr-icon shape="shield" solid></clr-icon> | ||||
|           <span class="nav-tooltip">Shield Dashboard</span> | ||||
|         </div> | ||||
|       </a> | ||||
| 
 | ||||
|       <a href="javascript://" class="nav-link nav-icon modern-nav-icon" routerLinkActive="active" | ||||
|         routerLink="/cns-portal/rerunner/all" (click)="getName()"> | ||||
|         <div class="nav-icon-wrapper"> | ||||
| @ -122,27 +130,27 @@ | ||||
|               <a href="javascript://" clrDropdownItem (click)="switchLanguage('en')" class="modern-lang-item"> | ||||
|                 <clr-icon shape="globe" class="lang-icon"></clr-icon> | ||||
|                 <span>English</span> | ||||
|                 <div class="lang-flag">ðºð¸</div> | ||||
|                 <div class="lang-flag">🇺🇸</div> | ||||
|               </a> | ||||
|               <a href="javascript://" clrDropdownItem (click)="switchLanguage('hi')" class="modern-lang-item"> | ||||
|                 <clr-icon shape="globe" class="lang-icon"></clr-icon> | ||||
|                 <span>हिनà¥à¤¦à¥</span> | ||||
|                 <div class="lang-flag">ð®ð³</div> | ||||
|                 <span>हिन्दी</span> | ||||
|                 <div class="lang-flag">🇮🇳</div> | ||||
|               </a> | ||||
|               <a href="javascript://" clrDropdownItem (click)="switchLanguage('ta')" class="modern-lang-item"> | ||||
|                 <clr-icon shape="globe" class="lang-icon"></clr-icon> | ||||
|                 <span>தமிழà¯</span> | ||||
|                 <div class="lang-flag">ð®ð³</div> | ||||
|                 <span>தமிழ்</span> | ||||
|                 <div class="lang-flag">🇮🇳</div> | ||||
|               </a> | ||||
|               <a href="javascript://" clrDropdownItem (click)="switchLanguage('pa')" class="modern-lang-item"> | ||||
|                 <clr-icon shape="globe" class="lang-icon"></clr-icon> | ||||
|                 <span>ਪੰà¨à¨¾à¨¬à©</span> | ||||
|                 <div class="lang-flag">ð®ð³</div> | ||||
|                 <span>ਪੰਜਾਬੀ</span> | ||||
|                 <div class="lang-flag">🇮🇳</div> | ||||
|               </a> | ||||
|               <a href="javascript://" clrDropdownItem (click)="switchLanguage('ml')" class="modern-lang-item"> | ||||
|                 <clr-icon shape="globe" class="lang-icon"></clr-icon> | ||||
|                 <span>മലയാളà´</span> | ||||
|                 <div class="lang-flag">ð®ð³</div> | ||||
|                 <span>മലയാളം</span> | ||||
|                 <div class="lang-flag">🇮🇳</div> | ||||
|               </a> | ||||
|             </clr-dropdown-menu> | ||||
|           </clr-dropdown> | ||||
|  | ||||
| @ -1,3 +1,26 @@ | ||||
| import { Ad10Component } from './BuilderComponents/angulardatatype/Ad10/Ad10.component'; | ||||
| 
 | ||||
| import { DefatestComponent } from './BuilderComponents/defu/Defatest/Defatest.component'; | ||||
| 
 | ||||
| 
 | ||||
| import { ChildformComponent } from './BuilderComponents/stpkg/Childform/Childform.component'; | ||||
| import { DistrictComponent } from './BuilderComponents/testdata/District/District.component'; | ||||
| import { StateComponent } from './BuilderComponents/testdata/State/State.component'; | ||||
| import { CountryComponent } from './BuilderComponents/testdata/Country/Country.component'; | ||||
| import { Ad9Component } from './BuilderComponents/angulardatatype/Ad9/Ad9.component'; | ||||
| import { Ad8Component } from './BuilderComponents/angulardatatype/Ad8/Ad8.component'; | ||||
| import { Ad7Component } from './BuilderComponents/angulardatatype/Ad7/Ad7.component'; | ||||
| import { Ad6Component } from './BuilderComponents/angulardatatype/Ad6/Ad6.component'; | ||||
| import { Adv5Component } from './BuilderComponents/angulardatatype/Adv5/Adv5.component'; | ||||
| import { Adv4Component } from './BuilderComponents/angulardatatype/Adv4/Adv4.component'; | ||||
| import { SupportComponent } from './BuilderComponents/angulardatatype/Support/Support.component'; | ||||
| import { Adv3Component } from './BuilderComponents/angulardatatype/Adv3/Adv3.component'; | ||||
| import { Dv2Component } from './BuilderComponents/angulardatatype/Dv2/Dv2.component'; | ||||
| import { Adv1Component } from './BuilderComponents/angulardatatype/Adv1/Adv1.component'; | ||||
| import { Basicp3Component } from './BuilderComponents/angulardatatype/Basicp3/Basicp3.component'; | ||||
| import { Basicp2Component } from './BuilderComponents/angulardatatype/Basicp2/Basicp2.component'; | ||||
| import { Basicp1Component } from './BuilderComponents/angulardatatype/Basicp1/Basicp1.component'; | ||||
| 
 | ||||
| 
 | ||||
| import { SequencegenaratorComponent } from './fnd/sequencegenarator/sequencegenarator.component'; | ||||
| import { Component, NgModule } from '@angular/core'; | ||||
| @ -82,6 +105,17 @@ import { MappingruleallComponent } from './datamanagement/mappingrule/mappingrul | ||||
| import { MappingruleaddComponent } from './datamanagement/mappingrule/mappingruleadd/mappingruleadd.component'; | ||||
| import { MappingruleeditComponent } from './datamanagement/mappingrule/mappingruleedit/mappingruleedit.component'; | ||||
| import { Stepper_workflowComponent } from './BuilderComponents/stepperworkflow/Stepper_workflow/Stepper_workflow.component'; | ||||
| import { AllapiregisteryComponent } from './fnd/apiregistery/allapiregistery/allapiregistery.component'; | ||||
| import { AddapiregisteryComponent } from './fnd/apiregistery/addapiregistery/addapiregistery.component'; | ||||
| import { EditapiregisteryComponent } from './fnd/apiregistery/editapiregistery/editapiregistery.component'; | ||||
| import { ApiregisterylineComponent } from './fnd/apiregistery/Apiregisteryline/Apiregisteryline.component'; | ||||
| import { Customer_informationComponent } from './BuilderComponents/angulardatatype/Customer_information/Customer_information.component'; | ||||
| import { Deployment_typeComponent } from './BuilderComponents/angulardatatype/Deployment_type/Deployment_type.component'; | ||||
| import { ManufacturerComponent } from './BuilderComponents/angulardatatype/Manufacturer/Manufacturer.component'; | ||||
| import { Order_summaryComponent } from './BuilderComponents/angulardatatype/Order_summary/Order_summary.component'; | ||||
| import { ProductComponent } from './BuilderComponents/angulardatatype/Product/Product.component'; | ||||
| import { TypesComponent } from './BuilderComponents/angulardatatype/Types/Types.component'; | ||||
| import { Test2Component } from './BuilderComponents/testdata/Test2/Test2.component'; | ||||
| import { Token_registeryComponent } from './fnd/Token_registery/Token_registery.component'; | ||||
| import { MyworkspaceComponent } from './admin/myworkspace/myworkspace.component'; | ||||
| import { ThemeCustomizationComponent } from './theme-customization/theme-customization.component'; | ||||
| @ -89,9 +123,9 @@ import { Data_lakeComponent } from './builder/dashboardnew/Data_lake/Data_lake.c | ||||
| import { SureconnectComponent } from './builder/dashboardnew/sureconnect/sureconnect.component'; | ||||
| import { EditsureconnectComponent } from './builder/dashboardnew/sureconnect/editsureconnect/editsureconnect.component'; | ||||
| import { OauthComponent } from './builder/dashboardnew/sureconnect/oauth/oauth.component'; | ||||
| // import { QueryComponent } from './superadmin/query/query.component';
 | ||||
| // import { QueryaddComponent } from './superadmin/queryadd/queryadd.component';
 | ||||
| // import { QueryeditComponent } from './superadmin/queryedit/queryedit.component';
 | ||||
| import { QueryComponent } from './superadmin/query/query.component'; | ||||
| import { QueryaddComponent } from './superadmin/queryadd/queryadd.component'; | ||||
| import { QueryeditComponent } from './superadmin/queryedit/queryedit.component'; | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| @ -125,11 +159,13 @@ const routes: Routes = [ | ||||
|       { path: 'about', component: AboutComponent }, | ||||
|       { path: 'setupicon', component: SetupiconComponent }, | ||||
|       { path: 'myworkspace', component: MyworkspaceComponent }, | ||||
|        { path: 'theme-customization', component: ThemeCustomizationComponent }, | ||||
|        { path: 'datalake', component: Data_lakeComponent }, | ||||
|              { path: 'sureconnect', component: SureconnectComponent }, | ||||
|              { path: 'oauth', component: OauthComponent }, | ||||
|              { path: 'editconnect/:id', component: EditsureconnectComponent }, | ||||
|       { path: 'theme-customization', component: ThemeCustomizationComponent }, | ||||
|       { path: 'datalake', component: Data_lakeComponent }, | ||||
|       { path: 'sureconnect', component: SureconnectComponent }, | ||||
|       { path: 'oauth', component: OauthComponent }, | ||||
|       { path: 'editconnect/:id', component: EditsureconnectComponent }, | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
|       { | ||||
| @ -143,9 +179,9 @@ const routes: Routes = [ | ||||
| 
 | ||||
| 
 | ||||
|           //SUPER ADMIN
 | ||||
|           // { path: 'query', component: QueryComponent, canActivate: [AuthGuard], data: { roles: [Role.Admin] } },
 | ||||
|           // { path: 'reportQuery/:id/queryadd', component: QueryaddComponent, canActivate: [AuthGuard], data: { roles: [Role.Admin] } },
 | ||||
|           // { path: 'reportQuery/queryedit/:id', component: QueryeditComponent, canActivate: [AuthGuard], data: { roles: [Role.Admin] } },
 | ||||
|           { path: 'query', component: QueryComponent, canActivate: [AuthGuard], data: { roles: [Role.Admin] } }, | ||||
|           { path: 'reportQuery/:id/queryadd', component: QueryaddComponent, canActivate: [AuthGuard], data: { roles: [Role.Admin] } }, | ||||
|           { path: 'reportQuery/queryedit/:id', component: QueryeditComponent, canActivate: [AuthGuard], data: { roles: [Role.Admin] } }, | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| @ -188,6 +224,12 @@ const routes: Routes = [ | ||||
|           { path: 'schedule/:id', component: ScheduleComponent }, | ||||
|         ] | ||||
|       }, | ||||
|        | ||||
|       // Shield Dashboard
 | ||||
|       { | ||||
|         path: 'shield-dashboard', | ||||
|         loadChildren: () => import('./builder/dashboardnew/gadgets/shield-dashboard/shield-dashboard-routing.module').then(m => m.ShieldDashboardRoutingModule) | ||||
|       }, | ||||
| 
 | ||||
|       { | ||||
|         path: 'dashboardrunner', component: DashboardrunnerComponent, | ||||
| @ -236,8 +278,20 @@ const routes: Routes = [ | ||||
|         ], | ||||
|       }, | ||||
|       { path: 'SequenceGenerator', component: SequencegenaratorComponent }, | ||||
|       { path: 'apiregistery', component: ApiregisteryComponent }, | ||||
| 
 | ||||
|       // Api registery
 | ||||
| 
 | ||||
|       { | ||||
|         path: 'apiregistery', component: ApiregisteryComponent, | ||||
|         children: [ | ||||
|           { path: '', redirectTo: 'all', pathMatch: 'full' }, | ||||
|           { path: 'all', component: AllapiregisteryComponent }, | ||||
|           { path: 'add', component: AddapiregisteryComponent }, | ||||
|           { path: 'edit/:id', component: EditapiregisteryComponent }, | ||||
|           { path: 'line/:id', component: ApiregisterylineComponent }, | ||||
| 
 | ||||
|         ], | ||||
|       }, | ||||
| 
 | ||||
|       // DATA MANAGEMENT
 | ||||
| 
 | ||||
| @ -270,18 +324,186 @@ const routes: Routes = [ | ||||
| 
 | ||||
|       // buildercomponents
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
|       { path: 'Country', component: CountryComponent }, | ||||
| 
 | ||||
| 
 | ||||
|       { path: 'Adv3', component: Adv3Component }, | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
|       { path: 'Ad10', component: Ad10Component }, | ||||
| 
 | ||||
| 
 | ||||
|       { path: 'Childform', component: ChildformComponent }, | ||||
| 
 | ||||
| 
 | ||||
|       { path: 'District', component: DistrictComponent }, | ||||
| 
 | ||||
| 
 | ||||
|       { path: 'State', component: StateComponent }, | ||||
| 
 | ||||
| 
 | ||||
|       { path: 'Country', component: CountryComponent }, | ||||
| 
 | ||||
| 
 | ||||
|       { path: 'Ad9', component: Ad9Component }, | ||||
| 
 | ||||
| 
 | ||||
|       { path: 'Ad8', component: Ad8Component }, | ||||
| 
 | ||||
| 
 | ||||
|       { path: 'Ad7', component: Ad7Component }, | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
|       { path: 'Ad6', component: Ad6Component }, | ||||
| 
 | ||||
| 
 | ||||
|       { path: 'Adv5', component: Adv5Component }, | ||||
| 
 | ||||
| 
 | ||||
|       { path: 'Support', component: SupportComponent }, | ||||
| 
 | ||||
| 
 | ||||
|       { path: 'Adv3', component: Adv3Component }, | ||||
| 
 | ||||
| 
 | ||||
|       { path: 'tokenregistery', component: Token_registeryComponent }, | ||||
| 
 | ||||
| 
 | ||||
|       { path: 'Defatest', component: DefatestComponent }, | ||||
| 
 | ||||
| 
 | ||||
|       { path: 'Country', component: CountryComponent }, | ||||
| 
 | ||||
| 
 | ||||
|       { path: 'Defatest', component: DefatestComponent }, | ||||
| 
 | ||||
|       { path: 'Test2', component: Test2Component }, | ||||
| 
 | ||||
| 
 | ||||
|       { path: 'Country', component: CountryComponent }, | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
|       { path: 'Test2', component: Test2Component }, | ||||
| 
 | ||||
|       { path: 'Childform', component: ChildformComponent }, | ||||
| 
 | ||||
| 
 | ||||
|       { path: 'District', component: DistrictComponent }, | ||||
| 
 | ||||
| 
 | ||||
|       { path: 'State', component: StateComponent }, | ||||
| 
 | ||||
| 
 | ||||
|       { path: 'Country', component: CountryComponent }, | ||||
| 
 | ||||
| 
 | ||||
|       { path: 'Ad9', component: Ad9Component }, | ||||
| 
 | ||||
| 
 | ||||
|       { path: 'Ad8', component: Ad8Component }, | ||||
| 
 | ||||
| 
 | ||||
|       { path: 'Ad7', component: Ad7Component }, | ||||
| 
 | ||||
| 
 | ||||
|       { path: 'Ad6', component: Ad6Component }, | ||||
| 
 | ||||
| 
 | ||||
|       { path: 'Adv5', component: Adv5Component }, | ||||
| 
 | ||||
| 
 | ||||
|       { path: 'Adv4', component: Adv4Component }, | ||||
| 
 | ||||
| 
 | ||||
|       { path: 'Support', component: SupportComponent }, | ||||
| 
 | ||||
| 
 | ||||
|       { path: 'Adv3', component: Adv3Component }, | ||||
| 
 | ||||
| 
 | ||||
|       { path: 'Dv2', component: Dv2Component }, | ||||
| 
 | ||||
| 
 | ||||
|       { path: 'Adv1', component: Adv1Component }, | ||||
| 
 | ||||
| 
 | ||||
|       { path: 'Basicp3', component: Basicp3Component }, | ||||
| 
 | ||||
| 
 | ||||
|       { path: 'Basicp2', component: Basicp2Component }, | ||||
| 
 | ||||
| 
 | ||||
|       { path: 'Basicp1', component: Basicp1Component }, | ||||
|       { path: 'cust', component: Customer_informationComponent }, | ||||
| 
 | ||||
|       { path: 'Order_summary', component: Order_summaryComponent }, | ||||
| 
 | ||||
| 
 | ||||
|       { path: 'Types', component: TypesComponent }, | ||||
| 
 | ||||
| 
 | ||||
|       { path: 'Product', component: ProductComponent }, | ||||
| 
 | ||||
| 
 | ||||
|       { path: 'Manufacturer', component: ManufacturerComponent }, | ||||
| 
 | ||||
| 
 | ||||
|       { path: 'Deployment_type', component: Deployment_typeComponent }, | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
|       { path: 'Stepper_workflow', component: Stepper_workflowComponent }, | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
|       { path: '**', component: PageNotFoundComponent }, | ||||
| 
 | ||||
|     ] | ||||
|  | ||||
| @ -1,3 +1,25 @@ | ||||
| import { Ad10Component } from './BuilderComponents/angulardatatype/Ad10/Ad10.component'; | ||||
| 
 | ||||
| import { DefatestComponent } from './BuilderComponents/defu/Defatest/Defatest.component'; | ||||
| 
 | ||||
| import { ChildformComponent } from './BuilderComponents/stpkg/Childform/Childform.component'; | ||||
| import { DistrictComponent } from './BuilderComponents/testdata/District/District.component'; | ||||
| import { StateComponent } from './BuilderComponents/testdata/State/State.component'; | ||||
| import { CountryComponent } from './BuilderComponents/testdata/Country/Country.component'; | ||||
| import { Ad9Component } from './BuilderComponents/angulardatatype/Ad9/Ad9.component'; | ||||
| import { Ad8Component } from './BuilderComponents/angulardatatype/Ad8/Ad8.component'; | ||||
| import { Ad7Component } from './BuilderComponents/angulardatatype/Ad7/Ad7.component'; | ||||
| import { Ad6Component } from './BuilderComponents/angulardatatype/Ad6/Ad6.component'; | ||||
| import { Adv5Component } from './BuilderComponents/angulardatatype/Adv5/Adv5.component'; | ||||
| import { Adv4Component } from './BuilderComponents/angulardatatype/Adv4/Adv4.component'; | ||||
| import { SupportComponent } from './BuilderComponents/angulardatatype/Support/Support.component'; | ||||
| import { Adv3Component } from './BuilderComponents/angulardatatype/Adv3/Adv3.component'; | ||||
| import { Dv2Component } from './BuilderComponents/angulardatatype/Dv2/Dv2.component'; | ||||
| import { Adv1Component } from './BuilderComponents/angulardatatype/Adv1/Adv1.component'; | ||||
| import { Basicp3Component } from './BuilderComponents/angulardatatype/Basicp3/Basicp3.component'; | ||||
| import { Basicp2Component } from './BuilderComponents/angulardatatype/Basicp2/Basicp2.component'; | ||||
| import { Basicp1Component } from './BuilderComponents/angulardatatype/Basicp1/Basicp1.component'; | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| import { CommonModule } from '@angular/common'; | ||||
| @ -74,6 +96,9 @@ import { RadarChartComponent } from './builder/dashboardnew/gadgets/radar-chart/ | ||||
| import { ScatterChartComponent } from './builder/dashboardnew/gadgets/scatter-chart/scatter-chart.component'; | ||||
| import { ToDoChartComponent } from './builder/dashboardnew/gadgets/to-do-chart/to-do-chart.component'; | ||||
| import { ScheduleComponent } from './builder/dashboardnew/schedule/schedule.component'; | ||||
| import { CommonFilterComponent } from './builder/dashboardnew/common-filter/common-filter.component'; | ||||
| import { ChartWrapperComponent } from './builder/dashboardnew/common-filter/chart-wrapper.component'; | ||||
| import { CompactFilterComponent } from './builder/dashboardnew/common-filter/compact-filter.component'; | ||||
| import { AddextensionComponent } from './fnd/extension/addextension/addextension.component'; | ||||
| import { AllextensionComponent } from './fnd/extension/allextension/allextension.component'; | ||||
| import { EditextensionComponent } from './fnd/extension/editextension/editextension.component'; | ||||
| @ -91,6 +116,9 @@ import { RadarRunnerComponent } from './builder/dashboardrunner/dashrunnerline/r | ||||
| import { ScatterRunnerComponent } from './builder/dashboardrunner/dashrunnerline/scatter-runner/scatter-runner.component'; | ||||
| import { TodoRunnerComponent } from './builder/dashboardrunner/dashrunnerline/todo-runner/todo-runner.component'; | ||||
| 
 | ||||
| // Import CompactFilterRunnerComponent
 | ||||
| import { CompactFilterRunnerComponent } from './builder/dashboardrunner/dashrunnerline/compact-filter-runner/compact-filter-runner.component'; | ||||
| 
 | ||||
| import { ApiregisteryComponent } from './fnd/apiregistery/apiregistery.component'; | ||||
| 
 | ||||
| import { BulkimportComponent } from './datamanagement/bulkimport/bulkimport.component'; | ||||
| @ -106,18 +134,34 @@ import { MappingruleaddComponent } from './datamanagement/mappingrule/mappingrul | ||||
| import { MappingruleallComponent } from './datamanagement/mappingrule/mappingruleall/mappingruleall.component'; | ||||
| import { MappingruleeditComponent } from './datamanagement/mappingrule/mappingruleedit/mappingruleedit.component'; | ||||
| import { Stepper_workflowComponent } from './BuilderComponents/stepperworkflow/Stepper_workflow/Stepper_workflow.component'; | ||||
| import { AllapiregisteryComponent } from './fnd/apiregistery/allapiregistery/allapiregistery.component'; | ||||
| import { AddapiregisteryComponent } from './fnd/apiregistery/addapiregistery/addapiregistery.component'; | ||||
| import { EditapiregisteryComponent } from './fnd/apiregistery/editapiregistery/editapiregistery.component'; | ||||
| import { ApiregisterylineComponent } from './fnd/apiregistery/Apiregisteryline/Apiregisteryline.component'; | ||||
| import { Customer_informationComponent } from './BuilderComponents/angulardatatype/Customer_information/Customer_information.component'; | ||||
| import { Deployment_typeComponent } from './BuilderComponents/angulardatatype/Deployment_type/Deployment_type.component'; | ||||
| import { ManufacturerComponent } from './BuilderComponents/angulardatatype/Manufacturer/Manufacturer.component'; | ||||
| import { Order_summaryComponent } from './BuilderComponents/angulardatatype/Order_summary/Order_summary.component'; | ||||
| import { ProductComponent } from './BuilderComponents/angulardatatype/Product/Product.component'; | ||||
| import { TypesComponent } from './BuilderComponents/angulardatatype/Types/Types.component'; | ||||
| import { Test2Component } from './BuilderComponents/testdata/Test2/Test2.component'; | ||||
| import { Token_registeryComponent } from './fnd/Token_registery/Token_registery.component'; | ||||
| import { MyworkspaceComponent } from './admin/myworkspace/myworkspace.component'; | ||||
| import { ThemeCustomizationComponent } from './theme-customization/theme-customization.component'; | ||||
| import { QueryComponent } from './superadmin/query/query.component'; | ||||
| import { QueryaddComponent } from './superadmin/queryadd/queryadd.component'; | ||||
| import { QueryeditComponent } from './superadmin/queryedit/queryedit.component'; | ||||
| 
 | ||||
| import { FieldTypesModule } from '../../shared/components/field-types/field-types.module'; | ||||
| import { SharedModule } from '../../shared/shared.module'; | ||||
| import { Data_lakeComponent } from './builder/dashboardnew/Data_lake/Data_lake.component'; | ||||
| import { CronJobBuilderComponent } from './builder/dashboardnew/Data_lake/cron-job-builder/cron-job-builder.component'; | ||||
| import { SureconnectComponent } from './builder/dashboardnew/sureconnect/sureconnect.component'; | ||||
| import { EditsureconnectComponent } from './builder/dashboardnew/sureconnect/editsureconnect/editsureconnect.component'; | ||||
| import { OauthComponent } from './builder/dashboardnew/sureconnect/oauth/oauth.component'; | ||||
| 
 | ||||
| // import { QueryComponent } from './superadmin/query/query.component';
 | ||||
| // import { QueryaddComponent } from './superadmin/queryadd/queryadd.component';
 | ||||
| // import { QueryeditComponent } from './superadmin/queryedit/queryedit.component';
 | ||||
| // Import Shield Dashboard Module
 | ||||
| import { ShieldDashboardModule } from './builder/dashboardnew/gadgets/shield-dashboard/shield-dashboard.module'; | ||||
| 
 | ||||
| @NgModule({ | ||||
|   declarations: [ | ||||
| @ -128,71 +172,58 @@ import { OauthComponent } from './builder/dashboardnew/sureconnect/oauth/oauth.c | ||||
|     UsermaintanceaddComponent, UsermaintanceeditComponent, | ||||
|     SubmenuComponent, ModulesComponent, SessionloggerComponent, | ||||
|     DashboardnewComponent, EditformnewdashComponent, EditnewdashComponent, ScheduleComponent, | ||||
|     DoughnutChartComponent, LineChartComponent, RadarChartComponent, BarChartComponent, BubbleChartComponent, DynamicChartComponent, ScatterChartComponent, PolarChartComponent, PieChartComponent, FinancialChartComponent, ToDoChartComponent, GridViewComponent, | ||||
|     CommonFilterComponent, ChartWrapperComponent, CompactFilterComponent, DoughnutChartComponent, LineChartComponent, RadarChartComponent, BarChartComponent, BubbleChartComponent, DynamicChartComponent, ScatterChartComponent, PolarChartComponent, PieChartComponent, FinancialChartComponent, ToDoChartComponent, GridViewComponent, | ||||
|     DashrunnerlineComponent, BarRunnerComponent, LineRunnerComponent, DoughnutRunnerComponent, GridRunnerComponent, PieRunnerComponent, PolarRunnerComponent, RadarRunnerComponent, ScatterRunnerComponent, TodoRunnerComponent, BubbleRunnerComponent, | ||||
|     // Add CompactFilterRunnerComponent to declarations
 | ||||
|     CompactFilterRunnerComponent, | ||||
|     ReportBuildComponent, ReportbuildeditComponent, ReportbuildqueryComponent, ReportBuild2Component, ReportBuild2editComponent, | ||||
|     // QueryComponent, QueryaddComponent, QueryeditComponent,
 | ||||
|     QueryComponent, QueryaddComponent, QueryeditComponent, | ||||
|     ExtensionComponent, | ||||
|     AllextensionComponent, | ||||
|     AddextensionComponent, EditextensionComponent, ApiregisteryComponent, | ||||
|     DatamanagementComponent, DatamananementworkflowComponent, BulkimportComponent, BulkimportallComponent, BulkimportaddComponent, BulkimporteditComponent, BulkimportlineComponent, BulkimporteditlineComponent, MappingruleComponent, | ||||
|     MappingruleallComponent, MappingruleaddComponent, MappingruleeditComponent, | ||||
|     ThemeCustomizationComponent, | ||||
|     AddextensionComponent, EditextensionComponent, ApiregisteryComponent, AllapiregisteryComponent, AddapiregisteryComponent, EditapiregisteryComponent, | ||||
| 
 | ||||
|     ApiregisterylineComponent, | ||||
|     DatamanagementComponent, DatamananementworkflowComponent, BulkimportComponent, BulkimportallComponent, BulkimportaddComponent, BulkimporteditComponent, BulkimportlineComponent, BulkimporteditlineComponent, MappingruleComponent, MappingruleallComponent, | ||||
|     MappingruleaddComponent, | ||||
|     MappingruleeditComponent, Stepper_workflowComponent, Customer_informationComponent, | ||||
|     Data_lakeComponent, | ||||
|         SureconnectComponent, | ||||
|         EditsureconnectComponent, | ||||
|         OauthComponent, | ||||
|         CronJobBuilderComponent, | ||||
|     SureconnectComponent, | ||||
|     EditsureconnectComponent, | ||||
|     OauthComponent, | ||||
|     CronJobBuilderComponent, | ||||
|     //  FileUploadListComponent,
 | ||||
| 
 | ||||
| 
 | ||||
|     // buildercomponents
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
|     ThemeCustomizationComponent, | ||||
|     Ad10Component, | ||||
|     Token_registeryComponent, | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
|     Stepper_workflowComponent, | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
|     DefatestComponent, | ||||
|     Test2Component, | ||||
|     Order_summaryComponent, | ||||
|     TypesComponent, | ||||
|     ProductComponent, | ||||
|     ManufacturerComponent, | ||||
|     Deployment_typeComponent, | ||||
|     ChildformComponent, | ||||
|     DistrictComponent, | ||||
|     StateComponent, | ||||
|     CountryComponent, | ||||
|     Ad9Component, | ||||
|     Ad8Component, | ||||
|     Ad7Component, | ||||
|     Ad6Component, | ||||
|     Adv5Component, | ||||
|     Adv4Component, | ||||
|     SupportComponent, | ||||
|     Adv3Component, | ||||
|     Dv2Component, | ||||
|     Adv1Component, | ||||
|     Basicp3Component, | ||||
|     Basicp2Component, | ||||
|     Basicp1Component, | ||||
|   ], | ||||
|   imports: [ | ||||
|     QRCodeModule, | ||||
| @ -212,6 +243,9 @@ import { OauthComponent } from './builder/dashboardnew/sureconnect/oauth/oauth.c | ||||
|     NgChartsModule, | ||||
|     NgxChartsModule, | ||||
|     DynamicModule, | ||||
|     FieldTypesModule, | ||||
|     SharedModule, | ||||
|     ShieldDashboardModule, | ||||
|   ], | ||||
|   providers: [ | ||||
|     CookieService, | ||||
|  | ||||
| @ -0,0 +1,252 @@ | ||||
| import { Ad10Component } from './BuilderComponents/angulardatatype/Ad10/Ad10.component'; | ||||
| 
 | ||||
| import { DefatestComponent } from './BuilderComponents/defu/Defatest/Defatest.component'; | ||||
| 
 | ||||
| import { ChildformComponent } from './BuilderComponents/stpkg/Childform/Childform.component'; | ||||
| import { DistrictComponent } from './BuilderComponents/testdata/District/District.component'; | ||||
| import { StateComponent } from './BuilderComponents/testdata/State/State.component'; | ||||
| import { CountryComponent } from './BuilderComponents/testdata/Country/Country.component'; | ||||
| import { Ad9Component } from './BuilderComponents/angulardatatype/Ad9/Ad9.component'; | ||||
| import { Ad8Component } from './BuilderComponents/angulardatatype/Ad8/Ad8.component'; | ||||
| import { Ad7Component } from './BuilderComponents/angulardatatype/Ad7/Ad7.component'; | ||||
| import { Ad6Component } from './BuilderComponents/angulardatatype/Ad6/Ad6.component'; | ||||
| import { Adv5Component } from './BuilderComponents/angulardatatype/Adv5/Adv5.component'; | ||||
| import { Adv4Component } from './BuilderComponents/angulardatatype/Adv4/Adv4.component'; | ||||
| import { SupportComponent } from './BuilderComponents/angulardatatype/Support/Support.component'; | ||||
| import { Adv3Component } from './BuilderComponents/angulardatatype/Adv3/Adv3.component'; | ||||
| import { Dv2Component } from './BuilderComponents/angulardatatype/Dv2/Dv2.component'; | ||||
| import { Adv1Component } from './BuilderComponents/angulardatatype/Adv1/Adv1.component'; | ||||
| import { Basicp3Component } from './BuilderComponents/angulardatatype/Basicp3/Basicp3.component'; | ||||
| import { Basicp2Component } from './BuilderComponents/angulardatatype/Basicp2/Basicp2.component'; | ||||
| import { Basicp1Component } from './BuilderComponents/angulardatatype/Basicp1/Basicp1.component'; | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| import { CommonModule } from '@angular/common'; | ||||
| import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core'; | ||||
| import { FormsModule, ReactiveFormsModule } from '@angular/forms'; | ||||
| import { ClarityModule } from '@clr/angular'; | ||||
| 
 | ||||
| import { MainPageComponent } from '../main/fnd/main-page/main-page.component'; | ||||
| import { MainRoutingModule } from './main-routing.module'; | ||||
| import { PageNotFoundComponent } from './page-not-found/page-not-found.component'; | ||||
| // import { AboutComponent } from '../main/admin/about/about.component'; | ||||
| // import { LayoutComponent } from './layout/layout.component'; | ||||
| import { HelperModule } from 'src/app/pipes/helpers.module'; | ||||
| import { PasswordResetComponent } from '../main/admin/password-reset/password-reset.component'; | ||||
| import { UserComponent } from '../main/admin/user/user.component'; | ||||
| 
 | ||||
| 
 | ||||
| import { AllMenuGroupComponent } from '../main/admin/menu-group/all/all-menu-group.component'; | ||||
| import { EditMenuGroupComponent } from '../main/admin/menu-group/edit/edit-menu-group.component'; | ||||
| import { MenuGroupComponent } from '../main/admin/menu-group/menu-group.component'; | ||||
| import { ReadOnlyMenuGroupComponent } from '../main/admin/menu-group/read-only/readonly-menu-group.component'; | ||||
| import { AddMenurComponent } from '../main/admin/menu-register/add-menur/add-menur.component'; | ||||
| import { AllMenurComponent } from '../main/admin/menu-register/all-menur/all-menur.component'; | ||||
| import { EditMenurComponent } from '../main/admin/menu-register/edit-menur/edit-menur.component'; | ||||
| import { MenuRegisterComponent } from '../main/admin/menu-register/menu-register.component'; | ||||
| import { ReadonlyMenurComponent } from '../main/admin/menu-register/readonly-menur/readonly-menur.component'; | ||||
| import { ProfileSettingComponent } from '../main/admin/profile-setting/profile-setting.component'; | ||||
| import { UsermaintanceaddComponent } from '../main/admin/usermaintanceadd/usermaintanceadd.component'; | ||||
| import { UsermaintanceeditComponent } from '../main/admin/usermaintanceedit/usermaintanceedit.component'; | ||||
| 
 | ||||
| import { DragDropModule } from '@angular/cdk/drag-drop'; | ||||
| import { HttpClientModule } from '@angular/common/http'; | ||||
| import { CodemirrorModule } from "@ctrl/ngx-codemirror"; | ||||
| import { NgxChartsModule } from '@swimlane/ngx-charts'; | ||||
| import { GridsterModule } from 'angular-gridster2'; | ||||
| import { DynamicModule } from 'ng-dynamic-component'; | ||||
| import { NgChartsModule } from 'ng2-charts'; | ||||
| import { CKEditorModule } from 'ng2-ckeditor'; | ||||
| 
 | ||||
| import { UserRegistrationComponent } from '../main/admin/user-registration/user-registration.component'; | ||||
| 
 | ||||
| import { QRCodeModule } from 'angularx-qrcode'; | ||||
| import { TagInputModule } from 'ngx-chips'; | ||||
| import { CookieService } from 'ngx-cookie-service'; | ||||
| import { ImageCropperModule } from 'ngx-image-cropper'; | ||||
| import { ModulesComponent } from './admin/modules/modules.component'; | ||||
| import { SessionloggerComponent } from './admin/sessionlogger/sessionlogger.component'; | ||||
| import { SubmenuComponent } from './admin/submenu/submenu.component'; | ||||
| 
 | ||||
| import { WireframeService } from 'src/app/services/builder/wireframe.service'; | ||||
| import { ReportBuildComponent } from './builder/report-build/report-build.component'; | ||||
| import { ReportbuildeditComponent } from './builder/report-build/reportbuildedit/reportbuildedit.component'; | ||||
| import { ReportbuildqueryComponent } from './builder/report-build/reportbuildquery/reportbuildquery.component'; | ||||
| import { ReportBuild2Component } from './builder/report-build2/report-build2.component'; | ||||
| import { ReportBuild2editComponent } from './builder/report-build2/report-build2edit/report-build2edit.component'; | ||||
| import { ReportRunnerComponent } from './builder/report-runner/report-runner.component'; | ||||
| import { ReportrunnereditComponent } from './builder/report-runner/reportrunneredit/reportrunneredit.component'; | ||||
| import { Reportrunneredit2Component } from './builder/report-runner/reportrunneredit2/reportrunneredit2.component'; | ||||
| 
 | ||||
| 
 | ||||
| import { DashboardnewComponent } from './builder/dashboardnew/dashboardnew.component'; | ||||
| import { EditformnewdashComponent } from './builder/dashboardnew/editformnewdash/editformnewdash.component'; | ||||
| import { EditnewdashComponent } from './builder/dashboardnew/editnewdash/editnewdash.component'; | ||||
| import { BarChartComponent } from './builder/dashboardnew/gadgets/bar-chart/bar-chart.component'; | ||||
| import { BubbleChartComponent } from './builder/dashboardnew/gadgets/bubble-chart/bubble-chart.component'; | ||||
| import { DoughnutChartComponent } from './builder/dashboardnew/gadgets/doughnut-chart/doughnut-chart.component'; | ||||
| import { DynamicChartComponent } from './builder/dashboardnew/gadgets/dynamic-chart/dynamic-chart.component'; | ||||
| import { FinancialChartComponent } from './builder/dashboardnew/gadgets/financial-chart/financial-chart.component'; | ||||
| import { GridViewComponent } from './builder/dashboardnew/gadgets/grid-view/grid-view.component'; | ||||
| import { LineChartComponent } from './builder/dashboardnew/gadgets/line-chart/line-chart.component'; | ||||
| import { PieChartComponent } from './builder/dashboardnew/gadgets/pie-chart/pie-chart.component'; | ||||
| import { PolarChartComponent } from './builder/dashboardnew/gadgets/polar-chart/polar-chart.component'; | ||||
| import { RadarChartComponent } from './builder/dashboardnew/gadgets/radar-chart/radar-chart.component'; | ||||
| import { ScatterChartComponent } from './builder/dashboardnew/gadgets/scatter-chart/scatter-chart.component'; | ||||
| import { ToDoChartComponent } from './builder/dashboardnew/gadgets/to-do-chart/to-do-chart.component'; | ||||
| import { ScheduleComponent } from './builder/dashboardnew/schedule/schedule.component'; | ||||
| import { CommonFilterComponent } from './builder/dashboardnew/common-filter/common-filter.component'; | ||||
| import { ChartWrapperComponent } from './builder/dashboardnew/common-filter/chart-wrapper.component'; | ||||
| import { AddextensionComponent } from './fnd/extension/addextension/addextension.component'; | ||||
| import { AllextensionComponent } from './fnd/extension/allextension/allextension.component'; | ||||
| import { EditextensionComponent } from './fnd/extension/editextension/editextension.component'; | ||||
| import { ExtensionComponent } from './fnd/extension/extension.component'; | ||||
| 
 | ||||
| import { BarRunnerComponent } from './builder/dashboardrunner/dashrunnerline/bar-runner/bar-runner.component'; | ||||
| import { BubbleRunnerComponent } from './builder/dashboardrunner/dashrunnerline/bubble-runner/bubble-runner.component'; | ||||
| import { DashrunnerlineComponent } from './builder/dashboardrunner/dashrunnerline/dashrunnerline.component'; | ||||
| import { DoughnutRunnerComponent } from './builder/dashboardrunner/dashrunnerline/doughnut-runner/doughnut-runner.component'; | ||||
| import { GridRunnerComponent } from './builder/dashboardrunner/dashrunnerline/grid-runner/grid-runner.component'; | ||||
| import { LineRunnerComponent } from './builder/dashboardrunner/dashrunnerline/line-runner/line-runner.component'; | ||||
| import { PieRunnerComponent } from './builder/dashboardrunner/dashrunnerline/pie-runner/pie-runner.component'; | ||||
| import { PolarRunnerComponent } from './builder/dashboardrunner/dashrunnerline/polar-runner/polar-runner.component'; | ||||
| import { RadarRunnerComponent } from './builder/dashboardrunner/dashrunnerline/radar-runner/radar-runner.component'; | ||||
| import { ScatterRunnerComponent } from './builder/dashboardrunner/dashrunnerline/scatter-runner/scatter-runner.component'; | ||||
| import { TodoRunnerComponent } from './builder/dashboardrunner/dashrunnerline/todo-runner/todo-runner.component'; | ||||
| 
 | ||||
| import { ApiregisteryComponent } from './fnd/apiregistery/apiregistery.component'; | ||||
| 
 | ||||
| import { BulkimportComponent } from './datamanagement/bulkimport/bulkimport.component'; | ||||
| import { BulkimportaddComponent } from './datamanagement/bulkimport/bulkimportadd/bulkimportadd.component'; | ||||
| import { BulkimportallComponent } from './datamanagement/bulkimport/bulkimportall/bulkimportall.component'; | ||||
| import { BulkimporteditComponent } from './datamanagement/bulkimport/bulkimportedit/bulkimportedit.component'; | ||||
| import { BulkimporteditlineComponent } from './datamanagement/bulkimport/bulkimporteditline/bulkimporteditline.component'; | ||||
| import { BulkimportlineComponent } from './datamanagement/bulkimport/bulkimportline/bulkimportline.component'; | ||||
| import { DatamanagementComponent } from './datamanagement/datamanagement/datamanagement.component'; | ||||
| import { DatamananementworkflowComponent } from './datamanagement/datamananementworkflow/datamananementworkflow.component'; | ||||
| import { MappingruleComponent } from './datamanagement/mappingrule/mappingrule.component'; | ||||
| import { MappingruleaddComponent } from './datamanagement/mappingrule/mappingruleadd/mappingruleadd.component'; | ||||
| import { MappingruleallComponent } from './datamanagement/mappingrule/mappingruleall/mappingruleall.component'; | ||||
| import { MappingruleeditComponent } from './datamanagement/mappingrule/mappingruleedit/mappingruleedit.component'; | ||||
| import { Stepper_workflowComponent } from './BuilderComponents/stepperworkflow/Stepper_workflow/Stepper_workflow.component'; | ||||
| import { AllapiregisteryComponent } from './fnd/apiregistery/allapiregistery/allapiregistery.component'; | ||||
| import { AddapiregisteryComponent } from './fnd/apiregistery/addapiregistery/addapiregistery.component'; | ||||
| import { EditapiregisteryComponent } from './fnd/apiregistery/editapiregistery/editapiregistery.component'; | ||||
| import { ApiregisterylineComponent } from './fnd/apiregistery/Apiregisteryline/Apiregisteryline.component'; | ||||
| import { Customer_informationComponent } from './BuilderComponents/angulardatatype/Customer_information/Customer_information.component'; | ||||
| import { Deployment_typeComponent } from './BuilderComponents/angulardatatype/Deployment_type/Deployment_type.component'; | ||||
| import { ManufacturerComponent } from './BuilderComponents/angulardatatype/Manufacturer/Manufacturer.component'; | ||||
| import { Order_summaryComponent } from './BuilderComponents/angulardatatype/Order_summary/Order_summary.component'; | ||||
| import { ProductComponent } from './BuilderComponents/angulardatatype/Product/Product.component'; | ||||
| import { TypesComponent } from './BuilderComponents/angulardatatype/Types/Types.component'; | ||||
| import { Test2Component } from './BuilderComponents/testdata/Test2/Test2.component'; | ||||
| import { Token_registeryComponent } from './fnd/Token_registery/Token_registery.component'; | ||||
| import { MyworkspaceComponent } from './admin/myworkspace/myworkspace.component'; | ||||
| import { ThemeCustomizationComponent } from './theme-customization/theme-customization.component'; | ||||
| // import { QueryComponent } from './superadmin/query/query.component'; | ||||
| // import { QueryaddComponent } from './superadmin/queryadd/queryadd.component'; | ||||
| // import { QueryeditComponent } from './superadmin/queryedit/queryedit.component'; | ||||
| 
 | ||||
| import { FieldTypesModule } from '../../shared/components/field-types/field-types.module'; | ||||
| import { SharedModule } from '../../shared/shared.module'; | ||||
| import { Data_lakeComponent } from './builder/dashboardnew/Data_lake/Data_lake.component'; | ||||
| import { CronJobBuilderComponent } from './builder/dashboardnew/Data_lake/cron-job-builder/cron-job-builder.component'; | ||||
| import { SureconnectComponent } from './builder/dashboardnew/sureconnect/sureconnect.component'; | ||||
| import { EditsureconnectComponent } from './builder/dashboardnew/sureconnect/editsureconnect/editsureconnect.component'; | ||||
| import { OauthComponent } from './builder/dashboardnew/sureconnect/oauth/oauth.component'; | ||||
| 
 | ||||
| // Import Shield Dashboard Module | ||||
| import { ShieldDashboardModule } from './builder/dashboardnew/gadgets/shield-dashboard/shield-dashboard.module'; | ||||
| 
 | ||||
| @NgModule({ | ||||
|   declarations: [ | ||||
|     MainPageComponent, PageNotFoundComponent, UserComponent, PasswordResetComponent, | ||||
|     MyworkspaceComponent, | ||||
|     ReportRunnerComponent, ReportrunnereditComponent, Reportrunneredit2Component, MenuGroupComponent, AllMenuGroupComponent, EditMenuGroupComponent, ReadOnlyMenuGroupComponent, UserRegistrationComponent, | ||||
|     MenuRegisterComponent, AddMenurComponent, EditMenurComponent, AllMenurComponent, ReadonlyMenurComponent, ProfileSettingComponent, | ||||
|     UsermaintanceaddComponent, UsermaintanceeditComponent, | ||||
|     SubmenuComponent, ModulesComponent, SessionloggerComponent, | ||||
|     DashboardnewComponent, EditformnewdashComponent, EditnewdashComponent, ScheduleComponent, | ||||
|     CommonFilterComponent, ChartWrapperComponent, DoughnutChartComponent, LineChartComponent, RadarChartComponent, BarChartComponent, BubbleChartComponent, DynamicChartComponent, ScatterChartComponent, PolarChartComponent, PieChartComponent, FinancialChartComponent, ToDoChartComponent, GridViewComponent, | ||||
|     DashrunnerlineComponent, BarRunnerComponent, LineRunnerComponent, DoughnutRunnerComponent, GridRunnerComponent, PieRunnerComponent, PolarRunnerComponent, RadarRunnerComponent, ScatterRunnerComponent, TodoRunnerComponent, BubbleRunnerComponent, | ||||
|     ReportBuildComponent, ReportbuildeditComponent, ReportbuildqueryComponent, ReportBuild2Component, ReportBuild2editComponent, | ||||
|     // QueryComponent, QueryaddComponent, QueryeditComponent, | ||||
|     ExtensionComponent, | ||||
|     AllextensionComponent, | ||||
|     AddextensionComponent, EditextensionComponent, ApiregisteryComponent, AllapiregisteryComponent, AddapiregisteryComponent, EditapiregisteryComponent, | ||||
| 
 | ||||
|     ApiregisterylineComponent, | ||||
|     DatamanagementComponent, DatamananementworkflowComponent, BulkimportComponent, BulkimportallComponent, BulkimportaddComponent, BulkimporteditComponent, BulkimportlineComponent, BulkimporteditlineComponent, MappingruleComponent, MappingruleallComponent, | ||||
|     MappingruleaddComponent, | ||||
|     MappingruleeditComponent, Stepper_workflowComponent, Customer_informationComponent, | ||||
|     Data_lakeComponent, | ||||
|     SureconnectComponent, | ||||
|     EditsureconnectComponent, | ||||
|     OauthComponent, | ||||
|     CronJobBuilderComponent, | ||||
|     //  FileUploadListComponent, | ||||
| 
 | ||||
| 
 | ||||
|     // buildercomponents | ||||
| 
 | ||||
| 
 | ||||
|     ThemeCustomizationComponent, | ||||
|     Ad10Component, | ||||
|     Token_registeryComponent, | ||||
|     DefatestComponent, | ||||
|     Test2Component, | ||||
|     Order_summaryComponent, | ||||
|     TypesComponent, | ||||
|     ProductComponent, | ||||
|     ManufacturerComponent, | ||||
|     Deployment_typeComponent, | ||||
|     ChildformComponent, | ||||
|     DistrictComponent, | ||||
|     StateComponent, | ||||
|     CountryComponent, | ||||
|     Ad9Component, | ||||
|     Ad8Component, | ||||
|     Ad7Component, | ||||
|     Ad6Component, | ||||
|     Adv5Component, | ||||
|     Adv4Component, | ||||
|     SupportComponent, | ||||
|     Adv3Component, | ||||
|     Dv2Component, | ||||
|     Adv1Component, | ||||
|     Basicp3Component, | ||||
|     Basicp2Component, | ||||
|     Basicp1Component, | ||||
|   ], | ||||
|   imports: [ | ||||
|     QRCodeModule, | ||||
|     CommonModule, | ||||
|     FormsModule, | ||||
|     ReactiveFormsModule, | ||||
|     ClarityModule, | ||||
|     HelperModule, | ||||
|     MainRoutingModule, | ||||
|     DragDropModule, | ||||
|     HttpClientModule, | ||||
|     ImageCropperModule, | ||||
|     TagInputModule, | ||||
|     CodemirrorModule, | ||||
|     CKEditorModule, | ||||
|     GridsterModule, | ||||
|     NgChartsModule, | ||||
|     NgxChartsModule, | ||||
|     DynamicModule, | ||||
|     FieldTypesModule, | ||||
|     SharedModule, | ||||
|     ShieldDashboardModule, | ||||
|   ], | ||||
|   providers: [ | ||||
|     CookieService, | ||||
|     WireframeService, | ||||
| 
 | ||||
| 
 | ||||
|   ], | ||||
|   schemas: [CUSTOM_ELEMENTS_SCHEMA] | ||||
| }) | ||||
| export class MainModule { } | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user