import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { CommonModule } from '@angular/common';


import { RatingModule } from '../../components/bb-rating/bb-rating.module';
import { lineBarChartModule } from '../../components/line-bar-chart/line-bar-chart.module';
//Added By Pravin K on 11-NOV-19[For message notification] START
import { MessageModule } from '../../components/message/message.module';
//Added By Pravin K on 25-FEB-19[For PdfViewer-documentEditor] START
import { PDFViewerModule } from '../../components/pdf-viewer/pdf-viewer.module';
//Added By Pravin K on 25-FEB-19[For PdfViewer-documentEditor] END
import { ChangePasswordModule } from '../../components/change-password/change-password.module';
//Added By Pravin K. on 06-02-2020
import { invoiceTransactionModule } from '../../components/invoice-transaction/invoice-transaction.module';
// Added by Sonam K. on 24-01-19 [For Showing uploading files progress]
import { UploadProgressComponentModule } from "../../components/uploadPanel/uploadProgressComponent.module";
//Added by Sonam K on 06-JAN-20
import { SidePanelAttachmentsModule } from '../../components/sidePanelAttachment/side-panel-attachments.module';

import { DoctorAppointmentModule } from 'src/components/doctor-appointment/doctor-appointment.module';
import { DoctorAppointmentComponent } from 'src/components/doctor-appointment/doctor-appointment.component';//Added By Sainath T. on 01-04-2020

import { ReorderColumnModule  } from 'src/components/reorder-column/reorder-column.module';
import { ReorderColumnComponent } from 'src/components/reorder-column/reorder-column.component';//Added By Sainath T. on 01-04-2020

import { ContentLibraryComponent } from '../../components/content-library/content-library.component';
import { ContentLibraryModule } from '../../components/content-library/content-library.module';

import { AccountActivityModule } from '../../components/account-activity/account-activity.module';
import { DataGridModule } from '../../components/datagrid/datagrid.module';

import { MyPlacesComponent } from '../../components/my-places/my-places.component';
import { PteModule } from '../../components/my-places/pte.module';

import { DashboardFilterComponent } from '../../components/dashboard/dashboard-filter/dashboard-filter.component';
import { ADD_PLUGINS } from '../utils/bb-plugin-util';
//By Sainath T. on 12-01-2020 [BB table component]-Start
// import { BBTableModule } from 'src/components/datagrid/bb-table/bb-table.module';
// import { BBTableComponent } from 'src/components/datagrid/bb-table/bb-table.component';
//By Sainath T. on 12-01-2020 [BB table component]-End

//Added by Prajyot - New Components Vision Assistant and Link Components open in Side panel.
import { BISAssistantModule } from '../../components/bis-assistant/bis-assistant.module';
import { BISAssistantComponent } from '../../components/bis-assistant/bis-assistant/bis-assistant.component';
import { LinkComponentsModule } from '../../components/link-components/link-components.module';
//Added by Sainath T on 19/09/18.[for upload status dashbord]-start
import { BackgroundJobStatusComponent } from 'src/components/background-job/background-job-status.component';
import { BackgroundJobStatusModule } from 'src/components/background-job/background-job-status.module';
//Added by Sainath T on 19/09/18.[for upload status dashbord]-end
import { PresentationManagerModule } from '../../components/pres-manager/pres-manager.module';
import { PresManagerComponent } from '../../components/pres-manager/pres-manager.component';
import { UserInvitationComponent  } from '../../components/user-invitation-component/user-invitation-component.component';
import { UserInvitationModule  } from '../../components/user-invitation-component/user-invitation-component.module';


import { FmComponentModule } from '../../components/fm-component/fm-component.module';
import { FmComponentComponent } from '../../components/fm-component/fm-component.component';
//By Sainath T. on 21-01-19 [For Export to xsl and Download zip component]-Start
import { SearchMenuComponent } from '../../components/search-menu/search-menu.component';
import { SearchMenuModule } from '../../components/search-menu/search-menu.modul';
//By Sainath T. on 21-01-19 [For Export to xsl and Download zip component]-End
 
