dashboard
This commit is contained in:
@@ -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;
|
||||
|
||||
// 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);
|
||||
// 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,20 +13,20 @@ 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 route: ActivatedRoute, private reportBuilderService: ReportBuilderService,
|
||||
private toastr: ToastrService, private _fb: FormBuilder) { }
|
||||
|
||||
ngOnInit(): void {
|
||||
@@ -34,33 +34,33 @@ export class ReportBuild2editComponent implements OnInit {
|
||||
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) => {
|
||||
@@ -70,10 +70,9 @@ export class ReportBuild2editComponent implements OnInit {
|
||||
|
||||
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,21 +91,21 @@ 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;
|
||||
})
|
||||
}else{
|
||||
} else {
|
||||
this.toastr.error("URL is required");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
listBuilder_Lines = {
|
||||
model:{}
|
||||
model: {}
|
||||
}
|
||||
update() {
|
||||
|
||||
@@ -129,7 +128,7 @@ 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) => {
|
||||
|
||||
@@ -14,16 +14,18 @@ import { ExcelService } from 'src/app/services/excel.service';
|
||||
})
|
||||
export class Reportrunneredit2Component implements OnInit {
|
||||
dynamicForm: FormGroup;
|
||||
modalselect:boolean=false;
|
||||
serverData = [{"andor": "AND",
|
||||
modalselect: boolean = false;
|
||||
serverData = [{
|
||||
"andor": "AND",
|
||||
"fields_name": "",
|
||||
"condition": "=",
|
||||
"value": ""}];
|
||||
andor = ['AND', 'OR','NOT'];
|
||||
"value": ""
|
||||
}];
|
||||
andor = ['AND', 'OR', 'NOT'];
|
||||
fieldname = ['name1', 'name2'];
|
||||
condition = ['=','!=','<','>','<=','>=','LIKE','BETWEEN','IN'];
|
||||
condition = ['=', '!=', '<', '>', '<=', '>=', 'LIKE', 'BETWEEN', 'IN'];
|
||||
header_id;
|
||||
public array=[
|
||||
public array = [
|
||||
{
|
||||
"id": 1,
|
||||
"name": "Jack",
|
||||
@@ -76,13 +78,12 @@ export class Reportrunneredit2Component implements OnInit {
|
||||
selectedfrom;
|
||||
selectedto;
|
||||
constructor(private router: Router,
|
||||
private route: ActivatedRoute,private _fb: FormBuilder,
|
||||
private reportBuilderService: ReportBuilderService,private toastr:ToastrService,private sanitizer: DomSanitizer,private excel: ExcelService)
|
||||
{
|
||||
private route: ActivatedRoute, private _fb: FormBuilder,
|
||||
private reportBuilderService: ReportBuilderService, private toastr: ToastrService, private sanitizer: DomSanitizer, private excel: ExcelService) {
|
||||
this.dynamicForm = this._fb.group({
|
||||
});
|
||||
}
|
||||
todayDate;
|
||||
todayDate;
|
||||
ngOnInit(): void {
|
||||
this.todayDate = new Date().toISOString().slice(0, 10);
|
||||
this.header_id = this.route.snapshot.params["id"];
|
||||
@@ -101,7 +102,7 @@ todayDate;
|
||||
builderLine;
|
||||
builderLineData;
|
||||
lineId;
|
||||
adhocList:any[];
|
||||
adhocList: any[];
|
||||
SQLQuery;
|
||||
getUrl;
|
||||
stdParamfields;
|
||||
@@ -113,36 +114,61 @@ todayDate;
|
||||
this.reportName = data.reportName;
|
||||
this.builderLine = data.rpt_builder2_lines;
|
||||
this.lineId = this.builderLine[0].id
|
||||
this.builderLineData = JSON.parse(this.builderLine[0].model) ;
|
||||
console.log(this.lineId,this.builderLineData);
|
||||
this.builderLineData = JSON.parse(this.builderLine[0].model);
|
||||
console.log(this.lineId, this.builderLineData);
|
||||
this.builderLineData = this.builderLineData[0];
|
||||
this.adhocList = this.builderLineData.adhoc_param_html;
|
||||
// this.adhocList = JSON.parse(adhocList);
|
||||
this.DateParam = this.builderLineData.date_param_req;
|
||||
this.getUrl = this.builderLineData.url;
|
||||
console.log(this.adhocList,this.DateParam,this.getUrl)
|
||||
console.log(this.adhocList, this.DateParam, this.getUrl)
|
||||
this.getStdParam(this.header_id);
|
||||
this.featchData();
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
featchData(){
|
||||
this.reportBuilderService.getAllDetailsByurl(this.getUrl).subscribe(data =>{
|
||||
featchData() {
|
||||
this.reportBuilderService.getAllDetailsByurl(this.getUrl).subscribe(data => {
|
||||
console.log(data);
|
||||
if(data.body){
|
||||
if (data.body) {
|
||||
// Check if the response is XML (starts with <) or JSON
|
||||
if (typeof data.body === 'string' && data.body.trim().startsWith('<')) {
|
||||
// Handle XML response - for now we'll set rows to empty array
|
||||
// In a real implementation, you would parse the XML properly
|
||||
console.warn('Received XML response instead of JSON');
|
||||
this.rows = [];
|
||||
this.filterRows = [];
|
||||
} else {
|
||||
// Handle JSON response
|
||||
try {
|
||||
console.log(JSON.parse(data.body));
|
||||
this.rows = JSON.parse(data.body);
|
||||
this.filterRows = JSON.parse(data.body);
|
||||
} catch (error) {
|
||||
console.error('Error parsing JSON:', error);
|
||||
this.rows = [];
|
||||
this.filterRows = [];
|
||||
}
|
||||
}
|
||||
} else {
|
||||
// If no body, initialize with empty arrays
|
||||
this.rows = [];
|
||||
this.filterRows = [];
|
||||
}
|
||||
}, error => {
|
||||
// Handle HTTP errors
|
||||
console.error('Error fetching data:', error);
|
||||
this.rows = [];
|
||||
this.filterRows = [];
|
||||
});
|
||||
}
|
||||
|
||||
dynamicHtml:any = [];
|
||||
dynamicHtml: any = [];
|
||||
dynamicHtmlFlag = false;
|
||||
stdParmas;
|
||||
stdParamFlag = false;
|
||||
getStdParam(id: any){
|
||||
getStdParam(id: any) {
|
||||
console.log(this.builderLineData.std_param_html);
|
||||
this.dynamicHtml = this.builderLineData.std_param_html;
|
||||
// this.dynamicHtml = ['a.abc','b.abcde']
|
||||
@@ -154,9 +180,9 @@ todayDate;
|
||||
}
|
||||
console.log(this.dynamicForm.value);
|
||||
}
|
||||
if(this.dynamicHtml == undefined || this.dynamicHtml == ''){
|
||||
if (this.dynamicHtml == undefined || this.dynamicHtml == '') {
|
||||
this.dynamicHtmlFlag = false;
|
||||
}else{
|
||||
} else {
|
||||
this.dynamicHtmlFlag = true;
|
||||
}
|
||||
|
||||
@@ -174,37 +200,37 @@ todayDate;
|
||||
// }
|
||||
// });
|
||||
}
|
||||
modo2(val){
|
||||
modo2(val) {
|
||||
console.log(val);
|
||||
this.selectedfrom=val;
|
||||
this.selectedfrom = val;
|
||||
}
|
||||
modo3(val){
|
||||
modo3(val) {
|
||||
console.log(val);
|
||||
this.selectedto=val;
|
||||
this.selectedto = val;
|
||||
}
|
||||
duplicateArray=[];
|
||||
duplicateArray = [];
|
||||
myDateValue: Date;
|
||||
toDate:Date;
|
||||
toDate: Date;
|
||||
reverseAndTimeStamp(dateString) {
|
||||
const reverse = new Date(dateString.split("-").reverse().join("-"));
|
||||
return reverse.getTime();
|
||||
}
|
||||
filterDate() {
|
||||
let fromdate=moment(this.myDateValue).format('DD-MM-YYYY');
|
||||
console.log(fromdate)
|
||||
let todate=moment(this.toDate).format('DD-MM-YYYY');
|
||||
if(this.myDateValue && this.toDate){
|
||||
const selectedMembers = this.array.filter(m => {
|
||||
let fromdate = moment(this.myDateValue).format('DD-MM-YYYY');
|
||||
console.log(fromdate)
|
||||
let todate = moment(this.toDate).format('DD-MM-YYYY');
|
||||
if (this.myDateValue && this.toDate) {
|
||||
const selectedMembers = this.array.filter(m => {
|
||||
return this.reverseAndTimeStamp(m.fromDate) >= this.reverseAndTimeStamp(fromdate) && this.reverseAndTimeStamp(m.fromDate) <= this.reverseAndTimeStamp(todate)
|
||||
}
|
||||
);
|
||||
this.duplicateArray=selectedMembers
|
||||
}else{
|
||||
this.duplicateArray=this.array
|
||||
}
|
||||
this.duplicateArray = selectedMembers
|
||||
} else {
|
||||
this.duplicateArray = this.array
|
||||
}
|
||||
console.log(this.duplicateArray); // the result objects
|
||||
this.modalselect=false;
|
||||
}
|
||||
this.modalselect = false;
|
||||
}
|
||||
|
||||
dateParameter: string;
|
||||
from_date: Date;
|
||||
@@ -228,10 +254,10 @@ this.duplicateArray=this.array
|
||||
this.to_date = new Date(this.from_date);
|
||||
this.to_date.setDate(this.from_date.getDate() + 6);
|
||||
console.log(this.from_date);
|
||||
this.myDateValue=this.from_date;
|
||||
this.myDateValue = this.from_date;
|
||||
console.log(this.to_date);
|
||||
console.log(this.myDateValue);
|
||||
this.toDate=this.to_date;
|
||||
this.toDate = this.to_date;
|
||||
|
||||
this.FromDatequery = this.from_date.toISOString().substring(0, 10);
|
||||
this.ToDatequery = this.to_date.toISOString().substring(0, 10);
|
||||
@@ -254,10 +280,10 @@ this.duplicateArray=this.array
|
||||
// Calculate the date of Sunday of the previous week
|
||||
this.to_date = new Date(this.from_date);
|
||||
this.to_date.setDate(this.from_date.getDate() + 6);
|
||||
this.myDateValue=this.from_date;
|
||||
this.myDateValue = this.from_date;
|
||||
console.log(this.to_date);
|
||||
console.log(this.myDateValue);
|
||||
this.toDate=this.to_date;
|
||||
this.toDate = this.to_date;
|
||||
|
||||
|
||||
this.FromDatequery = this.from_date.toISOString().substring(0, 10);
|
||||
@@ -328,10 +354,10 @@ this.duplicateArray=this.array
|
||||
// Calculate the date of the last day of the current year
|
||||
this.to_date = new Date(currentDate.getFullYear(), 11, 31);
|
||||
|
||||
this.myDateValue=this.from_date;
|
||||
this.myDateValue = this.from_date;
|
||||
console.log(this.to_date);
|
||||
console.log(this.myDateValue);
|
||||
this.toDate=this.to_date;
|
||||
this.toDate = this.to_date;
|
||||
|
||||
|
||||
this.FromDatequery = this.from_date.toISOString().substring(0, 10);
|
||||
@@ -349,48 +375,48 @@ this.duplicateArray=this.array
|
||||
// Calculate the date of the last day of the previous year
|
||||
this.to_date = new Date(currentDate.getFullYear() - 1, 11, 31);
|
||||
|
||||
this.myDateValue=this.from_date;
|
||||
this.myDateValue = this.from_date;
|
||||
console.log(this.to_date);
|
||||
console.log(this.myDateValue);
|
||||
this.toDate=this.to_date;
|
||||
this.toDate = this.to_date;
|
||||
|
||||
this.FromDatequery = this.from_date.toISOString().substring(0, 10);
|
||||
this.ToDatequery = this.to_date.toISOString().substring(0, 10);
|
||||
// this.filterDate();
|
||||
}
|
||||
SelectdateType;
|
||||
select(val:any){
|
||||
select(val: any) {
|
||||
console.log(val);
|
||||
this.SelectdateType = val;
|
||||
if(val === 'This Week'){
|
||||
if (val === 'This Week') {
|
||||
this.FromDatequery = null;
|
||||
this.ToDatequery = null;
|
||||
this.calculateThisWeek()
|
||||
}else if(val === 'Last Week'){
|
||||
} else if (val === 'Last Week') {
|
||||
this.FromDatequery = null;
|
||||
this.ToDatequery = null;
|
||||
this.calculateLastWeek()
|
||||
}else if(val === 'This Month'){
|
||||
} else if (val === 'This Month') {
|
||||
this.FromDatequery = null;
|
||||
this.ToDatequery = null;
|
||||
this.calculateThisMonth()
|
||||
}else if(val === 'Last Month'){
|
||||
} else if (val === 'Last Month') {
|
||||
this.FromDatequery = null;
|
||||
this.ToDatequery = null;
|
||||
this.calculateLastMonth()
|
||||
// }else if(val === 'To Specific FromDate To To Date'){
|
||||
// this.openmodel()
|
||||
}
|
||||
else if(val === 'This Year'){
|
||||
else if (val === 'This Year') {
|
||||
this.FromDatequery = null;
|
||||
this.ToDatequery = null;
|
||||
this.calculateThisYear()
|
||||
}else if(val === 'Last Year'){
|
||||
} else if (val === 'Last Year') {
|
||||
this.FromDatequery = null;
|
||||
this.ToDatequery = null;
|
||||
this.calculateLastYear()
|
||||
}
|
||||
else if(val === 'Today'){
|
||||
else if (val === 'Today') {
|
||||
this.FromDatequery = null;
|
||||
this.ToDatequery = null;
|
||||
this.myDateValue = this.todayDate;
|
||||
@@ -399,7 +425,7 @@ this.duplicateArray=this.array
|
||||
this.FromDatequery = this.myDateValue;
|
||||
this.ToDatequery = this.toDate;
|
||||
}
|
||||
else if(val === '--Select Particular--'){
|
||||
else if (val === '--Select Particular--') {
|
||||
this.FromDatequery = null;
|
||||
this.ToDatequery = null;
|
||||
this.newfrom = null;
|
||||
@@ -410,8 +436,8 @@ this.duplicateArray=this.array
|
||||
|
||||
|
||||
}
|
||||
openmodel(){
|
||||
this.modalselect=true;
|
||||
openmodel() {
|
||||
this.modalselect = true;
|
||||
}
|
||||
|
||||
onExport() {
|
||||
@@ -423,15 +449,15 @@ this.duplicateArray=this.array
|
||||
downloadFile(format: string) {
|
||||
const date = moment().format('YYYYMMDD_HHmmss')
|
||||
const reportNameWithUnderscore = this.reportName + '_' + date;
|
||||
this.reportBuilderService.downloadFile(format, this.filterRows,reportNameWithUnderscore)
|
||||
this.reportBuilderService.downloadFile(format, this.filterRows, reportNameWithUnderscore)
|
||||
}
|
||||
back(){
|
||||
back() {
|
||||
this.router.navigate(["../../all"], { relativeTo: this.route });
|
||||
}
|
||||
FormattedAdhocparameters;
|
||||
adocdata;
|
||||
// showPlusIconRow: number | null = 0;
|
||||
onAddLines(){
|
||||
FormattedAdhocparameters;
|
||||
adocdata;
|
||||
// showPlusIconRow: number | null = 0;
|
||||
onAddLines() {
|
||||
console.log(this.serverData);
|
||||
const lastRow = this.serverData[this.serverData.length - 1];
|
||||
if (lastRow && lastRow.fields_name !== '') {
|
||||
@@ -494,8 +520,8 @@ adocdata;
|
||||
}
|
||||
|
||||
|
||||
rows:any[];
|
||||
filterRows:any[];
|
||||
rows: any[];
|
||||
filterRows: any[];
|
||||
columns: any[];
|
||||
rowdata;
|
||||
FromDatequery;
|
||||
@@ -505,11 +531,11 @@ adocdata;
|
||||
newto;
|
||||
|
||||
dateKey;
|
||||
runtheQuery(){
|
||||
console.log(this.myDateValue , this.toDate);
|
||||
runtheQuery() {
|
||||
console.log(this.myDateValue, this.toDate);
|
||||
let query = this.SQLQuery;
|
||||
// let query
|
||||
if(this.dynamicForm.value){
|
||||
// let query
|
||||
if (this.dynamicForm.value) {
|
||||
// for(let i = 0; i < this.dynamicForm.value.length; i++){
|
||||
// // const query = this.SQLQuery + " AND " + this.dynamicForm.controls[i] + " = " + this.dynamicForm.value[i]
|
||||
|
||||
@@ -519,7 +545,7 @@ runtheQuery(){
|
||||
// Iterate over the keys in dynamicForm.value
|
||||
Object.keys(this.dynamicForm.value).forEach((key) => {
|
||||
// Append the condition for each key to the query
|
||||
if (this.dynamicForm.value[key] !== null ) {
|
||||
if (this.dynamicForm.value[key] !== null) {
|
||||
this.selectcolumn(this.dynamicForm.value);
|
||||
// query += ` AND ${key} = '${this.dynamicForm.value[key]}'`;
|
||||
}
|
||||
@@ -539,27 +565,27 @@ runtheQuery(){
|
||||
// query += ` AND cretaedat BETWEEN '${this.FromDatequery}' AND '${this.ToDatequery}'`;
|
||||
|
||||
// }else
|
||||
if(this.DateParam == true){
|
||||
if (this.DateParam == true) {
|
||||
this.dateKey = 'createdat';
|
||||
this.adhocList.forEach(key => {
|
||||
if (key.includes("created_at")) {
|
||||
this.dateKey ="created_at" ;
|
||||
this.dateKey = "created_at";
|
||||
}
|
||||
});
|
||||
this.adhocList.forEach(key => {
|
||||
if (key.includes("createdAt")) {
|
||||
this.dateKey ="createdAt" ;
|
||||
this.dateKey = "createdAt";
|
||||
}
|
||||
});
|
||||
if(this.myDateValue && this.toDate){
|
||||
if(this.myDateValue){
|
||||
});
|
||||
if (this.myDateValue && this.toDate) {
|
||||
if (this.myDateValue) {
|
||||
this.newfrom = new Date(this.myDateValue);
|
||||
// const year = inputDate.getFullYear();
|
||||
// const month = String(inputDate.getMonth() + 1).padStart(2, "0"); // Months are zero-based, so add 1
|
||||
// const day = String(inputDate.getDate()).padStart(2, "0");
|
||||
// this.newfrom = `${year}-${month}-${day}`;
|
||||
}
|
||||
if(this.toDate){
|
||||
if (this.toDate) {
|
||||
this.newto = new Date(this.toDate);
|
||||
// const year = inputDate.getFullYear();
|
||||
// const month = String(inputDate.getMonth() + 1).padStart(2, "0"); // Months are zero-based, so add 1
|
||||
@@ -569,40 +595,37 @@ runtheQuery(){
|
||||
}
|
||||
query += ` AND ${this.dateKey} BETWEEN '${this.newfrom}' AND '${this.newto}'`;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
// if(this.myDateValue && this.toDate){
|
||||
// query += ` AND from_date = NVL(${this.myDateValue}from_date, 'from_date') AND to_date = NVL(${this.toDate}to_date, 'to_date')`;
|
||||
// }
|
||||
console.log(query);
|
||||
}
|
||||
// if(this.FormattedAdhocparameters){
|
||||
// query += this.FormattedAdhocparameters
|
||||
// }
|
||||
// if(this.FormattedAdhocparameters){
|
||||
// query += this.FormattedAdhocparameters
|
||||
// }
|
||||
|
||||
this.selectcolumn(this.serverData);
|
||||
// query = `SELECT a.name AS name, b.dob AS dob FROM abc a, abcde b WHERE a.name = 'gaurav' AND a.abc = NVL(b.abc, 'name') AND a.abcde = NVL(b.abcde, 'test');`
|
||||
// query = `SELECT a.name AS name, b.dob AS dob FROM abc a, abcde b WHERE a.name = 'gaurav' AND a.abc = NVL(b.abc, 'name') AND a.abcde = NVL(b.abcde, 'test');`
|
||||
console.log(query);
|
||||
this.reportBuilderService.getMasterData(query).subscribe((data) => {
|
||||
// this.rows = data;
|
||||
|
||||
console.log(this.rows);
|
||||
this.rowdata= [this.rows];
|
||||
this.rowdata = [this.rows];
|
||||
console.log(typeof this.rows);
|
||||
if(data){
|
||||
if (data) {
|
||||
this.toastr.success("Run Successfully")
|
||||
}
|
||||
var j;
|
||||
var cart = [];
|
||||
|
||||
for(var i = 0; i < data.length; i++)
|
||||
{
|
||||
for (var i = 0; i < data.length; i++) {
|
||||
var columnsIn = data[i];
|
||||
if(i==1)
|
||||
{
|
||||
for(var key in columnsIn)
|
||||
{
|
||||
j={prop:key , name: key};
|
||||
if (i == 1) {
|
||||
for (var key in columnsIn) {
|
||||
j = { prop: key, name: key };
|
||||
cart.push(j)
|
||||
|
||||
}
|
||||
@@ -610,30 +633,30 @@ this.rowdata= [this.rows];
|
||||
}
|
||||
this.columns = cart;
|
||||
|
||||
});
|
||||
}
|
||||
getHeaders() {
|
||||
let headers: string[] = [];
|
||||
if(this.rows) {
|
||||
});
|
||||
}
|
||||
getHeaders() {
|
||||
let headers: string[] = [];
|
||||
if (this.rows) {
|
||||
this.rows.forEach((value) => {
|
||||
Object.keys(value).forEach((key) => {
|
||||
if(!headers.find((header) => header == key)){
|
||||
if (!headers.find((header) => header == key)) {
|
||||
headers.push(key)
|
||||
}
|
||||
|
||||
})
|
||||
|
||||
})
|
||||
}
|
||||
return headers;
|
||||
}
|
||||
}
|
||||
return headers;
|
||||
}
|
||||
|
||||
getFilterHeaders() {
|
||||
getFilterHeaders() {
|
||||
let headers: string[] = [];
|
||||
if(this.filterRows) {
|
||||
if (this.filterRows) {
|
||||
this.filterRows.forEach((value) => {
|
||||
Object.keys(value).forEach((key) => {
|
||||
if(!headers.find((header) => header == key)){
|
||||
if (!headers.find((header) => header == key)) {
|
||||
headers.push(key)
|
||||
}
|
||||
})
|
||||
@@ -644,8 +667,8 @@ getFilterHeaders() {
|
||||
|
||||
|
||||
|
||||
selectedValues: { [key: string]: any[] } = {};
|
||||
selectcolumn(data: any) {
|
||||
selectedValues: { [key: string]: any[] } = {};
|
||||
selectcolumn(data: any) {
|
||||
if (Array.isArray(data)) {
|
||||
for (const item of data) {
|
||||
const columnName = item.fields_name;
|
||||
@@ -695,13 +718,21 @@ selectcolumn(data: any) {
|
||||
|
||||
console.log(this.selectedValues);
|
||||
this.filterRowsBySelectedValues();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
filtered = false;
|
||||
filterRowsBySelectedValues() {
|
||||
filtered = false;
|
||||
filterRowsBySelectedValues() {
|
||||
// Check if rows is defined and iterable
|
||||
if (!this.rows || !Array.isArray(this.rows)) {
|
||||
console.warn('Rows is not defined or not an array');
|
||||
this.filterRows = [];
|
||||
this.filtered = false;
|
||||
return;
|
||||
}
|
||||
|
||||
// Create a filteredRows array to store the filtered data
|
||||
const filteredRows = [];
|
||||
|
||||
@@ -750,7 +781,7 @@ filterRowsBySelectedValues() {
|
||||
}
|
||||
}
|
||||
}
|
||||
if(this.FromDatequery !== null && this.ToDatequery !== null){
|
||||
if (this.FromDatequery !== null && this.ToDatequery !== null) {
|
||||
this.newfrom = this.FromDatequery
|
||||
this.newto = this.ToDatequery
|
||||
}
|
||||
@@ -803,11 +834,11 @@ filterRowsBySelectedValues() {
|
||||
|
||||
// Set this.filtered based on allArraysEmpty and dateRangeNotSelected
|
||||
this.filtered = !allArraysEmpty || !dateRangeNotSelected;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
formatDate(dateObj: any): string {
|
||||
formatDate(dateObj: any): string {
|
||||
// Extract individual date properties
|
||||
const { year, monthValue, dayOfMonth, hour, minute, second } = dateObj;
|
||||
|
||||
@@ -816,9 +847,9 @@ formatDate(dateObj: any): string {
|
||||
|
||||
// Format the date as needed (e.g., using built-in JavaScript date formatting)
|
||||
return formattedDate.toLocaleString(); // Or any other desired formatting
|
||||
}
|
||||
}
|
||||
|
||||
isDate(value: any): boolean {
|
||||
isDate(value: any): boolean {
|
||||
return (
|
||||
value instanceof Date ||
|
||||
(value &&
|
||||
@@ -826,6 +857,5 @@ isDate(value: any): boolean {
|
||||
value.monthValue !== undefined &&
|
||||
value.dayOfMonth !== undefined)
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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';
|
||||
|
||||
|
||||
|
||||
@@ -132,6 +166,8 @@ const routes: Routes = [
|
||||
{ path: 'editconnect/:id', component: EditsureconnectComponent },
|
||||
|
||||
|
||||
|
||||
|
||||
{
|
||||
path: 'reportbuild', component: ReportBuildComponent,
|
||||
children: [
|
||||
@@ -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] } },
|
||||
|
||||
|
||||
|
||||
@@ -189,6 +225,12 @@ const routes: Routes = [
|
||||
]
|
||||
},
|
||||
|
||||
// Shield Dashboard
|
||||
{
|
||||
path: 'shield-dashboard',
|
||||
loadChildren: () => import('./builder/dashboardnew/gadgets/shield-dashboard/shield-dashboard-routing.module').then(m => m.ShieldDashboardRoutingModule)
|
||||
},
|
||||
|
||||
{
|
||||
path: 'dashboardrunner', component: DashboardrunnerComponent,
|
||||
children: [
|
||||
@@ -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,
|
||||
// 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 { }
|
||||
Reference in New Issue
Block a user