{"version":3,"sources":["redux/pages/Administration/Search/searchSlice.ts","pages/InspectionTasks/MapCustomer.tsx","pages/InspectionTasks/MapContract.tsx","pages/InspectionTasks/InspectionTasksFilter.tsx","components/Filters/Filters.tsx","redux/pages/Manage/InspectionSettings/Reports/ReportTemplateSlice.ts","redux/pages/Manage/InspectionSettings/Reports/ReportConfigSlice.ts","pages/Contracts/ManageContract/AddContract.tsx","redux/pages/Manage/InspectionSettings/Reports/ReportGroupSlice.ts","components/common/Message/InformationBox/InformationBox.tsx","constants/AppRoutes.tsx","pages/Customers/ManageCustomer/AddCustomer.tsx","components/common/DatafieldOrder/DatafieldOrder.tsx","redux/pages/Administration/Site/siteSlice.ts","pages/Customers/ManageCustomer/CustomerNumberPattern.tsx","pages/Contracts/ManageContract/ContractNumberPattern.tsx","constants/common.tsx","redux/common/event/eventControllerSlice.ts","service/GeneralUtility.ts","redux/pages/Inspection/InspectionTask/inspectionTaskSlice.ts","components/common/Message/ConfirmationBox/ConfirmationBox.tsx","redux/pages/Administration/administrationSlice.ts","redux/common/commonSlice.ts","components/Table/AddModal/AddModal.tsx","redux/pages/Inspection/InspectionTask/inspectionTaskFilterSlice.ts","components/common/PopOver/PopOver.tsx","service/HttpService.ts","pages/ManageInspection/Reports/Reports.tsx","pages/ManageInspection/Reports/ReportsData.tsx","pages/ManageInspection/Reports/ReportTemplatesData.tsx","pages/ManageInspection/Reports/ReportConfigsData.tsx","pages/ManageInspection/Reports/ManageReportGroups/EditReportGroups.tsx","pages/ManageInspection/Reports/ManageReportTemplates/AddReportTemplates.tsx","pages/ManageInspection/Reports/ManageReports/AddReports.tsx","pages/ManageInspection/Reports/ManageReportConfigs/AddReportConfigs.tsx","pages/ManageInspection/Reports/ManageReports/EditReports.tsx","redux/pages/Inspection/Contracts/contractSlice.ts","redux/pages/Administration/User/userSlice.ts","components/common/Breadcrumb/Breadcrumb.tsx","assets/svgs/display_settings.svg","components/Table/Table.tsx","redux/hooks.ts","redux/pages/Manage/InspectionSettings/Reports/ReportsSlice.ts","redux/pages/Login/loginSlice.ts","redux/pages/Login/logOutSlice.ts","redux/pages/Dashboard/dashboardSlice.ts","redux/pages/Inspection/Systems/systemSlice.ts","redux/pages/Manage/OrganizationSettings/zoneSlice.ts","redux/pages/Manage/OrganizationSettings/salesOfficeSlice.ts","redux/pages/Manage/OrganizationSettings/branchOfficeSlice.ts","redux/pages/Manage/Lookups/HealthClassification/healthClassificationSlice.ts","redux/pages/Manage/Lookups/NFPAClassification/NFPAClassificationSlice.ts","redux/pages/Manage/Customization/Attributes/CommonAttributeSlice.ts","redux/pages/Manage/Customization/Attributes/EquipmentTypeAttributeValueSlice.ts","redux/pages/Manage/Customization/Attributes/EquipmentTypeAttributeSlice.ts","redux/pages/Manage/InspectionSettings/ReportMapping/ReportMappingslice.tsx","redux/pages/Manage/InspectionSettings/InspectionFields/InspectionFieldSlice.ts","redux/pages/Inspection/InspectionReports/inspectionReportsSlice.ts","redux/pages/Dashboard/Header/selectSiteSlice.ts","redux/pages/Inspection/InspectionTask/InspectionDetails/Equipment/EquipmentSlice.ts","redux/pages/Dashboard/UserMenu/personalSettingsSlice.ts","redux/pages/Dashboard/UserMenu/feedbackSlice.ts","redux/pages/Dashboard/UserMenu/sendMailSlice.ts","redux/common/linkSlice.ts","redux/common/pluginSlice.tsx","redux/pages/Inspection/InspectionTask/InspectionDetails/InspectionDetails/InspectionDetailsSlice.ts","pages/SecuritySettings/passwordPolicySlice.ts","redux/common/mailDomainSlice.ts","redux/pages/Administration/LogBook/logBookSlice.ts","redux/pages/Manage/Customization/CustomizationSlice.ts","redux/pages/Manage/Tools/ToolSlice.ts","redux/pages/Administration/Building/buildingSlice.ts","redux/pages/Administration/Floor/floorSlice.ts","redux/pages/AsBuilts/AsBuiltsSlice.ts","redux/pages/Inspection/InspectionTask/inspectionDrawingSlice.ts","redux/common/report/customizeReportSlice.ts","redux/pages/Reports/ProvenOutcomesSlice.ts","redux/pages/Reports/SalesActivitySlice.ts","redux/pages/Dashboard/UserMenu/NotificationMessageSlice.ts","redux/rootReducer.ts","redux/store.ts","components/Table/DataTable.tsx","pages/Dashboard/utility.tsx","pages/Dashboard/DashboardData.tsx","components/common/Report/ReportViewer.tsx","pages/Dashboard/TabList/InspectionSummary/Reports/FailedEquipmentReport.tsx","pages/Dashboard/TabList/InspectionSummary/InspectionSummary.tsx","pages/Dashboard/TabList/InspectionSummary/utility.ts","pages/Dashboard/TabList/PerformanceIndicator/PerformanceIndicator.tsx","pages/Dashboard/Dashboard.tsx","pages/Customers/ManageCustomer/EditCustomer.tsx","pages/Customers/ManageCustomer/SiteModal/SiteModal.tsx","pages/Customers/CustomerTableData.tsx","pages/Reports/CustomizeReport/CustomizeReportFieldOrder.tsx","pages/Reports/CustomizeReport/CustomizeReport.tsx","pages/Customers/Report/CustomerReport.tsx","pages/Customers/Customers.tsx","pages/Users/ManageUser/AddSelectSalesOffice.tsx","pages/Users/ManageUser/EditUser.tsx","pages/Users/ManageUser/AddUser.tsx","pages/Users/Search/UserSearch.tsx","pages/Users/QuitTask/QuitTask.tsx","pages/Users/ConvertUser/ConvertUser.tsx","pages/Users/Report/UserReport.tsx","pages/Users/UserTableData.tsx","pages/Users/Users.tsx","pages/Sites/SiteTableData.tsx","pages/Sites/SiteBuildingTableData.tsx","pages/Sites/SiteFloorTableData.tsx","pages/Sites/ManageSite/SiteNumberPattern.tsx","pages/Sites/ManageSite/AddSite.tsx","pages/Sites/ManageBuildings/AddBuildings.tsx","pages/Sites/ManageFloors/AddFloor.tsx","pages/Sites/ManageBuildings/EditBuildings.tsx","pages/Sites/ManageFloors/EditFloor.tsx","pages/Sites/ManageSite/EditSite.tsx","pages/Sites/Settings/MapCustomer.tsx","pages/Sites/Attachments/List/AttachmentListData.tsx","components/common/ReportModal/ReportModal.tsx","components/common/ViewFileModal/ViewFileModal.tsx","pages/Sites/Attachments/List/AttachmentList.tsx","pages/Sites/Attachments/Upload/AttachmentUpload.tsx","pages/Sites/Report/SiteReport.tsx","pages/Sites/Attachments/List/BuildingAttachmentList.tsx","pages/Sites/Report/BuildingReport.tsx","pages/Sites/Attachments/List/FloorAttachmentList.tsx","pages/Sites/Report/FloorReport.tsx","pages/Sites/Sites.tsx","pages/Search/Search.tsx","pages/Contracts/ContractTableData.tsx","pages/Contracts/ManageContract/EditContract.tsx","pages/Contracts/ManageContract/SiteModal/ContractSiteModal.tsx","pages/Contracts/Report/ContractReport.tsx","pages/Contracts/Contracts.tsx","pages/Systems/SystemTableData.tsx","pages/Systems/ManageSystem/AddSystem.tsx","pages/Systems/ManageSystem/EditSystem.tsx","pages/Systems/ManageSystem/UploadXML.tsx","pages/Systems/MasterData/Attachments/AttachmentListData.tsx","pages/Systems/MasterData/Attachments/AttachmentList.tsx","pages/Systems/MasterData/MasterData.tsx","pages/Systems/MasterData/utility.ts","pages/Systems/EquipmentGroups/EquipmentGroupList.tsx","pages/Systems/Report/SyestemsReport.tsx","pages/Systems/UnlinkedEquipmentGroups/UnlinkedEquipmentGroupsData.tsx","pages/Systems/UnlinkedEquipmentGroups/UnlinkedEquipmentGroups.tsx","pages/Systems/SystemEquipmentGroups/SystemEquipmentGroupsList.tsx","pages/Systems/Systems.tsx","pages/InspectionTasks/InspectionTasksData.tsx","components/common/Forms/Utility/FormElement.tsx","components/common/Forms/GeneralForm/GeneralForm.tsx","pages/InspectionTasks/ManageInspectionTasks/InspectionDetails/Equipment/Manage/AddEquipment/AddEquipment.tsx","components/common/Forms/GeneralForm/EquipmentForm.tsx","pages/InspectionTasks/ManageInspectionTasks/InspectionDetails/Equipment/Manage/EditEquipment/EditEquipment.tsx","pages/InspectionTasks/ManageInspectionTasks/InspectionDetails/Equipment/Manage/FilterEquipment/FilterEquipment.tsx","pages/InspectionTasks/ManageInspectionTasks/InspectionDetails/Equipment/Manage/AdvanceSearch/AdvancedSearch.tsx","pages/InspectionTasks/ManageInspectionTasks/InspectionDetails/Equipment/ManageEquipmentGrp/AddEquipmentGroup.tsx","pages/InspectionTasks/ManageInspectionTasks/InspectionDetails/Equipment/ManageEquipmentGrp/EditEquipmentGroup.tsx","pages/InspectionTasks/ManageInspectionTasks/InspectionDetails/Equipment/utility.ts","pages/InspectionTasks/ManageInspectionTasks/InspectionDetails/Equipment/DataImport/EquipmentListDataImport.tsx","pages/InspectionTasks/ImportEquipment/ImportEquipment.tsx","pages/InspectionTasks/Connectivity/Connectivity.tsx","pages/InspectionTasks/ManageInspectionTasks/InspectionDetails/Equipment/Manage/MultipleEditEquipment/MultipleEditEquipment.tsx","pages/InspectionTasks/ManageInspectionTasks/InspectionDetails/Equipment/Manage/CloneEquipment/CloneEquipment.tsx","pages/InspectionTasks/ManageInspectionTasks/InspectionDetails/Equipment/Manage/Attachments/AttachmentListData.tsx","pages/InspectionTasks/ManageInspectionTasks/InspectionDetails/Equipment/Manage/Attachments/Report/AttachmentReport.tsx","pages/InspectionTasks/ManageInspectionTasks/InspectionDetails/Equipment/Manage/Attachments/AttachmentList.tsx","pages/InspectionTasks/ManageInspectionTasks/InspectionDetails/Equipment/EquipmentListData.tsx","pages/InspectionTasks/ManageInspectionTasks/InspectionDetails/Report/InspectionDetailsReport.tsx","pages/InspectionTasks/ManageInspectionTasks/InspectionDetails/Equipment/EquipmentList.tsx","components/common/Forms/InspectionForm/InspectionForms.tsx","pages/ManageInspection/InspectionFields/Utility/InspectionFieldUtility.ts","pages/InspectionTasks/ManageInspectionTasks/InspectionDetails/Contracts/Contracts.tsx","pages/InspectionTasks/ManageInspectionTasks/InspectionDetails/Summary/utility.tsx","pages/InspectionTasks/ManageInspectionTasks/InspectionDetails/Summary/Summary.tsx","pages/InspectionTasks/ManageInspectionTasks/InspectionDetails/Systems/Systems.tsx","components/common/TreeView/TreeView.tsx","pages/InspectionTasks/ManageInspectionTasks/InspectionDetails/Questions/Questions.tsx","pages/InspectionTasks/ManageInspectionTasks/InspectionDetails/InspectionDetails.tsx","pages/InspectionTasks/ManageInspectionTasks/InspectionReports.tsx","pages/InspectionReports/GenerateReports.tsx","pages/InspectionReports/ReportsTableData.tsx","pages/InspectionReports/UploadFinalReport.tsx","components/common/DocumentViewer/DocumentViewer.tsx","pages/InspectionReports/Reports.tsx","pages/InspectionReports/InspectionReports.tsx","components/common/Card/Card.tsx","pages/ManageView/ManageView.tsx","pages/Organization/ManageZone/AddZone.tsx","pages/Organization/ManageBranchOffice/AddBranchOffice.tsx","pages/Organization/ManageSalesOffice/EditSalesOffice.tsx","pages/Organization/ManageSalesOffice/AddSalesOffice.tsx","pages/Organization/ManageSalesOffice/Techs.tsx","pages/Organization/ManageZone/EditZone.tsx","pages/Organization/ManageBranchOffice/EditBranchOffice.tsx","pages/Organization/OrganizationTableData.tsx","pages/Organization/Reports/OrganizationReports.tsx","pages/Organization/Organization.tsx","pages/PageNotFound/PageNotFound.tsx","assets/svgs/logo.svg","assets/svgs/logo-yammer.svg","components/Header/SendMail.tsx","components/Header/SelectUserSite.tsx","components/Header/Feedback.tsx","components/Header/ChangePassword.tsx","components/Header/PersonalSettings.tsx","components/Header/Help/TreeData.tsx","components/Header/Help/HelpDocuments/OverviewDoument.tsx","components/Header/Help/HelpDocuments/ModulesDoument.tsx","components/Header/Help/HelpDocuments/DashboardDoument.tsx","components/Header/Help/HelpDocuments/Admininstration/AdministrationDoument.tsx","components/Header/Help/HelpDocuments/Admininstration/AdministrationCustomers.tsx","components/Header/Help/HelpDocuments/Admininstration/AdministrationSites.tsx","components/Header/Help/HelpDocuments/Admininstration/UsersDocument.tsx","components/Header/Help/HelpDocuments/Admininstration/AdministrationBuildingsDocument.tsx","components/Header/Help/HelpDocuments/Admininstration/AdministrationFloorsDocument.tsx","components/Header/Help/HelpDocuments/Admininstration/AdministrationSearchDocument.tsx","components/Header/Help/HelpDocuments/Admininstration/AdministrationSearchContract.tsx","components/Header/Help/HelpDocuments/Admininstration/AdministrationSearchCustomerDocument.tsx","components/Header/Help/HelpDocuments/Admininstration/AdministrationSearchInspectionTaskDocument.tsx","components/Header/Help/HelpDocuments/Admininstration/AdministrationSearchNotificationNumber.tsx","components/Header/Help/HelpDocuments/Admininstration/AdministrationSearchSiteDocument.tsx","components/Header/Help/HelpDocuments/Admininstration/AdministrationSearchSystem.tsx","components/Header/Help/HelpDocuments/Admininstration/AdministrationSearchUsers.tsx","components/Header/Help/HelpDocuments/Inspection/InspectionDocuments.tsx","components/Header/Help/HelpDocuments/Inspection/InspectionTasksDocument.tsx","components/Header/Help/HelpDocuments/Inspection/InspectionTaskInspectionDetailsDocument.tsx","components/Header/Help/HelpDocuments/Inspection/InspectionDrawingsDocument.tsx","components/Header/Help/HelpDocuments/Inspection/InspectionContractsDocument.tsx","components/Header/Help/HelpDocuments/Inspection/InspectionSystemsDocument.tsx","components/Header/Help/HelpDocuments/Inspection/InspectionReportsReportsDocument.tsx","components/Header/Help/HelpDocuments/Inspection/InspectionReportsGenerateReportsDocument.tsx","components/Header/Help/HelpDocuments/Inspection/SearchDocument.tsx","components/Header/Help/HelpDocuments/Inspection/SearchSiteDocument.tsx","components/Header/Help/HelpDocuments/Inspection/SearchCustomerDocument.tsx","components/Header/Help/HelpDocuments/Inspection/SearchContractDocument.tsx","components/Header/Help/HelpDocuments/Inspection/SearchSystemDocument.tsx","components/Header/Help/HelpDocuments/Inspection/SearchInspectionTaskDocument.tsx","components/Header/Help/HelpDocuments/Inspection/SearchNotificationNumberDocument.tsx","components/Header/Help/HelpDocuments/Inspection/SearchUserDocument.tsx","components/Header/Help/HelpDocuments/AsBuilts/AsBuiltsDocument.tsx","components/Header/Help/HelpDocuments/AsBuilts/AsBuiltsDrawingsDocument.tsx","components/Header/Help/HelpDocuments/Manage/SecuritySettings/SecuritySettingsDocument.tsx","components/Header/Help/HelpDocuments/Manage/SecuritySettings/PasswordPolicyDocument.tsx","components/Header/Help/HelpDocuments/Manage/SecuritySettings/MailDomainsDocument.tsx","components/Header/Help/HelpDocuments/Manage/OrganizationSettings/OrganizationSettingsDocument.tsx","components/Header/Help/HelpDocuments/Manage/OrganizationSettings/BranchOfficeOrganizationSettingsDocument.tsx","components/Header/Help/HelpDocuments/Manage/OrganizationSettings/SalesOfficeOrganizationSettingsDocument.tsx","components/Header/Help/HelpDocuments/Manage/OrganizationSettings/ZoneOrganizationSettingsDocument.tsx","components/Header/Help/HelpDocuments/Manage/LookUps/LookUpsDocument.tsx","components/Header/Help/HelpDocuments/Manage/LookUps/HealthClassificationsDocument.tsx","components/Header/Help/HelpDocuments/Manage/LookUps/NFPAClassificationsDocument.tsx","components/Header/Help/HelpDocuments/Manage/InspectionSettings/InspectionSettingsDocument.tsx","components/Header/Help/HelpDocuments/Manage/InspectionSettings/InspectionFieldsDocument.tsx","components/Header/Help/HelpDocuments/Manage/InspectionSettings/ReportMappingDocuments.tsx","components/Header/Help/HelpDocuments/Manage/InspectionSettings/InspectionReportGroupsDocument.tsx","components/Header/Help/HelpDocuments/Manage/InspectionSettings/InspectionReportsDocument.tsx","components/Header/Help/HelpDocuments/Manage/InspectionSettings/InspectionReportConfigsDocument.tsx","components/Header/Help/HelpDocuments/Manage/InspectionSettings/InspectionReportTemplatesDocument.tsx","components/Header/Help/HelpDocuments/Manage/Tools/ToolsDocument.tsx","components/Header/Help/HelpDocuments/Manage/Tools/CopyDocument.tsx","components/Header/Help/HelpDocuments/Manage/Tools/MoveDocument.tsx","components/Header/Help/HelpDocuments/Manage/Customization/CustomizationDocument.tsx","components/Header/Help/HelpDocuments/Manage/Customization/CommonAttributesDocument.tsx","components/Header/Help/HelpDocuments/Manage/Customization/CommonAttributeValuesDocument.tsx","components/Header/Help/HelpDocuments/Manage/Customization/EquipmentTypeAttributesDocument.tsx","components/Header/Help/HelpDocuments/Manage/Customization/EquipmentTypeAttributeValuesDocument.tsx","components/Header/Help/HelpDocuments/Manage/Customization/DisplaySettingsDocument.tsx","components/Header/Help/HelpDocuments/Manage/Customization/DataEntrySettingsDocument.tsx","components/Header/Help/HelpDocuments/Reports/ReportsDocument.tsx","components/Header/Help/HelpDocuments/Reports/ReportsContractDocument.tsx","components/Header/Help/HelpDocuments/Reports/ReportsInspectionTasksDocuments.tsx","components/Header/Help/HelpDocuments/Reports/ReportsInspectionActivityDocument.tsx","components/Header/Help/HelpDocuments/Reports/ReportsUploadedFinalReportsDocument.tsx","components/Header/Help/HelpDocuments/Reports/ReportsUserDetailsDocument.tsx","components/Header/Help/HelpDocuments/Reports/ReportsSitesDocument.tsx","components/Header/Help/HelpDocuments/Reports/ReportsBuildingsDocument.tsx","components/Header/Help/HelpDocuments/Reports/ReportsFloorsDocument.tsx","components/Header/Help/HelpDocuments/Reports/ReportsMasterDataDocument.tsx","components/Header/Help/HelpDocuments/Reports/ReportsExpiredContractsDocument.tsx","components/Header/Help/HelpDocuments/Reports/ReportsUserActivityReportsDocument.tsx","components/Header/Help/HelpDocuments/Reports/ReportSAPImportStatusDocument.tsx","components/Header/Help/HelpDocuments/ReleaseNotesDocument.tsx","components/Header/Help/HelpDocuments/Plugins/PluginsDocument.tsx","components/Header/Help/HelpDocuments/Plugins/PluginsTapAppDocument.tsx","components/Header/Help/HelpDocuments/Plugins/PluginsTapBridgeDocument.tsx","components/Header/Help/HelpDocuments/LinksDocument.tsx","components/Header/Help/HelpDocuments/Preferences/FeedbackDocument.tsx","components/Header/Help/HelpDocuments/Preferences/PersonalSettingsDocument.tsx","components/Header/Help/HelpDocuments/Preferences/SendMailDocuments.tsx","components/Header/Help/HelpDocuments/LogbookDocument.tsx","components/Header/Help/HelpDocuments/Faq/FaqDocument.tsx","components/Header/Help/HelpDocuments/Faq/AdministrationFaqDocument.tsx","components/Header/Help/HelpDocuments/Faq/InspectionFAQDocument.tsx","components/Header/Help/HelpDocuments/Preferences/PreferencesDocument.tsx","components/Header/Help/HelpDocuments/Reports/ReportsTapPerformanceDocument.tsx","components/Header/Help/HelpDocuments/Reports/ReportsSalesOpportunityDocument.tsx","components/Header/Help/ConditionalRender.tsx","components/Header/Help/Help.tsx","components/Header/AddNotificationMessage.tsx","components/Header/Header.tsx","components/Sidebar/AsBuiltsIcon.tsx","components/Sidebar/Sidebar.tsx","components/common/ReleaseNote/releaseNote.tsx","components/common/PageMenuBar/ManageLinks/AddNewLinks.tsx","components/common/PageMenuBar/ManageLinks/EditLinks.tsx","components/common/PageMenuBar/Links.tsx","components/common/PageMenuBar/ManageLinks/ManagePlugin/UploadPlugin.tsx","components/common/PageMenuBar/Plugin.tsx","assets/svgs/links.svg","assets/svgs/plugins.svg","assets/svgs/bell.svg","hooks/useOnClickOutside.js","components/common/PageMenuBar/PageMenuBar.tsx","pages/ManageLookups/HealthClassification/HealthClassificationData.tsx","pages/ManageLookups/HealthClassification/ManageHealthClassification/AddHealthClassification.tsx","pages/ManageLookups/HealthClassification/ManageHealthClassification/EditHealthClassification.tsx","pages/ManageLookups/HealthClassification/Reports/HealthClassificationReports.tsx","pages/ManageLookups/HealthClassification/HealthClassification.tsx","pages/ManageLookups/NFPAClassification/NFPAClassificationData.tsx","pages/ManageLookups/NFPAClassification/ManageNFPAClassification/EditNFPAClassification.tsx","pages/ManageLookups/NFPAClassification/ManageNFPAClassification/AddNFPAClassification.tsx","pages/ManageLookups/NFPAClassification/Reports/NFPAClassificationReport.tsx","pages/ManageLookups/NFPAClassification/NFPA Classification.tsx","pages/ManageCustomization/Attributes/CommonAttributesData.tsx","pages/ManageCustomization/Attributes/CommonAttibutesValuesData.tsx","pages/ManageCustomization/Attributes/EquipmentTypeAttributesValuesData.tsx","pages/ManageCustomization/Attributes/EquipmentTypeAttributesData.tsx","pages/ManageCustomization/Attributes/ManageCommonAttributes/AddCommonAttributes.tsx","pages/ManageCustomization/Attributes/ManageCommonAttributes/EditCommonAttributes.tsx","pages/ManageCustomization/Attributes/ManageCommonAttibutesValues/AddCommonAttibutesValues.tsx","pages/ManageCustomization/Attributes/ManageCommonAttibutesValues/EditCommonAttibutesValues.tsx","pages/ManageCustomization/Attributes/Reports/CustomizationReports.tsx","pages/ManageCustomization/Attributes/ManageCommonAttributes/FieldValues.tsx","pages/ManageCustomization/Attributes/ManageEquipmentTypeAttributes/AddEquipmentTypeAttributes.tsx","pages/ManageCustomization/Attributes/ManageEquipmentTypeAttributes/EditEquipmentTypeAttribute.tsx","pages/ManageCustomization/Attributes/ManageEquipmentTypeAttributeValues/AddEquipmentTypeAttributeValues.tsx","pages/ManageCustomization/Attributes/ManageEquipmentTypeAttributeValues/EditEquipmentTypeAttributeValues.tsx","pages/ManageCustomization/Attributes/ManageEquipmentTypeAttributes/FileldValues.tsx","pages/ManageCustomization/Attributes/Attributes.tsx","pages/SecuritySettings/PasswordPolicy.tsx","pages/SecuritySettings/MailDomains.tsx","pages/SecuritySettings/SecuritySettings.tsx","components/Inspection/ReportMapping/CheckBoxGridView.tsx","pages/ManageInspection/ReportMapping/Contracts/Contracts.tsx","pages/ManageInspection/ReportMapping/Systems/Systems.tsx","pages/ManageInspection/ReportMapping/CheckBoxGridUtility.ts","pages/ManageInspection/ReportMapping/Questions/Questions.tsx","pages/ManageInspection/ReportMapping/ReportMapping.tsx","components/common/Toolbar/DrawingToolbar.tsx","pages/AsBuilts/ManageDrawings/MangeDialogModel/Layers.tsx","pages/Common/Drawing.tsx","pages/Common/DrawingExport.tsx","pages/Common/SaveDrawing.tsx","pages/InspectionTasks/InspectionDrawings/TextSearch.tsx","pages/InspectionTasks/InspectionDrawings/Totalize.tsx","pages/InspectionTasks/InspectionDrawings/AssignBlock.tsx","pages/InspectionTasks/InspectionDrawings/InspectionDrawings.tsx","pages/InspectionTasks/InspectionDrawings/SearchAddress.tsx","pages/InspectionTasks/InspectionDrawings/Report/UnassignedEquipmentReport.tsx","pages/InspectionTasks/InspectionDrawings/UnassignedEquipments.tsx","pages/InspectionTasks/InspectionDrawings/Report/CommonEquipmentReport.tsx","pages/InspectionTasks/InspectionDrawings/CommonEquipments.tsx","pages/InspectionTasks/InspectionDrawings/Report/EquipmentSpecificListReport.tsx","pages/InspectionTasks/InspectionDrawings/EquipmentSpecificList.tsx","pages/InspectionTasks/InspectionDrawings/InspectionDrawingsList.tsx","pages/InspectionTasks/InspectionDrawings/InspectionDrawingsMain.tsx","pages/ManageInspection/InspectionFields/Manage/AddInspectionField/AddInspectionField.tsx","pages/ManageInspection/InspectionFields/Manage/EditInspectionField/EditInspectionField.tsx","pages/ManageInspection/InspectionFields/Manage/AddInspectionFieldValues/AddInspectionFieldValues.tsx","pages/ManageInspection/InspectionFields/Contract/Contract.tsx","pages/ManageInspection/InspectionFields/Manage/AddInspectionGroupSection/AddInspectionGroupSection.tsx","pages/ManageInspection/InspectionFields/Manage/EditInspectionGroupSection/EditInspectionGroupSection.tsx","pages/ManageInspection/InspectionFields/Question/MappedReports.tsx","pages/ManageInspection/InspectionFields/Question/Question.tsx","pages/ManageInspection/InspectionFields/System/System.tsx","pages/ManageInspection/InspectionFields/InspectionFields.tsx","pages/ManageTools/Copy/Manage/CopySystems.tsx","pages/ManageTools/Copy/Manage/CopyAllSystems.tsx","pages/ManageTools/Copy/Copy.tsx","pages/ManageTools/Move/Manage/MoveSystems.tsx","pages/ManageTools/Move/Manage/MoveAllSystems.tsx","pages/ManageTools/Move/Move.tsx","pages/ManageTools/CopyMoveLogs/CopyMoveLogsData.tsx","pages/ManageTools/CopyMoveLogs/CopyMoveLogs.tsx","assets/svgs/clarity_contract-line.svg","assets/svgs/bx_task.svg","assets/svgs/carbon_user-activity.svg","assets/svgs/carbon_user-file-upload.svg","assets/svgs/bxs_user-detail.svg","assets/svgs/map-location.svg","assets/svgs/bx_building.svg","assets/svgs/carbon_floorplan.svg","assets/svgs/master-data.svg","assets/svgs/ftp.svg","assets/svgs/expiryContacts.svg","assets/svgs/user-shape.svg","assets/svgs/sales-activity.svg","assets/svgs/tap-performance.svg","pages/ReportView/ReportView.tsx","pages/Reports/SiteReport.tsx","pages/InspectionTasks/ManageInspectionTasks/ContractDate.tsx","pages/InspectionTasks/ManageInspectionTasks/InspectionTaskNumberPattern.tsx","pages/InspectionTasks/ManageInspectionTasks/AddInspectionTask.tsx","pages/AsBuilts/ManageDrawings/PdfDrawingViewer.tsx","pages/InspectionTasks/ManageInspectionTasks/DrawingList.tsx","pages/InspectionTasks/ManageInspectionTasks/EditInspectionTask.tsx","pages/InspectionTasks/InspectionDrawings/InspectionDrawingsModal.tsx","pages/InspectionTasks/ManageInspectionTasks/PendingReports.tsx","pages/InspectionTasks/ImportPreviousTaskDetails/ImportPreviousTaskDetails.tsx","pages/InspectionTasks/QuitTask/QuitTask.tsx","pages/InspectionTasks/CompareInspectionTasks/ColumnData.tsx","pages/InspectionTasks/CompareInspectionTasks/Report/CompareInspectionTaskReport.tsx","pages/InspectionTasks/CompareInspectionTasks/CompareInspectionTasks.tsx","pages/InspectionTasks/Report/InspectionTaskReport.tsx","pages/InspectionTasks/EquipmentSummary/EquipmentSummary.tsx","pages/InspectionTasks/InspectionTasks.tsx","pages/ManageDisplaySettings/ManageDisplaySettings.tsx","pages/ManageDataEntrySettings/ManageDataEntrySettings.tsx","pages/Administration/Logbook/Manage/UserModal/UserModal.tsx","pages/Administration/Logbook/Manage/EntityModal/EntityModal.tsx","pages/Administration/Logbook/Manage/ActivityModal/ActivityModal.tsx","pages/Administration/Logbook/Logbook.tsx","pages/AsBuilts/ManageDrawings/AddAsBuilts.tsx","pages/AsBuilts/ManageDrawings/EditAsBuilts.tsx","pages/AsBuilts/ManageDrawings/Revise.tsx","pages/AsBuilts/ManageDrawings/Replace.tsx","pages/AsBuilts/ManageDrawings/Comments.tsx","pages/AsBuilts/ManageDrawings/DrawingMarkupList.tsx","pages/AsBuilts/MarkupSave.tsx","pages/AsBuilts/ManageDrawings/AsbuiltsDrawing.tsx","pages/AsBuilts/ManageDrawings/ListMarkups.tsx","pages/AsBuilts/ManageDrawings/ListRevisions.tsx","pages/AsBuilts/ManageDrawings/EditListRevisions.tsx","pages/AsBuilts/ManageDrawings/EditListMarkups.tsx","pages/AsBuilts/ManageDrawings/MangeDialogModel/CommonDialog.tsx","pages/AsBuilts/AsBuilts.tsx","pages/Reports/ContractsReport.tsx","pages/Reports/InspectionTaskReports.tsx","pages/Reports/UserActivityReportTabeData.tsx","pages/Reports/UserActivityDateModal.tsx","pages/Reports/UserActivityReport.tsx","pages/Reports/UserDetailsReport.tsx","pages/Reports/UploadedFinalReports.tsx","pages/Reports/SapImportStatusReport.tsx","pages/Reports/InspectionActivityReport.tsx","pages/Reports/MasterDataReport.tsx","pages/ManageTools/SAPImportStatus/SapImportStatusData.tsx","pages/ManageTools/SAPImportStatus/ManageSapImportStatus/ImportDetails.tsx","pages/ManageTools/SAPImportStatus/SapImportStatus.tsx","pages/Reports/ExpiredContractsReport.tsx","pages/Reports/BuildingReport.tsx","pages/Reports/FloorReport.tsx","pages/TAPPerformance/TAPPerformanceData.tsx","pages/TAPPerformance/ReportComponents/ProjectDetails.tsx","pages/TAPPerformance/ReportComponents/GoalData.tsx","pages/TAPPerformance/ReportComponents/Goals.tsx","pages/TAPPerformance/ReportComponents/SystemDetailComponent/DeficiencyListData.tsx","pages/TAPPerformance/ReportComponents/SystemDetailComponent/DeficiencyList.tsx","pages/TAPPerformance/ReportComponents/SystemDetailComponent/TurnAroundData.tsx","pages/TAPPerformance/ReportComponents/SystemDetailComponent/TurnAround.tsx","pages/TAPPerformance/ReportComponents/SystemDetailComponent/SoftwareVersionUpdatesData.tsx","pages/TAPPerformance/ReportComponents/SystemDetailComponent/SoftwareVersionUpdates.tsx","pages/TAPPerformance/ReportComponents/SystemDetails.tsx","pages/TAPPerformance/ReportComponents/Comments.tsx","pages/TAPPerformance/ReportWizard.tsx","pages/TAPPerformance/TAPPerformanceReportViewer/TAPPerformanceReportViewer.tsx","pages/TAPPerformance/TAPPerformance.tsx","pages/SalesActivityReport/CommonFilter.tsx","pages/SalesActivityReport/SalesActivityReport.tsx","pages/Layout.tsx","components/common/PrivateRoute/PrivateRoute.tsx","App.tsx","serviceWorkerRegistration.js","reportWebVitals.js","index.tsx","components/Table/UploadModal/UploadModal.tsx","components/common/MultiSelect/MultiSelect.tsx","components/common/DisplaySetting/DisplaySetting.tsx"],"names":["SearchSlice","createSlice","name","initialState","errors","siteDetails","contractSearchDetails","customerDetails","userDetails","notificationNumDetails","inspectionDetails","systemDetails","reducers","setErrors","state","_ref","payload","setSiteDetails","_ref2","setContractSearchDetails","_ref3","setCustomerDetails","_ref4","setUserDetails","_ref5","setNotificationNumDetails","_ref6","setInspectionDetails","_ref7","setSystemDetails","_ref8","getSiteSearchDetails","siteSearchText","async","res","zlink","post","baseURL","_res$data","status","dispatch","data","error","getContractSearchDetails","searchText","_res$data2","contractDetails","getCustomerSearchDetails","customerSearchText","body","SearchText","_res$data3","getUserSearchDetails","userSearchText","get","encodeURIComponent","_res$data4","getInspectionDetails","IsNotificationNumberSearch","_res$data5","taskDetails","getNotificationNumDetails","_res$data6","getSystemSearchDetails","systemSearchText","_res$data7","actions","InspectionMapCustomer","showModal","setShowModal","activeSite","mapCustomer","customerList","useAppSelector","inspectionTask","inspectionSiteCustomers","displayInfoModal","setDisplayInfoModal","useState","message","setMessage","searchKeyword","setSearchKeyword","customerListData","setCustomerListData","useDispatch","customerMapForm","useRef","selectedCustomers","checkedRows","disabledRows","handleSubmit","useForm","defaultValues","useEffect","getInspectionSitesCustomers","length","siteArray","map","item","push","id","uniqueCustomerId","siteName","customerName","checked","isSelected","selected","disabled","isDisabled","mapSiteSearchList","customerNewList","formSubmitHandler","current","requestSubmit","_jsxs","_Fragment","children","Dialog","header","visible","style","width","onHide","footer","_jsx","Button","label","onClick","className","autoFocus","InputText","value","onChange","event","target","onKeyDown","e","keyCode","placeholder","onSubmit","onCustomerMapFormSubmit","customerIds","onError","ref","MultiSelect","singleSelect","list","getCheckedItems","checkedItems","getSelectedItems","selectedItems","getDisabledItems","disabledItems","headerName","InformationBox","showInfoModal","setShowInfoModal","InspectionMapContract","selectedCustomerDetails","mapContract","mapContractForm","contractList","inspetctionTaskContracts","contractListData","setContractListData","setUniqueCustomerId","setCustomerName","selectedContract","getInspectionContracts","customerNumber","uniqueContractId","contractName","onMapContractFormSubmit","contractIds","ContractDetails","InspectionTasksFilter","_loggedInUserData$use3","setFilterExpanded","filterExpanded","setShowAddInspectionTaskModal","inputSite","setInputSite","filteredSite","setFilteredSite","filteredCustomer","setFilteredCustomer","filteredContract","setFilteredContract","inputCustomer","setInputCustomer","inputContract","setInputContract","showInspectionMapContract","setShowInspectionMapContract","showSiteMapCustomer","setShowSiteMapCustomer","setChecked","setSiteName","searchCustomerList","setSearchCustomerList","searchContractList","setSearchContractList","loggedInUserData","administration","loggedInUserDetails","search","customerSearchDetails","inspectionTaskFilter","customerListDatas","contractListDatas","selectedCustomerId","selectedContractId","selectedSite","site","isCustomerAll","isContractAll","newContractData","contract","newCustomerData","userDefaults","userPrivileges","user","setCustomerList","setContractList","customerAllChecked","setCustomerAllChecked","contractAllChecked","setContractAllChecked","showAddContract","setShowAddContract","showAddCustomer","setShowAddCustomer","isMapCustomer","setIsMapCustomer","isMapContract","setIsMapContract","showGrid","setShowGrid","countryId","setCountryId","displayConfirmModal","setDisplayConfirmModal","isAddContract","setIsAddContract","siteSearchRef","getCustomerList","reviseContractData","contractNumber","active","setSelectedContractDetails","handleContractClick","getContractList","selectedData","element","isActive","setSelectedCustomerId","setSelectedCustomerDetails","ActiveCustomerId","ActtiveContractId","setDefaultValues","clearSelectedCustomerId","ReviseCustomerData","key","clearSelectedContractId","isActiveElementExists","_ReviseCustomerData","_reviseContractData","Defaultbody","contractId","contractElement","contractKey","setSelectedContractId","ActiveContractId","handleCustomerClick","selectedItem","modifiedList","JSON","parse","stringify","setIsContractAllFalse","setInspectionSearchId","parentId","itemId","modifiedContractList","contractItem","handleCustomerAllChecked","modifiedCustomerList","setIsCustomerAll","_loggedInUserData$use","_loggedInUserData$use2","Object","keys","siteId","uniqueSiteId","customer","customerNameNumber","contractCustomerName","contractNameNumber","contractCustomerSearchClick","customerData","contractData","setTimeout","MdOutlineSort","AutoComplete","suggestions","completeMethod","_filteredSearches","query","trim","filter","toLowerCase","includes","field","forceSelection","itemTemplate","onSelect","setSelectedSiteAsActive","setAsActiveSiteForSite","setSelectedSite","minLength","IoLocationOutline","IoReaderOutline","InputSwitch","IoPersonOutline","showUI","Checkbox","inputId","htmlFor","siteStatus","tooltip","BsPlusLg","_loggedInUserData$use4","role","Card","handleContractAllChecked","setIsContractAll","AddContract","onAddContractClick","submitData","onAddContract","isFromInspection","AddCustomer","onAddCustomerClick","onAddCustomer","userCountryId","onMapCustomer","mapInspectionContract","onMapContract","ConfirmationBox","showConfirmModal","setShowConfirmModal","confirmAction","onConfirmAction","setNewInspectionData","memo","Filters","userFilter","organizationFilter","onUserRoleChange","from","reportFilter","attributesFilter","securitysettingFilter","handleTabChange","getSelectedReportsTab","inspectionTasksFilter","COUNTRY_LIST","code","ZONE_LIST","SALESOFFICE_LIST","BRANCHOFFICE_LIST","ORGANIZATION_ZONE_LIST","INSPECTION_REPORTS_LIST","INSPECTION_REPORT_TYPES","REPORT_GROUPS","REPORTS","REPORT_TEMPLATES","REPORT_CONFIGS","SECURITY_SETTINGS_TYPE_LIST","SECURITY_SETTINGS_TYPE","PASSWORD_POLICY","MAIL_DOMAINS","CUSTOMIZATION_ATTRIBUTES_LIST","CUSTOMIZATION_ATTRIBUTES_TYPE","COMMON_ATTRIBUTES","COMMON_ATTRIBUTES_VALUES","EQUIPMENT_TYPE_ATTRIBUTES","EQUIPMENT_TYPE_ATTRIBUTES_VALUES","navigate","useNavigate","userRoleIdOnSearch","countryExpanded","setCountryExpanded","zoneExpanded","setZoneExpanded","salesOfficeExpanded","setSalesOfficeExpanded","branchOfficeExpanded","setBranchOfficeExpanded","country","setCountry","zone","setZone","salesOffice","setSalesOffice","branchOffice","setBranchOffice","selectedCountry","setSelectedCountry","selectedZone","setSelectedZone","selectedSalesOffice","setSelectedSalesOffice","selectedBranchOffice","setSelectedBranchOffice","filteredCountries","setFilteredCountries","filteredZones","setFilteredZones","filteredSalesOffice","setFilteredSalesOffice","filteredBranchOffice","setFilteredBranchOffice","userRolesList","setUserRolesList","selectedUserRole","setSelectedUserRole","organizationZones","setOrganizationZones","inspectionReports","setInspectionReports","CustomizationAttributes","setCustomizationAttributes","SecuritySetting","setSecuritySetting","filterDefaultRoleList","_userRoles$","userRoles","sort","a","b","setUserFilterRoles","searchCountry","_filteredCountries","startsWith","searchZone","_filteredZones","searchSalesOffice","_filteredSalesOffice","office","searchBranchOffice","_filteredBranchOffice","inspectionReportsClick","modifiedInspectionReports","_event$target","innerText","find","customizationattributesClick","modifiedcustomizationattributes","_event$target2","securitysettingsClick","modifiedSecuritySetting","_event$target3","handleTabRedirect","useCallback","activeTabName","APP_ROUTES","MANAGE_ORGANIZATION","getActiveTab","ORGANIZATION_TYPES","ZONE","SALES","BRANCH","organizationRoleClick","_event$target4","selectActiveTab","modifiedOrgZones","_event$target5","getActiveEvent","userRoleClick","BsChevronUp","BsChevronDown","dropdown","dropdownIcon","BsList","ReportTemplateSlice","reportTemplateList","reportTemplatePageDetails","newReportTemplate","deletedReportTemplate","setReportTemplateList","setReportTemplatePageDetails","setNewReportTemplate","setDeletedReportTemplate","getReportTemplateList","currentStart","keyword","sortField","sortOrder","reportTemplateDetails","pageDetails","onAddReportTemplate","deleteReportTemplate","getDownloadTemplateFilePath","onDownloadByFileName","fileName","fullPath","ReportConfigSlice","reportConfigList","reportConfigPageDetails","newReportConfigData","deletedReportConfigData","setReportConfigList","setReportConfigPageDetails","setNewReportConfigData","setDeletedReportConfigData","getReportConfigList","reportConfigDetails","onAddReportConfig","deleteReportConfig","getDownloadConfigFilePath","isFromCopy","control","getValues","setValue","formState","undefined","startDate","endDate","notes","salesOfficeData","customerLookup","setCustomerLookup","salesOfficeLookup","setSalesOfficeLookup","showPatternModal","setShowPatternModal","pattern","setPattern","contractNumberPattern","setContractNumberPattern","isAddCustomer","setIsAddCustomer","addForm","setDate","moment","Date","add","format","getCustomerLookup","getSalesOfficeLookup","salesOfficeName","uniqueSalesOfficeId","uniqueSiteIds","onSiteCustomerMapping","USAPattern","CanadaPattern","getFormErrorMessage","BsExclamationCircleFill","AddModal","OnSaveClick","isAdd","maxHeight","_data$contractName","_data$notes","toString","DataTable","showGridlines","Column","Controller","rules","required","render","fieldState","Dropdown","classNames","invalid","options","optionValue","optionLabel","preventDefault","validate","maxLength","Calendar","dateFormat","InputTextarea","appendTo","onAddCustomerData","ReportGroupSlice","reportGroupList","newReportGroupData","isReportGroupInUse","deletedReportGroupData","reportGroupDetails","updatedReportGroupData","setReportGroupList","setNewReportGroupData","setIsReportGroupInUse","setDeletedReportGroupData","setReportGroupDetails","setUpdatedReportGroupData","getReportGroupList","onAddReportGroup","deleteReportGroup","reportGroupId","getReportGroupDetails","onUpdateReportGroup","okOnClick","additionalMessage","setAdditionalMessage","HOME","DASHBOARD","ADMINISTRATION","CUSTOMERS","USERS","SITES","SEARCH","INSPECTION","INSPECTION_TASKS","CONTRACTS","SYSTEMS","INSPECTION_REPORTS","MANAGE_VIEW","MANAGE_INSPECTION_REPORTS","MANAGE_LOOKUPS_HEALTHCLASSIFICATION","MANAGE_LOOKUPS_NFPA_CLASSIFICATION","REPORT_VIEW","SITE_REPORT","CONTRACTS_REPORT","INSPECTION_TASK_REPORT","USER_ACTIVITY_REPORT","USER_DETAILS_REPORT","UPLOADED_FINAL_REPORTS","SAP_IMPORT_STATUS_REPORT","INSPECTION_ACTIVITY_REPORT","MASTER_DATA_REPORT","EXPIRED_CONTRACTS_REPORT","SECURITY_SETTINGS","MANAGE_INSPECTION_REPORT_MAPPING","TOOLS_COPY","TOOLS_Move","TOOLS_COPY_MOVE_LOGS","SAP_IMPORT_STATUS","MANAGE_INSPECTION_REPORT_MAPPING_SYSTEM","MANAGE_INSPECTION_REPORT_MAPPING_CONTRACT","MANAGE_INSPECTION_REPORT_MAPPING_QUESTIONS","CUSTOMIZATION_ATTRIBUTES","GENERATE_INSPECTION_REPORTS","INSPECTIONREPORTS_REPORTS","INSPECTION_DRAWINGS","INSPECTION_FIELDS","MANAGE_DISPLAY_SETTINGS","MANAGE_DATAENTRY_SETTINGS","LOG_BOOK","AS_BUILTS","BUILDING_REPORT","FLOOR_REPORT","TAP_PERFORMACE","SALES_ACTIVITY_REPORT","statusList","countryList","statusLookup","setStatusLookup","countryLookup","setCountryLookup","disableCountry","setDisableCountry","customerNumberPattern","setCustomerNumberPattern","getStatusList","getCountryList","statusName","statusCode","countries","countryName","countryCode","_countryData$","_countryData$2","countryData","el","_countryList$countrie","_addForm$current","accountExpiryDate","customerAddress","cityStateZip","contact","_ref9","_ref10","_ref11","_ref12","DatafieldOrder","props","onHideModal","onOrderUpdated","datafields","setDatafields","activeKey","setActiveKey","listGroupRef","covData","onUpdate","fileds","forEach","i","position","dataFields","DragDropContext","onDragEnd","result","destination","items","Array","reorderedItem","splice","source","index","Droppable","droppableId","provided","ListGroup","droppableProps","innerRef","Draggable","draggableId","Item","draggableProps","dragHandleProps","onMouseLeave","BiDotsVerticalRounded","SiteSlice","siteList","sitePageDetails","dependencyForSite","siteToEdit","siteSearchId","reportPreviewSession","attachmentList","attachmentPageDetails","siteCustomerList","newSite","siteAttachmentCountList","setSiteList","setSitePageDetails","setNewSiteData","unshift","setDependencyForSite","setDeletedSiteList","setSiteToEdit","setUpdatedSite","currentIndex","findIndex","setActiveSiteForSite","setSiteSearchId","setReportPreviewSession","setAttachmentList","setAttachmentPageDetails","_ref13","setNewAttachmentData","_ref14","setUpdatedAttachement","_ref15","attachmentId","setDeletedAttachmentList","_ref16","setSiteCustomerList","_ref17","setSiteAttachmentCountList","_ref18","setNewAttachmentList","_ref19","getSiteList","arguments","onAddSite","setShowAddModal","setSelectedRows","getDependencyForSite","deleteSite","_ref20","getSiteToEditDetails","onUpdateSite","setShowEditModal","inlineEdit","_loggedInUserDetails$","_loggedInUserDetails$2","prev","arr","siteOffset","setOffset","setIsNavigate","getSiteSearchDetailsList","setShowSiteGrid","createReportPreviewSession","reportParameters","setProgressFlag","getSiteCustomerList","getAttachmentList","uniqueId","_res$data8","_res$data9","onUploadAttachment","selectedRows","setEnableUpload","_res$data10","count","Number","attachments","onUploadMultipleSiteAttachment","_res$data11","onEditAttachment","getAttachmentPath","_res$data12","onDeleteAttachment","filePath","onDownloadAttachmentFile","FullPath","renderFlag","setStreamData","request","method","cache","headers","Authorization","sessionStorage","getItem","downloadUrl","fetch","then","response","Response","ReadableStream","start","controller","reader","getReader","done","read","enqueue","close","blob","FileReader","onload","_e$target","readAsDataURL","url","window","URL","createObjectURL","document","createElement","href","download","click","onDownloadAttachment","viewFlag","setShowViewModal","_res$data13","_res$data14","_res$data15","split","pop","onUpdateSiteCustomerMapping","onCloseSite","setDisplayConfirmCloseSiteModal","_res$data17","_res$data16","getCheckSiteForClose","_res$data18","_res$data19","_res$data20","_res$data21","hasActiveContract","hasActiveSystem","onSiteReOpen","setDisplayConfirmReopenModal","description","DEFAULT_DASHBOARD_NAVLIST","DEFAULT_INSPECTION_NAVLIST","DEFAULT_ASBUILTS_NAVLIST","EventControllerSlice","isEmptyServiceCallQueue","setIsEmptyServiceCallQueue","privileges","selectedPrivilege","findData","privilege","createGuid","replace","c","r","Math","random","blockedNonKeyboardCharacters","blockedCharacters","match","invalidCharacters","indexOf","InspectionTaskSlice","inspectionSearchId","notificationSearchId","inspectionTaskList","inspectionPageDetails","reportUploadedStatus","systemsData","technicianData","newInspectionData","inspectionReportList","selectedReportList","inspectionTaskDetails","updatedInspectionData","updatedContractDates","checkedDataForComplete","checkedDataForClose","inspectionTaskTechnicians","taskCompletionRate","panelTypeKPIs","deviceKPIs","taskKPIs","activeInspectionTasks","closedInspectionTasks","completedInspectionTasks","expiredContractList","isReportUpdated","updateObjectBlockHandle","drawingDisplaySettingsData","equipmentTooltip","linkedReportsData","isInspectionTaskDeleted","inspectionTaskStatus","inspectionTaskProgressBar","activatedSystemDetails","setNotificationSearchId","setInspectionTaskList","setInspectionPageDetails","setReportUploadedStatus","setCheckedDataForClose","setCheckedDataForComplete","setLinkedReportsData","setSystemData","setTechnicianData","setInspectionReportList","setSelectedReportList","setInspectionTaskDetails","setUpdatedInspectionData","setUpdatedContractDates","setInspetctionTaskContracts","setInspectionTaskTechnicians","setInspectionSiteCustomers","setTaskCompletionRate","_ref21","setPanelTypeKPIs","_ref22","setDeviceKPIs","_ref23","setTaskKPIs","_ref24","setActiveInspectionTasks","_ref25","setClosedInspectionTasks","_ref26","setCompletedInspectionTasks","_ref27","setExpiredContractList","_ref28","_payload$contractDeta","setInspectionTaskStatus","_ref29","setIsReportUpdated","_ref30","setDrawingdisplaySettings","_ref31","setEquipmentTooltip","_ref32","setInspectionTaskDeletedData","_ref33","setInspectionTaskProgressBar","_ref34","setActivatedSystemDetails","_ref35","currentAbortController","getInspectionTaskList","abort","AbortController","signal","requestUrl","getInspectionSearchList","uniqueTaskId","searchBy","checkFinalReportUploadStatus","uniqueInspectionTaskId","checkInspectionTaskForClose","checkInspectionTaskForComplete","checkLinkedReports","onCloseInspectionTask","onCompleteInspectionTask","deleteInspectionTask","_ref36","getSystems","getTechnicians","technicianDetails","onAddInspectionTask","inspectionTaskDetail","getInspectionReportList","getSelectedReportList","inspectionTaskId","getInspectionTaskDetails","onEditInspectionTask","onUpdateReportSelected","activeSiteId","setShowReportsModal","selections","setSelections","onEditContractDates","getInspectionTaskTechnicians","setShowQuitTaskModal","technicians","quitTask","formData","getImportPreviousTaskDetails","uniqueSystemId","setShowImportPreviousTaskDetails","setPreviousTaskDetails","setDisplayPreviousTaskConfirmModal","onImportPreviousTaskDetails","setInfoModal","getActiveInspectionTasks","currentstart","sortDirection","isAllTask","isRequiredQuiting","getClosedInspectionTasks","getCompletedInspectionTasks","getExpiredContractList","inActivateInspectionTask","taskSelected","updatedDate","statusUpdateDate","compareTasks","sortData","setComparisonData","setDefaultFontSize","getEquipmentsummary","setEquipmentsummary","equipmentSummary","deassignEquipment","drawingId","equipmentId","blockRefHandles","getEquipmentTooltip","getDrawingdisplaySettings","uniqueequipmentclassid","uniqueinspectiontaskid","activateSystem","selectedSystem","getSystemListForTaskAdd","cancelAction","onHideAction","appBaseURL","envSettings","appBaseUrl","AdministrationSlice","stateList","TimeZoneList","customerPageDetails","mapSiteList","activeSiteDetails","switchedSite","customerSearchId","loggedInUserDetailsStatus","setDeletedCustomerList","setNewCustomerData","setStatusList","setCountryList","setStateList","setTimeZoneList","setUpdatedCustomerData","setCustomerPageDetails","setMapSiteList","setMapSiteSearchList","setActiveSiteDetails","setActiveSite","setCustomerSearchId","setLoggedInUserDetails","setLoggedInUserDetailsStatus","setShowCustomerGrid","getCustomerSearchList","deleteCustomerData","getStateList","getTimeZoneList","isInspectionPage","mappedData","mappedIds","mappingResponse","getCustomerDetails","onUpdateCustomer","getMapSiteList","getMapSiteSearchList","searchKeyWord","updateCustomerSiteMapping","fetchActiveSiteDetails","fetchLoggedInUserDetails","onGetUserPrivileges","messageCode","location","reload","CommonSlice","additionalDatafieldValues","additionalDatafieldSets","uploadedFileId","progressFlag","permittedFiles","isDownloadInProgress","buildVersion","setAdditionalDatafieldValues","setAdditionalDatafieldSets","setUploadedFileId","setPermittedFiles","setIsDownloadInProgress","setBuildVersion","getDatafieldValues","serviceUrl","fieldId","validatedValues","getAdditionalDatafieldSets","onDownloadFile","fileId","onDownloadPluginFile","chunks","Blob","getPermittedFiles","getBuildVersion","showAdd","loader","hideDialogHandler","onCloseModal","breakpoints","customButtons","InspectionTaskFilterSlice","customerReviseList","contractReviseList","selectedContractDetails","setCustomerReviseList","setCustomerSearchDetails","contractSearchText","PopOver","forwardRef","OverlayPanel","alertCounter","ActiveRequestQueue","serviceClassDispatcher","errorCallback","setSessionExpiryMessage","callback","zLinkHttpClient","requestId","baseAPIUrl","setAuthHeader","generalUtilityAPIUrl","customHeaders","setServiceClassDispatcher","dispatcher","ManageInspectionReports","mailpopref","React","createRef","reportList","report","reportPageDetails","reportTemplate","reportConfig","reportGroup","reportGroupsData","newReportData","deletedReportData","updatedReportData","isReportInUse","newReportTemplateData","deletedReportTemplateData","reportFieldOrder","updatedFieldOrder","rowsPerPage","personalSettings","inspectionDisciplineData","setPageDetails","tableColumns","setTableColumns","pageIndex","setPageIndex","selectedTab","setSelectedTab","showAddReportsModal","setShowAddReportsModal","selectedCountryId","setSelectedCountryId","showEditReportGroupsModal","setShowEditReportGroupsModal","showAddReportTemplatesModal","setShowAddReportTemplatesModal","showEditReportsModal","setShowEditReportsModal","showEditReportsConfigModal","setShowEditReportsConfigModal","reportGroupData","setReportGroupData","reportsData","setReportsData","reportConfigData","setReportConfigData","reportTemplateData","setReportTemplateData","isReportDelete","setIsReportDelete","setCurrentStart","setSortField","setSortOrder","keyWord","setKeyWord","showFieldOrder","setShowFieldOrder","fieldOrder","setFieldOrder","reportPagination","setReportPagination","reportTemplatePagination","setReportTemplatePagination","reportConfigPagination","setReportConfigPagination","countryItem","setReportList","CountryName","getReportList","modifiedPageDetails","showAddWindow","setShowAddWindow","reportGroupName","reportGroups","convData","newData","newReportGroupList","_value","_value2","reportId","ascDatafields","setUpdatedFieldOrder","onPageChanged","currentLength","onCountryDropdownChange","countrySelected","onGlobalSearch","onSort","handleRowSelect","onAddReportGroupClick","onSaveClick","onCancelClick","onAddFormSubmit","deleteReportGroupClick","removeReportGroup","deletedReportGroup","onEditReportGroup","reportGroupInfo","onAddReportClick","onAddReport","newReportList","editReportIconClick","onEditReportClick","onUpdateReport","deleteReportClick","checkIsReportInUse","onrowEditClick","disciplinesArray","inspectionDisciplines","updatedData","disciplineName","group","reportName","reportTitle","reportStatus","removeReport","deleteReport","deletedReport","_selectedRows$","reportInfo","onAddReportConfigData","_newReportConfigList","_newReportConfigList2","newReportConfigList","reportConfigId","deleteReportConfigClick","removeReportConfig","enCryptedConfigName","Buffer","deletedReportConfig","_selectedRows$2","onAddReportTemplateData","_newReportTemplateLis","_newReportTemplateLis2","newReportTemplateList","reportTemplateId","deleteReportTemplateClick","removeReportTemplate","enCryptedTemplateName","_selectedRows$3","_value3","onUpdateFieldOrder","onDownloadTemplateClick","reportTemplateFileNames","onDownloadConfigClick","reportConfigFileNames","onRowEditClick","rowData","getReportDetails","handleTableColumns","REPORTS_COLS","Breadcrumb","title","handleGoBackClick","BsArrowRight","selectedReport","getMainReportsContent","ScrollPanel","height","_mailpopref$current","toggle","BsFillPencilFill","BsTrashFill","EditReportGroups","seletedRows","ParentData","getTableColumns","Table","onSaveRowEdit","rows","cols","paginator","dataKeyId","getSelectedCountry","getSelectedRowData","showDownloadIcon","showSettingIcon","showHamIcon","showOrderIcon","onAddClick","onEditClick","onDeleteClick","showCountryDropdown","onSortData","showroweditor","onHamClick","onGetFieldOrder","isLazyLoading","EditReports","AddReports","INSPECTION_REPORTSTEMPLATE_COLS","REPORTSTEMPLATE_COLS","showEditIcon","onDownloadClick","AddReportTemplates","INSPECTION_REPORTSCONFIGS_COLS","REPORTSCONFIGS_COLS","AddReportConfigs","textEditor","type","editorCallback","disciplineLookup","setDisciplineLookup","reportDetails","reportGroupLookup","setReportGroupLookup","getAllInspectionDisciplines","getAllReportGroups","INSPECTION_REPORTS_COLS","disciplineList","disciplineId","editor","flex","sortable","DropdownsData","StatusDropdown","MultiSelectEditor","editForm","registerPlugin","FileUploadValidate","fileUploadRef","enableUpload","files","setFiles","uploaddate","UploadModal","UploadClick","serverId","_response$data","uniqueDirectoryId","slice","TempStorageDirectory","buttonDisable","FilePond","allowMultiple","maxFiles","onupdatefiles","server","onprocessfiles","beforeAddFile","file","filename","fileSize","removeFiles","onwarning","onremovefile","onRemoveFiles","reaminingFiles","getFiles","fileCount","onerror","onFileError","onprocessfilestart","credits","labelIdle","labelFileLoading","labelTapToUndo","labelFileProcessing","labelFileProcessingComplete","labelFileProcessingAborted","labelFileProcessingError","labelButtonAbortItemProcessing","labelButtonUndoItemProcessing","labelButtonRetryItemProcessing","labelButtonProcessItem","labelTapToCancel","labelFileRemoveError","labelTapToRetry","allowFileTypeValidation","acceptedFileTypes","addUserForm","inspectionDisciplineLookup","setInspectionDisciplineLookup","inspectionDiscipline","setStatus","_reportDetails$report","inspectionReportGroup","inspectionReportGroupName","inspectionReportGroupId","statusId","reportDisciplineMappingList","RadioButton","ContractSlice","contractPageDetails","contractInUse","contractSearchId","contractSiteDetails","updatedContractSiteDetails","checkContractClose","setContractPageDetails","setNewContractData","setContractDetails","setUpdatedContractData","setDeletedContractList","setContractInUse","setContractSearchId","setContractSiteDetails","setUpdatedContractSiteDetails","setCheckContractClose","setShowContractGrid","getContractSearchList","inspectionDataFlag","iscopymove","salesOfficeDetails","getContractDetails","onEditContract","deleteContractData","checkContractInUse","getContractSiteDetails","updateContractSiteMapping","checkContractForClose","onCloseContract","onActivateContract","UserSlice","userList","userPageDetails","loggedInUser","existingLogin","existingEmail","userSearchId","userFilterRoles","selectedUserRow","userContainInspectionTask","setUserList","accountActivationDate","lastLogIn","setUserRoles","setUserPageDetails","setLoggedInUser","setDeletedUserList","uniqueUserId","setUserRoleConverted","setLoginAvailable","setNewUserData","setUpdatedUserData","setEmailAvailable","setUserSearchId","setUserRoleIdOnSearch","setInspectionTask","setRestoredUserData","setUserPrivileges","setSelectedUserRow","setUserContainInspectionTask","getUserList","searchStatusId","getUserSearchList","getUserRoles","getLoggedInUser","checkLoginNameAvailable","loginName","deleteUser","userIds","selectedUser","onAddUser","getUserDetails","onEditUser","checkEmailAvailable","email","onSearchUsers","setUserSearchAppliedFlag","getInspectionTask","getSalesOfficesOfUser","setSelectedSalesOffices","convertUserRole","setShowConvertUserModal","userName","newRole","restoreSelectedUser","resetSelectedUser","checkUserContainInspectionTask","setIsCheckCompleted","IoIosArrowBack","TableComponent","onAttachmentClick","onRowEditValidation","onSetAsActiveSiteClick","showAttachIcon","showCountries","showAddIcon","disableAddIcon","showDeleteIcon","showCheckbox","showViewDraftReports","showViewFinalReport","showDownoadDraftReport","showDownloadFinalReport","showTextReport","settingListItems","showDeleteDownArrow","setAsActiveSiteIcon","showDetailsIcon","onDetailsClick","showCloseIcon","onCloseClick","showCompleteIcon","onCompleteClick","showFontAdjust","onFontChange","showCustomHeader","CustomHeaderCmp","showExpandedRows","showEquipmentDropdown","showSystemDropdown","showAttributeDropdown","showCommonAttributeDropDown","searchboxfield","onHeaderAttributeNameChange","showCustomSearchCmp","CustomSearchCmp","showFilterIcon","onFilterClick","showOptionsIcon","onOptionsClick","showCopyIcon","onCopyClick","attributeLookup","equipmentTypeLookup","system","onHeaderDropdownChange","defaultSelectedRows","showActions","isTemplateMode","allowRowEditing","onGridDataSearch","dataFromUserTable","onUserSearchApplied","localSearchFirstItem","isTemplateFromParent","templateFromParent","showViewIcon","showDislaySettingsIcon","onViewClick","settingRef","setRowData","totalRows","setTotalRows","totalRecords","setTotalRecords","firstPage","setFirstPage","lastPage","setLastPage","currentPage","setCurrentPage","disabledIcon","setDisabledIcon","pageInputTooltip","setPageInputTooltip","filters","setFilters","global","matchMode","FilterMatchMode","CONTAINS","editingRows","setEditingRows","showDisplaySetting","setShowDisplaySetting","expandedRows","setExpandedRows","updatedColumns","col","flexValue","whiteSpace","wordWrap","overflow","lastPageIndex","ceil","totalCount","pageCount","filtersMap","onDropdownChanges","paginatorTemplate","layout","FirstPageLink","Ripple","PrevPageLink","NextPageLink","LastPageLink","PageLinks","view","startPage","page","endPage","totalPages","userSelect","JumpToPageInput","RowsPerPageDropdown","CurrentPageReport","color","InputNumber","size","tooltipOptions","onPageInputKeyDown","onPageInputChange","parseInt","first","headerDropDownChange","countryDropDownChange","systemHeaderDropdowns","renderHeaderDropdowns","renderAttributeHeaderDropdowns","renderCommonAttributeDropdowns","renderCountryDropdown","searchHeader","filtersKey","onGlobalFilterChange","activeListItem","handleCountryClick","src","imgSrc","alt","altText","classList","_e$target2","classNamesArr","handleFontChange","IoIosFunnel","IoMdOptions","IoIosCopy","FaChevronDown","BsGridFill","BsXCircleFill","BsCheckCircleFill","FaUserCheck","MdTableRows","BsPaperclip","FaDownload","_settingRef$current","FaCog","FaEye","display_settings","renderHeader","firstRowEle","bodyTemplate","columnDetails","dangerouslySetInnerHTML","__html","responsiveLayout","editMode","onRowEditComplete","rowEditValidator","onRowEditChange","isEditable","onPage","selectionMode","dragSelection","selection","onSelectionChange","onSelectRow","dataKey","emptyMessage","onFilter","scrollable","scrollDirection","resizableColumns","columnResizeMode","onRowDoubleClick","selectedRowIndex","expandedRowId","isRowCollapseCall","modifiedExpandedRows","rowExpansionTemplate","inspectionTaskName","panelType","BsXCircle","BsCheckCircle","BsBoxArrowRight","IoIosRemoveCircleOutline","lazy","isDataSelectable","_event$data","_event$data2","onValueChange","rowEditor","exportable","alignFrozen","frozen","headerStyle","headerClassName","align","excludeGlobalFilter","DisplaySetting","displayColumns","setdisplayColumns","selectedCols","useAppDispatch","useSelector","ReportSlice","setReportPageDetails","setNewReportData","setReportGroupsData","setInspectionDisciplineData","setDeletedReportData","setReportDetails","setUpdatedReportData","setIsReportInUse","setReportFieldOrder","inspectionDesciplineList","LoginSlice","isAuthenticated","isTokenGenerating","accessToken","setIsAuthenticated","setTokenProgress","setAccessToken","LogOutSlice","dashboardSlice","reportSummary","failedEquipments","systemTypes","selectedFailedEquipment","setReportSummary","setEquipmentSummary","setFailedEquipments","setSystemTypes","setSelectedFailedEquipment","getFailedEquipments","isProjectContract","inspectionContracts","sapContracts","SystemSlice","systemList","systemPageDetails","systemReviseList","systemInUse","systemSearchId","newSystemData","XMLImportInProgress","provenOutcomesData","uploadedXmlFileList","isSystemforClose","newSystemDetails","xmlUploadedSystemData","unlinkedEquipmentGroups","systemEquipmemtGroups","panelInUse","setSystemList","ReviseData","systemName","systemType","isNetworked","globalPMI","preferredLanguage","xmlFile","configFile","activeTask","xmlUploadDate","softwareVersion","revision","setSystemPageDetails","setSystemInUse","setDeletedSystemList","setNewSystemData","setNewInspectionSystemData","setUpdatedSystemData","setSystemSearchId","setXMLImportInProgress","setUploadedXmlData","setSystemStatus","setProvenOutcomesData","setUploadedXmlFileList","setDeletedFileList","setSystemInspectionTask","setCheckSystemforClose","setUnlinkedEquipmentGroups","setDeleteUnlinkedEquipmentGroups","setSystemEquipmentGroups","setPanelInUse","setDeletedSystemEquipmentGroups","setNewlyAddedSystemStatus","_state$newSystemData","getSystemList","checkSystemInUse","checkXMLImportInProgress","getSystemTypes","panelTypes","onAddSystem","setIsAdd","onEditSystem","setIsEdit","onInspectionTaskClose","setShowUploadXMLModal","isEdit","setIsReactivate","setUniqueInspectionaskId","onUploadSystemXml","isConfig","isReactivate","setIsReactivateOnFileUpload","checkDownloadFile","isFileUploaded","getEquipmentGroups","setEquipmentGroups","setShowEquipmentGroupModal","_res$data14$equipment","equipmentGroups","getUploadedXMLFileList","deleteXMLFile","reactivateInspectionTask","isSiemens","isParsed","ZoneSlice","zoneList","zoneDetails","zonePageDetails","zonesByCountry","setZoneList","setUpdatedZone","uniqueBusinessZoneId","setDeletedZoneList","setZoneDetails","setZonePageDetails","setNewZoneData","setZonesByCountryId","getZoneList","SalesOfficeSlice","salesOfficeList","salesOfficePageDetails","salesOfficesByQuery","selectedSalesOffices","setSalesOfficeList","setUpdatedSalesOffice","setDeletedSalesOfficeList","setSalesOfficeDetails","setSalesOfficePageDetails","setNewSalesOfficeData","setSalesOfficesByQuery","getSalesOfficeList","getSelectedSalesOffices","BranchOfficeSlice","branchOfficeList","branchOfficeDetails","branchOfficePageDetails","allBranchOfficeList","setBranchOfficeList","setDeletedBranchOfficeList","uniqueBranchOfficeId","setUpdatedBranchOffice","setBranchOfficeDetails","setBranchOfficePageDetails","setNewBranchOfficeData","setAllBranchOfficeList","getBranchOfficeList","HealthClassificationSlice","healthClassificationList","healthClassificationPageDetails","healthClassificationDetails","healthClassifictionInUse","setHealthClassificationList","setHealthClassificationPageDetails","setNewHealthClassificationData","setUpdatedHealthClassification","uniqueHealthClassificationId","setDeletedHealthClassificationList","setHealthClassificationDetails","setHealthClassifictionInUse","getHealthClassificationList","isAllDetails","NFPAClassificationSlice","NFPAList","NFPAPageDetails","NFPAClassificationDetails","ReportClassifications","isNFPAInUse","equipmentTypeList","inUseReturn","setNFPAList","setNewNFPAClassificationData","newNFPAitem","uniquenfpaClassificationId","uniqueNFPAClassificationId","nfpaCode","nfpaClassification","equipmentType","healthClassification","healthcareClassificationName","reportClassification","setReportClassificationList","setUpdatedNFPAClassification","updatedNFPAitem","setNFPAPageDetails","setDeletedNFPAClassificationList","setNFPAClassificationDetails","setIsNFPAInUse","setEquipmentTypeList","setInUseReturnForEdit","getNFPAList","nfpaClassificationDetails","getReportClassificationList","reportClassifications","getEquipmentTypeListBsedOnHealth","equipmentClassDetails","checkNFPAInUseForEdit","CommonAttributeSlice","commonAttributeList","commonAttributePageDetails","attributeNameList","commonAttributeValues","commonAttributeValuePageDetails","fieldTypesData","commonAttributeDetails","commonAttributeValueDetails","isCommonAttributeInUse","isAttributeValueInUse","newCommonAtributeValue","setCommonAttributeList","uniqueAttributeId","attributeName","attributeType","isMandatory","isValidated","maxlength","setCommonAttributePageDetails","setAttributeNameList","setCommonAttributeValues","setCommonAttributeValuePageDetails","setFieldTypesData","setNewCommonAttributeData","setNewCommonAttributeValueData","dataFieldLookUpId","attributeValue","setCommonAttributeDetails","setCommonAttributeValueDetails","setIsCommonAttributeInUse","setIsAttributeValueInUse","setUpdatedCommonAttributeData","setUpdatedCommonAttributeValueData","setDeletedCommonAttribute","setDeletedCommonAttributeValues","getCommonAttributeList","attributeDetails","getCommonAttributeValues","attributeId","setIsLoaded","getFieldTypesData","dataTypes","onAddCommonAttributeValue","checkIsCommonAttributeInUse","onEditCommonAttributeValue","datafieldlookupid","checkIsAttributeValueInUse","uniqueattributeid","deleteCommonAttributeValue","EquipmentTypeAttributeValueSlice","equipmentTypeNameList","equipmentAttributeNameList","equipmentTypeAttributeValues","equipmentTypeAttributeValueList","equipmentTypeAttributeValueDetails","equipmentTypeAttributeValuePageDetails","newEquipmentTypeAttributeValue","setEquipmentTypeNameList","setEquipmentAttributeNameList","setEquipmentTypeAttributeValueList","setNewEquipmentTypeAttributeValueData","setEquipmentTypeAttributeValueDetails","setUpdatedEquipmentTypeAttributeValueData","setDeletedEquipmentTypeAttributeValues","setEquipmentTypeAttributeValuePageDetails","getEquipmentTypeAttributeValuesList","onAddEquipmentTypeAttributeValue","onEditEquipmentTypeAttributeValue","deleteEquipmentTypeAttributeValue","EquipmentTypeAttributeSlice","equipmentTypeAttributeList","equipmentTypeAttributeDetails","equipmentTypeAttributeListPageDetails","isEquipmentTypeAttributeInUse","setEquipmentTypeAttributeList","setNewEquipmentTypeAttributeData","setEquipmentTypeAttributeDetails","setIsEquipmentTypeAttributeInUse","setDeletedEquipmentTypeAttribute","setUpdatedEquipmentTypeAttributeData","setEquipmentTypeAttributeListPageDetails","getEquipmentTypeList","getEquipmentTypeAttributeList","uniqueEquipmentClassId","checkIsEquipmentTypeAttributeInUse","ReportMappingSlice","subItems","reportDetailsForContract","reportMappingSavedDataForContract","reportDetailsForSystems","reportMappingSavedDataForSystems","reportDetailsForQuestion","reportMappingSavedDataForQuestion","selectedDisplayColumns","isDisplayColumnsReadyToUpdate","setSubItems","setReportGroups","setReportDetailsForContract","setReportMappingSavedDataForContract","clearReportMappingSavedDataForContract","setReportDetailsForSystem","setReportMappingSavedDataForSystem","clearReportMappingSavedDataForSystem","setReportDetailsForQuestion","setReportMappingSavedDataForQuestion","clearReportMappingSavedDataForQuestion","setDisplayColumns","setIsDisplayColumnsReadyToUpdate","setSelectedDisplayColumns","getReportGroups","InspectionFieldSlice","inputTypes","fieldTypes","newQuestionInspectionField","inspectionQuestions","newFieldValue","updatedFieldValue","deletedFieldValue","updatedQuestionInspectionField","deletedQuestionInspectionField","newGroupSection","updatedGroupSection","deletedGroupSection","inspectionSystems","newContractInspectionField","newSystemInspectionField","updatedContractInspectionField","updatedSystemInspectionField","deletedSystemInspectionField","deletedContractInspectionField","isCheckInUse","DefaultData","inspectionFieldValues","inspectiondatafieldOrderList","updatedInspectionDatafieldOrder","inspectionquestionfieldOrderList","updatedQuestionInspectionDatafieldOrder","updatedQuestionInspectionDatafieldOrderList","isQuestionNodeInUse","isQuestionDataInUse","setInputTypes","setFieldTypes","setNewQuestionInspectionField","setInspectionQuestions","setNewFieldValue","setupdatedFieldValue","setDeletedFieldValue","setUpdatedQuestionInspectionField","setDeletedQuestionInspectionField","setNewGroupSection","setUpdatedGroupSection","setDeletedGroupSection","setInspectionContracts","setInspectionSystems","setNewContractInspectionField","setNewSystemInspectionField","setUpdatedContractInspectionField","setUpdatedSystemInspectionField","setDeletedContractInspectionField","setDeletedSystemInspectionField","setIsCheckInUse","setAsDefaultData","setInspectionFieldValues","setInspectionDatafieldOrderList","setUpdatedInspectionDatafieldOrder","setInspectionquestionfieldOrderList","setUpdatedQuestionInspectionDatafieldOrder","setUpdatedQuestionInspectionDatafieldOrderList","setIsQuestionNodeInUse","setIsQuestionDataInUse","onGetInspectionQuestions","inspectionGroupSections","onRemoveInspectionFieldValue","datafieldId","datafieldLookupId","deletedItem","isSuccess","onRemoveQuestionInspectionField","onRemoveGroupSection","nodeId","onRemoveContractInspectionFieldValue","onRemoveSystemInspectionFieldValue","onRemoveContractInspectionField","onRemoveSystemInspectionField","onGetInspectionFieldValues","values","InspectionReportSlice","systemSummary","selectedSystemDetails","generatedReportDetails","reportListPageDetails","deletedReportDetails","viewDraftReport","viewFinalReport","downloadDraftReport","downloadFinalReport","isFinalReportUploaded","isInspectiontaskcompleted","setSystemSummary","clearSystemSummary","setSelectedSystemDetails","setGeneratedReportDetails","clearGeneratedReportDetails","setReportListPageDetails","setDeletedReportDetails","clearDeletedReportDetails","setViewDraftReport","setViewFinalReport","setDownloadDraftReport","setDownloadFinalReport","setisFinalReportUploaded","setIsInspectionTaskCompleted","setUpdatedReportList","systemPanelInspectionReportId","getSystemSummary","systemId","taskHistoryFilter","setDefaultSystemDetails","activeSystemId","sorField","SelectSiteSlice","EquipmentSlice","equipmentList","equipmentPanelList","equipmentDatafields","newEquipment","updatedEquipment","removedEquipment","equipmentImportCheckData","checkSystemParseInProgress","xmlImportStatus","associatedDevicesData","updatedEquipmentAddress","masterDataList","masterDataPageDetails","uploadedExcels","worksheets","excelMappingColumns","equipmentSpecificLists","fetchedEquipmentData","verifiedFetchedData","importedEquipmentData","multipleEditDatafields","multipleUpdatedData","archievedSearches","equipmentGroupDatafields","newEquipmentGroup","updatedEquipmentGroup","importEquipmentDatafields","typeOfEquipmentList","equipmentAttachmentsList","isDevReadingChanged","IsTestDateChanged","equipmentAttachmentlist","userDefaultEquipmentClass","isEquipmentClassDropdownChanged","setEquipmentList","setEquipmentPanelList","setEquipmentDatafields","setNewEquipment","setUpdatedEquipment","setRemovedEquipment","setEquipmentImportCheckData","setCheckSystemParseInProgress","setXMLImportStatus","setAssociatedDevicesData","setUpdatedEquipmentAddress","setMasterDataList","setMasterDataPageDetails","setUploadedExcels","setWorksheets","setExcelMappingColumn","setEquipmentSpecificLists","setFetchedEquipmentData","setVerifiedFetchedData","setImportedEquipmentData","setMultipleEditDatafields","setMultipleUpdatedData","setArchievedSearches","setEquipmentGroupDatafields","setNewEquipmentGroup","setUpdatedEquipmentGroup","setImportEquipmentDatafields","setTypeOfEquipmentList","setEquipmentAttachmentsList","setNewEquipmentAttachmentData","setUpdatedAttachmentData","setDeletedEquipmentAttachmentList","_ref37","setIsDevReadingChanged","_ref38","setIsTestedDateChanged","_ref39","setEquipmentAttachmentlist","_ref40","setUserDefaultEquipmentClass","_ref41","setIsEquipmentClassDropdownChanged","_ref42","getEquipmentList","filterType","getEquipmentPanelList","addAll","panelList","panelDetails","isAllSelectionRequired","typeList","equipmentClassName","getEquipmentDatafields","onEquipmentDetailsUpdated","onEquipmentUsageChecked","setShowDelete","setShowInfo","setIds","returnMessage","equipmentIds","onEquipmentRemoved","getMasterdataList","uniquesystemid","_res$data11$data","getMasterDataAttachmentList","setShowAttachmentListModal","onGetEquipmentGroupDatafields","panelId","taskId","getEquipmentAttachments","inspectiontaskid","equipmentid","editAttachment","resetFileEditForm","addUserDefaultEquipmentClass","getEquipmentTypeListWithDefaultEquipmentClass","_res$data26","_res$data27","equipmentTypeInfo","personalSettingsSlice","inspectionTasksRowsPerPage","setPersonalSettings","setRowsPerPage","setInspectionTasksRowsPerPage","getPersonalSettings","feedbackSlice","feedbackData","setFeedbackData","sendMailSlice","mailData","setMailData","sendMail","setLoader","setShowSendMail","LinkSlice","linkList","setLinkList","setNewLink","setUpdatedLink","linkId","setDeletedLink","PluginSlice","pluginList","pluginFilePath","uploadedPlugin","qrcode","setPluginList","setPluginFilePath","setUploadedPlugin","setQrCode","InspectionDetailsSlice","inspectionQuestion","updatedQuestionDatafields","updatedContractDatafields","updatedSystemDatafields","inspectionSystemFieldValues","inspectionContractFieldValues","inspectionQuestionFieldValues","contractUpdated","monitoringValues","typeOfTriggerValue","setInspectionQuestion","setUpdatedQuestionDatafields","setUpdatedContractDatafields","setUpdatedSystemDatafields","setInspectionSystemFieldValues","setInspectionContractFieldValues","setInspectionQuestionFieldValues","setContractUpdated","setMonitoringValues","setTypeOfTriggerValue","onSaveInspectionQuestion","setShowProgress","onGetMonitoringValues","_res$data4$values","multipleFieldValue","fieldValue","PasswordPolicySlice","passwordPolicyData","setPasswordPolicyData","MailDomainSlice","mailDomainList","newMailDomain","setMailDomainList","setNewMailDomain","setUpdatedMailDomain","setDeletedMailDomain","accountMailDomainId","LogBookSLice","modules","users","entities","activities","logBookList","logPageDetails","setModules","setUsers","setEntities","setActivities","setLogBookList","setLogPageDetails","onGetLogBookList","CustomizationSlice","nfpaClassifications","dataEntrySettings","updatedDataEntrySettings","displaySettings","datafieldOrderList","updatedDatafieldOrder","updatedDisplaySettings","setNfpaClassifications","setDataEntrySettings","setUpdatedDataEntrySettings","setDisplaySettings","setDatafieldOrderList","setUpdatedDatafieldOrder","setUpdatedDisplaySettings","onGetNfpaClassifications","classId","nfpa","nfpaClassificationLookUpDetails","nfpaClassificationName","onGetDataEntrySettings","nfpaId","onGetDisplaySettings","displaySettingDetails","ToolSlice","isCopiedDone","sapImportStatusList","sapImportStatusDetails","sapImportPageDetails","userLists","copyMoveLogDetails","copyMoveLogPageDetails","customerSiteMap","setIsCopiedDone","setSapImportStatusList","sapImportDetails","dateOfIntegration","setSapImportStatusDetails","setSapImportPageDetails","setUsersList","setCopyMoveLogDetails","setCopyMoveLogPageDetails","setcustomerSiteMap","onGetCustomers","setData","onGetSystems","setInfo","_res$data$systemDetai","onGetSites","isAllSites","_res$data$siteDetails","onGetContract","_res$data$contractDet","checkSalesOfficeExist","isSalesOfficeExists","onCopyOrMoveSystemReports","setStatusMessage","setTargetPage","setIsCopied","isDone","statusMessage","_res$data7$systems","pageTarget","systems","sourceSystemName","uniqueSystemName","onGetContractSalesOffice","sourceContractId","sourceSystemId","onGetSapImportStatusList","onGetCopyMoveLogDetails","BuildingSLice","buildingList","buildingPageDetails","newBuilding","buildngDetails","updatedBuildingData","buildingInUse","deletedBuilding","buildingAttachmentCountList","setBuildingList","setBuildinPageDetails","setNewBuilding","setBuildngDetails","setUpdatedBuildingData","setBuildingInUse","setDeletedBuilding","uniqueBuildingId","setBuildingAttachmentCountList","getSiteBuildingList","buildingDetails","onAddBuilding","onUpdateBuilding","uniquebuildingId","uniquesiteid","uniquebuildingid","attachmentCount","FloorSlice","floorList","floorPageDetails","newFloorData","floorDetails","updatedFloor","floorAttachmentCountList","setFloorList","setFloorPageDetails","setNewFloorData","setFloorDetails","setUpdatedFloor","setDeletedFloor","uniqueFloorId","setFloorAttachmentCountList","getFloorList","getBuildingListLookup","onAddFloor","onUpdateFloor","AsBuiltsSlice","drawingList","drawingPageDetails","drawingTypes","drawingCategory","newDrawing","addMarkup","drawingDetails","updatedDrawing","previousDrawing","revisedDrawing","replacedDrawing","revisionList","revisionPageDetails","markupList","markupPageDetails","markupDetails","xmlData","markupPageData","markupData","updatedMarkup","deletedMarkupData","updatedRevision","setDrawingList","setDrawingPageDetails","setDrawingTypes","setDrawingCategory","setNewDrawing","setAddMarkup","setDrawingDetails","setUpdatedDrawing","setPreviousDrawing","setRevisedDrawing","setReplacedDrawing","setRevisionList","setRevisionPageDetails","setmarkupList","setMarkupPageDetails","setMarkupPageData","setMarkupDetails","setXmlData","setMarkupData","setUpdatedMarkup","setDeletedMarkupData","setUpdatedRevision","getDrawingList","_res$data3$drawingDet","drawingDetailsList","getDrawingDetails","onUpdateDrawing","getRevisionList","getMarkupList","markupDataList","loadXmldata","markupId","markupXmlData","downloadDrawing","InspectionDrawingSlice","selectedTreeNode","selectedTask","unassignedEquipmentList","commonEquipmentList","equipmentSpecificList","drawingFullData","unassignedEquipmentTypes","addressDetails","equipmentData","setSelectedTreeNode","setSelectedTask","setUnassignedEquipmentList","setCommonEquipmentList","setEquipmentSpecificList","setDrawingFullData","setUnassignedEquipmentTypes","setAddressDetails","setEquipmentData","getDrawingEquipmentList","tab","setDataLoaded","CustomizeReportSlice","isAppliedDone","setIsAppliedDone","onApplied","reportType","isTemporary","onGetLoadData","setFields","setSettings","dataFieldDetails","isLandscapeOriented","isSlNoRequired","isSystemDefault","onExportReport","ok","ProvenOutcomesState","branches","inspectionTurnAroundList","inspectionTurnAroundPageDetails","tapPerformanceReportList","tapPerformanceReportPageDetails","systemtasklist","goalList","goalListDetails","updatedGoal","updatedDeficiency","inspectionDeficiencyList","inspectionDeficiencyPageDetails","comments","deletedProject","projectDetails","softwareVersionList","softwareVersionPageDetails","setUpdatedSoftwareVersionData","newlyAddedData","dependencyCheckData","checkTAPPerformanceReportGenerated","checkIsValueChanged","deletedGoalIds","tabChangeMessageHandler","tabChangeMessage","clonedProjectData","setBranches","setInspectionTurnaroundList","reportDeliveryDate","workCompletionDate","setInspectionTurnaroundPageDetails","setTapPerformanceReportList","setTapPerformanceReportListPageDetails","setSystemTaskList","setgoalList","setgoalListDetails","setUpdatedGoal","uniqueProjectGoalId","setProjectDetails","setUpdatedDeficiency","setDeletedProjectDetails","uniqueProjectId","setInspectionDeficiencyList","date","correctedDate","setInspectionDeficiencyPageDetails","setComment","setSoftwareVersionList","setSoftwareVersionPageDetails","setNewlyAddedData","equipmentName","currentVersion","newVersion","recommend","setUpdatedProjectDetailsData","projectName","projectOwner","branch","branchName","projectId","setDependencyCheckData","setCheckTAPPerformanceReportGenerated","setDeletedGoalIds","clearDeletedGoalIds","setcheckIsValueChanged","setTabChangeMessageHandler","setTabChangeMessage","setclonedProjectData","onGetInspectionTurnAroundList","UniqueProjectId","onGetTapPerformanceReportList","projectList","getProjectSystems","onGetGoalList","projectGoalList","onGenerateReport","onGetInspectionDeficiencyList","sortfield","sortorder","onGetSoftwareVersionList","onDependencyCheck","setdependencyCheckData","checkTapPerformaceReportGenerated","SalesActivityState","panelTypeData","equipmentTypeData","modelData","selectedBranchOfficeData","selectedPanelTypedata","selectedEquipmentTypeData","selectedModelData","branchOfficeListForSalesActivity","setPanelTypeListData","setEquipmentTypeListData","setModelListData","setSelectedBranchOfficeData","setSelectedPanelTypedata","setSelectedEquipmentTypeData","setSelectedModelData","setBranchOfficeListForSalesActivity","notificationMessageSlice","notificationMessage","setNotificationMessageData","rootReducer","combineReducers","AdministrationSliceReducer","UserSliceReducer","SiteSliceReducer","login","LoginSliceReducer","logOut","LogOutSliceReducer","dashboard","DashboardSliceReducer","ContractSliceReducer","SystemSliceReducer","ReportSliceReducer","ReportTemplateSliceReducer","ZoneSliceReducer","SalesOfficeSliceReducer","BranchOfficeSliceReducer","SearchSliceReducer","InspectionTaskReducer","HealthClassificationReducer","nfpaclassification","NFPAClassificationReducer","ReportConfigSliceReducer","commonAttribute","CommonAttributeSliceReducer","equipmentTypeAttributeValue","EquipmentTypeAttributeValueReducer","InspectionTaskFilterReducer","EquipmentTypeAttribute","EquipmentTypeAttributeSliceReducer","reportMapping","ReportMappingReducer","InspectionField","inspectionReport","InspectionReportSliceReducer","selectSite","SelectSiteReducer","ReportGroupSliceReducer","equipment","EquipmentSliceReducer","personalSettingsSliceReducer","common","CommonSliceReducer","link","linkSliceReducer","plugin","pluginSliceReducer","passwordPolicy","passwordPolicySlice","mailDomain","mailDomainSlice","logBook","logBookSlice","customization","feedback","feedbackSliceReducer","sendMailSliceReducer","eventControllerSlice","tool","building","BuildingSliceReducer","floor","FloorSliceReducer","asbuilts","AsBuiltsSliceReducer","inspectionDrawing","inspectionDrawingSliceReducer","customizeReport","CustomizeReportSliceReducer","provenOutcomes","ProvenOutcomesSliceReducer","salesActivity","SalesActivitySliceReducer","NotificationMessageSliceReducer","sintesoStore","configureStore","reducer","middleware","thunk","DataTableComponent","selectedParentRows","isSelectionFromParent","rowExpandedTemplate","headerTemplate","columnTemplate","NormalColumns","TemplateColumns","headerTooltip","headerTooltipOptions","fontSize","isData","onRowToggle","eventKeys","rowsExpanded","toggleRowExpansion","expander","customBarChartTooltip","reverse","fill","customPieChartTooltip","_payload$0$payload","INSPECTION_TASKS_COL","EQUIPMENT_COLS","CONTRACT_COLS","PERFORMANCE_TABLE_COL","ReportViewer","viewerInstance","setViewerInstance","viewer","GrapeCity","ActiveReports","JSViewer","create","displayMode","openReport","FaileEquipmentReport","reportFlag","sortByColumns","sortBy","sortByLookup","setSortByLookup","setReportId","sortColumn","setSortColumn","setSortDirection","params","getSelectedIds","selectedIds","previewSessionId","InspectionSummary","defaultSite","setKey","minToggle","setMinToggle","gridData","setGridData","columns","setColumns","filterOptions","setFilterOptions","selectAll","setSelectAll","selectedInspectionTasks","setSelectedInspectionTasks","closeTaskInProgress","setCloseTaskInProgress","setActiveSiteId","isNavigate","targetPath","setTargetPath","downloadRef","showReportModal","setShowReportModal","setReportFlag","reportsToggle","setReportsToggle","equipmentSummaryToggle","setEquipmentSummaryToggle","useLocation","innerTab","reportSummaryData","taskStatuses","column","generalProperties","columnInfo","_generalProperties$i","_generalProperties$i2","_generalProperties$i3","_generalProperties$i4","_generalProperties$i5","_generalProperties$i6","_generalProperties$i7","_generalProperties$i8","_generalProperties$i9","_generalProperties$i10","_generalProperties$i11","_generalProperties$i12","_generalProperties$i13","alias","getTaskListGridColumns","toggleHandler","reportGeneratedSummary","completed","drafted","noActions","passed","failed","untested","getSelectedids","onChangeFilterOptions","selectItems","inspectionTaskTemplate","onClickCapture","selectTask","task","Status","UniqueSiteId","UniqueSystemId","UniqueInspectionTaskId","UniqueContractId","UniqueCustomerId","defaultBody","selectContract","contractSelected","AiOutlineExpandAlt","AiOutlineShrink","ResponsiveContainer","BarChart","barCategoryGap","XAxis","fontWeight","YAxis","domain","hide","Legend","Bar","minPointSize","LabelList","textAnchor","angle","dy","axisLine","tick","Tooltip","content","Tabs","mountOnEnter","unmountOnExit","Tab","eventKey","closeTaskHandler","isChecked","tasks","InspectionTaskId","inspectionTaskIds","isrequiredquitting","onChangeSelectAll","_downloadRef$current","iconPos","equipmentTemplate","contractTemplate","closeSelectedInspectionTasks","closeInspectionTasks","onReportAllClick","onReportHighlightedClick","onExportAll","exportParameters","exportType","onExportHighlightedClick","PerformaceIndicator","colors","pieChartData","setPieChartData","tableData","setTableData","projectToggle","setProjectToggle","serviceToggle","setServiceToggle","pieChartToggle","setPieChartToggle","contractkey","setContractKey","minChartFont","setMinChartFont","maxChartFont","setMaxChartFont","setWidth","divRef","projectServiceContractDetails","setProjectServiceContractDetails","closed","inactive","activeCount","closeCount","completedCount","inactiveCount","usage","_divRef$current2","divLength","offsetWidth","_divRef$current","PieChart","verticalAlign","wrapperStyle","Pie","cx","cy","startAngle","endAngle","labelLine","outerRadius","innerRadius","paddingAngle","minAngle","panelTypeName","entry","Cell","collator","Intl","Collator","numeric","sensitivity","compare","Dashboard","setDefaultSite","TabView","activeIndex","onTabChange","indexChangeEvent","TabPanel","EditCustomer","onEditCustomerClick","phone","fax","_field$value","_field$value2","_field$value3","_field$value4","_field$value5","_field$value6","_field$value7","_field$value8","_field$value9","_field$value10","_field$value11","SiteModal","siteSearchList","siteData","setSiteData","showButton","setShowButton","siteNewList","siteNewSearchList","changeToActiveSite","_selectedSite$current","updateSelectedSites","siteIds","getErrorMsg","FIELD_REQUIRED","isPhoneValid","isFaxValid","isPatternValid","isEmailValid","test","errorMsg","CUSTOMER_COLS","phoneEditor","faxEditor","readOnlyInput","dateEditor","option","statusEditor","CustomizeReportFieldOrder","onDragEnded","CustomizeReport","customizationType","setCustomizationType","subGroupFieldOrder","setSubGroupFieldOrder","fieldOrderUpdated","setFieldOrderUpdated","reportSetting","setReportSetting","getCustomizeReportDataFields","onChangeCheckBox","rowIndex","onApply","remainedData","dataFieldName","dataType","rest","parseFloat","toFixed","isReportField","positionNo","isGroupField","groupIndex","showHeader","pre","dataFieldTemplate","reportColumnTemplate","subHeadingTemplate","widthTemplate","min","evt","onPaste","subTotalTemplate","_rowData$dataType","dataTypeName","subGrantTotalTemplate","_rowData$dataType2","onFieldOrderShow","_value4","reports","groups","sortedReport","sortedGroups","renderFooter","tempDataFields","uniqueDataFieldId","CustomerReport","showCustomizeReport","setShowCustomizeReport","viewCustomerReport","getSelectedCustomersId","horizontal","Customers","showAddModal","showEditModal","showSiteModal","setShowSiteModal","showCustomerGrid","customerGridList","setCustomerGridList","clientId","editIconClick","deleteIconClick","onSiteIconClick","onGroupHighlightedClick","groupedItems","removeCustomerData","SelectSalesOffice","userSelected","salesOfficesData","setSalesOfficesData","zoneLookup","setZoneLookup","_state$administration","salesOffices","addSalesOfficeForm","getZones","getSalesOffices","offices","next","getZonesByCountryId","getSalesOfficesByQuery","allCheckedOffices","EditUser","userRoleId","onEditUserClick","watch","resetPasswordOnNextLogin","firstName","middleName","lastName","userRole","salesOfficeIds","_state$salesOffice","showEditSelectSalesOffice","setShowEditSelectSalesOffice","isCheckCompleted","userRoleLookup","setUserRoleLookup","showSalesOffice","setShowSalesOffice","loginAsEmail","setLoginAsEmail","setUserSelected","setSelectedUser","editUserForm","_selectedRows$$accoun","_selectedRows$2$accou","_statusList$status","userRoleName","currentUserRole","isUserInspectionTask","_selectedUser$loginNa","_selectedUser$loginNa2","_selectedUser$firstNa","_selectedUser$middleN","_selectedUser$lastNam","getSalesOfficeIds","inspectionTasksList","officeIds","resetSelectedUsers","requestBody","salesofficeids","userroleId","isdelete","_data$loginName","_data$loginName2","_data$firstName","_data$middleName","_data$lastName","marginTop","onSalesOfficeClick","_selectedUser$loginNa3","_selectedUser$loginNa4","_selectedUser$firstNa2","_selectedUser$middleN2","_selectedUser$lastNam2","AddUser","onAddUserClick","showSelectSalesOffice","setShowSelectSalesOffice","isSubmit","setIsSubmit","setSubmitData","todayDate","day","getDate","month","getMonth","year","getFullYear","isEmailInUse","_submitData$loginName","_submitData$email","_submitData$loginName2","_submitData$firstName","_submitData$middleNam","_submitData$lastName","UserSearch","searchId","setStatusId","onSearchClick","userSearchForm","searchAttribute","StatusId","QuitTask","onQuitTask","quitTaskForm","displayConfirmationModal","onQuitTaskFormSubmit","taskData","ConvertUser","onConvertRole","roleSelected","setRoleSelected","allowedUserRoles","setAllowedUserRoles","convertUserForm","getUserRoleName","Set","mergedOffices","has","roles","roleId","UserReport","getSelectedUsersId","uniqueUserIds","roleList","timezoneoffset","getTimezoneOffset","localDate","getTime","USER_COLS","userNameEditor","loginNameEditor","roleEditor","lastLoginEditor","Users","userRoleList","setUserRole","setUserRoleId","isRestore","setIsRestore","isDelete","setIsDelete","showUserSearchModal","setShowUserSearchModal","showQuitTaskModal","showConvertUserModal","setSearchStatusId","userColumns","setUserColumns","userSearchAppliedFlag","setisUserInspectionTask","inspectionTasksNames","userStatus","obj","removeUser","usersToDelete","restoreUser","onResetUserClick","onRestoreUserClick","getSettingsItem","quitTaskHandler","convertUserHandler","rowSelected","_rowSelected$","userRoleNumber","onEditIconClick","onConfirmClick","line","SiteTableData","selectedRow","timeZoneList","stateLookup","setStateLookup","timeZoneLookup","setTimeZoneLookup","siteColumns","statesOfCountries","statesOfCountryName","statesOfCountryCode","timeZones","timeZone","timeZoneName","timeZoneId","siteNumber","disabledTextEditor","SITE_COLS","CountryEditor","stateEditor","timeZoneEditor","SITEBUILD_COLS","trimStart","buildingEditor","SiteFloorTableData","buildingLookup","setBuildingLookup","siteFloorColumns","buildingName","SITEFLOOR_COLS","eeditor","AddSite","onAddSiteClick","TimeZoneLookup","siteNumberPattern","setSiteNumberPattern","Description","_stateList$statesOfCo","_stateList$statesOfCo2","_data$siteName","AddBuildings","onAddBuildingClick","setSiteNumber","number","substring","_data$buildingName","AddFloors","fromDrawing","floorName","EditBuildings","onEditBuildingClick","_selectedRow$","_selectedRow$2","EditFloors","onEditFloor","getFloorDetails","_floorDetails$buildin","Editsite","updateSite","_siteToEdit$statusInf","_siteToEdit$statusInf2","statusInfo","filterData","_status$key","handleStatusChange","eventValue","activeContractsExist","activeSystemsExist","SiteMapCustomer","updateSiteMapCustomer","siteCustomerMapForm","setUniqueSiteId","selectedCustomer","mapCustomerSearchList","_selectedRows$4","_selectedRows$5","updateSelectedCustomers","CustomerIds","ATTACHMENT_LIST_COLS","LIST_COLS","ReportModal","isReportAll","reportParams","setReportName","ViewFileModal","streamData","maxWidth","AttachmentList","_selectedRows$11","_selectedRow$9","_selectedRows$12","_selectedRow$10","reset","currentFileName","FilePondPluginFileValidateType","addFileRef","editFileRef","replaceAttacment","setReplaceAttachment","attachmentListdetails","setIsReportAll","showViewModal","setAcceptedFileTypes","fileTypes","extension1","extension2","resetFileUploadForm","_addFileRef$current","_editFileRef$current","onProcessFileStart","fileTypeValidation","Promise","resolve","reject","uploadedFileExtension","fileType","getSelectedAttachmentIds","openViewModal","_selectedRows$10","_selectedRow$7","_selectedRow$8","tempFileIds","fileValidateTypeDetectType","fileValidateTypeLabelExpectedTypes","_files$","_files$2","_response$data2","_selectedRow$3","onprocessfile","onDeleteConfirm","_selectedRows$6","_selectedRow$4","onReportAll","onReportHighlighted","_selectedRows$8","UniqueFileIds","_selectedRows$9","onDownload","_selectedRows$7","_selectedRow$5","_selectedRow$6","AttachmentUpload","getTooltipMessage","siteBody","uniqueBuildingIds","buildingBody","uniqueFloorIds","floorBody","onUploadMultipleBuildingAttachment","onUploadMultipleFloorAttachment","SiteReport","viewSiteGridReport","getSelectedSitesId","BuildingAttachmentList","_selectedRows$13","setReportParams","onUploadBuildingAttachment","UniqueBuildingId","BuildingReport","viewBuildingReport","getSelectedBuildingId","FloorAttachmentList","_selectedRows$17","_selectedRows$18","_selectedRows$16","onUploadFloorAttachment","UniqueFloorId","_selectedRows$14","_selectedRows$15","FloorReport","selectedBuilding","viewFloorReport","getSelectedFloorId","Sites","setSelectedItem","showAddBuildingsModal","setShowAddBuildingsModal","showEditBuildingsModal","setShowEditBuildingsModal","showEditFloorsModal","setShowEditFloorsModal","showAddFloorsModal","setShowAddFloorsModal","displayConfirmReopenModal","displayConfirmCloseSiteModal","showSiteGrid","showBuildingGrid","setShowBuildingGrid","showFloorGrid","setShowFloorGrid","siteRoleList","setsiteRoleList","floorTableColumns","setFloorTableColumns","isSearch","setIsSearch","showAttachmentListModal","showAttachmentUploadModal","setShowAttachmentUploadModal","siteRowData","setSiteRowData","setSettingListItems","buildingData","setBuildingData","displayConfirmBuildingModal","setDisplayConfirmBuildingModal","showBuildingAttachmnetModel","setShowBuildingAttachmnetModel","showBuildingReportModal","setShowBuildingReportModal","floorData","setFloorData","setSelectedBuilding","displayConfirmFloorModal","setDisplayConfirmFloorModal","showFloorAttachmnetModel","setShowFloorAttachmnetModel","showFloorReportModal","setShowFloorReportModal","headerText","setHeaderText","selectedSiteName","setSelectedSiteName","attachmentRef","buildingAttachRef","floorAttachRef","sitePagination","setSitePagination","buildingPagination","setBuildingPagination","floorPagination","setFloorPagination","filterSettingItemList","settingList","onClose","onReOpenSiteHandler","onCustomerMappingClick","onBuildingClick","onFloorClick","hasDependencyToRemove","handleRoleSelect","modifiedsiteList","_loggedInUserData$use5","_loggedInUserData$use6","_loggedInUserData$use7","isSiteNumberValid","_submitData$siteName","isInlineEdit","buildingInfo","newBuildingList","isBuildingInUSe","floorInfo","newFloorList","handleFloorTableColumns","getSelectedColumns","_loggedInUserData$use8","_attachmentRef$curren","deleteBuildingClick","checkBuildigInUse","_rowData$buildingName","onBuildingRowEditClick","_downloadRef$current2","_buildingAttachRef$cu","CustomHeaderBuilding","HiOutlineArrowNarrowRight","onAddFloorClick","onEditFloorClick","onDeleteFloorClick","onFloorRowEditClick","_floorAttachRef$curre","_downloadRef$current3","CustomHeaderFloor","removeSite","onBuildingConfirmClick","deleteBuilding","onFloorConfirmClick","deleteFloor","onAttachmentIconClick","onUploadIconClick","onBuildingAttachmentIconClick","onBuildingUploadIconClick","onFloorAttachmentIconClick","onFloorAttachmentUploadClick","Search","setRoleList","setsearch","filteredSearchs","setFilteredSearchs","searchType","setSearchType","setPlaceHolder","searchList","setSearchList","isCustomerSelected","setIsCustomerSelected","filterSearchTabList","searchTabs","Customer","UserRole","inspection","taskName","notification","searchContainerRef","searchResults","searchAdmin","modifiedRoleList","clipboardData","getAsString","text","getSelectedValue","ContractTableData","contractColumns","customerEditor","salesOfficeEditor","EditContract","onEditContractClick","_selectedRows$$startD","_selectedRows$2$endDa","SiteModalContract","onUpdateContractSite","updatedSiteDetails","setContractName","showSaveButton","setShowSaveButton","_contractSiteDetails$","allCheckedSites","ContractReport","getSelectedContractsId","Contracts","showContractGrid","setSelectedContract","isSiteMapping","setIsSiteMapping","isClose","setIsClose","isActivate","setIsActivate","onActivateContractClick","onCloseContractClick","isContractInUse","_submitData$contractN","_submitData$notes","isLengthValid","isTechnicianJoined","isActiveInspectionTaskExist","isSystemActive","onOkClick","SystemTableData","isSiemensSystem","setIsSiemensSystem","disableSystemType","setDisableSystemType","systemTypeLookup","setSystemTypeLookup","systemColumns","setSystemColumns","NetworkList","languageList","disableEditor","systemTypeEditor","networkEditor","languageEditor","AddSystems","onAddSystemClick","SingleGlobalPMI","isAlternateLanguage","networkSelected","setNetworkSelected","languageSelected","setLanguageSelected","nodeSelected","setNodeSelected","disableNetwork","setDisableNetwork","disableNode","setDisableNode","disableLanguage","setDisableLanguage","selectedSystemType","setSelectedSystemType","uniquePanelTypeId","onNetworkChanged","network","EditSystem","onEditSystemClick","systemLookup","setSystemLookup","lookup","onSystemChange","UploadXML","onUploadXmlClick","uploadedFileList","onDeleteFileClick","errorMessage","typeFlag","setFileName","uploadedDate","setUploadedDate","uploadedFiles","setUploadedFiles","disableDelete","setDisableDelete","uploadedFile","uploadedOn","onRemoveFile","sub","allowedFileType","labelFileLoadError","BsFillTrashFill","OnConfirmClick","selectedAttachments","setSelectedAttachments","_selectedItems$","EquipmentId","_selectedAttachments$","_selectedItems$2","attachmentIds","onDownloadMultipleAttachment","_response$headers$get","_response$headers$get2","replaceAll","MasterData","panels","equipmentTypes","selectedPanel","setSelectedPanel","selectedEquipment","setSelectedEquipment","setSelectedItems","isPanel","UniquePanelId","UniqueEquipmentClassId","propertyType","getMasterDataListGridColumns","showAttachmentHandler","EquipmentGroupList","setSelection","selectedId","btnDisable","setBtnDisable","onCheckBoxChange","details","bodyCheckBoxTemplate","updateEquipmentSubmit","onUpdateEquipmentGroup","SystemsReport","getSelectedSystemsId","UNLINKEDEQUIPMENTGROUPS_COLS","UnlinkedEquipmentGroups","defaultSiteId","defaultSiteName","selectedEquipmentGroup","setSelectedEquipmentGroup","_selectedEquipmentGro","onDeleteUnlinkedEquipmentGroup","SystemEquipmentGroups","isPanelInUse","onDeleteSystemEquipmentGroup","_selectedEquipmentGro2","Systems","showMasterData","setShowMasterData","showProvenOutcomesModal","setShowProvenOutcomesModal","showUploadXMLModal","selectedSystemId","setSelectedSystemId","systemRowData","setSystemRowData","isRowEdit","setIsRowEdit","isFileUpload","setIsFileUpload","showEquipmentGroupModal","setIsConfig","isSystemAdd","setIsSystemAdd","isReactivateOnFileUpload","uploadErrorMsg","setUploadErrorMsg","uploadTitle","setUploadTitle","setAllowRowEditing","isUnlinkedEquipmentGroup","setIsUnlinkedEquipmentGroup","showUnlinkedEquipmentGroup","setShowUnlinkedEquipmentGroup","setDefaultSiteId","setDefaultSiteName","isSystemEquipmentGroup","setIsSystemEquipmentGroup","showSystemEquipmentGroups","setShowSystemEquipmentGroups","deleteRef","downloadAttachmentRef","outcomesDownloadForm","onActivateClick","equipmentGroupsHandler","onMasterDataClick","onProvenOutcomesClick","systemListItem","isSystemParseInProgress","isSystemParsed","isActiveTaskExists","techniciansName","confirmationMessage","_provenOutcomesData$","getClosedTasksOutcomes","getUnlinkedEquipmentGroups","_res$data17$equipment","_downloadAttachmentRe3","_deleteRef$current","isAlternate","isConfigFile","isXmlFile","deleteSystemClick","onSystemEquipmentGroupClick","getSystemEquipmentGroups","_res$data19$equipment","onUnlinkedEquipmentGroupClick","downloadProvenOutcomes","_loggedInUserDetails$3","onUploadXMLFileClick","onUploadConfigFileClick","onDownloadXMLFileClick","_downloadAttachmentRe","onDownloadConfigFileClick","_downloadAttachmentRe2","SystemEquipmentGroupList","deleteSystem","closeSystem","customerTextEditor","InspectionTableData","technicianLookup","setTechnicianLookup","inspectionColumns","showNotificationColumn","setShowNotificationColumn","technician","formattedLeadTechnicianName","notificationNumber","inspectionTextEditor","inspectiontaskEditor","isNotificationNumberDisabled","INSPECTION_TASKS_COLS","inspectionNameEditor","_options$rowData","systemNames","inspectionSystemTextEditor","leadTechnicianEditor","onFocus","setAttribute","qtyofTechEditor","INSPECTION_TASKS_OPTIONAL_COLS","newcols","INSPECTION_TASKS_Extra_COLS","DEFAULT_HEADER_LIST","FormElement","_data$dataEntryContro","_data$dataEntryContro2","_data$dataEntryContro3","_data$dataEntryContro4","_data$dataEntryContro5","_data$dataType","_data$dataEntryContro6","_data$dataType2","_data$dataEntryContro7","_data$dataType3","_data$dataEntryContro8","_data$dataType4","_data$dataEntryContro9","_data$dataType5","_data$dataEntryContro10","onTextBoxChange","onDateTimeChanged","ddAppendTo","calendarAppendTo","fieldFocus","setFieldFocus","cal","textBoxInputRef","textAreaInputRef","getCheckBoxActive","flag","checkedItem","_checkedItem$i3","getTextType","types","_types$dataType3","_types$dataType4","_types$dataType5","_types$dataType6","_types$dataType7","_types$dataType","_types$dataType2","mandatory","dataTypeId","getTextBoxType","_types$dataType8","_types$dataType9","ErrorMessage","_props$data","_errors$props$data$un","_props$data2","_errors$props$data$un2","_props$data3","_errors$props$data$un3","_props$data4","_errors$props$data$un4","_props$data5","inputRef","_errors$data$uniqueDa","_inputRef$current","focus","decimalValidate","isNaN","integerValidate","textValidate","join","CustomTextBox","_props$item","_props$item2","_props$item3","_props$item4","_props$item5","_props$item6","_props$item7","_props$item8","step","onWheel","blur","preventChangeOnKeyDown","charCode","which","CustomTextArea","_props$item9","_props$item10","_props$item11","_props$item12","_props$item13","_props$item14","_props$item15","selectionStart","selectionEnd","setSelectionRange","CustomRadioButton","_props$item16","_props$item17","_props$item18","_props$item19","isVerticalList","_props$item20","_props$item21","_props$item22","_props$item23","_item$childDataField","dataFieldLookupId","onDoubleClick","dataFieldLookupValue","childDataField","child","_child$dataEntryContr","_child$dataEntryContr2","_child$dataEntryContr3","_child$dataType","_child$dataEntryContr4","_child$dataType2","_child$dataEntryContr5","_child$dataType3","_child$dataEntryContr6","dataEntryControl","dataEntryControlName","CustomDatePicker","CustomDateTimePicker","CustomDropDown","CustomCheckBox","_props$item24","_props$item25","_props$item26","_props$item27","_props$item28","_props$item34","_props$item35","_props$item36","_props$item37","_props$item38","_props$item39","_props$item40","_props$item29","_props$item31","_props$item32","_watch","_watch$key","_props$item33","_data$childDataField","_e","_props$item30","onCheckBoxChanged","_checkedItem$i","_checkedItem$i2","_child$dataEntryContr7","_child$dataEntryContr8","_child$dataEntryContr9","_child$dataType4","_child$dataEntryContr10","_child$dataType5","_child$dataEntryContr11","_child$dataType6","_child$dataEntryContr12","_props$item41","_props$item42","_props$item45","_props$item46","_props$item47","_props$item48","_props$item43","onClearButtonClick","_props$item44","showButtonBar","_props$item49","_props$item50","_props$item53","_props$item54","_props$item55","_props$item56","_props$item51","_props$item52","footerTemplate","_cal$current","showTime","showSeconds","hourFormat","CustomDateTimePickerDevAndTestDate","_props$item57","_props$item58","_props$item62","_props$item63","_props$item64","_props$item65","_props$item59","_props$item60","onTodayButtonClick","_props$item61","utcOffset","clearButtonClassName","_cal$current2","touchUI","_props$item66","_props$item67","val","_props$item68","_props$item69","_props$item70","_props$item71","_props$item72","_props$item73","GeneralForm","isEditForm","onFormSubmit","unregister","mode","datafieldlist","setDatafieldList","focusElement","setFocusElement","additionalFieldValues","useImperativeHandle","fieldsConv","_element$dataEntryCon","_element$dataEntryCon2","devReadingDateIndex","_element$validatedVal","defaultSelectNeeded","slectedItem","j","_element$validatedVal2","sm","_fieldValues$","lists","fieldValues","_lists$findIndex","_filterData$","_filterData$$dataFiel","_lists$findIndex2","_filterData$2","_lists$findIndex3","_datafieldlist$i","_datafieldlist$i2","parentUniqueDataFieldId","fieldCount","filteredArray","_filteredArray$j","_filteredArray$j2","hasToBeDeleted","_filteredArray$i","removeIndex","_filteredArray$i2","_lists$removeIndex","useLayoutEffect","_element$","getElementsByName","onCheckDateTimeChanged","dataFieldRelation","onFieldRelationChange","dataFieldSet","onDataFieldSetChange","_data$dataFieldRelati","service","subSetValueService","_data$dataFieldRelati2","childDataFieldId","_data$dataFieldSet","onCheckTextBoxChange","devReadingDate","devReadingDateindex","_e$currentTarget$valu","_devReadingDate$","_devReadingDate$2","currentTarget","fields","k","multipleValue","dataFieldId","isArray","_data$k","_field$","_field$$dataEntryCont","_data$k2","AddEquipment","showProgressBar","addform","_addform$current","ProgressSpinner","EquipmentForm","_element$validatedVal3","testDateIndex","_slectedItem$","_slectedItem$2","_element$validatedVal4","onCheckDropDownChanges","testResIndex","_data$validatedValues","_items$","_datafieldlist$testRe","_datafieldlist$testRe2","_datafieldlist$testRe3","_datafieldlist$testRe4","_datafieldlist$testRe5","testDate","_testDate$","_testDate$2","none","_datafieldlist$testDa","_loggedInUserDetails$4","_data$validatedValues2","_items$2","_datafieldlist$testRe6","_testDate$3","_loggedInUserDetails$5","_testDate$4","_datafieldlist$testDa2","_data$validatedValues3","_items$3","_testDate$5","_loggedInUserDetails$6","_testDate$6","hasOwnProperty","_data$uniqueDataField","_data$uniqueDataField2","newDate","siteTimeOffset","EditEquipment","onClickNext","onClickPrev","isFromDrawing","_editForm$current","getDisabled","FilterEquipment","uniquePanelId","onSearched","equipmentColumns","setEquipmentColumns","firstRowDataType","setFirstRowDataType","secondtRowDataType","setSecondRowDataType","thirdRowDataType","setThirdRowDataType","setCheckedItem","plannedStartDate","plannedEndDate","firstRowDataFieldId","secondRowDataFieldId","thirdRowDataFieldId","firstRowFieldValue","secondRowFieldValue","thirdRowFieldValue","filterItems","_addUserForm$current","searchCriteria","_selectedTask$system","_filtered$","filtered","condition","operator","conditionIndex","startGroup","endGroup","_filtered$2","_filtered$3","testDateFrom","testDateTo","showUntestedEquipments","showWithAttachmentsOnly","isFromXMLImported","isFromManuallyAdded","onFirstDatafieldChanged","onSecondRowDatafieldChanged","onThirdRowDatafieldChanged","AdvancedSearch","setSearchCriteria","isEditMode","setIsEditMode","operatorss","setOperators","setDataType","operatorsList","removedDataSets","_equipmentList$data","convItems","isValuabe","onSearchCriteria","selectedList","filterCriteria","datafieldNameTemplate","operatorTemplate","fieldValueTemplate","onEdit","_selectedItem$2","datafield","_selectedItem$3","_datafield$","_datafield$$dataType","filterItem","onDelete","_selectedItem$4","_selectedItem$5","_selectedItem$6","onGroup","_sortingItems$","_sortingItems","sortingItems","r1","r2","firstIndex","_sortingItems$2","lastIndex","_sortingItems2","onUnGroup","_sortingItems$3","_sortingItems3","_searchCriteria$first","_searchCriteria$lastI","_sortingItems$4","_sortingItems4","indexes","_selectedItem$","_types$","_types$$dataType","onDatafieldChanged","_dataType$dataType","BsCheck2","_addUserForm$current2","BsDashLg","AddEquipmentList","fieldDetails","onNewEquipmentGroupAdd","EditEquipmentList","onEquipmentGroupUpdate","getImportEquipmentColumns","isFetched","getFirstDataFieldItem","elements","_element$inspectionGr","inspectionGroupFields","EquipmentListDataImport","excelDetails","bodyInfo","selectedEquipmentType","importProgress","setImportProgress","isValidationDone","isImportDone","setTarget","rowNumber","setRowNumber","showProgress","progressMessage","setProgressMessage","conv","onDataVerify","finalData","RowNumber","ValidationStatusId","PanelId","WorksheetId","sheetName","rowDetails","onVerifiedFetchedData","equipmentClassId","excelFileId","sheetIndex","uploadedId","onDataImport","_selectedTask$system2","workSheetId","onImportEquipmentData","onDataExport","_selectedTask$system3","onExportEquipmentData","HiOutlineBadgeCheck","FaUpload","AiOutlineCloseCircle","onImportEquipmentRowEdit","Overlay","show","placement","onMouseEnter","onShowToolTip","indexData","ImportEquipment","showImport","selectedEuipmentType","onFetchedData","importForm","setExcelDetails","equipmentDBColumns","setEquipmentDBColumns","workSheets","workSheet","equipementSpecific","sheetDetails","dt","onGetExcelMappingColumns","columnMappings","onGetImportEquipmentDatafields","excelColumns","excelColumnIndex","onDataReset","onFetchData","checkedColumn","mappings","duplicates","_filter$","mandatoryFields","results","id1","some","id2","_results$","onGetFetchedData","process","withCredentials","ondata","ExcelFieldsTemplate","onExcelChecked","excelFieldName","TechAdvanceFields","onTechAdvanceSelect","Connectivity","_associatedDeviceData2","_associatedDeviceData3","_associatedDeviceData4","equipmentGroupId","onConnectDevices","connectivityForm","selectedModule","setSelectedModule","associatedDeviceData","getSelectedEquipmentIds","getAssociatedDevices","_associatedDeviceData","foundEquipment","onConnectivityFormSubmit","panel","panelName","associatedClass","address","MultipleEditEquipment","selectedDatafield","setSelectedDatafield","datafieldList","modifiedContent","setModifiedContent","_selectedDatafield$te","_selectedDatafield$te2","_selectedDatafield$te3","_selectedDatafield$te4","_selectedDatafield$te5","_selectedDatafield$te6","_selectedDatafield$te7","_selectedDatafield$te8","minHeight","_data$testDateUniqueF","_data$testDateUniqueF2","testDateUniqueFieldId","dataFieldValue","_selectedDatafield$","_data$selectedDatafie","_selectedDatafield$2","_selectedDatafield$3","_loggedInUserDetails$7","_selectedDatafield$4","convField","findexes","_convField$findexes","findexdate","onSelectDatafield","updateEquipment","CloneEquipment","setDataFields","fieldList","submit","AttachmentReport","uniqueInspctionTaskId","_selectedEquipments$11","_selectedEquipments$12","selectedEquipments","replaceAttachment","_selectedEquipments$","_selectedEquipments$6","deleteAttachment","_selectedEquipments$7","downloadEquipmentAttachment","_res$data23","Address","_selectedEquipments$2","_selectedEquipments$10","onViewEquipmentAttachment","_res$data24","_res$data25","_selectedEquipments$3","uploadAttachment","_res$data22","buttonCondition","_selectedEquipments$5","isNewFileRequired","oldFileName","newFileName","_selectedEquipments$4","_selectedEquipments$8","_selectedEquipments$9","onDownloadIconClick","EquipmentListData","setDevReadingDate","setTestDate","devCal","testDateRef","EquipmentTypeId","getEquipmentColumn","_filterData$$dataEntr","_filterData$4","_filterData$4$dataEnt","_filterData$5","_filterData$5$dataEnt","_filterData$6","_filterData$6$dataEnt","_filterData$3","CustomTextEditor","CustomDateEditor","CustomDevReadingDateTimeEditor","CustomTestDateTimeEditor","CustomDateTimeEditor","_filterData$7","_filterData$7$validat","_filterItem$","CustomDropDownEditor","devReadingindex","onCustomDateTimeChange","_devCal$current","_loggedInUserDetails$8","_testDateRef$current","onselectionchange","_field$dataFieldRelat","_datafields$index","_datafields$index$val","_field$dataFieldRelat2","_datafields$indexTest","_datafields$indexTest2","_datafields$testMetIn","_datafields$testMetIn2","testMetIndex","_datafields$testResIn","_datafields$testResIn2","_datafields$testResIn3","_datafields$testResIn4","_datafields$testResIn5","_datafields$testResIn6","checkTestMethodDropDown","indexTestMethod","_loggedInUserDetails$9","_loggedInUserDetails$10","checkTestResultDropDown","_datafields$testResIn7","_datafields$testResIn8","_fields$validatedValu","_loggedInUserDetails$11","_loggedInUserDetails$12","_datafields$index2","_datafields$index2$va","InspectionDetailsReport","filterBody","uniqueEquipmentTypeId","EQPGROUP_ACTIVETAB","EquipmentList","_selectedTask$system26","setSelectedEquipmentType","showFilterEquipment","setShowFilterEquipment","showAdvancedSearch","setShowAdvancedSearch","showEqpGroupModal","setShowEqpGroupModal","activeTab","setActiveTab","showImportEquipment","setShowImportEquipment","eqpForm","backupColumns","setBackupColumns","filteredBody","setFilteredBody","showAddEquipment","setShowAddEquipment","showEditEquipment","setShowEditEquipment","showCloneEquipment","setShowCloneEquipment","showDeletePrompt","setShowDeletePrompt","removedEquipmentIds","setRemovedEquipmentIds","editOrClone","setEditOrClone","showAddEquipmentList","setShowAddEquipmentList","showEquipmentListDatImport","setShowEquipmentListDataImport","showEditEquipmentList","setShowEditEquipmentList","showConnectivityModal","setShowConnectivityModal","showConnectivityPrompt","setShowConnectivityPrompt","excelBodyInfo","setExcelBodyInfo","showIcon","setShowIcon","showMultipleEditEquipment","setShowMultipleEditEquipment","setGeneralProperties","equipmentPanels","setEquipmentPanels","isReset","setIsReset","setShowProgressBar","showModalProgress","setShowModalProgress","inLineDataFields","setInLineDataFields","isTestDateChanged","uploadedBy","_list$data","_updateEquipment$data","_removedEquipment$equ","ReturnMessage","onEditEquipmentClick","onEquipmentImportCheck","_selectedTask$system6","row","EquipmentsIds","_selectedTask$system7","EquipmentGroupId","onGetMultipleEditEquipmentData","onEquipmentAdd","_selectedTask$system8","_selectedTask$system9","ClassId","SystemId","InspectionTaskstatus","FieldList","DateChangedIdentifier","dataFieldsBody","onEquipmentDetailsSaved","goToNextRow","_selectedTask$system10","goToPrevRow","_selectedTask$system11","onEquipmentUpdate","_selectedTask$system12","TestDateChangedIdentifier","onEquipmentClone","_selectedTask$system13","_address$","onEquipmentDetailsCloned","onDeleteEquipment","onMultipleEquipmentUpdate","_selectedTask$system15","inspectionTestResultId","dateChangedIdentifier","testDateChangedIdentifier","onMultipleEditEquipmentDataUpdate","onFiltered","onCloseDataImport","_selectedTask$system16","onClickConnectivity","onReset","onEquipmentTypeDropDownChange","_selectedTask$system23","_selectedTask$system24","_selectedTask$system25","isFilter","onAddEquipmentClick","_selectedTask$system5","onDeleteEquipmentClick","refreshEquipmentList","_selectedTask$system17","BiRefresh","sortDirectionValue","_selectedTask$system4","_selectedTask$system20","isValidation","_rowData$element$data","_selectedTask$system21","_inLineDataFields$tes","_inLineDataFields$tes2","_testMethod$","_testMethod$2","testMethod","utc","_inLineDataFields$ind","_inLineDataFields$ind2","inspectionGridColumnTemplate","_rowData$options$fiel","_rowData$options$fiel2","renderResetOption","renderConnectivityOption","renderImportEquipmentOption","_selectedTask$system18","_selectedTask$system19","renderConnectivityPromptMessage","_selectedTask$system14","onConnectAssociatedDevices","associatedDeviceId","_selectedTask$system22","onResetEquipments","uniqueInspectiontaskId","resettedRows","InspectionForms","_formElements$inspect","isAddAction","isExpanded","isInspectionField","isCheckedAction","formElements","showAction","onAddClicked","onEditClicked","onDeleteClicked","onInspectionSubmit","onInspectionFieldError","onSelectionChanged","inspectionForm","inspectionquestionfieldOrderLists","tooltipLimit","setTooltipLimit","_inspectionForm$curre","onBranchOffieSelectionInDynamically","convertCheckBoxItem","onSetDefaultValues","onInspectionDatafieldOrderUpdated","onInspectionQuestionDatafieldOrderUpdated","_value5","_value6","handleResize","screenWidth","innerWidth","addEventListener","removeEventListener","_elements$i","_elements$i$inspectio","_elements$i2","_elements$i2$dataEntr","_elements$i3","_elements$i3$validate","_elements$i4","_elements$i4$dataEntr","_elements$i5","_elements$i6","_elements$i6$dataEntr","_elements$i7","_elements$i7$validate","_elements$i8","_elements$i8$dataEntr","dropDownSelection","_elements$validatedVa","_elements$validatedVa2","filedValues","_elements$i9","_elements$i9$inspecti","_elements$i22","_elements$i10","_elements$i11","_elements$i11$dataEnt","_elements$i16","_elements$i16$dataEnt","_elements$i21","_elements$i12","_elements$i13","_elements$i14","setCheckBoxIsTrue","_elements$i15","_elements$i17","_elements$i17$validat","_elements$i18","_elements$i19","_elements$i20","setChildDatafield","_elements$i23","_elements$i24","_elements$i24$dataEnt","_elements$i29","_elements$i29$dataEnt","_elements$i34","_elements$i25","_elements$i26","_elements$i27","_elements$i28","_elements$i30","_elements$i30$validat","_elements$i31","_filterData$9","_elements$i32","_filterData$8","_elements$i33","_filterData$10","_elements$validatedVa3","filtervalues","_val$childDataField","subVal","_values$","onHideToolTip","checkFieldExists","onGetInspectionfieldOrderList","dataFieldOrderDetails","onGetQuestionInspectionfieldOrderList","dataItem","questionsFieldOrderList","onGetInspectionquestionfieldOrderList","onGetSlicedName","_data","onUpdateToolTipData","ActionTemplate","_props$data6","_props$data7","_props$data8","_props$data9","_props$data10","_props$data11","_props$data12","_props$data13","_props$data14","_props$data14$inspect","isSection","isStatic","isGroupedControl","_props$data15","dataGroup","_props$dataEntryContr","_props$validatedValue","_props$dataEntryContr2","_props$validatedValue2","_props$inspectionGrou","dataEntryControlId","forwardData","IoPlayForwardSharp","systemFields","checkChildFields","_props$formElements","_props$formElements2","_props$formElements2$","childArray","inspectionGroupFieldItem","_inspectionGroupField","validatedValueItem","_validatedValueItem$c","childItem","num","dataArray","childValues","l","uniqueDatafieldId","m","_dataArray$k$value$l","_childArray$j","_dataArray$k$value$l2","childUniqueDataFieldId","_error$element$unique","_error$element$unique2","_errors$element$uniqu","_errors$element$uniqu2","inspectionFieldElements","errorKey","addNewInspectionFieldFromTree","selectedParent","selectedNode","inspectionFormData","newInspectionFormData","_inspectionFormData$i10","_inspectionFormData$i11","_inspectionFormData$i12","_inspectionFormData$i","addNewInspectionField","_inspectionFormData$i2","_inspectionFormData$i3","_inspectionFormData$i4","_inspectionFormData$i5","_inspectionFormData$i6","_inspectionFormData$i7","_inspectionFormData$i8","_inspectionFormData$i9","_inspectionFormData","_inspectionFormData2","_inspectionFormData3","_inspectionFormData4","_inspectionFormData$i13","_inspectionFormData$i14","_inspectionFormData$i15","_inspectionFormData$i16","_inspectionFormData$i17","_inspectionFormData$i18","_inspectionFormData$i19","_inspectionFormData$i20","addFieldValuesWithTree","selectParent","_inspectionFormData$i22","_inspectionFormData$i23","_inspectionFormData$i21","addFieldValues","_inspectionFormData$i24","updateFieldValueWithTree","updatedValue","_inspectionFormData$i26","_inspectionFormData$i27","_inspectionFormData$i25","updateFieldValue","_inspectionFormData$i28","removeFieldValueWithTree","deletedValue","_inspectionFormData$i30","_inspectionFormData$i31","_inspectionFormData$i29","removeFieldValue","_inspectionFormData$i32","updateInspectionQuestionWithTree","_inspectionFormData$i34","_inspectionFormData$i35","_inspectionFormData$i33","updateInspectionQuestion","_inspectionFormData$i36","deleteInspectionQuestionWithTree","_inspectionFormData$i38","_inspectionFormData$i39","_inspectionFormData$i37","deleteInspectionQuestion","_inspectionFormData$i40","addGroupSectionWithTree","_inspectionFormData$i42","_inspectionFormData$i43","_inspectionFormData$i41","inspectionGroupSectionId","inspectionGroupSectionName","level","parentGroupId","isTreeNode","hasDataFields","_inspectionFormData$i44","updateGroupSectionWithTree","_inspectionFormData$i45","_inspectionFormData$i46","_inspectionFormData$i47","deleteGroupSectionFromTree","_inspectionFormData$i48","_inspectionFormData$i49","_inspectionFormData$i50","addDefaultDataValues","deafaultValues","_deafaultValues$i","_deafaultValues$i2","_deafaultValues$i3","_deafaultValues$i4","_deafaultValues$i5","_deafaultValues$i6","convertInspectionFields","_data$inspectionGroup","_item$dataFieldLookup","_inspectionFormSetup$2","setIsValueChanged","cancelUpdate","confirmMessage","hideConfirmModal","reportBtnClicked","inspectionFormRef","inspectionFormSetup","setInspectionFormSetup","uniueDatafieldId","resetFormField","setResetFormField","updatedDatafields","typeOfTrigger","onGetInspectionContractFieldValues","setProgress","typeValue","_inspectionFormSetup$","_slectedItem","convFields","taskWithOutBranch","hasBranchMapping","hasBranch","onSaveInspectionContract","onRefreshTrigger","_inspectionFormRef$cu","_inspectionFormRef$cu3","_inspectionFormRef$cu2","Summary","getInspectionSystems","onGetInspectionSystemFieldValues","onSaveInspectionSystem","TreeView","treeData","onNodeClick","expandedKeys","onToggle","isCustomTemplateForNode","tree","_tree$i","temp","limit","Tree","selectionKeys","filterMode","nodeTemplate","node","Questions","setConfirmMessage","setTreeData","isCopied","isMonitoring","setIsMonitoring","copiedList","setCopiedList","setBodyInfo","setExpandedKeys","clickedNode","setClickedNode","selectedTreeNodeItem","setSelectedTreeNodeItem","equipmentGroupUpdatedata","setEquipmentGroupUpdateData","isFieldValueChanged","_equipmentPanelList$","getInspectionQuestions","checkNodeExists","_inspectionQuestions$","selectedElement","convList","firstElement","onGetInspectionQuestionFieldValues","handleEquipmentGroupChange","onCancel","_expandedKeys","expandNode","onAddEquipmentGroupClick","onEditEquipmentGroupClick","onEquipmentGroupUpdates","onInspectionSubmitWithCopies","copyIds","getAllChecked","InspectionDetails","selectedReports","taskWithoutBranchOffice","inspectionTaskGridRefresh","headerList","setHeaderList","progressValue","setProgressValue","showXmlImportComplete","setShowXmlImportComplete","closeBtnClicked","setCloseBtnClicked","setReportBtnClicked","interval","changeHeaderSelectedItem","updatedList","setInterval","getXMLImportStatus","clearInterval","isParseCompleted","currentValue","progress","hideDialog","checkPrivilageForSave","permitToSave","fieldValuesUpdated","onCloseBtnClick","handleListClick","ProgressBar","onReportSelection","InspectionReports","showInfoCard","saveReportClick","linkedReportSelection","setLinkedReportSelection","setReports","setTaskName","setTechnician","fetchComplete","setFetchComplete","isLinkedReports","setIsLinkedReports","linkedReports","setLinkedReports","isLinkedReportsExists","reportData","linkedReportDetails","_inspectionReportList","mergedData","concat","updatedSelection","_item$inspectionRepor","reportItem","selectionItem","inspectionReportId","nfpaInspectionReportId","leadTechnician","_inspectionReportList2","apply","_item$inspectionRepor2","onReportsChange","reportListCopy","checkedReportGroup","checkedReportList","onSaveReports","selectedReportIds","selected_linkedReportIds","reportIds","resetModal","changesSaved","GenerateReports","toggleGenerateClick","setToggleGenerateClick","generateReportForm","systemsList","generatedReportDetais","defaultSystemDetails","reportBy","setReportBy","inspectionReportDetails","setInspectionReportDetails","setBuildingDetails","setPanelDetails","systemDetailsLoader","setSystemDetailsLoader","selectedEquipmentGroups","setselectedEquipmentGroups","selectedBuildings","setSelectedBuildings","selectedSystems","setSelectedSystems","setSelectedReports","selectedTaskHistoryFilter","setSelectedTaskHistoryFilter","showEquipmentListModal","setShowEquipmentListModal","taskWithoutBranchMapping","setTaskWithoutBranchMapping","showReportsModal","clearErrors","output","include","taskFilter","equipmentGroup","buildings","equipmentTestStartDate","setFullYear","equipmentTestEndDate","SendLog","reportByFileds","_defaultSystemDetails","_defaultSystemDetails2","_defaultSystemDetails5","_defaultSystemDetails6","_defaultSystemDetails7","_defaultSystemDetails8","_systemsList$","_systemsList$2","_systemsList$3","_systemsList$4","_systemsList$5","_systemsList$6","_defaultSystemDetails3","_defaultSystemDetails4","_generatedReportDetai","responseMessage","onGenerateButtonClick","onContractDateClick","onInspectionTaskSelected","formatOptionLabel","panelIds","buildingIds","uniqueInspectionTaskIds","EndDate","generateLog","includealldevices","outputnodeId","taskHistoryFilterId","debugflag","_createElement","onEquipmentGroupSelected","buildingId","onBuildingsSelected","onSystemsSelected","selectTaskWithoutBranchMapping","inspectionReportCode","onReportsSelected","inspectionReportName","_defaultSystemDetails9","ReportTableData","getTaskDetails","display","justifyContent","UploadFinalReport","onUploadFinalReportClick","DocumentViewer","uniqeSystemId","systemInspectionReportId","setReportType","reportUrl","maximizable","maximized","Reports","setSelectedSystem","showSystemGrid","systemDropDownList","setSystemDropDownList","loginDetails","setLoginDetails","inspectionTaskInfo","setInspectionTaskInfo","isInspectiontaskCompleted","loginDetailsCallback","_loginDetails$userDef","_loginDetails$userDef2","_loginDetails$userDef5","_loginDetails$userDef6","_loginDetails$userDef7","_loginDetails$userDef8","_systemDropDownList$","_systemDropDownList$2","_loginDetails$userDef3","_loginDetails$userDef4","_loginDetails$userDef9","_loginDetails$userDef10","_loginDetails$userDef11","_loginDetails$userDef12","_systemDropDownList$3","_systemDropDownList$4","_systemDropDownList$5","_systemDropDownList$6","_systemDropDownList$7","_systemDropDownList$8","isInspectionTaskCompleted","datas","SytemPanelInspectionReportIds","_Object$keys","_Object$keys2","getSystemStatus","onViewDraftReport","fetchUrl","newBlob","dateAndTimeUploaded","onViewFinalReport","_response$headers$get3","_response$headers$get4","hasUploadedDate","onDownloadFinalReport","_response$headers$get7","_response$headers$get8","reportHeaderTemplate","_data$value3","_data$value","_data$value2","onDownloadDraftReport","_response$headers$get5","_response$headers$get6","deleteReports","checkIsInspectionTaskCompleted","onAttachmentsClick","renderTask","dataList","taskdata","panelClassName","renderDropdown","removeReports","onRemoveReports","onUploadFile","uploadFinalReport","_res$data5$files$","_res$data6$files$","_res$data8$files$","_res$data9$files$","_res$data10$files$","_res$data12$files$","addedBy","addedOn","sendToServicePortal","sendToEmail","selectedReportId","toggleGenerateButton","setToggleGenerateButton","setActiveIndex","disableGenerateButton","Row","Col","Modal","Body","ManageView","handleOrganizationRedirect","handleSecuritySettingRedirect","md","MdManageAccounts","BsDiagram2","ImSearch","ImClipboard","IoIosConstruct","MdSettings","AddZone","onAddZone","zoneName","AddBranchOffice","onAddBranchOffice","salesLookup","setSalesLookup","salesoffice","city","FALicenceNumber","SPKLicenceNumber","EXTLicenceNumber","salesId","salesItem","EditSalesOffice","onEditSalesOffice","EditsaleForm","_salesOfficeDetails$z","businessZoneName","zoneId","zoneItem","AddSalesOffice","onAddSalesOffice","Techs","onSelectTechnician","isLoaded","setSalesOfficeName","setTechnicians","salesOfficeId","uniqueTechnicianId","technicianName","assignTechnicians","selectedUsers","allUsers","uniqueTechnicianIds","EditZone","onEditZone","EditForm","EditBranchOffice","Fax","onEditBranchOffice","EditBranchForm","faLicenceNumber","spkLicenceNumber","extLicenceNumber","salesOfficeItem","Countrylist","SalesOfficelist","ORG_COLS","ZONE_COLS","SALES_COLS","BRANCH_COLS","SalesOfficeEditor","OrganizationReport","getSelectedZonesId","businessZoneId","getSelectedSalesOfficeId","setSelectedBranchOfficeId","Organization","showEditBranchModal","setShowEditBranchModal","showEditSalesModal","setShowEditSalesModal","zoneData","branchofficeData","tableRows","setTableRows","showTechs","setShowTechs","showAddZoneModal","setShowAddZoneModal","showAddSalesModal","setShowAddSalesModal","showAddBranchModal","setShowAddBranchModal","showEditZoneModal","setShowEditZoneModal","zoneSearchkeyWord","setZoneSearchKeyWord","setIsLazyLoading","showSubtitle","zonePagination","setZonePagination","salesOfficePagination","setSalesOfficePagination","branchOfficePagination","setBranchOfficePagination","getOrgTableCols","useMemo","getOrgTableRows","onAddZoneClick","onEditZoneClick","onAddSalesOfficeClick","setShowAddSalesOfficeModal","onEditSalesOfficeClick","onAddBranchOfficeClick","setShowAddBranchOfficeModal","onEditBranchOfficeClick","getOrgPageDetails","getOrgTableTitle","getOrgTableDatakey","_getOrgPageDetails","searchData","isZoneInUse","isSalesOfficeInUse","EditBranch","salesOfficeSelected","deleteZone","deleteSalesOffice","deleteBranchOffice","PageNotFound","SendMailUserinfo","onSendMail","to","setTo","attachmentInfo","setAttachmentInfo","setFileSize","enquiryTypes","sendMailForm","register","subject","fromName","mail","typeofEnquiry","reValidateMode","shouldUnregister","info","senderEmailId","isSender","enquiryType","toOthersMailId","totalBytes","SelectUserSite","hasDefaultSite","selectedZoneId","setSelectedZoneId","siteLookup","setSiteLookup","customerSearch","setCustomerSearch","siteSearch","setSiteSearch","setSelectedSearch","filteredSearch","setFilteredSearch","SelectUserSiteForm","siteListRef","customerListRef","Country","Zone","SelectCustomer","SelectSite","getSiteDetails","onSearchCustomer","filteredSearches","onSearchSite","onCountryChange","switchToSelectedSite","FeedbackUserinfo","onSendFeedback","feedbackForm","feedBackSend","emailId","ChangePassword","userPasswordForm","LoginName","CurrentPassword","NewPassword","ConfirmNewPassword","newPassword","confirmNewPassword","passwordLength","setPasswordLength","passWordLength","currentPassword","onUpdatePassword","Password","PersonalSettings","firstname","lastname","middlename","Email","PhoneNo1","PhoneNo2","rowpageinspection","TimeZone","rowpage","showall","showChangePassword","setShowChangePassword","selectedTimeZone","setSelectedTimeZone","showAll","setShowAll","setUserName","phoneNo1","phoneNo2","rowsPerPageForInspectiontasks","showAllRows","onEditPersonalSettings","timeZoneChangeHandler","max","keyfilter","TREE_DATA","OverviewDoument","ModulesDoument","DashboardDoument","AdministrationDocument","administrationCustomers","AdministrationSites","UsersDocument","AdministrationBuildingsDocument","AdministrationFloorsDocument","AdministrationSearchDocument","AdministrationSearchContractDocument","AdministrationSearchCustomerDocument","AdministrationSearchInspectionTaskDocument","AdministrationSearchNotificationNumberDocument","AdministrationSearchSiteDocument","AdministrationSearchSystemDocument","AdministrationSearchUserDocument","InspectionDocuments","MdOutlineBrightness5","MdOutlineListAlt","InspectionTasksDocument","BsSubtract","GiArrowCursor","BsSearch","BiUnlink","RiAlarmWarningLine","FaSave","FaBackward","BsBoxArrowInDownRight","BsZoomIn","InspectionTaskInspectionDetailsDocument","FaFilter","BsFunnelFill","FaCopy","InspectionDrawingsDocument","InspectionContractsDocument","InspectionSystemsDocument","InspectionReportsReportsDocument","InspectionReportsGenerateReportsDocument","SearchDocument","SearchSiteDocument","SearchCustomerDocument","SearchContractDocument","SearchSystemDocument","SearchInspectionTaskDocument","SearchNotificationNumberDocument","SearchUserDocument","AsBuiltsDocument","AsBuiltsDrawingsDocument","BiDotsVertical","AiOutlineDoubleLeft","BsFillEyeFill","BiText","FiEdit","HiOutlinePencilAlt","FiSave","BiRectangle","IoEllipseOutline","FaSlash","BsCloud","BsPencil","BiMove","SecuritySettingsDocument","PasswordPolicyDocument","MailDomainsDocument","OrganizationSettingsDocument","BranchOfficeOrganizationSettingsDocument","SalesOfficeOrganizationSettingsDocument","ZoneOrganizationSettingsDocument","LookUpsDocument","HealthClassificationsDocument","NFPAClassificationsDocument","InspectionSettingsDocument","InspectionFieldsDocument","ReportMappingDocuments","InspectionReportGroupsDocument","InspectionReportsDocument","InspectionReportConfigsDocument","InspectionReportTemplatesDocument","ToolsDocument","CopyDocument","MoveDocument","CustomizationDocument","CommonAttributesDocument","CommonAttributeValuesDocument","EquipmentTypeAttributesDocument","EquipmentTypeAttributeValuesDocument","DisplaySettingsDocument","DataEntrySettingsDocument","ReportsDocument","ReportsContractDocument","ReportsInspectionTasksDocuments","ReportsInspectionActivityDocument","ReportsUploadedFinalReportsDocument","ReportsUserDetailsDocument","ReportsSitesDocument","ReportsBuildingsDocument","ReportsFloorsDocument","ReportsMasterDataDocument","ReportsExpiredContractsDocument","ReportsUserActivityReportsDocument","ReportSAPImportStatusDocument","ReleaseNotesDocument","PluginsDocument","PluginsTapAppDocument","PluginsTapBridgeDocument","LinksDocument","FeedbackDocument","PersonalSettingsDocument","SendMailDocuments","LogbookDocument","FaqDocument","AdministrationFaqDocument","BsPersonCircle","BsPersonCheckFill","InspectionFAQDocument","PreferencesDocument","ReportsTapPerformanceDocument","ReportsSalesOpportunityDocument","CondtionalRender","selectedPage","AdministrationCustomers","Help","isGlobal","maximize","setMaximize","yammerLink","setYammerLink","minimized","VscChromeMaximize","icons","modal","AddNotificationMessage","onSendNotificationMessage","notificationMessageData","setNotificationMessage","notificationMessageForm","currentnotificationMessage","setCurrentNotificationMessage","editorRef","expiryDate","exec","setEditorValue","config","readonly","defaultLineHeight","buttons","buttonsMD","buttonsSM","buttonsXS","statusbar","sizeLG","sizeMD","sizeSM","toolbarAdaptive","handleKeyPress","documentElement","remove","html","cleanedContent","cleanHtmlContent","setHours","padding","zIndex","JoditEditor","htmlString","Header","userinforef","showHelp","setShowHelp","showFeedback","setShowFeedback","showSendMail","showSelectUserSite","setShowSelectUserSite","showPersonalSettings","setShowPersonalSettings","setHasDefaultSite","showAddNotificationMessage","setShowAddNotificationMessage","logo","setLogo","localStorage","setItem","yammerLinkUrl","usLogo","_userinforef$current","MdPersonOutline","Yammerlogo","SignOutUser","removeItem","attachmentData","sendMailInfo","sendAttachment","fileData","hasAttachment","attachmentName","feedbackInfo","sendFeedback","sendNotifcationMessage","AsBuiltIcon","viewBox","d","Sidebar","sidebarLinks","setSidebarLinks","setIsExpanded","startTransition","useTransition","filterSideBarLinkList","activeIcon","LinkList","iconName","MdDashboard","BsHouseDoorFill","BsCardChecklist","AsBuiltsIcon","handleSidebarClick","updateSelectedLink","updatedSidebarLinks","pathName","pathname","ReleaseNoteData","AddNewLinks","addLinkForm","hyperLink","onAddLink","setDisplyInfoModal","EditLinks","editLinkForm","onEditLink","Links","linkData","setLinkData","showAddNewLinks","setShowAddNewLinks","showEditLinks","setShowEditLinks","activeLinkId","setActiveLinkId","linkDetails","action","onEditLinkClick","onDeleteLinkClick","onDeleteLink","UploadPlugin","currentPlugin","setHeader","uploadForm","buildNumber","version","minCompatibleVersion","versionCode","versionName","autoUpdateEnabled","_currentPlugin$plugin","_currentPlugin$plugin2","uploadFormSubmitHandler","isTapBridge","isTapAppPro","onUploadPlugin","labelFileTypeNotAllowed","useGrouping","minFractionDigits","maxFractionDigits","Plugins","uploadedPluginData","pluginData","setPluginData","showUploadPlugin","setShowUploadPlugin","showSendMailModal","setShowSendMailModal","setCurrentPlugin","copySuccess","setCopySuccess","iosImage","setIosImage","androidImage","setAndroidImage","xodoImage","setXodoImage","iosQrCoderef","androidQrCoderef","xodoQrCoderef","pluginDetails","getQrCode","_qrcode$qrCodes","_qrcode$qrCodes2","qrCodes","platForm","copyToClipBoard","platform","navigator","clipboard","writeText","err","pluginInfo","newPluginlist","onPluginUploadClick","onPluginDownloadClick","getPluginFilePath","pluginId","sendMailFormSubmitHandler","_sendMailForm$current","Timeline","as","dismissable","onPluginSendMail","useOnClickOutside","handler","listener","contains","releasenoteref","linkref","pluginref","PageMenuBar","dropDownref","navList","setNavList","bgWhite","setBgWhite","showDropDown","setShowDropDown","showLink","setShowLink","showPlugin","setShowPlugin","activeModule","setActiveModule","administrationNavList","setAdministrationNavList","filterAdminNavList","adminNavList","updateActiveNav","navTabList","currentPageRoute","_currentPageRoute$spl","navListCopy","activeRoute","pageInfo","isHomePage","isDashboardPage","isAdministrationPage","activeModules","isManageViewScreen","isReportViewScreen","handleManageRedirect","handleReportRedirect","BsFillGrid3X3GapFill","_releasenoteref$curre","bell","_pluginref$current","onPluginClick","plugins","_linkref$current","onLinkClick","links","_releasenoteref$curre2","_item$content","numbered","_el$subContent","subContent","subText","HEALTH_CLASSIFICATION_COLS","HEALTH_COLS","AddHealthClassification","onAddHealthClassification","equipmentTypeReviseList","setEquipmentTypeReviseList","checkedEquipmentTypes","setCheckedEquipmentTypes","HealthClassification","onEquipmentTypeChange","EquipmentTypeListCopy","checkedEquipmentTypeList","healthClassificationName","uniqueEquipmentClassIds","EditHealthClassification","CountryId","onEditHealthClassification","equipmentTypeItem","HealthClassificationReport","getSelectedClassificationId","uniqueHealthcareClassificationId","SetField","onAddHealthClassificationClick","uniqueCountryId","onEditHealthClassificationClick","isHealthClassificationInUse","deleteHealthClassificationClick","offsetParent","deleteHealthClassification","NFPA_CLASSIFICATION_COLS","NFPA_COLS","EditNFPAClassification","onEditNFPAClassification","healthClassificationLookup","setHealthClassificationLookup","reportClassificationLookup","setReportClassificationLookup","reportClassificationList","selectedHealthClassification","setselectedHealthClassification","NFPACode","ReportClassification","NFPAClassification","flsCircutsClassificationName","flsCircutsClassificationId","_nfpaClassificationDe","_nfpaClassificationDe2","isNFPAClassificationInUse","_nfpaClassificationDe3","_UnmappedEquipmentTyp","_nfpaClassificationDe4","_nfpaClassificationDe5","HealthClassId","healthClassItem","ReportClassId","reportClassItem","reportClassificationId","NFPAClassificationName","EquipmentTypeIds","UnmappedEquipmentTypeIds","UniqueHealthClassificationId","IsHealthChanged","_nfpaClassificationDe6","_nfpaClassificationDe7","uniqueHealthClassificatioId","onHealthClassificationChange","AddNFPAClassification","onAddNFPAClassification","NFPAClassificationReport","onAddNFPAClassificationClick","onEditNFPAClassificationClick","deleteNFPAClassificationClick","deleteNFPAClassification","AttributeTypeList","CUSTOMIZATION_ATTRIBUTES_COLS","COMMON_ATTRIBUTES_COLS","AttributeTypeEditor","CUSTOMIZATION_ATTRIBUTES_VALUE_COLS","COMMON_ATTRIBUTES_VALUE_COLS","CUSTOMIZATION_EQUIPMENT_TYPE_ATTRIBUTES_VALUES_COLS","EQUIPMENT_TYPE_ATTRIBUTES_VALUES_COLS","CUSTOMIZATION_EQUIPMENT_TYPE_COLS","EQUIPMENT_TYPE_COLS","AddCommonAttributes","onAddCommonAttributeClick","attributeTypeId","fieldTypeData","fieldTypeLookup","setFieldTypeLookup","maxLengthDisabled","setMaxLengthDisabled","maxLengthClass","setMaxLengthClass","setMaxLength","disableValidatedField","setDisableValidatedField","fieldType","_submitData$attribute","maxLengthValidation","EditCommonAttributes","onEditCommonAttributeClick","setAttributeTypeLookup","attributeData","attributeInUse","_attributeData$fieldT","hasLookup","isAttributeInUse","_attributeDetails$fie","_attributeDetails$fie2","attributeTypeName","AddCommonAttibutesValues","onAddCommonAttributeValueClick","commonAttributeType","commonAttributeName","Value","AttributeName","EditCommonAttibutesValues","onEditCommonAttributeValueClick","commonAttributeId","getCommonAttributeValueDetails","_commonAttributeValue","CustomizationReport","equipmentTypeId","equipmentTypeName","getSelectedAttributeIds","getSelectedValuesIds","needCommonAttribute","AttributesFieldValues","_rowsSelected$5","_rowsSelected$6","_rowsSelected$7","rowsSelected","setDisplayConfirmationModal","showAddCommonAttributeValue","setShowAddCommonAttributeValue","showEditCommonAttributeValue","setShowEditCommonAttributeValue","isCommonAttributeValueAdd","setIsCommonAttributeValueAdd","isAttributeDelete","setIsAttributeDelete","editFieldValueHandler","deleteFieldValueHandler","_rowsSelected$","_rowsSelected$2","_rowsSelected$3","_rowsSelected$4","AddEquipmentTypeAttribute","onAddEquipmentTypeAttributeClick","EditEquipmentTypeAttribute","onEditEquipmentTypeAttributeClick","AddEquipmentTypeAttributeValues","onAddEquipmentTypeAttributeValueClick","equipmentAttributeType","equipmentAttributeName","EditEquipmentTypeAttributeValues","onEditEquipmentTypeAttributeValueClick","equipmentAttributeId","equipmentAttributeValueDetails","getEquipmentTypeAttributeValueDetails","EquipmentTypeAttributesFieldValues","isEquipmentTypeAttributeValueAdd","setIsEquipmentTypeAttributeValueAdd","showAddEquipmentTypeAttributeValues","setShowAddEquipmentTypeAttributeValues","showEditEquipmentTypeAttributeValue","setShowEditEquipmentTypeAttributeValue","commonAttributeNameList","equipmentTypeNameLookup","setEquipmentTypeNameLookup","equipmentAttributeNameLookup","setEquipmentAttributeNameLookup","commonAttributeLookup","setCommonAttributeLookup","setCommonAttributeType","setEquipmentAttributeType","setEquipmentTypeLookup","setAttributeId","setAttributeName","setEquipmentTypeId","fetchAttributeName","setFetchAttributeName","fetchEquipmentTypeName","setFetchEquipmentType","isEquipmentValue","setIsEquipmentValue","commonAttributeValuesData","setCommonAttributeValuesData","equipmentTypeAttributesData","setEquipmentTypeAttributesData","showAddEquipmentTypeAttributes","setShowAddEquipmentTypeAttributes","showAddCommonAttribute","setShowAddCommonAttribute","showEditCommonAttribute","setShowEditCommonAttribute","showAttributesFieldValues","setShowAttributesFieldValues","showEditEquipmentTypeAttribute","setShowEditEquipmentTypeAttribute","showEquipmentFieldValues","setShowEquipmentFieldValues","setDisableAddIcon","setEquipmentTypeName","selectedEquipmentid","setSelectedEquipmentId","commonAttributesPagination","setCommonAttributesPagination","commonAttributeValuesPagination","setCommonAttributeValuesPagination","equipmentTypeAttributesPagination","setEquipmentTypeAttributesPagination","equipmentTypeAttributeValuesPagination","setEquipmentTypeAttributeValuesPagination","getAttributeNameList","_item$value","_item$value2","_item$value3","_item$value4","_item$value5","_item$value6","getEquipmentAttributeNameList","onAddCommonAttribute","onAddEquipmentTypeAttribute","okInfoOnClick","onEditCommonAttribute","onEditEquipmentTypeAttribute","selectedEquipmentTypeAttribute","setselectedRows","equipmentTypeAttributes","deleteCommonAttribute","deleteEquipmentTypeAttribute","selectedAttributeTab","getMainAttributesContent","_downloadRef$current4","PasswordPolicy","enablePasswordExpiry","setEnablePasswordExpiry","autoDisableInactiveAccount","setAutoDisableInactiveAccount","autoDeleteInactiveAccount","setAutoDeleteInactiveAccount","caseSensitive","setCaseSensitive","allowUsersToReactivateInactiveAccount","setAllowUsersToReactivateInactiveAccount","passwordPolicyForm","isCaseSensitive","isUpperCharIsMust","isLowerCharIsMust","isSpecialCharIsMust","isADigitIsMust","expiresIn","atMostDaysOfInactive","accountLockPeriod","atMostDaysOfDelete","atMostFaildAttempts","attemptsTimeSpanInMinutes","resetIntervalTimeInHour","repeatIntervalCount","isNeverExpires","isAutoDisableOnInactive","isNeverDelete","onUpdatePasswordPolicyData","MailDomains","addMailDomainForm","editMailDomainForm","scrollRef","showEditMailDomainModal","setShowEditMailDomainModal","currentMailDomain","setCurrentMailDomain","editControl","editSubmit","setEditValue","editErrors","mailDomains","editFormSubmitHandler","onAddMailDomain","onEditMailDomain","mailDomainId","getEditFormErrorMessage","onMoreMenuClick","onEditMailDomaiinClick","_mailpopref$current2","_scrollRef$current","refresh","isMailDomainInUse","onDeleteMailDomaiinClick","_mailpopref$current3","onDeleteMailDomain","Securitysettings","showPasswordPolicy","setShowPasswordPolicy","showMailDomains","setShowMailDomains","securitysettingList","setsecuritysettingList","CheckBoxGridView","columnData","isQuestionGridView","getColumns","gridDetails","setGridDetails","onSaveclick","reArrangeData","onSaveCheckBoxData","onShowDisplaySettings","initializingGrid","setAttributes","getElementsByClassName","parentElement","textContent","gridList","isParent","_item$reportFields","reportFields","_item$data","_item$data2","_item$data3","_item$data4","setCheckBoxValue","_element$data","_element$data$reports","_element$data2","_element$data2$report","_element$children","_element$data3","_element$data3$report","_element$data4","_element$data4$report","_element$children2","_element$children3","_element$data5","_element$data5$report","_element$data6","_element$children4","removedIndex","_element$children5","_sub$data","_sub$data2","_element$data7","_element$data7$report","_element$data8","_element$children6","_element$children7","_sub$data3","_sub$data4","_element$children8","setCheckBoxValueForAll","_element$data9","_element$data9$report","_element$data10","_element$data10$repor","_element$children9","_element$data11","_element$data11$repor","_element$data12","_element$children10","_element$children11","_sub$data5","_sub$data6","getParentData","parent","_res$children","_res$children2","_sub$data7","_res$data$reports","findIdex","_res$data3$reports","template","_rowData$data","onCheckBoxSelected","getCheckBoxActivate","returnBoolean","_item$data5","_item$data5$reports","TreeTable","colExpand","_rowData$data2","_item$reportName","columnKey","onCheckBoxAllSelected","_checkBoxGridRef$curr","checkBoxGridRef","onDownloadclick","_checkBoxGridRef$curr2","reportRowData","setReportRowData","selectedColumns","setSelectedColumns","savedContractReportMappingData","columnsReadyToUpdate","getReportDetailsForContract","groupId","reportMappingDetails","convItem","reportGroupFields","onDownloadReportMappingDetailsForContracts","onSavecontractReportMappingDataForContract","savedSystemsReportMappingData","getReportDetailsForSystem","onDownloadReportMappingDetailsForSystems","onSavecontractReportMappingDataForSystem","getFirstElement","_element$reportFields","modifiedUpdatedData","savedQuestionsReportMappingData","treeToggle","setTreetoggle","getReportDetailsForQuestion","onDownloadReportMappingDetailsForQuestions","onSavecontractReportMappingDataForQuestion","ReportMapping","selectedGroupId","setselectedGroupId","selectedFields","setSelectedFields","_reportGroups$","_reportGroups$2","_checkBoxGridRef$curr3","DrawingToolbar","tools","showColorPicker","onColorPickerChange","showLineThicknessDropdown","currentPosition","setCurrentPosition","setColor","onMapEvent","_","subIcon","virtualScrollerOptions","itemSize","ColorPicker","defaultColor","Layers","layersSubmit","layerData","setLayerData","layerForm","layerDataInfo","objiWhizApi","Drawing","contextMenuItems","command","onDehatchClick","onZoomInClick","onZoomOutClick","onZoomWindowClick","onZoomExtentsClick","onPanClick","addLayers","contextMenuRef","drawingLoaded","setDrawingLoaded","layerLookUpArray","setLayerLookUpArray","showLayers","setShowLayers","currentToolTipHandler","setCurrentToolTipHandler","showEquipmentTooltip","setShowEquipmentTooltip","currentEquipmentData","setCurrentEquipmentData","_document$getElementB","_document$getElementB2","iWhizAPI","getElementById","offsetHeight","topOffset","innerHeight","initWebViewer","retCode","initEvents","openDrawing","cadPlanId","revisionNo","initialSettings","openHandler","zoomExtents","areaRatioTemp","clientDWGAreaRatio","_document$getElementB3","_document$getElementB4","resize","bIsResizeDrawing","zoomIn","zoomOut","zoomWindow","pan","resCallback","getAllLayers","returnCode","layers","allLayersArray","layerArray","isVisible","layerName","getLayerVisibility","deleteLayer","removeBlinkers","addEvent","outputs","console","log","callBack","initialLoadSettings","BlockRefHandle","$","css","left","top","ContextMenu","model","onContextMenu","strokeWidth","Popover","Barcode","Building","Comment","DPM","Floor","Location","Note","layerStatus","setCursor","setLayersVisibility","Export","objOpenDrawing","export","exportList","EXPORT_LIST","selectedExport","setSelectedExport","onExportChange","onOKExport","exportToBMP","exportToDWF","exportToDXB","exportToDXF","exportToJPEG","exportToPDF","exportToSVG","SaveDrawing","selectedFile","FILE_LIST","setSelectedFile","onFileFormatChange","onOKSave","saveAs","TextSearch","onSearch","searchtext","_selectedEquipment$2","_commonEquipmentList$2","addLegend","_commonEquipmentList$","_selectedEquipment$","selectedCount","AssignBlock","assignBlock","setEquipmentTypes","addressSearch","setAddressSearch","equipmentClassIds","setEquipmentClassIds","showTable","setShowTable","selectedEquipmentId","equipmentSelected","setEquipmentSelected","addressListRef","_selectedTreeNode$","uniqueDrawingId","_selectedTreeNode$2","unassignedEquipmentClasses","getAddressDetails","onSearchAddress","onSelectAddress","_selectedTreeNode$3","getEquipmentData","setEquipmentListData","onAssignClick","dblDwgRatio","tempx","tempy","intLegendTextSize","strTextStyleName","points","pointcount","dataInDrawingTextHandles","strBlockRefHandle","moveLegendHandle","g_legendCount","InspectionDrawings","_selectedTreeNode$13","_selectedTreeNode$14","_selectedTreeNode$15","_selectedTreeNode$16","_selectedTreeNode$17","_selectedTreeNode$18","_selectedEquipment$9","setDisableDrawingButtons","toolBarRef","equipmentRef","settingsRef","showTextSearch","setShowTextSearch","showDrawingExport","setShowDrawingExport","showDrawingSave","setShowDrawingSave","showAssignBlock","setShowAssignBlock","showTotalize","setShowTotalize","inspectionDrgObj","setInspectionDrgObj","objectSelectedBlocks","setObjectSelectedBlocks","isShowLayer","setIsShowLayer","isHideLayer","setIsHideLayer","showLayerSelected","setShowLayerSelected","hideLayerSelected","setHideLayerSelected","isLegendExist","setIsLegendExist","selectEquipment","setSelectEquipment","toolTipDatafields","setToolTipDatafields","delinkObjectSelected","setDelinkObjectSelected","deleteObjectSelected","setDeleteObjectSelected","isDrawingOpen","setisDrawingOpen","setDisplaySettingDetails","blockRefHandle","setblockRefHandles","toolData","setToolData","isEquipmentUpdate","setIsEquipmentUpdate","rowDelimiter","searchItem","inactiveTools","blockRefHandleArray","_equipmentTooltip$dat","setBlock","blockHandle","arrayCount","setBlockRefHandle","invalidHandles","showZoomData","Handle","deleteEntities","zoomEntity","rtCode","isShowZoomed","showInDrawing","blinkHandle","ret","blinkEntitiesByHandles","isShowDrawing","addEquipment","currentStatus","isWaitMode","exitWaitMode","multipleassignment","_unassignedData$data","_commonData$data","unassignedData","commonData","assignedData","rawData","setObjectToBlocks","delinkData","_selectedTreeNode$4","_dataInDrawingTextHan","layername","Index","findex","TextLayerName","isExist","layerExists","returncodeCode","releaseBlockRefHandle","_commonData$data2","_equipmentData$data","equipmentSpecific","deletedData","_dataInDrawingTextHan2","_commonData$data3","_equipmentSpecificDat","equipmentSpecificData","initialCreateObjectText","resCallBack","CreateObjectText","returCode","stopBlink","arrEntityHandles","selectEntity","selectedHandles","getUnassignedBlocks","getUnassignedBlocksGrid","arrayHandles","getEntityType","getEntityTypeId","_selectedTreeNode$5","equipmentAattachment","deleteEquipment","_dataInDrawingTextHan3","_commonData$data4","unAssignedData","delinkEquipment","createDrawingDetailsLegend","xPos","yPos","_selectedTreeNode$6","_selectedTreeNode$7","_selectedTreeNode$8","startX","startY","detailsText","calculateDwgRatio","createText","entityHandle","CloseDrawing","selectMultipleEquipment","arrSelectedHandles","isequipentExist","deleteLayerIfExists","isExists","ratio","drawPloyline","getDWGPoint","x","y","rubx","ruby","rubz","dwgToClient","enableRubberband","createLine","getCurrentClientDWGRatio","createPolyline","regenerate","_selectedEquipment$6","_selectedEquipment$7","_selectedEquipment$8","NfpaClassificationId","_selectedTreeNode$10","handleArray","_toolTipDatafields$fi","DelExistingLayerCreateNew","selectedBlocks","_dataInDrawingTextHan6","selectedblockRefHandle","formattedTextArray","extentsArray","itemsForCreateTextBlock","intObjectId","formatedText","textSize","boldText","italicText","formatedTextFinal","setApplicationLayer","rtcode","createBlockDataText","entityHandles","layerDetails","textHandleArray","_dataInDrawingTextHan7","ObjectId","TextHandle","blockrefHandle","_dataInDrawingTextHan8","hideAllLayers","setLayerVisibility","_selectedTreeNode$9","_dataInDrawingTextHan5","_commonData$data5","_commonData$data6","_unAssignedData$data","delinkedData","_selectedEquipment$3","_selectedEquipment$4","_selectedEquipment$5","orientation","_equipmentRef$current","_settingsRef$current","selectSingleEquipment","selectedHandle","getEntityLayer","setEntityVisibility","moveEntity","endX","endY","distance","measureDistance","midX","midY","distanceWithUnit","measureArea","polylineHandle","getEntityArea","resultarea","area","getEntityMidpoint","isBlinkExists","isBlink","searchForText","textHandles","Totalize","legendXPosition","legendYPosition","titleEntityHandle","createMultilineText","legendHandles","createBlock","_selectedTreeNode$11","_selectedTreeNode$12","_unAssignedData$data2","_commonData$data7","_equipmentSpecificDat2","UnassignedEquipmentReport","UnassignedEquipment","onAddEquipment","disableDrawingButtons","dataLoaded","searchAddress","setSearchAddress","displaySearchModal","setDisplaySearchModal","isCommon","onSearchClearClick","onSearchIconClick","_equipmentDatafields$","_equipmentDatafields$2","_equipmentDatafields$3","_equipmentDatafields$4","_testRes$","testRes","_equipmentDatafields$5","_equipmentDatafields$6","_testRes$2","_equipmentDatafields$7","_equipmentDatafields$8","_testRes$3","_equipmentDatafields$9","_equipmentDatafields$10","SearchAddress","CommonEquipmentReport","CommonEquipment","onShowZoomClick","onShowInDrawing","onDelinkClick","setShowInDrawing","showZoomed","setShowZoomed","setIsCommon","onShowInDrawingClick","onShowZoomedClick","onDelinkIconClick","EquipmentSpecificEquipmentReport","EquipmentSpecificList","FilterType","equipmentTypeChange","InspectionDrawingList","CommonEquipments","UnassignedEquipments","InspectionDrawingsMain","leftToggle","setLeftToggle","rightToggle","setRightToggle","drawingresize","setDrawingresize","setShowZoomData","setAddEquipment","setIsShowDrawing","setIsShowZoomed","setDelinkData","setDeletedData","AiOutlineDoubleRight","InspectionDrawingsList","showDrawing","AddInspectionField","parentItem","onSubmitInspection","selectedType","setSelectedType","selectedAlignment","setSelectedAlignment","typesOfInput","setTypesOfInput","inputType","dataItemName","FieldType","datasetName","datafieldName","isForwardData","isClearDefaultData","maxCharacters","dataGroupName","inputTypeDetails","onInputTypeChanged","inputTypeId","originalEvent","ariaLabel","_data$datafieldName","_data$datasetName","_data$dataItemName","_data$dataGroupName","onFieldChanged","EditInspectionField","_inspectionData$dataE","selectNode","showDataGroupForm","setShowDataGroupForm","inspectionData","setInspectionData","setDataGroupValue","setDataItemValue","dataSetName","dataFieldVariableName","_selectedItem$dataTyp","_selectedItem$dataTyp2","parentDataFieldId","isValidMultiple","isValidSingle","AddInspectionFieldValues","fieldValueList","selectedField","onAddFieldValue","onUpdateFieldValue","onDeleteFieldValue","showErrorTooltip","setShowErrorTooltip","tableEl","checkType","_selectedField$dataTy","_selectedField$dataTy2","getGridErrorMessage","minWidth","bodyStyle","textAlign","MdOutlineEdit","BsTrash","Contract","showAddInspectionField","setShowAddInspectionField","selectedInspection","setSelectedInspection","showEditInspectionField","setShowEditInspectionField","showAddInspectionFieldValues","setShowAddInspectionFieldValues","setFieldValueList","convNewField","newField","validatedFields","onAddContractInspectionField","onUpdateInspection","onUpdateContractInspectionField","onDeleteInspectionField","checkUsageOfContractInspectionField","isDataFieldInUse","fieldName","_selectedFields$dataE","fieldvalue","onAddNewContractInspectionFieldValue","onUpdateContractInspectionFieldValue","checkUsageOfContractInspectionFieldValue","isDataFieldLookupInUse","AddInspectionGroupSection","onNodeSaved","parentInspectionSectionId","EditInspectionGroupSection","onNodeUpdated","MappedReports","MappedReportNames","scrollHeight","Question","showAddNode","setShowAddNode","showEditNode","setShowEditNode","showDeleteNode","setShowDeleteNode","inspectionRef","showFieldPrompt","setShowFieldPrompt","showNodePrompt","setShowNodePrompt","deleteNode","setDeleteNode","newInspectionField","defaultData","updatedQuestionsInspectionDatafieldOrder","mappedReports","setMappedReports","_inspectionRef$curren","onDeleteParentGroupSections","_inspectionQuestions$2","_value$","form","_isQuestionDataInUse$","_isQuestionDataInUse$2","customMessage","mappingReportList","_isQuestionNodeInUse$","_isQuestionNodeInUse$2","onAddQuestionInspectionField","onAddNewInspectionFieldValue","onUpdateInspectionFieldValue","checkUsageOfInspectionFieldValue","onUpdateQuestionInspectionField","checkUsageOfQuestionInspectionField","onInspectionGroupSectionAdded","onInspectionGroupSectionUpdated","onDeleteGroupSection","inspectionGroupSectionInUse","onSetAsDefualtValue","onConfirmDeleteInspectionField","onConfirmNodeDelete","checkLevelOfNode","System","DataFieldId","dd","onAddSystemInspectionField","onUpdateSystemInspectionField","checkUsageOfSystemInspectionField","onAddNewSystemInspectionFieldValue","onUpdateSystemInspectionFieldValue","checkUsageOfSystemInspectionFieldValue","InspectionFields","questionRef","_questionRef$current","CopySystems","copyKey","setCopyKey","isCopyAll","setIsCopyAll","setSystems","sites","setSites","contracts","setContracts","filterFromCustomers","setFilterFromCustomers","filterToCustomers","setFilterToCustomers","targetPage","showSystemDuplication","setShowSystemDuplication","showError","setShowError","destinationSite","setDestinationSite","addRef","fromCustomerSearchCriteria","fromSystemId","toCustomerSearchCriteria","toSiteId","toContractId","contractNameWithoutSite","ascDatas","localeCompare","searchFromCustomer","uniqueSourceCustomerId","searchToCustomer","onCancelSystem","onUpdateSystem","isEmpty","_data$fromCustomerSea","_data$toCustomerSearc","_data$fromCustomerSea2","_data$toCustomerSearc2","uniqueSourceContractId","uniqueSourceSiteId","uniqueSourceSystemId","uniqueTargetCustomerId","uniqueTargetContractId","uniqueTargetSiteId","copySystem","copyAllReport","keepSourceData","systemData","dropdownAriaLabel","_e$value","IsCopy","addContract","fromCustomer","toCustomer","toSite","_addRef$current","onConfirmCancel","confirmedCopy","wordBreak","editableTemplate","CopyAllSystems","fromContractList","setFromContractList","fromSiteList","setFromSiteList","toSiteList","setToSiteList","toContractList","setToContractList","fromContractId","fromSiteId","sourceContract","sourceSite","Copy","MoveSystems","_watch2","showAddSite","setShowAddSite","_a$contractNameWithou","addSite","sourceSystem","isCustomerSiteMaping","MoveAllSystems","UniqueTargetCustomerId","UniqueTargetSiteId","addCustomerSitemap","Move","LOG_COLS","CopyMoveLogs","fromDate","toDate","selectedAction","setSelectedAction","userData","actionBy","onGetUserLists","gridBinding","gridItems","copyMoveLogs","sourceCustomer","destinationCustomer","copyMoveLogSummaryId","actionCategory","taskCategory","isAllReports","onClear","_data$source","_data$source2","_data$source3","_data$destination","_data$destination2","systemItem","systemKey","taskItem","taskKey","ReportView","userActivity","fileUpload","bxBuilding","carbon_floorplan","ExpiredContracts","masterData","ftp","userShape","tapPerformance","filterOption","setFilterOption","selectedStatus","setSelectedStatus","tempList","viewSiteReport","RiFileExcel2Line","ContractDate","onContractUpdated","isContractSubmit","setIsContractSubmit","ContrtactDateForm","USATaskPattern","CanadaTaskPattern","AddInspectionTask","_systemRadioLookup$","onAddInspectionTaskClick","quantityOfTech","isTechRequiredAtPanel","systemRadioLookup","setSystemRadioLookup","showAddSystem","setShowAddSystem","showContractDate","setShowContractDate","setContractData","setStartDate","setEndDate","inspectiontaskNumberPattern","setInspectiontaskNumberPattern","showNotificationNumber","setShowNotificationNumber","selectedClosedSystem","setSelectedClosedSystem","getSortedSystemList","isXMLFileUploaded","systemStatus","enabledItems","newSystem","_selectedSystem$","checkedElement","radioButtonContainer","querySelector","radioButtonContainerSize","getBoundingClientRect","offsetTop","containerScrollTop","scrollTop","clientHeight","preventScroll","CustomRadioButtonList","systemProps","_systemProps$item","_systemItem$name","handleSystemRadioChange","cursor","_data$plannedStartDat","_contractData$startDa","_data$plannedEndDate","_contractData$endDate","qtyOfTech","_data$inspectionTaskN","_selectedSystem$2","_selectedSystem$3","onAddSystemData","onHideClick","contractInfo","PdfDrawingViewer","revisionNumber","DrawingList","drawingTreeData","setDrawingTreeData","drawingData","setDrawingData","selectedNodeKey","setSelectedNodeKey","disableButton","setDisableButton","showPdfViewModal","setShowPdfViewModal","filePdfName","setPdfFileName","setdrawingId","setRevisionNumber","_drawingList$siteDeta","_site$buildingDataLis","selectable","buildingDataList","_building$floorDetail","buildingArray","selectedFloor","openDrawingClick","_drawingData$siteDeta","_site$buildingDataLis2","_building$floorDetail2","drawingid","fileExtension","sizeColumnData","paddingRight","EditInspectionTask","onEditInspectionTaskClick","activate","isSystemInUse","setSystemName","statusDisabled","setStatusDisabled","setSelecteedSystemId","isClosed","setIsClosed","isCompleted","setIsCompleted","systemListLookup","setSystemListLookup","_selectedRows$$planne","_selectedRows$2$plann","_selectedRows$5$syste","_selectedRows$6$syste","_selectedRows$7$syste","_inspectionTaskDetail","techUniqueId","_selectedReportList$r","updatedSubmitData","_updatedSubmitData$in","onUploadClick","handleSystemChange","contractStartDate","contractEndDate","InspectionDrawingsModal","onOpenDrawingsClick","drawingListModalButtons","closeModal","PendingReports","pendingReportNames","ImportPreviousTaskDetails","previousTaskDetails","displayImportPreviousTaskConfirmModal","setDisplayImportPreviousTaskConfirmModal","importMessage","setImportMessage","sourceUniqueTaskId","isImportTestResult","isImportSystemQuestions","_data$sourceUniqueTas","_selectedRows$$system","getInspectionTechnicians","allChecked","setAllChecked","selectedTechnicians","setSelectedTechnicians","onTechnicianChange","techs","techniciansNames","tech","toasterMessage","requestData","TASK_LIST_COLS","CompareInspectionTaskReport","inspectionTasksSelected","_inspectionTasksSelec","_inspectionTasksSelec2","_inspectionTasksSelec3","_inspectionTasksSelec4","oldUniqueInspectionTaskId","newUniqueInspectionTaskId","oldInspectionTaskName","newInspectionTaskName","CompareInspectionTasks","equipmentDetails","_inspectionTasksSelec5","_inspectionTasksSelec6","_inspectionTasksSelec7","_inspectionTasksSelec8","_inspectionTasksSelec9","_inspectionTasksSelec10","_inspectionTasksSelec11","_inspectionTasksSelec12","InspectionTaskReport","dataFrom","getContractStatus","contractFlag","getSelectedInspectionTaskIds","recentOrAll","allCustomers","allContracts","EquipmentSummary","setEquipmentGroup","sortOptions","classification","InspectionTasks","_selectedRows$25","_selectedRows$26","_selectedRows$27","_selectedRows$28","MONTHS_LIST","STATUS_MAP","defaultFontClass","_state$administration2","fontClass","inspectionTaskSearchId","newInspectionTask","updatedInspectionTask","toggleActiveTask","setToggleActiveTask","toggleClosedTask","setToggleClosedTask","toggleCompletedTask","setToggleCompletedTask","selectedMonth","setSelectedMonth","taskDataInfoList","setTaskDataInfoList","setContractAllChecekd","showDrawingList","setShowDrawingList","showPendingReportModal","setShowPendingReportModal","inspectionTaskData","setInspectionTaskData","inspectionTaskCols","setInspectionTaskCols","isAddSubmit","setIsAddSubmit","isEditSubmit","setIsEditSubmit","isReportSelected","setIsReportSelected","setShowAddIcon","setFontClass","isSmallFont","setSmallFont","isMediumFont","setMediumFont","isLargeFont","setLargeFont","isFontChange","setIsFontChange","isImportPrevious","setIsImportPrevious","gridReadyToRefresh","setGridReadyToRefresh","isTaskReadyToClose","setIsTaskReadyToClose","isTaskReadyToComplete","setIsTaskReadyToComplete","pendingReportList","setPendingReportsList","showDrawingModal","setShowDrawingModal","inspectionRowData","setInspectionRowData","showImportPreviousTaskDetails","showQuitTask","setShowQuitTask","inactivateFlag","setInactivateFlag","comparisonData","comparisonModal","setComparisonModal","isActiveContract","setIsActiveContract","disableIcons","setDisableIcons","comparisonCurrentStart","setComparisonCurrentStart","comparisonPageIndex","setComparisonPageIndex","showEquipmentSummaryModal","setShowEquipmentSummaryModal","isSearchRef","activeCustomerId","activeCustomerDetails","activeContractId","activeContractDetails","saveDefaultValues","onShowEquipmentListModel","selectedRowsData","checkImportPreviousTaskDetails","onQuitTaskClick","onInactivateClick","onReportsSelectedClick","onCompareClick","onDrawingsClicked","flat","listData","_selectedRows$2$syste","uniqueInspectionTaskId1","uniqueInspectionTaskId2","systemid","isClosedTaskExistsForSystem","isIncompleteTasksExistForSystem","hasTechniciansJoinedInApp","technames","isReportsGenerated","onStatusChange","selectedStatusCpy","onMonthChange","_selectedRows$10$syst","pagination","newInspectionList","_selectedRows$18$syst","customerId","_selectedRows$12$syst","isRecentTask","closeIconClick","completeIconClick","_rowData$system","_rowData$system2","_submitData$system","_technician","_submitData$inspectio","refreshGrid","onComparisonPageChanged","_comparisonData$pageD","_selectedRows$19","_selectedRows$20","_selectedRows$21","_selectedRows$21$syst","_selectedRows$22","_selectedRows$23","_selectedRows$24","_selectedRows$24$syst","onComparisonSort","ManageDisplaySettings","selectedRowData","setSelectedRowData","equipmentClass","onCheckboxChanged","rgb","onGetAllChecked","isShowInDrawing","isShowInToolTip","isShowInGrid","onHeaderCheckBoxChanged","onDatafieldOrderUpdated","fontSizeTemplate","onSizeChanged","colorTemplate","backgroundColor","SketchPicker","onChangeColor","hex","showInDrawingHeaderTemlpate","showInDrawingTemplate","showInTooltipHeaderTemplate","showInTooltipTemplate","showInGridHeaderTemplate","showInGridTemplate","onGetDatafieldOrderList","onDisplaySettingsUpdate","accessColorId","colorId","isAttachmentField","isEnableBoldAndItalics","isStaticField","onDisplaySettingsUpdated","ManageUserDataSettings","classificationId","_nfpaClassifications$","isSelectedInDataEntry","isSelectedInTapApp","isDisabledInDataEntry","isDisabledInTapApp","dataEntryHeaderTemplate","dataEntryTemplate","onDataEntryCheckBoxSelected","tapAppHeaderTemplate","tapAppTemplate","onTapAppCheckBoxSelected","dataEntryFields","onDataEntrySettingsUpdate","UserModal","EntityModal","selectedEntities","ActivityModal","selectedActivities","Logbook","setMonth","moduleIds","isCheckedAll","searchForm","showUserModal","setShowUserModal","showEntityModal","setShowEntityModal","showActivityModal","setShowActivityModal","setSelectedUsers","setSelectedEntities","setSelectedActivities","setPayload","logBooks","cloudDetails","cloudid","_searchForm$current","getGridColumnDataWithStyle","_data$moduleIds","isAllModules","getUsers","getEntities","getActivities","entityId","userId","eventId","entityIds","eventIds","onGetUsers","entityDetails","onGetEntities","eventDetails","onGetActivities","onAllCheckBoxChanged","cloudName","FiExternalLink","AddAsBuilts","onAddDrawing","floorId","drawingCategoryId","drawingTypeId","floorLookup","setFloorLookup","floorPlanTypeId","floorPlanModelTypeId","allowDrop","EditAsBuilts","onEditDrawing","revisions","dwgFileName","categoryName","typeName","ReviseASbuilts","onReviseDrawing","drawingType","drawingInfo","setDrawingInfo","reviseForm","ReplaceASbuilts","onReplaceDrawing","seFileSize","replaceForm","DWGFileName","DWGFileSize","Comments","isCalloutComment","onTextData","editTextData","pageTitle","saveLabel","setSaveLabel","font","bold","italics","highlight","comment","fontList","DrawingMarkupList","selectedDrawing","selectedMarkup","markupListSubmit","markupDatas","setMarkupDatas","_selectedDrawing$","_selectedDrawing$2","_selectedDrawing$3","getSavedMarkups","markupInfo","onSubmitClick","markup","headerTemlpate","SaveMarkup","onSaveMarkup","savecomment","saveComment","AsBuiltsDrawing","textColor","setTextColor","showComments","setShowComments","showDrawingMarkupList","setShowDrawingMarkupList","markupLayersArray","setMarkupLayersArray","visibleMarkupIds","setVisibleMarkupIds","textPosition","setTextPosition","DrawingObj","setDrawingObj","isTextEdit","setIsTextEdit","setIsCalloutComment","setEditTextData","editCommentEntityHandle","setEditCommentEntityHandle","markupColor1","setMarkupColor","deleteMarkup","setDeleteMarkup","showMarkupSave","setShowMarkupSave","setSelectedMarkup","markupLayer","setMarkupLayer","layerNames_Markup","setLayerNames_Markup","setPageTitle","setCadPlanId","markupLineThickness","setMarkupLineThickness","setRevision","setDrawingId","columnDelimiter","CreateLayerName","selectedRevisionRow","_props$selectedMarkup","selectedMarkupRow","_props$selectedBuildi","_props$selectedDrawin","_props$selectedMarkup2","FileName","RevisionNo","IsDWGBased","XmlString","_props$selectedMarkup3","xmlString","xmlStringModified","markupLayerArray","loadXMLString","dateTime","hours","getHours","am_pm","Layername","getMinutes","getSeconds","hideMarkupLayer","markupIds","loadXmlDataString","_props$selectedBuildi2","_props$selectedDrawin2","clrId","rgbColor","isColorChange","colorChange","hexToRGB","g","rgbToColorIndex","colorIndex","setDisplay","setEntitiesColor","viewMarkup","showMarkupId","visibleMarkupIdsArray","selectedMarkupId","markupDataInfo","markup_ColorIndex","lastIndexOf","truncate","createRectangleMarkup","drawRectangle","EntityHandle","createEllipseMarkup","getRectangle","leftTop","bottomRight","CenterX","CenterY","abs","drawEllipseMarkup","createCloudMarkup","cloudPoints","drawCloudMarkup","createTextMarkup","X","Y","clientX","clientY","editTextOnClick","isCallout","hasCalloutText","isText","editCallOut","hasTextMarkup","hasText","getEntityWithDWGPoint","handle","getContentText","getTextProperties","isBold","isItalic","isUnderLine","textAngle","fontName","getTextSize","round","isTextHighlighted","handles","getAllEntities","entityhandles","hasMulitilineText","hasTxt","hasCallout","textEntityhandle","typeid","alert","saveMarkUpHandler","layerNamesArr","exportedxmlstringArr","getFromFile","exportToXML","exportedxmlstring","LayerName","onSaveMarkUp","hasMarkups","hasMarkup","saveMarkUps","createFreeHandOnClick","actualpoints","createPolylineMarkup","showMarkupTools","BsChatLeftText","BiLayer","moveOnClick","nextX","nextY","deleteMarkupOnClick","GiSave","_props$selectedSite","_props$selectedBuildi3","closeDrawingView","fontStyle","hightlightColor","setTransparentBackground","arrowSize","doglegLength","landingGap","createMultiLeader","deleteEntity","setText","_props$selectedDrawin3","_props$selectedSite2","_props$selectedBuildi4","_props$selectedDrawin4","insertDrawingmarkup","DrawingId","ListMarkups","_selectedRowData$7","_selectedRowData$8","_selectedRowData$9","_selectedRowData$10","_selectedRowData$11","_selectedRowData$12","_selectedRowData$13","getSelectedData","fromRevision","revisionRow","setSelectedRow","_selectedRowData$","_selectedRowData$2","newMarkupList","category","AsbuiltsDrawing","MARKUP_COL","_selectedRowData$3","_selectedRowData$4","_selectedRowData$5","_selectedRowData$6","Error","ListRevisions","markupListClick","revisionData","setRevisionData","revisionInfo","REVISION_COLS","EditListRevisions","_selectedDrawing$4","_selectedDrawing$5","_selectedDrawing$6","onRevisionEdit","EditListMarkups","onMarkupEdit","CommonDialog","_selectedRevisionRow$4","_selectedRevisionRow$5","modelName","showEditModel","setShowEditModel","showMarkupViewModal","setShowMarkupViewModal","showRevisionViewModal","setShowRevisionViewModal","showListMarkups","setShowListMarkups","dialogModelName","setDialogModelName","setSelectedMarkupRow","setSelectedRevisionRow","setFromRevision","handleMarkupRowSelect","handleRevisionRowSelect","onPreviousButtonClick","BsArrowLeft","hidden","markups","viewIconClick","_selectedRevisionRow$","_selectedRevisionRow$2","_selectedRevisionRow$3","_settingRef$current2","onUpdateRevision","onUpdateMarkup","AsBuilts","_selectedDrawing$7","_selectedDrawing$8","_selectedDrawing$9","_selectedDrawing$10","_selectedDrawing$11","_selectedDrawing$12","_selectedDrawing$13","_selectedDrawing$14","showReviseAsbuilts","setShowReviseAsbuilts","showReplaceAsbuilts","setShowReplaceAsbuilts","showAddAsBuilts","setShowAddAsBuilts","showEditAsBuilts","setShowEditAsBuilts","showListRevisions","setShowListRevisions","setBuildngLookup","setshowDrawing","showMarkupList","setShowMarkupList","setSelectedDrawing","disableAddBtn","setDisabeAddBtn","getBuildingList","addedBuilding","_buildings$","reviseDrawingClick","replaceDrawingClick","revisionListClick","timer","clearTimeout","draingInfo","newDrawingList","previousDrawingData","_newDrawingList","revisedData","replacedData","DRAWING_LIST_COL","deleteDrawing","onDrawingRevise","onDrawingReplace","ContractsReport","branchId","selectedBranch","setSelectedBranch","viewContractReport","viewInspectionTaskReport","onApplyDateFilter","diff","exportAsExcel","USER_ACTIVITY_REPORT_COLS","DateSelectModal","periodStartDate","periodEndDate","setPeriodStartDate","setPeriodEndDate","onDateUpdated","onDateSubmit","UserActivityReport","showDateModal","setShowDateModal","dropdownDateItems","viewUserActivityReport","onApplyPeriodDate","UserDetailsReport","_userRoles$find","userSearch","UploadedFinalReports","viewUploadedFinalReports","SapImportStatusReport","viewSapImportStatusReport","InspectionActivityReport","viewInspectionActivityReport","MasterDataReport","SAP_IMPORT_STATUS_COLS","ImportSapDetails","setColumnData","pageDetail","setPageDetail","SAPImportStatus","showImportSapDetails","setShowImportSapDetails","getSapImportStatusList","showImportDetails","importId","downloadSapImportData","onSapImportDataDownload","ExpiredContractsReport","tapPerformance_Cols","ProjectDetails","selectedProjectId","branchLookup","setBranchLookup","projectDetailsForm","systemTaskLookup","setSystemTaskLookup","selectedSystemTask","setSelectedSystemTask","projectDetail","newProjectData","setNewProjectData","isBranchDisabled","setisBranchDisabled","branchOfficeId","systemTasks","_projectDetailsForm$c","systemtask","_item$inspectionTaskL","inspectiponTaskName","tasklist","_newlyAddedData$syste","systemInspectionTaskList","_item$inspectionTaskL2","isTaskSelected","isSystemSelected","selectedTasks","_data$inspectionTaskL","onBranchChange","uniqueBranchId","onAddUpdateProjectDetailsClick","_submitData$projectNa","onAddProjectDetails","onUpdateProjectDetails","defaultValue","getSelectedSystemTask","_data$projectName","_data$projectOwner","_data$email","_data$branchOfficeId","ProjectOwner","selectedTaskList","RegExp","input","propsItem","GOAL_COLS","Goals","newGoal","setnewGoal","disableDeleteButton","setDisableDeleteButton","goal","projectGoals","projectGoalId","projectgoals","addGoal","onGoalUpdated","parentTemplate","deleteGoals","deleteSelectedProjectGoal","uniqueProjectGoalIds","DEFICIENCY_LIST_COLS","DeficiencyList","DeficiencyListData","setDeficiencyListData","locationInBuilding","onUpdateDeficiencyList","isUpdated","TRUNAROUND_COLS","TurnAroundList","TurnAroundData","setTurnAroundData","TurnAroundPageDetails","nameversionEditor","SOFTWAREVERAIONUPDATES_COLS","recommendEditor","SoftwareVersionUpdates","softwareVersionPageDetailData","setSoftwareVersionPageDetail","softwareVersionData","setsoftwareVersionData","newversion","currentversion","uniqueSoftwareVersionId","equipmentname","onUpdateSoftwareVersion","SystemDetails","showDeficiencyModal","setShowDeficiencyModal","showTurnAroundModal","setShowTurnAroundListModal","showSoftwareVersionUpdatesModal","setShowSoftwareVersionUpdatesModalListModal","systemDetailsList","_system$","_system$2","flsSystemId","flsSystemName","commentText","setCommentText","commentDetailsForm","_commentDetailsForm$c","commnentList","getProjectComments","addComments","UpdatesComments","Report_Tab_List","AddReportWizard","selectedProject","isGenerate","setIsGenerate","reportTabList","setReportTabList","showProjectDetails","setShowProjectDetails","showGoals","setShowGoals","showSystemDetails","setShowSystemDetails","buttonName","setbuttonName","setIsDisabled","reportGenerateDependencyData","setReportGenerateDependencyData","newSelectedItem","setNewSelectedItem","handleTabSelect","modifiedReportTabList","PDTAb","goalTAb","nextTAb","CTAb","isReadyToGenerate","projectFormSubmitHandler","commentFormSubmitHandler","goalFormSubmitHandler","OnCancel","changehandleTabSelect","onGenerateReportProvenOutcomes","onSave","TAPPerformanceReportViewer","TAPPerformance","checkReportGenerated","tapPerformanceData","setTAPPerformanceData","IsAdd","tapPerformanceButtonDisable","setTapPerformanceButtonDisable","cloneData","setCloneData","removeProjectData","deleteProjectDetails","ViewTapPerformanceReport","BsEye","downloadTapPerformanceReport","onDownloadTapPerformanceReport","_result$headers$get","_result$headers$get$s","_result$headers$get2","_result$headers$get2$","_result$headers$get2$2","_result$headers$get2$3","_result$headers$get2$4","statusText","appendChild","catch","BsDownload","onCloneReportProvenOutcomes","onCloneProject","onConfirm","CommonFilter","SalesActivityReport","branchOffices","models","setSelectedData","setDataKey","setField","setTitle","filterIdentifier","setFilterIdentifier","showFilterModal","setShowFilterModal","branchOfficeNames","combinedBranchOffice","filterTypes","getPanelTypeList","panelTypeNames","equipmentClassNames","modelNames","combinedPanelTypes","combinedEquipmentClassNames","getModelList","getReportParametersForReportandExcelExport","onPanelTypeFilterClick","checkedData","Layout","Fragment","Routes","Route","path","Navigate","Attributes","PrivateRoute","RouteGuard","component","Component","App","token","setPathName","json","handleF1Key","handleStorageChange","pathNameWithOutSlash","signOutUser","Boolean","hostname","reportWebVitals","onPerfEntry","Function","getCLS","getFID","getFCP","getLCP","getTTFB","container","AppRenderCallback","Provider","store","BrowserRouter","createRoot","serviceWorker","ready","registration","ITEM_FILTERS","checkedItemList","getFilteredItems","selectedItemList","disabledItemList","updateAllChecked","newSiteList","_newSiteList$filter","siteListLength","checkedItemsLength","handleCheckboxClick","modifiedSiteList","handleRowClick","colOrder","colMap","Map","set","prioritySortedCols"],"mappings":"sHAAA,iQA0BA,MAAMA,EAAcC,YAAY,CAC/BC,KAAM,SACNC,aAb+B,CAC5BC,OAAQ,GACRC,YAAY,GACfC,sBAAuB,GACvBC,gBAAgB,GAChBC,YAAY,GACZC,uBAAwB,GACxBC,kBAAmB,GACnBC,cAAc,IAMdC,SAAU,CACHC,UAAWA,CAACC,EAAKC,KAAuC,IAArC,QAAEC,GAA6BD,EACvDD,EAAMV,OAASY,CAAO,EAEjBC,eAAgBA,CAACH,EAAKI,KAAqC,IAAnC,QAACF,GAA4BE,EAC1DJ,EAAMT,YAAcW,CAAO,EAE5BG,yBAA0BA,CAACL,EAAKM,KAAuC,IAArC,QAAEJ,GAA6BI,EAChEN,EAAMR,sBAAwBU,CAAO,EAEtCK,mBAAoBA,CAACP,EAAKQ,KAAqC,IAAnC,QAACN,GAA4BM,EACxDR,EAAMP,gBAAkBS,CAAO,EAEhCO,eAAgBA,CAACT,EAAKU,KAAqC,IAAnC,QAACR,GAA4BQ,EACpDV,EAAMN,YAAcQ,CAAO,EAE5BS,0BAA2BA,CAACX,EAAKY,KAAqC,IAAnC,QAACV,GAA4BU,EAC/DZ,EAAML,uBAAyBO,CAAO,EAEvCW,qBAAsBA,CAACb,EAAKc,KAAqC,IAAnC,QAACZ,GAA4BY,EAC1Dd,EAAMJ,kBAAoBM,CAAO,EAElCa,iBAAkBA,CAACf,EAAKgB,KAAqC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P,GAAa,EACf,GAkCkD4D,UAAU,uBAI1DJ,cAAC8B,IAAc,CACbC,cAAehF,EACfiF,iBAAkBhF,EAClBE,QAASA,MAEV,C","file":"static/js/main.b59a1233.chunk.js","sourcesContent":["import { createSlice, PayloadAction } from \"@reduxjs/toolkit\";\r\nimport {zlink, baseURL} from \"../../../../service/HttpService\"\r\nimport { AppThunk } from \"../../../store\";\r\n\r\nexport interface SearchState {\r\n errors: any;\r\n siteDetails:any;\r\n\tcontractSearchDetails: any;\r\n\tcustomerDetails:any;\r\n\tuserDetails:any;\r\n\tnotificationNumDetails: any;\r\n\tinspectionDetails: any;\r\n\tsystemDetails:any;\r\n}\r\n\r\nlet initialState: SearchState = {\r\n errors: \"\",\r\n siteDetails:[],\r\n\tcontractSearchDetails: [],\r\n\tcustomerDetails:[],\r\n\tuserDetails:[],\r\n\tnotificationNumDetails: [],\r\n\tinspectionDetails: [],\r\n\tsystemDetails:[],\r\n};\r\n\r\nconst SearchSlice = createSlice({\r\n\tname: \"search\",\r\n\tinitialState,\r\n\treducers: {\r\n setErrors: (state, { payload }: PayloadAction) => {\r\n\t\t\tstate.errors = payload;\r\n\t\t},\r\n setSiteDetails: (state, {payload}: PayloadAction) => {\r\n\t\t\tstate.siteDetails = payload;\r\n\t\t},\r\n\t\tsetContractSearchDetails: (state, { payload }: PayloadAction) => {\r\n\t\t\tstate.contractSearchDetails = payload;\r\n\t\t},\r\n\t\tsetCustomerDetails: (state, {payload}: PayloadAction) => {\r\n\t\t\tstate.customerDetails = payload;\r\n\t\t},\r\n\t\tsetUserDetails: (state, {payload}: PayloadAction) => {\r\n\t\t\tstate.userDetails = payload;\r\n\t\t},\r\n\t\tsetNotificationNumDetails: (state, {payload}: PayloadAction) => {\r\n\t\t\tstate.notificationNumDetails = payload;\r\n\t\t},\r\n\t\tsetInspectionDetails: (state, {payload}: PayloadAction) => {\r\n\t\t\tstate.inspectionDetails = payload;\r\n\t\t},\r\n\t\tsetSystemDetails: (state, {payload}: PayloadAction) => {\r\n\t\t\tstate.systemDetails = payload;\r\n\t\t},\r\n }\r\n});\r\n\r\nexport const getSiteSearchDetails = (siteSearchText:any): AppThunk => async (dispatch) => {\r\n\ttry {\r\n\t\tconst res = await zlink.post(`${baseURL}api/v1/common/search/site/${siteSearchText}/sitelist`,null);\r\n\t\tif (res.status === \"done\") {\r\n\t\t\tdispatch(setSiteDetails(res?.data?.siteDetails));\r\n\t\t} else {\r\n\t\t\tdispatch(setErrors(res.error));\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tdispatch(setErrors(error));\r\n\t}\r\n};\r\n\r\nexport const getContractSearchDetails = (searchText:any): AppThunk => async (dispatch) => {\r\n\ttry {\r\n\t const res = await zlink.post(`${baseURL}api/v1/common/search/contract/${searchText}/contractlist`,null);\r\n\t if (res.status === \"done\") {\r\n\t\tdispatch(setContractSearchDetails(res?.data?.contractDetails));\r\n\t } else {\r\n\t\tdispatch(setErrors(res.error));\r\n\t }\r\n\t} catch (error) {\r\n\t dispatch(setErrors(error));\r\n\t}\r\n };\r\n\r\nexport const getCustomerSearchDetails = (customerSearchText:any): AppThunk => async (dispatch) => {\r\n\ttry {\r\n\t\tlet body = {\r\n\t\t\tSearchText: customerSearchText\r\n\t\t };\r\n\t\tconst res = await zlink.post(`${baseURL}api/v1/admin/customer/list/search`,body);\r\n\t\tif (res.status === \"done\") {\r\n\t\t\tdispatch(setCustomerDetails(res?.data?.customerDetails));\r\n\t\t} else {\r\n\t\t\tdispatch(setErrors(res.error));\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tdispatch(setErrors(error));\r\n\t}\r\n};\r\n\r\nexport const getUserSearchDetails = (userSearchText:any): AppThunk => async (dispatch) => {\r\n\ttry {\r\n\t\tconst res = await zlink.get(`${baseURL}api/v1/users?keyword=${encodeURIComponent(userSearchText)}&selectedUserId`);\r\n\t\tif (res.status === \"done\") {\r\n\t\t\tdispatch(setUserDetails(res?.data?.userDetails));\r\n\t\t}\r\n\t else {\r\n\t\tdispatch(setErrors(res.error));\r\n\t}\r\n} catch (error) {\r\n\tdispatch(setErrors(error));\r\n}\r\n}\r\nexport const getInspectionDetails = (searchText:any): AppThunk => async (dispatch) => {\r\n\ttry {\r\n\t\tlet body = {\r\n\t\t\tSearchText: searchText,\r\n\t\t\tIsNotificationNumberSearch: false\r\n\t\t };\r\n\t\tconst res = await zlink.post(`${baseURL}api/v1/inspection/inspectiontask/search`,body);\r\n\t if (res.status === \"done\") {\r\n\t\tdispatch(setInspectionDetails(res?.data?.taskDetails));\r\n\t } else {\r\n\t\tdispatch(setErrors(res.error));\r\n\t }\r\n\t} catch (error) {\r\n\t dispatch(setErrors(error));\r\n\t}\r\n };\r\n\r\n export const getNotificationNumDetails = (searchText:any): AppThunk => async (dispatch) => {\r\n\ttry {\r\n\t\tlet body = {\r\n\t\t\tSearchText: searchText,\r\n\t\t\tIsNotificationNumberSearch: true\r\n\t\t };\r\n\t const res = await zlink.post(`${baseURL}api/v1/inspection/inspectiontask/search`,body);\r\n\t if (res.status === \"done\") {\r\n\t\tdispatch(setNotificationNumDetails(res?.data?.taskDetails));\r\n\t } else {\r\n\t\tdispatch(setErrors(res.error));\r\n\t }\r\n\t} catch (error) {\r\n\t dispatch(setErrors(error));\r\n\t}\r\n };\r\nexport const getSystemSearchDetails = (systemSearchText:any): AppThunk => async (dispatch) => {\r\n\ttry {\r\n\t\tconst res = await zlink.post(`${baseURL}api/v1/common/search/system/${systemSearchText}/systemlist`,null);\r\n\t\tif (res.status === \"done\") {\r\n\t\t\tdispatch(setSystemDetails(res?.data?.systemDetails));\r\n\t\t} else {\r\n\t\t\tdispatch(setErrors(res.error));\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tdispatch(setErrors(error));\r\n\t}\r\n};\r\n\r\n\r\nexport const {\r\n setErrors,\r\n setSiteDetails,\r\n\tsetCustomerDetails,\r\n\tsetNotificationNumDetails,\r\n\tsetInspectionDetails,\r\n\tsetSystemDetails,\r\n\tsetContractSearchDetails,\r\n\tsetUserDetails\r\n } = SearchSlice.actions;\r\nexport default SearchSlice.reducer;\r\n","import React, { useEffect, useRef, useState } from \"react\";\r\nimport { useForm } from \"react-hook-form\";\r\n\r\nimport { Button } from \"primereact/button\";\r\nimport MultiSelect from \"components/common/MultiSelect/MultiSelect\";\r\nimport { Dialog } from \"primereact/dialog\";\r\nimport { InputText } from \"primereact/inputtext\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { getInspectionSitesCustomers } from \"redux/pages/Inspection/InspectionTask/inspectionTaskSlice\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\nimport InformationBox from \"components/common/Message/InformationBox/InformationBox\";\r\n\r\ninterface Props {\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n activeSite: any;\r\n mapCustomer: (data: any) => void;\r\n}\r\n\r\ntype FormData = {\r\n};\r\n\r\nexport const InspectionMapCustomer: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => { },\r\n activeSite = [],\r\n mapCustomer = () => { },\r\n}) => {\r\n\r\n const customerList = useAppSelector((state) => state.inspectionTask.inspectionSiteCustomers);\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const [message, setMessage] = useState(\"\");\r\n const [searchKeyword, setSearchKeyword] = useState(\"\");\r\n const [customerListData, setCustomerListData] = useState([]);\r\n const dispatch = useDispatch();\r\n const customerMapForm: any = useRef();\r\n const selectedCustomers = useRef();\r\n const checkedRows = useRef();\r\n const disabledRows = useRef();\r\n\r\n const {\r\n handleSubmit,\r\n } = useForm({\r\n defaultValues: {\r\n },\r\n });\r\n\r\n useEffect(() => {\r\n dispatch(getInspectionSitesCustomers());\r\n }, [dispatch]);\r\n\r\n useEffect(() => {\r\n if (customerList?.length > 0 && showModal === true) {\r\n let siteArray: any = [];\r\n customerList.map((item: any) => {\r\n return siteArray.push({\r\n id: item.uniqueCustomerId,\r\n siteName: item.customerName,\r\n checked: item.isSelected,\r\n selected: false,\r\n disabled: item.isDisabled,\r\n });\r\n });\r\n setCustomerListData(siteArray);\r\n } else {\r\n setCustomerListData([]);\r\n }\r\n }, [customerList, showModal]);\r\n\r\n const mapSiteSearchList = () => {\r\n if (searchKeyword.length === 0) {\r\n var customerNewList: any = [];\r\n customerList.map((item: any) => {\r\n return customerNewList.push({\r\n id: item.uniqueCustomerId,\r\n siteName: item.customerName,\r\n checked: item.isSelected,\r\n selected: false,\r\n disabled: item.isDisabled,\r\n });\r\n });\r\n setCustomerListData(customerNewList);\r\n } else {\r\n dispatch(getInspectionSitesCustomers(searchKeyword));\r\n }\r\n setSearchKeyword(\"\");\r\n };\r\n\r\n const searchCustomerByEnterKey = (e: any) => {\r\n if (e.keyCode === 13) {\r\n mapSiteSearchList();\r\n }\r\n };\r\n\r\n const formSubmitHandler = (data: any) => {\r\n customerMapForm.current.requestSubmit();\r\n };\r\n\r\n\r\n const onCustomerMapFormSubmit = () => {\r\n if (customerList && customerList.length) {\r\n let customerIds: any = [];\r\n let allCheckedCustomers = [...checkedRows.current, ...disabledRows.current];\r\n allCheckedCustomers.map((item: any) => {\r\n customerIds.push(item.id);\r\n return null;\r\n });\r\n const data = {\r\n customerIds: customerIds,\r\n };\r\n mapCustomer && mapCustomer(data);\r\n } else {\r\n setMessage(\"No Customer exist\");\r\n setDisplayInfoModal(true);\r\n }\r\n };\r\n\r\n const renderFooter = () => {\r\n return (\r\n <>\r\n {\r\n setShowModal(false);\r\n setCustomerListData([]);\r\n }}\r\n className=\"cancel btn\"\r\n />\r\n \r\n }\r\n \r\n {true ? (\r\n
\r\n
    \r\n {customerList.map((item: any) => {\r\n return (\r\n
    \r\n handleCustomerClick(item)}\r\n >\r\n {item.customerName}\r\n
    \r\n ({item.customerNumber})\r\n \r\n \r\n \r\n \r\n \r\n {item.active && (\r\n // contract\r\n\r\n \r\n
    \r\n {showUI(userPrivileges, \"SIETAP_INSPECTIONS_MAPCONTRACT\") ? ( setShowInspectionMapContract(true)}\r\n >\r\n Map Contract\r\n ) : Select Contract\r\n }\r\n
    \r\n \r\n handleContractAllChecked(\r\n e,\r\n item.uniqueCustomerId\r\n )\r\n }\r\n />\r\n \r\n
    \r\n {(loggedInUserData?.userDefaults?.siteStatus === 'Active') && showUI(userPrivileges, \"SIETAP_INSPECTIONS_ADDCONTRACT\") &&\r\n setShowAddContract(true)}\r\n tooltip=\"Add Contract\"\r\n >\r\n \r\n \r\n }\r\n
    \r\n
      \r\n {showGrid &&\r\n contractList.map((contractItem: any) => (\r\n item.uniqueCustomerId === contractItem.uniqueCustomerId &&\r\n (
    • \r\n handleContractClick(\r\n item.uniqueCustomerId,\r\n contractItem.uniqueContractId\r\n )\r\n }\r\n >\r\n {contractItem.contractName}\r\n
    • )\r\n ))}\r\n
    \r\n
    \r\n )}\r\n
    \r\n );\r\n })}\r\n
\r\n
\r\n ) : (\r\n

No Customer Exist

\r\n )}\r\n \r\n {showAddContract && (\r\n onAddContractClick(data)}\r\n isFromInspection={true}\r\n />\r\n )}\r\n {showAddCustomer && (\r\n onAddCustomerClick(data)}\r\n isAddContract={true}\r\n userCountryId={countryId}\r\n />\r\n )}\r\n {showSiteMapCustomer && (\r\n \r\n )}\r\n {showInspectionMapContract && (\r\n onMapContract(data)}\r\n />\r\n )}\r\n \r\n\r\n onCancelAction()}\r\n confirmAction={onConfirmAction}\r\n message={message}\r\n />\r\n \r\n );\r\n};\r\n\r\nexport default memo(InspectionTasksFilter);\r\n\r\n","import React, { useState, useEffect, useCallback } from 'react';\r\nimport { useNavigate } from \"react-router-dom\";\r\n\r\nimport { MdOutlineSort } from 'react-icons/md';\r\nimport { BsChevronDown, BsChevronUp, BsList } from 'react-icons/bs';\r\n\r\nimport { AutoComplete } from 'primereact/autocomplete';\r\n\r\nimport { APP_ROUTES } from 'constants/AppRoutes';\r\nimport { ORGANIZATION_TYPES, INSPECTION_REPORT_TYPES, CUSTOMIZATION_ATTRIBUTES_TYPE,SECURITY_SETTINGS_TYPE } from 'constants/common';\r\n\r\nimport InspectionTasksFilter from '../../pages/InspectionTasks/InspectionTasksFilter';\r\n\r\nimport { useAppSelector } from \"../../redux/hooks\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport {setUserFilterRoles} from \"redux/pages/Administration/User/userSlice\";\r\n\r\ninterface Props {\r\n filterExpanded: boolean,\r\n setFilterExpanded?: (state) => void,\r\n userFilter?: boolean,\r\n organizationFilter?: boolean,\r\n onUserRoleChange?: (data: any) => void,\r\n from?: any,\r\n reportFilter?: boolean,\r\n attributesFilter?: boolean,\r\n securitysettingFilter?: boolean,\r\n handleTabChange?: (from: any) => void,\r\n getSelectedReportsTab?: (selectedItem: string) => void,\r\n inspectionTasksFilter?: boolean,\r\n setShowAddInspectionTaskModal?: (state) => void;\r\n}\r\n\r\nexport const Filters: React.FC = ({\r\n filterExpanded = false,\r\n setFilterExpanded = () => { },\r\n userFilter = false,\r\n organizationFilter = false,\r\n onUserRoleChange = () => { },\r\n from = '',\r\n reportFilter = false,\r\n attributesFilter = false,\r\n securitysettingFilter = false,\r\n handleTabChange = () => { },\r\n getSelectedReportsTab = () => { },\r\n inspectionTasksFilter = false,\r\n setShowAddInspectionTaskModal = () => { },\r\n}) => {\r\n const COUNTRY_LIST = [\r\n { name: 'USA', code: 'US' },\r\n { name: 'CANADA', code: 'CA' }\r\n ];\r\n\r\n const ZONE_LIST = [\r\n { name: 'ZONE1', code: 'Z1' },\r\n { name: 'ZONE2', code: 'Z2' }\r\n ];\r\n\r\n const SALESOFFICE_LIST = [\r\n { name: 'SALES1', code: 'S1' },\r\n { name: 'SALES2', code: 'S2' }\r\n ];\r\n\r\n const BRANCHOFFICE_LIST = [\r\n { name: 'BRANCH1', code: 'B1' },\r\n { name: 'BRANCH2', code: 'B2' }\r\n ];\r\n\r\n\r\n const ORGANIZATION_ZONE_LIST = [\r\n { name: 'Zone', code: 'ZN' },\r\n { name: 'Sales Office', code: 'SO' },\r\n { name: 'Branch Office', code: 'BO' },\r\n ];\r\n\r\n const INSPECTION_REPORTS_LIST = [\r\n { name: INSPECTION_REPORT_TYPES.REPORT_GROUPS, code: 'RG', active: true },\r\n { name: INSPECTION_REPORT_TYPES.REPORTS, code: 'RP', active: false },\r\n { name: INSPECTION_REPORT_TYPES.REPORT_TEMPLATES, code: 'RT', active: false },\r\n { name: INSPECTION_REPORT_TYPES.REPORT_CONFIGS, code: 'RC', active: false },\r\n ];\r\n\r\n const SECURITY_SETTINGS_TYPE_LIST = [\r\n { name: SECURITY_SETTINGS_TYPE.PASSWORD_POLICY, code: 'PP', active: false },\r\n { name: SECURITY_SETTINGS_TYPE.MAIL_DOMAINS, code: 'MD', active: false },\r\n ];\r\n const CUSTOMIZATION_ATTRIBUTES_LIST = [\r\n { name: CUSTOMIZATION_ATTRIBUTES_TYPE.COMMON_ATTRIBUTES, code: 'CM', active: true },\r\n { name: CUSTOMIZATION_ATTRIBUTES_TYPE.COMMON_ATTRIBUTES_VALUES, code: 'CMV', active: false },\r\n { name: CUSTOMIZATION_ATTRIBUTES_TYPE.EQUIPMENT_TYPE_ATTRIBUTES, code: 'ETA', active: false },\r\n { name: CUSTOMIZATION_ATTRIBUTES_TYPE.EQUIPMENT_TYPE_ATTRIBUTES_VALUES, code: 'ETAV', active: false },\r\n ];\r\n\r\n\r\n const navigate = useNavigate();\r\n const dispatch = useDispatch();\r\n\r\n const userPrivileges = useAppSelector((state) => state.user.userPrivileges);\r\n const userRoleIdOnSearch = useAppSelector( (state) => state.user.userRoleIdOnSearch);\r\n\r\n const [countryExpanded, setCountryExpanded] = useState(false);\r\n const [zoneExpanded, setZoneExpanded] = useState(false);\r\n const [salesOfficeExpanded, setSalesOfficeExpanded] = useState(false);\r\n const [branchOfficeExpanded, setBranchOfficeExpanded] = useState(false);\r\n\r\n const [country, setCountry] = useState(null);\r\n const [zone, setZone] = useState(null);\r\n const [salesOffice, setSalesOffice] = useState(null);\r\n const [branchOffice, setBranchOffice] = useState(null);\r\n\r\n const [selectedCountry, setSelectedCountry] = useState({});\r\n const [selectedZone, setSelectedZone] = useState({});\r\n const [selectedSalesOffice, setSelectedSalesOffice] = useState({});\r\n const [selectedBranchOffice, setSelectedBranchOffice] = useState({});\r\n\r\n const [filteredCountries, setFilteredCountries] = useState(null);\r\n const [filteredZones, setFilteredZones] = useState(null);\r\n const [filteredSalesOffice, setFilteredSalesOffice] = useState(null);\r\n const [filteredBranchOffice, setFilteredBranchOffice] = useState(null);\r\n\r\n const [userRolesList,setUserRolesList]=useState();\r\n const [selectedUserRole, setSelectedUserRole] = useState();\r\n\r\n const [organizationZones, setOrganizationZones] = useState>([]);\r\n\r\n const [inspectionReports, setInspectionReports] = useState>(INSPECTION_REPORTS_LIST);\r\n\r\n const [CustomizationAttributes, setCustomizationAttributes] = useState>(CUSTOMIZATION_ATTRIBUTES_LIST);\r\n\r\n const [SecuritySetting, setSecuritySetting] = useState>(SECURITY_SETTINGS_TYPE_LIST);\r\n\r\n useEffect(()=>{\r\n if(userPrivileges && userPrivileges.length){\r\n filterDefaultRoleList();\r\n }\r\n },[userPrivileges])\r\n\r\n useEffect(() => {\r\n if (userRoleIdOnSearch) {\r\n setSelectedUserRole(userRoleIdOnSearch)\r\n }\r\n }, [userRoleIdOnSearch])\r\n\r\n const filterDefaultRoleList =()=>{\r\n let userRoles:any = [];\r\n userPrivileges.map(element => {\r\n if(element === 'SIETAP_SUPER_ADMIN_MANAGE'){ \r\n userRoles.push({name: 'Super Administrators', code: 'SA',id:1})\r\n } else if(element === 'SIETAP_SUPPORT_USER_MANAGE'){ \r\n userRoles.push({name: 'Support', code: 'SO', id:2})\r\n } else if(element === 'SIETAP_ADMIN_USER_MANAGE'){ \r\n userRoles.push({name: 'Admin', code: 'AM',id:3 })\r\n } else if(element === 'SIETAP_TECH_ADMIN_MANAGE'){ \r\n userRoles.push({name: 'Admin-Tech', code: 'AT',id:4 })\r\n } else if(element === 'SIETAP_TECH_MANAGE'){ \r\n userRoles.push({name: 'Tech', code: 'TE',id:5 })\r\n } else if(element === 'SIETAP_BRANCH_ADMIN_MANAGE'){ \r\n userRoles.push({name: 'Branch', code: 'BR',id:6 })\r\n }\r\n });\r\n userRoles=userRoles.sort((a,b) => (a.id - b.id))\r\n setUserRolesList(userRoles)\r\n dispatch(setUserFilterRoles(userRoles))\r\n setSelectedUserRole(userRoles[0]?.name); \r\n }\r\n const searchCountry = (event: { query: string }) => {\r\n setTimeout(() => {\r\n let _filteredCountries;\r\n if (!event.query.trim().length) {\r\n _filteredCountries = [...COUNTRY_LIST];\r\n }\r\n else {\r\n _filteredCountries = COUNTRY_LIST.filter((country) => {\r\n return country.name.toLowerCase().startsWith(event.query.toLowerCase());\r\n });\r\n }\r\n\r\n setFilteredCountries(_filteredCountries);\r\n }, 250);\r\n };\r\n\r\n const searchZone = (event: { query: string }) => {\r\n setTimeout(() => {\r\n let _filteredZones;\r\n if (!event.query.trim().length) {\r\n _filteredZones = [...ZONE_LIST];\r\n }\r\n else {\r\n _filteredZones = ZONE_LIST.filter((zone) => {\r\n return zone.name.toLowerCase().startsWith(event.query.toLowerCase());\r\n });\r\n }\r\n\r\n setFilteredZones(_filteredZones);\r\n }, 250);\r\n };\r\n\r\n\r\n const searchSalesOffice = (event: { query: string }) => {\r\n setTimeout(() => {\r\n let _filteredSalesOffice;\r\n if (!event.query.trim().length) {\r\n _filteredSalesOffice = [...SALESOFFICE_LIST];\r\n }\r\n else {\r\n _filteredSalesOffice = SALESOFFICE_LIST.filter((office) => {\r\n return office.name.toLowerCase().startsWith(event.query.toLowerCase());\r\n });\r\n }\r\n\r\n setFilteredSalesOffice(_filteredSalesOffice);\r\n }, 250);\r\n };\r\n\r\n\r\n const searchBranchOffice = (event: { query: string }) => {\r\n setTimeout(() => {\r\n let _filteredBranchOffice;\r\n if (!event.query.trim().length) {\r\n _filteredBranchOffice = [...BRANCHOFFICE_LIST];\r\n }\r\n else {\r\n _filteredBranchOffice = BRANCHOFFICE_LIST.filter((zone) => {\r\n return zone.name.toLowerCase().startsWith(event.query.toLowerCase());\r\n });\r\n }\r\n\r\n setFilteredBranchOffice(_filteredBranchOffice);\r\n }, 250);\r\n };\r\n\r\n\r\n const itemTemplate = (item: any) => {\r\n return (\r\n
\r\n
{item.name}
\r\n
\r\n );\r\n };\r\n\r\n const userRoleClick = (event: any) => {\r\n setSelectedUserRole(event.name)\r\n onUserRoleChange && onUserRoleChange(event.name)\r\n }\r\n\r\n const getFilterTemplate = () => {\r\n if (userFilter) {\r\n return <>\r\n
    \r\n {userRolesList?.map(item => ( \r\n userRoleClick(item)}\r\n >{item.name}\r\n ))}\r\n
\r\n \r\n }\r\n\r\n if (organizationFilter) {\r\n return <>\r\n
    \r\n {organizationZones.map(item => (\r\n {item.name}\r\n ))}\r\n
\r\n \r\n }\r\n\r\n if (reportFilter) {\r\n return <>\r\n
    \r\n {inspectionReports.map(item => (\r\n {item.name}\r\n ))}\r\n
\r\n \r\n }\r\n\r\n if (inspectionTasksFilter) {\r\n return ;\r\n }\r\n\r\n if (attributesFilter) {\r\n return <>\r\n
    \r\n {CustomizationAttributes.map(item => (\r\n {item.name}\r\n ))}\r\n
\r\n \r\n }\r\n\r\n if (securitysettingFilter) {\r\n return <>\r\n
    \r\n {SecuritySetting.map(item => (\r\n {item.name}\r\n ))}\r\n
\r\n \r\n }\r\n return (\r\n <>\r\n
\r\n setFilterExpanded(false)} />\r\n Filters\r\n
\r\n
\r\n
    \r\n
  • \r\n
    setCountryExpanded(!countryExpanded)}>\r\n {(!countryExpanded && selectedCountry.name) ? {selectedCountry.name} : Select Country}\r\n {countryExpanded ? : }\r\n
    \r\n {countryExpanded &&\r\n setCountry(e.value)} onSelect={e => setSelectedCountry(e.value)} aria-label=\"Countries\" />\r\n }\r\n {countryExpanded && selectedCountry.name &&
    \r\n
    \r\n {selectedCountry.code}\r\n {selectedCountry.name}\r\n
    \r\n { setSelectedCountry({}); setCountry(null); }} />\r\n
    }\r\n
  • \r\n\r\n
  • \r\n
    setZoneExpanded(!zoneExpanded)}>\r\n {(!zoneExpanded && selectedZone.name) ? {selectedZone.name} : Select Zone}\r\n {zoneExpanded ? : }\r\n
    \r\n {zoneExpanded &&\r\n setZone(e.value)} onSelect={e => setSelectedZone(e.value)} aria-label=\"Zones\" />\r\n }\r\n {zoneExpanded && selectedZone.name &&
    \r\n
    \r\n {selectedZone.code}\r\n {selectedZone.name}\r\n
    \r\n { setSelectedZone({}); setZone(null); }} />\r\n
    }\r\n
  • \r\n\r\n
  • \r\n
    setSalesOfficeExpanded(!salesOfficeExpanded)}>\r\n {(!salesOfficeExpanded && selectedSalesOffice.name) ? {selectedSalesOffice.name} : Select Sales Office}\r\n {salesOfficeExpanded ? : }\r\n
    \r\n {salesOfficeExpanded &&\r\n setSalesOffice(e.value)} onSelect={e => setSelectedSalesOffice(e.value)} aria-label=\"Sales Office\" />\r\n }\r\n {salesOfficeExpanded && selectedSalesOffice.name &&
    \r\n
    \r\n {selectedSalesOffice.code}\r\n {selectedSalesOffice.name}\r\n
    \r\n { setSelectedSalesOffice({}); setSalesOffice(null); }} />\r\n
    }\r\n
  • \r\n\r\n
  • \r\n
    setBranchOfficeExpanded(!branchOfficeExpanded)}>\r\n {(!branchOfficeExpanded && selectedBranchOffice.name) ? {selectedBranchOffice.name} : Select Branch Office}\r\n {branchOfficeExpanded ? : }\r\n
    \r\n {branchOfficeExpanded &&\r\n setBranchOffice(e.value)} onSelect={e => setSelectedBranchOffice(e.value)} aria-label=\"Branch Office\" />\r\n }\r\n {branchOfficeExpanded && selectedBranchOffice.name &&
    \r\n
    \r\n {selectedBranchOffice.code}\r\n {selectedBranchOffice.name}\r\n
    \r\n { setSelectedBranchOffice({}); setBranchOffice(null); }} />\r\n
    }\r\n
  • \r\n
\r\n
\r\n \r\n )\r\n };\r\n\r\n const inspectionReportsClick = (event: any) => {\r\n const modifiedInspectionReports = inspectionReports.map(item => {\r\n if (item.name === event?.target?.innerText) {\r\n item['active'] = true;\r\n } else {\r\n item['active'] = false;\r\n }\r\n return item;\r\n });\r\n\r\n const selectedItem = modifiedInspectionReports.find(item => item.active);\r\n setInspectionReports(modifiedInspectionReports);\r\n getSelectedReportsTab(selectedItem?.name || '');\r\n };\r\n\r\n\r\n\r\n const customizationattributesClick = (event: any) => {\r\n const modifiedcustomizationattributes = CustomizationAttributes.map(item => {\r\n if (item.name === event?.target?.innerText) {\r\n item['active'] = true;\r\n } else {\r\n item['active'] = false;\r\n }\r\n return item;\r\n });\r\n\r\n const selectedItem = modifiedcustomizationattributes.find(item => item.active);\r\n setCustomizationAttributes(modifiedcustomizationattributes);\r\n getSelectedReportsTab(selectedItem?.name || '');\r\n };\r\n\r\n \r\n const securitysettingsClick = (event: any) => {\r\n const modifiedSecuritySetting = SecuritySetting.map(item => {\r\n if (item.name === event?.target?.innerText) {\r\n item['active'] = true;\r\n } else {\r\n item['active'] = false;\r\n }\r\n return item;\r\n });\r\n\r\n const selectedItem = modifiedSecuritySetting.find(item => item.active);\r\n setSecuritySetting(modifiedSecuritySetting);\r\n getSelectedReportsTab(selectedItem?.name || '');\r\n };\r\n\r\n\r\n const handleTabRedirect = useCallback((activeTabName) => {\r\n \r\n const getActiveTab = () => {\r\n switch (activeTabName) {\r\n case 'Zone': {\r\n return ORGANIZATION_TYPES.ZONE;\r\n }\r\n case 'Sales Office': {\r\n return ORGANIZATION_TYPES.SALES;\r\n }\r\n case 'Branch Office': {\r\n return ORGANIZATION_TYPES.BRANCH;\r\n }\r\n default: {\r\n return ORGANIZATION_TYPES.ZONE;\r\n }\r\n }\r\n };\r\n\r\n navigate(`/${APP_ROUTES.MANAGE_ORGANIZATION}`, {\r\n state: {\r\n from: getActiveTab()\r\n }\r\n });\r\n }, [navigate]);\r\n\r\n const organizationRoleClick = useCallback((event: any) => {\r\n handleTabRedirect(event?.target?.innerText);\r\n }, [handleTabRedirect]);\r\n\r\n const selectActiveTab = useCallback((event: any) => {\r\n const modifiedOrgZones = ORGANIZATION_ZONE_LIST.map(item => {\r\n if (item.name === event?.target?.innerText) {\r\n item['active'] = true;\r\n } else {\r\n item['active'] = false;\r\n }\r\n\r\n return item;\r\n });\r\n setOrganizationZones(modifiedOrgZones);\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, []);\r\n\r\n const getActiveEvent = useCallback(() => {\r\n const event = { target: { innerText: '' } };\r\n\r\n switch (from) {\r\n case ORGANIZATION_TYPES.ZONE: {\r\n event.target.innerText = 'Zone';\r\n break;\r\n }\r\n case ORGANIZATION_TYPES.SALES: {\r\n event.target.innerText = 'Sales Office';\r\n break;\r\n }\r\n case ORGANIZATION_TYPES.BRANCH: {\r\n event.target.innerText = 'Branch Office';\r\n break;\r\n }\r\n default: {\r\n event.target.innerText = 'Zone';\r\n }\r\n }\r\n\r\n return event;\r\n }, [from]);\r\n\r\n useEffect(() => {\r\n selectActiveTab(getActiveEvent());\r\n }, [selectActiveTab, getActiveEvent]);\r\n\r\n return (\r\n
\r\n {\r\n (filterExpanded )? getFilterTemplate() :
\r\n setFilterExpanded(true)} />\r\n
\r\n }\r\n
\r\n );\r\n}\r\n\r\nexport default Filters;","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\";\r\nimport { zlink, baseURL } from \"../../../../../service/HttpService\";\r\nimport { AppThunk } from \"../../../../store\";\r\nimport { onDownloadByFileName } from \"redux/common/commonSlice\";\r\n\r\nexport interface ReportTemplateState {\r\n errors: any;\r\n reportTemplateList: any;\r\n reportTemplatePageDetails: any;\r\n newReportTemplate: any;\r\n deletedReportTemplate: any;\r\n}\r\n\r\nlet initialState: ReportTemplateState = {\r\n errors: \"\",\r\n reportTemplateList: [],\r\n reportTemplatePageDetails: [],\r\n newReportTemplate: \"\",\r\n deletedReportTemplate: \"\",\r\n};\r\n\r\nconst ReportTemplateSlice = createSlice({\r\n name: \"reporttemplate\",\r\n initialState,\r\n reducers: {\r\n setErrors: (state, { payload }: PayloadAction) => {\r\n state.errors = payload;\r\n },\r\n setReportTemplateList: (state, { payload }: PayloadAction) => {\r\n state.reportTemplateList = payload;\r\n\r\n \r\n },\r\n setReportTemplatePageDetails: (state, { payload }: PayloadAction) => {\r\n state.reportTemplatePageDetails = payload;\r\n },\r\n setNewReportTemplate: (state, { payload }: PayloadAction) => {\r\n state.newReportTemplate = payload;\r\n },\r\n setDeletedReportTemplate: (state, { payload }: PayloadAction) => {\r\n state.deletedReportTemplate = payload;\r\n },\r\n },\r\n});\r\n\r\nexport const getReportTemplateList =\r\n (currentStart,keyword,sortField,sortOrder): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/reporttemplates?currentStart=${currentStart}&keyword=${keyword}&sortcolumn=${sortField}&sortorder=${sortOrder}`);\r\n if (res.status === \"done\") {\r\n dispatch(setReportTemplateList(res?.data?.reportTemplateDetails));\r\n dispatch(setReportTemplatePageDetails(res?.data?.pageDetails));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\n export const onAddReportTemplate =\r\n (body,setMessage,setDisplayInfoModal): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/reporttemplates/add `, body);\r\n if (res.status === \"done\") {\r\n dispatch(setNewReportTemplate(res?.data?.reportTemplateDetails ));\r\n setDisplayInfoModal(true);\r\n setMessage(\"Report Template added\");\r\n } else {\r\n setDisplayInfoModal(true);\r\n setMessage(res.message);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const deleteReportTemplate = (body, setMessage, setDisplayInfoModal): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/reporttemplates/remove`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setDeletedReportTemplate(res))\r\n setMessage(\"Report Template deleted\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const getDownloadTemplateFilePath = (body:any, setMessage: any, setDisplayInfoModal: any,): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/reporttemplates/file`,body);\r\n if (res.status === \"done\") {\r\n dispatch(onDownloadByFileName(res?.data?.fileName, res?.data?.fullPath, setMessage, setDisplayInfoModal));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const { setErrors,\r\n setReportTemplateList,\r\n setReportTemplatePageDetails,\r\n setNewReportTemplate,\r\n setDeletedReportTemplate } =\r\n ReportTemplateSlice.actions;\r\nexport default ReportTemplateSlice.reducer;\r\n","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\";\r\nimport { zlink, baseURL } from \"../../../../../service/HttpService\";\r\nimport { AppThunk } from \"../../../../store\";\r\nimport { onDownloadByFileName } from \"redux/common/commonSlice\";\r\n\r\nexport interface ReportConfigState {\r\n errors: any;\r\n reportConfigList: any;\r\n reportConfigPageDetails: any;\r\n newReportConfigData: any;\r\n deletedReportConfigData: any;\r\n}\r\n\r\nlet initialState: ReportConfigState = {\r\n errors: \"\",\r\n reportConfigList: [],\r\n reportConfigPageDetails: [],\r\n newReportConfigData: \"\",\r\n deletedReportConfigData: \"\",\r\n};\r\n\r\nconst ReportConfigSlice = createSlice({\r\n name: \"reportConfig\",\r\n initialState,\r\n reducers: {\r\n setErrors: (state, { payload }: PayloadAction) => {\r\n state.errors = payload;\r\n },\r\n setReportConfigList: (state, { payload }: PayloadAction) => {\r\n state.reportConfigList = payload; \r\n },\r\n setReportConfigPageDetails: (state, { payload }: PayloadAction) => {\r\n state.reportConfigPageDetails = payload;\r\n },\r\n setNewReportConfigData: (state, { payload }: PayloadAction) => {\r\n state.newReportConfigData = payload; \r\n },\r\n setDeletedReportConfigData: (state, { payload }: PayloadAction) => {\r\n state.deletedReportConfigData = payload; \r\n }\r\n },\r\n});\r\n\r\nexport const getReportConfigList =\r\n (currentStart,keyword,sortField,sortOrder): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/reportconfigs?currentStart=${currentStart}&keyword=${keyword}&sortcolumn=${sortField}&sortorder=${sortOrder}`);\r\n if (res.status === \"done\") {\r\n dispatch(setReportConfigList(res?.data?.reportConfigDetails));\r\n dispatch(setReportConfigPageDetails(res?.data?.pageDetails));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n export const onAddReportConfig =\r\n (body,setMessage,setDisplayInfoModal): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/reportconfigs/add`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setNewReportConfigData(res?.data?.reportConfigDetails ));\r\n setDisplayInfoModal(true);\r\n setMessage(\"Report Config added\");\r\n } else {\r\n setDisplayInfoModal(true);\r\n setMessage(res.message);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const deleteReportConfig = (body, setMessage, setDisplayInfoModal): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/reportconfigs/remove`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setDeletedReportConfigData(res))\r\n setMessage(\"Report Config deleted\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const getDownloadConfigFilePath = (body:any, setMessage: any, setDisplayInfoModal: any,): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/reportconfigs/file`,body);\r\n if (res.status === \"done\") {\r\n dispatch(onDownloadByFileName(res?.data?.fileName, res?.data?.fullPath, setMessage, setDisplayInfoModal));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const { setErrors,\r\n setReportConfigList,\r\n setReportConfigPageDetails,\r\n setNewReportConfigData,\r\n setDeletedReportConfigData } =\r\nReportConfigSlice.actions;\r\nexport default ReportConfigSlice.reducer;\r\n","import React, { useState, useRef, useCallback, useEffect } from 'react';\r\nimport { useForm, Controller } from \"react-hook-form\";\r\nimport { InputTextarea } from 'primereact/inputtextarea';\r\nimport { InputText } from 'primereact/inputtext';\r\nimport { Dropdown } from 'primereact/dropdown';\r\nimport { Calendar } from 'primereact/calendar';\r\nimport { Dialog } from 'primereact/dialog';\r\nimport { DataTable } from 'primereact/datatable';\r\nimport { Column } from 'primereact/column';\r\nimport { classNames } from 'primereact/utils';\r\nimport { Button } from 'primereact/button';\r\n\r\nimport { BsExclamationCircleFill, BsPlusLg } from 'react-icons/bs';\r\nimport moment from 'moment';\r\n\r\n//redux\r\nimport { useDispatch } from 'react-redux';\r\nimport { useAppSelector } from 'redux/hooks';\r\nimport { getCustomerLookup, getSalesOfficeLookup, onSiteCustomerMapping } from 'redux/pages/Inspection/Contracts/contractSlice';\r\nimport { onAddCustomer } from 'redux/pages/Administration/administrationSlice'\r\nimport InformationBox from 'components/common/Message/InformationBox/InformationBox';\r\nimport AddModal from 'components/Table/AddModal/AddModal';\r\nimport AddCustomer from 'pages/Customers/ManageCustomer/AddCustomer';\r\nimport {\r\n USAPattern,\r\n CanadaPattern,\r\n} from \"./ContractNumberPattern\";\r\n\r\ninterface Props {\r\n selectedCustomerId?: any;\r\n showModal: boolean,\r\n setShowModal: (state: boolean) => void,\r\n onAddContractClick: (data: any) => void,\r\n isFromInspection?: boolean,\r\n isFromCopy?: boolean,\r\n siteId?: string;\r\n}\r\n\r\ntype FormData = {\r\n uniqueCustomerId: string,\r\n contractNumber: string,\r\n contractName: string,\r\n startDate: any,\r\n endDate: any,\r\n notes: string,\r\n status: string,\r\n salesOffice: string\r\n};\r\n\r\nexport const AddContract: React.FC = ({\r\n selectedCustomerId,\r\n showModal = false,\r\n setShowModal = () => { },\r\n onAddContractClick = () => { },\r\n isFromInspection = false,\r\n isFromCopy = false,\r\n siteId = null,\r\n}) => {\r\n\r\n const {\r\n control,\r\n handleSubmit,\r\n getValues,\r\n setValue,\r\n formState: { errors },\r\n } = useForm({\r\n defaultValues: {\r\n uniqueCustomerId: undefined,\r\n contractNumber: '',\r\n contractName: '',\r\n startDate: null,\r\n endDate: null,\r\n notes: '',\r\n status: 'Active',\r\n salesOffice: ''\r\n }\r\n });\r\n const customerData = useAppSelector((state) => state.contract.customerData);\r\n const salesOfficeData = useAppSelector((state) => state.contract.salesOfficeData);\r\n const loggedInUserData = useAppSelector((state) => state.administration.loggedInUserDetails)\r\n const newCustomerData = useAppSelector((state) => state.administration.newCustomerData);\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const [message, setMessage] = useState(\"\");\r\n const [customerLookup, setCustomerLookup] = useState([{ name: \"\", code: \"\" }]);\r\n const [salesOfficeLookup, setSalesOfficeLookup] = useState([{ name: \"\", code: \"\" }]);\r\n const [countryId, setCountryId] = useState(220)\r\n const [showAddCustomer, setShowAddCustomer] = useState()\r\n const [showPatternModal, setShowPatternModal] = useState(false);\r\n const [pattern, setPattern] = useState([]);\r\n const [contractNumberPattern, setContractNumberPattern] = useState();\r\n const [isAddCustomer, setIsAddCustomer] = useState(false);\r\n const addForm: any = useRef();\r\n\r\n const dispatch = useDispatch(); \r\n\r\n const setDate = useCallback(() => {\r\n let endDate = moment(new Date()).add(12, \"M\").format();\r\n setValue(\"startDate\", new Date());\r\n setValue(\"endDate\", new Date(endDate));\r\n }, [setValue])\r\n\r\n useEffect(() => {\r\n setDate();\r\n const body = {\r\n uniqueSiteId: siteId ? siteId : null\r\n }\r\n dispatch(getCustomerLookup(body));\r\n if (!isFromCopy) {\r\n dispatch(getSalesOfficeLookup());\r\n }\r\n }, [dispatch, setDate])\r\n\r\n useEffect(() => {\r\n if (loggedInUserData) {\r\n setCountryId(loggedInUserData.userDefaults?.countryId)\r\n }\r\n }, [loggedInUserData])\r\n\r\n useEffect(() => {\r\n if (customerData?.length) {\r\n let customer: { name: string, code: string }[] = [];\r\n customerData?.map((item: any) => {\r\n return customer.push({ name: item.customerName, code: item.uniqueCustomerId });\r\n })\r\n if (customer.length === 1)\r\n setValue(\"uniqueCustomerId\", customer[0].code);\r\n setCustomerLookup(customer);\r\n if (selectedCustomerId)\r\n setValue(\"uniqueCustomerId\", selectedCustomerId);\r\n }\r\n\r\n }, [customerData])\r\n\r\n useEffect(() => {\r\n if (salesOfficeData?.length) {\r\n let salesOffice: { name: string, code: string }[] = [];\r\n salesOfficeData?.map((item: any) => {\r\n return salesOffice.push({ name: item.salesOfficeName, code: item.uniqueSalesOfficeId });\r\n })\r\n setSalesOfficeLookup(salesOffice)\r\n }\r\n\r\n }, [salesOfficeData])\r\n \r\n useEffect(() => {\r\n if (newCustomerData && isAddCustomer) {\r\n let customer: any = [];\r\n let customerName = newCustomerData.customerName + \" (\" + newCustomerData.customerNumber + \")\"\r\n customer.push({ name: customerName, code: newCustomerData.uniqueCustomerId })\r\n setCustomerLookup([...customerLookup, customer[0]])\r\n setValue(\"uniqueCustomerId\", customer[0].code)\r\n setIsAddCustomer(false);\r\n let uniqueSiteIds :any = [];\r\n uniqueSiteIds.push(loggedInUserData?.userDefaults?.uniqueSiteId)\r\n \r\n dispatch(onSiteCustomerMapping(customer[0].code,uniqueSiteIds))\r\n \r\n }\r\n }, [newCustomerData, setValue])\r\n\r\n useEffect(() => {\r\n if (countryId === 220) {\r\n setPattern(USAPattern);\r\n setContractNumberPattern(/^([5]\\d{9}|44OP[-]\\d{6}|26\\d{8}|44OC[-]\\d{7})$/);\r\n } else {\r\n setPattern(CanadaPattern);\r\n setContractNumberPattern(/^(([4]\\d{7})|((60|13)\\d{5})|([a-zA-Z][-][0-9]{2}[-][a-zA-Z][-][0-9]{4})|([a-zA-Z][-]SI[-][0-9]{5}))$/);\r\n }\r\n }, [countryId]);\r\n\r\n const onAddFormSubmit = (data: any) => {\r\n if (new Date(data.startDate) > new Date(data.endDate)) {\r\n setDisplayInfoModal(true)\r\n setMessage(\"End Date should be greater than Start Date\")\r\n } else {\r\n data.startDate = moment(data?.startDate).format(\"DD MMM YYYY\").toString()\r\n data.endDate = moment(data?.endDate).format(\"DD MMM YYYY\").toString()\r\n data.contractName = data.contractName?.trim();\r\n data.notes = data.notes?.trim();\r\n\r\n onAddContractClick && onAddContractClick(data)\r\n }\r\n };\r\n\r\n const formSubmitHandler = (data: any) => {\r\n addForm.current.requestSubmit();\r\n };\r\n\r\n const getFormErrorMessage = (name) => {\r\n return errors[name] && {errors[name].message}\r\n };\r\n\r\n //handle form validation errors\r\n\r\n const onAddCustomerClick = (event) => {\r\n event?.preventDefault();\r\n setShowAddCustomer(true)\r\n }\r\n const onAddCustomerData = (submitData: any) => {\r\n setIsAddCustomer(true)\r\n dispatch(\r\n onAddCustomer(\r\n submitData,\r\n setMessage,\r\n setDisplayInfoModal,\r\n setShowAddCustomer,\r\n setShowAddCustomer,\r\n false\r\n ))\r\n }\r\n return (\r\n
\r\n \r\n
\r\n setShowPatternModal(false)}\r\n className='pattern-overlay'\r\n style={{ width: '35vw' }}\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n (\r\n field.onChange(e.value)} options={customerLookup} optionValue=\"code\" optionLabel=\"name\" />\r\n )} />\r\n \r\n {getFormErrorMessage('uniqueCustomerId')}\r\n \r\n
\r\n {!isFromInspection && (
\r\n \r\n \r\n \r\n
)}\r\n
\r\n
\r\n setShowPatternModal(true)}>View Pattern\r\n \r\n (\r\n \r\n )} />\r\n \r\n {getFormErrorMessage('contractNumber')}\r\n \r\n
\r\n
\r\n \r\n {\r\n return value.trim().length <= 0\r\n ? \"Contract Name is required.\" : true\r\n },\r\n }} render={({ field, fieldState }) => (\r\n \r\n )} />\r\n \r\n {getFormErrorMessage('contractName')}\r\n \r\n
\r\n\r\n
\r\n \r\n (\r\n field.onChange(e.value)} />\r\n )} />\r\n \r\n {getFormErrorMessage('startDate')}\r\n \r\n
\r\n\r\n
\r\n \r\n {\r\n return getValues(\"endDate\") <= new Date() ? \"End Date should be a future date\" : undefined;\r\n }\r\n\r\n }} render={({ field, fieldState }) => (\r\n field.onChange(e.value)} />\r\n )} />\r\n \r\n {getFormErrorMessage('endDate')}\r\n \r\n
\r\n\r\n\r\n
\r\n \r\n (\r\n \r\n )} />\r\n \r\n {getFormErrorMessage('notes')}\r\n \r\n Max 4000 Chars\r\n
\r\n\r\n
\r\n \r\n (\r\n field.onChange(e.value)} options={salesOfficeLookup} optionLabel=\"name\" optionValue=\"name\" />\r\n )} />\r\n \r\n {getFormErrorMessage('salesOffice')}\r\n \r\n
\r\n\r\n \r\n
\r\n {showAddCustomer && ( onAddCustomerData(data)} />)}\r\n \r\n
\r\n );\r\n}\r\n\r\nexport default AddContract;","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\";\r\nimport { zlink, baseURL } from \"../../../../../service/HttpService\";\r\nimport { AppThunk } from \"../../../../store\";\r\n\r\nexport interface ReportGroupState {\r\n errors: any;\r\n reportGroupList: any;\r\n newReportGroupData: any;\r\n isReportGroupInUse: any;\r\n deletedReportGroupData: any;\r\n reportGroupDetails: any;\r\n updatedReportGroupData: any;\r\n}\r\n\r\nlet initialState: ReportGroupState = {\r\n errors: \"\",\r\n reportGroupList: [],\r\n newReportGroupData: \"\",\r\n isReportGroupInUse: \"\",\r\n deletedReportGroupData: \"\",\r\n reportGroupDetails: \"\",\r\n updatedReportGroupData: \"\",\r\n};\r\n\r\nconst ReportGroupSlice = createSlice({\r\n name: \"reportGroup\",\r\n initialState,\r\n reducers: {\r\n setErrors: (state, { payload }: PayloadAction) => {\r\n state.errors = payload;\r\n },\r\n setReportGroupList: (state, { payload }: PayloadAction) => {\r\n state.reportGroupList = payload; \r\n },\r\n setNewReportGroupData: (state, { payload }: PayloadAction) => {\r\n state.newReportGroupData = payload; \r\n },\r\n setIsReportGroupInUse: (state, { payload }: PayloadAction) => {\r\n state.isReportGroupInUse = payload; \r\n },\r\n setDeletedReportGroupData: (state, { payload }: PayloadAction) => {\r\n state.deletedReportGroupData = payload; \r\n },\r\n setReportGroupDetails: (state, { payload }: PayloadAction) => {\r\n state.reportGroupDetails = payload; \r\n },\r\n setUpdatedReportGroupData: (state, { payload }: PayloadAction) => {\r\n state.updatedReportGroupData = payload; \r\n },\r\n },\r\n});\r\n\r\nexport const getReportGroupList =\r\n (): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspection/reports/groups?reportlist=no`);\r\n if (res.status === \"done\") {\r\n dispatch(setReportGroupList(res?.data?.reportGroupDetails));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const onAddReportGroup =\r\n (body: any, setMessage, setDisplayInfoModal): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspection/reports/groups/add`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setNewReportGroupData(res.data));\r\n setDisplayInfoModal(true);\r\n setMessage(\"Report Group added\");\r\n } else {\r\n dispatch(setErrors(res.error));\r\n setDisplayInfoModal(true);\r\n setMessage(res.message);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const checkIsReportGroupInUse =\r\n (reportGroupId: any): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspection/reports/groups/${reportGroupId}/checkreportgroupinuse`);\r\n if (res.status === \"done\") {\r\n dispatch(setIsReportGroupInUse(res?.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const deleteReportGroup = (reportGroupId, setMessage, setDisplayInfoModal): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspection/reports/groups/${reportGroupId}/remove`, null);\r\n if (res.status === \"done\") {\r\n dispatch(setDeletedReportGroupData(res))\r\n setMessage(\"Report Group deleted\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const getReportGroupDetails =\r\n (reportGroupId: any): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspection/reports/groups/${reportGroupId}`);\r\n if (res.status === \"done\") {\r\n dispatch(setReportGroupDetails(res?.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const onUpdateReportGroup =\r\n (body: any,reportGroupId: any, setMessage, setDisplayInfoModal): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspection/reports/groups/${reportGroupId}`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setUpdatedReportGroupData(res.data));\r\n setDisplayInfoModal(true);\r\n setMessage(\"Report Group updated\");\r\n } else {\r\n dispatch(setErrors(res.error));\r\n setDisplayInfoModal(true);\r\n setMessage(res.message);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\nexport const { setErrors,\r\n setReportGroupList,\r\n setNewReportGroupData,\r\n setIsReportGroupInUse,\r\n setDeletedReportGroupData,\r\n setReportGroupDetails,\r\n setUpdatedReportGroupData } =\r\nReportGroupSlice.actions;\r\nexport default ReportGroupSlice.reducer;\r\n","import React from 'react';\r\n\r\nimport { Dialog } from 'primereact/dialog';\r\nimport { Button } from 'primereact/button';\r\n\r\ninterface Props {\r\n showInfoModal: boolean,\r\n setShowInfoModal: (state: boolean) => void,\r\n okOnClick?:() => void,\r\n message:any,\r\n additionalMessage?:any,\r\n onHide?:() => void,\r\n setAdditionalMessage?: (state: string) => void,\r\n}\r\n\r\nexport const InformationBox: React.FC = ({\r\n showInfoModal = false,\r\n setShowInfoModal = () => { },\r\n okOnClick=()=>{},\r\n message=\"\",\r\n additionalMessage=\"\",\r\n setAdditionalMessage = () => { },\r\n onHide = () => { },\r\n}) => {\r\n\r\n const renderHeader = () => {\r\n return(\r\n <>\r\n Tech Advance+\r\n \r\n )\r\n }\r\n\r\n const renderFooter = () => {\r\n return (\r\n <>\r\n
\r\n );\r\n }\r\n },\r\n PrevPageLink: (options) => {\r\n return (\r\n \r\n Previous\r\n \r\n \r\n );\r\n },\r\n NextPageLink: (options) => {\r\n return (\r\n \r\n Next\r\n \r\n \r\n );\r\n },\r\n LastPageLink: (options) => {\r\n if (pageIndex < (lastPage-3) && lastPage > 5) {\r\n return (\r\n \r\n {lastPage}\r\n \r\n \r\n );\r\n }\r\n },\r\n PageLinks: (options) => {\r\n if (\r\n (options.view.startPage === options.page &&\r\n options.view.startPage !== 0) ||\r\n (options.view.endPage === options.page &&\r\n options.page + 1 !== options.totalPages)\r\n ) {\r\n const className = classNames(options.className, { \"p-disabled\": true });\r\n\r\n return (\r\n \r\n ...\r\n \r\n );\r\n }\r\n\r\n return (\r\n \r\n {options.page + 1}\r\n \r\n \r\n );\r\n },\r\n JumpToPageInput: (options) => {\r\n return null;\r\n },\r\n RowsPerPageDropdown: (options) => {\r\n return null;\r\n },\r\n CurrentPageReport: (options) => {\r\n return (\r\n \r\n Go to{\" \"}\r\n onPageInputKeyDown(e, options)}\r\n onChange={onPageInputChange}\r\n />\r\n \r\n );\r\n },\r\n };\r\n\r\n const onPageInputKeyDown = (event, options) => {\r\n if (event.key === \"Enter\") {\r\n const page = parseInt(currentPage as any as string);\r\n if (page < 1 || page > options.totalPages) {\r\n setPageInputTooltip(\r\n `Enter a value less than or equal to ${options.totalPages}.`\r\n );\r\n } else {\r\n const first = currentPage ? options.rows * (page - 1) : 0;\r\n onPageChanged && onPageChanged(page - 1);\r\n setFirstPage(first);\r\n setPageInputTooltip(\"Press 'Enter' key to go to this page.\");\r\n }\r\n }\r\n };\r\n\r\n const onPageInputChange = (event) => {\r\n setCurrentPage(event.value === null ? 0 : event.value);\r\n };\r\n\r\n const filtersMap = {\r\n filters: { value: filters, callback: setFilters },\r\n };\r\n\r\n const onGlobalFilterChange = (event, filtersKey) => {\r\n const value = event.target.value;\r\n let filters = { ...filtersMap[filtersKey].value };\r\n filters[\"global\"].value = value;\r\n filtersMap[filtersKey].callback(filters);\r\n if (isLazyLoading)\r\n onGlobalSearch && onGlobalSearch(value)\r\n else\r\n onGridDataSearch(value)\r\n }; \r\n\r\n const onRowDataChanges = (data) => {\r\n if(!isLazyLoading) {\r\n if(data.length < 1) {\r\n setDisabledIcon(true);\r\n setSelectedRows([]);\r\n localSearchFirstItem([]);\r\n } else {\r\n setDisabledIcon(false);\r\n setSelectedRows([data[0]]);\r\n localSearchFirstItem([data[0]]);\r\n }\r\n }\r\n };\r\n\r\n const handleCountryClick = (selectedItem) => {\r\n const modifiedList = countryList.map((item) => {\r\n if (item?.countryName === selectedItem?.countryName) {\r\n item.active = true;\r\n } else {\r\n item.active = false;\r\n }\r\n return item;\r\n });\r\n const activeListItem = modifiedList.find((item) => item?.active);\r\n setCountryList(modifiedList);\r\n getSelectedCountry(activeListItem);\r\n };\r\n\r\n const handleFontChange = (e: any) => {\r\n e.preventDefault();\r\n if (Array.from(e?.target?.classList).includes(\"text\")) {\r\n const classNamesArr = Array.from(e?.target?.classList);\r\n onFontChange(classNamesArr[classNamesArr.length - 1]);\r\n }\r\n };\r\n\r\n const renderHeader = (filtersKey) => {\r\n const filters = filtersMap[`${filtersKey}`].value;\r\n const value = filters[\"global\"] ? filters[\"global\"].value : \"\";\r\n\r\n return (\r\n \r\n {showCustomSearchCmp ? (\r\n \r\n ) : (\r\n
\r\n {searchboxfield ? (\r\n \r\n onGlobalFilterChange(e, filtersKey)}\r\n placeholder={searchText}\r\n />\r\n {!value && }\r\n \r\n ) : null}\r\n {showCountries &&\r\n countryList.map((item: CountryListItem) => (\r\n handleCountryClick(item)}\r\n >\r\n {item?.altText}\r\n {item?.countryName}\r\n
\r\n ))}\r\n
\r\n {showSystemDropdown &&\r\n systemHeaderDropdowns(\r\n system,\r\n \"System\"\r\n )}\r\n {showEquipmentDropdown &&\r\n renderHeaderDropdowns(\r\n equipmentTypeLookup,\r\n \"Equipment Type Name\"\r\n )}\r\n {showAttributeDropdown &&\r\n renderAttributeHeaderDropdowns(\r\n attributeLookup,\r\n \"Attribute Name\"\r\n )}\r\n {showCommonAttributeDropDown &&\r\n renderCommonAttributeDropdowns(\r\n attributeLookup,\r\n \"Common Attribute Name\"\r\n )}\r\n {showCountryDropdown &&\r\n renderCountryDropdown(\r\n countryLookup,\r\n \"Country\"\r\n )}\r\n
\r\n \r\n )}\r\n\r\n \r\n {showFontAdjust && (\r\n handleFontChange(e)}\r\n >\r\n A\r\n A\r\n A\r\n \r\n )}\r\n\r\n
\r\n {showViewDraftReports && (\r\n \r\n View Draft Report\r\n \r\n )}\r\n {showViewFinalReport && (\r\n \r\n View Final Report\r\n \r\n )}\r\n {showDownoadDraftReport && (\r\n \r\n Download Draft Report\r\n \r\n )}\r\n {showDownloadFinalReport && (\r\n \r\n Download Final Report\r\n \r\n )}\r\n
\r\n\r\n
\r\n {showTextReport && (\r\n <>\r\n Drafted Report \r\n Final Report \r\n \r\n )}\r\n
\r\n\r\n {showActions && (\r\n
\r\n {showFilterIcon && (\r\n \r\n \r\n \r\n )}\r\n {showOptionsIcon && (\r\n \r\n \r\n \r\n )}\r\n {showAddIcon && (\r\n \r\n \r\n \r\n )}\r\n {showEditIcon && (\r\n \r\n \r\n \r\n )}\r\n {showCopyIcon && (\r\n \r\n \r\n \r\n )}\r\n {showDeleteIcon && (\r\n \r\n \r\n {showDeleteDownArrow && (\r\n \r\n )}\r\n \r\n )}\r\n {showDetailsIcon && (\r\n \r\n \r\n \r\n )}\r\n {showCloseIcon && (\r\n \r\n \r\n \r\n )}\r\n {showCompleteIcon && (\r\n \r\n \r\n \r\n )}\r\n {setAsActiveSiteIcon && (\r\n \r\n \r\n \r\n )}\r\n {showHamIcon && (\r\n \r\n \r\n \r\n )}\r\n {showAttachIcon && (\r\n \r\n \r\n \r\n \r\n )}\r\n {showDownloadIcon && (\r\n \r\n \r\n \r\n \r\n )}\r\n {showSettingIcon && (\r\n settingRef.current?.toggle(e)}\r\n disabled={disabledIcon && !dataFromUserTable}\r\n >\r\n \r\n \r\n \r\n )}\r\n {showViewIcon && (\r\n \r\n \r\n \r\n )}\r\n {showDislaySettingsIcon && (\r\n setShowDisplaySetting(true)}\r\n disabled={disabledIcon}\r\n >\r\n \"Display\r\n \r\n )}\r\n
\r\n )}\r\n \r\n \r\n );\r\n };\r\n\r\n const onRowEditComplete = (e) => {\r\n let { newData } = e;\r\n\r\n onSaveRowEdit && onSaveRowEdit(newData);\r\n };\r\n\r\n const rowEditValidator = (rowData, options) => {\r\n let value = false;\r\n value = onRowEditValidation(rowData);\r\n return value;\r\n };\r\n\r\n const onRowEditChange = (e) => {\r\n if (Object.keys(editingRows).length === 0 || Object.keys(e.data).length === 0) {\r\n let isEditable = true;\r\n const findIndex = rowData?.findIndex((item)=> item[dataKeyId] == Object.keys(e.data)[0]); \r\n if(findIndex !== -1)\r\n isEditable = onRowEditClick(rowData[findIndex]);\r\n if (isEditable && allowRowEditing) {\r\n setEditingRows(e.data);\r\n }\r\n else if (isEditable && !allowRowEditing) {\r\n setEditingRows({})\r\n }\r\n }\r\n };\r\n\r\n const {\r\n control,\r\n setValue,\r\n } = useForm();\r\n\r\n const headerDropDownChange = useRef();\r\n headerDropDownChange.current = onHeaderAttributeNameChange;\r\n\r\n useEffect(() => {\r\n if (attributeLookup.length > 0) {\r\n setValue(\"Attribute Name\", attributeLookup[0]);\r\n headerDropDownChange.current(attributeLookup[0]);\r\n }\r\n }, [setValue, attributeLookup]);\r\n\r\n const countryDropDownChange = useRef();\r\n countryDropDownChange.current = onCountryDropdownChange;\r\n useEffect(() => {\r\n if (countryLookup && countryLookup.length > 0 && countryLookup !== undefined)\r\n setValue(\"Country\", countryLookup[0].name);\r\n countryDropDownChange.current(countryLookup[0]);\r\n }, [setValue, countryLookup])\r\n\r\n const systemHeaderDropdowns = (data, label) => (\r\n \r\n (\r\n {\r\n field.onChange(e.value);\r\n onHeaderDropdownChange(e.target);\r\n }}\r\n options={data}\r\n optionLabel=\"name\"\r\n />\r\n )}\r\n />\r\n \r\n \r\n );\r\n\r\n const renderHeaderDropdowns = (data, label) => (\r\n \r\n (\r\n {\r\n field.onChange(e.value);\r\n onHeaderDropdownChange(e.target);\r\n onDropdownChanges();\r\n }}\r\n options={data}\r\n optionLabel=\"name\"\r\n />\r\n )}\r\n />\r\n \r\n \r\n );\r\n\r\n const renderAttributeHeaderDropdowns = (data, label) => (\r\n \r\n (\r\n {\r\n field.onChange(e.value);\r\n onHeaderAttributeNameChange(e.target);\r\n onDropdownChanges();\r\n }}\r\n options={data}\r\n optionLabel=\"name\"\r\n />\r\n )}\r\n />\r\n \r\n \r\n );\r\n\r\n const renderCommonAttributeDropdowns = (data, label) => (\r\n \r\n (\r\n {\r\n field.onChange(e.value);\r\n onHeaderDropdownChange(e.target);\r\n onDropdownChanges();\r\n }}\r\n options={data}\r\n optionLabel=\"name\"\r\n />\r\n )}\r\n />\r\n \r\n \r\n );\r\n const renderCountryDropdown = (data, label) => (\r\n \r\n (\r\n {\r\n field.onChange(e.value);\r\n onCountryDropdownChange(e.target);\r\n }}\r\n options={data}\r\n optionLabel=\"name\"\r\n optionValue=\"name\"\r\n />\r\n )}\r\n />\r\n \r\n \r\n );\r\n\r\n const searchHeader = renderHeader(\"filters\");\r\n\r\n useEffect(() => {\r\n if (defaultSelectedRows && defaultSelectedRows.length > 0) {\r\n setSelectedRows(defaultSelectedRows);\r\n getSelectedRowData(defaultSelectedRows);\r\n } else {\r\n if (rowData?.length > 0) {\r\n if (selectedRows.length === 0) {\r\n const firstRowEle = rowData[0];\r\n setSelectedRows([firstRowEle]);\r\n getSelectedRowData([firstRowEle]);\r\n if (firstRowEle?.isDisabled === false) {\r\n setSelectedRows([firstRowEle]);\r\n getSelectedRowData([firstRowEle]);\r\n }\r\n else if (firstRowEle?.isDisabled === true) {\r\n setSelectedRows([]);\r\n getSelectedRowData([]);\r\n }\r\n }\r\n } else {\r\n setSelectedRows([]); //To clear previous selected row.\r\n getSelectedRowData([]); //To clear previous value of selected row.\r\n }\r\n }\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [rowData]);\r\n\r\n useEffect(() => {\r\n if (showCountries) {\r\n const activeListItem = countryList.find((item) => item?.active);\r\n getSelectedCountry(activeListItem);\r\n }\r\n }, [countryList, showCountries, getSelectedCountry]);\r\n\r\n const onSelectRow = (e: any) => {\r\n setSelectedRows(e.value);\r\n getSelectedRowData(e.value);\r\n };\r\n\r\n const rowExpansionTemplate = (data) => {\r\n return (\r\n
\r\n
\r\n
\r\n
\r\n
Task Name
\r\n
{data?.inspectionTaskName}
\r\n
\r\n
\r\n
System
\r\n
{data?.system}
\r\n
\r\n
\r\n
Panel Type
\r\n
{data?.panelType}
\r\n
\r\n
\r\n setExpandedRows({})}\r\n >\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n Passed\r\n 1050\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Test Passed
\r\n
1050
\r\n
\r\n
\r\n
Total Equipments
\r\n
1200
\r\n
\r\n
\r\n
\r\n
\r\n
Test Failed
\r\n
50
\r\n
\r\n
\r\n
Tested Equipments
\r\n
1100
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Lead Technician
\r\n
Tom, Brad
\r\n
\r\n
\r\n
Planned Start Date
\r\n
12 Feb 2020
\r\n
\r\n
\r\n
\r\n
\r\n
Tech Required
\r\n
Yes (2)
\r\n
\r\n
\r\n
Planned End Date
\r\n
12 feb 2021
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n \r\n
Close Task
\r\n
\r\n
\r\n \r\n
Complete
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
Quit Task
\r\n
\r\n
\r\n \r\n
Inactivate
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n );\r\n };\r\n\r\n const handleRowToggle = (e) => {\r\n if (showExpandedRows) {\r\n const selectedRowItem = e?.data;\r\n const selectedRowIndex = selectedRowItem[dataKeyId];\r\n const expandedRowId = Object.keys(expandedRows || {});\r\n const isRowCollapseCall =\r\n parseInt(selectedRowIndex) === parseInt(expandedRowId[0]);\r\n\r\n const modifiedExpandedRows = {};\r\n\r\n if (selectedRowIndex && !isRowCollapseCall) {\r\n modifiedExpandedRows[`${selectedRowIndex}`] = true;\r\n }\r\n\r\n setExpandedRows(modifiedExpandedRows);\r\n }\r\n };\r\n\r\n const isRowSelectable = (event) => {\r\n if(event?.data?.isDisabled&&event?.data?.isDisabled===true){\r\n return false;\r\n }else{\r\n return true;\r\n }\r\n }\r\n\r\n const bodyTemplate = (rowData, columnDetails)=>{\r\n if (isTemplateMode) {\r\n return (
);\r\n } else {\r\n return (
{rowData[columnDetails?.field]}
)\r\n }\r\n }\r\n\r\n return (\r\n <>\r\n
\r\n {showCustomHeader ? (\r\n \r\n ) : (\r\n
{title}
\r\n )}\r\n onSelectRow(e)}\r\n dataKey={dataKeyId}\r\n emptyMessage=\"No data found.\"\r\n header={searchHeader}\r\n filters={filters}\r\n onFilter={(e) => setFilters(e.filters as any)}\r\n scrollable\r\n scrollDirection=\"both\"\r\n resizableColumns\r\n columnResizeMode=\"expand\"\r\n showGridlines={false}\r\n expandedRows={expandedRows}\r\n onRowDoubleClick={handleRowToggle}\r\n rowExpansionTemplate={rowExpansionTemplate}\r\n totalRecords={totalRecords}\r\n lazy={isLazyLoading}\r\n isDataSelectable={isRowSelectable}\r\n onValueChange={onRowDataChanges}\r\n >\r\n {showroweditor ? (\r\n \r\n ) : null}\r\n\r\n {showCheckbox ? ( ) : null}\r\n\r\n {tableColumns.map(({ field, header, editor, style, sortable, headerClassName, align, excludeGlobalFilter }, index) => {\r\n return (\r\n \r\n );\r\n })}\r\n \r\n
\r\n\r\n \r\n
    \r\n {settingListItems?.length > 0 &&\r\n settingListItems.map((item: SettingListItem) => (\r\n
  • \r\n {item?.name}\r\n
  • \r\n ))}\r\n \r\n
  • setShowDisplaySetting(true)}>\r\n Display Settings\r\n
  • \r\n
\r\n
\r\n {showDisplaySetting && ()}\r\n \r\n );\r\n};\r\n\r\nexport default TableComponent;\r\n","import { TypedUseSelectorHook, useDispatch, useSelector } from 'react-redux';\r\nimport { AppDispatch } from './store';\r\nimport {RootState} from './rootReducer'\r\nexport const useAppDispatch = () => useDispatch();\r\nexport const useAppSelector: TypedUseSelectorHook = useSelector;\r\n","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\";\r\nimport { zlink, baseURL } from \"../../../../../service/HttpService\";\r\nimport { AppThunk } from \"../../../../store\";\r\n\r\nexport interface ReportsState {\r\n errors: any;\r\n reportList: any;\r\n reportPageDetails: any;\r\n newReportData: any;\r\n reportGroupsData: any;\r\n inspectionDisciplineData: any;\r\n deletedReportData: any;\r\n reportDetails: any;\r\n updatedReportData: any;\r\n isReportInUse: any;\r\n reportFieldOrder: any;\r\n updatedFieldOrder: any;\r\n}\r\n\r\nlet initialState: ReportsState = {\r\n errors: \"\",\r\n reportList: [],\r\n reportPageDetails: [],\r\n newReportData: \"\",\r\n reportGroupsData: \"\",\r\n deletedReportData: \"\",\r\n reportDetails: \"\",\r\n updatedReportData: \"\",\r\n isReportInUse: \"\",\r\n reportFieldOrder: [],\r\n updatedFieldOrder: \"\",\r\n inspectionDisciplineData:[]\r\n};\r\n\r\nconst ReportSlice = createSlice({\r\n name: \"report\",\r\n initialState,\r\n reducers: {\r\n setErrors: (state, { payload }: PayloadAction) => {\r\n state.errors = payload;\r\n },\r\n setReportList: (state, { payload }: PayloadAction) => {\r\n state.reportList = payload;\r\n\r\n\r\n },\r\n setReportPageDetails: (state, { payload }: PayloadAction) => {\r\n state.reportPageDetails = payload;\r\n },\r\n setNewReportData: (state, { payload }: PayloadAction) => {\r\n state.newReportData = payload\r\n },\r\n setReportGroupsData: (state, { payload }: PayloadAction) => {\r\n state.reportGroupsData = payload;\r\n },\r\n setInspectionDisciplineData: (state, { payload }: PayloadAction) => {\r\n state.inspectionDisciplineData = payload;\r\n },\r\n setDeletedReportData: (state, { payload }: PayloadAction) => {\r\n state.deletedReportData = payload\r\n },\r\n setReportDetails: (state, { payload }: PayloadAction) => {\r\n state.reportDetails = payload;\r\n },\r\n setUpdatedReportData: (state, { payload }: PayloadAction) => {\r\n state.updatedReportData = payload\r\n },\r\n setIsReportInUse: (state, { payload }: PayloadAction) => {\r\n state.isReportInUse = payload\r\n },\r\n setReportFieldOrder: (state, { payload }: PayloadAction) => {\r\n state.reportFieldOrder = payload\r\n },\r\n setUpdatedFieldOrder: (state, { payload }: PayloadAction) => {\r\n state.updatedFieldOrder = payload\r\n },\r\n },\r\n});\r\n\r\nexport const getReportList =\r\n (body, currentStart, keyword: any = \"\", sortField: any = \"\", sortOrder: any = \"\"): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/manage/inspsettings/reports/reportlist?keyword=${keyword}¤tstart=${currentStart}&sortcolumn=${sortField}&sortorder=${sortOrder}`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setReportList(res?.data?.reportDetails));\r\n dispatch(setReportPageDetails(res?.data?.pageDetails));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const getAllReportGroups =\r\n (): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/reportgroups`);\r\n if (res.status === \"done\") {\r\n dispatch(setReportGroupsData(res?.data?.reportGroupDetails));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const onAddReport =\r\n (body: any, countryId: any, setMessage, setDisplayInfoModal): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/country/${countryId}/reports/add`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setNewReportData(res.data));\r\n setDisplayInfoModal(true);\r\n setMessage(\"Report added\");\r\n } else {\r\n dispatch(setErrors(res.error));\r\n setDisplayInfoModal(true);\r\n setMessage(res.message);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const deleteReport = (reportId: any, countryId: any, setMessage, setDisplayInfoModal): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/country/${countryId}/reports/${reportId}/remove`, null);\r\n if (res.status === \"done\") {\r\n dispatch(setDeletedReportData(res))\r\n setMessage(\"Report deleted\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const getReportDetails =\r\n (reportId: any, countryId: any): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/country/${countryId}/reports/${reportId}`);\r\n if (res.status === \"done\") {\r\n dispatch(setReportDetails(res?.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const onUpdateReport =\r\n (body: any, reportId: any, countryId: any, setMessage, setDisplayInfoModal): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/country/${countryId}/reports/${reportId}`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setUpdatedReportData(res.data));\r\n setDisplayInfoModal(true);\r\n setMessage(\"Report updated\");\r\n } else {\r\n dispatch(setErrors(res.error));\r\n setDisplayInfoModal(true);\r\n setMessage(res.message);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const checkIsReportInUse =\r\n (reportId: any, countryId: any): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/country/${countryId}/reports/${reportId}/checkreportinuse`);\r\n if (res.status === \"done\") {\r\n dispatch(setIsReportInUse(res?.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const onGetFieldOrder = (countryId): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/country/${countryId}/reports/order`);\r\n if (res.status === \"done\") {\r\n dispatch(setReportFieldOrder(res?.data?.reportDetails));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const onUpdateFieldOrder = (countryId, body): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/country/${countryId}/reports/order`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setUpdatedFieldOrder(body?.dataFields));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\n export const getAllInspectionDisciplines =\r\n (): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/manage/reports/inspectiondiscipline/list`);\r\n if (res.status === \"done\") {\r\n dispatch(setInspectionDisciplineData(res?.data?.inspectionDesciplineList));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const { setErrors,\r\n setReportList,\r\n setReportPageDetails,\r\n setNewReportData,\r\n setReportGroupsData,\r\n setDeletedReportData,\r\n setReportDetails,\r\n setUpdatedReportData,\r\n setIsReportInUse,\r\n setReportFieldOrder,\r\n setUpdatedFieldOrder,\r\n setInspectionDisciplineData } = ReportSlice.actions;\r\nexport default ReportSlice.reducer;\r\n","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\";\r\nimport { AppThunk } from \"../../store\";\r\nimport { baseURL, setAuthHeader } from \"../../../service/HttpService\";\r\n\r\nexport interface LoginState {\r\n\tisAuthenticated: boolean;\r\n\tisTokenGenerating: boolean;\r\n\taccessToken: any;\r\n}\r\n\r\nconst initialState: LoginState = {\r\n\tisAuthenticated: false,\r\n\tisTokenGenerating: false,\r\n\taccessToken: null\r\n};\r\n\r\nconst LoginSlice = createSlice({\r\n\tname: \"login\",\r\n\tinitialState,\r\n\treducers: {\r\n\t\tsetIsAuthenticated: (state, { payload }: PayloadAction) => {\r\n\t\t\tstate.isAuthenticated = payload\r\n\t\t},\r\n\t\tsetTokenProgress: (state, { payload }: PayloadAction) => {\r\n\t\t\tstate.isTokenGenerating = payload\r\n\t\t},\r\n\t\tsetAccessToken: (state, { payload }: PayloadAction) => {\r\n\t\t\tstate.accessToken = payload\r\n\t\t}\r\n\t},\r\n});\r\n\r\nexport const getToken = (): AppThunk => async (dispatch) => {\r\n\tdispatch(setTokenProgress(true));\r\n\t\r\n\ttry {\r\n\t\tconst res = await fetch(`${baseURL}api/v1/auth/tokenmanager/accesstoken`, {\r\n\t\t\tmethod: \"GET\",\r\n\t\t\theaders: {\r\n\t\t\t\t'Accept': 'application/json',\r\n\t\t\t\t'Content-Type': 'application/json',\r\n\t\t\t}\r\n\t\t}).then((res) => res.json());\r\n\r\n\t\tif (res.accessToken == null) {\r\n\t\t\tdocument.location.href = `${baseURL}api/v1/auth/signin`;\r\n\t\t}\r\n\t\tsessionStorage.setItem(\"accesstoken\", \"Bearer \" + res.accessToken);\r\n\t\tsetAuthHeader();\r\n\t\tdispatch(setAccessToken(res));\r\n\t\tdispatch(setTokenProgress(false));\r\n\t}\r\n\tcatch (e: any) {\r\n\t\tdispatch(setTokenProgress(false));\r\n\t\tdispatch(setAccessToken({}));\r\n\t}\r\n};\r\n\r\nexport const { setIsAuthenticated, setTokenProgress, setAccessToken } = LoginSlice.actions;\r\nexport default LoginSlice.reducer;\r\n","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\";\r\nimport { AppThunk } from \"../../store\";\r\nimport { zlink, baseURL } from \"../../../service/HttpService\";\r\n\r\nexport interface LogOutState {\r\n\terrors: any;\r\n}\r\n\r\nconst initialState: LogOutState = {\r\n\terrors:\"\",\r\n};\r\n\r\nconst LogOutSlice = createSlice({\r\n\tname: \"logout\",\r\n\tinitialState,\r\n\treducers: {\r\n\t\tsetErrors: (state, { payload }: PayloadAction) => {\r\n\t\t\tstate.errors = payload;\r\n\t\t },\r\n\r\n\t},\r\n});\r\n\r\nexport const onLogOut = (): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/users/me/logout`);\r\n if (res.status === \"done\") {\r\n\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const {setErrors} = LogOutSlice.actions;\r\nexport default LogOutSlice.reducer;\r\n","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\";\r\nimport { zlink, baseURL } from \"../../../service/HttpService\";\r\nimport { AppThunk } from \"../../store\";\r\nimport { getActiveInspectionTasks } from \"../Inspection/InspectionTask/inspectionTaskSlice\";\r\n\r\nexport interface dashboardState {\r\n errors: any;\r\n reportSummary: any;\r\n equipmentSummary: any;\r\n failedEquipments: any;\r\n inspectionDetails: any;\r\n contractDetails: any;\r\n systemTypes: any;\r\n selectedFailedEquipment: any;\r\n}\r\n\r\nlet initialState: dashboardState = {\r\n errors: \"\",\r\n reportSummary: [],\r\n equipmentSummary: [],\r\n failedEquipments: {},\r\n inspectionDetails: [],\r\n contractDetails: [],\r\n systemTypes: [],\r\n selectedFailedEquipment: \"\"\r\n};\r\n\r\nconst dashboardSlice = createSlice({\r\n name: \"dashboard\",\r\n initialState,\r\n reducers: {\r\n setErrors: (state, { payload }: PayloadAction) => {\r\n state.errors = payload;\r\n },\r\n setReportSummary: (state, { payload }: PayloadAction) => {\r\n state.reportSummary = payload;\r\n },\r\n setEquipmentSummary: (state, { payload }: PayloadAction) => {\r\n state.equipmentSummary = payload;\r\n },\r\n setFailedEquipments: (state, { payload }: PayloadAction) => {\r\n state.failedEquipments = payload;\r\n },\r\n setInspectionDetails: (state, { payload }: PayloadAction) => {\r\n state.inspectionDetails = payload;\r\n },\r\n setContractDetails: (state, { payload }: PayloadAction) => {\r\n state.contractDetails = payload;\r\n },\r\n setSystemTypes: (state, { payload }: PayloadAction) => {\r\n state.systemTypes = payload;\r\n },\r\n setSelectedFailedEquipment: (state, { payload }: PayloadAction) => {\r\n state.selectedFailedEquipment = payload\r\n }\r\n }\r\n});\r\n\r\nexport const getReportsGenerated = (): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/dashboard/reportsgenerated`);\r\n if (res.status === \"done\") {\r\n if (res.data && res.data.reportGeneratedSummary) {\r\n if (res.data.reportGeneratedSummary && res.data.reportGeneratedSummary.length) {\r\n res.data.reportGeneratedSummary.forEach(element => {\r\n element['Completed'] = element.completed ? element.completed : '0.00';\r\n element['Drafted'] = element.drafted ? element.drafted : '0.00';\r\n element['No Actions'] = element.noActions ? element.noActions : '0.00';\r\n element['Percent Completed'] = element.completed ? (element.completed + \"%\") : '0.00%';\r\n element['Percent Drafted'] = element.drafted ? (element.drafted + \"%\") : '0.00%';\r\n element['Percent No Actions'] = element.noActions ? (element.noActions + \"%\") : '0.00%';\r\n });\r\n }\r\n dispatch(setReportSummary(res.data.reportGeneratedSummary));\r\n }\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const getEquipmentSummary = (): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/dashboard/equipmentsummary`);\r\n if (res.status === \"done\") {\r\n if (res.data && res.data.equipmentSummary) {\r\n if (res.data.equipmentSummary && res.data.equipmentSummary.length) {\r\n res.data.equipmentSummary.forEach(element => {\r\n element['Passed'] = element.passed ? element.passed : '0.00';\r\n element['Failed'] = element.failed ? element.failed : '0.00';\r\n element['Untested'] = element.untested ? element.untested : '0.00';\r\n element['Percent Passed'] = element.passed ? (element.passed + \"%\") : '0.00%';\r\n element['Percent Failed'] = element.failed ? (element.failed + \"%\") : '0.00%';\r\n element['Percent Untested'] = element.untested ? (element.untested + \"%\") : '0.00%';\r\n });\r\n }\r\n dispatch(setEquipmentSummary(res.data.equipmentSummary));\r\n }\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const closeInspectionTasks = (\r\n body: any, \r\n currentStart: any, \r\n isrequiredquitting: boolean, \r\n setSelectedRows: any, \r\n setSelectAll: any, \r\n setMessage: any, \r\n setDisplayConfirmModal: any, \r\n setDisplayInfoModal: any, \r\n setCloseTaskInProgress: any): AppThunk => async (dispatch) => {\r\n try {\r\n let requestUrl = `${baseURL}api/v1/dashboard/inspectiontasks/close`;\r\n if (body.isChecked) {\r\n requestUrl += `?isChecked=${body.isChecked}`\r\n }\r\n const res = await zlink.post(`${requestUrl}`, body);\r\n if (res.status === \"done\") { \r\n if (body.isChecked) {\r\n dispatch(getActiveInspectionTasks(1, '', '', false, false));\r\n } else {\r\n setSelectedRows([]);\r\n setSelectAll(false);\r\n setCloseTaskInProgress(false);\r\n dispatch(getActiveInspectionTasks(currentStart, '', '', false, isrequiredquitting));\r\n }\r\n setDisplayConfirmModal(false);\r\n setMessage(res.message ? res.message : 'Inspection Task(s) closed');\r\n setDisplayInfoModal(true);\r\n } else {\r\n if (res.message) {\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const getFailedEquipments = (siteId: any, currentStart: any, sortField: any, sortDirection: any): AppThunk => async (dispatch) => {\r\n try {\r\n let requestUrl = `${baseURL}api/v1/dashboard/sites/${siteId}/failedequipments`;\r\n if (currentStart) {\r\n requestUrl += `?currentstart=${currentStart}`\r\n }\r\n if (sortField && sortDirection) {\r\n requestUrl += `&sortcolumn=${sortField}&sortorder=${sortDirection}`;\r\n }\r\n const res = await zlink.get(`${requestUrl}`);\r\n if (res.status === \"done\") {\r\n if (res.data) {\r\n dispatch(setFailedEquipments(res.data));\r\n }\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const getInspectionDetails = (): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/dashboard/inspectiondetails`);\r\n if (res.status === \"done\") {\r\n if (res.data && res.data.inspectionDetails) {\r\n if (res.data.inspectionDetails && res.data.inspectionDetails.length) {\r\n res.data.inspectionDetails.forEach(element => {\r\n element['Active'] = element.active ? element.active : '0.00';\r\n element['Closed'] = element.closed ? element.closed : '0.00';\r\n element['Completed'] = element.completed ? element.completed : '0.00';\r\n element['Inactive'] = element.inactive ? element.inactive : '0.00';\r\n element['activeCount'] = element.activeCount ? element.activeCount : '0';\r\n element['closeCount'] = element.closeCount ? element.closeCount : '0';\r\n element['completedCount'] = element.completedCount ? element.completedCount : '0';\r\n element['inactiveCount'] = element.inactiveCount ? element.inactiveCount : '0';\r\n });\r\n }\r\n dispatch(setInspectionDetails(res.data.inspectionDetails));\r\n }\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const getContractDetails = (isProjectContract?:boolean): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/dashboard/contracts?isProjectContracts=${isProjectContract}`);\r\n if (res.status === \"done\") {\r\n if (res.data && res.data.contractDetails) {\r\n if (res.data.contractDetails && res.data.contractDetails.length) {\r\n res.data.contractDetails.forEach(element => {\r\n element['Inspection Contracts (Used)'] = element.inspectionContracts ? element.inspectionContracts : '0.00';\r\n element['SAP Contracts (Opportunity)'] = element.sapContracts ? element.sapContracts : '0.00';\r\n element['Percent Inspection Contracts (Used)'] = element.inspectionContracts ? (element.inspectionContracts + \"%\") : '0.00%';\r\n element['Percent SAP Contracts (Opportunity)'] = element.sapContracts ? (element.sapContracts + \"%\") : '0.00%';\r\n });\r\n }\r\n dispatch(setContractDetails(res.data.contractDetails));\r\n }\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const getSystemTypes = (): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/dashboard/systemtypes`);\r\n if (res.status === \"done\") {\r\n if (res.data) {\r\n if (res.data.panelTypes && res.data.panelTypes.length) {\r\n res.data.panelTypes.forEach(element => {\r\n if (typeof element.usage === 'string') {\r\n element.usage = +element.usage;\r\n }\r\n });\r\n }\r\n dispatch(setSystemTypes(res.data));\r\n }\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const {\r\n setErrors,\r\n setReportSummary,\r\n setEquipmentSummary,\r\n setFailedEquipments,\r\n setInspectionDetails,\r\n setContractDetails,\r\n setSystemTypes,\r\n setSelectedFailedEquipment\r\n} = dashboardSlice.actions;\r\n\r\nexport default dashboardSlice.reducer;","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\";\r\nimport { onDownloadFile } from \"redux/common/commonSlice\";\r\nimport { zlink, baseURL } from \"../../../../service/HttpService\";\r\nimport { AppThunk } from \"../../../store\";\r\n\r\nexport interface SystemState {\r\n errors: any;\r\n systemList: any;\r\n systemPageDetails: any;\r\n systemReviseList: any;\r\n systemInUse:any;\r\n systemTypes: any;\r\n systemDetails: any;\r\n systemSearchId:any;\r\n newSystemData:any;\r\n XMLImportInProgress: any;\r\n provenOutcomesData: any;\r\n uploadedXmlFileList: any;\r\n isSystemforClose: any;\r\n newSystemDetails: any;\r\n xmlUploadedSystemData: any;\r\n unlinkedEquipmentGroups:any;\r\n systemEquipmemtGroups:any;\r\n panelInUse:any;\r\n}\r\n\r\nlet initialState: SystemState = {\r\n errors: \"\",\r\n systemList: [],\r\n systemPageDetails: [],\r\n systemReviseList: [],\r\n systemInUse:[],\r\n systemTypes: [],\r\n systemDetails: \"\",\r\n systemSearchId:\"\",\r\n newSystemData: \"\",\r\n XMLImportInProgress: [],\r\n provenOutcomesData: [],\r\n uploadedXmlFileList: \"\",\r\n isSystemforClose: \"\",\r\n newSystemDetails:\"\",\r\n xmlUploadedSystemData:\"\",\r\n unlinkedEquipmentGroups:[],\r\n systemEquipmemtGroups:[],\r\n panelInUse:[]\r\n};\r\n\r\nconst SystemSlice = createSlice({\r\n name: \"system\",\r\n initialState,\r\n reducers: {\r\n setErrors: (state, { payload }: PayloadAction) => {\r\n state.errors = payload;\r\n },\r\n setSystemList: (state, { payload }: PayloadAction) => {\r\n state.systemList = payload;\r\n\r\n let ReviseData: any = [];\r\n state.systemList.map((element: any, key: any) => {\r\n ReviseData = [\r\n ...ReviseData,\r\n {\r\n uniqueSystemId: element.uniqueSystemId,\r\n systemName: element.systemName,\r\n systemType: element.systemType,\r\n isNetworked: element.isNetworked ? \"True\" : \"False\",\r\n globalPMI: element.globalPMI,\r\n preferredLanguage: element.preferredLanguage,\r\n status: element.status,\r\n xmlFile: element.xmlFile,\r\n configFile: element.configFile,\r\n activeTask: element.activeTask,\r\n xmlUploadDate:element.xmlUploadDate,\r\n softwareVersion:element.softwareVersion,\r\n revision:element.revision\r\n },\r\n ];\r\n return null;\r\n } );\r\n state.systemReviseList = ReviseData;\r\n },\r\n setSystemPageDetails: (state, { payload }: PayloadAction) => {\r\n state.systemPageDetails = payload;\r\n },\r\n setSystemInUse: (state, { payload }: PayloadAction) => {\r\n state.systemInUse = payload;\r\n },\r\n setDeletedSystemList(state, { payload }: PayloadAction) {\r\n state.systemReviseList = state.systemReviseList.filter((item: any) => item.uniqueSystemId !== payload);\r\n },\r\n setSystemTypes: (state, { payload }: PayloadAction) => {\r\n state.systemTypes = payload;\r\n },\r\n setNewSystemData: (state, { payload }: PayloadAction) => {\r\n let newData: any = [];\r\n\r\n newData = [\r\n {\r\n uniqueSystemId: payload.uniqueSystemId,\r\n systemName: payload.systemName,\r\n systemType: payload.systemType,\r\n isNetworked: payload.isNetworked ? \"True\" : \"False\",\r\n globalPMI: payload.globalPMI,\r\n preferredLanguage: payload.preferredLanguage,\r\n status: payload.status,\r\n xmlFile: payload.xmlFile === \"Yes\"? \"Yes\" : \"No\",\r\n configFile: payload.configFile === \"Yes\"? \"Yes\" : \"No\",\r\n activeTask: payload.activeTask,\r\n xmlUploadDate:payload.xmlUploadDate,\r\n softwareVersion:payload.softwareVersion,\r\n revision:payload.revision\r\n\r\n },\r\n ];\r\n state.newSystemDetails=newData[0];\r\n if (state.systemReviseList.length === 0 )\r\n state.systemReviseList = newData;\r\n else\r\n state.systemReviseList.unshift(newData[0]);\r\n },\r\n setNewInspectionSystemData: (state, { payload }: PayloadAction) => {\r\n \r\n state.newSystemData = payload;\r\n },\r\n setSystemDetails: (state, { payload }: PayloadAction) => {\r\n state.systemDetails = payload;\r\n },\r\n setUpdatedSystemData: (state, { payload }: PayloadAction) => {\r\n let newData: any = [];\r\n newData = [\r\n {\r\n uniqueSystemId: payload.uniqueSystemId,\r\n systemName: payload.systemName,\r\n systemType: payload.systemType,\r\n isNetworked: payload.isNetworked ? \"True\" : \"False\",\r\n globalPMI: payload.globalPMI,\r\n preferredLanguage: payload.preferredLanguage,\r\n status: payload.status,\r\n xmlFile: payload.xmlFile === \"Yes\"? \"Yes\" : \"No\",\r\n configFile: payload.configFile === \"Yes\"? \"Yes\" : \"No\",\r\n activeTask: payload.activeTask,\r\n xmlUploadDate:payload.xmlUploadDate,\r\n softwareVersion:payload.softwareVersion,\r\n revision:payload.revision\r\n },\r\n ];\r\n let currentIndex = state.systemReviseList.findIndex((item: any) => item.uniqueSystemId === payload?.uniqueSystemId);\r\n state.systemReviseList = state.systemReviseList.filter((item: any) => item.uniqueSystemId !== payload?.uniqueSystemId);\r\n state.systemReviseList.splice(currentIndex, 0, newData[0]);\r\n },\r\n setSystemSearchId: (state, { payload }: PayloadAction) => {\r\n state.systemSearchId = payload;\r\n },\r\n setXMLImportInProgress: (state, { payload }: PayloadAction) => {\r\n state.XMLImportInProgress = payload;\r\n },\r\n setUploadedXmlData: (state, { payload }: PayloadAction) => {\r\n state.xmlUploadedSystemData = payload;\r\n let currentIndex = state.systemReviseList.findIndex((item: any) => item.uniqueSystemId === payload?.uniqueSystemId);\r\n state.systemReviseList = state.systemReviseList.filter((item: any) => item.uniqueSystemId !== payload?.uniqueSystemId);\r\n state.systemReviseList.splice(currentIndex, 0, payload);\r\n },\r\n setSystemStatus: (state, { payload }: PayloadAction) => {\r\n let currentIndex = state.systemReviseList.findIndex((item: any) => item.uniqueSystemId === payload?.uniqueSystemId);\r\n state.systemReviseList = state.systemReviseList.filter((item: any) => item.uniqueSystemId !== payload?.uniqueSystemId);\r\n state.systemReviseList.splice(currentIndex, 0, payload);\r\n },\r\n setProvenOutcomesData: (state, { payload }: PayloadAction) => {\r\n state.provenOutcomesData = payload;\r\n },\r\n setUploadedXmlFileList: (state, { payload }: PayloadAction) => {\r\n state.uploadedXmlFileList = payload;\r\n },\r\n setDeletedFileList: (state, { payload }: PayloadAction) => {\r\n let currentIndex = state.systemReviseList.findIndex((item: any) => item.uniqueSystemId === payload?.uniqueSystemId);\r\n state.systemReviseList = state.systemReviseList.filter((item: any) => item.uniqueSystemId !== payload?.uniqueSystemId);\r\n state.systemReviseList.splice(currentIndex, 0, payload);\r\n },\r\n setSystemInspectionTask: (state, { payload }: PayloadAction) => {\r\n let currentIndex = state.systemReviseList.findIndex((item: any) => item.uniqueSystemId === payload?.uniqueSystemId);\r\n state.systemReviseList = state.systemReviseList.filter((item: any) => item.uniqueSystemId !== payload?.uniqueSystemId);\r\n state.systemReviseList.splice(currentIndex, 0, payload);\r\n },\r\n setCheckSystemforClose: (state, { payload }: PayloadAction) => {\r\n state.isSystemforClose = payload;\r\n },\r\n setUnlinkedEquipmentGroups: (state, { payload }: PayloadAction) => {\r\n state.unlinkedEquipmentGroups = payload;\r\n },\r\n setDeleteUnlinkedEquipmentGroups: (state, { payload }: PayloadAction) => {\r\n state.unlinkedEquipmentGroups = state.unlinkedEquipmentGroups.filter((item: any) => item.equipmentId !== payload);\r\n },\r\n setSystemEquipmentGroups: (state, { payload }: PayloadAction) => {\r\n state.systemEquipmemtGroups = payload;\r\n },\r\n setPanelInUse: (state, { payload }: PayloadAction) => {\r\n state.panelInUse = payload;\r\n },\r\n setDeletedSystemEquipmentGroups: (state, { payload }: PayloadAction) => {\r\n state.systemEquipmemtGroups = state.systemEquipmemtGroups.filter((item: any) => item.equipmentId !== payload);\r\n },\r\n setNewlyAddedSystemStatus: (state, {payload}: PayloadAction) => {\r\n if(payload.uniqueSystemId === state.newSystemData?.uniqueSystemId) \r\n state.newSystemData.status = payload.status\r\n },\r\n },\r\n});\r\n\r\nexport const getSystemList = (currentStart: any, keyword: any, sortField: any, sortOrder: any): AppThunk => async (dispatch) => {\r\n try {\r\n let requestUrl = `${baseURL}api/v1/inspection/systems`;\r\n if (currentStart) {\r\n requestUrl += `?currentstart=${currentStart}`\r\n }\r\n if (keyword) {\r\n requestUrl += `&keyword=${keyword}`\r\n }\r\n if (sortField && sortOrder) {\r\n requestUrl += `&sortcolumn=${sortField}&sortorder=${sortOrder}`;\r\n }\r\n const res = await zlink.get(`${requestUrl}`);\r\n if (res.status === \"done\") {\r\n if (res.data) {\r\n dispatch(setSystemList(res?.data?.systemDetails));\r\n dispatch(setSystemPageDetails(res?.data?.pageDetails));\r\n }\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const checkSystemInUse = (uniqueSystemId): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspection/system/${uniqueSystemId}/checksysteminuse`);\r\n if (res.status === \"done\") {\r\n dispatch(setSystemInUse(res?.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const checkXMLImportInProgress = (uniqueSystemId): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspection/system/${uniqueSystemId}/checksystemparseinprogress`);\r\n if (res.status === \"done\") {\r\n dispatch(setXMLImportInProgress(res?.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const deleteSystem = ({ uniqueSystemId, setSelectedRows, setMessage, setDisplayInfoModal }): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspection/system/${uniqueSystemId}/remove`, null);\r\n if (res.status === \"done\") {\r\n dispatch(setDeletedSystemList(uniqueSystemId));\r\n setSelectedRows([]);\r\n setMessage(\"System deleted\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n setSelectedRows([]);\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const getSystemTypes = (): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspection/system/paneltypes`);\r\n if (res.status === \"done\") {\r\n dispatch(setSystemTypes(res?.data?.panelTypes));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onAddSystem = (body: any, setMessage, setDisplayInfoModal, setDisplayConfirmModal, setShowAddModal, setIsAdd): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspection/system/add`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setNewSystemData(res.data));\r\n dispatch(setNewInspectionSystemData(res.data))\r\n dispatch(setUploadedXmlFileList(\"\"))\r\n if (res.data.systemType === \"MXL\" || res.data.systemType === \"XLS\" || res.data.systemType === \"Desigo FS20\" ||\r\n res.data.systemType === \"Desigo FV20\" || res.data.systemType === \"Desigo Modular\" || res.data.systemType === \"Cerberus PRO FC92\" ||\r\n res.data.systemType === \"Cerberus PRO FV92\" || res.data.systemType === \"Cerberus PRO Modular\") {\r\n setMessage(\"System added. Do you want to upload XML file to this System?\");\r\n setDisplayConfirmModal(true);\r\n setIsAdd(true);\r\n } else {\r\n setMessage(\"System added\");\r\n setDisplayInfoModal(true);\r\n setShowAddModal(false);\r\n }\r\n } else {\r\n dispatch(setErrors(res.error));\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const getSystemDetails = (uniqueSystemId): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspection/system/${uniqueSystemId}`);\r\n if (res.status === \"done\") {\r\n dispatch(setSystemDetails(res.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onEditSystem =\r\n (body: any, uniqueSystemId, setMessage, setDisplayInfoModal, setShowEditModal,selectedSystem:any,setIsEdit:any): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspection/system/${uniqueSystemId}/update`, body);\r\n if (res.status === \"done\") {\r\n res.data.configFile = selectedSystem.configFile;\r\n res.data.xmlFile=selectedSystem.xmlFile;\r\n dispatch(setUpdatedSystemData(res.data));\r\n setMessage(\"System updated\");\r\n setShowEditModal(false);\r\n setDisplayInfoModal(true);\r\n setIsEdit(true);\r\n } else {\r\n dispatch(setErrors(res.error));\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const onInspectionTaskClose =\r\n (uniqueSystemId, setMessage, setDisplayInfoModal, setShowEditModal, setShowUploadXMLModal, isEdit: boolean, selectedSystem,setIsReactivate:any,setUniqueInspectionaskId:any): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspection/system/${uniqueSystemId}/closeactiveinspection`, null);\r\n if (res.status === \"done\") {\r\n setMessage(\"Inspection Task closed\");\r\n setIsReactivate(true);\r\n setUniqueInspectionaskId(res.data?.uniqueInspectionTaskId);\r\n if (isEdit) {\r\n setShowEditModal(true);\r\n } else \r\n setShowUploadXMLModal(true)\r\n dispatch(setSystemInspectionTask({ ...selectedSystem, activeTask: \"\" }));\r\n setDisplayInfoModal(true);\r\n } else {\r\n dispatch(setErrors(res.error));\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const getSystemSearchDetailsList = (uniqueSystemId:any): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/common/search/system/${uniqueSystemId}/systemlist`);\r\n if (res.status === \"done\") {\r\n dispatch(setSystemList(res?.data?.systemDetails));\r\n dispatch(setSystemPageDetails(res?.data?.pageDetails));\r\n dispatch(setSystemSearchId(\"\"));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onUploadSystemXml = (uniqueSystemId,uniqueSiteId,body,setShowUploadXMLModal,setMessage,setDisplayInfoModal, isConfig, selectedSystem?, setSelectedRows?, isReactivate?, setIsReactivateOnFileUpload?): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspection/system/${uniqueSystemId}/site/${uniqueSiteId}/files/add?isConfig=${isConfig}`, body);\r\n if (res.status === \"done\") {\r\n if (selectedSystem) {\r\n if (isConfig){\r\n dispatch(setUploadedXmlData({ ...selectedSystem, configFile: \"Yes\"}));\r\n if (setSelectedRows) {\r\n setSelectedRows(prev => {\r\n let arr = prev;\r\n arr[0]={...selectedSystem, configFile: \"Yes\"};\r\n return arr;\r\n });\r\n }\r\n } else {\r\n selectedSystem ={...selectedSystem,\r\n xmlUploadDate:res.data.systemDetails.xmlUploadDate, \r\n softwareVersion:res.data.systemDetails.softwareVersion,\r\n revision:res.data.systemDetails.revision\r\n }\r\n dispatch(setUploadedXmlData({...selectedSystem,xmlFile: \"Yes\"}));\r\n \r\n if (setSelectedRows) {\r\n setSelectedRows(prev => {\r\n let arr = prev;\r\n arr[0]={...selectedSystem, xmlFile: \"Yes\"};\r\n return arr;\r\n });\r\n }\r\n }\r\n }\r\n setShowUploadXMLModal(false);\r\n setDisplayInfoModal(true);\r\n setMessage(\"File uploaded\");\r\n \r\n if(!selectedSystem)\r\n dispatch(setSystemInUse([]))\r\n\r\n if(isReactivate) {\r\n setIsReactivateOnFileUpload(true);\r\n }\r\n } else {\r\n setDisplayInfoModal(true);\r\n setMessage(res.message);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const checkDownloadFile = (uniqueSystemId: any, isConfig: boolean, setMessage: any, setDisplayInfoModal: any): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspection/systems/${uniqueSystemId}/file?isConfig=${isConfig}`);\r\n if (res.status === \"done\") {\r\n if (res?.data?.isFileUploaded) {\r\n dispatch(onDownloadFile(res?.data?.fileId, res?.data?.fileName, res?.data?.filePath, setMessage, setDisplayInfoModal));\r\n } else {\r\n let message = isConfig ? `Config File is not uploaded to the selected System` : `XML File is not uploaded to the selected System`;\r\n setMessage(message);\r\n setDisplayInfoModal(true);\r\n }\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const getClosedTasksOutcomes = (uniqueSystemId: any, setMessage: any, setDisplayInfoModal: any, setShowProvenOutcomesModal: any): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspection/systems/${uniqueSystemId}/closedtasks`);\r\n if (res.status === \"done\") {\r\n if (res?.data?.inspectionTaskDetails && res?.data?.inspectionTaskDetails.length) {\r\n dispatch(setProvenOutcomesData(res?.data?.inspectionTaskDetails));\r\n setShowProvenOutcomesModal(true);\r\n } else {\r\n setMessage(\"No Tasks exist for the selected System\");\r\n setDisplayInfoModal(true);\r\n }\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const downloadProvenOutcomes = (uniqueSystemId: any, body: any, setShowProvenOutcomesModal: any): AppThunk => async (dispatch) => {\r\n try {\r\n const request: any = {\r\n method: \"POST\",\r\n cache: \"no-store\",\r\n headers: {\r\n \"Content-Type\": \"application/json; charset=utf-8\",\r\n Authorization: sessionStorage.getItem(\"accesstoken\"),\r\n },\r\n };\r\n\r\n const downloadUrl = `${baseURL}api/v1/inspection/systems/${uniqueSystemId}/inspectiontask/${body.uniqueinspectiontaskid}/provenoutcomes`\r\n await fetch(downloadUrl, request).then((response: any) => { \r\n \r\n const fileName: any = response.headers.get(\"filename\");\r\n\r\n const res = new Response(\r\n new ReadableStream({\r\n async start(controller) {\r\n const reader = response.body.getReader();\r\n for (; ;) {\r\n const { done, value } = await reader.read();\r\n if (done) break;\r\n controller.enqueue(value);\r\n }\r\n controller.close();\r\n },\r\n })\r\n );\r\n res.blob().then((blob) => {\r\n setShowProvenOutcomesModal(false);\r\n let url = window.URL.createObjectURL(blob);\r\n let a = document.createElement(\"a\");\r\n a.href = url;\r\n a.download = fileName;\r\n a.click();\r\n });\r\n });\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const getEquipmentGroups = (uniqueSystemId:any,setEquipmentGroups:any,setMessage,setDisplayInfoModal,setShowEquipmentGroupModal): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspection/systems/${uniqueSystemId}/equipmentgroups`);\r\n if (res.status === \"done\") {\r\n if(res.data?.equipmentGroups?.length>0){\r\n setShowEquipmentGroupModal(true);\r\n setEquipmentGroups(res.data?.equipmentGroups)\r\n }else{\r\n setDisplayInfoModal(true);\r\n setMessage(\"No Equipment Group data exists\");\r\n }\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onUpdateEquipmentGroup = (uniqueSystemId,body,setMessage,setDisplayInfoModal,setShowModal): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspection/systems/${uniqueSystemId}/equipmentgroups`, body);\r\n if (res.status === \"done\") {\r\n setDisplayInfoModal(true);\r\n setShowModal(true)\r\n setMessage(\"Equipment Group(s) updated\");\r\n } else {\r\n setDisplayInfoModal(true);\r\n setMessage(res.message);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n}\r\n\r\nexport const activateSystem = (selectedSystem, setSelectedRows, setMessage, setDisplayInfoModal): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspection/systems/${selectedSystem.uniqueSystemId}/activate`, {});\r\n if (res) {\r\n dispatch(setSystemStatus({...selectedSystem, status: \"Active\"}));\r\n dispatch(setNewlyAddedSystemStatus(res?.data))\r\n setMessage('System activated');\r\n setDisplayInfoModal(true);\r\n setSelectedRows(prev => {\r\n let arr = prev;\r\n arr[0]={...selectedSystem, status:\"Active\"};\r\n return arr;\r\n });\r\n } else {\r\n dispatch(setErrors(res.error));\r\n if (res.message) {\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n}\r\n\r\nexport const closeSystem = (selectedSystem, setSelectedRows, setMessage, setDisplayInfoModal): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspection/systems/${selectedSystem.uniqueSystemId}/close`, {});\r\n if (res) {\r\n dispatch(setSystemStatus({...selectedSystem, status: \"Closed\",activeTask:\"\"}));\r\n dispatch(setNewlyAddedSystemStatus(res?.data))\r\n setMessage('System closed');\r\n setDisplayInfoModal(true);\r\n setSelectedRows(prev => {\r\n let arr = prev;\r\n arr[0]={...selectedSystem, status:\"Closed\",activeTask:\"\"};\r\n return arr;\r\n });\r\n } else {\r\n dispatch(setErrors(res.error));\r\n if (res.message) {\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n}\r\n\r\nexport const getUploadedXMLFileList = (uniqueSystemId: any, isConfig: boolean): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspection/systems/${uniqueSystemId}/file?isConfig=${isConfig}`);\r\n if (res.status === \"done\") {\r\n dispatch(setUploadedXmlFileList(res?.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const deleteXMLFile = (uniqueSystemId, fileId, isConfig,activeSiteId,setMessage, setDisplayInfoModal, setShowUploadXMLModal, selectedSystem?): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspection/systems/${uniqueSystemId}/files/${fileId}/siteid/${activeSiteId}/remove?isConfig=${isConfig}`, null);\r\n if (res.message) {\r\n if (res.message === \"File deleted\") {\r\n if (selectedSystem) {\r\n if (isConfig) {\r\n dispatch(setDeletedFileList({ ...selectedSystem, configFile: \"No\" }));\r\n } else {\r\n selectedSystem ={...selectedSystem,\r\n xmlUploadDate:\"\", \r\n softwareVersion:\"\",\r\n revision:\"\"\r\n }\r\n dispatch(setDeletedFileList({ ...selectedSystem, xmlFile: \"No\" }));\r\n }\r\n setShowUploadXMLModal(false)\r\n }\r\n dispatch(setUploadedXmlFileList(\"\"))\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n else {\r\n dispatch(setErrors(res.error));\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n}\r\n\r\nexport const checkSystemforClose = (uniqueSystemId): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspection/systems/${uniqueSystemId}/checksystemforclose`);\r\n if (res.status === \"done\") {\r\n if (res.data) {\r\n if (res.data.techniciansName && res.data.techniciansName.length) {\r\n if (res.data.techniciansName.length === 1) {\r\n if (res.data.techniciansName[0] === \"\") {\r\n res.data.techniciansName = [];\r\n }\r\n }\r\n }\r\n dispatch(setCheckSystemforClose(res?.data));\r\n }\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const reactivateInspectionTask = (uniqueInspectionTaskId:any, setMessage:any, setDisplayInfoModal:any, selectedSystem:any): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspection/inspectiontask/${uniqueInspectionTaskId}/activate`, null);\r\n if (res.status === \"done\") {\r\n if(res.data.isSiemens && res.data.isParsed){\r\n setMessage('Inspection Task Activated');\r\n setDisplayInfoModal(true);\r\n } else if(res.data.isSiemens && !res.data.isParsed) {\r\n setMessage('Inspection Task Activated. Sending Equipment list to the Server. For large systems, it will take some time..');\r\n setDisplayInfoModal(true);\r\n } else if (!res.data.isSiemens && !res.data.isParsed){\r\n setMessage('Inspection Task Activated');\r\n setDisplayInfoModal(true);\r\n }\r\n dispatch(setUpdatedSystemData({...selectedSystem, activeTask: res.data?.inspectionTaskName}));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const getUnlinkedEquipmentGroups = (uniqueSiteId: any, setDisplayInfoModal: any, setMessage: any): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspection/systems/Sites/${uniqueSiteId}/unlinkedequipmentgroups`);\r\n if (res.status === \"done\") {\r\n if (res.data?.equipmentGroups?.length > 0) {\r\n dispatch(setUnlinkedEquipmentGroups(res.data?.equipmentGroups))\r\n } else {\r\n setDisplayInfoModal(true);\r\n setMessage(\"No Unlinked Equipment Group data exists\");\r\n }\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const getSystemEquipmentGroups = (uniqueSystemId:any,setDisplayInfoModal:any,setMessage:any,setShowSystemEquipmentGroups:any): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspection/systems/${uniqueSystemId}/systemequipmentgroups`);\r\n if (res.status === \"done\") {\r\n if(res.data?.equipmentGroups?.length>0){\r\n dispatch(setSystemEquipmentGroups(res.data?.equipmentGroups))\r\n setShowSystemEquipmentGroups(true);\r\n }else{\r\n setShowSystemEquipmentGroups(false);\r\n setDisplayInfoModal(true);\r\n setMessage(\"No Equipment Group data exists\");\r\n }\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onDeleteUnlinkedEquipmentGroup = (uniqueSiteId:any,equipmentId:any,setSelectedEquipmentGroup:any,setDisplayInfoModal:any, setMessage:any): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspection/systems/sites/${uniqueSiteId}/unlinkedequipmentgroups/panels/${equipmentId}/remove`, null);\r\n if (res.status === \"done\") {\r\n dispatch(setDeleteUnlinkedEquipmentGroups(equipmentId));\r\n setSelectedEquipmentGroup([]);\r\n setMessage(\"Equipment Group deleted\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n setSelectedEquipmentGroup([]);\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onCheckSystemEquipmentGroupInUse = (uniqueSystemId:any,equipmentId:any): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspection/systems/${uniqueSystemId}/equipmentgroups/panels/${equipmentId}/checkpanelinuse`,);\r\n if (res.status === \"done\") {\r\n dispatch(setPanelInUse(res?.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n}\r\n\r\nexport const onDeleteSystemEquipmentGroup = (uniqueSystemId,equipmentId,setSelectedEquipmentGroup,setDisplayInfoModal, setMessage): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspection/systems/${uniqueSystemId}/equipmentgroups/panels/${equipmentId}/remove`, null);\r\n if (res.status === \"done\") {\r\n dispatch(setDeletedSystemEquipmentGroups(equipmentId))\r\n setSelectedEquipmentGroup([]);\r\n setMessage(\"Equipment Group deleted\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n setSelectedEquipmentGroup([]);\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const {\r\n setErrors,\r\n setSystemList,\r\n setSystemPageDetails,\r\n setSystemTypes,\r\n setNewSystemData,\r\n setSystemInUse,\r\n setDeletedSystemList,\r\n setSystemDetails,\r\n setUpdatedSystemData,\r\n setSystemSearchId,\r\n setXMLImportInProgress,\r\n setNewInspectionSystemData,\r\n setUploadedXmlData,\r\n setProvenOutcomesData,\r\n setSystemStatus,\r\n setUploadedXmlFileList,\r\n setDeletedFileList,\r\n setSystemInspectionTask,\r\n setCheckSystemforClose,\r\n setUnlinkedEquipmentGroups,\r\n setDeleteUnlinkedEquipmentGroups,\r\n setSystemEquipmentGroups,\r\n setPanelInUse,\r\n setDeletedSystemEquipmentGroups,\r\n setNewlyAddedSystemStatus\r\n} = SystemSlice.actions;\r\n\r\nexport default SystemSlice.reducer;\r\n","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\";\r\nimport { zlink, baseURL } from \"../../../../service/HttpService\";\r\nimport { AppThunk } from \"../../../store\";\r\n\r\nexport interface ZoneState {\r\n errors: any;\r\n zoneList: any;\r\n zonePageDetails: any;\r\n zoneDetails: any;\r\n zonesByCountry: any;\r\n}\r\n\r\nlet initialState: ZoneState = {\r\n errors: \"\",\r\n zoneList: [],\r\n zoneDetails: [],\r\n zonePageDetails: [],\r\n zonesByCountry: []\r\n};\r\nconst ZoneSlice = createSlice({\r\n name: \"zone\",\r\n initialState,\r\n reducers: {\r\n setErrors: (state, { payload }: PayloadAction) => {\r\n state.errors = payload;\r\n },\r\n setZoneList: (state, { payload }: PayloadAction) => {\r\n state.zoneList = payload;\r\n },\r\n setUpdatedZone: (state, { payload }: PayloadAction) => {\r\n let currentIndex = state.zoneList.findIndex(\r\n (item: any) =>\r\n item.uniqueBusinessZoneId === payload?.uniqueBusinessZoneId\r\n );\r\n state.zoneList = state.zoneList.filter(\r\n (item: any) =>\r\n item.uniqueBusinessZoneId !== payload?.uniqueBusinessZoneId\r\n );\r\n state.zoneList.splice(currentIndex, 0, payload);\r\n },\r\n setDeletedZoneList(state, { payload }: PayloadAction) {\r\n\t\t\tstate.zoneList = state.zoneList.filter((item: any) => item.uniqueBusinessZoneId !== payload);\r\n },\r\n setZoneDetails: (state, { payload }: PayloadAction) => {\r\n state.zoneDetails = payload;\r\n },\r\n setZonePageDetails: (state, { payload }: PayloadAction) => {\r\n state.zonePageDetails = payload;\r\n },\r\n setNewZoneData: (state, { payload }: PayloadAction) => {\r\n state.zoneList.unshift(payload);\r\n },\r\n setZonesByCountryId: (state, { payload }: PayloadAction) => {\r\n state.zonesByCountry = payload;\r\n }\r\n }\r\n});\r\n\r\nexport const getZoneList =\r\n (setShowGrid, currentStart, keyword: any = \"\", sortField: any = \"\", sortOrder: any = \"\"): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(\r\n `${baseURL}api/v1/organization/zones?currentStart=${currentStart}&keyword=${keyword}&sortcolumn=${sortField}&sortorder=${sortOrder}`\r\n );\r\n if (res.status === \"done\") {\r\n dispatch(setZoneList(res?.data?.zoneDetails));\r\n dispatch(setZonePageDetails(res?.data?.pageDetails));\r\n setShowGrid(true);\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\nexport const onAddZone =\r\n (\r\n body: any,\r\n setMessage,\r\n setDisplayInfoModal,\r\n setShowAddZoneModal\r\n ): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(\r\n `${baseURL}api/v1/organization/zones/add`,\r\n body\r\n );\r\n if (res.status === \"done\") {\r\n dispatch(setNewZoneData(res.data));\r\n setMessage(\"Zone added\");\r\n setShowAddZoneModal(false);\r\n setDisplayInfoModal(true);\r\n } else {\r\n dispatch(setErrors(res.error));\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\nexport const onEditZone =\r\n (\r\n body: any,\r\n uniqueBusinessZoneId,\r\n setMessage,\r\n setDisplayInfoModal,\r\n setShowEditModal\r\n ): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(\r\n `${baseURL}api/v1/organization/zones/${uniqueBusinessZoneId}`,\r\n body\r\n );\r\n if (res.status === \"done\") {\r\n dispatch(setUpdatedZone(res.data));\r\n setMessage(\"Zone updated\");\r\n setShowEditModal(false);\r\n setDisplayInfoModal(true);\r\n } else {\r\n dispatch(setErrors(res.error));\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\nexport const getZoneDetails =\r\n (uniqueBusinessZoneId): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(\r\n `${baseURL}api/v1/organization/zones/${uniqueBusinessZoneId}`\r\n );\r\n if (res.status === \"done\") {\r\n dispatch(setZoneDetails(res.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\n export const deleteZone = ({ uniqueBusinessZoneId, setSelectedRows, setMessage, setDisplayInfoModal }): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/organization/zones/${uniqueBusinessZoneId}/remove`, null);\r\n if (res.status === \"done\") {\r\n dispatch(setDeletedZoneList(uniqueBusinessZoneId));\r\n setSelectedRows([]);\r\n setMessage(\"Zone deleted\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n setSelectedRows([]);\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const getZonesByCountryId = (countryId) : AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/country/${countryId}/zones`);\r\n if (res.status === \"done\") {\r\n dispatch(setZonesByCountryId(res?.data?.zoneDetails));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const {\r\n setErrors,\r\n setZoneList,\r\n setZonePageDetails,\r\n setDeletedZoneList,\r\n setNewZoneData,\r\n setUpdatedZone,\r\n setZoneDetails,\r\n setZonesByCountryId\r\n} = ZoneSlice.actions;\r\nexport default ZoneSlice.reducer;\r\n","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\";\r\nimport { zlink, baseURL } from \"../../../../service/HttpService\";\r\nimport { AppThunk } from \"../../../store\";\r\n\r\nexport interface ZoneState {\r\n errors: any;\r\n salesOfficeList: any;\r\n salesOfficeDetails: any;\r\n salesOfficePageDetails: any;\r\n salesOfficesByQuery: any;\r\n selectedSalesOffices: any;\r\n}\r\n\r\nlet initialState: ZoneState = {\r\n errors: \"\",\r\n salesOfficeList: [],\r\n salesOfficeDetails: [],\r\n salesOfficePageDetails: [],\r\n salesOfficesByQuery: [],\r\n selectedSalesOffices: [],\r\n};\r\nconst SalesOfficeSlice = createSlice({\r\n name: \"salesOffice\",\r\n initialState,\r\n reducers: {\r\n setErrors: (state, { payload }: PayloadAction) => {\r\n state.errors = payload;\r\n },\r\n setSalesOfficeList: (state, { payload }: PayloadAction) => {\r\n state.salesOfficeList = payload;\r\n },\r\n setUpdatedSalesOffice: (state, { payload }: PayloadAction) => {\r\n let currentIndex = state.salesOfficeList.findIndex(\r\n (item: any) => item.uniqueSalesOfficeId === payload?.uniqueSalesOfficeId\r\n );\r\n state.salesOfficeList = state.salesOfficeList.filter(\r\n (item: any) => item.uniqueSalesOfficeId !== payload?.uniqueSalesOfficeId\r\n );\r\n state.salesOfficeList.splice(currentIndex, 0, payload);\r\n },\r\n setDeletedSalesOfficeList(state, { payload }: PayloadAction) {\r\n\t\t\tstate.salesOfficeList = state.salesOfficeList.filter((item: any) => item.uniqueSalesOfficeId !== payload);\r\n },\r\n setSalesOfficeDetails: (state, { payload }: PayloadAction) => {\r\n state.salesOfficeDetails = payload;\r\n },\r\n setSalesOfficePageDetails: (state, { payload }: PayloadAction) => {\r\n state.salesOfficePageDetails = payload;\r\n },\r\n setNewSalesOfficeData: (state, { payload }: PayloadAction) => {\r\n state.salesOfficeList.unshift(payload);\r\n },\r\n setSalesOfficesByQuery: (state, { payload }: PayloadAction) => {\r\n state.salesOfficesByQuery = payload;\r\n },\r\n setSelectedSalesOffices: (state, { payload }: PayloadAction) => {\r\n state.selectedSalesOffices = payload;\r\n },\r\n },\r\n});\r\n\r\nexport const getSalesOfficeList =\r\n (setShowGrid, currentStart, keyword: any = \"\", sortField: any = \"\", sortOrder: any = \"\"): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(\r\n `${baseURL}api/v1/organization/salesoffices?keyword=${keyword}¤tstart=${currentStart}&sortcolumn=${sortField}&sortorder=${sortOrder}&isPagination=true`\r\n );\r\n if (res.status === \"done\") {\r\n dispatch(setSalesOfficeList(res?.data?.salesOfficeDetails));\r\n dispatch(setSalesOfficePageDetails(res?.data?.pageDetails));\r\n setShowGrid(true);\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\nexport const onAddSalesOffice =\r\n (\r\n body: any,\r\n setMessage,\r\n setDisplayInfoModal,\r\n setShowAddSalesOfficeModal\r\n ): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(\r\n `${baseURL}api/v1/organization/salesoffices/add`,\r\n body\r\n );\r\n if (res.status === \"done\") {\r\n dispatch(setNewSalesOfficeData(res.data));\r\n setMessage(\"Sales Office added\");\r\n setShowAddSalesOfficeModal(false);\r\n setDisplayInfoModal(true);\r\n } else {\r\n dispatch(setErrors(res.error));\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\nexport const onEditSalesOffice =\r\n (\r\n body: any,\r\n uniqueSalesOfficeId,\r\n setMessage,\r\n setDisplayInfoModal,\r\n setShowEditModal\r\n ): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(\r\n `${baseURL}api/v1/organization/salesoffices/${uniqueSalesOfficeId}`,\r\n body\r\n );\r\n if (res.status === \"done\") {\r\n dispatch(setUpdatedSalesOffice(res.data));\r\n setMessage(\"Sales office updated\");\r\n setShowEditModal(false);\r\n setDisplayInfoModal(true);\r\n } else {\r\n dispatch(setErrors(res.error));\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\nexport const getSalesOfficeDetails =\r\n (uniqueSalesOfficeId): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(\r\n `${baseURL}api/v1/organization/salesOffices/${uniqueSalesOfficeId}`\r\n );\r\n if (res.status === \"done\") {\r\n dispatch(setSalesOfficeDetails(res.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n \r\n };\r\n\r\n export const deleteSalesOffice = ({ uniqueSalesOfficeId, setSelectedRows, setMessage, setDisplayInfoModal }): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/organization/salesoffices/${uniqueSalesOfficeId}/remove`, null);\r\n if (res.status === \"done\") {\r\n dispatch(setDeletedSalesOfficeList(uniqueSalesOfficeId));\r\n setSelectedRows([]);\r\n setMessage(\"Sales Office deleted\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n setSelectedRows([]);\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const getSalesOfficesByQuery = (query) : AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/organization/salesoffices?${query}`);\r\n if (res.status === \"done\") {\r\n dispatch(setSalesOfficesByQuery(res?.data?.salesOfficeDetails));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const getSelectedSalesOffices = (data:any) : AppThunk => async (dispatch) => {\r\n dispatch(setSelectedSalesOffices(data));\r\n}\r\n\r\nexport const getTechnicians = (salesOfficeId, setSalesOfficeName, setTechnicians, setIsLoaded) : AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/organization/salesoffices/${salesOfficeId}/technicians`);\r\n if (res.status === \"done\") {\r\n if (res.data) {\r\n if (res.data.salesOfficeName) {\r\n setSalesOfficeName(res.data.salesOfficeName);\r\n }\r\n if (res.data.technicianDetails && res.data.technicianDetails.length) {\r\n let technicians: any = [];\r\n res.data.technicianDetails.map(element => {\r\n technicians.push({\r\n id: element.uniqueTechnicianId,\r\n siteName: element.technicianName,\r\n checked: element.isSelected,\r\n selected: false,\r\n disabled: element.isDisabled,\r\n });\r\n return null;\r\n });\r\n setTechnicians(technicians);\r\n } else {\r\n setTechnicians([])\r\n }\r\n setIsLoaded(true);\r\n }\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n}\r\n\r\nexport const assignTechnicians = (salesOfficeId, body, setLoader, setShowTechs, setMessage, setDisplayInfoModal): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/organization/salesoffices/${salesOfficeId}/technicians`, body);\r\n if (res.status === \"done\") {\r\n setShowTechs(false);\r\n setMessage(\"Technician(s) updated\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n if (res.message) {\r\n setMessage(res.message);\r\n setDisplayInfoModal(true); \r\n }\r\n dispatch(setErrors(res.error));\r\n }\r\n setLoader(false)\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n setLoader(false);\r\n }\r\n}\r\n\r\nexport const {\r\n setErrors,\r\n setSalesOfficeList,\r\n setSalesOfficeDetails,\r\n setUpdatedSalesOffice,\r\n setDeletedSalesOfficeList,\r\n setSalesOfficePageDetails,\r\n setNewSalesOfficeData,\r\n setSalesOfficesByQuery,\r\n setSelectedSalesOffices\r\n} = SalesOfficeSlice.actions;\r\n\r\nexport default SalesOfficeSlice.reducer;\r\n","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\";\r\nimport { zlink, baseURL } from \"../../../../service/HttpService\";\r\nimport { AppThunk } from \"../../../store\";\r\n\r\nexport interface ZoneState {\r\n errors: any;\r\n branchOfficeList: any;\r\n branchOfficeDetails: any;\r\n branchOfficePageDetails: any;\r\n salesOfficeLookup: any;\r\n allBranchOfficeList: any;\r\n}\r\n\r\nlet initialState: ZoneState = {\r\n errors: \"\",\r\n branchOfficeList: [],\r\n branchOfficeDetails: \"\",\r\n branchOfficePageDetails: [],\r\n salesOfficeLookup: \"\",\r\n allBranchOfficeList: [],\r\n};\r\nconst BranchOfficeSlice = createSlice({\r\n name: \"branchOffice\",\r\n initialState,\r\n reducers: {\r\n setErrors: (state, { payload }: PayloadAction) => {\r\n state.errors = payload;\r\n },\r\n setBranchOfficeList: (state, { payload }: PayloadAction) => {\r\n state.branchOfficeList = payload;\r\n },\r\n setDeletedBranchOfficeList(state, { payload }: PayloadAction) {\r\n\t\t\tstate.branchOfficeList = state.branchOfficeList.filter((item: any) => item.uniqueBranchOfficeId !== payload);\r\n },\r\n setUpdatedBranchOffice: (state, { payload }: PayloadAction) => {\r\n let currentIndex = state.branchOfficeList.findIndex(\r\n (item: any) =>\r\n item.uniqueBranchOfficeId === payload?.uniqueBranchOfficeId\r\n );\r\n state.branchOfficeList = state.branchOfficeList.filter(\r\n (item: any) =>\r\n item.uniqueBranchOfficeId !== payload?.uniqueBranchOfficeId\r\n );\r\n state.branchOfficeList.splice(currentIndex, 0, payload);\r\n },\r\n setBranchOfficeDetails: (state, { payload }: PayloadAction) => {\r\n state.branchOfficeDetails = payload;\r\n },\r\n setBranchOfficePageDetails: (state, { payload }: PayloadAction) => {\r\n state.branchOfficePageDetails = payload;\r\n },\r\n setNewBranchOfficeData: (state, { payload }: PayloadAction) => {\r\n state.branchOfficeList.unshift(payload);\r\n },\r\n setSalesOfficeLookup: (state, { payload }: PayloadAction) => {\r\n state.salesOfficeLookup = payload;\r\n },\r\n setAllBranchOfficeList: (state, { payload }: PayloadAction) => {\r\n state.allBranchOfficeList = payload;\r\n },\r\n },\r\n});\r\n\r\nexport const getBranchOfficeList =\r\n (setShowGrid, currentStart, keyword: any = \"\", sortField: any = \"\", sortOrder: any = \"\"): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(\r\n `${baseURL}api/v1/organization/branchoffices?keyword=${keyword}¤tstart=${currentStart}&sortcolumn=${sortField}&sortorder=${sortOrder}`\r\n );\r\n if (res.status === \"done\") {\r\n dispatch(setBranchOfficeList(res?.data?.branchOfficeList));\r\n dispatch(setBranchOfficePageDetails(res?.data?.pageDetails));\r\n setShowGrid(true);\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\nexport const onAddBranchOffice =\r\n (\r\n body: any,\r\n setMessage,\r\n setDisplayInfoModal,\r\n setShowAddBranchOfficeModal\r\n ): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(\r\n `${baseURL}api/v1/organization/branchoffices/add`,\r\n body\r\n );\r\n if (res.status === \"done\") {\r\n dispatch(setNewBranchOfficeData(res.data));\r\n setMessage(\"Branch Office added\");\r\n setShowAddBranchOfficeModal(false);\r\n setDisplayInfoModal(true);\r\n } else {\r\n dispatch(setErrors(res.error));\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\nexport const onEditBranchOffice =\r\n (\r\n body: any,\r\n uniqueBranchOfficeId,\r\n setMessage,\r\n setDisplayInfoModal,\r\n setShowEditModal\r\n ): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(\r\n `${baseURL}api/v1/organization/branchoffices/${uniqueBranchOfficeId}`,\r\n body\r\n );\r\n if (res.status === \"done\") {\r\n dispatch(setUpdatedBranchOffice(res.data));\r\n setMessage(\"Branch office updated\");\r\n setShowEditModal(false);\r\n setDisplayInfoModal(true);\r\n } else {\r\n dispatch(setErrors(res.error));\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\nexport const getBranchOfficeDetails =\r\n (uniqueBranchOfficeId): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(\r\n `${baseURL}api/v1/organization/branchOffices/${uniqueBranchOfficeId}`\r\n );\r\n if (res.status === \"done\") {\r\n dispatch(setBranchOfficeDetails(res.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\n export const deleteBranchOffice = ({ uniqueBranchOfficeId, setSelectedRows, setMessage, setDisplayInfoModal }): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/organization/branchoffices/${uniqueBranchOfficeId}/remove`, null);\r\n if (res.status === \"done\") {\r\n dispatch(setDeletedBranchOfficeList(uniqueBranchOfficeId));\r\n setSelectedRows([]);\r\n setMessage(\"Branch Office deleted\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n setSelectedRows([]);\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\n export const getSalesOfficeLookup =\r\n (): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(\r\n `${baseURL}api/v1/organization/salesoffices?isAllDetails=true`\r\n );\r\n if (res.status === \"done\") {\r\n dispatch(setSalesOfficeLookup(res?.data?.salesOfficeDetails));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const getAllBranchOfficeList = (): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/organization/branchoffices?isALLDetails=true`);\r\n if (res.status === \"done\") {\r\n if (res.data) {\r\n dispatch(setAllBranchOfficeList(res?.data?.branchOfficeList));\r\n }\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n \r\nexport const {\r\n setErrors,\r\n setBranchOfficeList,\r\n setUpdatedBranchOffice,\r\n setBranchOfficeDetails,\r\n setDeletedBranchOfficeList,\r\n setBranchOfficePageDetails,\r\n setNewBranchOfficeData,\r\n setSalesOfficeLookup,\r\n setAllBranchOfficeList,\r\n} = BranchOfficeSlice.actions;\r\nexport default BranchOfficeSlice.reducer;\r\n","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\";\r\nimport { zlink, baseURL } from \"../../../../../service/HttpService\";\r\nimport { AppThunk } from \"../../../../store\";\r\n\r\nexport interface HealthClassificationState {\r\n errors: any;\r\n healthClassificationList: any;\r\n healthClassificationPageDetails: any;\r\n healthClassificationDetails: any;\r\n healthClassifictionInUse: any;\r\n}\r\n\r\nlet initialState: HealthClassificationState = {\r\n errors: \"\",\r\n healthClassificationList: [],\r\n healthClassificationPageDetails: [],\r\n healthClassificationDetails: [],\r\n healthClassifictionInUse: \"\",\r\n};\r\n\r\nconst HealthClassificationSlice = createSlice({\r\n name: \"healthClassification\",\r\n initialState,\r\n reducers: {\r\n setErrors: (state, { payload }: PayloadAction) => {\r\n state.errors = payload;\r\n },\r\n setHealthClassificationList: (state, { payload }: PayloadAction) => {\r\n state.healthClassificationList = payload;\r\n },\r\n setHealthClassificationPageDetails: (\r\n state,\r\n { payload }: PayloadAction\r\n ) => {\r\n state.healthClassificationPageDetails = payload;\r\n },\r\n setNewHealthClassificationData: (\r\n state,\r\n { payload }: PayloadAction\r\n ) => {\r\n state.healthClassificationList.unshift(payload);\r\n },\r\n setUpdatedHealthClassification: (\r\n state,\r\n { payload }: PayloadAction\r\n ) => {\r\n let currentIndex = state.healthClassificationList.findIndex(\r\n (item: any) =>\r\n item.uniqueHealthClassificationId ===\r\n payload?.uniqueHealthClassificationId\r\n );\r\n state.healthClassificationList = state.healthClassificationList.filter(\r\n (item: any) =>\r\n item.uniqueHealthClassificationId !==\r\n payload?.uniqueHealthClassificationId\r\n );\r\n state.healthClassificationList.splice(currentIndex, 0, payload);\r\n },\r\n setDeletedHealthClassificationList(state, { payload }: PayloadAction) {\r\n state.healthClassificationList = state.healthClassificationList.filter(\r\n (item: any) => item.uniqueHealthClassificationId !== payload\r\n );\r\n },\r\n setHealthClassificationDetails: (\r\n state,\r\n { payload }: PayloadAction\r\n ) => {\r\n state.healthClassificationDetails = payload;\r\n },\r\n setHealthClassifictionInUse: (state, { payload }: PayloadAction) => {\r\n state.healthClassifictionInUse = payload;\r\n },\r\n },\r\n});\r\n\r\nexport const getHealthClassificationList =\r\n (selectedCountry: any, currentStart: any, keyword: any = \"\", sortField: any = \"\", sortOrder: any = \"\", setShowGrid?): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n let isAllDetails: boolean = false;\r\n if (currentStart === 0)\r\n isAllDetails = true;\r\n const res = await zlink.post(\r\n `${baseURL}api/v1/health/healthclassificationlist?keyword=${keyword}¤tstart=${currentStart}&sortcolumn=${sortField}&sortorder=${sortOrder}&isAllDetails=${isAllDetails}`,\r\n selectedCountry\r\n );\r\n if (res.status === \"done\") {\r\n dispatch(\r\n setHealthClassificationList(res?.data?.healthClassificationDetails)\r\n );\r\n dispatch(setHealthClassificationPageDetails(res?.data?.pageDetails));\r\n setShowGrid(true);\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\nexport const onAddHealthClassification =\r\n (\r\n body: any,\r\n uniqueCountryId,\r\n setMessage,\r\n setDisplayInfoModal,\r\n setShowAddModal\r\n ): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(\r\n `${baseURL}api/v1/country/${uniqueCountryId}/healthclassifications/add`,\r\n body\r\n );\r\n if (res.status === \"done\") {\r\n dispatch(setNewHealthClassificationData(res.data));\r\n setMessage(\"Health Classification added\");\r\n setShowAddModal(false);\r\n setDisplayInfoModal(true);\r\n } else {\r\n dispatch(setErrors(res.error));\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\nexport const onEditHealthClassification =\r\n (\r\n body: any,\r\n uniqueCountryId,\r\n uniqueHealthClassificationId,\r\n setMessage,\r\n setDisplayInfoModal,\r\n setShowEditModal\r\n ): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(\r\n `${baseURL}api/v1/country/healthclassifications/${uniqueHealthClassificationId}/edit`,\r\n body\r\n );\r\n if (res.status === \"done\") {\r\n dispatch(setUpdatedHealthClassification(res.data));\r\n setMessage(\"Health Classification updated\");\r\n setShowEditModal(false);\r\n setDisplayInfoModal(true);\r\n } else {\r\n dispatch(setErrors(res.error));\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\nexport const getHealthClassificationDetails =\r\n (uniqueHealthClassificationId): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(\r\n `${baseURL}api/v1/country/healthclassifications/${uniqueHealthClassificationId}`\r\n );\r\n if (res.status === \"done\") {\r\n dispatch(setHealthClassificationDetails(res.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\nexport const deleteHealthClassification =\r\n ({\r\n uniqueHealthClassificationId,\r\n setSelectedRows,\r\n setMessage,\r\n setDisplayInfoModal,\r\n }): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(\r\n `${baseURL}api/v1/country/healthclassifications/${uniqueHealthClassificationId}/remove`,\r\n null\r\n );\r\n if (res.status === \"done\") {\r\n dispatch(\r\n setDeletedHealthClassificationList(uniqueHealthClassificationId)\r\n );\r\n setSelectedRows([]);\r\n setMessage(\"Health Classification deleted\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n setSelectedRows([]);\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\n export const checkHealthClassifictionInUse = (uniqueHealthClassificationId): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/country/healthclassifications/${uniqueHealthClassificationId}/checkinuse`);\r\n if (res.status === \"done\") {\r\n dispatch(setHealthClassifictionInUse(res?.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const {\r\n setErrors,\r\n setHealthClassificationList,\r\n setUpdatedHealthClassification,\r\n setHealthClassificationDetails,\r\n setNewHealthClassificationData,\r\n setDeletedHealthClassificationList,\r\n setHealthClassificationPageDetails,\r\n setHealthClassifictionInUse\r\n} = HealthClassificationSlice.actions;\r\n\r\nexport default HealthClassificationSlice.reducer;\r\n","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\";\r\nimport { zlink, baseURL } from \"../../../../../service/HttpService\";\r\nimport { AppThunk } from \"../../../../store\";\r\n\r\nexport interface NFPAClassificationState {\r\n errors: any;\r\n NFPAList: any;\r\n NFPAPageDetails: any;\r\n NFPAClassificationDetails: any;\r\n ReportClassifications: any;\r\n isNFPAInUse: any;\r\n equipmentTypeList: any;\r\n inUseReturn: any;\r\n}\r\n\r\nlet initialState: NFPAClassificationState = {\r\n errors: \"\",\r\n NFPAList: [],\r\n NFPAPageDetails: [],\r\n NFPAClassificationDetails: [],\r\n ReportClassifications: [],\r\n isNFPAInUse: \"\",\r\n equipmentTypeList: [],\r\n inUseReturn:\"\"\r\n};\r\n\r\nconst NFPAClassificationSlice = createSlice({\r\n name: \"nfpaclassification\",\r\n initialState,\r\n reducers: {\r\n setErrors: (state, { payload }: PayloadAction) => {\r\n state.errors = payload;\r\n },\r\n setNFPAList: (state, { payload }: PayloadAction) => {\r\n state.NFPAList = payload;\r\n },\r\n setNewNFPAClassificationData: (state, { payload }: PayloadAction) => {\r\n let newNFPAitem ={\r\n uniquenfpaClassificationId: payload.uniqueNFPAClassificationId,\r\n nfpaCode: payload.nfpaCode,\r\n nfpaClassification: payload.nfpaClassification,\r\n equipmentType: payload.equipmentType,\r\n healthClassification: payload.healthClassification.healthcareClassificationName,\r\n reportClassification: payload.reportClassification\r\n }\r\n state.NFPAList.unshift(newNFPAitem);\r\n },\r\n setReportClassificationList: (state, { payload }: PayloadAction) => {\r\n state.ReportClassifications = payload;\r\n },\r\n setUpdatedNFPAClassification: (state, { payload }: PayloadAction) => {\r\n let updatedNFPAitem ={\r\n uniquenfpaClassificationId: payload.uniqueNFPAClassificationId,\r\n nfpaCode: payload.nfpaCode,\r\n nfpaClassification: payload.nfpaClassification,\r\n equipmentType: payload.equipmentType,\r\n healthClassification: payload.healthClassification.healthcareClassificationName,\r\n reportClassification: payload.reportClassification\r\n }\r\n let currentIndex = state.NFPAList.findIndex(\r\n (item: any) =>\r\n item.uniquenfpaClassificationId ===\r\n updatedNFPAitem?.uniquenfpaClassificationId\r\n );\r\n state.NFPAList = state.NFPAList.filter(\r\n (item: any) =>\r\n item.uniquenfpaClassificationId !==\r\n updatedNFPAitem?.uniquenfpaClassificationId\r\n );\r\n state.NFPAList.splice(currentIndex, 0, updatedNFPAitem);\r\n },\r\n setNFPAPageDetails: (state, { payload }: PayloadAction) => {\r\n state.NFPAPageDetails = payload;\r\n },\r\n setDeletedNFPAClassificationList(state, { payload }: PayloadAction) {\r\n state.NFPAList = state.NFPAList.filter(\r\n (item: any) => item.uniquenfpaClassificationId !== payload\r\n );\r\n },\r\n setNFPAClassificationDetails: (state, { payload }: PayloadAction) => {\r\n state.NFPAClassificationDetails = payload;\r\n },\r\n setIsNFPAInUse: (state, { payload }: PayloadAction) => {\r\n state.isNFPAInUse = payload;\r\n },\r\n setEquipmentTypeList: (state, { payload }: PayloadAction) => {\r\n state.equipmentTypeList = payload;\r\n },\r\n setInUseReturnForEdit: (state, { payload }: PayloadAction) => {\r\n state.inUseReturn = payload;\r\n },\r\n },\r\n});\r\n\r\nexport const getNFPAList =\r\n (setShowGrid, currentStart, body, keyword: any = \"\", sortField: any = \"\", sortOrder: any = \"\"): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(\r\n `${baseURL}api/v1/nfpa/nfpaclassificationlist?keyword=${keyword}¤tstart=${currentStart}&sortcolumn=${sortField}&sortorder=${sortOrder}`,\r\n body\r\n );\r\n if (res.status === \"done\") {\r\n dispatch(setNFPAList(res?.data?.nfpaClassificationDetails));\r\n dispatch(setNFPAPageDetails(res?.data?.pageDetails));\r\n setShowGrid(true);\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\nexport const getReportClassificationList = (): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/reportclassifications`);\r\n if (res.status === \"done\") {\r\n dispatch(setReportClassificationList(res?.data?.reportClassifications));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onAddNFPAClassification =\r\n (\r\n body: any,\r\n uniqueCountryId,\r\n setMessage,\r\n setDisplayInfoModal,\r\n setShowAddModal\r\n ): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(\r\n `${baseURL}api/v1/country/${uniqueCountryId}/nfpaclassifications/add`,\r\n body\r\n );\r\n if (res.status === \"done\") {\r\n dispatch(setNewNFPAClassificationData(res.data));\r\n setMessage(\"NFPA Classification added\");\r\n setShowAddModal(false);\r\n setDisplayInfoModal(true);\r\n } else {\r\n dispatch(setErrors(res.error));\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\nexport const onEditNFPAClassification =\r\n (\r\n body: any,\r\n uniqueCountryId,\r\n uniquenfpaClassificationId,\r\n setMessage,\r\n setDisplayInfoModal,\r\n setShowEditModal\r\n ): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(\r\n `${baseURL}api/v1/country/${uniqueCountryId}/nfpaclassifications/${uniquenfpaClassificationId}`,\r\n body\r\n );\r\n if (res.status === \"done\") {\r\n dispatch(setUpdatedNFPAClassification(res.data));\r\n setMessage(\"NFPA Classification updated\");\r\n setShowEditModal(false);\r\n setDisplayInfoModal(true);\r\n } else {\r\n dispatch(setErrors(res.error));\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\nexport const getNFPAClassificationDetails =\r\n (uniqueCountryId, uniquenfpaClassificationId): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(\r\n `${baseURL}api/v1/country/${uniqueCountryId}/nfpaclassifications/${uniquenfpaClassificationId}`\r\n );\r\n if (res.status === \"done\") {\r\n dispatch(setNFPAClassificationDetails(res.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\nexport const deleteNFPAClassification =\r\n ({\r\n uniquenfpaClassificationId,\r\n setSelectedRows,\r\n setMessage,\r\n setDisplayInfoModal,\r\n }): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(\r\n `${baseURL}api/v1/country/nfpaclassifications/${uniquenfpaClassificationId}/remove`,\r\n null\r\n );\r\n if (res.status === \"done\") {\r\n dispatch(setDeletedNFPAClassificationList(uniquenfpaClassificationId));\r\n setSelectedRows([]);\r\n setMessage(\"NFPA Classification deleted\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n setSelectedRows([]);\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\n export const checkNFPAInUse = (uniquenfpaClassificationId): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/country/nfpaclassifications/${uniquenfpaClassificationId}/checkinuse`);\r\n if (res.status === \"done\") {\r\n dispatch(setIsNFPAInUse(res?.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\n export const getEquipmentTypeListBsedOnHealth = (healthClassification:any = \"\"): AppThunk => async (dispatch) => {\r\n try {\r\n dispatch(setEquipmentTypeList([]));\r\n const res = await zlink.get(\r\n `${baseURL}api/v1/nfpa/equipmenttypeList?uniqueHealthClassificationId=${healthClassification}`\r\n );\r\n if (res.status === \"done\") {\r\n dispatch(setEquipmentTypeList(res?.data?.equipmentClassDetails));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\n export const checkNFPAInUseForEdit = (uniqueHealthClassificationId,body): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/country/nfpaclassification/${uniqueHealthClassificationId}/checkinusebeforeedit`,body);\r\n if (res.status === \"done\") {\r\n dispatch(setInUseReturnForEdit(res?.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const {\r\n setErrors,\r\n setNFPAList,\r\n setNewNFPAClassificationData,\r\n setUpdatedNFPAClassification,\r\n setNFPAClassificationDetails,\r\n setReportClassificationList,\r\n setDeletedNFPAClassificationList,\r\n setNFPAPageDetails,\r\n setIsNFPAInUse,\r\n setEquipmentTypeList,\r\n setInUseReturnForEdit\r\n} = NFPAClassificationSlice.actions;\r\nexport default NFPAClassificationSlice.reducer;\r\n","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\";\r\nimport { zlink, baseURL } from \"../../../../../service/HttpService\";\r\nimport { AppThunk } from \"../../../../store\";\r\n\r\nexport interface CommonAttributeState {\r\n errors: any;\r\n commonAttributeList: any;\r\n commonAttributePageDetails: any;\r\n attributeNameList: any;\r\n commonAttributeValues: any;\r\n commonAttributeValuePageDetails: any;\r\n fieldTypesData: any;\r\n commonAttributeDetails: any;\r\n commonAttributeValueDetails: any;\r\n isCommonAttributeInUse: any;\r\n isAttributeValueInUse:any;\r\n newCommonAtributeValue: any;\r\n}\r\n\r\nlet initialState: CommonAttributeState = {\r\n errors: \"\",\r\n commonAttributeList: [],\r\n commonAttributePageDetails: [],\r\n attributeNameList: [],\r\n commonAttributeValues: [],\r\n commonAttributeValuePageDetails: [],\r\n fieldTypesData: \"\",\r\n commonAttributeDetails: {},\r\n commonAttributeValueDetails: {},\r\n isCommonAttributeInUse: \"\",\r\n isAttributeValueInUse:\"\",\r\n newCommonAtributeValue: \"\",\r\n};\r\n\r\nconst CommonAttributeSlice = createSlice({\r\n name: \"commonAttribute\",\r\n initialState,\r\n reducers: {\r\n setErrors: (state, { payload }: PayloadAction) => {\r\n state.errors = payload;\r\n },\r\n setCommonAttributeList: (state, { payload }: PayloadAction) => {\r\n let ReviseData: any = [];\r\n payload.map((element: any, key: any) => {\r\n ReviseData = [\r\n ...ReviseData,\r\n {\r\n uniqueAttributeId: element.uniqueAttributeId,\r\n attributeName: element.attributeName,\r\n attributeType: element.attributeType,\r\n isMandatory: element.isMandatory ? \"True\" : \"False\",\r\n isValidated: element.isValidated ? \"True\" : \"False\",\r\n maxlength: element.maxlength,\r\n },\r\n ];\r\n return null;\r\n });\r\n state.commonAttributeList = ReviseData;\r\n },\r\n setCommonAttributePageDetails: (state, { payload }: PayloadAction) => {\r\n state.commonAttributePageDetails = payload;\r\n },\r\n setAttributeNameList: (state, { payload }: PayloadAction) => {\r\n state.attributeNameList = payload;\r\n },\r\n setCommonAttributeValues: (state, { payload }: PayloadAction) => {\r\n state.commonAttributeValues = payload;\r\n },\r\n setCommonAttributeValuePageDetails: (\r\n state,\r\n { payload }: PayloadAction\r\n ) => {\r\n state.commonAttributeValuePageDetails = payload;\r\n },\r\n setFieldTypesData: (state, { payload }: PayloadAction) => {\r\n state.fieldTypesData = payload;\r\n },\r\n setNewCommonAttributeData: (state, { payload }: PayloadAction) => {\r\n let newData: any = [];\r\n newData = [\r\n {\r\n uniqueAttributeId: payload.uniqueAttributeId,\r\n attributeName: payload.attributeName,\r\n attributeType: payload.attributeType,\r\n isMandatory: payload.isMandatory ? \"True\" : \"False\",\r\n isValidated: payload.isValidated ? \"True\" : \"False\",\r\n maxlength: payload.maxlength,\r\n },\r\n ];\r\n state.commonAttributeList.unshift(newData[0]);\r\n },\r\n\r\n setNewCommonAttributeValueData: (state, { payload }: PayloadAction) => {\r\n let newData: any = [];\r\n newData = [\r\n {\r\n dataFieldLookUpId: payload.dataFieldLookUpId,\r\n attributeValue: payload.attributeValue,\r\n },\r\n ];\r\n state.commonAttributeValues.unshift(newData[0]);\r\n state.newCommonAtributeValue = newData[0];\r\n },\r\n setCommonAttributeDetails: (state, { payload }: PayloadAction) => {\r\n state.commonAttributeDetails = payload;\r\n },\r\n setCommonAttributeValueDetails: (state, { payload }: PayloadAction) => {\r\n state.commonAttributeValueDetails = payload;\r\n },\r\n setIsCommonAttributeInUse: (state, { payload }: PayloadAction) => {\r\n state.isCommonAttributeInUse = payload;\r\n },\r\n setIsAttributeValueInUse: (state, { payload }: PayloadAction) => {\r\n state.isAttributeValueInUse = payload;\r\n },\r\n setUpdatedCommonAttributeData: (state, { payload }: PayloadAction) => {\r\n let newData: any = [];\r\n newData = [\r\n {\r\n uniqueAttributeId: payload.uniqueAttributeId,\r\n attributeName: payload.attributeName,\r\n attributeType: payload.attributeType,\r\n isMandatory: payload.isMandatory ? \"True\" : \"False\",\r\n isValidated: payload.isValidated ? \"True\" : \"False\",\r\n maxlength: payload.maxlength,\r\n },\r\n ];\r\n let currentIndex = state.commonAttributeList.findIndex(\r\n (item: any) => item.uniqueAttributeId === payload?.uniqueAttributeId\r\n );\r\n state.commonAttributeList = state.commonAttributeList.filter(\r\n (item: any) => item.uniqueAttributeId !== payload?.uniqueAttributeId\r\n );\r\n state.commonAttributeList.splice(currentIndex, 0, newData[0]);\r\n },\r\n setUpdatedCommonAttributeValueData: (state, { payload }: PayloadAction) => {\r\n let newData: any = [];\r\n newData = [\r\n {\r\n dataFieldLookUpId: payload.dataFieldLookUpId,\r\n attributeValue: payload.attributeValue,\r\n },\r\n ];\r\n let currentIndex = state.commonAttributeValues.findIndex(\r\n (item: any) => item.dataFieldLookUpId === payload?.dataFieldLookUpId\r\n );\r\n state.commonAttributeValues = state.commonAttributeValues.filter(\r\n (item: any) => item.dataFieldLookUpId !== payload?.dataFieldLookUpId\r\n );\r\n state.commonAttributeValues.splice(currentIndex, 0, newData[0]);\r\n },\r\n setDeletedCommonAttribute(state, { payload }: PayloadAction) {\r\n state.commonAttributeList = state.commonAttributeList.filter(\r\n (item: any) => item.uniqueAttributeId !== payload\r\n );\r\n },\r\n setDeletedCommonAttributeValues(state, { payload }: PayloadAction) {\r\n state.commonAttributeValues = state.commonAttributeValues.filter(\r\n (item: any) => item.dataFieldLookUpId !== payload\r\n );\r\n },\r\n },\r\n});\r\n\r\nexport const getCommonAttributeList = (currentStart,keyword: any = \"\",sortField: any = \"\", sortOrder: any = \"\"): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/manage/customization/attributes/commonattribute/commonattributelist?currentStart=${currentStart}&keyWord=${keyword}&sortColumn=${sortField}&sortOrder=${sortOrder}`);\r\n if (res.status === \"done\") {\r\n dispatch(setCommonAttributeList(res?.data?.attributeDetails));\r\n dispatch(setCommonAttributePageDetails(res?.data?.pageDetails));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const getAttributeNameList = (setFetchAttributeName): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/manage/customization/attributes/commonattributevalues/attributenamelist`);\r\n if (res.status === \"done\") {\r\n dispatch(setAttributeNameList(res?.data?.attributeDetails));\r\n setFetchAttributeName(true);\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const getCommonAttributeValues = (attributeId, currentStart,keyword: any = \"\",sortField: any = \"\", sortOrder: any = \"\", setMessage, setDisplayInfoModal, setIsLoaded): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/manage/customization/attributes/commonattribute/${attributeId}/commonattributevalues?currentStart=${currentStart}&keyWord=${keyword}&sortColumn=${sortField}&sortOrder=${sortOrder}`);\r\n if (res.status === \"done\") {\r\n if (res.data) {\r\n dispatch(setCommonAttributeValues(res?.data?.attributeDetails));\r\n dispatch(setCommonAttributeValuePageDetails(res?.data?.pageDetails));\r\n if (!res.data.attributeDetails.length) { \r\n setMessage('No Common Attribute Values exist')\r\n setDisplayInfoModal(true);\r\n }\r\n }\r\n if (setIsLoaded) {\r\n setIsLoaded(true);\r\n }\r\n } else {\r\n dispatch(setErrors(res.error));\r\n if (setIsLoaded) {\r\n setIsLoaded(true);\r\n }\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const getFieldTypesData = (): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/fieldtypes`);\r\n if (res.status === \"done\") {\r\n dispatch(setFieldTypesData(res?.data?.dataTypes));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onAddCommonAttribute = (body: any, setMessage, setDisplayInfoModal, setShowAddModal): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/attributes/commonattributes/add`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setNewCommonAttributeData(res.data));\r\n setShowAddModal(false);\r\n setMessage(\"Common Attribute added\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n dispatch(setErrors(res.error));\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onAddCommonAttributeValue = (body: any, uniqueAttributeId, setMessage, setDisplayInfoModal, setShowAddModal): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/attributes/${uniqueAttributeId}/values/add`, body);\r\n if (res.status === \"done\") {\r\n setShowAddModal(false);\r\n dispatch(setNewCommonAttributeValueData(res.data));\r\n setMessage(\"Common Attribute Value added\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n dispatch(setErrors(res.error));\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const getCommonAttributeDetails = (attributeId: any): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/attributes/commonattributes/${attributeId}`);\r\n if (res.status === \"done\") {\r\n dispatch(setCommonAttributeDetails(res?.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const checkIsCommonAttributeInUse = (attributeId): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(\r\n `${baseURL}api/v1/attributes/commonattributes/${attributeId}/checkcommonattributeinuse`\r\n );\r\n if (res.status === \"done\") {\r\n dispatch(setIsCommonAttributeInUse(res?.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onEditCommonAttribute = (attributeId, body: any, setMessage, setDisplayInfoModal, setShowAddModal): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/attributes/commonattributes/${attributeId} `, body);\r\n if (res.status === \"done\") {\r\n dispatch(setUpdatedCommonAttributeData(res.data));\r\n setShowAddModal(false);\r\n setMessage(\"Common Attribute updated\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n dispatch(setErrors(res.error));\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onEditCommonAttributeValue = (attributeId, datafieldlookupid, body: any, setMessage, setDisplayInfoModal, setShowEditModal): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/attributes/${attributeId}/values/${datafieldlookupid}`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setUpdatedCommonAttributeValueData(res.data));\r\n setShowEditModal(false);\r\n setMessage(\"Common Attribute Value updated\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n dispatch(setErrors(res.error));\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const getCommonAttributeValueDetails = (attributeId: any, datafieldlookupid: any): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/attributes/${attributeId}/values/${datafieldlookupid}`);\r\n if (res.status === \"done\") {\r\n dispatch(setCommonAttributeValueDetails(res?.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const deleteCommonAttribute = (attributeId, setSelectedRows, setMessage, setDisplayInfoModal): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/attributes/commonattributes/${attributeId}/remove`, null);\r\n if (res.status === \"done\") {\r\n dispatch(setDeletedCommonAttribute(attributeId));\r\n setSelectedRows([]);\r\n setMessage(\"Common Attribute deleted\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n setSelectedRows([]);\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const checkIsAttributeValueInUse = (uniqueattributeid,datafieldlookupid): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/attributes/${uniqueattributeid}/values/${datafieldlookupid}/checkattributevalueinuse`);\r\n if (res.status === \"done\") {\r\n dispatch(setIsAttributeValueInUse(res?.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const deleteCommonAttributeValue = (uniqueattributeid,datafieldlookupid, setSelectedRows, setMessage, setDisplayInfoModal): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/attributes/${uniqueattributeid}/values/${datafieldlookupid}/remove`, null);\r\n if (res.status === \"done\") {\r\n dispatch(setDeletedCommonAttributeValues(datafieldlookupid));\r\n setSelectedRows([]);\r\n setMessage(\"Common Attribute Value deleted\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n setSelectedRows([]);\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const {\r\n setErrors,\r\n setCommonAttributeList,\r\n setCommonAttributePageDetails,\r\n setAttributeNameList,\r\n setCommonAttributeValues,\r\n setDeletedCommonAttributeValues,\r\n setCommonAttributeValuePageDetails,\r\n setFieldTypesData,\r\n setNewCommonAttributeData,\r\n setNewCommonAttributeValueData,\r\n setCommonAttributeDetails,\r\n setCommonAttributeValueDetails,\r\n setIsCommonAttributeInUse,\r\n setIsAttributeValueInUse,\r\n setUpdatedCommonAttributeData,\r\n setUpdatedCommonAttributeValueData,\r\n setDeletedCommonAttribute,\r\n} = CommonAttributeSlice.actions;\r\n\r\nexport default CommonAttributeSlice.reducer;\r\n","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\";\r\nimport { zlink, baseURL } from \"../../../../../service/HttpService\";\r\nimport { AppThunk } from \"../../../../store\";\r\n\r\nexport interface EquipmentTypeAttributeValueState {\r\n errors: any;\r\n equipmentTypeNameList: any;\r\n equipmentTypeAttributeValues: any;\r\n equipmentAttributeNameList: any;\r\n equipmentTypeAttributeValueList: any;\r\n equipmentTypeAttributeValueDetails: any;\r\n equipmentTypeAttributeValuePageDetails: any;\r\n newEquipmentTypeAttributeValue: any;\r\n}\r\n\r\nlet initialState: EquipmentTypeAttributeValueState = {\r\n errors: \"\",\r\n equipmentTypeNameList: [],\r\n equipmentAttributeNameList: [],\r\n equipmentTypeAttributeValues: [],\r\n equipmentTypeAttributeValueList: [],\r\n equipmentTypeAttributeValueDetails: {},\r\n equipmentTypeAttributeValuePageDetails: [],\r\n newEquipmentTypeAttributeValue: \"\",\r\n};\r\n\r\nconst EquipmentTypeAttributeValueSlice = createSlice({\r\n name: \"equipmentTypeAttributeValue\",\r\n initialState,\r\n reducers: {\r\n setErrors: (state, { payload }: PayloadAction) => {\r\n state.errors = payload;\r\n },\r\n setEquipmentTypeNameList: (state, { payload }: PayloadAction) => {\r\n state.equipmentTypeNameList = payload;\r\n },\r\n setEquipmentAttributeNameList: (state, { payload }: PayloadAction) => {\r\n state.equipmentAttributeNameList = payload;\r\n },\r\n setEquipmentTypeAttributeValueList: (state, { payload }: PayloadAction) => {\r\n state.equipmentTypeAttributeValueList = payload;\r\n },\r\n setNewEquipmentTypeAttributeValueData: (state, { payload }: PayloadAction) => {\r\n let newData: any = [];\r\n newData = [\r\n {\r\n dataFieldLookUpId: payload.dataFieldLookUpId,\r\n attributeValue: payload.attributeValue,\r\n },\r\n ];\r\n state.equipmentTypeAttributeValueList.unshift(newData[0]);\r\n state.newEquipmentTypeAttributeValue = newData[0];\r\n },\r\n setEquipmentTypeAttributeValueDetails: (state, { payload }: PayloadAction) => {\r\n state.equipmentTypeAttributeValueDetails = payload;\r\n },\r\n setUpdatedEquipmentTypeAttributeValueData: (state, { payload }: PayloadAction) => {\r\n let newData: any = [];\r\n newData = [\r\n {\r\n dataFieldLookUpId: payload.dataFieldLookUpId,\r\n attributeValue: payload.attributeValue,\r\n },\r\n ];\r\n let currentIndex = state.equipmentTypeAttributeValueList.findIndex(\r\n (item: any) => item.dataFieldLookUpId === payload?.dataFieldLookUpId\r\n );\r\n state.equipmentTypeAttributeValueList =\r\n state.equipmentTypeAttributeValueList.filter(\r\n (item: any) => item.dataFieldLookUpId !== payload?.dataFieldLookUpId\r\n );\r\n state.equipmentTypeAttributeValueList.splice(currentIndex, 0, newData[0]);\r\n },\r\n setDeletedEquipmentTypeAttributeValues(state, { payload }: PayloadAction) {\r\n state.equipmentTypeAttributeValueList = state.equipmentTypeAttributeValueList.filter(\r\n (item: any) => item.dataFieldLookUpId !== payload\r\n );\r\n },\r\n setEquipmentTypeAttributeValuePageDetails: (state, { payload }: PayloadAction) => {\r\n state.equipmentTypeAttributeValuePageDetails = payload;\r\n },\r\n },\r\n});\r\n\r\nexport const getEquipmentTypeNameList = (): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/manage/customization/attributes/typeattribute/equipmenttypelist`);\r\n if (res.status === \"done\") {\r\n dispatch(setEquipmentTypeNameList(res?.data?.equipmentClassDetails));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const getEquipmentAttributeNameList = (uniqueEquipmentTypeId: any, setIsEquipmentValue): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/manage/customization/equipmenttypes/${uniqueEquipmentTypeId}/attributes`);\r\n if (res.status === \"done\") {\r\n dispatch(setEquipmentAttributeNameList(res?.data?.attributeDetails));\r\n setIsEquipmentValue(true);\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const getEquipmentTypeAttributeValuesList = (uniqueAttributeId, currentStart,keyword: any = \"\",sortField: any = \"\", sortOrder: any = \"\", setMessage, setDisplayInfoModal, setIsLoaded): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/manage/customization/equipmenttypevalues/attributes/${uniqueAttributeId}/values?currentStart=${currentStart}&keyWord=${keyword}&sortColumn=${sortField}&sortOrder=${sortOrder}`);\r\n if (res.status === \"done\") {\r\n if (res.data) {\r\n dispatch(setEquipmentTypeAttributeValueList(res?.data?.attributeDetails));\r\n dispatch(setEquipmentTypeAttributeValuePageDetails(res?.data?.pageDetails));\r\n if (!res.data.attributeDetails.length) {\r\n setMessage('No Equipment Type Attribute Values exist')\r\n setDisplayInfoModal(true);\r\n }\r\n }\r\n if (setIsLoaded) {\r\n setIsLoaded(true);\r\n }\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onAddEquipmentTypeAttributeValue = (body: any, uniqueAttributeId, setMessage, setDisplayInfoModal, setShowAddModal): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/attributes/${uniqueAttributeId}/values/add`, body);\r\n if (res.status === \"done\") {\r\n setShowAddModal(false);\r\n dispatch(setNewEquipmentTypeAttributeValueData(res.data));\r\n setMessage(\"Equipment Type Attribute Value added\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n dispatch(setErrors(res.error));\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onEditEquipmentTypeAttributeValue =\r\n (\r\n attributeId,\r\n datafieldlookupid,\r\n body: any,\r\n setMessage,\r\n setDisplayInfoModal,\r\n setShowEditModal\r\n ): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/attributes/${attributeId}/values/${datafieldlookupid}`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setUpdatedEquipmentTypeAttributeValueData(res.data));\r\n setShowEditModal(false);\r\n setMessage(\"Equipment Type Attribute Value updated\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n dispatch(setErrors(res.error));\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const getEquipmentTypeAttributeValueDetails = (attributeId: any, datafieldlookupid: any): AppThunk => async (dispatch) => {\r\n setEquipmentTypeAttributeValueDetails({});\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/attributes/${attributeId}/values/${datafieldlookupid}`);\r\n if (res.status === \"done\") {\r\n dispatch(setEquipmentTypeAttributeValueDetails(res?.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const deleteEquipmentTypeAttributeValue =(uniqueattributeid,datafieldlookupid, setSelectedRows, setMessage, setDisplayInfoModal): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/attributes/${uniqueattributeid}/values/${datafieldlookupid}/remove`, null);\r\n if (res.status === \"done\") {\r\n dispatch(setDeletedEquipmentTypeAttributeValues(datafieldlookupid));\r\n setSelectedRows([]);\r\n setMessage(\"Equipment Type Attribute Value deleted\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n setSelectedRows([]);\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const {\r\n setErrors,\r\n setEquipmentTypeNameList,\r\n setEquipmentAttributeNameList,\r\n setNewEquipmentTypeAttributeValueData,\r\n setUpdatedEquipmentTypeAttributeValueData,\r\n setEquipmentTypeAttributeValueDetails,\r\n setDeletedEquipmentTypeAttributeValues,\r\n setEquipmentTypeAttributeValueList,\r\n setEquipmentTypeAttributeValuePageDetails,\r\n} = EquipmentTypeAttributeValueSlice.actions;\r\n\r\nexport default EquipmentTypeAttributeValueSlice.reducer;\r\n","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\";\r\nimport { zlink, baseURL } from \"../../../../../service/HttpService\";\r\nimport { AppThunk } from \"../../../../store\";\r\n\r\nexport interface EquipmentTypeAttributeState {\r\n errors: any;\r\n equipmentTypeList: any;\r\n equipmentTypeAttributeList: any;\r\n equipmentTypeAttributeDetails: any;\r\n equipmentTypeAttributeListPageDetails: any;\r\n isEquipmentTypeAttributeInUse: any;\r\n}\r\n\r\nlet initialState: EquipmentTypeAttributeState = {\r\n errors: \"\",\r\n equipmentTypeList: [],\r\n equipmentTypeAttributeList: [],\r\n equipmentTypeAttributeDetails: {},\r\n equipmentTypeAttributeListPageDetails: [],\r\n isEquipmentTypeAttributeInUse: \"\",\r\n};\r\n\r\nconst EquipmentTypeAttributeSlice = createSlice({\r\n name: \"equipmentTypeAttribute\",\r\n initialState,\r\n reducers: {\r\n setErrors: (state, { payload }: PayloadAction) => {\r\n state.errors = payload;\r\n },\r\n setEquipmentTypeList: (state, { payload }: PayloadAction) => {\r\n state.equipmentTypeList = payload;\r\n },\r\n setEquipmentTypeAttributeList: (state, { payload }: PayloadAction) => {\r\n let ReviseData: any = [];\r\n payload.map((element: any, key: any) => {\r\n ReviseData = [\r\n ...ReviseData,\r\n {\r\n uniqueAttributeId: element.uniqueAttributeId,\r\n attributeName: element.attributeName,\r\n attributeType: element.attributeType,\r\n isMandatory: element.isMandatory ? \"True\" : \"False\",\r\n isValidated: element.isValidated ? \"True\" : \"False\",\r\n maxlength: element.maxlength,\r\n },\r\n ];\r\n return null;\r\n });\r\n state.equipmentTypeAttributeList = ReviseData;\r\n },\r\n setNewEquipmentTypeAttributeData: (\r\n state,\r\n { payload }: PayloadAction\r\n ) => {\r\n let newData: any = [];\r\n newData = [\r\n {\r\n uniqueAttributeId: payload.uniqueAttributeId,\r\n attributeName: payload.attributeName,\r\n attributeType: payload.attributeType,\r\n isMandatory: payload.isMandatory ? \"True\" : \"False\",\r\n isValidated: payload.isValidated ? \"True\" : \"False\",\r\n maxlength: payload.maxlength,\r\n },\r\n ];\r\n state.equipmentTypeAttributeList.unshift(newData[0]);\r\n },\r\n setEquipmentTypeAttributeDetails: (\r\n state,\r\n { payload }: PayloadAction\r\n ) => {\r\n state.equipmentTypeAttributeDetails = payload;\r\n },\r\n setIsEquipmentTypeAttributeInUse: (\r\n state,\r\n { payload }: PayloadAction\r\n ) => {\r\n state.isEquipmentTypeAttributeInUse = payload;\r\n },\r\n setDeletedEquipmentTypeAttribute(state, { payload }: PayloadAction) {\r\n state.equipmentTypeAttributeList = state.equipmentTypeAttributeList.filter(\r\n (item: any) => item.uniqueAttributeId !== payload\r\n );\r\n },\r\n setUpdatedEquipmentTypeAttributeData: (\r\n state,\r\n { payload }: PayloadAction\r\n ) => {\r\n let newData: any = [];\r\n newData = [\r\n {\r\n uniqueAttributeId: payload.uniqueAttributeId,\r\n attributeName: payload.attributeName,\r\n attributeType: payload.attributeType,\r\n isMandatory: payload.isMandatory ? \"True\" : \"False\",\r\n isValidated: payload.isValidated ? \"True\" : \"False\",\r\n maxlength: payload.maxlength,\r\n },\r\n ];\r\n let currentIndex = state.equipmentTypeAttributeList.findIndex(\r\n (item: any) => item.uniqueAttributeId === payload?.uniqueAttributeId\r\n );\r\n state.equipmentTypeAttributeList =\r\n state.equipmentTypeAttributeList.filter(\r\n (item: any) => item.uniqueAttributeId !== payload?.uniqueAttributeId\r\n );\r\n state.equipmentTypeAttributeList.splice(currentIndex, 0, newData[0]);\r\n },\r\n setEquipmentTypeAttributeListPageDetails: (\r\n state,\r\n { payload }: PayloadAction\r\n ) => {\r\n state.equipmentTypeAttributeListPageDetails = payload;\r\n },\r\n },\r\n});\r\n\r\nexport const getEquipmentTypeList = (): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(\r\n `${baseURL}api/v1/manage/customization/attributes/typeattribute/equipmenttypelist`\r\n );\r\n if (res.status === \"done\") {\r\n dispatch(setEquipmentTypeList(res?.data?.equipmentClassDetails));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const getEquipmentTypeAttributeList = (uniqueEquipmentClassId: any, currentStart: any,keyword: any = \"\",sortField: any = \"\", sortOrder: any = \"\"): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/manage/customization/attributes/typeattribute/${uniqueEquipmentClassId}/equipmenttypeattributelist?currentStart=${currentStart}&keyWord=${keyword}&sortColumn=${sortField}&sortOrder=${sortOrder}`);\r\n if (res.status === \"done\") {\r\n if (res.data) {\r\n dispatch(setEquipmentTypeAttributeList(res?.data?.attributeDetails));\r\n dispatch(setEquipmentTypeAttributeListPageDetails(res?.data?.pageDetails));\r\n }\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const getEquipmentTypeAttributeDetails = (attributeId: any): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(\r\n `${baseURL}api/v1/equipmenttypes/equipmenttypeid/attributes/${attributeId}`\r\n );\r\n if (res.status === \"done\") {\r\n dispatch(setEquipmentTypeAttributeDetails(res?.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const checkIsEquipmentTypeAttributeInUse =\r\n (attributeId): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(\r\n `${baseURL}api/v1/equipmenttypes/equipmenttypeid/attributes/${attributeId}/checkequipmenttypeattributeinuse`\r\n );\r\n if (res.status === \"done\") {\r\n dispatch(setIsEquipmentTypeAttributeInUse(res?.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\nexport const onAddEquipmentTypeAttribute =\r\n (\r\n body: any,\r\n uniqueEquipmentTypeId,\r\n setMessage,\r\n setDisplayInfoModal,\r\n setShowAddModal\r\n ): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(\r\n `${baseURL}api/v1/equipmenttypes/${uniqueEquipmentTypeId}/attributes/add`,\r\n body\r\n );\r\n if (res.status === \"done\") {\r\n dispatch(setNewEquipmentTypeAttributeData(res.data));\r\n setShowAddModal(false);\r\n setMessage(\"Equipment Type Attribute added\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n dispatch(setErrors(res.error));\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\n export const onEditEquipmentTypeAttribute =\r\n (\r\n selectedEquipmentTypeAttribute,\r\n equipmentTypeId,\r\n body: any,\r\n setMessage,\r\n setDisplayInfoModal,\r\n setShowAddModal,\r\n setselectedRows\r\n ): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(\r\n `${baseURL}api/v1/equipmenttypes/${equipmentTypeId}/attributes/${selectedEquipmentTypeAttribute?.uniqueAttributeId} `,\r\n body\r\n );\r\n if (res.status === \"done\") {\r\n dispatch(setUpdatedEquipmentTypeAttributeData(res.data));\r\n setselectedRows(prev => {\r\n let equipmentTypeAttributes = prev;\r\n equipmentTypeAttributes[0]={...selectedEquipmentTypeAttribute, isValidated:res.data?.isValidated?\"True\":\"False\"};\r\n return equipmentTypeAttributes;\r\n });\r\n setShowAddModal(false);\r\n setMessage(\"Equipment Type Attribute updated\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n dispatch(setErrors(res.error));\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n export const deleteEquipmentTypeAttribute =\r\n (attributeId, setSelectedRows, setMessage, setDisplayInfoModal): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(\r\n `${baseURL}api/v1/equipmenttypes/equipmenttypeid/attributes/${attributeId}/remove`,\r\n null\r\n );\r\n if (res.status === \"done\") {\r\n dispatch(setDeletedEquipmentTypeAttribute(attributeId));\r\n setSelectedRows([]);\r\n setMessage(\"Equipment Type Attribute deleted\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n setSelectedRows([]);\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\nexport const {\r\n setErrors,\r\n setEquipmentTypeList,\r\n setEquipmentTypeAttributeList,\r\n setEquipmentTypeAttributeDetails,\r\n setDeletedEquipmentTypeAttribute,\r\n setUpdatedEquipmentTypeAttributeData,\r\n setNewEquipmentTypeAttributeData,\r\n setEquipmentTypeAttributeListPageDetails,\r\n setIsEquipmentTypeAttributeInUse,\r\n} = EquipmentTypeAttributeSlice.actions;\r\n\r\nexport default EquipmentTypeAttributeSlice.reducer;\r\n","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\";\r\nimport { AppThunk } from \"redux/store\";\r\nimport { baseURL, zlink } from \"service/HttpService\";\r\n\r\nexport interface ReportMappingState {\r\n errors: any;\r\n subItems: any;\r\n reportGroups: any;\r\n reportDetailsForContract: any;\r\n reportMappingSavedDataForContract: any;\r\n reportDetailsForSystems: any;\r\n reportMappingSavedDataForSystems: any;\r\n reportDetailsForQuestion: any;\r\n reportMappingSavedDataForQuestion: any;\r\n selectedDisplayColumns :any;\r\n displayColumns: any;\r\n isDisplayColumnsReadyToUpdate :any;\r\n}\r\n\r\nlet initialState: ReportMappingState = {\r\n errors: \"\",\r\n subItems: \"\",\r\n reportGroups: \"\",\r\n reportDetailsForContract: \"\",\r\n reportMappingSavedDataForContract: \"\",\r\n reportDetailsForSystems: \"\",\r\n reportMappingSavedDataForSystems: \"\",\r\n reportDetailsForQuestion: \"\",\r\n reportMappingSavedDataForQuestion: \"\",\r\n selectedDisplayColumns:[],\r\n displayColumns : [],\r\n isDisplayColumnsReadyToUpdate :true,\r\n};\r\n\r\nconst ReportMappingSlice = createSlice({\r\n name: \"reporttemplate\",\r\n initialState,\r\n reducers: {\r\n setErrors: (state, { payload }: PayloadAction) => {\r\n state.errors = payload;\r\n },\r\n setSubItems: (state, { payload }: PayloadAction) => {\r\n state.subItems = payload;\r\n },\r\n setReportGroups: (state, { payload }: PayloadAction) => {\r\n state.reportGroups = payload;\r\n },\r\n setReportDetailsForContract: (state, { payload }: PayloadAction) => {\r\n state.reportDetailsForContract = payload;\r\n },\r\n setReportMappingSavedDataForContract: (state, { payload }: PayloadAction) => {\r\n state.reportMappingSavedDataForContract = payload;\r\n },\r\n clearReportMappingSavedDataForContract: (state, { payload }: PayloadAction ) => {\r\n state.reportMappingSavedDataForContract = payload;\r\n },\r\n setReportDetailsForSystem: (state, { payload }: PayloadAction) => {\r\n state.reportDetailsForSystems = payload;\r\n },\r\n\r\n setReportMappingSavedDataForSystem: (state, { payload }: PayloadAction) => {\r\n state.reportMappingSavedDataForSystems = payload;\r\n },\r\n clearReportMappingSavedDataForSystem: (state, { payload }: PayloadAction) => {\r\n state.reportMappingSavedDataForSystems = payload;\r\n },\r\n setReportDetailsForQuestion: (state, { payload }: PayloadAction) => {\r\n state.reportDetailsForQuestion = payload;\r\n },\r\n\r\n setReportMappingSavedDataForQuestion: (state, { payload }: PayloadAction) => {\r\n state.reportMappingSavedDataForQuestion = payload;\r\n },\r\n clearReportMappingSavedDataForQuestion: (state, { payload }: PayloadAction) => {\r\n state.reportMappingSavedDataForQuestion = payload;\r\n },\r\n setDisplayColumns: (state, { payload }: PayloadAction) => {\r\n state.displayColumns = payload;\r\n },\r\n setIsDisplayColumnsReadyToUpdate: (state, { payload }: PayloadAction) => {\r\n state.isDisplayColumnsReadyToUpdate = payload;\r\n },\r\n setSelectedDisplayColumns: (state, { payload }: PayloadAction) => {\r\n state.selectedDisplayColumns = payload;\r\n },\r\n },\r\n});\r\n\r\nexport const getReportSubItemList =\r\n (id: any): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/reportmapping`);\r\n if (res.status === \"done\") {\r\n let data = {\r\n id: id,\r\n data: res.data.reportMappingDetails,\r\n };\r\n dispatch(setSubItems(data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\nexport const getReportGroups =\r\n (countryId: any): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(\r\n `${baseURL}api/v1/country/${countryId}/reportgroups`\r\n );\r\n if (res.status === \"done\") {\r\n dispatch(setReportGroups(res?.data?.reportGroupDetails));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const getReportDetailsForContract =\r\n (countryId: any, reportGroupId: any): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(\r\n `${baseURL}api/v1/country/${countryId}/reportfields/reportgroups/${reportGroupId}/contracts/reportfields`\r\n );\r\n if (res.status === \"done\") {\r\n dispatch(setReportDetailsForContract(res?.data?.reportMappingDetails));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const onSavecontractReportMappingDataForContract =\r\n (countryId: any, reportGroupId: any, body: any): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(\r\n `${baseURL}api/v1/country/${countryId}/reportfields/reportgroups/${reportGroupId}/contracts/reportfields/current`, body\r\n );\r\n if (res.status === \"done\") {\r\n dispatch(setReportMappingSavedDataForContract(res?.data?.reportGroupFields));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\nexport const getReportDetailsForSystem =\r\n (countryId: any, reportGroupId: any): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(\r\n `${baseURL}api/v1/country/${countryId}/reportfields/reportgroups/${reportGroupId}/systems/reportfields`\r\n );\r\n if (res.status === \"done\") {\r\n dispatch(setReportDetailsForSystem(res?.data?.reportMappingDetails));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const onSavecontractReportMappingDataForSystem =\r\n (countryId: any, reportGroupId: any, body: any): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(\r\n `${baseURL}api/v1/country/${countryId}/reportfields/reportgroups/${reportGroupId}/systems/reportfields/current`, body\r\n );\r\n if (res.status === \"done\") {\r\n dispatch(setReportMappingSavedDataForSystem(res?.data?.reportGroupFields));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\nexport const getReportDetailsForQuestion =\r\n (countryId: any, reportGroupId: any): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(\r\n `${baseURL}api/v1/country/${countryId}/reportfields/reportgroups/${reportGroupId}/questions/reportfields`\r\n );\r\n if (res.status === \"done\") {\r\n dispatch(setReportDetailsForQuestion(res?.data?.reportMappingDetails));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const onSavecontractReportMappingDataForQuestion =\r\n (countryId: any, reportGroupId: any, body: any): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(\r\n `${baseURL}api/v1/country/${countryId}/reportfields/reportgroups/${reportGroupId}/questions/reportfields/current`, body\r\n );\r\n if (res.status === \"done\") {\r\n dispatch(setReportMappingSavedDataForQuestion(res?.data?.reportGroupFields));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\nexport const onDownloadReportMappingDetailsForContracts =\r\n (countryId: any, reportGroupId: any,body): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const request: any = {\r\n method: \"POST\",\r\n cache: \"no-store\",\r\n headers: {\r\n \"Content-Type\": \"application/json; charset=utf-8\",\r\n Authorization: sessionStorage.getItem(\"accesstoken\"),\r\n },\r\n body: JSON.stringify(body)\r\n };\r\n const downloadUrl = (window as any).envSettings.baseAPIUrl + `api/v1/country/${countryId}/reportfields/reportgroups/${reportGroupId}/contracts/reportfields/download`;\r\n await fetch(downloadUrl, request).then((response: any) => {\r\n if (response.ok) {\r\n response.blob().then((blob: any) => {\r\n let url = window.URL.createObjectURL(blob);\r\n let a = document.createElement(\"a\");\r\n a.href = url;\r\n a.download = \"ContractReportMapping\";\r\n a.click();\r\n\r\n });\r\n }\r\n });\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\nexport const onDownloadReportMappingDetailsForQuestions =\r\n (countryId: any, reportGroupId: any,body): AppThunk =>\r\n async (dispatch) => {\r\n\r\n try {\r\n const request: any = {\r\n method: \"POST\",\r\n cache: \"no-store\",\r\n headers: {\r\n \"Content-Type\": \"application/json; charset=utf-8\",\r\n Authorization: sessionStorage.getItem(\"accesstoken\"),\r\n },\r\n body: JSON.stringify(body)\r\n };\r\n const downloadUrl = (window as any).envSettings.baseAPIUrl + `api/v1/country/${countryId}/reportfields/reportgroups/${reportGroupId}/questions/reportfields/download`;\r\n await fetch(downloadUrl, request).then((response: any) => {\r\n if (response.ok) {\r\n response.blob().then((blob: any) => {\r\n let url = window.URL.createObjectURL(blob);\r\n let a = document.createElement(\"a\");\r\n a.href = url;\r\n a.download = \"QuestionReportMapping\";\r\n a.click();\r\n\r\n });\r\n }\r\n });\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\nexport const onDownloadReportMappingDetailsForSystems =\r\n (countryId: any, reportGroupId: any,body): AppThunk =>\r\n async (dispatch) => {\r\n\r\n try {\r\n const request: any = {\r\n method: \"POST\",\r\n cache: \"no-store\",\r\n headers: {\r\n \"Content-Type\": \"application/json; charset=utf-8\",\r\n Authorization: sessionStorage.getItem(\"accesstoken\"),\r\n },\r\n body: JSON.stringify(body)\r\n };\r\n const downloadUrl = (window as any).envSettings.baseAPIUrl + `api/v1/country/${countryId}/reportfields/reportgroups/${reportGroupId}/systems/reportfields/download`;\r\n await fetch(downloadUrl, request).then((response: any) => {\r\n if (response.ok) {\r\n response.blob().then((blob: any) => {\r\n let url = window.URL.createObjectURL(blob);\r\n let a = document.createElement(\"a\");\r\n a.href = url;\r\n a.download = \"SystemReportMapping\";\r\n a.click();\r\n\r\n });\r\n }\r\n });\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const {\r\n setErrors,\r\n setSubItems,\r\n setReportGroups,\r\n setReportDetailsForContract,\r\n setReportMappingSavedDataForContract,\r\n clearReportMappingSavedDataForContract,\r\n setReportDetailsForSystem,\r\n setReportMappingSavedDataForSystem,\r\n clearReportMappingSavedDataForSystem,\r\n setReportDetailsForQuestion,\r\n setReportMappingSavedDataForQuestion,\r\n clearReportMappingSavedDataForQuestion,\r\n setDisplayColumns,\r\n setSelectedDisplayColumns,\r\n setIsDisplayColumnsReadyToUpdate\r\n} = ReportMappingSlice.actions;\r\nexport default ReportMappingSlice.reducer;\r\n","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\";\r\nimport { AppThunk } from \"redux/store\";\r\nimport { baseURL, zlink } from \"service/HttpService\";\r\n\r\n\r\n\r\nexport interface InspectionFieldState {\r\n errors: any;\r\n inputTypes: any;\r\n fieldTypes: any;\r\n newQuestionInspectionField: any;\r\n inspectionQuestions: any;\r\n newFieldValue: any;\r\n updatedFieldValue: any;\r\n deletedFieldValue: any;\r\n updatedQuestionInspectionField: any;\r\n deletedQuestionInspectionField: any;\r\n newGroupSection: any;\r\n updatedGroupSection: any;\r\n deletedGroupSection: any;\r\n inspectionContracts: any;\r\n inspectionSystems: any;\r\n newContractInspectionField: any;\r\n newSystemInspectionField: any;\r\n updatedContractInspectionField: any;\r\n updatedSystemInspectionField: any;\r\n deletedSystemInspectionField: any;\r\n deletedContractInspectionField: any;\r\n isCheckInUse: any;\r\n DefaultData: any;\r\n inspectionFieldValues: any;\r\n inspectiondatafieldOrderList: any;\r\n updatedInspectionDatafieldOrder:any;\r\n inspectionquestionfieldOrderList: any;\r\n updatedQuestionInspectionDatafieldOrder:any;\r\n updatedQuestionInspectionDatafieldOrderList:any;\r\n isQuestionNodeInUse: any;\r\n isQuestionDataInUse:any;\r\n}\r\n\r\nlet initialState: InspectionFieldState = {\r\n errors: \"\",\r\n inputTypes: [],\r\n fieldTypes: [],\r\n newQuestionInspectionField: \"\",\r\n inspectionQuestions: \"\",\r\n newFieldValue: \"\",\r\n updatedFieldValue: \"\",\r\n deletedFieldValue: \"\",\r\n updatedQuestionInspectionField: \"\",\r\n deletedQuestionInspectionField: \"\",\r\n newGroupSection: \"\",\r\n updatedGroupSection: \"\",\r\n deletedGroupSection: \"\",\r\n inspectionContracts: \"\",\r\n inspectionSystems: \"\",\r\n newContractInspectionField: \"\",\r\n newSystemInspectionField: \"\",\r\n updatedContractInspectionField: \"\",\r\n updatedSystemInspectionField: \"\",\r\n deletedSystemInspectionField: \"\",\r\n deletedContractInspectionField: \"\",\r\n isCheckInUse: false,\r\n DefaultData: \"\",\r\n inspectionFieldValues: \"\",\r\n inspectiondatafieldOrderList: \"\",\r\n updatedInspectionDatafieldOrder:\"\",\r\n inspectionquestionfieldOrderList:\"\",\r\n updatedQuestionInspectionDatafieldOrder:\"\",\r\n updatedQuestionInspectionDatafieldOrderList:\"\",\r\n isQuestionNodeInUse: [],\r\n isQuestionDataInUse:[],\r\n};\r\n\r\nconst InspectionFieldSlice = createSlice({\r\n name: \"inspectionField\",\r\n initialState,\r\n reducers: {\r\n setErrors: (state, { payload }: PayloadAction) => {\r\n state.errors = payload;\r\n },\r\n setInputTypes: (state, { payload }: PayloadAction) => {\r\n state.inputTypes = payload;\r\n },\r\n setFieldTypes: (state, { payload }: PayloadAction) => {\r\n state.fieldTypes = payload;\r\n },\r\n setNewQuestionInspectionField: (state, { payload }: PayloadAction) => {\r\n state.newQuestionInspectionField = payload;\r\n },\r\n setInspectionQuestions: (state, { payload }: PayloadAction) => {\r\n state.inspectionQuestions = payload;\r\n },\r\n setNewFieldValue: (state, { payload }: PayloadAction) => {\r\n state.newFieldValue = payload;\r\n },\r\n setupdatedFieldValue: (state, { payload }: PayloadAction) => {\r\n state.updatedFieldValue = payload;\r\n },\r\n setDeletedFieldValue: (state, { payload }: PayloadAction) => {\r\n state.deletedFieldValue = payload;\r\n },\r\n setUpdatedQuestionInspectionField: (state, { payload }: PayloadAction) => {\r\n state.updatedQuestionInspectionField = payload;\r\n },\r\n setDeletedQuestionInspectionField: (state, { payload }: PayloadAction) => {\r\n state.deletedQuestionInspectionField = payload;\r\n },\r\n setNewGroupSection: (state, { payload }: PayloadAction) => {\r\n state.newGroupSection = payload;\r\n },\r\n setUpdatedGroupSection: (state, { payload }: PayloadAction) => {\r\n state.updatedGroupSection = payload;\r\n },\r\n setDeletedGroupSection: (state, { payload }: PayloadAction) => {\r\n state.deletedGroupSection = payload;\r\n },\r\n setInspectionContracts: (state, { payload }: PayloadAction) => {\r\n state.inspectionContracts = payload;\r\n },\r\n setInspectionSystems: (state, { payload }: PayloadAction) => {\r\n state.inspectionSystems = payload;\r\n },\r\n setNewContractInspectionField: (state, { payload }: PayloadAction) => {\r\n state.newContractInspectionField = payload;\r\n },\r\n setNewSystemInspectionField: (state, { payload }: PayloadAction) => {\r\n state.newSystemInspectionField = payload;\r\n },\r\n setUpdatedContractInspectionField: (state, { payload }: PayloadAction) => {\r\n state.updatedContractInspectionField = payload;\r\n },\r\n setUpdatedSystemInspectionField: (state, { payload }: PayloadAction) => {\r\n state.updatedSystemInspectionField = payload;\r\n },\r\n setDeletedContractInspectionField: (state, { payload }: PayloadAction) => {\r\n state.deletedContractInspectionField = payload;\r\n },\r\n setDeletedSystemInspectionField: (state, { payload }: PayloadAction) => {\r\n state.deletedSystemInspectionField = payload;\r\n },\r\n setIsCheckInUse: (state, { payload }: PayloadAction) => {\r\n state.isCheckInUse = payload;\r\n },\r\n setAsDefaultData: (state, { payload }: PayloadAction) => {\r\n state.DefaultData = payload;\r\n },\r\n setInspectionFieldValues: (state, { payload }: PayloadAction) => {\r\n state.inspectionFieldValues = payload;\r\n },\r\n setInspectionDatafieldOrderList: (state, { payload }: PayloadAction) => {\r\n state.inspectiondatafieldOrderList = payload;\r\n },\r\n setUpdatedInspectionDatafieldOrder: (state, { payload }: PayloadAction) => {\r\n state.updatedInspectionDatafieldOrder = payload;\r\n },\r\n setInspectionquestionfieldOrderList: (state, { payload }: PayloadAction) => {\r\n state.inspectionquestionfieldOrderList = payload;\r\n },\r\n setUpdatedQuestionInspectionDatafieldOrder: (state, { payload }: PayloadAction) => {\r\n state.updatedQuestionInspectionDatafieldOrder = payload;\r\n },\r\n setUpdatedQuestionInspectionDatafieldOrderList: (state, { payload }: PayloadAction) => {\r\n state.updatedQuestionInspectionDatafieldOrderList = payload;\r\n },\r\n setIsQuestionNodeInUse:(state, { payload }: PayloadAction) => {\r\n state.isQuestionNodeInUse = payload;\r\n },\r\n setIsQuestionDataInUse: (state, { payload }: PayloadAction) => {\r\n state.isQuestionDataInUse = payload;\r\n },\r\n },\r\n});\r\n\r\nexport const getInputTypes = (): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspectionfields/inputtypes`);\r\n if (res.status === \"done\") {\r\n dispatch(setInputTypes(res?.data?.inputTypeDetails));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const getFieldTypes = (inputTypeId: any): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspectionfields/inputtypes/${inputTypeId}/fieldtypes`);\r\n if (res.status === \"done\") {\r\n dispatch(setFieldTypes(res?.data?.fieldTypes));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const onAddQuestionInspectionField = (body: any): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspectionfields/inspectionquestions/datafields/add`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setNewQuestionInspectionField(res?.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const onGetInspectionQuestions = (): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspectionfields/inspectionquestions/datafields`);\r\n if (res.status === \"done\") {\r\n dispatch(setInspectionQuestions(res?.data?.inspectionGroupSections));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const onAddNewInspectionFieldValue = (datafieldId, body, reset): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspectionfields/inspectionquestions/datafields/${datafieldId}/datafieldvalues/add`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setNewFieldValue(res.data));\r\n reset();\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const onUpdateInspectionFieldValue = (datafieldId, datafieldLookupId, body, updatedValue): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspectionfields/inspectionquestions/datafields/${datafieldId}/datafieldvalues/${datafieldLookupId}`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setupdatedFieldValue(res.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const checkUsageOfInspectionFieldValue = (datafieldId, datafieldLookupId, deletedItem): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspectionfields/inspectionquestions/datafields/${datafieldId}/datafieldvalues/${datafieldLookupId}/checkdatafieldlookupinuse`);\r\n if (res.status === \"done\") {\r\n if (res.data.isDataFieldLookupInUse === false) {\r\n dispatch(onRemoveInspectionFieldValue(datafieldId, datafieldLookupId, deletedItem));\r\n }\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nconst onRemoveInspectionFieldValue = (datafieldId, datafieldLookupId, deletedItem): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspectionfields/inspectionquestions/datafields/${datafieldId}/datafieldvalues/${datafieldLookupId}/remove`, null);\r\n if (res.status === \"done\") {\r\n if (res?.data?.isSuccess)\r\n dispatch(setDeletedFieldValue(deletedItem));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const onUpdateQuestionInspectionField = (datafieldId, body): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspectionfields/inspectionquestions/datafields/${datafieldId}`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setUpdatedQuestionInspectionField(res.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const checkUsageOfQuestionInspectionField = (datafieldId, body, deletedItem): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspectionfields/inspectionquestions/datafields/${datafieldId}/checkdatafieldinuse`, body);\r\n if (res.status === \"done\") {\r\n if (res.data.isDataFieldInUse === false) {\r\n dispatch(onRemoveQuestionInspectionField(datafieldId, body, deletedItem));\r\n } else {\r\n dispatch(setIsQuestionDataInUse([res.data]));\r\n }\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const onRemoveQuestionInspectionField = (datafieldId, body, deletedItem): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspectionfields/inspectionquestions/datafields/${datafieldId}/remove`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setDeletedQuestionInspectionField(deletedItem));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const onInspectionGroupSectionAdded = (body): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspectionfields/inspectionquestions/nodes/add`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setNewGroupSection(res.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const onInspectionGroupSectionUpdated = (nodeId, body): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspectionfields/inspectionquestions/nodes/${nodeId}`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setUpdatedGroupSection(res.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const checkUsageOfGroupSection = (nodeId): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspectionfields/inspectionquestions/nodes/${nodeId}/checknodeinuse`);\r\n if (res.status === \"done\") {\r\n if (res.data.inspectionGroupSectionInUse === false) {\r\n dispatch(onRemoveGroupSection(nodeId));\r\n } else {\r\n dispatch(setIsQuestionNodeInUse([res.data]))\r\n }\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const onRemoveGroupSection = (nodeId): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspectionfields/inspectionquestions/nodes/${nodeId}/remove`, null);\r\n if (res.status === \"done\") {\r\n dispatch(setDeletedGroupSection(nodeId))\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const onGetInspectionContracts = (): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspectionfields/contractfields/datafields`);\r\n if (res.status === \"done\") {\r\n dispatch(setInspectionContracts(res?.data?.inspectionGroupSections));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const onGetInspectionSystems = (): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspectionfields/systemfields/datafields`);\r\n if (res.status === \"done\") {\r\n dispatch(setInspectionSystems(res?.data?.inspectionGroupSections));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const onAddContractInspectionField = (body: any): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspectionfields/contractfields/datafields/add`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setNewContractInspectionField(res?.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const onAddSystemInspectionField = (body: any): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspectionfields/systemfields/datafields/add`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setNewSystemInspectionField(res?.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const onAddNewContractInspectionFieldValue = (datafieldId, body, reset): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspectionfields/contractfields/datafields/${datafieldId}/datafieldvalues/add`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setNewFieldValue(res.data));\r\n reset();\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const onAddNewSystemInspectionFieldValue = (datafieldId, body, reset): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspectionfields/systemfields/datafields/${datafieldId}/datafieldvalues/add`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setNewFieldValue(res.data));\r\n reset();\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const onUpdateContractInspectionFieldValue = (datafieldId, datafieldLookupId, body, updatedValue): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspectionfields/contractfields/datafields/${datafieldId}/datafieldvalues/${datafieldLookupId}`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setupdatedFieldValue(res.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const onUpdateSystemInspectionFieldValue = (datafieldId, datafieldLookupId, body, updatedValue): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspectionfields/systemfields/datafields/${datafieldId}/datafieldvalues/${datafieldLookupId}`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setupdatedFieldValue(res.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const checkUsageOfContractInspectionFieldValue = (datafieldId, datafieldLookupId, deletedItem): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspectionfields/contractfields/datafields/${datafieldId}/datafieldvalues/${datafieldLookupId}/checkdatafieldlookupinuse`);\r\n if (res.status === \"done\") {\r\n if (res.data.isDataFieldLookupInUse === false) {\r\n dispatch(onRemoveContractInspectionFieldValue(datafieldId, datafieldLookupId, deletedItem));\r\n }\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const checkUsageOfSystemInspectionFieldValue = (datafieldId, datafieldLookupId, deletedItem): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspectionfields/systemfields/datafields/${datafieldId}/datafieldvalues/${datafieldLookupId}/checkdatafieldlookupinuse`);\r\n if (res.status === \"done\") {\r\n if (res.data.isDataFieldLookupInUse === false) {\r\n dispatch(onRemoveSystemInspectionFieldValue(datafieldId, datafieldLookupId, deletedItem));\r\n }\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nconst onRemoveContractInspectionFieldValue = (datafieldId, datafieldLookupId, deletedItem): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspectionfields/contractfields/datafields/${datafieldId}/datafieldvalues/${datafieldLookupId}/remove`, null);\r\n if (res.status === \"done\") {\r\n if (res?.data?.isSuccess)\r\n dispatch(setDeletedFieldValue(deletedItem));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nconst onRemoveSystemInspectionFieldValue = (datafieldId, datafieldLookupId, deletedItem): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspectionfields/systemfields/datafields/${datafieldId}/datafieldvalues/${datafieldLookupId}/remove`, null);\r\n if (res.status === \"done\") {\r\n if (res?.data?.isSuccess)\r\n dispatch(setDeletedFieldValue(deletedItem));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const onUpdateSystemInspectionField = (datafieldId, body): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspectionfields/systemfields/datafields/${datafieldId}`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setUpdatedSystemInspectionField(res.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const onUpdateContractInspectionField = (datafieldId, body): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspectionfields/contractfields/datafields/${datafieldId}`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setUpdatedContractInspectionField(res?.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const checkUsageOfContractInspectionField = (datafieldId, body, deletedItem): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspectionfields/contractfields/datafields/${datafieldId}/checkcontractfieldinuse`, body);\r\n if (res.status === \"done\") {\r\n if (res.data.isDataFieldInUse === false) {\r\n dispatch(onRemoveContractInspectionField(datafieldId, body, deletedItem));\r\n } else {\r\n dispatch(setIsCheckInUse(true));\r\n }\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const onRemoveContractInspectionField = (datafieldId, body, deletedItem): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspectionfields/contractfields/datafields/${datafieldId}/remove`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setDeletedContractInspectionField(deletedItem));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const checkUsageOfSystemInspectionField = (datafieldId, body, deletedItem): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspectionfields/systemfields/datafields/${datafieldId}/checksystemfieldinuse`, body);\r\n if (res.status === \"done\") {\r\n if (res.data.isDataFieldInUse === false) {\r\n dispatch(onRemoveSystemInspectionField(datafieldId, body, deletedItem));\r\n } else {\r\n dispatch(setIsCheckInUse(true));\r\n }\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const onRemoveSystemInspectionField = (datafieldId, body, deletedItem): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspectionfields/systemfields/datafields/${datafieldId}/remove`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setDeletedSystemInspectionField(deletedItem));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const onSetAsDefualtValue = (body): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspectionfields/inspectionquestions/datafields/defaultvalues`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setAsDefaultData(body));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const onGetInspectionFieldValues = (): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspectionfields/inspectionquestions/datafields/values`);\r\n if (res.status === \"done\") {\r\n dispatch(setInspectionFieldValues(res.data.values));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\n export const onGetInspectionDatafieldOrderList = (): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspectionfields/datafieldorder/system`);\r\n if (res.status === \"done\") {\r\n dispatch(setInspectionDatafieldOrderList(res?.data?.dataFieldOrderDetails));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\n export const onInspectionDatafieldOrderUpdated = (body): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspectionFields/datafieldorder/update`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setUpdatedInspectionDatafieldOrder(body.dataFields));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\n export const onGetInspectionquestionfieldOrderList = (dataFieldId): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspectionfields/datafieldorder/getquestionsfieldorderdata/${dataFieldId}`);\r\n if (res.status === \"done\") {\r\n dispatch(setInspectionquestionfieldOrderList(res?.data?.questionsFieldOrderList));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const onInspectionQuestionDatafieldOrderUpdated = (body): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspectionFields/datafieldorder/updatefieldorderquestions`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setUpdatedQuestionInspectionDatafieldOrder(body.dataFields));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const {\r\n setErrors,\r\n setInputTypes,\r\n setFieldTypes,\r\n setNewQuestionInspectionField,\r\n setInspectionQuestions,\r\n setNewFieldValue,\r\n setupdatedFieldValue,\r\n setDeletedFieldValue,\r\n setUpdatedQuestionInspectionField,\r\n setDeletedQuestionInspectionField,\r\n setNewGroupSection,\r\n setUpdatedGroupSection,\r\n setDeletedGroupSection,\r\n setInspectionContracts,\r\n setInspectionSystems,\r\n setNewContractInspectionField,\r\n setNewSystemInspectionField,\r\n setUpdatedContractInspectionField,\r\n setUpdatedSystemInspectionField,\r\n setDeletedContractInspectionField,\r\n setDeletedSystemInspectionField,\r\n setIsCheckInUse,\r\n setAsDefaultData, \r\n setInspectionFieldValues,\r\n setInspectionDatafieldOrderList,\r\n setUpdatedInspectionDatafieldOrder,\r\n setInspectionquestionfieldOrderList,\r\n setUpdatedQuestionInspectionDatafieldOrder,\r\n setUpdatedQuestionInspectionDatafieldOrderList,\r\n setIsQuestionNodeInUse,\r\n setIsQuestionDataInUse,\r\n} = InspectionFieldSlice.actions;\r\nexport default InspectionFieldSlice.reducer;","\r\nimport { createSlice, PayloadAction } from \"@reduxjs/toolkit\";\r\nimport { zlink, baseURL } from \"../../../../service/HttpService\";\r\nimport { setProgressFlag } from \"redux/common/commonSlice\";\r\nimport { AppThunk } from \"../../../store\";\r\nimport { fetchLoggedInUserDetails } from \"redux/pages/Administration/administrationSlice\";\r\n\r\nexport interface InspectionReportState {\r\n errors: any;\r\n systemList: any;\r\n systemSummary: any;\r\n selectedSystemDetails: any;\r\n generatedReportDetails:any;\r\n reportList:any;\r\n reportListPageDetails: any;\r\n deletedReportDetails:any;\r\n viewDraftReport:any;\r\n viewFinalReport:any;\r\n downloadDraftReport:any;\r\n downloadFinalReport:any;\r\n isFinalReportUploaded:any;\r\n isInspectiontaskcompleted:any;\r\n}\r\n\r\nlet initialState: InspectionReportState = {\r\n errors: \"\",\r\n systemList: [],\r\n systemSummary: \"\",\r\n selectedSystemDetails: \"\",\r\n generatedReportDetails:\"\",\r\n reportList:[],\r\n reportListPageDetails:\"\",\r\n deletedReportDetails:\"\",\r\n viewDraftReport:\"\",\r\n viewFinalReport:\"\",\r\n downloadDraftReport:\"\",\r\n downloadFinalReport:\"\",\r\n isFinalReportUploaded:[],\r\n isInspectiontaskcompleted:[],\r\n\r\n};\r\n\r\nconst InspectionReportSlice = createSlice({\r\n name: \"inspectionReport\",\r\n initialState,\r\n reducers: {\r\n setErrors: (state, { payload }: PayloadAction) => {\r\n state.errors = payload;\r\n },\r\n\r\n setSystemList: (state, { payload }: PayloadAction) => {\r\n state.systemList = payload;\r\n },\r\n setSystemSummary: (state, { payload }: PayloadAction) => {\r\n state.systemSummary = payload;\r\n },\r\n clearSystemSummary: (state, { payload }: PayloadAction) => {\r\n state.systemSummary = payload;\r\n },\r\n setSelectedSystemDetails: (state, { payload }: PayloadAction) => {\r\n state.selectedSystemDetails = payload;\r\n },\r\n setGeneratedReportDetails: (state, { payload }: PayloadAction) => {\r\n state.generatedReportDetails = payload;\r\n },\r\n clearGeneratedReportDetails:(state, { payload }: PayloadAction) => {\r\n state.generatedReportDetails = payload;\r\n },\r\n setReportList: (state, { payload }: PayloadAction) => {\r\n state.reportList = payload;\r\n },\r\n setReportListPageDetails: (state, {payload}: PayloadAction) => {\r\n state.reportListPageDetails = payload;\r\n },\r\n setDeletedReportDetails: (state, {payload}: PayloadAction) => {\r\n state.deletedReportDetails = payload;\r\n },\r\n clearDeletedReportDetails:(state, {payload}: PayloadAction) => {\r\n state.deletedReportDetails = payload;\r\n },\r\n setViewDraftReport: (state, {payload}: PayloadAction) => {\r\n state.viewDraftReport = payload;\r\n },\r\n setViewFinalReport: (state, {payload}: PayloadAction) => {\r\n state.viewFinalReport = payload;\r\n },\r\n setDownloadDraftReport: (state, {payload}: PayloadAction) => {\r\n state.downloadDraftReport = payload;\r\n },\r\n setDownloadFinalReport: (state, {payload}: PayloadAction) => {\r\n\t\t\tstate.downloadFinalReport = payload;\r\n\t\t},\r\n setisFinalReportUploaded: (state, { payload }: PayloadAction) => {\r\n state.isFinalReportUploaded = payload\r\n },\r\n setIsInspectionTaskCompleted: (state, { payload }: PayloadAction) => {\r\n state.isInspectiontaskcompleted = payload\r\n },\r\n setUpdatedReportList: (state, { payload }: PayloadAction) => {\r\n\t\t\tlet currentIndex = state.reportList.findIndex((item: any) => item.systemPanelInspectionReportId === payload?.systemPanelInspectionReportId);\r\n\t\t\tstate.reportList = state.reportList.filter((item: any) => item.systemPanelInspectionReportId !== payload?.systemPanelInspectionReportId);\r\n\t\t\tstate.reportList.splice(currentIndex, 0, payload);\r\n\t\t},\r\n },\r\n});\r\n\r\nexport const getSystemList = (): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspection/systems?isALLDetails=true`);\r\n if (res.status === \"done\") {\r\n dispatch(setSystemList(res?.data?.systemDetails));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\n// To list systems with status Closed, to view reports of such systems\r\nexport const getAllSystemList = (): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspection/allsystems`);\r\n if (res.status === \"done\") {\r\n dispatch(setSystemList(res?.data?.systemDetails));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\n\r\nexport const getSystemSummary = (systemId: any, taskHistoryFilter: any): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspection/systems/${systemId}/systemsummary?taskHistoryFilter=${taskHistoryFilter}`);\r\n if (res.status === \"done\") {\r\n if (res.data) {\r\n dispatch(setSystemSummary(res.data));\r\n }\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const setDefaultSystemDetails = (systemId: number): AppThunk => async (dispatch) => {\r\n const body = { activeSystemId: systemId };\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/admin/user/defaults`, body);\r\n if (res.status === \"done\") {\r\n dispatch(fetchLoggedInUserDetails());\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onGenerateReport = (systemId:number,body:any ): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspection/systems/${systemId}/generatereports`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setGeneratedReportDetails(res));\r\n dispatch(setProgressFlag(false));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n dispatch(setProgressFlag(false));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n dispatch(setProgressFlag(false));\r\n }\r\n};\r\n\r\nexport const getReportList = (systemId: string, currentStart: number, sorField = \"\", sortOrder = \"\"): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspection/systems/${systemId}/reports?currentStart=${currentStart}&sortcolumn=${sorField}&sortorder=${sortOrder}`);\r\n if (res.status === \"done\") {\r\n dispatch(setReportList(res?.data?.inspectionReports));\r\n dispatch(setReportListPageDetails(res?.data?.pageDetails))\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const checkFinalReportUploaded = (systemId:string, body:any): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspection/systems/${systemId}/reports/checkfinalreportuploaded`,body);\r\n if (res.status === \"done\") {\r\n dispatch(setisFinalReportUploaded(res?.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\nexport const checkIsInspectionTaskCompleted = (systemId:string, body:any,setIsDelete?): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspection/systems/${systemId}/reports/Checkinspectiontaskiscompleted`,body);\r\n if (res.status === \"done\") {\r\n dispatch(setIsInspectionTaskCompleted(res?.data));\r\n setIsDelete(true);\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\n\r\n\r\nexport const onRemoveReports = (systemId:string, body:any): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspection/systems/${systemId}/reports/remove`,body);\r\n if (res.status === \"done\") {\r\n dispatch(setDeletedReportDetails(body));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onViewDraftReport = (systemId: string, reportId: any, setStreamData: any, setShowViewModal: any, setFileName: any, setMessage: any, setDisplayInfoModal: any): AppThunk => async (dispatch) => {\r\n try {\r\n dispatch(setProgressFlag(true))\r\n const request: any = {\r\n method: \"GET\"\r\n };\r\n const fetchUrl = `${baseURL}api/v1/inspection/systems/${systemId}/reports/${reportId}/draft/view`;\r\n await fetch(fetchUrl, request).then((response: any) => {\r\n\r\n if (response && response.status) {\r\n if (response.status === 200) {\r\n\r\n const res = new Response(\r\n new ReadableStream({\r\n async start(controller) {\r\n const reader = response.body.getReader();\r\n for (; ;) {\r\n const { done, value } = await reader.read();\r\n if (done) {\r\n dispatch(setProgressFlag(false));\r\n break;\r\n }\r\n controller.enqueue(value);\r\n }\r\n controller.close();\r\n },\r\n })\r\n );\r\n\r\n res.blob().then((blob) => {\r\n const newBlob = new Blob([blob], { type: 'application/pdf' });\r\n const filename = response.headers.get(\"content-disposition\")?.split(';')[1]?.split('=')[1];\r\n setStreamData(newBlob);\r\n setShowViewModal(true);\r\n setFileName(filename)\r\n });\r\n } else {\r\n dispatch(setProgressFlag(false))\r\n setShowViewModal(false);\r\n setMessage(\"File not found\");\r\n setDisplayInfoModal(true);\r\n }\r\n }\r\n });\r\n } catch (error) {\r\n dispatch(setProgressFlag(false))\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onViewFinalReport = (systemId: string, reportId: any, setStreamData: any, setShowViewModal: any, setFileName: any, setMessage: any, setDisplayInfoModal: any): AppThunk => async (dispatch) => {\r\n try {\r\n dispatch(setProgressFlag(true))\r\n const request: any = {\r\n method: \"GET\"\r\n };\r\n const fetchUrl = `${baseURL}api/v1/inspection/systems/${systemId}/reports/${reportId}/final/view`;\r\n await fetch(fetchUrl, request).then((response: any) => {\r\n\r\n if (response && response.status) {\r\n if (response.status === 200) {\r\n\r\n const res = new Response(\r\n new ReadableStream({\r\n async start(controller) {\r\n const reader = response.body.getReader();\r\n for (; ;) {\r\n const { done, value } = await reader.read();\r\n if (done) {\r\n dispatch(setProgressFlag(false));\r\n break;\r\n }\r\n controller.enqueue(value);\r\n }\r\n controller.close();\r\n },\r\n })\r\n );\r\n\r\n res.blob().then((blob) => {\r\n const newBlob = new Blob([blob], { type: 'application/pdf' });\r\n const filename = response.headers.get(\"content-disposition\")?.split(';')[1]?.split('=')[1];\r\n setStreamData(newBlob);\r\n setShowViewModal(true);\r\n setFileName(filename)\r\n });\r\n } else {\r\n dispatch(setProgressFlag(false))\r\n setShowViewModal(false);\r\n setMessage(\"File not found\");\r\n setDisplayInfoModal(true);\r\n }\r\n }\r\n });\r\n } catch (error) {\r\n dispatch(setProgressFlag(false))\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onDownloadDraftReport = (systemId: string, reportIds: any, setMessage: any, setDisplayInfoModal: any): AppThunk => async (dispatch) => {\r\n try {\r\n dispatch(setProgressFlag(true))\r\n const request: any = {\r\n method: \"POST\",\r\n cache: \"no-store\",\r\n headers: {\r\n \"Content-Type\": \"application/json; charset=utf-8\",\r\n Authorization: sessionStorage.getItem(\"accesstoken\"),\r\n },\r\n body: JSON.stringify({reportIds: reportIds})\r\n };\r\n\r\n const downloadUrl = (window as any).envSettings.baseAPIUrl + `api/v1/inspection/systems/${systemId}/reports/draft/download`;\r\n await fetch(downloadUrl, request).then((response: any) => {\r\n if (response.ok) {\r\n\r\n const res = new Response(\r\n new ReadableStream({\r\n async start(controller) {\r\n const reader = response.body.getReader();\r\n for (; ;) {\r\n const { done, value } = await reader.read();\r\n if (done) {\r\n dispatch(setProgressFlag(false));\r\n break;\r\n }\r\n controller.enqueue(value);\r\n }\r\n controller.close();\r\n },\r\n })\r\n );\r\n\r\n res.blob().then((blob) => {\r\n const filename = response.headers.get(\"content-disposition\")?.split(';')[1]?.split('=')[1];\r\n let url = window.URL.createObjectURL(blob);\r\n let a = document.createElement(\"a\");\r\n a.href = url;\r\n a.download = filename.replaceAll('\\\"', '');\r\n a.click();\r\n });\r\n\r\n } else {\r\n dispatch(setProgressFlag(false))\r\n setDisplayInfoModal(true);\r\n setMessage(\"File not found\")\r\n }\r\n });\r\n } catch (error) {\r\n dispatch(setProgressFlag(false))\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onDownloadFinalReport = (systemId: string, reportIds: any, setMessage: any, setDisplayInfoModal: any): AppThunk => async (dispatch) => {\r\n try {\r\n dispatch(setProgressFlag(true))\r\n const request: any = {\r\n method: \"POST\",\r\n cache: \"no-store\",\r\n headers: {\r\n \"Content-Type\": \"application/json; charset=utf-8\",\r\n Authorization: sessionStorage.getItem(\"accesstoken\"),\r\n },\r\n body: JSON.stringify({reportIds: reportIds})\r\n };\r\n const downloadUrl = (window as any).envSettings.baseAPIUrl + `api/v1/inspection/systems/${systemId}/reports/final/download`;\r\n await fetch(downloadUrl, request).then((response: any) => {\r\n if (response.ok) {\r\n\r\n const res = new Response(\r\n new ReadableStream({\r\n async start(controller) {\r\n const reader = response.body.getReader();\r\n for (; ;) {\r\n const { done, value } = await reader.read();\r\n if (done) {\r\n dispatch(setProgressFlag(false));\r\n break;\r\n }\r\n controller.enqueue(value);\r\n }\r\n controller.close();\r\n },\r\n })\r\n );\r\n\r\n res.blob().then((blob) => {\r\n const filename = response.headers.get(\"content-disposition\")?.split(';')[1]?.split('=')[1];\r\n let url = window.URL.createObjectURL(blob);\r\n let a = document.createElement(\"a\");\r\n a.href = url;\r\n a.download = filename.replaceAll('\\\"', '');\r\n a.click();\r\n });\r\n\r\n } else {\r\n dispatch(setProgressFlag(false))\r\n setDisplayInfoModal(true);\r\n setMessage(\"File not found\")\r\n }\r\n });\r\n } catch (error) {\r\n dispatch(setProgressFlag(false))\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const uploadFinalReport = (systemId: any, selectedReport: any, body: any, setShowUploadXMLModal: any, setMessage: any, setDisplayInfoModal: any, setSelectedRows: any, setLoader: any): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspection/systems/${systemId}/reports/${selectedReport?.systemPanelInspectionReportId}/final`,body);\r\n if (res.status === \"done\") {\r\n dispatch(setUpdatedReportList({...selectedReport, addedBy: res?.data?.files[0]?.addedBy, dateAndTimeUploaded: res?.data?.files[0]?.addedOn, sendToServicePortal : res?.data?.files[0].sendToServicePortal , sendToEmail : res?.data?.files[0]?.sendToEmail}))\r\n setSelectedRows([{...selectedReport, addedBy: res?.data?.files[0]?.addedBy, dateAndTimeUploaded: res?.data?.files[0]?.addedOn,sendToServicePortal : res?.data?.files[0].sendToServicePortal , sendToEmail : res?.data?.files[0]?.sendToEmail}]);\r\n setShowUploadXMLModal(false);\r\n setLoader(false);\r\n setMessage(\"Final Inspection Report uploaded\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n setLoader(false);\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const {\r\n setErrors,\r\n setSystemList,\r\n setSystemSummary,\r\n clearSystemSummary,\r\n setSelectedSystemDetails,\r\n setGeneratedReportDetails,\r\n setReportList,\r\n setReportListPageDetails,\r\n setDeletedReportDetails,\r\n clearDeletedReportDetails,\r\n clearGeneratedReportDetails,\r\n setViewDraftReport,\r\n setViewFinalReport,\r\n setDownloadDraftReport,\r\n setDownloadFinalReport,\r\n setUpdatedReportList,\r\n setisFinalReportUploaded,\r\n setIsInspectionTaskCompleted,\r\n} = InspectionReportSlice.actions;\r\n\r\nexport default InspectionReportSlice.reducer;","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\";\r\nimport {zlink, baseURL} from \"../../../../service/HttpService\"\r\nimport { AppThunk } from \"../../../store\";\r\n\r\nexport interface SelectSiteState {\r\n errors: any;\r\n zoneList:any;\r\n customerList:any;\r\n siteList:any;\r\n}\r\n\r\nlet initialState: SelectSiteState = {\r\n\terrors: \"\",\r\n zoneList:[],\r\n customerList:[],\r\n siteList:[],\r\n};\r\n\r\nconst SelectSiteSlice = createSlice({\r\n\tname: \"selectSite\",\r\n\tinitialState,\r\n\treducers: {\r\n\t\tsetErrors: (state, { payload }: PayloadAction) => {\r\n\t\t\tstate.errors = payload;\r\n\t\t},\r\n setZoneList: (state, {payload}: PayloadAction) => {\r\n\t\t\tstate.zoneList = payload;\r\n\t\t},\r\n setCustomerList: (state, {payload}: PayloadAction) => {\r\n\t\t\tstate.customerList = payload;\r\n\t\t},\r\n setSiteList: (state, {payload}: PayloadAction) => {\r\n\t\t\tstate.siteList = payload;\r\n\t\t},\r\n }\r\n})\r\n\r\nexport const getZoneDetails = (countryId:any): AppThunk => async (dispatch) => {\r\n\ttry {\r\n\t\tconst res = await zlink.get(`${baseURL}api/v1/country/${countryId}/zones`);\r\n\t\tif (res.status === \"done\") {\r\n\t\t\tdispatch(setZoneList(res?.data?.zoneDetails));\r\n\t\t} else {\r\n\t\t\tdispatch(setErrors(res.error));\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tdispatch(setErrors(error));\r\n\t}\r\n};\r\n\r\nexport const getCustomerDetails = (countryId:any,body:any): AppThunk => async (dispatch) => {\r\n\ttry {\r\n\t\tconst res = await zlink.post(`${baseURL}api/v1/country/${countryId}/customers`,body);\r\n\t\tif (res.status === \"done\") {\r\n\t\t\tdispatch(setCustomerList(res?.data?.customerDetails));\r\n\t\t} else {\r\n\t\t\tdispatch(setErrors(res.error));\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tdispatch(setErrors(error));\r\n\t}\r\n};\r\n\r\nexport const getSiteDetails = (countryId:any,body:any): AppThunk => async (dispatch) => {\r\n\ttry {\r\n\t\tconst res = await zlink.post(`${baseURL}api/v1/country/${countryId}/sites`,body);\r\n\t\tif (res.status === \"done\") {\r\n\t\t\tdispatch(setSiteList(res?.data?.siteDetails));\r\n\t\t} else {\r\n\t\t\tdispatch(setErrors(res.error));\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tdispatch(setErrors(error));\r\n\t}\r\n};\r\n\r\nexport const { \r\n setErrors,\r\n setZoneList,\r\n setCustomerList,\r\n setSiteList} = SelectSiteSlice.actions;\r\n\r\nexport default SelectSiteSlice.reducer;","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\";\r\nimport { onDownloadFile, setProgressFlag } from \"redux/common/commonSlice\";\r\nimport { AppThunk } from \"redux/store\";\r\nimport { baseURL, zlink } from \"service/HttpService\";\r\n\r\nexport interface EquipmentState {\r\n errors: any;\r\n equipmentList: any;\r\n equipmentPanelList: any;\r\n equipmentTypeList: any;\r\n equipmentDatafields: any;\r\n newEquipment: any;\r\n updatedEquipment: any;\r\n removedEquipment: any;\r\n equipmentImportCheckData: any;\r\n checkSystemParseInProgress: any;\r\n xmlImportStatus: any;\r\n associatedDevicesData: any;\r\n updatedEquipmentAddress: any;\r\n masterDataList: any;\r\n masterDataPageDetails: any;\r\n attachmentList: any;\r\n attachmentPageDetails: any;\r\n reportPreviewSession: any;\r\n uploadedExcels: any;\r\n worksheets: any;\r\n excelMappingColumns: any;\r\n equipmentSpecificLists: any;\r\n fetchedEquipmentData: any;\r\n verifiedFetchedData: any;\r\n importedEquipmentData: any;\r\n multipleEditDatafields: any;\r\n multipleUpdatedData: any;\r\n archievedSearches: any;\r\n equipmentGroupDatafields: any;\r\n newEquipmentGroup: any;\r\n updatedEquipmentGroup: any;\r\n importEquipmentDatafields: any;\r\n typeOfEquipmentList: string;\r\n equipmentAttachmentsList: any;\r\n isDevReadingChanged:string;\r\n IsTestDateChanged:string; \r\n equipmentAttachmentlist: any;\r\n userDefaultEquipmentClass:any;\r\n isEquipmentClassDropdownChanged:any; \r\n}\r\n\r\nlet initialState: EquipmentState = {\r\n errors: \"\",\r\n equipmentList: \"\",\r\n equipmentPanelList: \"\",\r\n equipmentTypeList: \"\",\r\n equipmentDatafields: \"\",\r\n newEquipment: \"\",\r\n updatedEquipment: \"\",\r\n removedEquipment: \"\",\r\n equipmentImportCheckData: \"\",\r\n checkSystemParseInProgress: \"\",\r\n xmlImportStatus: \"\",\r\n associatedDevicesData: [],\r\n updatedEquipmentAddress: {},\r\n masterDataList: \"\",\r\n masterDataPageDetails: \"\",\r\n attachmentList: [],\r\n attachmentPageDetails: \"\",\r\n reportPreviewSession: \"\",\r\n uploadedExcels: \"\",\r\n worksheets: \"\",\r\n excelMappingColumns: \"\",\r\n equipmentSpecificLists: \"\",\r\n fetchedEquipmentData: \"\",\r\n verifiedFetchedData: \"\",\r\n importedEquipmentData: \"\",\r\n multipleEditDatafields: \"\",\r\n multipleUpdatedData: \"\",\r\n archievedSearches: \"\",\r\n equipmentGroupDatafields: \"\",\r\n newEquipmentGroup: \"\",\r\n updatedEquipmentGroup: \"\",\r\n importEquipmentDatafields: \"\",\r\n typeOfEquipmentList: \"\",\r\n equipmentAttachmentsList: [],\r\n isDevReadingChanged:\"\",\r\n IsTestDateChanged:\"\",\r\n equipmentAttachmentlist: [],\r\n userDefaultEquipmentClass:\"\",\r\n isEquipmentClassDropdownChanged:false\r\n}\r\n\r\nconst EquipmentSlice = createSlice({\r\n name: \"equipment\",\r\n initialState,\r\n reducers: {\r\n setErrors: (state, { payload }: PayloadAction) => {\r\n state.errors = payload;\r\n },\r\n setEquipmentList: (state, { payload }: PayloadAction) => {\r\n state.equipmentList = payload;\r\n },\r\n setEquipmentPanelList: (state, { payload }: PayloadAction) => {\r\n state.equipmentPanelList = payload;\r\n },\r\n setEquipmentTypeList: (state, { payload }: PayloadAction) => {\r\n state.equipmentTypeList = payload;\r\n },\r\n setEquipmentDatafields: (state, { payload }: PayloadAction) => {\r\n state.equipmentDatafields = payload;\r\n },\r\n setNewEquipment: (state, { payload }: PayloadAction) => {\r\n state.newEquipment = payload;\r\n },\r\n setUpdatedEquipment: (state, { payload }: PayloadAction) => {\r\n state.updatedEquipment = payload;\r\n },\r\n setRemovedEquipment: (state, { payload }: PayloadAction) => {\r\n state.removedEquipment = payload;\r\n },\r\n setEquipmentImportCheckData: (state, { payload }: PayloadAction) => {\r\n state.equipmentImportCheckData = payload;\r\n },\r\n setCheckSystemParseInProgress: (state, { payload }: PayloadAction) => {\r\n state.checkSystemParseInProgress = payload;\r\n },\r\n setXMLImportStatus: (state, { payload }: PayloadAction) => {\r\n state.xmlImportStatus = payload;\r\n },\r\n setAssociatedDevicesData: (state, { payload }: PayloadAction) => {\r\n state.associatedDevicesData = payload;\r\n },\r\n setUpdatedEquipmentAddress: (state, { payload }: PayloadAction) => {\r\n state.updatedEquipmentAddress = payload;\r\n },\r\n setMasterDataList: (state, { payload }: PayloadAction) => {\r\n state.masterDataList = payload;\r\n },\r\n setMasterDataPageDetails: (state, { payload }: PayloadAction) => {\r\n state.masterDataPageDetails = payload;\r\n },\r\n setAttachmentList: (state, { payload }: PayloadAction) => {\r\n state.attachmentList = payload;\r\n },\r\n setAttachmentPageDetails: (state, { payload }: PayloadAction) => {\r\n state.attachmentPageDetails = payload;\r\n },\r\n setReportPreviewSession: (state, { payload }: PayloadAction) => {\r\n state.reportPreviewSession = payload;\r\n },\r\n setUploadedExcels: (state, { payload }: PayloadAction) => {\r\n state.uploadedExcels = payload;\r\n },\r\n setWorksheets: (state, { payload }: PayloadAction) => {\r\n state.worksheets = payload;\r\n },\r\n setExcelMappingColumn: (state, { payload }: PayloadAction) => {\r\n state.excelMappingColumns = payload;\r\n },\r\n setEquipmentSpecificLists: (state, { payload }: PayloadAction) => {\r\n state.equipmentSpecificLists = payload;\r\n },\r\n setFetchedEquipmentData: (state, { payload }: PayloadAction) => {\r\n state.fetchedEquipmentData = payload;\r\n },\r\n setVerifiedFetchedData: (state, { payload }: PayloadAction) => {\r\n state.verifiedFetchedData = payload;\r\n },\r\n setImportedEquipmentData: (state, { payload }: PayloadAction) => {\r\n state.importedEquipmentData = payload;\r\n },\r\n setMultipleEditDatafields: (state, { payload }: PayloadAction) => {\r\n state.multipleEditDatafields = payload;\r\n },\r\n setMultipleUpdatedData: (state, { payload }: PayloadAction) => {\r\n state.multipleUpdatedData = payload;\r\n },\r\n setArchievedSearches: (state, { payload }: PayloadAction) => {\r\n state.archievedSearches = payload;\r\n },\r\n setEquipmentGroupDatafields: (state, { payload }: PayloadAction) => {\r\n state.equipmentGroupDatafields = payload;\r\n },\r\n setNewEquipmentGroup: (state, { payload }: PayloadAction) => {\r\n state.newEquipmentGroup = payload;\r\n },\r\n setUpdatedEquipmentGroup: (state, { payload }: PayloadAction) => {\r\n state.updatedEquipmentGroup = payload;\r\n },\r\n setImportEquipmentDatafields: (state, { payload }: PayloadAction) => {\r\n state.importEquipmentDatafields = payload;\r\n },\r\n setTypeOfEquipmentList: (state, { payload }: PayloadAction) => {\r\n state.typeOfEquipmentList = payload;\r\n },\r\n setEquipmentAttachmentsList: (state, { payload }: PayloadAction) => {\r\n state.equipmentAttachmentsList = payload;\r\n },\r\n setNewEquipmentAttachmentData: (state, { payload }: PayloadAction) => {\r\n state.equipmentAttachmentsList.unshift(...payload);\r\n },\r\n setUpdatedAttachmentData: (state, { payload }: PayloadAction) => {\r\n let currentIndex = state.equipmentAttachmentsList.findIndex((item: any) => item.attachmentId === payload?.attachmentId);\r\n state.equipmentAttachmentsList = state.equipmentAttachmentsList.filter((item: any) => item.attachmentId !== payload?.attachmentId);\r\n state.equipmentAttachmentsList.splice(currentIndex, 0, payload);\r\n },\r\n setDeletedEquipmentAttachmentList(state, { payload }: PayloadAction) {\r\n state.equipmentAttachmentsList = state.equipmentAttachmentsList.filter((item: any) => item.attachmentId !== payload);\r\n },\r\n setIsDevReadingChanged(state, { payload }: PayloadAction) {\r\n state.isDevReadingChanged = payload;\r\n },\r\n setIsTestedDateChanged(state, { payload }: PayloadAction) {\r\n state.IsTestDateChanged = payload;\r\n },\r\n setEquipmentAttachmentlist: (state, { payload }: PayloadAction) => {\r\n state.equipmentAttachmentlist = (payload);\r\n },\r\n setUserDefaultEquipmentClass: (state, { payload }: PayloadAction) => {\r\n state.userDefaultEquipmentClass = payload;\r\n },\r\n setIsEquipmentClassDropdownChanged(state, { payload }: PayloadAction) {\r\n state.isEquipmentClassDropdownChanged = payload;\r\n },\r\n }\r\n})\r\n\r\nexport const getEquipmentList = (uniqueInspectionTaskId, body, currentStart, sortField: any = \"\", sortOrder: any = \"\", keyword: any = \"\",): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspection/inspectiontask/${uniqueInspectionTaskId}/equipments?keyword=${keyword}¤tstart=${currentStart}&sortcolumn=${sortField}&sortorder=${sortOrder}`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setEquipmentList(res?.data));\r\n dispatch(setTypeOfEquipmentList(body?.filterType))\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const getEquipmentPanelList = (uniqueInspectionTaskId, addAll: boolean = true): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspection/inspectiontask/${uniqueInspectionTaskId}/equipments/panels`);\r\n if (res.status === \"done\") {\r\n let panelList = res?.data?.panelDetails;\r\n if (addAll) {\r\n if (panelList.length > 1) {\r\n panelList.splice(0, 0, { equipmentId: 0, name: \"All\" });\r\n }\r\n }\r\n dispatch(setEquipmentPanelList(panelList));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const getEquipmentTypeList = (isAllSelectionRequired: boolean = true): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/manage/customization/attributes/typeattribute/equipmenttypelist`);\r\n if (res.status === \"done\") {\r\n let typeList = res?.data?.equipmentClassDetails;\r\n if (isAllSelectionRequired) {\r\n typeList.splice(0, 0, { uniqueEquipmentClassId: \"All\", equipmentClassName: \"All\" });\r\n dispatch(setEquipmentTypeList(typeList));\r\n } else {\r\n dispatch(setEquipmentSpecificLists(typeList));\r\n }\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const getEquipmentDatafields = (body): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspection/inspectiontask/equipments/datafields`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setEquipmentDatafields(res?.data?.dataFields));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const onEquipmentDetailsSaved = (body, reset, dataFieldsBody): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspection/inspectiontask/equipments/add`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setNewEquipment(res?.data));\r\n if (res?.data?.isSuccess === true) {\r\n reset();\r\n dispatch(getEquipmentDatafields(dataFieldsBody))\r\n }\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const onEquipmentDetailsUpdated = (uniqueInspectionTaskId, equipmentId, body): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspection/inspectiontask/equipments/${equipmentId}`, body);\r\n if (res) {\r\n if (res.status === \"done\") {\r\n dispatch(setUpdatedEquipment(res?.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n dispatch(setProgressFlag(false));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n dispatch(setProgressFlag(false));\r\n }\r\n};\r\n\r\nexport const onEquipmentImportCheck = (uniqueInspectionTaskId, equipmentId): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspection/inspectiontask/${uniqueInspectionTaskId}/equipments/${equipmentId}/checkisimportedequipment`);\r\n if (res.status === \"done\") {\r\n dispatch(setEquipmentImportCheckData(res.data))\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const onEquipmentDetailsCloned = (body, setValue, datafieldId): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspection/inspectiontask/equipments/clone`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setNewEquipment(res?.data));\r\n setValue(datafieldId, \"\");\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const onEquipmentUsageChecked = (body, setShowDelete, setShowInfo, setMessage,setIds): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspection/inspectiontask/equipments/checkequipmentinuse`, body);\r\n if (res.status === \"done\") {\r\n if(res?.data?.isSuccess){\r\n setShowDelete(true);\r\n setMessage(res?.data?.returnMessage);\r\n setIds(res?.data?.equipmentIds)\r\n }else{\r\n setShowInfo(true);\r\n setMessage(res?.data?.returnMessage);\r\n }\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const onEquipmentRemoved = (uniqueInspectionTaskId, body): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspection/inspectiontask/equipments/remove`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setRemovedEquipment(res?.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const getCheckSystemParseInProgress = (systemId): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspection/system/${systemId}/checksystemparseinprogress`);\r\n if (res.status === \"done\") {\r\n dispatch(setCheckSystemParseInProgress(res.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const getXMLImportStatus = (body): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspection/inspectiontask/equipments/XMLimportStatus`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setXMLImportStatus(res.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const getSystemPanelList = (uniqueSystemId): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspection/systems/${uniqueSystemId}/panels`);\r\n if (res.status === \"done\") {\r\n let panelList = res?.data?.panelDetails;\r\n dispatch(setEquipmentPanelList(panelList));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const getAssociatedDevices = (uniqueinspectiontaskid: any, uniqueequipmentclassid: any, body: any, setShowModal: any): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspection/inspectiontask/${uniqueinspectiontaskid}/equipments/equipmentclasses/${uniqueequipmentclassid}/associateddevices`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setAssociatedDevicesData(res?.data));\r\n setShowModal(true);\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const onConnectAssociatedDevices = (uniqueinspectiontaskid: any, associatedDeviceId: any, body: any, selectedRows: any, filterBody: any, currentStart: any, setMessage: any, setDisplayInfoModal: any): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspection/inspectiontask/${uniqueinspectiontaskid}/equipments/associateddevices/${associatedDeviceId}`, body);\r\n if (res.status === \"done\") {\r\n if (associatedDeviceId === 0) {\r\n setMessage(\"Removed Connectivity\");\r\n } else {\r\n setMessage(\"Added Connectivity\");\r\n };\r\n setDisplayInfoModal(true);\r\n if (selectedRows?.length === 1) {\r\n dispatch(setUpdatedEquipmentAddress(res?.data));\r\n } else {\r\n dispatch(getEquipmentList(uniqueinspectiontaskid, filterBody, currentStart));\r\n }\r\n } else {\r\n dispatch(setErrors(res.error));\r\n if (res.message) {\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const getMasterdataList = (uniquesystemid, body, setMessage, setDisplayInfoModal, currentStart, sortField, sortOrder): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspection/systems/${uniquesystemid}/masterdata?currentstart=${currentStart}&sortcolumn=${sortField}&sortorder=${sortOrder}`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setMasterDataList(res.data));\r\n dispatch(setMasterDataPageDetails(res?.data?.pageDetails));\r\n if (!res.data?.data?.length) {\r\n setMessage('No Equipment Data exists');\r\n setDisplayInfoModal(true);\r\n }\r\n } else {\r\n dispatch(setErrors(res.error));\r\n if (res.message) {\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n}\r\n\r\nexport const getMasterDataAttachmentList = (uniqueId, equipmentId, setMessage, setDisplayInfoModal, setShowAttachmentListModal, sortField: any = \"\", sortOrder: any = \"\",): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspection/systems/${uniqueId}/equipments/${equipmentId}/attachments${(sortField || sortOrder) ? (`?sortcolumn=${sortField}&sortorder=${sortOrder}`) : ''}`);\r\n if (res.status === \"done\") {\r\n if (res?.data?.attachmentList.length > 0) {\r\n dispatch(setAttachmentList(res?.data?.attachmentList));\r\n dispatch(setAttachmentPageDetails(res?.data?.pageDetails));\r\n setShowAttachmentListModal(true);\r\n } else {\r\n setMessage(\"No Attachments exist\")\r\n setDisplayInfoModal(true);\r\n setShowAttachmentListModal(false);\r\n }\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const createReportPreviewSession = (reportParameters: any): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/reports/preview/newsession`, reportParameters);\r\n if (res.status === \"done\") {\r\n dispatch(setReportPreviewSession(res.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const onDownloadAttachmentFile = (attachmentId, FullPath: any, setDisplayInfoModal, setMessage, renderFlag: boolean, setStreamData: any, fileName: any, ): AppThunk => async (dispatch) => {\r\n try {\r\n const request: any = {\r\n method: \"POST\",\r\n cache: \"no-store\",\r\n headers: {\r\n \"Content-Type\": \"application/json; charset=utf-8\",\r\n Authorization: sessionStorage.getItem(\"accesstoken\"),\r\n },\r\n body: JSON.stringify({ FullPath: FullPath })\r\n };\r\n const downloadUrl = `${baseURL}api/v1/common/files/${attachmentId}/download`\r\n await fetch(downloadUrl, request).then((response: any) => {\r\n\r\n if (response.status === 200) {\r\n const res = new Response(\r\n new ReadableStream({\r\n async start(controller) {\r\n const reader = response.body.getReader();\r\n for (; ;) {\r\n const { done, value } = await reader.read();\r\n if (done) break;\r\n controller.enqueue(value);\r\n }\r\n controller.close();\r\n },\r\n })\r\n );\r\n if (!renderFlag) {\r\n res.blob().then((blob) => {\r\n let url = window.URL.createObjectURL(blob);\r\n let a = document.createElement(\"a\");\r\n a.href = url;\r\n a.download = fileName;\r\n a.click();\r\n });\r\n } else {\r\n res.blob().then((blob) => {\r\n var result: any\r\n var reader = new FileReader();\r\n reader.onload = function (e) {\r\n result = e?.target?.result;\r\n setStreamData(result)\r\n }\r\n reader.readAsDataURL(blob);\r\n });\r\n }\r\n } else {\r\n setDisplayInfoModal(true)\r\n setMessage(\"File not found\")\r\n }\r\n });\r\n } catch (error: any) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onDownloadAttachment = (inspectionTaskId: any, equipmentId: any, attachmentId: any, setDisplayInfoModal, setMessage, setStreamData?: any, fileName?: any): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspection/inspectiontask/${inspectionTaskId}/equipments/${equipmentId}/attachments/${attachmentId}`);\r\n if (res.status === \"done\") {\r\n dispatch(onDownloadAttachmentFile(attachmentId, res.data?.fullPath, setDisplayInfoModal, setMessage, false, setStreamData, fileName));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onGetWorksheets = (excelFileId: any): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspection/equipments/import/excel/${excelFileId}/sheets`);\r\n if (res.status === \"done\") {\r\n dispatch(setWorksheets(res.data.sheetDetails));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onGetExcelMappingColumns = (equipmentClassId: any, excelFileId: any, sheetIndex: any,setMessage:any,setDisplayInfoModal:any): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspection/equipments/${equipmentClassId}/import/excel/${excelFileId}/sheets/${sheetIndex}/columns`);\r\n if (res.status === \"done\") {\r\n dispatch(setExcelMappingColumn(res.data.columnMappings));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onGetFetchedData = (equipmentClassId: any, excelFileId: any, sheetIndex: any, body: any,setMessage:any,setDisplayInfoModal:any): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspection/equipments/${equipmentClassId}/import/excel/${excelFileId}/sheets/${sheetIndex}/data`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setFetchedEquipmentData(res));\r\n } else {\r\n dispatch(setFetchedEquipmentData(res));\r\n dispatch(setErrors(res.error));\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onVerifiedFetchedData = (equipmentClassId: any, excelFileId: any, sheetIndex: any, body: any): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspection/equipments/${equipmentClassId}/import/excel/${excelFileId}/sheets/${sheetIndex}/data/validate`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setVerifiedFetchedData(res.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onImportEquipmentData = (equipmentClassId: any, excelFileId: any, sheetIndex: any, body: any): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspection/equipments/${equipmentClassId}/import/excel/${excelFileId}/sheets/${sheetIndex}/data/import`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setImportedEquipmentData(res.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onExportEquipmentData = (equipmentClassId: any, excelFileId: any, sheetIndex: any, body: any): AppThunk => async (dispatch) => {\r\n try {\r\n const request: any = {\r\n method: \"POST\",\r\n cache: \"no-store\",\r\n headers: {\r\n \"Content-Type\": \"application/json; charset=utf-8\",\r\n Authorization: sessionStorage.getItem(\"accesstoken\"),\r\n },\r\n body: JSON.stringify(body)\r\n };\r\n const downloadUrl = (window as any).envSettings.baseAPIUrl + `api/v1/inspection/equipments/${equipmentClassId}/import/excel/${excelFileId}/sheets/${sheetIndex}/data/export`;\r\n await fetch(downloadUrl, request).then((response: any) => {\r\n if (response.ok) {\r\n response.blob().then((blob: any) => {\r\n let url = window.URL.createObjectURL(blob);\r\n let a = document.createElement(\"a\");\r\n a.href = url;\r\n a.download = \"ImportEquipment\";\r\n a.click();\r\n });\r\n }\r\n });\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onGetMultipleEditEquipmentData = (body: any): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspection/inspectiontask/equipments/datafields/general`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setMultipleEditDatafields(res.data?.dataFields));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onMultipleEditEquipmentDataUpdate = (body: any, reset, setSelectedDatafield, setModifiedContent): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspection/inspectiontask/equipments/update `, body);\r\n if (res.status === \"done\") {\r\n dispatch(setMultipleUpdatedData(res.data));\r\n reset();\r\n setSelectedDatafield([]);\r\n setModifiedContent({});\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onGetArchievedSearches = (taskId): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspection/inspectionTasks/${taskId}/equipments/archievedsearches `);\r\n if (res.status === \"done\") {\r\n dispatch(setArchievedSearches(res?.data?.searchCriteria));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onGetEquipmentGroupDatafields = (panelId, taskId): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspection/inspectiontask/${taskId}/equipments/panels/${panelId}`);\r\n if (res.status === \"done\") {\r\n dispatch(setEquipmentGroupDatafields(res?.data?.dataFields));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onNewEquipmentGroupAdd = (body: any, taskId: any, setLoader: any): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspection/inspectiontask/${taskId}/equipments/panels/add`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setNewEquipmentGroup(res?.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n setLoader(false);\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n setLoader(false);\r\n }\r\n};\r\n\r\nexport const onEquipmentGroupUpdate = (body, taskId, panelId): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspection/inspectiontask/${taskId}/equipments/panels/${panelId}`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setUpdatedEquipmentGroup(res?.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onGetImportEquipmentDatafields = (body, classId): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspection/equipments/import/excel/equipmentclasses/${classId}/datafields`);\r\n if (res.status === \"done\") {\r\n dispatch(setImportEquipmentDatafields(res?.data?.dataFieldDetails));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onResetEquipments = (selectedRows: any, uniqueInspectiontaskId: any, panelId: any, body): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspection/inspectiontask/${uniqueInspectiontaskId}/equipments/panels/${panelId}/reset`, body);\r\n if (res.status === \"done\") {\r\n let resettedRows = JSON.parse(JSON.stringify(selectedRows));\r\n resettedRows?.map((item: any, key: any) => {\r\n item[\"Test Result\"] = \"Not Tested\";\r\n item[\"Test Method\"] = \"None\";\r\n item[\"Rec\"] = null;\r\n item[\"Test Date\"] = null;\r\n });\r\n dispatch(setMultipleUpdatedData(resettedRows));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const getEquipmentAttachments = (inspectiontaskid: any, equipmentid: any, currentStart: any, sortField: any, sortOrder: any): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspection/inspectiontask/${inspectiontaskid}/equipments/${equipmentid}/attachments?currentstart=${currentStart}&sortcolumn=${sortField}&sortorder=${sortOrder}`);\r\n if (res.status === \"done\") {\r\n dispatch(setEquipmentAttachmentsList(res.data?.attachmentList));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const uploadAttachment = (inspectiontaskid: any, equipmentid: any, body: any, setMessage: any, setDisplayInfoModal: any, resetFileUploadForm: any, setEnableUpload?: any): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspection/inspectiontask/${inspectiontaskid}/equipments/${equipmentid}/attachments/add`, body);\r\n if (res.status === \"done\") {\r\n if (res.data && res.data.attachmentList) {\r\n dispatch(setNewEquipmentAttachmentData(res.data?.attachmentList));\r\n dispatch(setEquipmentAttachmentlist(res.data?.attachmentList))\r\n setMessage('Selected File uploaded');\r\n setDisplayInfoModal(true);\r\n resetFileUploadForm();\r\n }\r\n } else {\r\n dispatch(setErrors(res.error));\r\n setEnableUpload(false);\r\n if (res.message) {\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const editAttachment = (inspectiontaskid: any, equipmentid: any, fileId: any, body: any, setMessage: any, setDisplayInfoModal: any, resetFileEditForm: any, setSelectedRows: any, setEnableUpload?: any): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspection/inspectiontask/${inspectiontaskid}/equipments/${equipmentid}/attachments/${fileId}`, body);\r\n if (res.status === \"done\") {\r\n setSelectedRows([(res?.data)]);\r\n dispatch(setUpdatedAttachmentData(res?.data));\r\n dispatch(setEquipmentAttachmentlist([res.data]))\r\n setMessage('Attachment updated');\r\n setDisplayInfoModal(true);\r\n resetFileEditForm();\r\n } else {\r\n dispatch(setErrors(res.error));\r\n setEnableUpload(false);\r\n if (res.message) {\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const deleteAttachment = (inspectiontaskid: any, equipmentid: any, selectedRows: any, setMessage: any, setDisplayInfoModal: any, setDisplayConfirmModal: any, setSelectedRows: any): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspection/inspectiontask/${inspectiontaskid}/equipments/${equipmentid}/attachments/${selectedRows[0]?.attachmentId}/remove`, selectedRows[0]?.fileName);\r\n if (res.status === \"done\") {\r\n dispatch(setDeletedEquipmentAttachmentList(selectedRows[0]?.attachmentId));\r\n setSelectedRows([]);\r\n setMessage('Attachment deleted');\r\n setDisplayConfirmModal(false);\r\n setDisplayInfoModal(true);\r\n } else {\r\n dispatch(setErrors(res.error));\r\n if (res.message) {\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const downloadEquipmentAttachment = (inspectiontaskid: any, equipmentid: any, fileId: any, fileName: any, setMessage: any, setDisplayInfoModal: any,): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspection/inspectiontask/${inspectiontaskid}/equipments/${equipmentid}/attachments/${fileId}`);\r\n if (res.status === \"done\") {\r\n dispatch(onDownloadFile(fileId, fileName, res?.data?.fullPath, setMessage, setDisplayInfoModal));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const onViewEquipmentAttachment = (inspectiontaskid: any, equipmentid: any, fileId: any, fileName: any, setMessage: any, setDisplayInfoModal: any, setStreamData: any, setShowViewModal: any): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspection/inspectiontask/${inspectiontaskid}/equipments/${equipmentid}/attachments/${fileId}`);\r\n if (res.status === \"done\") {\r\n if(fileName){\r\n if(fileName.split('.').pop()===\"png\"||fileName.split('.').pop()===\"jpg\"||fileName.split('.').pop()===\"jpeg\"){\r\n setShowViewModal(true);\r\n dispatch(onDownloadAttachmentFile(fileId, res.data?.fullPath, setDisplayInfoModal, setMessage, true, setStreamData, fileName));\r\n } else {\r\n dispatch(onDownloadAttachmentFile(fileId, res.data?.fullPath, setDisplayInfoModal, setMessage, false, setStreamData, fileName));\r\n }\r\n }\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const onDownloadMultipleAttachment = (inspectionTaskId: any, equipmentId: any, attachmentIds: any, setMessage: any, setDisplayInfoModal: any): AppThunk => async (dispatch) => {\r\n try {\r\n const request: any = {\r\n method: \"POST\",\r\n cache: \"no-store\",\r\n headers: {\r\n \"Content-Type\": \"application/json; charset=utf-8\",\r\n Authorization: sessionStorage.getItem(\"accesstoken\"),\r\n },\r\n body: JSON.stringify({ attachmentIds: attachmentIds })\r\n };\r\n const downloadUrl = (window as any).envSettings.baseAPIUrl + `api/v1/inspection/inspectiontask/${inspectionTaskId}/equipments/${equipmentId}/attachments`;\r\n await fetch(downloadUrl, request).then((response: any) => {\r\n if (response.ok) {\r\n\r\n const res = new Response(\r\n new ReadableStream({\r\n async start(controller) {\r\n const reader = response.body.getReader();\r\n for (; ;) {\r\n const { done, value } = await reader.read();\r\n if (done) break;\r\n controller.enqueue(value);\r\n }\r\n controller.close();\r\n },\r\n })\r\n );\r\n\r\n res.blob().then((blob) => {\r\n const filename = response.headers.get(\"content-disposition\")?.split(';')[1]?.split('=')[1];\r\n let url = window.URL.createObjectURL(blob);\r\n let a = document.createElement(\"a\");\r\n a.href = url;\r\n a.download = filename.replaceAll('\\\"', '');\r\n a.click();\r\n });\r\n } else {\r\n setDisplayInfoModal(true);\r\n setMessage(\"File not found\")\r\n }\r\n });\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const addUserDefaultEquipmentClass = (body:any): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspection/inspectiontask/userdefaultequipmentclass/add`, body);\r\n\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\n export const getEquipmentTypeListWithDefaultEquipmentClass = (type:any,taskId:any): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspection/inspectiontask/getequipmentclasslist/${taskId}`);\r\n if (res.status === \"done\") {\r\n let typeList = res?.data?.equipmentTypeInfo;\r\n let userDefaultEquipmentClass = res?.data?.userDefaultEquipmentClass;\r\n \r\n typeList.splice(0, 0, { uniqueEquipmentClassId: \"All\", equipmentClassName: \"All\" });\r\n dispatch(setEquipmentTypeList(typeList));\r\n \r\n if(type == '')\r\n {\r\n if(userDefaultEquipmentClass == null || userDefaultEquipmentClass == \"\")\r\n userDefaultEquipmentClass = \"All\";\r\n\r\n dispatch(setUserDefaultEquipmentClass(userDefaultEquipmentClass))\r\n }\r\n \r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n }; \r\n\r\nexport const {\r\n setErrors,\r\n setEquipmentList,\r\n setEquipmentPanelList,\r\n setEquipmentTypeList,\r\n setEquipmentDatafields,\r\n setNewEquipment,\r\n setUpdatedEquipment,\r\n setRemovedEquipment,\r\n setEquipmentImportCheckData,\r\n setCheckSystemParseInProgress,\r\n setXMLImportStatus,\r\n setAssociatedDevicesData,\r\n setUpdatedEquipmentAddress,\r\n setMasterDataList,\r\n setMasterDataPageDetails,\r\n setAttachmentList,\r\n setAttachmentPageDetails,\r\n setReportPreviewSession,\r\n setUploadedExcels,\r\n setWorksheets,\r\n setExcelMappingColumn,\r\n setEquipmentSpecificLists,\r\n setFetchedEquipmentData,\r\n setVerifiedFetchedData,\r\n setImportedEquipmentData,\r\n setMultipleEditDatafields,\r\n setMultipleUpdatedData,\r\n setArchievedSearches,\r\n setEquipmentGroupDatafields,\r\n setNewEquipmentGroup,\r\n setUpdatedEquipmentGroup,\r\n setImportEquipmentDatafields,\r\n setTypeOfEquipmentList,\r\n setEquipmentAttachmentsList,\r\n setNewEquipmentAttachmentData,\r\n setUpdatedAttachmentData,\r\n setDeletedEquipmentAttachmentList,\r\n setIsDevReadingChanged,\r\n setIsTestedDateChanged,\r\n setEquipmentAttachmentlist,\r\n setUserDefaultEquipmentClass,\r\n setIsEquipmentClassDropdownChanged\r\n\r\n} = EquipmentSlice.actions;\r\nexport default EquipmentSlice.reducer;","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\";\r\nimport { zlink, baseURL } from \"../../../../service/HttpService\";\r\nimport { AppThunk } from \"../../../store\";\r\n\r\nexport interface PersonalSettingState {\r\n errors: any;\r\n personalSettings: any;\r\n rowsPerPage:number;\r\n inspectionTasksRowsPerPage:number;\r\n}\r\n\r\nlet initialState: PersonalSettingState = {\r\n errors: \"\",\r\n personalSettings: [],\r\n rowsPerPage:0,\r\n inspectionTasksRowsPerPage:0\r\n};\r\n\r\nconst personalSettingsSlice = createSlice({\r\n name: \"personalSettings\",\r\n initialState,\r\n reducers: {\r\n setErrors: (state, { payload }: PayloadAction) => {\r\n state.errors = payload;\r\n },\r\n setPersonalSettings: (state, { payload }: PayloadAction) => {\r\n state.personalSettings = payload;\r\n },\r\n setRowsPerPage: (state, { payload }: PayloadAction) => {\r\n state.rowsPerPage = payload;\r\n },\r\n setInspectionTasksRowsPerPage: (state, { payload }: PayloadAction) => {\r\n state.inspectionTasksRowsPerPage = payload;\r\n },\r\n },\r\n});\r\n\r\nexport const getPersonalSettings = (): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/users/me/personalsettings`);\r\n if (res.status === \"done\") {\r\n dispatch(setPersonalSettings(res?.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onEditPersonalSettings =\r\n (body: any, setMessage, setDisplayInfoModal, setShowModal): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(\r\n `${baseURL}api/v1/users/me/personalsettings`,\r\n body\r\n );\r\n if (res.status === \"done\") {\r\n setMessage(\"User Personal Settings updated\");\r\n setDisplayInfoModal(true);\r\n dispatch(setRowsPerPage(res?.data?.rowsPerPage));\r\n dispatch(setInspectionTasksRowsPerPage(res?.data?.rowsPerPageForInspectiontasks));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const onUpdatePassword =\r\n (body: any, setMessage, setDisplayInfoModal, setShowModal): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(\r\n `${baseURL}api/v1/users/me/changePassword`,\r\n body\r\n );\r\n if (res.status === \"done\") {\r\n setMessage(\"Password updated successfully\");\r\n \r\n setDisplayInfoModal(true);\r\n } else {\r\n dispatch(setErrors(res.error));\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\nexport const { \r\n setErrors, \r\n setPersonalSettings,\r\n setRowsPerPage,\r\n setInspectionTasksRowsPerPage\r\n} = personalSettingsSlice.actions;\r\n\r\nexport default personalSettingsSlice.reducer;\r\n","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\";\r\nimport { zlink, baseURL } from \"../../../../service/HttpService\";\r\nimport { AppThunk } from \"../../../store\";\r\n\r\nexport interface feedbackState {\r\n errors: any;\r\n feedbackData: any;\r\n}\r\n\r\nlet initialState: feedbackState = {\r\n errors: \"\",\r\n feedbackData: {}\r\n};\r\n\r\nconst feedbackSlice = createSlice({\r\n name: \"feedback\",\r\n initialState,\r\n reducers: {\r\n setErrors: (state, { payload }: PayloadAction) => {\r\n state.errors = payload;\r\n },\r\n setFeedbackData: (state, { payload }: PayloadAction) => {\r\n state.feedbackData = payload;\r\n }\r\n },\r\n});\r\n\r\nexport const getFeedback = (): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/feedback`);\r\n if (res.status === \"done\") {\r\n if (res.data) {\r\n dispatch(setFeedbackData(res.data));\r\n }\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const sendFeedback = (body: any, setLoader, setShowFeedback, setMessage, setDisplayInfoModal): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/feedback`, body);\r\n if (res.status === \"done\") {\r\n setShowFeedback(false)\r\n setMessage(\"Feedback Sent\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n dispatch(setErrors(res.error));\r\n if (res.message) {\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n }\r\n setLoader(false);\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n setLoader(false);\r\n }\r\n};\r\n\r\nexport const {\r\n setErrors,\r\n setFeedbackData\r\n} = feedbackSlice.actions;\r\n\r\nexport default feedbackSlice.reducer;","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\";\r\nimport { zlink, baseURL } from \"../../../../service/HttpService\";\r\nimport { AppThunk } from \"../../../store\";\r\n\r\nexport interface sendMailState {\r\n errors: any;\r\n mailData: any;\r\n}\r\n\r\nlet initialState: sendMailState = {\r\n errors: \"\",\r\n mailData: {}\r\n};\r\n\r\nconst sendMailSlice = createSlice({\r\n name: \"sendMail\",\r\n initialState,\r\n reducers: {\r\n setErrors: (state, { payload }: PayloadAction) => {\r\n state.errors = payload;\r\n },\r\n setMailData: (state, { payload }: PayloadAction) => {\r\n state.mailData = payload;\r\n }\r\n }\r\n});\r\n\r\nexport const getMailData = (): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/sendmail`);\r\n if (res.status === \"done\") {\r\n if (res.data) {\r\n dispatch(setMailData(res.data));\r\n }\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const sendAttachment = (fileData: any, body: any, setLoader, setShowSendMail, setMessage, setDisplayInfoModal): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/sendmail/files/add`, fileData);\r\n if (res.status === \"done\") {\r\n if (res.data) {\r\n if (res.data.files && res.data.files.length) {\r\n body.hasAttachment = true;\r\n body.attachmentName = res.data.files[0].fileName;\r\n }\r\n }\r\n dispatch(sendMail(body, setLoader, setShowSendMail, setMessage, setDisplayInfoModal));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n if (res.message) {\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n setLoader(false);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n setLoader(false)\r\n }\r\n};\r\n\r\n\r\nexport const sendMail = (body: any, setLoader, setShowSendMail, setMessage, setDisplayInfoModal): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/sendmail`, body);\r\n if (res.status === \"done\") {\r\n setShowSendMail(false)\r\n setMessage(\"Mail has been Sent\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n dispatch(setErrors(res.error));\r\n if (res.message) {\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n }\r\n setLoader(false);\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n setLoader(false);\r\n }\r\n};\r\n\r\nexport const {\r\n setErrors,\r\n setMailData\r\n} = sendMailSlice.actions;\r\n\r\nexport default sendMailSlice.reducer;","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\";\r\nimport { AppThunk } from \"redux/store\";\r\nimport { baseURL, zlink } from \"service/HttpService\";\r\n\r\nexport interface LinkState {\r\n errors: any;\r\n linkList: any;\r\n}\r\n\r\nlet initialState: LinkState = {\r\n errors: \"\",\r\n linkList: \"\",\r\n};\r\n\r\nconst LinkSlice = createSlice({\r\n name: \"link\",\r\n initialState,\r\n reducers: {\r\n setErrors: (state, { payload }: PayloadAction) => {\r\n state.errors = payload;\r\n },\r\n setLinkList: (state, { payload }: PayloadAction) => {\r\n state.linkList = payload;\r\n },\r\n setNewLink: (state, { payload }: PayloadAction) => {\r\n state.linkList.unshift(payload);\r\n },\r\n setUpdatedLink: (state, { payload }: PayloadAction) => {\r\n let currentIndex = state.linkList.findIndex((item: any) => item.linkId === payload?.linkId);\r\n\t\t\tstate.linkList = state.linkList.filter((item: any) => item.linkId !== payload?.linkId);\r\n\t\t\tstate.linkList.splice(currentIndex, 0, payload);\r\n },\r\n setDeletedLink(state, { payload }: PayloadAction) {\r\n\t\t\tstate.linkList = state.linkList.filter((item: any) => item.linkId !== payload);\r\n\t\t},\r\n }\r\n})\r\n\r\nexport const getLinkList = (): AppThunk => async (dispatch) => {\r\n try {\r\n\t\tconst res = await zlink.get(`${baseURL}api/v1/links`);\r\n if (res.status === \"done\") {\r\n\t\t\tdispatch(setLinkList(res?.data?.linkDetails));\r\n\t\t} else {\r\n\t\t\tdispatch(setErrors(res.error));\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tdispatch(setErrors(error));\r\n\t}\r\n};\r\n\r\nexport const onAddLink = (body:any,reset,setDisplyInfoModal,setMessage): AppThunk => async (dispatch) => {\r\n try {\r\n\t\tconst res = await zlink.post(`${baseURL}api/v1/links/add`,body);\r\n if (res.status === \"done\") {\r\n\t\t\tdispatch(setNewLink(res?.data));\r\n setDisplyInfoModal(true);\r\n setMessage(\"Link added\");\r\n reset();\r\n\t\t} else {\r\n setDisplyInfoModal(true);\r\n setMessage(res.message);\r\n\t\t\tdispatch(setErrors(res.error));\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tdispatch(setErrors(error));\r\n\t}\r\n};\r\n\r\nexport const onEditLink = (body:any,linkId:any,setDisplyInfoModal,setMessage): AppThunk => async (dispatch) => {\r\n try {\r\n\t\tconst res = await zlink.post(`${baseURL}api/v1/links/${linkId}`,body);\r\n if (res.status === \"done\") {\r\n\t\t\tdispatch(setUpdatedLink(res?.data));\r\n setDisplyInfoModal(true);\r\n setMessage(\"Link updated\");\r\n\t\t} else {\r\n setDisplyInfoModal(true);\r\n setMessage(res.message);\r\n\t\t\tdispatch(setErrors(res.error));\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tdispatch(setErrors(error));\r\n\t}\r\n};\r\n\r\nexport const onDeleteLink = (linkId:any,setDisplyInfoModal,setMessage): AppThunk => async (dispatch) => {\r\n try {\r\n\t\tconst res = await zlink.post(`${baseURL}api/v1/links/${linkId}/remove`,null);\r\n if (res.status === \"done\") {\r\n\t\t\tdispatch(setDeletedLink(linkId));\r\n setDisplyInfoModal(true);\r\n setMessage(\"Link deleted\");\r\n\t\t} else {\r\n setDisplyInfoModal(true);\r\n setMessage(res.message);\r\n\t\t\tdispatch(setErrors(res.error));\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tdispatch(setErrors(error));\r\n\t}\r\n};\r\n\r\nexport const {\r\n setErrors,\r\n setLinkList,\r\n setNewLink,\r\n setUpdatedLink,\r\n setDeletedLink\r\n} = LinkSlice.actions;\r\n\r\nexport default LinkSlice.reducer;","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\";\r\nimport { AppThunk } from \"redux/store\";\r\nimport { baseURL, zlink } from \"service/HttpService\";\r\n\r\nexport interface PluginState {\r\n errors: any;\r\n pluginList: any;\r\n pluginFilePath:any;\r\n uploadedPlugin: any;\r\n qrcode: any;\r\n}\r\n\r\nlet initialState: PluginState = {\r\n errors: \"\",\r\n pluginList: \"\",\r\n pluginFilePath:\"\",\r\n uploadedPlugin: \"\",\r\n qrcode:\"\",\r\n};\r\n\r\nconst PluginSlice = createSlice({\r\n name: \"plugin\",\r\n initialState,\r\n reducers: {\r\n setErrors: (state, { payload }: PayloadAction) => {\r\n state.errors = payload;\r\n },\r\n setPluginList: (state, { payload }: PayloadAction) => {\r\n state.pluginList = payload;\r\n },\r\n setPluginFilePath: (state, { payload }: PayloadAction) => {\r\n state.pluginFilePath = payload;\r\n },\r\n setUploadedPlugin: (state, { payload }: PayloadAction) => {\r\n state.uploadedPlugin = payload;\r\n },\r\n setQrCode: (state, { payload }: PayloadAction) => {\r\n state.qrcode = payload;\r\n },\r\n }\r\n})\r\n\r\nexport const getPluginList = (): AppThunk => async (dispatch) => {\r\n try {\r\n\t\tconst res = await zlink.get(`${baseURL}api/v1/plugins`);\r\n if (res.status === \"done\") {\r\n\t\t\tdispatch(setPluginList(res?.data?.pluginDetails));\r\n\t\t} else {\r\n\t\t\tdispatch(setErrors(res.error));\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tdispatch(setErrors(error));\r\n\t}\r\n};\r\n\r\nexport const getPluginFilePath = (pluginId,countryId,isTapBridge,isTapAppPro,setMessage,setDisplayInfoModal): AppThunk => async (dispatch) => {\r\n try {\r\n\t\tconst res = await zlink.get(`${baseURL}api/v1/plugins/${pluginId}/${countryId}?isTapBridge=${isTapBridge}&isTapAppPro=${isTapAppPro}`);\r\n if (res.status === \"done\") {\r\n\t\t\tdispatch(setPluginFilePath(res?.data));\r\n\t\t} else {\r\n\t\t\tdispatch(setErrors(res.error));\r\n setDisplayInfoModal(true);\r\n setMessage(res.message);\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tdispatch(setErrors(error));\r\n\t}\r\n};\r\n\r\nexport const onUploadPlugin =\r\n (body,setShowAddModal,setMessage,setDisplayInfoModal): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/plugins/add `, body); \r\n if (res.status === \"done\") {\r\n setShowAddModal(false);\r\n dispatch(setUploadedPlugin(res?.data))\r\n setMessage(\"File uploaded\");\r\n\t\t\t setDisplayInfoModal(true);\r\n } else {\r\n\t\t\t setDisplayInfoModal(true);\r\n setMessage(res.message);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onPluginSendMail =\r\n (body: any,countryId,isTapAppPro, setMessage,setDisplayInfoModal,setShowSendMailModal,reset): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/plugins/sendmail/${countryId}?isTapAppPro=${isTapAppPro}`, body);\r\n if (res.status === \"done\") {\r\n setDisplayInfoModal(true);\r\n setMessage(\"Mail sent with APK file download link\");\r\n setShowSendMailModal(false);\r\n reset(); \r\n \r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const getQrCode = (setMessage, setDisplayInfoModal): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/qrcode`);\r\n if (res.status === \"done\") {\r\n dispatch(setQrCode(res?.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n setDisplayInfoModal(true);\r\n setMessage(res.message);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\n\r\nexport const {\r\n setErrors,\r\n setPluginList,\r\n setPluginFilePath,\r\n setUploadedPlugin,\r\n setQrCode\r\n} = PluginSlice.actions;\r\n\r\nexport default PluginSlice.reducer;","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\"\r\nimport { AppThunk } from \"redux/store\";\r\nimport { baseURL, zlink } from \"service/HttpService\";\r\n\r\n\r\nexport interface inspectionDetailsState {\r\n errors: any;\r\n inspectionQuestion: any;\r\n updatedQuestionDatafields: any;\r\n inspectionContracts: any;\r\n inspectionSystems: any;\r\n updatedContractDatafields: any;\r\n updatedSystemDatafields: any;\r\n inspectionSystemFieldValues: any;\r\n inspectionContractFieldValues: any;\r\n inspectionQuestionFieldValues: any;\r\n contractUpdated: boolean;\r\n monitoringValues: any;\r\n typeOfTriggerValue: any;\r\n}\r\n\r\nlet initialState: inspectionDetailsState = {\r\n errors: \"\",\r\n inspectionQuestion: \"\",\r\n updatedQuestionDatafields: \"\",\r\n inspectionContracts: \"\",\r\n inspectionSystems: \"\",\r\n updatedContractDatafields: \"\",\r\n updatedSystemDatafields: \"\",\r\n inspectionSystemFieldValues: \"\",\r\n inspectionContractFieldValues: \"\",\r\n inspectionQuestionFieldValues: \"\",\r\n contractUpdated: false,\r\n monitoringValues: \"\",\r\n typeOfTriggerValue: \"\",\r\n}\r\n\r\nconst InspectionDetailsSlice = createSlice({\r\n name: \"inspectionDetails\",\r\n initialState,\r\n reducers: {\r\n setErrors: (state, { payload }: PayloadAction) => {\r\n state.errors = payload;\r\n },\r\n setInspectionQuestion: (state, { payload }: PayloadAction) => {\r\n state.inspectionQuestion = payload;\r\n },\r\n setUpdatedQuestionDatafields: (state, { payload }: PayloadAction) => {\r\n state.updatedQuestionDatafields = payload;\r\n },\r\n setInspectionContracts: (state, { payload }: PayloadAction) => {\r\n state.inspectionContracts = payload;\r\n },\r\n setInspectionSystems: (state, { payload }: PayloadAction) => {\r\n state.inspectionSystems = payload;\r\n },\r\n setUpdatedContractDatafields: (state, { payload }: PayloadAction) => {\r\n state.updatedContractDatafields = payload;\r\n },\r\n setUpdatedSystemDatafields: (state, { payload }: PayloadAction) => {\r\n state.updatedSystemDatafields = payload;\r\n },\r\n setInspectionSystemFieldValues: (state, { payload }: PayloadAction) => {\r\n state.inspectionSystemFieldValues = payload;\r\n },\r\n setInspectionContractFieldValues: (state, { payload }: PayloadAction) => {\r\n state.inspectionContractFieldValues = payload;\r\n },\r\n setInspectionQuestionFieldValues: (state, { payload }: PayloadAction) => {\r\n state.inspectionQuestionFieldValues = payload;\r\n },\r\n setContractUpdated: (state, { payload }: PayloadAction) => {\r\n state.contractUpdated = payload;\r\n },\r\n setMonitoringValues: (state, { payload }: PayloadAction) => {\r\n state.monitoringValues = payload;\r\n },\r\n setTypeOfTriggerValue: (state, { payload }: PayloadAction) => {\r\n state.typeOfTriggerValue = payload;\r\n },\r\n }\r\n})\r\n\r\nexport const getInspectionQuestions = (taskId: any, panelId: any): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspection/inspectiontask/${taskId}/equipments/panels/${panelId}/inspectionquestions`);\r\n if (res.status === \"done\") {\r\n dispatch(setInspectionQuestion(res?.data?.inspectionGroupSections));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onSaveInspectionQuestion = (taskId: any, panelId: any, body, setShowProgress): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspection/inspectiontask/${taskId}/equipments/panels/${panelId}/inspectionquestions`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setUpdatedQuestionDatafields(body));\r\n setShowProgress(false);\r\n } else {\r\n dispatch(setErrors(res.error));\r\n setShowProgress(false);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n setShowProgress(false);\r\n }\r\n };\r\n\r\nexport const getInspectionContracts = (taskId: any, systemId: any): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspection/inspectiontask/${taskId}/systems/${systemId}/contractfields`);\r\n if (res.status === \"done\") {\r\n let fileds = { inspectionGroupFields: res?.data?.contractDetails }\r\n dispatch(setInspectionContracts(fileds));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const getInspectionSystems = (taskId: any, systemId: any): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspection/inspectiontask/${taskId}/systems/${systemId}/systemfields`);\r\n if (res.status === \"done\") {\r\n let fileds = { inspectionGroupFields: res?.data?.systemDetails }\r\n dispatch(setInspectionSystems(fileds));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const onSaveInspectionContract = (taskId: any, systemId: any, body: any, taskWithOutBranch: boolean, setShowProgress): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspection/inspectiontask/${taskId}/systems/${systemId}/contractfields`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setUpdatedContractDatafields(body));\r\n if (taskWithOutBranch) {\r\n dispatch(setContractUpdated(true));\r\n }\r\n setShowProgress(false);\r\n } else {\r\n dispatch(setErrors(res.error));\r\n setShowProgress(false);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n setShowProgress(false);\r\n }\r\n };\r\n\r\nexport const onSaveInspectionSystem = (taskId: any, systemId: any, body: any, setShowProgress): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspection/inspectiontask/${taskId}/systems/${systemId}/systemfields`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setUpdatedSystemDatafields(body));\r\n setShowProgress(false);\r\n } else {\r\n dispatch(setErrors(res.error));\r\n setShowProgress(false);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n setShowProgress(false);\r\n }\r\n };\r\n\r\nexport const onGetInspectionContractFieldValues = (taskId: any, setProgress, typeValue): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspection/inspectiontask/${taskId}/contractfields/values`);\r\n if (res.status === \"done\") {\r\n dispatch(setInspectionContractFieldValues(res.data.values));\r\n dispatch(setTypeOfTriggerValue(typeValue));\r\n setProgress(false);\r\n } else {\r\n dispatch(setErrors(res.error));\r\n setProgress(false);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n setProgress(false);\r\n }\r\n };\r\n\r\nexport const onGetRefreshInspectionContract = (taskId: any, setProgress, typeValue): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspection/inspectiontask/${taskId}/contractfields/refreshvalues`);\r\n if (res.status === \"done\") {\r\n dispatch(setInspectionContractFieldValues(res.data.values));\r\n dispatch(setTypeOfTriggerValue(typeValue))\r\n setProgress(false);\r\n } else {\r\n dispatch(setErrors(res.error));\r\n setProgress(false);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n setProgress(false);\r\n }\r\n };\r\n\r\nexport const onGetInspectionSystemFieldValues = (taskId: any, setProgress): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspection/inspectiontask/${taskId}/systemfields/values`);\r\n if (res.status === \"done\") {\r\n dispatch(setInspectionSystemFieldValues(res.data.values));\r\n setProgress(false);\r\n } else {\r\n dispatch(setErrors(res.error));\r\n setProgress(false);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n setProgress(false);\r\n }\r\n };\r\n\r\nexport const onGetInspectionQuestionFieldValues = (taskId: any, panelId: any, setShowProgress, handleEquipmentGroupChange?: any): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspection/inspectiontask/${taskId}/equipments/panels/${panelId}/inspectionquestions/values`);\r\n if (res.status === \"done\") {\r\n dispatch(setInspectionQuestionFieldValues(res.data.values));\r\n handleEquipmentGroupChange();\r\n setShowProgress(false);\r\n } else {\r\n dispatch(setErrors(res.error));\r\n setShowProgress(false);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n setShowProgress(false);\r\n }\r\n };\r\n\r\nexport const onGetMonitoringValues = (taskId: any, panelId: any, setShowProgress, checked): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspection/inspectiontask/${taskId}/equipments/panels/${panelId}/inspectionquestions/monitorinfovalues`);\r\n if (res.status === \"done\") {\r\n res?.data?.values?.forEach(element => {\r\n element.multipleFieldValue = checked ? element.multipleFieldValue : \"\";\r\n element.fieldValue = checked ? element.fieldValue : \"\";\r\n });\r\n dispatch(setMonitoringValues(res?.data?.values));\r\n setShowProgress(false);\r\n } else {\r\n dispatch(setErrors(res.error));\r\n setShowProgress(false);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n setShowProgress(false);\r\n }\r\n };\r\n\r\nexport const {\r\n setErrors,\r\n setInspectionQuestion,\r\n setUpdatedQuestionDatafields,\r\n setInspectionContracts,\r\n setInspectionSystems,\r\n setUpdatedContractDatafields,\r\n setUpdatedSystemDatafields,\r\n setInspectionSystemFieldValues,\r\n setInspectionContractFieldValues,\r\n setInspectionQuestionFieldValues,\r\n setContractUpdated,\r\n setMonitoringValues,\r\n setTypeOfTriggerValue,\r\n} = InspectionDetailsSlice.actions;\r\nexport default InspectionDetailsSlice.reducer;","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\";\r\nimport { AppThunk } from \"redux/store\";\r\nimport { baseURL, zlink } from \"service/HttpService\";\r\n\r\nexport interface PasswordPolicyState {\r\n errors: any;\r\n passwordPolicyData: any;\r\n}\r\n\r\nlet initialState: PasswordPolicyState = {\r\n errors: \"\",\r\n passwordPolicyData: \"\",\r\n};\r\n\r\nconst PasswordPolicySlice = createSlice({\r\n name: \"passwordPolicy\",\r\n initialState,\r\n reducers: {\r\n setErrors: (state, { payload }: PayloadAction) => {\r\n state.errors = payload;\r\n },\r\n setPasswordPolicyData: (state, { payload }: PayloadAction) => {\r\n state.passwordPolicyData = payload;\r\n },\r\n }\r\n})\r\n\r\nexport const getPasswordPolicyData = (): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/organization/passwordpolicy`);\r\n if (res.status === \"done\") {\r\n dispatch(setPasswordPolicyData(res.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const onUpdatePasswordPolicyData = (body:any,setMessage,setDisplayInfoModal): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/organization/passwordpolicy`,body);\r\n if (res.status === \"done\") {\r\n dispatch(setPasswordPolicyData(res.data));\r\n setMessage(\"Password Policy updated\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n dispatch(setErrors(res.error));\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const {\r\n setErrors,\r\n setPasswordPolicyData\r\n} = PasswordPolicySlice.actions;\r\n\r\nexport default PasswordPolicySlice.reducer;","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\";\r\nimport { AppThunk } from \"redux/store\";\r\nimport { baseURL, zlink } from \"service/HttpService\";\r\n\r\nexport interface MailDomainState {\r\n errors: any;\r\n mailDomainList: any;\r\n newMailDomain:any;\r\n}\r\n\r\nlet initialState: MailDomainState = {\r\n errors: \"\",\r\n mailDomainList: \"\",\r\n newMailDomain:\"\",\r\n};\r\n\r\nconst MailDomainSlice = createSlice({\r\n name: \"mailDomain\",\r\n initialState,\r\n reducers: {\r\n setErrors: (state, { payload }: PayloadAction) => {\r\n state.errors = payload;\r\n },\r\n setMailDomainList: (state, { payload }: PayloadAction) => {\r\n state.mailDomainList = payload;\r\n },\r\n setNewMailDomain: (state, { payload }: PayloadAction) => {\r\n state.mailDomainList.unshift(payload);\r\n },\r\n setUpdatedMailDomain: (state, { payload }: PayloadAction) => {\r\n state.mailDomainList.unshift(payload);\r\n },\r\n setDeletedMailDomain: (state, { payload }: PayloadAction) => {\r\n state.mailDomainList = state.mailDomainList.filter((item: any) => item.accountMailDomainId !== payload);\r\n },\r\n }\r\n})\r\n\r\nexport const getMailDomainList = (): AppThunk => async (dispatch) => {\r\n try {\r\n\t\tconst res = await zlink.get(`${baseURL}api/v1/maildomains`);\r\n if (res.status === \"done\") {\r\n\t\t\tdispatch(setMailDomainList(res?.data?.mailDomains));\r\n\t\t} else {\r\n\t\t\tdispatch(setErrors(res.error));\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tdispatch(setErrors(error));\r\n\t}\r\n};\r\n\r\nexport const onAddMailDomain = (body:any,reset,setDisplayInfoModal,setMessage): AppThunk => async (dispatch) => {\r\n try {\r\n\t\tconst res = await zlink.post(`${baseURL}api/v1/maildomains/add`,body);\r\n if (res.status === \"done\") {\r\n\t\t\tdispatch(setNewMailDomain(res?.data));\r\n reset();\r\n setDisplayInfoModal(true);\r\n setMessage(\"Mail Domain added\");\r\n\t\t} else {\r\n\t\t\tdispatch(setErrors(res.error));\r\n setDisplayInfoModal(true);\r\n setMessage(res.message);\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tdispatch(setErrors(error));\r\n\t}\r\n};\r\n\r\nexport const onEditMailDomain = (body:any,mailDomainId:any,setDisplayInfoModal,setMessage,setShowEditMailDomainModal): AppThunk => async (dispatch) => {\r\n try {\r\n\t\tconst res = await zlink.post(`${baseURL}api/v1/maildomains/${mailDomainId}`,body);\r\n if (res.status === \"done\") {\r\n\t\t\tdispatch(setUpdatedMailDomain(res?.data));\r\n dispatch(setDeletedMailDomain(mailDomainId));\r\n setDisplayInfoModal(true);\r\n setMessage(\"Mail Domain updated\");\r\n setShowEditMailDomainModal(false);\r\n\t\t} else {\r\n\t\t\tdispatch(setErrors(res.error));\r\n setDisplayInfoModal(true);\r\n setMessage(res.message);\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tdispatch(setErrors(error));\r\n\t}\r\n};\r\n\r\nexport const onDeleteMailDomain = (mailDomainId:any,setDisplayInfoModal,setMessage): AppThunk => async (dispatch) => {\r\n try {\r\n\t\tconst res = await zlink.post(`${baseURL}api/v1/maildomains/${mailDomainId}/remove`,null);\r\n if (res.status === \"done\") {\r\n\t\t\tdispatch(setDeletedMailDomain(mailDomainId));\r\n setMessage(\"Mail Domain deleted\");\r\n setDisplayInfoModal(true);\r\n\t\t} else {\r\n\t\t\tdispatch(setErrors(res.error));\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tdispatch(setErrors(error));\r\n\t}\r\n};\r\n\r\nexport const {\r\n setErrors,\r\n setMailDomainList,\r\n setNewMailDomain,\r\n setUpdatedMailDomain,\r\n setDeletedMailDomain\r\n} = MailDomainSlice.actions;\r\n\r\nexport default MailDomainSlice.reducer;","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\"\r\nimport { AppThunk } from \"redux/store\";\r\nimport { baseURL, zlink } from \"service/HttpService\";\r\n\r\nexport interface LogBookState {\r\n errors: any;\r\n userRoles: any;\r\n modules: any;\r\n users: any;\r\n entities: any;\r\n activities: any;\r\n logBookList: any;\r\n logPageDetails:any;\r\n}\r\n\r\nlet initialState: LogBookState = {\r\n errors: \"\",\r\n userRoles: \"\",\r\n modules: \"\",\r\n users: \"\",\r\n entities: \"\",\r\n activities: \"\",\r\n logBookList: \"\",\r\n logPageDetails:[],\r\n}\r\n\r\nconst LogBookSLice = createSlice({\r\n name: \"logbook\",\r\n initialState,\r\n reducers: {\r\n setErrors: (state, { payload }: PayloadAction) => {\r\n state.errors = payload;\r\n },\r\n setUserRoles: (state, { payload }: PayloadAction) => {\r\n state.userRoles = payload;\r\n },\r\n setModules: (state, { payload }: PayloadAction) => {\r\n state.modules = payload;\r\n },\r\n setUsers: (state, { payload }: PayloadAction) => {\r\n state.users = payload;\r\n },\r\n setEntities: (state, { payload }: PayloadAction) => {\r\n state.entities = payload;\r\n },\r\n setActivities: (state, { payload }: PayloadAction) => {\r\n state.activities = payload;\r\n },\r\n setLogBookList: (state, { payload }: PayloadAction) => {\r\n state.logBookList = payload;\r\n },\r\n setLogPageDetails: (state, {payload}: PayloadAction) => {\r\n\t\t\tstate.logPageDetails = payload;\r\n\t\t},\r\n }\r\n});\r\n\r\nexport const onGetUserRoles = (): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/common/user/userroles`);\r\n if (res.status === \"done\") {\r\n let roleList = res?.data?.userRoles\r\n roleList.splice(0, 0, { userRoleId: \"0\", userRoleName: \"All Users\" });\r\n dispatch(setUserRoles(roleList));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onGetModules = (): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/modules`);\r\n if (res.status === \"done\") {\r\n dispatch(setModules(res?.data?.cloudDetails));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onGetUsers = (body): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/logbook/users`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setUsers(res?.data?.userDetails));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onGetEntities = (body): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/logbook/entities`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setEntities(res?.data?.entityDetails));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onGetActivities = (body): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/logbook/events`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setActivities(res?.data?.eventDetails));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onGetLogBookList = (body,currentStart, sortField: any = \"\", sortOrder: any = \"\"): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/logbook/logs?currentstart=${currentStart}&sortcolumn=${sortField}&sortorder=${sortOrder}`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setLogPageDetails(res?.data?.pageDetails));\r\n dispatch(setLogBookList(res?.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onLogBookExport = (body: any): AppThunk => async (dispatch) => {\r\n try {\r\n const request: any = {\r\n method: \"POST\",\r\n cache: \"no-store\",\r\n headers: {\r\n \"Content-Type\": \"application/json; charset=utf-8\",\r\n Authorization: sessionStorage.getItem(\"accesstoken\"),\r\n },\r\n body: JSON.stringify(body)\r\n };\r\n const downloadUrl = (window as any).envSettings.baseAPIUrl + `api/v1/logbook/export`;\r\n await fetch(downloadUrl, request).then((response: any) => {\r\n if (response.ok) {\r\n response.blob().then((blob: any) => {\r\n let url = window.URL.createObjectURL(blob);\r\n let a = document.createElement(\"a\");\r\n a.href = url;\r\n a.download = \"Log Details\";\r\n a.click();\r\n });\r\n }\r\n });\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const {\r\n setErrors,\r\n setUserRoles,\r\n setModules,\r\n setUsers,\r\n setEntities,\r\n setActivities,\r\n setLogBookList,\r\n setLogPageDetails,\r\n} = LogBookSLice.actions;\r\n\r\nexport default LogBookSLice.reducer;","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\";\r\nimport { AppThunk } from \"redux/store\";\r\nimport { baseURL, zlink } from \"service/HttpService\";\r\n\r\nexport interface CustomizationState {\r\n errors: any;\r\n nfpaClassifications: any;\r\n dataEntrySettings: any;\r\n updatedDataEntrySettings: any;\r\n displaySettings: any;\r\n datafieldOrderList: any;\r\n updatedDatafieldOrder: any;\r\n updatedDisplaySettings: any;\r\n}\r\n\r\nlet initialState: CustomizationState = {\r\n errors: \"\",\r\n nfpaClassifications: \"\",\r\n dataEntrySettings: \"\",\r\n updatedDataEntrySettings: \"\",\r\n displaySettings: \"\",\r\n datafieldOrderList: \"\",\r\n updatedDatafieldOrder: \"\",\r\n updatedDisplaySettings: \"\",\r\n}\r\n\r\nconst CustomizationSlice = createSlice({\r\n name: \"customization\",\r\n initialState,\r\n reducers: {\r\n setErrors: (state, { payload }: PayloadAction) => {\r\n state.errors = payload;\r\n },\r\n setNfpaClassifications: (state, { payload }: PayloadAction) => {\r\n state.nfpaClassifications = payload;\r\n },\r\n setDataEntrySettings: (state, { payload }: PayloadAction) => {\r\n state.dataEntrySettings = payload;\r\n },\r\n setUpdatedDataEntrySettings: (state, { payload }: PayloadAction) => {\r\n state.updatedDataEntrySettings = payload;\r\n },\r\n setDisplaySettings: (state, { payload }: PayloadAction) => {\r\n state.displaySettings = payload;\r\n },\r\n setDatafieldOrderList: (state, { payload }: PayloadAction) => {\r\n state.datafieldOrderList = payload;\r\n },\r\n setUpdatedDatafieldOrder: (state, { payload }: PayloadAction) => {\r\n state.updatedDatafieldOrder = payload;\r\n },\r\n setUpdatedDisplaySettings: (state, { payload }: PayloadAction) => {\r\n state.updatedDisplaySettings = payload;\r\n },\r\n }\r\n});\r\n\r\nexport const onGetNfpaClassifications = (countryId, classId): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/countries/${countryId}/equipmentclasses/${classId}/nfpaclassifications`);\r\n if (res.status === \"done\") {\r\n let nfpa = res?.data?.nfpaClassificationLookUpDetails;\r\n nfpa.splice(0, 0, { uniqueNFPAClassificationId: \"0\", nfpaClassificationName: \"--Select--\" });\r\n dispatch(setNfpaClassifications(nfpa));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onGetDataEntrySettings = (countryId, classId, nfpaId): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/countries/${countryId}/equipmentclasses/${classId}/nfpaclassifications/${nfpaId}/datafields`);\r\n if (res.status === \"done\") {\r\n dispatch(setDataEntrySettings(res?.data?.dataFields));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onDataEntrySettingsUpdate = (countryId, classId, nfpaId, body): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/countries/${countryId}/equipmentclasses/${classId}/nfpaclassifications/${nfpaId}/datafields`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setUpdatedDataEntrySettings(body));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onGetDisplaySettings = (countryId, classId): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/countries/${countryId}/equipmentclasses/${classId}/displaysettings`);\r\n if (res.status === \"done\") {\r\n dispatch(setDisplaySettings(res?.data?.displaySettingDetails));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onGetDatafieldOrderList = (countryId, classId): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/countries/${countryId}/equipmentclasses/${classId}/displaysettings/datafieldorder`);\r\n if (res.status === \"done\") {\r\n dispatch(setDatafieldOrderList(res?.data?.dataFieldOrderDetails));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onDatafieldOrderUpdated = (countryId, classId, body): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/countries/${countryId}/equipmentclasses/${classId}/displaysettings/datafieldorder`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setUpdatedDatafieldOrder(body.dataFields));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onDisplaySettingsUpdated = (countryId, classId, body): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/countries/${countryId}/equipmentclasses/${classId}/displaysettings`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setUpdatedDisplaySettings(body.dataFields));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const {\r\n setErrors,\r\n setNfpaClassifications,\r\n setDataEntrySettings,\r\n setUpdatedDataEntrySettings,\r\n setDisplaySettings,\r\n setDatafieldOrderList,\r\n setUpdatedDatafieldOrder,\r\n setUpdatedDisplaySettings,\r\n} = CustomizationSlice.actions;\r\n\r\nexport default CustomizationSlice.reducer;","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\";\r\nimport moment from \"moment\";\r\nimport { setSalesOfficeLookup } from \"redux/pages/Inspection/Contracts/contractSlice\";\r\nimport { AppThunk } from \"redux/store\";\r\nimport { baseURL, zlink } from \"service/HttpService\";\r\n\r\n\r\nexport interface ToolState {\r\n errors: any;\r\n isCopiedDone: boolean;\r\n sapImportStatusList: any;\r\n sapImportStatusDetails: any;\r\n sapImportPageDetails:any;\r\n userLists:any;\r\n copyMoveLogDetails: any;\r\n copyMoveLogPageDetails:any;\r\n customerSiteMap:any;\r\n}\r\n\r\nlet initialState: ToolState = {\r\n errors: \"\",\r\n isCopiedDone: false,\r\n sapImportStatusList: \"\",\r\n sapImportStatusDetails: \"\",\r\n sapImportPageDetails:\"\",\r\n userLists:\"\",\r\n copyMoveLogDetails:\"\", \r\n copyMoveLogPageDetails:\"\",\r\n customerSiteMap:\"\"\r\n}\r\n\r\nconst ToolSlice = createSlice({\r\n name: \"tool\",\r\n initialState,\r\n reducers: {\r\n setErrors: (state, { payload }: PayloadAction) => {\r\n state.errors = payload;\r\n },\r\n setIsCopiedDone: (state, { payload }: PayloadAction) => {\r\n state.isCopiedDone = payload;\r\n },\r\n setSapImportStatusList: (state, { payload }: PayloadAction) => {\r\n if(payload){\r\n payload.sapImportDetails.map((element: any) => {\r\n\t\t\t\telement.dateOfIntegration = moment(element.dateOfIntegration).format(\"yyyy-MM-DD\").toString()\r\n\t\t\t\treturn null;\r\n\t\t\t});\r\n }\r\n state.sapImportStatusList = payload;\r\n },\r\n setSapImportStatusDetails: (state, { payload }: PayloadAction) => {\r\n state.sapImportStatusDetails = payload;\r\n },\r\n setSapImportPageDetails: (state, { payload }: PayloadAction) => {\r\n state.sapImportPageDetails = payload;\r\n },\r\n setUsersList: (state, { payload }: PayloadAction) => {\r\n state.userLists = payload;\r\n },\r\n setCopyMoveLogDetails: (state, { payload }: PayloadAction) => {\r\n state.copyMoveLogDetails = payload;\r\n },\r\n setCopyMoveLogPageDetails: (state, { payload }: PayloadAction) => {\r\n state.copyMoveLogPageDetails = payload;\r\n },\r\n setcustomerSiteMap: (state, { payload }: PayloadAction) => {\r\n state.customerSiteMap = payload;\r\n },\r\n }\r\n})\r\n\r\n\r\nexport const onGetCustomers = (countryId, body, setData): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/country/${countryId}/customers`, body);\r\n if (res.status === \"done\") {\r\n setData(res.data.customerDetails);\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onGetSystems = (body, setData, setInfo, setMessage): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/common/search/system/searchtext/systemlist`, body);\r\n if (res.status === \"done\") {\r\n if (res?.data?.systemDetails?.length) {\r\n setData(res.data.systemDetails);\r\n } else {\r\n setInfo(true);\r\n setMessage('No Systems exist for the selected Customer');\r\n }\r\n\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onGetSites = (countryId, body, setData, isAllSites = false, setInfo, setMessage): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/country/${countryId}/sites `, body);\r\n if (res.status === \"done\") {\r\n if (res.data.siteDetails?.length) {\r\n let siteDetails = res.data.siteDetails\r\n if (isAllSites && siteDetails?.length > 1)\r\n siteDetails.splice(0, 0, { uniqueSiteId: 0, siteName: \"All Sites\" });\r\n setData(siteDetails);\r\n } else {\r\n setInfo(true);\r\n setMessage('No Sites exist for the selected Customer');\r\n }\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onGetContract = (body, setData, setInfo, setMessage): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/common/search/contract/searchtext/contractlist`, body);\r\n if (res.status === \"done\") {\r\n if (res.data.contractDetails?.length) {\r\n setData(res.data.contractDetails);\r\n } else {\r\n setInfo(true);\r\n setMessage('No Contracts exist for the selected Customer');\r\n }\r\n\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const checkSalesOfficeExist = (body, setData): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/movecustomer/checksalesofficeexists`, body);\r\n if (res.status === \"done\") {\r\n setData(res.data.isSalesOfficeExists);\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onCopyOrMoveSystemReports = (body, setStatusMessage?, setTargetPage?, setSystemList?, setIsCopied?, setMessage?, setShowInfo?): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/movecustomer`, body);\r\n if (res.status === \"done\") {\r\n if (res?.data?.isDone) {\r\n setIsCopied(true);\r\n setMessage(res?.data?.statusMessage);\r\n setShowInfo(true);\r\n } else {\r\n if (res?.data?.isSuccess) {\r\n setStatusMessage(res?.data?.statusMessage);\r\n setTargetPage(res?.data?.pageTarget);\r\n if (res?.data?.systems?.length && res?.data?.pageTarget === 3) {\r\n res?.data?.systems.forEach(element => {\r\n element.sourceSystemName = element?.uniqueSystemName;\r\n element.uniqueSystemName = \"\";\r\n });\r\n setSystemList(res?.data?.systems);\r\n }\r\n setIsCopied(false);\r\n } else {\r\n setMessage(res?.data?.statusMessage);\r\n setShowInfo(true);\r\n }\r\n }\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onGetContractSalesOffice = (sourceContractId, sourceSystemId): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/movecustomer/contracts/${sourceContractId}/systems/${sourceSystemId}/salesoffices`);\r\n if (res.status === \"done\") {\r\n dispatch(setSalesOfficeLookup(res?.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onGetSapImportStatusList = (body, currentStart, sortField?: any, sortOrder?: any): AppThunk => async (dispatch) => {\r\n try {\r\n let requestUrl = `${baseURL}api/v1/sapimport`;\r\n if (currentStart) {\r\n requestUrl += `?currentstart=${currentStart}`;\r\n }\r\n if (sortField && sortOrder) {\r\n requestUrl += `&sortcolumn=${sortField}&sortorder=${sortOrder}`;\r\n }\r\n const res = await zlink.post(`${requestUrl}`, body);\r\n if (res && res.status) {\r\n if (res.status === \"done\") { \r\n if (res.data) {\r\n dispatch(setSapImportStatusList(res.data));\r\n dispatch(setSapImportPageDetails(res.data.pageDetails));\r\n }\r\n } \r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onGetSapImportStatusDetails = (importId): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/sapimport/${importId}/statusdetails `);\r\n if (res.status === \"done\") {\r\n dispatch(setSapImportStatusDetails(res?.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onSapImportDataDownload = (importId, fileName, setDisplayInfoModal?: any, setMessage?: any): AppThunk => async (dispatch) => {\r\n try {\r\n const request: any = {\r\n method: \"POST\",\r\n cache: \"no-store\",\r\n headers: {\r\n \"Content-Type\": \"application/json; charset=utf-8\",\r\n Authorization: sessionStorage.getItem(\"accesstoken\"),\r\n }\r\n };\r\n const downloadUrl = (window as any).envSettings.baseAPIUrl + `api/v1/sapimport/${importId}/statusdetails/download`;\r\n await fetch(downloadUrl, request).then((response: any) => {\r\n if (response && response.status) {\r\n if (response.status === 200) {\r\n response.blob().then((blob: any) => {\r\n let url = window.URL.createObjectURL(blob);\r\n let a = document.createElement(\"a\");\r\n a.href = url;\r\n a.download = fileName;\r\n a.click();\r\n });\r\n } else {\r\n setMessage(\"File not found\");\r\n setDisplayInfoModal(true);\r\n }\r\n }\r\n });\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n \r\n};\r\nexport const onGetCopyMoveLogDetails = (body,currentStart,sortField: any = \"\", sortOrder: any = \"\"): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/movecustomer/copymovelogs?currentstart=${currentStart}&sortcolumn=${sortField}&sortorder=${sortOrder}`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setCopyMoveLogDetails(res?.data));\r\n dispatch(setCopyMoveLogPageDetails(res?.data?.pageDetails))\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\nexport const onGetUserLists= (body): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/movecustomer/copymovelog/userlist`,body);\r\n if (res.status === \"done\") {\r\n dispatch(setUsersList(res?.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n \r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\nexport const addCustomerSitemap = (body: any): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/movecustomer/CustomerSiteMapping`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setcustomerSiteMap(res?.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\nexport const {\r\n setErrors,\r\n setIsCopiedDone,\r\n setSapImportStatusList,\r\n setSapImportStatusDetails,\r\n setSapImportPageDetails,\r\n setUsersList,\r\n setCopyMoveLogDetails,\r\n setCopyMoveLogPageDetails,\r\n setcustomerSiteMap\r\n} = ToolSlice.actions;\r\n\r\nexport default ToolSlice.reducer;","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\"\r\nimport { AppThunk } from \"redux/store\";\r\nimport { baseURL, zlink } from \"service/HttpService\";\r\n\r\nexport interface BuildingState {\r\n errors: any;\r\n buildingList: any;\r\n buildingPageDetails: any;\r\n newBuilding: any;\r\n buildngDetails: any;\r\n updatedBuildingData: any;\r\n buildingInUse: any;\r\n deletedBuilding: any;\r\n attachmentList: any;\r\n\tattachmentPageDetails:any;\r\n\tbuildingAttachmentCountList:any;\r\n}\r\n\r\nlet initialState: BuildingState = {\r\n errors: \"\",\r\n buildingList: \"\",\r\n buildingPageDetails: \"\",\r\n newBuilding: \"\",\r\n buildngDetails: \"\",\r\n updatedBuildingData: \"\",\r\n buildingInUse: \"\",\r\n deletedBuilding: \"\",\r\n attachmentList: [],\r\n\tattachmentPageDetails: [],\r\n\tbuildingAttachmentCountList:[]\r\n}\r\n\r\nconst BuildingSLice = createSlice({\r\n name: \"building\",\r\n initialState,\r\n reducers: {\r\n setErrors: (state, { payload }: PayloadAction) => {\r\n state.errors = payload;\r\n },\r\n setBuildingList: (state, { payload }: PayloadAction) => {\r\n\t\t\tstate.buildingList = payload;\r\n\t\t},\r\n setBuildinPageDetails: (state, { payload }: PayloadAction) => {\r\n\t\t\tstate.buildingPageDetails = payload;\r\n\t\t},\r\n setNewBuilding: (state, { payload }: PayloadAction) => {\r\n\t\t\tstate.newBuilding = payload;\r\n\t\t},\r\n setBuildngDetails: (state, { payload }: PayloadAction) => {\r\n\t\t\tstate.buildngDetails = payload;\r\n\t\t},\r\n setUpdatedBuildingData: (state, { payload }: PayloadAction) => {\r\n\t\t\tstate.updatedBuildingData = payload;\r\n\t\t},\r\n setBuildingInUse: (state, { payload }: PayloadAction) => {\r\n\t\t\tstate.buildingInUse = payload;\r\n\t\t},\r\n setDeletedBuilding: (state, { payload }: PayloadAction) => {\r\n\t\t\tstate.buildingList = state.buildingList.filter((item: any) => item.uniqueBuildingId !== payload);\r\n\t\t},\r\n setAttachmentList: (state, {payload}: PayloadAction) => {\r\n\t\t\tstate.attachmentList = payload;\r\n\t\t},\r\n\t\tsetAttachmentPageDetails: (state, {payload}: PayloadAction) => {\r\n\t\t\tstate.attachmentPageDetails = payload;\r\n\t\t},\r\n\t\tsetNewAttachmentData: (state, { payload }: PayloadAction) => {\r\n\t\t\tstate.attachmentList.unshift(...payload);\r\n\t\t},\r\n\t\tsetUpdatedAttachement: (state, { payload }: PayloadAction) => {\r\n\t\t\tlet currentIndex = state.attachmentList.findIndex((item: any) => item.attachmentId === payload?.attachmentId);\r\n\t\t\tstate.attachmentList = state.attachmentList.filter((item: any) => item.attachmentId !== payload?.attachmentId);\r\n\t\t\tstate.attachmentList.splice(currentIndex, 0, payload);\r\n\t\t},\r\n\t\tsetDeletedAttachmentList(state, { payload }: PayloadAction) {\r\n\t\t\tstate.attachmentList = state.attachmentList.filter((item: any) => item.attachmentId !== payload);\r\n\t\t},\r\n\t\tsetBuildingAttachmentCountList(state, { payload }: PayloadAction) {\r\n\t\t\tlet currentIndex = state.buildingList.findIndex((item: any) => item.uniqueBuildingId === payload?.uniqueBuildingId);\r\n\t\t\tstate.buildingList = state.buildingList.filter((item: any) => item.uniqueBuildingId !== payload?.uniqueBuildingId);\r\n\t\t\tstate.buildingList.splice(currentIndex, 0, payload);\r\n\t\t},\r\n\t\tsetNewAttachmentList(state, { payload }: PayloadAction) {\r\n\t\t\tpayload.map((element: any) => {\r\n\t\t\t\tlet currentIndex = state.buildingList.findIndex((item: any) => item.uniqueBuildingId === element?.uniqueBuildingId);\r\n\t\t\t\tstate.buildingList = state.buildingList.filter((item: any) => item.uniqueBuildingId !== element?.uniqueBuildingId);\r\n\t\t\t\tstate.buildingList.splice(currentIndex, 0, element);\r\n\t\t\t\t});\r\n\t\t},\r\n }\r\n});\r\n\r\nexport const getSiteBuildingList = (uniqueSiteId, currentStart, keyword: any = \"\", sortField: any = \"\", sortOrder: any = \"\"): AppThunk => async (dispatch) => {\r\n try {\r\n\t\tlet requestUrl = `${baseURL}api/v1/sites/${uniqueSiteId}/buildings`;\r\n\t\tif (keyword) {\r\n\t\t\trequestUrl += `?keyword=${keyword}`;\r\n\t\t}\r\n\t\tif (currentStart) {\r\n\t\t\trequestUrl += keyword ? `¤tstart=${currentStart}` : `?currentstart=${currentStart}`;\r\n\t\t}\r\n\t\tif (sortField && sortOrder) {\r\n\t\t\trequestUrl += `&sortcolumn=${sortField}&sortorder=${sortOrder}`\r\n\t\t}\r\n const res = await zlink.get(`${requestUrl}`);\r\n if (res.status === \"done\") {\r\n dispatch(setBuildingList(res?.data?.buildingDetails));\r\n dispatch(setBuildinPageDetails(res?.data?.pageDetails));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onAddBuilding =\r\n\t(body: any, setMessage, setDisplayInfoModal): AppThunk =>\r\n\t\tasync (dispatch) => {\r\n\t\t\ttry {\r\n\t\t\t\tconst res = await zlink.post(`${baseURL}api/v1/sites/${body?.uniqueSiteId}/buildings/add`, body);\r\n\t\t\t\tif (res.status === \"done\") {\r\n\t\t\t\t\tdispatch(setNewBuilding(res.data));\r\n\t\t\t\t\tsetMessage(\"Building added\");\r\n\t\t\t\t\tsetDisplayInfoModal(true);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tdispatch(setErrors(res.error));\r\n\t\t\t\t\tsetMessage(res.message);\r\n\t\t\t\t\tsetDisplayInfoModal(true);\r\n\t\t\t\t}\r\n\t\t\t} catch (error) {\r\n\t\t\t\tdispatch(setErrors(error));\r\n\t\t\t}\r\n\t\t};\r\n\r\nexport const getBuildingDetails = (uniqueSiteId, uniquebuildingId): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/sites/${uniqueSiteId}/buildings/${uniquebuildingId}`);\r\n if (res.status === \"done\") {\r\n dispatch(setBuildngDetails(res?.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onUpdateBuilding =\r\n\t(body: any, uniquebuildingId:any, setMessage, setDisplayInfoModal): AppThunk =>\r\n\t\tasync (dispatch) => {\r\n\t\t\ttry {\r\n\t\t\t\tconst res = await zlink.post(`${baseURL}api/v1/sites/${body?.uniqueSiteId}/buildings/${uniquebuildingId}`, body);\r\n\t\t\t\tif (res.status === \"done\") {\r\n\t\t\t\t\tdispatch(setUpdatedBuildingData(res.data));\r\n\t\t\t\t\tsetMessage(\"Building updated\");\r\n\t\t\t\t\tsetDisplayInfoModal(true);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tdispatch(setErrors(res.error));\r\n\t\t\t\t\tsetMessage(res.message);\r\n\t\t\t\t\tsetDisplayInfoModal(true);\r\n\t\t\t\t}\r\n\t\t\t} catch (error) {\r\n\t\t\t\tdispatch(setErrors(error));\r\n\t\t\t}\r\n\t\t};\r\n\r\nexport const checkBuildigInUse = (uniqueSiteId, uniqueBuildingId): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/sites/${uniqueSiteId}/buildings/${uniqueBuildingId}/checkbuildinginuse`);\r\n if (res.status === \"done\") {\r\n dispatch(setBuildingInUse(res?.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const deleteBuilding = ( uniqueSiteId, uniqueBuildingId, setSelectedRows ,setMessage, setDisplayInfoModal ): AppThunk => async (dispatch) => {\r\n\ttry {\r\n\t\tconst res = await zlink.post(`${baseURL}api/v1/sites/${uniqueSiteId}/buildings/${uniqueBuildingId}/remove`, null);\r\n\t\tif (res.status === \"done\") {\r\n\t\t\tdispatch(setDeletedBuilding(uniqueBuildingId));\r\n\t\t\tsetMessage(\"Building deleted\");\r\n\t\t\tsetDisplayInfoModal(true);\r\n setSelectedRows([]);\r\n\t\t} else {\r\n\t\t\tsetMessage(res.message);\r\n\t\t\tsetDisplayInfoModal(true);\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tdispatch(setErrors(error));\r\n\t}\r\n};\r\n\r\nexport const getAttachmentList = (uniquesiteid, uniquebuildingid, sortField: any = \"\", sortOrder: any = \"\"): AppThunk => async (dispatch) => {\r\n\ttry {\r\n\t\tconst res = await zlink.get(`${baseURL}api/v1/sites/${uniquesiteid}/buildings/${uniquebuildingid}/attachments?sortcolumn=${sortField}&sortorder=${sortOrder}`);\r\n\t\tif (res.status === \"done\") {\r\n\t\t\tdispatch(setAttachmentList(res?.data?.attachmentList));\r\n\t\t\tdispatch(setAttachmentPageDetails(res?.data?.pageDetails));\r\n\t\t} else {\r\n\t\t\tdispatch(setErrors(res.error));\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tdispatch(setErrors(error));\r\n\t}\r\n};\r\n\r\n\r\nexport const onUploadBuildingAttachment =\r\n (uniquebuildingid,selectedRows,body,setShowAddModal,setMessage,setDisplayInfoModal, setEnableUpload?: any): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/building/${uniquebuildingid}/attachments/add`, body);\r\n \r\n if (res.status === \"done\") {\r\n\t\t\t if (res.data && res.data.attachmentList && res.data.attachmentList.length) {\r\n\t\t\t\t var count = Number(selectedRows.attachmentCount) + res.data.attachmentList.length;\r\n\t\t\t\t dispatch(setBuildingAttachmentCountList({ ...selectedRows, 'attachmentCount': count }));\r\n\t\t\t\t dispatch(setNewAttachmentData(res.data?.attachmentList));\r\n\t\t\t\t setShowAddModal(false);\r\n\t\t\t\t setMessage(\"Attachment uploaded\");\r\n\t\t\t\t setDisplayInfoModal(true);\r\n\t\t\t }\r\n } else {\r\n\t\t\tsetEnableUpload(false);\r\n\t\t\tsetDisplayInfoModal(true);\r\n setMessage(res.message);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onUploadMultipleBuildingAttachment = (selectedRows,body,setShowAddModal,setMessage,setDisplayInfoModal, setEnableUpload?: any,setSelectedRows?:any): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/building/attachments/${selectedRows?.[0]?.uniqueSiteId}/add`, body);\r\n if (res.status === \"done\") {\r\n\t\t\tif (res.data && res.data.buildingDetails && res.data.buildingDetails.length) {\t\t\t\t\r\n\t\t\t\tdispatch(setNewAttachmentList(res.data?.buildingDetails));\r\n\t\t\t\t setShowAddModal(false);\r\n\t\t\t\t setSelectedRows(selectedRows);\r\n\t\t\t\t setMessage(\"Attachment uploaded\");\r\n\t\t\t\t setDisplayInfoModal(true);\r\n\t\t\t }\r\n } else {\r\n\t\t\tsetEnableUpload(false);\r\n\t\t\tsetDisplayInfoModal(true);\r\n setMessage(res.message);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\n\r\nexport const onEditAttachment =\r\n (uniquebuildingid,attachmentId: any = \"\",body:any,setShowEditModal,setMessage: any = \"\",setDisplayInfoModal, setEnableUpload?: any): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/building/${uniquebuildingid}/attachments/${attachmentId}`, body);\r\n \r\n if (res.status === \"done\") {\r\n dispatch(setUpdatedAttachement(res?.data));\r\n setShowEditModal(false);\r\n setMessage(\"Attachment uploaded\");\r\n\t\t\tsetDisplayInfoModal(true);\r\n } else {\r\n\t\t\tsetEnableUpload(false);\r\n setMessage(res.message);\r\n\t\t\tsetDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onDeleteAttachment = (uniquebuildingid, attachmentId,fullPath,setMessage,setDisplayConfirmModal,setSelectedRows,setDisplayInfoModal,selectedRows): AppThunk => async (dispatch) => {\r\n\ttry {\r\n\t\tconst res = await zlink.post(`${baseURL}api/v1/building/${uniquebuildingid}/attachments/${attachmentId}/remove`,{filePath:fullPath});\r\n\t\tif (res.status === \"done\") {\t\t\t\r\n\t\t\tvar count = Number(selectedRows.attachmentCount) - 1;\r\n\t\t\tdispatch(setBuildingAttachmentCountList({...selectedRows,'attachmentCount':count}));\r\n\t\t\tdispatch(setDeletedAttachmentList(attachmentId));\r\n\t\t\tsetSelectedRows([]);\r\n\t\t\tsetMessage(\"Attachment deleted\")\r\n\t\t\tsetDisplayInfoModal(true)\r\n\t\t\tsetDisplayConfirmModal(false)\r\n\t\t} else {\r\n\t\t\tdispatch(setErrors(res.error));\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tdispatch(setErrors(error));\r\n\t}\r\n};\r\n\r\nexport const getAttachmentPath = (uniqueSiteId, uniqueBuildingId, attachmentId,setMessage,setDisplayConfirmModal,setSelectedRows,setDisplayInfoModal,selectedRows): AppThunk => async (dispatch) => {\r\n\ttry {\r\n\t\tconst res = await zlink.get(`${baseURL}api/v1/sites/${uniqueSiteId}/buildings/${uniqueBuildingId}/attachments/${attachmentId}/file`);\r\n\t\tif (res.status === \"done\") {\r\n\t\t dispatch(onDeleteAttachment(uniqueBuildingId, attachmentId,res.data?.fullPath,setMessage,setDisplayConfirmModal,setSelectedRows,setDisplayInfoModal,selectedRows))\r\n\t\t} else {\r\n\t\t\tdispatch(setErrors(res.error));\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tdispatch(setErrors(error));\r\n\t}\r\n};\r\n\r\nexport const onDownloadAttachmentFile = (attachmentId, FullPath: any, setDisplayInfoModal, setMessage, renderFlag: boolean, setStreamData?: any, fileName?: any): AppThunk => async (dispatch) => {\r\n\ttry {\r\n\t\tconst request: any = {\r\n\t\t\tmethod: \"POST\",\r\n\t\t\tcache: \"no-store\",\r\n\t\t\theaders: {\r\n\t\t\t\t\"Content-Type\": \"application/json; charset=utf-8\",\r\n\t\t\t\tAuthorization: sessionStorage.getItem(\"accesstoken\"),\r\n\t\t\t},\r\n\t\t\tbody: JSON.stringify({ FullPath: FullPath })\r\n\t\t};\r\n\t\tconst downloadUrl = `${baseURL}api/v1/common/files/${attachmentId}/download`\r\n\t\tawait fetch(downloadUrl, request).then((response: any) => {\r\n\r\n\t\t\tif (response.status === 200) {\r\n\t\t\t\tconst res = new Response(\r\n\t\t\t\t\tnew ReadableStream({\r\n\t\t\t\t\t\tasync start(controller) {\r\n\t\t\t\t\t\t\tconst reader = response.body.getReader();\r\n\t\t\t\t\t\t\tfor (; ;) {\r\n\t\t\t\t\t\t\t\tconst { done, value } = await reader.read();\r\n\t\t\t\t\t\t\t\tif (done) break;\r\n\t\t\t\t\t\t\t\tcontroller.enqueue(value);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tcontroller.close();\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t})\r\n\t\t\t\t);\r\n\t\t\t\tif (!renderFlag) {\r\n\t\t\t\t\tres.blob().then((blob) => {\r\n\t\t\t\t\t\tlet url = window.URL.createObjectURL(blob);\r\n\t\t\t\t\t\tlet a = document.createElement(\"a\");\r\n\t\t\t\t\t\ta.href = url;\r\n\t\t\t\t\t\ta.download = fileName;\r\n\t\t\t\t\t\ta.click();\r\n\t\t\t\t\t});\r\n\t\t\t\t} else {\r\n\t\t\t\t\tres.blob().then((blob) => {\r\n\t\t\t\t\t\tvar result: any\r\n\t\t\t\t\t\tvar reader = new FileReader();\r\n\t\t\t\t\t\treader.onload = function (e) {\r\n\t\t\t\t\t\t\tresult = e?.target?.result;\r\n\t\t\t\t\t\t\tsetStreamData(result)\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\treader.readAsDataURL(blob);\r\n\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\tsetDisplayInfoModal(true)\r\n\t\t\t\tsetMessage(\"File not found\")\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t} catch (error) {\r\n\t\tdispatch(setErrors(error));\r\n\t}\r\n};\r\n\r\nexport const onDownloadAttachment = (uniqueSiteId, uniqueBuildingId, attachmentId:any,setDisplayInfoModal,setMessage, viewFlag: boolean, setStreamData?:any,fileName?:any, setShowViewModal?: any): AppThunk => async (dispatch) => {\r\n\ttry {\r\n\t\tconst res = await zlink.get(`${baseURL}api/v1/sites/${uniqueSiteId}/buildings/${uniqueBuildingId}/attachments/${attachmentId}/file`);\r\n\t\tif (res.status === \"done\") {\r\n\t\t\tif (viewFlag) {\r\n\t\t\t\tif (fileName) {\r\n\t\t\t\t\tif (fileName.split('.').pop() === \"png\" || fileName.split('.').pop() === \"jpg\" || fileName.split('.').pop() === \"jpeg\") {\r\n\t\t\t\t\t\tsetShowViewModal(true);\r\n\t\t\t\t\t\tdispatch(onDownloadAttachmentFile(attachmentId, res.data?.fullPath, setDisplayInfoModal, setMessage, true, setStreamData, fileName));\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tdispatch(onDownloadAttachmentFile(attachmentId, res.data?.fullPath, setDisplayInfoModal, setMessage, false, setStreamData, fileName));\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tdispatch(onDownloadAttachmentFile(attachmentId, res.data?.fullPath, setDisplayInfoModal, setMessage, false, setStreamData, fileName));\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tdispatch(setErrors(res.error));\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tdispatch(setErrors(error));\r\n\t}\r\n};\r\n\r\nexport const {\r\n setErrors,\r\n setBuildingList,\r\n setBuildinPageDetails,\r\n setNewBuilding,\r\n setBuildngDetails,\r\n setUpdatedBuildingData,\r\n setBuildingInUse,\r\n setDeletedBuilding,\r\n setAttachmentList,\r\n\tsetAttachmentPageDetails,\r\n\tsetNewAttachmentData,\r\n\tsetUpdatedAttachement,\r\n\tsetDeletedAttachmentList,\r\n\tsetBuildingAttachmentCountList,\r\n\tsetNewAttachmentList,\r\n} = BuildingSLice.actions;\r\n\r\nexport default BuildingSLice.reducer;","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\"\r\nimport { AppThunk } from \"redux/store\";\r\nimport { baseURL, zlink } from \"service/HttpService\";\r\n\r\nexport interface FloorState {\r\n errors: any;\r\n floorList: any;\r\n floorPageDetails: any;\r\n newFloorData: any;\r\n buildingList: any;\r\n floorDetails: any;\r\n updatedFloor: any;\r\n attachmentList: any;\r\n\tattachmentPageDetails:any;\r\n\tfloorAttachmentCountList:any;\r\n}\r\n\r\nlet initialState: FloorState = {\r\n errors: \"\",\r\n floorList: \"\",\r\n floorPageDetails: \"\",\r\n newFloorData: \"\",\r\n buildingList: \"\",\r\n floorDetails: \"\",\r\n updatedFloor: \"\",\r\n attachmentList: [],\r\n\tattachmentPageDetails: [],\r\n\tfloorAttachmentCountList:[],\r\n\r\n}\r\n\r\nconst FloorSlice = createSlice({\r\n name: \"floor\",\r\n initialState,\r\n reducers: {\r\n setErrors: (state, { payload }: PayloadAction) => {\r\n state.errors = payload;\r\n },\r\n setFloorList: (state, { payload }: PayloadAction) => {\r\n\t\t\tstate.floorList = payload;\r\n\t\t},\r\n setFloorPageDetails: (state, { payload }: PayloadAction) => {\r\n\t\t\tstate.floorPageDetails = payload;\r\n\t\t},\r\n setNewFloorData: (state, { payload }: PayloadAction) => {\r\n\t\t\tstate.newFloorData = payload;\r\n\t\t},\r\n setBuildingList: (state, {payload}: PayloadAction) => {\r\n state.buildingList = payload;\r\n },\r\n setFloorDetails: (state, {payload}: PayloadAction) => {\r\n state.floorDetails = payload;\r\n },\r\n setUpdatedFloor: (state, {payload}: PayloadAction) => {\r\n state.updatedFloor = payload;\r\n },\r\n setDeletedFloor: (state, { payload }: PayloadAction) => {\r\n\t\t\tstate.floorList = state.floorList.filter((item: any) => item.uniqueFloorId !== payload);\r\n\t\t},\r\n setAttachmentList: (state, {payload}: PayloadAction) => {\r\n\t\t\tstate.attachmentList = payload;\r\n\t\t},\r\n\t\tsetAttachmentPageDetails: (state, {payload}: PayloadAction) => {\r\n\t\t\tstate.attachmentPageDetails = payload;\r\n\t\t},\r\n\t\tsetNewAttachmentData: (state, { payload }: PayloadAction) => {\r\n\t\t\tstate.attachmentList.unshift(...payload);\r\n\t\t},\r\n\t\tsetUpdatedAttachement: (state, { payload }: PayloadAction) => {\r\n\t\t\tlet currentIndex = state.attachmentList.findIndex((item: any) => item.attachmentId === payload?.attachmentId);\r\n\t\t\tstate.attachmentList = state.attachmentList.filter((item: any) => item.attachmentId !== payload?.attachmentId);\r\n\t\t\tstate.attachmentList.splice(currentIndex, 0, payload);\r\n\t\t},\r\n\t\tsetDeletedAttachmentList(state, { payload }: PayloadAction) {\r\n\t\t\tstate.attachmentList = state.attachmentList.filter((item: any) => item.attachmentId !== payload);\r\n\t\t},\r\n\t\tsetFloorAttachmentCountList(state, { payload }: PayloadAction) {\r\n\t\t\tlet currentIndex = state.floorList.findIndex((item: any) => item.uniqueFloorId === payload?.uniqueFloorId);\r\n\t\t\tstate.floorList = state.floorList.filter((item: any) => item.uniqueFloorId !== payload?.uniqueFloorId);\r\n\t\t\tstate.floorList.splice(currentIndex, 0, payload);\r\n\t\t},\r\n\t\tsetNewAttachmentList(state, { payload }: PayloadAction) {\r\n\t\t\tpayload.map((element: any) => {\t\r\n\t\t\tlet currentIndex = state.floorList.findIndex((item: any) => item.uniqueFloorId === element?.uniqueFloorId);\r\n\t\t\tstate.floorList = state.floorList.filter((item: any) => item.uniqueFloorId !== element.uniqueFloorId);\r\n\t\t\tstate.floorList.splice(currentIndex, 0, element);\r\n\t\t\t});\r\n\t\t}\r\n\t\t\t \r\n\t\t},\r\n }\r\n);\r\n\r\nexport const getFloorList = (uniqueSiteId,uniqueBuildingId: any=\"\", currentStart, keyword: any = \"\", sortField: any = \"\", sortOrder: any = \"\"): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/sites/${uniqueSiteId}/buildings/${uniqueBuildingId}/floors?keyword=${keyword}¤tstart=${currentStart}&sortcolumn=${sortField}&sortorder=${sortOrder}`);\r\n if (res.status === \"done\") {\r\n dispatch(setFloorList(res?.data?.floorDetails));\r\n dispatch(setFloorPageDetails(res?.data?.pageDetails));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const getBuildingListLookup = (uniqueSiteId, body: any): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/floor/sites/${uniqueSiteId}/buildings`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setBuildingList(res?.data?.buildingDetails));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onAddFloor =\r\n\t(body: any, uniqueSiteId, setMessage, setDisplayInfoModal): AppThunk =>\r\n\t\tasync (dispatch) => {\r\n\t\t\ttry {\r\n\t\t\t\tconst res = await zlink.post(`${baseURL}api/v1/sites/${uniqueSiteId}/buildings/${body?.uniqueBuildingId}/floors/add`, body);\r\n\t\t\t\tif (res.status === \"done\") {\r\n\t\t\t\t\tdispatch(setNewFloorData(res.data));\r\n\t\t\t\t\tsetMessage(\"Floor added\");\r\n\t\t\t\t\tsetDisplayInfoModal(true);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tdispatch(setErrors(res.error));\r\n\t\t\t\t\tsetMessage(res.message);\r\n\t\t\t\t\tsetDisplayInfoModal(true);\r\n\t\t\t\t}\r\n\t\t\t} catch (error) {\r\n\t\t\t\tdispatch(setErrors(error));\r\n\t\t\t}\r\n\t\t};\r\n\r\nexport const getFloorDetails = (uniqueSiteId, uniqueBuildingId, uniqueFloorId): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/sites/${uniqueSiteId}/buildings/${uniqueBuildingId}/floors/${uniqueFloorId}`);\r\n if (res.status === \"done\") {\r\n dispatch(setFloorDetails(res?.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onUpdateFloor =\r\n (body: any, uniqueFloorId: any,uniqueSiteId: any, setMessage, setDisplayInfoModal): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/sites/${uniqueSiteId}/buildings/${body?.uniqueBuildingId}/floors/${uniqueFloorId}`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setUpdatedFloor(res.data));\r\n setMessage(\"Floor updated\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n dispatch(setErrors(res.error));\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const deleteFloor = (uniqueSiteId, uniqueBuildingId, uniqueFloorId, setSelectedRows, setMessage, setDisplayInfoModal): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/sites/${uniqueSiteId}/buildings/${uniqueBuildingId}/floors/${uniqueFloorId}/remove`, null);\r\n if (res.status === \"done\") {\r\n dispatch(setDeletedFloor(uniqueFloorId));\r\n setMessage(\"Floor deleted\");\r\n setDisplayInfoModal(true);\r\n setSelectedRows([]);\r\n } else {\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const getAttachmentList = (uniqueFloorId, sortField: any = \"\", sortOrder: any = \"\"): AppThunk => async (dispatch) => {\r\n\ttry {\r\n\t\tconst res = await zlink.get(`${baseURL}api/v1/floor/${uniqueFloorId}/attachments?sortcolumn=${sortField}&sortorder=${sortOrder}`);\r\n\t\tif (res.status === \"done\") {\r\n\t\t\tdispatch(setAttachmentList(res?.data?.attachmentList));\r\n\t\t\tdispatch(setAttachmentPageDetails(res?.data?.pageDetails));\r\n\t\t} else {\r\n\t\t\tdispatch(setErrors(res.error));\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tdispatch(setErrors(error));\r\n\t}\r\n};\r\n\r\n\r\nexport const onUploadFloorAttachment =\r\n (uniqueFloorId,selectedRows,body,setShowAddModal,setMessage,setDisplayInfoModal, setEnableUpload?: any): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/floor/${uniqueFloorId}/attachments/add`, body);\r\n \r\n if (res.status === \"done\") {\r\n\t\t\t if (res.data && res.data.attachmentList && res.data.attachmentList.length) {\r\n\t\t\t\t var count = Number(selectedRows.attachmentCount) + res.data.attachmentList.length;\r\n\t\t\t\t dispatch(setFloorAttachmentCountList({ ...selectedRows, 'attachmentCount': count }));\r\n\t\t\t\t dispatch(setNewAttachmentData(res.data?.attachmentList));\r\n\t\t\t\t setShowAddModal(false);\r\n\t\t\t\t setMessage(\"Attachment uploaded\");\r\n\t\t\t\t setDisplayInfoModal(true);\r\n\t\t\t }\r\n } else {\r\n\t\t\tsetEnableUpload(false);\r\n\t\t\tsetDisplayInfoModal(true);\r\n setMessage(res.message);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onUploadMultipleFloorAttachment =(selectedRows,body,setShowAddModal,setMessage,setDisplayInfoModal, setEnableUpload?: any, setSelectedRows?:any): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/floor/attachments/${selectedRows?.[0]?.uniqueBuildingId}/add`, body);\r\n if (res.status === \"done\") {\r\n\t\t\t if (res.data && res.data.floorDetails && res.data.floorDetails.length) {\r\n\t\t dispatch(setNewAttachmentList(res.data?.floorDetails))\r\n\t\t\t\t setShowAddModal(false);\r\n\t\t\t\t setSelectedRows(selectedRows);\r\n\t\t\t\t setMessage(\"Attachment uploaded\");\r\n\t\t\t\t setDisplayInfoModal(true);\r\n\t\t\t }\r\n } else {\r\n\t\t\tsetEnableUpload(false);\r\n\t\t\tsetDisplayInfoModal(true);\r\n setMessage(res.message);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onEditAttachment =\r\n (uniqueFloorId,attachmentId: any = \"\",body:any,setShowEditModal,setMessage: any = \"\",setDisplayInfoModal, setEnableUpload?: any): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/floor/${uniqueFloorId}/attachments/${attachmentId}`, body);\r\n \r\n if (res.status === \"done\") {\r\n dispatch(setUpdatedAttachement(res?.data));\r\n setShowEditModal(false);\r\n setMessage(\"Attachment uploaded\");\r\n\t\t\tsetDisplayInfoModal(true);\r\n } else {\r\n\t\t\tsetEnableUpload(false);\r\n setMessage(res.message);\r\n\t\t\tsetDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onDeleteAttachment = (uniqueFloorId, attachmentId,fullPath,setMessage,setDisplayConfirmModal,setSelectedRows,setDisplayInfoModal,selectedRows): AppThunk => async (dispatch) => {\r\n\ttry {\r\n\t\tconst res = await zlink.post(`${baseURL}api/v1/floor/${uniqueFloorId}/attachments/${attachmentId}/remove`,{filePath:fullPath});\r\n\t\tif (res.status === \"done\") {\r\n\t\t\tvar count = Number(selectedRows.attachmentCount) - 1;\r\n\t\t\tdispatch(setFloorAttachmentCountList({...selectedRows,'attachmentCount':count}));\r\n\t\t\tdispatch(setDeletedAttachmentList(attachmentId));\r\n\t\t\tsetSelectedRows([]);\r\n\t\t\tsetMessage(\"Attachment deleted\")\r\n\t\t\tsetDisplayInfoModal(true)\r\n\t\t\tsetDisplayConfirmModal(false)\r\n\t\t} else {\r\n\t\t\tdispatch(setErrors(res.error));\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tdispatch(setErrors(error));\r\n\t}\r\n};\r\n\r\nexport const getAttachmentPath = (uniqueFloorId, attachmentId,setMessage,setDisplayConfirmModal,setSelectedRows,setDisplayInfoModal,selectedRows): AppThunk => async (dispatch) => {\r\n\ttry {\r\n\t\tconst res = await zlink.get(`${baseURL}api/v1/floor/${uniqueFloorId}/attachments/${attachmentId}/file`);\r\n\t\tif (res.status === \"done\") {\r\n\t\t dispatch(onDeleteAttachment(uniqueFloorId, attachmentId,res.data?.fullPath,setMessage,setDisplayConfirmModal,setSelectedRows,setDisplayInfoModal,selectedRows))\r\n\t\t} else {\r\n\t\t\tdispatch(setErrors(res.error));\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tdispatch(setErrors(error));\r\n\t}\r\n};\r\nexport const onDownloadAttachmentFile = (attachmentId, FullPath: any, setDisplayInfoModal, setMessage, renderFlag: boolean, setStreamData?: any, fileName?: any): AppThunk => async (dispatch) => {\r\n\ttry {\r\n\t\tconst request: any = {\r\n\t\t\tmethod: \"POST\",\r\n\t\t\tcache: \"no-store\",\r\n\t\t\theaders: {\r\n\t\t\t\t\"Content-Type\": \"application/json; charset=utf-8\",\r\n\t\t\t\tAuthorization: sessionStorage.getItem(\"accesstoken\"),\r\n\t\t\t},\r\n\t\t\tbody: JSON.stringify({ FullPath: FullPath })\r\n\t\t};\r\n\t\tconst downloadUrl = `${baseURL}api/v1/common/files/${attachmentId}/download`\r\n\t\tawait fetch(downloadUrl, request).then((response: any) => {\r\n\r\n\t\t\tif (response.status === 200) {\r\n\t\t\t\tconst res = new Response(\r\n\t\t\t\t\tnew ReadableStream({\r\n\t\t\t\t\t\tasync start(controller) {\r\n\t\t\t\t\t\t\tconst reader = response.body.getReader();\r\n\t\t\t\t\t\t\tfor (; ;) {\r\n\t\t\t\t\t\t\t\tconst { done, value } = await reader.read();\r\n\t\t\t\t\t\t\t\tif (done) break;\r\n\t\t\t\t\t\t\t\tcontroller.enqueue(value);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tcontroller.close();\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t})\r\n\t\t\t\t);\r\n\t\t\t\tif (!renderFlag) {\r\n\t\t\t\t\tres.blob().then((blob) => {\r\n\t\t\t\t\t\tlet url = window.URL.createObjectURL(blob);\r\n\t\t\t\t\t\tlet a = document.createElement(\"a\");\r\n\t\t\t\t\t\ta.href = url;\r\n\t\t\t\t\t\ta.download = fileName;\r\n\t\t\t\t\t\ta.click();\r\n\t\t\t\t\t});\r\n\t\t\t\t} else {\r\n\t\t\t\t\tres.blob().then((blob) => {\r\n\t\t\t\t\t\tvar result: any\r\n\t\t\t\t\t\tvar reader = new FileReader();\r\n\t\t\t\t\t\treader.onload = function (e) {\r\n\t\t\t\t\t\t\tresult = e?.target?.result;\r\n\t\t\t\t\t\t\tsetStreamData(result)\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\treader.readAsDataURL(blob);\r\n\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\tsetDisplayInfoModal(true)\r\n\t\t\t\tsetMessage(\"File not found\")\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t} catch (error) {\r\n\t\tdispatch(setErrors(error));\r\n\t}\r\n};\r\n\r\nexport const onDownloadAttachment = (uniqueFloorId, attachmentId:any,setDisplayInfoModal,setMessage, viewFlag: boolean, setStreamData?:any,fileName?:any, setShowViewModal?: any): AppThunk => async (dispatch) => {\r\n\ttry {\r\n\t\tconst res = await zlink.get(`${baseURL}api/v1/floor/${uniqueFloorId}/attachments/${attachmentId}/file`);\r\n\t\tif (res.status === \"done\") {\r\n\t\t\tif (viewFlag) {\r\n\t\t\t\tif (fileName) {\r\n\t\t\t\t\tif (fileName.split('.').pop() === \"png\" || fileName.split('.').pop() === \"jpg\" || fileName.split('.').pop() === \"jpeg\") {\r\n\t\t\t\t\t\tsetShowViewModal(true);\r\n\t\t\t\t\t\tdispatch(onDownloadAttachmentFile(attachmentId, res.data?.fullPath, setDisplayInfoModal, setMessage, true, setStreamData, fileName));\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tdispatch(onDownloadAttachmentFile(attachmentId, res.data?.fullPath, setDisplayInfoModal, setMessage, false, setStreamData, fileName));\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tdispatch(onDownloadAttachmentFile(attachmentId, res.data?.fullPath, setDisplayInfoModal, setMessage, false, setStreamData, fileName));\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tdispatch(setErrors(res.error));\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tdispatch(setErrors(error));\r\n\t}\r\n};\r\n\r\nexport const {\r\n setErrors,\r\n setFloorList,\r\n setFloorPageDetails,\r\n setNewFloorData,\r\n setBuildingList,\r\n setUpdatedFloor,\r\n setFloorDetails,\r\n setDeletedFloor,\r\n setAttachmentList,\r\n\tsetAttachmentPageDetails,\r\n\tsetNewAttachmentData,\r\n\tsetUpdatedAttachement,\r\n\tsetNewAttachmentList,\r\n\tsetDeletedAttachmentList,\r\n\tsetFloorAttachmentCountList,\r\n} = FloorSlice.actions;\r\n\r\nexport default FloorSlice.reducer;","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\"\r\nimport { onDownloadFile } from \"redux/common/commonSlice\";\r\nimport { AppThunk } from \"redux/store\";\r\nimport { baseURL, zlink } from \"service/HttpService\";\r\nimport { setProgressFlag } from \"redux/common/commonSlice\";\r\n\r\nexport interface AsBuiltsState {\r\n errors: any;\r\n drawingList: any;\r\n drawingPageDetails: any;\r\n buildingList: any;\r\n floorList: any;\r\n drawingTypes: any;\r\n drawingCategory: any;\r\n newDrawing: any;\r\n addMarkup: any;\r\n drawingDetails: any;\r\n updatedDrawing: any;\r\n previousDrawing: any;\r\n revisedDrawing: any;\r\n replacedDrawing: any;\r\n revisionList: any;\r\n revisionPageDetails: any;\r\n markupList: any;\r\n markupPageDetails: any;\r\n markupDetails: any;\r\n xmlData:any;\r\n markupData: any;\r\n markupPageData:any;\r\n updatedMarkup: any;\r\n deletedMarkupData: any;\r\n updatedRevision: any;\r\n}\r\n\r\nconst initialState: AsBuiltsState = {\r\n errors: \"\",\r\n drawingList: \"\",\r\n drawingPageDetails: \"\",\r\n buildingList: \"\",\r\n floorList: \"\",\r\n drawingTypes: \"\",\r\n drawingCategory: \"\",\r\n newDrawing: \"\",\r\n addMarkup:\"\",\r\n drawingDetails: \"\",\r\n updatedDrawing: \"\",\r\n previousDrawing:\"\",\r\n revisedDrawing: \"\",\r\n replacedDrawing: \"\",\r\n revisionList: \"\",\r\n revisionPageDetails: \"\",\r\n markupList: \"\",\r\n markupPageDetails: \"\",\r\n markupDetails: \"\",\r\n xmlData:\"\",\r\n markupPageData:\"\",\r\n markupData: \"\",\r\n updatedMarkup: \"\",\r\n deletedMarkupData: \"\",\r\n updatedRevision: \"\",\r\n};\r\n\r\nconst AsBuiltsSlice = createSlice({\r\n name: \"asbuilts\",\r\n initialState,\r\n reducers: {\r\n setErrors: (state, { payload }: PayloadAction) => {\r\n state.errors = payload;\r\n },\r\n setDrawingList: (state, { payload }: PayloadAction) => {\r\n state.drawingList = payload;\r\n },\r\n setDrawingPageDetails: (state, { payload }: PayloadAction) => {\r\n state.drawingPageDetails = payload;\r\n },\r\n setBuildingList: (state, { payload }: PayloadAction) => {\r\n state.buildingList = payload;\r\n },\r\n setFloorList: (state, { payload }: PayloadAction) => {\r\n state.floorList = payload;\r\n },\r\n setDrawingTypes: (state, { payload }: PayloadAction) => {\r\n state.drawingTypes = payload;\r\n },\r\n setDrawingCategory: (state, { payload }: PayloadAction) => {\r\n state.drawingCategory = payload;\r\n },\r\n setNewDrawing: (state, { payload }: PayloadAction) => {\r\n state.newDrawing = payload;\r\n },\r\n setAddMarkup: (state, { payload }: PayloadAction) => {\r\n state.addMarkup = payload;\r\n },\r\n setDrawingDetails: (state, { payload }: PayloadAction) => {\r\n state.drawingDetails = payload;\r\n },\r\n setUpdatedDrawing: (state, { payload }: PayloadAction) => {\r\n state.updatedDrawing = payload;\r\n },\r\n setPreviousDrawing: (state, { payload }: PayloadAction) => {\r\n\t\t\tstate.previousDrawing = payload;\r\n\t\t},\r\n setRevisedDrawing: (state, { payload }: PayloadAction) => {\r\n state.revisedDrawing = payload;\r\n },\r\n setReplacedDrawing: (state, { payload }: PayloadAction) => {\r\n state.replacedDrawing = payload;\r\n },\r\n setRevisionList: (state, { payload }: PayloadAction) => {\r\n state.revisionList = payload;\r\n },\r\n setRevisionPageDetails: (state, { payload }: PayloadAction) => {\r\n state.revisionPageDetails = payload;\r\n },\r\n setmarkupList: (state, { payload }: PayloadAction) => {\r\n state.markupList = payload;\r\n },\r\n setMarkupPageDetails: (state, { payload }: PayloadAction) => {\r\n state.markupPageDetails = payload;\r\n },\r\n setMarkupPageData: (state, { payload }: PayloadAction) => {\r\n state.markupPageData = payload;\r\n },\r\n setMarkupDetails: (state, { payload }: PayloadAction) => {\r\n state.markupDetails = payload;\r\n },\r\n setXmlData: (state, { payload }: PayloadAction) => {\r\n state.xmlData = payload;\r\n },\r\n setMarkupData: (state, { payload }: PayloadAction) => {\r\n state.markupData = payload;\r\n },\r\n setUpdatedMarkup: (state, { payload }: PayloadAction) => {\r\n state.updatedMarkup = payload;\r\n },\r\n setDeletedMarkupData: (state, { payload }: PayloadAction) => {\r\n state.deletedMarkupData = payload;\r\n },\r\n setUpdatedRevision: (state, { payload }: PayloadAction) => {\r\n state.updatedRevision = payload;\r\n },\r\n },\r\n});\r\n\r\nexport const getDrawingList = (uniqueSiteId,uniqueBuildingId: any=\"\", currentStart, keyword: any = \"\", sortField: any = \"\", sortOrder: any = \"\", setMessage?: any, setDisplayInfoModal?: any): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/asbuilts/sites/${uniqueSiteId}/buildings/${uniqueBuildingId}/drawings?keyword=${keyword}¤tstart=${currentStart}&sortcolumn=${sortField}&sortorder=${sortOrder}`);\r\n if (res.status === \"done\") {\r\n dispatch(setDrawingList(res?.data?.drawingDetailsList));\r\n dispatch(setDrawingPageDetails(res?.data?.pageDetails));\r\n if (!res?.data?.drawingDetailsList?.length) {\r\n setMessage(\"No Drawings exist\");\r\n setDisplayInfoModal(true);\r\n }\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const getBuildingList = (uniqueSiteId, body: any): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/floor/sites/${uniqueSiteId}/buildings`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setBuildingList(res?.data?.buildingDetails));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const getFloorList = (uniqueSiteId, uniqueBuildingId): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/asbuilts/sites/${uniqueSiteId}/buildings/${uniqueBuildingId}/floors `);\r\n if (res.status === \"done\") {\r\n dispatch(setFloorList(res?.data?.floorDetails));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const getDrawingTypes = (): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/asbuilts/drawingtypes `);\r\n if (res.status === \"done\") {\r\n dispatch(setDrawingTypes(res?.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\nexport const getDrawingCategory = (): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/asbuilts/drawingcategories`);\r\n if (res.status === \"done\") {\r\n dispatch(setDrawingCategory(res?.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const insertDrawingmarkup =\r\n\t(body: any, uniqueSiteId, uniqueBuildingId,DrawingId, setMessage, setDisplayInfoModal): AppThunk =>\r\n\t\tasync (dispatch) => {\r\n\t\t\ttry {\r\n const res = await zlink.post(`${baseURL}api/v1/asbuilts/sites/${uniqueSiteId}/buildings/${uniqueBuildingId}/drawings/${DrawingId}/markup/insertdrawingmarkup`, body);\r\n\t\t\t\tif (res.status === \"done\") {\r\n dispatch(setAddMarkup(res.data));\r\n\t\t\t\t} else {\r\n\t\t\t\t\tdispatch(setErrors(res.error));\r\n\t\t\t\t\tsetMessage(res.message);\r\n\t\t\t\t\tsetDisplayInfoModal(true);\r\n\t\t\t\t}\r\n\t\t\t} catch (error) {\r\n\t\t\t\tdispatch(setErrors(error));\r\n\t\t\t}\r\n\t\t};\r\n export const onAddDrawing =\r\n (body: any, uniqueSiteId, uniqueBuildingId, setMessage, setDisplayInfoModal): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/asbuilts/sites/${uniqueSiteId}/buildings/${uniqueBuildingId}/drawings/add`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setNewDrawing(res.data));\r\n dispatch(setProgressFlag(false));\r\n } else {\r\n dispatch(setProgressFlag(false));\r\n dispatch(setErrors(res.error));\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setProgressFlag(false));\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const getDrawingDetails = (uniqueSiteId, uniqueBuildingId, drawingId, body): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/asbuilts/sites/${uniqueSiteId}/buildings/${uniqueBuildingId}/drawings/${drawingId}`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setDrawingDetails(res?.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onUpdateDrawing =\r\n\t(uniqueSiteId, uniqueBuildingId, drawingId, body: any, setMessage, setDisplayInfoModal, setSelectedRows, inlineEdit: boolean): AppThunk =>\r\n\t\tasync (dispatch) => {\r\n\t\t\ttry {\r\n\t\t\t\tconst res = await zlink.post(`${baseURL}api/v1/asbuilts/sites/${uniqueSiteId}/buildings/${uniqueBuildingId}/drawings/${drawingId}/update`, body);\r\n\t\t\t\tif (res.status === \"done\") {\r\n\t\t\t\t\tdispatch(setUpdatedDrawing(res?.data));\r\n\t\t\t\t\tif (!inlineEdit) {\r\n\t\t\t\t\t\tsetSelectedRows([res?.data])\r\n\t\t\t\t\t}\r\n\t\t\t\t\tsetMessage(\"Drawing updated\");\r\n\t\t\t\t\tsetDisplayInfoModal(true);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tdispatch(setErrors(res.error));\r\n\t\t\t\t\tsetMessage(res.message);\r\n\t\t\t\t\tsetDisplayInfoModal(true);\r\n\t\t\t\t}\r\n\t\t\t} catch (error) {\r\n\t\t\t\tdispatch(setErrors(error));\r\n\t\t\t}\r\n\t\t};\r\n\r\nexport const deleteDrawing = (uniqueSiteId, uniqueBuildingId, drawingId,revisionNo, setSelectedRows, setMessage, setDisplayInfoModal): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/asbuilts/sites/${uniqueSiteId}/buildings/${uniqueBuildingId}/drawings/${drawingId}/revision/${revisionNo}/remove`, null);\r\n if (res.status === \"done\") {\r\n dispatch(setPreviousDrawing(res?.data));\r\n setMessage(\"Drawing deleted\");\r\n setDisplayInfoModal(true);\r\n setSelectedRows([]);\r\n } else {\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onDrawingRevise =\r\n\t(body: any, uniqueSiteId, uniqueBuildingId, drawingId, setMessage, setDisplayInfoModal): AppThunk =>\r\n\t\tasync (dispatch) => {\r\n\t\t\ttry {\r\n\t\t\t\tconst res = await zlink.post(`${baseURL}api/v1/asbuilts/sites/${uniqueSiteId}/buildings/${uniqueBuildingId}/drawings/${drawingId}/revise`, body);\r\n\t\t\t\tif (res.status === \"done\") {\r\n dispatch(setProgressFlag(false));\r\n\t\t\t\t\tdispatch(setRevisedDrawing(res.data));\r\n\t\t\t\t} else {\r\n dispatch(setProgressFlag(false));\r\n\t\t\t\t\tdispatch(setErrors(res.error));\r\n\t\t\t\t\tsetMessage(res.message);\r\n\t\t\t\t\tsetDisplayInfoModal(true);\r\n\t\t\t\t}\r\n\t\t\t} catch (error) {\r\n dispatch(setProgressFlag(false));\r\n\t\t\t\tdispatch(setErrors(error));\r\n\t\t\t}\r\n\t\t};\r\n\r\nexport const onDrawingReplace =\r\n (body: any, uniqueSiteId, uniqueBuildingId, drawingId, setMessage, setDisplayInfoModal): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/asbuilts/sites/${uniqueSiteId}/buildings/${uniqueBuildingId}/drawings/${drawingId}/replace`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setProgressFlag(false));\r\n dispatch(setReplacedDrawing(res.data));\r\n } else {\r\n dispatch(setProgressFlag(false));\r\n dispatch(setErrors(res.error));\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setProgressFlag(false));\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const getRevisionList = (uniqueSiteId, uniqueBuildingId: any = \"\", drawingId, currentStart,setDisplayInfoModal,setMessage, keyword: any = \"\", sortField: any = \"\", sortOrder: any = \"\"): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/asbuilts/sites/${uniqueSiteId}/buildings/${uniqueBuildingId}/drawings/${drawingId}/revisions?keyword=${keyword}¤tstart=${currentStart}&sortcolumn=${sortField}&sortorder=${sortOrder}`);\r\n if (res.status === \"done\") {\r\n if(res?.data?.drawingDetailsList.length>0){\r\n dispatch(setRevisionList(res?.data?.drawingDetailsList));\r\n }\r\n else{\r\n setMessage(\"No Revisions added\")\r\n setDisplayInfoModal(true);\r\n }\r\n dispatch(setRevisionPageDetails(res?.data?.pageDetails));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const getMarkupList = (uniqueSiteId, uniqueBuildingId: any = \"\", drawingId, body, currentStart,setDisplayInfoModal,setMessage, keyword: any = \"\", sortField: any = \"\", sortOrder: any = \"\"): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/asbuilts/sites/${uniqueSiteId}/buildings/${uniqueBuildingId}/drawings/${drawingId}/markups?keyword=${keyword}¤tstart=${currentStart}&sortcolumn=${sortField}&sortorder=${sortOrder}`, body);\r\n if (res.status === \"done\") {\r\n if(res?.data?.markupDataList.length>0){\r\n dispatch(setmarkupList(res?.data?.markupDataList));\r\n }\r\n else{\r\n setMessage(\"No Markups added\")\r\n setDisplayInfoModal(true);\r\n }\r\n dispatch(setMarkupPageDetails(res?.data?.pageDetails));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\nexport const getSavedMarkups = (uniqueSiteId, uniqueBuildingId: any = \"\", drawingId, body, currentStart,setMessage,setDisplayInfoModal, keyword: any = \"\", sortField: any = \"\", sortOrder: any = \"\"): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/asbuilts/sites/${uniqueSiteId}/buildings/${uniqueBuildingId}/drawings/${drawingId}/savedmarkups`, body);\r\n if (res.status === \"done\") {\r\n if(res?.data?.markupDataList.length>0){\r\n dispatch(setMarkupData(res?.data));\r\n dispatch(setMarkupPageData(res?.data?.pageDetails));\r\n }\r\n else{\r\n setMessage(\"No Markups added\")\r\n setDisplayInfoModal(true); \r\n }\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\nexport const getMarkup = (uniqueSiteId, uniqueBuildingId: any = \"\", drawingId, body, currentStart, keyword: any = \"\", sortField: any = \"\", sortOrder: any = \"\"): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/asbuilts/sites/${uniqueSiteId}/buildings/${uniqueBuildingId}/drawings/${drawingId}/markups`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setMarkupData(res?.data));\r\n dispatch(setMarkupPageData(res?.data?.pageDetails));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\nexport const loadXmldata = (uniqueBuildingId, drawingId, markupId,body): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/asbuilts/buildings/${uniqueBuildingId}/drawings/${drawingId}/markup/${markupId}/loadxmldata`,body);\r\n if (res.status === \"done\") {\r\n let markupXmlData:any=[];\r\n markupXmlData.push({\"xmlString\":res?.data,\"markupId\":markupId}) \r\n dispatch(setXmlData(markupXmlData));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n export const getMarkupDetails = (uniqueSiteId, uniqueBuildingId, drawingId, markupId): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/asbuilts/sites/${uniqueSiteId}/buildings/${uniqueBuildingId}/drawings/${drawingId}/markups/${markupId}`);\r\n if (res.status === \"done\") {\r\n dispatch(setMarkupDetails(res?.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onUpdateMarkup =\r\n\t(uniqueSiteId, uniqueBuildingId, drawingId, markupId, body: any, setMessage, setDisplayInfoModal, setSelectedRows,setShowEditModel): AppThunk =>\r\n\t\tasync (dispatch) => {\r\n\t\t\ttry {\r\n\t\t\t\tconst res = await zlink.post(`${baseURL}api/v1/asbuilts/sites/${uniqueSiteId}/buildings/${uniqueBuildingId}/drawings/${drawingId}/markups/${markupId}/edit`, body);\r\n\t\t\t\tif (res.status === \"done\") {\r\n\t\t\t\t\tdispatch(setUpdatedMarkup(res?.data));\r\n\t\t\t\t\tsetShowEditModel(false);\r\n\t\t\t\t\tsetMessage(\"Drawing description updated\");\r\n\t\t\t\t\tsetDisplayInfoModal(true);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tdispatch(setErrors(res.error));\r\n\t\t\t\t\tsetMessage(res.message);\r\n\t\t\t\t\tsetDisplayInfoModal(true);\r\n\t\t\t\t}\r\n\t\t\t} catch (error) {\r\n\t\t\t\tdispatch(setErrors(error));\r\n\t\t\t}\r\n\t\t};\r\n\r\nexport const deleteMarkup = (uniqueSiteId, uniqueBuildingId, drawingId, markupId, setSelectedRows, setMessage, setDisplayInfoModal): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/asbuilts/sites/${uniqueSiteId}/buildings/${uniqueBuildingId}/drawings/${drawingId}/markups/${markupId}/remove`, null);\r\n if (res.status === \"done\") {\r\n dispatch(setDeletedMarkupData(markupId));\r\n setMessage(\"Markup deleted\");\r\n setDisplayInfoModal(true);\r\n setSelectedRows([]);\r\n } else {\r\n setMessage(res.message);\r\n setDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onUpdateRevision =\r\n\t(uniqueSiteId, uniqueBuildingId, drawingId, body: any, setMessage, setDisplayInfoModal, setSelectedRows,setShowEditModel): AppThunk =>\r\n\t\tasync (dispatch) => {\r\n\t\t\ttry {\r\n\t\t\t\tconst res = await zlink.post(`${baseURL}api/v1/asbuilts/sites/${uniqueSiteId}/buildings/${uniqueBuildingId}/drawings/${drawingId}/updaterevision`, body);\r\n\t\t\t\tif (res.status === \"done\") {\r\n\t\t\t\t\tdispatch(setUpdatedRevision(res?.data));\r\n\t\t\t\t\tsetShowEditModel(false);\r\n\t\t\t\t\tsetMessage(\"Drawing description updated\");\r\n\t\t\t\t\tsetDisplayInfoModal(true);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tdispatch(setErrors(res.error));\r\n\t\t\t\t\tsetMessage(res.message);\r\n\t\t\t\t\tsetDisplayInfoModal(true);\r\n\t\t\t\t}\r\n\t\t\t} catch (error) {\r\n\t\t\t\tdispatch(setErrors(error));\r\n\t\t\t}\r\n\t\t};\r\n\r\nexport const downloadDrawing = (uniqueSiteId, uniqueBuildingId,drawingId: any, fileName: any, setMessage: any, setDisplayInfoModal: any,): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/asbuilts/sites/${uniqueSiteId}/buildings/${uniqueBuildingId}/drawings/${drawingId}`);\r\n if (res.status === \"done\") {\r\n dispatch(onDownloadFile(drawingId, fileName, res?.data?.fullPath, setMessage, setDisplayInfoModal));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const { setErrors,\r\n setDrawingList,\r\n setDrawingPageDetails,\r\n setBuildingList,\r\n setFloorList,\r\n setDrawingTypes,\r\n setDrawingCategory,\r\n setNewDrawing,\r\n setAddMarkup,\r\n setDrawingDetails,\r\n setUpdatedDrawing,\r\n setPreviousDrawing,\r\n setRevisedDrawing,\r\n setReplacedDrawing,\r\n setRevisionList,\r\n setRevisionPageDetails,\r\n setmarkupList,\r\n setMarkupPageDetails,\r\n setMarkupDetails,\r\n setXmlData,\r\n setMarkupData,\r\n setMarkupPageData,\r\n setUpdatedMarkup,\r\n setDeletedMarkupData,\r\n setUpdatedRevision, } = AsBuiltsSlice.actions;\r\nexport default AsBuiltsSlice.reducer;\r\n","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\"\r\nimport { AppThunk } from \"redux/store\";\r\nimport { baseURL, zlink } from \"service/HttpService\";\r\n\r\nexport interface InspectionDrawingState {\r\n errors: any;\r\n drawingList: any;\r\n selectedTreeNode: any;\r\n selectedTask: any;\r\n unassignedEquipmentList: any;\r\n commonEquipmentList: any;\r\n equipmentSpecificList: any;\r\n equipmentTypeList: any;\r\n drawingFullData: any;\r\n unassignedEquipmentTypes: any;\r\n addressDetails: any;\r\n equipmentData: any;\r\n}\r\n\r\nconst initialState: InspectionDrawingState = {\r\n errors: \"\",\r\n drawingList: \"\",\r\n selectedTreeNode: \"\",\r\n selectedTask: \"\",\r\n unassignedEquipmentList: \"\",\r\n commonEquipmentList: \"\",\r\n equipmentSpecificList: \"\",\r\n equipmentTypeList: \"\",\r\n drawingFullData: \"\",\r\n unassignedEquipmentTypes: \"\",\r\n addressDetails: \"\",\r\n equipmentData: \"\",\r\n};\r\n\r\nconst InspectionDrawingSlice = createSlice({\r\n name: \"inspectionDrawing\",\r\n initialState,\r\n reducers: {\r\n setErrors: (state, { payload }: PayloadAction) => {\r\n state.errors = payload;\r\n },\r\n setDrawingList: (state, { payload }: PayloadAction) => {\r\n state.drawingList = payload;\r\n },\r\n setSelectedTreeNode: (state, { payload }: PayloadAction) => {\r\n\t\t\tstate.selectedTreeNode = payload;\r\n\t\t},\r\n setSelectedTask: (state, { payload }: PayloadAction) => {\r\n\t\t\tstate.selectedTask = payload;\r\n\t\t},\r\n setUnassignedEquipmentList: (state, { payload }: PayloadAction) => {\r\n state.unassignedEquipmentList = payload;\r\n },\r\n setCommonEquipmentList: (state, { payload }: PayloadAction) => {\r\n state.commonEquipmentList = payload;\r\n },\r\n setEquipmentSpecificList: (state, { payload }: PayloadAction) => {\r\n state.equipmentSpecificList = payload;\r\n },\r\n setEquipmentTypeList: (state, { payload }: PayloadAction) => {\r\n state.equipmentTypeList = payload;\r\n },\r\n setDrawingFullData: (state, { payload }: PayloadAction) => {\r\n state.drawingFullData = payload;\r\n },\r\n setUnassignedEquipmentTypes: (state, { payload }: PayloadAction) => {\r\n state.unassignedEquipmentTypes = payload;\r\n },\r\n setAddressDetails: (state, { payload }: PayloadAction) => {\r\n state.addressDetails = payload;\r\n },\r\n setEquipmentData: (state, { payload }: PayloadAction) => {\r\n state.equipmentData = payload;\r\n },\r\n },\r\n});\r\n\r\nexport const getDrawingList = (uniqueInspectionTaskId, setMessage, setDisplayInfoModal): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspection/inspectiontask/${uniqueInspectionTaskId}/drawings`);\r\n if (res.status === \"done\") {\r\n if (res.data && res.data.siteDetails && res.data.siteDetails.length) {\r\n dispatch(setDrawingList(res?.data));\r\n } else {\r\n setMessage(\"No Drawings exist\");\r\n setDisplayInfoModal(true);\r\n }\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const getDrawingEquipmentList = (uniqueInspectionTaskId,drawingId, tab: string, body, currentStart, setDataLoaded, target?: any, sortField: any = \"\", sortOrder: any = \"\", keyword: any = \"\"): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspection/inspectiontask/${uniqueInspectionTaskId}/drawings/${drawingId}/equipments?keyword=${keyword}¤tstart=${currentStart}&sortcolumn=${sortField}&sortorder=${sortOrder}&Target=${target}`, body);\r\n if (res.status === \"done\") {\r\n setDataLoaded(true)\r\n if (tab === \"unassigned\")\r\n dispatch(setUnassignedEquipmentList(res?.data));\r\n else if (tab === \"common\")\r\n dispatch(setCommonEquipmentList(res?.data));\r\n else if (tab === \"equipmentSpecific\")\r\n dispatch(setEquipmentSpecificList(res?.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\n export const getEquipmentTypeList = (uniqueInspectionTaskId,drawingId,target=0): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspection/inspectiontask/${uniqueInspectionTaskId}/drawings/${drawingId}/equipmentspecific?&Target=${target}`, null);\r\n if (res.status === \"done\") {\r\n dispatch(setEquipmentTypeList(res?.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\n export const getDrawingFullData = (uniqueInspectionTaskId, drawingId): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspection/inspectiontask/${uniqueInspectionTaskId}/drawings/${drawingId}/getfulldata`);\r\n if (res.status === \"done\") {\r\n dispatch(setDrawingFullData(res?.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n }; \r\n\r\n export const getUnassignedEquipmentTypes = (uniqueInspectionTaskId,drawingId): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/inspection/inspectiontask/${uniqueInspectionTaskId}/drawings/${drawingId}/unassignedequipmenttypes`);\r\n if (res.status === \"done\") {\r\n dispatch(setUnassignedEquipmentTypes(res?.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\n export const getAddressDetails = (uniqueInspectionTaskId,drawingId, body: any): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspection/inspectiontask/${uniqueInspectionTaskId}/drawings/${drawingId}/equipments/unassignedequipments`,body);\r\n if (res.status === \"done\") {\r\n dispatch(setAddressDetails(res?.data?.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\n export const getEquipmentData = (uniqueInspectionTaskId,drawingId, equipmentId, body: any): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/inspection/inspectiontask/${uniqueInspectionTaskId}/drawings/${drawingId}/equipments/${equipmentId}`,body);\r\n if (res.status === \"done\") {\r\n dispatch(setEquipmentData(res?.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const { setErrors,\r\n setDrawingList,\r\n setSelectedTreeNode,\r\n setSelectedTask,\r\n setUnassignedEquipmentList,\r\n setCommonEquipmentList,\r\n setEquipmentSpecificList,\r\n setEquipmentTypeList,\r\n setDrawingFullData,\r\n setUnassignedEquipmentTypes,\r\n setAddressDetails,\r\n setEquipmentData } = InspectionDrawingSlice.actions;\r\nexport default InspectionDrawingSlice.reducer;\r\n","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\";\r\nimport { AppThunk } from \"redux/store\";\r\nimport { baseURL, zlink } from \"service/HttpService\";\r\n\r\n\r\nexport interface customizeReportState {\r\n errors: any;\r\n isAppliedDone: boolean;\r\n}\r\n\r\nlet initialState: customizeReportState = {\r\n errors: \"\",\r\n isAppliedDone: false,\r\n};\r\n\r\nconst CustomizeReportSlice = createSlice({\r\n name: \"reportCustomize\",\r\n initialState,\r\n reducers: {\r\n setErrors: (state, { payload }: PayloadAction) => {\r\n state.errors = payload;\r\n },\r\n setIsAppliedDone: (state, { payload }: PayloadAction) => {\r\n state.isAppliedDone = payload;\r\n },\r\n }\r\n})\r\n\r\nexport const getCustomizeReportDataFields = (reportType, customizationType, setFields, setSettings): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/reports/${reportType}/datafields?customizationType=${customizationType}`);\r\n if (res.status === \"done\") {\r\n setFields(res?.data?.dataFieldDetails);\r\n setSettings({ isLandscapeOriented: res?.data?.isLandscapeOriented, isSlNoRequired: res?.data?.isSlNoRequired, isSystemDefault: res?.data?.isSystemDefault });\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const onApplied = (reportType, isTemporary, body): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n let requestUrl = `${baseURL}api/v1/reports/${reportType}`;\r\n if (isTemporary) {\r\n requestUrl += `/setcustomize`\r\n }\r\n const res = await zlink.post(`${requestUrl}`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setIsAppliedDone(true));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const onGetLoadData = (reportType, type, setFields, setSettings, setMessage, setDisplayInfoModal): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/reports/${reportType}?defaultType=${type}`);\r\n if (res.status === \"done\") {\r\n setFields(res?.data?.dataFieldDetails);\r\n setSettings({ isLandscapeOriented: res?.data?.isLandscapeOriented, isSlNoRequired: res?.data?.isSlNoRequired, isSystemDefault: res?.data?.isSystemDefault }); \r\n } else {\r\n dispatch(setErrors(res.error));\r\n if (res.message) {\r\n setDisplayInfoModal(true);\r\n setMessage(res.message);\r\n }\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n export const onExportReport = (body,filename): AppThunk => async (dispatch) => {\r\n try {\r\n const request: any = {\r\n method: \"POST\",\r\n cache: \"no-store\",\r\n headers: {\r\n \"Content-Type\": \"application/json; charset=utf-8\",\r\n Authorization: sessionStorage.getItem(\"accesstoken\"),\r\n },\r\n body: JSON.stringify(body)\r\n };\r\n const downloadUrl = (window as any).envSettings.baseAPIUrl + `api/v1/data/export`;\r\n await fetch(downloadUrl, request).then((response: any) => {\r\n if (response.ok) {\r\n response.blob().then((blob: any) => {\r\n let url = window.URL.createObjectURL(blob);\r\n let a = document.createElement(\"a\");\r\n a.href = url;\r\n a.download = filename;\r\n a.click();\r\n });\r\n }\r\n });\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const {\r\n setErrors,\r\n setIsAppliedDone,\r\n} = CustomizeReportSlice.actions;\r\n\r\nexport default CustomizeReportSlice.reducer;","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\";\r\nimport { zlink, baseURL } from \"../../../service/HttpService\";\r\nimport { setProgressFlag } from \"redux/common/commonSlice\";\r\nimport { AppThunk } from \"../../store\";\r\nimport moment from \"moment\";\r\n\r\nexport interface ProvenOutcomesState {\r\n errors: any;\r\n branches : any;\r\n inspectionTurnAroundList: any;\r\n inspectionTurnAroundPageDetails: any;\r\n tapPerformanceReportList: any;\r\n\ttapPerformanceReportPageDetails: any;\r\n systemList: any;\r\n goalList: any;\r\n\tgoalListDetails: any;\r\n updatedGoal:string;\r\n systemtasklist : any;\r\n projectDetails: any;\r\n updatedDeficiency:any;\r\n inspectionDeficiencyList: any;\r\n inspectionDeficiencyPageDetails: any;\r\n comments:any;\r\n deletedProject:any;\r\n softwareVersionList: any;\r\n\tsoftwareVersionPageDetails: any;\r\n setUpdatedSoftwareVersionData:any;\r\n newlyAddedData : any;\r\n dependencyCheckData : any;\r\n checkTAPPerformanceReportGenerated:string;\r\n checkIsValueChanged : boolean;\r\n deletedGoalIds:any;\r\n tabChangeMessageHandler : boolean;\r\n tabChangeMessage:string;\r\n clonedProjectData:any;\r\n}\r\n\r\nlet initialState: ProvenOutcomesState = {\r\n errors: \"\",\r\n branches : [],\r\n inspectionTurnAroundList: \"\",\r\n inspectionTurnAroundPageDetails: \"\",\r\n tapPerformanceReportList: [],\r\n\ttapPerformanceReportPageDetails: [],\r\n systemList: [],\r\n systemtasklist : [],\r\n goalList: [],\r\n\tgoalListDetails: [],\r\n updatedGoal :\"\",\r\n updatedDeficiency:[],\r\n inspectionDeficiencyList: [],\r\n inspectionDeficiencyPageDetails: [],\r\n comments: [],\r\n deletedProject:[],\r\n projectDetails: \"\",\r\n softwareVersionList:[],\r\n softwareVersionPageDetails:\"\",\r\n setUpdatedSoftwareVersionData:\"\",\r\n newlyAddedData:'',\r\n dependencyCheckData : \"\",\r\n checkTAPPerformanceReportGenerated:\"\",\r\n checkIsValueChanged : false,\r\n deletedGoalIds:[],\r\n tabChangeMessageHandler :false,\r\n tabChangeMessage:\"\",\r\n clonedProjectData:[],\r\n};\r\n\r\nconst ProvenOutcomesState = createSlice({\r\n name: \"provenOutcomes\",\r\n initialState,\r\n reducers: {\r\n setErrors: (state, { payload }: PayloadAction) => {\r\n state.errors = payload;\r\n },\r\n setBranches: (state, { payload }: PayloadAction) => {\r\n state.branches = payload;\r\n },\r\n setInspectionTurnaroundList: (state, { payload }: PayloadAction) => {\r\n payload.map((element: any) => {\r\n element.reportDeliveryDate= moment(element.reportDeliveryDate).format(\"yyyy-MM-DD\").toString()\r\n element.workCompletionDate = element.workCompletionDate?moment(element.workCompletionDate).format(\"yyyy-MM-DD\").toString() : \" \"\r\n return null;\r\n });\r\n state.inspectionTurnAroundList = payload;\r\n },\r\n setInspectionTurnaroundPageDetails: (\r\n state,\r\n { payload }: PayloadAction\r\n ) => {\r\n state.inspectionTurnAroundPageDetails = payload;\r\n },\r\n setTapPerformanceReportList: (state, { payload }: PayloadAction) => {\r\n\t\t\tstate.tapPerformanceReportList = payload;\r\n\t\t},\r\n\t\tsetTapPerformanceReportListPageDetails: (state, { payload }: PayloadAction) => {\r\n\t\t\tstate.tapPerformanceReportPageDetails = payload;\r\n\t\t},\r\n setSystemList: (state, { payload }: PayloadAction) => {\r\n state.systemList = payload;\r\n },\r\n setSystemTaskList: (state, { payload }: PayloadAction) => {\r\n state.systemtasklist = payload;\r\n }, \r\n setgoalList: (state, { payload }: PayloadAction) => {\r\n\t\t\tstate.goalList = payload;\r\n\t\t},\r\n\t\tsetgoalListDetails: (state, { payload }: PayloadAction) => {\r\n\t\t\tstate.goalListDetails = payload;\r\n\t\t},\r\n setUpdatedGoal: (state, { payload }: PayloadAction) => {\r\n let currentIndex = state.goalList.findIndex((item: any) => item.uniqueProjectGoalId === payload?.uniqueProjectGoalId);\r\n\t\t\tstate.goalList = state.goalList.filter((item: any) => item.uniqueProjectGoalId !== payload?.uniqueProjectGoalId);\r\n\t\t\tstate.goalList.splice(currentIndex, 0, payload);\r\n },\r\n setProjectDetails: (state, { payload }: PayloadAction) => {\r\n state.projectDetails = payload;\r\n\r\n },\r\n \r\n setUpdatedDeficiency: (state, { payload }: PayloadAction) => {\r\n let currentIndex = state.inspectionDeficiencyList.findIndex((item: any) => item.equipmentId === payload?.equipmentId);\r\n state.inspectionDeficiencyList = state.inspectionDeficiencyList.filter((item: any) => item.equipmentId !== payload?.equipmentId);\r\n state.inspectionDeficiencyList.splice(currentIndex, 0, payload);\r\n },\r\n\r\n setDeletedProjectDetails: (state, { payload }: PayloadAction) => {\r\n\t\t\tstate.tapPerformanceReportList = state.tapPerformanceReportList.filter((item: any) => item.uniqueProjectId !== payload);\r\n\t\t},\r\n setInspectionDeficiencyList: (state, { payload }: PayloadAction) => {\r\n payload.map((element: any) => {\r\n element.date = moment(element.date).format(\"yyyy-MM-DD\").toString()\r\n element.correctedDate = element.correctedDate ? moment(element.correctedDate).format(\"yyyy-MM-DD\").toString() : \" \"\r\n return null;\r\n });\r\n state.inspectionDeficiencyList = payload;\r\n },\r\n setInspectionDeficiencyPageDetails: (\r\n state,\r\n { payload }: PayloadAction\r\n ) => {\r\n state.inspectionDeficiencyPageDetails = payload;\r\n },\r\n\r\n setComment: (state, { payload }: PayloadAction) => {\r\n state.comments = payload;\r\n },\r\n setSoftwareVersionList: (state, { payload }: PayloadAction) => {\r\n\t\t\tstate.softwareVersionList = payload;\r\n\t\t},\r\n setSoftwareVersionPageDetails: (state, { payload }: PayloadAction) => {\r\n state.softwareVersionPageDetails = payload;\r\n },\r\n setNewlyAddedData: (state, { payload }: PayloadAction) => {\r\n state.newlyAddedData = payload;\r\n },\r\n setUpdatedSoftwareVersionData: (state, { payload }: PayloadAction) => {\r\n let newData: any = [];\r\n newData = [\r\n {\r\n inspectionTaskId: payload.inspectionTaskId,\r\n equipmentId: payload.equipmentId,\r\n equipmentName: payload.equipmentName,\r\n currentVersion: payload.currentVersion,\r\n newVersion:payload.newVersion,\r\n recommend: payload.recommend\r\n }\r\n ];\r\n\t\t\tlet currentIndex = state.softwareVersionList.findIndex((item: any) => item.equipmentId === payload?.equipmentId);\r\n\t\t\tstate.softwareVersionList = state.softwareVersionList.filter((item: any) => item.equipmentId !== payload?.equipmentId);\r\n\t\t\tstate.softwareVersionList.splice(currentIndex, 0, newData[0]);\r\n\t\t},\r\n setUpdatedProjectDetailsData: (state, { payload }: PayloadAction) => {\r\n let newData: any = [];\r\n newData = [\r\n {\r\n uniqueProjectId: payload.uniqueProjectId,\r\n projectName: payload.projectName,\r\n projectOwner: payload.projectOwner,\r\n branch: payload.branchName,\r\n projectId: 0\r\n }\r\n ];\r\n let currentIndex = state.tapPerformanceReportList.findIndex((item: any) => item.uniqueProjectId === payload?.uniqueProjectId);\r\n state.tapPerformanceReportList = state.tapPerformanceReportList.filter((item: any) => item.uniqueProjectId !== payload?.uniqueProjectId);\r\n state.tapPerformanceReportList.splice(currentIndex, 0, newData[0]);\r\n\t\t},\r\n setDependencyCheckData: (state, { payload }: PayloadAction) => {\r\n state.dependencyCheckData = payload;\r\n },\r\n setCheckTAPPerformanceReportGenerated: (state, { payload }: PayloadAction) => {\r\n state.checkTAPPerformanceReportGenerated = payload;\r\n },\r\n setDeletedGoalIds(state, { payload }: PayloadAction) {\r\n state.deletedGoalIds = payload;\r\n },\r\n clearDeletedGoalIds:(state, {payload}: PayloadAction) => {\r\n state.deletedGoalIds = payload;\r\n },\r\n setcheckIsValueChanged: (state, { payload }: PayloadAction) => {\r\n state.checkIsValueChanged = payload;\r\n },\r\n setTabChangeMessageHandler: (state, { payload }: PayloadAction) => {\r\n state.tabChangeMessageHandler = payload;\r\n },\r\n setTabChangeMessage: (state, { payload }: PayloadAction) => {\r\n state.tabChangeMessage = payload;\r\n },\r\n setclonedProjectData: (state, { payload }: PayloadAction) => {\r\n state.clonedProjectData = payload;\r\n },\r\n },\r\n});\r\n\r\nexport const onGetInspectionTurnAroundList =(UniqueProjectId, systemId,currentStart, sortField: any = \"\", sortOrder: any = \"\"): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/tappeformancereport/systemdetails/${UniqueProjectId}/inspectionturnaround/${systemId}?currentstart=${currentStart}&sortcolumn=${sortField}&sortDirection=${sortOrder}`);\r\n if (res && res.status) {\r\n if (res.status === \"done\") {\r\n if (res.data) {\r\n dispatch(setInspectionTurnaroundList(res.data.inspectionTurnAroundList));\r\n dispatch(setInspectionTurnaroundPageDetails(res.data.pageDetails));\r\n }\r\n }\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\n export const onGetTapPerformanceReportList = (currentStart,sortField: any = \"\", sortOrder: any = \"\"): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/tappeformancereport/projectlist?currentstart=${currentStart}&sortcolumn=${sortField}&sortDirection=${sortOrder}`);\r\n if (res.status === \"done\") {\r\n \tdispatch(setTapPerformanceReportList(res?.data?.projectList));\r\n \tdispatch(setTapPerformanceReportListPageDetails(res?.data?.pageDetails));\r\n } else {\r\n \tdispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n \r\n export const getProjectSystems = (UniqueProjectId,setMessage, setDisplayInfoModal): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/tappeformancereport/systemdetails/${UniqueProjectId}`);\r\n if (res.status === \"done\") {\r\n if (res.data) {\r\n if (!res.data.systemList.length) {\r\n setMessage('No Systems exist')\r\n setDisplayInfoModal(true);\r\n }\r\n else{\r\n dispatch(setSystemList(res?.data?.systemList));\r\n }\r\n }\r\n \r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n \r\nexport const onGetSystemTasks = (siteId, setData, setInfo, setMessage): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/common/search/system/${siteId}/systemlist`);\r\n if (res.status === \"done\") {\r\n if (res?.data?.systemDetails?.length) {\r\n setData(res.data.systemDetails);\r\n } else {\r\n setInfo(true);\r\n setMessage('No Systems exist for the selected Site');\r\n }\r\n\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onAddProjectDetails = (body, setMessage,setNewProjectData): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/tappeformancereport/addprojectdetails`,body);\r\n if (res.status === \"done\") {\r\n if (res?.data) {\r\n setNewProjectData(res.data);\r\n dispatch(setNewlyAddedData(res.data)); \r\n dispatch(setTabChangeMessageHandler(true))\r\n\t\t\t\t dispatch(setTabChangeMessage('Project Details added'))\r\n } else { \r\n setMessage(res.message);\r\n }\r\n\r\n } else { \r\n dispatch(setErrors(res.error));\r\n dispatch(setTabChangeMessageHandler(true))\r\n\t\t\t\tdispatch(setTabChangeMessage(res.message))\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const getBranches = (): AppThunk => async (dispatch) => {\r\n\ttry {\r\n\t\tconst res = await zlink.get(`${baseURL}api/v1/tappeformancereport/getbranchofficelist`);\r\n\t\tif (res.status === \"done\") {\r\n\t\t\tdispatch(setBranches(res?.data?.branchOfficeList));\r\n\t\t} else {\r\n\t\t\tdispatch(setErrors(res.error));\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tdispatch(setErrors(error));\r\n\t}\r\n};\r\n\r\nexport const getSystemTaskList = (uniqueBranchId): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/tappeformancereport/projectdetail/${uniqueBranchId}/getinspectiontasklistbasedonsystem`);\r\n if (res.status === \"done\") {\r\n dispatch(setSystemTaskList(res?.data?.systemInspectionTaskList));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\nexport const addGoal =\r\n (body: any, setMessage,setnewGoal): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/tappeformancereport/projectgoals/add`, body);\r\n if (res.status === \"done\") {\r\n setMessage(\"Goal added\");\r\n setnewGoal(res.data);\r\n } else {\r\n dispatch(setErrors(res.error));\r\n setMessage(res.message);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const onGetGoalList = (uniqueProjectId, currentStart, sortField: any = \"\", sortOrder: any = \"\"): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/tappeformancereport/projectgoals/${uniqueProjectId}/list?currentstart=${currentStart}&sortcolumn=${sortField}&sortDirection=${sortOrder}`);\r\n if (res.status === \"done\") {\r\n dispatch(setgoalList(res.data?.projectGoalList));\r\n dispatch(setgoalListDetails(res?.data?.pageDetails));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onGoalUpdated = (body, setMessage, setDisplayInfoModal): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/tappeformancereport/projectgoals/update`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setUpdatedGoal(res?.data));\r\n setMessage(\"Goal updated\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\n export const getProjectDetails = (uniqueProjectId): AppThunk => async (dispatch) => {\r\n try {\r\n dispatch(setProjectDetails(\"\"));\r\n const res = await zlink.get(`${baseURL}api/v1/tappeformancereport/projectdetail/${uniqueProjectId}`);\r\n if (res.status === \"done\") {\r\n dispatch(setProjectDetails(res.data));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\n export const onUpdateProjectDetails = (uniqueProjectId,isInlineEdit, body, setMessage): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/tappeformancereport/projectdetail/${uniqueProjectId}/update`,body);\r\n if (res.status === \"done\") {\r\n if (res?.data) {\r\n dispatch(setUpdatedProjectDetailsData(res?.data));\r\n dispatch(setTabChangeMessageHandler(true))\r\n dispatch(setTabChangeMessage('Project Details updated'))\r\n } else {\r\n \r\n setMessage(res.message);\r\n }\r\n \r\n } else {\r\n \r\n dispatch(setTabChangeMessageHandler(true))\r\n dispatch(setTabChangeMessage(res.message))\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n }\r\n export const onGenerateReport = (uniqueProjectId:any,setMessage, setDisplayInfoModal): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/tappeformancereport/${uniqueProjectId}/generatetapperformancereport`);\r\n if (res.status === \"done\") {\r\n setDisplayInfoModal(true);\r\n setMessage(res.message)\r\n dispatch(setProgressFlag(false));\r\n } else {\r\n setDisplayInfoModal(true);\r\n dispatch(setErrors(res.error));\r\n dispatch(setProgressFlag(false));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n dispatch(setProgressFlag(false));\r\n }\r\n };\r\n\r\n export const onUpdateDeficiencyList = (uniqueProjectId,body, setMessage,setDisplayInfoModal): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/tappeformancereport/inspectiondeficiency/${uniqueProjectId}/update`,body);\r\n if (res.status === \"done\") {\r\n if (res?.data?.isUpdated) {\r\n dispatch(setUpdatedDeficiency(res.data))\r\n setMessage(\"Deficiency List updated\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n setMessage(\"Updation Failed\");\r\n setDisplayInfoModal(true);\r\n }\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n export const addComments =(body: any, setMessage): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/tappeformancereport/additionalinformation/add `, body);\r\n if (res.status === \"done\") {\r\n setMessage(\"Comments added\");\r\n dispatch(setComment(res.data.comment));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n setMessage(res.message);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n export const getProjectComments = (UniqueProjectId,setMessage, setDisplayInfoModal): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/tappeformancereport/additionalinformation/${UniqueProjectId}`);\r\n if (res.status === \"done\") {\r\n if (res.data) {\r\n if (res.data.comment == \"\") {\r\n setMessage('No Comments exist')\r\n setDisplayInfoModal(true);\r\n }\r\n else{\r\n dispatch(setComment(res.data.comment));\r\n }\r\n }\r\n \r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n export const UpdatesComments =(body: any, setMessage): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/tappeformancereport/updateadditionalinformation `, body);\r\n if (res.status === \"done\") {\r\n setMessage(\"Comments updated\");\r\n } else {\r\n dispatch(setErrors(res.error));\r\n setMessage(res.message);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n \r\n\r\n export const onGetInspectionDeficiencyList = (uniqueProjectId,systemId,currentStart, sortfield: any = \"\", sortorder: any = \"\"): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/tappeformancereport/systemdetails/${uniqueProjectId}/inspectiondeficiency/${systemId}?currentstart=${currentStart}&sortcolumn=${sortfield}&sortDirection=${sortorder}`);\r\n if (res.status === \"done\") {\r\n dispatch(setInspectionDeficiencyList(res?.data?.inspectionDeficiencyList));\r\n dispatch(setInspectionDeficiencyPageDetails(res?.data?.pageDetails));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const deleteProjectDetails = ({ uniqueProjectId, setMessage, setDisplayInfoModal,setSelectedRows }): AppThunk => async (dispatch) => {\r\n\ttry { \r\n\t\tconst res = await zlink.post(`${baseURL}api/v1/tappeformancereport/projectdetails/${uniqueProjectId}/remove`, null);\r\n\t\tif (res.status === \"done\") {\r\n\t\t\tdispatch(setDeletedProjectDetails(uniqueProjectId));\r\n setMessage(\"Project Details deleted\");\r\n setDisplayInfoModal(true);\r\n setSelectedRows([]);\r\n\t\t} else {\r\n\t\t\tsetMessage(res.message); \r\n\t\t\tsetDisplayInfoModal(true);\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tdispatch(setErrors(error));\r\n\t}\r\n};\r\nexport const onUpdateSoftwareVersion = (uniqueSoftwareVersionId,body, setMessage,setDisplayInfoModal): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/tappeformancereport/panelsoftwareversionupdate`,body);\r\n if (res.status === \"done\") {\r\n if (res?.data?.isUpdated) {\r\n dispatch(setUpdatedSoftwareVersionData(res.data))\r\n setMessage(\"Software Version updated\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n setMessage(\"Updation Failed\");\r\n setDisplayInfoModal(true);\r\n }\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n} catch (error) {\r\n dispatch(setErrors(error));\r\n}\r\n};\r\n\r\n export const onGetSoftwareVersionList = (uniqueProjectId,uniqueSystemId, currentStart, keyword: any = \"\", sortField: any = \"\", sortOrder: any = \"\"): AppThunk => async (dispatch) => {\r\n try { \r\n const res = await zlink.get(`${baseURL}api/v1/tappeformancereport/panelsoftwareversions/projectid/${uniqueProjectId}/SystemId/${uniqueSystemId}?currentstart=${currentStart}&sortcolumn=${sortField}&sortorder=${sortOrder}`);\r\n if (res.status === \"done\") {\r\n dispatch(setSoftwareVersionList(res?.data?.softwareVersionList));\r\n dispatch(setSoftwareVersionPageDetails(res?.data?.pageDetails));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\n export const onDependencyCheck = (uniqueProjectId ,setdependencyCheckData): AppThunk => async (dispatch) => {\r\n try { \r\n const res = await zlink.get(`${baseURL}api/v1/tappeformancereport/projectdetail/${uniqueProjectId}/isgenarate`);\r\n if (res.status === \"done\") {\r\n dispatch(setDependencyCheckData(res?.data));\r\n setdependencyCheckData(res?.data);\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const checkTapPerformaceReportGenerated = (uniqueProjectId: any): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/tappeformancereport/${uniqueProjectId}/tapperformancereport/checktapperformancereportgenerated`);\r\n if (res.status === \"done\") {\r\n dispatch(setCheckTAPPerformanceReportGenerated(res?.message)); \r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const onDownloadTapPerformanceReport = (uniqueProjectId: any, setDisplayInfoModal: any, setMessage: any): AppThunk => async (dispatch) => {\r\n try {\r\n let filename: any = \"\";\r\n let url = (window as any).envSettings.baseAPIUrl + `api/v1/tappeformancereport/${uniqueProjectId}/tapperformancereport/download`;\r\n fetch(url)\r\n .then((result) => {\r\n if (!result.ok) {\r\n setMessage(\"Report not generated\");\r\n setDisplayInfoModal(true);\r\n throw Error(result.statusText);\r\n }\r\n filename = result.headers.get(\"content-disposition\")?.split(';')[1]?.split('=')[1];\r\n if (/\\s/.test(filename)) {\r\n filename = result.headers.get('Content-Disposition')?.split(';')?.[1]?.split('=')?.[1]?.slice(1, -1);\r\n }\r\n return result.blob();\r\n })\r\n .then((blob) => {\r\n if (blob != null) {\r\n var url = window.URL.createObjectURL(blob);\r\n var a = document.createElement('a');\r\n a.href = url;\r\n a.download = filename;\r\n document.body.appendChild(a);\r\n a.click();\r\n a.remove();\r\n }\r\n })\r\n .catch((err) => {\r\n dispatch(setErrors(err));\r\n });\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\nexport const deleteSelectedProjectGoal = (uniqueProjectGoalIds,setMessage:any,setDisplayInfoModal:any): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/tappeformancereport/projectgoals/delete`,uniqueProjectGoalIds);\r\n if (res.status === \"done\") {\r\n dispatch(setDeletedGoalIds(uniqueProjectGoalIds))\r\n setMessage(\"Selected Goal(s) deleted\");\r\n setDisplayInfoModal(true);\r\n \r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n} catch (error) {\r\n dispatch(setErrors(error));\r\n}\r\n};\r\n\r\nexport const onCloneProject = (uniqueProjectId:any,setMessage, setDisplayInfoModal,setCloneData): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/tappeformancereport/projectdetail/${uniqueProjectId}/clone`,null);\r\n if (res.status === \"done\") {\r\n if (res?.data) {\r\n setCloneData(res.data);\r\n setDisplayInfoModal(true);\r\n setMessage('Project Details Cloned');\r\n } else { \r\n setMessage(res.message);\r\n }\r\n\r\n } else { \r\n dispatch(setErrors(res.error));\r\n dispatch(setTabChangeMessageHandler(true))\r\n\t\t\t\tdispatch(setTabChangeMessage(res.message))\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n}\r\n\r\n\r\nexport const {\r\n setErrors,\r\n setBranches,\r\n setSystemTaskList,\r\n setInspectionTurnaroundList,\r\n setInspectionTurnaroundPageDetails,\r\n setTapPerformanceReportList,\r\n\tsetTapPerformanceReportListPageDetails,\r\n setSystemList,\r\n setgoalList,\r\n\tsetgoalListDetails,\r\n setUpdatedGoal,\r\n setUpdatedDeficiency,\r\n setInspectionDeficiencyList,\r\n setInspectionDeficiencyPageDetails,\r\n setComment,\r\n setDeletedProjectDetails,\r\n setSoftwareVersionList,\r\n setSoftwareVersionPageDetails,\r\n setUpdatedSoftwareVersionData,\r\n setProjectDetails,\r\n setNewlyAddedData,\r\n setDependencyCheckData,\r\n setCheckTAPPerformanceReportGenerated,\r\n setUpdatedProjectDetailsData,\r\n setcheckIsValueChanged,\r\n setDeletedGoalIds,\r\n clearDeletedGoalIds,\r\n setTabChangeMessageHandler,\r\n setTabChangeMessage,\r\n setclonedProjectData,\r\n} = ProvenOutcomesState.actions;\r\n\r\nexport default ProvenOutcomesState.reducer;\r\n","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\";\r\nimport { zlink, baseURL } from \"../../../service/HttpService\";\r\nimport { AppThunk } from \"../../store\";\r\nexport interface SalesActivityState {\r\n errors: any;\r\n panelTypeData: any;\r\n equipmentTypeData: any;\r\n modelData: any;\r\n selectedBranchOfficeData: any\r\n selectedPanelTypedata: any\r\n selectedEquipmentTypeData: any\r\n selectedModelData: any\r\n branchOfficeListForSalesActivity:any\r\n}\r\nlet initialState: SalesActivityState = {\r\n errors: \"\",\r\n panelTypeData: [],\r\n equipmentTypeData: [],\r\n modelData: [],\r\n selectedBranchOfficeData: [],\r\n selectedPanelTypedata: [],\r\n selectedEquipmentTypeData: [],\r\n selectedModelData: [],\r\n branchOfficeListForSalesActivity:[]\r\n};\r\nconst SalesActivityState = createSlice({\r\n name: \"salesActivity\",\r\n initialState,\r\n reducers: {\r\n setErrors: (state, { payload }: PayloadAction) => {\r\n state.errors = payload;\r\n },\r\n setPanelTypeListData: (state, { payload }: PayloadAction) => {\r\n state.panelTypeData = payload;\r\n },\r\n setEquipmentTypeListData: (state, { payload }: PayloadAction) => {\r\n state.equipmentTypeData = payload;\r\n },\r\n setModelListData: (state, { payload }: PayloadAction) => {\r\n state.modelData = payload;\r\n },\r\n setSelectedBranchOfficeData: (state, { payload }: PayloadAction) => {\r\n state.selectedBranchOfficeData = payload;\r\n },\r\n setSelectedPanelTypedata: (state, { payload }: PayloadAction) => {\r\n state.selectedPanelTypedata = payload;\r\n },\r\n setSelectedEquipmentTypeData: (state, { payload }: PayloadAction) => {\r\n state.selectedEquipmentTypeData = payload;\r\n },\r\n setSelectedModelData: (state, { payload }: PayloadAction) => {\r\n state.selectedModelData = payload;\r\n },\r\n setBranchOfficeListForSalesActivity: (state, { payload }: PayloadAction) => {\r\n state.branchOfficeListForSalesActivity = payload;\r\n }\r\n },\r\n});\r\n\r\nexport const getPanelTypeList = (body: any): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/salesactivityreport/paneltypes`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setPanelTypeListData(res.data?.filterTypes));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const getEquipmentTypeList = (body: any): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/salesactivityreport/equipmentclasses`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setEquipmentTypeListData(res.data?.filterTypes));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const getModelList = (body: any): AppThunk => async (dispatch) => {\r\n try {\r\n const res = await zlink.post(`${baseURL}api/v1/salesactivityreport/models`, body);\r\n if (res.status === \"done\") {\r\n dispatch(setModelListData(res?.data?.filterTypes));\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const getBranchOfficeListForSalesActivity = (): AppThunk =>\r\n async (dispatch) => {\r\n try {\r\n const res = await zlink.get(`${baseURL}api/v1/salesactivityreport/branchofficelist`);\r\n if (res.status === \"done\") {\r\n if (res.data) {\r\n dispatch(setBranchOfficeListForSalesActivity(res?.data?.branchOfficeList));\r\n }\r\n } else {\r\n dispatch(setErrors(res.error));\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n };\r\n\r\nexport const {\r\n setErrors,\r\n setPanelTypeListData,\r\n setEquipmentTypeListData,\r\n setModelListData,\r\n setSelectedBranchOfficeData,\r\n setSelectedPanelTypedata,\r\n setSelectedEquipmentTypeData,\r\n setSelectedModelData,\r\n setBranchOfficeListForSalesActivity\r\n} = SalesActivityState.actions;\r\nexport default SalesActivityState.reducer;","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\";\r\nimport { zlink, baseURL } from \"../../../../service/HttpService\";\r\nimport { AppThunk } from \"../../../store\";\r\n\r\nexport interface feedbackState {\r\n errors: any;\r\n notificationMessage: any;\r\n}\r\n\r\nlet initialState: feedbackState = {\r\n errors: \"\",\r\n notificationMessage: {}\r\n};\r\n\r\nconst notificationMessageSlice = createSlice({\r\n name: \"notificationmessage\",\r\n initialState,\r\n reducers: {\r\n setErrors: (state, { payload }: PayloadAction) => {\r\n state.errors = payload;\r\n },\r\n setNotificationMessageData: (state, { payload }: PayloadAction) => {\r\n state.notificationMessage = payload;\r\n }\r\n },\r\n});\r\n\r\nexport const getNotificationMessage = (): AppThunk => async (dispatch) => {\r\n try {\r\n dispatch(setNotificationMessageData([]));\r\n const res = await zlink.get(`${baseURL}api/v1/notificationmessage/data`);\r\n if (res.status === \"done\") {\r\n if (res.data) {\r\n dispatch(setNotificationMessageData(res.data));\r\n }\r\n } else {\r\n dispatch(setErrors(res.error));\r\n if (res.message) {\r\n }\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const sendNotifcationMessage = (body: any, setDisplayInfoModal,setMessage,setShowModal): AppThunk => async (dispatch) => {\r\n try {\r\n dispatch(setNotificationMessageData([]));\r\n const res = await zlink.post(`${baseURL}api/v1/notificationmessage/save`, body);\r\n if (res.status === \"done\") { \r\n setShowModal(false)\r\n setMessage(\"Notification Message updated\");\r\n setDisplayInfoModal(true); \r\n } else {\r\n setMessage(\" Failed to update notification message\");\r\n setDisplayInfoModal(true);\r\n }\r\n } catch (error) {\r\n dispatch(setErrors(error));\r\n }\r\n};\r\n\r\nexport const {\r\n setErrors,\r\n setNotificationMessageData\r\n} = notificationMessageSlice.actions;\r\n\r\nexport default notificationMessageSlice.reducer;","import { combineReducers } from '@reduxjs/toolkit';\r\nimport AdministrationSliceReducer from './pages/Administration/administrationSlice';\r\nimport LoginSliceReducer from './pages/Login/loginSlice';\r\nimport LogOutSliceReducer from './pages/Login/logOutSlice';\r\nimport DashboardSliceReducer from './pages/Dashboard/dashboardSlice';\r\nimport UserSliceReducer from './pages/Administration/User/userSlice';\r\nimport SiteSliceReducer from './pages/Administration/Site/siteSlice';\r\nimport ContractSliceReducer from './pages/Inspection/Contracts/contractSlice';\r\nimport SystemSliceReducer from './pages/Inspection/Systems/systemSlice';\r\nimport ReportSliceReducer from './pages/Manage/InspectionSettings/Reports/ReportsSlice';\r\nimport ReportTemplateSliceReducer from './pages/Manage/InspectionSettings/Reports/ReportTemplateSlice';\r\nimport ZoneSliceReducer from './pages/Manage/OrganizationSettings/zoneSlice';\r\nimport SalesOfficeSliceReducer from './pages/Manage/OrganizationSettings/salesOfficeSlice';\r\nimport BranchOfficeSliceReducer from './pages/Manage/OrganizationSettings/branchOfficeSlice';\r\nimport SearchSliceReducer from './pages/Administration/Search/searchSlice';\r\nimport InspectionTaskReducer from './pages/Inspection/InspectionTask/inspectionTaskSlice';\r\nimport InspectionTaskFilterReducer from './pages/Inspection/InspectionTask/inspectionTaskFilterSlice';\r\nimport HealthClassificationReducer from './pages/Manage/Lookups/HealthClassification/healthClassificationSlice';\r\nimport NFPAClassificationReducer from './pages/Manage/Lookups/NFPAClassification/NFPAClassificationSlice';\r\nimport ReportConfigSliceReducer from './pages/Manage/InspectionSettings/Reports/ReportConfigSlice';\r\nimport CommonAttributeSliceReducer from './pages/Manage/Customization/Attributes/CommonAttributeSlice';\r\nimport EquipmentTypeAttributeValueReducer from './pages/Manage/Customization/Attributes/EquipmentTypeAttributeValueSlice';\r\nimport EquipmentTypeAttributeSliceReducer from './pages/Manage/Customization/Attributes/EquipmentTypeAttributeSlice'\r\nimport ReportMappingReducer from './pages/Manage/InspectionSettings/ReportMapping/ReportMappingslice';\r\nimport InspectionFieldSlice from './pages/Manage/InspectionSettings/InspectionFields/InspectionFieldSlice';\r\nimport InspectionReportSliceReducer from \"./pages/Inspection/InspectionReports/inspectionReportsSlice\"\r\nimport SelectSiteReducer from './pages/Dashboard/Header/selectSiteSlice'\r\nimport ReportGroupSliceReducer from './pages/Manage/InspectionSettings/Reports/ReportGroupSlice';\r\nimport EquipmentSliceReducer from './pages/Inspection/InspectionTask/InspectionDetails/Equipment/EquipmentSlice';\r\nimport personalSettingsSliceReducer from './pages/Dashboard/UserMenu/personalSettingsSlice';\r\nimport feedbackSliceReducer from './pages/Dashboard/UserMenu/feedbackSlice';\r\nimport sendMailSliceReducer from './pages/Dashboard/UserMenu/sendMailSlice';\r\nimport CommonSliceReducer from \"./common/commonSlice\";\r\nimport linkSliceReducer from './common/linkSlice';\r\nimport pluginSliceReducer from './common/pluginSlice';\r\nimport InspectionDetailsSlice from './pages/Inspection/InspectionTask/InspectionDetails/InspectionDetails/InspectionDetailsSlice';\r\nimport passwordPolicySlice from 'pages/SecuritySettings/passwordPolicySlice';\r\nimport mailDomainSlice from './common/mailDomainSlice';\r\nimport logBookSlice from './pages/Administration/LogBook/logBookSlice';\r\nimport CustomizationSlice from './pages/Manage/Customization/CustomizationSlice';\r\nimport eventControllerSlice from './common/event/eventControllerSlice';\r\nimport ToolSlice from './pages/Manage/Tools/ToolSlice';\r\nimport BuildingSliceReducer from './pages/Administration/Building/buildingSlice';\r\nimport FloorSliceReducer from './pages/Administration/Floor/floorSlice';\r\nimport AsBuiltsSliceReducer from './pages/AsBuilts/AsBuiltsSlice';\r\nimport inspectionDrawingSliceReducer from './pages/Inspection/InspectionTask/inspectionDrawingSlice';\r\nimport CustomizeReportSliceReducer from './common/report/customizeReportSlice';\r\nimport ProvenOutcomesSliceReducer from './pages/Reports/ProvenOutcomesSlice';\r\nimport SalesActivitySliceReducer from './pages/Reports/SalesActivitySlice';\r\nimport NotificationMessageSliceReducer from './pages/Dashboard/UserMenu/NotificationMessageSlice';\r\n\r\nconst rootReducer = combineReducers({\r\n administration: AdministrationSliceReducer,\r\n user: UserSliceReducer,\r\n site: SiteSliceReducer,\r\n login: LoginSliceReducer,\r\n logOut: LogOutSliceReducer,\r\n dashboard: DashboardSliceReducer,\r\n contract: ContractSliceReducer,\r\n system: SystemSliceReducer,\r\n report: ReportSliceReducer,\r\n reportTemplate: ReportTemplateSliceReducer,\r\n zone: ZoneSliceReducer,\r\n salesOffice: SalesOfficeSliceReducer,\r\n branchOffice: BranchOfficeSliceReducer,\r\n search: SearchSliceReducer,\r\n inspectionTask: InspectionTaskReducer,\r\n healthClassification: HealthClassificationReducer,\r\n nfpaclassification: NFPAClassificationReducer,\r\n reportConfig: ReportConfigSliceReducer,\r\n commonAttribute: CommonAttributeSliceReducer,\r\n equipmentTypeAttributeValue: EquipmentTypeAttributeValueReducer,\r\n inspectionTaskFilter: InspectionTaskFilterReducer,\r\n EquipmentTypeAttribute: EquipmentTypeAttributeSliceReducer,\r\n reportMapping: ReportMappingReducer,\r\n InspectionField: InspectionFieldSlice,\r\n inspectionReport: InspectionReportSliceReducer,\r\n selectSite: SelectSiteReducer,\r\n reportGroup: ReportGroupSliceReducer,\r\n equipment: EquipmentSliceReducer,\r\n personalSettings: personalSettingsSliceReducer,\r\n common: CommonSliceReducer,\r\n link: linkSliceReducer,\r\n plugin: pluginSliceReducer,\r\n inspectionDetails: InspectionDetailsSlice,\r\n passwordPolicy: passwordPolicySlice,\r\n mailDomain: mailDomainSlice,\r\n logBook: logBookSlice,\r\n customization: CustomizationSlice,\r\n feedback: feedbackSliceReducer,\r\n sendMail: sendMailSliceReducer,\r\n event: eventControllerSlice,\r\n tool: ToolSlice,\r\n building: BuildingSliceReducer,\r\n floor: FloorSliceReducer,\r\n asbuilts: AsBuiltsSliceReducer,\r\n inspectionDrawing: inspectionDrawingSliceReducer,\r\n customizeReport: CustomizeReportSliceReducer,\r\n provenOutcomes:ProvenOutcomesSliceReducer,\r\n salesActivity:SalesActivitySliceReducer,\r\n notificationMessage: NotificationMessageSliceReducer,\r\n});\r\n\r\nexport type RootState = ReturnType\r\n\r\nexport default rootReducer;","import { configureStore, Action } from \"@reduxjs/toolkit\";\r\nimport thunk, { ThunkAction } from \"redux-thunk\";\r\n\r\nimport rootReducer, { RootState } from \"./rootReducer\";\r\n\r\nexport type AppThunk = ThunkAction>;\r\n\r\nexport const sintesoStore = configureStore({\r\n reducer: rootReducer,\r\n middleware: [thunk]\r\n});\r\n\r\nexport type AppDispatch = typeof sintesoStore.dispatch;\r\n","import React, { useState, useEffect, memo } from \"react\";\r\nimport { DataTable } from \"primereact/datatable\";\r\nimport { Column } from \"primereact/column\";\r\nimport { Ripple } from \"primereact/ripple\";\r\nimport { classNames } from \"primereact/utils\";\r\nimport { FilterMatchMode } from \"primereact/api\";\r\nimport { InputNumber } from \"primereact/inputnumber\";\r\n\r\nimport PopOver from \"components/common/PopOver/PopOver\";\r\nimport DisplaySetting from \"components/common/DisplaySetting/DisplaySetting\";\r\n\r\ninterface ColProp {\r\n field: string;\r\n header: string;\r\n editor?: any;\r\n style?: any;\r\n sortable: boolean;\r\n}\r\n\r\ntype Cols = ColProp[];\r\n\r\ntype Rows = any[];\r\n\r\ntype SettingListItem = {\r\n id: string | number;\r\n name: string;\r\n onClick: () => void;\r\n};\r\n\r\ninterface IDataTableComponent {\r\n rows: Rows;\r\n cols: Cols;\r\n title: string;\r\n paginator?: boolean;\r\n dataKeyId?: string;\r\n pageDetails?: any;\r\n pageIndex?: number;\r\n getSelectedRowData?: (data: any) => void;\r\n onPageChanged?: (data: any) => void;\r\n searchboxfield?: boolean;\r\n showCustomSearchCmp?: boolean;\r\n CustomSearchCmp?: any;\r\n showFilterIcon?: boolean;\r\n onFilterClick?: () => void;\r\n showOptionsIcon?: boolean;\r\n onOptionsClick?: () => void;\r\n showCopyIcon?: boolean;\r\n onCopyClick?: () => void;\r\n onHeaderDropdownChange?: (value: any) => void;\r\n headerTemplate?: JSX.Element;\r\n showCustomHeader?: boolean;\r\n CustomHeaderCmp?: any;\r\n onSortData?: (value: any) => void;\r\n settingRef?: any\r\n onSaveRowEdit?: (data: any, index: any) => void;\r\n onRowEditValidation?: (data: any) => boolean;\r\n onRowEditClick?: (data: any, isData: boolean) => boolean;\r\n showroweditor?: boolean;\r\n settingListItems?: Array;\r\n defaultSelectedRows?: any;\r\n showCheckbox?: boolean;\r\n isLazyLoading?: boolean;\r\n selectedParentRows?: any;\r\n isSelectionFromParent?: boolean;\r\n isTemplateMode?: boolean;\r\n isTemplateFromParent?: boolean;\r\n templateFromParent?: (rowData: any, options: any) => JSX.Element;\r\n showExpandedRows?: boolean;\r\n rowExpandedTemplate?: (rowData: any, options: any) => JSX.Element;\r\n}\r\n\r\nexport const DataTableComponent: React.FC = (props) => {\r\n const {\r\n rows = [],\r\n cols = [],\r\n title = \"\",\r\n paginator = false,\r\n dataKeyId = \"\",\r\n pageDetails = {},\r\n pageIndex = 1,\r\n getSelectedRowData = () => { },\r\n onPageChanged = () => { },\r\n showCustomHeader = false,\r\n CustomHeaderCmp = null,\r\n onSortData = () => { },\r\n settingRef = () => { },\r\n onSaveRowEdit = () => { },\r\n onRowEditValidation = () => true,\r\n onRowEditClick = () => true,\r\n showroweditor = false,\r\n settingListItems = [],\r\n defaultSelectedRows = [],\r\n showCheckbox = false,\r\n isLazyLoading = true,\r\n selectedParentRows = [],\r\n isSelectionFromParent = false,\r\n isTemplateMode = false,\r\n isTemplateFromParent = false,\r\n templateFromParent,\r\n showExpandedRows= false,\r\n rowExpandedTemplate\r\n } = props;\r\n\r\n const [rowData, setRowData] = useState>([]);\r\n const [tableColumns, setTableColumns] = useState>(cols);\r\n const [totalRows, setTotalRows] = useState(100);\r\n const [totalRecords, setTotalRecords] = useState(0);\r\n const [sortField, setSortField] = useState();\r\n const [sortOrder, setSortOrder] = useState(null);\r\n const [firstPage, setFirstPage] = useState(0);\r\n const [lastPage, setLastPage] = useState(0);\r\n const [currentPage, setCurrentPage] = useState(1);\r\n const [pageInputTooltip, setPageInputTooltip] = useState(\"Press 'Enter' key to go to this page.\");\r\n const [selectedRows, setSelectedRows] = useState>([]);\r\n const [filters, setFilters] = useState({\r\n global: { value: null, matchMode: FilterMatchMode.CONTAINS },\r\n });\r\n const [showDisplaySetting, setShowDisplaySetting] = useState(false);\r\n const [expandedRows, setExpandedRows] = useState({});\r\n const [editingRows, setEditingRows] = useState({});\r\n\r\n \r\n \r\n useEffect(() => {\r\n if (cols) {\r\n const updatedColumns = cols.map((col, index) => {\r\n const flexValue = col.style.flex; \r\n return {\r\n ...col,\r\n style: {\r\n flex: flexValue,\r\n whiteSpace: 'normal',\r\n wordWrap: 'break-word',\r\n overflow: 'hidden'\r\n }\r\n };\r\n }); \r\n setTableColumns(updatedColumns);\r\n }\r\n }, [cols, rows]);\r\n\r\n useEffect(() => {\r\n if (isSelectionFromParent) {\r\n setSelectedRows(selectedParentRows);\r\n }\r\n }, [selectedParentRows, isSelectionFromParent])\r\n\r\n useEffect(() => {\r\n setRowData(rows);\r\n setPageInputTooltip(\"Press 'Enter' key to go to this page.\");\r\n setCurrentPage(pageIndex + 1);\r\n setFirstPage(pageIndex * pageDetails?.currentLength);\r\n let lastPageIndex = Math.ceil(pageDetails?.totalCount / pageDetails?.currentLength);\r\n setLastPage(lastPageIndex);\r\n setTotalRecords(pageDetails?.totalCount);\r\n setTotalRows(pageDetails?.pageCount);\r\n }, [pageDetails, rows, pageIndex]);\r\n\r\n \r\n \r\n\r\n const onCustomPage = (event) => {\r\n setSortField('');\r\n setFirstPage(event.first);\r\n setTotalRows(event.rows);\r\n setCurrentPage(event.page + 1);\r\n onPageChanged && onPageChanged(event.page);\r\n };\r\n\r\n const onSort = (event) => {\r\n setFirstPage(event.first);\r\n setTotalRows(event.rows);\r\n setSortField(event.sortField);\r\n setSortOrder(event.sortOrder);\r\n onSortData && onSortData(event);\r\n };\r\n\r\n const paginatorTemplate = {\r\n layout: \"PrevPageLink NextPageLink FirstPageLink PageLinks LastPageLink RowsPerPageDropdown CurrentPageReport JumpToPageInput\",\r\n FirstPageLink: (options) => {\r\n if (pageIndex > 2 && lastPage > 5) {\r\n return (\r\n \r\n );\r\n }\r\n },\r\n PrevPageLink: (options) => {\r\n return (\r\n \r\n );\r\n },\r\n NextPageLink: (options) => {\r\n return (\r\n \r\n );\r\n },\r\n LastPageLink: (options) => {\r\n if (pageIndex < lastPage - 3 && lastPage > 5) {\r\n return (\r\n \r\n );\r\n }\r\n },\r\n PageLinks: (options) => {\r\n if (\r\n (options.view.startPage === options.page && options.view.startPage !== 0) ||\r\n (options.view.endPage === options.page && options.page + 1 !== options.totalPages)\r\n ) {\r\n const className = classNames(options.className, { \"p-disabled\": true });\r\n\r\n return (\r\n \r\n ...\r\n \r\n );\r\n }\r\n\r\n return (\r\n \r\n );\r\n },\r\n JumpToPageInput: (options) => {\r\n return null;\r\n },\r\n RowsPerPageDropdown: (options) => {\r\n return null;\r\n },\r\n CurrentPageReport: (options) => {\r\n return (\r\n \r\n Go to{\" \"}\r\n onPageInputKeyDown(e, options)}\r\n onChange={onPageInputChange}\r\n />\r\n \r\n );\r\n },\r\n };\r\n\r\n const onPageInputKeyDown = (event, options) => {\r\n if (event.key === \"Enter\") {\r\n const page = parseInt(currentPage as any as string);\r\n if (page < 1 || page > options.totalPages) {\r\n setPageInputTooltip(`Value must be between 1 and ${options.totalPages}.`);\r\n } else {\r\n const first = currentPage ? options.rows * (page - 1) : 0;\r\n onPageChanged && onPageChanged(page - 1);\r\n setFirstPage(first);\r\n setPageInputTooltip(\"Press 'Enter' key to go to this page.\");\r\n }\r\n }\r\n };\r\n\r\n const onPageInputChange = (event) => {\r\n setCurrentPage(event.value === null ? 0 : event.value);\r\n };\r\n const renderHeader = () => {\r\n return <>{props.headerTemplate};\r\n };\r\n\r\n const searchHeader = renderHeader();\r\n\r\n useEffect(() => {\r\n if (defaultSelectedRows && defaultSelectedRows.length > 0) { \r\n setSelectedRows(defaultSelectedRows);\r\n getSelectedRowData(defaultSelectedRows);\r\n } else {\r\n if (rowData?.length > 0 && !isSelectionFromParent) {\r\n if (selectedRows.length === 0) {\r\n const firstRowEle = rowData[0]; \r\n setSelectedRows([firstRowEle]);\r\n getSelectedRowData([firstRowEle]);\r\n }\r\n } else {\r\n setSelectedRows([]); //To clear previous selected row.\r\n getSelectedRowData([]); //To clear previous value of selected row.\r\n }\r\n }\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [rowData]);\r\n\r\n const onSelectRow = (e: any) => {\r\n setSelectedRows(e.value);\r\n getSelectedRowData(e.value);\r\n };\r\n\r\n const onRowEditComplete = (e) => {\r\n let { newData, index } = e;\r\n\r\n onSaveRowEdit && onSaveRowEdit(newData, index);\r\n };\r\n\r\n const rowEditValidator = (rowData, options) => {\r\n let value = false;\r\n value = onRowEditValidation(rowData);\r\n return value;\r\n };\r\n\r\n const onRowEditChange = (e) => {\r\n if (Object.keys(editingRows).length === 0 || Object.keys(e.data).length === 0) {\r\n let isEditable = true;\r\n const isData = Object.keys(e.data).length ? true : false; \r\n const findIndex = rowData?.findIndex((item)=> item[dataKeyId] == Object.keys(e.data)[0]); \r\n isEditable = onRowEditClick(rowData[findIndex],isData);\r\n if (isEditable) {\r\n setEditingRows(e.data);\r\n }\r\n }\r\n }; \r\n\r\n const columnTemplate = (rowData, options) => {\r\n return (\r\n
{rowData[options.field]}
\r\n )\r\n }\r\n\r\n const NormalColumns = tableColumns.map(({ field, header, editor, style, sortable, headerClassName, align }) => {\r\n return (\r\n \r\n )\r\n })\r\n\r\n const TemplateColumns = tableColumns.map(({ field, header, editor, style, sortable, headerClassName, align }) => {\r\n return (\r\n \r\n )\r\n })\r\n\r\n const toggleRowExpansion = (e: any) => {\r\n let eventKeys = Object.keys(e.data); \r\n if (eventKeys && eventKeys.length) {\r\n let item: any = {};\r\n if ((eventKeys.length === 1) || (!(Object.keys(expandedRows).length))) {\r\n item[`${eventKeys[0]}`] = true;\r\n } else {\r\n let rowsExpanded = Object.keys(expandedRows);\r\n eventKeys.forEach(element => {\r\n if (!(rowsExpanded.includes(element.toString()))) {\r\n item[`${element}`] = true; \r\n }\r\n });\r\n }\r\n setExpandedRows(item);\r\n } else {\r\n setExpandedRows({}); \r\n }\r\n }\r\n\r\n return (\r\n <>\r\n
\r\n {showCustomHeader ? :
{title}
}\r\n onSelectRow(e)}\r\n dataKey={dataKeyId}\r\n emptyMessage=\"No data found.\"\r\n header={searchHeader}\r\n filters={filters}\r\n onFilter={(e) => setFilters(e.filters as any)}\r\n scrollDirection=\"both\"\r\n scrollable\r\n resizableColumns\r\n columnResizeMode=\"expand\"\r\n showGridlines={false}\r\n expandedRows={expandedRows}\r\n totalRecords={totalRecords}\r\n lazy={isLazyLoading}\r\n onRowToggle={(e) => toggleRowExpansion(e)}\r\n rowExpansionTemplate={rowExpandedTemplate}\r\n >\r\n {showroweditor ? : null}\r\n {showCheckbox ? () : null}\r\n {showExpandedRows ? () : null}\r\n {isTemplateMode ? TemplateColumns : NormalColumns}\r\n \r\n
\r\n \r\n
    \r\n {settingListItems?.length > 0 &&\r\n settingListItems.map((item: SettingListItem) => (\r\n
  • \r\n {item?.name}\r\n
  • \r\n ))}\r\n
  • setShowDisplaySetting(true)}>\r\n Display Settings\r\n
  • \r\n
\r\n
\r\n {showDisplaySetting && ()}\r\n \r\n );\r\n};\r\n\r\nexport default memo(DataTableComponent);\r\n","export const customBarChartTooltip = ({ active, payload, label }: any) => {\t\r\n if (active && payload && payload.length) {\r\n return (\r\n
\r\n
{label}
\r\n {payload.reverse().map((item, index) => (\r\n

\r\n {`${item.name}: ${item.value}%`}\r\n

\r\n ))}\r\n
\r\n );\r\n }\r\n return null;\r\n};\r\n\r\nexport const customPieChartTooltip = ({ active, payload }: any) => {\r\n if (active && payload && payload.length) {\r\n return (\r\n
\r\n

{`${payload[0].name}: ${payload[0].value}%`}

\r\n
\r\n );\r\n }\r\n return null;\r\n};\r\n\r\nexport const customInspectionDetailsChartTooltip = ({ active, payload, label }: any) => {\r\n if (active && payload && payload.length) {\r\n return (\r\n
\r\n
{label}
\r\n {payload.reverse().map((item, index) => (\r\n

\r\n {`${item.name}: ${item.name == \"Active\" ? item?.payload?.activeCount:(item.name == \"Closed\"?item?.payload?.closeCount:(item.name == \"Completed\"?item?.payload?.completedCount:item?.payload?.inactiveCount))}`}\r\n

\r\n ))}\r\n
\r\n );\r\n }\r\n return null;\r\n};\r\n\r\nexport const customContractChartTooltip = ({ active, payload, label }: any) => {\t\r\n if (active && payload && payload.length) {\r\n return (\r\n
\r\n
{label}
\r\n {payload.map((item, index) => (\r\n

\r\n {`${item.name}: ${item.value}%`}\r\n

\r\n ))}\r\n
\r\n );\r\n }\r\n return null;\r\n};\r\n\r\n","\r\nexport const INSPECTION_TASKS_COL = [\r\n\t{\r\n\t\tfield: \"inspectionTaskName\",\r\n\t\theader: \"Inspection Task Name\",\r\n\t\tstyle: { flex: \"1 0 200px\" },\r\n\t\tsortable: true,\r\n\t},\r\n\t{\r\n\t\tfield: \"customerName\",\r\n\t\theader: \"Sold to Customer\",\r\n\t\tstyle: { flex: \"1 0 160px\" },\r\n\t\tsortable: true,\r\n\t},\r\n\t{\r\n\t\tfield: \"reportsCreated\",\r\n\t\theader: \"Report(s) Created\",\r\n\t\tstyle: { flex: \"1 0 150px\" },\r\n\t\tsortable: true,\r\n\t},\r\n\t{\r\n\t\tfield: \"reportsUploaded\",\r\n\t\theader: \"Report(s) Uploaded\",\r\n\t\tstyle: { flex: \"1 0 140px\" },\r\n\t\tsortable: true,\r\n\t},\r\n\t{\r\n\t\tfield: \"configFile\",\r\n\t\theader: \"Config File\",\r\n\t\tstyle: { flex: \"1 0 100px\" },\r\n\t\tsortable: true,\r\n\t},\r\n\t{\r\n\t\tfield: \"leadTechnician\",\r\n\t\theader: \"Lead Tech\",\r\n\t\tstyle: { flex: \"1 0 200px\" },\r\n\t\tsortable: true,\r\n\t},\r\n];\r\n\r\nexport const EQUIPMENT_COLS = [\r\n\t{\r\n\t\tfield: 'equipmentType',\r\n\t\theader: 'Equipment Type',\r\n\t\tstyle: { flex: '1 0 150px' },\r\n\t\tsortable: true,\r\n\t},\r\n\t{\r\n\t\tfield: 'equipmentName',\r\n\t\theader: 'Equipment',\r\n\t\tstyle: { flex: '1 0 150px' },\r\n\t\tsortable: true,\r\n\t},\r\n\t{\r\n\t\tfield: 'systemName',\r\n\t\theader: 'System',\r\n\t\tstyle: { flex: '1 0 150px' },\r\n\t\tsortable: true,\r\n\t},\r\n\t{\r\n\t\tfield: 'inspectionTaskName',\r\n\t\theader: 'Inspection Task',\r\n\t\tstyle: { flex: '1 0 350px' },\r\n\t\tsortable: true,\r\n\t},\r\n\t{\r\n\t\tfield: 'contractName',\r\n\t\theader: 'Contract',\r\n\t\tstyle: { flex: '1 0 350px' },\r\n\t\tsortable: true,\r\n\t},\r\n\t{\r\n\t\tfield: 'customerName',\r\n\t\theader: 'Customer',\r\n\t\tstyle: { flex: '1 0 350px' },\r\n\t\tsortable: true,\r\n\t},\r\n\t{\r\n\t\tfield: 'siteName',\r\n\t\theader: 'Site',\r\n\t\tstyle: { flex: '1 0 350px' },\r\n\t\tsortable: true,\r\n\t},\r\n\t{\r\n\t\tfield: 'testedDate',\r\n\t\theader: 'Test Date',\r\n\t\tstyle: { flex: '1 0 160px' },\r\n\t\tsortable: true,\r\n\t},\r\n\t{\r\n\t\tfield: 'notificationNumber',\r\n\t\theader: 'Notification Number',\r\n\t\tstyle: { flex: '1 0 180px' },\r\n\t\tsortable: true,\r\n\t},\r\n\t{\r\n\t\tfield: 'comment',\r\n\t\theader: 'Comment',\r\n\t\tstyle: { flex: '1 0 380px' },\r\n\t\tsortable: true,\r\n\t},\r\n\t{\r\n\t\tfield: 'inspectionTaskStatus',\r\n\t\theader: 'Task Status',\r\n\t\tstyle: { flex: '1 0 120px' },\r\n\t\tsortable: true,\r\n\t},\r\n\t{\r\n\t\tfield: 'inspectionTaskLeadTechName',\r\n\t\theader: 'Lead Tech',\r\n\t\tstyle: { flex: '1 0 300px' },\r\n\t\tsortable: true,\r\n\t},\r\n\t{\r\n\t\tfield: 'inspectionTaskLeadTechMail',\r\n\t\theader: 'Lead Tech Email',\r\n\t\tstyle: { flex: '1 0 300px' },\r\n\t\tsortable: true,\r\n\t}\r\n];\r\n\r\n\r\nexport const CONTRACT_COLS = [\r\n\t{\r\n\t\tfield: 'customerName',\r\n\t\theader: 'Customer',\r\n\t\tstyle: { flex: '1 0 150px' },\r\n\t\tsortable: true,\r\n\t},\r\n\t{\r\n\t\tfield: 'contractNumber',\r\n\t\theader: 'Contract Number',\r\n\t\tstyle: { flex: '1 0 150px' },\r\n\t\tsortable: true,\r\n\t},\r\n\t{\r\n\t\tfield: 'contractName',\r\n\t\theader: 'Contract Name',\r\n\t\tstyle: { flex: '1 0 200px' },\r\n\t\tsortable: true,\r\n\t},\r\n\t{\r\n\t\tfield: 'startDate',\r\n\t\theader: 'Start Date',\r\n\t\tstyle: { flex: '1 0 120px' },\r\n\t\tsortable: true,\r\n\t},\r\n\t{\r\n\t\tfield: 'endDate',\r\n\t\theader: 'End Date',\r\n\t\tstyle: { flex: '1 0 120px' },\r\n\t\tsortable: true,\r\n\t},\r\n\t{\r\n\t\tfield: 'notes',\r\n\t\theader: 'Notes',\r\n\t\tstyle: { flex: '1 0 120px' },\r\n\t\tsortable: true,\r\n\t},\r\n\t{\r\n\t\tfield: 'status',\r\n\t\theader: 'Status',\r\n\t\tstyle: { flex: '1 0 80px' },\r\n\t\tsortable: true,\r\n\t},\r\n\t{\r\n\t\tfield: 'salesOfficeName',\r\n\t\theader: 'Sales Office',\r\n\t\tstyle: { flex: '1 0 100px' },\r\n\t\tsortable: true,\r\n\t},\r\n\r\n];\r\n\r\nexport const PERFORMANCE_TABLE_COL = [\r\n\t{\r\n\t\tfield: \"panelTypeName\",\r\n\t\theader: \"System Type\",\r\n style: { flex: '1 0 300px' },\r\n\t\tsortable: true\r\n\t},\r\n\t{\r\n\t\tfield: \"usage\",\r\n\t\theader: \"Usage (%)\",\r\n style: { flex: '1 0 80px' },\r\n\t\talign: \"right\",\r\n\t\tsortable: true\r\n\t}\r\n];","import React, { memo, useEffect, useState } from \"react\";\r\n\r\n\r\ninterface ARViewer {\r\n openReport: (id: string) => void;\r\n}\r\n\r\nconst ReportViewer: React.FC<{ reportId: string }> = ({ reportId }) => {\r\n const [viewerInstance, setViewerInstance] = useState(undefined);\r\n useEffect(() => {\r\n if (!viewerInstance) {\r\n const viewer = (window as any).GrapeCity.ActiveReports.JSViewer.create({\r\n element: \"#viewerContainer\",\r\n displayMode: 'Continuous'\r\n });\r\n // viewer.toolbar.addItem(pdfExportButton);\r\n setViewerInstance(viewer);\r\n }\r\n if (reportId) {\r\n viewerInstance?.openReport(reportId);\r\n }\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [reportId]);\r\n return
;\r\n};\r\n\r\nexport default memo(ReportViewer);","import React, { useEffect, useState } from \"react\";\r\nimport { useForm, Controller } from \"react-hook-form\";\r\nimport { Dropdown } from \"primereact/dropdown\";\r\nimport { classNames } from \"primereact/utils\";\r\nimport { Dialog } from \"primereact/dialog\";\r\nimport ReportViewer from \"components/common/Report/ReportViewer\"\r\nimport { useAppSelector } from \"redux/hooks\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { createReportPreviewSession, setReportPreviewSession } from \"redux/pages/Administration/Site/siteSlice\";\r\n\r\n\r\ninterface Props {\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n reportFlag: string;\r\n selectedRows: any;\r\n sortByColumns: any;\r\n sortField: any;\r\n sortOrder: any;\r\n\r\n}\r\n\r\ntype FormData = {\r\n sortBy: string;\r\n};\r\n\r\nexport const FaileEquipmentReport: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => { },\r\n reportFlag = '',\r\n selectedRows = [],\r\n sortByColumns = [],\r\n sortField= '',\r\n sortOrder = '',\r\n\r\n}) => {\r\n\r\n const {\r\n control,\r\n } = useForm({\r\n defaultValues: {\r\n sortBy: \"\",\r\n },\r\n });\r\n\r\n const [sortByLookup, setSortByLookup] = useState([{ field: \"\", header: \"\" }]);\r\n const [reportId, setReportId] = useState(null);\r\n const [sortColumn, setSortColumn] = useState(sortField);\r\n const [sortDirection, setSortDirection] = useState(sortOrder);\r\n const reportPreviewSession = useAppSelector((state) => state.site.reportPreviewSession);\r\n const dispatch = useDispatch();\r\n\r\n useEffect(() => {\r\n if (sortByColumns?.length) {\r\n let sortBy: { field: string; header: string }[] = [];\r\n sortByColumns?.map((item: any) => {\r\n return sortBy.push({ field: item.field, header: item.header });\r\n });\r\n setSortByLookup(sortBy);\r\n }\r\n }, [sortByColumns]);\r\n\r\n const getSelectedIds = () => {\r\n let params: any = [];\r\n selectedRows.map(item => {\r\n params.push(item.equipmentId);\r\n });\r\n return params;\r\n };\r\n\r\n useEffect(() => {\r\n let params;\r\n if (reportFlag === 'all') {\r\n params = \"\";\r\n } else {\r\n params = getSelectedIds();\r\n }\r\n const reportParameters = {\r\n reportParameters: {\r\n sortColumn: sortColumn,\r\n selectedIds: params,\r\n sortOrder:sortDirection\r\n },\r\n reportType: \"Failed Equipment Report\"\r\n };\r\n setSortDirection('')\r\n dispatch(createReportPreviewSession(reportParameters));\r\n }, [sortColumn]);\r\n\r\n useEffect(() => {\r\n if (reportPreviewSession) {\r\n setReportId(reportPreviewSession.previewSessionId);\r\n }\r\n }, [reportPreviewSession])\r\n\r\n return (\r\n <>\r\n {\r\n dispatch(setReportPreviewSession(\"\"));\r\n setShowModal(false);\r\n }}\r\n className=\"display-settings report selectsite\"\r\n style={{ width: \"90vw\", height: \"600px\" }}\r\n >\r\n
\r\n
\r\n
\r\n
\r\n \r\n (\r\n {\r\n setSortColumn(e.value);\r\n }}\r\n options={sortByLookup}\r\n optionLabel=\"header\"\r\n optionValue=\"header\"\r\n />\r\n )}\r\n />\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default FaileEquipmentReport;\r\n","import React, { memo, useCallback, useEffect, useState } from \"react\";\r\nimport { Tab, Tabs } from \"react-bootstrap\";\r\nimport { DataTableComponent } from \"components/Table/DataTable\";\r\nimport { Checkbox } from \"primereact/checkbox\";\r\nimport { Button } from \"primereact/button\";\r\nimport { AiOutlineExpandAlt, AiOutlineShrink } from \"react-icons/ai\";\r\nimport InformationBox from \"components/common/Message/InformationBox/InformationBox\";\r\nimport ConfirmationBox from \"components/common/Message/ConfirmationBox/ConfirmationBox\";\r\n\r\nimport { ResponsiveContainer, BarChart, XAxis, Legend, Bar, Tooltip, YAxis, LabelList } from \"recharts\";\r\n\r\n// Utility\r\nimport { getTaskListGridColumns } from \"./utility\";\r\nimport { showUI } from './../../../../service/GeneralUtility';\r\nimport { customBarChartTooltip } from \"../../utility\";\r\nimport { INSPECTION_TASKS_COL, EQUIPMENT_COLS, CONTRACT_COLS } from \"../../DashboardData\";\r\n\r\n// Routing\r\nimport { useLocation, useNavigate } from \"react-router-dom\";\r\nimport { APP_ROUTES } from \"constants/AppRoutes\";\r\n\r\n// Redux\r\nimport { useDispatch } from \"react-redux\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\nimport {\r\n\tgetReportsGenerated,\r\n\tgetEquipmentSummary,\r\n\tgetFailedEquipments,\r\n\tcloseInspectionTasks,\r\n\tsetEquipmentSummary,\r\n\tsetReportSummary\r\n} from \"redux/pages/Dashboard/dashboardSlice\";\r\nimport {\r\n\tgetActiveInspectionTasks,\r\n\tgetClosedInspectionTasks,\r\n\tgetCompletedInspectionTasks,\r\n\tgetExpiredContractList,\r\n\tsetInspectionSearchId\r\n} from \"redux/pages/Inspection/InspectionTask/inspectionTaskSlice\";\r\nimport { setAsActiveSiteForSite, setActiveSiteForSite } from \"redux/pages/Administration/Site/siteSlice\";\r\nimport { setDefaultValues } from \"redux/pages/Inspection/InspectionTask/inspectionTaskFilterSlice\";\r\nimport { setContractSearchId } from \"redux/pages/Inspection/Contracts/contractSlice\";\r\nimport PopOver from \"components/common/PopOver/PopOver\";\r\nimport { FaChevronDown, FaDownload } from \"react-icons/fa\";\r\nimport { OverlayPanel } from \"primereact/overlaypanel\";\r\nimport { onExportReport } from \"redux/common/report/customizeReportSlice\";\r\nimport FaileEquipmentReport from \"./Reports/FailedEquipmentReport\";\r\n\r\ninterface PropType {\r\n\tdefaultSite?: any;\r\n}\r\n\r\nconst InspectionSummary: React.FC = (props) => {\r\n\r\n\tconst { defaultSite } = props;\r\n\r\n\tconst [key, setKey] = useState(\"activeInspection\");\r\n\tconst [minToggle, setMinToggle] = useState(true);\r\n\tconst [gridData, setGridData] = useState([]);\r\n\tconst [columns, setColumns] = useState([]);\r\n\tconst [selectedRows, setSelectedRows] = useState([]);\r\n\tconst [message, setMessage] = useState(\"\");\r\n\tconst [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n\tconst [displayConfirmModal, setDisplayConfirmModal] = useState(false);\r\n\tconst [filterOptions, setFilterOptions] = useState(['availableTasksToQuit', 'unavailableTasksToQuit']);\r\n\tconst [selectAll, setSelectAll] = useState(false);\r\n\tconst [selectedInspectionTasks, setSelectedInspectionTasks] = useState({});\r\n\tconst [closeTaskInProgress, setCloseTaskInProgress] = useState(false);\r\n\tconst [pageIndex, setPageIndex] = useState(0);\r\n\tconst [pageDetails, setPageDetails] = useState({});\r\n\tconst [sortField, setSortField] = useState(\"\");\r\n\tconst [sortOrder, setSortOrder] = useState(\"\");\r\n\tconst [currentStart, setCurrentStart] = useState(1);\r\n\tconst [activeSiteId, setActiveSiteId] = useState(\"\");\r\n\tconst [isNavigate, setIsNavigate] = useState(false);\r\n\tconst [targetPath, setTargetPath] = useState(\"\");\r\n\tconst downloadRef = React.createRef();\r\n\tconst [showReportModal, setShowReportModal] = useState(false);\r\n const [reportFlag, setReportFlag] = useState('all');\r\n\tconst [tableColumns, setTableColumns] = useState>([]);\r\n\tconst [reportsToggle, setReportsToggle] = useState(true);\r\n\tconst [equipmentSummaryToggle, setEquipmentSummaryToggle] = useState(true);\r\n\r\n\tconst navigate = useNavigate();\r\n\tconst dispatch = useDispatch();\r\n\r\n\tconst { state } = useLocation() as any;\r\n const from = state?.innerTab || 'activeInspection'; \r\n\t\r\n\tconst userPrivileges = useAppSelector((state) => state.user.userPrivileges);\r\n\tconst equipmentSummary = useAppSelector((state) => state.dashboard.equipmentSummary);\r\n\tconst reportSummaryData = useAppSelector((state) => state.dashboard.reportSummary);\r\n\tconst activeInspectionTasks = useAppSelector((state) => state.inspectionTask.activeInspectionTasks);\r\n\tconst closedInspectionTasks = useAppSelector((state) => state.inspectionTask.closedInspectionTasks);\r\n\tconst completedInspectionTasks = useAppSelector((state) => state.inspectionTask.completedInspectionTasks);\r\n\tconst failedEquipments = useAppSelector((state) => state.dashboard.failedEquipments);\r\n\tconst expiredContractList = useAppSelector((state) => state.inspectionTask.expiredContractList);\r\n\tconst rowsPerPage = useAppSelector((state) => state.personalSettings.rowsPerPage);\r\n\r\n\tconst taskStatuses = {\r\n 1: 'Active',\r\n 3: 'Closed',\r\n 11: 'Completed',\r\n 36: 'Inactive'\r\n };\r\n\tconst maxChartFont = 1;\r\n\tconst mediumChartFont = 0.7;\r\n\tconst minChartFont = 0.6\r\n\r\n\tuseEffect(()=>\r\n\t\t{\r\n\t\t\tsetKey(from);\r\n\t\r\n\t\t},[from])\r\n\r\n\tuseEffect(() => {\t\r\n\t\tif (key && (defaultSite && defaultSite.uniqueSiteId)) {\t\t\r\n\t\t\tif (key === \"activeInspection\") {\r\n\t\t\t\tif (filterOptions.length === 1) {\r\n\t\t\t\t\tif (filterOptions[0] === 'availableTasksToQuit') {\r\n\t\t\t\t\t\tdispatch(getActiveInspectionTasks(currentStart, '', '', false, true));\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tdispatch(getActiveInspectionTasks(currentStart, '', '', false, false));\r\n\t\t\t\t\t}\r\n\t\t\t\t} else {\r\n\t\t\t\t\tdispatch(getActiveInspectionTasks(1, '', '', true, false));\r\n\t\t\t\t}\r\n\t\t\t} else if (key === \"closedInspection\") {\t\t\t\r\n\t\t\t\tdispatch(getClosedInspectionTasks(1, '', ''));\r\n\t\t\t} else if (key === \"completedInspection\") {\r\n\t\t\t\tdispatch(getCompletedInspectionTasks(1, '', ''));\r\n\t\t\t} else if (key === \"failedEquipment\") {\r\n\t\t\t\tdispatch(getFailedEquipments(defaultSite.uniqueSiteId, 1, '', ''));\r\n\t\t\t} else if (key === \"expiredContracts\") {\r\n\t\t\t\tdispatch(getExpiredContractList(1, '', ''));\r\n\t\t\t}\r\n\t\t}\r\n\t}, [dispatch, defaultSite, key, filterOptions, rowsPerPage]);\r\n\r\n\tuseEffect(() => {\t\t\r\n\t\tif (isNavigate && targetPath && (defaultSite.uniqueSiteId === activeSiteId)) {\t\t\r\n\t\t\tsetIsNavigate(false);\r\n\t\t\tnavigate(`/${targetPath}`);\r\n\t\t}\r\n\t}, [isNavigate, targetPath, activeSiteId, defaultSite, navigate])\r\n\r\n\tuseEffect(() => {\t\t\r\n\t\tif ((activeInspectionTasks && activeInspectionTasks.data) && (key === \"activeInspection\")) {\r\n\t\t\tconst column = getTaskListGridColumns(activeInspectionTasks?.generalProperties);\r\n setColumns([...column]);\r\n\t\t\tsetGridData([...activeInspectionTasks.data]);\t\t\t\r\n\t\t\tif (selectAll) {\t\t\t\r\n\t\t\t\tsetSelectedRows([...activeInspectionTasks.data]);\r\n\t\t\t}\r\n\t\t\tsetPageDetails(activeInspectionTasks.pageDetails);\r\n\t\t}\r\n\t}, [activeInspectionTasks]);\r\n\r\n\tuseEffect(() => {\r\n\t\tif ((closedInspectionTasks && closedInspectionTasks.inspectionTaskDetails) && (key === \"closedInspection\")) {\r\n\t\t\tsetGridData([...closedInspectionTasks.inspectionTaskDetails]);\r\n\t\t\tsetPageDetails(closedInspectionTasks.pageDetails);\r\n\t\t}\r\n\t}, [closedInspectionTasks]);\r\n\r\n\tuseEffect(() => {\r\n\t\tif ((completedInspectionTasks && completedInspectionTasks.inspectionTaskDetails) && (key === \"completedInspection\")) {\r\n\t\t\tsetGridData([...completedInspectionTasks.inspectionTaskDetails]);\r\n\t\t\tsetPageDetails(completedInspectionTasks.pageDetails);\r\n\t\t}\r\n\t}, [completedInspectionTasks]);\r\n\r\n\tuseEffect(() => {\r\n\t\tif ((failedEquipments && failedEquipments.failedEquipments) && (key === \"failedEquipment\")) {\r\n\t\t\tsetGridData([...failedEquipments.failedEquipments]);\r\n\t\t\tsetPageDetails(failedEquipments.pageDetails);\r\n\t\t}\r\n\t}, [failedEquipments]);\r\n\r\n\tuseEffect(() => {\r\n\t\tif ((expiredContractList && expiredContractList.contractDetails) && (key === \"expiredContracts\")) {\r\n\t\t\tsetGridData([...expiredContractList.contractDetails]);\r\n\t\t\tsetPageDetails(expiredContractList.pageDetails);\r\n\t\t}\r\n\t}, [expiredContractList]);\r\n\r\n\tuseEffect(() => {\r\n\t\tif (key && rowsPerPage && rowsPerPage > 0) {\r\n\t\t\tlet modifiedPageDetails: any = {};\r\n\t\t\tswitch (key) {\r\n\t\t\t\tcase \"activeInspection\":\r\n\t\t\t\t\tmodifiedPageDetails = { ...pageDetails, 'currentLength': rowsPerPage, 'pageCount': rowsPerPage };\r\n\t\t\t\t\tsetPageDetails(modifiedPageDetails);\r\n\t\t\t\t\tsetCurrentStart(1)\r\n\t\t\t\t\tsetPageIndex(0);\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase \"closedInspection\":\r\n\t\t\t\t\tmodifiedPageDetails = { ...pageDetails, 'currentLength': rowsPerPage, 'pageCount': rowsPerPage };\r\n\t\t\t\t\tsetPageDetails(modifiedPageDetails);\r\n\t\t\t\t\tsetCurrentStart(1)\r\n\t\t\t\t\tsetPageIndex(0);\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase \"completedInspection\":\r\n\t\t\t\t\tmodifiedPageDetails = { ...pageDetails, 'currentLength': rowsPerPage, 'pageCount': rowsPerPage };\r\n\t\t\t\t\tsetPageDetails(modifiedPageDetails);\r\n\t\t\t\t\tsetCurrentStart(1)\r\n\t\t\t\t\tsetPageIndex(0);\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase \"failedEquipment\":\r\n\t\t\t\t\tmodifiedPageDetails = { ...pageDetails, 'currentLength': rowsPerPage, 'pageCount': rowsPerPage };\r\n\t\t\t\t\tsetPageDetails(modifiedPageDetails);\r\n\t\t\t\t\tsetCurrentStart(1)\r\n\t\t\t\t\tsetPageIndex(0);\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase \"expiredContracts\":\r\n\t\t\t\t\tmodifiedPageDetails = { ...pageDetails, 'currentLength': rowsPerPage, 'pageCount': rowsPerPage };\r\n\t\t\t\t\tsetPageDetails(modifiedPageDetails);\r\n\t\t\t\t\tsetCurrentStart(1)\r\n\t\t\t\t\tsetPageIndex(0);\r\n\t\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\t}, [rowsPerPage]);\r\n\r\n\tconst handleRowSelect = useCallback((data: any) => {\r\n\t\tif (data && data.length) {\r\n\t\t\tsetSelectedRows([...data]);\t\t\t\r\n\t\t} else if (selectAll) {\r\n\t\t\tsetSelectedRows([...gridData]);\r\n\t\t} else {\r\n\t\t\tsetSelectedRows(gridData.length ? [gridData[0]] : []);\r\n\t\t}\r\n\t}, [gridData, selectAll]);\r\n\r\n\tconst toggleHandler = () => {\t\r\n\t\tif (minToggle) {\r\n\t\t\tdispatch(setEquipmentSummary([]));\r\n\t\t\tdispatch(setReportSummary([]));\r\n\t\t\tif (userPrivileges.length) {\r\n\t\t\t\tdispatch(getReportsGenerated());\r\n\t\t\t\tdispatch(getEquipmentSummary());\r\n\t\t\t}\r\n\t\t\tsetMinToggle(false)\r\n\t\t} else {\r\n\t\t\tdispatch(setEquipmentSummary([]));\r\n\t\t\tdispatch(setReportSummary([]));\r\n\t\t\tsetMinToggle(true);\r\n\t\t}\r\n\t};\r\n\r\n\tconst changeTab = (tab: any) => {\r\n\t\tif (tab !== key) {\r\n\t\t\tsetGridData([]);\t\r\n\t\t\tsetSelectedRows([]);\r\n\t\t\tsetPageDetails(null);\r\n\t\t\tsetPageIndex(0);\r\n\t\t\tsetCurrentStart(1);\r\n\t\t\tsetSortField(\"\");\r\n\t\t\tsetSortOrder(\"\");\r\n\t\t\tsetSelectAll(false);\r\n\t\t\t\r\n\t\t\tnavigate(`/${APP_ROUTES.DASHBOARD}`, {\r\n\t\t\t\tstate: {\r\n\t\t\t\t\tfrom: 0,\r\n\t\t\t\t\tinnerTab:tab\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t}\r\n\t};\r\n\r\n\tconst onReportAllClick = () => {\r\n\t\tsetTableColumns(EQUIPMENT_COLS);\r\n setReportFlag('all');\r\n setShowReportModal(true);\r\n };\r\n\r\n const onReportHighlightedClick = () => {\r\n\t\tsetTableColumns(EQUIPMENT_COLS);\r\n setReportFlag('highlighted');\r\n setShowReportModal(true);\r\n };\r\n\tconst onExportAll = () => {\r\n\t\tconst reportParameters = {\r\n exportParameters: {\r\n sortColumn: sortField,\r\n sortOrder: sortOrder,\r\n selectedIds: \"\"\r\n },\r\n exportType: \"Failed Equipment Report\"\r\n };\r\n\t\tdispatch(onExportReport(reportParameters, \"Failed Equipment\"));\r\n\t};\r\n\r\n\tconst onExportHighlightedClick = () => {\r\n\t\tconst reportParameters = {\r\n exportParameters: {\r\n sortColumn: sortField,\r\n sortOrder: sortOrder,\r\n selectedIds: getSelectedids()\r\n },\r\n exportType: \"Failed Equipment Report\"\r\n };\r\n\t\tdispatch(onExportReport(reportParameters, \"Failed Equipment\"));\r\n\t};\r\n\tconst getSelectedids = () => {\r\n let params: any = [];\r\n selectedRows.map(item => {\r\n params.push(item.equipmentId);\r\n });\r\n return params;\r\n };\r\n\r\n\tconst onPageChanged = (options: any) => {\r\n\t\tif (!closeTaskInProgress && (pageIndex !== options)) {\t\t\r\n\t\t\tlet currentStart = (options * pageDetails?.currentLength) + 1;\r\n\t\t\tsetCurrentStart(currentStart);\r\n\t\t\tsetPageIndex(options);\r\n\t\t\tif (key === \"activeInspection\") {\r\n\t\t\t\tif (filterOptions.length && filterOptions.length === 1) {\r\n\t\t\t\t\tif (filterOptions[0] === 'availableTasksToQuit') {\r\n\t\t\t\t\t\tdispatch(getActiveInspectionTasks(currentStart, sortField, sortOrder, false, true));\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tdispatch(getActiveInspectionTasks(currentStart, sortField, sortOrder, false, false));\r\n\t\t\t\t\t}\r\n\t\t\t\t} else {\r\n\t\t\t\t\tdispatch(getActiveInspectionTasks(currentStart, sortField, sortOrder, true, false));\r\n\t\t\t\t}\r\n\t\t\t} else if (key === \"closedInspection\") {\r\n\t\t\t\tdispatch(getClosedInspectionTasks(currentStart, sortField, sortOrder));\r\n\t\t\t} else if (key === \"completedInspection\") {\r\n\t\t\t\tdispatch(getCompletedInspectionTasks(currentStart, sortField, sortOrder));\r\n\t\t\t} else if (key === \"failedEquipment\") {\r\n\t\t\t\tdispatch(getFailedEquipments(defaultSite.uniqueSiteId, currentStart, sortField, sortOrder));\r\n\t\t\t} else if (key === \"expiredContracts\") {\r\n\t\t\t\tdispatch(getExpiredContractList(currentStart, sortField, sortOrder));\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n\r\n\tconst onSort = (event) => {\r\n\t\tif (gridData && gridData.length) {\r\n\t\t\tlet sortDirection: string;\r\n\t\t\tif (event.sortOrder === 1) {\r\n\t\t\t\tsortDirection = \"ASC\";\r\n\t\t\t} else {\r\n\t\t\t\tsortDirection = \"DESC\";\r\n\t\t\t}\r\n\t\t\tsetSortField(event.sortField);\r\n\t\t\tsetSortOrder(sortDirection);\r\n\t\t\tif (key === \"activeInspection\") {\r\n\t\t\t\tif (filterOptions.length === 1) {\r\n\t\t\t\t\tif (filterOptions[0] === 'availableTasksToQuit') {\r\n\t\t\t\t\t\tdispatch(getActiveInspectionTasks(currentStart, event.sortField, sortDirection, false, true));\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tdispatch(getActiveInspectionTasks(currentStart, event.sortField, sortDirection, false, false));\r\n\t\t\t\t\t}\r\n\t\t\t\t} else {\r\n\t\t\t\t\tdispatch(getActiveInspectionTasks(currentStart, event.sortField, sortDirection, true, false));\r\n\t\t\t\t}\r\n\t\t\t} else if (key === \"closedInspection\") {\r\n\t\t\t\tdispatch(getClosedInspectionTasks(currentStart, event.sortField, sortDirection));\r\n\t\t\t} else if (key === \"completedInspection\") {\r\n\t\t\t\tdispatch(getCompletedInspectionTasks(currentStart, event.sortField, sortDirection));\r\n\t\t\t} else if (key === \"failedEquipment\") {\r\n\t\t\t\tdispatch(getFailedEquipments(defaultSite.uniqueSiteId, currentStart, event.sortField, sortDirection));\r\n\t\t\t} else if (key === \"expiredContracts\") {\r\n\t\t\t\tdispatch(getExpiredContractList(currentStart, event.sortField, sortDirection));\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n\r\n\tconst onChangeFilterOptions = (event: any) => {\r\n\t\tsetSortField(\"\");\r\n\t\tsetSortOrder(\"\");\r\n\t\tlet selectItems = [...filterOptions];\r\n\t\tif (event.checked) {\r\n\t\t\tselectItems.push(event.value);\r\n\t\t} else {\r\n\t\t\tselectItems.splice(selectItems.indexOf(event.value), 1);\r\n\t\t}\r\n\t\tsetFilterOptions(selectItems);\r\n\t};\r\n\r\n\tconst onChangeSelectAll = (event: any) => {\r\n\t\tsetSortField(\"\");\r\n\t\tsetSortOrder(\"\");\r\n\t\tif (event) {\r\n\t\t\tif (event.checked) {\r\n\t\t\t\tsetSelectAll(true);\t\t\t\r\n\t\t\t\tsetSelectedRows([...gridData]);\r\n\t\t\t} else {\r\n\t\t\t\tsetSelectAll(false);\t\t\t\t\r\n\t\t\t\tsetSelectedRows([gridData.length ? gridData[0] : []]);\r\n\t\t\t}\r\n\t\t}\r\n\t}\t\r\n\r\n\tconst closeTaskHandler = () => {\r\n\t\tif (selectedRows && selectedRows.length) {\r\n\t\t\tif ((filterOptions.length === 1) && (filterOptions[0] == 'availableTasksToQuit') && (selectedRows.length > 1)) {\r\n\t\t\t\tsetMessage(\"This operation can be performed only one row at a time\");\r\n\t\t\t\tsetDisplayInfoModal(true);\r\n\t\t\t} else {\r\n\t\t\t\tlet body: any = {};\r\n\t\t\t\tif (selectAll) {\r\n\t\t\t\t\tbody = {\r\n\t\t\t\t\t\tisChecked: true\r\n\t\t\t\t\t}\r\n\t\t\t\t} else {\r\n\t\t\t\t\tlet tasks: any = [];\r\n\t\t\t\t\tselectedRows.forEach(element => {\r\n\t\t\t\t\t\tif (element.InspectionTaskId) {\r\n\t\t\t\t\t\t\ttasks.push(element.InspectionTaskId)\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t\t\tbody = {\r\n\t\t\t\t\t\tinspectionTaskIds: tasks,\r\n\t\t\t\t\t\tisrequiredquitting: true\r\n\t\t\t\t\t};\r\n\t\t\t\t}\r\n\t\t\t\tsetSelectedInspectionTasks(body);\r\n\t\t\t\tsetMessage(selectAll ? `Are you sure you want to close the selected Inspection Task(s)?` : `Are you sure you want to close the selected Inspection Task?`);\r\n\t\t\t\tsetDisplayConfirmModal(true);\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tsetMessage(\"Select an Inspection Task\");\r\n\t\t\tsetDisplayInfoModal(true);\r\n\t\t}\t\t\r\n\t}\r\n\r\n\tconst closeSelectedInspectionTasks = () => {\r\n\t\tsetCloseTaskInProgress(true);\r\n\t\tlet isrequiredquitting = (filterOptions.length && (filterOptions[0] === 'availableTasksToQuit')) ? true : false;\r\n\t\tdispatch(closeInspectionTasks(selectedInspectionTasks, currentStart, isrequiredquitting, setSelectedRows, setSelectAll, setMessage, setDisplayConfirmModal, setDisplayInfoModal, setCloseTaskInProgress));\r\n\t}\r\n\r\n\tconst inspectionTaskTemplate = (rowData, options) => {\t\t\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t{(options.field && ((options.field === \"Inspection Task Name\") || (options.field === \"InspectionTaskName\") || (options.field === \"inspectionTaskName\"))) ?\r\n\t\t\t\t\t( selectTask(rowData)}>\r\n\t\t\t\t\t\t{rowData?.[options?.field]}\r\n\t\t\t\t\t)\r\n\t\t\t\t\t:\r\n\t\t\t\t\t(
{rowData?.[options?.field]}
)\r\n\t\t\t\t}\r\n\t\t\t
\r\n\t\t);\r\n\t};\r\n\r\n\tconst selectTask = (taskSelected: any) => {\t\t\r\n\t\tif (taskSelected) { \r\n\t\t\tlet task = {\r\n\t\t\t\tstatus: taskStatuses[taskSelected.Status ? taskSelected.Status : taskSelected.inspectionTaskStatus],\r\n\t\t\t\tuniqueSiteId: taskSelected.uniqueSiteId ? taskSelected.uniqueSiteId : taskSelected.UniqueSiteId,\r\n\t\t\t\tuniqueSystemId: taskSelected.uniqueSystemId ? taskSelected.uniqueSystemId : taskSelected.UniqueSystemId,\r\n\t\t\t\tuniqueInspectionTaskId: taskSelected.uniqueInspectionTaskId ? taskSelected.uniqueInspectionTaskId : taskSelected.UniqueInspectionTaskId,\r\n\t\t\t\tuniqueContractId: taskSelected.uniqueContractId ? taskSelected.uniqueContractId : taskSelected.UniqueContractId,\r\n\t\t\t\tuniqueCustomerId: taskSelected.uniqueCustomerId ? taskSelected.uniqueCustomerId : taskSelected.UniqueCustomerId,\r\n\t\t\t\tsystemName: taskSelected.systemName ? taskSelected.systemName : taskSelected['System Name'], \r\n\t\t\t\tcontractName: taskSelected.contractName ? taskSelected.contractName : taskSelected['Contract Name'],\r\n\t\t\t\tinspectionTaskName: taskSelected.inspectionTaskName ? taskSelected.inspectionTaskName : (taskSelected['Inspection Task Name'] ? taskSelected['Inspection Task Name'] : taskSelected['InspectionTaskName'])\r\n\t\t\t};\r\n\t\t\tif (task.uniqueSiteId) {\r\n\t\t\t\tsetActiveSiteId(task.uniqueSiteId);\r\n\t\t\t\tdispatch(setActiveSiteForSite(null));\r\n\t\t\t\tdispatch(setAsActiveSiteForSite(task.uniqueSiteId, \"\", \"\"));\r\n\t\t\t}\r\n\t\t\tif (task.uniqueInspectionTaskId) {\r\n\t\t\t\tdispatch(setInspectionSearchId([{uniqueInspectionTaskId:task.uniqueInspectionTaskId,searchBy:\"DASHBOARD\"}]))\t\r\n\t\t\t}\r\n\t\t\tif (task.uniqueCustomerId && task.uniqueContractId) {\r\n\t\t\t\tlet defaultBody = {\r\n\t\t\t\t\tActiveCustomerId: task.uniqueCustomerId,\r\n\t\t\t\t\tActiveContractId: task.uniqueContractId,\r\n\t\t\t\t};\r\n\t\t\t\tdispatch(setDefaultValues(defaultBody));\r\n\t\t\t}\r\n\t\t\tsetTargetPath(`${APP_ROUTES.INSPECTION_TASKS}`);\r\n\t\t\tsetIsNavigate(true);\r\n\t\t\tsetSelectAll(false);\r\n\t\t}\r\n\t}\t\r\n\r\n\tconst equipmentTemplate = (rowData, options) => {\t\t\t\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t
{rowData?.[options?.field]}
\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n\r\n\r\n\tconst contractTemplate = (rowData, options) => {\t\t\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t{(options.field && ((options.field === \"contractNumber\"))) ?\r\n\t\t\t\t\t( selectContract(rowData)}>\r\n\t\t\t\t\t\t{rowData?.[options?.field]}\r\n\t\t\t\t\t)\r\n\t\t\t\t\t:\r\n\t\t\t\t\t(
{rowData?.[options?.field]}
)\r\n\t\t\t\t}\r\n\t\t\t
\r\n\t\t);\r\n\t};\r\n\r\n\tconst selectContract = (contractSelected: any) => {\r\n\t\tif (contractSelected && contractSelected.uniqueContractId && contractSelected.uniqueSiteId) {\r\n\t\t\tsetActiveSiteId(contractSelected.uniqueSiteId);\r\n\t\t\tdispatch(setContractSearchId(contractSelected.uniqueContractId));\r\n\t\t\tdispatch(setActiveSiteForSite(null));\r\n\t\t\tdispatch(setAsActiveSiteForSite(contractSelected.uniqueSiteId, \"\", \"\"));\r\n\t\t\tsetTargetPath(`${APP_ROUTES.CONTRACTS}`);\r\n\t\t\tsetIsNavigate(true);\r\n\t\t}\r\n\t}\r\n\r\n\tconst toogleReportsHandler = () => {\r\n\t\tif (reportsToggle) {\r\n\t\t\tsetReportsToggle(false)\r\n\t\t} else {\r\n\t\t\tsetReportsToggle(true);\r\n\t\t}\r\n\t};\r\n\r\n\tconst toggleEquipmentSummaryHandler = () => {\r\n\t\tif (equipmentSummaryToggle) {\r\n\t\t\tsetEquipmentSummaryToggle(false)\r\n\t\t} else {\r\n\t\t\tsetEquipmentSummaryToggle(true);\r\n\t\t}\r\n\t};\r\n\r\n\treturn (\r\n\t\t
\r\n\t\t\t{!minToggle && (\r\n\t\t\t\t<>\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t toogleReportsHandler()}>\r\n\t\t\t\t\t\t\t\t{reportsToggle ? : }\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t{(reportSummaryData && reportSummaryData.length) ? \r\n\t\t\t\t\t\t\t\t(<>\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t
Reports Generated
\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t) : (<>)\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t toggleEquipmentSummaryHandler()}>\r\n\t\t\t\t\t\t\t\t{equipmentSummaryToggle ? : }\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t{(equipmentSummary && equipmentSummary.length) ? \r\n\t\t\t\t\t\t\t\t(<>\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t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\t\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t onChangeFilterOptions(e)}\r\n\t\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t{(gridData && gridData.length && (filterOptions.length === 1)) ?\r\n\t\t\t\t\t\t\t\t\t(closeTaskHandler()}\r\n\t\t\t\t\t\t\t\t\t/>) \r\n\t\t\t\t\t\t\t\t\t: <>\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t{((gridData.length) && (filterOptions.length === 1) && (filterOptions[0] === 'unavailableTasksToQuit')) ?\r\n\t\t\t\t\t\t\t\t(
\r\n\t\t\t\t\t\t\t\t\t onChangeSelectAll(e)}\r\n\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t
)\r\n\t\t\t\t\t\t\t\t: (<>)\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t) : (<>)\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t pageDetails?.pageCount)) ? true : false}\r\n\t\t\t\t\t\t\t\tpageDetails={pageDetails}\r\n\t\t\t\t\t\t\t\tpageIndex={pageIndex}\r\n\t\t\t\t\t\t\t\tonPageChanged={onPageChanged}\r\n\t\t\t\t\t\t\t\tshowCustomSearchCmp\r\n\t\t\t\t\t\t\t\tgetSelectedRowData={handleRowSelect}\r\n\t\t\t\t\t\t\t\tonSortData={onSort}\r\n\t\t\t\t\t\t\t\tisSelectionFromParent={true}\r\n\t\t\t\t\t\t\t\tselectedParentRows={selectedRows}\r\n\t\t\t\t\t\t\t\tisTemplateMode={true}\r\n\t\t\t\t\t\t\t\tisTemplateFromParent={true}\r\n\t\t\t\t\t\t\t\ttemplateFromParent={inspectionTaskTemplate}\r\n\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t pageDetails?.pageCount)) ? true : false}\r\n\t\t\t\t\t\t\tpageDetails={pageDetails}\r\n\t\t\t\t\t\t\tpageIndex={pageIndex}\r\n\t\t\t\t\t\t\tonPageChanged={onPageChanged}\r\n\t\t\t\t\t\t\tshowCustomSearchCmp\r\n\t\t\t\t\t\t\tgetSelectedRowData={handleRowSelect}\r\n\t\t\t\t\t\t\tonSortData={onSort}\r\n\t\t\t\t\t\t\tisTemplateMode={true}\r\n\t\t\t\t\t\t\tisTemplateFromParent={true}\r\n\t\t\t\t\t\t\ttemplateFromParent={inspectionTaskTemplate}\r\n\t\t\t\t\t\t/>\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t pageDetails?.pageCount)) ? true : false}\r\n\t\t\t\t\t\t\tpageDetails={pageDetails}\r\n\t\t\t\t\t\t\tpageIndex={pageIndex}\r\n\t\t\t\t\t\t\tonPageChanged={onPageChanged}\r\n\t\t\t\t\t\t\tshowCustomSearchCmp\r\n\t\t\t\t\t\t\tgetSelectedRowData={handleRowSelect}\r\n\t\t\t\t\t\t\tonSortData={onSort}\r\n\t\t\t\t\t\t\tisTemplateMode={true}\r\n\t\t\t\t\t\t\tisTemplateFromParent={true}\r\n\t\t\t\t\t\t\ttemplateFromParent={inspectionTaskTemplate}\r\n\t\t\t\t\t\t/>\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t downloadRef.current?.toggle(e)}\r\n\t\t\t\t\t\t\t\ticonPos=\"bottom\"\r\n\t\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t pageDetails?.pageCount)) ? true : false}\r\n\t\t\t\t\t\t\tpageDetails={pageDetails}\r\n\t\t\t\t\t\t\tpageIndex={pageIndex}\r\n\t\t\t\t\t\t\tonPageChanged={onPageChanged}\r\n\t\t\t\t\t\t\tshowCustomSearchCmp\r\n\t\t\t\t\t\t\tgetSelectedRowData={handleRowSelect}\r\n\t\t\t\t\t\t\tonSortData={onSort}\r\n\t\t\t\t\t\t\tisTemplateMode={true}\r\n\t\t\t\t\t\t\tisTemplateFromParent={true}\r\n\t\t\t\t\t\t\ttemplateFromParent={equipmentTemplate}\r\n\t\t\t\t\t\t/>\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t pageDetails?.pageCount)) ? true : false}\r\n\t\t\t\t\t\t\tpageDetails={pageDetails}\r\n\t\t\t\t\t\t\tpageIndex={pageIndex}\r\n\t\t\t\t\t\t\tonPageChanged={onPageChanged}\r\n\t\t\t\t\t\t\tshowCustomSearchCmp\r\n\t\t\t\t\t\t\tgetSelectedRowData={handleRowSelect}\r\n\t\t\t\t\t\t\tonSortData={onSort}\r\n\t\t\t\t\t\t\tisTemplateMode={true}\r\n\t\t\t\t\t\t\tisTemplateFromParent={true}\r\n\t\t\t\t\t\t\ttemplateFromParent={contractTemplate}\r\n\t\t\t\t\t\t/>\r\n\t\t\t\t\t\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t
    \r\n\t\t\t\t
  • Report All
  • \r\n
  • Report Highlighted
  • \r\n
  • Export All
  • \r\n\t\t\t\t\t
  • Export Highlighted
  • \r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t\t{showReportModal ? (\r\n \r\n ) : null}\r\n\t\t\t\r\n\t\t
\r\n\t);\r\n};\r\n\r\nexport default memo(InspectionSummary);\r\n\r\n","export function getTaskListGridColumns(generalProperties: any) {\r\n const columnInfo: any = [];\r\n if (generalProperties != null) {\r\n for (let i = 0; i < generalProperties?.length; i++) {\r\n if (\r\n (generalProperties[i]?.name !== 'Status') && \r\n (generalProperties[i]?.name !== 'RowIndex') &&\r\n (generalProperties[i]?.name !== 'System Name') &&\r\n (generalProperties[i]?.name !== 'Contract Name') &&\r\n (generalProperties[i]?.name !== 'UniqueSiteId') &&\r\n (generalProperties[i]?.name !== \"InspectionTaskId\") && \r\n (generalProperties[i]?.name !== 'UniqueInspectionTaskId') && \r\n (generalProperties[i]?.name !== 'UniqueSystemId') &&\r\n (generalProperties[i]?.name !== 'UniqueContractId') &&\r\n (generalProperties[i]?.name !== 'UniqueCustomerId')\r\n ) {\r\n let data: any = {\r\n field: generalProperties[i]?.name,\r\n header: generalProperties[i]?.alias,\r\n style: (generalProperties[i]?.name.trim() === \"Config File\") \r\n ? { flex: '1 0 100px' } \r\n : { flex: '1 0 170px' },\r\n sortable: true,\r\n }\r\n if (generalProperties[i].name && (generalProperties[i].name.toLowerCase() === 'days to upload')) {\r\n data.align = 'right';\r\n data.style = { flex: '1 0 150px' };\r\n }\r\n columnInfo.push(data);\r\n }\r\n }\r\n }\r\n return columnInfo;\r\n}","import React, { memo, useEffect, useRef, useState } from \"react\";\r\nimport { Tab, Tabs } from \"react-bootstrap\";\r\nimport { DataTableComponent } from \"components/Table/DataTable\";\r\nimport { BarChart, Bar, Cell, XAxis, Tooltip, Legend, ResponsiveContainer, PieChart, Pie, LabelList, YAxis } from \"recharts\";\r\nimport { PERFORMANCE_TABLE_COL } from \"../../DashboardData\";\r\nimport { customPieChartTooltip } from \"../../utility\";\r\n\r\nimport { useDispatch } from \"react-redux\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\nimport { getInspectionDetails, getContractDetails, getSystemTypes, setContractDetails } from \"redux/pages/Dashboard/dashboardSlice\";\r\nimport { AiOutlineExpandAlt, AiOutlineShrink } from \"react-icons/ai\";\r\nimport { set } from \"react-hook-form\";\r\n\r\ninterface PropType {\r\n\tdefaultSite?: any;\r\n}\r\nconst PerformaceIndicator: React.FC = (props) => {\r\n\r\n\r\n\tconst colors = ['#009999', '#56C692', '#F4D03F', '#0090B2', '#6A6DB6', '#985397', '#AC3D67', '#FF8749', '#95B1B0', '#B47F2A'];\r\n\tconst [key, setKey] = useState(\"graphView\");\r\n\tconst [pieChartData, setPieChartData] = useState([]);\r\n\tconst [tableData, setTableData] = useState([]);\r\n\tconst [minToggle, setMinToggle] = useState(true);\r\n\tconst [projectToggle, setProjectToggle] = useState(true);\r\n\tconst [serviceToggle, setServiceToggle] = useState(true);\r\n\tconst [pieChartToggle, setPieChartToggle] = useState(true);\r\n\tconst [contractkey, setContractKey] = useState(\"projectContractView\");\r\n\tconst [minChartFont, setMinChartFont] =useState(0.7);\r\n\tconst [maxChartFont, setMaxChartFont] =useState(1);\r\n\tconst [width, setWidth] = useState(0);\r\n\tconst divRef = useRef(null);\r\n\tconst [projectServiceContractDetails, setProjectServiceContractDetails]= useState([]);\r\n\r\n\tconst dispatch = useDispatch();\r\n\tconst inspectionDetails = useAppSelector((state) => state.dashboard.inspectionDetails);\r\n\tconst contractDetails = useAppSelector((state) => state.dashboard.contractDetails);\r\n\tconst systemTypes = useAppSelector((state) => state.dashboard.systemTypes);\r\n\r\n\tuseEffect(() => {\r\n\t\tdispatch(getInspectionDetails());\r\n\t\tdispatch(getContractDetails(true));\r\n\t\tdispatch(getSystemTypes());\r\n\t}, [dispatch]);\r\n\r\n\tuseEffect(() =>{\r\n\t\tif(contractDetails && contractDetails?.length){\r\n\t\t\tsetProjectServiceContractDetails(contractDetails);\r\n\t\t}\r\n\t},[contractDetails]);\r\n\r\n\tuseEffect(() => {\r\n\t\tif (!pieChartToggle) {\r\n\t\t\tlet divLength = divRef.current?.offsetWidth;\r\n\t\t\tsetWidth((Number(divLength) - 65) / 7);\r\n\t\t}\r\n\t\telse {\r\n\t\t\tlet divLength = divRef.current?.offsetWidth;\r\n\t\t\tsetWidth(Number(divLength) / 5);\r\n\t\t}\r\n\t}, [dispatch, pieChartToggle, divRef])\r\n\r\n\tuseEffect(() => {\r\n\t\tif(contractkey && !projectServiceContractDetails?.length)\r\n\t\t{\r\n\t\t\tif (contractkey === \"projectContractView\") {\r\n\t\t\t\tdispatch(getContractDetails(true));\r\n\t\t\t} else {\r\n\t\t\t\tdispatch(getContractDetails(false));\r\n\t\t\t}\r\n\t\t}\r\n\t},[projectServiceContractDetails,contractkey])\r\n\r\n\tuseEffect(() => {\r\n\t\tif (systemTypes && systemTypes.panelTypes) {\r\n\t\t\tlet panelTypes = [...systemTypes.panelTypes];\r\n\t\t\tsetTableData([...systemTypes.panelTypes]);\r\n\t\t\tif (panelTypes.length && panelTypes.length > 10) {\r\n\t\t\t\tpanelTypes.length = 10;\r\n\t\t\t\tsetPieChartData(panelTypes);\r\n\t\t\t} else {\r\n\t\t\t\tsetPieChartData(panelTypes);\r\n\t\t\t}\r\n\t\t}\r\n\t}, [systemTypes]);\r\n\r\n\tconst changeTab = (tab) => {\r\n\t\tif (tab !== key) {\r\n\t\t\tsetKey(tab);\r\n\t\t}\r\n\t}\r\n\r\n\tconst changeContractTab = (tab) => {\r\n\t\tsetProjectServiceContractDetails([]);\r\n\t\tif (tab !== contractkey) {\r\n\t\t\tsetContractKey(tab);\r\n\t\t}\r\n\t}\r\n\r\n\tconst onSort = (event) => {\r\n\t\tif (tableData && tableData.length && (key === \"tableView\")) {\r\n\t\t\tif (event && event.sortField) {\r\n\t\t\t\tlet sortDirection: string;\r\n\t\t\t\tif (event.sortOrder === 1) {\r\n\t\t\t\t\tsortDirection = \"ASC\";\r\n\t\t\t\t} else {\r\n\t\t\t\t\tsortDirection = \"DESC\";\r\n\t\t\t\t}\r\n\t\t\t\tlet data = [...tableData];\r\n\t\t\t\tif (event.sortField === \"panelTypeName\") {\r\n\t\t\t\t\tconst collator = new Intl.Collator(\"en\", {\r\n\t\t\t\t\t\tnumeric: true,\r\n\t\t\t\t\t\tsensitivity: \"base\"\r\n\t\t\t\t\t});\r\n\t\t\t\t\tif (sortDirection === \"ASC\") {\r\n\t\t\t\t\t\tdata.sort((a, b) => collator.compare(a.panelTypeName, b.panelTypeName));\r\n\t\t\t\t\t} else if (sortDirection === \"DESC\") {\r\n\t\t\t\t\t\tdata.sort((a, b) => collator.compare(b.panelTypeName, a.panelTypeName));\r\n\t\t\t\t\t}\r\n\t\t\t\t} else if (event.sortField === \"usage\") {\r\n\t\t\t\t\tif (sortDirection === \"ASC\") {\r\n\t\t\t\t\t\tdata.sort((a, b) => a.usage - b.usage);\r\n\t\t\t\t\t} else if (sortDirection === \"DESC\") {\r\n\t\t\t\t\t\tdata.sort((a, b) => b.usage - a.usage);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tsetTableData(data);\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tconst toggleHandler = () => {\r\n\t\tif (minToggle) {\r\n\t\t\tsetMinToggle(false)\r\n\t\t} else {\r\n\t\t\tsetMinToggle(true);\r\n\t\t}\r\n\t};\r\n\r\n\tconst toggleProjectContractHandler = () => {\r\n\t\tif (projectToggle) {\r\n\t\t\tsetProjectToggle(false)\r\n\t\t} else {\r\n\t\t\tsetProjectToggle(true);\r\n\t\t}\r\n\t};\r\n\r\n\tconst toggleServiceContractHandler = () => {\r\n\t\tif (serviceToggle) {\r\n\t\t\tsetServiceToggle(false)\r\n\t\t} else {\r\n\t\t\tsetServiceToggle(true);\r\n\t\t}\r\n\t};\r\n\r\n\tconst togglePieChartHandler = () => {\r\n\t\tif (pieChartToggle) {\r\n\t\t\tsetPieChartToggle(false)\r\n\t\t} else {\r\n\t\t\tsetPieChartToggle(true);\r\n\t\t}\r\n\t};\r\n\r\n\treturn (\r\n\t\t\t
\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\t\t\r\n\t\t\t\t\t\t\t toggleHandler()}>\r\n\t\t\t\t\t\t\t\t{minToggle ? : }\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t{(inspection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Handler()}>\r\n\t\t\t\t\t\t\t\t\t\t\t\t{projectToggle ? : }\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t\t\t
Percentage of SAP Project Contracts Qty using TAP
\r\n\t\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t):(<>)}\r\n\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t{(projectServiceContractDetails && projectServiceContractDetails?.length)?(\r\n\t\t\t\t\t\t\t\t\t\t\t\t<>\r\n\t\t\t\t\t\t\t\t\t\t\t toggleServiceContractHandler()}>\r\n\t\t\t\t\t\t\t\t\t\t\t\t{serviceToggle ? : }\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t\t\t
Percentage of SAP Service Contracts Qty using TAP
\r\n\t\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t):(<>)}\r\n\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t{key !== \"tableView\" ? togglePieChartHandler()}>\r\n\t\t\t\t\t\t{pieChartToggle ? : }\r\n\t\t\t\t\t : \"\"}\r\n\t\t\t\t\t{(pieChartData && pieChartData.length) ?\r\n\t\t\t\t\t\t(<>\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
Mix of Systems Inspected (Last 12 Months)
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t{pieChartToggle && }\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t{!pieChartToggle && }\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tconst { index } = props;\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tconst { panelTypeName, usage } = pieChartData[index];\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn `${panelTypeName}: ${usage}%`;\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}} >\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{pieChartData.map((entry, index) => (\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t))}\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t) : (<>)\r\n\t\t\t\t\t}\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t
\r\n\t);\r\n};\r\n\r\nexport default memo(PerformaceIndicator);\r\n\r\n","import React, { memo, useEffect, useState } from \"react\";\r\nimport { TabView, TabPanel } from \"primereact/tabview\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\n\r\nimport InspectionSummary from \"./TabList/InspectionSummary/InspectionSummary\";\r\nimport PerformaceIndicator from \"./TabList/PerformanceIndicator/PerformanceIndicator\";\r\nimport { showUI } from './../../service/GeneralUtility';\r\nimport { useLocation, useNavigate } from \"react-router-dom\";\r\nimport { APP_ROUTES } from \"constants/AppRoutes\";\r\n\r\ninterface PropType {}\r\nconst Dashboard: React.FC = (props: any) => {\r\n\r\n\tconst [defaultSite, setDefaultSite] = useState(null);\r\n\r\n\tconst navigate = useNavigate();\r\n\tconst { state } = useLocation() as any;\r\n const from = state?.from || 0; \r\n\r\n\tconst loggedInUserData = useAppSelector((state) => state.administration.loggedInUserDetails);\r\n\tconst userPrivileges = useAppSelector((state) => state.user.userPrivileges);\r\n\r\n\tconst onTabChange = (index: any) => {\r\n\t\tnavigate(`/${APP_ROUTES.DASHBOARD}`, {\r\n\t\t\tstate: {\r\n\t\t\t\tfrom: index\r\n\t\t\t}\r\n\t\t})\r\n\r\n\t}\r\n\r\n\tuseEffect(() => {\r\n\t\tif (loggedInUserData) {\r\n\t\t\tif (loggedInUserData.userDefaults && loggedInUserData.userDefaults.uniqueSiteId) {\r\n\t\t\t\tsetDefaultSite(loggedInUserData.userDefaults);\r\n\t\t\t} else {\r\n\t\t\t\tsetDefaultSite(null);\r\n\t\t\t}\r\n\t\t}\r\n\t}, [loggedInUserData]);\r\n\r\n\treturn (\r\n\t\t
\r\n\t\t\t{onTabChange(indexChangeEvent.index)}}>\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t {showUI(userPrivileges,\"SIETAP_DASHBOARD_KEY_PERFORMANCE_INDICATOR\") &&\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\r\n\t\t
\r\n\t);\r\n};\r\n\r\nexport default memo(Dashboard);\r\n","import React, { useState, useEffect, useRef } from \"react\";\r\nimport { useForm, Controller } from \"react-hook-form\";\r\nimport moment from \"moment\";\r\nimport { InputText } from \"primereact/inputtext\";\r\nimport { Dropdown } from \"primereact/dropdown\";\r\nimport { Calendar } from \"primereact/calendar\";\r\nimport { Dialog } from \"primereact/dialog\";\r\nimport { DataTable } from \"primereact/datatable\";\r\nimport { Column } from \"primereact/column\";\r\nimport { classNames } from \"primereact/utils\";\r\n\r\nimport { BsExclamationCircleFill } from \"react-icons/bs\";\r\n\r\n//redux\r\nimport { useDispatch } from \"react-redux\";\r\nimport { useAppSelector } from \"../../../redux/hooks\";\r\n\r\nimport AddModal from \"components/Table/AddModal/AddModal\";\r\nimport {\r\n getCountryList,\r\n getStatusList,\r\n getCustomerDetails,\r\n} from \"redux/pages/Administration/administrationSlice\";\r\nimport {\r\n USAPattern,\r\n CanadaPattern,\r\n} from \"../ManageCustomer/CustomerNumberPattern\";\r\n\r\ninterface Props {\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n selectedRows: any;\r\n onEditCustomerClick: (data: any) => void;\r\n}\r\n\r\nexport const EditCustomer: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => {},\r\n selectedRows = [],\r\n onEditCustomerClick = () => {},\r\n}) => {\r\n const statusList = useAppSelector((state) => state.administration.statusList);\r\n const countryList = useAppSelector(\r\n (state) => state.administration.countryList\r\n );\r\n const customerDetails = useAppSelector(\r\n (state) => state.administration.customerDetails\r\n );\r\n const [selectedCountry, setSelectedCountry] = useState(\"\");\r\n\r\n const [statusLookup, setStatusLookup] = useState([{ name: \"\", code: \"\" }]);\r\n const [countryLookup, setCountryLookup] = useState([{ name: \"\", code: \"\" }]);\r\n\r\n const [showPatternModal, setShowPatternModal] = useState(false);\r\n const [customerNumberPattern, setCustomerNumberPattern] = useState();\r\n const [pattern, setPattern] = useState([]);\r\n const editForm: any = useRef();\r\n\r\n const {\r\n control,\r\n handleSubmit,\r\n setValue,\r\n getValues,\r\n formState: { errors },\r\n } = useForm();\r\n\r\n const dispatch = useDispatch();\r\n\r\n useEffect(() => {\r\n dispatch(getCustomerDetails(selectedRows[0]?.uniqueCustomerId));\r\n dispatch(getStatusList());\r\n dispatch(getCountryList());\r\n }, [dispatch, selectedRows]);\r\n\r\n useEffect(() => {\r\n if (customerDetails !== \"\") {\r\n setValue(\"countryName\", customerDetails?.countryName);\r\n setValue(\"customerName\", customerDetails?.customerName);\r\n setValue(\"customerNumber\", customerDetails?.customerNumber);\r\n setValue(\"customerAddress\", customerDetails?.customerAddress);\r\n setValue(\"cityStateZip\", customerDetails?.cityStateZip);\r\n setValue(\"phone\", customerDetails?.phone);\r\n setValue(\"email\", customerDetails?.email);\r\n setValue(\"fax\", customerDetails?.fax);\r\n setValue(\"contact\", customerDetails?.contact);\r\n setValue(\r\n \"accountExpiryDate\",\r\n new Date(customerDetails?.accountExpiryDate)\r\n );\r\n setValue(\"status\", customerDetails?.status);\r\n setSelectedCountry(customerDetails?.countryName.trim());\r\n }\r\n }, [customerDetails, setValue]);\r\n\r\n useEffect(() => {\r\n if (statusList?.status && statusList?.status.length) {\r\n let status: { name: string; code: string }[] = [];\r\n statusList?.status.map((item: any) => {\r\n if (\r\n item.statusName === \"Active\" ||\r\n item.statusName === \"Blocked\" ||\r\n item.statusName === \"Deleted\" ||\r\n item.statusName === \"Not Activated\"\r\n ) {\r\n status.push({ name: item.statusName, code: item.statusCode });\r\n }\r\n return status;\r\n });\r\n setStatusLookup(status);\r\n }\r\n }, [statusList]);\r\n\r\n useEffect(() => {\r\n if (countryList?.countries && countryList?.countries.length) {\r\n let country: { name: string; code: string }[] = [];\r\n countryList?.countries.map((item: any) => {\r\n return country.push({ name: item.countryName, code: item.countryCode });\r\n });\r\n setCountryLookup(country);\r\n }\r\n }, [countryList]);\r\n\r\n const onEditFormSubmit = (data: any) => {\r\n data.accountExpiryDate = moment(data?.accountExpiryDate)\r\n .format(\"yyyy-MM-DD\")\r\n .toString();\r\n data.customerName = data?.customerName.trim();\r\n data.customerAddress = data?.customerAddress.trim();\r\n data.cityStateZip = data?.cityStateZip.trim();\r\n data.contact = data?.contact.trim();\r\n onEditCustomerClick && onEditCustomerClick(data);\r\n };\r\n\r\n const formSubmitHandler = (data: any) => {\r\n editForm.current.requestSubmit();\r\n };\r\n\r\n const getFormErrorMessage = (name) => {\r\n return (\r\n errors[name] && (\r\n \r\n \r\n {errors[name].message}\r\n \r\n )\r\n );\r\n };\r\n\r\n //handle form validation errors\r\n const onError = (errors: any, e: any) => {};\r\n useEffect(() => {\r\n if (selectedCountry.trim() === \"United States\") {\r\n setPattern(USAPattern);\r\n setCustomerNumberPattern(/^[1,3][0-9]{7}$/);\r\n } else if (selectedCountry.trim() === \"Canada\") {\r\n setPattern(CanadaPattern);\r\n setCustomerNumberPattern(/^[6][0-9]{5}$/);\r\n }\r\n }, [selectedCountry]);\r\n return (\r\n \r\n
\r\n setShowPatternModal(false)}\r\n className=\"pattern-overlay\"\r\n style={{ width: \"32vw\" }}\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n
\r\n \r\n (\r\n {\r\n field.onChange(e.value);\r\n setSelectedCountry(e.value);\r\n }}\r\n options={countryLookup}\r\n optionLabel=\"name\"\r\n optionValue=\"name\"\r\n />\r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"countryName\")}\r\n \r\n
\r\n
\r\n setShowPatternModal(true)}\r\n >\r\n View Pattern\r\n \r\n \r\n (\r\n \r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"customerNumber\")}\r\n \r\n
\r\n
\r\n \r\n {\r\n return value.trim().length<=0\r\n ?\"Customer Name is required.\":true\r\n },\r\n }}\r\n render={({ field, fieldState }) => (\r\n \r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"customerName\")}\r\n \r\n
\r\n
\r\n \r\n {\r\n return value.trim().length<=0\r\n ?\"Customer Address is required.\":true\r\n }, }}\r\n render={({ field, fieldState }) => (\r\n \r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"customerAddress\")}\r\n \r\n
\r\n
\r\n \r\n {\r\n return value.trim().length<=0\r\n ?\"City,State,Zip is required.\":true\r\n }, \r\n }}\r\n render={({ field, fieldState }) => (\r\n \r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"cityStateZip\")}\r\n \r\n
\r\n
\r\n \r\n {\r\n return value.trim().length<=0\r\n ?\"Enter a valid Phone Number.\":true\r\n }, \r\n pattern:{value:/^[0-9!@#$ %^&*()_+\\-=\\[\\]{};':\"\\\\|,.<>\\/?None]*$/, message:\"Enter a valid Phone Number\"}}}\r\n render={({ field, fieldState }) => (\r\n \r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"phone\")}\r\n \r\n
\r\n
\r\n \r\n \\/?None]*$/,message:\"Enter a valid Fax\"}}}\r\n render={({ field, fieldState }) => (\r\n \r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"fax\")}\r\n \r\n
\r\n
\r\n \r\n (\r\n \r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"email\")}\r\n \r\n
\r\n
\r\n \r\n {\r\n return value.trim().length<=0\r\n ?\"Contact is required.\":true\r\n }, }}\r\n render={({ field, fieldState }) => (\r\n \r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"contact\")}\r\n \r\n
\r\n
\r\n \r\n (\r\n field.onChange(e.value)}\r\n options={statusLookup}\r\n optionLabel=\"name\"\r\n optionValue=\"name\"\r\n />\r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"status\")}\r\n \r\n
\r\n
\r\n \r\n {\r\n return getValues(\"accountExpiryDate\") <= new Date()\r\n ? \"Account Expiry Date should be a future date\"\r\n : undefined;\r\n },\r\n }}\r\n render={({ field, fieldState }) => (\r\n field.onChange(e.value)}\r\n />\r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"accountExpiryDate\")}\r\n \r\n
\r\n \r\n \r\n );\r\n};\r\n\r\nexport default EditCustomer;\r\n","import React, { useEffect, useRef, useState } from \"react\";\r\nimport { Dialog } from \"primereact/dialog\";\r\nimport { Button } from \"primereact/button\";\r\nimport { InputText } from \"primereact/inputtext\";\r\nimport MultiSelect from \"components/common/MultiSelect/MultiSelect\";\r\n//redux\r\nimport { useDispatch } from \"react-redux\";\r\nimport { useAppSelector } from \"../../../../redux/hooks\";\r\nimport {\r\n getMapSiteList,\r\n getMapSiteSearchList,\r\n updateCustomerSiteMapping,\r\n fetchActiveSiteDetails,\r\n setMapSiteSearchList,\r\n fetchLoggedInUserDetails,\r\n} from \"../../../../redux/pages/Administration/administrationSlice\";\r\nimport { setAsActiveSiteForSite } from \"redux/pages/Administration/Site/siteSlice\";\r\nimport InformationBox from \"components/common/Message/InformationBox/InformationBox\";\r\n//routing\r\nimport { useNavigate } from \"react-router-dom\";\r\nimport { APP_ROUTES } from \"constants/AppRoutes\";\r\n\r\ninterface Props {\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n selectedRows: any;\r\n}\r\n\r\nexport const SiteModal: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => {},\r\n selectedRows = [],\r\n}) => {\r\n const siteList = useAppSelector((state) => state.administration.mapSiteList);\r\n const siteSearchList = useAppSelector(\r\n (state) => state.administration.mapSiteSearchList\r\n );\r\n const activeSite = useAppSelector(\r\n (state) => state.administration.activeSiteDetails\r\n );\r\n const switchedSite = useAppSelector(\r\n (state) => state.administration.switchedSite\r\n );\r\n\r\n const [siteData, setSiteData] = useState([]);\r\n const [showButton, setShowButton] = useState(false);\r\n const [searchKeyword, setSearchKeyword] = useState(\"\");\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const [message, setMessage] = useState(\"\");\r\n const [isNavigate, setIsNavigate] = useState(false);\r\n\r\n const [customerName, setCustomerName] = useState();\r\n const [uniqueCustomerId, setUniqueCustomerId] = useState();\r\n const selectedSite = useRef();\r\n const checkedRows = useRef();\r\n const disabledRows = useRef();\r\n\r\n const dispatch = useDispatch();\r\n const navigate = useNavigate();\r\n \r\n useEffect(()=>{\r\n dispatch(fetchActiveSiteDetails());\r\n },[dispatch])\r\n\r\n useEffect(() => {\r\n if (selectedRows.length > 0) {\r\n dispatch(setMapSiteSearchList([]));\r\n dispatch(getMapSiteList(selectedRows[0].uniqueCustomerId));\r\n setCustomerName(\r\n selectedRows[0].customerName +\r\n \"(\" +\r\n selectedRows[0].customerNumber +\r\n \")\"\r\n );\r\n setUniqueCustomerId(selectedRows[0].uniqueCustomerId);\r\n if (selectedRows[0].status === \"Active\") \r\n setShowButton(true);\r\n else \r\n setShowButton(false);\r\n }\r\n }, [dispatch, selectedRows]);\r\n\r\n useEffect(() => {\r\n if (siteList?.length > 0 && showModal === true) {\r\n let siteArray: any = [];\r\n siteList.map((item: any) => {\r\n return siteArray.push({\r\n id: item.uniqueSiteId,\r\n siteName: item.siteName,\r\n checked: item.isSelected,\r\n selected: false,\r\n disabled: item.isDisabled,\r\n });\r\n });\r\n setSiteData(siteArray);\r\n }\r\n }, [siteList, selectedRows, showModal]);\r\n\r\n useEffect(() => {\r\n if (showModal) {\r\n var siteNewList: any = [];\r\n siteList.map((item: any) => {\r\n return siteNewList.push({\r\n id: item.uniqueSiteId,\r\n siteName: item.siteName,\r\n checked: item.isSelected,\r\n selected: false,\r\n disabled: item.isDisabled,\r\n });\r\n });\r\n var siteNewSearchList: any = [];\r\n siteSearchList.map((item: any) => {\r\n if (\r\n !siteNewList.find((element: any) => element.id === item.uniqueSiteId)\r\n )\r\n return siteNewSearchList.push({\r\n id: item.uniqueSiteId,\r\n siteName: item.siteName,\r\n checked: item.isSelected,\r\n selected: false,\r\n disabled: item.isDisabled,\r\n });\r\n });\r\n\r\n setSiteData([...siteNewSearchList, ...siteNewList]);\r\n }\r\n }, [siteSearchList, siteList]);\r\n\r\n useEffect(() => {\r\n if (isNavigate) {\r\n dispatch(fetchLoggedInUserDetails());\r\n navigate(`/${APP_ROUTES.INSPECTION_TASKS}`);\r\n setIsNavigate(false);\r\n setShowModal(false);\r\n }\r\n }, [switchedSite, navigate, isNavigate]);\r\n\r\n const mapSiteSearchList = () => {\r\n if (searchKeyword.length === 0) {\r\n var siteNewList: any = [];\r\n siteList.map((item: any) => {\r\n return siteNewList.push({\r\n id: item.uniqueSiteId,\r\n siteName: item.siteName,\r\n checked: item.isSelected,\r\n selected: false,\r\n disabled: item.isDisabled,\r\n });\r\n });\r\n setSiteData(siteNewList);\r\n } else {\r\n dispatch(getMapSiteSearchList(uniqueCustomerId, searchKeyword));\r\n }\r\n setSearchKeyword(\"\");\r\n };\r\n\r\n const searchSiteByEnterKey = (e: any) => {\r\n if (e.keyCode === 13) {\r\n mapSiteSearchList();\r\n }\r\n };\r\n\r\n const updateSelectedSites = () => {\r\n let siteIds: any = [];\r\n let allCheckedSites = [...checkedRows.current, ...disabledRows.current];\r\n allCheckedSites.map((item: any) => {\r\n siteIds.push(item.id);\r\n return null;\r\n });\r\n dispatch(\r\n updateCustomerSiteMapping(\r\n uniqueCustomerId,\r\n siteIds,\r\n setDisplayInfoModal,\r\n setMessage\r\n )\r\n );\r\n };\r\n\r\n const changeToActiveSite = () => {\r\n\r\n \r\n if (selectedSite.current.length === 0) {\r\n setShowModal(true);\r\n setMessage(\"No Site selected\");\r\n setDisplayInfoModal(true);\r\n } else if (selectedSite.current.length === 1) {\r\n if (activeSite.uniqueSiteId === selectedSite.current[0].id) {\r\n setShowModal(true);\r\n setMessage(\"You are currently working in the selected Site\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n dispatch(setAsActiveSiteForSite(selectedSite?.current[0]?.id, setDisplayInfoModal, setMessage, setIsNavigate));\r\n }\r\n }\r\n };\r\n\r\n return (\r\n
\r\n {\r\n setSiteData([]);\r\n setShowModal(false);\r\n }}\r\n className=\"site-modal\"\r\n >\r\n
\r\n
\r\n Customer:\r\n {customerName}\r\n
\r\n
\r\n Note: New Site(s) required for Customer - Site Mapping can be found\r\n through Search option\r\n
\r\n
\r\n
\r\n \r\n setSearchKeyword(event?.target.value)}\r\n onKeyDown={searchSiteByEnterKey}\r\n placeholder=\"Search Site Number / Name\"\r\n />\r\n
\r\n
\r\n {\r\n checkedRows.current = checkedItems;\r\n }}\r\n getSelectedItems={(selectedItems) => {\r\n selectedSite.current = selectedItems;\r\n }}\r\n getDisabledItems={(disabledItems) => {\r\n disabledRows.current = disabledItems;\r\n }}\r\n />\r\n
\r\n {\r\n setShowModal(false);\r\n dispatch(getMapSiteList(selectedRows[0].uniqueCustomerId));\r\n }}\r\n className=\"cancel-btn\"\r\n />\r\n {showButton && (\r\n \r\n )}\r\n {showButton && (\r\n \r\n )}\r\n
\r\n
\r\n \r\n \r\n
\r\n );\r\n};\r\n\r\nexport default SiteModal;\r\n","import { InputText } from 'primereact/inputtext';\r\nimport { Dropdown } from 'primereact/dropdown';\r\nimport { Calendar } from 'primereact/calendar';\r\n\r\nimport { BsExclamationCircleFill } from 'react-icons/bs';\r\n\r\nconst statusList = [\r\n { label: 'Active', value: 'Active' },\r\n { label: 'Blocked', value: 'Blocked' },\r\n { label: 'Deleted', value: 'Deleted' },\r\n { label: 'Not Activated', value: 'Not Activated' }\r\n];\r\n\r\nconst getErrorMsg = options => {\r\n options.value = options.value ? options.value.trim() : '';\r\n const { field, value, rowData } = options;\r\n const FIELD_REQUIRED = 'This field is required';\r\n const EMAIL_VALID = 'Enter a valid Email';\r\n const NUMBER_VALID = 'Enter a valid Customer Number';\r\n const PHONE_VALID = 'Enter a valid Phone Number';\r\n const FAX_VALID = 'Enter a valid Fax';\r\n switch (field) {\r\n case 'customerName':\r\n case 'customerAddress':\r\n case 'cityStateZip':\r\n case 'contact': {\r\n if (!value.trim())\r\n return FIELD_REQUIRED;\r\n break;\r\n }\r\n case 'phone': {\r\n if (!isPhoneValid(value.trim()))\r\n return PHONE_VALID\r\n else if (!value.trim())\r\n return FIELD_REQUIRED\r\n break;\r\n }\r\n case 'fax': {\r\n if (!isFaxValid(value.trim()))\r\n return FAX_VALID\r\n else if (!value.trim())\r\n return FIELD_REQUIRED\r\n break;\r\n }\r\n case 'customerNumber': {\r\n if (!isPatternValid(value, rowData))\r\n return NUMBER_VALID\r\n else if (!value)\r\n return FIELD_REQUIRED\r\n break;\r\n }\r\n case 'email': {\r\n if (!isEmailValid(value.trim()))\r\n return EMAIL_VALID\r\n else if (!value.trim())\r\n return FIELD_REQUIRED\r\n break;\r\n }\r\n default: {\r\n return ''\r\n }\r\n }\r\n};\r\n\r\nconst isPhoneValid = (phone) => {\r\n if (!phone) {\r\n return true;\r\n }\r\n return /^[0-9!@#$ %^&*()_+\\-=\\[\\]{};':\"\\\\|,.<>\\/?None]*$/.test(phone);\r\n}\r\n\r\nconst isFaxValid = (fax) => {\r\n if (!fax) {\r\n return true;\r\n }\r\n return /^[0-9!@#$ %^&*()_+\\-=\\[\\]{};':\"\\\\|,.<>\\/?None]*$/.test(fax);\r\n}\r\n\r\nconst isPatternValid = (customerNumber, rowData) => {\r\n if (!customerNumber) {\r\n return true;\r\n }\r\n if (rowData.countryId === 220)\r\n return /^[1,3][0-9]{7}$/.test(customerNumber);\r\n else\r\n return /^[6][0-9]{5}$/.test(customerNumber);\r\n}\r\n\r\nconst isEmailValid = (email) => {\r\n if (!email) {\r\n return true;\r\n }\r\n return /^None$|^\\S+@\\S+\\.\\S+$/.test(email);\r\n}\r\n\r\nconst statusEditor = (options) => {\r\n return (\r\n options.editorCallback(e.value)} placeholder=\"Select Status\"\r\n itemTemplate={(option) => {\r\n return {option.label}\r\n }} />\r\n );\r\n}\r\n\r\nconst textEditor = (options) => {\r\n const errorMsg = getErrorMsg(options);\r\n return <>\r\n options.editorCallback(e.target.value)} />\r\n {errorMsg && {errorMsg}}\r\n \r\n}\r\n\r\nconst phoneEditor = (options) => {\r\n const errorMsg = getErrorMsg(options);\r\n return <>\r\n options.editorCallback(e.target.value)} />\r\n {errorMsg && {errorMsg}}\r\n \r\n}\r\n\r\nconst faxEditor = (options) => {\r\n const errorMsg = getErrorMsg(options);\r\n return <>\r\n options.editorCallback(e.target.value)} />\r\n {errorMsg && {errorMsg}}\r\n \r\n}\r\n\r\nconst dateEditor = (options) => {\r\n return options.editorCallback(e.target.value)} />\r\n}\r\n\r\nexport const CUSTOMER_COLS = [\r\n {\r\n field: 'customerName',\r\n header: 'Customer Name',\r\n editor: (options) => textEditor(options),\r\n style: { flex: '1 0 250px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'customerNumber',\r\n header: 'Customer Number',\r\n editor: (options) => textEditor(options),\r\n style: { flex: '1 0 150px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'customerAddress',\r\n header: 'Address',\r\n editor: (options) => textEditor(options),\r\n style: { flex: '1 0 200px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'cityStateZip',\r\n header: 'City, State, Zip',\r\n editor: (options) => textEditor(options),\r\n style: { flex: '1 0 200px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'phone',\r\n header: 'Phone',\r\n editor: (options) => phoneEditor(options),\r\n style: { flex: '1 0 100px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'email',\r\n header: 'Email',\r\n editor: (options) => textEditor(options),\r\n style: { flex: '1 0 150px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'fax',\r\n header: 'Fax',\r\n editor: (options) => faxEditor(options),\r\n style: { flex: '1 0 100px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'contact',\r\n header: 'Contact',\r\n editor: (options) => textEditor(options),\r\n style: { flex: '1 0 140px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'accountExpiryDate',\r\n header: 'Account Expiry Date',\r\n editor: (options) => dateEditor(options),\r\n style: { flex:'1 0 200px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'status',\r\n header: 'Status',\r\n editor: (options) => statusEditor(options),\r\n style: { flex: '1 0 100px' },\r\n sortable: true,\r\n }\r\n];","import React, { memo, useEffect, useRef, useState } from 'react';\r\nimport { DragDropContext, Droppable, Draggable } from \"react-beautiful-dnd\";\r\nimport { ListGroup } from 'react-bootstrap';\r\nimport { BiDotsVerticalRounded } from 'react-icons/bi';\r\n\r\ninterface CustomizeReportFieldOrderPropType {\r\n onDragEnded?: (items) => void;\r\n data?: any;\r\n}\r\nconst CustomizeReportFieldOrder: React.FC = (props) => {\r\n const { onDragEnded = () => { }, data = [] } = props;\r\n\r\n const [datafields, setDatafields] = useState([]);\r\n const [activeKey, setActiveKey] = useState(null);\r\n const listGroupRef = useRef(null);\r\n\r\n useEffect(() => {\r\n let covData = JSON.parse(JSON.stringify(data));\r\n setDatafields(covData);\r\n }, [data])\r\n\r\n const handleDragEnd = (result: any) => {\r\n if (!result.destination) return;\r\n const items = Array.from(datafields);\r\n const [reorderedItem] = items.splice(result.source.index, 1);\r\n items.splice(result.destination.index, 0, reorderedItem);\r\n setDatafields(items);\r\n onDragEnded(items)\r\n };\r\n\r\n return (\r\n \r\n \r\n {(provided) => (\r\n
\r\n \r\n {datafields &&\r\n datafields.map((data: any, index: any) => {\r\n return (\r\n \r\n {(provided) => (\r\n setActiveKey(index)}\r\n onMouseLeave={() => setActiveKey(null)}\r\n >\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n {data?.name}\r\n
\r\n
\r\n \r\n )}\r\n
\r\n );\r\n })}\r\n {provided.placeholder}\r\n
\r\n
\r\n )}\r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default memo(CustomizeReportFieldOrder)","import React, { memo, useEffect, useState } from 'react'\r\nimport { Button } from 'primereact/button';\r\nimport { DataTable } from 'primereact/datatable';\r\nimport { Column } from 'primereact/column';\r\nimport { Dialog } from 'primereact/dialog';\r\nimport { Checkbox } from 'primereact/checkbox';\r\nimport { InputText } from 'primereact/inputtext';\r\nimport { RadioButton } from 'primereact/radiobutton';\r\n//redux\r\nimport { useDispatch } from 'react-redux';\r\nimport { getCustomizeReportDataFields, onApplied, onGetLoadData } from 'redux/common/report/customizeReportSlice';\r\n//components\r\nimport CustomizeReportFieldOrder from './CustomizeReportFieldOrder';\r\nimport InformationBox from 'components/common/Message/InformationBox/InformationBox';\r\nimport { showUI } from 'service/GeneralUtility';\r\nimport { useAppSelector } from 'redux/hooks';\r\n\r\n\r\ninterface CustomizeReportPropType {\r\n showModal?: boolean;\r\n reportType?: any;\r\n onHideModal?: () => void;\r\n customizationType?: string;\r\n setCustomizationType?: any;\r\n}\r\nconst CustomizeReport: React.FC = (props) => {\r\n const {\r\n showModal = false,\r\n onHideModal = () => { },\r\n reportType,\r\n customizationType = 'user',\r\n setCustomizationType,\r\n } = props;\r\n\r\n const dispatch = useDispatch();\r\n const [datafields, setDatafields] = useState([]);\r\n const [showFieldOrder, setShowFieldOrder] = useState(false);\r\n const [reportFieldOrder, setReportFieldOrder] = useState([]);\r\n const [subGroupFieldOrder, setSubGroupFieldOrder] = useState([]);\r\n const [fieldOrderUpdated, setFieldOrderUpdated] = useState(false);\r\n const [reportSetting, setReportSetting] = useState({ isLandscapeOriented: false, isSlNoRequired: false, isSystemDefault: false });\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const [message, setMessage] = useState(\"\");\r\n\r\n const userPrivileges = useAppSelector((state) => state.user.userPrivileges);\r\n\r\n useEffect(() => {\r\n dispatch(getCustomizeReportDataFields(reportType, customizationType, setDatafields, setReportSetting))\r\n }, [reportType])\r\n\r\n\r\n const onChangeCheckBox = (e, columnDetails, type) => {\r\n datafields[columnDetails.rowIndex][columnDetails.field] = e.checked;\r\n if (e.checked) {\r\n if (type === \"REPORT\")\r\n datafields[columnDetails.rowIndex][\"isGroupField\"] = false;\r\n else if (type === \"GROUP\")\r\n datafields[columnDetails.rowIndex][\"isReportField\"] = false;\r\n } else {\r\n if (type === \"REPORT\")\r\n datafields[columnDetails.rowIndex][\"positionNo\"] = 0;\r\n else if (type === \"GROUP\")\r\n datafields[columnDetails.rowIndex][\"groupIndex\"] = 0;\r\n }\r\n setDatafields([...datafields])\r\n }\r\n\r\n const onFieldOrderShow = () => {\r\n let value: any = JSON.stringify(datafields);\r\n value = value?.replace(/\\\"uniqueDataFieldId\\\":/g, '\"id\":');\r\n value = value?.replace(/\\\"name\\\":/g, '\"name\":');\r\n value = JSON.parse(value);\r\n const reports = value?.filter((item) => item.isReportField);\r\n const groups = value?.filter((item) => item.isGroupField);\r\n const sortedReport = reports?.sort((a, b) => (a.positionNo > b.positionNo) ? 1 : (a.positionNo < b.positionNo) ? -1 : 0);\r\n const sortedGroups = groups?.sort((a, b) => (a.groupIndex > b.groupIndex) ? 1 : (a.groupIndex < b.groupIndex) ? -1 : 0);\r\n setReportFieldOrder(sortedReport);\r\n setSubGroupFieldOrder(sortedGroups);\r\n setFieldOrderUpdated(true);\r\n setShowFieldOrder(true);\r\n }\r\n\r\n const onUpdate = () => {\r\n const tempDataFields = [...datafields]\r\n reportFieldOrder.forEach((element: any, i) => {\r\n const findIndex = tempDataFields?.findIndex((item) => item?.uniqueDataFieldId === element?.id);\r\n tempDataFields[findIndex].positionNo = i + 1;\r\n tempDataFields[findIndex].groupIndex = 0;\r\n });\r\n subGroupFieldOrder.forEach((element: any, i) => {\r\n const findIndex = tempDataFields?.findIndex((item) => item?.uniqueDataFieldId === element?.id);\r\n tempDataFields[findIndex].positionNo = 0;\r\n tempDataFields[findIndex].groupIndex = i + 1;\r\n });\r\n setTimeout(() => {\r\n setDatafields(tempDataFields);\r\n setShowFieldOrder(false);\r\n }, 300);\r\n }\r\n\r\n const onApply = (isSystemDefault, isTemporary, type) => {\r\n setCustomizationType(type);\r\n if(fieldOrderUpdated){\r\n const remainedData = datafields?.map(({ dataFieldName, dataType, ...rest }: any) => {\r\n rest.width = rest.width ? (parseFloat(rest.width)).toFixed(2) : '0.00';\r\n return rest;\r\n });\r\n const body = {\r\n isLandscapeOriented: reportSetting?.isLandscapeOriented,\r\n isSlNoRequired: reportSetting?.isSlNoRequired,\r\n isSystemDefault: isSystemDefault,\r\n dataFieldDetails: remainedData\r\n }\r\n dispatch(onApplied(reportType, isTemporary, body));\r\n } else {\r\n const remainedData = datafields?.map(({ dataFieldName, dataType, ...rest }: any) => {\r\n if(rest.isReportField && rest.positionNo === 0) {\r\n rest.positionNo = 1;\r\n } else if(rest.isGroupField && rest.groupIndex === 0) {\r\n rest.groupIndex = 1;\r\n }\r\n rest.width = rest.width ? (parseFloat(rest.width)).toFixed(2) : '0.00';\r\n return rest;\r\n });\r\n const body = {\r\n isLandscapeOriented: reportSetting?.isLandscapeOriented,\r\n isSlNoRequired: reportSetting?.isSlNoRequired,\r\n isSystemDefault: isSystemDefault,\r\n dataFieldDetails: remainedData\r\n }\r\n dispatch(onApplied(reportType, isTemporary, body));\r\n setFieldOrderUpdated(false);\r\n }\r\n }\r\n\r\n const dataFieldTemplate = (rowData, columnDetails) => {\r\n return (\r\n
\r\n {rowData[columnDetails?.field]}\r\n
\r\n )\r\n }\r\n\r\n const reportColumnTemplate = (rowData, columnDetails) => {\r\n return (\r\n
\r\n onChangeCheckBox(e, columnDetails, \"REPORT\")}\r\n />\r\n
\r\n )\r\n }\r\n\r\n const subHeadingTemplate = (rowData, columnDetails) => {\r\n return (\r\n
\r\n onChangeCheckBox(e, columnDetails, \"GROUP\")}\r\n disabled\r\n />\r\n
\r\n )\r\n }\r\n\r\n const widthTemplate = (rowData, columnDetails) => {\r\n return (\r\n {\r\n if (evt.key === 'e' || evt.key === '-') evt.preventDefault()\r\n }}\r\n onPaste={e => e.preventDefault()}\r\n onChange={(e) => {\r\n datafields[columnDetails.rowIndex][columnDetails.field] = e.target.value;\r\n setDatafields([...datafields]);\r\n }}\r\n />\r\n )\r\n }\r\n\r\n const subTotalTemplate = (rowData, columnDetails) => {\r\n return (\r\n
\r\n {rowData?.dataType?.dataTypeName === \"Integer\" &&\r\n onChangeCheckBox(e, columnDetails, \"NONE\")}\r\n disabled\r\n />\r\n }\r\n
\r\n )\r\n }\r\n\r\n const subGrantTotalTemplate = (rowData, columnDetails) => {\r\n return (\r\n
\r\n {rowData?.dataType?.dataTypeName === \"Integer\" &&\r\n onChangeCheckBox(e, columnDetails, \"NONE\")}\r\n disabled\r\n />\r\n }\r\n
\r\n )\r\n }\r\n\r\n const renderFooter = () => {\r\n return (\r\n <>\r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n {showCustomizeReport &&\r\n setShowCustomizeReport(false)}\r\n customizationType={customizationType}\r\n setCustomizationType={setCustomizationType} />\r\n }\r\n \r\n \r\n );\r\n};\r\n\r\nexport default CustomerReport;\r\n","import React, { useState, useEffect, useCallback } from 'react';\r\nimport { OverlayPanel } from 'primereact/overlaypanel';\r\n\r\nimport Table from \"components/Table/Table\";\r\nimport Filters from \"components/Filters/Filters\";\r\n\r\n//redux\r\nimport { useDispatch } from \"react-redux\";\r\nimport { useAppSelector } from \"../../redux/hooks\";\r\nimport {\r\n getCustomerList,\r\n getCustomerSearchList,\r\n deleteCustomerData,\r\n onAddCustomer,\r\n onUpdateCustomer\r\n} from \"../../redux/pages/Administration/administrationSlice\";\r\nimport AddCustomer from \"./ManageCustomer/AddCustomer\";\r\nimport EditCustomer from \"./ManageCustomer/EditCustomer\";\r\nimport SiteModal from './ManageCustomer/SiteModal/SiteModal';\r\n\r\nimport { CUSTOMER_COLS } from \"./CustomerTableData\";\r\nimport InformationBox from \"components/common/Message/InformationBox/InformationBox\";\r\nimport ConfirmationBox from \"components/common/Message/ConfirmationBox/ConfirmationBox\";\r\n\r\nimport PopOver from 'components/common/PopOver/PopOver';\r\nimport CustomerReport from 'pages/Customers/Report/CustomerReport';\r\nimport { onExportReport } from 'redux/common/report/customizeReportSlice';\r\n\r\ninterface Props {\r\n\r\n};\r\n\r\nconst Customers: React.FC = () => {\r\n const customerList = useAppSelector(\r\n (state) => state.administration.customerList\r\n );\r\n const customerPageDetails = useAppSelector(\r\n (state) => state.administration.customerPageDetails\r\n );\r\n const newCustomerData = useAppSelector(\r\n (state) => state.administration.newCustomerData\r\n );\r\n const customerSearchId = useAppSelector((state) => state.administration.customerSearchId)\r\n const rowsPerPage = useAppSelector((state) => state.personalSettings.rowsPerPage);\r\n const [pageDetails, setPageDetails] = useState({});\r\n const [filterExpanded, setFilterExpanded] = useState(false);\r\n const [showAddModal, setShowAddModal] = useState(false);\r\n const [showEditModal, setShowEditModal] = useState(false);\r\n const [showSiteModal, setShowSiteModal] = useState(false);\r\n const [selectedRows, setSelectedRows] = useState([]);\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const [displayConfirmModal, setDisplayConfirmModal] = useState(false);\r\n const [showCustomerGrid, setShowCustomerGrid] = useState(false);\r\n const [pageIndex, setPageIndex] = useState(0)\r\n const [currentStart, setCurrentStart] = useState(1);\r\n const [message, setMessage] = useState(\"\");\r\n const [sortField, setSortField] = useState('')\r\n const [sortOrder, setSortOrder] = useState('');\r\n const [keyWord, setKeyWord] = useState('');\r\n const [showReportModal, setShowReportModal] = useState(false);\r\n const [isAddCustomer, setIsAddCustomer] = useState(false);\r\n const [reportFlag, setReportFlag] = useState('all');\r\n const [customerGridList, setCustomerGridList] = useState([]);\r\n\r\n const dispatch = useDispatch();\r\n\r\n const downloadRef = React.createRef();\r\n\r\n useEffect(() => {\r\n if (customerList && customerList.length) {\r\n setSelectedRows([customerList[0]]);\r\n setCustomerGridList(customerList);\r\n }\r\n }, [customerList])\r\n \r\n useEffect(() => {\r\n if(customerSearchId.length===0 )\r\n {\r\n dispatch(getCustomerList(setShowCustomerGrid, 1))\r\n }\r\n else\r\n {\r\n dispatch(getCustomerSearchList(setShowCustomerGrid, 1, customerSearchId))\r\n }\r\n }, [dispatch,customerSearchId,rowsPerPage])\r\n\r\n useEffect(() => {\r\n if (customerPageDetails) {\r\n setPageDetails(customerPageDetails);\r\n }\r\n }, [customerPageDetails])\r\n\r\n useEffect(() => {\r\n if (rowsPerPage && rowsPerPage > 0) {\r\n let modifiedPageDetails = { ...pageDetails, 'currentLength': rowsPerPage, 'pageCount': rowsPerPage };\r\n setPageDetails(modifiedPageDetails);\r\n setCurrentStart(1)\r\n setPageIndex(0)\r\n }\r\n }, [rowsPerPage])\r\n\r\n const onGlobalSearch = (filter) => {\r\n setKeyWord(filter)\r\n dispatch(getCustomerList(setShowCustomerGrid, 1, filter, sortField, sortOrder))\r\n }\r\n\r\n const onSort = (event) => {\r\n let sortDirection: string;\r\n if (event.sortOrder === 1)\r\n sortDirection = \"ASC\"\r\n else\r\n sortDirection = \"DESC\"\r\n\r\n setSortField(event.sortField)\r\n setSortOrder(sortDirection)\r\n dispatch(getCustomerList(setShowCustomerGrid, currentStart, keyWord, event?.sortField, sortDirection))\r\n }\r\n\r\n const onPageChanged = (options: any) => {\r\n if (options !== pageIndex) {\r\n let currentStart = (options * pageDetails?.currentLength) + 1\r\n setCurrentStart(currentStart)\r\n setPageIndex(options)\r\n dispatch(getCustomerList(setShowCustomerGrid, currentStart, keyWord, sortField, sortOrder));\r\n } \r\n }\r\n\r\n const removeCustomerData = () => {\r\n setDisplayConfirmModal(false);\r\n const uniqueCustomerId = selectedRows[0].uniqueCustomerId;\r\n if (selectedRows.length === 1) {\r\n dispatch(\r\n deleteCustomerData({\r\n uniqueCustomerId,\r\n setMessage,\r\n setDisplayInfoModal,\r\n })\r\n );\r\n }\r\n };\r\n\r\n const deleteIconClick = () => {\r\n if (selectedRows.length === 1) {\r\n switch (selectedRows[0].status) {\r\n case \"Deleted\":\r\n setMessage(\"Customer already deleted\");\r\n setDisplayInfoModal(true);\r\n break;\r\n case \"Not Activated\":\r\n setMessage(\"Selected Customer is not active, cannot be deleted\");\r\n setDisplayInfoModal(true);\r\n break;\r\n default:\r\n setMessage(\"Are you sure you want to delete the selected Customer?\");\r\n setDisplayConfirmModal(true);\r\n break;\r\n }\r\n } else if (selectedRows.length > 1) {\r\n setMessage(\"This operation can be performed only one row at a time\");\r\n setDisplayInfoModal(true);\r\n } else if (selectedRows.length < 1) {\r\n setMessage(\"Select a Customer\");\r\n setDisplayInfoModal(true);\r\n }\r\n };\r\n\r\n const editIconClick = () => {\r\n if (selectedRows.length > 1) {\r\n setMessage(\"This operation can be performed only one row at a time\");\r\n setDisplayInfoModal(true);\r\n } else if (selectedRows.length < 1) {\r\n setMessage(\"Select a Customer\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n setShowEditModal(true);\r\n }\r\n }\r\n\r\n const handleRowSelect = useCallback((data: any) => { //To resolve useEffect dependency\r\n setSelectedRows([...data]);\r\n }, []);\r\n\r\n const onAddCustomerClick = (submitData: any) => {\r\n setIsAddCustomer(true);\r\n dispatch(\r\n onAddCustomer(\r\n submitData,\r\n setMessage,\r\n setDisplayInfoModal,\r\n setShowAddModal,\r\n setShowCustomerGrid,\r\n false\r\n ))\r\n }\r\n\r\n useEffect(() => {\r\n if (newCustomerData && isAddCustomer) {\r\n setSelectedRows([newCustomerData])\r\n setIsAddCustomer(false)\r\n }\r\n }, [newCustomerData])\r\n\r\n const onEditCustomerClick = (submitData: any) => {\r\n if (submitData.customerName) { \r\n submitData.customerName = submitData.customerName.trim(); \r\n }\r\n if (submitData.customerNumber) {\r\n submitData.customerNumber = submitData.customerNumber.trim();\r\n }\r\n if (submitData.cityStateZip) {\r\n submitData.cityStateZip = submitData.cityStateZip.trim();\r\n }\r\n if (submitData.contact) {\r\n submitData.contact = submitData.contact.trim();\r\n }\r\n if (submitData.customerAddress) {\r\n submitData.customerAddress = submitData.customerAddress.trim();\r\n }\r\n if (submitData.email) {\r\n submitData.email = submitData.email.trim();\r\n }\r\n if (submitData.fax) {\r\n submitData.fax = submitData.fax.trim();\r\n }\r\n if (submitData.phone) {\r\n submitData.phone = submitData.phone.trim();\r\n }\r\n let uniqueCustomerId: any;\r\n if (submitData.uniqueCustomerId) {\r\n uniqueCustomerId = submitData.uniqueCustomerId; \r\n } else if (selectedRows && selectedRows.length) {\r\n uniqueCustomerId = selectedRows[0].uniqueCustomerId;\r\n submitData.clientId = selectedRows[0].clientId;\r\n } \r\n dispatch(onUpdateCustomer(uniqueCustomerId, submitData, setMessage, setDisplayInfoModal, setShowEditModal));\r\n }\r\n\r\n\r\n const onRowEditValidation = (rowData: any) => {\r\n let value = true;\r\n if (!rowData.customerNumber || !rowData.customerName || !rowData.customerAddress || !rowData.cityStateZip || !isPhoneValid(rowData.phone) || !rowData.phone ||!rowData.fax||\r\n !isFaxValid(rowData.fax) || !rowData.email || !rowData.contact || !rowData.status || !rowData.accountExpiryDate || !isEmailValid(rowData.email) || !isPatternValid(rowData.customerNumber, rowData)) {\r\n value = false;\r\n }\r\n return value;\r\n }\r\n\r\n const isPhoneValid = (phone) => {\r\n if (!phone) {\r\n return true;\r\n }\r\n return /^[0-9!@#$ %^&*()_+\\-=\\[\\]{};':\"\\\\|,.<>\\/?None]*$/.test(phone);\r\n }\r\n\r\n const isFaxValid = (fax) => {\r\n if (!fax) {\r\n return true;\r\n }\r\n return /^[0-9!@#$ %^&*()_+\\-=\\[\\]{};':\"\\\\|,.<>\\/?None]*$/.test(fax);\r\n }\r\n\r\n const isPatternValid = (customerNumber, rowData) => {\r\n if (!customerNumber) {\r\n return true;\r\n }\r\n if (rowData.countryId === 220)\r\n return /^[1,3][0-9]{7}$/.test(customerNumber);\r\n else\r\n return /^[6][0-9]{5}$/.test(customerNumber);\r\n }\r\n\r\n const isEmailValid = (email) => {\r\n if (!email) {\r\n return true;\r\n }\r\n return /^None$|^\\S+@\\S+\\.\\S+$/.test(email);\r\n }\r\n\r\n const onSiteIconClick = () => {\r\n if (selectedRows.length === 1) {\r\n setShowSiteModal(true)\r\n } else if (selectedRows.length > 1) {\r\n setMessage(\"This operation can be performed only one row at a time\");\r\n setDisplayInfoModal(true);\r\n } else if (selectedRows.length < 1) {\r\n setMessage(\"Select a Customer\");\r\n setDisplayInfoModal(true);\r\n }\r\n }\r\n\r\n const onReportAllClick = () => {\r\n setReportFlag('all');\r\n setShowReportModal(true);\r\n };\r\n\r\n const onReportHighlightedClick = () => {\r\n setReportFlag('highlighted');\r\n setShowReportModal(true);\r\n };\r\n\r\n const getSelectedCustomersId = () => {\r\n let params: any = [];\r\n selectedRows.map(item => {\r\n params.push(item.uniqueCustomerId);\r\n });\r\n return params;\r\n};\r\n\r\n const onExportAll = () => {\r\n const reportParameters = {\r\n exportParameters: {\r\n UniqueCustomerId: \"\",\r\n search: keyWord,\r\n sortColumn: sortField,\r\n sortOrder: sortOrder\r\n },\r\n exportType: \"Inspection Client Grid Report\"\r\n };\r\n dispatch(onExportReport(reportParameters, \"Customers\"));\r\n };\r\n\r\n const onExportHighlightedClick = () => {\r\n const reportParameters = {\r\n exportParameters: {\r\n UniqueCustomerId: getSelectedCustomersId(),\r\n search: keyWord,\r\n sortColumn: sortField,\r\n sortOrder: sortOrder\r\n },\r\n exportType: \"Inspection Client Grid Report\"\r\n };\r\n dispatch(onExportReport(reportParameters, \"Customers\"));\r\n };\r\n const onGroupHighlightedClick = () => {\r\n const groupedItems = [...selectedRows, ...customerList.filter(item => !selectedRows.includes(item))];\r\n setCustomerGridList(groupedItems);\r\n };\r\n \r\n\r\n return (\r\n
\r\n \r\n \r\n \r\n {showCustomerGrid ? (
\r\n setShowAddModal(true)}\r\n onEditClick={editIconClick}\r\n onDeleteClick={deleteIconClick}\r\n getSelectedRowData={handleRowSelect}\r\n onSaveRowEdit={(e) => {onEditCustomerClick(e)}}\r\n onPageChanged={onPageChanged}\r\n onRowEditValidation={onRowEditValidation}\r\n onDownloadClick={(e) => downloadRef.current?.toggle(e)}\r\n onGlobalSearch={onGlobalSearch}\r\n onSortData={onSort}\r\n defaultSelectedRows={selectedRows}\r\n settingListItems={[\r\n {\r\n id: 1,\r\n name: 'Sites',\r\n onClick: onSiteIconClick\r\n }\r\n ]}\r\n />\r\n
) : null}\r\n\r\n \r\n
    \r\n
  • Report All
  • \r\n
  • Report Highlighted
  • \r\n
  • Export All
  • \r\n\t\t\t\t\t
  • Export Highlighted
  • \r\n
  • Group Highlighted
  • \r\n
\r\n
\r\n\r\n {showAddModal ? ( onAddCustomerClick(data)} />) : null}\r\n {showEditModal ? ( onEditCustomerClick(data)} />) : null}\r\n {showSiteModal ? () : null}\r\n \r\n \r\n\r\n {showReportModal ? (\r\n \r\n\r\n ) : null}\r\n
\r\n );\r\n};\r\n\r\nexport default Customers;\r\n","import React, { useEffect, useRef, useState } from \"react\";\r\nimport { useForm, Controller } from \"react-hook-form\";\r\n\r\nimport { useDispatch } from \"react-redux\";\r\nimport { useAppSelector } from \"../../../redux/hooks\";\r\nimport { getCountryList, setCountryList } from \"redux/pages/Administration/administrationSlice\";\r\nimport { getZonesByCountryId, setZonesByCountryId } from \"redux/pages/Manage/OrganizationSettings/zoneSlice\";\r\nimport { getSalesOfficesByQuery, getSelectedSalesOffices, setSalesOfficesByQuery } from \"redux/pages/Manage/OrganizationSettings/salesOfficeSlice\";\r\n\r\nimport MultiSelect from \"components/common/MultiSelect/MultiSelect\";\r\n\r\nimport { Button } from \"primereact/button\";\r\nimport { Dropdown } from \"primereact/dropdown\";\r\nimport { classNames } from \"primereact/utils\";\r\nimport { Dialog } from \"primereact/dialog\";\r\n\r\ninterface Props {\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n setMessage: (state: string) => void;\r\n setDisplayInfoModal: (state: boolean) => void;\r\n selectedSalesOffices?: any;\r\n userSelected?: any;\r\n setSelectedSalesOffices?: (state : any) => void;\r\n}\r\n\r\ntype FormData = {\r\n country: any;\r\n zone: any;\r\n};\r\n\r\nexport const SelectSalesOffice: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => {},\r\n setMessage = () => {},\r\n setDisplayInfoModal = () => {},\r\n selectedSalesOffices = [],\r\n userSelected = {},\r\n setSelectedSalesOffices = () => {},\r\n}) => {\r\n\r\n const dispatch = useDispatch();\r\n const [salesOfficesData, setSalesOfficesData] = useState([]);\r\n const [countryLookup, setCountryLookup] = useState([{ countryName: \"--Select--\", countryId: 0 }]);\r\n const [zoneLookup, setZoneLookup] = useState([{ name: \"--Select--\", uniqueBusinessZoneId: 0 }]);\r\n\r\n const countryList = useAppSelector((state) => state.administration.countryList?.countries);\r\n const zoneList = useAppSelector((state) => state.zone.zonesByCountry);\r\n const salesOffices = useAppSelector((state) => state.salesOffice.salesOfficesByQuery);\r\n\r\n const selectedSite = useRef();\r\n const checkedRows = useRef();\r\n const disabledRows = useRef();\r\n\r\n const addSalesOfficeForm: any = useRef();\r\n \r\n const {\r\n control,\r\n handleSubmit,\r\n getValues,\r\n setValue\r\n } = useForm({\r\n defaultValues: {\r\n country: null,\r\n zone: null,\r\n },\r\n });\r\n\r\n useEffect(() => {\r\n dispatch(getCountryList());\r\n getZones(0);\r\n getSalesOffices();\r\n }, []);\r\n\r\n useEffect(() => {\r\n if (countryList && countryList?.length) {\r\n countryList?.map((item: any) => {\r\n return countryLookup.push({ countryName: item.countryName, countryId: item.countryId })\r\n });\r\n setValue(\"country\", countryLookup[0].countryId)\r\n setCountryLookup(countryLookup)\r\n dispatch(setCountryList(\"\"))\r\n }\r\n }, [countryList, setValue])\r\n\r\n useEffect(()=>{\r\n if(zoneList && zoneList?.length){\r\n zoneList?.map((item: any) => { \r\n return zoneLookup.push({ name: item.name, uniqueBusinessZoneId: item.uniqueBusinessZoneId })\r\n }); \r\n setValue(\"zone\",zoneLookup[0].uniqueBusinessZoneId) \r\n setZoneLookup(zoneLookup)\r\n dispatch(setZonesByCountryId(\"\"));\r\n }\r\n },[zoneList,setValue]);\r\n\r\n useEffect(() => {\r\n if (salesOffices && salesOffices.length) {\r\n let offices: any = [];\r\n salesOffices.map((item: any) => {\r\n return offices.push({\r\n id: item.uniqueSalesOfficeId,\r\n siteName: item.name,\r\n checked: (selectedSalesOffices.findIndex(element => element.uniqueSalesOfficeId === item.uniqueSalesOfficeId) !== -1) ? true : false,\r\n selected: (selectedSalesOffices.findIndex(element => element.uniqueSalesOfficeId === item.uniqueSalesOfficeId) !== -1) ? true : false,\r\n disabled: item.isDisabled ? true : false,\r\n });\r\n });\r\n selectedSalesOffices.map((item: any) => {\r\n if(offices && offices.length){\r\n let index = offices.findIndex(element => element.id === item.uniqueSalesOfficeId);\r\n if (index === -1) {\r\n return offices.unshift({\r\n id: item.uniqueSalesOfficeId,\r\n siteName: item.name,\r\n checked: true,\r\n selected: true,\r\n disabled: false,\r\n })\r\n }\r\n }\r\n });\r\n offices= [...offices].sort((prev, next) => next.siteName > prev.siteName? -1:1)\r\n setSalesOfficesData(offices);\r\n dispatch(setSalesOfficesByQuery(\"\"));\r\n }\r\n }, [salesOffices]);\r\n\r\n const onCountryChange = (countryId: any)=>{\r\n getZones(countryId);\r\n setZoneLookup([{ name: \"--Select--\", uniqueBusinessZoneId: 0 }])\r\n setValue(\"zone\",zoneLookup[0].uniqueBusinessZoneId) \r\n getSalesOffices();\r\n \r\n }\r\n\r\n const getZones = (countryId: any) => {\r\n dispatch(getZonesByCountryId(countryId));\r\n }\r\n\r\n const onZoneChange = (zoneId: any) => {\r\n getSalesOffices();\r\n }\r\n\r\n const getSalesOffices = () => {\r\n let query = 'pagination=no';\r\n if (getValues('country')) {\r\n query += `&countryid=${getValues('country')}`;\r\n }\r\n if (getValues('zone')) {\r\n query += `&zoneid=${getValues('zone')}`;\r\n }\r\n dispatch(getSalesOfficesByQuery(query));\r\n setSalesOfficesData([])\r\n }\r\n\r\n const formSubmitHandler = (data: any) => {\r\n addSalesOfficeForm.current.requestSubmit();\r\n };\r\n\r\n const onAddFormSubmit = (data: any) => { \r\n let offices: any = [];\r\n let allCheckedOffices = [...checkedRows.current, ...disabledRows.current]; \r\n if (allCheckedOffices.length) {\r\n allCheckedOffices.map((item: any) => {\r\n offices.push({\r\n uniqueSalesOfficeId: item.id,\r\n name: item.siteName\r\n });\r\n return null;\r\n });\r\n setSelectedSalesOffices(offices);\r\n dispatch(getSelectedSalesOffices(offices));\r\n setMessage(\"Sales Office(s) updated\");\r\n\t\t\tsetDisplayInfoModal(true);\r\n setShowModal(false);\r\n } else {\r\n setMessage(\"At least one Sales Office should be selected\");\r\n\t\t\tsetDisplayInfoModal(true);\r\n }\r\n };\r\n\r\n const renderFooter = () => {\r\n return (\r\n <>\r\n setShowModal(false)}\r\n className=\"cancel btn\"\r\n />\r\n
\r\n
)}\r\n \r\n \r\n {showEditSelectSalesOffice ? (\r\n \r\n ) : null} \r\n \r\n onCancelAction()}\r\n setShowConfirmModal={setDisplayConfirmModal}\r\n confirmAction={onConfirmAction}\r\n message={message}\r\n />\r\n \r\n \r\n \r\n \r\n \r\n );\r\n}\r\n\r\nexport default EditUser;","import React, { useCallback, useEffect, useRef, useState } from 'react';\r\nimport { useForm, Controller } from 'react-hook-form';\r\n\r\nimport { Button } from 'primereact/button';\r\nimport { Checkbox } from 'primereact/checkbox';\r\nimport { InputText } from 'primereact/inputtext';\r\nimport { Dropdown } from 'primereact/dropdown';\r\nimport { Calendar } from 'primereact/calendar';\r\nimport { classNames } from 'primereact/utils';\r\n\r\nimport { BsExclamationCircleFill } from 'react-icons/bs';\r\n\r\nimport SelectSalesOffice from './AddSelectSalesOffice'\r\nimport AddModal from 'components/Table/AddModal/AddModal';\r\n//redux\r\nimport { useDispatch } from \"react-redux\";\r\nimport { useAppSelector } from \"../../../redux/hooks\"\r\nimport { getSelectedSalesOffices } from \"redux/pages/Manage/OrganizationSettings/salesOfficeSlice\";\r\nimport { checkEmailAvailable, checkLoginNameAvailable, getUserRoles, setLoginAvailable } from 'redux/pages/Administration/User/userSlice';\r\nimport InformationBox from \"components/common/Message/InformationBox/InformationBox\";\r\nimport moment from 'moment';\r\n\r\ninterface Props {\r\n showModal: boolean,\r\n setShowModal: (state: boolean) => void\r\n userRoleId?: number\r\n onAddUserClick: (data: any) => void,\r\n}\r\n\r\ntype FormData = {\r\n loginName: string,\r\n resetPasswordOnNextLogin: boolean,\r\n firstName: string,\r\n middleName: string,\r\n lastName: string,\r\n userRole: any,\r\n accountActivationDate: any,\r\n accountExpiryDate: any,\r\n email: string,\r\n status: string,\r\n salesOffices: any,\r\n};\r\n\r\nexport const AddUser: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => { },\r\n userRoleId = 1,\r\n onAddUserClick = () => { },\r\n}) => {\r\n\r\n const addUserForm: any = useRef();\r\n\r\n const {\r\n control,\r\n handleSubmit,\r\n getValues,\r\n setValue,\r\n watch,\r\n formState: { errors },\r\n } = useForm({\r\n defaultValues: {\r\n loginName: '',\r\n resetPasswordOnNextLogin: false,\r\n firstName: '',\r\n middleName: '',\r\n lastName: '',\r\n userRole: null,\r\n accountActivationDate: null,\r\n accountExpiryDate: null,\r\n email: '',\r\n status: \"Active\",\r\n salesOffices: [],\r\n }\r\n });\r\n\r\n const existingLogin = useAppSelector((state) => state.user.existingLogin);\r\n const existingEmail = useAppSelector((state) => state.user.existingEmail);\r\n const userRoles = useAppSelector(\r\n (state) => state.user.userRoles\r\n );\r\n const salesOfficeIds = useAppSelector((state) => state.salesOffice?.selectedSalesOffices);\r\n const loginName = watch(\"loginName\");\r\n const firstName = watch(\"firstName\");\r\n const lastName = watch(\"lastName\");\r\n\r\n const [userRoleLookup, setUserRoleLookup] = useState([{ name: \"\", code: \"\" }]);\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const [message, setMessage] = useState(\"\");\r\n const [showSelectSalesOffice, setShowSelectSalesOffice] = useState(false);\r\n const [isSubmit, setIsSubmit] = useState(false);\r\n const [submitData, setSubmitData] = useState();\r\n const [showSalesOffice, setShowSalesOffice] = useState(false);\r\n const [loginAsEmail, setLoginAsEmail] = useState(false);\r\n const [selectedSalesOffices, setSelectedSalesOffices] = useState([]);\r\n\r\n const dispatch = useDispatch();\r\n\r\n const setDate = useCallback(() => {\r\n let todayDate = new Date()\r\n let day = todayDate.getDate();\r\n let month = todayDate.getMonth();\r\n let year = todayDate.getFullYear();\r\n setValue(\"accountActivationDate\", new Date(year, month, day));\r\n setValue(\"accountExpiryDate\", new Date(year + 1, month, day));\r\n setValue(\"resetPasswordOnNextLogin\", true);\r\n }, [setValue])\r\n\r\n useEffect(() => {\r\n setDate()\r\n dispatch(getUserRoles());\r\n switch (userRoleId) {\r\n case 1:\r\n setShowSalesOffice(false);\r\n setLoginAsEmail(false);\r\n break;\r\n case 2:\r\n setShowSalesOffice(false);\r\n setLoginAsEmail(true);\r\n break;\r\n case 3:\r\n case 4:\r\n case 5:\r\n case 6:\r\n setShowSalesOffice(true);\r\n setLoginAsEmail(true);\r\n break;\r\n default:\r\n setShowSalesOffice(false);\r\n setLoginAsEmail(false);\r\n break;\r\n }\r\n }, [dispatch, setDate])\r\n\r\n useEffect(() => {\r\n if (userRoles) {\r\n let userRole: { name: string, code: string }[] = [];\r\n userRoles.map((item: any) => {\r\n return userRole.push({ name: item.userRoleName, code: item.userRoleId });\r\n })\r\n setUserRoleLookup(userRole)\r\n let currentUserRole = userRole.find((item: any) => item.code === userRoleId);\r\n setValue(\"userRole\", currentUserRole?.name)\r\n }\r\n }, [userRoles, setValue, userRoleId])\r\n\r\n useEffect(() => {\r\n if (salesOfficeIds && salesOfficeIds.length) {\r\n setSelectedSalesOffices(salesOfficeIds);\r\n }\r\n }, [salesOfficeIds]);\r\n\r\n const formSubmitHandler = (data: any) => {\r\n addUserForm.current.requestSubmit();\r\n };\r\n\r\n const getFormErrorMessage = (name) => {\r\n return errors[name] && {errors[name].message}\r\n };\r\n\r\n const onAddFormSubmit = (data: any) => {\r\n if (userRoleId !== 1 && userRoleId !== 2 && salesOfficeIds?.length === 0) {\r\n setDisplayInfoModal(true)\r\n setMessage(\"At least one Sales Office should be selected\")\r\n } else if (new Date(data.accountActivationDate) > new Date(data.accountExpiryDate)) {\r\n setDisplayInfoModal(true)\r\n setMessage(\"'Account Activates on' must be earlier than 'Account Expires on'\")\r\n } else {\r\n setSubmitData(data);\r\n setIsSubmit(true)\r\n let body = {\r\n \"email\": data.email\r\n }\r\n dispatch(checkEmailAvailable(body))\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n if (isSubmit && existingEmail !== \"\") {\r\n if (existingEmail?.isEmailInUse) {\r\n setDisplayInfoModal(true)\r\n setMessage(\"Email already used by another Tech Advance + user\")\r\n } else {\r\n if (userRoleId !== 1)\r\n submitData.email = submitData.loginName?.trim();\r\n else\r\n submitData.email = submitData.email?.trim(); \r\n\r\n let offices = getSalesOfficeIds(salesOfficeIds)\r\n submitData.salesOffices = offices;\r\n submitData.accountActivationDate = moment(submitData?.accountActivationDate).format(\"yyyy-MM-DD\").toString()\r\n submitData.accountExpiryDate = moment(submitData?.accountExpiryDate).format(\"yyyy-MM-DD\").toString()\r\n submitData.loginName=submitData.loginName?.trim();\r\n submitData.firstName= submitData.firstName?.trim();\r\n submitData.middleName=submitData.middleName?.trim();\r\n submitData.lastName= submitData.lastName?.trim();\r\n onAddUserClick && onAddUserClick(submitData)\r\n }\r\n setIsSubmit(false)\r\n }\r\n }, [existingEmail])\r\n\r\n const getSalesOfficeIds = (salesOfficeIds: any) => {\r\n let officeIds: any = [];\r\n salesOfficeIds.map((item: any) => {\r\n officeIds.push(item.uniqueSalesOfficeId);\r\n return null;\r\n });\r\n return officeIds;\r\n }\r\n\r\n const onCheckAvalibilty = (event) => {\r\n event?.preventDefault();\r\n if (loginName?.trim() !== \"\") {\r\n if (userRoleId !== 1 && !isEmailValid(loginName)) {\r\n setDisplayInfoModal(true)\r\n setMessage(\"Enter Login Name with valid Mail Domain\")\r\n } else {\r\n let body = {\r\n \"loginName\": loginName\r\n }\r\n dispatch(checkLoginNameAvailable(body, setMessage, setDisplayInfoModal))\r\n }\r\n } else {\r\n setDisplayInfoModal(true)\r\n setMessage(\"Enter Login Name\")\r\n }\r\n }\r\n const isEmailValid = (email) => {\r\n if (!email) {\r\n return true;\r\n }\r\n return /^\\s*\\S+@\\S+\\.\\S+\\s*$/.test(email);\r\n };\r\n\r\n useEffect(() => {\r\n if (existingLogin !== \"\") {\r\n setDisplayInfoModal(true)\r\n setMessage(\"Login Name already used by another Tech Advance + user\")\r\n dispatch(setLoginAvailable(\"\"));\r\n }\r\n }, [existingLogin])\r\n\r\n const onSalesOfficeClick = (e: any) => {\r\n e.preventDefault()\r\n if (loginName === \"\") {\r\n setDisplayInfoModal(true)\r\n setMessage(\"Enter Login Name\")\r\n } else if (firstName === \"\") {\r\n setDisplayInfoModal(true)\r\n setMessage(\"Enter First Name\")\r\n } else if (lastName === \"\") {\r\n setDisplayInfoModal(true)\r\n setMessage(\"Enter Last Name\")\r\n } else {\r\n resetSelectedUsers();\r\n setShowSelectSalesOffice(true);\r\n }\r\n }\r\n\r\n const resetSelectedUsers = useCallback(() => {\r\n dispatch(getSelectedSalesOffices([]));\r\n }, []);\r\n\r\n useEffect(() => {\r\n return () => {\r\n resetSelectedUsers();\r\n };\r\n }, []);\r\n\r\n //handle form validation errors\r\n const onError = (errors: any, e: any) => { };\r\n\r\n return (\r\n <>\r\n \r\n
\r\n
\r\n
\r\n \r\n {\r\n return value.trim().length<=0\r\n ?\"This field is required\":true\r\n },\r\n }}\r\n\r\n render={({ field, fieldState }) => (\r\n \r\n )} />\r\n \r\n {getFormErrorMessage('loginName')}\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n (\r\n \r\n )} />\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n {\r\n return value.trim().length<=0\r\n ?\"This field is required\":true\r\n },\r\n maxLength: {\r\n value : 100,\r\n message : \"Maximum 100 characters allowed\"\r\n }\r\n }}\r\n render={({ field, fieldState }) => (\r\n \r\n )} />\r\n \r\n {getFormErrorMessage('firstName')}\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n (\r\n \r\n )} />\r\n \r\n {getFormErrorMessage('middleName')}\r\n \r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n \r\n {\r\n return value.trim().length<=0\r\n ?\"This field is required\":true\r\n },\r\n maxLength: {\r\n value : 100,\r\n message : \"Maximum 100 characters allowed\"\r\n }\r\n }}\r\n render={({ field, fieldState }) => (\r\n \r\n )} />\r\n \r\n {getFormErrorMessage('lastName')}\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n (\r\n field.onChange(e.value)} />\r\n )} />\r\n \r\n {getFormErrorMessage('accountActivationDate')}\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n {\r\n return getValues(\"accountExpiryDate\") <= new Date() ? \"Account Expiry Date must be a future date\" : undefined;\r\n }\r\n }}\r\n render={({ field, fieldState }) => (\r\n field.onChange(e.value)} />\r\n )} />\r\n \r\n {getFormErrorMessage('accountExpiryDate')}\r\n \r\n
\r\n
\r\n\r\n {!loginAsEmail && (
\r\n
\r\n \r\n (\r\n \r\n )} />\r\n \r\n {getFormErrorMessage('email')}\r\n \r\n
\r\n
)}\r\n\r\n
\r\n
\r\n \r\n (\r\n field.onChange(e.value)}\r\n options={userRoleLookup}\r\n optionLabel=\"name\"\r\n optionValue=\"name\"\r\n />\r\n )} />\r\n \r\n {getFormErrorMessage('userRole')}\r\n \r\n
\r\n
\r\n {showSalesOffice && (
\r\n
\r\n
\r\n
)}\r\n\r\n
\r\n \r\n {showSelectSalesOffice ? (\r\n \r\n ) : null}\r\n \r\n \r\n \r\n );\r\n}\r\n\r\nexport default AddUser;","import React, { useEffect, useRef } from \"react\";\r\nimport { useForm, Controller } from \"react-hook-form\";\r\n\r\nimport { Button } from \"primereact/button\";\r\nimport { Dropdown } from \"primereact/dropdown\";\r\nimport { classNames } from \"primereact/utils\";\r\nimport { Dialog } from \"primereact/dialog\";\r\nimport { BsExclamationCircleFill } from \"react-icons/bs\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\nimport { getStatusList } from \"redux/pages/Administration/administrationSlice\";\r\n\r\ninterface Props {\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n userRoleId: any;\r\n searchId: any;\r\n setStatusId: (data: any) => void;\r\n onSearchClick: (data: any) => void;\r\n setUserSearchAppliedFlag: any;\r\n}\r\n\r\ntype FormData = {\r\n StatusId: string;\r\n sortColumn: String;\r\n sortDirection: String;\r\n searchAttribute: String;\r\n userRoleId: number;\r\n};\r\n\r\nexport const UserSearch: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => { },\r\n userRoleId= '',\r\n searchId = '',\r\n setStatusId = () => {},\r\n onSearchClick = () => { },\r\n setUserSearchAppliedFlag = () => {},\r\n}) => {\r\n\r\n const userSearchForm: any = useRef();\r\n\r\n const {\r\n control,\r\n handleSubmit,\r\n formState: { errors },\r\n } = useForm({\r\n defaultValues: {\r\n sortColumn: \"[User Name]\",\r\n sortDirection: \"ASC\",\r\n searchAttribute: \"\",\r\n StatusId: searchId,\r\n userRoleId: userRoleId\r\n },\r\n });\r\n\r\n const { status } = useAppSelector((state) => state.administration.statusList);\r\n const dispatch = useDispatch();\r\n\r\n useEffect(() => {\r\n dispatch(getStatusList());\r\n }, [dispatch]);\r\n\r\n const formSubmitHandler = (data: any) => {\r\n userSearchForm.current.requestSubmit();\r\n };\r\n\r\n const getFormErrorMessage = (name) => {\r\n return (\r\n errors[name] && (\r\n \r\n \r\n {errors[name].message}\r\n \r\n )\r\n );\r\n };\r\n\r\n const onUserSearchFormSubmit = (data: any) => {\r\n setStatusId(data.StatusId);\r\n onSearchClick && onSearchClick(data);\r\n };\r\n\r\n const renderFooter = () => {\r\n return (\r\n <>\r\n setShowModal(false)}\r\n className=\"cancel btn\"\r\n />\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n

Uploaded Date

\r\n
\r\n
\r\n
\r\n \r\n (\r\n \r\n {uploadedDate}\r\n \r\n )}\r\n />\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default UploadXML;\r\n","\r\nexport const ATTACHMENT_LIST_ROWS = [\r\n {\r\n id: 1,\r\n fileName: 'sample.pdf',\r\n fileSize: '100KB',\r\n description: 'demo',\r\n uploadedOn:'null',\r\n uploadedBy:'xyz'\r\n },\r\n {\r\n id: 2,\r\n fileName: 'sample.pdf',\r\n fileSize: '100KB',\r\n description: 'demo',\r\n uploadedOn:'null',\r\n uploadedBy:'xyz'\r\n }\r\n];\r\n\r\nexport const ATTACHMENT_LIST_COLS = {\r\n LIST_COLS: [\r\n \r\n {\r\n field: 'inspectionTask',\r\n header: 'Inspection Task',\r\n // editor: (options) => textEditor(options),\r\n style: { flex: '1 0 200px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'fileName',\r\n header: 'File Name',\r\n // editor: (options) => textEditor(options),\r\n style: { flex: '1 0 200px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'fileSize',\r\n header: 'File Size (KB)',\r\n // editor: (options) => textEditor(options),\r\n style: { flex: '1 0 200px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'description',\r\n header: 'Description',\r\n //editor: (options) => textEditor(options),\r\n style: { flex: '1 0 200px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'uploadedOn',\r\n header: 'Uploaded On',\r\n //editor: (options) => textEditor(options),\r\n style: { flex: '1 0 200px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'uploadedBy',\r\n header: 'Uploaded By',\r\n //editor: (options) => reportEditor(options),\r\n style: { flex: '1 0 150px' },\r\n sortable: true,\r\n }\r\n \r\n ]\r\n};","import React, { useCallback, useState } from \"react\";\r\nimport { Dialog } from \"primereact/dialog\";\r\nimport { OverlayPanel } from \"primereact/overlaypanel\";\r\n// redux\r\nimport { useDispatch } from \"react-redux\";\r\nimport { useAppSelector } from \"../../../../redux/hooks\";\r\nimport Table from \"components/Table/Table\";\r\n\r\nimport InformationBox from \"components/common/Message/InformationBox/InformationBox\";\r\nimport PopOver from \"components/common/PopOver/PopOver\";\r\nimport { ATTACHMENT_LIST_COLS } from \"./AttachmentListData\";\r\nimport { getMasterDataAttachmentList, onDownloadMultipleAttachment, setAttachmentList, setAttachmentPageDetails } from \"redux/pages/Inspection/InspectionTask/InspectionDetails/Equipment/EquipmentSlice\";\r\n\r\ninterface Props {\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n selectedRows: any;\r\n selectedItems: any;\r\n}\r\n\r\nexport const AttachmentList: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => { },\r\n selectedRows = [],\r\n selectedItems = [],\r\n}) => {\r\n\r\n const attachmentList = useAppSelector((state) => state.equipment.attachmentList);\r\n const dispatch = useDispatch();\r\n const downloadRef = React.createRef();\r\n\r\n const [pageIndex] = useState(0)\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const [message, setMessage] = useState(\"\");\r\n\r\n const [selectedAttachments, setSelectedAttachments] = useState([]);\r\n const [attachmentListdetails] = useState({\r\n currentLength: 100,\r\n currentStart: 1,\r\n totalCount: 500,\r\n });\r\n\r\n const onSort = (event) => {\r\n let sortDirection: string;\r\n if (event.sortOrder === 1)\r\n sortDirection = \"ASC\"\r\n else\r\n sortDirection = \"DESC\"\r\n dispatch(getMasterDataAttachmentList(selectedRows[0]?.uniqueSystemId,selectedItems[0]?.EquipmentId,setMessage,setDisplayInfoModal,setShowModal, event?.sortField, sortDirection))\r\n }\r\n\r\n const handleRowSelect = useCallback((data: any) => {\r\n setSelectedAttachments([...data]);\r\n }, []);\r\n\r\n const onDownload = () => {\r\n if (selectedAttachments?.length) {\r\n let attachmentIds: any = [];\r\n selectedAttachments.map(item => {\r\n attachmentIds.push(item.attachmentId);\r\n });\r\n dispatch(onDownloadMultipleAttachment(selectedAttachments[0]?.uniqueInspectionTaskId, selectedItems[0]?.EquipmentId, attachmentIds, setMessage, setDisplayInfoModal));\r\n } else {\r\n setDisplayInfoModal(true);\r\n setMessage('Select Attachments');\r\n }\r\n };\r\n\r\n return (\r\n <>\r\n {\r\n dispatch(setAttachmentList([]));\r\n dispatch(setAttachmentPageDetails([]));\r\n setShowModal(false);\r\n }}\r\n className=\"display-settings personal selectsite\"\r\n >\r\n downloadRef.current?.toggle(e)}\r\n settingListItems={[]}\r\n />\r\n \r\n \r\n
    \r\n
  • Download
  • \r\n
\r\n
\r\n \r\n \r\n );\r\n};\r\n\r\nexport default AttachmentList;\r\n","import React, { useCallback, useEffect, useRef, useState } from \"react\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { useAppSelector } from \"../../../redux/hooks\";\r\nimport { getEquipmentTypeList, getMasterDataAttachmentList, getMasterdataList, getSystemPanelList,setEquipmentPanelList,setMasterDataList} from \"redux/pages/Inspection/InspectionTask/InspectionDetails/Equipment/EquipmentSlice\";\r\n\r\nimport { useForm, Controller } from \"react-hook-form\";\r\n\r\nimport DataTableComponent from \"components/Table/DataTable\";\r\nimport InformationBox from \"components/common/Message/InformationBox/InformationBox\";\r\n\r\nimport { getMasterDataListGridColumns } from \"./utility\";\r\n\r\nimport { Button } from \"primereact/button\";\r\nimport { Dialog } from \"primereact/dialog\";\r\nimport { Dropdown } from \"primereact/dropdown\";\r\nimport { classNames } from \"primereact/utils\";\r\nimport { BsPaperclip } from \"react-icons/bs\";\r\nimport { FaChevronDown, FaCog } from \"react-icons/fa\";\r\nimport { OverlayPanel } from \"primereact/overlaypanel\";\r\nimport AttachmentList from \"./Attachments/AttachmentList\";\r\n\r\ninterface Props {\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n selectedRows: any;\r\n}\r\n\r\ntype FormData = {\r\n panelId: any;\r\n uniqueEquipmentClassId: any;\r\n};\r\n\r\nexport const MasterData: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => {},\r\n selectedRows = [],\r\n}) => {\r\n\r\n const dispatch = useDispatch();\r\n const panels = useAppSelector((state) => state.equipment.equipmentPanelList);\r\n const equipmentTypes = useAppSelector((state) => state.equipment.equipmentTypeList);\r\n const masterDataList = useAppSelector((state) => state.equipment.masterDataList);\r\n const masterDataPageDetails = useAppSelector((state) => state.equipment.masterDataPageDetails);\r\n \r\n const [sortField, setSortField] = useState('');\r\n const [sortOrder, setSortOrder] = useState('');\r\n const [message, setMessage] = useState(\"\");\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const [gridData, setGridData] = useState([]);\r\n const [columns, setColumns] = useState([]);\r\n const settingRef = React.createRef();\r\n const [selectedPanel, setSelectedPanel] = useState('');\r\n const [selectedEquipment, setSelectedEquipment] = useState('All');\r\n const [selectedItems, setSelectedItems] = useState([]);\r\n const [pageDetails, setPageDetails] = useState();\r\n const [pageIndex, setPageIndex] = useState(0);\r\n const [currentStart, setCurrentStart] = useState(1);\r\n const [showAttachmentListModal, setShowAttachmentListModal] = useState(false);\r\n const isPanel = useRef(true);\r\n\r\n const {\r\n control,\r\n setValue,\r\n } = useForm({\r\n defaultValues: {\r\n panelId: '',\r\n uniqueEquipmentClassId: 'All'\r\n },\r\n});\r\n\r\n useEffect(() => {\r\n if (selectedRows && selectedRows.length) {\r\n dispatch(getSystemPanelList(selectedRows[0].uniqueSystemId));\r\n dispatch(getEquipmentTypeList()); \r\n }\r\n }, [selectedRows]);\r\n \r\n useEffect(() => {\r\n if(panels && panels.length){\r\n setValue('panelId', panels[0].equipmentId)\r\n setSelectedPanel(panels[0].equipmentId)\r\n }\r\n if(!isPanel.current && panels.length === 0){ \r\n setGridData([]);\r\n setMessage(\"No Equipment Group data exists\");\r\n setDisplayInfoModal(true);\r\n }\r\n return()=>{\r\n isPanel.current = false;\r\n };\r\n }, [panels]);\r\n\r\n useEffect(() => {\r\n let equipment = (selectedEquipment === 'All') ? null : selectedEquipment;\r\n if (selectedPanel) {\r\n dispatch(getMasterdataList(selectedRows[0].uniqueSystemId,\r\n { UniquePanelId: selectedPanel, UniqueEquipmentClassId: equipment },\r\n setMessage,\r\n setDisplayInfoModal,\r\n currentStart,\r\n sortField,\r\n sortOrder\r\n ));\r\n }\r\n }, [selectedPanel, selectedEquipment])\r\n\r\n useEffect(() => {\r\n if (masterDataList) {\r\n const column = getMasterDataListGridColumns(masterDataList?.generalProperties);\r\n setColumns([...column]);\r\n setGridData([...masterDataList?.data]);\r\n setPageDetails(masterDataList?.pageDetails);\r\n }\r\n }, [masterDataList]); \r\n \r\n const onPageChanged = (options: any) => {\r\n if (options !== pageIndex) {\r\n let equipment = (selectedEquipment === 'All') ? null : selectedEquipment;\r\n let currentStart = options * masterDataPageDetails?.currentLength + 1;\r\n setCurrentStart(currentStart)\r\n setPageIndex(options);\r\n dispatch(getMasterdataList(selectedRows[0].uniqueSystemId, \r\n {UniquePanelId: selectedPanel, UniqueEquipmentClassId: equipment}, \r\n setMessage, \r\n setDisplayInfoModal,\r\n currentStart,\r\n sortField, \r\n sortOrder\r\n ));\r\n }\r\n };\r\n\r\n const onSort = (event) => {\r\n let equipment = (selectedEquipment === 'All') ? null : selectedEquipment;\r\n let sortDirection: string;\r\n if (event.sortOrder === 1) \r\n sortDirection = \"ASC\"\r\n else\r\n sortDirection = \"DESC\"; \r\n setSortField(event.sortField)\r\n setSortOrder(sortDirection)\r\n dispatch(getMasterdataList(selectedRows[0].uniqueSystemId, \r\n {UniquePanelId: selectedPanel, UniqueEquipmentClassId: equipment}, \r\n setMessage, \r\n setDisplayInfoModal,\r\n currentStart,\r\n event?.sortField, \r\n sortDirection\r\n ));\r\n }\r\n\r\n const handleRowSelect = useCallback((data: any) => {\r\n setSelectedItems([...data]);\r\n }, []);\r\n\r\n const showAttachmentHandler=()=>{\r\n if (selectedItems.length > 1) {\r\n setMessage(\"This operation can be performed only one row at a time\");\r\n setDisplayInfoModal(true);\r\n } else if (selectedItems.length < 1) {\r\n setMessage(\"Select a equipment\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n dispatch(getMasterDataAttachmentList(selectedRows[0]?.uniqueSystemId,selectedItems[0]?.EquipmentId,setMessage,setDisplayInfoModal,setShowAttachmentListModal)) \r\n }\r\n }\r\n\r\n const onCloseMasterData=()=>{\r\n dispatch(setEquipmentPanelList(\"\"));\r\n dispatch(setMasterDataList(\"\"));\r\n setSelectedPanel(\"\");\r\n setGridData([]);\r\n setShowModal(false);\r\n }\r\n\r\n return (\r\n <>\r\n setShowModal(false)}\r\n className=\"master-data\"\r\n >\r\n
\r\n
\r\n
\r\n
System Master Equipment Data
\r\n
\r\n\r\n
\r\n onCloseMasterData()}>\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n (\r\n {field.onChange(e.value);setSelectedPanel(e.value)}}\r\n options={panels}\r\n optionLabel=\"name\"\r\n optionValue=\"equipmentId\" \r\n />\r\n )}\r\n />\r\n \r\n \r\n
\r\n
\r\n \r\n (\r\n {field.onChange(e.value);setSelectedEquipment(e.value)}}\r\n options={equipmentTypes}\r\n optionLabel=\"equipmentClassName\"\r\n optionValue=\"uniqueEquipmentClassId\"\r\n />\r\n )}\r\n />\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n\r\n {showAttachmentListModal ? (\r\n \r\n ) : null}\r\n\r\n \r\n \r\n );\r\n};\r\n\r\nexport default MasterData;\r\n","export function getMasterDataListGridColumns(generalProperties: any) {\r\n const columnInfo: any = [];\r\n if (generalProperties != null) {\r\n for (let i = 0; i < generalProperties?.length; i++) {\r\n if (generalProperties[i]?.propertyType !== \"INTERNAL\") {\r\n let data = {\r\n field: generalProperties[i]?.name,\r\n header: generalProperties[i]?.alias,\r\n style: { flex: '1 0 200px' },\r\n sortable: true,\r\n }\r\n columnInfo.push(data);\r\n }\r\n }\r\n }\r\n return columnInfo;\r\n}\r\n\r\n","import React, { useState, useRef, useEffect } from \"react\";\r\nimport { Dialog } from \"primereact/dialog\";\r\nimport { Button } from \"primereact/button\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport ConfirmationBox from \"components/common/Message/ConfirmationBox/ConfirmationBox\";\r\nimport InformationBox from \"components/common/Message/InformationBox/InformationBox\";\r\nimport { onUpdateEquipmentGroup } from \"redux/pages/Inspection/Systems/systemSlice\";\r\nimport { DataTable } from \"primereact/datatable\";\r\nimport { Column } from \"primereact/column\";\r\nimport { Checkbox } from \"primereact/checkbox\";\r\n\r\ninterface Props {\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n equipmentGroups: any;\r\n selectedRows: any\r\n}\r\n\r\nexport const EquipmentGroupList: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => { },\r\n equipmentGroups = [],\r\n selectedRows = []\r\n}) => {\r\n const [equipmentList, setEquipmentList] = useState([]);\r\n const [selection, setSelection] = useState([]);\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const [displayConfirmModal, setDisplayConfirmModal] = useState(false);\r\n const [message, setMessage] = useState(\"\");\r\n const selectedId = useRef();\r\n const [btnDisable, setBtnDisable] = useState(false);\r\n const dispatch = useDispatch();\r\n\r\n const updateEquipmentSubmit = () => {\r\n setDisplayConfirmModal(false)\r\n setBtnDisable(true);\r\n const body = { \"equipmentIds\": equipmentList.filter(function (item) { return item.isSelected === true }).map(item => item.equipmentId) }\r\n dispatch(onUpdateEquipmentGroup(selectedRows[0]?.uniqueSystemId, body, setMessage, setDisplayInfoModal, setShowModal))\r\n }\r\n\r\n const onConfirmClick = () => {\r\n setDisplayConfirmModal(false);\r\n }\r\n\r\n useEffect(() => {\r\n if (equipmentGroups && equipmentGroups.length) {\r\n setEquipmentList(equipmentGroups);\r\n setSelection(equipmentGroups[0])\r\n } else {\r\n setEquipmentList([]);\r\n setSelection([]);\r\n }\r\n }, [dispatch, equipmentGroups]);\r\n\r\n const bodyCheckBoxTemplate = (rowData: any, columnDetails: any) => {\r\n return (\r\n
\r\n onCheckBoxChange(e, columnDetails)}\r\n />\r\n
\r\n );\r\n };\r\n\r\n const onCheckBoxChange = (e, details) => {\r\n selectedId.current = details.props.value[details.rowIndex].equipmentId\r\n equipmentList[details.rowIndex].isSelected = e.checked;\r\n setEquipmentList([...equipmentList]);\r\n if (e.checked === false) {\r\n setMessage(\"All Equipment data of the selected Equipment Group will be lost. Do you want to proceed?\");\r\n setDisplayConfirmModal(true);\r\n }\r\n }\r\n\r\n const onOkClick = () => {\r\n setDisplayInfoModal(false);\r\n setBtnDisable(false);\r\n setShowModal(false);\r\n }\r\n\r\n const onCancelClick = () => {\r\n let index = equipmentList.findIndex((obj => obj.equipmentId === selectedId.current));\r\n let selectedItem = equipmentList.filter((item: any) => item.equipmentId === selectedId.current);\r\n selectedItem[0].isSelected = true;\r\n equipmentList.splice(index, 1, selectedItem[0]);\r\n setDisplayConfirmModal(false);\r\n }\r\n \r\n return (\r\n <>\r\n setShowModal(false)}\r\n className=\"s-modal equipment-groups\"\r\n >\r\n
\r\n
\r\n System: \r\n {selectedRows[0]?.systemName}\r\n
\r\n
\r\n
\r\n {setSelection(e.value)}}\r\n dataKey=\"equipmentId\"\r\n responsiveLayout=\"scroll\"\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n {\r\n setShowModal(false);\r\n }}\r\n className=\"cancel-btn\"\r\n />\r\n\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default EquipmentGroupList;\r\n","import React, { useEffect, useState } from \"react\";\r\nimport { Dialog } from \"primereact/dialog\";\r\n\r\nimport ReportViewer from \"components/common/Report/ReportViewer\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { createReportPreviewSession, setReportPreviewSession } from \"redux/pages/Administration/Site/siteSlice\";\r\nimport { Controller, useForm } from \"react-hook-form\";\r\nimport { Dropdown } from \"primereact/dropdown\";\r\nimport { classNames } from \"primereact/utils\";\r\n\r\ninterface Props {\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n selectedRows: any;\r\n reportFlag: string;\r\n sortByColumns: any;\r\n searchKeyword: string;\r\n sortField: any;\r\n sortOrder: any;\r\n}\r\n\r\ntype FormData = {\r\n sortBy: string;\r\n};\r\n\r\nexport const SystemsReport: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => { },\r\n reportFlag = '',\r\n selectedRows = [],\r\n sortByColumns = [],\r\n searchKeyword = '',\r\n sortField= '',\r\n sortOrder = '',\r\n}) => {\r\n\r\n const {\r\n control,\r\n } = useForm({\r\n defaultValues: {\r\n sortBy: \"\",\r\n },\r\n });\r\n\r\n const [sortByLookup, setSortByLookup] = useState([{ field: \"\", header: \"\" }]);\r\n const [reportId, setReportId] = useState(null);\r\n const [sortColumn, setSortColumn] = useState(sortField);\r\n const [sortDirection, setSortDirection] = useState(sortOrder);\r\n const reportPreviewSession = useAppSelector((state) => state.site.reportPreviewSession);\r\n const dispatch = useDispatch();\r\n\r\n useEffect(() => {\r\n if (sortByColumns?.length) {\r\n let sortBy: { field: string; header: string }[] = [];\r\n sortByColumns?.map((item: any) => {\r\n return sortBy.push({ field: item.field, header: item.header });\r\n });\r\n setSortByLookup(sortBy);\r\n }\r\n }, [sortByColumns]);\r\n\r\n const getSelectedSystemsId = () => {\r\n let params: any = [];\r\n selectedRows.map(item => {\r\n params.push(item.uniqueSystemId);\r\n });\r\n return params;\r\n };\r\n\r\n useEffect(() => {\r\n let params;\r\n if (reportFlag === 'all') {\r\n params = \"\";\r\n } else {\r\n params = getSelectedSystemsId();\r\n }\r\n const reportParameters = {\r\n reportParameters: {\r\n uniqueSystemId: params,\r\n sortColumn: sortColumn,\r\n search: searchKeyword,\r\n sortOrder:sortDirection\r\n },\r\n reportType: \"System Grid Report\"\r\n };\r\n setSortDirection('')\r\n dispatch(createReportPreviewSession(reportParameters));\r\n }, [sortColumn]);\r\n\r\n useEffect(() => {\r\n if (reportPreviewSession) {\r\n setReportId(reportPreviewSession.previewSessionId);\r\n }\r\n }, [reportPreviewSession])\r\n\r\n return (\r\n <>\r\n {\r\n dispatch(setReportPreviewSession(\"\"));\r\n setShowModal(false);\r\n }}\r\n className=\"display-settings report selectsite\"\r\n style={{ width: \"90vw\", height: \"600px\" }}\r\n >\r\n
\r\n
\r\n
\r\n
\r\n \r\n (\r\n {\r\n setSortColumn(e.value);\r\n }}\r\n options={sortByLookup}\r\n optionLabel=\"header\"\r\n optionValue=\"field\"\r\n />\r\n )}\r\n />\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default SystemsReport;\r\n","export const UNLINKEDEQUIPMENTGROUPS_COLS = {\r\n LIST_COLS: [\r\n {\r\n field: 'address',\r\n header: 'Address',\r\n style: { flex: '1 0 200px' },\r\n sortable: false,\r\n },\r\n {\r\n field: 'panelType',\r\n header: 'Type',\r\n style: { flex: '1 0 200px' },\r\n sortable: false,\r\n },\r\n {\r\n field: 'name',\r\n header: 'Name',\r\n style: { flex: '1 0 200px' },\r\n sortable: false,\r\n }\r\n ]\r\n};","import React, { useState } from \"react\";\r\nimport { Dialog } from \"primereact/dialog\";\r\nimport { Button } from \"primereact/button\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { useAppSelector } from \"../../../redux/hooks\";\r\nimport Table from \"components/Table/Table\";\r\nimport { UNLINKEDEQUIPMENTGROUPS_COLS } from \"./UnlinkedEquipmentGroupsData\";\r\nimport InformationBox from \"components/common/Message/InformationBox/InformationBox\";\r\nimport ConfirmationBox from \"components/common/Message/ConfirmationBox/ConfirmationBox\";\r\nimport {onDeleteUnlinkedEquipmentGroup,setUnlinkedEquipmentGroups} from \"redux/pages/Inspection/Systems/systemSlice\";\r\n\r\ninterface Props {\r\n selectedRows: any;\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n defaultSiteId:any;\r\n defaultSiteName:any;\r\n}\r\n\r\nexport const UnlinkedEquipmentGroups: React.FC = ({\r\n selectedRows = [],\r\n setShowModal = () => { },\r\n showModal = false,\r\n defaultSiteId = \"\",\r\n defaultSiteName = \"\",\r\n}) => {\r\n const unlinkedEquipmentGroups = useAppSelector((state) => state.system.unlinkedEquipmentGroups);\r\n const [selectedEquipmentGroup, setSelectedEquipmentGroup] = useState([]);\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const [displayConfirmModal, setDisplayConfirmModal] = useState(false);\r\n const [message, setMessage] = useState(\"\");\r\n const dispatch = useDispatch();\r\n\r\n const handleRowSelect = (data: any) => {\r\n setSelectedEquipmentGroup([...data]);\r\n };\r\n\r\n const onOkClick = () => {\r\n setDisplayInfoModal(false);\r\n }\r\n\r\n const onConfirmClick = () => {\r\n setDisplayConfirmModal(false);\r\n dispatch(onDeleteUnlinkedEquipmentGroup(defaultSiteId,selectedEquipmentGroup[0]?.equipmentId,setSelectedEquipmentGroup,setDisplayInfoModal,setMessage));\r\n }\r\n\r\n const onCancelClick = () => {\r\n setDisplayInfoModal(false);\r\n setDisplayConfirmModal(false);\r\n }\r\n\r\n const onHide=()=>{\r\n dispatch(setUnlinkedEquipmentGroups([]));\r\n setShowModal(false);\r\n }\r\n\r\n const onDeleteClick = () => {\r\n if (selectedEquipmentGroup.length < 1) {\r\n setMessage(\"Select an Equipment Group\");\r\n setDisplayInfoModal(true);\r\n } else if (selectedEquipmentGroup.length > 1) {\r\n setMessage(\"This operation can be performed only one row at a time\");\r\n setDisplayInfoModal(true);\r\n } else if (selectedEquipmentGroup.length === 1) {\r\n setMessage(\"Selected Equipment Group and linked equipment will be lost from all Inspection Tasks. Do you want to proceed?\");\r\n setDisplayConfirmModal(true); \r\n }\r\n }\r\n\r\n return (\r\n <>\r\n onHide()}\r\n className=\"display-settings personal selectsite equipment-groups\"\r\n >\r\n
\r\n
\r\n Site: \r\n {defaultSiteName}\r\n
\r\n
\r\n \r\n
\r\n
\r\n {onHide()}}\r\n className=\"cancel-btn\"\r\n />\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default UnlinkedEquipmentGroups;\r\n","import React, { useState, useEffect } from \"react\";\r\nimport { Dialog } from \"primereact/dialog\";\r\nimport { Button } from \"primereact/button\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { useAppSelector } from \"../../../redux/hooks\";\r\nimport InformationBox from \"components/common/Message/InformationBox/InformationBox\";\r\nimport ConfirmationBox from \"components/common/Message/ConfirmationBox/ConfirmationBox\";\r\nimport { onCheckSystemEquipmentGroupInUse, onDeleteSystemEquipmentGroup, setPanelInUse, setSystemEquipmentGroups } from \"redux/pages/Inspection/Systems/systemSlice\";\r\nimport { DataTable } from \"primereact/datatable\";\r\nimport { Column } from \"primereact/column\";\r\n\r\ninterface Props {\r\n selectedRows: any;\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n}\r\n\r\nexport const SystemEquipmentGroups: React.FC = ({\r\n selectedRows = [],\r\n setShowModal = () => { },\r\n showModal = false,\r\n}) => {\r\n const systemEquipmemtGroups = useAppSelector((state) => state.system.systemEquipmemtGroups);\r\n const panelInUse = useAppSelector((state) => state.system.panelInUse);\r\n const [selectedEquipmentGroup, setSelectedEquipmentGroup] = useState([]);\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const [displayConfirmModal, setDisplayConfirmModal] = useState(false);\r\n const [message, setMessage] = useState(\"\");\r\n const dispatch = useDispatch();\r\n\r\n useEffect(() => {\r\n if (systemEquipmemtGroups && systemEquipmemtGroups.length) {\r\n setSelectedEquipmentGroup([systemEquipmemtGroups[0]]);\r\n } else {\r\n setSelectedEquipmentGroup([]);\r\n }\r\n }, [dispatch,systemEquipmemtGroups]);\r\n\r\n useEffect(() => {\r\n if (panelInUse && panelInUse !== undefined) {\r\n if (panelInUse.isPanelInUse === true) {\r\n setMessage(\"Selected Equipment Group is linked to an active inspection task, Close the Task to delete the Equipment Group\");\r\n setDisplayInfoModal(true);\r\n }\r\n else if (panelInUse.isPanelInUse === false) {\r\n dispatch(onDeleteSystemEquipmentGroup(selectedRows[0]?.uniqueSystemId, selectedEquipmentGroup[0]?.equipmentId, setSelectedEquipmentGroup, setDisplayInfoModal, setMessage))\r\n }\r\n }\r\n }, [dispatch, panelInUse])\r\n\r\n const onOkClick = () => {\r\n setDisplayInfoModal(false);\r\n dispatch(setPanelInUse([]));\r\n }\r\n\r\n const onConfirmClick = () => {\r\n setDisplayConfirmModal(false);\r\n dispatch(setPanelInUse([]));\r\n dispatch(onCheckSystemEquipmentGroupInUse(selectedRows[0]?.uniqueSystemId, selectedEquipmentGroup[0]?.equipmentId))\r\n }\r\n\r\n const onCancelClick = () => {\r\n setDisplayInfoModal(false);\r\n setDisplayConfirmModal(false);\r\n setShowModal(false);\r\n dispatch(setPanelInUse([]));\r\n }\r\n\r\n const onDeleteClick = () => {\r\n if (selectedEquipmentGroup.length < 1) {\r\n setMessage(\"Select an Equipment Group\");\r\n setDisplayInfoModal(true);\r\n } else if (selectedEquipmentGroup.length > 1) {\r\n setMessage(\"This operation can be performed only one row at a time\");\r\n setDisplayInfoModal(true);\r\n } else if (selectedEquipmentGroup.length === 1) {\r\n setMessage(\"Selected Equipment Group and linked equipment will be lost from all Inspection Tasks. Do you want to proceed?\");\r\n setDisplayConfirmModal(true);\r\n }\r\n }\r\n\r\n return (\r\n <>\r\n { setShowModal(false); dispatch(setSystemEquipmentGroups([])); }}\r\n className=\"s-modal equipment-groups\"\r\n >\r\n
\r\n
\r\n System: \r\n {selectedRows[0]?.systemName}\r\n
\r\n
\r\n
\r\n {setSelectedEquipmentGroup(e.value)}}\r\n dataKey=\"equipmentId\"\r\n responsiveLayout=\"scroll\"\r\n >\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n {\r\n setShowModal(false);\r\n setSelectedEquipmentGroup([]);\r\n dispatch(setSystemEquipmentGroups([]));\r\n }}\r\n className=\"cancel-btn\"\r\n />\r\n\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default SystemEquipmentGroups;\r\n","import React, { useState, useEffect, useCallback, useRef } from \"react\";\r\nimport Table from \"components/Table/Table\";\r\nimport { SystemTableData } from \"./SystemTableData\";\r\nimport { useAppSelector } from \"../../redux/hooks\";\r\nimport {\r\n getSystemList,\r\n checkSystemInUse,\r\n checkXMLImportInProgress,\r\n deleteSystem,\r\n onAddSystem,\r\n onEditSystem,\r\n onInspectionTaskClose,\r\n getSystemSearchDetailsList,\r\n onUploadSystemXml,\r\n getEquipmentGroups,\r\n activateSystem,\r\n closeSystem,\r\n checkDownloadFile,\r\n getClosedTasksOutcomes,\r\n downloadProvenOutcomes,\r\n getUploadedXMLFileList,\r\n setXMLImportInProgress,\r\n setUploadedXmlFileList,\r\n deleteXMLFile,\r\n checkSystemforClose,\r\n setCheckSystemforClose,\r\n reactivateInspectionTask,\r\n getUnlinkedEquipmentGroups,\r\n getSystemEquipmentGroups,\r\n setSystemList,\r\n setSystemPageDetails\r\n} from \"redux/pages/Inspection/Systems/systemSlice\";\r\nimport { useDispatch } from \"react-redux\";\r\n\r\nimport AddSystems from \"./ManageSystem/AddSystem\";\r\nimport EditSystem from \"./ManageSystem/EditSystem\";\r\nimport UploadXML from \"./ManageSystem/UploadXML\";\r\nimport { OverlayPanel } from \"primereact/overlaypanel\";\r\nimport PopOver from \"components/common/PopOver/PopOver\";\r\nimport InformationBox from \"components/common/Message/InformationBox/InformationBox\";\r\nimport ConfirmationBox from \"components/common/Message/ConfirmationBox/ConfirmationBox\";\r\nimport MasterData from \"./MasterData/MasterData\";\r\nimport { Dialog } from \"primereact/dialog\";\r\nimport { Controller, useForm } from \"react-hook-form\";\r\nimport { classNames } from \"primereact/utils\";\r\nimport { Dropdown } from \"primereact/dropdown\";\r\nimport { Button } from \"primereact/button\";\r\nimport EquipmentGroupList from \"./EquipmentGroups/EquipmentGroupList\";\r\nimport { BsExclamationCircleFill } from \"react-icons/bs\";\r\nimport { showUI } from 'service/GeneralUtility';\r\nimport SystemsReport from \"pages/Systems/Report/SyestemsReport\";\r\nimport UnlinkedEquipmentGroups from \"./UnlinkedEquipmentGroups/UnlinkedEquipmentGroups\";\r\nimport { fetchLoggedInUserDetails } from \"../../redux/pages/Administration/administrationSlice\";\r\nimport SystemEquipmentGroupList from \"./SystemEquipmentGroups/SystemEquipmentGroupsList\";\r\nimport { onExportReport } from \"redux/common/report/customizeReportSlice\";\r\n\r\ninterface Props { }\r\n\r\ntype FormData = {\r\n uniqueinspectiontaskid: string;\r\n};\r\n\r\nexport const Systems: React.FC = () => {\r\n const systemList = useAppSelector((state) => state.system.systemReviseList);\r\n const systemPageDetails = useAppSelector((state) => state.system.systemPageDetails);\r\n const XMLImportInProgress = useAppSelector((state) => state.system.XMLImportInProgress);\r\n const systemSearchId = useAppSelector((state) => state.system.systemSearchId);\r\n const systemInUse = useAppSelector((state) => state.system.systemInUse);\r\n const provenOutcomesData = useAppSelector((state) => state.system.provenOutcomesData);\r\n const uploadedXmlFileList = useAppSelector((state) => state.system.uploadedXmlFileList);\r\n const isSystemforClose = useAppSelector((state) => state.system.isSystemforClose);\r\n const userPrivileges = useAppSelector((state) => state.user.userPrivileges);\r\n const newSystemDetails = useAppSelector((state) => state.system.newSystemDetails);\r\n const xmlUploadedSystemData = useAppSelector((state) => state.system.xmlUploadedSystemData);\r\n const unlinkedEquipmentGroups = useAppSelector((state) => state.system.unlinkedEquipmentGroups);\r\n const loggedInUserData = useAppSelector((state) => state.administration.loggedInUserDetails);\r\n const loggedInUserDetails = useAppSelector((state) => state.administration.loggedInUserDetails);\r\n const rowsPerPage = useAppSelector((state) => state.personalSettings.rowsPerPage);\r\n\r\n const [pageDetails, setPageDetails] = useState({});\r\n const [showAddModal, setShowAddModal] = useState(false);\r\n const [filterExpanded] = useState(true);\r\n const [showEditModal, setShowEditModal] = useState(false);\r\n const [showMasterData, setShowMasterData] = useState(false);\r\n const [showProvenOutcomesModal, setShowProvenOutcomesModal] = useState(false);\r\n\r\n const [showUploadXMLModal, setShowUploadXMLModal] = useState(false);\r\n const [pageIndex, setPageIndex] = useState(0);\r\n const [selectedRows, setSelectedRows] = useState([]);\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const [displayConfirmModal, setDisplayConfirmModal] = useState(false);\r\n\r\n const [selectedSystemId, setSelectedSystemId] = useState(\"\")\r\n const [systemRowData, setSystemRowData] = useState(\"\");\r\n const [tableColumns, setTableColumns] = useState>([]);\r\n const [message, setMessage] = useState(\"\");\r\n const [isDelete, setIsDelete] = useState(false);\r\n const [isEdit, setIsEdit] = useState(false);\r\n const [isRowEdit, setIsRowEdit] = useState(false);\r\n const [isAdd, setIsAdd] = useState(false);\r\n const [isFileUpload, setIsFileUpload] = useState(false);\r\n const [isSearch, setIsSearch] = useState(false);\r\n const [isClose, setIsClose] = useState(false);\r\n const [currentStart, setCurrentStart] = useState(1);\r\n const [sortField, setSortField] = useState(\"\");\r\n const [sortOrder, setSortOrder] = useState(\"\");\r\n const [keyWord, setKeyWord] = useState(\"\");\r\n const [equipmentGroups, setEquipmentGroups] = useState([]);\r\n const [showEquipmentGroupModal, setShowEquipmentGroupModal] = useState(false);\r\n const [acceptedFileTypes, setAcceptedFileTypes] = useState([\"xml\"])\r\n const [isConfig, setIsConfig] = useState(false);\r\n const [isSystemAdd, setIsSystemAdd] = useState(false);\r\n const [isReactivate, setIsReactivate] = useState(false);\r\n const [isReactivateOnFileUpload, setIsReactivateOnFileUpload] = useState(false);\r\n const [uniqueInspectionTaskId, setUniqueInspectionaskId] = useState(\"\");\r\n const [showReportModal, setShowReportModal] = useState(false);\r\n const [settingListItems, setSettingListItems] = useState()\r\n const [reportFlag, setReportFlag] = useState('all');\r\n const [uploadErrorMsg, setUploadErrorMsg] = useState('Select an XML file.');\r\n const [uploadTitle, setUploadTitle] = useState('Upload XML File');\r\n const [allowRowEditing, setAllowRowEditing] = useState(true);\r\n const [isUnlinkedEquipmentGroup, setIsUnlinkedEquipmentGroup] = useState(false);\r\n const [showUnlinkedEquipmentGroup, setShowUnlinkedEquipmentGroup] = useState(false);\r\n const [defaultSiteId, setDefaultSiteId] = useState(\"\");\r\n const [defaultSiteName, setDefaultSiteName] = useState(\"\");\r\n const [isSystemEquipmentGroup, setIsSystemEquipmentGroup] = useState(true);\r\n const [showSystemEquipmentGroups, setShowSystemEquipmentGroups] = useState(false);\r\n\r\n const deleteRef = React.createRef();\r\n\r\n const attachmentRef = React.createRef();\r\n const downloadAttachmentRef = React.createRef();\r\n\r\n const dispatch = useDispatch();\r\n const outcomesDownloadForm: any = useRef();\r\n\r\n const {\r\n control,\r\n formState: { errors },\r\n handleSubmit,\r\n setValue,\r\n reset\r\n } = useForm({\r\n defaultValues: {\r\n uniqueinspectiontaskid: \"\",\r\n }\r\n });\r\n\r\n useEffect(() => {\r\n if (userPrivileges && userPrivileges.length) {\r\n filterSettingItemList();\r\n }\r\n }, [userPrivileges, selectedRows])\r\n\r\n const filterSettingItemList = () => {\r\n const settingList: any = [];\r\n userPrivileges.map(element => {\r\n if (element === 'SIETAP_SYSTEMS_ACTIVATE') {\r\n settingList.push({\r\n id: 2,\r\n name: \"Activate\",\r\n onClick: () => onActivateClick(selectedRows)\r\n })\r\n } else if (element === 'SIETAP_SYSTEMS_CLOSE') {\r\n settingList.push({\r\n id: 1,\r\n name: \"Close\",\r\n onClick: () => onCloseClick(selectedRows)\r\n })\r\n } else if (element === 'SIETAP_SYSTEMS_EQUIPMENTGROUPS') {\r\n settingList.push({\r\n id: 3,\r\n name: \"Equipment Groups\",\r\n onClick: () => equipmentGroupsHandler(selectedRows),\r\n })\r\n } else if (element === 'SIETAP_SYSTEMS_MASTERDATA') {\r\n settingList.push({\r\n id: 4,\r\n name: \"Master Data\",\r\n onClick: () => onMasterDataClick(selectedRows)\r\n\r\n })\r\n } else if (element === 'SIETAP_SYSTEMS_PROVENOUTCOMES') {\r\n settingList.push({\r\n id: 5,\r\n name: \"Proven Outcomes\",\r\n onClick: () => {\r\n onProvenOutcomesClick(selectedRows);\r\n },\r\n })\r\n }\r\n });\r\n settingList.sort((a, b) => b.id > a.id ? -1 : 1);\r\n setSettingListItems(settingList)\r\n }\r\n useEffect(() => {\r\n if (systemSearchId !== \"\") {\r\n setIsSearch(true);\r\n setSelectedRows([]);\r\n dispatch(getSystemSearchDetailsList(systemSearchId));\r\n } else if (isSearch === false) {\r\n dispatch(getSystemList(1, keyWord, sortField, sortOrder));\r\n }\r\n\r\n return(() => {\r\n dispatch(setSystemList([]));\r\n dispatch(setSystemPageDetails([]));\r\n });\r\n }, [dispatch, systemSearchId, isSearch,rowsPerPage]);\r\n\r\n useEffect(() => {\r\n if (systemPageDetails) {\r\n setPageDetails(systemPageDetails);\r\n }\r\n }, [systemPageDetails])\r\n \r\n useEffect(() => {\r\n if (rowsPerPage && rowsPerPage > 0) {\r\n let modifiedPageDetails = { ...pageDetails, 'currentLength': rowsPerPage, 'pageCount': rowsPerPage };\r\n setPageDetails(modifiedPageDetails);\r\n setCurrentStart(1)\r\n setPageIndex(0)\r\n }\r\n }, [rowsPerPage])\r\n\r\n useEffect(()=>{\r\n if(systemList && systemList?.length && selectedRows?.length){\r\n systemList.map((systemListItem)=>{\r\n if(systemListItem.uniqueSystemId === selectedRows[0].uniqueSystemId) {\r\n selectedRows[0] = systemListItem;\r\n }\r\n })\r\n }\r\n },[systemList])\r\n\r\n\r\n useEffect(() => {\r\n if (isDelete && Object.keys(XMLImportInProgress).length !== 0) {\r\n if (XMLImportInProgress.isSystemParseInProgress === true) {\r\n setMessage(\"System is in use, cannot be deleted\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n setMessage(\"All the Inspection Task details related to this System will be deleted, are you sure you want to continue?\");\r\n setDisplayConfirmModal(true);\r\n }\r\n dispatch(setXMLImportInProgress([]))\r\n }\r\n if (isEdit && Object.keys(XMLImportInProgress).length !== 0) {\r\n if (XMLImportInProgress.isSystemParseInProgress === true) {\r\n setMessage(\"XML importing is in progress, cannot be edited\");\r\n setDisplayInfoModal(true);\r\n setIsEdit(false);\r\n } else if (selectedRows[0].activeTask) {\r\n setMessage(\"System cannot be edited as Active Task exists for the selected System. Do you want to close the Active Task?\");\r\n setDisplayConfirmModal(true);\r\n } else {\r\n setShowEditModal(true);\r\n setIsEdit(false);\r\n }\r\n dispatch(setXMLImportInProgress([]))\r\n }\r\n if (isRowEdit && Object.keys(XMLImportInProgress).length !== 0) {\r\n if (XMLImportInProgress.isSystemParseInProgress === true) {\r\n setMessage(\"XML importing is in progress, cannot be edited\");\r\n setDisplayInfoModal(true);\r\n setIsRowEdit(false);\r\n setAllowRowEditing(false)\r\n } else if (systemRowData.activeTask) {\r\n setMessage(\"System cannot be edited as Active Task exists for the selected System. Do you want to close the Active Task?\");\r\n setDisplayConfirmModal(true);\r\n setAllowRowEditing(false)\r\n } else {\r\n setAllowRowEditing(true);\r\n setIsRowEdit(false);\r\n }\r\n dispatch(setXMLImportInProgress([]))\r\n }\r\n if (isFileUpload && Object.keys(XMLImportInProgress).length !== 0) {\r\n if (XMLImportInProgress.isSystemParseInProgress === true) {\r\n setMessage(\"XML importing is in progress, XML file cannot be uploaded\");\r\n setDisplayInfoModal(true);\r\n setIsFileUpload(false);\r\n } else if (selectedRows[0].activeTask) {\r\n setMessage(\"As Active Tasks exist, XML file cannot be uploaded to the selected System. Do you want to close the Active Task?\");\r\n setDisplayConfirmModal(true);\r\n } else {\r\n setAcceptedFileTypes([\"xml\"])\r\n setUploadErrorMsg(\"Select an XML File\");\r\n setUploadTitle(\"Upload XML File\");\r\n dispatch(getUploadedXMLFileList(selectedRows[0].uniqueSystemId, false))\r\n setShowUploadXMLModal(true);\r\n setIsFileUpload(false);\r\n }\r\n\r\n dispatch(setXMLImportInProgress([]))\r\n }\r\n }, [dispatch, systemInUse, isDelete, isEdit, isFileUpload, XMLImportInProgress]);\r\n\r\n useEffect(() => {\r\n if (selectedRows && selectedRows.length) {\r\n dispatch(checkSystemInUse(selectedRows[0]?.uniqueSystemId));\r\n }\r\n }, [selectedRows]);\r\n\r\n useEffect(() => {\r\n if (isSystemforClose) {\r\n if (!isSystemforClose.isSystemParsed) {\r\n setIsClose(false);\r\n setMessage('XML importing is in progress, cannot be closed')\r\n setDisplayInfoModal(true);\r\n } else if (isSystemforClose.isActiveTaskExists) {\r\n if (isSystemforClose.techniciansName && isSystemforClose.techniciansName.length) {\r\n setIsClose(true);\r\n let confirmationMessage = `Do you want to quit all the tasks of the Technician(s) and close the Inspection Task and System?`;\r\n let technicians = '';\r\n isSystemforClose.techniciansName.map((item, currentIndex) => {\r\n if (item && (item.trim() !== '')) {\r\n if (currentIndex === 0) {\r\n technicians += item;\r\n } else {\r\n technicians += \" ,\" + item;\r\n }\r\n }\r\n });\r\n if (technicians !== '') {\r\n confirmationMessage += ` Technicians connected to the Inspection Task - ${technicians}`;\r\n }\r\n setMessage(confirmationMessage)\r\n setDisplayConfirmModal(true);\r\n } else {\r\n setIsClose(true);\r\n setMessage(`Are you sure you want to close the selected System and it's Inspection Task?`)\r\n setDisplayConfirmModal(true);\r\n }\r\n } else if (isSystemforClose.techniciansName && isSystemforClose.techniciansName.length) {\r\n setIsClose(true);\r\n let confirmationMessage = `Do you want to quit all the tasks of the Technician(s) and close the Inspection Task and System?`;\r\n let technicians = '';\r\n isSystemforClose.techniciansName.map((item, currentIndex) => {\r\n if (item && (item.trim() !== '')) {\r\n if (currentIndex === 0) {\r\n technicians += item;\r\n } else {\r\n technicians += \" ,\" + item;\r\n }\r\n }\r\n });\r\n if (technicians !== '') {\r\n confirmationMessage += ` Technicians connected to the Inspection Task - ${technicians}`;\r\n }\r\n setMessage(confirmationMessage)\r\n setDisplayConfirmModal(true);\r\n } else {\r\n setIsClose(true);\r\n setMessage(`Are you sure you want to close the selected System?`);\r\n setDisplayConfirmModal(true);\r\n }\r\n dispatch(setCheckSystemforClose(\"\"))\r\n }\r\n }, [isSystemforClose])\r\n\r\n useEffect(() => {\r\n if (provenOutcomesData && provenOutcomesData.length) {\r\n if (provenOutcomesData.length === 1) {\r\n setValue('uniqueinspectiontaskid', provenOutcomesData[0]?.uniqueInspectionTaskId);\r\n }\r\n }\r\n }, [provenOutcomesData]);\r\n\r\n const onAddSystemClick = (submitData: any) => {\r\n setIsSystemAdd(true)\r\n dispatch(\r\n onAddSystem(\r\n submitData,\r\n setMessage,\r\n setDisplayInfoModal,\r\n setDisplayConfirmModal,\r\n setShowAddModal,\r\n setIsAdd,\r\n ))\r\n }\r\n\r\n useEffect(() => {\r\n if (newSystemDetails && isSystemAdd) {\r\n setSelectedRows([newSystemDetails])\r\n setSelectedSystemId(newSystemDetails.uniqueSystemId);\r\n setIsSystemAdd(false)\r\n }\r\n }, [newSystemDetails])\r\n\r\n useEffect(() => {\r\n if (xmlUploadedSystemData) {\r\n setSelectedRows([xmlUploadedSystemData])\r\n setSelectedSystemId(xmlUploadedSystemData.uniqueSystemId);\r\n setIsSystemAdd(false)\r\n }\r\n }, [xmlUploadedSystemData])\r\n\r\n const onPageChanged = (options: any) => {\r\n if (options !== pageIndex) {\r\n let currentStart = options * pageDetails?.currentLength + 1;\r\n setCurrentStart(currentStart);\r\n setPageIndex(options);\r\n dispatch(getSystemList(currentStart, keyWord, sortField, sortOrder));\r\n }\r\n };\r\n\r\n const onGlobalSearch = (filter) => {\r\n setKeyWord(filter);\r\n dispatch(getSystemList(1, filter, sortField, sortOrder));\r\n };\r\n\r\n const onSort = (event) => {\r\n let sortDirection: string;\r\n if (event.sortOrder === 1) sortDirection = \"ASC\";\r\n else sortDirection = \"DESC\";\r\n setSortField(event.sortField);\r\n setSortOrder(sortDirection);\r\n dispatch(getSystemList(currentStart, keyWord, event.sortField, sortDirection));\r\n };\r\n\r\n const handleRowSelect = useCallback((data: any) => {\r\n setSelectedRows([...data]);\r\n }, []);\r\n\r\n\r\n const deleteSystemClick = () => {\r\n setIsAdd(false)\r\n if (selectedRows.length > 1) {\r\n setMessage(\"This operation can be performed only one row at a time\");\r\n setDisplayInfoModal(true);\r\n } else if (selectedRows.length < 1) {\r\n setMessage(\"Select a System\");\r\n setDisplayInfoModal(true);\r\n } else if (selectedRows.length === 1) {\r\n if (selectedRows[0].status === \"Active\") {\r\n setMessage(\"Selected System is Active, cannot be deleted\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n setIsDelete(true);\r\n dispatch(checkXMLImportInProgress(selectedRows[0].uniqueSystemId));\r\n }\r\n }\r\n };\r\n\r\n const OnConfirmClick = () => {\r\n if (isDelete) {\r\n setDisplayConfirmModal(false);\r\n if (selectedRows.length === 1) {\r\n const uniqueSystemId = selectedRows[0].uniqueSystemId;\r\n dispatch(\r\n deleteSystem({\r\n uniqueSystemId,\r\n setSelectedRows,\r\n setMessage,\r\n setDisplayInfoModal,\r\n })\r\n );\r\n }\r\n setIsDelete(false);\r\n } else if (isEdit) {\r\n setDisplayConfirmModal(false);\r\n const uniqueSystemId = selectedRows[0].uniqueSystemId;\r\n dispatch(\r\n onInspectionTaskClose(\r\n uniqueSystemId,\r\n setMessage,\r\n setDisplayInfoModal,\r\n setShowEditModal,\r\n setShowUploadXMLModal,\r\n isEdit,\r\n selectedRows[0],\r\n setIsReactivate,\r\n setUniqueInspectionaskId\r\n )\r\n );\r\n setIsEdit(false)\r\n } else if(isFileUpload){\r\n setDisplayConfirmModal(false);\r\n const uniqueSystemId = selectedRows[0].uniqueSystemId;\r\n dispatch(\r\n onInspectionTaskClose(\r\n uniqueSystemId,\r\n setMessage,\r\n setDisplayInfoModal,\r\n setShowEditModal,\r\n setShowUploadXMLModal,\r\n isEdit,\r\n selectedRows[0],\r\n setIsReactivate,\r\n setUniqueInspectionaskId\r\n )\r\n );\r\n setIsReactivateOnFileUpload(false);\r\n setIsFileUpload(false);\r\n } else if (isRowEdit) { \r\n setDisplayConfirmModal(false); \r\n setAllowRowEditing(false) \r\n const uniqueSystemId = systemRowData.uniqueSystemId;\r\n setSelectedRows([systemRowData])\r\n dispatch(\r\n onInspectionTaskClose(\r\n uniqueSystemId,\r\n setMessage,\r\n setDisplayInfoModal,\r\n setShowEditModal,\r\n setShowUploadXMLModal,\r\n isRowEdit,\r\n systemRowData,\r\n setIsReactivate,\r\n setUniqueInspectionaskId\r\n )\r\n );\r\n setIsRowEdit(false);\r\n } else if (isAdd) {\r\n setAcceptedFileTypes([\"xml\"])\r\n setUploadErrorMsg(\"Select an XML File\");\r\n setUploadTitle(\"Upload XML File\");\r\n setDisplayConfirmModal(false);\r\n setShowUploadXMLModal(true);\r\n setIsAdd(false);\r\n } else if (isClose) {\r\n setDisplayConfirmModal(false);\r\n dispatch(closeSystem(selectedRows[0], setSelectedRows, setMessage, setDisplayInfoModal));\r\n setIsClose(false);\r\n } else if (isReactivate) {\r\n setDisplayConfirmModal(false);\r\n dispatch(reactivateInspectionTask(uniqueInspectionTaskId, setMessage, setDisplayInfoModal, selectedRows[0]));\r\n setIsReactivate(false);\r\n } else if (isReactivateOnFileUpload) {\r\n setDisplayConfirmModal(false);\r\n dispatch(reactivateInspectionTask(uniqueInspectionTaskId, setMessage, setDisplayInfoModal, selectedRows[0]));\r\n setIsReactivateOnFileUpload(false);\r\n }\r\n }\r\n\r\n const onCancelClick = () => {\r\n setIsFileUpload(false);\r\n setIsEdit(false);\r\n setIsReactivate(false);\r\n setIsReactivateOnFileUpload(false);\r\n if (isAdd) {\r\n setIsAdd(false);\r\n setShowAddModal(false);\r\n }\r\n }\r\n\r\n\r\n const editIconClick = () => {\r\n if (selectedRows.length < 1) {\r\n setMessage(\"Select a System\");\r\n setDisplayInfoModal(true);\r\n } else if (selectedRows.length > 1) {\r\n setMessage(\"This operation can be performed only one row at a time\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n switch (selectedRows[0].status) {\r\n case \"Closed\":\r\n setMessage(\"Selected System is Closed, cannot be edited\");\r\n setDisplayInfoModal(true);\r\n break;\r\n default:\r\n dispatch(checkXMLImportInProgress(selectedRows[0].uniqueSystemId));\r\n setIsEdit(true);\r\n break;\r\n }\r\n }\r\n };\r\n\r\n const onEditSystemClick = (submitData: any) => {\r\n\r\n let uniqueSystemId: any;\r\n if (selectedRows.length === 0) uniqueSystemId = submitData.uniqueSystemId;\r\n else uniqueSystemId = selectedRows[0].uniqueSystemId;\r\n dispatch(onEditSystem(submitData, uniqueSystemId, setMessage, setDisplayInfoModal, setShowEditModal, selectedRows[0], setIsEdit));\r\n };\r\n const onEditSystemRowClick = (submitData: any) => {\r\n let uniqueSystemId: any;\r\n uniqueSystemId = submitData.uniqueSystemId;\r\n let isAlternate = submitData.preferredLanguage === 'Alternate' ? true : false\r\n let isConfigFile = submitData.configFile === 'Yes' ? true : false\r\n let isXmlFile = submitData.xmlFile === 'Yes' ? true : false\r\n let isNetworked = submitData.isNetworked === 'True' ? true : false\r\n let body = {\r\n activeTask: \"\",\r\n configFile: isConfigFile,\r\n isAlternateLanguage: isAlternate,\r\n isNetworked: isNetworked,\r\n status: submitData.status,\r\n systemName: submitData.systemName,\r\n systemType: submitData.systemType,\r\n xmlFile: isXmlFile,\r\n activeSiteId : loggedInUserDetails?.userDefaults?.uniqueSiteId\r\n }\r\n dispatch(onEditSystem(body, uniqueSystemId, setMessage, setDisplayInfoModal, setShowEditModal, systemRowData, setIsRowEdit));\r\n };\r\n\r\n const onUploadXMLFileClick = () => {\r\n dispatch(setUploadedXmlFileList(\"\"))\r\n setIsConfig(false);\r\n if (selectedRows.length < 1) {\r\n setMessage(\"Select a System\");\r\n setDisplayInfoModal(true);\r\n } else if (selectedRows.length > 1) {\r\n setMessage(\"This operation can be performed only one row at a time\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n if (\r\n selectedRows[0].systemType === \"MXL\" ||\r\n selectedRows[0].systemType === \"XLS\" ||\r\n selectedRows[0].systemType === \"Desigo FS20\" ||\r\n selectedRows[0].systemType === \"Desigo FV20\" ||\r\n selectedRows[0].systemType === \"Desigo Modular\" ||\r\n selectedRows[0].systemType === \"Cerberus PRO FC92\" ||\r\n selectedRows[0].systemType === \"Cerberus PRO FV92\" ||\r\n selectedRows[0].systemType === \"Cerberus PRO Modular\"\r\n ) {\r\n if(selectedRows[0].status === \"Closed\") {\r\n setMessage(\"Selected System is Closed, cannot upload the XML file\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n dispatch(checkXMLImportInProgress(selectedRows[0].uniqueSystemId));\r\n setSelectedSystemId(selectedRows[0].uniqueSystemId);\r\n setIsFileUpload(true);\r\n }\r\n } else {\r\n setMessage(\r\n \"System Type of selected System is not MXL/XLS/Desigo FS20/Desigo FV20/Desigo Modular/Cerberus PRO FC92/Cerberus PRO FV92/Cerberus PRO Modular, cannot upload the XML file\"\r\n );\r\n setDisplayInfoModal(true);\r\n }\r\n }\r\n };\r\n\r\n const onUploadXml = (data: any) => {\r\n dispatch(onUploadSystemXml(selectedSystemId,loggedInUserDetails?.userDefaults?.uniqueSiteId, data, setShowUploadXMLModal, setMessage, setDisplayInfoModal, isConfig, selectedRows[0], setSelectedRows, isReactivate, setIsReactivateOnFileUpload));\r\n setIsAdd(false);\r\n setShowAddModal(false);\r\n setIsFileUpload(false);\r\n }\r\n\r\n const onUploadConfigFileClick = () => {\r\n dispatch(setUploadedXmlFileList(\"\"))\r\n setIsConfig(true);\r\n if (selectedRows.length < 1) {\r\n setMessage(\"Select a System\");\r\n setDisplayInfoModal(true);\r\n } else if (selectedRows.length > 1) {\r\n setMessage(\"This operation can be performed only one row at a time\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n if (\r\n selectedRows[0].systemType === \"MXL\" ||\r\n selectedRows[0].systemType === \"XLS\" ||\r\n selectedRows[0].systemType === \"Desigo FS20\" ||\r\n selectedRows[0].systemType === \"Desigo FV20\" ||\r\n selectedRows[0].systemType === \"Desigo Modular\" ||\r\n selectedRows[0].systemType === \"Cerberus PRO FC92\" ||\r\n selectedRows[0].systemType === \"Cerberus PRO FV92\" ||\r\n selectedRows[0].systemType === \"Cerberus PRO Modular\"\r\n ) { \r\n if(selectedRows[0].status === \"Closed\") {\r\n setMessage(\"Selected System is Closed, cannot upload the Configuration file\");\r\n setDisplayInfoModal(true);\r\n }else {\r\n setSelectedSystemId(selectedRows[0].uniqueSystemId);\r\n setAcceptedFileTypes([\"zip\",\"7z\"])\r\n setUploadErrorMsg(\"Select a Zip File or 7-Zip File\");\r\n setUploadTitle(\"Upload Config File\")\r\n dispatch(getUploadedXMLFileList(selectedRows[0].uniqueSystemId, true))\r\n setShowUploadXMLModal(true);\r\n }\r\n } else {\r\n setMessage(\r\n \"System Type of selected System is not MXL/XLS/Desigo FS20/Desigo FV20/Desigo Modular/Cerberus PRO FC92/Cerberus PRO FV92/Cerberus PRO Modular, cannot upload the Configuration file\"\r\n );\r\n setDisplayInfoModal(true);\r\n }\r\n }\r\n };\r\n\r\n const onDeleteFileClick = (data: any) => {\r\n if (selectedRows && selectedRows.length) {\r\n dispatch(deleteXMLFile(selectedRows[0]?.uniqueSystemId, data?.fileId, isConfig,loggedInUserDetails?.userDefaults?.uniqueSiteId, setMessage, setDisplayInfoModal, setShowUploadXMLModal, selectedRows[0])); }\r\n }\r\n\r\n\r\n const equipmentGroupsHandler = (selectedRows) => {\r\n if (selectedRows.length < 1) {\r\n setMessage(\"Select an Inspection Task\");\r\n setDisplayInfoModal(true);\r\n } else if (selectedRows.length > 1) {\r\n setMessage(\"This operation can be performed only one row at a time\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n if (selectedRows[0]?.status === \"Active\") {\r\n dispatch(getEquipmentGroups(selectedRows[0]?.uniqueSystemId, setEquipmentGroups, setMessage, setDisplayInfoModal, setShowEquipmentGroupModal));\r\n } else if (selectedRows[0]?.status === \"Closed\") {\r\n setMessage(\"Selected System is Closed, cannot update equipment group details\");\r\n setDisplayInfoModal(true);\r\n } else if (selectedRows.length > 1) {\r\n setMessage(\"This operation can be performed only one row at a time\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n if (selectedRows[0]?.status === \"Active\") {\r\n dispatch(getEquipmentGroups(selectedRows[0]?.uniqueSystemId, setEquipmentGroups, setMessage, setDisplayInfoModal, setShowEquipmentGroupModal));\r\n } else if (selectedRows[0]?.status === \"Closed\") {\r\n setMessage(\"Selected System is Closed, cannot update equipment group details\");\r\n setDisplayInfoModal(true);\r\n } else if (selectedRows[0]?.status === \"Blocked\") {\r\n setMessage(\"Selected System is Blocked, cannot update equipment group details\");\r\n setDisplayInfoModal(true);\r\n }\r\n }\r\n }\r\n }\r\n\r\n\r\n const onDownloadXMLFileClick = () => {\r\n if (selectedRows.length < 1) {\r\n setMessage(\"Select a System\");\r\n setDisplayInfoModal(true);\r\n } else if (selectedRows.length > 1) {\r\n setMessage(\"This operation can be performed only one row at a time\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n const isConfig: boolean = false;\r\n dispatch(checkDownloadFile(selectedRows[0].uniqueSystemId, isConfig, setMessage, setDisplayInfoModal));\r\n downloadAttachmentRef.current?.hide();\r\n }\r\n };\r\n\r\n const onDownloadConfigFileClick = () => {\r\n if (selectedRows.length < 1) {\r\n setMessage(\"Select a System\");\r\n setDisplayInfoModal(true);\r\n } else if (selectedRows.length > 1) {\r\n setMessage(\"This operation can be performed only one row at a time\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n const isConfig: boolean = true;\r\n dispatch(checkDownloadFile(selectedRows[0].uniqueSystemId, isConfig, setMessage, setDisplayInfoModal));\r\n downloadAttachmentRef.current?.hide();\r\n }\r\n };\r\n\r\n const onProvenOutcomesClick = (selectedRows) => {\r\n if (selectedRows.length < 1) {\r\n setMessage(\"Select a System\");\r\n setDisplayInfoModal(true);\r\n } else if (selectedRows.length > 1) {\r\n setMessage(\"This operation can be performed only one row at a time\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n if (selectedRows[0]?.activeTask !== \"\") {\r\n const uniqueSystemId = selectedRows[0].uniqueSystemId;\r\n dispatch(\r\n getClosedTasksOutcomes(\r\n uniqueSystemId,\r\n setMessage,\r\n setDisplayInfoModal,\r\n setShowProvenOutcomesModal,\r\n ))\r\n } else {\r\n setDisplayInfoModal(true);\r\n setMessage(\"No Tasks exist for the selected System\");\r\n }\r\n }\r\n };\r\n\r\n const onOutcomesDownloadFormSubmit = (data: any) => {\r\n if (selectedRows && selectedRows[0].uniqueSystemId) {\r\n const uniqueSystemId = selectedRows[0].uniqueSystemId;\r\n dispatch(downloadProvenOutcomes(uniqueSystemId, data, setShowProvenOutcomesModal));\r\n }\r\n };\r\n\r\n const onActivateClick = (selectedRows) => {\r\n if (selectedRows && selectedRows.length) {\r\n if (selectedRows.length === 1) {\r\n if (selectedRows[0]?.status && (selectedRows[0]?.status === 'Active')) {\r\n setMessage('System is already Active');\r\n setDisplayInfoModal(true);\r\n } else {\r\n dispatch(activateSystem(selectedRows[0], setSelectedRows, setMessage, setDisplayInfoModal));\r\n }\r\n } else {\r\n setMessage('This operation can be performed only one row at a time');\r\n setDisplayInfoModal(true);\r\n }\r\n } else {\r\n setMessage(\"Select a System\");\r\n setDisplayInfoModal(true);\r\n }\r\n }\r\n const onCloseClick = (selectedRows) => {\r\n if (selectedRows?.length < 1) {\r\n setMessage(\"Select a System\");\r\n setDisplayInfoModal(true);\r\n }\r\n else {\r\n setIsAdd(false)\r\n if (selectedRows.length === 1) {\r\n if (selectedRows[0]?.status && (selectedRows[0]?.status === 'Closed')) {\r\n setIsClose(false);\r\n setMessage('System is already closed');\r\n setDisplayInfoModal(true);\r\n } else {\r\n dispatch(checkSystemforClose(selectedRows[0]?.uniqueSystemId));\r\n }\r\n } else {\r\n setIsClose(false);\r\n setMessage('This operation can be performed only one row at a time');\r\n setDisplayInfoModal(true);\r\n }\r\n\r\n }\r\n }\r\n const onMasterDataClick = (selectedRows) => {\r\n if (selectedRows.length < 1) {\r\n setMessage(\"Select a System\");\r\n setDisplayInfoModal(true);\r\n } else if (selectedRows.length > 1) {\r\n setMessage(\"This operation can be performed only one row at a time\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n setShowMasterData(true);\r\n }\r\n }\r\n\r\n const getFormErrorMessage = (name) => {\r\n return (\r\n errors[name] && (\r\n \r\n \r\n {errors[name].message}\r\n \r\n )\r\n );\r\n };\r\n\r\n const onOkClick = () => {\r\n setDisplayInfoModal(false);\r\n if (isReactivate && isEdit) {\r\n setIsReactivate(true);\r\n setIsEdit(false);\r\n setMessage(\"Do you want to re-activate currently closed task of the System?\");\r\n setDisplayConfirmModal(true);\r\n } else if (isReactivate && isReactivateOnFileUpload) {\r\n setIsReactivate(false);\r\n setMessage(\"Do you want to re-activate currently closed task of the System?\");\r\n setDisplayConfirmModal(true);\r\n }\r\n setIsEdit(false);\r\n setAllowRowEditing(true)\r\n }\r\n\r\n const onReportAllClick = () => {\r\n setReportFlag('all');\r\n setShowReportModal(true);\r\n };\r\n\r\n const onReportHighlightedClick = () => {\r\n setReportFlag('highlighted');\r\n setShowReportModal(true);\r\n };\r\n\r\n const getSelectedSystemsId = () => {\r\n let params: any = [];\r\n selectedRows.map(item => {\r\n params.push(item.uniqueSystemId);\r\n });\r\n return params;\r\n };\r\n\r\n const onExportAll = () => {\r\n\t\tconst reportParameters = {\r\n exportParameters: {\r\n uniqueSystemId: \"\",\r\n sortColumn: sortField,\r\n sortOrder: sortOrder,\r\n search: keyWord\r\n },\r\n exportType: \"System Grid Report\"\r\n };\r\n\t\tdispatch(onExportReport(reportParameters, \"Systems\"));\r\n\t};\r\n\r\n\tconst onExportHighlightedClick = () => {\r\n\t\tconst reportParameters = {\r\n exportParameters: {\r\n uniqueSystemId: getSelectedSystemsId(),\r\n sortColumn: sortField,\r\n sortOrder: sortOrder,\r\n search: keyWord\r\n },\r\n exportType: \"System Grid Report\"\r\n };\r\n\t\tdispatch(onExportReport(reportParameters, \"Systems\"));\r\n\t};\r\n\r\n const handleTableColumns = useCallback((data: any) => {\r\n setTableColumns([...data]);\r\n }, []);\r\n\r\n const onRowEditClick = (rowData: any) => {\r\n let isEditable;\r\n if (rowData.length < 1) {\r\n setMessage(\"Select a System\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n switch (rowData.status) {\r\n case \"Closed\":\r\n setMessage(\"Selected System is Closed, cannot be edited\");\r\n setDisplayInfoModal(true);\r\n break;\r\n default:\r\n dispatch(checkXMLImportInProgress(rowData.uniqueSystemId));\r\n setIsRowEdit(true);\r\n isEditable = true;\r\n setSystemRowData(rowData)\r\n break;\r\n }\r\n }\r\n\r\n\r\n return isEditable\r\n }\r\n\r\n //handle form validation errors\r\n const onError = (errors: any, e: any) => { };\r\n\r\n const onUnlinkedEquipmentGroupClick = () => {\r\n setIsUnlinkedEquipmentGroup(true);\r\n dispatch(fetchLoggedInUserDetails());\r\n }\r\n\r\n const onRowEditValidation = (rowData: any) => {\r\n let value = true;\r\n if (!rowData.systemName) {\r\n value = false;\r\n }\r\n return value;\r\n }\r\n\r\n useEffect(() => {\r\n if (unlinkedEquipmentGroups && unlinkedEquipmentGroups.length > 0 && unlinkedEquipmentGroups !== undefined) {\r\n setShowUnlinkedEquipmentGroup(true);\r\n }\r\n }, [dispatch, unlinkedEquipmentGroups])\r\n\r\n useEffect(() => {\r\n if (loggedInUserData && loggedInUserData !== undefined && loggedInUserData !== \"\" && loggedInUserData?.userDefaults?.uniqueSiteId) {\r\n if (isUnlinkedEquipmentGroup === true) {\r\n setDefaultSiteId(loggedInUserData?.userDefaults?.uniqueSiteId);\r\n setDefaultSiteName(loggedInUserData?.userDefaults?.siteName);\r\n dispatch(getUnlinkedEquipmentGroups(loggedInUserData?.userDefaults?.uniqueSiteId, setDisplayInfoModal, setMessage));\r\n }\r\n }\r\n }, [dispatch, loggedInUserData])\r\n\r\n const onSystemEquipmentGroupClick = () => {\r\n if (selectedRows.length < 1) {\r\n setMessage(\"Select a System\");\r\n setDisplayInfoModal(true);\r\n } else if (selectedRows.length > 1) {\r\n setMessage(\"This operation can be performed only one row at a time\");\r\n setDisplayInfoModal(true);\r\n } else if (selectedRows.length = 1) {\r\n setIsSystemEquipmentGroup(true);\r\n dispatch(getSystemEquipmentGroups(selectedRows[0]?.uniqueSystemId, setDisplayInfoModal, setMessage, setShowSystemEquipmentGroups));\r\n }\r\n }\r\n\r\n return (\r\n
\r\n \r\n
\r\n attachmentRef.current?.toggle(e)}\r\n onDownloadClick={(e) => downloadAttachmentRef.current?.toggle(e)}\r\n pageDetails={pageDetails}\r\n onPageChanged={onPageChanged}\r\n pageIndex={pageIndex}\r\n getSelectedRowData={handleRowSelect}\r\n onAddClick={() => setShowAddModal(true)}\r\n onEditClick={editIconClick}\r\n searchText=\"Enter System Name\"\r\n onDeleteClick={(e) => deleteRef.current?.toggle(e)}\r\n onGlobalSearch={onGlobalSearch}\r\n onSortData={onSort}\r\n onSaveRowEdit={onEditSystemRowClick}\r\n onRowEditValidation={onRowEditValidation}\r\n onRowEditClick={onRowEditClick}\r\n showroweditor={showUI(userPrivileges, 'SIETAP_FS_SYSTEMS_MANAGE')}\r\n showAddIcon={showUI(userPrivileges, 'SIETAP_FS_SYSTEMS_MANAGE')}\r\n showEditIcon={showUI(userPrivileges, 'SIETAP_FS_SYSTEMS_MANAGE')}\r\n showDeleteIcon={showUI(userPrivileges, 'SIETAP_FS_SYSTEMS_MANAGE')}\r\n defaultSelectedRows={selectedRows}\r\n settingListItems={settingListItems}\r\n allowRowEditing={allowRowEditing}\r\n />\r\n
\r\n \r\n
    \r\n {showUI(userPrivileges, \"SIETAP_SYSTEMS_DELETE\") &&
  • System
  • }\r\n {showUI(userPrivileges, \"SIETAP_SYSTEMS_DELETE_EQUIPMENTGROUPS\") &&
  • System Equipment Groups
  • }\r\n {showUI(userPrivileges, \"SIETAP_SYSTEMS_DELETE_UNLINKED_EQUIPMENTGROUPS\") &&
  • Unlinked Equipment Groups
  • }\r\n
\r\n
\r\n {showAddModal && onAddSystemClick(data)} />}\r\n {showMasterData && }\r\n\r\n {showProvenOutcomesModal && (\r\n {\r\n reset();\r\n setShowProvenOutcomesModal(false)\r\n }}\r\n className=\"display-settings selectsite Proven-Outcomes\"\r\n >\r\n
\r\n
\r\n \r\n {provenOutcomesData && provenOutcomesData.length &&\r\n (\r\n field.onChange(e.value)}\r\n options={provenOutcomesData}\r\n optionLabel=\"inspectionTaskName\"\r\n optionValue=\"uniqueInspectionTaskId\"\r\n />\r\n )}\r\n />}\r\n \r\n {getFormErrorMessage(\"uniqueinspectiontaskid\")}\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n )}\r\n\r\n {showUploadXMLModal && }\r\n \r\n
    \r\n {showUI(userPrivileges, \"SIETAP_SYSTEMS_UPLOADXML\") &&
  • Upload XML
  • }\r\n {showUI(userPrivileges, \"SIETAP_SYSTEMS_UPLOADCONFIG\") &&
  • Upload Config File
  • }\r\n
\r\n
\r\n \r\n
    \r\n
  • Report All
  • \r\n
  • Report Highlighted
  • \r\n
  • Export All
  • \r\n\t\t\t\t\t
  • Export Highlighted
  • \r\n {showUI(userPrivileges, \"SIETAP_SYSTEMS_DOWNLOADXML\") &&\r\n
  • Download XML
  • \r\n }\r\n {showUI(userPrivileges, \"SIETAP_SYSTEMS_DOWNLOADCONFIG\") &&\r\n
  • Download Config File
  • \r\n }\r\n
\r\n
\r\n {showEditModal && (\r\n onEditSystemClick(data)}\r\n />\r\n )}\r\n\r\n {showEquipmentGroupModal && (\r\n \r\n )}\r\n\r\n {isUnlinkedEquipmentGroup && (\r\n \r\n )}\r\n\r\n {isSystemEquipmentGroup && (\r\n \r\n )}\r\n\r\n \r\n \r\n\r\n {showReportModal ? (\r\n \r\n ) : null}\r\n
\r\n );\r\n};\r\n\r\nexport default Systems;\r\n","import { Calendar } from 'primereact/calendar';\r\nimport { Dropdown } from 'primereact/dropdown';\r\nimport { InputText } from 'primereact/inputtext';\r\nimport { BsExclamationCircleFill } from 'react-icons/bs';\r\nimport { useEffect, useRef, useState } from 'react';\r\nimport { useDispatch } from 'react-redux';\r\nimport { useAppSelector } from 'redux/hooks';\r\nimport { getTechnicians } from 'redux/pages/Inspection/InspectionTask/inspectionTaskSlice';\r\nimport { InputNumber } from 'primereact/inputnumber';\r\n\r\ninterface EquipmentGroupItem {\r\n name: string,\r\n code: string\r\n};\r\n\r\ninterface EquipmentTypeItem {\r\n name: string,\r\n code: string\r\n}\r\n\r\n\r\nexport const textEditor = (options) => {\r\n return options.editorCallback(e.target.value)} />;\r\n};\r\n\r\nexport const customerTextEditor = (options) => {\r\n return options.editorCallback(e.target.value)} />;\r\n};\r\n\r\ninterface Props {\r\n getTableColumns?: (data: any) => void,\r\n selectedRow: any;\r\n customerAllChecked: boolean | undefined;\r\n contractAllChecked: boolean | undefined;\r\n contractNumber: any;\r\n\r\n}\r\n\r\nexport const InspectionTableData: React.FC = ({\r\n getTableColumns = () => { },\r\n selectedRow = [],\r\n customerAllChecked = false,\r\n contractAllChecked = false,\r\n contractNumber = \"\",\r\n}) => {\r\n const technicianData = useAppSelector((state) => state.inspectionTask.technicianData);\r\n const loggedInUserDetails = useAppSelector((state) => state.administration.loggedInUserDetails);\r\n const [technicianLookup, setTechnicianLookup] = useState([])\r\n const [countryId, setCountryId] = useState()\r\n const inspectionColumns = useRef();\r\n const [showNotificationColumn, setShowNotificationColumn] = useState();\r\n const dispatch = useDispatch()\r\n\r\n useEffect(() => {\r\n if (selectedRow) {\r\n let body = {\r\n UniqueContractId: selectedRow?.uniqueContractId,\r\n }\r\n dispatch(getTechnicians(body));\r\n }\r\n }, [selectedRow])\r\n\r\n useEffect(() => {\r\n if (technicianData?.length > 0) {\r\n let technician: any = [];\r\n technicianData.map((item: any) => {\r\n return technician.push({ label: item.formattedLeadTechnicianName, value: item.uniqueUserId })\r\n })\r\n setTechnicianLookup(technician)\r\n }\r\n }, [technicianData])\r\n\r\n useEffect(() => {\r\n if (loggedInUserDetails) {\r\n setCountryId(loggedInUserDetails?.userDefaults?.countryId);\r\n }\r\n }, [loggedInUserDetails])\r\n\r\n useEffect(() => {\r\n if (contractNumber.length > 0) {\r\n if (countryId === 220 && contractNumber.startsWith(\"44OP\") ||\r\n countryId === 220 && contractNumber.startsWith(\"44OC\") ||\r\n countryId === 38 && contractNumber.startsWith(\"60\") ||\r\n countryId === 38 && /^[a-zA-Z][-][0-9]{2}[-][a-zA-Z][-][0-9]{4}$/.test(contractNumber) ||\r\n countryId === 38 && /^[a-zA-Z][-]SI[-][0-9]{5}$/.test(contractNumber) ||\r\n countryId === 38 && contractNumber.startsWith(\"13\")) {\r\n setShowNotificationColumn(false)\r\n } else {\r\n setShowNotificationColumn(true);\r\n }\r\n }\r\n }, [contractNumber])\r\n\r\n const getErrorMsg = options => {\r\n const { field, value } = options;\r\n const FIELD_REQUIRED = 'This field is required';\r\n const NUMBER_VALID = 'Enter a valid Notification Number';\r\n switch (field) {\r\n case 'inspectionTaskName': {\r\n if (!value?.trim())\r\n return FIELD_REQUIRED;\r\n break;\r\n }\r\n case 'qtyOfTech': {\r\n if (!value)\r\n return FIELD_REQUIRED;\r\n break;\r\n }\r\n case 'notificationNumber': {\r\n if (options)\r\n if (!isPatternValid(value))\r\n return NUMBER_VALID\r\n else if (!value)\r\n return FIELD_REQUIRED\r\n break;\r\n }\r\n case 'leadTechnician': {\r\n if (!value)\r\n return FIELD_REQUIRED;\r\n break;\r\n }\r\n default: {\r\n return ''\r\n }\r\n }\r\n };\r\n\r\n const isPatternValid = (notificationNumber) => {\r\n if (!notificationNumber) {\r\n return true;\r\n }\r\n if (countryId === 38) {\r\n return /^((600)[0-9]{6}|[5][0-9]{9})$/.test(notificationNumber);\r\n } else if (countryId === 220) {\r\n return /^[5][0-9]{9}$/.test(notificationNumber);\r\n }\r\n }\r\n\r\n const inspectionTextEditor = (options) => {\r\n return options.editorCallback(e.target.value)} />;\r\n };\r\n \r\n const inspectionSystemTextEditor = (options) => {\r\n return options.editorCallback(e.target.value)} />;\r\n };\r\n\r\n const inspectionNameEditor = (options) => {\r\n return options.editorCallback(e.target.value)} />;\r\n };\r\n\r\n const qtyofTechEditor = (options) => {\r\n const errorMsg = getErrorMsg(options);\r\n const handleFocus = (event) => {\r\n event.target.setAttribute('autocomplete', 'off');\r\n };\r\n return <>\r\n options.editorCallback(e.value)} onFocus={handleFocus} />\r\n {errorMsg && {errorMsg}}\r\n \r\n };\r\n\r\n const inspectiontaskEditor = (options) => {\r\n let errorMsg: any = \"\";\r\n let isNotificationNumberDisabled = false\r\n if (countryId === 220 && options.rowData.contractNumber.startsWith(\"44OP\") ||\r\n countryId === 220 && options.rowData.contractNumber.startsWith(\"44OC\")) {\r\n isNotificationNumberDisabled = true\r\n } else {\r\n errorMsg = getErrorMsg(options);\r\n }\r\n return <>\r\n options.editorCallback(e.target.value)} />\r\n {errorMsg && {errorMsg}}\r\n \r\n };\r\n\r\n const dateEditor = (options) => {\r\n let date = new Date(options.value)\r\n let timezoneoffset = date.getTimezoneOffset();\r\n let localDate = new Date();\r\n if(timezoneoffset >=0)\r\n localDate = new Date(date.getTime() + (timezoneoffset) * 60000)\r\n else\r\n localDate = new Date(date.getTime() - (timezoneoffset) * 60000)\r\n return options.editorCallback(e.target.value)} />\r\n }\r\n\r\n const leadTechnicianEditor = (options) => {\r\n const errorMsg = getErrorMsg(options);\r\n return (\r\n options.editorCallback(e.value)}\r\n itemTemplate={(option) => {\r\n return {option.label}\r\n {errorMsg && {errorMsg}}\r\n }} />\r\n \r\n );\r\n }\r\n\r\n const INSPECTION_TASKS_COLS = [\r\n {\r\n field: 'inspectionTaskName',\r\n header: 'Inspection Task Name',\r\n editor: (options) => inspectionNameEditor(options),\r\n style: { flex: '1 0 200px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'systemName',\r\n header: 'System',\r\n editor: (options) => inspectionSystemTextEditor(options),\r\n style: { flex: '1 0 160px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'panelType',\r\n header: 'Panel Type',\r\n editor: (options) => inspectionTextEditor(options),\r\n style: { flex: '1 0 110px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'plannedStartDate',\r\n header: 'Planned Start Date',\r\n editor: (options) => dateEditor(options),\r\n style: { flex: '1 0 180px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'plannedEndDate',\r\n header: 'Planned End Date',\r\n editor: (options) => dateEditor(options),\r\n style: { flex: '1 0 180px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'status',\r\n header: 'Status',\r\n editor: (options) => inspectionTextEditor(options),\r\n style: { flex: '1 0 110px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'statusUpdateDate',\r\n header: 'Status Updated',\r\n style: { flex: '1 0 150px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'leadTechnician',\r\n header: 'Lead Technician',\r\n editor: (options) => leadTechnicianEditor(options),\r\n style: { flex: '1 0 150px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'qtyOfTech',\r\n header: 'Qty of Techs',\r\n editor: (options) => qtyofTechEditor(options),\r\n style: { flex: '1 0 130px' },\r\n sortable: true,\r\n align: \"left\",\r\n },\r\n {\r\n field: 'notificationNumber',\r\n header: 'Notification Number',\r\n editor: (options) => inspectiontaskEditor(options),\r\n style: { flex: '1 0 165px' },\r\n sortable: true,\r\n \r\n },\r\n {\r\n field: 'equipmentTestedPercentage',\r\n header: 'Equipment Tested in %',\r\n style: { flex: '1 0 180px' },\r\n sortable: true,\r\n align: \"left\",\r\n }\r\n ];\r\n\r\n const INSPECTION_TASKS_OPTIONAL_COLS = [\r\n {\r\n field: 'notificationNumber',\r\n header: 'Notification Number',\r\n editor: (options) => inspectiontaskEditor(options),\r\n style: { flex: '1 0 200px' },\r\n sortable: true,\r\n }\r\n ];\r\n\r\n useEffect(() => {\r\n if (showNotificationColumn === true || customerAllChecked === true || contractAllChecked === true) {\r\n inspectionColumns.current = INSPECTION_TASKS_COLS;\r\n } else {\r\n let newcols = INSPECTION_TASKS_COLS.filter(cols => cols.field !== INSPECTION_TASKS_OPTIONAL_COLS[0].field)\r\n inspectionColumns.current = newcols;\r\n }\r\n getTableColumns(inspectionColumns.current);\r\n }, [getTableColumns, technicianLookup, showNotificationColumn, customerAllChecked, contractAllChecked]);\r\n\r\n return (\r\n <>\r\n )\r\n\r\n}\r\n\r\nexport default InspectionTableData;\r\n\r\nexport const INSPECTION_TASKS_Extra_COLS = [\r\n\r\n {\r\n field: 'customerName',\r\n header: 'Customer',\r\n editor: (options) => customerTextEditor(options),\r\n style: { flex: '1 0 200px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'contractName',\r\n header: 'Contract',\r\n editor: (options) => customerTextEditor(options),\r\n style: { flex: '1 0 200px' },\r\n sortable: true,\r\n }\r\n]\r\n\r\nexport const EQUIPMENT_LIST_COLS = [\r\n {\r\n field: 'equipmentType',\r\n header: 'Equipment Type',\r\n editor: (options) => textEditor(options),\r\n style: { flex: '1 0 200px' },\r\n sortable: true,\r\n },\r\n // {\r\n // field: 'barcode',\r\n // header: 'Barcode',\r\n // editor: (options) => textEditor(options),\r\n // style: { flex: '1 0 200px' },\r\n // sortable: true,\r\n // },\r\n // {\r\n // field: 'address',\r\n // header: 'Address',\r\n // editor: (options) => textEditor(options),\r\n // style: { flex: '1 0 200px' },\r\n // sortable: true,\r\n // },\r\n // {\r\n // field: 'nfpa',\r\n // header: 'NFPA Classification',\r\n // editor: (options) => textEditor(options),\r\n // style: { flex: '1 0 200px' },\r\n // sortable: true,\r\n // },\r\n // {\r\n // field: 'xmlType',\r\n // header: 'XML Type',\r\n // editor: (options) => textEditor(options),\r\n // style: { flex: '1 0 200px' },\r\n // sortable: true,\r\n // },\r\n // {\r\n // field: 'xmlUsage',\r\n // header: 'XML Usage',\r\n // editor: (options) => textEditor(options),\r\n // style: { flex: '1 0 200px' },\r\n // sortable: true,\r\n // },\r\n // {\r\n // field: 'location',\r\n // header: 'Location',\r\n // editor: (options) => textEditor(options),\r\n // style: { flex: '1 0 200px' },\r\n // sortable: true,\r\n // },\r\n // {\r\n // field: 'health',\r\n // header: 'Health Classification',\r\n // editor: (options) => textEditor(options),\r\n // style: { flex: '1 0 200px' },\r\n // sortable: true,\r\n // },\r\n // {\r\n // field: 'testMethod',\r\n // header: 'Test Method',\r\n // editor: (options) => textEditor(options),\r\n // style: { flex: '1 0 200px' },\r\n // sortable: true,\r\n // },\r\n // {\r\n // field: 'testResult',\r\n // header: 'Test Result',\r\n // editor: (options) => textEditor(options),\r\n // style: { flex: '1 0 200px' },\r\n // sortable: true,\r\n // },\r\n];\r\n\r\nexport const EQUIPMENT_LIST_ROWS = [\r\n {\r\n uniqueInspectionTaskId: 1,\r\n equipmentType: 'Devices',\r\n barcode: '',\r\n address: '01:002-001',\r\n nfpa: 'System Smoke Detector (P)',\r\n xmlType: 'HFP-11',\r\n xmlUsage: 'Alarm',\r\n location: 'HFP-11 @ address 2-1',\r\n health: 'Smoke Detector',\r\n testMethod: 'None',\r\n testResult: 'Not Tested'\r\n },\r\n {\r\n uniqueInspectionTaskId: 2,\r\n equipmentType: 'Devices',\r\n barcode: '',\r\n address: '01:002-001',\r\n nfpa: 'System Smoke Detector (P)',\r\n xmlType: 'HFP-11',\r\n xmlUsage: 'Alarm',\r\n location: 'HFP-11 @ address 2-1',\r\n health: 'Smoke Detector',\r\n testMethod: 'None',\r\n testResult: 'Not Tested'\r\n },\r\n {\r\n uniqueInspectionTaskId: 3,\r\n equipmentType: 'Devices',\r\n barcode: '',\r\n address: '01:002-001',\r\n nfpa: 'System Smoke Detector (P)',\r\n xmlType: 'HFP-11',\r\n xmlUsage: 'Alarm',\r\n location: 'HFP-11 @ address 2-1',\r\n health: 'Smoke Detector',\r\n testMethod: 'None',\r\n testResult: 'Not Tested'\r\n },\r\n {\r\n uniqueInspectionTaskId: 4,\r\n equipmentType: 'Devices',\r\n barcode: '',\r\n address: '01:002-001',\r\n nfpa: 'System Smoke Detector (P)',\r\n xmlType: 'HFP-11',\r\n xmlUsage: 'Alarm',\r\n location: 'HFP-11 @ address 2-1',\r\n health: 'Smoke Detector',\r\n testMethod: 'None',\r\n testResult: 'Not Tested'\r\n },\r\n {\r\n uniqueInspectionTaskId: 5,\r\n equipmentType: 'Devices',\r\n barcode: '',\r\n address: '01:002-001',\r\n nfpa: 'System Smoke Detector (P)',\r\n xmlType: 'HFP-11',\r\n xmlUsage: 'Alarm',\r\n location: 'HFP-11 @ address 2-1',\r\n health: 'Smoke Detector',\r\n testMethod: 'None',\r\n testResult: 'Not Tested'\r\n },\r\n {\r\n uniqueInspectionTaskId: 6,\r\n equipmentType: 'Devices',\r\n barcode: '',\r\n address: '01:002-001',\r\n nfpa: 'System Smoke Detector (P)',\r\n xmlType: 'HFP-11',\r\n xmlUsage: 'Alarm',\r\n location: 'HFP-11 @ address 2-1',\r\n health: 'Smoke Detector',\r\n testMethod: 'None',\r\n testResult: 'Not Tested'\r\n },\r\n {\r\n uniqueInspectionTaskId: 7,\r\n equipmentType: 'Devices',\r\n barcode: '',\r\n address: '01:002-001',\r\n nfpa: 'System Smoke Detector (P)',\r\n xmlType: 'HFP-11',\r\n xmlUsage: 'Alarm',\r\n location: 'HFP-11 @ address 2-1',\r\n health: 'Smoke Detector',\r\n testMethod: 'None',\r\n testResult: 'Not Tested'\r\n },\r\n {\r\n uniqueInspectionTaskId: 8,\r\n equipmentType: 'Devices',\r\n barcode: '',\r\n address: '01:002-001',\r\n nfpa: 'System Smoke Detector (P)',\r\n xmlType: 'HFP-11',\r\n xmlUsage: 'Alarm',\r\n location: 'HFP-11 @ address 2-1',\r\n health: 'Smoke Detector',\r\n testMethod: 'None',\r\n testResult: 'Not Tested'\r\n },\r\n {\r\n uniqueInspectionTaskId: 9,\r\n equipmentType: 'Devices',\r\n barcode: '',\r\n address: '01:002-001',\r\n nfpa: 'System Smoke Detector (P)',\r\n xmlType: 'HFP-11',\r\n xmlUsage: 'Alarm',\r\n location: 'HFP-11 @ address 2-1',\r\n health: 'Smoke Detector',\r\n testMethod: 'None',\r\n testResult: 'Not Tested'\r\n },\r\n {\r\n uniqueInspectionTaskId: 10,\r\n equipmentType: 'Devices',\r\n barcode: '',\r\n address: '01:002-001',\r\n nfpa: 'System Smoke Detector (P)',\r\n xmlType: 'HFP-11',\r\n xmlUsage: 'Alarm',\r\n location: 'HFP-11 @ address 2-1',\r\n health: 'Smoke Detector',\r\n testMethod: 'None',\r\n testResult: 'Not Tested'\r\n },\r\n {\r\n uniqueInspectionTaskId: 11,\r\n equipmentType: 'Devices',\r\n barcode: '',\r\n address: '01:002-001',\r\n nfpa: 'System Smoke Detector (P)',\r\n xmlType: 'HFP-11',\r\n xmlUsage: 'Alarm',\r\n location: 'HFP-11 @ address 2-1',\r\n health: 'Smoke Detector',\r\n testMethod: 'None',\r\n testResult: 'Not Tested'\r\n },\r\n {\r\n uniqueInspectionTaskId: 12,\r\n equipmentType: 'Devices',\r\n barcode: '',\r\n address: '01:002-001',\r\n nfpa: 'System Smoke Detector (P)',\r\n xmlType: 'HFP-11',\r\n xmlUsage: 'Alarm',\r\n location: 'HFP-11 @ address 2-1',\r\n health: 'Smoke Detector',\r\n testMethod: 'None',\r\n testResult: 'Not Tested'\r\n },\r\n {\r\n uniqueInspectionTaskId: 13,\r\n equipmentType: 'Devices',\r\n barcode: '',\r\n address: '01:002-001',\r\n nfpa: 'System Smoke Detector (P)',\r\n xmlType: 'HFP-11',\r\n xmlUsage: 'Alarm',\r\n location: 'HFP-11 @ address 2-1',\r\n health: 'Smoke Detector',\r\n testMethod: 'None',\r\n testResult: 'Not Tested'\r\n },\r\n {\r\n uniqueInspectionTaskId: 14,\r\n equipmentType: 'Devices',\r\n barcode: '',\r\n address: '01:002-001',\r\n nfpa: 'System Smoke Detector (P)',\r\n xmlType: 'HFP-11',\r\n xmlUsage: 'Alarm',\r\n location: 'HFP-11 @ address 2-1',\r\n health: 'Smoke Detector',\r\n testMethod: 'None',\r\n testResult: 'Not Tested'\r\n },\r\n {\r\n uniqueInspectionTaskId: 15,\r\n equipmentType: 'Devices',\r\n barcode: '',\r\n address: '01:002-001',\r\n nfpa: 'System Smoke Detector (P)',\r\n xmlType: 'HFP-11',\r\n xmlUsage: 'Alarm',\r\n location: 'HFP-11 @ address 2-1',\r\n health: 'Smoke Detector',\r\n testMethod: 'None',\r\n testResult: 'Not Tested'\r\n },\r\n {\r\n uniqueInspectionTaskId: 16,\r\n equipmentType: 'Devices',\r\n barcode: '',\r\n address: '01:002-001',\r\n nfpa: 'System Smoke Detector (P)',\r\n xmlType: 'HFP-11',\r\n xmlUsage: 'Alarm',\r\n location: 'HFP-11 @ address 2-1',\r\n health: 'Smoke Detector',\r\n testMethod: 'None',\r\n testResult: 'Not Tested'\r\n },\r\n {\r\n uniqueInspectionTaskId: 17,\r\n equipmentType: 'Devices',\r\n barcode: '',\r\n address: '01:002-001',\r\n nfpa: 'System Smoke Detector (P)',\r\n xmlType: 'HFP-11',\r\n xmlUsage: 'Alarm',\r\n location: 'HFP-11 @ address 2-1',\r\n health: 'Smoke Detector',\r\n testMethod: 'None',\r\n testResult: 'Not Tested'\r\n },\r\n {\r\n uniqueInspectionTaskId: 18,\r\n equipmentType: 'Devices',\r\n barcode: '',\r\n address: '01:002-001',\r\n nfpa: 'System Smoke Detector (P)',\r\n xmlType: 'HFP-11',\r\n xmlUsage: 'Alarm',\r\n location: 'HFP-11 @ address 2-1',\r\n health: 'Smoke Detector',\r\n testMethod: 'None',\r\n testResult: 'Not Tested'\r\n },\r\n {\r\n uniqueInspectionTaskId: 19,\r\n equipmentType: 'Devices',\r\n barcode: '',\r\n address: '01:002-001',\r\n nfpa: 'System Smoke Detector (P)',\r\n xmlType: 'HFP-11',\r\n xmlUsage: 'Alarm',\r\n location: 'HFP-11 @ address 2-1',\r\n health: 'Smoke Detector',\r\n testMethod: 'None',\r\n testResult: 'Not Tested'\r\n },\r\n {\r\n uniqueInspectionTaskId: 20,\r\n equipmentType: 'Devices',\r\n barcode: '',\r\n address: '01:002-001',\r\n nfpa: 'System Smoke Detector (P)',\r\n xmlType: 'HFP-11',\r\n xmlUsage: 'Alarm',\r\n location: 'HFP-11 @ address 2-1',\r\n health: 'Smoke Detector',\r\n testMethod: 'None',\r\n testResult: 'Not Tested'\r\n }\r\n];\r\n\r\n\r\nexport const DEFAULT_HEADER_LIST = [\r\n {\r\n id: 1,\r\n name: 'Contract',\r\n selected: false\r\n },\r\n {\r\n id: 2,\r\n name: 'System',\r\n selected: false\r\n },\r\n {\r\n id: 3,\r\n name: 'Questions',\r\n selected: false\r\n },\r\n {\r\n id: 4,\r\n name: 'Equipment',\r\n selected: true\r\n },\r\n {\r\n id: 5,\r\n name: 'Summary',\r\n selected: false\r\n }\r\n];\r\n\r\nexport const DEFAULT_EQUIPMENT_GROUP_LIST: Array = [\r\n { name: 'All', code: 'All' },\r\n { name: `01 Node @ address 1`, code: 'N1' },\r\n { name: `02 Node @ address 2`, code: 'N2' }\r\n];\r\n\r\nexport const DEFAULT_EQUIPMENT_TYPE_LIST: Array = [\r\n { name: 'All', code: 'All' },\r\n { name: `Devices`, code: 'DV' },\r\n { name: `Doors`, code: 'DR' },\r\n { name: `Elevators`, code: 'EL' }\r\n];","import React, {memo,useEffect,useRef} from \"react\";\r\nimport { Calendar } from \"primereact/calendar\";\r\nimport { classNames } from \"primereact/utils\";\r\nimport { InputText } from \"primereact/inputtext\";\r\nimport { InputTextarea } from \"primereact/inputtextarea\";\r\nimport { Checkbox } from \"primereact/checkbox\";\r\nimport { Controller } from \"react-hook-form\";\r\nimport { RadioButton } from \"primereact/radiobutton\";\r\nimport { BsExclamationCircleFill } from \"react-icons/bs\";\r\nimport { Dropdown } from \"primereact/dropdown\";\r\nimport moment from \"moment\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\nimport { blockedNonKeyboardCharacters } from \"service/GeneralUtility\";\r\n\r\ninterface FormElementPropType {\r\n ddAppendTo?: 'self' | undefined;\r\n data?: any;\r\n control?: any;\r\n setValue?: any;\r\n errors?: any;\r\n watch?: any;\r\n fieldFocus?: any;\r\n calendarAppendTo?: boolean;\r\n isMandatory? : boolean;\r\n onSelectionChange?: (data, id) => void;\r\n onTextBoxChange?: (data,e) => void;\r\n checkIsValueChanged?: (e) => void;\r\n onDateTimeChanged?: (data,e) => void;\r\n setFieldFocus?:any; \r\n}\r\ninterface ErrorMessageProps {\r\n data: any;\r\n inputRef?: React.RefObject;\r\n}\r\nconst FormElement: React.FC = (props) => {\r\n const { data, control, errors, setValue, watch, onSelectionChange = () => { },onTextBoxChange=() =>{ },onDateTimeChanged=() =>{ }, checkIsValueChanged = () => { }, ddAppendTo = undefined, calendarAppendTo = false,isMandatory = false , fieldFocus = false, setFieldFocus} = props;\r\n const cal = React.createRef();\r\n const textBoxInputRef = useRef(null);\r\n const textAreaInputRef = useRef(null);\r\n const loggedInUserDetails = useAppSelector((state) => state.administration.loggedInUserDetails);\r\n\r\n const onCheckBoxChanged = (datafieldId, value) => {\r\n const checkedItem = watch(datafieldId);\r\n for (let i = 0; i < checkedItem?.length; i++) {\r\n if (checkedItem?.[i]?.[value] !== undefined) {\r\n checkedItem[i][value] = !checkedItem?.[i]?.[value];\r\n }\r\n }\r\n setValue(datafieldId, checkedItem);\r\n };\r\n\r\n const getCheckBoxActive = (datafieldId, value) => {\r\n let flag = false;\r\n const checkedItem = watch(datafieldId);\r\n for (let i = 0; i < checkedItem?.length; i++) {\r\n if (checkedItem[i][value] !== undefined) {\r\n flag = checkedItem?.[i]?.[value];\r\n }\r\n }\r\n return flag;\r\n };\r\n \r\n const getTextType = (types) => {\r\n if (types.mandatory) {\r\n if ([4, 1, 16].includes(types?.dataType?.dataTypeId)) {\r\n return \"decimal\";\r\n } else if (types?.dataType?.dataTypeId === 3) {\r\n return \"integer\";\r\n }\r\n else {\r\n return \"text\";\r\n }\r\n }\r\n else if ([4, 1, 16].includes(types?.dataType?.dataTypeId)) {\r\n return \"decimal\";\r\n } else if (types?.dataType?.dataTypeId === 3) {\r\n return \"integer\";\r\n } \r\n else if (types?.dataType?.dataTypeId === 5 || types?.dataType?.dataTypeId === 6 || types?.dataType?.dataTypeId === 17) {\r\n return \"text\";\r\n }\r\n else {\r\n return undefined;\r\n }\r\n };\r\n\r\n const getTextBoxType = (types) => {\r\n if ([4, 1, 16].includes(types?.dataType?.dataTypeId)) {\r\n return \"decimal\";\r\n } else if (types?.dataType?.dataTypeId === 3) {\r\n return \"integer\";\r\n }\r\n else {\r\n return \"text\";\r\n }\r\n }\r\n\r\n const ErrorMessage: React.FC = ({ data, inputRef = null }) => {\r\n useEffect(() => {\r\n if (inputRef && inputRef.current && errors[data?.uniqueDataFieldId]?.type === \"required\") {\r\n setTimeout(() => {\r\n inputRef.current?.focus();\r\n }, 0);\r\n }\r\n }, [errors, data, inputRef]);\r\n return (\r\n errors[props?.data?.uniqueDataFieldId] && (\r\n \r\n \r\n {errors[props?.data?.uniqueDataFieldId]?.type === \"maxLength\" ? (\r\n {`${props.data.dataFieldName} cannot exceed ${props.data.maxLength}`}\r\n ) : errors[props?.data?.uniqueDataFieldId]?.type === \"required\" ? (\r\n This field is required\r\n ) : errors[props?.data?.uniqueDataFieldId]?.type === \"validate\" ? (\r\n {errors[props?.data?.uniqueDataFieldId]?.message}\r\n ) : null}\r\n \r\n )\r\n );\r\n };\r\n \r\n const decimalValidate = (value) => {\r\n if (value) {\r\n if (isNaN(value)) {\r\n return \"Enter a Numeric value\";\r\n }\r\n if (parseFloat(value) == value) {\r\n return true;\r\n } else {\r\n return \"Enter a Numeric value\";\r\n }\r\n }\r\n };\r\n\r\n const integerValidate = (value) => {\r\n if (value) {\r\n if (isNaN(value)) {\r\n return \"Enter an integer value\";\r\n }\r\n if (parseInt(value) == value && value % 1 === 0) {\r\n return true;\r\n } else {\r\n return \"Enter an integer value\";\r\n }\r\n }\r\n };\r\n\r\n const textValidate = (value) => {\r\n if (value) {\r\n let invalidCharacters: any = blockedNonKeyboardCharacters(value);\r\n if (invalidCharacters != null && invalidCharacters.length > 0) {\r\n return \"Non-Keyboard character(s) \" + invalidCharacters.join() + \" is not allowed\";\r\n }\r\n else {\r\n return !!value;\r\n }\r\n }\r\n }\r\n\r\n const preventChangeOnKeyDown = (event: any,type?) => {\r\n const charCode = (event.which) ? event.which : event.keyCode;\r\n if ((charCode == 38) || (charCode == 40)) {\r\n event.preventDefault();\r\n event.target.blur();\r\n }else if(event.key == 'e' || event.key == 'E'){\r\n if(type == 3){\r\n event.preventDefault();\r\n event.target.blur();\r\n }\r\n }\r\n }\r\n\r\n const CustomTextBox = (props) => {\r\n\r\n return (\r\n
\r\n (\r\n \r\n {\r\n field.onChange(e.target.value.trimStart());\r\n onTextBoxChange(props.item,e);\r\n checkIsValueChanged(e);\r\n setTimeout(() => {\r\n textBoxInputRef.current.focus();\r\n }, 0);\r\n }}\r\n autoFocus={fieldFocus && fieldState?.invalid}\r\n step=\"any\"\r\n type={getTextBoxType(props?.item) === \"text\" ? \"text\" : \"number\"}\r\n maxLength={props?.item?.maxLength}\r\n className={classNames({ \"p-invalid w-100 error-tooltip error\": fieldState.invalid })}\r\n onWheel={(e: any) => {\r\n // to prevent value changes on scroll\r\n e.target.blur();\r\n }}\r\n onKeyDown={(e: any) => preventChangeOnKeyDown(e,props?.item.dataType.dataTypeId)}\r\n disabled={props?.item?.disabled} />\r\n \r\n \r\n )}\r\n />\r\n
\r\n );\r\n };\r\n\r\n const CustomTextArea = (props) => {\r\n\r\n return (\r\n
\r\n (\r\n \r\n {\r\n const { selectionStart, selectionEnd } = e.target;\r\n field.onChange(e.target.value.trimStart());\r\n checkIsValueChanged(e);\r\n setTimeout(() => {\r\n textAreaInputRef.current.focus();\r\n textAreaInputRef.current.setSelectionRange(selectionStart,selectionEnd); \r\n }, 0);\r\n }}\r\n autoFocus={fieldFocus && fieldState?.invalid}\r\n className={classNames({ \"p-invalid w-100 error-tooltip error\": fieldState.invalid })}\r\n disabled={props?.item?.disabled} />\r\n \r\n \r\n \r\n )}\r\n />\r\n
\r\n );\r\n };\r\n\r\n const CustomRadioButton = (props) => {\r\n \r\n return (\r\n
\r\n (\r\n
\r\n {props?.item?.validatedValues.map((item: any, key: any) => (\r\n <>\r\n \r\n {\r\n field.onChange(e.value);\r\n checkIsValueChanged(e);\r\n }}\r\n onDoubleClick={(e) => {\r\n\r\n field.onChange('')\r\n }}\r\n \r\n className={classNames({ \"p-invalid\": fieldState.invalid })} />\r\n 60 ? item?.dataFieldLookupValue : \"\"}\r\n >\r\n {item?.dataFieldLookupValue.length > 60\r\n ? `${item?.dataFieldLookupValue.slice(0, 60)}...`\r\n : item?.dataFieldLookupValue}\r\n \r\n \r\n {watch(props?.item?.uniqueDataFieldId) === item?.dataFieldLookupId &&\r\n item?.childDataField?.map((child, key) => (\r\n \r\n {child?.dataEntryControl?.dataEntryControlName === \"Text Box\" ? (\r\n \r\n ) : child?.dataEntryControl?.dataEntryControlName === \"Text Area\" ? (\r\n \r\n ) : child?.dataEntryControl?.dataEntryControlName === \"Date Picker\" && child?.dataType?.dataTypeName === \"Date\" ? (\r\n \r\n ) : child?.dataEntryControl?.dataEntryControlName === \"Date Picker\" && child?.dataType?.dataTypeName === \"Date Time\" ? (\r\n \r\n ) : child?.dataEntryControl?.dataEntryControlName === \"Date Time Picker\" && child?.dataType?.dataTypeName === \"Date Time\" ? (\r\n \r\n ) : child?.dataEntryControl?.dataEntryControlName === \"Drop-down list\" ? (\r\n \r\n ) : null}\r\n \r\n ))}\r\n \r\n \r\n ))}\r\n
\r\n )}\r\n />\r\n
\r\n );\r\n };\r\n\r\n const CustomCheckBox = (props) => {\r\n return (\r\n
\r\n (\r\n <>\r\n {props?.item?.isValidated ? (\r\n props?.item?.validatedValues.map((data, key) => (\r\n <>\r\n \r\n {\r\n onCheckBoxChanged(props?.item?.uniqueDataFieldId, data?.dataFieldLookupId);\r\n checkIsValueChanged(_e);\r\n }}\r\n checked={getCheckBoxActive(props?.item?.uniqueDataFieldId, data?.dataFieldLookupId)}\r\n value={data?.dataFieldLookupId}\r\n className={classNames({ \"p-invalid\": fieldState.invalid })} />\r\n \r\n \r\n\r\n {watch(props?.item?.uniqueDataFieldId)?.[key]?.[data?.dataFieldLookupId] &&\r\n data?.childDataField?.map((child, key) => (\r\n \r\n {child?.dataEntryControl?.dataEntryControlName === \"Text Box\" ? (\r\n \r\n ) : child?.dataEntryControl?.dataEntryControlName === \"Text Area\" ? (\r\n \r\n ) : child?.dataEntryControl?.dataEntryControlName === \"Date Picker\" && child?.dataType?.dataTypeName === \"Date\" ? (\r\n \r\n ) : child?.dataEntryControl?.dataEntryControlName === \"Date Picker\" && child?.dataType?.dataTypeName === \"Date Time\" ? (\r\n \r\n ) : child?.dataEntryControl?.dataEntryControlName === \"Date Time Picker\" && child?.dataType?.dataTypeName === \"Date Time\" ? (\r\n \r\n ) : child?.dataEntryControl?.dataEntryControlName === \"Drop-down list\" ? (\r\n \r\n ) : null}\r\n \r\n ))}\r\n\r\n \r\n\r\n ))\r\n ) : (\r\n \r\n {\r\n field.onChange(e.checked);\r\n checkIsValueChanged(e);\r\n }}\r\n disabled={props?.item?.disabled}\r\n checked={field.value}\r\n className={classNames({ \"p-invalid\": fieldState.invalid })}\r\n />\r\n \r\n \r\n )}\r\n \r\n \r\n )}\r\n />\r\n
\r\n );\r\n };\r\n\r\n const CustomDatePicker = (props) => {\r\n\r\n return (\r\n
\r\n (\r\n \r\n {\r\n setValue(props?.item?.uniqueDataFieldId, moment(e.value).format(\"YYYY-MM-DD\"));\r\n checkIsValueChanged(e);\r\n }}\r\n onClearButtonClick={() => setValue(props?.item?.uniqueDataFieldId, \"\")}\r\n selectionMode=\"single\"\r\n disabled={props?.item?.disabled}\r\n dateFormat=\"yy-mm-dd\"\r\n readOnlyInput\r\n showButtonBar\r\n appendTo={calendarAppendTo ? undefined : 'self'}\r\n />\r\n \r\n \r\n \r\n )}\r\n />\r\n
\r\n );\r\n };\r\n\r\n const CustomDateTimePicker = (props) => {\r\n\r\n return (\r\n
\r\n (\r\n \r\n {\r\n setValue(props?.item?.uniqueDataFieldId, moment(e.value).format(\"YYYY-MM-DD HH:mm:ss\"));\r\n checkIsValueChanged(e);\r\n onDateTimeChanged(data,e);\r\n }}\r\n onClearButtonClick={() => setValue(props?.item?.uniqueDataFieldId, \"\")}\r\n selectionMode=\"single\"\r\n disabled={props?.item?.disabled}\r\n readOnlyInput\r\n footerTemplate={() =>
\r\n cal.current?.hide()}>Save\r\n
}\r\n showTime\r\n showSeconds\r\n showButtonBar\r\n appendTo={calendarAppendTo ? undefined : 'self'}\r\n dateFormat=\"yy-mm-dd\"\r\n hourFormat=\"24\"\r\n />\r\n \r\n \r\n
\r\n )}\r\n />\r\n
\r\n );\r\n };\r\n const CustomDateTimePickerDevAndTestDate = (props) => {\r\n\r\n return (\r\n
\r\n (\r\n \r\n {\r\n setValue(props?.item?.uniqueDataFieldId, moment(e.value).format(\"YYYY-MM-DD HH:mm:ss\"));\r\n checkIsValueChanged(e);\r\n onDateTimeChanged(data,e);\r\n }}\r\n onClearButtonClick={() => setValue(props?.item?.uniqueDataFieldId, \"\")}\r\n onTodayButtonClick ={(e:any) => setValue(props?.item?.uniqueDataFieldId, moment(e.value).utcOffset((loggedInUserDetails?.userDefaults?.siteOffset)).format(\"YYYY-MM-DD HH:mm:ss\"))}\r\n clearButtonClassName =\"clearbutton\" \r\n selectionMode=\"single\"\r\n disabled={props?.item?.disabled}\r\n readOnlyInput\r\n footerTemplate={() =>
\r\n cal.current?.hide()}>Save\r\n
}\r\n showTime\r\n showSeconds\r\n showButtonBar\r\n touchUI\r\n dateFormat=\"yy-mm-dd\"\r\n hourFormat=\"24\"\r\n />\r\n \r\n \r\n
\r\n )}\r\n />\r\n
\r\n );\r\n };\r\n\r\n const CustomDropDown = (props) => {\r\n\r\n return (\r\n
\r\n {\r\n if (props?.item?.mandatory) {\r\n if (val === -1) return \"This field is required\";\r\n }\r\n },\r\n },\r\n }}\r\n render={({ field, fieldState }) => (\r\n \r\n {\r\n field.onChange(e.value);\r\n onSelectionChange(props.item, e.value);\r\n checkIsValueChanged(e);\r\n }}\r\n options={props?.item?.validatedValues}\r\n optionLabel=\"dataFieldLookupValue\"\r\n optionValue=\"dataFieldLookupId\"\r\n disabled={props?.item?.disabled}\r\n />\r\n \r\n \r\n \r\n )}\r\n />\r\n
\r\n );\r\n };\r\n\r\n return (\r\n <>\r\n {data?.dataEntryControl?.dataEntryControlName === \"Text Box\" ? (\r\n \r\n ) : data?.dataEntryControl?.dataEntryControlName === \"Text Area\" ? (\r\n \r\n ) : data?.dataEntryControl?.dataEntryControlName === \"Check Box(s)\" ? (\r\n \r\n ) : data?.dataEntryControl?.dataEntryControlName === \"Radio Buttons\" ? (\r\n \r\n ) : data?.dataEntryControl?.dataEntryControlName === \"Date Picker\" && data?.dataType?.dataTypeName === \"Date\" ? (\r\n \r\n ) : data?.dataEntryControl?.dataEntryControlName === \"Date Picker\" && data?.dataType?.dataTypeName === \"Date Time\" ? (\r\n \r\n ) : data?.dataEntryControl?.dataEntryControlName === \"Date Time Picker\" && data?.dataType?.dataTypeName === \"Date Time\" && (data?.dataFieldName === \"Dev Reading Date\" || data?.dataFieldName === \"Test Date\" )? (\r\n \r\n ) : data?.dataEntryControl?.dataEntryControlName === \"Date Picker\" && data?.dataType?.dataTypeName === \"Date Time\" && (data?.dataFieldName === \"Dev Reading Date\" || data?.dataFieldName === \"Test Date\" )? (\r\n \r\n ) : data?.dataEntryControl?.dataEntryControlName === \"Date Time Picker\" && data?.dataType?.dataTypeName === \"Date Time\" ? (\r\n \r\n ) : data?.dataEntryControl?.dataEntryControlName === \"Drop-down list\" ? (\r\n \r\n ) : null}\r\n \r\n );\r\n};\r\n\r\nexport default memo(FormElement);\r\n","\r\nimport React, { forwardRef, memo, useCallback, useEffect, useImperativeHandle, useLayoutEffect, useRef, useState } from 'react'\r\nimport { useForm } from 'react-hook-form';\r\n//components\r\nimport FormElement from '../Utility/FormElement';\r\n//redux\r\nimport { useAppSelector } from 'redux/hooks';\r\nimport { useDispatch } from 'react-redux';\r\nimport { getAdditionalDatafieldSets, getDatafieldValues, setAdditionalDatafieldSets, setAdditionalDatafieldValues } from 'redux/common/commonSlice';\r\nimport { setIsDevReadingChanged } from 'redux/pages/Inspection/InspectionTask/InspectionDetails/Equipment/EquipmentSlice';\r\nimport moment from 'moment';\r\n\r\ninterface GeneralFormPropType {\r\n datafields?: any;\r\n ddAppendTo?: 'self' | undefined;\r\n isEditForm?: boolean;\r\n onFormSubmit?: (body, reset) => void;\r\n body?: any;\r\n fieldFocus?: any;\r\n setFieldFocus?:any; \r\n}\r\nconst GeneralForm = forwardRef((props, ref) => {\r\n const { datafields, isEditForm, fieldFocus=false, setFieldFocus, onFormSubmit = () => { }, body, ddAppendTo = undefined } = props;\r\n const { control, formState: { errors }, handleSubmit, watch, setValue, unregister, reset } = useForm({mode:'all'});\r\n const addForm = useRef(null);\r\n const [datafieldlist, setDatafieldList] = useState([]);\r\n const [focusElement, setFocusElement] = useState(null);\r\n\r\n const dispatch = useDispatch();\r\n const additionalFieldValues = useAppSelector((state) => state.common.additionalDatafieldValues);\r\n const additionalDatafieldSets = useAppSelector((state) => state.common.additionalDatafieldSets);\r\n const loggedInUserDetails = useAppSelector((state) => state.administration.loggedInUserDetails);\r\n useImperativeHandle(ref, () => ({\r\n requestSubmit: () => {\r\n addForm?.current?.requestSubmit();\r\n },\r\n }));\r\n\r\n useEffect(() => {\r\n let fieldsConv = JSON.parse(JSON.stringify(datafields))\r\n if (fieldsConv?.length) {\r\n fieldsConv.forEach(element => {\r\n const devReadingDateIndex = fieldsConv?.findIndex((item) => item.dataFieldName === \"Dev Reading Date\");\r\n if (devReadingDateIndex > 0) {\r\n if (element?.dataFieldName === \"Dev Reading\") {\r\n if (element?.fieldValue === '') {\r\n fieldsConv[devReadingDateIndex].disabled = true;\r\n }\r\n else {\r\n fieldsConv[devReadingDateIndex].disabled = false;\r\n }\r\n }\r\n }\r\n if (element?.dataEntryControl?.dataEntryControlName === \"Drop-down list\") {\r\n if (element?.defaultSelectNeeded)\r\n element.validatedValues.unshift({ dataFieldLookupId: -1, dataFieldLookupValue: \"--Select--\", isSelected: false });\r\n const slectedItem = element.validatedValues?.filter((item) => item?.isSelected);\r\n if (slectedItem?.length) {\r\n setValue(element.uniqueDataFieldId, slectedItem[0].dataFieldLookupId);\r\n } else {\r\n setValue(element.uniqueDataFieldId, -1)\r\n }\r\n } else if (element?.dataEntryControl?.dataEntryControlName === \"Check Box(s)\") {\r\n if (element?.fieldValue) {\r\n setValue(element.uniqueDataFieldId, element.fieldValue)\r\n } else {\r\n let list: any = [];\r\n for (let j = 0; j < element?.validatedValues?.length; j++) {\r\n let sm = element.validatedValues[j].dataFieldLookupId;\r\n let item = {\r\n [sm]: false,\r\n };\r\n list.push(item);\r\n }\r\n setValue(element?.uniqueDataFieldId, list);\r\n }\r\n } else\r\n setValue(element.uniqueDataFieldId, element.fieldValue);\r\n });\r\n const ascDatafields = [...fieldsConv].sort((a, b) => a.positionNo - b.positionNo);\r\n setDatafieldList([...ascDatafields]);\r\n }\r\n }, [datafields]);\r\n\r\n useEffect(() => {\r\n if (additionalFieldValues) {\r\n let lists = JSON.parse(JSON.stringify(datafieldlist));\r\n let fieldValues = JSON.parse(JSON.stringify(additionalFieldValues));\r\n const findIndex = lists?.findIndex((item) => item.uniqueDataFieldId === fieldValues[1]);\r\n if (findIndex >= 0) {\r\n if (lists[findIndex]?.defaultSelectNeeded) {\r\n fieldValues[0].unshift({ dataFieldLookupId: -1, dataFieldLookupValue: \"--Select--\", isSelected: false });\r\n }\r\n lists[findIndex].validatedValues = fieldValues[0];\r\n }\r\n const filterData: any = fieldValues?.[0]?.filter(\r\n (item: any) =>\r\n item.isSelected === true\r\n );\r\n if (findIndex >= 0 && filterData?.length > 0) {\r\n lists[findIndex].fieldValue = filterData?.[0]?.dataFieldLookupId?.toString();\r\n setValue(lists[findIndex]?.uniqueDataFieldId, parseInt(filterData?.[0]?.dataFieldLookupId))\r\n } else {\r\n setValue(lists[findIndex]?.uniqueDataFieldId, -1)\r\n }\r\n\r\n setDatafieldList(lists);\r\n dispatch(setAdditionalDatafieldValues(\"\"));\r\n }\r\n }, [additionalFieldValues]);\r\n\r\n useEffect(() => {\r\n if (additionalDatafieldSets?.length) {\r\n let lists = JSON.parse(JSON.stringify(datafieldlist))\r\n let count = 0;\r\n for (let i = 0; i < datafieldlist?.length; i++) {\r\n if (datafieldlist[i]?.parentUniqueDataFieldId) {\r\n unregister(datafieldlist[i]?.uniqueDataFieldId);\r\n lists.splice(i - count, 1);\r\n count++;\r\n }\r\n }\r\n let fieldCount = 0;\r\n let filteredArray = JSON.parse(JSON.stringify(additionalDatafieldSets));\r\n for (let i = 0; i < lists?.length; i++) {\r\n for (let j = 0; j < filteredArray?.length; j++) {\r\n if (lists[i].uniqueDataFieldId === filteredArray[j]?.uniqueDataFieldId && filteredArray[j]?.hasToBeDeleted === 0) {\r\n filteredArray.splice(j, 1);\r\n fieldCount++;\r\n }\r\n }\r\n }\r\n\r\n // const dt = additionalDatafieldSets.filter(({ uniqueDataFieldId: id1, }) => !lists.some(({ uniqueDataFieldId: id2 }) => id2 === id1));\r\n\r\n for (let i = 0; i < filteredArray?.length; i++) {\r\n if (filteredArray[i]?.hasToBeDeleted === 0)\r\n lists.push(filteredArray[i]);\r\n else {\r\n const removeIndex = lists.findIndex((item) => item?.uniqueDataFieldId === filteredArray[i]?.uniqueDataFieldId);\r\n if (removeIndex >= 0) {\r\n unregister(lists[removeIndex]?.uniqueDataFieldId);\r\n lists.splice(removeIndex, 1);\r\n }\r\n }\r\n }\r\n const ascDatafields = [...lists].sort((a, b) => a.positionNo - b.positionNo);\r\n setDatafieldList([...ascDatafields]);\r\n dispatch(setAdditionalDatafieldSets(\"\"));\r\n }\r\n\r\n }, [additionalDatafieldSets])\r\n\r\n useLayoutEffect(() => {\r\n if (datafieldlist?.length) {\r\n if (focusElement) {\r\n const element = document.getElementsByName(focusElement);\r\n element?.[0]?.focus();\r\n setFocusElement(null);\r\n }\r\n }\r\n }, [datafieldlist])\r\n\r\n const onSubmit = (data) => {\r\n let fields: any = [];\r\n for (const k in data) {\r\n if (data[k] != undefined) {\r\n let multipleValue: any = [];\r\n let item: any = {\r\n dataFieldId: k,\r\n value: null,\r\n multipleValue: null,\r\n }\r\n if (Array.isArray(data[k])) {\r\n for (let i = 0; i < data[k]?.length; i++) {\r\n for (const obj in data[k][i]) {\r\n if (data[k][i][obj]) {\r\n multipleValue.push(obj);\r\n }\r\n }\r\n }\r\n item.multipleValue = multipleValue;\r\n } else {\r\n const field = datafieldlist?.filter((item) => item?.uniqueDataFieldId === k);\r\n if (field?.[0]?.dataEntryControl?.dataEntryControlName === \"Drop-down list\") {\r\n if (data[k] === -1)\r\n data[k] = \"\";\r\n }\r\n item.value = data[k]?.toString();\r\n }\r\n fields.push(item);\r\n }\r\n }\r\n onFormSubmit(fields, reset);\r\n dispatch(setIsDevReadingChanged(''));\r\n }\r\n const onDateTimeChanged = useCallback((data,e) => {\r\n onCheckDateTimeChanged(data,e);\r\n }, [datafieldlist]);\r\n\r\n const onCheckDateTimeChanged = useCallback((data,e) => {\r\n if (data.dataFieldName === \"Dev Reading Date\") {\r\n dispatch(setIsDevReadingChanged('D'));\r\n } \r\n }, []);\r\n\r\n const onSelectionChange = useCallback((data, id) => {\r\n if (data?.dataFieldRelation !== undefined) {\r\n onFieldRelationChange(data, id); \r\n }\r\n if (data?.dataFieldSet !== undefined) {\r\n onDataFieldSetChange(data, id); \r\n }\r\n }, []);\r\n\r\n const onFieldRelationChange = (data, id) => {\r\n let service: any = data?.dataFieldRelation?.subSetValueService;\r\n if (service !== undefined) {\r\n service = service.replace(\"{dataFieldLookupId}\", id);\r\n dispatch(getDatafieldValues(service, data?.dataFieldRelation?.childDataFieldId, body));\r\n setFocusElement(data?.uniqueDataFieldId);\r\n }\r\n }\r\n\r\n const onDataFieldSetChange = (data, id) => {\r\n let service: any = data?.dataFieldSet?.subSetValueService;\r\n if (service !== undefined) {\r\n service = service.replace(\"{dataFieldLookupId}\", id);\r\n dispatch(getAdditionalDatafieldSets(service, body));\r\n setFocusElement(data?.uniqueDataFieldId);\r\n }\r\n }\r\n \r\n const onTextBoxChange = useCallback((data,e) => {\r\n onCheckTextBoxChange(data,e);\r\n }, [datafieldlist]);\r\n\r\n const onCheckTextBoxChange = (data,e) => {\r\n if (data.dataFieldName === \"Dev Reading\") {\r\n const devReadingDate = datafieldlist?.filter((item) => item.dataFieldName === \"Dev Reading Date\");\r\n const devReadingDateindex = datafieldlist?.findIndex((item) => item.dataFieldName === \"Dev Reading Date\");\r\n if(devReadingDateindex > 0){\r\n if(e.currentTarget.value?.length>0){\r\n datafieldlist[devReadingDateindex].disabled = false;\r\n setValue(devReadingDate[0]?.uniqueDataFieldId, moment(new Date()).utcOffset(loggedInUserDetails?.userDefaults?.siteOffset).format(\"YYYY-MM-DD HH:mm:ss\"));\r\n }else{\r\n datafieldlist[devReadingDateindex].disabled = true;\r\n setValue(devReadingDate[0]?.uniqueDataFieldId,''); \r\n }\r\n }\r\n \r\n \r\n } \r\n }\r\n\r\n return (\r\n\r\n
\r\n {datafieldlist?.length > 0 &&\r\n datafieldlist?.map((item: any, key: any) => (\r\n \r\n ))\r\n }\r\n \r\n\r\n )\r\n})\r\n\r\nexport default memo(GeneralForm)","\r\nimport React, { memo, useRef, useState } from 'react'\r\n//components\r\nimport GeneralForm from 'components/common/Forms/GeneralForm/GeneralForm';\r\nimport AddModal from 'components/Table/AddModal/AddModal'\r\nimport { ProgressSpinner } from 'primereact/progressspinner';\r\n\r\n\r\ninterface AddEquipmentPropType {\r\n showModal: boolean;\r\n datafields?: any;\r\n onHideModal?: () => void;\r\n onFormSubmit?: (body, reset) => void;\r\n uniqueEquipmentClassId?: any;\r\n showProgressBar?: boolean;\r\n}\r\nconst AddEquipment: React.FC = (props) => {\r\n const { showModal, datafields, onHideModal = () => { }, onFormSubmit = () => { }, uniqueEquipmentClassId, showProgressBar } = props;\r\n const addform = useRef(null);\r\n const [fieldFocus, setFieldFocus] = useState(false);\r\n\r\n let body = {\r\n uniqueEquipmentClassId: uniqueEquipmentClassId\r\n }\r\n\r\n const formSubmitHandler = () => {\r\n addform?.current?.requestSubmit();\r\n }\r\n\r\n\r\n return (\r\n \r\n {showProgressBar &&\r\n
\r\n \r\n
\r\n }\r\n \r\n \r\n )\r\n}\r\n\r\nexport default memo(AddEquipment)","import React, { forwardRef, memo, useCallback, useEffect, useImperativeHandle, useLayoutEffect, useRef, useState } from 'react'\r\nimport { useForm } from 'react-hook-form';\r\n//components\r\nimport FormElement from '../Utility/FormElement';\r\n//redux\r\nimport { useAppSelector } from 'redux/hooks';\r\nimport { useDispatch } from 'react-redux';\r\nimport { getAdditionalDatafieldSets, getDatafieldValues, setAdditionalDatafieldSets, setAdditionalDatafieldValues } from 'redux/common/commonSlice';\r\nimport { setIsDevReadingChanged, setIsTestedDateChanged } from 'redux/pages/Inspection/InspectionTask/InspectionDetails/Equipment/EquipmentSlice';\r\nimport moment from 'moment';\r\n\r\ninterface EquipmentFormPropType {\r\n datafields?: any;\r\n ddAppendTo?: 'self' | undefined;\r\n isEditForm?: boolean;\r\n onFormSubmit?: (body, reset, setValue) => void;\r\n body?: any;\r\n}\r\nconst EquipmentForm = forwardRef((props, ref) => {\r\n\r\n const { datafields, isEditForm, onFormSubmit = () => { }, body, ddAppendTo = undefined } = props;\r\n const { control, formState: { errors }, handleSubmit, watch, setValue, unregister, reset } = useForm({mode:'all'});\r\n const addForm = useRef(null);\r\n const [datafieldlist, setDatafieldList] = useState([]);\r\n const [focusElement, setFocusElement] = useState(null);\r\n\r\n const dispatch = useDispatch();\r\n const additionalFieldValues = useAppSelector((state) => state.common.additionalDatafieldValues);\r\n const additionalDatafieldSets = useAppSelector((state) => state.common.additionalDatafieldSets);\r\n const loggedInUserDetails = useAppSelector((state) => state.administration.loggedInUserDetails);\r\n\r\n useImperativeHandle(ref, () => ({\r\n requestSubmit: () => {\r\n addForm?.current?.requestSubmit();\r\n },\r\n }));\r\n\r\n useEffect(() => {\r\n let fieldsConv = JSON.parse(JSON.stringify(datafields))\r\n if (fieldsConv?.length) {\r\n fieldsConv.forEach(element => { \r\n const devReadingDateIndex = fieldsConv?.findIndex((item) => item.dataFieldName === \"Dev Reading Date\");\r\n if (devReadingDateIndex > 0) {\r\n if (element?.dataFieldName === \"Dev Reading\") {\r\n if (element?.fieldValue === '') {\r\n fieldsConv[devReadingDateIndex].disabled = true;\r\n }\r\n else {\r\n fieldsConv[devReadingDateIndex].disabled = false;\r\n }\r\n }\r\n }\r\n \r\n if (element?.dataEntryControl?.dataEntryControlName === \"Drop-down list\") {\r\n const testDateIndex = fieldsConv?.findIndex((item) => item.dataFieldName === \"Test Date\");\r\n if (element?.dataFieldName=== \"Test Result\") {\r\n const slectedItem = element.validatedValues?.filter((item) => item?.isSelected);\r\n if (slectedItem[0]?.dataFieldLookupValue === \"Not Tested\"){ \r\n fieldsConv[testDateIndex].disabled = true;\r\n }\r\n else{\r\n fieldsConv[testDateIndex].disabled = false;\r\n }\r\n }\r\n if (element?.dataFieldName=== \"Test Method\") {\r\n const slectedItem = element.validatedValues?.filter((item) => item?.isSelected);\r\n if (slectedItem[0]?.dataFieldLookupValue === \"None\"){ \r\n fieldsConv[testDateIndex].disabled = true;\r\n }\r\n else{\r\n fieldsConv[testDateIndex].disabled = false;\r\n }\r\n }\r\n if (element.defaultSelectNeeded)\r\n element.validatedValues.unshift({ dataFieldLookupId: -1, dataFieldLookupValue: \"--Select--\", isSelected: false });\r\n const slectedItem = element.validatedValues?.filter((item) => item?.isSelected);\r\n if (slectedItem?.length) {\r\n setValue(element.uniqueDataFieldId, slectedItem[0].dataFieldLookupId);\r\n } else {\r\n setValue(element.uniqueDataFieldId, -1)\r\n }\r\n } else if (element?.dataEntryControl?.dataEntryControlName === \"Check Box(s)\") {\r\n if (element.fieldValue) {\r\n setValue(element.uniqueDataFieldId, element.fieldValue)\r\n } else {\r\n let list: any = [];\r\n for (let j = 0; j < element?.validatedValues?.length; j++) {\r\n let sm = element.validatedValues[j].dataFieldLookupId;\r\n let item = {\r\n [sm]: false,\r\n };\r\n list.push(item);\r\n }\r\n setValue(element?.uniqueDataFieldId, list);\r\n }\r\n } else\r\n setValue(element.uniqueDataFieldId, element.fieldValue);\r\n });\r\n const ascDatafields = [...fieldsConv].sort((a, b) => a.positionNo - b.positionNo);\r\n setDatafieldList([...ascDatafields]);\r\n }\r\n }, [datafields]);\r\n\r\n useEffect(() => {\r\n if (additionalFieldValues) {\r\n let lists = JSON.parse(JSON.stringify(datafieldlist))\r\n let fieldValues = JSON.parse(JSON.stringify(additionalFieldValues));\r\n const findIndex = lists?.findIndex((item) => item.uniqueDataFieldId === fieldValues[1]);\r\n if (findIndex >= 0) {\r\n if (lists[findIndex]?.defaultSelectNeeded) {\r\n fieldValues[0].unshift({ dataFieldLookupId: -1, dataFieldLookupValue: \"--Select--\", isSelected: false });\r\n }\r\n lists[findIndex].validatedValues = fieldValues[0];\r\n }\r\n const filterData: any = fieldValues[0].filter(\r\n (item: any) =>\r\n item.isSelected === true\r\n );\r\n if (findIndex >= 0 && filterData.length > 0) {\r\n lists[findIndex].fieldValue = filterData[0].dataFieldLookupId.toString();\r\n setValue(datafields[findIndex].uniqueDataFieldId, parseInt(filterData[0].dataFieldLookupId))\r\n }\r\n else {\r\n setValue(datafields[findIndex].uniqueDataFieldId, -1)\r\n }\r\n\r\n setDatafieldList([...lists]);\r\n dispatch(setAdditionalDatafieldValues(\"\"));\r\n }\r\n }, [additionalFieldValues]);\r\n\r\n useEffect(() => {\r\n if (additionalDatafieldSets?.length) {\r\n let lists = JSON.parse(JSON.stringify(datafieldlist))\r\n let count = 0;\r\n for (let i = 0; i < datafieldlist?.length; i++) {\r\n if (datafieldlist[i].parentUniqueDataFieldId) {\r\n unregister(datafieldlist[i]?.uniqueDataFieldId);\r\n lists.splice(i - count, 1);\r\n count++;\r\n }\r\n }\r\n let fieldCount = 0;\r\n let filteredArray = JSON.parse(JSON.stringify(additionalDatafieldSets));\r\n for (let i = 0; i < lists?.length; i++) {\r\n for (let j = 0; j < filteredArray?.length; j++) {\r\n if (lists[i].uniqueDataFieldId === filteredArray[j].uniqueDataFieldId && filteredArray[j].hasToBeDeleted === 0) {\r\n filteredArray.splice(j, 1);\r\n fieldCount++;\r\n }\r\n }\r\n }\r\n\r\n for (let i = 0; i < filteredArray?.length; i++) {\r\n if (filteredArray[i]?.hasToBeDeleted === 0)\r\n lists.push(filteredArray[i]);\r\n else {\r\n const removeIndex = lists.findIndex((item) => item.uniqueDataFieldId === filteredArray[i].uniqueDataFieldId);\r\n if (removeIndex >= 0) {\r\n unregister(lists[removeIndex]?.uniqueDataFieldId);\r\n lists.splice(removeIndex, 1);\r\n }\r\n }\r\n }\r\n const ascDatafields = [...lists].sort((a, b) => a.positionNo - b.positionNo);\r\n setDatafieldList([...ascDatafields]);\r\n dispatch(setAdditionalDatafieldSets(\"\"));\r\n }\r\n\r\n }, [additionalDatafieldSets])\r\n\r\n useLayoutEffect(() => {\r\n if (datafieldlist?.length) {\r\n if (focusElement) {\r\n const element = document.getElementsByName(focusElement);\r\n element?.[0]?.focus();\r\n setFocusElement(null);\r\n }\r\n }\r\n }, [datafieldlist])\r\n\r\n const onSubmit = (data) => {\r\n let fields: any = [];\r\n for (const field of datafieldlist) {\r\n const { uniqueDataFieldId } = field;\r\n if (data.hasOwnProperty(uniqueDataFieldId)) {\r\n let item: any = {\r\n dataFieldId: uniqueDataFieldId,\r\n value: null,\r\n multipleValue: null,\r\n };\r\n \r\n if (Array.isArray(data[uniqueDataFieldId])) {\r\n let multipleValue: any = [];\r\n for (let i = 0; i < data[uniqueDataFieldId].length; i++) {\r\n for (const obj in data[uniqueDataFieldId][i]) {\r\n if (data[uniqueDataFieldId][i][obj]) {\r\n multipleValue.push(obj);\r\n }\r\n }\r\n }\r\n item.multipleValue = multipleValue;\r\n } else {\r\n if (field.dataEntryControl.dataEntryControlName === \"Drop-down list\" && data[uniqueDataFieldId] === -1) {\r\n data[uniqueDataFieldId] = \"\";\r\n }\r\n if ((field.dataType.dataTypeId === 7) && (field.dataFieldName === \"Test Date\" || field.dataFieldName === \"Dev Reading Date\") && data[uniqueDataFieldId]?.length > 0) {\r\n let newDate = new Date(data[uniqueDataFieldId]);\r\n const siteTimeOffset = loggedInUserDetails?.userDefaults?.siteOffset;\r\n data[uniqueDataFieldId] = moment(new Date(newDate.getTime() - (siteTimeOffset * 60000))).format(\"YYYY-MM-DD HH:mm:ss\");\r\n }\r\n item.value = data[uniqueDataFieldId]?.toString();\r\n }\r\n fields.push(item);\r\n }\r\n }\r\n onFormSubmit(fields, reset, setValue);\r\n dispatch(setIsDevReadingChanged(''));\r\n dispatch(setIsTestedDateChanged(''));\r\n }\r\n \r\n const onSelectionChange = useCallback((data, id) => {\r\n if (data?.dataFieldRelation !== undefined) {\r\n onFieldRelationChange(data, id);\r\n }\r\n if (data?.dataFieldSet !== undefined) {\r\n onDataFieldSetChange(data, id);\r\n }\r\n onCheckDropDownChanges(data, id);\r\n\r\n }, [datafieldlist]);\r\n\r\n const onTextBoxChange = useCallback((data,e) => {\r\n onCheckTextBoxChange(data,e);\r\n }, [datafieldlist]);\r\n\r\n const onCheckTextBoxChange = (data,e) => {\r\n if (data.dataFieldName === \"Dev Reading\") {\r\n const devReadingDate = datafieldlist?.filter((item) => item.dataFieldName === \"Dev Reading Date\");\r\n const devReadingDateindex = datafieldlist?.findIndex((item) => item.dataFieldName === \"Dev Reading Date\");\r\n if (devReadingDateindex > 0){\r\n if(e.currentTarget.value?.length>0){\r\n datafieldlist[devReadingDateindex].disabled = false;\r\n setValue(devReadingDate[0]?.uniqueDataFieldId, moment(new Date()).utcOffset((loggedInUserDetails?.userDefaults?.siteOffset)).format(\"YYYY-MM-DD HH:mm:ss\"));\r\n }else{\r\n datafieldlist[devReadingDateindex].disabled = true;\r\n setValue(devReadingDate[0]?.uniqueDataFieldId,''); \r\n } \r\n }\r\n } \r\n }\r\n const onDateTimeChanged = useCallback((data,e) => {\r\n onCheckDateTimeChanged(data,e);\r\n }, [datafieldlist]);\r\n\r\n const onCheckDateTimeChanged = useCallback((data,e) => {\r\n if (data.dataFieldName === \"Dev Reading Date\") {\r\n dispatch(setIsDevReadingChanged('D'));\r\n } \r\n if(data.dataFieldName === \"Test Date\"){\r\n dispatch(setIsTestedDateChanged('T'));\r\n }\r\n }, []);\r\n\r\n const onCheckDropDownChanges = (data, id) => {\r\n let isChecked = false;\r\n const testResIndex = datafieldlist?.findIndex((item) => item.dataFieldName === \"Test Result\");\r\n const testDateIndex = datafieldlist?.findIndex((item) => item.dataFieldName === \"Test Date\");\r\n if (data.dataFieldName === \"Test Method\") {\r\n if (id) {\r\n if (testResIndex >= 0) {\r\n const testDate = datafieldlist?.filter((item) => item.dataFieldName === \"Test Date\");\r\n const items = data?.validatedValues?.filter((item) => item.dataFieldLookupId === id);\r\n if (items[0]?.dataFieldLookupValue !== \"None\") {\r\n setValue(testDate[0]?.uniqueDataFieldId, moment(new Date()).utcOffset((loggedInUserDetails?.userDefaults?.siteOffset)).format(\"YYYY-MM-DD HH:mm:ss\"));\r\n datafieldlist[testDateIndex].disabled = false;\r\n }\r\n else {\r\n setValue(testDate[0]?.uniqueDataFieldId,'');\r\n datafieldlist[testDateIndex].disabled = true;\r\n }\r\n datafieldlist[testResIndex].disabled = false;\r\n const none = datafieldlist[testResIndex]?.validatedValues?.filter((item) => item?.dataFieldLookupId !== 3);\r\n datafieldlist[testResIndex].validatedValues = none;\r\n const passed = datafieldlist[testResIndex]?.validatedValues?.filter((item) => item?.dataFieldLookupValue === \"Passed\");\r\n if (passed?.length) setValue(datafieldlist[testResIndex]?.uniqueDataFieldId, passed[0].dataFieldLookupId);\r\n }\r\n if (testDateIndex >= 0) {\r\n setValue(datafieldlist[testDateIndex]?.uniqueDataFieldId, moment(new Date()).utcOffset((loggedInUserDetails?.userDefaults?.siteOffset)).format(\"YYYY-MM-DD HH:mm:ss\"));\r\n }\r\n } else {\r\n if (testResIndex >= 0) {\r\n const testDate = datafieldlist?.filter((item) => item.dataFieldName === \"Test Date\");\r\n const items = data?.validatedValues?.filter((item) => item.dataFieldLookupId === id);\r\n if (items[0]?.dataFieldLookupValue !== \"None\") {\r\n setValue(testDate[0]?.uniqueDataFieldId, moment(new Date()).utcOffset((loggedInUserDetails?.userDefaults?.siteOffset)).format(\"YYYY-MM-DD HH:mm:ss\"));\r\n datafieldlist[testDateIndex].disabled = false;\r\n }\r\n else {\r\n setValue(testDate[0]?.uniqueDataFieldId,'');\r\n datafieldlist[testDateIndex].disabled = true;\r\n }\r\n datafieldlist[testResIndex].validatedValues.push({\r\n dataFieldLookupId: 3,\r\n dataFieldLookupValue: \"Not Tested\",\r\n isSelected: true\r\n })\r\n setValue(datafieldlist[testResIndex]?.uniqueDataFieldId, 3);\r\n datafieldlist[testResIndex].disabled = true;\r\n }\r\n if (testDateIndex >= 0) {\r\n setValue(datafieldlist[testDateIndex]?.uniqueDataFieldId, \"\");\r\n }\r\n }\r\n isChecked = true;\r\n } else if (data.dataFieldName === \"Test Result\") {\r\n if (id) {\r\n const testDate = datafieldlist?.filter((item) => item.dataFieldName === \"Test Date\");\r\n const items = data?.validatedValues?.filter((item) => item.dataFieldLookupId === id);\r\n if (items[0]?.dataFieldLookupValue !== \"Not Tested\") {\r\n setValue(testDate[0]?.uniqueDataFieldId, moment(new Date()).utcOffset((loggedInUserDetails?.userDefaults?.siteOffset)).format(\"YYYY-MM-DD HH:mm:ss\"));\r\n datafieldlist[testDateIndex].disabled = false;\r\n }\r\n else {\r\n setValue(testDate[0]?.uniqueDataFieldId,'');\r\n datafieldlist[testDateIndex].disabled = true;\r\n } \r\n }\r\n isChecked = true; \r\n }\r\n if (isChecked) {\r\n setFocusElement(data?.uniqueDataFieldId);\r\n setDatafieldList([...datafieldlist]);\r\n }\r\n\r\n }\r\n\r\n const onFieldRelationChange = (data, id) => {\r\n let service: any = data?.dataFieldRelation?.subSetValueService;\r\n if (service !== undefined) {\r\n service = service.replace(\"{dataFieldLookupId}\", id);\r\n dispatch(getDatafieldValues(service, data?.dataFieldRelation?.childDataFieldId, body));\r\n setFocusElement(data?.uniqueDataFieldId);\r\n }\r\n }\r\n\r\n const onDataFieldSetChange = (data, id) => {\r\n let service: any = data?.dataFieldSet?.subSetValueService;\r\n if (service !== undefined) {\r\n service = service.replace(\"{dataFieldLookupId}\", id);\r\n dispatch(getAdditionalDatafieldSets(service, body));\r\n setFocusElement(data?.uniqueDataFieldId);\r\n }\r\n }\r\n\r\n return (\r\n <>\r\n
\r\n {datafieldlist?.length > 0 &&\r\n datafieldlist?.map((item: any, key: any) => (\r\n \r\n \r\n ))\r\n }\r\n \r\n \r\n )\r\n})\r\n\r\nexport default memo(EquipmentForm)","import React, { memo, useRef } from 'react'\r\n//components\r\nimport EquipmentForm from 'components/common/Forms/GeneralForm/EquipmentForm';\r\nimport { Dialog } from \"primereact/dialog\";\r\nimport { Button } from \"primereact/button\";\r\nimport { useDispatch } from 'react-redux';\r\nimport { ProgressSpinner } from 'primereact/progressspinner';\r\nimport { setIsDevReadingChanged, setIsTestedDateChanged } from 'redux/pages/Inspection/InspectionTask/InspectionDetails/Equipment/EquipmentSlice';\r\n\r\ninterface EditEquipmentPropType {\r\n showModal: boolean;\r\n datafields?: any;\r\n gridData?: any;\r\n selectedRow?: any;\r\n setShowModal?: (state: boolean) => void;\r\n onHideModal?: () => void;\r\n onFormSubmit?: (body) => void;\r\n onClickNext?: () => void;\r\n onClickPrev?: () => void;\r\n uniqueEquipmentClassId?: any;\r\n isFromDrawing?: boolean;\r\n showProgressBar?: boolean;\r\n}\r\n\r\nconst EditEquipment: React.FC = (props) => {\r\n\r\n const { showModal, datafields, gridData, selectedRow, onHideModal = () => { }, setShowModal = () => { }, onFormSubmit = () => { }, onClickNext = () => { }, onClickPrev = () => { }, uniqueEquipmentClassId, showProgressBar, isFromDrawing = false } = props;\r\n const editForm = useRef(null);\r\n const dispatch = useDispatch();\r\n let body = {\r\n uniqueEquipmentClassId: uniqueEquipmentClassId\r\n }\r\n\r\n const formSubmitHandler = () => {\r\n editForm?.current?.requestSubmit();\r\n }\r\n\r\n const getDisabled = (type) => {\r\n const currentIndex = gridData?.findIndex((item) => item?.EquipmentId === selectedRow?.[0]?.EquipmentId);\r\n\r\n if (type === \"PREV\") {\r\n if (currentIndex > 0) return false\r\n else return true\r\n } else {\r\n if (currentIndex < (gridData?.length - 1)) return false\r\n else return true\r\n }\r\n }\r\n const onCancelClick =() =>{\r\n onHideModal();\r\n dispatch(setIsDevReadingChanged(''));\r\n dispatch(setIsTestedDateChanged(''));\r\n }\r\n\r\n const renderFooter = () => {\r\n return (\r\n <>\r\n \r\n ) : (\r\n addUserForm?.current?.requestSubmit()}>\r\n \r\n \r\n )\r\n }\r\n \r\n \r\n
\r\n \r\n \r\n \r\n
\r\n \r\n\r\n \r\n \r\n \r\n
\r\n
\r\n setCheckedItem((prev) => ({ ...prev, showUntestedEquipments: e.checked }))}\r\n />\r\n \r\n
\r\n
\r\n setCheckedItem((prev) => ({ ...prev, showWithAttachmentsOnly: e.checked }))}\r\n />\r\n \r\n
\r\n
\r\n setCheckedItem((prev) => ({ ...prev, isFromXMLImported: e.checked }))}\r\n />\r\n \r\n
\r\n
\r\n setCheckedItem((prev) => ({ ...prev, isFromManuallyAdded: e.checked }))}\r\n />\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default memo(AdvancedSearch);\r\n","import React, { useEffect, useRef, useState } from 'react';\r\n//components\r\nimport AddModal from 'components/Table/AddModal/AddModal';\r\nimport GeneralForm from 'components/common/Forms/GeneralForm/GeneralForm';\r\n//redux\r\nimport { useDispatch } from 'react-redux';\r\nimport { onGetEquipmentGroupDatafields, onNewEquipmentGroupAdd } from 'redux/pages/Inspection/InspectionTask/InspectionDetails/Equipment/EquipmentSlice';\r\nimport { useAppSelector } from 'redux/hooks';\r\n\r\ninterface Props {\r\n showModal: boolean,\r\n setShowModal: (state: boolean) => void;\r\n selectedTask?: any;\r\n}\r\nexport const AddEquipmentList: React.FC = (props) => {\r\n\r\n const { showModal, setShowModal = () => { }, selectedTask } = props;\r\n const dispatch = useDispatch();\r\n const datafields = useAppSelector((state) => state.equipment.equipmentGroupDatafields);\r\n const addform = useRef(null);\r\n const [loader, setLoader] = useState(false);\r\n\r\n useEffect(() => {\r\n if (selectedTask && selectedTask.uniqueInspectionTaskId) {\r\n dispatch(onGetEquipmentGroupDatafields(0, selectedTask.uniqueInspectionTaskId));\r\n }\r\n }, []);\r\n\r\n const onFormSubmit = (data) => {\r\n if (selectedTask && selectedTask.uniqueInspectionTaskId) {\r\n setLoader(true);\r\n const body = {\r\n uniqueSystemId: selectedTask?.system?.uniqueSystemId,\r\n fieldDetails: data\r\n }\r\n dispatch(onNewEquipmentGroupAdd(body, selectedTask.uniqueInspectionTaskId, setLoader)); \r\n }\r\n }\r\n\r\n const formSubmitHandler = () => {\r\n addform?.current?.requestSubmit();\r\n };\r\n\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n );\r\n}\r\n\r\nexport default AddEquipmentList;","import React, { useEffect, useRef } from 'react';\r\n//components\r\nimport AddModal from 'components/Table/AddModal/AddModal';\r\nimport GeneralForm from 'components/common/Forms/GeneralForm/GeneralForm';\r\n//redux\r\nimport { useDispatch } from 'react-redux';\r\nimport { useAppSelector } from 'redux/hooks';\r\nimport { onEquipmentGroupUpdate, onGetEquipmentGroupDatafields } from 'redux/pages/Inspection/InspectionTask/InspectionDetails/Equipment/EquipmentSlice';\r\n\r\ninterface Props {\r\n showModal: boolean,\r\n setShowModal: (state: boolean) => void;\r\n selectedTask?: any;\r\n selectedPanel?: any;\r\n}\r\nexport const EditEquipmentList: React.FC = (props) => {\r\n const { showModal, setShowModal = () => { }, selectedTask, selectedPanel } = props;\r\n\r\n const dispatch = useDispatch();\r\n const datafields = useAppSelector((state) => state.equipment.equipmentGroupDatafields);\r\n const addform = useRef(null);\r\n\r\n useEffect(() => {\r\n dispatch(onGetEquipmentGroupDatafields(selectedPanel, selectedTask?.uniqueInspectionTaskId));\r\n }, [])\r\n\r\n const onFormSubmit = (data) => {\r\n const body = {\r\n uniqueSystemId: selectedTask?.system?.uniqueSystemId,\r\n fieldDetails: data\r\n }\r\n dispatch(onEquipmentGroupUpdate(body, selectedTask?.uniqueInspectionTaskId, selectedPanel))\r\n }\r\n\r\n const formSubmitHandler = (data: any) => {\r\n addform.current.requestSubmit();\r\n };\r\n\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n );\r\n}\r\n\r\nexport default EditEquipmentList;","import { textEditor } from \"pages/InspectionTasks/InspectionTasksData\";\r\n\r\n\r\nexport function getGridColumnDataWithStyle(generalProperties: any) {\r\n const columnInfo: any = [];\r\n if (generalProperties != null) {\r\n for (var i = 0; i < generalProperties?.length; i++) {\r\n if (generalProperties[i]?.propertyType !== \"INTERNAL\") { \r\n let flexValue = '1 0 150px';\r\n switch (generalProperties[i]?.name) {\r\n case 'Sl No':\r\n flexValue = '1 0 50px';\r\n break;\r\n case 'Date Time':\r\n flexValue = '1 0 140px';\r\n break;\r\n case 'Activity':\r\n flexValue = '1 0 450px';\r\n break;\r\n case 'User':\r\n flexValue = '1 0 130px';\r\n break;\r\n case 'Module':\r\n flexValue = '1 0 120px';\r\n break;\r\n default:\r\n flexValue = '1 0 200px'; \r\n break;\r\n }\r\n let data = {\r\n field: generalProperties[i]?.name,\r\n header: generalProperties[i]?.alias,\r\n style: { flex: flexValue },\r\n sortable: true,\r\n }\r\n columnInfo.push(data);\r\n }\r\n }\r\n }\r\n return columnInfo;\r\n}\r\n\r\n\r\nexport const getImportEquipmentColumns = (data: any, isFetched: boolean) => {\r\n const columnInfo: any = [];\r\n if (data) {\r\n for (const obj in data) {\r\n if (obj !== \"RowNumber\" && obj !== \"ValidationStatusId\") {\r\n let item: any = {\r\n field: obj,\r\n header: obj,\r\n style: { flex: '1 0 200px' },\r\n sortable: true,\r\n }\r\n if (obj !== \"Tech Advance + Comments\") {\r\n item.editor = (options) => textEditor(options);\r\n }\r\n columnInfo.push(item);\r\n }\r\n }\r\n }\r\n return columnInfo;\r\n}\r\n\r\nexport const getFirstDataFieldItem = (values, elements) => {\r\n values?.forEach(element => {\r\n if (element?.inspectionGroupFields?.length) {\r\n elements.push(element);\r\n } else {\r\n getFirstDataFieldItem(element?.children, elements);\r\n }\r\n });\r\n return elements[0];\r\n}","import React, { useState, useEffect, memo } from \"react\";\r\nimport { Button } from \"primereact/button\";\r\nimport { Dialog } from \"primereact/dialog\";\r\nimport { ProgressSpinner } from \"primereact/progressspinner\";\r\nimport { OverlayPanel } from \"primereact/overlaypanel\";\r\nimport { Overlay, Tooltip } from \"react-bootstrap\";\r\n//components\r\nimport DataTableComponent from \"components/Table/DataTable\";\r\nimport InformationBox from \"components/common/Message/InformationBox/InformationBox\";\r\n//icons\r\nimport { AiOutlineCloseCircle } from \"react-icons/ai\";\r\nimport { FaDownload, FaUpload } from \"react-icons/fa\";\r\nimport { HiOutlineBadgeCheck } from \"react-icons/hi\";\r\n//utility\r\nimport { getImportEquipmentColumns } from \"../utility\";\r\n//redux\r\nimport { useAppSelector } from \"redux/hooks\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport {\r\n\tonExportEquipmentData,\r\n\tonImportEquipmentData,\r\n\tonVerifiedFetchedData,\r\n\tsetFetchedEquipmentData,\r\n\tsetImportedEquipmentData,\r\n\tsetVerifiedFetchedData,\r\n} from \"redux/pages/Inspection/InspectionTask/InspectionDetails/Equipment/EquipmentSlice\";\r\n\r\ninterface Props {\r\n\tshowModal: boolean;\r\n\tsetShowModal: (state: boolean, isImportDone: boolean) => void;\r\n\texcelDetails?: any;\r\n\tbodyInfo?: any;\r\n\tselectedEquipmentType?: any;\r\n\tselectedEquipmentGroup?: any;\r\n\tselectedTask?: any;\r\n}\r\n\r\n\r\nexport const EquipmentListDataImport: React.FC = ({\r\n\tshowModal = false,\r\n\texcelDetails,\r\n\tbodyInfo,\r\n\tselectedEquipmentType,\r\n\tselectedEquipmentGroup,\r\n\tselectedTask,\r\n\tsetShowModal = () => { },\r\n}) => {\r\n\tconst [gridData, setGridData] = useState([]);\r\n\tconst [columns, setColumns] = useState([]);\r\n\tconst [pageDetails, setPageDetails] = useState();\r\n\tconst [pageIndex, setPageIndex] = useState(0);\r\n\tconst [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n\tconst [message, setMessage] = useState(\"\");\r\n\tconst [importProgress, setImportProgress] = useState({ isValidationDone: false, isImportDone: false });\r\n\t//tooltip\r\n\tconst [target, setTarget] = useState(null);\r\n\tconst [rowNumber, setRowNumber] = useState(\"\");\r\n\tconst [showProgress, setShowProgress] = useState(false);\r\n\tconst [progressMessage, setProgressMessage] = useState(\"\");\r\n\tconst settingRef = React.createRef();\r\n\r\n\tconst dispatch = useDispatch();\r\n\tconst fetchedEquipmentData = useAppSelector((state) => state.equipment.fetchedEquipmentData);\r\n\tconst verifiedFetchedData = useAppSelector((state) => state.equipment.verifiedFetchedData);\r\n\tconst importedEquipmentData = useAppSelector((state) => state.equipment.importedEquipmentData);\r\n\r\n\tuseEffect(() => {\r\n\t\t// setProgressMessage(\"Fetching Data..\");\r\n\t\t// setShowProgress(true);\r\n\t}, [])\r\n\r\n\tuseEffect(() => {\r\n\t\tif (fetchedEquipmentData?.status === \"done\") {\r\n\t\t\tconst conv = JSON.parse(JSON.stringify(fetchedEquipmentData?.data));\r\n\t\t\tconst column = getImportEquipmentColumns(conv?.data[0], false);\r\n\t\t\tsetColumns([...column]);\r\n\t\t\tsetGridData([...conv?.data]);\r\n\t\t\tsetPageDetails(conv?.pageDetails);\r\n\t\t\tdispatch(setFetchedEquipmentData(\"\"));\r\n\t\t\tsetProgressMessage(\"\");\r\n\t\t\tsetShowProgress(false);\r\n\t\t}\r\n\t}, [fetchedEquipmentData]);\r\n\r\n\tuseEffect(() => {\r\n\t\tif (verifiedFetchedData) {\r\n\t\t\tconst column = getImportEquipmentColumns(verifiedFetchedData?.data[0], true);\r\n\t\t\tsetColumns([...column]);\r\n\t\t\tsetGridData([...verifiedFetchedData?.data]);\r\n\t\t\tsetPageDetails(verifiedFetchedData?.pageDetails);\r\n\t\t\tsetMessage(\"Validation completed\");\r\n\t\t\tsetDisplayInfoModal(true);\r\n\t\t\tdispatch(setVerifiedFetchedData(\"\"));\r\n\t\t\tsetImportProgress((flag) => ({ ...flag, isValidationDone: true }));\r\n\t\t\tsetProgressMessage(\"\");\r\n\t\t\tsetShowProgress(false);\r\n\t\t}\r\n\t}, [verifiedFetchedData]);\r\n\r\n\tuseEffect(() => {\r\n\t\tif (importedEquipmentData) {\r\n\t\t\tconst column = getImportEquipmentColumns(importedEquipmentData?.data[0], true);\r\n\t\t\tsetColumns([...column]);\r\n\t\t\tsetGridData([...importedEquipmentData?.data]);\r\n\t\t\tsetPageDetails(importedEquipmentData?.pageDetails);\r\n\t\t\tsetMessage(importedEquipmentData?.status);\r\n\t\t\tsetDisplayInfoModal(true);\r\n\t\t\tdispatch(setImportedEquipmentData(\"\"));\r\n\t\t\tsetImportProgress((flag) => ({ ...flag, isImportDone: true }));\r\n\t\t\tsetShowProgress(false);\r\n\t\t\tsetProgressMessage(\"\");\r\n\t\t}\r\n\t}, [importedEquipmentData]);\r\n\r\n\tconst onPageChanged = (options: any) => {\r\n\t\tif (options !== pageIndex) {\r\n\t\t\tsetPageIndex(options);\r\n\t\t}\r\n\t};\r\n\r\n\tconst onDataVerify = () => {\r\n\t\tconst finalData = gridData?.map(({ RowNumber, ValidationStatusId, ...rest }: any) => {\r\n\t\t\treturn rest;\r\n\t\t});\r\n\r\n\t\tconst body = {\r\n\t\t\tuniqueInspectionTaskId: selectedTask?.uniqueInspectionTaskId,\r\n\t\t\tuniqueSystemId: selectedTask?.system?.uniqueSystemId,\r\n\t\t\tEquipmentId: 0,\r\n\t\t\tPanelId: selectedEquipmentGroup,\r\n\t\t\tWorksheetId: excelDetails?.sheetName,\r\n\t\t\tcolumnDetails: bodyInfo.columnDetails,\r\n\t\t\trowDetails: finalData,\r\n\t\t};\r\n\t\tdispatch(onVerifiedFetchedData(excelDetails.classId, excelDetails.uploadedId, excelDetails.sheetIndex, body));\r\n\t\tsetProgressMessage(\"Validating\");\r\n\t\tsetShowProgress(true);\r\n\t};\r\n\r\n\tconst onDataImport = () => {\r\n\t\tconst finalData = gridData?.map(({ RowNumber, ValidationStatusId, ...rest }: any) => {\r\n\t\t\treturn rest;\r\n\t\t});\r\n\r\n\t\tconst body = {\r\n\t\t\tuniqueInspectionTaskId: selectedTask?.uniqueInspectionTaskId,\r\n\t\t\tuniqueSystemId: selectedTask?.system?.uniqueSystemId,\r\n\t\t\tEquipmentId: 0,\r\n\t\t\tPanelId: selectedEquipmentGroup,\r\n\t\t\tcolumnDetails: bodyInfo.columnDetails,\r\n\t\t\trowDetails: finalData,\r\n\t\t\tworkSheetId: excelDetails?.sheetName,\r\n\t\t};\r\n\t\tdispatch(onImportEquipmentData(excelDetails.classId, excelDetails.uploadedId, excelDetails.sheetIndex, body));\r\n\t\tsetShowProgress(true);\r\n\t\tsetProgressMessage(\"Import in Progress\")\r\n\t};\r\n\r\n\tconst onDataExport = () => {\r\n\t\tif (!importProgress?.isImportDone && !importProgress?.isValidationDone) {\r\n\t\t\tsetMessage(\"No error data to export\");\r\n\t\t\tsetDisplayInfoModal(true);\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tconst finalData = gridData?.map(({ RowNumber, ...rest }: any) => {\r\n\t\t\treturn rest;\r\n\t\t});\r\n\t\tlet rowDetails = [];\r\n\t\tif (!importProgress?.isImportDone && importProgress?.isValidationDone) {\r\n\t\t\trowDetails = finalData?.filter((item) => item?.[\"Tech Advance + Comments\"] !== \"Passed\");\r\n\t\t} else if (importProgress?.isImportDone && !importProgress?.isValidationDone) {\r\n\t\t\trowDetails = finalData?.filter((item) => item?.[\"Tech Advance + Comments\"] !== \"Data saved\");\r\n\t\t} else if (importProgress?.isImportDone && importProgress?.isValidationDone) {\r\n\t\t\trowDetails = finalData;\r\n\t\t}\r\n\r\n\t\tconst body = {\r\n\t\t\tuniqueInspectionTaskId: selectedTask?.uniqueInspectionTaskId,\r\n\t\t\tuniqueSystemId: selectedTask?.system?.uniqueSystemId,\r\n\t\t\tEquipmentId: 0,\r\n\t\t\tPanelId: selectedEquipmentGroup,\r\n\t\t\tcolumnDetails: bodyInfo.columnDetails,\r\n\t\t\trowDetails: rowDetails,\r\n\t\t\tworkSheetId: excelDetails?.sheetName,\r\n\t\t};\r\n\t\tdispatch(onExportEquipmentData(excelDetails.classId, excelDetails.uploadedId, excelDetails.sheetIndex, body));\r\n\t};\r\n\r\n\tconst onRowEditClick = (rowData) => {\r\n\t\treturn true;\r\n\t};\r\n\r\n\tconst onRowEditValidation = (rowData) => {\r\n\t\treturn true;\r\n\t};\r\n\r\n\tconst onImportEquipmentRowEdit = (rowData, index) => {\r\n\t\tgridData[index] = rowData;\r\n\t\tsetGridData([...gridData]);\r\n\t};\r\n\r\n\tconst onShowToolTip = (e, indexData, options) => {\r\n\t\tif (options?.field === \"Tech Advance + Comments\" && indexData?.[options?.field] != \"Passed\") {\r\n\t\t\tsetTarget(e.currentTarget);\r\n\t\t\tsetRowNumber(indexData?.RowNumber);\r\n\t\t}\r\n\t};\r\n\r\n\tconst onHideToolTip = () => {\r\n\t\tsetTarget(null);\r\n\t\tsetRowNumber(\"\");\r\n\t};\r\n\r\n\tconst bodyTemplate = (rowData, options) => {\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t{options?.field === \"Tech Advance + Comments\" ? (\r\n\t\t\t\t\t<>\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t
{rowData?.[options?.field]}
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t onShowToolTip(e, rowData, options)}\r\n\t\t\t\t\t\t\tonMouseLeave={() => onHideToolTip()}\r\n\t\t\t\t\t\t\tclassName={rowData?.[\"ValidationStatusId\"] === \"0\" ? \"warning\" : rowData?.[\"ValidationStatusId\"] === \"-1\" ? \"failed\" : \"\"}\r\n\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\t{\" \"}\r\n\t\t\t\t\t\t\t{rowData?.[\"Tech Advance + Comments\"]}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t) : (\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t{rowData?.[options?.field]}\r\n\t\t\t\t\t
\r\n\t\t\t\t)}\r\n\t\t\t
\r\n\t\t);\r\n\t};\r\n\r\n\treturn (\r\n\t\t<>\r\n\t\t\t setShowModal(false, importProgress.isImportDone)} className=\"equi-list-data-import\">\r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
Data Import
\r\n\t\t\t\t\t\t
\r\n\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t setShowModal(false, importProgress.isImportDone)}>\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t setShowModal(false, importProgress.isImportDone)}\r\n\t\t\t\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t{showProgress && (\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t
{progressMessage}
\r\n\t\t\t\t\t
\r\n\t\t\t\t)}\r\n\t\t\t\t{columns?.length > 0 && (\r\n\t\t\t\t\t {\r\n\t\t\t\t\t\t\t\t\tsetShowModal(false, importProgress.isImportDone);\r\n\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t]}\r\n\t\t\t\t\t/>\r\n\t\t\t\t)}\r\n\t\t\t
\r\n\t\t\t\r\n\t\t\r\n\t);\r\n};\r\n\r\nexport default memo(EquipmentListDataImport);\r\n","import React, { memo, useEffect, useRef, useState } from \"react\";\r\nimport { Controller, useForm } from \"react-hook-form\";\r\nimport { Button } from \"primereact/button\";\r\nimport { Dialog } from \"primereact/dialog\";\r\nimport { Dropdown } from \"primereact/dropdown\";\r\nimport { classNames } from \"primereact/utils\";\r\nimport { DataTable } from \"primereact/datatable\";\r\nimport { Column } from \"primereact/column\";\r\nimport { Checkbox } from \"primereact/checkbox\";\r\nimport { FilePond, registerPlugin } from \"react-filepond\";\r\nimport FileUploadValidate from \"filepond-plugin-file-validate-type\";\r\nimport \"filepond/dist/filepond.min.css\";\r\n//components\r\nimport InformationBox from \"components/common/Message/InformationBox/InformationBox\";\r\n//icons\r\nimport { BsExclamationCircleFill } from \"react-icons/bs\";\r\n//redux\r\nimport { useDispatch } from \"react-redux\";\r\nimport { baseURL } from \"service/HttpService\";\r\nimport { getEquipmentTypeList, onGetExcelMappingColumns, onGetFetchedData, onGetImportEquipmentDatafields, onGetWorksheets, setExcelMappingColumn, setUploadedExcels, setWorksheets } from \"redux/pages/Inspection/InspectionTask/InspectionDetails/Equipment/EquipmentSlice\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\n\r\n\r\ninterface ImportEquipmentPropType {\r\n\tshowImport: boolean;\r\n\tonHideModal?: () => void;\r\n\tonFetchedData?: (excelDetails, bodyInfo) => void;\r\n\tselectedEuipmentType?: any;\r\n\tselectedEquipmentGroup?: any;\r\n\tselectedTask?: any;\r\n}\r\nconst ImportEquipment: React.FC = (props) => {\r\n\tregisterPlugin(FileUploadValidate);\r\n\tconst { showImport, onHideModal = () => { }, selectedEuipmentType, selectedEquipmentGroup, selectedTask, onFetchedData = () => { } } = props;\r\n\tconst importForm = useRef(null);\r\n\tconst [excelDetails, setExcelDetails] = useState({ uploadedId: \"\", sheetIndex: \"\", classId: \"\", sheetName: \"\" });\r\n\tconst [equipmentDBColumns, setEquipmentDBColumns] = useState([]);\r\n\tconst [datafields, setDatafields] = useState([]);\r\n\tconst [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n\tconst [message, setMessage] = useState(\"\");\r\n\r\n\tconst dispatch = useDispatch();\r\n\tconst workSheets = useAppSelector((state) => state.equipment.worksheets);\r\n\tconst equipmentTypeList = useAppSelector((state) => state.equipment.equipmentSpecificLists);\r\n\tconst equipmentDatafields = useAppSelector((state) => state.equipment.importEquipmentDatafields);\r\n\tconst excelMappingColumns = useAppSelector((state) => state.equipment.excelMappingColumns);\r\n\r\n\tconst {\r\n\t\tcontrol,\r\n\t\tformState: { errors },\r\n\t\thandleSubmit,\r\n\t\treset,\r\n\t\tsetValue,\r\n\t} = useForm({\r\n\t\tdefaultValues: {\r\n\t\t\tworkSheet: \"\",\r\n\t\t\tequipementSpecific: \"\",\r\n\t\t},\r\n\t});\r\n\r\n\tconst formSubmitHandler = (data: any) => {\r\n\t\timportForm.current.requestSubmit();\r\n\t};\r\n\r\n\tuseEffect(() => {\r\n\t\tif (excelDetails?.uploadedId) {\r\n\t\t\tdispatch(onGetWorksheets(excelDetails?.uploadedId));\r\n\t\t}\r\n\t}, [excelDetails?.uploadedId]);\r\n\r\n\tuseEffect(() => {\r\n\t\tdispatch(getEquipmentTypeList(false));\r\n\t}, [])\r\n\r\n\tuseEffect(() => {\r\n\t\tif (equipmentTypeList) {\r\n\t\t\tlet type = \"\";\r\n\t\t\tif (selectedEuipmentType && selectedEuipmentType !== \"All\") type = selectedEuipmentType;\r\n\t\t\tsetValue(\"equipementSpecific\", type);\r\n\t\t\tsetExcelDetails((dt) => ({ ...dt, classId: type }));\r\n\t\t}\r\n\t}, [selectedEuipmentType, equipmentTypeList]);\r\n\r\n\tuseEffect(() => {\r\n\t\tif (excelDetails.classId && excelDetails.sheetIndex) {\r\n\t\t\tconst body = {\r\n\t\t\t\tUniqueInspectionTaskId: selectedTask?.uniqueInspectionTaskId,\r\n\t\t\t\tUniqueEquipmentClassId: excelDetails.classId,\r\n\t\t\t\tEquipmentId: 0,\r\n\t\t\t\tUniquePanelId: selectedEquipmentGroup,\r\n\t\t\t\tuniqueSystemId: selectedTask?.system?.uniqueSystemId,\r\n\t\t\t};\r\n\t\t\tdispatch(onGetImportEquipmentDatafields(body, excelDetails.classId));\r\n\t\t\tdispatch(onGetExcelMappingColumns(excelDetails.classId, excelDetails.uploadedId, excelDetails.sheetIndex,setMessage,setDisplayInfoModal));\r\n\t\t}\r\n\t}, [excelDetails.sheetIndex, excelDetails.classId]);\r\n\r\n\tuseEffect(() => {\r\n\t\tif (excelMappingColumns) {\r\n\t\t\tlet columns = JSON.parse(JSON.stringify(excelMappingColumns));\r\n\t\t\tcolumns?.forEach(element => {\r\n\t\t\t\tif (element?.uniqueDataFieldId)\r\n\t\t\t\t\telement.checked = true;\r\n\t\t\t\telse {\r\n\t\t\t\t\telement.checked = false;\r\n\t\t\t\t\telement.uniqueDataFieldId = \"\";\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\tconst excelColumns = [...columns].sort((a, b) => a.excelColumnIndex - b.excelColumnIndex);\r\n\t\t\tsetEquipmentDBColumns([...excelColumns]);\r\n\t\t}\r\n\t}, [excelMappingColumns])\r\n\r\n\tuseEffect(() => {\r\n\t\tif (equipmentDatafields?.length) {\r\n\t\t\tlet fields = JSON.parse(JSON.stringify(equipmentDatafields));\r\n\t\t\tfields.splice(0, 0, { uniqueDataFieldId: \"\", dataFieldName: \"Not Selected\" });\r\n\t\t\tsetDatafields([...fields])\r\n\t\t}\r\n\t}, [equipmentDatafields])\r\n\r\n\tconst onExcelChecked = (checked, index) => {\r\n\t\tequipmentDBColumns[index].checked = checked;\r\n\t\tif (!checked)\r\n\t\t\tequipmentDBColumns[index].uniqueDataFieldId = \"\";\r\n\t\tsetEquipmentDBColumns([...equipmentDBColumns]);\r\n\t};\r\n\r\n\tconst onTechAdvanceSelect = (value, index) => {\r\n\t\tequipmentDBColumns[index].uniqueDataFieldId = value;\r\n\t\tsetEquipmentDBColumns([...equipmentDBColumns]);\r\n\t};\r\n\r\n\tconst onFetchData = () => {\r\n\t\tconst checkedColumn = equipmentDBColumns.filter((item) => item.checked && item.uniqueDataFieldId);\r\n\t\tif (checkedColumn?.length) {\r\n\t\t\tconst removedDataSets = checkedColumn?.map(({ checked, excelColumnIndex, mappings, ...rest }: any) => {\r\n\t\t\t\treturn rest;\r\n\t\t\t});\r\n\r\n\t\t\tlet duplicates;\r\n\t\t\tfor (let i = 0; i < removedDataSets?.length; i++) {\r\n\t\t\t\tconst items = removedDataSets?.filter((item) => item?.uniqueDataFieldId === removedDataSets[i].uniqueDataFieldId);\r\n\t\t\t\tif (items?.length > 1) {\r\n\t\t\t\t\tconst filter = equipmentDatafields?.filter((item) => item?.uniqueDataFieldId === items[0]?.uniqueDataFieldId);\r\n\t\t\t\t\tduplicates = filter[0]?.dataFieldName;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tif (duplicates) {\r\n\t\t\t\tsetDisplayInfoModal(true);\r\n\t\t\t\tsetMessage(`${duplicates} selected more than once`);\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t\tconst mandatoryFields = equipmentDatafields?.filter((item) => item.isMandatory);\r\n\t\t\tconst results = mandatoryFields?.filter(({ uniqueDataFieldId: id1 }) => !removedDataSets?.some(({ uniqueDataFieldId: id2 }) => id2 === id1))\r\n\t\t\t\r\n\t\t\tif (results?.length) {\r\n\t\t\t\tsetDisplayInfoModal(true);\r\n\t\t\t\tif (results?.length > 1)\r\n\t\t\t\t\tsetMessage(`Mandatory field(s) ${results.map((item) => { return \"'\" + item.dataFieldName + \"'\" }).join(', ')} are not mapped`);\r\n\t\t\t\telse\r\n\t\t\t\t\tsetMessage(`Mandatory field '${results[0]?.dataFieldName}' is not mapped`);\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t\tlet body = {\r\n\t\t\t\tcolumnDetails: removedDataSets,\r\n\t\t\t\tuniqueInspectionTaskId: selectedTask?.uniqueInspectionTaskId,\r\n\t\t\t\tWorksheetId: excelDetails?.sheetName,\r\n\t\t\t}\r\n\r\n\t\t\tdispatch(onGetFetchedData(excelDetails.classId, excelDetails.uploadedId, excelDetails.sheetIndex, body,setMessage,setDisplayInfoModal));\r\n\t\t\tonFetchedData(excelDetails, body);\r\n\t\t} else {\r\n\t\t\tsetDisplayInfoModal(true);\r\n\t\t\tsetMessage(`No Field (s) are selected`);\r\n\t\t}\r\n\t}\r\n\r\n\tconst onRemoveFile = () => {\r\n\t\tonDataReset();\r\n\t}\r\n\r\n\tconst onDataReset = () => {\r\n\t\tsetEquipmentDBColumns([]);\r\n\t\tsetExcelDetails({ uploadedId: \"\", sheetIndex: \"\", classId: \"\", sheetName: \"\" });\r\n\t\tdispatch(setUploadedExcels(\"\"));\r\n\t\tdispatch(setWorksheets(\"\"));\r\n\t\tdispatch(setExcelMappingColumn(\"\"));\r\n\t\treset();\r\n\t}\r\n\r\n\tconst getFormErrorMessage = (name) => {\r\n\t\treturn (\r\n\t\t\terrors[name] && (\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t{errors[name].message}\r\n\t\t\t\t\r\n\t\t\t)\r\n\t\t);\r\n\t};\r\n\r\n\tconst ExcelFieldsTemplate = (rowData, options) => {\r\n\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t onExcelChecked(e.checked, options?.rowIndex)} />\r\n\t\t\t\t\t\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t);\r\n\t};\r\n\r\n\tconst TechAdvanceFields = (rowData, options) => {\r\n\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t onTechAdvanceSelect(e.value, options?.rowIndex)}\r\n\t\t\t\t\t\toptions={datafields}\r\n\t\t\t\t\t\toptionLabel=\"dataFieldName\"\r\n\t\t\t\t\t\toptionValue=\"uniqueDataFieldId\"\r\n\t\t\t\t\t\tclassName={classNames('w-100',)}\r\n\t\t\t\t\t/>\r\n\t\t\t\t
\r\n\t\t\t
\r\n\r\n\t\t);\r\n\t};\r\n\r\n\tconst renderFooter = () => {\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t);\r\n\t};\r\n\r\n\treturn (\r\n\t\t { onHideModal(); onRemoveFile() }}\r\n\t\t\tbreakpoints={{ \"960px\": \"75vw\" }}\r\n\t\t\t// style={style}\r\n\t\t\tfooter={renderFooter()}\r\n\t\t\tclassName=\"add-overlay import-equipment\"\r\n\t\t>\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t

Excel File

\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t\t\t\t\tconst res = JSON.parse(response);\r\n\t\t\t\t\t\t\t\t\t\t\tif (res.status === \"done\") {\r\n\t\t\t\t\t\t\t\t\t\t\t\tsetExcelDetails((dt) => ({ ...dt, uploadedId: res.data.uniqueDirectoryId[0] }));\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\treturn response.key\r\n\t\t\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\t\t\tonerror: (response) => response.data,\r\n\t\t\t\t\t\t\t\t\t\tondata: (formData) => formData\r\n\t\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\t}}\r\n\t\t\t\t\t\t\t\tname=\"files\"\r\n\t\t\t\t\t\t\t\tcredits={false}\r\n\t\t\t\t\t\t\t\tlabelIdle=\"Click to choose a file or drag and drop a file\"\r\n\t\t\t\t\t\t\t\tlabelFileLoading=\"\"\r\n\t\t\t\t\t\t\t\tlabelTapToUndo=\"\"\r\n\t\t\t\t\t\t\t\tlabelFileProcessing=\"\"\r\n\t\t\t\t\t\t\t\tlabelFileProcessingComplete=\"\"\r\n\t\t\t\t\t\t\t\tlabelFileProcessingAborted=\"\"\r\n\t\t\t\t\t\t\t\tlabelFileProcessingError=\"\"\r\n\t\t\t\t\t\t\t\tlabelButtonAbortItemProcessing=\"\"\r\n\t\t\t\t\t\t\t\tlabelButtonUndoItemProcessing=\"\"\r\n\t\t\t\t\t\t\t\tlabelButtonRetryItemProcessing=\"\"\r\n\t\t\t\t\t\t\t\tlabelButtonProcessItem=\"\"\r\n\t\t\t\t\t\t\t\tlabelTapToCancel=\"\"\r\n\t\t\t\t\t\t\t\tlabelFileRemoveError=\"\"\r\n\t\t\t\t\t\t\t\tlabelTapToRetry=\"\"\r\n\t\t\t\t\t\t\t\tallowFileTypeValidation={true}\r\n\t\t\t\t\t\t\t\tonremovefile={onRemoveFile}\r\n\t\t\t\t\t\t\t\tacceptedFileTypes={[\"text/xml\", \"application/xlsx\", \"text/plain\", \"text/csv\", \"application/vnd.ms-excel\", \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\"]}\r\n\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t (\r\n\t\t\t\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t\t\t\t\tfield.onChange(e.value);\r\n\t\t\t\t\t\t\t\t\t\t\tconst filtered = workSheets?.filter((item) => item.sheetIndex === e.value);\r\n\t\t\t\t\t\t\t\t\t\t\tsetExcelDetails((dt) => ({ ...dt, sheetIndex: e.value, sheetName: filtered?.[0]?.sheetName }));\r\n\t\t\t\t\t\t\t\t\t\t}}\r\n\t\t\t\t\t\t\t\t\t\toptions={workSheets}\r\n\t\t\t\t\t\t\t\t\t\toptionLabel=\"sheetName\"\r\n\t\t\t\t\t\t\t\t\t\toptionValue=\"sheetIndex\"\r\n\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t)}\r\n\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t{getFormErrorMessage(\"workSheet\")}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t (\r\n\t\t\t\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t\t\t\t\tfield.onChange(e.value);\r\n\t\t\t\t\t\t\t\t\t\t\tsetExcelDetails((dt) => ({ ...dt, classId: e.value }));\r\n\t\t\t\t\t\t\t\t\t\t}}\r\n\t\t\t\t\t\t\t\t\t\toptions={equipmentTypeList}\r\n\t\t\t\t\t\t\t\t\t\toptionLabel=\"equipmentClassName\"\r\n\t\t\t\t\t\t\t\t\t\toptionValue=\"uniqueEquipmentClassId\"\r\n\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t)}\r\n\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t{getFormErrorMessage(\"equipementSpecific\")}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t\t\r\n {message.includes(':')\r\n ? message.split(':').map((line, index) => (\r\n

\r\n {line}\r\n
\r\n

\r\n ))\r\n : message}\r\n

}\r\n\t\t\t/>\r\n\t\t\r\n\t);\r\n};\r\n\r\nexport default memo(ImportEquipment);\r\n","import { Button } from \"primereact/button\";\r\nimport { Dialog } from \"primereact/dialog\";\r\nimport React, { useEffect, useRef, useState } from \"react\";\r\nimport { Controller, useForm } from \"react-hook-form\";\r\nimport { Dropdown } from \"primereact/dropdown\";\r\nimport { classNames } from \"primereact/utils\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { getAssociatedDevices, setAssociatedDevicesData } from \"redux/pages/Inspection/InspectionTask/InspectionDetails/Equipment/EquipmentSlice\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\n\r\ninterface Prop {\r\n\tonHideModal?: () => void;\r\n\tequipmentGroupId: any;\r\n\tinspectionTaskId: any;\r\n\tequipmentClassId: any;\r\n\tselectedRows: any;\r\n\tonConnectDevices: (id: any, data: any) => void;\r\n};\r\n\r\nconst Connectivity: React.FC = ({\r\n\tonHideModal = () => { },\r\n\tequipmentGroupId = '',\r\n\tinspectionTaskId = '',\r\n\tequipmentClassId = '',\r\n\tselectedRows = [],\r\n\tonConnectDevices = () => { },\r\n}) => {\r\n\r\n\tconst dispatch = useDispatch();\r\n\tconst connectivityForm = useRef(null);\r\n\r\n\tconst [selectedModule, setSelectedModule] = useState(0);\r\n\tconst [equipmentList, setEquipmentList] = useState([]);\r\n\tconst [showModal, setShowModal] = useState(false);\r\n\r\n\tconst associatedDeviceData = useAppSelector((state) => state.equipment.associatedDevicesData);\r\n\r\n\tconst {\r\n\t\tcontrol,\r\n\t\thandleSubmit,\r\n\t} = useForm({});\r\n\r\n\tconst getSelectedEquipmentIds = () => {\r\n\t\tlet params: any = [];\r\n\t\tselectedRows.map(item => {\r\n\t\t\tparams.push(item.EquipmentId);\r\n\t\t});\r\n\t\treturn params;\r\n\t};\r\n\r\n\r\n\tuseEffect(() => {\r\n\t\tconst body = {\r\n\t\t\tpanelId: equipmentGroupId,\r\n\t\t\tequipmentIds: getSelectedEquipmentIds()\r\n\t\t};\r\n\t\tdispatch(getAssociatedDevices(inspectionTaskId, equipmentClassId, body, setShowModal));\r\n\t}, [dispatch, inspectionTaskId, equipmentClassId]);\r\n\r\n\tuseEffect(() => {\r\n\t\tif (selectedRows && selectedRows.length > 1) {\r\n\t\t\tsetSelectedModule(0);\r\n\t\t} else if (selectedRows && selectedRows.length === 1) {\r\n\t\t\tif (associatedDeviceData && associatedDeviceData.equipmentList && associatedDeviceData.equipmentList.length) {\r\n\t\t\t\tconst foundEquipment = associatedDeviceData?.equipmentList?.find(e => e.isSelected === true);\r\n\t\t\t\tif (foundEquipment) {\r\n\t\t\t\t\tsetSelectedModule(foundEquipment?.equipmentId)\r\n\t\t\t\t} else {\r\n\t\t\t\t\tsetSelectedModule(0);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}, [selectedRows, associatedDeviceData]);\r\n\r\n\tuseEffect(() => {\r\n\t\tif (associatedDeviceData && associatedDeviceData.equipmentList && associatedDeviceData.equipmentList.length) {\r\n\t\t\tsetEquipmentList(associatedDeviceData.equipmentList);\r\n\t\t} else {\r\n\t\t\tsetEquipmentList([]);\r\n\t\t}\r\n\t}, [associatedDeviceData]);\r\n\r\n\tconst formSubmitHandler = () => {\r\n\t\tconnectivityForm.current.requestSubmit();\r\n\t};\r\n\r\n\tconst onConnectivityFormSubmit = () => {\r\n\t\tif (selectedRows && selectedRows.length) {\r\n\t\t\tlet equipmentIds: any = [];\r\n\t\t\tselectedRows.map((item: any) => {\r\n\t\t\t\tequipmentIds.push(item.EquipmentId);\r\n\t\t\t\treturn null;\r\n\t\t\t});\r\n\t\t\tconst body = {\r\n\t\t\t\tpanelId: equipmentGroupId,\r\n\t\t\t\tuniqueEquipmentClassId: equipmentClassId,\r\n\t\t\t\tequipmentIds: equipmentIds\r\n\t\t\t};\r\n\t\t\tonConnectDevices && onConnectDevices(selectedModule, body);\r\n\t\t}\r\n\t};\r\n\r\n\tconst renderFooter = () => {\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t
\r\n\t\t);\r\n\t};\r\n\r\n\treturn (\r\n\t\t<>\r\n\t\t\t {\r\n\t\t\t\t\tsetSelectedModule(0);\r\n\t\t\t\t\tdispatch(setAssociatedDevicesData([]));\r\n\t\t\t\t\tsetShowModal(false);\r\n\t\t\t\t\tonHideModal();\r\n\t\t\t\t}}\r\n\t\t\t\tstyle={{ width: \"40vw\" }}\r\n\t\t\t\tfooter={renderFooter()}\r\n\t\t\t\tclassName=\"add-overlay connectivity-modal\"\r\n\t\t\t>\r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t

System

\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t

{associatedDeviceData?.system?.systemName}

\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t

Equipment Group

\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t

{associatedDeviceData?.panel?.panelName}

\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t

{associatedDeviceData?.associatedClass?.equipmentClassName}

\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t (\r\n\t\t\t\t\t\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tsetSelectedModule(e.value);\r\n\t\t\t\t\t\t\t\t\t\t\t\t}}\r\n\t\t\t\t\t\t\t\t\t\t\t\toptions={[{ address: '-Select-', equipmentId: 0 }, ...equipmentList]}\r\n\t\t\t\t\t\t\t\t\t\t\t\toptionLabel=\"address\"\r\n\t\t\t\t\t\t\t\t\t\t\t\toptionValue=\"equipmentId\"\r\n\t\t\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t\t)}\r\n\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\r\n\t\t\t\t
\r\n\t\t\t\r\n\t\t\r\n\t);\r\n};\r\n\r\nexport default Connectivity;\r\n","import React, { memo, useCallback, useEffect, useRef, useState } from 'react'\r\nimport { Controller, useForm } from 'react-hook-form';\r\nimport { Dropdown } from 'primereact/dropdown';\r\nimport { classNames } from 'primereact/utils';\r\n//components\r\nimport AddModal from '../../../../../../../components/Table/AddModal/AddModal';\r\nimport FormElement from '../../../../../../../components/common/Forms/Utility/FormElement';\r\nimport ConfirmationBox from '../../../../../../../components/common/Message/ConfirmationBox/ConfirmationBox';\r\n//icons\r\nimport { BsExclamationCircleFill } from 'react-icons/bs';\r\nimport moment from 'moment';\r\nimport { useDispatch } from 'react-redux';\r\nimport { setIsDevReadingChanged, setIsTestedDateChanged } from 'redux/pages/Inspection/InspectionTask/InspectionDetails/Equipment/EquipmentSlice';\r\nimport { useAppSelector } from 'redux/hooks';\r\n\r\ninterface MultipleEditEquipmentPropType {\r\n showModal: boolean;\r\n datafields?: any;\r\n onHideModal?: () => void;\r\n onFormSubmit?: (body, reset, setSelectedDatafield, setModifiedContent) => void;\r\n}\r\n\r\nconst MultipleEditEquipment: React.FC = (props) => {\r\n\r\n const { showModal, onHideModal = () => { }, onFormSubmit = () => { }, datafields } = props;\r\n const { control, formState: { errors }, handleSubmit, watch, setValue, reset } = useForm({mode:'all'});\r\n\r\n const editForm = useRef();\r\n\r\n const [selectedDatafield, setSelectedDatafield] = useState([])\r\n const [datafieldList, setDatafieldList] = useState([]);\r\n const [modifiedContent, setModifiedContent] = useState({});\r\n const [message, setMessage] = useState(\"\");\r\n const [displayConfirmModal, setDisplayConfirmModal] = useState(false);\r\n const [fieldFocus, setFieldFocus] = useState(false);\r\n const loggedInUserDetails = useAppSelector((state) => state.administration.loggedInUserDetails);\r\n\r\n \r\n const dispatch = useDispatch();\r\n\r\n useEffect(()=>{\r\n if(datafields) {\r\n const filterItems = datafields?.filter((item)=> item?.dataFieldName !== \"Test Result\" && item?.dataFieldName !== \"Dev Reading Date\" && item?.dataFieldName !== \"Test Date\");\r\n setDatafieldList(filterItems);\r\n }\r\n },[datafields])\r\n\r\n const formSubmitHandler = () => {\r\n editForm?.current?.requestSubmit();\r\n }\r\n\r\n const onSelectDatafield = (val) => { \r\n const convField = JSON.parse(JSON.stringify(datafields));\r\n const filtered = convField?.filter((item) => item.uniqueDataFieldId === val);\r\n const testDate = convField?.filter((item) => item.dataFieldName === \"Test Date\");\r\n\r\n if (filtered[0]?.dataFieldName === \"Test Method\") {\r\n setValue(filtered[0]?.uniqueDataFieldId, 1);\r\n const findexes = convField?.findIndex((item) => item?.dataFieldName === \"Test Result\");\r\n if (findexes >= 0) {\r\n filtered.push(convField[findexes]);\r\n setValue(convField[findexes]?.uniqueDataFieldId, 1);\r\n }\r\n const findexdate = convField?.findIndex((item) => item?.dataFieldName === \"Test Date\");\r\n setValue(testDate[0]?.uniqueDataFieldId, moment(new Date()).utcOffset(loggedInUserDetails?.userDefaults?.siteOffset).format(\"YYYY-MM-DD HH:mm:ss\"));\r\n filtered.push(convField[findexdate]);\r\n\r\n }\r\n if (filtered[0]?.dataFieldName === \"Dev Reading\") {\r\n const findexes = convField?.findIndex((item) => item?.dataFieldName === \"Dev Reading Date\");\r\n convField[findexes].disabled = true;\r\n filtered.push(convField[findexes]);\r\n \r\n }\r\n setSelectedDatafield(filtered);\r\n dispatch(setIsDevReadingChanged(''));\r\n dispatch(setIsTestedDateChanged(''));\r\n }\r\n const onTextBoxChange = useCallback((data,e) => {\r\n onCheckTextBoxChange(data,e);\r\n }, [selectedDatafield]);\r\n\r\n const onDateTimeChanged = useCallback((data, e) => {\r\n onCheckDateTimeChanged(data, e);\r\n }, [datafieldList]);\r\n const onCheckDateTimeChanged = useCallback((data, e) => {\r\n if (data.dataFieldName === \"Dev Reading Date\") {\r\n dispatch(setIsDevReadingChanged('D'));\r\n }\r\n if (data.dataFieldName === \"Test Date\") {\r\n dispatch(setIsTestedDateChanged('T'));\r\n }\r\n }, []);\r\n\r\n const onCheckTextBoxChange = (data,e) => {\r\n if (data.dataFieldName === \"Dev Reading\") {\r\n const devReadingDate = selectedDatafield?.filter((item) => item.dataFieldName === \"Dev Reading Date\");\r\n const devReadingDateindex = selectedDatafield?.findIndex((item) => item.dataFieldName === \"Dev Reading Date\");\r\n if(devReadingDateindex > 0){\r\n if(e.currentTarget.value?.length>0){\r\n selectedDatafield[devReadingDateindex].disabled = false;\r\n setValue(devReadingDate[0]?.uniqueDataFieldId, moment(new Date()).utcOffset(loggedInUserDetails?.userDefaults?.siteOffset).format(\"YYYY-MM-DD HH:mm:ss\"));\r\n }else{\r\n selectedDatafield[devReadingDateindex].disabled = true;\r\n setValue(devReadingDate[0]?.uniqueDataFieldId,''); \r\n }\r\n }\r\n \r\n }\r\n }\r\n\r\n const onSelectionChange = useCallback((data, id) => {\r\n if (data.dataFieldName === \"Test Method\") {\r\n const testResIndex = selectedDatafield?.findIndex((item) => item.dataFieldName === \"Test Result\");\r\n const testDateIndex = selectedDatafield?.findIndex((item) => item.dataFieldName === \"Test Date\");\r\n if (id) {\r\n if (testResIndex >= 0) {\r\n const testDate = selectedDatafield?.filter((item) => item.dataFieldName === \"Test Date\");\r\n const items = data?.validatedValues?.filter((item) => item.dataFieldLookupId === id);\r\n if (items[0]?.dataFieldLookupValue !== \"None\") {\r\n setValue(testDate[0]?.uniqueDataFieldId, moment(new Date()).utcOffset(loggedInUserDetails?.userDefaults?.siteOffset).format(\"YYYY-MM-DD HH:mm:ss\"));\r\n selectedDatafield[testDateIndex].disabled = false;\r\n }\r\n else {\r\n setValue(testDate[0]?.uniqueDataFieldId,'');\r\n selectedDatafield[testDateIndex].disabled = true;\r\n }\r\n selectedDatafield[testResIndex].disabled = false;\r\n const none = selectedDatafield[testResIndex]?.validatedValues?.filter((item) => item?.dataFieldLookupId !== 3);\r\n selectedDatafield[testResIndex].validatedValues = none;\r\n const passed = selectedDatafield[testResIndex]?.validatedValues?.filter((item) => item?.dataFieldLookupValue === \"Passed\");\r\n if (passed?.length) setValue(selectedDatafield[testResIndex]?.uniqueDataFieldId, passed[0].dataFieldLookupId);\r\n }\r\n if (testDateIndex >= 0) {\r\n setValue(selectedDatafield[testDateIndex]?.uniqueDataFieldId, moment(new Date()).utcOffset(loggedInUserDetails?.userDefaults?.siteOffset).format(\"YYYY-MM-DD HH:mm:ss\"));\r\n }\r\n } else {\r\n if (testResIndex >= 0) {\r\n const testDate = selectedDatafield?.filter((item) => item.dataFieldName === \"Test Date\");\r\n const items = data?.validatedValues?.filter((item) => item.dataFieldLookupId === id);\r\n if (items[0]?.dataFieldLookupValue !== \"None\") {\r\n setValue(testDate[0]?.uniqueDataFieldId, moment(new Date()).utcOffset(loggedInUserDetails?.userDefaults?.siteOffset).format(\"YYYY-MM-DD HH:mm:ss\"));\r\n selectedDatafield[testDateIndex].disabled = false;\r\n }\r\n else {\r\n setValue(testDate[0]?.uniqueDataFieldId,'');\r\n selectedDatafield[testDateIndex].disabled = true;\r\n }\r\n selectedDatafield[testResIndex].validatedValues.push({\r\n dataFieldLookupId: 3,\r\n dataFieldLookupValue: \"Not Tested\",\r\n isSelected: true\r\n })\r\n setValue(selectedDatafield[testResIndex]?.uniqueDataFieldId, 3);\r\n selectedDatafield[testResIndex].disabled = true;\r\n }\r\n if (testDateIndex >= 0) {\r\n setValue(selectedDatafield[testDateIndex]?.uniqueDataFieldId, \"\");\r\n }\r\n }\r\n }\r\n setSelectedDatafield([...selectedDatafield]);\r\n }, [selectedDatafield]);\r\n\r\n const onSubmit = (data) => {\r\n if (selectedDatafield && selectedDatafield.length) {\r\n // if (data[data?.uniqueDataFieldId] || data[data?.uniqueDataFieldId] === 0) {\r\n let testDateUniqueFieldId:any;\r\n let testDate:any = \"\";\r\n let devReadingDate:any = \"\";\r\n selectedDatafield.map((item,key)=>{\r\n if(item.dataFieldName === \"Test Date\"){\r\n testDateUniqueFieldId = item.uniqueDataFieldId;\r\n let newDate = new Date(data[testDateUniqueFieldId]);\r\n const siteTimeOffset = loggedInUserDetails?.userDefaults?.siteOffset\r\n testDate = moment(new Date(newDate.getTime() - (siteTimeOffset * 60000))).format(\"YYYY-MM-DD HH:mm:ss\");\t\t\t\t\t\t\r\n\r\n }\r\n })\r\n \r\n let body = {\r\n uniqueDataFieldId: data?.uniqueDataFieldId,\r\n dataFieldValue: data[data?.uniqueDataFieldId],\r\n dataFieldLookUpId: null,\r\n testDateUniqueFieldId:data[testDateUniqueFieldId]?.length > 0 ? testDate : data[testDateUniqueFieldId]?.length\r\n }\r\n if (selectedDatafield?.length > 1) {\r\n if(selectedDatafield[1]?.dataFieldName ===\"Dev Reading Date\") \r\n {\r\n if(data[selectedDatafield[1]?.uniqueDataFieldId]?.length > 0)\r\n {\r\n let newDate = new Date(data[selectedDatafield[1]?.uniqueDataFieldId]);\r\n const siteTimeOffset = loggedInUserDetails?.userDefaults?.siteOffset\r\n devReadingDate = moment(new Date(newDate.getTime() - (siteTimeOffset * 60000))).format(\"YYYY-MM-DD HH:mm:ss\");\t} \t\t\t\t\t\r\n body.dataFieldLookUpId = devReadingDate\r\n }\r\n else { \r\n body.dataFieldLookUpId = data[selectedDatafield[1]?.uniqueDataFieldId]}\r\n }\r\n setModifiedContent(body);\r\n setMessage(\"Are you sure you want to update the selected records with the new value?\");\r\n setDisplayConfirmModal(true);\r\n // }\r\n }\r\n }\r\n \r\n const updateEquipment = () => { \r\n if (modifiedContent && modifiedContent.uniqueDataFieldId) {\r\n onFormSubmit(modifiedContent, reset, setSelectedDatafield, setModifiedContent);\r\n setDisplayConfirmModal(false);\r\n } \r\n }\r\n\r\n const getFormErrorMessage = (name) => {\r\n return (\r\n errors[name] && (\r\n \r\n \r\n {errors[name].message}\r\n \r\n )\r\n );\r\n };\r\n\r\n return (\r\n <>\r\n \r\n
\r\n
\r\n
\r\n (\r\n \r\n {\r\n field.onChange(e.value);\r\n onSelectDatafield(e.value)\r\n }}\r\n options={datafieldList}\r\n optionLabel=\"dataFieldName\"\r\n optionValue=\"uniqueDataFieldId\"\r\n />\r\n \r\n {getFormErrorMessage('uniqueDataFieldId')}\r\n \r\n \r\n )}\r\n />\r\n
\r\n {selectedDatafield?.map((item, key) => (\r\n \r\n ))\r\n }\r\n \r\n
\r\n \r\n\r\n \r\n \r\n )\r\n}\r\n\r\nexport default memo(MultipleEditEquipment)","import React, { useEffect, useRef, useState } from 'react'\r\n//components\r\nimport EquipmentForm from 'components/common/Forms/GeneralForm/EquipmentForm';\r\nimport AddModal from 'components/Table/AddModal/AddModal';\r\n\r\ninterface CloneEquipmentPropType {\r\n header?: string | any;\r\n showModal: boolean;\r\n datafields?: any;\r\n onHideModal?: () => void;\r\n onFormSubmit?: (body, reset, setValue, datafields) => void;\r\n uniqueEquipmentClassId?: any;\r\n}\r\nconst CloneEquipment: React.FC = (props) => {\r\n const { showModal, datafields, header, onHideModal = () => { }, onFormSubmit = () => { }, uniqueEquipmentClassId } = props;\r\n const editForm = useRef(null);\r\n const [dataFields, setDataFields] = useState(null)\r\n\r\n let body = {\r\n uniqueEquipmentClassId: uniqueEquipmentClassId\r\n }\r\n\r\n useEffect(() => {\r\n if (datafields?.length) {\r\n let fieldList = JSON.parse(JSON.stringify(datafields));\r\n fieldList.forEach((element) => {\r\n if (element?.dataFieldName === \"Address\")\r\n element.fieldValue = \"\";\r\n });\r\n const filterItem = fieldList.filter((item) => ![\"Test Method\", \"Test Result\", \"Test Date\"].includes(item.dataFieldName));\r\n setDataFields(filterItem)\r\n }\r\n }, [datafields]);\r\n\r\n const formSubmitHandler = () => {\r\n editForm?.current?.requestSubmit();\r\n }\r\n\r\n const submit = (fields, reset, setValue) => {\r\n onFormSubmit(fields, reset, setValue, dataFields)\r\n }\r\n\r\n return (\r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default CloneEquipment","\r\nexport const ATTACHMENT_LIST_ROWS = [\r\n {\r\n id: 1,\r\n fileName: 'sample.pdf',\r\n fileSize: '100KB',\r\n description: 'demo',\r\n uploadedOn:'null',\r\n uploadedBy:'xyz'\r\n },\r\n {\r\n id: 2,\r\n fileName: 'sample.pdf',\r\n fileSize: '100KB',\r\n description: 'demo',\r\n uploadedOn:'null',\r\n uploadedBy:'xyz'\r\n }\r\n];\r\n\r\nexport const ATTACHMENT_LIST_COLS = {\r\n LIST_COLS: [\r\n \r\n {\r\n field: 'fileName',\r\n header: 'File Name',\r\n style: { flex: '1 0 200px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'fileSize',\r\n header: 'File Size (KB)',\r\n style: { flex: '1 0 110px' },\r\n sortable: true,\r\n align:\"right\",\r\n },\r\n // {\r\n // field: 'description',\r\n // header: 'Description',\r\n // style: { flex: '1 0 200px' },\r\n // sortable: true,\r\n // },\r\n {\r\n field: 'uploadedOn',\r\n header: 'Uploaded on',\r\n style: { flex: '1 0 200px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'uploadedBy',\r\n header: 'Uploaded by',\r\n style: { flex: '1 0 150px' },\r\n sortable: true,\r\n }\r\n \r\n ]\r\n};","import React, { useEffect, useState } from \"react\";\r\nimport { Dialog } from \"primereact/dialog\";\r\n\r\nimport ReportViewer from \"components/common/Report/ReportViewer\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { createReportPreviewSession, setReportPreviewSession } from \"redux/pages/Administration/Site/siteSlice\";\r\n\r\n\r\ninterface Props {\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n reportFlag: string;\r\n uniqueInspctionTaskId: any;\r\n equipmentId: any;\r\n selectedRows: any;\r\n sortByColumns: any;\r\n}\r\n\r\nexport const AttachmentReport: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => { },\r\n reportFlag = '',\r\n uniqueInspctionTaskId = '',\r\n equipmentId = '',\r\n selectedRows = [],\r\n sortByColumns = [],\r\n}) => {\r\n\r\n const [reportId, setReportId] = useState(null);\r\n const reportPreviewSession = useAppSelector((state) => state.site.reportPreviewSession);\r\n const dispatch = useDispatch();\r\n\r\n const getSelectedAttachmentIds = () => {\r\n let params: any = [];\r\n selectedRows.map(item => {\r\n params.push(item.attachmentId);\r\n });\r\n return params;\r\n };\r\n\r\n useEffect(() => {\r\n let params;\r\n if (reportFlag === 'all') {\r\n params = \"\"\r\n } else {\r\n params = getSelectedAttachmentIds();\r\n }\r\n const reportParameters = {\r\n reportParameters: {\r\n uniqueInspctionTaskId: uniqueInspctionTaskId,\r\n equipmentId: equipmentId,\r\n selectedIds: params\r\n },\r\n reportType: \"Equipment Attachments Report\"\r\n };\r\n dispatch(createReportPreviewSession(reportParameters));\r\n\r\n return (() => {\r\n dispatch(setReportPreviewSession(\"\"));\r\n })\r\n }, []);\r\n\r\n useEffect(() => {\r\n if (reportPreviewSession) {\r\n setReportId(reportPreviewSession.previewSessionId);\r\n }\r\n }, [reportPreviewSession])\r\n\r\n\r\n return (\r\n <>\r\n {\r\n dispatch(setReportPreviewSession(\"\"));\r\n setShowModal(false);\r\n }}\r\n className=\"display-settings report selectsite\"\r\n style={{ width: \"90vw\", height: \"600px\" }}\r\n >\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default AttachmentReport;\r\n","import React, { useCallback, useEffect, useRef, useState } from \"react\";\r\n\r\nimport { Dialog } from \"primereact/dialog\";\r\nimport { InputTextarea } from \"primereact/inputtextarea\";\r\nimport { classNames } from \"primereact/utils\";\r\nimport { OverlayPanel } from \"primereact/overlaypanel\";\r\nimport { RadioButton } from \"primereact/radiobutton\";\r\nimport { BsExclamationCircleFill } from \"react-icons/bs\";\r\nimport { FilePond, registerPlugin } from \"react-filepond\";\r\nimport { Controller, useForm } from \"react-hook-form\";\r\nimport FilePondPluginFileValidateType from 'filepond-plugin-file-validate-type';\r\n\r\nimport { useDispatch } from \"react-redux\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\nimport Table from \"components/Table/Table\";\r\nimport UploadModal from \"components/Table/UploadModal/UploadModal\";\r\nimport { showUI } from 'service/GeneralUtility';\r\nimport InformationBox from \"components/common/Message/InformationBox/InformationBox\";\r\nimport ConfirmationBox from \"components/common/Message/ConfirmationBox/ConfirmationBox\";\r\nimport PopOver from \"components/common/PopOver/PopOver\";\r\nimport { ATTACHMENT_LIST_COLS } from \"./AttachmentListData\";\r\nimport { baseURL } from \"service/HttpService\";\r\nimport ViewFileModal from \"components/common/ViewFileModal/ViewFileModal\";\r\nimport { deleteAttachment, downloadEquipmentAttachment, editAttachment, getEquipmentAttachments, onViewEquipmentAttachment, setEquipmentAttachmentsList, uploadAttachment } from \"redux/pages/Inspection/InspectionTask/InspectionDetails/Equipment/EquipmentSlice\";\r\nimport AttachmentReport from \"./Report/AttachmentReport\";\r\nimport { onExportReport } from \"redux/common/report/customizeReportSlice\";\r\nimport { getPermittedFiles } from \"redux/common/commonSlice\";\r\n\r\ninterface Props {\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n uniqueInspectionTaskId: any;\r\n selectedEquipments: any;\r\n}\r\n\r\nexport const AttachmentList: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => { },\r\n uniqueInspectionTaskId = \"\",\r\n selectedEquipments = [],\r\n}) => {\r\n\r\n type FormData = {\r\n description: string;\r\n currentFileName:string;\r\n };\r\n\r\n const {\r\n control,\r\n handleSubmit,\r\n setValue,\r\n formState: { errors },\r\n reset\r\n } = useForm({\r\n defaultValues: {\r\n description: \"\",\r\n currentFileName:\"\"\r\n },\r\n });\r\n\r\n const dispatch = useDispatch();\r\n const downloadRef = React.createRef();\r\n const equipmentAttachmentsList = useAppSelector((state) => state.equipment.equipmentAttachmentsList);\r\n const userPrivileges = useAppSelector((state) => state.user.userPrivileges);\r\n const permittedFiles = useAppSelector((state) => state.common.permittedFiles);\r\n registerPlugin(FilePondPluginFileValidateType);\r\n \r\n const addForm: any = useRef();\r\n const editForm: any = useRef();\r\n const addFileRef: any = useRef();\r\n const editFileRef: any = useRef();\r\n\r\n const [pageIndex] = useState(0);\r\n const [currentStart] = useState(1);\r\n const [sortField, setSortField] = useState('')\r\n const [sortOrder, setSortOrder] = useState('');\r\n const [attachmentListdetails] = useState({\r\n currentLength: 100,\r\n currentStart: 1,\r\n totalCount: 500,\r\n });\r\n const [showAddModal, setShowAddModal] = useState(false);\r\n const [showEditModal, setShowEditModal] = useState(false);\r\n const [displayConfirmModal, setDisplayConfirmModal] = useState(false);\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const [message, setMessage] = useState(\"\");\r\n const [isDelete, setIsDelete] = useState(false)\r\n const [replaceAttachment, setReplaceAttachment] = useState(true);\r\n const [selectedRows, setSelectedRows] = useState([]);\r\n const [enableUpload, setEnableUpload] = useState(true);\r\n const [files, setFiles] = useState([]);\r\n const [showReportModal, setShowReportModal] = useState(false);\r\n const [showViewModal, setShowViewModal] = useState(false);\r\n const [streamData, setStreamData] = useState(null);\r\n const [reportFlag, setReportFlag] = useState('all');\r\n const [acceptedFileTypes, setAcceptedFileTypes] = useState([\"allowed/extension\"]);\r\n\r\n useEffect(() => {\r\n dispatch(getEquipmentAttachments(uniqueInspectionTaskId, selectedEquipments[0]?.EquipmentId, currentStart, sortField, sortOrder));\r\n\r\n return () => {\r\n dispatch(setEquipmentAttachmentsList([]));\r\n };\r\n }, [uniqueInspectionTaskId, selectedEquipments]);\r\n\r\n useEffect(() => {\r\n setValue('description', selectedRows[0]?.description); \r\n }, [showEditModal])\r\n\r\n useEffect(() => {\r\n if (!showAddModal) {\r\n reset();\r\n resetFileUploadForm();\r\n }\r\n }, [showAddModal, setShowAddModal]);\r\n\r\n useEffect(() => {\r\n if (!showEditModal) {\r\n reset();\r\n resetFileEditForm();\r\n }\r\n }, [showEditModal, setShowEditModal]);\r\n\r\n useEffect(() => {\r\n if (isDelete === true) {\r\n setMessage(\"Are you sure you want to delete the selected Attachment?\");\r\n setDisplayConfirmModal(true);\r\n setIsDelete(false)\r\n }\r\n }, [isDelete])\r\n\r\n useEffect(() => {\r\n dispatch(getPermittedFiles())\r\n }, [dispatch])\r\n\r\n useEffect(() => {\r\n let fileTypes: any = [\"allowed/extension\"];\r\n permittedFiles.forEach(item => {\r\n if (item.extension1 !== null) {\r\n fileTypes.push(item.extension1)\r\n }\r\n if (item.extension2 !== null) {\r\n fileTypes.push(item.extension2)\r\n }\r\n });\r\n setAcceptedFileTypes(fileTypes);\r\n }, [permittedFiles]);\r\n\r\n const onSort = (event) => {\r\n let sortDirection: string;\r\n if (event.sortOrder === 1)\r\n sortDirection = \"ASC\"\r\n else\r\n sortDirection = \"DESC\"\r\n setSortField(event.sortField);\r\n setSortOrder(sortDirection);\r\n dispatch(getEquipmentAttachments(uniqueInspectionTaskId, selectedEquipments[0]?.EquipmentId, currentStart, event?.sortField, sortDirection))\r\n }\r\n\r\n const editIconClick = () => {\r\n if (selectedRows.length < 1) {\r\n setMessage(\"Select an Attachment\");\r\n setDisplayInfoModal(true);\r\n }\r\n else if (selectedRows.length === 1) {\r\n setShowEditModal(true)\r\n }\r\n else if (selectedRows.length > 1) {\r\n setMessage(\"This operation can be performed only one row at a time\");\r\n setDisplayInfoModal(true);\r\n }\r\n };\r\n\r\n const deleteIconClick = () => {\r\n if (selectedRows.length < 1) {\r\n setMessage(\"Select an Attachment\");\r\n setDisplayInfoModal(true);\r\n }\r\n else if (selectedRows.length === 1) {\r\n setIsDelete(true);\r\n }\r\n else if (selectedRows.length > 1) {\r\n setMessage(\"This operation can be performed only one row at a time\");\r\n setDisplayInfoModal(true);\r\n }\r\n };\r\n\r\n const onDownloadIconClick = () => {\r\n if (selectedRows.length < 1) {\r\n setMessage(\"Select an Attachment\");\r\n setDisplayInfoModal(true);\r\n }\r\n else if (selectedRows.length === 1) {\r\n onDownload();\r\n }\r\n else if (selectedRows.length > 1) {\r\n setMessage(\"This operation can be performed only one row at a time\");\r\n setDisplayInfoModal(true);\r\n }\r\n };\r\n\r\n const getFormErrorMessage = (name) => {\r\n return (\r\n errors[name] && (\r\n \r\n \r\n {errors[name].message}\r\n \r\n )\r\n );\r\n };\r\n\r\n const handleRowSelect = useCallback((data: any) => {\r\n setSelectedRows([...data]);\r\n }, []);\r\n\r\n const onError = (errors: any, e: any) => {};\r\n\r\n const addFormSubmitHandler = (data: any) => {\r\n addForm.current.requestSubmit();\r\n };\r\n\r\n const onprocessfile = (error: any, file: any) => {\r\n setFiles([file]);\r\n if(error) {\r\n setEnableUpload(true);\r\n } else {\r\n setEnableUpload(false);\r\n }\r\n };\r\n\r\n const onprocessfiles = () => {\r\n setEnableUpload(false);\r\n };\r\n\r\n const beforeAddFile = (file) => {\r\n let data = addFileRef.current.props.files;\r\n if (data?.length > 0) {\r\n data.map((item: any) => {\r\n if (file?.filename === item.filename && file?.fileSize === item.fileSize) {\r\n addFileRef.current.removeFiles(item.id)\r\n }\r\n })\r\n }\r\n return true\r\n }\r\n\r\n const onWarning = (error: any) => {\r\n if (error && error.body === 'Max files') {\r\n setDisplayInfoModal(true);\r\n setMessage('Maximum of 5 files can only be uploaded at a time.');\r\n }\r\n };\r\n\r\n const onRemoveFiles = (error: any, file: any) => {\r\n if (file?.status === 8 || file?.status === 6) {\r\n const reaminingFiles = addFileRef.current.getFiles();\r\n if (reaminingFiles.length) {\r\n let fileCount: number = 0;\r\n reaminingFiles.map((item: any) => {\r\n if (item.status !== 5) {\r\n fileCount += fileCount + 1;\r\n }\r\n });\r\n\r\n if (fileCount > 0) {\r\n setEnableUpload(true);\r\n } else {\r\n setEnableUpload(false);\r\n }\r\n } else {\r\n setEnableUpload(true);\r\n }\r\n }\r\n };\r\n\r\n const onFileError = (error: any, file?: any, status?: any) => {\r\n if(error) {\r\n setEnableUpload(true);\r\n }\r\n };\r\n\r\n const onProcessFileStart = (file: any) => {\r\n setEnableUpload(true);\r\n };\r\n\r\n useEffect(() => {\r\n if (!files?.length) setEnableUpload(true);\r\n }, [files]);\r\n\r\n const fileTypeValidation = (source: File, type: string) => new Promise((resolve, reject) => {\r\n const uploadedFileExtension = source.name.split('.').pop();\r\n const isAllowed = acceptedFileTypes.find(fileType => fileType.split('.').pop() === uploadedFileExtension) !== undefined;\r\n if (isAllowed) {\r\n resolve('allowed/extension');\r\n } else {\r\n reject('.' + uploadedFileExtension);\r\n }\r\n });\r\n\r\n const resetFileUploadForm = () => {\r\n addFileRef?.current?.removeFiles();\r\n reset();\r\n setFiles([]);\r\n };\r\n\r\n const resetFileEditForm = () => {\r\n editFileRef?.current?.removeFiles();\r\n setFiles([]);\r\n };\r\n\r\n const onAddFormSubmit = (data: any) => {\r\n if(files.length){\r\n let tempFileIds: string = \"\";\r\n files.map((item: any) => {\r\n let response = JSON.parse(JSON.parse(JSON.stringify(item.serverId)));\r\n if (response?.status === \"done\") {\r\n tempFileIds += response.data?.uniqueDirectoryId[0] + \",\"\r\n }\r\n })\r\n tempFileIds = tempFileIds.slice(0, -1);\r\n let body = {\r\n description: data.description,\r\n TempStorageDirectory: tempFileIds\r\n };\r\n setEnableUpload(true);\r\n dispatch(uploadAttachment(uniqueInspectionTaskId, selectedEquipments[0]?.EquipmentId, body, setMessage, setDisplayInfoModal, resetFileUploadForm, setEnableUpload));\r\n } else {\r\n setDisplayInfoModal(true);\r\n setMessage('Select a File to upload');\r\n }\r\n };\r\n\r\n const editFormSubmitHandler = (data: any) => {\r\n editForm.current.requestSubmit();\r\n };\r\n\r\n const onEditFormSubmit = (data: any) => {\r\n if(!replaceAttachment){\r\n let body = {\r\n description: data.description,\r\n };\r\n setEnableUpload(true);\r\n dispatch(editAttachment(uniqueInspectionTaskId, selectedEquipments[0]?.EquipmentId, selectedRows[0]?.attachmentId, body, setMessage, setDisplayInfoModal, resetFileEditForm, setSelectedRows, setEnableUpload));\r\n }else{\r\n if (files.length && files[0]?.serverId) {\r\n let response = JSON.parse(JSON.parse(JSON.stringify(files[0]?.serverId)));\r\n if (response?.status === \"done\") {\r\n let body = {\r\n description: data.description,\r\n TempStorageDirectory: response.data?.uniqueDirectoryId[0],\r\n isNewFileRequired: true,\r\n oldFileName: selectedRows[0]?.fileName,\r\n newFileName: files?.filename\r\n };\r\n setEnableUpload(true);\r\n dispatch(editAttachment(uniqueInspectionTaskId, selectedEquipments[0]?.EquipmentId, selectedRows[0]?.attachmentId, body, setMessage, setDisplayInfoModal, resetFileEditForm, setSelectedRows, setEnableUpload));\r\n }\r\n } else {\r\n setDisplayInfoModal(true);\r\n setMessage('Select a File to upload');\r\n }\r\n }\r\n };\r\n\r\n const onDeleteConfirm=()=>{\r\n dispatch(deleteAttachment(uniqueInspectionTaskId, selectedEquipments[0]?.EquipmentId, selectedRows, setMessage, setDisplayInfoModal, setDisplayConfirmModal, setSelectedRows))\r\n }\r\n\r\n const onDownload=()=>{\r\n dispatch(downloadEquipmentAttachment(uniqueInspectionTaskId, selectedEquipments[0]?.EquipmentId, selectedRows[0]?.attachmentId, selectedRows[0]?.fileName, setMessage, setDisplayInfoModal,))\r\n }\r\n\r\n const onReportAllClick = () => {\r\n setReportFlag('all');\r\n setShowReportModal(true);\r\n };\r\n\r\n const onReportHighlightedClick = () => {\r\n setReportFlag('highlighted');\r\n setShowReportModal(true);\r\n };\r\n\r\n const getSelectedAttachmentIds = () => {\r\n let params: any = [];\r\n selectedRows.map(item => {\r\n params.push(item.attachmentId);\r\n });\r\n return params;\r\n };\r\n\r\n const onExportAll = () => {\r\n const reportParameters = {\r\n exportParameters: {\r\n uniqueInspctionTaskId: uniqueInspectionTaskId,\r\n equipmentId: selectedEquipments[0]?.EquipmentId,\r\n sortColumn: sortField,\r\n sortOrder: sortOrder,\r\n selectedIds: \"\"\r\n },\r\n exportType: \"Equipment Attachments Report\"\r\n };\r\n dispatch(onExportReport(reportParameters, \"Equipment Attachments\"));\r\n };\r\n\r\n const onExportHighlightedClick = () => {\r\n const reportParameters = {\r\n exportParameters: {\r\n uniqueInspctionTaskId: uniqueInspectionTaskId,\r\n equipmentId: selectedEquipments[0]?.EquipmentId,\r\n sortColumn: sortField,\r\n sortOrder: sortOrder,\r\n selectedIds: getSelectedAttachmentIds()\r\n },\r\n exportType: \"Equipment Attachments Report\"\r\n };\r\n dispatch(onExportReport(reportParameters, \"Equipment Attachments\"));\r\n };\r\n\r\n const openViewModal = () => {\r\n if (selectedRows.length < 1) {\r\n setMessage(\"Select an Attachment\");\r\n setDisplayInfoModal(true);\r\n }\r\n else if (selectedRows.length === 1) {\r\n dispatch(onViewEquipmentAttachment(uniqueInspectionTaskId, selectedEquipments[0]?.EquipmentId, selectedRows[0]?.attachmentId, selectedRows[0]?.fileName, setMessage, setDisplayInfoModal, setStreamData, setShowViewModal))\r\n }\r\n else if (selectedRows.length > 1) {\r\n setMessage(\"This operation can be performed only one row at a time\");\r\n setDisplayInfoModal(true);\r\n }\r\n }\r\n\r\n return (\r\n <>\r\n setShowModal(false)}\r\n className=\"display-settings personal selectsite\"\r\n >\r\n
\r\n Address:\r\n {selectedEquipments[0]?.Address}\r\n
\r\n setShowAddModal(true)}\r\n showHamIcon={false}\r\n onEditClick={editIconClick}\r\n onDeleteClick={deleteIconClick}\r\n //showAddIcon={showUI(userPrivileges, \"SIETAP_INSPECTIONDETAILS_ATTACHMENT_MANAGE\")} --- Tracker 652\r\n //showEditIcon={showUI(userPrivileges, \"SIETAP_INSPECTIONDETAILS_ATTACHMENT_MANAGE\")} --- Tracker 652\r\n showAddIcon={false}\r\n showEditIcon={false}\r\n showDeleteIcon={showUI(userPrivileges, \"SIETAP_INSPECTIONDETAILS_ATTACHMENT_MANAGE\")}\r\n searchboxfield={false}\r\n showroweditor={false}\r\n onSortData={onSort}\r\n getSelectedRowData={handleRowSelect}\r\n onDownloadClick={(e) => downloadRef.current?.toggle(e)}\r\n showViewIcon = {true}\r\n showDislaySettingsIcon = {true}\r\n onViewClick = {openViewModal}\r\n defaultSelectedRows = {equipmentAttachmentsList.length > 0 ? [equipmentAttachmentsList[0]] : []}\r\n />\r\n {showAddModal &&\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n (\r\n \r\n )} />\r\n \r\n {getFormErrorMessage('description')}\r\n Max 4000 Chars\r\n \r\n
\r\n
\r\n \r\n }\r\n {showEditModal &&\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n setReplaceAttachment(e.value)} checked={replaceAttachment} />\r\n \r\n
\r\n
\r\n {\r\n setReplaceAttachment(e.value);\r\n setFiles([]);\r\n }}\r\n checked={!replaceAttachment} />\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n {selectedRows[0]?.fileName}\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n {replaceAttachment ? : null}\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n (\r\n \r\n )} />\r\n \r\n {getFormErrorMessage('description')}\r\n Max 4000 Chars\r\n \r\n
\r\n
\r\n \r\n }\r\n \r\n {onDeleteConfirm()}}\r\n message={message}\r\n />\r\n \r\n
    \r\n
  • Report All
  • \r\n
  • Report Highlighted
  • \r\n
  • Export All
  • \r\n\t\t\t\t\t
  • Export Highlighted
  • \r\n
  • Download
  • \r\n
\r\n
\r\n \r\n {showReportModal&&\r\n \r\n }\r\n {showViewModal&&streamData&&\r\n \r\n }\r\n \r\n );\r\n};\r\n\r\nexport default AttachmentList;\r\n","import React, { memo, useEffect, useState } from 'react'\r\nimport { Calendar } from 'primereact/calendar';\r\nimport { Dropdown } from 'primereact/dropdown';\r\nimport { InputText } from 'primereact/inputtext';\r\n//icons\r\nimport { BsExclamationCircleFill } from 'react-icons/bs';\r\n//redux\r\nimport { useDispatch } from 'react-redux';\r\nimport { getDatafieldValues, setAdditionalDatafieldValues } from 'redux/common/commonSlice';\r\nimport { useAppSelector } from 'redux/hooks';\r\nimport { setEquipmentDatafields } from 'redux/pages/Inspection/InspectionTask/InspectionDetails/Equipment/EquipmentSlice';\r\nimport { setIsDevReadingChanged, setIsTestedDateChanged } from 'redux/pages/Inspection/InspectionTask/InspectionDetails/Equipment/EquipmentSlice';\r\nimport moment from 'moment';\r\nimport { Button } from \"primereact/button\";\r\nimport { blockedNonKeyboardCharacters } from 'service/GeneralUtility';\r\n\r\ninterface props { \r\n generalProperties?: any;\r\n getTableColumns?: (data, dataFields) => void;\r\n uniqueEquipmentClassId?: any;\r\n selectedRow?: any;\r\n}\r\nconst EquipmentListData: React.FC = (props) => {\r\n const { generalProperties, getTableColumns = () => { }, uniqueEquipmentClassId, selectedRow } = props;\r\n const [datafields, setDatafields] = useState([]);\r\n const [devReadingDate, setDevReadingDate] = useState([]);\r\n const [testDate, setTestDate] = useState([]);\r\n const cal = React.createRef();\r\n const devCal = React.createRef();\r\n const testDateRef =React.createRef();\r\n \r\n let body = {\r\n uniqueEquipmentClassId: uniqueEquipmentClassId === \"All\" ? selectedRow?.[0]?.EquipmentTypeId : uniqueEquipmentClassId\r\n }\r\n\r\n const dispatch = useDispatch()\r\n const equipmentDatafields = useAppSelector((state) => state.equipment.equipmentDatafields);\r\n const additionalFieldValues = useAppSelector((state) => state.common.additionalDatafieldValues);\r\n const loggedInUserDetails = useAppSelector((state) => state.administration.loggedInUserDetails);\r\n\r\n useEffect(() => {\r\n if (equipmentDatafields) {\r\n let lists = JSON.parse(JSON.stringify(equipmentDatafields));\r\n lists.forEach(element => { \r\n const devReadingDateIndex = lists?.findIndex((item) => item.dataFieldName === \"Dev Reading Date\");\r\n if(devReadingDateIndex>0){\r\n if (element?.dataFieldName=== \"Dev Reading\") {\r\n if(element?.fieldValue === ''){\r\n lists[devReadingDateIndex].disabled = true; \r\n }\r\n else{\r\n lists[devReadingDateIndex].disabled = false;\r\n }\r\n }\r\n }\r\n const testDateIndex = lists?.findIndex((item) => item.dataFieldName === \"Test Date\");\r\n if (element?.dataFieldName=== \"Test Result\") {\r\n if(element?.validatedValues != null){\r\n const slectedItem = element.validatedValues?.filter((item) => item?.isSelected);\r\n if (slectedItem[0]?.dataFieldLookupValue === \"Not Tested\"){ \r\n lists[testDateIndex].disabled = true;}\r\n }\r\n else{\r\n lists[testDateIndex].disabled = false;\r\n }\r\n }\r\n if (element?.dataFieldName=== \"Test Method\") {\r\n if(element?.validatedValues != null){\r\n const slectedItem = element.validatedValues?.filter((item) => item?.isSelected);\r\n if (slectedItem[0]?.dataFieldLookupValue === \"None\"){ \r\n lists[testDateIndex].disabled = true;}\r\n }\r\n else{\r\n lists[testDateIndex].disabled = false;\r\n }\r\n }\r\n if (element.defaultSelectNeeded)\r\n element.validatedValues.unshift({ dataFieldLookupId: -1, dataFieldLookupValue: \"--Select--\", isSelected: false });\r\n });\r\n setDatafields(lists);\r\n dispatch(setEquipmentDatafields(\"\"));\r\n }\r\n }, [equipmentDatafields]);\r\n\r\n useEffect(() => {\r\n if (additionalFieldValues) {\r\n let lists = JSON.parse(JSON.stringify(datafields))\r\n let fieldValues = JSON.parse(JSON.stringify(additionalFieldValues));\r\n const findIndex = datafields?.findIndex((item) => item.uniqueDataFieldId === fieldValues[1]);\r\n if (findIndex >= 0) {\r\n if (lists[findIndex]?.defaultSelectNeeded) {\r\n fieldValues[0].unshift({ dataFieldLookupId: -1, dataFieldLookupValue: \"--Select--\", isSelected: false });\r\n }\r\n datafields[findIndex].validatedValues = fieldValues[0];\r\n }\r\n setDatafields([...datafields]);\r\n dispatch(setAdditionalDatafieldValues(\"\"));\r\n }\r\n }, [additionalFieldValues])\r\n\r\n useEffect(() => {\r\n const columns = getEquipmentColumn(generalProperties, datafields);\r\n getTableColumns(columns, datafields);\r\n }, [generalProperties, datafields, getTableColumns]);\r\n\r\n const checkTestMethodDropDown = (e) => {\r\n const testMetIndex = datafields?.findIndex((item) => item.dataFieldName === \"Test Method\");\r\n const testResIndex = datafields?.findIndex((item) => item.dataFieldName === \"Test Result\");\r\n const testDateIndex = datafields?.findIndex((item) => item.dataFieldName === \"Test Date\");\r\n\r\n datafields[testMetIndex]?.validatedValues?.forEach(element => {\r\n if (element?.dataFieldLookupId === e.value)\r\n element.isSelected = true;\r\n else\r\n element.isSelected = false;\r\n });\r\n if (e.value) {\r\n if (testResIndex >= 0) {\r\n datafields[testResIndex].disabled = false;\r\n const none = datafields[testResIndex]?.validatedValues?.filter((item) => item?.dataFieldLookupId !== 3);\r\n datafields[testResIndex].validatedValues = none;\r\n datafields[testResIndex]?.validatedValues?.forEach(element => {\r\n if (element?.dataFieldLookupValue === \"Passed\")\r\n element.isSelected = true;\r\n else\r\n element.isSelected = false; \r\n });\r\n }\r\n if (testDateIndex >= 0) {\r\n datafields[testDateIndex].fieldValue = moment(new Date()).utcOffset((loggedInUserDetails?.userDefaults?.siteOffset)).format(\"YYYY-MM-DD HH:mm:ss\");\r\n\r\n }\r\n } else {\r\n if (testResIndex >= 0) {\r\n datafields[testResIndex].disabled = true;\r\n datafields[testResIndex].validatedValues.push({\r\n dataFieldLookupId: 3,\r\n dataFieldLookupValue: \"Not Tested\",\r\n isSelected: true\r\n })\r\n datafields[testResIndex]?.validatedValues?.forEach(element => {\r\n if (element?.dataFieldLookupId === 3)\r\n element.isSelected = true;\r\n else\r\n element.isSelected = false;\r\n });\r\n }\r\n if (testDateIndex >= 0) {\r\n datafields[testDateIndex].fieldValue = \"\"; \r\n }\r\n }\r\n setDatafields([...datafields]);\r\n }\r\n\r\n const checkTestResultDropDown = (e, fields) => {\r\n const testResIndex = datafields?.findIndex((item) => item.dataFieldName === \"Test Result\");\r\n datafields[testResIndex]?.validatedValues?.forEach(element => {\r\n if (element?.dataFieldLookupId === e.value)\r\n element.isSelected = true;\r\n else\r\n element.isSelected = false;\r\n });\r\n if (e.value) {\r\n const testDateIndex = datafields?.findIndex((item) => item.dataFieldName === \"Test Date\");\r\n const items = fields?.validatedValues?.filter((item) => item.dataFieldLookupId === e.value);\r\n if (items[0]?.dataFieldLookupValue !== \"Not Tested\") {\r\n datafields[testDateIndex].fieldValue = moment(new Date()).utcOffset((loggedInUserDetails?.userDefaults?.siteOffset)).format(\"YYYY-MM-DD HH:mm:ss\");\r\n }\r\n }\r\n setDatafields([...datafields]);\r\n }\r\n\r\n const getErrorMsg = (fields, options) => {\r\n if (options?.value) {\r\n let invalidCharacters: any = blockedNonKeyboardCharacters(options?.value);\r\n if (invalidCharacters != null && invalidCharacters.length > 0) {\r\n return \"Non-Keyboard character(s) \" + invalidCharacters.join() + \" is not allowed\";\r\n }\r\n }\r\n if (options?.value && options?.value.length > fields?.maxLength){\r\n return 'Exceeds maximum character';\r\n }\r\n if (fields?.mandatory) {\r\n if (!options?.value)\r\n return 'This field is required';\r\n } else {\r\n return ''\r\n }\r\n };\r\n\r\n const getEquipmentColumn = (generalProperties, datafields) => {\r\n\r\n const columnInfo: any = [];\r\n if (generalProperties?.length) {\r\n for (var i = 0; i < generalProperties?.length; i++) {\r\n if (generalProperties[i]?.propertyType !== \"INTERNAL\") {\r\n let flexValue = '1 0 150px';\r\n switch (generalProperties[i]?.name) {\r\n case 'Internal Notes':\r\n flexValue = '1 0 300px';\r\n break;\r\n case 'Comment':\r\n flexValue = '1 0 300px';\r\n break;\r\n case 'Test Method':\r\n flexValue = '1 0 120px';\r\n break;\r\n case 'Test Result':\r\n flexValue = '1 0 120px';\r\n break;\r\n case 'Test Date':\r\n flexValue = '1 0 140px';\r\n break;\r\n case 'Rec':\r\n flexValue = '1 0 70px';\r\n break;\r\n default:\r\n flexValue = '1 0 200px'; \r\n break;\r\n }\r\n let data: any = {\r\n field: generalProperties[i]?.name,\r\n header: generalProperties[i]?.alias,\r\n style: { flex: flexValue },\r\n sortable: true,\r\n }\r\n if (datafields?.length) {\r\n const filterData = datafields?.filter((item) => item?.uniqueDataFieldId === generalProperties[i]?.uniqueDataFieldId);\r\n if (filterData?.length) {\r\n if ([\"Text Box\", \"Text Area\"].includes(filterData[0]?.dataEntryControl?.dataEntryControlName)) {\r\n data.editor = (options) => {\r\n if (options?.field === \"Address\") {\r\n options.value = filterData[0]?.fieldValue\r\n }\r\n else if(options?.field != \"Dev Reading\"){ \r\n options.value = filterData[0]?.fieldValue\r\n }\r\n else if (options?.field == \"Dev Reading\" && ((options.rowData[\"Dev Reading\"] == \"\") || (options.rowData[\"Dev Reading\"] == null))) {\r\n options.value = \"\";\r\n }\r\n return CustomTextEditor(options, filterData[0]);\r\n }\r\n } else if (filterData[0]?.dataEntryControl?.dataEntryControlName === \"Date Picker\") {\r\n data.editor = (options) => CustomDateEditor(options, filterData[0]);\r\n } else if (filterData[0]?.dataEntryControl?.dataEntryControlName === \"Date Time Picker\") {\r\n\r\n if(filterData[0].dataFieldName === \"Dev Reading Date\") {\r\n data.editor = (options) =>CustomDevReadingDateTimeEditor(options, filterData[0]) \r\n } else if(filterData[0].dataFieldName === \"Test Date\") {\r\n data.editor = (options) =>CustomTestDateTimeEditor(options, filterData[0]) \r\n } \r\n else {\r\n data.editor = (options) => CustomDateTimeEditor(options, filterData[0])\r\n }\r\n \r\n } else if (filterData[0]?.dataEntryControl?.dataEntryControlName === \"Drop-down list\") {\r\n data.editor = (options) => {\r\n const filterItem = filterData[0]?.validatedValues?.filter((item) => item.isSelected);\r\n if (filterItem?.length) {\r\n options.value = filterItem[0]?.dataFieldLookupId;\r\n }\r\n return CustomDropDownEditor(options, filterData[0])\r\n }\r\n } \r\n }\r\n }\r\n columnInfo.push(data);\r\n }\r\n }\r\n }\r\n return columnInfo;\r\n }\r\n\r\n //editor \r\n const CustomTextEditor = (options, fields) => {\r\n const errorMsg = getErrorMsg(fields, options);\r\n\r\n const onChange = (e) => {\r\n if (options?.field === \"Address\") {\r\n const index = datafields?.findIndex((item) => item?.uniqueDataFieldId === fields?.uniqueDataFieldId);\r\n datafields[index].fieldValue = e.target.value;\r\n setDatafields(datafields)\r\n } else if(options?.field === \"Dev Reading\") {\r\n const index = datafields?.findIndex((item) => item?.dataFieldName === \"Dev Reading Date\");\r\n const devReadingDateindex = datafields?.findIndex((item) => item.dataFieldName === \"Dev Reading Date\");\r\n const devReadingindex = datafields?.findIndex((item) => item.dataFieldName === \"Dev Reading\");\r\n if(devReadingDateindex > 0){\r\n if(e.currentTarget.value.length > 0) {\r\n datafields[devReadingDateindex].disabled = false;\r\n datafields[index].disabled = false;\r\n datafields[index].fieldValue =moment(new Date()).utcOffset(loggedInUserDetails?.userDefaults?.siteOffset).format(\"YYYY-MM-DD HH:mm:ss\");\r\n setDevReadingDate(moment(new Date()).utcOffset(loggedInUserDetails?.userDefaults?.siteOffset)) \r\n }\r\n else {\r\n datafields[index].fieldValue = \"\";\r\n datafields[index].disabled = true;\r\n datafields[devReadingDateindex].disabled = true;\r\n setDevReadingDate(undefined)\r\n }\r\n }\r\n if (e.currentTarget.value.length === 0) {\r\n datafields[devReadingindex].fieldValue = \"\";\r\n }\r\n setDatafields([...datafields])\r\n }\r\n else{\r\n const index = datafields?.findIndex((item) => item?.uniqueDataFieldId === fields?.uniqueDataFieldId);\r\n datafields[index].fieldValue = e.target.value;\r\n setDatafields(datafields)\r\n }\r\n }\r\n\r\n return (\r\n <>\r\n {\r\n options.editorCallback(e.target.value);\r\n onChange(e)\r\n }} />\r\n {errorMsg && {errorMsg}}\r\n \r\n )\r\n }\r\n\r\n const CustomDateEditor = (options, fields) => {\r\n return ( options.editorCallback(\"\")}\r\n onChange={(e) => options.editorCallback(e.target.value)\r\n } />)\r\n }\r\n const onCustomDateTimeChange = (e,fields) => {\r\n if (fields.dataFieldName === \"Dev Reading Date\") {\r\n dispatch(setIsDevReadingChanged('D'));\r\n } \r\n if(fields.dataFieldName === \"Test Date\"){\r\n dispatch(setIsTestedDateChanged('T'));\r\n }\r\n }\r\n const CustomDateTimeEditor = (options, fields) => {\r\n return ( options.editorCallback(\"\")}\r\n onChange={(e) => options.editorCallback(e.target.value)}\r\n footerTemplate={() =>
\r\n \r\n
}\r\n />)\r\n }\r\n\r\n const CustomDevReadingDateTimeEditor = (options, fields) => {\r\n if (/^]*>[\\s\\S]*<\\/span>$/.test(options.value)) {\r\n options.value = options.value.replace(/<[^>]*>/g, '');\r\n }\r\n return ( options.editorCallback(moment(new Date()).utcOffset((loggedInUserDetails?.userDefaults?.siteOffset)).format(\"YYYY-MM-DD HH:mm:ss\"))}\r\n value = { (options.rowData[\"Dev Reading\"] === \"\")||(options.rowData[\"Dev Reading\"] === null) ? \"\" : options.value === null ? new Date( moment(new Date()).utcOffset(loggedInUserDetails?.userDefaults?.siteOffset).format(\"YYYY-MM-DD HH:mm:ss\")) : new Date(options.value)}\r\n onChange={(e) => { options.editorCallback(e.target.value); onCustomDateTimeChange(e, fields) }}\r\n footerTemplate={() =>
\r\n \r\n
}\r\n />)\r\n }\r\n\r\n const CustomTestDateTimeEditor = (options, fields) => {\r\n if (/^]*>[\\s\\S]*<\\/span>$/.test(options.value)) {\r\n options.value = options.value.replace(/<[^>]*>/g, '');\r\n }\r\n return ( options.editorCallback( moment(new Date()).utcOffset(loggedInUserDetails?.userDefaults?.siteOffset).format(\"YYYY-MM-DD HH:mm:ss\"))}\r\n value = {(options.rowData[\"Test Method\"] === \"None\")||(options.rowData[\"Test Method\"] === 0)? \"\" : options.value === null ?new Date( moment(new Date()).utcOffset(loggedInUserDetails?.userDefaults?.siteOffset).format(\"YYYY-MM-DD HH:mm:ss\")) : new Date(options.value)} \r\n onChange={(e) => { options.editorCallback(e.target.value); onCustomDateTimeChange(e, fields) }}\r\n footerTemplate={() =>
\r\n \r\n
}\r\n />)\r\n }\r\n\r\n const CustomDropDownEditor = (options, fields) => {\r\n const onselectionchange = (e, field) => {\r\n if (field?.dataFieldRelation) {\r\n let service: any = field?.dataFieldRelation?.subSetValueService;\r\n if (service !== undefined) {\r\n service = service.replace(\"{dataFieldLookupId}\", e?.value);\r\n dispatch(getDatafieldValues(service, field?.dataFieldRelation?.childDataFieldId, body))\r\n }\r\n const index = datafields?.findIndex((item) => item?.uniqueDataFieldId === field?.uniqueDataFieldId);\r\n datafields[index]?.validatedValues?.forEach(element => {\r\n if (element?.dataFieldLookupId === e.value)\r\n element.isSelected = true;\r\n else\r\n element.isSelected = false;\r\n });\r\n setDatafields(datafields);\r\n } else {\r\n if (field?.dataFieldName === \"Test Method\") {\r\n checkTestMethodDropDown(e)\r\n const index = datafields?.findIndex((item) => item?.dataFieldName === \"Test Date\");\r\n const indexTestMethod = datafields?.findIndex((item) => item?.dataFieldName === \"Test Method\");\r\n const items = datafields[indexTestMethod]?.validatedValues?.filter((item) => (e.target.value === item.dataFieldLookupId));\r\n if (items[0]?.dataFieldLookupValue !== \"None\") {\r\n datafields[index].disabled = false;\r\n }\r\n else{\r\n datafields[index].disabled = true;\r\n }\r\n if(e.target.value === 1 || e.target.value === 2){\r\n datafields[index].disabled = false;\r\n datafields[index].fieldValue =moment(new Date()).utcOffset(loggedInUserDetails?.userDefaults?.siteOffset).format(\"YYYY-MM-DD HH:mm:ss\");\r\n setTestDate(moment(new Date()).utcOffset(loggedInUserDetails?.userDefaults?.siteOffset));\r\n }\r\n else{\r\n datafields[index].fieldValue = \"\";\r\n setTestDate(undefined)\r\n }\r\n }\r\n else if (field?.dataFieldName === \"Test Result\") {\r\n checkTestResultDropDown(e, fields)\r\n const index = datafields?.findIndex((item) => item?.dataFieldName === \"Test Date\");\r\n if(e.target.value === 1 ||e.target.value === 2){\r\n datafields[index].disabled = false;\r\n datafields[index].fieldValue =moment(new Date()).utcOffset(loggedInUserDetails?.userDefaults?.siteOffset).format(\"YYYY-MM-DD HH:mm:ss\");\r\n setTestDate(moment(new Date()).utcOffset(loggedInUserDetails?.userDefaults?.siteOffset));\r\n }\r\n else{\r\n datafields[index].fieldValue = \"\";\r\n setTestDate(undefined)\r\n }\r\n } else {\r\n const index = datafields?.findIndex((item) => item?.uniqueDataFieldId === field?.uniqueDataFieldId);\r\n datafields[index]?.validatedValues?.forEach(element => {\r\n if (element?.dataFieldLookupId === e.value)\r\n element.isSelected = true;\r\n else\r\n element.isSelected = false;\r\n });\r\n \r\n }\r\n setDatafields([...datafields]) \r\n }\r\n }\r\n\r\n return ( {\r\n options.editorCallback(e.value);\r\n onselectionchange(e, fields)\r\n }}\r\n placeholder=\"--Select--\"\r\n />)\r\n }\r\n return (\r\n <>\r\n )\r\n}\r\n\r\nexport default memo(EquipmentListData)","import React, { useEffect, useState } from \"react\";\r\nimport { Dialog } from \"primereact/dialog\";\r\n\r\nimport ReportViewer from \"components/common/Report/ReportViewer\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { createReportPreviewSession, setReportPreviewSession } from \"redux/pages/Administration/Site/siteSlice\";\r\n\r\ninterface Props {\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n reportFlag: string;\r\n selectedRows: any;\r\n uniqueInspectionTaskId: string;\r\n uniqueSystemId: string;\r\n selectedEquipmentGroup: number;\r\n selectedEquipmentType: string;\r\n filterBody: any;\r\n sortField: any;\r\n sortOrder: any;\r\n}\r\n\r\nexport const InspectionDetailsReport: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => { },\r\n reportFlag = '',\r\n selectedRows = [],\r\n uniqueInspectionTaskId = \"\",\r\n uniqueSystemId = \"\",\r\n selectedEquipmentGroup = 0,\r\n selectedEquipmentType = \"\",\r\n filterBody = {},\r\n sortField = '',\r\n sortOrder = ''\r\n}) => {\r\n const [reportId, setReportId] = useState(null);\r\n const reportPreviewSession = useAppSelector((state) => state.site.reportPreviewSession);\r\n const dispatch = useDispatch();\r\n\r\n const getSelectedIds = () => {\r\n let params: any = [];\r\n selectedRows.map(item => {\r\n params.push(item.EquipmentId);\r\n });\r\n return params;\r\n };\r\n\r\n useEffect(() => {\r\n let params;\r\n if (reportFlag === 'all') {\r\n params = \"\";\r\n } else {\r\n params = getSelectedIds();\r\n }\r\n const reportParameters = {\r\n reportParameters: {\r\n uniqueInspectionTaskId: uniqueInspectionTaskId,\r\n uniqueSystemId: uniqueSystemId,\r\n uniqueEquipmentTypeId: selectedEquipmentType,\r\n panelId: selectedEquipmentGroup,\r\n sortColumn: sortField,\r\n\t\t\t\tsortOrder: sortOrder,\r\n selectedIds: params,\r\n ...filterBody,\r\n },\r\n reportType: \"Equipment Details Report\"\r\n };\r\n dispatch(createReportPreviewSession(reportParameters));\r\n \r\n return(()=>{\r\n\t\t\tdispatch(setReportPreviewSession(\"\"));\r\n\t\t})\r\n }, []);\r\n\r\n useEffect(() => {\r\n if (reportPreviewSession) {\r\n setReportId(reportPreviewSession.previewSessionId);\r\n }\r\n }, [reportPreviewSession])\r\n\r\n return (\r\n <>\r\n {\r\n dispatch(setReportPreviewSession(\"\"));\r\n setShowModal(false);\r\n }}\r\n className=\"display-settings report selectsite\"\r\n style={{ width: \"90vw\", height: \"600px\" }}\r\n >\r\n
\r\n
\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default InspectionDetailsReport;\r\n","import React, { useState, useCallback, useRef, useEffect, memo } from \"react\";\r\nimport { useForm, Controller } from \"react-hook-form\";\r\nimport { Dialog } from \"primereact/dialog\";\r\nimport { Dropdown } from \"primereact/dropdown\";\r\nimport { Button } from \"primereact/button\";\r\nimport { InputText } from \"primereact/inputtext\";\r\nimport { classNames } from \"primereact/utils\";\r\nimport PopOver from \"components/common/PopOver/PopOver\";\r\nimport { ProgressSpinner } from 'primereact/progressspinner';\r\nimport { OverlayPanel } from \"primereact/overlaypanel\";\r\nimport moment from \"moment\";\r\nimport DisplaySetting from \"components/common/DisplaySetting/DisplaySetting\";\r\n//icons\r\nimport { BsExclamationCircleFill, BsPaperclip, BsPlusLg, BsFillPencilFill, BsTrashFill } from \"react-icons/bs\";\r\nimport { IoIosCopy, IoIosFunnel } from \"react-icons/io\";\r\nimport { FaChevronDown, FaCog, FaDownload } from \"react-icons/fa\";\r\nimport { BiRefresh } from \"react-icons/bi\";\r\n\r\n//components\r\nimport DataTableComponent from \"components/Table/DataTable\";\r\nimport AddEquipment from \"./Manage/AddEquipment/AddEquipment\";\r\nimport EditEquipment from \"./Manage/EditEquipment/EditEquipment\";\r\nimport FilterEquipment from \"./Manage/FilterEquipment/FilterEquipment\";\r\nimport AdvancedSearch from \"./Manage/AdvanceSearch/AdvancedSearch\";\r\nimport AddEquipmentList from \"./ManageEquipmentGrp/AddEquipmentGroup\";\r\nimport EditEquipmentList from \"./ManageEquipmentGrp/EditEquipmentGroup\";\r\nimport EquipmentListDataImport from \"./DataImport/EquipmentListDataImport\";\r\nimport ImportEquipment from \"pages/InspectionTasks/ImportEquipment/ImportEquipment\";\r\nimport Connectivity from \"pages/InspectionTasks/Connectivity/Connectivity\";\r\nimport MultipleEditEquipment from \"./Manage/MultipleEditEquipment/MultipleEditEquipment\";\r\nimport CloneEquipment from \"./Manage/CloneEquipment/CloneEquipment\";\r\nimport InformationBox from \"components/common/Message/InformationBox/InformationBox\";\r\nimport ConfirmationBox from \"components/common/Message/ConfirmationBox/ConfirmationBox\";\r\nimport AttachmentList from \"./Manage/Attachments/AttachmentList\";\r\nimport EquipmentListData from \"./EquipmentListData\";\r\nimport InspectionDetailsReport from \"../Report/InspectionDetailsReport\";\r\n\r\n\r\n//redux\r\nimport { useDispatch } from \"react-redux\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\nimport {\r\n\tgetEquipmentDatafields,\r\n\tgetEquipmentList,\r\n\tgetEquipmentPanelList,\r\n\tgetEquipmentTypeListWithDefaultEquipmentClass,\r\n\tonEquipmentDetailsCloned,\r\n\tonEquipmentDetailsSaved,\r\n\tonEquipmentDetailsUpdated,\r\n\tonEquipmentImportCheck,\r\n\tonEquipmentUsageChecked,\r\n\tsetEquipmentDatafields,\r\n\tsetEquipmentImportCheckData,\r\n\tsetEquipmentList,\r\n\tsetNewEquipment,\r\n\tsetRemovedEquipment,\r\n\tsetUpdatedEquipment,\r\n\tonConnectAssociatedDevices,\r\n\tsetUpdatedEquipmentAddress,\r\n\tonGetMultipleEditEquipmentData,\r\n\tonMultipleEditEquipmentDataUpdate,\r\n\tsetMultipleUpdatedData,\r\n\tsetMultipleEditDatafields,\r\n\tonGetArchievedSearches,\r\n\tsetArchievedSearches,\r\n\tsetNewEquipmentGroup,\r\n\tsetUpdatedEquipmentGroup,\r\n\tsetEquipmentPanelList,\r\n\tsetUploadedExcels,\r\n\tsetExcelMappingColumn,\r\n\tsetWorksheets,\r\n\tonResetEquipments,\r\n\tonEquipmentRemoved,\r\n\tsetFetchedEquipmentData,\r\n\tsetIsDevReadingChanged,\r\n\tsetIsTestedDateChanged,\r\n\tsetEquipmentAttachmentlist,\r\n\tsetUserDefaultEquipmentClass,\r\n\tsetIsEquipmentClassDropdownChanged,\r\n\taddUserDefaultEquipmentClass\r\n} from \"redux/pages/Inspection/InspectionTask/InspectionDetails/Equipment/EquipmentSlice\";\r\nimport { onExportReport } from \"redux/common/report/customizeReportSlice\";\r\nimport { setProgressFlag } from \"redux/common/commonSlice\";\r\nimport { setSelectedFailedEquipment } from \"redux/pages/Dashboard/dashboardSlice\";\r\n\r\n//utility\r\nimport { blockedNonKeyboardCharacters, showUI } from 'service/GeneralUtility';\r\n\r\n\r\n\r\ntype EqpGroupFormData = {\r\n\taddress: string;\r\n\tname: string;\r\n\ttype: string;\r\n};\r\n\r\nconst EQPGROUP_ACTIVETAB = {\r\n\tADD: \"ADD\",\r\n\tEDIT: \"EDIT\",\r\n};\r\n\r\ninterface EquipmentListPropType {\r\n\tselectedTask?: any;\r\n}\r\n\r\nconst EquipmentList: React.FC = (props) => {\r\n\tconst { selectedTask } = props;\r\n\r\n\tconst [pageIndex, setPageIndex] = useState(0);\r\n\tconst [currentStart, setCurrentStart] = useState(0);\r\n\tconst [sortField, setSortField] = useState(\"\");\r\n\tconst [sortOrder, setSortOrder] = useState(\"\");\r\n\tconst [selectedRows, setSelectedRows] = useState([]);\r\n\tconst [selectedEquipmentGroup, setSelectedEquipmentGroup] = useState(null);\r\n\tconst [selectedEquipmentType, setSelectedEquipmentType] = useState(null);\r\n\tconst [showFilterEquipment, setShowFilterEquipment] = useState(false);\r\n\tconst [showAdvancedSearch, setShowAdvancedSearch] = useState(false);\r\n\tconst [showEqpGroupModal, setShowEqpGroupModal] = useState(false);\r\n\tconst [activeTab, setActiveTab] = useState(EQPGROUP_ACTIVETAB.ADD);\r\n\tconst [showImportEquipment, setShowImportEquipment] = useState(false);\r\n\tconst [showDisplaySetting, setShowDisplaySetting] = useState(false);\r\n\tconst settingRef = React.createRef();\r\n\tconst eqpForm: any = useRef();\r\n\tconst downloadRef = React.createRef();\r\n\r\n\tconst [columns, setColumns] = useState([]);\r\n\tconst [backupColumns, setBackupColumns] = useState([]);\r\n\tconst [filteredBody, setFilteredBody] = useState(null);\r\n\tconst [tableColumns, setTableColumns] = useState>(backupColumns);\r\n\tconst [gridData, setGridData] = useState([]);\r\n\tconst [showAddEquipment, setShowAddEquipment] = useState(false);\r\n\tconst [showEditEquipment, setShowEditEquipment] = useState(false);\r\n\tconst [showCloneEquipment, setShowCloneEquipment] = useState(false);\r\n\tconst [showDeletePrompt, setShowDeletePrompt] = useState(false);\r\n\tconst [removedEquipmentIds, setRemovedEquipmentIds] = useState([]);\r\n\tconst [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n\tconst [message, setMessage] = useState(\"\");\r\n\tconst [pageDetails, setPageDetails] = useState();\r\n\tconst [editOrClone, setEditOrClone] = useState(\"\");\r\n\tconst [showAddEquipmentList, setShowAddEquipmentList] = useState(false);\r\n\tconst [showEquipmentListDatImport, setShowEquipmentListDataImport] = useState(false);\r\n\tconst [showEditEquipmentList, setShowEditEquipmentList] = useState(false);\r\n\tconst [showConnectivityModal, setShowConnectivityModal] = useState(false);\r\n\tconst [showConnectivityPrompt, setShowConnectivityPrompt] = useState(false);\r\n\tconst [excelDetails, setExcelDetails] = useState();\r\n\tconst [excelBodyInfo, setExcelBodyInfo] = useState();\r\n\tconst [showIcon, setShowIcon] = useState(true);\r\n\tconst [showMultipleEditEquipment, setShowMultipleEditEquipment] = useState(false);\r\n\tconst [generalProperties, setGeneralProperties] = useState([]);\r\n\tconst [equipmentPanels, setEquipmentPanels] = useState([]);\r\n\tconst [showReportModal, setShowReportModal] = useState(false);\r\n\tconst [reportFlag, setReportFlag] = useState('all');\r\n\tconst [displayConfirmModal, setDisplayConfirmModal] = useState(false);\r\n\tconst [isReset, setIsReset] = useState(false);\r\n\tconst [showAttachmentListModal, setShowAttachmentListModal] = useState(false);\r\n\tconst [showProgressBar, setShowProgressBar] = useState(false);\r\n\tconst [showModalProgress, setShowModalProgress] = useState(false);\r\n\tconst [inLineDataFields, setInLineDataFields] = useState([]);\r\n\tconst [datafields, setDatafields] = useState([]);\r\n\r\n\tconst dispatch = useDispatch();\r\n\tconst equipmentList = useAppSelector((state) => state.equipment.equipmentList);\r\n\tconst equipmentPanelList = useAppSelector((state) => state.equipment.equipmentPanelList);\r\n\tconst equipmentTypeList = useAppSelector((state) => state.equipment.equipmentTypeList);\r\n\tconst equipmentDatafields = useAppSelector((state) => state.equipment.equipmentDatafields);\r\n\tconst newEquipment = useAppSelector((state) => state.equipment.newEquipment);\r\n\tconst updateEquipment = useAppSelector((state) => state.equipment.updatedEquipment);\r\n\tconst removedEquipment = useAppSelector((state) => state.equipment.removedEquipment);\r\n\tconst equipmentImportCheckData = useAppSelector((state) => state.equipment.equipmentImportCheckData);\r\n\tconst updatedEquipmentAddress = useAppSelector((state) => state.equipment.updatedEquipmentAddress);\r\n\tconst multipleEditDatafields = useAppSelector((state) => state.equipment.multipleEditDatafields);\r\n\tconst multipleUpdatedData = useAppSelector((state) => state.equipment.multipleUpdatedData);\r\n\tconst archievedSearches = useAppSelector((state) => state.equipment.archievedSearches);\r\n\tconst userPrivileges = useAppSelector((state) => state.user.userPrivileges);\r\n\tconst newEquipmentGroup = useAppSelector((state) => state.equipment.newEquipmentGroup);\r\n\tconst updatedEquipmentGroup = useAppSelector((state) => state.equipment.updatedEquipmentGroup);\r\n\tconst typeOfEquipmentList = useAppSelector((state) => state.equipment.typeOfEquipmentList);\r\n\tconst fetchedEquipmentData = useAppSelector((state) => state.equipment.fetchedEquipmentData);\r\n\tconst selectedFailedEquipment = useAppSelector((state) => state.dashboard.selectedFailedEquipment);\r\n\tconst isDevReadingChanged = useAppSelector((state) => state.equipment.isDevReadingChanged);\r\n\tconst isTestDateChanged = useAppSelector((state) => state.equipment.IsTestDateChanged);\r\n\tconst equipmentAttachmentlist = useAppSelector((state) => state.equipment.equipmentAttachmentlist);\r\n\tconst loggedInUserDetails = useAppSelector((state) => state.administration.loggedInUserDetails);\r\n\tconst userDefaultEquipmentClass = useAppSelector((state) => state.equipment.userDefaultEquipmentClass);\r\n\r\n\tconst {\r\n\t\tcontrol,\r\n\t\thandleSubmit,\r\n\t\tformState: { errors },\r\n\t} = useForm({\r\n\t\tdefaultValues: {\r\n\t\t\taddress: \"\",\r\n\t\t\tname: \"\",\r\n\t\t\ttype: \"\",\r\n\t\t},\r\n\t});\r\n\t\r\n\tuseEffect(() => {\r\n\t\tif (backupColumns) {\t\t\r\n\t\t\tsetTableColumns(columns);\r\n\t\t}\r\n\t}, [backupColumns]);\r\n\r\n\r\n\tuseEffect(() => {\r\n\t\tif (tableColumns) {\r\n\t\t\tsetColumns(tableColumns)\r\n\t\t}\r\n\t}, [tableColumns])\r\n\r\n\r\n\tuseEffect(() => {\r\n\t\tif (selectedTask && selectedTask.uniqueInspectionTaskId) {\r\n\t\t\tif (selectedTask?.status === \"Closed\" || selectedTask?.status === \"Completed\" || selectedTask?.status === \"Inactive\")\r\n\t\t\t\tsetShowIcon(false)\r\n\t\t\telse\r\n\t\t\t\tsetShowIcon(true)\r\n\t\t\tdispatch(getEquipmentPanelList(selectedTask?.uniqueInspectionTaskId));\r\n\t\t\tdispatch(getEquipmentTypeListWithDefaultEquipmentClass(userDefaultEquipmentClass,selectedTask?.uniqueInspectionTaskId));\r\n\t\t}\t\t\r\n\t\tsetDisplayInfoModal(false);\r\n\t}, [selectedTask]);\r\n\r\n\tuseEffect(() => {\r\n\t\tif (equipmentPanelList.length > 0) {\r\n\t\t\tsetEquipmentPanels(equipmentPanelList)\r\n\t\t\tif (equipmentPanelList.length > 1)\r\n\t\t\t\tsetSelectedEquipmentGroup(equipmentPanelList[1].equipmentId);\r\n\t\t\telse\r\n\t\t\t\tsetSelectedEquipmentGroup(equipmentPanelList[0].equipmentId);\r\n\t\t\tdispatch(setEquipmentPanelList(\"\"));\r\n\t\t}\r\n\t\tif (equipmentTypeList) {\r\n\t\t\tsetSelectedEquipmentType(userDefaultEquipmentClass);\r\n\t\t}\r\n\t}, [equipmentPanelList, equipmentTypeList]);\r\n\r\n\r\n useEffect(() =>{\r\n\tif(equipmentAttachmentlist.length > 0 ){\r\n\t\tlet equipmentData = JSON.parse(JSON.stringify(gridData));\r\n\t\tlet currentIndex = gridData.findIndex((item: any) => item.EquipmentId === selectedRows[0].EquipmentId);\r\n\t\tequipmentData[currentIndex][\"Edited By\"] = equipmentAttachmentlist[0].uploadedBy\r\n\t\tsetGridData(equipmentData)\r\n\t\tdispatch(setEquipmentAttachmentlist([]));\r\n\t}\r\n },[equipmentAttachmentlist])\r\n\r\n\tuseEffect(() => {\r\n\t\tif (selectedEquipmentGroup != null && selectedEquipmentType != null) {\r\n\t\t\tconst body = {\r\n\t\t\t\tuniquePanelId: selectedEquipmentGroup,\r\n\t\t\t\tuniqueEquipmentClassId: selectedEquipmentType !== \"All\" ? selectedEquipmentType : null,\r\n\t\t\t\tuniqueSystemId: selectedTask?.system?.uniqueSystemId,\r\n\t\t\t\tinspectionTaskStatus: selectedTask?.status,\r\n\t\t\t\tfilterType: \"NONE\"\r\n\t\t\t};\r\n\t\t\tdispatch(getEquipmentList(selectedTask?.uniqueInspectionTaskId, body, 0));\r\n\t\t\tsetPageIndex(0);\r\n\t\t}\r\n\t}, [selectedTask, selectedEquipmentGroup, selectedEquipmentType]);\r\n\r\n\tuseEffect(() => {\r\n\t\tif (newEquipmentGroup) {\r\n\t\t\tlet lists = JSON.parse(JSON.stringify(equipmentPanels))\r\n\t\t\tif (newEquipmentGroup?.equipmentId > 0) {\r\n\t\t\t\tconst filtered = equipmentPanels?.filter((item) => item?.equipmentId === 0);\r\n\t\t\t\tif (lists.length && filtered?.length === 0) {\r\n\t\t\t\t\tlists.splice(0, 0, { equipmentId: 0, name: \"All\" });\r\n\t\t\t\t}\r\n\t\t\t\tlists.push(newEquipmentGroup)\r\n\t\t\t\tsetMessage(\"Equipment data added\");\r\n\t\t\t\tsetEquipmentPanels(lists);\r\n\t\t\t\tsetSelectedEquipmentGroup(newEquipmentGroup?.equipmentId);\r\n\t\t\t\tsetShowAddEquipmentList(false);\r\n\t\t\t} else {\r\n\t\t\t\tsetMessage(\"Address already in use, cannot be added\");\r\n\t\t\t}\r\n\t\t\tsetDisplayInfoModal(true);\r\n\t\t\tdispatch(setNewEquipmentGroup(\"\"));\r\n\t\t}\r\n\t}, [newEquipmentGroup]);\r\n\r\n\tuseEffect(() => {\r\n\t\tif (updatedEquipmentGroup) {\r\n\t\t\tlet lists = JSON.parse(JSON.stringify(equipmentPanels));\r\n\t\t\tconst index = lists?.findIndex((item) => item?.equipmentId === updatedEquipmentGroup?.equipmentId);\r\n\t\t\tif (index >= 0) {\r\n\t\t\t\tlists[index].name = updatedEquipmentGroup?.name;\r\n\t\t\t}\r\n\t\t\tsetEquipmentPanels([...lists]);\r\n\t\t\tsetMessage(\"Equipment data updated\");\r\n\t\t\tsetDisplayInfoModal(true);\r\n\t\t\tdispatch(setUpdatedEquipmentGroup(\"\"));\r\n\t\t\tsetShowEditEquipmentList(false)\r\n\t\t}\r\n\t}, [updatedEquipmentGroup])\r\n\r\n\tuseEffect(() => {\r\n\t\tif (equipmentList) {\r\n\t\t\tif (typeOfEquipmentList !== \"ADVANCED_FILTER\") {\r\n\t\t\t\tsetEquipmentData(equipmentList);\r\n\t\t\t} else {\r\n\t\t\t\tif (equipmentList?.data?.length) {\r\n\t\t\t\t\tsetEquipmentData(equipmentList);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}, [equipmentList]);\r\n\r\n\tuseEffect(() => {\r\n\t\tif (equipmentDatafields) {\r\n\t\t\tsetDatafields(equipmentDatafields);\r\n\t\t\tdispatch(setEquipmentDatafields(\"\"));\r\n\t\t}\r\n\t}, [equipmentDatafields])\r\n\r\n\tconst setEquipmentData = (list) => {\r\n\t\tsetGridData([...list?.data]);\r\n\t\tif (list?.data?.length) {\r\n\t\t\tif (selectedFailedEquipment) {\r\n\t\t\t\tlet index = list?.data.findIndex(element => element.EquipmentId === +(selectedFailedEquipment));\r\n\t\t\t\tif (index !== -1) {\r\n\t\t\t\t\tsetSelectedRows([list?.data[index]]);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tsetSelectedRows([list?.data[0]]);\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tsetSelectedRows([list?.data[0]]);\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tsetSelectedRows([]);\r\n\t\t}\r\n\t\tsetPageDetails(list?.pageDetails);\r\n\t\tsetGeneralProperties(list?.generalProperties)\r\n\t\tdispatch(setEquipmentList(\"\"));\r\n\t\tsetShowFilterEquipment(false);\r\n\t\tsetShowAdvancedSearch(false);\r\n\t\tdispatch(setArchievedSearches(\"\"));\r\n\t}\r\n\r\n\tuseEffect(() => {\r\n\t\tif (newEquipment) {\r\n\t\t\tif (newEquipment.isSuccess === true) {\r\n\t\t\t\tgridData?.unshift(newEquipment.data);\r\n\t\t\t\tsetGridData([...gridData]);\r\n\t\t\t\tsetMessage(\"Equipment added\");\r\n\t\t\t\tsetDisplayInfoModal(true);\r\n\t\t\t\tsetSelectedRows([newEquipment.data]);\r\n\t\t\t} else {\r\n\t\t\t\tsetMessage(newEquipment?.message);\r\n\t\t\t\tsetDisplayInfoModal(true);\r\n\t\t\t}\r\n\t\t\tdispatch(setNewEquipment(\"\"));\r\n\t\t\tsetShowModalProgress(false);\r\n\t\t}\r\n\t}, [newEquipment]);\r\n\r\n\tuseEffect(() => {\r\n\t\tif (updateEquipment) {\r\n\t\t\tif (updateEquipment.isSuccess === true) {\r\n\t\t\t\tconst findIndex = gridData?.findIndex((item) => item.EquipmentId === updateEquipment?.data?.EquipmentId);\r\n\t\t\t\tif (findIndex >= 0) {\r\n\t\t\t\t\tgridData[findIndex] = updateEquipment.data;\r\n\t\t\t\t\tsetGridData([...gridData]);\r\n\t\t\t\t\tsetSelectedRows([updateEquipment.data]);\r\n\t\t\t\t\tsetMessage(\"Equipment updated\");\r\n\t\t\t\t\tsetDisplayInfoModal(true);\r\n\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\tsetMessage(\"\");\r\n\t\t\t\t\t\tsetDisplayInfoModal(false);\r\n\t\t\t\t\t}, 2000);\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tsetMessage(updateEquipment?.message);\r\n\t\t\t\tsetDisplayInfoModal(true);\r\n\t\t\t}\r\n\t\t\tdispatch(setUpdatedEquipment(\"\"));\r\n\t\t}\r\n\t\tsetShowModalProgress(false);\r\n\t\tsetShowProgressBar(false);\r\n\t\tsetInLineDataFields([]);\r\n\t}, [updateEquipment]);\r\n\r\n\tuseEffect(() => {\r\n\t\tif (multipleUpdatedData) {\r\n\t\t\tmultipleUpdatedData?.forEach(element => {\r\n\t\t\t\tconst index = gridData?.findIndex((item) => item.EquipmentId === element.EquipmentId);\r\n\t\t\t\tif (index >= 0) {\r\n\t\t\t\t\tgridData[index] = element;\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\tsetGridData([...gridData]);\r\n\t\t\tif (isReset) {\r\n\t\t\t\tsetMessage(\"Equipment Test Result values reset\");\r\n\t\t\t\tsetDisplayInfoModal(true);\r\n\t\t\t} else {\r\n\t\t\t\tsetMessage(\"Equipment updated\");\r\n\t\t\t\tsetDisplayInfoModal(true);\r\n\t\t\t}\r\n\t\t\tdispatch(setMultipleUpdatedData(\"\"));\r\n\t\t}\r\n\t}, [multipleUpdatedData])\r\n\r\n\tuseEffect(() => {\r\n\t\tif (updatedEquipmentAddress) {\r\n\t\t\tif (updatedEquipmentAddress.address && updatedEquipmentAddress.equipmentId) {\r\n\t\t\t\tconst findIndex = gridData?.findIndex((item) => item.EquipmentId === selectedRows[0]?.EquipmentId);\r\n\t\t\t\tif (findIndex >= 0) {\r\n\t\t\t\t\tgridData[findIndex] = { ...selectedRows[0], Address: updatedEquipmentAddress.address };\r\n\t\t\t\t\tsetGridData([...gridData]);\r\n\t\t\t\t\tdispatch(setUpdatedEquipmentAddress(\"\"));\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}, [updatedEquipmentAddress]);\r\n\r\n\tuseEffect(() => {\r\n\t\tif (removedEquipment) {\r\n\t\t\tif (removedEquipment?.isSuccess) {\r\n\t\t\t\tfor (let i = 0; i < removedEquipment?.equipmentIds?.length; i++) {\r\n\t\t\t\t\tconst findIndex = gridData?.findIndex((item) => item.EquipmentId == removedEquipment?.equipmentIds[i]);\r\n\t\t\t\t\tif (findIndex >= 0) {\r\n\t\t\t\t\t\tgridData.splice(findIndex, 1);\r\n\t\t\t\t\t}\r\n\t\t\t\t\tsetGridData([...gridData]);\r\n\t\t\t\t\tsetShowDeletePrompt(false);\r\n\t\t\t\t\tsetMessage(removedEquipment?.returnMessage);\r\n\t\t\t\t\tsetSelectedRows([]);\r\n\t\t\t\t\tsetDisplayInfoModal(true);\r\n\t\t\t\t\tsetRemovedEquipment([]);\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tsetDisplayInfoModal(true);\r\n\t\t\t\tsetMessage(removedEquipment?.ReturnMessage);\r\n\t\t\t}\r\n\t\t\tdispatch(setRemovedEquipment(\"\"));\r\n\t\t\tsetShowProgressBar(false);\r\n\t\t}\r\n\t}, [removedEquipment]);\r\n\r\n\tuseEffect(() => {\r\n\t\tif (equipmentImportCheckData) {\r\n\t\t\tif (equipmentImportCheckData.isSuccess === false) {\r\n\t\t\t\tif (selectedRows?.length > 1) {\r\n\t\t\t\t\tsetMessage(\"Select a single row of Equipment\");\r\n\t\t\t\t\tsetDisplayInfoModal(true);\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\tif (selectedEquipmentGroup !== null && selectedEquipmentType !== null && selectedEquipmentGroup !== 0 && selectedEquipmentType !== \"All\") {\r\n\t\t\t\t\tconst body = {\r\n\t\t\t\t\t\tUniqueInspectionTaskId: selectedTask?.uniqueInspectionTaskId,\r\n\t\t\t\t\t\tUniqueEquipmentClassId: selectedEquipmentType,\r\n\t\t\t\t\t\tEquipmentId: selectedRows?.[0]?.EquipmentId,\r\n\t\t\t\t\t\tUniquePanelId: selectedEquipmentGroup,\r\n\t\t\t\t\t\tuniqueSystemId: selectedTask?.system?.uniqueSystemId,\r\n\t\t\t\t\t};\r\n\t\t\t\t\tdispatch(getEquipmentDatafields(body));\r\n\t\t\t\t\tsetShowCloneEquipment(true);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tsetDisplayInfoModal(true);\r\n\t\t\t\t\tsetMessage(\r\n\t\t\t\t\t\tselectedEquipmentGroup === null && selectedEquipmentType === null\r\n\t\t\t\t\t\t\t? \"Select an Equipment Group and Equipment Type\"\r\n\t\t\t\t\t\t\t: selectedEquipmentGroup === 0 && selectedEquipmentType === \"All\"\r\n\t\t\t\t\t\t\t\t? \"Select an Equipment Group and Equipment Type\"\r\n\t\t\t\t\t\t\t\t: selectedEquipmentGroup === null || selectedEquipmentGroup === 0\r\n\t\t\t\t\t\t\t\t\t? \"Select an Equipment Group\"\r\n\t\t\t\t\t\t\t\t\t: selectedEquipmentType === null || selectedEquipmentType === \"All\"\r\n\t\t\t\t\t\t\t\t\t\t? \"Select an Equipment Type\"\r\n\t\t\t\t\t\t\t\t\t\t: \"\"\r\n\t\t\t\t\t);\r\n\t\t\t\t}\r\n\t\t\t} else if (equipmentImportCheckData.isSuccess === true) {\r\n\t\t\t\tsetShowCloneEquipment(false);\r\n\t\t\t\tsetMessage(\"Equipment imported via XML Parsing/TAP Bridge cannot be cloned\");\r\n\t\t\t\tsetDisplayInfoModal(true);\r\n\t\t\t}\r\n\t\t\tdispatch(setEquipmentImportCheckData(\"\"));\r\n\t\t}\r\n\t}, [equipmentImportCheckData]);\r\n\r\n\tuseEffect(() => {\r\n\t\tif (fetchedEquipmentData?.status === \"done\") {\r\n\t\t\tsetShowEquipmentListDataImport(true);\r\n\t\t\tsetShowProgressBar(false);\r\n\t\t} else if (fetchedEquipmentData?.status === \"error\") {\r\n\t\t\tsetShowProgressBar(false);\r\n\t\t\tdispatch(setFetchedEquipmentData(\"\"));\r\n\t\t}\r\n\t}, [fetchedEquipmentData])\r\n\r\n\tconst getFormErrorMessage = (name) => {\r\n\t\treturn (\r\n\t\t\terrors[name] && (\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t{errors[name].message}\r\n\t\t\t\t\r\n\t\t\t)\r\n\t\t);\r\n\t};\r\n\r\n\tconst onEquipmentFormSubmit = (data: any) => { };\r\n\r\n\tconst onError = (errors: any, e: any) => { };\r\n\r\n\tconst onPageChanged = (options: any) => {\r\n\t\tif (options !== pageIndex) {\r\n\t\t\tsetPageIndex(options);\r\n\t\t\tlet currentStart = options * pageDetails?.currentLength + 1;\r\n\t\t\tsetCurrentStart(currentStart);\r\n\t\t\tif (selectedEquipmentGroup != null && selectedEquipmentType != null) {\r\n\t\t\t\tlet body: any = {};\r\n\t\t\t\tif (typeOfEquipmentList === \"ADVANCED_FILTER\") {\r\n\t\t\t\t\tbody = filteredBody\r\n\t\t\t\t} else if (typeOfEquipmentList === \"FILTER\") {\r\n\t\t\t\t\tbody = filteredBody\r\n\t\t\t\t} else {\r\n\t\t\t\t\tbody = {\r\n\t\t\t\t\t\tuniquePanelId: selectedEquipmentGroup,\r\n\t\t\t\t\t\tuniqueEquipmentClassId: selectedEquipmentType !== \"All\" ? selectedEquipmentType : null,\r\n\t\t\t\t\t\tuniqueSystemId: selectedTask?.system?.uniqueSystemId,\r\n\t\t\t\t\t\tinspectionTaskStatus: selectedTask?.status,\r\n\t\t\t\t\t\tfilterType: \"NONE\"\r\n\t\t\t\t\t};\r\n\t\t\t\t};\r\n\t\t\t\tdispatch(getEquipmentList(selectedTask?.uniqueInspectionTaskId, body, currentStart, sortField, sortOrder));\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n\r\n\tconst onSort = (event) => {\r\n\t\tlet sortDirectionValue: string;\r\n\t\tif (event.sortOrder === 1) sortDirectionValue = \"ASC\";\r\n\t\telse sortDirectionValue = \"DESC\";\r\n\t\tsetSortField(event.sortField);\r\n\t\tsetSortOrder(sortDirectionValue);\r\n\t\tif (selectedEquipmentGroup != null && selectedEquipmentType != null) {\r\n\t\t\tlet body: any = {}\r\n\t\t\tif (typeOfEquipmentList === \"ADVANCED_FILTER\") {\r\n\t\t\t\tbody = filteredBody\r\n\t\t\t} else if (typeOfEquipmentList === \"FILTER\") {\r\n\t\t\t\tbody = filteredBody\r\n\t\t\t} else {\r\n\t\t\t\tbody = {\r\n\t\t\t\t\tuniquePanelId: selectedEquipmentGroup,\r\n\t\t\t\t\tuniqueEquipmentClassId: selectedEquipmentType !== \"All\" ? selectedEquipmentType : null,\r\n\t\t\t\t\tuniqueSystemId: selectedTask?.system?.uniqueSystemId,\r\n\t\t\t\t\tinspectionTaskStatus: selectedTask?.status,\r\n\t\t\t\t\tfilterType: \"NONE\"\r\n\t\t\t\t}\r\n\r\n\t\t\t};\r\n\t\t\tdispatch(getEquipmentList(selectedTask?.uniqueInspectionTaskId, body, currentStart, event?.sortField, sortDirectionValue));\r\n\t\t}\r\n\t};\r\n\r\n\tconst handleRowSelect = useCallback((data: any) => {\r\n\t\tif (data && data.length) {\r\n\t\t\tsetSelectedRows([...data]);\r\n\t\t}\r\n\t}, []);\r\n\r\n\tconst onEquipmentTypeDropDownChange = (data) => {\r\n\t\tdispatch(setUserDefaultEquipmentClass(data.value)); \r\n\t\tsetSelectedEquipmentType(data.value);\r\n\t\tdispatch(setIsEquipmentClassDropdownChanged(true))\r\n const body = {\r\n equipmentClassId: data.value == \"All\" ? 0 : data.value,\r\n uniqueInspectionTaskId : selectedTask?.uniqueInspectionTaskId\r\n };\r\n dispatch(addUserDefaultEquipmentClass(body))\r\n }\r\n\t\r\n\r\n\tconst onAddEquipmentClick = () => {\r\n\t\tif (selectedEquipmentGroup !== null && selectedEquipmentType !== null && selectedEquipmentGroup !== 0 && selectedEquipmentType !== \"All\") {\r\n\t\t\tconst body = {\r\n\t\t\t\tUniqueInspectionTaskId: selectedTask?.uniqueInspectionTaskId,\r\n\t\t\t\tUniqueEquipmentClassId: selectedEquipmentType !== \"All\" ? selectedEquipmentType : null,\r\n\t\t\t\tEquipmentId: 0,\r\n\t\t\t\tUniquePanelId: selectedEquipmentGroup,\r\n\t\t\t\tuniqueSystemId: selectedTask?.system?.uniqueSystemId,\r\n\t\t\t};\r\n\t\t\tsetShowAddEquipment(true);\r\n\t\t\tdispatch(getEquipmentDatafields(body));\r\n\t\t} else {\r\n\t\t\tsetDisplayInfoModal(true);\r\n\t\t\tsetMessage(\r\n\t\t\t\tselectedEquipmentGroup === null && selectedEquipmentType === null\r\n\t\t\t\t\t? \"Select an Equipment Group and Equipment Type\"\r\n\t\t\t\t\t: selectedEquipmentGroup === 0 && selectedEquipmentType === \"All\"\r\n\t\t\t\t\t\t? \"Select an Equipment Group and Equipment Type\"\r\n\t\t\t\t\t\t: selectedEquipmentGroup === null || selectedEquipmentGroup === 0\r\n\t\t\t\t\t\t\t? \"Select an Equipment Group\"\r\n\t\t\t\t\t\t\t: selectedEquipmentType === null || selectedEquipmentType === \"All\"\r\n\t\t\t\t\t\t\t\t? \"Select an Equipment Type\"\r\n\t\t\t\t\t\t\t\t: \"\"\r\n\t\t\t);\r\n\t\t}\r\n\t};\r\n\r\n\tconst onShowImportExcel = () => {\r\n\t\tif (selectedEquipmentGroup !== null && selectedEquipmentGroup !== 0) {\r\n\t\t\tsetShowImportEquipment(true)\r\n\t\t} else {\r\n\t\t\tsetDisplayInfoModal(true);\r\n\t\t\tsetMessage(\"Select an Equipment Group\");\r\n\t\t}\r\n\t}\r\n\r\n\tconst onEditEquipmentClick = (type) => {\r\n\t\tsetEditOrClone(type);\r\n\t\tif (!selectedRows?.length) return;\r\n\t\tif (type === \"EDIT\") {\r\n\t\t\tlet body;\r\n\t\t\tif (selectedRows.length > 1) {\r\n\t\t\t\tconst equipmentIds = selectedRows.map(row => row.EquipmentId).join(',');\r\n\t\t\t\tbody = {\r\n\t\t\t\t\tUniqueInspectionTaskId: selectedTask?.uniqueInspectionTaskId,\r\n\t\t\t\t\tUniqueEquipmentClassId: selectedEquipmentType === \"All\" ? \"00000000-0000-0000-0000-000000000000\" : selectedEquipmentType,\r\n\t\t\t\t\tUniquePanelId: selectedEquipmentGroup,\r\n\t\t\t\t\tuniqueSystemId: selectedTask?.system?.uniqueSystemId,\r\n\t\t\t\t\tEquipmentsIds: equipmentIds \r\n\t\t\t\t};\r\n\t\t\t}\r\n\t\t\telse if (selectedRows.length === 1) {\r\n\t\t\t\tbody = {\r\n\t\t\t\t\tUniqueInspectionTaskId: selectedTask?.uniqueInspectionTaskId,\r\n\t\t\t\t\tUniqueEquipmentClassId: selectedEquipmentType === \"All\" ? selectedRows[0]?.EquipmentTypeId : selectedEquipmentType,\r\n\t\t\t\t\tUniquePanelId: selectedEquipmentGroup === 0 ? selectedRows[0]?.EquipmentGroupId : selectedEquipmentGroup,\r\n\t\t\t\t\tuniqueSystemId: selectedTask?.system?.uniqueSystemId,\r\n\t\t\t\t};\r\n\t\t\t}\r\n\t\t\tif (selectedRows.length > 1) {\r\n\t\t\t\tdispatch(onGetMultipleEditEquipmentData(body))\r\n\t\t\t\tsetShowMultipleEditEquipment(true);\r\n\t\t\t} else if (selectedRows?.length < 1) {\r\n\t\t\t\tsetMessage(\"Select an Equipment\");\r\n\t\t\t\tsetDisplayInfoModal(true);\r\n\t\t\t} else {\r\n\t\t\t\tbody.EquipmentId = selectedRows?.[0]?.EquipmentId;\r\n\t\t\t\tdispatch(getEquipmentDatafields(body));\r\n\t\t\t\tsetShowEditEquipment(true);\r\n\t\t\t}\r\n\t\t} else if (type === \"CLONE\") {\r\n\t\t\tif (selectedRows?.length > 1) {\r\n\t\t\t\tsetMessage(\"Select a single row of Equipment\");\r\n\t\t\t\tsetDisplayInfoModal(true);\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tdispatch(onEquipmentImportCheck(selectedTask?.uniqueInspectionTaskId, selectedRows?.[0]?.EquipmentId));\r\n\t\t}\r\n\t};\r\n\r\n\tconst onDeleteEquipmentClick = () => {\r\n\t\tif (!selectedRows?.length) return;\r\n\t\tlet list: any = [];\r\n\t\tif (selectedRows?.length) {\r\n\t\t\tfor (let i = 0; i < selectedRows?.length; i++) {\r\n\t\t\t\tlist.push(selectedRows[i].EquipmentId);\r\n\t\t\t}\r\n\t\t}\r\n\t\tconst body = {\r\n\t\t\tequipmentIds: list,\r\n\t\t\tUniqueInspectionTaskId: selectedTask?.uniqueInspectionTaskId,\r\n\t\t};\r\n\t\tdispatch(onEquipmentUsageChecked(body, setShowDeletePrompt, setDisplayInfoModal, setMessage, setRemovedEquipmentIds));\r\n\t};\r\n\r\n\tconst onEquipmentAdd = useCallback(\r\n\t\t(fields, reset) => {\r\n\t\t\tconst body = {\r\n\t\t\t\tClassId: selectedEquipmentType,\r\n\t\t\t\tSystemId: selectedTask?.system?.uniqueSystemId,\r\n\t\t\t\tPanelId: selectedEquipmentGroup,\r\n\t\t\t\tInspectionTaskstatus: 1,\r\n\t\t\t\tUniqueInspectionTaskId: selectedTask?.uniqueInspectionTaskId,\r\n\t\t\t\tFieldList: fields,\r\n\t\t\t\tDateChangedIdentifier:isDevReadingChanged\r\n\t\t\t};\r\n\t\t\tconst dataFieldsBody = {\r\n\t\t\t\tUniqueInspectionTaskId: selectedTask?.uniqueInspectionTaskId,\r\n\t\t\t\tUniqueEquipmentClassId: selectedEquipmentType,\r\n\t\t\t\tEquipmentId: 0,\r\n\t\t\t\tUniquePanelId: selectedEquipmentGroup,\r\n\t\t\t\tuniqueSystemId: selectedTask?.system?.uniqueSystemId,\r\n\t\t\t}\r\n\t\t\tsetShowModalProgress(true);\t\t\t\r\n\t\t\tdispatch(\r\n\t\t\t\tonEquipmentDetailsSaved(body, reset, dataFieldsBody)\r\n\t\t\t);\r\n\t\t},\r\n\t\t[selectedEquipmentType, selectedTask, selectedEquipmentGroup, selectedTask,isDevReadingChanged]\r\n\t);\r\n\r\n\tconst goToNextRow = useCallback(() => {\r\n\t\tconst currentIndex = gridData?.findIndex((item) => item?.EquipmentId === selectedRows[0]?.EquipmentId);\r\n\t\tif (currentIndex < (gridData?.length - 1)) {\r\n\t\t\tlet data = gridData[currentIndex + 1];\r\n\t\t\tlet body: any = {\r\n\t\t\t\tUniqueInspectionTaskId: selectedTask?.uniqueInspectionTaskId,\r\n\t\t\t\tUniqueEquipmentClassId: selectedEquipmentType === \"All\" ? data?.EquipmentTypeId : selectedEquipmentType,\r\n\t\t\t\tUniquePanelId: selectedEquipmentGroup,\r\n\t\t\t\tuniqueSystemId: selectedTask?.system?.uniqueSystemId,\r\n\t\t\t\tEquipmentId: data?.EquipmentId,\r\n\t\t\t};\r\n\t\t\tdispatch(getEquipmentDatafields(body));\r\n\t\t\tsetSelectedRows([data]);\r\n\r\n\t\t}\r\n\t}, [gridData, selectedRows])\r\n\r\n\tconst goToPrevRow = useCallback(() => {\r\n\t\tconst currentIndex = gridData?.findIndex((item) => item?.EquipmentId === selectedRows[0]?.EquipmentId);\r\n\t\tif (currentIndex > 0) {\r\n\t\t\tlet data = gridData[currentIndex - 1];\r\n\t\t\tlet body: any = {\r\n\t\t\t\tUniqueInspectionTaskId: selectedTask?.uniqueInspectionTaskId,\r\n\t\t\t\tUniqueEquipmentClassId: selectedEquipmentType === \"All\" ? data.EquipmentTypeId : selectedEquipmentType,\r\n\t\t\t\tUniquePanelId: selectedEquipmentGroup,\r\n\t\t\t\tuniqueSystemId: selectedTask?.system?.uniqueSystemId,\r\n\t\t\t\tEquipmentId: data?.EquipmentId,\r\n\t\t\t};\r\n\t\t\tdispatch(getEquipmentDatafields(body));\r\n\t\t\tsetSelectedRows([data]);\r\n\t\t}\r\n\t}, [gridData, selectedRows])\r\n\r\n\tconst onEquipmentUpdate = useCallback((fields) => {\r\n\t\tconst body = {\r\n\t\t\tClassId: selectedRows?.[0]?.EquipmentTypeId,\r\n\t\t\tSystemId: selectedTask?.system?.uniqueSystemId,\r\n\t\t\tPanelId: selectedRows?.[0]?.EquipmentGroupId,\r\n\t\t\tInspectionTaskstatus: 1,\r\n\t\t\tUniqueInspectionTaskId: selectedTask?.uniqueInspectionTaskId,\r\n\t\t\tFieldList: fields,\r\n\t\t\tDateChangedIdentifier:isDevReadingChanged,\r\n\t\t\tTestDateChangedIdentifier:isTestDateChanged\r\n\t\t};\r\n\t\tsetShowModalProgress(true);\r\n\t\tdispatch(onEquipmentDetailsUpdated(selectedTask?.uniqueInspectionTaskId, selectedRows?.[0]?.EquipmentId, body));\r\n\t},\r\n\t\t[\r\n\t\t\tselectedEquipmentType,\r\n\t\t\tselectedTask,\r\n\t\t\tselectedEquipmentGroup,\r\n\t\t\tselectedRows,\r\n\t\t\tselectedRows?.[0]?.EquipmentId,\r\n\t\t\tselectedRows?.[0]?.EquipmentTypeId,\r\n\t\t\tselectedRows?.[0]?.EquipmentGroupId,\r\n\t\t\tisDevReadingChanged,\r\n\t\t\tisTestDateChanged\r\n\t\t]\r\n\t);\r\n\r\n\tconst onEquipmentClone = useCallback((fields, reset, setValue, datafields) => {\r\n\t\tconst address = datafields?.filter((item) => item?.dataFieldName === \"Address\");\r\n\t\tconst body = {\r\n\t\t\tClassId: selectedEquipmentType,\r\n\t\t\tSystemId: selectedTask?.system?.uniqueSystemId,\r\n\t\t\tPanelId: selectedEquipmentGroup.toString(),\r\n\t\t\tInspectionTaskstatus: 1,\r\n\t\t\tUniqueInspectionTaskId: selectedTask?.uniqueInspectionTaskId,\r\n\t\t\tFieldList: fields,\r\n\t\t};\r\n\r\n\t\tdispatch(onEquipmentDetailsCloned(body, setValue, address?.[0]?.uniqueDataFieldId));\r\n\t}, [selectedEquipmentType, selectedTask, selectedEquipmentGroup, selectedTask]);\r\n\r\n\tconst onDeleteEquipment = () => {\r\n\t\tconst body = {\r\n\t\t\tequipmentIds: removedEquipmentIds,\r\n\t\t\tUniqueInspectionTaskId: selectedTask?.uniqueInspectionTaskId,\r\n\t\t};\r\n\t\tsetShowProgressBar(true);\r\n\t\tdispatch(onEquipmentRemoved(selectedTask?.uniqueInspectionTaskId, body));\r\n\t\tsetShowDeletePrompt(false);\r\n\t};\r\n\r\n\tconst onConnectDevices = (selectedModule, submitData) => {\r\n\t\tconst filterBody = {\r\n\t\t\tuniquePanelId: selectedEquipmentGroup,\r\n\t\t\tuniqueEquipmentClassId: selectedEquipmentType,\r\n\t\t\tuniqueSystemId: selectedTask?.system?.uniqueSystemId,\r\n\t\t\tinspectionTaskStatus: selectedTask?.status,\r\n\t\t};\r\n\t\tdispatch(onConnectAssociatedDevices(selectedTask?.uniqueInspectionTaskId, selectedModule, submitData, selectedRows, filterBody, currentStart, setMessage, setDisplayInfoModal));\r\n\t};\r\n\r\n\tconst onFetchedData = useCallback((excelDetails, body) => {\r\n\t\tsetExcelDetails(excelDetails);\r\n\t\tsetExcelBodyInfo(body);\r\n\t\tsetShowProgressBar(true);\r\n\t}, [])\r\n\r\n\tconst onMultipleEquipmentUpdate = useCallback((data, reset, setSelectedDatafield, setModifiedContent) => {\r\n\t\tlet equipmentIds: any = [];\r\n\t\tselectedRows.forEach(element => {\r\n\t\t\tequipmentIds.push(element?.EquipmentId);\r\n\t\t});\r\n\t\tconst body = {\r\n\t\t\tuniqueInspectionTaskId: selectedTask?.uniqueInspectionTaskId,\r\n\t\t\tuniqueEquipmentClassId: selectedEquipmentType !== \"All\" ? selectedEquipmentType : '00000000-0000-0000-0000-000000000000',\r\n\t\t\tuniquePanelId: selectedEquipmentGroup,\r\n\t\t\tuniqueSystemId: selectedTask?.system?.uniqueSystemId,\r\n\t\t\tequipmentIds: equipmentIds,\r\n\t\t\tuniqueDataFieldId: data?.uniqueDataFieldId,\r\n\t\t\tdataFieldValue: data?.dataFieldValue,\r\n\t\t\tdataFieldLookUpId: data?.dataFieldLookUpId,\r\n\t\t\tinspectionTestResultId: 1,\r\n\t\t\tdateChangedIdentifier:isDevReadingChanged,\r\n testDateChangedIdentifier:isTestDateChanged,\r\n\t\t\ttestDateUniqueFieldId:data?.testDateUniqueFieldId\r\n\r\n\t\t}\r\n\t\tdispatch(onMultipleEditEquipmentDataUpdate(body, reset, setSelectedDatafield, setModifiedContent))\r\n\t}, [selectedTask, selectedEquipmentGroup, selectedEquipmentType, selectedRows,isDevReadingChanged,isTestDateChanged]);\r\n\r\n\tconst onFiltered = useCallback((body) => {\r\n\t\tsetFilteredBody(body);\r\n\t\tsetPageIndex(0);\r\n\t\tdispatch(getEquipmentList(selectedTask?.uniqueInspectionTaskId, body, 0, sortField, sortOrder));\r\n\r\n\t}, [selectedTask, pageDetails, pageIndex]);\r\n\r\n\tconst onHideModal = useCallback(() => {\r\n\t\tsetShowAdvancedSearch(false);\r\n\t\tdispatch(setArchievedSearches(\"\"));\r\n\t}, [])\r\n\r\n\tconst onCloseDataImport = useCallback((flag, isImportDone) => {\r\n\t\tsetShowEquipmentListDataImport(flag);\r\n\t\tif (isImportDone) {\r\n\t\t\tdispatch(setUploadedExcels(\"\"));\r\n\t\t\tdispatch(setWorksheets(\"\"));\r\n\t\t\tdispatch(setExcelMappingColumn(\"\"));\r\n\t\t\tsetShowImportEquipment(false);\r\n\t\t}\r\n\t\t// if (excelDetails?.classId === selectedEquipmentType) {\r\n\t\t// \tif (selectedEquipmentGroup != null && selectedEquipmentType != null) {\r\n\t\tconst body = {\r\n\t\t\tuniquePanelId: selectedEquipmentGroup,\r\n\t\t\tuniqueEquipmentClassId: selectedEquipmentType !== \"All\" ? selectedEquipmentType : null,\r\n\t\t\tuniqueSystemId: selectedTask?.system?.uniqueSystemId,\r\n\t\t\tinspectionTaskStatus: selectedTask?.status,\r\n\t\t\tfilterType: \"NONE\",\r\n\t\t};\r\n\t\tdispatch(getEquipmentList(selectedTask?.uniqueInspectionTaskId, body, 0));\r\n\t\t// \t}\r\n\t\t// }\r\n\t}, [selectedEquipmentGroup, selectedEquipmentType, selectedTask, excelDetails]);\r\n\r\n\tconst refreshEquipmentList = () => {\r\n\t\tif (selectedEquipmentGroup != null && selectedEquipmentType != null) {\r\n\t\t\tlet body: any = {};\r\n\t\t\tif (typeOfEquipmentList === \"ADVANCED_FILTER\") {\r\n\t\t\t\tbody = filteredBody\r\n\t\t\t} else if (typeOfEquipmentList === \"FILTER\") {\r\n\t\t\t\tbody = filteredBody\r\n\t\t\t} else {\r\n\t\t\t\tbody = {\r\n\t\t\t\t\tuniquePanelId: selectedEquipmentGroup,\r\n\t\t\t\t\tuniqueEquipmentClassId: selectedEquipmentType !== \"All\" ? selectedEquipmentType : null,\r\n\t\t\t\t\tuniqueSystemId: selectedTask?.system?.uniqueSystemId,\r\n\t\t\t\t\tinspectionTaskStatus: selectedTask?.status,\r\n\t\t\t\t\tfilterType: \"NONE\"\r\n\t\t\t\t};\r\n\r\n\t\t\t};\r\n\t\t\tdispatch(getEquipmentList(selectedTask?.uniqueInspectionTaskId, body, 0, sortField, sortOrder));\r\n\t\t\tsetPageIndex(0);\r\n\t\t}\r\n\t}\r\n\r\n\tconst renderFooter = () => {\r\n\t\treturn (\r\n\t\t\t<>\r\n\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t)}\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\t\tonEquipmentTypeDropDownChange(e);\r\n\t\t\t\t\t\t\t\t\t\t}}\r\n\t\t\t\t\t\t\t\t\t\toptions={equipmentTypeList}\r\n\t\t\t\t\t\t\t\t\t\toptionLabel=\"equipmentClassName\"\r\n\t\t\t\t\t\t\t\t\t\toptionValue=\"uniqueEquipmentClassId\"\r\n\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t{typeOfEquipmentList === \"FILTER\" ?\r\n\t\t\t\t\t\t\t\t\t(\r\n\t\t\t\t\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t\t\t\t\t\tconst body = {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tuniquePanelId: selectedEquipmentGroup,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tuniqueEquipmentClassId: selectedEquipmentType !== \"All\" ? selectedEquipmentType : null,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tuniqueSystemId: selectedTask?.system?.uniqueSystemId,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tinspectionTaskStatus: selectedTask?.status,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tfilterType: \"NONE\"\r\n\t\t\t\t\t\t\t\t\t\t\t\t};\r\n\t\t\t\t\t\t\t\t\t\t\t\tdispatch(getEquipmentList(selectedTask?.uniqueInspectionTaskId, body, 0));\r\n\t\t\t\t\t\t\t\t\t\t\t\tsetPageIndex(0);\r\n\t\t\t\t\t\t\t\t\t\t\t\tsetFilteredBody(null);\r\n\t\t\t\t\t\t\t\t\t\t\t}}\r\n\t\t\t\t\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t×\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t) : (\r\n\t\t\t\t\t\t\t\t\t\t setShowFilterEquipment(true)}\r\n\t\t\t\t\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t)\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t{typeOfEquipmentList === \"ADVANCED_FILTER\" ?\r\n\t\t\t\t\t\t\t\t\t(\r\n\t\t\t\t\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t\t\t\t\t\tconst body = {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tuniquePanelId: selectedEquipmentGroup,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tuniqueEquipmentClassId: selectedEquipmentType !== \"All\" ? selectedEquipmentType : null,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tuniqueSystemId: selectedTask?.system?.uniqueSystemId,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tinspectionTaskStatus: selectedTask?.status,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tfilterType: \"NONE\"\r\n\t\t\t\t\t\t\t\t\t\t\t\t};\r\n\t\t\t\t\t\t\t\t\t\t\t\tdispatch(getEquipmentList(selectedTask?.uniqueInspectionTaskId, body, 0));\r\n\t\t\t\t\t\t\t\t\t\t\t\tsetPageIndex(0);\r\n\t\t\t\t\t\t\t\t\t\t\t\tsetFilteredBody(null);\r\n\t\t\t\t\t\t\t\t\t\t\t}}\r\n\t\t\t\t\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t×\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t) : (\r\n\t\t\t\t\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t\t\t\t\t\tsetShowAdvancedSearch(true);\r\n\t\t\t\t\t\t\t\t\t\t\t\tdispatch(onGetArchievedSearches(selectedTask?.uniqueInspectionTaskId));\r\n\t\t\t\t\t\t\t\t\t\t\t\tconst body = {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tUniqueInspectionTaskId: selectedTask?.uniqueInspectionTaskId,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tUniqueEquipmentClassId: selectedEquipmentType === \"All\" ? \"00000000-0000-0000-0000-000000000000\" : selectedEquipmentType,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tEquipmentId: selectedRows?.[0]?.EquipmentId,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tUniquePanelId: selectedEquipmentGroup,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tuniqueSystemId: selectedTask?.system?.uniqueSystemId,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tisFilter: true,\r\n\t\t\t\t\t\t\t\t\t\t\t\t};\r\n\t\t\t\t\t\t\t\t\t\t\t\tdispatch(getEquipmentDatafields(body));\r\n\t\t\t\t\t\t\t\t\t\t\t}}\r\n\t\t\t\t\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t+\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t)\r\n\t\t\t\t\t\t\t\t}\r\n\r\n\r\n\t\t\t\t\t\t\t\t{showIcon && selectedEquipmentType !== \"All\" && selectedEquipmentGroup !== 0 && showUI(userPrivileges, \"SIETAP_INSPECTION_EQUIPMENT_MANAGE\") &&\r\n\t\t\t\t\t\t\t\t\t( onAddEquipmentClick()}>\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t)}\r\n\t\t\t\t\t\t\t\t{showIcon && showUI(userPrivileges, \"SIETAP_INSPECTION_EQUIPMENT_MANAGE\") &&\r\n\t\t\t\t\t\t\t\t\t( onEditEquipmentClick(\"EDIT\")}\r\n\t\t\t\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t)}\r\n\t\t\t\t\t\t\t\t{showIcon && selectedEquipmentType !== \"All\" && showUI(userPrivileges, \"SIETAP_INSPECTION_EQUIPMENT_MANAGE\") &&\r\n\t\t\t\t\t\t\t\t\t( onEditEquipmentClick(\"CLONE\")}\r\n\t\t\t\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t)}\r\n\t\t\t\t\t\t\t\t{showIcon && showUI(userPrivileges, \"SIETAP_INSPECTION_EQUIPMENT_MANAGE\") && (\r\n\t\t\t\t\t\t\t\t\t onDeleteEquipmentClick()}>\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t)}\r\n\r\n\t\t\t\t\t\t\t\t refreshEquipmentList()}\r\n\t\t\t\t\t\t\t\t\ttooltipOptions={{ position: \"top\" }}>\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t{selectedRows.length === 1 && selectedRows[0]?.[\"Test Result\"] === \"Failed\" ?\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t: null\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t downloadRef.current?.toggle(e)}>\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t settingRef.current?.toggle(e)}\r\n\t\t\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\r\n\t\t\t\r\n\r\n\t\t\t<>\r\n\t\t\t\t\r\n\t\t\t\t{columns?.length > 0 && (\r\n\t\t\t\t\t\r\n\t\t\t\t)}\r\n\r\n\t\t\t\t setShowEqpGroupModal(false)}\r\n\t\t\t\t\tclassName=\"equipment-group-modal custom-modal\"\r\n\t\t\t\t\tstyle={{ width: \"30vw\" }}\r\n\t\t\t\t>\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t setActiveTab(EQPGROUP_ACTIVETAB.ADD)}\r\n\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\tAdd Equipment Data\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t setActiveTab(EQPGROUP_ACTIVETAB.ED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.value)}\r\n\t\t\t\t\t\t\t\t\t\t\t\t\toptions={[\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{ name: \"Devices\", code: \"DV\" },\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{ name: `Bosch`, code: \"BS\" },\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{ name: `Fire Lite`, code: \"FL\" },\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t]}\r\n\t\t\t\t\t\t\t\t\t\t\t\t\toptionLabel=\"name\"\r\n\t\t\t\t\t\t\t\t\t\t\t\t\toptionValue=\"name\"\r\n\t\t\t\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t\t\t)}\r\n\t\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t{getFormErrorMessage(\"type\")}\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t) : (\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t Desigo Modular} />\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t)}\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t*Required\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t
    \r\n\t\t\t\t\t\t<>\r\n\t\t\t\t\t\t\t{showUI(userPrivileges, \"SIETAP_INSPECTION_EQUIPMENT_MANAGE\") ? renderResetOption() : null}\r\n\t\t\t\t\t\t\t{showUI(userPrivileges, \"SIETAP_INSPECTION_EQUIPMENT_MANAGE\") ? renderConnectivityOption() : null}\r\n\t\t\t\t\t\t\t{showUI(userPrivileges, \"SIETAP_INSPECTION_EQUIPMENT_MANAGE\") ? renderImportEquipmentOption() : null}\r\n\t\t\t\t\t\t\t{renderDisplaySettings()}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\r\n\t\t\t\t\t
    \r\n\t\t\t\t\t\t
  • Report All
  • \r\n\t\t\t\t\t\t
  • Report Highlighted
  • \r\n\t\t\t\t\t\t
  • Export All
  • \r\n\t\t\t\t\t\t
  • Export Highlighted
  • \r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t{showImportEquipment &&\r\n\t\t\t\t\t setShowImportEquipment(false)}\r\n\t\t\t\t\t\tonFetchedData={onFetchedData}\r\n\t\t\t\t\t\tselectedEuipmentType={selectedEquipmentType} />}\r\n\t\t\t\t{showAddEquipment && datafields && (\r\n\t\t\t\t\t {\r\n\t\t\t\t\t\t\tsetShowModalProgress(false);\r\n\t\t\t\t\t\t\tsetShowAddEquipment(false);\r\n\t\t\t\t\t\t\tsetDatafields([]);\r\n\t\t\t\t\t\t\tdispatch(setEquipmentDatafields(\"\"));\r\n\t\t\t\t\t\t}}\r\n\t\t\t\t\t\tuniqueEquipmentClassId={selectedEquipmentType}\r\n\t\t\t\t\t/>\r\n\t\t\t\t)}\r\n\t\t\t\t{showEditEquipment && datafields && (\r\n\t\t\t\t\t {\r\n\t\t\t\t\t\t\tsetShowModalProgress(false);\r\n\t\t\t\t\t\t\tsetShowEditEquipment(false);\r\n\t\t\t\t\t\t\tsetDatafields([]);\r\n\t\t\t\t\t\t\tdispatch(setEquipmentDatafields(\"\"));\r\n\t\t\t\t\t\t}}\r\n\t\t\t\t\t\tuniqueEquipmentClassId={selectedEquipmentType === \"All\" ? selectedRows[0]?.EquipmentTypeId : selectedEquipmentType}\r\n\t\t\t\t\t/>\r\n\t\t\t\t)}\r\n\t\t\t\t{showCloneEquipment && datafields && (\r\n\t\t\t\t\t {\r\n\t\t\t\t\t\t\tsetShowCloneEquipment(false);\r\n\t\t\t\t\t\t\tsetDatafields([])\r\n\t\t\t\t\t\t}}\r\n\t\t\t\t\t\tuniqueEquipmentClassId={selectedEquipmentType}\r\n\t\t\t\t\t/>\r\n\t\t\t\t)}\r\n\t\t\t\t{showDeletePrompt && (\r\n\t\t\t\t\t setShowDeletePrompt(false)}\r\n\t\t\t\t\t\tclassName=\"delete-modal\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\t

{message}

\r\n\t\t\t\t\t\r\n\t\t\t\t)}\r\n\r\n\t\t\t\t{showConnectivityPrompt && (\r\n\t\t\t\t\t setShowConnectivityPrompt(false)}\r\n\t\t\t\t\t\tclassName=\"delete-modal\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\t{renderConnectivityPromptMessage()}\r\n\t\t\t\t\t\r\n\t\t\t\t)}\r\n\r\n\t\t\t\t{showAddEquipmentList &&\r\n\t\t\t\t\t}\r\n\t\t\t\t{showEquipmentListDatImport &&\r\n\t\t\t\t\t onCloseDataImport(flag, isImportDone)} />}\r\n\t\t\t\t{showEditEquipmentList &&\r\n\t\t\t\t\t}\r\n\t\t\t\t{showFilterEquipment &&\r\n\t\t\t\t\t}\r\n\t\t\t\t{showAdvancedSearch &&\r\n\t\t\t\t\t}\r\n\t\t\t\t{showConnectivityModal &&\r\n\t\t\t\t\t setShowConnectivityModal(false)}\r\n\t\t\t\t\t\tequipmentGroupId={selectedEquipmentGroup}\r\n\t\t\t\t\t\tinspectionTaskId={selectedTask?.uniqueInspectionTaskId}\r\n\t\t\t\t\t\tequipmentClassId={selectedEquipmentType}\r\n\t\t\t\t\t\tselectedRows={selectedRows}\r\n\t\t\t\t\t\tonConnectDevices={onConnectDevices}\r\n\t\t\t\t\t/>}\r\n\t\t\t\t{showMultipleEditEquipment &&\r\n\t\t\t\t\t {\r\n\t\t\t\t\t\t\tsetShowMultipleEditEquipment(false);\r\n\t\t\t\t\t\t\tdispatch(setMultipleEditDatafields(\"\"));\r\n\t\t\t\t\t\t}}\r\n\t\t\t\t\t/>\r\n\t\t\t\t}\r\n\r\n\t\t\t\t{showReportModal ? (\r\n\t\t\t\t\t\r\n\t\t\t\t) : null}\r\n\r\n\t\t\t\t{showAttachmentListModal ? (\r\n\t\t\t\t\t\r\n\t\t\t\t) : null}\r\n\t\t\t\t{showDisplaySetting && tableColumns?.length &&\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t);\r\n};\r\n\r\nexport default memo(EquipmentList);","import React, { forwardRef, memo, useCallback, useEffect, useImperativeHandle, useRef, useState } from \"react\";\r\nimport { Button } from \"primereact/button\";\r\nimport { useForm } from \"react-hook-form\";\r\n//icons\r\nimport { BsFillPencilFill, BsPlusLg, BsTrashFill } from \"react-icons/bs\";\r\nimport { IoPlayForwardSharp } from \"react-icons/io5\";\r\n//components\r\nimport FormElement from \"../Utility/FormElement\";\r\nimport { ScrollPanel } from \"primereact/scrollpanel\";\r\n//redux\r\nimport { getAdditionalDatafieldSets, getDatafieldValues, setAdditionalDatafieldValues } from \"redux/common/commonSlice\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\nimport DatafieldOrder from \"components/common/DatafieldOrder/DatafieldOrder\";\r\nimport { onGetInspectionDatafieldOrderList, onInspectionDatafieldOrderUpdated,onGetInspectionquestionfieldOrderList, onInspectionQuestionDatafieldOrderUpdated, setUpdatedQuestionInspectionDatafieldOrderList} from 'redux/pages/Manage/InspectionSettings/InspectionFields/InspectionFieldSlice';\r\nimport { MdTableRows } from \"react-icons/md\";\r\n\r\ninterface InspectionFormsPropType {\r\n showAction?: boolean;\r\n isExpanded?: boolean;\r\n isAddAction?: boolean;\r\n isInspectionField?: boolean;\r\n isCheckedAction?: boolean;\r\n formElements?: any;\r\n inspectionFieldValues?: any;\r\n monitoringValues?: any;\r\n body?: any;\r\n selectedItem?: any;\r\n fieldFocus?: boolean;\r\n onAddClicked?: (data) => void;\r\n onEditClicked?: (data) => void;\r\n onDeleteClicked?: (data) => void;\r\n onInspectionSubmit?: (data) => void;\r\n onInspectionFieldError?: (data) => void;\r\n checkIsValueChanged?: (e) => void;\r\n onSelectionChanged?: (data, id) => void;\r\n type?: 'CONTRACT' | 'SYSTEM' | 'QUESTION';\r\n setFieldFocus?: any;\r\n}\r\nconst InspectionForms = forwardRef((props, ref) => {\r\n\r\n const { isAddAction,\r\n isExpanded,\r\n isInspectionField = false,\r\n isCheckedAction,\r\n formElements,\r\n showAction = true,\r\n inspectionFieldValues,\r\n monitoringValues = [],\r\n body,\r\n type,\r\n selectedItem,\r\n fieldFocus = false,\r\n onAddClicked = () => { },\r\n onEditClicked = () => { },\r\n onDeleteClicked = () => { },\r\n checkIsValueChanged = () => { },\r\n onInspectionSubmit = () => { },\r\n onInspectionFieldError = () => { },\r\n onSelectionChanged = () => { },\r\n setFieldFocus } = props;\r\n\r\n const inspectionForm = useRef(null);\r\n const { control, formState: { errors }, handleSubmit, reset, unregister, watch, setValue } = useForm({ mode: 'all' });\r\n\r\n const dispatch = useDispatch();\r\n const additionalFieldValues = useAppSelector((state) => state.common.additionalDatafieldValues);\r\n const [showFieldOrder, setShowFieldOrder] = useState(false);\r\n const [fieldOrder, setFieldOrder] = useState([]);\r\n const inspectiondatafieldOrderList = useAppSelector((state) => state.InspectionField.inspectiondatafieldOrderList); \r\n const inspectionquestionfieldOrderLists = useAppSelector((state) => state.InspectionField.inspectionquestionfieldOrderList);\r\n const [tooltipLimit, setTooltipLimit] = useState(70);\r\n\r\n useImperativeHandle(ref, () => ({\r\n requestSubmit: () => {\r\n inspectionForm?.current?.requestSubmit();\r\n },\r\n onBranchOffieSelectionInDynamically: (uniqueId, id) => {\r\n let service = `v1/inspection/inspectiontask/systems/contractfields/branchoffices/${id}`\r\n dispatch(getDatafieldValues(service, null, body));\r\n setValue(uniqueId, id);\r\n },\r\n }));\r\n\r\n useEffect(() => {\r\n if (formElements) {\r\n reset();\r\n unregister();\r\n convertCheckBoxItem(formElements?.inspectionGroupFields)\r\n }\r\n }, [formElements]);\r\n\r\n useEffect(() => {\r\n if (inspectionFieldValues?.length)\r\n onSetDefaultValues(formElements?.inspectionGroupFields, inspectionFieldValues);\r\n }, [inspectionFieldValues])\r\n\r\n useEffect(() => {\r\n if (monitoringValues?.length) {\r\n onSetDefaultValues(formElements?.inspectionGroupFields, monitoringValues);\r\n }\r\n }, [monitoringValues])\r\n\r\n useEffect(() => {\r\n if (additionalFieldValues?.length) {\r\n if (additionalFieldValues[1]) {\r\n\r\n } else {\r\n onSetDefaultValues(formElements?.inspectionGroupFields, additionalFieldValues[0]);\r\n }\r\n\r\n dispatch(setAdditionalDatafieldValues(\"\"));\r\n }\r\n }, [additionalFieldValues])\r\n\r\n useEffect(() => {\r\n if (inspectiondatafieldOrderList) {\r\n let value: any = JSON.stringify(inspectiondatafieldOrderList);\r\n value = value?.replace(/\\\"dataFieldId\\\":/g, '\"id\":');\r\n value = value?.replace(/\\\"dataFieldName\\\":/g, '\"name\":');\r\n value = JSON.parse(value);\r\n setFieldOrder(value);\r\n }\r\n }, [inspectiondatafieldOrderList])\r\n\r\n const onOrderUpdated = useCallback((body) => {\r\n switch (type) {\r\n case 'SYSTEM':{\r\n let value: any = JSON.stringify(body);\r\n value = value?.replace(/\\\"id\\\":/g, '\"DataFieldId\":');\r\n value = JSON.parse(value);\r\n dispatch(onInspectionDatafieldOrderUpdated(value));\r\n setShowFieldOrder(false);\r\n break;\r\n }\r\n case 'QUESTION':{ \r\n let value: any = JSON.stringify(body); \r\n value = value?.replace(/\\\"id\\\":/g, '\"DataFieldId\":');\r\n value = JSON.parse(value);\r\n dispatch(setUpdatedQuestionInspectionDatafieldOrderList(value));\r\n dispatch(onInspectionQuestionDatafieldOrderUpdated(value));\r\n setShowFieldOrder(false);\r\n break;\r\n }\r\n }\r\n\r\n \r\n }, []);\r\n\r\n useEffect(() => {\r\n if (inspectionquestionfieldOrderLists) {\r\n let value: any = JSON.stringify(inspectionquestionfieldOrderLists);\r\n value = value?.replace(/\\\"dataFieldId\\\":/g, '\"id\":');\r\n value = value?.replace(/\\\"dataFieldName\\\":/g, '\"name\":');\r\n value = JSON.parse(value);\r\n setFieldOrder(value);\r\n }\r\n }, [inspectionquestionfieldOrderLists])\r\n\r\n useEffect(() => {\r\n const handleResize = () => {\r\n const screenWidth = window.innerWidth;\r\n const quarterscreenwidth=(screenWidth/4);\r\n if (screenWidth < 600) {\r\n setTooltipLimit(70); \r\n } else {\r\n setTooltipLimit(quarterscreenwidth);\r\n }\r\n }; \r\n window.addEventListener('resize', handleResize);\r\n handleResize(); \r\n return () => {\r\n window.removeEventListener('resize', handleResize);\r\n };\r\n }, []);\r\n \r\n\r\n const convertCheckBoxItem = (elements) => {\r\n if (elements?.length) {\r\n for (let i = 0; i < elements?.length; i++) {\r\n if (elements[i]?.inspectionGroupFields?.length) {\r\n if (elements[i]?.dataEntryControl?.dataEntryControlName === \"Check Box(s)\" && elements[i]?.validatedValues?.length) {\r\n checkedItems(elements[i]);\r\n } else if (elements[i]?.dataEntryControl?.dataEntryControlName === \"Drop-down list\") {\r\n dropDownSelection(elements[i])\r\n }\r\n convertCheckBoxItem(elements[i]?.inspectionGroupFields)\r\n } else {\r\n if (elements[i]?.dataEntryControl?.dataEntryControlName === \"Check Box(s)\" && elements[i]?.validatedValues?.length) {\r\n checkedItems(elements[i]);\r\n } else if (elements[i]?.dataEntryControl?.dataEntryControlName === \"Drop-down list\") {\r\n dropDownSelection(elements[i])\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n const checkedItems = (elements) => {\r\n let list: any = [];\r\n for (let j = 0; j < elements?.validatedValues?.length; j++) {\r\n let sm = elements.validatedValues[j].dataFieldLookupId;\r\n let item = {\r\n [sm]: false,\r\n };\r\n list.push(item);\r\n }\r\n setValue(elements?.uniqueDataFieldId, list);\r\n }\r\n\r\n const dropDownSelection = (elements) => {\r\n if (elements?.defaultSelectNeeded)\r\n elements.validatedValues.unshift({ dataFieldLookupId: -1, dataFieldLookupValue: \"--Select--\", isSelected: false });\r\n const slectedItem = elements.validatedValues?.filter((item) => item?.isSelected);\r\n if (slectedItem?.length) {\r\n setValue(elements.uniqueDataFieldId, slectedItem[0].dataFieldLookupId);\r\n } else {\r\n setValue(elements.uniqueDataFieldId, -1)\r\n }\r\n }\r\n\r\n const onSetDefaultValues = (elements, filedValues) => {\r\n if (elements?.length) {\r\n for (let i = 0; i < elements?.length; i++) {\r\n if (elements[i]?.inspectionGroupFields?.length) {\r\n const filterData = filedValues?.filter((item) => item?.uniqueDataFieldId === elements[i]?.uniqueDataFieldId);\r\n if (filterData?.length) {\r\n if (elements[i]?.dataEntryControl?.dataEntryControlName === \"Check Box(s)\") {\r\n if (elements[i]?.isValidated)\r\n setCheckBoxIsTrue(filterData[0]?.multipleFieldValue, elements[i]?.validatedValues, elements[i]?.uniqueDataFieldId);\r\n else {\r\n let fieldValue = false;\r\n if (filterData[0]?.fieldValue === \"true\")\r\n fieldValue = true;\r\n setValue(elements[i]?.uniqueDataFieldId, fieldValue);\r\n }\r\n } else if (elements[i]?.dataEntryControl?.dataEntryControlName === \"Drop-down list\") {\r\n let validatedValues = elements[i]?.validatedValues?.filter((item) => item?.dataFieldLookupId === filterData[0]?.fieldValue);\r\n if (validatedValues?.length)\r\n setValue(elements[i]?.uniqueDataFieldId, filterData[0]?.fieldValue);\r\n else\r\n setValue(elements[i]?.uniqueDataFieldId, -1)\r\n } else {\r\n setValue(elements[i]?.uniqueDataFieldId, filterData[0]?.fieldValue);\r\n }\r\n if (elements[i]?.isValidated) {\r\n setChildDatafield(elements[i], filterData[0])\r\n }\r\n }\r\n onSetDefaultValues(elements[i]?.inspectionGroupFields, filedValues)\r\n } else {\r\n const filterData = filedValues?.filter((item) => item?.uniqueDataFieldId === elements[i]?.uniqueDataFieldId);\r\n if (filterData?.length) {\r\n if (elements[i]?.dataEntryControl?.dataEntryControlName === \"Check Box(s)\") {\r\n if (elements[i]?.isValidated)\r\n setCheckBoxIsTrue(filterData[0]?.multipleFieldValue, elements[i]?.validatedValues, elements[i]?.uniqueDataFieldId);\r\n else {\r\n let fieldValue = false;\r\n if (filterData[0]?.fieldValue === \"true\")\r\n fieldValue = true;\r\n setValue(elements[i]?.uniqueDataFieldId, fieldValue);\r\n }\r\n } else if (elements[i]?.dataEntryControl?.dataEntryControlName === \"Drop-down list\") {\r\n let validatedValues = elements[i]?.validatedValues?.filter((item) => item?.dataFieldLookupId === filterData[0]?.fieldValue);\r\n if (validatedValues?.length)\r\n setValue(elements[i]?.uniqueDataFieldId, filterData[0]?.fieldValue);\r\n else\r\n setValue(elements[i]?.uniqueDataFieldId, -1)\r\n } else {\r\n setValue(elements[i]?.uniqueDataFieldId, filterData[0]?.fieldValue);\r\n }\r\n if (elements[i]?.isValidated) {\r\n setChildDatafield(elements[i], filedValues)\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n const setCheckBoxIsTrue = (elements, validatedValues, uniqueDataFieldId) => {\r\n let list: any = [];\r\n for (let j = 0; j < validatedValues?.length; j++) {\r\n let checked = false;\r\n let filterItem = elements?.filter((item) => item === validatedValues[j].dataFieldLookupId);\r\n if (filterItem?.length)\r\n checked = true\r\n let sm = validatedValues[j].dataFieldLookupId;\r\n let item = {\r\n [sm]: checked,\r\n };\r\n list.push(item);\r\n }\r\n setValue(uniqueDataFieldId, list);\r\n\r\n }\r\n\r\n const setChildDatafield = (elements, filedValues) => {\r\n const filtervalues = elements.validatedValues?.filter((item) => item?.childDataField?.length);\r\n if (filtervalues?.length) {\r\n filtervalues.forEach(val => {\r\n val?.childDataField?.forEach(subVal => {\r\n const values = filedValues?.filter((item) => item?.uniqueDataFieldId === subVal?.uniqueDataFieldId);\r\n if (values?.length) {\r\n setValue(subVal?.uniqueDataFieldId, values[0]?.fieldValue);\r\n }\r\n });\r\n\r\n });\r\n }\r\n }\r\n\r\n const checkChildFields = (data: any, fields: any) => {\r\n let childArray: any = [];\r\n props?.formElements?.inspectionGroupFields && props?.formElements?.inspectionGroupFields?.map((inspectionGroupFieldItem, key) => (\r\n inspectionGroupFieldItem?.validatedValues && inspectionGroupFieldItem?.validatedValues?.map((validatedValueItem, index) => (\r\n validatedValueItem?.childDataField && validatedValueItem?.childDataField?.map((childItem, num) => (\r\n childArray.push({\r\n \"parentUniqueDataFieldId\": inspectionGroupFieldItem?.uniqueDataFieldId,\r\n \"parentFieldName\": inspectionGroupFieldItem?.dataFieldName,\r\n \"datafieldLookupId\": validatedValueItem?.dataFieldLookupId,\r\n \"dataFieldLookupValue\": validatedValueItem?.dataFieldLookupValue,\r\n \"childUniqueDataFieldId\": childItem?.uniqueDataFieldId,\r\n \"childFieldName\": childItem?.dataFieldName\r\n })\r\n ))\r\n ))\r\n ))\r\n\r\n let dataArray: any = [];\r\n for (const k in data) {\r\n let childValues: any = [];\r\n if (typeof data[k] === 'object') {\r\n for (const j in data[k]) {\r\n for (const l in data[k][j]) {\r\n childValues.push({ \"datafieldLookupId\": l, \"value\": data[k][j][l] })\r\n }\r\n }\r\n dataArray.push({ \"uniqueDatafieldId\": k, \"value\": childValues })\r\n } else {\r\n dataArray.push({ \"uniqueDatafieldId\": k, \"value\": data[k] })\r\n }\r\n }\r\n\r\n if (childArray.length > 0) {\r\n for (const j in childArray) {\r\n for (const k in dataArray) {\r\n if (typeof dataArray[k] === 'object') {\r\n if (dataArray[k].uniqueDatafieldId === childArray[j].parentUniqueDataFieldId) {\r\n for (const l in dataArray[k].value) {\r\n for (const m in fields) {\r\n if (fields[m].dataFieldId === childArray[j].childUniqueDataFieldId) {\r\n if (dataArray[k].value[l]?.value === false && childArray[j]?.datafieldLookupId === dataArray[k].value[l]?.datafieldLookupId) {\r\n fields.splice(m, 1)\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n return fields;\r\n }\r\n\r\n const onSubmit = (data) => {\r\n let fields: any = [];\r\n for (const k in data) {\r\n if (data[k] != undefined) {\r\n let multipleValue: any = [];\r\n let item: any = {\r\n dataFieldId: k,\r\n value: null,\r\n multipleValue: null,\r\n }\r\n if (Array.isArray(data[k])) {\r\n for (let i = 0; i < data[k]?.length; i++) {\r\n for (const obj in data[k][i]) {\r\n if (data[k][i][obj]) {\r\n multipleValue.push(obj);\r\n }\r\n }\r\n }\r\n item.multipleValue = multipleValue;\r\n } else {\r\n item.value = data[k]?.toString().trim();\r\n }\r\n fields.push(item);\r\n }\r\n }\r\n if (type === \"SYSTEM\") {\r\n let systemFields = checkChildFields(data, fields)\r\n onInspectionSubmit(systemFields);\r\n\r\n } else {\r\n onInspectionSubmit(fields);\r\n }\r\n }\r\n\r\n const onSelectionChange = useCallback((data, id) => {\r\n if (data?.dataFieldRelation !== undefined) {\r\n onFieldRelationChange(data, id);\r\n }\r\n if (data?.dataFieldSet !== undefined) {\r\n onDataFieldSetChange(data, id);\r\n }\r\n onSelectionChanged(data, id);\r\n }, []);\r\n\r\n const onFieldRelationChange = (data, id) => {\r\n let service: any = data?.dataFieldRelation?.subSetValueService;\r\n if (service !== undefined) {\r\n service = service.replace(\"{dataFieldLookupId}\", id);\r\n dispatch(getDatafieldValues(service, data?.dataFieldRelation?.childDataFieldId, body))\r\n }\r\n }\r\n\r\n const onDataFieldSetChange = (data, id) => {\r\n let service: any = data?.dataFieldSet?.subSetValueService;\r\n if (service !== undefined) {\r\n service = service.replace(\"{dataFieldLookupId}\", id);\r\n dispatch(getAdditionalDatafieldSets(service, body))\r\n }\r\n }\r\n\r\n\r\n const onHideToolTip = (e) => {\r\n e.currentTarget.title = \"\";\r\n };\r\n\r\n const checkFieldExists = (values, key, elements) => {\r\n values?.forEach(element => {\r\n if (element?.uniqueDataFieldId === key) {\r\n elements.push(element);\r\n } else {\r\n checkFieldExists(element?.inspectionGroupFields, key, elements);\r\n }\r\n });\r\n return elements[elements?.length - 1];\r\n };\r\n\r\n const onError = (error) => {\r\n if (error) {\r\n let inspectionFieldElements = [];\r\n const errorKey = Object.keys(error);\r\n const element = checkFieldExists(formElements?.inspectionGroupFields, errorKey[errorKey?.length - 1], inspectionFieldElements);\r\n\r\n const message = error[element?.uniqueDataFieldId]?.type === \"maxLength\" ? `${element?.dataFieldName} cannot exceed ${element?.maxLength}.`\r\n : error[element?.uniqueDataFieldId]?.type === \"required\" ? <>{element?.dataFieldName} field is required.\r\n : errors[element?.uniqueDataFieldId]?.type === \"validate\" ? errors[element?.uniqueDataFieldId]?.message + '.'\r\n : null;\r\n\r\n onInspectionFieldError(message);\r\n }\r\n };\r\n\r\n const onGetInspectionfieldOrderList = () => {\r\n setShowFieldOrder(true);\r\n switch (type) {\r\n case 'SYSTEM': {\r\n dispatch(onGetInspectionDatafieldOrderList());\r\n break;\r\n } \r\n \r\n }\r\n };\r\n const onGetQuestionInspectionfieldOrderList = (dataItem) => {\r\n setShowFieldOrder(true);\r\n let dataFieldId\r\n dataItem ? dataFieldId = dataItem : dataFieldId = selectedItem\r\n switch (type) {\r\n case 'QUESTION':{\r\n dispatch(onGetInspectionquestionfieldOrderList(dataFieldId));\r\n break;\r\n }\r\n \r\n }\r\n };\r\n\r\n const onGetSlicedName=(data:any) =>{\r\n if(( data === null) || (data === undefined) || (data === \"undefined\"))\r\n {\r\n return data\r\n }\r\n else\r\n {\r\n if(data?.length > tooltipLimit)\r\n data = data.slice(0, tooltipLimit)+\"...\";\r\n return data\r\n }\r\n }\r\n\r\n const onUpdateToolTipData = (data,e: any) => {\r\n if (data?.length > tooltipLimit) {\r\n e.currentTarget.title = data;\r\n }\r\n };\r\n\r\n const ActionTemplate = (props) => {\r\n return (\r\n <>\r\n {showAction &&\r\n
\r\n {((props?.data?.isSection && props?.data?.isStatic !=\"1\" ) || (props?.isAddAction && props?.data?.isStatic !=\"1\") || (props?.data?.isGroupedControl && props?.data?.isStatic !=\"1\")) && \r\n onAddClicked(props.data)}\r\n >\r\n \r\n \r\n }\r\n {(props?.data?.isStatic != \"1\") &&\r\n onEditClicked(props.data)}\r\n >\r\n \r\n }\r\n {(props?.data?.isStatic != \"1\") &&\r\n onDeleteClicked(props.data)}\r\n >\r\n \r\n \r\n }\r\n {type === \"SYSTEM\" && !props?.data?.isSection && !props?.data?.isGroupedControl\r\n && !props?.data?.isVerticalList &&\r\n {\r\n setShowFieldOrder(true);\r\n onGetInspectionfieldOrderList()\r\n }}>\r\n \r\n \r\n }\r\n {(type === \"SYSTEM\" && props?.data?.isStatic==1) &&\r\n \r\n \r\n \r\n }\r\n {(type === \"SYSTEM\" && props?.data?.isStatic==1) &&\r\n \r\n \r\n \r\n }\r\n {type === \"QUESTION\" && (props?.data?.inspectionGroupFields !== null) &&\r\n {\r\n setShowFieldOrder(true);\r\n onGetQuestionInspectionfieldOrderList(props?.data?.uniqueDataFieldId)\r\n }}>\r\n \r\n \r\n }\r\n
\r\n }\r\n \r\n )\r\n }\r\n\r\n const dataGroup = (props) => {\r\n\r\n return (\r\n
\r\n
\r\n
\r\n {props?.isSection ? (\r\n
onUpdateToolTipData(props?.dataFieldName,e)}\r\n onMouseLeave={(e) => onHideToolTip(e)} >{onGetSlicedName(props?.dataFieldName)}
\r\n ) : props?.isGroupedControl ? (\r\n <>\r\n {type === \"QUESTION\" &&\r\n <>\r\n \r\n {(props?.dataEntryControl?.dataEntryControlId !== 6) ? (\r\n <>\r\n {props?.forwardData ?\r\n \r\n :\r\n \r\n }\r\n \r\n ) : (props?.validatedValues?.length) ? (\r\n <>\r\n {props?.forwardData ?\r\n :\r\n \r\n }\r\n \r\n ) : null}\r\n \r\n \r\n }\r\n {(props?.dataEntryControl?.dataEntryControlId !== 6) ? (\r\n <>\r\n
\r\n
onUpdateToolTipData(props?.dataFieldName,e)}\r\n onMouseLeave={(e) => onHideToolTip(e)} >\r\n {onGetSlicedName(props?.dataFieldName)}\r\n
\r\n
\r\n \r\n ) : (props?.validatedValues?.length) ? (\r\n <>\r\n
\r\n
onUpdateToolTipData(props?.dataFieldName,e)}\r\n onMouseLeave={(e) => onHideToolTip(e)}>\r\n {onGetSlicedName(props?.dataFieldName)}\r\n
\r\n
\r\n \r\n ) :
}\r\n \r\n ) : (\r\n <>\r\n {type === \"QUESTION\" &&\r\n <>\r\n \r\n {props?.forwardData ?\r\n :\r\n \r\n }\r\n \r\n \r\n }\r\n
\r\n onUpdateToolTipData(props?.dataFieldName,e)}\r\n onMouseLeave={(e) => onHideToolTip(e)}\r\n >{onGetSlicedName(props?.dataFieldName)}\r\n
\r\n \r\n )}\r\n {props?.isGroupedControl &&\r\n \r\n }\r\n
\r\n\r\n {!props?.isSection ? (\r\n
\r\n \r\n
\r\n ) : null}\r\n\r\n {!props?.isGroupedControl &&\r\n \r\n }\r\n
\r\n {props?.isSection &&\r\n props?.inspectionGroupFields?.map((item: any) => (\r\n dataGroup(item)\r\n ))\r\n }\r\n
\r\n );\r\n }\r\n\r\n return (\r\n
\r\n
\r\n
\r\n \r\n
onUpdateToolTipData(formElements?.label,e)} onMouseLeave={(e) => onHideToolTip(e)}>{onGetSlicedName(formElements?.label)}
\r\n \r\n
\r\n \r\n
\r\n\r\n {formElements?.inspectionGroupFields?.map((item: any) => (\r\n dataGroup(item)\r\n ))\r\n }\r\n\r\n
\r\n
\r\n
\r\n {showFieldOrder && (\r\n setShowFieldOrder(false)}\r\n />\r\n )}\r\n
\r\n\r\n );\r\n});\r\n\r\nexport default memo(InspectionForms);\r\n","export const addNewInspectionFieldFromTree = (selectedParent, selectedNode, inspectionFormData, newInspectionFormData) => {\r\n for (let i = 0; i < inspectionFormData?.length; i++) {\r\n if (inspectionFormData[i].key === selectedNode?.key) {\r\n if (selectedParent) {\r\n addNewInspectionField(selectedParent, inspectionFormData[i]?.inspectionGroupFields, newInspectionFormData);\r\n break;\r\n }\r\n else {\r\n if (newInspectionFormData?.isValidated) {\r\n if (inspectionFormData[i]?.inspectionGroupFields?.length >= 0)\r\n inspectionFormData[i]?.inspectionGroupFields?.push(newInspectionFormData);\r\n else\r\n inspectionFormData[i].inspectionGroupFields = [newInspectionFormData]\r\n break;\r\n } else {\r\n if (inspectionFormData[i]?.inspectionGroupFields?.length >= 0)\r\n inspectionFormData[i]?.inspectionGroupFields?.push(newInspectionFormData);\r\n else\r\n inspectionFormData[i].inspectionGroupFields = [newInspectionFormData];\r\n break;\r\n }\r\n }\r\n } else if (inspectionFormData[i]?.children?.length) {\r\n addNewInspectionFieldFromTree(selectedParent, selectedNode, inspectionFormData[i]?.children, newInspectionFormData);\r\n }\r\n }\r\n return [inspectionFormData, selectedNode];\r\n}\r\n\r\n\r\nexport const addNewInspectionField = (selectedParent, inspectionFormData, newInspectionFormData) => {\r\n if (selectedParent === undefined) {\r\n if (newInspectionFormData?.isValidated) {\r\n inspectionFormData?.push(newInspectionFormData);\r\n } else {\r\n if (inspectionFormData?.length)\r\n inspectionFormData?.push(newInspectionFormData);\r\n else\r\n inspectionFormData = [newInspectionFormData];\r\n }\r\n } else {\r\n for (let i = 0; i < inspectionFormData?.length; i++) {\r\n if (inspectionFormData[i].uniqueDataFieldId === selectedParent?.uniqueDataFieldId) {\r\n if (newInspectionFormData?.isValidated) {\r\n if (inspectionFormData[i]?.inspectionGroupFields?.length)\r\n inspectionFormData[i]?.inspectionGroupFields?.push(newInspectionFormData);\r\n else\r\n inspectionFormData[i].inspectionGroupFields = [newInspectionFormData];\r\n break;\r\n } else {\r\n if (inspectionFormData[i]?.inspectionGroupFields?.length)\r\n inspectionFormData[i]?.inspectionGroupFields?.push(newInspectionFormData);\r\n else\r\n inspectionFormData[i].inspectionGroupFields = [newInspectionFormData]\r\n break;\r\n }\r\n } else {\r\n addNewInspectionField(selectedParent, inspectionFormData[i].inspectionGroupFields, newInspectionFormData);\r\n }\r\n }\r\n }\r\n return inspectionFormData;\r\n}\r\n\r\nexport const addFieldValuesWithTree = (selectParent, selectedNode, inspectionFormData, newFieldValue, fieldValue) => {\r\n for (let i = 0; i < inspectionFormData?.length; i++) {\r\n if (inspectionFormData[i].key === selectedNode?.key) {\r\n if (selectParent) {\r\n addFieldValues(selectParent, inspectionFormData[i]?.inspectionGroupFields, newFieldValue, fieldValue);\r\n }\r\n } else if (inspectionFormData[i]?.children?.length) {\r\n addFieldValuesWithTree(selectParent, selectedNode, inspectionFormData[i]?.children, newFieldValue, fieldValue)\r\n }\r\n }\r\n\r\n return [inspectionFormData, selectedNode];\r\n}\r\n\r\nexport const addFieldValues = (selectParent, inspectionFormData, newFieldValue, fieldValues) => {\r\n for (let i = 0; i < inspectionFormData?.length; i++) {\r\n if (inspectionFormData[i].uniqueDataFieldId === selectParent?.uniqueDataFieldId) {\r\n fieldValues.push(newFieldValue);\r\n inspectionFormData[i].validatedValues = fieldValues;\r\n } else {\r\n addFieldValues(selectParent, inspectionFormData[i].inspectionGroupFields, newFieldValue, fieldValues)\r\n }\r\n }\r\n\r\n return inspectionFormData\r\n}\r\n\r\nexport const updateFieldValueWithTree = (selectParent, selectedNode, inspectionFormData, updatedValue, fieldValue) => {\r\n for (let i = 0; i < inspectionFormData?.length; i++) {\r\n if (inspectionFormData[i].key === selectedNode?.key) {\r\n if (selectParent) {\r\n updateFieldValue(selectParent, inspectionFormData[i]?.inspectionGroupFields, updatedValue, fieldValue);\r\n }\r\n } else if (inspectionFormData[i]?.children?.length) {\r\n updateFieldValueWithTree(selectParent, selectedNode, inspectionFormData[i]?.children, updatedValue, fieldValue)\r\n }\r\n }\r\n return [inspectionFormData, selectedNode];\r\n}\r\n\r\nexport const updateFieldValue = (selectParent, inspectionFormData, updatedValue, fieldValue) => {\r\n for (let i = 0; i < inspectionFormData?.length; i++) {\r\n if (inspectionFormData[i].uniqueDataFieldId === selectParent?.uniqueDataFieldId) {\r\n const findIndex = fieldValue?.findIndex((item) => item.dataFieldLookupId == updatedValue?.dataFieldLookupId);\r\n if (findIndex >= 0) {\r\n fieldValue[findIndex] = updatedValue;\r\n inspectionFormData[i].validatedValues = fieldValue;\r\n }\r\n } else {\r\n updateFieldValue(selectParent, inspectionFormData[i].inspectionGroupFields, updatedValue, fieldValue)\r\n }\r\n }\r\n return inspectionFormData;\r\n}\r\n\r\nexport const removeFieldValueWithTree = (selectParent, selectedNode, inspectionFormData, deletedValue, fieldValue) => {\r\n for (let i = 0; i < inspectionFormData?.length; i++) {\r\n if (inspectionFormData[i].key === selectedNode?.key) {\r\n if (selectParent) {\r\n removeFieldValue(selectParent, inspectionFormData[i]?.inspectionGroupFields, deletedValue, fieldValue);\r\n }\r\n } else if (inspectionFormData[i]?.children?.length) {\r\n removeFieldValueWithTree(selectParent, selectedNode, inspectionFormData[i]?.children, deletedValue, fieldValue)\r\n }\r\n }\r\n return [inspectionFormData, selectedNode];\r\n}\r\n\r\nexport const removeFieldValue = (selectParent, inspectionFormData, deletedValue, fieldValue) => {\r\n for (let i = 0; i < inspectionFormData?.length; i++) {\r\n if (inspectionFormData[i].uniqueDataFieldId === selectParent?.uniqueDataFieldId) {\r\n const index = fieldValue?.findIndex((item) => item.dataFieldLookupId === deletedValue?.dataFieldLookupId);\r\n if (index >= 0) {\r\n fieldValue.splice(index, 1);\r\n inspectionFormData[i].validatedValues = fieldValue;\r\n }\r\n } else {\r\n removeFieldValue(selectParent, inspectionFormData[i].inspectionGroupFields, deletedValue, fieldValue)\r\n }\r\n }\r\n return inspectionFormData;\r\n}\r\n\r\nexport const updateInspectionQuestionWithTree = (selectParent, selectedNode, inspectionFormData, updatedValue) => {\r\n for (let i = 0; i < inspectionFormData?.length; i++) {\r\n if (inspectionFormData[i].key === selectedNode?.key) {\r\n if (selectParent) {\r\n updateInspectionQuestion(selectParent, inspectionFormData[i]?.inspectionGroupFields, updatedValue);\r\n }\r\n } else if (inspectionFormData[i]?.children?.length) {\r\n updateInspectionQuestionWithTree(selectParent, selectedNode, inspectionFormData[i]?.children, updatedValue)\r\n }\r\n }\r\n return [inspectionFormData, selectedNode];\r\n}\r\n\r\nexport const updateInspectionQuestion = (selectParent, inspectionFormData, updatedValue) => {\r\n for (let i = 0; i < inspectionFormData?.length; i++) {\r\n if (inspectionFormData[i].uniqueDataFieldId === selectParent?.uniqueDataFieldId) {\r\n updatedValue.inspectionGroupFields = inspectionFormData[i].inspectionGroupFields;\r\n inspectionFormData[i] = updatedValue;\r\n } else {\r\n updateInspectionQuestion(selectParent, inspectionFormData[i].inspectionGroupFields, updatedValue)\r\n }\r\n }\r\n return inspectionFormData;\r\n}\r\n\r\nexport const deleteInspectionQuestionWithTree = (selectParent, selectedNode, inspectionFormData, deletedValue) => {\r\n for (let i = 0; i < inspectionFormData?.length; i++) {\r\n if (inspectionFormData[i].key === selectedNode?.key) {\r\n if (selectParent) {\r\n deleteInspectionQuestion(selectParent, inspectionFormData[i]?.inspectionGroupFields, deletedValue);\r\n }\r\n } else if (inspectionFormData[i]?.children?.length) {\r\n deleteInspectionQuestionWithTree(selectParent, selectedNode, inspectionFormData[i]?.children, deletedValue)\r\n }\r\n }\r\n return [inspectionFormData, selectedNode];\r\n}\r\n\r\nexport const deleteInspectionQuestion = (selectParent, inspectionFormData, deletedValue) => {\r\n for (let i = 0; i < inspectionFormData?.length; i++) {\r\n if (inspectionFormData[i].uniqueDataFieldId === selectParent?.uniqueDataFieldId) {\r\n inspectionFormData.splice(i, 1);\r\n } else {\r\n deleteInspectionQuestion(selectParent, inspectionFormData[i].inspectionGroupFields, deletedValue)\r\n }\r\n }\r\n return inspectionFormData;\r\n}\r\n\r\nexport const addGroupSectionWithTree = (selectedNode, inspectionFormData, newGroupSection) => {\r\n for (let i = 0; i < inspectionFormData?.length; i++) {\r\n if (inspectionFormData[i].key === selectedNode?.key) {\r\n const data = {\r\n key: newGroupSection?.inspectionGroupSectionId,\r\n label: newGroupSection?.inspectionGroupSectionName,\r\n children: newGroupSection?.inspectionGroupSections,\r\n inspectionGroupFields: newGroupSection?.inspectionGroupFields,\r\n level:newGroupSection?.level,\r\n position:newGroupSection?.position,\r\n parentGroupId:newGroupSection?.parentGroupId,\r\n isTreeNode:newGroupSection?.isTreeNode,\r\n hasDataFields:newGroupSection?.hasDataFields\r\n }\r\n if (inspectionFormData[i].children?.length)\r\n inspectionFormData[i].children.push(data);\r\n else\r\n inspectionFormData[i].children = [data];\r\n } else if (inspectionFormData[i]?.children?.length) {\r\n addGroupSectionWithTree(selectedNode, inspectionFormData[i]?.children, newGroupSection)\r\n }\r\n }\r\n return [inspectionFormData, selectedNode];\r\n}\r\n\r\nexport const updateGroupSectionWithTree = (selectedNode, inspectionFormData, updatedGroupSection) => {\r\n for (let i = 0; i < inspectionFormData?.length; i++) {\r\n if (inspectionFormData[i].key === selectedNode?.key) {\r\n inspectionFormData[i].label = updatedGroupSection?.inspectionGroupSectionName;\r\n } else if (inspectionFormData[i]?.children?.length) {\r\n updateGroupSectionWithTree(selectedNode, inspectionFormData[i]?.children, updatedGroupSection)\r\n }\r\n }\r\n return [inspectionFormData, selectedNode];\r\n}\r\n\r\nexport const deleteGroupSectionFromTree = (selectedNode, inspectionFormData, deletedGroupSection) => {\r\n for (let i = 0; i < inspectionFormData?.length; i++) {\r\n if (inspectionFormData[i].key === selectedNode?.key) {\r\n inspectionFormData.splice(i, 1);\r\n } else if (inspectionFormData[i]?.children?.length) {\r\n deleteGroupSectionFromTree(selectedNode, inspectionFormData[i]?.children, deletedGroupSection)\r\n }\r\n }\r\n return [inspectionFormData,inspectionFormData[0]];\r\n}\r\n\r\nexport const addDefaultDataValues = (inspectionFieldValues, deafaultValues) => {\r\n\r\n if (deafaultValues?.length) {\r\n for (let i = 0; i < deafaultValues.length; i++) {\r\n const index = inspectionFieldValues?.findIndex((item) => item.uniqueDataFieldId === deafaultValues[i]?.dataFieldId);\r\n if (index >= 0) {\r\n inspectionFieldValues[index].multipleFieldValue = deafaultValues[i]?.multipleValue;\r\n inspectionFieldValues[index].fieldValue = deafaultValues[i]?.value;\r\n } else {\r\n const item = {\r\n uniqueDataFieldId: deafaultValues[i]?.dataFieldId,\r\n fieldValue: deafaultValues[i]?.value,\r\n multipleFieldValue: deafaultValues[i]?.multipleValue,\r\n }\r\n inspectionFieldValues.push(item)\r\n }\r\n }\r\n }\r\n return inspectionFieldValues;\r\n}\r\n\r\n\r\n\r\nexport const convertInspectionFields = (data) => {\r\n if (data?.inspectionGroupFields?.length) {\r\n data?.inspectionGroupFields.forEach(element => {\r\n if (element?.validatedValues?.length) {\r\n element.validatedValues.forEach(item => {\r\n item.dataFieldLookupId = item?.dataFieldLookupId?.toString();\r\n });\r\n }\r\n if (element?.inspectionGroupFields?.length) {\r\n convertInspectionFields(element)\r\n }\r\n });\r\n }\r\n return data;\r\n}","import React, { useCallback, useEffect, useRef, useState } from \"react\";\r\nimport { Button } from \"primereact/button\";\r\nimport { showUI } from 'service/GeneralUtility';\r\nimport { BiRefresh } from \"react-icons/bi\";\r\n//components\r\nimport InspectionForms from \"components/common/Forms/InspectionForm/InspectionForms\";\r\nimport InformationBox from \"components/common/Message/InformationBox/InformationBox\";\r\nimport ConfirmationBox from \"components/common/Message/ConfirmationBox/ConfirmationBox\";\r\n//redux\r\nimport { useDispatch } from \"react-redux\";\r\nimport { setIsReportUpdated } from \"redux/pages/Inspection/InspectionTask/inspectionTaskSlice\";\r\nimport { getInspectionContracts, onGetInspectionContractFieldValues, onGetRefreshInspectionContract, onSaveInspectionContract, setInspectionContractFieldValues, setInspectionContracts, setUpdatedContractDatafields } from \"redux/pages/Inspection/InspectionTask/InspectionDetails/InspectionDetails/InspectionDetailsSlice\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\n//utility\r\nimport { addDefaultDataValues, convertInspectionFields } from \"pages/ManageInspection/InspectionFields/Utility/InspectionFieldUtility\";\r\nimport { ProgressSpinner } from \"primereact/progressspinner\";\r\n\r\ninterface ContractPropType {\r\n selectedTask: any;\r\n setIsValueChanged?: any;\r\n displayConfirmModal?: any;\r\n setDisplayConfirmModal?: any;\r\n cancelUpdate?: () => void;\r\n confirmMessage?: any;\r\n hideConfirmModal?: any;\r\n reportBtnClicked?: any;\r\n}\r\n\r\nconst Contracts: React.FC = (props) => {\r\n\r\n const {\r\n selectedTask,\r\n setIsValueChanged,\r\n displayConfirmModal,\r\n setDisplayConfirmModal,\r\n cancelUpdate = () => { },\r\n confirmMessage,\r\n hideConfirmModal,\r\n reportBtnClicked } = props;\r\n\r\n const inspectionFormRef = useRef(null);\r\n const [inspectionFormSetup, setInspectionFormSetup] = useState([]);\r\n const [message, setMessage] = useState(\"\");\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const [showProgress, setShowProgress] = useState(false);//progress bar\r\n const [branchOffice, setBranchOffice] = useState({ uniueDatafieldId: '', dataFieldLookupId: -1 });\r\n const [resetFormField, setResetFormField] = useState(false);\r\n const [fieldFocus, setFieldFocus] = useState(false);\r\n\r\n const dispatch = useDispatch();\r\n const inspectionContracts = useAppSelector((state) => state.inspectionDetails.inspectionContracts);\r\n const updatedDatafields = useAppSelector((state) => state.inspectionDetails.updatedContractDatafields);\r\n const inspectionContractFieldValues = useAppSelector((state) => state.inspectionDetails.inspectionContractFieldValues);\r\n const isReportUpdated = useAppSelector((state) => state.inspectionTask.isReportUpdated);\r\n const userPrivileges = useAppSelector((state) => state.user.userPrivileges);\r\n const typeOfTrigger = useAppSelector((state) => state.inspectionDetails.typeOfTriggerValue);\r\n\r\n const body = {\r\n uniqueTaskId: selectedTask?.uniqueInspectionTaskId,\r\n uniqueSystemId: selectedTask?.uniqueSystemId,\r\n }\r\n\r\n useEffect(() => {\r\n if (inspectionFormSetup?.inspectionGroupFields) {\r\n setShowProgress(true);\r\n dispatch(onGetInspectionContractFieldValues(selectedTask?.uniqueInspectionTaskId, setShowProgress, \"FIELD_VALUE\"));\r\n }\r\n\r\n }, [inspectionFormSetup]);\r\n\r\n useEffect(() => {\r\n if (inspectionContractFieldValues?.length && typeOfTrigger === \"FIELD_VALUE\") {\r\n inspectionFormSetup?.inspectionGroupFields?.forEach(element => {\r\n if (element?.dataFieldName === \"Branch Office\") {\r\n let data = element?.inspectionGroupFields[0];\r\n let slectedItem: any = [];\r\n if (inspectionContractFieldValues?.length)\r\n slectedItem = inspectionContractFieldValues?.filter((item) => item?.uniqueDataFieldId === data?.uniqueDataFieldId);\r\n if (slectedItem?.length) {\r\n let validatedValues = data?.validatedValues?.filter((item) => item?.dataFieldLookupId === slectedItem[0]?.fieldValue);\r\n if (validatedValues?.length)\r\n setBranchOffice((pre) => ({ ...pre, uniueDatafieldId: data?.uniqueDataFieldId, dataFieldLookupId: slectedItem[0].fieldValue }))\r\n else\r\n setBranchOffice((pre) => ({ ...pre, uniueDatafieldId: data?.uniqueDataFieldId, dataFieldLookupId: -1 }))\r\n } else {\r\n setBranchOffice((pre) => ({ ...pre, uniueDatafieldId: data?.uniqueDataFieldId, dataFieldLookupId: -1 }))\r\n }\r\n }\r\n });\r\n }\r\n }, [inspectionContractFieldValues,typeOfTrigger])\r\n\r\n useEffect(() => {\r\n if (selectedTask) {\r\n dispatch(getInspectionContracts(selectedTask?.uniqueInspectionTaskId, selectedTask?.uniqueSystemId));\r\n dispatch(setIsReportUpdated(false));\r\n }\r\n }, [selectedTask, isReportUpdated, resetFormField]);\r\n\r\n useEffect(() => {\r\n if (inspectionContracts) {\r\n let items = JSON.parse(JSON.stringify(inspectionContracts));\r\n let convFields = convertInspectionFields(items)\r\n setInspectionFormSetup(convFields);\r\n dispatch(setInspectionContracts(\"\"));\r\n }\r\n }, [inspectionContracts]);\r\n\r\n useEffect(() => {\r\n if (updatedDatafields) {\r\n let conv = JSON.parse(JSON.stringify(inspectionContractFieldValues))\r\n const result = addDefaultDataValues(conv, updatedDatafields?.fieldDetails);\r\n dispatch(setInspectionContractFieldValues(result));\r\n if (!reportBtnClicked) {\r\n setMessage(\"Contract updated\");\r\n setDisplayInfoModal(true);\r\n }\r\n cancelUpdate();\r\n dispatch(dispatch(setUpdatedContractDatafields(\"\")));\r\n }\r\n }, [updatedDatafields])\r\n\r\n const onInspectionSubmit = useCallback((data) => {\r\n const body = {\r\n fieldDetails: data,\r\n }\r\n let taskWithOutBranch = (selectedTask.hasBranchMapping && !selectedTask.hasBranch) ? true : false;\r\n setShowProgress(true);\r\n dispatch(onSaveInspectionContract(selectedTask?.uniqueInspectionTaskId, selectedTask?.uniqueSystemId, body, taskWithOutBranch, setShowProgress));\r\n setFieldFocus(false);\r\n }, []);\r\n\r\n const onRefreshTrigger = () => {\r\n setShowProgress(true);\r\n dispatch(onGetRefreshInspectionContract(selectedTask?.uniqueInspectionTaskId, setShowProgress, \"REFRESH_VALUE\"));\r\n inspectionFormRef?.current?.onBranchOffieSelectionInDynamically(branchOffice.uniueDatafieldId, branchOffice.dataFieldLookupId);\r\n }\r\n\r\n const onSelectionChanged = useCallback((data, id) => {\r\n setBranchOffice((pre) => ({ ...pre, uniueDatafieldId: data?.uniqueDataFieldId, dataFieldLookupId: id }))\r\n }, [])\r\n\r\n const checkIsValueChanged = useCallback((e) => {\r\n if (e) {\r\n setIsValueChanged(true);\r\n setFieldFocus(false);\r\n }\r\n }, [])\r\n\r\n const onCancel = () => {\r\n if (reportBtnClicked) {\r\n setResetFormField(!resetFormField);\r\n }\r\n cancelUpdate();\r\n }\r\n\r\n const onConfirmClick = () => {\r\n inspectionFormRef?.current?.requestSubmit();\r\n setDisplayConfirmModal(false);\r\n }\r\n\r\n const onInspectionFieldError = (error) => {\r\n if(error) {\r\n setMessage(error);\r\n setDisplayInfoModal(true);\r\n setFieldFocus(true);\r\n }\r\n };\r\n\r\n return (\r\n <>\r\n {showProgress &&\r\n (\r\n
\r\n \r\n
\r\n )\r\n }\r\n
\r\n
\r\n {selectedTask?.status === \"Active\" &&\r\n (\r\n
\r\n onRefreshTrigger()}\r\n tooltipOptions={{ position: \"top\" }}>\r\n \r\n \r\n
\r\n )\r\n }\r\n \r\n {inspectionFormSetup?.inspectionGroupFields?.length > 0 && selectedTask?.status === \"Active\" && (\r\n
\r\n {showUI(userPrivileges, \"SIETAP_INSPECTIONDETAILS_CONTRACT_SAVE\") &&\r\n inspectionFormRef?.current?.requestSubmit()}\r\n />\r\n }\r\n
\r\n )}\r\n
\r\n\r\n \r\n\r\n onCancel()}\r\n onHideAction={hideConfirmModal}\r\n confirmAction={onConfirmClick}\r\n message={confirmMessage}\r\n />\r\n
\r\n \r\n );\r\n};\r\n\r\nexport default Contracts;\r\n","export const customPieChartTooltip = ({ active, payload }: any) => {\r\n if (active && payload && payload.length) {\r\n return (\r\n
\r\n

{`${payload[0].name}: ${payload[0].value}`}

\r\n
\r\n );\r\n }\r\n return null;\r\n};","import React, { useEffect, useState } from \"react\";\r\nimport { PieChart, Pie, ResponsiveContainer, Legend, Cell, Tooltip } from \"recharts\";\r\nimport { customPieChartTooltip } from \"./utility\";\r\n\r\nimport { useDispatch } from \"react-redux\";\r\nimport { getEquipmentsummary } from \"redux/pages/Inspection/InspectionTask/inspectionTaskSlice\";\r\n\r\ninterface SummaryPropType {\r\n selectedTask?: any;\r\n}\r\n\r\nconst Summary: React.FC = (props) => {\r\n\r\n\tconst { selectedTask } = props;\r\n\r\n\tconst dispatch = useDispatch();\r\n\tconst colors = [\"#27B099\", \"#bd6482\", \"#95B1B0\"];\r\n\tconst [equipmentSummary, setEquipmentSummary] = useState([]);\r\n\r\n\tuseEffect(() => {\r\n\t\tif (selectedTask && selectedTask.uniqueInspectionTaskId) {\r\n\t\t\tdispatch(getEquipmentsummary(selectedTask.uniqueInspectionTaskId, setEquipmentSummary));\r\n\t\t}\t\r\n\t}, [dispatch, selectedTask]);\r\n\r\n\treturn (\r\n\t\t
\r\n\t\t\t
\r\n\t\t\t\t{(equipmentSummary && equipmentSummary.length) ? \r\n\t\t\t\t\t(<>\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
Equipment Summary
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t{equipmentSummary.map((entry, index) => (\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t))}\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t\t)\r\n\t\t\t\t\t: (<>)\r\n\t\t\t\t}\r\n\t\t\t
\r\n\t\t
\r\n\t);\r\n};\r\n\r\nexport default Summary;\r\n","import React, { useCallback, useEffect, useRef, useState } from \"react\";\r\nimport { Button } from \"primereact/button\";\r\nimport { showUI } from 'service/GeneralUtility';\r\n//components\r\nimport InspectionForms from \"components/common/Forms/InspectionForm/InspectionForms\";\r\nimport InformationBox from \"components/common/Message/InformationBox/InformationBox\";\r\nimport ConfirmationBox from \"components/common/Message/ConfirmationBox/ConfirmationBox\";\r\n//redux\r\nimport { useDispatch } from \"react-redux\";\r\nimport { setIsReportUpdated } from \"redux/pages/Inspection/InspectionTask/inspectionTaskSlice\";\r\nimport { getInspectionSystems, onGetInspectionSystemFieldValues, onSaveInspectionSystem, setInspectionSystemFieldValues, setInspectionSystems, setUpdatedSystemDatafields } from \"redux/pages/Inspection/InspectionTask/InspectionDetails/InspectionDetails/InspectionDetailsSlice\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\n//utility\r\nimport { addDefaultDataValues, convertInspectionFields } from \"pages/ManageInspection/InspectionFields/Utility/InspectionFieldUtility\";\r\nimport { ProgressSpinner } from \"primereact/progressspinner\";\r\n\r\ninterface SystemPropType {\r\n selectedTask?: any;\r\n setIsValueChanged?: any;\r\n displayConfirmModal?: any;\r\n setDisplayConfirmModal?: any;\r\n cancelUpdate?: () => void;\r\n confirmMessage?: any;\r\n hideConfirmModal?: any;\r\n reportBtnClicked?: any;\r\n}\r\nconst Systems: React.FC = (props) => {\r\n const {\r\n selectedTask,\r\n setIsValueChanged,\r\n displayConfirmModal,\r\n setDisplayConfirmModal,\r\n cancelUpdate = () => { },\r\n confirmMessage,\r\n hideConfirmModal,\r\n reportBtnClicked } = props;\r\n\r\n const inspectionFormRef = useRef(null);\r\n const [inspectionFormSetup, setInspectionFormSetup] = useState([]);\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const [message, setMessage] = useState(\"\");\r\n const [showProgress, setShowProgress] = useState(false);//progress bar\r\n const [resetFormField, setResetFormField] = useState(false);\r\n const [fieldFocus, setFieldFocus] = useState(false);\r\n\r\n const dispatch = useDispatch();\r\n const inspectionSystems = useAppSelector((state) => state.inspectionDetails.inspectionSystems);\r\n const updatedDatafields = useAppSelector((state) => state.inspectionDetails.updatedSystemDatafields);\r\n const inspectionSystemFieldValues = useAppSelector((state) => state.inspectionDetails.inspectionSystemFieldValues);\r\n const isReportUpdated = useAppSelector((state) => state.inspectionTask.isReportUpdated);\r\n const userPrivileges = useAppSelector((state) => state.user.userPrivileges);\r\n\r\n const body = {\r\n uniqueTaskId: selectedTask?.uniqueInspectionTaskId,\r\n uniqueSystemId: selectedTask?.uniqueSystemId,\r\n }\r\n\r\n useEffect(() => {\r\n if (selectedTask) {\r\n dispatch(getInspectionSystems(selectedTask?.uniqueInspectionTaskId, selectedTask?.uniqueSystemId));\r\n dispatch(setIsReportUpdated(false));\r\n }\r\n }, [selectedTask, isReportUpdated, resetFormField]);\r\n\r\n useEffect(() => {\r\n if (inspectionFormSetup?.inspectionGroupFields) {\r\n setShowProgress(true);\r\n dispatch(onGetInspectionSystemFieldValues(selectedTask?.uniqueInspectionTaskId, setShowProgress));\r\n }\r\n }, [inspectionFormSetup])\r\n\r\n useEffect(() => {\r\n if (inspectionSystems) {\r\n let items = JSON.parse(JSON.stringify(inspectionSystems));\r\n let convFields = convertInspectionFields(items)\r\n setInspectionFormSetup(convFields);\r\n dispatch(setInspectionSystems(\"\"));\r\n }\r\n }, [inspectionSystems]);\r\n\r\n useEffect(() => {\r\n if (updatedDatafields) {\r\n let conv = JSON.parse(JSON.stringify(inspectionSystemFieldValues))\r\n const result = addDefaultDataValues(conv, updatedDatafields?.fieldDetails);\r\n dispatch(setInspectionSystemFieldValues(result));\r\n if (!reportBtnClicked) {\r\n setMessage(\"System updated\");\r\n setDisplayInfoModal(true);\r\n }\r\n cancelUpdate();\r\n dispatch(dispatch(setUpdatedSystemDatafields(\"\")));\r\n }\r\n }, [updatedDatafields])\r\n\r\n const onInspectionSubmit = useCallback((data) => {\r\n const body = {\r\n fieldDetails: data,\r\n }\r\n setShowProgress(true);\r\n dispatch(onSaveInspectionSystem(selectedTask?.uniqueInspectionTaskId, selectedTask?.uniqueSystemId, body, setShowProgress));\r\n setFieldFocus(false);\r\n }, []);\r\n\r\n const checkIsValueChanged = useCallback((e) => {\r\n if (e) {\r\n setIsValueChanged(true);\r\n setFieldFocus(false);\r\n }\r\n }, [])\r\n\r\n const onCancel = () => {\r\n if (reportBtnClicked) {\r\n setResetFormField(!resetFormField);\r\n }\r\n cancelUpdate();\r\n }\r\n\r\n const onConfirmClick = () => {\r\n inspectionFormRef?.current?.requestSubmit();\r\n setDisplayConfirmModal(false);\r\n }\r\n\r\n const onInspectionFieldError = (error) => {\r\n if(error) {\r\n setMessage(error);\r\n setDisplayInfoModal(true);\r\n setFieldFocus(true);\r\n }\r\n };\r\n\r\n return (\r\n <>\r\n {showProgress &&\r\n (\r\n
\r\n \r\n
\r\n )\r\n }\r\n
\r\n
\r\n
\r\n \r\n {inspectionFormSetup?.inspectionGroupFields?.length > 0 && selectedTask?.status === \"Active\" && (\r\n
\r\n {showUI(userPrivileges, \"SIETAP_INSPECTIONDETAILS_SYSTEM_SAVE\") && }\r\n
\r\n )}\r\n
\r\n
\r\n \r\n\r\n onCancel()}\r\n onHideAction={hideConfirmModal}\r\n confirmAction={onConfirmClick}\r\n message={confirmMessage}\r\n />\r\n
\r\n \r\n );\r\n};\r\n\r\nexport default Systems;\r\n","import React, { memo } from 'react'\r\nimport { Tree } from 'primereact/tree';\r\nimport TreeNode from 'primereact/treenode';\r\n\r\ninterface TreeViewPropType {\r\n treeData: TreeNode[],\r\n selectionMode?: 'single' | 'multiple' | 'checkbox',\r\n filter?: boolean,\r\n selectedItem?: any;\r\n expandedKeys?: any;\r\n onNodeClick?: (data) => void;\r\n onToggle?: (e) => void;\r\n isCustomTemplateForNode?:boolean;\r\n}\r\n\r\nconst TreeView: React.FC = (props) => {\r\n const { treeData, selectedItem, selectionMode, filter, onNodeClick = () => { }, expandedKeys = {}, onToggle = () => { },isCustomTemplateForNode } = props;\r\n \r\n const onSelectionChange = (e) => {\r\n const data = filterData(treeData, e.value);\r\n onNodeClick(data)\r\n }\r\n\r\n const filterData = (tree, value) => {\r\n if (tree?.length) {\r\n var result;\r\n for (let i = 0; i < tree?.length; i++) {\r\n if (value === tree[i].key)\r\n return tree[i];\r\n let temp = filterData(tree[i]?.children, value);\r\n if (temp)\r\n return result = temp\r\n }\r\n return result;\r\n }\r\n }\r\n\r\n const onGetSlicedName=(data:any,limit:any) =>{\r\n if(( data === null) || (data === undefined) || (data === \"undefined\"))\r\n {\r\n return data\r\n }\r\n else\r\n {\r\n if(data?.length > limit)\r\n data = data.slice(0, limit)+\"...\";\r\n return data\r\n }\r\n }\r\n const onUpdateToolTipData=(data,limit,e: any) =>{\r\n if(data?.length > limit)\r\n {\r\n e.currentTarget.title = data;\r\n \r\n } \r\n }\r\n\r\n\r\n return (\r\n (\r\n {onUpdateToolTipData(node.label,45,e)}}>\r\n {onGetSlicedName(node.label,45)} \r\n \r\n ):null}\r\n \r\n />\r\n )\r\n}\r\n\r\nexport default memo(TreeView);","import React, { useCallback, useEffect, useRef, useState } from \"react\";\r\nimport { Button } from \"primereact/button\";\r\nimport { Dropdown } from \"primereact/dropdown\";\r\nimport { ScrollPanel } from \"primereact/scrollpanel\";\r\nimport { Checkbox } from \"primereact/checkbox\";\r\nimport { useForm } from \"react-hook-form\";\r\nimport { Dialog } from \"primereact/dialog\";\r\nimport { ProgressSpinner } from \"primereact/progressspinner\";\r\n//components\r\nimport InspectionForms from \"components/common/Forms/InspectionForm/InspectionForms\";\r\nimport TreeView from \"components/common/TreeView/TreeView\";\r\nimport InformationBox from \"components/common/Message/InformationBox/InformationBox\";\r\nimport AddEquipmentList from \"../Equipment/ManageEquipmentGrp/AddEquipmentGroup\";\r\nimport EditEquipmentList from \"../Equipment/ManageEquipmentGrp/EditEquipmentGroup\";\r\nimport ConfirmationBox from \"components/common/Message/ConfirmationBox/ConfirmationBox\";\r\n//icons\r\nimport { BsFillPencilFill, BsPlusLg } from \"react-icons/bs\";\r\n//redux\r\nimport { useDispatch } from \"react-redux\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\nimport { getEquipmentPanelList, setEquipmentPanelList, setNewEquipmentGroup, setUpdatedEquipmentGroup } from \"redux/pages/Inspection/InspectionTask/InspectionDetails/Equipment/EquipmentSlice\";\r\nimport { getInspectionQuestions, onGetInspectionQuestionFieldValues, onGetMonitoringValues, onSaveInspectionQuestion, setInspectionQuestion, setInspectionQuestionFieldValues, setUpdatedQuestionDatafields } from \"redux/pages/Inspection/InspectionTask/InspectionDetails/InspectionDetails/InspectionDetailsSlice\";\r\nimport { setIsReportUpdated } from \"redux/pages/Inspection/InspectionTask/inspectionTaskSlice\";\r\n//utility\r\nimport { addDefaultDataValues, convertInspectionFields } from \"pages/ManageInspection/InspectionFields/Utility/InspectionFieldUtility\";\r\nimport { getFirstDataFieldItem } from \"../Equipment/utility\";\r\nimport { showUI } from 'service/GeneralUtility';\r\n\r\ninterface QuestionsPropType {\r\n selectedTask?: any;\r\n setIsValueChanged?: any;\r\n displayConfirmModal?: any;\r\n setDisplayConfirmModal?: any;\r\n cancelUpdate?: () => void;\r\n confirmMessage?: any;\r\n setConfirmMessage?: any;\r\n hideConfirmModal?: any;\r\n reportBtnClicked?: any;\r\n}\r\nconst Questions: React.FC = (props) => {\r\n const {\r\n selectedTask,\r\n setIsValueChanged,\r\n displayConfirmModal,\r\n setDisplayConfirmModal,\r\n cancelUpdate = () => { },\r\n confirmMessage,\r\n setConfirmMessage,\r\n hideConfirmModal,\r\n reportBtnClicked\r\n }= props;\r\n\r\n const [selectedEquipmentGroup, setSelectedEquipmentGroup] = useState(null);\r\n const [selectedItem, setSelectedItem] = useState(null);\r\n const [inspectionFormSetup, setInspectionFormSetup] = useState([]);\r\n const [treeData, setTreeData] = useState([]);\r\n const [isCopied, setIsCopied] = useState(false);\r\n const [isMonitoring, setIsMonitoring] = useState(false);\r\n const [copiedList, setCopiedList] = useState([]);\r\n const [bodyInfo, setBodyInfo] = useState(null);\r\n const [showEquipmentGroupModal, setShowEquipmentGroupModal] = useState(false);\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const [message, setMessage] = useState(\"\");\r\n const [showAddEquipmentList, setShowAddEquipmentList] = useState(false);\r\n const [showEditEquipmentList, setShowEditEquipmentList] = useState(false);\r\n const [equipmentPanels, setEquipmentPanels] = useState([]);\r\n const [expandedKeys, setExpandedKeys] = useState({});\r\n const [clickedNode, setClickedNode] = useState(null);//keep the selected node value once asked confirmation\r\n const [showProgress, setShowProgress] = useState(false);//progress bar\r\n const [selectedTreeNodeItem, setSelectedTreeNodeItem] = useState(null);\r\n const [resetFormField, setResetFormField] = useState(false);\r\n const [equipmentGroupUpdatedata, setEquipmentGroupUpdateData] = useState(null);\r\n\r\n const inspectionFormRef = useRef(null);\r\n const isFieldValueChanged = useRef(null);\r\n\r\n const dispatch = useDispatch();\r\n const equipmentPanelList = useAppSelector((state) => state.equipment.equipmentPanelList);\r\n const inspectionQuestions = useAppSelector((state) => state.inspectionDetails.inspectionQuestion);\r\n const updatedDatafields = useAppSelector((state) => state.inspectionDetails.updatedQuestionDatafields);\r\n const inspectionQuestionFieldValues = useAppSelector((state) => state.inspectionDetails.inspectionQuestionFieldValues);\r\n const newEquipmentGroup = useAppSelector((state) => state.equipment.newEquipmentGroup);\r\n const updatedEquipmentGroup = useAppSelector((state) => state.equipment.updatedEquipmentGroup);\r\n const isReportUpdated = useAppSelector((state) => state.inspectionTask.isReportUpdated);\r\n const userPrivileges = useAppSelector((state) => state.user.userPrivileges);\r\n const monitoringValues = useAppSelector((state) => state.inspectionDetails.monitoringValues);\r\n\r\n const {\r\n } = useForm({\r\n });\r\n\r\n useEffect(() => {\r\n if (selectedTask) {\r\n dispatch(getEquipmentPanelList(selectedTask?.uniqueInspectionTaskId, false));\r\n }\r\n }, [selectedTask]);\r\n\r\n useEffect(() => {\r\n if (equipmentPanelList) {\r\n setEquipmentPanels(equipmentPanelList)\r\n setSelectedEquipmentGroup(equipmentPanelList[0]?.equipmentId);\r\n dispatch(setEquipmentPanelList(\"\"));\r\n }\r\n }, [equipmentPanelList]);\r\n\r\n useEffect(() => {\r\n if (selectedEquipmentGroup) {\r\n let conv = JSON.parse(JSON.stringify(equipmentPanels))\r\n let filterItem = conv.filter((item) => item.equipmentId !== selectedEquipmentGroup);\r\n filterItem.forEach(element => {\r\n element.checked = false;\r\n });\r\n setCopiedList(filterItem);\r\n dispatch(getInspectionQuestions(selectedTask?.uniqueInspectionTaskId, selectedEquipmentGroup));\r\n dispatch(setIsReportUpdated(false));\r\n }\r\n }, [selectedEquipmentGroup, isReportUpdated]);\r\n\r\n const checkNodeExists = (values, elements) => {\r\n values?.forEach(element => {\r\n if (element?.key === selectedTreeNodeItem?.key) {\r\n elements.push(element);\r\n } else {\r\n checkNodeExists(element?.children, elements);\r\n }\r\n });\r\n return elements[0];\r\n };\r\n\r\n useEffect(() => { \r\n if (inspectionQuestions?.length) {\r\n let value: any = JSON.stringify(inspectionQuestions?.[0]?.inspectionGroupSections);\r\n value = value?.replace(/\\\"inspectionGroupSectionId\\\":/g, '\"key\":');\r\n value = value?.replace(/\\\"inspectionGroupSectionName\\\":/g, '\"label\":');\r\n value = value?.replace(/\\\"inspectionGroupSections\\\":/g, '\"children\":');\r\n value = JSON.parse(value);\r\n setTreeData(value);\r\n let element = [];\r\n let selectedNode = [];\r\n const selectedElement = checkNodeExists(value, selectedNode);\r\n if (selectedTreeNodeItem && selectedElement) {\r\n let convList = convertInspectionFields(selectedElement);\r\n setInspectionFormSetup(convList);\r\n setSelectedItem(selectedElement);\r\n setSelectedTreeNodeItem(selectedElement);\r\n dispatch(setInspectionQuestion(\"\"));\r\n } else {\r\n const firstElement = getFirstDataFieldItem(value, element);\r\n let convList = convertInspectionFields(firstElement);\r\n setInspectionFormSetup(convList);\r\n setSelectedItem(firstElement);\r\n setSelectedTreeNodeItem(firstElement);\r\n dispatch(setInspectionQuestion(\"\"));\r\n };\r\n }\r\n }, [inspectionQuestions]);\r\n\r\n useEffect(() => {\r\n if (inspectionFormSetup && selectedEquipmentGroup) {\r\n setShowProgress(true);\r\n dispatch(onGetInspectionQuestionFieldValues(selectedTask?.uniqueInspectionTaskId, selectedEquipmentGroup, setShowProgress, handleEquipmentGroupChange));\r\n }\r\n }, [inspectionFormSetup, resetFormField])\r\n\r\n useEffect(() => {\r\n if (updatedDatafields) {\r\n let conv = JSON.parse(JSON.stringify(inspectionQuestionFieldValues))\r\n const result = addDefaultDataValues(conv, updatedDatafields?.fieldDetails);\r\n dispatch(setInspectionQuestionFieldValues(result));\r\n if (!reportBtnClicked && !equipmentGroupUpdatedata?.value) {\r\n setMessage(\"Inspection details saved\");\r\n setDisplayInfoModal(true);\r\n }\r\n setShowEquipmentGroupModal(false);\r\n setIsValueChanged(false);\r\n isFieldValueChanged.current = null;\r\n dispatch(setUpdatedQuestionDatafields(\"\"));\r\n cancelUpdate();\r\n handleEquipmentGroupChange();\r\n if (isFieldValueChanged.current && clickedNode) onCancel(clickedNode);\r\n }\r\n }, [updatedDatafields]);\r\n\r\n useEffect(() => {\r\n if (newEquipmentGroup) {\r\n let lists = JSON.parse(JSON.stringify(equipmentPanels))\r\n if (newEquipmentGroup?.equipmentId > 0) {\r\n lists.push(newEquipmentGroup);\r\n setEquipmentPanels(lists);\r\n setShowAddEquipmentList(false);\r\n setMessage(\"Equipment data added\");\r\n setSelectedEquipmentGroup(newEquipmentGroup?.equipmentId);\r\n } else {\r\n setMessage(\"Address already in use, cannot be added\");\r\n }\r\n setDisplayInfoModal(true);\r\n dispatch(setNewEquipmentGroup(\"\"));\r\n }\r\n }, [newEquipmentGroup]);\r\n\r\n useEffect(() => {\r\n if (updatedEquipmentGroup) {\r\n let lists = JSON.parse(JSON.stringify(equipmentPanels));\r\n const index = lists?.findIndex((item) => item?.equipmentId === updatedEquipmentGroup?.equipmentId);\r\n if (index >= 0) {\r\n lists[index].name = updatedEquipmentGroup?.name;\r\n }\r\n setEquipmentPanels([...lists]);\r\n dispatch(setUpdatedEquipmentGroup(\"\"));\r\n setShowEditEquipmentList(false)\r\n }\r\n }, [updatedEquipmentGroup])\r\n\r\n useEffect(() => {\r\n if (treeData?.length) {\r\n let _expandedKeys = {};\r\n for (let node of treeData) {\r\n expandNode(node, _expandedKeys);\r\n }\r\n setExpandedKeys(_expandedKeys);\r\n }\r\n }, [treeData])\r\n\r\n const expandNode = (node, _expandedKeys) => {\r\n if (node.children && node.children.length) {\r\n _expandedKeys[node.key] = true;\r\n\r\n for (let child of node.children) {\r\n expandNode(child, _expandedKeys);\r\n }\r\n }\r\n }\r\n\r\n const onNodeClick = useCallback((data) => {\r\n if (isFieldValueChanged.current && selectedTask?.status === \"Active\" && data?.label !== selectedItem?.label ){\r\n setClickedNode(data);\r\n setDisplayConfirmModal(true)\r\n setConfirmMessage(`Do you want to save the changes to`)\r\n } else {\r\n let convList = convertInspectionFields(data)\r\n setInspectionFormSetup(convList);\r\n setSelectedItem(data);\r\n setSelectedTreeNodeItem(data);\r\n }\r\n }, [selectedItem, isFieldValueChanged]);\r\n\r\n const onInspectionSubmit = useCallback((data) => {\r\n const body = {\r\n fieldDetails: data,\r\n nodeId: inspectionFormSetup?.key\r\n }\r\n if (isCopied) {\r\n setBodyInfo(body);\r\n setShowEquipmentGroupModal(true);\r\n if (!copiedList?.length) {\r\n setDisplayInfoModal(true);\r\n setMessage(\"No Other Equipment Groups exist\");\r\n }\r\n } else {\r\n setShowProgress(true);\r\n dispatch(onSaveInspectionQuestion(selectedTask?.uniqueInspectionTaskId, selectedEquipmentGroup, body, setShowProgress));\r\n }\r\n },\r\n [isCopied, bodyInfo, showEquipmentGroupModal, inspectionFormSetup]\r\n );\r\n\r\n const onInspectionSubmitWithCopies = () => {\r\n const filtered = copiedList.filter((item: any) => item.checked);\r\n if (!filtered?.length) {\r\n setDisplayInfoModal(true);\r\n setMessage(\"Select Equipment Group(s)\");\r\n return;\r\n }\r\n const removedDataSets = filtered?.map(({ checked, name, ...rest }: any) => {\r\n return rest;\r\n });\r\n bodyInfo.copyIds = removedDataSets;\r\n setShowProgress(true);\r\n dispatch(onSaveInspectionQuestion(selectedTask?.uniqueInspectionTaskId, selectedEquipmentGroup, bodyInfo, setShowProgress));\r\n }\r\n\r\n const getAllChecked = () => {\r\n const filtered = copiedList.filter((item: any) => item.checked);\r\n if (filtered?.length === copiedList?.length) return true;\r\n else return false;\r\n }\r\n\r\n const onAddEquipmentGroupClick = () => {\r\n if (selectedEquipmentGroup === null || selectedEquipmentGroup === \"ALL\" || selectedEquipmentGroup === 0) {\r\n setMessage(\r\n selectedEquipmentGroup === null ? \"Select an Equipment Group\"\r\n : selectedEquipmentGroup === \"ALL\" ? \"Select an Equipment Group\"\r\n : selectedEquipmentGroup === 0 ? \"Select an Equipment Group\"\r\n : \"\"\r\n );\r\n setDisplayInfoModal(true);\r\n }\r\n else {\r\n setShowAddEquipmentList(true)\r\n }\r\n }\r\n\r\n const onEditEquipmentGroupClick = () => {\r\n if (selectedEquipmentGroup === null || selectedEquipmentGroup === \"ALL\" || selectedEquipmentGroup === 0 || selectedEquipmentGroup === undefined) {\r\n setMessage(\r\n selectedEquipmentGroup === null ? \"Select an Equipment Group\"\r\n : selectedEquipmentGroup === \"ALL\" ? \"Select an Equipment Group\"\r\n : selectedEquipmentGroup === 0 ? \"Select an Equipment Group\"\r\n : selectedEquipmentGroup === undefined ? \"Select an Equipment Group\"\r\n : \"\"\r\n );\r\n setDisplayInfoModal(true);\r\n }\r\n else {\r\n setShowEditEquipmentList(true)\r\n }\r\n }\r\n\r\n const onConfirmClick = () => {\r\n setDisplayConfirmModal(false);\r\n inspectionFormRef?.current?.requestSubmit();\r\n }\r\n\r\n const onCancel = (data) => {\r\n if (!reportBtnClicked && !equipmentGroupUpdatedata?.value) {\r\n let convList = convertInspectionFields(data)\r\n setInspectionFormSetup(convList);\r\n setSelectedItem(data);\r\n setSelectedTreeNodeItem(data);\r\n setDisplayConfirmModal(false);\r\n setIsValueChanged(false);\r\n isFieldValueChanged.current = null;\r\n setClickedNode(null);\r\n } else {\r\n setResetFormField(!resetFormField);\r\n if(selectedItem?.key === 31){\r\n dispatch(onGetMonitoringValues(selectedTask?.uniqueInspectionTaskId, selectedEquipmentGroup, setShowProgress, !isMonitoring));\r\n setIsMonitoring(!isMonitoring);\r\n }\r\n }\r\n cancelUpdate();\r\n isFieldValueChanged.current = null;\r\n };\r\n\r\n const onHide = () => {\r\n setDisplayConfirmModal(false);\r\n setEquipmentGroupUpdateData(null);\r\n setClickedNode(null);\r\n hideConfirmModal();\r\n };\r\n\r\n const checkIsValueChanged = useCallback((e) => {\r\n if (e) {\r\n setIsValueChanged(true);\r\n isFieldValueChanged.current = true;\r\n }\r\n }, []);\r\n\r\n useEffect(() => {\r\n if (displayConfirmModal) {\r\n setIsCopied(false);\r\n }\r\n }, [displayConfirmModal]);\r\n\r\n const onEquipmentGroupUpdates = (value, data?: any) => {\r\n if (isFieldValueChanged.current && selectedTask?.status === \"Active\") {\r\n setDisplayConfirmModal(true);\r\n setConfirmMessage(`Do you want to save the changes to`);\r\n switch (value) {\r\n case 'ADD': {\r\n setEquipmentGroupUpdateData({ value: \"ADD\", data: \"\" });\r\n break;\r\n }\r\n case 'EDIT': {\r\n setEquipmentGroupUpdateData({ value: \"EDIT\", data: \"\" });\r\n break;\r\n }\r\n case 'CHANGE': {\r\n setEquipmentGroupUpdateData({ value: \"CHANGE\", data: data });\r\n break;\r\n }\r\n }\r\n } else {\r\n switch (value) {\r\n case 'ADD': {\r\n onAddEquipmentGroupClick();\r\n break;\r\n }\r\n case 'EDIT': {\r\n onEditEquipmentGroupClick();\r\n break;\r\n }\r\n case 'CHANGE': {\r\n setSelectedEquipmentGroup(data);\r\n break;\r\n }\r\n }\r\n }\r\n };\r\n\r\n const handleEquipmentGroupChange = () => {\r\n if(equipmentGroupUpdatedata && equipmentGroupUpdatedata.value) {\r\n switch (equipmentGroupUpdatedata?.value) {\r\n case 'ADD': {\r\n onAddEquipmentGroupClick();\r\n setEquipmentGroupUpdateData(null);\r\n break;\r\n }\r\n case 'EDIT': {\r\n onEditEquipmentGroupClick();\r\n setEquipmentGroupUpdateData(null);\r\n break;\r\n }\r\n case 'CHANGE': {\r\n setSelectedEquipmentGroup(equipmentGroupUpdatedata.data);\r\n setEquipmentGroupUpdateData(null);\r\n break;\r\n }\r\n }\r\n }\r\n };\r\n\r\n const onInspectionFieldError = (error) => {\r\n if(error) {\r\n setMessage(error);\r\n setDisplayInfoModal(true);\r\n }\r\n };\r\n\r\n const renderDeleteFooter = () => {\r\n return (\r\n <>\r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n
\r\n \r\n )}\r\n \r\n \r\n
\r\n \r\n setExpandedKeys(e.value)}\r\n treeData={treeData}\r\n selectedItem={selectedItem?.key}\r\n expandedKeys={expandedKeys}\r\n isCustomTemplateForNode = {true} />\r\n \r\n \r\n
\r\n \r\n
\r\n \r\n {inspectionFormSetup?.inspectionGroupFields?.length > 0 && selectedTask?.status === \"Active\" && (\r\n
\r\n
\r\n {equipmentPanels?.length > 1 &&\r\n <>\r\n setIsCopied(e.checked)} checked={isCopied} />\r\n \r\n \r\n }\r\n {selectedItem?.key === 31 &&\r\n <>\r\n {\r\n dispatch(onGetMonitoringValues(selectedTask?.uniqueInspectionTaskId, selectedEquipmentGroup, setShowProgress, e.checked))\r\n setIsMonitoring(e.checked)\r\n setIsValueChanged(true);\r\n isFieldValueChanged.current = true;\r\n }}\r\n checked={isMonitoring} />\r\n \r\n \r\n }\r\n
\r\n {/* {selectedTask && selectedTask?.status === \"Active\" && showUI(userPrivileges, \"SIETAP_INSPECTIONDETAILS_QUESTIONS_SAVE\") && */}\r\n \r\n {/* } */}\r\n
\r\n )}\r\n
\r\n {showEquipmentGroupModal && (\r\n setShowEquipmentGroupModal(false)}\r\n className=\"add-overlay\"\r\n >\r\n
\r\n
\r\n
\r\n
\r\n {\r\n copiedList.forEach((element: any) => {\r\n element.checked = e.checked\r\n });\r\n setCopiedList([...copiedList])\r\n }}\r\n />\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n {copiedList?.map((item: any, key) => (\r\n
\r\n {\r\n copiedList.forEach((element: any) => {\r\n if (element?.equipmentId === e.value) {\r\n element.checked = e.checked\r\n }\r\n });\r\n setCopiedList([...copiedList])\r\n }} />\r\n \r\n
\r\n ))\r\n }\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n )}\r\n \r\n onCancel(clickedNode)}\r\n onHideAction={onHide}\r\n confirmAction={onConfirmClick}\r\n message={confirmMessage + ` ${selectedItem?.label}?`}\r\n />\r\n {showAddEquipmentList &&\r\n }\r\n {showEditEquipmentList &&\r\n }\r\n \r\n \r\n );\r\n};\r\n\r\nexport default Questions;\r\n","import React, { useCallback, useEffect, useRef, useState} from \"react\";\r\n\r\nimport { Dialog } from \"primereact/dialog\";\r\nimport { Button } from \"primereact/button\";\r\nimport { classNames } from \"primereact/utils\";\r\nimport { ProgressBar } from \"primereact/progressbar\";\r\n\r\nimport { DEFAULT_HEADER_LIST } from \"../../InspectionTasksData\";\r\nimport EquipmentList from \"./Equipment/EquipmentList\";\r\nimport Contracts from \"./Contracts/Contracts\";\r\nimport Summary from \"./Summary/Summary\";\r\nimport Systems from \"./Systems/Systems\";\r\nimport Questions from \"./Questions/Questions\";\r\n\r\nimport { useDispatch } from \"react-redux\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\nimport { getCheckSystemParseInProgress, getXMLImportStatus, setXMLImportStatus, setCheckSystemParseInProgress, setEquipmentPanelList, setEquipmentList, setEquipmentTypeList, setUserDefaultEquipmentClass, addUserDefaultEquipmentClass, setIsEquipmentClassDropdownChanged, getEquipmentPanelList, getEquipmentTypeListWithDefaultEquipmentClass, getEquipmentList } from \"redux/pages/Inspection/InspectionTask/InspectionDetails/Equipment/EquipmentSlice\";\r\nimport { setInspectionQuestion, setInspectionQuestionFieldValues, setMonitoringValues, setUpdatedQuestionDatafields } from \"redux/pages/Inspection/InspectionTask/InspectionDetails/InspectionDetails/InspectionDetailsSlice\";\r\nimport { setSelectedFailedEquipment } from \"redux/pages/Dashboard/dashboardSlice\";\r\n\r\nimport { showUI } from 'service/GeneralUtility';\r\n\r\ninterface ListItem {\r\n id: number;\r\n name: string;\r\n selected: boolean;\r\n}\r\n\r\ninterface IInspectionDetails {\r\n showModal: boolean;\r\n setShowModal: (value: boolean) => void;\r\n taskWithoutBranchOffice: boolean;\r\n setShowReportModal?: (value: boolean) => void;\r\n selectedTask?: any;\r\n selectedReports?: any;\r\n inspectionTaskGridRefresh?: () => void;\r\n \r\n}\r\n\r\n\r\nexport const InspectionDetails: React.FC = (props) => {\r\n const { showModal = false, setShowModal = () => { }, selectedTask, selectedReports, setShowReportModal = () => { }, taskWithoutBranchOffice = false} = props;\r\n let {inspectionTaskGridRefresh = () => {}} = props;\r\n const checkSystemParseInProgress = useAppSelector((state) => state.equipment.checkSystemParseInProgress);\r\n const xmlImportStatus = useAppSelector((state) => state.equipment.xmlImportStatus);\r\n const userPrivileges = useAppSelector((state) => state.user.userPrivileges);\r\n\r\n const [headerList, setHeaderList] = useState>(DEFAULT_HEADER_LIST);\r\n const [progressValue, setProgressValue] = useState(0);\r\n const [showProgressBar, setShowProgressBar] = useState(false);\r\n const [showXmlImportComplete, setShowXmlImportComplete] = useState(false);\r\n const [message, setMessage] = useState(\"\");\r\n const [displayConfirmModal, setDisplayConfirmModal] = useState(false);\r\n const [clickedNode, setClickedNode] = useState(null);\r\n const [closeBtnClicked, setCloseBtnClicked] = useState(false);\r\n const [reportBtnClicked, setReportBtnClicked] = useState(false);\r\n const dispatch = useDispatch();\r\n const interval = useRef(null);\r\n const isFieldValueChanged = useRef(null);\r\n const userDefaultEquipmentClass = useAppSelector((state) => state.equipment.userDefaultEquipmentClass);\r\n const isEquipmentClassDropdownChanged = useAppSelector((state) => state.equipment.isEquipmentClassDropdownChanged);\r\n\r\n useEffect(() => {\r\n headerList.forEach(element => {\r\n element.selected = false;\r\n });\r\n if (taskWithoutBranchOffice) {\r\n headerList[0].selected = true;\r\n } else {\r\n headerList[3].selected = true;\r\n }\r\n setHeaderList([...headerList]);\r\n }, [])\r\n\r\n const handleListClick = (id: number) => {\r\n if(isFieldValueChanged.current && selectedTask?.status === \"Active\" && checkPrivilageForSave()) {\r\n setClickedNode(id);\r\n setDisplayConfirmModal(true);\r\n } else {\r\n setClickedNode(null);\r\n changeHeaderSelectedItem(id);\r\n }\r\n };\r\n\r\n const changeHeaderSelectedItem = (id: number) => {\r\n const updatedList = headerList.map((item: ListItem) => {\r\n if (item?.id === id) {\r\n item.selected = true;\r\n } else {\r\n item.selected = false;\r\n }\r\n return item;\r\n });\r\n\r\n setHeaderList(updatedList);\r\n };\r\n\r\n\r\n useEffect(() => { \r\n if(selectedTask && selectedTask.system){\r\n dispatch(getCheckSystemParseInProgress(selectedTask?.system?.uniqueSystemId))\r\n }\r\n }, [selectedTask])\r\n\r\n useEffect(() => {\r\n if (selectedTask && checkSystemParseInProgress) {\r\n if (checkSystemParseInProgress.isSystemParseInProgress) {\r\n setShowProgressBar(true);\r\n interval.current = setInterval(() => {\r\n const body = {\r\n uniqueSystemId: selectedTask?.system?.uniqueSystemId,\r\n UniqueInspectionTaskId: selectedTask?.uniqueInspectionTaskId\r\n }\r\n dispatch(getXMLImportStatus(body))\r\n }, 1000);\r\n\r\n return () => {\r\n clearInterval(interval.current);\r\n }\r\n }\r\n }\r\n }, [selectedTask, checkSystemParseInProgress])\r\n\r\n useEffect(()=>{\r\n if (selectedTask && xmlImportStatus) {\r\n if (xmlImportStatus.isParseCompleted) { \r\n setProgressValue(100);\r\n setShowProgressBar(false); \r\n setShowXmlImportComplete(true);\r\n clearInterval(interval.current);\r\n dispatch(getEquipmentPanelList(selectedTask?.uniqueInspectionTaskId));\r\n\t\t\t dispatch(getEquipmentTypeListWithDefaultEquipmentClass(userDefaultEquipmentClass,selectedTask?.uniqueInspectionTaskId));\r\n const body = {\r\n uniquePanelId: selectedTask.selectedEquipmentGroup,\r\n uniqueEquipmentClassId: selectedTask.selectedEquipmentType !== \"All\" ? selectedTask.selectedEquipmentType : null,\r\n uniqueSystemId: selectedTask?.system?.uniqueSystemId,\r\n inspectionTaskStatus: selectedTask?.status,\r\n filterType: \"NONE\"\r\n };\r\n dispatch(getEquipmentList(selectedTask?.uniqueInspectionTaskId, body, 0));\r\n dispatch(setXMLImportStatus(\"\"));\r\n } else {\r\n let currentValue = xmlImportStatus.progress ? parseInt(xmlImportStatus.progress) : 0;\r\n if (currentValue >= 100) {\r\n currentValue = 100; \r\n setShowProgressBar(false); \r\n setShowXmlImportComplete(true);\r\n clearInterval(interval.current);\r\n dispatch(getEquipmentPanelList(selectedTask?.uniqueInspectionTaskId));\r\n const body = {\r\n uniquePanelId: selectedTask.selectedEquipmentGroup,\r\n uniqueEquipmentClassId: selectedTask.selectedEquipmentType !== \"All\" ? selectedTask.selectedEquipmentType : null,\r\n uniqueSystemId: selectedTask?.system?.uniqueSystemId,\r\n inspectionTaskStatus: selectedTask?.status,\r\n filterType: \"NONE\"\r\n };\r\n dispatch(getEquipmentList(selectedTask?.uniqueInspectionTaskId, body, 0));\r\n }\r\n setProgressValue(currentValue);\r\n dispatch(setXMLImportStatus(\"\"));\r\n } \r\n }\r\n },[selectedTask,xmlImportStatus]);\r\n\r\n useEffect(() => {\r\n if (progressValue) {\r\n if (progressValue >= 100) {\r\n setTimeout(() => {\r\n setShowXmlImportComplete(false);\r\n }, 5000); \r\n }\r\n }\r\n }, [progressValue]);\r\n\r\n useEffect(() => {\r\n if (displayConfirmModal) {\r\n headerList.map((item, key) => {\r\n if (item.id == 1 && item.selected === true) {\r\n setMessage(\"Do you want to save the Contract Details?\");\r\n } else if (item.id == 2 && item.selected === true) {\r\n setMessage(\"Do you want to save the System Details?\");\r\n } else if (item.id == 3 && item.selected === true) {\r\n setMessage(\"Do you want to save the changes to\");\r\n }\r\n });\r\n }\r\n }, [displayConfirmModal]);\r\n\r\n const InspectionTaskRefresh = (callback:any) =>{\r\n inspectionTaskGridRefresh = callback\r\n}\r\n\r\n\r\n const onCloseBtnClick = () => {\r\n if(isEquipmentClassDropdownChanged)\r\n {\r\n const body = {\r\n equipmentClassId: userDefaultEquipmentClass == \"All\" ? 0 : userDefaultEquipmentClass,\r\n uniqueInspectionTaskId : selectedTask?.uniqueInspectionTaskId\r\n };\r\n dispatch(addUserDefaultEquipmentClass(body))\r\n dispatch(setIsEquipmentClassDropdownChanged(false))\r\n }\r\n dispatch(setUserDefaultEquipmentClass(''))\r\n setCloseBtnClicked(true);\r\n if (isFieldValueChanged.current && selectedTask?.status === \"Active\" && checkPrivilageForSave()) {\r\n setDisplayConfirmModal(true);\r\n } else {\r\n hideDialog(); \r\n }\r\n inspectionTaskGridRefresh();\r\n };\r\n\r\n const hideDialog = () => {\r\n dispatch(setXMLImportStatus(\"\"));\r\n dispatch(setCheckSystemParseInProgress(\"\"));\r\n dispatch(setSelectedFailedEquipment(\"\"));\r\n dispatch(setEquipmentList(\"\"));\r\n dispatch(setEquipmentTypeList(\"\"));\r\n dispatch(setEquipmentPanelList(\"\"));\r\n dispatch(setInspectionQuestion(\"\"));\r\n dispatch(setInspectionQuestionFieldValues(\"\"));\r\n dispatch(setUpdatedQuestionDatafields(\"\"));\r\n dispatch(setMonitoringValues(\"\"));\r\n setShowModal(false);\r\n }\r\n\r\n const cancelUpdate = () => {\r\n if (clickedNode) {\r\n changeHeaderSelectedItem(clickedNode);\r\n } else {\r\n if(closeBtnClicked) {\r\n hideDialog();\r\n setCloseBtnClicked(false);\r\n }\r\n }\r\n if(reportBtnClicked) {\r\n setShowReportModal(true);\r\n setReportBtnClicked(false);\r\n }\r\n setDisplayConfirmModal(false);\r\n isFieldValueChanged.current = null;\r\n setClickedNode(null);\r\n };\r\n\r\n const hideConfirmModal = () => {\r\n setDisplayConfirmModal(false);\r\n setClickedNode(null);\r\n setCloseBtnClicked(false);\r\n setReportBtnClicked(false);\r\n };\r\n\r\n const checkPrivilageForSave = () => {\r\n let permitToSave;\r\n\r\n headerList.map((item, key) => {\r\n if (item.id == 1 && item.selected === true) {\r\n showUI(userPrivileges, \"SIETAP_INSPECTIONDETAILS_CONTRACT_SAVE\") ? permitToSave = true : permitToSave = false;\r\n } else if (item.id == 2 && item.selected === true) {\r\n showUI(userPrivileges, \"SIETAP_INSPECTIONDETAILS_SYSTEM_SAVE\") ? permitToSave = true : permitToSave = false;\r\n } else if (item.id == 3 && item.selected === true) {\r\n permitToSave = true;\r\n }\r\n });\r\n return permitToSave;\r\n };\r\n\r\n const onReportSelection = () => {\r\n if (isFieldValueChanged.current && selectedTask?.status === \"Active\" && checkPrivilageForSave()) {\r\n setReportBtnClicked(true);\r\n setDisplayConfirmModal(true);\r\n } else {\r\n setShowReportModal(true);\r\n }\r\n };\r\n\r\n const fieldValuesUpdated = useCallback((data) => {\r\n isFieldValueChanged.current = data ? data : null;\r\n },[]);\r\n\r\n return (\r\n setShowModal(false)} className=\"equipment-list\">\r\n
\r\n
\r\n
\r\n
Task
\r\n
{selectedTask?.inspectionTaskName}
\r\n
\r\n
\r\n
Contract
\r\n
{selectedTask?.contractName}
\r\n
\r\n
\r\n
System
\r\n
{selectedTask?.systemNames}
\r\n
\r\n
\r\n onCloseBtnClick()}>\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
    \r\n {headerList?.length > 0 &&\r\n headerList.map((item: ListItem) => (\r\n handleListClick(item?.id)}\r\n >\r\n {item?.name}\r\n \r\n ))}\r\n
\r\n
\r\n {(showProgressBar) ? \r\n (
\r\n \r\n
) \r\n : (<>)\r\n }\r\n {showXmlImportComplete && \r\n XML Importing Completed\r\n }\r\n {(showUI(userPrivileges,\"SIETAP_INSPECTIONS_REPORTSSELECTED\")) && \r\n
\r\n
\r\n }\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n {headerList.map((item, key) => {\r\n if (item.id == 1 && item.selected === true) {\r\n return (\r\n );\r\n } else if (item.id == 2 && item.selected === true) {\r\n return (\r\n );\r\n } else if (item.id == 3 && item.selected === true) {\r\n return (\r\n );\r\n } else if (item.id == 4 && item.selected === true) {\r\n return ;\r\n } else if (item.id == 5 && item.selected === true) {\r\n return ;\r\n }\r\n })}\r\n
\r\n\r\n
\r\n );\r\n};\r\n\r\nexport default InspectionDetails;\r\n","import React, { useEffect, useState } from 'react';\r\nimport { Dialog } from 'primereact/dialog';\r\nimport { DataTable } from 'primereact/datatable';\r\nimport { Column } from 'primereact/column';\r\nimport { Checkbox } from 'primereact/checkbox';\r\nimport { Button } from 'primereact/button';\r\nimport { useDispatch } from 'react-redux';\r\nimport { getInspectionReportList, checkLinkedReports, setLinkedReportsData } from 'redux/pages/Inspection/InspectionTask/inspectionTaskSlice';\r\nimport { useAppSelector } from 'redux/hooks';\r\nimport { showUI } from 'service/GeneralUtility';\r\nimport { ProgressBar } from 'primereact/progressbar';\r\nimport InformationBox from 'components/common/Message/InformationBox/InformationBox';\r\n\r\ninterface Props {\r\n showModal: boolean,\r\n setShowModal: (data: boolean) => void,\r\n selectedReports: any,\r\n isAdd?: boolean,\r\n showInfoCard?: boolean\r\n saveReportClick?: (selection) => void,\r\n selectedRows?: any,\r\n}\r\nexport const InspectionReports: React.FC = ({\r\n \r\n showModal = false,\r\n setShowModal = () => { },\r\n selectedReports = [],\r\n isAdd = true,\r\n showInfoCard = false,\r\n saveReportClick = () => { },\r\n selectedRows = ''\r\n}) => {\r\n\r\n const inspectionReportList = useAppSelector((state) => state.inspectionTask.inspectionReportList);\r\n const userPrivileges = useAppSelector((state) => state.user.userPrivileges);\r\n const linkedReportsData = useAppSelector((state) => state.inspectionTask.linkedReportsData);\r\n\r\n const [selection, setSelection] = useState(null);\r\n const [linkedReportSelection, setLinkedReportSelection] = useState(null)\r\n const [reports, setReports] = useState([]);\r\n const [reportList, setReportList] = useState([]);\r\n const [taskName, setTaskName] = useState(\"\");\r\n const [technician, setTechnician] = useState(\"\");\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const [message, setMessage] = useState(\"\");\r\n const dispatch = useDispatch();\r\n const [fetchComplete, setFetchComplete] = useState(false);\r\n const [isLinkedReports, setIsLinkedReports] = useState(false);\r\n const [linkedReports, setLinkedReports] = useState([]);\r\n useEffect(() => {\r\n if (selectedReports) {\r\n setSelection(selectedReports);\r\n }\r\n }, [selectedReports]);\r\n\r\n useEffect(() => {\r\n if (linkedReportsData) {\r\n if (linkedReportsData?.isLinkedReportsExists) {\r\n if (isLinkedReports) {\r\n setMessage(\"Select at least one report in each category to proceed\");\r\n setDisplayInfoModal(true)\r\n } else {\r\n let reportData: any = [];\r\n linkedReportsData.linkedReportDetails.map((item: any) => {\r\n reportData.push(item)\r\n return true;\r\n })\r\n setFetchComplete(true)\r\n setIsLinkedReports(true)\r\n setLinkedReports(reportData)\r\n }\r\n } else if (linkedReportsData?.isLinkedReportsExists === false) {\r\n let mergedData = selection?.concat(linkedReportSelection);\r\n let updatedSelection: any = [];\r\n inspectionReportList?.reportGroupDetails?.map((item: any) => {\r\n item?.inspectionReport?.map((reportItem) => {\r\n mergedData.map((selectionItem) => {\r\n if (selectionItem?.inspectionReportId === reportItem?.inspectionReportId ||\r\n selectionItem?.nfpaInspectionReportId === reportItem?.inspectionReportId) {\r\n updatedSelection.push(reportItem)\r\n }\r\n })\r\n })\r\n })\r\n if (updatedSelection?.length) {\r\n saveReportClick(updatedSelection)\r\n }\r\n }\r\n }\r\n }, [linkedReportsData])\r\n\r\n useEffect(() => {\r\n dispatch(getInspectionReportList())\r\n if (!isAdd) {\r\n setTaskName(selectedRows[0].inspectionTaskName)\r\n setTechnician(selectedRows[0].leadTechnician)\r\n }\r\n }, [dispatch, isAdd, selectedRows])\r\n\r\n useEffect(() => {\r\n if (inspectionReportList.reportGroupDetails?.length > 0) {\r\n\r\n let reportData: any = [];\r\n let reportGroupData: any = [];\r\n inspectionReportList.reportGroupDetails.map((item: any) => {\r\n if ([2, 4, 7].includes(item?.reportGroupId)) {\r\n reportData.push.apply(reportData, item.inspectionReport)\r\n reportGroupData.push({ id: item.reportGroupId, value: item.reportGroupName, checked: true })\r\n } else {\r\n var isData = false;\r\n item?.inspectionReport?.forEach(element => {\r\n const data = selectedReports?.filter((item) => item.inspectionReportId === element?.inspectionReportId);\r\n if (data?.length)\r\n isData = true;\r\n });\r\n if (isData)\r\n reportData.push.apply(reportData, item.inspectionReport)\r\n reportGroupData.push({ id: item.reportGroupId, value: item.reportGroupName, checked: isData })\r\n }\r\n })\r\n setFetchComplete(true);\r\n setReports(reportGroupData);\r\n \r\n reportData.sort((a, b) => a.positionNo-b.positionNo);\r\n setReportList(reportData);\r\n }\r\n }, [inspectionReportList, selectedReports])\r\n\r\n const onReportsChange = (e: { value: any, checked: boolean }) => {\r\n let reportGroup = [...reports];\r\n let reportListCopy: any = [...inspectionReportList.reportGroupDetails];\r\n\r\n reportGroup.find((item: any) => item.value === e.value).checked = e.checked\r\n let checkedReportGroup = reportGroup.filter((el: any) => el.checked === true);\r\n let checkedReportList: any = [];\r\n reportListCopy.map((item: any) => {\r\n if (checkedReportGroup.find((el: any) => el.id === item.reportGroupId)) {\r\n checkedReportList.push.apply(checkedReportList, item.inspectionReport)\r\n }\r\n return checkedReportList;\r\n })\r\n checkedReportList.sort((a, b) => a.positionNo-b.positionNo);\r\n setReportList(checkedReportList);\r\n setReports(reportGroup);\r\n }\r\n\r\n const onSaveReports = () => {\r\n if (selection === null || selection?.length === 0) {\r\n setMessage(\"Selected Inspection Task is active, atleast one report should be mapped\")\r\n setDisplayInfoModal(true);\r\n }\r\n else {\r\n if (!isLinkedReports) {\r\n let selectedReportIds = selection.map((item) => item.inspectionReportId)\r\n let body = {\r\n reportIds: selectedReportIds\r\n };\r\n dispatch(checkLinkedReports(body))\r\n } else {\r\n let selectedReportIds = selection.map((item) => item.inspectionReportId)\r\n let selected_linkedReportIds = linkedReportSelection.map((item) => item.nfpaInspectionReportId);\r\n let mergedIds = selectedReportIds?.concat(selected_linkedReportIds);\r\n let body = {\r\n reportIds: mergedIds\r\n };\r\n dispatch(checkLinkedReports(body))\r\n }\r\n\r\n }\r\n }\r\n\r\n const changesSaved = () => {\r\n if (!isLinkedReports) return;\r\n if (!linkedReportSelection?.length) {\r\n setDisplayInfoModal(true);\r\n setMessage(\"At least one of the following Linked Reports should be selected before updating.\");\r\n return;\r\n }\r\n\r\n let selectedReportIds = selection.map((item) => item.inspectionReportId)\r\n let selected_linkedReportIds = linkedReportSelection.map((item) => item.nfpaInspectionReportId);\r\n let mergedIds = selectedReportIds?.concat(selected_linkedReportIds);\r\n let body = {\r\n reportIds: mergedIds\r\n };\r\n dispatch(checkLinkedReports(body));\r\n }\r\n\r\n const resetModal = () => {\r\n dispatch(setLinkedReportsData(\"\"))\r\n setIsLinkedReports(false);\r\n setReportList([])\r\n\r\n }\r\n return (\r\n \r\n { setShowModal(false); resetModal() }}\r\n className='reports-modal'\r\n >\r\n {fetchComplete ?\r\n (
\r\n {!isLinkedReports &&
\r\n {showInfoCard &&
\r\n
\r\n
Inspection Task
\r\n
{taskName}
\r\n
\r\n
\r\n
Lead Technician
\r\n
{technician}
\r\n
\r\n
}\r\n
\r\n {reports && reports.length ?\r\n (reports.map((item: any, key: any) => (\r\n
\r\n \r\n \r\n
\r\n ))) : null\r\n }\r\n
\r\n
\r\n\r\n }\r\n {isLinkedReports &&
Note: At least one of the following Linked Reports should be selected before updating.
}\r\n
\r\n {!isLinkedReports &&\r\n setSelection(e.value)}\r\n dataKey=\"inspectionReportId\"\r\n >\r\n \r\n \r\n \r\n \r\n }\r\n {isLinkedReports &&\r\n setLinkedReportSelection(e.value)}\r\n dataKey=\"nfpaInspectionReportId\"\r\n >\r\n \r\n \r\n \r\n \r\n \r\n }\r\n
\r\n
\r\n
\r\n
) :\r\n (
\r\n \r\n
)}\r\n setDisplayInfoModal(false)} message={message} />\r\n \r\n );\r\n}\r\n\r\nexport default InspectionReports;","import React, { useState, useRef, useEffect } from \"react\";\r\nimport moment from \"moment\";\r\n\r\nimport { classNames } from \"primereact/utils\";\r\nimport { useForm, Controller } from \"react-hook-form\";\r\nimport { Dropdown } from \"primereact/dropdown\";\r\nimport { Checkbox } from \"primereact/checkbox\";\r\nimport { RadioButton } from \"primereact/radiobutton\";\r\nimport { Calendar } from \"primereact/calendar\";\r\nimport { BsExclamationCircleFill } from \"react-icons/bs\";\r\n\r\nimport InformationBox from \"components/common/Message/InformationBox/InformationBox\";\r\nimport InspectionDetails from \"./../InspectionTasks/ManageInspectionTasks/InspectionDetails/InspectionDetails\";\r\nimport InspectionReports from \"./../InspectionTasks/ManageInspectionTasks/InspectionReports\";\r\n\r\n//redux\r\nimport { useAppSelector } from \"redux/hooks\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { clearGeneratedReportDetails, clearSystemSummary, getSystemList, getSystemSummary, onGenerateReport, setDefaultSystemDetails, setSystemList } from \"../../redux/pages/Inspection/InspectionReports/inspectionReportsSlice\";\r\nimport { setContractUpdated } from \"redux/pages/Inspection/InspectionTask/InspectionDetails/InspectionDetails/InspectionDetailsSlice\";\r\nimport {fetchLoggedInUserDetails} from \"../../redux/pages/Administration/administrationSlice\";\r\nimport { getSelectedReportList, onUpdateReportSelected } from \"redux/pages/Inspection/InspectionTask/inspectionTaskSlice\";\r\n\r\n//service\r\nimport { showUI } from \"service/GeneralUtility\";\r\nimport { setProgressFlag } from \"redux/common/commonSlice\";\r\n\r\ninterface IGenerateReports {\r\n toggleGenerateClick:boolean;\r\n setToggleGenerateClick:(state: boolean) => void;\r\n}\r\n\r\ntype FormData = {\r\n uniqueSystemId: string;\r\n output: boolean;\r\n reportBy: number;\r\n include: boolean;\r\n taskFilter: number;\r\n equipmentGroup: any;\r\n systems: any;\r\n buildings: any;\r\n inspectionTask: any;\r\n inspectionReport: any;\r\n equipmentTestStartDate: Date;\r\n equipmentTestEndDate: Date;\r\n SendLog: boolean;\r\n};\r\n\r\nconst GenerateReports: React.FC = ({\r\n toggleGenerateClick = false,\r\n setToggleGenerateClick = () => {}\r\n}) => {\r\n const dispatch = useDispatch();\r\n const generateReportForm: any = useRef();\r\n\r\n const systemsList = useAppSelector((state) => state.inspectionReport.systemList);\r\n const systemSummary = useAppSelector((state) => state.inspectionReport.systemSummary);\r\n const generatedReportDetais = useAppSelector((state) => state.inspectionReport.generatedReportDetails);\r\n const defaultSystemDetails = useAppSelector((state) => state.administration.loggedInUserDetails);\r\n const contractUpdated = useAppSelector((state) => state.inspectionDetails.contractUpdated);\r\n const reportList = useAppSelector((state) => state.inspectionTask.selectedReportList);\r\n const userPrivileges = useAppSelector((state) => state.user.userPrivileges);\r\n\r\n const [systemLookup, setSystemLookup] = useState([{ name: \"\", id: \"\" }]);\r\n const [selectedSystemId, setSelectedSystemId] = useState(null);\r\n const [reportBy, setReportBy] = useState({name: \"Equipment Group\", value: 1});\r\n const [inspectionTaskDetails, setInspectionTaskDetails] = useState([]);\r\n const [inspectionReportDetails, setInspectionReportDetails] = useState([]);\r\n const [buildingDetails, setBuildingDetails] = useState([]);\r\n const [panelDetails, setPanelDetails] = useState([]);\r\n const [systemDetailsLoader, setSystemDetailsLoader] = useState(false);\r\n const [selectedEquipmentGroups, setselectedEquipmentGroups] = useState([]);\r\n const [selectedBuildings, setSelectedBuildings] = useState([]);\r\n const [selectedSystems, setSelectedSystems] = useState([]);\r\n const [selectedInspectionTasks, setSelectedInspectionTasks] = useState([]);\r\n const [selectedReports, setSelectedReports] = useState([]);\r\n const [selectedTaskHistoryFilter, setSelectedTaskHistoryFilter] = useState(6);\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const [message, setMessage] = useState(\"\");\r\n const [showEquipmentListModal, setShowEquipmentListModal] = useState(false);\r\n const [taskWithoutBranchMapping, setTaskWithoutBranchMapping] = useState(null);\r\n const [selectedReportList, setSelectedReportList] = useState(null);\r\n\tconst [showReportsModal, setShowReportsModal] = useState(false);\r\n\r\n const taskHistoryFilter = [\r\n { name: \"6 Months\", value: 6 },\r\n { name: \"12 Months\", value: 12 },\r\n { name: \"18 Months\", value: 18 },\r\n { name: \"All\", value: \"all\" },\r\n ];\r\n\r\n const taskStatuses = {\r\n 1: 'Active',\r\n 3: 'Closed',\r\n 11: 'Completed',\r\n 36: 'Inactive'\r\n }\r\n\r\n const {\r\n control,\r\n setValue,\r\n clearErrors,\r\n handleSubmit,\r\n formState: { errors },\r\n } = useForm({\r\n defaultValues: {\r\n uniqueSystemId: \"\",\r\n reportBy: 1,\r\n output: true,\r\n include: false,\r\n taskFilter: 6,\r\n equipmentGroup: [],\r\n systems: [],\r\n buildings: [],\r\n inspectionTask: null,\r\n inspectionReport: null,\r\n equipmentTestStartDate: new Date(new Date().setFullYear(new Date().getFullYear() - 1)),\r\n equipmentTestEndDate: new Date(),\r\n SendLog: false,\r\n },\r\n });\r\n\r\n const reportByFileds = [\r\n { name: \"Equipment Group\", value: 1 },\r\n { name: \"Building\", value: 2 },\r\n { name: \"System\", value: 3 },\r\n ];\r\n\r\n useEffect(() => {\r\n dispatch(getSystemList());\r\n dispatch(fetchLoggedInUserDetails());\r\n\r\n return(() => {\r\n setTaskWithoutBranchMapping(null);\r\n dispatch(setContractUpdated(false));\r\n dispatch(setSystemList([]));\r\n dispatch(clearSystemSummary(\"\"));\r\n });\r\n }, [dispatch]);\r\n\r\n useEffect(() => {\r\n if (selectedSystemId) {\r\n dispatch(getSystemSummary(selectedSystemId, selectedTaskHistoryFilter));\r\n }\r\n }, [dispatch, selectedSystemId]);\r\n\r\n useEffect(() => {\r\n if (systemsList?.length > 0) {\r\n let system: any = [];\r\n systemsList.forEach((item: any) => {\r\n return system.push({ name: item.systemName, id: item.uniqueSystemId });\r\n });\r\n setSystemLookup(system);\r\n setBuildingDetails([]);\r\n setSystemDetailsLoader(false);\r\n setInspectionTaskDetails([]);\r\n setSelectedInspectionTasks([])\r\n setselectedEquipmentGroups([])\r\n setSelectedReports([]);\r\n setInspectionReportDetails([]);\r\n setTaskWithoutBranchMapping(null);\r\n if (defaultSystemDetails && Object.keys(defaultSystemDetails).length !== 0) {\r\n if (defaultSystemDetails?.userDefaults?.system?.uniqueSystemId) {\r\n if (systemsList.find((item) => item.uniqueSystemId === defaultSystemDetails?.userDefaults?.system?.uniqueSystemId)) {\r\n setValue(\"uniqueSystemId\", defaultSystemDetails?.userDefaults?.system?.uniqueSystemId);\r\n setSelectedSystemId(defaultSystemDetails?.userDefaults?.system?.uniqueSystemId);\r\n } else {\r\n setValue(\"uniqueSystemId\", systemsList[0]?.uniqueSystemId);\r\n setSelectedSystemId(systemsList[0]?.uniqueSystemId);\r\n dispatch(setDefaultSystemDetails(systemsList[0]?.uniqueSystemId))\r\n }\r\n } else {\r\n setValue(\"uniqueSystemId\", systemsList[0]?.uniqueSystemId);\r\n setSelectedSystemId(systemsList[0]?.uniqueSystemId);\r\n dispatch(setDefaultSystemDetails(systemsList[0]?.uniqueSystemId))\r\n }\r\n }\r\n }\r\n else if(systemsList === null || systemsList === undefined)\r\n {\r\n setSystemLookup([]); \r\n setSelectedSystemId(null);\r\n }\r\n }, [systemsList, defaultSystemDetails]);\r\n\r\n useEffect(() => {\r\n if (systemSummary) {\r\n setBuildingDetails(systemSummary?.buildingDetails);\r\n setInspectionTaskDetails(systemSummary?.inspectionTaskDetails);\r\n setPanelDetails(systemSummary?.panelDetails);\r\n setSystemDetailsLoader(true);\r\n let data: any = [];\r\n systemSummary?.panelDetails.forEach((element: any) => {\r\n data.push(element?.uniquePanelId);\r\n });\r\n setSelectedSystems(data);\r\n if (contractUpdated) {\r\n setShowEquipmentListModal(false);\r\n }\r\n }\r\n }, [systemSummary]);\r\n\r\n useEffect(() => {\r\n if (generatedReportDetais?.status === \"done\") {\r\n setDisplayInfoModal(true);\r\n setMessage(generatedReportDetais?.data?.responseMessage);\r\n dispatch(clearGeneratedReportDetails(\"\"))\r\n }\r\n }, [generatedReportDetais]);\r\n\r\n useEffect(() =>{\r\n\r\n if(toggleGenerateClick) {\r\n onGenerateButtonClick()\r\n setToggleGenerateClick(false);\r\n\r\n }\r\n\r\n },[toggleGenerateClick])\r\n\r\n const onContractDateClick = (event) => {\r\n event?.preventDefault();\r\n };\r\n\r\n const onSystemLookupChange = (data: any) => {\r\n dispatch(setDefaultSystemDetails(data));\r\n setPanelDetails([]);\r\n setBuildingDetails([]);\r\n setSystemDetailsLoader(false);\r\n setSelectedBuildings([])\r\n setInspectionTaskDetails([]);\r\n setSelectedReports([]);\r\n setSelectedInspectionTasks([]);\r\n setselectedEquipmentGroups([]);\r\n setSelectedSystems([]);\r\n setInspectionReportDetails([]);\r\n setTaskWithoutBranchMapping(null);\r\n };\r\n\r\n const onEquipmentGroupSelected = (event: any) => {\r\n let data = [...selectedEquipmentGroups];\r\n\r\n if (event.checked) {\r\n data.push(event.value);\r\n } else {\r\n for (let i = 0; i < data.length; i++) {\r\n const selectedData = data[i];\r\n if (selectedData === event.value) {\r\n data.splice(i, 1);\r\n break;\r\n }\r\n }\r\n }\r\n setselectedEquipmentGroups(data);\r\n // setValue(\"equipmentGroup\", data);\r\n clearErrors(\"equipmentGroup\");\r\n };\r\n const onBuildingsSelected = (event: any) => {\r\n let data = [...selectedBuildings];\r\n if (event.checked) {\r\n data.push(event.value);\r\n } else {\r\n for (let i = 0; i < data.length; i++) {\r\n const selectedData = data[i];\r\n if (selectedData === event.value) {\r\n data.splice(i, 1);\r\n break;\r\n }\r\n }\r\n }\r\n setSelectedBuildings(data);\r\n // setValue(\"buildings\", data);\r\n clearErrors(\"buildings\");\r\n };\r\n const onSystemsSelected = (event: any) => {\r\n let data = [...selectedSystems];\r\n\r\n if (event.checked) {\r\n data.push(event.value);\r\n } else {\r\n for (let i = 0; i < data.length; i++) {\r\n const selectedData = data[i];\r\n if (selectedData === event.value) {\r\n data.splice(i, 1);\r\n break;\r\n }\r\n }\r\n }\r\n setSelectedSystems(data);\r\n // setValue(\"systems\", data);\r\n clearErrors(\"systems\");\r\n };\r\n\r\n useEffect(()=>{\r\n setValue(\"systems\", selectedSystems);\r\n },[selectedSystems])\r\n\r\n useEffect(()=>{\r\n setValue(\"buildings\", selectedBuildings);\r\n },[selectedBuildings])\r\n\r\n useEffect(()=>{\r\n setValue(\"equipmentGroup\", selectedEquipmentGroups);\r\n },[selectedEquipmentGroups])\r\n\r\n\r\n const onInspectionTaskSelected = (event: any) => {\r\n let data = [...selectedInspectionTasks];\r\n\r\n if (event.checked) {\r\n data.push(event.value);\r\n } else {\r\n for (let i = 0; i < data.length; i++) {\r\n const selectedData = data[i];\r\n if (selectedData === event.value) {\r\n data.splice(i, 1);\r\n break;\r\n }\r\n }\r\n }\r\n setSelectedInspectionTasks(data);\r\n setValue(\"inspectionTask\", data);\r\n clearErrors(\"inspectionTask\");\r\n let reportData: any = [];\r\n data.forEach((taskId) => {\r\n const data = inspectionTaskDetails.find((item: any) => item?.uniqueInspectionTaskId === taskId);\r\n reportData.push(...data?.reportDetails);\r\n });\r\n reportData = reportData.filter((value, index, item) => index === item.findIndex((data) => data.inspectionReportId === value.inspectionReportId));\r\n setInspectionReportDetails(reportData);\r\n };\r\n\r\n const onReportsSelected = (event: any) => {\r\n let data = [...selectedReports];\r\n if (event.checked) {\r\n data.push(event.value);\r\n } else {\r\n for (let i = 0; i < data.length; i++) {\r\n const selectedData = data[i];\r\n if (selectedData === event.value) {\r\n data.splice(i, 1);\r\n break;\r\n }\r\n }\r\n }\r\n setSelectedReports(data);\r\n setValue(\"inspectionReport\", data);\r\n clearErrors(\"inspectionReport\");\r\n };\r\n\r\n const onGenerateReportFormSubmit = (data: any) => {\r\n if (new Date(data.equipmentTestStartDate) > new Date(data.equipmentTestEndDate)) {\r\n setMessage(\"End Date must be greater than Start Date\");\r\n setDisplayInfoModal(true);\r\n } else if (taskWithoutBranchMapping && ((taskWithoutBranchMapping.inspectionTaskStatus === 3) || (taskWithoutBranchMapping.inspectionTaskStatus === 11) || (taskWithoutBranchMapping.inspectionTaskStatus === 36))) {\r\n if (taskWithoutBranchMapping) {\r\n if (taskWithoutBranchMapping.inspectionTaskStatus === 3) {\r\n setMessage(\"Selected Inspection Task is closed. Activate the Task to add Branch details.\");\r\n setDisplayInfoModal(true);\r\n } else if (taskWithoutBranchMapping.inspectionTaskStatus === 11) {\r\n setMessage(\"Selected Inspection Task is completed. Activate the Task to add Branch details.\");\r\n setDisplayInfoModal(true);\r\n } else if (taskWithoutBranchMapping.inspectionTaskStatus === 36) {\r\n setMessage(\"Selected Inspection Task is inactive. Activate the Task to add Branch details.\");\r\n setDisplayInfoModal(true);\r\n }\r\n }\r\n } else {\r\n const body = {\r\n uniqueSystemId: data.uniqueSystemId,\r\n reportBy: data.reportBy,\r\n panelIds: data.reportBy === 1 ? data.equipmentGroup : data.reportBy === 3 ? data.systems : [],\r\n buildingIds: data.reportBy === 2 ?data.buildings:[],\r\n uniqueInspectionTaskIds: data.inspectionTask,\r\n reportIds: data.inspectionReport,\r\n startDate: moment(new Date(data.equipmentTestStartDate)).format(\"YYYY-MM-DD\").toString(),\r\n EndDate: moment(new Date(data.equipmentTestEndDate)).format(\"YYYY-MM-DD\").toString(),\r\n generateLog: data.SendLog,\r\n includealldevices: data.include,\r\n outputnodeId: data.output,\r\n taskHistoryFilterId: selectedTaskHistoryFilter===\"all\" ? 1 : selectedTaskHistoryFilter,\r\n debugflag: data.SendLog,\r\n };\r\n dispatch(setProgressFlag(true));\r\n dispatch(onGenerateReport(selectedSystemId, body));\r\n }\r\n };\r\n\r\n const onError = (errors: any, e: any) => {};\r\n\r\n const getFormErrorMessage = (name) => {\r\n return (\r\n errors[name] && (\r\n \r\n \r\n {errors[name].message}\r\n \r\n )\r\n );\r\n };\r\n\r\n useEffect(()=>{\r\n if(selectedTaskHistoryFilter && selectedSystemId){\r\n dispatch(getSystemSummary(selectedSystemId, selectedTaskHistoryFilter));\r\n setPanelDetails([]);\r\n setBuildingDetails([]);\r\n setSystemDetailsLoader(false);\r\n setInspectionTaskDetails([]);\r\n setSelectedReports([]);\r\n setSelectedInspectionTasks([]);\r\n setselectedEquipmentGroups([]);\r\n setSelectedBuildings([]);\r\n setSelectedSystems([]);\r\n setselectedEquipmentGroups([]);\r\n setInspectionReportDetails([]);\r\n setTaskWithoutBranchMapping(null);\r\n }\r\n }, [selectedTaskHistoryFilter]);\r\n\r\n const selectTaskWithoutBranchMapping = (taskSelected) => {\r\n setContractUpdated(false);\r\n let task = {...taskSelected}\r\n task.status = taskStatuses[task.inspectionTaskStatus];\r\n if (selectedSystemId) {\r\n task.uniqueSystemId = selectedSystemId;\r\n let item = systemLookup.find(element => element.id === task.uniqueSystemId);\r\n if (item) {\r\n task.system = {uniqueSystemId: item.id};\r\n task.systemName = item.name;\r\n task.systemNames = item.name;\r\n }\r\n }\r\n dispatch(getSelectedReportList(task.uniqueInspectionTaskId));\r\n setTaskWithoutBranchMapping(task);\r\n if (taskSelected.inspectionTaskStatus === 1) {\r\n setShowEquipmentListModal(true);\r\n } else if (taskWithoutBranchMapping) {\r\n if (taskWithoutBranchMapping.inspectionTaskStatus === 3) {\r\n setMessage(\"Selected Inspection Task is closed. Activate the Task to add Branch details.\");\r\n setDisplayInfoModal(true);\r\n } else if (taskWithoutBranchMapping.inspectionTaskStatus === 11) {\r\n setMessage(\"Selected Inspection Task is completed. Activate the Task to add Branch details.\");\r\n setDisplayInfoModal(true);\r\n } else if (taskWithoutBranchMapping.inspectionTaskStatus === 36) {\r\n setMessage(\"Selected Inspection Task is inactive. Activate the Task to add Branch details.\");\r\n setDisplayInfoModal(true);\r\n }\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n\t\tif (reportList != \"\") {\r\n setSelectedReportList(reportList.reportDetails);\r\n\t\t}\r\n\t}, [reportList]);\r\n\r\n useEffect(() => {\r\n if (contractUpdated && selectedSystemId) { \r\n dispatch(getSystemSummary(selectedSystemId, selectedTaskHistoryFilter));\r\n\r\n }\r\n }, [contractUpdated]);\r\n\r\n const saveReportClick = (selections) => {\r\n\t\tlet reports: any = [];\r\n let activeSiteId = defaultSystemDetails?.userDefaults?.uniqueSiteId\r\n selections.map((item: any) => {\r\n\t\t return reports.push(item.inspectionReportId.toString());\r\n\t\t});\r\n\t\tdispatch(onUpdateReportSelected(reports, taskWithoutBranchMapping.uniqueInspectionTaskId, activeSiteId,setMessage, setDisplayInfoModal, setShowReportsModal, selections, setSelectedReportList));\r\n\t};\r\n\r\n const onGenerateButtonClick = () =>{\r\n generateReportForm.current.requestSubmit()\r\n }\r\n const formatOptionLabel = (name) => {\r\n if (name.length > 65) { \r\n const chunks = name.match(/.{1,65}/g);\r\n return chunks.join(\"\\n\"); \r\n }\r\n return name; \r\n };\r\n\r\n return (\r\n\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n (\r\n {\r\n field.onChange(e.value);\r\n onSystemLookupChange(e.value);\r\n }}\r\n options={systemLookup}\r\n optionLabel=\"name\"\r\n optionValue=\"id\"\r\n itemTemplate={(option) => { \r\n return (\r\n
\r\n {formatOptionLabel(option.name)}\r\n
\r\n );\r\n }}\r\n />\r\n )}\r\n />\r\n \r\n
\r\n {getFormErrorMessage(\"uniqueSystemId\")} \r\n
\r\n\r\n
\r\n \r\n\r\n
\r\n (\r\n <>\r\n {reportByFileds.length > 0\r\n ? reportByFileds.map((item: any, key: any) => {\r\n return (\r\n
\r\n {\r\n setReportBy(item);\r\n setValue(\"reportBy\", item.value);\r\n }}\r\n checked={reportBy?.name === item?.name}\r\n />\r\n \r\n
\r\n );\r\n })\r\n : null}\r\n \r\n )}\r\n />\r\n
\r\n\r\n
\r\n \r\n\r\n {reportBy?.name === \"Equipment Group\" ? (\r\n
\r\n (\r\n <>\r\n {panelDetails.length > 0\r\n ? panelDetails.map((panel: any, key: any) => {\r\n return (\r\n
\r\n {\r\n onEquipmentGroupSelected(e);\r\n }}\r\n checked={selectedEquipmentGroups.some(\r\n (item) => item === panel?.uniquePanelId\r\n )}\r\n />\r\n \r\n
\r\n );\r\n }) :\r\n (systemDetailsLoader && No Equipment Group exists)\r\n }\r\n \r\n )}\r\n />\r\n
\r\n ) : reportBy?.name === \"Building\" ? (\r\n
\r\n (\r\n <>\r\n {buildingDetails.length > 0 ?\r\n buildingDetails.map((building: any, key: any) => {\r\n return (\r\n
\r\n {\r\n onBuildingsSelected(e);\r\n }}\r\n checked={selectedBuildings.some((item) => item === building?.buildingId)}\r\n />\r\n\r\n \r\n
\r\n );\r\n }) : \r\n (systemDetailsLoader && No Building exists)\r\n }\r\n \r\n )}\r\n />\r\n
\r\n ) : reportBy?.name === \"System\" ? (\r\n
\r\n (\r\n <>\r\n {panelDetails.length > 0 ?\r\n panelDetails.map((panel: any, key: any) => {\r\n return (\r\n
\r\n {\r\n onSystemsSelected(e);\r\n }}\r\n checked={selectedSystems.some((item) => item === panel?.uniquePanelId)}\r\n />\r\n \r\n
\r\n );\r\n }) :\r\n (systemDetailsLoader && No System exists)\r\n }\r\n \r\n )}\r\n />\r\n
\r\n ) : null}\r\n \r\n
\r\n {getFormErrorMessage(\"equipmentGroup\")}\r\n {getFormErrorMessage(\"buildings\")}\r\n {getFormErrorMessage(\"systems\")}\r\n\r\n
\r\n\r\n
\r\n
\r\n }\r\n />\r\n \r\n
\r\n
\r\n }\r\n />\r\n \r\n
\r\n
\r\n\r\n
\r\n \r\n (\r\n {\r\n field.onChange(e.value);\r\n setSelectedTaskHistoryFilter(e.value);\r\n }}\r\n options={taskHistoryFilter}\r\n optionLabel=\"name\"\r\n optionValue=\"value\"\r\n />\r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"taskFilter\")} \r\n \r\n
\r\n\r\n
\r\n
\r\n \r\n {inspectionTaskDetails && inspectionTaskDetails.length > 0 ? (\r\n
\r\n (\r\n <>\r\n {inspectionTaskDetails.map((task: any, key: any) => {\r\n if ((task?.hasBranch === true && task?.hasBranchMapping === true)||(task?.hasBranch === false && task?.hasBranchMapping === false)||(task?.hasBranch === true && task?.hasBranchMapping === false)) {\r\n return (\r\n
\r\n {\r\n onInspectionTaskSelected(e);\r\n }}\r\n checked={selectedInspectionTasks.some(\r\n (item) => item === task?.uniqueInspectionTaskId\r\n )}\r\n />\r\n\r\n \r\n
\r\n );\r\n } else {\r\n return (\r\n <>\r\n
\r\n (\r\n {\r\n onInspectionTaskSelected(e);\r\n }}\r\n checked={selectedInspectionTasks.some(\r\n (item) => item === task?.uniqueInspectionTaskId\r\n )}\r\n />\r\n )}\r\n />\r\n \r\n
\r\n
\r\n Note: \r\n Select the required Branch Office by clicking on the Task Name\r\n
\r\n \r\n );\r\n }\r\n })}\r\n \r\n )}\r\n />\r\n
\r\n ) : null}\r\n
\r\n {getFormErrorMessage(\"inspectionTask\")} \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n \r\n {inspectionReportDetails && inspectionReportDetails.length > 0 ? (\r\n
\r\n (\r\n <>\r\n {inspectionReportDetails.map((report: any, key: any) => {\r\n return (\r\n
\r\n {\r\n onReportsSelected(e);\r\n }}\r\n checked={selectedReports.some((item) => item === report?.inspectionReportCode)}\r\n />\r\n\r\n \r\n
\r\n );\r\n })}\r\n \r\n )}\r\n />\r\n
\r\n ) : null}\r\n
\r\n {getFormErrorMessage(\"inspectionReport\")} \r\n
\r\n
\r\n \r\n (\r\n field.onChange(e.value)}\r\n />\r\n )}\r\n />\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n (\r\n field.onChange(e.value)}\r\n />\r\n )}\r\n />\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {showUI(userPrivileges, \"SIETAP_INSPECTIONS_REPORTGENERATION_SENDLOG\") &&\r\n
\r\n }\r\n />\r\n \r\n
\r\n }\r\n
\r\n \r\n \r\n\r\n\r\n {showEquipmentListModal &&\r\n \r\n }\r\n\r\n\t\t\t{showReportsModal && (\r\n\t\t\t\t\r\n\t\t\t)}\r\n
\r\n );\r\n};\r\n\r\nexport default GenerateReports;\r\n","import { InputText } from 'primereact/inputtext';\r\nimport { Dropdown } from 'primereact/dropdown';\r\nimport { useEffect } from 'react';\r\n\r\n\r\ninterface Props {\r\n getTableColumns?: (data: any) => void,\r\n getTaskDetails:(data: any)=>void\r\n };\r\n \r\n export const ReportTableData: React.FC = ({\r\n getTableColumns = () => { },\r\n getTaskDetails = () => { }\r\n }) => {\r\n\r\n useEffect(() => { \r\n getTableColumns(REPORTS_COLS);\r\n }, [getTableColumns]);\r\n\r\n\r\nconst statusList = [\r\n { label: 'Active', value: 'Active' },\r\n { label: 'Blocked', value: 'Blocked' },\r\n { label: 'Deleted', value: 'Deleted' },\r\n { label: 'Not Activated', value: 'Not Activated' }\r\n];\r\n\r\nconst NetworkList = [\r\n { label: 'True', value: 'True' },\r\n { label: 'False', value: 'False' }\r\n];\r\n\r\nconst languageList = [\r\n { label: 'Base', value: 'Base' },\r\n { label: 'Alternate', value: 'Alternate' }\r\n];\r\n\r\n const getInspectionTaskDetails = (data: any) => {\r\n getTaskDetails(data);\r\n }\r\n\r\nconst networkEditor = (options) => {\r\n let dataList = options?.rowData?.taskdata;\r\n \r\n return (\r\n\r\n {\r\n return
getInspectionTaskDetails(option.id)} >{option.name}
\r\n }}\r\n />\r\n );\r\n}\r\n\r\nconst statusEditor = (options) => {\r\n return (\r\n {\r\n return {option.label}\r\n }} />\r\n );\r\n}\r\n\r\nconst languageEditor = (options) => {\r\n return (\r\n {\r\n return {option.label}\r\n }} />\r\n );\r\n}\r\n\r\nconst textEditor = (options) => {\r\n return options.editorCallback(e.target.value)} />;\r\n}\r\nconst disableEditor = (options) => {\r\n return options.editorCallback(e.target.value)} />;\r\n}\r\n\r\n const REPORTS_ROWS = [\r\n {\r\n Name: 'Systems',\r\n SystemType: 'MXL',\r\n IsNetworked: 'True',\r\n GlobalPMI: '2+Global PMI or 1+NC',\r\n PreferredLanguage: 'Base',\r\n Status: 'Active',\r\n XMLFile: 'Yes',\r\n ConfigFile: 'No',\r\n ActiveTask: 'Task 106',\r\n },\r\n {\r\n Name: 'Systems',\r\n SystemType: 'XLS',\r\n IsNetworked: 'False',\r\n GlobalPMI: '2+Global PMI or 1+NC',\r\n PreferredLanguage: 'Base',\r\n Status: 'Active',\r\n XMLFile: 'Yes',\r\n ConfigFile: 'No',\r\n ActiveTask: 'Task 106',\r\n },\r\n {\r\n Name: 'Systems',\r\n SystemType: 'XLS',\r\n IsNetworked: 'True',\r\n GlobalPMI: '2+Global PMI or 1+NC',\r\n PreferredLanguage: 'Base',\r\n Status: 'Active',\r\n XMLFile: 'Yes',\r\n ConfigFile: 'No',\r\n ActiveTask: 'Task 106',\r\n },\r\n {\r\n Name: 'Systems',\r\n SystemType: 'Desigo Modular',\r\n IsNetworked: 'False',\r\n GlobalPMI: '2+Global PMI or 1+NC',\r\n PreferredLanguage: 'Base',\r\n Status: 'Active',\r\n XMLFile: 'Yes',\r\n ConfigFile: 'No',\r\n ActiveTask: 'Task 106',\r\n },\r\n\r\n];\r\n\r\n const REPORTS_COLS = [\r\n {\r\n field: 'template',\r\n header: 'Template',\r\n editor: (options) => disableEditor(options),\r\n style: { flex: '1 0 150px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'reportBy',\r\n header: 'Report by',\r\n editor: (options) => disableEditor(options),\r\n style: { flex: '1 0 100px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'groups',\r\n header: 'Groups',\r\n editor: (options) => disableEditor(options),\r\n style: { flex: '1 0 100px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'customer',\r\n header: 'Customer',\r\n editor: (options) => disableEditor(options),\r\n style: { flex: '1 0 250px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'contract',\r\n header: ' Contract',\r\n editor: (options) => disableEditor(options),\r\n style: { flex: '1 0 300px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'taskDetails',\r\n header: 'Inspection Tasks',\r\n editor: (options) => disableEditor(options),\r\n style: { flex: '1 0 170px' },\r\n sortable: false,\r\n\r\n },\r\n {\r\n field: 'buildingNames',\r\n header: 'Buildings Name(s)',\r\n editor: (options) => disableEditor(options),\r\n style: { flex: '1 0 160px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'dateAndTimeCreated',\r\n header: 'Date and Time created',\r\n editor: (options) => disableEditor(options),\r\n style: { flex: '1 0 180px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'createdBy',\r\n header: 'Created by',\r\n editor: (options) => disableEditor(options),\r\n style: { flex: '1 0 150px' },\r\n sortable: true,\r\n },\r\n\r\n {\r\n field: 'dateAndTimeUploaded',\r\n header: 'Date and Time uploaded',\r\n editor: (options) => disableEditor(options),\r\n style: { flex: '1 0 190px', color: '#443DF6' },\r\n sortable: true,\r\n headerClassName: 'date-time'\r\n\r\n },\r\n {\r\n field: 'daysToUpload',\r\n header: 'Days to upload',\r\n editor: (options) => disableEditor(options),\r\n style: { flex: '1 0 140px', display: 'flex', justifyContent: 'end' },\r\n sortable: true,\r\n\r\n },\r\n {\r\n field: 'addedBy',\r\n header: 'Added by',\r\n editor: (options) => disableEditor(options),\r\n style: { flex: '1 0 150px', color: '#443DF6' },\r\n sortable: true,\r\n headerClassName: 'date-time'\r\n\r\n },\r\n {\r\n field: 'sendToServicePortal',\r\n header: 'Sent to Service Portal',\r\n editor: (options) => disableEditor(options),\r\n style: { flex: '1 0 170px' },\r\n sortable: true,\r\n\r\n },\r\n {\r\n field: 'email',\r\n header: 'Owner or Owner\\'s Representative Email',\r\n editor: (options) => disableEditor(options),\r\n style: { flex: '1 0 300px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'sendToEmail',\r\n header: 'Sent to Customer Email',\r\n editor: (options) => disableEditor(options),\r\n style: { flex: '1 0 200px' },\r\n sortable: true,\r\n }\r\n \r\n \r\n\r\n];\r\nreturn (\r\n <>\r\n \r\n )\r\n}\r\nexport default ReportTableData;","import React, { useRef, useState } from \"react\";\r\nimport { useForm, Controller } from \"react-hook-form\";\r\nimport { baseURL } from \"../../service/HttpService\";\r\nimport { FilePond, registerPlugin } from \"react-filepond\";\r\nimport FileUploadValidate from \"filepond-plugin-file-validate-type\";\r\nimport \"filepond/dist/filepond.min.css\";\r\n\r\nimport UploadModal from \"components/Table/UploadModal/UploadModal\";\r\nimport moment from \"moment\";\r\nimport InformationBox from \"components/common/Message/InformationBox/InformationBox\";\r\n\r\ninterface Props {\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n onUploadFinalReportClick?: (data: any, setLoader: any) => void;\r\n acceptedFileTypes?: string[];\r\n errorMessage?:string;\r\n title: string;\r\n}\r\n\r\ntype FormData = {\r\n uploaddate: string;\r\n};\r\n\r\nexport const UploadFinalReport: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => {},\r\n onUploadFinalReportClick = () => {},\r\n acceptedFileTypes =[\"application/pdf\"],\r\n errorMessage = \"Select a PDF.\",\r\n title = \"Upload Final Report\",\r\n}) => {\r\n registerPlugin(FileUploadValidate);\r\n const editForm: any = useRef();\r\n const [enableUpload, setEnableUpload] = useState(true);\r\n const [files, setFiles] = useState([]);\r\n const [fileName, setFileName] = useState(\"\");\r\n const [uploadedDate, setUploadedDate] = useState(\"\");\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const [message, setMessage] = useState(\"\");\r\n const {\r\n control,\r\n handleSubmit,\r\n } = useForm({\r\n defaultValues: {\r\n uploaddate: \"\",\r\n },\r\n });\r\n\r\n const onEditFormSubmit = (data: any) => {};\r\n\r\n const UploadClick = () => {\r\n let response = JSON.parse(JSON.parse(JSON.stringify(files.serverId)));\r\n if (response?.status === \"done\") {\r\n setEnableUpload(true);\r\n let body = {\r\n TempStorageDirectory: response.data?.uniqueDirectoryId[0],\r\n };\r\n onUploadFinalReportClick && onUploadFinalReportClick(body, setEnableUpload);\r\n }\r\n };\r\n\r\n const onprocessfile = (error: any, file: any) => {\r\n setEnableUpload(false);\r\n setFiles(file);\r\n let uploadedFile = JSON.stringify(file.filename);\r\n let date = moment(new Date()).format(\"YYYY-MM-DD\").toString();\r\n setFileName(uploadedFile);\r\n setUploadedDate(date);\r\n };\r\n\r\n const onRemoveFile = () =>{\r\n setEnableUpload(true);\r\n setFileName(\"\");\r\n setUploadedDate(\"\");\r\n }\r\n\r\n const onError = (error) => {\r\n setMessage(error && error.sub ? error.sub : `Final report upload failed due to Network Error. Select the file to be uploaded.` );\r\n setDisplayInfoModal(true);\r\n }\r\n\r\n return (\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Attachment

\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Uploaded File Name

\r\n
\r\n
\r\n
\r\n \r\n (\r\n \r\n {fileName}\r\n \r\n )}\r\n />\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Uploaded Date

\r\n
\r\n
\r\n
\r\n \r\n (\r\n \r\n {uploadedDate}\r\n \r\n )}\r\n />\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default UploadFinalReport;\r\n","import React from 'react'\r\nimport { Dialog } from 'primereact/dialog';\r\nimport { baseURL } from \"../../../service/HttpService\";\r\nimport { Tooltip } from 'primereact/tooltip';\r\n\r\ninterface DocumentViewerPropType {\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n streamData: any;\r\n setStreamData: (state: any) => void;\r\n fileName?: string;\r\n setFileName: (state: any) => void;\r\n uniqeSystemId?: any;\r\n systemInspectionReportId?: any;\r\n reportType?: any;\r\n setReportType?: (state: any) => void;\r\n}\r\nconst DocumentViewer: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => { },\r\n streamData = {},\r\n setStreamData = () => { },\r\n fileName = \"\",\r\n setFileName = () => { },\r\n uniqeSystemId = \"\",\r\n systemInspectionReportId = \"\",\r\n reportType = \"\",\r\n setReportType = () => { },\r\n}) => {\r\n let reportUrl = \"\";\r\n if (reportType && reportType === \"Draft\") {\r\n reportUrl = `${baseURL}api/v1/inspection/systems/${uniqeSystemId}/reports/${systemInspectionReportId}/draft/view`;\r\n }\r\n else if (reportType && reportType === \"Final\") {\r\n reportUrl = `${baseURL}api/v1/inspection/systems/${uniqeSystemId}/reports/${systemInspectionReportId}/final/view`;\r\n }\r\n return (\r\n
\r\n View Report ({fileName})}\r\n visible={showModal}\r\n style={{ width: \"75vw\", height: \"85%\" }}\r\n onHide={() => {\r\n setShowModal(false);\r\n setStreamData('');\r\n setFileName('');\r\n setReportType('');\r\n }}\r\n maximizable\r\n maximized\r\n className=\"view-file-modal\">\r\n \r\n \r\n
\r\n
\r\n {(reportUrl) ?\r\n \r\n :\r\n (<>)\r\n }\r\n
\r\n
\r\n \r\n
\r\n )\r\n}\r\n\r\nexport default DocumentViewer;","import React, { useState, useCallback, useEffect } from \"react\";\r\nimport { classNames } from \"primereact/utils\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { Button } from \"primereact/button\";\r\nimport { Dropdown } from \"primereact/dropdown\";\r\nimport { Controller, useForm } from \"react-hook-form\";\r\n//icons\r\nimport { BsPaperclip, BsTrashFill } from \"react-icons/bs\";\r\n//component\r\nimport DataTableComponent from \"components/Table/DataTable\";\r\nimport ReportTableData from \"./ReportsTableData\";\r\nimport UploadFinalReport from \"./UploadFinalReport\";\r\nimport InformationBox from \"components/common/Message/InformationBox/InformationBox\";\r\nimport ConfirmationBox from \"components/common/Message/ConfirmationBox/ConfirmationBox\";\r\nimport {fetchLoggedInUserDetails} from \"../../redux/pages/Administration/administrationSlice\";\r\nimport {getInspectionTaskDetails, getSelectedReportList, onUpdateReportSelected} from 'redux/pages/Inspection/InspectionTask/inspectionTaskSlice';\r\n//redux\r\nimport {\r\n clearDeletedReportDetails,\r\n getReportList,\r\n getAllSystemList,\r\n onDownloadDraftReport,\r\n onDownloadFinalReport,\r\n onRemoveReports,\r\n onViewDraftReport,\r\n onViewFinalReport,\r\n uploadFinalReport,\r\n setDefaultSystemDetails,\r\n setReportList,\r\n setSystemList,\r\n setReportListPageDetails,\r\n checkIsInspectionTaskCompleted\r\n} from \"../../redux/pages/Inspection/InspectionReports/inspectionReportsSlice\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\nimport { showUI } from \"service/GeneralUtility\";\r\nimport DocumentViewer from \"components/common/DocumentViewer/DocumentViewer\"\r\nimport InspectionDetails from \"pages/InspectionTasks/ManageInspectionTasks/InspectionDetails/InspectionDetails\";\r\nimport InspectionReports from \"./../InspectionTasks/ManageInspectionTasks/InspectionReports\";\r\n\r\ninterface Isystem {\r\n name: string;\r\n id: string;\r\n}\r\ninterface IReports { }\r\n\r\nconst Reports: React.FC = () => {\r\n const { control, setValue } = useForm();\r\n\r\n const dispatch = useDispatch();\r\n\r\n const [selectedSystem, setSelectedSystem] = useState({\r\n name: \"\",\r\n id: \"\"\r\n });\r\n \r\n const [filterExpanded] = useState(true);\r\n const [systemLookup, setSystemLookup] = useState([{ name: \"\", id: \"\" }]);\r\n const [showSystemGrid] = useState(true);\r\n const [pageIndex, setPageIndex] = useState(0);\r\n const [selectedRows, setSelectedRows] = useState([]);\r\n const [message, setMessage] = useState(\"\");\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const [displayConfirmModal, setDisplayConfirmModal] = useState(false);\r\n const [showUploadXMLModal, setShowUploadXMLModal] = useState(false);\r\n const [isDelete, setIsDelete] = useState(false);\r\n const [showViewModal, setShowViewModal] = useState(false);\r\n const [streamData, setStreamData] = useState('');\r\n const [fileName, setFileName] = useState(\"\");\r\n const [currentStart, setCurrentStart] = useState(0);\r\n const [acceptedFileTypes] = useState([\"application/pdf\"])\r\n const [reportType, setReportType] = useState(\"\");\r\n const [pageDetails, setPageDetails] = useState({});\r\n const [systemDropDownList, setSystemDropDownList] = useState([]);\r\n const [loginDetails, setLoginDetails] = useState();\r\n const [tableColumns, setTableColumns] = useState>([]);\r\n const [inspectionTaskInfo, setInspectionTaskInfo] = useState(\"\");\r\n const [showEquipmentListModal, setShowEquipmentListModal] = useState(false);\r\n const [selectedReportList, setSelectedReportList] = useState(\"\");\r\n const [showReportsModal, setShowReportsModal] = useState(false);\r\n const rowsPerPage = useAppSelector((state) => state.personalSettings.rowsPerPage);\r\n const systemsList = useAppSelector((state) => state.inspectionReport.systemList);\r\n const reportList = useAppSelector((state) => state.inspectionReport.reportList);\r\n const reportListPageDetails = useAppSelector((state) => state.inspectionReport.reportListPageDetails);\r\n const deletedReportDetails = useAppSelector((state) => state.inspectionReport.deletedReportDetails);\r\n const userPrivileges = useAppSelector((state) => state.user.userPrivileges);\r\n const loggedInUserDetails = useAppSelector((state) => state.administration.loggedInUserDetails);\r\n const isInspectiontaskCompleted = useAppSelector((state) => state.inspectionReport.isInspectiontaskcompleted);\r\n const inspectionTaskDetails = useAppSelector((state) => state.inspectionTask.inspectionTaskDetails);\r\n const inspectionReportList = useAppSelector((state) => state.inspectionTask.selectedReportList);\r\n useEffect(() => {\r\n dispatch(getAllSystemList());\r\n dispatch(fetchLoggedInUserDetails());\r\n\r\n return (() => {\r\n dispatch(setSystemList([]));\r\n dispatch(setReportList([]));\r\n dispatch(setReportListPageDetails(\"\"));\r\n });\r\n }, [dispatch]);\r\n\r\n\r\n\r\n useEffect(() => {\r\n if (systemsList) {\r\n setSystemDropDownList(systemsList);\r\n }\r\n }, [dispatch, systemsList]);\r\n\r\n useEffect(() => {\r\n if (systemDropDownList?.length > 0) {\r\n \r\n let system: any = [];\r\n systemsList.forEach((item: any) => {\r\n return system.push({ name: item.systemName, id: item.uniqueSystemId });\r\n });\r\n setSystemLookup(system);\r\n loginDetailsCallback();\r\n }\r\n }, [dispatch, systemDropDownList,loggedInUserDetails]);\r\n\r\n const loginDetailsCallback = useCallback(() => {\r\n \r\n if (loggedInUserDetails) {\r\n setLoginDetails(loggedInUserDetails);\r\n }\r\n }, [dispatch, loggedInUserDetails]);\r\n\r\n useEffect(() => {\r\n if (selectedSystem && selectedSystem?.id !== '') {\r\n dispatch(getReportList(selectedSystem?.id, 1));\r\n }\r\n }, [dispatch, selectedSystem, rowsPerPage]);\r\n\r\n useEffect(() => {\r\n if (loginDetails && Object.keys(loginDetails).length !== 0 && systemDropDownList.length > 0) {\r\n if (loginDetails?.userDefaults?.system?.uniqueSystemId) {\r\n const commonSystem = systemDropDownList.find(item => item.uniqueSystemId === loginDetails?.userDefaults?.system?.uniqueSystemId);\r\n if (commonSystem) {\r\n setValue(\"system\", { name: loginDetails?.userDefaults?.system?.systemName, id: loginDetails?.userDefaults?.system?.uniqueSystemId });\r\n setSelectedSystem((selectedSystem: any) => ({\r\n ...selectedSystem,\r\n [\"id\"]: loginDetails?.userDefaults?.system?.uniqueSystemId,\r\n [\"name\"]: loginDetails?.userDefaults?.system?.systemName,\r\n }));\r\n } else {\r\n setValue(\"system\", { name: systemDropDownList[0]?.systemName, id: systemDropDownList[0]?.uniqueSystemId });\r\n setSelectedSystem((selectedSystem: any) => ({\r\n ...selectedSystem,\r\n [\"id\"]: systemDropDownList[0]?.uniqueSystemId,\r\n [\"name\"]: systemDropDownList[0]?.systemName\r\n }));\r\n }\r\n } else {\r\n setValue(\"system\", { name: systemDropDownList[0]?.systemName, id: systemDropDownList[0]?.uniqueSystemId });\r\n setSelectedSystem((selectedSystem: any) => ({\r\n ...selectedSystem,\r\n [\"id\"]: systemDropDownList[0]?.uniqueSystemId,\r\n [\"name\"]: systemDropDownList[0]?.systemName\r\n }));\r\n }\r\n }\r\n else if (systemDropDownList === null || systemDropDownList.length === 0) {\r\n dispatch(setReportList([]));\r\n }\r\n }, [loginDetails]);\r\n\r\n useEffect(() => {\r\n if (reportListPageDetails) {\r\n setPageDetails(reportListPageDetails);\r\n }\r\n }, [reportListPageDetails]);\r\n\r\n useEffect(() => {\r\n if (rowsPerPage && rowsPerPage > 0) {\r\n let modifiedPageDetails = { ...pageDetails, 'currentLength': rowsPerPage, 'pageCount': rowsPerPage };\r\n setPageDetails(modifiedPageDetails);\r\n setCurrentStart(1)\r\n setPageIndex(0)\r\n }\r\n }, [rowsPerPage]);\r\n\r\n useEffect(() => {\r\n if(reportList && reportList?.length){\r\n setSelectedRows([reportList[0]]);\r\n } \r\n }, [reportList]);\r\n\r\n const handleRowSelect = useCallback((data: any) => {\r\n\t\tif (data && data.length) {\r\n\t\t\tsetSelectedRows([...data]);\t\t\t\r\n\t\t} else {\r\n\t\t\tsetSelectedRows(reportList.length ? [reportList[0]] : []);\r\n\t\t}\r\n\t}, [reportList]);\r\n\r\n \r\n useEffect(() => {\r\n if (isDelete && isInspectiontaskCompleted?.length !== 0) {\r\n if (isInspectiontaskCompleted.isInspectionTaskCompleted) {\r\n if (showUI(userPrivileges, 'SIETAP_FS_DELETE_REPORTS')) {\r\n setMessage(\"Are you sure you want to delete the selected Reports?\");\r\n setDisplayConfirmModal(true);\r\n setIsDelete(false)\r\n } else {\r\n setMessage(\"You do not have the privilege to delete the Selected Drafted Report(s) as Inspection Task is completed.\");\r\n setDisplayInfoModal(true);\r\n setIsDelete(false)\r\n }\r\n } else {\r\n setMessage(\"Are you sure you want to delete the selected Reports?\");\r\n setDisplayConfirmModal(true);\r\n setIsDelete(false)\r\n }\r\n }\r\n\r\n }, [isInspectiontaskCompleted, isDelete])\r\n\r\n const saveReportClick = (selections) => {\r\n let selectedReportId: any = [];\r\n let activeSiteId= loggedInUserDetails?.userDefaults?.uniqueSiteId;\r\n selections.map((item: any) => {\r\n return selectedReportId.push(item.inspectionReportId.toString());\r\n });\r\n dispatch(\r\n onUpdateReportSelected(\r\n selectedReportId,\r\n inspectionTaskInfo?.uniqueInspectionTaskId,\r\n activeSiteId,\r\n setMessage,\r\n setDisplayInfoModal,\r\n setShowReportsModal,\r\n selections,\r\n setSelectedReportList,\r\n )\r\n );\r\n };\r\n\r\n\r\n\r\n useEffect(() => {\r\n if (deletedReportDetails) {\r\n setMessage(\"Report(s) deleted\");\r\n setDisplayInfoModal(true);\r\n let datas = JSON.parse(JSON.stringify(reportList));\r\n deletedReportDetails?.SytemPanelInspectionReportIds.forEach((element) => {\r\n datas = datas.filter(\r\n (item: any) => item.systemPanelInspectionReportId !== element\r\n );\r\n });\r\n dispatch(setReportList(datas));\r\n dispatch(clearDeletedReportDetails(\"\"))\r\n }\r\n }, [deletedReportDetails]);\r\n\r\n\r\nconst handleTableColumns = useCallback((data: any) => {\r\n setTableColumns([...data]);\r\n}, []);\r\n\r\nconst getTaskDetails = (inspectionTaskId:any) => {\r\n dispatch(getInspectionTaskDetails(inspectionTaskId))\r\n dispatch(getSelectedReportList(inspectionTaskId));\r\n};\r\n\r\n useEffect(() => {\r\n if (inspectionReportList != \"\") {\r\n setSelectedReportList(inspectionReportList.reportDetails);\r\n }\r\n }, [inspectionReportList]);\r\n \r\n useEffect(() => {\r\n if (Object.keys(inspectionTaskDetails)?.length > 0) {\r\n setInspectionTaskInfo(inspectionTaskDetails)\r\n\r\n }\r\n }, [inspectionTaskDetails])\r\n\r\n useEffect(() => {\r\n if (Object.keys(inspectionTaskInfo)?.length > 0 ) {\r\n setShowEquipmentListModal(true);\r\n\r\n }\r\n }, [inspectionTaskInfo])\r\n\r\n useEffect(() => {\r\n if (!showEquipmentListModal) {\r\n setInspectionTaskInfo(\"\");\r\n setSelectedReportList(\"\")\r\n }\r\n }, [showEquipmentListModal])\r\n\r\n const onSystemChange = (data: any) => {\r\n if (data && data.value) {\r\n setSelectedRows([]);\r\n setSelectedSystem((selectedSystem: any) => ({\r\n ...selectedSystem,\r\n [\"id\"]: data?.value?.id,\r\n [\"name\"]: data?.value?.name\r\n }));\r\n dispatch(setDefaultSystemDetails(data?.value?.id));\r\n }\r\n };\r\n\r\n const getSystemStatus = (data: any) => {\r\n let status = false;\r\n if (data && data.id) {\r\n let item = systemsList.find(item => item.uniqueSystemId === data.id);\r\n if (item) {\r\n status = (item.status && (item.status === \"Active\")) ? true: false;\r\n }\r\n }\r\n return status;\r\n }\r\n\r\n const systemHeaderDropdowns = (data, label) => (\r\n \r\n (\r\n {\r\n field.onChange(e.value);\r\n onSystemChange(e.target);\r\n }}\r\n options={data}\r\n optionLabel=\"name\"\r\n />\r\n )}\r\n />\r\n \r\n \r\n );\r\n\r\n const deleteReports = () => {\r\n if ((selectedRows && selectedRows.length)) {\r\n let systemSatatus = getSystemStatus(selectedSystem);\r\n if (systemSatatus) {\r\n const selectedReportIds = selectedRows.map((item: any) => {\r\n return item?.systemPanelInspectionReportId;\r\n });\r\n const body = {\r\n SytemPanelInspectionReportIds: selectedReportIds,\r\n };\r\n dispatch(checkIsInspectionTaskCompleted(selectedSystem?.id, body,setIsDelete));\r\n } else {\r\n setMessage(\"Selected System is closed, cannot delete Final Report\");\r\n setDisplayInfoModal(true);\r\n }\r\n } else {\r\n setMessage(\"Select an Inspection Report\");\r\n setDisplayInfoModal(true);\r\n }\r\n }\r\n\r\n const removeReports = () => {\r\n setDisplayConfirmModal(false);\r\n const selectedReportIds = selectedRows.map((item: any) => {\r\n return item?.systemPanelInspectionReportId;\r\n });\r\n const body = {\r\n SytemPanelInspectionReportIds: selectedReportIds,\r\n };\r\n dispatch(onRemoveReports(selectedSystem?.id, body));\r\n }\r\n\r\n const onPageChanged = (options: any) => {\r\n if (options !== pageIndex) {\r\n let start = (options * pageDetails?.currentLength) + 1\r\n setPageIndex(options);\r\n setCurrentStart(start);\r\n if (selectedSystem?.id !== \"\") {\r\n dispatch(getReportList(selectedSystem?.id, start))\r\n }\r\n }\r\n }\r\n\r\n const viewDraftReport = (selectedRows) => {\r\n if (selectedRows?.length === 1) {\r\n setReportType(\"Draft\");\r\n dispatch(onViewDraftReport(selectedSystem?.id, selectedRows[0]?.systemPanelInspectionReportId, setStreamData, setShowViewModal, setFileName, setMessage, setDisplayInfoModal))\r\n } else if (selectedRows?.length > 1) {\r\n setMessage('This operation can be performed only one row at a time.');\r\n setDisplayInfoModal(true);\r\n return;\r\n }\r\n };\r\n\r\n const viewFinalReport = (selectedRows) => {\r\n let reportId: any = [];\r\n if (selectedRows?.length === 1) {\r\n if (selectedRows[0]?.dateAndTimeUploaded) {\r\n reportId.push(selectedRows[0]?.systemPanelInspectionReportId);\r\n setReportType(\"Final\");\r\n dispatch(onViewFinalReport(selectedSystem?.id, reportId, setStreamData, setShowViewModal, setFileName, setMessage, setDisplayInfoModal))\r\n } else {\r\n setMessage('Final Report not uploaded');\r\n setDisplayInfoModal(true);\r\n }\r\n } else {\r\n setMessage('This operation can be performed only one row at a time.');\r\n setDisplayInfoModal(true);\r\n return;\r\n }\r\n };\r\n\r\n const downloadDraftReport = () => {\r\n if (selectedRows.length < 1) {\r\n setMessage(\"Select an Inspection Report\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n let reportIds: any = [];\r\n selectedRows.forEach(element => {\r\n reportIds.push(element?.systemPanelInspectionReportId);\r\n });\r\n dispatch(onDownloadDraftReport(selectedSystem?.id, reportIds, setMessage, setDisplayInfoModal));\r\n }\r\n }\r\n\r\n const downloadFinalReport = () => {\r\n if (selectedRows.length < 1) {\r\n setMessage(\"Select an Inspection Report\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n let hasUploadedDate: boolean = false;\r\n let reportIds: any = [];\r\n selectedRows.forEach(element => {\r\n if (element?.dateAndTimeUploaded && element?.dateAndTimeUploaded !== \"\" && element?.dateAndTimeUploaded !== null) {\r\n hasUploadedDate = true\r\n reportIds.push(element?.systemPanelInspectionReportId);\r\n }\r\n });\r\n if (hasUploadedDate) {\r\n dispatch(onDownloadFinalReport(selectedSystem?.id, reportIds, setMessage, setDisplayInfoModal));\r\n }\r\n else {\r\n setMessage('Final Report not uploaded');\r\n setDisplayInfoModal(true);\r\n }\r\n }\r\n };\r\n\r\n const onAttachmentsClick = () => {\r\n if (selectedRows && selectedRows.length) {\r\n if (selectedRows.length === 1) {\r\n let systemSatatus = getSystemStatus(selectedSystem);\r\n if (systemSatatus) {\r\n setShowUploadXMLModal(true);\r\n } else {\r\n setMessage(\"Selected System is closed, cannot upload Final Report\");\r\n setDisplayInfoModal(true);\r\n }\r\n } else {\r\n setMessage(\"This operation can be performed only one row at a time\");\r\n setDisplayInfoModal(true);\r\n }\r\n } else {\r\n setMessage(\"Select an Inspection Report\");\r\n setDisplayInfoModal(true);\r\n }\r\n };\r\n\r\n const onUploadFile = (data: any, setLoader: any) => {\r\n dispatch(uploadFinalReport(\r\n selectedSystem?.id, \r\n selectedRows[0], \r\n data, \r\n setShowUploadXMLModal, \r\n setMessage, \r\n setDisplayInfoModal, \r\n setSelectedRows,\r\n setLoader\r\n ));\r\n };\r\n\r\n const onSort = (event) => {\r\n let sortDirectionValue: string;\r\n if (event.sortOrder === 1) sortDirectionValue = \"ASC\";\r\n else sortDirectionValue = \"DESC\";\r\n dispatch(getReportList(selectedSystem?.id, currentStart, event?.sortField, sortDirectionValue));\r\n\r\n };\r\n\r\n const reportHeaderTemplate = (\r\n \r\n {\r\n
\r\n
\r\n {systemHeaderDropdowns(systemLookup, \"System\")}\r\n
\r\n
\r\n }\r\n\r\n \r\n
\r\n {showUI(userPrivileges, 'SIETAP_FS_VIEW_DRAFT_REPORTS') &&\r\n }\r\n {showUI(userPrivileges, 'SIETAP_FS_DOWNLOAD_DRAFT_REPORTS') &&\r\n }\r\n \r\n \r\n
\r\n\r\n {(showUI(userPrivileges, 'SIETAP_FS_VIEW_DRAFT_REPORTS') || (showUI(userPrivileges, 'SIETAP_FS_DOWNLOAD_DRAFT_REPORTS'))) &&\r\n
\r\n <>\r\n Drafted Report \r\n Final Report \r\n \r\n
\r\n}\r\n\r\n {(showUI(userPrivileges, 'SIETAP_FS_DELETE_DRAFT_REPORTS') || (showUI(userPrivileges, 'SIETAP_FS_UPLOAD_REPORTS'))) &&\r\n
\r\n {showUI(userPrivileges, 'SIETAP_FS_DELETE_DRAFT_REPORTS') &&\r\n \r\n \r\n \r\n }\r\n {showUI(userPrivileges, 'SIETAP_FS_UPLOAD_REPORTS') &&\r\n \r\n \r\n \r\n }\r\n
\r\n }\r\n \r\n \r\n );\r\n\r\n\r\n const inspectionTaskTemplate = (rowData, options) => {\r\n const { field } = options || {};\r\n\r\n const renderTask = (task) => (\r\n
getTaskDetails(task.id)}>\r\n {task.name}\r\n
\r\n );\r\n\r\n const renderDropdown = (dataList) => (\r\n
\r\n renderTask(option)}\r\n />\r\n
\r\n );\r\n\r\n if (field === \"taskDetails\") {\r\n const dataList = rowData?.taskdata || [];\r\n return dataList.length === 1 ? renderTask(dataList[0]) : renderDropdown(dataList);\r\n }\r\n\r\n return
{rowData[field]}
;\r\n };\r\n\r\n return (\r\n <>\r\n
\r\n
\r\n \r\n {showSystemGrid ? (\r\n \r\n ) : null}\r\n \r\n \r\n {showUploadXMLModal &&\r\n }\r\n
\r\n\r\n {showViewModal &&\r\n \r\n }\r\n\r\n {showEquipmentListModal &&\r\n \r\n }\r\n\r\n{showReportsModal && (\r\n \r\n )}\r\n\r\n \r\n
\r\n \r\n );\r\n};\r\n\r\nexport default Reports;","import React, { useEffect, useState } from \"react\";\r\nimport { TabView, TabPanel } from 'primereact/tabview';\r\n\r\nimport { useAppSelector } from \"../../redux/hooks\";\r\nimport GenerateReports from \"./GenerateReports\";\r\nimport { showUI } from 'service/GeneralUtility';\r\nimport Reports from \"./Reports\";\r\nimport { Button } from \"primereact/button\";\r\nimport { useLocation, useNavigate } from \"react-router-dom\";\r\nimport { APP_ROUTES } from \"constants/AppRoutes\";\r\n\r\nexport interface NavItemProps {\r\n id: number;\r\n name: string;\r\n url: string;\r\n active: boolean;\r\n}\r\ninterface IInspectionReports { }\r\n\r\nexport const InspectionReports: React.FC = () => {\r\n\r\n const userPrivileges = useAppSelector((state) => state.user.userPrivileges);\r\n \r\n const [toggleGenerateButton, setToggleGenerateButton] = useState(true);\r\n const [activeIndex, setActiveIndex] = useState(showUI(userPrivileges,\"SIETAP_FS_GENERATE_REPORTS\")?0:1);\r\n const [toggleGenerateClick, setToggleGenerateClick] = useState(false);\r\n const [disableGenerateButton] = useState(false);\r\n \r\n\r\n\r\n const navigate = useNavigate();\r\n const { state } = useLocation() as any;\r\nuseEffect(()=>{\r\n if(activeIndex === 0) {\r\n navigate(`/${APP_ROUTES.INSPECTION_REPORTS}`, {\r\n state: \"Inspection-Report\"\r\n })\r\n setToggleGenerateButton(true);\r\n } else if(activeIndex === 1) {\r\n navigate(`/${APP_ROUTES.INSPECTION_REPORTS}`, {\r\n state: \"Reports\"\r\n })\r\n setToggleGenerateButton(false);\r\n }\r\n\r\n},[activeIndex])\r\n\r\n useEffect(() => {\r\n \r\n if (state != null)\r\n setActiveIndex(state == \"Reports\" ? 1 : 0)\r\n }, [])\r\n\r\n return (\r\n
\r\n {setActiveIndex(indexChangeEvent.index)}} >\r\n {showUI(userPrivileges,\"SIETAP_FS_GENERATE_REPORTS\") && \r\n \r\n \r\n \r\n }\r\n \r\n \r\n \r\n \r\n {toggleGenerateButton &&\r\n
\r\n );\r\n};\r\n\r\nexport default InspectionReports;\r\n","import React from 'react'\r\nimport { Row, Col, Modal } from 'react-bootstrap';\r\n\r\ninterface Props {\r\n title: string,\r\n classNames?: string,\r\n children: React.ReactNode\r\n}\r\n\r\nexport const Card: React.FC = ({\r\n title = '',\r\n classNames = '',\r\n children = null\r\n}) => {\r\n return (\r\n
\r\n \r\n \r\n {title}\r\n \r\n \r\n
\r\n \r\n \r\n {children}\r\n \r\n \r\n
\r\n
\r\n );\r\n}\r\n\r\nexport default Card;","import React from 'react';\r\nimport { useNavigate } from \"react-router-dom\";\r\nimport { Row, Col } from 'react-bootstrap';\r\n\r\nimport { BsDiagram2 } from 'react-icons/bs';\r\nimport { ImSearch, ImClipboard } from 'react-icons/im';\r\nimport { IoIosConstruct } from 'react-icons/io';\r\nimport { MdManageAccounts, MdSettings } from 'react-icons/md';\r\n\r\nimport Card from 'components/common/Card/Card';\r\n\r\nimport { APP_ROUTES } from 'constants/AppRoutes';\r\nimport { ORGANIZATION_TYPES, SECURITY_SETTINGS_TYPE } from 'constants/common';\r\n//redux\r\nimport { useAppSelector } from 'redux/hooks';\r\n//utility\r\nimport { showUI } from 'service/GeneralUtility';\r\n\r\ninterface Props { }\r\n\r\nexport const ManageView: React.FC = () => {\r\n const navigate = useNavigate();\r\n const privileges = useAppSelector((state) => state.user.userPrivileges);\r\n\r\n const handleOrganizationRedirect = (from) => {\r\n navigate(`/${APP_ROUTES.MANAGE_ORGANIZATION}`, {\r\n state: {\r\n from\r\n }\r\n })\r\n };\r\n\r\n const handleSecuritySettingRedirect = (from) => {\r\n navigate(`/${APP_ROUTES.SECURITY_SETTINGS}`, {\r\n state: {\r\n from\r\n }\r\n })\r\n };\r\n\r\n return (\r\n \r\n \r\n {showUI(privileges, \"SIETAP_GENERAL_SETUP\") &&\r\n \r\n \r\n
\r\n
Security Settings
\r\n handleSecuritySettingRedirect(SECURITY_SETTINGS_TYPE.PASSWORD_POLICY)}>Password Policy\r\n handleSecuritySettingRedirect(SECURITY_SETTINGS_TYPE.MAIL_DOMAINS)}>Mail Domains\r\n
\r\n \r\n }\r\n {showUI(privileges, 'SIETAP_ORGANIZATION_SETTINGS') &&\r\n \r\n \r\n
\r\n
Organization Settings
\r\n {showUI(privileges, 'SIETAP_ZONE_MANAGE') &&\r\n handleOrganizationRedirect(ORGANIZATION_TYPES.ZONE)}>\r\n Zone\r\n \r\n }\r\n {showUI(privileges, 'SIETAP_SALES_OFFICE_MANAGE') &&\r\n handleOrganizationRedirect(ORGANIZATION_TYPES.SALES)}>\r\n Sales Office\r\n \r\n }\r\n {showUI(privileges, 'SIETAP_BRANCHES_MANAGE') &&\r\n handleOrganizationRedirect(ORGANIZATION_TYPES.BRANCH)}>\r\n Branch Office\r\n \r\n }\r\n
\r\n \r\n }\r\n {showUI(privileges, 'SIETAP_LOOKUPS') &&\r\n \r\n \r\n
\r\n
Lookups
\r\n navigate(`/${APP_ROUTES.MANAGE_LOOKUPS_HEALTHCLASSIFICATION}`)}>Health Classifications\r\n navigate(`/${APP_ROUTES.MANAGE_LOOKUPS_NFPA_CLASSIFICATION}`)}>NFPA Classifications\r\n
\r\n \r\n }\r\n {showUI(privileges, 'SIETAP_INSPECTIONS_SETTINGS_MANAGE') &&\r\n \r\n \r\n
\r\n
Inspection Settings
\r\n navigate(`/${APP_ROUTES.INSPECTION_FIELDS}`)}>Inspection Fields\r\n {showUI(privileges, \"SIETAP_FS_REPORT_MANAGE\") &&\r\n navigate(`/${APP_ROUTES.MANAGE_INSPECTION_REPORTS}`)}>\r\n Reports\r\n \r\n }\r\n {showUI(privileges, \"SIETAP_FS_REPORT_MAPPING\") &&\r\n navigate(`/${APP_ROUTES.MANAGE_INSPECTION_REPORT_MAPPING}`)}>\r\n Report Mapping\r\n \r\n }\r\n
\r\n \r\n }\r\n
\r\n\r\n \r\n {showUI(privileges, \"SIETAP_FS_TOOLS\") &&\r\n \r\n \r\n
\r\n
Tools
\r\n navigate(`/${APP_ROUTES.TOOLS_COPY}`)}>Copy\r\n navigate(`/${APP_ROUTES.TOOLS_Move}`)}>Move\r\n navigate(`/${APP_ROUTES.TOOLS_COPY_MOVE_LOGS}`)}>Copy / Move Logs\r\n navigate(`/${APP_ROUTES.SAP_IMPORT_STATUS}`)}>SAP Import Status\r\n
\r\n \r\n }\r\n {showUI(privileges, \"SIETAP_CUSTOMIZATION\") &&\r\n \r\n \r\n
\r\n
Customization
\r\n navigate(`/${APP_ROUTES.CUSTOMIZATION_ATTRIBUTES}`)}>Attributes\r\n navigate(`/${APP_ROUTES.MANAGE_DISPLAY_SETTINGS}`)}>Display Settings\r\n navigate(`/${APP_ROUTES.MANAGE_DATAENTRY_SETTINGS}`)}>Data Entry Settings\r\n
\r\n \r\n }\r\n
\r\n
\r\n );\r\n}\r\n\r\nexport default ManageView;\r\n","import React, { useState, useRef, useEffect } from \"react\";\r\nimport { useForm, Controller } from \"react-hook-form\";\r\n\r\nimport { InputText } from \"primereact/inputtext\";\r\nimport { Dropdown } from \"primereact/dropdown\";\r\n\r\nimport { classNames } from \"primereact/utils\";\r\n\r\nimport { BsExclamationCircleFill } from \"react-icons/bs\";\r\n\r\nimport { useDispatch } from \"react-redux\";\r\nimport { useAppSelector } from \"../../../redux/hooks\";\r\n\r\nimport AddModal from \"components/Table/AddModal/AddModal\";\r\nimport { getCountryList } from \"redux/pages/Administration/administrationSlice\";\r\n\r\ninterface IZone {\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n onAddZone: (submitData: any) => void;\r\n}\r\n\r\nexport const AddZone: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => {},\r\n onAddZone = () => {},\r\n}) => {\r\n const countryList = useAppSelector(\r\n (state) => state.administration.countryList\r\n );\r\n\r\n const [countryLookup, setCountryLookup] = useState([{ name: \"\", code: \"\" }]);\r\n const dispatch = useDispatch();\r\n\r\n const addForm: any = useRef();\r\n\r\n const {\r\n control,\r\n handleSubmit,\r\n setValue,\r\n formState: { errors },\r\n } = useForm();\r\n\r\n useEffect(() => {\r\n dispatch(getCountryList());\r\n }, [dispatch]);\r\n\r\n useEffect(() => {\r\n if (countryList?.countries && countryList?.countries.length) {\r\n let country: { name: string; code: string }[] = [];\r\n countryList?.countries.map((item: any) => {\r\n return country.push({ name: item.countryName, code: item.countryCode });\r\n });\r\n setCountryLookup(country);\r\n setValue(\"countryName\", countryList?.countries[0].countryName);\r\n }\r\n }, [countryList, setValue]);\r\n\r\n const formSubmitHandler = (data: any) => {\r\n addForm?.current?.requestSubmit();\r\n };\r\n\r\n const getFormErrorMessage = (name) => {\r\n return (\r\n errors[name] && (\r\n \r\n \r\n {errors[name].message}\r\n \r\n )\r\n );\r\n };\r\n\r\n const onAddFormSubmit = (submitData: any) => {\r\n let countryId = \"\";\r\n countryList.countries.map((countryItem: any, key: any) => {\r\n if (submitData.countryName === countryItem.countryName) {\r\n countryId = countryItem.countryId;\r\n }\r\n return null;\r\n });\r\n let ReviseData = \r\n {\r\n countryId: countryId,\r\n zoneName: submitData.zoneName.trim(),\r\n }\r\n onAddZone && onAddZone(ReviseData);\r\n };\r\n\r\n const onError = (errors: any, e: any) => {};\r\n\r\n return (\r\n <>\r\n \r\n
\r\n
\r\n
\r\n \r\n (\r\n field.onChange(e.value)}\r\n options={countryLookup}\r\n optionLabel=\"name\"\r\n optionValue=\"name\"\r\n />\r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"countryName\")}\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n {\r\n return value.trim().length<=0\r\n ?\"Zone Name is required.\":true\r\n }\r\n }}\r\n \r\n render={({ field, fieldState }) => (\r\n \r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"zoneName\")}\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n );\r\n};\r\n\r\nexport default AddZone;\r\n","import React, { useState, useEffect, useRef } from \"react\";\r\nimport { useForm, Controller } from \"react-hook-form\";\r\n\r\nimport { InputText } from \"primereact/inputtext\";\r\nimport { Dropdown } from \"primereact/dropdown\";\r\n\r\nimport { classNames } from \"primereact/utils\";\r\n\r\nimport { BsExclamationCircleFill } from \"react-icons/bs\";\r\n\r\nimport { useAppSelector } from \"../../../redux/hooks\";\r\nimport AddModal from \"components/Table/AddModal/AddModal\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { getSalesOfficeLookup } from \"redux/pages/Manage/OrganizationSettings/branchOfficeSlice\";\r\n\r\ninterface IBranchOffice {\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n onAddBranchOffice: (submitData: any) => void;\r\n}\r\n\r\ntype FormData = {\r\n name: string;\r\n salesoffice: string;\r\n address: string;\r\n city: string;\r\n phone: string;\r\n fax: string;\r\n email: string;\r\n FALicenceNumber: string;\r\n SPKLicenceNumber: string;\r\n EXTLicenceNumber: string;\r\n};\r\n\r\nexport const AddBranchOffice: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => {},\r\n onAddBranchOffice = () => {},\r\n}) => {\r\n const addUserForm: any = useRef();\r\n const [salesLookup, setSalesLookup] = useState([{ name: \"\", code: \"\" }]);\r\n const salesOfficeList = useAppSelector(\r\n (state) => state.branchOffice.salesOfficeLookup\r\n );\r\n const {\r\n control,\r\n handleSubmit,\r\n setValue,\r\n formState: { errors },\r\n } = useForm({\r\n defaultValues: {\r\n name: \"\",\r\n salesoffice: \"\",\r\n address: \"\",\r\n city: \"\",\r\n phone: \"\",\r\n fax: \"\",\r\n email: \"\",\r\n FALicenceNumber: \"\",\r\n SPKLicenceNumber: \"\",\r\n EXTLicenceNumber: \"\",\r\n },\r\n });\r\n\r\n const dispatch = useDispatch();\r\n\r\n useEffect(() => {\r\n dispatch(getSalesOfficeLookup())\r\n }, [dispatch])\r\n\r\n useEffect(() => {\r\n if (salesOfficeList && salesOfficeList?.length) {\r\n let salesOffice: { name: string; code: string }[] = [];\r\n salesOffice.push({ name: \"Select\", code: \"Select\"});\r\n salesOfficeList?.map((item: any) => {\r\n return salesOffice.push({ name: item.name, code: item.code });\r\n });\r\n setSalesLookup(salesOffice);\r\n setValue(\"salesoffice\",salesOffice[0].name)\r\n }\r\n \r\n }, [salesOfficeList, setValue]);\r\n const formSubmitHandler = (data: any) => {\r\n addUserForm.current.requestSubmit();\r\n };\r\n\r\n const getFormErrorMessage = (name) => {\r\n return (\r\n errors[name] && (\r\n \r\n \r\n {errors[name].message}\r\n \r\n )\r\n );\r\n };\r\n\r\n const onAddFormSubmit = (submitData: any) => {\r\n let salesId = \"\";\r\n salesOfficeList.map((salesItem: any, key: any) => {\r\n if (submitData.salesoffice === salesItem.name) {\r\n salesId = salesItem.uniqueSalesOfficeId;\r\n }\r\n return null;\r\n });\r\n let ReviseData = \r\n {\r\n name: submitData.name.trim(),\r\n address: submitData.address.trim(),\r\n cityStateZip: submitData.city.trim(),\r\n phone: submitData.phone.trim(),\r\n email: submitData.email,\r\n fax: submitData.fax.trim(),\r\n FALicenceNumber: submitData.FALicenceNumber.trim(),\r\n SPKLicenceNumber: submitData.SPKLicenceNumber.trim(),\r\n EXTLicenceNumber: submitData.EXTLicenceNumber.trim(),\r\n uniqueSalesOfficeId: salesId,\r\n }\r\n onAddBranchOffice && onAddBranchOffice(ReviseData);\r\n };\r\n\r\n const onError = (errors: any, e: any) => {};\r\n\r\n return (\r\n <>\r\n \r\n \r\n
\r\n
\r\n \r\n {\r\n return value.trim().length<=0\r\n ?\"Branch Office Name is required.\":true\r\n }\r\n }}\r\n render={({ field, fieldState }) => (\r\n \r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"name\")}\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n {\r\n return value.trim().length<=0\r\n ?\"Address is required.\":true\r\n }\r\n }}\r\n render={({ field, fieldState }) => (\r\n \r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"address\")}\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n (\r\n \r\n )}\r\n />\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \\/?NA]*$/,message:\"Enter a valid Phone Number\"}}}\r\n render={({ field, fieldState }) => (\r\n \r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"phone\")}\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \\/?NA]*$/,message:\"Enter a valid Fax\"}}}\r\n render={({ field, fieldState }) => (\r\n \r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"fax\")}\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n (\r\n \r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"email\")}\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n (\r\n \r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"FA License Number\")}\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n (\r\n \r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"SPK License Number\")}\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n (\r\n \r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"EXT License Number\")}\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n {\r\n return value===\"Select\"?\"Select a Sales Office\":undefined;\r\n }\r\n }}\r\n render={({ field, fieldState }) => (\r\n field.onChange(e.value)}\r\n options={salesLookup}\r\n optionLabel=\"name\"\r\n optionValue=\"name\"\r\n />\r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"salesoffice\")}\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default AddBranchOffice;\r\n","import React, { useState, useRef, useEffect } from \"react\";\r\nimport { useForm, Controller } from \"react-hook-form\";\r\n\r\nimport { InputText } from \"primereact/inputtext\";\r\nimport { Dropdown } from \"primereact/dropdown\";\r\n\r\nimport { classNames } from \"primereact/utils\";\r\n\r\nimport { BsExclamationCircleFill } from \"react-icons/bs\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { useAppSelector } from \"../../../redux/hooks\";\r\nimport { getSalesOfficeDetails } from \"redux/pages/Manage/OrganizationSettings/salesOfficeSlice\";\r\n\r\nimport AddModal from \"components/Table/AddModal/AddModal\";\r\nimport { getZoneList } from \"redux/pages/Manage/OrganizationSettings/zoneSlice\";\r\n\r\ninterface ISalesEdit {\r\n showModal: boolean;\r\n selectedRows: any;\r\n setShowModal: (state: boolean) => void;\r\n zone: string;\r\n code: string;\r\n onEditSalesOffice: (data: any) => void;\r\n}\r\n\r\ntype FormData = {\r\n name: string;\r\n zone: string;\r\n code: string;\r\n};\r\n\r\nexport const EditSalesOffice: React.FC = ({\r\n showModal = false,\r\n selectedRows = [],\r\n setShowModal = () => {},\r\n zone = \"\",\r\n code = \"\",\r\n onEditSalesOffice = () => {},\r\n}) => {\r\n const salesOfficeDetails = useAppSelector(\r\n (state) => state.salesOffice.salesOfficeDetails\r\n );\r\n const zoneList = useAppSelector((state) => state.zone.zoneList);\r\n\r\n const [zoneLookup, setZoneLookup] = useState([{ name: \"\", code: \"\" }]);\r\n const EditsaleForm: any = useRef();\r\n\r\n const {\r\n control,\r\n handleSubmit,\r\n setValue,\r\n formState: { errors },\r\n } = useForm({\r\n defaultValues: {\r\n name: \"\",\r\n zone: undefined,\r\n code: \"\",\r\n },\r\n });\r\n \r\n const dispatch = useDispatch();\r\n\r\n useEffect(() => {\r\n dispatch(getZoneList(\"\", \"\"))\r\n dispatch(getSalesOfficeDetails(selectedRows[0]?.uniqueSalesOfficeId));\r\n }, [dispatch, selectedRows]);\r\n\r\n useEffect(() => {\r\n if (salesOfficeDetails) {\r\n setValue(\"zone\", salesOfficeDetails?.zone?.businessZoneName);\r\n setValue(\"code\", salesOfficeDetails?.code);\r\n setValue(\"name\", salesOfficeDetails?.name);\r\n }\r\n }, [salesOfficeDetails, zone, code, setValue]);\r\n\r\n useEffect(() => {\r\n if (zoneList && zoneList?.length) {\r\n let zone: { name: string; code: string }[] = [];\r\n zoneList?.map((item: any) => {\r\n return zone.push({ name: item.name, code: item.code });\r\n });\r\n setZoneLookup(zone);\r\n }\r\n }, [zoneList, setValue]);\r\n\r\n const formSubmitHandler = (data: any) => {\r\n EditsaleForm.current.requestSubmit();\r\n };\r\n\r\n const getFormErrorMessage = (name) => {\r\n return (\r\n errors[name] && (\r\n \r\n \r\n {errors[name].message}\r\n \r\n )\r\n );\r\n };\r\n\r\n const onEditFormSubmit = (submitData: any) => {\r\n let zoneId = \"\";\r\n zoneList.map((zoneItem: any, key: any) => {\r\n if (submitData.zone === zoneItem.name) {\r\n zoneId = zoneItem.uniqueBusinessZoneId;\r\n }\r\n return null;\r\n });\r\n let ReviseData = \r\n {\r\n name: submitData.name.trim(),\r\n code: submitData.code.trim(),\r\n uniqueBusinessZoneId: zoneId,\r\n }\r\n onEditSalesOffice && onEditSalesOffice(ReviseData);\r\n };\r\n\r\n const onError = (errors: any, e: any) => {};\r\n\r\n return (\r\n <>\r\n \r\n \r\n
\r\n
\r\n \r\n {\r\n return value.trim().length<=0\r\n ?\"Sales Office Name is required.\":true\r\n }\r\n }}\r\n render={({ field, fieldState }) => (\r\n \r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"name\")}\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n {\r\n return value.trim().length<=0\r\n ?\"Code is required.\":true\r\n }\r\n }}\r\n render={({ field, fieldState }) => (\r\n \r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"code\")}\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n (\r\n field.onChange(e.value)}\r\n options={zoneLookup}\r\n optionLabel=\"name\"\r\n optionValue=\"name\"\r\n />\r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"leadTech\")}\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default EditSalesOffice;\r\n","import React, { useState, useEffect, useRef } from \"react\";\r\nimport { useForm, Controller } from \"react-hook-form\";\r\n\r\nimport { InputText } from \"primereact/inputtext\";\r\nimport { Dropdown } from \"primereact/dropdown\";\r\n\r\nimport { classNames } from \"primereact/utils\";\r\n\r\nimport { useAppSelector } from \"../../../redux/hooks\";\r\nimport { BsExclamationCircleFill } from \"react-icons/bs\";\r\n\r\nimport AddModal from \"components/Table/AddModal/AddModal\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { getZoneList } from \"redux/pages/Manage/OrganizationSettings/zoneSlice\";\r\ninterface ISalesOffice {\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n onAddSalesOffice: (submitData: any) => void;\r\n}\r\n\r\ntype FormData = {\r\n name: string;\r\n zone: string;\r\n code: string;\r\n};\r\n\r\nexport const AddSalesOffice: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => {},\r\n onAddSalesOffice = () => {},\r\n}) => {\r\n const addUserForm: any = useRef();\r\n const dispatch = useDispatch();\r\n const [zoneLookup, setZoneLookup] = useState([{ name: \"\", code: \"\" }]);\r\n const zoneList = useAppSelector((state) => state.zone.zoneList);\r\n\r\n const {\r\n control,\r\n handleSubmit,\r\n setValue,\r\n formState: { errors },\r\n } = useForm({\r\n defaultValues: {\r\n name: \"\",\r\n zone: undefined,\r\n code: \"\",\r\n },\r\n });\r\n\r\n useEffect(() => {\r\n dispatch(getZoneList(\"\", \"\"))\r\n }, [dispatch])\r\n\r\n useEffect(() => {\r\n if (zoneList && zoneList?.length) {\r\n let zone: { name: string; code: string }[] = [];\r\n zone.push({name:\"Select\",code:\"Select\"})\r\n zoneList?.map((item: any) => {\r\n return zone.push({ name: item.name, code: item.code });\r\n });\r\n setZoneLookup(zone);\r\n setValue(\"zone\", zone[0].name);\r\n }\r\n }, [zoneList, setValue]);\r\n const formSubmitHandler = (data: any) => {\r\n addUserForm.current.requestSubmit();\r\n };\r\n\r\n const getFormErrorMessage = (name) => {\r\n return (\r\n errors[name] && (\r\n \r\n \r\n {errors[name].message}\r\n \r\n )\r\n );\r\n };\r\n\r\n const onAddFormSubmit = (submitData: any) => {\r\n let zoneId = \"\";\r\n zoneList.map((zoneItem: any, key: any) => {\r\n if (submitData.zone === zoneItem.name) {\r\n zoneId = zoneItem.uniqueBusinessZoneId;\r\n }\r\n return null;\r\n });\r\n let ReviseData =\r\n {\r\n name: submitData.name.trim(),\r\n code: submitData.code.trim(),\r\n uniqueBusinessZoneId: zoneId,\r\n }\r\n onAddSalesOffice && onAddSalesOffice(ReviseData);\r\n };\r\n\r\n const onError = (errors: any, e: any) => {};\r\n\r\n return (\r\n <>\r\n \r\n \r\n
\r\n
\r\n \r\n {\r\n return value.trim().length<=0\r\n ?\"Sales Office Name is required.\":true\r\n }\r\n }}\r\n render={({ field, fieldState }) => (\r\n \r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"name\")}\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n {\r\n return value.trim().length<=0\r\n ?\"Code is required\":true\r\n } \r\n }}\r\n render={({ field, fieldState }) => (\r\n \r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"code\")}\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n {\r\n return value===\"Select\"?\"Select a Zone\":undefined;\r\n }\r\n }}\r\n render={({ field, fieldState }) => (\r\n field.onChange(e.value)}\r\n options={zoneLookup}\r\n optionLabel=\"name\"\r\n optionValue=\"name\"\r\n />\r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"zone\")}\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default AddSalesOffice;\r\n","import React, { useState, useEffect, useRef } from \"react\";\r\nimport { useDispatch } from \"react-redux\";\r\n\r\nimport { Button } from \"primereact/button\";\r\nimport { Dialog } from \"primereact/dialog\";\r\nimport MultiSelect from \"components/common/MultiSelect/MultiSelect\";\r\nimport { getTechnicians } from \"redux/pages/Manage/OrganizationSettings/salesOfficeSlice\";\r\n\r\ninterface Props {\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n selectedRows: any;\r\n onSelectTechnician: (salesOfficeSelected: any, body: any, setLoader: any) => void;\r\n}\r\n\r\nexport const Techs: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => { },\r\n selectedRows = [],\r\n onSelectTechnician = () => {}\r\n}) => {\r\n\r\n const dispatch = useDispatch();\r\n\r\n const [isLoaded, setIsLoaded] = useState(false);\r\n const [salesOfficeName, setSalesOfficeName] = useState(\"\");\r\n const [technicians, setTechnicians] = useState([]);\r\n const [selectedSalesOffice, setSelectedSalesOffice] = useState(\"\");\r\n const [loader, setLoader] = useState(false);\r\n\r\n const selectedSite = useRef();\r\n const checkedRows = useRef();\r\n const disabledRows = useRef();\r\n\r\n useEffect(() => {\r\n if (selectedRows && selectedRows.length) {\r\n setSelectedSalesOffice(selectedRows[0].uniqueSalesOfficeId)\r\n dispatch(getTechnicians(selectedRows[0].uniqueSalesOfficeId, setSalesOfficeName, setTechnicians, setIsLoaded));\r\n }\r\n }, [dispatch, selectedRows])\r\n\r\n const assignTechnicians = () => {\r\n setLoader(true);\r\n let selectedUsers: any = [];\r\n let allUsers = [...checkedRows.current, ...disabledRows.current]; \r\n if (allUsers && allUsers.length) {\r\n allUsers.map((item: any) => {\r\n selectedUsers.push(item.id);\r\n return null;\r\n });\r\n }\r\n let body = {\r\n uniqueTechnicianIds: selectedUsers\r\n }\r\n onSelectTechnician(selectedSalesOffice, body, setLoader);\r\n };\r\n\r\n const renderFooter = () => {\r\n return (\r\n <>\r\n setShowModal(false)}\r\n className=\"cancel btn\"\r\n />\r\n \r\n \r\n );\r\n };\r\n\r\n return (\r\n <>\r\n setShowModal(false)}\r\n footer={isLoaded ? renderFooter() : null}\r\n className=\"display-settings personal selectsite\"\r\n >\r\n
\r\n {isLoaded && \r\n <>\r\n
\r\n Sales Office:\r\n {salesOfficeName}\r\n
\r\n
\r\n
\r\n {\r\n checkedRows.current = checkedItems;\r\n }}\r\n getSelectedItems={(selectedItems) => {\r\n selectedSite.current = selectedItems;\r\n }}\r\n getDisabledItems={(disabledItems) => {\r\n disabledRows.current = disabledItems;\r\n }}\r\n />\r\n
\r\n
\r\n \r\n }\r\n
\r\n \r\n \r\n );\r\n};\r\n\r\nexport default Techs;\r\n","import React, { useRef, useEffect } from \"react\";\r\nimport { useForm, Controller } from \"react-hook-form\";\r\n\r\nimport { InputText } from \"primereact/inputtext\";\r\n\r\nimport { classNames } from \"primereact/utils\";\r\n\r\nimport { BsExclamationCircleFill } from \"react-icons/bs\";\r\n\r\nimport { useDispatch } from \"react-redux\";\r\nimport { useAppSelector } from \"../../../redux/hooks\";\r\nimport { getZoneDetails } from \"redux/pages/Manage/OrganizationSettings/zoneSlice\";\r\n\r\nimport AddModal from \"components/Table/AddModal/AddModal\";\r\n\r\ninterface IZoneEdit {\r\n showModal: boolean;\r\n selectedRows: any;\r\n setShowModal: (state: boolean) => void;\r\n country: string;\r\n onEditZone: (data: any) => void;\r\n}\r\n\r\ntype FormData = {\r\n zoneName: string;\r\n country: string;\r\n};\r\n\r\nexport const EditZone: React.FC = ({\r\n showModal = false,\r\n selectedRows = [],\r\n setShowModal = () => {},\r\n country = \"\",\r\n onEditZone = () => {},\r\n}) => {\r\n const zoneDetails = useAppSelector((state) => state.zone.zoneDetails);\r\n\r\n const EditForm: any = useRef();\r\n\r\n const {\r\n control,\r\n handleSubmit,\r\n setValue,\r\n formState: { errors },\r\n } = useForm({\r\n defaultValues: {\r\n zoneName: \"\",\r\n country: \"\",\r\n },\r\n });\r\n const dispatch = useDispatch();\r\n useEffect(() => {\r\n dispatch(getZoneDetails(selectedRows[0].uniqueBusinessZoneId));\r\n }, [dispatch, selectedRows]);\r\n\r\n useEffect(() => {\r\n if (zoneDetails) {\r\n setValue(\"country\", country);\r\n setValue(\"zoneName\", zoneDetails.name);\r\n }\r\n }, [zoneDetails, country, setValue]);\r\n\r\n const formSubmitHandler = (data: any) => {\r\n EditForm.current.requestSubmit();\r\n };\r\n\r\n const getFormErrorMessage = (name) => {\r\n return (\r\n errors[name] && (\r\n \r\n \r\n {errors[name].message}\r\n \r\n )\r\n );\r\n };\r\n\r\n const onEditFormSubmit = (data: any) => {\r\n data.zoneName=data.zoneName.trim();\r\n onEditZone && onEditZone(data);\r\n };\r\n\r\n const onError = (errors: any, e: any) => {};\r\n\r\n return (\r\n <>\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n {country}}\r\n />\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n {\r\n return value.trim().length<=0\r\n ?\"Zone Name is required.\":true\r\n }\r\n }}\r\n render={({ field, fieldState }) => (\r\n \r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"zoneName\")}\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n );\r\n};\r\n\r\nexport default EditZone;\r\n","import React, { useState, useEffect, useRef } from \"react\";\r\nimport { useForm, Controller } from \"react-hook-form\";\r\n\r\nimport { InputText } from \"primereact/inputtext\";\r\nimport { Dropdown } from \"primereact/dropdown\";\r\n\r\nimport { classNames } from \"primereact/utils\";\r\n\r\nimport { BsExclamationCircleFill } from \"react-icons/bs\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { useAppSelector } from \"../../../redux/hooks\";\r\nimport { getBranchOfficeDetails, getSalesOfficeLookup } from \"redux/pages/Manage/OrganizationSettings/branchOfficeSlice\";\r\nimport AddModal from \"components/Table/AddModal/AddModal\";\r\n\r\ninterface IBranchEdit {\r\n showModal: boolean;\r\n selectedRows: any;\r\n setShowModal: (state: boolean) => void;\r\n address: string;\r\n city: string;\r\n phone: string;\r\n email: string;\r\n Fax: string;\r\n salesOffice: string;\r\n onEditBranchOffice: (data: any) => void;\r\n}\r\n\r\ntype FormData = {\r\n name: string;\r\n salesOffice: string;\r\n address: string;\r\n city: string;\r\n phone: string;\r\n fax: string;\r\n email: string;\r\n FALicenceNumber: string;\r\n SPKLicenceNumber: string;\r\n EXTLicenceNumber: string;\r\n};\r\n\r\nexport const EditBranchOffice: React.FC = ({\r\n showModal = false,\r\n selectedRows = [],\r\n address = \"\",\r\n city = \"\",\r\n phone = \"\",\r\n email = \"\",\r\n Fax = \"\",\r\n salesOffice = \"\",\r\n onEditBranchOffice = () => {},\r\n setShowModal = () => {},\r\n}) => {\r\n const branchOfficeDetails = useAppSelector(\r\n (state) => state.branchOffice.branchOfficeDetails\r\n );\r\n const salesOfficeList = useAppSelector(\r\n (state) => state.branchOffice.salesOfficeLookup\r\n );\r\n\r\n const [salesOfficeLookup, setSalesOfficeLookup] = useState([\r\n { name: \"\", code: \"\" },\r\n ]);\r\n const EditBranchForm: any = useRef();\r\n\r\n const {\r\n control,\r\n handleSubmit,\r\n setValue,\r\n formState: { errors },\r\n } = useForm({\r\n defaultValues: {\r\n name: \"\",\r\n salesOffice: \"\",\r\n address: \"\",\r\n city: \"\",\r\n phone: \"\",\r\n fax: \"\",\r\n email: \"\",\r\n FALicenceNumber: \"\",\r\n SPKLicenceNumber: \"\",\r\n EXTLicenceNumber: \"\",\r\n },\r\n });\r\n\r\n const formSubmitHandler = (data: any) => {\r\n EditBranchForm.current.requestSubmit();\r\n };\r\n const dispatch = useDispatch();\r\n \r\n useEffect(() => {\r\n dispatch(getSalesOfficeLookup())\r\n dispatch(getBranchOfficeDetails(selectedRows[0]?.uniqueBranchOfficeId));\r\n }, [dispatch, selectedRows]);\r\n\r\n useEffect(() => {\r\n if (branchOfficeDetails) {\r\n setValue(\"address\", address);\r\n setValue(\"city\", city);\r\n setValue(\"phone\", phone);\r\n setValue(\"email\", email);\r\n setValue(\"FALicenceNumber\", branchOfficeDetails?.faLicenceNumber);\r\n setValue(\"SPKLicenceNumber\", branchOfficeDetails?.spkLicenceNumber);\r\n setValue(\"EXTLicenceNumber\", branchOfficeDetails?.extLicenceNumber);\r\n setValue(\"fax\", Fax);\r\n setValue(\"salesOffice\", salesOffice);\r\n setValue(\"name\", branchOfficeDetails?.name);\r\n } // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [branchOfficeDetails, setValue]);\r\n \r\n useEffect(() => {\r\n if (salesOfficeList && salesOfficeList?.length && branchOfficeDetails) {\r\n let salesOffice: { name: string; code: string }[] = [];\r\n salesOfficeList?.map((item: any) => {\r\n return salesOffice.push({ name: item.name, code: item.code });\r\n });\r\n setSalesOfficeLookup(salesOffice);\r\n const filterData: any = salesOffice.filter(\r\n (item: any) =>\r\n item.name === branchOfficeDetails.salesOffice.salesOfficeName\r\n );\r\n if (filterData.length > 0) {\r\n setValue(\"salesOffice\", filterData[0].name);\r\n }\r\n }\r\n }, [salesOfficeList, branchOfficeDetails, setValue]);\r\n const getFormErrorMessage = (name) => {\r\n return (\r\n errors[name] && (\r\n \r\n \r\n {errors[name].message}\r\n \r\n )\r\n );\r\n };\r\n\r\n const onEditFormSubmit = (submitData: any) => {\r\n let salesOfficeId = \"\";\r\n salesOfficeList.map((salesOfficeItem: any, key: any) => {\r\n if (submitData.salesOffice === salesOfficeItem.name) {\r\n salesOfficeId = salesOfficeItem.uniqueSalesOfficeId;\r\n }\r\n return null;\r\n });\r\n let ReviseData = \r\n {\r\n name: submitData?.name.trim(),\r\n address: submitData?.address.trim(),\r\n cityStateZip: submitData?.city.trim(),\r\n phone: submitData?.phone.trim(),\r\n email: submitData?.email,\r\n fax: submitData?.fax.trim(),\r\n FALicenceNumber: submitData.FALicenceNumber !==null?submitData.FALicenceNumber.trim():submitData.FALicenceNumber,\r\n SPKLicenceNumber:submitData.SPKLicenceNumber!==null?submitData.SPKLicenceNumber.trim():submitData.SPKLicenceNumber,\r\n EXTLicenceNumber: submitData.EXTLicenceNumber!==null?submitData?.EXTLicenceNumber.trim():submitData?.EXTLicenceNumber,\r\n uniqueSalesOfficeId: salesOfficeId,\r\n }\r\n onEditBranchOffice && onEditBranchOffice(ReviseData);\r\n };\r\n\r\n const onError = (errors: any, e: any) => {};\r\n\r\n return (\r\n <>\r\n \r\n \r\n
\r\n
\r\n \r\n {\r\n return value.trim().length<=0\r\n ?\"Branch Office Name is required.\":true\r\n }\r\n }}\r\n render={({ field, fieldState }) => (\r\n \r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"name\")}\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n {\r\n return value.trim().length<=0\r\n ?\"Address is required.\":true\r\n }\r\n }}\r\n render={({ field, fieldState }) => (\r\n \r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"address\")}\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n (\r\n \r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"city\")}\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \\/?NA]*$/,message:\"Enter a valid Phone Number\"}}}\r\n render={({ field, fieldState }) => (\r\n \r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"phone\")}\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \\/?NA]*$/,message:\"Enter a valid Fax\"}}}\r\n render={({ field, fieldState }) => (\r\n \r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"fax\")}\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n (\r\n \r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"email\")}\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n (\r\n \r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"FA License Number\")}\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n (\r\n \r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"SPK License Number\")}\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n (\r\n \r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"EXT License Number\")}\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n (\r\n field.onChange(e.value)}\r\n options={salesOfficeLookup}\r\n optionLabel=\"name\"\r\n optionValue=\"name\"\r\n />\r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"salesOffice\")}\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default EditBranchOffice;\r\n","import { InputText } from 'primereact/inputtext';\r\nimport { Dropdown } from 'primereact/dropdown';\r\n\r\nconst textEditor = (options) => {\r\n return options.editorCallback(e.target.value)} />;\r\n};\r\nconst CountryEditor = (options) => {\r\n return (\r\n options.editorCallback(e.value)} placeholder=\"Select Country\"\r\n itemTemplate={(option) => {\r\n return {option.label}\r\n }} />\r\n );\r\n}\r\nconst SalesOfficeEditor = (options) => {\r\n return (\r\n options.editorCallback(e.value)} placeholder=\"Select SalesOffice\"\r\n itemTemplate={(option) => {\r\n return {option.label}\r\n }} />\r\n );\r\n}\r\nconst Countrylist = [\r\n { label: 'Ontario', value: 'Ontario' },\r\n { label: 'British Columbia', value: 'British Columbia' },\r\n { label: 'Manitoba', value: 'Manitoba' },\r\n { label: 'New Brunswick', value: 'New Brunswick' },\r\n { label: 'Nova Scotia', value: 'Nova Scotia' },\r\n { label: 'Prince Edward Island', value: 'Prince Edward Island' }\r\n];\r\nconst SalesOfficelist = [\r\n { label: 'Ontario', value: 'Ontario' },\r\n { label: 'British Columbia', value: 'British Columbia' },\r\n { label: 'Manitoba', value: 'Manitoba' },\r\n { label: 'New Brunswick', value: 'New Brunswick' },\r\n { label: 'Nova Scotia', value: 'Nova Scotia' },\r\n { label: 'Prince Edward Island', value: 'Prince Edward Island' }\r\n];\r\nexport const ORG_COLS = {\r\n ZONE_COLS: [\r\n {\r\n field: 'name',\r\n header: 'Name',\r\n editor: (options) => textEditor(options),\r\n style: { flex: '1 0 200px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'country',\r\n header: 'Country',\r\n editor: (options) => CountryEditor(options),\r\n style: { flex: '1 0 200px' },\r\n sortable: true,\r\n }\r\n ],\r\n SALES_COLS: [\r\n {\r\n field: 'name',\r\n header: 'Name',\r\n editor: (options) => textEditor(options),\r\n style: { flex: '1 0 200px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'code',\r\n header: 'Code',\r\n editor: (options) => textEditor(options),\r\n style: { flex: '1 0 200px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'zone',\r\n header: 'Zone',\r\n editor: (options) => textEditor(options),\r\n style: { flex: '1 0 200px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'country',\r\n header: 'Country',\r\n editor: (options) => CountryEditor(options),\r\n style: { flex: '1 0 200px' },\r\n sortable: true,\r\n }\r\n ],\r\n BRANCH_COLS: [\r\n {\r\n field: 'name',\r\n header: 'Name',\r\n editor: (options) => textEditor(options),\r\n style: { flex: '1 0 200px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'address',\r\n header: 'Address',\r\n editor: (options) => textEditor(options),\r\n style: { flex: '1 0 200px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'cityStateZip',\r\n header: 'City, State, Zip',\r\n editor: (options) => textEditor(options),\r\n style: { flex: '1 0 200px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'phone',\r\n header: 'Phone',\r\n editor: (options) => textEditor(options),\r\n style: { flex: '1 0 200px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'email',\r\n header: 'Email',\r\n editor: (options) => textEditor(options),\r\n style: { flex: '1 0 200px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'fax',\r\n header: 'Fax',\r\n editor: (options) => textEditor(options),\r\n style: { flex: '1 0 200px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'faLicenceNumber',\r\n header: 'FA Licence Number',\r\n editor: (options) => textEditor(options),\r\n style: { flex: '1 0 200px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'spkLicenceNumber',\r\n header: 'SPK Licence Number',\r\n editor: (options) => textEditor(options),\r\n style: { flex: '1 0 200px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'extLicenceNumber',\r\n header: 'EXT Licence Number',\r\n editor: (options) => textEditor(options),\r\n style: { flex: '1 0 200px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'salesOffice',\r\n header: 'Sales Office',\r\n editor: (options) => SalesOfficeEditor(options),\r\n style: { flex: '1 0 200px' },\r\n sortable: true,\r\n }\r\n ]\r\n};\r\n\r\nexport const ORG_ROWS = {\r\n ZONE_ROWS: [\r\n {\r\n id: 1,\r\n name: 'Atlantic',\r\n country: 'United States',\r\n },\r\n {\r\n id: 2,\r\n name: 'Enterprise',\r\n country: 'United States',\r\n },\r\n {\r\n id: 3,\r\n name: 'Hong Kong',\r\n country: 'Canada',\r\n },\r\n {\r\n id: 4,\r\n name: 'India',\r\n country: 'United States',\r\n },\r\n {\r\n id: 5,\r\n name: 'North West',\r\n country: 'United States',\r\n },\r\n {\r\n id: 6,\r\n name: 'South',\r\n country: 'Canada',\r\n },\r\n {\r\n id: 7,\r\n name: 'A/Anti-Freeze',\r\n country: 'Canada',\r\n },\r\n {\r\n id: 8,\r\n name: 'Atlantic',\r\n country: 'United States',\r\n },\r\n {\r\n id: 9,\r\n name: 'Atlantic',\r\n country: 'United States',\r\n },\r\n {\r\n id: 10,\r\n name: 'A/Anti-Freeze',\r\n country: 'United States',\r\n },\r\n {\r\n id: 11,\r\n name: 'A/Anti-Freeze',\r\n country: 'United States',\r\n },\r\n {\r\n id: 12,\r\n name: 'A/Anti-Freeze',\r\n country: 'United States',\r\n },\r\n {\r\n id: 13,\r\n name: 'Atlantic',\r\n country: 'United States',\r\n },\r\n {\r\n id: 14,\r\n name: 'Enterprise',\r\n country: 'Canada',\r\n },\r\n {\r\n id: 15,\r\n name: 'Atlantic',\r\n country: 'United States',\r\n },\r\n {\r\n id: 16,\r\n name: 'Atlantic',\r\n country: 'United States',\r\n },\r\n {\r\n id: 17,\r\n name: 'India',\r\n country: 'Canada',\r\n },\r\n {\r\n id: 18,\r\n name: 'Hong Kong',\r\n country: 'United States',\r\n },\r\n {\r\n id: 19,\r\n name: 'Atlantic',\r\n country: 'Canada',\r\n },\r\n {\r\n id: 20,\r\n name: 'Hong Kong',\r\n country: 'Canada',\r\n }\r\n ],\r\n SALES_ROWS: [\r\n {\r\n id: 1,\r\n name: 'BT University',\r\n code: 'BNY3',\r\n zone: 'Northeast',\r\n country: 'United States',\r\n },\r\n {\r\n id: 2,\r\n name: 'BT University',\r\n code: 'BNY3',\r\n zone: 'Northeast',\r\n country: 'United States',\r\n },\r\n {\r\n id: 3,\r\n name: 'BT University',\r\n code: 'BNY3',\r\n zone: 'Northeast',\r\n country: 'United States',\r\n },\r\n {\r\n id: 4,\r\n name: 'BT University',\r\n code: 'BNY3',\r\n zone: 'Northeast',\r\n country: 'United States',\r\n },\r\n {\r\n id: 5,\r\n name: 'BT University',\r\n code: 'BNY3',\r\n zone: 'Northeast',\r\n country: 'United States',\r\n },\r\n {\r\n id: 6,\r\n name: 'BT University',\r\n code: 'BNY3',\r\n zone: 'Northeast',\r\n country: 'United States',\r\n },\r\n {\r\n id: 7,\r\n name: 'BT University',\r\n code: 'BNY3',\r\n zone: 'Northeast',\r\n country: 'United States',\r\n },\r\n {\r\n id: 8,\r\n name: 'BT University',\r\n code: 'BNY3',\r\n zone: 'Northeast',\r\n country: 'United States',\r\n },\r\n {\r\n id: 9,\r\n name: 'BT University',\r\n code: 'BNY3',\r\n zone: 'Northeast',\r\n country: 'United States',\r\n },\r\n {\r\n id: 10,\r\n name: 'BT University',\r\n code: 'BNY3',\r\n zone: 'Northeast',\r\n country: 'United States',\r\n },\r\n {\r\n id: 11,\r\n name: 'BT University',\r\n code: 'BNY3',\r\n zone: 'Northeast',\r\n country: 'United States',\r\n },\r\n {\r\n id: 12,\r\n name: 'BT University',\r\n code: 'BNY3',\r\n zone: 'Northeast',\r\n country: 'United States',\r\n },\r\n {\r\n id: 13,\r\n name: 'BT University',\r\n code: 'BNY3',\r\n zone: 'Northeast',\r\n country: 'United States',\r\n },\r\n {\r\n id: 14,\r\n name: 'BT University',\r\n code: 'BNY3',\r\n zone: 'Northeast',\r\n country: 'United States',\r\n },\r\n {\r\n id: 15,\r\n name: 'BT University',\r\n code: 'BNY3',\r\n zone: 'Northeast',\r\n country: 'United States',\r\n },\r\n {\r\n id: 16,\r\n name: 'BT University',\r\n code: 'BNY3',\r\n zone: 'Northeast',\r\n country: 'United States',\r\n },\r\n {\r\n id: 17,\r\n name: 'BT University',\r\n code: 'BNY3',\r\n zone: 'Northeast',\r\n country: 'United States',\r\n },\r\n {\r\n id: 18,\r\n name: 'BT University',\r\n code: 'BNY3',\r\n zone: 'Northeast',\r\n country: 'United States',\r\n },\r\n {\r\n id: 19,\r\n name: 'BT University',\r\n code: 'BNY3',\r\n zone: 'Northeast',\r\n country: 'United States',\r\n },\r\n {\r\n id: 20,\r\n name: 'BT University',\r\n code: 'BNY3',\r\n zone: 'Northeast',\r\n country: 'United States',\r\n }\r\n ],\r\n BRANCH_ROWS: [\r\n {\r\n id: 1,\r\n name: 'BT University',\r\n address: 'Fernwood Rd',\r\n cityStateZip: 'Austin, TX, 7265',\r\n phone: '615-832-123',\r\n email: 'nominal@zlinkcorp.com',\r\n fax: '888-33333-4443',\r\n faLicenseNo: 'TN345',\r\n spkLicenseNo: 'TN345'\r\n },\r\n {\r\n id: 2,\r\n name: 'BT University',\r\n address: 'Fernwood Rd',\r\n cityStateZip: 'Austin, TX, 7265',\r\n phone: '615-832-123',\r\n email: 'nominal@zlinkcorp.com',\r\n fax: '888-33333-4443',\r\n faLicenseNo: 'TN345',\r\n spkLicenseNo: 'TN345'\r\n },\r\n {\r\n id: 3,\r\n name: 'BT University',\r\n address: 'Fernwood Rd',\r\n cityStateZip: 'Austin, TX, 7265',\r\n phone: '615-832-123',\r\n email: 'nominal@zlinkcorp.com',\r\n fax: '888-33333-4443',\r\n faLicenseNo: 'TN345',\r\n spkLicenseNo: 'TN345'\r\n },\r\n {\r\n id: 4,\r\n name: 'BT University',\r\n address: 'Fernwood Rd',\r\n cityStateZip: 'Austin, TX, 7265',\r\n phone: '615-832-123',\r\n email: 'nominal@zlinkcorp.com',\r\n fax: '888-33333-4443',\r\n faLicenseNo: 'TN345',\r\n spkLicenseNo: 'TN345'\r\n },\r\n {\r\n id: 5,\r\n name: 'BT University',\r\n address: 'Fernwood Rd',\r\n cityStateZip: 'Austin, TX, 7265',\r\n phone: '615-832-123',\r\n email: 'nominal@zlinkcorp.com',\r\n fax: '888-33333-4443',\r\n faLicenseNo: 'TN345',\r\n spkLicenseNo: 'TN345'\r\n },\r\n {\r\n id: 6,\r\n name: 'BT University',\r\n address: 'Fernwood Rd',\r\n cityStateZip: 'Austin, TX, 7265',\r\n phone: '615-832-123',\r\n email: 'nominal@zlinkcorp.com',\r\n fax: '888-33333-4443',\r\n faLicenseNo: 'TN345',\r\n spkLicenseNo: 'TN345'\r\n },\r\n {\r\n id: 7,\r\n name: 'BT University',\r\n address: 'Fernwood Rd',\r\n cityStateZip: 'Austin, TX, 7265',\r\n phone: '615-832-123',\r\n email: 'nominal@zlinkcorp.com',\r\n fax: '888-33333-4443',\r\n faLicenseNo: 'TN345',\r\n spkLicenseNo: 'TN345'\r\n },\r\n {\r\n id: 8,\r\n name: 'BT University',\r\n address: 'Fernwood Rd',\r\n cityStateZip: 'Austin, TX, 7265',\r\n phone: '615-832-123',\r\n email: 'nominal@zlinkcorp.com',\r\n fax: '888-33333-4443',\r\n faLicenseNo: 'TN345',\r\n spkLicenseNo: 'TN345'\r\n },\r\n {\r\n id: 9,\r\n name: 'BT University',\r\n address: 'Fernwood Rd',\r\n cityStateZip: 'Austin, TX, 7265',\r\n phone: '615-832-123',\r\n email: 'nominal@zlinkcorp.com',\r\n fax: '888-33333-4443',\r\n faLicenseNo: 'TN345',\r\n spkLicenseNo: 'TN345'\r\n },\r\n {\r\n id: 10,\r\n name: 'BT University',\r\n address: 'Fernwood Rd',\r\n cityStateZip: 'Austin, TX, 7265',\r\n phone: '615-832-123',\r\n email: 'nominal@zlinkcorp.com',\r\n fax: '888-33333-4443',\r\n faLicenseNo: 'TN345',\r\n spkLicenseNo: 'TN345'\r\n },\r\n {\r\n id: 11,\r\n name: 'BT University',\r\n address: 'Fernwood Rd',\r\n cityStateZip: 'Austin, TX, 7265',\r\n phone: '615-832-123',\r\n email: 'nominal@zlinkcorp.com',\r\n fax: '888-33333-4443',\r\n faLicenseNo: 'TN345',\r\n spkLicenseNo: 'TN345'\r\n },\r\n {\r\n id: 12,\r\n name: 'BT University',\r\n address: 'Fernwood Rd',\r\n cityStateZip: 'Austin, TX, 7265',\r\n phone: '615-832-123',\r\n email: 'nominal@zlinkcorp.com',\r\n fax: '888-33333-4443',\r\n faLicenseNo: 'TN345',\r\n spkLicenseNo: 'TN345'\r\n },\r\n {\r\n id: 13,\r\n name: 'BT University',\r\n address: 'Fernwood Rd',\r\n cityStateZip: 'Austin, TX, 7265',\r\n phone: '615-832-123',\r\n email: 'nominal@zlinkcorp.com',\r\n fax: '888-33333-4443',\r\n faLicenseNo: 'TN345',\r\n spkLicenseNo: 'TN345'\r\n },\r\n {\r\n id: 14,\r\n name: 'BT University',\r\n address: 'Fernwood Rd',\r\n cityStateZip: 'Austin, TX, 7265',\r\n phone: '615-832-123',\r\n email: 'nominal@zlinkcorp.com',\r\n fax: '888-33333-4443',\r\n faLicenseNo: 'TN345',\r\n spkLicenseNo: 'TN345'\r\n },\r\n {\r\n id: 15,\r\n name: 'BT University',\r\n address: 'Fernwood Rd',\r\n cityStateZip: 'Austin, TX, 7265',\r\n phone: '615-832-123',\r\n email: 'nominal@zlinkcorp.com',\r\n fax: '888-33333-4443',\r\n faLicenseNo: 'TN345',\r\n spkLicenseNo: 'TN345'\r\n },\r\n {\r\n id: 16,\r\n name: 'BT University',\r\n address: 'Fernwood Rd',\r\n cityStateZip: 'Austin, TX, 7265',\r\n phone: '615-832-123',\r\n email: 'nominal@zlinkcorp.com',\r\n fax: '888-33333-4443',\r\n faLicenseNo: 'TN345',\r\n spkLicenseNo: 'TN345'\r\n },\r\n {\r\n id: 17,\r\n name: 'BT University',\r\n address: 'Fernwood Rd',\r\n cityStateZip: 'Austin, TX, 7265',\r\n phone: '615-832-123',\r\n email: 'nominal@zlinkcorp.com',\r\n fax: '888-33333-4443',\r\n faLicenseNo: 'TN345',\r\n spkLicenseNo: 'TN345'\r\n },\r\n {\r\n id: 18,\r\n name: 'BT University',\r\n address: 'Fernwood Rd',\r\n cityStateZip: 'Austin, TX, 7265',\r\n phone: '615-832-123',\r\n email: 'nominal@zlinkcorp.com',\r\n fax: '888-33333-4443',\r\n faLicenseNo: 'TN345',\r\n spkLicenseNo: 'TN345'\r\n },\r\n {\r\n id: 19,\r\n name: 'BT University',\r\n address: 'Fernwood Rd',\r\n cityStateZip: 'Austin, TX, 7265',\r\n phone: '615-832-123',\r\n email: 'nominal@zlinkcorp.com',\r\n fax: '888-33333-4443',\r\n faLicenseNo: 'TN345',\r\n spkLicenseNo: 'TN345'\r\n },\r\n {\r\n id: 20,\r\n name: 'BT University',\r\n address: 'Fernwood Rd',\r\n cityStateZip: 'Austin, TX, 7265',\r\n phone: '615-832-123',\r\n email: 'nominal@zlinkcorp.com',\r\n fax: '888-33333-4443',\r\n faLicenseNo: 'TN345',\r\n spkLicenseNo: 'TN345'\r\n }\r\n ]\r\n}","import React, { useEffect, useState } from \"react\";\r\nimport { useForm, Controller } from \"react-hook-form\";\r\nimport { Dropdown } from \"primereact/dropdown\";\r\nimport { classNames } from \"primereact/utils\";\r\nimport { Dialog } from \"primereact/dialog\";\r\n\r\nimport ReportViewer from \"components/common/Report/ReportViewer\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { createReportPreviewSession, setReportPreviewSession } from \"redux/pages/Administration/Site/siteSlice\";\r\n\r\nimport { ORGANIZATION_TYPES } from \"constants/common\";\r\nimport { useLocation } from \"react-router-dom\";\r\n\r\ninterface Props {\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n selectedRows: any;\r\n reportFlag: string;\r\n sortByColumns: any;\r\n searchKeyword: string;\r\n}\r\n\r\ntype FormData = {\r\n sortBy: string;\r\n};\r\n\r\nexport const OrganizationReport: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => { },\r\n selectedRows = [],\r\n reportFlag = '',\r\n sortByColumns = [],\r\n searchKeyword = '',\r\n}) => {\r\n let { state: { from } } = useLocation() as any;\r\n\r\n const {\r\n control,\r\n } = useForm({\r\n defaultValues: {\r\n sortBy: \"\",\r\n },\r\n });\r\n\r\n const [sortByLookup, setSortByLookup] = useState([{ field: \"\", header: \"\" }]);\r\n const [reportId, setReportId] = useState(null);\r\n const [sortColumn, setSortColumn] = useState(\"\");\r\n const reportPreviewSession = useAppSelector((state) => state.site.reportPreviewSession);\r\n const dispatch = useDispatch();\r\n\r\n useEffect(() => {\r\n if (sortByColumns?.length) {\r\n let sortBy: { field: string; header: string }[] = [];\r\n sortByColumns?.map((item: any) => {\r\n return sortBy.push({ field: item.field, header: item.header });\r\n });\r\n setSortByLookup(sortBy);\r\n }\r\n }, [sortByColumns]);\r\n\r\n const getSelectedZonesId = () => {\r\n let params: any = [];\r\n selectedRows.map(item => {\r\n params.push(item.uniqueBusinessZoneId);\r\n });\r\n return params;\r\n };\r\n\r\n const getSelectedSalesOfficeId = () => {\r\n let params: any = [];\r\n selectedRows.map(item => {\r\n params.push(item.uniqueSalesOfficeId);\r\n });\r\n return params;\r\n };\r\n\r\n const setSelectedBranchOfficeId = () => {\r\n let params: any = [];\r\n selectedRows.map(item => {\r\n params.push(item.uniqueBranchOfficeId);\r\n });\r\n return params;\r\n };\r\n\r\n useEffect(() => {\r\n switch (from) {\r\n case ORGANIZATION_TYPES.ZONE: {\r\n let params;\r\n if(reportFlag === 'all'){\r\n params = ''\r\n } else {\r\n params = getSelectedZonesId();\r\n }\r\n const reportParameters = {\r\n reportParameters: {\r\n businessZoneId: params,\r\n sortColumn: sortColumn,\r\n search: searchKeyword\r\n },\r\n reportType: \"ZONE\"\r\n };\r\n dispatch(createReportPreviewSession(reportParameters));\r\n break;\r\n }\r\n case ORGANIZATION_TYPES.SALES: {\r\n let params;\r\n if(reportFlag === 'all'){\r\n params = ''\r\n } else {\r\n params = getSelectedSalesOfficeId();\r\n }\r\n const reportParameters = {\r\n reportParameters: {\r\n uniqueSalesOfficeId: params,\r\n sortColumn: sortColumn,\r\n search: searchKeyword\r\n },\r\n reportType: \"Salesoffice Grid Report\"\r\n };\r\n dispatch(createReportPreviewSession(reportParameters));\r\n break;\r\n }\r\n case ORGANIZATION_TYPES.BRANCH: {\r\n let params;\r\n if(reportFlag === 'all'){\r\n params = ''\r\n } else {\r\n params = setSelectedBranchOfficeId();\r\n }\r\n const reportParameters = {\r\n reportParameters: {\r\n uniqueBranchOfficeId: params,\r\n sortColumn: sortColumn,\r\n search: searchKeyword\r\n },\r\n reportType: \"Testing Organization Grid Report\"\r\n };\r\n dispatch(createReportPreviewSession(reportParameters));\r\n break;\r\n }\r\n default: {\r\n let params;\r\n if(reportFlag === 'all'){\r\n params = ''\r\n } else {\r\n params = getSelectedZonesId();\r\n }\r\n const reportParameters = {\r\n reportParameters: {\r\n businessZoneId: params,\r\n sortColumn: sortColumn,\r\n search: searchKeyword\r\n },\r\n reportType: \"ZONE\"\r\n };\r\n dispatch(createReportPreviewSession(reportParameters));\r\n break;\r\n }\r\n }\r\n }, [sortColumn, dispatch, from]);\r\n\r\n useEffect(() => {\r\n if (reportPreviewSession) {\r\n setReportId(reportPreviewSession.previewSessionId);\r\n }\r\n }, [reportPreviewSession])\r\n\r\n return (\r\n <>\r\n {\r\n dispatch(setReportPreviewSession(\"\"));\r\n setShowModal(false);\r\n }}\r\n className=\"display-settings report selectsite\"\r\n style={{ width: \"90vw\", height: \"600px\" }}\r\n >\r\n
\r\n
\r\n
\r\n
\r\n \r\n (\r\n {\r\n setSortColumn(e.value);\r\n }}\r\n options={sortByLookup}\r\n optionLabel=\"header\"\r\n optionValue=\"header\"\r\n />\r\n )}\r\n />\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default OrganizationReport;\r\n","import React, { useState, useEffect, useCallback, useMemo, useRef } from \"react\";\r\nimport { useNavigate, useLocation } from \"react-router-dom\";\r\n\r\nimport Breadcrumb from \"components/common/Breadcrumb/Breadcrumb\";\r\nimport InformationBox from \"components/common/Message/InformationBox/InformationBox\";\r\nimport ConfirmationBox from \"components/common/Message/ConfirmationBox/ConfirmationBox\";\r\nimport { BsArrowRight } from \"react-icons/bs\";\r\nimport Table from \"components/Table/Table\";\r\nimport Filters from \"components/Filters/Filters\";\r\n\r\nimport { ORGANIZATION_TYPES } from \"constants/common\";\r\nimport { APP_ROUTES } from \"constants/AppRoutes\";\r\n\r\nimport AddZone from \"./ManageZone/AddZone\";\r\nimport AddBranchOffice from \"./ManageBranchOffice/AddBranchOffice\";\r\n\r\nimport EditSalesOffice from \"./ManageSalesOffice/EditSalesOffice\";\r\n\r\nimport AddSalesOffice from \"./ManageSalesOffice/AddSalesOffice\";\r\nimport Techs from \"./ManageSalesOffice/Techs\"\r\nimport EditZone from \"./ManageZone/EditZone\";\r\n\r\nimport EditBranch from \"./ManageBranchOffice/EditBranchOffice\";\r\n\r\nimport { ORG_COLS } from \"./OrganizationTableData\";\r\n\r\nimport { useDispatch } from \"react-redux\";\r\nimport { useAppSelector } from \"../../redux/hooks\";\r\nimport { getZoneList, onAddZone, onEditZone, deleteZone} from \"redux/pages/Manage/OrganizationSettings/zoneSlice\";\r\nimport { getSalesOfficeList, onAddSalesOffice, onEditSalesOffice, deleteSalesOffice, assignTechnicians,setSalesOfficeList} from \"redux/pages/Manage/OrganizationSettings/salesOfficeSlice\";\r\nimport { getBranchOfficeList, onAddBranchOffice, onEditBranchOffice, deleteBranchOffice} from \"redux/pages/Manage/OrganizationSettings/branchOfficeSlice\";\r\nimport OrganizationReport from \"pages/Organization/Reports/OrganizationReports\";\r\nimport PopOver from \"components/common/PopOver/PopOver\";\r\nimport { OverlayPanel } from \"primereact/overlaypanel\";\r\nimport { onExportReport } from \"redux/common/report/customizeReportSlice\";\r\ninterface IOrganization {}\r\n\r\nexport const Organization: React.FC = () => {\r\n\tconst navigate = useNavigate();\r\n\r\n\tlet {\r\n\t\tstate: { from },\r\n\t} = useLocation() as any;\r\n\tconst dispatch = useDispatch();\r\n\tconst downloadRef = React.createRef();\r\n\r\n\tconst [showEditBranchModal, setShowEditBranchModal] = useState(false);\r\n\tconst [showEditSalesModal, setShowEditSalesModal] = useState(false);\r\n\r\n\tconst zoneData = useAppSelector((state) => state.zone.zoneList);\r\n\tconst zonePageDetails = useAppSelector((state) => state.zone.zonePageDetails);\r\n\tconst salesOfficeData = useAppSelector((state) => state.salesOffice.salesOfficeList);\r\n\tconst salesOfficePageDetails = useAppSelector((state) => state.salesOffice.salesOfficePageDetails);\r\n\tconst branchofficeData = useAppSelector((state) => state.branchOffice.branchOfficeList);\r\n\tconst branchOfficePageDetails = useAppSelector((state) => state.branchOffice.branchOfficePageDetails);\r\n\tconst rowsPerPage = useAppSelector((state) => state.personalSettings.rowsPerPage);\r\n\r\n\tconst [pageIndex, setPageIndex] = useState(0);\r\n\tconst [tableColumns, setTableColumns] = useState([]);\r\n\tconst [tableRows, setTableRows] = useState([]);\r\n\tconst [showGrid, setShowGrid] = useState(false);\r\n\tconst [selectedRows, setSelectedRows] = useState([]);\r\n\tconst [message, setMessage] = useState(\"\");\r\n\tconst [isDelete, setIsDelete] = useState(false);\r\n\tconst [showTechs, setShowTechs] = useState(false);\r\n\tconst [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n\tconst [displayConfirmModal, setDisplayConfirmModal] = useState(false);\r\n\tconst [showAddZoneModal, setShowAddZoneModal] = useState(false);\r\n\tconst [showAddSalesModal, setShowAddSalesModal] = useState(false);\r\n\tconst [showAddBranchModal, setShowAddBranchModal] = useState(false);\r\n\tconst [showEditZoneModal, setShowEditZoneModal] = useState(false);\r\n\tconst [currentStart, setCurrentStart] = useState(1);\r\n const [sortField, setSortField] = useState('')\r\n const [sortOrder, setSortOrder] = useState('');\r\n const [keyWord, setKeyWord] = useState('');\r\n\tconst [zoneSearchkeyWord, setZoneSearchKeyWord] = useState('');\r\n\tconst [isLazyLoading, setIsLazyLoading] = useState(true);\r\n\tconst [showReportModal, setShowReportModal] = useState(false);\r\n\tconst [reportFlag, setReportFlag] = useState('all');\r\n\tconst showSubtitle = useRef(\"Zone\");\r\n\tconst [zonePagination, setZonePagination] = useState({});\r\n\tconst [salesOfficePagination, setSalesOfficePagination] = useState({});\r\n\tconst [branchOfficePagination, setBranchOfficePagination] = useState({});\r\n\r\n\tuseEffect(() => {\r\n\t\tif(salesOfficeData.length>0)\r\n\t\tdispatch(setSalesOfficeList([]));\r\n\t\tsetPageIndex(0);\r\n\t\tswitch (from) {\r\n\t\t\tcase ORGANIZATION_TYPES.ZONE:\r\n\t\t\t\tsetIsLazyLoading(true);\r\n\t\t\t\tdispatch(getZoneList(setShowGrid, 1, sortField, sortOrder));\r\n\t\t\t\tbreak;\r\n\t\t\tcase ORGANIZATION_TYPES.SALES:\r\n\t\t\t\tsetIsLazyLoading(true);\r\n\t\t\t\tdispatch(getSalesOfficeList(setShowGrid, 1, sortField, sortOrder));\r\n\t\t\t\tbreak;\r\n\t\t\tcase ORGANIZATION_TYPES.BRANCH:\r\n\t\t\t\tsetIsLazyLoading(true);\r\n\t\t\t\tdispatch(getBranchOfficeList(setShowGrid, 1, sortField, sortOrder));\r\n\t\t\t\tbreak;\r\n\t\t\tdefault:\r\n\t\t\t\tsetIsLazyLoading(false);\r\n\t\t\t\tdispatch(getZoneList(setShowGrid, 1, sortField, sortOrder));\r\n\t\t\t\tbreak;\r\n\t\t}\r\n\t}, [dispatch, from, rowsPerPage]);\r\n\r\n\tuseEffect(() => {\r\n\t\tif (zonePageDetails) {\r\n\t\t setZonePagination(zonePageDetails);\r\n\t\t}\r\n\t\tif (salesOfficePageDetails) {\r\n\t\t setSalesOfficePagination(salesOfficePageDetails);\r\n\t\t}\r\n\t\tif (branchOfficePageDetails) {\r\n\t\t setBranchOfficePagination(branchOfficePageDetails);\r\n\t\t}\r\n\t }, [zonePageDetails, salesOfficePageDetails, branchOfficePageDetails]);\r\n\r\n\tuseEffect(() => {\r\n\t\tif (from && rowsPerPage && rowsPerPage > 0) {\r\n\t\t\tlet modifiedPageDetails: any = {};\r\n\t\t\tswitch (from) {\r\n\t\t\t\tcase ORGANIZATION_TYPES.ZONE:\r\n\t\t\t\t\tmodifiedPageDetails = { ...zonePagination, 'currentLength': rowsPerPage, 'pageCount': rowsPerPage };\r\n\t\t\t\t\tsetZonePagination(modifiedPageDetails);\r\n\t\t\t\t\tsetCurrentStart(1)\r\n\t\t\t\t\tsetPageIndex(0)\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase ORGANIZATION_TYPES.SALES:\r\n\t\t\t\t\tmodifiedPageDetails = { ...salesOfficePagination, 'currentLength': rowsPerPage, 'pageCount': rowsPerPage };\r\n\t\t\t\t\tsetSalesOfficePagination(modifiedPageDetails);\r\n\t\t\t\t\tsetCurrentStart(1)\r\n\t\t\t\t\tsetPageIndex(0)\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase ORGANIZATION_TYPES.BRANCH:\r\n\t\t\t\t\tmodifiedPageDetails = { ...branchOfficePagination, 'currentLength': rowsPerPage, 'pageCount': rowsPerPage };\r\n\t\t\t\t\tsetBranchOfficePagination(modifiedPageDetails);\r\n\t\t\t\t\tsetCurrentStart(1)\r\n\t\t\t\t\tsetPageIndex(0)\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tdefault:\r\n\t\t\t\t\tmodifiedPageDetails = { ...zonePagination, 'currentLength': rowsPerPage, 'pageCount': rowsPerPage };\r\n\t\t\t\t\tsetZonePagination(modifiedPageDetails);\r\n\t\t\t\t\tsetCurrentStart(1)\r\n\t\t\t\t\tsetPageIndex(0)\r\n\t\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\t }, [rowsPerPage])\r\n\r\n\tconst onPageChanged = (options: any) => {\r\n\t\tif (options !== pageIndex) {\r\n\t\t\tlet currentStart = options * getOrgPageDetails()?.currentLength + 1;\r\n\t\t\tsetCurrentStart(currentStart)\r\n\t\t\tsetPageIndex(options);\r\n\t\t\tswitch (from) {\r\n\t\t\t\tcase ORGANIZATION_TYPES.ZONE:\r\n\t\t\t\t\tdispatch(getZoneList(setShowGrid, currentStart,keyWord, sortField, sortOrder));\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase ORGANIZATION_TYPES.SALES:\r\n\t\t\t\t\tdispatch(getSalesOfficeList(setShowGrid, currentStart, keyWord, sortField, sortOrder));\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase ORGANIZATION_TYPES.BRANCH:\r\n\t\t\t\t\tdispatch(getBranchOfficeList(setShowGrid, currentStart, keyWord, sortField, sortOrder));\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tdefault:\r\n\t\t\t\t\tdispatch(getZoneList(setShowGrid, currentStart, keyWord, sortField, sortOrder));\r\n\t\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n\r\n\tconst onGlobalSearch = (filter) => {\r\n setKeyWord(filter)\r\n\t\tswitch (from) {\r\n\t\t\tcase ORGANIZATION_TYPES.SALES:\r\n\t\t\t\tdispatch(getSalesOfficeList(setShowGrid, 1, filter, sortField, sortOrder));\r\n\t\t\t\tbreak;\r\n\t\t\tcase ORGANIZATION_TYPES.BRANCH:\r\n\t\t\t\tdispatch(getBranchOfficeList(setShowGrid, 1, filter, sortField, sortOrder));\r\n\t\t\t\tbreak;\r\n\t\t\tdefault:\r\n\t\t\t\tdispatch(getZoneList(setShowGrid, 1, filter, sortField, sortOrder));\r\n\t\t\t\tbreak;\r\n\t\t}\r\n }\r\n\r\n\tconst onGridDataSearch = (searchData) => {\r\n\t\tswitch (from) {\r\n\t\t\tcase ORGANIZATION_TYPES.ZONE:\r\n\t\t\t\tsetZoneSearchKeyWord(searchData);\r\n\t\t\t\tbreak;\r\n\t\t\tcase ORGANIZATION_TYPES.SALES:\r\n\t\t\t\tsetKeyWord(searchData);\r\n\t\t\t\tbreak;\r\n\t\t\tcase ORGANIZATION_TYPES.BRANCH:\r\n\t\t\t\tsetKeyWord(searchData);\r\n\t\t\t\tbreak;\r\n\t\t\tdefault:\r\n\t\t\t\tsetZoneSearchKeyWord(searchData);\r\n\t\t\t\tbreak;\r\n\t\t}\r\n\t}\r\n\r\n const onSort = (event) => {\r\n let sortDirection: string;\r\n if (event.sortOrder === 1)\r\n sortDirection = \"ASC\"\r\n else\r\n sortDirection = \"DESC\"\r\n setSortField(event.sortField)\r\n setSortOrder(sortDirection)\r\n\t\tswitch (from) {\r\n\t\t\tcase ORGANIZATION_TYPES.ZONE:\r\n\t\t\t\tdispatch(getZoneList(setShowGrid, currentStart, keyWord, event.sortField, sortDirection));\r\n\t\t\t\tbreak;\r\n\t\t\tcase ORGANIZATION_TYPES.SALES:\r\n\t\t\t\tdispatch(getSalesOfficeList(setShowGrid, currentStart, keyWord, event.sortField, sortDirection));\r\n\t\t\t\tbreak;\r\n\t\t\tcase ORGANIZATION_TYPES.BRANCH:\r\n\t\t\t\tdispatch(getBranchOfficeList(setShowGrid, currentStart, keyWord, event.sortField, sortDirection));\r\n\t\t\t\tbreak;\r\n\t\t\tdefault:\r\n\t\t\t\tdispatch(getZoneList(setShowGrid, currentStart, keyWord, event.sortField, sortDirection));\r\n\t\t\t\tbreak;\r\n\t\t}\r\n }\r\n\r\n\tconst handleTabChange = (from) => {\r\n\r\n\t\tnavigate(`/${APP_ROUTES.MANAGE_ORGANIZATION}`, {\r\n\t\t\tstate: {\r\n\t\t\t\tfrom,\r\n\t\t\t},\r\n\t\t});\r\n\t};\r\n\r\n\tuseEffect(() => {\r\n\t\tsetShowGrid(false);\r\n\t\tsetTableColumns([]);\r\n\t\tsetKeyWord(\"\");\r\n\t\tsetZoneSearchKeyWord('');\r\n\t\tsetSortField(\"\");\r\n\t\tsetSortOrder(\"\");\r\n\t\tsetTableColumns(getOrgTableCols(from));\r\n\t}, [from]);\r\n\r\n\tuseMemo(() => {\r\n\t\tconst getOrgTableRows = () => {\r\n\t\t\tswitch (from) {\r\n\t\t\t\tcase ORGANIZATION_TYPES.ZONE: {\r\n\t\t\t\t\treturn zoneData;\r\n\t\t\t\t}\r\n\t\t\t\tcase ORGANIZATION_TYPES.SALES: {\r\n\t\t\t\t\treturn salesOfficeData;\r\n\t\t\t\t}\r\n\t\t\t\tcase ORGANIZATION_TYPES.BRANCH: {\r\n\t\t\t\t\treturn branchofficeData;\r\n\t\t\t\t}\r\n\t\t\t\tdefault: {\r\n\t\t\t\t\treturn zoneData;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t};\r\n\t\tsetTableRows(getOrgTableRows());\r\n\t}, [from, zoneData, salesOfficeData, branchofficeData]);\r\n\r\n\tuseEffect(() => {\r\n\t\tsetShowGrid(true);\r\n\t}, [tableColumns]);\r\n\r\n\tconst handleRowSelect = useCallback((data: any) => {\r\n\t\tsetSelectedRows([...data]);\r\n\t}, []);\r\n\r\n\tconst onAddZoneClick = (submitData: any) => {\r\n\t\tdispatch(onAddZone(submitData, setMessage, setDisplayInfoModal, setShowAddZoneModal));\r\n\t};\r\n\tconst onEditZoneClick = (submitData: any) => {\r\n\t\tdispatch(onEditZone(submitData, selectedRows[0].uniqueBusinessZoneId, setMessage, setDisplayInfoModal, setShowEditZoneModal));\r\n\t};\r\n\tconst deleteZoneClick = () => {\r\n\t\tif (selectedRows.length > 1) {\r\n\t\t\tsetMessage(\"This operation can be performed only one row at a time\");\r\n\t\t\tsetDisplayInfoModal(true);\r\n\t\t} else if (selectedRows.length < 1) {\r\n\t\t\tsetMessage(\"Select a Zone\");\r\n\t\t\tsetDisplayInfoModal(true);\r\n\t\t} else if (selectedRows.length === 1) {\r\n\t\t\tsetIsDelete(true);\r\n\t\t\tzoneData.map((item: any) => {\r\n\t\t\t\tif (selectedRows[0].uniqueBusinessZoneId === item.uniqueBusinessZoneId) {\r\n\t\t\t\t\tif (item.isZoneInUse === true) {\r\n\t\t\t\t\t\tsetMessage(\"Zone is in use, cannot be deleted\");\r\n\t\t\t\t\t\tsetDisplayInfoModal(true);\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tsetMessage(\"Are you sure you want to delete the selected Zone?\");\r\n\t\t\t\t\t\tsetDisplayConfirmModal(true);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\treturn null;\r\n\t\t\t});\r\n\t\t}\r\n\t};\r\n\r\n\tconst onEditIconClick = () => {\r\n\t\tif (selectedRows.length > 1) {\r\n\t\t\tsetMessage(\"This operation can be performed only one row at a time\");\r\n\t\t\tsetDisplayInfoModal(true);\r\n\t\t} else {\r\n\t\t\tswitch (from) {\r\n\t\t\t\tcase ORGANIZATION_TYPES.SALES: {\r\n\t\t\t\t\tif (selectedRows.length < 1) {\r\n\t\t\t\t\t\tsetMessage(\"Select a Sales Office\");\r\n\t\t\t\t\t\tsetDisplayInfoModal(true);\r\n\t\t\t\t\t} else\r\n\t\t\t\t\t\tsetShowEditSalesModal(true);\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t\tcase ORGANIZATION_TYPES.ZONE: {\r\n\t\t\t\t\tif (selectedRows.length < 1) {\r\n\t\t\t\t\t\tsetMessage(\"Select a Zone\");\r\n\t\t\t\t\t\tsetDisplayInfoModal(true);\r\n\t\t\t\t\t} else\r\n\t\t\t\t\t\tsetShowEditZoneModal(true);\r\n\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t\tcase ORGANIZATION_TYPES.BRANCH: {\r\n\t\t\t\t\tif (selectedRows.length < 1) {\r\n\t\t\t\t\t\tsetMessage(\"Select a Branch Office\");\r\n\t\t\t\t\t\tsetDisplayInfoModal(true);\r\n\t\t\t\t\t} else\r\n\t\t\t\t\t\tsetShowEditBranchModal(true);\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\r\n\tconst onAddSalesOfficeClick = (submitData: any) => {\r\n\t\tdispatch(onAddSalesOffice(submitData, setMessage, setDisplayInfoModal, setShowAddSalesModal));\r\n\t};\r\n\tconst onEditSalesOfficeClick = (submitData: any) => {\r\n\t\tdispatch(onEditSalesOffice(submitData, selectedRows[0].uniqueSalesOfficeId, setMessage, setDisplayInfoModal, setShowEditSalesModal));\r\n\t};\r\n\tconst deleteSalesOfficeClick = () => {\r\n\t\tif (selectedRows.length > 1) {\r\n\t\t\tsetMessage(\"This operation can be performed only one row at a time\");\r\n\t\t\tsetDisplayInfoModal(true);\r\n\t\t} else if (selectedRows.length < 1) {\r\n\t\t\tsetMessage(\"Select a Sales Office\");\r\n\t\t\tsetDisplayInfoModal(true);\r\n\t\t} else if (selectedRows.length === 1) {\r\n\t\t\tsetIsDelete(true);\r\n\t\t\tsalesOfficeData.map((item: any) => {\r\n\t\t\t\tif (selectedRows[0].uniqueSalesOfficeId === item.uniqueSalesOfficeId) {\r\n\t\t\t\t\tif (item.isSalesOfficeInUse === true) {\r\n\t\t\t\t\t\tsetMessage(\"Sales Office is in use, cannot be deleted\");\r\n\t\t\t\t\t\tsetDisplayInfoModal(true);\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tsetMessage(\"Are you sure you want to delete the selected Sales Office?\");\r\n\t\t\t\t\t\tsetDisplayConfirmModal(true);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\treturn null;\r\n\t\t\t});\r\n\t\t}\r\n\t};\r\n\tconst onAddBranchOfficeClick = (submitData: any) => {\r\n\t\tdispatch(onAddBranchOffice(submitData, setMessage, setDisplayInfoModal, setShowAddBranchModal));\r\n\t};\r\n\tconst onEditBranchOfficeClick = (submitData: any) => {\r\n\t\tdispatch(onEditBranchOffice(submitData, selectedRows[0].uniqueBranchOfficeId, setMessage, setDisplayInfoModal, setShowEditBranchModal));\r\n\t};\r\n\tconst deleteBranchOfficeClick = () => {\r\n\t\tif (selectedRows.length > 1) {\r\n\t\t\tsetMessage(\"This operation can be performed only one row at a time\");\r\n\t\t\tsetDisplayInfoModal(true);\r\n\t\t} else if (selectedRows.length < 1) {\r\n\t\t\tsetMessage(\"Select a Branch Office\");\r\n\t\t\tsetDisplayInfoModal(true);\r\n\t\t} else if (selectedRows.length === 1) {\r\n\t\t\tsetIsDelete(true);\r\n\t\t\tbranchofficeData.map((item: any) => {\r\n\t\t\t\tif (selectedRows[0].uniqueBranchOfficeId === item.uniqueBranchOfficeId) {\r\n\t\t\t\t\tsetMessage(\"Are you sure you want to delete the selected Branch Office?\");\r\n\t\t\t\t\tsetDisplayConfirmModal(true);\r\n\t\t\t\t}\r\n\t\t\t\treturn null;\r\n\t\t\t});\r\n\t\t}\r\n\t};\r\n\tconst OnConfirmClick = () => {\r\n\t\tif (isDelete) {\r\n\t\t\tsetDisplayConfirmModal(false);\r\n\t\t\tif (selectedRows.length === 1) {\r\n\t\t\t\tswitch (from) {\r\n\t\t\t\t\tcase ORGANIZATION_TYPES.ZONE: {\r\n\t\t\t\t\t\tconst uniqueBusinessZoneId = selectedRows[0].uniqueBusinessZoneId;\r\n\t\t\t\t\t\tdispatch(\r\n\t\t\t\t\t\t\tdeleteZone({\r\n\t\t\t\t\t\t\t\tuniqueBusinessZoneId,\r\n\t\t\t\t\t\t\t\tsetSelectedRows,\r\n\t\t\t\t\t\t\t\tsetMessage,\r\n\t\t\t\t\t\t\t\tsetDisplayInfoModal,\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t);\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tcase ORGANIZATION_TYPES.SALES: {\r\n\t\t\t\t\t\tconst uniqueSalesOfficeId = selectedRows[0].uniqueSalesOfficeId;\r\n\t\t\t\t\t\tdispatch(\r\n\t\t\t\t\t\t\tdeleteSalesOffice({\r\n\t\t\t\t\t\t\t\tuniqueSalesOfficeId,\r\n\t\t\t\t\t\t\t\tsetSelectedRows,\r\n\t\t\t\t\t\t\t\tsetMessage,\r\n\t\t\t\t\t\t\t\tsetDisplayInfoModal,\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t);\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tcase ORGANIZATION_TYPES.BRANCH: {\r\n\t\t\t\t\t\tconst uniqueBranchOfficeId = selectedRows[0].uniqueBranchOfficeId;\r\n\t\t\t\t\t\tdispatch(\r\n\t\t\t\t\t\t\tdeleteBranchOffice({\r\n\t\t\t\t\t\t\t\tuniqueBranchOfficeId,\r\n\t\t\t\t\t\t\t\tsetSelectedRows,\r\n\t\t\t\t\t\t\t\tsetMessage,\r\n\t\t\t\t\t\t\t\tsetDisplayInfoModal,\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t);\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tsetIsDelete(false);\r\n\t\t}\r\n\t};\r\n\tconst getOrgTableCols = (from) => {\r\n\t\tswitch (from) {\r\n\t\t\tcase ORGANIZATION_TYPES.ZONE: {\r\n\t\t\t\treturn ORG_COLS.ZONE_COLS;\r\n\t\t\t}\r\n\t\t\tcase ORGANIZATION_TYPES.SALES: {\r\n\t\t\t\treturn ORG_COLS.SALES_COLS;\r\n\t\t\t}\r\n\t\t\tcase ORGANIZATION_TYPES.BRANCH: {\r\n\t\t\t\treturn ORG_COLS.BRANCH_COLS;\r\n\t\t\t}\r\n\t\t\tdefault: {\r\n\t\t\t\treturn ORG_COLS.ZONE_COLS;\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n\r\n\tconst getOrgPageDetails = useCallback(() => {\r\n\t\tif (from) {\r\n\t\t\tswitch (from) {\r\n\t\t\t\tcase ORGANIZATION_TYPES.ZONE: {\r\n\t\t\t\t\treturn zonePagination;\r\n\t\t\t\t}\r\n\t\t\t\tcase ORGANIZATION_TYPES.SALES: {\r\n\t\t\t\t\treturn salesOfficePagination;\r\n\t\t\t\t}\r\n\t\t\t\tcase ORGANIZATION_TYPES.BRANCH: {\r\n\t\t\t\t\treturn branchOfficePagination;\r\n\t\t\t\t}\r\n\t\t\t\tdefault: {\r\n\t\t\t\t\treturn zonePagination;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}, [from, zonePagination, salesOfficePagination, branchOfficePagination]);\r\n\r\n\tconst getOrgTableTitle = useCallback(() => {\r\n\t\t\r\n\t\tswitch (from) {\r\n\t\t\tcase ORGANIZATION_TYPES.ZONE: {\r\n\t\t\t\tshowSubtitle.current = \"Zone\";\r\n\t\t\t\treturn \"Zone\";\r\n\t\t\t}\r\n\t\t\tcase ORGANIZATION_TYPES.SALES: {\r\n\t\t\t\tshowSubtitle.current = \"Sales Office\";\r\n\t\t\t\treturn \"Sales Office\";\r\n\t\t\t}\r\n\t\t\tcase ORGANIZATION_TYPES.BRANCH: {\r\n\t\t\t\tshowSubtitle.current = \"Branch Office\";\r\n\t\t\t\treturn \"Branch Office\";\r\n\t\t\t}\r\n\t\t\tdefault: {\r\n\t\t\t\treturn \"Zone\";\r\n\t\t\t}\r\n\t\t}\r\n\t}, [from]);\r\n\r\n\tconst getOrgTableDatakey = useCallback(() => {\r\n\t\tswitch (from) {\r\n\t\t\tcase ORGANIZATION_TYPES.ZONE: {\r\n\t\t\t\treturn \"uniqueBusinessZoneId\";\r\n\t\t\t}\r\n\t\t\tcase ORGANIZATION_TYPES.SALES: {\r\n\t\t\t\treturn \"uniqueSalesOfficeId\";\r\n\t\t\t}\r\n\t\t\tcase ORGANIZATION_TYPES.BRANCH: {\r\n\t\t\t\treturn \"uniqueBranchOfficeId\";\r\n\t\t\t}\r\n\t\t\tdefault: {\r\n\t\t\t\treturn \"Zone\";\r\n\t\t\t}\r\n\t\t}\r\n\t}, [from]);\r\n\r\n\tconst getSettingsItem = useCallback((rowSelected) => {\r\n\t\tswitch (from) {\r\n\t\t\tcase ORGANIZATION_TYPES.SALES: {\r\n\t\t\t\treturn [\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tid: 1,\r\n\t\t\t\t\t\tname: \"Techs\",\r\n\t\t\t\t\t\tonClick: () => {\r\n\t\t\t\t\t\t\tif (rowSelected && rowSelected.length) {\r\n\t\t\t\t\t\t\t\tif (rowSelected.length === 1) {\r\n\t\t\t\t\t\t\t\t\tsetShowTechs(true);\r\n\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\tsetMessage(\"This operation can be performed only one row at a time\");\r\n\t\t\t\t\t\t\t\t\tsetDisplayInfoModal(true);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t},\r\n\t\t\t\t];\r\n\t\t\t}\r\n\t\t}\r\n\t}, [from]);\r\n\r\n\tconst onSelectTechnician = ((salesOfficeSelected, body, setLoader) => {\r\n\t\tdispatch(assignTechnicians(salesOfficeSelected, body, setLoader, setShowTechs, setMessage, setDisplayInfoModal));\r\n\t});\r\n\t\r\n\tconst onReportAllClick = () => {\r\n\t\tsetReportFlag('all');\r\n\t\tsetShowReportModal(true);\r\n\t};\r\n\r\n\tconst onReportHighlightedClick = () => {\r\n\t\tsetReportFlag('highlighted');\r\n\t\tsetShowReportModal(true);\r\n\t};\r\n\r\n\tconst getSelectedZonesId = () => {\r\n let params: any = [];\r\n selectedRows.map(item => {\r\n params.push(item.uniqueBusinessZoneId);\r\n });\r\n return params;\r\n };\r\n\r\n const getSelectedSalesOfficeId = () => {\r\n let params: any = [];\r\n selectedRows.map(item => {\r\n params.push(item.uniqueSalesOfficeId);\r\n });\r\n return params;\r\n };\r\n\r\n const setSelectedBranchOfficeId = () => {\r\n let params: any = [];\r\n selectedRows.map(item => {\r\n params.push(item.uniqueBranchOfficeId);\r\n });\r\n return params;\r\n };\r\n\r\n\tconst onExportAll = () => {\r\n\t\tswitch (from) {\r\n case ORGANIZATION_TYPES.ZONE: {\r\n const reportParameters = {\r\n exportParameters: {\r\n businessZoneId: \"\",\r\n sortColumn: sortField,\r\n\t\t\t\t\t\tsortOrder: sortOrder,\r\n\t\t\t\t\t\tsearch: zoneSearchkeyWord\r\n },\r\n exportType: \"ZONE\"\r\n };\r\n dispatch(onExportReport(reportParameters, \"Zone\"));\r\n break;\r\n }\r\n case ORGANIZATION_TYPES.SALES: {\r\n const reportParameters = {\r\n exportParameters: {\r\n uniqueSalesOfficeId: \"\",\r\n sortColumn: sortField,\r\n\t\t\t\t\t\tsortOrder: sortOrder,\r\n\t\t\t\t\t\tsearch: keyWord\r\n },\r\n exportType: \"Salesoffice Grid Report\"\r\n };\r\n\t\t\t\tdispatch(onExportReport(reportParameters, \"Sales Office\"));\r\n break;\r\n }\r\n case ORGANIZATION_TYPES.BRANCH: {\r\n const reportParameters = {\r\n exportParameters: {\r\n uniqueBranchOfficeId: \"\",\r\n sortColumn: sortField,\r\n\t\t\t\t\t\tsortOrder: sortOrder,\r\n\t\t\t\t\t\tsearch: keyWord\r\n },\r\n exportType: \"Testing Organization Grid Report\"\r\n };\r\n dispatch(onExportReport(reportParameters, \"Branch Office\"));\r\n break;\r\n }\r\n default: {\r\n const reportParameters = {\r\n reportParameters: {\r\n businessZoneId: \"\",\r\n sortColumn: sortField,\r\n\t\t\t\t\t\tsortOrder: sortOrder,\r\n\t\t\t\t\t\tsearch: zoneSearchkeyWord\r\n },\r\n exportType: \"ZONE\"\r\n };\r\n dispatch(onExportReport(reportParameters, \"Zone\"));\r\n break;\r\n }\r\n }\r\n\t};\r\n\r\n\tconst onExportHighlightedClick = () => {\r\n\t\tswitch (from) {\r\n case ORGANIZATION_TYPES.ZONE: {\r\n const reportParameters = {\r\n exportParameters: {\r\n businessZoneId: getSelectedZonesId(),\r\n sortColumn: sortField,\r\n\t\t\t\t\t\tsortOrder: sortOrder,\r\n\t\t\t\t\t\tsearch: zoneSearchkeyWord\r\n },\r\n exportType: \"ZONE\"\r\n };\r\n dispatch(onExportReport(reportParameters, \"Zone\"));\r\n break;\r\n }\r\n case ORGANIZATION_TYPES.SALES: {\r\n const reportParameters = {\r\n exportParameters: {\r\n uniqueSalesOfficeId: getSelectedSalesOfficeId(),\r\n sortColumn: sortField,\r\n\t\t\t\t\t\tsortOrder: sortOrder,\r\n\t\t\t\t\t\tsearch: keyWord\r\n },\r\n exportType: \"Salesoffice Grid Report\"\r\n };\r\n\t\t\t\tdispatch(onExportReport(reportParameters, \"Sales Office\"));\r\n break;\r\n }\r\n case ORGANIZATION_TYPES.BRANCH: {\r\n const reportParameters = {\r\n exportParameters: {\r\n uniqueBranchOfficeId: setSelectedBranchOfficeId(),\r\n sortColumn: sortField,\r\n\t\t\t\t\t\tsortOrder: sortOrder,\r\n\t\t\t\t\t\tsearch: keyWord\r\n },\r\n exportType: \"Testing Organization Grid Report\"\r\n };\r\n dispatch(onExportReport(reportParameters, \"Branch Office\"));\r\n break;\r\n }\r\n default: {\r\n const reportParameters = {\r\n reportParameters: {\r\n businessZoneId: getSelectedZonesId(),\r\n sortColumn: sortField,\r\n\t\t\t\t\t\tsortOrder: sortOrder,\r\n\t\t\t\t\t\tsearch: zoneSearchkeyWord\r\n },\r\n exportType: \"ZONE\"\r\n };\r\n dispatch(onExportReport(reportParameters, \"Zone\"));\r\n break;\r\n }\r\n }\r\n\t};\r\n\r\n\treturn (\r\n\t\t
\r\n\t\t\t
\r\n\t\t\t\t navigate(`/${APP_ROUTES.MANAGE_VIEW}`)} />\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t{showSubtitle.current}\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t{showGrid && (\r\n\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t\tswitch (from) {\r\n\t\t\t\t\t\t\t\t\tcase ORGANIZATION_TYPES.ZONE: {\r\n\t\t\t\t\t\t\t\t\t\tsetShowAddZoneModal(true);\r\n\t\t\t\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\tcase ORGANIZATION_TYPES.BRANCH: {\r\n\t\t\t\t\t\t\t\t\t\tsetShowAddBranchModal(true);\r\n\t\t\t\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\tcase ORGANIZATION_TYPES.SALES: {\r\n\t\t\t\t\t\t\t\t\t\tsetShowAddSalesModal(true);\r\n\t\t\t\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}}\r\n\t\t\t\t\t\t\tonEditClick={onEditIconClick}\r\n\t\t\t\t\t\t\tonDeleteClick={() => {\r\n\t\t\t\t\t\t\t\tswitch (from) {\r\n\t\t\t\t\t\t\t\t\tcase ORGANIZATION_TYPES.ZONE: {\r\n\t\t\t\t\t\t\t\t\t\tdeleteZoneClick();\r\n\t\t\t\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\tcase ORGANIZATION_TYPES.SALES: {\r\n\t\t\t\t\t\t\t\t\t\tdeleteSalesOfficeClick();\r\n\t\t\t\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\tcase ORGANIZATION_TYPES.BRANCH: {\r\n\t\t\t\t\t\t\t\t\t\tdeleteBranchOfficeClick();\r\n\t\t\t\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}}\r\n\t\t\t\t\t\t\tsettingListItems={getSettingsItem(selectedRows)}\r\n\t\t\t\t\t\t\tonDownloadClick={(e) => downloadRef.current?.toggle(e)}\r\n\t\t\t\t\t\t/>\r\n\t\t\t\t\t)}\r\n\t\t\t\t
\r\n\t\t\t
\r\n\r\n\t\t\t{showEditBranchModal && (\r\n\t\t\t\t onEditBranchOfficeClick(data)}\r\n\t\t\t\t/>\r\n\t\t\t)}\r\n\r\n\t\t\t{showAddBranchModal && (\r\n\t\t\t\t onAddBranchOfficeClick(data)}\r\n\t\t\t\t/>\r\n\t\t\t)}\r\n\r\n\t\t\t{showAddZoneModal && onAddZoneClick(data)} />}\r\n\t\t\t{showAddSalesModal && (\r\n\t\t\t\t onAddSalesOfficeClick(data)} />\r\n\t\t\t)}\r\n\t\t\t{showEditSalesModal && (\r\n\t\t\t\t onEditSalesOfficeClick(data)}\r\n\t\t\t\t/>\r\n\t\t\t)}\r\n\t\t\t{showEditZoneModal && (\r\n\t\t\t\t onEditZoneClick(data)}\r\n\t\t\t\t/>\r\n\t\t\t)}\r\n\t\t\t{showTechs && (\r\n\t\t\t\t\r\n\t\t\t)}\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t
    \r\n\t\t\t\t\t
  • Report All
  • \r\n\t\t\t\t\t
  • Report Highlighted
  • \r\n\t\t\t\t\t
  • Export All
  • \r\n\t\t\t\t\t
  • Export Highlighted
  • \r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t\t{showReportModal ? (\r\n\t\t\t\t\r\n\t\t\t) : null}\r\n\t\t
\r\n\t);\r\n};\r\n\r\nexport default Organization;\r\n","import React from 'react';\r\n\r\ninterface Props { };\r\n\r\nconst PageNotFound: React.FC = () => {\r\n return (\r\n
\r\n Page Not Found\r\n
\r\n )\r\n}\r\n\r\nexport default PageNotFound;","export default __webpack_public_path__ + \"static/media/logo.c8fa151c.svg\";","export default __webpack_public_path__ + \"static/media/logo-yammer.1240499b.svg\";","import React, { useEffect, useRef, useState } from \"react\";\r\n\r\nimport { useForm, Controller } from \"react-hook-form\";\r\nimport { Dialog } from \"primereact/dialog\";\r\nimport { Button } from \"primereact/button\";\r\nimport { Dropdown } from \"primereact/dropdown\";\r\nimport { RadioButton } from \"primereact/radiobutton\";\r\nimport { InputText } from \"primereact/inputtext\";\r\nimport { InputTextarea } from \"primereact/inputtextarea\";\r\nimport { classNames } from \"primereact/utils\";\r\nimport { BsExclamationCircleFill } from \"react-icons/bs\";\r\n\r\nimport { useDispatch } from \"react-redux\";\r\nimport { useAppSelector } from \"../../redux/hooks\";\r\nimport { getMailData } from \"redux/pages/Dashboard/UserMenu/sendMailSlice\";\r\n\r\nimport { baseURL } from \"service/HttpService\";\r\nimport { FilePond } from 'react-filepond';\r\nimport \"filepond/dist/filepond.min.css\"\r\n\r\n\r\ninterface Props {\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n onSendMail: (attachmentData: any, sendMailInfo: any, setLoader: any) => void;\r\n}\r\n\r\ntype FormData = {\r\n fromName: string;\r\n subject: string;\r\n message: string;\r\n mail: string;\r\n typeofEnquiry: any;\r\n};\r\n\r\nexport const SendMailUserinfo: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => { },\r\n onSendMail = () => { }\r\n}) => {\r\n\r\n const [isLoaded, setIsLoaded] = useState(false);\r\n const [to, setTo] = useState(\"Yes\");\r\n const [files, setFiles] = useState([]);\r\n const [attachmentInfo, setAttachmentInfo] = useState(\"\");\r\n const [fileSize, setFileSize] = useState(\"\");\r\n const [loader, setLoader] = useState(false);\r\n\r\n const dispatch = useDispatch();\r\n const mailData = useAppSelector((state) => state.sendMail.mailData);\r\n\r\n const enquiryTypes: any = [\r\n { name: 'General Inquiry', key: 'General Inquiry' },\r\n { name: 'Sales', key: 'Sales' },\r\n { name: 'Technical Support', key: 'Technical Support' }\r\n ];\r\n \r\n const sendMailForm: any = useRef();\r\n\r\n const {\r\n control,\r\n handleSubmit,\r\n setValue,\r\n getValues,\r\n register,\r\n unregister,\r\n formState: { errors },\r\n reset\r\n } = useForm({\r\n defaultValues: {\r\n subject: \"\",\r\n message: \"\",\r\n fromName: \"\",\r\n mail: \"\",\r\n typeofEnquiry: enquiryTypes[0].key,\r\n },\r\n mode: \"onBlur\",\r\n reValidateMode: \"onBlur\",\r\n shouldUnregister: true\r\n });\r\n\r\n useEffect(() => {\r\n dispatch(getMailData())\r\n }, [dispatch]);\r\n\r\n useEffect(() => {\r\n if (mailData && mailData.fromName) {\r\n setValue('fromName', mailData.fromName);\r\n setIsLoaded(true);\r\n }\r\n }, [mailData]);\r\n\r\n useEffect(() => {\r\n if (to === 'Yes') {\r\n setValue('mail', '');\r\n reset({ ...getValues(), mail: ''});\r\n unregister([\"mail\"]);\r\n } else {\r\n register(\"mail\", { \r\n required: 'This field is required.', \r\n pattern: {\r\n value: /^$|^\\S+@\\S+\\.\\S+$/,\r\n message: \"Enter a valid Email\",\r\n }\r\n });\r\n }\r\n }, [to]);\r\n\r\n const onprocessfile = (error: any, file: any) => {\r\n if (file) {\r\n setFiles(file);\r\n setAttachmentInfo(JSON.stringify(file.serverId));\r\n let totalBytes = +JSON.stringify(file.fileSize);\r\n if (totalBytes) {\r\n let size = (totalBytes / (1024 ** 2)).toFixed(2);\r\n setFileSize(`${size} MB`);\r\n }\r\n }\r\n }\r\n\r\n const onRemoveFile = () => {\r\n setFileSize(\"\");\r\n setAttachmentInfo(\"\");\r\n }\r\n\r\n const formSubmitHandler = (data: any) => {\r\n sendMailForm.current.requestSubmit();\r\n };\r\n\r\n const onAddFormSubmit = (data: any) => {\r\n setLoader(true);\r\n let body = {};\r\n let info: any = {\r\n fromName: mailData.fromName,\r\n senderEmailId: mailData.senderEmailId,\r\n message: data.message,\r\n subject: data.subject,\r\n };\r\n if (to === 'Yes') {\r\n info.isSender = true;\r\n info.enquiryType = data.typeofEnquiry\r\n } else if (to === 'No') {\r\n info.isSender = false;\r\n if (data.mail) {\r\n info.toOthersMailId = data.mail\r\n }\r\n }\r\n if (attachmentInfo) {\r\n let response = JSON.parse(JSON.parse(attachmentInfo)); \r\n if (response.status === \"done\") {\r\n if (response.data) {\r\n if (response.data.uniqueDirectoryId && response.data.uniqueDirectoryId.length) {\r\n body = {\r\n TempStorageDirectory: response.data.uniqueDirectoryId[0],\r\n };\r\n }\r\n }\r\n }\r\n }\r\n onSendMail(body, info, setLoader);\r\n };\r\n\r\n const getFormErrorMessage = (name) => {\r\n return (\r\n errors[name] && (\r\n \r\n \r\n {errors[name].message}\r\n \r\n )\r\n );\r\n };\r\n\r\n const renderFooter = () => {\r\n return (\r\n <>\r\n setShowModal(false)}\r\n className=\"cancel btn\"\r\n />\r\n {\" \"}\r\n\r\n icon.Users can enter details like Number Pattern for, Number, Name,\r\n Address, Phone, Fax, Email, Contact, Status and Account Expiry Date for\r\n a Customer and. A link View Pattern is provided next to\r\n Customer Number field to view the valid Number Pattern for Customer\r\n Number. United States and Canada will be listed in the Number Pattern\r\n for drop down and Number Pattern for United States will be selected by\r\n default to add a new Customer, enter the customer details and click{\" \"}\r\n Save button.\r\n

\r\n\r\n

\r\n Edit:\r\n

\r\n \r\n

\r\n Edit a customer by selecting the row and clicking the\r\n Edit {\" \"}\r\n\r\n {\" \"}\r\n\r\n icon. The details will be displayed in Edit Customer page. Make the\r\n required changes and click the{\" \"} Save Changes button to save the\r\n changes.\r\n

\r\n\r\n

\r\n Inline Edit:\r\n

\r\n\r\n

\r\n Inline edit option enables user to edit a Customer by clicking the\r\n Edit \r\n\r\n {\" \"}\r\n\r\n icon in the left hand side of the required row. On clicking{\" \"}\r\n Edit{\" \"}\r\n\r\n {\" \"}\r\n\r\n icon, the selected row will be displayed as editable and Edit icon will\r\n be replaced with Save{\" \"}\r\n\r\n {\" \"}\r\n \r\n and Cancel \r\n \r\n \r\n\r\n {\" \"} icon. Do the necessary changes in the required fields and click on{\" \"}\r\n Save {\" \"}\r\n\r\n {\" \"}\r\n\r\n icon. To cancel the Inline edit operation click on\r\n Cancel \r\n \r\n icon.\r\n \r\n

\r\n\r\n

\r\n Delete: \r\n

\r\n \r\n

\r\n Delete a customer by selecting the row and clicking the{\" \"}\r\n Delete{\" \"}\r\n\r\n .\r\n The selected customer will be shown in the list with status Deleted.\r\n The logged-in customer of the current user session cannot be deleted.\r\n

\r\n\r\n

\r\n Download: \r\n \r\n \r\n \r\n

\r\n\r\n

\r\n This option lists Report All, Report Highlighted, Export All, Export\r\n Highlighted and Group Highlighted.\r\n

\r\n\r\n

\r\n Report All: \r\n

\r\n\r\n

\r\n This option is for generating a report with all the records in the data\r\n grid. The report can be saved to PDF, Text, Rich Text or Excel format by\r\n selecting the file format from the list under Save option, and then\r\n clicking OK button after selecting the required options from the Export\r\n Settings window.\r\n

\r\n\r\n

\r\n Report Highlighted: \r\n

\r\n\r\n

\r\n This option is for generating a report with only selected records in the\r\n grid. Select the desired rows by holding down the control key and\r\n clicking on each of the records to be selected. Users can also select a\r\n set of rows using the shift key. The selected records will be\r\n highlighted. Click on the{\" \"}Report Highlighted option in the{\" \"}\r\n Download {\" \"}\r\n\r\n {\" \"}\r\n \r\n menu to generate the report. The report will be created with the highlighted\r\n records only. The report can be saved to PDF, Text, Rich Text or Excel\r\n format by selecting the file format from the list under Save option, and\r\n then clicking OK button after selecting the required options from the\r\n Export Settings window.\r\n

\r\n\r\n

\r\n More: \r\n \r\n

\r\n\r\n

This option lists Sites and Display Settings option.

\r\n\r\n

\r\n Sites: \r\n

\r\n\r\n

\r\n This option allows the user to update Sites to the selected Customer and\r\n also be able to switch between Sites. User can also search Sites for\r\n Update/Switch Sites for the selected Customer. Already linked Sites will\r\n be displayed as checked in the page. If the linked Sites to the selected\r\n Customer have Active Tasks, then the checkbox will be displayed as\r\n disabled otherwise it will be enabled\r\n

\r\n\r\n

\r\n In Order to switch to a Site, select the row corresponding to the\r\n required Site and then click on{\" \"}\r\n Set as Active Site button\r\n

\r\n\r\n

\r\n Display Settings: \r\n

\r\n\r\n

\r\n This option allows the user to change the visibility of the data fields\r\n displayed in the data grid. On selecting this option, all the available\r\n data fields are displayed in a window. Display settings can be modified\r\n by selecting the required fields from the list. The grid settings\r\n modified through this option will not be saved and will be effective\r\n only for the current instance of the data grid.\r\n

\r\n\r\n \r\n );\r\n};\r\n\r\nexport default administrationCustomers;\r\n","import React from \"react\";\r\nimport { Button } from \"primereact/button\";\r\nimport { BsFillPencilFill, BsPaperclip, BsPlusLg, BsTrashFill } from \"react-icons/bs\";\r\nimport { FaCog, FaDownload } from \"react-icons/fa\";\r\n\r\nconst AdministrationSites = () => {\r\n return (\r\n <>\r\n\r\n

Sites

\r\n\r\n

\r\n Super Administrators, Support, Admin and Admin-Tech can add/edit/delete/close/re-open Sites,\r\n whereas Technicians and Branch users can only the view option. All sites will be listed with the Site Name,\r\n Site details, Building Count, System count, Attachments, Site Status etc.\r\n Attachments can be assigned to the selected Site and its associate Buildings can be created using this option.\r\n The list can be sorted by clicking the column headers.\r\n

\r\n\r\n

\r\n Add, Edit, Delete,Set as Active Site, Attachments, Download and More options are provided as icons in the grid,\r\n List and Upload options for Attachments are grouped under {\" \"}\r\n Attachments {\" \"}\r\n\r\n {\" \"}icon.\r\n\r\n Report All, Report Highlighted, Export All, Export Highlighted and Group Highlighted are grouped under {\" \"}\r\n Download {\" \"}\r\n\r\n {\" \"}{\" \"}\r\n\r\n icon whereas Close, Re-Open, Customers,\r\n Buildings and Display Settings are grouped under {\" \"}\r\n More {\" \"}\r\n\r\n {\" \"} icon.\r\n

\r\n\r\n

\r\n Add:{\" \"}\r\n

\r\n\r\n

\r\n A new Site can be created by clicking the {\" \"}\r\n Add {\" \"}\r\n\r\n {\" \"}\r\n\r\n icon. Enter the Site Number, Site Name, Country, State, Time Zone etc. A{\" \"}\r\n View Pattern {\" \"} link is provided next\r\n to the Site Number field to view the valid Number Patterns for Site Number.\r\n If the Number Pattern for United States is selected by the user,\r\n then Site Number will also follow the Number Pattern for United States.\r\n Similarly if the Number Pattern for Canada is selected by the user,\r\n Number Pattern for Canada has to be followed in Site Number also. By default the Site is created in Active status.\r\n Only active sites will be available to users based on their access permissions.\r\n

\r\n\r\n\r\n

\r\n Edit :\r\n

\r\n\r\n

\r\n Edit a site by selecting it and clicking the {\" \"}\r\n Edit {\" \"}\r\n\r\n {' '} icon.\r\n\r\n The status of the selected site can be updated to Active, Blocked or Closed if required.\r\n Click Save Changes button to save the changes.\r\n

\r\n\r\n

\r\n Inline Edit:\r\n

\r\n\r\n

\r\n Inline edit option enables user to edit a Site by clicking the {\" \"}\r\n Edit {\" \"}\r\n {\" \"}\r\n icon in the left hand side of the required row. On clicking {\" \"}\r\n\r\n Edit {\" \"}\r\n\r\n {\" \"}\r\n icon, the selected row will be displayed as editable and Edit icon will be replaced with {\" \"}\r\n\r\n Save {\" \"}\r\n\r\n {\" \"} and {\" \"}\r\n\r\n Cancel {\" \"}\r\n\r\n {\" \"}\r\n\r\n Do the necessary changes in the required fields and click on {\" \"}\r\n Save {\" \"}\r\n\r\n {\" \"}icon.\r\n\r\n To cancel the Inline edit operation click on {\" \"}\r\n Cancel {\" \"}\r\n\r\n {\" \"} icon\r\n

\r\n\r\n

\r\n Delete:{\" \"}\r\n

\r\n\r\n

\r\n Delete a Site by selecting it and clicking the {\" \"}\r\n Delete {\" \"}\r\n\r\n {\" \"} icon.\r\n Technicians and Branch users cannot able to delete a Site.\r\n

\r\n\r\n

\r\n Attachments\r\n

\r\n\r\n

\r\n Super Administrators, Support, Admin and Admin-Tech users can add/edit/delete/view/download\r\n attachments to a site whereas Technicians and Branch users can only the view/download option. {\" \"}\r\n Select the required site and click the\r\n Attachments {\" \"}\r\n\r\n {\" \"}icon.\r\n\r\n The Attachment List and Upload options open up in the drop down menu.\r\n The files that can be attached will be restricted to data files like Word, Excel, pdf, jpg, gif, bmp etc.\r\n

\r\n\r\n

\r\n Attachments: List \r\n

\r\n\r\n

\r\n The File attachments window opens up on selecting {\" \"}\r\n List {\" \"}\r\n option from Attachments {\" \"}\r\n\r\n {\" \"}\r\n icon, showing any files that are already attached to this Site. Attachments can now be added to the selected Site.\r\n

\r\n\r\n

\r\n Add: \r\n

\r\n\r\n

\r\n An attachment can be added by clicking the {\" \"}\r\n Add {\" \"}\r\n\r\n {\" \"} icon.\r\n\r\n

\r\n\r\n

\r\n Upload Attachment page will be displayed on clicking {\" \"}\r\n Add {\" \"}\r\n\r\n {\" \"} icon.\r\n Then Open page to select the File will be displayed on clicking the Attachment field.\r\n Then browse for the required file. User can either select the File and click Open button\r\n or drag and drop the file to the Attachment Field. Enter the description.\r\n The attachment will be uploaded on selecting Upload button.\r\n

\r\n\r\n

\r\n Edit: \r\n

\r\n\r\n

\r\n Edit an Attachment by selecting it and clicking the {\" \"}\r\n Edit {\" \"}\r\n\r\n {' '} icon.\r\n\r\n

\r\n\r\n

\r\n Select an attachment and click {\" \"}\r\n Edit {\" \"}\r\n\r\n {' '}\r\n\r\n icon. The Edit Attachment window will be displayed with the current file name.\r\n The user can replace the selected attachment with a new file if necessary or\r\n just update the Description. If the User needs to replace the File, choose Yes\r\n to the confirmation and select the file by clicking inside the Attachment field\r\n and then dragging and dropping the required file to the Attachment field or select\r\n the file and click Open button.\r\n

\r\n\r\n

\r\n If the user does not need to replace the already uploaded File,\r\n choose No to the confirmation question and modify the description and click Upload button.\r\n

\r\n\r\n\r\n

\r\n Delete: \r\n

\r\n\r\n

\r\n Delete an attachment by selecting the required file\r\n and clicking the{\" \"} Delete {\" \"}\r\n {\" \"} icon.\r\n

\r\n\r\n

\r\n View: \r\n

\r\n\r\n

\r\n The attachment can be viewed by selecting the file and clicking the {\" \"}\r\n View {\" \"}\r\n option from{\" \"} More {\" \"}\r\n\r\n {\" \"} menu.\r\n

\r\n\r\n

\r\n Download: \r\n

\r\n\r\n

\r\n Attachment can be downloaded and saved in the user's computer through{\" \"}\r\n Download {\" \"}\r\n option from Download {\" \"}\r\n\r\n {\" \"} menu.\r\n

\r\n\r\n

\r\n Attachments: Upload \r\n

\r\n\r\n

\r\n Attachments can be added to Sites (single/multiple) without going to the Attachments window,\r\n by clicking {\" \"}Upload {\" \"}\r\n option from {\" \"}Attachments {\" \"}\r\n\r\n {\" \"}\r\n\r\n menu icon. Select the required Sites and Click {\" \"}Upload {\" \"}\r\n option from {\" \"}Attachments {\" \"}\r\n\r\n {\" \"}\r\n\r\n menu icon.Upload Attachment window will be displayed. Then Open page to select the File will be\r\n displayed on clicking the Attachment field. Then browse for the required file.\r\n User can either select the File and click Open button or drag and drop the file to the Attachment Field.\r\n Enter the description. The attachment will be uploaded on selecting Upload button.\r\n

\r\n\r\n

\r\n Download {\" \"}\r\n\r\n {\" \"}{\" \"}\r\n\r\n

\r\n\r\n

\r\n This option lists Report All, Report Highlighted, Export All, Export Highlighted and Group Highlighted.\r\n

\r\n\r\n

\r\n Report All: \r\n

\r\n\r\n

\r\n This option is for generating a report with all the records in the data grid.\r\n .The report can be saved to PDF, Text, Rich Text or Excel format by selecting the\r\n file format from the list under Save option, and then clicking OK button after\r\n selecting the required options from the Export Settings window.\r\n

\r\n\r\n

\r\n Report Highlighted: \r\n

\r\n\r\n

\r\n This option is for generating a report with only selected records in the grid.\r\n Select the desired rows by holding down the control key and clicking on each of the\r\n records to be selected. Users can also select a set of rows using the shift key. The\r\n selected records will be highlighted. Click on the {\" \"}Report Highlighted {\" \"}\r\n option in the{\" \"} Download {\" \"}\r\n\r\n {\" \"}\r\n\r\n menu to generate the report.The report will be created with the highlighted records only. The report can be saved to PDF, Text,\r\n Rich Text or Excel format by selecting the file format from the list under Save option, and then clicking\r\n OK button after selecting the required options from the Export Settings window.\r\n

\r\n\r\n\r\n

\r\n More {\" \"}\r\n\r\n {\" \"}\r\n\r\n

\r\n\r\n

\r\n This option lists Close, Re-Open, Customers, Buildings and Display Settings option.\r\n

\r\n\r\n

\r\n Close:\r\n

\r\n\r\n

\r\n Close a site by selecting the Site from the list and then click the\r\n {\" \"}Close {\" \"}\r\n option from {\" \"}More {\" \"}\r\n\r\n {\" \"}\r\n\r\n menu. If a Site is closed, it will not be possible to work with that Site again until it is re-opened.\r\n

\r\n\r\n

\r\n Reopen:\r\n

\r\n\r\n

\r\n Reopen a closed site by selecting it and then click the {\" \"}Reopen {\" \"}\r\n option from {\" \"} More {\" \"}\r\n\r\n {\" \"} menu.\r\n\r\n

\r\n\r\n

\r\n Customers:\r\n

\r\n\r\n

\r\n This option allows the user to update Customers to the selected Site.\r\n User can also search Customers for updating to the selected Site. Already\r\n linked Customers will be displayed as checked in the page. If the linked\r\n Customer to the selected Site have Active Tasks\r\n with any equipment tested,\r\n then the checkbox will be displayed as disabled otherwise it will be enabled.\r\n

\r\n\r\n

\r\n Buildings:\r\n

\r\n\r\n

\r\n Buildings can be added, edited, deleted by selecting the Site and clicking on the Buildings option from More menu.\r\n

\r\n\r\n

\r\n Display Settings:\r\n

\r\n\r\n

This option allows the user to change the visibility of the data fields\r\n displayed in the data grid. On selecting this option, all the available data\r\n fields are displayed in a window. Display settings can be modified by selecting the\r\n required fields from the list. The grid settings modified through this option will not be\r\n saved and will be effective only for the current instance of the data grid.\r\n

\r\n\r\n\r\n\r\n \r\n )\r\n}\r\nexport default AdministrationSites;","import React from \"react\";\r\nimport { Button } from \"primereact/button\";\r\nimport { BsFillPencilFill, BsPlusLg, BsTrashFill } from \"react-icons/bs\";\r\nimport { FaCog, FaDownload } from \"react-icons/fa\";\r\n\r\nconst UsersDocument = () => {\r\n return (\r\n <>\r\n

Users

\r\n

\r\n Users page list all the Users added to the application. Users of\r\n different User Roles are listed under the corresponding User Role menu.{\" \"}\r\n

\r\n

\r\n Options to view/add/edit/delete Users in different User Roles are\r\n provided in the Users list.\r\n

\r\n

\r\n Options to restore the deleted user, Resetting of Password of the\r\n selected user, Quit Task, Download and Display Settings are also\r\n provided. Users can be converted from one User Role to another by\r\n selecting the Convert to other User Role option. This option is\r\n available for all User Roles other than Super Administrators.\r\n

\r\n

\r\n Users can search for the required User by entering the Login Name/First\r\n Name/Last Name in the Search textbox and clicking the{\" \"}\r\n Search \r\n {\" \"}icon. The User list will\r\n be filtered based on Login Name/ First Name/Last Name entered by the\r\n Administrator and this filtering will be effective only for the current\r\n instance of the page.\r\n

\r\n

\r\n The user roles in Tech Advance+ are as follows:\r\n

\r\n\r\n
Super Administrator
\r\n

\r\n Users with Super Administrator role will have access to all\r\n functionalities of all modules without any access restrictions. They\r\n also have access to field testing tools such as TAP Bridge or TAP App.\r\n When a Super Administrator logs into Tech Advance+ or when the Super\r\n Administrator changes a Site, he/she will be directed to the\r\n Administration module.\r\n

\r\n

\r\n Super Administrators are allowed to add/edit/delete Users of other Roles\r\n namely Support, Admin, Admin-Tech, Technicians and Branch users.\r\n

\r\n

\r\n When the Super Administrator logs in for the first time, Select Site\r\n page will be displayed by default. Search for the required Site and\r\n select the Site. All other options and module will be displayed. Super\r\n Administrator has to ensure that the required Customer is\r\n created/selected and displayed against 'Site' at the top of the screen\r\n before doing any Site specific operations.\r\n

\r\n\r\n
Support
\r\n

\r\n This User Role has almost same features as Super Admin. But they cannot\r\n perform design work on the application. They also have access to field\r\n testing tools such as TAP Bridge or TAP App.\r\n

\r\n

\r\n Users with Support role have the permission to add/edit/delete\r\n Customers, Admin, Admin-Tech, Technicians, Branch users, Sites,\r\n Buildings, Floors. Support User will have access to all basic\r\n functionalities in the other modules.\r\n

\r\n

\r\n When the Support user logs in for the first time, no Site will be\r\n selected by default. Support user will be directed to the Inspection\r\n module and Select Site page will be displayed. The Administrator module,\r\n Inspection module, As Builts module and Documents module will be\r\n displayed. Support user has to ensure that the required Customer is\r\n created/selected and displayed against 'Site' at the top of the screen\r\n before doing any Site specific operations.\r\n

\r\n

\r\n On adding Support users, the user has to enter the appropriate Email of\r\n the new Support user in the Login Name field. The password of the newly\r\n created Support user will be sent to that Email Id. When a Support user\r\n logs into Tech Advance+ or when the Support user changes a Site, he/she\r\n will be directed to the Inspection module.{\" \"}\r\n

\r\n\r\n
Admin
\r\n\r\n

\r\n These Users are mainly for on boarding the Technicians, Customers,\r\n Sites, and Contracts to TAP Web. They are able to\r\n create/review/delete/upload reports. Users with this role should not be\r\n performing inspections. Also they do not have access to field testing\r\n tools such as TAP Bridge or TAP App.\r\n

\r\n\r\n

\r\n Users with Admin role have the permission to add/edit/delete\r\n Customers, Technicians, Branch users, Sites, Buildings, Floors.\r\n

\r\n\r\n

\r\n When the Admin user logs in for the first time, no Site will be\r\n selected by default. Admin user will be directed to the Inspection\r\n module and Select Customer page will be displayed. The Administration\r\n module, Inspection module, As Builts module and Documents module will\r\n be displayed. Admin user has to ensure that the required Customer is\r\n created/selected and displayed against 'Site' at the top of the screen\r\n before doing any Site specific operations.\r\n

\r\n\r\n

\r\n On adding Admin users, the user has to enter the appropriate Email of\r\n the new Admin user in the Login Name field. The password of the newly\r\n created Admin user will be sent to that Email Id. When a Admin user\r\n logs into Tech Advance+ or when the Admin user changes a Site, he/she\r\n will be directed to the Inspection module.\r\n

\r\n\r\n
Admin-Tech
\r\n\r\n

\r\n This User Role is mainly for branches with limited office support. In\r\n such cases, they need Users who can perform the role of Admin and\r\n Tech. Such Users are grouped under Admin-Tech User Role. These Users\r\n onboard the Technicians, Customers, Sites, and Contracts to TAP Web.\r\n They are also able to create/review/delete/upload reports, onboard\r\n Systems, manage Tasks, create and upload Reports. They also have\r\n access to use TAP Bridge and TAP App to facilitate inspections. They\r\n have the ability to upload, manage, and facilitate the use of the\r\n Drawings.\r\n

\r\n

\r\n Users with Admin-Tech role have the permission to add/edit/delete\r\n Customers, Technicians, Branch users, Sites, Buildings, Floors.\r\n

\r\n

\r\n When the Admin-Tech user logs in for the first time, no Site will be\r\n selected by default. Admin-Tech user will be directed to the\r\n Inspection module and Select Site page will be displayed. The\r\n Administrator module, Inspection module, As Builts module and\r\n Documents module will be displayed. Admin-Tech user has to ensure that\r\n the required Site is created/selected and displayed against 'Site' at\r\n the top of the screen before doing any Site specific operations.\r\n

\r\n\r\n

\r\n On adding Admin-Tech users, the user has to enter the appropriate\r\n Email of the new Admin-Tech user in the Login Name field. The password\r\n of the newly created Admin-Tech user will be sent to that Email Id.\r\n When a Admin-Tech user logs into Tech Advance+ or when the\r\n Admin-Tech user changes a site, he/she will be directed to the\r\n Inspection module.\r\n

\r\n\r\n
Technician
\r\n\r\n

\r\n Technicians are the Primary users of TAP. They onboard Systems, manage\r\n Tasks, create and upload Reports. They have the access to use TAP\r\n Bridge and TAP App to facilitate inspections. They have the ability to\r\n upload, manage, and facilitate the use of the Drawings. They have\r\n access to field testing tools such as TAP Bridge or TAP App.\r\n

\r\n\r\n

\r\n Users with Technician role will be able to add Buildings and Floors.\r\n Technicians will have access to all basic functionalities needed for\r\n Inspection in Inspection module.\r\n

\r\n

\r\n When the Technician logs in for the first time, no Site will be\r\n selected by default. Technician will be directed to the Inspection\r\n module and Select Site page will be displayed. The Administrator\r\n module, Inspection module, As Builts module and Documents module will\r\n be displayed. Technician has to ensure that the required Site is\r\n selected and displayed against 'Site' at the top of the screen before\r\n doing any Site specific operations.\r\n

\r\n

\r\n On adding Technician, the user has to enter the appropriate Email of\r\n the new Technician in the Login Name field. The password of the newly\r\n created Technician will be sent to that Email Id. When a technician\r\n logs into Tech Advance+ he/she will be directed to the\r\n Inspection module.\r\n

\r\n\r\n
Branch
\r\n\r\n

\r\n Branch Users are Users who review the activities of the users,\r\n download reports, create Admin reports and manage Drawings.{\" \"}\r\n

\r\n

\r\n Users with Branch role will be able to add Buildings/Floors and access\r\n to all functionalities in As Builts module. In Inspection module\r\n Branch user have only access to reports like Administrative reports,\r\n Download Drafted Report and Download Final Report\r\n

\r\n

\r\n On adding Branch user, the user has to enter the appropriate Email of\r\n the new Branch user in the Login Name field. The password of the newly\r\n created Branch user will be sent to that Email Id. When a Branch user\r\n logs into Tech Advance+ or when the Branch user changes a\r\n site, he/she will be directed to the Inspection module.\r\n

\r\n\r\n

\r\n Based on the user role selected, the data grid of the User page will\r\n be listed accordingly. On selecting the corresponding user role (Super\r\n Administrator, Support, Admin, Admin-Tech, Technicians and Branch\r\n user) listed under Users menu, the users with their corresponding\r\n login name, user role, status, etc. will be listed. The list can be\r\n sorted by clicking the column headers. Super Administrator, Support,\r\n Admin, Admin-Tech can add, edit, delete or restore users through this\r\n option. Technicians and Branch users have no access to this menu.\r\n

\r\n\r\n

\r\n <>\r\n \r\n {\" \"}\r\n Add: {\" \"}\r\n \r\n A new user can be created by clicking the{\" \"}\r\n Add {\" \"}\r\n {\" \"}\r\n icon. The Login name, First Name, Middle Name, Last Name, Account\r\n activation date, Account expiry date and Email have to be entered.\r\n User Role will be displayed as read only by default.\r\n \r\n

\r\n

\r\n (The login name for the Super Administrator is the name provided while\r\n creating the Super Administrator(s). The other user roles like\r\n Support, Admin, Admin-Tech, Technician and Branch user will have to\r\n enter the Email Id as their login name and the password will be sent\r\n to this Email Id. Password has to be changed with respect to the\r\n applied Password Policy for the first Login attempt.)\r\n

\r\n

\r\n Users can be created as Super Administrator, Support, Admin, Admin-Tech,\r\n Technician or Branch users, by selecting the corresponding User Role\r\n from the Users menu.\r\n

\r\n \r\n

\r\n Admin, Admin-Tech, Technicians and Branch users are to be linked to\r\n their respective Sales offices. One or more Sales Offices can be\r\n selected for Admin, Admin-Tech, Technicians and Branch users.\r\n

\r\n

\r\n On adding Admin, Admin-Tech, Technicians and Branch users,'Select\r\n Sales Office' link will be displayed. On clicking to this link, Update\r\n Sales Office page will be displayed listing the Sales Office names\r\n with Save Changes and Cancel buttons. User can select the Sales\r\n Offices that the Admin, Admin-Tech, Technicians and Branch users is\r\n associated with, and click Save Changes button to save the changes.\r\n

\r\n\r\n

\r\n <>\r\n Login Name availability can be checked by entering the Login Name and\r\n then clicking the{\" \"}\r\n Check Availability button next\r\n to Login Name.{\" \"}\r\n Change Password on Next Login{\" \"}\r\n option allows the user to change the password set by the\r\n Administrator, in the Next login of the User. This option will be\r\n selected by default. Enter the details and click Save buttton.\r\n \r\n

\r\n\r\n

\r\n Note: Only emails with the mail domains defined through{\" \"}\r\n \r\n {\" \"}\r\n Manage: Security Settings: Mail Domains\r\n {\" \"}\r\n will be accepted.\r\n

\r\n\r\n

\r\n When adding a user, a random password will be generated and will be\r\n sent with the details of User Name and Password to the specific user's\r\n email account. User can login to Tech Advance+ account with\r\n the User Name and Password received through Email. When logging in,\r\n the User will be prompted to Change Password with respect to the\r\n applied Password Policy for the first Login attempt.\r\n

\r\n

\r\n Note: For the first Login attempt there will be no Site\r\n selected by default. If a Site was selected in the previous login then\r\n that Site will remain as selected for the successive Login attempts\r\n until it's changed. Therefore users have to ensure that the\r\n appropriate Site selected after logging into Tech Advance+{\" \"}\r\n through \"Site: 'Change Site' [Change]\" option provided on the title\r\n bar of Tech Advance+.\r\n

\r\n

\r\n <>\r\n \r\n {\" \"}\r\n Edit: {\" \"}\r\n \r\n Edit a user by selecting the row and clicking the{\" \"}\r\n Edit {\" \"}\r\n\r\n {' '}\r\n\r\n details will be displayed in a new window. On selecting Technician/Admin-tech users, 'Select Sales Office' link will be\r\n displayed. On selecting this link the Update Sales Office page will be\r\n displayed listing the Sales Office names with Save Changes and Cancel\r\n buttons. Administrator can update the User Status. Make the necessary\r\n changes and click the Save Changes button to save the changes. All\r\n details except the login name of the user can be edited. While\r\n editing, the access privileges set earlier can also be set afresh as\r\n while creating a new user.\r\n \r\n

\r\n

\r\n The 'Select Sales Office' link can be used to identify and update the\r\n Sales offices associated to the selected Technician/Admin-tech users.\r\n

\r\n\r\n \r\n Inline Edit:\r\n \r\n

\r\n <>\r\n Inline edit option enables user to edit a User by clicking the{\" \"}\r\n Edit{\" \"}\r\n\r\n {\" \"} icon in the left hand side of the required row. On clicking{\" \"}\r\n Edit{\" \"}\r\n\r\n {\" \"}\r\n\r\n selected row will be displayed as editable and Edit icon will be\r\n replaced with Save{\" \"}\r\n {\" \"}\r\n and Cancel \r\n {\" \"}\r\n icon. Do the necessary changes in the required fields and click on\r\n Save {\" \"}\r\n {\" \"}\r\n icon. To cancel the Inline edit operation click on{\" \"}\r\n Cancel {\" \"}\r\n {\" \"}\r\n icon{\" \"}\r\n \r\n

\r\n

\r\n <>\r\n \r\n Delete: \r\n \r\n Delete a user by selecting the row and clicking the{\" \"}\r\n Delete \r\n {\" \"}\r\n icon.The selected user will be shown in the list with status Deleted.\r\n The logged-in user of this session cannot be deleted.\r\n \r\n

\r\n\r\n \r\n Download \r\n \r\n \r\n

\r\n <>\r\n Following options are available under{\" \"}\r\n Download {\" \"}\r\n {\" \"} menu.\r\n \r\n

\r\n\r\n

\r\n Report All: \r\n

\r\n

\r\n This option is for generating a report with all the records in the data\r\n grid. The report can be saved to PDF, Text, Rich Text or Excel format by\r\n selecting the file format from the list under Save option, and then\r\n clicking OK button after selecting the required options from the Export\r\n Settings window.\r\n

\r\n

\r\n Report Highlighted: \r\n

\r\n

\r\n <>\r\n This option is for generating a report with only selected records in the\r\n grid. Select the desired rows by holding down the control key and\r\n clicking on each of the records to be selected. Users can also select a\r\n set of rows using the shift key. The selected records will be\r\n highlighted. Click on the{\" \"}\r\n Report Highlighted option in the{\" \"}\r\n Download {\" \"}\r\n {\" \"}\r\n menu to generate the report. The report will be created with the\r\n highlighted records only. The report can be saved to PDF, Text, Rich\r\n Text or Excel format by selecting the file format from the list under\r\n Save option, and then clicking OK button after selecting the required\r\n options from the Export Settings window.\r\n \r\n

\r\n

\r\n Export All: \r\n

\r\n

\r\n <>\r\n This option is for exporting all the records from the Data grid to a\r\n Text or Excel file. Click on the{\" \"}\r\n Export All option in the\r\n Download {\" \"}\r\n {\" \"}\r\n Select the Save location and the File Format, enter the File Name, and\r\n click Save button.\r\n \r\n

\r\n

\r\n Export Highlighted: \r\n

\r\n

\r\n <>\r\n This option is for exporting selected records only from the Data grid to\r\n a Text or Excel file. Select the desired rows by holding down the\r\n control key and clicking on each of the records to be selected. Users\r\n can also select a set of rows using the shift key. The selected records\r\n will be highlighted. Click on the{\" \"}\r\n Export Highlighted option in the\r\n Download {\" \"}\r\n {\" \"}\r\n Select the Save location and the File Format, enter the File Name, and\r\n click Save button.\r\n \r\n

\r\n

\r\n Group Highlighted:\r\n

\r\n

\r\n <>\r\n This option is to group together the highlighted or selected rows.\r\n Select the rows to be grouped by holding down the control key and\r\n clicking on each of the records to be selected. Then click on the{\" \"}\r\n Group Highlighted option in the{\" \"}\r\n Download {\" \"}\r\n {\" \"}\r\n highlighted rows will be grouped together, and will be moved to the top\r\n of the grid.\r\n \r\n

\r\n

\r\n <>\r\n \r\n More \r\n {\" \"}\r\n \r\n \r\n

\r\n

\r\n For Super Administrators, Support, Admin and Admin-Tech{\" \"}\r\n More {\" \"}\r\n {\" \"}\r\n menu lists Restore, Reset Password, Display Settings, Quit Task, Search\r\n and Convert to other user options. Branch and Technicians have no access\r\n to this menu.\r\n

\r\n\r\n

\r\n Restore: \r\n

\r\n

\r\n <>\r\n Restore a user by selecting a deleted user and clicking the{\" \"}\r\n Restore option from{\" \"}\r\n More {\" \"}\r\n {\" \"}menu. The selected user will be shown in the list with status Active.\r\n \r\n

\r\n

\r\n Reset Password: \r\n

\r\n

\r\n <>\r\n This option allows the users to reset their password. Reset the\r\n password of a user by selecting a user and clicking the{\" \"}\r\n Reset Password option from{\" \"}\r\n More {\" \"}\r\n\r\n {\" \"}\r\n\r\n menu. On selecting Reset Password menu, a random password will be\r\n generated and will be sent with the details of User Name and Password\r\n to the specific user's email account. User can login to the Tech\r\n Advance+ account with the User Name and Password received\r\n through Email. When logging in, the User will be prompted to Change\r\n Password with respect to the applied Password Policy for the first\r\n Login attempt.\r\n \r\n

\r\n

\r\n Display Settings: \r\n

\r\n

\r\n This option allows the user to change the visibility of the data\r\n fields displayed in the data grid. On selecting this option, all the\r\n available data fields are displayed in a window. Display settings can\r\n be modified by selecting the required fields from the list. The grid\r\n settings modified through this option will not be saved and will be\r\n effective only for the current instance of the data grid.\r\n

\r\n

\r\n Search: \r\n

\r\n

\r\n Through this option, the records can be filtered based on a specified\r\n criterion. The filtering will be effective only for the current\r\n instance of the page. By default, all users will be listed.\r\n

\r\n

\r\n Quit Task \r\n

\r\n

\r\n This option is used to quit the task of a technician who joined in the\r\n TAP app. This option is not available for Admin user and Branch users.\r\n

\r\n

\r\n Convert to other User Role \r\n

\r\n

\r\n This option is mainly for the converting Users in one User Role to\r\n another. User Roles in the conversion page will be based on the\r\n privilege of the logged in User.\r\n

\r\n

\r\n Super Administrator can do all User Role conversions excluding Super\r\n Administrator role. Support users can convert User Roles such as\r\n Admin, Admin-Tech,Tech and Branch. Admin/Admin-Tech users can convert\r\n only Tech and Branch User Roles. Technicians/Branch users not able to\r\n do any of the User Role conversions.\r\n

\r\n \r\n );\r\n};\r\n\r\nexport default UsersDocument;\r\n","import { Button } from \"primereact/button\";\r\nimport React from \"react\";\r\n\r\nimport { BsFillPencilFill, BsPaperclip, BsPlusLg, BsTrashFill } from \"react-icons/bs\";\r\nimport { FaCog, FaDownload } from \"react-icons/fa\";\r\n\r\nconst AdministrationBuildingsDocument = () => {\r\n return (\r\n <>\r\n

Buildings

\r\n\r\n

\r\n This option allows Super Administrators, Support, Admin, Admin-Tech,\r\n Technicians and Branch users to add/edit/delete Buildings. Attachments\r\n can be assigned to the selected Buildings by using this option.\r\n

\r\n\r\n

\r\n All buildings will be listed with their Site Number, Building Name,\r\n building details, attachments common area etc. Users can add/edit/delete Buildings.\r\n

\r\n\r\n

\r\n Add:\r\n

\r\n\r\n

\r\n Buildings can be created by clicking the\r\n Add \r\n {\" \"}\r\n icon. Select the Site from the list to which the building is to be added.\r\n Enter Site Number, Building Name, Building Code, Status and select Building\r\n Photo if required. Click on Save button to add a new building.\r\n

\r\n\r\n

\r\n Edit: \r\n

\r\n\r\n

\r\n The selected Building details can be edited by clicking on the\r\n Edit \r\n\r\n {\" \"}\r\n icon.\r\n

\r\n\r\n

\r\n Inline Edit: \r\n

\r\n\r\n

\r\n Inline edit option enables user to edit a Building by clicking the\r\n Edit \r\n\r\n {\" \"}\r\n\r\n icon in the left hand side of the required row. On clicking\r\n Edit \r\n\r\n {\" \"}\r\n\r\n icon, the selected row will be displayed as editable and Edit icon will be replaced with\r\n Save \r\n\r\n {\" \"}\r\n and Cancel \r\n\r\n {\" \"}\r\n\r\n icon. Do the necessary changes in the required fields and click on\r\n Save \r\n\r\n {\" \"}\r\n\r\n icon. To cancel the Inline edit operation click on\r\n Cancel \r\n\r\n {\" \"}icon.\r\n\r\n

\r\n\r\n\r\n\r\n

\r\n Delete:\r\n

\r\n\r\n

\r\n A Building can be deleted by selecting it and then clicking on the\r\n Delete \r\n\r\n {\" \"}\r\n\r\n icon. It is not possible to delete a building having floors added to it.\r\n

\r\n\r\n\r\n

\r\n Attachments:\r\n

\r\n\r\n\r\n

\r\n Super Administrators, Support, Admin, Admin-Tech, Technicians and\r\n Branch users can add/edit/delete/view/download attachments to a\r\n building using this option. Select the required Building and click the\r\n Attachments menu. The Attachment List and Upload options open up in the\r\n drop down menu. The files that can be attached will be restricted to data\r\n files like Word, Excel, pdf, jpg, gif, bmp etc.\r\n

\r\n\r\n

Attachments: List

\r\n\r\n

\r\n The File attachments window opens up on selecting List option from\r\n Attachments \r\n\r\n {\" \"}\r\n\r\n icon, showing any files that are already attached to this Building.\r\n Attachments can now be added to the selected Building.\r\n

\r\n\r\n

\r\n Add:\r\n

\r\n\r\n

\r\n An attachment can be added by clicking the\r\n Add \r\n\r\n {\" \"}\r\n\r\n icon. Browse for the required file. The attachment will be uploaded on\r\n selecting Upload button.Upload Attachment page will be displayed on\r\n clicking Add icon. Then Open page to select the File will be displayed on\r\n clicking the Attachment field. Then browse for the required file. User can\r\n either select the File and click Open button or drag and drop the file to the\r\n Attachment Field. Enter the description. The attachment will be uploaded on selecting Upload button.\r\n

\r\n\r\n

\r\n Edit:\r\n

\r\n\r\n

\r\n Edit an Attachment by selecting it and clicking the\r\n Edit \r\n\r\n {\" \"}\r\n icon.\r\n

\r\n\r\n

Select an attachment and click\r\n Edit \r\n\r\n {\" \"}\r\n icon.\r\n The Edit Attachment window will be displayed with the current file\r\n name. The user can replace the selected attachment with a new file if\r\n necessary or just update the Description. If the User needs to replace\r\n the File, choose Yes to the confirmation and select the file by clicking\r\n inside the Attachment field and then dragging and dropping the required\r\n file to the Attachment field or select the file and click Open button.\r\n

\r\n\r\n

If the user does not need to replace the already uploaded File, choose\r\n No to the confirmation question and modify the description and click Upload button\r\n

\r\n\r\n

\r\n Delete:\r\n

\r\n\r\n

\r\n Delete an attachment by selecting the required file and clicking the\r\n Delete \r\n\r\n {\" \"}\r\n\r\n icon.\r\n

\r\n\r\n

\r\n View:

\r\n

\r\n The attachment can be viewed by selecting the file and clicking the\r\n View option from\r\n More \r\n\r\n\r\n {\" \"} menu.\r\n

\r\n\r\n

\r\n Download:\r\n

\r\n\r\n

\r\n Attachment can be downloaded and saved in the user's computer through\r\n Download \r\n option from Download \r\n\r\n\r\n {\" \"}\r\n menu.\r\n

\r\n\r\n\r\n

Attachments: Upload

\r\n\r\n

\r\n Attachments can be added to Buildings (single/multiple) without going to the Attachments\r\n window, by clicking Upload option from\r\n Attachments \r\n\r\n {\" \"}\r\n\r\n icon. Select the required Buildings and Click Upload \r\n option from Attachments \r\n\r\n {\" \"}\r\n\r\n icon, Upload Attachment window will be displayed. Select icking the Browse button.\r\n Then Open page to select the File will be displayed on clicking the Attachment field.\r\n Then browse for the required file. User can either select the File and click Open button\r\n or drag and drop the file to the Attachment Field. Enter the description.\r\n The attachment will be uploaded on selecting Upload button.\r\n

\r\n\r\n

\r\n Download \r\n\r\n \r\n\r\n

\r\n\r\n

\r\n This option lists Report All, Report Highlighted, Export All, Export Highlighted and Group Highlighted.\r\n

\r\n\r\n

\r\n Report All:\r\n

\r\n\r\n

\r\n This option is for generating a report with all the records in the data grid.\r\n The report can be saved to PDF, Text, Rich Text or Excel format by selecting the\r\n file format from the list under Save option, and then clicking OK button after selecting\r\n the required options from the Export Settings window.\r\n

\r\n\r\n

\r\n Report Highlighted: \r\n

\r\n\r\n

\r\n This option is for generating a report with only selected records in the grid.\r\n Select the desired rows by holding down the control key and clicking on\r\n each of the records to be selected. Users can also select a set of rows using\r\n the shift key. The selected records will be highlighted. Click on the\r\n Report Highlighted option in the\r\n Download \r\n\r\n {\" \"}\r\n\r\n menu to generate the report. The report will be created with the highlighted records only.\r\n The report can be saved to PDF, Text, Rich Text or Excel format by selecting the file format\r\n from the list under Save option, and then clicking OK button after selecting the required options\r\n from the Export Settings window.\r\n

\r\n\r\n

\r\n More \r\n {\" \"}\r\n

\r\n\r\n

\r\n This option list Floors and Display Settings option.\r\n

\r\n\r\n

\r\n Floors

\r\n

\r\n Floors can be added, edited or deleted by selecting the required building\r\n and clicking the Floors option from\r\n More \r\n\r\n {\" \"}\r\n\r\n menu. See\r\n Floors \r\n for more details\r\n

\r\n\r\n

\r\n Display Settings\r\n

\r\n

\r\n This option allows the user to change the visibility of the data fields displayed\r\n in the data grid. On selecting this option, all the available data fields are\r\n displayed in a window. Display settings can be modified by selecting the\r\n required fields from the list. The grid settings modified through this option\r\n will not be saved and will be effective only for the current instance of the data grid.\r\n

\r\n \r\n );\r\n}\r\n\r\nexport default AdministrationBuildingsDocument;","import { Button } from \"primereact/button\";\r\nimport React from \"react\";\r\n\r\nimport { BsFillPencilFill, BsPaperclip, BsPlusLg, BsTrashFill } from \"react-icons/bs\";\r\nimport { FaCog, FaDownload } from \"react-icons/fa\";\r\n\r\nconst AdministrationFloorsDocument = () => {\r\n return (\r\n <>\r\n

Floors

\r\n\r\n

\r\n This option allows Super Administrators, Support, Admin, Admin-Tech, Technicians and \r\n Branch users to add/edit/delete Floors. Attachments can be assigned to the selected \r\n Floors by using this option.\r\n

\r\n

\r\n All floors will be listed with their Site Number, Building name, Floor name and \r\n other related details. The list can be sorted by clicking the column headers. \r\n

\r\n

\r\n Add:\r\n

\r\n

\r\n Floors can be added by clicking the \r\n Add \r\n {\" \"}icon.Floors can be added by clicking the Add icon. Select the Site from\r\n the list, and then select the building to which floors are to be added. Enter the \r\n floor name and additional data fields if any, then click Add Save button to add new \r\n floor.\r\n

\r\n\r\n

\r\n Edit:\r\n

\r\n

\r\n A Floor can be edited by selecting it and then by clicking the \r\n Edit {\" \"}\r\n {\" \"}icon. \r\n

\r\n\r\n

\r\n Inline Edit:\r\n

\r\n\r\n

\r\n Inline edit option enables user to edit a Floor by clicking the \r\n Edit {\" \"}\r\n {\" \"} icon in the left hand side of the required row. On clicking \r\n Edit {\" \"} \r\n {\" \"} icon, the selected row will be displayed as editable and Edit icon will be replaced with \r\n Save {\" \"}\r\n \r\n and Cancel {\"\"}\r\n {\" \"}icon. Do the necessary changes in the required fields and click on \r\n Save {\" \"}\r\n {\" \"}icon. To cancel the Inline edit operation click on \r\n Cancel {\" \"}\r\n {\" \"} icon. \r\n

\r\n

\r\n Delete:\r\n

\r\n

\r\n Floors can be deleted by selecting it and then by clicking the \r\n Delete {\" \"}\r\n {\" \"} icon. It is not possible to delete a floor having Drawings added to it.\r\n

\r\n

\r\n Attachments\r\n

\r\n

\r\n Super Administrators, Support, Admin, Admin-Tech, Technicians and Branch users can \r\n add/edit/delete/view/download attachments to a floor using this option. Select the \r\n required floor and click the Attachments menu. The Attachment List and Upload \r\n options open up in the drop down menu. The files that can be attached will be \r\n restricted to data files like Word, Excel, pdf, jpg, gif, bmp etc. \r\n

\r\n

\r\n Attachments: List \r\n

\r\n

\r\n The File attachments window opens up on selecting \r\n List option from Attachments {\" \"}\r\n {\" \"}icon, showing any files that are already attached to this Floor. \r\n Attachments can now be added to the selected Floor. \r\n

\r\n

\r\n Add: \r\n

\r\n

\r\n An attachment can be added by clicking the Add {\" \"}\r\n {\" \"}icon. Upload Attachment page will be displayed on clicking Add icon. \r\n Then Open page to select the File will be displayed on clicking the Attachment field.\r\n Then browse for the required file. User can either select the File and click Open \r\n button or drag and drop the file to the Attachment Field. Enter the description. \r\n The attachment will be uploaded on selecting Upload button. \r\n

\r\n\r\n

\r\n Edit: \r\n

\r\n\r\n

\r\n Edit an Attachment by selecting it and clicking the \r\n Edit \r\n {\" \"}icon. \r\n

\r\n\r\n

\r\n Select an attachment and click Edit \r\n {' '}icon. The Edit Attachment window will be displayed with the current \r\n file name. The user can replace the selected attachment with a new file if necessary \r\n or just update the Description. If the User needs to replace the File, choose Yes to \r\n the confirmation and select the file by clicking inside the Attachment field and \r\n then dragging and dropping the required file to the Attachment field or select the \r\n file and click Open button.\r\n

\r\n

\r\n If the user does not need to replace the already uploaded File, \r\n choose No to the confirmation question and modify the description and \r\n click Upload button\r\n

\r\n\r\n

\r\n Delete: \r\n

\r\n

\r\n Delete an attachment by selecting the required file and clicking the \r\n Delete {\" \"}\r\n \r\n {\" \"}icon. \r\n

\r\n\r\n

\r\n View: \r\n

\r\n

\r\n The attachment can be viewed by selecting the file and clicking the \r\n View option from \r\n More {\" \"}\r\n {\" \"}menu. \r\n

\r\n\r\n

\r\n Download: \r\n

\r\n

\r\n Attachment can be downloaded and saved in the user's computer through\r\n Download option from \r\n Download {\" \"}\r\n {\" \"}menu. \r\n

\r\n\r\n

\r\n Attachments: Upload\r\n

\r\n

\r\n Attachments can be added to Floors (single/multiple) without going to the Attachments\r\n window, by clicking Upload option from \r\n Attachments {\" \"} \r\n {\" \"}icon. Select the required Floors and Click on \r\n Upload option from \r\n Attachments {\"\"}\r\n {\" \"} icon, Upload Attachment window will be displayed.\r\n Then Open page to select the File will be displayed on clicking the Attachment field.\r\n Then browse for the required file. User can either select the File and click Open \r\n button or drag and drop the file to the Attachment Field. Enter the description. \r\n The attachment will be uploaded on selecting Upload button.\r\n

\r\n\r\n

\r\n Download {\" \"}\r\n {\" \"}\r\n

\r\n

\r\n This option lists Report All, Report Highlighted, Export All, Export Highlighted \r\n and Group Highlighted. \r\n

\r\n\r\n

\r\n Report All: \r\n

\r\n\r\n

\r\n This option is for generating a report with all the records in the data grid. \r\n The report can be saved to PDF, Text, Rich Text or Excel format by selecting the \r\n file format from the list under Save option, and then clicking OK button after \r\n selecting the required options from the Export Settings window.\r\n

\r\n\r\n

\r\n Report Highlighted: \r\n

\r\n

\r\n This option is for generating a report with only selected records in the grid. \r\n Select the desired rows by holding down the control key and clicking on each of \r\n the records to be selected. Users can also select a set of rows using the shift key. \r\n The selected records will be highlighted. Click on the \r\n Report Highlighted option in the \r\n Download {\" \"}\r\n {\" \"}menu to generate the report. The report will be created with the \r\n highlighted records only. The report can be saved to PDF, Text, Rich Text or Excel \r\n format by selecting the file format from the list under Save option, and then \r\n clicking OK button after selecting the required options from the Export Settings \r\n window.\r\n

\r\n\r\n\r\n\r\n

\r\n More {\" \"}\r\n {\" \"}\r\n

\r\n\r\n

\r\n This option list only Display Settings option.\r\n

\r\n\r\n

\r\n Display Settings\r\n

\r\n

\r\n This option allows the user to change the visibility of the data fields displayed \r\n in the data grid. On selecting this option, all the available data fields are \r\n displayed in a window. Display settings can be modified by selecting the required \r\n fields from the list. The grid settings modified through this option will not be \r\n saved and will be effective only for the current instance of the data grid. \r\n

\r\n \r\n );\r\n}\r\n\r\nexport default AdministrationFloorsDocument;","import React from \"react\";\r\n\r\nconst AdministrationSearchDocument = () => {\r\n return (\r\n <>\r\n

Search

\r\n\r\n

\r\n Search option enables Global Search of Sites, Contracts, \r\n Systems and Inspection Tasks. The different menu options that are \r\n available under Search menu are Sites, Contracts, Systems, Inspection \r\n Tasks, Notification Number and Search User.\r\n

\r\n \r\n );\r\n}\r\n\r\nexport default AdministrationSearchDocument;","import { Button } from \"primereact/button\";\r\nimport React from \"react\";\r\nconst AdministrationSearchContractDocument = () => {\r\n return (\r\n <>\r\n

Search - Contract

\r\n \r\n

\r\n Contract Search option allows the user to search for the required Contract. \r\n User can type minimum three characters of the Contract Name / Contract \r\n Number in the text box provided and select the required Contract from the list displayed. Click on \r\n Search {\" \"}\r\n {\" \"} icon. The page will be redirected to \r\n Inspection: Contracts \r\n page where the selected Contract will be listed.\r\n

\r\n \r\n );\r\n}\r\n\r\nexport default AdministrationSearchContractDocument;","import { Button } from \"primereact/button\";\r\n\r\nconst AdministrationSearchCustomerDocument = () => {\r\n return (\r\n <>\r\n

Search - Customer

\r\n \r\n

\r\n Customer Search option allows the user to search \r\n for the required Customer. User can type minimum three \r\n characters of the Customer Name / Customer Number in the \r\n text box provided and select the required Contract from the \r\n list displayed. Click on Search {\" \"}\r\n {\" \"}\r\n icon. The page will be redirected to Inspection: Contracts \r\n page where the selected Customer will be listed.\r\n

\r\n \r\n );\r\n}\r\n\r\nexport default AdministrationSearchCustomerDocument;","import { Button } from \"primereact/button\"\r\n\r\nconst AdministrationSearchInspectionTaskDocument = () => {\r\n return (\r\n <>\r\n

Search - Inspection Task

\r\n

\r\n Inspection Tasks Search option allows the user to search for \r\n Inspection Tasks. User can type minimum three characters of the \r\n Inspection Task Name in the text box provided and select the required \r\n Inspection Task from the list displayed. Click on \r\n Search {\" \"}\r\n {\" \"}icon. The page will be redirected to \r\n Inspection: Inspection Tasks \r\n where the selected Inspection Task will be listed.\r\n

\r\n \r\n );\r\n}\r\n\r\nexport default AdministrationSearchInspectionTaskDocument ;","import { Button } from \"primereact/button\";\r\n\r\nconst AdministrationSearchNotificationNumberDocument = () => {\r\n return (\r\n <>\r\n

Search - Notification Number

\r\n

\r\n Notification Number Search option allows the user to search \r\n Inspection Tasks with Notification Number. User can type \r\n minimum three characters of the Notification Number in the text \r\n box provided and select the required Notification Number from the list displayed. \r\n Click on Search {\" \"}\r\n {\" \"}icon. The page will be redirected to \r\n Inspection: Inspection Tasks where the selected Inspection Task with selected \r\n Notification Number will be listed.\r\n

\r\n \r\n );\r\n}\r\n\r\nexport default AdministrationSearchNotificationNumberDocument ;","import { Button } from \"primereact/button\";\r\n\r\nconst AdministrationSearchSiteDocument = () => {\r\n return (\r\n <>\r\n

Search - Site

\r\n

\r\n Site Search option allows the user to search for the required Site. \r\n User can type minimum three characters of the Site Name / Site Number \r\n in the text box provided and select the required Site from the list displayed. \r\n Click on Search {\" \"}\r\n {\" \"}icon. The page will be redirected to \r\n Administration: Sites page where the selected Site will be listed.\r\n

\r\n \r\n );\r\n}\r\n\r\nexport default AdministrationSearchSiteDocument ;","import { Button } from \"primereact/button\";\r\n\r\nconst AdministrationSearchSystemDocument = () => {\r\n return (\r\n <>\r\n

Search - System

\r\n

\r\n System Search option allows the user to search for the required System. \r\n User can type minimum three characters of the System Name in the text \r\n box provided and select the required System from the list displayed. Click on \r\n Search {\" \"}\r\n {\" \"}icon. The page will be redirected to \r\n Inspection: Systems page where the selected System will be listed.\r\n

\r\n \r\n );\r\n}\r\n\r\nexport default AdministrationSearchSystemDocument ;","import { Button } from \"primereact/button\";\r\n\r\nconst AdministrationSearchUserDocument = () => {\r\n return (\r\n <>\r\n

Search - User

\r\n\r\n

\r\n User Search option allows the user to search for User. \r\n User can type minimum three characters of the Users Name in \r\n the text box provided and select the required User from the list \r\n displayed. Click on \r\n Search {\" \"}\r\n \r\n {\" \"}icon. \r\n The page will be redirected to Administration: Users page where the \r\n selected User will be listed in the corresponding User Role menu.\r\n

\r\n\r\n \r\n );\r\n}\r\n\r\nexport default AdministrationSearchUserDocument ;","import React from \"react\";\r\nimport { Button } from \"primereact/button\";\r\nimport { MdOutlineBrightness5, MdOutlineListAlt } from \"react-icons/md\";\r\n\r\nconst InspectionDocuments = () => {\r\n return (\r\n <>\r\n

\r\n Overview of Inspection Module\r\n

\r\n\r\n

\r\n Tech Advance+ \r\n Inspection module facilitates the management of Fire and Life Safety inspections by\r\n providing organized maintenance of Contracts and documentation of the Fire Protection Systems\r\n with all System, Equipment Group, Module, and Device information,\r\n with related floor plan drawings and any other available documents.\r\n Inspection Tasks can be created and managed through the system,\r\n and all inspection data can be stored in the System.\r\n

\r\n\r\n

\r\n The Inspection module functions are grouped under the menu options -\r\n Inspection Tasks, Contracts, Systems, Inspection Reports and Search.\r\n All settings options are grouped under\r\n Manage \r\n \r\n {\" \"} icon in the top right corner of the application.Inspection related functions\r\n such as creating Contracts, Systems and Inspection Tasks, and viewing and\r\n editing Inspection data are done through the menu options -\r\n Contracts, Systems and Inspection Tasks respectively.\r\n Inspection Reports options are for generating inspection reports and uploading them for sites,\r\n where as Administrative Reports are for Administrators, to view the User Activity Reports,\r\n Contracts, Tasks etc.are provided in the\r\n Reports \r\n \r\n {\" \"} icon in the top right corner of the application.\r\n Search option provides a Global Search of Sites, Contracts, Systems, Inspection Tasks and Notification Number.\r\n

\r\n\r\n

\r\n The accessibility of the options in this module is restricted based on the user role.\r\n The Super Administrator can access all the options in the module. Support users are \r\n restricted to all the options, still have access to most of the settings in the module.\r\n Admin-Tech, Admin and Technicians can access only Inspection related menu options,\r\n Reports and the download options in the Plugins. Branch Users only have access to view \r\n Inspection related menu, Reports and download options.\r\n

\r\n\r\n

\r\n Administrators and Technicians can select the required Sites and setup the system for \r\n conducting the inspections and publishing the reports. Users can select/change a Site \r\n by clicking the link provided in the Site Name, which on the top - right corner of the \r\n screen of Tech Advance+. On clicking this link, Select Site page will be \r\n displayed with a drop down listing the Country, Zone, Select Customer and a list box to \r\n select the Site. User can type minimum three characters of the required Site; the Site\r\n Name will be listed in the drop down and on selecting the Site Name, User can be changed\r\n to the selected Site.\r\n

\r\n\r\n

\r\n When a user logs in for the first time, no Site will be selected by default. Once a user\r\n has logged in and selected a Site through the link \"Selected Site [Change]\" provided on \r\n the top - right corner of the screen. For all subsequent logins, the last selected Site will\r\n be selected by default. Users have to ensure that the required Site is displayed against the\r\n Selected Site at the top of the screen before doing any Site specific operations like Adding\r\n Customers, Buildings, Floors, Inspection Tasks, Contracts, Systems, etc.\r\n

\r\n\r\n \r\n );\r\n}\r\n\r\nexport default InspectionDocuments;","import React from 'react';\r\nimport { Button } from 'primereact/button';\r\nimport { BsPlusLg, BsFillPencilFill, BsTrashFill, BsPaperclip, BsSearch, BsSubtract, BsBoxArrowInDownRight, BsZoomIn } from 'react-icons/bs';\r\nimport { FaChevronDown, FaCog, FaDownload, FaSave, FaBackward } from \"react-icons/fa\";\r\nimport { BiUnlink } from \"react-icons/bi\";\r\nimport { GiArrowCursor } from \"react-icons/gi\";\r\nimport { RiAlarmWarningLine } from \"react-icons/ri\";\r\n\r\nconst InspectionTasksDocument = () => {\r\n return (\r\n <>\r\n

Inspection Tasks

\r\n

\r\n This option is used to create and manage Inspection Tasks under a Contract for a Customer.\r\n Inspection Tasks are created for managing the inspection process at a customer. For example,\r\n an Inspection Task can be created for a System for conducting the Quarterly Inspection for\r\n the First Quarter of a year. If there are multiple systems, one Inspection Task should be\r\n created for each System.\r\n

\r\n\r\n

\r\n On selecting Inspection Tasks menu, Inspection Tasks page with Customer and Contract drop\r\n downs will be displayed listing all the Inspection Task of the selected Site, Customer and\r\n Contract in the Right hand side.Left Hand Side of the Inspection Tasks page is provided with\r\n the following options:\r\n

\r\n\r\n

Search Site: User can search for another Site using this option. Selected Site will be\r\n displayed below the Search text box after making all the necessary changes.\r\n

\r\n\r\n

All Customers and Contracts mapped to the selected Site will be listed below.

\r\n\r\n

\r\n Filter Customer: This option to enable or disable\r\n the filtering of Customers for the selected Site. If the Filter\r\n Customer option is enabled, the text box besides the option becomes Filter Customer.\r\n User can type in Customer name and filter the Customer. This will be useful if the selected\r\n Site has multiple Customers.\r\n If the Filter Customer option is turned off / Filter\r\n Contract option is enabled, the text box besides the option becomes Filter Contract.\r\n User can type in Contract name to filter the Contracts listed for the selected Customer.\r\n This will be useful if the selected Customer has multiple Contracts.\r\n

\r\n\r\n

Map Customer: New Customer or already existing\r\n Customers can be mapped using this option. On clicking \r\n Map Customer link, Map Customer page will be listed with already mapped Customer.\r\n If any other Customer need to mapped, User can search for the required Customer and that\r\n Customer can be selected for Customer Mapping.\r\n

\r\n\r\n

Add Customer: New Customer can be added to the Site\r\n using this option and can be mapped to the selected Site using this\r\n Add Customer {\" \"}\r\n {\" \"} icon.\r\n

\r\n\r\n

Map Contract: All the Contracts mapped / added to\r\n the selected Customer will be listed for managing the Inspection Tasks. Required Contract(s)\r\n can be selected either by selecting Select All check box or by selecting individual Contracts.\r\n

\r\n\r\n

A Link ‘Map Contract’ is also provided to map new or already existing Contracts to the\r\n selected Customer. On clicking Map Contract link,\r\n Map Contract page will be listed with already mapped Contracts of the selected Customer.\r\n If any other Contract need to mapped, User can search for the required Contract and that\r\n Contract can be selected for Contract Mapping.\r\n

\r\n\r\n

Add Contract: New Contract can be added to the\r\n Customer and Site using this option and can be mapped to the selected Customer and Site using\r\n this Add Contract{\" \"}\r\n {\" \"} icon.\r\n

\r\n\r\n

Note: Add{\" \"}\r\n {\" \"} icon will not be displayed for Technicians as they donot have the privilege\r\n to add Customers or Contracts.\r\n

\r\n\r\n

After selecting the required Customer and Contract, all the existing Inspection Tasks of\r\n the selected Customer and Contract will be listed in the data grid.\r\n The users can add/edit/delete Inspection Tasks.\r\n

\r\n\r\n

\r\n Only one Inspection Task will be active for a System. More than one Inspection Task can be\r\n active for a Customer or a Contract.\r\n

\r\n\r\n

Check Boxes - 'Active', 'Closed' and 'Completed' are provided in the Inspection Tasks page\r\n to filter the Inspection Tasks based on its status. By default, all the three check boxes\r\n will be selected. If 'Active' is selected, only active Inspection Tasks of the selected\r\n Customer and Contract will be listed. If 'Closed' is selected, only closed Inspection Tasks\r\n of the selected Customer and Contract will be listed.If 'Completed' is selected, only\r\n completed Inspection Tasks of the selected Customer and Contract will be listed. A drop down\r\n to filter the tasks created within Last 3 months, Last 6 months, Last 12 months,\r\n Last 18 months and All is also provided with 'Last 18 Months'option selected by default.\r\n If 'All' is selected in the drop down, all the tasks added will be listed.\r\n

\r\n\r\n

\r\n <>\r\n Font Size of the Texts in the Inspection Tasks page can be set for the logged in User\r\n based on the Font Size options - 'Small', 'Medium' and 'Large' {' '}\r\n \r\n \r\n A\r\n A\r\n A\r\n \r\n {' '}\r\n provided in the Inspection Tasks page. By Default, 'Medium' will be selected.\r\n \r\n

\r\n\r\n

\r\n Note: Number of rows displayed in the Inspection Tasks for a User will be based on the\r\n settings 'Rows per Page for Inspection Tasks' in the Personal Settings. A Keyword search\r\n option for Task Name and System Name is also provided in the Inspection Tasks page\r\n

\r\n\r\n

Add:

\r\n\r\n

A new Inspection Task can be added by clicking \r\n Add{\" \"}\r\n {\" \"}icon. User has to enter the Inspection Task Name, System, Planned Start Date,\r\n Planned End Date, Qty of Techs, Lead Technician and Notification Number for the Inspection\r\n Task. The selected Customer and Contract will be displayed as read only. An 'Upload File'\r\n will be displayed against the System drop down through which the user can upload\r\n configuration file if it is not assigned to the selected system. The TAP Bridge can be\r\n connected to an Inspection Task only after activating it.\r\n

\r\n\r\n

\r\n The technicians (if any) will be loaded in the Lead Technician drop down.\r\n The user has to select a Technician to activate the task. The selected technician\r\n will be considered as the Lead technician for the task and only this Technician can run\r\n the TAP Bridge initially for loading configuration file. All the Technicians associated\r\n to the selected Sales Office of the Contract can join the Inspection Task. Lead Technician\r\n is mandatory of all Inspection Tasks.\r\n

\r\n\r\n

\r\n Reports Selected link is also provided in this page so that the user can select the Reports\r\n required for the Inspection Task. The number of reports selected for the Inspection Task will\r\n be displayed against the link. To activate an Inspection Task, at least one Report should be\r\n selected. For more details see Reports Selected .\r\n

\r\n\r\n

Note: Notification Number field will be provided as a mandatory field for Inspection\r\n Task created under Contract Number starting with 5. A View Pattern link is provided next to\r\n the Notification Number field to view the valid Number Patterns for Notification Number.\r\n If the Number Pattern for United States is selected by the Customer, then Notification Number\r\n will also follow the Number Pattern for United States. Similarly if the Number Pattern for\r\n Canada is selected by the Customer, Number Pattern for Canada has to be followed in Notification\r\n Number also.\r\n

\r\n\r\n

\r\n Inspection Tasks having Systems with Panel Types other than MXL/XLS/Desigo FS20/Desigo FV20/\r\n Desigo Modular/Cerberus Pro Panels will be inspected manually. Technicians can join the\r\n Inspection Task through the mobile device only after activating the task. Number of\r\n Technicians required for the inspection has to be provided while creating an Inspection Task.\r\n

\r\n\r\n

\r\n Only one Inspection Task can be active for a System. If all necessary data are available in\r\n the application (valid XML file is uploaded and Reports are selected), the application starts\r\n to parse the XML and the Equipment will be imported to the server. The progress of XML\r\n importing will be shown in the Inspection Details page.\r\n

\r\n\r\n

\r\n Lead Technician will start the TAP Bridge for the Inspection. The device to be tested will\r\n be triggered, and the system will send Test Results, which will be received by the TAP Bridge\r\n and sent to TechAdvance+ and TAP App by the TAP Bridge. The technician can\r\n acknowledge or silence the alarms through the TAP App running in the mobile device.\r\n

\r\n\r\n

\r\n Only one Inspection Task can be active for a System. If the technician wants to join a task\r\n of another system he/she should sync all inspection data of the current task to TechAdvance\r\n + and Quit the current task.\r\n

\r\n\r\n

\r\n Edit: \r\n

\r\n\r\n

\r\n Edit an Inspection Task by selecting it and clicking the\r\n Edit{\" \"}\r\n \r\n {' '} icon Make required modifications and click Save Changes button to save the\r\n changes. An active Inspection Task cannot be deactivated by unchecking the Activate Check box,\r\n but details like Inspection Start and End date, Report selected, Lead Technician etc.\r\n can be edited.\r\n

\r\n\r\n

Inline Edit:

\r\n\r\n

Inline edit option enable user to edit an Inspection Task by clicking the\r\n Edit{\" \"}\r\n {\" \"} icon in the left hand side of the required row. On clicking\r\n Edit{\" \"}\r\n {\" \"} icon, the selected row will be displayed as editable and\r\n Edit{\" \"}\r\n {\" \"} icon will be replaced with\r\n Save{\" \"}\r\n {\" \"} and Cancel{\" \"}\r\n {\" \"} icon. Do the necessary changes in the required fields and click on\r\n Save{\" \"}\r\n {\" \"} icon. To cancel the Inline edit operation click on\r\n Cancel{\" \"}\r\n {\" \"} icon.\r\n

\r\n\r\n

Delete:

\r\n\r\n

Delete an Inspection Task by selecting it and clicking the \r\n Delete{\" \"}\r\n {\" \"} icon. Inspection Tasks in Inactive or Closed or Completed Status only can be\r\n deleted.\r\n

\r\n\r\n

Note: No Inspection Task should be able to be deleted by anyone except Super Admin and\r\n Support users, if there are Final reports uploaded.

\r\n\r\n

Inspection Details:

\r\n\r\n

\r\n This option allows the user to enter/view the inspection details of an Inspection Task.\r\n The user can enter and save the details related to Contract, System, Questions, Equipment\r\n and Equipment Summary. (including data of all nodes of the Panel) using this option.\r\n User cannot add or edit any inspection details if the selected Inspection Task is in\r\n 'Closed' or 'Inactive' or 'Completed' status.\r\n See Inspection Tasks: Inspection Details \r\n for more details.\r\n

\r\n\r\n

Note: User cannot add or edit any inspection details if the selected Inspection Task\r\n is in 'Closed' or 'Inactive' or 'Completed' status.

\r\n\r\n

Download: {\" \"}\r\n {\" \"}\r\n

\r\n\r\n

\r\n This option lists Report All, Report Highlighted, Export All, Export Highlighted and\r\n Group Highlighted.\r\n

\r\n\r\n

\r\n Report All: \r\n

\r\n\r\n

\r\n This option is for generating a report with all the records in the data grid.\r\n The report can be saved to PDF, Text, Rich Text or Excel format by selecting the\r\n file format from the list under Save option, and then clicking OK button after selecting\r\n the required options from the Export Settings window.\r\n

\r\n\r\n

\r\n Report Highlighted: \r\n

\r\n\r\n

\r\n This option is for generating a report with only selected records in the grid.\r\n Select the desired rows by holding down the control key and clicking on each of the\r\n records to be selected. Users can also select a set of rows using the shift key.\r\n The selected records will be highlighted. Click on the \r\n Report Highlighted option in the \r\n Download {\" \"}\r\n {\" \"} menu to generate the report. The report will be created with the highlighted\r\n records only. The report can be saved to PDF, Text, Rich Text or Excel format by selecting\r\n the file format from the list under Save option, and then clicking OK button after selecting\r\n the required options from the Export Settings window.\r\n

\r\n\r\n\r\n

More {\" \"}\r\n \r\n

\r\n\r\n

This option lists Quit Task, Inactivate, Report Selected, Drawings, Compare,\r\n Import Previous Task Details and Display Settings option.\r\n

\r\n\r\n

Close:

\r\n\r\n

\r\n Close an Inspection Task by selecting it and clicking the \r\n Close icon. On closing an Inspection Task, its corresponding status will be displayed\r\n as Closed in the data grid. If the selected Inspection Task is in progress, it will show a\r\n message 'Do you want to quit all the jobs of the Technician(s) and close the\r\n Inspection Task?' with Technician names listed. On clicking yes to the message the selected\r\n Inspection Task will be closed. The Equipment details of a closed Inspection Task will not\r\n be editable.\r\n

\r\n\r\n

\r\n Note: On closing an Inspection Task, a Reminder message will be displayed as\r\n \"Inspection Task closed. Reminder: Please make sure all final reports are signed and uploaded.\"\r\n

\r\n\r\n

Complete:

\r\n\r\n

\r\n Complete an Inspection Task by selecting it and clicking the \r\n Complete icon . An Active task cannot be changed to Complete, it will show a message\r\n 'Selected Inspection Task is not closed, only closed Tasks can be set as completed'.\r\n if Reports are not generated for the task, it will show a message 'All the Inspection Reports\r\n are not Generated, Task cannot be completed'. If all the Inspection Reports are generated it\r\n will show message 'Are you sure you want to complete the selected Inspection Task?',\r\n click on Yes to change to Complete status.\r\n

\r\n\r\n

\r\n A new Task can be created for a System only after completing the previous task of the same\r\n System. Only Super Administrator and Support Users has the privilege to change a Complete\r\n status to Active status. For a System with multiple task only single task can be of Active/\r\n Closed status..\r\n

\r\n\r\n

Quit Task:

\r\n\r\n

\r\n User can force close a task started by a Technician by selecting the Inspection Task and\r\n clicking the Quit Task option from\r\n More {\" \"}\r\n {\" \"} icon. On selecting this option, Quit Task page will be displayed listing\r\n the names of the Technicians (if any) who have joined the Inspection Task. Select the required\r\n Technician(s) and click Quit button. Any unsynched data in the Technician's smart phone will\r\n be lost.\r\n

\r\n\r\n

Inactivate:

\r\n\r\n

\r\n This option is to inactivate an Inspection Task. Inactivate an Inspection Task by selecting\r\n it and clicking the Inactivate option from\r\n More {\" \"}\r\n {\" \"} icon. On inactivating an Inspection Task, its corresponding status will be\r\n displayed as Inactive in the data grid. If the selected Inspection Task is in progress,\r\n it will show a message 'Do you want to quit all the jobs of the Technician(s) and inactivate\r\n the Inspection Task?' with Technician names listed. On clicking Yes to the message the\r\n selected Inspection Task will be inactivated. The Equipment details of an inactive Inspection\r\n Task will not be editable.\r\n

\r\n\r\n

Note: An Inactive Inspection Task can also be made active by checking the Activate\r\n Check box in the Edit Inspection Task page.\r\n

\r\n\r\n\r\n

Import Previous Task Details:

\r\n\r\n

This option is used to copy Equipment Test Results, System and Questions data into the\r\n selected Active Task from any Completed Task of the same System. For copying select an\r\n Active Inspection Task and click on Import Previous\r\n Task Details option from More {\" \"}\r\n {\" \"} menu. User can either select 'Import Equipment Test Results' or 'Import System\r\n and Question Data' from Import Previous Task Details page, select the required task from the\r\n Task selection drop-down and click on Import button.\r\n

\r\n\r\n

If the selected Task is in Completed/Closed Status, should display message\r\n 'Inspection Task is not active, cannot import previous Inspection Task result'.\r\n If the selected System have no Completed tasks exists, TechAdvance+ should display\r\n 'No Completed Task exists'.\r\n

\r\n\r\n\r\n\r\n

Report Selected:

\r\n\r\n

\r\n This option is used to access the reports related to the inspection for the selected\r\n Inspection Task. The Reports listed here are the reports uploaded through\r\n Manage: Inspection Settings: Report Mapping option.\r\n On selecting this option all the reports accessible to the Inspection Task will be listed\r\n with its Name, Report Title and with check boxes against each report. The user can select\r\n the required report and click Save Changes button to save the changes.\r\n

\r\n\r\n

\r\n Configured reports are those reports that are defined as part of the inspection process.\r\n It includes all Inspection data fields and its default values. The data field values for\r\n each report will be saved during the inspection process. Initially the inspection data for\r\n each of these data fields will be populated by default values and the technician can modify\r\n it as required during inspection. All the data fields corresponding to Contract,\r\n System and Equipment will be included in these reports. All the necessary data will be\r\n sent to TAP Bridge and the report will be generated using this data and will be saved\r\n as a word file in the Drafted Reports.\r\n

\r\n\r\n

Linked Reports:

\r\n\r\n

Configured reports are those reports that are defined as part of the inspection process.\r\n It includes all Inspection data fields and its default values. The data field values for\r\n each report will be saved during the inspection process. Initially the inspection data for\r\n each of these data fields will be populated by default values and the technician\r\n can modify it as required during inspection. All the data fields corresponding to\r\n Contract, System and Equipment will be included in these reports. All the necessary data\r\n will be sent to TAP Bridge and the report will be generated using this data and will be\r\n saved as a word file in the Drafted Reports.

\r\n\r\n

\r\n \r\n Drawings:\r\n \r\n

\r\n\r\n

\r\n This option provides access to the Drawings uploaded. On selecting this option, Drawing\r\n List page will be displayed listing all the Drawings uploaded for the selected active\r\n Inspection Task with Open Drawing and Close button.\r\n

\r\n\r\n

\r\n All drawings that are available for the selected Inspection Task will be listed here,\r\n organized by Site, Building and Floor with the Drawing Category, Drawing File Name and\r\n File Size. This list can be sorted on any column by clicking on the column header.\r\n

\r\n\r\n

\r\n Select the required Drawing and click on {\" \"}\r\n \r\n Open Drawing\r\n \r\n {\" \"} button to view the Drawing.\r\n

\r\n\r\n

\r\n Assign Block, Select Equipment, Delete, Search Text, Attachments, Delink, Stop Blink,\r\n Download, Save, More and also Tabular view of Equipment list options are accessible\r\n for users while opening drawings from the Inspection: More: Drawing View.\r\n

\r\n\r\n

\r\n Assign Block: \r\n Through this Assign Block \r\n \r\n {\" \"} icon, users can assign equipment to blocks in the Drawings.\r\n

\r\n Select Equipment: \r\n Through this Select Equipment \r\n \r\n {\" \"} icon, users can view & edit the selected equipment from drawing.\r\n

\r\n\r\n

\r\n Delete: \r\n Through this Delete \r\n \r\n {\" \"} icon, users can delete equipment from Drawing.\r\n

\r\n\r\n

\r\n Search Text: \r\n Through this Search Text \r\n \r\n {\" \"} icon, users can search text from Drawing.\r\n

\r\n\r\n

\r\n Attachments: \r\n Through this Attachments \r\n \r\n {\" \"} icon, users can view and add attachments to the selected equipment in the Drawing.\r\n

\r\n\r\n

\r\n Delink: \r\n Through this Delink \r\n \r\n {\" \"} icon, users can unassigned an equipment from the drawing.\r\n The unlinked equipment will be moved to the Unassigned tab in tabular view.\r\n

\r\n\r\n

\r\n Stop Blink: \r\n Through this Stop Blinking \r\n \r\n {\" \"} icon, users can stop the blinking of all the equipment in the drawing.\r\n

\r\n\r\n

\r\n Download: \r\n Through this Download \r\n \r\n {\" \"} icon, users can export the drawing in different available formats..\r\n

\r\n\r\n

\r\n Save: \r\n Through this Save \r\n \r\n {\" \"} icon, users can Save the drawing in different available formats.\r\n

\r\n\r\n

\r\n More: \r\n Through this More \r\n \r\n {\" \"} icon, users can manage the options Show Layer, Hide Layer, Measure Area, Measure Distance, De-Hatch.\r\n

\r\n\r\n

\r\n Back: \r\n Through this Back \r\n \r\n {\" \"} icon, Users can go back to Inspection Page.\r\n

\r\n\r\n

\r\n Common:\r\n

\r\n

\r\n All the equipment assigned to the drawing will be listed under the Common tab.\r\n The options to Edit, Delete, view/add Attachments,\r\n Show the Drawing, Show Zoomed, and Delink are available under this tab.\r\n

\r\n\r\n

\r\n Edit: \r\n Selected equipment can be edited by clicking the\r\n Edit \r\n {\" \"} icon.\r\n

\r\n\r\n

\r\n Delete: \r\n Users can delete Equipment by clicking the\r\n Delete \r\n {\" \"} icon.\r\n

\r\n\r\n

\r\n Attachments: \r\n Users can view/add attachments by clicking the\r\n Delete \r\n {\" \"} icon.\r\n

\r\n\r\n

\r\n Show Drawing: \r\n Users can view the selected equipment as blinking in the drawing using the\r\n Show Drawing \r\n {\" \"} icon.\r\n

\r\n\r\n

\r\n Show Zoomed: \r\n By selecting\r\n Show Zoomed \r\n \r\n {\" \"} icon, users can view the selected equipment as zoomed in the drawing.\r\n

\r\n\r\n

\r\n Delink: \r\n Through this\r\n Delink \r\n \r\n {\" \"} icon, users can unassign an equipment from the drawing.\r\n The unlinked equipment will be moved to the Unassigned tab in tabular view.\r\n

\r\n\r\n

\r\n Equipment Specific:\r\n

\r\n

\r\n All the equipment assigned to the drawing will be listed as equipment specific under this tab.\r\n The options to Edit, Delete, view/add Attachments are available under this tab.\r\n

\r\n

\r\n Edit: \r\n Selected equipment can be edited by clicking the\r\n Edit \r\n \r\n {\" \"} icon.\r\n

\r\n

\r\n Delete: \r\n Users can delete Equipment by clicking the\r\n Delete \r\n \r\n {\" \"} icon.\r\n

\r\n

\r\n Attachments: \r\n Users can view/add attachments by clicking the\r\n Attachments \r\n \r\n {\" \"} icon.\r\n

\r\n\r\n

\r\n Unassigned:\r\n

\r\n

\r\n All the unassigned equipment in the drawing will be listed under the Unassigned tab.\r\n The options to Assign Block, Edit, Delete, view/add Attachments are available under this tab.\r\n

\r\n

\r\n Assign Block: \r\n Through this Assign Block \r\n \r\n {\" \"} icon, users can assign equipment to blocks in the Drawings.\r\n

\r\n

\r\n Edit: \r\n Selected equipment can be edited by clicking the\r\n Edit \r\n \r\n {\" \"} icon.\r\n

\r\n

\r\n Delete: \r\n Users can delete Equipment by clicking the\r\n Delete \r\n \r\n {\" \"} icon.\r\n

\r\n

\r\n Attachments: \r\n Users can view/add attachments by clicking the\r\n Attachments \r\n \r\n {\" \"} icon.\r\n

\r\n\r\n

\r\n \r\n Compare:\r\n \r\n

\r\n\r\n

\r\n This option is to compare Equipment details of two Inspection Tasks.\r\n Select two Inspection Tasks in Active, Closed, Inactive or Completed Status of the same\r\n System, click Compare option from\r\n More {\" \"}\r\n {\" \"} icon. A Comparison Report window will be displayed with Equipment\r\n details of the System. If any data is modified, data will be shown as New Data\r\n [Previous data] and the status of the Equipment will be displayed as Updated in the Report.\r\n If any new Equipment is added to or deleted from the System, the Status of the Equipment\r\n will be shown as New or Deleted in the Report.\r\n

\r\n\r\n

\r\n While comparing the Inspection Tasks, New status will be displayed for Equipment available\r\n only in the latest Inspection Task. Updated status will be displayed for equipment in both\r\n Inspection Tasks. Deleted status will be displayed equipment available only in old Inspection\r\n Task.\r\n

\r\n\r\n

An option to export the Comparison report is provided in the Comparison Report window.

\r\n\r\n\r\n

Display Settings:

\r\n\r\n

\r\n This option allows the user to change the visibility of the data fields displayed in\r\n the data grid. On selecting this option, all the available data fields are displayed\r\n in a window. Display settings can be modified by selecting the required fields from the list.\r\n The grid settings modified through this option will not be saved and will be effective only\r\n for the current instance of the data grid.\r\n

\r\n\r\n

Equipment Summary:

\r\n\r\n

\r\n This is a Summary Report of Equipment based on NFPA or Health Classification.\r\n It shows the total number of Equipment, Number of Equipment Functionally Tested,\r\n its Percentage, Number of Equipment Visually Inspected, its Percentage,\r\n Number of Equipment Failed and its Percentage. Equipment with Classification 'N/A'\r\n and those without any Classification are ignored for the Report\r\n

\r\n \r\n );\r\n}\r\nexport default InspectionTasksDocument;\r\n","import { Button } from 'primereact/button'\r\nimport React from 'react'\r\nimport { BsFillPencilFill, BsFunnelFill, BsPaperclip, BsPlusLg, BsTrashFill } from 'react-icons/bs'\r\nimport { FaCog, FaCopy, FaDownload, FaFilter } from 'react-icons/fa'\r\n\r\nconst InspectionTaskInspectionDetailsDocument = () => {\r\n return (\r\n <>\r\n

Inspection Details

\r\n\r\n

\r\n This option allows the user to enter/view the inspection details of an Inspection Task. \r\n The user can enter and save the details related to Contract, System, Equipment, Questions \r\n (including data of all nodes of the Panel) using this option and Summary. User cannot add \r\n or edit any inspection details if the selected Inspection Task is in 'Closed' or 'Inactive' \r\n or 'Completed' status.\r\n

\r\n\r\n

\r\n Names of the selected Inspection Task, Contract and System will be displayed as read only \r\n on the top of the page in each session. \r\n

\r\n\r\n

\r\n Inspection Details page is provided with different Tabs namely Contract, System, \r\n Equipment,Questions and Summary. The user can select the required tab and enter/modify \r\n the details. 'Report Selected' link is provided on the top right side of the Inspection \r\n Details page so that the user can view/update the Reports selected for the Inspection Task. \r\n The number of reports selected for the Inspection Task will be shown against the link. Only \r\n the fields which are required for the Reports selected for the Inspection Task will be \r\n visible in the Inspection Details.\r\n

\r\n\r\n

\r\n By default, Equipment tab will be selected on selecting the Inspection Details option.\r\n

\r\n\r\n

Contract:

\r\n

\r\n On selecting Contract tab, the Contract page will be displayed listing the options to \r\n enter the details of Customer Information, Branch Office and Service Organization. User \r\n can modify the data if required and click Save button to save the details. If the Inspection \r\n task is Closed/Inactive/Completed, the details cannot be edited and the Save button will not \r\n be available.\r\n

\r\n\r\n

System:

\r\n

\r\n On selecting System tab, the System page will be displayed with the selected System Name \r\n and Panel Type displayed as read only and options to enter the details like Type(s) of System, \r\n Type/Features of Mass Notification System, Mass Notification Device Numbers, Pre Discharge \r\n Notification/Override and other fields related to the System. The user can enter the required \r\n details and click Save button to save the details. If the Inspection task is closed/Inactive/\r\n Completed, the details cannot be edited and the Save button will not be available.\r\n

\r\n\r\n\r\n

Equipment:

\r\n

\r\n On selecting Equipment tab, the Equipment List page will be displayed with a Equipment \r\n Group drop down loaded with Panel names of the selected System. For MXL/XLS/Desigo \r\n FS20/Desigo FV20/Desigo Modular panels, all Panels parsed from the XML file will be listed \r\n in the Equipment Group combo.\r\n

\r\n\r\n

\r\n Add \r\n and \r\n Edit \r\n icons \r\n are displayed against the Equipment Group drop down using which the user can add a new panel \r\n if required and Edit the Address or Panel Name. \r\n The Address/Name of the Panels added manually can be edited whereas the Address of the \r\n Panels added through XML Parsing cannot be edited. \r\n

\r\n\r\n

\r\n On selecting Equipment tab, for MXL/XLS/Desigo FS20/Desigo FV20/Desigo Modular panels, \r\n the Equipment page will be displayed with a Equipment Group drop down loaded with Panel \r\n Address and name of the selected Panel. First Panel will be selected by default if available. \r\n An 'Equipment Type' drop down is provided with option 'All' and all the Equipment Types such \r\n as AHU, Devices, Doors, Kitchen Extinguishers, Fire Pumps, Modules, NAC Panels, Sprinklers \r\n etc. By default, 'Devices' will be selected in the drop down.\r\n

\r\n\r\n

\r\n If 'All' option is selected in Equipment Type dropdown, then the options available to the \r\n Users are Reset, Delete, Attachments and Import Equipment. If options other than 'All' \r\n option is selected in Equipment Type drop down, Users can do the operations like \r\n Add/Edit/Clone/Delete/Reset/Connectivity/Attachments/Import Equipment if required against the \r\n Inspection Task. On selecting the panel, the equipment details will be loaded automatically.\r\n

\r\n\r\n

\r\n If 'Devices' option is selected in Equipment Type drop down, Users can Add/Edit/Clone/\r\n Delete Equipment. Linking of added Equipment to a Panel/Module can be done manually \r\n sing Connectivity option after adding Equipment for devices and providing Attachments. \r\n Multiple Devices from an Excel can be imported using the option Import Equipment. \r\n The options Add/Edit/Clone/Delete/Attachments /Import Equipment are available to AHU, \r\n Air Sampling Systems, Doors, Elevators, Emergency Communications, Emergency Lightings, \r\n ERCES, Fire Pumps, Gaseous Extinguishing Systems, Kitchen and Dry Chemical Ext Systems, \r\n Modules, NAC Panels, Portable Extinguishers, Sprinklers and Water Based Equipments options.\r\n

\r\n\r\n

Filter:

\r\n

\r\n Users can search for Equipment by clicking the Filter \r\n icon after entering the \r\n Test Date, and other criteria in the Filter window. Equipment satisfying the Filter criteria \r\n will be listed in the data grid and Filter \r\n icon \r\n changed to Change Filter \r\n icon. \r\n Users can clear the search criteria by clicking icon and \r\n then clicking the Clear button in the Filter window. \r\n

\r\n

\r\n Filter window is provided with fields - Test Date from and to, a drop down to \r\n select the Attributes and a textbox to enter the attribute value for filter and checkboxes \r\n - Show only untested, Attachments only, XML imported and Manually added, with \r\n Go and Clear buttons. \r\n Users can select \"Show only untested\" check box to view the untested equipment. The \r\n \"Attachments Only\", \"XML Imported\" and \"Manually Added\" check boxes are also provided in the \r\n Filter window, to short list the equipment accordingly. The \"Attachments Only\" check box is \r\n used to list only that Equipment that has Attachments added to it. The \"XML Imported\" \r\n checkbox is used to list the Equipment that is uploaded via XML import after running TAP \r\n Bridge. Data will be listed here only after running TAP Bridge. The \"Manually Added\" \r\n check box is used to list that Equipment that is added through the options Import Equipment \r\n and Add Equipment. Initially both \"XML imported\" and \"Manually added\" check boxes will be \r\n displayed as selected by default in the Filter window.\r\n

\r\n

\r\n After filtering the Equipment List, the Filter \r\n icon \r\n changed to Change Filter \r\n icon. \r\n User can change the Filter criteria by clicking the Change \r\n Filter icon.\r\n

\r\n\r\n

Advanced Search:

\r\n\r\n

\r\n This option allows users to search for Equipment details by building a query for the \r\n selection criteria. The query can be built, specifying conditions one by one, and then \r\n grouping them as required. Each condition is built using the Condition Builder, specifying \r\n a field, an operator (like Equal to, Not Equal to etc.) and a value. Multiple conditions \r\n can be added using AND or OR operators. User can edit or delete or group/ungroup conditions \r\n as required. After specifying the conditions for the query, click on the \r\n Search button to view the search results in a data grid. \r\n All the options in the data grid are available in the search results grid. \r\n

\r\n\r\n \r\n

Add:

\r\n

\r\n Create each condition by selecting a field, the operator (such as Equal to, Not Equal to, \r\n Less than, Greater than, Contains, Is blank and Is not blank etc.), and the value. On \r\n clicking the Add button, the newly framed condition in \r\n the condition builder will be added to the conditions list box. Multiple conditions can be \r\n added using AND or OR operators.\r\n

\r\n\r\n

\r\n Edit :

\r\n

\r\n Select the desired condition to edit. On clicking the Edit \r\n button, the Field Name, Operator, Value and the AND or OR condition is loaded in the \r\n Condition Builder. User can change the details as required and on clicking the \r\n Update button in the Condition Builder, the selected \r\n condition is updated. It is possible to edit only one condition at a time.\r\n

\r\n\r\n

\r\n Delete :

\r\n

\r\n Select the desired condition to delete. On clicking the Delete\r\n button, the selected condition is deleted along with any associated AND or OR \r\n operator. It is possible to delete only one condition at a time. If the selected condition \r\n is part of a group, it has to be ungrouped first.\r\n

\r\n\r\n

\r\n Group :

\r\n

\r\n Select the desired conditions by clicking the start and end points holding down the Shift \r\n key. Click the Group button and the selected query items \r\n are grouped by adding braces at the start and end of the group. Multiple groups can be \r\n created and multiple subgroups can also be grouped together. If multiple rows are selected \r\n from the conditions list and if the selection is not a valid group, it will not be possible \r\n to group the selection.\r\n

\r\n\r\n

\r\n Ungroup :

\r\n

\r\n Ungroup a group of query items by selecting the start and end rows of the group and clicking \r\n the Ungroup Button. If the selected items are not of a \r\n valid group it will not be possible to ungroup the same.\r\n

\r\n\r\n

\r\n Search :

\r\n

\r\n After building the conditions for the query, click on the Search\r\n button to view the search results in the data grid. When a search is done, \r\n the search criteria will be saved and available for subsequent searches in the current \r\n session until another search is done with a new criteria.\r\n

\r\n\r\n

\r\n Cancel :

\r\n

\r\n Cancel button is used to close the Advanced Search window.\r\n

\r\n\r\n

Add:

\r\n

\r\n Equipment can be added by clicking Add \r\n icon. User can enter the \r\n Address, NFPA Classification, Health Classification etc., and click Add button. When a \r\n device is added, a drop down to select the Module is also provided in the Equipment data \r\n window to connect it to a Module.\r\n

\r\n\r\n

Edit:

\r\n

\r\n Edit an Equipment by selecting it and clicking the \r\n Edit icon. \r\n Make required modifications and click Save button to save the changes. The Address of \r\n the Equipment added manually and through Import Equipment option can be edited whereas \r\n the Address of the Equipment added through TAP Bridge cannot be edited. Equipment can also \r\n be edited by double clicking the required row.\r\n

\r\n\r\n

\r\n Note: 'Next' and 'Previous' buttons are provided in the Equipment Edit and Update \r\n Status window for the quick update of Equipment.\r\n

\r\n\r\n

\r\n Multiple records can also be edited by selecting the required Equipment using the Shift or \r\n Ctrl keys, and then clicking on the Edit \r\n icon. A window will be displayed \r\n listing the fields that can be edited. The changes have to be made selecting one field at a time. \r\n

\r\n\r\n

Clone:

\r\n

Clone an Equipment by selecting it and clicking the \r\n Clone \r\n icon. All the attributes except \r\n Barcode and address of the selected Equipment will be copied for the new Equipment. \r\n Make required modifications and click Save button to save the changes. Equipment added by \r\n TAP Bridge cannot be cloned. \r\n

\r\n

Note: Equipment imported via XML Parsing / TAP Bridge cannot be cloned

\r\n\r\n

Delete:

\r\n

\r\n Delete an Equipment by selecting it and clicking the Delete \r\n icon. \r\n Multiple records can also be deleted by selecting the required Equipment using the Shift or \r\n Ctrl keys, and then clicking on the Delete \r\n icon.

\r\n\r\n\r\n\r\n

Attachments: \r\n \r\n

\r\n

\r\n Users can add/edit/delete/view/download attachments linked to each Equipment, \r\n using this option. Select Equipment and then select the Attachments icon. Now Attachment \r\n list window will be displayed with Add/Edit/Delete/Download and More icons. If there is any \r\n file attached to that Equipment that will be displayed there. \r\n

\r\n\r\n

Add:

\r\n

\r\n An attachment can be added by clicking the Add \r\n icon. Browse for the required \r\n file. The attachment will be uploaded on selecting Upload button. \r\n

\r\n\r\n

Edit:

\r\n

\r\n Edit an Attachment by selecting it and clicking the Edit \r\n icon. \r\n

\r\n\r\n

\r\n Select an attachment and click Edit \r\n icon. The Edit Attachment \r\n window will be displayed with the current file name. The user can replace the selected \r\n attachment with a new file if necessary. \r\n

\r\n\r\n

Delete:

\r\n

\r\n Delete an attachment by selecting the required file and clicking the \r\n Delete \r\n icon. \r\n

\r\n

\r\n Note: Edit and Delete options are also provided as Quick action icons{\" \"} \r\n \r\n {\" \"} , which are \r\n displayed when the mouse points to or moves over the required row \r\n

\r\n\r\n

View:

\r\n

\r\n The attachment can be viewed by selecting the file and clicking the \r\n View option from More \r\n menu. \r\n

\r\n

\r\n Note:Only image files can be viewed through attachment view option. Other files \r\n will be downloaded to user's computer.\r\n

\r\n

\r\n Equipment attachments can be viewed by double clicking on the Equipment symbol in \r\n the Drawing. If multiple attachments are present, user can click the forward and backward \r\n arrow buttons at the bottom left and right corners in the Attachment viewer to view the \r\n attachments. \r\n

\t\r\n\r\n

Download:

\r\n

\r\n Attachment can be downloaded and saved in the user's computer through\r\n Download option from \r\n Download \r\n menu. \r\n

\r\n\r\n

\r\n Download: \r\n \r\n

\r\n

\r\n This option lists Export All, Export Highlighted and Group Highlighted. \r\n

\r\n\r\n

\r\n Report All: \r\n

\r\n\r\n

\r\n This option is for generating a report with all the records in the data grid. \r\n The report can be saved to PDF, Text, Rich Text or Excel format by selecting the file \r\n format from the list under Save option, and then clicking OK button after selecting the \r\n required options from the Export Settings window.\r\n

\r\n\r\n

\r\n Report Highlighted: \r\n

\r\n

\r\n This option is for generating a report with only selected records in the grid. \r\n Select the desired rows by holding down the control key and clicking on each of \r\n the records to be selected. Users can also select a set of rows using the shift key. \r\n The selected records will be highlighted. Click on the \r\n Report Highlighted option in the \r\n Download \r\n menu to \r\n generate the report. The report will be created with the highlighted records only. \r\n The report can be saved to PDF, Text, Rich Text or Excel format by selecting the file \r\n format from the list under Save option, and then clicking OK button after selecting the \r\n required options from the Export Settings window.\r\n

\r\n\r\n

\r\n More: \r\n \r\n

\r\n

\r\n This option lists Reset, Connectivity, Import Equipment and Display Settings option. \r\n

\r\n\r\n

Reset:

\r\n

\r\n User can reset the Equipment Test Results values using Reset \r\n option from More \r\n menu. \r\n On selecting this option, a message \"Are you sure you want to reset Equipment Test Result \r\n values?\" will be displayed. Click 'Yes' and the Equipment Test Result values of the selected \r\n Equipment will be reset.Test Results of multiple Equipment can be reset using this option.\r\n

\r\n\r\n\r\n

Connectivity:

\r\n

\r\n Users can link the Equipment to Module/Sprinklers through this option from \r\n More \r\n menu. After adding \r\n equipment, a message \"Do you want to link this Equipment to Module/Sprinklers?\" message will \r\n be displayed. \r\n

\r\n\r\n

\r\n On clicking 'Yes' to the corresponding message, Set Connectivity window will be displayed \r\n with System, Panel and Module/Sprinklers drop downes. The drop downes System and Panel will \r\n be displayed as read only and cannot be edited. User can select Module/Sprinklers and set the \r\n connectivity by clicking Save button. \r\n

\r\n\r\n

Import Equipment:

\r\n

\r\n This option is provided for importing Equipment Data from Excel spread sheets directly \r\n into TechAdvance+ database without having to manually enter these details one \r\n by one into TechAdvance+. \r\n

\r\n\r\n

\r\n Following are the requirements/restrictions when importing data from Excel to TechAdvance+\r\n

\r\n\r\n
    \r\n
  • Microsoft Excel is required to be installed in the user's computer.
  • \r\n
  • The Excel file should be saved in Excel 2007 or later versions.
  • \r\n
  • The browser security settings for ActiveX control should be set as required by TechAdvance+.
  • \r\n
  • There should not be any blank/hidden columns/rows between Excel data columns/rows.
  • \r\n
  • The Excel sheet must contain the essential fields (depends on each module) and it should be mapped to TechAdvance+columns before importing data from Excel.
  • \r\n
  • The column type in the Excel sheet should be of the same type as TechAdvance+data field. e.g. Date fields should be of Date type.
  • \r\n
  • Date fields should be given in the MM/DD/YYYY format (eg. Date in Excel should be 01/25/2015 for 25 Jan 2015).
  • \r\n
  • Date Time fields should be given in the MM/DD/YYYY HH:MM:SS AM/PM format(eg. Date time value in Excel should be 01/25/2015 10:30:00 AM for 25 Jan 2015 10:30:00 AM)
  • \r\n
  • Values for Date field, Integer field, and numeric field in the Excel file should be valid.
  • \r\n
  • The special characters ~, ;,`,{'<,>'},[,] and & are not allowed in the data or Column headings in the Excel.
  • \r\n
  • The special characters !,.,@,#,$,%,*,#,\\,|,?,/,:,{'{,}'},(,) are allowed in all text fields except Address and special characters ' and \" are allowed in Location field.
  • \r\n
  • Length of data in any cell in Excel should not exceed the maximum length of data in the corresponding data field in TechAdvance+.
  • \r\n
\r\n\r\n\r\n

\r\n The columns in the Excel sheet should be mapped to the data fields in TechAdvance+ Inspection module. The column type in the Excel sheet should be of the same type as TechAdvance+ field type. \r\n

\r\n\r\n

\r\n Common Attributes, if required, should be created using the \r\n Manage: Customization: Attributes: Common Attributes \r\n option first, and mapped to the columns in the Excel sheet. \r\n

\r\n\r\n

\r\n Data import page will be displayed with the option to browse the Excel File, select \r\n Worksheet, and Attributes with Configure and Fetch Data buttons. The user can use the Browse \r\n button, to browse and pick up the file. The work sheets in the Excel file will be listed by \r\n name in the Work Sheet drop down automatically. On selecting the required worksheet a mapping \r\n table will be displayed showing the Excel sheet columns and TechAdvance+ data fields. If any mapping was done earlier it will be displayed with the field name as mapped, otherwise TechAdvance+ column will be shown as Not Selected.\r\n

\r\n\r\n

\r\n For importing Devices and Modules only with connectivity, user has to select the option \r\n 'Common'. In this case, all the Equipment data can be in a single Excel sheet. For importing \r\n AHU, Doors, NAC Panels, Sprinklers, Modules seperately, user has to select the 'Equipment \r\n Specific' option and select Equipment Type from the drop down. In this case, a separate Excel \r\n sheet is required for the data of each Equipment Type, and the data has to be imported one \r\n Equipment Type at a time. The mapping of fields has to be done separately for each type and \r\n saved. \r\n

\r\n\r\n

\r\n Configure: Click the Configure button to map the Excel \r\n sheet columns to the Equipment data fields of TechAdvance+. Map Equipment Details \r\n window will be displayed where the columns can be mapped by selecting the corresponding field \r\n from the drop down. The following are the fields displayed:\r\n

\r\n\r\n

\r\n Module Address: Module Address field is a static field. It is used to import the address of the module. \r\n

\r\n\r\n

\r\n Address: Address field is a static field. It is used to import the address of the equipment. This is a mandatory field. \r\n

\r\n\r\n

\r\n Comment: Comment field is a Common Attribute. \r\n

\r\n\r\n

\r\n Dev. Reading: Dev. Reading field is a static field. It is used to import the device reading.\r\n

\r\n\r\n

\r\n Dev. Reading Date: Dev. Reading Date field is a static field. It is used to import the device reading date.\r\n

\r\n\r\n

\r\n Health Classification: Health Classification field is a static field. It is used to import the Health Classification of the equipment.\r\n

\r\n\r\n

\r\n Location: Location field is a Common Attribute.\r\n

\r\n\r\n

\r\n Module Address: Module Address is a static field. It is used to import the address of the module if available.\r\n

\r\n\r\n

\r\n NFPA Classification: NFPA Classification is a static field. It is used to import the NFPA Classification of the equipment.\r\n

\r\n\r\n

\r\n Note: Note field is a Common Attribute.\r\n

\r\n\r\n

\r\n Test Date: Test Date is a static field. It is used to import the date on which the equipment was tested.\r\n

\r\n\r\n

\r\n Test Method: Test Method is a static field. It is used to import the test method: Functional, Visual or None.\r\n

\r\n\r\n

\r\n Test Result: Test Result is a static field. It is used to import the test result: Pass, Fail or Not Tested.\r\n

\r\n\r\n

\r\n All the required columns should be mapped to the corresponding columns in the Excel \r\n field. Select the corresponding check boxes for the required fields to be mapped and select \r\n the required fields and click Save button. A confirmation message \"Column Mapping saved\" will \r\n be displayed. The Data Import window will be displayed with the selected Excel fields mapped \r\n to its corresponding TechAdvance+ fields. Click on Fetch Data button. Location of \r\n Modules created automatically will be saved as 'Auto Created'. NFPA Classification will be \r\n saved as 'Choose a Classification'.

\r\n\r\n

Fetch Data:

\r\n

\r\n Click the Fetch Data button to import the Excel sheet data to TechAdvance+ \r\n database and link it to the corresponding Equipment. On selecting this option the Data Import \r\n page will be displayed with all the imported data listed and mapped to its corresponding fields \r\n with a comment in the Comment column. User can click on cells to edit text parsed from Excel \r\n file and click Import button to import the data. \r\n

\r\n\r\n

\r\n While importing Equipment Data, if the Device Address is not provided then it will be imported as Module.\r\n

\r\n\r\n

\r\n If the file is linked correctly, TechAdvance+ Comments column will show 'Data Saved'. Make/Model -While importing Equipment data, the values for 'Make /Model' will be accepted by TechAdvance+ only if the appropriate format is used.\r\n

\r\n\r\n

\r\n If any error occurs while importing, the details of the error will be shown in TechAdvance+ Comments column. User can validate the loaded data by selecting Validate button. On clicking Validate button, all the failed records will be displayed at the top of the Data Import page with its corresponding messages in TechAdvance+ Comments column. All the failed records can be exported by selecting Export button.\r\n

\r\n\r\n

\r\n If duplicate Address is provided while Importing Data then the message, \"Duplicate Address found\" will be displayed in the corresponding Tech Advance+ Comments column after validating the data in Data Import page and will be imported in the format \"Duplicate address\" - \"Ascending Number\". If the mandatory Address field is missing then in TechAdvance+ Comments column, status will be displayed as 'Address cannot be empty', and user has to enter a valid address in the address column. If any special character is used, then \"Special character 'special character' not allowed in 'Field name' \" status will be displayed. \r\n

\r\n\r\n

\r\n If the NFPA Classification is incorrect or not mapped then after validating the data in Data Import page, the message \"NFPA Classification is not available for 'Equipment Type' \" will be displayed in the corresponding Tech Advance+ Comments column.\r\n

\r\n\r\n

\r\n If the NFPA Classification is mapped but the provided Classification value is incorrect\r\n while importing data, then the value provided for NFPA Classification will be imported to \r\n XML Usage column. In this case, the column for NFPA Classification will display the value \r\n \"CHOOSE A CLASSIFICATION\" in the Equipment List data grid after importing since the value \r\n provided in the data import sheet is incorrect.\r\n

\r\n\r\n

Display Settings:

\r\n

\r\n This option allows the user to change the visibility of the data fields displayed in \r\n the data grid. On selecting this option, all the available data fields are displayed in a \r\n indow. Display settings can be modified by selecting the required fields from the list. \r\n The grid settings modified through this option will not be saved and will be effective only \r\n for the current instance of the data grid. \r\n

\r\n\r\n

Questions:

\r\n

\r\n Selecting Questions tab will display a tree view structure below the Panel drop down. \r\n First Panel will be selected by default if available. User can select each node by clicking it. \r\n Based on the node selected from the Tree view structure, options to enter details of each node \r\n will be displayed at the right side of the page (Fields will be displayed based on 'Report \r\n Selected' only). Panel nodes or Inspection fields displayed can be updated through \r\n Manage: Inspection Settings: Inspection Fields option. \r\n Save button will be displayed only for 'Active' inspection tasks.\r\n

\r\n\r\n

Summary:

\r\n

\r\n This is a Summary Report of Equipment based on NFPA or Health Classification. It shows the \r\n total number of Equipment, Number of Equipment Functionally Tested, its Percentage, Number of \r\n Equipment Visually Inspected ,its Percentage, Number of Equipment Failed and its Percentage. \r\n Equipment with Classification 'N/A' and those without any Classification are ignored for the Report.\r\n

\r\n\r\n\r\n

Report Selected:

\r\n

\r\n This option is used to view reports selected for the selected Inspection Task. The Reports listed \r\n here are the reports uploaded through Report Mapping option. \r\n On selecting this option all the reports accessible to the inspection task will be listed with \r\n its Name, Report Title and with check boxes against each report. The user can select the required \r\n report and click Save Changes button to save the changes. \r\n

\r\n\r\n \r\n );\r\n}\r\nexport default InspectionTaskInspectionDetailsDocument;\r\n","import React from \"react\";\r\nimport { Button } from \"primereact/button\";\r\nimport { BsFillPencilFill, BsTrashFill, BsPaperclip, BsSearch, BsSubtract, BsBoxArrowInDownRight, BsZoomIn } from 'react-icons/bs';\r\nimport { FaChevronDown, FaCog, FaDownload, FaSave, FaBackward } from \"react-icons/fa\";\r\nimport { BiUnlink } from \"react-icons/bi\";\r\nimport { GiArrowCursor } from \"react-icons/gi\";\r\nimport { RiAlarmWarningLine } from \"react-icons/ri\";\r\n\r\nconst InspectionDrawingsDocument = () => {\r\n return(\r\n <>\r\n

\r\n Drawings\r\n

\r\n \r\n

\r\n This option provides access to the Drawings uploaded. \r\n On selecting this option, Drawing List page will be displayed listing all the Drawings \r\n uploaded for the selected active Inspection Task with Open Drawing and Close button.\r\n All drawings uploaded for the Selected Site will be listed with details of Floor name, \r\n Floor Category, File Name, File and File Size. A drop down to select the Building is \r\n provided and on selecting the Building, all Drawings of the selected Building will be listed. \r\n Select the required Drawing and click on Open Drawing button to view the Drawing.\r\n

\r\n\r\n

\r\n Assign Block, Select Equipment, Delete, Search Text, Attachments, Delink, Stop Blink, \r\n Download, Save, More and also Tabular view of Equipment list options are accessible \r\n for users while opening drawings from the Inspection: More: Drawing View.\r\n

\r\n\r\n

\r\n Assign Block: \r\n Through this Assign Block \r\n \r\n {\" \"} icon, users can assign equipment to blocks in the Drawings.\r\n

\r\n\r\n

\r\n Select Equipment: \r\n Through this Select Equipment \r\n \r\n {\" \"} icon, users can view & edit the selected equipment from drawing.\r\n

\r\n\r\n

\r\n Delete: \r\n Through this Delete \r\n \r\n {\" \"} icon, users can delete equipment from Drawing.\r\n

\r\n\r\n

\r\n Search Text: \r\n Through this Search Text \r\n \r\n {\" \"} icon, users can search text from Drawing.\r\n

\r\n\r\n

\r\n Attachments: \r\n Through this Attachments \r\n \r\n {\" \"} icon, users can view and add attachments to the selected equipment in the Drawing.\r\n

\r\n\r\n

\r\n Delink: \r\n Through this Delink \r\n \r\n {\" \"} icon, users can unassigned an equipment from the drawing. \r\n The unlinked equipment will be moved to the Unassigned tab in tabular view.\r\n

\r\n\r\n

\r\n Stop Blink: \r\n Through this Stop Blinking \r\n \r\n {\" \"} icon, users can stop the blinking of all the equipment in the drawing.\r\n

\r\n\r\n

\r\n Download: \r\n Through this Download \r\n \r\n {\" \"} icon, users can export the drawing in different available formats..\r\n

\r\n\r\n

\r\n Save: \r\n Through this Save \r\n \r\n {\" \"} icon, users can Save the drawing in different available formats.\r\n

\r\n\r\n

\r\n More: \r\n Through this More \r\n \r\n {\" \"} icon, users can manage the options Show Layer, Hide Layer, Measure Area, Measure Distance, De-Hatch.\r\n

\r\n\r\n

\r\n Back: \r\n Through this Back \r\n \r\n {\" \"} icon, Users can go back to Inspection Page.\r\n

\r\n\r\n

\r\n Common:\r\n

\r\n

\r\n All the equipment assigned to the drawing will be listed under the Common tab. \r\n The options to Edit, Delete, view/add Attachments, \r\n Show the Drawing, Show Zoomed, and Delink are available under this tab.\r\n

\r\n\r\n

\r\n Edit: \r\n Selected equipment can be edited by clicking the\r\n Edit \r\n {\" \"} icon.\r\n

\r\n\r\n

\r\n Delete: \r\n Users can delete Equipment by clicking the\r\n Delete \r\n {\" \"} icon.\r\n

\r\n\r\n

\r\n Attachments: \r\n Users can view/add attachments by clicking the\r\n Delete \r\n {\" \"} icon.\r\n

\r\n\r\n

\r\n Show Drawing: \r\n Users can view the selected equipment as blinking in the drawing using the\r\n Show Drawing \r\n {\" \"} icon.\r\n

\r\n\r\n

\r\n Show Zoomed: \r\n By selecting\r\n Show Zoomed \r\n \r\n {\" \"} icon, users can view the selected equipment as zoomed in the drawing.\r\n

\r\n\r\n

\r\n Delink: \r\n Through this\r\n Delink \r\n \r\n {\" \"} icon, users can unassign an equipment from the drawing. \r\n The unlinked equipment will be moved to the Unassigned tab in tabular view.\r\n

\r\n\r\n

\r\n Equipment Specific: \r\n

\r\n

\r\n All the equipment assigned to the drawing will be listed as equipment specific under this tab. \r\n The options to Edit, Delete, view/add Attachments are available under this tab.\r\n

\r\n

\r\n Edit: \r\n Selected equipment can be edited by clicking the \r\n Edit \r\n \r\n {\" \"} icon.\r\n

\r\n

\r\n Delete: \r\n Users can delete Equipment by clicking the\r\n Delete \r\n \r\n {\" \"} icon.\r\n

\r\n

\r\n Attachments: \r\n Users can view/add attachments by clicking the\r\n Attachments \r\n \r\n {\" \"} icon.\r\n

\r\n \r\n

\r\n Unassigned: \r\n

\r\n

\r\n All the unassigned equipment in the drawing will be listed under the Unassigned tab. \r\n The options to Assign Block, Edit, Delete, view/add Attachments are available under this tab.\r\n

\r\n

\r\n Assign Block: \r\n Through this Assign Block \r\n \r\n {\" \"} icon, users can assign equipment to blocks in the Drawings.\r\n

\r\n

\r\n Edit: \r\n Selected equipment can be edited by clicking the \r\n Edit \r\n \r\n {\" \"} icon.\r\n

\r\n

\r\n Delete: \r\n Users can delete Equipment by clicking the\r\n Delete \r\n \r\n {\" \"} icon.\r\n

\r\n

\r\n Attachments: \r\n Users can view/add attachments by clicking the\r\n Attachments \r\n \r\n {\" \"} icon.\r\n

\r\n\r\n \r\n )\r\n}\r\n\r\nexport default InspectionDrawingsDocument;","import { Button } from 'primereact/button';\r\nimport React from 'react'\r\nimport { BsFillPencilFill, BsPlusLg, BsTrashFill } from 'react-icons/bs';\r\nimport { FaCog, FaDownload } from 'react-icons/fa';\r\n\r\nconst InspectionContractsDocument = () => {\r\n return (\r\n <>\r\n

\r\n Contracts\r\n

\r\n\r\n

\r\n Contracts are legal agreements that are executed between Siemens and its Customers to \r\n carry out the Fire and Life Safety inspection process for the required equipment. \r\n This option allows the user to manage all inspection contracts which comes under each \r\n Sales Office. For creating a Contract, the user has Select the Customer, enter the \r\n Contract Number, Contract Name, the Start and End period of the contract, \r\n select the Sales Office associated with the Contract. A Contract can have multiple sites, \r\n and a Site can have multiple contracts (for different periods). \r\n

\r\n

\r\n The user can add/edit/delete Contracts and link Sites to the corresponding Contract \r\n using this option. \r\n

\r\n

\r\n Note: Add \r\n icon will not be displayed for Technicians as they donot have the privilege to \r\n add Contracts. \r\n

\r\n\r\n

\r\n Add: \r\n

\r\n

\r\n A new Contract can be added by clicking Add \r\n icon. User can select the Customer, enter Contract Number, Contract Name, Note, Start Date, \r\n End Date of the Contract and can select the Sales Office from the combo box, Start Date \r\n will be displayed by default as the Current Date and End Date will be displayed by \r\n default as the Current Date + 365 days. User can change the dates as required. \r\n A View Pattern link is provided next to the Contract \r\n Number field to view the valid Number Patterns for Contract Number. If the Number Pattern \r\n for United States is selected by the Customer, then Contract Number will also follow the \r\n Number Pattern for United States. Similarly if the Number Pattern for Canada is selected \r\n by the Customer, Number Pattern for Canada has to be followed in Contract Number also. \r\n Enter the required details and click Save button.\r\n

\r\n\r\n

\r\n Edit: \r\n

\r\n

\r\n Edit a Contract by selecting it and clicking the Edit \r\n {\" \"}{\" \"} icon. \r\n Make required changes and click Save Changes button to save the changes.\r\n

\r\n\r\n

\r\n Inline Edit:\r\n

\r\n

\r\n Inline edit option enables user to edit a Contract by clicking the \r\n Edit \r\n icon in the left hand side of the required row. On clicking \r\n Edit \r\n icon, the selected row will be displayed as editable and Edit icon will be replaced with Save \r\n and \r\n Cancel \r\n icon.Do the necessary changes in the required fields and click on \r\n Save \r\n icon. \r\n To cancel the Inline edit operation click on Cancel \r\n icon\r\n

\r\n\r\n\r\n

\r\n Delete: \r\n

\r\n

\r\n Delete a Contract by selecting it and clicking the\r\n Delete \r\n icon. Contracts with Inspection Tasks assigned or in use cannot be deleted.\r\n

\r\n\r\n

\r\n Download: \r\n \r\n

\r\n

\r\n This option lists Report All, Report Highlighted, Export All, Export Highlighted and \r\n Group Highlighted. \r\n

\r\n\r\n

\r\n Report All: \r\n

\r\n\r\n

\r\n This option is for generating a report with all the records in the data grid. \r\n The report can be saved to PDF, Text, Rich Text or Excel format by selecting the file \r\n format from the list under Save option, and then clicking OK button after selecting the \r\n required options from the Export Settings window.\r\n

\r\n\r\n

\r\n Report Highlighted: \r\n

\r\n\r\n

\r\n This option is for generating a report with only selected records in the grid. \r\n Select the desired rows by holding down the control key and clicking on each \r\n of the records to be selected. Users can also select a set of rows using the shift key. \r\n The selected records will be highlighted. Click on the\r\n Report Highlighted option in the\r\n Download \r\n menu to generate the report. \r\n The report will be created with the highlighted records only. The report can be saved to PDF,\r\n Text, Rich Text or Excel format by selecting the file format from the list under \r\n Save option, and then clicking OK button after selecting the required options from the \r\n Export Settings window.\r\n

\r\n\r\n\r\n

\r\n More: \r\n \r\n

\r\n\r\n

\r\n This option lists Close, Activate, Sites and Display Settings option. \r\n

\r\n\r\n

\r\n Close: \r\n

\r\n\r\n

\r\n Close a Contract by selecting it and clicking the \r\n Close option from\r\n More \r\n icon. On closing a Contract its corresponding status will be displayed as Closed in the data grid. \r\n These closed Contracts cannot be accessed through Inspection Task option. \r\n

\r\n\r\n

\r\n On closing the Contract all Systems related to the contract \r\n (created under the customer who is linked to the selected contract) and Inspection Tasks \r\n created under that contract will be closed automatically. If the Inspection Task of the \r\n selected Contract is in progress, then while closing the contract it will show a message \r\n 'Inspection Task(s) of the selected Contract is in progress, are you sure you want to close \r\n the Contract? and on clicking Yes to the message the selected contract will be closed. \r\n Inspection Tasks under a closed Contract cannot be edited/activated again.\r\n

\r\n\r\n

\r\n Activate: \r\n

\r\n\r\n

\r\n Activate a closed Contract by selecting it and clicking the \r\n Activate option from \r\n More \r\n icon. On activating a Contract its corresponding status will be changed from \r\n 'Closed' to 'Active' status, and displayed accordingly in the data grid. \r\n

\r\n\r\n

\r\n Sites: \r\n

\r\n\r\n

\r\n This option allows the users to link Sites associated to the selected Contract. \r\n On selecting this option from More \r\n icon, Update Sites page with Save Changes and Cancel buttons. \r\n By default, all active Sites of the Customer will be listed with check boxes against each and the user can edit it if necessary.\r\n

\r\n\r\n

\r\n The user can select/remove necessary Sites and click Save Changes button to save the changes.\r\n Sites that are active for an inspection cannot be removed.\r\n

\r\n\r\n

\r\n Display Settings\r\n

\r\n\r\n

\r\n This option allows the user to change the visibility of the data fields displayed in the data\r\n grid. On selecting this option, all the available data fields are displayed in a window. \r\n Display settings can be modified by selecting the required fields from the list. \r\n The grid settings modified through this option will not be saved and will be effective \r\n only for the current instance of the data grid. \r\n

\r\n\r\n

\r\n Note: Contracts will be listed for Admin, Admin-Tech, Tech and Branch Users based on their Sales Office access only.\r\n Also, while adding contract, Sales Office dropdown will list data only based on Sales Office \r\n access. Contract Number starting with '51' is not allowed allowed to have \r\n Notification Number in its Inspection Task.\r\n

\r\n \r\n \r\n );\r\n}\r\nexport default InspectionContractsDocument;\r\n","import React from \"react\";\r\nimport { Button } from \"primereact/button\";\r\nimport { BsFillPencilFill, BsPaperclip, BsPlusLg, BsTrashFill } from \"react-icons/bs\";\r\nimport { FaCog, FaDownload } from \"react-icons/fa\";\r\n\r\nconst InspectionSystemsDocument = () => {\r\n return (\r\n <>\r\n

\r\n Systems\r\n

\r\n

\r\n System is a logical grouping of one or more Equipment Groups. Inspection can be done\r\n for all equipment connected to these Equipment Groups as a single inspection task.\r\n This option is used to define Systems in a Site. A System can be associated with multiple\r\n inspection tasks, but only one inspection task can be active for a system at a time.\r\n System can be of different Equipment Group types based on whether it has a Equipment Group\r\n of type MXL/XLS/Desigo FS20/Desigo FV20/Desigo Modular/Cerberus Pro Panels or Other types.\r\n

\r\n\r\n

\r\n For MXL/XLS/Desigo FS20/Desigo FV20/Desigo Modular system/Cerberus Pro Panels,\r\n its configuration file has to be uploaded before activating the inspection task.\r\n The configuration file is an XML file containing the details of all the equipment in the\r\n System. The Inspection process of these Systems will be an automated process.\r\n The device to be tested will be triggered, and the system will send Test results,\r\n which will be received by TAP Bridge and sent to TechAdvance+ and TAP App.\r\n

\r\n\r\n

\r\n Systems with Equipment Group Type other than MXL/XLS/Desigo FS20/Desigo FV20/Desigo\r\n Modular/Cerberus Pro Panels have no configuration file or TAP Bridge interaction for\r\n inspection. The Equipment under such Systems has to be inspected manually. The connectivity\r\n of the Equipment Groups and Modules with such Systems has to be defined manually using the\r\n Connectivity option in Inspection: Inspection Tasks:\r\n Inspection Details: Equipment page while adding Devices. \r\n

\r\n\r\n

Add:

\r\n\r\n

\r\n A new System can be added by clicking Add{\" \"}\r\n \r\n {\" \"} icon. Enter the System Name, select the System Type from the combo box and\r\n Preferred Language. On selecting System Type as \"MXL\" or \"Desigo FS20\" or \"Desigo FV20\",\r\n the Networked radio buttons will be enabled with Yes/No options and Preferred Language\r\n radio buttons will be enabled with Base/Alternate options. On selecting Equipment Group\r\n Type as \"XLS\" or \"Desigo Modular\", the Networked radio buttons will be enabled with Yes / No\r\n options, \"HNET; for single node XLS, or a multi-node XLS with only one GPMI\" radio button and\r\n \"XNET; for a multi-node XLS with a least two GPMI with control, or a Management Station\r\n (NCC or DCC) and Preferred Language radio buttons will be enabled with Base / Alternate\r\n options. On selecting Equipment Group Type other than MXL/XLS/Desigo FS20/Desigo FV20/Desigo\r\n Modular/Cerberus Pro Panels”, the radio buttons in Networked and Preferred Language fields\r\n will be disabled. Select the required values and click Save button.\r\n

\r\n\r\n

Edit:

\r\n\r\n

\r\n Edit a System by selecting it and clicking the \r\n Edit \r\n \r\n {' '}icon. \r\n Make required modifications and click Save Changes button to save the\r\n changes. System data can be edited only after closing it's Inspection Task. If Equipment\r\n exists in the system, System Type cannot be changed. User has to delete inspection task for\r\n changing Equipment Group Type of the System. If a System with Active Inspection Task is\r\n selected for Edit, a confirmation message \"System cannot be edited as Active Task exists for\r\n the selected System. Do you want to close the Active Task?\" with Yes and No button will be\r\n displayed. On clicking Yes, System can be edited. After editing the System, User can\r\n re-activate the task by clicking Yes to the confirmation message to re-activate the closed\r\n Task.\r\n

\r\n\r\n

\r\n Inline Edit:\r\n

\r\n\r\n

\r\n Inline edit option enables user to edit a System by clicking the\r\n Edit \r\n \r\n {\" \"} icon in the left hand side of the required row. On clicking\r\n Edit {\" \"}\r\n \r\n {\" \"}icon, the selected row will be displayed as editable and Edit icon will be replaced with \r\n Save \r\n \r\n {\" \"} and \r\n Cancel \r\n \r\n {\" \"} icon. Do the necessary changes in the required fields and click on\r\n Save {\" \"}\r\n \r\n {\" \"} icon. \r\n\r\n To cancel the Inline edit operation click on\r\n Cancel \r\n \r\n {\" \"} icon.\r\n

\r\n\r\n\r\n

Delete: System

\r\n\r\n

\r\n Delete a System by selecting it and clicking the Delete\r\n {\" \"}\r\n \r\n {\" \"}icon. A System that is associated with an inspection task cannot be deleted.\r\n

\r\n\r\n\r\n

Delete: System Equipment Groups

\r\n\r\n

\r\n This option is used to delete unused Equipment Groups of a System. Equipment Groups linked\r\n with an Active Inspection Task cannot be deleted. This option is available only for Super\r\n Administrators.\r\n

\r\n\r\n

Delete: Unlinked Equipment Groups

\r\n\r\n

\r\n This option is used to delete unlinked Equipment Groups of a System. Systems with Equipment\r\n Group Type other than MXL/XLS/Desigo FS20/Desigo FV20/Desigo Modular/Cerberus pro Panels can\r\n only be able to Unlink. This option is available only for Super Administrators.\r\n

\r\n\r\n

Upload XML:

\r\n\r\n

\r\n XML File can be added to a selected System by selecting \r\n Upload XML File \r\n option under{\" \"} \r\n \r\n {\" \"} icon. \r\n Upload XML File options can be used to upload XML File of the System.\r\n XML files contain all the data of the Equipment Groups, Modules and Equipment which are\r\n connected and can communicate with the Equipment Group. User can upload a new XML File by\r\n delete an existing one. XML file cannot be replaced if the selected System is active for an\r\n Inspection. A System can have only one XML File. If wrong XML File is uploaded,\r\n TechAdvance+ should display a validation message.\r\n

\r\n\r\n

\r\n If a new XML file is uploaded against an existing System with Active Task\r\n (which is re-activated after uploading the new XML file), the application starts to parse\r\n the new XML and the Equipment will be imported to the server. The progress of XML importing\r\n will be shown in the Inspection Details page.\r\n

\r\n\r\n

Upload Config File:

\r\n\r\n

\r\n Configuration File can be added to a selected System by selecting\r\n Upload Config File option under{\" \"}\r\n \r\n {\" \"}icon. \r\n Upload Configuration File options can be used to upload Configuration\r\n File of the System. Configuration files contain all the data of the Equipment Groups,\r\n Modules and Equipment which are connected and can communicate with the Equipment Group.\r\n User can upload a new Configuration File by delete an existing one. Configuration file\r\n cannot be replaced if the selected System is active for an Inspection.\r\n A System can have only one Configuration File.\r\n

\r\n\r\n

\r\n Note: \r\n Only ZIP files can be uploaded as Configuration File.\r\n

\r\n\r\n

Download: {\" \"}\r\n \r\n

\r\n\r\n

\r\n This option lists Report All, Report Highlighted, Export All, Export Highlighted,\r\n Group Highlighted, Download XML and Download Config File.\r\n

\r\n\r\n

\r\n Report All: \r\n

\r\n\r\n

\r\n This option is for generating a report with all the records in the data grid.\r\n The report can be saved to PDF, Text, Rich Text or Excel format by selecting the file\r\n format from the list under Save option, and then clicking OK button after selecting\r\n the required options from the Export Settings window.\r\n

\r\n\r\n

\r\n Report Highlighted: \r\n

\r\n\r\n

\r\n This option is for generating a report with only selected records in the grid.\r\n Select the desired rows by holding down the control key and clicking on each of\r\n the records to be selected. Users can also select a set of rows using the shift key.\r\n The selected records will be highlighted. Click on the \r\n Report Highlighted \r\n option in the \r\n Download \r\n \r\n {\" \"} menu to generate the report. \r\n The report will be created with the highlighted records only. \r\n The report can be saved to PDF, Text, Rich Text or Excel format by selecting\r\n the file format from the list under Save option, and then clicking OK button after\r\n selecting the required options from the Export Settings window.\r\n

\r\n\r\n

Download XML:

\r\n\r\n

This option is to download the XML file uploaded for a System.

\r\n\r\n

Download Config File:

\r\n\r\n

\r\n This option is to download the Configuration file uploaded for a System.\r\n

\r\n\r\n

\r\n Note: Only Super Administrators can download XML File and Configuration\r\n File using Download XML/Configuration File options.\r\n

\r\n\r\n

\r\n More: {\" \"}\r\n {\" \"}\r\n

\r\n\r\n

\r\n This option lists Close, Activate, Equipment Groups, Master Data, Proven Outcomes\r\n and Display Settings option.\r\n

\r\n\r\n

Close:

\r\n\r\n

\r\n This option is used to close a System with 'Active' status. The status of the\r\n selected System will change to 'Closed' status. Close a System by selecting it and\r\n clicking the Close option from\r\n More: {\" \"}\r\n \r\n {\" \"}icon. \r\n On closing a system all the associated Inspection Tasks under\r\n that System will be closed automatically. If any Inspection Tasks of the selected\r\n System is in progress then while closing the System it will show a message\r\n 'Are you sure you want to close the selected System and it's Inspection Task?' ,\r\n and on clicking Yes to the message the selected System will be closed. Inspection\r\n Tasks under a closed system cannot be edited/activated again, without activating\r\n the System.\r\n

\r\n\r\n

\r\n Activate: \r\n

\r\n\r\n

\r\n Activate a System by selecting it and clicking the \r\n Activate \r\n option from \r\n More \r\n \r\n {\" \"}icon. \r\n This option is used to activate a System that is in 'Closed' status.\r\n

\r\n\r\n\r\n

Equipment Groups:

\r\n\r\n

\r\n Fire Alarm Equipment Groups manage and control FLS equipment. Equipment Groups are\r\n associated with a System. This option is used to update the Equipment Group list in a System.\r\n Equipment Groups can be Siemens MXL/XLS/Desigo Modular/Desigo FS20/Desigo FV20/Cerberus\r\n Pro Equipment Groups or third party Equipment Groups. MXL/XLS/Desigo Modular/\r\n Desigo FS20/Desigo FV20/Cerberus Pro Equipment Groups can be controlled using\r\n the Siemens TAP Bridge software. Third party Equipment Groups can be controlled\r\n manually by an onsite technician only.\r\n

\r\n\r\n

\r\n On selecting this option from \r\n More \r\n \r\n {\" \"}icon, the Equipment Groups that are automatically linked to the System\r\n while receiving the equipment list from the TAP Bridge will be listed. The manually\r\n added Equipment Groups, if any, will also be listed here. Equipment Groups of a System\r\n cannot be modified if the inspection task has started for the System. The user can\r\n select the required Equipment Groups and click Save Changes button to save the changes.\r\n

\r\n\r\n\r\n

\r\n Master Data:\r\n

\r\n\r\n

\r\n This option is used to view the Master Equipment Data which is the collection of all\r\n Equipment existing under different Inspection Task of a selected System. Equipment\r\n deleted from any specific Inspection Task of this selected System will not be deleted\r\n from Master Equipment Data unless there is only one Inspection Task in the System.\r\n On selecting this option, the latest updated details of Master Equipment Data\r\n associated with the selected System will be listed Equipment Group wise. A drop down\r\n ''Equipment Type' to select the Equipment Type such as AHU, Air Sampling Systems,\r\n Devices, Doors, Elevators, Emergency Communications, Emergency Lightings, Modules,\r\n Fire Pumps, Kitchen Extinguishers, NAC Panels, Sprinklers, Water Based Equipments\r\n etc is also provided, so that the Equipment list will be filtered based on the\r\n selected Equipment Type. The first Equipment Group will be selected by default\r\n and Equipment of that Equipment Group will be displayed in the grid\r\n with 'All' option selected by default in Equipment to Display drop down.\r\n   The Attachments icon allows the user to View/Download the attachments\r\n associated to each equipment.\r\n

\r\n\r\n

\r\n Proven Outcomes:\r\n

\r\n\r\n

\r\n When user click on Proven Outcomes,\r\n internally an excel will be created and send email to the logged in user.\r\n This excel contains all the details of last closed task of the selcted System.\r\n The generated excel file will have a file name, which will be in the format\r\n ‘ProvenOutcomes_[SystemName]_[FileGeneratedDateTime]’ in YYYYMMDDHH24MMSS’ format.\r\n

\r\n\r\n

The excel file may contain 6 sheets of information such as

\r\n
    \r\n
  1. \r\n Source: This is the first sheet of excel file\r\n which contains the basic information about the task in which it belongs such as Customer\r\n Name, Customer Number, Site Name, Site Number, Contract Name, Contract Number and\r\n System Name.
    \r\n
  2. \r\n
  3. \r\n System: The system sheet shows the type\r\n of equipment and quantity of each type of the last closed inspection task of the\r\n system
    \r\n
  4. \r\n
  5. \r\n Deficiencies: This excel sheet Deficiencies\r\n shows all devices which are failed, i.e, all equipment of last closed task of the\r\n system will be listed here
    \r\n
  6. \r\n
  7. \r\n Sensitivities: This excel sheet Sensitivities\r\n shows only the 10 smoke devices with highest sensitivity values
    \r\n
  8. \r\n
  9. \r\n Batteries: This excel sheet Batteries shows\r\n all NAC Equipment Groups in the last closed task. It has fields like location, address\r\n and Date Installed
    \r\n
  10. \r\n
  11. \r\n Equipment Group(s)Data: This excel sheet\r\n shows all Equipment Groups in the last closed task of the selected system as Equipment\r\n Group(s)Data.
    \r\n
  12. \r\n
\r\n\r\n
\r\n\r\n

Display Settings:

\r\n\r\n

\r\n This option allows the user to change the visibility of the data fields displayed in\r\n the data grid. On selecting this option, all the available data fields are displayed\r\n in a window. Display settings can be modified by selecting the required fields from the list.\r\n The grid settings modified through this option will not be saved and will be effective only\r\n for the current instance of the data grid.\r\n

\r\n\r\n \r\n );\r\n}\r\nexport default InspectionSystemsDocument;\r\n","import { Button } from 'primereact/button';\r\nimport React from 'react'\r\nimport { BsPaperclip, BsTrashFill } from 'react-icons/bs';\r\nimport { FaDownload } from 'react-icons/fa';\r\n\r\nconst InspectionReportsReportsDocument = () => {\r\n return (\r\n <>\r\n

\r\n Reports\r\n

\r\n\r\n\r\n

\r\n This option is for listing the Reports generated through \r\n Generate Reports option.\r\n

\r\n\r\n

\r\n On selecting this option, a page with the System drop down will be displayed with the \r\n last selected System name loaded by default. On selecting a System from the corresponding drop \r\n down, View Draft Report, View Final Report, \r\n Download Draft Report and Download Final Report \r\n buttons and with Delete{\" \"}\r\n {\" \"} and \r\n Attachments (Upload Final Report) {\" \"}\r\n {\" \"} icons and \r\n Download {\" \"}\r\n {\" \"} menu. The page will display details like 'Template', 'Report by', 'Group(s)', 'Customer', 'Contract', 'Building Name(s)', 'Date & Time Created', 'Created by', \r\n 'Date & Time Uploaded', 'Added by', 'Send to Service Portal'.\r\n

\r\n\r\n

\r\n View Draft Report:\r\n

\r\n

\r\n This option is to view the Draft Report of the selected Report. To view the Draft Report, \r\n select View Draft Report \r\n button after selecting the required report. The Drafted Report will be displayed without \r\n downloading them. \r\n

\r\n\r\n

\r\n View Final Report:\r\n

\r\n

\r\n This option is to view the Final Report of the selected Report.To view the Final Report, \r\n select View Final Report \r\n option after selecting the required report. The Final Report will be displayed without \r\n downloading them.\r\n

\r\n\r\n

\r\n Download Draft Report: \r\n

\r\n

\r\n This option is to view the Draft Report of the selected Report. On clicking \r\n Download Draft Report button, \r\n the Drafted Reports generated for the selected System will be downloaded to the user's computer. \r\n

\r\n\r\n

\r\n Download Final Report: \r\n

\r\n

\r\n This option is to view the Final Report of the selected Report. To download the final report, \r\n select Download Final Report \r\n option after selecting the required report. The Final Report uploaded for the selected report \r\n will be downloaded to the user's computer. \r\n

\r\n\r\n\r\n

\r\n Multiple Drafted / Final Reports can be downloaded as ZIP file\r\n

\r\n\r\n

\r\n Delete: \r\n

\r\n

\r\n User can delete the selected report using \r\n Delete{\" \"}\r\n {\" \"} icon.\r\n

\r\n

\r\n Upload Final Report:\r\n

\r\n

\r\n User can upload the Final Reports through Attachments{\" \"}\r\n {\" \"} icon. On selecting Upload Final Report {\" \"}\r\n {\" \"} icon, Upload Final Report window will be displayed with the option to browse \r\n for the required file. Select the appropriate file and click Upload button. \r\n

\r\n\r\n \r\n );\r\n}\r\nexport default InspectionReportsReportsDocument;\r\n","import React from 'react'\r\n\r\nconst InspectionReportsGenerateReportsDocument = () => {\r\n return (\r\n <>\r\n

\r\n Generate Reports\r\n

\r\n

\r\n This option is used to Generate Inspection Reports for the \r\n selected Equipment Group/ Building/ System.\r\n

\r\n

\r\n The Reports mapped against the Inspection task will be listed. \r\n Users can provide details and generate required reports and \r\n upload the Final Reports.\r\n

\r\n

\r\n User can select the System from the corresponding drop down. \r\n Based on the selection, the Equipment Group of the selected \r\n System and the Reports associated to it (if any) will be \r\n listed in Equipment Group and Report list boxes with checkbox \r\n against it. User can select the required Reports and edit the \r\n Start Date and End Date according to the Inspection Start date \r\n and End date. By default the Start will be populated with a \r\n date 2 weeks prior to the current date. After selecting all \r\n required data, click Generate button. \r\n If the user generate multiple reports with same date range, \r\n all reports will be generated and saved in Drafted Reports.\r\n

\r\n

\r\n If user selects 'Send Log file to mail while generating \r\n reports' checkbox while generating reports, Log file will be \r\n send to logged in user's email. This option is available only \r\n for Super Administrators. \r\n

\r\n\r\n

\r\n Note: \r\n Branch Details are mandatory for generating reports and Branch \r\n details should be updated from \r\n Inspection: Inspection Tasks: Inspection Details: Contracts.\r\n

\r\n\r\n \r\n );\r\n}\r\nexport default InspectionReportsGenerateReportsDocument;\r\n","import React from 'react'\r\n\r\nconst SearchDocument = () => {\r\n return (\r\n <>\r\n

Search

\r\n\r\n

\r\nSearch option enables Global Search of Sites, Contracts, \r\nSystems and Inspection Tasks. The different menu options that are \r\navailable under Search menu are Sites, Contracts, Systems, Inspection \r\nTasks, Notification Number and Search User.\r\n

\r\n\r\n\r\n );\r\n}\r\nexport default SearchDocument;\r\n","import React from 'react'\r\nimport { Button } from 'react-bootstrap'\r\n\r\nconst SearchSiteDocument = () => {\r\n return (\r\n <>\r\n\r\n

Search - Site

\r\n

\r\n Site Search option allows the user to search for the required Site. \r\n User can type minimum three characters of the Site Name / Site Number \r\n in the text box provided and select the required Site from the list displayed. \r\n Click on Search {\" \"}\r\n\r\n {\" \"}\r\n\r\n icon. The page will be redirected to Administration: Sites \r\n page where the selected Site will be listed.\r\n

\r\n\r\n\r\n );\r\n}\r\nexport default SearchSiteDocument;","import React from 'react'\r\nimport { Button } from 'react-bootstrap'\r\n\r\nconst SearchCustomerDocument = () => {\r\n return (\r\n <>\r\n

Search - Customer

\r\n \r\n

\r\n Customer Search option allows the user to search \r\n for the required Customer. User can type minimum three \r\n characters of the Customer Name / Customer Number in the \r\n text box provided and select the required Contract from the \r\n list displayed. Click on Search {\" \"}\r\n \r\n {\" \"} \r\n \r\n icon. The page will be redirected to Inspection: Contracts \r\n page where the selected Customer will be listed.\r\n

\r\n \r\n \r\n );\r\n}\r\nexport default SearchCustomerDocument;\r\n","import React from 'react'\r\nimport { Button } from 'react-bootstrap'\r\n\r\nconst SearchContractDocument = () => {\r\n return (\r\n <>\r\n

Search - Contract

\r\n \r\n

\r\n Contract Search option allows the user to search for the required Contract. \r\n User can type minimum three characters of the Contract Name / Contract \r\n Number in the text box provided and select the required Contract from the list displayed. Click on \r\n Search {\" \"}\r\n\r\n {\" \"} \r\n\r\n icon. The page will be redirected to \r\n Inspection: Contracts \r\n page where the selected Contract will be listed.\r\n

\r\n \r\n \r\n );\r\n}\r\nexport default SearchContractDocument;\r\n","import React from 'react'\r\nimport { Button } from 'react-bootstrap'\r\n\r\nconst SearchSystemDocument = () => {\r\n return (\r\n <>\r\n\r\n

Search - System

\r\n

\r\n System Search option allows the user to search for the required System. \r\n User can type minimum three characters of the System Name in the text \r\n box provided and select the required System from the list displayed. Click on \r\n Search {\" \"}\r\n\r\n {\" \"}\r\n \r\n icon. The page will be redirected to \r\n Inspection: Systems \r\n page where the selected System will be listed.\r\n

\r\n \r\n \r\n );\r\n}\r\nexport default SearchSystemDocument;\r\n","import React from 'react'\r\nimport { Button } from 'react-bootstrap'\r\n\r\nconst SearchInspectionTaskDocument = () => {\r\n return (\r\n <>\r\n

Search - Inspection Task

\r\n

\r\n Inspection Tasks Search option allows the user to search for \r\n Inspection Tasks. User can type minimum three characters of the \r\n Inspection Task Name in the text box provided and select the required \r\n Inspection Task from the list displayed. Click on \r\n Search {\" \"}\r\n\r\n {\" \"}\r\n\r\n icon. The page will be redirected to \r\n Inspection: Inspection Tasks \r\n where the selected Inspection Task will be listed.\r\n

\r\n \r\n \r\n );\r\n}\r\nexport default SearchInspectionTaskDocument;\r\n","import React from 'react'\r\nimport { Button } from 'react-bootstrap'\r\n\r\nconst SearchNotificationNumberDocument = () => {\r\n return (\r\n <>\r\n

Search - Notification Number

\r\n

\r\n Notification Number Search option allows the user to search \r\n Inspection Tasks with Notification Number. User can type \r\n minimum three characters of the Notification Number in the text \r\n box provided and select the required Notification Number from the list displayed. Click on \r\n Search {\" \"}\r\n \r\n {\" \"}\r\n \r\n icon. The page will be redirected to \r\n Inspection: Inspection Tasks \r\n where the selected Inspection Task with selected Notification Number will be listed.\r\n

\r\n \r\n \r\n );\r\n}\r\nexport default SearchNotificationNumberDocument;\r\n","import React from 'react'\r\nimport { Button } from 'react-bootstrap'\r\n\r\nconst SearchUserDocument = () => {\r\n return (\r\n <>\r\n\r\n

Search - User

\r\n\r\n

\r\n User Search option allows the user to search for User.\r\n User can type minimum three characters of the Users Name in\r\n the text box provided and select the required User from the list\r\n displayed. Click on Search {\" \"}\r\n\r\n {\" \"}\r\n\r\n icon. The page will be redirected to\r\n Administration: Users page where the\r\n selected User will be listed in the corresponding User Role menu.\r\n

\r\n\r\n \r\n\r\n );\r\n}\r\n\r\nexport default SearchUserDocument;\r\n","import React from \"react\";\r\n\r\nconst AsBuiltsDocument = () => {\r\n return (\r\n <>\r\n

\r\n Overview of As Builts\r\n

\r\n\r\n

\r\n Tech Advance+ As Builts module provides an online secure central repository of drawings,\r\n organized by site, building, floor and discipline. It facilitates sharing of drawings with professionals\r\n like engineers, construction managers, project managers, etc.\r\n Stakeholders who are given access privileges to these drawings can markup the drawings with their ideas and\r\n comments for discussion and make decisions. As Builts module also provides for controlling revisions,\r\n keeping track of all the changes that occur, and maintaining an archive of all past versions.\r\n When a user logs in for the first time, no Site will be selected by default.\r\n Once a user has logged in and selected a Site through the link\r\n \"Site: 'Selected Site' [Change]\" \r\n provided on the top of the screen, for all subsequent logins, the last selected Site will be selected by default.\r\n Users have to ensure that the required Site is displayed against the Selected Site at the top of the screen before\r\n doing any Site specific operations like adding Buildings, Floors, Drawings etc...\r\n

\r\n \r\n\r\n \r\n );\r\n}\r\n\r\nexport default AsBuiltsDocument;","import React from \"react\";\r\nimport { Button } from 'primereact/button';\r\nimport { BsPlusLg, BsFillPencilFill, BsTrashFill, BsFillEyeFill, BsPencil, BsCloud } from 'react-icons/bs';\r\nimport { FaCog, FaDownload, FaChevronDown, FaBackward, FaSlash } from 'react-icons/fa';\r\nimport { IoEllipseOutline } from \"react-icons/io5\";\r\nimport { AiOutlineDoubleLeft } from \"react-icons/ai\";\r\nimport { BiRectangle, BiMove, BiText, BiDotsVertical } from \"react-icons/bi\";\r\nimport { FiEdit, FiSave } from \"react-icons/fi\";\r\nimport { HiOutlinePencilAlt } from \"react-icons/hi\";\r\n\r\nconst AsBuiltsDrawingsDocument = () => {\r\n return (\r\n <>\r\n

Drawings

\r\n

\r\n All drawings will be listed with details of Site, Building, Floor, Category, Type, Description,\r\n DWG file names, DWG file sizes, Uploaded By, Uploaded On, Revisions, Mark ups.\r\n The list can be sorted on any column by clicking the column headers.\r\n Through this option Users can Add, Edit Description, Delete, View and Download drawings.\r\n Revise, Replace, List Revisions, List Markups and Display Settings are grouped under\r\n More icon in Drawings. On clicking Drawings menu, drawings added if any will be listed in a grid.\r\n

\r\n\r\n

Building:

\r\n

\r\n All Buildings will be listed as dropdown in this option.\r\n Users can select the building and corresponding Drawing from this option.\r\n

\r\n\r\n

Expand Drawing:

\r\n

\r\n Expand Drawing \r\n \r\n {\" \"}and\r\n Expand Table \r\n \r\n {\" \"} icons are provided in the Left Hand side of the Drawing list.\r\n Expand Drawing \r\n {\" \"} icon enables user to view the selected Drawing \r\n and helps the user to expand the Drawing/Drawing List or view both together in the window. \r\n

\r\n\r\n

Add Drawing:

\r\n

\r\n This option is for uploading Drawings to Tech Advance+ repository.\r\n Click Add \r\n {\" \"} icon.\r\n Add Drawing window will be displayed with the building selected and\r\n Add \r\n {\" \"}\r\n icon displayed against floor field.\r\n

\r\n\r\n

Edit Description:

\r\n

\r\n Description of a drawing can be edited through this option.\r\n Select the required drawing from the list and click\r\n Edit Description \r\n {\" \"} icon.\r\n Edit Description window will be displayed.\r\n Description entered can be edited and the changes can be saved by clicking the Save Changes button.\r\n

\r\n\r\n

Delete:

\r\n

\r\n This option is for deleting a drawing from the repository. Select the drawing to be deleted and click\r\n Delete \r\n {\" \"} icon.\r\n A confirmation message will be displayed.\r\n Click Yes to delete the drawing and the drawing will be removed from the repository.\r\n The current version (latest version) of this drawing and all its mark-ups will be deleted.\r\n

\r\n\r\n

View Drawing:

\r\n

\r\n This option is to view the selected drawing in the browser.\r\n Options are provided to save/export/print the current view of the drawing file.\r\n Users can add comments and markup the drawing with different shapes,\r\n including free hand sketches, and save them to the repository.\r\n Select the drawing to be viewed and click\r\n View \r\n \r\n {\"\"} icon and the selected file will be opened up in the Browser.\r\n

\r\n\r\n

\r\n Type Tool: \r\n Through this Type Tool \r\n \r\n {\" \"} icon, users can add text in the drawing.\r\n

\r\n\r\n

\r\n Edit Comment: \r\n Through this Edit Comment \r\n \r\n {\" \"} icon, Users can edit text in the Drawing.\r\n

\r\n\r\n

\r\n Callout: \r\n To add text comments on the drawing, click on the\r\n Add Comment \r\n icon in the toolbar above the drawing.\r\n On clicking this icon, the cursor turns to a cross.\r\n Click on the drawing where the comment is to be placed,\r\n to create a text box by clicking the corresponding checkboxes.\r\n Enter the comment in the text box that shows up and click Save button.\r\n

\r\n\r\n

\r\n Edit Callout: \r\n The comments once added can be edited by selecting the comment to be edited after clicking the\r\n Edit Comment \r\n \r\n {\" \"} icon. Edit the changes in the comment in the text box that shows up and\r\n click Save button to update the comment. Click the Save \r\n \r\n {\" \"} icon to save the changes done in the comments in the current Drawing.\r\n

\r\n\r\n

\r\n Comment Colour: \r\n This option helps to select the required colour with which comment need to be displayed.\r\n

\r\n\r\n

\r\n Rectangle: \r\n Using this Rectangle \r\n \r\n {\" \"} icon, user can draw rectangular mark ups\r\n by clicking on a specific point and dragging to the required size.\r\n

\r\n\r\n

\r\n Ellipse: \r\n Users can draw elliptical mark up in the drawing using this\r\n Ellipse \r\n \r\n {\" \"} icon. Ellipse can be drawn by clicking on a specific point and dragging to the required size.\r\n

\r\n\r\n

\r\n Line: \r\n Users can draw mark ups as Lines using this\r\n Line \r\n \r\n {\" \"} icon in the Drawing.\r\n

\r\n\r\n

\r\n Cloud: \r\n Using this Cloud \r\n \r\n {\" \"} icon, Users can add mark ups as in the form of Cloud in the Drawing.\r\n

\r\n\r\n

\r\n Free Hand: \r\n Users can use free hand Drawing or any shape using this\r\n Free Hand \r\n \r\n {\" \"} icon.\r\n

\r\n\r\n

\r\n Move: \r\n Mark ups and comments can be moved using this option.\r\n Click on the Move \r\n \r\n {\" \"} icon, the cursor changes to a box shape.\r\n Select the markup to be moved by bringing the box cursor over the markup and clicking on it.\r\n After selection, when the cursor is moved, a rubber band like line will appear showing the line of movement.\r\n Click on the location where the Markup is to be placed.\r\n The Markup will be moved to the new place.\r\n

\r\n\r\n

\r\n Delete: \r\n Unsaved Mark ups or comments can be deleted using this option.\r\n Click Delete \r\n {\" \"}\r\n {\" \"}icon, the cursor changes to a box shape. Click on the Markup to be deleted.\r\n A confirmation message will be displayed.\r\n Click Yes to the confirmation message, the selected Markup will get deleted.\r\n

\r\n\r\n

\r\n Save: \r\n After creating comments and mark ups, click on the\r\n Save \r\n \r\n {\" \"} icon to save the markup.\r\n A description about the markup also needs be entered, and on clicking the Save button\r\n the comments and markup added will be saved. On saving the markup each time,\r\n it is saved in a different file. All markups are listed and can be viewed through the\r\n Drawings: More: List Markups menu option.\r\n

\r\n\r\n

\r\n Download: \r\n On clicking Download \r\n \r\n {\" \"} icon, users can download the drawing in the format of their choice.\r\n Available formats include BMP, DWF, DXB, DXF, JPEG, PDF, and SVG.\r\n

\r\n\r\n

\r\n Back: \r\n On clicking Back \r\n \r\n {\" \"} icon in the View Drawing page, User can go back to the Drawing List page.\r\n

\r\n\r\n

More:

\r\n

\r\n This option lists Revise, Replace, List Revisions, List Markups and Display Settings option.\r\n

\r\n\r\n

Revise:

\r\n

\r\n This option is for adding revision for an existing drawing.\r\n Select a drawing to be revised from the list and click on\r\n Revise option from\r\n More \r\n icon.\r\n Building, Floor and Drawing Category will be displayed as read only.\r\n Enter a new description or modify the existing description appropriately for the revised drawing if required,\r\n and choose the DWG file to be uploaded. (Browse the file location by clicking Browse button)\r\n The DWG file name must be the same, except for the extensions. Click on Upload button to\r\n add new drawing to the repository.\r\n This will be saved as a revised drawing of the selected building, floor and category.\r\n Any number of revisions can be made to the drawing. The latest revised drawing will be\r\n set by default as the current version of the corresponding building, floor and category.\r\n

\r\n\r\n

Replace:

\r\n

\r\n This option is to replace the existing drawing.\r\n Select a drawing to be replaced from the list and click on\r\n Replace option from\r\n More \r\n icon.\r\n Building, Floor, Drawing Category and Revision Number will be displayed as read only.\r\n The Description can be edited if required, and choose the DWG file to be uploaded.\r\n (Browse the file location by clicking Browse button) The DWG file name must be the same,\r\n except for the extensions. Click on Upload button to add new drawing to the repository.\r\n

\r\n\r\n

List Revisions:

\r\n

\r\n On clicking List Revisions option from\r\n More \r\n {\" \"}\r\n icon in the Drawing page, the revisions added to the drawing will be listed in a grid.\r\n Different menu options like Edit Description, and View to manage the revisions are also available.\r\n

\r\n

\r\n Edit Description: \r\n Description of a revised drawing can be edited through this option.\r\n Select the required drawing from the list and click Edit Description \r\n {\" \"} icon.\r\n Edit Description window will be displayed.\r\n Description entered can be edited and the changes can be saved by clicking the Save Changes button.\r\n

\r\n

\r\n View: \r\n This option is to view the selected drawing in the browser.\r\n Drawing can be viewed by clicking View Drawing \r\n \r\n {\" \"} icon in the Revisions list page.\r\n Options are provided to save/export/print the current view of the drawing file.\r\n Users can add comments and markup the drawing with different shapes,\r\n including free hand sketches, and save them to the repository.\r\n

\r\n\r\n

List Markups:

\r\n

\r\n On clicking List Markups option from\r\n More \r\n \r\n {\" \"} icon, all mark ups available for the drawing will be listed in a grid.\r\n Different menu options like Edit, Delete, View to manage the mark ups are also available.\r\n

\r\n\r\n

\r\n Edit: \r\n Description of a Mark up can be edited through this option.\r\n Select the required Mark up file from the list and click Edit \r\n {\" \"} icon.\r\n Edit Description window will be displayed. Description entered can be edited and the changes\r\n can be saved by clicking the Save Changes button.\r\n

\r\n\r\n

\r\n Delete: \r\n This option is to delete the mark up file added to a Drawing.\r\n

\r\n\r\n

\r\n View: \r\n This option is to view the selected drawing in the browser.\r\n Drawing can be viewed by clicking View \r\n {\" \"} icon in the mark ups list page.\r\n Options are provided to save/export/print the current view of the drawing file.\r\n Users can add comments and mark up the drawing with different shapes,\r\n including free hand sketches, and save them to the repository.\r\n

\r\n\r\n

Display Settings:

\r\n

\r\n This section provides options for the user to modify his default display settings for data items.\r\n Changes made here will not be saved and will be effective only for the current instance of the data grid.\r\n

\r\n \r\n );\r\n}\r\n\r\nexport default AsBuiltsDrawingsDocument;","import React from \"react\";\r\nimport { Button } from \"primereact/button\";\r\nimport { BsPlusLg } from \"react-icons/bs\";\r\n\r\nconst SecuritySettingsDocument = () => {\r\n return (\r\n <>\r\n

\r\n Security Settings\r\n

\r\n

\r\n Options for setting the Password Policy and Mail Domains are\r\n grouped under Security Settings option.\r\n

\r\n\r\n

\r\n Password Policy\r\n

\r\n

\r\n This option allows the Super Administrators to define a password policy for enhancing\r\n the security by imposing some conditions on the creation of passwords by the users.\r\n The following conditions are provided in the Password policy setup. Password policy\r\n once set is applicable to the entire application irrespective of the selected customer.\r\n

\r\n\r\n

\r\n Password Requirements\r\n

\r\n

\r\n This section is for setting the Password for Users.\r\n Following are requirements to be met while creating the Password.\r\n

\r\n\r\n

\r\n Minimum length of the password:- \r\n The minimum length of the password can be specified using this option. \r\n This can be set from 8 to 30.\r\n

\r\n\r\n

\r\n Case sensitive:- \r\n Through this option, it can be specified whether the password is case sensitive or not.\r\n

\r\n\r\n

\r\n Requires at least one upper case character:- \r\n If this option is checked, \r\n then the password entered should have at least one upper case character (capital letter).\r\n

\r\n\r\n

\r\n Requires at least one lower case character:- \r\n If this option is checked, \r\n then the password entered should have at least one lower case character (small letter).\r\n

\r\n\r\n

\r\n Requires at least one non-alphanumeric character:- \r\n If this option is checked, \r\n then the password entered should have at least one special character like @, #, $, *, etc.\r\n

\r\n\r\n

\r\n Requires at least one numeric character:- \r\n If this option is checked, \r\n then the password entered should have at least one numeric character (0-9).\r\n

\r\n\r\n

\r\n Password expiry:- \r\n Two options are provided for password expiry - Password Never Expires and Expire after ( ) days. \r\n If the set option is \r\n Password Never Expires \r\n by disabling the Enable option in Password Expiry section, then the password will never expire, \r\n otherwise the password will expire after the number of days entered in the text box. \r\n If the password has expired, the system will display 'Your password has expired' at the \r\n user's next login and prompt the user to change the password\r\n

\r\n\r\n

\r\n Lock inactive Accounts:- \r\n This option is used to set a policy for making the user account inactive if not logged in for a set period. \r\n The Administrator can specify whether the user account has to be locked if the account is inactive \r\n for the specified number of days or Account Never locked if the account is inactive. \r\n

\r\n \r\n

\r\n If Auto Disable Inactive Account is enabled / selected, the locked user account will be \r\n enabled automatically after the Account inactive period specified in the policy has elapsed.\r\n

\r\n\r\n

\r\n Delete inactive Accounts:- \r\n This option is used to set a policy for making the user account \r\n inactive if not logged in for a set period. The Administrator can \r\n specify whether the user account has to be Deleted if the account is \r\n inactive for the specified number of days or Account Never Deleted if the account is inactive.\r\n

\r\n\r\n

\r\n If Auto Delete Inactive Account is enabled/selected, \r\n the inactive user account will be deleted automatically \r\n after the Account inactive period specified in the policy has elapsed.\r\n

\r\n\r\n

\r\n Minimum time between password changes:- \r\n This is the minimum time interval needed between two password changes. \r\n Once a user has changed his/her password, the user will be allowed \r\n to change the password again only after the specified time interval.\r\n

\r\n\r\n

\r\n Number of previous passwords that cannot be reused:- \r\n By specifying a number 'n' here, it can be ensured that when a user changes his/her password, \r\n it will be different from the past 'n' passwords.\r\n

\r\n\r\n

\r\n Maximum number of consecutive failed attempts before the account gets locked:- \r\n This option is used to lock the user's account if the user has entered wrong passwords \r\n for the specified number of consecutive attempts within a set Time Interval.\r\n

\r\n\r\n

\r\n Time Interval for counting failed attempts to lock the account:- \r\n This is the Time Interval within which consecutive failed attempts can lock an account.\r\n

\r\n\r\n

\r\n Account locked out period:- \r\n This option is used to specify a time period for keeping a user account disabled once it gets locked \r\n due to repeated failed attempts to login as defined by the two options defined above. \r\n The locked user account will be enabled automatically after the lock period specified here has elapsed.\r\n

\r\n\r\n

\r\n Click Save Changes button to save the changes. \r\n After a password policy change, when a user logs in, \r\n if his/her password does not comply with the new password policy, \r\n he/she will be prompted to change the password.\r\n

\r\n\r\n

Mail Domains

\r\n

\r\n This option is used to define email domains for the customer. \r\n Emails created with the defined domains only will be accepted for Tech Advance+ users. \r\n This option allows the Administrators to identify the authenticated mail domains and helps to \r\n eliminate mails from the system to unauthorized domains. \r\n

\r\n\r\n

\r\n Add:\r\n

\r\n

\r\n A new mail domain can be added by clicking the {' '}\r\n Add \r\n icon.\r\n

\r\n\r\n

\r\n Edit: \r\n

\r\n

\r\n Super Administrators can edit a mail domain by clicking {' '}\r\n {' '}\r\n icon on the right side of the mail domain and selecting \r\n Edit option from it.\r\n

\r\n\r\n

\r\n Delete:\r\n

\r\n

\r\n Super Administrators can delete a mail domain by clicking {' '}\r\n {' '} on the right side of the mail domain and selecting the \r\n Delete option from it. \r\n Only mail domains which are not in use can be deleted.\r\n

\r\n\r\n \r\n )\r\n}\r\n\r\nexport default SecuritySettingsDocument;","import React from \"react\";\r\n\r\nconst PasswordPolicyDocument = () => {\r\n return (\r\n <>\r\n

\r\n Security Settings - Password Policy\r\n

\r\n

\r\n This option allows the Super Administrators to define a password policy for\r\n enhancing the security by imposing some conditions on the creation of passwords by the users.\r\n The following conditions are provided in the Password policy setup.\r\n Password policy once set is applicable to the entire application irrespective of the selected customer.\r\n

\r\n\r\n

Password Requirements\r\n

\r\n\r\n

\r\n This section is for setting the Password for Users.\r\n Following are requirements to be met while creating the Password.\r\n

\r\n\r\n

\r\n Minimum length of the password\r\n :-The minimum length of the password can be specified using this option.This can be set from 8 to 30.\r\n

\r\n\r\n

\r\n Case sensitive\r\n :- Through this option, it can be specified whether the password is case sensitive or not.\r\n

\r\n\r\n

\r\n Requires at least one upper case character\r\n :-If this option is checked, then the password entered should have at least one upper case character\r\n (capital letter).\r\n

\r\n\r\n

\r\n Requires at least one lower case character\r\n :- If this option is checked, then the password entered should have at least one lower case character\r\n (small letter).\r\n

\r\n\r\n

\r\n Requires at least one non-alphanumeric character\r\n :- If this option is checked, then the password entered should have at least one special character like \r\n @, #, $, *, etc.\r\n

\r\n\r\n

\r\n Requires at least one numeric character\r\n :- If this option is checked, then the password entered should have at least one numeric character (0-9).\r\n

\r\n\r\n

\r\n Password expiry\r\n :- Two options are provided for password expiry - Password Never Expires and Expire after ( ) days. \r\n If the set option is \r\n Password Never Expires by disabling the Enable option in Password Expiry section,\r\n then the password will never expire, otherwise the password will expire after the number of days entered in the \r\n text box.If the password has expired, the system will display 'Your password has expired' at the user's next login \r\n and prompt the user to change the password\r\n

\r\n\r\n

Lock inactive Accounts\r\n :- This option is used to set a policy for making the user account inactive if not logged in for a set period.\r\n The Administrator can specify whether the user account has to be locked if the account is inactive for the specified\r\n number of days or Account Never locked if the account is inactive.\r\n

\r\n\r\n

If Auto Disable Inactive Account is enabled / selected, the locked user account will be enabled automatically after\r\n the Account inactive period specified in the policy has elapsed.\r\n

\r\n\r\n

Delete inactive Accounts\r\n :- This option is used to set a policy for making the user account inactive if not logged in for a set period.\r\n The Administrator can specify whether the user account has to be Deleted if the account is inactive for the specified\r\n number of days or Account Never Deleted if the account is inactive.\r\n

\r\n\r\n

If Auto Delete Inactive Account is enabled/selected, the inactive user account will be deleted automatically after\r\n the Account inactive period specified in the policy has elapsed.\r\n

\r\n\r\n

\r\n Minimum time between password changes\r\n :- This is the minimum time interval needed between two password changes. Once a user has changed his/her\r\n password,the user will be allowed to change the password again only after the specified time interval.\r\n

\r\n\r\n

\r\n Number of previous passwords that cannot be reused\r\n :- By specifying a number 'n' here, it can be ensured that when a user changes his/her password, \r\n it will be different from the past 'n' passwords.\r\n

\r\n\r\n

\r\n Maximum number of consecutive failed attempts before the account gets locked\r\n :- This option is used to lock the user's account if the user has entered wrong passwords for the specified \r\n number of consecutive attempts within a set Time Interval.\r\n

\r\n\r\n

\r\n Time Interval for counting failed attempts to lock the account\r\n :- This is the Time Interval within which consecutive failed attempts can lock an account.\r\n

\r\n\r\n

\r\n Account locked out period\r\n :- This option is used to specify a time period for keeping a user account disabled once it gets locked due \r\n to repeated failed attempts to login as defined by the two options defined above. The locked user account will be \r\n enabled automatically after the lock period specified here has elapsed.\r\n

\r\n\r\n

\r\n Click Save Changes button to save the changes. After a password policy change, when a user logs in, if his/her password\r\n does not comply with the new password policy, he/she will be prompted to change the password.\r\n

\r\n\r\n \r\n );\r\n}\r\nexport default PasswordPolicyDocument;","import React from \"react\";\r\nimport { Button } from \"primereact/button\";\r\nimport { BsPlusLg } from \"react-icons/bs\";\r\n\r\nconst MailDomainsDocument = () => {\r\n return (\r\n <>\r\n

\r\n Mail Domains\r\n

\r\n

\r\n This option is used to define email domains for the customer. \r\n Emails created with the defined domains only will be accepted for Tech Advance+ users. \r\n This option allows the Administrators to identify the authenticated mail domains and helps to \r\n eliminate mails from the system to unauthorized domains. \r\n

\r\n\r\n

\r\n Add:\r\n

\r\n

\r\n A new mail domain can be added by clicking the {' '}\r\n Add \r\n icon.\r\n

\r\n\r\n

\r\n Edit:\r\n

\r\n

\r\n Super Administrators can edit a mail domain by clicking {' '} \r\n {' '}\r\n icon on the right side of the mail domain and selecting \r\n Edit option from it.\r\n

\r\n\r\n

\r\n Delete:\r\n

\r\n

\r\n Super Administrators can delete a mail domain by clicking {' '}\r\n {' '}\r\n on the right side of the mail domain and selecting the \r\n Delete option from it. \r\n Only mail domains which are not in use can be deleted.\r\n

\r\n \r\n );\r\n}\r\nexport default MailDomainsDocument;","import React from \"react\";\r\nimport { Button } from \"primereact/button\";\r\nimport { BsFillPencilFill, BsPlusLg, BsTrashFill } from \"react-icons/bs\";\r\nimport { FaCog, FaDownload } from \"react-icons/fa\";\r\n\r\nconst OrganizationSettingsDocument = () => {\r\n return (\r\n <>\r\n \r\n

\r\n Organizational Settings\r\n

\r\n\r\n\r\n

\r\n Options to manage Zone, Sales Offices and Branch Offices are provided under Organizational Settings menu.\r\n

\r\n\r\n

Zone

\r\n\r\n

\r\n This option is used to define the geographical area where the Sales Offices are situated. \r\n Super Administrator can add/edit/delete the Zone details and link Sales Office to a Zone through the Sales Office page. \r\n

\r\n\r\n

\r\n Add: \r\n

\r\n\r\n

\r\n Zone can be added by clicking Add {' '}\r\n {' '} icon.\r\n Select a country and enter the Zone Name and Code. Click Save button. \r\n

\r\n\r\n

\r\n Edit: \r\n

\r\n\r\n

\r\n Edit a Zone by selecting it and clicking the Edit {' '}\r\n {' '} icon. \r\n Make required changes and click Save Changes button to save the changes.\r\n

\r\n\r\n

\r\n Delete: \r\n

\r\n\r\n

\r\n Delete a Zone by selecting it and clicking the Delete {\" \"}\r\n {\" \"} icon. \r\n Zone that is linked to a Sales Office cannot be deleted.\r\n

\r\n\r\n\r\n

\r\n Download {\" \"}\r\n {\" \"}\r\n

\r\n \r\n \t

\r\n This option lists Report All, Report Highlighted, Export All, Export Highlighted and Group Highlighted. \r\n

\r\n\r\n

\r\n Report All: \r\n

\r\n\r\n

\r\n This option is for generating a report with all the records in the data grid. \r\n The report can be saved to PDF, Text, Rich Text or Excel format by selecting the file format from the list under Save option, \r\n and then clicking OK button after selecting the required options from the Export Settings window.\r\n

\r\n\r\n

\r\n Report Highlighted: \r\n

\r\n

\r\n This option is for generating a report with only selected records in the grid. \r\n Select the desired rows by holding down the control key and clicking on each of the records to be selected. \r\n Users can also select a set of rows using the shift key. The selected records will be highlighted. \r\n Click on the Report Highlighted option in the Download {\" \"}\r\n {\" \"} menu to generate the report. \r\n The report will be created with the highlighted records only. \r\n The report can be saved to PDF, Text, Rich Text or Excel format by selecting the file format from the list under Save option, \r\n and then clicking OK button after selecting the required options from the Export Settings window.\r\n

\r\n\r\n

\r\n More {\" \"}\r\n {\" \"} \r\n

\r\n

\r\n This option list only Display Settings option\r\n

\r\n\r\n

\r\n Display Settings: \r\n

\r\n

This option allows the user to change the visibility of the data fields displayed in the data grid. \r\n On selecting this option, all the available data fields are displayed in a window. \r\n Display settings can be modified by selecting the required fields from the list. \r\n The grid settings modified through this option will not be saved and will be effective only for the current instance of the data grid. \r\n

\r\n\r\n\r\n

Sales Office

\r\n

\r\n This option allows the Super Administrator to Add/Edit/Delete Sales Office and assigns each Sales Office to a Zone. \r\n Administrators can also link Technicians to Sales Office(s) through this option. \r\n Sales Office manages the Contracts that are part of inspection. \r\n A Contract will have exactly one Sales Office and it will be under that particular Sales Office. \r\n A Sales Office can have one or more Branch Offices. All Sales Offices added will be listed in this page. \r\n

\r\n\r\n

\r\n Add: \r\n

\r\n

\r\n Sales Office can be added by clicking Add {' '}\r\n {' '}icon. \r\n Enter the Name, Code and select a Zone for the Sales Office from the Zone drop down box. Click Save button.\r\n

\r\n\r\n

\r\n Edit:

\r\n

\r\n Edit the details of a Sales Office by selecting it and clicking the \r\n Edit {' '}\r\n {' '}icon. \r\n Make required changes and click Save Changes button to save the changes.\r\n

\r\n\r\n \t

\r\n Delete: \r\n

\r\n

\r\n Delete a Sales Office by selecting it and clicking the \r\n Delete {\" \"}\r\n {\" \"} icon. \r\n Sales Office that is active for an Inspection cannot be deleted.\r\n

\r\n\r\n\r\n

\r\n Download {\" \"}\r\n {\" \"}\r\n

\r\n \r\n

\r\n This option lists Report All, Report Highlighted, Export All, Export Highlighted and Group Highlighted. \r\n

\r\n\r\n

\r\n Report All: \r\n

\r\n\r\n

\r\n This option is for generating a report with all the records in the data grid. \r\n The report can be saved to PDF, Text, Rich Text or Excel format by selecting the file format from the list under Save option, \r\n and then clicking OK button after selecting the required options from the Export Settings window.\r\n

\r\n\r\n

\r\n Report Highlighted: \r\n

\r\n

\r\n This option is for generating a report with only selected records in the grid. \r\n Select the desired rows by holding down the control key and clicking on each of the records to be selected. \r\n Users can also select a set of rows using the shift key. The selected records will be highlighted. Click on the \r\n Report Highlighted option in the Download {\" \"}\r\n {\" \"} menu to generate the report. \r\n The report will be created with the highlighted records only. The report can be saved to PDF, Text, \r\n Rich Text or Excel format by selecting the file format from the list under Save option, \r\n and then clicking OK button after selecting the required options from the Export Settings window.\r\n

\r\n\r\n

\r\n More {' '}\r\n {\" \"} \r\n

\r\n

\r\n This option lists Technicians and Display Settings option.\r\n

\r\n\r\n\r\n

\r\n Techs: \r\n

\r\n

Technicians are linked to Sales offices. Multiple Sales offices can be linked to a Technician. \r\n This option is used to link Technicians to the selected Sales Office. \r\n Select the required Sales Office and click Techs option from More {\" \"}\r\n {\" \"} menu. \r\n By default all the Technicians will be listed with check boxes against each and the assigned Technician (if any) will be displayed \r\n as selected in Update Technicians page. Select the required Technicians to be link with the selected Sales Office and \r\n click Save Changes button. \r\n \t

\r\n\r\n

\r\n If a Technician is displayed as checked and read only, then that Technician will be an Active technician \r\n in one or more Inspection Tasks.\r\n

\r\n\r\n\r\n

\r\n Display Settings: \r\n

\r\n

\r\n This option allows the user to change the visibility of the data fields displayed in the data grid. \r\n On selecting this option, all the available data fields are displayed in a window. \r\n Display settings can be modified by selecting the required fields from the list. \r\n The grid settings modified through this option will not be saved and will be effective only for the current instance of the data grid.\r\n

\r\n\r\n\r\n

\r\n Branch Office\r\n

\r\n

\r\n Branch Office manages the inspection process. The Super Administrators can Add/Edit/Delete the Branch Office. \r\n An inspection is associated with a particular Branch Office. All the active Branch Offices will be displayed in this page.\r\n

\r\n\r\n

\r\n Add: \r\n

\r\n

\r\n Branch Office can be added by clicking Add {' '}\r\n {' '}icon.\r\n The user can enter the Branch Office details like Address, City, State, Zip, Phone, Fax, Email, FA License Number, \r\n SPK License Number and EXT License Number details and assign a Sales Office to Branch Office by selecting the Sales Office from \r\n the dropdown box. Then click Save button to save the newly added Branch Office. \r\n

\r\n\r\n

\r\n Edit: \r\n

\r\n

\r\n Edit Branch Office details by selecting it and clicking the Edit {' '}\r\n {' '}icon. Make required changes and click Save Changes button to save \r\n the changes.\r\n

\r\n\r\n

\r\n Delete: \r\n

\r\n

\r\n Delete a Branch Office by selecting it and clicking the Delete {\" \"}\r\n {\" \"} icon. Branch Office that is active for an Inspection cannot be deleted.\r\n

\r\n\r\n

\r\n Download{\" \"}\r\n {\" \"}\r\n

\r\n \r\n

\r\n This option lists Report All, Report Highlighted, Export All, Export Highlighted and Group Highlighted. \r\n

\r\n\r\n

\r\n Report All: \r\n

\r\n\r\n

\r\n This option is for generating a report with all the records in the data grid. The report can be saved to PDF, \r\n Text, Rich Text or Excel format by selecting the file format from the list under Save option, \r\n and then clicking OK button after selecting the required options from the Export Settings window.\r\n

\r\n\r\n

\r\n Report Highlighted: \r\n

\r\n

\r\n This option is for generating a report with only selected records in the grid. \r\n Select the desired rows by holding down the control key and clicking on each of the records to be selected. \r\n Users can also select a set of rows using the shift key. The selected records will be highlighted. \r\n Click on the Report Highlighted option in the Download \r\n {\" \"}{\" \"} menu to generate the report. \r\n The report will be created with the highlighted records only. The report can be saved to PDF, Text, \r\n Rich Text or Excel format by selecting the file format from the list under Save option, and then clicking OK button after \r\n selecting the required options from the Export Settings window.\r\n

\r\n\r\n

\r\n More {' '}\r\n {\" \"} \r\n

\r\n

\r\n This option lists only Display Settings option\r\n

\r\n\r\n

\r\n Display Settings: \r\n

\r\n

This option allows the user to change the visibility of the data fields displayed in the data grid.\r\n On selecting this option, all the available data fields are displayed in a window. \r\n Display settings can be modified by selecting the required fields from the list. \r\n The grid settings modified through this option will not be saved and will be effective only for the current instance of the data grid.\r\n

\r\n \r\n );\r\n}\r\nexport default OrganizationSettingsDocument;\r\n","import { Button } from 'primereact/button'\r\nimport React from 'react'\r\nimport { BsFillPencilFill, BsPlusLg, BsTrashFill } from 'react-icons/bs'\r\nimport { FaCog, FaDownload } from 'react-icons/fa'\r\n\r\nconst BranchOfficeOrganizationSettingsDocument = () => {\r\n return (\r\n <>\r\n

Branch Office

\r\n \r\n

\r\n Branch Office manages the inspection process. The Super Administrators can Add/Edit/Delete the Branch Office.\r\n An inspection is associated with a particular Branch Office. All the active Branch Offices will be displayed\r\n in this page.\r\n

\r\n \r\n

\r\n Add: \r\n

\r\n \r\n

\r\n Branch Office can be added by clicking Add \r\n {\" \"} icon. The user can enter the Branch Office details like Address, City, State, Zip, Phone, Fax, Email,\r\n FA License Number, SPK License Number and EXT License Number details and assign a Sales Office to Branch Office by\r\n selecting the Sales Office from the dropdown box. Then click Save button to save the newly added Branch Office.\r\n

\r\n \r\n

\r\n Edit: \r\n

\r\n \r\n

\r\n Edit Branch Office details by selecting it and clicking the Edit \r\n {' '}icon. Make required changes\r\n and click Save Changes button to save the changes.\r\n

\r\n \r\n

\r\n Delete: \r\n

\r\n \r\n

\r\n Delete a Branch Office by selecting it and clicking the Delete \r\n {\" \"} icon. Branch Office that is active for an Inspection cannot be deleted.\r\n

\r\n \r\n

Download{\" \"}\r\n {\" \"} \r\n

\r\n \r\n

\r\n This option lists Report All, Report Highlighted, Export All, Export Highlighted and Group Highlighted.\r\n

\r\n \r\n

\r\n Report All: \r\n

\r\n\r\n

\r\n This option is for generating a report with all the records in the data grid. The report can be saved to PDF, Text,\r\n Rich Text or Excel format by selecting the file format from the list under Save option, and then clicking OK button after\r\n selecting the required options from the Export Settings window.\r\n

\r\n \r\n

\r\n Report Highlighted: \r\n

\r\n \r\n

\r\n This option is for generating a report with only selected records in the grid. Select the desired rows by holding down the\r\n control key and clicking on each of the records to be selected. Users can also select a set of rows using the shift key.\r\n The selected records will be highlighted. Click on the Report Highlighted option in\r\n the Download \r\n {\" \"} menu to generate the report. The report will be created with the highlighted records only. The report can be\r\n saved to PDF, Text, Rich Text or Excel format by selecting the file format from the list under Save option, and then clicking\r\n OK button after selecting the required options from the Export Settings window.\r\n

\r\n\r\n

More \r\n {\" \"}\r\n

\r\n \r\n

\r\n This option lists only Display Settings option\r\n

\r\n\r\n

\r\n Display Settings: \r\n

\r\n \r\n

This option allows the user to change the visibility of the data fields displayed in the data grid. On selecting this option,\r\n all the available data fields are displayed in a window. Display settings can be modified by selecting the required fields from\r\n the list. The grid settings modified through this option will not be saved and will be effective only for the current instance of\r\n the data grid.\r\n

\r\n \r\n );\r\n}\r\nexport default BranchOfficeOrganizationSettingsDocument;\r\n","import { Button } from 'primereact/button'\r\nimport React from 'react'\r\nimport { BsFillPencilFill, BsPlusLg, BsTrashFill } from 'react-icons/bs'\r\nimport { FaCog, FaDownload } from 'react-icons/fa'\r\n\r\nconst SalesOfficeOrganizationSettingsDocument = () => {\r\n return (\r\n <>

Sales Office

\r\n

\r\n This option allows the Super Administrator to Add/Edit/Delete Sales Office and assigns\r\n each Sales Office to a Zone. Administrators can also link Technicians to Sales Office(s)\r\n through this option. Sales Office manages the Contracts that are part of inspection.\r\n A Contract will have exactly one Sales Office and it will be under that particular Sales Office.\r\n A Sales Office can have one or more Branch Offices. All Sales Offices added will be listed in this page.\r\n

\r\n\r\n

\r\n Add:

\r\n

\r\n Sales Office can be added by clicking Add \r\n {\" \"}\r\n icon. Enter the Name, Code and select a Zone for the Sales Office from the Zone drop down box. Click Save button.\r\n

\r\n\r\n

\r\n Edit:

\r\n

\r\n Edit the details of a Sales Office by selecting it and clicking the Edit \r\n {' '}\r\n icon. Make required changes and click Save Changes button to save the changes.\r\n

\r\n\r\n

\r\n Delete:

\r\n

\r\n Delete a Sales Office by selecting it and clicking the Delete \r\n {\" \"}\r\n icon. Sales Office that is active for an Inspection cannot be deleted.\r\n

\r\n\r\n\r\n

Download{\" \"}\r\n {\" \"}

\r\n

This option lists Report All, Report Highlighted, Export All, Export Highlighted and Group Highlighted.\r\n

\r\n\r\n\r\n

\r\n Report All: \r\n

\r\n\r\n

\r\n This option is for generating a report with all the records in the data grid. The report can be saved to PDF,\r\n Text, Rich Text or Excel format by selecting the file format from the list under Save option, and then clicking\r\n OK button after selecting the required options from the Export Settings window.\r\n

\r\n\r\n

\r\n Report Highlighted: \r\n

\r\n

\r\n This option is for generating a report with only selected records in the grid. Select the desired rows by holding\r\n down the control key and clicking on each of the records to be selected. Users can also select a set of rows using\r\n the shift key. The selected records will be highlighted. Click on the Report Highlighted\r\n option in the Download \r\n {\" \"} menu to generate the report. The report will be created with the highlighted records only. The report\r\n can be saved to PDF, Text, Rich Text or Excel format by selecting the file format from the list under Save option, and\r\n then clicking OK button after selecting the required options from the Export Settings window.\r\n

\r\n\r\n

More \r\n {\" \"}

\r\n

This option lists Technicians and Display Settings option.

\r\n\r\n\r\n

\r\n Techs:

\r\n

Technicians are linked to Sales offices. Multiple Sales offices can be linked to a Technician. This option is used to\r\n link Technicians to the selected Sales Office. Select the required Sales Office and click \r\n Techs option from More \r\n {\" \"} menu. By default all the Technicians will be listed with check boxes against each and the assigned\r\n Technician (if any) will be displayed as selected in Update Technicians page. Select the required Technicians to be\r\n link with the selected Sales Office and click Save Changes button.\r\n

\r\n\r\n

\r\n If a Technician is displayed as checked and read only, then that Technician will be an Active technician in one or more\r\n Inspection Tasks.\r\n

\r\n\r\n\r\n

Display Settings:

\r\n

This option allows the user to change the visibility of the data fields displayed in the data grid. On selecting this\r\n option, all the available data fields are displayed in a window. Display settings can be modified by selecting the required\r\n fields from the list. The grid settings modified through this option will not be saved and will be effective only for the\r\n current instance of the data grid.

\r\n );\r\n}\r\nexport default SalesOfficeOrganizationSettingsDocument;","import React from \"react\";\r\nimport { Button } from \"primereact/button\";\r\nimport { BsFillPencilFill, BsPlusLg, BsTrashFill } from \"react-icons/bs\";\r\nimport { FaCog, FaDownload } from \"react-icons/fa\";\r\n\r\nconst ZoneOrganizationSettingsDocument = () => {\r\n return (\r\n <>\r\n

Zone

\r\n\r\n

\r\n This option is used to define the geographical area where the Sales Offices are situated. \r\n Super Administrator can add/edit/delete the Zone details and link Sales Office to a Zone through the Sales Office page. \r\n

\r\n\r\n

\r\n Add: \r\n

\r\n

Zone can be added by clicking Add {' '}\r\n {' '} icon.\r\n Select a country and enter the Zone Name and Code. Click Save button. \r\n

\r\n\r\n

\r\n Edit: \r\n

\r\n

\r\n Edit a Zone by selecting it and clicking the Edit {' '}\r\n {' '} icon. \r\n Make required changes and click Save Changes button to save the changes.\r\n

\r\n\r\n

\r\n Delete: \r\n

\r\n

\r\n Delete a Zone by selecting it and clicking the Delete {\" \"}\r\n {\" \"} icon. \r\n Zone that is linked to a Sales Office cannot be deleted.\r\n

\r\n\r\n\r\n

\r\n Download {\" \"}\r\n {\" \"}\r\n

\r\n \r\n \t

\r\n This option lists Report All, Report Highlighted, Export All, Export Highlighted and Group Highlighted. \r\n

\r\n\r\n

\r\n Report All: \r\n

\r\n\r\n

\r\n This option is for generating a report with all the records in the data grid. \r\n The report can be saved to PDF, Text, Rich Text or Excel format by selecting the file format from the list under Save option, \r\n and then clicking OK button after selecting the required options from the Export Settings window.\r\n

\r\n\r\n

\r\n Report Highlighted: \r\n

\r\n

\r\n This option is for generating a report with only selected records in the grid. \r\n Select the desired rows by holding down the control key and clicking on each of the records to be selected. \r\n Users can also select a set of rows using the shift key. The selected records will be highlighted. \r\n Click on the Report Highlighted option in the Download {\" \"}\r\n {\" \"} menu to generate the report. \r\n The report will be created with the highlighted records only. \r\n The report can be saved to PDF, Text, Rich Text or Excel format by selecting the file format from the list under Save option, \r\n and then clicking OK button after selecting the required options from the Export Settings window.\r\n

\r\n\r\n

\r\n More {' '}\r\n {\" \"} \r\n

\r\n

\r\n This option list only Display Settings option\r\n

\r\n\r\n

\r\n Display Settings: \r\n

\r\n

This option allows the user to change the visibility of the data fields displayed in the data grid. \r\n On selecting this option, all the available data fields are displayed in a window. \r\n Display settings can be modified by selecting the required fields from the list. \r\n The grid settings modified through this option will not be saved and will be effective only for the current instance of the data grid. \r\n

\r\n \r\n );\r\n}\r\nexport default ZoneOrganizationSettingsDocument;\r\n","import React from 'react'\r\n\r\nconst LookUpsDocument = () => {\r\n return (\r\n <>\r\n

\r\n Look Ups\r\n

\r\n\r\n

\r\n Options to manage Health Classifications and NFPA Classifications are grouped under Look Ups menu\r\n

\r\n \r\n );\r\n}\r\nexport default LookUpsDocument;\r\n","import React from \"react\";\r\nimport { Button } from \"primereact/button\";\r\nimport { BsFillPencilFill, BsPlusLg, BsTrashFill } from \"react-icons/bs\";\r\nimport { FaCog, FaDownload } from \"react-icons/fa\";\r\n\r\nconst HealthClassificationsDocument = () => {\r\n return (\r\n <>\r\n

\r\n Health Classifications\r\n

\r\n\r\n

\r\n Equipment in a Fire & Life Safety System is classified under a standard Health Classification \r\n which is mapped against its Equipment Type. This option is used to add/edit/delete Health \r\n Classification for an Equipment Type based on the selected Country. It helps the user to identify the \r\n health classification of each equipment and to ensure that the equipment meet the required standards. \r\n The Equipment Types listed are AHU, Air Sampling Systems, Devices, Doors, Elevators, Emergency \r\n Communications, Emergency Lightings, ERCES, Fire Pumps, Gaseous Extinguishing Systems, Kitchen and \r\n Dry Chemical Ext Systems, Modules, NAC Panels, Portable Extinguishers, Sprinklers and \r\n Water Based Equipment.\r\n

\r\n\r\n

\r\n Add:\r\n

\r\n

\r\n A Health Classification can be added using the Add {\" \"}\r\n {\" \"} icon. Enter a valid Health Classification and select Equipment Type by selecting the \r\n required check boxes displayed against it. Click Save button to save newly added Health Classification.\r\n

\r\n\r\n

\r\n Edit:\r\n

\r\n

\r\n A Health Classifications can be edited by selecting it and then clicking the \r\n Edit {' '}\r\n {' '} icon. After making the required changes \r\n click the Save Changes button to save the changes.\r\n

\r\n\r\n

\r\n Delete:\r\n

\r\n

\r\n A Health Classification can be deleted using the Delete {\" \"}\r\n {\" \"} icon. \r\n If the selected Health Classification is in use, it cannot be deleted.\r\n

\r\n\r\n

\r\n Download:{\" \"}\r\n {\" \"}\r\n

\r\n

\r\n This option lists Report All, Report Highlighted, Export All, Export Highlighted and Group Highlighted.\r\n

\r\n\r\n

\r\n Report All: \r\n

\r\n\r\n

\r\n This option is for generating a report with all the records in the data grid. \r\n The report can be saved to PDF, Text, Rich Text or Excel format by selecting the file format from \r\n the list under Save option, and then clicking OK button after selecting the required options from the \r\n Export Settings window.\r\n

\r\n\r\n

\r\n Report Highlighted: \r\n

\r\n

\r\n This option is for generating a report with only selected records in the grid. \r\n Select the desired rows by holding down the control key and clicking on each of the records to be \r\n selected. Users can also select a set of rows using the shift key. \r\n The selected records will be highlighted. Click on the Report Highlighted \r\n option in the Download {\" \"}\r\n {\" \"} menu to generate the report. \r\n The report will be created with the highlighted records only. The report can be saved to PDF, Text, \r\n Rich Text or Excel format by selecting the file format from the list under Save option, and then clicking \r\n OK button after selecting the required options from the Export Settings window.\r\n

\r\n\r\n\r\n

\r\n More: {' '}\r\n {\" \"}\r\n

\r\n

\r\n This option lists Display Settings option. \r\n

\r\n\r\n

\r\n Display Settings:\r\n

\r\n

\r\n This option allows the user to change the visibility of the data fields displayed in the data grid. \r\n On selecting this option, all the available data fields are displayed in a window. \r\n Display settings can be modified by selecting the required fields from the list. \r\n The grid settings modified through this option will not be saved and will be effective only for the \r\n current instance of the data grid. \r\n

\r\n\r\n \r\n );\r\n}\r\nexport default HealthClassificationsDocument;","import { Button } from 'primereact/button'\r\nimport React from 'react'\r\nimport { BsFillPencilFill, BsPlusLg, BsTrashFill } from 'react-icons/bs'\r\nimport { FaCog, FaDownload } from 'react-icons/fa'\r\n\r\nconst NFPAClassificationsDocument = () => {\r\n return (\r\n <>\r\n

\r\n NFPA Classifications\r\n

\r\n\r\n

\r\n NFPA (National Fire Protection Association) publishes comprehensive set of regulations for fire \r\n protection, electrical safety and building safety. NFPA has chartered 380 codes and standards that are \r\n designed to minimize the risk and effects of fire by establishing criteria for building, processing, \r\n design, service, and installation in different countries.\r\n

\r\n\r\n

\r\n As per NFPA, equipment in a Fire Safety System is classified under a standard NFPA Classification, \r\n which is mapped against its Equipment Type. The classification could vary depending on the country.\r\n

\r\n\r\n

\r\n This option allows the users to classify the equipment based on NFPA standards. \r\n Users can select Country from the list box and add/edit/delete NFPA Classifications associated to them.\r\n

\r\n\r\n

\r\n Add:\r\n

\r\n

\r\n Create an NFPA Classification by clicking the Add {\" \"}\r\n {\" \"} icon. User can enter the NFPA Code, \r\n Report Classification, NFPA Classification and Health Classification from its corresponding combo boxes.\r\n The Health Classification is not a mandatory field and the values will be listed in its list box only \r\n if the selected Country has Health Classification values associated to it. \r\n Equipment Type(s) relevant to NFPA classification can be selected from the check boxes displayed against\r\n it. Enter the values and click Save button.\r\n

\r\n\r\n

\r\n Edit:\r\n

\r\n

\r\n An NFPA Classification can be edited by selecting it and then clicking the Edit {' '}\r\n {' '} icon. After making necessary changes \r\n click the Save Changes button to save the changes.\r\n

\r\n\r\n\r\n

\r\n Delete:\r\n

\r\n

\r\n Delete an NFPA Classification by selecting it and then clicking the Delete {\" \"}\r\n {\" \"} icon. \r\n

\r\n\r\n

Download:{\" \"}\r\n {\" \"}\r\n

\r\n

\r\n This option lists Report All, Report Highlighted, Export All, Export Highlighted and Group Highlighted. \r\n

\r\n\r\n

\r\n Report All: \r\n

\r\n\r\n

\r\n This option is for generating a report with all the records in the data grid. The report can be saved to PDF, \r\n Text, Rich Text or Excel format by selecting the file format from the list under Save option, and then clicking OK button after \r\n selecting the required options from the Export Settings window.\r\n

\r\n\r\n

\r\n Report Highlighted: \r\n

\r\n

\r\n This option is for generating a report with only selected records in the grid. Select the desired rows by \r\n holding down the control key and clicking on each of the records to be selected. Users can also select a set of rows \r\n using the shift key. The selected records will be highlighted. Click on the Report Highlighted \r\n option in the Download {\" \"}\r\n {\" \"} menu to generate the report. The report will be created with the \r\n highlighted records only. The report can be saved to PDF, Text, Rich Text or Excel format by selecting the file format from the list \r\n under Save option, and then clicking OK button after selecting the required options from the Export Settings window.\r\n

\r\n

\r\n More:{' '}\r\n {\" \"}\r\n

\r\n

\r\n This option lists Display Settings option. \r\n

\r\n\r\n

\r\n Display Settings:\r\n

\r\n

\r\n This option allows the user to change the visibility of the data fields displayed in the data grid. On selecting this option, \r\n all the available data fields are displayed in a window. Display settings can be modified by selecting the required fields from the list. \r\n The grid settings modified through this option will not be saved and will be effective only for the current instance of the data grid. \r\n

\r\n\r\n\r\n \r\n );\r\n}\r\nexport default NFPAClassificationsDocument;\r\n","\r\nimport React from \"react\";\r\n\r\nconst InspectionSettingsDocument = () => {\r\n return (\r\n <>\r\n

Inspection Settings

\r\n\r\n

\r\n All Settings options related to Inspections such as defining new Attributes to Customer / Contract / Questions,\r\n managing the Report Setup options such as Report Groups, Report Templates, Report Configs, mapping these Attributes\r\n to various Reports are grouped under various menu options such as Inspection Fields,\r\n Reports and Report Mapping in the \r\n Inspection Settings menu\r\n

\r\n \r\n );\r\n}\r\n\r\nexport default InspectionSettingsDocument;","import { Button } from 'primereact/button'\r\nimport React from 'react'\r\nimport { BsFillPencilFill, BsPlusLg, BsTrashFill } from 'react-icons/bs'\r\n\r\nconst InspectionFieldsDocument = () => {\r\n return (\r\n <>\r\n

Inspection Fields

\r\n\r\n

\r\n Inspection Fields are a set of fields that are defined to record the details of inspection.\r\n This option allows the Administrator to create a dynamic tree view structure detailing the Equipment \r\n Group and Inspection information. Using this tree view, user can explore the Inspection Equipment Group\r\n and create nodes/fields dynamically.\r\n

\r\n\r\n

\r\n These Inspection fields are then mapped against corresponding fields required for the statutory Reports \r\n through Report Mapping process.\r\n

\r\n\r\n

\r\n By default, two root nodes, 'Equipment Group and Inspection' and 'Test Results', will be displayed with \r\n sub node 'Equipment' under the root node 'Test Results'. These root nodes and the sub node cannot be deleted. \r\n Nodes that have child nodes with values/fields in it cannot be deleted.\r\n

\r\n\r\n

\r\n Administrators can add/edit/delete the required sub nodes using the corresponding Add{\" \"}\r\n {\" \"} , Edit{\" \"}\r\n {' '} and Delete{\" \"}\r\n {\" \"}icons displayed on the left section of the page. On expanding this root node all the defined sub nodes \r\n (if any) will be listed in the tree view. The tree view/nodes can be expanded or collapsed by clicking arrow marks\r\n displayed beside nodes.\r\n

\r\n\r\n

\r\n On selecting the required node from the tree view structure, the associated details corresponding to the selected node\r\n will be displayed in the right side of the page with add, edit and delete icons for each Inspection field (if any). \r\n Administrators can add/edit/delete Inspection data fields to this section of the page.\r\n

\r\n\r\n

Add: \r\n {\" \"}

\r\n\r\n

\r\n Inspection Field(s) can be created by clicking the Add \r\n {\" \"} icon. The Add Inspection Field window will display two radio buttons Data Item and Data Group. \r\n Data Item option is used to define Name, Input Type and Field Type selection like Text Box, Date Picker, Text Area,\r\n Radio buttons, Check Box(s) and its related details. Data Group option is used to define a Data group in the corresponding\r\n Inspection node. Enter the required details and click Save button.\r\n

\r\n\r\n

Edit: \r\n {' '}

\r\n\r\n

\r\n Edit Inspection data field(s) by selecting it and then clicking the Edit \r\n {' '} icon associated to it. Make necessary modifications and click Save Changes button to save the changes.\r\n

\r\n\r\n

Delete: \r\n {\" \"}

\r\n\r\n

\r\n Delete Inspection data field(s) by selecting it and then clicking the Delete \r\n {\" \"}icon associated to it.\r\n

\r\n\r\n

Set as Default:

\r\n\r\n

\r\n By clicking Set as Default button, administrators can set default values to the fields. \r\n This option is only available in Questions tab.\r\n

\r\n\r\n

\r\n The Tree view structure and its corresponding pages can be accessed through menu option \r\n Inspection Tasks: Inspection Details where the user can enter and save the fields corresponding to Equipment \r\n Group details.\r\n

\r\n \r\n );\r\n}\r\nexport default InspectionFieldsDocument;\r\n","import React from 'react'\r\n\r\nconst ReportMappingDocuments = () => {\r\n return (\r\n <>\r\n

Report Mapping

\r\n\r\n

\r\n This option is used to set the Inspection Fields required for each Inspection Report which are added in \r\n Manage: Inspection Settings: Inspection Fields \r\n as per the Report Mapping CSV file.\r\n

\r\n\r\n

\r\n The Inspection Fields defined through the option \r\n Manage: Inspection Settings: Inspection Fields \r\n are to be associated with the different Inspection Reports that are to be generated after the\r\n inspection. The mapping of the Inspection Fields required for each Inspection Report is carried out through this option.\r\n

\r\n\r\n

\r\n This option is used to view, update and save the Report Field mapping corresponding to Inspection Reports.\r\n

\r\n \r\n

\r\n The Super Administrator can select/de-select and save the field settings as per the requirement in each inspection report.\r\n

\r\n \r\n );\r\n}\r\nexport default ReportMappingDocuments;\r\n","import { Button } from 'primereact/button'\r\nimport React from 'react'\r\nimport { BsFillPencilFill, BsTrashFill } from 'react-icons/bs'\r\n\r\n const InspectionReportGroupsDocument = () => {\r\n return (\r\n <>\r\n

Report Groups

\r\n \r\n

\r\n User can add/update Report Groups which can be used for grouping inspection reports \r\n using this option. It can be done only be Super Admin users.\r\n

\r\n\r\n

\r\n These Report Groups will be listed in the Report Selected option against each Inspection \r\n Task in Inspections: Inspection Tasks page.\r\n

\r\n\r\n

Add:

\r\n \r\n

\r\n User can create a Report Group by clicking the Add New Report Group button. User can enter \r\n the Report Group name in Report Group text box and click Save button to save it.\r\n

\r\n\r\n

Edit:

\r\n

\r\n User can update a Report Group by clicking on the right side of the Report Group, and \r\n selecting Edit \r\n icon \r\n from it. After making necessary changes click the Save Changes button to save the changes.\r\n

\r\n\r\n

Delete:

\r\n

\r\n Report Group can be deleted by clicking on the right side of the Report Group, and selecting \r\n Delete \r\n icon \r\n from it. Report Group can be deleted only if it's not used in Reports.\r\n

\r\n \r\n );\r\n}\r\nexport default InspectionReportGroupsDocument;\r\n","import { Button } from 'primereact/button'\r\nimport React from 'react'\r\nimport { BsFillPencilFill, BsPlusLg, BsTrashFill } from 'react-icons/bs'\r\n\r\n\r\n const InspectionReportsDocument = () => {\r\n return(\r\n <>\r\n

Reports

\r\n\r\n

\r\n Report option allows user to add Reports for the selected Country with Report Name, \r\n Report Title and Report Group which can be used for Report Generation. \r\n

\r\n\r\n

Add:

\r\n

\r\n Create a Report by clicking the Add \r\n icon. \r\n User can enter the Report Name, Report Title, Report Group in corresponding \r\n fields and click Save button to save it.\r\n

\r\n\r\n

Edit:

\r\n

\r\n User can create a Report by clicking the Edit \r\n icon. \r\n After making necessary changes click the Save Changes button to save the changes.\r\n

\r\n\r\n

Delete:

\r\n

\r\n User can delete a Report by clicking the Delete \r\n icon. \r\n

\r\n\r\n

Note: Edit and Delete options are also provided as Quick action icons{\" \"} \r\n {\" \"}\r\n , which are \r\n displayed when the mouse points to or moves over the required row \r\n

\r\n\r\n

\r\n Note: Added report should have mapped inspection fields and corresponding Report \r\n Template for generating reports with valid values.\r\n

\r\n\r\n

Report Order

\r\n

\r\n User can re-order the Reports displayed in Report Selected page in the Inspection \r\n Tasks using this option. Drag and drop the Reports listed in the required Order to \r\n re-order them.\r\n

\r\n \r\n );\r\n }\r\n export default InspectionReportsDocument;","import { Button } from 'primereact/button'\r\nimport React from 'react'\r\nimport { BsPlusLg, BsTrashFill } from 'react-icons/bs'\r\nimport { FaDownload } from 'react-icons/fa'\r\n\r\n\r\n const InspectionReportConfigsDocument = () => {\r\n return(\r\n <>\r\n \r\n

Report Configs

\r\n

\r\n Report Configs option allows user to add Report Configuration files \r\n which are used for various functionalities such as report generation.\r\n

\r\n\r\n

Add:

\r\n

\r\n User can upload one or more Report Config files by clicking the \r\n Add \r\n icon. \r\n User can select the valid report config file (s) (.doc, .docx., .csv, .xml, .xls and \r\n .xlsx) and click Upload button to save it. 'Uploaded On' column will display date and \r\n time of the uploaded files.\r\n

\r\n\r\n

Delete:

\r\n

\r\n User can delete a Report Config file by clicking the \r\n Delete \r\n icon. \r\n

\r\n\r\n

Download

\r\n

User can download one or more Report Configs Files by selecting the required Configs \r\n files and then clicking the \r\n Download \r\n icon. \r\n If multiple config files are selected, the files will be downloaded to a Zip file.\r\n

\r\n \r\n \r\n \r\n );\r\n }\r\n export default InspectionReportConfigsDocument;","import { Button } from 'primereact/button'\r\nimport React from 'react'\r\nimport { BsPlusLg, BsTrashFill } from 'react-icons/bs'\r\nimport { FaDownload } from 'react-icons/fa'\r\n\r\n\r\n const InspectionReportTemplatesDocument = () => {\r\n return(\r\n <>\r\n

Report Templates

\r\n\r\n

\r\n Report Templates option allows user to add Report Templates which are \r\n used for saving data while generation reports after inspection.\r\n

\r\n\r\n

Add:

\r\n

\r\n User can upload one or more Report Templates by clicking the \r\n Add \r\n icon. \r\n User can select the valid report template files (.doc, .docx., .xls and .xlsx) \r\n and click Upload button to save it. 'Uploaded on' column will display date and \r\n time of the uploaded files.\r\n

\r\n\r\n

Delete:

\r\n

\r\n User can delete a Report Template by clicking the \r\n Delete \r\n icon. \r\n

\r\n\r\n

Download:

\r\n

\r\n User can download one or more Report Templates by selecting the required Templates \r\n and then clicking the Download \r\n icon. If multiple templates are selected, the files will be downloaded to a Zip file.\r\n

\r\n \r\n );\r\n }\r\n export default InspectionReportTemplatesDocument;","import React from \"react\";\r\n\r\nconst ToolsDocument = () => {\r\n return (\r\n <>\r\n

Tools

\r\n\r\n

Options to Copy and Move Systems and Contracts are provided under the \r\n Tools menu

\r\n\r\n \r\n );\r\n}\r\n\r\nexport default ToolsDocument;","import { Button } from \"primereact/button\";\r\nimport React from \"react\";\r\nimport { BsPlusLg } from \"react-icons/bs\";\r\n\r\n\r\nconst CopyDocument = () => {\r\n return (\r\n <>\r\n

Copy

\r\n

\r\n This option is used to Copy System and All Systems in a Contract \r\n from one Site to another. This option is only available for Super \r\n Administrators and Support users.\r\n

\r\n

\r\n Note: Move is not allowed if any Active Inspection Task available \r\n under the selected Site/System.\r\n

\r\n Copy System\r\n

\r\n On selecting Copy System, options to select Customer (source and destination),\r\n Site(Destination), System (Source) and Contract (Destination) will be displayed.\r\n Two Options namely - 'Copy only the latest Task under the System' and \r\n 'Copy all tasks under the System' are also provided. If all the existing Reports \r\n of the selected System need to be copied, a check box 'Copy all existing Reports' \r\n is provided. Make neccessary selections and click Copy button. Data will be copied \r\n to the Destination as per the selections made If no Contract exists in the \r\n Destination, New Contract can be added by clicking\r\n Add \r\n icon \r\n provided next to the Destination Contract field.\r\n

\r\n

\r\n Note: Systems in the selected Contract cannot be moved if the selected Contract is linked to multiple Sites.\r\n

\r\n\r\n Copy All System in a Contract\r\n\r\n

\r\n On selecting All Systems in a Contract for Copy, \r\n options to select Customer (source and destination), \r\n Site (source and destination), and Contract (source and destination) \r\n will be displayed. Two Options namely - 'Copy only the latest Task of \r\n all Systems' and 'Copy all tasks under the Contract' are also provided. \r\n If all the existing Reports of the selected System need to be copied, \r\n a check box 'Copy all existing Reports' is provided.Make neccessary \r\n selections and click Copy button. Data will be copied to the Destination \r\n as per the selections made. If no Contract exists in the Destination, \r\n New Contract can be added by clicking \r\n Add \r\n icon \r\n provided next to the Destination Contract field.\r\n

\r\n \r\n );\r\n}\r\n\r\nexport default CopyDocument;","import { Button } from \"primereact/button\";\r\nimport React from \"react\";\r\nimport { BsPlusLg } from \"react-icons/bs\";\r\n\r\nconst MoveDocument = () => {\r\n return (\r\n <>\r\n

Move

\r\n\r\n

\r\n This option is used to Move All Systems in a Contract, \r\n System and Inspection Task from a Site (Source Site) \r\n to another Site (Destination Site).\r\n

\r\n

\r\n Note: Move is not allowed if any Active Inspection \r\n Task available under the selected Site/System.\r\n

\r\n\r\n Move All Systems in a Contract\r\n

\r\n On selecting Move All Systems in a Contract, options to \r\n select Customer (source and destination), Site (source and destination) \r\n and Contract will be displayed. Make necessary selections and click Move button. \r\n All data including Systems, Inspection Tasks, Reports etc of the selected \r\n Contract will be moved to the Destination Site. If No Sites exist in the Destination, \r\n New Site can be added by clicking Add \r\n icon \r\n provided next to the Destination Site field.\r\n

\r\n

\r\n Note: Systems in the selected Contract cannot be moved if the selected \r\n Contract is linked to multiple Sites.\r\n

\r\n\r\n Move System\r\n

\r\n On selecting Move System, options to select Customer (source and destination), \r\n Site (source and destination), System (Source) and Contract (Destination) will be \r\n displayed. Make necessary selections and click Move button. All data including \r\n Inspection Tasks, Reports etc of the selected System will be moved to the selected \r\n Contract. If No Sites exist in the Destination, New Site can be added by clicking \r\n Add \r\n icon \r\n provided next to the Destination Site field. If no Contract exists in the Destination, \r\n New Contract can be added by clicking \r\n Add \r\n icon \r\n provided next to the Destination Contract field.\r\n

\r\n \r\n );\r\n}\r\n\r\nexport default MoveDocument;","import React from 'react'\r\n\r\nconst CustomizationDocument = () => {\r\n return (\r\n <>\r\n

\r\n Customization \r\n

\r\n

\r\n Option to manage Attributes, Data Entry Settings and Display Settings are provided under \r\n Customization menu.\r\n

\r\n \r\n )\r\n}\r\nexport default CustomizationDocument;","import { Button } from 'primereact/button'\r\nimport React from 'react'\r\nimport { BsFillPencilFill, BsPlusLg, BsTrashFill } from 'react-icons/bs'\r\nimport { FaCog, FaDownload } from 'react-icons/fa'\r\n\r\nconst CommonAttributesDocument = () => {\r\n return (\r\n <>\r\n

\r\n Common Attributes\r\n

\r\n

\r\n Administrators can add/edit/delete Common Attributes for inspection. The Attribute Name, \r\n Field Type (Date, Date Time, Integer, Multi Line Text, Numeric or Single Line Text), whether \r\n Mandatory or not, whether a Validated field or not. For Validated fields, the set of allowed values \r\n will also have to be specified through the Common Attribute Values option. These Common Attributes \r\n values are used in Inspection: Inspection Task: Inspection Details option. \r\n

\r\n\r\n

\r\n Add: \r\n

\r\n

\r\n Create a common attribute by clicking the Add {\" \"}\r\n {\" \"}icon.\r\n

\r\n

\r\n Edit: \r\n

\r\n

\r\n Common Attribute can be edited by selecting it and then clicking the \r\n Edit {' '} \r\n {' '} icon. After making necessary changes click the Save Changes button to save the changes.\r\n

\r\n

\r\n A Validated Single Line Text Field cannot be changed to a Date Time or Numeric field after \r\n values have been entered. \r\n

\r\n\r\n

\r\n Delete: \r\n

\r\n

\r\n Delete a common attribute by selecting it and then clicking the\r\n Delete {\" \"}\r\n {\" \"} icon.\r\n

\r\n\r\n\r\n

\r\n Download: {\" \"}\r\n {\" \"}\r\n

\r\n

\r\n This option lists Export All, Export Highlighted and Group Highlighted. \r\n

\r\n\r\n

\r\n Report All: \r\n

\r\n\r\n

\r\n This option is for generating a report with all the records in the data grid. \r\n The report can be saved to PDF, Text, Rich Text or Excel format by selecting the file \r\n format from the list under Save option, and then clicking OK button after selecting the required \r\n options from the Export Settings window.\r\n

\r\n\r\n

\r\n Report Highlighted: \r\n

\r\n

\r\n This option is for generating a report with only selected records in the grid. \r\n Select the desired rows by holding down the control key and \r\n clicking on each of the records to be selected. Users can also select a set of rows using the \r\n shift key. The selected records will be highlighted. Click on the \r\n Report Highlighted option in the \r\n Download {\" \"}\r\n {\" \"} menu to generate the report. \r\n The report will be created with the highlighted records only. The report can be saved to PDF, Text, \r\n Rich Text or Excel format by selecting the file format from the list under Save option, and then \r\n clicking OK button after selecting the required options from the Export Settings window.\r\n

\r\n\r\n\r\n

\r\n More: {\" \"}\r\n {\" \"}\r\n

\r\n

\r\n This option lists Field Values and Display Settings option. \r\n

\r\n\r\n

\r\n Field Values \r\n

\r\n

\r\n For validated fields, a set of allowed values will also have to be specified through this option.\r\n

\r\n\r\n\r\n

\r\n Display Settings\r\n

\r\n

\r\n This option allows the user to change the visibility of the data fields displayed in the data grid. \r\n On selecting this option, all the available data fields are displayed in a window. \r\n Display settings can be modified by selecting the required fields from the list. \r\n The grid settings modified through this option will not be saved and will be effective only for the current \r\n instance of the data grid. \r\n

\r\n\r\n \r\n );\r\n}\r\nexport default CommonAttributesDocument;\r\n","import { Button } from 'primereact/button'\r\nimport React from 'react'\r\nimport { BsFillPencilFill, BsPlusLg, BsTrashFill } from 'react-icons/bs'\r\nimport { FaCog, FaDownload } from 'react-icons/fa'\r\n\r\nconst CommonAttributeValuesDocument = () => {\r\n return (\r\n <>\r\n \r\n\r\n\r\n

\r\n Common Attribute Values\r\n

\r\n

\r\n This option is to add/edit/delete Common Attribute Values for Validated Attributes. \r\n On selecting a validated Common Attribute from the drop down, all values defined for that \r\n Common Attribute will be displayed in the data grid.\r\n

\r\n\r\n

\r\n Add: \r\n

\r\n

\r\n A new Attribute Value can be created by clicking the \r\n Add{\" \"}\r\n {\" \"} icon.\r\n

\r\n

\r\n Edit: \r\n

\r\n

\r\n Edit an Attribute value by selecting it and then clicking the \r\n Edit{' '} \r\n {' '} icon.\r\n

\r\n\r\n

\r\n Delete: \r\n

\r\n

\r\n Delete an Attribute value by selecting it and then clicking the \r\n Delete {\" \"}\r\n {\" \"} icon.\r\n

\r\n\r\n \r\n\r\n

\r\n Download{\" \"}\r\n {\" \"}\r\n

\r\n \r\n

\r\n This option lists Report All, Report Highlighted, Export All, \r\n Export Highlighted and Group Highlighted. \r\n

\r\n\r\n

\r\n Report All: \r\n

\r\n\r\n

\r\n This option is for generating a report with all the records in the data grid. \r\n The report can be saved to PDF, Text, Rich Text or Excel format by selecting the file \r\n format from the list under Save option, and then clicking OK button after selecting the \r\n required options from the Export Settings window.\r\n

\r\n\r\n

\r\n Report Highlighted: \r\n

\r\n

\r\n This option is for generating a report with only selected records in the grid. \r\n Select the desired rows by holding down the control key and clicking on each of the \r\n records to be selected. Users can also select a set of rows using the shift key. \r\n The selected records will be highlighted. Click on the \r\n Report Highlighted option in the \r\n Download {\" \"}\r\n {\" \"}\r\n menu to generate the report. The report will be created with the highlighted records only. \r\n The report can be saved to PDF, Text, Rich Text or Excel format by selecting the file format \r\n from the list under Save option, and then clicking OK button after selecting the required options \r\n from the Export Settings window.\r\n

\r\n\r\n\r\n

\r\n More: {\" \"}\r\n {\" \"}\r\n

\r\n

\r\n This option lists Display Settings option. \r\n

\r\n\r\n

\r\n Display Settings\r\n

\r\n

\r\n This option allows the user to change the visibility of the data fields displayed in the data grid. \r\n On selecting this option, all the available data fields are displayed in a window. \r\n Display settings can be modified by selecting the required fields from the list. \r\n The grid settings modified through this option will not be saved and will be effective only for \r\n the current instance of the data grid. \r\n

\r\n\r\n\r\n \r\n );\r\n}\r\nexport default CommonAttributeValuesDocument;\r\n","import { Button } from 'primereact/button'\r\nimport React from 'react'\r\nimport { BsFillPencilFill, BsPlusLg, BsTrashFill } from 'react-icons/bs'\r\nimport { FaCog, FaDownload } from 'react-icons/fa'\r\n\r\nconst EquipmentTypeAttributesDocument = () => {\r\n return (\r\n <>\r\n

\r\n Equipment Type Attributes\r\n

\r\n\r\n

\r\n Equipment Type Attributes are those attributes of Equipment which are not common to all equipment. \r\n These have to be defined separately for each Equipment Type. Users can add/edit/delete inspection \r\n Equipment Type Attributes through this option. The Attribute Name, Field Type \r\n (Date, Date Time, Integer, Multi Line Text, Numeric or Single Line Text), whether Mandatory or \r\n not and whether a Validated field or not have to be specified. For Validated Attributes, the set \r\n of allowed values can be specified through the Equipment Type Attribute Value option. \r\n These Equipment Type Attributes values are used in for listing the Equipment details in \r\n Inspection: Inspection Task: Inspection Details option. \r\n

\r\n\r\n

\r\n The Equipment Type combo box will be displayed in the page listing all the Equipment Types. \r\n The Equipment Types listed are AHU, Air Sampling Systems, Devices, Doors, Elevators, Emergency Communications, \r\n Emergency Lighting, Fire Pumps, Gaseous Extinguishing Systems, Kitchen and Dry Chemical Ext Systems, Modules, NAC Panels, \r\n Portable Extinguishers, Sprinklers and Water Based Equipments. On selecting an Equipment Type from the combo box, \r\n all the Equipment Type Attributes (if any) associated with it will be displayed in the data grid. \r\n

\r\n\r\n

\r\n Add:\r\n

\r\n

\r\n An Equipment Type Attribute can be created by clicking the \r\n Add{\" \"}\r\n {\" \"} icon.\r\n

\r\n\r\n

\r\n Edit:\r\n

\r\n

\r\n Edit an Equipment Type Attribute by selecting it and then clicking the \r\n Edit{' '}\r\n {' '} icon. \r\n

\r\n\r\n

\r\n Delete:\r\n

\r\n

\r\n Delete an Equipment Type Attribute by selecting it and then clicking the \r\n Delete {\" \"}\r\n {\" \"} icon.\r\n

\r\n\r\n\r\n

\r\n Download {\" \"}\r\n {\" \"}\r\n

\r\n \r\n

\r\n This option lists Report All, Report Highlighted, Export All, Export Highlighted and Group Highlighted. \r\n

\r\n\r\n

\r\n Report All: \r\n

\r\n\r\n

\r\n This option is for generating a report with all the records in the data grid. The report can be saved to PDF, \r\n Text, Rich Text or Excel format by selecting the file format from the list under Save option, and then clicking OK button \r\n after selecting the required options from the Export Settings window.\r\n

\r\n\r\n

\r\n Report Highlighted: \r\n

\r\n

\r\n This option is for generating a report with only selected records in the grid. \r\n Select the desired rows by holding down the control key and clicking on each of the records to be selected. \r\n Users can also select a set of rows using the shift key. The selected records will be highlighted. Click on \r\n the Report Highlighted option in the Download {\" \"}\r\n {\" \"} menu to generate the report. \r\n The report will be created with the highlighted records only. The report can be saved to PDF, Text, \r\n Rich Text or Excel format by selecting the file format from the list under Save option, and then clicking OK button after \r\n selecting the required options from the Export Settings window.\r\n

\r\n\r\n\r\n

\r\n More: {' '}\r\n {\" \"}\r\n

\r\n

\r\n This option lists Field Values and Display Settings option. \r\n

\r\n\r\n\r\n

\r\n Field Values:\r\n

\r\n

\r\n For validated fields, a set of allowed values will also have to be specified through this option. \r\n See Setup: Attributes: Equipment Type Attribute Values for more information.\r\n

\r\n\r\n\r\n

\r\n Display Settings\r\n

\r\n

\r\n This option allows the user to change the visibility of the data fields displayed in the data grid. \r\n On selecting this option, all the available data fields are displayed in a window. Display settings can be modified by \r\n selecting the required fields from the list. The grid settings modified through this option will not be saved and will be \r\n effective only for the current instance of the data grid. \r\n

\r\n\r\n\r\n \r\n );\r\n}\r\nexport default EquipmentTypeAttributesDocument;\r\n","import { Button } from 'primereact/button'\r\nimport React from 'react'\r\nimport { BsFillPencilFill, BsPlusLg, BsTrashFill } from 'react-icons/bs'\r\nimport { FaCog, FaDownload } from 'react-icons/fa'\r\n\r\nconst EquipmentTypeAttributeValuesDocument = () => {\r\n return (\r\n <>\r\n

\r\n Equipment Type Attribute Values\r\n

\r\n\r\n

\r\n This option is to add/edit/delete Attribute Values for Validated Equipment Type Attributes. On selecting an Equipment Type and \r\n a validated Equipment Type Attribute from the corresponding drop down, all values defined for that validated Equipment Type \r\n Attribute will be displayed in the data grid. \r\n

\r\n

\r\n Add:\r\n

\r\n

\r\n An Equipment Type Attribute can be created by clicking the Add {\" \"}\r\n {\" \"} icon.\r\n

\r\n\r\n

\r\n Edit:\r\n

\r\n

\r\n Edit an Equipment Type Attribute by selecting it and then clicking the Edit{' '}\r\n {' '} icon.\r\n

\r\n

\r\n Delete:\r\n

\r\n

\r\n Delete an Equipment Type Attribute by selecting it and then clicking the Delete{\" \"}\r\n {\" \"} icon.\r\n

\r\n

\r\n Download {\" \"}\r\n {\" \"}\r\n

\r\n \r\n

\r\n This option lists Report All, Report Highlighted, Export All, Export Highlighted and Group Highlighted. \r\n

\r\n\r\n

\r\n Report All: \r\n

\r\n\r\n

\r\n This option is for generating a report with all the records in the data grid. The report can be saved to PDF, \r\n Text, Rich Text or Excel format by selecting the file format from the list under Save option, and then clicking OK button \r\n after selecting the required options from the Export Settings window.\r\n

\r\n\r\n

\r\n Report Highlighted: \r\n

\r\n

\r\n This option is for generating a report with only selected records in the grid. Select the desired rows by holding down the \r\n control key and clicking on each of the records to be selected. Users can also select a set of rows using the shift key. \r\n The selected records will be highlighted. Click on the Report Highlighted option in the Download \r\n {\" \"}{\" \"} menu to generate the report. The report will be created with the highlighted records only. \r\n The report can be saved to PDF, Text, Rich Text or Excel format by selecting the file format from the list under Save option, \r\n and then clicking OK button after selecting the required options from the Export Settings window.\r\n

\r\n\r\n\r\n

\r\n More: {' '}\r\n {\" \"}\r\n

\r\n

\r\n This option lists Display Settings option. \r\n

\r\n

\r\n Display Settings\r\n

\r\n

\r\n This option allows the user to change the visibility of the data fields displayed in the data grid. \r\n On selecting this option, all the available data fields are displayed in a window. Display settings can be modified by \r\n selecting the required fields from the list. The grid settings modified through this option will not be saved and will be \r\n effective only for the current instance of the data grid. \r\n

\r\n\r\n \r\n );\r\n}\r\nexport default EquipmentTypeAttributeValuesDocument;","import React from 'react'\r\n\r\nconst DisplaySettingsDocument = () => {\r\n return (\r\n <>\r\n

\r\n Display Settings \r\n

\r\n

\r\n This option is used to customize the Data Display Settings of data items in Inspection Details page. \r\n The Inspection Equipment Type Attributes that are to be shown in the Drawing, Tooltip, Data Grid in \r\n Inspection Tasks: Drawing and \r\n Inspection Tasks: Inspection Details \r\n option are displayed here. Inspection Equipment type Attributes will be listed here with check boxes \r\n against Show in Drawing, Show in Tooltip and Show in Grid. The desired boxes may be checked, and \r\n the setting can be saved by clicking the Update button. \r\n The font size and color of the text displayed in the Inspection drawing can be set by entering the \r\n required font size in the text box and selecting the desired color provided against each data field. \r\n

\r\n\r\n

\r\n Field Order: The order, \r\n in which the Equipment Type Attributes will be displayed, can be changed by clicking on the \r\n Field Order button. \r\n When the Fields are displayed, the order can be changed by selecting the Fields one by one, \r\n and moving them Up and Down using the arrow buttons provided. Save this Field Order by clicking \r\n on the Save Changes button.\r\n

\r\n\r\n

\r\n Save Changes: \r\n The default factory settings can be modified as required and saved as the default settings by \r\n clicking on the Save Changes button. The fields in the Equipment Details in Inspection Tasks option\r\n will be displayed according to this settings.\r\n

\r\n \r\n \r\n \r\n );\r\n}\r\nexport default DisplaySettingsDocument;","import React from 'react'\r\n\r\nconst DataEntrySettingsDocument = () => {\r\n return (\r\n <>\r\n

\r\n Data Entry Settings \r\n

\r\n

\r\n This section provides options for the Super Administrator to customize the Data Entry Settings for data items in \r\n TAP Web as well as TAP App. The inspection Equipment Type Attributes that are to be shown in \r\n Inspection Tasks: Inspection Details: Equipment Group/Equipment: Add/Edit \r\n option can be set using Data Entry Settings option.

\r\n

\r\n Data Entry Settings have to be saved against United States and Canada separately. \r\n

\r\n \r\n \r\n );\r\n}\r\nexport default DataEntrySettingsDocument;","import { Button } from \"primereact/button\";\r\nimport React from \"react\";\r\nimport { MdOutlineListAlt } from \"react-icons/md\";\r\n\r\nconst ReportsDocument = () => {\r\n return (\r\n <>\r\n

\r\n Reports\r\n

\r\n

\r\n All Inspection Related and Administrative Reports are grouped under \r\n Reports \r\n \r\n {\" \"} icon\r\n

\r\n \r\n );\r\n}\r\n\r\nexport default ReportsDocument;","import React from 'react'\r\n\r\nconst ReportsContractDocument = () => {\r\n return (\r\n <>\r\n

Contracts Report

\r\n

\r\n This report shows the list of all Contracts with the Customer Number, Site Number, \r\n Contract Name, Contract Number, Customer Name, Site Name, Start Date and End Date details. \r\n The report can be customized by selecting Customize button.\r\n

\r\n\r\n

\r\n Drop downs for Status and Branch are provided in the Reports page, in order to filter \r\n the Contracts based on Status and Branch Office.\r\n

\r\n \r\n );\r\n}\r\nexport default ReportsContractDocument;","import React from 'react'\r\n\r\nconst ReportsInspectionTasksDocuments = () => {\r\n return (\r\n <>\r\n

Inspection Tasks

\r\n\r\n

\r\n This report shows the list of Inspection Tasks with the Customer Number, \r\n Customer Name, Site Name, Site Number, Inspection Task, Contract Name, \r\n Contract Number, Inspection Task Start Date, Inspection Task End Date and Lead Technician details. \r\n

\r\n\r\n

\r\n User can filter the Tasks based on Planned Start and End Date. \r\n Select the Planned Start Date and End Date in the report header and \r\n click Apply button to view the report. \r\n The report can be customized by selecting Customize button.\r\n

\r\n \r\n\r\n );\r\n}\r\nexport default ReportsInspectionTasksDocuments;","import React from 'react'\r\n\r\nconst ReportsInspectionActivityDocument = () => {\r\n return (\r\n <>\r\n

\r\n Inspection Activity Report\r\n

\r\n\r\n

\r\n This report shows the list of Inspection Activities conducted during the selected Time period. \r\n It includes the details such as Customer Number, Customer Name, Area, Sales office, \r\n Inspection Task, Inspection Report(s) generated, Final Inspection Report(s) Uploaded, \r\n Contract Number, Contract Name, Site Number, Site Name and System details.\r\n

\r\n\r\n

\r\n User can filter the activity based on Planned Start date and End Date and then clicking Apply button. \r\n The report can be customized by selecting Customize button.\r\n

\r\n \r\n );\r\n}\r\nexport default ReportsInspectionActivityDocument;\r\n","import React from 'react'\r\n\r\nconst ReportsUploadedFinalReportsDocument = () => {\r\n return (\r\n <>\r\n

Uploaded Final Reports

\r\n

\r\n This report shows the list of the Systems for which final reports are uploaded \r\n for the selected Time period. It includes the details such as User Name, Customer Name, \r\n Customer Number, Site Number, Site Name and System details.\r\n

\r\n\r\n

\r\n User can filter the Uploaded Final Reports based on From date and To date and then clicking Apply button. \r\n The report can be customized by selecting Customize button.\r\n

\r\n \r\n );\r\n}\r\nexport default ReportsUploadedFinalReportsDocument;","import React from 'react'\r\n\r\nconst ReportsUserDetailsDocument = () => {\r\n return (\r\n <> \r\n

User Details

\r\n

\r\n This report shows the list of Admins / Techs / Admin-Techs with Name, \r\n Email address and Status, grouped by Sales Office based on the \r\n User Role selected from the User Role drop down. \r\n By Default, Admin-Tech User Role will be selected in the User Role drop down. \r\n

\r\n\r\n

\r\n For Super Administrators and Support, all Users in the selected User Role will be listed. \r\n For Admin, Admin-Tech, Tech and Branch users, this report shows the list of Users of \r\n the selected User Role who belongs to the logged in User's Sales Office, with \r\n Name and Email address, grouped by Sales Office.\r\n

\r\n\r\n \r\n );\r\n}\r\nexport default ReportsUserDetailsDocument;","import React from 'react'\r\n\r\nconst ReportsSitesDocument = () => {\r\n return (\r\n <>\r\n

Reports - Sites

\r\n

\r\n This report shows the list of all Sites with the Site Name, Site Code, Building Count\r\n and Status by default and all other Site Fields in the Customize option.\r\n Fields to display in the report can be customized by selecting the Customize button.\r\n

\r\n

The reports can be filtered by the Status for a desired value.

\r\n \r\n );\r\n}\r\nexport default ReportsSitesDocument;","import React from 'react'\r\n\r\nconst ReportsBuildingsDocument = () => {\r\n return (\r\n <>\r\n

\r\n Reports - Buildings\r\n

\r\n \r\n

\r\n This report shows the list of buildings with their Building Name, Code, Site Name, \r\n Site Code and Floor count etc. The reports can be filtered using the Status as required with their values.\r\n

\r\n \r\n );\r\n}\r\nexport default ReportsBuildingsDocument;\r\n","import React from 'react'\r\n\r\nconst ReportsFloorsDocument = () => {\r\n return (\r\n <>\r\n

Reports - Floors

\r\n

\r\n This report shows the list of all floors with their Site Name, Building name and Floor name.\r\n

\r\n \r\n );\r\n}\r\nexport default ReportsFloorsDocument;\r\n","import React from 'react'\r\n\r\nconst ReportsMasterDataDocument = () => {\r\n return (\r\n <>\r\n

Master Data

\r\n

\r\n This option is used to view the Master Equipment Data of the selected System which is the \r\n collection of all Equipment existing under different Inspection Task of a selected System. \r\n Equipment deleted from any specific Inspection Task of this selected System will not be deleted \r\n from Master Equipment Data unless there is only one Inspection Task in the System. On selecting \r\n this option, the latest updated details of Master Equipment Data associated with the selected \r\n System will be listed Equipment Group wise. \r\n

\r\n\r\n

\r\n Drop downs to select the System, Equipment Group and Equipment Type are provided in the \r\n Report and System of the latest Inspection Task by the logged in User will be selected by \r\n default in the System’s drop down. First Equipment Group of the selected System will be \r\n selected in Equipment Group drop down. ‘All’ will be selected by default in the \r\n Equipment Type drop down which lists Equipment Types such as AHU, Air Sampling Systems, \r\n Devices, Doors, Elevators, Emergency Communications, Emergency Lightings, Modules, Fire Pumps, \r\n Kitchen Extinguishers, NAC Panels, Sprinklers, Water Based Equipment etc. On selecting the \r\n required Equipment Type, the Equipment list will be filtered based on the selected Equipment Type. \r\n

\r\n \r\n );\r\n}\r\nexport default ReportsMasterDataDocument;","import React from 'react'\r\n\r\nconst ReportsExpiredContractsDocument = () => {\r\n return (\r\n <>\r\n

\r\n Expired Contracts\r\n

\r\n \r\n

\r\n This report shows the list of Expired Contract details, \r\n which have active or inactive Tasks with Customer Name, Contract Name, \r\n Inspection Task Name, Task Status, Contract Expired Date, \r\n Inspection Start Date and Inspection End Date from the list. \r\n This report is only accessible to Super Administrators.\r\n

\r\n \r\n );\r\n}\r\nexport default ReportsExpiredContractsDocument;\r\n","import React from 'react'\r\n\r\nconst ReportsUserActivityReportsDocument = () => {\r\n return (\r\n <> \r\n

User Activity

\r\n\r\n

\r\n This report shows the list of Users with Name, Email address, User Role, \r\n Account created on, First Login, Last Login, Status, Sales Office Count, \r\n No. of days since Last login and Activity. The report can be filtered by \r\n selecting the required criteria, like All Users, Active, Blocked, Deleted, \r\n Expired Deleted during a period and Active during a Period etc, from the list. \r\n This report is accessible only to Super Administrators.\r\n

\r\n\r\n

\r\n Fields to display in the report can be customized by selecting the Customize button.\r\n

\r\n\r\n \r\n );\r\n}\r\nexport default ReportsUserActivityReportsDocument;","import { Button } from \"primereact/button\";\r\nimport React from \"react\";\r\nimport { FaDownload } from \"react-icons/fa\";\r\nimport { MdOutlineListAlt } from \"react-icons/md\";\r\n\r\nconst ReportSAPImportStatusDocument = () => {\r\n return (\r\n <>\r\n

SAP Import Status

\r\n

\r\n This option allows the Super Administrator to view the list of files imported from SAP. \r\n This page will be displayed with File Name, File Type, Date of Integration and Status. \r\n User can select Uploaded from and Uploaded to dates for displaying the list within the \r\n specified time period. There will be two icons, one for showing Status Details and \r\n another for downloading the Status Details.\r\n

\r\n

Status Details

\r\n

\r\n

\r\n Select a record from the list and click on \r\n Status Details \r\n icon, \r\n a new page will load with details of the selected file.\r\n

\r\n

Download

\r\n

\r\n

\r\n Download option is provided to export the Status Details to an Excel file. \r\n Click the Download \r\n icon,\r\n the details displayed in the grid will be saved to the user's computer.\r\n

\r\n\r\n \r\n );\r\n}\r\n\r\nexport default ReportSAPImportStatusDocument;","import React from \"react\";\r\n\r\nconst ReleaseNotesDocument = () => {\r\n return (\r\n <>\r\n

\r\n Release Notes\r\n

\r\n \r\n

\r\n Release Notes provides the latest update information grouped by Update / release dates. \r\n That is, all the updates done in a particular release will be listed under the release date.\r\n

\r\n\r\n \r\n );\r\n}\r\n\r\nexport default ReleaseNotesDocument;","import { Button } from \"primereact/button\";\r\nimport React from \"react\";\r\n\r\nconst PluginsDocument = () => {\r\n return (\r\n <>\r\n

\r\n Plugins\r\n

\r\n

\r\n

\r\n Plugins tab provides options to upload, download and Send Mail the necessary setup file for \r\n installing or updating the TAP Bridge and TAP App. Plugins options are restricted to User roles.\r\n

\r\n\r\n

\r\n Super Administrators have all the options whereas for Branch Users, the Plugin Menu will not be available. \r\n For other User Roles, the options are available as per the User privileges.\r\n

\r\n\r\n

\r\n The Super Administrator can upload the latest plugins used in Tech Advance+. When a version change occurs,\r\n the administrator can upload the new file through the Upload option. This can later be downloaded to Branch \r\n Administrator/Technician's laptop whenever necessary. The latest TAP Bridge and TAP App files are the plugins\r\n available to download through this option.\r\n

\r\n
TAP Bridge
\r\n \r\n

\r\n This option is used to upload the latest TAP Bridge file to Tech Advance+ by Super Administrator using\r\n Upload \r\n {\" \"}\r\n button. This can then be downloaded to Branch \r\n Administrator/Technician's laptop through Download button.\r\n

\r\n \r\n

\r\n The Super Administrator can update the latest version of the TAP Bridge file by selecting the Upload button \r\n displayed against it. On selecting Upload \r\n {\" \"}\r\n button, TAP Bridge window will \r\n be displayed with Tap Bridge File, Version and Minimum Compatible Version fields loaded by default. Browse for \r\n the zip file to be uploaded by selecting Browse button, enter description if necessary and click Upload button to\r\n upload the file. The details: 'Selected File'| 'Version' of the uploaded file (if any) will be displayed as read only.\r\n

\r\n \r\n

\r\n The updated file can be downloaded by the Technician or Branch Administrator by selecting the \r\n Download \r\n {\" \"}\r\n button. Technicians and Branch Administrators can download the TAP \r\n Bridge whenever the TAP Bridge file version in their laptop gets expired or is of an older version. The Version and\r\n Minimum Compatible Version of the application is verified while downloading the file and warning messages will be\r\n displayed.\r\n

\r\n\r\n
TAP App
\r\n

\r\n

\r\n This option is used to upload the APK file for the TAP Application to Tech Advance+ by Super Administrator using \r\n Upload \r\n {\" \"}\r\n button. This can then be downloaded to Branch Administrator/Technician's\r\n phone/tab through Send Mail \r\n {\" \"}\r\n button. Send Mail option is provided so that the \r\n user can access the link to download the APK and download the APK file to any other device as per requirement via mail. \r\n Only the Super Administrator can access the Download \r\n {\" \"}\r\n button.\r\n

\r\n \r\n

\r\n The Super Administrator can update the latest version of the APK file by selecting the\r\n Upload \r\n {\" \"}\r\n button displayed against it. On selecting \r\n Upload \r\n {\" \"}\r\n button, TAP APP window will be displayed with the options to browse for\r\n a valid (.apk) file, enter the Build Number and Version Number. Browse for a valid file, enter the details and click \r\n Upload \r\n {\" \"}\r\n button to upload the file to Tech Advance+. The details: \r\n 'Selected File'| 'Version' of the uploaded file (if any) will be displayed as read only.\r\n

\r\n \r\n

\r\n The updated file can be downloaded by the Super Administrator by selecting the \r\n Download \r\n {\" \"}\r\n button. User can download the APK file whenever the application gets\r\n expired or is of an older version.\r\n

\r\n \r\n

\r\n The option Send Mail is provided so that the Technicians and Branch Administrators can access the link to download \r\n the APK file directly through the user's phone/tab. Click Send Mail \r\n {\" \"}\r\n button tosend the APK download link to the user's mail. User can login to the mail \r\n account through mobile phone/tab and click on link to access the APK file. \r\n On selecting this link the APK file to install the TAP App will be downloaded \r\n to the user's phone or tab.\r\n

\r\n \r\n );\r\n}\r\n\r\nexport default PluginsDocument;","import React from \"react\";\r\nimport { Button } from \"primereact/button\";\r\n\r\nconst PluginsTapAppDocument = () => {\r\n return (\r\n <>\r\n

\r\n Plugins - TAP App\r\n

\r\n\r\n

\r\n

\r\n This option is used to upload the APK file for the TAP Application to Tech Advance+ by Super Administrator using\r\n Upload button. This can then be downloaded to Branch Administrator/Technician's\r\n phone/tab through Send Mail \r\n \r\n {\" \"} icon. Send Mail option is provided so that the\r\n user can access the link to download the APK and download the APK file to any other device as per requirement via mail.\r\n Only the Super Administrator can access the Download \r\n {\" \"} icon.\r\n

\r\n\r\n

\r\n The Super Administrator can update the latest version of the APK file by selecting the\r\n Upload \r\n \r\n {\" \"} icon displayed against it. On selecting Upload \r\n {' '}\r\n icon, TAP APP window will be displayed with the\r\n options to browse for a valid (.apk) file, enter the Build Number and Version Number. Browse for a valid file, enter\r\n the details and click Upload \r\n \r\n {\" \"} icon to upload the file to Tech Advance+.\r\n The details: 'Selected File'| 'Version' of the uploaded file (if any) will be displayed as read only.\r\n

\r\n\r\n

\r\n The updated file can be downloaded by the Super Administrator by selecting the\r\n Download \r\n \r\n {\" \"} icon.\r\n User can download the APK file whenever the application gets expired or is of an older version.\r\n

\r\n\r\n

\r\n The option Send Mail is provided so that the Technicians and Branch Administrators can access the link to download\r\n the APK file directly through the user's phone/tab. Click Send Mail \r\n \r\n {\" \"} icon to send the APK download link to\r\n the user's mail. User can login to the mail account through mobile phone/tab and click on link to access the APK file.\r\n On selecting this link the APK file to install the TAP App will be downloaded to the user's phone or tab.\r\n

\r\n \r\n );\r\n}\r\n\r\nexport default PluginsTapAppDocument;","import React from \"react\";\r\nimport { Button } from \"primereact/button\";\r\n\r\nconst PluginsTapBridgeDocument = () => {\r\n return (\r\n <>\r\n

\r\n Plugins - TAP Bridge\r\n

\r\n

\r\n

\r\n This option is used to upload the latest TAP Bridge file to Tech Advance+ by Super Administrator using\r\n Upload \r\n \r\n {\" \"} icon. \r\n This can then be downloaded to Branch Administrator/Technician's laptop through \r\n Download \r\n \r\n {\" \"} button.\r\n

\r\n\r\n

\r\n The Super Administrator can update the latest version of the TAP Bridge file by selecting the \r\n Upload \r\n \r\n {\" \"} icon displayed against it. \r\n On selecting Upload \r\n \r\n {\" \"} icon, TAP Bridge window will be displayed with Tap Bridge File, \r\n Version and Minimum Compatible Version fields loaded by default. \r\n Browse for the zip file to be uploaded by selecting Browse button, \r\n enter description if necessary and click Upload button to upload the file. \r\n The details: 'Selected File'| 'Version' of the uploaded file (if any) \r\n will be displayed as read only.\r\n

\r\n\r\n

\r\n The updated file can be downloaded by the Technician or Branch Administrator by selecting the \r\n Download \r\n \r\n {\" \"} icon. Technicians and Branch Administrators can download the TAP Bridge whenever \r\n the TAP Bridge file version in their laptop gets expired or is of an older version. \r\n The Version and Minimum Compatible Version of the application is verified while downloading \r\n the file and warning messages will be displayed.\r\n

\r\n\r\n\r\n \r\n );\r\n}\r\n\r\nexport default PluginsTapBridgeDocument;","import React from \"react\";\r\nimport { Button } from \"primereact/button\";\r\nimport { BsPlusLg, BsFillPencilFill, BsTrashFill } from \"react-icons/bs\";\r\n\r\nconst LinksDocument = () => {\r\n return (\r\n <>\r\n

\r\n Links\r\n

\r\n

\r\n Links provides options to upload or download the Links (in .pdf/mp4 format). \r\n The options to Add, Edit, Delete Links are provided and these options \r\n will be available to Super Administrators only. \r\n

\r\n\r\n

\r\n Add: \r\n

\r\n\r\n

\r\n New Link can be added by clicking the \r\n Add \r\n {' '} icon.\r\n

\r\n\r\n

\r\n Edit: \r\n

\r\n

\r\n Existing Link can be updated by selecting the Link and then clicking the \r\n Edit \r\n {' '} icon.\r\n

\r\n\r\n

\r\n Delete: \r\n

\r\n

\r\n Existing Link can be deleted by selecting the Link and then clicking the \r\n Delete \r\n {' '} icon.\r\n

\r\n \r\n )\r\n}\r\n\r\nexport default LinksDocument;","import React from 'react'\r\n\r\nconst FeedbackDocument = () => {\r\n return (\r\n <>\r\n

Feedback

\r\n

Users can send their feedback to zLink through this option. On clicking this, \r\n Feedback page will be displayed with the logged in user's name displayed against User Name. \r\n Enter Subject, Feedback and click Submit button, and the feedback will be sent to zLink.

\r\n \r\n );\r\n}\r\nexport default FeedbackDocument;\r\n","import React from 'react'\r\n\r\nconst PersonalSettingsDocument = () => {\r\n return (\r\n <>\r\n

Personal Settings

\r\n

This option is used to edit First Name, Last Name, Email, Phone No1, Phone No2, Time Zone, \r\n Rows per Page, etc. of the logged in user. \r\n

\r\n

User can specify the number of Rows to be displayed in a grid page through Rows per Page \r\n and Rows per page for Inspection Tasks page fields in the Personal Settings.\r\n

\r\n

Make the necessary changes/selections and click Save Changes button. The changes made \r\n here will be reflected throughout the application for the logged in user.\r\n

\r\n

\r\n Change Password: Users can change their password \r\n through this option. On clicking the Change Password button, \r\n a Change Password page will be displayed. Enter the current password and the new password. \r\n Only the Password of the logged in user can be changed through this option.\r\n

\r\n \r\n\r\n );\r\n}\r\nexport default PersonalSettingsDocument;","import React from 'react'\r\n\r\nconst SendMailDocuments = () => {\r\n return (\r\n <>\r\n

Send Mail

\r\n

\r\n This option allows the user to send emails related to sales, technical support, \r\n general inquiry, etc.\r\n

\r\n

\r\n Emails can be sent to zLink Inc. or to any other email Id. This can be done by \r\n selecting the corresponding radio button provided. Mails to zLink Inc. are categorized \r\n into Sales, Technical Support and General Inquiry. If the 'Other' radio button is selected, \r\n the Type of Enquiry drop down will be disabled.\r\n

\r\n

\r\n Attachment can also be uploaded by clicking the Choose File button against the Attachment field.\r\n

\r\n

\r\n Enter the required message details and click Send button. The Mail will be sent to the recipient \r\n according to the email id provided or to zLink Inc.\r\n

\r\n \r\n );\r\n}\r\nexport default SendMailDocuments;\r\n","import React from \"react\";\r\n\r\nconst LogbookDocument = () => {\r\n return (\r\n <>\r\n

\r\n Logbook\r\n

\r\n \r\n );\r\n}\r\n\r\nexport default LogbookDocument;","import React from \"react\";\r\n\r\nconst FaqDocument = () => {\r\n return (\r\n <>\r\n

\r\n FAQ \r\n

\r\n

\r\n FAQ related to different modules are grouped under FAQ \r\n

\r\n \r\n );\r\n}\r\n\r\nexport default FaqDocument;","import { Button } from \"primereact/button\";\r\nimport React from \"react\";\r\nimport { BsFillPencilFill, BsPersonCheckFill, BsPersonCircle, BsPlusLg } from \"react-icons/bs\";\r\nimport { FaCog } from \"react-icons/fa\";\r\nconst AdministrationFaqDocument = () => {\r\n return (\r\n <>\r\n

\r\n FAQ in Administration Module\r\n

\r\n
\r\n

\r\n 1. What are the key features of Tech Advance+? \r\n

\r\n
\r\n
    \r\n
  1. 1. Creation of Sites and their Customers, Buildings and Floor details.
  2. \r\n\t
  3. 2. Creation of Users in different user roles like Super Administrator, Admin, Admin-Tech, Technician and Branch.
  4. \r\n\t
  5. 3. Creation of Contracts, Systems and Inspection Tasks for Inspection.
  6. \r\n\t
  7. 4. Uploading of XML file for the System under Inspection for getting the Equipment details automatically.
  8. \r\n\t
  9. 5. Inspection of Equipment/Devices connected to MXL/XLS/Desigo Modular/Desigo FS20/Desigo FV20/Cerberus Pro Panels and Other Equipment Groups through Inspection menu and updating Test Status.
  10. \r\n\t
  11. 6. View Drawings (Floor plans) of the Buildings selected for inspection.
  12. \r\n\t
  13. 7. Linking of Barcodes to Equipment for easy selection.
  14. \r\n\t
  15. 8. Viewing Equipment and its Test Status in Floor Plan Drawings.
  16. \r\n\t
  17. 9. Viewing and Updating System and Equipment Group Details.
  18. \r\n\t
  19. 10. Generation of Inspection Reports and uploading of Final reports for Sites.
  20. \r\n\t
  21. 11. Sharing of relevant Documents to Sites.
  22. \r\n\t
  23. 12. Upload/Download option of latest versions of TAP Bridge and TAP App.
  24. \r\n
\r\n
\r\n\r\n\r\n

\r\n 2. How to login to Tech Advance+? \r\n

\r\n
\r\n
    \r\n\t
  1. 1. Open Google Chrome/Firefox/Microsoft Edge.
  2. \r\n\t
  3. 2. Enter url address of the application (www.sietap.com) in the address bar.
  4. \r\n\t
  5. 3. Login page will be displayed with Login Name, Password, Forgot Password and LOG IN button.
  6. \r\n\t
  7. 4. Enter a valid Login Name and Password and click the LOG IN button.
  8. \r\n\t
  9. 5. User will be logged into Tech Advance+.
  10. \r\n
\r\n
\r\n

\r\n 3. How to logout from Tech Advance+? \r\n

\r\n
\r\n
    \r\n
  1. 1. Click on the Profile icon on the top right corner of the page and click Sign Out menu.
  2. \r\n\t
  3. 2. User will be logged out from the Application.
  4. \r\n
\r\n
\r\n \r\n

\r\n 4. How to reset a forgotten password?\r\n

\r\n
\r\n
    \r\n\t
  1. 1. Click the \"Forgot Password ?\" option displayed in the login page.
  2. \r\n\t
  3. 2. Retrieve Forgotten Password page will be opened with option to enter the Email Address and Proceed button.
  4. \r\n\t
  5. 3. Enter the Email Address and click Proceed button.
  6. \r\n\t
  7. 4. A system generated Password will be sent to the Email Id registered with the User's account.
  8. \r\n\t
  9. 5. Access the appropriate mail account and retrieve the new password generated by Tech Advance+.
  10. \r\n\t
  11. 6. Login to Tech Advance+ with this system generated password.
  12. \r\n\t
  13. 7. The system will prompt the user to change the password by displaying a message \"Password has to be changed at this login. Please change your password now\".
  14. \r\n\t
  15. 8. Click 'Yes' to the message, and change the password as per your choice and according to the password policy required by the system.
  16. \r\n
\r\n
\r\n\t \r\n

\r\n 5. How to unlock a locked user?\r\n

\r\n
\r\n \r\n\r\n\t

\r\n A user account gets locked when a user attempts to login with a wrong password \r\n three times consecutively within a short time. This happens when a user forgets \r\n his/her password, or when another user tries to break into his/her account. \r\n A locked user will be unlocked automatically after a predefined interval as set \r\n in the password policy.A Super Administrator, Support, Admin, Admin-Tech can \r\n unlock a user by doing the following steps. \r\n

\r\n\t
    \r\n\t
  1. 1. Select Users menu in Administration module.
  2. \r\n\t
  3. 2. Select the type of the user role of the locked user.
  4. \r\n\t
  5. 3. Select the locked user from the data grid and click Edit {' '}\r\n {' '} icon.
  6. \r\n\t
  7. 4. Select the Active radio button and click Save Changes button.
  8. \r\n\t
  9. 5. The user account will be unlocked when this is done.
  10. \r\n\t
  11. 6. After the account is unlocked, the user can use the \"Forgot your password ?\" option to reset the password if he has forgotten the password
  12. \r\n
\r\n
\r\n\t \r\n

\r\n 6. How to switch to another Site by a user?\r\n

\r\n
\r\n
    \r\n\t
  1. 1. Click on Change Site / Site Name link displayed at the top right corner of the page
  2. \r\n\t
  3. 2. A Select Site page will be displayed along with Country, Zone, Select Customer, Select Site
  4. \r\n\t
  5. 3. Enter the required details and Select Site from dropdown list.
  6. \r\n\t
  7. 4. User will be switched to the selected site
  8. \r\n
\r\n
\r\n\t \r\n

\r\n 7. How to create a new customer ?\r\n

\r\n
\r\n
    \r\n\t
  1. 1. Select Administration: Customers
  2. \r\n\t
  3. 2. Sold to Customers page will be displayed with all added customers and their details with Add, Edit, Delete, Download and More icons
  4. \r\n\t
  5. 3. Click Add icon
  6. \r\n\t
  7. 4. A New Sold to Customer page will be displayed with options to enter Country, Customer Number, Customer Name, Address, City, State, Zip, Phone, Fax, Email, Contact, Status and Account Expiry Date with Save and Cancel buttons.
  8. \r\n\t
  9. 5. Enter the required details.
  10. \r\n\t
  11. 6. Click Save button.
  12. \r\n
\t \r\n
\r\n\r\n

\r\n 8. How to Map Sites to a Customer?\r\n

\r\n
\r\n
    \r\n\t
  1. 1. Select Administration: Customers
  2. \r\n\t
  3. 2. Sold to Customers page will be displayed with all added customers and their details with Add, Edit, Delete, Download and More icons
  4. \r\n\t
  5. 3. Select a Customer by clicking on the required row.
  6. \r\n\t
  7. 4. Select Sites option from More \r\n icon\r\n
  8. \r\n\t
  9. 5. A Popup will be opened with Sites and Display Settings
  10. \r\n\t
  11. 6. Select option Sites
  12. \r\n\t
  13. 7. Map Sites page will be displayed with a Search field, Cancel, Set as Active Site and Save Changes buttons
  14. \r\n\t
  15. 8. Search for the required Sites and Select them from the list and click Save Changes button
  16. \r\n
\r\n
\r\n\t\r\n

\r\n 9. How to create a New Site and set it as active Site?\r\n

\r\n
\r\n \t\t
    \r\n \t\t\t
  1. 1. Select Administration: Sites
  2. \r\n\t \t\t\t
  3. 2. Sites page will be displayed with all added Sites and its details with Add, Edit, Delete, Set as Active Site, Download, and More icons.
  4. \r\n\t \t\t\t
  5. 3. Click Add \r\n icon.
  6. \r\n\t \t\t\t
  7. 4. A New Site page will be displayed with Country, Site Number, Site Name, State, Time Zone and Description with Save and Cancel buttons.
  8. \r\n\t \t\t\t
  9. 5. Enter the required details and click Save button.
  10. \r\n\t \t\t\t
  11. 6. Select the newly added Site and click Set as Active Site \r\n icon.\r\n
  12. \r\n\t \t\t\t
  13. 7. Selected Site will be activated and the logged n User will be switched to the new Site.
  14. \r\n \r\n\t\t\t
\r\n
\r\n\r\n\t\t\t

\r\n\t\t\t\t10. How to create a new Technician?\r\n\t\t\t

\r\n
\r\n \t\t\t
    \r\n\t\t\t\t
  1. 1. Select Administration: Users: Tech
  2. \r\n\t\t\t\t
  3. 2. Techs page will be displayed with all added Technicians and their details with Add, Edit, Delete, Download and More icons.
  4. \r\n\t\t\t\t
  5. 3. Click Add \r\n icon.\r\n
  6. \r\n\t\t\t\t
  7. 4. A New User page will be displayed with Login Name,First Name, Middle Name, Last Name, Email etc.with Save and Cancel button.
  8. \r\n\t\t\t\t
  9. 5. Enter the required details.
  10. \r\n\t\t\t\t
  11. 6. Click on Select Sales Office link
  12. \r\n\t\t\t\t
  13. 7. Update Sales Office page will be displayed with option to select Country and Zone with Cancel and Save Changes buttons.
  14. \r\n\t\t\t\t
  15. 8. Select the required Sales Offices and click Save Changes button and close the Update Sales Office page
  16. \r\n\t\t\t\t
  17. 9. Click Save button in New User page.
  18. \r\n\t\t\t\t
  19. 10. New Technician will be created.
  20. \r\n
\r\n
\r\n\r\n\t

\r\n 11. How to assign a Technician to a Sales Office?\r\n

\r\n
\r\n \r\n\r\n\t

\r\n A technician has to be associated or linked to a Sales Office to perform an inspection under a contract managed by the Sales Office.
\r\n There are two options by which a user can link a Technician to a Sales Office.
\r\n

\r\n\t

\r\n Option 1 (through Technician menu):\r\n

\r\n\r\n
    \r\n
  1. 1. If Technician is already created, Go to Administration: Users: Technicians and select the required Technician and click Edit \r\n icon. \r\n
  2. \r\n\t
  3. 2. Click the Select Sales Office link
  4. \r\n\t
  5. 3. Update Sales Office page will be displayed with option to select Country and Zone with Cancel and Save Changes buttons.
  6. \r\n\t
  7. 4. Select the required Sales Offices and then click Save Changes button.
  8. \r\n\t
\r\n

\r\n

\r\n OR\r\n

\r\n
    \r\n\t
  1. 1. If Technician is not created, Go to Administration: Users: Technicians and create a new Technician using Add \r\n icon.\r\n
  2. \r\n\t
  3. 2. A New User page will be displayed with Login Name, First Name, Middle Name, Last Name, Email etc. with Save and Cancel button.
  4. \r\n\t
  5. 3. Enter the required details and click the l Select Sales Office link
  6. \r\n\t
  7. 4. Update Sales Office page will be displayed with option to select Country and Zone with Cancel and Save Changes buttons.
  8. \r\n\t
  9. 5. Select the required Sales Offices and click Save Changes button.
  10. \r\n
\r\n
\r\n\r\n\t

\r\n Option 2 (through Sales Office menu):\r\n

\r\n\r\n
    \r\n\t
  1. 1. Go the Manage: Organizational Settings: Sales Office.
  2. \r\n\t
  3. 2. Select the Sales Office to be linked to the Technician.
  4. \r\n\t
  5. 3. Click on the Tech option from More \r\n icon.\r\n
  6. \r\n\t
  7. 4. Update Technicians page will be displayed with all the Technicians added to the Sales Office through Administrator: Users: Technicians option with Cancel and \r\n Save Changes buttons.
  8. \r\n\t
  9. 5. Select the required Technicians and click Save Changes button.
  10. \r\n\t
\r\n
\r\n \r\n\t \r\n

\r\n 12. How to view the Sales Offices linked to a technician?\r\n

\r\n
\r\n
    \r\n\t
  1. 1. Go to Administration: Users: Tech menu.
  2. \r\n\t
  3. 2. Select the required Technician and then click on Edit \r\n icon.
  4. \r\n\t
  5. 3. Edit User page will be displayed with 'Select Sales Office' link and with Save Changes and Cancel buttons.
  6. \r\n\t
  7. 4. Click on Select Sales Office link
  8. \r\n\t
  9. 5. Update Sales Office page will be displayed listing the Sales Office names with Cancel and Save Changes buttons.
  10. \r\n\t
  11. 6. The Sales Offices already linked to the technician will be displayed as checked
  12. \r\n\t
\r\n
\r\n\t \r\n\t

\r\n 13.\tHow to convert to a User in one User Role to another?\r\n

\r\n
\r\n
    \r\n\t
  1. 1. Login to Tech Advance+ as Super Administrator.
  2. \r\n\t
  3. 2. Go to Administration: Users.
  4. \r\n\t
  5. 3. Select the required Active user from Support/Admin/Tech/Admin-Tech/Branch menu.
  6. \r\n\t
  7. 4. Choose Convert to other User Role option from More \r\n icon.
  8. \r\n\t
  9. 5. Convert to other User Role page will be displayed with an option to select 'To User Role' and with Cancel and Convert buttons. Select Sales Office link will be displayed if any User Role other than Super Administrator / Support is selected
  10. \r\n\t
  11. 6. Select the required User Role, Select the Sales Office required and click the Convert button.
  12. \r\n\t
  13. 7. A Confirmation message will be displayed with Ok button.
  14. \r\n\t
  15. 8. Click Ok to the Confirmation message.
  16. \r\n
\r\n
\r\n\t \r\n\t

\r\n 14.\tHow to download and Install TAP App from TAP Web?\r\n

\r\n
\r\n
    \r\n\t
  1. 1. Select Plugins option from More icon.
  2. \r\n\t
  3. 2. Plugins page will be displayed with link to download TAP Bridge and TAP App.
  4. \r\n\t
  5. 3. Click on the Download icon under the TAP App section to download the APK.
  6. \r\n\t
  7. 4. After downloading the Apk, install it on the required device.
  8. \r\n\t
\r\n
\r\n \r\n\t \r\n\t

\r\n 15.\tHow to download and install TAP Bridge?\r\n

\r\n
\r\n
    \r\n\t
  1. 1. Select Plugins option from More icon.
  2. \r\n\t
  3. 2. Plugins page will be displayed with link to download TAP Bridge and TAP App.
  4. \r\n\t
  5. 3. Click on the Download \r\n icon under the TAP Bridge section to download.
  6. \r\n\t
  7. 4. The latest TAP Bridge file uploaded by the Super Administrator through Plugins: TAP Bridge > Upload will be downloaded to the user's computer as a ZIP file.
  8. \r\n\t
  9. 5. Click the Save option to Save the TAP Bridge in the required location.
  10. \r\n\t
  11. 6. Extract the ZIP file contents to the appropriate location. Double click the TAP Bridge icon from the saved location.
  12. \r\n\t
  13. 7. Follow the instructions and install it by clicking the Install button.
  14. \r\n
\r\n
\r\n\t \r\n\t \r\n\t \r\n\t

\r\n 16.\tHow to update a new version of TAP Bridge?\r\n

\r\n
\r\n
    \r\n
  1. 1. Select the option Inspection: Plugins: TAP Bridge: Download.
  2. \r\n\t
  3. 2. The latest TAP Bridge file uploaded by the Super Administrator through Inspection: Plugins: TAP Bridge: Upload will be downloaded to the user's computer as a ZIP file.
  4. \r\n\t
  5. 3. Click the Save option to Save the TAP Bridge in the required location.
  6. \r\n\t
  7. 4. Extract the ZIP file contents to the appropriate location. Double click the TAP Bridge icon from the saved location.
  8. \r\n\t
  9. 5. Follow the instruction and install it by clicking the Install button.
  10. \r\n
\r\n \r\n );\r\n}\r\n\r\nexport default AdministrationFaqDocument;","import React from \"react\";\r\nimport { Button } from \"primereact/button\";\r\nimport { BsFillPencilFill, BsGridFill, BsPaperclip, BsPlusLg, BsTrashFill } from \"react-icons/bs\";\r\nimport { FaCog, FaCopy, FaDownload, FaFilter } from \"react-icons/fa\";\r\nconst InspectionFAQDocument = () => {\r\n return (\r\n <>\r\n\r\n

FAQs in Inspection Module


\r\n
A. TechAdvance+ Installation,\r\n Pre-requisites and Features\r\n
\r\n
\r\n

\r\n A1. What are the pre-requisites for creating an Inspection Task? \r\n

\r\n\r\n
    \r\n
  1. 1. Create Contract for the Customer(s).
  2. \r\n
      \r\n
    • Click Contracts: Add{\" \"}\r\n icon.
    • \r\n
    • Create Contract with valid details.
    • \r\n
    • Select the Sales Office to which the Contract is to be linked.
    • \r\n
    \r\n
  3. 2. Create Systems to be inspected.
  4. \r\n
      \r\n
    • Click Systems: Add{\" \"}\r\n icon.
    • \r\n
    • Upload a valid .xml Configuration File to the System, if the System is of MXL/XLS/Desigo Modular/Desigo FS20/Desigo FV20/Cerberus Pro FC92/Cerberus Pro FV92/Cerberus Pro Modular Type.
    • \r\n
    \r\n
  5. 3. Create the Inspection Task for the System.
  6. \r\n
      \r\n
    • Click Inspection Tasks option.
    • \r\n
    • Select the required Site and Contract from the corresponding drop downs displayed in the page.
    • \r\n
    • Click Inspection Tasks: Add{\" \"}\r\n icon and add Inspection Task with required details.
    • \r\n
    • Select the required Inspection reports through the link 'Report Selected'.
    • \r\n
    • Select the Lead Technician
    • \r\n
    • For MXL/XLS/Desigo Modular/Desigo FS20/Desigo FV20 /Cerberus Pro FC92/Cerberus Pro FV92/Cerberus Pro Modular systems, the activated Inspection Task will be listed in TAP Bridge for the Lead Technician.
    • \r\n
    \r\n\r\n\r\n
\r\n
\r\n

A2. What are the pre-requisites required for starting an Inspection Task?

\r\n\r\n

The user has to ensure that the following pre-requisites are met before starting an Inspection Task:

\r\n
    \r\n
  1. 1. Contract, System and Inspection Task should be created in Tech Advance+.
  2. \r\n
  3. 2. Inspection Task should be activated in Tech Advance+.
  4. \r\n
  5. 3. Technicians doing the inspection must be linked to the Sales Office managing the Contract in Tech Advance+.
  6. \r\n
  7. 4. For an automated inspection (MXL, XLS, Desigo Modular, Desigo FS20, Desigo FV20 systems, Desigo FV20, Cerberus Pro FC92, Cerberus Pro FV92, Cerberus Pro Modular only), Lead Technician should initiate TAP Bridge, start the required Inspection Task in TAP Bridge, and make sure that the Equipment list is sent to TechAdvance+. For manual inspection this is not required.
  8. \r\n
  9. 5. Latest TAP application should be installed in the mobile device.
  10. \r\n
  11. 6. Network Connection should be available for joining (and quitting) the Inspection Task and for downloading data from Tech Advance+.
  12. \r\n
\r\n\r\n\r\n
\r\n

B. Inspection and Equipment List

\r\n\r\n
\r\n

B1. How to add Contracts?

\r\n
    \r\n
  1. 1. Select Inspection: Contracts menu.
  2. \r\n
  3. 2. Click Contract: Add{\" \"}\r\n icon.
  4. \r\n
  5. 3. New Contract window will be displayed with Save and Cancel buttons.
  6. \r\n
  7. 4. Add/Select the Customer, Enter the Contract Number, Enter Contract Name, Note, Start Date and End Date of the Contract.
  8. \r\n
  9. 5. Select the Sales Office from the drop down. Start Date will be displayed by default.
  10. \r\n
  11. 6. Select the required fields and click Save button
  12. \r\n
\r\n

\r\n

OR

\r\n
    \r\n
  1. 1. Select Inspection: Inspection Task menu.
  2. \r\n
  3. 2. Select the required Customer.
  4. \r\n
  5. 3. Click Add{\" \"}\r\n icon near the Contract selection dropdown. New Contract window will be displayed with Save and Cancel buttons.
  6. \r\n
  7. 4. Enter the Contract Number, Contract Name, Note, Start Date and End Date of the Contract.
  8. \r\n
  9. 5. Select the Sales Office from the drop down. Start Date will be displayed by default.
  10. \r\n
  11. 6. Select the required fields and click Save button.
  12. \r\n
  13. 7. The newly added Contract will be auto selected in the dropdown.
  14. \r\n
\r\n\r\n
\r\n

B2.How to link the Sites to a Contract?

\r\n
    \r\n
  1. 1. Select Inspection: Contracts menu.
  2. \r\n
  3. 2. Select the required Contract from the data grid. (Assumption: Contracts already added)
  4. \r\n
  5. 3. Click Sites from More{\" \"}\r\n icon.
  6. \r\n
  7. 4. By default all active Sites of the Customer will be listed with check boxes against each Site.
  8. \r\n
  9. 5. Select required Sites and click Save Changes button to save the changes.
  10. \r\n
\r\n

Note: Site(s) with active Inspection Task(s) linked to it cannot be removed

\r\n\r\n
\r\n

B3.How to close a Contract?

\r\n
    \r\n
  1. 1. Select Inspection: Contracts menu.
  2. \r\n
  3. 2. Select the required Contract from the data grid. (Assumption: Contracts already added)
  4. \r\n
  5. 3. Click Close option from More{\" \"}\r\n icon.\r\n
  6. \r\n
  7. 4. If any Inspection Task of the selected Contract is in Active status then a confirmation message, “Inspection Task(s) of the selected Contract is in progress, are you sure you want to close the Contract?” with Yes or No buttons will be displayed.
  8. \r\n
  9. 5. If the Inspection Task of the selected Contract is not in progress then a confirmation message, “Are you sure you want to close the selected Contract?” with Yes or No buttons will be displayed.
  10. \r\n
  11. 6.Click 'Yes' to the message. The selected Contract will be closed and the status will be displayed as 'Closed' in the data grid.
  12. \r\n
  13. 7. All the Systems and active Inspection Tasks associated with the selected Contract also will get closed automatically. (Completed Inspection Task will remains as same.)
  14. \r\n\r\n
\r\n\r\n\r\n
\r\n

B4.What happens when a Contract is closed?

\r\n\r\n
    \r\n
  1. 1. The status of the Contract will be displayed as 'Closed' in the data grid.
  2. \r\n
  3. 2. On closing the Contract all Systems related to the Contract (created under the site which is linked to the selected Contract) will be closed automatically.
  4. \r\n
  5. 3. Cannot able to add new Inspection Task under the closed Contract.
  6. \r\n
  7. 4. The status of the active Inspection Task(s) created under the closed Contract will change to 'Closed'.(Completed Inspection Task will remains as same.).
  8. \r\n
  9. 5. Inspection Tasks under a closed Contract cannot be edited/activated.
  10. \r\n
\r\n\r\n\r\n\r\n
\r\n

B5.How to activate a closed Contract?

\r\n
    \r\n
  1. 1. Select Inspection: Contracts menu.
  2. \r\n
  3. 2. Select the closed Contract from the data grid.
  4. \r\n
  5. 3. Click Activate from More{\" \"}\r\n icon.
  6. \r\n
  7. 4. A confirmation message, “Are you sure you want to activate the selected Contract?” with Yes or No buttons will be displayed.
  8. \r\n
  9. 5. Click 'Yes' to the message. The selected Contract will be activated and its corresponding status will be displayed as 'Active' in the data grid.
  10. \r\n
\r\n

Note: Even if the Contract is Activated, all associated System and Inspection Tasks will be in closed/completed status only, unless it is changed manually.

\r\n\r\n
\r\n

B6.How to add a System to a Site?

\r\n
    \r\n
  1. 1. Select Inspection: Systems menu.
  2. \r\n
  3. 2. Click Add{\" \"}\r\n icon. New System window will be displayed with Save and Cancel buttons
  4. \r\n
  5. 3. Enter the System Name.
  6. \r\n
  7. 4. Select the System Type from the drop down.
  8. \r\n
  9. 5. If System Type selected is Desigo Modular/XLS, the Networked radio buttons will be enabled with Yes/No options. Specify whether Networked or not, and whether MKB5 Keyboard is there or not.
  10. \r\n
  11. 6. Select the Preferred Language and click Save button.
  12. \r\n\r\n
\r\n\r\n
\r\n

B7.How to upload XML file to a System?

\r\n
    \r\n
  1. 1. Select Inspection: Systems menu.
  2. \r\n
  3. 2. Select the required System from the data grid. (Assumption: System already added and no Configuration file is uploaded to it.)
  4. \r\n
  5. 3. To upload XML file, Click Upload XML option from Attachments icon. Upload File window will be displayed with Upload and Cancel buttons.
  6. \r\n
  7. 4. Click Attachment field and select the required XML file from the user's computer.
  8. \r\n
  9. 5. On uploading the file, the Uploaded File Name and Uploaded Date will be displayed against the corresponding fields.
  10. \r\n
  11. 6. Click Upload button. The XML file will be uploaded to the selected System.
  12. \r\n
\r\n

Note: XML file cannot be replaced if the selected System is active for an Inspection.

\r\n\r\n
\r\n

B8.How to upload Configuration file to a System?

\r\n
    \r\n
  1. 1. Select Inspection: Systems menu.
  2. \r\n
  3. 2. Select the required System from the data grid. (Assumption: System already added and no Configuration file is uploaded to it.)
  4. \r\n
  5. 3. To upload Configuration file, Click Upload Config File option from Attachments \r\n {\" \"} icon. Upload File window will be displayed with Upload and Cancel buttons.
  6. \r\n
  7. 4. Click Attachment field and select the required Configuration file from the user's computer.
  8. \r\n
  9. 5. On uploading the file,the Uploaded File Name and Uploaded Date will be displayed against the corresponding fields.
  10. \r\n
  11. 6. Click Upload button. The Configuration file will be uploaded to the selected System.
  12. \r\n
\r\n

Note: Configuration file cannot be replaced if the selected System is active for an Inspection.

\r\n\r\n\r\n
\r\n

B9.How to edit System details?

\r\n\r\n
    \r\n
  1. 1. Select Inspection: Systems menu.
  2. \r\n
  3. 2. Select the required System from the data grid (status should be 'Active').
  4. \r\n
  5. 3. Click Edit{\" \"}\r\n {' '} icon. Edit System window will be displayed with Save Changes and Cancel buttons.
  6. \r\n
  7. 4. Modify the required fields and click Save Changes button.
  8. \r\n\r\n
\r\n\r\n
\r\n

B10.How to close a System?

\r\n\r\n
    \r\n
  1. 1. Select Inspection: Systems menu.
  2. \r\n
  3. 2. Click Close option from More {\" \"}\r\n icon.
  4. \r\n
  5. 3. If the System has an active Inspection Task, then a confirmation message, “Do you want to quit all the tasks of the Technician(s) and close the Inspection Task and System?” with Yes or No buttons will be displayed.
  6. \r\n
  7. 4. If there are no active Inspection Tasks, or no Inspection tasks have been created for the selected System then a confirmation message, “Are you sure you want to close the selected System?” with Yes or No buttons will be displayed.
  8. \r\n
  9. 5. Click 'Yes' to the message. The selected System will be closed and the status will be displayed as 'Closed' in the data grid.
  10. \r\n
\r\n\r\n
\r\n

B11.What happens when a System is closed?

\r\n
    \r\n
  1. 1. The status of the System will be displayed as 'Closed' in the data grid.
  2. \r\n
  3. 2. On closing a System all the associated Inspection Tasks under that System will be closed automatically.
  4. \r\n
  5. 3. The status of the Inspection Task(s) created under the closed System will change to 'Closed'.(Completed Inspection Task will remain same.)
  6. \r\n
  7. 4. Inspection Tasks under a closed System cannot be edited /activated unless the System is activated again.
  8. \r\n\r\n
\r\n\r\n
\r\n

B12.How to activate a closed System?

\r\n
    \r\n
  1. 1. Select Inspection: Systems menu.
  2. \r\n
  3. 2. Select the closed System from the data grid.
  4. \r\n
  5. 3. Click Activate option from More {\" \"}\r\n icon.
  6. \r\n
  7. 4. A confirmation message, “System Activated” will be displayed. Click OK to the message.
  8. \r\n
  9. 5. The selected System will be activated and its status will be displayed as 'Active' in the data grid.
  10. \r\n\r\n
\r\n\r\n
\r\n

B13.How to create an Inspection Task?

\r\n

Assumptions

\r\n
    \r\n
  • Contract for inspection is already created with appropriate Customer, Sales office.
  • \r\n
  • System created under the Site.
  • \r\n
  • Valid Configuration file is uploaded to the System if the selected System is of Equipment Group MXL/XSL/Desigo Modular/Desigo FS20/Desigo FV20/Cerberus Pro FC92/Cerberus Pro FV92/Cerberus Pro Modular.
  • \r\n
\r\n\r\n
    \r\n
  1. 1. Click Inspection: Inspection Tasks menu.
  2. \r\n
  3. 2. Select the required Customer and Contract from the corresponding drop down displayed in the Inspection Task page.
  4. \r\n
  5. 3. Add an Inspection Task through Inspection: Inspection Tasks: Add {\" \"}\r\n icon.
  6. \r\n
  7. 4. New Inspection Task page will be displayed. Enter the required details and map the Reports accessible to the Inspection through the link 'Report Selected'.
  8. \r\n
  9. 5. On selecting the reports, Lead Technician drop down will be displayed. Select the required Lead Technician.
  10. \r\n
  11. 6. Click on Save button.
  12. \r\n
  13. 7. An activated Inspection Task will be added with status as 'Active'.
  14. \r\n
\r\n\r\n\r\n
\r\n

B14.How to Activate an Inactive/Closed/Completed Inspection Task?

\r\n

Assumptions

\r\n
    \r\n
  • Contract for inspection is already created with appropriate Customer, Sales office.
  • \r\n
  • System created under the Site.
  • \r\n
  • Valid Configuration file is uploaded to the System if the selected System is of Equipment Group MXL/XSL/Desigo Modular/Desigo FS20/Desigo FV20/Cerberus Pro FC92/Cerberus Pro FV92/Cerberus Pro Modular.
  • \r\n
  • An Inspection Task is created and is in Inactive/Closed/Completed status.
  • \r\n
\r\n\r\n
    \r\n
  1. 1. Click Inspection: Inspection Tasks menu.
  2. \r\n
  3. 2. Select the required Customer and Contract from the corresponding drop down displayed in the Inspection Task page.
  4. \r\n
  5. 3. Click Edit {\" \"}\r\n {' '} icon.
  6. \r\n
  7. 4. Edit Inspection Task page will be displayed with Activate check box. Enter the required details and map the Reports accessible to the Inspection through the link 'Reports Selected'.
  8. \r\n
  9. 5. Select the required Lead Technician.
  10. \r\n
  11. 6. Select the Activate check box and click Save Changes button.
  12. \r\n
  13. 7. Inspection Task will be activated.
  14. \r\n\r\n\r\n
    \r\n
\r\n

B15.How to assign Technician(s) to join in an Inspection Task?

\r\n
    \r\n
  1. 1. Click Manage: Sales Office menu.
  2. \r\n
  3. 2. Select the required Sales Office from the data grid and click Techs menu from More {\" \"}\r\n icon. [Assumption: Technicians already added]
  4. \r\n
  5. 3. All the active technicians added in Tech Advance+ will be listed with check boxes against each Technician. Any Technician already assigned will be displayed as selected in Update Technicians page.
  6. \r\n
  7. 4. Select the required Technicians to be assigned to the selected Sales Office and click Save Changes button. These technicians can join the Inspection Tasks created with the selected Sales Office.
  8. \r\n
\r\n

Note: These technicians will be listed in the Lead Technicians drop down while activating an Inspection.

\r\n\r\n\r\n
\r\n

B16.How to assign Lead Technician to an Inspection Task?

\r\n
    \r\n
  1. 1. Select Inspection: Inspection Tasks menu.
  2. \r\n
  3. 2. Select the required Customer and Contract from its corresponding drop down displayed in the Inspection Task page. [Assumption: Selected Contract is linked to the Sales office to which the Technicians were assigned.]
  4. \r\n
  5. 3. Click Edit {\" \"}\r\n {' '} icon.
  6. \r\n
  7. 4. All the Technicians assigned to the selected Sales Office will be listed in Lead Technician field in Edit Inspection Task page.
  8. \r\n
  9. 5. Select the required Lead Technician from the list box.
  10. \r\n
  11. 6. Click Save Changes button.
  12. \r\n
\r\n\r\n\r\n
\r\n

B17.How to map Reports to an Inspection Task?

\r\n\r\n
    \r\n
  1. 1. Select Inspection: Inspection Tasks menu.
  2. \r\n
  3. 2. Select the required Inspection Task for which the reports need to be mapped.
  4. \r\n
  5. 3. Select Reports Selected option from More{\" \"}\r\n icon.
  6. \r\n
  7. 4. A Reports Accessible to an Inspection Task page will be displayed with Cancel and Save Changes button.
  8. \r\n
  9. 5. Select the required reports and click Save Changes button.
  10. \r\n\r\n
\r\n\r\n\r\n
\r\n

B18.Why the created Technician is not listed in the Inspection Task?

\r\n

\r\n While creating Contracts for Inspection Tasks, Sales Office has to be linked and the Technicians for the Inspection also have to be linked to the same Sales Office.\r\n
If the Technician is not linked to the same Sales Office of that Contract, then the Technician will not be listed in the Lead Technician drop down in the Inspection Task.\r\n
\r\n

\r\n\r\n\r\n\r\n\r\n
\r\n

B19.How to add Equipment Groups manually to Inspection Tasks?

\r\n
    \r\n
  1. 1. Select Inspection: Inspection Tasks menu.
  2. \r\n
  3. 2. Select the required Customer and Contract from its corresponding Dropdown displayed in the Inspection Task page. [Assumption: Active Inspection Task exists for the selected Contract.]
  4. \r\n
  5. \r\n 3. Select the required Inspection Task and click \r\n Inspection Details \r\n \r\n {\" \"} icon.\r\n
  6. \r\n
  7. \r\n 4. A window will be displayed with Contract, System, Questions, Equipment and Summary buttons.\r\n
  8. \r\n
  9. 5. Select the Add{\" \"}\r\n icon displayed against the Equipment Group Drop down.
  10. \r\n
  11. 6. The New Equipment Data window will be displayed with Save and Cancel buttons.
  12. \r\n
  13. 7. Enter the Address, Name and select the Type.
  14. \r\n
  15. 8. Click Save button. Added Equipment Group will be selected in the Equipment Group drop down by default.
  16. \r\n
\r\n\r\n\r\n
\r\n

B20.How to edit an Equipment Group?

\r\n\r\n

[Assumption: Required Inspection Task is in 'Active' status]

\r\n
    \r\n
  1. 1. Select Inspection: Inspection Tasks menu.
  2. \r\n
  3. 2. Select the required Customer and Contract from its corresponding Drop down displayed in the Inspection Task page. [Assumption: Active Inspection Task exists for the selected Contract.]
  4. \r\n
  5. \r\n 3. Select the required Inspection Task and click \r\n Inspection Details \r\n \r\n {\" \"} icon.\r\n
  6. \r\n
  7. 4. A window will be displayed with Contract, System, Questions, Equipment and Summary buttons.
  8. \r\n
  9. 5. Select Equipment button, All the added equipment’s will be displayed in the grid.
  10. \r\n
  11. 6. On selecting the required Equipment Group and Equipment Type from the drop down, the corresponding details will be displayed in the grid.
  12. \r\n
  13. 7. Select the Edit {\" \"}\r\n {' '} icon displayed against the Equipment Group drop down.
  14. \r\n
  15. 8. The Edit Equipment Data window will be displayed with details, Save Changes and Cancel buttons.
  16. \r\n
  17. 9. Edit the Address or Name or Type.
  18. \r\n
  19. 10. Click Save Changes button.
  20. \r\n\r\n
\r\n\r\n\r\n
\r\n

B21.How to view Inspection Details of Equipment?

\r\n\r\n

[Assumption: Required Inspection Task is in 'Active' status]

\r\n
    \r\n
  1. \r\n 1. Select Inspection: Inspection Tasks menu.\r\n
  2. \r\n
  3. \r\n 2. Select the required Customer and Contract from its corresponding Drop down displayed in the Inspection Task page. \r\n [Assumption: Active Inspection Task exists for the selected Contract.]\r\n
  4. \r\n
  5. \r\n 3. Select the required Inspection Task and click\r\n Inspection Details \r\n \r\n {\" \"} icon.\r\n
  6. \r\n
  7. 4. A window will be displayed with Contract, System, Questions, Equipment and Summary buttons.
  8. \r\n
  9. 5. Select Equipment button, All the added equipment’s will be displayed in the grid.
  10. \r\n
  11. 6. On selecting the required Equipment Group and Equipment Type from the drop down, the corresponding details will be displayed in the grid.
  12. \r\n\r\n
\r\n\r\n\r\n
\r\n

B22.How to view Equipment list?

\r\n\r\n

[Assumption: Required Inspection Task is in 'Active' status]

\r\n
    \r\n
  1. 1. Select Inspection: Inspection Tasks menu.
  2. \r\n
  3. 2. Select the required Customer and Contract from its corresponding Drop down displayed in the Inspection Task page. [Assumption: Active Inspection Task exists for the selected Contract.]
  4. \r\n
  5. \r\n 3. Select the required Inspection Task and click \r\n Inspection Details \r\n \r\n {\" \"} icon.\r\n
  6. \r\n
  7. 4. A window will be displayed with Contract, System, Questions, Equipment and Summary buttons.
  8. \r\n
  9. 5. Select Equipment button, All the added equipment’s will be displayed in the grid.
  10. \r\n
  11. 6. On selecting the required Equipment Group and Equipment Type from the drop down, the corresponding details will be displayed in the grid.
  12. \r\n
\r\n\r\n\r\n
\r\n

B23.How to Import Equipment details from an Excel sheet ?

\r\n
    \r\n
  1. 1. Select Inspection: Inspection Tasks menu.
  2. \r\n
  3. 2. Select the required Customer and Contract from its corresponding Dropdown displayed in the Inspection Task page. [Assumption: Active Inspection Task exists for the selected Contract.]
  4. \r\n
  5. \r\n 3. Select the required Inspection Task and click\r\n Inspection Details \r\n \r\n {\" \"} icon.\r\n
  6. \r\n
  7. 4. A window will be displayed with Contract, System, Questions, Equipment and Summary buttons.
  8. \r\n
  9. 5. Select Equipment button, All the added equipment’s will be displayed in the grid.
  10. \r\n
  11. 6. On selecting the required Equipment Group and Equipment Type from the drop down, the corresponding details will be displayed in the grid.
  12. \r\n
  13. 7. The Equipment node will be selected by default with the Equipment details listed.
  14. \r\n
  15. 8. Select any value except 'All' from the Equipment Type drop down.
  16. \r\n
  17. 9. Click Equipment: Import Equipment option from More {\" \"}\r\n icon.
  18. \r\n
  19. 10. Import Equipment page will be displayed with the options to browse the Attachment, select Worksheet and Equipment Specific. Click Choose File button and select the Attachment from the user's computer.
  20. \r\n
  21. 11. The work sheets in the excel file will be listed by name in the Work Sheet drop down automatically.
  22. \r\n
  23. 12. Select the required Worksheet and the radio button: Common or Equipment Specific. On selecting the required worksheet a table with “Excel Fields” and “Tech Advance+ fields” columns will be displayed .
  24. \r\n
  25. 13. Map Fire and Safety Details window will be displayed. Map the Excel fields with the corresponding Tech Advance+ Fields and click Save button. A confirmation message” Column Mapping saved” will be displayed.
  26. \r\n
  27. 14. Click Fetch Data button in Import Equipment page.
  28. \r\n
  29. 15. Import Equipment page will be displayed with all the imported data listed and will be mapped to its corresponding fields with a comment in the Comment column.
  30. \r\n
  31. 16. User can click on Inline Edit {\" \"}\r\n {\" \"} icon provided in the grid to edit the data imported from the excel file and click on Save{\" \"}\r\n {\" \"} icon to save the data.
  32. \r\n
  33. 17. Click Import button to import the data.
  34. \r\n\r\n
\r\n\r\n\r\n
\r\n

B24.How to link Equipment to a Module?

\r\n\r\n

[Assumption: Required Inspection Task is in 'Active' status]

\r\n
    \r\n
  1. 1. Select Inspection: Inspection Tasks menu.
  2. \r\n
  3. 2. Select the required Customer and Contract from its corresponding Dropdown displayed in the Inspection Task page. [Assumption: Active Inspection Task exists for the selected Contract.]
  4. \r\n
  5. \r\n 3. Select the required Inspection Task and click \r\n Inspection Details \r\n \r\n {\" \"} icon.
  6. \r\n
  7. 4. A window will be displayed with Contract, System, Questions, Equipment and Summary buttons.
  8. \r\n
  9. 5. Select Equipment button, All the added equipment’s will be displayed in the grid.
  10. \r\n
  11. 6. On selecting the required Equipment Group and Equipment Type from the drop down, the corresponding details will be displayed in the grid.
  12. \r\n
  13. 7. Select Devices option from Equipment Type drop down.
  14. \r\n
  15. 8. Select the Equipment(s) to be linked (Multiple Equipment can be linked together.)
  16. \r\n
  17. 9. Click Equipment: Connectivity option from more{\" \"}\r\n icon and a message \"Do you want to link this Equipment to Module?\" will be displayed.
  18. \r\n
  19. 10. Click 'Yes' to the message. Set Connectivity window will be displayed with System, Equipment Group, Devices and Cancel, Add buttons.
  20. \r\n
  21. 11. Select the required Device from the drop down.
  22. \r\n
  23. 12. The text boxes System and Equipment Group will be displayed as read only and cannot be edited. [Assumption: Modules already added]
  24. \r\n
  25. 13. Set the connectivity by clicking Add button.
  26. \r\n
  27. 14. Tech Advance + window will be displayed with “Added Connectivity” message and OK button.
  28. \r\n
\r\n\r\n\r\n\r\n\r\n
\r\n

B25.How to add new Equipment in Tech Advance+?

\r\n\r\n

[Assumption: Required Inspection Task is in 'Active' status]

\r\n
    \r\n
  1. 1. Select Inspection: Inspection Tasks menu.
  2. \r\n
  3. 2. Select the required Customer and Contract from its corresponding Dropdown displayed in the Inspection Task page. [Assumption: Active Inspection Task exists for the selected Contract.]
  4. \r\n
  5. \r\n 3. Select the required Inspection Task and click \r\n Inspection Details \r\n \r\n {\" \"} icon. \r\n
  6. \r\n
  7. 4. A window will be displayed with Contract, System, Questions, Equipment and Summary buttons.
  8. \r\n
  9. 5. Select Equipment button, All the added equipment’s will be displayed in the grid.
  10. \r\n
  11. 6. On selecting the required Equipment Group and Equipment Type from the drop down, the corresponding details will be displayed in the grid.
  12. \r\n
  13. 7. Select any Equipment Type such as AHU/Devices/Doors/Modules/NAC Panels/Kitchen Extinguishers/Stand Pipes/Fire Pumps from Equipment Type drop down. (Not allowed to add Equipment through the All option.)
  14. \r\n
  15. 8.\r\n Click Add {\" \"}\r\n \r\n icon.\r\n
  16. \r\n
  17. 9. The New Equipment window with Equipment Group, Module, Address, Barcode etc will be displayed with Save and Cancel buttons.
  18. \r\n
  19. 10. Enter the Equipment details and click Save button.
  20. \r\n
  21. 11. Equipment Added message will be displayed with OK button.
  22. \r\n
  23. 12. The new Equipment will be listed in the data grid.
  24. \r\n
\r\n\r\n\r\n
\r\n

B26.How to filter Equipment List in the Inspection Task?

\r\n
    \r\n
  1. 1. Select Inspection: Inspection Tasks menu.
  2. \r\n
  3. 2. Select the required Customer and Contract from its corresponding Dropdown displayed in the Inspection Task page. [Assumption: Active Inspection Task exists for the selected Contract.]
  4. \r\n
  5. \r\n 3. Select the required Inspection Task and click \r\n Inspection Details \r\n \r\n {\" \"}icon.\r\n
  6. \r\n
  7. 4. A window will be displayed with Contract, System, Questions, Equipment and Summary buttons.
  8. \r\n
  9. 5. Select Equipment button, All the added equipment’s will be displayed in the grid.
  10. \r\n
  11. 6. On selecting the required Equipment Group and Equipment Type from the drop down, the corresponding details will be displayed in the grid.
  12. \r\n
  13. 7. Click Filter{\" \"}\r\n icon.
  14. \r\n
  15. 8. Filter window will be displayed with Planned Start Date, Planned End Date, Data Fields drop downs etc. with Cancel and Go buttons.
  16. \r\n
  17. 9. Enter required details and click Go button.
  18. \r\n
  19. 10. Equipment list will be filtered according to the values entered.
  20. \r\n\r\n\r\n
\r\n\r\n\r\n
\r\n

B27. How to filter Equipment list with Attachments/XML imported/ Manually added Equipment ?

\r\n
    \r\n
  1. 1. The Equipment list page will be displayed on clicking the Panel option from the Inspection Details menu option with all Equipment listed by default.
  2. \r\n
  3. 2. Below the filter section three checkboxes are provided: Attachments Only, XML Imported and Manually Added.
  4. \r\n
  5. 3. If the selected check box is “Attachments Only” then the data grid will list only those Equipment with attachments added to it.
  6. \r\n
  7. 4. If the selected check box is “XML Imported” then the data grid will list only those Equipment that were imported using XML file while running the TAP Bridge.
  8. \r\n
  9. 5. If the selected check box is “Manually Added” then the data grid will list with only those Equipment that were manually added to the selected Panel.
  10. \r\n
  11. 6. Select the required check box to filter the Equipment List accordingly.
  12. \r\n
\r\n

Note: XML Imported and Manually Added checkboxes will be selected by default.

\r\n\r\n\r\n
\r\n

B28.How to link barcode to Equipment in the list?

\r\n
    \r\n
  1. 1. Select Inspection: Inspection Tasks menu.
  2. \r\n
  3. 2. Select the required Customer and Contract from its corresponding Dropdown displayed in the Inspection Task page. [Assumption: Active Inspection Task exists for the selected Contract.]
  4. \r\n
  5. \r\n 3. Select the required Inspection Task and click \r\n Inspection Details \r\n \r\n {\" \"} icon.\r\n
  6. \r\n
  7. 4. A window will be displayed with Contract, System, Questions, Equipment and Summary buttons.
  8. \r\n
  9. 5. Select Equipment button, All the added equipment’s will be displayed in the grid.
  10. \r\n
  11. 6. On selecting the required Equipment Group and Equipment Type from the drop down, the corresponding details will be displayed in the grid.
  12. \r\n
  13. 7. Select Equipment Type: AHU/Devices/Doors/Modules/NAC Panels etc.
  14. \r\n
  15. 8. Select the required Equipment from the data grid and click Edit{\" \"}\r\n {' '} icon.
  16. \r\n
  17. 9. The Edit Equipment window will be displayed with equipment details and Save Changes and Cancel buttons.
  18. \r\n
  19. 10. The Barcode textbox for the selected Equipment will be displayed, if enabled in Common Attributes and Data Entry display settings.
  20. \r\n
  21. 11. Enter the Barcode details and click Save Changes button.
  22. \r\n\r\n
\r\n\r\n\r\n
\r\n

B29.How to Clone an Equipment in Tech Advance+?

\r\n
    \r\n
  1. 1. Select Inspection: Inspection Tasks menu.
  2. \r\n
  3. 2. Select the required Customer and Contract from its corresponding Dropdown displayed in the Inspection Task page. [Assumption: Active Inspection Task exists for the selected Contract.]
  4. \r\n
  5. \r\n 3. Select the required Inspection Task and click \r\n Inspection Details \r\n \r\n {\" \"} icon.\r\n
  6. \r\n
  7. 4. A window will be displayed with Contract, System, Questions, Equipment and Summary buttons.
  8. \r\n
  9. 5. Select Equipment button, All the added equipment’s will be displayed in the grid.
  10. \r\n
  11. 6. On selecting the required Equipment Group and Equipment Type from the drop down, the corresponding details will be displayed in the grid.
  12. \r\n
  13. 7. Select the Equipment Type and required Equipment which is not an XML parsed equipment.
  14. \r\n
  15. 8. Click on the Clone {\"\"}\r\n icon, The Clone Equipment Page will be displayed with Equipment Details and Save Changes and Cancel button.
  16. \r\n
  17. 9. Enter the required details and click Save Changes button.
  18. \r\n
\r\n\r\n
\r\n

B30.How to delete Equipment from Tech Advance+?

\r\n\r\n

[Assumption: Required Inspection Task is in 'Active' status]

\r\n
    \r\n
  1. 1. Select Inspection: Inspection Tasks menu.
  2. \r\n
  3. 2. Select the required Customer and Contract from its corresponding Dropdown displayed in the Inspection Task page. [Assumption: Active Inspection Task exists for the selected Contract.]
  4. \r\n
  5. \r\n 3. Select the required Inspection Task and click \r\n Inspection Details \r\n \r\n {\" \"} icon.\r\n
  6. \r\n
  7. 4. A window will be displayed with Contract, System, Questions, Equipment and Summary buttons.
  8. \r\n
  9. 5. Select Equipment button, All the added equipment’s will be displayed in the grid.
  10. \r\n
  11. 6. On selecting the required Equipment Group and Equipment Type from the drop down, the corresponding details will be displayed in the grid.
  12. \r\n
  13. 7. Select the Equipment to be deleted from the data grid. Multiple equipments can be selected if required.
  14. \r\n
  15. 8. Click Delete{\" \"}\r\n {\" \"} icon and a message “Are you sure you want to delete the selected Equipment?” will be displayed with Yes or No buttons.
  16. \r\n
  17. 9. Click 'Yes' to the message and the selected Equipment will be deleted.
  18. \r\n
\r\n\r\n

Note: Modules and Sprinklers with connectivity cannot be deleted.

\r\n\r\n
\r\n

B31.How to reset Test Result values of Equipment ?

\r\n\r\n

[Assumption: Required Inspection Task is in 'Active' status]

\r\n
    \r\n
  1. 1. Select Inspection: Inspection Tasks menu.
  2. \r\n
  3. 2. Select the required Customer and Contract from its corresponding Dropdown displayed in the Inspection Task page. [Assumption: Active Inspection Task exists for the selected Contract.]
  4. \r\n
  5. \r\n 3. Select the required Inspection Task and click Inspection Details \r\n \r\n {\" \"} icon.\r\n
  6. \r\n
  7. 4. A window will be displayed with Contract, System, Questions, Equipment and Summary buttons.
  8. \r\n
  9. 5. Select Equipment button, All the added equipment’s will be displayed in the grid.
  10. \r\n
  11. 6. On selecting the required Equipment Group and Equipment Type from the drop down, the corresponding details will be displayed in the grid.
  12. \r\n
  13. 7. Select 'All' option from Equipment Type drop down and select the required Equipment from the data grid.
  14. \r\n
  15. 8. Click Equipment: Reset option and a message “Are you sure you want to reset Equipment Test Result values?” will be displayed with Yes or No buttons.
  16. \r\n
  17. 9. Click 'Yes' to the message and the Equipment Test Result values of the selected Equipment will reset.
  18. \r\n
\r\n\r\n
\r\n

B32.How to edit the data of Equipment?

\r\n\r\n

[Assumption: Required Inspection Task is in 'Active' status]

\r\n
    \r\n
  1. 1. Select Inspection: Inspection Tasks menu.
  2. \r\n
  3. 2. Select the required Customer and Contract from its corresponding Dropdown displayed in the Inspection Task page. [Assumption: Active Inspection Task exists for the selected Contract.]
  4. \r\n
  5. \r\n 3. Select the required Inspection Task and click Inspection Details \r\n \r\n {\" \"} icon.\r\n
  6. \r\n
  7. 4. A window will be displayed with Contract, System, Questions, Equipment and Summary buttons.
  8. \r\n
  9. 5. Select Equipment button, All the added equipment’s will be displayed in the grid.
  10. \r\n
  11. 6. On selecting the required Equipment Group and Equipment Type from the drop down, the corresponding details will be displayed in the grid.
  12. \r\n
  13. 7. Select the required Equipment from the data grid and click and click Edit{\" \"}\r\n {' '} icon
  14. \r\n
  15. 8. The Edit Equipment Data window will be displayed with Save Changes and Cancel buttons. The details of the selected Equipment will be loaded in its corresponding fields.
  16. \r\n
  17. 9. Update the required fields and click Save Changes button.
  18. \r\n
  19. 10. The Equipment Data will be deleted.
  20. \r\n
\r\n\r\n
\r\n

B33.How to edit the address of Equipment?

\r\n\r\n

[Assumption: Required Inspection Task is in 'Active' status]

\r\n
    \r\n
  1. \r\n 1. Select Inspection: Inspection Tasks menu.\r\n
  2. \r\n
  3. 2. Select the required Customer and Contract from its corresponding Dropdown displayed in the Inspection Task page. [Assumption: Active Inspection Task exists for the selected Contract.]
  4. \r\n
  5. \r\n 3. Select the required Inspection Task and click Inspection Details \r\n \r\n {\" \"} icon.\r\n
  6. \r\n
  7. 4. A window will be displayed with Contract, System, Questions, Equipment and Summary buttons.
  8. \r\n
  9. 5. Select Equipment button, All the added equipment’s will be displayed in the grid.
  10. \r\n
  11. 6. On selecting the required Equipment Group and Equipment Type from the drop down, the corresponding details will be displayed in the grid.
  12. \r\n
  13. 7. Select any value except 'All' from Equipment Type drop down.
  14. \r\n
  15. 8. Select the manually added or imported Equipment from the data grid and click Edit {\" \"}\r\n {' '} icon.
  16. \r\n
  17. 9. The Edit Equipment Data window will be displayed with Save Changes and Cancel buttons.
  18. \r\n
  19. 10. The details of the selected Equipment will be loaded in its corresponding fields.
  20. \r\n
  21. 11. Edit the Address field, click the Save Changes button.
  22. \r\n
  23. 12. The Address will be updated.
  24. \r\n
\r\n

Note: Selected Equipment should be manually added or imported through Import from Excel option. Address of the Equipment loaded through TAP Bridge cannot be edited.

\r\n\r\n
\r\n

B34.How to edit details of Multiple Equipment?

\r\n\r\n

[Assumption: Required Inspection Task is in 'Active' status]

\r\n
    \r\n
  1. 1. Select Inspection: Inspection Tasks menu.
  2. \r\n
  3. 2. Select the required Customer and Contract from its corresponding Dropdown displayed in the Inspection Task page. [Assumption: Active Inspection Task exists for the selected Contract.]
  4. \r\n
  5. \r\n 3. Select the required Inspection Task and click Inspection Details \r\n \r\n {\" \"} icon.\r\n
  6. \r\n
  7. 4. A window will be displayed with Contract, System, Questions, Equipment and Summary buttons.
  8. \r\n
  9. 5. Select Equipment button, All the added equipment’s will be displayed in the grid.
  10. \r\n
  11. 6. On selecting the required Equipment Group and Equipment Type from the drop down, the corresponding details will be displayed in the grid.
  12. \r\n
  13. 7. Select any value except 'All' from Equipment Type drop down.
  14. \r\n
  15. 8. Select the required equipments from the data grid by selecting multiple records using control and shift keys first, then clicking the Edit {\" \"}\r\n {' '} icon.
  16. \r\n
  17. 9. The Equipment Data window will be displayed with option to select the Field Name and Value to be edited.
  18. \r\n
  19. 10. Select the Field Name to be modified and enter/select the new value.
  20. \r\n
  21. 11. Click Save button.
  22. \r\n
  23. 12. Selected field value of all the selected equipment will be modified with the new value.
  24. \r\n
\r\n\r\n
\r\n

B35.How to update Test Status of Equipment or do Manual Inspection?

\r\n\r\n

[Assumption: Required Inspection Task is in 'Active' status]

\r\n
    \r\n
  1. 1. Select Inspection: Inspection Tasks menu.
  2. \r\n
  3. 2. Select the required Customer and Contract from its corresponding Drop down displayed in the Inspection Task page. [Assumption: Active Inspection Task exists for the selected Contract.]
  4. \r\n
  5. \r\n 3. Select the required Inspection Task and click Inspection Details \r\n \r\n {\" \"} icon.\r\n
  6. \r\n
  7. 4. A window will be displayed with Contract, System, Questions, Equipment and Summary buttons.
  8. \r\n
  9. 5. Select Equipment button, All the added equipment’s will be displayed in the grid.
  10. \r\n
  11. 6. On selecting the required Equipment Group and Equipment Type from the drop down, the corresponding details will be displayed in the grid.
  12. \r\n
  13. 7. Select any value except 'All' from Equipment Type drop down.
  14. \r\n
  15. 8. Click Edit {\" \"} {' '} icon.
  16. \r\n
  17. 9. Edit Equipment window will be displayed with Save Changes and Cancel buttons. The Address of the selected Equipment will be displayed as read only.
  18. \r\n
  19. 10. Update the Test Method, Test Result and Dev. Reading fields with the required values. If the Update Test Date and Update Dev. Reading Date check boxes are checked, the Test Date and Dev. Reading Date will be updated to the current date by default.
  20. \r\n
  21. 11. Make the required changes and click Save Changes button.
  22. \r\n
  23. 12. A confirmation message “Equipment updated” will be displayed.
  24. \r\n
\r\n\r\n
\r\n

B36.How to upload Attachments to Equipment?

\r\n\r\n

[Assumption: Required Inspection Task is in 'Active' status]

\r\n
    \r\n
  1. 1. Select Inspection: Inspection Tasks menu.
  2. \r\n
  3. 2. Select the required Customer and Contract from its corresponding Drop down displayed in the Inspection Task page. [Assumption: Active Inspection Task exists for the selected Contract.]
  4. \r\n
  5. \r\n 3. Select the required Inspection Task and click Inspection Details \r\n \r\n {\" \"} icon.\r\n
  6. \r\n
  7. 4. A window will be displayed with Contract, System, Questions, Equipment and Summary buttons.
  8. \r\n
  9. 5. Select Equipment button, All the added equipment’s will be displayed in the grid.
  10. \r\n
  11. 6. On selecting the required Equipment Group and Equipment Type from the drop down, the corresponding details will be displayed in the grid.
  12. \r\n
  13. 7. Click Attachments option and the Equipment Attachments window will be displayed with Attachment, Tools and Close menu.
  14. \r\n
  15. 8. Select Attachment: Add {\" \"}\r\n icon. The Upload Attachment window will be displayed with Upload and Cancel buttons.
  16. \r\n
  17. 9. Select the File Type and select the file through the file open dialog by clicking on the Browse button.
  18. \r\n
  19. 10. Click Upload button and the selected file will be uploaded as an attachment to the selected Equipment.
  20. \r\n
\r\n\r\n
\r\n

B37.How to view tested/untested equipment list?

\r\n\r\n

[Assumption: Required Inspection Task is in 'Active' status]

\r\n
    \r\n
  1. 1. Select Inspection: Inspection Tasks menu.
  2. \r\n
  3. 2. Select the required Customer and Contract from its corresponding Drop down displayed in the Inspection Task page. [Assumption: Active Inspection Task exists for the selected Contract.]
  4. \r\n
  5. \r\n 3. Select the required Inspection Task and click Inspection Details \r\n \r\n {\" \"} icon.\r\n
  6. \r\n
  7. 4. A window will be displayed with Contract, System, Questions, Equipment and summary buttons.
  8. \r\n
  9. 5. Select Equipment button, All the added equipment’s will be displayed in the grid.
  10. \r\n
  11. 6. On selecting the required Equipment Group and Equipment Type from the drop down, the corresponding details will be displayed in the grid.
  12. \r\n
  13. 7. Select the Filter {\" \"}\r\n icon. The Filter window will be displayed with Go and Cancel buttons.
  14. \r\n
  15. 8. Select 'Show only Untested Equipments' check box displayed in the Filter window and click Go button.
  16. \r\n
  17. 9. All the Equipment with Test Result status as 'Not Tested' will be listed in the data grid.
  18. \r\n
\r\n\r\n
\r\n

B38.How to download/Export Equipment Data to an Excel Sheet?

\r\n\r\n

[Assumption: Required Inspection Task is in 'Active' status]

\r\n
    \r\n
  1. 1. Select Inspection: Inspection Tasks menu.
  2. \r\n
  3. 2. Select the required Customer and Contract from its corresponding Dropdown displayed in the Inspection Task page. [Assumption: Active Inspection Task exists for the selected Contract.]
  4. \r\n
  5. \r\n 3. Select the required Inspection Task and click Inspection Details \r\n \r\n {\" \"} icon.\r\n
  6. \r\n
  7. 4. A window will be displayed with Contract, System, Questions, Equipment and Summary buttons.
  8. \r\n
  9. 5. Select Equipment button, All the added equipment’s will be displayed in the grid.
  10. \r\n
  11. 6. On selecting the required Equipment Group and Equipment Type from the drop down, the corresponding details will be displayed in the grid.
  12. \r\n
  13. 7. Click Export All option from Download {\" \"}\r\n {\" \"} icon.
  14. \r\n
  15. 8. View Downloads window will be displayed listing the details of the Downloaded files.
  16. \r\n
  17. 9. All the Equipment details will be available in an Excel.
  18. \r\n
\r\n\r\n
\r\n

B39.How to view the Equipment Test Summary of an Inspection Task?

\r\n
    \r\n
  1. 1. Go to Inspection: Inspection Tasks .
  2. \r\n
  3. 2. Select Equipment Summary option from More {\" \"}\r\n {\" \"}icon.
  4. \r\n
  5. 3. A Report page will be displayed showing the Equipment Summary.
  6. \r\n
\r\n\r\n
\r\n

B40.How to quit Job from Desktop application?

\r\n\r\n

[Assumption: Required Inspection Task is in 'Active' status]

\r\n
    \r\n
  1. 1. Click Inspection: Inspection Tasks menu.
  2. \r\n
  3. 2. Select the required Customer and Contract from its corresponding drop down displayed in the Inspection Task page.
  4. \r\n
  5. 3. Select Quit Task option from More {\" \"}\r\n {\" \"} icon.
  6. \r\n
  7. 4. Quit Job window will be displayed listing all the Technicians who have joined the Inspection Task with check box against each Technician with Quit Task and Cancel buttons.
  8. \r\n
  9. 5. Select the required Technician and click Quit Task button.
  10. \r\n
  11. 6. The selected Technician will be quit from the Job which is started in the Inspection App.
  12. \r\n
\r\n\r\n
\r\n

B41.How to open a Drawing in Tech Advance+ ?

\r\n\r\n

Pre-requisite: The concerned System should have an active Inspection Task.

\r\n
    \r\n
  1. 1. Click Inspection: Inspection Tasks menu.
  2. \r\n
  3. 2. Select the required Customer and Contract from its corresponding drop down displayed in the Inspection Task page.
  4. \r\n
  5. 3. Select Drawings menu.
  6. \r\n
  7. 4. Drawing List page will be displayed listing all the Drawings uploaded for the selected active Inspection Task with Open Drawing and Close button.
  8. \r\n
  9. 5. Select the required Drawing and click Open Drawing button to view the Drawing.
  10. \r\n
\r\n\r\n
\r\n

B42.How to Generate Reports?

\r\n\r\n

Generate Reports option is used to generate Inspection Reports for the selected System/Equipment Group/Building.

\r\n\r\n

The steps to be followed to generate reports are as follows:

\r\n
    \r\n
  1. 1. Select Generate Reports tab from Inspection: Inspection Reports .
  2. \r\n
  3. 2. Select the System from the corresponding drop down in Generate Reports page.
  4. \r\n
  5. 3. Select the Panel(s) and Reports to be generated.
  6. \r\n
  7. 4. Make sure the Start Date and End Date displayed by default will be the required Inspection Start and End Date.
  8. \r\n
  9. 5. Click Generate button.
  10. \r\n
  11. 6. Generated Reports will be available in the Reports tab in Inspection: Inspection Reports .
  12. \r\n
  13. 7. Select the required System from the corresponding drop down and select the required report for the data grid.
  14. \r\n
  15. 8. Click Download Draft Report button and the associated Generated Report will be downloaded to the user's computer.
  16. \r\n
\r\n\r\n\r\n
\r\n

B43.How to Upload Final Reports?

\r\n\r\n

Assumption: All required Reports are already generated through Inspection: Inspection Reports: Generate Reports .

\r\n\r\n

The steps to be followed to upload Final reports are as follows:

\r\n
    \r\n
  1. 1. Go to Reports tab in Inspection: Inspection Reports .
  2. \r\n
  3. 2. Select the required System from the corresponding drop down and select the required report for the data grid.
  4. \r\n
  5. \r\n 3. Click Upload Final Reports\r\n {\" \"}\r\n icon.\r\n
  6. \r\n
  7. 4. Upload Final Report page will be displayed with option to select the File, enter Description and with Upload and Cancel buttons
  8. \r\n
  9. 5. Click on the Attachment field and drag the required File to the Field. Then click Upload button.
  10. \r\n
  11. 6. Final Report will be uploaded against the selected Report
  12. \r\n
\r\n\r\n
\r\n

C Drawing View and Equipment Update from Drawing

\r\n
\r\n

C1.How to view the assigned/linked Equipment in a Drawing?

\r\n\r\n

[Assumption: The selected Inspection Task is in Active status]

\r\n
    \r\n
  1. 1. Select Inspection: Inspection Tasks: Drawings menu.
  2. \r\n
  3. 2. Drawing List page will be displayed listing all the Drawings uploaded for the selected active Inspection Task with Open Drawing and Close button.
  4. \r\n
  5. 3. Select the required Drawing and click on Open Drawing button to view the Drawing.
  6. \r\n
  7. 4. Select the required Equipment from the Data grid in the Drawings page.[Assumption: Equipment already added]
  8. \r\n
  9. \r\n 5. Click Show Drawing \r\n \"Show option.\r\n
  10. \r\n
  11. 6. The Equipment will be selected and will be displayed as hatched in the drawing.
  12. \r\n
\r\n\r\n
\r\n

C2.How to assign/link unassigned Equipment to the Drawing?

\r\n\r\n

[Assumption: The selected Inspection Task is in Active status]

\r\n
    \r\n
  1. 1. Select Inspection: Inspection Tasks: Drawings menu.
  2. \r\n
  3. 2. Drawing List page will be displayed listing all the Drawings uploaded for the selected active Inspection Task with Open Drawing and Close button.
  4. \r\n
  5. 3. Select the required Drawing and click on Open Drawing button to view the Drawing.
  6. \r\n
  7. 4. Select 'Unassigned' tab from the Data grid in the Drawings page.
  8. \r\n
  9. 5. All the unassigned Equipment will be listed in the data grid.
  10. \r\n
  11. 6. Select the required unassigned Equipment from the data grid.
  12. \r\n
  13. 7. Click Equipment: Assign Block \"Assign option if it is a symbol based component.
  14. \r\n
  15. \r\n 8. The Equipment will be selected and \"Select the point where the \"Equipment (Address) is to be placed\" message will be displayed with OK button.
  16. \r\n
  17. 9. Click OK button and select the point where the Equipment is to be placed.
  18. \r\n
  19. 10. The Equipment will be placed there and a confirmation message, \" 'Equipment (Address)'placed\" will be displayed.
  20. \r\n
  21. 11. Click Associate Block \"Assignoption if the equipment is a block based equipment.
  22. \r\n
  23. 12. Select the Block to be linked as per address of the Equipment displayed in the message.
  24. \r\n
  25. 13. The Equipment will be associated to the selected block.
  26. \r\n
\r\n\r\n\r\n
\r\n

C3.How to edit the data of Equipment from Drawing?

\r\n\r\n

[Assumption: The selected Inspection Task is in Active status]

\r\n
    \r\n
  1. 1. Select Inspection: Inspection Tasks: Drawings menu.
  2. \r\n
  3. 2. Drawing List page will be displayed listing all the Drawings uploaded for the selected active Inspection Task with Open Drawing and Close button.
  4. \r\n
  5. 3. Select the required Drawing and click on Open Drawing button to view the Drawing.
  6. \r\n
  7. 4. Click Equipment: Edit {\" \"}\r\n {' '} icon from the Data grid.
  8. \r\n
  9. 5. The Equipment Data window will be displayed with Save Changes and Cancel buttons. The details of the selected Equipment will be loaded in its corresponding fields.
  10. \r\n
  11. 6. Click Save Changes button. The modified changes will be updated.
  12. \r\n
\r\n\r\n\r\n
\r\n

C4.How to update Test Status of Equipment from Drawing?

\r\n\r\n

[Assumption: The selected Inspection Task is in Active status]

\r\n
    \r\n
  1. 1. Select Inspection: Inspection Tasks: Drawings menu.
  2. \r\n
  3. 2. Drawing List page will be displayed listing all the Drawings uploaded for the selected active Inspection Task with Open Drawing and Close button.
  4. \r\n
  5. 3. Select the required Drawing and click on Open Drawing button to view the Drawing.
  6. \r\n
  7. 4. Select the required Equipment from the data grid.
  8. \r\n
  9. 5. Click Equipment: Edit {\" \"}\r\n {' '} icon from the Data grid.
  10. \r\n
  11. 6. Update Status window will be displayed with Save Changes and Cancel buttons. The Address of the selected Equipment will be displayed as read only.
  12. \r\n
  13. 7. Update the Test Method, Test Result and Dev. Reading fields with the required values. If the Update Test Date and Update Dev. Reading Date check boxes are checked, the Test Date and Dev. Reading Date will be updated to the current date.
  14. \r\n
  15. 8. Enter the required changes and click Save Changes button.
  16. \r\n
  17. 9. A confirmation message \"Equipment updated\" will be displayed.
  18. \r\n
\r\n\r\n
\r\n

D TAP Bridge

\r\n\r\n
\r\n

D1.How to download and install TAP Bridge ?

\r\n
    \r\n
  1. 1. Select the option Inspection: Plugins: TAP Bridge: Download.
  2. \r\n
  3. 2. The latest TAP Bridge file uploaded by the Super Administrator through Plugins: TAP Bridge > Upload will be downloaded to the user's computer as a ZIP file.
  4. \r\n
  5. 3. Click the Save option to Save the TAP Bridge in the required location.
  6. \r\n
  7. 4. Extract the ZIP file contents to the appropriate location. Double click the TAP Bridge icon from the saved location.
  8. \r\n
  9. 5. Follow the instruction and install it by clicking the Install button.
  10. \r\n
\r\n\r\n
\r\n

D2.How to update a new version of TAP Bridge?

\r\n
    \r\n
  1. 1. Select the option Inspection: Plugins: TAP Bridge: Download.
  2. \r\n
  3. 2. The latest TAP Bridge file uploaded by the Super Administrator through Plugins: TAP Bridge > Upload will be downloaded to the user's computer as a ZIP file.
  4. \r\n
  5. 3. Click the Save option to Save the TAP Bridge in the required location.
  6. \r\n
  7. 4. Extract the ZIP file contents to the appropriate location. Double click the TAP Bridge icon from the saved location.
  8. \r\n
  9. 5. Follow the instruction and install it by clicking the Install button.
  10. \r\n
\r\n\r\n
\r\n

D3.What are the pre-requisites to run TAP Bridge?

\r\n
    \r\n

    Three different modes are available in the TAP Bridge for three different functionalities namely Inspection, Report Generation and Trouble shooting.

    \r\n\r\n

    Following are to be ensured, before running the TAP Bridge:

    \r\n\r\n
  1. 1. Latest TAP Bridge is installed in the computer.
  2. \r\n
  3. 2. Active Inspection Tasks for MXL or XLS Systems should be created and assigned to corresponding Lead Technicians.
  4. \r\n
\r\n\r\n
\r\n

D4.How to run TAP Bridge in Inspection mode?

\r\n\r\n
    \r\n

    Steps to run TAP Bridge in Inspection mode are as follows:

    \r\n\r\n
  1. 1. Double click on the TAP Bridge icon in the Technician's Laptop.
  2. \r\n
  3. 2. TAP Bridge window will be displayed with option to enter the User name and Password and with Internet Connection button. Different modes are provided as radio buttons, where Inspection Mode is selected by default. [If not , select the Inspection Mode radio button]
  4. \r\n
  5. 3. Enter User Name and Password and click Internet Connection button. (User should be a Lead Technician)
  6. \r\n
  7. 4. If more than one Active Inspection Tasks are assigned to the user (as Lead Technician), Select Inspection window will be displayed listing all the active Inspection Tasks assigned to the user, with OK button.
  8. \r\n
  9. 5. Select the required Inspection Task and click OK button. The Start button will be enabled.
  10. \r\n\r\n

    Note: If only one active Inspection Task is assigned to the user (as Lead Technician), no window will be popped up. Instead, the Start button will be enabled directly by selecting the Active task by default.

    \r\n\r\n
  11. 6. Click Start button.
  12. \r\n
  13. 7. After establishing the connection with TechAdvance+, Equipment List will be sent to Tech Advance+ Equipment list will be later downloaded to the mobile device for Inspection. Printer logs and Event logs will be sent to the Panel Control in the mobile device.
  14. \r\n
  15. 8. Equipment status is updated automatically if it is in online mode or by manually updating the Equipment from the Inspection App if it is in offline mode.
  16. \r\n
\r\n
\r\n

D5.How to run TAP Bridge in Troubleshooting mode?

\r\n\r\n
    \r\n

    Steps to run TAP Bridge in Troubleshooting mode are as follows:

    \r\n\r\n
  1. 1. Double click on the TAP Bridge icon in the Technician's Laptop.
  2. \r\n
  3. 2. TAP Bridge window will be displayed with option to enter the User name and Password and with Internet Connection button. Different modes are provided as radio buttons, where Inspection Mode is selected by default. A Panel Type drop down is also provided in the window.
  4. \r\n
  5. 3. The Technician should enter his User Name and Password, select the Trouble shooting Radio button and click Internet Connection button.
  6. \r\n
  7. 4. Once the session is initiated, Start button will be enabled.
  8. \r\n
  9. 5. Choose a Panel Type (MXL or XLS) and click Start button.
  10. \r\n
  11. 6. After establishing the connection, another Technician can login to the mobile device in Troubleshooting mode. The name of the Technician who is connected to the Panel through TAP Bridge should be selected to identify the Panel to be diagnosed. Printer logs will be sent to the Panel Control in the mobile device. Only Panel Control page with corresponding key pad will be displayed in the Inspection App.
  12. \r\n
\r\n\r\n \r\n );\r\n}\r\n\r\nexport default InspectionFAQDocument;","import { Button } from \"primereact/button\";\r\nimport React from \"react\";\r\nimport { BsPersonCircle } from \"react-icons/bs\";\r\n\r\nconst PreferencesDocument = () => {\r\n return (\r\n <>\r\n

\r\n Preferences\r\n

\r\n

Personal Settings, Feedback Send Mail and Logbook options are grouped under \r\n Preferences \r\n icon\r\n

\r\n \r\n\r\n \r\n );\r\n}\r\n\r\nexport default PreferencesDocument;","import React from 'react'\r\nimport { BsFillEyeFill, BsFillPencilFill, BsPlusLg, BsTrashFill } from 'react-icons/bs';\r\nimport { FaDownload } from 'react-icons/fa';\r\nimport { Button } from \"primereact/button\";\r\n\r\nconst ReportsTapPerformanceDocument = () => {\r\n return (\r\n <>\r\n

Life Safety Systems Report

\r\n

\r\n Life Safety Systems Report page is used to create projects which are used to generate Life Safety Systems Reports. Super Admin, Support and Admin users can use Life Safety Systems Report page to generate reports. Option to Add, Edit, Delete Project and option to View, Download and Generate Report are provided in the Life Safety Systems Report page.\r\n

\r\n

Add:

\r\n

\r\n Life Safety Systems Report can be generated only after creating a new Project and\r\n then defining all the details in the Project. So,

Add \r\n option provided in the Life Safety Systems Report helps to create\r\n the project where all the required details like Project Details, Goals,\r\n System Details and Comments are added. Users can add and save Project Name,\r\n Project Owner name, Email, selecting the required Branch Office, System and\r\n Inspection Task, Start Date and End Date in Project Details page. Life Safety Systems\r\n Goals can be added in the Goals page and comments can be added in Comments page.\r\n Users can select the required system from System Details to add Software version and\r\n update details\r\n and also to view\r\n Inspection Report Turnaround and Inspection Deficiency List details.\r\n

\r\n

\r\n\r\n

\r\n Edit: \r\n

\r\n

Edit \r\n {\" \"}{\" \"} option is provided to edit and make the necessary changes to the Project. To edit a Project, select the required Project and click Edit icon. The changes made will be reflected only in newly generated reports and not in already generated reports.\r\n

\r\n\r\n

\r\n Delete: \r\n

\r\n\r\n

\r\n Delete \r\n \r\n option is provided to delete the Project.To delete a Project, select the required Project and click Delete icon.\r\n

\r\n\r\n

\r\n View: \r\n

\r\n

\r\n View \r\n {\" \"} option is provided to view the Reports generated against Project. Report will be opened in a PDF / Doc format when View option is clicked.Reports can only be viewed if reports are generated for the selected Project.\r\n

\r\n\r\n

\r\n Download: \r\n

\r\n

\r\n Download \r\n \r\n {\" \"} option is provided the download the generated report in .docx format.To download the Report generated for a Project, select the required Project and click Download icon.\r\n

\r\n\r\n

\r\n Generate:\r\n \r\n

\r\n

\r\n Generate\r\n {\" \"} option is provided to generate Life Safety Systems Report for the selected Project.\r\n

\r\n \r\n \r\n );\r\n}\r\nexport default ReportsTapPerformanceDocument;","import React from 'react'\r\n\r\nconst ReportsSalesOpportunityDocument = () => {\r\n return (\r\n <>\r\n

Sales Opportunity Report

\r\n

\r\n The Sales Opportunity Report plays a crucial role in Siemens TAP System migration. This report assists the sales team in identifying the systems that require migration from older Panel Types and Equipment models to their updated counterparts. Specifically, the report focuses on equipment types such as devices, modules, and NAC panels having Make/Model information for each..\r\n

\r\n

\r\n Sales Opportunity Report showcases data related to all Systems (both active and closed) over the past 36 months.\r\n

\r\n

\r\n Access to the report is granted to Super Administrators, Support, Admin, and Admin-Tech users.\r\n

\r\n

\r\n To generate Sales Opportunity Report, the user should navigate to Inspection: Reports: Sales Opportunity Report . Filters to choose Branch Office, Panel Type, Equipment Type and Model are provided in the Report page\r\n

\r\n

\r\n After selecting all the required filters, click on the Apply button to generate Sales Opportunity Report. The generated report will display Branch Office Name, Customer Number, Customer Name, Site Number, Site Name, Panel Type, System Name, System Status, Equipment Type, Model and Model Count data. These data can also be exported to excel by clicking the export to excel button.\r\n

\r\n \r\n \r\n );\r\n}\r\nexport default ReportsSalesOpportunityDocument;","import React from \"react\";\r\nimport { APP_ROUTES } from \"constants/AppRoutes\";\r\n\r\nimport OverviewDoument from \"./HelpDocuments/OverviewDoument\";\r\nimport ModulesDoument from \"./HelpDocuments/ModulesDoument\";\r\nimport DashboardDoument from \"./HelpDocuments/DashboardDoument\";\r\n\r\nimport AdministrationDocument from \"./HelpDocuments/Admininstration/AdministrationDoument\";\r\nimport AdministrationCustomers from \"./HelpDocuments/Admininstration/AdministrationCustomers\";\r\nimport AdministrationSites from \"./HelpDocuments/Admininstration/AdministrationSites\";\r\nimport UsersDocument from \"./HelpDocuments/Admininstration/UsersDocument\";\r\nimport AdministrationBuildingsDocument from \"./HelpDocuments/Admininstration/AdministrationBuildingsDocument\";\r\nimport AdministrationFloorsDocument from \"./HelpDocuments/Admininstration/AdministrationFloorsDocument\";\r\nimport AdministrationSearchDocument from \"./HelpDocuments/Admininstration/AdministrationSearchDocument\";\r\nimport AdministrationSearchContractDocument from \"./HelpDocuments/Admininstration/AdministrationSearchContract\";\r\nimport AdministrationSearchCustomerDocument from \"./HelpDocuments/Admininstration/AdministrationSearchCustomerDocument\";\r\nimport AdministrationSearchInspectionTaskDocument from \"./HelpDocuments/Admininstration/AdministrationSearchInspectionTaskDocument\";\r\nimport AdministrationSearchNotificationNumberDocument from \"./HelpDocuments/Admininstration/AdministrationSearchNotificationNumber\";\r\nimport AdministrationSearchSiteDocument from \"./HelpDocuments/Admininstration/AdministrationSearchSiteDocument\";\r\nimport AdministrationSearchSystemDocument from \"./HelpDocuments/Admininstration/AdministrationSearchSystem\";\r\nimport AdministrationSearchUserDocument from \"./HelpDocuments/Admininstration/AdministrationSearchUsers\";\r\n\r\nimport InspectionDocuments from \"./HelpDocuments/Inspection/InspectionDocuments\"\r\nimport InspectionTasksDocument from \"./HelpDocuments/Inspection/InspectionTasksDocument\";\r\nimport InspectionTaskInspectionDetailsDocument from \"./HelpDocuments/Inspection/InspectionTaskInspectionDetailsDocument\";\r\nimport InspectionDrawingsDocument from \"./HelpDocuments/Inspection/InspectionDrawingsDocument\";\r\nimport InspectionContractsDocument from \"./HelpDocuments/Inspection/InspectionContractsDocument\";\r\nimport InspectionSystemsDocument from \"./HelpDocuments/Inspection/InspectionSystemsDocument\";\r\nimport InspectionReportsReportsDocument from \"./HelpDocuments/Inspection/InspectionReportsReportsDocument\";\r\nimport InspectionReportsGenerateReportsDocument from \"./HelpDocuments/Inspection/InspectionReportsGenerateReportsDocument\";\r\nimport SearchDocument from \"./HelpDocuments/Inspection/SearchDocument\";\r\nimport SearchSiteDocument from \"./HelpDocuments/Inspection/SearchSiteDocument\";\r\nimport SearchCustomerDocument from \"./HelpDocuments/Inspection/SearchCustomerDocument\";\r\nimport SearchContractDocument from \"./HelpDocuments/Inspection/SearchContractDocument\";\r\nimport SearchSystemDocument from \"./HelpDocuments/Inspection/SearchSystemDocument\";\r\nimport SearchInspectionTaskDocument from \"./HelpDocuments/Inspection/SearchInspectionTaskDocument\";\r\nimport SearchNotificationNumberDocument from \"./HelpDocuments/Inspection/SearchNotificationNumberDocument\";\r\nimport SearchUserDocument from \"./HelpDocuments/Inspection/SearchUserDocument\";\r\n\r\nimport AsBuiltsDocument from \"./HelpDocuments/AsBuilts/AsBuiltsDocument\";\r\nimport AsBuiltsDrawingsDocument from \"./HelpDocuments/AsBuilts/AsBuiltsDrawingsDocument\";\r\n\r\nimport SecuritySettingsDocument from \"./HelpDocuments/Manage/SecuritySettings/SecuritySettingsDocument\";\r\nimport PasswordPolicyDocument from \"./HelpDocuments/Manage/SecuritySettings/PasswordPolicyDocument\";\r\nimport MailDomainsDocument from \"./HelpDocuments/Manage/SecuritySettings/MailDomainsDocument\";\r\n\r\nimport OrganizationSettingsDocument from \"./HelpDocuments/Manage/OrganizationSettings/OrganizationSettingsDocument\";\r\nimport BranchOfficeOrganizationSettingsDocument from \"./HelpDocuments/Manage/OrganizationSettings/BranchOfficeOrganizationSettingsDocument\";\r\nimport SalesOfficeOrganizationSettingsDocument from \"./HelpDocuments/Manage/OrganizationSettings/SalesOfficeOrganizationSettingsDocument\";\r\nimport ZoneOrganizationSettingsDocument from \"./HelpDocuments/Manage/OrganizationSettings/ZoneOrganizationSettingsDocument\";\r\n\r\nimport LookUpsDocument from \"./HelpDocuments/Manage/LookUps/LookUpsDocument\";\r\nimport HealthClassificationsDocument from \"./HelpDocuments/Manage/LookUps/HealthClassificationsDocument\";\r\nimport NFPAClassificationsDocument from \"./HelpDocuments/Manage/LookUps/NFPAClassificationsDocument\";\r\n\r\nimport InspectionSettingsDocument from \"./HelpDocuments/Manage/InspectionSettings/InspectionSettingsDocument\";\r\nimport InspectionFieldsDocument from \"./HelpDocuments/Manage/InspectionSettings/InspectionFieldsDocument\";\r\nimport ReportMappingDocuments from \"./HelpDocuments/Manage/InspectionSettings/ReportMappingDocuments\";\r\n\r\nimport InspectionReportGroupsDocument from \"./HelpDocuments/Manage/InspectionSettings/InspectionReportGroupsDocument\";\r\nimport InspectionReportsDocument from \"./HelpDocuments/Manage/InspectionSettings/InspectionReportsDocument\";\r\nimport InspectionReportConfigsDocument from \"./HelpDocuments/Manage/InspectionSettings/InspectionReportConfigsDocument\";\r\nimport InspectionReportTemplatesDocument from \"./HelpDocuments/Manage/InspectionSettings/InspectionReportTemplatesDocument\";\r\n\r\nimport ToolsDocument from \"./HelpDocuments/Manage/Tools/ToolsDocument\";\r\nimport CopyDocument from \"./HelpDocuments/Manage/Tools/CopyDocument\";\r\nimport MoveDocument from \"./HelpDocuments/Manage/Tools/MoveDocument\";\r\n\r\nimport CustomizationDocument from \"./HelpDocuments/Manage/Customization/CustomizationDocument\";\r\nimport CommonAttributesDocument from \"./HelpDocuments/Manage/Customization/CommonAttributesDocument\";\r\nimport CommonAttributeValuesDocument from \"./HelpDocuments/Manage/Customization/CommonAttributeValuesDocument\";\r\nimport EquipmentTypeAttributesDocument from \"./HelpDocuments/Manage/Customization/EquipmentTypeAttributesDocument\";\r\nimport EquipmentTypeAttributeValuesDocument from \"./HelpDocuments/Manage/Customization/EquipmentTypeAttributeValuesDocument\";\r\nimport DisplaySettingsDocument from \"./HelpDocuments/Manage/Customization/DisplaySettingsDocument\";\r\nimport DataEntrySettingsDocument from \"./HelpDocuments/Manage/Customization/DataEntrySettingsDocument\";\r\n\r\nimport ReportsDocument from \"./HelpDocuments/Reports/ReportsDocument\";\r\nimport ReportsContractDocument from \"./HelpDocuments/Reports/ReportsContractDocument\";\r\nimport ReportsInspectionTasksDocuments from \"./HelpDocuments/Reports/ReportsInspectionTasksDocuments\";\r\nimport ReportsInspectionActivityDocument from \"./HelpDocuments/Reports/ReportsInspectionActivityDocument\";\r\nimport ReportsUploadedFinalReportsDocument from \"./HelpDocuments/Reports/ReportsUploadedFinalReportsDocument\";\r\nimport ReportsUserDetailsDocument from \"./HelpDocuments/Reports/ReportsUserDetailsDocument\";\r\nimport ReportsSitesDocument from \"./HelpDocuments/Reports/ReportsSitesDocument\";\r\nimport ReportsBuildingsDocument from \"./HelpDocuments/Reports/ReportsBuildingsDocument\";\r\nimport ReportsFloorsDocument from \"./HelpDocuments/Reports/ReportsFloorsDocument\";\r\nimport ReportsMasterDataDocument from \"./HelpDocuments/Reports/ReportsMasterDataDocument\";\r\nimport ReportsExpiredContractsDocument from \"./HelpDocuments/Reports/ReportsExpiredContractsDocument\";\r\nimport ReportsUserActivityReportsDocument from \"./HelpDocuments/Reports/ReportsUserActivityReportsDocument\";\r\nimport ReportSAPImportStatusDocument from \"./HelpDocuments/Reports/ReportSAPImportStatusDocument\";\r\n\r\nimport ReleaseNotesDocument from \"./HelpDocuments/ReleaseNotesDocument\";\r\n\r\nimport PluginsDocument from \"./HelpDocuments/Plugins/PluginsDocument\";\r\nimport PluginsTapAppDocument from \"./HelpDocuments/Plugins/PluginsTapAppDocument\";\r\nimport PluginsTapBridgeDocument from \"./HelpDocuments/Plugins/PluginsTapBridgeDocument\";\r\n\r\nimport LinksDocument from \"./HelpDocuments/LinksDocument\";\r\n\r\nimport FeedbackDocument from \"./HelpDocuments/Preferences/FeedbackDocument\";\r\nimport PersonalSettingsDocument from \"./HelpDocuments/Preferences/PersonalSettingsDocument\";\r\nimport SendMailDocuments from \"./HelpDocuments/Preferences/SendMailDocuments\";\r\n\r\nimport LogbookDocument from \"./HelpDocuments/LogbookDocument\";\r\nimport FaqDocument from \"./HelpDocuments/Faq/FaqDocument\";\r\nimport AdministrationFaqDocument from \"./HelpDocuments/Faq/AdministrationFaqDocument\";\r\nimport InspectionFAQDocument from \"./HelpDocuments/Faq/InspectionFAQDocument\";\r\nimport PreferencesDocument from \"./HelpDocuments/Preferences/PreferencesDocument\";\r\nimport ReportsTapPerformanceDocument from \"./HelpDocuments/Reports/ReportsTapPerformanceDocument\";\r\nimport ReportsSalesOpportunityDocument from \"./HelpDocuments/Reports/ReportsSalesOpportunityDocument\";\r\n\r\n\r\nexport const CondtionalRender = (selectedPage) => {\r\n switch (selectedPage) {\r\n case \"overview\":\r\n return ();\r\n\r\n case \"techAdavanceModules\":\r\n return ();\r\n\r\n case APP_ROUTES.DASHBOARD:\r\n return ();\r\n\r\n case \"dashboard\":\r\n return ();\r\n \r\n case APP_ROUTES.ADMINISTRATION:\r\n return ();\r\n\r\n case \"administration\":\r\n return ();\r\n \r\n case APP_ROUTES.CUSTOMERS:\r\n return ()\r\n\r\n case \"administration-customers\":\r\n return ()\r\n\r\n case APP_ROUTES.SITES:\r\n return ()\r\n\r\n case \"administration-sites\":\r\n return ()\r\n\r\n case APP_ROUTES.USERS:\r\n return ();\r\n\r\n case \"users\":\r\n return ();\r\n\r\n case \"administration-buildings\":\r\n return ();\r\n\r\n case \"administration-floors\":\r\n return ();\r\n\r\n case \"administration-search\":\r\n return ()\r\n\r\n case \"administration-search-contract\":\r\n return ()\r\n\r\n case \"administration-search-customer\":\r\n return ()\r\n\r\n case \"administration-search-inspection-task\":\r\n return ()\r\n\r\n case \"administration-search-notification-number\":\r\n return ()\r\n\r\n case \"administration-search-site\":\r\n return ()\r\n\r\n case \"administration-search-system\":\r\n return ()\r\n\r\n case \"administration-search-user\":\r\n return ()\r\n\r\n case APP_ROUTES.AS_BUILTS:\r\n return ();\r\n\r\n case \"as-builts\":\r\n return (); \r\n case \"as-builts-overview\":\r\n return ();\r\n\r\n case APP_ROUTES.INSPECTION:\r\n return ();\r\n\r\n case \"inspection\":\r\n return ();\r\n\r\n case APP_ROUTES.INSPECTION_TASKS:\r\n return ();\r\n\r\n case \"inspection-tasks\":\r\n return ();\r\n\r\n case \"inspection-task-details\":\r\n return ();\r\n \r\n case \"inspection-task-drawings\":\r\n return ();\r\n\r\n case APP_ROUTES.CONTRACTS:\r\n return ();\r\n\r\n case \"contracts\":\r\n return ();\r\n\r\n case APP_ROUTES.SYSTEMS:\r\n return ();\r\n\r\n case \"systems\":\r\n return ();\r\n\r\n case APP_ROUTES.INSPECTIONREPORTS_REPORTS:\r\n return ();\r\n\r\n case \"inspection-reports\":\r\n return ();\r\n\r\n case \"Inspection-GenerateReports\":\r\n return ()\r\n\r\n case \"inspection-search\":\r\n return ();\r\n\r\n case \"search-site\":\r\n return ();\r\n\r\n case \"search-customer\":\r\n return ();\r\n\r\n case \"search-contract\":\r\n return ();\r\n\r\n case \"search-system\":\r\n return ();\r\n\r\n case \"search-inspection-task\":\r\n return ();\r\n\r\n case \"search-notification-number\":\r\n return ();\r\n\r\n case \"search-user\":\r\n return ();\r\n\r\n case APP_ROUTES.SECURITY_SETTINGS:\r\n return ();\r\n\r\n case \"security-settings\":\r\n return ();\r\n\r\n case \"password-policy\":\r\n return ();\r\n\r\n case \"mail-domains\":\r\n return ();\r\n\r\n case APP_ROUTES.MANAGE_ORGANIZATION:\r\n return ();\r\n\r\n case \"organization-settings\":\r\n return ();\r\n\r\n case \"zone\":\r\n return ();\r\n\r\n case \"sales-office\":\r\n return ();\r\n\r\n case \"branch-office\":\r\n return ();\r\n\r\n case \"manage-lookups\":\r\n return ();\r\n \r\n case APP_ROUTES.MANAGE_LOOKUPS_HEALTHCLASSIFICATION:\r\n return ();\r\n\r\n case \"health-classifications\":\r\n return ();\r\n\r\n case APP_ROUTES.MANAGE_LOOKUPS_NFPA_CLASSIFICATION:\r\n return ();\r\n\r\n case \"nfpa-classifications\":\r\n return ();\r\n\r\n case \"inspection-settings\":\r\n return ();\r\n case APP_ROUTES.INSPECTION_FIELDS:\r\n return ();\r\n\r\n case \"inspection-settings-inspection-fields\":\r\n return ();\r\n \r\n case APP_ROUTES.MANAGE_INSPECTION_REPORT_MAPPING:\r\n return ();\r\n\r\n case \"inspection-settings-report-mapping\":\r\n return ();\r\n\r\n case APP_ROUTES.MANAGE_INSPECTION_REPORTS:\r\n return ();\r\n\r\n case \"inspection-settings-report-group\":\r\n return ();\r\n\r\n case \"inspection-settings-reports\":\r\n return ();\r\n\r\n\r\n case \"inspection-settings-reports-templates\":\r\n return ();\r\n\r\n\r\n case \"inspection-settings-report-configs\":\r\n return ();\r\n\r\n case \"tools\":\r\n return ();\r\n \r\n case APP_ROUTES.TOOLS_COPY:\r\n return ();\r\n\r\n case \"copy\":\r\n return ();\r\n\r\n case APP_ROUTES.TOOLS_Move:\r\n return ();\r\n\r\n case \"move\":\r\n return ();\r\n\r\n case \"manage-customization\":\r\n return ();\r\n \r\n case APP_ROUTES.CUSTOMIZATION_ATTRIBUTES:\r\n return ();\r\n\r\n case \"common-attributes\":\r\n return ();\r\n\r\n case \"common-attributes-values\":\r\n return ();\r\n\r\n case \"equipment-type-attributes\":\r\n return ();\r\n\r\n case \"equipment-type-attributes-values\":\r\n return ();\r\n\r\n case APP_ROUTES.MANAGE_DATAENTRY_SETTINGS:\r\n return ();\r\n\r\n case \"data-entry-settings\":\r\n return ();\r\n\r\n case APP_ROUTES.MANAGE_DISPLAY_SETTINGS:\r\n return ();\r\n\r\n case \"data-display-settings\":\r\n return ();\r\n\r\n case APP_ROUTES.REPORT_VIEW:\r\n return ();\r\n\r\n case \"reports\":\r\n return ();\r\n\r\n case APP_ROUTES.CONTRACTS_REPORT:\r\n return ();\r\n\r\n case \"reports-contracts\":\r\n return ();\r\n\r\n case APP_ROUTES.INSPECTION_TASK_REPORT:\r\n return ();\r\n\r\n case \"reports-inspection-tasks\":\r\n return ();\r\n\r\n case APP_ROUTES.INSPECTION_ACTIVITY_REPORT:\r\n return ();\r\n\r\n case \"reports-inspection-activity\":\r\n return ();\r\n \r\n case APP_ROUTES.UPLOADED_FINAL_REPORTS:\r\n return ();\r\n\r\n case \"reports-uploaded-final-reports\":\r\n return ();\r\n \r\n case APP_ROUTES.USER_DETAILS_REPORT:\r\n return ();\r\n\r\n case \"reports-user-details\":\r\n return ();\r\n\r\n case APP_ROUTES.SAP_IMPORT_STATUS_REPORT:\r\n return ();\r\n\r\n case \"sap-import-status-report\":\r\n return ();\r\n\r\n case APP_ROUTES.SITE_REPORT:\r\n return ();\r\n\r\n case \"reports-sites\":\r\n return ();\r\n\r\n case \"reports-buildings\":\r\n return ();\r\n\r\n\r\n case \"reports-floors\":\r\n return ();\r\n\r\n case APP_ROUTES.MASTER_DATA_REPORT:\r\n return ();\r\n\r\n case \"reports-master-data\":\r\n return ();\r\n\r\n case APP_ROUTES.EXPIRED_CONTRACTS_REPORT:\r\n return ();\r\n\r\n case \"reports-expired-contracts\":\r\n return ();\r\n\r\n case APP_ROUTES.USER_ACTIVITY_REPORT:\r\n return ();\r\n\r\n case \"user-activity-report\":\r\n return ();\r\n\r\n case \"release-notes\":\r\n return ();\r\n\r\n case \"plugins\":\r\n return ();\r\n\r\n case \"plugins-tap-app\":\r\n return ();\r\n\r\n case \"plugins-tap-bridge\":\r\n return ();\r\n\r\n case \"links\":\r\n return ();\r\n\r\n case \"preferences\":\r\n return ()\r\n\r\n case \"send-mail\":\r\n return ();\r\n\r\n case \"personal-settings\":\r\n return ();\r\n\r\n case \"feedback\":\r\n return ();\r\n\r\n case \"logbook\":\r\n return ();\r\n\r\n case \"faqs\":\r\n return ();\r\n case \"admininstration-faqs\":\r\n return ();\r\n case \"inspection-faqs\":\r\n return ();\r\n case APP_ROUTES.TAP_PERFORMACE:\r\n return ();\r\n case APP_ROUTES.SALES_ACTIVITY_REPORT:\r\n return (); \r\n default:\r\n return ();\r\n }\r\n}","import React, { useState, useEffect, useCallback } from \"react\";\r\n\r\nimport { Button } from \"primereact/button\";\r\nimport { Dialog } from \"primereact/dialog\";\r\nimport { ScrollPanel } from \"primereact/scrollpanel\";\r\nimport { VscChromeMaximize } from \"react-icons/vsc\";\r\nimport { TREE_DATA } from \"./TreeData\";\r\n\r\nimport TreeView from \"components/common/TreeView/TreeView\";\r\nimport { CondtionalRender } from \"./ConditionalRender\";\r\n\r\ninterface Props {\r\n isGlobal: boolean;\r\n currentPage?: any;\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n}\r\n\r\nexport const Help: React.FC = ({\r\n isGlobal = false,\r\n currentPage = \"\",\r\n showModal = false,\r\n setShowModal = () => { } }) => {\r\n\r\n const [selectedItem, setSelectedItem] = useState(TREE_DATA[0].key);\r\n const [expandedKeys, setExpandedKeys] = useState({});\r\n const [maximize, setMaximize] = useState(false);\r\n const [yammerLink, setYammerLink] = useState(true);\r\n\r\n const onNodeClick = useCallback((data) => { \r\n if (data && data.key) {\r\n if (data.key !== selectedItem) {\r\n setSelectedItem(data.key);\r\n if (data.children && data.children.length) {\r\n setExpandedKeys({ [data.key]: true });\r\n } else if (!data.parentGroupId) {\r\n setExpandedKeys({});\r\n }\r\n } else {\r\n if (data.children && data.children.length) {\r\n setSelectedItem(null);\r\n setExpandedKeys({});\r\n }\r\n }\r\n }\r\n }, [selectedItem]);\r\n\r\n\r\n const renderHeader = () => {\r\n return (\r\n <>\r\n Tech Advance+ Help\r\n \r\n );\r\n };\r\n useEffect(() => {\r\n if(window.location.href.indexOf('ca.')>-1)\r\n {\r\n setYammerLink(true);\r\n }\r\n else\r\n {\r\n setYammerLink(false);\r\n } \r\n },[]);\r\n const renderFooter = () => {\r\n return (\r\n <>\r\n \r\n \r\n );\r\n\r\n const maximized = (\r\n
\r\n \r\n
\r\n );\r\n\r\n return (\r\n <>\r\n {isGlobal ?\r\n setShowModal(false)}\r\n footer={renderFooter()}\r\n className={`s-modal help-modal ${maximize ? \"min\" : \"max\"}`}\r\n modal={maximize ? false : true}\r\n >\r\n
\r\n
\r\n
\r\n \r\n {currentPage && CondtionalRender(currentPage)}\r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n :\r\n setShowModal(false)}\r\n footer={renderFooter()}\r\n className={`s-modal help-modal ${maximize ? \"min\" : \"max\"}`}\r\n modal={maximize ? false : true}\r\n >\r\n\r\n
\r\n \r\n\r\n }\r\n \r\n );\r\n};\r\n\r\nexport default Help;\r\n","import React, { useEffect, useMemo, useRef, useState } from \"react\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { useAppSelector } from \"../../redux/hooks\";\r\n\r\nimport { useForm, Controller } from \"react-hook-form\";\r\nimport { Button } from \"primereact/button\";\r\nimport { classNames } from \"primereact/utils\";\r\nimport { Dialog } from \"primereact/dialog\";\r\nimport { BsExclamationCircleFill } from \"react-icons/bs\";\r\nimport { Calendar } from \"primereact/calendar\";\r\nimport { getNotificationMessage } from \"redux/pages/Dashboard/UserMenu/NotificationMessageSlice\";\r\nimport JoditEditor from 'jodit-react';\r\nimport moment from \"moment\";\r\nimport { Tooltip } from \"primereact/tooltip\";\r\nimport InformationBox from \"components/common/Message/InformationBox/InformationBox\";\r\ninterface Props {\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n onSendNotificationMessage : (info: any,setShowModal:any) => void;\r\n}\r\n\r\ntype FormData = {\r\n expiryDate: any;\r\n};\r\n\r\nexport const AddNotificationMessage: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => {},\r\n onSendNotificationMessage = () => {}\r\n}) => {\r\n\r\n const dispatch = useDispatch();\r\n const notificationMessageData = useAppSelector((state) => state.notificationMessage.notificationMessage);\r\n const [notificationMessage, setNotificationMessage] = useState();\r\n const notificationMessageForm: any = useRef();\r\n const [currentnotificationMessage, setCurrentNotificationMessage] = useState();\r\n const editorRef: any = useRef();\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const [message, setMessage] = useState(\"\");\r\n \r\n const {\r\n control,\r\n handleSubmit,\r\n setValue,\r\n formState: { errors },\r\n } = useForm({\r\n defaultValues: {\r\n expiryDate: null,\r\n },\r\n });\r\nconst options = [ 'bold', 'italic',\r\n'underline', 'strikethrough','superscript', 'subscript','|', \r\n'ul', 'ol', '|', 'font', 'fontsize', '|', 'outdent', 'indent', 'align','|',\r\n'hr','|', 'fullsize', 'brush','|', 'table', 'link', '|', 'undo', 'redo','|','eraser','selectall','paragraph','preview','|',\r\n{\r\n name: 'Clear',\r\n //iconURL: 'https://img.icons8.com/ios-filled/50/000000/delete-sign.png', \r\n exec: (editor) => {\r\n editor.setEditorValue(''); \r\n },\r\n tooltip: 'Clear All'\r\n},'|'\r\n];\r\n const config = useMemo(\r\n () => ({\r\n readonly: false,\r\n height:430 ,\r\n placeholder: '',\r\n defaultLineHeight: 1.5,\r\n buttons: options,\r\n buttonsMD: options,\r\n buttonsSM: options,\r\n buttonsXS: options,\r\n statusbar: false,\r\n sizeLG: 900,\r\n sizeMD: 700,\r\n sizeSM: 400,\r\n toolbarAdaptive: false,\r\n }),\r\n [],\r\n );\r\n\r\n useEffect(() => {\r\n dispatch(getNotificationMessage())\r\n }, []);\r\n\r\n\r\n useEffect(() => {\r\n if (notificationMessageData && Object.keys(notificationMessageData).length > 0) {\r\n setValue(\"expiryDate\", new Date(notificationMessageData?.expiryDate));\r\n setCurrentNotificationMessage(\r\n notificationMessageData?.message)\r\n setNotificationMessage(notificationMessageData?.message)\r\n }\r\n }, [notificationMessageData])\r\n\r\n const formSubmitHandler = (data: any) => {\r\n notificationMessageForm.current.requestSubmit();\r\n };\r\n\r\n const cleanHtmlContent = (html) => {\r\n let cleanedContent = html.replace(/|<\\/p>/gi, '');\r\n cleanedContent = cleanedContent.replace(/ /gi, '');\r\n cleanedContent = cleanedContent.replace(/|<\\/br>/gi, ''); \r\n return cleanedContent.trim() === '' ? '' : cleanedContent;\r\n };\r\n\r\n const onNotificationMessageFormSubmit = (data: any) => {\r\n const isEmptyMessage = cleanHtmlContent(notificationMessage);\r\n if (isEmptyMessage == '' && notificationMessage.length != 0) {\r\n setMessage(`Notification Message cannot be saved with blank space`);\r\n setDisplayInfoModal(true);\r\n }\r\n else{\r\n let info = {\r\n expiryDate: moment(data.expiryDate).format(\"YYYY-MM-DD\").toString(),\r\n message: notificationMessage\r\n }\r\n onSendNotificationMessage(info,setShowModal)\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n document.addEventListener('keydown', handleKeyPress);\r\n }, [])\r\n\r\n const handleKeyPress = (e) => {\r\n if (e.key == \"Escape\") {\r\n document.documentElement.classList.remove('jodit_fullsize-box_true');\r\n document.body.classList.remove('jodit_fullsize-box_true');\r\n }\r\n }\r\n\r\n const getFormErrorMessage = (name) => {\r\n return (\r\n errors[name] && (\r\n \r\n \r\n {errors[name].message}\r\n \r\n )\r\n );\r\n };\r\n\r\n\r\n const renderFooter = () => {\r\n return (\r\n <>\r\n setShowModal(false)}\r\n className=\"cancel btn\"\r\n />\r\n \r\n }\r\n />\r\n )}\r\n />\r\n \r\n\r\n {getFormErrorMessage(\"Value\")}\r\n \r\n \r\n \r\n ) : null}\r\n {commonAttributeType === \"Integer\" ? (\r\n
\r\n
\r\n \r\n (\r\n \r\n )}\r\n />\r\n \r\n\r\n {getFormErrorMessage(\"Value\")}\r\n \r\n
\r\n
\r\n ) : null}\r\n {commonAttributeType === \"Numeric\" ? (\r\n
\r\n
\r\n \r\n (\r\n \r\n )}\r\n />\r\n \r\n\r\n {getFormErrorMessage(\"Value\")}\r\n \r\n
\r\n
\r\n ) : null}\r\n {commonAttributeType === \"Multi Line Text\" ? (\r\n
\r\n
\r\n \r\n (\r\n \r\n )}\r\n />\r\n \r\n\r\n {getFormErrorMessage(\"Value\")}\r\n \r\n
\r\n
\r\n ) : null}\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default AddCommonAttibutesValues;\r\n","import React, { useEffect, useRef } from \"react\";\r\nimport { useForm, Controller } from \"react-hook-form\";\r\n\r\nimport { InputText } from \"primereact/inputtext\";\r\nimport { classNames } from \"primereact/utils\";\r\nimport { Calendar } from \"primereact/calendar\";\r\nimport { BsExclamationCircleFill } from \"react-icons/bs\";\r\n\r\nimport { useDispatch } from \"react-redux\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\nimport { getCommonAttributeValueDetails, setCommonAttributeValueDetails } from \"redux/pages/Manage/Customization/Attributes/CommonAttributeSlice\";\r\nimport AddModal from \"components/Table/AddModal/AddModal\";\r\nimport { Button } from \"primereact/button\";\r\n\r\ninterface Props {\r\n showModal: boolean;\r\n commonAttributeId: any;\r\n commonAttributeType: any;\r\n commonAttributeName: any;\r\n maxLength: any;\r\n selectedRows: any;\r\n setShowModal: (state: boolean) => void;\r\n onEditCommonAttributeValueClick: (data: any) => void;\r\n}\r\n\r\ntype FormData = {\r\n AttributeName: string;\r\n Value: any;\r\n};\r\n\r\nexport const EditCommonAttibutesValues: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => {},\r\n onEditCommonAttributeValueClick = () => {},\r\n commonAttributeId = \"\",\r\n commonAttributeType = \"\",\r\n commonAttributeName = \"\",\r\n maxLength = \"\",\r\n selectedRows = [],\r\n}) => {\r\n const commonAttributeValueDetails = useAppSelector(\r\n (state) => state.commonAttribute.commonAttributeValueDetails\r\n );\r\n\r\n const dispatch = useDispatch();\r\n const cal = React.createRef();\r\n\r\n const editForm: any = useRef();\r\n\r\n const {\r\n control,\r\n handleSubmit,\r\n setValue,\r\n formState: { errors },\r\n } = useForm({\r\n defaultValues: {\r\n AttributeName: \"\",\r\n Value: \"\",\r\n },\r\n });\r\n\r\n useEffect(() => {\r\n dispatch(getCommonAttributeValueDetails(commonAttributeId, selectedRows[0].dataFieldLookUpId));\r\n return (() => {\r\n dispatch(setCommonAttributeValueDetails({}));\r\n });\r\n }, [dispatch, selectedRows, commonAttributeId]);\r\n\r\n useEffect(() => {\r\n if (commonAttributeValueDetails) {\r\n if(commonAttributeType===\"Date Time\" || commonAttributeType===\"Date\"){\r\n setValue(\"Value\",new Date(commonAttributeValueDetails?.attributeValue?.replace(/-/g, '\\/')));\r\n }\r\n else{\r\n setValue(\"Value\", commonAttributeValueDetails?.attributeValue);\r\n }\r\n \r\n }\r\n }, [commonAttributeValueDetails, setValue]);\r\n\r\n const formSubmitHandler = (data: any) => {\r\n editForm.current.requestSubmit();\r\n };\r\n\r\n const getFormErrorMessage = (name) => {\r\n return (\r\n errors[name] && (\r\n \r\n \r\n {errors[name].message}\r\n \r\n )\r\n );\r\n };\r\n\r\n const onEditFormSubmit = (submitData: any) => {\r\n onEditCommonAttributeValueClick &&\r\n onEditCommonAttributeValueClick(submitData);\r\n };\r\n\r\n const onError = (errors: any, e: any) => {};\r\n\r\n return (\r\n <>\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n (\r\n {commonAttributeName}\r\n )}\r\n />\r\n \r\n
\r\n
\r\n {commonAttributeType === \"Single Line Text\" ? (\r\n
\r\n
\r\n \r\n (\r\n \r\n )}\r\n />\r\n \r\n\r\n {getFormErrorMessage(\"Value\")}\r\n \r\n
\r\n
\r\n ) : null}\r\n {commonAttributeType === \"Date\" ? (\r\n
\r\n
\r\n \r\n (\r\n field.onChange(e.value)}\r\n />\r\n )}\r\n />\r\n \r\n\r\n {getFormErrorMessage(\"Value\")}\r\n \r\n
\r\n
\r\n ) : null}\r\n {commonAttributeType === \"Date Time\" ? (\r\n
\r\n
\r\n \r\n (\r\n field.onChange(e.value)}\r\n footerTemplate={() =>
\r\n \r\n
}\r\n />\r\n )}\r\n />\r\n \r\n\r\n {getFormErrorMessage(\"Value\")}\r\n
\r\n
\r\n
\r\n ) : null}\r\n {commonAttributeType === \"Integer\" ? (\r\n
\r\n
\r\n \r\n (\r\n \r\n )}\r\n />\r\n \r\n\r\n {getFormErrorMessage(\"Value\")}\r\n \r\n
\r\n
\r\n ) : null}\r\n {commonAttributeType === \"Numeric\" ? (\r\n
\r\n
\r\n \r\n (\r\n \r\n )}\r\n />\r\n \r\n\r\n {getFormErrorMessage(\"Value\")}\r\n \r\n
\r\n
\r\n ) : null}\r\n {commonAttributeType === \"Multi Line Text\" ? (\r\n
\r\n
\r\n \r\n (\r\n \r\n )}\r\n />\r\n \r\n\r\n {getFormErrorMessage(\"Value\")}\r\n \r\n
\r\n
\r\n ) : null}\r\n
\r\n \r\n \r\n );\r\n};\r\n\r\nexport default EditCommonAttibutesValues;\r\n","import React, { useEffect, useState } from \"react\";\r\n\r\nimport { Dialog } from \"primereact/dialog\";\r\n\r\nimport ReportViewer from \"components/common/Report/ReportViewer\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { createReportPreviewSession, setReportPreviewSession } from \"redux/pages/Administration/Site/siteSlice\";\r\nimport { CUSTOMIZATION_ATTRIBUTES_TYPE } from \"constants/common\";\r\n\r\ninterface Props {\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n reportFlag: string;\r\n selectedRows: any;\r\n selectedTab: any;\r\n attributeId?: any;\r\n attributeName?: any;\r\n equipmentTypeId?: any;\r\n equipmentTypeName?: any;\r\n sortByColumns: any;\r\n searchKeyword: string;\r\n sortColumn: string;\r\n sortOrder: string;\r\n}\r\n\r\nexport const CustomizationReport: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => { },\r\n reportFlag = '',\r\n selectedRows = [],\r\n selectedTab = \"\",\r\n attributeId = \"\",\r\n attributeName = \"\",\r\n equipmentTypeId = \"\",\r\n equipmentTypeName = \"\",\r\n sortByColumns = [],\r\n searchKeyword = '',\r\n sortColumn = '',\r\n sortOrder = '',\r\n}) => {\r\n const [reportId, setReportId] = useState(null);\r\n const reportPreviewSession = useAppSelector((state) => state.site.reportPreviewSession);\r\n const dispatch = useDispatch();\r\n\r\n const getSelectedAttributeIds = () => {\r\n let params: any = [];\r\n selectedRows.map(item => {\r\n params.push(item.uniqueAttributeId);\r\n });\r\n return params;\r\n };\r\n\r\n const getSelectedValuesIds = () => {\r\n let params: any = [];\r\n selectedRows.map(item => {\r\n params.push(item.dataFieldLookUpId);\r\n });\r\n return params;\r\n };\r\n\r\n useEffect(() => {\r\n switch (selectedTab) {\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.COMMON_ATTRIBUTES: {\r\n let params;\r\n if (reportFlag === 'all') {\r\n params = \"\"\r\n } else {\r\n params = getSelectedAttributeIds();\r\n }\r\n const reportParameters = {\r\n reportParameters: {\r\n uniqueEquipmentClassId: params,\r\n needCommonAttribute: \"\",\r\n search: searchKeyword,\r\n sortColumn: sortColumn,\r\n sortOrder: sortOrder\r\n },\r\n reportType: \"Object Attribute Grid Report\"\r\n };\r\n dispatch(createReportPreviewSession(reportParameters));\r\n break;\r\n }\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.COMMON_ATTRIBUTES_VALUES: {\r\n let params;\r\n if (reportFlag === 'all') {\r\n params = \"\"\r\n } else {\r\n params = getSelectedValuesIds();\r\n }\r\n const reportParameters = {\r\n reportParameters: {\r\n uniqueDataFieldId: attributeId,\r\n uniqueAttributeId: params,\r\n attributeName: attributeName,\r\n search: searchKeyword,\r\n sortColumn: sortColumn,\r\n sortOrder: sortOrder\r\n },\r\n reportType: \"Object Attribute Values\"\r\n };\r\n dispatch(createReportPreviewSession(reportParameters));\r\n break;\r\n }\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.EQUIPMENT_TYPE_ATTRIBUTES: {\r\n let params;\r\n if (reportFlag === 'all') {\r\n params = \"\"\r\n } else {\r\n params = getSelectedAttributeIds();\r\n }\r\n const reportParameters = {\r\n reportParameters: {\r\n uniqueEquipmentClassId: equipmentTypeId,\r\n needCommonAttribute: false,\r\n attributeName: equipmentTypeName,\r\n selectedIds: params,\r\n search: searchKeyword,\r\n sortColumn: sortColumn,\r\n sortOrder: sortOrder\r\n },\r\n reportType: \"Equipment Type Attributes Report\"\r\n };\r\n dispatch(createReportPreviewSession(reportParameters));\r\n break;\r\n }\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.EQUIPMENT_TYPE_ATTRIBUTES_VALUES: {\r\n let params;\r\n if (reportFlag === 'all') {\r\n params = \"\"\r\n } else {\r\n params = getSelectedValuesIds();\r\n }\r\n const reportParameters = {\r\n reportParameters: {\r\n uniqueDataFieldId: equipmentTypeId,\r\n uniqueAttributeId: attributeId,\r\n attributeName: attributeName,\r\n equipmentTypeName: equipmentTypeName,\r\n selectedIds: params,\r\n needCommonAttribute: false,\r\n search: searchKeyword,\r\n sortColumn: sortColumn,\r\n sortOrder: sortOrder\r\n },\r\n reportType: \"Equipment Type Attributes Values Report\"\r\n };\r\n dispatch(createReportPreviewSession(reportParameters));\r\n break;\r\n }\r\n default: {\r\n let params;\r\n if (reportFlag === 'all') {\r\n params = \"\"\r\n } else {\r\n params = getSelectedAttributeIds();\r\n }\r\n const reportParameters = {\r\n reportParameters: {\r\n uniqueEquipmentClassId: params,\r\n needCommonAttribute: \"\",\r\n search: searchKeyword,\r\n sortColumn: sortColumn,\r\n sortOrder: sortOrder\r\n },\r\n reportType: \"Object Attribute Grid Report\"\r\n };\r\n dispatch(createReportPreviewSession(reportParameters));\r\n break;\r\n }\r\n }\r\n\r\n return (() => {\r\n dispatch(setReportPreviewSession(\"\"));\r\n })\r\n }, [dispatch, selectedTab]);\r\n\r\n useEffect(() => {\r\n if (reportPreviewSession) {\r\n setReportId(reportPreviewSession.previewSessionId);\r\n }\r\n }, [reportPreviewSession])\r\n\r\n return (\r\n <>\r\n {\r\n dispatch(setReportPreviewSession(\"\"));\r\n setShowModal(false);\r\n }}\r\n className=\"display-settings report selectsite\"\r\n style={{ width: \"90vw\", height: \"600px\" }}\r\n >\r\n
\r\n
\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default CustomizationReport;\r\n","import React, { useCallback, useEffect, useState } from \"react\";\r\nimport { Dialog } from \"primereact/dialog\";\r\nimport { OverlayPanel } from \"primereact/overlaypanel\";\r\nimport PopOver from \"components/common/PopOver/PopOver\";\r\nimport InformationBox from \"components/common/Message/InformationBox/InformationBox\";\r\nimport ConfirmationBox from \"components/common/Message/ConfirmationBox/ConfirmationBox\";\r\nimport Table from \"components/Table/Table\";\r\nimport { CUSTOMIZATION_ATTRIBUTES_VALUE_COLS } from \"../CommonAttibutesValuesData\";\r\nimport AddCommonAttibutesValues from \"../ManageCommonAttibutesValues/AddCommonAttibutesValues\";\r\nimport EditCommonAttibutesValues from \"../ManageCommonAttibutesValues/EditCommonAttibutesValues\";\r\nimport moment from 'moment';\r\nimport { useDispatch } from \"react-redux\";\r\nimport { useAppSelector } from \"../../../../redux/hooks\";\r\nimport { getCommonAttributeValues, onAddCommonAttributeValue, onEditCommonAttributeValue, checkIsAttributeValueInUse, setIsAttributeValueInUse, deleteCommonAttributeValue } from \"../../../../redux/pages/Manage/Customization/Attributes/CommonAttributeSlice\";\r\nimport CustomizationReport from \"../Reports/CustomizationReports\";\r\nimport { CUSTOMIZATION_ATTRIBUTES_TYPE } from \"constants/common\";\r\nimport { onExportReport } from \"redux/common/report/customizeReportSlice\";\r\n\r\ninterface Props {\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n rowsSelected: any;\r\n}\r\n\r\nexport const AttributesFieldValues: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => { },\r\n rowsSelected = []\r\n}) => {\r\n\r\n const dispatch = useDispatch();\r\n const commonAttributeValues = useAppSelector((state) => state.commonAttribute.commonAttributeValues);\r\n const commonAttributeValuePageDetails = useAppSelector((state) => state.commonAttribute.commonAttributeValuePageDetails);\r\n const newCommonAtributeValue = useAppSelector((state) => state.commonAttribute.newCommonAtributeValue);\r\n const isAttributeValueInUse = useAppSelector((state) => state.commonAttribute.isAttributeValueInUse);\r\n \r\n const downloadRef = React.createRef();\r\n\r\n const [isLoaded, setIsLoaded] = useState(false);\r\n const [pageIndex, setPageIndex] = useState(0);\r\n const [selectedRows, setSelectedRows] = useState([]);\r\n const [message, setMessage] = useState(\"\");\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const [displayConfirmationModal, setDisplayConfirmationModal] = useState(false);\r\n const [showAddCommonAttributeValue, setShowAddCommonAttributeValue] = useState(false);\r\n const [showEditCommonAttributeValue, setShowEditCommonAttributeValue] = useState(false);\r\n const [isCommonAttributeValueAdd, setIsCommonAttributeValueAdd] = useState(false);\r\n const [isAttributeDelete, setIsAttributeDelete] = useState(false);\r\n const [showReportModal, setShowReportModal] = useState(false);\r\n const [reportFlag, setReportFlag] = useState('all');\r\n const [sortField, setSortField] = useState('')\r\n const [sortOrder, setSortOrder] = useState('');\r\n const [currentStart, setCurrentStart] = useState(1);\r\n\r\n useEffect(() => {\r\n if (rowsSelected && rowsSelected.length) {\r\n if (rowsSelected[0].uniqueAttributeId) {\r\n dispatch(getCommonAttributeValues(rowsSelected[0].uniqueAttributeId, 1,\"\",\"\",\"\", setMessage, setDisplayInfoModal, setIsLoaded));\r\n }\r\n }\r\n }, [rowsSelected]);\r\n\r\n useEffect(() => {\r\n if (newCommonAtributeValue) {\r\n setIsCommonAttributeValueAdd(true)\r\n }\r\n }, [newCommonAtributeValue])\r\n\r\n useEffect(() => {\r\n if (isAttributeValueInUse && isAttributeDelete) {\r\n if (isAttributeValueInUse?.isAttributeValueInUse) {\r\n setMessage(\"Selected Attribute Value is in use, cannot be deleted\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n setMessage(\"Are you sure you want to delete the selected Attribute Value?\");\r\n setDisplayConfirmationModal(true);\r\n }\r\n setIsAttributeDelete(false);\r\n dispatch(setIsAttributeValueInUse(\"\"))\r\n }\r\n }, [isAttributeValueInUse]);\r\n\r\n const handleRowSelect = useCallback((data: any) => {\r\n setSelectedRows([...data]);\r\n }, []);\r\n\r\n const onPageChange = (options) => {\r\n if (options !== pageIndex) {\r\n setPageIndex(options);\r\n let currentStart = options * commonAttributeValuePageDetails?.currentLength + 1;\r\n setCurrentStart(currentStart);\r\n dispatch(getCommonAttributeValues(rowsSelected[0].uniqueAttributeId, currentStart,\"\",\"\",\"\", setMessage, setDisplayInfoModal, setIsLoaded));\r\n }\r\n }\r\n\r\n const onSort = (event) => {\r\n if (event) {\r\n let sortDirection: string;\r\n if (event.sortOrder === 1)\r\n sortDirection = \"ASC\"\r\n else\r\n sortDirection = \"DESC\"\r\n setSortField(event.sortField);\r\n setSortOrder(sortDirection);\r\n dispatch(getCommonAttributeValues(rowsSelected[0].uniqueAttributeId, currentStart,\"\",event.sortField,sortDirection, setMessage, setDisplayInfoModal, setIsLoaded));\r\n }\r\n }\r\n\r\n const onAddCommonAttributeValueClick = (data) => {\r\n let value=\"\";\r\n if (rowsSelected[0].attributeType===\"Date\") {\r\n value= moment(data?.Value).format(\"yyyy-MM-DD\").toString();\r\n } else if (rowsSelected[0].attributeType===\"Date Time\"){\r\n value= moment(data?.Value).format(\"yyyy-MM-DD,h:mm:ss a\").toString();\r\n } else {\r\n value = data.Value;\r\n }\r\n let body = {\r\n attributeValue: value,\r\n };\r\n dispatch(onAddCommonAttributeValue(body, rowsSelected[0].uniqueAttributeId, setMessage, setDisplayInfoModal, setShowAddCommonAttributeValue));\r\n };\r\n\r\n const editFieldValueHandler = () => {\r\n if (selectedRows && selectedRows.length) {\r\n if (selectedRows.length === 1) {\r\n if (selectedRows[0].attributeName === \"Barcode\") {\r\n setMessage(\"This Attribute cannot be edited.\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n setShowEditCommonAttributeValue(true);\r\n }\r\n } else {\r\n setMessage(\"This operation can be performed only one row at a time\");\r\n setDisplayInfoModal(true);\r\n }\r\n } else {\r\n setMessage(\"Select an Attribute Value\");\r\n setDisplayInfoModal(true);\r\n }\r\n }\r\n\r\n const onEditCommonAttributeValueClick = (data) => {\r\n let value=\"\";\r\n if (rowsSelected[0].attributeType===\"Date\") {\r\n value= moment(data?.Value).format(\"yyyy-MM-DD\").toString();\r\n } else if (rowsSelected[0].attributeType===\"Date Time\"){\r\n value= moment(data?.Value).format(\"yyyy-MM-DD,h:mm:ss a\").toString();\r\n } else {\r\n value = data.Value;\r\n }\r\n let body = {\r\n attributeValue: value,\r\n };\r\n dispatch(onEditCommonAttributeValue(rowsSelected[0].uniqueAttributeId, selectedRows[0].dataFieldLookUpId, body, setMessage, setDisplayInfoModal, setShowEditCommonAttributeValue));\r\n };\r\n\r\n const deleteFieldValueHandler = () => {\r\n if (selectedRows && selectedRows.length) {\r\n if (selectedRows.length === 1) {\r\n if (selectedRows[0].attributeName === \"Barcode\") {\r\n setMessage(\"This Attribute cannot be deleted.\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n setIsAttributeDelete(true);\r\n dispatch(checkIsAttributeValueInUse(rowsSelected[0].uniqueAttributeId, selectedRows[0].dataFieldLookUpId));\r\n }\r\n } else {\r\n setMessage(\"This operation can be performed only one row at a time\");\r\n setDisplayInfoModal(true);\r\n }\r\n\r\n } else {\r\n setMessage(\"Select an Attribute Value\");\r\n setDisplayInfoModal(true);\r\n }\r\n }\r\n\r\n const onDeleteConfirm = () => {\r\n setDisplayConfirmationModal(false);\r\n dispatch(deleteCommonAttributeValue(rowsSelected[0].uniqueAttributeId, selectedRows[0].dataFieldLookUpId, setSelectedRows, setMessage, setDisplayInfoModal));\r\n }\r\n\r\n const onOkClick = () => {\r\n if (isCommonAttributeValueAdd) {\r\n setShowAddCommonAttributeValue(true);\r\n setIsCommonAttributeValueAdd(false);\r\n }\r\n }\r\n\r\n const onReportAllClick = () => {\r\n setReportFlag('all');\r\n setShowReportModal(true);\r\n };\r\n\r\n const onReportHighlightedClick = () => {\r\n setReportFlag('highlighted');\r\n setShowReportModal(true);\r\n };\r\n\r\n const getSelectedValuesIds = () => {\r\n let params: any = [];\r\n selectedRows.map(item => {\r\n params.push(item.dataFieldLookUpId);\r\n });\r\n return params;\r\n };\r\n\r\n const onExportAll = () => {\r\n const reportParameters = {\r\n exportParameters: {\r\n uniqueDataFieldId: rowsSelected[0]?.uniqueAttributeId,\r\n uniqueAttributeId: \"\",\r\n attributeName: rowsSelected[0]?.attributeName,\r\n sortColumn: sortField,\r\n sortOrder: sortOrder,\r\n search: ''\r\n },\r\n exportType: \"Object Attribute Values\"\r\n };\r\n dispatch(onExportReport(reportParameters, \"Common Attribute Values\"));\r\n };\r\n\r\n const onExportHighlightedClick = () => {\r\n const reportParameters = {\r\n exportParameters: {\r\n uniqueDataFieldId: rowsSelected[0]?.uniqueAttributeId,\r\n uniqueAttributeId: getSelectedValuesIds(),\r\n attributeName: rowsSelected[0]?.attributeName,\r\n sortColumn: sortField,\r\n sortOrder: sortOrder,\r\n search: ''\r\n },\r\n exportType: \"Object Attribute Values\"\r\n };\r\n dispatch(onExportReport(reportParameters, \"Common Attribute Values\"));\r\n };\r\n\r\n return (\r\n <>\r\n setShowModal(false)}\r\n footer={false}\r\n className=\"display-settings personal selectsite\"\r\n >\r\n {isLoaded ? (\r\n <>\r\n
\r\n
\r\n Attribute Name:\r\n {rowsSelected[0]?.attributeName}\r\n
\r\n
\r\n setShowAddCommonAttributeValue(true)}\r\n onEditClick={editFieldValueHandler}\r\n onDeleteClick={deleteFieldValueHandler}\r\n onDownloadClick={(e) => downloadRef.current?.toggle(e)}\r\n defaultSelectedRows={commonAttributeValues.length > 0 ? [commonAttributeValues[0]] : []}\r\n />\r\n \r\n ) : (<>)\r\n }\r\n\r\n {showAddCommonAttributeValue ? (\r\n \r\n ) : null\r\n }\r\n\r\n {showEditCommonAttributeValue ? (\r\n \r\n ) : null}\r\n\r\n \r\n
    \r\n
  • Report All
  • \r\n
  • Report Highlighted
  • \r\n
  • Export All
  • \r\n\t\t\t\t\t
  • Export Highlighted
  • \r\n
\r\n
\r\n\r\n {showReportModal ? (\r\n \r\n ) : null}\r\n\r\n \r\n\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default AttributesFieldValues;\r\n","import React, { useState, useEffect, useRef } from \"react\";\r\nimport { useForm, Controller } from \"react-hook-form\";\r\nimport { Checkbox } from \"primereact/checkbox\";\r\nimport { InputText } from \"primereact/inputtext\";\r\nimport { Dropdown } from \"primereact/dropdown\";\r\nimport { classNames } from \"primereact/utils\";\r\n\r\nimport { BsExclamationCircleFill } from \"react-icons/bs\";\r\n\r\nimport AddModal from \"components/Table/AddModal/AddModal\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\nimport { getFieldTypesData } from \"redux/pages/Manage/Customization/Attributes/CommonAttributeSlice\";\r\nimport { InputNumber } from \"primereact/inputnumber\";\r\n\r\ninterface IEquipmentTypeAttributes {\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n onAddEquipmentTypeAttributeClick: (data: any) => void;\r\n}\r\n\r\ntype FormData = {\r\n attributeName: string;\r\n attributeTypeId: any;\r\n maxLength: number;\r\n isMandatory: boolean;\r\n isValidated: boolean;\r\n};\r\n\r\nexport const AddEquipmentTypeAttribute: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => {},\r\n onAddEquipmentTypeAttributeClick = () => {},\r\n}) => {\r\n const {\r\n control,\r\n handleSubmit,\r\n watch,\r\n setValue,\r\n formState: { errors },\r\n } = useForm({\r\n defaultValues: {\r\n attributeName: \"\",\r\n attributeTypeId: null,\r\n maxLength: undefined,\r\n isMandatory: false,\r\n isValidated: false,\r\n },\r\n });\r\n const attributeType = watch(\"attributeTypeId\");\r\n\r\n const fieldTypeData = useAppSelector(\r\n (state) => state.commonAttribute.fieldTypesData\r\n );\r\n\r\n const [fieldTypeLookup, setFieldTypeLookup] = useState([{}]);\r\n const [maxLengthDisabled, setMaxLengthDisabled] = useState(false);\r\n const [maxLengthClass, setMaxLengthClass] = useState(\"mandatory\");\r\n const [maxLength, setMaxLength] = useState();\r\n const [disableValidatedField, setDisableValidatedField] = useState(false);\r\n\r\n const dispatch = useDispatch();\r\n\r\n const addUserForm: any = useRef();\r\n\r\n useEffect(() => {\r\n dispatch(getFieldTypesData());\r\n }, [dispatch]);\r\n\r\n useEffect(() => {\r\n if (fieldTypeData) {\r\n let fieldType: any = [];\r\n fieldTypeData.map((item: any) => {\r\n return fieldType.push({\r\n name: item.dataTypeName,\r\n code: item.dataTypeId,\r\n });\r\n });\r\n setFieldTypeLookup(fieldType);\r\n }\r\n }, [fieldTypeData]);\r\n useEffect(() => {\r\n if (attributeType !== null && attributeType?.code !== undefined ) {\r\n let attributeTypeId = attributeType?.code;\r\n setDisableValidatedField(false);\r\n switch (attributeTypeId) {\r\n case 2:\r\n setMaxLength(15);\r\n setMaxLengthDisabled(true);\r\n setMaxLengthClass(\"\");\r\n setValue(\"maxLength\", 15);\r\n break;\r\n case 3:\r\n setMaxLength(9);\r\n setMaxLengthDisabled(true);\r\n setMaxLengthClass(\"\");\r\n setValue(\"maxLength\", 9);\r\n break;\r\n case 4:\r\n setMaxLength(14);\r\n setMaxLengthDisabled(true);\r\n setMaxLengthClass(\"\");\r\n setValue(\"maxLength\", 14);\r\n break;\r\n case 5:\r\n setMaxLengthDisabled(false);\r\n setMaxLengthClass('mandatory');\r\n setValue(\"maxLength\", 1);\r\n break;\r\n case 6:\r\n setDisableValidatedField(true);\r\n setValue(\"isValidated\", false);\r\n setMaxLengthDisabled(false);\r\n setMaxLengthClass(\"mandatory\");\r\n setValue(\"maxLength\", 101);\r\n break;\r\n case 7:\r\n setMaxLength(30);\r\n setMaxLengthDisabled(true);\r\n setMaxLengthClass(\"\");\r\n setValue(\"maxLength\", 30);\r\n break;\r\n default:\r\n setMaxLengthDisabled(false);\r\n setMaxLengthClass(\"mandatory\");\r\n break;\r\n }\r\n }\r\n }, [attributeType]);\r\n const formSubmitHandler = (data: any) => {\r\n addUserForm.current.requestSubmit();\r\n };\r\n\r\n const getFormErrorMessage = (name) => {\r\n return (\r\n errors[name] && (\r\n \r\n \r\n {errors[name].message}\r\n \r\n )\r\n );\r\n };\r\n\r\n const onAddFormSubmit = (submitData: any) => {\r\n submitData.attributeTypeId = submitData.attributeTypeId?.code;\r\n if (submitData.maxLength === undefined) submitData.maxLength = maxLength;\r\n onAddEquipmentTypeAttributeClick &&\r\n onAddEquipmentTypeAttributeClick(submitData);\r\n };\r\n\r\n const onError = (errors: any, e: any) => {};\r\n\r\n const maxLengthValidation = (value) => {\r\n if (attributeType !== null) {\r\n if (attributeType.code === 5 && (value > 100 || value < 1))\r\n return \"Enter value between 1 and 100\";\r\n else if (attributeType.code === 6 && (value < 101 || value > 4000))\r\n return \"Enter value between 101 and 4000\";\r\n }\r\n };\r\n\r\n const textValidate = (value) => {\r\n if (value) {\r\n const regex = /^[a-zA-Z0-9 ]+$/;\r\n if(regex.test(value))\r\n return true\r\n else\r\n return \"Special character(s) and non-keyboard characters are not allowed \"\r\n }\r\n }\r\n\r\n return (\r\n <>\r\n \r\n \r\n
\r\n
\r\n \r\n {\r\n return (value.trim().length <= 0 ? \"This field is required.\" : textValidate(value))\r\n }\r\n }}\r\n render={({ field, fieldState }) => (\r\n \r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"attributeName\")}\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n {\r\n return value === \"\" ? \"Select a Field Type\" : true;\r\n }\r\n }}\r\n render={({ field, fieldState }) => (\r\n field.onChange(e.value)}\r\n optionLabel=\"name\"\r\n options={fieldTypeLookup}\r\n />\r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"attributeTypeId\")}\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n maxLengthValidation(value),\r\n }}\r\n render={({ field, fieldState }) => (\r\n field.onChange(e.value)}\r\n aria-autocomplete='none'\r\n />\r\n )}\r\n />\r\n \r\n {maxLengthClass === \"mandatory\"\r\n ? getFormErrorMessage(\"maxLength\")\r\n : null}\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n (\r\n \r\n )}\r\n />\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n (\r\n \r\n )}\r\n />\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default AddEquipmentTypeAttribute;\r\n","\r\nimport React, { useState, useEffect,useCallback,useRef } from \"react\";\r\nimport { useForm, Controller } from \"react-hook-form\";\r\nimport { Checkbox } from \"primereact/checkbox\";\r\nimport { InputText } from \"primereact/inputtext\";\r\nimport { Dropdown } from \"primereact/dropdown\";\r\nimport { classNames } from \"primereact/utils\";\r\nimport { InputNumber } from \"primereact/inputnumber\";\r\n\r\nimport { BsExclamationCircleFill } from \"react-icons/bs\";\r\n\r\nimport AddModal from \"components/Table/AddModal/AddModal\";\r\n\r\nimport { useDispatch } from \"react-redux\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\nimport { getFieldTypesData } from \"redux/pages/Manage/Customization/Attributes/CommonAttributeSlice\";\r\nimport { getEquipmentTypeAttributeDetails, setEquipmentTypeAttributeDetails, setIsEquipmentTypeAttributeInUse } from \"redux/pages/Manage/Customization/Attributes/EquipmentTypeAttributeSlice\";\r\nimport { ProgressBar } from \"primereact/progressbar\";\r\n\r\ninterface IEquipmentAttributes {\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n selectedRows: any;\r\n onEditEquipmentTypeAttributeClick: (data: any) => void;\r\n}\r\n\r\ntype FormData = {\r\n attributeName: string;\r\n attributeTypeId: any;\r\n maxLength: number | null;\r\n isMandatory: boolean;\r\n isValidated: boolean;\r\n};\r\n\r\nexport const EditEquipmentTypeAttribute: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => {},\r\n selectedRows = [],\r\n onEditEquipmentTypeAttributeClick = () => {},\r\n}) => {\r\n const {\r\n control,\r\n handleSubmit,\r\n watch,\r\n setValue,\r\n formState: { errors },\r\n } = useForm({\r\n defaultValues: {\r\n attributeName: \"\",\r\n attributeTypeId: null,\r\n maxLength: null,\r\n isMandatory: false,\r\n isValidated: false,\r\n },\r\n });\r\n\r\n const attributeType = watch(\"attributeTypeId\");\r\n\r\n const fieldTypeData = useAppSelector(\r\n (state) => state.commonAttribute.fieldTypesData\r\n );\r\n const attributeDetails = useAppSelector(\r\n (state) => state.EquipmentTypeAttribute.equipmentTypeAttributeDetails\r\n );\r\n const isEquipmentTypeAttributeInUse = useAppSelector((state) => state.EquipmentTypeAttribute.isEquipmentTypeAttributeInUse);\r\n const [fieldTypeLookup, setFieldTypeLookup] = useState([{}]);\r\n const [maxLengthDisabled, setMaxLengthDisabled] = useState(false);\r\n const [maxLengthClass, setMaxLengthClass] = useState(\"mandatory\");\r\n const [maxLength, setMaxLength] = useState();\r\n const [disableValidatedField, setDisableValidatedField] = useState(false);\r\n const [fetchComplete, setFetchComplete] = useState(false);\r\n\r\n const dispatch = useDispatch();\r\n\r\n const editForm: any = useRef();\r\n useEffect(() => {\r\n dispatch(getFieldTypesData())\r\n dispatch(getEquipmentTypeAttributeDetails(selectedRows[0].uniqueAttributeId));\r\n}, [dispatch, selectedRows])\r\n\r\nconst setAttributeTypeLookup = useCallback((attributeData,attributeInUse) => {\r\n if (fieldTypeData) {\r\n let lookup: any = [];\r\n fieldTypeData.map((item: any) => {\r\n return lookup.push({ name: item.dataTypeName, code: item.dataTypeId })\r\n });\r\n if (attributeData.isValidated) {\r\n lookup = lookup.filter((item) => item.code !== 6)\r\n }\r\n if ( attributeInUse?.isAttributeInUse || attributeInUse?.hasLookup) {\r\n switch (attributeData?.fieldType?.attributeTypeId) {\r\n case 2:\r\n lookup = lookup.filter((item) => item.code !== 3 && item.code !== 4 && item.code !== 6)\r\n break;\r\n case 3:\r\n lookup = lookup.filter((item) => item.code !== 2 && item.code !== 7)\r\n break;\r\n case 4:\r\n lookup = lookup.filter((item) => item.code !== 2 && item.code !== 3 && item.code !== 7)\r\n break;\r\n case 5:\r\n lookup = lookup.filter((item) => item.code === 5 || item.code === 6)\r\n break;\r\n case 6:\r\n lookup = lookup.filter((item) => item.code === 6)\r\n break;\r\n case 7:\r\n lookup = lookup.filter((item) => item.code === 5 || item.code === 7)\r\n break;\r\n }\r\n }\r\n setFieldTypeLookup(lookup)\r\n }\r\n}, [fieldTypeData])\r\n\r\nuseEffect(() => {\r\n if (attributeDetails && isEquipmentTypeAttributeInUse) {\r\n let fieldType: any = [];\r\n setFetchComplete(true);\r\n fieldType.push({ name: attributeDetails?.fieldType?.attributeTypeName, code: attributeDetails?.fieldType?.attributeTypeId })\r\n setValue(\"attributeTypeId\", fieldType[0])\r\n setValue(\"attributeName\", attributeDetails?.attributeName)\r\n setValue(\"isMandatory\", attributeDetails?.isMandatory)\r\n setValue(\"isValidated\", attributeDetails?.isValidated)\r\n setValue(\"maxLength\", attributeDetails?.maxlength)\r\n setAttributeTypeLookup(attributeDetails,isEquipmentTypeAttributeInUse)\r\n if (attributeDetails?.isValidated && isEquipmentTypeAttributeInUse?.hasLookup)\r\n setDisableValidatedField(true)\r\n else if (isEquipmentTypeAttributeInUse?.isAttributeInUse)\r\n setDisableValidatedField(true); \r\n }\r\n}, [attributeDetails,isEquipmentTypeAttributeInUse, setAttributeTypeLookup, setValue])\r\n\r\nuseEffect(() => {\r\n if (fetchComplete===true) {\r\n dispatch(setIsEquipmentTypeAttributeInUse(\"\"))\r\n dispatch(setEquipmentTypeAttributeDetails(\"\"))\r\n }\r\n}, [fetchComplete])\r\n\r\nuseEffect(() => {\r\n if (fieldTypeData) {\r\n let fieldType: any = [];\r\n fieldTypeData.map((item: any) => {\r\n return fieldType.push({ name: item.dataTypeName, code: item.dataTypeId })\r\n })\r\n }\r\n}, [fieldTypeData])\r\n\r\nuseEffect(() => {\r\n if (attributeType) {\r\n let attributeTypeId = attributeType?.code\r\n switch (attributeTypeId) {\r\n case 2:\r\n setMaxLength(15);\r\n setMaxLengthDisabled(true);\r\n setMaxLengthClass('');\r\n setValue(\"maxLength\", 15)\r\n break;\r\n case 3:\r\n setMaxLength(9);\r\n setMaxLengthDisabled(true);\r\n setMaxLengthClass('');\r\n setValue(\"maxLength\", 9)\r\n break;\r\n case 4:\r\n setMaxLength(14);\r\n setMaxLengthDisabled(true);\r\n setMaxLengthClass('');\r\n setValue(\"maxLength\", 14)\r\n break;\r\n case 5:\r\n setMaxLengthDisabled(false);\r\n setMaxLengthClass('mandatory');\r\n break;\r\n case 6:\r\n setDisableValidatedField(true);\r\n setValue(\"isValidated\", false);\r\n setMaxLengthDisabled(false);\r\n setMaxLengthClass('mandatory');\r\n break;\r\n case 7:\r\n setMaxLength(30);\r\n setMaxLengthDisabled(true);\r\n setMaxLengthClass('');\r\n setValue(\"maxLength\", 30)\r\n break;\r\n default:\r\n setMaxLengthDisabled(false);\r\n setMaxLengthClass('mandatory');\r\n break\r\n }\r\n }\r\n}, [attributeType, setValue])\r\n\r\n\r\n const formSubmitHandler = (data: any) => {\r\n editForm?.current.requestSubmit();\r\n };\r\n\r\n const getFormErrorMessage = (name) => {\r\n return (\r\n errors[name] && (\r\n \r\n \r\n {errors[name].message}\r\n \r\n )\r\n );\r\n };\r\n\r\n const onEditFormSubmit = (submitData: any) => {\r\n submitData.attributeTypeId = submitData.attributeTypeId?.code\r\n if (submitData.maxLength === null)\r\n submitData.maxLength = maxLength\r\n onEditEquipmentTypeAttributeClick && onEditEquipmentTypeAttributeClick(submitData)\r\n };\r\n\r\n const onError = (errors: any, e: any) => {};\r\n\r\n const maxLengthValidation = (value) => {\r\n if (attributeType.code === 5 && (value > 100 || value < 1))\r\n return \"Enter value between 1 and 100\";\r\n else if (attributeType.code === 6 && (value < 101 || value > 4000))\r\n return \"Enter value between 101 and 4000\";\r\n }\r\n\r\n const textValidate = (value) => {\r\n if (value) {\r\n const regex = /^[a-zA-Z0-9 ]+$/;\r\n if(regex.test(value))\r\n return true\r\n else\r\n return \"Special character(s) and non-keyboard characters are not allowed \"\r\n }\r\n }\r\n\r\n return (\r\n <>\r\n \r\n\r\n {fetchComplete ?\r\n (
\r\n
\r\n
\r\n \r\n {\r\n return (value.trim().length <= 0 ? \"This field is required.\" : textValidate(value))\r\n } \r\n }}\r\n render={({ field, fieldState }) => (\r\n \r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"attributeName\")}\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n (\r\n field.onChange(e.value)}\r\n optionLabel=\"name\"\r\n options={fieldTypeLookup}\r\n />\r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"attributeTypeId\")}\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n maxLengthValidation(value),\r\n }}\r\n render={({ field, fieldState }) => (\r\n field.onChange(e.value)}\r\n aria-autocomplete='none'\r\n />\r\n )}\r\n />\r\n \r\n {maxLengthClass === \"mandatory\"\r\n ? getFormErrorMessage(\"maxLength\")\r\n : null}\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n (\r\n \r\n )}\r\n />\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n (\r\n \r\n )}\r\n />\r\n \r\n
\r\n
\r\n
\r\n
)\r\n : (
\r\n \r\n
) \r\n }\r\n \r\n \r\n );\r\n};\r\n\r\nexport default EditEquipmentTypeAttribute;\r\n\r\n","import React, { useRef } from \"react\";\r\nimport { useForm, Controller } from \"react-hook-form\";\r\n\r\nimport { InputText } from \"primereact/inputtext\";\r\nimport { Calendar } from \"primereact/calendar\";\r\nimport { classNames } from \"primereact/utils\";\r\n\r\nimport { BsExclamationCircleFill } from \"react-icons/bs\";\r\n\r\nimport AddModal from \"components/Table/AddModal/AddModal\";\r\nimport { Button } from \"primereact/button\";\r\nimport { blockedNonKeyboardCharacters } from \"service/GeneralUtility\";\r\n\r\ninterface IEquipmentAttributeValue {\r\n showModal: boolean;\r\n equipmentAttributeType: any;\r\n equipmentAttributeName: any;\r\n maxLength: any;\r\n setShowModal: (state: boolean) => void;\r\n onAddEquipmentTypeAttributeValueClick: (data: any) => void;\r\n}\r\n\r\ntype FormData = {\r\n Value: any;\r\n AttributeName: string;\r\n};\r\n\r\nexport const AddEquipmentTypeAttributeValues: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => {},\r\n onAddEquipmentTypeAttributeValueClick = () => {},\r\n equipmentAttributeType = \"\",\r\n equipmentAttributeName = \"\",\r\n maxLength = \"\",\r\n}) => {\r\n const addUserForm: any = useRef();\r\n const cal = React.createRef();\r\n\r\n const {\r\n control,\r\n handleSubmit,\r\n formState: { errors },\r\n } = useForm({\r\n defaultValues: {\r\n Value: \"\",\r\n AttributeName: \"\",\r\n },\r\n });\r\n\r\n const formSubmitHandler = (data: any) => {\r\n addUserForm.current.requestSubmit();\r\n };\r\n\r\n const getFormErrorMessage = (name) => {\r\n return (\r\n errors[name] && (\r\n \r\n \r\n {errors[name].message}\r\n \r\n )\r\n );\r\n };\r\n\r\n const onAddFormSubmit = (submitData: any) => {\r\n onAddEquipmentTypeAttributeValueClick &&\r\n onAddEquipmentTypeAttributeValueClick(submitData);\r\n };\r\n\r\n const textValidate = (value) => {\r\n if (value) {\r\n let invalidCharacters: any = blockedNonKeyboardCharacters(value);\r\n if (invalidCharacters != null && invalidCharacters.length > 0) {\r\n return \"Non-Keyboard character(s) \" + invalidCharacters.join() + \" is not allowed\";\r\n }\r\n else {\r\n return true;\r\n }\r\n }\r\n }\r\n\r\n const onError = (errors: any, e: any) => {};\r\n\r\n return (\r\n <>\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n (\r\n {equipmentAttributeName}\r\n )}\r\n />\r\n \r\n
\r\n
\r\n\r\n {equipmentAttributeType === \"Single Line Text\" ? (\r\n
\r\n
\r\n \r\n {\r\n return (value.trim().length <= 0 ? \"This field is required.\" : textValidate(value))\r\n }\r\n }}\r\n render={({ field, fieldState }) => (\r\n \r\n )}\r\n />\r\n \r\n\r\n {getFormErrorMessage(\"Value\")}\r\n \r\n
\r\n
\r\n ) : null}\r\n {equipmentAttributeType === \"Date\" ? (\r\n
\r\n
\r\n \r\n (\r\n field.onChange(e.value)}\r\n />\r\n )}\r\n />\r\n \r\n\r\n {getFormErrorMessage(\"Value\")}\r\n \r\n
\r\n
\r\n ) : null}\r\n {equipmentAttributeType === \"Date Time\" ? (\r\n
\r\n
\r\n \r\n (\r\n field.onChange(e.value)}\r\n footerTemplate={() =>
\r\n \r\n
}\r\n />\r\n )}\r\n />\r\n \r\n\r\n {getFormErrorMessage(\"Value\")}\r\n
\r\n
\r\n
\r\n ) : null}\r\n {equipmentAttributeType === \"Integer\" ? (\r\n
\r\n
\r\n \r\n (\r\n \r\n )}\r\n />\r\n \r\n\r\n {getFormErrorMessage(\"Value\")}\r\n \r\n
\r\n
\r\n ) : null}\r\n {equipmentAttributeType === \"Numeric\" ? (\r\n
\r\n
\r\n \r\n (\r\n \r\n )}\r\n />\r\n \r\n\r\n {getFormErrorMessage(\"Value\")}\r\n \r\n
\r\n
\r\n ) : null}\r\n {equipmentAttributeType === \"Multi Line Text\" ? (\r\n
\r\n
\r\n \r\n {\r\n return (value.trim().length <= 0 ? \"This field is required.\" : textValidate(value))\r\n }\r\n }}\r\n render={({ field, fieldState }) => (\r\n \r\n )}\r\n />\r\n \r\n\r\n {getFormErrorMessage(\"Value\")}\r\n \r\n
\r\n
\r\n ) : null}\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default AddEquipmentTypeAttributeValues;\r\n","import React, { useEffect, useRef } from \"react\";\r\nimport { useForm, Controller } from \"react-hook-form\";\r\n\r\nimport { InputText } from \"primereact/inputtext\";\r\nimport { classNames } from \"primereact/utils\";\r\nimport { Calendar } from \"primereact/calendar\";\r\nimport { BsExclamationCircleFill } from \"react-icons/bs\";\r\n\r\nimport { useDispatch } from \"react-redux\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\nimport { getEquipmentTypeAttributeValueDetails, setEquipmentTypeAttributeValueDetails } from \"redux/pages/Manage/Customization/Attributes/EquipmentTypeAttributeValueSlice\";\r\nimport AddModal from \"components/Table/AddModal/AddModal\";\r\nimport { Button } from \"primereact/button\";\r\nimport { blockedNonKeyboardCharacters } from \"service/GeneralUtility\";\r\n\r\ninterface IEquipmentAttributeValue {\r\n showModal: boolean;\r\n equipmentAttributeId: any;\r\n equipmentAttributeType: any;\r\n equipmentAttributeName: any;\r\n maxLength: any;\r\n selectedRows: any;\r\n setShowModal: (state: boolean) => void;\r\n onEditEquipmentTypeAttributeValueClick: (data: any) => void;\r\n}\r\n\r\ntype FormData = {\r\n AttributeName: string;\r\n Value: any;\r\n};\r\n\r\nexport const EditEquipmentTypeAttributeValues: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => {},\r\n onEditEquipmentTypeAttributeValueClick = () => {},\r\n equipmentAttributeId = \"\",\r\n equipmentAttributeType = \"\",\r\n equipmentAttributeName = \"\",\r\n maxLength = \"\",\r\n selectedRows = [],\r\n}) => {\r\n const equipmentAttributeValueDetails = useAppSelector(\r\n (state) =>\r\n state.equipmentTypeAttributeValue.equipmentTypeAttributeValueDetails\r\n );\r\n\r\n const dispatch = useDispatch();\r\n\r\n const editForm: any = useRef();\r\n const cal = React.createRef();\r\n\r\n const {\r\n control,\r\n handleSubmit,\r\n setValue,\r\n formState: { errors },\r\n } = useForm({\r\n defaultValues: {\r\n AttributeName: \"\",\r\n Value: \"\",\r\n },\r\n });\r\n\r\n useEffect(() => {\r\n dispatch(getEquipmentTypeAttributeValueDetails(equipmentAttributeId, selectedRows[0].dataFieldLookUpId));\r\n return (() => {\r\n dispatch(setEquipmentTypeAttributeValueDetails({}));\r\n });\r\n }, [dispatch, selectedRows, equipmentAttributeId]);\r\n\r\n useEffect(() => {\r\n if (equipmentAttributeValueDetails) {\r\n if(equipmentAttributeType===\"Date Time\" || equipmentAttributeType===\"Date\"){\r\n setValue(\"Value\", new Date(equipmentAttributeValueDetails?.attributeValue));\r\n }\r\n else{\r\n setValue(\"Value\", equipmentAttributeValueDetails?.attributeValue);\r\n }\r\n \r\n }\r\n }, [equipmentAttributeValueDetails, setValue]);\r\n const formSubmitHandler = (data: any) => {\r\n editForm.current.requestSubmit();\r\n };\r\n\r\n const getFormErrorMessage = (name) => {\r\n return (\r\n errors[name] && (\r\n \r\n \r\n {errors[name].message}\r\n \r\n )\r\n );\r\n };\r\n\r\n const onEditFormSubmit = (submitData: any) => {\r\n onEditEquipmentTypeAttributeValueClick &&\r\n onEditEquipmentTypeAttributeValueClick(submitData);\r\n };\r\n\r\n const textValidate = (value) => {\r\n if (value) {\r\n let invalidCharacters: any = blockedNonKeyboardCharacters(value);\r\n if (invalidCharacters != null && invalidCharacters.length > 0) {\r\n return \"Non-Keyboard character(s) \" + invalidCharacters.join() + \" is not allowed\";\r\n }\r\n else {\r\n return true;\r\n }\r\n }\r\n }\r\n\r\n const onError = (errors: any, e: any) => {};\r\n\r\n return (\r\n <>\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n (\r\n {equipmentAttributeName}\r\n )}\r\n />\r\n \r\n
\r\n
\r\n\r\n {equipmentAttributeType === \"Single Line Text\" ? (\r\n
\r\n
\r\n \r\n {\r\n return (value.trim().length <= 0 ? \"This field is required.\" : textValidate(value))\r\n }\r\n }}\r\n render={({ field, fieldState }) => (\r\n \r\n )}\r\n />\r\n \r\n\r\n {getFormErrorMessage(\"Value\")}\r\n \r\n
\r\n
\r\n ) : null}\r\n {equipmentAttributeType === \"Date\" ? (\r\n
\r\n
\r\n \r\n (\r\n field.onChange(e.value)}\r\n />\r\n )}\r\n />\r\n \r\n\r\n {getFormErrorMessage(\"Value\")}\r\n \r\n
\r\n
\r\n ) : null}\r\n {equipmentAttributeType === \"Date Time\" ? (\r\n
\r\n
\r\n \r\n (\r\n field.onChange(e.value)}\r\n footerTemplate={() =>
\r\n \r\n
}\r\n />\r\n )}\r\n />\r\n \r\n\r\n {getFormErrorMessage(\"Value\")}\r\n
\r\n
\r\n
\r\n ) : null}\r\n {equipmentAttributeType === \"Integer\" ? (\r\n
\r\n
\r\n \r\n (\r\n \r\n )}\r\n />\r\n \r\n\r\n {getFormErrorMessage(\"Value\")}\r\n \r\n
\r\n
\r\n ) : null}\r\n {equipmentAttributeType === \"Numeric\" ? (\r\n
\r\n
\r\n \r\n (\r\n \r\n )}\r\n />\r\n \r\n\r\n {getFormErrorMessage(\"Value\")}\r\n \r\n
\r\n
\r\n ) : null}\r\n {equipmentAttributeType === \"Multi Line Text\" ? (\r\n
\r\n
\r\n \r\n {\r\n return (value.trim().length <= 0 ? \"This field is required.\" : textValidate(value))\r\n }\r\n }}\r\n render={({ field, fieldState }) => (\r\n \r\n )}\r\n />\r\n \r\n\r\n {getFormErrorMessage(\"Value\")}\r\n \r\n
\r\n
\r\n ) : null}\r\n
\r\n \r\n \r\n );\r\n};\r\n\r\nexport default EditEquipmentTypeAttributeValues;\r\n","import React, { useCallback, useEffect, useState } from \"react\";\r\n\r\nimport { Dialog } from \"primereact/dialog\";\r\nimport { OverlayPanel } from \"primereact/overlaypanel\";\r\nimport PopOver from \"components/common/PopOver/PopOver\";\r\nimport InformationBox from \"components/common/Message/InformationBox/InformationBox\";\r\nimport ConfirmationBox from \"components/common/Message/ConfirmationBox/ConfirmationBox\";\r\nimport Table from \"components/Table/Table\";\r\nimport { CUSTOMIZATION_EQUIPMENT_TYPE_ATTRIBUTES_VALUES_COLS } from \"../EquipmentTypeAttributesValuesData\";\r\nimport AddEquipmentTypeAttributeValues from \"../ManageEquipmentTypeAttributeValues/AddEquipmentTypeAttributeValues\";\r\nimport EditEquipmentTypeAttributeValues from \"../ManageEquipmentTypeAttributeValues/EditEquipmentTypeAttributeValues\";\r\n\r\nimport { useDispatch } from \"react-redux\";\r\nimport { useAppSelector } from \"../../../../redux/hooks\";\r\nimport { getEquipmentTypeAttributeValuesList, onAddEquipmentTypeAttributeValue, onEditEquipmentTypeAttributeValue, deleteEquipmentTypeAttributeValue } from \"../../../../redux/pages/Manage/Customization/Attributes/EquipmentTypeAttributeValueSlice\";\r\nimport { checkIsAttributeValueInUse, setIsAttributeValueInUse } from \"../../../../redux/pages/Manage/Customization/Attributes/CommonAttributeSlice\";\r\nimport CustomizationReport from \"../Reports/CustomizationReports\";\r\nimport { CUSTOMIZATION_ATTRIBUTES_TYPE } from \"constants/common\";\r\nimport { onExportReport } from \"redux/common/report/customizeReportSlice\";\r\n\r\ninterface Props {\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n rowsSelected: any;\r\n equipmentTypeId: any;\r\n equipmentTypeName: any;\r\n}\r\n\r\nexport const EquipmentTypeAttributesFieldValues: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => { },\r\n rowsSelected = [],\r\n equipmentTypeId = \"\",\r\n equipmentTypeName = \"\",\r\n}) => {\r\n\r\n const dispatch = useDispatch();\r\n const equipmentTypeAttributeValueList = useAppSelector((state) => state.equipmentTypeAttributeValue.equipmentTypeAttributeValueList);\r\n const equipmentTypeAttributeValuePageDetails = useAppSelector((state) => state.equipmentTypeAttributeValue.equipmentTypeAttributeValuePageDetails);\r\n const newEquipmentTypeAttributeValue = useAppSelector((state) => state.equipmentTypeAttributeValue.newEquipmentTypeAttributeValue);\r\n const isAttributeValueInUse = useAppSelector((state) => state.commonAttribute.isAttributeValueInUse);\r\n \r\n const downloadRef = React.createRef();\r\n \r\n const [isLoaded, setIsLoaded] = useState(false);\r\n const [pageIndex, setPageIndex] = useState(0);\r\n const [selectedRows, setSelectedRows] = useState([]);\r\n const [isAttributeDelete, setIsAttributeDelete] = useState(false);\r\n const [message, setMessage] = useState(\"\");\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const [displayConfirmationModal, setDisplayConfirmationModal] = useState(false);\r\n const [isEquipmentTypeAttributeValueAdd, setIsEquipmentTypeAttributeValueAdd] = useState(false);\r\n const [showAddEquipmentTypeAttributeValues, setShowAddEquipmentTypeAttributeValues] = useState(false);\r\n const [showEditEquipmentTypeAttributeValue, setShowEditEquipmentTypeAttributeValue] = useState(false);\r\n const [showReportModal, setShowReportModal] = useState(false);\r\n const [reportFlag, setReportFlag] = useState('all');\r\n const [sortField, setSortField] = useState('')\r\n const [sortOrder, setSortOrder] = useState('');\r\n const [currentStart, setCurrentStart] = useState(1);\r\n\r\n useEffect(() => {\r\n if (rowsSelected && rowsSelected.length) {\r\n if (rowsSelected[0].uniqueAttributeId) {\r\n dispatch(getEquipmentTypeAttributeValuesList(rowsSelected[0].uniqueAttributeId, 1,\"\",\"\", \"\", setMessage, setDisplayInfoModal, setIsLoaded));\r\n }\r\n }\r\n }, [rowsSelected]);\r\n\r\n useEffect(() => {\r\n if (newEquipmentTypeAttributeValue) {\r\n setIsEquipmentTypeAttributeValueAdd(true)\r\n }\r\n }, [newEquipmentTypeAttributeValue])\r\n\r\n useEffect(() => {\r\n if (isAttributeValueInUse && isAttributeDelete) {\r\n if (isAttributeValueInUse?.isAttributeValueInUse) {\r\n setMessage(\"Selected Attribute Value is in use, cannot be deleted\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n setMessage(\"Are you sure you want to delete the selected Attribute Value?\");\r\n setDisplayConfirmationModal(true);\r\n }\r\n setIsAttributeDelete(false);\r\n dispatch(setIsAttributeValueInUse(\"\"))\r\n }\r\n }, [isAttributeValueInUse]);\r\n\r\n const handleRowSelect = useCallback((data: any) => {\r\n setSelectedRows([...data]);\r\n }, []);\r\n\r\n const onPageChange = (options) => {\r\n if (options !== pageIndex) {\r\n setPageIndex(options);\r\n let currentStart = options * equipmentTypeAttributeValuePageDetails?.currentLength + 1;\r\n setCurrentStart(currentStart);\r\n dispatch(getEquipmentTypeAttributeValuesList(rowsSelected[0].uniqueAttributeId, currentStart,\"\",\"\",\"\", setMessage, setDisplayInfoModal, setIsLoaded));\r\n }\r\n }\r\n\r\n const onSort = (event) => {\r\n if (event) {\r\n let sortDirection: string;\r\n if (event.sortOrder === 1)\r\n sortDirection = \"ASC\"\r\n else\r\n sortDirection = \"DESC\"\r\n setSortField(event.sortField);\r\n setSortOrder(sortDirection);\r\n dispatch(getEquipmentTypeAttributeValuesList(rowsSelected[0].uniqueAttributeId,currentStart,\"\",event.sortField, sortDirection, setMessage, setDisplayInfoModal, setIsLoaded));\r\n }\r\n }\r\n\r\n const onAddEquipmentTypeAttributeValueClick = (data) => {\r\n let body = {\r\n attributeValue: data.Value,\r\n };\r\n dispatch(onAddEquipmentTypeAttributeValue(body, rowsSelected[0].uniqueAttributeId, setMessage, setDisplayInfoModal, setShowAddEquipmentTypeAttributeValues));\r\n };\r\n\r\n const editFieldValueHandler = () => {\r\n if (selectedRows && selectedRows.length) {\r\n if (selectedRows.length === 1) {\r\n if (selectedRows[0].attributeName === \"Barcode\") {\r\n setMessage(\"This Attribute cannot be edited.\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n setShowEditEquipmentTypeAttributeValue(true)\r\n }\r\n } else {\r\n setMessage(\"This operation can be performed only one row at a time\");\r\n setDisplayInfoModal(true);\r\n }\r\n } else {\r\n setMessage(\"Select an Attribute Value\");\r\n setDisplayInfoModal(true);\r\n }\r\n }\r\n\r\n const onEditEquipmentTypeAttributeValueClick = (data) => { \r\n let body = {\r\n attributeValue: data.Value,\r\n };\r\n dispatch(onEditEquipmentTypeAttributeValue(rowsSelected[0].uniqueAttributeId, selectedRows[0].dataFieldLookUpId, body, setMessage, setDisplayInfoModal, setShowEditEquipmentTypeAttributeValue));\r\n };\r\n\r\n const deleteFieldValueHandler = () => {\r\n if (selectedRows && selectedRows.length) {\r\n if (selectedRows.length === 1) {\r\n if (selectedRows[0].attributeName === \"Barcode\") {\r\n setMessage(\"This Attribute cannot be deleted.\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n setIsAttributeDelete(true);\r\n dispatch(checkIsAttributeValueInUse(rowsSelected[0].uniqueAttributeId, selectedRows[0].dataFieldLookUpId));\r\n }\r\n } else {\r\n setMessage(\"This operation can be performed only one row at a time\");\r\n setDisplayInfoModal(true);\r\n }\r\n\r\n } else {\r\n setMessage(\"Select an Attribute Value\");\r\n setDisplayInfoModal(true);\r\n }\r\n }\r\n\r\n const onDeleteConfirm = () => {\r\n setDisplayConfirmationModal(false);\r\n dispatch(deleteEquipmentTypeAttributeValue(rowsSelected[0].uniqueAttributeId, selectedRows[0].dataFieldLookUpId, setSelectedRows, setMessage, setDisplayInfoModal));\r\n }\r\n\r\n const onOkClick = () => {\r\n if (isEquipmentTypeAttributeValueAdd) {\r\n setShowAddEquipmentTypeAttributeValues(true);\r\n setIsEquipmentTypeAttributeValueAdd(false);\r\n }\r\n }\r\n\r\n const onReportAllClick = () => {\r\n setReportFlag('all');\r\n setShowReportModal(true);\r\n };\r\n\r\n const onReportHighlightedClick = () => {\r\n setReportFlag('highlighted');\r\n setShowReportModal(true);\r\n };\r\n\r\n const getSelectedValuesIds = () => {\r\n let params: any = [];\r\n selectedRows.map(item => {\r\n params.push(item.dataFieldLookUpId);\r\n });\r\n return params;\r\n };\r\n\r\n const onExportAll = () => {\r\n const reportParameters = {\r\n exportParameters: {\r\n uniqueDataFieldId: equipmentTypeId,\r\n uniqueAttributeId: rowsSelected[0]?.uniqueAttributeId,\r\n attributeName: rowsSelected[0]?.attributeName,\r\n equipmentTypeName: equipmentTypeName,\r\n selectedIds: \"\",\r\n needCommonAttribute: false,\r\n sortColumn: sortField,\r\n sortOrder: sortOrder,\r\n search: ''\r\n },\r\n exportType: \"Equipment Type Attributes Values Report\"\r\n };\r\n dispatch(onExportReport(reportParameters, \"Equipment Type Attributes Values\"));\r\n };\r\n\r\n const onExportHighlightedClick = () => {\r\n const reportParameters = {\r\n exportParameters: {\r\n uniqueDataFieldId: equipmentTypeId,\r\n uniqueAttributeId: rowsSelected[0]?.uniqueAttributeId,\r\n attributeName: rowsSelected[0]?.attributeName,\r\n equipmentTypeName: equipmentTypeName,\r\n selectedIds: getSelectedValuesIds(),\r\n needCommonAttribute: false,\r\n sortColumn: sortField,\r\n sortOrder: sortOrder,\r\n search: ''\r\n },\r\n exportType: \"Equipment Type Attributes Values Report\"\r\n };\r\n dispatch(onExportReport(reportParameters, \"Equipment Type Attributes Values\"));\r\n };\r\n\r\n return (\r\n <>\r\n setShowModal(false)}\r\n footer={false}\r\n className=\"display-settings personal selectsite\"\r\n >\r\n {isLoaded ? (\r\n <>\r\n
\r\n
\r\n Attribute Name:\r\n {rowsSelected[0]?.attributeName}\r\n
\r\n
\r\n setShowAddEquipmentTypeAttributeValues(true)}\r\n onEditClick={editFieldValueHandler}\r\n onDeleteClick={deleteFieldValueHandler}\r\n onDownloadClick={(e) => downloadRef.current?.toggle(e)}\r\n defaultSelectedRows={equipmentTypeAttributeValueList.length > 0 ? [equipmentTypeAttributeValueList[0]] : []}\r\n /> \r\n ) : (<>)\r\n }\r\n\r\n {showAddEquipmentTypeAttributeValues ? (\r\n \r\n ) : null\r\n }\r\n\r\n {showEditEquipmentTypeAttributeValue ? (\r\n \r\n ) : null\r\n }\r\n\r\n \r\n
    \r\n
  • Report All
  • \r\n
  • Report Highlighted
  • \r\n
  • Export All
  • \r\n\t\t\t\t\t
  • Export Highlighted
  • \r\n
\r\n
\r\n\r\n \r\n\r\n \r\n\r\n {showReportModal ? (\r\n \r\n ) : null}\r\n\r\n \r\n \r\n );\r\n};\r\n\r\n\r\nexport default EquipmentTypeAttributesFieldValues;\r\n","import React, { useState, useEffect, useCallback } from \"react\";\r\nimport { useNavigate } from \"react-router-dom\";\r\nimport Breadcrumb from \"components/common/Breadcrumb/Breadcrumb\";\r\nimport { BsArrowRight } from \"react-icons/bs\";\r\nimport Filters from \"components/Filters/Filters\";\r\nimport Table from \"components/Table/Table\";\r\nimport { CUSTOMIZATION_ATTRIBUTES_TYPE } from \"constants/common\";\r\nimport { APP_ROUTES } from \"constants/AppRoutes\";\r\nimport { CUSTOMIZATION_ATTRIBUTES_COLS } from \"./CommonAttributesData\";\r\nimport { CUSTOMIZATION_ATTRIBUTES_VALUE_COLS } from \"./CommonAttibutesValuesData\";\r\n\r\nimport { CUSTOMIZATION_EQUIPMENT_TYPE_ATTRIBUTES_VALUES_COLS } from \"./EquipmentTypeAttributesValuesData\";\r\n\r\nimport { CUSTOMIZATION_EQUIPMENT_TYPE_COLS } from \"./EquipmentTypeAttributesData\";\r\n\r\nimport { useDispatch } from \"react-redux\";\r\nimport {\r\n getEquipmentTypeList,\r\n getEquipmentTypeAttributeList,\r\n onAddEquipmentTypeAttribute,\r\n onEditEquipmentTypeAttribute,\r\n checkIsEquipmentTypeAttributeInUse,\r\n deleteEquipmentTypeAttribute,\r\n setIsEquipmentTypeAttributeInUse,\r\n setEquipmentTypeAttributeListPageDetails,\r\n} from \"redux/pages/Manage/Customization/Attributes/EquipmentTypeAttributeSlice\";\r\nimport {\r\n checkIsCommonAttributeInUse,\r\n checkIsAttributeValueInUse,\r\n deleteCommonAttribute,\r\n deleteCommonAttributeValue,\r\n getAttributeNameList,\r\n getCommonAttributeList,\r\n getCommonAttributeValues,\r\n onAddCommonAttribute,\r\n onAddCommonAttributeValue,\r\n onEditCommonAttribute,\r\n onEditCommonAttributeValue,\r\n setIsCommonAttributeInUse,\r\n setIsAttributeValueInUse,\r\n setCommonAttributePageDetails,\r\n setCommonAttributeValuePageDetails,\r\n} from \"redux/pages/Manage/Customization/Attributes/CommonAttributeSlice\";\r\nimport {\r\n getEquipmentTypeNameList,\r\n getEquipmentAttributeNameList,\r\n getEquipmentTypeAttributeValuesList,\r\n onAddEquipmentTypeAttributeValue,\r\n onEditEquipmentTypeAttributeValue,\r\n deleteEquipmentTypeAttributeValue,\r\n setEquipmentTypeAttributeValuePageDetails,\r\n} from \"redux/pages/Manage/Customization/Attributes/EquipmentTypeAttributeValueSlice\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\n\r\nimport InformationBox from \"components/common/Message/InformationBox/InformationBox\";\r\n\r\nimport AddCommonAttributes from \"./ManageCommonAttributes/AddCommonAttributes\";\r\nimport EditCommonAttributes from \"./ManageCommonAttributes/EditCommonAttributes\";\r\nimport AttributesFieldValues from \"./ManageCommonAttributes/FieldValues\";\r\n\r\nimport AddCommonAttibutesValues from \"./ManageCommonAttibutesValues/AddCommonAttibutesValues\";\r\nimport EditCommonAttibutesValues from \"./ManageCommonAttibutesValues/EditCommonAttibutesValues\";\r\n\r\nimport AddEquipmentTypeAttribute from \"./ManageEquipmentTypeAttributes/AddEquipmentTypeAttributes\";\r\nimport EditEquipmentTypeAttribute from \"./ManageEquipmentTypeAttributes/EditEquipmentTypeAttribute\";\r\nimport EquipmentTypeAttributesFieldValues from \"./ManageEquipmentTypeAttributes/FileldValues\"\r\n\r\nimport AddEquipmentTypeAttributeValues from \"./ManageEquipmentTypeAttributeValues/AddEquipmentTypeAttributeValues\";\r\nimport EditEquipmentTypeAttributeValues from \"./ManageEquipmentTypeAttributeValues/EditEquipmentTypeAttributeValues\";\r\n\r\n\r\nimport ConfirmationBox from \"components/common/Message/ConfirmationBox/ConfirmationBox\";\r\nimport PopOver from \"components/common/PopOver/PopOver\";\r\nimport { OverlayPanel } from \"primereact/overlaypanel\";\r\nimport CustomizationReport from \"./Reports/CustomizationReports\";\r\nimport moment from 'moment';\r\nimport { onExportReport } from \"redux/common/report/customizeReportSlice\";\r\n\r\ninterface Props { }\r\n\r\nexport const CustomizationAttributes: React.FC = () => {\r\n const navigate = useNavigate();\r\n\r\n const commonAttributeList = useAppSelector((state) => state.commonAttribute.commonAttributeList);\r\n const commonAttributePageDetails = useAppSelector((state) => state.commonAttribute.commonAttributePageDetails);\r\n const equipmentTypeList = useAppSelector((state) => state.EquipmentTypeAttribute.equipmentTypeList);\r\n const equipmentTypeAttributeList = useAppSelector((state) => state.EquipmentTypeAttribute.equipmentTypeAttributeList);\r\n const equipmentTypeAttributeListPageDetails = useAppSelector((state) => state.EquipmentTypeAttribute.equipmentTypeAttributeListPageDetails);\r\n const commonAttributeNameList = useAppSelector((state) => state.commonAttribute.attributeNameList);\r\n const commonAttributeValues = useAppSelector((state) => state.commonAttribute.commonAttributeValues);\r\n const commonAttributeValuePageDetails = useAppSelector((state) => state.commonAttribute.commonAttributeValuePageDetails);\r\n const equipmentTypeNameList = useAppSelector((state) => state.equipmentTypeAttributeValue.equipmentTypeNameList);\r\n const equipmentAttributeNameList = useAppSelector((state) => state.equipmentTypeAttributeValue.equipmentAttributeNameList);\r\n const equipmentTypeAttributeValueList = useAppSelector((state) => state.equipmentTypeAttributeValue.equipmentTypeAttributeValueList);\r\n const equipmentTypeAttributeValuePageDetails = useAppSelector((state) => state.equipmentTypeAttributeValue.equipmentTypeAttributeValuePageDetails);\r\n const isCommonAttributeInUse = useAppSelector((state) => state.commonAttribute.isCommonAttributeInUse);\r\n const isAttributeValueInUse = useAppSelector((state) => state.commonAttribute.isAttributeValueInUse);\r\n const isEquipmentTypeAttributeInUse = useAppSelector((state) => state.EquipmentTypeAttribute.isEquipmentTypeAttributeInUse);\r\n const newCommonAtributeValue = useAppSelector((state) => state.commonAttribute.newCommonAtributeValue);\r\n const newEquipmentTypeAttributeValue = useAppSelector((state) => state.equipmentTypeAttributeValue.newEquipmentTypeAttributeValue);\r\n const rowsPerPage = useAppSelector((state) => state.personalSettings.rowsPerPage);\r\n\r\n const [equipmentTypeNameLookup, setEquipmentTypeNameLookup] = useState([]);\r\n const [equipmentAttributeNameLookup, setEquipmentAttributeNameLookup] = useState([]);\r\n const [equipmentTypeAttributeValueDetails, setEquipmentTypeAttributeDetails] = useState([]);\r\n\r\n const [selectedRows, setSelectedRows] = useState([]);\r\n const [selectedTab, setSelectedTab] = useState(CUSTOMIZATION_ATTRIBUTES_TYPE.COMMON_ATTRIBUTES);\r\n const [pageIndex, setPageIndex] = useState(0);\r\n const [commonAttributeLookup, setCommonAttributeLookup] = useState([]);\r\n const [commonAttributeType, setCommonAttributeType] = useState([]);\r\n const [equipmentAttributeType, setEquipmentAttributeType] = useState([]);\r\n const [equipmentTypeLookup, setEquipmentTypeLookup] = useState([]);\r\n const [showGrid, setShowGrid] = useState(false);\r\n const [attributeId, setAttributeId] = useState();\r\n const [attributeName, setAttributeName] = useState();\r\n const [maxLength, setMaxLength] = useState();\r\n const [equipmentTypeId, setEquipmentTypeId] = useState();\r\n const [fetchAttributeName, setFetchAttributeName] = useState(false);\r\n const [fetchEquipmentTypeName, setFetchEquipmentType] = useState(false);\r\n const [isEquipmentValue, setIsEquipmentValue] = useState(false);\r\n const [commonAttributeValuesData, setCommonAttributeValuesData] = useState([]);\r\n const [equipmentTypeAttributesData, setEquipmentTypeAttributesData] = useState([]);\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const [message, setMessage] = useState(\"\");\r\n const [showAddEquipmentTypeAttributes, setShowAddEquipmentTypeAttributes] = useState(false);\r\n const [showAddCommonAttribute, setShowAddCommonAttribute] = useState(false);\r\n const [showEditCommonAttribute, setShowEditCommonAttribute] = useState(false);\r\n const [showAttributesFieldValues, setShowAttributesFieldValues] = useState(false);\r\n\r\n const [showAddCommonAttributeValue, setShowAddCommonAttributeValue] = useState(false);\r\n const [showEditCommonAttributeValue, setShowEditCommonAttributeValue] = useState(false);\r\n\r\n const [showEditEquipmentTypeAttribute, setShowEditEquipmentTypeAttribute] = useState(false);\r\n const [showEquipmentFieldValues, setShowEquipmentFieldValues] = useState(false);\r\n\r\n const [showAddEquipmentTypeAttributeValues, setShowAddEquipmentTypeAttributeValues] = useState(false);\r\n const [showEditEquipmentTypeAttributeValue, setShowEditEquipmentTypeAttributeValue] = useState(false);\r\n\r\n const [displayConfirmationModal, setDisplayConfirmationModal] = useState(false);\r\n\r\n const [isAttributeDelete, setIsAttributeDelete] = useState(false);\r\n const [isCommonAttributeValueAdd, setIsCommonAttributeValueAdd] = useState(false);\r\n const [isEquipmentTypeAttributeValueAdd, setIsEquipmentTypeAttributeValueAdd] = useState(false);\r\n const [disableAddIcon, setDisableAddIcon] = useState(true);\r\n\r\n const [showReportModal, setShowReportModal] = useState(false);\r\n const [reportFlag, setReportFlag] = useState('all');\r\n const [equipmentTypeName, setEquipmentTypeName] = useState(\"\");\r\n const [selectedEquipmentid, setSelectedEquipmentId] = useState(\"\");\r\n const [sortField, setSortField] = useState('')\r\n const [sortOrder, setSortOrder] = useState('');\r\n const [keyWord, setKeyWord] = useState('');\r\n const [currentStart, setCurrentStart] = useState(1);\r\n const [commonAttributesPagination, setCommonAttributesPagination] = useState({});\r\n const [commonAttributeValuesPagination, setCommonAttributeValuesPagination] = useState({});\r\n const [equipmentTypeAttributesPagination, setEquipmentTypeAttributesPagination] = useState({});\r\n const [equipmentTypeAttributeValuesPagination, setEquipmentTypeAttributeValuesPagination] = useState({});\r\n\r\n const dispatch = useDispatch();\r\n const downloadRef = React.createRef();\r\n\r\n useEffect(() => {\r\n setShowGrid(true);\r\n setPageIndex(0);\r\n switch (selectedTab) {\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.COMMON_ATTRIBUTES: {\r\n dispatch(getCommonAttributeList(1));\r\n break;\r\n }\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.EQUIPMENT_TYPE_ATTRIBUTES: {\r\n setFetchEquipmentType(true);\r\n dispatch(getEquipmentTypeList());\r\n break;\r\n }\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.COMMON_ATTRIBUTES_VALUES: {\r\n dispatch(getAttributeNameList(setFetchAttributeName));\r\n break;\r\n }\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.EQUIPMENT_TYPE_ATTRIBUTES_VALUES: {\r\n dispatch(getEquipmentTypeNameList());\r\n break;\r\n }\r\n }\r\n }, [dispatch, selectedTab]);\r\n\r\n useEffect(() => {\r\n if (attributeId && equipmentTypeId && selectedTab && rowsPerPage && rowsPerPage > 0) {\r\n switch (selectedTab) {\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.COMMON_ATTRIBUTES: {\r\n dispatch(getCommonAttributeList(1));\r\n break;\r\n }\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.COMMON_ATTRIBUTES_VALUES: {\r\n dispatch(getCommonAttributeValues(attributeId, 1, \"\", sortField, sortOrder, setMessage, setDisplayInfoModal, null));\r\n break;\r\n }\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.EQUIPMENT_TYPE_ATTRIBUTES: {\r\n dispatch(getEquipmentTypeAttributeList(equipmentTypeId, 1, \"\", sortField, sortOrder));\r\n break;\r\n }\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.EQUIPMENT_TYPE_ATTRIBUTES_VALUES: {\r\n dispatch(getEquipmentTypeAttributeValuesList(attributeId, 1, \"\", sortField, sortOrder, setMessage, setDisplayInfoModal, null));\r\n break;\r\n }\r\n }\r\n }\r\n }, [dispatch, rowsPerPage]);\r\n\r\n useEffect(() => {\r\n if (commonAttributePageDetails) {\r\n setCommonAttributesPagination(commonAttributePageDetails);\r\n }\r\n if (commonAttributeValuePageDetails) {\r\n setCommonAttributeValuesPagination(commonAttributeValuePageDetails);\r\n }\r\n if (equipmentTypeAttributeListPageDetails) {\r\n setEquipmentTypeAttributesPagination(equipmentTypeAttributeListPageDetails);\r\n }\r\n if (equipmentTypeAttributeValuePageDetails) {\r\n setEquipmentTypeAttributeValuesPagination(equipmentTypeAttributeValuePageDetails);\r\n }\r\n }, [commonAttributePageDetails, commonAttributeValuePageDetails, equipmentTypeAttributeListPageDetails, equipmentTypeAttributeValuePageDetails]);\r\n\r\n useEffect(() => {\r\n if (selectedTab && rowsPerPage && rowsPerPage > 0) {\r\n let modifiedPageDetails: any = {};\r\n switch (selectedTab) {\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.COMMON_ATTRIBUTES: {\r\n modifiedPageDetails = { ...commonAttributesPagination, 'currentLength': rowsPerPage, 'pageCount': rowsPerPage };\r\n setCommonAttributesPagination(modifiedPageDetails);\r\n setCurrentStart(1)\r\n setPageIndex(0)\r\n break;\r\n }\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.COMMON_ATTRIBUTES_VALUES: {\r\n modifiedPageDetails = { ...commonAttributeValuesPagination, 'currentLength': rowsPerPage, 'pageCount': rowsPerPage };\r\n setCommonAttributeValuesPagination(modifiedPageDetails);\r\n setCurrentStart(1)\r\n setPageIndex(0)\r\n break;\r\n }\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.EQUIPMENT_TYPE_ATTRIBUTES: {\r\n modifiedPageDetails = { ...equipmentTypeAttributesPagination, 'currentLength': rowsPerPage, 'pageCount': rowsPerPage };\r\n setEquipmentTypeAttributesPagination(modifiedPageDetails);\r\n setCurrentStart(1)\r\n setPageIndex(0)\r\n break;\r\n }\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.EQUIPMENT_TYPE_ATTRIBUTES_VALUES: {\r\n modifiedPageDetails = { ...equipmentTypeAttributeValuesPagination, 'currentLength': rowsPerPage, 'pageCount': rowsPerPage };\r\n setEquipmentTypeAttributeValuesPagination(modifiedPageDetails);\r\n setCurrentStart(1)\r\n setPageIndex(0)\r\n break;\r\n }\r\n }\r\n }\r\n }, [rowsPerPage]);\r\n\r\n useEffect(() => {\r\n if (fetchAttributeName) {\r\n if (commonAttributeNameList?.length > 0) {\r\n let lookup: any = [];\r\n commonAttributeNameList.map((item: any) => {\r\n return lookup.push({\r\n name: item.attributeName,\r\n code: item.uniqueAttributeId,\r\n type: item.dataType.dataTypeName,\r\n maxLength: item.maxLength,\r\n });\r\n });\r\n setCommonAttributeLookup(lookup);\r\n } else {\r\n setMessage(\"No Validated Common Attributes exist\");\r\n setDisplayInfoModal(true);\r\n }\r\n setFetchAttributeName(false);\r\n }\r\n }, [fetchAttributeName, commonAttributeNameList]);\r\n\r\n useEffect(() => {\r\n if (equipmentTypeNameList?.length > 0) {\r\n let lookup: any = [];\r\n equipmentTypeNameList.map((item: any) => {\r\n return lookup.push({\r\n name: item.equipmentClassName,\r\n code: item.uniqueEquipmentClassId,\r\n });\r\n });\r\n setEquipmentTypeNameLookup(lookup);\r\n setFetchAttributeName(false);\r\n }\r\n }, [equipmentTypeNameList]);\r\n\r\n useEffect(() => {\r\n if (isEquipmentValue) {\r\n if (equipmentAttributeNameList?.length > 0) {\r\n let lookup: any = [];\r\n equipmentAttributeNameList.map((item: any) => {\r\n return lookup.push({\r\n name: item.attributeName,\r\n code: item.uniqueAttributeId,\r\n type: item.dataType.dataTypeName,\r\n maxLength: item.maxlength,\r\n });\r\n });\r\n setEquipmentAttributeNameLookup(lookup);\r\n } else {\r\n setMessage(\"No Validated Equipment Type Attributes exist\");\r\n setDisplayInfoModal(true);\r\n }\r\n setIsEquipmentValue(false);\r\n }\r\n }, [isEquipmentValue, equipmentAttributeNameList]);\r\n\r\n useEffect(() => {\r\n if (equipmentTypeAttributeValueList) {\r\n setEquipmentTypeAttributeDetails(equipmentTypeAttributeValueList);\r\n }\r\n }, [equipmentTypeAttributeValueList]);\r\n\r\n useEffect(() => {\r\n if (fetchEquipmentTypeName) {\r\n if (equipmentTypeList?.length > 0) {\r\n let lookup: any = [];\r\n equipmentTypeList.map((item: any) => {\r\n return lookup.push({\r\n name: item.equipmentClassName,\r\n code: item.uniqueEquipmentClassId,\r\n });\r\n });\r\n setEquipmentTypeLookup(lookup);\r\n } else {\r\n setMessage(\"No Equipment Types exists\");\r\n setDisplayInfoModal(true);\r\n }\r\n setFetchEquipmentType(false);\r\n }\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [equipmentTypeList]);\r\n\r\n useEffect(() => {\r\n if (commonAttributeValues) {\r\n setCommonAttributeValuesData(commonAttributeValues);\r\n }\r\n }, [commonAttributeValues]);\r\n\r\n useEffect(() => {\r\n if (equipmentTypeAttributeList) {\r\n setEquipmentTypeAttributesData(equipmentTypeAttributeList);\r\n }\r\n }, [equipmentTypeAttributeList]);\r\n\r\n const onPageChanged = (options: any) => {\r\n if (options !== pageIndex) {\r\n setPageIndex(options);\r\n switch (selectedTab) {\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.COMMON_ATTRIBUTES: {\r\n let currentStart = options * commonAttributesPagination?.currentLength + 1;\r\n setCurrentStart(currentStart);\r\n dispatch(getCommonAttributeList(currentStart,keyWord,sortField,sortOrder));\r\n break;\r\n }\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.COMMON_ATTRIBUTES_VALUES: {\r\n let currentStart = options * commonAttributeValuesPagination?.currentLength + 1;\r\n setCurrentStart(currentStart);\r\n dispatch(getCommonAttributeValues(attributeId, currentStart,keyWord,sortField, sortOrder, setMessage, setDisplayInfoModal, null));\r\n break;\r\n }\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.EQUIPMENT_TYPE_ATTRIBUTES_VALUES: {\r\n let currentStart = options * equipmentTypeAttributeValuesPagination?.currentLength + 1;\r\n setCurrentStart(currentStart);\r\n dispatch(getEquipmentTypeAttributeValuesList(attributeId, currentStart,keyWord,sortField, sortOrder, setMessage, setDisplayInfoModal, null));\r\n break;\r\n }\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.EQUIPMENT_TYPE_ATTRIBUTES: {\r\n let currentStart = options * equipmentTypeAttributesPagination?.currentLength + 1;\r\n setCurrentStart(currentStart);\r\n dispatch(getEquipmentTypeAttributeList(equipmentTypeId, currentStart,keyWord,sortField, sortOrder));\r\n break;\r\n }\r\n }\r\n }\r\n };\r\n\r\n const onHeaderDropdownChange = (item: any) => {\r\n let dataFieldId = item.value.code;\r\n switch (selectedTab) {\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.COMMON_ATTRIBUTES_VALUES: {\r\n setDisableAddIcon(false);\r\n let attributeName = item.value?.name;\r\n let maxLength = item.value?.maxLength;\r\n let dataType = item.value?.type;\r\n setCommonAttributeValuesData([]);\r\n setAttributeId(dataFieldId);\r\n setAttributeName(attributeName);\r\n setMaxLength(maxLength);\r\n setCommonAttributeType(dataType);\r\n dispatch(getCommonAttributeValues(dataFieldId, 1 ,\"\",sortField,sortOrder,setMessage, setDisplayInfoModal, null));\r\n setKeyWord('');\r\n break;\r\n }\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.EQUIPMENT_TYPE_ATTRIBUTES: {\r\n setDisableAddIcon(false);\r\n setEquipmentTypeAttributesData([]);\r\n setEquipmentTypeId(dataFieldId);\r\n setEquipmentTypeName(item.value?.name);\r\n dispatch(getEquipmentTypeAttributeList(dataFieldId, 1,\"\",sortField,sortOrder));\r\n setKeyWord('');\r\n break;\r\n }\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.EQUIPMENT_TYPE_ATTRIBUTES_VALUES: {\r\n if (item.name === \"Equipment Type Name\") {\r\n setSelectedEquipmentId(item.value?.code);\r\n setEquipmentTypeName(item.value?.name);\r\n setEquipmentAttributeNameLookup([]);\r\n dispatch(getEquipmentAttributeNameList(dataFieldId, setIsEquipmentValue));\r\n setEquipmentTypeAttributeDetails([]);\r\n }\r\n break;\r\n }\r\n }\r\n };\r\n\r\n const onHeaderAttributeNameChange = (item: any) => {\r\n let dataFieldId: any;\r\n setDisableAddIcon(false);\r\n if (item.value) dataFieldId = item.value.code;\r\n else dataFieldId = item.code;\r\n let attributeName = item.value ? item.value.name : item.name;\r\n let maxLength = item.value ? item.value.maxLength : item.maxLength;\r\n let dataType = item.value ? item.value.type : item.type;\r\n setAttributeId(dataFieldId);\r\n setAttributeName(attributeName);\r\n setMaxLength(maxLength);\r\n setEquipmentAttributeType(dataType);\r\n setEquipmentTypeAttributeDetails([]);\r\n dispatch(getEquipmentTypeAttributeValuesList(dataFieldId, 1, \"\", sortField, sortOrder, setMessage, setDisplayInfoModal, null));\r\n setKeyWord('');\r\n };\r\n\r\n const handleTabChange = (selectedAttributeTab) => {\r\n setDisableAddIcon(true);\r\n if (selectedAttributeTab !== selectedTab) {\r\n switch (selectedAttributeTab) {\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.COMMON_ATTRIBUTES_VALUES: {\r\n setCommonAttributeValuesData([]);\r\n break;\r\n }\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.EQUIPMENT_TYPE_ATTRIBUTES: {\r\n setEquipmentTypeAttributesData([]);\r\n break;\r\n }\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.EQUIPMENT_TYPE_ATTRIBUTES_VALUES: {\r\n setEquipmentTypeAttributeDetails([]);\r\n setEquipmentAttributeNameLookup([]);\r\n setEquipmentTypeNameLookup([]);\r\n break;\r\n }\r\n }\r\n setShowGrid(false);\r\n }\r\n setSelectedTab(selectedAttributeTab);\r\n };\r\n\r\n const handleRowSelect = useCallback((data: any) => {\r\n if (data && data.length > 0) {\r\n //To resolve useEffect dependency\r\n setSelectedRows([...data]);\r\n }\r\n }, []);\r\n\r\n \r\n\r\n const onSort = (event) => {\r\n if (event) {\r\n let sortDirection: string;\r\n if (event.sortOrder === 1)\r\n sortDirection = \"ASC\"\r\n else\r\n sortDirection = \"DESC\"\r\n setSortField(event.sortField);\r\n setSortOrder(sortDirection);\r\n\r\n switch (selectedTab) {\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.COMMON_ATTRIBUTES: {\r\n dispatch(getCommonAttributeList(currentStart,keyWord,event?.sortField, sortDirection));\r\n break;\r\n }\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.COMMON_ATTRIBUTES_VALUES: {\r\n dispatch(getCommonAttributeValues(attributeId, currentStart,keyWord,event?.sortField, sortDirection, setMessage, setDisplayInfoModal, null));\r\n break;\r\n }\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.EQUIPMENT_TYPE_ATTRIBUTES: {\r\n dispatch(getEquipmentTypeAttributeList(equipmentTypeId, currentStart,keyWord,event?.sortField, sortDirection));\r\n break;\r\n }\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.EQUIPMENT_TYPE_ATTRIBUTES_VALUES: {\r\n dispatch(getEquipmentTypeAttributeValuesList(attributeId, currentStart,keyWord,sortField, sortOrder, setMessage, setDisplayInfoModal, null));\r\n break;\r\n }\r\n }\r\n \r\n }\r\n }\r\n\r\n const onGlobalSearch = (filter) => {\r\n \r\n setKeyWord(filter)\r\n switch (selectedTab) {\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.COMMON_ATTRIBUTES: {\r\n dispatch(getCommonAttributeList(currentStart,filter,sortField, sortOrder));\r\n break;\r\n }\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.COMMON_ATTRIBUTES_VALUES: {\r\n dispatch(getCommonAttributeValues(attributeId, currentStart,filter,sortField, sortOrder, setMessage, setDisplayInfoModal, null));\r\n break;\r\n }\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.EQUIPMENT_TYPE_ATTRIBUTES: {\r\n dispatch(getEquipmentTypeAttributeList(equipmentTypeId, currentStart,filter,sortField, sortOrder));\r\n break;\r\n }\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.EQUIPMENT_TYPE_ATTRIBUTES_VALUES: {\r\n dispatch(getEquipmentTypeAttributeValuesList(attributeId, currentStart,filter,sortField, sortOrder, setMessage, setDisplayInfoModal, null));\r\n break;\r\n }\r\n }\r\n}\r\n\r\n const onAddCommonAttributeClick = (data) => {\r\n dispatch(onAddCommonAttribute(data, setMessage, setDisplayInfoModal, setShowAddCommonAttribute));\r\n };\r\n\r\n const onAddCommonAttributeValueClick = (data) => {\r\n let Value=\"\"\r\n if(commonAttributeType===\"Date\"){\r\n Value=moment(data?.Value).format(\"yyyy-MM-DD\").toString()\r\n }\r\n else if(commonAttributeType===\"Date Time\"){\r\n Value=moment(data?.Value).format(\"yyyy-MM-DD,h:mm:ss a\").toString()\r\n }\r\n else\r\n {\r\n Value=data.Value\r\n }\r\n let body = {\r\n attributeValue: Value,\r\n };\r\n dispatch(onAddCommonAttributeValue(body, attributeId, setMessage, setDisplayInfoModal, setShowAddCommonAttributeValue));\r\n };\r\n\r\n const onAddEquipmentTypeAttributeClick = (data) => {\r\n dispatch(onAddEquipmentTypeAttribute(data, equipmentTypeId, setMessage, setDisplayInfoModal, setShowAddEquipmentTypeAttributes));\r\n };\r\n\r\n const onAddEquipmentTypeAttributeValueClick = (data) => {\r\n let Value:any = \"\"\r\n if (equipmentAttributeType === \"Date\") {\r\n Value = moment(data?.Value).format(\"yyyy-MM-DD\").toString()\r\n }\r\n else if (equipmentAttributeType === \"Date Time\") {\r\n Value = moment(data?.Value).format(\"yyyy-MM-DD,h:mm:ss a\").toString()\r\n }\r\n else if (equipmentAttributeType === \"Integer\" || equipmentAttributeType === \"Numeric\") {\r\n Value = parseFloat(data?.Value);\r\n }\r\n else {\r\n Value = data.Value\r\n }\r\n let body = {\r\n attributeValue: Value,\r\n };\r\n dispatch(onAddEquipmentTypeAttributeValue(body, attributeId, setMessage, setDisplayInfoModal, setShowAddEquipmentTypeAttributeValues));\r\n };\r\n\r\n useEffect(() => {\r\n if (newCommonAtributeValue) {\r\n setIsCommonAttributeValueAdd(true)\r\n }\r\n }, [newCommonAtributeValue])\r\n\r\n useEffect(() => {\r\n if (newEquipmentTypeAttributeValue) {\r\n setIsEquipmentTypeAttributeValueAdd(true)\r\n }\r\n }, [newEquipmentTypeAttributeValue])\r\n\r\n const okInfoOnClick = () => {\r\n if (isCommonAttributeValueAdd) {\r\n setShowAddCommonAttributeValue(true);\r\n setIsCommonAttributeValueAdd(false)\r\n } else if (isEquipmentTypeAttributeValueAdd) {\r\n setShowAddEquipmentTypeAttributeValues(true);\r\n setIsEquipmentTypeAttributeValueAdd(false);\r\n }\r\n }\r\n\r\n const editIconClick = () => {\r\n if (selectedRows.length < 1) {\r\n switch (selectedTab) {\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.COMMON_ATTRIBUTES:\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.EQUIPMENT_TYPE_ATTRIBUTES: {\r\n setMessage(\"Select an Attribute\");\r\n break;\r\n }\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.COMMON_ATTRIBUTES_VALUES:\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.EQUIPMENT_TYPE_ATTRIBUTES_VALUES: {\r\n setMessage(\"Select an Attribute Value\");\r\n break;\r\n }\r\n default: {\r\n setMessage(\"Select an Attribute\");\r\n }\r\n }\r\n setDisplayInfoModal(true);\r\n } else if (selectedRows.length > 1) {\r\n setMessage(\"This operation can be performed only one row at a time\");\r\n setDisplayInfoModal(true);\r\n } else if (selectedRows[0].attributeName === \"Barcode\") {\r\n setMessage(\"This Attribute cannot be edited.\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n switch (selectedTab) {\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.COMMON_ATTRIBUTES_VALUES: {\r\n setShowEditCommonAttributeValue(true);\r\n break;\r\n }\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.EQUIPMENT_TYPE_ATTRIBUTES: {\r\n dispatch(checkIsEquipmentTypeAttributeInUse(selectedRows[0].uniqueAttributeId));\r\n setShowEditEquipmentTypeAttribute(true);\r\n break;\r\n }\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.EQUIPMENT_TYPE_ATTRIBUTES_VALUES: {\r\n setShowEditEquipmentTypeAttributeValue(true);\r\n break;\r\n }\r\n default: {\r\n dispatch(checkIsCommonAttributeInUse(selectedRows[0].uniqueAttributeId));\r\n setShowEditCommonAttribute(true);\r\n }\r\n }\r\n }\r\n };\r\n\r\n const onEditCommonAttributeClick = (data) => {\r\n dispatch(onEditCommonAttribute(selectedRows[0].uniqueAttributeId, data, setMessage, setDisplayInfoModal, setShowEditCommonAttribute));\r\n };\r\n\r\n const onEditCommonAttributeValueClick = (data) => {\r\n let Value=\"\"\r\n if(commonAttributeType===\"Date\"){\r\n Value=moment(data?.Value).format(\"yyyy-MM-DD\").toString()\r\n }\r\n else if(commonAttributeType===\"Date Time\"){\r\n Value=moment(data?.Value).format(\"yyyy-MM-DD,h:mm:ss a\").toString()\r\n }\r\n else\r\n {\r\n Value=data.Value\r\n }\r\n let body = {\r\n attributeValue: Value,\r\n };\r\n dispatch(onEditCommonAttributeValue(attributeId, selectedRows[0].dataFieldLookUpId, body, setMessage, setDisplayInfoModal, setShowEditCommonAttributeValue));\r\n };\r\n\r\n const onEditEquipmentTypeAttributeValueClick = (data) => {\r\n let Value:any=\"\"\r\n if(equipmentAttributeType===\"Date\"){\r\n Value=moment(data?.Value).format(\"yyyy-MM-DD\").toString()\r\n }\r\n else if(equipmentAttributeType===\"Date Time\"){\r\n Value=moment(data?.Value).format(\"yyyy-MM-DD,h:mm:ss a\").toString()\r\n }\r\n else if (equipmentAttributeType === \"Integer\" || equipmentAttributeType === \"Numeric\") {\r\n Value = parseFloat(data?.Value);\r\n }\r\n else\r\n {\r\n Value=data.Value\r\n }\r\n let body = {\r\n attributeValue: Value,\r\n };\r\n dispatch(onEditEquipmentTypeAttributeValue(attributeId, selectedRows[0].dataFieldLookUpId, body, setMessage, setDisplayInfoModal, setShowEditEquipmentTypeAttributeValue));\r\n };\r\n\r\n const onEditEquipmentTypeAttributeClick = (data) => {\r\n dispatch(onEditEquipmentTypeAttribute(selectedRows[0], equipmentTypeId, data, setMessage, setDisplayInfoModal, setShowEditEquipmentTypeAttribute,setSelectedRows));\r\n };\r\n\r\n const deleteIconClick = () => {\r\n if (selectedRows.length < 1) {\r\n switch (selectedTab) {\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.COMMON_ATTRIBUTES:\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.EQUIPMENT_TYPE_ATTRIBUTES: {\r\n setMessage(\"Select an Attribute\");\r\n break;\r\n }\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.COMMON_ATTRIBUTES_VALUES:\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.EQUIPMENT_TYPE_ATTRIBUTES_VALUES: {\r\n setMessage(\"Select an Attribute Value\");\r\n break;\r\n }\r\n default: {\r\n setMessage(\"Select an Attribute\");\r\n }\r\n }\r\n setDisplayInfoModal(true);\r\n } else if (selectedRows.length > 1) {\r\n setMessage(\"This operation can be performed only one row at a time\");\r\n setDisplayInfoModal(true);\r\n } else if (selectedRows[0].attributeName === \"Barcode\") {\r\n setMessage(\"This Attribute cannot be deleted.\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n switch (selectedTab) {\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.COMMON_ATTRIBUTES: {\r\n dispatch(checkIsCommonAttributeInUse(selectedRows[0].uniqueAttributeId));\r\n break;\r\n }\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.COMMON_ATTRIBUTES_VALUES: {\r\n dispatch(checkIsAttributeValueInUse(attributeId, selectedRows[0].dataFieldLookUpId));\r\n break;\r\n }\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.EQUIPMENT_TYPE_ATTRIBUTES: {\r\n dispatch(\r\n checkIsEquipmentTypeAttributeInUse(selectedRows[0].uniqueAttributeId));\r\n break;\r\n }\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.EQUIPMENT_TYPE_ATTRIBUTES_VALUES: {\r\n dispatch(checkIsAttributeValueInUse(attributeId, selectedRows[0].dataFieldLookUpId));\r\n break;\r\n }\r\n default: {\r\n return null;\r\n }\r\n }\r\n setIsAttributeDelete(true);\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n if (isCommonAttributeInUse && isAttributeDelete) {\r\n if (\r\n isCommonAttributeInUse?.isAttributeInUse\r\n ) {\r\n setMessage(\"Selected Attribute is in use, cannot be deleted\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n setMessage(\"Are you sure you want to delete the selected Attribute?\");\r\n setDisplayConfirmationModal(true);\r\n }\r\n setIsAttributeDelete(false);\r\n dispatch(setIsCommonAttributeInUse(\"\"))\r\n }\r\n }, [isCommonAttributeInUse]);\r\n\r\n useEffect(() => {\r\n if (isEquipmentTypeAttributeInUse && isAttributeDelete) {\r\n if (\r\n isEquipmentTypeAttributeInUse?.isAttributeInUse\r\n ) {\r\n setMessage(\"Selected Attribute is in use, cannot be deleted\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n setMessage(\"Are you sure you want to delete the selected Attribute?\");\r\n setDisplayConfirmationModal(true);\r\n }\r\n setIsAttributeDelete(false);\r\n dispatch(setIsEquipmentTypeAttributeInUse(\"\"))\r\n }\r\n }, [isEquipmentTypeAttributeInUse]);\r\n\r\n useEffect(() => {\r\n if (isAttributeValueInUse && isAttributeDelete) {\r\n if (isAttributeValueInUse?.isAttributeValueInUse) {\r\n setMessage(\"Selected Attribute Value is in use, cannot be deleted\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n setMessage(\"Are you sure you want to delete the selected Attribute Value?\");\r\n setDisplayConfirmationModal(true);\r\n }\r\n setIsAttributeDelete(false);\r\n dispatch(setIsAttributeValueInUse(\"\"))\r\n }\r\n }, [isAttributeValueInUse]);\r\n\r\n useEffect(() => {\r\n setKeyWord(\"\");\r\n setSortField(\"\");\r\n setSortOrder(\"\");\r\n dispatch(setCommonAttributePageDetails([]));\r\n dispatch(setCommonAttributeValuePageDetails([]));\r\n dispatch(setEquipmentTypeAttributeListPageDetails([]));\r\n dispatch(setEquipmentTypeAttributeValuePageDetails([]));\r\n }, [selectedTab]);\r\n\r\n const onDeleteConfirm = () => {\r\n setDisplayConfirmationModal(false);\r\n switch (selectedTab) {\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.COMMON_ATTRIBUTES: {\r\n dispatch(deleteCommonAttribute(selectedRows[0].uniqueAttributeId, setSelectedRows, setMessage, setDisplayInfoModal));\r\n break;\r\n }\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.COMMON_ATTRIBUTES_VALUES: {\r\n dispatch(deleteCommonAttributeValue(attributeId, selectedRows[0].dataFieldLookUpId, setSelectedRows, setMessage, setDisplayInfoModal));\r\n break;\r\n }\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.EQUIPMENT_TYPE_ATTRIBUTES: {\r\n dispatch(deleteEquipmentTypeAttribute(selectedRows[0].uniqueAttributeId, setSelectedRows, setMessage, setDisplayInfoModal));\r\n break;\r\n }\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.EQUIPMENT_TYPE_ATTRIBUTES_VALUES: {\r\n dispatch(deleteEquipmentTypeAttributeValue(attributeId, selectedRows[0].dataFieldLookUpId, setSelectedRows, setMessage, setDisplayInfoModal));\r\n break;\r\n }\r\n default: {\r\n return null;\r\n }\r\n }\r\n };\r\n\r\n const onReportAllClick = () => {\r\n setReportFlag('all');\r\n setShowReportModal(true);\r\n };\r\n\r\n const onReportHighlightedClick = () => {\r\n setReportFlag('highlighted');\r\n setShowReportModal(true);\r\n };\r\n\r\n const getSelectedAttributeIds = () => {\r\n let params: any = [];\r\n selectedRows.map(item => {\r\n params.push(item.uniqueAttributeId);\r\n });\r\n return params;\r\n };\r\n\r\n const getSelectedValuesIds = () => {\r\n let params: any = [];\r\n selectedRows.map(item => {\r\n params.push(item.dataFieldLookUpId);\r\n });\r\n return params;\r\n };\r\n\r\n const onExportAll = () => {\r\n switch (selectedTab) {\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.COMMON_ATTRIBUTES: {\r\n const reportParameters = {\r\n exportParameters: {\r\n uniqueEquipmentClassId: \"\",\r\n needCommonAttribute: \"\",\r\n sortColumn: sortField,\r\n sortOrder: sortOrder,\r\n search: keyWord\r\n },\r\n exportType: \"Object Attribute Grid Report\"\r\n };\r\n dispatch(onExportReport(reportParameters, \"Common Attributes\"));\r\n break;\r\n }\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.COMMON_ATTRIBUTES_VALUES: {\r\n const reportParameters = {\r\n exportParameters: {\r\n uniqueDataFieldId: attributeId,\r\n uniqueAttributeId: \"\",\r\n attributeName: attributeName,\r\n sortColumn: sortField,\r\n sortOrder: sortOrder,\r\n search: keyWord\r\n },\r\n exportType: \"Object Attribute Values\"\r\n };\r\n dispatch(onExportReport(reportParameters, \"Common Attribute Values\"));\r\n break;\r\n }\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.EQUIPMENT_TYPE_ATTRIBUTES: {\r\n const reportParameters = {\r\n exportParameters: {\r\n uniqueEquipmentClassId: equipmentTypeId,\r\n needCommonAttribute: false,\r\n attributeName: equipmentTypeName,\r\n selectedIds: \"\",\r\n sortColumn: sortField,\r\n sortOrder: sortOrder,\r\n search: keyWord\r\n },\r\n exportType: \"Equipment Type Attributes Report\"\r\n };\r\n dispatch(onExportReport(reportParameters, \"Equipment Type Attributes\"));\r\n break;\r\n }\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.EQUIPMENT_TYPE_ATTRIBUTES_VALUES: {\r\n const reportParameters = {\r\n exportParameters: {\r\n uniqueDataFieldId: equipmentTypeId,\r\n uniqueAttributeId: attributeId,\r\n attributeName: attributeName,\r\n equipmentTypeName: equipmentTypeName,\r\n selectedIds: \"\",\r\n needCommonAttribute: false,\r\n sortColumn: sortField,\r\n sortOrder: sortOrder,\r\n search: keyWord\r\n },\r\n exportType: \"Equipment Type Attributes Values Report\"\r\n };\r\n dispatch(onExportReport(reportParameters, \"Equipment Type Attribute Values\"));\r\n break;\r\n }\r\n default: {\r\n const reportParameters = {\r\n exportParameters: {\r\n uniqueEquipmentClassId: \"\",\r\n needCommonAttribute: \"\",\r\n sortColumn: sortField,\r\n sortOrder: sortOrder,\r\n search: keyWord\r\n },\r\n exportType: \"Object Attribute Grid Report\"\r\n };\r\n dispatch(onExportReport(reportParameters, \"Common Attributes\"));\r\n break;\r\n }\r\n }\r\n };\r\n\r\n const onExportHighlightedClick = () => {\r\n switch (selectedTab) {\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.COMMON_ATTRIBUTES: {\r\n const reportParameters = {\r\n exportParameters: {\r\n uniqueEquipmentClassId: getSelectedAttributeIds(),\r\n needCommonAttribute: \"\",\r\n sortColumn: sortField,\r\n sortOrder: sortOrder,\r\n search: keyWord\r\n },\r\n exportType: \"Object Attribute Grid Report\"\r\n };\r\n dispatch(onExportReport(reportParameters, \"Common Attributes\"));\r\n break;\r\n }\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.COMMON_ATTRIBUTES_VALUES: {\r\n const reportParameters = {\r\n exportParameters: {\r\n uniqueDataFieldId: attributeId,\r\n uniqueAttributeId: getSelectedValuesIds(),\r\n attributeName: attributeName,\r\n sortColumn: sortField,\r\n sortOrder: sortOrder,\r\n search: keyWord\r\n },\r\n exportType: \"Object Attribute Values\"\r\n };\r\n dispatch(onExportReport(reportParameters, \"Common Attribute Values\"));\r\n break;\r\n }\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.EQUIPMENT_TYPE_ATTRIBUTES: {\r\n const reportParameters = {\r\n exportParameters: {\r\n uniqueEquipmentClassId: equipmentTypeId,\r\n needCommonAttribute: false,\r\n attributeName: equipmentTypeName,\r\n sortColumn: sortField,\r\n sortOrder: sortOrder,\r\n search: keyWord,\r\n selectedIds: getSelectedAttributeIds(),\r\n },\r\n exportType: \"Equipment Type Attributes Report\"\r\n };\r\n dispatch(onExportReport(reportParameters, \"Equipment Type Attributes\"));\r\n break;\r\n }\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.EQUIPMENT_TYPE_ATTRIBUTES_VALUES: {\r\n const reportParameters = {\r\n exportParameters: {\r\n uniqueDataFieldId: equipmentTypeId,\r\n uniqueAttributeId: attributeId,\r\n attributeName: attributeName,\r\n equipmentTypeName: equipmentTypeName,\r\n selectedIds: getSelectedValuesIds(),\r\n needCommonAttribute: false,\r\n sortColumn: sortField,\r\n sortOrder: sortOrder,\r\n search: keyWord\r\n },\r\n exportType: \"Equipment Type Attributes Values Report\"\r\n };\r\n dispatch(onExportReport(reportParameters, \"Equipment Type Attribute Values\"));\r\n break;\r\n }\r\n default: {\r\n const reportParameters = {\r\n exportParameters: {\r\n uniqueEquipmentClassId: getSelectedAttributeIds(),\r\n needCommonAttribute: \"\",\r\n sortColumn: sortField,\r\n sortOrder: sortOrder,\r\n search: keyWord\r\n },\r\n exportType: \"Object Attribute Grid Report\"\r\n };\r\n dispatch(onExportReport(reportParameters, \"Common Attributes\"));\r\n break;\r\n }\r\n }\r\n };\r\n\r\n\r\n const commonAttributeFieldValueHandler = (rowsSelected: any) => {\r\n if (rowsSelected && rowsSelected.length) {\r\n if (rowsSelected.length === 1) {\r\n if (rowsSelected[0].isValidated === 'True') {\r\n setShowAttributesFieldValues(true);\r\n } else if (rowsSelected[0].isValidated === 'False') {\r\n setMessage('Not a Validated Field');\r\n setDisplayInfoModal(true);\r\n }\r\n } else {\r\n setMessage('This operation can be performed only one row at a time');\r\n setDisplayInfoModal(true);\r\n }\r\n }\r\n }\r\n\r\n const equipmentFieldValueHandler = (rowsSelected: any) => {\r\n if (rowsSelected && rowsSelected.length) {\r\n if (rowsSelected.length === 1) {\r\n if (rowsSelected[0].isValidated === 'True') {\r\n setShowEquipmentFieldValues(true);\r\n } else if (rowsSelected[0].isValidated === 'False') {\r\n setMessage('Not a Validated Field');\r\n setDisplayInfoModal(true);\r\n \r\n }\r\n } else {\r\n setMessage('This operation can be performed only one row at a time');\r\n setDisplayInfoModal(true);\r\n }\r\n }\r\n }\r\n\r\n const localSearchFirstItem = (selectedItem) => {\r\n\t\tsetSelectedRows(selectedItem);\r\n\t};\r\n\r\n const getMainAttributesContent = () => {\r\n switch (selectedTab) {\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.COMMON_ATTRIBUTES: {\r\n return (\r\n <>\r\n
\r\n {showGrid && (\r\n setShowAddCommonAttribute(true)}\r\n onEditClick={editIconClick}\r\n onDeleteClick={deleteIconClick}\r\n showroweditor={false}\r\n onDownloadClick={(e) => downloadRef.current?.toggle(e)}\r\n localSearchFirstItem={localSearchFirstItem}\r\n settingListItems={[\r\n {\r\n id: 1,\r\n name: 'Field Values',\r\n onClick: () => { commonAttributeFieldValueHandler(selectedRows); }\r\n }\r\n ]}\r\n defaultSelectedRows={commonAttributeList.length > 0 ? [commonAttributeList[0]] : []}\r\n />\r\n )}\r\n \r\n \r\n
\r\n\r\n {showAddCommonAttribute ? (\r\n \r\n ) : null\r\n }\r\n\r\n {showEditCommonAttribute ? (\r\n \r\n ) : null\r\n }\r\n\r\n {showAttributesFieldValues ? (\r\n \r\n ) : null\r\n }\r\n\r\n \r\n
    \r\n
  • Report All
  • \r\n
  • Report Highlighted
  • \r\n
  • Export All
  • \r\n\t\t\t\t\t
  • Export Highlighted
  • \r\n
\r\n
\r\n \r\n {showReportModal ? (\r\n \r\n ) : null}\r\n \r\n );\r\n }\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.COMMON_ATTRIBUTES_VALUES: {\r\n return (\r\n <>\r\n
\r\n {showGrid && (\r\n setShowAddCommonAttributeValue(true)}\r\n onEditClick={editIconClick}\r\n onDeleteClick={deleteIconClick}\r\n showroweditor={false}\r\n disableAddIcon={disableAddIcon}\r\n onDownloadClick={(e) => downloadRef.current?.toggle(e)}\r\n localSearchFirstItem={localSearchFirstItem}\r\n defaultSelectedRows={commonAttributeValuesData.length > 0 ? [commonAttributeValuesData[0]] : []}\r\n />\r\n )}\r\n \r\n \r\n
\r\n\r\n {showEditCommonAttributeValue ? (\r\n \r\n ) : null}\r\n\r\n {showAddCommonAttributeValue ? (\r\n \r\n ) : null}\r\n \r\n
    \r\n
  • Report All
  • \r\n
  • Report Highlighted
  • \r\n
  • Export All
  • \r\n\t\t\t\t\t
  • Export Highlighted
  • \r\n
\r\n
\r\n {showReportModal ? (\r\n \r\n ) : null}\r\n \r\n );\r\n }\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.EQUIPMENT_TYPE_ATTRIBUTES: {\r\n return (\r\n <>\r\n
\r\n {showGrid && (\r\n setShowAddEquipmentTypeAttributes(true)}\r\n onEditClick={editIconClick}\r\n onDeleteClick={deleteIconClick}\r\n showroweditor={false}\r\n disableAddIcon={disableAddIcon}\r\n onDownloadClick={(e) => downloadRef.current?.toggle(e)}\r\n localSearchFirstItem={localSearchFirstItem}\r\n settingListItems={[\r\n {\r\n id: 1,\r\n name: 'Field Values',\r\n onClick: () => { equipmentFieldValueHandler(selectedRows); }\r\n }\r\n ]}\r\n defaultSelectedRows={equipmentTypeAttributesData.length > 0 ? [equipmentTypeAttributesData[0]] : []}\r\n />\r\n )}\r\n \r\n \r\n
\r\n\r\n\r\n {showAddEquipmentTypeAttributes ? (\r\n \r\n ) : null}\r\n\r\n {showEditEquipmentTypeAttribute ? (\r\n \r\n ) : null}\r\n\r\n {showEquipmentFieldValues ? (\r\n \r\n ) : null}\r\n\r\n \r\n
    \r\n
  • Report All
  • \r\n
  • Report Highlighted
  • \r\n
  • Export All
  • \r\n\t\t\t\t\t
  • Export Highlighted
  • \r\n
\r\n
\r\n {showReportModal ? (\r\n \r\n ) : null}\r\n\r\n \r\n );\r\n }\r\n case CUSTOMIZATION_ATTRIBUTES_TYPE.EQUIPMENT_TYPE_ATTRIBUTES_VALUES: {\r\n return (\r\n <>\r\n
\r\n {showGrid && (\r\n setShowAddEquipmentTypeAttributeValues(true)}\r\n onEditClick={editIconClick}\r\n onDeleteClick={deleteIconClick}\r\n showroweditor={false}\r\n disableAddIcon={disableAddIcon}\r\n onDownloadClick={(e) => downloadRef.current?.toggle(e)}\r\n localSearchFirstItem={localSearchFirstItem}\r\n defaultSelectedRows={equipmentTypeAttributeValueDetails.length > 0 ? [equipmentTypeAttributeValueDetails[0]] : []}\r\n />\r\n )}\r\n \r\n \r\n
\r\n\r\n {showEditEquipmentTypeAttributeValue ? (\r\n \r\n ) : null}\r\n\r\n {showAddEquipmentTypeAttributeValues ? (\r\n \r\n ) : null}\r\n\r\n \r\n
    \r\n
  • Report All
  • \r\n
  • Report Highlighted
  • \r\n
  • Export All
  • \r\n\t\t\t\t\t
  • Export Highlighted
  • \r\n
\r\n
\r\n {showReportModal ? (\r\n \r\n ) : null}\r\n \r\n );\r\n }\r\n default: {\r\n return

Common Attributes

;\r\n }\r\n }\r\n };\r\n return (\r\n
\r\n
\r\n navigate(`/${APP_ROUTES.MANAGE_VIEW}`)}\r\n />\r\n
\r\n \r\n
\r\n
\r\n Attributes\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {getMainAttributesContent()}\r\n
\r\n
\r\n
\r\n );\r\n};\r\nexport default CustomizationAttributes;\r\n","import React, { useState, useRef, useEffect } from \"react\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\nimport { useForm, Controller } from \"react-hook-form\";\r\n//primereact\r\nimport { InputNumber } from 'primereact/inputnumber';\r\nimport { InputSwitch } from \"primereact/inputswitch\";\r\nimport { Button } from 'primereact/button';\r\nimport { ScrollPanel } from \"primereact/scrollpanel\";\r\nimport { Checkbox } from \"primereact/checkbox\";\r\n//components\r\nimport InformationBox from \"components/common/Message/InformationBox/InformationBox\";\r\n//redux\r\nimport { getPasswordPolicyData, onUpdatePasswordPolicyData } from \"./passwordPolicySlice\";\r\nimport { BsExclamationCircleFill } from \"react-icons/bs\";\r\nimport { classNames } from \"primereact/utils\";\r\ninterface Props {}\r\nexport const PasswordPolicy: React.FC = () => {\r\n\r\n type FormData = {\r\n length: number;\r\n isCaseSensitive: string;\r\n isUpperCharIsMust:string;\r\n isLowerCharIsMust:string;\r\n isSpecialCharIsMust:string;\r\n isADigitIsMust:string;\r\n expiresIn:number;\r\n accountLockPeriod:number;\r\n atMostDaysOfDelete:number;\r\n atMostDaysOfInactive:number;\r\n atMostFaildAttempts:number;\r\n attemptsTimeSpanInMinutes:number;\r\n resetIntervalTimeInHour:number;\r\n repeatIntervalCount:number;\r\n };\r\n const passwordPolicyData = useAppSelector((state) => state.passwordPolicy.passwordPolicyData);\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const [message, setMessage] = useState(\"\");\r\n const [enablePasswordExpiry, setEnablePasswordExpiry] = useState(false);\r\n const [autoDisableInactiveAccount, setAutoDisableInactiveAccount] = useState(false);\r\n const [autoDeleteInactiveAccount, setAutoDeleteInactiveAccount] = useState(false);\r\n const [caseSensitive, setCaseSensitive] = useState(false);\r\n const [allowUsersToReactivateInactiveAccount, setAllowUsersToReactivateInactiveAccount] = useState(false);\r\n \r\n const passwordPolicyForm: any = useRef();\r\n const {\r\n control,\r\n handleSubmit,\r\n setValue,\r\n formState: { errors },\r\n } = useForm({\r\n defaultValues: {\r\n length: undefined,\r\n isCaseSensitive: \"\",\r\n isUpperCharIsMust:\"\",\r\n isLowerCharIsMust:\"\",\r\n isSpecialCharIsMust:\"\",\r\n isADigitIsMust:\"\",\r\n expiresIn:undefined,\r\n atMostDaysOfInactive:undefined,\r\n accountLockPeriod:undefined,\r\n atMostDaysOfDelete:undefined,\r\n atMostFaildAttempts:undefined,\r\n attemptsTimeSpanInMinutes:undefined,\r\n resetIntervalTimeInHour:undefined,\r\n repeatIntervalCount:undefined,\r\n },\r\n });\r\n\r\n const dispatch=useDispatch()\r\n\r\n useEffect(()=>{\r\n dispatch(getPasswordPolicyData());\r\n },[])\r\n\r\n const formSubmitHandler = (data: any) => {\r\n passwordPolicyForm.current.requestSubmit();\r\n };\r\n\r\n const onPasswordPolicyFormSubmit = (data: any) => {\r\n let body={\r\n length:data.length,\r\n isCaseSensitive:caseSensitive,\r\n isUpperCharIsMust:caseSensitive===false?false:data.isUpperCharIsMust,\r\n isLowerCharIsMust:caseSensitive===false?false:data.isLowerCharIsMust,\r\n isSpecialCharIsMust:data.isSpecialCharIsMust,\r\n isADigitIsMust:data.isADigitIsMust,\r\n isNeverExpires:!enablePasswordExpiry,\r\n expiresIn:data.expiresIn,\r\n repeatIntervalCount:data.repeatIntervalCount,\r\n resetIntervalTimeInHour:data.resetIntervalTimeInHour,\r\n atMostFaildAttempts:data.atMostFaildAttempts,\r\n attemptsTimeSpanInMinutes:data.attemptsTimeSpanInMinutes,\r\n accountLockPeriod:data.accountLockPeriod,\r\n atMostDaysOfInactive:data.atMostDaysOfInactive,\r\n atMostDaysOfDelete:data.atMostDaysOfDelete,\r\n isAutoDisableOnInactive:autoDisableInactiveAccount,\r\n isNeverDelete:!autoDeleteInactiveAccount,\r\n allowUsersToReactivateInactiveAccount:allowUsersToReactivateInactiveAccount\r\n }\r\n dispatch(onUpdatePasswordPolicyData(body,setMessage,setDisplayInfoModal))\r\n };\r\n\r\n const onError = (errors: any, e: any) => {};\r\n \r\n useEffect(()=>{\r\n if(passwordPolicyData)\r\n { \r\n setValue(\"length\",passwordPolicyData?.length);\r\n setCaseSensitive(passwordPolicyData?.isCaseSensitive)\r\n setValue(\"isCaseSensitive\",passwordPolicyData?.isCaseSensitive);\r\n setValue(\"isUpperCharIsMust\",passwordPolicyData?.isUpperCharIsMust);\r\n setValue(\"isLowerCharIsMust\",passwordPolicyData?.isLowerCharIsMust);\r\n setValue(\"isSpecialCharIsMust\",passwordPolicyData?.isSpecialCharIsMust);\r\n setValue(\"isADigitIsMust\",passwordPolicyData?.isADigitIsMust); \r\n if(passwordPolicyData?.isNeverExpires === true){\r\n setEnablePasswordExpiry(false);\r\n } else {\r\n setEnablePasswordExpiry(true);\r\n }\r\n setValue(\"expiresIn\",passwordPolicyData?.expiresIn);\r\n setAutoDisableInactiveAccount(passwordPolicyData?.isAutoDisableOnInactive) \r\n setValue(\"atMostDaysOfInactive\",passwordPolicyData?.atMostDaysOfInactive);\r\n if(passwordPolicyData?.isNeverDelete === true)\r\n setAutoDeleteInactiveAccount(false);\r\n else{\r\n setAutoDeleteInactiveAccount(true);\r\n }\r\n setAllowUsersToReactivateInactiveAccount(passwordPolicyData?.allowUsersToReactivateInactiveAccount) \r\n setValue(\"atMostDaysOfDelete\",passwordPolicyData?.atMostDaysOfDelete); \r\n setValue(\"resetIntervalTimeInHour\",passwordPolicyData?.resetIntervalTimeInHour);\r\n setValue(\"repeatIntervalCount\",passwordPolicyData?.repeatIntervalCount);\r\n setValue(\"atMostFaildAttempts\",passwordPolicyData?.atMostFaildAttempts);\r\n setValue(\"attemptsTimeSpanInMinutes\",passwordPolicyData?.attemptsTimeSpanInMinutes); \r\n setValue(\"accountLockPeriod\",passwordPolicyData?.accountLockPeriod);\r\n }\r\n\r\n },[passwordPolicyData])\r\n\r\n const maxLengthValidation = (value, name) => {\r\n switch (name) {\r\n case \"length\":\r\n if (value < 8 || value > 30)\r\n return \"Minimum length of password should be between 8 and 30\";\r\n break;\r\n case \"resetIntervalTimeInHour\":\r\n if (value < 1 || value > 100)\r\n return \"Minimum time between password changes should be between 1 and 100 hours\";\r\n break;\r\n case \"repeatIntervalCount\":\r\n if (value < 1 || value > 20)\r\n return \"Number of previous passwords that cannot be reused should be between 1 and 20\";\r\n break;\r\n case \"atMostFaildAttempts\":\r\n if (value < 2 || value > 20)\r\n return \"'Maximum number of consecutive failed attempts before the account gets locked should be between 2 and 10\";\r\n break;\r\n case \"attemptsTimeSpanInMinutes\":\r\n if (value < 1 || value > 120)\r\n return \"Time interval for counting failed attempts to lock the account should be between 1 and 120\";\r\n break;\r\n case \"accountLockPeriod\":\r\n if (value < 2 || value > 5000)\r\n return \"Account locked out period' should be between 1 and 5000 minutes\";\r\n break;\r\n case \"expiresIn\":\r\n if (value < 1 || value > 365)\r\n return \"Number of Days for Password Expiry' should be between 1 and 365\";\r\n break;\r\n case \"atMostDaysOfInactive\":\r\n if (value < 1 || value > 365)\r\n return \"Lock inactive account' should be between 1 and 365\";\r\n break;\r\n case \"atMostDaysOfDelete\":\r\n if (value < 1 || value > 365)\r\n return \"Delete inactive account should be between 1 and 365\";\r\n break;\r\n default:\r\n\r\n break\r\n }\r\n }\r\n\r\nconst getFormErrorMessage = (name) => {\r\n return errors[name] && {errors[name].message}\r\n};\r\n\r\n return (\r\n \r\n
\r\n

\r\n Password Policy\r\n

\r\n \r\n
\r\n
\r\n

Password Requirements

\r\n
\r\n
\r\n
\r\n Password Length\r\n \r\n maxLengthValidation(value,\"length\")\r\n }}\r\n render={({ field, fieldState }) => (\r\n field.onChange(e.value)} useGrouping={false}/>\r\n )}\r\n />\r\n {getFormErrorMessage('length')}\r\n \r\n
\r\n
\r\n
\r\n (\r\n setCaseSensitive(e.checked)}\r\n checked={caseSensitive}\r\n // {...field}\r\n />\r\n )}\r\n />\r\n \r\n
\r\n
\r\n (\r\n \r\n )}\r\n />\r\n \r\n
\r\n
\r\n (\r\n \r\n )}\r\n />\r\n \r\n
\r\n
\r\n (\r\n \r\n )}\r\n />\r\n \r\n
\r\n
\r\n (\r\n \r\n )}\r\n />\r\n \r\n
\r\n
\r\n
\r\n
\r\n

\r\n Password Expiry\r\n

\r\n
\r\n
\r\n Enable\r\n \r\n setEnablePasswordExpiry(e.value)}\r\n />\r\n \r\n
\r\n
\r\n Expire password after\r\n \r\n maxLengthValidation(value,\"expiresIn\")\r\n }:{\r\n required: false,\r\n validate:undefined\r\n }}\r\n render={({ field, fieldState }) => (\r\n field.onChange(e.value)} useGrouping={false} disabled={!enablePasswordExpiry} />\r\n )}\r\n />\r\n {getFormErrorMessage('expiresIn')}\r\n \r\n Days\r\n
\r\n
\r\n
\r\n

\r\n Lock Inactive Accounts\r\n

\r\n
\r\n
\r\n Auto Disable Inactive Account\r\n \r\n setAutoDisableInactiveAccount(e.value)}\r\n />\r\n \r\n
\r\n
\r\n Lock Inactive Accounts after\r\n \r\n maxLengthValidation(value,\"atMostDaysOfInactive\")\r\n }:{\r\n required: false,\r\n validate:undefined\r\n }}\r\n render={({ field, fieldState }) => (\r\n field.onChange(e.value)} useGrouping={false} disabled={!autoDisableInactiveAccount}/>\r\n )}\r\n />\r\n {getFormErrorMessage('atMostDaysOfInactive')}\r\n \r\n days since last login\r\n
\r\n
\r\n
\r\n

\r\n Delete Inactive Accounts\r\n

\r\n
\r\n
\r\n Auto Delete Inactive Account\r\n \r\n \r\n setAutoDeleteInactiveAccount(e.value)}\r\n disabled={!autoDisableInactiveAccount}\r\n />\r\n \r\n \r\n
\r\n
\r\n Delete Inactive Accounts after\r\n \r\n maxLengthValidation(value,\"atMostDaysOfDelete\")\r\n }:{\r\n required: false,\r\n validate:undefined\r\n }}\r\n render={({ field, fieldState }) => (\r\n field.onChange(e.value)} useGrouping={false} disabled={autoDisableInactiveAccount===false?true:!autoDeleteInactiveAccount}/>\r\n )}\r\n />\r\n {getFormErrorMessage('atMostDaysOfDelete')}\r\n \r\n days since last login\r\n
\r\n
\r\n
\r\n

\r\n Reactivate Inactive Accounts\r\n

\r\n
\r\n
\r\n Allow Users to reactivate Inactive Account\r\n \r\n \r\n setAllowUsersToReactivateInactiveAccount(e.value)}\r\n disabled={!autoDisableInactiveAccount}\r\n />\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
Minimum time between password changes
\r\n
:
\r\n \r\n maxLengthValidation(value,\"resetIntervalTimeInHour\")\r\n }}\r\n render={({ field, fieldState }) => (\r\n field.onChange(e.value)} useGrouping={false}/>\r\n )}\r\n />\r\n {getFormErrorMessage('resetIntervalTimeInHour')}\r\n \r\n \r\n
\r\n\r\n
\r\n
Number of previous passwords that cannot be reused
\r\n
:
\r\n \r\n maxLengthValidation(value,\"repeatIntervalCount\")\r\n }}\r\n render={({ field, fieldState }) => (\r\n field.onChange(e.value)} useGrouping={false}/>\r\n )}\r\n />\r\n {getFormErrorMessage('repeatIntervalCount')}\r\n \r\n \r\n \r\n
\r\n\r\n
\r\n
Maximum number of consecutive failed attempts before the account gets locked
\r\n
:
\r\n \r\n maxLengthValidation(value,\"atMostFaildAttempts\")\r\n }}\r\n render={({ field, fieldState }) => (\r\n field.onChange(e.value)} useGrouping={false}/>\r\n )}\r\n />\r\n {getFormErrorMessage('atMostFaildAttempts')}\r\n \r\n \r\n
\r\n\r\n\r\n
\r\n
Time interval for counting failed attempts to lock the account
\r\n
:
\r\n \r\n maxLengthValidation(value,\"attemptsTimeSpanInMinutes\")\r\n }}\r\n render={({ field, fieldState }) => (\r\n field.onChange(e.value)} useGrouping={false}/>\r\n )}\r\n />\r\n {getFormErrorMessage('attemptsTimeSpanInMinutes')}\r\n \r\n \r\n
\r\n\r\n
\r\n
Account locked out period
\r\n
:
\r\n \r\n maxLengthValidation(value,\"accountLockPeriod\")\r\n }}\r\n render={({ field, fieldState }) => (\r\n field.onChange(e.value)} useGrouping={false}/>\r\n )}\r\n />\r\n {getFormErrorMessage('accountLockPeriod')}\r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n );\r\n};\r\nexport default PasswordPolicy;\r\n","import React, { useState, useEffect, useRef } from \"react\";\r\nimport { useDispatch } from \"react-redux\";\r\n//icons\r\nimport { BsExclamationCircleFill, BsFillPencilFill, BsTrashFill } from \"react-icons/bs\";\r\n//primereact\r\nimport { Card } from \"primereact/card\";\r\nimport { InputText } from \"primereact/inputtext\";\r\nimport { useForm, Controller } from \"react-hook-form\";\r\nimport { OverlayPanel } from \"primereact/overlaypanel\";\r\nimport { Button } from \"primereact/button\";\r\nimport { ScrollPanel } from \"primereact/scrollpanel\";\r\nimport { classNames } from \"primereact/utils\";\r\n//components\r\nimport PopOver from \"components/common/PopOver/PopOver\";\r\nimport InformationBox from \"components/common/Message/InformationBox/InformationBox\";\r\nimport ConfirmationBox from \"components/common/Message/ConfirmationBox/ConfirmationBox\";\r\n//redux\r\nimport { getMailDomainList, onAddMailDomain, onDeleteMailDomain, onEditMailDomain } from \"redux/common/mailDomainSlice\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\n\r\n\r\ninterface Props { }\r\nexport const MailDomains: React.FC = () => {\r\n type FormData = {\r\n mailDomain: string;\r\n };\r\n\r\n const mailDomainList = useAppSelector((state) => state.mailDomain.mailDomainList);\r\n\r\n const dispatch = useDispatch();\r\n const addMailDomainForm: any = useRef();\r\n const editMailDomainForm: any = useRef();\r\n const scrollRef: any = useRef();\r\n const mailpopref = React.createRef();\r\n\r\n const [showEditMailDomainModal, setShowEditMailDomainModal] = useState(false);\r\n const [showAddWindow, setShowAddWindow] = useState(false);\r\n const [currentMailDomain, setCurrentMailDomain] = useState();\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const [displayConfirmModal, setDisplayConfirmModal] = useState(false);\r\n const [message, setMessage] = useState(\"\");\r\n const {\r\n control,\r\n handleSubmit,\r\n reset,\r\n setValue,\r\n formState: { errors },\r\n } = useForm({\r\n defaultValues: {\r\n mailDomain: \"\",\r\n },\r\n });\r\n\r\n const {\r\n control: editControl,\r\n handleSubmit: editSubmit,\r\n setValue: setEditValue,\r\n formState: { errors: editErrors },\r\n } = useForm({\r\n defaultValues: {\r\n mailDomain: \"\",\r\n },\r\n });\r\n\r\n useEffect(() => {\r\n dispatch(getMailDomainList());\r\n }, [])\r\n\r\n const formSubmitHandler = (data: any) => {\r\n addMailDomainForm.current.requestSubmit();\r\n };\r\n\r\n const onAddFormSubmit = (data: any) => {\r\n dispatch(onAddMailDomain(data, reset, setDisplayInfoModal, setMessage))\r\n };\r\n\r\n const editFormSubmitHandler = (data: any) => {\r\n editMailDomainForm.current.requestSubmit();\r\n };\r\n\r\n const onEditFormSubmit = (data: any) => {\r\n dispatch(onEditMailDomain(data, currentMailDomain?.accountMailDomainId, setDisplayInfoModal, setMessage, setShowEditMailDomainModal))\r\n };\r\n\r\n const onMoreMenuClick = (e: any, item: any) => {\r\n mailpopref.current?.toggle(e);\r\n setCurrentMailDomain(item);\r\n };\r\n\r\n const onEditMailDomaiinClick = () => {\r\n mailpopref.current?.hide();\r\n scrollRef.current?.refresh();\r\n if (currentMailDomain?.isMailDomainInUse) {\r\n setDisplayInfoModal(true)\r\n setMessage(\"Selected Mail Domain is in use, cannot be edited\")\r\n } else {\r\n setShowEditMailDomainModal(true);\r\n setShowAddWindow(false);\r\n if (currentMailDomain) {\r\n setEditValue(\"mailDomain\", currentMailDomain.mailDomain)\r\n }\r\n }\r\n }\r\n\r\n const onDeleteMailDomaiinClick = () => {\r\n mailpopref.current?.hide();\r\n if (currentMailDomain?.isMailDomainInUse ) {\r\n setDisplayInfoModal(true)\r\n setMessage(\"Selected Mail Domain is in use, cannot be deleted\")\r\n } else {\r\n setEditValue(\"mailDomain\", \"\");\r\n setMessage(\"Are you sure you want to delete the selected Mail Domain?\");\r\n setDisplayConfirmModal(true);\r\n }\r\n }\r\n\r\n const onConfirmClick = () => {\r\n setDisplayConfirmModal(false);\r\n dispatch(onDeleteMailDomain(currentMailDomain?.accountMailDomainId, setDisplayInfoModal, setMessage));\r\n }\r\n\r\n const onError = (errors: any, e: any) => { };\r\n\r\n const getFormErrorMessage = (name) => {\r\n return (\r\n errors[name] && (\r\n \r\n \r\n {errors[name].message}\r\n \r\n )\r\n );\r\n };\r\n\r\n const getEditFormErrorMessage = (name) => {\r\n return (\r\n editErrors[name] && (\r\n \r\n \r\n {editErrors[name].message}\r\n \r\n )\r\n );\r\n };\r\n\r\n return (\r\n\r\n
\r\n
\r\n

\r\n Mail Domains\r\n

\r\n
\r\n {showAddWindow && (\r\n
\r\n
\r\n
\r\n

Mail Domain

\r\n
\r\n (\r\n \r\n )}\r\n />\r\n {getFormErrorMessage(\"mailDomain\")}\r\n
\r\n
\r\n setShowAddWindow(false)}\r\n />\r\n formSubmitHandler}\r\n />\r\n
\r\n
\r\n
\r\n
\r\n )}\r\n {showEditMailDomainModal && (\r\n
\r\n
\r\n
\r\n

Mail Domain

\r\n
\r\n (\r\n \r\n )}\r\n />\r\n {getEditFormErrorMessage(\"mailDomain\")}\r\n
\r\n
\r\n setShowEditMailDomainModal(false)}\r\n />\r\n editFormSubmitHandler}\r\n />\r\n
\r\n
\r\n\r\n
\r\n
\r\n )}\r\n\r\n {!showAddWindow && (\r\n
\r\n
{ setShowAddWindow(true); setShowEditMailDomainModal(false); setValue(\"mailDomain\", \"\") }}>\r\n \r\n New Mail Domain\r\n
\r\n
\r\n )}\r\n \r\n \r\n
\r\n
\r\n {mailDomainList && mailDomainList.length\r\n ? mailDomainList.map((item: any, key: any) => (\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
{item.mailDomain}
\r\n
\r\n onMoreMenuClick(e, item)}\r\n >\r\n
\r\n \r\n
\r\n )):No Data Found}\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
    \r\n
  • \r\n \r\n {\" \"}\r\n \r\n \r\n Edit\r\n
  • \r\n
  • \r\n \r\n \r\n \r\n Delete\r\n
  • \r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n );\r\n};\r\nexport default MailDomains;\r\n","import React, { useState, useCallback, useEffect, useRef } from \"react\";\r\nimport PasswordPolicy from \"../SecuritySettings/PasswordPolicy\";\r\nimport MailDomains from \"../SecuritySettings/MailDomains\";\r\nimport { useNavigate, useLocation } from \"react-router-dom\";\r\nimport { SECURITY_SETTINGS_TYPE } from \"constants/common\";\r\nimport Breadcrumb from \"components/common/Breadcrumb/Breadcrumb\";\r\nimport { BsArrowRight } from \"react-icons/bs\";\r\nimport { APP_ROUTES } from \"constants/AppRoutes\";\r\n\r\ninterface Props {}\r\nexport const Securitysettings: React.FC = () => {\r\n const SECURITYSETTINGS_LIST = [\r\n { name: \"Password Policy\", code: \"PA\", selected: false },\r\n { name: \"Mail Domains\", code: \"MA\", selected: false },\r\n ];\r\n\r\n const [showPasswordPolicy, setShowPasswordPolicy] = useState(false);\r\n const [showMailDomains, setShowMailDomains] = useState(false);\r\n const [selectedItem, setSelectedItem] = useState();\r\n const showSubtitle = useRef(\"Password Policy\");\r\n const navigate = useNavigate();\r\n\r\n const [securitysettingList, setsecuritysettingList] = useState>(\r\n SECURITYSETTINGS_LIST\r\n );\r\n\r\n const { state } = useLocation() as any;\r\n const from = state?.from || SECURITY_SETTINGS_TYPE.PASSWORD_POLICY; \r\n\r\n const handleRoleSelect = useCallback(\r\n (selectedItem) => {\r\n setSelectedItem(selectedItem.name);\r\n showSubtitle.current = selectedItem.name;\r\n const modifiedsiteList = securitysettingList.map((item) => {\r\n if (item.code === selectedItem.code) {\r\n item[\"selected\"] = !item[\"selected\"];\r\n } else {\r\n item[\"selected\"] = false;\r\n }\r\n\r\n return item;\r\n });\r\n setsecuritysettingList(modifiedsiteList);\r\n\r\n navigate(`/${APP_ROUTES.SECURITY_SETTINGS}`, {\r\n state: {\r\n from: selectedItem.name\r\n }\r\n })\r\n },\r\n [securitysettingList]\r\n );\r\n useEffect(() => {\r\n \r\n let selectedTab = securitysettingList.find((item: any) => item.name === from)\r\n selectedTab.selected = true;\r\n switch (from) {\r\n case SECURITY_SETTINGS_TYPE.MAIL_DOMAINS: {\r\n setSelectedItem(\"Mail Domains\");\r\n showSubtitle.current = \"Mail Domains\";\r\n break;\r\n }\r\n case SECURITY_SETTINGS_TYPE.PASSWORD_POLICY: {\r\n setSelectedItem(\"Password Policy\");\r\n showSubtitle.current = \"Password Policy\";\r\n break;\r\n }\r\n }\r\n }, [from]);\r\n useEffect(() => {\r\n switch (selectedItem) {\r\n case \"Password Policy\":\r\n setShowPasswordPolicy(true);\r\n setShowMailDomains(false);\r\n break;\r\n case \"Mail Domains\":\r\n setShowPasswordPolicy(false);\r\n setShowMailDomains(true);\r\n break;\r\n default:\r\n break;\r\n }\r\n }, [selectedItem]);\r\n return (\r\n
\r\n
\r\n\t\t\t\t navigate(`/${APP_ROUTES.MANAGE_VIEW}`)} />\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t{showSubtitle.current}\r\n\t\t\t\t
\r\n\t\t\t
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
    \r\n {securitysettingList.map((item) => (\r\n handleRoleSelect(item)}\r\n >\r\n {item.name}\r\n \r\n ))}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {showPasswordPolicy && }\r\n {showMailDomains && }\r\n
\r\n
\r\n
\r\n );\r\n};\r\nexport default Securitysettings;\r\n","import {\r\n memo,\r\n useEffect,\r\n useState,\r\n forwardRef,\r\n useImperativeHandle,\r\n} from \"react\";\r\nimport { TreeTable } from 'primereact/treetable';\r\nimport { Column } from \"primereact/column\";\r\nimport { Checkbox } from \"primereact/checkbox\";\r\n//components\r\nimport DisplaySetting from \"components/common/DisplaySetting/DisplaySetting\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { setSelectedDisplayColumns } from \"redux/pages/Manage/InspectionSettings/ReportMapping/ReportMappingslice\";\r\n\r\ntype columnData = any[];\r\ninterface ICheckBoxGridViewPropType {\r\n gridData: any;\r\n columnData: columnData;\r\n onSaveCheckBoxData?: Function | any;\r\n isQuestionGridView?: boolean;\r\n getColumns?: (columns) => void;\r\n}\r\nconst CheckBoxGridView = forwardRef(\r\n (props, ref) => {\r\n const dispatch = useDispatch();\r\n const { gridData, columnData = [], isQuestionGridView = false, getColumns = () => { } } = props;\r\n\r\n const columns: any = useAppSelector((state) => state.reportMapping.selectedDisplayColumns);\r\n \r\n const [gridDetails, setGridDetails] = useState();\r\n const [showDisplaySetting, setShowDisplaySetting] = useState(false);\r\n const [expandedKeys, setExpandedKeys] = useState(null);\r\n\r\n useImperativeHandle(ref, () => ({\r\n onSaveclick: () => {\r\n const updatedList = reArrangeData(gridDetails);\r\n props.onSaveCheckBoxData(updatedList);\r\n },\r\n onShowDisplaySettings: () => {\r\n setShowDisplaySetting(true)\r\n },\r\n }));\r\n\r\n useEffect(() => {\r\n if (columnData && columnData.length && gridData) {\r\n const result = initializingGrid(gridData, false);\r\n setGridDetails(result);\r\n setTimeout(() => {\r\n setAttributes()\r\n }, 50);\r\n }\r\n }, [gridData, columnData]);\r\n\r\n useEffect(() => {\r\n getColumns(columns)\r\n }, [columns])\r\n\r\n useEffect(() => {\r\n if (expandedKeys)\r\n setAttributes();\r\n }, [expandedKeys])\r\n\r\n const setAttributes = () => {\r\n const elements: any = document.getElementsByClassName('p-treetable-toggler p-link p-unselectable-text'); \r\n if (elements?.length) {\r\n elements.forEach(element => {\r\n const parentElement = element.parentElement;\r\n parentElement.setAttribute('title', parentElement?.textContent);\r\n });\r\n }\r\n }\r\n\r\n const initializingGrid = (gridList, isParent) => {\r\n const list = gridList?.map((item) => {\r\n return {\r\n key: item?.dataFieldId,\r\n data: {\r\n dataFieldName: item?.dataFieldName,\r\n isSection: item?.isSection,\r\n position: item?.position,\r\n reports: item?.reports,\r\n },\r\n children: item?.reportFields ? initializingGrid(item?.reportFields, true) : [],\r\n className: item?.reportFields?.length ? 'has-child' : isParent ? 'has-no-child' : ''\r\n }\r\n })\r\n return list\r\n }\r\n\r\n const reArrangeData = (gridList) => {\r\n const list = gridList?.map((item) => {\r\n return {\r\n dataFieldId: item?.key,\r\n dataFieldName: item?.data?.dataFieldName,\r\n isSection: item?.data?.isSection,\r\n position: item?.data?.position,\r\n reports: item?.data?.reports,\r\n reportFields: item?.children ? reArrangeData(item?.children) : [],\r\n }\r\n });\r\n return list;\r\n }\r\n\r\n\r\n\r\n const onCheckBoxSelected = (event: any, columnDetails: any) => {\r\n let data = JSON.parse(JSON.stringify([...gridDetails]));\r\n const lists = setCheckBoxValue(event, columnDetails, data, false);\r\n getParentData(lists, event?.value, columnDetails);\r\n setGridDetails(lists)\r\n };\r\n\r\n const onCheckBoxAllSelected = ( columnDetails: any,e:any) => {\r\n let data = JSON.parse(JSON.stringify([...gridDetails]));\r\n const lists = setCheckBoxValueForAll(e?.checked,columnDetails, data);\r\n setGridDetails(lists)\r\n };\r\n\r\n const setCheckBoxValue = (event, details, gridData, isParent) => {\r\n gridData?.forEach(element => {\r\n if (event?.checked) {\r\n if (isParent) {\r\n const findIdex = element?.data?.reports?.findIndex((item) => item.reportId === details?.reportId);\r\n if (findIdex < 0)\r\n element?.data?.reports?.push(details);\r\n if (element?.children?.length) {\r\n setCheckBoxValue(event, details, element?.children, true);\r\n }\r\n } else {\r\n if (element?.key === event?.value) {\r\n const findIdex = element?.data?.reports?.findIndex((item) => item.reportId === details?.reportId);\r\n if (findIdex < 0)\r\n element?.data?.reports?.push(details);\r\n if (element?.children?.length) {\r\n setCheckBoxValue(event, details, element?.children, true);\r\n }\r\n } else {\r\n if (element?.children?.length) {\r\n setCheckBoxValue(event, details, element?.children, false);\r\n }\r\n }\r\n }\r\n } else {\r\n if (isParent) {\r\n const removedIndex = element?.data?.reports?.findIndex((item) => item?.reportId === details?.reportId);\r\n if (removedIndex >= 0)\r\n element?.data?.reports.splice(removedIndex, 1);\r\n if (element?.children?.length) {\r\n element?.children?.forEach(sub => {\r\n const findIndex = sub?.data?.reports.findIndex((el) => el.reportId === details.reportId);\r\n if (findIndex >= 0) sub?.data?.reports.splice(findIndex, 1);\r\n });\r\n setCheckBoxValue(event, details, element?.children, true);\r\n }\r\n } else {\r\n if (element?.key === event?.value) {\r\n const removedIndex = element?.data?.reports?.findIndex((item) => item?.reportId === details?.reportId);\r\n if (removedIndex >= 0)\r\n element?.data?.reports.splice(removedIndex, 1);\r\n if (element?.children?.length) {\r\n element?.children?.forEach(sub => {\r\n const findIndex = sub?.data?.reports.findIndex((el) => el.reportId === details.reportId);\r\n if (findIndex >= 0) sub?.data?.reports.splice(findIndex, 1);\r\n });\r\n setCheckBoxValue(event, details, element?.children, true);\r\n }\r\n } else {\r\n if (element?.children?.length) {\r\n setCheckBoxValue(event, details, element?.children, false);\r\n }\r\n }\r\n }\r\n }\r\n\r\n });\r\n\r\n return gridData;\r\n }\r\n\r\n const setCheckBoxValueForAll = (isChecked, details, gridData) => {\r\n gridData?.forEach(element => {\r\n if (isChecked) {\r\n const findIdex = element?.data?.reports?.findIndex((item) => item.reportId === details?.reportId);\r\n if (findIdex < 0)\r\n element?.data?.reports?.push(details);\r\n if (element?.children?.length) {\r\n setCheckBoxValueForAll(isChecked, details, element?.children);\r\n }\r\n } else { \r\n const removedIndex = element?.data?.reports?.findIndex((item) => item?.reportId === details?.reportId);\r\n if (removedIndex >= 0)\r\n element?.data?.reports.splice(removedIndex, 1);\r\n if (element?.children?.length) {\r\n element?.children?.forEach(sub => {\r\n const findIndex = sub?.data?.reports.findIndex((el) => el.reportId === details.reportId);\r\n if (findIndex >= 0) sub?.data?.reports.splice(findIndex, 1);\r\n });\r\n setCheckBoxValueForAll(isChecked, details, element?.children);\r\n } \r\n }\r\n\r\n \r\n\r\n });\r\n\r\n return gridData;\r\n }\r\n\r\n const getParentData = (gridData, key, details, parent = null) => {\r\n for (let item of gridData) {\r\n let res = item.key === key ? parent\r\n : item.children && getParentData(item.children, key, details, item);\r\n if (res) {\r\n let length = res?.children?.length;\r\n let count = 0;\r\n res?.children?.forEach((sub) => {\r\n if (sub?.data?.reports.some((el) => el.reportId === details?.reportId)) {\r\n count++;\r\n }\r\n });\r\n if (count === length) {\r\n const findIdex = res?.data?.reports?.findIndex((item) => item.reportId === details?.reportId);\r\n if (findIdex < 0)\r\n res?.data?.reports.push(details);\r\n } else {\r\n const findIdex = res?.data?.reports?.findIndex((item) => item.reportId === details?.reportId);\r\n if (findIdex >= 0)\r\n res?.data?.reports.splice(findIdex, 1)\r\n }\r\n return gridData;\r\n }\r\n }\r\n }\r\n\r\n const template = (rowData: any, columnDetails: any) => {\r\n return (\r\n
\r\n {\r\n onCheckBoxSelected(e, columnDetails);\r\n }}\r\n checked={rowData?.data?.reports.some(\r\n (item) => item.reportId === columnDetails.reportId\r\n )}\r\n />\r\n
\r\n );\r\n };\r\n\r\n const colExpand = (rowData: any, columnDetails: any) => {\r\n return (\r\n
\r\n {rowData?.data?.dataFieldName} \r\n
\r\n );\r\n };\r\n\r\n\r\n const setColumns=(data)=>{\r\n dispatch(setSelectedDisplayColumns(data));\r\n }\r\n\r\n const getCheckBoxActivate=(fields:any,report:any)=>{\r\n let returnBoolean = false;\r\n\r\n if(fields?.length > 0){\r\n returnBoolean = true\r\n for ( let item of fields ) {\r\n if( !item?.data?.reports?.some(reportData => \r\n reportData?.reportId === report?.reportId))\r\n { returnBoolean = false\r\n break; }\r\n }}\r\n return returnBoolean;\r\n }\r\n\r\n return (\r\n <>\r\n {gridDetails && columns.length > 0 && (\r\n setExpandedKeys(e.value)} >\r\n \r\n {columns.map((item: any, key: any) => {\r\n return (\r\n 19 ? item.reportName : \"\"}\r\n headerTooltipOptions={{ position: 'bottom' }}\r\n columnKey={item?.reportId}\r\n key={item?.reportId}\r\n style={{ width: \"170px\" }}\r\n header={ <>\r\n \r\n onCheckBoxAllSelected(item,e)} /> \r\n {item.reportName} }\r\n body={(e) => template(e, item)}\r\n />\r\n );\r\n })}\r\n \r\n )}\r\n {showDisplaySetting && ()}\r\n \r\n );\r\n }\r\n);\r\n\r\nexport default memo(CheckBoxGridView);\r\n","import CheckBoxGridView from \"components/Inspection/ReportMapping/CheckBoxGridView\";\r\nimport { useEffect, useState, useRef, forwardRef, useImperativeHandle, memo, useCallback } from \"react\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport {\r\n getReportDetailsForContract,\r\n onSavecontractReportMappingDataForContract,\r\n clearReportMappingSavedDataForContract,\r\n onDownloadReportMappingDetailsForContracts,\r\n setReportDetailsForContract,\r\n setDisplayColumns,\r\n setIsDisplayColumnsReadyToUpdate,\r\n setSelectedDisplayColumns\r\n} from \"../../../../redux/pages/Manage/InspectionSettings/ReportMapping/ReportMappingslice\";\r\nimport InformationBox from \"components/common/Message/InformationBox/InformationBox\";\r\ninterface IContracts {\r\n countryId: number;\r\n groupId: any;\r\n}\r\nconst Contracts = forwardRef((props, ref) => {\r\n useImperativeHandle(ref, () => ({\r\n\r\n onSaveclick: () => {\r\n checkBoxGridRef?.current?.onSaveclick()\r\n },\r\n onDownloadclick: () => {\r\n onDownload();\r\n },\r\n onShowDisplaySettings: () => {\r\n checkBoxGridRef?.current?.onShowDisplaySettings();\r\n }\r\n }));\r\n const dispatch = useDispatch();\r\n const checkBoxGridRef = useRef();\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const [message, setMessage] = useState(\"\");\r\n const [reportRowData, setReportRowData] = useState([]);\r\n const [selectedColumns, setSelectedColumns] = useState([]);\r\n\r\n const reportDetails: any = useAppSelector((state) => state.reportMapping.reportDetailsForContract);\r\n const savedContractReportMappingData: any = useAppSelector((state) => state.reportMapping.reportMappingSavedDataForContract);\r\n const columnsReadyToUpdate : any = useAppSelector((state) => state.reportMapping.isDisplayColumnsReadyToUpdate);\r\n const displayColumns: any = useAppSelector((state) => state.reportMapping.displayColumns)\r\n \r\n useEffect(() => {\r\n if (props.countryId && props.groupId !== undefined) {\r\n setReportRowData([])\r\n dispatch(getReportDetailsForContract(props.countryId, props.groupId));\r\n }\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [props.countryId, props.groupId]);\r\n useEffect(() => {\r\n if (reportDetails) {\r\n let convItem = JSON.parse(JSON.stringify(reportDetails?.reportDetails));\r\n convItem?.forEach(element => {\r\n element.header = element?.reportName;\r\n });\r\n if(columnsReadyToUpdate){\r\n dispatch(setDisplayColumns(convItem))\r\n }\r\n setReportRowData(reportDetails?.reportGroupFields);\r\n dispatch(setReportDetailsForContract(\"\"));\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }\r\n }, [reportDetails]);\r\n\r\n useEffect(() => {\r\n if(displayColumns && displayColumns.length) {\r\n if(columnsReadyToUpdate)\r\n dispatch(setSelectedDisplayColumns(displayColumns));\r\n dispatch(setIsDisplayColumnsReadyToUpdate(false))\r\n }\r\n },[displayColumns])\r\n\r\n useEffect(() => {\r\n if (savedContractReportMappingData) {\r\n setDisplayInfoModal(true);\r\n setMessage(\"Contract Report Mapping Saved\");\r\n dispatch(clearReportMappingSavedDataForContract(\"\"));\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }\r\n }, [savedContractReportMappingData]);\r\n const onSaveContractReportMapping = (data: any) => {\r\n const body = {\r\n reportGroupFields: data,\r\n };\r\n dispatch(onSavecontractReportMappingDataForContract(props.countryId, props.groupId, body));\r\n };\r\n\r\n const getColumns = useCallback((columns) => {\r\n setSelectedColumns(columns);\r\n }, []);\r\n\r\n const onDownload = () => {\r\n if (!selectedColumns?.length) return;\r\n let reportIds: any = [];\r\n selectedColumns.forEach((element: any) => {\r\n reportIds.push(element.reportId)\r\n });\r\n const body = {\r\n reportIds: reportIds\r\n } \r\n dispatch(onDownloadReportMappingDetailsForContracts(props.countryId, props.groupId, body))\r\n }\r\n\r\n return (\r\n <>\r\n
\r\n \r\n
\r\n \r\n \r\n );\r\n});\r\n\r\nexport default memo(Contracts);\r\n","import CheckBoxGridView from \"components/Inspection/ReportMapping/CheckBoxGridView\";\r\nimport { useEffect, useState, useRef, forwardRef, useImperativeHandle, memo, useCallback } from \"react\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport {\r\n clearReportMappingSavedDataForSystem,\r\n getReportDetailsForSystem,\r\n onDownloadReportMappingDetailsForSystems,\r\n onSavecontractReportMappingDataForSystem,\r\n setDisplayColumns,\r\n setIsDisplayColumnsReadyToUpdate,\r\n setReportDetailsForSystem,\r\n setSelectedDisplayColumns,\r\n} from \"../../../../redux/pages/Manage/InspectionSettings/ReportMapping/ReportMappingslice\";\r\nimport InformationBox from \"components/common/Message/InformationBox/InformationBox\";\r\ninterface ISystem {\r\n countryId: number;\r\n groupId: any;\r\n}\r\nconst Systems = forwardRef(\r\n (props, ref) => {\r\n useImperativeHandle(ref, () => ({\r\n onSaveclick: () => {\r\n checkBoxGridRef?.current?.onSaveclick()\r\n },\r\n onDownloadclick: () => {\r\n onDownload();\r\n },\r\n onShowDisplaySettings: () => {\r\n checkBoxGridRef?.current?.onShowDisplaySettings();\r\n }\r\n }));\r\n const dispatch = useDispatch();\r\n const checkBoxGridRef = useRef();\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const [message, setMessage] = useState(\"\");\r\n const [reportRowData, setReportRowData] = useState([]);\r\n const [selectedColumns, setSelectedColumns] = useState([]);\r\n\r\n const reportDetails: any = useAppSelector((state) => state.reportMapping.reportDetailsForSystems);\r\n const savedSystemsReportMappingData: any = useAppSelector((state) => state.reportMapping.reportMappingSavedDataForSystems);\r\n const columnsReadyToUpdate : any = useAppSelector((state) => state.reportMapping.isDisplayColumnsReadyToUpdate);\r\n const displayColumns: any = useAppSelector((state) => state.reportMapping.displayColumns)\r\n\r\n useEffect(() => {\r\n if (props.countryId && props.groupId !== undefined) {\r\n setReportRowData([])\r\n dispatch(getReportDetailsForSystem(props.countryId, props.groupId));\r\n }\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [props.countryId, props.groupId]);\r\n useEffect(() => {\r\n if (reportDetails) {\r\n let convItem = JSON.parse(JSON.stringify(reportDetails?.reportDetails));\r\n convItem?.forEach(element => {\r\n element.header = element?.reportName;\r\n });\r\n if(columnsReadyToUpdate){\r\n dispatch(setDisplayColumns(convItem))\r\n }\r\n setReportRowData(reportDetails?.reportGroupFields);\r\n dispatch(setReportDetailsForSystem(\"\"));\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }\r\n }, [reportDetails]);\r\n\r\n useEffect(() => {\r\n if(displayColumns && displayColumns.length) {\r\n if(columnsReadyToUpdate)\r\n dispatch(setSelectedDisplayColumns(displayColumns));\r\n dispatch(setIsDisplayColumnsReadyToUpdate(false))\r\n }\r\n },[displayColumns])\r\n\r\n useEffect(() => {\r\n if (savedSystemsReportMappingData) {\r\n setDisplayInfoModal(true);\r\n setMessage(\"System Report Mapping Saved\");\r\n dispatch(clearReportMappingSavedDataForSystem(\"\"));\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }\r\n }, [savedSystemsReportMappingData]);\r\n const onSaveContractReportMapping = (data: any) => {\r\n const body = {\r\n reportGroupFields: data,\r\n };\r\n dispatch(onSavecontractReportMappingDataForSystem(props.countryId, props.groupId, body));\r\n };\r\n\r\n const getColumns = useCallback((columns) => {\r\n setSelectedColumns(columns);\r\n }, []);\r\n\r\n const onDownload = () => {\r\n if (!selectedColumns?.length) return;\r\n let reportIds: any = [];\r\n selectedColumns.forEach((element: any) => {\r\n reportIds.push(element.reportId)\r\n });\r\n const body = {\r\n reportIds: reportIds\r\n }\r\n dispatch(onDownloadReportMappingDetailsForSystems(props.countryId, props.groupId, body))\r\n }\r\n\r\n return (\r\n <>\r\n
\r\n \r\n
\r\n \r\n \r\n );\r\n });\r\n\r\nexport default memo(Systems);\r\n","export function toTreeViewData(reportData: any) {\r\n const resultData: any = [];\r\n reportData.forEach((element: any) => {\r\n let reportDetails: any = {\r\n key: element?.inspectionGroupSectionId,\r\n label: element?.inspectionGroupSectionName,\r\n ...(element?.isSection === true) && { children: toTreeViewData(element?.inspectionGroupSections) }\r\n }\r\n resultData.push(reportDetails);\r\n });\r\n\r\n return resultData;\r\n}\r\n\r\nexport function toCheckBoxGridData(reportData: any) {\r\n const resultData: any = [];\r\n reportData.forEach((element: any, index: number) => {\r\n let reportDetails: any = {\r\n dataFieldId: element?.dataFieldId,\r\n dataFieldName: element?.dataFieldName,\r\n // colId:element?.reports.length>0 ? getColumnDetails(element?.reports):[],\r\n ...(element?.isSection === true) && { reportFields: toCheckBoxGridData(element?.reportFields) }\r\n\r\n }\r\n\r\n resultData.push(reportDetails);\r\n });\r\n\r\n return resultData;\r\n}\r\n\r\nexport const getFirstElement = (values, elements) => {\r\n values?.forEach(element => {\r\n if (element?.reportFields?.length) {\r\n elements.push(element);\r\n } else {\r\n getFirstElement(element?.children, elements);\r\n }\r\n });\r\n return elements[0];\r\n}\r\n\r\nexport const modifiedUpdatedData = (treeData, selectedNode, updatedData) => {\r\n treeData?.forEach(element => {\r\n if (element?.key === selectedNode) {\r\n element.reportFields = updatedData;\r\n } else {\r\n if (element?.children?.length) {\r\n modifiedUpdatedData(element?.children, selectedNode, updatedData)\r\n }\r\n }\r\n });\r\n return treeData;\r\n}","import CheckBoxGridView from \"components/Inspection/ReportMapping/CheckBoxGridView\";\r\nimport {\r\n useEffect,\r\n useState,\r\n useRef,\r\n useCallback,\r\n forwardRef,\r\n useImperativeHandle,\r\n memo\r\n} from \"react\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport {\r\n clearReportMappingSavedDataForQuestion,\r\n getReportDetailsForQuestion,\r\n onDownloadReportMappingDetailsForQuestions,\r\n onSavecontractReportMappingDataForQuestion,\r\n setDisplayColumns,\r\n setIsDisplayColumnsReadyToUpdate,\r\n setReportDetailsForQuestion,\r\n setSelectedDisplayColumns,\r\n} from \"../../../../redux/pages/Manage/InspectionSettings/ReportMapping/ReportMappingslice\";\r\nimport InformationBox from \"components/common/Message/InformationBox/InformationBox\";\r\nimport TreeView from \"components/common/TreeView/TreeView\";\r\nimport {\r\n BsList\r\n \r\n} from \"react-icons/bs\";\r\nimport { ScrollPanel } from \"primereact/scrollpanel\";\r\nimport { getFirstElement, modifiedUpdatedData } from \"../CheckBoxGridUtility\";\r\ninterface IQuestions {\r\n countryId: number;\r\n groupId: any;\r\n}\r\nconst Questions = forwardRef((props, ref) => {\r\n useImperativeHandle(ref, () => ({\r\n onSaveclick: () => {\r\n checkBoxGridRef?.current?.onSaveclick();\r\n },\r\n onDownloadclick: () => {\r\n onDownload();\r\n },\r\n onShowDisplaySettings: () => {\r\n checkBoxGridRef?.current?.onShowDisplaySettings();\r\n }\r\n }));\r\n const dispatch = useDispatch();\r\n const checkBoxGridRef = useRef();\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const [treeData, setTreeData] = useState([]);\r\n const [message, setMessage] = useState(\"\");\r\n const [reportRowData, setReportRowData] = useState([]);\r\n const [expandedKeys, setExpandedKeys] = useState({});\r\n const [selectedColumns, setSelectedColumns] = useState([]);\r\n\r\n const reportDetails: any = useAppSelector((state) => state.reportMapping.reportDetailsForQuestion);\r\n const savedQuestionsReportMappingData: any = useAppSelector((state) => state.reportMapping.reportMappingSavedDataForQuestion);\r\n const columnsReadyToUpdate : any = useAppSelector((state) => state.reportMapping.isDisplayColumnsReadyToUpdate);\r\n const displayColumns: any = useAppSelector((state) => state.reportMapping.displayColumns)\r\n\r\n const [treeToggle, setTreetoggle] = useState(true);\r\n const [selectedItem, setSelectedItem] = useState(null);\r\n\r\n useEffect(() => {\r\n if (props.countryId && props.groupId !== undefined) {\r\n setTreeData([]);\r\n setReportRowData([]);\r\n dispatch(getReportDetailsForQuestion(props.countryId, props.groupId));\r\n }\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [props.countryId, props.groupId]);\r\n useEffect(() => {\r\n if (reportDetails) {\r\n let value: any = JSON.stringify(reportDetails?.reportGroupFields);\r\n value = value.replace(/\\\"reportGroupSectionId\\\":/g, '\"key\":');\r\n value = value.replace(/\\\"reportGroupSectionName\\\":/g, '\"label\":');\r\n value = value.replace(/\\\"reportGroupSections\\\":/g, '\"children\":');\r\n value = JSON.parse(value);\r\n setTreeData(value);\r\n let element = [];\r\n const firstElement = getFirstElement(value, element);\r\n let convItem = JSON.parse(JSON.stringify(reportDetails?.reportDetails));\r\n convItem?.forEach(element => {\r\n element.header = element?.reportName;\r\n });\r\n if(columnsReadyToUpdate){\r\n dispatch(setDisplayColumns(convItem))\r\n }\r\n setReportRowData(firstElement?.reportFields);\r\n setSelectedItem(firstElement?.key);\r\n dispatch(setReportDetailsForQuestion(\"\"));\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }\r\n }, [reportDetails]);\r\n\r\n useEffect(() => {\r\n if(displayColumns && displayColumns.length) {\r\n if(columnsReadyToUpdate)\r\n dispatch(setSelectedDisplayColumns(displayColumns));\r\n dispatch(setIsDisplayColumnsReadyToUpdate(false))\r\n }\r\n },[displayColumns])\r\n\r\n useEffect(() => {\r\n if (treeData?.length) {\r\n let _expandedKeys = {};\r\n for (let node of treeData) {\r\n expandNode(node, _expandedKeys);\r\n }\r\n setExpandedKeys(_expandedKeys);\r\n }\r\n }, [treeData])\r\n\r\n const expandNode = (node, _expandedKeys) => {\r\n if (node.children && node.children.length) {\r\n _expandedKeys[node.key] = true;\r\n\r\n for (let child of node.children) {\r\n expandNode(child, _expandedKeys);\r\n }\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n if (savedQuestionsReportMappingData) {\r\n setDisplayInfoModal(true);\r\n setMessage(\"Questions Report Mapping Saved\");\r\n dispatch(clearReportMappingSavedDataForQuestion(\"\"));\r\n const result = modifiedUpdatedData(treeData, selectedItem, savedQuestionsReportMappingData);\r\n setTreeData(result);\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }\r\n }, [savedQuestionsReportMappingData]);\r\n const onSaveContractReportMapping = (data: any) => {\r\n const body = {\r\n reportGroupFields: data,\r\n };\r\n dispatch(\r\n onSavecontractReportMappingDataForQuestion(\r\n props.countryId,\r\n props.groupId,\r\n body\r\n )\r\n );\r\n };\r\n\r\n const onNodeClick = useCallback((data) => {\r\n if (data?.reportFields) {\r\n setReportRowData(data?.reportFields);\r\n }\r\n setSelectedItem(data?.key);\r\n }, []);\r\n\r\n const getColumns = useCallback((columns) => {\r\n setSelectedColumns(columns);\r\n }, []);\r\n\r\n const onDownload = () => {\r\n if (!selectedColumns?.length) return;\r\n let reportIds: any = [];\r\n selectedColumns.forEach((element: any) => {\r\n reportIds.push(element.reportId)\r\n });\r\n const body = {\r\n reportIds: reportIds\r\n }\r\n dispatch(onDownloadReportMappingDetailsForQuestions(props.countryId, props.groupId, body))\r\n }\r\n\r\n return (\r\n
\r\n {treeToggle ? (\r\n
\r\n
\r\n \r\n setExpandedKeys(e.value)}\r\n expandedKeys={expandedKeys}\r\n isCustomTemplateForNode = {true }\r\n />\r\n \r\n
\r\n
\r\n ) : (\r\n
setTreetoggle(!treeToggle)}>\r\n \r\n
\r\n )}\r\n
\r\n \r\n
\r\n \r\n
\r\n );\r\n});\r\n\r\nexport default memo(Questions);\r\n","import { useEffect, useState, useRef, memo } from \"react\";\r\nimport { Controller, useForm } from \"react-hook-form\";\r\nimport { classNames } from \"primereact/utils\";\r\nimport { useLocation, useNavigate } from \"react-router-dom\";\r\n\r\nimport Contracts from \"./Contracts/Contracts\";\r\nimport Systems from \"./Systems/Systems\";\r\nimport Questions from \"./Questions/Questions\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { getReportGroups, setDisplayColumns, setIsDisplayColumnsReadyToUpdate } from \"../../../redux/pages/Manage/InspectionSettings/ReportMapping/ReportMappingslice\";\r\nimport { Dropdown } from \"primereact/dropdown\";\r\nimport { Button } from \"primereact/button\";\r\nimport { FaDownload, FaSave } from \"react-icons/fa\";\r\nimport { IoIosFunnel } from \"react-icons/io\";\r\nimport { BsArrowRight } from \"react-icons/bs\";\r\nimport Breadcrumb from \"components/common/Breadcrumb/Breadcrumb\";\r\nimport { APP_ROUTES } from \"constants/AppRoutes\";\r\nimport { getCountryList } from \"redux/pages/Administration/administrationSlice\";\r\n\r\ninterface ListItem {\r\n id: number;\r\n name: string;\r\n selected: boolean;\r\n}\r\nexport const DEFAULT_HEADER_LIST = [\r\n {\r\n id: 1,\r\n name: \"Contract\",\r\n selected: true,\r\n },\r\n {\r\n id: 2,\r\n name: \"System\",\r\n selected: false,\r\n },\r\n {\r\n id: 3,\r\n name: \"Questions\",\r\n selected: false,\r\n },\r\n];\r\nconst ReportMapping = () => {\r\n const navigate = useNavigate();\r\n const dispatch = useDispatch();\r\n const [headerList, setHeaderList] = useState>([]);\r\n const [selectedCountryId, setSelectedCountryId] = useState(0);\r\n const [selectedGroupId, setselectedGroupId] = useState();\r\n const checkBoxGridRef = useRef();\r\n const [countryLookup, setCountryLookup] = useState([]);\r\n const [selectedCountry, setSelectedCountry] = useState(\"\");\r\n const countryList = useAppSelector((state) => state.administration.countryList);\r\n const [selectedFields, setSelectedFields] = useState({ countryId:\"\"});\r\n const { state } = useLocation() as any;\r\n const from = state?.from || 'Contract'; \r\n\r\n const {\r\n control,\r\n setValue,\r\n } = useForm();\r\n const reportGroups = useAppSelector((state) => state.reportMapping.reportGroups);\r\n\r\n useEffect(() => {\r\n\r\n DEFAULT_HEADER_LIST.forEach(element => {\r\n if (element.name === from)\r\n element.selected = true;\r\n else\r\n element.selected = false;\r\n });\r\n setHeaderList(DEFAULT_HEADER_LIST);\r\n },[from])\r\n\r\n useEffect(() => {\r\n if(selectedCountryId !== 0){\r\n dispatch(getReportGroups(selectedCountryId));\r\n dispatch(setDisplayColumns([]))\r\n dispatch(setIsDisplayColumnsReadyToUpdate(true))\r\n // DEFAULT_HEADER_LIST.forEach(element => {\r\n // if (element.id === 1)\r\n // element.selected = true;\r\n // else\r\n // element.selected = false;\r\n // });\r\n // setHeaderList(DEFAULT_HEADER_LIST);\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }\r\n }, [selectedCountryId,from]);\r\n\r\n useEffect(() => {\r\n dispatch(getCountryList());\r\n }, [dispatch]);\r\n\r\n useEffect(() => {\r\n if (countryList && countryList.countries.length > 0 && countryList.countries !== undefined) {\r\n let country: any = [];\r\n countryList.countries.map((countryItem: any, key: any) => {\r\n country.push({ \"code\": countryItem.countryId, \"name\": countryItem.countryName.trim() })\r\n });\r\n setSelectedFields({ countryId:country[0].code })\r\n setCountryLookup(country);\r\n setSelectedCountryId(Number(country[0].code));\r\n setSelectedCountry(country[0]);\r\n }\r\n }, [countryList]);\r\n \r\n useEffect(() => {\r\n if (reportGroups && reportGroups.length) {\r\n setValue(\"reportGroup\", reportGroups[0]?.inspectionReportGroupId);\r\n setselectedGroupId(reportGroups[0]?.inspectionReportGroupId);\r\n }\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [reportGroups]);\r\n const handleListClick = (name: string) => {\r\n\r\n navigate(`/${APP_ROUTES.MANAGE_INSPECTION_REPORT_MAPPING}`, {\r\n state: {\r\n from: name\r\n }\r\n })\r\n };\r\n \r\n const onReportGroupLookupChange = (data: any) => {\r\n dispatch(setIsDisplayColumnsReadyToUpdate(true))\r\n dispatch(setDisplayColumns([]))\r\n setselectedGroupId(data);\r\n };\r\n const onCountryChange = (data:any) => {\r\n dispatch(setIsDisplayColumnsReadyToUpdate(true))\r\n dispatch(setDisplayColumns([]))\r\n setSelectedCountryId(Number(data.code));\r\n dispatch(getReportGroups(data.code));\r\n }\r\n return (\r\n
\r\n
\r\n navigate(`/${APP_ROUTES.MANAGE_VIEW}`)} />\r\n
\r\n \r\n
\r\n
\r\n Report Mapping\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
    \r\n {headerList?.length > 0 &&\r\n headerList.map((item: ListItem) => (\r\n handleListClick(item?.name)}\r\n >\r\n {item?.name}\r\n \r\n ))}\r\n
\r\n
\r\n
\r\n \r\n { setSelectedCountry(e.value);onCountryChange(e.value)}}\r\n options={countryLookup}\r\n optionLabel=\"name\" \r\n />\r\n \r\n \r\n
\r\n
\r\n \r\n (\r\n {\r\n field.onChange(e.value);\r\n onReportGroupLookupChange(e.value);\r\n }}\r\n options={reportGroups}\r\n optionLabel=\"inspectionReportGroupName\"\r\n optionValue=\"inspectionReportGroupId\"\r\n />\r\n )}\r\n />\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n {headerList.map((item, key) => {\r\n if (item.id == 1 && item.selected === true) {\r\n return ;\r\n } else if (item.id == 2 && item.selected === true) {\r\n return ;\r\n } else if (item.id == 3 && item.selected === true) {\r\n return ;\r\n }\r\n })}\r\n
\r\n
\r\n );\r\n};\r\n\r\nexport default memo(ReportMapping);\r\n","\r\nimport React, { forwardRef, memo, useState } from \"react\";\r\nimport { Button } from \"primereact/button\";\r\nimport { ColorPicker } from \"primereact/colorpicker\";\r\nimport { Dropdown } from \"primereact/dropdown\";\r\n\r\ninterface IDrawingToolbar {\r\n\tonClick?: Function | any;\r\n\torientation?: string;\r\n\ttools?: any;\r\n\tonCancel?: Function | any;\r\n\tonSaveLayer?: Function | any;\r\n\tcloseBlinkFlag?: any;\r\n\tsetStopBlinkingCloseButton?: Function | any;\r\n\tonLayerColorChanged?: Function | any;\r\n\tshowColorPicker?: boolean;\r\n\tonColorPickerChange?: Function | any;\r\n\tshowLineThicknessDropdown?: boolean;\r\n}\r\nconst DrawingToolbar = forwardRef((props, ref) => {\r\n\tconst { onClick, tools, showColorPicker=false, onColorPickerChange ,showLineThicknessDropdown} = props;\r\n\tconst [currentPosition, setCurrentPosition] = useState(\"\");\r\n\tconst [color, setColor] = useState(\"FF0000\");\r\n\r\n\tconst onMapEvent = (e: any, name: any) => {\r\n\t\tonClick(e, name);\r\n\t};\r\n\r\n\tconst [selectedItem, setSelectedItem] = useState(null);\r\n const items = Array.from({ length: 10 }).map((_, i) => ({ label: ` ${i+1}`, value: i+1 }));\r\n const onItemChange = (e) => {\r\n setSelectedItem(e.value)\r\n\t\tonMapEvent(e.value,\"Line Thickness\");\r\n }\r\n\r\n\treturn (\r\n\t\t<>\r\n\t\t\t{tools ? (\r\n\t\t\t\t
\r\n\t\t\t\t{tools.map((item: any, key: any) => (\r\n\t\t\t\t\t\t setCurrentPosition(item.name)}\r\n\t\t\t\t\t\t\tonMouseLeave={() => setCurrentPosition(\"\")}\r\n\t\t\t\t\t\t\tonClick={(e) => onMapEvent(e, item.name)}\r\n\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\t{item.icons}\r\n {item.subIcon? item.subIcon: null}\r\n\t\t\t\t\t\t\r\n\t\t\t\t))}\r\n\t\t\t\t\t{showLineThicknessDropdown &&
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
}\r\n\t\t\t\t{showColorPicker && ( {setColor(e.value); onColorPickerChange(e.value)}} >)}\r\n\t\t\t
\r\n\t\t\t) : null}\r\n\t\t\r\n\t);\r\n});\r\n\r\nexport default memo(DrawingToolbar);\r\n","import React, { useState,useRef, useEffect } from \"react\";\r\nimport { useForm } from \"react-hook-form\";\r\n\r\nimport { Button } from \"primereact/button\";\r\nimport MultiSelect from \"components/common/MultiSelect/MultiSelect\";\r\nimport { Dialog } from \"primereact/dialog\";\r\n\r\n\r\n\r\ninterface Props {\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n selectedRows: any;\r\n layersSubmit?: (data: any) => void;\r\n}\r\n\r\ntype FormData = {\r\n};\r\n\r\nexport const Layers: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => {},\r\n selectedRows = [],\r\n layersSubmit = () => { },\r\n}) => {\r\n\r\n const [layerData, setLayerData] = useState([]);\r\n const checkedRows = useRef();\r\n const layerForm: any = useRef();\r\n\r\n \r\n\r\n const {\r\n handleSubmit,\r\n } = useForm({\r\n defaultValues: {\r\n },\r\n });\r\n useEffect(() => {\r\n if(selectedRows && selectedRows.length>0){\r\n let layerDataInfo= JSON.parse(JSON.stringify(selectedRows));\r\n setLayerData(layerDataInfo);\r\n }\r\n \r\n }, [selectedRows])\r\n const formSubmitHandler = (data: any) => {\r\n layerForm.current.requestSubmit();\r\n };\r\n\r\n\r\n const onAddFormSubmit = (data: any) => {\r\n let allCheckedSites :any= [...checkedRows.current];\r\n allCheckedSites.forEach((element) => {\r\n let currentIndex = allCheckedSites.findIndex((item: any) => item.id === allCheckedSites?.id);\r\n if(currentIndex!==-1){\r\n layerData.splice(currentIndex, 0, element);}\r\n });\r\n layerData.forEach((element) => {\r\n element[\"layerName\"] = element.siteName;\r\n if (element.checked){\r\n element[\"isVisible\"] = true;\r\n \r\n }\r\n else{\r\n element[\"isVisible\"] = false;\r\n }\r\n });\r\n layersSubmit && layersSubmit(layerData)\r\n };\r\n const renderFooter = () => {\r\n return (\r\n <>\r\n setShowModal(false)}\r\n className=\"cancel btn\"\r\n />\r\n )}\r\n {showIcon && showUI(userPrivileges, \"SIETAP_INSPECTION_EQUIPMENT_MANAGE\") &&\r\n ( onEditEquipmentClick(\"EDIT\")}\r\n >\r\n \r\n )}\r\n\r\n {showIcon && showUI(userPrivileges, \"SIETAP_INSPECTION_EQUIPMENT_MANAGE\") &&\r\n ( onDeleteEquipmentClick()}>\r\n \r\n )}\r\n\r\n {showIcon && \r\n \r\n \r\n }\r\n {isSearch ?\r\n (\r\n \r\n \r\n ×\r\n\t\t\t\t\t\t\t \r\n ):(\r\n \r\n \r\n \r\n \r\n )}\r\n downloadRef.current?.toggle(e)}>\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n <>\r\n \r\n {columns?.length > 0 && (\r\n \r\n )}\r\n\r\n \r\n
    \r\n <>\r\n {renderDisplaySettings()}\r\n \r\n
\r\n
\r\n \r\n
    \r\n
  • Report All
  • \r\n
  • Report Highlighted
  • \r\n
  • Export All
  • \r\n
  • Export Highlighted
  • \r\n
\r\n
\r\n {showEditEquipment && datafields && (\r\n {\r\n setShowEditEquipment(false);\r\n dispatch(setEquipmentDatafields(\"\"));\r\n }}\r\n uniqueEquipmentClassId={selectedRows[0]?.EquipmentTypeId}\r\n />\r\n )}\r\n {showDeletePrompt && (\r\n setShowDeletePrompt(false)}\r\n className=\"delete-modal\"\r\n >\r\n

{message}

\r\n \r\n )}\r\n\r\n {showEditEquipmentList &&\r\n }\r\n {showDisplaySetting && tableColumns?.length &&\r\n \r\n }\r\n {showAttachmentListModal ? (\r\n\t\t\t\t\t\r\n\t\t\t\t) : null}\r\n \r\n {showReportModal ? (\r\n \r\n ) : null}\r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default memo(UnassignedEquipment);","import React, { useEffect, useState } from \"react\";\r\nimport { useForm, Controller } from \"react-hook-form\";\r\nimport { Dropdown } from \"primereact/dropdown\";\r\nimport { classNames } from \"primereact/utils\";\r\nimport { Dialog } from \"primereact/dialog\";\r\nimport ReportViewer from \"components/common/Report/ReportViewer\"\r\nimport { useAppSelector } from \"redux/hooks\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { createReportPreviewSession, setReportPreviewSession } from \"../../../../redux/pages/Administration/Site/siteSlice\";\r\n\r\n\r\ninterface Props {\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n reportFlag: string;\r\n selectedRows: any;\r\n uniqueInspectionTaskId: string;\r\n uniqueSystemId: string;\r\n uniqueDrawingId:string;\r\n sortByColumns: any;\r\n searchKeyword: string;\r\n}\r\n\r\ntype FormData = {\r\n sortBy: string;\r\n};\r\n\r\nexport const CommonEquipmentReport: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => { },\r\n reportFlag = '',\r\n selectedRows = [],\r\n uniqueInspectionTaskId = \"\",\r\n uniqueSystemId = \"\",\r\n uniqueDrawingId = \"\",\r\n sortByColumns = [],\r\n searchKeyword = ''\r\n}) => {\r\n\r\n const {\r\n control,\r\n } = useForm({\r\n defaultValues: {\r\n sortBy: \"\",\r\n },\r\n });\r\n\r\n const [sortByLookup, setSortByLookup] = useState([{ field: \"\", header: \"\" }]);\r\n const [reportId, setReportId] = useState(null);\r\n const [sortColumn, setSortColumn] = useState(\"\");\r\n const reportPreviewSession = useAppSelector((state) => state.site.reportPreviewSession);\r\n const dispatch = useDispatch();\r\n\r\n useEffect(() => {\r\n if (sortByColumns?.length) {\r\n let sortBy: { field: string; header: string }[] = [];\r\n sortByColumns?.map((item: any) => {\r\n return sortBy.push({ field: item.field, header: item.header });\r\n });\r\n setSortByLookup(sortBy);\r\n }\r\n }, [sortByColumns]);\r\n\r\n const getSelectedIds = () => {\r\n let params: any = [];\r\n selectedRows.map(item => {\r\n params.push(item.EquipmentId);\r\n });\r\n return params;\r\n };\r\n\r\n useEffect(() => {\r\n let params;\r\n if (reportFlag === 'all') {\r\n params = \"\";\r\n } else {\r\n params = getSelectedIds();\r\n }\r\n const reportParameters = {\r\n reportParameters: {\r\n uniqueInspectionTaskId: uniqueInspectionTaskId,\r\n uniqueDrawingId:uniqueDrawingId,\r\n uniqueSystemId: uniqueSystemId,\r\n sortColumn: sortColumn,\r\n selectedIds: params,\r\n searchText: searchKeyword\r\n },\r\n reportType: \"Common Equipment Report\"\r\n };\r\n dispatch(createReportPreviewSession(reportParameters));\r\n }, [sortColumn]);\r\n\r\n useEffect(() => {\r\n if (reportPreviewSession) {\r\n setReportId(reportPreviewSession.previewSessionId);\r\n }\r\n }, [reportPreviewSession])\r\n\r\n return (\r\n <>\r\n {\r\n dispatch(setReportPreviewSession(\"\"));\r\n setShowModal(false);\r\n }}\r\n className=\"display-settings report selectsite\"\r\n style={{ width: \"90vw\", height: \"600px\" }}\r\n >\r\n
\r\n
\r\n
\r\n
\r\n \r\n (\r\n {\r\n setSortColumn(e.value);\r\n }}\r\n options={sortByLookup}\r\n optionLabel=\"header\"\r\n optionValue=\"header\"\r\n />\r\n )}\r\n />\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default CommonEquipmentReport;\r\n","import React, { useState, useCallback, useEffect, memo } from \"react\";\r\nimport { useForm } from \"react-hook-form\";\r\nimport { Dialog } from \"primereact/dialog\";\r\nimport { Button } from \"primereact/button\";\r\nimport PopOver from \"components/common/PopOver/PopOver\";\r\nimport { ProgressSpinner } from 'primereact/progressspinner';\r\nimport { OverlayPanel } from \"primereact/overlaypanel\";\r\nimport moment from \"moment\";\r\nimport DisplaySetting from \"components/common/DisplaySetting/DisplaySetting\";\r\n//icons\r\nimport { BsPaperclip, BsFillPencilFill, BsSearch, BsTrashFill, BsZoomIn, BsBoxArrowInDownRight } from \"react-icons/bs\";\r\nimport { FaChevronDown, FaDownload } from \"react-icons/fa\";\r\n//components\r\nimport DataTableComponent from \"components/Table/DataTable\";\r\nimport InformationBox from \"components/common/Message/InformationBox/InformationBox\";\r\nimport ConfirmationBox from \"components/common/Message/ConfirmationBox/ConfirmationBox\";\r\n//data\r\n//redux\r\nimport { useDispatch } from \"react-redux\";\r\nimport {\r\n getEquipmentDatafields,\r\n onEquipmentDetailsUpdated,\r\n onEquipmentRemoved,\r\n onEquipmentUsageChecked,\r\n setEquipmentDatafields,\r\n setRemovedEquipment,\r\n setUpdatedEquipment\r\n\t\r\n} from \"redux/pages/Inspection/InspectionTask/InspectionDetails/Equipment/EquipmentSlice\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\n//utility\r\nimport { showUI } from 'service/GeneralUtility';\r\nimport EquipmentListData from \"../ManageInspectionTasks/InspectionDetails/Equipment/EquipmentListData\";\r\nimport EditEquipment from \"../ManageInspectionTasks/InspectionDetails/Equipment/Manage/EditEquipment/EditEquipment\";\r\nimport EditEquipmentList from \"../ManageInspectionTasks/InspectionDetails/Equipment/ManageEquipmentGrp/EditEquipmentGroup\";\r\nimport { getDrawingEquipmentList } from \"redux/pages/Inspection/InspectionTask/inspectionDrawingSlice\";\r\nimport { BiUnlink } from \"react-icons/bi\";\r\nimport AttachmentList from \"../ManageInspectionTasks/InspectionDetails/Equipment/Manage/Attachments/AttachmentList\";\r\nimport SearchAddress from \"./SearchAddress\";\r\n\r\nimport { onExportReport } from \"redux/common/report/customizeReportSlice\";\r\nimport CommonEquipmentReport from \"./Report/CommonEquipmentReport\";\r\n\r\n\r\n\r\ntype EqpGroupFormData = {\r\n address: string;\r\n name: string;\r\n type: string;\r\n};\r\n\r\n\r\ninterface EquipmentListPropType {\r\n selectedTask?: any;\r\n onShowZoomClick: (data: any,showZoomed:boolean) => void;\r\n onShowInDrawing: (data: any,showDrawing:boolean) => void;\r\n onDelinkClick: (data: any) => void;\r\n onDeleteClick: (data: any) => void;\r\n disableDrawingButtons?:any;\r\n \r\n}\r\n\r\nconst CommonEquipment: React.FC = (props) => {\r\n const { selectedTask, onShowZoomClick, onShowInDrawing, onDelinkClick, onDeleteClick,disableDrawingButtons} = props;\r\n\r\n const [pageIndex, setPageIndex] = useState(0);\r\n const [currentStart, setCurrentStart] = useState(0);\r\n const [sortField, setSortField] = useState(\"\");\r\n const [sortOrder, setSortOrder] = useState(\"\");\r\n const [selectedRows, setSelectedRows] = useState([]);\r\n const [selectedEquipmentGroup] = useState(null);\r\n const [selectedEquipmentType] = useState(null);\r\n const [showFilterEquipment, setShowFilterEquipment] = useState(false);\r\n const [showAdvancedSearch, setShowAdvancedSearch] = useState(false);\r\n const [showDisplaySetting, setShowDisplaySetting] = useState(false);\r\n const settingRef = React.createRef();\r\n const downloadRef = React.createRef();\r\n const [columns, setColumns] = useState([]);\r\n const [backupColumns, setBackupColumns] = useState([]);\r\n const [tableColumns, setTableColumns] = useState>(backupColumns);\r\n const [gridData, setGridData] = useState([]);\r\n const [showEditEquipment, setShowEditEquipment] = useState(false);\r\n const [showDeletePrompt, setShowDeletePrompt] = useState(false);\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const [message, setMessage] = useState(\"\");\r\n const [pageDetails, setPageDetails] = useState();\r\n const [showEditEquipmentList, setShowEditEquipmentList] = useState(false);\r\n const [showIcon, setShowIcon] = useState(true);\r\n const [generalProperties, setGeneralProperties] = useState([]);\r\n const [showReportModal, setShowReportModal] = useState(false);\r\n const [reportFlag, setReportFlag] = useState('all');\r\n const [displayConfirmModal, setDisplayConfirmModal] = useState(false);\r\n const [isReset, setIsReset] = useState(false);\r\n const [showAttachmentListModal, setShowAttachmentListModal] = useState(false);\r\n const [showProgressBar, setShowProgressBar] = useState(false);\r\n const [showInDrawing,setShowInDrawing]= useState(false);\r\n const [showZoomed,setShowZoomed]= useState(false);\r\n const [datafields, setDatafields] = useState([]);\r\n const [removedEquipmentIds, setRemovedEquipmentIds] = useState([]);\r\n const [isDelete,setIsDelete]= useState(false);\r\n const [dataLoaded,setDataLoaded]= useState(false);\r\n const [searchAddress, setSearchAddress] = useState();\r\n const [isSearch, setIsSearch] = useState(false)\r\n const [displaySearchModal, setDisplaySearchModal] = useState(false)\r\n const [isCommon, setIsCommon] = useState(false)\r\n\r\n const dispatch = useDispatch();\r\n const selectedTreeNode = useAppSelector((state) => state.inspectionDrawing.selectedTreeNode);\r\n const equipmentList = useAppSelector((state) => state.inspectionDrawing.commonEquipmentList);\r\n const equipmentDatafields = useAppSelector((state) => state.equipment.equipmentDatafields);\r\n const updateEquipment = useAppSelector((state) => state.equipment.updatedEquipment);\r\n const userPrivileges = useAppSelector((state) => state.user.userPrivileges);\r\n const removedEquipment = useAppSelector((state) => state.equipment.removedEquipment);\r\n const isDevReadingChanged = useAppSelector((state) => state.equipment.isDevReadingChanged);\r\n\tconst isTestDateChanged = useAppSelector((state) => state.equipment.IsTestDateChanged);\r\n const loggedInUserDetails = useAppSelector((state) => state.administration.loggedInUserDetails);\r\n const rowsPerPage = useAppSelector((state) => state.personalSettings.rowsPerPage);\r\n\r\n const {\r\n } = useForm({\r\n defaultValues: {\r\n address: \"\",\r\n name: \"\",\r\n type: \"\",\r\n },\r\n });\r\n\r\n useEffect(() => {\r\n if (backupColumns) {\r\n setTableColumns(columns);\r\n }\r\n }, [backupColumns]);\r\n\r\n\r\n useEffect(() => {\r\n if (tableColumns) {\r\n setColumns(tableColumns)\r\n }\r\n\r\n }, [tableColumns])\r\n\r\n useEffect(() => {\r\n if (selectedTask?.status !== \"Active\")\r\n setShowIcon(false)\r\n else\r\n setShowIcon(true)\r\n const body = {\r\n searchText: '',\r\n uniqueEquipmentClassId: null,\r\n isCommon: true\r\n };\r\n dispatch(getDrawingEquipmentList(selectedTask?.uniqueInspectionTaskId, selectedTreeNode[0]?.uniqueDrawingId, \"common\", body, 0, setDataLoaded, 1));\r\n setPageIndex(0);\r\n setDisplayInfoModal(false);\r\n setIsCommon(true)\r\n }, [selectedTask, rowsPerPage]);\r\n\r\n useEffect(() => {\r\n if (rowsPerPage && rowsPerPage > 0) {\r\n let modifiedPageDetails = { ...pageDetails, 'currentLength': rowsPerPage, 'pageCount': rowsPerPage };\r\n setPageDetails(modifiedPageDetails);\r\n setCurrentStart(1)\r\n setPageIndex(0)\r\n }\r\n }, [rowsPerPage])\r\n\r\n useEffect(()=>{\r\n if(isSearch) {\r\n const body = {\r\n searchText: searchAddress,\r\n uniqueEquipmentClassId: \"\",\r\n isCommon: true\r\n };\r\n setGridData([])\r\n dispatch(getDrawingEquipmentList(selectedTask?.uniqueInspectionTaskId, selectedTreeNode[0]?.uniqueDrawingId, \"common\", body, 0, setDataLoaded, 1));\r\n setPageIndex(0);\r\n setDisplaySearchModal(false);\r\n }\r\n },[isSearch])\r\n\r\n useEffect(() => {\r\n if (equipmentList && dataLoaded) {\r\n setEquipmentData(equipmentList);\r\n }\r\n }, [equipmentList, dataLoaded]);\r\n\r\n const setEquipmentData = (list) => {\r\n setGridData([...list?.data]);\r\n if (list?.data?.length === 0 && isCommon) {\r\n setMessage(\"No Equipment data exists\");\r\n setDisplayInfoModal(true);\r\n }\r\n setIsCommon(false)\r\n setPageDetails(list?.pageDetails);\r\n setSelectedRows([list?.data[0]]);\r\n setGeneralProperties(list?.generalProperties)\r\n setShowFilterEquipment(false);\r\n setShowAdvancedSearch(false);\r\n }\r\n\r\n useEffect(() => {\r\n\t\tif (equipmentDatafields) {\r\n\t\t\tsetDatafields(equipmentDatafields);\r\n\t\t\tdispatch(setEquipmentDatafields(\"\"));\r\n\t\t}\r\n\t}, [equipmentDatafields])\r\n\r\n const onPageChanged = (options: any) => {\r\n if (options !== pageIndex) {\r\n setPageIndex(options);\r\n let currentStart = options * pageDetails?.currentLength + 1;\r\n setCurrentStart(currentStart);\r\n const body = {\r\n searchText: searchAddress?searchAddress:null,\r\n uniqueEquipmentClassId: null,\r\n isCommon: true\r\n };\r\n dispatch(getDrawingEquipmentList(selectedTask?.uniqueInspectionTaskId, selectedTreeNode[0]?.uniqueDrawingId, \"common\", body, currentStart,setDataLoaded, 1));\r\n }\r\n };\r\n\r\n \r\n const onSort = (event) => {\r\n let sortDirectionValue: string;\r\n if (event.sortOrder === 1) sortDirectionValue = \"ASC\";\r\n else sortDirectionValue = \"DESC\";\r\n setSortField(event.sortField);\r\n setSortOrder(sortDirectionValue);\r\n let body = {\r\n searchText: searchAddress?searchAddress:null,\r\n uniqueEquipmentClassId: null,\r\n isCommon: true\r\n }\r\n dispatch(getDrawingEquipmentList(selectedTask?.uniqueInspectionTaskId, selectedTreeNode[0]?.uniqueDrawingId, \"common\", body, currentStart, setDataLoaded, 1, event?.sortField, sortDirectionValue));\r\n };\r\n\r\n const handleRowSelect = useCallback((data: any) => {\r\n setSelectedRows([...data]);\r\n }, []);\r\n\r\n\r\n\r\n const onEditEquipmentClick = (type) => {\r\n if (!selectedRows?.length) return;\r\n let body;\r\n body = {\r\n UniqueInspectionTaskId: selectedTask?.uniqueInspectionTaskId,\r\n UniqueEquipmentClassId: selectedRows[0]?.EquipmentTypeId,\r\n UniquePanelId: selectedRows[0]?.EquipmentGroupId,\r\n uniqueSystemId: selectedTask?.system?.uniqueSystemId,\r\n };\r\n if (selectedRows.length > 1) {\r\n setMessage(\"This operation can be performed only one row at a time\");\r\n setDisplayInfoModal(true);\r\n } else if (selectedRows?.length < 1) {\r\n setMessage(\"Select an Equipment\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n body.EquipmentId = selectedRows?.[0]?.EquipmentId;\r\n dispatch(getEquipmentDatafields(body));\r\n setShowEditEquipment(true);\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n\t\tif (updateEquipment) {\r\n\t\t\tif (updateEquipment.isSuccess === true) {\r\n\t\t\t\tconst findIndex = gridData?.findIndex((item) => item.EquipmentId === updateEquipment?.data?.EquipmentId);\r\n\t\t\t\tif (findIndex >= 0) {\r\n\t\t\t\t\tgridData[findIndex] = updateEquipment.data;\r\n\t\t\t\t\tsetGridData([...gridData]);\r\n setShowEditEquipment(false);\r\n\t\t\t\t\tsetMessage(\"Equipment updated\");\r\n\t\t\t\t\tsetDisplayInfoModal(true);\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tsetMessage(updateEquipment?.message);\r\n\t\t\t\tsetDisplayInfoModal(true);\r\n\t\t\t}\r\n\t\t\tdispatch(setUpdatedEquipment(\"\"));\r\n\t\t}\r\n\t\tsetShowProgressBar(false);\r\n\t}, [updateEquipment]);\r\n\r\n const onDeleteEquipmentClick = () => {\r\n if (!selectedRows?.length) return;\r\n\t\tlet list: any = [];\r\n\t\tif (selectedRows?.length) {\r\n\t\t\tfor (let i = 0; i < selectedRows?.length; i++) {\r\n\t\t\t\tlist.push(selectedRows[i].EquipmentId);\r\n\t\t\t}\r\n\t\t}\r\n\t\tconst body = {\r\n\t\t\tequipmentIds: list,\r\n\t\t\tUniqueInspectionTaskId: selectedTask?.uniqueInspectionTaskId,\r\n\t\t};\r\n\t\tdispatch(onEquipmentUsageChecked(body, setShowDeletePrompt, setDisplayInfoModal, setMessage, setRemovedEquipmentIds));\r\n };\r\n\r\n\r\n const onEquipmentUpdate = useCallback((fields) => {\r\n const body = {\r\n ClassId: selectedRows?.[0]?.EquipmentTypeId,\r\n SystemId: selectedTask?.system?.uniqueSystemId,\r\n PanelId: selectedRows?.[0]?.EquipmentGroupId,\r\n NfpaClassificationId: 10,\r\n InspectionTaskstatus: 1,\r\n UniqueInspectionTaskId: selectedTask?.uniqueInspectionTaskId,\r\n FieldList: fields,\r\n DateChangedIdentifier:isDevReadingChanged,\r\n\t\t\tTestDateChangedIdentifier:isTestDateChanged\r\n };\r\n dispatch(onEquipmentDetailsUpdated(selectedTask?.uniqueInspectionTaskId, selectedRows?.[0]?.EquipmentId, body));\r\n },\r\n [\r\n selectedEquipmentType,\r\n selectedTask,\r\n selectedEquipmentGroup,\r\n selectedRows,\r\n selectedRows?.[0]?.EquipmentId,\r\n selectedRows?.[0]?.EquipmentTypeId,\r\n selectedRows?.[0]?.EquipmentGroupId,\r\n isDevReadingChanged,\r\n\t\t\tisTestDateChanged\r\n ]\r\n );\r\n\r\n\r\n\r\n const onDeleteEquipment = () => {\r\n\t\tconst body = {\r\n\t\t\tequipmentIds: removedEquipmentIds,\r\n\t\t\tUniqueInspectionTaskId: selectedTask?.uniqueInspectionTaskId,\r\n\t\t};\r\n\t\tsetShowProgressBar(true);\r\n setIsDelete(true)\r\n\t\tdispatch(onEquipmentRemoved(selectedTask?.uniqueInspectionTaskId, body));\r\n\t\tsetShowDeletePrompt(false);\r\n onDeleteClick && onDeleteClick(selectedRows)\r\n\t};\r\n\r\n useEffect(() => {\r\n\t\tif (removedEquipment) {\r\n\t\t\tif (removedEquipment?.isSuccess) {\r\n\t\t\t\tfor (let i = 0; i < removedEquipment?.equipmentIds?.length; i++) {\r\n\t\t\t\t\tconst findIndex = gridData?.findIndex((item) => item.EquipmentId == removedEquipment?.equipmentIds[i]);\r\n\t\t\t\t\tif (findIndex >= 0) {\r\n\t\t\t\t\t\tgridData.splice(findIndex, 1);\r\n\t\t\t\t\t}\r\n\t\t\t\t\tsetGridData([...gridData]);\r\n\t\t\t\t\tsetShowDeletePrompt(false);\r\n if (isDelete) {\r\n\t\t\t\t\tsetMessage(removedEquipment?.returnMessage);\r\n\t\t\t\t\tsetIsDelete(false)\r\n\t\t\t\t\tsetDisplayInfoModal(true);\r\n }\r\n setSelectedRows([]);\r\n\t\t\t\t\tsetRemovedEquipment([]);\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tsetDisplayInfoModal(true);\r\n\t\t\t\tsetMessage(removedEquipment?.ReturnMessage);\r\n\t\t\t}\r\n\t\t\tdispatch(setRemovedEquipment(\"\"));\r\n\t\t\tsetShowProgressBar(false);\r\n\t\t}\r\n\t}, [removedEquipment]);\r\n\r\n\r\n\r\n\r\n\r\n const renderFooter = () => {\r\n\t\treturn (\r\n\t\t\t<>\r\n\t\t\t\t)}\r\n\r\n {showIcon && showUI(userPrivileges, \"SIETAP_INSPECTION_EQUIPMENT_MANAGE\") &&\r\n ( onDeleteEquipmentClick()}>\r\n \r\n )}\r\n\r\n {showIcon &&\r\n \r\n }\r\n \r\n \r\n \r\n \r\n \r\n \r\n {showIcon && \r\n \r\n }\r\n {isSearch ?\r\n (\r\n \r\n \r\n ×\r\n\t\t\t\t\t\t\t \r\n ):(\r\n \r\n \r\n \r\n \r\n )}\r\n downloadRef.current?.toggle(e)}>\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n <>\r\n \r\n {columns?.length > 0 && (\r\n \r\n )}\r\n\r\n \r\n
    \r\n <>\r\n {renderDisplaySettings()}\r\n \r\n
\r\n
\r\n \r\n
    \r\n
  • Report All
  • \r\n
  • Report Highlighted
  • \r\n
  • Export All
  • \r\n
  • Export Highlighted
  • \r\n
\r\n
\r\n {showEditEquipment && datafields && (\r\n {\r\n setShowEditEquipment(false);\r\n dispatch(setEquipmentDatafields(\"\"));\r\n }}\r\n uniqueEquipmentClassId={selectedRows[0]?.EquipmentTypeId}\r\n />\r\n )}\r\n {showDeletePrompt && (\r\n setShowDeletePrompt(false)}\r\n className=\"delete-modal\"\r\n >\r\n

{message}

\r\n \r\n )}\r\n\r\n\r\n\r\n {showEditEquipmentList &&\r\n }\r\n {showDisplaySetting && tableColumns?.length &&\r\n \r\n }\r\n {showAttachmentListModal ? (\r\n\t\t\t\t\t\r\n\t\t\t\t) : null}\r\n {showReportModal ? (\r\n \r\n ) : null}\r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default memo(CommonEquipment);","import React, { useEffect, useState } from \"react\";\r\nimport { useForm, Controller } from \"react-hook-form\";\r\nimport { Dropdown } from \"primereact/dropdown\";\r\nimport { classNames } from \"primereact/utils\";\r\nimport { Dialog } from \"primereact/dialog\";\r\nimport ReportViewer from \"components/common/Report/ReportViewer\"\r\nimport { useAppSelector } from \"redux/hooks\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { createReportPreviewSession, setReportPreviewSession } from \"../../../../redux/pages/Administration/Site/siteSlice\";\r\n\r\n\r\ninterface Props {\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n reportFlag: string;\r\n selectedRows: any;\r\n uniqueInspectionTaskId: string;\r\n uniqueSystemId: string;\r\n uniqueDrawingId:string;\r\n sortByColumns: any;\r\n filterType:string;\r\n searchKeyword: string;\r\n}\r\n\r\ntype FormData = {\r\n sortBy: string;\r\n};\r\n\r\nexport const EquipmentSpecificEquipmentReport: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => { },\r\n reportFlag = '',\r\n selectedRows = [],\r\n uniqueInspectionTaskId = \"\",\r\n uniqueSystemId = \"\",\r\n uniqueDrawingId = \"\",\r\n sortByColumns = [],\r\n filterType=\"\",\r\n searchKeyword = ''\r\n}) => {\r\n\r\n const {\r\n control,\r\n } = useForm({\r\n defaultValues: {\r\n sortBy: \"\",\r\n },\r\n });\r\n\r\n const [sortByLookup, setSortByLookup] = useState([{ field: \"\", header: \"\" }]);\r\n const [reportId, setReportId] = useState(null);\r\n const [sortColumn, setSortColumn] = useState(\"\");\r\n const reportPreviewSession = useAppSelector((state) => state.site.reportPreviewSession);\r\n const dispatch = useDispatch();\r\n\r\n useEffect(() => {\r\n if (sortByColumns?.length) {\r\n let sortBy: { field: string; header: string }[] = [];\r\n sortByColumns?.map((item: any) => {\r\n return sortBy.push({ field: item.field, header: item.header });\r\n });\r\n setSortByLookup(sortBy);\r\n }\r\n }, [sortByColumns]);\r\n\r\n const getSelectedIds = () => {\r\n let params: any = [];\r\n selectedRows.map(item => {\r\n params.push(item.EquipmentId);\r\n });\r\n return params;\r\n };\r\n\r\n useEffect(() => {\r\n let params;\r\n if (reportFlag === 'all') {\r\n params = \"\";\r\n } else {\r\n params = getSelectedIds();\r\n }\r\n const reportParameters = {\r\n reportParameters: {\r\n uniqueInspectionTaskId: uniqueInspectionTaskId,\r\n uniqueDrawingId:uniqueDrawingId,\r\n uniqueSystemId: uniqueSystemId,\r\n sortColumn: sortColumn,\r\n selectedIds: params,\r\n filterType:filterType,\r\n searchText: searchKeyword\r\n },\r\n reportType: \"EquipmentSpecific Equipment Report\"\r\n };\r\n dispatch(createReportPreviewSession(reportParameters));\r\n }, [sortColumn]);\r\n\r\n useEffect(() => {\r\n if (reportPreviewSession) {\r\n setReportId(reportPreviewSession.previewSessionId);\r\n }\r\n }, [reportPreviewSession])\r\n\r\n return (\r\n <>\r\n {\r\n dispatch(setReportPreviewSession(\"\"));\r\n setShowModal(false);\r\n }}\r\n className=\"display-settings report selectsite\"\r\n style={{ width: \"90vw\", height: \"600px\" }}\r\n >\r\n
\r\n
\r\n
\r\n
\r\n \r\n (\r\n {\r\n setSortColumn(e.value);\r\n }}\r\n options={sortByLookup}\r\n optionLabel=\"header\"\r\n optionValue=\"header\"\r\n />\r\n )}\r\n />\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default EquipmentSpecificEquipmentReport;\r\n","import React, { useState, useCallback, useEffect, memo } from \"react\";\r\nimport { useForm } from \"react-hook-form\";\r\nimport { Dialog } from \"primereact/dialog\";\r\nimport { Button } from \"primereact/button\";\r\nimport PopOver from \"components/common/PopOver/PopOver\";\r\nimport { ProgressSpinner } from 'primereact/progressspinner';\r\nimport { OverlayPanel } from \"primereact/overlaypanel\";\r\nimport moment from \"moment\";\r\nimport DisplaySetting from \"components/common/DisplaySetting/DisplaySetting\";\r\n//icons\r\nimport { BsPaperclip, BsFillPencilFill, BsSearch, BsTrashFill, BsZoomIn, BsBoxArrowInDownRight } from \"react-icons/bs\";\r\nimport { FaChevronDown, FaDownload } from \"react-icons/fa\";\r\n//components\r\nimport DataTableComponent from \"components/Table/DataTable\";\r\nimport InformationBox from \"components/common/Message/InformationBox/InformationBox\";\r\nimport ConfirmationBox from \"components/common/Message/ConfirmationBox/ConfirmationBox\";\r\n//data\r\n//redux\r\nimport { useDispatch } from \"react-redux\";\r\nimport {\r\n getEquipmentDatafields,\r\n onEquipmentDetailsUpdated,\r\n onEquipmentRemoved,\r\n onEquipmentUsageChecked,\r\n setEquipmentDatafields,\r\n setRemovedEquipment,\r\n setUpdatedEquipment\r\n} from \"redux/pages/Inspection/InspectionTask/InspectionDetails/Equipment/EquipmentSlice\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\n//utility\r\nimport { showUI } from 'service/GeneralUtility';\r\nimport EquipmentListData from \"../ManageInspectionTasks/InspectionDetails/Equipment/EquipmentListData\";\r\nimport EditEquipment from \"../ManageInspectionTasks/InspectionDetails/Equipment/Manage/EditEquipment/EditEquipment\";\r\nimport EditEquipmentList from \"../ManageInspectionTasks/InspectionDetails/Equipment/ManageEquipmentGrp/EditEquipmentGroup\";\r\nimport { getEquipmentTypeList, getDrawingEquipmentList } from \"redux/pages/Inspection/InspectionTask/inspectionDrawingSlice\";\r\nimport { BiUnlink } from \"react-icons/bi\";\r\nimport { Dropdown } from \"primereact/dropdown\";\r\nimport AttachmentList from \"../ManageInspectionTasks/InspectionDetails/Equipment/Manage/Attachments/AttachmentList\";\r\nimport SearchAddress from \"./SearchAddress\";\r\n\r\nimport { onExportReport } from \"redux/common/report/customizeReportSlice\";\r\nimport EquipmentSpecificEquipmentReport from \"./Report/EquipmentSpecificListReport\";\r\n\r\n\r\n\r\ntype EqpGroupFormData = {\r\n address: string;\r\n name: string;\r\n type: string;\r\n};\r\n\r\n\r\ninterface EquipmentListPropType {\r\n selectedTask?: any;\r\n onShowZoomClick: (data: any,showZoomed:boolean) => void;\r\n onShowInDrawing: (data: any,showDrawing:boolean) => void;\r\n onDeleteClick: (data: any) => void;\r\n onDelinkClick: (data: any) => void;\r\n}\r\n\r\nconst EquipmentSpecificList: React.FC = (props) => {\r\n const { selectedTask ,onShowZoomClick, onShowInDrawing, onDeleteClick,onDelinkClick}= props;\r\n\r\n const [pageIndex, setPageIndex] = useState(0);\r\n const [currentStart, setCurrentStart] = useState(0);\r\n const [sortField, setSortField] = useState(\"\");\r\n const [sortOrder, setSortOrder] = useState(\"\");\r\n const [selectedRows, setSelectedRows] = useState([]);\r\n const [selectedEquipmentGroup] = useState(null);\r\n const [selectedEquipmentType, setSelectedEquipmentType] = useState(null);\r\n const [showFilterEquipment, setShowFilterEquipment] = useState(false);\r\n const [showAdvancedSearch, setShowAdvancedSearch] = useState(false);\r\n const [showDisplaySetting, setShowDisplaySetting] = useState(false);\r\n const settingRef = React.createRef();\r\n const downloadRef = React.createRef();\r\n const [columns, setColumns] = useState([]);\r\n const [backupColumns, setBackupColumns] = useState([]);\r\n const [tableColumns, setTableColumns] = useState>(backupColumns);\r\n const [gridData, setGridData] = useState([]);\r\n const [showEditEquipment, setShowEditEquipment] = useState(false);\r\n const [showDeletePrompt, setShowDeletePrompt] = useState(false);\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const [message, setMessage] = useState(\"\");\r\n const [pageDetails, setPageDetails] = useState();\r\n const [showEditEquipmentList, setShowEditEquipmentList] = useState(false);\r\n const [showIcon, setShowIcon] = useState(true);\r\n const [generalProperties, setGeneralProperties] = useState([]);\r\n const [showReportModal, setShowReportModal] = useState(false);\r\n const [reportFlag, setReportFlag] = useState('all');\r\n const [displayConfirmModal, setDisplayConfirmModal] = useState(false);\r\n const [isReset, setIsReset] = useState(false);\r\n const [showAttachmentListModal, setShowAttachmentListModal] = useState(false);\r\n const [showProgressBar, setShowProgressBar] = useState(false);\r\n const [datafields, setDatafields] = useState([]);\r\n const [dataLoaded,setDataLoaded]= useState(false);\r\n const [removedEquipmentIds, setRemovedEquipmentIds] = useState([]);\r\n const [isDelete,setIsDelete]= useState(false);\r\n const [showInDrawing,setShowInDrawing]= useState(false);\r\n const [showZoomed,setShowZoomed]= useState(false);\r\n const [searchAddress, setSearchAddress] = useState();\r\n const [isSearch, setIsSearch] = useState(false)\r\n const [displaySearchModal, setDisplaySearchModal] = useState(false)\r\n\r\n const dispatch = useDispatch();\r\n const selectedTreeNode = useAppSelector((state) => state.inspectionDrawing.selectedTreeNode);\r\n const equipmentList = useAppSelector((state) => state.inspectionDrawing.equipmentSpecificList);\r\n const equipmentTypeList = useAppSelector((state) => state.inspectionDrawing.equipmentTypeList);\r\n const equipmentDatafields = useAppSelector((state) => state.equipment.equipmentDatafields);\r\n const updateEquipment = useAppSelector((state) => state.equipment.updatedEquipment);\r\n const userPrivileges = useAppSelector((state) => state.user.userPrivileges);\r\n const removedEquipment = useAppSelector((state) => state.equipment.removedEquipment);\r\n const isDevReadingChanged = useAppSelector((state) => state.equipment.isDevReadingChanged);\r\n\tconst isTestDateChanged = useAppSelector((state) => state.equipment.IsTestDateChanged);\r\n const loggedInUserDetails = useAppSelector((state) => state.administration.loggedInUserDetails);\r\n const rowsPerPage = useAppSelector((state) => state.personalSettings.rowsPerPage);\r\n\r\n const {\r\n } = useForm({\r\n defaultValues: {\r\n address: \"\",\r\n name: \"\",\r\n type: \"\",\r\n },\r\n });\r\n\r\n useEffect(() => {\r\n if (backupColumns) {\r\n setTableColumns(columns);\r\n }\r\n }, [backupColumns]);\r\n\r\n\r\n useEffect(() => {\r\n if (tableColumns) {\r\n setColumns(tableColumns)\r\n }\r\n\r\n }, [tableColumns])\r\n\r\n useEffect(() => {\r\n dispatch(getEquipmentTypeList(selectedTask?.uniqueInspectionTaskId, selectedTreeNode[0]?.uniqueDrawingId, 1))\r\n }, [selectedTask]);\r\n\r\n useEffect(() => {\r\n if (rowsPerPage && rowsPerPage > 0) {\r\n const body = {\r\n searchText: '',\r\n FilterType: selectedEquipmentType,\r\n isCommon: true\r\n };\r\n dispatch(getDrawingEquipmentList(selectedTask?.uniqueInspectionTaskId, selectedTreeNode[0]?.uniqueDrawingId, \"equipmentSpecific\", body, 0, setDataLoaded, 1));\r\n }\r\n }, [rowsPerPage]);\r\n\r\n useEffect(() => {\r\n if (rowsPerPage && rowsPerPage > 0) {\r\n let modifiedPageDetails = { ...pageDetails, 'currentLength': rowsPerPage, 'pageCount': rowsPerPage };\r\n setPageDetails(modifiedPageDetails);\r\n setCurrentStart(1)\r\n setPageIndex(0)\r\n }\r\n }, [rowsPerPage]);\r\n\r\n const equipmentTypeChange = (event) => {\r\n setSelectedEquipmentType(event.value);\r\n if (selectedTask?.status !== \"Active\")\r\n setShowIcon(false)\r\n else\r\n setShowIcon(true)\r\n const body = {\r\n searchText: '',\r\n FilterType: event.value,\r\n isCommon: true\r\n };\r\n dispatch(getDrawingEquipmentList(selectedTask?.uniqueInspectionTaskId, selectedTreeNode[0]?.uniqueDrawingId, \"equipmentSpecific\", body, 0, setDataLoaded, 1));\r\n setPageIndex(0);\r\n setDisplayInfoModal(false);\r\n }\r\n useEffect(()=>{\r\n if(isSearch) {\r\n const body = {\r\n searchText: searchAddress,\r\n FilterType: selectedEquipmentType,\r\n uniqueEquipmentClassId: \"\",\r\n isCommon: true\r\n };\r\n setGridData([])\r\n dispatch(getDrawingEquipmentList(selectedTask?.uniqueInspectionTaskId, selectedTreeNode[0]?.uniqueDrawingId, \"equipmentSpecific\", body, 0, setDataLoaded, 1));\r\n setPageIndex(0);\r\n setDisplaySearchModal(false);\r\n }\r\n },[isSearch])\r\n\r\n useEffect(() => {\r\n if (equipmentList && dataLoaded) {\r\n setEquipmentData(equipmentList);\r\n }\r\n }, [equipmentList, dataLoaded]);\r\n\r\n const setEquipmentData = (list) => {\r\n setGridData([...list?.data]);\r\n setPageDetails(list?.pageDetails);\r\n setSelectedRows([list?.data[0]]);\r\n setGeneralProperties(list?.generalProperties);\r\n setShowFilterEquipment(false);\r\n setShowAdvancedSearch(false);\r\n }\r\n\r\n useEffect(() => {\r\n\t\tif (equipmentDatafields) {\r\n\t\t\tsetDatafields(equipmentDatafields);\r\n\t\t\tdispatch(setEquipmentDatafields(\"\"));\r\n\t\t}\r\n\t}, [equipmentDatafields])\r\n\r\n const onPageChanged = (options: any) => {\r\n if (options !== pageIndex) {\r\n setPageIndex(options);\r\n let currentStart = options * pageDetails?.currentLength + 1;\r\n setCurrentStart(currentStart);\r\n const body = {\r\n searchText: searchAddress?searchAddress:null,\r\n FilterType: selectedEquipmentType,\r\n isCommon: true\r\n };\r\n dispatch(getDrawingEquipmentList(selectedTask?.uniqueInspectionTaskId, selectedTreeNode[0]?.uniqueDrawingId, \"equipmentSpecific\", body, currentStart,setDataLoaded, 1));\r\n }\r\n };\r\n\r\n const onSort = (event) => {\r\n let sortDirectionValue: string;\r\n if (event.sortOrder === 1) sortDirectionValue = \"ASC\";\r\n else sortDirectionValue = \"DESC\";\r\n setSortField(event.sortField);\r\n setSortOrder(sortDirectionValue);\r\n let body = {\r\n searchText: searchAddress?searchAddress:null,\r\n FilterType: selectedEquipmentType,\r\n isCommon: true\r\n }\r\n dispatch(getDrawingEquipmentList(selectedTask?.uniqueInspectionTaskId, selectedTreeNode[0]?.uniqueDrawingId, \"equipmentSpecific\", body, currentStart, setDataLoaded, 1, event?.sortField, sortDirectionValue));\r\n };\r\n\r\n const handleRowSelect = useCallback((data: any) => {\r\n setSelectedRows([...data]);\r\n }, []);\r\n\r\n\r\n\r\n const onEditEquipmentClick = (type) => {\r\n if (!selectedRows?.length) return;\r\n let body;\r\n body = {\r\n UniqueInspectionTaskId: selectedTask?.uniqueInspectionTaskId,\r\n UniqueEquipmentClassId: selectedRows[0]?.EquipmentTypeId,\r\n UniquePanelId: selectedRows[0]?.EquipmentGroupId,\r\n uniqueSystemId: selectedTask?.system?.uniqueSystemId,\r\n };\r\n if (selectedRows.length > 1) {\r\n setMessage(\"This operation can be performed only one row at a time\");\r\n setDisplayInfoModal(true);\r\n } else if (selectedRows?.length < 1) {\r\n setMessage(\"Select an Equipment\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n body.EquipmentId = selectedRows?.[0]?.EquipmentId;\r\n dispatch(getEquipmentDatafields(body));\r\n setShowEditEquipment(true);\r\n }\r\n };\r\n\r\n const onDeleteEquipmentClick = () => {\r\n if (!selectedRows?.length) return;\r\n\t\tlet list: any = [];\r\n\t\tif (selectedRows?.length) {\r\n\t\t\tfor (let i = 0; i < selectedRows?.length; i++) {\r\n\t\t\t\tlist.push(selectedRows[i].EquipmentId);\r\n\t\t\t}\r\n\t\t}\r\n\t\tconst body = {\r\n\t\t\tequipmentIds: list,\r\n\t\t\tUniqueInspectionTaskId: selectedTask?.uniqueInspectionTaskId,\r\n\t\t};\r\n\t\tdispatch(onEquipmentUsageChecked(body, setShowDeletePrompt, setDisplayInfoModal, setMessage, setRemovedEquipmentIds));\r\n };\r\n\r\n\r\n\r\n\r\n const onEquipmentUpdate = useCallback((fields) => {\r\n const body = {\r\n ClassId: selectedRows?.[0]?.EquipmentTypeId,\r\n SystemId: selectedTask?.system?.uniqueSystemId,\r\n PanelId: selectedRows?.[0]?.EquipmentGroupId,\r\n NfpaClassificationId: 10,\r\n InspectionTaskstatus: 1,\r\n UniqueInspectionTaskId: selectedTask?.uniqueInspectionTaskId,\r\n FieldList: fields,\r\n DateChangedIdentifier:isDevReadingChanged,\r\n\t\t\tTestDateChangedIdentifier:isTestDateChanged\r\n };\r\n dispatch(onEquipmentDetailsUpdated(selectedTask?.uniqueInspectionTaskId, selectedRows?.[0]?.EquipmentId, body));\r\n },\r\n [\r\n selectedEquipmentType,\r\n selectedTask,\r\n selectedEquipmentGroup,\r\n selectedRows,\r\n selectedRows?.[0]?.EquipmentId,\r\n selectedRows?.[0]?.EquipmentTypeId,\r\n selectedRows?.[0]?.EquipmentGroupId,\r\n isDevReadingChanged,\r\n\t\t\tisTestDateChanged\r\n ]\r\n );\r\n\r\n useEffect(() => {\r\n\t\tif (updateEquipment) {\r\n\t\t\tif (updateEquipment.isSuccess === true) {\r\n\t\t\t\tconst findIndex = gridData?.findIndex((item) => item.EquipmentId === updateEquipment?.data?.EquipmentId);\r\n\t\t\t\tif (findIndex >= 0) {\r\n\t\t\t\t\tgridData[findIndex] = updateEquipment.data;\r\n\t\t\t\t\tsetGridData([...gridData]);\r\n setShowEditEquipment(false);\r\n\t\t\t\t\tsetMessage(\"Equipment updated\");\r\n\t\t\t\t\tsetDisplayInfoModal(true);\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tsetMessage(updateEquipment?.message);\r\n\t\t\t\tsetDisplayInfoModal(true);\r\n\t\t\t}\r\n\t\t\tdispatch(setUpdatedEquipment(\"\"));\r\n\t\t}\r\n\t\tsetShowProgressBar(false);\r\n\t}, [updateEquipment]);\r\n\r\n const onDeleteEquipment = () => {\r\n\t\tconst body = {\r\n\t\t\tequipmentIds: removedEquipmentIds,\r\n\t\t\tUniqueInspectionTaskId: selectedTask?.uniqueInspectionTaskId,\r\n\t\t};\r\n\t\tsetShowProgressBar(true);\r\n setIsDelete(true)\r\n\t\tdispatch(onEquipmentRemoved(selectedTask?.uniqueInspectionTaskId, body));\r\n\t\tsetShowDeletePrompt(false);\r\n onDeleteClick && onDeleteClick(selectedRows)\r\n\t};\r\n\r\n useEffect(() => {\r\n\t\tif (removedEquipment) {\r\n\t\t\tif (removedEquipment?.isSuccess) {\r\n\t\t\t\tfor (let i = 0; i < removedEquipment?.equipmentIds?.length; i++) {\r\n\t\t\t\t\tconst findIndex = gridData?.findIndex((item) => item.EquipmentId == removedEquipment?.equipmentIds[i]);\r\n\t\t\t\t\tif (findIndex >= 0) {\r\n\t\t\t\t\t\tgridData.splice(findIndex, 1);\r\n\t\t\t\t\t}\r\n\t\t\t\t\tsetGridData([...gridData]);\r\n\t\t\t\t\tsetShowDeletePrompt(false);\r\n if (isDelete) {\r\n\t\t\t\t\tsetMessage(removedEquipment?.returnMessage);\r\n\t\t\t\t\tsetIsDelete(false)\r\n\t\t\t\t\tsetDisplayInfoModal(true);\r\n }\r\n setSelectedRows([]);\r\n\t\t\t\t\tsetRemovedEquipment([]);\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tsetDisplayInfoModal(true);\r\n\t\t\t\tsetMessage(removedEquipment?.ReturnMessage);\r\n\t\t\t}\r\n\t\t\tdispatch(setRemovedEquipment(\"\"));\r\n\t\t\tsetShowProgressBar(false);\r\n\t\t}\r\n\t}, [removedEquipment]);\r\n\r\n\r\n const renderFooter = () => {\r\n\t\treturn (\r\n\t\t\t<>\r\n\t\t\t\t)}\r\n\r\n {showIcon && showUI(userPrivileges, \"SIETAP_INSPECTION_EQUIPMENT_MANAGE\") &&\r\n ( onDeleteEquipmentClick()}>\r\n \r\n )}\r\n\r\n {showIcon && \r\n \r\n }\r\n {showIcon && \r\n \r\n }\r\n {showIcon && \r\n \r\n }\r\n {showIcon && \r\n \r\n }\r\n {isSearch ?\r\n (\r\n \r\n \r\n ×\r\n\t\t\t\t\t\t\t \r\n ):(\r\n \r\n \r\n \r\n \r\n )}\r\n downloadRef.current?.toggle(e)}>\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n <>\r\n \r\n {columns?.length > 0 && (\r\n \r\n )}\r\n\r\n \r\n
    \r\n <>\r\n {renderDisplaySettings()}\r\n \r\n
\r\n
\r\n \r\n
    \r\n
  • Report All
  • \r\n
  • Report Highlighted
  • \r\n
  • Export All
  • \r\n
  • Export Highlighted
  • \r\n
\r\n
\r\n {showEditEquipment && datafields && (\r\n {\r\n setShowEditEquipment(false);\r\n dispatch(setEquipmentDatafields(\"\"));\r\n }}\r\n uniqueEquipmentClassId={selectedRows[0]?.EquipmentTypeId}\r\n />\r\n )}\r\n {showDeletePrompt && (\r\n setShowDeletePrompt(false)}\r\n className=\"delete-modal\"\r\n >\r\n

{message}

\r\n \r\n )}\r\n\r\n\r\n\r\n {showEditEquipmentList &&\r\n }\r\n {showDisplaySetting && tableColumns?.length &&\r\n \r\n }\r\n {showAttachmentListModal ? (\r\n\t\t\t\t\t\r\n\t\t\t\t) : null}\r\n {showReportModal ? (\r\n \r\n ) : null}\r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default memo(EquipmentSpecificList);","import React from \"react\";\r\nimport { TabView, TabPanel } from 'primereact/tabview';\r\nimport UnassignedEquipments from \"./UnassignedEquipments\";\r\nimport CommonEquipments from \"./CommonEquipments\";\r\nimport EquipmentSpecificList from \"./EquipmentSpecificList\";\r\n\r\n\r\nexport interface NavItemProps {\r\n id: number;\r\n name: string;\r\n url: string;\r\n active: boolean;\r\n}\r\ninterface IInspectionDrawingList {\r\n selectedTask?: any;\r\n onShowZoomClick: (data: any,showZoomed:boolean) => void;\r\n onShowInDrawing: (data: any,showDrawing:boolean) => void;\r\n onAddEquipment: (data: any) => void;\r\n onDelinkClick: (data: any) => void;\r\n onDeleteClick: (data: any) => void;\r\n disableDrawingButtons?:any;\r\n }\r\n\r\nexport const InspectionDrawingList: React.FC = (props) => {\r\n\tconst { selectedTask, onDeleteClick,disableDrawingButtons } = props;\r\n\r\n \r\n return (\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n
\r\n );\r\n};\r\n\r\nexport default InspectionDrawingList;\r\n","import React, { useState } from 'react'\r\n\r\n\r\nimport { AiOutlineDoubleLeft, AiOutlineDoubleRight } from \"react-icons/ai\";\r\nimport { BiDotsVertical } from \"react-icons/bi\";\r\nimport { useAppSelector } from 'redux/hooks';\r\n\r\nimport InspectionDrawings from './InspectionDrawings'\r\nimport InspectionDrawingsList from './InspectionDrawingsList'\r\n\r\n\r\nconst InspectionDrawingsMain = () => {\r\n\r\n const selectedTask = useAppSelector((state) => state.inspectionDrawing.selectedTask); \r\n\r\n const [leftToggle, setLeftToggle] = useState(false); \r\n const [rightToggle, setRightToggle] = useState(false);\r\n const [drawingresize, setDrawingresize] = useState(false);\r\n const [showZoomData, setShowZoomData] = useState();\r\n const [addEquipment, setAddEquipment] = useState();\r\n const [showInDrawing, setShowInDrawing] = useState();\r\n const [isShowDrawing, setIsShowDrawing] = useState(false);\r\n const [isShowZoomed, setIsShowZoomed] = useState(false);\r\n const [delinkData, setDelinkData] = useState();\r\n const [deletedData, setDeletedData] = useState();\r\n\r\n const onShowZoomClick = (rowData: any,showZoomed:boolean) => {\r\n setShowZoomData(rowData);\r\n setIsShowZoomed(showZoomed);\r\n }\r\n const onAddEquipment = (rowData: any) => {\r\n setAddEquipment(rowData);\r\n }\r\n const onShowInDrawing = (rowData: any,showDrawing:boolean) => {\r\n setShowInDrawing(rowData);\r\n setIsShowDrawing(showDrawing)\r\n \r\n\r\n }\r\n\r\n const onDelinkClick = (rowData: any) => {\r\n setDelinkData(rowData);\r\n }\r\n\r\n const onDeleteClick = (rowData: any) => {\r\n setDeletedData(rowData);\r\n }\r\n return (\r\n \r\n <>\r\n
\r\n
\r\n
\r\n
\r\n {\r\n setLeftToggle(!leftToggle);\r\n setRightToggle(false);\r\n setDrawingresize(!leftToggle);\r\n }}\r\n title=\"Expand Drawing\"\r\n >\r\n {rightToggle===false?():}\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n {\r\n setRightToggle(!rightToggle);\r\n setLeftToggle(false);\r\n }}\r\n title=\"Expand Table\"\r\n >\r\n {leftToggle===false?():}\r\n
\r\n < InspectionDrawingsList selectedTask={selectedTask} onShowZoomClick={onShowZoomClick} onAddEquipment={onAddEquipment} onShowInDrawing={onShowInDrawing} onDelinkClick={onDelinkClick} onDeleteClick={onDeleteClick} disableDrawingButtons={isShowDrawing} />\r\n
\r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default InspectionDrawingsMain","import { InputText } from \"primereact/inputtext\";\r\nimport React, { memo, useEffect, useRef, useState } from \"react\";\r\nimport { useForm, Controller } from \"react-hook-form\";\r\nimport { classNames } from \"primereact/utils\";\r\nimport { RadioButton } from \"primereact/radiobutton\";\r\nimport { Dropdown } from \"primereact/dropdown\";\r\nimport { Checkbox } from \"primereact/checkbox\";\r\n//icons\r\nimport { BsExclamationCircleFill } from \"react-icons/bs\";\r\n//components\r\nimport AddModal from \"components/Table/AddModal/AddModal\";\r\n//redux\r\nimport { useDispatch } from \"react-redux\";\r\nimport { getFieldTypes, getInputTypes, setFieldTypes } from \"redux/pages/Manage/InspectionSettings/InspectionFields/InspectionFieldSlice\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\nimport { blockedNonKeyboardCharacters } from \"service/GeneralUtility\";\r\n\r\ninterface AddInspectionFieldPropType {\r\n showModal: boolean;\r\n selectedNode?: any;\r\n parentItem?: any;\r\n onHideModal?: () => void;\r\n onSubmitInspection?: (body) => void;\r\n type?: 'CONTRACT' | 'SYSTEM' | 'QUESTION';\r\n}\r\nconst AddInspectionField: React.FC = (props) => {\r\n const { selectedNode, showModal, parentItem, onHideModal = () => { }, onSubmitInspection = () => { }, type } = props;\r\n\r\n const dispatch = useDispatch();\r\n const inputTypes = useAppSelector((state) => state.InspectionField.inputTypes);\r\n const fieldTypes = useAppSelector((state) => state.InspectionField.fieldTypes);\r\n\r\n const addForm = useRef();\r\n const [selectedType, setSelectedType] = useState(\"dataItem\");\r\n const [selectedAlignment, setSelectedAlignment] = useState(\"vertical\");\r\n const [typesOfInput, setTypesOfInput] = useState({ inputType: \"\", fieldType: \"\" });\r\n\r\n const {\r\n control,\r\n formState: { errors },\r\n handleSubmit,\r\n reset,\r\n setValue,\r\n watch,\r\n } = useForm({\r\n defaultValues: {\r\n dataItemName: \"\",\r\n inputType: \"\",\r\n FieldType: \"\",\r\n datasetName: \"\",\r\n datafieldName: \"\",\r\n isMandatory:false,\r\n isForwardData: false,\r\n isClearDefaultData: false,\r\n maxCharacters: \"\",\r\n isValidated: false,\r\n dataGroupName: \"\",\r\n },\r\n });\r\n\r\n useEffect(() => {\r\n dispatch(getInputTypes());\r\n }, []);\r\n\r\n useEffect(() => {\r\n onDataReset();\r\n }, [selectedType]);\r\n\r\n const onDataReset = () => {\r\n reset();\r\n setSelectedAlignment(\"vertical\");\r\n setTypesOfInput({ inputType: \"\", fieldType: \"\" });\r\n };\r\n\r\n const onInputTypeChanged = (e) => {\r\n dispatch(setFieldTypes([]));\r\n dispatch(getFieldTypes(e.value));\r\n setTypesOfInput((prev) => ({ ...prev, [\"inputType\"]: e.originalEvent.target.ariaLabel }));\r\n if ([5, 6].includes(e.value))\r\n setValue(\"isValidated\", true);\r\n };\r\n\r\n const onFieldChanged = (e) => {\r\n setTypesOfInput((prev) => ({ ...prev, [\"fieldType\"]: e.originalEvent.target.ariaLabel }));\r\n };\r\n\r\n const formSubmitHandler = () => {\r\n addForm.current.requestSubmit();\r\n };\r\n\r\n const textValidate = (value) => {\r\n if (value) {\r\n let invalidCharacters: any = blockedNonKeyboardCharacters(value);\r\n if (invalidCharacters != null && invalidCharacters.length > 0) {\r\n return \"Non-Keyboard character(s) \" + invalidCharacters.join() + \" is not allowed\";\r\n } else {\r\n return true;\r\n }\r\n }\r\n }\r\n\r\n const onSubmit = (data) => {\r\n const body = {\r\n \"dataFieldName\": data?.datafieldName?.trim(),\r\n \"parentGroupId\": parentItem?.uniqueDataFieldId,\r\n \"uniqueDataFieldId\": null,\r\n \"datasetName\": data?.datasetName ? data?.datasetName?.trim() : \"\",\r\n \"fieldTypeId\": data?.FieldType ? data?.FieldType : 0,\r\n \"forwardData\": data?.isForwardData,\r\n \"isMandatory\":data?.isMandatory,\r\n \"clearDefaultData\":data?.isClearDefaultData,\r\n \"nodeId\": selectedNode?.key,\r\n \"inputTypeId\": data?.inputType ? data?.inputType : 0,\r\n \"isHorizontal\": selectedAlignment === \"horizontal\" ? true : false,\r\n \"isSection\": selectedType === \"dataGroup\" ? true : false,\r\n \"isVertical\": selectedAlignment === \"vertical\" ? true : false,\r\n \"isValidated\": data?.isValidated,\r\n \"isValidMultiple\": (typesOfInput?.inputType === \"Check Box(s)\" && data?.isValidated) ? true : false,\r\n \"isValidSingle\": typesOfInput?.inputType === \"Radio Buttons\" ? true : false,\r\n \"maxChars\": data?.maxCharacters ? data?.maxCharacters : 0, \r\n \"Name\": selectedType === \"dataItem\" ? data?.dataItemName?.trim() : data?.dataGroupName?.trim(),\r\n \"nodeName\": selectedNode?.label,\r\n }\r\n onSubmitInspection(body);\r\n\r\n };\r\n\r\n const getFormErrorMessage = (name) => {\r\n return (\r\n errors[name] && (\r\n \r\n \r\n {errors[name].message}\r\n \r\n )\r\n );\r\n };\r\n\r\n return (\r\n \r\n\r\n
\r\n \r\n
\r\n setSelectedType(e.value)}\r\n checked={selectedType === \"dataItem\"}\r\n />\r\n \r\n
\r\n
\r\n \r\n
\r\n setSelectedType(e.value)}\r\n checked={selectedType === \"dataGroup\"}\r\n />\r\n \r\n
\r\n
\r\n
\r\n
\r\n {selectedType === \"dataItem\" ? (\r\n <>\r\n
\r\n \r\n {\r\n return (value.trim().length <= 0? \"This field is required.\" : textValidate(value))\r\n }\r\n }}\r\n render={({ field, fieldState }) => (\r\n \r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"dataItemName\")}\r\n \r\n
\r\n
\r\n \r\n (\r\n {\r\n field.onChange(e.value);\r\n onInputTypeChanged(e);\r\n }}\r\n options={inputTypes}\r\n optionLabel=\"inputTypeName\"\r\n optionValue=\"inputTypeId\"\r\n />\r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"inputType\")}\r\n \r\n
\r\n {typesOfInput.inputType === \"Check Box(s)\" && watch(\"isValidated\") === false ? (\r\n
\r\n \r\n \r\n \r\n
\r\n ) : (\r\n
\r\n \r\n (\r\n {\r\n field.onChange(e.value);\r\n onFieldChanged(e);\r\n }}\r\n options={fieldTypes}\r\n optionLabel=\"fieldTypeName\"\r\n optionValue=\"fieldTypeId\"\r\n />\r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"FieldType\")}\r\n \r\n
\r\n )}\r\n\r\n {((typesOfInput.inputType === \"Text Area\") || ((typesOfInput.inputType === \"Text Box\") && (typesOfInput.fieldType === \"Single Line Text\"))) && (\r\n
\r\n \r\n (\r\n \r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"maxCharacters\")}\r\n \r\n
\r\n )}\r\n {typesOfInput.inputType === \"Radio Buttons\" || typesOfInput.inputType === \"Check Box(s)\" ? (\r\n <>\r\n
\r\n
\r\n
\r\n \r\n (\r\n \r\n )}\r\n />\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n {watch(\"isValidated\") && (\r\n
\r\n
\r\n
\r\n \r\n setSelectedAlignment(e.value)}\r\n checked={selectedAlignment === \"horizontal\"}\r\n />\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n setSelectedAlignment(e.value)}\r\n checked={selectedAlignment === \"vertical\"}\r\n />\r\n \r\n \r\n
\r\n
\r\n
\r\n )}\r\n \r\n ) : null}\r\n
\r\n \r\n {\r\n return ((value.trim().length <= 0) ? \"This field is required.\" : textValidate(value))\r\n }\r\n }}\r\n render={({ field, fieldState }) => (\r\n \r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"datasetName\")}\r\n \r\n
\r\n
\r\n \r\n {\r\n return (value.trim().length <= 0? \"This field is required.\" : textValidate(value))\r\n }\r\n }}\r\n render={({ field, fieldState }) => (\r\n \r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"datafieldName\")}\r\n \r\n
\r\n \r\n
\r\n
\r\n }\r\n />\r\n \r\n
\r\n
\r\n\r\n {type === 'QUESTION' &&\r\n (\r\n
\r\n
\r\n
\r\n }\r\n />\r\n \r\n
\r\n\r\n
\r\n (\r\n \r\n )}\r\n />\r\n \r\n
\r\n
\r\n
\r\n )\r\n }\r\n \r\n ) : (\r\n <>\r\n
\r\n \r\n {\r\n return (value.trim().length <= 0? \"This field is required.\" : textValidate(value))\r\n },\r\n maxLength: {\r\n value : 250,\r\n message : \"Maximum 250 characters allowed\"\r\n },\r\n }}\r\n render={({ field, fieldState }) => (\r\n \r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"dataGroupName\")}\r\n \r\n
\r\n {type === 'QUESTION' &&\r\n (\r\n
\r\n
\r\n
\r\n \r\n (\r\n \r\n )}\r\n />\r\n \r\n \r\n
\r\n
\r\n
\r\n )\r\n }\r\n \r\n )}\r\n
\r\n \r\n );\r\n};\r\n\r\nexport default memo(AddInspectionField);\r\n","\r\nimport { InputText } from \"primereact/inputtext\";\r\nimport React, { memo, useEffect, useRef, useState } from \"react\";\r\nimport { Controller, useForm } from \"react-hook-form\";\r\nimport { classNames } from \"primereact/utils\";\r\nimport { Checkbox } from \"primereact/checkbox\";\r\nimport { RadioButton } from \"primereact/radiobutton\";\r\n//components\r\nimport AddModal from \"components/Table/AddModal/AddModal\";\r\n//icons\r\nimport { BsExclamationCircleFill } from \"react-icons/bs\";\r\nimport { blockedNonKeyboardCharacters } from \"service/GeneralUtility\";\r\n\r\n\r\ninterface EditInspectionFieldPropType {\r\n showModal: boolean;\r\n selectedItem?: any;\r\n selectNode?: any;\r\n onHideModal?: () => void;\r\n onUpdate?: (body) => void;\r\n type?: 'CONTRACT' | 'SYSTEM' | 'QUESTION';\r\n}\r\n\r\nconst EditInspectionField: React.FC = (props) => {\r\n const { showModal, selectedItem, selectNode, onHideModal = () => { }, onUpdate = () => { }, type } = props;\r\n\r\n const editForm = useRef(null)\r\n const [showDataGroupForm, setShowDataGroupForm] = useState(false);\r\n const [inspectionData, setInspectionData] = useState(null);\r\n const [selectedAlignment, setSelectedAlignment] = useState(\"vertical\");\r\n\r\n const {\r\n control,\r\n formState: { errors },\r\n handleSubmit,\r\n setValue,\r\n } = useForm({\r\n defaultValues: {\r\n dataItemName: \"\",\r\n dataGroupName: \"\",\r\n datasetName: \"\",\r\n datafieldName: \"\",\r\n isForwardData: false,\r\n isMandatory:false,\r\n isClearDefaultData: false,\r\n maxCharacters: \"\",\r\n },\r\n });\r\n\r\n useEffect(() => {\r\n if (selectedItem) {\r\n if (selectedItem?.isSection) {\r\n setDataGroupValue(selectedItem);\r\n setShowDataGroupForm(true);\r\n } else {\r\n setShowDataGroupForm(false);\r\n setDataItemValue(selectedItem);\r\n }\r\n }\r\n }, [selectedItem]);\r\n\r\n const setDataGroupValue = (data) => {\r\n setValue(\"dataGroupName\", data.dataFieldName);\r\n setValue(\"isClearDefaultData\", false);\r\n }\r\n\r\n const setDataItemValue = (data) => {\r\n setValue(\"dataItemName\", data.dataFieldName);\r\n setValue(\"datasetName\", data.dataSetName);\r\n setValue(\"datafieldName\", data.dataFieldVariableName);\r\n setValue(\"isForwardData\", data.forwardData);\r\n setValue(\"isMandatory\", data.mandatory);\r\n setValue(\"isClearDefaultData\", false);\r\n setValue(\"maxCharacters\", data.maxLength);\r\n setInspectionData(data);\r\n if (data.isValidated) {\r\n let item = data?.isVerticalList ? \"vertical\" : \"horizontal\";\r\n setSelectedAlignment(item);\r\n }\r\n }\r\n\r\n const formSubmitHandler = () => {\r\n editForm?.current?.requestSubmit();\r\n };\r\n\r\n const onSubmit = (data) => {\r\n\r\n const body = {\r\n \"dataFieldName\": data?.datafieldName?.trim(),\r\n \"parentGroupId\": selectedItem?.parentDataFieldId,\r\n \"uniqueDataFieldId\": selectedItem?.uniqueDataFieldId,\r\n \"datasetName\": data?.datasetName ? data?.datasetName?.trim() : \"\",\r\n \"fieldTypeId\": selectedItem?.dataType?.dataTypeId,\r\n \"forwardData\": data?.isForwardData,\r\n \"isMandatory\":data?.isMandatory,\r\n \"clearDefaultData\":data?.isClearDefaultData,\r\n \"nodeId\": selectNode?.key,\r\n \"inputTypeId\": selectedItem?.dataType?.dataEntryControlId,\r\n \"isHorizontal\": selectedAlignment === \"horizontal\" ? true : false,\r\n \"isSection\": selectedItem?.isSection,\r\n \"isVertical\": selectedAlignment === \"vertical\" ? true : false,\r\n \"isValidated\": selectedItem?.isValidated,\r\n \"isValidMultiple\": selectedItem?.isValidMultiple,\r\n \"isValidSingle\": selectedItem?.isValidSingle,\r\n \"maxChars\": data?.maxCharacters,\r\n \"Name\": selectedItem?.isSection ? data?.dataGroupName?.trim() : data?.dataItemName?.trim(),\r\n \"nodeName\": selectNode?.label,\r\n }\r\n onUpdate(body);\r\n };\r\n\r\n const getFormErrorMessage = (name) => {\r\n return (\r\n errors[name] && (\r\n \r\n \r\n {errors[name].message}\r\n \r\n )\r\n );\r\n };\r\n\r\n const textValidate = (value) => {\r\n if (value) {\r\n let invalidCharacters: any = blockedNonKeyboardCharacters(value);\r\n if (invalidCharacters != null && invalidCharacters.length > 0) {\r\n return \"Non-Keyboard character(s) \" + invalidCharacters.join() + \" is not allowed\";\r\n } else {\r\n return true;\r\n }\r\n }\r\n }\r\n\r\n return (\r\n \r\n
\r\n {showDataGroupForm ? (\r\n <>\r\n
\r\n \r\n {\r\n return (value.trim().length <= 0? \"This field is required.\" : textValidate(value))\r\n },\r\n maxLength: {\r\n value : 250,\r\n message : \"Maximum 250 characters allowed\"\r\n },\r\n }}\r\n render={({ field, fieldState }) => (\r\n \r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"dataGroupName\")}\r\n \r\n
\r\n {type === 'QUESTION' &&\r\n (\r\n
\r\n
\r\n \r\n (\r\n \r\n )}\r\n />\r\n \r\n \r\n
\r\n
\r\n )\r\n }\r\n \r\n ) : (\r\n <>\r\n
\r\n \r\n {\r\n return (value.trim().length <= 0? \"This field is required.\" : textValidate(value))\r\n }\r\n }}\r\n render={({ field, fieldState }) => (\r\n \r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"dataItemName\")}\r\n \r\n
\r\n {inspectionData?.dataEntryControl?.dataEntryControlName === \"Text Area\" && (\r\n
\r\n \r\n (\r\n \r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"maxCharacters\")}\r\n \r\n
\r\n )}\r\n {inspectionData?.isValidated ? (\r\n
\r\n \r\n setSelectedAlignment(e.value)}\r\n checked={selectedAlignment === \"horizontal\"}\r\n />\r\n \r\n \r\n \r\n setSelectedAlignment(e.value)}\r\n checked={selectedAlignment === \"vertical\"}\r\n />\r\n \r\n \r\n
\r\n ) : null}\r\n
\r\n \r\n {\r\n return (value.trim().length <= 0? \"This field is required.\" : textValidate(value))\r\n }\r\n }}\r\n render={({ field, fieldState }) => (\r\n \r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"datasetName\")}\r\n \r\n
\r\n
\r\n \r\n {\r\n return (value.trim().length <= 0? \"This field is required.\" : textValidate(value))\r\n }\r\n }}\r\n render={({ field, fieldState }) => (\r\n \r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"datafieldName\")}\r\n \r\n
\r\n
\r\n
\r\n }\r\n />\r\n \r\n
\r\n
\r\n {type === 'QUESTION' &&\r\n (\r\n
\r\n
\r\n
\r\n \r\n }\r\n />\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n }\r\n />\r\n \r\n \r\n
\r\n
\r\n
\r\n )\r\n }\r\n \r\n )\r\n }\r\n
\r\n \r\n );\r\n};\r\n\r\nexport default memo(EditInspectionField);\r\n","import React, { memo, useEffect, useRef, useState } from 'react'\r\nimport { Button } from 'primereact/button';\r\nimport { Column } from 'primereact/column';\r\nimport { DataTable } from 'primereact/datatable';\r\nimport { Dialog } from 'primereact/dialog';\r\nimport { InputText } from 'primereact/inputtext';\r\nimport { classNames } from 'primereact/utils';\r\nimport { Controller, useForm } from 'react-hook-form';\r\n//components\r\nimport AddModal from 'components/Table/AddModal/AddModal';\r\n//icons\r\nimport { BsExclamationCircleFill, BsTrash } from 'react-icons/bs';\r\nimport { FaSave } from 'react-icons/fa';\r\nimport { MdOutlineEdit } from 'react-icons/md';\r\n\r\ninterface AddInspectionFieldValuesPropType {\r\n selectedField?: any;\r\n showModal: boolean;\r\n fieldValueList?: any;\r\n onHideModal?: () => void;\r\n onAddFieldValue?: (data,reset) => void;\r\n onUpdateFieldValue?: (data) => void;\r\n onDeleteFieldValue?: (data) => void;\r\n}\r\nconst AddInspectionFieldValues: React.FC = (props) => {\r\n const { showModal, fieldValueList, selectedField, onHideModal = () => { }, onAddFieldValue = () => { }, onUpdateFieldValue = () => { }, onDeleteFieldValue = () => { } } = props;\r\n\r\n const [showDeletePrompt, setShowDeletePrompt] = useState(false);\r\n const [editingRows, setEditingRows] = useState(null);\r\n const [selectedItem, setSelectedItem] = useState(null);\r\n const [showErrorTooltip, setShowErrorTooltip] = useState(false);\r\n const addForm = useRef();\r\n const {\r\n control,\r\n formState: { errors },\r\n handleSubmit,\r\n reset,\r\n } = useForm({\r\n defaultValues: {\r\n fieldValue: \"\",\r\n },\r\n });\r\n\r\n useEffect(() => {\r\n setShowDeletePrompt(false);\r\n setEditingRows(null);\r\n }, [fieldValueList]);\r\n\r\n const addFieldValues = (data) => {\r\n onAddFieldValue(data?.fieldValue,reset); \r\n };\r\n\r\n document.addEventListener(\"mousedown\", (e: any) => {\r\n const tableEl = document.getElementById(`field-table`);\r\n if (!tableEl?.contains(e.target)) {\r\n setEditingRows(null);\r\n setShowErrorTooltip(false);\r\n }\r\n });\r\n\r\n const onUpdate = (data) => {\r\n if (data?.dataFieldLookupValue) {\r\n onUpdateFieldValue(data)\r\n } else {\r\n setShowErrorTooltip(true);\r\n }\r\n\r\n }\r\n\r\n const checkType = () => {\r\n if (selectedField?.dataType?.dataTypeName === \"Numeric\") {\r\n return \"number\";\r\n } else if(selectedField?.dataType?.dataTypeName === \"Integer\") {\r\n return \"integer\"\r\n }\r\n else{\r\n return \"text\";\r\n }\r\n }\r\n\r\n const renderFooter = () => {\r\n return (\r\n <>\r\n \r\n ) : (\r\n \r\n )\r\n }\r\n \r\n \r\n );\r\n }\r\n\r\n const getFormErrorMessage = (name) => {\r\n return (\r\n errors[name] && (\r\n \r\n \r\n {errors[name].message}\r\n \r\n )\r\n );\r\n };\r\n\r\n const getGridErrorMessage = (name) => {\r\n return (\r\n showErrorTooltip && (\r\n \r\n \r\n This field is required\r\n \r\n )\r\n );\r\n };\r\n\r\n const integerValidate = (value: any) => {\r\n if (value) {\r\n if (value % 1 != 0) {\r\n return \"Enter an integer value\";\r\n } else {\r\n return !!value;\r\n }\r\n }\r\n };\r\n\r\n const decimalValidate = (value) => {\r\n if (!isNaN(value)) {\r\n return !!value;\r\n } else {\r\n return \"Enter a Numeric value\";\r\n }\r\n };\r\n\r\n\r\n return (\r\n \r\n
\r\n
\r\n
\r\n General\r\n
\r\n
\r\n
\r\n
\r\n \r\n (\r\n \r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"fieldValue\")}\r\n \r\n
\r\n\r\n\r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n {showDeletePrompt &&\r\n setShowDeletePrompt(false)}\r\n className='delete-modal'\r\n >\r\n

Are you sure you want to delete the field Value ?

\r\n \r\n }\r\n\r\n \r\n )\r\n}\r\n\r\nexport default memo(AddInspectionFieldValues);","import React, { memo, useCallback, useEffect, useState } from 'react'\r\nimport { Button } from 'primereact/button';\r\nimport { Dialog } from 'primereact/dialog';\r\n//components\r\nimport AddInspectionField from '../Manage/AddInspectionField/AddInspectionField';\r\nimport EditInspectionField from '../Manage/EditInspectionField/EditInspectionField';\r\nimport InspectionForms from 'components/common/Forms/InspectionForm/InspectionForms';\r\nimport InformationBox from 'components/common/Message/InformationBox/InformationBox';\r\nimport AddInspectionFieldValues from '../Manage/AddInspectionFieldValues/AddInspectionFieldValues';\r\n//utility\r\nimport { addFieldValues, addNewInspectionField, deleteInspectionQuestion, removeFieldValue, updateFieldValue, updateInspectionQuestion } from '../Utility/InspectionFieldUtility';\r\n//redux\r\nimport { useDispatch } from 'react-redux';\r\nimport { useAppSelector } from 'redux/hooks';\r\nimport { checkUsageOfContractInspectionField, checkUsageOfContractInspectionFieldValue, onAddContractInspectionField, onAddNewContractInspectionFieldValue, onGetInspectionContracts, onUpdateContractInspectionField, onUpdateContractInspectionFieldValue, setDeletedContractInspectionField, setDeletedFieldValue, setInspectionContracts, setIsCheckInUse, setNewContractInspectionField, setNewFieldValue, setUpdatedContractInspectionField, setupdatedFieldValue } from 'redux/pages/Manage/InspectionSettings/InspectionFields/InspectionFieldSlice';\r\n\r\ninterface ContractPropTypes {\r\n\r\n}\r\nconst Contract: React.FC = (props) => {\r\n const { } = props;\r\n\r\n const [inspectionFormSetup, setInspectionFormSetup] = useState({});\r\n const [showAddInspectionField, setShowAddInspectionField] = useState(false);\r\n const [selectedInspection, setSelectedInspection] = useState(null);\r\n const [showEditInspectionField, setShowEditInspectionField] = useState(false);\r\n const [showDeletePrompt, setShowDeletePrompt] = useState(false);\r\n const [showAddInspectionFieldValues, setShowAddInspectionFieldValues] = useState(false);\r\n const [fieldValueList, setFieldValueList] = useState([]);\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const [message, setMessage] = useState(\"\");\r\n\r\n const dispatch = useDispatch();\r\n const inspectionContracts = useAppSelector((state) => state.InspectionField.inspectionContracts);\r\n const newContractInspectionField = useAppSelector((state) => state.InspectionField.newContractInspectionField);\r\n const newFieldValue = useAppSelector((state) => state.InspectionField.newFieldValue);\r\n const updatedFieldValue = useAppSelector((state) => state.InspectionField.updatedFieldValue);\r\n const deletedFieldValue = useAppSelector((state) => state.InspectionField.deletedFieldValue);\r\n const updatedContractInspectionField = useAppSelector((state) => state.InspectionField.updatedContractInspectionField);\r\n const deletedContractInspectionField = useAppSelector((state) => state.InspectionField.deletedContractInspectionField);\r\n const isCheckInUse = useAppSelector((state) => state.InspectionField.isCheckInUse);\r\n\r\n useEffect(() => {\r\n dispatch(onGetInspectionContracts());\r\n }, []);\r\n\r\n useEffect(() => {\r\n if (newContractInspectionField) {\r\n if (newContractInspectionField?.isSuccess) {\r\n let convNewField = JSON.parse(JSON.stringify(newContractInspectionField?.data))\r\n setShowAddInspectionField(false);\r\n const result = addNewInspectionField(selectedInspection, inspectionFormSetup?.inspectionGroupFields, convNewField);\r\n inspectionFormSetup.inspectionGroupFields = result;\r\n setInspectionFormSetup({ ...inspectionFormSetup });\r\n if (convNewField?.isValidated) {\r\n setShowAddInspectionFieldValues(true);\r\n } else {\r\n setMessage(\"Data Field Added\");\r\n setDisplayInfoModal(true);\r\n dispatch(setNewContractInspectionField(\"\"));\r\n }\r\n } else {\r\n setMessage(newContractInspectionField?.message);\r\n setDisplayInfoModal(true);\r\n }\r\n }\r\n }, [newContractInspectionField]);\r\n\r\n useEffect(() => {\r\n if (newFieldValue) {\r\n if (newFieldValue?.isSuccess) {\r\n let newField = JSON.parse(JSON.stringify(newFieldValue?.validatedFields))\r\n const selectedFields = newContractInspectionField?.data ? newContractInspectionField?.data : selectedInspection;\r\n const result = addFieldValues(selectedFields, inspectionFormSetup?.inspectionGroupFields, newField, fieldValueList);\r\n inspectionFormSetup.inspectionGroupFields = result;\r\n setInspectionFormSetup({ ...inspectionFormSetup });\r\n setFieldValueList([...fieldValueList]);\r\n setMessage(\"Additional Data Field Value added\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n setMessage(newFieldValue?.message);\r\n setDisplayInfoModal(true);\r\n }\r\n dispatch(setNewFieldValue(\"\"));\r\n }\r\n }, [newFieldValue]);\r\n\r\n useEffect(() => {\r\n if (inspectionContracts) {\r\n let value: any = JSON.stringify(inspectionContracts);\r\n value = value.replace(/\\\"inspectionGroupSectionId\\\":/g, '\"key\":');\r\n value = value.replace(/\\\"inspectionGroupSectionName\\\":/g, '\"label\":');\r\n value = value.replace(/\\\"inspectionGroupSections\\\":/g, '\"children\":');\r\n value = JSON.parse(value);\r\n setInspectionFormSetup(value);\r\n dispatch(setInspectionContracts(\"\"))\r\n }\r\n }, [inspectionContracts])\r\n\r\n useEffect(() => {\r\n if (updatedFieldValue) {\r\n if (updatedFieldValue?.isSuccess) {\r\n const selectedFields = newContractInspectionField?.data ? newContractInspectionField?.data : selectedInspection;\r\n const result = updateFieldValue(selectedFields, inspectionFormSetup?.inspectionGroupFields, updatedFieldValue?.validatedFields, fieldValueList);\r\n inspectionFormSetup.inspectionGroupFields = result;\r\n setInspectionFormSetup({ ...inspectionFormSetup });\r\n setFieldValueList([...fieldValueList]);\r\n setMessage(\"Additional Data Field Value updated\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n setMessage(updatedFieldValue?.message);\r\n setDisplayInfoModal(true);\r\n }\r\n dispatch(setupdatedFieldValue(\"\"));\r\n }\r\n }, [updatedFieldValue]);\r\n\r\n useEffect(() => {\r\n if (deletedFieldValue) {\r\n const selectedFields = newContractInspectionField?.data ? newContractInspectionField?.data : selectedInspection;\r\n const result = removeFieldValue(selectedFields, inspectionFormSetup?.inspectionGroupFields, deletedFieldValue, fieldValueList);\r\n inspectionFormSetup.inspectionGroupFields = result;\r\n setInspectionFormSetup({ ...inspectionFormSetup });\r\n dispatch(setDeletedFieldValue(\"\"));\r\n setFieldValueList([...fieldValueList]);\r\n setMessage(\"Selected Additional Data Field Value deleted\");\r\n setDisplayInfoModal(true);\r\n setShowDeletePrompt(false);\r\n }\r\n }, [deletedFieldValue]);\r\n\r\n useEffect(() => {\r\n if (updatedContractInspectionField) {\r\n if (updatedContractInspectionField?.isSuccess) {\r\n let convField = JSON.parse(JSON.stringify(updatedContractInspectionField?.data))\r\n const result = updateInspectionQuestion(selectedInspection, inspectionFormSetup?.inspectionGroupFields, convField);\r\n inspectionFormSetup.inspectionGroupFields = result;\r\n setInspectionFormSetup({ ...inspectionFormSetup });\r\n setShowEditInspectionField(false);\r\n setMessage(\"Data Field Updated\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n setMessage(newContractInspectionField?.message);\r\n setDisplayInfoModal(true);\r\n }\r\n dispatch(setUpdatedContractInspectionField(\"\"));\r\n }\r\n }, [updatedContractInspectionField]);\r\n\r\n useEffect(() => {\r\n if (deletedContractInspectionField) {\r\n const result = deleteInspectionQuestion(selectedInspection, inspectionFormSetup?.inspectionGroupFields, deletedContractInspectionField);\r\n inspectionFormSetup.inspectionGroupFields = result;\r\n setInspectionFormSetup({ ...inspectionFormSetup });\r\n dispatch(setDeletedContractInspectionField(\"\"));\r\n setShowDeletePrompt(false);\r\n setMessage(\"Data Field Deleted\");\r\n setDisplayInfoModal(true);\r\n }\r\n }, [deletedContractInspectionField])\r\n\r\n useEffect(() => {\r\n if (isCheckInUse) {\r\n setMessage(\"Selected Data Item is in use, cannot be deleted\");\r\n setDisplayInfoModal(true);\r\n setShowDeletePrompt(false);\r\n dispatch(setIsCheckInUse(false));\r\n }\r\n }, [isCheckInUse])\r\n\r\n const onAddClick = useCallback((data) => {\r\n if (data?.isValidated) {\r\n setShowAddInspectionFieldValues(true);\r\n setFieldValueList(data?.validatedValues)\r\n } else {\r\n setShowAddInspectionField(true);\r\n }\r\n setSelectedInspection(data);\r\n }, [showAddInspectionField, selectedInspection, showAddInspectionFieldValues, fieldValueList]);\r\n\r\n const onEditClick = useCallback((data) => {\r\n if (data) {\r\n setShowEditInspectionField(true);\r\n setSelectedInspection(data);\r\n }\r\n }, [selectedInspection, showEditInspectionField]);\r\n\r\n const onDeleteClick = useCallback((data) => {\r\n if (data) {\r\n setShowDeletePrompt(true);\r\n setSelectedInspection(data);\r\n }\r\n }, [showDeletePrompt])\r\n\r\n const onSubmitInspection = useCallback((body) => {\r\n dispatch(onAddContractInspectionField(body));\r\n }, []);\r\n\r\n const onUpdateInspection = useCallback((body) => {\r\n dispatch(onUpdateContractInspectionField(body?.uniqueDataFieldId, body));\r\n }, []);\r\n\r\n const onDeleteInspectionField = useCallback((deletedItem) => {\r\n let body = {\r\n isSection: deletedItem?.isSection\r\n }\r\n dispatch(checkUsageOfContractInspectionField(deletedItem?.uniqueDataFieldId, body, deletedItem))\r\n }, [])\r\n\r\n const onAddFieldValue = useCallback((fieldName, reset) => {\r\n const selectedFields = newContractInspectionField?.data ? newContractInspectionField?.data : selectedInspection;\r\n let body = {\r\n fieldvalue: fieldName,\r\n dataEntryControlId: selectedFields?.dataEntryControl?.dataEntryControlId\r\n };\r\n dispatch(onAddNewContractInspectionFieldValue(selectedFields?.uniqueDataFieldId, body, reset));\r\n }, [newContractInspectionField, selectedInspection]);\r\n\r\n const onUpdateFieldValue = useCallback((newData) => {\r\n const selectedFields = newContractInspectionField?.data ? newContractInspectionField?.data : selectedInspection;\r\n let body = {\r\n fieldvalue: newData?.dataFieldLookupValue\r\n }\r\n dispatch(onUpdateContractInspectionFieldValue(selectedFields?.uniqueDataFieldId, newData.dataFieldLookupId, body, newData));\r\n }, [selectedInspection, newContractInspectionField]);\r\n\r\n const onDeleteFieldValue = useCallback((deletedItem) => {\r\n const selectedFields = newContractInspectionField?.data ? newContractInspectionField?.data : selectedInspection;\r\n dispatch(checkUsageOfContractInspectionFieldValue(selectedFields?.uniqueDataFieldId, deletedItem?.dataFieldLookupId, deletedItem));\r\n }, [selectedInspection, newContractInspectionField]);\r\n\r\n const renderFooter = () => {\r\n return (\r\n <>\r\n \r\n setShowEditNode(true)}\r\n >\r\n \r\n \r\n onDeleteParentGroupSections(inspectionFormSetup)}\r\n >\r\n \r\n \r\n \r\n \r\n \r\n setExpandedKeys(e.value)}\r\n expandedKeys={expandedKeys}\r\n selectedItem={selectedItem}\r\n isCustomTemplateForNode = {true }/>\r\n \r\n \r\n \r\n {showAddInspectionField &&\r\n setShowAddInspectionField(false)}\r\n />\r\n }\r\n {showEditInspectionField &&\r\n setShowEditInspectionField(false)} />\r\n }\r\n {showAddInspectionFieldValues &&\r\n {\r\n setShowAddInspectionFieldValues(false);\r\n dispatch(setNewQuestionInspectionField(\"\"));\r\n setFieldValueList([]);\r\n }}\r\n showModal={showAddInspectionFieldValues} />\r\n }\r\n {showDeletePrompt &&\r\n setShowDeletePrompt(false)}\r\n className='delete-modal'\r\n >\r\n {selectedInspection?.isSection ?\r\n

Are you sure you want to delete the selected Data Group ?

:\r\n

Are you sure you want to delete the selected Data Item ?

\r\n }\r\n \r\n }\r\n {showAddNode &&\r\n setShowAddNode(false)}\r\n />\r\n }\r\n {showEditNode &&\r\n setShowEditNode(false)}\r\n />\r\n }\r\n {showDeleteNode &&\r\n setShowDeleteNode(false)}\r\n className='delete-modal'\r\n >\r\n

Are you sure you want to delete the Group Section ?

\r\n \r\n }\r\n \r\n {showFieldPrompt &&\r\n \r\n \r\n }\r\n {showNodePrompt &&\r\n \r\n \r\n }\r\n \r\n );\r\n});\r\n\r\nexport default memo(Question);\r\n","\r\nimport React, { memo, useCallback, useEffect, useState } from 'react'\r\nimport { Button } from 'primereact/button';\r\nimport { Dialog } from 'primereact/dialog';\r\n//components\r\nimport AddInspectionField from '../Manage/AddInspectionField/AddInspectionField';\r\nimport EditInspectionField from '../Manage/EditInspectionField/EditInspectionField';\r\nimport InspectionForms from 'components/common/Forms/InspectionForm/InspectionForms';\r\nimport InformationBox from 'components/common/Message/InformationBox/InformationBox';\r\nimport AddInspectionFieldValues from '../Manage/AddInspectionFieldValues/AddInspectionFieldValues';\r\n//utility\r\nimport { addFieldValues, addNewInspectionField, deleteInspectionQuestion, removeFieldValue, updateFieldValue, updateInspectionQuestion } from '../Utility/InspectionFieldUtility';\r\n//redux\r\nimport { useDispatch } from 'react-redux';\r\nimport { useAppSelector } from 'redux/hooks';\r\nimport { checkUsageOfSystemInspectionField, checkUsageOfSystemInspectionFieldValue, onAddNewSystemInspectionFieldValue, onAddSystemInspectionField, onGetInspectionSystems, onUpdateSystemInspectionField, onUpdateSystemInspectionFieldValue, setDeletedFieldValue, setDeletedSystemInspectionField, setInspectionSystems, setIsCheckInUse, setNewFieldValue, setNewSystemInspectionField, setupdatedFieldValue, setUpdatedSystemInspectionField,setUpdatedInspectionDatafieldOrder} from 'redux/pages/Manage/InspectionSettings/InspectionFields/InspectionFieldSlice';\r\n\r\ninterface SystemPropType {\r\n\r\n}\r\nconst System: React.FC = (props) => {\r\n const { } = props;\r\n\r\n const [inspectionFormSetup, setInspectionFormSetup] = useState({});\r\n const [showAddInspectionField, setShowAddInspectionField] = useState(false);\r\n const [selectedInspection, setSelectedInspection] = useState(null);\r\n const [showEditInspectionField, setShowEditInspectionField] = useState(false);\r\n const [showDeletePrompt, setShowDeletePrompt] = useState(false);\r\n const [showAddInspectionFieldValues, setShowAddInspectionFieldValues] = useState(false);\r\n const [fieldValueList, setFieldValueList] = useState([]);\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const [message, setMessage] = useState(\"\");\r\n\r\n const dispatch = useDispatch();\r\n const inspectionSystems = useAppSelector((state) => state.InspectionField.inspectionSystems);\r\n const newSystemInspectionField = useAppSelector((state) => state.InspectionField.newSystemInspectionField);\r\n const newFieldValue = useAppSelector((state) => state.InspectionField.newFieldValue);\r\n const updatedFieldValue = useAppSelector((state) => state.InspectionField.updatedFieldValue);\r\n const deletedFieldValue = useAppSelector((state) => state.InspectionField.deletedFieldValue);\r\n const updatedSystemInspectionField = useAppSelector((state) => state.InspectionField.updatedSystemInspectionField);\r\n const deletedSystemInspectionField = useAppSelector((state) => state.InspectionField.deletedSystemInspectionField);\r\n const isCheckInUse = useAppSelector((state) => state.InspectionField.isCheckInUse);\r\n const updatedInspectionDatafieldOrder = useAppSelector((state) => state.InspectionField.updatedInspectionDatafieldOrder);\r\n\r\n useEffect(() => {\r\n dispatch(onGetInspectionSystems());\r\n }, []);\r\n\r\n useEffect(() => {\r\n if (newSystemInspectionField) {\r\n if (newSystemInspectionField?.isSuccess) {\r\n let convNewField = JSON.parse(JSON.stringify(newSystemInspectionField?.data))\r\n setShowAddInspectionField(false);\r\n const result = addNewInspectionField(selectedInspection, inspectionFormSetup?.inspectionGroupFields, convNewField);\r\n inspectionFormSetup.inspectionGroupFields = result;\r\n setInspectionFormSetup({ ...inspectionFormSetup });\r\n if (convNewField?.isValidated) {\r\n setShowAddInspectionFieldValues(true);\r\n } else {\r\n setMessage(\"Data Field Added\");\r\n setDisplayInfoModal(true);\r\n dispatch(setNewSystemInspectionField(\"\"));\r\n }\r\n } else {\r\n setMessage(newSystemInspectionField?.message);\r\n setDisplayInfoModal(true);\r\n }\r\n }\r\n }, [newSystemInspectionField]);\r\n\r\n useEffect(() => {\r\n if (newFieldValue) {\r\n if (newFieldValue?.isSuccess) {\r\n let newField = JSON.parse(JSON.stringify(newFieldValue?.validatedFields));\r\n const selectedFields = newSystemInspectionField?.data ? newSystemInspectionField?.data : selectedInspection;\r\n const result = addFieldValues(selectedFields, inspectionFormSetup?.inspectionGroupFields, newField, fieldValueList);\r\n inspectionFormSetup.inspectionGroupFields = result;\r\n setInspectionFormSetup({ ...inspectionFormSetup });\r\n setFieldValueList([...fieldValueList]);\r\n setMessage(\"Additional Data Field Value added\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n setMessage(newFieldValue?.message);\r\n setDisplayInfoModal(true);\r\n }\r\n dispatch(setNewFieldValue(\"\"));\r\n }\r\n }, [newFieldValue]);\r\n\r\n useEffect(() => {\r\n if (updatedFieldValue) {\r\n if (updatedFieldValue?.isSuccess) {\r\n const selectedFields = newSystemInspectionField?.data ? newSystemInspectionField?.data : selectedInspection;\r\n const result = updateFieldValue(selectedFields, inspectionFormSetup?.inspectionGroupFields, updatedFieldValue?.validatedFields, fieldValueList);\r\n inspectionFormSetup.inspectionGroupFields = result;\r\n setInspectionFormSetup({ ...inspectionFormSetup });\r\n setFieldValueList([...fieldValueList]);\r\n setMessage(\"Additional Data Field Value updated\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n setMessage(updatedFieldValue?.message);\r\n setDisplayInfoModal(true);\r\n }\r\n dispatch(setupdatedFieldValue(\"\"));\r\n }\r\n }, [updatedFieldValue]);\r\n\r\n useEffect(() => {\r\n if (inspectionSystems) {\r\n let value: any = JSON.stringify(inspectionSystems);\r\n value = value.replace(/\\\"inspectionGroupSectionId\\\":/g, '\"key\":');\r\n value = value.replace(/\\\"inspectionGroupSectionName\\\":/g, '\"label\":');\r\n value = value.replace(/\\\"inspectionGroupSections\\\":/g, '\"children\":');\r\n value = JSON.parse(value);\r\n setInspectionFormSetup(value);\r\n dispatch(setInspectionSystems(\"\"));\r\n }\r\n }, [inspectionSystems])\r\n\r\n useEffect(() => {\r\n if (deletedFieldValue) {\r\n const selectedFields = newSystemInspectionField?.data ? newSystemInspectionField?.data : selectedInspection;\r\n const result = removeFieldValue(selectedFields, inspectionFormSetup?.inspectionGroupFields, deletedFieldValue, fieldValueList);\r\n inspectionFormSetup.inspectionGroupFields = result;\r\n setInspectionFormSetup({ ...inspectionFormSetup });\r\n dispatch(setDeletedFieldValue(\"\"));\r\n setFieldValueList([...fieldValueList]);\r\n setMessage(\"Selected Additional Data Field Value deleted\");\r\n setDisplayInfoModal(true);\r\n setShowDeletePrompt(false);\r\n }\r\n }, [deletedFieldValue]);\r\n\r\n useEffect(() => {\r\n if (updatedSystemInspectionField) {\r\n if (updatedSystemInspectionField?.isSuccess) {\r\n let convField = JSON.parse(JSON.stringify(updatedSystemInspectionField?.data));\r\n const result = updateInspectionQuestion(selectedInspection, inspectionFormSetup?.inspectionGroupFields, convField);\r\n inspectionFormSetup.inspectionGroupFields = result;\r\n setInspectionFormSetup({ ...inspectionFormSetup });\r\n setShowEditInspectionField(false);\r\n setMessage(\"Data Field Updated\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n setMessage(updatedSystemInspectionField?.message);\r\n setDisplayInfoModal(true);\r\n }\r\n dispatch(setUpdatedSystemInspectionField(\"\"));\r\n }\r\n }, [updatedSystemInspectionField]);\r\n\r\n useEffect(() => {\r\n if (deletedSystemInspectionField) {\r\n const result = deleteInspectionQuestion(selectedInspection, inspectionFormSetup?.inspectionGroupFields, deletedSystemInspectionField);\r\n inspectionFormSetup.inspectionGroupFields = result;\r\n setInspectionFormSetup({ ...inspectionFormSetup });\r\n dispatch(setDeletedSystemInspectionField(\"\"));\r\n setShowDeletePrompt(false);\r\n setMessage(\"Data Field Deleted\");\r\n setDisplayInfoModal(true);\r\n }\r\n }, [deletedSystemInspectionField])\r\n\r\n useEffect(() => {\r\n if (isCheckInUse) {\r\n setMessage(\"Selected Data Item is in use, cannot be deleted\");\r\n setDisplayInfoModal(true);\r\n dispatch(setDeletedSystemInspectionField(\"\"));\r\n setShowDeletePrompt(false);\r\n dispatch(setIsCheckInUse(false));\r\n }\r\n }, [isCheckInUse])\r\n\r\n useEffect(() => {\r\n\r\n if (updatedInspectionDatafieldOrder) {\r\n setDisplayInfoModal(true);\r\n setMessage(\"Field Order updated\");\r\n dispatch(setUpdatedInspectionDatafieldOrder(\"\"));\r\n\r\n updatedInspectionDatafieldOrder?.forEach((element) => {\r\n const index = inspectionFormSetup.inspectionGroupFields.findIndex((item) => item.dataFieldId === element.DataFieldId);\r\n if (index >= 0) {\r\n inspectionFormSetup.inspectionGroupFields[index].position = element.position;\r\n }\r\n });\r\n\r\n const dd= [...inspectionFormSetup.inspectionGroupFields].sort((a, b) => a.position - b.position);\r\n inspectionFormSetup.inspectionGroupFields = dd;\r\n setInspectionFormSetup({ ...inspectionFormSetup});\r\n }\r\n}, [updatedInspectionDatafieldOrder]);\r\n\r\n const onAddClick = useCallback((data) => {\r\n if (data?.isValidated) {\r\n setShowAddInspectionFieldValues(true);\r\n setFieldValueList(data?.validatedValues)\r\n }\r\n else\r\n setShowAddInspectionField(true);\r\n setSelectedInspection(data);\r\n }, [showAddInspectionField, selectedInspection, showAddInspectionFieldValues, fieldValueList]);\r\n\r\n const onEditClick = useCallback((data) => {\r\n if (data) {\r\n setShowEditInspectionField(true);\r\n setSelectedInspection(data);\r\n }\r\n }, [selectedInspection, showEditInspectionField]);\r\n\r\n const onDeleteClick = useCallback((data) => {\r\n if (data) {\r\n setShowDeletePrompt(true);\r\n setSelectedInspection(data);\r\n }\r\n }, [showDeletePrompt])\r\n\r\n const onSubmitInspection = useCallback((body) => {\r\n dispatch(onAddSystemInspectionField(body));\r\n }, []);\r\n\r\n const onUpdateInspection = useCallback((body) => {\r\n dispatch(onUpdateSystemInspectionField(body?.uniqueDataFieldId, body));\r\n }, []);\r\n\r\n const onDeleteInspectionField = useCallback((deletedItem) => {\r\n let body = {\r\n isSection: deletedItem?.isSection\r\n }\r\n dispatch(checkUsageOfSystemInspectionField(deletedItem?.uniqueDataFieldId, body, deletedItem))\r\n }, [])\r\n\r\n const onAddFieldValue = useCallback((fieldName, reset) => {\r\n const selectedFields = newSystemInspectionField?.data ? newSystemInspectionField?.data : selectedInspection;\r\n let body = {\r\n fieldvalue: fieldName,\r\n dataEntryControlId: selectedFields?.dataEntryControl?.dataEntryControlId\r\n };\r\n dispatch(onAddNewSystemInspectionFieldValue(selectedFields?.uniqueDataFieldId, body, reset));\r\n }, [selectedInspection, newSystemInspectionField]);\r\n\r\n const onUpdateFieldValue = useCallback((newData) => {\r\n const selectedFields = newSystemInspectionField?.data ? newSystemInspectionField?.data : selectedInspection;\r\n let body = {\r\n fieldvalue: newData?.dataFieldLookupValue\r\n }\r\n dispatch(onUpdateSystemInspectionFieldValue(selectedFields?.uniqueDataFieldId, newData.dataFieldLookupId, body, newData));\r\n }, [selectedInspection, newSystemInspectionField]);\r\n\r\n const onDeleteFieldValue = useCallback((deletedItem) => {\r\n const selectedFields = newSystemInspectionField?.data ? newSystemInspectionField?.data : selectedInspection;\r\n dispatch(checkUsageOfSystemInspectionFieldValue(selectedFields?.uniqueDataFieldId, deletedItem?.dataFieldLookupId, deletedItem));\r\n }, [selectedInspection, newSystemInspectionField]);\r\n\r\n const renderFooter = () => {\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n
\r\n {from === \"question\" &&\r\n \r\n }\r\n
\r\n \r\n <>\r\n {from === 'contract' ? (\r\n \r\n ) : from === 'system' ? (\r\n \r\n ) : (\r\n \r\n )}\r\n \r\n \r\n );\r\n};\r\n\r\nexport default memo(InspectionFields);\r\n","import React, { memo, useEffect, useRef, useState } from 'react'\r\nimport { Button } from 'primereact/button';\r\nimport { Checkbox } from 'primereact/checkbox';\r\nimport { Dropdown } from 'primereact/dropdown';\r\nimport { RadioButton } from 'primereact/radiobutton';\r\nimport { classNames } from 'primereact/utils';\r\nimport { useForm, Controller } from \"react-hook-form\";\r\nimport { AutoComplete } from 'primereact/autocomplete';\r\nimport { DataTable } from 'primereact/datatable';\r\nimport { Column } from 'primereact/column';\r\nimport { InputText } from 'primereact/inputtext';\r\nimport { Dialog } from 'primereact/dialog';\r\n//components\r\nimport InformationBox from 'components/common/Message/InformationBox/InformationBox';\r\nimport AddContract from 'pages/Contracts/ManageContract/AddContract';\r\nimport ConfirmationBox from 'components/common/Message/ConfirmationBox/ConfirmationBox';\r\n//icons\r\nimport { BsExclamationCircleFill, BsPlusLg } from 'react-icons/bs';\r\n//redux\r\nimport { useDispatch } from 'react-redux';\r\nimport { checkSalesOfficeExist, onGetContract, onGetCustomers, onGetSites, onGetSystems, onCopyOrMoveSystemReports, onGetContractSalesOffice } from 'redux/pages/Manage/Tools/ToolSlice';\r\nimport { onAddContract, setNewContractData } from 'redux/pages/Inspection/Contracts/contractSlice';\r\nimport { useAppSelector } from 'redux/hooks';\r\n\r\n\r\ntype FormData = {\r\n fromCustomerSearchCriteria: string;\r\n fromSystemId: string;\r\n toCustomerSearchCriteria: any;\r\n toSiteId: string;\r\n toContractId: string;\r\n};\r\n\r\ninterface CopySystemsPropType {\r\n systemType?: string;\r\n}\r\nconst CopySystems: React.FC = (props) => {\r\n const { systemType = \"\" } = props;\r\n\r\n const [copyKey, setCopyKey] = useState(\"copy-latest\");\r\n const [isCopyAll, setIsCopyAll] = useState(true);\r\n const [systems, setSystems] = useState([]);\r\n const [sites, setSites] = useState([]);\r\n const [contracts, setContracts] = useState([]);\r\n const [filterFromCustomers, setFilterFromCustomers] = useState(null);\r\n const [filterToCustomers, setFilterToCustomers] = useState(null);\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const [message, setMessage] = useState(\"\");\r\n const [showAddContract, setShowAddContract] = useState(false);\r\n const [displayConfirmModal, setDisplayConfirmModal] = useState(false);\r\n //case of submitting \r\n const [bodyInfo, setBodyInfo] = useState(null);\r\n const [targetPage, setTargetPage] = useState(1);\r\n const [statusMessage, setStatusMessage] = useState(\"\");\r\n const [systemList, setSystemList] = useState(null);\r\n const [isCopied, setIsCopied] = useState(false);\r\n const [showSystemDuplication, setShowSystemDuplication] = useState(false);\r\n const [showError, setShowError] = useState(false);\r\n const [destinationSite, setDestinationSite] = useState(null);\r\n const addRef = useRef(null)\r\n\r\n const dispatch = useDispatch();\r\n const newContractData = useAppSelector((state) => state.contract.newContractData);\r\n\r\n const {\r\n control,\r\n handleSubmit,\r\n watch,\r\n setValue,\r\n reset,\r\n formState: { errors },\r\n } = useForm({\r\n defaultValues: {\r\n fromCustomerSearchCriteria: \"\",\r\n fromSystemId: \"\",\r\n toCustomerSearchCriteria: \"\",\r\n toSiteId: \"\",\r\n toContractId: \"\",\r\n },\r\n });\r\n\r\n useEffect(() => {\r\n if (newContractData) {\r\n let data = JSON.parse(JSON.stringify(newContractData));\r\n data.contractNameWithoutSite = data.contractName;\r\n data.contractName = `${data.contractName} (${data.contractNumber})`;\r\n contracts.push(data);\r\n const ascDatas = [...contracts].sort((a, b) => a.contractNameWithoutSite.localeCompare(b.contractNameWithoutSite));\r\n setContracts(ascDatas);\r\n dispatch(setNewContractData(\"\"));\r\n }\r\n }, [newContractData]);\r\n\r\n useEffect(() => {\r\n if (statusMessage) {\r\n setDisplayConfirmModal(true);\r\n }\r\n }, [statusMessage])\r\n\r\n useEffect(() => {\r\n if (isCopied) {\r\n setIsCopied(false);\r\n setStatusMessage(\"\");\r\n setTargetPage(1);\r\n setSystemList(null);\r\n setDisplayConfirmModal(false);\r\n setShowSystemDuplication(false);\r\n reset();\r\n setFilterFromCustomers(null);\r\n setSystems([]);\r\n setFilterToCustomers(null);\r\n setSites([]);\r\n setContracts([]);\r\n }\r\n }, [isCopied])\r\n\r\n useEffect(() => {\r\n if (targetPage === 4) {\r\n setShowSystemDuplication(false);\r\n }\r\n }, [targetPage])\r\n\r\n const searchFromCustomer = (event) => {\r\n setTimeout(() => {\r\n const body = {\r\n uniqueBusinessZoneId: null,\r\n searchText: event?.query,\r\n uniqueSourceCustomerId: null,\r\n }\r\n dispatch(onGetCustomers(null, body, setFilterFromCustomers));\r\n }, 250);\r\n };\r\n\r\n const searchToCustomer = (event) => {\r\n const customer: any = watch(\"fromCustomerSearchCriteria\");\r\n if (!customer) {\r\n setDisplayInfoModal(true);\r\n setMessage(\"Select a From Customer\");\r\n return;\r\n }\r\n setTimeout(() => {\r\n const body = {\r\n uniqueBusinessZoneId: null,\r\n searchText: event?.query,\r\n uniqueSourceCustomerId: customer?.uniqueCustomerId,\r\n }\r\n dispatch(onGetCustomers(null, body, setFilterToCustomers));\r\n }, 250);\r\n }\r\n\r\n const addContract = () => {\r\n const fromCustomer: any = watch(\"fromCustomerSearchCriteria\");\r\n const toCustomer: any = watch(\"toCustomerSearchCriteria\");\r\n const toSite: any = watch(\"toSiteId\");\r\n const systemId = watch(\"fromSystemId\");\r\n\r\n if (!fromCustomer?.uniqueCustomerId) {\r\n setDisplayInfoModal(true);\r\n setMessage(\"Select a From Customer\");\r\n return;\r\n }\r\n if (!toCustomer?.uniqueCustomerId) {\r\n setDisplayInfoModal(true);\r\n setMessage(\"Select a To Customer\");\r\n return;\r\n }\r\n if (!toSite) {\r\n setDisplayInfoModal(true);\r\n setMessage(\"Select Site\");\r\n return;\r\n }\r\n if (!systemId) {\r\n setDisplayInfoModal(true);\r\n setMessage(\"Select System\");\r\n return;\r\n }\r\n const body = {\r\n uniqueSourceSystemId: systemId,\r\n uniqueSourceContractId: null,\r\n systemData: \"SELECTED_SYSTEM\",\r\n }\r\n dispatch(checkSalesOfficeExist(body, setShowAddContract));\r\n dispatch(onGetContractSalesOffice(0, systemId));\r\n }\r\n\r\n const copyData = (data) => {\r\n if (!data?.fromCustomerSearchCriteria?.uniqueCustomerId) {\r\n setDisplayInfoModal(true);\r\n setMessage(\"Select a From Customer\");\r\n return;\r\n }\r\n if (!data?.toCustomerSearchCriteria?.uniqueCustomerId) {\r\n setDisplayInfoModal(true);\r\n setMessage(\"Select To Customer\");\r\n return;\r\n }\r\n\r\n const body = {\r\n uniqueSourceCustomerId: data?.fromCustomerSearchCriteria?.uniqueCustomerId,\r\n uniqueSourceContractId: null,\r\n uniqueSourceSiteId: null,\r\n uniqueSourceSystemId: data?.fromSystemId,\r\n uniqueTargetCustomerId: data?.toCustomerSearchCriteria?.uniqueCustomerId,\r\n uniqueTargetContractId: data?.toContractId,\r\n uniqueTargetSiteId: data?.toSiteId ? data?.toSiteId : '0',\r\n copySystem: copyKey === \"copy-latest\" ? \"LATEST_TASK\" : \"ALL_TASKS\",\r\n copyAllReport: isCopyAll,\r\n keepSourceData: true,\r\n systemData: systemType === \"system\" ? \"SELECTED_SYSTEM\" : \"ALL_SYSTEM\",\r\n system: systemList,\r\n pageTarget: targetPage,\r\n }\r\n dispatch(onCopyOrMoveSystemReports(body, setStatusMessage, setTargetPage, setSystemList, setIsCopied, setMessage, setDisplayInfoModal));\r\n setBodyInfo(body);\r\n }\r\n\r\n const onAddContractClick = (submitData: any) => {\r\n submitData.UniqueSiteId = destinationSite;\r\n dispatch(\r\n onAddContract(\r\n submitData,\r\n setMessage,\r\n setDisplayInfoModal,\r\n setShowAddContract,\r\n false,\r\n false,\r\n true,\r\n )\r\n );\r\n };\r\n\r\n const confirmedCopy = () => {\r\n if (targetPage === 3) {\r\n setShowSystemDuplication(true);\r\n setDisplayConfirmModal(false);\r\n return;\r\n }\r\n bodyInfo.system = systemList;\r\n bodyInfo.pageTarget = targetPage;\r\n setBodyInfo(bodyInfo);\r\n dispatch(onCopyOrMoveSystemReports(bodyInfo, setStatusMessage, setTargetPage, setSystemList, setIsCopied, setMessage, setDisplayInfoModal))\r\n }\r\n\r\n const onConfirmCancel = () => {\r\n setDisplayConfirmModal(false);\r\n setStatusMessage(\"\");\r\n setTargetPage(1);\r\n setSystemList(null);\r\n setShowError(false);\r\n }\r\n\r\n const onCancelSystem = () => {\r\n setStatusMessage(\"\");\r\n setTargetPage(1);\r\n setSystemList(null);\r\n setShowSystemDuplication(false);\r\n setShowError(false);\r\n }\r\n\r\n const onUpdateSystem = () => {\r\n if (targetPage === 3) {\r\n let isEmpty = false;\r\n systemList?.forEach(element => {\r\n if (!element?.uniqueSystemName)\r\n isEmpty = true\r\n });\r\n if (isEmpty) {\r\n setShowError(true);\r\n return;\r\n }\r\n }\r\n const systems = systemList?.map(({ sourceSystemName, ...rest }: any) => {\r\n return rest;\r\n });\r\n bodyInfo.system = systems;\r\n bodyInfo.pageTarget = targetPage;\r\n dispatch(onCopyOrMoveSystemReports(bodyInfo, setStatusMessage, setTargetPage, setSystemList, setIsCopied, setMessage, setDisplayInfoModal))\r\n setBodyInfo(bodyInfo);\r\n }\r\n\r\n const getFormErrorMessage = (name) => {\r\n return (\r\n errors[name] && (\r\n \r\n \r\n {errors[name].message}\r\n \r\n )\r\n );\r\n };\r\n\r\n const renderFooter = () => {\r\n return (\r\n <>\r\n \r\n \r\n \r\n\r\n \r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default CopyMoveLogs;\r\n","export default __webpack_public_path__ + \"static/media/clarity_contract-line.6cfe4aa4.svg\";","export default __webpack_public_path__ + \"static/media/bx_task.5aa3b076.svg\";","export default __webpack_public_path__ + \"static/media/carbon_user-activity.54571af2.svg\";","export default __webpack_public_path__ + \"static/media/carbon_user-file-upload.75c9bc18.svg\";","export default __webpack_public_path__ + \"static/media/bxs_user-detail.b1f712cb.svg\";","export default __webpack_public_path__ + \"static/media/map-location.b1431464.svg\";","export default __webpack_public_path__ + \"static/media/bx_building.690db4d7.svg\";","export default __webpack_public_path__ + \"static/media/carbon_floorplan.1627aa53.svg\";","export default __webpack_public_path__ + \"static/media/master-data.1f1c8748.svg\";","export default __webpack_public_path__ + \"static/media/ftp.077abd94.svg\";","export default __webpack_public_path__ + \"static/media/expiryContacts.44e7183c.svg\";","export default __webpack_public_path__ + \"static/media/user-shape.2258a834.svg\";","export default __webpack_public_path__ + \"static/media/sales-activity.f69d96f4.svg\";","export default __webpack_public_path__ + \"static/media/tap-performance.af65881f.svg\";","import React from \"react\";\r\nimport { useNavigate } from \"react-router-dom\";\r\nimport { APP_ROUTES } from \"constants/AppRoutes\";\r\nimport contract from \"assets/svgs/clarity_contract-line.svg\";\r\nimport task from \"assets/svgs/bx_task.svg\";\r\nimport userActivity from \"assets/svgs/carbon_user-activity.svg\";\r\nimport fileUpload from \"assets/svgs/carbon_user-file-upload.svg\";\r\nimport user from \"assets/svgs/bxs_user-detail.svg\";\r\nimport location from \"assets/svgs/map-location.svg\";\r\nimport bxBuilding from \"assets/svgs/bx_building.svg\";\r\nimport carbon_floorplan from \"assets/svgs/carbon_floorplan.svg\";\r\nimport masterData from \"assets/svgs/master-data.svg\";\r\nimport ftp from \"assets/svgs/ftp.svg\";\r\nimport ExpiredContracts from \"assets/svgs/expiryContacts.svg\";\r\nimport userShape from \"assets/svgs/user-shape.svg\";\r\nimport salesActivity from \"assets/svgs/sales-activity.svg\";\r\nimport tapPerformance from \"assets/svgs/tap-performance.svg\";\r\nimport { showUI } from \"service/GeneralUtility\";\r\nimport { useAppSelector } from \"../../redux/hooks\";\r\n\r\n\r\nconst ReportView = () => {\r\n const navigate = useNavigate();\r\n const userPrivileges = useAppSelector((state) => state.user.userPrivileges);\r\n \r\n return (\r\n
\r\n
\r\n\r\n

Reports

\r\n\r\n
navigate(`/${APP_ROUTES.CONTRACTS_REPORT}`)}>\r\n
\r\n
\r\n \"contract\"\r\n
\r\n Contracts\r\n
\r\n
\r\n\r\n
navigate(`/${APP_ROUTES.INSPECTION_TASK_REPORT}`)}>\r\n
\r\n
\r\n \"task\"\r\n
\r\n Inspection Tasks\r\n
\r\n
\r\n\r\n
navigate(`/${APP_ROUTES.INSPECTION_ACTIVITY_REPORT}`)}>\r\n
\r\n
\r\n \"userActivity\"\r\n
\r\n Inspection Activity\r\n
\r\n
\r\n\r\n
navigate(`/${APP_ROUTES.UPLOADED_FINAL_REPORTS}`)}>\r\n
\r\n
\r\n \"fileUpload\"\r\n
\r\n Uploaded Final Reports\r\n
\r\n
\r\n\r\n
navigate(`/${APP_ROUTES.USER_DETAILS_REPORT}`)}>\r\n
\r\n
\r\n \"user\"\r\n
\r\n User Details\r\n
\r\n
\r\n\r\n {showUI(userPrivileges, 'SIETAP_REPORT_SITE_REPORT') &&\r\n
navigate(`/${APP_ROUTES.SITE_REPORT}`)}>\r\n
\r\n
\r\n \"location\"\r\n
\r\n Sites\r\n
\r\n
\r\n }\r\n\r\n {showUI(userPrivileges, 'SIETAP_REPORT_BUILDING_REPORT') &&\r\n
navigate(`/${APP_ROUTES.BUILDING_REPORT}`)}>\r\n
\r\n
\r\n \"Building\"\r\n
\r\n Buildings\r\n
\r\n
\r\n }\r\n\r\n {showUI(userPrivileges, 'SIETAP_REPORT_FLOOR_REPORT') &&\r\n
navigate(`/${APP_ROUTES.FLOOR_REPORT}`)}>\r\n
\r\n
\r\n \"Floor\"\r\n
\r\n Floors\r\n
\r\n
\r\n }\r\n\r\n {showUI(userPrivileges, 'SIETAP_REPORT_EXPIRED_CONTRACTS') &&\r\n
navigate(`/${APP_ROUTES.EXPIRED_CONTRACTS_REPORT}`)}>\r\n
\r\n
\r\n \"Expired\r\n
\r\n Expired Contracts\r\n
\r\n
\r\n }\r\n\r\n
navigate(`/${APP_ROUTES.MASTER_DATA_REPORT}`)}>\r\n
\r\n
\r\n \"Master\r\n
\r\n Master Data\r\n
\r\n
\r\n\r\n {showUI(userPrivileges, 'SIETAP_DATA_IMPORTS') && \r\n
navigate(`/${APP_ROUTES.SAP_IMPORT_STATUS_REPORT}`)}>\r\n
\r\n
\r\n \"SAP\r\n
\r\n SAP Import Status\r\n
\r\n
\r\n }\r\n\r\n\r\n
navigate(`/${APP_ROUTES.USER_ACTIVITY_REPORT}`)}>\r\n
\r\n
\r\n \"User\r\n
\r\n User Activity\r\n
\r\n
\r\n\r\n {showUI(userPrivileges, 'SIETAP_REPORT_TAP_PERFORMANCE_REPORT') &&\r\n
navigate(`/${APP_ROUTES.TAP_PERFORMACE}`)}>\r\n
\r\n
\r\n \"Life\r\n
\r\n Life Safety Systems Report\r\n
\r\n
\r\n }\r\n\r\n {showUI(userPrivileges, 'SIETAP_REPORT_SALES_ACTIVITY_REPORT') &&\r\n
navigate(`/${APP_ROUTES.SALES_ACTIVITY_REPORT}`)}>\r\n
\r\n
\r\n \"Sales\r\n
\r\n Sales Opportunity Report\r\n
\r\n
\r\n }\r\n\r\n
\r\n
\r\n );\r\n};\r\n\r\nexport default ReportView;\r\n","import React, { useEffect, useState } from 'react'\r\nimport { useDispatch } from \"react-redux\";\r\nimport { APP_ROUTES } from \"constants/AppRoutes\";\r\nimport { useNavigate } from \"react-router-dom\";\r\nimport { Dropdown } from 'primereact/dropdown';\r\nimport { Button } from 'primereact/button';\r\nimport { ListGroup } from 'react-bootstrap';\r\nimport Breadcrumb from \"components/common/Breadcrumb/Breadcrumb\";\r\nimport ReportViewer from 'components/common/Report/ReportViewer'\r\nimport { useAppSelector } from \"../../redux/hooks\";\r\nimport { createReportPreviewSession, setReportPreviewSession } from \"../../redux/pages/Administration/Site/siteSlice\";\r\nimport { Controller, useForm } from 'react-hook-form';\r\nimport { classNames } from 'primereact/utils';\r\nimport { getStatusList } from 'redux/pages/Administration/administrationSlice';\r\nimport CustomizeReport from './CustomizeReport/CustomizeReport';\r\nimport { onExportReport, setIsAppliedDone } from 'redux/common/report/customizeReportSlice';\r\nimport InformationBox from 'components/common/Message/InformationBox/InformationBox';\r\n//icons\r\nimport { BsArrowRight } from \"react-icons/bs\";\r\nimport { RiFileExcel2Line } from 'react-icons/ri';\r\n\r\ntype FormData = {\r\n\tfilter: string;\r\n\tstatusId: number;\r\n};\r\n\r\nconst SiteReport = () => {\r\n\r\n\tconst {\r\n\t\tcontrol,\r\n\t} = useForm({\r\n\t\tdefaultValues: {\r\n\t\t\tfilter: \"status\",\r\n\t\t\tstatusId: 0,\r\n\t\t},\r\n\t});\r\n\r\n\tconst [reportName, setReportName] = useState(null);\r\n\tconst [filterOption, setFilterOption] = useState('status');\r\n\tconst [selectedStatus, setSelectedStatus] = useState(0);\r\n\tconst [statusList, setStatusList] = useState([]);\r\n\tconst [showCustomizeReport, setShowCustomizeReport] = useState(false);\r\n\tconst [message, setMessage] = useState(\"\");\r\n\tconst [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n\tconst [customizationType, setCustomizationType] = useState('user');\r\n\r\n\tconst reportPreviewSession = useAppSelector((state) => state.site.reportPreviewSession);\r\n\tconst { status } = useAppSelector((state) => state.administration.statusList);\r\n\tconst isAppliedDone = useAppSelector((state) => state.customizeReport.isAppliedDone);\r\n\r\n\tconst navigate = useNavigate();\r\n\tconst dispatch = useDispatch();\r\n\r\n\tuseEffect(() => {\r\n\t\tdispatch(getStatusList());\r\n\t}, []);\r\n\r\n\tuseEffect(() => {\r\n\t\tif (status && status.length) {\r\n\t\t\tlet tempList = [{ statusId: 0, statusCode: \"All_Users\", statusName: \"All\" },\r\n\t\t\t...status.filter(status => [1, 2, 3].includes(status.statusId))]\r\n\t\t\tsetStatusList(tempList);\r\n\t\t}\r\n\t}, [status]);\r\n\r\n\tconst viewSiteReport = () => {\r\n\t\tconst reportParameters = {\r\n\t\t\treportParameters: {\r\n\t\t\t\tStatusId: selectedStatus,\r\n\t\t\t\tcustomizationType: customizationType\r\n\t\t\t},\r\n\t\t\treportType: \"Sites\"\r\n\t\t};\r\n\t\tdispatch(createReportPreviewSession(reportParameters));\r\n\t };\r\n\r\n\tuseEffect(() => {\r\n\t\tviewSiteReport();\r\n\r\n\t\treturn (() => {\r\n\t\t\tdispatch(setReportPreviewSession(\"\"));\r\n\t\t});\r\n\t}, [selectedStatus, filterOption]);\r\n\r\n\tuseEffect(() => {\r\n\t\tif(isAppliedDone) viewSiteReport();\r\n\t}, [isAppliedDone]);\r\n\r\n\tuseEffect(() => {\r\n\t\tif (reportPreviewSession) {\r\n\t\t\tsetReportName(reportPreviewSession.previewSessionId);\r\n\t\t}\r\n\t}, [reportPreviewSession])\r\n\r\n\tuseEffect(() => {\r\n\t\tif (isAppliedDone) {\r\n\t\t\tdispatch(setIsAppliedDone(false));\r\n\t\t\tsetShowCustomizeReport(false);\r\n\t\t\tsetMessage(\"Report settings saved\");\r\n\t\t\tsetDisplayInfoModal(true);\r\n\t\t}\r\n\t}, [isAppliedDone]);\r\n\r\n\tconst exportAsExcel = () => {\r\n\t\tconst reportParameters = {\r\n\t\t\texportParameters: {\r\n\t\t\t\tStatusId: selectedStatus,\r\n\t\t\t\tcustomizationType: customizationType\r\n\t\t\t},\r\n\t\t\texportType: \"Sites\"\r\n\t\t};\r\n\t\tdispatch(onExportReport(reportParameters, \"Sites\"));\r\n\t};\r\n\r\n\treturn (\r\n\r\n\t\t
\r\n\t\t\t
\r\n\t\t\t\t navigate(`/${APP_ROUTES.REPORT_VIEW}`)}\r\n\t\t\t\t/>\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\tSites\r\n\t\t\t\t
\r\n\t\t\t
\r\n\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t (\r\n\t\t\t\t\t\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tsetFilterOption(e.value);\r\n\t\t\t\t\t\t\t\t\t\t\t\t}}\r\n\t\t\t\t\t\t\t\t\t\t\t\toptions={[{ name: 'Status', value: 'status' }]}\r\n\t\t\t\t\t\t\t\t\t\t\t\toptionLabel=\"name\"\r\n\t\t\t\t\t\t\t\t\t\t\t\toptionValue=\"value\"\r\n\t\t\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t\t)}\r\n\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t (\r\n\t\t\t\t\t\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tsetSelectedStatus(e.value);\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tdispatch(setReportPreviewSession(\"\"));\r\n\t\t\t\t\t\t\t\t\t\t\t\t}}\r\n\t\t\t\t\t\t\t\t\t\t\t\toptions={statusList}\r\n\t\t\t\t\t\t\t\t\t\t\t\toptionLabel=\"statusName\"\r\n\t\t\t\t\t\t\t\t\t\t\t\toptionValue=\"statusId\"\r\n\t\t\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t\t)}\r\n\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tExport to\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t{/* \r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t */}\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t
\r\n\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t{showCustomizeReport &&\r\n\t\t\t\t setShowCustomizeReport(false)}\r\n\t\t\t\t\tcustomizationType={customizationType}\r\n\t\t\t\t\tsetCustomizationType={setCustomizationType} />\r\n\t\t\t}\r\n\t\t
\r\n\r\n\t)\r\n}\r\n\r\nexport default SiteReport","import React, { useState, useRef, useEffect } from \"react\";\r\nimport { useForm, Controller } from \"react-hook-form\";\r\n\r\nimport { Calendar } from \"primereact/calendar\";\r\n\r\nimport { classNames } from \"primereact/utils\";\r\n\r\nimport { BsExclamationCircleFill } from \"react-icons/bs\";\r\nimport moment from \"moment\";\r\n\r\n\r\nimport { useDispatch } from \"react-redux\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\nimport { onEditContractDates } from \"redux/pages/Inspection/InspectionTask/inspectionTaskSlice\";\r\n\r\nimport AddModal from \"components/Table/AddModal/AddModal\";\r\nimport InformationBox from \"components/common/Message/InformationBox/InformationBox\";\r\n\r\ninterface IContractDate {\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n contractDetails: any;\r\n plannedStartDate: any;\r\n plannedEndDate: any;\r\n onContractUpdated: (data: any) => void;\r\n}\r\n\r\ntype FormData = {\r\n endDate: any;\r\n startDate: any;\r\n};\r\n\r\nexport const ContractDate: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => {},\r\n contractDetails = '',\r\n plannedStartDate = '',\r\n plannedEndDate = '',\r\n onContractUpdated = () => {},\r\n}) => {\r\n \r\n const {\r\n control,\r\n handleSubmit,\r\n setValue,\r\n getValues,\r\n formState: { errors },\r\n } = useForm({\r\n defaultValues: {\r\n endDate: \"\",\r\n startDate: \"\"\r\n },\r\n });\r\n\r\n const updatedContractDates = useAppSelector((state) => state.inspectionTask.updatedContractDates);\r\n\r\n const [isContractSubmit, setIsContractSubmit] = useState(false);\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const [message, setMessage] = useState(\"\");\r\n\r\n const ContrtactDateForm: any = useRef();\r\n const dispatch = useDispatch();\r\n\r\n useEffect(() => {\r\n setValue(\"startDate\", new Date(contractDetails?.startDate))\r\n setValue(\"endDate\", new Date(contractDetails?.endDate))\r\n }, [contractDetails, setValue])\r\n\r\n useEffect(() => {\r\n if (updatedContractDates && isContractSubmit) {\r\n onContractUpdated && onContractUpdated(updatedContractDates)\r\n setIsContractSubmit(false);\r\n }\r\n }, [updatedContractDates, isContractSubmit, onContractUpdated])\r\n\r\n const formSubmitHandler = (data: any) => {\r\n ContrtactDateForm.current.requestSubmit();\r\n };\r\n\r\n const getFormErrorMessage = (name) => {\r\n return (\r\n errors[name] && (\r\n \r\n \r\n {errors[name].message}\r\n \r\n )\r\n );\r\n };\r\n\r\n const onAddFormSubmit = (data: any) => {\r\n data.startDate = moment(data?.startDate).format(\"YYYY-MM-DD\").toString()\r\n data.endDate = moment(data?.endDate).format(\"YYYY-MM-DD\").toString()\r\n if (new Date(data.startDate) > new Date(data.endDate)) {\r\n setDisplayInfoModal(true)\r\n setMessage(\"Contract End Date should be greater than Contract Start Date\")\r\n } else {\r\n dispatch(\r\n onEditContractDates(\r\n data,\r\n contractDetails?.uniqueContractId\r\n ))\r\n setIsContractSubmit(true);\r\n }\r\n };\r\n\r\n const onError = (errors: any, e: any) => {};\r\n\r\n return (\r\n <>\r\n \r\n \r\n
\r\n
\r\n \r\n (\r\n field.onChange(e.value)}\r\n />\r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"startDate\")}\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n {\r\n return getValues(\"endDate\") <= new Date() ? \"Contract End Date should be a future date\" : undefined;\r\n }\r\n }}\r\n render={({ field, fieldState }) => (\r\n field.onChange(e.value)}\r\n />\r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"endDate\")}\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n {plannedStartDate}\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n {plannedEndDate}\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default ContractDate;\r\n","export const USATaskPattern = [\r\n {\r\n id: 1,\r\n pattern: 'USA Pattern',\r\n format: '5xxxxxxx',\r\n description: '10 digits starting with 5'\r\n }\r\n]\r\nexport const CanadaTaskPattern=[\r\n {\r\n id: 1,\r\n pattern: 'Canada Pattern',\r\n format: '600xxxxxx',\r\n description: '9 digits starting with 600'\r\n },\r\n {\r\n id: 2,\r\n pattern: 'Canada Pattern',\r\n format: '5xxxxxxxxx',\r\n description: '10 digits starting with 5'\r\n }\r\n]","import { useForm, Controller } from 'react-hook-form';\r\nimport React, { useState, useRef, useEffect, useCallback } from 'react';\r\nimport { Button } from 'primereact/button';\r\nimport { Checkbox } from 'primereact/checkbox';\r\nimport { InputText } from 'primereact/inputtext';\r\nimport { InputNumber } from 'primereact/inputnumber';\r\nimport { Dropdown } from 'primereact/dropdown';\r\nimport { RadioButton } from 'primereact/radiobutton';\r\nimport { Calendar } from 'primereact/calendar';\r\nimport { classNames } from 'primereact/utils';\r\nimport { Dialog } from 'primereact/dialog';\r\nimport { DataTable } from 'primereact/datatable';\r\nimport { Column } from 'primereact/column';\r\nimport UploadXML from \"../../Systems/ManageSystem/UploadXML\";\r\nimport moment from 'moment';\r\n\r\nimport { BsExclamationCircleFill, BsPlusLg, BsPaperclip } from 'react-icons/bs';\r\n\r\nimport AddModal from 'components/Table/AddModal/AddModal';\r\nimport InspectionReports from './InspectionReports';\r\nimport InformationBox from 'components/common/Message/InformationBox/InformationBox';\r\nimport AddSystems from 'pages/Systems/ManageSystem/AddSystem';\r\nimport ContractDate from './ContractDate';\r\n\r\nimport { useDispatch } from 'react-redux';\r\nimport { useAppSelector } from 'redux/hooks';\r\nimport { activateSystem, getSystemListForTaskAdd, getTechnicians, setActivatedSystemDetails, setLinkedReportsData, setSystemData } from 'redux/pages/Inspection/InspectionTask/inspectionTaskSlice';\r\nimport { getContractDetails } from 'redux/pages/Inspection/Contracts/contractSlice';\r\nimport { checkSystemInUse, onAddSystem, setNewInspectionSystemData ,onUploadSystemXml,checkXMLImportInProgress, getUploadedXMLFileList, deleteXMLFile, setUploadedXmlFileList, setSystemInUse} from 'redux/pages/Inspection/Systems/systemSlice';\r\nimport ConfirmationBox from 'components/common/Message/ConfirmationBox/ConfirmationBox';\r\nimport { showUI } from 'service/GeneralUtility';\r\nimport { USATaskPattern,CanadaTaskPattern } from './InspectionTaskNumberPattern';\r\n\r\ninterface Props {\r\n showModal: boolean,\r\n setShowModal: (state: boolean) => void,\r\n uniqueContractId: string,\r\n uniqueCustomerId: string,\r\n customerName: string,\r\n contractName: string,\r\n onAddInspectionTaskClick: (data: any) => void,\r\n}\r\n\r\ntype FormData = {\r\n uniqueCustomerId: string,\r\n uniqueContractId: string,\r\n inspectionTaskName: string,\r\n uniqueSystemId: string,\r\n uniqueTechnicianId: any,\r\n plannedStartDate: any,\r\n plannedEndDate: any,\r\n notificationNumber: any,\r\n quantityOfTech: number,\r\n isTechRequiredAtPanel: boolean,\r\n status: string,\r\n reportIds: any,\r\n activeSiteId:any\r\n};\r\n\r\nexport const AddInspectionTask: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => { },\r\n uniqueContractId = '',\r\n uniqueCustomerId = '',\r\n customerName = '',\r\n contractName = '',\r\n onAddInspectionTaskClick = () => { },\r\n}) => {\r\n const {\r\n control,\r\n handleSubmit,\r\n watch,\r\n setValue,\r\n getValues,\r\n formState: { errors },\r\n } = useForm({\r\n defaultValues: {\r\n uniqueCustomerId: uniqueCustomerId,\r\n uniqueContractId: uniqueContractId,\r\n inspectionTaskName: '',\r\n uniqueSystemId: undefined,\r\n uniqueTechnicianId: '',\r\n plannedStartDate: null,\r\n plannedEndDate: null,\r\n notificationNumber: '',\r\n quantityOfTech: 1,\r\n isTechRequiredAtPanel: false,\r\n status: '1',\r\n reportIds: [],\r\n activeSiteId:''\r\n }\r\n });\r\n\r\n const systemData = useAppSelector((state) => state.inspectionTask.systemsData);\r\n const technicianData = useAppSelector((state) => state.inspectionTask.technicianData);\r\n const systemInUse = useAppSelector((state) => state.system.systemInUse);\r\n const contractDetails = useAppSelector((state) => state.contract.contractDetails);\r\n const newSystemData = useAppSelector((state) => state.system.newSystemData);\r\n const XMLImportInProgress = useAppSelector((state) => state.system.XMLImportInProgress);\r\n const uploadedXmlFileList = useAppSelector((state) => state.system.uploadedXmlFileList);\r\n const userPrivileges = useAppSelector((state) => state.user.userPrivileges);\r\n const loggedInUserDetails = useAppSelector((state) => state.administration.loggedInUserDetails);\r\n const activatedSystemDetails = useAppSelector((state) => state.inspectionTask.activatedSystemDetails);\r\n \r\n const [showPatternModal, setShowPatternModal] = useState(false);\r\n const [showReportsModal, setShowReportsModal] = useState(false);\r\n const [showUploadXMLModal,setShowUploadXMLModal]=useState(false);\r\n const [selectedReports, setSelectedReports] = useState(null);\r\n const [systemRadioLookup, setSystemRadioLookup] = useState([{name: \"\",code: \"\",systemType:\"\",disabled:true}]);\r\n const [selectedSystem,setSelectedSystem]=useState();\r\n const [technicianLookup, setTechnicianLookup] = useState([])\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const [message, setMessage] = useState(\"\");\r\n const [submitData, setSubmitData] = useState(\"\");\r\n const [isSubmit, setIsSubmit] = useState(false);\r\n const [isAdd,setIsAdd]=useState(false);\r\n const [isFileUpload,setIsFileUpload]=useState(false);\r\n const [showAddSystem, setShowAddSystem] = useState(false);\r\n const [showContractDate, setShowContractDate] = useState(false);\r\n const [displayConfirmModal, setDisplayConfirmModal] = useState(false);\r\n const [contractData, setContractData] = useState([]);\r\n const [startDate, setStartDate] = useState(\"\");\r\n const [endDate, setEndDate] = useState(\"\");\r\n const [pattern, setPattern] = useState([]);\r\n const [inspectiontaskNumberPattern, setInspectiontaskNumberPattern] = useState();\r\n const [showNotificationNumber, setShowNotificationNumber] = useState(false);\r\n const [countryId, setCountryId] = useState()\r\n const [selectedClosedSystem, setSelectedClosedSystem] = useState()\r\n const [isActivate, setIsActivate] = useState()\r\n\r\n const addForm: any = useRef();\r\n const dispatch = useDispatch();\r\n\r\n const setDate = useCallback(() => {\r\n setValue(\"plannedStartDate\", new Date());\r\n setValue(\"plannedEndDate\", new Date());\r\n }, [setValue])\r\n\r\n useEffect(() => {\r\n setDate();\r\n dispatch(getSystemListForTaskAdd())\r\n let body={\r\n UniqueContractId:uniqueContractId,\r\n };\r\n dispatch(getTechnicians(body))\r\n dispatch(getContractDetails(uniqueContractId))\r\n // dispatch(setSystemInUse([])) -- keeping for reference\r\n }, [dispatch, setDate, uniqueContractId])\r\n\r\n useEffect(() => {\r\n if(isActivate)\r\n setDisplayConfirmModal(true);\r\n },[isActivate])\r\n\r\n useEffect(() => {\r\n if (systemData?.length > 0) {\r\n let system: any = [];\r\n systemData.map((item: any) => {\r\n return system.push({ name: item.systemName, code: item.uniqueSystemId,systemType:item.systemType,disabled:item.status=== \"Active\"?false:true })\r\n })\r\n setSystemRadioLookup(system);\r\n\r\n \r\n dispatch(setSystemData([]));\r\n }\r\n }, [systemData])\r\n useEffect(() => {\r\n if (Object.keys(activatedSystemDetails).length > 0) {\r\n let system: any = systemRadioLookup;\r\n\r\n let currentIndex = system.findIndex((item: any) => item.code === activatedSystemDetails?.uniqueSystemId);\r\n system.splice(currentIndex, 1, { name: activatedSystemDetails?.systemName, code: activatedSystemDetails?.uniqueSystemId, systemType: activatedSystemDetails?.systemType, disabled: false });\r\n getSortedSystemList(system)\r\n setValue(\"uniqueSystemId\", activatedSystemDetails?.uniqueSystemId)\r\n setSelectedSystem([{ name: activatedSystemDetails?.systemName, code: activatedSystemDetails?.uniqueSystemId, systemType: activatedSystemDetails?.systemType, disabled: false }]);\r\n dispatch(setActivatedSystemDetails(\"\"))\r\n }\r\n },[activatedSystemDetails])\r\n\r\n useEffect(() => {\r\n if (technicianData?.length > 0) {\r\n let technician: any = [];\r\n technicianData.map((item: any) => {\r\n return technician.push({ name: item.formattedLeadTechnicianName, code: item.uniqueUserId })\r\n })\r\n setTechnicianLookup(technician)\r\n }\r\n }, [technicianData])\r\n\r\n useEffect(() => {\r\n if (contractDetails && contractDetails?.contractNumber) { \r\n setContractData(contractDetails)\r\n if (Object.keys(contractDetails).length !== 0 && \r\n countryId === 220 && contractDetails?.contractNumber.startsWith(\"44OP\") ||\r\n countryId === 220 && contractDetails?.contractNumber.startsWith(\"44OC\") ||\r\n countryId === 38 && contractDetails?.contractNumber.startsWith(\"60\") ||\r\n countryId === 38 && /^[a-zA-Z][-][0-9]{2}[-][a-zA-Z][-][0-9]{4}$/.test(contractDetails?.contractNumber) ||\r\n countryId === 38 && /^[a-zA-Z][-]SI[-][0-9]{5}$/.test(contractDetails?.contractNumber) ||\r\n countryId === 38 && contractDetails?.contractNumber.startsWith(\"13\")) {\r\n setShowNotificationNumber(false);\r\n }else\r\n {\r\n setShowNotificationNumber(true);\r\n }\r\n }\r\n \r\n }, [contractDetails,countryId])\r\n\r\n useEffect(()=>{\r\n if (isFileUpload && Object.keys(XMLImportInProgress).length !== 0) {\r\n if (XMLImportInProgress.isSystemParseInProgress === true) {\r\n setMessage(\"XML importing is in progress, XML file cannot be uploaded\");\r\n setDisplayInfoModal(true);\r\n }\r\n else{\r\n dispatch(getUploadedXMLFileList(selectedSystem[0].code, false))\r\n setShowUploadXMLModal(true);\r\n }\r\n setIsFileUpload(false);\r\n }\r\n },[isFileUpload,XMLImportInProgress])\r\n const formSubmitHandler = (data: any) => {\r\n addForm.current.requestSubmit();\r\n };\r\n \r\n const getFormErrorMessage = (name) => {\r\n return errors[name] && {errors[name].message}\r\n };\r\n \r\n const onUploadXml = (data: any) => {\r\n dispatch(onUploadSystemXml(selectedSystem[0].code,loggedInUserDetails?.userDefaults?.uniqueSiteId, data, setShowUploadXMLModal, setMessage, setDisplayInfoModal, false));\r\n setIsAdd(false);\r\n setShowAddSystem(false);\r\n }\r\n\r\n const onDeleteFileClick = (data: any) => {\r\n dispatch(deleteXMLFile(selectedSystem[0].code, data?.fileId,false, loggedInUserDetails?.userDefaults?.uniqueSiteId, setMessage, setDisplayInfoModal, setShowUploadXMLModal))\r\n }\r\n\r\n const onAddFormSubmit = (data: any) => {\r\n let system = systemRadioLookup.find((item: any) => item.code === data.uniqueSystemId)\r\n data.uniqueSystemId = system?.code;\r\n data.uniqueTechnicianId = data.uniqueTechnicianId.code\r\n data.plannedStartDate = moment(data?.plannedStartDate).format(\"YYYY-MM-DD\").toString()\r\n data.plannedEndDate = moment(data?.plannedEndDate).format(\"YYYY-MM-DD\").toString()\r\n data.qtyOfTech = data.quantityOfTech;\r\n data.activeSiteId= loggedInUserDetails?.userDefaults?.uniqueSiteId;\r\n setStartDate(data.plannedStartDate);\r\n setEndDate(data.plannedEndDate)\r\n if (data.reportIds.length === 0) {\r\n setMessage(\"Reports are not mapped for the selected Inspection Task, cannot be activated\");\r\n setDisplayInfoModal(true);\r\n } else if (new Date(data.plannedStartDate) > new Date(data.plannedEndDate)) {\r\n setMessage(\"Planned End Date should be greater than Planned Start Date\");\r\n setDisplayInfoModal(true);\r\n } else if (new Date(data.plannedStartDate?.replace(/-/g, '\\/')) < new Date(contractData?.startDate?.replace(/-/g, '\\/')) || new Date(data.plannedEndDate?.replace(/-/g, '\\/')) > new Date(contractData?.endDate?.replace(/-/g, '\\/'))) {\r\n if (showUI(userPrivileges,'SIETAP_FS_CONTRACT_DATE_UPDATE')) {\r\n setMessage(\"Inspection Task Planned End Date or Start Date is not within the Contract Start and End Date. Do you want to change the Contract Start and End Dates?\");\r\n setDisplayConfirmModal(true);\r\n } else {\r\n setMessage(\"Planned Start and End Date of the Inspection task is not within the Start and End Date of Contract. Contact TAP Admin to update the Contract\");\r\n setDisplayInfoModal(true);\r\n }\r\n } else {\r\n data.inspectionTaskName=data.inspectionTaskName?.trim();\r\n setSubmitData(data);\r\n setIsSubmit(true);\r\n dispatch(checkSystemInUse(data.uniqueSystemId));\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n if (isSubmit && Object.keys(systemInUse).length !== 0 && systemInUse?.uniqueSystemId === submitData?.uniqueSystemId) {\r\n if (systemInUse.isActiveTaskExists) {\r\n setMessage(\"An active Inspection Task already exists for this system, cannot add new Inspection Task\");\r\n setDisplayInfoModal(true);\r\n } else if (!systemInUse.isInspectionTaskCompleted) {\r\n setMessage(\"Inspection Task not completed for this System, cannot add an active Inspection Task\");\r\n setDisplayInfoModal(true);\r\n } else if (!systemInUse.isXMLFileUploaded && systemInUse.isSiemens) {\r\n setMessage(\"XML File is not uploaded for the System, cannot activate the Inspection Task\");\r\n setDisplayInfoModal(true); \r\n }\r\n else if(systemInUse.systemStatus !== \"Active\"){\r\n setMessage(\"Selected System is not active. Refresh the page before proceeding.\");\r\n setDisplayInfoModal(true); }\r\n else {\r\n onAddInspectionTaskClick && onAddInspectionTaskClick(submitData)\r\n }\r\n setIsSubmit(false)\r\n \r\n }\r\n }, [systemInUse, isSubmit, onAddInspectionTaskClick, submitData])\r\n\r\n const onContractUpdated = (data) => {\r\n setShowContractDate(false);\r\n setMessage(\"Contract updated\")\r\n setDisplayInfoModal(true);\r\n let contractInfo = JSON.parse(JSON.stringify(contractData))\r\n contractInfo.startDate = data.startDate;\r\n contractInfo.endDate = data.endDate;\r\n setContractData(contractInfo);\r\n }\r\n\r\n const onError = (errors: any, e: any) => { };\r\n\r\n const onAddSystemClick = (event) => {\r\n event?.preventDefault();\r\n setShowAddSystem(true)\r\n }\r\n\r\n const onAddSystemData = (submitData: any) => {\r\n dispatch(\r\n onAddSystem(\r\n submitData,\r\n setMessage,\r\n setDisplayInfoModal,\r\n setDisplayConfirmModal,\r\n setShowAddSystem,\r\n setIsAdd,\r\n\r\n ))\r\n }\r\n\r\n const getSortedSystemList = (data:any) => {\r\n \r\n let enabledItems = data.filter(item => !item.disabled);\r\n let disabledItems = data.filter(item => item.disabled);\r\n enabledItems = enabledItems.sort((a, b) => a.name.localeCompare(b.name));\r\n setSystemRadioLookup([...enabledItems, ...disabledItems])\r\n\r\n }\r\n\r\n useEffect(() => {\r\n if (newSystemData) {\r\n let system: any=systemRadioLookup;\r\n let newSystem:any =[];\r\n system.push({ name: newSystemData?.systemName, code: newSystemData?.uniqueSystemId,systemType:newSystemData?.systemType,disabled:false})\r\n \r\n getSortedSystemList(system)\r\n if(newSystemData?.status === \"Active\")\r\n setValue(\"uniqueSystemId\", newSystemData?.uniqueSystemId)\r\n\r\n newSystem[0]={ name: newSystemData?.systemName, code: newSystemData?.uniqueSystemId,systemType:newSystemData?.systemType}\r\n setSelectedSystem(newSystem);\r\n dispatch(setNewInspectionSystemData(\"\"))\r\n }\r\n }, [newSystemData ,setValue])\r\n \r\n useEffect(() => {\r\n if (selectedSystem && systemRadioLookup) {\r\n let checkedElement: any = document.getElementById(selectedSystem[0]?.code)\r\n if (checkedElement) {\r\n const radioButtonContainer = document.querySelector('.system-radiobuttonlist');\r\n\r\n if (radioButtonContainer) {\r\n const radioButtonContainerSize = radioButtonContainer.getBoundingClientRect();\r\n const checkedElementSize = checkedElement.getBoundingClientRect();\r\n\r\n const offsetTop = checkedElementSize.top - radioButtonContainerSize.top;\r\n const containerScrollTop = radioButtonContainer.scrollTop;\r\n\r\n radioButtonContainer.scrollTop = containerScrollTop + offsetTop - (radioButtonContainer.clientHeight / 2);\r\n }\r\n checkedElement.focus({ preventScroll: true });\r\n }\r\n }\r\n }, [selectedSystem, systemRadioLookup]); //To manage the scroll issue while adding system\r\n\r\n const saveReportClick = (selections) => {\r\n let selectedReportId: any = [];\r\n selections.map((item: any) => {\r\n return selectedReportId.push(item.inspectionReportId.toString())\r\n })\r\n setShowReportsModal(false)\r\n setValue(\"reportIds\", selectedReportId);\r\n setSelectedReports(selections)\r\n dispatch(setLinkedReportsData(\"\"))\r\n }\r\n \r\n const handleSystemRadioChange=(value)=>{\r\n let system:any=[]\r\n systemRadioLookup.map((item)=>{\r\n if(item.code===value)\r\n system.push({ name: item.name, code: item.code,systemType:item.systemType,disabled:item.disabled})\r\n })\r\n setSelectedSystem(system);\r\n \r\n }\r\n\r\n\r\n const onUploadClick = (event) => {\r\n event?.preventDefault();\r\n dispatch(setUploadedXmlFileList(\"\"))\r\n if (selectedSystem === undefined || selectedSystem[0]?.name===\"\" || selectedSystem[0]?.name===\"--Select--\" ) {\r\n setMessage(\"Select a System\");\r\n setDisplayInfoModal(true);\r\n \r\n } else {\r\n if (selectedSystem[0].systemType === \"MXL\" || selectedSystem[0].systemType === \"XLS\" || selectedSystem[0].systemType === \"Desigo FS20\" ||\r\n selectedSystem[0].systemType === \"Desigo FV20\" || selectedSystem[0].systemType === \"Desigo Modular\" || selectedSystem[0].systemType === \"Cerberus PRO FC92\" ||\r\n selectedSystem[0].systemType === \"Cerberus PRO FV92\" || selectedSystem[0].systemType === \"Cerberus PRO Modular\") {\r\n dispatch(checkXMLImportInProgress(selectedSystem[0].code));\r\n setIsFileUpload(true);\r\n } else{\r\n setMessage(\"System Type of selected System is not MXL/XLS/Desigo FS20/Desigo FV20/Desigo Modular/Cerberus PRO FC92/Cerberus PRO FV92/Cerberus PRO Modular, cannot upload the XML file\")\r\n setDisplayInfoModal(true)\r\n }\r\n }\r\n \r\n }\r\n\r\n\r\n const onConfirmActivateClick = (systemId) => {\r\n setSelectedClosedSystem(systemId)\r\n setIsActivate(true)\r\n setMessage(\"Do you want to activate the selected System?\");\r\n }\r\n \r\n const onConfirmClick = () => {\r\n \r\n if (isActivate) {\r\n setDisplayConfirmModal(false);\r\n dispatch(activateSystem(selectedClosedSystem, setMessage, setDisplayInfoModal));\r\n dispatch(setSystemInUse([]))\r\n setSelectedClosedSystem(\"\")\r\n setIsActivate(false)\r\n }\r\n else {\r\n\r\n if (isAdd) {\r\n setDisplayConfirmModal(false);\r\n setShowUploadXMLModal(true);\r\n setIsAdd(false);\r\n }\r\n else {\r\n setShowContractDate(true);\r\n }\r\n }\r\n }\r\nconst onCancelClick =()=>{\r\n if(isActivate){\r\n setSelectedClosedSystem(\"\")\r\n setIsActivate(false)}\r\n\r\n if(isAdd){\r\n setIsAdd(false);\r\n setShowAddSystem(false);\r\n }\r\n}\r\n\r\nconst onHideClick =()=>{\r\n if(isActivate){\r\n setSelectedClosedSystem(\"\")\r\n setIsActivate(false)}\r\n}\r\n\r\nuseEffect(() => {\r\n if(loggedInUserDetails){\r\n let countryId:any = Number;\r\n countryId = loggedInUserDetails?.userDefaults?.countryId;\r\n setCountryId(loggedInUserDetails?.userDefaults?.countryId);\r\n if (countryId === 38) {\r\n setPattern(CanadaTaskPattern);\r\n setInspectiontaskNumberPattern(/^((600)[0-9]{6}|[5][0-9]{9})$/); \r\n } else if (countryId === 220) {\r\n setPattern(USATaskPattern);\r\n setInspectiontaskNumberPattern(/^[5][0-9]{9}$/);\r\n }\r\n }\r\n}, [loggedInUserDetails])\r\n\r\n\r\n\r\nconst CustomRadioButtonList = (systemProps) => {\r\n return (\r\n
\r\n {\r\n return value.trim().length<=0\r\n ?\"System is required.\":true\r\n }\r\n }}\r\n render={({ field, fieldState }) => (\r\n
\r\n {systemProps?.item?.map((systemItem: any, key: any) => {\r\n if (!systemItem?.code || !systemItem?.name) {\r\n return null;\r\n }\r\n return (\r\n \r\n {\r\n field.onChange(e.value);\r\n handleSystemRadioChange(e.value);\r\n }} \r\n className={classNames({ \"p-invalid\": fieldState.invalid })} />\r\n\r\n {\r\n if (systemItem?.disabled) {\r\n onConfirmActivateClick(systemItem?.code)\r\n }\r\n }}\r\n title={systemItem?.disabled ? \"Click to activate\" : undefined}>\r\n 60 ? systemItem?.name : \"\"}\r\n >\r\n
\r\n {systemItem?.name}\r\n
\r\n\r\n \r\n
\r\n
\r\n );\r\n })}\r\n {/* {getFormErrorMessage('uniqueSystemId')} */}\r\n
\r\n )}\r\n />\r\n
\r\n );\r\n};\r\n\r\n return (\r\n <>\r\n \r\n
\r\n setShowPatternModal(false)}\r\n className='pattern-overlay'\r\n style={{ width: '32vw' }}\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n {showReportsModal && ()}\r\n\r\n
\r\n
\r\n \r\n \r\n (\r\n {customerName}\r\n )} />\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n (\r\n {contractName}\r\n )} />\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n {\r\n return value.trim().length<=0\r\n ?\"Name is required.\":true\r\n }\r\n }}\r\n\r\n render={({ field, fieldState }) => (\r\n \r\n )} />\r\n \r\n {getFormErrorMessage('inspectionTaskName')}\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n 1 ? 'auto' : '33px' }}\r\n >\r\n {errors['uniqueSystemId'] && (System is Required)}\r\n \r\n
\r\n \r\n {systemRadioLookup &&\r\n \r\n }\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n\r\n
\r\n
\r\n \r\n (\r\n field.onChange(e.value)} />\r\n )} />\r\n \r\n {getFormErrorMessage('plannedStartDate')}\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n (\r\n field.onChange(e.value)} />\r\n )} />\r\n \r\n {getFormErrorMessage('plannedEndDate')}\r\n \r\n
\r\n
\r\n\r\n {showNotificationNumber? (
\r\n
\r\n \r\n (\r\n \r\n )} />\r\n \r\n {getFormErrorMessage('notificationNumber')}\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
):null}\r\n\r\n
\r\n
\r\n
\r\n (\r\n \r\n )} />\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n {\r\n return getValues(\"quantityOfTech\") <1 || getValues(\"quantityOfTech\") >99\r\n ? \"Enter a value between 1 and 99 in Qty of Techs\"\r\n : undefined;\r\n },\r\n }}\r\n\r\n render={({ field, fieldState }) => (\r\n field.onChange(e.value)} />\r\n )} />\r\n \r\n {getFormErrorMessage('quantityOfTech')}\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n (\r\n field.onChange(e.value)}\r\n options={technicianLookup}\r\n optionLabel=\"name\"\r\n />\r\n )} />\r\n \r\n {getFormErrorMessage('uniqueTechnicianId')}\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n {showUploadXMLModal && }\r\n {showAddSystem && ( onAddSystemData(data)} />)}\r\n \r\n {onConfirmClick();setDisplayConfirmModal(false)}} cancelAction={onCancelClick} message={message} onHideAction = {onHideClick} />\r\n {showContractDate && ()}\r\n \r\n );\r\n}\r\n\r\nexport default AddInspectionTask;","import React from 'react'\r\nimport { Dialog } from 'primereact/dialog';\r\nimport { baseURL } from \"../../../service/HttpService\";\r\ninterface DocumentViewerPropType {\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n fileName?: string;\r\n setFileName: (state: any) => void;\r\n drawingId?: any;\r\n revisionNumber?:any;\r\n\r\n}\r\nconst PdfDrawingViewer: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => { },\r\n fileName = \"\",\r\n setFileName = () => { },\r\n drawingId = \"\",\r\n revisionNumber=\"\"\r\n}) => {\r\n let reportUrl = `${baseURL}api/v1/asbuilts/pdfdrawing/${drawingId}/${revisionNumber}/view`;\r\n return (\r\n
\r\n View Drawing ({fileName})}\r\n visible={showModal}\r\n style={{ width: \"75vw\", height: \"85%\" }}\r\n onHide={() => {\r\n setShowModal(false);\r\n setFileName('');\r\n }}\r\n className=\"view-file-modal\">\r\n
\r\n
\r\n {(reportUrl) ?\r\n \r\n :\r\n (<>)\r\n }\r\n
\r\n
\r\n \r\n
\r\n )\r\n}\r\nexport default PdfDrawingViewer;","import React, { useState, useEffect } from \"react\";\r\nimport { useForm } from \"react-hook-form\";\r\nimport { Dialog } from \"primereact/dialog\";\r\nimport { Button } from \"primereact/button\";\r\nimport { Column } from 'primereact/column';\r\nimport { TreeTable } from 'primereact/treetable';\r\nimport { useDispatch } from \"react-redux\";\r\nimport { getDrawingList, setDrawingList, setSelectedTask, setSelectedTreeNode } from \"redux/pages/Inspection/InspectionTask/inspectionDrawingSlice\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\nimport { useNavigate } from \"react-router-dom\";\r\nimport { APP_ROUTES } from 'constants/AppRoutes';\r\nimport InformationBox from \"components/common/Message/InformationBox/InformationBox\";\r\nimport PdfDrawingViewer from \"pages/AsBuilts/ManageDrawings/PdfDrawingViewer\";\r\n\r\ninterface Props {\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n selectedRows: any, \r\n}\r\n\r\ntype FormData = {};\r\n\r\nexport const DrawingList: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => { },\r\n selectedRows = [],\r\n}) => {\r\n\r\n const {\r\n } = useForm({\r\n defaultValues: {},\r\n });\r\n\r\n const drawingList = useAppSelector((state) => state.inspectionDrawing.drawingList);\r\n\r\n const [expandedKeys, setExpandedKeys] = useState({});\r\n const [drawingTreeData, setDrawingTreeData] = useState([]);\r\n const [drawingData, setDrawingData] = useState();\r\n const [selectedNodeKey, setSelectedNodeKey] = useState();\r\n const [disableButton, setDisableButton] = useState(true);\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const [message, setMessage] = useState(\"\");\r\n const [showPdfViewModal, setShowPdfViewModal] = useState(false);\r\n\tconst [filePdfName, setPdfFileName] = useState(\"\");\r\n const [drawingId, setdrawingId] = useState(\"\"); \r\n const [revisionNumber, setRevisionNumber] = useState(\"\"); \r\n\r\n const dispatch = useDispatch();\r\n const navigate = useNavigate();\r\n \r\n useEffect(() => {\r\n dispatch(setSelectedTask(selectedRows[0]))\r\n dispatch(getDrawingList(selectedRows[0].uniqueInspectionTaskId, setMessage, setDisplayInfoModal));\r\n }, [dispatch])\r\n\r\n useEffect(() => {\r\n if (drawingList && drawingList.siteDetails) {\r\n setDisableButton(false);\r\n let _expandedKeys = { ...expandedKeys };\r\n let siteData: any = [];\r\n let buildingData: any = [];\r\n let floorData: any = [];\r\n drawingList?.siteDetails?.map((site: any) => {\r\n let siteArray = {key: site.uniqueSiteId, selectable: false, data: {name: site.siteName}, children: [], className:'has-child'}\r\n buildingData = [];\r\n _expandedKeys[site.uniqueSiteId.toString()] = true;\r\n site?.buildingDataList?.map((building: any) => {\r\n let buildingArray = {key: building.uniqueBuildingId, selectable: false, data: {name: building.buildingName}, children: [], className: 'has-child'}\r\n floorData = [];\r\n _expandedKeys[building.uniqueBuildingId.toString()] = true;\r\n building?.floorDetails?.map((floor: any) => {\r\n floorData.push({key: floor.uniqueFloorId, selectable: true, data: floor, className: 'has-no-child'})\r\n })\r\n buildingArray.children = floorData\r\n buildingData.push(buildingArray)\r\n }) \r\n siteArray.children = buildingData \r\n siteData.push(siteArray)\r\n })\r\n setDrawingData(drawingList)\r\n dispatch(setDrawingList(\"\"));\r\n let selectedSite = siteData[0]\r\n let selectedBuilding = selectedSite.children[0]\r\n let selectedFloor = selectedBuilding.children[0]\r\n setSelectedNodeKey(selectedFloor.key);\r\n setDrawingTreeData(siteData)\r\n setExpandedKeys(_expandedKeys);\r\n }\r\n \r\n }, [drawingList])\r\n\r\n\r\n const openDrawingClick = () => {\r\n let selectedFloor: any = [];\r\n drawingData?.siteDetails?.map((site: any) => {\r\n site?.buildingDataList?.map((building: any) => {\r\n building?.floorDetails?.map((floor: any) => {\r\n if (floor.uniqueFloorId === selectedNodeKey) {\r\n selectedFloor.push(floor)\r\n }\r\n })\r\n }) \r\n })\r\n if (selectedFloor.length < 1) {\r\n setMessage(\"Select a Drawing\");\r\n setDisplayInfoModal(true);\r\n }else{\r\n const fileName = selectedFloor[0].fileName;\r\n const drawingid=selectedFloor[0].drawingId;\r\n const fileExtension = fileName.split('.').pop();\r\n \r\n if (fileExtension === \"pdf\" || fileExtension === \"PDF\"){\r\n setShowPdfViewModal(true);\r\n setPdfFileName(fileName);\r\n setdrawingId(drawingid);\r\n setRevisionNumber(selectedFloor[0].revisionNo);\r\n }\r\n else {\r\n dispatch(setSelectedTreeNode(selectedFloor))\r\n navigate(`/${APP_ROUTES.INSPECTION_DRAWINGS}`)\r\n }\r\n }\r\n }\r\n\r\n\r\n const renderFooter = () => {\r\n return (\r\n <>\r\n setShowModal(false)}\r\n className=\"cancel btn\"\r\n />\r\n \r\n \r\n ): null}\r\n )}\r\n\r\n {isCompleted && (
\r\n
\r\n \r\n (\r\n {field.onChange(e.value);handleSystemChange(e.value)}}\r\n options={systemLookup}\r\n optionLabel=\"name\"\r\n optionValue='code'\r\n />\r\n\r\n )} />\r\n \r\n {getFormErrorMessage('uniqueSystemId')}\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
)}\r\n\r\n\r\n
\r\n
\r\n \r\n (\r\n field.onChange(e.value)} />\r\n )} />\r\n \r\n {getFormErrorMessage('plannedStartDate')}\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n (\r\n field.onChange(e.value)} />\r\n )} />\r\n \r\n {getFormErrorMessage('plannedEndDate')}\r\n \r\n
\r\n
\r\n\r\n {showNotificationNumber? (
\r\n
\r\n \r\n (\r\n \r\n )} />\r\n \r\n {getFormErrorMessage('notificationNumber')}\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
):null}\r\n\r\n
\r\n
\r\n
\r\n (\r\n \r\n )} />\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n {\r\n return getValues(\"quantityOfTech\") <1 || getValues(\"quantityOfTech\") >99\r\n ? \"Enter a value between 1 and 99 in Qty of Techs\"\r\n : undefined;\r\n },\r\n }}\r\n\r\n render={({ field, fieldState }) => (\r\n field.onChange(e.value)} />\r\n )} />\r\n \r\n {getFormErrorMessage('quantityOfTech')}\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n (\r\n field.onChange(e.value)}\r\n options={technicianLookup}\r\n optionLabel=\"name\"\r\n optionValue=\"code\"\r\n />\r\n )} />\r\n \r\n {getFormErrorMessage('uniqueTechnicianId')}\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n (\r\n \r\n )} />\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n {showUploadXMLModal && }\r\n {showAddSystem && ( onAddSystemData(data)} />)}\r\n \r\n {onConfirmClick(isAdd ? 'XML' : 'DATE'); setDisplayConfirmModal(false)}} message={message} />\r\n {showContractDate && ()}\r\n \r\n );\r\n}\r\n\r\nexport default EditInspectionTask;","import React, { useState } from 'react'\r\nimport { useNavigate } from \"react-router-dom\";\r\nimport { APP_ROUTES } from 'constants/AppRoutes';\r\nimport AddModal from 'components/Table/AddModal/AddModal'\r\nimport { Button } from 'primereact/button'\r\n\r\nconst InspectionDrawingsModal = (props) => {\r\n const navigate = useNavigate();\r\n const [showModal,setShowModal] = useState(true)\r\n const onOpenDrawingsClick=()=>{\r\n navigate(`/${APP_ROUTES.INSPECTION_DRAWINGS}`)\r\n \r\n }\r\n const drawingListModalButtons=(\r\n
\r\n
\r\n )\r\n return (\r\n <>\r\n {props.closeModal()}}>\r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default InspectionDrawingsModal","import React, { useRef } from \"react\";\r\nimport { useForm } from \"react-hook-form\";\r\nimport { Dialog } from \"primereact/dialog\";\r\nimport ListGroup from \"react-bootstrap/ListGroup\";\r\nimport { Button } from \"primereact/button\";\r\nimport { ScrollPanel } from \"primereact/scrollpanel\";\r\n\r\ninterface Props {\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n pendingReportNames: any;\r\n message?:string;\r\n}\r\n\r\ntype FormData = {};\r\n\r\nexport const PendingReports: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => {},\r\n pendingReportNames = [],\r\n message = \"\",\r\n}) => {\r\n const addUserForm: any = useRef();\r\n\r\n const {\r\n } = useForm({\r\n defaultValues: {},\r\n });\r\n\r\n const renderFooter = () => {\r\n return (\r\n <>\r\n setShowModal(false)}\r\n className=\"cancel btn\"\r\n />\r\n \r\n );\r\n };\r\n\r\n return (\r\n <>\r\n setShowModal(false)}\r\n >\r\n
\r\n {message}.{\" \"}\r\n
\r\n \r\n
\r\n
\r\n
\r\n Inspection Report Name\r\n
\r\n \r\n
\r\n \r\n {pendingReportNames.length > 0 &&\r\n pendingReportNames.map((item) => {\r\n return {item};\r\n })}\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default PendingReports;\r\n","import React, { useState } from \"react\";\r\nimport { useForm, Controller } from \"react-hook-form\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { BsExclamationCircleFill } from \"react-icons/bs\";\r\nimport { Dialog } from \"primereact/dialog\";\r\nimport { Button } from \"primereact/button\";\r\nimport { Dropdown } from \"primereact/dropdown\";\r\nimport ConfirmationBox from \"components/common/Message/ConfirmationBox/ConfirmationBox\";\r\nimport { classNames } from \"primereact/utils\";\r\nimport { Checkbox } from \"primereact/checkbox\";\r\nimport { onImportPreviousTaskDetails } from \"redux/pages/Inspection/InspectionTask/inspectionTaskSlice\";\r\ninterface Props {\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n displayColumns: Array;\r\n setdisplayColumns: (data) => void;\r\n setMessage:any;\r\n setDisplayInfoModal:(state: boolean) => void;\r\n previousTaskDetails:any;\r\n selectedRows:any;\r\n setShowImportPreviousTaskDetails:(state: boolean) => void;\r\n}\r\ntype FormData = {\r\n sourceUniqueTaskId:any;\r\n isImportTestResult: boolean,\r\n isImportSystemQuestions:boolean\r\n };\r\n\r\nexport const ImportPreviousTaskDetails: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => {},\r\n setMessage=\"\",\r\n setDisplayInfoModal=()=>{},\r\n previousTaskDetails = [],\r\n selectedRows = [],\r\n setShowImportPreviousTaskDetails=()=>{},\r\n}) => {\r\n const [displayImportPreviousTaskConfirmModal, setDisplayImportPreviousTaskConfirmModal] = useState(false);\r\n const [importMessage, setImportMessage] = useState(\"\");\r\n\r\n const dispatch = useDispatch();\r\n\r\n const {\r\n control,\r\n formState: { errors },\r\n handleSubmit,\r\n getValues,\r\n watch\r\n } = useForm({\r\n defaultValues: {\r\n sourceUniqueTaskId:\"\",\r\n isImportTestResult: false,\r\n isImportSystemQuestions:false\r\n },\r\n });\r\n\r\n const isImportTestResult=watch('isImportTestResult')\r\n const isImportSystemQuestions=watch('isImportSystemQuestions')\r\n\r\n const getFormErrorMessage = (name) => {\r\n return (\r\n errors[name] && (\r\n \r\n \r\n {errors[name].message}\r\n \r\n )\r\n );\r\n };\r\n\r\n const onSubmit = () => {\r\n setImportMessage(\"Are you sure you want to Import from the selected Task?\")\r\n setDisplayImportPreviousTaskConfirmModal(true)\r\n };\r\n\r\n const onError = (errors: any, e: any) => {};\r\n\r\n return (\r\n <>\r\n setShowModal(false)}\r\n className=\"display-settings\"\r\n >\r\n
\r\n
\r\n\r\n
\r\n
\r\n }\r\n rules={{\r\n validate: (value) => {\r\n return !value && !isImportSystemQuestions\r\n ? \"Atleast one option needs to be selected\"\r\n : undefined;\r\n },\r\n }}\r\n />\r\n \r\n
\r\n
\r\n
\r\n
\r\n }\r\n rules={{\r\n validate: (value) => {\r\n return !value && !isImportTestResult\r\n ? \"Atleast one option needs to be selected\"\r\n : undefined;\r\n },\r\n }}\r\n />\r\n \r\n
\r\n
\r\n\r\n
\r\n \r\n (\r\n \r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"sourceUniqueTaskId\")}\r\n \r\n
\r\n
{errors[\"isImportTestResult\"]&&errors[\"isImportTestResult\"].message&&errors[\"isImportSystemQuestions\"]&&errors[\"isImportSystemQuestions\"].message}
\r\n
\r\n
\r\n
\r\n
\r\n \r\n {\r\n let data= getValues()\r\n let body = {\r\n sourceUniqueTaskId: data?.sourceUniqueTaskId?.uniqueInspectionTaskId,\r\n uniqueSystemId: selectedRows[0]?.system?.uniqueSystemId,\r\n isImportTestResult: data?.isImportTestResult,\r\n isImportSystemQuestions:data?.isImportSystemQuestions\r\n };\r\n dispatch(\r\n onImportPreviousTaskDetails(\r\n body,\r\n selectedRows[0].uniqueInspectionTaskId,\r\n setMessage,\r\n setDisplayInfoModal,\r\n setShowImportPreviousTaskDetails\r\n )\r\n );\r\n }}\r\n message={importMessage}\r\n />\r\n \r\n );\r\n};\r\n\r\nexport default ImportPreviousTaskDetails;\r\n","import React, { useEffect, useState } from \"react\";\r\nimport { useAppSelector } from \"../../../redux/hooks\";\r\n\r\nimport { Dialog } from \"primereact/dialog\";\r\nimport { Button } from \"primereact/button\";\r\nimport { classNames } from \"primereact/utils\";\r\nimport { Checkbox } from \"primereact/checkbox\";\r\nimport { ScrollPanel } from \"primereact/scrollpanel\";\r\nimport InformationBox from \"components/common/Message/InformationBox/InformationBox\";\r\nimport ConfirmationBox from \"components/common/Message/ConfirmationBox/ConfirmationBox\";\r\n\r\ninterface Props {\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n selectedRows: any;\r\n getInspectionTechnicians: (data: any) => void;\r\n onQuitTask: (data: any) => void;\r\n}\r\n\r\nexport const QuitTask: React.FC = ({ \r\n showModal = false, \r\n setShowModal = () => {}, \r\n selectedRows = [],\r\n getInspectionTechnicians = () => {},\r\n onQuitTask = () => {}\r\n}) => {\r\n\r\n const [message, setMessage] = useState(\"\");\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const [displayConfirmModal, setDisplayConfirmModal] = useState(false);\r\n const [allChecked, setAllChecked] = useState(false);\r\n const technicians = useAppSelector( (state) => state.inspectionTask.inspectionTaskTechnicians);\r\n const [selectedTechnicians, setSelectedTechnicians] = useState([]);\r\n\r\n useEffect(() => {\r\n if (selectedRows && selectedRows.length) {\r\n getInspectionTechnicians({uniqueInspectionTaskId: selectedRows[0]?.uniqueInspectionTaskId});\r\n }\r\n }, [selectedRows]);\r\n\r\n const onTechnicianChange = (e: { value: any, checked: boolean }) => {\r\n let users = [...selectedTechnicians];\r\n if (e.checked) {\r\n users.push(e.value);\r\n } else {\r\n users.splice(users.indexOf(e.value), 1);\r\n setAllChecked(false);\r\n }\r\n if (users.length === technicians.length) {\r\n setAllChecked(true);\r\n }\r\n setSelectedTechnicians(users);\r\n }\r\n\r\n const handleSubmit = () => {\r\n if (selectedTechnicians.length) {\r\n let techniciansNames = '';\r\n selectedTechnicians.map((element, currentIndex) => {\r\n let item = technicians.find(tech => (tech.id === element));\r\n if (item && item.name) {\r\n if (currentIndex === 0) {\r\n techniciansNames += item.name;\r\n }\r\n else {\r\n techniciansNames += \" ,\" + item.name;\r\n }\r\n }\r\n });\r\n let toasterMessage = `Unsynced data from the TAP App will be lost, are you sure want to quit selected Technician(s)`;\r\n if (techniciansNames !== '') {\r\n toasterMessage += ` (${techniciansNames})`;\r\n }\r\n toasterMessage += '?'\r\n setMessage(`${toasterMessage}`);\r\n setDisplayConfirmModal(true);\r\n } else {\r\n setMessage(\"Select User(s)\");\r\n setDisplayInfoModal(true);\r\n }\r\n };\r\n\r\n const onConfirmAction = () => {\r\n let requestData = {\r\n inspectionTaskId: selectedRows[0]?.uniqueInspectionTaskId,\r\n body: {\r\n uniqueUserIds: selectedTechnicians\r\n }\r\n };\r\n onQuitTask(requestData);\r\n }\r\n\r\n const handleAllCheckClick = (e: any) => {\r\n setAllChecked(e.checked);\r\n let techs: any = [];\r\n if (e.checked) {\r\n for (let i = 0; i < technicians.length; i++) {\r\n techs.push(technicians[i].id)\r\n }\r\n }\r\n else {\r\n techs = [];\r\n }\r\n setSelectedTechnicians(techs);\r\n };\r\n\r\n return (\r\n <>\r\n setShowModal(false)} className=\"display-settings\">\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n {(technicians && technicians.length) ?\r\n (technicians.map((item: any) => (\r\n
\r\n \r\n \r\n
\r\n ))) \r\n : \r\n null\r\n }\r\n\r\n
\r\n
\r\n
\r\n\r\n { technicians && technicians.length ? \r\n (\r\n
\r\n
\r\n ) \r\n : \r\n null \r\n }\r\n\r\n \r\n
\r\n
\r\n\r\n \r\n\r\n \r\n \r\n );\r\n};\r\n\r\nexport default QuitTask;\r\n","export const TASK_LIST_COLS = {\r\n LIST_COLS: [\r\n {\r\n field: 'equipmentType',\r\n header: 'Equipment Type',\r\n // editor: (options) => textEditor(options),\r\n style: { flex: '1 0 200px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'address',\r\n header: 'Address',\r\n // editor: (options) => textEditor(options),\r\n style: { flex: '1 0 300px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'status',\r\n header: 'Status',\r\n //editor: (options) => textEditor(options),\r\n style: { flex: '1 0 200px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'nfpaClassification',\r\n header: 'NFPA Classification',\r\n //editor: (options) => textEditor(options),\r\n style: { flex: '1 0 200px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'healthClassification',\r\n header: 'Health Classification',\r\n //editor: (options) => reportEditor(options),\r\n style: { flex: '1 0 200px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'testResult',\r\n header: 'Test Result',\r\n //editor: (options) => reportEditor(options),\r\n style: { flex: '1 0 200px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'xmlUsage',\r\n header: 'XML Usage',\r\n //editor: (options) => reportEditor(options),\r\n style: { flex: '1 0 200px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'xmlType',\r\n header: 'XML Type',\r\n //editor: (options) => reportEditor(options),\r\n style: { flex: '1 0 200px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'location',\r\n header: 'Location',\r\n style: { flex: '1 0 300px' },\r\n sortable: true,\r\n } \r\n ]\r\n};","import React, { useEffect, useState } from \"react\";\r\nimport { Dialog } from \"primereact/dialog\";\r\n\r\nimport ReportViewer from \"components/common/Report/ReportViewer\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { createReportPreviewSession, setReportPreviewSession } from \"redux/pages/Administration/Site/siteSlice\";\r\n\r\ninterface Props {\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n reportFlag: string;\r\n selectedRows: any;\r\n sortByColumns: any;\r\n inspectionTasksSelected: any;\r\n}\r\n\r\nexport const CompareInspectionTaskReport: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => { },\r\n reportFlag = '',\r\n selectedRows = [],\r\n sortByColumns = [],\r\n inspectionTasksSelected = []\r\n}) => {\r\n\r\n const [reportId, setReportId] = useState(null);\r\n const reportPreviewSession = useAppSelector((state) => state.site.reportPreviewSession);\r\n const dispatch = useDispatch();\r\n\r\n const getSelectedIds = () => {\r\n let params: any = [];\r\n selectedRows.map(item => {\r\n params.push(item.equipmentId);\r\n });\r\n return params;\r\n };\r\n\r\n useEffect(() => {\r\n let params;\r\n if (reportFlag === 'all') {\r\n params = \"\";\r\n } else {\r\n params = getSelectedIds();\r\n }\r\n const reportParameters = {\r\n reportParameters: {\r\n oldUniqueInspectionTaskId: inspectionTasksSelected[0]?.uniqueInspectionTaskId,\r\n newUniqueInspectionTaskId: inspectionTasksSelected[1]?.uniqueInspectionTaskId,\r\n sortColumn: \"\",\r\n oldInspectionTaskName: inspectionTasksSelected[0]?.inspectionTaskName,\r\n newInspectionTaskName: inspectionTasksSelected[1]?.inspectionTaskName,\r\n selectedIds: params\r\n },\r\n reportType: \"Inspection Comparison Report\"\r\n };\r\n dispatch(createReportPreviewSession(reportParameters));\r\n \r\n return(()=> {\r\n\t\t\tdispatch(setReportPreviewSession(\"\"));\r\n\t\t});\r\n }, []);\r\n\r\n useEffect(() => {\r\n if (reportPreviewSession) {\r\n setReportId(reportPreviewSession.previewSessionId);\r\n }\r\n }, [reportPreviewSession])\r\n\r\n return (\r\n <>\r\n {\r\n dispatch(setReportPreviewSession(\"\"));\r\n setShowModal(false);\r\n }}\r\n className=\"display-settings report selectsite\"\r\n style={{ width: \"90vw\", height: \"600px\" }}\r\n >\r\n
\r\n
\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default CompareInspectionTaskReport;\r\n","import React, { useCallback, useState } from \"react\";\r\n\r\nimport { Dialog } from \"primereact/dialog\";\r\nimport { OverlayPanel } from \"primereact/overlaypanel\";\r\n\r\nimport Table from \"components/Table/Table\";\r\nimport { TASK_LIST_COLS } from \"./ColumnData\";\r\nimport PopOver from \"components/common/PopOver/PopOver\";\r\nimport CompareInspectionTaskReport from \"./Report/CompareInspectionTaskReport\";\r\nimport { Overlay, Tooltip } from \"react-bootstrap\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { onExportReport } from \"redux/common/report/customizeReportSlice\";\r\n\r\ninterface Props {\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n tableData: any;\r\n pageIndex: any;\r\n onPageChanged: (state: any, data: any) => void;\r\n onSort: (data: any) => void;\r\n inspectionTasksSelected: any;\r\n}\r\n\r\nexport const CompareInspectionTasks: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => { },\r\n tableData = {},\r\n pageIndex = 0,\r\n onPageChanged = () => {},\r\n onSort = () => {},\r\n inspectionTasksSelected = []\r\n}) => {\r\n\r\n const downloadRef = React.createRef();\r\n\r\n const [selectedRows, setSelectedRows] = useState([]);\r\n const [showReportModal, setShowReportModal] = useState(false);\r\n const [reportFlag, setReportFlag] = useState('all');\r\n const [sortField, setSortField] = useState(\"\");\r\n\tconst [sortOrder, setSortOrder] = useState(\"\");\r\n const [target, setTarget] = useState(null);\r\n const [rowNumber, setRowNumber] = useState(\"\");\r\n const [field, SetField] = useState(\"\");\r\n const dispatch = useDispatch();\r\n \r\n const handleRowSelect = useCallback((data: any) => {\r\n setSelectedRows([...data]);\r\n }, []);\r\n\r\n const onPageChange = (options: any) => {\r\n let sortData: any = {\r\n sortDirection: sortOrder,\r\n sortField: sortField\r\n };\r\n onPageChanged(options, sortData);\r\n }\r\n\r\n const onColumnSort = (event) => {\r\n if (event && event.sortField) {\r\n let sortData = {\r\n sortDirection: event.sortOrder === 1 ? \"ASC\" : \"DESC\",\r\n sortField: event.sortField\r\n }\r\n setSortField(sortData.sortField);\r\n setSortOrder(sortData.sortDirection);\r\n onSort(sortData);\r\n }\r\n }\r\n\r\n const onReportAllClick = () => {\r\n setReportFlag('all');\r\n setShowReportModal(true);\r\n };\r\n\r\n const onReportHighlightedClick = () => {\r\n setReportFlag('highlighted');\r\n setShowReportModal(true);\r\n };\r\n\r\n const onShowToolTip = (e, indexData, options) => {\r\n if (options?.field === \"location\" ) {\r\n setTarget(e.currentTarget);\r\n setRowNumber(indexData?.RowNumber);\r\n SetField(indexData?.[options?.field])\r\n }\r\n };\r\n \r\n const onHideToolTip = () => {\r\n setTarget(null);\r\n setRowNumber(\"\");\r\n SetField(\"\");\r\n };\r\n\r\n const getSelectedIds = () => {\r\n let params: any = [];\r\n selectedRows.map(item => {\r\n params.push(item.equipmentId);\r\n });\r\n return params;\r\n };\r\n\r\n const onExportAll = () => {\r\n var fileName=(inspectionTasksSelected[0]?.inspectionTaskName)+' ['+(inspectionTasksSelected[1]?.inspectionTaskName)+']';\r\n const reportParameters = {\r\n exportParameters: {\r\n oldUniqueInspectionTaskId: inspectionTasksSelected[0]?.uniqueInspectionTaskId,\r\n newUniqueInspectionTaskId: inspectionTasksSelected[1]?.uniqueInspectionTaskId,\r\n sortColumn:sortField,\r\n sortOrder:sortOrder,\r\n oldInspectionTaskName: inspectionTasksSelected[0]?.inspectionTaskName,\r\n newInspectionTaskName: inspectionTasksSelected[1]?.inspectionTaskName,\r\n selectedIds: \"\",\r\n fileName:fileName\r\n },\r\n exportType: \"Inspection Comparison Report\"\r\n };\r\n dispatch(onExportReport(reportParameters,fileName));\r\n };\r\n\r\n const onExportHighlightedClick = () => {\r\n var fileName=(inspectionTasksSelected[0]?.inspectionTaskName)+' ['+(inspectionTasksSelected[1]?.inspectionTaskName)+']';\r\n const reportParameters = {\r\n exportParameters: {\r\n oldUniqueInspectionTaskId: inspectionTasksSelected[0]?.uniqueInspectionTaskId,\r\n newUniqueInspectionTaskId: inspectionTasksSelected[1]?.uniqueInspectionTaskId,\r\n sortColumn:sortField,\r\n sortOrder:sortOrder,\r\n oldInspectionTaskName: inspectionTasksSelected[0]?.inspectionTaskName,\r\n newInspectionTaskName: inspectionTasksSelected[1]?.inspectionTaskName,\r\n selectedIds: getSelectedIds(),\r\n fileName:fileName\r\n },\r\n exportType: \"Inspection Comparison Report\"\r\n };\r\n dispatch(onExportReport(reportParameters,fileName));\r\n };\r\n\r\n const bodyTemplate = (rowData, options) => {\r\n \r\n return (\r\n
\r\n {options?.field == \"location\" ? (\r\n <>\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n onShowToolTip(e, rowData, options)}\r\n onMouseLeave={() => onHideToolTip()}\r\n className=\"table-col\"\r\n >\r\n \r\n \r\n \r\n ) : (\r\n
\r\n \r\n
\r\n )}\r\n
\r\n );\r\n };\r\n\r\n return (\r\n <>\r\n setShowModal(false)}\r\n className=\"display-settings personal selectsite compare-inspection\"\r\n >\r\n
\r\n {(tableData && tableData.inspectionTaskName) && \r\n
\r\n Inspection Task: \r\n \r\n \r\n
\r\n }\r\n
\r\n downloadRef.current?.toggle(e)}\r\n isTemplateMode={true}\r\n onSortData={onColumnSort}\r\n templateFromParent={bodyTemplate}\r\n isTemplateFromParent={true}\r\n />\r\n
\r\n
\r\n \r\n\r\n \r\n
    \r\n
  • Report All
  • \r\n
  • Report Highlighted
  • \r\n
  • Export All
  • \r\n
  • Export Highlighted
  • \r\n
\r\n
\r\n\r\n {showReportModal ? (\r\n \r\n ) : null}\r\n \r\n );\r\n};\r\n\r\nexport default CompareInspectionTasks;","import React, { useEffect, useState } from \"react\";\r\nimport { Dialog } from \"primereact/dialog\";\r\n\r\nimport ReportViewer from \"components/common/Report/ReportViewer\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { createReportPreviewSession, setReportPreviewSession } from \"redux/pages/Administration/Site/siteSlice\";\r\n\r\ninterface Props {\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n reportFlag: string;\r\n selectedRows: any;\r\n sortByColumns: any;\r\n searchText: string;\r\n active: boolean;\r\n closed: boolean;\r\n completed: boolean;\r\n dataFrom: any;\r\n sortField: any,\r\n sortOrder: any,\r\n}\r\n\r\nexport const InspectionTaskReport: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => { },\r\n reportFlag = '',\r\n selectedRows = [],\r\n sortByColumns = [],\r\n searchText = '',\r\n active = true,\r\n closed = true,\r\n completed = true,\r\n dataFrom = '',\r\n sortField = '',\r\n sortOrder = '',\r\n}) => {\r\n const [reportId, setReportId] = useState(null);\r\n const reportPreviewSession = useAppSelector((state) => state.site.reportPreviewSession);\r\n const isCustomerAll = useAppSelector((state) => state.inspectionTaskFilter.isCustomerAll);\r\n const isContractAll = useAppSelector((state) => state.inspectionTaskFilter.isContractAll);\r\n const selectedCustomerId = useAppSelector((state) => state.inspectionTaskFilter.selectedCustomerId);\r\n const selectedContractId = useAppSelector((state) => state.inspectionTaskFilter.selectedContractId);\r\n const dispatch = useDispatch();\r\n\r\n const getSelectedInspectionTaskIds = () => {\r\n let params: any = [];\r\n selectedRows.map(item => {\r\n params.push(item.uniqueInspectionTaskId);\r\n });\r\n return params;\r\n };\r\n\r\n const getContractStatus = () => {\r\n let contractFlag = true\r\n if(!isCustomerAll){\r\n if(isContractAll){\r\n contractFlag = true\r\n } else {\r\n contractFlag = false\r\n }\r\n };\r\n return contractFlag;\r\n };\r\n\r\n useEffect(() => {\r\n let params;\r\n if (reportFlag === 'all') {\r\n params = \"\";\r\n } else {\r\n params = getSelectedInspectionTaskIds();\r\n }\r\n const reportParameters = {\r\n reportParameters: {\r\n uniqueCustomerId: isCustomerAll ? '' : selectedCustomerId,\r\n uniqueContractId: getContractStatus() ? '' : selectedContractId,\r\n uniqueInspectionTaskId: \"\",\r\n statusId: 1,\r\n recentOrAll: dataFrom,\r\n uniqueSystemId: \"\",\r\n allCustomers: isCustomerAll,\r\n allContracts: getContractStatus(),\r\n selectedIds: params,\r\n search: searchText,\r\n active: active,\r\n closed: closed,\r\n completed: completed,\r\n sortColumn: sortField,\r\n sortOrder: sortOrder,\r\n },\r\n reportType: \"Inspection Task Grid Report\"\r\n };\r\n dispatch(createReportPreviewSession(reportParameters));\r\n }, []);\r\n\r\n useEffect(() => {\r\n if (reportPreviewSession) {\r\n setReportId(reportPreviewSession.previewSessionId);\r\n }\r\n }, [reportPreviewSession])\r\n\r\n return (\r\n <>\r\n {\r\n dispatch(setReportPreviewSession(\"\"));\r\n setShowModal(false);\r\n }}\r\n className=\"display-settings report selectsite\"\r\n style={{ width: \"90vw\", height: \"600px\" }}\r\n >\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default InspectionTaskReport;\r\n","import React, { useEffect, useState } from \"react\";\r\nimport { useForm, Controller } from \"react-hook-form\";\r\nimport { Dropdown } from \"primereact/dropdown\";\r\nimport { classNames } from \"primereact/utils\";\r\nimport { Dialog } from \"primereact/dialog\";\r\n\r\nimport ReportViewer from \"components/common/Report/ReportViewer\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { createReportPreviewSession, setReportPreviewSession } from \"redux/pages/Administration/Site/siteSlice\";\r\nimport { getEquipmentPanelList, setEquipmentPanelList } from \"redux/pages/Inspection/InspectionTask/InspectionDetails/Equipment/EquipmentSlice\";\r\n\r\ninterface Props {\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n selectedRows: any;\r\n}\r\n\r\ntype FormData = {\r\n sortBy: string;\r\n equipmentGroup: number;\r\n};\r\n\r\nexport const EquipmentSummary: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => { },\r\n selectedRows = [],\r\n}) => {\r\n\r\n const {\r\n control,\r\n } = useForm({\r\n defaultValues: {\r\n sortBy: \"NFPA Classification\",\r\n equipmentGroup: 0\r\n },\r\n });\r\n\r\n const [equipmentGroup, setEquipmentGroup] = useState(0);\r\n const [reportId, setReportId] = useState(null);\r\n const [sortColumn, setSortColumn] = useState(\"NFPA Classification\");\r\n const [addAll] = useState(false);\r\n\r\n const reportPreviewSession = useAppSelector((state) => state.site.reportPreviewSession);\r\n const equipmentPanelList = useAppSelector((state) => state.equipment.equipmentPanelList);\r\n const dispatch = useDispatch();\r\n\r\n const [sortOptions] = useState([\r\n { title: 'NFPA Classification', value: 'NFPA Classification' },\r\n { title: 'Health Classification', value: 'Health Classification' }\r\n ]);\r\n\r\n useEffect(() => {\r\n dispatch(getEquipmentPanelList(selectedRows[0]?.uniqueInspectionTaskId, addAll));\r\n }, []);\r\n\r\n useEffect(() => {\r\n const reportParameters = {\r\n reportParameters: {\r\n uniqueCustomerId: selectedRows[0]?.uniqueCustomerId,\r\n uniqueInspectionTaskId: selectedRows[0]?.uniqueInspectionTaskId,\r\n classification: sortColumn,\r\n equipmentGroup: equipmentGroup\r\n },\r\n reportType: \"INSPECTIONTASK_EQUIPMENT_SUMMARY\"\r\n };\r\n dispatch(createReportPreviewSession(reportParameters));\r\n\r\n return (() => {\r\n dispatch(setReportPreviewSession(\"\"));\r\n })\r\n }, [sortColumn, equipmentGroup]);\r\n\r\n useEffect(() => {\r\n if (reportPreviewSession) {\r\n setReportId(reportPreviewSession.previewSessionId);\r\n }\r\n }, [reportPreviewSession]);\r\n\r\n return (\r\n <>\r\n {\r\n dispatch(setReportPreviewSession(\"\"));\r\n setShowModal(false);\r\n dispatch(setEquipmentPanelList(\"\"));\r\n }}\r\n className=\"display-settings report selectsite\"\r\n style={{ width: \"90vw\", height: \"600px\" }}\r\n >\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n (\r\n {\r\n setSortColumn(e.value);\r\n }}\r\n options={sortOptions}\r\n optionLabel=\"title\"\r\n optionValue=\"value\"\r\n />\r\n )}\r\n />\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n (\r\n {\r\n setEquipmentGroup(e.value);\r\n }}\r\n options={[{ equipmentId: 0, name: \"All\" }, ...equipmentPanelList]}\r\n optionLabel=\"name\"\r\n optionValue=\"equipmentId\"\r\n />\r\n )}\r\n />\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default EquipmentSummary;\r\n","import React, { useCallback, useEffect, useState, memo, useRef } from \"react\";\r\nimport { OverlayPanel } from \"primereact/overlaypanel\";\r\nimport Filters from \"components/Filters/Filters\";\r\n\r\nimport { Checkbox } from \"primereact/checkbox\";\r\nimport { Dropdown } from \"primereact/dropdown\";\r\nimport { classNames } from \"primereact/utils\";\r\n\r\nimport { InspectionTableData, INSPECTION_TASKS_Extra_COLS } from \"./InspectionTasksData\";\r\nimport InformationBox from \"components/common/Message/InformationBox/InformationBox\";\r\nimport ConfirmationBox from \"components/common/Message/ConfirmationBox/ConfirmationBox\";\r\n\r\nimport { useDispatch } from \"react-redux\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\nimport {\r\n getInspectionTaskList,\r\n getInspectionSearchList,\r\n onAddInspectionTask,\r\n onEditInspectionTask,\r\n deleteInspectionTask,\r\n checkFinalReportUploadStatus,\r\n checkInspectionTaskForClose,\r\n checkInspectionTaskForComplete,\r\n getSelectedReportList,\r\n onUpdateReportSelected,\r\n onCloseInspectionTask,\r\n onCompleteInspectionTask,\r\n getTechnicians,\r\n setUpdatedInspectionData,\r\n getInspectionTaskTechnicians,\r\n quitTask,\r\n getImportPreviousTaskDetails,\r\n compareTasks,\r\n setNewInspectionData,\r\n inActivateInspectionTask,\r\n setDefaultFontSize,\r\n setReportUploadedStatus,\r\n setInspectionSearchId,\r\n setInspectionTaskList,\r\n setInspectionTaskDeletedData\r\n} from \"redux/pages/Inspection/InspectionTask/inspectionTaskSlice\";\r\nimport { checkSystemInUse, setSystemInUse } from 'redux/pages/Inspection/Systems/systemSlice';\r\nimport AddInspectionTask from \"./ManageInspectionTasks/AddInspectionTask\";\r\nimport DrawingList from \"./ManageInspectionTasks/DrawingList\";\r\nimport InspectionReports from \"./ManageInspectionTasks/InspectionReports\";\r\nimport EditInspectionTask from \"./ManageInspectionTasks/EditInspectionTask\";\r\nimport InspectionDetails from \"./ManageInspectionTasks/InspectionDetails/InspectionDetails\";\r\nimport InspectionDrawingsModal from \"./InspectionDrawings/InspectionDrawingsModal\";\r\nimport DataTableComponent from \"components/Table/DataTable\";\r\nimport PendingReports from \"./ManageInspectionTasks/PendingReports\";\r\nimport {\r\n BsCheckCircleFill,\r\n BsFillPencilFill,\r\n BsGridFill,\r\n BsPlusLg,\r\n BsTrashFill,\r\n BsXCircleFill,\r\n} from \"react-icons/bs\";\r\nimport { Button } from \"primereact/button\";\r\nimport { FaChevronDown, FaCog, FaDownload } from \"react-icons/fa\";\r\nimport { InputText } from \"primereact/inputtext\";\r\nimport { getContractDetails } from \"redux/pages/Inspection/Contracts/contractSlice\";\r\nimport ImportPreviousTaskDetails from \"./ImportPreviousTaskDetails/ImportPreviousTaskDetails\";\r\nimport QuitTask from \"./QuitTask/QuitTask\";\r\nimport moment from \"moment\";\r\nimport CompareInspectionTasks from \"./CompareInspectionTasks/CompareInspectionTasks\";\r\nimport { showUI } from \"service/GeneralUtility\";\r\nimport PopOver from \"components/common/PopOver/PopOver\";\r\nimport InspectionTaskReport from \"pages/InspectionTasks/Report/InspectionTaskReport\";\r\nimport EquipmentSummary from \"./EquipmentSummary/EquipmentSummary\"\r\nimport { onExportReport } from \"redux/common/report/customizeReportSlice\";\r\nimport { getContractList, getCustomerList, setDefaultValues, setSelectedContractDetails, setSelectedContractId, setSelectedCustomerDetails, setSelectedCustomerId } from \"redux/pages/Inspection/InspectionTask/inspectionTaskFilterSlice\";\r\ninterface InspectionTaskProps {\r\n searchText?: string;\r\n}\r\n\r\nexport const InspectionTasks: React.FC = () => {\r\n const settingRef = React.createRef();\r\n const MONTHS_LIST = [\r\n { name: \"Last 3 Months\", code: \"1\" },\r\n { name: \"Last 6 Months\", code: \"2\" },\r\n { name: \"Last 12 Months\", code: \"3\" },\r\n { name: \"Last 18 Months\", code: \"4\" },\r\n { name: \"All\", code: \"0\" },\r\n ];\r\n\r\n const STATUS_MAP = {\r\n Active: \"Active\",\r\n Closed: \"Closed\",\r\n Completed: \"Completed\",\r\n };\r\n\r\n const customerList = useAppSelector((state) => state.inspectionTaskFilter.customerList);\r\n const contractList = useAppSelector((state) => state.inspectionTaskFilter.contractList);\r\n const inspectionTaskList = useAppSelector((state) => state.inspectionTask.inspectionTaskList);\r\n const activeSite = useAppSelector((state) => state.administration.loggedInUserDetails.userDefaults?.siteName);\r\n const defaultFontClass = useAppSelector((state) => state.administration.loggedInUserDetails.userDefaults?.fontClass);\r\n const inspectionPageDetails = useAppSelector((state) => state.inspectionTask.inspectionPageDetails);\r\n const isInspectionTaskDeleted = useAppSelector((state) => state.inspectionTask.isInspectionTaskDeleted);\r\n const inspectionTaskSearchId = useAppSelector((state) => state.inspectionTask.inspectionSearchId);\r\n const reportUploadedStatus = useAppSelector((state) => state.inspectionTask.reportUploadedStatus);\r\n const selectedCustomerId = useAppSelector((state) => state.inspectionTaskFilter.selectedCustomerId);\r\n const selectedContractId = useAppSelector((state) => state.inspectionTaskFilter.selectedContractId);\r\n const isCustomerAll = useAppSelector((state) => state.inspectionTaskFilter.isCustomerAll);\r\n const isContractAll = useAppSelector((state) => state.inspectionTaskFilter.isContractAll);\r\n const inspectionTasksRowsPerPage = useAppSelector((state) => state.personalSettings.inspectionTasksRowsPerPage);\r\n const selectedCustomerDetails = useAppSelector((state) => state.inspectionTaskFilter.selectedCustomerDetails);\r\n const selectedContractDetails = useAppSelector((state) => state.inspectionTaskFilter.selectedContractDetails);\r\n const selectedFailedEquipment = useAppSelector((state) => state.dashboard.selectedFailedEquipment);\r\n\r\n const newInspectionTask = useAppSelector((state) => state.inspectionTask.newInspectionData);\r\n const updatedInspectionTask = useAppSelector((state) => state.inspectionTask.updatedInspectionData);\r\n const systemInUse = useAppSelector((state) => state.system.systemInUse);\r\n const selectedReportList = useAppSelector((state) => state.inspectionTask.selectedReportList);\r\n const selectedSite = useAppSelector((state) => state.inspectionTaskFilter.selectedSite);\r\n\r\n const checkedDataForClose = useAppSelector((state) => state.inspectionTask.checkedDataForClose);\r\n const checkedDataForComplete = useAppSelector((state) => state.inspectionTask.checkedDataForComplete);\r\n const inspectionTaskStatus = useAppSelector((state) => state.inspectionTask.inspectionTaskStatus);\r\n\r\n const userPrivileges = useAppSelector((state) => state.user.userPrivileges);\r\n const loggedInUserDetailsStatus = useAppSelector((state) => state.administration.loggedInUserDetailsStatus);\r\n const loggedInUserDetails = useAppSelector((state) => state.administration.loggedInUserDetails);\r\n\r\n const contractDetails = useAppSelector((state) => state.contract.contractDetails);\r\n const technicianData = useAppSelector((state) => state.inspectionTask.technicianData);\r\n const activatedSystemDetails = useAppSelector((state) => state.inspectionTask.activatedSystemDetails);\r\n const [pageIndex, setPageIndex] = useState(0);\r\n const [filterExpanded, setFilterExpanded] = useState(false);\r\n const [toggleActiveTask, setToggleActiveTask] = useState(true);\r\n const [toggleClosedTask, setToggleClosedTask] = useState(true);\r\n const [toggleCompletedTask, setToggleCompletedTask] = useState(true);\r\n const [selectedStatus, setSelectedStatus] = useState([\r\n STATUS_MAP.Active,\r\n STATUS_MAP.Closed,\r\n STATUS_MAP.Completed,\r\n ]);\r\n const [selectedMonth, setSelectedMonth] = useState(\r\n MONTHS_LIST[MONTHS_LIST.length - 2]\r\n );\r\n const [taskDataInfoList, setTaskDataInfoList] = useState([]);\r\n const [showAddModal, setShowAddModal] = useState(false);\r\n const [customerAllChecked, setCustomerAllChecked] = useState();\r\n const [contractAllChecked, setContractAllChecekd] = useState();\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const [showDrawingList, setShowDrawingList] = useState(false);\r\n const [displayConfirmModal, setDisplayConfirmModal] = useState(false);\r\n const [message, setMessage] = useState(\"\");\r\n const [selectedRows, setSelectedRows] = useState([]);\r\n const [isDelete, setIsDelete] = useState(false);\r\n const [showReportsModal, setShowReportsModal] = useState(false);\r\n const [showPendingReportModal, setShowPendingReportModal] = useState(false);\r\n const [selectedReports, setSelectedReports] = useState(null);\r\n const [showEquipmentListModal, setShowEquipmentListModal] = useState(false);\r\n const [inspectionTaskData, setInspectionTaskData] = useState([]);\r\n const [inspectionTaskCols, setInspectionTaskCols] = useState([]);\r\n const [tableColumns, setTableColumns] = useState>([]);\r\n const [isAddSubmit, setIsAddSubmit] = useState(false);\r\n const [isEditSubmit, setIsEditSubmit] = useState(false);\r\n const [isReportSelected, setIsReportSelected] = useState(false);\r\n const [customerName, setCustomerName] = useState(\"\");\r\n const [contractName, setContractName] = useState(\"\");\r\n const [showAddIcon, setShowAddIcon] = useState(true);\r\n const [showEditIcon] = useState(true);\r\n const [showDeleteIcon] = useState(true);\r\n const [fontClass, setFontClass] = useState(defaultFontClass);\r\n const [isSmallFont, setSmallFont] = useState(false);\r\n const [isMediumFont, setMediumFont] = useState(true);\r\n const [isLargeFont, setLargeFont] = useState(false);\r\n const [isFontChange, setIsFontChange] = useState(false);\r\n const [isImportPrevious, setIsImportPrevious] = useState(false);\r\n const [gridReadyToRefresh, setGridReadyToRefresh] = useState(false);\r\n\r\n const [isTaskReadyToClose, setIsTaskReadyToClose] = useState(false);\r\n const [isTaskReadyToComplete, setIsTaskReadyToComplete] = useState(false);\r\n const [pendingReportList, setPendingReportsList] = useState([]);\r\n const [showDrawingModal, setShowDrawingModal] = useState(false);\r\n const [currentStart, setCurrentStart] = useState(1);\r\n const [sortField, setSortField] = useState('');\r\n const [sortOrder, setSortOrder] = useState('');\r\n const [keyWord, setKeyWord] = useState('');\r\n const [inspectionRowData, setInspectionRowData] = useState(\"\");\r\n const [isRowEdit, setIsRowEdit] = useState(false);\r\n const [showEditModal, setShowEditModal] = useState(false);\r\n const [showImportPreviousTaskDetails, setShowImportPreviousTaskDetails] = useState(false);\r\n const [showQuitTask, setShowQuitTask] = useState(false);\r\n const [previousTaskDetails, setPreviousTaskDetails] = useState([]);\r\n const [inactivateFlag, setInactivateFlag] = useState(false);\r\n const [comparisonData, setComparisonData] = useState({});\r\n const [comparisonModal, setComparisonModal] = useState(false);\r\n const [isActiveContract, setIsActiveContract] = useState(true);\r\n const [disableIcons, setDisableIcons] = useState(false);\r\n const [settingListItems, setSettingListItems] = useState()\r\n const [comparisonCurrentStart, setComparisonCurrentStart] = useState(1);\r\n const [comparisonPageIndex, setComparisonPageIndex] = useState(0);\r\n const [additionalMessage, setAdditionalMessage] = useState(\"\");\r\n const [showReportModal, setShowReportModal] = useState(false);\r\n const [reportFlag, setReportFlag] = useState('all');\r\n const [countryId, setCountryId] = useState();\r\n const [showEquipmentSummaryModal, setShowEquipmentSummaryModal] = useState(false);\r\n const downloadRef = React.createRef();\r\n const dispatch = useDispatch();\r\n const [pageDetails, setPageDetails] = useState({});\r\n const activeSiteId = useAppSelector((state) => state.site.activeSite);\r\n const isSearchRef = useRef(false);\r\n\r\n useEffect(() => {\r\n if (!filterExpanded) {\r\n if (activeSiteId) {\r\n dispatch(setSelectedCustomerDetails(\"\"));\r\n dispatch(setSelectedContractDetails(\"\"));\r\n }\r\n dispatch(setSelectedCustomerId(\"\"));\r\n dispatch(getCustomerList());\r\n }\r\n }, [dispatch, activeSiteId, inspectionTaskSearchId]); //-------------- for handling default filter collapsing\r\n\r\n useEffect(() => {\r\n if (customerList && customerList?.length > 0 && !filterExpanded) {\r\n let activeCustomerId = \"\";\r\n let activeCustomerDetails = customerList.filter((customer, key) => customer.isActive === true);\r\n if (activeCustomerDetails?.length > 0) {\r\n activeCustomerDetails.map((element: any) => {\r\n if (selectedCustomerId !== element.uniqueCustomerId || selectedCustomerDetails?.length == 0) {\r\n dispatch(getContractList(element.uniqueCustomerId));\r\n dispatch(setSelectedCustomerId(element.uniqueCustomerId));\r\n dispatch(setSelectedCustomerDetails(element));\r\n activeCustomerId = element.uniqueCustomerId;\r\n }\r\n });\r\n }\r\n if (activeCustomerId == \"\") {\r\n if (selectedCustomerId !== customerList[0].uniqueCustomerId || selectedCustomerDetails?.length == 0) {\r\n dispatch(getContractList(customerList[0].uniqueCustomerId));\r\n dispatch(setSelectedCustomerDetails({\r\n uniqueCustomerId: customerList[0].uniqueCustomerId,\r\n customerName: customerList[0].customerName,\r\n customerNumber: customerList[0].customerNumber,\r\n isActive: true\r\n }));\r\n dispatch(setSelectedCustomerId(customerList[0].uniqueCustomerId));\r\n }\r\n }\r\n }\r\n }, [dispatch, customerList]); //-------------- for handling default filter collapsing\r\n\r\n useEffect(() => {\r\n if (contractList && !filterExpanded) {\r\n let activeContractId = \"\";\r\n if (!isCustomerAll && !isContractAll) {\r\n let activeContractDetails = contractList.filter((contract, key) => contract.isActive === true);\r\n if (activeContractDetails?.length > 0) {\r\n activeContractDetails.map((contractElement: any, contractKey: any) => {\r\n activeContractId = contractElement.uniqueContractId;\r\n if (selectedContractId !== contractElement.uniqueContractId || selectedContractDetails?.length == 0) {\r\n dispatch(setSelectedContractId(contractElement.uniqueContractId));\r\n dispatch(setSelectedContractDetails({\r\n uniqueContractId: contractElement.uniqueContractId,\r\n contractName: `${contractElement.contractName} (${contractElement.contractNumber})`,\r\n active: true,\r\n disabled: false,\r\n status: contractElement.status,\r\n uniqueCustomerId: contractElement.uniqueCustomerId,\r\n customerName: contractElement.customerName,\r\n contractNumber:contractElement.contractNumber\r\n })\r\n );\r\n saveDefaultValues(selectedCustomerId, activeContractId);\r\n }\r\n });\r\n }\r\n if (activeContractId == \"\" && contractList?.length > 0) {\r\n if (selectedContractId !== contractList[0].uniqueContractId || selectedContractDetails?.length == 0) {\r\n dispatch(setSelectedContractId(contractList[0].uniqueContractId));\r\n dispatch(setSelectedContractDetails({\r\n uniqueContractId: contractList[0].uniqueContractId,\r\n contractName: `${contractList[0].contractName} (${contractList[0].contractNumber})`,\r\n active: true,\r\n disabled: false,\r\n status: contractList[0].status,\r\n uniqueCustomerId: contractList[0].uniqueCustomerId,\r\n customerName: contractList[0].customerName,\r\n contractNumber:contractList[0].contractNumber\r\n })\r\n );\r\n saveDefaultValues(selectedCustomerId, activeContractId);\r\n }\r\n }\r\n }\r\n }\r\n }, [dispatch, contractList]); //-------------- for handling default filter collapsing\r\n\r\n useEffect(() => {\r\n setFilterExpanded(false);\r\n }, [activeSiteId]); //-------------- for handling default filter collapsing\r\n\r\n useEffect(() => {\r\n setCustomerAllChecked(isCustomerAll)\r\n }, [isCustomerAll]);\r\n\r\n useEffect(() => {\r\n if (inspectionTaskSearchId.length > 0) {\r\n isSearchRef.current = true;\r\n }\r\n return () => { dispatch(setInspectionSearchId(\"\"));};\r\n }, [dispatch, inspectionTaskSearchId]);\r\n\r\n useEffect(() => {\r\n if (userPrivileges && userPrivileges.length) {\r\n filterSettingItemList();\r\n }\r\n if (selectedRows && selectedRows.length && selectedFailedEquipment && inspectionTaskSearchId.length > 0) { \r\n if ((selectedRows.length === 1) && (selectedRows[0].uniqueInspectionTaskId === inspectionTaskSearchId[0].uniqueInspectionTaskId)) {\r\n onShowEquipmentListModel();\r\n dispatch(setInspectionSearchId(\"\"));\r\n }\r\n }\r\n }, [userPrivileges, selectedRows]) \r\n\r\n useEffect(() => {\r\n if (loggedInUserDetails) {\r\n setCountryId(loggedInUserDetails?.userDefaults?.countryId);\r\n }\r\n }, [loggedInUserDetails])\r\n\r\n useEffect(() => {\r\n if (activatedSystemDetails) {\r\n if(inspectionTaskData && inspectionTaskData?.length){\r\n let inspectionTask = JSON.parse(JSON.stringify(inspectionTaskData));\r\n inspectionTask.map((item) => {\r\n if (item.system.uniqueSystemId === activatedSystemDetails?.uniqueSystemId) {\r\n item.system.systemStatus = \"Active\"\r\n }\r\n })\r\n setInspectionTaskData(inspectionTask);\r\n \r\n let selectedRowsData = JSON.parse(JSON.stringify(selectedRows));\r\n selectedRowsData.map((item) => {\r\n if (item.system.uniqueSystemId === activatedSystemDetails?.uniqueSystemId) {\r\n item.system.systemStatus = \"Active\"\r\n }\r\n })\r\n setSelectedRows(selectedRowsData)\r\n }\r\n }\r\n }, [activatedSystemDetails])\r\n\r\n const filterSettingItemList = () => {\r\n const settingList: any = [];\r\n userPrivileges.map(element => {\r\n if (element === 'SIETAP_INSPECTIONS_IMPORTPREVIOUS') {\r\n settingList.push({\r\n id: 1,\r\n name: 'Import Previous Task Details',\r\n onClick: () => { checkImportPreviousTaskDetails(selectedRows) }\r\n })\r\n } else if (element === 'SIETAP_INSPECTIONS_QUITTASK') {\r\n settingList.push({\r\n id: 2,\r\n name: 'Quit Task',\r\n onClick: () => { onQuitTaskClick(selectedRows) }\r\n })\r\n } else if (element === 'SIETAP_INSPECTIONS_INACTIVATE') {\r\n settingList.push({\r\n id: 3,\r\n name: 'Inactivate',\r\n onClick: () => { onInactivateClick(selectedRows) }\r\n })\r\n } else if (element === 'SIETAP_INSPECTIONS_REPORTSSELECTED') {\r\n settingList.push({\r\n id: 5,\r\n name: 'Reports Selected',\r\n onClick: () => { onReportsSelectedClick(selectedRows) }\r\n })\r\n } else if (element === 'SIETAP_INSPECTIONS_COMPARE') {\r\n settingList.push({\r\n id: 4,\r\n name: 'Compare',\r\n onClick: () => { onCompareClick(selectedRows) }\r\n })\r\n }\r\n });\r\n settingList.push({\r\n id: 6,\r\n name: 'Drawings',\r\n onClick: () => { onDrawingsClicked() }\r\n });\r\n settingList.push({\r\n id: 7,\r\n name: 'Equipment Summary',\r\n onClick: () => { \r\n if (selectedRows.length < 1) {\r\n setMessage(\"Select an Inspection Task\");\r\n setDisplayInfoModal(true);\r\n } else if (selectedRows.length > 1) {\r\n setMessage(\"This operation can be performed only one row at a time\");\r\n setDisplayInfoModal(true);\r\n }\r\n else{setShowEquipmentSummaryModal(true) } \r\n }\r\n })\r\n setSettingListItems(settingList)\r\n }\r\n\r\n useEffect(() => {\r\n setContractAllChecekd(isContractAll);\r\n dispatch(setSelectedContractDetails(\"\"));\r\n }, [isContractAll]);\r\n\r\n useEffect(() => {\r\n if (isDelete && reportUploadedStatus?.inspectionTaskName) {\r\n if (reportUploadedStatus.isFinalReportUploaded) {\r\n if (showUI(userPrivileges, \"SIETAP_INSPECTIONS_DELETE_FINISHED_TASK\")) {\r\n setMessage(\"Are you sure you want to delete the selected Inspection Task?\");\r\n setDisplayConfirmModal(true);\r\n } else {\r\n setMessage(\"You do not have the permission to delete this Inspection Task\");\r\n setDisplayInfoModal(true);\r\n }\r\n } else {\r\n setMessage(\"Are you sure you want to delete the selected Inspection Task?\");\r\n setDisplayConfirmModal(true);\r\n }\r\n }\r\n }, [isDelete, reportUploadedStatus]);\r\n\r\n useEffect(() => {\r\n if (loggedInUserDetailsStatus && loggedInUserDetailsStatus === 'success') {\r\n if (customerAllChecked || contractAllChecked) {\r\n setInspectionTaskCols([]);\r\n setInspectionTaskCols([INSPECTION_TASKS_Extra_COLS, ...tableColumns].flat());\r\n } else if (!customerAllChecked && !contractAllChecked) {\r\n setInspectionTaskCols(tableColumns);\r\n }\r\n if ((selectedCustomerId) || customerAllChecked || (!customerAllChecked && contractAllChecked)) {\r\n if (inspectionTaskSearchId.length === 0 && !isSearchRef.current) {\r\n let body = {\r\n uniqueCustomerId: selectedCustomerId,\r\n uniqueContractId: selectedContractId,\r\n isCustomerAll: isCustomerAll,\r\n isContractAll: isContractAll,\r\n active: toggleActiveTask,\r\n closed: toggleClosedTask,\r\n completed: toggleCompletedTask,\r\n dataFrom: selectedMonth.code,\r\n };\r\n setInspectionTaskData([]);\r\n setSelectedRows([]); \r\n dispatch(getInspectionTaskList(body, 1, keyWord, sortField, sortOrder));\r\n if (gridReadyToRefresh) {\r\n setGridReadyToRefresh(false);\r\n }\r\n } else if (inspectionTaskSearchId.length > 0 && isSearchRef.current) {\r\n setSelectedRows([]);\r\n dispatch(getInspectionSearchList(inspectionTaskSearchId[0].uniqueInspectionTaskId,inspectionTaskSearchId[0].searchBy));\r\n isSearchRef.current = false;\r\n } \r\n } else {\r\n setInspectionTaskData([]);\r\n setSelectedRows([]);\r\n }\r\n if (loggedInUserDetails?.userDefaults?.siteStatus === 'Active') {\r\n if (contractAllChecked || customerAllChecked) {\r\n setShowAddIcon(false);\r\n } else {\r\n setShowAddIcon(true);\r\n }\r\n } else {\r\n setShowAddIcon(false);\r\n }\r\n }\r\n }, [\r\n dispatch,\r\n isSearchRef,\r\n inspectionTaskSearchId,\r\n selectedContractId,\r\n toggleActiveTask,\r\n toggleClosedTask,\r\n toggleCompletedTask,\r\n customerAllChecked,\r\n contractAllChecked,\r\n selectedMonth,\r\n selectedSite,\r\n loggedInUserDetailsStatus,\r\n inspectionTasksRowsPerPage,\r\n gridReadyToRefresh\r\n ]);\r\n\r\n useEffect(() => {\r\n if (inspectionPageDetails) {\r\n setPageDetails(inspectionPageDetails);\r\n }\r\n }, [inspectionPageDetails]);\r\n\r\n useEffect(() => {\r\n if (inspectionTasksRowsPerPage && inspectionTasksRowsPerPage > 0) {\r\n let modifiedPageDetails = { ...pageDetails, 'currentLength': inspectionTasksRowsPerPage, 'pageCount': inspectionTasksRowsPerPage };\r\n setPageDetails(modifiedPageDetails);\r\n setCurrentStart(1)\r\n setPageIndex(0)\r\n }\r\n }, [inspectionTasksRowsPerPage])\r\n\r\n useEffect(() => {\r\n if (customerAllChecked || contractAllChecked) {\r\n setInspectionTaskCols([]);\r\n setInspectionTaskCols([INSPECTION_TASKS_Extra_COLS, ...tableColumns].flat());\r\n } else if (!customerAllChecked && !contractAllChecked) {\r\n setInspectionTaskCols(tableColumns);\r\n }\r\n }, [tableColumns])\r\n\r\n useEffect(() => {\r\n if (inspectionTaskList.length > 0) {\r\n setTaskDataInfoList(inspectionTaskList);\r\n dispatch(setInspectionTaskList(\"\"));\r\n } else {\r\n setInspectionTaskData([]);\r\n }\r\n }, [inspectionTaskList]);\r\n\r\n useEffect(() => {\r\n if (taskDataInfoList?.length > 0) { \r\n setSelectedRows([]);\r\n let listData = JSON.parse(JSON.stringify(taskDataInfoList))\r\n listData.map((item: any) => {\r\n item.plannedEndDate = moment(item.plannedEndDate).format(\"YYYY-MM-DD\").toString()\r\n item.plannedStartDate = moment(item.plannedStartDate).format(\"YYYY-MM-DD\").toString()\r\n })\r\n setInspectionTaskData(listData);\r\n if (inspectionTaskSearchId.length > 0 && inspectionTaskSearchId[0].uniqueInspectionTaskId) {\r\n let index = listData.findIndex(element => (element.uniqueInspectionTaskId === inspectionTaskSearchId[0].uniqueInspectionTaskId)); \r\n if (index !== -1) {\r\n handleRowSelect([listData[0]]);\r\n } else {\r\n //dispatch(setInspectionSearchId(\"\")); ----------- Purposefuly commented\r\n }\r\n } else {\r\n handleRowSelect([listData[0]]);\r\n }\r\n setDisableIcons(false);\r\n } else {\r\n setDisableIcons(true)\r\n setInspectionTaskData([]);\r\n setSelectedRows([]);\r\n }\r\n }, [taskDataInfoList]);\r\n\r\n useEffect(() => {\r\n let customer = \"\";\r\n if (selectedCustomerDetails && selectedCustomerId) {\r\n customer = `${selectedCustomerDetails?.customerName} (${selectedCustomerDetails?.customerNumber})`;\r\n } else {\r\n if (!customerAllChecked) {\r\n customer = \"None\";\r\n } else {\r\n customer = \"All\";\r\n }\r\n }\r\n setCustomerName(customer);\r\n }, [selectedCustomerDetails, selectedCustomerId, customerAllChecked]);\r\n\r\n useEffect(() => {\r\n let contract = \"\";\r\n if (selectedContractDetails) {\r\n contract = selectedContractDetails?.contractName;\r\n if (selectedContractDetails?.status === \"Closed\")\r\n setIsActiveContract(false);\r\n else\r\n setIsActiveContract(true);\r\n } else {\r\n if (!contractAllChecked && !customerAllChecked) {\r\n contract = \"None\";\r\n } else {\r\n contract = \"All\";\r\n }\r\n }\r\n setContractName(contract);\r\n }, [selectedContractDetails, contractAllChecked, customerAllChecked]);\r\n\r\n const inspectionGridColumnTemplate = (rowData, options) => {\t\t\r\n return (
);\r\n\t};\r\n\r\n const onPageChanged = (options: any) => {\r\n if (options !== pageIndex) {\r\n setPageIndex(options);\r\n let currentStart = (options * pageDetails?.currentLength) + 1\r\n setCurrentStart(currentStart)\r\n let body = {\r\n uniqueCustomerId: selectedCustomerId,\r\n uniqueContractId: selectedContractId,\r\n isCustomerAll: isCustomerAll,\r\n isContractAll: isContractAll,\r\n active: toggleActiveTask,\r\n closed: toggleClosedTask,\r\n completed: toggleCompletedTask,\r\n dataFrom: selectedMonth.code,\r\n };\r\n dispatch(getInspectionTaskList(body, currentStart, keyWord, sortField, sortOrder));\r\n }\r\n };\r\n\r\n const onCompareClick = (selectedRows) => {\r\n setComparisonData({})\r\n if (selectedRows?.length === 1) {\r\n setMessage('Select two Inspection Tasks');\r\n setDisplayInfoModal(true);\r\n } else if (selectedRows.length === 2) {\r\n if ((selectedRows[0]?.system?.uniqueSystemId) == (selectedRows[1]?.system?.uniqueSystemId)) {\r\n let body = {\r\n uniqueInspectionTaskId1: selectedRows[0]?.uniqueInspectionTaskId,\r\n uniqueInspectionTaskId2: selectedRows[1]?.uniqueInspectionTaskId,\r\n systemid: selectedRows[0]?.system?.uniqueSystemId\r\n };\r\n dispatch(compareTasks(body, 1, null, setComparisonData, setMessage, setDisplayInfoModal))\r\n } else {\r\n setMessage('Systems of selected Inspection Tasks are different');\r\n setDisplayInfoModal(true);\r\n }\r\n } else {\r\n setMessage('This operation can be performed only two rows at a time.');\r\n setDisplayInfoModal(true);\r\n }\r\n }\r\n\r\n const onSort = (event) => {\r\n if (event && inspectionTaskData && inspectionTaskData.length) {\r\n let sortDirection: string;\r\n if (event.sortOrder === 1)\r\n sortDirection = \"ASC\"\r\n else\r\n sortDirection = \"DESC\"\r\n setSortField(event.sortField)\r\n setSortOrder(sortDirection)\r\n let body = {\r\n uniqueCustomerId: selectedCustomerId,\r\n uniqueContractId: selectedContractId,\r\n isCustomerAll: isCustomerAll,\r\n isContractAll: isContractAll,\r\n active: toggleActiveTask,\r\n closed: toggleClosedTask,\r\n completed: toggleCompletedTask,\r\n dataFrom: selectedMonth.code,\r\n };\r\n dispatch(getInspectionTaskList(body, currentStart, keyWord, event.sortField, sortDirection));\r\n }\r\n }\r\n\r\n const onGlobalFilterChange = (event) => {\r\n const value = event.target.value;\r\n setKeyWord(value);\r\n let body = {\r\n uniqueCustomerId: selectedCustomerId,\r\n uniqueContractId: selectedContractId,\r\n isCustomerAll: isCustomerAll,\r\n isContractAll: isContractAll,\r\n active: toggleActiveTask,\r\n closed: toggleClosedTask,\r\n completed: toggleCompletedTask,\r\n dataFrom: selectedMonth.code,\r\n };\r\n dispatch(getInspectionTaskList(body, 1, value, sortField, sortOrder));\r\n };\r\n\r\n useEffect(() => {\r\n if (checkedDataForClose?.length != 0) {\r\n if (isTaskReadyToClose || inactivateFlag) {\r\n if (isTaskReadyToClose && checkedDataForClose?.isClosedTaskExistsForSystem === true) {\r\n setMessage(\"A Closed task already exist for the system\");\r\n setDisplayInfoModal(true);\r\n }else if (checkedDataForClose?.isIncompleteTasksExistForSystem) {\r\n setMessage(\"Incomplete inspection task exist under this system, cannot be closed\");\r\n setDisplayInfoModal(true);\r\n } else if (checkedDataForClose?.hasTechniciansJoinedInApp) {\r\n let technames = \"\";\r\n checkedDataForClose.techniciansName.map((item, currentIndex) => {\r\n if (currentIndex === 0) {\r\n technames += item;\r\n }\r\n else {\r\n technames += \" ,\" + item;\r\n }\r\n })\r\n setMessage(`Do you want to quit all the tasks of the Technician(s) and ${inactivateFlag ? 'inactivate' : 'close'} the Inspection Task? Technicians connected to the Inspection Task -` + technames);\r\n setDisplayConfirmModal(true);\r\n }\r\n else {\r\n setMessage(`Are you sure you want to ${inactivateFlag ? 'inactivate' : 'close'} the selected Inspection Task?`);\r\n setDisplayConfirmModal(true);\r\n }\r\n }\r\n }\r\n }, [checkedDataForClose]);\r\n\r\n useEffect(() => {\r\n if (checkedDataForComplete?.length != 0 && isTaskReadyToComplete === true) {\r\n let pendingReportNames: any = [];\r\n if (checkedDataForComplete?.isReportsGenerated === false) {\r\n checkedDataForComplete.inspectionReports.map((item) => {\r\n pendingReportNames.push(item);\r\n })\r\n setMessage(\"All the Inspection Reports selected for this Task are not generated, Task cannot be completed\");\r\n setIsTaskReadyToComplete(false);\r\n setPendingReportsList(pendingReportNames);\r\n setShowPendingReportModal(true);\r\n }\r\n else if (checkedDataForComplete?.isReportsGenerated === true) {\r\n if (checkedDataForComplete?.isFinalReportUploaded === false) {\r\n checkedDataForComplete.inspectionReports.map((item) => {\r\n pendingReportNames.push(item);\r\n })\r\n setMessage(\"Final reports for all the Inspection Reports selected for this Task are not uploaded, Task cannot be completed\");\r\n setIsTaskReadyToComplete(false);\r\n setPendingReportsList(pendingReportNames);\r\n setShowPendingReportModal(true);\r\n }\r\n else {\r\n if (checkedDataForComplete?.isFinalReportUploaded === true) {\r\n setMessage(\r\n \"Are you sure you want to complete the selected Inspection Task?\"\r\n );\r\n setDisplayConfirmModal(true);\r\n }\r\n }\r\n }\r\n }\r\n }, [checkedDataForComplete]);\r\n\r\n useEffect(() => {\r\n if (isInspectionTaskDeleted.length > 0) {\r\n let listData = JSON.parse(JSON.stringify(taskDataInfoList))\r\n listData = listData.filter(\r\n (item: any) => item.uniqueInspectionTaskId !== isInspectionTaskDeleted\r\n );\r\n setTaskDataInfoList(listData);\r\n setMessage(\"Inspection Task deleted\");\r\n setDisplayInfoModal(true);\r\n dispatch(setInspectionTaskDeletedData(''))\r\n }\r\n\r\n }, [isInspectionTaskDeleted])\r\n \r\n const onStatusChange = (e: { value: any; checked: boolean }) => {\r\n let selectedStatusCpy = [...selectedStatus];\r\n\r\n if (e.checked) selectedStatusCpy.push(e.value);\r\n else selectedStatusCpy.splice(selectedStatusCpy.indexOf(e.value), 1);\r\n\r\n setSelectedStatus(selectedStatusCpy);\r\n if (e.value === \"Active\") {\r\n setToggleActiveTask(!toggleActiveTask);\r\n } else if (e.value === \"Closed\") {\r\n setToggleClosedTask(!toggleClosedTask);\r\n } else if (e.value === \"Completed\") {\r\n setToggleCompletedTask(!toggleCompletedTask);\r\n };\r\n dispatch(setInspectionSearchId(\"\"));\r\n };\r\n\r\n const onMonthChange = (e: { value: any }) => {\r\n setSelectedMonth(e.value);\r\n dispatch(setInspectionSearchId(\"\"));\r\n };\r\n\r\n const handleRowSelect = useCallback((data: any) => { \r\n if (data && data.length > 0) {\r\n //To resolve useEffect dependency\r\n setSelectedRows([...data]);\r\n }\r\n else {\r\n setSelectedRows(inspectionTaskData.length ? [inspectionTaskData[0]] : []);\r\n }\r\n }, []);\r\n\r\n const deleteIconClick = () => {\r\n setIsDelete(false);\r\n setIsTaskReadyToClose(false);\r\n setIsTaskReadyToComplete(false);\r\n setInactivateFlag(false)\r\n dispatch(setReportUploadedStatus([]))\r\n if (selectedRows.length < 1) {\r\n setMessage(\"Select an Inspection Task\");\r\n setDisplayInfoModal(true);\r\n } else if (selectedRows.length > 1) {\r\n setMessage(\"This operation can be performed only one row at a time\");\r\n setDisplayInfoModal(true);\r\n } else if (selectedRows.length === 1) {\r\n if (selectedRows[0].status === \"Active\") {\r\n setMessage(\"Selected Inspection Task is active, cannot be deleted\");\r\n setDisplayInfoModal(true);\r\n } else if (selectedRows[0].status === \"Closed\" || selectedRows[0].status === \"Completed\" || selectedRows[0].status === \"Inactive\") {\r\n setIsDelete(true);\r\n dispatch(checkFinalReportUploadStatus(selectedRows[0].uniqueInspectionTaskId));\r\n }\r\n }\r\n };\r\n\r\n const closeIconClick = () => {\r\n setIsTaskReadyToClose(false);\r\n setIsDelete(false);\r\n setIsTaskReadyToComplete(false);\r\n setInactivateFlag(false);\r\n if (selectedRows.length < 1) {\r\n setMessage(\"Select an Inspection Task\");\r\n setDisplayInfoModal(true);\r\n } else if (selectedRows.length > 1) {\r\n setMessage(\"This operation can be performed only one row at a time\");\r\n setDisplayInfoModal(true);\r\n } else if (selectedRows.length === 1) {\r\n if (selectedRows[0].status === \"Closed\") {\r\n setMessage(\"Inspection Task is already closed\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n if (selectedRows[0]?.status === \"Completed\") {\r\n if (!showUI(userPrivileges, \"SIETAP_INSPECTIONS_COMPLETEDTASKS_CLOSE\")) {\r\n setMessage(\"Selected Inspection task is Completed, cannot be closed\");\r\n setDisplayInfoModal(true);\r\n return false;\r\n }\r\n }\r\n let body = {\r\n uniqueSystemId: selectedRows[0].system.uniqueSystemId,\r\n status: selectedRows[0].status,\r\n uniqueContractId: selectedRows[0].uniqueContractId,\r\n };\r\n setIsTaskReadyToClose(true);\r\n dispatch(checkInspectionTaskForClose(selectedRows[0].uniqueInspectionTaskId, body,));\r\n }\r\n }\r\n };\r\n\r\n const completeIconClick = () => {\r\n setIsTaskReadyToComplete(false);\r\n setIsDelete(false);\r\n setIsTaskReadyToClose(false);\r\n if (selectedRows.length < 1) {\r\n setMessage(\"Select an Inspection Task\");\r\n setDisplayInfoModal(true);\r\n } else if (selectedRows.length > 1) {\r\n setMessage(\"This operation can be performed only one row at a time\");\r\n setDisplayInfoModal(true);\r\n } else if (selectedRows.length === 1) {\r\n if (selectedRows[0].status === \"Active\") {\r\n setMessage(\"Selected Inspection Task is not closed, only closed Tasks can be set as completed\");\r\n setDisplayInfoModal(true);\r\n }\r\n else if (selectedRows[0].status === \"Completed\") {\r\n setMessage(\"Inspection Task is already Completed\");\r\n setDisplayInfoModal(true);\r\n }\r\n else {\r\n let body = {\r\n uniqueSystemId: selectedRows[0].system.uniqueSystemId,\r\n status: selectedRows[0].status,\r\n uniqueContractId: selectedRows[0].uniqueContractId,\r\n };\r\n setIsTaskReadyToComplete(true);\r\n dispatch(\r\n checkInspectionTaskForComplete(\r\n body,\r\n selectedRows[0].uniqueInspectionTaskId\r\n )\r\n );\r\n }\r\n }\r\n };\r\n\r\n const CustomHeaderCmp = () => {\r\n return (\r\n
\r\n
\r\n
\r\n
Site
\r\n
\r\n {activeSite}\r\n
\r\n
\r\n
\r\n
Customer
\r\n
\r\n {customerName}\r\n
\r\n
\r\n
\r\n
Contract
\r\n
\r\n {contractName}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n );\r\n };\r\n\r\n useEffect(() => {\r\n if (comparisonData && comparisonData.equipmentDetails) {\r\n setComparisonModal(true);\r\n }\r\n }, [comparisonData])\r\n\r\n const onConfirmAction = () => {\r\n if (isDelete === true) {\r\n setIsDelete(false);\r\n setDisplayConfirmModal(false);\r\n const uniqueInspectionTaskId = selectedRows[0].uniqueInspectionTaskId;\r\n if (selectedRows.length === 1) {\r\n dispatch(\r\n deleteInspectionTask({\r\n uniqueInspectionTaskId,\r\n setSelectedRows,\r\n setMessage,\r\n setDisplayInfoModal,\r\n })\r\n );\r\n }\r\n }\r\n else if (isTaskReadyToClose === true) {\r\n setDisplayConfirmModal(false);\r\n let body = {\r\n uniqueContractId: selectedRows[0].uniqueContractId,\r\n };\r\n dispatch(\r\n onCloseInspectionTask(\r\n body,\r\n selectedRows[0].uniqueInspectionTaskId,\r\n setMessage,\r\n setDisplayInfoModal,\r\n setAdditionalMessage,\r\n )\r\n );\r\n setTimeout(() => {\r\n selectedRows[0].status = \"Closed\"\r\n }, 200)\r\n }\r\n else if (isTaskReadyToComplete === true) {\r\n setDisplayConfirmModal(false);\r\n let body = {\r\n uniqueContractId: selectedRows[0].uniqueContractId,\r\n };\r\n dispatch(\r\n onCompleteInspectionTask(\r\n body,\r\n selectedRows[0].uniqueInspectionTaskId,\r\n setMessage,\r\n setDisplayInfoModal,\r\n )\r\n );\r\n setTimeout(() => {\r\n selectedRows[0].status = \"Complete\"\r\n }, 200)\r\n } else if (inactivateFlag) {\r\n setDisplayConfirmModal(false);\r\n let newDate = new Date();\r\n let updatedDate = moment(new Date(newDate)).format(\"YYYY-MM-DD\").toString();\r\n dispatch(inActivateInspectionTask(selectedRows[0], setSelectedRows, setMessage, setDisplayInfoModal, updatedDate));\r\n } else if (isFontChange) {\r\n setIsFontChange(false);\r\n setDisplayConfirmModal(false);\r\n let body = {\r\n fontClass: fontClass\r\n }\r\n dispatch(setDefaultFontSize(body, setMessage, setDisplayInfoModal))\r\n } else if (isImportPrevious) {\r\n setIsImportPrevious(false);\r\n setDisplayConfirmModal(false)\r\n setShowImportPreviousTaskDetails(true)\r\n }\r\n };\r\n\r\n const onCancel = () => {\r\n if (isFontChange) {\r\n setIsFontChange(false);\r\n }\r\n else if (isImportPrevious) {\r\n setIsImportPrevious(false);\r\n }\r\n if(inactivateFlag){\r\n setInactivateFlag(false);\r\n }\r\n }\r\n\r\n const onInactivateClick = (selectedRows) => {\r\n if (selectedRows?.length === 1) {\r\n if (selectedRows[0]?.status === 'Inactive') {\r\n setMessage('Inspection Task is already inactive');\r\n setDisplayInfoModal(true);\r\n } else if (selectedRows[0]?.status === 'Completed') {\r\n setMessage('Inspection Task is completed, cannot be Inactivated');\r\n setDisplayInfoModal(true);\r\n } else {\r\n setIsTaskReadyToClose(false);\r\n setInactivateFlag(true);\r\n let body = {\r\n status: \"closed\",\r\n uniqueContractId: selectedRows[0]?.uniqueContractId,\r\n uniqueSystemId: selectedRows[0]?.system?.uniqueSystemId\r\n };\r\n dispatch(checkInspectionTaskForClose(selectedRows[0].uniqueInspectionTaskId, body));\r\n }\r\n } else {\r\n setMessage('This operation can be performed only one row at a time.');\r\n setDisplayInfoModal(true);\r\n }\r\n }\r\n\r\n const onQuitTaskClick = (selectedRows) => {\r\n if (selectedRows && selectedRows.length) {\r\n if (selectedRows?.length === 1) {\r\n let selectedTaskData = selectedRows[0];\r\n if (selectedTaskData.status === \"Active\") {\r\n setShowQuitTask(true);\r\n } else {\r\n setMessage('Selected Inspection Task is not Active');\r\n setDisplayInfoModal(true);\r\n }\r\n } else {\r\n setMessage('This operation can be performed only one row at a time.');\r\n setDisplayInfoModal(true);\r\n }\r\n }\r\n }\r\n\r\n const onReportsSelectedClick = (selectedRows) => {\r\n if (selectedRows?.length < 1) {\r\n setMessage(\"Select an Inspection Task\");\r\n setDisplayInfoModal(true);\r\n } else if (selectedRows.length > 1) {\r\n setMessage(\"This operation can be performed only one row at a time\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n dispatch(getSelectedReportList(selectedRows[0]?.uniqueInspectionTaskId));\r\n setIsReportSelected(true);\r\n setShowReportsModal(true);\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n if (selectedReportList != \"\") {\r\n setSelectedReports(selectedReportList.reportDetails);\r\n }\r\n }, [selectedReportList, isReportSelected]);\r\n\r\n const saveReportClick = (selections) => {\r\n let selectedReportId: any = [];\r\n let activeSiteId= loggedInUserDetails?.userDefaults?.uniqueSiteId;\r\n selections.map((item: any) => {\r\n return selectedReportId.push(item.inspectionReportId.toString());\r\n });\r\n dispatch(\r\n onUpdateReportSelected(\r\n selectedReportId,\r\n selectedRows[0].uniqueInspectionTaskId,\r\n activeSiteId,\r\n setMessage,\r\n setDisplayInfoModal,\r\n setShowReportsModal,\r\n selections,\r\n setSelectedReports,\r\n )\r\n );\r\n };\r\n\r\n const editIconClick = () => {\r\n if (selectedRows.length < 1) {\r\n setMessage(\"Select an Inspection Task\");\r\n setDisplayInfoModal(true);\r\n } else if (selectedRows.length > 1) {\r\n setMessage(\"This operation can be performed only one row at a time\");\r\n setDisplayInfoModal(true);\r\n } else if (selectedRows[0]?.system?.systemStatus === \"Closed\") {\r\n setMessage(\r\n \"System of selected Inspection task is closed, cannot be edited\"\r\n );\r\n setDisplayInfoModal(true);\r\n } else {\r\n if (selectedRows[0]?.isRecentTask) {\r\n setShowEditModal(true);\r\n }\r\n else if (!selectedRows[0]?.isRecentTask) {\r\n if (!showUI(userPrivileges, \"SIETAP_INSPECTIONS_COMPLETEDTASKS_EDIT\")) {\r\n setShowEditModal(false);\r\n setMessage(\"Selected Inspection Task is not a recently added Task. Only the recently added Inspection Tasks can be edited\");\r\n setDisplayInfoModal(true);\r\n }\r\n else {\r\n setShowEditModal(true);\r\n }\r\n }\r\n }\r\n };\r\n\r\n const onAddInspectionTaskClick = (submitData: any) => {\r\n setIsAddSubmit(true);\r\n const pageDetailsInfo = {\r\n uniqueCustomerId: selectedCustomerId,\r\n uniqueContractId: selectedContractId,\r\n isCustomerAll: isCustomerAll,\r\n isContractAll: isContractAll,\r\n active: toggleActiveTask,\r\n closed: toggleClosedTask,\r\n completed: toggleCompletedTask,\r\n dataFrom: selectedMonth.code,\r\n sortField: sortField,\r\n sortOrder: sortOrder,\r\n keyWord: keyWord,\r\n currentStart: currentStart\r\n };\r\n const body = { ...submitData, pageInfo: pageDetailsInfo };\r\n dispatch(\r\n onAddInspectionTask(\r\n body,\r\n setMessage,\r\n setDisplayInfoModal,\r\n setShowAddModal\r\n )\r\n );\r\n };\r\n\r\n useEffect(() => {\r\n if (newInspectionTask && isAddSubmit && systemInUse?.length != 0) {\r\n if (systemInUse?.isSiemens) {\r\n if (newInspectionTask.isParsed) {\r\n setMessage(\"Inspection Task added\");\r\n dispatch(setSystemInUse([]));\r\n } else {\r\n setMessage(\"Inspection Task added. Sending Equipment list to the Server. For large systems, it will take some time..\");\r\n dispatch(setSystemInUse([]));\r\n }\r\n } else {\r\n setMessage(\"Inspection Task added\");\r\n dispatch(setSystemInUse([]));\r\n }\r\n let newData = JSON.parse(JSON.stringify(newInspectionTask));\r\n newData.plannedEndDate = moment(newData.plannedEndDate).format(\"YYYY-MM-DD\").toString()\r\n newData.plannedStartDate = moment(newData.plannedStartDate).format(\"YYYY-MM-DD\").toString()\r\n setDisplayInfoModal(true);\r\n let inspectionTask = JSON.parse(JSON.stringify(inspectionTaskData));\r\n if (inspectionTask.length === 0) {\r\n inspectionTask.push(newData);\r\n const pagination = {\r\n currentLength: pageDetails?.currentLength + 1,\r\n currentStart: pageDetails?.currentStart,\r\n pageCount: pageDetails?.pageCount + 1,\r\n totalCount: pageDetails?.totalCount\r\n }\r\n setPageDetails(pagination);\r\n }\r\n else {\r\n inspectionTask.unshift(newData);\r\n }\r\n setInspectionTaskData(inspectionTask); \r\n setSelectedRows((inspectionTask && inspectionTask.length) ? [inspectionTask[0]] : []);\r\n setIsAddSubmit(false);\r\n setDisableIcons(false)\r\n }\r\n }, [newInspectionTask, systemInUse, isAddSubmit, inspectionTaskData]);\r\n\r\n const onEditInspectionTaskClick = (submitData: any) => {\r\n setIsEditSubmit(true);\r\n dispatch(setUpdatedInspectionData(\"\"))\r\n dispatch(\r\n onEditInspectionTask(\r\n submitData,\r\n selectedRows[0].uniqueInspectionTaskId,\r\n setMessage,\r\n setDisplayInfoModal,\r\n setShowEditModal\r\n )\r\n );\r\n };\r\n\r\n useEffect(() => {\r\n if (updatedInspectionTask && updatedInspectionTask?.uniqueInspectionTaskId === selectedRows[0]?.uniqueInspectionTaskId && isEditSubmit && systemInUse?.length != 0) {\r\n if (systemInUse?.isSiemens) {\r\n if (updatedInspectionTask.isParsed) {\r\n setMessage(\"Inspection Task updated\");\r\n dispatch(setSystemInUse([]))\r\n } else {\r\n setMessage(\"Inspection Task updated. Sending Equipment list to the Server. For large systems, it will take some time..\");\r\n dispatch(setSystemInUse([]))\r\n }\r\n } else {\r\n setMessage(\"Inspection Task Updated\");\r\n dispatch(setSystemInUse([]))\r\n }\r\n setDisplayInfoModal(true);\r\n let updatedData = JSON.parse(JSON.stringify(updatedInspectionTask));\r\n updatedData.plannedEndDate = moment(updatedData.plannedEndDate).format(\"YYYY-MM-DD\").toString()\r\n updatedData.plannedStartDate = moment(updatedData.plannedStartDate).format(\"YYYY-MM-DD\").toString()\r\n let inspectionTask = JSON.parse(JSON.stringify(inspectionTaskData));\r\n let currentIndex = inspectionTask.findIndex((item: any) => item.uniqueInspectionTaskId === selectedRows[0].uniqueInspectionTaskId);\r\n const newInspectionList: any = inspectionTask.filter((item: any) => item.uniqueInspectionTaskId !== selectedRows[0].uniqueInspectionTaskId);\r\n newInspectionList.splice(currentIndex, 0, updatedData);\r\n setInspectionTaskData(newInspectionList);\r\n setIsEditSubmit(false); \r\n setSelectedRows([updatedData])\r\n } else if (updatedInspectionTask && updatedInspectionTask?.uniqueInspectionTaskId === inspectionRowData?.uniqueInspectionTaskId && isRowEdit) {\r\n\r\n let updatedData = JSON.parse(JSON.stringify(updatedInspectionTask));\r\n updatedData.plannedEndDate = moment(updatedData.plannedEndDate).format(\"YYYY-MM-DD\").toString()\r\n updatedData.plannedStartDate = moment(updatedData.plannedStartDate).format(\"YYYY-MM-DD\").toString()\r\n let inspectionTask = JSON.parse(JSON.stringify(inspectionTaskData));\r\n let currentIndex = inspectionTask.findIndex((item: any) => item.uniqueInspectionTaskId === inspectionRowData?.uniqueInspectionTaskId);\r\n const newInspectionList: any = inspectionTask.filter((item: any) => item.uniqueInspectionTaskId !== inspectionRowData?.uniqueInspectionTaskId);\r\n newInspectionList.splice(currentIndex, 0, updatedData);\r\n setInspectionTaskData(newInspectionList);\r\n setMessage(\"Inspection Task updated\");\r\n setSelectedRows([updatedData])\r\n setDisplayInfoModal(true);\r\n setIsRowEdit(false);\r\n }\r\n }, [\r\n updatedInspectionTask,\r\n systemInUse,\r\n isEditSubmit,\r\n inspectionTaskData,\r\n selectedRows,\r\n ]);\r\n\r\n useEffect(() => {\r\n if (updatedInspectionTask && updatedInspectionTask !== \"\" && isTaskReadyToClose === true) {\r\n let inspectionTask = JSON.parse(JSON.stringify(inspectionTaskData));\r\n inspectionTask.map((item) => {\r\n if (item.uniqueInspectionTaskId === updatedInspectionTask.uniqueInspectionTaskId) {\r\n item.status = updatedInspectionTask.inspectionTaskStatus;\r\n let newDate = new Date();\r\n item.statusUpdateDate = moment(new Date(newDate)).format(\"YYYY-MM-DD\").toString();\r\n }\r\n })\r\n setInspectionTaskData(inspectionTask);\r\n setIsTaskReadyToClose(false);\r\n }\r\n }, [updatedInspectionTask])\r\n\r\n useEffect(() => {\r\n if (updatedInspectionTask && updatedInspectionTask !== \"\" && isTaskReadyToComplete === true) {\r\n let inspectionTask = JSON.parse(JSON.stringify(inspectionTaskData));\r\n inspectionTask.map((item) => {\r\n if (item.uniqueInspectionTaskId === updatedInspectionTask.uniqueInspectionTaskId) {\r\n item.status = updatedInspectionTask.inspectionTaskStatus;\r\n let newDate = new Date();\r\n item.statusUpdateDate = moment(new Date(newDate)).format(\"YYYY-MM-DD\").toString();\r\n }\r\n })\r\n setInspectionTaskData(inspectionTask);\r\n setIsTaskReadyToComplete(false);\r\n }\r\n\r\n }, [updatedInspectionTask])\r\n\r\n useEffect(() => {\r\n if (inspectionTaskStatus && inactivateFlag === true) {\r\n let inspectionTask = JSON.parse(JSON.stringify(inspectionTaskData));\r\n inspectionTask.map((item) => {\r\n if (item.uniqueInspectionTaskId === inspectionTaskStatus.uniqueInspectionTaskId) {\r\n item.status = inspectionTaskStatus.status;\r\n let newDate = new Date();\r\n item.statusUpdateDate = moment(new Date(newDate)).format(\"YYYY-MM-DD\").toString();\r\n }\r\n })\r\n setInspectionTaskData(inspectionTask);\r\n setInactivateFlag(false);\r\n }\r\n\r\n }, [inspectionTaskStatus])\r\n\r\n const onDrawingsClicked = () => {\r\n if (selectedRows.length < 1) {\r\n setMessage(\"Select an Inspection Task\");\r\n setDisplayInfoModal(true);\r\n } else if (selectedRows.length > 1) {\r\n setMessage(\"This operation can be performed only one row at a time\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n setShowDrawingList(true);\r\n }\r\n };\r\n const handleFontChange = (e: any) => {\r\n if (Array.from(e?.target?.classList).includes(\"text\")) {\r\n let className = \"\";\r\n className = (e?.target?.classList.value).toString();\r\n if (className.includes(\"text small\")) {\r\n setFontClass(\"f-small\");\r\n setSmallFont(true);\r\n setMediumFont(false);\r\n setLargeFont(false);\r\n } else if (className.includes(\"text medium\")) {\r\n setFontClass(\"f-medium\");\r\n setSmallFont(false);\r\n setMediumFont(true);\r\n setLargeFont(false);\r\n } else if (className.includes(\"text large\")) {\r\n setFontClass(\"f-large\");\r\n setSmallFont(false);\r\n setMediumFont(false);\r\n setLargeFont(true);\r\n }\r\n setMessage(\"Do you want to set this font size as your default setting?\");\r\n setIsFontChange(true);\r\n setDisplayConfirmModal(true);\r\n }\r\n };\r\n const handleTableColumns = useCallback((data: any) => {\r\n setTableColumns([...data]);\r\n }, [selectedContractDetails]);\r\n\r\n const onRowEditClick = (rowData) => {\r\n let isEditable = true;\r\n if (rowData) {\r\n if (rowData?.system?.systemStatus === \"Closed\") {\r\n setMessage(\r\n \"System of selected Inspection task is closed, cannot be edited\"\r\n );\r\n setDisplayInfoModal(true);\r\n isEditable = false;\r\n } else {\r\n if (rowData?.isRecentTask) {\r\n isEditable = true;\r\n }\r\n else if (!rowData?.isRecentTask) {\r\n if (!showUI(userPrivileges, \"SIETAP_INSPECTIONS_COMPLETEDTASKS_EDIT\")) {\r\n isEditable = false;\r\n setMessage(\"Selected Inspection Task is not a recently added Task. Only the recently added Inspection Tasks can be edited\");\r\n setDisplayInfoModal(true);\r\n return false;\r\n }\r\n else {\r\n isEditable = true;\r\n }\r\n }\r\n setInspectionRowData(rowData)\r\n let body = {\r\n UniqueContractId: rowData?.uniqueContractId,\r\n }\r\n dispatch(getTechnicians(body))\r\n dispatch(getSelectedReportList(rowData?.uniqueInspectionTaskId))\r\n dispatch(getContractDetails(rowData?.uniqueContractId))\r\n dispatch(checkSystemInUse(rowData?.system?.uniqueSystemId));\r\n }\r\n }\r\n return isEditable;\r\n }\r\n\r\n const onRowEditValidation = (rowData: any) => {\r\n \r\n let value = true;\r\n if (countryId === 220 && rowData.contractNumber.startsWith(\"44OP\") ||\r\n countryId === 220 && rowData.contractNumber.startsWith(\"44OC\")) {\r\n if (!rowData.inspectionTaskName || !rowData.qtyOfTech || !rowData.leadTechnician) {\r\n value = false;\r\n }\r\n } else if (!rowData.inspectionTaskName || !rowData.notificationNumber || !rowData.qtyOfTech ||\r\n !rowData.leadTechnician || !isPatternValid(rowData.notificationNumber)) {\r\n value = false;\r\n }\r\n else if (new Date(rowData.plannedStartDate) > new Date(rowData.plannedEndDate)) {\r\n setDisplayInfoModal(true)\r\n setMessage(\"Planned End Date should be greater than Planned Start Date\")\r\n value = false;\r\n } else if (new Date(rowData.plannedStartDate) < new Date(contractDetails?.startDate) || new Date(rowData?.plannedEndDate) > new Date(contractDetails?.endDate)) {\r\n setMessage(\"Planned Start and End Date of the Inspection task is not within the Start and End Date of Contract.\");\r\n setDisplayInfoModal(true);\r\n } \r\n if ((rowData.qtyOfTech < 1 || rowData.qtyOfTech > 99)) {\r\n setMessage(\"Enter a value between 1 and 99 in Qty of Techs\");\r\n setDisplayInfoModal(true);\r\n value = false;\r\n }\r\n if ((!rowData.leadTechnician)) {\r\n setMessage(\"Lead Technician is required\");\r\n setDisplayInfoModal(true);\r\n value = false;\r\n }\r\n if (systemInUse && rowData.status === \"Completed\") {\r\n if (systemInUse.isActiveTaskExists) {\r\n setMessage(\"An active Inspection Task already exists for this System, cannot activate the selected Task\");\r\n setDisplayInfoModal(true);\r\n value = false;\r\n } else if (!systemInUse.isInspectionTaskCompleted) {\r\n setMessage(\"Inspection Task not completed for this System, cannot edit the active Inspection Task\");\r\n setDisplayInfoModal(true);\r\n value = false;\r\n } else if (!systemInUse.isXMLFileUploaded && systemInUse.isSiemens) {\r\n setMessage(\"XML File is not uploaded for the System, cannot activate the Inspection Task\");\r\n setDisplayInfoModal(true);\r\n value = false;\r\n }\r\n }\r\n return value;\r\n }\r\n\r\n const isPatternValid = (notificationNumber) => {\r\n if (!notificationNumber) {\r\n return true;\r\n }\r\n if (countryId === 38) {\r\n return /^((600)[0-9]{6}|[5][0-9]{9})$/.test(notificationNumber);\r\n } else if (countryId === 220) {\r\n return /^[5][0-9]{9}$/.test(notificationNumber);\r\n }\r\n }\r\n\r\n const onInspectionTaskRowEdit = (submitData: any) => {\r\n let uniqueInspectionTaskId: any;\r\n uniqueInspectionTaskId = submitData.uniqueInspectionTaskId;\r\n submitData.uniqueSystemId = submitData?.system?.uniqueSystemId;\r\n submitData.plannedEndDate = moment(submitData.plannedEndDate).format(\"YYYY-MM-DD\").toString()\r\n submitData.plannedStartDate = moment(submitData.plannedStartDate).format(\"YYYY-MM-DD\").toString()\r\n submitData.activeSiteId= loggedInUserDetails?.userDefaults?.uniqueSiteId;\r\n let technician: any;\r\n technician = technicianData.find((item: any) => item.formattedLeadTechnicianName === submitData?.leadTechnician)\r\n submitData.uniqueTechnicianId = technician?.uniqueUserId;\r\n submitData.quantityOfTech = submitData.qtyOfTech;\r\n let reportList = JSON.parse(JSON.stringify(selectedReportList?.reportDetails))\r\n let selectedReportId: any = [];\r\n if (reportList) {\r\n reportList.map((item: any) => {\r\n return selectedReportId.push(item.inspectionReportId)\r\n })\r\n }\r\n submitData.reportIds = selectedReportId\r\n submitData.inspectionTaskName = submitData.inspectionTaskName?.trim();\r\n if (submitData.status === \"Active\") {\r\n submitData.activate = true;\r\n } else {\r\n submitData.activate = false;\r\n }\r\n setIsRowEdit(true);\r\n dispatch(\r\n onEditInspectionTask(\r\n submitData,\r\n uniqueInspectionTaskId,\r\n setMessage,\r\n setDisplayInfoModal,\r\n setShowEditModal\r\n )\r\n );\r\n };\r\n\r\n const onShowEquipmentListModel = () => { \r\n if (selectedRows?.length < 1) {\r\n setMessage(\"Select an Inspection Task\");\r\n setDisplayInfoModal(true);\r\n } else if (selectedRows.length > 1) {\r\n setMessage(\"This operation can be performed only one row at a time\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n dispatch(getSelectedReportList(selectedRows[0]?.uniqueInspectionTaskId));\r\n setShowEquipmentListModal(true);\r\n }\r\n }\r\n\r\n const getInspectionTechnicians = (taskData: any) => {\r\n dispatch(\r\n getInspectionTaskTechnicians(\r\n taskData.uniqueInspectionTaskId,\r\n setMessage,\r\n setDisplayInfoModal,\r\n setShowQuitTask\r\n )\r\n );\r\n\r\n }\r\n\r\n\r\n\r\n const onQuitTask = (submitData: any) => {\r\n dispatch(\r\n quitTask(\r\n submitData,\r\n setMessage,\r\n setDisplayInfoModal,\r\n setShowQuitTask\r\n )\r\n )\r\n };\r\n\r\n const checkImportPreviousTaskDetails = (selectedRows) => {\r\n if (selectedRows?.length < 1) {\r\n setMessage(\"Select an Inspection Task\");\r\n setDisplayInfoModal(true);\r\n } else if (selectedRows.length > 1) {\r\n setMessage(\"This operation can be performed only one row at a time\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n if (selectedRows[0]?.status === \"Active\") {\r\n setIsImportPrevious(true)\r\n dispatch(\r\n getImportPreviousTaskDetails(\r\n selectedRows[0]?.system?.uniqueSystemId,\r\n setMessage,\r\n setDisplayInfoModal,\r\n setShowImportPreviousTaskDetails,\r\n setPreviousTaskDetails,\r\n setDisplayConfirmModal\r\n )\r\n )\r\n } else {\r\n setMessage(\"Inspection Task is not Active, cannot import previous Inspection Task result\");\r\n setDisplayInfoModal(true);\r\n }\r\n }\r\n }\r\n\r\n const onComparisonPageChanged = (options: any, sortData: any) => {\r\n if (selectedRows && selectedRows.length && (options !== comparisonPageIndex)) {\r\n setComparisonPageIndex(options);\r\n let currentStart = (options * comparisonData?.pageDetails?.currentLength) + 1\r\n setComparisonCurrentStart(currentStart);\r\n let body = {\r\n uniqueInspectionTaskId1: selectedRows[0]?.uniqueInspectionTaskId,\r\n uniqueInspectionTaskId2: selectedRows[1]?.uniqueInspectionTaskId,\r\n systemid: selectedRows[0]?.system?.uniqueSystemId\r\n };\r\n dispatch(compareTasks(body, currentStart, sortData, setComparisonData, setMessage, setDisplayInfoModal));\r\n }\r\n };\r\n\r\n const onComparisonSort = (sortData: any) => {\r\n if (selectedRows && selectedRows.length) {\r\n let body = {\r\n uniqueInspectionTaskId1: selectedRows[0]?.uniqueInspectionTaskId,\r\n uniqueInspectionTaskId2: selectedRows[1]?.uniqueInspectionTaskId,\r\n systemid: selectedRows[0]?.system?.uniqueSystemId\r\n };\r\n dispatch(compareTasks(body, comparisonCurrentStart, sortData, setComparisonData, setMessage, setDisplayInfoModal));\r\n }\r\n };\r\n\r\n const onReportAllClick = () => {\r\n setReportFlag('all');\r\n setShowReportModal(true);\r\n };\r\n\r\n const onReportHighlightedClick = () => {\r\n setReportFlag('highlighted');\r\n setShowReportModal(true);\r\n };\r\n\r\n const getSelectedInspectionTaskIds = () => {\r\n let params: any = [];\r\n selectedRows.map(item => {\r\n params.push(item.uniqueInspectionTaskId);\r\n });\r\n return params;\r\n };\r\n\r\n const getContractStatus = () => {\r\n let contractFlag = true\r\n if (!isCustomerAll) {\r\n if (isContractAll) {\r\n contractFlag = true\r\n } else {\r\n contractFlag = false\r\n }\r\n };\r\n return contractFlag;\r\n };\r\n\r\n const onExportAll = () => {\r\n const reportParameters = {\r\n exportParameters: {\r\n uniqueCustomerId: isCustomerAll ? '' : selectedCustomerId,\r\n uniqueContractId: getContractStatus() ? '' : selectedContractId,\r\n uniqueInspectionTaskId: \"\",\r\n statusId: 1,\r\n recentOrAll: selectedMonth.code,\r\n uniqueSystemId: \"\",\r\n allCustomers: isCustomerAll,\r\n allContracts: getContractStatus(),\r\n selectedIds: \"\",\r\n sortColumn: sortField,\r\n sortOrder: sortOrder,\r\n search: keyWord,\r\n active: toggleActiveTask,\r\n closed: toggleClosedTask,\r\n completed: toggleCompletedTask,\r\n },\r\n exportType: \"Inspection Task Grid Report\"\r\n };\r\n dispatch(onExportReport(reportParameters, \"Inspection Tasks\"));\r\n };\r\n\r\n const onExportHighlightedClick = () => {\r\n const reportParameters = {\r\n exportParameters: {\r\n uniqueCustomerId: isCustomerAll ? '' : selectedCustomerId,\r\n uniqueContractId: getContractStatus() ? '' : selectedContractId,\r\n uniqueInspectionTaskId: \"\",\r\n statusId: 1,\r\n recentOrAll: selectedMonth.code,\r\n uniqueSystemId: \"\",\r\n allCustomers: isCustomerAll,\r\n sortColumn: sortField,\r\n sortOrder: sortOrder,\r\n search: keyWord,\r\n active: toggleActiveTask,\r\n closed: toggleClosedTask,\r\n completed: toggleCompletedTask,\r\n allContracts: getContractStatus(),\r\n selectedIds: getSelectedInspectionTaskIds()\r\n },\r\n exportType: \"Inspection Task Grid Report\"\r\n };\r\n dispatch(onExportReport(reportParameters, \"Inspection Tasks\"));\r\n };\r\n\r\n const refreshGrid = () => {\r\n setGridReadyToRefresh(true);\r\n }\r\n \r\n const saveDefaultValues = (customerId:any,contractId:any)=>{\r\n let body = {\r\n ActiveCustomerId: customerId,\r\n ActtiveContractId: contractId,\r\n };\r\n dispatch(setDefaultValues(body)); \r\n }\r\n\r\n\r\n const reportHeaderTemplate = (\r\n\r\n
\r\n \r\n onGlobalFilterChange(e)}\r\n placeholder=\"Search System / Task Name\"\r\n />\r\n {!keyWord && }\r\n \r\n \r\n handleFontChange(e)}\r\n >\r\n A\r\n A\r\n A\r\n
\r\n\r\n\r\n
\r\n {showAddIcon && isActiveContract && showUI(userPrivileges, \"SIETAP_FS_INSPECTIONS_MANAGE\") && (\r\n {\r\n dispatch(setNewInspectionData(\"\"))\r\n setShowAddModal(true)\r\n }}\r\n disabled={customerName === \"None\" || contractName === \"None\" ? true : false}\r\n >\r\n \r\n \r\n )}\r\n {showEditIcon && showUI(userPrivileges, \"SIETAP_FS_INSPECTIONS_MANAGE\") && (\r\n \r\n \r\n \r\n )}\r\n\r\n {((showUI(userPrivileges, 'SIETAP_FS_INSPECTIONS_MANAGE_DELETE')) && showUI(userPrivileges, \"SIETAP_FS_INSPECTIONS_MANAGE\") && showDeleteIcon) && (\r\n \r\n \r\n \r\n )}\r\n\r\n\r\n \r\n \r\n \r\n {showUI(userPrivileges, 'SIETAP_INSPECTIONS_CLOSE') &&\r\n \r\n \r\n \r\n }\r\n {showUI(userPrivileges, 'SIETAP_INSPECTIONS_COMPLETE') &&\r\n \r\n \r\n \r\n }\r\n downloadRef.current?.toggle(e)}\r\n disabled={customerName === \"None\" || contractName === \"None\" || disableIcons ? true : false}\r\n >\r\n \r\n \r\n \r\n settingRef.current?.toggle(e)}\r\n disabled={customerName === \"None\" || contractName === \"None\" || disableIcons ? true : false}\r\n >\r\n \r\n \r\n \r\n\r\n
\r\n
\r\n \r\n );\r\n return (\r\n
\r\n \r\n \r\n \r\n \r\n \r\n {inspectionTaskCols.length > 0 &&\r\n }\r\n \r\n {showAddModal && (\r\n onAddInspectionTaskClick(data)}\r\n />\r\n )}\r\n\r\n {showEquipmentListModal &&\r\n \r\n }\r\n {showEditModal && (\r\n onEditInspectionTaskClick(data)}\r\n />\r\n )}\r\n {showDrawingList && (\r\n \r\n )}\r\n {showReportsModal && (\r\n \r\n )}\r\n {showPendingReportModal && (\r\n \r\n )}\r\n {comparisonModal && (\r\n onComparisonSort(data)}\r\n inspectionTasksSelected={selectedRows}\r\n />\r\n )}\r\n \r\n \r\n {showDrawingModal && (\r\n {\r\n setShowDrawingModal(false);\r\n }}\r\n />\r\n )}\r\n {showImportPreviousTaskDetails && }\r\n {showQuitTask && getInspectionTechnicians(data)}\r\n onQuitTask={(data) => onQuitTask(data)}\r\n />}\r\n \r\n
    \r\n
  • Report All
  • \r\n
  • Report Highlighted
  • \r\n
  • Export All
  • \r\n
  • Export Highlighted
  • \r\n
\r\n
\r\n {showReportModal ? (\r\n \r\n ) : null}\r\n {showEquipmentSummaryModal ?\r\n : null}\r\n
\r\n );\r\n};\r\n\r\nexport default memo(InspectionTasks);\r\n","import React, { useCallback, useEffect, useState } from \"react\";\r\nimport { Dropdown } from \"primereact/dropdown\";\r\nimport { useNavigate } from \"react-router-dom\";\r\nimport { DataTable } from \"primereact/datatable\";\r\nimport { Column } from \"primereact/column\";\r\nimport { Checkbox } from \"primereact/checkbox\";\r\nimport { InputText } from \"primereact/inputtext\";\r\nimport { classNames } from \"primereact/utils\";\r\nimport { SketchPicker } from \"react-color\";\r\nimport { Button } from \"react-bootstrap\";\r\n//components\r\nimport Breadcrumb from \"components/common/Breadcrumb/Breadcrumb\";\r\nimport DatafieldOrder from \"../../components/common/DatafieldOrder/DatafieldOrder\";\r\nimport InformationBox from \"components/common/Message/InformationBox/InformationBox\";\r\n//icons\r\nimport { BsArrowRight } from \"react-icons/bs\";\r\n//utility\r\nimport { APP_ROUTES } from \"constants/AppRoutes\";\r\n//redux\r\nimport { useDispatch } from \"react-redux\";\r\nimport { getCountryList } from \"redux/pages/Administration/administrationSlice\";\r\nimport { getEquipmentTypeList } from \"redux/pages/Inspection/InspectionTask/InspectionDetails/Equipment/EquipmentSlice\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\nimport {\r\n onDatafieldOrderUpdated,\r\n onDisplaySettingsUpdated,\r\n onGetDatafieldOrderList,\r\n onGetDisplaySettings,\r\n setUpdatedDatafieldOrder,\r\n setUpdatedDisplaySettings,\r\n} from \"redux/pages/Manage/Customization/CustomizationSlice\";\r\n\r\ninterface DisplayTable {\r\n CustomHeaderCmp?: any;\r\n showCustomHeader?: boolean;\r\n showCountries?: boolean;\r\n}\r\n\r\nconst ManageDisplaySettings: React.FC = ({ CustomHeaderCmp = null, showCustomHeader = false }) => {\r\n \r\n const navigate = useNavigate();\r\n\r\n const [selectedRowData, setSelectedRowData] = useState(null);\r\n const [selectedFields, setSelectedFields] = useState({ countryId:\"\", equipmentTypeId: \"\" });\r\n const [datafields, setDatafields] = useState([]);\r\n const [showFieldOrder, setShowFieldOrder] = useState(false);\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const [message, setMessage] = useState(\"\");\r\n const [fieldOrder, setFieldOrder] = useState([]);\r\n const [countryLookup, setCountryLookup] = useState([]);\r\n const [selectedCountry, setSelectedCountry] = useState(\"\");\r\n\r\n const dispatch = useDispatch();\r\n const equipmentSpecificLists = useAppSelector((state) => state.equipment.equipmentSpecificLists);\r\n const displaySettings = useAppSelector((state) => state.customization.displaySettings);\r\n const datafieldOrderList = useAppSelector((state) => state.customization.datafieldOrderList);\r\n const updatedDatafieldOrder = useAppSelector((state) => state.customization.updatedDatafieldOrder);\r\n const updatedDisplaySettings = useAppSelector((state) => state.customization.updatedDisplaySettings);\r\n const countryList = useAppSelector((state) => state.administration.countryList);\r\n \r\n \r\n document.addEventListener(\"mousedown\", (e: any) => {\r\n let element = document.getElementById(\"color-picker\");\r\n if (!element?.contains(e.target)) {\r\n setSelectedRowData(null);\r\n }\r\n });\r\n\r\n useEffect(() => {\r\n if (Object.keys(countryList).length !== 0)\r\n dispatch(getEquipmentTypeList(false));\r\n }, [dispatch,countryList]);\r\n\r\n useEffect(() => {\r\n dispatch(getCountryList());\r\n }, [dispatch]);\r\n\r\n useEffect(() => {\r\n if (countryList && countryList.countries.length > 0 && countryList.countries !== undefined) {\r\n let country: any = [];\r\n countryList.countries.map((countryItem: any, key: any) => {\r\n country.push({ \"code\": countryItem.countryId, \"name\": countryItem.countryName.trim() })\r\n });\r\n setSelectedFields({ countryId:country[0].code, equipmentTypeId: \"\" })\r\n setCountryLookup(country);\r\n setSelectedCountry(country[0]);\r\n }\r\n }, [countryList]);\r\n\r\n useEffect(() => {\r\n if (equipmentSpecificLists) {\r\n const equipmentClass=equipmentSpecificLists?.find((item) => item?.equipmentClassName === \"Devices\");\r\n setSelectedFields((prev) => ({ ...prev, [\"equipmentTypeId\"]: equipmentClass?.uniqueEquipmentClassId }))\r\n }\r\n }, [equipmentSpecificLists]);\r\n\r\n useEffect(() => { \r\n if (selectedFields?.equipmentTypeId) {\r\n dispatch(onGetDisplaySettings(selectedFields?.countryId, selectedFields?.equipmentTypeId));\r\n }\r\n }, [selectedFields?.equipmentTypeId]);\r\n\r\n useEffect(() => {\r\n if (displaySettings?.length) {\r\n let convData = JSON.parse(JSON.stringify(displaySettings));\r\n setDatafields(convData);\r\n }\r\n }, [displaySettings]);\r\n\r\n useEffect(() => {\r\n if (updatedDatafieldOrder) {\r\n setShowFieldOrder(false);\r\n setDisplayInfoModal(true);\r\n setMessage(\"Field Order updated\");\r\n dispatch(setUpdatedDatafieldOrder(\"\"));\r\n\r\n updatedDatafieldOrder?.forEach((element) => {\r\n const index = datafields.findIndex((item) => item.uniqueDataFieldId === element.uniqueDataFieldId);\r\n if (index >= 0) {\r\n datafields[index].position = element.position;\r\n }\r\n });\r\n const ascDatafields = [...datafields].sort((a, b) => a.position - b.position);\r\n setDatafields([...ascDatafields]);\r\n }\r\n }, [updatedDatafieldOrder]);\r\n\r\n useEffect(() => {\r\n if (updatedDisplaySettings) {\r\n setDisplayInfoModal(true);\r\n setMessage(\"Display Settings updated\");\r\n dispatch(setUpdatedDisplaySettings(\"\"));\r\n }\r\n }, [updatedDisplaySettings]);\r\n\r\n useEffect(() => {\r\n if (datafieldOrderList) {\r\n let value: any = JSON.stringify(datafieldOrderList);\r\n value = value?.replace(/\\\"uniqueDataFieldId\\\":/g, '\"id\":');\r\n value = value?.replace(/\\\"dataFieldName\\\":/g, '\"name\":');\r\n value = JSON.parse(value);\r\n setFieldOrder(value);\r\n }\r\n }, [datafieldOrderList])\r\n\r\n const onChangeColor = (e: any, details) => {\r\n datafields[details.rowIndex][details.field] = e.hex;\r\n setDatafields([...datafields]);\r\n };\r\n\r\n const onCheckboxChanged = (e, details, rowData) => {\r\n if (details?.field === \"isShowInDrawing\") {\r\n if (!e.checked) {\r\n const index = displaySettings?.findIndex((item) => item.uniqueDataFieldId === rowData.uniqueDataFieldId);\r\n if (index >= 0) {\r\n datafields[details?.rowIndex][\"size\"] = displaySettings[index].size;\r\n datafields[details?.rowIndex][\"rgb\"] = displaySettings[index].rgb;\r\n }\r\n }\r\n }\r\n datafields[details?.rowIndex][details?.field] = e.checked;\r\n setDatafields([...datafields]);\r\n };\r\n\r\n const onGetAllChecked = (type) => {\r\n let checked = false;\r\n if (type === \"DRAWING\") {\r\n const filterItem = datafields?.filter((item) => item.isShowInDrawing);\r\n if (filterItem?.length === datafields?.length) checked = true;\r\n else checked = false;\r\n } else if (type === \"TOOLTIP\") {\r\n const filterItem = datafields?.filter((item) => item.isShowInToolTip);\r\n if (filterItem?.length === datafields?.length) checked = true;\r\n else checked = false;\r\n } else if (type === \"GRID\") {\r\n const filterItem = datafields?.filter((item) => item.isShowInGrid);\r\n if (filterItem?.length === datafields?.length) checked = true;\r\n else checked = false;\r\n }\r\n return checked;\r\n };\r\n\r\n const onHeaderCheckBoxChanged = (e, type) => {\r\n if (type === \"DRAWING\") {\r\n datafields.forEach((element) => {\r\n if (!e.checked) {\r\n const index = displaySettings?.findIndex((item) => item.uniqueDataFieldId === element.uniqueDataFieldId);\r\n if (index >= 0) {\r\n element[\"size\"] = displaySettings[index].size;\r\n element[\"rgb\"] = displaySettings[index].rgb;\r\n }\r\n }\r\n element.isShowInDrawing = e.checked;\r\n });\r\n } else if (type === \"TOOLTIP\") {\r\n datafields.forEach((element) => {\r\n element.isShowInToolTip = e.checked;\r\n });\r\n } else if (type === \"GRID\") {\r\n datafields.forEach((element) => {\r\n element.isShowInGrid = e.checked;\r\n });\r\n }\r\n setDatafields([...datafields]);\r\n };\r\n\r\n const onSizeChanged = (e, details) => {\r\n datafields[details?.rowIndex][details?.field] = e.target.value;\r\n setDatafields([...datafields]);\r\n };\r\n\r\n const onOrderUpdated = useCallback((body) => {\r\n let value: any = JSON.stringify(body);\r\n value = value?.replace(/\\\"id\\\":/g, '\"uniqueDataFieldId\":');\r\n value = JSON.parse(value);\r\n dispatch(onDatafieldOrderUpdated(selectedFields?.countryId, selectedFields?.equipmentTypeId, value));\r\n }, [selectedFields]);\r\n\r\n const onDisplaySettingsUpdate = () => {\r\n if (!datafields?.length) {\r\n return;\r\n }\r\n const removedDataSets = datafields?.map(\r\n ({ accessColorId, colorId, dataFieldName, isAttachmentField, isEnableBoldAndItalics, isStaticField, ...rest }: any) => {\r\n return rest;\r\n }\r\n );\r\n const body = {\r\n dataFields: removedDataSets,\r\n };\r\n dispatch(onDisplaySettingsUpdated(selectedFields?.countryId, selectedFields?.equipmentTypeId, body));\r\n };\r\n\r\n const showInDrawingTemplate = (rowData: any, columnDetails: any) => {\r\n return (\r\n
\r\n onCheckboxChanged(e, columnDetails, rowData)}\r\n />\r\n
\r\n );\r\n };\r\n\r\n const showInTooltipTemplate = (rowData: any, columnDetails: any) => {\r\n return (\r\n
\r\n onCheckboxChanged(e, columnDetails, rowData)}\r\n />\r\n
\r\n );\r\n };\r\n\r\n const showInGridTemplate = (rowData: any, columnDetails: any) => {\r\n return (\r\n
\r\n onCheckboxChanged(e, columnDetails, rowData)}\r\n />\r\n
\r\n );\r\n };\r\n\r\n const fieldNameTemplate = (rowData: any) => {\r\n return (\r\n
\r\n
{rowData.dataFieldName}
\r\n
\r\n );\r\n };\r\n\r\n const colorTemplate = (rowData: any, columnDetails) => {\r\n return (\r\n
\r\n {rowData?.isShowInDrawing && (\r\n <>\r\n {\r\n setSelectedRowData(rowData.uniqueDataFieldId);\r\n }}\r\n >\r\n
\r\n {selectedRowData === rowData.uniqueDataFieldId && (\r\n
\r\n onChangeColor(e, columnDetails)} />\r\n
\r\n )}\r\n \r\n )}\r\n \r\n );\r\n };\r\n\r\n const fontSizeTemplate = (rowData, columnDetails) => {\r\n return (\r\n onSizeChanged(e, columnDetails)}\r\n />\r\n );\r\n };\r\n\r\n const showInDrawingHeaderTemlpate = () => {\r\n return (\r\n
\r\n onHeaderCheckBoxChanged(e, \"DRAWING\")}\r\n />\r\n \r\n
\r\n );\r\n };\r\n\r\n const showInTooltipHeaderTemplate = () => {\r\n return (\r\n
\r\n onHeaderCheckBoxChanged(e, \"TOOLTIP\")}\r\n />\r\n \r\n
\r\n );\r\n };\r\n\r\n const showInGridHeaderTemplate = () => {\r\n return (\r\n
\r\n onHeaderCheckBoxChanged(e, \"GRID\")} />\r\n \r\n
\r\n );\r\n };\r\n\r\n const onCountryChange = (data:any) => {\r\n if (selectedFields?.equipmentTypeId) {\r\n dispatch(onGetDisplaySettings(data.code, selectedFields?.equipmentTypeId));\r\n }\r\n }\r\n return (\r\n
\r\n
\r\n navigate(`/${APP_ROUTES.MANAGE_VIEW}`)} />\r\n
\r\n \r\n
\r\n
\r\n Display Settings\r\n
\r\n
\r\n
\r\n
\r\n {showCustomHeader ? :
Display Settings
}\r\n
\r\n
\r\n \r\n { setSelectedCountry(e.value);onCountryChange(e.value)}}\r\n options={countryLookup}\r\n optionLabel=\"name\" \r\n />\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n setSelectedFields((prev) => ({ ...prev, [\"equipmentTypeId\"]: e.value }))}\r\n options={equipmentSpecificLists}\r\n optionLabel=\"equipmentClassName\"\r\n optionValue=\"uniqueEquipmentClassId\"\r\n // defaultValue={}\r\n />\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n {(datafields && datafields.length) ? \r\n <>\r\n {\r\n setShowFieldOrder(true);\r\n dispatch(onGetDatafieldOrderList(selectedFields?.countryId, selectedFields?.equipmentTypeId));\r\n }}\r\n >\r\n {\" \"}\r\n Field Order\r\n \r\n \r\n \r\n :\r\n <>\r\n }\r\n
\r\n
\r\n {showFieldOrder && (\r\n setShowFieldOrder(false)}\r\n />\r\n )}\r\n \r\n
\r\n );\r\n};\r\n\r\nexport default ManageDisplaySettings;\r\n","import React, { useEffect, useState } from \"react\";\r\nimport { useNavigate } from \"react-router-dom\";\r\nimport { DataTable } from \"primereact/datatable\";\r\nimport { Column } from \"primereact/column\";\r\nimport { Button } from \"react-bootstrap\";\r\nimport { Checkbox } from \"primereact/checkbox\";\r\nimport { classNames } from \"primereact/utils\";\r\nimport { Dropdown } from \"primereact/dropdown\";\r\n\r\n//components\r\nimport Breadcrumb from \"components/common/Breadcrumb/Breadcrumb\";\r\nimport InformationBox from \"components/common/Message/InformationBox/InformationBox\";\r\n//utility\r\nimport { APP_ROUTES } from \"constants/AppRoutes\";\r\n//icons\r\nimport { BsArrowRight } from \"react-icons/bs\";\r\n//redux\r\nimport { useDispatch } from \"react-redux\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\nimport { onDataEntrySettingsUpdate, onGetDataEntrySettings, onGetNfpaClassifications, setUpdatedDataEntrySettings } from \"redux/pages/Manage/Customization/CustomizationSlice\";\r\nimport { getEquipmentTypeList } from \"redux/pages/Inspection/InspectionTask/InspectionDetails/Equipment/EquipmentSlice\";\r\nimport { getCountryList } from \"redux/pages/Administration/administrationSlice\";\r\n\r\ninterface UserData {\r\n CustomHeaderCmp?: any;\r\n showCustomHeader?: boolean;\r\n showCountries?: boolean;\r\n}\r\n\r\nconst ManageUserDataSettings: React.FC = (props) => {\r\n const { CustomHeaderCmp = null, showCustomHeader = false, } = props;\r\n const navigate = useNavigate();\r\n\r\n const [selectedFields, setSelectedFields] = useState({ countryId:\"\", equipmentTypeId: \"\", classificationId:\"\"});\r\n const [datafields, setDatafields] = useState([]);\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const [message, setMessage] = useState(\"\");\r\n const [countryLookup, setCountryLookup] = useState([]);\r\n const [selectedCountry, setSelectedCountry] = useState(\"\");\r\n\r\n const dispatch = useDispatch();\r\n const equipmentSpecificLists = useAppSelector((state) => state.equipment.equipmentSpecificLists);\r\n const nfpaClassifications = useAppSelector((state) => state.customization.nfpaClassifications);\r\n const dataEntrySettings = useAppSelector((state) => state.customization.dataEntrySettings);\r\n const updatedDataEntrySettings = useAppSelector((state) => state.customization.updatedDataEntrySettings);\r\n const countryList = useAppSelector((state) => state.administration.countryList);\r\n\r\n useEffect(() => {\r\n dispatch(getEquipmentTypeList(false));\r\n }, [dispatch,countryList]);\r\n\r\n useEffect(() => {\r\n dispatch(getCountryList());\r\n }, [dispatch]);\r\n\r\n useEffect(() => {\r\n if (countryList && countryList.countries.length > 0 && countryList.countries !== undefined) {\r\n let country: any = [];\r\n countryList.countries.map((countryItem: any, key: any) => {\r\n country.push({ \"code\": countryItem.countryId, \"name\": countryItem.countryName.trim() })\r\n });\r\n setSelectedFields({ countryId:country[0].code, equipmentTypeId: \"\",classificationId:\"\" })\r\n setCountryLookup(country);\r\n setSelectedCountry(country[0]);\r\n }\r\n }, [countryList]);\r\n\r\n useEffect(() => {\r\n if (equipmentSpecificLists) {\r\n const equipmentClass=equipmentSpecificLists?.find((item) => item?.equipmentClassName === \"Devices\");\r\n setSelectedFields((prev) => ({ ...prev, [\"equipmentTypeId\"]: equipmentClass?.uniqueEquipmentClassId }))\r\n }\r\n }, [equipmentSpecificLists]);\r\n\r\n useEffect(() => {\r\n if (nfpaClassifications) {\r\n setSelectedFields((prev) => ({ ...prev, [\"classificationId\"]: nfpaClassifications[0]?.uniqueNFPAClassificationId }))\r\n }\r\n }, [nfpaClassifications])\r\n\r\n useEffect(() => {\r\n if (selectedFields?.equipmentTypeId && selectedFields?.countryId) {\r\n dispatch(onGetNfpaClassifications(selectedFields?.countryId, selectedFields?.equipmentTypeId));\r\n dispatch(onGetDataEntrySettings(selectedFields?.countryId, selectedFields?.equipmentTypeId,0))\r\n }\r\n }, [selectedFields?.equipmentTypeId])\r\n\r\n useEffect(() => {\r\n if (selectedFields?.classificationId && selectedFields?.equipmentTypeId && selectedFields?.countryId) {\r\n dispatch(onGetDataEntrySettings(selectedFields?.countryId, selectedFields?.equipmentTypeId, selectedFields?.classificationId))\r\n }\r\n }, [selectedFields?.classificationId])\r\n\r\n useEffect(() => {\r\n if (selectedFields?.countryId && selectedFields?.equipmentTypeId && selectedFields?.classificationId ) {\r\n dispatch(onGetDataEntrySettings(selectedFields?.countryId, selectedFields?.equipmentTypeId,selectedFields?.classificationId))\r\n }\r\n }, [selectedFields?.countryId])\r\n\r\n useEffect(() => {\r\n if (dataEntrySettings?.length) {\r\n let convData = JSON.parse(JSON.stringify(dataEntrySettings));\r\n setDatafields(convData);\r\n }\r\n else\r\n {\r\n setDatafields([]);\r\n }\r\n }, [dataEntrySettings])\r\n\r\n useEffect(() => {\r\n if (updatedDataEntrySettings) {\r\n setDisplayInfoModal(true);\r\n setMessage(\"Optional Fields updated\");\r\n dispatch(setUpdatedDataEntrySettings(\"\"));\r\n }\r\n }, [updatedDataEntrySettings])\r\n\r\n const onCountryChange = (data:any) => {\r\n setSelectedFields((prev) => ({ ...prev, [\"countryId\"]: data.code }))\r\n if (selectedFields?.equipmentTypeId) {\r\n dispatch(onGetNfpaClassifications(data.code, selectedFields?.equipmentTypeId));\r\n dispatch(onGetDataEntrySettings(data.code, selectedFields?.equipmentTypeId,0));\r\n }\r\n }\r\n\r\n const onDataEntryCheckBoxSelected = (e, details) => {\r\n datafields[details.rowIndex].isSelectedInDataEntry = e.checked;\r\n setDatafields([...datafields]);\r\n }\r\n\r\n const onTapAppCheckBoxSelected = (e, details) => {\r\n datafields[details.rowIndex].isSelectedInTapApp = e.checked;\r\n setDatafields([...datafields]);\r\n }\r\n\r\n const onUpdate = () => {\r\n if (!datafields?.length) {\r\n return;\r\n }\r\n const removedDataSets = datafields?.map(({ isDisabledInDataEntry, isDisabledInTapApp, position, dataFieldName, ...rest }: any) => {\r\n return rest;\r\n });\r\n const body = {\r\n dataEntryFields: removedDataSets\r\n }\r\n dispatch(onDataEntrySettingsUpdate(selectedFields?.countryId,\r\n selectedFields?.equipmentTypeId,\r\n selectedFields?.classificationId === \"0\" ? null : selectedFields?.classificationId,\r\n body));\r\n }\r\n\r\n const onGetAllChecked = (type) => {\r\n let checked = false;\r\n if (type === \"DATA_ENTRY\") {\r\n const filterItem = datafields?.filter((item) => item.isSelectedInDataEntry);\r\n if (filterItem?.length === datafields?.length) checked = true;\r\n else checked = false;\r\n } else if (\"TAP_APP\") {\r\n const filterItem = datafields?.filter((item) => item.isSelectedInTapApp);\r\n if (filterItem?.length === datafields?.length) checked = true;\r\n else checked = false;\r\n }\r\n return checked\r\n }\r\n\r\n const onHeaderCheckBoxChanged = (e, type) => {\r\n if (type === \"DATA_ENTRY\") {\r\n datafields.forEach(element => {\r\n if (!element?.isDisabledInDataEntry) {\r\n element.isSelectedInDataEntry = e.checked;\r\n }\r\n });\r\n } else if (\"TAP_APP\") {\r\n datafields.forEach(element => {\r\n if (!element?.isDisabledInTapApp) {\r\n element.isSelectedInTapApp = e.checked;\r\n }\r\n });\r\n }\r\n setDatafields([...datafields])\r\n }\r\n\r\n const dataEntryTemplate = (rowData: any, columnDetails: any) => {\r\n return (\r\n
\r\n onDataEntryCheckBoxSelected(e, columnDetails)}\r\n />\r\n
\r\n );\r\n };\r\n\r\n const tapAppTemplate = (rowData: any, columnDetails: any) => {\r\n return (\r\n
\r\n onTapAppCheckBoxSelected(e, columnDetails)}\r\n />\r\n
\r\n );\r\n };\r\n\r\n const fieldNameTemplate = (rowData: any) => {\r\n return (\r\n
\r\n
{rowData.dataFieldName}
\r\n
\r\n );\r\n };\r\n\r\n const dataEntryHeaderTemplate = () => {\r\n\r\n return (\r\n
\r\n onHeaderCheckBoxChanged(e, \"DATA_ENTRY\")}\r\n />\r\n \r\n
\r\n )\r\n }\r\n\r\n const tapAppHeaderTemplate = () => {\r\n\r\n return (\r\n
\r\n onHeaderCheckBoxChanged(e, \"TAP_APP\")}\r\n />\r\n \r\n
\r\n )\r\n }\r\n\r\n return (\r\n
\r\n
\r\n navigate(`/${APP_ROUTES.MANAGE_VIEW}`)} />\r\n
\r\n \r\n
\r\n
\r\n Data Entry Settings\r\n
\r\n
\r\n
\r\n
\r\n {showCustomHeader ? :
Data Entry Settings
}\r\n
\r\n
\r\n \r\n { setSelectedCountry(e.value);onCountryChange(e.value)}}\r\n options={countryLookup}\r\n optionLabel=\"name\" \r\n />\r\n \r\n \r\n
\r\n
\r\n \r\n setSelectedFields((prev) => ({ ...prev, [\"equipmentTypeId\"]: e.value, [\"classificationId\"]: \"0\" }))}\r\n options={equipmentSpecificLists}\r\n optionLabel=\"equipmentClassName\"\r\n optionValue=\"uniqueEquipmentClassId\"\r\n />\r\n \r\n \r\n \r\n setSelectedFields((prev) => ({ ...prev, [\"classificationId\"]: e.value }))}\r\n options={nfpaClassifications}\r\n optionLabel=\"nfpaClassificationName\"\r\n optionValue=\"uniqueNFPAClassificationId\"\r\n />\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n );\r\n};\r\n\r\nexport default ManageUserDataSettings;\r\n","import React, { memo, useEffect, useState } from 'react'\r\nimport { Column } from 'primereact/column';\r\nimport { DataTable } from 'primereact/datatable';\r\nimport { Dialog } from 'primereact/dialog';\r\n\r\n\r\ninterface UserModalType {\r\n showModal: boolean;\r\n onHide: (selectedUsers) => void;\r\n users?: any;\r\n selectedUsers?: any;\r\n}\r\n\r\n\r\nconst UserModal: React.FC = (props) => {\r\n const { showModal, onHide = () => { }, users, selectedUsers } = props;\r\n const [selection, setSelection] = useState(null)\r\n\r\n\r\n useEffect(() => {\r\n if (selectedUsers) {\r\n setSelection(selectedUsers)\r\n }\r\n }, [selectedUsers])\r\n\r\n\r\n return (\r\n onHide(selection)}\r\n className=\"logbook-activity\"\r\n >\r\n
\r\n
\r\n
\r\n
Users
\r\n
\r\n\r\n
\r\n onHide(selection)}>\r\n
\r\n
\r\n
\r\n
\r\n setSelection(e.value)}\r\n dataKey=\"userId\"\r\n responsiveLayout=\"scroll\">\r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n )\r\n}\r\n\r\nexport default memo(UserModal);","import React, { memo, useEffect, useState } from 'react'\r\nimport { Column } from 'primereact/column';\r\nimport { DataTable } from 'primereact/datatable';\r\nimport { Dialog } from 'primereact/dialog';\r\n\r\ninterface EntityModalType {\r\n showModal: boolean;\r\n onHide: (selectedUsers) => void;\r\n entities?: any;\r\n selectedEntities?: any;\r\n}\r\nconst EntityModal: React.FC = (props) => {\r\n const { showModal, onHide = () => { }, entities, selectedEntities } = props;\r\n const [selection, setSelection] = useState(null)\r\n\r\n\r\n useEffect(() => {\r\n if (selectedEntities) {\r\n setSelection(selectedEntities)\r\n }\r\n }, [selectedEntities])\r\n\r\n return (\r\n onHide(selection)}\r\n className=\"logbook-activity\"\r\n >\r\n
\r\n
\r\n
\r\n
Entities
\r\n
\r\n\r\n
\r\n onHide(selection)}>\r\n
\r\n
\r\n
\r\n
\r\n setSelection(e.value)}\r\n dataKey=\"entityId\"\r\n responsiveLayout=\"scroll\">\r\n \r\n \r\n \r\n
\r\n \r\n )\r\n}\r\n\r\nexport default memo(EntityModal);","import React, { memo, useEffect, useState } from 'react'\r\nimport { Column } from 'primereact/column';\r\nimport { DataTable } from 'primereact/datatable';\r\nimport { Dialog } from 'primereact/dialog';\r\n\r\ninterface ActivityModalType {\r\n showModal: boolean;\r\n onHide: (selection: any) => void;\r\n activities?: any;\r\n selectedActivities?: any;\r\n}\r\nconst ActivityModal: React.FC = (props) => {\r\n const { showModal, onHide = () => { }, activities, selectedActivities } = props;\r\n const [selection, setSelection] = useState(null)\r\n\r\n useEffect(() => {\r\n if (selectedActivities) {\r\n setSelection(selectedActivities);\r\n }\r\n }, [selectedActivities])\r\n\r\n return (\r\n onHide(selection)}\r\n className=\"logbook-activity\"\r\n >\r\n
\r\n
\r\n
\r\n
Activities
\r\n
\r\n\r\n
\r\n onHide(selection)}>\r\n
\r\n
\r\n
\r\n
\r\n setSelection(e.value)}\r\n dataKey=\"eventId\"\r\n responsiveLayout=\"scroll\">\r\n \r\n \r\n \r\n
\r\n \r\n )\r\n}\r\n\r\nexport default memo(ActivityModal);","import React, { memo, useCallback, useEffect, useRef, useState } from 'react'\r\nimport { useForm, Controller } from 'react-hook-form';\r\nimport { Dropdown } from 'primereact/dropdown';\r\nimport { classNames } from 'primereact/utils';\r\nimport { Calendar } from 'primereact/calendar';\r\nimport { Checkbox } from 'primereact/checkbox';\r\nimport { Button } from 'primereact/button';\r\nimport DataTableComponent from \"components/Table/DataTable\";\r\n//components\r\nimport UserModal from './Manage/UserModal/UserModal';\r\nimport EntityModal from './Manage/EntityModal/EntityModal';\r\nimport ActivityModal from './Manage/ActivityModal/ActivityModal';\r\nimport InformationBox from 'components/common/Message/InformationBox/InformationBox';\r\n//icons\r\nimport { FiExternalLink } from 'react-icons/fi';\r\nimport { BsExclamationCircleFill } from 'react-icons/bs';\r\nimport { FaDownload } from 'react-icons/fa';\r\n//redux\r\nimport { useDispatch } from 'react-redux';\r\nimport { onGetActivities, onGetEntities, onGetLogBookList, onGetModules, onGetUserRoles, onGetUsers, onLogBookExport, setLogBookList } from 'redux/pages/Administration/LogBook/logBookSlice';\r\nimport { useAppSelector } from 'redux/hooks';\r\n//utility\r\nimport { getGridColumnDataWithStyle } from 'pages/InspectionTasks/ManageInspectionTasks/InspectionDetails/Equipment/utility';\r\nimport moment from 'moment';\r\nimport { ScrollPanel } from 'primereact/scrollpanel';\r\n\r\n\r\ntype searchFormData = {\r\n plannedStartDate: Date;\r\n plannedEndDate: Date;\r\n userRoleId: string;\r\n siteId: string;\r\n moduleIds: object;\r\n isCheckedAll: boolean;\r\n};\r\n\r\ninterface LogbookPropType {\r\n\r\n}\r\nconst Logbook: React.FC = (props) => {\r\n\r\n const [gridData, setGridData] = useState([]);\r\n const [columns, setColumns] = useState([]);\r\n const [pageDetails, setPageDetails] = useState({});\r\n const [pageIndex, setPageIndex] = useState(0);\r\n\r\n\r\n const { control, formState: { errors }, handleSubmit, watch, setValue } = useForm({\r\n defaultValues: {\r\n plannedStartDate: new Date(new Date().setMonth(new Date().getMonth() - 1)),\r\n plannedEndDate: new Date(),\r\n userRoleId: \"\",\r\n siteId: \"\",\r\n moduleIds: [],\r\n isCheckedAll: false,\r\n },\r\n });\r\n const searchForm = useRef(null);\r\n const [sites, setSites] = useState([\r\n { siteId: \"all\", siteName: \"All Sites\" },\r\n { siteId: \"\", siteName: \"This Site\" }\r\n ]);\r\n const [key, setKey] = useState(\"\");\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const [message, setMessage] = useState(\"\");\r\n //modals\r\n const [showUserModal, setShowUserModal] = useState(false);\r\n const [showEntityModal, setShowEntityModal] = useState(false);\r\n const [showActivityModal, setShowActivityModal] = useState(false);\r\n const [selectedUsers, setSelectedUsers] = useState([]);\r\n const [selectedEntities, setSelectedEntities] = useState([]);\r\n const [selectedActivities, setSelectedActivities] = useState([]);\r\n const [bodyInfo, setBodyInfo] = useState(null);\r\n const [sortField, setSortField] = useState('');\r\n const [sortOrder, setSortOrder] = useState('');\r\n const [currentStart, setCurrentStart] = useState(1);\r\n const [payload, setPayload] = useState();\r\n\r\n const dispatch = useDispatch();\r\n const userRoles = useAppSelector((state) => state.logBook.userRoles);\r\n const loggedInUserDetails = useAppSelector((state) => state.administration.loggedInUserDetails);\r\n const logPageDetails = useAppSelector((state) => state.logBook.logPageDetails);\r\n const modules = useAppSelector((state) => state.logBook.modules);\r\n const users = useAppSelector((state) => state.logBook.users);\r\n const entities = useAppSelector((state) => state.logBook.entities);\r\n const activities = useAppSelector((state) => state.logBook.activities);\r\n const logBooks = useAppSelector((state) => state.logBook.logBookList);\r\n const rowsPerPage = useAppSelector((state) => state.personalSettings.rowsPerPage);\r\n\r\n useEffect(() => {\r\n dispatch(onGetUserRoles());\r\n dispatch(onGetModules());\r\n }, []);\r\n\r\n useEffect(() => {\r\n if (loggedInUserDetails) {\r\n sites[1].siteId = loggedInUserDetails?.userDefaults?.uniqueSiteId;\r\n setSites(sites);\r\n }\r\n }, [loggedInUserDetails]);\r\n\r\n useEffect(() => {\r\n if (userRoles?.length) {\r\n setValue(\"userRoleId\", userRoles[0]?.userRoleId);\r\n setValue(\"siteId\", \"all\");\r\n }\r\n }, [userRoles])\r\n\r\n useEffect(() => {\r\n if (modules?.length) {\r\n let list: any = [];\r\n for (let j = 0; j < modules?.length; j++) {\r\n let sm = modules[j].cloudid;\r\n let item = {\r\n [sm]: false,\r\n };\r\n list.push(item);\r\n }\r\n setValue(\"moduleIds\", list);\r\n }\r\n }, [modules]);\r\n\r\n useEffect(() => {\r\n if (key) {\r\n searchForm?.current?.requestSubmit();\r\n }\r\n }, [key]) \r\n\r\n useEffect(() => { \r\n if (logBooks) {\r\n const column = getGridColumnDataWithStyle(logBooks?.generalProperties);\r\n if(column[0].header == 'Sl No'){\r\n column[0].sortable = false\r\n }\r\n setGridData(logBooks?.data);\r\n setColumns(column);\r\n dispatch(setLogBookList(\"\"))\r\n }\r\n }, [logBooks])\r\n\r\n useEffect(() => {\r\n if (payload && rowsPerPage && rowsPerPage > 0) {\r\n dispatch(onGetLogBookList(payload, 1, sortField, sortOrder));\r\n }\r\n }, [dispatch, rowsPerPage]);\r\n\r\n useEffect(() => {\r\n if (rowsPerPage && rowsPerPage > 0) {\r\n let modifiedPageDetails = { ...pageDetails, 'currentLength': rowsPerPage, 'pageCount': rowsPerPage };\r\n setPageDetails(modifiedPageDetails);\r\n setCurrentStart(1)\r\n setPageIndex(0)\r\n }\r\n }, [rowsPerPage]);\r\n\r\n useEffect(() => {\r\n if (logPageDetails) {\r\n setPageDetails(logPageDetails);\r\n }\r\n }, [logPageDetails])\r\n \r\n const onSubmit = useCallback((data) => {\r\n let multipleValue: any = [];\r\n if (Array.isArray(data[\"moduleIds\"])) {\r\n for (let i = 0; i < data[\"moduleIds\"]?.length; i++) {\r\n for (const obj in data[\"moduleIds\"][i]) {\r\n if (data[\"moduleIds\"][i][obj]) {\r\n multipleValue.push(parseInt(obj));\r\n }\r\n }\r\n }\r\n }\r\n if (!multipleValue?.length) {\r\n setDisplayInfoModal(true);\r\n setMessage(\"Select atleast one Module\");\r\n return;\r\n }\r\n\r\n const body = {\r\n fromDate: moment(data?.plannedStartDate).format(\"YYYY-MM-DD\").toString(),\r\n toDate: moment(data?.plannedEndDate).format(\"YYYY-MM-DD\").toString(),\r\n userRoleId: data.userRoleId === \"0\" ? null : data.userRoleId,\r\n siteId: data.siteId === \"all\" ? null : data.siteId,\r\n moduleIds: multipleValue,\r\n isAllModules: data.isCheckedAll,\r\n }\r\n\r\n if (key === \"users\")\r\n getUsers(body);\r\n else if (key === \"entities\")\r\n getEntities(body);\r\n else if (key === \"activities\")\r\n getActivities(body)\r\n else if (key === \"searches\")\r\n onSearch(body);\r\n }, [key])\r\n\r\n const onSearch = (body) => {\r\n if (!selectedUsers?.length) {\r\n setDisplayInfoModal(true);\r\n setMessage(\"Select atleast one User\");\r\n return;\r\n }\r\n if (!selectedEntities?.length) {\r\n setDisplayInfoModal(true);\r\n setMessage(\"Select atleast one Entity\");\r\n return;\r\n }\r\n if (!selectedActivities?.length) {\r\n setDisplayInfoModal(true);\r\n setMessage(\"Select atleast one Activity\");\r\n return;\r\n }\r\n let userIds: any = [];\r\n let entities: any = [];\r\n let activities: any = [];\r\n selectedEntities.forEach(element => {\r\n entities.push(element?.entityId);\r\n });\r\n selectedUsers.forEach(element => {\r\n userIds.push(element?.userId);\r\n });\r\n selectedActivities.forEach(element => {\r\n activities.push(element?.eventId);\r\n });\r\n body.userIds = userIds;\r\n body.entityIds = entities;\r\n body.eventIds = activities;\r\n setPayload(body);\r\n dispatch(onGetLogBookList(body, 1, sortField, sortOrder));\r\n setBodyInfo(body);\r\n }\r\n\r\n const getUsers = (body) => {\r\n dispatch(onGetUsers(body));\r\n setShowUserModal(true);\r\n }\r\n\r\n const getEntities = (body) => {\r\n if (!selectedUsers?.length) {\r\n setDisplayInfoModal(true);\r\n setMessage(\"Select atleast one User\");\r\n return;\r\n }\r\n let userIds: any = [];\r\n selectedUsers.forEach(element => {\r\n userIds.push(element?.userId);\r\n });\r\n body.userIds = userIds;\r\n dispatch(onGetEntities(body));\r\n setShowEntityModal(true);\r\n }\r\n\r\n const getActivities = (body) => {\r\n if (!selectedUsers?.length) {\r\n setDisplayInfoModal(true);\r\n setMessage(\"Select atleast one User\");\r\n return;\r\n }\r\n if (!selectedEntities?.length) {\r\n setDisplayInfoModal(true);\r\n setMessage(\"Select atleast one Entity\");\r\n return;\r\n }\r\n let userIds: any = [];\r\n let entities: any = [];\r\n selectedEntities.forEach(element => {\r\n entities.push(element?.entityId);\r\n });\r\n selectedUsers.forEach(element => {\r\n userIds.push(element?.userId);\r\n });\r\n body.userIds = userIds;\r\n body.entityIds = entities;\r\n dispatch(onGetActivities(body));\r\n setShowActivityModal(true);\r\n }\r\n\r\n const onDataExport = () => {\r\n if (bodyInfo) {\r\n dispatch(onLogBookExport(bodyInfo));\r\n }\r\n }\r\n\r\n const onPageChanged = (options: any) => {\r\n if (pageIndex !== options) {\r\n let currentStart = (options * pageDetails?.currentLength) + 1\r\n setCurrentStart(currentStart)\r\n setPageIndex(options)\r\n dispatch(onGetLogBookList(payload, currentStart, sortField, sortOrder));\r\n }\r\n };\r\n\r\n const onSort = (event) => {\r\n let sortDirection: string;\r\n if (event.sortOrder === 1)\r\n sortDirection = \"ASC\"\r\n else\r\n sortDirection = \"DESC\"\r\n setSortField(event.sortField)\r\n setSortOrder(sortDirection)\r\n dispatch(onGetLogBookList(payload, currentStart, event.sortField, sortDirection));\r\n }\r\n\r\n const getFormErrorMessage = (name) => {\r\n return (\r\n errors[name] && (\r\n \r\n \r\n {errors[name].message}\r\n \r\n )\r\n );\r\n };\r\n\r\n const onAllCheckBoxChanged = (checked) => {\r\n const checkedItem: any = watch(\"moduleIds\");\r\n for (let i = 0; i < checkedItem?.length; i++) {\r\n for (const k in checkedItem[i]) {\r\n checkedItem[i][k] = checked;\r\n }\r\n }\r\n setValue(\"moduleIds\", checkedItem);\r\n }\r\n\r\n const onCheckBoxChanged = (cloudid) => {\r\n let count = 0;\r\n const checkedItem: any = watch(\"moduleIds\");\r\n for (let i = 0; i < checkedItem?.length; i++) {\r\n if (checkedItem?.[i]?.[cloudid] !== undefined) {\r\n checkedItem[i][cloudid] = !checkedItem?.[i]?.[cloudid];\r\n }\r\n for (const k in checkedItem[i]) {\r\n if (checkedItem[i][k])\r\n count++;\r\n }\r\n }\r\n if (checkedItem?.length === count)\r\n setValue(\"isCheckedAll\", true);\r\n else\r\n setValue(\"isCheckedAll\", false);\r\n setValue(\"moduleIds\", checkedItem);\r\n };\r\n\r\n const getCheckBoxActive = (cloudid) => {\r\n let flag = false;\r\n const checkedItem: any = watch(\"moduleIds\");\r\n for (let i = 0; i < checkedItem?.length; i++) {\r\n if (checkedItem[i][cloudid] !== undefined) {\r\n flag = checkedItem?.[i]?.[cloudid];\r\n }\r\n }\r\n return flag;\r\n };\r\n\r\n return (\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n (\r\n {field.onChange(e.value);setKey(\"\");}} />\r\n )} />\r\n \r\n {getFormErrorMessage('plannedStartDate')}\r\n \r\n
\r\n
\r\n \r\n (\r\n {field.onChange(e.value);setKey(\"\");}} />\r\n )} />\r\n \r\n {getFormErrorMessage('plannedEndDate')}\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n (\r\n {field.onChange(e.value);setKey(\"\")}}\r\n options={userRoles}\r\n optionLabel=\"userRoleName\"\r\n optionValue='userRoleId'\r\n />\r\n\r\n )} />\r\n {getFormErrorMessage('userRoleId')}\r\n \r\n \r\n
\r\n
\r\n \r\n (\r\n {field.onChange(e.value);setKey(\"\");}}\r\n options={sites}\r\n optionLabel=\"siteName\"\r\n optionValue='siteId'\r\n />\r\n\r\n )} />\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Modules
\r\n
\r\n
\r\n (\r\n {\r\n field.onChange(e.checked);\r\n onAllCheckBoxChanged(e.checked);\r\n setKey(\"\");\r\n }}\r\n />\r\n )} />\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n {modules?.length > 0 &&\r\n (\r\n <>\r\n {modules?.length > 0 &&\r\n modules?.map((item, key) => (\r\n
\r\n
\r\n {onCheckBoxChanged(item?.cloudid);setKey(\"\");}}\r\n checked={getCheckBoxActive(item?.cloudid)}\r\n />\r\n \r\n
\r\n
\r\n ))\r\n }\r\n \r\n )} />\r\n }\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n {showUserModal &&\r\n {\r\n setKey(\"\");\r\n setShowUserModal(false);\r\n setSelectedUsers(users)\r\n }}\r\n />\r\n }\r\n {showEntityModal &&\r\n {\r\n setKey(\"\");\r\n setShowEntityModal(false);\r\n setSelectedEntities(entities)\r\n }}\r\n />\r\n }\r\n {showActivityModal &&\r\n {\r\n setKey(\"\");\r\n setShowActivityModal(false);\r\n setSelectedActivities(activities)\r\n }}\r\n />\r\n }\r\n {\r\n setDisplayInfoModal(flag);\r\n setKey(\"\");\r\n }}\r\n message={message} />\r\n
\r\n )\r\n}\r\n\r\nexport default memo(Logbook)","import React, { useEffect, useRef, useState } from \"react\";\r\nimport { useForm, Controller } from \"react-hook-form\";\r\nimport { Button } from \"primereact/button\";\r\nimport { Dialog } from \"primereact/dialog\";\r\nimport { BsExclamationCircleFill, BsPlusLg } from \"react-icons/bs\";\r\nimport { Dropdown } from \"primereact/dropdown\";\r\nimport { InputTextarea } from \"primereact/inputtextarea\";\r\nimport { classNames } from \"primereact/utils\";\r\nimport { FilePond, registerPlugin } from \"react-filepond\";\r\nimport { baseURL } from \"service/HttpService\";\r\n\r\nimport FileUploadValidate from \"filepond-plugin-file-validate-type\";\r\n\r\nimport { useAppSelector } from \"redux/hooks\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { getDrawingCategory, getDrawingTypes, getFloorList } from \"redux/pages/AsBuilts/AsBuiltsSlice\";\r\n\r\nimport InformationBox from \"components/common/Message/InformationBox/InformationBox\";\r\nimport AddFloors from \"pages/Sites/ManageFloors/AddFloor\";\r\nimport { onAddFloor, setNewFloorData } from \"redux/pages/Administration/Floor/floorSlice\";\r\n\r\ninterface Props {\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n selectedRows: any;\r\n selectedBuilding: any;\r\n selectedSite: any;\r\n onAddDrawing: (data: any) => void;\r\n}\r\n\r\ntype FormData = {\r\n floorId: string;\r\n drawingCategoryId: string;\r\n drawingTypeId: string;\r\n description: string;\r\n};\r\n\r\nexport const AddAsBuilts: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => { },\r\n selectedRows = [],\r\n selectedBuilding = [],\r\n selectedSite = [],\r\n onAddDrawing = () => { },\r\n}) => {\r\n\r\n const {\r\n control,\r\n handleSubmit,\r\n setValue,\r\n formState: { errors },\r\n } = useForm({\r\n defaultValues: {\r\n floorId: \"\",\r\n drawingCategoryId: \"\",\r\n drawingTypeId: \"\",\r\n description: \"\",\r\n },\r\n });\r\n \r\n registerPlugin(FileUploadValidate);\r\n\r\n const floorList = useAppSelector((state) => state.asbuilts.floorList);\r\n const drawingTypes = useAppSelector((state) => state.asbuilts.drawingTypes);\r\n const drawingCategory = useAppSelector((state) => state.asbuilts.drawingCategory);\r\n const newFloorData = useAppSelector((state) => state.floor.newFloorData);\r\n\r\n const [floorLookup, setFloorLookup] = useState();\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const [message, setMessage] = useState(\"\");\r\n const [drawingDetails, setDrawingDetails] = useState(\"\");\r\n const [showAddFloorsModal, setShowAddFloorsModal] = useState(false);\r\n\r\n const addForm: any = useRef();\r\n const dispatch = useDispatch();\r\n\r\n\r\n useEffect(() => {\r\n dispatch(getFloorList(selectedSite?.uniqueSiteId, selectedBuilding.id))\r\n dispatch(getDrawingCategory());\r\n dispatch(getDrawingTypes());\r\n }, [])\r\n\r\n useEffect(() => {\r\n if (floorList) {\r\n let floor: any = [];\r\n floorList.map((item: any) => {\r\n floor.push(item)\r\n })\r\n setFloorLookup(floor)\r\n }\r\n }, [floorList])\r\n\r\n const getFormErrorMessage = (name) => {\r\n return (\r\n errors[name] && (\r\n \r\n \r\n {errors[name].message}\r\n \r\n )\r\n );\r\n };\r\n\r\n const renderFooter = () => {\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n Fire Protection\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n 2D Drawing\r\n \r\n
\r\n
\r\n
\r\n \r\n {\r\n return value.trim().length <= 0\r\n ? \"Description is required.\" : true\r\n },\r\n }}\r\n render={({ field, fieldState }) => (\r\n \r\n )}\r\n />\r\n \r\n \r\n Max 4000 Chars\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n {\r\n const res = JSON.parse(response);\r\n if (res.status === \"done\") {\r\n setDrawingDetails(res.data.uniqueDirectoryId[0]);\r\n }\r\n return response.key\r\n },\r\n onerror: (response) => response.data,\r\n ondata: (formData) => formData\r\n },\r\n }}\r\n name=\"files\"\r\n credits={false}\r\n labelIdle=\"Click to choose a file or drag and drop a file\"\r\n labelFileLoading=\"\"\r\n labelTapToUndo=\"\"\r\n labelFileProcessing=\"\"\r\n labelFileProcessingComplete=\"\"\r\n labelFileProcessingAborted=\"\"\r\n labelFileProcessingError=\"\"\r\n labelButtonAbortItemProcessing=\"\"\r\n labelButtonUndoItemProcessing=\"\"\r\n labelButtonRetryItemProcessing=\"\"\r\n labelButtonProcessItem=\"\"\r\n labelTapToCancel=\"\"\r\n labelFileRemoveError=\"\"\r\n labelTapToRetry=\"\"\r\n allowFileTypeValidation={true}\r\n onremovefile={onRemoveFile}\r\n //acceptedFileTypes={[\".dwg\", \"application/octet-stream\"]}\r\n beforeAddFile={beforeAddFile}\r\n />\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n {showAddFloorsModal && (\r\n \r\n )}\r\n \r\n );\r\n};\r\n\r\nexport default AddAsBuilts;\r\n\r\n","import React, { useEffect, useRef } from \"react\";\r\nimport { useForm, Controller } from \"react-hook-form\";\r\nimport { Button } from \"primereact/button\";\r\nimport { Dialog } from \"primereact/dialog\";\r\nimport { BsExclamationCircleFill } from \"react-icons/bs\";\r\nimport { InputTextarea } from \"primereact/inputtextarea\";\r\nimport { classNames } from \"primereact/utils\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { getDrawingDetails, setDrawingDetails } from \"redux/pages/AsBuilts/AsBuiltsSlice\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\n\r\ninterface Props {\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n selectedRows: any;\r\n selectedBuilding: any;\r\n selectedSite: any;\r\n onEditDrawing: (data: any) => void;\r\n}\r\n\r\ntype FormData = {\r\n description: string;\r\n};\r\n\r\nexport const EditAsBuilts: React.FC = ({ \r\n showModal = false,\r\n setShowModal = () => { },\r\n selectedRows = [],\r\n selectedBuilding = [],\r\n selectedSite = [],\r\n onEditDrawing = () => { },\r\n}) => {\r\n const editForm: any = useRef();\r\n \r\n\r\n const {\r\n control,\r\n handleSubmit,\r\n setValue,\r\n formState: { errors },\r\n } = useForm({\r\n defaultValues: {\r\n description: \"\",\r\n },\r\n });\r\n\r\n const drawingDetails = useAppSelector((state) => state.asbuilts.drawingDetails);\r\n\r\n const dispatch = useDispatch();\r\n\r\n\r\n useEffect(() => {\r\n let body = {\r\n revisionNo: selectedRows[0]?.revisions\r\n };\r\n dispatch(getDrawingDetails(selectedSite?.uniqueSiteId, selectedBuilding.id, selectedRows[0]?.drawingId, body))\r\n }, [])\r\n\r\n useEffect(() => {\r\n if (drawingDetails) {\r\n setValue(\"description\", drawingDetails.description)\r\n }\r\n }, [drawingDetails])\r\n\r\n\r\n const formSubmitHandler = (data: any) => {\r\n editForm.current.requestSubmit();\r\n };\r\n\r\n const onEditFormSubmit = (data: any) => {\r\n let payload = {\r\n drawingId: drawingDetails?.drawingId,\r\n description: data.description.trim(),\r\n revisionNo: drawingDetails?.revisionNo\r\n }\r\n onEditDrawing && onEditDrawing(payload);\r\n }\r\n\r\n const getFormErrorMessage = (name) => {\r\n return (\r\n errors[name] && (\r\n \r\n \r\n {errors[name].message}\r\n \r\n )\r\n );\r\n };\r\n\r\n const renderFooter = () => {\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n setTextColor(e.value)}>\r\n \r\n setMarkupColor(e)}\r\n />\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n }\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n
\r\n { cadPlanId!=\"\" && }\r\n
\r\n \r\n \r\n \r\n {showComments? ( ) : null}\r\n {showMarkupSave? ( ) : null}\r\n \r\n {showDrawingMarkupList? ( ) : null} \r\n {showDrawingExport? ( ) : null}\r\n {showDrawingSave? ( ) : null}\r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default AsBuiltsDrawing;\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n","import React, {useCallback, useEffect, useState } from \"react\";\r\n\r\n//components\r\nimport DataTableComponent from \"components/Table/DataTable\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { getMarkupList, setDeletedMarkupData, setmarkupList, setUpdatedMarkup } from \"redux/pages/AsBuilts/AsBuiltsSlice\";\r\nimport InformationBox from \"components/common/Message/InformationBox/InformationBox\";\r\nimport AsbuiltsDrawing from \"./AsbuiltsDrawing\";\r\n\r\ninterface Props {\r\n showModal?: boolean;\r\n setShowModal?: (state: boolean) => void;\r\n selectedRowData?: (data: any) => void;\r\n selectedBuilding?: any;\r\n getSelectedData?: (data: any) => void;\r\n settingsRef: any;\r\n fromRevision?: boolean;\r\n revisionRow?: any;\r\n showDrawing?: boolean;\r\n setShowDrawingModal?: (state: boolean) => void;\r\n \r\n}\r\n\r\n\r\nexport const ListMarkups: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => { },\r\n selectedRowData = [],\r\n selectedBuilding = [],\r\n getSelectedData = () => { },\r\n settingsRef = null,\r\n fromRevision = false,\r\n revisionRow = [],\r\n showDrawing = false,\r\n setShowDrawingModal = () => { },\r\n}) => {\r\n\r\n const [pageIndex, setPageIndex] = useState(0);\r\n const [message, setMessage] = useState(\"\");\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false)\r\n const [selectedRow, setSelectedRow] = useState([]);\r\n const [markupData, setMarkupData] = useState([]);\r\n const [currentStart, setCurrentStart] = useState(1);\r\n const [sortField, setSortField] = useState('')\r\n const [sortOrder, setSortOrder] = useState('');\r\n\r\n const loggedInUserData = useAppSelector((state) => state.administration.loggedInUserDetails);\r\n const markupList = useAppSelector((state) => state.asbuilts.markupList);\r\n const markupPageDetails = useAppSelector((state) => state.asbuilts.markupPageDetails);\r\n const updatedMarkup = useAppSelector((state) => state.asbuilts.updatedMarkup);\r\n const deletedMarkupData = useAppSelector((state) => state.asbuilts.deletedMarkupData);\r\n\r\n const dispatch = useDispatch();\r\n\r\n useEffect(() => {\r\n let body = {\r\n revisionNo: fromRevision? revisionRow[0].revisions : selectedRowData[0]?.revisions,\r\n markupId: 0\r\n };\r\n dispatch(getMarkupList(loggedInUserData?.userDefaults?.uniqueSiteId, selectedBuilding?.id, selectedRowData[0]?.drawingId, body, 1,setDisplayInfoModal,setMessage))\r\n }, [selectedRowData])\r\n\r\n useEffect(() => {\r\n if (markupList) {\r\n setMarkupData(markupList);\r\n dispatch(setmarkupList(\"\"))\r\n }\r\n\r\n }, [markupList])\r\n \r\n const onPageChanged = (options: any) => {\r\n let currentStart;\r\n setPageIndex(options);\r\n currentStart = options * markupPageDetails?.currentLength + 1;\r\n setCurrentStart(currentStart)\r\n let body = {\r\n revisionNo: selectedRowData[0]?.revisions,\r\n markupId: 0\r\n };\r\n dispatch(getMarkupList(loggedInUserData?.userDefaults?.uniqueSiteId, selectedBuilding?.id, selectedRowData[0]?.drawingId, body, currentStart,setDisplayInfoModal,setMessage, \"\", sortField, sortOrder))\r\n }\r\n\r\n const onSort = (event) => {\r\n if (event && markupData && markupData.length) {\r\n let sortDirection: string;\r\n if (event.sortOrder === 1)\r\n sortDirection = \"ASC\"\r\n else\r\n sortDirection = \"DESC\"\r\n setSortField(event.sortField)\r\n setSortOrder(sortDirection)\r\n let body = {\r\n revisionNo: selectedRowData[0]?.revisions,\r\n markupId: 0\r\n };\r\n dispatch(getMarkupList(loggedInUserData?.userDefaults?.uniqueSiteId, selectedBuilding?.id, selectedRowData[0]?.drawingId, body, currentStart, setDisplayInfoModal, setMessage, \"\", event?.sortField, sortDirection))\r\n }\r\n }\r\n const handleRowSelect = useCallback((data: any) => {\r\n setSelectedRow([...data]);\r\n getSelectedData([...data])\r\n }, []);\r\n const onCloseClick = () => {\r\n setShowDrawingModal(false);\r\n }\r\n useEffect(() => {\r\n if (updatedMarkup) {\r\n let updatedData = JSON.parse(JSON.stringify(updatedMarkup[0]));\r\n let markupInfo = JSON.parse(JSON.stringify(markupData));\r\n let currentIndex = markupInfo.findIndex((item: any) => item.markupId === updatedData.markupId);\r\n const newMarkupList: any = markupInfo.filter((item: any) => item.markupId !== updatedData.markupId);\r\n newMarkupList.splice(currentIndex, 0, updatedData);\r\n setMarkupData(newMarkupList);\r\n setSelectedRow([updatedData]);\r\n dispatch(setUpdatedMarkup(\"\"));\r\n }\r\n }, [updatedMarkup])\r\n\r\n useEffect(() => {\r\n if (deletedMarkupData) {\r\n let deletedData = JSON.parse(JSON.stringify(deletedMarkupData));\r\n let markupInfo = JSON.parse(JSON.stringify(markupData));\r\n const newMarkupList: any = markupInfo.filter((item: any) => item.markupId !== deletedData);\r\n setMarkupData(newMarkupList);\r\n dispatch(setDeletedMarkupData(\"\"));\r\n }\r\n }, [deletedMarkupData])\r\n\r\n\r\n return (\r\n <> \r\n {showDrawing ?\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
Site
{selectedRowData[0]?.siteName}\r\n
\r\n
\r\n
Building
\r\n {selectedRowData[0]?.buildingName}\r\n
\r\n
\r\n
Floor
\r\n {selectedRowData[0]?.floorName}\r\n
\r\n
\r\n
Category
\r\n {selectedRowData[0]?.category}\r\n
\r\n
\r\n
Revision Number
\r\n {selectedRowData[0]?.revisions}\r\n
\r\n
\r\n
File Name
\r\n {selectedRowData[0]?.dwgFileName}\r\n
\r\n
\r\n
Description
\r\n {selectedRowData[0]?.description}\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n : \r\n }\r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default ListMarkups;\r\n\r\nconst MARKUP_COL = [\r\n\t{\r\n\t\tfield: \"uploadedBy\",\r\n\t\theader: \"Uploaded By\",\r\n style: { flex: '1 0 150px' },\r\n\t\tsortable: true,\r\n editor: (options) => disableEditor(options),\r\n\t},\r\n\t{\r\n\t\tfield: \"uploadedOn\",\r\n\t\theader: \"Uploaded On\",\r\n style: { flex: '1 0 150px' },\r\n\t\tsortable: true,\r\n editor: (options) => disableEditor(options),\r\n\t},\r\n\t{\r\n\t\tfield: \"description\",\r\n\t\theader: \"Description\",\r\n style: { flex: '1 0 150px' },\r\n\t\tsortable: true,\r\n editor: (options) => disableEditor(options),\r\n\t},\r\n\t{\r\n\t\tfield: \"markupFileName\",\r\n\t\theader: \"Markup File Name\",\r\n style: { flex: '1 0 150px' },\r\n\t\tsortable: true,\r\n editor: (options) => disableEditor(options),\r\n\t},\r\n\r\n];\r\n\r\n\r\nfunction disableEditor(options: any) {\r\n throw new Error(\"Function not implemented.\");\r\n}","\r\nimport React, { useState,useCallback, useEffect } from \"react\";\r\nimport { InputText } from \"primereact/inputtext\";\r\n\r\nimport DataTableComponent from \"components/Table/DataTable\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { getRevisionList, setRevisionList, setUpdatedRevision } from \"redux/pages/AsBuilts/AsBuiltsSlice\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\nimport InformationBox from \"components/common/Message/InformationBox/InformationBox\";\r\nimport AsbuiltsDrawing from \"./AsbuiltsDrawing\";\r\n\r\n\r\ninterface Props {\r\n showModal?: boolean;\r\n setShowModal?: (state: boolean) => void;\r\n selectedRowData?: (data: any) => void;\r\n selectedBuilding?: any;\r\n settingsRef: any;\r\n getSelectedData?: (data: any) => void;\r\n markupListClick?: (data: any) => void;\r\n showDrawing?: boolean;\r\n setShowDrawingModal?: (state: boolean) => void;\r\n}\r\n\r\nexport const ListRevisions: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => { },\r\n selectedRowData = [],\r\n selectedBuilding = [],\r\n settingsRef = null,\r\n getSelectedData = () => { },\r\n markupListClick = () => { },\r\n showDrawing = false,\r\n setShowDrawingModal = () => { },\r\n}) => {\r\n const [pageIndex, setPageIndex] = useState(0);\r\n const [message, setMessage] = useState(\"\");\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false)\r\n const [selectedRow, setSelectedRow] = useState([]);\r\n const [revisionData, setRevisionData] = useState([]);\r\n const [currentStart, setCurrentStart] = useState(1);\r\n const [sortField, setSortField] = useState('')\r\n const [sortOrder, setSortOrder] = useState('');\r\n const [settingListItems, setSettingListItems] = useState()\r\n\r\n const loggedInUserData = useAppSelector((state) => state.administration.loggedInUserDetails);\r\n const revisionList = useAppSelector((state) => state.asbuilts.revisionList);\r\n const revisionPageDetails = useAppSelector((state) => state.asbuilts.revisionPageDetails);\r\n const updatedRevision = useAppSelector((state) => state.asbuilts.updatedRevision);\r\n\r\n const dispatch = useDispatch();\r\n\r\n useEffect(() => {\r\n dispatch(getRevisionList(loggedInUserData?.userDefaults?.uniqueSiteId, selectedBuilding?.id, selectedRowData[0]?.drawingId, 1,setDisplayInfoModal,setMessage))\r\n }, [selectedRowData])\r\n\r\n useEffect(() => {\r\n if (revisionList) {\r\n setRevisionData(revisionList)\r\n dispatch(setRevisionList(\"\"))\r\n }\r\n }, [revisionList])\r\n\r\n useEffect(() => {\r\n if (selectedRow && selectedRow.length) {\r\n filterSettingItemList();\r\n }\r\n }, [selectedRow])\r\n\r\n const filterSettingItemList = () => {\r\n const settingList: any = [];\r\n settingList.push({\r\n id: 1,\r\n name: 'List Markups',\r\n onClick: () => { markupListClick(selectedRow) }\r\n })\r\n setSettingListItems(settingList)\r\n }\r\n\r\n const onPageChanged = (options: any) => {\r\n let currentStart;\r\n setPageIndex(options);\r\n currentStart = options * revisionPageDetails?.currentLength + 1;\r\n setCurrentStart(currentStart)\r\n dispatch(getRevisionList(loggedInUserData?.userDefaults?.uniqueSiteId, selectedBuilding?.id, selectedRowData[0]?.drawingId, currentStart, \"\", sortField, sortOrder))\r\n }\r\n const onCloseClick = () => {\r\n setShowDrawingModal(false);\r\n }\r\n const onSort = (event) => {\r\n if (event && revisionData && revisionData.length) {\r\n let sortDirection: string;\r\n if (event.sortOrder === 1)\r\n sortDirection = \"ASC\"\r\n else\r\n sortDirection = \"DESC\"\r\n setSortField(event.sortField)\r\n setSortOrder(sortDirection)\r\n dispatch(getRevisionList(loggedInUserData?.userDefaults?.uniqueSiteId, selectedBuilding?.id, selectedRowData[0]?.drawingId, currentStart, \"\",\"\",\"\", event?.sortField, sortDirection))\r\n }\r\n }\r\n\r\n\r\n\r\n const handleRowSelect = useCallback((data: any) => {\r\n if(data){\r\n setSelectedRow(data)\r\n getSelectedData([...data])\r\n }\r\n }, []);\r\n useEffect(() => {\r\n if (updatedRevision) {\r\n let updatedData = JSON.parse(JSON.stringify(updatedRevision[0]));\r\n let revisionInfo = JSON.parse(JSON.stringify(revisionData));\r\n let currentIndex = revisionInfo.findIndex((item: any) => item.revisions === updatedData.revisions);\r\n const newMarkupList: any = revisionInfo.filter((item: any) => item.revisions !== updatedData.revisions);\r\n newMarkupList.splice(currentIndex, 0, updatedData);\r\n setRevisionData(newMarkupList);\r\n setSelectedRow([updatedData]);\r\n dispatch(setUpdatedRevision(\"\"));\r\n }\r\n }, [updatedRevision]) \r\n\r\n return (\r\n <>\r\n \r\n \r\n {showDrawing ?\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
Site
{selectedRowData[0]?.siteName}\r\n
\r\n
\r\n
Building
\r\n {selectedRowData[0]?.buildingName}\r\n
\r\n
\r\n
Floor
\r\n {selectedRowData[0]?.floorName}\r\n
\r\n
\r\n
Category
\r\n {selectedRowData[0]?.category}\r\n
\r\n
\r\n
Revision Number
\r\n {selectedRow[0]?.revisions}\r\n
\r\n
\r\n
File Name
\r\n {selectedRow[0]?.dwgFileName}\r\n
\r\n
\r\n
Description
\r\n {selectedRow[0]?.description}\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n :\r\n }\r\n \r\n \r\n );\r\n};\r\n\r\nexport default ListRevisions;\r\n\r\nconst disableEditor = (options) => {\r\n return options.editorCallback(e.target.value)} />;\r\n}\r\n\r\nconst REVISION_COLS = [\r\n\t{\r\n\t\tfield: \"revisions\",\r\n\t\theader: \"Revision Number\",\r\n style: { flex: '1 0 150px' },\r\n\t\tsortable: true,\r\n editor: (options) => disableEditor(options),\r\n align: 'right',\r\n\t},\r\n\t{\r\n\t\tfield: \"description\",\r\n\t\theader: \"Description\",\r\n style: { flex: '1 0 150px' },\r\n\t\tsortable: true,\r\n editor: (options) => disableEditor(options),\r\n\t},\r\n\t{\r\n\t\tfield: \"dwgFileName\",\r\n\t\theader: \"File Name\",\r\n style: { flex: '1 0 150px' },\r\n\t\tsortable: true,\r\n editor: (options) => disableEditor(options),\r\n\t},\r\n\t{\r\n\t\tfield: \"dwgFileSize\",\r\n\t\theader: \"File Size (KB)\",\r\n style: { flex: '1 0 150px' },\r\n\t\tsortable: true,\r\n editor: (options) => disableEditor(options),\r\n align: 'right',\r\n\t},\r\n {\r\n\t\tfield: \"uploadedOn\",\r\n\t\theader: \"Uploaded On\",\r\n style: { flex: '1 0 150px' },\r\n\t\tsortable: true,\r\n editor: (options) => disableEditor(options),\r\n\t},\r\n {\r\n\t\tfield: \"markups\",\r\n\t\theader: \"Markups\",\r\n style: { flex: '1 0 150px' },\r\n\t\tsortable: true,\r\n editor: (options) => disableEditor(options),\r\n align: 'right',\r\n\t},\r\n\r\n];\r\n\r\n\r\n\r\n","import React, { useEffect, useRef } from \"react\";\r\nimport { useForm, Controller } from \"react-hook-form\";\r\nimport { Button } from \"primereact/button\";\r\nimport { Dialog } from \"primereact/dialog\";\r\nimport { BsExclamationCircleFill } from \"react-icons/bs\";\r\nimport { InputTextarea } from \"primereact/inputtextarea\";\r\nimport { classNames } from \"primereact/utils\";\r\n\r\ninterface Props {\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n selectedRows: any;\r\n selectedDrawing: any;\r\n selectedBuilding: any;\r\n onRevisionEdit: (data: any) => void;\r\n}\r\n\r\ntype FormData = {\r\n description: string;\r\n};\r\n\r\nexport const EditListRevisions: React.FC = ({ \r\n showModal = false,\r\n setShowModal = () => {}, \r\n selectedRows = [], \r\n selectedDrawing = [],\r\n selectedBuilding = [] , \r\n onRevisionEdit = () => {}, \r\n}) => {\r\n const editForm: any = useRef();\r\n const {\r\n control,\r\n handleSubmit,\r\n setValue,\r\n formState: { errors },\r\n } = useForm({\r\n defaultValues: {\r\n description: \"\",\r\n },\r\n });\r\n\r\n useEffect(() => {\r\n if (selectedRows &&selectedRows.length) {\r\n setValue(\"description\", selectedRows[0]?.description)\r\n }\r\n }, [selectedRows])\r\n\r\n\r\n const formSubmitHandler = (data: any) => {\r\n editForm.current.requestSubmit();\r\n };\r\n\r\n const onEditFormSubmit = (data: any) => {\r\n let payload = {\r\n description: data.description.trim(),\r\n RevisionNo: selectedRows[0]?.revisions\r\n }\r\n onRevisionEdit && onRevisionEdit(payload);\r\n }\r\n\r\n const getFormErrorMessage = (name) => {\r\n return (\r\n errors[name] && (\r\n \r\n \r\n {errors[name].message}\r\n \r\n )\r\n );\r\n };\r\n\r\n const renderFooter = () => {\r\n return (\r\n <>\r\n \r\n {dialogModelName === \"ListMarkups\" &&\r\n \r\n }\r\n \r\n\t\t\t\t\t\t\t\t downloadRef.current?.toggle(e)}\r\n\t\t\t\t\t\t\t\t\ttooltipOptions={{ position: \"top\" }}\r\n disabled={dialogModelName === \"ListRevisions\"?selectedRowData&&selectedRowData[0].revisions===0:selectedRowData[0].markups===\"\"?true:false}\r\n hidden={true}>\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tsettingRef.current?.toggle(e)}\r\n\t\t\t\t\t\t\t\t\ttooltipOptions={{ position: \"top\" }}\r\n disabled={dialogModelName === \"ListRevisions\"?selectedRowData&&selectedRowData[0].revisions===0:selectedRowData[0].markups===\"\"?true:false}\r\n hidden={true}>\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\r\n {dialogModelName===\"ListRevisions\"? () : null} \r\n {dialogModelName===\"ListMarkups\"||showListMarkups? () : null} \r\n \r\n {dialogModelName === \"ListRevisions\" ? (\r\n
    \r\n
  • DWG File
  • \r\n
  • Export All
  • \r\n
  • Export Highlighted
  • \r\n
\r\n ) : (\r\n
    \r\n
  • Export All
  • \r\n
  • Export Highlighted
  • \r\n
\r\n )}\r\n
\r\n \r\n \r\n {showPdfViewModal &&\r\n\t\t\t\t\r\n\t\t\t}\r\n {showEditModel && dialogModelName===\"ListRevisions\"? ( ) : null}\r\n {showEditModel && dialogModelName===\"ListMarkups\"? ( ) : null}\r\n {/* {showMarkupViewModal && dialogModelName===\"ListMarkups\"? ( setShowMarkupViewModal(false)}        className=\"display-settings common_display_settings\"      > ) : null} */}\r\n \r\n \r\n );\r\n};\r\n\r\nexport default CommonDialog;\r\n\r\n","import React, { useState, useCallback, useEffect } from \"react\";\r\nimport { Button } from \"primereact/button\";\r\nimport { Dropdown } from \"primereact/dropdown\";\r\nimport { OverlayPanel } from 'primereact/overlaypanel';\r\nimport { useForm } from \"react-hook-form\";\r\nimport { InputText } from \"primereact/inputtext\";\r\nimport { BsCloud, BsExclamationCircleFill, BsFillEyeFill, BsFillPencilFill, BsPencil, BsPlusLg, BsTrashFill } from \"react-icons/bs\";\r\nimport { FaChevronDown, FaCog, FaDownload, FaSlash } from \"react-icons/fa\";\r\n\r\nimport { AiOutlineDoubleLeft, AiOutlineDoubleRight } from \"react-icons/ai\";\r\nimport { BiDotsVertical, BiRectangle } from \"react-icons/bi\";\r\n//components\r\nimport DataTableComponent from \"components/Table/DataTable\";\r\nimport PopOver from 'components/common/PopOver/PopOver';\r\nimport ConfirmationBox from \"components/common/Message/ConfirmationBox/ConfirmationBox\";\r\nimport InformationBox from \"components/common/Message/InformationBox/InformationBox\";\r\n\r\nimport AddAsBuilts from \"./ManageDrawings/AddAsBuilts\";\r\nimport EditAsBuilts from \"./ManageDrawings/EditAsBuilts\";\r\nimport ReviseASbuilts from './ManageDrawings/Revise';\r\nimport ReplaceASbuilts from './ManageDrawings/Replace';\r\nimport CommonDialog from \"./ManageDrawings/MangeDialogModel/CommonDialog\";\r\nimport AsbuiltsDrawing from \"./ManageDrawings/AsbuiltsDrawing\";\r\nimport AddBuildings from \"pages/Sites/ManageBuildings/AddBuildings\";\r\nimport PdfDrawingViewer from \"./ManageDrawings/PdfDrawingViewer\";\r\n\r\n\r\nimport { useDispatch } from \"react-redux\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\nimport { deleteDrawing, downloadDrawing, getBuildingList, getDrawingList, onAddDrawing, onDrawingReplace, onDrawingRevise, onUpdateDrawing, setBuildingList, setDrawingList, setNewDrawing, setReplacedDrawing, setRevisedDrawing, setUpdatedDrawing,setDeletedMarkupData,setPreviousDrawing } from \"redux/pages/AsBuilts/AsBuiltsSlice\";\r\nimport { onAddBuilding, setNewBuilding} from \"redux/pages/Administration/Building/buildingSlice\";\r\n\r\n\r\nimport { IoEllipseOutline } from \"react-icons/io5\";\r\nimport { setProgressFlag } from \"redux/common/commonSlice\";\r\n\r\ninterface Props {}\r\n\r\nconst AsBuilts: React.FC = (props) => {\r\n\r\n const loggedInUserData = useAppSelector((state) => state.administration.loggedInUserDetails);\r\n const buildingList = useAppSelector((state) => state.asbuilts.buildingList);\r\n const drawingList = useAppSelector((state) => state.asbuilts.drawingList);\r\n const drawingPageDetails = useAppSelector((state) => state.asbuilts.drawingPageDetails);\r\n const newDrawing = useAppSelector((state) => state.asbuilts.newDrawing);\r\n const updatedDrawing = useAppSelector((state) => state.asbuilts.updatedDrawing);\r\n const previousDrawing = useAppSelector((state) => state.asbuilts.previousDrawing);\r\n const revisedDrawing = useAppSelector((state) => state.asbuilts.revisedDrawing);\r\n const replacedDrawing = useAppSelector((state) => state.asbuilts.replacedDrawing);\r\n const newBuilding = useAppSelector((state) => state.building.newBuilding);\r\n const rowsPerPage = useAppSelector((state) => state.personalSettings.rowsPerPage);\r\n\r\n \r\n const [pageIndex, setPageIndex] = useState(0);\r\n const [leftToggle, setLeftToggle] = useState(false); \r\n const [showReviseAsbuilts, setShowReviseAsbuilts] = useState(false);\r\n const [showReplaceAsbuilts, setShowReplaceAsbuilts] = useState(false);\r\n const [rightToggle, setRightToggle] = useState(true);\r\n const [showAddAsBuilts, setShowAddAsBuilts] = useState(false);\r\n const [showEditAsBuilts, setShowEditAsBuilts] = useState(false);\r\n const [showListMarkups, setShowListMarkups] = useState(false);\r\n const [showListRevisions, setShowListRevisions] = useState(false);\r\n const [displayConfirmModal, setDisplayConfirmModal] = useState(false);\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const [message, setMessage] = useState(\"\");\r\n const [selectedRows, setSelectedRows] = useState([]);\r\n const [buildingLookup, setBuildngLookup] = useState();\r\n const [selectedBuilding, setSelectedBuilding] = useState();\r\n const [selectedSite, setSelectedSite] = useState();\r\n const [drawingData, setDrawingData] = useState([]);\r\n const [currentStart, setCurrentStart] = useState(1);\r\n const [sortField, setSortField] = useState('')\r\n const [sortOrder, setSortOrder] = useState('');\r\n const [showDrawing, setshowDrawing] = useState(false);\r\n const [showMarkupList,setShowMarkupList] = useState(false);\r\n const [toolData, setToolData] = useState([]);\r\n const [settingListItems, setSettingListItems] = useState()\r\n const [showAddBuildingsModal, setShowAddBuildingsModal] = useState(false);\r\n const settingRef = React.createRef();\r\n const downloadRef = React.createRef();\r\n const [pageDetails, setPageDetails] = useState({}); \r\n \r\n const [drawingresize, setDrawingresize] = useState(false);\r\n const [DrawingObj] = useState([])\r\n const [isDrawingOpen]=useState(false);\r\n const [selectedDrawing,setSelectedDrawing]=useState([]);\r\n const [disableAddBtn, setDisabeAddBtn] = useState(true);\r\n const [btnDisable, setBtnDisable] = useState(true);\r\n const [showPdfViewModal, setShowPdfViewModal] = useState(false);\r\n\tconst [filePdfName, setPdfFileName] = useState(\"\");\r\n \r\n\r\n\r\n \r\n\r\n const {\r\n } = useForm({\r\n defaultValues: {\r\n address: \"\",\r\n name: \"\",\r\n type: \"\",\r\n },\r\n });\r\n\r\n type EqpGroupFormData = {\r\n address: string;\r\n name: string;\r\n type: string;\r\n };\r\n\r\n let tools = [\r\n {\r\n name: \"Rectangle\",\r\n icons: ,\r\n },\r\n {\r\n name: \"Ellipse\",\r\n icons: ,\r\n },\r\n {\r\n name: \"Line\",\r\n icons: ,\r\n },\r\n {\r\n name: \"Cloud\",\r\n icons: ,\r\n },\r\n {\r\n name: \"Free Hand\",\r\n icons: ,\r\n },\r\n ];\r\n\r\n const dispatch = useDispatch();\r\n \r\n \r\n useEffect(() => {\r\n \r\n setSelectedSite(loggedInUserData?.userDefaults)\r\n let body = {\r\n uniqueSiteId: loggedInUserData?.userDefaults,\r\n };\r\n if (loggedInUserData?.userDefaults?.uniqueSiteId) {\r\n dispatch(getBuildingList(loggedInUserData?.userDefaults?.uniqueSiteId, body))\r\n setToolData(tools)\r\n }\r\n \r\n }, [loggedInUserData])\r\n\r\n useEffect(() => {\r\n if (newBuilding) {\r\n let building :any = [];\r\n buildingLookup == null ? building=[] :building =buildingLookup\r\n let addedBuilding :any= {id: newBuilding.uniqueBuildingId, name: newBuilding.buildingName}\r\n building.push(addedBuilding)\r\n setBuildngLookup(building)\r\n setSelectedBuilding(addedBuilding);\r\n setDisabeAddBtn(false);\r\n dispatch(getDrawingList(selectedSite?.uniqueSiteId, addedBuilding?.id, 1, \"\", \"\", \"\"));\r\n setShowAddBuildingsModal(false);\r\n dispatch(setNewBuilding(null));\r\n } \r\n \r\n }, [newBuilding])\r\n\r\n useEffect(() => {\r\n if (buildingList) {\r\n if (buildingList.length > 0) {\r\n setDisabeAddBtn(false);\r\n let buildings: any = [];\r\n buildingList.map((item: any) => {\r\n buildings.push({ id: item.uniqueBuildingId, name: item.buildingName })\r\n })\r\n setBuildngLookup(buildings)\r\n setSelectedBuilding(buildings[0]);\r\n dispatch(getDrawingList(selectedSite?.uniqueSiteId, buildings[0]?.id, 1, \"\", \"\", \"\", setMessage, setDisplayInfoModal));\r\n } else {\r\n setMessage(\"No Buildings exist\")\r\n setDisplayInfoModal(true)\r\n }\r\n dispatch(setBuildingList(\"\"))\r\n }\r\n }, [buildingList])\r\n\r\n useEffect(() => {\r\n if (drawingList) {\r\n setDrawingData(drawingList)\r\n dispatch(setDrawingList(\"\"));\r\n }\r\n if(drawingList && drawingList.length && showMarkupList ){\r\n setSelectedRows(selectedRows);\r\n setShowMarkupList(false);\r\n }\r\n else if (drawingList && drawingList.length){\r\n setSelectedRows([drawingList[0]]);\r\n }\r\n }, [drawingList])\r\n\r\n useEffect(() => {\r\n if (drawingData && drawingData.length) setBtnDisable(false);\r\n else setBtnDisable(true);\r\n }, [drawingData]);\r\n\r\n useEffect(() => {\r\n if (selectedRows && selectedRows.length) {\r\n filterSettingItemList();\r\n }\r\n }, [selectedRows])\r\n\r\n const filterSettingItemList = () => {\r\n const settingList: any = [];\r\n settingList.push({\r\n id: 1,\r\n name: 'Revise',\r\n onClick: () => { reviseDrawingClick(selectedRows) }\r\n },{\r\n id: 2,\r\n name: 'Replace',\r\n onClick: () => { replaceDrawingClick(selectedRows) }\r\n },{\r\n id: 3,\r\n name: 'List Revisions',\r\n onClick: () => { revisionListClick(selectedRows) }\r\n },{\r\n id: 4,\r\n name: 'List Markups',\r\n onClick: () => { markupListClick(selectedRows) }\r\n })\r\n setSettingListItems(settingList)\r\n }\r\n\r\n useEffect(() => {\r\n if (rowsPerPage && rowsPerPage > 0) {\r\n const timer = setTimeout(() => {\r\n let modifiedPageDetails = { ...pageDetails, 'currentLength': rowsPerPage, 'pageCount': rowsPerPage };\r\n setPageDetails(modifiedPageDetails);\r\n setCurrentStart(1);\r\n setPageIndex(0);\r\n }, 800); \r\n \r\n return () => clearTimeout(timer); \r\n }\r\n }, [rowsPerPage]);\r\n\r\n useEffect(() => {\r\n if (drawingPageDetails) {\r\n setPageDetails(drawingPageDetails);\r\n }\r\n }, [drawingPageDetails])\r\n\r\n const onBuildingChange = (data: any) => {\r\n setSelectedRows([]);\r\n setSelectedBuilding(data?.value);\r\n dispatch(getDrawingList(selectedSite?.uniqueSiteId, data?.value?.id, 1, \"\", \"\", \"\", setMessage, setDisplayInfoModal));\r\n }\r\n\r\n const onPageChanged = (options: any) => {\r\n if (options !== pageIndex) {\r\n let currentStart;\r\n setPageIndex(options);\r\n currentStart = options * pageDetails?.currentLength + 1;\r\n setCurrentStart(currentStart)\r\n dispatch(getDrawingList(selectedSite?.uniqueSiteId, selectedBuilding.id, currentStart, \"\", sortField, sortOrder))\r\n }\r\n }\r\n\r\n const onSort = (event) => {\r\n let sortDirection: string;\r\n if (event.sortOrder === 1)\r\n sortDirection = \"ASC\"\r\n else\r\n sortDirection = \"DESC\"\r\n setSortField(event.sortField)\r\n setSortOrder(sortDirection)\r\n dispatch(getDrawingList(selectedSite?.uniqueSiteId, selectedBuilding.id, currentStart, \"\", event?.sortField, sortDirection))\r\n }\r\n\r\n const onAddDrawingClick = (data) => {\r\n dispatch(setProgressFlag(true));\r\n dispatch(onAddDrawing(data, selectedSite?.uniqueSiteId, selectedBuilding?.id, setMessage, setDisplayInfoModal))\r\n }\r\n\r\n useEffect(() => {\r\n if (newDrawing) {\r\n let newData = JSON.parse(JSON.stringify(newDrawing));\r\n let draingInfo = JSON.parse(JSON.stringify(drawingData));\r\n if (newData.length === 0) {\r\n setMessage(\"Drawing already exists\")\r\n setDisplayInfoModal(true);\r\n } else {\r\n draingInfo.unshift(newData[0]);\r\n setDrawingData(draingInfo);\r\n setShowAddAsBuilts(false);\r\n setMessage(\"Drawing added\");\r\n\t\t setDisplayInfoModal(true);\r\n setSelectedRows([newData[0]]);\r\n }\r\n dispatch(setNewDrawing(\"\"))\r\n }\r\n }, [newDrawing])\r\n\r\n \r\n\r\n\r\n \r\n\r\n\r\n const editIconClick = () => {\r\n if (selectedRows && selectedRows.length > 1) {\r\n setMessage(\"This operation can be performed only one row at a time\");\r\n setDisplayInfoModal(true);\r\n } else if (selectedRows.length < 1) {\r\n setMessage(\"Select a Drawing\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n setShowEditAsBuilts(true)\r\n }\r\n }\r\n\r\n const onEditDrawingClick = (data) => {\r\n dispatch(onUpdateDrawing(selectedSite?.uniqueSiteId, selectedBuilding?.id, selectedRows[0].drawingId, data, setMessage, setDisplayInfoModal, setSelectedRows, false))\r\n }\r\n\r\n useEffect(() => {\r\n if (updatedDrawing) {\r\n let updatedData = JSON.parse(JSON.stringify(updatedDrawing));\r\n let drawingInfo = JSON.parse(JSON.stringify(drawingData));\r\n let currentIndex = drawingInfo.findIndex((item: any) => item.drawingId === updatedData[0].drawingId);\r\n const newDrawingList: any = drawingInfo.filter((item: any) => item.drawingId !== updatedData[0].drawingId);\r\n newDrawingList.splice(currentIndex, 0, updatedData[0]);\r\n setDrawingData(newDrawingList);\r\n setSelectedRows([updatedData[0]]);\r\n setShowEditAsBuilts(false);\r\n dispatch(setUpdatedDrawing(\"\"));\r\n }\r\n },[updatedDrawing])\r\n\r\n useEffect(() => {\r\n\r\n if (previousDrawing) {\r\n let previousDrawingData = JSON.parse(JSON.stringify(previousDrawing));\r\n let drawingInfo = JSON.parse(JSON.stringify(drawingData));\r\n let newDrawingList: any;\r\n \r\n if(previousDrawing?.revisions == -1)\r\n {\r\n newDrawingList = drawingInfo.filter((item: any) => item.drawingId !== previousDrawingData?.drawingId);\r\n if(newDrawingList?.length >0){\r\n setSelectedRows([newDrawingList[0]]);}\r\n else\r\n {\r\n setSelectedRows([]);\r\n newDrawingList = [];\r\n }\r\n }\r\n else\r\n {\r\n let index: any = drawingInfo.findIndex((item: any) => item.drawingId === previousDrawingData?.drawingId);\r\n newDrawingList = drawingInfo.filter((item: any) => item.drawingId !== previousDrawingData?.drawingId);\r\n newDrawingList.splice(index, 0, previousDrawingData);\r\n setSelectedRows([newDrawingList[index]]);\r\n }\r\n \r\n setDrawingData(newDrawingList);\r\n dispatch(setDeletedMarkupData(\"\"));\r\n dispatch(setPreviousDrawing(\"\"));\r\n\r\n }\r\n },[previousDrawing])\r\n\r\n const onRowEditValidation = (rowData: any) => {\r\n let value = true;\r\n if (!rowData.description) {\r\n value = false;\r\n }\r\n return value;\r\n }\r\n\r\n const onDrawingRowEdit = (submitData: any) => {\r\n dispatch(onUpdateDrawing(selectedSite?.uniqueSiteId, selectedBuilding?.id, submitData.drawingId, submitData, setMessage, setDisplayInfoModal, setSelectedRows, true))\r\n };\r\n\r\n const deleteIconClick = () => {\r\n if (selectedRows.length > 1) {\r\n setMessage(\"This operation can be performed only one row at a time\");\r\n setDisplayInfoModal(true);\r\n } else if (selectedRows.length < 1) {\r\n setMessage(\"Select a Drawing\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n setDisplayConfirmModal(true);\r\n setMessage(\"Are you sure you want to delete the selected Drawing?\")\r\n }\r\n };\r\n\r\n const viewIconClick = () => {\r\n if (selectedRows.length > 1) {\r\n setMessage(\"This operation can be performed only one row at a time\");\r\n setDisplayInfoModal(true);\r\n } else if (selectedRows.length < 1) {\r\n setMessage(\"Select a Drawing\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n setSelectedDrawing(selectedRows)\r\n setPdfFileName(selectedRows[0]?.dwgFileName);\r\n if(selectedRows[0]?.dwgFileName.includes(\".dwg\")||(selectedRows[0]?.dwgFileName.includes(\".DWG\"))){\r\n if(DrawingObj && isDrawingOpen){\r\n setshowDrawing(false);\r\n DrawingObj.close(function () { \r\n setshowDrawing(true);\r\n });\r\n setRightToggle(false);\r\n setLeftToggle(true);\r\n setShowMarkupList(true);\r\n }\r\n else\r\n { \r\n setshowDrawing(true);\r\n setRightToggle(false);\r\n setLeftToggle(true);\r\n setShowMarkupList(true);\r\n } \r\n }\r\n else\r\n {\r\n setShowPdfViewModal(true);\r\n }\r\n \r\n }\r\n };\r\n \r\n const handleRowSelect = useCallback((data: any) => {\r\n setSelectedRows([...data]);\r\n }, []);\r\n\r\n const onCancel=()=>{\r\n setDisplayConfirmModal(false);\r\n }\r\n\r\n const onConfirmAction = () => {\r\n setDisplayConfirmModal(false);\r\n dispatch(deleteDrawing(selectedSite?.uniqueSiteId, selectedBuilding?.id, selectedRows[0].drawingId,selectedRows[0].revisions, setSelectedRows, setMessage, setDisplayInfoModal))\r\n }\r\n\r\n const reviseDrawingClick = (selectedRows) => {\r\n if (selectedRows.length > 1) {\r\n setMessage(\"This operation can be performed only one row at a time\");\r\n setDisplayInfoModal(true);\r\n } else if (selectedRows.length < 1) {\r\n setMessage(\"Select a Drawing\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n setShowReviseAsbuilts(true)\r\n }\r\n }\r\n\r\n const onReviseDrawing = (data) => {\r\n dispatch(setProgressFlag(true));\r\n dispatch(onDrawingRevise(data, selectedSite?.uniqueSiteId, selectedBuilding?.id, selectedRows[0]?.drawingId, setMessage, setDisplayInfoModal))\r\n }\r\n\r\n const onAddBuildingData = (data: any) => {\r\n dispatch(onAddBuilding(data, setMessage, setDisplayInfoModal))\r\n }\r\n\r\n const onAddBuildingClick = () => {\r\n setShowAddBuildingsModal(true)\r\n }\r\n\r\n useEffect(() => {\r\n if (revisedDrawing) {\r\n dispatch(getDrawingList(selectedSite?.uniqueSiteId, selectedBuilding.id, 1))\r\n let revisedData = JSON.parse(JSON.stringify(revisedDrawing));\r\n let drawingInfo = JSON.parse(JSON.stringify(drawingData));\r\n let currentIndex = drawingInfo.findIndex((item: any) => item.drawingId === revisedData[0].drawingId);\r\n const newDrawingList: any = drawingInfo.filter((item: any) => item.drawingId !== selectedRows[0].drawingId);\r\n newDrawingList.splice(currentIndex, 0, revisedData[0]);\r\n setDrawingData(newDrawingList);\r\n setSelectedRows([revisedData[0]]);\r\n setMessage(\"Drawing revised\");\r\n setDisplayInfoModal(true);\r\n setShowReviseAsbuilts(false);\r\n dispatch(setRevisedDrawing(\"\"));\r\n }\r\n }, [revisedDrawing])\r\n\r\n const replaceDrawingClick = (selectedRows) => {\r\n if (selectedRows.length > 1) {\r\n setMessage(\"This operation can be performed only one row at a time\");\r\n setDisplayInfoModal(true);\r\n } else if (selectedRows.length < 1) {\r\n setMessage(\"Select a Drawing\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n setShowReplaceAsbuilts(true);\r\n }\r\n }\r\n\r\n const onReplaceDrawing = (data) => {\r\n dispatch(setProgressFlag(true));\r\n dispatch(onDrawingReplace(data, selectedSite?.uniqueSiteId, selectedBuilding?.id, selectedRows[0]?.drawingId, setMessage, setDisplayInfoModal))\r\n }\r\n\r\n useEffect(() => {\r\n if (replacedDrawing) {\r\n let replacedData = JSON.parse(JSON.stringify(replacedDrawing));\r\n let drawingInfo = JSON.parse(JSON.stringify(drawingData));\r\n let currentIndex = drawingInfo.findIndex((item: any) => item.drawingId === replacedData[0].drawingId);\r\n const newDrawingList: any = drawingInfo.filter((item: any) => item.drawingId !== replacedData[0].drawingId);\r\n newDrawingList.splice(currentIndex, 0, replacedData[0]);\r\n setDrawingData(newDrawingList);\r\n setSelectedRows([replacedData[0]]);\r\n setMessage(\"Drawing replaced\");\r\n setDisplayInfoModal(true);\r\n setShowReplaceAsbuilts(false);\r\n dispatch(setReplacedDrawing(\"\"));\r\n }\r\n }, [replacedDrawing])\r\n\r\n const revisionListClick = (selectedRows) => {\r\n if (selectedRows.length > 1) {\r\n setMessage(\"This operation can be performed only one row at a time\");\r\n setDisplayInfoModal(true);\r\n } else if (selectedRows.length < 1) {\r\n setMessage(\"Select a Drawing\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n setShowListRevisions(true)\r\n }\r\n }\r\n\r\n const markupListClick = (selectedRows) => {\r\n if (selectedRows.length > 1) {\r\n setMessage(\"This operation can be performed only one row at a time\");\r\n setDisplayInfoModal(true);\r\n } else if (selectedRows.length < 1) {\r\n setMessage(\"Select a Drawing\");\r\n setDisplayInfoModal(true);\r\n } else if(selectedRows[0].dwgFileName.includes(\".dwg\")){\r\n setShowListMarkups(true)\r\n setShowMarkupList(true)\r\n }\r\n else\r\n {\r\n setMessage(\"No Markups Added\");\r\n setDisplayInfoModal(true);\r\n }\r\n }\r\n\r\n const onDownload=()=>{\r\n dispatch(downloadDrawing(loggedInUserData?.userDefaults?.uniqueSiteId, selectedBuilding?.id,selectedRows[0]?.drawingId, selectedRows[0]?.dwgFileName, setMessage, setDisplayInfoModal))\r\n }\r\n\r\n \r\n const onCloseClick = () => {\r\n setshowDrawing(false);\r\n setLeftToggle(false);\r\n setRightToggle(true);\r\n }\r\n const onEXpandDrawing = () => {\r\n setLeftToggle(!leftToggle);\r\n setRightToggle(false);\r\n setDrawingresize(!drawingresize);\r\n setShowMarkupList(true);\r\n dispatch(getDrawingList(selectedSite?.uniqueSiteId, selectedBuilding.id, currentStart, \"\", sortField, sortOrder))\r\n }\r\n\r\n const onEXpandTable = () => {\r\n setRightToggle(!rightToggle);\r\n setLeftToggle(false);\r\n setShowMarkupList(true);\r\n dispatch(getDrawingList(selectedSite?.uniqueSiteId, selectedBuilding.id, currentStart, \"\", sortField, sortOrder))\r\n }\r\n \r\n return (\r\n
\r\n
\r\n
\r\n
\r\n {\r\n onEXpandDrawing()\r\n }}\r\n title=\"Expand Drawing\"\r\n >\r\n {rightToggle===false?():}\r\n
\r\n
\r\n
\r\n
Site
{selectedDrawing[0]?.siteName}\r\n
\r\n
\r\n
Building
\r\n {selectedDrawing[0]?.buildingName}\r\n
\r\n
\r\n
Floor
\r\n {selectedDrawing[0]?.floorName}\r\n
\r\n
\r\n
Category
\r\n {selectedDrawing[0]?.category}\r\n
\r\n
\r\n
Revision Number
\r\n {selectedDrawing[0]?.revisions}\r\n
\r\n
\r\n
File Name
\r\n {selectedDrawing[0]?.dwgFileName}\r\n
\r\n
\r\n
Description
\r\n {selectedDrawing[0]?.description}\r\n
\r\n
\r\n \r\n {showDrawing ? : null}\r\n \r\n
\r\n
\r\n
\r\n {\r\n onEXpandTable() \r\n }}\r\n title=\"Expand Table\"\r\n >\r\n {leftToggle===false?():}\r\n
\r\n
\r\n
\r\n Drawings\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Building *\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
    \r\n
  • DWG File
  • \r\n
  • Export All
  • \r\n
  • Export Highlighted
  • \r\n
\r\n
\r\n {showAddAsBuilts? ( ) : null}\r\n {showEditAsBuilts? ( ) : null}\r\n {showListRevisions? ( ) : null} \r\n {showListMarkups? ( ) : null} \r\n \r\n \r\n \r\n \r\n \r\n {showPdfViewModal &&\r\n\t\t\t\t\r\n\t\t\t}\r\n {showReviseAsbuilts? ( ) : null}\r\n {showReplaceAsbuilts? ( ) : null}\r\n {showAddBuildingsModal && (\r\n \r\n )}\r\n \r\n );\r\n};\r\n\r\nexport default AsBuilts;\r\n\r\nconst disableEditor = (options) => {\r\n return options.editorCallback(e.target.value)} />;\r\n}\r\n\r\nconst textEditor = (options) => {\r\n const errorMsg = getErrorMsg(options);\r\n return <>\r\n options.editorCallback(e.target.value)} />\r\n {errorMsg && {errorMsg}}\r\n \r\n}\r\n\r\nconst getErrorMsg = options => {\r\n const { field, value } = options;\r\n const FIELD_REQUIRED = 'This field is required';\r\n switch (field) {\r\n case 'description': {\r\n if (!value?.trim())\r\n return FIELD_REQUIRED;\r\n break;\r\n }\r\n default: {\r\n return ''\r\n }\r\n }\r\n};\r\n\r\n const DRAWING_LIST_COL = [\r\n\t{\r\n\t\tfield: \"siteName\",\r\n\t\theader: \"Site\",\r\n style: { flex: '1 0 150px' },\r\n\t\tsortable: true,\r\n editor: (options) => disableEditor(options),\r\n\t},\r\n\t{\r\n\t\tfield: \"buildingName\",\r\n\t\theader: \"Building\",\r\n style: { flex: '1 0 150px' },\r\n\t\tsortable: true,\r\n editor: (options) => disableEditor(options),\r\n\t},\r\n\t{\r\n\t\tfield: \"floorName\",\r\n\t\theader: \"Floor\",\r\n style: { flex: '1 0 150px' },\r\n\t\tsortable: true,\r\n editor: (options) => disableEditor(options),\r\n\t},\r\n\t{\r\n\t\tfield: \"category\",\r\n\t\theader: \"Category\",\r\n style: { flex: '1 0 150px' },\r\n\t\tsortable: true,\r\n editor: (options) => disableEditor(options),\r\n\t},\r\n {\r\n\t\tfield: \"type\",\r\n\t\theader: \"Type\",\r\n style: { flex: '1 0 150px' },\r\n\t\tsortable: true,\r\n editor: (options) => disableEditor(options),\r\n\t},\r\n {\r\n\t\tfield: \"description\",\r\n\t\theader: \"Description\",\r\n style: { flex: '1 0 200px' },\r\n\t\tsortable: true,\r\n editor: (options) => textEditor(options),\r\n\t},\r\n {\r\n\t\tfield: \"dwgFileName\",\r\n\t\theader: \"File Name\",\r\n style: { flex: '1 0 150px' },\r\n\t\tsortable: true,\r\n editor: (options) => disableEditor(options),\r\n\t},\r\n {\r\n\t\tfield: \"dwgFileSize\",\r\n\t\theader: \"File Size (KB)\",\r\n style: { flex: '1 0 120px' },\r\n\t\tsortable: true,\r\n editor: (options) => disableEditor(options),\r\n align: 'right',\r\n\t},\r\n {\r\n\t\tfield: \"uploadedBy\",\r\n\t\theader: \"Uploaded By\",\r\n style: { flex: '1 0 150px' },\r\n\t\tsortable: true,\r\n editor: (options) => disableEditor(options),\r\n\t},\r\n {\r\n\t\tfield: \"uploadedOn\",\r\n\t\theader: \"Uploaded On\",\r\n style: { flex: '1 0 150px' },\r\n\t\tsortable: true,\r\n editor: (options) => disableEditor(options),\r\n\t},\r\n {\r\n\t\tfield: \"revisions\",\r\n\t\theader: \"Revisions\",\r\n style: { flex: '1 0 80px' },\r\n\t\tsortable: true,\r\n editor: (options) => disableEditor(options),\r\n align: 'right',\r\n\t},\r\n {\r\n\t\tfield: \"markups\",\r\n\t\theader: \"Markups\",\r\n style: { flex: '1 0 80px' },\r\n\t\tsortable: true,\r\n editor: (options) => disableEditor(options),\r\n align: 'right',\r\n\t},\r\n\r\n];\r\n\r\n\r\n\r\n\r\n","import React, { useEffect, useState } from 'react'\r\nimport { APP_ROUTES } from \"constants/AppRoutes\";\r\nimport { useNavigate } from \"react-router-dom\";\r\nimport { Controller, useForm } from 'react-hook-form';\r\nimport { Dropdown } from 'primereact/dropdown';\r\nimport { classNames } from 'primereact/utils';\r\nimport { ListGroup } from 'react-bootstrap';\r\nimport { Button } from 'primereact/button';\r\n//icons\r\nimport { BsArrowRight } from \"react-icons/bs\";\r\nimport { RiFileExcel2Line } from 'react-icons/ri';\r\n//components\r\nimport CustomizeReport from 'pages/Reports/CustomizeReport/CustomizeReport';\r\nimport InformationBox from 'components/common/Message/InformationBox/InformationBox';\r\nimport Breadcrumb from \"components/common/Breadcrumb/Breadcrumb\";\r\nimport ReportViewer from 'components/common/Report/ReportViewer'\r\n//redux\r\nimport { onExportReport, setIsAppliedDone } from 'redux/common/report/customizeReportSlice';\r\nimport { getStatusList } from 'redux/pages/Administration/administrationSlice';\r\nimport { getAllBranchOfficeList } from 'redux/pages/Manage/OrganizationSettings/branchOfficeSlice';\r\nimport { useAppSelector } from \"../../redux/hooks\";\r\nimport { createReportPreviewSession, setReportPreviewSession } from \"../../redux/pages/Administration/Site/siteSlice\";\r\nimport { useDispatch } from \"react-redux\";\r\n\r\ntype FormData = {\r\n\tbranchId: string;\r\n\tstatusId: number;\r\n};\r\n\r\nconst ContractsReport = () => {\r\n\r\n\tconst {\r\n\t\tcontrol,\r\n\t} = useForm({\r\n\t\tdefaultValues: {\r\n\t\t\tbranchId: \"\",\r\n\t\t\tstatusId: 0,\r\n\t\t},\r\n\t});\r\n\r\n\tconst [reportName, setReportName] = useState(null);\r\n\tconst [selectedStatus, setSelectedStatus] = useState(0);\r\n\tconst [selectedBranch, setSelectedBranch] = useState('all');\r\n\tconst [statusList, setStatusList] = useState([]);\r\n\tconst [showCustomizeReport, setShowCustomizeReport] = useState(false);\r\n\tconst [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const [message, setMessage] = useState(\"\");\r\n\tconst [customizationType, setCustomizationType] = useState('user');\r\n\r\n\tconst reportPreviewSession = useAppSelector((state) => state.site.reportPreviewSession);\r\n\tconst { status } = useAppSelector((state) => state.administration.statusList);\r\n\tconst branchOfficeList = useAppSelector((state) => state.branchOffice.allBranchOfficeList);\r\n\tconst isAppliedDone = useAppSelector((state) => state.customizeReport.isAppliedDone);\r\n\tconst navigate = useNavigate();\r\n\tconst dispatch = useDispatch();\r\n\r\n\tuseEffect(() => {\r\n\t\tdispatch(getStatusList());\r\n\t\tdispatch(getAllBranchOfficeList());\r\n\t}, []);\r\n\r\n\tuseEffect(() => {\r\n\t\tif (status && status.length) {\r\n\t\t\tlet tempList = [{ statusId: 0, statusCode: \"All_Users\", statusName: \"All\" },\r\n\t\t\t...status.filter(status => [1, 3].includes(status.statusId))]\r\n\t\t\tsetStatusList(tempList);\r\n\t\t}\r\n\t}, [status]);\r\n\r\n\tconst viewContractReport = () => {\r\n\t\tconst reportParameters = {\r\n\t\t\treportParameters: {\r\n\t\t\t\tuniqueBranchOfficeId: selectedBranch === 'all' ? \"\" : selectedBranch,\r\n\t\t\t\tstatusId: selectedStatus,\r\n\t\t\t\tcustomizationType: customizationType\r\n\t\t\t},\r\n\t\t\treportType: \"Contract List Report\"\r\n\t\t};\r\n\t\tdispatch(createReportPreviewSession(reportParameters));\r\n\t};\r\n\r\n\tuseEffect(() => {\r\n\t\tviewContractReport();\r\n\t\t\r\n\t\treturn (() => {\r\n\t\t\tdispatch(setReportPreviewSession(\"\"));\r\n\t\t})\r\n\t}, [selectedStatus, selectedBranch]);\r\n\r\n\tuseEffect(() => {\r\n\t\tif(isAppliedDone) viewContractReport();\r\n\t}, [isAppliedDone])\r\n\r\n\tuseEffect(() => {\r\n\t\tif (isAppliedDone) {\r\n\t\t\tdispatch(setIsAppliedDone(false));\r\n\t\t\tsetShowCustomizeReport(false);\r\n\t\t\tsetMessage(\"Report settings saved\");\r\n\t\t\tsetDisplayInfoModal(true);\r\n\t\t}\r\n\t}, [isAppliedDone])\r\n\r\n\tuseEffect(() => {\r\n\t\tif (reportPreviewSession) {\r\n\t\t\tsetReportName(reportPreviewSession.previewSessionId);\r\n\t\t}\r\n\t}, [reportPreviewSession])\r\n\r\n\tconst exportAsExcel = () => {\r\n\t\tconst reportParameters = {\r\n\t\t\texportParameters: {\r\n\t\t\t\tuniqueBranchOfficeId: selectedBranch === 'all' ? \"\" : selectedBranch,\r\n\t\t\t\tstatusId: selectedStatus,\r\n\t\t\t\tcustomizationType: customizationType\r\n\t\t\t},\r\n\t\t\texportType: \"Contract List Report\"\r\n\t\t};\r\n\t\tdispatch(onExportReport(reportParameters, \"Contracts\"));\r\n\t};\r\n\r\n\treturn (\r\n\r\n\t\t
\r\n\t\t\t
\r\n\t\t\t\t navigate(`/${APP_ROUTES.REPORT_VIEW}`)}\r\n\t\t\t\t/>\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\tContracts\r\n\t\t\t\t
\r\n\t\t\t
\r\n\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t (\r\n\t\t\t\t\t\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tsetSelectedStatus(e.value);\r\n\t\t\t\t\t\t\t\t\t\t\t\t}}\r\n\t\t\t\t\t\t\t\t\t\t\t\toptions={statusList}\r\n\t\t\t\t\t\t\t\t\t\t\t\toptionLabel=\"statusName\"\r\n\t\t\t\t\t\t\t\t\t\t\t\toptionValue=\"statusId\"\r\n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t\t\r\n\t\t\t\t\t\t\t\t */}\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t\t\r\n\t\t\t{showCustomizeReport &&\r\n\t\t\t\t setShowCustomizeReport(false)}\r\n\t\t\t\t\tcustomizationType={customizationType}\r\n\t\t\t\t\tsetCustomizationType={setCustomizationType} />\r\n\t\t\t}\r\n\r\n\t\t\t\r\n\t\t
\r\n\t)\r\n}\r\n\r\nexport default ContractsReport;","import React, { useEffect, useState } from 'react'\r\nimport { useDispatch } from \"react-redux\";\r\nimport { APP_ROUTES } from \"constants/AppRoutes\";\r\nimport { useNavigate } from \"react-router-dom\";\r\nimport Breadcrumb from \"components/common/Breadcrumb/Breadcrumb\";\r\nimport ReportViewer from 'components/common/Report/ReportViewer'\r\nimport { useAppSelector } from \"redux/hooks\";\r\nimport moment from 'moment';\r\nimport { Calendar } from 'primereact/calendar';\r\nimport { Button } from 'primereact/button';\r\nimport { ListGroup } from 'react-bootstrap';\r\nimport InformationBox from 'components/common/Message/InformationBox/InformationBox';\r\nimport CustomizeReport from './CustomizeReport/CustomizeReport';\r\nimport { createReportPreviewSession, setReportPreviewSession } from \"redux/pages/Administration/Site/siteSlice\";\r\nimport { onExportReport, setIsAppliedDone } from 'redux/common/report/customizeReportSlice';\r\n//icons\r\nimport { BsArrowRight } from \"react-icons/bs\";\r\nimport { RiFileExcel2Line } from 'react-icons/ri';\r\n\r\nconst InspectionTaskReport = () => {\r\n\tconst [reportName, setReportName] = useState(null);\r\n\tconst [startDate, setStartDate] = useState(new Date().setDate((new Date()).getDate() - 30));\r\n\tconst [endDate, setEndDate] = useState(new Date((new Date()).getFullYear(), (new Date()).getMonth() + 1, 0));\r\n\tconst [message, setMessage] = useState(\"\");\r\n\tconst [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n\tconst [showCustomizeReport, setShowCustomizeReport] = useState(false);\r\n\tconst [customizationType, setCustomizationType] = useState('user');\r\n\r\n\tconst reportPreviewSession = useAppSelector((state) => state.site.reportPreviewSession);\r\n\tconst isAppliedDone = useAppSelector((state) => state.customizeReport.isAppliedDone);\r\n\r\n\tconst navigate = useNavigate();\r\n\tconst dispatch = useDispatch();\r\n\r\n\tconst viewInspectionTaskReport = () => {\r\n\t\tconst reportParameters = {\r\n\t\t\treportParameters: {\r\n\t\t\t\t\"startDate\": moment(startDate).format(\"yyyy-MM-DD\").toString(), \r\n\t\t\t\t\"endDate\": moment(endDate).format(\"yyyy-MM-DD\").toString(),\r\n\t\t\t\tcustomizationType: customizationType\r\n\t\t\t},\r\n\t\t\treportType: \"Inspection Task Details Report\"\r\n\t\t};\r\n\t\tdispatch(createReportPreviewSession(reportParameters));\r\n\t};\r\n\r\n\tuseEffect(() => {\r\n\t\tviewInspectionTaskReport();\r\n\t\t\r\n\t\treturn (() => {\r\n\t\t\tdispatch(setReportPreviewSession(\"\"));\r\n\t\t})\r\n\t}, []);\r\n\r\n\tuseEffect(() => {\r\n\t\tif (isAppliedDone) viewInspectionTaskReport();\r\n\t}, [isAppliedDone]);\r\n\r\n\tuseEffect(() => {\r\n\t\tif (reportPreviewSession) {\r\n\t\t\tsetReportName(reportPreviewSession.previewSessionId);\r\n\t\t}\r\n\t}, [reportPreviewSession])\r\n\r\n\tuseEffect(() => {\r\n\t\tif (isAppliedDone) {\r\n\t\t\tdispatch(setIsAppliedDone(false));\r\n\t\t\tsetShowCustomizeReport(false);\r\n\t\t\tsetMessage(\"Report settings saved\");\r\n\t\t\tsetDisplayInfoModal(true);\r\n\t\t}\r\n\t}, [isAppliedDone]);\r\n\r\n\tconst onApplyDateFilter = () => {\r\n\t\tif (startDate && endDate) {\r\n\t\t\tif (new Date(startDate) < new Date(endDate)) {\r\n\t\t\t\tif ((moment(startDate).diff(moment(endDate), 'years')) === 0) {\r\n\t\t\t\t\tviewInspectionTaskReport();\r\n\t\t\t\t} else {\r\n\t\t\t\t\tsetDisplayInfoModal(true);\r\n\t\t\t\t\tsetMessage('Selected Date range should not exceed one year');\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tsetDisplayInfoModal(true);\r\n\t\t\t\tsetMessage('End Date should be greater than Start Date');\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n\r\n\tconst exportAsExcel = () => {\r\n\t\tconst reportParameters = {\r\n\t\t\texportParameters: {\r\n\t\t\t\t\"startDate\": moment(startDate).format(\"yyyy-MM-DD\").toString(),\r\n\t\t\t\t\"endDate\": moment(endDate).format(\"yyyy-MM-DD\").toString(),\r\n\t\t\t\tcustomizationType: customizationType\r\n\t\t\t},\r\n\t\t\texportType: \"Inspection Task Details Report\"\r\n\t\t};\r\n\t\tdispatch(onExportReport(reportParameters, \"Inspection Tasks\"));\r\n\t};\r\n\r\n return (\r\n\t
\r\n\t\t
\r\n\t\t\t navigate(`/${APP_ROUTES.REPORT_VIEW}`)}\r\n\t\t\t />\r\n\t\t\t
\r\n\t\t\t\t \r\n\t\t\t
\r\n\t\t\t
\r\n\t\t\t\t Inspection Tasks\r\n\t\t\t
\r\n\t\t
\r\n\r\n\t\t
\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t \r\n\t\t\t\t\t\t setStartDate(e.value)} />\r\n\t\t\t\t\t\t \r\n\t\t\t\t\t \r\n\t\t\t\t\t \r\n\t\t\t\t\t\t setEndDate(e.value)} />\r\n\t\t\t\t\t\t \r\n\t\t\t\t\t \r\n\t\t\t\t\t
\r\n\t\t\t\t \r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t \r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tExport to\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t{/* \r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t */}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t
\r\n\t\t \r\n\t\t \r\n\t\t {showCustomizeReport &&\r\n\t\t\t setShowCustomizeReport(false)}\r\n\t\t\t\t customizationType={customizationType}\r\n\t\t\t\t setCustomizationType={setCustomizationType} />\r\n\t\t }\r\n\t
\r\n )\r\n}\r\n\r\nexport default InspectionTaskReport;","export const USER_ACTIVITY_REPORT_COLS = [\r\n {\r\n field: 'name',\r\n header: 'Name'\r\n },\r\n {\r\n field: 'email',\r\n header: 'Email'\r\n },\r\n {\r\n field: 'activity',\r\n header: 'Activity'\r\n },\r\n {\r\n field: 'accountStatus',\r\n header: 'Account Status'\r\n },\r\n {\r\n field: 'salesOfficeCount',\r\n header: 'Sales Office Count'\r\n },\r\n {\r\n field: 'firstLogin',\r\n header: 'First Login'\r\n },\r\n {\r\n field: 'lastLogin',\r\n header: 'Last Login'\r\n },\r\n {\r\n field: 'accountCreatedOn',\r\n header: 'Account Created On'\r\n },\r\n {\r\n field: 'createdMonth',\r\n header: 'Created Month'\r\n },\r\n {\r\n field: 'NumberOfDaysSinceLastLogin',\r\n header: 'No. of Days Since Last Login'\r\n },\r\n {\r\n field: 'deletedOn',\r\n header: 'Deleted on'\r\n },\r\n {\r\n field: 'todaysDate',\r\n header: 'Todays Date'\r\n },\r\n {\r\n field: 'daysSinceAccountCreated',\r\n header: 'Days Since Account Created'\r\n },\r\n {\r\n field: 'userRole',\r\n header: 'User Role'\r\n },\r\n];","import React, { useState } from \"react\";\r\n\r\nimport { Calendar } from \"primereact/calendar\";\r\nimport { Dialog } from \"primereact/dialog\";\r\nimport { Button } from \"primereact/button\";\r\n\r\nimport InformationBox from \"components/common/Message/InformationBox/InformationBox\";\r\n\r\ninterface DurationDate {\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n periodStartDate: any;\r\n periodEndDate: any;\r\n setPeriodStartDate: (data: any) => void;\r\n setPeriodEndDate: (data: any) => void;\r\n setSelectedStatus: (data: any) => void;\r\n onDateUpdated: () => void;\r\n}\r\n\r\nexport const DateSelectModal: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => { },\r\n periodStartDate = '',\r\n periodEndDate = '',\r\n setPeriodStartDate,\r\n setPeriodEndDate,\r\n setSelectedStatus = () => { },\r\n onDateUpdated = () => { },\r\n}) => {\r\n\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const [message, setMessage] = useState(\"\");\r\n\r\n const onDateSubmit = () => {\r\n if (new Date(periodStartDate) > new Date(periodEndDate)) {\r\n setDisplayInfoModal(true)\r\n setMessage(\"End Date should be greater than Start Date\")\r\n } else {\r\n onDateUpdated();\r\n }\r\n };\r\n\r\n const onCancel = () => {\r\n setSelectedStatus(0)\r\n };\r\n\r\n const renderFooter = () => {\r\n return (\r\n <>\r\n {\r\n onCancel();\r\n setShowModal(false);\r\n }}\r\n className=\"cancel btn\"\r\n />\r\n \r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t{/* \r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t */}\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t{showCustomizeReport &&\r\n\t\t\t\t setShowCustomizeReport(false)}\r\n\t\t\t\t\tcustomizationType={customizationType}\r\n\t\t\t\t\tsetCustomizationType={setCustomizationType} />\r\n\t\t\t}\r\n\r\n\t\t\t{showDateModal &&\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\r\n\t)\r\n}\r\n\r\nexport default UserActivityReport;","import React, { useEffect, useState } from 'react'\r\nimport { useDispatch } from \"react-redux\";\r\nimport { APP_ROUTES } from \"constants/AppRoutes\";\r\nimport { useNavigate } from \"react-router-dom\";\r\nimport Breadcrumb from \"components/common/Breadcrumb/Breadcrumb\";\r\nimport ReportViewer from 'components/common/Report/ReportViewer'\r\nimport { useAppSelector } from \"../../redux/hooks\";\r\nimport { createReportPreviewSession, setReportPreviewSession } from \"../../redux/pages/Administration/Site/siteSlice\";\r\nimport { Dropdown } from 'primereact/dropdown';\r\nimport ListGroup from 'react-bootstrap/esm/ListGroup';\r\nimport { Button } from 'primereact/button';\r\n//icons\r\nimport { BsArrowRight } from \"react-icons/bs\";\r\nimport { RiFileExcel2Line } from 'react-icons/ri';\r\nimport { onExportReport } from 'redux/common/report/customizeReportSlice';\r\n\r\n\r\nconst UserDetailsReport = () => {\r\n\r\n\tconst [reportName, setReportName] = useState(null);\r\n\tconst [userRoleId, setUserRoleId] = useState(3);\r\n\tconst reportPreviewSession = useAppSelector((state) => state.site.reportPreviewSession);\r\n\tconst navigate = useNavigate();\r\n\tconst dispatch = useDispatch();\r\n\tconst userRoles = [\r\n\t\t{roleId: 3, user: 'Admin'},\r\n\t\t{roleId: 4, user: 'Admin-Tech'},\r\n\t\t{roleId: 5, user: 'Tech'}\r\n\t];\r\n\r\n\tuseEffect(() => {\r\n\t\tconst reportParameters = {\r\n\t\t\treportParameters: {\r\n\t\t\t\tuserRoleId: userRoleId,\r\n\t\t\t\tuserSearch: \"\",\r\n\t\t\t\tsortColumn: \"\"\r\n\t\t\t},\r\n\t\t\treportType: \"User detail report\"\r\n\t\t};\r\n\t\tdispatch(createReportPreviewSession(reportParameters));\r\n\t\treturn (() => {\r\n\t\t\tdispatch(setReportPreviewSession(\"\"));\r\n\t\t})\r\n\t},[userRoleId])\r\n\r\n\tuseEffect(() => {\r\n\t\tif (reportPreviewSession) {\r\n\t\t\tsetReportName(reportPreviewSession.previewSessionId);\r\n\t\t}\r\n\t}, [reportPreviewSession])\r\n\r\n\tconst exportAsExcel = () => {\r\n\t\tconst reportParameters = {\r\n\t\t\texportParameters: {\r\n\t\t\t\tuserRoleId: userRoleId,\r\n\t\t\t\tuserSearch: \"\",\r\n\t\t\t\tsortColumn: \"\"\r\n\t\t\t},\r\n\t\t\texportType: \"User detail report\"\r\n\t\t};\r\n\t\tdispatch(onExportReport(reportParameters, userRoleId === 3 ? \"Admin Details\" : userRoleId === 4 ? \"Admin-Tech Details\" : \"Tech Details\"));\r\n\t};\r\n\r\n return (\r\n
\r\n\t
\r\n navigate(`/${APP_ROUTES.REPORT_VIEW}`)}\r\n />\r\n
\r\n \r\n
\r\n
\r\n {(userRoles.find(e => e.roleId === userRoleId))?.user} Details\r\n
\r\n
\r\n\t\r\n\t
\r\n\t\t
\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t\t\tsetUserRoleId(e.value);\r\n\t\t\t\t\t\t\t\t}}\r\n\t\t\t\t\t\t\t\toptions={userRoles}\r\n\t\t\t\t\t\t\t\toptionLabel=\"user\"\r\n\t\t\t\t\t\t\t\toptionValue=\"roleId\"\r\n\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t\t\tExport to\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t{/* \r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t */}\r\n\t\t\t\t\t\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t
\r\n\t
\r\n\r\n\t\r\n
\r\n )\r\n}\r\n\r\nexport default UserDetailsReport;","import React, { useEffect, useState } from 'react'\r\nimport { useDispatch } from \"react-redux\";\r\nimport { APP_ROUTES } from \"constants/AppRoutes\";\r\nimport { useNavigate } from \"react-router-dom\";\r\nimport Breadcrumb from \"components/common/Breadcrumb/Breadcrumb\";\r\nimport ReportViewer from 'components/common/Report/ReportViewer'\r\nimport { useAppSelector } from \"../../redux/hooks\";\r\nimport { createReportPreviewSession, setReportPreviewSession } from \"../../redux/pages/Administration/Site/siteSlice\";\r\nimport moment from 'moment';\r\nimport { Calendar } from 'primereact/calendar';\r\nimport { Button } from 'primereact/button';\r\nimport InformationBox from 'components/common/Message/InformationBox/InformationBox';\r\nimport { onExportReport, setIsAppliedDone } from 'redux/common/report/customizeReportSlice';\r\nimport { ListGroup } from 'react-bootstrap';\r\nimport CustomizeReport from './CustomizeReport/CustomizeReport';\r\n//icons\r\nimport { BsArrowRight } from \"react-icons/bs\";\r\nimport { RiFileExcel2Line } from 'react-icons/ri';\r\n\r\nconst UploadedFinalReports = () => {\r\n\r\n\tconst [reportName, setReportName] = useState(null);\r\n\tconst [startDate, setStartDate] = useState(new Date().setDate((new Date()).getDate() - 30));\r\n\tconst [endDate, setEndDate] = useState(new Date());\r\n\tconst [message, setMessage] = useState(\"\");\r\n\tconst [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n\tconst [showCustomizeReport, setShowCustomizeReport] = useState(false);\r\n\tconst [customizationType, setCustomizationType] = useState('user');\r\n\r\n\tconst reportPreviewSession = useAppSelector((state) => state.site.reportPreviewSession);\r\n\tconst isAppliedDone = useAppSelector((state) => state.customizeReport.isAppliedDone);\r\n\r\n\tconst dispatch = useDispatch();\r\n\tconst navigate = useNavigate();\r\n\r\n\tconst viewUploadedFinalReports = () => {\r\n\t\tconst reportParameters = {\r\n\t\t\treportParameters: {\r\n\t\t\t\t\"startDate\": moment(startDate).format(\"yyyy-MM-DD\").toString(),\r\n\t\t\t\t\"endDate\": moment(endDate).format(\"yyyy-MM-DD\").toString(),\r\n\t\t\t\tcustomizationType: customizationType\r\n\t\t\t},\r\n\t\t\treportType: \"UPLOADED_FINAL_REPORTS\"\r\n\t\t};\r\n\t\tdispatch(createReportPreviewSession(reportParameters));\r\n\t};\r\n\r\n\tuseEffect(() => {\r\n\t\tviewUploadedFinalReports();\r\n\t\t\r\n\t\treturn (() => {\r\n\t\t\tdispatch(setReportPreviewSession(\"\"));\r\n\t\t})\r\n\t}, []);\r\n\r\n\tuseEffect(() => {\r\n\t\tif(isAppliedDone) viewUploadedFinalReports();\r\n\t}, [isAppliedDone])\r\n\r\n\tuseEffect(() => {\r\n\t\tif (reportPreviewSession) {\r\n\t\t\tsetReportName(reportPreviewSession.previewSessionId);\r\n\t\t}\r\n\t}, [reportPreviewSession])\r\n\r\n\tuseEffect(() => {\r\n\t\tif (isAppliedDone) {\r\n\t\t\tdispatch(setIsAppliedDone(false));\r\n\t\t\tsetShowCustomizeReport(false);\r\n\t\t\tsetMessage(\"Report settings saved\");\r\n\t\t\tsetDisplayInfoModal(true);\r\n\t\t}\r\n\t}, [isAppliedDone]);\r\n\r\n\tconst onApplyDateFilter = () => {\r\n\t\tif (startDate && endDate) {\r\n\t\t\tif (new Date(startDate) < new Date(endDate)) {\r\n\t\t\t\tif ((moment(startDate).diff(moment(endDate), 'years')) === 0) {\r\n\t\t\t\t\tviewUploadedFinalReports();\r\n\t\t\t\t} else {\r\n\t\t\t\t\tsetDisplayInfoModal(true);\r\n\t\t\t\t\tsetMessage('Selected Date range should not exceed one year');\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tsetDisplayInfoModal(true);\r\n\t\t\t\tsetMessage('End Date should be greater than Start Date');\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n\r\n\tconst exportAsExcel = () => {\r\n\t\tconst reportParameters = {\r\n\t\t\texportParameters: {\r\n\t\t\t\t\"startDate\": moment(startDate).format(\"yyyy-MM-DD\").toString(),\r\n\t\t\t\t\"endDate\": moment(endDate).format(\"yyyy-MM-DD\").toString(),\r\n\t\t\t\tcustomizationType: customizationType\r\n\t\t\t},\r\n\t\t\texportType: \"UPLOADED_FINAL_REPORTS\"\r\n\t\t};\r\n\t\tdispatch(onExportReport(reportParameters, \"Uploaded Final Reports\"));\r\n\t};\r\n\r\n\treturn (\r\n\t\t
\r\n\t\t\t
\r\n\t\t\t\t navigate(`/${APP_ROUTES.REPORT_VIEW}`)}\r\n\t\t\t\t/>\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\tUploaded Final Reports\r\n\t\t\t\t
\r\n\t\t\t
\r\n\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t setStartDate(e.value)} />\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t setEndDate(e.value)} />\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tExport to\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t{/* \r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t */}\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t
\r\n\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t{showCustomizeReport &&\r\n\t\t\t\t setShowCustomizeReport(false)} \r\n\t\t\t\t\tcustomizationType={customizationType}\r\n\t\t\t\t\tsetCustomizationType={setCustomizationType}/>\r\n\t\t\t}\r\n\t\t
\r\n\t)\r\n}\r\n\r\nexport default UploadedFinalReports;","import React, { useEffect, useState } from 'react'\r\nimport { useDispatch } from \"react-redux\";\r\nimport { APP_ROUTES } from \"constants/AppRoutes\";\r\nimport { useNavigate } from \"react-router-dom\";\r\nimport { BsArrowRight } from \"react-icons/bs\";\r\nimport Breadcrumb from \"components/common/Breadcrumb/Breadcrumb\";\r\nimport ReportViewer from 'components/common/Report/ReportViewer'\r\nimport { useAppSelector } from \"../../redux/hooks\";\r\nimport { createReportPreviewSession, setReportPreviewSession } from \"../../redux/pages/Administration/Site/siteSlice\";\r\nimport moment from 'moment';\r\nimport { Calendar } from 'primereact/calendar';\r\nimport { Button } from 'primereact/button';\r\nimport InformationBox from 'components/common/Message/InformationBox/InformationBox';\r\nimport { ListGroup } from 'react-bootstrap';\r\nimport { RiFileExcel2Line } from 'react-icons/ri';\r\nimport { onExportReport } from 'redux/common/report/customizeReportSlice';\r\n\r\nconst SapImportStatusReport = () => {\r\n\r\n\tconst [reportName, setReportName] = useState(null);\r\n\tconst [startDate, setStartDate] = useState(new Date().setDate((new Date()).getDate() - 30));\r\n\tconst [endDate, setEndDate] = useState(new Date());\r\n\tconst [message, setMessage] = useState(\"\");\r\n\tconst [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n\tconst reportPreviewSession = useAppSelector((state) => state.site.reportPreviewSession);\r\n\r\n\tconst dispatch = useDispatch();\r\n\tconst navigate = useNavigate();\r\n\r\n\tconst viewSapImportStatusReport = () => {\r\n\t\tconst reportParameters = {\r\n\t\t\treportParameters: {\r\n\t\t\t\t\"startDate\": moment(startDate).format(\"yyyy-MM-DD\").toString(),\r\n\t\t\t\t\"endDate\": moment(endDate).format(\"yyyy-MM-DD\").toString()\r\n\t\t\t},\r\n\t\t\treportType: \"SAP_IMPORT_STATUS\"\r\n\t\t};\r\n\t\tdispatch(createReportPreviewSession(reportParameters));\r\n\t};\r\n\r\n\tuseEffect(() => {\r\n\t\tviewSapImportStatusReport();\r\n\t\treturn(()=>{\r\n\t\t\tdispatch(setReportPreviewSession(\"\"));\r\n\t\t})\r\n\t},[])\r\n\r\n\tuseEffect(() => {\r\n\t\tif (reportPreviewSession) {\r\n\t\t\tsetReportName(reportPreviewSession.previewSessionId);\r\n\t\t}\r\n\t}, [reportPreviewSession])\r\n\r\n\tconst onApplyDateFilter = () => {\r\n\t\tif (startDate && endDate) {\r\n\t\t\tif (new Date(startDate) < new Date(endDate)) {\r\n\t\t\t\tif ((moment(startDate).diff(moment(endDate), 'years')) === 0) {\r\n\t\t\t\t\tviewSapImportStatusReport();\r\n\t\t\t\t} else {\r\n\t\t\t\t\tsetDisplayInfoModal(true);\r\n\t\t\t\t\tsetMessage('Selected Date range should not exceed one year');\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tsetDisplayInfoModal(true);\r\n\t\t\t\tsetMessage('Uploaded from Date must be less than Uploaded to Date');\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n\r\n\tconst exportAsExcel = () => {\r\n\t\tconst reportParameters = {\r\n\t\t\texportParameters: {\r\n\t\t\t\t\"startDate\": moment(startDate).format(\"yyyy-MM-DD\").toString(),\r\n\t\t\t\t\"endDate\": moment(endDate).format(\"yyyy-MM-DD\").toString()\r\n\t\t\t},\r\n\t\t\texportType: \"SAP_IMPORT_STATUS\"\r\n\t\t};\r\n\t\tdispatch(onExportReport(reportParameters, \"SAP Import Status\"));\r\n\t};\r\n\r\n\treturn (\r\n\t\t
\r\n\t\t\t
\r\n\t\t\t\t navigate(`/${APP_ROUTES.REPORT_VIEW}`)}\r\n\t\t\t\t/>\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\tSAP Import Status\r\n\t\t\t\t
\r\n\t\t\t
\r\n\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t setStartDate(e.value)} />\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t setEndDate(e.value)} />\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tExport to\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t{/* \r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t */}\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t\t\r\n\t\t\t\r\n\t\t
\r\n\t)\r\n}\r\n\r\nexport default SapImportStatusReport;","import React, { useEffect, useState } from 'react'\r\nimport { useDispatch } from \"react-redux\";\r\nimport { APP_ROUTES } from \"constants/AppRoutes\";\r\nimport { useNavigate } from \"react-router-dom\";\r\nimport Breadcrumb from \"components/common/Breadcrumb/Breadcrumb\";\r\nimport ReportViewer from 'components/common/Report/ReportViewer'\r\nimport { useAppSelector } from \"../../redux/hooks\";\r\nimport moment from 'moment';\r\nimport { Calendar } from 'primereact/calendar';\r\nimport { Button } from 'primereact/button';\r\nimport InformationBox from 'components/common/Message/InformationBox/InformationBox';\r\nimport { createReportPreviewSession, setReportPreviewSession } from \"../../redux/pages/Administration/Site/siteSlice\";\r\nimport { onExportReport, setIsAppliedDone } from 'redux/common/report/customizeReportSlice';\r\nimport { ListGroup } from 'react-bootstrap';\r\nimport CustomizeReport from './CustomizeReport/CustomizeReport';\r\n//icons\r\nimport { BsArrowRight } from \"react-icons/bs\";\r\nimport { RiFileExcel2Line } from 'react-icons/ri';\r\n\r\nconst InspectionActivityReport = () => {\r\n\tconst [reportName, setReportName] = useState(null);\r\n\tconst [startDate, setStartDate] = useState(new Date().setDate((new Date()).getDate() - 30));\r\n\tconst [endDate, setEndDate] = useState(new Date());\r\n\tconst [message, setMessage] = useState(\"\");\r\n\tconst [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n\tconst [showCustomizeReport, setShowCustomizeReport] = useState(false);\r\n\tconst [customizationType, setCustomizationType] = useState('user');\r\n\r\n\tconst reportPreviewSession = useAppSelector((state) => state.site.reportPreviewSession);\r\n\tconst isAppliedDone = useAppSelector((state) => state.customizeReport.isAppliedDone);\r\n\r\n\tconst navigate = useNavigate();\r\n\tconst dispatch = useDispatch();\r\n\r\n\tconst viewInspectionActivityReport = () => {\r\n\t\tconst reportParameters = {\r\n\t\t\treportParameters: {\r\n\t\t\t\t\"startDate\": moment(startDate).format(\"yyyy-MM-DD\").toString(),\r\n\t\t\t\t\"endDate\": moment(endDate).format(\"yyyy-MM-DD\").toString(),\r\n\t\t\t\tcustomizationType: customizationType\r\n\t\t\t},\r\n\t\t\treportType: \"Inspection Activity List Report\"\r\n\t\t};\r\n\t\tdispatch(createReportPreviewSession(reportParameters));\r\n\t};\r\n\r\n\tuseEffect(() => {\r\n\t\tviewInspectionActivityReport();\r\n\t\treturn (() => {\r\n\t\t\tdispatch(setReportPreviewSession(\"\"));\r\n\t\t})\r\n\t}, []);\r\n\r\n\tuseEffect(() => {\r\n\t\tif(isAppliedDone) viewInspectionActivityReport();\r\n\t}, [isAppliedDone])\r\n\r\n\tuseEffect(() => {\r\n\t\tif (reportPreviewSession) {\r\n\t\t\tsetReportName(reportPreviewSession.previewSessionId);\r\n\t\t}\r\n\t}, [reportPreviewSession])\r\n\r\n\tuseEffect(() => {\r\n\t\tif (isAppliedDone) {\r\n\t\t\tdispatch(setIsAppliedDone(false));\r\n\t\t\tsetShowCustomizeReport(false);\r\n\t\t\tsetMessage(\"Report settings saved\");\r\n\t\t\tsetDisplayInfoModal(true);\r\n\t\t}\r\n\t}, [isAppliedDone]);\r\n\r\n\tconst onApplyDateFilter = () => {\r\n\t\tif (startDate && endDate) {\r\n\t\t\tif (new Date(startDate) < new Date(endDate)) {\r\n\t\t\t\tif ((moment(startDate).diff(moment(endDate), 'years')) === 0) {\r\n\t\t\t\t\tviewInspectionActivityReport();\r\n\t\t\t\t} else {\r\n\t\t\t\t\tsetDisplayInfoModal(true);\r\n\t\t\t\t\tsetMessage('Selected Date range should not exceed one year');\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tsetDisplayInfoModal(true);\r\n\t\t\t\tsetMessage('End Date should be greater than Start Date');\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n\r\n\tconst exportAsExcel = () => {\r\n\t\tconst reportParameters = {\r\n\t\t\texportParameters: {\r\n\t\t\t\t\"startDate\": moment(startDate).format(\"yyyy-MM-DD\").toString(),\r\n\t\t\t\t\"endDate\": moment(endDate).format(\"yyyy-MM-DD\").toString(),\r\n\t\t\t\tcustomizationType: customizationType\r\n\t\t\t},\r\n\t\t\texportType: \"Inspection Activity List Report\"\r\n\t\t};\r\n\t\tdispatch(onExportReport(reportParameters, \"Inspection Activity\"));\r\n\t};\r\n\r\n\treturn (\r\n\t\t
\r\n\t\t\t
\r\n\t\t\t\t navigate(`/${APP_ROUTES.REPORT_VIEW}`)}\r\n\t\t\t\t/>\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\tInspection Activity\r\n\t\t\t\t
\r\n\t\t\t
\r\n\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t setStartDate(e.value)} />\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t setEndDate(e.value)} />\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tExport to\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t{/* \r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t */}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t
\r\n\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t{showCustomizeReport &&\r\n\t\t\t\t setShowCustomizeReport(false)}\r\n\t\t\t\t\tcustomizationType={customizationType}\r\n\t\t\t\t\tsetCustomizationType={setCustomizationType} />\r\n\t\t\t}\r\n\t\t
\r\n\t)\r\n}\r\n\r\nexport default InspectionActivityReport;","import React, { useEffect, useState } from 'react'\r\nimport { useDispatch } from \"react-redux\";\r\nimport { APP_ROUTES } from \"constants/AppRoutes\";\r\nimport { useNavigate } from \"react-router-dom\";\r\nimport Breadcrumb from \"components/common/Breadcrumb/Breadcrumb\";\r\nimport ReportViewer from 'components/common/Report/ReportViewer'\r\nimport { useAppSelector } from \"../../redux/hooks\";\r\nimport { createReportPreviewSession, setReportPreviewSession } from \"../../redux/pages/Administration/Site/siteSlice\";\r\nimport { Controller, useForm } from 'react-hook-form';\r\nimport { Dropdown } from 'primereact/dropdown';\r\nimport { classNames } from 'primereact/utils';\r\nimport { getSystems } from 'redux/pages/Inspection/InspectionTask/inspectionTaskSlice';\r\nimport { Button } from 'primereact/button';\r\nimport { ListGroup } from 'react-bootstrap';\r\n//icons\r\nimport { BsArrowRight } from \"react-icons/bs\";\r\nimport { RiFileExcel2Line } from 'react-icons/ri';\r\nimport { onExportReport } from 'redux/common/report/customizeReportSlice';\r\n\r\ntype FormData = {\r\n\tsortBy: string;\r\n};\r\n\r\nconst MasterDataReport = () => {\r\n\r\n\tconst {\r\n\t\tcontrol,\r\n\t} = useForm({\r\n\t\tdefaultValues: {\r\n\t\t\tsortBy: \"\",\r\n\t\t},\r\n\t});\r\n\r\n \tconst [reportName, setReportName] = useState(null);\r\n\tconst [selectedSystem, setSelectedSystem] = useState(\"\");\r\n\tconst reportPreviewSession = useAppSelector((state) => state.site.reportPreviewSession);\r\n\tconst systemData = useAppSelector((state) => state.inspectionTask.systemsData);\r\n\tconst navigate = useNavigate();\r\n\r\n\tconst dispatch = useDispatch();\r\n\r\n\tuseEffect(() => {\r\n\t\tdispatch(getSystems())\r\n\t}, [dispatch]);\r\n\r\n\tuseEffect(() => {\r\n\t\tif (systemData && systemData.length) {\r\n\t\t\tsetSelectedSystem(systemData[0].uniqueSystemId);\r\n\t\t}\r\n\t}, [systemData])\r\n\t\r\n\r\n\tuseEffect(() => {\r\n\t\tif (selectedSystem) {\r\n const reportParameters = {\r\n\r\n\t\t\t\treportParameters: {\r\n\t\t\t\t\tuniqueSystemId: selectedSystem\r\n\t\t\t\t},\r\n\t\t\t\treportType: \"System Master data Report\"\r\n\t\t\t\t\r\n\t\t\t};\r\n\r\n\t\t\tdispatch(createReportPreviewSession(reportParameters));\r\n\t\t}\r\n\r\n\t\treturn(()=>{\r\n\t\t\tdispatch(setReportPreviewSession(\"\"));\r\n\t\t})\r\n\t},[selectedSystem])\r\n\r\n\tuseEffect(() => {\r\n\t\tif (reportPreviewSession) {\r\n\t\t\tsetReportName(reportPreviewSession.previewSessionId);\r\n\t\t}\r\n\t}, [reportPreviewSession])\r\n\r\n\tconst exportAsExcel = () => {\r\n\t\tconst reportParameters = {\r\n\t\t\texportParameters: {\r\n\t\t\t\tuniqueSystemId: selectedSystem\r\n\t\t\t},\r\n\t\t\texportType: \"System Master data Report\"\r\n\t\t};\r\n\t\tdispatch(onExportReport(reportParameters, \"System Master data\"));\r\n\t};\r\n\r\n\treturn (\r\n\r\n\t\t
\r\n\t\t\t
\r\n\t\t\t\t navigate(`/${APP_ROUTES.REPORT_VIEW}`)}\r\n\t\t\t\t/>\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\tMaster Data Report\r\n\t\t\t\t
\r\n\t\t\t
\r\n\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t (\r\n\t\t\t\t\t\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tsetSelectedSystem(e.value);\r\n\t\t\t\t\t\t\t\t\t\t\t\t}}\r\n\t\t\t\t\t\t\t\t\t\t\t\toptions={systemData}\r\n\t\t\t\t\t\t\t\t\t\t\t\toptionLabel=\"systemName\"\r\n\t\t\t\t\t\t\t\t\t\t\t\toptionValue=\"uniqueSystemId\"\r\n\t\t\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t\t)}\r\n\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tExport to\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t{/* \r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t */}\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t
\r\n\r\n\t\t\t\r\n\t\t
\r\n\r\n\t)\r\n}\r\n\r\nexport default MasterDataReport;","export const SAP_IMPORT_STATUS_COLS = [\r\n {\r\n field: \"fileName\",\r\n header: \"File Name\",\r\n style: { flex: '1 0 150px' },\r\n sortable: true,\r\n },\r\n {\r\n field: \"fileType\",\r\n header: \"File Type\",\r\n style: { flex: '0 0 110px' },\r\n sortable: true,\r\n },\r\n {\r\n field: \"dateOfIntegration\",\r\n header: \"Date of Integration\",\r\n style: { flex: '0 0 190px' },\r\n sortable: true,\r\n },\r\n {\r\n field: \"status\",\r\n header: \"Status\",\r\n style: { flex: '1 0 150px' },\r\n sortable: true,\r\n }\r\n];","import React, { memo, useEffect, useState } from \"react\";\r\nimport { Dialog } from \"primereact/dialog\";\r\nimport { DataTableComponent } from \"components/Table/DataTable\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { setSapImportStatusDetails } from \"redux/pages/Manage/Tools/ToolSlice\";\r\n\r\ninterface Props {\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n selectedRows: any;\r\n}\r\n\r\nexport const ImportSapDetails: React.FC = (props) => {\r\n const { showModal, setShowModal = () => { } } = props;\r\n\r\n const [pageIndex, setPageIndex] = useState(0);\r\n const [gridData, setGridData] = useState([]);\r\n const [columnData, setColumnData] = useState([]);\r\n const [pageDetail, setPageDetail] = useState(null);\r\n\r\n const dispatch = useDispatch();\r\n const sapImportDetails = useAppSelector((state) => state.tool.sapImportStatusDetails);\r\n\r\n useEffect(() => {\r\n if (sapImportDetails) {\r\n const columns = getEquipmentColumn(sapImportDetails?.generalProperties)\r\n setColumnData(columns);\r\n setGridData(sapImportDetails?.data);\r\n setPageDetail(sapImportDetails?.pageDetails)\r\n dispatch(setSapImportStatusDetails(\"\"));\r\n }\r\n }, [sapImportDetails])\r\n\r\n const onPageChanged = (options: any) => {\r\n if (options !== pageIndex) {\r\n setPageIndex(options);\r\n }\r\n };\r\n\r\n const getEquipmentColumn = (generalProperties) => {\r\n const columnInfo: any = [];\r\n if (generalProperties?.length) {\r\n for (var i = 0; i < generalProperties?.length; i++) {\r\n if (generalProperties[i]?.propertyType !== \"INTERNAL\") {\r\n let data: any = {\r\n field: generalProperties[i]?.name,\r\n header: generalProperties[i]?.alias,\r\n style: { flex: '1 0 200px' },\r\n sortable: true,\r\n } \r\n columnInfo.push(data);\r\n }\r\n }\r\n }\r\n return columnInfo;\r\n }\r\n return (\r\n <>\r\n setShowModal(false)}\r\n className={`s-modal sap-import-details`}\r\n >\r\n {columnData?.length > 0 &&\r\n \r\n }\r\n \r\n \r\n );\r\n};\r\n\r\nexport default memo(ImportSapDetails);\r\n","import React, { useState, useCallback, memo, useEffect } from \"react\";\r\nimport { Button } from \"primereact/button\";\r\nimport { useNavigate } from \"react-router-dom\";\r\nimport { Calendar } from \"primereact/calendar\";\r\nimport { BsArrowRight, BsGridFill } from \"react-icons/bs\";\r\nimport { FaDownload } from \"react-icons/fa\";\r\nimport { APP_ROUTES } from \"constants/AppRoutes\";\r\nimport { SAP_IMPORT_STATUS_COLS } from \"./SapImportStatusData\";\r\nimport moment from \"moment\";\r\n//components\r\nimport { DataTableComponent } from \"components/Table/DataTable\";\r\nimport { ImportSapDetails } from \"pages/ManageTools/SAPImportStatus/ManageSapImportStatus/ImportDetails\";\r\nimport Breadcrumb from \"components/common/Breadcrumb/Breadcrumb\";\r\nimport InformationBox from \"components/common/Message/InformationBox/InformationBox\";\r\n//redux\r\nimport { useDispatch } from \"react-redux\";\r\nimport { onSapImportDataDownload, onGetSapImportStatusDetails, onGetSapImportStatusList, setSapImportStatusList } from \"redux/pages/Manage/Tools/ToolSlice\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\n\r\n\r\ninterface Props {\r\n showModal?: boolean;\r\n setShowModal?: (state: boolean) => void;\r\n // selectedRowData?: (data: any) => void;\r\n}\r\n\r\nexport const SAPImportStatus: React.FC = () => {\r\n const navigate = useNavigate();\r\n\r\n const [showImportSapDetails, setShowImportSapDetails] = useState(false);\r\n const [bodyInfo, setBodyInfo] = useState({\r\n fromDate: moment(new Date().setFullYear(new Date().getFullYear() - 1)).format(\"yyyy-MM-DD\"),\r\n toDate: moment(new Date()).format(\"yyyy-MM-DD\")\r\n });\r\n const [gridData, setGridData] = useState([]);\r\n const [pageDetails, setPageDetails] = useState({});\r\n const [pageIndex, setPageIndex] = useState(0);\r\n const [selectedRows, setSelectedRows] = useState([]);\r\n const [currentStart, setCurrentStart] = useState([]);\r\n const [sortField, setSortField] = useState('');\r\n const [sortOrder, setSortOrder] = useState('');\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const [message, setMessage] = useState(\"\");\r\n\r\n const dispatch = useDispatch();\r\n const sapImportStatusList = useAppSelector((state) => state.tool.sapImportStatusList);\r\n const sapImportPageDetails = useAppSelector((state) => state.tool.sapImportPageDetails);\r\n const rowsPerPage = useAppSelector((state) => state.personalSettings.rowsPerPage);\r\n\r\n useEffect(() => {\r\n getSapImportStatusList();\r\n }, [rowsPerPage]);\r\n\r\n useEffect(() => { \r\n if (sapImportStatusList) {\r\n setGridData(sapImportStatusList?.sapImportDetails);\r\n dispatch(setSapImportStatusList(\"\"));\r\n }\r\n }, [sapImportStatusList]);\r\n\r\n useEffect(() => {\r\n if (sapImportPageDetails) {\r\n setPageDetails(sapImportPageDetails);\r\n }\r\n }, [sapImportPageDetails]);\r\n\r\n useEffect(() => {\r\n if (rowsPerPage && rowsPerPage > 0) {\r\n let modifiedPageDetails = { ...pageDetails, 'currentLength': rowsPerPage, 'pageCount': rowsPerPage };\r\n setPageDetails(modifiedPageDetails);\r\n setCurrentStart(1)\r\n setPageIndex(0)\r\n }\r\n }, [rowsPerPage])\r\n\r\n const getSapImportStatusList = () => {\r\n dispatch(onGetSapImportStatusList(bodyInfo, 1));\r\n }\r\n\r\n const handleRowSelect = useCallback((data: any) => {\r\n setSelectedRows(data)\r\n }, []);\r\n\r\n const clearFilter = () => {\r\n bodyInfo.fromDate = moment(new Date().setFullYear(new Date().getFullYear() - 1)).format(\"yyyy-MM-DD\");\r\n bodyInfo.toDate = moment(new Date()).format(\"yyyy-MM-DD\");\r\n setBodyInfo(bodyInfo);\r\n getSapImportStatusList();\r\n }\r\n\r\n const onSort = (event) => {\r\n let sortDirection: string;\r\n if (event.sortOrder === 1)\r\n sortDirection = \"ASC\"\r\n else\r\n sortDirection = \"DESC\"\r\n setSortField(event.sortField)\r\n setSortOrder(sortDirection)\r\n dispatch(onGetSapImportStatusList(bodyInfo, currentStart, event?.sortField, sortDirection)); \r\n }\r\n\r\n const onPageChanged = (options: any) => {\r\n if (options !== pageIndex) { \r\n let currentStart = (options * pageDetails?.currentLength) + 1;\r\n setPageIndex(options)\r\n setCurrentStart(currentStart)\r\n dispatch(onGetSapImportStatusList(bodyInfo, currentStart,sortField,sortOrder)); \r\n }\r\n };\r\n \r\n const showImportDetails = () => {\r\n if (selectedRows && selectedRows.length) {\r\n if (selectedRows.length === 1) {\r\n setShowImportSapDetails(true);\r\n dispatch(onGetSapImportStatusDetails(selectedRows[0].id));\r\n } else {\r\n setMessage(\"This operation can be performed only one row at a time\");\r\n setDisplayInfoModal(true);\r\n }\r\n } else {\r\n setMessage(\"Select a Record\");\r\n setDisplayInfoModal(true);\r\n }\r\n }\r\n\r\n const downloadSapImportData = () => {\r\n if (selectedRows && selectedRows.length) {\r\n if (selectedRows.length == 1) {\r\n dispatch(onSapImportDataDownload(selectedRows[0].id, selectedRows[0].fileName, setDisplayInfoModal, setMessage));\r\n } else {\r\n setMessage(\"This operation can be performed only one row at a time\");\r\n setDisplayInfoModal(true);\r\n }\r\n } else {\r\n setMessage(\"Select a Record\");\r\n setDisplayInfoModal(true);\r\n }\r\n }\r\n\r\n return (\r\n
\r\n
\r\n navigate(`/${APP_ROUTES.MANAGE_VIEW}`)} />\r\n
\r\n \r\n
\r\n
\r\n SAP Import Status\r\n
\r\n
\r\n
\r\n SAP Import Status\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n setBodyInfo((body) => ({ ...body, fromDate: moment(e.value).format(\"yyyy-MM-DD\") }))}\r\n selectionMode=\"single\"\r\n dateFormat=\"yy-mm-dd\"\r\n readOnlyInput\r\n />\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n setBodyInfo((body) => ({ ...body, toDate: moment(e.value).format(\"yyyy-MM-DD\") }))}\r\n selectionMode=\"single\"\r\n dateFormat=\"yy-mm-dd\"\r\n readOnlyInput\r\n />\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n {showImportSapDetails ? (\r\n \r\n ) : null}\r\n
\r\n );\r\n};\r\n\r\nexport default memo(SAPImportStatus);\r\n","import React, { useEffect, useState } from 'react'\r\nimport { useDispatch } from \"react-redux\";\r\nimport { APP_ROUTES } from \"constants/AppRoutes\";\r\nimport { useNavigate } from \"react-router-dom\";\r\nimport Breadcrumb from \"components/common/Breadcrumb/Breadcrumb\";\r\nimport ReportViewer from 'components/common/Report/ReportViewer'\r\nimport { useAppSelector } from \"../../redux/hooks\";\r\nimport { createReportPreviewSession, setReportPreviewSession } from \"../../redux/pages/Administration/Site/siteSlice\";\r\nimport { Button } from 'primereact/button';\r\nimport { ListGroup } from 'react-bootstrap';\r\n//icons\r\nimport { BsArrowRight } from \"react-icons/bs\";\r\nimport { RiFileExcel2Line } from 'react-icons/ri';\r\nimport { onExportReport } from 'redux/common/report/customizeReportSlice';\r\n\r\nconst ExpiredContractsReport = () => {\r\n\tconst [reportName, setReportName] = useState(null);\r\n\tconst reportPreviewSession = useAppSelector((state) => state.site.reportPreviewSession);\r\n\tconst navigate = useNavigate();\r\n\r\n\tconst dispatch = useDispatch();\r\n\tuseEffect(() => {\r\n\t\tif (reportPreviewSession === \"\") {\r\n const reportParameters = {\r\n\t\t\t\t\treportParameters: {\t},\r\n\t\t\t\t\treportType: \"EXPIRED_CONTRACTS\"\r\n\t\t\t};\r\n\t\t\tdispatch(createReportPreviewSession(reportParameters));\r\n\t\t}\r\n\r\n\t\treturn(()=>{\r\n\t\t\tdispatch(setReportPreviewSession(\"\"));\r\n\t\t})\r\n\t},[])\r\n\r\n\tuseEffect(() => {\r\n\t\tif (reportPreviewSession) {\r\n\t\t\tsetReportName(reportPreviewSession.previewSessionId);\r\n\t\t}\r\n\t}, [reportPreviewSession])\r\n\r\n const exportAsExcel = () => {\r\n\t\tconst reportParameters = {\r\n\t\t\texportParameters: { },\r\n\t\t\texportType: \"EXPIRED_CONTRACTS\"\r\n\t\t};\r\n\t\tdispatch(onExportReport(reportParameters, \"Expired Contracts\"));\r\n\t};\r\n\r\n return (\r\n\t\r\n
\r\n\t
\r\n navigate(`/${APP_ROUTES.REPORT_VIEW}`)}\r\n />\r\n
\r\n \r\n
\r\n
\r\n Expired Contracts\r\n
\r\n
\r\n\t\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n Export to\r\n \r\n \r\n \r\n {/* \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n */}\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n\t\r\n
\r\n )\r\n}\r\n\r\nexport default ExpiredContractsReport;","import React, { useEffect, useState } from 'react'\r\nimport { APP_ROUTES } from \"constants/AppRoutes\";\r\nimport { useNavigate } from \"react-router-dom\";\r\nimport Breadcrumb from \"components/common/Breadcrumb/Breadcrumb\";\r\nimport ReportViewer from 'components/common/Report/ReportViewer'\r\nimport { Button } from 'primereact/button';\r\nimport { ListGroup } from 'react-bootstrap';\r\n//icons\r\nimport { BsArrowRight } from \"react-icons/bs\";\r\nimport { RiFileExcel2Line } from 'react-icons/ri';\r\nimport { useAppSelector } from 'redux/hooks';\r\nimport { useDispatch } from 'react-redux';\r\nimport { createReportPreviewSession, setReportPreviewSession } from 'redux/pages/Administration/Site/siteSlice';\r\nimport { onExportReport, setIsAppliedDone } from 'redux/common/report/customizeReportSlice';\r\nimport InformationBox from 'components/common/Message/InformationBox/InformationBox';\r\nimport CustomizeReport from './CustomizeReport/CustomizeReport';\r\n\r\nconst BuildingReport = () => {\r\n\r\n const [reportName, setReportName] = useState(null);\r\n const [showCustomizeReport, setShowCustomizeReport] = useState(false);\r\n\tconst [message, setMessage] = useState(\"\");\r\n\tconst [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const [customizationType, setCustomizationType] = useState('user');\r\n\r\n const reportPreviewSession = useAppSelector((state) => state.site.reportPreviewSession);\r\n const isAppliedDone = useAppSelector((state) => state.customizeReport.isAppliedDone);\r\n\r\n const navigate = useNavigate();\r\n const dispatch = useDispatch();\r\n\r\n const viewBuildingReport = () => {\r\n const reportParameters = {\r\n reportParameters: {\r\n customizationType: customizationType\r\n },\r\n reportType: \"Building Report\"\r\n };\r\n dispatch(createReportPreviewSession(reportParameters));\r\n };\r\n\r\n useEffect(() => {\r\n viewBuildingReport();\r\n\r\n return (() => {\r\n dispatch(setReportPreviewSession(\"\"));\r\n });\r\n }, []);\r\n\r\n useEffect(() => {\r\n if (isAppliedDone) viewBuildingReport();\r\n }, [isAppliedDone]);\r\n\r\n useEffect(() => {\r\n if (reportPreviewSession) {\r\n setReportName(reportPreviewSession.previewSessionId);\r\n }\r\n }, [reportPreviewSession]);\r\n\r\n useEffect(() => {\r\n\t\tif (isAppliedDone) {\r\n\t\t\tdispatch(setIsAppliedDone(false));\r\n\t\t\tsetShowCustomizeReport(false);\r\n\t\t\tsetMessage(\"Report settings saved\");\r\n\t\t\tsetDisplayInfoModal(true);\r\n\t\t}\r\n\t}, [isAppliedDone]);\r\n\r\n const exportAsExcel = () => {\r\n\t\tconst reportParameters = {\r\n\t\t\texportParameters: { \r\n customizationType: customizationType\r\n },\r\n\t\t\texportType: \"Building Report\"\r\n\t\t};\r\n\t\tdispatch(onExportReport(reportParameters, \"Buildings\"));\r\n\t};\r\n\r\n return (\r\n\r\n
\r\n
\r\n navigate(`/${APP_ROUTES.REPORT_VIEW}`)}\r\n />\r\n
\r\n \r\n
\r\n
\r\n Building Report\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n Export to\r\n \r\n \r\n \r\n {/* \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n */}\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n {showCustomizeReport &&\r\n\t\t\t\t setShowCustomizeReport(false)}\r\n customizationType={customizationType}\r\n setCustomizationType={setCustomizationType} />\r\n\t\t\t}\r\n
\r\n )\r\n}\r\n\r\nexport default BuildingReport;","import React, { useEffect, useState } from 'react'\r\nimport { APP_ROUTES } from \"constants/AppRoutes\";\r\nimport { useNavigate } from \"react-router-dom\";\r\nimport Breadcrumb from \"components/common/Breadcrumb/Breadcrumb\";\r\nimport ReportViewer from 'components/common/Report/ReportViewer'\r\nimport { Button } from 'primereact/button';\r\nimport { ListGroup } from 'react-bootstrap';\r\n//icons\r\nimport { BsArrowRight } from \"react-icons/bs\";\r\nimport { RiFileExcel2Line } from 'react-icons/ri';\r\nimport { useAppSelector } from 'redux/hooks';\r\nimport { useDispatch } from 'react-redux';\r\nimport { createReportPreviewSession, setReportPreviewSession } from 'redux/pages/Administration/Site/siteSlice';\r\nimport { onExportReport, setIsAppliedDone } from 'redux/common/report/customizeReportSlice';\r\nimport InformationBox from 'components/common/Message/InformationBox/InformationBox';\r\nimport CustomizeReport from './CustomizeReport/CustomizeReport';\r\n\r\nconst FloorReport = () => {\r\n const [reportName, setReportName] = useState(null);\r\n const [showCustomizeReport, setShowCustomizeReport] = useState(false);\r\n\tconst [message, setMessage] = useState(\"\");\r\n\tconst [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const [customizationType, setCustomizationType] = useState('user');\r\n\r\n const reportPreviewSession = useAppSelector((state) => state.site.reportPreviewSession);\r\n const isAppliedDone = useAppSelector((state) => state.customizeReport.isAppliedDone);\r\n\r\n const navigate = useNavigate();\r\n const dispatch = useDispatch();\r\n\r\n const viewFloorReport = () => {\r\n const reportParameters = {\r\n reportParameters: {\r\n customizationType: customizationType\r\n },\r\n reportType: \"Floor Report\"\r\n };\r\n dispatch(createReportPreviewSession(reportParameters));\r\n };\r\n\r\n useEffect(() => {\r\n viewFloorReport();\r\n\r\n return (() => {\r\n dispatch(setReportPreviewSession(\"\"));\r\n });\r\n }, []);\r\n\r\n useEffect(() => {\r\n if (isAppliedDone) viewFloorReport();\r\n }, [isAppliedDone]);\r\n\r\n useEffect(() => {\r\n if (reportPreviewSession) {\r\n setReportName(reportPreviewSession.previewSessionId);\r\n }\r\n }, [reportPreviewSession]);\r\n\r\n useEffect(() => {\r\n\t\tif (isAppliedDone) {\r\n\t\t\tdispatch(setIsAppliedDone(false));\r\n\t\t\tsetShowCustomizeReport(false);\r\n\t\t\tsetMessage(\"Report settings saved\");\r\n\t\t\tsetDisplayInfoModal(true);\r\n\t\t}\r\n\t}, [isAppliedDone]);\r\n\r\n\r\n const exportAsExcel = () => {\r\n\t\tconst reportParameters = {\r\n\t\t\texportParameters: { \r\n customizationType: customizationType\r\n },\r\n\t\t\texportType: \"Floor Report\"\r\n\t\t};\r\n\t\tdispatch(onExportReport(reportParameters, \"Floors\"));\r\n\t};\r\n\r\n return (\r\n\r\n
\r\n
\r\n navigate(`/${APP_ROUTES.REPORT_VIEW}`)}\r\n />\r\n
\r\n \r\n
\r\n
\r\n Floor Report\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n Export to\r\n \r\n \r\n \r\n {/* \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n */}\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n\r\n \r\n {showCustomizeReport &&\r\n\t\t\t\t setShowCustomizeReport(false)}\r\n customizationType={customizationType}\r\n\t\t\t\t\tsetCustomizationType={setCustomizationType} />\r\n\t\t\t}\r\n
\r\n\r\n )\r\n}\r\n\r\nexport default FloorReport;","import { InputText } from 'primereact/inputtext';\r\n\r\n\r\nconst textEditor = (options) => {\r\n return \r\n {options.editorCallback(e.target.value)}} />;\r\n}\r\n\r\nexport const tapPerformance_Cols = [\r\n {\r\n field: 'projectName',\r\n header: 'Project Name',\r\n editor: (options) => textEditor(options),\r\n style: { flex: '1 0 150px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'projectOwner',\r\n header: 'Project Owner',\r\n editor: (options) => textEditor(options),\r\n style: { flex: '1 0 100px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'branch',\r\n header: 'Branch',\r\n editor: (options) => textEditor(options),\r\n style: { flex: '1 0 100px' },\r\n sortable: true,\r\n },\r\n\r\n];\r\n","import React, { forwardRef, useCallback, useEffect, useImperativeHandle, useRef, useState } from \"react\";\r\nimport { useForm, Controller } from \"react-hook-form\";\r\nimport { InputText } from \"primereact/inputtext\";\r\nimport { classNames } from \"primereact/utils\";\r\nimport { Dropdown } from 'primereact/dropdown';\r\nimport { ScrollPanel } from 'primereact/scrollpanel';\r\nimport { BsExclamationCircleFill } from 'react-icons/bs';\r\nimport { Checkbox } from \"primereact/checkbox\";\r\nimport { Calendar } from \"primereact/calendar\";\r\nimport moment from \"moment\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\nimport { getProjectDetails, getSystemTaskList, onAddProjectDetails, onUpdateProjectDetails, setTapPerformanceReportList, setTapPerformanceReportListPageDetails, setcheckIsValueChanged, } from \"redux/pages/Reports/ProvenOutcomesSlice\";\r\nimport InformationBox from \"components/common/Message/InformationBox/InformationBox\";\r\nimport { useDispatch } from \"react-redux\";\r\n\r\n\r\ninterface ProjectDetailsProp {\r\nisAdd:boolean;\r\nselectedProjectId?: any;\r\n}\r\n\r\ntype FormData = {\r\n\thyperLink: string;\r\n\tdescription: string;\r\n\tstartDate: any;\r\n\tendDate: any;\r\n\tprojectName: string;\r\n\tprojectOwner: string;\r\n\temail: string;\r\n\tbranchOfficeId: string;\r\n\tsystemTasks: any;\r\n};\r\n\r\nexport const ProjectDetails = forwardRef((props, ref) => {\r\n\r\n\tconst {isAdd,selectedProjectId } = props;\r\n\tconst branches = useAppSelector((state) => state.provenOutcomes.branches);\r\n\tconst systemtasklist = useAppSelector((state) => state.provenOutcomes.systemtasklist);\r\n\tconst [message, setMessage] = useState(\"\");\r\n\tconst [branchLookup, setBranchLookup] = useState();\r\n\tconst projectDetailsForm: any = useRef(null);\r\n\tconst [systemTaskLookup, setSystemTaskLookup] = useState();\r\n\tconst [additionalMessage, setAdditionalMessage] = useState(\"\");\r\n\tconst [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n\tconst [selectedSystemTask, setSelectedSystemTask] = useState();\r\n\tconst projectDetail = useAppSelector((state) => state.provenOutcomes.projectDetails);\r\n\tconst [newProjectData, setNewProjectData] = useState();\r\n\tconst [isBranchDisabled, setisBranchDisabled] = useState(false);\r\n\tconst dispatch = useDispatch();\r\n\r\n\tconst tapPerformanceReportList = useAppSelector((state) => state.provenOutcomes.tapPerformanceReportList);\r\n\tconst newlyAddedData = useAppSelector((state) => state.provenOutcomes.newlyAddedData);\r\n\tconst tapPerformanceReportPageDetails = useAppSelector((state) => state.provenOutcomes.tapPerformanceReportPageDetails);\r\n\t\r\n\tconst {\r\n\t\tcontrol,\r\n\t\thandleSubmit,\r\n\t\tsetValue, \r\n\t\tformState: { errors },\r\n\t} = useForm({\r\n\t\tdefaultValues: {\r\n\t\t\tstartDate: null,\r\n\t\t\tendDate: \"\",\r\n\t\t\tprojectName: \"\",\r\n\t\t\tprojectOwner: \"\",\r\n\t\t\temail: \"\",\r\n\t\t\tbranchOfficeId: \"\",\r\n\t\t\tsystemTasks: [],\r\n\t\t},\r\n\t});\r\n\r\n\t\r\n\r\n\tuseImperativeHandle(ref, () => ({\r\n\t\trequestSubmit: () => {\r\n\t\t\tprojectDetailsForm?.current?.requestSubmit();\r\n\t\t},\r\n\t}));\r\n\r\n\tconst setDate = useCallback(() => {\r\n\t\tlet todayDate = new Date()\r\n\t\tlet day = todayDate.getDate();\r\n\t\tlet month = todayDate.getMonth();\r\n\t\tlet year = todayDate.getFullYear();\r\n\t\tsetValue(\"startDate\", new Date(year, month - 1, day));\r\n\t\tsetValue(\"endDate\", new Date(year, month , day));\r\n\t\tsetValue(\"branchOfficeId\", \"--Select--\");\r\n\r\n\t}, [setValue])\r\n\r\n\tuseEffect(() => {\r\n\t\tif (newProjectData) {\r\n\t\t\tlet projectList: { branch: string; uniqueProjectId: string; projectOwner: string; projectName: string; }[] = [];\r\n\t\t\tprojectList.push({\r\n\t\t\t\tbranch: newProjectData.branchName,\r\n\t\t\t\tuniqueProjectId: newProjectData.uniqueProjectId,\r\n\t\t\t\tprojectOwner: newProjectData.projectOwner,\r\n\t\t\t\tprojectName: newProjectData.projectName\r\n\t\t\t})\r\n\r\n\t\t\ttapPerformanceReportList?.map((item: any) => {\r\n\t\t\t\tprojectList.push({\r\n\t\t\t\t\tbranch: item.branch,\r\n\t\t\t\t\tuniqueProjectId: item.uniqueProjectId,\r\n\t\t\t\t\tprojectOwner: item.projectOwner,\r\n\t\t\t\t\tprojectName: item.projectName\r\n\t\t\t\t})\r\n\t\t\t})\r\n\r\n\t\t\tdispatch(setTapPerformanceReportList(projectList));\r\n\t\t\tif (tapPerformanceReportPageDetails == null) {\r\n\t\t\t\tlet projectDetail: { currentLength: any; currentStart: any; pageCount: any; totalCount: any; } = {\r\n\t\t\t\t\tcurrentLength: 1,\r\n\t\t\t\t\tcurrentStart: 1,\r\n\t\t\t\t\tpageCount: 100,\r\n\t\t\t\t\ttotalCount: 1\r\n\t\t\t\t};\r\n\t\t\t\tdispatch(setTapPerformanceReportListPageDetails(projectDetail))\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t}, [newProjectData]);\r\n\r\n\t\tuseEffect(() =>{\r\n\r\n if(!isAdd)\r\n\t\t{\r\n\t\t\t setSystemTaskLookup([]);\r\n\t\t\t dispatch(getProjectDetails(selectedProjectId));\r\n\t\t}\r\n\t},[])\r\n\r\n\tuseEffect(() =>{\r\n\t\tif(newlyAddedData)\r\n\t\t{\r\n\t\t\tsetValue(\"branchOfficeId\", newlyAddedData?.uniqueBranchOfficeId);\t\r\n\t\t\tsetValue(\"email\", newlyAddedData.email);\r\n\t\t\tsetValue(\"projectOwner\", newlyAddedData?.projectOwner);\r\n\t\t\tsetValue(\"projectName\", newlyAddedData?.projectName);\r\n\t\t\tsetValue(\"startDate\",new Date (newlyAddedData?.startDate));\r\n\t\t\tsetValue(\"endDate\",new Date (newlyAddedData?.endDate));\r\n\t\t}\r\n\t },[newlyAddedData])\r\n\r\n\tuseEffect(() => {\r\n\t\tif (!isAdd) {\r\n\t\t\tsetisBranchDisabled(true)\r\n\t\t}\r\n\t\tif (newlyAddedData) {\r\n\t\t\tsetisBranchDisabled(true)\r\n\t\t}\r\n\t}, [newlyAddedData, isAdd])\r\n\r\n\t\t\r\n\tuseEffect(() => {\r\n\t\tif(!isAdd)\r\n\t\t{\r\n\t\tif (projectDetail?.length != 0) {\r\n\t\t setValue(\"projectName\", projectDetail?.projectName);\r\n\t\t setValue(\"projectOwner\", projectDetail?.projectOwner);\r\n\t\t setValue(\"email\", projectDetail?.email);\r\n\t\t setValue(\"branchOfficeId\", projectDetail?.uniqueBranchOfficeId);\r\n\t\t setValue(\"startDate\",new Date(projectDetail?.startDate));\r\n\t\t setValue(\"endDate\",new Date(projectDetail?.endDate));\r\n\t\t}\r\n\t}\r\n\t }, [projectDetail, setValue]);\r\n\r\n\r\nuseEffect(() => {\r\n\tif(isAdd && !newlyAddedData) {\r\n\tsetDate();\r\n\t}\r\n\tif (branches?.length) {\t\t\r\n\tlet branch: { name: string; branchOfficeId: string }[] = [];\r\n\t\t\tbranch.push({ name: \"--Select--\", branchOfficeId: \"--Select--\" });\r\n\t\t\tbranches?.map((item: any) => {\r\n\t\t\t\tbranch.push({\r\n\t\t\t\t\tname: item.name,\r\n\t\t\t\t\tbranchOfficeId: item.uniqueBranchOfficeId,\r\n\t\t\t\t});\r\n\r\n\t\t\t\treturn null;\r\n\t\t\t});\r\n\t\t\tsetBranchLookup(branch);\r\n\t\t}\r\n\t}, [branches])\r\n\r\n\tuseEffect(() => {\r\n\t\tif(isAdd && !newlyAddedData){\r\n\t\tif (systemtasklist?.length != 0) {\r\n\t\t\tlet systemtask: { isSelected: boolean; systemName: string; systemId: string; tasklist: any; }[] = [];\r\n\t\t\tsystemtasklist?.map((item: any) => {\r\n\t\t\t\tlet inspectionTask: { taskName: string, taskId: string,isSelected : boolean}[] = [];\r\n\t\t\t\tinspectionTask.push({ taskName: \"--Select--\", taskId: \"--Select--\",isSelected:false});\r\n\r\n\t\t\t\titem.inspectionTaskList?.map((task: any) => {\r\n\t\t\t\t\tinspectionTask.push({\r\n\t\t\t\t\t\ttaskName: task.inspectiponTaskName,\r\n\t\t\t\t\t\ttaskId: task.inspectionTaskId,\r\n\t\t\t\t\t\tisSelected : false\r\n\t\t\t\t\t});\r\n\t\t\t\t});\r\n\t\t\t\tsystemtask.push({\r\n\t\t\t\t\tisSelected: false,\r\n\t\t\t\t\tsystemName: item.systemName,\r\n\t\t\t\t\tsystemId: item.systemId,\r\n\t\t\t\t\ttasklist: inspectionTask,\r\n\t\t\t\t});\r\n\r\n\t \t\t return null;\r\n\t\t\t}); \r\n\t\tsetSystemTaskLookup(systemtask)\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tsetSystemTaskLookup([])\r\n\t\t}\r\n\r\n\t}\r\n\r\n\t},[systemtasklist])\r\n\r\n\tuseEffect(() => {\r\n\t\tif(isAdd){\r\n\t\tif (newlyAddedData) {\r\n\t\t\tlet systemtask: { isSelected: boolean; systemName: string; systemId: string; tasklist: any; }[] = [];\r\n\t\t\tnewlyAddedData.systemInspectionTaskList?.map((item: any) => {\r\n\t\t\t\tlet inspectionTask: { taskName: string, taskId: string,isSelected : boolean}[] = [];\r\n\t\t\t\tinspectionTask.push({ taskName: \"--Select--\", taskId: \"--Select--\",isSelected:false});\r\n\r\n\t\t\t\titem.inspectionTaskList?.map((task: any) => {\r\n\t\t\t\t\tinspectionTask.push({\r\n\t\t\t\t\t\ttaskName: task.inspectiponTaskName,\r\n\t\t\t\t\t\ttaskId: task.inspectionTaskId,\r\n\t\t\t\t\t\tisSelected : task.isTaskSelected\r\n\t\t\t\t\t});\r\n\t\t\t\t});\r\n\t\t\t\tsystemtask.push({\r\n\t\t\t\t\tisSelected: item.isSystemSelected,\r\n\t\t\t\t\tsystemName: item.systemName,\r\n\t\t\t\t\tsystemId: item.systemId,\r\n\t\t\t\t\ttasklist: inspectionTask,\r\n\t\t\t\t});\r\n\r\n\t \t\t return null;\r\n\t\t\t}); \r\n\t\tsetSystemTaskLookup(systemtask)\r\n\t\t}\r\n\t}\r\n\r\n\t},[newlyAddedData])\r\n\r\n\tuseEffect(() => {\r\n\r\n\t\tif (!isAdd) {\r\n\r\n\t\t\tif (projectDetail?.length != 0) {\r\n\t\t\t\tlet systemtask: { isSelected: boolean; systemName: string; systemId: string; tasklist: any; }[] = [];\r\n\t\t\t\tlet selectedTasks: { systemId: string, inspectionTaskId: string }[] = [];\r\n\t\t\t\tprojectDetail.systemInspectionTaskList.map((data: any) => {\r\n\t\t\t\t\tlet inspectionTask: { taskName: string, taskId: string, isSelected: boolean }[] = [];\r\n\t\t\t\t\tinspectionTask.push({ taskName: \"--Select--\", taskId: \"--Select--\", isSelected: false });\r\n\r\n\t\t\t\t\tdata.inspectionTaskList?.map((task: any) => {\r\n\t\t\t\t\t\tinspectionTask.push({\r\n\t\t\t\t\t\t\ttaskName: task.inspectiponTaskName,\r\n\t\t\t\t\t\t\ttaskId: task.inspectionTaskId,\r\n\t\t\t\t\t\t\tisSelected: task.isTaskSelected\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t\tif (task.isTaskSelected) {\r\n\t\t\t\t\t\t\tselectedTasks.push(\r\n\r\n\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\tsystemId: data.systemId,\r\n\t\t\t\t\t\t\t\t\tinspectionTaskId: task.inspectionTaskId\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t)\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t\t\tsystemtask.push({\r\n\t\t\t\t\t\tisSelected: data.isSystemSelected,\r\n\t\t\t\t\t\tsystemName: data.systemName,\r\n\t\t\t\t\t\tsystemId: data.systemId,\r\n\t\t\t\t\t\ttasklist: inspectionTask,\r\n\t\t\t\t\t});\r\n\r\n\r\n\t\t\t\t});\r\n\r\n\t\t\t\tsetSystemTaskLookup(systemtask)\r\n\t\t\t\tsetSelectedSystemTask(selectedTasks);\r\n\t\t\t}\r\n\t\t}\r\n\t}, [projectDetail]);\r\n\r\n\tuseEffect(() => {\r\n\t\tif (!isAdd) {\r\n\t\t\tif (systemTaskLookup?.length) {\r\n\t\t\t\tsystemTaskLookup.map((systemItem) => {\r\n\t\t\t\t\tsystemItem.tasklist.map((taskItem) => {\r\n\t\t\t\t\t\tif (taskItem.isSelected) {\r\n\t\t\t\t\t\t\tsetValue(systemItem?.systemId.toString(), taskItem?.taskId)\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t})\r\n\t\t\t\t})\r\n\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t}, [systemTaskLookup])\r\n\r\n\r\n\tconst onBranchChange = (data) => {\r\n\t\tsetSystemTaskLookup([])\r\n\t\tsetSelectedSystemTask([])\r\n\t\tif (data != \"--Select--\") {\r\n\t\t\tdispatch(getSystemTaskList(data))\r\n\t\t}\r\n\t\tif (systemTaskLookup?.length) {\r\n\t\t\tsystemTaskLookup.map((systemItem) => {\r\n\t\t\t\tsystemItem.tasklist.map((taskItem) => {\r\n\t\t\t\t\tsetValue(systemItem?.systemId.toString(), \"--Select--\")\r\n\t\t\t\t})\r\n\t\t\t})\r\n\t\t}\r\n\t}\r\n\r\n\tuseEffect(() => {\r\n\t\tif (isAdd) {\r\n\t\t\tif (systemTaskLookup?.length) {\r\n\t\t\t\tsystemTaskLookup.map((systemItem) => {\r\n\t\t\t\t\tsystemItem.tasklist.map((taskItem) => {\r\n\t\t\t\t\t\tif (taskItem.isSelected) {\r\n\t\t\t\t\t\t\tsetValue(systemItem?.systemId.toString(), taskItem?.taskId)\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t})\r\n\t\t\t\t})\r\n\t\t\t}\r\n\t\t}\r\n\t}, [systemTaskLookup])\r\n\r\n\tconst onFormSubmit = (data: any) => {\r\n\t\tif (!selectedSystemTask?.length) {\r\n\t\t\tsetDisplayInfoModal(true)\r\n\t\t\tsetMessage(\"Atleast one task need to be selected for the Project\")\r\n\t\t}\r\n\t\telse if (new Date(data.startDate) > new Date(data.endDate)) {\r\n\t\t\tsetDisplayInfoModal(true)\r\n\t\t\tsetMessage(\"End Date should be greater than Start Date\")\r\n\t\t}\r\n\t\telse {\r\n\t\t\tlet submitData: {\r\n\t\t\t\tprojectName: string;\r\n\t\t\t\tProjectOwner: string;\r\n\t\t\t\tendDate: any;\r\n\t\t\t\tstartDate: any;\r\n\t\t\t\temail: string;\r\n\t\t\t\tselectedTaskList: any;\r\n\t\t\t\tbranchId: string\r\n\t\t\t} = {\r\n\t\t\t\tprojectName: data.projectName?.trim(),\r\n\t\t\t\tProjectOwner: data.projectOwner?.trim(),\r\n\t\t\t\tendDate: moment(data?.endDate).format(\"yyyy-MM-DD\").toString(),\r\n\t\t\t\tstartDate: moment(data?.startDate).format(\"yyyy-MM-DD\").toString(),\r\n\t\t\t\temail: data.email?.trim(),\r\n\t\t\t\tselectedTaskList: selectedSystemTask,\r\n\t\t\t\tbranchId: data.branchOfficeId?.trim()\r\n\t\t\t};\r\n\r\n\t\t\tonAddUpdateProjectDetailsClick && onAddUpdateProjectDetailsClick(submitData);\r\n\t\t\tdispatch(setcheckIsValueChanged(false))\r\n\t\t}\r\n\t}\r\n\r\n\tconst onAddUpdateProjectDetailsClick = (submitData: any) => {\r\n\t\tsubmitData = { ...submitData, \"projectName\": submitData.projectName.replace(/\\s+/g, ' ')?.trim() };\r\n\t\tisAdd?\r\n\t\tdispatch(\r\n\t\t\tonAddProjectDetails(\r\n\t\t\t\tsubmitData,\r\n\t\t\t\tsetMessage,\r\n\t\t\t\tsetNewProjectData\r\n\t\t\t)\r\n\t\t):dispatch(\r\n\t\t\tonUpdateProjectDetails(\r\n\t\t\t\tselectedProjectId,\r\n\t\t\t\tfalse,\r\n\t\t\t\tsubmitData,\r\n\t\t\t\tsetMessage,\t\t\t\t\r\n\t\t\t));\r\n\t};\r\n\tconst getFormErrorMessage = (name) => {\r\n\t\treturn (\r\n\t\t\terrors[name] && (\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t{errors[name].message}\r\n\t\t\t\t\r\n\t\t\t)\r\n\t\t);\r\n\t};\r\n\r\n\tconst getSelectedSystemTask = (selectedSystem, taskId) => {\r\n\t\tif(!isAdd)\r\n\t\t{\r\n\t\t\tselectedSystem.tasklist.forEach(i => {\r\n\t\t\t\ti.isSelected = false\r\n\t\t\t });\r\n\r\n\t\t}\r\n\t\tlet selectedTask: { systemId: string, inspectionTaskId: string }[] = [];\r\n\t\tselectedSystemTask?.map((item: any) => {\r\n\t\t\tif (!(item.systemId == selectedSystem.systemId)) {\r\n\t\t\t\tselectedTask.push({\r\n\t\t\t\t\tsystemId: item.systemId,\r\n\t\t\t\t\tinspectionTaskId: item.inspectionTaskId\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tlet systemtask: { isSelected: boolean; systemName: string; systemId: string; tasklist: any ; }[] = [];\r\n\t\tsystemTaskLookup?.map((item: any) => {\r\n\r\n\t\t\tif (item.systemId == selectedSystem.systemId && taskId != \"--Select--\") {\r\n\t\t\t\tsystemtask.push({\r\n\t\t\t\t\tisSelected: true,\r\n\t\t\t\t\tsystemName: item.systemName,\r\n\t\t\t\t\tsystemId: item.systemId,\r\n\t\t\t\t\ttasklist: item.tasklist,\r\n\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t\telse if (item.systemId == selectedSystem.systemId && taskId == \"--Select--\") {\r\n\t\t\t\tsystemtask.push({\r\n\t\t\t\t\tisSelected: false,\r\n\t\t\t\t\tsystemName: item.systemName,\r\n\t\t\t\t\tsystemId: item.systemId,\r\n\t\t\t\t\ttasklist: item.tasklist,\r\n\t\t\t\t});\r\n\t\t\t} else {\r\n\t\t\t\tsystemtask.push({\r\n\t\t\t\t\tisSelected: item.isSelected,\r\n\t\t\t\t\tsystemName: item.systemName,\r\n\t\t\t\t\tsystemId: item.systemId,\r\n\t\t\t\t\ttasklist: item.tasklist,\r\n\r\n\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t\treturn null;\r\n\t\t});\r\n\t\tsetSystemTaskLookup(systemtask);\r\n\r\n\t\tif (taskId != \"--Select--\") {\r\n\t\t\tselectedTask.push({\r\n\t\t\t\tsystemId: selectedSystem.systemId,\r\n\t\t\t\tinspectionTaskId: taskId\r\n\t\t\t});\r\n\t\t\tdispatch(setcheckIsValueChanged(true))\r\n\t\t}\r\n\t\tsetSelectedSystemTask(selectedTask);\r\n\t\t\r\n\t};\r\n\r\n\tconst CustomDropDown = (props,key) =>{\r\n return (\r\n\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t
\r\n\t\t\t\t (\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t{props?.tasklist &&\r\n\t\t\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t\t\t\tfield.onChange(e.value);\r\n\t\t\t\t\t\t\t\t\t\tgetSelectedSystemTask(props, e.value)\r\n\r\n\t\t\t\t\t\t\t\t\t}}\r\n\t\t\t\t\t\t\t\t\toptions={\r\n\t\t\t\t\t\t\t\t\t\tprops?.tasklist\r\n\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\toptionLabel=\"taskName\"\r\n\t\t\t\t\t\t\t\t\toptionValue=\"taskId\"\r\n\t\t\t\t\t\t\t\t/>}\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t)}\r\n\t\t\t\t/>\r\n\t\t\t
\r\n\t)\r\n\t}\r\n\t\r\n\r\n\r\n\r\n\treturn (\r\n\r\n\t\t
\r\n\t\t\t
Project Details
\r\n\t\t\t
\r\n\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t\t\t\t\t\treturn value.trim().length<=0\r\n\t\t\t\t\t\t\t\t\t\t\t\t ?\"Project Name is required.\":true\r\n\t\t\t\t\t\t\t\t\t\t\t },\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t}}\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\trender={({ field, fieldState }) => (\r\n\t\t\t\t\t\t\t\t\t\t\t\t {\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tfield.onChange(e.target.value);\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tif((e.target.value.length) > 0) {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tdispatch(setcheckIsValueChanged(true))}\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\telse{\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tdispatch(setcheckIsValueChanged(false))\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t}}\r\n\t\t\t\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t\t\t)}\r\n\t\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t{getFormErrorMessage(\"projectName\")}\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t\t\t\t\t\treturn value.trim().length<=0\r\n\t\t\t\t\t\t\t\t\t\t\t\t ?\"Project Owner is required.\":true\r\n\t\t\t\t\t\t\t\t\t\t\t },\r\n\t\t\t\t\t\t\t\t\t\t}}\r\n\t\t\t\t\t\t\t\t\t\t\trender={({ field, fieldState }) => (\r\n\t\t\t\t\t\t\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tfield.onChange(e.target.value);\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tif((e.target.value.length) > 0) {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tdispatch(setcheckIsValueChanged(true))}\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\telse{\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tdispatch(setcheckIsValueChanged(false))\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t}}\r\n\t\t\t\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t\t\t)}\r\n\t\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t{getFormErrorMessage(\"projectOwner\")}\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t (\r\n\t\t\t\t\t\t\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tfield.onChange(e.target.value);\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlet pattern = RegExp(/^\\s*[A-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,4}\\s*$\\s*/i);\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlet input = e.target.value;\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tif (pattern.test(input)) {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tdispatch(setcheckIsValueChanged(true))\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tdispatch(setcheckIsValueChanged(false))\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t}}\r\n\t\t\t\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t\t\t)}\r\n\t\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t{getFormErrorMessage(\"email\")}\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\treturn value === \"--Select--\" ? \"Select a branch\" : undefined;\r\n\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\t}}\r\n\t\t\t\t\t\t\t\t\t\t\trender={({ field, fieldState }) => (\r\n\t\t\t\t\t\t\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tfield.onChange(e.value);\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tonBranchChange((e.value))\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t}}\r\n\t\t\t\t\t\t\t\t\t\t\t\t\toptions={branchLookup}\r\n\t\t\t\t\t\t\t\t\t\t\t\t\toptionLabel=\"name\"\r\n\t\t\t\t\t\t\t\t\t\t\t\t\toptionValue=\"branchOfficeId\"\r\n\t\t\t\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t\t\t)}\r\n\t\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t{getFormErrorMessage(\"branchOfficeId\")}\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t{systemTaskLookup && systemTaskLookup.length\r\n\t\t\t\t\t\t\t\t\t\t\t\t?\r\n\t\t\t\t\t\t\t\t\t\t\t\tsystemTaskLookup.map((propsItem: any, key: any) => (\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t{CustomDropDown(propsItem,key)}\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\t)) : No Systems Found}\r\n\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t (\r\n\t\t\t\t\t\t\t\t\t\t\t\t {field.onChange(e.value);\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tdispatch(setcheckIsValueChanged(true))\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t\t\t)} />\r\n\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t{getFormErrorMessage(\"startDate\")}\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t (\r\n\t\t\t\t\t\t\t\t\t\t\t\t {field.onChange(e.value);\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tdispatch(setcheckIsValueChanged(true))}} />\r\n\t\t\t\t\t\t\t\t\t\t\t)} />\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t{getFormErrorMessage(\"endDate\")}\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t
\r\n\t);\r\n})\r\n\r\nexport default ProjectDetails;\r\n\r\n\r\n\r\n\r\n","import { InputText } from 'primereact/inputtext';\r\nimport { BsExclamationCircleFill } from 'react-icons/bs';\r\n\r\n\r\n\r\nconst getErrorMsg = options => {\r\n const { value } = options;\r\n if(value.trim().length<=0 || !value?.trim()){\r\n return 'This field is required';\r\n }\r\n };\r\n\r\n const textEditor = (options) => {\r\n const errorMsg = getErrorMsg(options);\r\n return <>\r\n options.editorCallback(e.target.value)} />\r\n {errorMsg && {errorMsg}}\r\n \r\n}\r\n\r\n\r\nexport const GOAL_COLS = [\r\n {\r\n field: 'projectGoals',\r\n header: 'GOAL',\r\n editor: (options) => textEditor(options),\r\n style: { flex: '1 0 100px' },\r\n sortable: true,\r\n },\r\n\r\n];","import React, {forwardRef, useEffect, useImperativeHandle,useRef, useState,useCallback} from \"react\";\r\nimport { useForm, Controller } from \"react-hook-form\";\r\nimport { InputText } from \"primereact/inputtext\";\r\nimport { classNames } from \"primereact/utils\";\r\nimport { ScrollPanel } from 'primereact/scrollpanel';\r\nimport { Button } from \"primereact/button\";\r\nimport { BsExclamationCircleFill, BsPlusLg, BsTrashFill,} from 'react-icons/bs';\r\nimport { DataTableComponent } from \"components/Table/DataTable\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\nimport { GOAL_COLS } from \"../ReportComponents/GoalData\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { addGoal, onGetGoalList, onGoalUpdated, setgoalList,deleteSelectedProjectGoal, clearDeletedGoalIds,setcheckIsValueChanged, setTabChangeMessageHandler, setTabChangeMessage } from \"redux/pages/Reports/ProvenOutcomesSlice\";\r\nimport InformationBox from \"components/common/Message/InformationBox/InformationBox\";\r\nimport { Overlay, Tooltip } from \"react-bootstrap\";\r\nimport ConfirmationBox from \"components/common/Message/ConfirmationBox/ConfirmationBox\";\r\n\r\n\r\n\r\ninterface Props {\r\n\tselectedProjectId: any;\r\n}\r\ntype FormData = {\r\n\tgoal: string;\r\n\tdescription: string;\r\n\tstartDate: string;\r\n\tendDate: string;\r\n};\r\n\r\nexport const Goals = forwardRef((props, ref) => {\r\n\tconst {selectedProjectId } = props;\r\n\r\n\tconst [pageIndex, setPageIndex] = useState(0);\r\n const [message, setMessage] = useState(\"\");\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const [displayConfirmModal, setDisplayConfirmModal] = useState(false);\r\n\tconst [selectedRows, setSelectedRows] = useState([]);\r\n\tconst [currentStart, setCurrentStart] = useState([]);\r\n\tconst [sortField, setSortField] = useState('');\r\n\tconst [sortOrder, setSortOrder] = useState('');\r\n\tconst [newGoal, setnewGoal] = useState('');\r\n\tconst [target, setTarget] = useState(null);\r\n const [rowNumber, setRowNumber] = useState(\"\");\r\n const [field, SetField] = useState(\"\");\r\n const[disableDeleteButton ,setDisableDeleteButton] = useState(false);\r\n\r\n\t\r\n\tconst goalList = useAppSelector((state) => state.provenOutcomes.goalList);\r\n const goalListDetails = useAppSelector((state) => state.provenOutcomes.goalListDetails);\r\n\tconst deletedGoalIds = useAppSelector((state) => state.provenOutcomes.deletedGoalIds);\r\n\r\n\r\n\tconst addForm = useRef(null);\r\n\tconst dispatch = useDispatch();\r\n\tconst {\r\n\t\tcontrol,\r\n\t\tformState: { errors },\r\n\t\thandleSubmit,\r\n\t\tsetValue, \r\n\t} = useForm({\r\n\t\tdefaultValues: {\r\n\t\t\tgoal: \"\"\r\n\t\t}\r\n\t});\r\n\r\n\tuseImperativeHandle(ref, () => ({\r\n\t\trequestSubmit: () => {\r\n\t\t\taddForm?.current?.requestSubmit();\r\n\t\t},\r\n\t}));\r\n\r\n\tuseEffect(() => {\r\n\t\tdispatch(onGetGoalList(selectedProjectId,1));\r\n\t }, [dispatch])\r\n\r\n\tuseEffect(() => {\r\n\t\tif (goalList?.length) {\r\n\t\t\tif(selectedRows && selectedRows?.length)\r\n\t\t\t{\r\n\t\t\t\tsetSelectedRows([goalList[0]]);\r\n\t\t\t}\r\n\t\t\telse if (newGoal) {\r\n\t\t\t\tsetSelectedRows([newGoal])\r\n\t\t\t }\t\r\n\t\tsetDisableDeleteButton(false);\r\n\t\t}\r\n\t\telse{\r\n\t\t\tsetDisableDeleteButton(true);\r\n\t\t}\r\n\t}, [goalList]);\r\n\r\n\tuseEffect(() => { \t \r\n\t\tif(newGoal?.uniqueProjectGoalId) { \r\n\t\tlet goal: { uniqueProjectGoalId: string; projectId: any; projectGoals: string; projectGoalId: any; }[] = [];\r\n\t\t goal.push({\r\n\t\t\tuniqueProjectGoalId: newGoal.uniqueProjectGoalId,\r\n\t\t\tprojectId: newGoal.projectId,\r\n\t\t\tprojectGoals : newGoal.projectGoals,\r\n\t\t\tprojectGoalId :newGoal.projectGoalId\r\n\t\t});\r\n\t\t\r\n\t\tgoalList?.map((item: any) => {\r\n\t\t\tgoal.push({\r\n\t\t\tuniqueProjectGoalId: item.uniqueProjectGoalId,\r\n\t\t\tprojectId: item.projectId,\r\n\t\t\tprojectGoals : item.projectGoals,\r\n\t\t\tprojectGoalId :item.projectGoalId\r\n\t\t\t});\r\n\t\t})\r\n\t\tdispatch(setgoalList(goal));\r\n\t}\r\n\t}, [newGoal]);\r\n\r\n\tuseEffect(() => {\r\n\t\tif (deletedGoalIds?.length) {\r\n\t\t let datas = JSON.parse(JSON.stringify(goalList));\r\n\t\t \tdeletedGoalIds?.map((element) => {\r\n\t\t\tdatas = datas.filter( (item: any) => item.uniqueProjectGoalId !== element); });\r\n\t\t\tdispatch(setgoalList(datas))\r\n\t\t \tdispatch(clearDeletedGoalIds([]))\r\n\t\r\n\t\t}\r\n\t }, [deletedGoalIds]);\r\n\t\r\n\t const handleRowSelect = useCallback((data: any) => {\r\n\t\tsetSelectedRows([...data]);\r\n\t}, []);\r\n\t\r\n\t const onSort = (event) => {\r\n\t\tlet sortDirection: string;\r\n\t\tif (event.sortOrder === 1)\r\n\t\t sortDirection = \"ASC\"\r\n\t\telse\r\n\t\t sortDirection = \"DESC\"\r\n\t\tsetSortField(event.sortField)\r\n\t\tsetSortOrder(sortDirection)\r\n\t\tdispatch(onGetGoalList(selectedProjectId,currentStart, event?.sortField, sortDirection)); \r\n\t }\r\n\r\n\tconst getFormErrorMessage = (goal) => {\r\n\t\treturn (\r\n\t\t\terrors[goal] && (\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t{errors[goal].message}\r\n\t\t\t\t\r\n\t\t\t)\r\n\t\t);\r\n\t};\r\n\t\r\n\tconst onPageChanged = (options: any) => {\r\n\t\tif (options !== pageIndex) { \r\n\t\t\tlet currentStart = (options * goalListDetails?.currentLength) + 1;\r\n\t\t\tsetPageIndex(options)\r\n\t\t\tsetCurrentStart(currentStart)\r\n\t\t dispatch(onGetGoalList(selectedProjectId,currentStart,sortField,sortOrder)); \r\n\t\t}\r\n\t};\r\n\r\n\tconst onGoalAdd = (data: any) => {\r\n\t\t let body = {\r\n\t\t\tprojectgoals:(data?.goal).trim(),\r\n\t\t\tuniqueProjectId:selectedProjectId\r\n\t\t }\t\t\r\n\t\t dispatch(addGoal(body,setMessage,setnewGoal));\r\n\t\t setValue(\"goal\",\"\")\r\n\t\t dispatch(setcheckIsValueChanged(false))\r\n\t\t dispatch(setTabChangeMessageHandler(true))\r\n\t\t dispatch(setTabChangeMessage('Goal added'))\t\t\t\r\n\t}\r\n\tconst updateGoal = (submitData: any) => {\r\n let body = {\r\n\t\t\tprojectGoals:(submitData?.projectGoals).trim(),\r\n\t\t\tuniqueProjectGoalId:submitData.uniqueProjectGoalId\r\n }\r\n dispatch(onGoalUpdated(body,setMessage,setDisplayInfoModal));\r\n };\r\n\r\n\tconst onDeleteClick = () =>{\t\t\r\n\t\tsetMessage(\"Are you sure you want to delete the selected Goal(s)?\")\r\n\t\tsetDisplayConfirmModal(true)\r\n\t}\r\n\tconst deleteGoals = () => {\r\n\t\tlet list:{}[]=[];\r\n\t\tselectedRows.map((item:any)=>{\r\n\t\t\tlist.push(item.uniqueProjectGoalId)\r\n\t\t},[])\r\n\t\tsetDisplayConfirmModal(false)\r\n\t\tdispatch(deleteSelectedProjectGoal(list, setMessage,setDisplayInfoModal))\r\n\t};\r\n\tconst onRowEditValidation = (rowData: any) => {\r\n\t\tlet value = true;\t\t\r\n\t\tif((rowData.projectGoals).trim().length<=0 || !rowData.projectGoals){\r\n\t\t\tsetMessage(`Goal is required`);\r\n\t\t\tsetDisplayInfoModal(true);\r\n\t\t\tvalue = false;\r\n\t\t}\r\n\t\treturn value;\r\n\t };\r\n\r\n\t const onShowToolTip = (e, indexData, options) => {\r\n\t\tif (options?.field === \"projectGoals\"&& e.currentTarget.offsetWidth > e.currentTarget.offsetParent.offsetWidth ) {\r\n\t\t setTarget(e.currentTarget);\r\n\t\t setRowNumber(indexData?.RowNumber);\r\n\t\t SetField( indexData?.[\"projectGoals\"])\r\n\t\t}\r\n\t };\r\n\t\r\n\t const onHideToolTip = () => {\r\n\t\tsetTarget(null);\r\n\t\tsetRowNumber(\"\");\r\n\t\tSetField(\"\");\r\n\t };\r\n\r\n\t const parentTemplate = (rowData, options) => {\r\n \r\n\t\treturn ( \r\n\t\t
\r\n\t\t\t <>\r\n\t\t\t\t\r\n\t\t\t\t \r\n\t\t\t\t
{field}
\r\n\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t onShowToolTip(e, rowData, options)}\r\n\t\t\t\t onMouseLeave={() => onHideToolTip()}\r\n\t\t\t\t className=\"table-col\"\r\n\t\t\t\t>\r\n\t\t\t\t{rowData?.[\"projectGoals\"]}\r\n\t\t\t\t\r\n\t\t\t \r\n\t\t\t\r\n\t\t
\r\n\t\t);\r\n\t\t\t};\r\n\t\t\r\n\r\n\t\t\r\n\r\n\treturn (\r\n <>\r\n
\r\n
GOALS
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n {\r\n return value.trim().length <= 0\r\n ? \"Goal is required.\"\r\n : true;\r\n },\r\n }}\r\n render={({ field, fieldState }) => (\r\n {\r\n\t\t\t\t\t\t\t\tfield.onChange(e.target.value);\r\n\t\t\t\t\t\t\t\tdispatch(setcheckIsValueChanged(true))\r\n\t\t\t\t\t\t\t}}\r\n />\r\n )}\r\n />\r\n \r\n {getFormErrorMessage(\"goal\")}\r\n \r\n
\r\n
\r\n
\r\n {/* \r\n\r\n \r\n \r\n \r\n
\r\n }\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n})\r\n\r\nexport default Goals;\r\n","import { Calendar } from 'primereact/calendar';\r\nimport { InputText } from 'primereact/inputtext';\r\n\r\nconst textEditor = (options) => {\r\n return options.editorCallback(e.target.value)} />;\r\n}\r\nconst dateEditor = (options) => {\r\n return options.editorCallback(e.target.value)} />\r\n }\r\n\r\nexport const DEFICIENCY_LIST_COLS = [\r\n {\r\n field: 'address',\r\n header: 'Address',\r\n editor: (options) => textEditor(options),\r\n style: { flex: '1 0 100px' },\r\n sortable: true\r\n },\r\n {\r\n field: 'type',\r\n header: 'Type',\r\n editor: (options) => textEditor(options),\r\n style: { flex: '1 0 100px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'locationInBuilding',\r\n header: 'Location In Building',\r\n editor: (options) => textEditor(options),\r\n style: { flex: '1 0 150px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'date',\r\n header: 'Date',\r\n editor: (options) => textEditor(options),\r\n style: { flex: '1 0 100px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'comments',\r\n header: 'Comments',\r\n editor: (options) => textEditor(options),\r\n style: { flex: '1 0 100px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'correctedDate',\r\n header: 'Corrected Date',\r\n editor: (options) => dateEditor(options),\r\n style: { flex: '1 0 150px' },\r\n sortable: true,\r\n }\r\n\r\n];","import React, { useEffect, useState,useCallback } from 'react';\r\nimport { useAppSelector } from 'redux/hooks';\r\nimport { DataTableComponent } from 'components/Table/DataTable';\r\nimport { DEFICIENCY_LIST_COLS } from './DeficiencyListData';\r\nimport { Dialog } from 'primereact/dialog';\r\nimport { onUpdateDeficiencyList,onGetInspectionDeficiencyList } from 'redux/pages/Reports/ProvenOutcomesSlice';\r\nimport { useDispatch } from \"react-redux\";\r\nimport InformationBox from 'components/common/Message/InformationBox/InformationBox';\r\nimport moment from 'moment';\r\ninterface Props {\r\n\tshowModal: boolean;\r\n\tsetShowModal: (state: boolean) => void;\r\n\tsystemId: any;\r\n\tselectedProjectId: any;\r\n}\r\n\r\nexport const DeficiencyList: React.FC = ({\r\n\tshowModal = false,\r\n\tsetShowModal = () => {},\r\n\tsystemId = \"\",\r\n\tselectedProjectId = \"\",\r\n}) => {\r\n\r\n\tconst inspectionDeficiencyPageDetails = useAppSelector(\r\n\t\t(state) => state.provenOutcomes.inspectionDeficiencyPageDetails\r\n\t );\r\n\t const inspectionDeficiencyList = useAppSelector(\r\n\t\t(state) => state.provenOutcomes.inspectionDeficiencyList\r\n\t );\r\n\r\n\tconst [DeficiencyListData, setDeficiencyListData] = useState([]);\r\n\tconst [pageIndex, setPageIndex] = useState(0);\r\n\tconst [selectedRows, setSelectedRows] = useState([]);\r\n\tconst [currentStart, setCurrentStart] = useState([]);\r\n\tconst [sortField, setSortField] = useState(\"\");\r\n\tconst [sortOrder, setSortOrder] = useState(\"\");\r\n\tconst [message, setMessage] = useState(\"\");\r\n\tconst [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n\t\r\n\tuseEffect(() => {\r\n\t\tdispatch(onGetInspectionDeficiencyList(selectedProjectId, systemId, 0, \"\", \"\"));\r\n\t}, []);\r\n\r\n\tuseEffect(() => {\r\n\t\tif (inspectionDeficiencyList?.length) {\r\n\t\t\tsetDeficiencyListData(inspectionDeficiencyList);\r\n\t\t}\r\n\t}, [inspectionDeficiencyList]);\r\n\r\n\tconst handleRowSelect = useCallback((data: any) => {\r\n\t\tsetSelectedRows(data)\r\n\t}, [])\r\n\r\n\tconst dispatch = useDispatch();\r\n\r\n\tconst onRowEditClick = (rowData) => {\r\n\t\tlet isEditable = false;\r\n if (selectedRows && selectedRows.length === 1) {\r\n isEditable = true;\r\n }\r\n return isEditable;\r\n }\r\n\r\n\tconst onDeficiencyListRowEdit = (submitData: any) => {\r\n\t\tlet uniqueProjectId: any;\r\n\t\tuniqueProjectId = submitData.projectId;\r\n\t\tif (submitData?.correctedDate == \" \") {\r\n\t\t\tsubmitData.correctedDate = moment(new Date()).format(\"yyyy-MM-DD\").toString();\r\n\t\t}\r\n\t\tlet body = {\r\n\t\t\tsystemId: systemId,\r\n\t\t\tprojectId: selectedProjectId,\r\n\t\t\tequipmentId: submitData?.equipmentId,\r\n\t\t\tcorrectedDate: moment(submitData.correctedDate).format(\"yyyy-MM-DD\").toString(),\r\n\t\t\taddress: submitData.address,\r\n\t\t\ttype: submitData.type,\r\n\t\t\tlocationInBuilding: submitData.locationInBuilding,\r\n\t\t\tdate: submitData.date,\r\n\t\t\tcomments: submitData.comments\r\n\t\t}\r\n\t\tdispatch(onUpdateDeficiencyList(uniqueProjectId, body, setMessage, setDisplayInfoModal));\r\n\t};\r\n\r\n\tconst onSort = (event) => {\r\n\t\tlet sortDirection: string;\r\n\t\tif (event.sortOrder === 1)\r\n\t\t\tsortDirection = \"ASC\"\r\n\t\telse\r\n\t\t\tsortDirection = \"DESC\"\r\n\t\tsetSortField(event.sortField)\r\n\t\tsetSortOrder(sortDirection)\r\n\t\tdispatch(\r\n\t\t\tonGetInspectionDeficiencyList(\r\n\t\t\t\tselectedProjectId,\r\n\t\t\t\tsystemId,\r\n\t\t\t\tpageIndex,\r\n\t\t\t\tevent?.sortField,\r\n\t\t\t\tsortDirection\r\n\t\t\t)\r\n\t\t);\r\n\t};\r\n\t\r\n\t const onPageChanged = (options: any) => {\r\n\t\tif (options !== pageIndex) {\r\n\t\t let currentStart = (options * inspectionDeficiencyPageDetails?.currentLength) + 1;\r\n\t\t setPageIndex(options);\r\n\t\t setCurrentStart(currentStart);\r\n\t\t dispatch(\r\n\t\t\tonGetInspectionDeficiencyList(\r\n\t\t\t selectedProjectId,\r\n\t\t\t systemId,\r\n\t\t\t pageIndex,\r\n\t\t\t sortField,\r\n\t\t\t sortOrder\r\n\t\t\t)\r\n\t\t );\r\n\t\t}\r\n\t };\r\n\r\n\treturn (\r\n\r\n\t\t setShowModal(false)}\r\n className=\"display-settings personal selectsite deficiency-list\"\r\n >\r\n
\r\n
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t
\r\n
\r\n \r\n\r\n\t);\r\n}\r\n\r\nexport default DeficiencyList;\r\n\r\n\r\n","\r\nexport const TRUNAROUND_COLS = [\r\n {\r\n field: \"reportName\",\r\n header: \"Report Name\",\r\n style: { flex: \"1 0 150px\" },\r\n sortable: true,\r\n },\r\n {\r\n field: \"workCompletionDate\",\r\n header: \"Work Completion Date\",\r\n style: { flex: \"1 0 120px\" },\r\n sortable: true,\r\n },\r\n {\r\n field: \"reportDeliveryDate\",\r\n header: \"Report Delivery Date\",\r\n style: { flex: \"1 0 140px\" },\r\n sortable: true,\r\n },\r\n {\r\n field: \"turnAroundDays\",\r\n header: \"Days / Turnaround\",\r\n style: { flex: \"1 0 30px\" },\r\n sortable: true,\r\n align: \"right\",\r\n },\r\n];\r\n","import React, { useEffect, useState } from \"react\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\nimport { DataTableComponent } from \"components/Table/DataTable\";\r\nimport { TRUNAROUND_COLS } from \"./TurnAroundData\";\r\nimport { Dialog } from \"primereact/dialog\";\r\nimport { onGetInspectionTurnAroundList } from \"redux/pages/Reports/ProvenOutcomesSlice\";\r\nimport { useDispatch } from \"react-redux\";\r\ninterface Props {\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n systemId: any;\r\n selectedProjectId: any;\r\n}\r\nexport const TurnAroundList: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => {},\r\n systemId = \"\",\r\n selectedProjectId = \"\",\r\n}) => {\r\n const [TurnAroundData, setTurnAroundData] = useState([]);\r\n const TurnAroundPageDetails = useAppSelector(\r\n (state) => state.provenOutcomes.inspectionTurnAroundPageDetails\r\n );\r\n const inspectionTurnAroundList = useAppSelector(\r\n (state) => state.provenOutcomes.inspectionTurnAroundList\r\n );\r\n\r\n const [pageIndex, setPageIndex] = useState(0);\r\n const dispatch = useDispatch();\r\n const [pageDetails, setPageDetails] = useState(null);\r\n const [currentStart, setCurrentStart] = useState([]);\r\n const [sortField, setSortField] = useState(\"\");\r\n const [sortOrder, setSortOrder] = useState(\"\");\r\n\r\n \r\n const onSort = (event) => {\r\n let sortDirection: string;\r\n if (event.sortOrder === 1) sortDirection = \"ASC\";\r\n else sortDirection = \"DESC\";\r\n setSortField(event.sortField);\r\n setSortOrder(sortDirection);\r\n dispatch(\r\n onGetInspectionTurnAroundList(\r\n selectedProjectId,\r\n systemId,\r\n pageIndex,\r\n event?.sortField,\r\n sortDirection\r\n )\r\n );\r\n };\r\n\r\n const onPageChanged = (options: any) => {\r\n if (options !== pageIndex) {\r\n let currentStart = (options * TurnAroundPageDetails?.currentLength) + 1;\r\n setPageIndex(options);\r\n setCurrentStart(currentStart);\r\n dispatch(\r\n onGetInspectionTurnAroundList(\r\n selectedProjectId,\r\n systemId,\r\n pageIndex,\r\n sortField,\r\n sortOrder\r\n )\r\n );\r\n }\r\n };\r\n useEffect(() => {\r\n if (systemId) dispatch(onGetInspectionTurnAroundList(selectedProjectId,systemId, 1));\r\n }, []);\r\n\r\n useEffect(() => {\r\n\t\tif (inspectionTurnAroundList?.length) {\r\n\t\t\tsetPageDetails(TurnAroundPageDetails);\r\n\t\t\tsetTurnAroundData(inspectionTurnAroundList);\r\n\t}}, [inspectionTurnAroundList]);\r\n\t\r\n\r\n return (\r\n setShowModal(false)}\r\n className=\"display-settings personal selectsite turnaround-list\"\r\n >\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n );\r\n};\r\n\r\nexport default TurnAroundList;\r\n","\r\nimport { Dropdown } from 'primereact/dropdown';\r\nimport { InputText } from 'primereact/inputtext';\r\n\r\n\r\nconst statusList = [\r\n { label: 'Yes', value: 'Yes' },\r\n { label: 'No', value: 'No' },\r\n ];\r\n\r\nconst textEditor = (options) => {\r\n return options.editorCallback(e.target.value)} />;\r\n}\r\nconst nameversionEditor = (options) => {\r\n return options.editorCallback(e.target.value)} />;\r\n}\r\n\r\nconst recommendEditor = (options) => {\r\n\r\n return (\r\n options.editorCallback(e.value)} placeholder=\"Select\"\r\n itemTemplate={(option) => {\r\n return {option.label}\r\n }} />\r\n );\r\n }\r\n\r\n\r\nexport const SOFTWAREVERAIONUPDATES_COLS = [\r\n {\r\n field: 'equipmentName',\r\n header: 'Name',\r\n editor: (options) => nameversionEditor(options),\r\n style: { flex: '1 0 100px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'currentVersion',\r\n header: 'Current Version',\r\n editor: (options) => nameversionEditor(options),\r\n style: { flex: '1 0 100px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'newVersion',\r\n header: 'New Version',\r\n editor: (options) => textEditor(options),\r\n style: { flex: '1 0 100px' },\r\n sortable: true,\r\n },\r\n {\r\n field: 'recommend',\r\n header: 'Recommend',\r\n editor: (options) => recommendEditor(options),\r\n style: { flex: '1 0 100px' },\r\n sortable: true,\r\n },\r\n\r\n];","import React, { useCallback, useEffect, useState } from \"react\";\r\nimport { useForm } from \"react-hook-form\";\r\nimport { DataTableComponent } from \"components/Table/DataTable\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\nimport { SOFTWAREVERAIONUPDATES_COLS } from \"./SoftwareVersionUpdatesData\";\r\nimport { Dialog } from \"primereact/dialog\";\r\nimport InformationBox from \"components/common/Message/InformationBox/InformationBox\";\r\nimport { onGetSoftwareVersionList, onUpdateSoftwareVersion,setSoftwareVersionList } from \"redux/pages/Reports/ProvenOutcomesSlice\";\r\nimport { useDispatch } from \"react-redux\";\r\ninterface Props {\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n systemId: any;\r\n selectedProjectId: any;\r\n}\r\n\r\ntype FormData = {\r\n recommend: string;\r\n name: string;\r\n newversion :string;\r\n currentversion : string;\r\n};\r\n\r\nexport const SoftwareVersionUpdates: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => { },\r\n systemId = \"\",\r\n selectedProjectId = \"\",\r\n}) => {\r\n const [softwareVersionPageDetailData, setSoftwareVersionPageDetail] = useState([]);\r\n const [pageIndex, setPageIndex] = useState(0);\r\n const [message, setMessage] = useState(\"\");\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const softwareVersionList = useAppSelector((state) => state.provenOutcomes.softwareVersionList);\r\n const softwareVersionPageDetails = useAppSelector((state) => state.provenOutcomes.softwareVersionPageDetails);\r\n const [selectedRows, setSelectedRows] = useState([]);\r\n\tconst [currentStart, setCurrentStart] = useState(0);\r\n\tconst [sortField, setSortField] = useState('');\r\n\tconst [sortOrder, setSortOrder] = useState('');\r\n const dispatch = useDispatch();\r\n const [softwareVersionData, setsoftwareVersionData] = useState([]);\r\n \r\n const {\r\n\t} = useForm({\r\n\t\tdefaultValues: {\r\n recommend: \"\",\r\n name: \"\",\r\n newversion :\"\",\r\n currentversion : \"\",\r\n\t\t},\r\n\t});\r\n\r\n useEffect(() => {\r\n dispatch(onGetSoftwareVersionList(selectedProjectId,systemId,currentStart,sortField,sortOrder));\r\n },[])\r\n\r\n useEffect(() => {\r\n if (softwareVersionList?.length) {\r\n setSoftwareVersionPageDetail(softwareVersionPageDetails)\r\n setsoftwareVersionData(softwareVersionList);\r\n if(selectedRows && selectedRows?.length)\r\n {\r\n setSelectedRows(selectedRows);\r\n }\r\n else\r\n setSelectedRows([softwareVersionList[0]]);\r\n \r\n }\r\n}, [softwareVersionList]);\r\n\r\nconst onClose = () => {\r\n dispatch(setSoftwareVersionList([]));\r\n setShowModal(false)\r\n}\r\n\r\n const onPageChanged = (options: any) => {\r\n\t\tif (options !== pageIndex) { \r\n\t\t\tlet currentStart = (options * softwareVersionPageDetails?.currentLength) + 1;\r\n\t\t\tsetPageIndex(options)\r\n\t\t\tsetCurrentStart(currentStart)\r\n\t\t dispatch(onGetSoftwareVersionList(selectedProjectId,systemId,currentStart,\"\",sortField,sortOrder)); \r\n\t\t}\r\n\t};\r\n\r\n const onSort = (event) => {\r\n\t\tlet sortDirection: string;\r\n\t\tif (event.sortOrder === 1)\r\n\t\t sortDirection = \"ASC\"\r\n\t\telse\r\n\t\t sortDirection = \"DESC\"\r\n\t\tsetSortField(event.sortField)\r\n\t\tsetSortOrder(sortDirection) \r\n\t\tdispatch(onGetSoftwareVersionList(selectedProjectId,systemId,currentStart,\"\",event?.sortField,sortDirection)); \r\n\t }\r\n\r\n const handleRowSelect = useCallback((data: any) => {\r\n setSelectedRows([...data])\r\n\t }, []);\r\n\r\n const updateSoftwareVersion = (submitData: any) => {\r\n let uniqueSoftwareVersionId: any;\r\n uniqueSoftwareVersionId = submitData.uniqueProjectId; \r\n \r\n let body = {\r\n systemId : systemId,\r\n projectId : selectedProjectId,\r\n equipmentId : submitData?.equipmentId,\r\n inspectionTaskId : submitData?.inspectionTaskId,\r\n equipmentname: submitData?.equipmentName,\r\n currentVersion : submitData?.currentVersion,\r\n newVersion : submitData?.newVersion,\r\n recommend : submitData?.recommend\r\n \r\n }\r\n\r\n dispatch(onUpdateSoftwareVersion(uniqueSoftwareVersionId,body,setMessage,\r\n setDisplayInfoModal));\r\n };\r\n\r\n\r\n\r\n return (\r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default SoftwareVersionUpdates;\r\n","import React, { useEffect, useState } from \"react\";\r\nimport { useForm, Controller } from \"react-hook-form\";\r\nimport { Dropdown } from 'primereact/dropdown';\r\nimport { ScrollPanel } from 'primereact/scrollpanel';\r\nimport DeficiencyList from \"./SystemDetailComponent/DeficiencyList\";\r\nimport TurnAroundList from \"./SystemDetailComponent/TurnAround\";\r\nimport SoftwareVersionUpdates from \"./SystemDetailComponent/SoftwareVersionUpdates\";\r\nimport InformationBox from \"components/common/Message/InformationBox/InformationBox\";\r\nimport { getProjectSystems } from \"redux/pages/Reports/ProvenOutcomesSlice\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\n\r\n\r\n\r\n\r\n\r\ninterface Props {\r\n\tselectedProjectId: any;\r\n\tisAdd:boolean;\r\n\r\n}\r\n\r\ntype FormData = {\r\n\thyperLink: string;\r\n\tdescription: string;\r\n\tstartDate: string;\r\n\tendDate: string;\r\n};\r\n\r\nexport const SystemDetails: React.FC = ({\r\n\tselectedProjectId = \"\",\r\n\tisAdd = false\t\r\n\r\n}) => {\r\nconst [showDeficiencyModal, setShowDeficiencyModal] = useState(false);\r\nconst [showTurnAroundModal, setShowTurnAroundListModal] = useState(false);\r\nconst [showSoftwareVersionUpdatesModal, setShowSoftwareVersionUpdatesModalListModal] = useState(false);\r\nconst [selectedSystem,setSelectedSystem] = useState(null);\r\nconst [systemData,setSystemData] = useState(null);\r\nconst [message, setMessage] = useState(\"\");\r\nconst [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n\r\n\r\nconst dispatch = useDispatch();\r\nconst systemDetailsList = useAppSelector((state) => state.provenOutcomes. systemList);\r\nconst newlyAddedData = useAppSelector((state) => state.provenOutcomes.newlyAddedData)\r\n\t\r\nconst {\r\n\tcontrol,\r\n} = useForm({\r\n\tdefaultValues: {\r\n\t}\r\n});\r\n\r\n\r\n\r\nuseEffect(() => {\r\n getSystemList();\r\n }, [])\r\n\r\n\tconst getSystemList = () => {\r\n\t\tif (!isAdd)\r\n\t\t\tdispatch(getProjectSystems(selectedProjectId, setMessage, setDisplayInfoModal));\r\n\t\telse\r\n\t\t\tdispatch(getProjectSystems(newlyAddedData?.uniqueProjectId, setMessage, setDisplayInfoModal));\r\n\t}\r\n\r\n\tuseEffect(() => {\r\n\t\tif (systemDetailsList) {\r\n\t\t\tlet system: { flsSystemId: any; flsSystemName: string; projectId: any }[] = [];\r\n\t\t\tsystem.push({ flsSystemId: \"--Select--\", flsSystemName: \"--Select--\", projectId: 0 });\r\n\t\t\tsystemDetailsList?.map((item: any) => {\r\n\t\t\t\tsystem.push({\r\n\t\t\t\t\tflsSystemId: item.flsSystemId,\r\n\t\t\t\t\tflsSystemName: item.flsSystemName,\r\n\t\t\t\t\tprojectId: item.projectId\r\n\t\t\t\t});\r\n\t\t\t})\r\n\r\n\t\t\tsetSystemData(system);\r\n\t\t\tif (systemDetailsList?.length == 1) { setSelectedSystem(system[1]?.flsSystemId) }\r\n\t\t\telse { setSelectedSystem(system[0]?.flsSystemId) }\r\n\t\t}\r\n\t}, [systemDetailsList]);\r\n\r\nconst onSystemListChange = (event) => {\r\n\tsetSelectedSystem(event.value);\r\n}\r\nconst ShowSoftwareVersionUpdatesClick = () => {\r\n\tif(selectedSystem != \"--Select--\" && selectedSystem) {\r\n\t\tsetShowSoftwareVersionUpdatesModalListModal(true);\r\n\t}\r\n\telse{\r\n\t\tsetMessage(\"Select a System\");\r\n setDisplayInfoModal(true);\r\n\t}\r\n}\r\nconst ShowDeficiencyClick = () => {\r\n\tif(selectedSystem != \"--Select--\" && selectedSystem) {\r\n\t\tsetShowDeficiencyModal(true);\r\n\t}\r\n\telse{\r\n\t\tsetMessage(\"Select a System\");\r\n setDisplayInfoModal(true);\r\n\t}\r\n}\r\nconst ShowTurnAroundListClick = () => {\r\n\tif(selectedSystem != \"--Select--\" && selectedSystem) {\r\n\t\tsetShowTurnAroundListModal(true);\r\n\t}\r\n\telse{\r\n\t\tsetMessage(\"Select a System\");\r\n setDisplayInfoModal(true);\r\n\t}\r\n}\r\n\r\n\treturn (\r\n\t\t
\r\n\t\t\t
System Details
\r\n\t\t\t
\r\n\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t (\r\n\t\t\t\t\t\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t\t\t\t\t\tonSystemListChange(e)\r\n\t\t\t\t\t\t\t\t\t\t\t}}\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\toptions={systemData}\r\n\t\t\t\t\t\t\t\t\t\t\toptionLabel=\"flsSystemName\"\r\n\t\t\t\t\t\t\t\t\t\t\toptionValue=\"flsSystemId\"\r\n\t\t\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t\t)}\r\n\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t\t{showDeficiencyModal ?: null}\r\n \r\n\t\t\t\t\t {showTurnAroundModal ? : null}\r\n \r\n\t\t\t\t\t {showSoftwareVersionUpdatesModal ? : null}\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t
\r\n\t\t\r\n\t);\r\n};\r\n\r\nexport default SystemDetails;\r\n\r\n","import React, { forwardRef, useEffect, useImperativeHandle, useRef, useState } from \"react\";\r\nimport { useForm, Controller } from \"react-hook-form\";\r\nimport { classNames } from \"primereact/utils\";\r\nimport { ScrollPanel } from 'primereact/scrollpanel';\r\nimport { BsExclamationCircleFill } from 'react-icons/bs';\r\nimport { InputTextarea } from \"primereact/inputtextarea\";\r\nimport { useAppSelector } from \"redux/hooks\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { UpdatesComments, addComments, getProjectComments, setComment, setTabChangeMessage, setTabChangeMessageHandler, setcheckIsValueChanged } from \"redux/pages/Reports/ProvenOutcomesSlice\";\r\nimport InformationBox from \"components/common/Message/InformationBox/InformationBox\";\r\n\r\n\r\n\r\ninterface Props {\r\n\tselectedProjectId: any;\r\n\tisAdd:boolean;\r\n}\r\ntype FormData = {\r\n\r\n\tComments: string;\r\n};\r\n\r\nexport const Comments= forwardRef((props, ref) => {\r\n\r\n\tconst {selectedProjectId = \"\",isAdd} = props;\r\n\tconst [commentText, setCommentText] = useState('');\r\n\tconst [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n const [displayConfirmModal, setDisplayConfirmModal] = useState(false);\r\n\tconst [message, setMessage] = useState(\"\");\r\n\tconst commentDetailsForm: any = useRef(null);\r\n\r\n\tconst newlyAddedData = useAppSelector((state) => state.provenOutcomes.newlyAddedData);\r\n\r\n\tuseImperativeHandle(ref, () => ({\r\n\t\trequestSubmit: () => {\r\n\t\t\tcommentDetailsForm?.current?.requestSubmit();\r\n\t\t},\r\n\t}));\r\n\r\n\tconst commnentList = useAppSelector((state) => state.provenOutcomes.comments);\r\n\r\n\tconst dispatch = useDispatch();\r\n\r\n\tconst {\r\n\t\tcontrol,\r\n\t\thandleSubmit,\r\n\t\tsetValue,\r\n\t\tformState: { errors },\r\n\t} = useForm({\r\n\t\tdefaultValues: {\r\n\t\t\tComments: \"\",\r\n\t\t},\r\n\t});\r\n\tuseEffect(() => { \r\n\t\tif (commnentList?.length) {\r\n\t\t\tsetValue(\"Comments\",commnentList);\r\n\t\t}\r\n\t\tdispatch(setComment(''));\r\n\t}, [commnentList]);\r\n\r\n\t useEffect(() => {\r\n\t\t\t dispatch(getProjectComments(selectedProjectId, setMessage, setDisplayInfoModal));\r\n\t }, [])\r\n\r\n\tconst onCommentAddEdit = (Comment: any) => {\r\n\t\tif(isAdd){\r\n\t\t let data = {\r\n\t\t\tcomment:(Comment.Comments).trim(),\r\n\t\t\tuniqueProjectId:newlyAddedData?.uniqueProjectId\r\n\t\t }\r\n\t\t setCommentText(data.comment);\r\n\t\t setDisplayConfirmModal(true);\r\n\t\t dispatch(setTabChangeMessageHandler(true))\r\n\t\t dispatch(setTabChangeMessage('Comments saved'))\r\n\t\t dispatch(addComments(data,setMessage));\t\r\n\t }\r\n\t else{\r\n\t\tlet data = {\r\n\t\t\tcomment:(Comment.Comments).trim(),\r\n\t\t\tuniqueProjectId:selectedProjectId\r\n\t\t }\r\n\t\tsetCommentText(data.comment);\r\n\t\tsetDisplayConfirmModal(true);\r\n\t\tdispatch(setTabChangeMessageHandler(true))\r\n\t\tdispatch(setTabChangeMessage('Comments updated'))\r\n\t\tdispatch(UpdatesComments(data,setMessage));\t\r\n\t }\r\n\t dispatch(setcheckIsValueChanged(false))\r\n\t}\r\n\t\r\n\r\n\tconst getFormErrorMessage = (name) => {\r\n\t\treturn (\r\n\t\t\terrors[name] && (\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t{errors[name].message}\r\n\t\t\t\t\r\n\t\t\t)\r\n\t\t);\r\n\t};\r\n\r\n\r\n\treturn (\r\n\t\t
\r\n\t\t\t
Comments
\r\n\t\t\t{}\r\n\r\n\t\t\t
\r\n\t\t\t\t\r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t\t\t\t\t\treturn value.trim().length <= 0\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t? \"This field is required\" : true\r\n\t\t\t\t\t\t\t\t\t\t\t},\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t}}\r\n\t\t\t\t\t\t\t\t\t\trender={({ field, fieldState }) => (\r\n\t\t\t\t\t\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tfield.onChange(e.target.value);\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tif((e.target.value.length) > 0) {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tdispatch(setcheckIsValueChanged(true))}\r\n\t\t\t\t\t\t\t\t\t\t\t\t\telse{\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tdispatch(setcheckIsValueChanged(false))\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\t\t}}\r\n\t\t\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t\t)}\r\n\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t{getFormErrorMessage(\"Comments\")}\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t
\r\n\t);\r\n});\r\n\r\nexport default Comments;","import React, { useCallback, useEffect, useRef, useState } from \"react\";\r\nimport { Button } from \"primereact/button\";\r\nimport { ListGroup } from 'react-bootstrap';\r\nimport ProjectDetails from \"./ReportComponents/ProjectDetails\";\r\nimport Goals from \"./ReportComponents/Goals\";\r\nimport SystemDetails from \"./ReportComponents/SystemDetails\";\r\nimport {Comments} from \"./ReportComponents/Comments\";\r\nimport { getBranches, onGenerateReport, setNewlyAddedData, setProjectDetails,onDependencyCheck, setSystemTaskList, setcheckIsValueChanged, setTabChangeMessageHandler, checkTapPerformaceReportGenerated } from \"redux/pages/Reports/ProvenOutcomesSlice\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { useAppSelector } from \"../../redux/hooks\";\r\nimport InformationBox from \"components/common/Message/InformationBox/InformationBox\";\r\nimport ConfirmationBox from \"components/common/Message/ConfirmationBox/ConfirmationBox\";\r\n\r\n\r\ninterface ReportWizardProps {\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n isAdd:boolean;\r\n selectedProject: any;\r\n isGenerate:boolean;\r\n setIsGenerate :any;\r\n}\r\n\r\nconst Report_Tab_List = [\r\n { name: \"Project Details\", code: \"PD\", selected: true },\r\n { name: \"Goals\", code: \"G\", selected: false },\r\n { name: \"System Details\", code: \"SD\", selected: false },\r\n { name: \"Comments\", code: \"C\", selected: false },\r\n];\r\nexport const AddReportWizard: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => { },\r\n isAdd = false,\r\n selectedProject = \"\",\r\n isGenerate = false,\r\n setIsGenerate = () => { },\r\n}) => {\r\n\r\n const projectDetailsForm = useRef(null);\r\n const commentDetailsForm = useRef(null);\r\n const addForm = useRef(null);\r\n\r\n\r\n const [reportTabList, setReportTabList] = useState>(Report_Tab_List);\r\n const [selectedItem, setSelectedItem] = useState(\"Project Details\");\r\n const [showProjectDetails, setShowProjectDetails] = useState(true)\r\n const [showGoals, setShowGoals] = useState(false)\r\n const [showSystemDetails, setShowSystemDetails] = useState(false)\r\n const [showComments, setShowComments] = useState(false)\r\n const [buttonName, setbuttonName] = useState(\"Save\")\r\n const [message, setMessage] = useState(\"\");\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false)\r\n const [isDisabled, setIsDisabled] = useState(true);\r\n const [reportGenerateDependencyData, setReportGenerateDependencyData] = useState();\r\n const dispatch = useDispatch();\r\n const loggedInUserData = useAppSelector((state) => state.administration.loggedInUserDetails);\r\n const newlyAddedData = useAppSelector((state) => state.provenOutcomes.newlyAddedData);\r\n const [displayConfirmModal, setDisplayConfirmModal] = useState(false);\r\n const [closeBtnClicked, setCloseBtnClicked] = useState(false);\r\n const checkIsValueChanged = useAppSelector((state) => state.provenOutcomes.checkIsValueChanged);\r\n const [newSelectedItem, setNewSelectedItem] = useState(\"Project Details\");\r\n const tabChangeMessageHandler = useAppSelector((state) => state.provenOutcomes.tabChangeMessageHandler);\r\n const tabChangeMessage = useAppSelector((state) => state.provenOutcomes.tabChangeMessage);\r\n\r\n const handleTabSelect = useCallback((selectedItem) => {\r\n setSelectedItem(selectedItem.name);\r\n const modifiedReportTabList = reportTabList.map((item) => {\r\n if (item.code === selectedItem.code) {\r\n item[\"selected\"] = true;\r\n } else {\r\n item[\"selected\"] = false;\r\n }\r\n return item;\r\n });\r\n setReportTabList(modifiedReportTabList);\r\n\r\n }, [reportTabList]);\r\n\r\n const changehandleTabSelect =(selectedItem) =>{\r\n setNewSelectedItem(selectedItem.name);\r\n handleTabSelect(selectedItem);\r\n }\r\n\r\n useEffect(() => {\r\n if(displayInfoModal === true)\r\n {\r\n dispatch(setTabChangeMessageHandler(false))\r\n setDisplayInfoModal(true)\r\n }\r\n }, [displayInfoModal])\r\n\r\n useEffect(() => {\r\n setMessage(tabChangeMessage)\r\n setDisplayInfoModal(tabChangeMessageHandler)\r\n }, [tabChangeMessage])\r\n\r\n useEffect(() => {\r\n if(displayInfoModal === false)\r\n {\r\n setMessage(tabChangeMessage)\r\n setDisplayInfoModal(tabChangeMessageHandler)\r\n }\r\n }, [tabChangeMessageHandler])\r\n\r\n useEffect(() => {\r\n if (displayConfirmModal && !isAdd && !isGenerate ) {\r\n if (showProjectDetails) {\r\n let nextTAb = { name: \"Project Details\", code: \"PD\", selected: true }\r\n handleTabSelect(nextTAb)\r\n setMessage(\"Do you want to save the Project Details?\");\r\n }\r\n else if (showGoals) {\r\n let nextTAb = { name: \"Goals\", code: \"G\", selected: false }\r\n handleTabSelect(nextTAb)\r\n setMessage(\"Do you want to save the Goals?\");\r\n }\r\n else if (showComments) {\r\n let nextTAb = { name: \"Comments\", code: \"C\", selected: false }\r\n handleTabSelect(nextTAb)\r\n setMessage(\"Do you want to save the Comments?\");\r\n }\r\n }\r\n else {\r\n switch (newSelectedItem) {\r\n case \"Project Details\":\r\n let PDTAb = { name: \"Project Details\", code: \"PD\", selected: true }\r\n setSelectedItem(PDTAb)\r\n handleTabSelect(PDTAb)\r\n break;\r\n case \"Goals\":\r\n let goalTAb = { name: \"Goals\", code: \"G\", selected: false }\r\n setSelectedItem(goalTAb)\r\n handleTabSelect(goalTAb)\r\n break;\r\n case \"System Details\":\r\n let nextTAb = { code: \"SD\", name: \"System Details\", selected: false }\r\n setSelectedItem(nextTAb)\r\n handleTabSelect(nextTAb)\r\n break;\r\n case \"Comments\":\r\n let CTAb = { code: \"C\", name: \"Comments\", selected: false }\r\n setSelectedItem(CTAb)\r\n handleTabSelect(CTAb)\r\n break;\r\n default:\r\n break;\r\n }\r\n }\r\n }, [displayConfirmModal]);\r\n const onConfirmClick = () => {\r\n if (showProjectDetails && !isGenerate) {\r\n setDisplayConfirmModal(false);\r\n projectFormSubmitHandler();\r\n setNewSelectedItem(newSelectedItem);\r\n }\r\n else if (showGoals && !isGenerate){\r\n goalFormSubmitHandler();\r\n setDisplayConfirmModal(false);\r\n setNewSelectedItem(newSelectedItem);\r\n }\r\n \r\n else if (showComments && !isGenerate) {\r\n commentFormSubmitHandler();\r\n setDisplayConfirmModal(false);\r\n setNewSelectedItem(newSelectedItem);\r\n }\r\n else if(isGenerate){\r\n if (newlyAddedData) {\r\n dispatch(\r\n onDependencyCheck(\r\n newlyAddedData?.uniqueProjectId,\r\n setReportGenerateDependencyData,\r\n ))\r\n setIsGenerate(false);\r\n\t\t\tsetDisplayConfirmModal(false);\r\n }\r\n else {\r\n dispatch(\r\n onDependencyCheck(\r\n selectedProject?.uniqueProjectId,\r\n setReportGenerateDependencyData,\r\n ))\r\n setIsGenerate(false);\r\n\t\t\tsetDisplayConfirmModal(false);\r\n }\r\n }\r\n }\r\n useEffect(() => {\r\n if (!displayConfirmModal) {\r\n dispatch(setcheckIsValueChanged(false))\r\n }\r\n }, [displayConfirmModal]);\r\n\r\n useEffect(() => {\r\n if (reportGenerateDependencyData) {\r\n if (!reportGenerateDependencyData?.isReadyToGenerate) {\r\n setDisplayInfoModal(true);\r\n setMessage(reportGenerateDependencyData?.message);\r\n }\r\n else if (reportGenerateDependencyData?.isReadyToGenerate) {\r\n let uniqueProjectId: any;\r\n if(isAdd){\r\n uniqueProjectId = newlyAddedData?.uniqueProjectId;\r\n }\r\n else{\r\n uniqueProjectId = selectedProject?.uniqueProjectId;\r\n }\r\n dispatch(onGenerateReport(uniqueProjectId,setMessage,setDisplayInfoModal));\t\r\n\r\n }\r\n }\r\n\r\n }, [reportGenerateDependencyData]);\r\n\r\n useEffect(() => {\r\n if(!isAdd) {setIsDisabled(false)}\r\n dispatch(getBranches());\r\n if(checkIsValueChanged && !isAdd ) {\r\n setDisplayConfirmModal(true);\r\n } \r\n else{\r\n switch (selectedItem) {\r\n case \"Project Details\":\r\n setShowComments(false)\r\n setShowProjectDetails(true)\r\n setShowSystemDetails(false)\r\n setShowGoals(false)\r\n if(newlyAddedData)\r\n setbuttonName(\"Next\")\r\n else if(isAdd)\r\n setbuttonName(\"Save\")\r\n else\r\n setbuttonName(\"Update\")\r\n break;\r\n case \"Goals\":\r\n setShowComments(false)\r\n setShowProjectDetails(false)\r\n setShowSystemDetails(false)\r\n setShowGoals(true)\r\n setbuttonName(\"Next\")\r\n break;\r\n case \"System Details\":\r\n setShowComments(false)\r\n setShowProjectDetails(false)\r\n setShowSystemDetails(true)\r\n setShowGoals(false)\r\n setbuttonName(\"Next\")\r\n break;\r\n case \"Comments\":\r\n setShowComments(true)\r\n setShowProjectDetails(false)\r\n setShowSystemDetails(false)\r\n setShowGoals(false)\r\n setbuttonName(\"Save\")\r\n break;\r\n default:\r\n break;\r\n }}\r\n \r\n }, [selectedItem]);\r\n\r\n useEffect(() => {\r\n if (newlyAddedData && isAdd) {\r\n setbuttonName(\"Next\")\r\n setIsDisabled(false)\r\n }\r\n else if (newlyAddedData)\r\n {\r\n setIsDisabled(false)\r\n }\r\n }, [newlyAddedData]);\r\n\r\n const onSave = (selectedItem) => {\r\n switch (selectedItem) {\r\n case \"Project Details\": \r\n if (buttonName == \"Save\" || buttonName == \"Update\") {\r\n projectFormSubmitHandler();\r\n }\r\n else if (buttonName == \"Next\") {\r\n let nextTAb = { name: \"Goals\", code: \"G\", selected: false }\r\n setSelectedItem(nextTAb)\r\n handleTabSelect(nextTAb)\r\n }\r\n\r\n break;\r\n case \"Goals\":\r\n let nextTAb = { code: \"SD\", name: \"System Details\", selected: false }\r\n setSelectedItem(nextTAb)\r\n handleTabSelect(nextTAb)\r\n\r\n break;\r\n case \"System Details\":\r\n let CTAb = { code: \"C\", name: \"Comments\", selected: false }\r\n setSelectedItem(CTAb)\r\n handleTabSelect(CTAb)\r\n\r\n break;\r\n case \"Comments\":\r\n commentFormSubmitHandler();\r\n\r\n break;\r\n default:\r\n break;\r\n }\r\n setDisplayConfirmModal(false);\r\n dispatch(setcheckIsValueChanged(false))\r\n }\r\n\r\n const projectFormSubmitHandler = () => {\r\n projectDetailsForm?.current?.requestSubmit();\r\n }\r\n const commentFormSubmitHandler = () => {\r\n commentDetailsForm?.current?.requestSubmit();\r\n }\r\n const goalFormSubmitHandler = () => {\r\n addForm?.current?.requestSubmit();\r\n }\r\n const onGenerateReportProvenOutcomes = () => {\r\n let uniqueProjectId: any;\r\n if(isAdd){\r\n uniqueProjectId = newlyAddedData?.uniqueProjectId;\r\n }\r\n else{\r\n uniqueProjectId = selectedProject?.uniqueProjectId;\r\n }\r\n setIsGenerate(true);\r\n dispatch(checkTapPerformaceReportGenerated(uniqueProjectId));\r\n\r\n }\r\n const OnCancel = () => {\r\n if(checkIsValueChanged && !isAdd){\r\n setDisplayConfirmModal(true);\r\n setCloseBtnClicked(true);\r\n }else{\r\n setShowModal(false)\r\n dispatch(setSystemTaskList(\"\"));\r\n dispatch(setProjectDetails(\"\"));\r\n dispatch(setNewlyAddedData(\"\"))\r\n setbuttonName(\"Next\")\r\n handleTabSelect({ name: \"Project Details\", code: \"PD\", selected: true })\r\n setDisplayConfirmModal(false);\r\n dispatch(setcheckIsValueChanged(false)) \r\n }\r\n }\r\n\r\n const cancelUpdate = () => {\r\n if (closeBtnClicked) {\r\n setDisplayConfirmModal(false);\r\n dispatch(setcheckIsValueChanged(false))\r\n hideDialog();\r\n }\r\n else{ \r\n setDisplayConfirmModal(false);\r\n dispatch(setcheckIsValueChanged(false))}\r\n \r\n };\r\n const hideDialog = () => {\r\n setShowModal(false);\r\n }\r\n const hideConfirmModal = () => {\r\n setDisplayConfirmModal(false);\r\n dispatch(setcheckIsValueChanged(false));\r\n };\r\n\r\n return (\r\n <>\r\n{showModal &&\r\n
\r\n
\r\n
{loggedInUserData.userDefaults.siteName}
\r\n
\r\n OnCancel()}>\r\n OnCancel()}>\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n {reportTabList.map((item) => (\r\n changehandleTabSelect(item)}\r\n >\r\n {item.name}\r\n \r\n ))}\r\n \r\n
\r\n
\r\n
\r\n <>\r\n
\r\n
\r\n {showProjectDetails &&\r\n }\r\n {showGoals && }\r\n {showSystemDetails && }\r\n {showComments && }\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n }\r\n \r\n );\r\n};\r\n\r\nexport default AddReportWizard;\r\n\r\n","import React from 'react'\r\nimport { Dialog } from 'primereact/dialog';\r\nimport { baseURL } from \"../../../service/HttpService\";\r\n\r\ninterface DocumentViewerPropType {\r\n showModal: boolean;\r\n setShowModal: (state: boolean) => void;\r\n fileName?: string;\r\n setFileName: (state: any) => void;\r\n uniqueProjectId?: any;\r\n}\r\nconst TAPPerformanceReportViewer: React.FC = ({\r\n showModal = false,\r\n setShowModal = () => { },\r\n fileName = \"\",\r\n setFileName = () => { },\r\n uniqueProjectId = \"\",\r\n}) => {\r\n\r\n let reportUrl = `${baseURL}api/v1/tappeformancereport/${uniqueProjectId}/tapperformancereport/view`;\r\n\r\n return (\r\n
\r\n View Report ({fileName})}\r\n visible={showModal}\r\n style={{ width: \"75vw\", height: \"85%\" }}\r\n onHide={() => {\r\n setShowModal(false);\r\n setFileName('');\r\n }}\r\n className=\"view-file-modal\">\r\n
\r\n
\r\n {(reportUrl) ?\r\n \r\n :\r\n (<>)\r\n }\r\n
\r\n
\r\n \r\n
\r\n )\r\n}\r\n\r\nexport default TAPPerformanceReportViewer;","import React, { useCallback, useEffect, useState } from 'react';\r\nimport { useAppSelector } from 'redux/hooks';\r\nimport { DataTableComponent } from 'components/Table/DataTable';\r\nimport { Button } from \"primereact/button\";\r\nimport { classNames } from 'primereact/utils';\r\nimport { tapPerformance_Cols } from './TAPPerformanceData';\r\nimport { BsDownload, BsEye, BsFillPencilFill, BsPlusLg, BsTrashFill } from 'react-icons/bs';\r\nimport AddReportWizard from './ReportWizard';\r\nimport { useDispatch } from 'react-redux';\r\nimport { deleteProjectDetails, onGenerateReport, onGetTapPerformanceReportList,onDownloadTapPerformanceReport, checkTapPerformaceReportGenerated, setCheckTAPPerformanceReportGenerated,onDependencyCheck, onCloneProject, setTapPerformanceReportList, setTapPerformanceReportListPageDetails} from 'redux/pages/Reports/ProvenOutcomesSlice';\r\nimport InformationBox from 'components/common/Message/InformationBox/InformationBox';\r\nimport TAPPerformanceReportViewer from './TAPPerformanceReportViewer/TAPPerformanceReportViewer';\r\nimport ConfirmationBox from 'components/common/Message/ConfirmationBox/ConfirmationBox';\r\nimport { IoIosCopy } from 'react-icons/io';\r\ninterface Props {\r\n\r\n}\r\n\r\nexport const TAPPerformance: React.FC = () => {\r\n\tconst tapPerformanceReportPageDetails = useAppSelector((state) => state.provenOutcomes.tapPerformanceReportPageDetails);\r\n\tconst tapPerformanceReportList = useAppSelector((state) => state.provenOutcomes.tapPerformanceReportList);\r\n\tconst checkReportGenerated = useAppSelector((state) => state.provenOutcomes.checkTAPPerformanceReportGenerated);\r\n\tconst newlyAddedData = useAppSelector((state) => state.provenOutcomes.newlyAddedData);\r\n\r\n\tconst [tapPerformanceData, setTAPPerformanceData] = useState([]);\r\n\tconst [pageIndex, setPageIndex] = useState(0);\r\n\tconst [pageDetails, setPageDetails] = useState(null);\r\n\tconst [showAddModal, setShowAddModal] = useState(false);\r\n\tconst [showEditModal, setShowEditModal] = useState(false);\r\n\tconst [displayConfirmModal, setDisplayConfirmModal] = useState(false);\r\n\tconst [IsAdd, setIsAdd] = useState(false);\r\n\tconst dispatch = useDispatch();\r\n\tconst [selectedRows, setSelectedRows] = useState([]);\r\n\tconst [currentStart, setCurrentStart] = useState([]);\r\n\tconst [sortField, setSortField] = useState('');\r\n\tconst [sortOrder, setSortOrder] = useState('');\r\n\tconst [message, setMessage] = useState(\"\");\r\n\tconst [displayInfoModal, setDisplayInfoModal] = useState(false);\r\n\tconst [showViewModal, setShowViewModal] = useState(false);\r\n\tconst [fileName, setFileName] = useState(\"\");\r\n\tconst [reportGenerateDependencyData, setReportGenerateDependencyData] = useState();\r\n\tconst [tapPerformanceButtonDisable, setTapPerformanceButtonDisable] = useState(false);\r\n\tconst [isDelete, setIsDelete] = useState(false);\r\n\tconst [isGenerate, setIsGenerate] = useState(false);\r\n\tconst [cloneData, setCloneData] = useState('');\r\n\r\n\tuseEffect(() => {\r\n\t\tif (tapPerformanceReportList?.length) {\r\n\t\t\tsetPageDetails(tapPerformanceReportPageDetails);\r\n\t\t\tsetTAPPerformanceData(tapPerformanceReportList);\r\n\t\t\tsetTapPerformanceButtonDisable(false);\r\n if (newlyAddedData) {\r\n\t\t\t\tsetSelectedRows([tapPerformanceReportList[0]]);\t\r\n\t\t\t}\r\n\t\t\telse if (cloneData) {\r\n\t\t\t\tsetSelectedRows([tapPerformanceReportList[0]]);\t\r\n\t\t\t}\r\n\t\t\telse if(selectedRows && selectedRows?.length)\r\n\t\t\tsetSelectedRows(selectedRows);\r\n\t\t\telse \r\n setSelectedRows([tapPerformanceReportList[0]]);\t\r\n\t\t}\r\n\t\telse {\r\n\t\t\tsetTAPPerformanceData([]);\r\n\t\t\tsetSelectedRows([]);\r\n\t\t\tsetTapPerformanceButtonDisable(true)\r\n\t\t}\r\n\t}, [tapPerformanceReportList]);\r\n\r\n\t useEffect(() => {\r\n\t\tif (cloneData) {\r\n\t\t\tlet projectList: { branch: string; uniqueProjectId: string; projectOwner: string; projectName: string; }[] = [];\r\n\t\t\tprojectList.push({\r\n\t\t\t\tbranch: cloneData.branchName,\r\n\t\t\t\tuniqueProjectId: cloneData.uniqueProjectId,\r\n\t\t\t\tprojectOwner: cloneData.projectOwner,\r\n\t\t\t\tprojectName: cloneData.projectName\r\n\t\t\t})\r\n\r\n\t\t\ttapPerformanceReportList?.map((item: any) => {\r\n\t\t\t\tprojectList.push({\r\n\t\t\t\t\tbranch: item.branch,\r\n\t\t\t\t\tuniqueProjectId: item.uniqueProjectId,\r\n\t\t\t\t\tprojectOwner: item.projectOwner,\r\n\t\t\t\t\tprojectName: item.projectName\r\n\t\t\t\t})\r\n\t\t\t})\r\n\t\t\t\r\n\t\t\tdispatch(setTapPerformanceReportList(projectList));\r\n\t\t\tsetSelectedRows([projectList[0]]);\t\r\n\t\t\tif (tapPerformanceReportPageDetails == null) {\r\n\t\t\t\tlet projectDetail: { currentLength: any; currentStart: any; pageCount: any; totalCount: any; } = {\r\n\t\t\t\t\tcurrentLength: 1,\r\n\t\t\t\t\tcurrentStart: 1,\r\n\t\t\t\t\tpageCount: 100,\r\n\t\t\t\t\ttotalCount: 1\r\n\t\t\t\t};\r\n\t\t\t\tdispatch(setTapPerformanceReportListPageDetails(projectDetail))\r\n\t\t\t\t setSelectedRows([projectList[0]]);\t\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t}, [cloneData]);\r\n\r\n\tuseEffect(() => {\r\n\t\tdispatch(onGetTapPerformanceReportList(1));\r\n\t}, [])\r\n\r\n\tuseEffect(() => {\r\n\t\tif (checkReportGenerated && checkReportGenerated === \"Report Not Generated\" && !isGenerate) {\r\n\t\t\tsetMessage(\"Report not generated\");\r\n\t\t\tsetDisplayInfoModal(true);\r\n\t\t\tdispatch(setCheckTAPPerformanceReportGenerated(\"\"));\r\n\t\t}else if(checkReportGenerated && checkReportGenerated === \"Report Already Generated\" && !isGenerate){\r\n\t\t\tsetShowViewModal(true);\r\n\t\t\tdispatch(setCheckTAPPerformanceReportGenerated(\"\"));\r\n\t\t}\r\n\t\telse if(checkReportGenerated && checkReportGenerated === \"Report Not Generated\" && isGenerate){\r\n\t\t\tsetMessage(\"Do you want to generate the report?\");\r\n\t\t\tsetDisplayConfirmModal(true); \r\n\t\t\tdispatch(setCheckTAPPerformanceReportGenerated(\"\"));\r\n\t\t}\r\n\t\telse if(checkReportGenerated && checkReportGenerated === \"Report Already Generated\" && isGenerate){\r\n\t\t\tsetMessage(\"Are you sure you want to regenerate the report?\");\r\n\t\t\tsetDisplayConfirmModal(true); \r\n\t\t\tdispatch(setCheckTAPPerformanceReportGenerated(\"\"));\r\n\t\t}\r\n\t}, [checkReportGenerated])\r\n\r\n\tconst handleRowSelect = useCallback((data: any) => { \r\n\t\tsetSelectedRows([...data]);\r\n\t}, []);\r\n\r\n\tuseEffect(() => {\r\n\t\tif (reportGenerateDependencyData) {\r\n\t\t if (!reportGenerateDependencyData?.isReadyToGenerate) {\r\n\t\t\tsetDisplayInfoModal(true);\r\n\t\t\tsetMessage(reportGenerateDependencyData?.message);\r\n\t\t }\r\n\t\t else if (reportGenerateDependencyData?.isReadyToGenerate) {\r\n\t\t\tlet uniqueProjectId = selectedRows[0]?.uniqueProjectId;\r\n\t\t\tdispatch(onGenerateReport(uniqueProjectId, setMessage, setDisplayInfoModal));\r\n\t\r\n\t\t }\r\n\t\t}\r\n\t\r\n\t }, [reportGenerateDependencyData]);\r\n\r\n\tconst onSort = (event) => {\r\n\t\tlet sortDirection: string;\r\n\t\tif (event.sortOrder === 1)\r\n\t\t\tsortDirection = \"ASC\"\r\n\t\telse\r\n\t\t\tsortDirection = \"DESC\"\r\n\t\tsetSortField(event.sortField)\r\n\t\tsetSortOrder(sortDirection)\r\n\t\tdispatch(onGetTapPerformanceReportList(currentStart, event?.sortField, sortDirection));\r\n\t}\r\n\r\n\tconst ViewTapPerformanceReport = () => {\r\n\t\tif (selectedRows?.length === 1) {\r\n\t\t\tsetFileName(selectedRows[0]?.projectName);\r\n\t\t\tdispatch(checkTapPerformaceReportGenerated(selectedRows[0]?.uniqueProjectId));\r\n\t\t} else {\r\n\t\t\tsetMessage('This operation can be performed only one row at a time.');\r\n\t\t\tsetDisplayInfoModal(true);\r\n\t\t}\r\n\t};\r\n\r\n\tconst downloadTapPerformanceReport = () => {\r\n\t\tif (selectedRows?.length === 1) {\r\n\t\t\tsetFileName(selectedRows[0]?.projectName);\r\n\t\t\tdispatch(onDownloadTapPerformanceReport(selectedRows[0]?.uniqueProjectId,setDisplayInfoModal,setMessage));\r\n\t\t} else {\r\n\t\t\tsetMessage('This operation can be performed only one row at a time.');\r\n\t\t\tsetDisplayInfoModal(true);\r\n\t\t}\r\n\t};\r\n\r\n\tconst onPageChanged = (options: any) => {\r\n\t\tif (options !== pageIndex) {\r\n\t\t\tlet currentStart = (options * tapPerformanceReportPageDetails?.currentLength) + 1;\r\n\t\t\tsetPageIndex(options)\r\n\t\t\tsetCurrentStart(currentStart)\r\n\t\t\tdispatch(onGetTapPerformanceReportList(currentStart, sortField, sortOrder));\r\n\t\t}\r\n\t};\r\n\r\n\r\n\tconst onGenerateReportProvenOutcomes = () => {\r\n\t\tif (selectedRows?.length > 1) {\r\n\t\t\tsetMessage(\"This operation can be performed only one row at a time\");\r\n\t\t\tsetDisplayInfoModal(true);\r\n\t\t}\r\n\t\telse if (selectedRows?.length == 1){\r\n\t\t\tsetIsGenerate(true);\r\n\t\t\tdispatch(checkTapPerformaceReportGenerated(selectedRows[0]?.uniqueProjectId));\r\n\t\t}\r\n\t\telse{\r\n\t\t\tsetMessage(\"Select a project\");\r\n\t\t\tsetDisplayInfoModal(true);\r\n\t\t}\r\n\t}\r\n\r\n\tconst onCloneReportProvenOutcomes = () => {\r\n\t\tif (selectedRows?.length > 1) {\r\n\t\t\tsetMessage(\"This operation can be performed only one row at a time\");\r\n\t\t\tsetDisplayInfoModal(true);\r\n\t\t}\r\n\t\telse if (selectedRows?.length == 1){\r\n\t\t\tlet uniqueProjectId = selectedRows[0]?.uniqueProjectId;\r\n\t\t\tdispatch(onCloneProject(uniqueProjectId,setMessage,setDisplayInfoModal,setCloneData));\t\r\n\t\t}\r\n\t\telse{\r\n\t\t\tsetMessage(\"Select a project\");\r\n\t\t\tsetDisplayInfoModal(true);\r\n\t\t}\r\n\t}\r\n\r\n\r\n\tconst deleteIconClick = () => {\r\n\t\tsetIsDelete(true);\r\n if (selectedRows?.length > 1) {\r\n setMessage(\"This operation can be performed only one row at a time\");\r\n setDisplayInfoModal(true);\r\n } else {\r\n setDisplayConfirmModal(true);\r\n setMessage(\"Are you sure you want to delete the project?\")\r\n }\r\n };\r\n\r\n\tconst onCancel=()=>{\r\n setDisplayConfirmModal(false);\r\n\t\tsetIsGenerate(false);\r\n }\r\n\r\n\tconst removeProjectData = () => {\r\n\t\tsetDisplayConfirmModal(false);\r\n\t\tconst uniqueProjectId = selectedRows[0]?.uniqueProjectId;\r\n\t\tsetIsDelete(true);\r\n\t\tdispatch(deleteProjectDetails({uniqueProjectId,setMessage,setDisplayInfoModal,setSelectedRows}));\t\r\n\t setSelectedRows([]);\r\n\t\t};\r\n\r\n\t const editIconClick = () => {\r\n if (selectedRows && selectedRows.length > 1) {\r\n setMessage(\"This operation can be performed only one row at a time\");\r\n setDisplayInfoModal(true);\r\n\t\t}\r\n else {\r\n setIsAdd(false);\r\n\t\t\tsetShowEditModal(true) \r\n }\r\n }\r\n\r\n\tconst onConfirm = () => {\r\n\t\tif (isDelete) {\r\n\t\t\tremoveProjectData();\r\n\t\t\tsetIsDelete(false);\r\n\t\t\tsetDisplayConfirmModal(false);\r\n\t\t}\r\n\t\telse if(isGenerate){\r\n\t\t\tlet uniqueProjectId = selectedRows[0]?.uniqueProjectId;\r\n\t\t\tdispatch(onDependencyCheck(\r\n\t\t\t\tuniqueProjectId,\r\n\t\t\t\tsetReportGenerateDependencyData,\r\n\t\t\t))\r\n\t\t\tsetIsGenerate(false);\r\n\t\t\tsetDisplayConfirmModal(false);\r\n\t\t}\r\n\t}\r\n\r\n\tconst reportHeaderTemplate = (\r\n\t\t\r\n\t\t\t{\r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t}\r\n\r\n\t\t\t\r\n\t\t\t\t{\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t {setIsAdd(true);setShowAddModal(true) }}\r\n\t\t\t\t\t\t\tdisabled={false}\r\n\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\t<>\r\n\t\t\t\t\t\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n Export to\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n {showFilterModal ? {\r\n setFilterIdentifier(\"\");\r\n setShowFilterModal(false);\r\n setSelectedData(checkedData)\r\n }}\r\n field={field}\r\n header={header}\r\n title={title}\r\n dataKey={dataKey}\r\n /> : null}\r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default SalesActivityReport;","import React, { Fragment } from \"react\";\r\nimport { Routes, Route, Navigate } from 'react-router-dom';\r\n\r\nimport { APP_ROUTES } from 'constants/AppRoutes';\r\n\r\nimport Dashboard from 'pages/Dashboard/Dashboard';\r\nimport Customers from \"pages/Customers/Customers\";\r\nimport Users from \"pages/Users/Users\";\r\nimport Sites from \"../pages/Sites/Sites\";\r\nimport Search from \"pages/Search/Search\";\r\nimport Contracts from \"pages/Contracts/Contracts\";\r\nimport Systems from \"pages/Systems/Systems\";\r\nimport InspectionReports from \"pages/InspectionReports/InspectionReports\";\r\nimport ManageView from \"pages/ManageView/ManageView\";\r\nimport Organization from \"pages/Organization/Organization\";\r\nimport ManageInspectionReports from 'pages/ManageInspection/Reports/Reports';\r\n\r\nimport PageNotFound from 'pages/PageNotFound/PageNotFound';\r\n\r\nimport Header from 'components/Header/Header';\r\nimport Sidebar from 'components/Sidebar/Sidebar'; \r\nimport { ProgressSpinner } from 'primereact/progressspinner';\r\n\r\nimport PageMenuBar from 'components/common/PageMenuBar/PageMenuBar';\r\nimport HealthClassification from \"./ManageLookups/HealthClassification/HealthClassification\";\r\nimport NFPAClassification from \"./ManageLookups/NFPAClassification/NFPA Classification\";\r\nimport Attributes from \"./ManageCustomization/Attributes/Attributes\";\r\nimport Securitysettings from \"./SecuritySettings/SecuritySettings\";\r\nimport ReportMapping from \"./ManageInspection/ReportMapping/ReportMapping\";\r\nimport InspectionDrawingsMain from \"./InspectionTasks/InspectionDrawings/InspectionDrawingsMain\";\r\nimport InspectionFields from \"./ManageInspection/InspectionFields/InspectionFields\";\r\nimport Copy from \"./ManageTools/Copy/Copy\";\r\nimport Move from \"./ManageTools/Move/Move\";\r\nimport CopyMoveLogs from \"./ManageTools/CopyMoveLogs/CopyMoveLogs\";\r\nimport ReportView from \"./ReportView/ReportView\";\r\nimport SiteReport from \"./Reports/SiteReport\";\r\nimport InspectionTasks from \"./InspectionTasks/InspectionTasks\";\r\nimport ManageDisplaySettings from \"./ManageDisplaySettings/ManageDisplaySettings\";\r\nimport ManageUserDataSettings from \"./ManageDataEntrySettings/ManageDataEntrySettings\";\r\nimport Logbook from \"./Administration/Logbook/Logbook\";\r\nimport AsBuilts from \"./AsBuilts/AsBuilts\"\r\nimport { useAppSelector } from \"../redux/hooks\";\r\nimport { showUI } from 'service/GeneralUtility';\r\nimport ContractsReport from \"./Reports/ContractsReport\";\r\nimport InspectionTaskReport from \"./Reports/InspectionTaskReports\";\r\nimport UserActivityReport from \"./Reports/UserActivityReport\";\r\nimport UserDetailsReport from \"./Reports/UserDetailsReport\";\r\nimport UploadedFinalReports from \"./Reports/UploadedFinalReports\";\r\nimport SapImportStatusReport from \"./Reports/SapImportStatusReport\";\r\nimport InspectionActivityReport from \"./Reports/InspectionActivityReport\";\r\nimport MasterDataReport from \"./Reports/MasterDataReport\";\r\nimport SAPImportStatus from \"./ManageTools/SAPImportStatus/SapImportStatus\";\r\n\r\nimport ExpiredContractsReport from \"./Reports/ExpiredContractsReport\";\r\nimport BuildingReport from \"./Reports/BuildingReport\";\r\nimport FloorReport from \"./Reports/FloorReport\";\r\nimport TAPPerformance from \"./TAPPerformance/TAPPerformance\";\r\nimport SalesActivityReport from \"./SalesActivityReport/SalesActivityReport\";\r\n\r\n\r\n\r\ninterface ILayout {\r\n\r\n}\r\n\r\n\r\nconst Layout: React.FC = () => {\r\n const userPrivileges = useAppSelector((state) => state.user.userPrivileges);\r\n const progressFlag = useAppSelector((state) => state.common.progressFlag )\r\n return (\r\n \r\n \r\n \r\n
\r\n {progressFlag && \r\n
\r\n \r\n
}\r\n
\r\n \r\n\r\n \r\n } />\r\n\r\n } />\r\n\r\n \r\n ) : ()} />\r\n } />\r\n \r\n\r\n \r\n } />\r\n } />\r\n \r\n\r\n } />\r\n } />\r\n } />\r\n } />\r\n } />\r\n } />\r\n } />\r\n } />\r\n\r\n } />\r\n\r\n\r\n } />\r\n } />\r\n } />\r\n } />\r\n } />\r\n } />\r\n } />\r\n \r\n\r\n }> \r\n \r\n\r\n } />\r\n } />\r\n } />\r\n } />\r\n\r\n } />\r\n \r\n \r\n } />\r\n } />\r\n } />\r\n } />\r\n } />\r\n } />\r\n } />\r\n } />\r\n } />\r\n } />\r\n } />\r\n } />\r\n } />\r\n \r\n } /> \r\n\r\n } />\r\n } />\r\n\r\n } />\r\n } />\r\n } />\r\n } />\r\n } />\r\n \r\n
\r\n
\r\n )\r\n}\r\nexport default Layout;","import React from 'react';\r\nimport { useEffect } from \"react\";\r\nimport { useAppDispatch } from \"redux/hooks\";\r\n\r\n\r\nimport { setIsAuthenticated } from 'redux/pages/Login/loginSlice';\r\n\r\nconst PrivateRoute = (props: { children: React.ReactNode }): JSX.Element => {\r\n const { children } = props\r\n\r\n const dispatch = useAppDispatch();\r\n\r\n\r\n useEffect(() => {\r\n dispatch(setIsAuthenticated(true));\r\n }, [dispatch]);\r\n\r\n return (\r\n <>{children}\r\n ) \r\n \r\n};\r\n\r\n\r\nexport default PrivateRoute;","import React, { useEffect, useState } from 'react';\r\nimport { useDispatch } from \"react-redux\";\r\n\r\nimport Layout from 'pages/Layout';\r\nimport { useAppSelector } from \"./redux/hooks\";\r\nimport PrivateRoute from 'components/common/PrivateRoute/PrivateRoute';\r\nimport { getToken } from \"./redux/pages/Login/loginSlice\";\r\n\r\nimport './App.scss';\r\nimport { setServiceClassDispatcher, setSessionExpiryMessage } from 'service/HttpService';\r\nimport Help from 'components/Header/Help/Help';\r\nimport InformationBox from 'components/common/Message/InformationBox/InformationBox'; \r\nimport { Dialog } from 'primereact/dialog';\r\nimport { Button } from 'primereact/button';\r\nimport { useNavigate } from 'react-router-dom';\r\n\r\nconst RouteGuard = ({ component: Component }) => \r\n\r\nfunction App() {\r\n\r\n const dispatch = useDispatch();\r\n setServiceClassDispatcher(dispatch);\r\n const token = useAppSelector((state) => state.login.accessToken);\r\n const appBaseURL = (window as any).envSettings.appBaseUrl;\r\n const [showHelp, setShowHelp] = useState(false);\r\n const [pathName, setPathName] = useState('');\r\n const [message, setMessage] = useState();\r\n const [displayInfoModal, setDisplayInfoModal] = useState(false)\r\n const [showModal, setShowModal] = useState(false);\r\n const navigate = useNavigate();\r\n \r\n useEffect(() => {\r\n if (token == null) {\r\n dispatch(getToken());\r\n } else {\r\n if (token.accessToken == null) {\r\n document.location.href = `${appBaseURL}/api/v1/auth/signin`;\r\n }\r\n }\r\n }, [token]);\r\n\r\n useEffect(() => {\r\n document.addEventListener('keydown', handleF1Key);\r\n }, [])\r\n\r\n const renderFooter = () => {\r\n return (\r\n <>\r\n
\r\n
\r\n
\r\n

\r\n Tech Advance+ {' '}\r\n \r\n SharePoint\r\n \r\n\r\n {' '} site is a hosting item such as Training Material Announcements.

\r\n For assistance, please contact your support team via {' '} \r\n {yammerLink && (\r\n \r\n Yammer\r\n \r\n )}\r\n {!yammerLink && (\r\n \r\n Yammer\r\n \r\n )}\r\n \r\n

\r\n
\r\n
\r\n
\r\n
\r\n \r\n {\r\n setSelectedItem(null);\r\n setExpandedKeys(e.value);\r\n }}\r\n />\r\n \r\n
\r\n
\r\n \r\n {selectedItem && CondtionalRender(selectedItem)}\r\n \r\n
\r\n
\r\n