//Added By Kamal.P to load new Dashboard as Course-library Start
import { CourseLibraryModule } from '../../components/course-library/course-library.module';
import { CourseContentComponent } from '../../components/course-library/course-contents/course-content.component';
import { CourseQuestions } from '../../components/course-library/course-contents/course-question/course-question.component';
import { BBVideoModule } from '../../components/course-library/course-contents/bb-video/bb-video.module';
import { BBVideoComponent } from '../../components/course-library/course-contents/bb-video/bb-video.component';
//Added By Kamal.P to load new Dashboard as Course-library End  
//Added By Pratheek on 05-Aug-19[to show all the tag data in My Tagging PopUp Panel]-START
import { MyTaggingModule } from '../../components/my-tagging/my-tagging.module';
import { MyTaggingComponent } from '../../components/my-tagging/my-tagging/my-tagging.component';
//Added By Pratheek on 05-Aug-19[to show all the tag data in My Tagging PopUp Panel]-End
//Added By Pravin K on 12-JAN-20[For User task] START
import { UserTaskModule } from '../../components/user-task/user-task.module'
//Added By Pravin K on 12-JAN-20[For User task] END

// Added by Mahesh Saggam on 31/03/2020 [to create interface for follow-up-action]
import { followUpActionModule } from '../../components/follow-up-action/follow-up-action.module';
import { visionTestDriveModule } from '../../components/vision-test-drive/vision-test-drive.module';
import { visionTestDriveMobileModule } from '../../components/vision-test-drive-mobile/vision-test-drive-mobile.module';


//Added by shrutika on 13-04-2020  for display device information on image click on change detail field.
import { teminalDetailModule } from '../../components/terminal-details/terminal-details.module';
import { ADD_DASHBOARDS } from '../utils/dashboard-plugin-util';
import { DashboardFilterModule } from 'src/components/dashboard/dashboard-filter/dashboard-filter.module';
import { DashaboardModule } from 'src/components/dashboard/dashboard.module';

import { DashboardComponent } from 'src/components/dashboard/dashboard.component';
import { AccountActivityComponent } from 'src/components/account-activity/account-activity.component';
import { AccActivityGraphComponent } from 'src/components/account-activity/acc-activity-graph/acc-activity-graph.component';
import { MessageComponent } from 'src/components/message/message.component';
//import { TasksComponent } from '../../components/tasks/tasks.component';
//import { TaskModule } from '../../components/tasks/tasks.module';
//Added by shrutika on 19-05-2020  for extract template changses.
import { popHelpModule } from '../../components/open-pophelp/open-pophelp.module';
import { extractTemplateModule } from '../../components/extract-template/extract-template.module';
import { custStockModule } from '../../components/cust_stock/cust_stock.module';
// Added by Shrutika Nalawade [16-DEC-2020] [for Incentive process] Start
import { GprocDesigModule } from '../../components/gpro_design/gpro_design.module';
import { GeneralizedProcessModule } from '../../components/generalized_process/generalized_process.module';
import { DashDefModule } from '../../components/dash_def/dash_def.module';
import { VisualDefinitionModule } from '../../components/visual_definition/visual_definition.module';


// Added by Shrutika Nalawade [16-DEC-2020] [for Incentive process] End
// Added by Mahesh Saggam [13-AUG-21] [Create an angular component to draw all visuals for visual definition and incentive definition]
import { VisualViewModule } from '../../components/visuals/visual/visual.module';
import { SchemaDesignerModule } from '../../components/schema_designer/schema_designer.module';
//Added by Samruddhi to display vision assistance messages
import { VisAsstResponseImplModule } from '../../components/vision_response/vis_asst_response_impl/vis_asst_response_impl.module';

//ADD_PLUGINS('tasks', TasksComponent);
ADD_PLUGINS('account-activity', AccountActivityComponent);
ADD_PLUGINS('acc-activity-graph', AccActivityGraphComponent);
ADD_PLUGINS('bb-message', MessageComponent);


ADD_PLUGINS('content-library', ContentLibraryComponent);
ADD_PLUGINS('place-time-entity', MyPlacesComponent);

ADD_DASHBOARDS('dashboard-filter', DashboardFilterComponent);
ADD_DASHBOARDS('dashboard', DashboardComponent);
ADD_PLUGINS('bis-assistant', BISAssistantComponent);
ADD_PLUGINS('background-job-status', BackgroundJobStatusComponent); //Added by Sainath T on 19/09/18.[for upload status dashbord]
ADD_PLUGINS('pres-manager', PresManagerComponent);
ADD_PLUGINS('user_pres', PresManagerComponent);
ADD_PLUGINS('fm-component', FmComponentComponent);
ADD_PLUGINS('user-invitation', UserInvitationComponent);
ADD_PLUGINS('app-search-menu', SearchMenuComponent);//By Sainath T.
// ADD_PLUGINS('bb-table', BBTableComponent);//By Sainath T.
ADD_PLUGINS('course-content', CourseContentComponent);//By Kamal.P
ADD_PLUGINS('course-question', CourseQuestions);//By Kamal.P
ADD_PLUGINS('bb-video', BBVideoComponent);//By Kamal.P
//Added By Pratheek on 05-Aug-19[to show all the tag data in My Tagging PopUp Panel] START
ADD_PLUGINS('my-tagging', MyTaggingComponent);
//Added By Pratheek on 05-Aug-19[to show all the tag data in My Tagging PopUp Panel] End
ADD_PLUGINS('doctor-appointment', DoctorAppointmentComponent);//Added By Sainath T. on 01-04-2020
ADD_PLUGINS('app-reorder-column', ReorderColumnComponent);

@NgModule({
    imports: [
		CommonModule,
		lineBarChartModule,
		RatingModule,
		MessageModule,
		PDFViewerModule, //Added By Pravin K on 25-FEB-19[For PdfViewer-documentEditor],
		ChangePasswordModule,
		invoiceTransactionModule,
		UploadProgressComponentModule,
		SidePanelAttachmentsModule,
		DoctorAppointmentModule,
		ContentLibraryModule,
		AccountActivityModule,
		DataGridModule,
		UserInvitationModule,
		PteModule,
		DashboardFilterModule,
		DashaboardModule,
		BISAssistantModule,
        ReorderColumnModule ,
		//sai

		// BBTableModule,
		LinkComponentsModule,
		BackgroundJobStatusModule, //Added by Sainath T on 19/09/18.[for upload status dashbord]
		PresentationManagerModule,
		FmComponentModule,
		SearchMenuModule,
		CourseLibraryModule,//Added By Kamal.P[For Course-Library Dashboard],
		BBVideoModule,//Added By Kamal.P [For Course-Library Dashboard],
		MyTaggingModule,//Added By Pratheek on 05-Aug-19[to show all the tag data in My Tagging PopUp Panel] START
		UserTaskModule,
		//TaskModule,
		followUpActionModule,
		teminalDetailModule,//Added by shrutika on 13-04-2020 for display device information on image click on change detail field.
		//Added by shrutika on 19-05-2020  for extract template changses.
        extractTemplateModule,
        custStockModule,
        visionTestDriveModule,
        popHelpModule,
        GprocDesigModule,
        GeneralizedProcessModule,
        DashDefModule,
        VisualDefinitionModule,
        visionTestDriveMobileModule,
		VisualViewModule,
		SchemaDesignerModule,
		VisAsstResponseImplModule,
    ],
    schemas:[CUSTOM_ELEMENTS_SCHEMA]
})
export class BBPluginImplModule {}



