{"version":3,"sources":["redux/store.js","helpers/auth-header.js","services/common.service.js","services/handle-service-request.js","services/user.service.js","services/finance-pages-services/capital-project.service.js","services/finance-pages-services/capital-project-type.service.js","services/shared-service-functions.jsx","services/fakeresponses.js","services/finance-pages-services/finance.service.js","services/finance-pages-services/line-item.service.js","services/finance-pages-services/budget-run.service.js","services/finance-pages-services/performance-schedule.service.js","services/academic-affairs-services/fake-academic-affairs-response.js","services/academic-affairs-services/academic-programs.service.js","services/academic-affairs-services/generate-report.service.js","services/data-services/data-submission.service.js","services/user-management-services/user-management.service.js","services/admin-services/partition-toggle.service.js","services/record-linking-services/record-linking.service.js","services/help-services/help.service.js","services/admin-services/academic-institutions.service.js","components/blocks/Spinner.js","shared/private-route.jsx","shared/enums/tab-enum.js","shared/enums/form-enum.js","shared/enums/capital-project-error-enum.js","shared/enums/url-enum.js","shared/enums/budget-run-form-enum.js","shared/enums/budget-run-tab-enum.js","shared/hooks/useErrorState.js","shared/hooks/useToastState.js","shared/hooks/usePermissions.js","shared/hooks/useDynamicViews.js","shared/hooks/useUserInstitutions.js","shared/functions/on-change-functions.js","shared/functions/object-filter-function.js","shared/functions/object-get-key-by-value.js","shared/functions/convert-functions.js","shared/functions/handle-error.js","shared/constants/roles.js","shared/components/capital-project-radio-button.jsx","shared/components/pop-over.jsx","shared/components/project-header-card.jsx","shared/components/confirm-action-modal.jsx","shared/components/error-boundary.jsx","shared/components/budget-run-header-card.jsx","shared/components/generic-radio-button.jsx","components/admin/user-admin.jsx","components/capital-project/capital-projects-search-table.jsx","components/capital-project/create-capital-project-modal.jsx","components/capital-project/search-capital-projects-form.jsx","components/capital-project/capital-project-request-wizard-form/components/capital-project-tabs/wizard-footer.jsx","components/capital-project/capital-project-request-wizard-form/components/capital-project-tabs/validation-error-box.jsx","components/blocks/Button.js","components/blocks/DropdownButton.js","components/blocks/FormInput.js","components/blocks/FormRadio.js","components/blocks/FormSelect.js","components/blocks/Confirm.js","components/blocks/InfoTooltip.js","components/blocks/TooltipWrapper.js","components/blocks/PopoverWrapper.js","shared/hooks/useOnClickOutside.js","components/blocks/helpers.js","components/capital-project/capital-project-request-wizard-form/components/capital-project-tabs/annual-cost-detail.jsx","components/capital-project/capital-project-request-wizard-form/components/capital-project-tabs/cost-detail.jsx","components/capital-project/capital-project-request-wizard-form/components/capital-project-tabs/cost-size-funding.jsx","shared/models/funding-source.model.js","components/capital-project/capital-project-request-wizard-form/components/capital-project-tabs/detail-description.jsx","components/capital-project/capital-project-request-wizard-form/components/capital-project-tabs/general-info.jsx","components/capital-project/capital-project-request-wizard-form/components/capital-project-tabs/need-and-purpose.jsx","components/capital-project/capital-project-request-wizard-form/components/capital-project-tabs/other-project-info.jsx","components/capital-project/capital-project-request-wizard-form/components/capital-project-tabs/space-detail.jsx","components/capital-project/capital-project-request-wizard-form/components/capital-project-tabs/submit.jsx","components/capital-project/capital-project-request-wizard-form/components/capital-project-tab-switch.jsx","components/capital-project/capital-project-request-wizard-form/components/capital-project-single-nav-tab.jsx","components/capital-project/capital-project-request-wizard-form/components/capital-project-wizard-nav.jsx","components/capital-project/capital-project-request-wizard-form/capital-projects-request-wizard-form.jsx","components/header/header.jsx","components/impersonation/impersonation.jsx","components/error/error.jsx","components/toast/toast.jsx","components/side-nav/side-nav.jsx","shared/hooks/useOnScreen.js","components/project-review/search-capital-project-review-form.jsx","components/project-review/search-capital-project-review-table.jsx","components/project-review/project-review-wizard-form/components/project-review-single-nav-tab.jsx","components/project-review/project-review-wizard-form/components/project-review-wizard-nav.jsx","components/project-review/project-review-wizard-form/components/project-review-tabs/wizard-footer.jsx","components/project-review/project-review-wizard-form/components/project-review-tabs/annual-cost-detail.jsx","components/project-review/project-review-wizard-form/components/project-review-tabs/cost-detail.jsx","components/project-review/project-review-wizard-form/components/project-review-tabs/cost-size-funding.jsx","components/project-review/project-review-wizard-form/components/project-review-tabs/detail-description.jsx","components/project-review/project-review-wizard-form/components/project-review-tabs/general-info.jsx","components/project-review/project-review-wizard-form/components/project-review-tabs/need-and-purpose.jsx","components/project-review/project-review-wizard-form/components/project-review-tabs/other-project-info.jsx","components/project-review/project-review-wizard-form/components/project-review-tabs/space-detail.jsx","components/project-review/project-review-wizard-form/components/project-review-tabs/submit.jsx","components/project-review/project-review-wizard-form/components/project-review-tab-switch.jsx","components/project-review/project-review-wizard-form/project-review-wizard-form.jsx","components/line-items/line-item-search-container/components/create-line-item-modal.jsx","components/line-items/line-item-search-container/components/Columns.js","components/line-items/line-item-search-container/search.jsx","components/line-items/line-item-budget/components/data-audit-table.jsx","components/line-items/line-item-budget/components/summary-budget-request-table.jsx","components/line-items/line-item-budget/components/submit-modal.jsx","components/line-items/line-item-budget/components/footer.jsx","components/line-items/line-item-budget/components/header-card.jsx","components/line-items/line-item-budget/components/edit-prepopulated-value-modal.jsx","components/line-items/line-item-budget/components/data-audit-modal.jsx","components/line-items/line-item-budget/components/update-description-modal.jsx","helpers/loadingSpinner.jsx","helpers/data.js","components/line-items/line-item-budget/line-items-budget.jsx","components/record-linking/components/Columns.js","components/record-linking/components/Records.js","components/record-linking/components/Table.js","components/record-linking/record-linking.jsx","components/record-linking/link-review.jsx","components/budget-runs/budget-runs-search-table.jsx","components/budget-runs/create-budget-run-modal.jsx","components/budget-runs/search-budget-runs-form.jsx","components/budget-runs/budget-runs-wizard-form/components/budget-run-tabs/wizard-footer.jsx","components/budget-runs/budget-runs-wizard-form/components/budget-run-tabs/base.jsx","components/budget-runs/budget-runs-wizard-form/components/budget-run-tabs/general-info.jsx","components/budget-runs/budget-runs-wizard-form/components/budget-run-tabs/capital-projects-bulk-update-modal.jsx","components/budget-runs/budget-runs-wizard-form/components/budget-run-tabs/capital-projects.jsx","components/budget-runs/budget-runs-wizard-form/components/budget-run-tabs/line-items-bulk-update-modal.jsx","components/budget-runs/budget-runs-wizard-form/components/budget-run-tabs/line-items.jsx","components/budget-runs/budget-runs-wizard-form/components/budget-run-tabs/output.jsx","components/budget-runs/budget-runs-wizard-form/components/budget-run-tabs/pff-output.jsx","components/budget-runs/budget-runs-wizard-form/components/budget-run-tabs/pff-per-unit.jsx","components/budget-runs/budget-runs-wizard-form/components/budget-run-tabs/r&r.jsx","components/budget-runs/budget-runs-wizard-form/components/budget-run-tabs/percents.jsx","components/budget-runs/budget-runs-wizard-form/components/budget-run-tabs/dual-credit.jsx","components/budget-runs/budget-runs-wizard-form/components/budget-run-tab-switch.jsx","components/budget-runs/budget-runs-wizard-form/components/budget-run-single-nav-tab.jsx","components/budget-runs/budget-runs-wizard-form/components/budget-run-wizard-nav.jsx","components/budget-runs/budget-runs-wizard-form/budget-runs-wizard-form.jsx","components/academic-affair-program/academic-affairs-search-programs-table.jsx","components/academic-affair-report/components/RadioCheckGroup.js","components/academic-affair-report/components/CheckboxGroup.js","components/academic-affair-report/components/OutputItem.js","components/academic-affair-report/components/ReviewTable.js","components/academic-affair-report/components/RadioGroup.js","components/academic-affair-report/components/SavedSearches.js","components/academic-affair-report/components/SaveSearch.js","components/academic-affair-report/components/ManageSearches.js","components/academic-affair-report/helpers.js","components/academic-affair-report/program-criteria-form.jsx","components/academic-affair-program/create-academic-affair-modal.jsx","components/academic-affair-program/search-academic-programs-form.jsx","components/academic-affair-program/components/FormSelect.js","components/academic-affair-program/academic-affair-add-location-modal.jsx","components/academic-affair-program/academic-affair-add-credential-modal.jsx","components/academic-affair-program/academic-affair-view-audit-modal.jsx","components/academic-affair-program/academic-affair.jsx","components/academic-affair-program/academic-credential.jsx","components/academic-affair-program/academic-affair-view.jsx","components/academic-affair-institutions/academic-affairs-search-institutions-table.jsx","components/academic-affair-institutions/academic-affair-system-view.jsx","components/che-admin/components/Toggle.js","components/che-admin/components/institution-add-system-modal.jsx","components/academic-affair-institutions/search-academic-institutions-form.jsx","components/academic-affair-institutions/components/FormSelect.js","components/academic-affair-institutions/academic-affair-add-institution-modal.jsx","components/academic-affair-institutions/academic-system.jsx","components/academic-affair-institutions/academic-location.jsx","components/academic-affair-institutions/academic-affair-add-campus-modal.jsx","components/academic-affair-institutions/academic-affair-add-location-modal.jsx","components/academic-affair-institutions/academic-campus.jsx","components/academic-affair-institutions/academic-institution.jsx","components/academic-affair-report/program-review-report.jsx","components/data/components/Columns.js","components/data/components/TransmissionModal.js","components/data/data-submission-form.jsx","components/user-management/components/Alert.js","components/user-management/components/Columns.js","components/user-management/components/UserModal.js","components/user-management/search-users-form.jsx","components/che-admin/partition-toggle.js","services/admin-services/collection-processing-service.js","components/che-admin/collection-processing-form.jsx","components/che-admin/collection-processing-table.jsx","components/profile/index.js","components/help/components/AddSection.js","components/help/components/Contact.js","components/help/components/Document.js","components/help/components/Header.js","components/help/components/Upload.js","components/help/components/Section.js","components/help/index.js","components/performance-schedules/components/Columns.js","components/performance-schedules/components/LineItemTable.js","components/performance-schedules/search.jsx","components/performance-schedules/line-item.jsx","components/debt-service/components/ReportTable.js","components/debt-service/search-debt-service.jsx","components/login/LoginForm.jsx","components/login/ResetForm.jsx","components/login/PhoneNumberForm.jsx","components/login/VerifyCodeForm.jsx","pages/login-page/index.jsx","pages/verify-code-page/index.jsx","pages/phone-number-page/index.jsx","components/password/PasswordForm.jsx","pages/password-pages/set-password/index.jsx","pages/finance-pages/capital-projects/capital-project-request-page/capital-projects-request.jsx","pages/finance-pages/capital-projects/capital-projects-search-page/capital-project-search-page.jsx","pages/finance-pages/project-reviews/project-review-search-page/project-review-search-page.jsx","pages/finance-pages/project-reviews/project-review/project-review-page.jsx","pages/finance-pages/line-items/line-item-budget-page.jsx","pages/finance-pages/line-items/line-items-search-page.jsx","pages/finance-pages/budget-runs/budget-run-page.jsx","pages/finance-pages/budget-runs/budget-runs-search-page.jsx","pages/finance-pages/performance-schedules/performance-schedules-page.jsx","pages/finance-pages/performance-schedules/line-item-performance-page.jsx","pages/finance-pages/debt-service/debt-service-page.jsx","pages/academic-affairs-pages/academic-program/search-academic-program-inventory-page.jsx","pages/academic-affairs-pages/academic-program/academic-credential-page.jsx","pages/academic-affairs-pages/academic-program/academic-program-page.jsx","pages/academic-affairs-pages/academic-program/academic-program-page-view.jsx","pages/academic-affairs-pages/generate-reports/generate-program-review-report-page.jsx","pages/academic-affairs-pages/generate-reports/program-review-report-page.jsx","pages/data-pages/data-submission/data-submission-page.jsx","pages/admin-pages/partition-toggle/partition-toggle-page.jsx","pages/admin-pages/profile/profile-page.jsx","pages/admin-pages/academic-institutions/search-academic-institution-inventory-page.jsx","pages/admin-pages/academic-institutions/academic-location-page.jsx","pages/admin-pages/academic-institutions/academic-campus-page.jsx","pages/admin-pages/academic-institutions/academic-institution-page.jsx","pages/admin-pages/academic-institutions/academic-system-page.jsx","pages/admin-pages/academic-institutions/academic-system-page-view.jsx","pages/admin-pages/collection-processing/collection-processing-page.jsx","pages/help-pages/index.js","pages/user-management-pages/user-management/search-users-page.jsx","pages/record-linking-pages/record-linking-page.jsx","pages/record-linking-pages/link-review-page.jsx","pages/home-page/home-page.jsx","App/App.js","shared/hooks/useRole.js","App/serviceWorker.js","index.js","redux/reducer.js"],"names":["createStore","rootReducer","authHeader","useOriginal","arguments","length","undefined","state","store","getState","user","values","original","token","Authorization","api_base_url","process","axiosInstance","axios","create","httpsAgent","https","Agent","rejectUnauthorized","httpAgent","http","handleAxiosResponse","res","text","request","response","data","type","headers","includes","JSON","parse","Promise","reject","handleServiceRequest","_ref","url","convertFunction","customHandleError","params","get","then","catch","error","handleError","_ref2","_ref4","postBody","onCompleteFunction","post","_ref7","delete","_ref6","patchBody","patch","_ref5","put","_ref8","filename","ext","responseType","blob","Blob","encoding","link","document","createElement","href","window","URL","createObjectURL","download","click","remove","userService","login","Email","Password","console","log","EmailAddress","authdata","btoa","forgotPassword","emailAddress","setPassword","id","uid","password","verifyPhone","submitPhone","twoFactorAuthenticate","tfaAuth","tfaCode","tfaCredentials","localStorage","getItem","credentialID","securityCode","userID","credentialName","setItem","stringify","userRoles","logout","removeItem","getAll","userCan","roleId","roles","Boolean","find","role","roleID","getRole","event","createEvent","initEvent","dispatchEvent","capitalProjectService","createCapitalProject","history","location","pathname","UrlEnum","CAPITALPROJECTREQUEST","projectId","push","biennium","institutions","runList","capitalProjectId","downloadCapitalProject","fileType","uploadCapitalProjectSupportingDocument","formData","fileid","capitalProjectTypeService","firstYearOfBiennium","split","map","value","label","convertApiResponseToSearchOptions","responses","name","fakeResponses","getInstitutions","category","financeService","getAllProjectTypes","getSpaceDetailTableColumns","getCostDetailTableRows","getAnnualCostDetailTableColumns","getAllInstitutions","getLineItemsForNewModal","institutionId","bienniumId","LineItemService","getBudgetScheduleWithId","createNewLineItem","createLineItem","saveLineItem","deleteLineItemWithId","searchLineItems","query","getBienniums","getStatuses","getPerformanceScheduleTypes","getBudgetScheduleTypes","getLineItemCategories","getDescription","pdf","uploadDescriptionText","uploadDescriptionPDF","getLineItemWithId","downloadLineItem","getExportTypes","baseUrl","budgetRunService","budgetRunID","createNewBudgetRun","BUDGETRUN","budgetRunId","newBudgetRunID","deleteBudgetRun","BUDGETRUNSEARCH","downloadBudgetRun","fileEnding","search","performanceScheduleService","updateSchedule","body","getTypes","getExportFileTypes","exportFile","getObject","fakeSearchAcademicPrograms","programID","institutionName","degreeLevel","cipCode","cipTitle","programName","status","approvalDate","hasPendingActionRequests","monthYearIdentifier","monthYearText","academicProgramsService","searchAcademicPrograms","createCredential","editCredential","myObject","CredentialId","getAcademicProgramRequests","getCredentialInformation","getProgramExtraViewDetails","getAcademicProgram","isEditing","createNewProgram","getProgramReviewReport","getProgramReviewReportExport","getLocations","getOptions","getCips","two","four","six","all","getSixCips","editable","getInstitutionTypes","getAuditsListWithId","updateNewAcademicAffair","getDegreeLevels","degreeLevels","getDistanceEdsOnline","async","editAcademicProgram","programId","getDistanceEds","deleteProgram","generateReportService","config","getMetaMajor","getAttributes","getSearches","updateSearch","dataSubmissionService","getFileTypes","file","FormData","append","userManagementService","getRoles","payload","updateUser","postObject","clearImpersonation","partitionToggleService","getToggles","toggles","recordLinkingService","getRecords","getRaceAndGenderCodes","getReviewRecord","linkRequestId","dataLinkId","submitRecordLink","masterIndexId","submitDuplicate","indexId","duplicateGroupNum","helpService","getSections","changeIndex","indexOffset","obj","getFiles","getFile","fileExt","validateCheUnitId","cheUnitId","validateCheIpedsId","cheId","validateCheOpeId","academicInstitutionsService","getInstitutionSectorOptions","editAcademicInstitution","institution","getInstitutionReportingGroups","editAcademicSystem","system","campusId","editAcademicCampus","editAcademicLocation","getInstitutionClassificationReportingOptions","Spinner","React","memo","props","ref","useRef","width","setWidth","useState","size","color","fill","useEffect","current","clientHeight","className","style","height","PrivateRoute","component","Component","admin","rest","useSelector","useLocation","useHistory","path","replace","Route","Object","assign","render","ErrorBoundary","position","AdminRoute","ROLES","ADMIN","Redirect","to","TabEnum","GENERALINFO","COSTSIZEFUNDING","DETAILDESCRIPTION","NEEDSANDPURPOSE","OTHERPROJECTINFO","SPACEDETAIL","COSTDETAIL","ANNUALCOSTDETAIL","SUBMIT","FormEnum","CapitalProjectErrorEnum","CAPITALPROJECTSEARCH","PROJECTREVIEWSEARCH","PROJECTREVIEW","LINEITEMSEARCH","LINEITEMBUDGET","PERFORMANCESCHEDULES","LINEITEMPERFORMANCE","DEBTSERVICE","RECORD_LINKING","LINK_REVIEW","SEARCH_ACADEMIC_AFFAIRS_PROGRAMS","ACADEMIC_AFFAIRS_PROGRAMS","ACADEMIC_AFFAIRS_CREDENTIAL","ACADEMIC_AFFAIRS_SYSTEM_VIEW","ACADEMIC_AFFAIRS_SYSTEM","ACADEMIC_AFFAIRS_INSTITUTION","ACADEMIC_AFFAIRS_CAMPUS","ACADEMIC_AFFAIRS_LOCATION","ACADEMIC_AFFAIRS_INSTITUTION_VIEW","SEARCH_ACADEMIC_AFFAIRS_INSTITUTIONS","ACADEMIC_AFFAIRS_PROGRAMS_VIEW","ACADEMIC_AFFAIRS_GENERATE_REPORT","ACADEMIC_AFFAIRS_REPORT","DATA_SUBMISSION","PARTITION_TOGGLE","COLLECTION_MANAGEMENT","SET_PASSWORD","HELP","MANAGE_USERS","PROFILE","BudgetRunFormEnum","PERCENTS","BASE","PFFOUTPUT","PFFPERUNIT","CAPITALPROJECTS","LINEITEMS","DUALCREDIT","RANDR","OUTPUT","BudgetRunTabEnum","useErrorState","dispatch","useDispatch","setError","clearError","resMsg","_get","resStatus","errMsg","message","useToastState","toast","setToast","clearToast","UNUSED_PERMISSIONS","VIEW_PERMISSIONS","usePermissions","views","permissions","perms","reduce","p","c","PERMISSIONS","d","roleName","_uniq","unused","filtered","filter","sort","Array","isArray","perm","LOCKED_VIEWS","useDynamicViews","blockedViews","hide","r","isEnabled","featureName","fetchBlockedViews","useMemo","permViews","concat","view","useUserInstitutions","isImpersonation","i","institutionID","handleChange","evt","setUserInput","target","handleAsyncSelectChange","valueObj","options","handleSelectChange","propTypes","PropTypes","func","isRequired","onChangeFunction","handleCheckChange","checked","ObjectFilter","predicate","fromEntries","entries","getKeyByValue","object","keys","key","convertToHumanReadableDate","date","Date","toLocaleDateString","group","groupEnd","CheAdmin","CheDataSubmissionAdmin","CheDataUser","CheApiAdmin","CheApiUser","CheFinanceAdmin","CheFinanceUser","ChedssInstitutionAdmin","ChedssInstitutionDataSubmissionApprover","ChedssInstitutionDataSubmissionReporter","ChedssInstitutionDataSubmissionReviewer","ChedssInstitutionApiApprover","ChedssInstitutionApiReporter","ChedssInstitutionApiReviewer","ChedssInstitutionFinanceApprover","ChedssInstitutionFinanceReporter","ChedssInstitutionFinanceReviewer","ChedssInstitutionCapitalProjectApprover","ChedssInstitutionCapitalProjectReporter","ChedssInstitutionCapitalProjectReviewer","RadioButtons","labelName","onChange","option1","option2","Fragment","Label","htmlFor","PopOver","icon","FontAwesomeIcon","UncontrolledPopover","trigger","PopoverBody","index","ProjectHeaderCard","HeaderCardModel","cardTitle","budgetAgencyProjectNo","institutionalPriority","lastUpdated","ConfirmActionModal","isOpen","toggle","header","rejectButtonText","acceptButtonText","cancelFunction","acceptFunction","acceptButtonCss","Modal","ModalHeader","ModalBody","ModalFooter","Button","onClick","constructor","super","this","hasError","componentDidCatch","info","setState","children","BudgetRunHeaderCard","statusName","GenericRadioButtons","button1","button2","UserAdmin","getUsers","users","Faker","random","number","email","internet","firstname","firstName","lastname","lastName","active","Math","company","companyName","edit","resetpw","getWidthStyle","minWidth","maxWidth","CapitalProjectsSearchTable","capitalProjects","editPermission","rowEvents","e","row","rowIndex","projectID","columns","dataField","headerStyle","Card","faFilePdf","BootstrapTable","keyField","capitalProject","isSubmitted","newLastUpdateDate","lastUpdatedDate","striped","hover","pagination","paginationFactory","showTotal","firstPageText","prePageText","nextPageText","lastPageText","sizePerPage","hideSizePerPage","rowStyle","cursor","CreateCapitalProjectModal","userInput","useReducer","newState","modalProjectName","bienniumModalValue","institutionModalValue","bienniums","closeBtn","close","Form","FormGroup","AsyncSelect","cacheOptions","defaultOptions","loadOptions","loadModalBienniums","resolve","allBienniums","components","IndicatorSeparator","for","loadModalInstitutions","allInstitutions","Input","placeholder","required","postData","Biennium","projectName","SearchCapitalProjectsForm","setCapitalProjects","submitPermission","isModalOpen","setIsModalOpen","searchProjectName","bienniumSearchValue","institutionSearchValue","searchText","isReview","getCapitalProjects","extractValuesFromResponse","unextractedResponseValues","acc","currentValue","faPlus","isMulti","isSearchable","loadBienniums","loadInstitutions","submitForm","actualBienniumValue","actualinstitutionValue","searchPostData","faSearch","WizardFooter","nextStep","prevStep","sanitizeCapitalProject","isGeneralInfo","isSubmit","saveForm","saveButton","faSave","previousButton","previousForm","faArrowLeft","nextButton","nextFormAndSave","faArrowRight","ValidationErrors","validationErrors","validationError","isValidationWarning","messageType","fontWeight","messageText","ValidationErrorBox","_capitalProject$valid","tabNumber","validationErrorsForTab","accumulator","_Object$keys$","filteredMessageTextToTab","_ref3","tab","capitalProjectField","tabEnumName","disabled","loading","ReactStrap","overflow","outline","opacity","DropdownButton","buttonClassName","dropdownProps","dropdownMenuProps","open","setOpen","Dropdown","DropdownToggle","DropdownMenu","option","DropdownItem","defaultProps","FormInput","inputClassName","FormRadio","o","FormSelect","closeAfterSelection","showLoading","isLoading","fieldClassName","valueRef","inputValue","setInputValue","selectAllOption","isSelectAllSelected","customSortOptions","a","b","aStartsWithInput","toLowerCase","startsWith","bStartsWithInput","localeCompare","Select","isOptionSelected","some","closeMenuOnSelect","onInputChange","newValue","isDisabled","_onChange","actionMeta","action","removedValue","filterOption","customFilterOption","startsWithMatch","styles","customStyles","Confirm","title","onConfirm","InfoTooltip","blue","placement","faQuestionCircle","UncontrolledTooltip","whiteSpace","TooltipWrapper","containerStyle","tooltipOpen","setTooltipOpen","Tooltip","PopoverWrapper","useOnClickOutside","handler","listener","contains","addEventListener","removeEventListener","Popover","AnnualCostDetail","annualDetailNote","annualDetails","annualDetailRowHeaders","setAnnualDetailRowHeaders","handleTableChange","inputTypeChanged","_event$target$value","setChangedTotals","annualDetailRowHeaderArray","annualDetialRow","savedAnnualDetailValue","annualDetail","costTypeId","personnelServices","suppAndExp","fetchColumns","getTotalOfColumn","sum","forEach","totals","setTotals","prevTotal","Table","responsive","annualDetailToChange","getRowHeaderTextFromCostTypeId","InputGroup","faDollarSign","rows","CostDetail","year","getFullYear","years","from","val","months","getSelectValueFromYear","yearLabel","yearSelectVal","getSelectValueFromMonth","monthValue","monthSelectVal","bidYear","bidMonth","constructionYear","constructionMonth","occupancyYear","occupancyMonth","costDetailNotes","costDetails","costDetailTableCategories","setCostDetailTableCategories","costDetailTableRows","setCostDetailTableRows","getCostDetailTableUniqueCategories","costDetailRowCategories","costDetialCategory","savedCostDetailValue","costDetail","costBasis","escalationFactors","descriptionIfOther","Row","Col","tag","borderless","categoryObject","getCostDetailArray","costObject","findIndex","costDetailToChange","toString","renderIndividualCostRow","colSpan","_userInput$bidYear$la","_userInput$bidYear","_userInput$bidMonth$v","_userInput$bidMonth","_userInput$constructi","_userInput$constructi2","_userInput$constructi3","_userInput$constructi4","_userInput$occupancyY","_userInput$occupancyY2","_userInput$occupancyM","_userInput$occupancyM2","CostSizeAndFunding","_capitalProject$sizeG","_capitalProject$sizeA","_capitalProject$netCh","_capitalProject$netCh2","_capitalProject$estAn","_capitalProject$estAn2","_capitalProject$estAn3","_userInput$sizeGSF","_userInput$sizeASF","_userInput$netChangeG","sizeGSF","sizeASF","netChangeGSF","netChangeASF","estAnnualChangeInOpsCost","estAnnualRRInvestment","estAnnualDebtPayment","isFundsSecured","fundingNarrative","justificationOfCost","fundingList","totalProjectCost","fundingTypes","handleNumberChange","_evt$target$value","handleFundingTypeChange","selectedOption","details","indexOfFundingSource","fundingSource","fundingTypeId","newFundingSource","loadFundingTypes","fundingType","CardTitle","scope","toFixed","readOnly","fundingAmount","fundingDescription","newFundingDesc","addFundingSource","changeFundingTypeId","sanitizedFundingList","DetailDescription","detailDescription","GeneralInfo","projectTypeId","priority","isPreviouslyApprovedByGA","isPreviouslyRecommendedCHE","isLongTermCapitalPlan","handleRadioButtonChange","projectTypes","mb","md","projectType","loadProjectTypes","actuallyProjectTypeIdNotObject","NeedAndPurpose","needAndPurpose","DownloadTable","files","supportingDocument","correctlyFormattedDateString","uploadDate","documentId","documentName","data-toggle","downloadClicked","faDownload","faTrash","reload","OtherProjectInfo","spaceUtilization","comparableProjects","backgroundMaterials","supportingDocuments","faUpload","capitalProjectObject","SpaceDetail","spaceDetailNotes","spaceDetails","spaceDetailRowHeaders","setSpaceDetailRowHeaders","spaceDetailRowHeaderArray","spaceDetialRow","savedSpaceDetailValue","spaceDetail","spaceTypeId","currentUse","construction","plannedAndFunded","terminated","newRequest","getRowHeaderTextFromSpaceTypeId","Submit","setStep","setCapitalProject","isSubmitModalOpen","setIsSubmitModalOpen","Link","clientLastUpdateTime","submitCapitalProject","CapitalProjectTabSwitch","step","CapitalProjectSingleNavTab","toggleClassName","activeStepEnum","tabIdName","valErrors","setValErrors","getValidationErrors","aria-controls","aria-selected","faExclamationCircle","CapitalProjectWizardNav","CapitalProjectRequestWizardForm","stepNumber","next","prev","recievedCapitalProject","parseQueryParams","Header","menuOpen","setMenuOpen","expanded","menuExpanded","openRef","faBars","faChevronLeft","faChevronRight","aria-expanded","faUser","faChevronDown","preventDefault","reset","faLock","faSignOutAlt","Impersonation","_user$impersonatedUse","_user$impersonatedUse2","_user$impersonatedUse3","_user$impersonatedUse4","marginRight","impersonatedUser","roleNames","join","merge","faTimes","ErrorAlert","setMessage","setTimeout","ToastAlert","localMessage","setLocalMessage","StyledLink","SideNav","onScreen","isIntersecting","setIntersecting","observer","IntersectionObserver","entry","observe","unobserve","useOnScreen","threshold","display","impersonating","overflowY","src","alt","NavLinks","dynamicViews","faHome","faChevronCircleRight","HoverControlledDropdown","CheAdminDropdown","SearchCapitalProjectReviewForm","allValue","submitStatusValue","submitStatusValues","actualisSubmittedValue","postRes","SearchCapitalProjectsReviewTable","projectReviewProjectId","ProjectReviewSingleNavTab","ProjectReviewWizardNav","data-position","data-content","_capitalProject$total","setProjectType","data-html","faInfoCircle","isRejectModalOpen","setIsRejectModalOpen","isAcceptModalOpen","setIsAcceptModalOpen","faCheck","CapitalProjectApprovedDisclaimer","projectApprovedDisclaimer","isReviewed","_TabEnum$tabEnumName","approveCapitalProject","rejectCapitalProject","ProjectReviewTabSwitch","ProjectReviewWizardForm","reducer","INITIAL_FORM","lineItem","lineItemStyles","provided","_params$data","budgetLineItemId","CreateLineItemModal","_form$lineItem2","form","setForm","lineItems","setLineItems","setLoading","_items$budgetLineItem","items","budgetLineItems","item","scheduleExists","fetchNewLineItems","_form$lineItem","getOptionLabel","getOptionValue","budgetLineItemName","newRes","actions","cell","formatExtraData","lineItemId","scheduleId","faSearchPlus","schedules","paginationOptions","convertToValue","deriveKey","array","BudgetSchedulesSearch","activeTab","setActiveTab","setOptions","setData","page","count","pageSize","statuses","fetchOptions","onSubmit","useCallback","getFormPayload","queryString","arrayFormat","skipEmptyString","getBienniumName","_options$bienniums$fi","getScheduleName","_options$schedules$fi","sch","getInstitutionName","_options$institutions","ins","getStatusName","_options$statuses$fin","st","_data$schedules2","scheduleStatusId","Container","fluid","x","_isEmpty","renderTabs","_options$statuses","_data$schedules","_data$schedules$filte","PaginationProvider","custom","totalSize","onPageChange","paginationProps","paginationTableProps","remote","onTableChange","classes","exportFileTypes","formatter","PaginationTotalStandalone","PaginationListStandalone","DataAuditTable","lineItemValues","setIsDataAudit","valueNameArr","valueName","dataAuditName","prepopName","_row$prepopName","lastYear","dataItem","lineItemCategoryName","lineItemName","format","toLocaleString","maximumFractionDigits","currency","SummaryBudgetRequestTable","lineItemCategories","setLineItemValues","setModalObject","setIsEditPrePopulatedModalOpen","mapOfTotals","setMapOfTotals","bienniumHeaders","firstYear","firstYearString","secondYearString","bienniumHeader","getBienniumHeaders","valueNameArray","getTotals","newMapOfTotals","Map","lineItemCategory","totalMap","k","currentLineItem","newTotal","has","set","totalsMap","operatingBudgetMap","valueNameTotal","valueToAdd","getTotalOperatingBudget","DisplayTotal","nameOfTotal","categoryName","mapOfOneCategory","DisplayTotalFunding","RenderTotalRow","_lineItemCategory$lin","newLineItemMap","_value$valueName","canEdit","numberForInput","faPencilAlt","SubmitModal","sanitizedInput","isDataAudit","fetchBudgetSchedule","ModalSwitcher","float","input","Footer","saving","setSaving","HeaderCard","description","schedule","lastUpdatedByUser","isObjectEmpty","EditPrepopulatedValueModal","modalObject","setNewValue","reasonForChange","setReasonForChange","prepopulatedValue","setPrepopulatedValue","_modalObject$value$mo","_modalObject$value$mo2","_modalObject$value$mo3","oldValue","DataAuditModal","radioButtonEnum","UpdateDescriptionModal","radioButtonValue","setRadioButtonValue","setDescription","setFile","fetch","accept","newFile","downloadCsv","encodeURI","appendChild","downloadExcel","reader","FileReader","readAsDataURL","onloadend","result","LineItemsBudget","_options$fileTypes","scheduleDescription","fileTypes","budgetSchedule","setBudgetSchedule","setLineItemCategories","isEditPrePopulatedModalOpen","isDataAuditModalOpen","setIsDataAuditModalOpen","isUpdateModalOpen","setIsUpdateModalOpen","isDeleteModalOpen","setIsDeleteModalOpen","lineItemValueMap","scheduleData","detail","groups","_groupBy","categories","prop","_res$","labels","_options$bienniums","_options$institutions2","_options$schedules","cheFinanceUnitId","scheduleTypeId","scheduleEditStatusId","faFileExport","exportAs","faTrashAlt","faHistory","sanitizeInput","detailList","linkRequestID","onLink","duplicate","faFile","dateRequestRan","Columns","record","_formatExtraData$acti","reviewed","Records","getGender","_options$find","opt","genderCode","genderDesc","getRace","_options$find2","raceCode","raceDesc","checkMatch","fieldName","ReviewHeader","ReviewRow","races","genders","borderBottom","last4SSN","middleName","dob","gender","race","highSchoolCeebcode","hsName","hsCity","highSchoolGraduationYear","DuplicateRow","setDuplicate","dupGroupNum","EditRow","match","setActive","altLastName","dateOfBirth","hsceebCode","hsGradYear","score","NoMatchRow","RecordLinking","setGenders","setRaces","codes","genderList","raceList","LinkReview","_props$location","setCurrent","setRecord","needReviewN","setNeedReviewN","dataWIndex","records","firstNeedsReviewRecord","updateNeedReview","found","v","selected","fetchRecord","getNextReviewRecord","nextIndex","nextRecord","campus","dataSetSource","totalRecordN","plNeedReviewN","autoLinkN","autoNonLinkN","autoLinkCutoffScore","possibleLinkCutoffScore","needRevN","rec","promises","prevData","updatedRecords","BudgetRunSearchTable","budgetRun","searchObject","statusMap","statusTableDataMap","setStatusTableDataMap","statusString","statusNumber","singleStatusSearchObject","singleStatusTableData","getStatusTableData","faCopy","TableNavigator","singleTableData","StatusTable","budgetRuns","bRun","CreateBudgetRunModal","budgetRunTitle","copyFrom","includeAll","budgetRunTitleArray","budgetrun","createBudgetRun","BudgetRunTitle","CreateFromRunID","SearchBudgetRunForm","setBudgetRun","setSearchObject","_res$budgetRuns","getBudgetRuns","classNamePrefix","unshift","sanitizeBudgetRun","Base","opsBase","_withoutCommas","headerValue","withoutCommas","replaceAll","renderFundingTypeDropdown","typeOptions","handleTypeSelectChange","displayName","operatingBase","pffExclusion","opsFTEAdj","bY1OtherAdj","bY2OtherAdj","_budgetRun$budgetRunN","output_IncludeCashInOverview","output_IsRecommendation","output_CreateBooks","output_IncludeOthDedLnItms","budgetRunNotes","CapitalProjectsBulkUpdateModal","fundingMethodOptions","priorityOne","priorityTwo","priorityThree","priorityFour","priorityFive","prioritySix","prevApprovedByGAYes","prevApprovedByGANo","requestedFundingPercent","fundingMethod","handleCheckButtonChange","applyBulkUpdate","prioritiesCheckedArray","hasAllValue","institutionsSelected","project","percentOfStateFunding","requestedStateFunding","priorityNumber","preApprovedByGenAssembly","startDebtServiceBY1","recommendedFunding","bY1Cash","bY2Cash","halfOfPercentOfStateFunding","CapitalProjects","capitalProjectBySchoolMap","setCapitalProjectBySchoolMap","newCapProj_InterestRate","newCapProj_NumberOfPaymentPeriods","bienniumYearOne","budgetYearOne","bienniumYearTwo","budgetYearTwo","capitalProjectID","field","_noCommas","me","noCommas","recalculate","numberValueChange","undoCheckboxStyle","marginLeft","marginTop","newCapitalProjectBySchoolMap","SchoolCapitalProjectTotal","schoolNameKey","totalArray","curr","arrayOfCapitalProjects","capitalProjectName","sbaNumber","isNaN","LineItemsBulkUpdateModal","isGeneralFundDisplayed","NewLineItemYes","NewLineItemNo","percentValueChecked","percentValue","isNewLineItem","maxFunding","baseFunding","bY1RequestedStateFunding","bY1ReccomendedStateFunding","dedicatedBY1RequestedStateFunding","dedicatedBY1ReccomendedStateFunding","bY2RequestedStateFunding","bY2ReccomnededStateFunding","dedicatedBY2RequestedStateFunding","dedicatedBY2ReccomnededStateFunding","LineItems","generalFundMap","setGeneralFundMap","stateFundMap","setStateFundMap","currentBiennium","setIsGeneralFundDisplayed","mapToUse","lineItemID","newGeneralFundMap","newStateFundMap","isGeneral","isStateDedicated","SchoolLineItemTotal","arrayOfLineItems","generalY1Increase","stateY1Increase","generalY2Increase","stateY2Increase","LineItemTotal","accMap","currMap","categoryTotal","accArr","Output","running","finalizing","setRunning","setFinalizing","budgetRunStatusId","showRunClass","faPlay","showDownload","showFinalize","PffOutput","_budgetRun$pffPerUnit","selectOptions","setSelectOptions","setSelectedOption","showAll","setShowAll","pffPerUnits","recalculatePercents","pffUnit","thisSum","perUnits","_v$totalUnits","percentOfTotal","totalUnits","pffTypeName","pffDisplayName","pffItemID","show","otherIndex","financeUnit","_financeUnit$totalUni","PffOutputTableBody","PffPerUnit","mapOfPerUnits","setMapOfPerUnits","perUnitValues","_v$perUnitValues$metr","metricTotal","perUnitValue","newMapOfPerUnits","categoryPerUnits","perUnit","RandR","rrAssetFundingPercent","infrastructureAssetFundingPercent","rrDetails","rrAssetTotal","infrastructureAssetTotal","renderTotalRow","totCol1","totCol2","totCol3","totCol4","Percents","isPFFFullyFunded","bY1_PFFPercentOfTotalOpsInput","bY2_PFFPercentOfTotalOps_Input","bY1_ReallocPercentOfBaseInput","bY2_ReallocPercentOfBase_Input","bY1_NewFundingPercentOfBaseInput","bY2_NewFundingPercentOfBase_Input","bY1_FlatAdjPercent_Input","bY2_FlatAdjPercent_Input","bonusInputs","byBonusPercentFloor","divBy100","percentRowClassName","setPercentRowClassName","DualCredit","bY1_DualCreditFunding","bY2_DualCreditFunding","dualCreditDetails","thpCredits","bY1Funding","bY2FUnding","BudgetRunTabSwitch","fetchData","BudgetRunSingleNavTab","BudgetRunWizardNav","BudgetRunWizardForm","budgetRunStatusIdName","statusid","recievedBudgetRun","bienniumDesc","lastUpdateDate","AcademicAffairsSearchProgramsTable","academicAffairsData","institutionIds","idStart","faEdit","alwaysShowAllBtns","RadioCheckGroup","CheckboxGroup","OutputItem","COL_STYLE","sector","programStatus","distanceEd","programApprovalDate","programEndYear","creditRange","headCount","fte","degrees","demographic","YEAR_EMPTY","DEMO_BINDINGS","Race","PellRecipient","Gender","Residency","DEMO_DATA_BINDINGS","Title","SubTitle","titleWidth","demographicsToShow","colWidth","Institution","countsByYear","demographicInfo","demo","Number","Body","selector","h","querySelectorAll","n","classList","add","BodyUngrouped","SavedSearchesModal","setSelected","savedSearch","attr","searchString","SaveSearchModal","getQueryString","setName","userId","onEdit","onDelete","RenameInput","onRename","onClear","borderTopWidth","colspan","ManageSearchesModal","renameSearch","clearRename","headerClasses","convertCipToValue","convertMetaMajorToValue","cipName","convertCampusToValue","Key","Value","getDefaultValues","defaultValues","DEFAULT_FIELDS","getDefaultValue","vals","isDefault","default","getYears","start","String","PROGRAM_STATUS","DEMOGRAPHIC_FILTERS","DEMOGRAPHIC_KEYS","institutionLevel","dataOutputs","programsToInclude","programAttributes","fiscalYears","getYearsAndExcludeLast","institutionTypes","metaMajor","twoCip","fourCip","sixCip","groupPrograms","includeNonData","systems","demographics","convertToArray","converted","hydrateFormArray","cips","allCips","foundCips","cip","_c$cipCode","_c$cipCode2","_c$cipCode3","getDemographics","deriveYears","getCipLabel","containsValue","modifier","comparison","hydrateQueryParams","initial","hydrated","institutionOptions","getInstitutionOptions","insLevel","campuses","locations","ProgramCriteriaForm","fetchingInstitutions","setFetchingInstitutions","searchesOpen","setSearchesOpen","managingSearchesOpen","setManagingSearchesOpen","savingSearchOpen","setSavingSearchOpen","activeSearch","setActiveSearch","disableSubmit","setDisableSubmit","resetOptions","allSystems","setAllSystems","generateQuery","distanceEdOnline","parseBooleans","levelCode","levelName","opts","list","valueMeta","newValues","formValues","fetchNewInstitutions","queriedSystems","matchedSystem","institutionLevelOptions","distanceEdOptions","ed","dataOutputOptions","programsToIncludeOptions","twoCipOptions","_form$metaMajor","_options$twoCip","metaValues","fourCipOptions","sixCipOptions","twoVals","fourVals","faMagic","right","faCog","Alert","faUndo","faExternalLinkAlt","CreateAcademicAffairModal","onlineDropdownDisabled","setOnlineDropdownDisabled","allFieldsFilled","setAllFieldsFilled","INITIAL_STATE","distanceEdApproved","distanceEdOnlineApproved","comments","creditRequirementMinimum","creditRequirementMaximum","endDate","programDistanceEd","programDistanceEdOnline","programStartYear","toggleModal","distanceEds","distanceEdsOnline","singleLoc","distEdOnline","skipKeys","anyEmpty","isClearable","textAlign","approval","locationStatusChanges","LocationId","LocationName","StatusId","formalName","endYear","startYear","initialValues","pendingReview","institutionLevels","institutionControls","twoDigitCips","fourDigitCips","sixDigitCips","distanceEducationId","distanceEducationOnlineId","maxApprovalYear","minApprovalYear","distanceEducation","stemPff","workforceReadyGrant","separatePages","originalCIPList","getLevelsFromInstitutionTypes","Set","code","levels","SearchAcademicProgramsForm","setAcademicAffairs","locationsQuery","singleIns","UpdateCipValue","GetSubstringOfCip","stringLength","smallerDigitCipList","fullCipList","smallerDigitCipListValue","substring","getAllQuery","controlCode","controlName","controls","extractLabelsFromResponseCSV","extractValuesFromResponseCSV","CreateSearchPostData","cheLocationUnitIds","_userInput$twoDigitCi","_options$fourCip","_userInput$twoDigitCi2","_userInput$fourDigitC","twoVal","fourVal","statusSelectOptions","updatedResults","results","inst","submitFormAndExport","AcademicAffairAddLocationModal","addApprovedLocation","locationId","existingLocations","formatLocations","locOptions","exists","loc","addApprovedLocations","AcademicAffairAddCredentialModal","addCredential","institutionUnitID","credential","setCredential","credentialId","programURL","keywords","ctid","programDescription","institutionUnitId","credentialType","credentialTypeOptions","cred","CreateCredential","AcademicAffairViewAuditModal","auditsList","auditId","turnKey","audit","programAuditId","retList","renderAuditRows","makeShortDate","month","getMonth","day","getDate","statusChangeOptions","rowStyles","container","AcademicAffairProgram","setAcademicAffairsData","degreeSelectOptions","distanceEdOnlineOptions","setLocations","updatePermission","locationsToAdd","setLocationsToAdd","isCredentialModalOpen","setIsCredentialModalOpen","isAuditModalOpen","setIsAuditOpen","setAuditId","confirm","setConfirm","toggleAudit","handleProgramDetailsChange","programDetails","credentialDetails","updateDistanceEdOnline","toggleRelevance","bool","programCareerRelevanceFlag","getSelectOption","TurnKeyToPlainText","credentials","audits","programFormalName","degreeLevelCode","cipSixDigitCode","programStatusId","programCreditReqMin","programCreditReqMax","programComments","cheInstitutionUnitId","locationName","programInstitution","renderApprovedLocationRows","statusId","requesterName","GetAuditFieldsList","toggleCredential","submitData","toISOString","careerRelevanceFlag","deleteProg","AcademicCredential","credentialData","setCredentialData","handleCredentialDataChange","Keywords","Description","SubHeader","Cell","AcademicAffairProgramView","_getSelectOption","setCips","extraDetailsLoading","setExtraDetailsLoading","extraDetailsHasLoaded","setExtraDetailsHasLoaded","extraViewDetails","setExtraViewDetails","fafsaYear1","fafsaYear2","fafsaYear3","year1Headcount","year1FTE","year1Degrees","year2Headcount","year2FTE","year2Degrees","year3Headcount","year3FTE","year3Degrees","fetchExtraViewDetails","degreeLevelDesc","programPffStemFlag","workforceReadyGrantFlag","_cips$find","renderCredentialRows","AcademicAffairsSearchInstitutionsTable","academicSystemsData","unitId","unitType","UnitId","AcademicAffairSystemView","systemName","systemID","Toggle","InstitutionAddSystemModal","setDisabled","invalidId","setInvalidId","missingName","setMissingName","missingId","setMissingId","missingSector","setMissingSector","missingDegree","setMissingDegree","missingReport","setMissingReport","missingResearch","setMissingResearch","clearErrors","setSystem","cheUnitName","cheUnitAbbreviation","systemId","sectorId","degreeGrantingStatusId","reportingGroupCode","institutionResearchClassificationCode","sys_options","logic","abbr","sectors","sectorName","degreeGrantingStatus","reportingGroupName","institutionResearchClassification1","systemToSend","newSystem","hasOwnProperty","prepareSystem","varMissingName","varMissingId","varMissingSector","varMissingDegree","varMissingReport","varMissingResearch","missingSomething","validateRequiredFields","systemCreated","createAcademicSystem","types","SearchAcademicInstitutionsForm","setAcademicSystemsData","filterTypes","sortOption","createFilter","matchFrom","AcademicAffairAddInstitutionModal","addNewInstitution","reportingGroupCodeOptions","sectorSelectOptions","InstitutionResearchClassificationCode","sectorSelectOptionLabels","reportingGroupCodeLabels","researchClassificationCodeLabels","missingCHEId","setMissingCHEId","setSystemId","setInstitution","InstitutionName","CHEInstitutionUnitId","CHESystemUnitId","SectorId","DegreeGrantingStatusId","Active","CHEInstitutionStateCode","ReportingGroupCode","InstitutionAbbreviation","institutionToSend","newInstitution","prepareInstitution","AcademicAffairSystem","institutionsToAdd","setInstitutionsToAdd","rerender","setRerender","institutionsToRemove","setInstitutionsToRemove","setSectorSelectOptions","reportingGroupOptions","setReportingGroupOptions","setInstitutionResearchClassificationCode","reportingGroups","researchClassificationCode","renderApprovedInstitutionRows","CheInstitutionUnitId","newList","RemoveFromAddList","ToggleDeletion","SystemId","SystemName","InstitutionsToAdd","InstitutionsToRemove","AcademicAffairLocation","academicLocationData","setAcademicLocationData","handleLocationDataChange","cheCampusUnitId","cheSystemUnitId","cheLocationName","cheLocationUnitId","LocationShortName","shortName","AcademicAffairAddCampusModal","addNewCampus","invalidIpedsId","setInvalidIpedsId","invalidOpeId","setInvalidOpeId","missingIPEDSId","setMissingIPEDSId","missingOPEId","setMissingOPEId","missingCity","setMissingCity","missingZipCode","setMissingZipCode","missingAddress","setMissingAddress","setCampus","ipedsId","OPEid","campusAddress","campusCity","campusZipCode","campusToSend","newCampus","prepareCampus","varMissingIpedsId","varMissingOpeId","varMissingAddress","varMissingCity","varMissingZipCode","validUnitId","validIpedsId","validOpeId","addNewLocation","setLocation","LocationunitId","ShortName","locationToSend","newLocation","AcademicAffairCampus","academicCampusData","setAcademicCampusData","locationsToRemove","setLocationsToRemove","handleCampusDetailsChange","cheCampusName","CampusShortName","cheCampusAddress","cheCampusZipCode","cheCampusCity","ipedsCampusUnitId","opeCampusId","parentIds","checkForRemoval","LocationUnitId","locationPage","toggleRemoval","CampusUnitId","SystemUnitId","InstitutionUnitId","LocationsToAdd","LocationsToRemove","CampusName","CampusAddress","CampusZipCode","CampusCity","IPEDSId","OPECampusId","AcademicAffairInstitution","academicInstitutionData","setAcademicInstitutionData","setCampuses","campusesToAdd","setCampusesToAdd","campusesToRemove","setCampusesToRemove","cheInstitutionName","getReportingGroupCode","renderApprovedCampusRows","CampusStatus","CampusStateCode","InstitutionId","CampusesToAdd","CampusesToRemove","EMPTY","ProgramReviewReport","yearsToShow","toShow","getDemographicsColumns","isGrouped","setRows","exporting","setExporting","noDataFound","setNoDataFound","setColumns","hidden","hideYears","fetchReport","cols","getHiddenColumns","arr","sorted","_orderBy","grouped","getRows","ungrouped","errorsFormatter","errors","Badge","fileName","reportingYear","campusCHEId","submissionID","transmissionID","warningsFormatter","warnings","lastFormatter","lastStatusUpdate","statusFormatter","approvedBy","reportingYearFormatter","actionFormatter","associatedTransmissionId","dataMoved","canBeApproved","approvePermission","onUpdate","ErrorColumns","dateFormatter","transmissionDate","statusTransmissionFormatter","statusExplanation","fileFormatter","Section","CardHeader","faCaretDown","Collapse","CardBody","TransmissionModal","onFileChange","class","faPaperclip","pop","statusToValue","submissionStatusDesc","transmissionToValue","transmissionStatusDesc","fileTypeToValue","typeDesc","DataSubmissionForm","setSort","order","sortSub","setSortSub","fetchingSystems","setFetchingSystems","transmissions","setTransmissions","submissions","setSubmissions","getFilteredList","submissionFilter","submissionStatusArray","transmissionStatusArray","transList","subList","filetypes","submissionstatus","transmissionstatus","institutionlevels","institutioncontrols","updateRow","submission","fetchNewSystems","optionsToSet","submissionStatus","submissionStatusList","transmissionStatus","transmissionStatusList","typeList","submissionRows","transmissionRows","submissionStatusCode","transmissionStatusCode","typeCode","nameFormatter","roleFormatter","institutionFormatter","institutionNames","isDeleted","dropdownCell","UncontrolledDropdown","faEllipsisV","onImpersonate","onSendEmail","faKey","onActivate","onDeactivate","faBan","UserColumns","getInstitutionLabel","getInstitutionValue","isActive","Checkbox","UserModal","onAddUser","onEditUser","cheRoles","institutionRoles","setTab","setRoles","getPayload","renderItem","zIndex","getPermissionLabel","getPermissionValue","Filter","FILTERS","cleanUser","createdDate","tfaOverride","lastLoginDate","SearchUsersForm","alertOpen","setAlertOpen","searchFilter","setSearchFilter","setUsers","setUser","dropdownOpen","setDropdownOpen","setFilter","filterLabel","f","updatedFields","_pick","setOriginal","PartitionToggle","onToggleChange","renderOption","CollectionProcessingService","commitAction","actionId","reportingGroup","buttonAction","CollectionProcessingForm","setLogData","GetLabelFromEnum","getLogs","test","CollectionProcessingTable","logData","dateTime","time","toLocaleTimeString","overflowX","column","verticalAlign","Profile","fetchUser","userRes","_data$roleNames","_data$institutionName","AddSection","editing","isEdit","Contact","faEnvelope","Document","onDownload","faArrowUp","faArrowDown","faPen","Documents","friendlyName","fileDescription","categoryId","isDocumentation","Upload","sections","loadingAdd","setLoadingAdd","selectedSection","s","newObject","Help","modal","setModal","setSections","setFiles","setEditing","fetchSections","addNewSection","deleteSection","section","deleteFile","fileExtension","addNewFile","renderLink","_","kebabCase","renderDocument","sectionFiles","documentation","dataLayouts","partition","numberWithCommas","round","YearInput","defaultValue","setValue","backgroundColor","onBlur","average","LineItemRow","lrYminus0Val","lrYminus1Val","lrYminus2Val","lrYminus3Val","lrYminus4Val","lrYminus5Val","priorAvg","currentAvg","getValue","offset","getSumValue","LineItemHeaders","SummaryRow","total","PerformanceSchedulesSearch","FIELDS","PerformanceSchedulesLineItem","_data$scheduleData","sums","sumTotals","yearStyle","colStyle","TableRow","feeInterest","feeOutstandingDebt","feePrincipal","feeTotalDebtService","fiscalYear","nonFeeInterest","nonFeeOutstandingDebt","nonFeePrincipal","nonFeeTotalDebtService","TableBody","levelOptions","defaultStateOption","units","DebtService","_form$unitType5","_res$$institutions","_res$2","_res$2$systems","today","notFutureDates","lastBiennium","_form$unitType","_form$biennium","_form$unitType2","filterOptions","_form$unitType3","_form$unitType4","activeReport","unitName","LoginForm","setReset","background","ResetForm","phoneNumber","PhoneNumberForm","linkToLogin","mask","maskChar","InputMask","VerifyCodeForm","resendCode","LoginPage","locationState","isExpired","twoFactorMethodVerified","VerifyCodePage","PhoneNumberPage","VALIDATION_REGEX","PasswordForm","validation","RegExp","isValid","hasPassword","hasConfirm","confirmError","PopoverHeader","SetPasswordPage","CapitalProjectRequest","setStepNumber","persistedProjectId","sessionStorage","hash","NameOfTab","newStepNumber","param","CapitalProjectRequestHeader","ExportDropdown","updateIsOpen","onMouseOver","onFocus","direction","CapitalProjectSearchPage","ProjectReviewSearchPage","ProjectReviewPage","ProjectReviewHeader","LineItemBudgetPage","LineItemSearchPage","BudgetRunPage","persistedBudgetRunId","BudgetRunHeader","isUnlockModalOpen","setIsUnlockModalOpen","faLockOpen","BudgetRunSearchPage","PerformanceSchedulesPage","LineItemPerformancePage","DebtServicePage","SearchAcademicProgramInventoryPage","academicAffairsDataFromSession","AcademicCredentialPage","persistedCredentialId","AcademicProgramPage","setDegreeSelectOptions","setDistanceEdOnlineOptions","setDistanceEdOptions","institutionCTID","setInstitutionCTID","persistedProgramID","AcademicProgramPageView","GenerateProgramReviewReportPage","ProgramReviewReportPage","DataSubmissionPage","PartitionTogglePage","ProfilePage","SearchAcademicInstitutionInventoryPage","AcademicLocationPage","persistedLocationId","vwLocation","locationShortName","AcademicCampusPage","persistedCampusId","vwCampus","campusShortName","AcademicInstitutionPage","setacademicInstitutionData","persistedInstitutionID","AcademicSystemPage","persistedSystemID","AcademicSystemPageView","CollectionProcessingPage","HelpPage","SearchUsersPage","RecordLinkingPage","LinkReviewPage","HomePage","componentDidMount","App","useRole","Router","rel","integrity","crossOrigin","Switch","exact","hostname","ReactDOM","Provider","getElementById","navigator","serviceWorker","ready","registration","unregister","setLocalStorage","storedState","global","cleanState","_omit","initialState"],"mappings":"oOAGeA,cAAYC,KCDpB,SAASC,IAAiC,IAAtBC,EAAWC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,IAAAA,UAAA,GAClC,MAAMG,EAAQC,EAAMC,WACdC,EAAOH,EAAMG,KACbC,EAASR,IAAmB,OAAJO,QAAI,IAAJA,OAAI,EAAJA,EAAME,UAAWF,EAAKE,SAAWF,EAC/D,OAAIC,GAAUA,EAAOE,MACV,CAAEC,cAAe,UAAYH,EAAOE,OAEpC,G,iDCLR,MAAME,EAAeC,+BAEfC,E,OAAgBC,EAAMC,OAAO,CACtCC,WAAY,IAAIC,IAAMC,MAAM,CACxBC,oBAAoB,IAExBC,UAAW,IAAIC,IAAKH,QAGXI,EAAsBC,IAC/B,MAAMC,EAAOD,EAAIE,QAAQC,UAAYH,EAAII,KACnCC,EAAOL,EAAIM,QAAQ,gBACzB,MACmB,iBAARL,GACP,CACI,2BACA,mBACA,mBACA,YACFM,SAASF,GAEJJ,EACEA,EACFO,KAAKC,MAAMR,GAEXS,QAAQC,OAAO,gBCkMjBC,EA3NDC,IAA6E,IAA5E,IAAEC,EAAG,gBAAEC,EAAe,kBAAEC,EAAiB,QAAEV,EAAU,GAAE,OAAEW,EAAS,IAAIJ,EAC/E,OAAOvB,EACF4B,IAAI,GAAG9B,IAAe0B,IAAO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AAM08B,cAGzB,IAAK,oBAAqB,CACtB,MAAM1X,EAAW,IACVhlB,EACHwa,aAAc8S,EAAO9S,cAGzB,OADAimE,EAAgBG,EAAW57D,IACpBA,EAEX,QACI,OAAOhlB,M","file":"static/js/main.efe63747.chunk.js","sourcesContent":["import { createStore } from 'redux';\nimport rootReducer from './reducer';\n\nexport default createStore(rootReducer);\n","import store from 'redux/store';\n\nexport function authHeader(useOriginal = false) {\n const state = store.getState();\n const user = state.user;\n const values = useOriginal && user?.original ? user.original : user;\n if (values && values.token) { \n return { Authorization: 'Bearer ' + values.token };\n } else {\n return {};\n }\n}\n","import https from 'https';\nimport http from 'http';\nimport axios from 'axios';\n\nexport const api_base_url = process.env.REACT_APP_API_BASEURL || '';\n\nexport const axiosInstance = axios.create({\n httpsAgent: new https.Agent({\n rejectUnauthorized: false,\n }),\n httpAgent: new http.Agent(),\n});\n\nexport const handleAxiosResponse = res => {\n const text = res.request.response || res.data;\n const type = res.headers['content-type'];\n if (\n typeof text == 'object' ||\n [\n 'application/octet-stream',\n 'application/text',\n 'application/xlsx',\n 'text/csv',\n ].includes(type)\n ) {\n return text;\n } else if (!!text) {\n return JSON.parse(text);\n } else {\n return Promise.reject('No response');\n }\n};\n","import { authHeader } from 'helpers/auth-header';\nimport { handleAxiosResponse, api_base_url, axiosInstance } from './common.service';\nimport { handleError } from 'shared';\n\nconst get = ({ url, convertFunction, customHandleError, headers = {}, params = {} }) => {\n return axiosInstance\n .get(`${api_base_url}${url}`, {\n headers: { ...authHeader(), ...headers },\n ...params,\n })\n .then(handleAxiosResponse)\n .then(res => {\n if (convertFunction) {\n return convertFunction(res);\n } else {\n return res;\n }\n })\n .catch(error => {\n if (customHandleError) {\n return customHandleError(error);\n } else {\n return handleError(error);\n }\n });\n};\n\nconst getWithParams = ({ url, params, convertFunction, customHandleError }) => {\n return axiosInstance\n .get(`${api_base_url}${url}`, {\n headers: authHeader(),\n params: params,\n })\n .then(handleAxiosResponse)\n .then(res => {\n if (convertFunction) {\n return convertFunction(res);\n } else {\n return res;\n }\n })\n .catch(error => {\n if (customHandleError) {\n return customHandleError(error);\n } else {\n return handleError(error);\n }\n });\n};\n\nconst getWithBody = ({ url, body, convertFunction, customHandleError }) => {\n return axiosInstance\n .get(\n `${api_base_url}${url}`,\n JSON.stringify({\n headers: authHeader(),\n body: body,\n })\n )\n .then(handleAxiosResponse)\n .then(res => {\n if (convertFunction) {\n return convertFunction(res);\n } else {\n return res;\n }\n })\n .catch(error => {\n if (customHandleError) {\n return customHandleError(error);\n } else {\n return handleError(error);\n }\n });\n};\n\nconst post = ({\n url,\n postBody,\n convertFunction,\n onCompleteFunction,\n customHandleError,\n headers,\n}) => {\n return axiosInstance\n .post(`${api_base_url}${url}`, postBody, {\n headers: {\n ...authHeader(),\n ...headers,\n },\n })\n .then(handleAxiosResponse)\n .then(res => {\n if (convertFunction) {\n return convertFunction(res);\n } else if (onCompleteFunction) {\n onCompleteFunction();\n return res;\n } else {\n return res;\n }\n })\n .catch(error => {\n if (customHandleError) {\n return customHandleError(error);\n } else {\n return handleError(error);\n }\n });\n};\n\nconst put = ({\n url,\n postBody,\n convertFunction,\n onCompleteFunction,\n customHandleError,\n headers,\n}) => {\n return axiosInstance\n .put(`${api_base_url}${url}`, postBody, {\n headers: {\n ...authHeader(),\n ...headers,\n },\n })\n .then(handleAxiosResponse)\n .then(res => {\n if (convertFunction) {\n return convertFunction(res);\n } else if (onCompleteFunction) {\n onCompleteFunction();\n return res;\n } else {\n return res;\n }\n })\n .catch(error => {\n if (customHandleError) {\n return customHandleError(error);\n } else {\n return handleError(error);\n }\n });\n};\n\nconst patch = ({\n url,\n patchBody,\n convertFunction,\n onCompleteFunction,\n customHandleError,\n}) => {\n return axiosInstance\n .patch(`${api_base_url}${url}`, patchBody, {\n headers: authHeader(),\n })\n .then(handleAxiosResponse)\n .then(res => {\n if (convertFunction) {\n return convertFunction(res);\n } else if (onCompleteFunction) {\n onCompleteFunction();\n return res;\n } else {\n return res;\n }\n })\n .catch(error => {\n if (customHandleError) {\n return customHandleError(error);\n } else {\n return handleError(error);\n }\n });\n};\n\nconst deleteItem = ({ url, onCompleteFunction, customHandleError }) => {\n return axiosInstance\n .delete(`${api_base_url}${url}`, {\n headers: authHeader(),\n })\n .then(res => {\n if (onCompleteFunction) {\n onCompleteFunction();\n return res;\n } else {\n return res;\n }\n })\n .catch(error => {\n if (customHandleError) {\n return customHandleError(error);\n } else {\n return handleError(error);\n }\n });\n};\n\nconst download = ({ url, filename, ext, customHandleError }) => {\n return axiosInstance\n .get(`${api_base_url}${url}`, {\n headers: authHeader(),\n responseType: 'blob',\n })\n .then(res => {\n const type = res.headers['content-type'];\n const blob = new Blob([res.data], { type: type, encoding: 'UTF-8' });\n const link = document.createElement('a');\n link.href = window.URL.createObjectURL(blob);\n link.download = `${filename}${ext}`;\n link.click();\n link.remove();\n })\n .catch(error => {\n if (customHandleError) {\n return customHandleError(error);\n } else {\n return handleError(error);\n }\n });\n};\n\nexport const handleServiceRequest = {\n get,\n getWithBody,\n getWithParams,\n post,\n deleteItem,\n patch,\n put,\n download,\n};\n","import { authHeader } from 'helpers/auth-header';\nimport { handleAxiosResponse, api_base_url, axiosInstance } from './common.service';\nimport { handleServiceRequest } from './handle-service-request';\n\nexport const userService = {\n login,\n forgotPassword,\n setPassword,\n verifyPhone,\n submitPhone,\n twoFactorAuthenticate,\n tfaAuth,\n logout,\n getAll,\n userCan,\n getRole,\n};\n\nfunction login(Email, Password) {\n console.log(Email + \" \" + Password)\n const url = `${api_base_url}/api/account/login`;\n const data = {\n EmailAddress: Email,\n Password: Password,\n };\n return axiosInstance\n .post(url, data)\n .then(handleAxiosResponse)\n .then(user => {\n // login successful if there's a user in the response\n if (user) {\n // store user details and basic auth credentials in local storage\n // to keep user logged in between page refreshes\n user.authdata = window.btoa(Email + ':' + Password);\n }\n\n return user;\n });\n}\n\nfunction forgotPassword(Email) {\n const url = `${api_base_url}/api/account/forgotPassword`;\n const data = {\n emailAddress: Email,\n };\n return axiosInstance\n .post(url, data)\n .then(handleAxiosResponse)\n .then(user => {\n return user;\n });\n}\n\nfunction setPassword(id, uid, password) {\n const url = `${api_base_url}/api/account/setPassword/${id}/${uid}`;\n const data = {\n password,\n };\n return axiosInstance\n .post(url, data)\n .then(handleAxiosResponse)\n .then(user => {\n return user;\n });\n}\n\nfunction submitPhone(data) {\n const url = `${api_base_url}/api/Account/TwoFactor/PhoneNumber`;\n return axiosInstance\n .post(url, data, {\n headers: {\n ...authHeader(),\n },\n })\n .then(handleAxiosResponse);\n}\n\nfunction verifyPhone(data) {\n const url = `${api_base_url}/api/Account/TwoFactor/ValidatePhoneNumber`;\n return axiosInstance\n .post(url, data, {\n headers: {\n ...authHeader(),\n },\n })\n .then(handleAxiosResponse);\n}\n\nfunction twoFactorAuthenticate(data) {\n const url = `${api_base_url}/api/Account/TwoFactor/Authenticate`;\n return axiosInstance\n .post(url, data, {\n headers: {\n ...authHeader(),\n },\n })\n .then(handleAxiosResponse);\n}\n\nfunction tfaAuth(tfaCode) {\n const tfaAPIPath = `${api_base_url}/api/account/verifyTFA`;\n const tfaCredentials = JSON.parse(localStorage.getItem('user')).tfaCredentials[0];\n const postBody = {\n credentialID: tfaCredentials.credentialID,\n securityCode: tfaCode,\n userID: tfaCredentials.userID,\n credentialName: tfaCredentials.credentialName,\n };\n\n return axiosInstance\n .post(tfaAPIPath, postBody)\n .then(handleAxiosResponse)\n .then(res => {\n if (res) {\n localStorage.setItem('userRoles', JSON.stringify(res.userRoles));\n localStorage.setItem('authToken', JSON.stringify(res.token));\n }\n\n return res;\n });\n}\n\nfunction getAll() {\n return axiosInstance\n .get(\n `${api_base_url}/users/authenticate/users`,\n JSON.stringify({ headers: authHeader() })\n )\n .then(handleAxiosResponse);\n}\n\nfunction userCan(roleId) {\n const roles = JSON.parse(localStorage.getItem('userRoles')) || [];\n return Boolean(roles.find(role => role.roleID === roleId));\n}\n\nfunction logout() {\n // remove user from local storage to log user out\n localStorage.removeItem('user');\n localStorage.removeItem('userRoles');\n localStorage.removeItem('authToken');\n}\n\nfunction getRole() {\n const getObject = {\n url: '/api/Account/WhoAmI',\n };\n return handleServiceRequest.get(getObject).then(res => {\n if (res) {\n localStorage.setItem('userRoles', JSON.stringify(res));\n let event = document.createEvent('Event');\n event.initEvent('storage', true, true);\n window.dispatchEvent(event);\n }\n return res;\n });\n}\n","import { authHeader } from 'helpers/auth-header';\nimport { handleAxiosResponse, api_base_url, axiosInstance } from '../common.service';\n\n// import { fakeResponses } from '../fakeresponses';\nimport { UrlEnum, handleError } from 'shared';\n\nconst getCapitalProjectWithId = id => {\n return axiosInstance\n .get(`${api_base_url}/api/finance/CapitalProjects/${id}`, {\n headers: authHeader(),\n })\n .then(handleAxiosResponse)\n .then(res => {\n return res;\n })\n .catch(error => {\n handleError(error);\n });\n};\n\nconst createCapitalProject = (postBody, history) => {\n return axiosInstance\n .post(`${api_base_url}/api/finance/CapitalProjects/create`, postBody, {\n headers: authHeader(),\n })\n .then(handleAxiosResponse)\n .then(res => {\n const location = {\n pathname: UrlEnum.CAPITALPROJECTREQUEST,\n state: [{ projectId: res }],\n };\n\n history.push(location);\n return res;\n })\n .catch(error => {\n handleError(error);\n });\n};\n\nconst searchCapitalProjects = postBody => {\n if (postBody.biennium.includes('all')) postBody.biennium = [];\n if (postBody.institutions.includes('all')) postBody.institutions = [];\n return axiosInstance\n .post(`${api_base_url}/api/finance/CapitalProjects/search`, postBody, {\n headers: authHeader(),\n })\n .then(handleAxiosResponse)\n .then(res => {\n return res.runList;\n })\n .catch(error => {\n handleError(error);\n });\n};\n\nconst saveCapitalProjects = postBody => {\n return axiosInstance\n .post(`${api_base_url}/api/finance/CapitalProjects/save`, postBody, {\n headers: authHeader(),\n })\n .then(handleAxiosResponse)\n .then(res => {\n return res;\n })\n .catch(error => {\n handleError(error);\n });\n};\n\nconst uploadCapitalProjectSupportingDocument = (capitalProjectId, formData) => {\n const url = `${api_base_url}/api/finance/CapitalProjects/upload/${capitalProjectId}`;\n\n return axiosInstance\n .post(url, formData, {\n headers: authHeader(),\n })\n .then(handleAxiosResponse)\n .then(res => {\n return res;\n })\n .catch(error => {\n handleError(error);\n });\n};\n\nconst downloadCapitalProjectSupportingDocument = fileid => {\n const url = `${api_base_url}/api/finance/CapitalProjects/download/${fileid}`;\n\n return axiosInstance\n .get(url, {\n headers: authHeader(),\n responseType: 'blob',\n })\n .then(res => {\n const type = res.headers['content-type'];\n const blob = new Blob([res.data], { type: type, encoding: 'UTF-8' });\n const link = document.createElement('a');\n link.href = window.URL.createObjectURL(blob);\n link.click();\n })\n .catch(error => {\n handleError(error);\n });\n};\n\nconst deleteCapitalProjectSupportingDocument = fileid => {\n const url = `${api_base_url}/api/finance/CapitalProjects/file/${fileid}`;\n\n return axiosInstance\n .delete(url, {\n headers: authHeader(),\n })\n .then(res => {})\n .catch(error => {\n handleError(error);\n });\n};\n\nconst validateCapitalProjects = capitalProjectId => {\n return axiosInstance\n .post(\n `${api_base_url}/api/finance/CapitalProjects/validate?id=${capitalProjectId}`,\n {},\n {\n headers: authHeader(),\n }\n )\n .then(handleAxiosResponse)\n .then(res => {\n return res;\n })\n .catch(error => {\n handleError(error);\n });\n};\n\nconst submitCapitalProject = postBody => {\n return axiosInstance\n .post(`${api_base_url}/api/finance/CapitalProjects/submit`, postBody, {\n headers: authHeader(),\n })\n .then(handleAxiosResponse)\n .then(res => {\n return res;\n })\n .catch(error => {\n handleError(error);\n });\n};\nconst approveCapitalProject = postBody => {\n return axiosInstance\n .post(`${api_base_url}/api/finance/CapitalProjects/approve`, postBody, {\n headers: authHeader(),\n })\n .then(handleAxiosResponse)\n .then(res => {\n return res;\n })\n .catch(error => {\n handleError(error);\n });\n};\nconst rejectCapitalProject = postBody => {\n return axiosInstance\n .post(`${api_base_url}/api/finance/CapitalProjects/reject`, postBody, {\n headers: authHeader(),\n })\n .then(handleAxiosResponse)\n .then(res => {\n return res;\n })\n .catch(error => {\n handleError(error);\n });\n};\n\nconst downloadCapitalProject = (fileType, projectId) => {\n const url = `${api_base_url}/api/finance/CapitalProjects/report/${fileType}/${projectId}`;\n\n return axiosInstance\n .get(url, {\n headers: authHeader(),\n responseType: 'blob',\n })\n .then(res => {\n const type = res.headers['content-type'];\n const blob = new Blob([res.data], { type: type, encoding: 'UTF-8' });\n const link = document.createElement('a');\n link.href = window.URL.createObjectURL(blob);\n link.download = `CapitalProject${projectId}.${fileType}`;\n link.click();\n })\n .catch(error => {\n handleError(error);\n });\n};\n\nconst deleteCapitalProject = capitalProjectId => {\n const url = `${api_base_url}/api/finance/CapitalProjects/${capitalProjectId}`;\n\n return axiosInstance\n .delete(url, {\n headers: authHeader(),\n })\n .then(res => {})\n .catch(error => {\n handleError(error);\n });\n};\n\nexport const capitalProjectService = {\n getCapitalProjectWithId,\n createCapitalProject,\n searchCapitalProjects,\n saveCapitalProjects,\n validateCapitalProjects,\n submitCapitalProject,\n approveCapitalProject,\n rejectCapitalProject,\n deleteCapitalProject,\n downloadCapitalProject,\n uploadCapitalProjectSupportingDocument,\n downloadCapitalProjectSupportingDocument,\n deleteCapitalProjectSupportingDocument,\n};\n","import { authHeader } from 'helpers/auth-header';\nimport { handleAxiosResponse, api_base_url, axiosInstance } from '../common.service.js';\nimport { handleError } from 'shared';\n\nconst convertApiResponseToSearchoptions = responses => {\n const toReturn = responses.map(response => ({\n value: response.id,\n label: response.text,\n }));\n return toReturn;\n};\n\nconst getFundingType = biennium => {\n const firstYearOfBiennium = biennium.split('-')[0];\n return axiosInstance\n .get(\n `${api_base_url}/api/finance/CapitalProjectType/fundings?biennium=${firstYearOfBiennium}`,\n {\n headers: authHeader(),\n }\n )\n .then(handleAxiosResponse)\n .then(res => {\n return convertApiResponseToSearchoptions(res);\n })\n .catch(error => {\n handleError(error);\n });\n};\n\nexport const capitalProjectTypeService = {\n getFundingType,\n};\n","export const convertApiResponseToSearchOptions = responses => {\n const toReturn = responses.map(response => ({\n value: response.id,\n label: response.text ? response.text : response.name,\n }));\n return toReturn;\n};\n\nexport const convertApiResponseToOppositeSearchOptions = responses => {\n const toReturn = responses.map(response => ({\n label: response.id,\n value: response.text ? response.text : response.name,\n }));\n return toReturn;\n};\n\nexport const convertAbnormalApiResponseToSearchOptions = (\n responses,\n idVariableName,\n textVariableNameName\n) => {\n const toReturn = responses.map(response => ({\n value: response[idVariableName],\n label: response[textVariableNameName],\n ...response,\n }));\n return toReturn;\n};\n","const getProjectTypes = () => {\n return [\n {\n id: '1',\n text: 'New Construction',\n category: null,\n },\n {\n id: '2',\n text: 'Repair and Rehabilitation',\n category: null,\n },\n {\n id: '3',\n text: 'Land or Facility Acquisition',\n category: null,\n },\n {\n id: '4',\n text: 'Equipment',\n category: null,\n },\n {\n id: '5',\n text: 'Lease Approvals',\n category: null,\n },\n {\n id: '6',\n text: 'Other',\n category: null,\n },\n ];\n};\n\nconst getBienniums = () => {\n return [\n {\n id: '2003',\n text: '2003-2005',\n category: null,\n },\n {\n id: '2005',\n text: '2005-2007',\n category: null,\n },\n {\n id: '2007',\n text: '2007-2009',\n category: null,\n },\n {\n id: '2009',\n text: '2009-2011',\n category: null,\n },\n {\n id: '2011',\n text: '2011-2013',\n category: null,\n },\n {\n id: '2013',\n text: '2013-2015',\n category: null,\n },\n {\n id: '2015',\n text: '2015-2017',\n category: null,\n },\n {\n id: '2017',\n text: '2017-2019',\n category: null,\n },\n {\n id: '2019',\n text: '2019-2021',\n category: null,\n },\n {\n id: '2021',\n text: '2021-2023',\n category: null,\n },\n ];\n};\n\nconst getInstitutions = () => {\n return [\n {\n id: '15013600',\n text: 'Ball State University',\n category: null,\n },\n {\n id: '15132400',\n text: 'Indiana State University',\n category: null,\n },\n {\n id: '15111100',\n text: 'Indiana University Schools of Medicine and Dentistry, Indianapolis',\n category: null,\n },\n {\n id: '15135100',\n text: 'Indiana University System',\n category: null,\n },\n {\n id: '15135100',\n text: 'Indiana University-Bloomington',\n category: null,\n },\n {\n id: '15138800',\n text: 'Indiana University-East',\n category: null,\n },\n {\n id: '15133300',\n text: 'Indiana University-Kokomo',\n category: null,\n },\n {\n id: '15136000',\n text: 'Indiana University-Northwest',\n category: null,\n },\n {\n id: '15111100',\n text: 'Indiana University-Purdue University-Indianapolis',\n category: null,\n },\n {\n id: '15111100',\n text: 'Indiana University-Purdue University-Indianapolis/Fort Wayne',\n category: null,\n },\n {\n id: '15111100',\n text: 'Indiana University-Purdue University-Indianapolis: General Academic',\n category: null,\n },\n {\n id: '15134200',\n text: 'Indiana University-South Bend',\n category: null,\n },\n {\n id: '15137900',\n text: 'Indiana University-Southeast',\n category: null,\n },\n {\n id: '36356300',\n text: 'Ivy Tech Community College',\n category: null,\n },\n {\n id: '24378000',\n text: 'Purdue University System',\n category: null,\n },\n {\n id: '15224800',\n text: 'Purdue University-Calumet Campus',\n category: null,\n },\n {\n id: '24378000',\n text: 'Purdue University-College of Veterinary Medicine',\n category: null,\n },\n {\n id: '15110200',\n text: 'Purdue University-Fort Wayne',\n category: null,\n },\n {\n id: '15135201',\n text: 'Purdue University-Fort Wayne (Finance Only)',\n category: null,\n },\n {\n id: '15226600',\n text: 'Purdue University-North Central Campus',\n category: null,\n },\n {\n id: '24378016',\n text: 'Purdue University-Northwest',\n category: null,\n },\n {\n id: '24378000',\n text: 'Purdue University-West Lafayette',\n category: null,\n },\n {\n id: '15130600',\n text: 'University of Southern Indiana',\n category: null,\n },\n {\n id: '15263700',\n text: 'Vincennes University',\n category: null,\n },\n {\n id: 'CHE00000',\n text: 'Commission for Higher Education',\n category: null,\n },\n {\n id: 'CHE00000',\n text: 'Indiana Department of Administration',\n category: null,\n },\n {\n id: 'CHE00000',\n text: 'Indiana Medical Education Board',\n category: null,\n },\n {\n id: 'CHE00000',\n text: 'State Budget Agency',\n category: null,\n },\n {\n id: 'CHE00000',\n text: 'Student Financial Aid',\n category: null,\n },\n ];\n};\n\nconst getFundings = () => {\n return [\n {\n id: '23',\n text: 'State',\n category: null,\n },\n {\n id: '10',\n text: 'Auxillary Funds - Athletics',\n category: null,\n },\n {\n id: '11',\n text: 'Auxillary Funds - Housing/Dining',\n category: null,\n },\n {\n id: '12',\n text: 'Auxillary Funds - Other',\n category: null,\n },\n {\n id: '13',\n text: 'Auxillary Funds - Parking',\n category: null,\n },\n {\n id: '24',\n text: 'Federal - Grant',\n category: null,\n },\n {\n id: '25',\n text: 'Federal - Indirect Cost Recovery',\n category: null,\n },\n {\n id: '16',\n text: 'Gift Funds',\n category: null,\n },\n {\n id: '26',\n text: 'Non - Fee Replaced Debt - Auxiliary Athletics',\n category: null,\n },\n {\n id: '27',\n text: 'Non - Fee Replaced Debt - Auxiliary Housing / Dining',\n category: null,\n },\n {\n id: '28',\n text: 'Non - Fee Replaced Debt - Auxiliary Parking',\n category: null,\n },\n {\n id: '29',\n text: 'Non - Fee Replaced Debt - Gift Funds',\n category: null,\n },\n {\n id: '30',\n text: 'Non - Fee Replaced Debt - Interest Income',\n category: null,\n },\n {\n id: '31',\n text: 'Non - Fee Replaced Debt - Other',\n category: null,\n },\n {\n id: '32',\n text: 'Non - Fee Replaced Debt - Research Bonding',\n category: null,\n },\n {\n id: '33',\n text: 'Operating Funds',\n category: null,\n },\n {\n id: '34',\n text: 'Operating Funds - Reserves',\n category: null,\n },\n {\n id: '20',\n text: 'R&R Appropriation',\n category: null,\n },\n {\n id: '21',\n text: 'R&R Student Fees',\n category: null,\n },\n {\n id: '19',\n text: 'Other',\n category: null,\n },\n ];\n};\n\nconst getSpaceType = () => {\n return [\n {\n id: '1',\n text: '(100) Classroom ',\n category: null,\n },\n {\n id: '2',\n text: '(200) Class Lab ',\n category: null,\n },\n {\n id: '3',\n text: '(200) Non-class Lab ',\n category: null,\n },\n {\n id: '4',\n text: '(300) Office Facilities ',\n category: null,\n },\n {\n id: '5',\n text: '(400) Study Facilities ',\n category: null,\n },\n {\n id: '6',\n text: '(500) Special Use Facilities ',\n category: null,\n },\n {\n id: '7',\n text: '(600) General Use Facilities ',\n category: null,\n },\n {\n id: '8',\n text: '(700) Support Facilities ',\n category: null,\n },\n {\n id: '9',\n text: '(800) Health Care Facilities ',\n category: null,\n },\n {\n id: '10',\n text: '(900) Resident Facilities ',\n category: null,\n },\n {\n id: '11',\n text: '(000) Unclassified ',\n category: null,\n },\n ];\n};\n\nconst getProjectCostType = () => {\n return [\n {\n id: '1',\n text: 'Engineering',\n category: 'Planning Costs',\n },\n {\n id: '4',\n text: 'Structure',\n category: 'Construction',\n },\n {\n id: '7',\n text: 'Movable Equipment',\n category: 'Other',\n },\n {\n id: '8',\n text: 'Fixed Equipment',\n category: 'Other',\n },\n {\n id: '5',\n text: 'Mechanical (HVAC, plumbing, etc.)',\n category: 'Construction',\n },\n {\n id: '2',\n text: 'Architectural',\n category: 'Planning Costs',\n },\n {\n id: '3',\n text: 'Consulting',\n category: 'Planning Costs',\n },\n {\n id: '6',\n text: 'Electrical',\n category: 'Construction',\n },\n {\n id: '9',\n text: 'Site Development/Land Acquisition',\n category: 'Other',\n },\n {\n id: '99',\n text: 'Other',\n category: 'Other',\n },\n ];\n};\n\nconst getProjectAnnualCostType = () => {\n return [\n {\n id: '1',\n text: 'Operations',\n category: null,\n },\n {\n id: '2',\n text: 'Maintenance',\n category: null,\n },\n {\n id: '3',\n text: 'Fuel',\n category: null,\n },\n {\n id: '4',\n text: 'Utilities',\n category: null,\n },\n {\n id: '99',\n text: 'Other',\n category: null,\n },\n ];\n};\n\nexport const getCapitalProjectWithId = () => {\n return {\n tabNumber: 0,\n id: 180,\n institutionName: 'Indiana State University',\n lastUpdated: '2020-10-20T18:20:39.61',\n biennium: '2021-2023',\n isSubmitted: false,\n projectName: 'Josh Test 2',\n projectTypeId: 2,\n projectTypeName: 'Repair and Rehabilitation',\n priority: 0,\n budgetAgencyProjectNo: '2',\n isPreviouslyApprovedByGA: false,\n isPreviouslyRecommendedCHE: false,\n isLongTermCapitalPlan: false,\n sizeGSF: 1,\n sizeASF: 2,\n netChangeGSF: 3,\n netChangeASF: 4,\n totalProjectCost: null,\n fundingList: [\n {\n fundingAmount: 4,\n fundingTypeId: 11,\n fundingDescription: 'description of funding',\n fundingTypeName: 'Auxillary Funds - Housing/Dining',\n },\n {\n fundingAmount: 2,\n fundingTypeId: 24,\n fundingDescription: 'asdfasdfasdfasdfasdfasdf',\n fundingTypeName: 'Federal - Grant',\n },\n ],\n estAnnualChangeInOpsCost: 7,\n estAnnualRRInvestment: 8,\n estAnnualDebtPayment: 9,\n isFundsSecured: true,\n fundingNarrative: 'fun',\n justificationOfCost: 'j',\n detailDescription: 'De',\n needAndPurpose: 'N',\n spaceUtilization: 'Spa',\n comparableProjects: 'C',\n backgroundMaterials: 'B',\n files: [\n {\n documentId: 19,\n documentName: 'testUpload.txt.txt',\n uploadDate: '2020-10-21T00:00:00',\n },\n {\n documentId: 22,\n documentName: 'testUpload.txt.txt',\n uploadDate: '2020-10-26T00:00:00',\n },\n {\n documentId: 23,\n documentName: 'testUpload.txt.txt',\n uploadDate: '2020-10-26T00:00:00',\n },\n ],\n spaceDetails: [\n {\n spaceTypeId: 1,\n currentUse: 1,\n construction: 0,\n plannedAndFunded: 0,\n terminated: 0,\n newRequest: 0,\n spaceTypeName: '(100) Classroom ',\n },\n {\n spaceTypeId: 2,\n currentUse: 0,\n construction: 1,\n plannedAndFunded: 0,\n terminated: 0,\n newRequest: 0,\n spaceTypeName: '(200) Class Lab ',\n },\n {\n spaceTypeId: 3,\n currentUse: 0,\n construction: 0,\n plannedAndFunded: 0,\n terminated: 0,\n newRequest: 0,\n spaceTypeName: '(200) Non-class Lab ',\n },\n {\n spaceTypeId: 4,\n currentUse: 0,\n construction: 0,\n plannedAndFunded: 0,\n terminated: 0,\n newRequest: 0,\n spaceTypeName: '(300) Office Facilities ',\n },\n {\n spaceTypeId: 5,\n currentUse: 0,\n construction: 0,\n plannedAndFunded: 0,\n terminated: 0,\n newRequest: 0,\n spaceTypeName: '(400) Study Facilities ',\n },\n {\n spaceTypeId: 6,\n currentUse: 0,\n construction: 0,\n plannedAndFunded: 0,\n terminated: 0,\n newRequest: 0,\n spaceTypeName: '(500) Special Use Facilities ',\n },\n {\n spaceTypeId: 7,\n currentUse: 0,\n construction: 0,\n plannedAndFunded: 0,\n terminated: 0,\n newRequest: 0,\n spaceTypeName: '(600) General Use Facilities ',\n },\n {\n spaceTypeId: 8,\n currentUse: 0,\n construction: 0,\n plannedAndFunded: 0,\n terminated: 0,\n newRequest: 0,\n spaceTypeName: '(700) Support Facilities ',\n },\n {\n spaceTypeId: 9,\n currentUse: 0,\n construction: 0,\n plannedAndFunded: 0,\n terminated: 0,\n newRequest: 0,\n spaceTypeName: '(800) Health Care Facilities ',\n },\n {\n spaceTypeId: 10,\n currentUse: 0,\n construction: 0,\n plannedAndFunded: 0,\n terminated: 0,\n newRequest: 0,\n spaceTypeName: '(900) Resident Facilities ',\n },\n {\n spaceTypeId: 11,\n currentUse: 0,\n construction: 0,\n plannedAndFunded: 0,\n terminated: 0,\n newRequest: 0,\n spaceTypeName: '(000) Unclassified ',\n },\n ],\n spaceDetailNotes: 'sp',\n bidYear: 2020,\n bidMonth: 1,\n constructionYear: 2019,\n constructionMonth: 2,\n occupancyYear: 2020,\n occupancyMonth: 1,\n costDetails: [\n {\n costTypeId: 1,\n costBasis: 1,\n escalationFactors: 0,\n descriptionIfOther: '',\n costTypeName: 'Engineering',\n categoryName: 'Planning Costs',\n },\n {\n costTypeId: 2,\n costBasis: 0,\n escalationFactors: 1,\n descriptionIfOther: '',\n costTypeName: 'Architectural',\n categoryName: 'Planning Costs',\n },\n {\n costTypeId: 3,\n costBasis: 0,\n escalationFactors: 0,\n descriptionIfOther: '',\n costTypeName: 'Consulting',\n categoryName: 'Planning Costs',\n },\n {\n costTypeId: 4,\n costBasis: 0,\n escalationFactors: 0,\n descriptionIfOther: '',\n costTypeName: 'Structure',\n categoryName: 'Construction',\n },\n {\n costTypeId: 5,\n costBasis: 0,\n escalationFactors: 0,\n descriptionIfOther: '',\n costTypeName: 'Mechanical (HVAC, plumbing, etc.)',\n categoryName: 'Construction',\n },\n {\n costTypeId: 6,\n costBasis: 0,\n escalationFactors: 0,\n descriptionIfOther: '',\n costTypeName: 'Electrical',\n categoryName: 'Construction',\n },\n {\n costTypeId: 7,\n costBasis: 0,\n escalationFactors: 0,\n descriptionIfOther: '',\n costTypeName: 'Movable Equipment',\n categoryName: 'Other',\n },\n {\n costTypeId: 8,\n costBasis: 0,\n escalationFactors: 0,\n descriptionIfOther: '',\n costTypeName: 'Fixed Equipment',\n categoryName: 'Other',\n },\n {\n costTypeId: 9,\n costBasis: 0,\n escalationFactors: 0,\n descriptionIfOther: '',\n costTypeName: 'Site Development/Land Acquisition',\n categoryName: 'Other',\n },\n {\n costTypeId: 99,\n costBasis: 0,\n escalationFactors: 0,\n descriptionIfOther: '',\n costTypeName: 'Other',\n categoryName: 'Other',\n },\n ],\n costDetailNotes: 'C',\n annualDetails: [\n {\n costTypeId: 1,\n personnelServices: 1,\n suppAndExp: 1,\n costTypeName: 'Operations',\n },\n {\n costTypeId: 2,\n personnelServices: 0,\n suppAndExp: 1,\n costTypeName: 'Maintenance',\n },\n {\n costTypeId: 3,\n personnelServices: 1,\n suppAndExp: 0,\n costTypeName: 'Fuel',\n },\n {\n costTypeId: 4,\n personnelServices: 1,\n suppAndExp: 0,\n costTypeName: 'Utilities',\n },\n {\n costTypeId: 99,\n personnelServices: 0,\n suppAndExp: 0,\n costTypeName: 'Other',\n },\n ],\n annualDetailNote: 'A',\n };\n};\n\nconst searchResults = () => {\n return {\n runList: [\n {\n projectID: 158,\n bienniumID: 0,\n budgetYearOne: 2022,\n budgetYearTwo: 2023,\n bienniumDesc: '2021-2023',\n bienniumLockedFlag: false,\n institutionID: '15013600',\n financeUnitID: '15013600',\n financeUnitName: 'Ball State University',\n financeUnitAbbreviation: 'BSU',\n systemUnitID: '15013600',\n systemName: 'Ball State University',\n systemAbbreviation: 'BSU',\n isSubmitted: false,\n projectName: 'Test',\n institutionalPriority: null,\n budgetAgencyProjectNumber: null,\n projectTypeID: -1,\n projectTypeName: '',\n budgetAgencyProjectTypeCode: '',\n prevApprovedByGenAssembly: false,\n prevApprovedByCHE: false,\n projectSizeGSF: null,\n projectSizeASF: null,\n netChangeInSpaceGSF: null,\n netChangeInSpaceASF: null,\n projectTotalCost: null,\n estAnnualChangeInOpsCost: null,\n estAnnualRRInvestment: null,\n constBidDate: null,\n constStartDate: null,\n constEndDate: null,\n lastUpdateByUser: 'adeaton@che.in.gov',\n justificationOfCost: null,\n funding: null,\n lastUpdatedDate: '2020-08-04T09:54:25.51',\n institutionType: '4 yr',\n estAnnualDebtPayment: null,\n fundsAreSecured: false,\n longTermPlan: null,\n },\n {\n projectID: 180,\n bienniumID: 0,\n budgetYearOne: 2022,\n budgetYearTwo: 2023,\n bienniumDesc: '2021-2023',\n bienniumLockedFlag: false,\n institutionID: '15132400',\n financeUnitID: '15132400',\n financeUnitName: 'Indiana State University',\n financeUnitAbbreviation: 'ISU',\n systemUnitID: '15132400',\n systemName: 'Indiana State University',\n systemAbbreviation: 'ISU',\n isSubmitted: false,\n projectName: 'Tyler Test 9.25 Update',\n institutionalPriority: 1,\n budgetAgencyProjectNumber: '867-5309',\n projectTypeID: 1,\n projectTypeName: 'New Construction',\n budgetAgencyProjectTypeCode: '1',\n prevApprovedByGenAssembly: false,\n prevApprovedByCHE: false,\n projectSizeGSF: 20,\n projectSizeASF: 15,\n netChangeInSpaceGSF: 5,\n netChangeInSpaceASF: 3,\n projectTotalCost: null,\n estAnnualChangeInOpsCost: 4,\n estAnnualRRInvestment: 17000,\n constBidDate: '1983-01-01T00:00:00',\n constStartDate: '1984-12-01T00:00:00',\n constEndDate: '1986-07-01T00:00:00',\n lastUpdateByUser: 'tyler.smith@counterpart.biz',\n justificationOfCost:\n \"Lucas ipsum dolor sit amet binks darth wicket moff anakin padmé obi-wan wicket han kessel. Zabrak darth watto ewok. Luke solo grievous r2-d2 mara. Hoth coruscant solo anakin zabrak skywalker skywalker darth obi-wan. Jar lando kenobi mace yoda ventress c-3p0 bespin. Hutt jinn darth coruscant antilles sidious secura. Darth tatooine ackbar solo sidious dantooine darth. Calamari mara kit calamari moff kit. Organa fett watto moff calamari. Solo luke wedge obi-wan wedge leia solo hutt mandalore. Vader ackbar moff sebulba twi'lek moff kenobi c-3p0.\",\n funding:\n 'Doggo ipsum you are doing me a frighten puggo heckin wrinkler, h*ck shoob. Smol borking doggo with a long snoot for pats borkdrive much ruin diet very hand that feed shibe big ol boofers, borkf tungg he made many woofs tungg. Heckin long water shoob smol length boy sub woofer you are doing me a frighten, thicc he made many woofs you are doin me a concern big ol pupper. Doing me a frighten lotsa pats shibe, heckin. Length boy wow very biscit noodle horse doggorino, ur givin me a spook fat boi. corgo big ol pupper much ruin diet. Many pats the neighborhood pupper I am bekom fat blep, stop it fren woofer. Porgo h*ck you are doing me a frighten fat boi puggorino, long doggo ruff what a nice floof.',\n lastUpdatedDate: '2020-09-25T10:54:02.183',\n institutionType: '4 yr',\n estAnnualDebtPayment: 5000000,\n fundsAreSecured: false,\n longTermPlan: true,\n },\n ],\n totalRecords: 2,\n };\n};\n\nconst lineItem = () => {\n return {\n schedule: [\n {\n lastChanged: '2016-08-08T16:19:14.08',\n detailList: [\n {\n lineItemId: 1,\n lineItemName: 'Salary and Wages',\n lineItemCategoryId: 1,\n lineItemCategoryName: 'Personnel Services',\n lineItemCategorySort: 1,\n lineItemSort: 1,\n bplus2Val: 588206,\n bplus1Val: 588206,\n bminus0Val: 571074,\n bminus1Val: 575022,\n bminus2Val: 588740,\n bminus3Val: 634926,\n bminus4Val: 627329,\n bminus5Val: 548580,\n bminus6Val: null,\n bminus0Val_PrePop: null,\n bminus1Val_PrePop: null,\n bminus0DataAudit: null,\n bminus1DataAudit: null,\n },\n {\n lineItemId: 2,\n lineItemName: 'Fringe Benefits',\n lineItemCategoryId: 1,\n lineItemCategoryName: 'Personnel Services',\n lineItemCategorySort: 1,\n lineItemSort: 2,\n bplus2Val: 147051,\n bplus1Val: 147051,\n bminus0Val: 142768,\n bminus1Val: 150755,\n bminus2Val: 135417,\n bminus3Val: 151259,\n bminus4Val: 150007,\n bminus5Val: 142142,\n bminus6Val: null,\n bminus0Val_PrePop: null,\n bminus1Val_PrePop: null,\n bminus0DataAudit: null,\n bminus1DataAudit: null,\n },\n {\n lineItemId: 3,\n lineItemName: 'Other Personnel Services',\n lineItemCategoryId: 1,\n lineItemCategoryName: 'Personnel Services',\n lineItemCategorySort: 1,\n lineItemSort: 3,\n bplus2Val: null,\n bplus1Val: null,\n bminus0Val: null,\n bminus1Val: null,\n bminus2Val: null,\n bminus3Val: null,\n bminus4Val: null,\n bminus5Val: null,\n bminus6Val: null,\n bminus0Val_PrePop: null,\n bminus1Val_PrePop: null,\n bminus0DataAudit: null,\n bminus1DataAudit: null,\n },\n {\n lineItemId: 4,\n lineItemName: 'Services by Contract',\n lineItemCategoryId: 2,\n lineItemCategoryName: 'Other Operating',\n lineItemCategorySort: 2,\n lineItemSort: 1,\n bplus2Val: null,\n bplus1Val: null,\n bminus0Val: 0,\n bminus1Val: 0,\n bminus2Val: 54000,\n bminus3Val: 24000,\n bminus4Val: 25315,\n bminus5Val: 39300,\n bminus6Val: null,\n bminus0Val_PrePop: null,\n bminus1Val_PrePop: null,\n bminus0DataAudit: null,\n bminus1DataAudit: null,\n },\n {\n lineItemId: 5,\n lineItemName: 'Materials and Supplies',\n lineItemCategoryId: 2,\n lineItemCategoryName: 'Other Operating',\n lineItemCategorySort: 2,\n lineItemSort: 2,\n bplus2Val: 93275,\n bplus1Val: 93275,\n bminus0Val: 90558,\n bminus1Val: 53776,\n bminus2Val: 82970,\n bminus3Val: 81317,\n bminus4Val: 101606,\n bminus5Val: 174971,\n bminus6Val: null,\n bminus0Val_PrePop: null,\n bminus1Val_PrePop: null,\n bminus0DataAudit: null,\n bminus1DataAudit: null,\n },\n {\n lineItemId: 6,\n lineItemName: 'Equipment',\n lineItemCategoryId: 2,\n lineItemCategoryName: 'Other Operating',\n lineItemCategorySort: 2,\n lineItemSort: 3,\n bplus2Val: null,\n bplus1Val: null,\n bminus0Val: null,\n bminus1Val: null,\n bminus2Val: null,\n bminus3Val: null,\n bminus4Val: null,\n bminus5Val: null,\n bminus6Val: null,\n bminus0Val_PrePop: null,\n bminus1Val_PrePop: null,\n bminus0DataAudit: null,\n bminus1DataAudit: null,\n },\n {\n lineItemId: 7,\n lineItemName: 'Land and Structures - Rental',\n lineItemCategoryId: 2,\n lineItemCategoryName: 'Other Operating',\n lineItemCategorySort: 2,\n lineItemSort: 4,\n bplus2Val: 253118,\n bplus1Val: 253118,\n bminus0Val: 245746,\n bminus1Val: 274276,\n bminus2Val: 222388,\n bminus3Val: 192588,\n bminus4Val: 177554,\n bminus5Val: 176329,\n bminus6Val: null,\n bminus0Val_PrePop: null,\n bminus1Val_PrePop: null,\n bminus0DataAudit: null,\n bminus1DataAudit: null,\n },\n {\n lineItemId: 8,\n lineItemName:\n 'Grants, Subsidies, Refunds, Awards, Scholarships, Etc.',\n lineItemCategoryId: 2,\n lineItemCategoryName: 'Other Operating',\n lineItemCategorySort: 2,\n lineItemSort: 5,\n bplus2Val: null,\n bplus1Val: null,\n bminus0Val: null,\n bminus1Val: null,\n bminus2Val: null,\n bminus3Val: null,\n bminus4Val: null,\n bminus5Val: null,\n bminus6Val: null,\n bminus0Val_PrePop: null,\n bminus1Val_PrePop: null,\n bminus0DataAudit: null,\n bminus1DataAudit: null,\n },\n {\n lineItemId: 9,\n lineItemName: 'In-State Travel',\n lineItemCategoryId: 2,\n lineItemCategoryName: 'Other Operating',\n lineItemCategorySort: 2,\n lineItemSort: 6,\n bplus2Val: 7820,\n bplus1Val: 7820,\n bminus0Val: 7592,\n bminus1Val: 3909,\n bminus2Val: 6937,\n bminus3Val: 6362,\n bminus4Val: 6737,\n bminus5Val: 8821,\n bminus6Val: null,\n bminus0Val_PrePop: null,\n bminus1Val_PrePop: null,\n bminus0DataAudit: null,\n bminus1DataAudit: null,\n },\n {\n lineItemId: 10,\n lineItemName: 'Out-of-State Travel',\n lineItemCategoryId: 2,\n lineItemCategoryName: 'Other Operating',\n lineItemCategorySort: 2,\n lineItemSort: 7,\n bplus2Val: null,\n bplus1Val: null,\n bminus0Val: 0,\n bminus1Val: 0,\n bminus2Val: 0,\n bminus3Val: 0,\n bminus4Val: 1904,\n bminus5Val: 309,\n bminus6Val: null,\n bminus0Val_PrePop: null,\n bminus1Val_PrePop: null,\n bminus0DataAudit: null,\n bminus1DataAudit: null,\n },\n {\n lineItemId: 11,\n lineItemName: 'Internal Transfers',\n lineItemCategoryId: 2,\n lineItemCategoryName: 'Other Operating',\n lineItemCategorySort: 2,\n lineItemSort: 8,\n bplus2Val: null,\n bplus1Val: null,\n bminus0Val: null,\n bminus1Val: null,\n bminus2Val: null,\n bminus3Val: null,\n bminus4Val: null,\n bminus5Val: null,\n bminus6Val: null,\n bminus0Val_PrePop: null,\n bminus1Val_PrePop: null,\n bminus0DataAudit: null,\n bminus1DataAudit: null,\n },\n {\n lineItemId: 12,\n lineItemName: 'General Fund',\n lineItemCategoryId: 3,\n lineItemCategoryName: 'Funding',\n lineItemCategorySort: 3,\n lineItemSort: 1,\n bplus2Val: null,\n bplus1Val: null,\n bminus0Val: null,\n bminus1Val: null,\n bminus2Val: null,\n bminus3Val: null,\n bminus4Val: null,\n bminus5Val: null,\n bminus6Val: null,\n bminus0Val_PrePop: null,\n bminus1Val_PrePop: null,\n bminus0DataAudit: null,\n bminus1DataAudit: null,\n },\n {\n lineItemId: 15,\n lineItemName: 'State Dedicated Funds',\n lineItemCategoryId: 3,\n lineItemCategoryName: 'Funding',\n lineItemCategorySort: 3,\n lineItemSort: 2,\n bplus2Val: 1089470,\n bplus1Val: 1089470,\n bminus0Val: 1057738,\n bminus1Val: 1057738,\n bminus2Val: 1090452,\n bminus3Val: 1090452,\n bminus4Val: 1090452,\n bminus5Val: 1090452,\n bminus6Val: null,\n bminus0Val_PrePop: 1057738,\n bminus1Val_PrePop: 1057738,\n bminus0DataAudit: null,\n bminus1DataAudit: null,\n },\n {\n lineItemId: 13,\n lineItemName: 'Other Dedicated Funds',\n lineItemCategoryId: 3,\n lineItemCategoryName: 'Funding',\n lineItemCategorySort: 3,\n lineItemSort: 3,\n bplus2Val: null,\n bplus1Val: null,\n bminus0Val: null,\n bminus1Val: null,\n bminus2Val: null,\n bminus3Val: null,\n bminus4Val: null,\n bminus5Val: null,\n bminus6Val: null,\n bminus0Val_PrePop: null,\n bminus1Val_PrePop: null,\n bminus0DataAudit: null,\n bminus1DataAudit: null,\n },\n {\n lineItemId: 14,\n lineItemName: 'Federal Funds',\n lineItemCategoryId: 3,\n lineItemCategoryName: 'Funding',\n lineItemCategorySort: 3,\n lineItemSort: 4,\n bplus2Val: null,\n bplus1Val: null,\n bminus0Val: null,\n bminus1Val: null,\n bminus2Val: null,\n bminus3Val: null,\n bminus4Val: null,\n bminus5Val: null,\n bminus6Val: null,\n bminus0Val_PrePop: null,\n bminus1Val_PrePop: null,\n bminus0DataAudit: null,\n bminus1DataAudit: null,\n },\n ],\n rpPer: [\n {\n lineItemId: 1,\n lineItemName: 'Salary and Wages',\n lineItemCategoryId: 1,\n lineItemCategoryName: 'Personnel Services',\n lineItemCategorySort: 1,\n lineItemSort: 1,\n bplus2Val: 588206,\n bplus1Val: 588206,\n bminus0Val: 571074,\n bminus1Val: 575022,\n bminus2Val: 588740,\n bminus3Val: 634926,\n bminus4Val: 627329,\n bminus5Val: 548580,\n bminus6Val: null,\n bminus0Val_PrePop: null,\n bminus1Val_PrePop: null,\n bminus0DataAudit: null,\n bminus1DataAudit: null,\n },\n {\n lineItemId: 2,\n lineItemName: 'Fringe Benefits',\n lineItemCategoryId: 1,\n lineItemCategoryName: 'Personnel Services',\n lineItemCategorySort: 1,\n lineItemSort: 2,\n bplus2Val: 147051,\n bplus1Val: 147051,\n bminus0Val: 142768,\n bminus1Val: 150755,\n bminus2Val: 135417,\n bminus3Val: 151259,\n bminus4Val: 150007,\n bminus5Val: 142142,\n bminus6Val: null,\n bminus0Val_PrePop: null,\n bminus1Val_PrePop: null,\n bminus0DataAudit: null,\n bminus1DataAudit: null,\n },\n {\n lineItemId: 3,\n lineItemName: 'Other Personnel Services',\n lineItemCategoryId: 1,\n lineItemCategoryName: 'Personnel Services',\n lineItemCategorySort: 1,\n lineItemSort: 3,\n bplus2Val: null,\n bplus1Val: null,\n bminus0Val: null,\n bminus1Val: null,\n bminus2Val: null,\n bminus3Val: null,\n bminus4Val: null,\n bminus5Val: null,\n bminus6Val: null,\n bminus0Val_PrePop: null,\n bminus1Val_PrePop: null,\n bminus0DataAudit: null,\n bminus1DataAudit: null,\n },\n ],\n rpOthOp: [\n {\n lineItemId: 4,\n lineItemName: 'Services by Contract',\n lineItemCategoryId: 2,\n lineItemCategoryName: 'Other Operating',\n lineItemCategorySort: 2,\n lineItemSort: 1,\n bplus2Val: null,\n bplus1Val: null,\n bminus0Val: 0,\n bminus1Val: 0,\n bminus2Val: 54000,\n bminus3Val: 24000,\n bminus4Val: 25315,\n bminus5Val: 39300,\n bminus6Val: null,\n bminus0Val_PrePop: null,\n bminus1Val_PrePop: null,\n bminus0DataAudit: null,\n bminus1DataAudit: null,\n },\n {\n lineItemId: 5,\n lineItemName: 'Materials and Supplies',\n lineItemCategoryId: 2,\n lineItemCategoryName: 'Other Operating',\n lineItemCategorySort: 2,\n lineItemSort: 2,\n bplus2Val: 93275,\n bplus1Val: 93275,\n bminus0Val: 90558,\n bminus1Val: 53776,\n bminus2Val: 82970,\n bminus3Val: 81317,\n bminus4Val: 101606,\n bminus5Val: 174971,\n bminus6Val: null,\n bminus0Val_PrePop: null,\n bminus1Val_PrePop: null,\n bminus0DataAudit: null,\n bminus1DataAudit: null,\n },\n {\n lineItemId: 6,\n lineItemName: 'Equipment',\n lineItemCategoryId: 2,\n lineItemCategoryName: 'Other Operating',\n lineItemCategorySort: 2,\n lineItemSort: 3,\n bplus2Val: null,\n bplus1Val: null,\n bminus0Val: null,\n bminus1Val: null,\n bminus2Val: null,\n bminus3Val: null,\n bminus4Val: null,\n bminus5Val: null,\n bminus6Val: null,\n bminus0Val_PrePop: null,\n bminus1Val_PrePop: null,\n bminus0DataAudit: null,\n bminus1DataAudit: null,\n },\n {\n lineItemId: 7,\n lineItemName: 'Land and Structures - Rental',\n lineItemCategoryId: 2,\n lineItemCategoryName: 'Other Operating',\n lineItemCategorySort: 2,\n lineItemSort: 4,\n bplus2Val: 253118,\n bplus1Val: 253118,\n bminus0Val: 245746,\n bminus1Val: 274276,\n bminus2Val: 222388,\n bminus3Val: 192588,\n bminus4Val: 177554,\n bminus5Val: 176329,\n bminus6Val: null,\n bminus0Val_PrePop: null,\n bminus1Val_PrePop: null,\n bminus0DataAudit: null,\n bminus1DataAudit: null,\n },\n {\n lineItemId: 8,\n lineItemName:\n 'Grants, Subsidies, Refunds, Awards, Scholarships, Etc.',\n lineItemCategoryId: 2,\n lineItemCategoryName: 'Other Operating',\n lineItemCategorySort: 2,\n lineItemSort: 5,\n bplus2Val: null,\n bplus1Val: null,\n bminus0Val: null,\n bminus1Val: null,\n bminus2Val: null,\n bminus3Val: null,\n bminus4Val: null,\n bminus5Val: null,\n bminus6Val: null,\n bminus0Val_PrePop: null,\n bminus1Val_PrePop: null,\n bminus0DataAudit: null,\n bminus1DataAudit: null,\n },\n {\n lineItemId: 9,\n lineItemName: 'In-State Travel',\n lineItemCategoryId: 2,\n lineItemCategoryName: 'Other Operating',\n lineItemCategorySort: 2,\n lineItemSort: 6,\n bplus2Val: 7820,\n bplus1Val: 7820,\n bminus0Val: 7592,\n bminus1Val: 3909,\n bminus2Val: 6937,\n bminus3Val: 6362,\n bminus4Val: 6737,\n bminus5Val: 8821,\n bminus6Val: null,\n bminus0Val_PrePop: null,\n bminus1Val_PrePop: null,\n bminus0DataAudit: null,\n bminus1DataAudit: null,\n },\n {\n lineItemId: 10,\n lineItemName: 'Out-of-State Travel',\n lineItemCategoryId: 2,\n lineItemCategoryName: 'Other Operating',\n lineItemCategorySort: 2,\n lineItemSort: 7,\n bplus2Val: null,\n bplus1Val: null,\n bminus0Val: 0,\n bminus1Val: 0,\n bminus2Val: 0,\n bminus3Val: 0,\n bminus4Val: 1904,\n bminus5Val: 309,\n bminus6Val: null,\n bminus0Val_PrePop: null,\n bminus1Val_PrePop: null,\n bminus0DataAudit: null,\n bminus1DataAudit: null,\n },\n {\n lineItemId: 11,\n lineItemName: 'Internal Transfers',\n lineItemCategoryId: 2,\n lineItemCategoryName: 'Other Operating',\n lineItemCategorySort: 2,\n lineItemSort: 8,\n bplus2Val: null,\n bplus1Val: null,\n bminus0Val: null,\n bminus1Val: null,\n bminus2Val: null,\n bminus3Val: null,\n bminus4Val: null,\n bminus5Val: null,\n bminus6Val: null,\n bminus0Val_PrePop: null,\n bminus1Val_PrePop: null,\n bminus0DataAudit: null,\n bminus1DataAudit: null,\n },\n ],\n rpfunding: [\n {\n lineItemId: 12,\n lineItemName: 'General Fund',\n lineItemCategoryId: 3,\n lineItemCategoryName: 'Funding',\n lineItemCategorySort: 3,\n lineItemSort: 1,\n bplus2Val: null,\n bplus1Val: null,\n bminus0Val: null,\n bminus1Val: null,\n bminus2Val: null,\n bminus3Val: null,\n bminus4Val: null,\n bminus5Val: null,\n bminus6Val: null,\n bminus0Val_PrePop: null,\n bminus1Val_PrePop: null,\n bminus0DataAudit: null,\n bminus1DataAudit: null,\n },\n {\n lineItemId: 15,\n lineItemName: 'State Dedicated Funds',\n lineItemCategoryId: 3,\n lineItemCategoryName: 'Funding',\n lineItemCategorySort: 3,\n lineItemSort: 2,\n bplus2Val: 1089470,\n bplus1Val: 1089470,\n bminus0Val: 1057738,\n bminus1Val: 1057738,\n bminus2Val: 1090452,\n bminus3Val: 1090452,\n bminus4Val: 1090452,\n bminus5Val: 1090452,\n bminus6Val: null,\n bminus0Val_PrePop: 1057738,\n bminus1Val_PrePop: 1057738,\n bminus0DataAudit: null,\n bminus1DataAudit: null,\n },\n {\n lineItemId: 13,\n lineItemName: 'Other Dedicated Funds',\n lineItemCategoryId: 3,\n lineItemCategoryName: 'Funding',\n lineItemCategorySort: 3,\n lineItemSort: 3,\n bplus2Val: null,\n bplus1Val: null,\n bminus0Val: null,\n bminus1Val: null,\n bminus2Val: null,\n bminus3Val: null,\n bminus4Val: null,\n bminus5Val: null,\n bminus6Val: null,\n bminus0Val_PrePop: null,\n bminus1Val_PrePop: null,\n bminus0DataAudit: null,\n bminus1DataAudit: null,\n },\n {\n lineItemId: 14,\n lineItemName: 'Federal Funds',\n lineItemCategoryId: 3,\n lineItemCategoryName: 'Funding',\n lineItemCategorySort: 3,\n lineItemSort: 4,\n bplus2Val: null,\n bplus1Val: null,\n bminus0Val: null,\n bminus1Val: null,\n bminus2Val: null,\n bminus3Val: null,\n bminus4Val: null,\n bminus5Val: null,\n bminus6Val: null,\n bminus0Val_PrePop: null,\n bminus1Val_PrePop: null,\n bminus0DataAudit: null,\n bminus1DataAudit: null,\n },\n ],\n },\n ],\n };\n};\n\nconst searchLineItems = () => {\n return {\n schedules: [\n {\n id: 1667,\n institution: 'Indiana State University',\n biennium: '2017-2019',\n status: 'Submitted',\n schedule: 'BRS XI',\n category: 'Budget Report Schedule',\n scheduleDescription: 'Line Item Appropriation Request',\n lastUpdate: '2016-09-01T16:13:44.18',\n lastUpdatedBy: 'Diann McKee',\n updatesAllowed: true,\n },\n {\n id: 1668,\n institution: 'Indiana State University',\n biennium: '2017-2019',\n status: 'Submitted',\n schedule: 'BRS XI',\n category: 'Budget Report Schedule',\n scheduleDescription: 'Line Item Appropriation Request',\n lastUpdate: '2016-09-01T16:15:22.307',\n lastUpdatedBy: 'Diann McKee',\n updatesAllowed: true,\n },\n {\n id: 1669,\n institution: 'Indiana State University',\n biennium: '2017-2019',\n status: 'Submitted',\n schedule: 'BRS XI',\n category: 'Budget Report Schedule',\n scheduleDescription: 'Line Item Appropriation Request',\n lastUpdate: '2016-09-01T16:15:54.843',\n lastUpdatedBy: 'Diann McKee',\n updatesAllowed: true,\n },\n ],\n };\n};\n\nexport const fakeResponses = {\n getProjectTypes,\n getBienniums,\n getInstitutions,\n getFundings,\n getSpaceType,\n getProjectCostType,\n getProjectAnnualCostType,\n getCapitalProjectWithId,\n searchResults,\n lineItem,\n searchLineItems,\n};\n","import { authHeader } from 'helpers/auth-header';\nimport { handleAxiosResponse, api_base_url, axiosInstance } from '../common.service';\nimport { convertApiResponseToSearchOptions } from '../shared-service-functions';\nimport { handleError } from 'shared';\nimport { fakeResponses } from '../fakeresponses';\n\nconst getAllProjects = () => {\n return axiosInstance\n .get(`${api_base_url}/api/finance/CapitalProjectType/projects`, {\n headers: authHeader(),\n })\n .then(handleAxiosResponse)\n .then(res => {\n return convertApiResponseToSearchOptions(res);\n })\n .catch(error => {\n handleError(error);\n });\n};\n\nconst getAllProjectTypes = () => {\n return axiosInstance\n .get(`${api_base_url}/api/finance/CapitalProjectType/projects`, {\n headers: authHeader(),\n })\n .then(handleAxiosResponse)\n .then(res => {\n return convertApiResponseToSearchOptions(res);\n })\n .catch(error => {\n handleError(error);\n });\n};\n\nconst getAllBienniums = id => {\n return axiosInstance\n .get(`${api_base_url}/api/finance/CapitalProjectType/biennium`, {\n headers: authHeader(),\n })\n .then(handleAxiosResponse)\n .then(res => {\n return convertApiResponseToSearchOptions(res);\n })\n .catch(error => {\n handleError(error);\n });\n};\n\nconst getAllInstitutions = () => {\n return axiosInstance\n .get(`${api_base_url}/api/AcademicPrograms/institutions`, {\n headers: authHeader(),\n })\n .then(handleAxiosResponse)\n .then(res => {\n return convertApiResponseToSearchOptions(fakeResponses.getInstitutions());\n // return convertApiResponseToSearchOptions(res);\n })\n .catch(error => {\n handleError(error);\n // return convertApiResponseToSearchOptions(fakeResponses.getInstitutions());\n });\n};\n\nconst getBudgetRunById = id => {\n return axiosInstance\n .post(`${api_base_url}/api/finance/budgetruns/${id}`)\n .then(handleAxiosResponse)\n .then(res => {\n return res;\n })\n .catch(error => {\n handleError(error);\n });\n};\n\nconst getSpaceDetailTableColumns = () => {\n return axiosInstance\n .get(`${api_base_url}/api/finance/CapitalProjectType/spacetype`, {\n headers: authHeader(),\n })\n .then(handleAxiosResponse)\n .then(res => {\n return res;\n })\n .catch(error => {\n handleError(error);\n });\n};\n\nconst getCostDetailTableRows = () => {\n return axiosInstance\n .get(`${api_base_url}/api/finance/CapitalProjectType/projectcosttype`, {\n headers: authHeader(),\n })\n .then(handleAxiosResponse)\n .then(res => {\n return res;\n })\n .catch(error => {\n handleError(error);\n });\n};\n\nconst getAnnualCostDetailTableColumns = () => {\n return axiosInstance\n .get(`${api_base_url}/api/finance/CapitalProjectType/projectannualcosttype`, {\n headers: authHeader(),\n })\n .then(handleAxiosResponse)\n .then(res => {\n return res;\n })\n .catch(error => {\n handleError(error);\n });\n};\n\nconst saveNewBudgetRun = data => {\n return axiosInstance\n .post(\n `${api_base_url}/api/finance/budgetruns/new`,\n JSON.stringify({\n headers: authHeader(),\n body: data,\n })\n )\n .then(handleAxiosResponse)\n .then(res => {\n return res;\n })\n .catch(error => {\n handleError(error);\n });\n};\n\nexport const financeService = {\n getBudgetRunById,\n saveNewBudgetRun,\n getAllProjectTypes,\n getAllBienniums,\n getSpaceDetailTableColumns,\n getCostDetailTableRows,\n getAnnualCostDetailTableColumns,\n getAllProjects,\n getAllInstitutions,\n};\n","import { authHeader } from 'helpers/auth-header';\nimport { handleAxiosResponse, api_base_url, axiosInstance } from '../common.service';\n\nimport { handleError } from 'shared';\nimport { convertApiResponseToSearchOptions } from '../shared-service-functions';\n\nconst getBienniums = () => {\n return axiosInstance\n .get(`${api_base_url}/api/finance/BudgetSchedules/bienniums`, {\n headers: authHeader(),\n })\n .then(handleAxiosResponse)\n .catch(error => {\n handleError(error);\n });\n};\n\nconst getInstitutions = () => {\n return axiosInstance\n .get(`${api_base_url}/api/finance/BudgetSchedules/institutions`, {\n headers: authHeader(),\n })\n .then(handleAxiosResponse)\n .then(res => {\n return convertApiResponseToSearchOptions(res);\n })\n .catch(error => {\n handleError(error);\n });\n};\n\nconst getStatuses = () => {\n return axiosInstance\n .get(`${api_base_url}/api/finance/BudgetSchedules/statuses`, {\n headers: authHeader(),\n })\n .then(handleAxiosResponse)\n .catch(error => {\n handleError(error);\n });\n};\n\nconst getBudgetScheduleTypes = () => {\n return axiosInstance\n .get(`${api_base_url}/api/finance/BudgetSchedules/types`, {\n headers: authHeader(),\n })\n .then(handleAxiosResponse)\n .catch(error => {\n handleError(error);\n });\n};\n\nconst getPerformanceScheduleTypes = () => {\n return axiosInstance\n .get(`${api_base_url}/api/finance/PerformanceSchedules/types`, {\n headers: authHeader(),\n })\n .then(handleAxiosResponse)\n .catch(error => {\n handleError(error);\n });\n};\n\nconst getBudgetScheduleWithId = id => {\n return axiosInstance\n .get(`${api_base_url}/api/finance/BudgetSchedules/${id}`, {\n headers: authHeader(),\n })\n .then(handleAxiosResponse)\n .catch(error => {\n handleError(error);\n });\n};\n\nconst createNewLineItem = (institutionId, bienniumId, postBody) => {\n return axiosInstance\n .post(\n `${api_base_url}/api/finance/BudgetSchedules/lineItems/institution/${institutionId}/biennium/${bienniumId}`,\n postBody,\n {\n headers: authHeader(),\n }\n )\n .then(handleAxiosResponse)\n .catch(error => {\n handleError(error);\n });\n};\n\nconst createLineItem = postBody => {\n return axiosInstance\n .post(`${api_base_url}/api/finance/BudgetSchedules/lineItems`, postBody, {\n headers: authHeader(),\n })\n .then(handleAxiosResponse)\n .catch(error => {\n handleError(error);\n });\n};\n\nconst saveLineItem = (id, postBody) => {\n return axiosInstance\n .patch(`${api_base_url}/api/finance/BudgetSchedules/${id}`, postBody, {\n headers: authHeader(),\n })\n .then(handleAxiosResponse)\n .catch(error => {\n handleError(error);\n });\n};\n\nconst deleteLineItemWithId = id => {\n return axiosInstance\n .delete(`${api_base_url}/api/finance/BudgetSchedules/${id}`, {\n headers: authHeader(),\n })\n .then(res => {})\n .catch(error => {\n handleError(error);\n });\n};\n\nconst getLineItemsForNewModal = (institutionId, bienniumId) => {\n return (\n axiosInstance\n .get(\n `${api_base_url}/api/finance/BudgetSchedules/lineItems/institution/${institutionId}/biennium/${bienniumId}`,\n {\n headers: authHeader(),\n }\n )\n .then(handleAxiosResponse)\n // .then(res => {\n // return convertAbnormalApiResponseToSearchOptions(\n // res,\n // 'budgetLineItemId',\n // 'budgetLineItemName'\n // );\n // })\n .catch(error => {\n handleError(error);\n // return fakeResponses.lineItem();\n })\n );\n};\n\nconst searchLineItems = query => {\n return axiosInstance\n .get(`${api_base_url}/api/finance/BudgetSchedules?${query}`, {\n headers: authHeader(),\n })\n .then(handleAxiosResponse)\n .catch(error => {\n // handleError(error);\n // return fakeResponses.searchLineItems();\n });\n};\n\nconst getLineItemCategories = () => {\n return axiosInstance\n .get(`${api_base_url}/api/finance/BudgetSchedules/lineitems`, {\n headers: authHeader(),\n })\n .then(handleAxiosResponse)\n .catch(error => {\n handleError(error);\n });\n};\n\nconst getLineItemWithId = id => {\n return axiosInstance\n .get(`${api_base_url}/api/finance/BudgetSchedules/lineitems/${id}`, {\n headers: authHeader(),\n })\n .then(handleAxiosResponse)\n .catch(error => {\n handleError(error);\n });\n};\n\nconst getDescription = (id, pdf = false) => {\n if (pdf)\n return axiosInstance\n .get(\n `${api_base_url}/api/finance/BudgetSchedules/lineItems/description/${id}?pdf=true`,\n {\n headers: authHeader(),\n responseType: 'blob',\n }\n )\n .then(handleAxiosResponse)\n .then(res => {\n const blob = new Blob([res], { encoding: 'UTF-8' });\n const link = document.createElement('a');\n link.href = window.URL.createObjectURL(blob);\n link.download = `LineItemDescription - ${id}.pdf`;\n link.click();\n })\n .catch(error => {\n handleError(error);\n });\n return axiosInstance\n .get(`${api_base_url}/api/finance/BudgetSchedules/lineItems/description/${id}`, {\n headers: authHeader(),\n })\n .then(handleAxiosResponse)\n .catch(error => {\n handleError(error);\n });\n};\n\nconst uploadDescriptionText = (id, postBody) => {\n return axiosInstance\n .post(\n `${api_base_url}/api/finance/BudgetSchedules/lineItems/description/text/${id}`,\n postBody,\n {\n headers: authHeader(),\n }\n )\n .then(handleAxiosResponse)\n .catch(error => {\n handleError(error);\n });\n};\n\nconst uploadDescriptionPDF = (id, formData) => {\n const url = `${api_base_url}/api/finance/BudgetSchedules/lineItems/description/pdf/${id}`;\n\n return axiosInstance\n .post(url, formData, {\n headers: authHeader(),\n })\n .then(handleAxiosResponse)\n .catch(error => {\n handleError(error);\n });\n};\n\nconst downloadLineItem = (fileType, projectId) => {\n const url = `${api_base_url}/api/finance/BudgetSchedules/export/${fileType}/${projectId}`;\n\n return axiosInstance\n .get(url, {\n headers: authHeader(),\n responseType: 'arraybuffer',\n })\n .catch(error => {\n handleError(error);\n });\n};\n\nconst getExportTypes = () => {\n const url = `${api_base_url}/api/finance/BudgetSchedules/exportFileTypes`;\n\n return axiosInstance\n .get(url, {\n headers: authHeader(),\n })\n .then(handleAxiosResponse)\n .catch(error => {\n handleError(error);\n });\n};\n\nexport const LineItemService = {\n getBudgetScheduleWithId,\n createNewLineItem,\n createLineItem,\n saveLineItem,\n deleteLineItemWithId,\n getLineItemsForNewModal,\n getLineItemsForNewModal,\n searchLineItems,\n getBienniums,\n getInstitutions,\n getStatuses,\n getPerformanceScheduleTypes,\n getBudgetScheduleTypes,\n getLineItemCategories,\n getDescription,\n uploadDescriptionText,\n uploadDescriptionPDF,\n getLineItemWithId,\n downloadLineItem,\n getExportTypes,\n};\n","import { handleServiceRequest } from '../handle-service-request';\n// import { fakeResponse } from './fake-response-budget-run';\nimport { handleAxiosResponse, api_base_url, axiosInstance } from '../common.service';\nimport { authHeader } from 'helpers/auth-header';\nimport { UrlEnum, handleError } from 'shared';\n\nconst baseUrl = `/api/finance/budgetruns`;\n\nconst createNewBudgetRun = (postBody, history) => {\n const convertFunction = res => {\n const location = {\n pathname: UrlEnum.BUDGETRUN,\n state: [{ budgetRunId: res.newBudgetRunID }],\n };\n\n history.push(location);\n };\n const postObject = {\n url: `${baseUrl}`,\n postBody: postBody,\n convertFunction: convertFunction,\n };\n return handleServiceRequest.post(postObject);\n};\n\nconst getBudgetRunWithId = id => {\n const getObject = {\n url: `${baseUrl}/${id}`,\n // customHandleError: () => {\n // return fakeResponse.getBudgetRunById();\n // },\n };\n return handleServiceRequest.get(getObject);\n};\n\nconst searchBudgetRuns = params => {\n const getObject = {\n url: `${baseUrl}`,\n params: params,\n // customHandleError: error => {\n // const returned = fakeResponse.SearchBudgetRun();\n // return returned;\n // },\n };\n return handleServiceRequest.getWithParams(getObject);\n};\n\nconst saveBudgetRun = postBody => {\n return axiosInstance\n .patch(\n `${api_base_url}/api/finance/BudgetRuns/${postBody.budgetRunID}`,\n postBody,\n {\n headers: authHeader(),\n }\n )\n .then(handleAxiosResponse)\n .then(res => {\n return res;\n })\n .catch(error => {\n handleError(error);\n });\n};\n\nconst runBudgetRun = id => {\n const postObject = {\n url: `${baseUrl}/run/${id}`,\n };\n return handleServiceRequest.post(postObject);\n};\n\nconst saveNewBudgetRun = postBody => {\n const postObject = {\n url: `${baseUrl}/new`,\n postBody: postBody,\n };\n return handleServiceRequest.post(postObject);\n};\n\nconst budgetRunErrorCheck = id => {\n const getObject = {\n url: `${baseUrl}/ErrorCheck/${id}`,\n };\n return handleServiceRequest.get(getObject);\n};\n\nconst debtServiceReport = search => {\n const getObject = {\n url: `${baseUrl}/DebtServiceReport?${search}`,\n };\n return handleServiceRequest.get(getObject);\n};\n\nconst deleteBudgetRun = (budgetRunId, history) => {\n const onCompleteFunction = res => {\n const location = {\n pathname: UrlEnum.BUDGETRUNSEARCH,\n };\n\n history.push(location);\n };\n const deleteObject = {\n url: `${baseUrl}/${budgetRunId}`,\n onCompleteFunction: onCompleteFunction,\n };\n return handleServiceRequest.deleteItem(deleteObject);\n};\n\nconst downloadBudgetRun = (fileType, projectId) => {\n const url = `${api_base_url}${baseUrl}/download/${fileType}/${projectId}`;\n const fileEnding = fileType === 'excel' ? 'xlsx' : fileType;\n return axiosInstance\n .get(url, {\n headers: authHeader(),\n responseType: 'blob',\n })\n .then(res => {\n const type = res.headers['content-type'];\n const blob = new Blob([res.data], { type: type, encoding: 'UTF-8' });\n const link = document.createElement('a');\n link.href = window.URL.createObjectURL(blob);\n link.download = `BudgetRun-${projectId}.${fileEnding}`;\n link.click();\n })\n .catch(error => {\n handleError(error);\n });\n};\n\nexport const budgetRunService = {\n getBudgetRunWithId,\n saveNewBudgetRun,\n searchBudgetRuns,\n saveBudgetRun,\n createNewBudgetRun,\n deleteBudgetRun,\n downloadBudgetRun,\n runBudgetRun,\n budgetRunErrorCheck,\n debtServiceReport,\n};\n","import { handleServiceRequest } from '../handle-service-request';\n\nconst baseUrl = `/api/finance/PerformanceSchedules`;\n\nconst getBienniums = () => {\n const getObject = {\n url: `${baseUrl}/bienniums`,\n };\n return handleServiceRequest.get(getObject);\n};\n\nconst getSchedule = id => {\n const getObject = {\n url: `${baseUrl}/${id}`,\n };\n return handleServiceRequest.get(getObject);\n};\n\nconst getSchedules = query => {\n const getObject = {\n url: `${baseUrl}?${query}`,\n };\n return handleServiceRequest.get(getObject);\n};\n\nconst updateSchedule = (id, body) => {\n const getObject = {\n url: `${baseUrl}/${id}`,\n patchBody: body,\n };\n return handleServiceRequest.patch(getObject);\n};\n\nconst getTypes = () => {\n const getObject = {\n url: `${baseUrl}/types`,\n };\n return handleServiceRequest.get(getObject);\n};\n\nconst getInstitutions = () => {\n const getObject = {\n url: `${baseUrl}/institutions`,\n };\n return handleServiceRequest.get(getObject);\n};\n\nconst getStatuses = () => {\n const getObject = {\n url: `${baseUrl}/statuses`,\n };\n return handleServiceRequest.get(getObject);\n};\n\nconst getExportFileTypes = () => {\n const getObject = {\n url: `${baseUrl}/exportFileTypes`,\n };\n return handleServiceRequest.get(getObject);\n};\n\nconst exportFile = (ext, id) => {\n const getObject = {\n url: `${baseUrl}/export/${ext}/${id}`,\n };\n if (ext === 'Excel')\n getObject.params = {\n responseType: 'arraybuffer',\n };\n return handleServiceRequest.get(getObject);\n};\n\nexport const performanceScheduleService = {\n getBienniums,\n getSchedule,\n getSchedules,\n updateSchedule,\n getTypes,\n getInstitutions,\n getStatuses,\n getExportFileTypes,\n exportFile,\n};\n","const fakeSearchAcademicPrograms = () => {\n return [\n {\n programID: 3,\n institutionName: 'Purdue University-West Lafayette',\n degreeLevel: null,\n cipCode: null,\n cipTitle: 'None',\n programName: 'Associate in Agriculture in General Agriculture',\n status: 'Eliminated',\n approvalDate: '1971-08-04T00:00:00',\n hasPendingActionRequests: false,\n monthYearIdentifier: null,\n monthYearText: 'None Set',\n },\n {\n programID: 4,\n institutionName: 'Vincennes University',\n degreeLevel: null,\n cipCode: null,\n cipTitle: 'None',\n programName: 'A.S. in Agriculture',\n status: 'Eliminated',\n approvalDate: '1971-08-04T00:00:00',\n hasPendingActionRequests: false,\n monthYearIdentifier: null,\n monthYearText: 'None Set',\n },\n {\n programID: 6,\n institutionName: 'Ivy Tech Community College',\n degreeLevel: null,\n cipCode: null,\n cipTitle: 'None',\n programName: 'A.A.S./A.S. in Agriculture - TEST ONLY',\n status: 'Active',\n approvalDate: '2007-03-09T00:00:00',\n hasPendingActionRequests: false,\n monthYearIdentifier: null,\n monthYearText: 'None Set',\n },\n {\n programID: 18,\n institutionName: 'Purdue University-West Lafayette',\n degreeLevel: null,\n cipCode: null,\n cipTitle: 'None',\n programName: 'B.S. in General Agriculture',\n status: 'Active',\n approvalDate: '1971-08-04T00:00:00',\n hasPendingActionRequests: false,\n monthYearIdentifier: null,\n monthYearText: 'None Set',\n },\n {\n programID: 19,\n institutionName: 'Purdue University-North Central Campus',\n degreeLevel: null,\n cipCode: null,\n cipTitle: 'None',\n programName: 'B.S. in General Agriculture',\n status: 'Eliminated',\n approvalDate: '2004-02-13T00:00:00',\n hasPendingActionRequests: false,\n monthYearIdentifier: null,\n monthYearText: 'None Set',\n },\n {\n programID: 22,\n institutionName: 'Purdue University-West Lafayette',\n degreeLevel: null,\n cipCode: null,\n cipTitle: 'None',\n programName: 'M.S. in General Agriculture',\n status: 'Eliminated',\n approvalDate: '1971-08-04T00:00:00',\n hasPendingActionRequests: false,\n monthYearIdentifier: null,\n monthYearText: 'None Set',\n },\n {\n programID: 23,\n institutionName: 'Vincennes University',\n degreeLevel: null,\n cipCode: null,\n cipTitle: 'None',\n programName: 'Precision Ag Certificate C.P.C.',\n status: 'Eliminated',\n approvalDate: '2007-01-11T00:00:00',\n hasPendingActionRequests: false,\n monthYearIdentifier: null,\n monthYearText: 'None Set',\n },\n {\n programID: 25,\n institutionName: 'Vincennes University',\n degreeLevel: null,\n cipCode: null,\n cipTitle: 'None',\n programName: 'A.S. in Agribusiness',\n status: 'Active',\n approvalDate: '1971-08-04T00:00:00',\n hasPendingActionRequests: false,\n monthYearIdentifier: null,\n monthYearText: 'None Set',\n },\n {\n programID: 27,\n institutionName: 'Indiana University-Purdue University-Indianapolis',\n degreeLevel: null,\n cipCode: null,\n cipTitle: 'None',\n programName: 'M.S. in Agriculture Extension (PU)',\n status: 'Eliminated',\n approvalDate: '1971-08-04T00:00:00',\n hasPendingActionRequests: false,\n monthYearIdentifier: null,\n monthYearText: 'None Set',\n },\n {\n programID: 29,\n institutionName: 'Purdue University-Calumet Campus',\n degreeLevel: null,\n cipCode: null,\n cipTitle: 'None',\n programName: 'M.S. in Agriculture Extension (PU)',\n status: 'Eliminated',\n approvalDate: '1971-08-04T00:00:00',\n hasPendingActionRequests: false,\n monthYearIdentifier: null,\n monthYearText: 'None Set',\n },\n {\n programID: 30,\n institutionName: 'Purdue University-West Lafayette',\n degreeLevel: null,\n cipCode: null,\n cipTitle: 'None',\n programName: 'M.S. in Agriculture Extension',\n status: 'Eliminated',\n approvalDate: '1971-08-04T00:00:00',\n hasPendingActionRequests: false,\n monthYearIdentifier: null,\n monthYearText: 'None Set',\n },\n {\n programID: 32,\n institutionName: 'Purdue University-West Lafayette',\n degreeLevel: null,\n cipCode: null,\n cipTitle: 'None',\n programName: 'B.S. in Agricultural Economics',\n status: 'Active',\n approvalDate: '1971-08-04T00:00:00',\n hasPendingActionRequests: false,\n monthYearIdentifier: null,\n monthYearText: 'None Set',\n },\n {\n programID: 33,\n institutionName: 'Purdue University-West Lafayette',\n degreeLevel: null,\n cipCode: null,\n cipTitle: 'None',\n programName: 'M.S. in Agricultural Economics',\n status: 'Active',\n approvalDate: '1971-08-04T00:00:00',\n hasPendingActionRequests: false,\n monthYearIdentifier: null,\n monthYearText: 'None Set',\n },\n {\n programID: 34,\n institutionName: 'Purdue University-West Lafayette',\n degreeLevel: null,\n cipCode: null,\n cipTitle: 'None',\n programName: 'Ph.D. in Agricultural Economics',\n status: 'Active',\n approvalDate: '1971-08-04T00:00:00',\n hasPendingActionRequests: false,\n monthYearIdentifier: null,\n monthYearText: 'None Set',\n },\n {\n programID: 35,\n institutionName: 'Purdue University-West Lafayette',\n degreeLevel: null,\n cipCode: null,\n cipTitle: 'None',\n programName: 'M.B.A. in Food and Agricultural Business',\n status: 'Active',\n approvalDate: '1998-10-09T00:00:00',\n hasPendingActionRequests: false,\n monthYearIdentifier: null,\n monthYearText: 'None Set',\n },\n {\n programID: 36,\n institutionName: 'Purdue University-West Lafayette',\n degreeLevel: null,\n cipCode: null,\n cipTitle: 'None',\n programName: 'B.S. in Agricultural Systems Management',\n status: 'Active',\n approvalDate: '1971-08-04T00:00:00',\n hasPendingActionRequests: false,\n monthYearIdentifier: null,\n monthYearText: 'None Set',\n },\n ];\n};\n\nconst fakeGetSingleAcademicAffair = () => {\n return {\n programDetails: {\n programId: 3,\n cheInstitutionUnitId: '24378000',\n cipSixDigitCode: '01.0000',\n cipSixDigitCode2020: null,\n degreeLevelCode: '03',\n programFormalName: 'Associate in Agriculture in General Agriculture',\n programStartYear: 1972,\n programEndYear: 2016,\n programStatusId: 4,\n programApprovalDate: '1971-08-04T00:00:00',\n programDistanceEdApprovedFlag: false,\n programComments: null,\n lastUpdateDate: '2016-01-20T12:54:30.63',\n programIuMedicalFlag: false,\n programPffStemFlag: false,\n programPffLessThan18CrFlag: false,\n programCreditReqMin: null,\n programCreditReqMax: null,\n monthYearCommitteeSort: null,\n committeeText: null,\n cheInstitutionUnit: null,\n cipSixDigitCodeNavigation: null,\n cipSixDigitCode2020Navigation: null,\n degreeLevelCodeNavigation: null,\n iuMedicalProgram: [],\n lessThan18CrCerts: [],\n programActionRequest: null,\n programLocation: [],\n programLookup: [],\n programMajor: [],\n },\n approvedLocations: [],\n pendingProgramActionRequests: [],\n programAuditHistory: [\n {\n requestid: 597,\n requesterName: 'Noelle Wikert',\n comment: null,\n reviewerName: 'Noelle Wikert',\n reviewerComments: null,\n reviewDate: '1/20/2016 12:00:00 AM',\n newName: null,\n newCIP: null,\n newApprovalDate: null,\n newStatusID: null,\n newStartYear: null,\n newEndYear: null,\n newProgramDistanceEdApprovesFlag: null,\n newProgramCreditsMin: null,\n newProgramCreditsMax: null,\n addedLocations: [],\n removedLocations: [],\n attatchedFileNames: null,\n },\n ],\n programInstitution: {\n locationId: 24378000,\n locationName: 'Purdue University-West Lafayette',\n },\n degreeLevelDesc: 'Associate',\n };\n};\n\nexport const fakeResponses = {\n fakeSearchAcademicPrograms,\n fakeGetSingleAcademicAffair,\n};\n","import { handleServiceRequest } from '../handle-service-request';\nimport { fakeResponses } from './fake-academic-affairs-response';\nimport { authHeader } from 'helpers/auth-header';\nimport { api_base_url, axiosInstance } from '../common.service';\nimport { handleError } from 'shared';\nimport { UrlEnum } from 'shared';\nimport {\n convertApiResponseToOppositeSearchOptions,\n convertApiResponseToSearchOptions,\n} from '../shared-service-functions';\n\nconst baseUrl = `/api/AcademicPrograms`;\n\nconst searchAcademicPrograms = params => {\n const object = {\n url: `${baseUrl}/program/search`,\n postBody: params,\n customHandleError: error => {\n const returned = fakeResponses.fakeSearchAcademicPrograms();\n return returned;\n },\n };\n return handleServiceRequest.post(object); \n};\n\nconst getProgramExtraViewDetails = id => {\n const getObject = {\n url: `${baseUrl}/program/extraViewDetails/${id}`,\n };\n return handleServiceRequest.get(getObject);\n};\n\nconst getAcademicProgram = (id, isEditing = 0) => {\n const getObject = {\n url: `${baseUrl}/program/${id}/${isEditing}`,\n };\n return handleServiceRequest.get(getObject);\n};\n\n/* Sample Response \n[\n {\n \"programID: 3,\n \"institutionName: \"Purdue University-West Lafayette\",\n \"degreeLevel: null,\n \"cipCode: null,\n \"cipTitle: \"None\",\n \"programName: \"Associate in Agriculture in General Agriculture\",\n \"status: \"Eliminated\",\n \"approvalDate: \"1971-08-04T00:00:00\",\n \"hasPendingActionRequests: false,\n \"monthYearIdentifier: null,\n \"monthYearText: \"None Set\"\n }, \n ...\n]\n*/\n\nconst createNewProgram = postBody => {\n const postObject = {\n url: `${baseUrl}/program`,\n postBody: postBody,\n };\n return handleServiceRequest.post(postObject);\n};\n\nconst deleteProgram = id => {\n const myObject = {\n url: `${baseUrl}/program/delete/${id}`,\n };\n return handleServiceRequest.post(myObject);\n}\n\nconst getAcademicProgramRequests = id => {\n const getObject = {\n url: `${baseUrl}/program/${id}/requests`,\n };\n return handleServiceRequest.get(getObject);\n};\n\nconst getProgramReviewReport = params => {\n const getObject = {\n url: `${baseUrl}/ProgramReviewReport`,\n params: params,\n };\n // [FromQuery] UnitType institutionLevel = UnitType.Institution, //1 = institution, 2 = campus, 3 = location\n // [FromQuery] List dataOutputs = null,\n // [FromQuery] List programsToInclude = null,\n // [FromQuery] List fiscalYears = null,\n // [FromQuery] List institutionTypes = null,\n // [FromQuery] List institutions = null,\n // [FromQuery] List degreeLevels = null,\n // [FromQuery] List metaMajor = null,\n // [FromQuery] List cips = null,\n // [FromQuery] string name = null,\n // [FromQuery] bool? stemStatus = null,\n // [FromQuery] List programStatus = null,\n // [FromQuery] DistanceCodes.DistanceEdCode distanceEd = DistanceCodes.DistanceEdCode.All\n return handleServiceRequest.getWithParams(getObject);\n};\n\nconst getProgramReviewReportExport = params => {\n const getObject = {\n url: `${baseUrl}/ProgramReviewReportExport`,\n params: params,\n };\n // [FromQuery] UnitType institutionLevel = UnitType.Institution, //1 = institution, 2 = campus, 3 = location\n // [FromQuery] List dataOutputs = null,\n // [FromQuery] List programsToInclude = null,\n // [FromQuery] List fiscalYears = null,\n // [FromQuery] List institutionTypes = null,\n // [FromQuery] List institutions = null,\n // [FromQuery] List degreeLevels = null,\n // [FromQuery] List metaMajor = null,\n // [FromQuery] List cips = null,\n // [FromQuery] string name = null,\n // [FromQuery] bool? stemStatus = null,\n // [FromQuery] List programStatus = null,\n // [FromQuery] DistanceCodes.DistanceEdCode distanceEd = DistanceCodes.DistanceEdCode.All,\n // [FromQuery] bool groupPrograms = false\n return handleServiceRequest.getWithParams(getObject);\n};\n\nconst getLocations = (search = '') => {\n const getObject = {\n url: `${baseUrl}/locations?${search}`,\n };\n return handleServiceRequest.get(getObject);\n};\n\nconst getOptions = () => {\n const getObject = {\n url: `${baseUrl}/options`,\n };\n return handleServiceRequest.get(getObject);\n};\n\nconst getCips = () => {\n const two = handleServiceRequest.getWithParams({\n url: '/api/AcademicPrograms/TwoDigitCIP',\n });\n const four = handleServiceRequest.getWithParams({\n url: '/api/AcademicPrograms/FourDigitCIP',\n });\n const six = handleServiceRequest.getWithParams({\n url: '/api/AcademicPrograms/SixDigitCIP',\n });\n return Promise.all([two, four, six]);\n};\n\nconst getSixCips = () => {\n const getObject = {\n url: `/api/AcademicPrograms/SixDigitCIP`,\n };\n return handleServiceRequest.get(getObject);\n};\n\nconst getInstitutions = search => {\n const getObject = {\n url: `${baseUrl}/institutions?${search}`,\n //convertFunction: function(resp) { convertApiResponseToSearchOptions(resp.institutions); }\n convertFunction: function(responses) {\n console.log(responses);\n return responses.institutions.map(response => ({\n label: response.id,\n value: response.text ? response.text : response.name,\n editable: response.editable,\n }));\n },\n };\n return handleServiceRequest.get(getObject);\n};\n\nconst getDegreeLevels = () => {\n const getObject = {\n url: `${baseUrl}/degreeLevels`,\n //convertFunction: function(resp) { convertApiResponseToSearchOptions(resp.institutions); }\n convertFunction: function(responses) {\n return responses.degreeLevels.map(response => ({\n label: response.id,\n value: response.text ? response.text : response.name,\n }));\n },\n };\n return handleServiceRequest.get(getObject);\n};\n\nasync function getDistanceEds() {\n const getObject = {\n url: `${baseUrl}/distanceEds`,\n };\n\n let result = await handleServiceRequest.get(getObject);\n return result;\n}\n\nasync function getDistanceEdsOnline() {\n const getObject = {\n url: `${baseUrl}/distanceEdsOnline`,\n };\n\n let result = await handleServiceRequest.get(getObject);\n return result;\n}\n\nconst getInstitutionTypes = () => {\n const getObject = {\n url: `${baseUrl}/institutionTypes`,\n };\n return handleServiceRequest.get(getObject);\n};\n\nconst getAuditsListWithId = id => {\n const getObject = {\n url: `${baseUrl}/Audits/list/${id}`,\n };\n return handleServiceRequest.get(getObject);\n};\n\nconst updateNewAcademicAffair = (id, params) => {\n const patchObject = {\n url: `${baseUrl}/program/${id}`,\n params: params,\n };\n return handleServiceRequest.patch(patchObject);\n};\n\nconst editAcademicProgram = params => {\n const myObject = {\n url: `${baseUrl}/program/${params.programId}`,\n patchBody: params,\n };\n return handleServiceRequest.patch(myObject);\n};\n\nconst getCredentialInformation = id => {\n const getObject = {\n url: `${baseUrl}/credentials/${id}`,\n };\n return handleServiceRequest.get(getObject);\n};\n\nconst editCredential = params => {\n const myObject = {\n url: `${baseUrl}/credentials/${params.CredentialId}`,\n patchBody: params,\n };\n return handleServiceRequest.patch(myObject);\n};\n\nconst createCredential = postBody => {\n const postObject = {\n url: `${baseUrl}/credential`,\n postBody: postBody,\n };\n return handleServiceRequest.post(postObject);\n};\n\nexport const academicProgramsService = {\n searchAcademicPrograms,\n createCredential,\n editCredential,\n getAcademicProgramRequests,\n getCredentialInformation,\n getProgramExtraViewDetails,\n getAcademicProgram,\n createNewProgram,\n getProgramReviewReport,\n getProgramReviewReportExport,\n getLocations,\n getOptions,\n getCips,\n getSixCips,\n getInstitutions,\n getInstitutionTypes,\n getAuditsListWithId,\n updateNewAcademicAffair,\n getDegreeLevels,\n getDistanceEdsOnline,\n editAcademicProgram,\n getDistanceEds,\n deleteProgram,\n};\n","import { authHeader } from 'helpers/auth-header';\nimport { api_base_url, axiosInstance } from '../common.service';\nimport { handleError } from 'shared';\nimport { handleServiceRequest } from '../handle-service-request';\n\nconst getOptions = () => {\n const getObject = {\n url: '/api/AcademicPrograms/ProgramReviewReport/Options',\n };\n return handleServiceRequest.get(getObject);\n};\nconst getSystems = search => {\n var getObject = {url:`/api/AcademicPrograms/systems`};\n if(search !== undefined) {\n getObject = {\n url: `/api/AcademicPrograms/systems?${search}`,\n };\n }\n return handleServiceRequest.get(getObject);\n};\nconst getAttributes = () => {\n const getObject = {\n url: '/api/AcademicPrograms/ProgramReviewReport/Attributes',\n };\n return handleServiceRequest.get(getObject);\n};\nconst getInstitutionTypes = () => {\n const getObject = {\n url: '/api/AcademicPrograms/institutionTypes',\n };\n return handleServiceRequest.get(getObject);\n};\nconst getCips = () => {\n const two = handleServiceRequest.get({\n url: '/api/AcademicPrograms/TwoDigitCIP',\n });\n const four = handleServiceRequest.get({\n url: '/api/AcademicPrograms/FourDigitCIP',\n });\n const six = handleServiceRequest.get({\n url: '/api/AcademicPrograms/SixDigitCIP',\n });\n return Promise.all([two, four, six]);\n};\nconst getMetaMajor = () => {\n const getObject = {\n url: `/api/AcademicPrograms/MetaMajor`,\n };\n return handleServiceRequest.get(getObject);\n};\nconst getInstitutions = search => {\n const getObject = {\n url: `/api/AcademicPrograms/institutions?${search}`,\n };\n return handleServiceRequest.get(getObject);\n};\nconst getCampuses = search => {\n const getObject = {\n url: `/api/AcademicPrograms/campuses?${search}`,\n };\n return handleServiceRequest.get(getObject);\n};\nconst getLocations = search => {\n const getObject = {\n url: `/api/AcademicPrograms/locations?${search}`,\n };\n return handleServiceRequest.get(getObject);\n};\nconst getReport = search => {\n const getObject = {\n url: `/api/AcademicPrograms/ProgramReviewReport${search}`,\n };\n return handleServiceRequest.get(getObject);\n};\nconst getReportExport = search => {\n const url = `${api_base_url}/api/AcademicPrograms/ProgramReviewReportExport${search}`;\n \n return axiosInstance\n .get(url, {\n headers: authHeader(),\n responseType: 'blob',\n })\n .then(res => {\n const type = res.headers['content-type'];\n const blob = new Blob([res.data], { type: type, encoding: 'UTF-8' });\n const link = document.createElement('a');\n link.href = window.URL.createObjectURL(blob);\n link.download = `Report_Export.xls`;\n link.click();\n })\n .catch(error => {\n handleError(error);\n });\n};\nconst getProgramsForExport = search => {\n const url = `${api_base_url}/api/AcademicPrograms/ExportProgramsFromInstitution`;\n const config = {\n headers: authHeader(),\n responseType: 'blob',\n };\n\n return axiosInstance\n .post(url, search, config)\n .then(res => {\n const type = res.headers['content-type'];\n const blob = new Blob([res.data], { type: type, encoding: 'UTF-8' });\n const link = document.createElement('a');\n link.href = window.URL.createObjectURL(blob);\n link.download = `Program_Export.xlsx`;\n link.click();\n })\n .catch(error => {\n handleError(error);\n });\n};\nconst getSearches = () => {\n const getObject = {\n url: `/api/AcademicPrograms/searches`,\n };\n return handleServiceRequest.get(getObject);\n};\nconst saveSearch = postBody => {\n const postObject = {\n url: `/api/AcademicPrograms/searches`,\n postBody: postBody,\n };\n return handleServiceRequest.post(postObject);\n};\nconst updateSearch = (id, postBody) => {\n const patchObject = {\n url: `/api/AcademicPrograms/searches/${id}`,\n patchBody: postBody,\n };\n return handleServiceRequest.patch(patchObject);\n};\nconst deleteSearch = id => {\n const patchObject = {\n url: `/api/AcademicPrograms/searches/${id}`,\n };\n return handleServiceRequest.deleteItem(patchObject);\n};\n\nexport const generateReportService = {\n getOptions,\n getProgramsForExport,\n getCips,\n getMetaMajor,\n getSystems,\n getAttributes,\n getInstitutionTypes,\n getInstitutions,\n getCampuses,\n getLocations,\n getReport,\n getReportExport,\n getSearches,\n saveSearch,\n updateSearch,\n deleteSearch,\n};\n","import { handleServiceRequest } from '../handle-service-request';\nimport { authHeader } from 'helpers/auth-header';\nimport { api_base_url, axiosInstance } from '../common.service';\n\n\nconst getFileTypes = () => {\n const getObject = {\n url: '/api/DataSubmission/RecordLinking/FileTypes',\n };\n return handleServiceRequest.get(getObject);\n};\nconst searchData = search => {\n const getObject = {\n url: '/api/DataSubmission/search?' + search,\n };\n return handleServiceRequest.get(getObject);\n};\nconst downloadFile = id => {\n const getObject = {\n url: '/api/DataSubmission/transmit/' + id,\n };\n return handleServiceRequest.get(getObject);\n};\nconst approve = id => {\n const getObject = {\n url: '/api/DataSubmission/Approve/' + id,\n };\n return handleServiceRequest.post(getObject);\n};\nconst unapprove = id => {\n const getObject = {\n url: '/api/DataSubmission/UnApprove/' + id,\n };\n return handleServiceRequest.post(getObject);\n};\nconst rerun = id => {\n const getObject = {\n url: '/api/DataSubmission/RerunEdits/' + id,\n };\n return handleServiceRequest.post(getObject);\n};\nconst transmissionErrors = id => {\n return axiosInstance\n .get(api_base_url+'/api/DataSubmission/TransmissionErrors/' + id, {\n headers: authHeader(),\n responseType: 'blob',\n });\n //return handleServiceRequest.get(getObject);\n};\nconst submissionErrors = id => {\n return axiosInstance\n .get(api_base_url+'/api/DataSubmission/SubmissionErrors/' + id, {\n headers: authHeader(),\n responseType: 'blob',\n });\n // const getObject = {\n // url: '/api/DataSubmission/SubmissionErrors/' + id,\n // };\n // return handleServiceRequest.get(getObject);\n};\nconst submissionWarnings = id => {\n return axiosInstance\n .get(api_base_url+'/api/DataSubmission/SubmissionWarnings/' + id, {\n headers: authHeader(),\n responseType: 'blob',\n });\n // const getObject = {\n // url: '/api/DataSubmission/SubmissionWarnings/' + id,\n // };\n // return handleServiceRequest.get(getObject);\n};\nconst submissionsExport = search => {\n const getObject = {\n url: '/api/DataSubmission/SubmissionSearchExport?' + search,\n };\n return handleServiceRequest.get(getObject);\n};\nconst submitFile = (file) => {\n const formData = new FormData();\n formData.append('file', file);\n const getObject = {\n headers: {\n 'Content-Type': 'multipart/form-data',\n },\n url: `/api/DataSubmission/transmit/single`,\n postBody: formData,\n };\n return handleServiceRequest.post(getObject);\n};\n\nconst submitBulkFile = (file) => {\n const formData = new FormData();\n formData.append('file', file);\n const getObject = {\n headers: {\n 'Content-Type': 'multipart/form-data',\n },\n url: `/api/DataSubmission/transmit/bulk`,\n postBody: formData,\n };\n return handleServiceRequest.post(getObject);\n};\n\nexport const dataSubmissionService = {\n getFileTypes,\n searchData,\n downloadFile,\n approve,\n unapprove,\n rerun,\n transmissionErrors,\n submissionErrors,\n submissionWarnings,\n submissionsExport,\n submitFile,\n submitBulkFile,\n};\n","import { handleServiceRequest } from '../handle-service-request';\nimport { authHeader } from 'helpers/auth-header';\n\nconst getUsers = query => {\n const getObject = {\n url: `/api/account/users?${query}`,\n };\n return handleServiceRequest.get(getObject);\n};\n\nconst getRoles = () => {\n const getObject = {\n url: '/api/account/roles',\n };\n return handleServiceRequest.get(getObject);\n};\n\nconst getInstitutions = () => {\n const getObject = {\n url: '/api/account/institutions',\n };\n return handleServiceRequest.get(getObject);\n};\n\nconst createUser = payload => {\n const postObject = {\n url: '/api/account/CreateUser',\n postBody: payload,\n };\n return handleServiceRequest.post(postObject);\n};\n\nconst getUser = id => {\n const getObject = {\n url: `/api/account/users/${id}`,\n headers: { ...authHeader(true) },\n };\n return handleServiceRequest.get(getObject);\n};\n\nconst updateUser = (id, payload) => {\n const postObject = {\n url: `/api/account/user/${id}`,\n headers: { ...authHeader(true) },\n postBody: payload,\n };\n return handleServiceRequest.put(postObject);\n};\n\nconst sendPasswordReset = id => {\n const postObject = {\n url: `/api/account/sendPasswordReset/${id}`,\n };\n return handleServiceRequest.post(postObject);\n};\n\nconst impersonateUser = id => {\n const getObject = {\n url: `/api/account/Impersonate/${id}`,\n };\n return handleServiceRequest.get(getObject);\n};\n\nconst clearImpersonation = () => {\n const getObject = {\n url: `/api/account/ClearImpersonation`,\n };\n return handleServiceRequest.get(getObject);\n};\n\nexport const userManagementService = {\n getUsers,\n getRoles,\n getInstitutions,\n createUser,\n updateUser,\n getUser,\n sendPasswordReset,\n impersonateUser,\n clearImpersonation,\n};\n","import { handleServiceRequest } from '../handle-service-request';\n\nconst getToggles = () => {\n const getObject = {\n url: '/api/System/Toggle',\n };\n return handleServiceRequest.get(getObject);\n};\nconst postToggles = toggles => {\n const postObject = {\n url: '/api/System/Toggle',\n postBody: toggles,\n };\n return handleServiceRequest.post(postObject);\n};\n\nexport const partitionToggleService = {\n getToggles,\n postToggles,\n};\n","import { handleServiceRequest } from '../handle-service-request';\n\nconst getRecords = () => {\n const getObject = {\n url: `/api/DataSubmission/RecordLinking`,\n };\n return handleServiceRequest.get(getObject);\n};\n\nconst getRecordDuplicate = id => {\n const getObject = {\n url: `/api/DataSubmission/RecordLinking/DuplicateReview/${id}`,\n };\n return handleServiceRequest.get(getObject);\n};\n\nconst getRecordManual = id => {\n const getObject = {\n url: `/api/DataSubmission/RecordLinking/ManualReview/${id}`,\n };\n return handleServiceRequest.get(getObject);\n};\n\nconst getRaceAndGenderCodes = () => {\n const getObject = {\n url: `/api/DataSubmission/RecordLinking/RaceAndGenderCodes`,\n };\n return handleServiceRequest.get(getObject);\n};\n\nconst getReviewRecord = (linkRequestId, dataLinkId) => {\n const getObject = {\n url: `/api/DataSubmission/RecordLinking/ManualReview/${linkRequestId}/${dataLinkId}`,\n };\n return handleServiceRequest.get(getObject);\n};\n\nconst submitRecordLink = (linkRequestId, dataLinkId, masterIndexId) => {\n const postObject = {\n url: `/api/DataSubmission/RecordLinking/ManualReview/${linkRequestId}/${dataLinkId}/${masterIndexId}`,\n };\n return handleServiceRequest.post(postObject);\n};\n\nconst submitDuplicate = (linkRequestId, indexId, duplicateGroupNum) => {\n const postObject = {\n url: `/api/DataSubmission/RecordLinking/DuplicateReview/${linkRequestId}/${indexId}/${duplicateGroupNum}`,\n };\n return handleServiceRequest.post(postObject);\n};\n\nexport const recordLinkingService = {\n getRecords,\n getRecordDuplicate,\n getRecordManual,\n getRaceAndGenderCodes,\n getReviewRecord,\n submitRecordLink,\n submitDuplicate,\n};\n","import { handleServiceRequest } from '../handle-service-request';\n\nconst getSections = () => {\n const obj = {\n url: '/api/Help/Section',\n };\n return handleServiceRequest.get(obj);\n};\nconst addSection = body => {\n const obj = {\n url: '/api/Help/Section',\n postBody: body,\n };\n return handleServiceRequest.post(obj);\n};\nconst updateSection = body => {\n const obj = {\n url: '/api/Help/Section',\n postBody: body,\n };\n return handleServiceRequest.put(obj);\n};\nconst deleteSection = id => {\n const obj = {\n url: `/api/Help/Section/Delete/${id}`,\n };\n return handleServiceRequest.get(obj);\n};\nconst getFiles = () => {\n const obj = {\n url: '/api/Help/File',\n };\n return handleServiceRequest.get(obj);\n};\nconst addFile = formData => {\n const obj = {\n headers: {\n 'Content-Type': 'multipart/form-data',\n },\n url: '/api/Help/File',\n postBody: formData,\n };\n return handleServiceRequest.post(obj);\n};\nconst updateFile = body => {\n console.log(body);\n const obj = {\n url: '/api/Help/File',\n postBody: body,\n };\n return handleServiceRequest.put(obj);\n};\nconst deleteFile = id => {\n const obj = {\n url: `/api/Help/File/Delete/${id}`,\n };\n return handleServiceRequest.get(obj);\n};\n\nconst changeIndex = (id, indexOffset) => {\n let obj = [];\n if (indexOffset > 0) obj = { url: `/api/Help/File/IndexUp/${id}` };\n else obj = { url: `/api/Help/File/IndexDown/${id}` };\n return handleServiceRequest.get(obj);\n};\n\nconst getFile = (id, filename, fileExt) => {\n const obj = {\n url: `/api/Help/File/${id}`,\n filename: filename,\n ext: fileExt,\n };\n return handleServiceRequest.download(obj);\n};\n\nexport const helpService = {\n getSections,\n addSection,\n updateSection,\n deleteSection,\n changeIndex,\n getFiles,\n addFile,\n updateFile,\n deleteFile,\n getFile,\n};\n","import { handleServiceRequest } from '../handle-service-request';\nimport { UrlEnum } from 'shared';\nimport {\n convertApiResponseToOppositeSearchOptions,\n convertApiResponseToSearchOptions,\n} from '../shared-service-functions';\n\nconst baseUrl = `/api/AcademicInstitutions`;\n\nconst searchAcademicSystems = params => {\n const getObject = {\n url: `${baseUrl}/systems/search`,\n params: params,\n };\n return handleServiceRequest.getWithParams(getObject);\n};\n\nconst searchAcademicUnits = params => {\n const getObject = {\n url: `${baseUrl}/units/search`,\n params: params,\n };\n return handleServiceRequest.getWithParams(getObject);\n};\n\nexport const editAcademicSystem = (system, id) => {\n const postObject = {\n url: `${baseUrl}/system/${id}`,\n postBody: system\n }\n\n return handleServiceRequest.post(postObject)\n}\n\nexport const createAcademicSystem = system => {\n const postObject = {\n url: `${baseUrl}/systems/create`,\n postBody: system\n }\n\n return handleServiceRequest.post(postObject)\n};\n\nexport const validateCheUnitId = cheUnitId => {\n const postObject = {\n url: `${baseUrl}/systems/validateCheUnitId`,\n postBody: {\n 'cheUnitId': cheUnitId\n }\n }\n\n return handleServiceRequest.post(postObject)\n}\n\nexport const validateCheIpedsId = cheId => {\n const postObject = {\n url: `${baseUrl}/institutions/validateCheIpedsId`,\n postBody: {\n 'cheUnitId': cheId\n }\n }\n\n return handleServiceRequest.post(postObject)\n}\n\nexport const validateCheOpeId = cheId => {\n const postObject = {\n url: `${baseUrl}/institutions/validateCheOpeId`,\n postBody: {\n 'cheUnitId': cheId\n }\n }\n\n return handleServiceRequest.post(postObject)\n}\n\nexport const getCreateAcademicSystemOptions = _ => {\n const getObject = {\n url: `${baseUrl}/systems/create/options`\n }\n\n return handleServiceRequest.get(getObject)\n};\n\nconst getAcademicInstitution = id => {\n const getObject = {\n url: `${baseUrl}/institutions/${id}`,\n };\n return handleServiceRequest.get(getObject);\n};\n\nconst getSystemInformation = id => {\n const getObject = {\n url: `${baseUrl}/systems/${id}`\n }\n return handleServiceRequest.get(getObject);\n}\n\nconst getInstitutionSectorOptions = () => {\n const getObject = {\n url: `${baseUrl}/institutions/sectors`\n }\n return handleServiceRequest.get(getObject);\n}\n\nconst getInstitutionReportingGroups = () => {\n const getObject = {\n url: `${baseUrl}/institutions/reportingGroups`\n }\n return handleServiceRequest.get(getObject);\n}\n\nconst getInstitutionClassificationReportingOptions = () => {\n const getObject = {\n url: `${baseUrl}/institutions/ResearchClassificationsOptions`\n }\n return handleServiceRequest.get(getObject);\n}\n\nconst getInstitutionCampuses = id => {\n const getObject = {\n url: `${baseUrl}/institutions/campus/${id}`\n }\n return handleServiceRequest.get(getObject);\n}\n\nconst editAcademicInstitution = (institution, id) => {\n\n const postObject = {\n url: `${baseUrl}/institution/${id}`,\n postBody: institution\n }\n\n return handleServiceRequest.post(postObject)\n}\n\nconst getAcademicCampus = id => {\n \n const getObject = {\n url: `${baseUrl}/campus/${id}`\n }\n return handleServiceRequest.get(getObject);\n}\n\nconst editAcademicCampus = (data, id) => {\n const postObject = {\n url: `${baseUrl}/campus/${id}`,\n postBody: data\n }\n\n return handleServiceRequest.post(postObject)\n}\n\nconst getCampusLocations = campusId => {\n const getObject = {\n url: `${baseUrl}/campus/locations/${campusId}`\n }\n return handleServiceRequest.get(getObject);\n}\n\n\n\nconst getLocation = id => {\n const getObject = {\n url: `${baseUrl}/campus/location/${id}`\n }\n return handleServiceRequest.get(getObject);\n}\n\nconst editAcademicLocation = (data, id) => {\n const postObject = {\n url: `${baseUrl}/campus/location/${id}`,\n postBody: data\n }\n\n return handleServiceRequest.post(postObject)\n}\n\n\n\n/* Sample Response \n[\n {\n \"programID: 3,\n \"institutionName: \"Purdue University-West Lafayette\",\n \"degreeLevel: null,\n \"cipCode: null,\n \"cipTitle: \"None\",\n \"programName: \"Associate in Agriculture in General Agriculture\",\n \"status: \"Eliminated\",\n \"approvalDate: \"1971-08-04T00:00:00\",\n \"hasPendingActionRequests: false,\n \"monthYearIdentifier: null,\n \"monthYearText: \"None Set\"\n }, \n ...\n]*/\n\nconst getOptions = () => {\n const getObject = {\n url: `${baseUrl}/options`,\n };\n return handleServiceRequest.get(getObject);\n};\n\nexport const academicInstitutionsService = {\n searchAcademicSystems,\n searchAcademicUnits,\n getOptions,\n getSystemInformation,\n getAcademicInstitution,\n getInstitutionSectorOptions,\n getInstitutionCampuses,\n editAcademicInstitution,\n validateCheOpeId,\n validateCheIpedsId,\n getInstitutionReportingGroups,\n editAcademicSystem,\n getAcademicCampus,\n getCampusLocations,\n getLocation,\n editAcademicCampus,\n editAcademicLocation,\n getInstitutionClassificationReportingOptions,\n};\n","import React, { useEffect, useRef, useState } from 'react';\n\nexport const Spinner = React.memo(props => {\n const ref = useRef(0);\n const [width, setWidth] = useState(0);\n const { size = 24, color = 'primary', fill } = props;\n useEffect(() => {\n setWidth(ref.current.clientHeight);\n }, []);\n return (\n
\n \n
\n
\n
\n
\n
\n
\n \n );\n});\n\nexport default Spinner;\n","import React, { useEffect } from 'react';\nimport { Route, Redirect, useHistory } from 'react-router-dom';\nimport { useLocation } from 'react-router';\nimport { useSelector } from 'react-redux';\nimport { userService } from 'services';\nimport { ErrorBoundary, ROLES } from 'shared';\nimport Spinner from 'components/blocks/Spinner';\n\n// const perms = {\n// NOT_LOGGED_IN: 0,\n// NEED_TFA: 1,\n// PAGE_NOT_AUTHORIZED: 2,\n// AUTHORIZED: 3,\n// ADMIN: 10,\n// };\n\n// TODO: validate auth at endpoint\n// const getAuth = () => {\n// \tconst user = JSON.parse(localStorage.getItem('user'));\n// \tconst userRoles = JSON.parse(localStorage.getItem('userRoles'));\n// \tconst authToken = JSON.parse(localStorage.getItem('authToken'));\n\n// \tif (authToken && userRoles) {\n// \t} else if (user && user.userID && authToken) {\n// \t\treturn perms.AUTHORIZED;\n// \t} else if (user && user.userID && !authToken) {\n// \t\treturn perms.NEED_TFA;\n// \t} else if (!user || !user.userID) {\n// \t\treturn perms.NOT_LOGGED_IN;\n// \t}\n// };\n\nexport const PrivateRoute = ({ component: Component, admin, ...rest }) => {\n const user = useSelector(state => state.user);\n const location = useLocation();\n const history = useHistory();\n useEffect(() => {\n if (location.pathname === rest.path) {\n // if the user is no longer signed in we need to reroute them to login\n if (!user.token) {\n history.replace('/login');\n }\n }\n }, [user, location, rest.path, history]);\n return (\n (\n \n {user.token ? (\n \n ) : (\n \n \n \n )}\n \n )}\n />\n );\n};\n\nexport const AdminRoute = ({ component: Component, ...rest }) => {\n if (userService.userCan(ROLES.ADMIN)) {\n return (\n (\n \n \n \n )}\n />\n );\n } else {\n // TODO: FLASH error message\n return } />;\n }\n};\n","export const TabEnum = {\n\tGENERALINFO: '#general',\n\tCOSTSIZEFUNDING: '#cost-size',\n\tDETAILDESCRIPTION: '#description',\n\tNEEDSANDPURPOSE: '#need',\n\tOTHERPROJECTINFO: '#other',\n\tSPACEDETAIL: '#space',\n\tCOSTDETAIL: '#cost',\n\tANNUALCOSTDETAIL: '#annual',\n\tSUBMIT: '#submit',\n};\n","export const FormEnum = {\n GENERALINFO: 1,\n COSTSIZEFUNDING: 2,\n DETAILDESCRIPTION: 3,\n NEEDSANDPURPOSE: 4,\n OTHERPROJECTINFO: 5,\n SPACEDETAIL: 6,\n COSTDETAIL: 7,\n ANNUALCOSTDETAIL: 8,\n SUBMIT: 9,\n};\n","export const CapitalProjectErrorEnum = {\n GENERALINFO: [\n 'Project Name',\n 'Institutional Priority',\n 'Institutional Priority',\n 'Budget Agency Project No.',\n 'Project Type',\n 'Previously Approved by General Assembly',\n 'Previously Recommended by CHE',\n 'Long Term Capital Plan',\n ],\n COSTSIZEFUNDING: [\n 'Project size (GSF)',\n 'Project size (ASF)',\n 'Net Change in Overall Campus Space (GSF)',\n 'Net Change in Overall Campus Space (ASF)',\n 'Total Project Cost',\n 'Funding source',\n 'Funding Amount',\n 'Funding Type',\n 'Funding Description',\n 'Funding',\n 'Estimated annual change in cost',\n 'Estimated annual repair and rehabilitation investment',\n 'Project Total Cost',\n 'Funding',\n '',\n '',\n '',\n 'Justification Of Cost',\n ],\n DETAILDESCRIPTION: ['Detail Description'],\n NEEDSANDPURPOSE: ['Need and Purpose'],\n OTHERPROJECTINFO: [],\n SPACEDETAIL: [\n 'Current Space In Use',\n 'Current Space Under Construction',\n 'Space Planned and Funded',\n 'Space to be Terminated',\n 'New Space in Capital Request',\n ],\n COSTDETAIL: [\n 'Construction Bid Date',\n 'Construction Start Date',\n 'Construction End Date',\n 'Cost Basis',\n 'Escalation Factors',\n 'Other Cost',\n 'Cost Detail Total',\n '',\n ],\n ANNUALCOSTDETAIL: [\n 'Personnel Services',\n 'Supplies and Expenses',\n 'Annual cost detail total',\n ],\n SUBMIT: [],\n};\n","export const UrlEnum = {\n CAPITALPROJECTSEARCH: '/finance/capital-project-search',\n CAPITALPROJECTREQUEST: '/finance/capital-project-request',\n PROJECTREVIEWSEARCH: '/finance/project-review-search',\n PROJECTREVIEW: '/finance/project-review',\n LINEITEMSEARCH: '/finance/budget-schedules',\n LINEITEMBUDGET: '/finance/line-item-budget',\n BUDGETRUNSEARCH: '/finance/budget-runs-search',\n PERFORMANCESCHEDULES: '/finance/performance-schedules',\n LINEITEMPERFORMANCE: '/finance/line-item-performance',\n BUDGETRUN: '/finance/budget-run',\n DEBTSERVICE: '/finance/debt-service-outstanding-debt',\n RECORD_LINKING: '/record-linking',\n LINK_REVIEW: '/record-linking/link-review',\n SEARCH_ACADEMIC_AFFAIRS_PROGRAMS: '/academic-affairs/search-programs',\n ACADEMIC_AFFAIRS_PROGRAMS: '/academic-affairs/edit-program',\n ACADEMIC_AFFAIRS_CREDENTIAL: '/academic-affairs/edit-credential',\n ACADEMIC_AFFAIRS_SYSTEM_VIEW: '/che-admin/systems',\n ACADEMIC_AFFAIRS_SYSTEM: '/che-admin/edit-systems',\n ACADEMIC_AFFAIRS_INSTITUTION: '/che-admin/edit-institutions',\n ACADEMIC_AFFAIRS_CAMPUS: '/che-admin/edit-campus',\n ACADEMIC_AFFAIRS_LOCATION: '/che-admin/edit-location',\n ACADEMIC_AFFAIRS_INSTITUTION_VIEW: '/che-admin/institution',\n SEARCH_ACADEMIC_AFFAIRS_INSTITUTIONS: '/che-admin/search-institutions',\n ACADEMIC_AFFAIRS_PROGRAMS_VIEW: '/academic-affairs/program',\n ACADEMIC_AFFAIRS_GENERATE_REPORT: '/academic-affairs/generate-report',\n ACADEMIC_AFFAIRS_REPORT: '/academic-affairs/report',\n DATA_SUBMISSION: '/data-submission',\n PARTITION_TOGGLE: '/che-admin/partition-toggle',\n COLLECTION_MANAGEMENT: '/che-admin/collection-management',\n SET_PASSWORD: '/set-password',\n HELP: '/help',\n MANAGE_USERS: '/user-management/search-users',\n PROFILE: '/profile',\n};\n","export const BudgetRunFormEnum = {\n GENERALINFO: 1,\n PERCENTS: 2,\n BASE: 3,\n PFFOUTPUT: 4,\n PFFPERUNIT: 5,\n CAPITALPROJECTS: 6,\n LINEITEMS: 7,\n DUALCREDIT: 8,\n RANDR: 9,\n OUTPUT: 10,\n};\n","export const BudgetRunTabEnum = {\n GENERALINFO: '#general',\n PERCENTS: '#percents',\n BASE: '#base',\n PFFOUTPUT: '#pff-output',\n PFFPERUNIT: '#pff-per-unit',\n CAPITALPROJECTS: '#capital-projects',\n LINEITEMS: '#line-items',\n DUALCREDIT: '#dual-credit',\n RANDR: '#r&r',\n OUTPUT: '#output',\n};\n","import _get from 'lodash/get';\nimport { useEffect } from 'react';\nimport { useSelector, useDispatch } from 'react-redux';\n\nexport const useErrorState = () => {\n const error = useSelector(state => state.error);\n const dispatch = useDispatch();\n const setError = payload => {\n dispatch({ type: 'SET_ERROR', ...payload });\n };\n const clearError = () => {\n dispatch({ type: 'CLEAR_ERROR' });\n };\n const handleError = error => {\n console.log(error)\n const resMsg = _get(error, 'response.data.message');\n const resStatus = _get(error, 'response.status');\n const errMsg = _get(error, 'message');\n \n if (resMsg) {\n setError({ message: resMsg, status: resStatus });\n } else {\n setError({ message: errMsg, status: resStatus });\n }\n };\n useEffect(() => {\n if (error?.status === 401) {\n dispatch({ type: 'FAILED_AUTH' });\n }\n }, [error]);\n return { error, setError, clearError, handleError };\n};\n","import { useSelector, useDispatch } from 'react-redux';\n\nexport const useToastState = () => {\n const toast = useSelector(state => state.toast);\n const dispatch = useDispatch();\n const setToast = payload => {\n dispatch({ type: 'SET_TOAST', ...payload });\n };\n const clearToast = () => {\n dispatch({ type: 'CLEAR_TOAST' });\n };\n return { toast, setToast, clearToast };\n};\n","import { useSelector } from 'react-redux';\nimport _uniq from 'lodash/uniq';\n\nimport PERMISSIONS from '../constants/permissions.json';\n\n// We do not use these permissions on the frontend\nconst UNUSED_PERMISSIONS = ['reset-two-factor-credentials'];\n// Permissions that are related to viewing pages\nconst VIEW_PERMISSIONS = [\n 'administer-che-all-institution-users',\n 'administer-institution-academic-affairs-users',\n 'administer-institution-data-submission-users',\n 'administer-institution-finance-users',\n 'browse-programs',\n 'configure-and-generate-budget-run',\n 'perform-record-linking',\n 'review-and-edit-budget-and-performance-schedules',\n 'submit-data',\n 'view-capital-projects',\n];\n\nexport const usePermissions = params => {\n const { views = false, permissions = null } = params || {};\n const roles = useSelector(state => state.user.roles) || [];\n const perms = roles.reduce((p, c) => {\n const role = PERMISSIONS.find(d => d.roleName === c.roleName);\n if (role) return _uniq([...p, ...role.permissions]);\n return p;\n }, []);\n const unused = views\n ? UNUSED_PERMISSIONS\n : [...UNUSED_PERMISSIONS, ...VIEW_PERMISSIONS];\n const filtered = perms.filter(p => !unused.includes(p)).sort();\n // if an array of permissions are passed to this hook then we want to make sure that the user\n // has all of the requested permissions\n if (Array.isArray(permissions)) {\n const vals = permissions.map(perm => {\n return filtered.includes(perm);\n });\n return !vals.includes(false);\n }\n return filtered;\n};\n","import { useEffect, useMemo } from 'react';\nimport _uniq from 'lodash/uniq';\nimport { useSelector, useDispatch } from 'react-redux';\n\nimport { partitionToggleService } from 'services';\nimport { usePermissions } from './usePermissions';\n\n// these are the api blocked views. We enable them by default and override with what the api returns.\n// Notably Data Submission is absent, because that page requires the \"submit-data\" permission to see\nconst LOCKED_VIEWS = ['Academic Affairs', 'Finance'];\n// permissions and their associated views\nconst VIEW_PERMISSIONS = {\n 'administer-che-all-institution-users': 'Manage Users',\n 'administer-institution-academic-affairs-users': 'Manage Users',\n 'administer-institution-data-submission-users': 'Manage Users',\n 'administer-institution-finance-users': 'Manage Users',\n 'browse-programs': 'Academic Affairs/Programs',\n 'configure-and-generate-budget-run': 'Finance/Budget Runs',\n 'perform-record-linking': 'Record Linking',\n 'review-and-edit-budget-and-performance-schedules': 'Finance/Budget Schedules',\n 'submit-data': 'Data Submission',\n 'view-capital-projects': 'Finance/Capital Projects',\n};\n\nexport const useDynamicViews = () => {\n const blockedViews = useSelector(state => state.blockedViews);\n const user = useSelector(state => state.user);\n const dispatch = useDispatch();\n const permissions = usePermissions({ views: true });\n const fetchBlockedViews = async () => {\n try {\n //we need to get the views that are blocked via the partition toggle tool\n const res = await partitionToggleService.getToggles();\n const hide = res.filter(r => !r.isEnabled).map(r => r.featureName);\n dispatch({ type: 'SET_BLOCKED_VIEWS', blockedViews: hide });\n } catch (error) {}\n };\n useEffect(() => {\n fetchBlockedViews();\n }, [user]);\n return useMemo(() => {\n const permViews = permissions.reduce((p, c) => {\n // here we compile all the views that are enabled via permissions\n if (VIEW_PERMISSIONS[c]) {\n return p.concat(VIEW_PERMISSIONS[c]);\n }\n return p;\n }, []);\n const unique = _uniq([...LOCKED_VIEWS, ...permViews]);\n // even if a user has a permission to see xyz view, if it is blocked via the partition toggle feature then it will be hidden from view\n const filtered = unique.filter(view => !blockedViews.includes(view));\n return filtered.sort();\n }, [blockedViews, permissions]);\n};\n","import { useMemo } from 'react';\nimport { useSelector } from 'react-redux';\nimport _get from 'lodash/get';\n\nexport const useUserInstitutions = () => {\n const user = useSelector(state => state.user);\n return useMemo(() => {\n let inst = user.isImpersonation\n ? _get(user, 'impersonatedUser.institutionNames', [])\n : _get(user, 'institutionNames', []);\n return inst.map(i => i.institutionID);\n }, [user]);\n};\n","import PropTypes from 'prop-types';\n\nconst handleChange = (evt, setUserInput) => {\n const name = evt.target.name;\n const newValue = evt.target.value;\n setUserInput({ [name]: newValue });\n};\nconst handleCheckChange = (evt, setUserInput) => {\n const name = evt.target.name;\n const newValue = evt.target.checked;\n setUserInput({ [name]: newValue });\n};\nconst handleAsyncSelectChange = (valueObj, options, setUserInput) => {\n const name = options.name;\n setUserInput({ [name]: valueObj });\n};\nconst handleSelectChange = (valueObj, options, setUserInput) => {\n const name = options.name;\n setUserInput({ [name]: valueObj });\n};\n\nhandleChange.propTypes = {\n setUserInput: PropTypes.func.isRequired,\n};\n\nhandleAsyncSelectChange.propTypes = {\n setUserInput: PropTypes.func.isRequired,\n};\n\nhandleSelectChange.propTypes = {\n setUserInput: PropTypes.func.isRequired,\n};\n\nexport const onChangeFunction = {\n handleChange,\n handleAsyncSelectChange,\n handleSelectChange,\n handleCheckChange,\n};\n","export const ObjectFilter = (obj, predicate) =>\n Object.fromEntries(Object.entries(obj).filter(predicate));\n","export const getKeyByValue = (object, value) => {\n return Object.keys(object).find(key => object[key] === value);\n};\n","export const convertToHumanReadableDate = (date) => {\n\tconst newLastUpdateDate = new Date(date);\n\tconst toReturn = newLastUpdateDate.toLocaleDateString();\n\treturn toReturn;\n};\n","import _get from 'lodash/get';\nimport store from 'redux/store';\n\nexport const handleError = error => {\n let message = _get(error, 'message');\n let status = _get(error, 'status');\n console.group('Error Handling logs');\n // Error\n if (error.response) {\n // The request was made and the server responded with a status code\n // that falls out of the range of 2xx\n message = _get(error, 'response.data.message') || _get(error, 'response.data');\n if (!message) {\n message = _get(error, 'response.data.title');\n }\n status = _get(error, 'response.status');\n // console.log(error.response.status);\n // console.log(error.response.headers);\n } else if (error.request) {\n // The request was made but no response was received\n // `error.request` is an instance of XMLHttpRequest in the\n // browser and an instance of\n // http.ClientRequest in node.js\n console.log(error.request);\n } else {\n // Something happened in setting up the request that triggered an Error\n console.log('Error', error.message);\n }\n // console.log(error.config);\n console.groupEnd();\n store.dispatch({ type: 'SET_ERROR', message, status });\n // throw error;\n};\n","export const ROLES = {\n ADMIN: 1,\n CheAdmin: 1,\n CheDataSubmissionAdmin: 2,\n CheDataUser: 3,\n CheApiAdmin: 4,\n CheApiUser: 5,\n CheFinanceAdmin: 6,\n CheFinanceUser: 7,\n ChedssInstitutionAdmin: 51,\n ChedssInstitutionDataSubmissionApprover: 52,\n ChedssInstitutionDataSubmissionReporter: 53,\n ChedssInstitutionDataSubmissionReviewer: 54,\n ChedssInstitutionApiApprover: 55,\n ChedssInstitutionApiReporter: 56,\n ChedssInstitutionApiReviewer: 57,\n ChedssInstitutionFinanceApprover: 58,\n ChedssInstitutionFinanceReporter: 59,\n ChedssInstitutionFinanceReviewer: 60,\n ChedssInstitutionCapitalProjectApprover: 61,\n ChedssInstitutionCapitalProjectReporter: 62,\n ChedssInstitutionCapitalProjectReviewer: 63,\n};\n","import React, { Fragment } from 'react';\nimport { Label } from 'reactstrap';\nexport const RadioButtons = ({ labelName, name, value, onChange }) => {\n const option1 = { name } + 'one';\n const option2 = { name } + 'two';\n return (\n \n \n
\n \n \n
\n
\n \n \n
\n
\n );\n};\n","import React from 'react';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { UncontrolledPopover, PopoverBody } from 'reactstrap';\n\nexport const PopOver = props => {\n const { id, icon, text } = props;\n\n const displayListOrText = () => {\n return Array.isArray(text) ? (\n
    \n {text.map((text, index) => {\n return
  • {text}
  • ;\n })}\n
\n ) : (\n text\n );\n };\n\n return (\n \n {icon ? : null}\n \n {displayListOrText()}\n \n \n );\n};\n","import React, { useState } from 'react';\nimport { convertToHumanReadableDate } from 'shared';\n\nexport const ProjectHeaderCard = HeaderCardModel => {\n const [cardTitle] = useState(HeaderCardModel.cardTitle);\n const [institution] = useState(HeaderCardModel.institution);\n const [biennium] = useState(HeaderCardModel.biennium);\n const [budgetAgencyProjectNo] = useState(HeaderCardModel.budgetAgencyProjectNo);\n const [institutionalPriority] = useState(HeaderCardModel.institutionalPriority);\n const [lastUpdated] = useState(HeaderCardModel.lastUpdated);\n return (\n
\n

{cardTitle}

\n
\n
    \n
  • \n {institution}\n
  • \n
  • \n {biennium}\n
  • \n
  • \n {' '}\n {budgetAgencyProjectNo}\n
  • \n
  • \n {' '}\n {institutionalPriority}\n
  • \n
  • \n {' '}\n {convertToHumanReadableDate(lastUpdated)}\n
  • \n
\n
\n
\n );\n};\n","import React from 'react';\nimport { Modal, ModalHeader, ModalBody, ModalFooter, Button } from 'reactstrap';\nimport PropTypes from 'prop-types';\n\nexport const ConfirmActionModal = ({\n isOpen,\n toggle,\n header,\n message,\n rejectButtonText,\n acceptButtonText,\n cancelFunction,\n acceptFunction,\n acceptButtonCss,\n}) => {\n const cancelClicked = () => {\n if (cancelFunction) {\n cancelFunction();\n }\n toggle();\n };\n\n const acceptClicked = () => {\n if (acceptFunction) {\n acceptFunction();\n }\n toggle();\n };\n\n return (\n \n {header}\n {message}\n \n \n acceptClicked()}\n >\n {acceptButtonText ?? 'Accept'}\n {' '}\n \n \n );\n};\n\nConfirmActionModal.propTypes = {\n isOpen: PropTypes.bool.isRequired,\n toggle: PropTypes.func.isRequired,\n header: PropTypes.string.isRequired,\n message: PropTypes.string.isRequired,\n rejectButtonText: PropTypes.string,\n acceptButtonText: PropTypes.string,\n cancelFunction: PropTypes.func,\n acceptFunction: PropTypes.func,\n acceptButtonCss: PropTypes.string,\n};\n","import React from 'react';\n\nclass ErrorBoundary extends React.Component {\n\tconstructor(props) {\n\t\tsuper(props);\n\t\tthis.state = { hasError: false };\n\t}\n\n\tcomponentDidCatch(error, info) {\n\t\t// Display fallback UI\n\t\tthis.setState({ hasError: true });\n\t\t// You can also log the error to an error reporting service\n\t\t// logErrorToMyService(error, info);\n\t}\n\n\trender() {\n\t\tif (this.state.hasError) {\n\t\t\t// You can render any custom fallback UI\n\t\t\treturn

Something went wrong.

;\n\t\t}\n\t\treturn this.props.children;\n\t}\n}\n\nexport { ErrorBoundary };\n","import React, { useState } from 'react';\nimport { convertToHumanReadableDate } from 'shared';\n\nexport const BudgetRunHeaderCard = HeaderCardModel => {\n const [cardTitle] = useState(HeaderCardModel.cardTitle);\n const [biennium] = useState(HeaderCardModel.biennium);\n // const [budgetAgencyProjectNo] = useState(HeaderCardModel.budgetAgencyProjectNo);\n const [lastUpdated] = useState(HeaderCardModel.lastUpdated);\n const [statusName] = useState(HeaderCardModel.statusName);\n return (\n
\n

{cardTitle}

\n
\n
    \n
  • \n {biennium}\n
  • \n
  • \n {statusName}\n
  • \n
  • \n {' '}\n {convertToHumanReadableDate(lastUpdated)}\n
  • \n
\n
\n
\n );\n};\n","import React, { Fragment } from 'react';\n// import { FormGroup, Label } from 'reactstrap';\nexport const GenericRadioButtons = ({\n name,\n value,\n onChange,\n button1 = 'No',\n button2 = 'Yes',\n}) => {\n const option1 = name + 'one';\n const option2 = name + 'two';\n return (\n \n
\n \n \n
\n
\n \n \n
\n
\n );\n};\n","import React, { Component } from 'react';\nimport Faker from 'faker';\n// import { Link } from 'react-router-dom';\n\nclass UserAdmin extends Component {\n\tconstructor(props) {\n\t\tsuper(props);\n\t\tthis.state = {};\n\t}\n\n\tgetUsers() {\n\t\tconst users = [];\n\t\tfor (let i = 0; i < 1000; i++) {\n\t\t\tusers.push({\n\t\t\t\tuserID: Faker.random.number(),\n\t\t\t\temail: Faker.internet.email(),\n\t\t\t\tfirstname: Faker.name.firstName(),\n\t\t\t\tlastname: Faker.name.lastName(),\n\t\t\t\tactive: Math.random() < 0.8 ? 'Yes' : 'No',\n\t\t\t\troles: 'THIS AN THAT',\n\t\t\t\tinstitutions: Faker.company.companyName(),\n\t\t\t\tedit: Edit,\n\t\t\t\tdelete: Delete,\n\t\t\t\tresetpw: Reset PW,\n\t\t\t});\n\t\t}\n\t\treturn users;\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t
\n\t\t\t\t

User Administration

\n\t\t\t\t{/* */}\n\t\t\t
\n\t\t);\n\t}\n}\n\nexport { UserAdmin };\n","import React from 'react';\nimport { Card } from 'reactstrap';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { faFilePdf } from '@fortawesome/free-solid-svg-icons';\nimport { useHistory } from 'react-router-dom';\nimport BootstrapTable from 'react-bootstrap-table-next';\nimport paginationFactory from 'react-bootstrap-table2-paginator';\nimport PropTypes from 'prop-types';\nimport { UrlEnum, usePermissions } from 'shared';\n\nconst getWidthStyle = width => ({ width, minWidth: width, maxWidth: width });\n\nexport const CapitalProjectsSearchTable = ({ capitalProjects }) => {\n const history = useHistory();\n const editPermission = usePermissions({\n permissions: ['submit-new-edit-capital-project'],\n });\n const rowEvents = {\n onClick: (e, row, rowIndex) => {\n const projectId = row.projectID;\n // only link if the user has edit permission\n if (editPermission) {\n const location = {\n pathname: UrlEnum.CAPITALPROJECTREQUEST,\n state: [{ projectId: projectId }],\n };\n\n history.push(location);\n }\n },\n };\n const columns = [\n {\n dataField: 'bienniumDesc',\n text: 'Biennium',\n sort: true,\n headerStyle: getWidthStyle(140),\n },\n {\n dataField: 'financeUnitName',\n text: 'Institution',\n sort: true,\n headerStyle: getWidthStyle(300),\n },\n {\n dataField: 'projectName',\n text: 'Project Name',\n sort: true,\n headerStyle: { minWidth: 250 },\n },\n {\n dataField: 'budgetAgencyProjectNumber',\n text: 'SBA Project Number',\n sort: true,\n headerStyle: getWidthStyle(140),\n },\n {\n dataField: 'institutionalPriority',\n text: 'Pri.',\n sort: true,\n headerStyle: getWidthStyle(50),\n },\n {\n dataField: 'isSubmitted',\n text: 'Sub?',\n sort: true,\n headerStyle: getWidthStyle(80),\n },\n {\n dataField: 'lastUpdatedDate',\n text: 'Last Updated',\n sort: true,\n headerStyle: getWidthStyle(140),\n },\n {\n dataField: 'lastUpdateByUser',\n text: 'Updated By',\n sort: true,\n headerStyle: getWidthStyle(200),\n },\n // {\n // \tdataField: 'action',\n // \ttext: ,\n // \tisDummyField: true,\n // },\n ];\n const options = {\n showTotal: true,\n firstPageText: 'First',\n prePageText: 'Previous',\n nextPageText: 'Next',\n lastPageText: 'Last',\n sizePerPage: 10,\n hideSizePerPage: true,\n };\n return (\n \n
\n
\n

{capitalProjects?.length} Capital Project Requests

\n \n Capital Projects User Guide\n \n
\n {/*
\n \n Export As...\n \n \n \n PDF\n \n \n Excel\n \n \n Word\n \n
\n
*/}\n \n
\n {\n capitalProject.isSubmitted = capitalProject.isSubmitted\n ? 'yes'\n : 'no';\n const newLastUpdateDate = new Date(\n capitalProject.lastUpdatedDate\n );\n capitalProject.lastUpdatedDate = newLastUpdateDate.toLocaleDateString();\n return capitalProject;\n })\n : []\n }\n columns={columns}\n striped\n hover\n pagination={paginationFactory(options)}\n rowEvents={rowEvents}\n rowStyle={{ cursor: 'pointer' }}\n // defaultSorted={defaultSorted}\n />\n
\n
\n );\n};\n\nCapitalProjectsSearchTable.propTypes = {\n capitalProjects: PropTypes.array.isRequired,\n};\n","import React, { useState, useReducer } from 'react';\n\nimport {\n\tFormGroup,\n\tLabel,\n\tInput,\n\tButton,\n\tForm,\n\tModal,\n\tModalHeader,\n\tModalBody,\n\tModalFooter,\n} from 'reactstrap';\nimport { useHistory } from 'react-router-dom';\nimport AsyncSelect from 'react-select/async';\nimport { capitalProjectService, financeService } from 'services';\nimport { onChangeFunction } from 'shared';\n\nexport const CreateCapitalProjectModal = ({ isOpen, toggle }) => {\n\tconst history = useHistory();\n\tconst [userInput, setUserInput] = useReducer(\n\t\t(state, newState) => ({ ...state, ...newState }),\n\t\t{\n\t\t\tmodalProjectName: '',\n\t\t\tbienniumModalValue: [],\n\t\t\tinstitutionModalValue: [],\n\t\t}\n\t);\n\n\tconst [bienniums] = useState(financeService.getAllBienniums);\n\tconst [institutions] = useState(financeService.getAllInstitutions);\n\n\tconst loadModalBienniums = () =>\n\t\tPromise.resolve(bienniums).then((allBienniums) => {\n\t\t\treturn allBienniums;\n\t\t});\n\n\tconst loadModalInstitutions = () =>\n\t\tPromise.resolve(institutions).then((allInstitutions) => {\n\t\t\treturn allInstitutions;\n\t\t});\n\n\tconst createCapitalProject = () => {\n\t\tconst postData = {\n\t\t\tBiennium: userInput.bienniumModalValue.value,\n\t\t\tinstitutionId: +userInput.institutionModalValue.value,\n\t\t\tprojectName: userInput.modalProjectName,\n\t\t};\n\t\tcapitalProjectService.createCapitalProject(postData, history);\n\t\ttoggle();\n\t};\n\n\tconst closeBtn = (\n\t\t\n\t);\n\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\tNew Biennium Captial Project Request\n\t\t\t\n\t\t\t\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tonChangeFunction.handleAsyncSelectChange(\n\t\t\t\t\t\t\t\t\tvalueObj,\n\t\t\t\t\t\t\t\t\toptions,\n\t\t\t\t\t\t\t\t\tsetUserInput\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tname='bienniumModalValue'\n\t\t\t\t\t\t\tvalue={userInput.bienniumModalValue}\n\t\t\t\t\t\t\tloadOptions={loadModalBienniums}\n\t\t\t\t\t\t\tcomponents={{\n\t\t\t\t\t\t\t\tIndicatorSeparator: () => null,\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tonChangeFunction.handleAsyncSelectChange(\n\t\t\t\t\t\t\t\t\tvalueObj,\n\t\t\t\t\t\t\t\t\toptions,\n\t\t\t\t\t\t\t\t\tsetUserInput\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tname='institutionModalValue'\n\t\t\t\t\t\t\tvalue={userInput.institutionModalValue}\n\t\t\t\t\t\t\tloadOptions={loadModalInstitutions}\n\t\t\t\t\t\t\tcomponents={{\n\t\t\t\t\t\t\t\tIndicatorSeparator: () => null,\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tonChangeFunction.handleChange(evt, setUserInput)\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tname='modalProjectName'\n\t\t\t\t\t\t\tvalue={userInput.modalProjectName}\n\t\t\t\t\t\t\trequired\n\t\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t
\n\t\t\t\n\t\t\t\t\n\t\t\t\t{' '}\n\t\t\t\n\t\t
\n\t);\n};\n","import React, { useState, useEffect, useReducer } from 'react';\nimport PropTypes from 'prop-types';\n\nimport { FormGroup, Input, Button, Card } from 'reactstrap';\n\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { faSearch, faPlus } from '@fortawesome/free-solid-svg-icons';\nimport AsyncSelect from 'react-select/async';\nimport { capitalProjectService, financeService } from 'services';\nimport { onChangeFunction, usePermissions } from 'shared';\nimport { CreateCapitalProjectModal } from './create-capital-project-modal';\n\nexport const SearchCapitalProjectsForm = ({ setCapitalProjects }) => {\n const submitPermission = usePermissions({\n permissions: ['submit-new-edit-capital-project'],\n });\n const [isModalOpen, setIsModalOpen] = useState(false);\n const toggle = () => setIsModalOpen(!isModalOpen);\n const [userInput, setUserInput] = useReducer(\n (state, newState) => ({ ...state, ...newState }),\n {\n searchProjectName: '',\n bienniumSearchValue: [],\n institutionSearchValue: [],\n }\n );\n\n useEffect(() => {\n const getCapitalProjects = async () => {\n const searchPostData = {\n biennium: [],\n institutions: [],\n searchText: null,\n isSubmitted: false,\n isReview: false,\n };\n const res = await capitalProjectService.searchCapitalProjects(searchPostData);\n setCapitalProjects(res || []);\n };\n getCapitalProjects();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const [bienniums] = useState(financeService.getAllBienniums);\n const [institutions] = useState(financeService.getAllInstitutions);\n\n const extractValuesFromResponse = unextractedResponseValues => {\n return unextractedResponseValues?.reduce((acc, currentValue) => {\n return acc.concat(currentValue.value);\n }, []);\n };\n\n const submitForm = () => {\n const actualBienniumValue = extractValuesFromResponse(\n userInput.bienniumSearchValue || []\n );\n const actualinstitutionValue = extractValuesFromResponse(\n userInput.institutionSearchValue || []\n );\n\n const searchPostData = {\n biennium: actualBienniumValue.map(value => +value),\n institutions: actualinstitutionValue,\n searchText:\n userInput.searchProjectName === '' ? null : userInput.searchProjectName,\n isSubmitted: false,\n isReview: false,\n };\n\n capitalProjectService\n .searchCapitalProjects(searchPostData)\n .then(setCapitalProjects);\n };\n\n const loadBienniums = () => Promise.resolve(bienniums);\n const loadInstitutions = () => Promise.resolve(institutions);\n\n return (\n
\n {submitPermission && (\n setIsModalOpen(true)}\n >\n New Biennium Capital Project Request\n \n )}\n \n

Search Capital Projects

\n \n \n onChangeFunction.handleChange(evt, setUserInput)}\n name=\"searchProjectName\"\n value={userInput.searchProjectName}\n required\n />\n \n \n \n \n onChangeFunction.handleAsyncSelectChange(\n valueObj,\n options,\n setUserInput\n )\n }\n name=\"bienniumSearchValue\"\n value={userInput.bienniumSearchValue}\n loadOptions={loadBienniums}\n components={{\n IndicatorSeparator: () => null,\n }}\n />\n \n \n \n \n onChangeFunction.handleAsyncSelectChange(\n valueObj,\n options,\n setUserInput\n )\n }\n name=\"institutionSearchValue\"\n value={userInput.institutionSearchValue}\n loadOptions={loadInstitutions}\n components={{\n IndicatorSeparator: () => null,\n }}\n />\n \n {\n submitForm();\n }}\n >\n Search\n \n
\n \n
\n );\n};\n\nSearchCapitalProjectsForm.propTypes = {\n setCapitalProjects: PropTypes.func.isRequired,\n};\n","import { faArrowLeft, faArrowRight, faSave } from '@fortawesome/free-solid-svg-icons';\nimport React from 'react';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { capitalProjectService } from 'services';\nexport const WizardFooter = ({\n nextStep,\n prevStep,\n sanitizeCapitalProject,\n isGeneralInfo,\n isSubmit,\n}) => {\n const saveForm = async () => {\n await capitalProjectService.saveCapitalProjects(sanitizeCapitalProject());\n };\n const previousForm = () => {\n prevStep();\n };\n const nextFormAndSave = () => {\n saveForm();\n nextStep();\n };\n const saveButton = (\n \n );\n const previousButton = (\n \n Previous\n \n );\n const nextButton = (\n \n );\n\n const showSaveButton = () => {\n return isSubmit ? null : saveButton;\n };\n const showPreviousButton = () => {\n return isGeneralInfo ? null : previousButton;\n };\n const showNextButton = () => {\n return isSubmit ? null : nextButton;\n };\n return (\n
\n {showSaveButton()}\n
\n {showPreviousButton()}\n {showNextButton()}\n
\n
\n );\n};\n","import React from 'react';\nimport { CapitalProjectErrorEnum, FormEnum, ObjectFilter, getKeyByValue } from 'shared';\n\nconst ValidationErrors = ({ validationErrors }) => {\n return validationErrors.map((validationError, index) => {\n const isValidationWarning = validationError.messageType === 2;\n return (\n
  • \n \n {isValidationWarning ? 'WARNING:' : 'ERROR:'}\n \n {validationError.messageText}{' '}\n
  • \n );\n });\n};\n\nexport const ValidationErrorBox = ({ capitalProject, tabNumber }) => {\n const validationErrors = capitalProject?.validationErrors ?? [];\n const validationErrorsForTab = validationErrors.reduce(\n (accumulator, currentValue) => {\n const filteredMessageTextToTab = ObjectFilter(\n CapitalProjectErrorEnum,\n ([name, tab]) => tab.includes(currentValue.capitalProjectField)\n );\n const tabEnumName = Object.keys(filteredMessageTextToTab)[0] ?? '';\n const tabName = getKeyByValue(FormEnum, tabNumber);\n if (tabEnumName === tabName && filteredMessageTextToTab[tabEnumName]) {\n accumulator.push(currentValue);\n }\n return accumulator;\n },\n []\n );\n return validationErrorsForTab && validationErrorsForTab.length > 0 ? (\n
    \n
    \n Please check the following errors/warnings:\n
      {}
    \n
    \n
    \n ) : (\n \n );\n};\n","import React from 'react';\nimport * as ReactStrap from 'reactstrap';\n\nimport Spinner from './Spinner';\n\nexport const Button = props => {\n const { disabled, loading, children, className, ...rest } = props;\n return (\n \n {loading && }\n {children}\n \n );\n};\n\nexport default Button;\n","import React, { useState } from 'react';\nimport { Dropdown, DropdownToggle, DropdownMenu, DropdownItem } from 'reactstrap';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\n\nexport const DropdownButton = props => {\n const {\n icon,\n text,\n options,\n buttonClassName = '',\n dropdownProps,\n dropdownMenuProps,\n ...rest\n } = props;\n const [open, setOpen] = useState(false);\n return (\n setOpen(!open)} {...rest}>\n \n {text}\n \n \n {options.map((option, i) => {\n return (\n \n {option.label}\n \n );\n })}\n \n \n );\n};\n\nDropdownButton.defaultProps = {\n dropdownProps: {\n size: 'xs',\n },\n dropdownMenuProps: {},\n};\n\nexport default DropdownButton;\n","import React from 'react';\nimport { Input } from 'reactstrap';\n\nimport { onChangeFunction } from 'shared';\n\nexport const FormInput = props => {\n const { label, onChange, className, required, inputClassName, ...rest } = props;\n return (\n
    \n
    \n \n onChangeFunction.handleChange(evt, onChange)}\n className={inputClassName}\n {...rest}\n />\n
    \n
    \n );\n};\n\nexport default FormInput;\n","import React from 'react';\nimport { Input } from 'reactstrap';\n\nexport const FormRadio = React.memo(props => {\n const { className, label, onChange, options = [], required, name, value } = props;\n return (\n
    \n
    \n \n {options.map((o, i) => {\n const id = name + i;\n return (\n
    \n {\n onChange({\n [name]: o.value,\n });\n }}\n id={id}\n name={name}\n value={value === o.value}\n checked={value === o.value}\n {...o.rest}\n />\n \n
    \n );\n })}\n
    \n
    \n );\n});\n\nexport default FormRadio;\n","import React, { useRef, useState } from 'react';\nimport Select from 'react-select';\nimport { onChangeFunction } from 'shared';\n\n/*const customStyles = {\n groupHeading: provided => ({\n ...provided,\n color: '#000',\n fontWeight: 700,\n fontSize: '100%',\n paddingLeft: 6,\n paddingRight: 6,\n marginBottom: 6,\n }),\n};*/\n\nexport const FormSelect = React.memo(props => {\n const {\n className,\n label,\n onChange,\n closeAfterSelection = true,\n isMulti = true,\n disabled = false,\n showLoading,\n isLoading,\n options = [],\n required,\n fieldClassName,\n error,\n ...rest\n } = props;\n\n const valueRef = useRef(props.value);\n const [inputValue, setInputValue] = useState('');\n valueRef.current = props.value;\n\n const selectAllOption = {\n value: 'Select All',\n label: 'Select All',\n };\n\n const isSelectAllSelected = () => {\n return valueRef.current ? valueRef.current.length === options : false;\n };\n\n const isOptionSelected = option => {\n if (valueRef.current) {\n return isMulti\n ? valueRef.current.some(value => value === option.value) ||\n isSelectAllSelected()\n : valueRef.current === option.value;\n } else {\n return false;\n }\n };\n\n const getOptions = () => {\n options.sort(customSortOptions);\n if (isMulti) {\n return [selectAllOption, ...options];\n } else {\n return options;\n }\n };\n\n const getValue = () => {\n return isSelectAllSelected() ? [selectAllOption] : props.value;\n };\n\n const _onChange = (newValue, actionMeta) => {\n const { action, option, removedValue } = actionMeta;\n\n if (!option) {\n return onChangeFunction.handleSelectChange(\n newValue,\n { name: props.name },\n onChange\n );\n }\n\n if (action === 'select-option' && option.value === selectAllOption.value) {\n return onChangeFunction.handleSelectChange(\n options,\n { name: props.name },\n onChange\n );\n } else if (\n (action === 'deselect-option' && option.value === selectAllOption.value) ||\n (action === 'remove-value' && removedValue.value === selectAllOption.value)\n ) {\n return onChangeFunction.handleSelectChange(\n newValue,\n { name: props.name },\n onChange\n );\n } else if (actionMeta.action === 'deselect-option' && isSelectAllSelected()) {\n return onChangeFunction.handleSelectChange(\n options.filter(({ value }) => value !== option.value),\n { name: props.name },\n onChange\n );\n } else {\n return onChangeFunction.handleSelectChange(\n newValue || [],\n { name: props.name },\n onChange\n );\n }\n };\n\n const customFilterOption = (option, inputValue) => {\n if (option == null || inputValue == null) return false;\n if (option.label == null || inputValue == null) return false;\n const startsWithMatch = option.label\n .toLowerCase()\n .startsWith(inputValue.toLowerCase());\n const containsMatch = option.label\n .toLowerCase()\n .includes(inputValue.toLowerCase());\n return containsMatch || startsWithMatch;\n };\n\n const customSortOptions = (a, b) => {\n if (a == null || b == null) return 1;\n if (a.label == null || b.label == null) return -1;\n // Sort options based on whether they start with the input value\n const aStartsWithInput = a.label\n .toLowerCase()\n .startsWith(inputValue.toLowerCase());\n const bStartsWithInput = b.label\n .toLowerCase()\n .startsWith(inputValue.toLowerCase());\n\n if (aStartsWithInput && !bStartsWithInput) {\n return -1; // a comes before b\n } else if (!aStartsWithInput && bStartsWithInput) {\n return 1; // b comes before a\n } else {\n // Sort options containing the input value alphabetically\n return a.label.localeCompare(b.label);\n }\n };\n\n return (\n
    \n
    \n \n setInputValue(newValue)}\n isMulti={props.isMulti}\n isDisabled={props.disabled}\n isSearchable\n options={getOptions()}\n value={getValue()}\n onChange={_onChange}\n components={{\n IndicatorSeparator: () => null,\n }}\n filterOption={customFilterOption} //{createFilter({ matchFrom: \"start\" })}\n isLoading={\n props.isLoading || props.showLoading\n ? options.length === 0\n : false\n }\n styles={props.customStyles}\n {...props.rest}\n />\n {props.error && (\n
    {props.error}
    \n )}\n
    \n
    \n );\n});\n\nexport default FormSelect;\n","import React from 'react';\nimport { Button, Modal, ModalHeader, ModalBody, ModalFooter } from 'reactstrap';\n\nexport const Confirm = props => {\n const { title, message, isOpen, toggle, onConfirm, ...rest } = props;\n return (\n \n {title}\n {message}\n \n \n {\n toggle();\n onConfirm();\n }}\n >\n Confirm\n \n \n \n );\n};\n\nexport default Confirm;\n","import React from 'react';\nimport { UncontrolledTooltip } from 'reactstrap';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { faQuestionCircle } from '@fortawesome/free-solid-svg-icons';\n\nexport const InfoTooltip = ({ id, text, blue, placement = 'top', ...rest }) => {\n return (\n <>\n \n \n
    {text}
    \n
    \n \n );\n};\n\nexport default InfoTooltip;\n","import React, { useState } from 'react';\nimport { Tooltip } from 'reactstrap';\n\nexport const TooltipWrapper = ({\n id,\n children,\n text,\n className,\n containerStyle = {},\n ...rest\n}) => {\n const [tooltipOpen, setTooltipOpen] = useState(false);\n const toggle = () => setTooltipOpen(!tooltipOpen);\n return (\n \n {children}\n \n {text}\n \n \n );\n};\n\nexport default TooltipWrapper;\n","import React, { useState, useRef } from 'react';\nimport { Popover, PopoverBody } from 'reactstrap';\nimport { useOnClickOutside } from 'shared';\n\nexport const PopoverWrapper = ({ id, children, render, className, ...rest }) => {\n const ref = useRef();\n const [open, setOpen] = useState(false);\n const toggle = () => setOpen(!open);\n useOnClickOutside(ref, () => {\n if (open) setOpen(false);\n });\n return (\n <>\n \n {children}\n \n \n
    \n {render}\n
    \n \n \n );\n};\n\nexport default PopoverWrapper;\n","import { useEffect } from 'react';\n\nexport const useOnClickOutside = (ref, handler) => {\n useEffect(\n () => {\n const listener = event => {\n // Do nothing if clicking ref's element or descendent elements\n if (!ref.current || ref.current.contains(event.target)) {\n return;\n }\n handler(event);\n };\n document.addEventListener('mousedown', listener);\n document.addEventListener('touchstart', listener);\n return () => {\n document.removeEventListener('mousedown', listener);\n document.removeEventListener('touchstart', listener);\n };\n },\n // Add ref and handler to effect dependencies\n // It's worth noting that because passed in handler is a new ...\n // ... function on every render that will cause this effect ...\n // ... callback/cleanup to run every render. It's not a big deal ...\n // ... but to optimize you can wrap handler in useCallback before ...\n // ... passing it into this hook.\n [ref, handler]\n );\n};\n","export const getWidthStyle = width => ({ width, minWidth: width, maxWidth: width });\n","import React, { useState, useEffect, useReducer } from 'react';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { WizardFooter } from './wizard-footer';\nimport { financeService } from 'services';\nimport { faDollarSign } from '@fortawesome/free-solid-svg-icons';\nimport { Form, Input, Card, Table, InputGroup } from 'reactstrap';\nimport { ValidationErrorBox } from './validation-error-box';\nimport { FormEnum } from 'shared';\nimport { InfoTooltip } from 'components/blocks';\n\nexport const AnnualCostDetail = ({ capitalProject, prevStep, nextStep }) => {\n const [userInput, setUserInput] = useReducer(\n (state, newState) => ({ ...state, ...newState }),\n {\n id: capitalProject.id,\n tabNumber: 8,\n annualDetailNote: capitalProject.annualDetailNote\n ? capitalProject.annualDetailNote\n : '',\n annualDetails: capitalProject.annualDetails\n ? capitalProject.annualDetails\n : [],\n }\n );\n\n const [annualDetailRowHeaders, setAnnualDetailRowHeaders] = useState([]);\n const handleChange = evt => {\n const name = evt.target.name;\n const newValue = evt.target.value;\n capitalProject[name] = newValue;\n setUserInput({ [name]: newValue });\n };\n\n const handleTableChange = (event, index, inputTypeChanged) => {\n const headerValue = userInput.annualDetails[index];\n headerValue[inputTypeChanged] = event.target.value ?? '';\n setChangedTotals();\n capitalProject.annualDetails = [...userInput.annualDetails];\n setUserInput({ annualDetails: [...userInput.annualDetails] });\n };\n\n const sanitizeCapitalProject = () => {\n userInput.annualDetails.forEach(annualDetail => {\n annualDetail.personnelServices = +annualDetail.personnelServices;\n annualDetail.suppAndExp = +annualDetail.suppAndExp;\n });\n return userInput;\n };\n\n useEffect(() => {\n const transformArray = annualDetailRowHeaderArray => {\n return !annualDetailRowHeaderArray\n ? null\n : annualDetailRowHeaderArray.map(annualDetialRow => {\n const { id } = annualDetialRow;\n const savedAnnualDetailValue = userInput.annualDetails.filter(\n annualDetail => +annualDetail.costTypeId === +id\n )[0];\n return savedAnnualDetailValue\n ? savedAnnualDetailValue\n : {\n costTypeId: +id,\n personnelServices: '0',\n suppAndExp: '0',\n };\n });\n };\n\n const fetchColumns = async () => {\n const res = await financeService.getAnnualCostDetailTableColumns();\n setAnnualDetailRowHeaders(res);\n setUserInput({ annualDetails: transformArray(res) });\n return;\n };\n fetchColumns();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const getRowHeaderTextFromCostTypeId = costTypeId => {\n if (!annualDetailRowHeaders) {\n return 'loading';\n }\n const header = annualDetailRowHeaders.find(header => +header.id === +costTypeId);\n return header ? header.text : 'loading';\n };\n const getTotalOfColumn = key => {\n let sum = 0;\n if (!userInput.annualDetails || userInput.annualDetails === []) {\n return 0;\n }\n userInput.annualDetails.forEach(annualDetail => {\n annualDetail[key] ? (sum += +annualDetail[key]) : (sum += 0);\n });\n return sum;\n };\n\n const [totals, setTotals] = useState([\n getTotalOfColumn('personnelServices'),\n getTotalOfColumn('suppAndExp'),\n getTotalOfColumn('personnelServices') + getTotalOfColumn('suppAndExp'),\n getTotalOfColumn('personnelServices') + getTotalOfColumn('suppAndExp'),\n ]);\n\n const setChangedTotals = () => {\n setTotals(prevTotal => {\n prevTotal[0] = getTotalOfColumn('personnelServices');\n prevTotal[1] = getTotalOfColumn('suppAndExp');\n prevTotal[2] = prevTotal[0] + prevTotal[1];\n prevTotal[3] = prevTotal[0] + prevTotal[1];\n return prevTotal;\n });\n };\n\n const renderAnnualCostsTable = () => {\n return !userInput.annualDetails || userInput.annualDetails === [] ? (\n
    \n ) : (\n userInput.annualDetails.map((row, index) => {\n const annualDetailToChange = userInput.annualDetails[index];\n return (\n \n \n \n {getRowHeaderTextFromCostTypeId(row.costTypeId)}\n \n \n \n
    \n \n \n \n
    \n {\n handleTableChange(\n e,\n index,\n 'personnelServices'\n );\n }}\n />\n
    \n \n \n \n
    \n \n \n \n
    \n {\n handleTableChange(e, index, 'suppAndExp');\n }}\n />\n
    \n \n \n $\n {+annualDetailToChange.personnelServices +\n +annualDetailToChange.suppAndExp}\n \n \n $\n {+annualDetailToChange.personnelServices +\n +annualDetailToChange.suppAndExp}\n \n \n
    \n );\n })\n );\n };\n return (\n
    \n

    \n Annual Operating Cost/Savings{' '}\n \n

    \n \n \n \n \n \n \n Personnel Services\n \n Supplies and Expenses\n \n \n Total Operating Cost\n \n \n Cost per GSF\n \n \n \n \n {renderAnnualCostsTable()}\n \n \n \n \n ${totals[0]}\n ${totals[1]}\n ${totals[2]}\n ${totals[3]}\n \n \n \n \n \n

    Annual Cost Detail Notes

    \n

    \n If annual operating costs are increasing or decreasing due to a\n renovation, please provide specific on what is causing the increase or\n decrease.\n

    \n \n
    \n \n \n );\n};\n","import React, { useState, useEffect, useReducer } from 'react';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { WizardFooter } from './wizard-footer';\nimport { financeService } from 'services';\nimport { faDollarSign } from '@fortawesome/free-solid-svg-icons';\nimport { Label, Input, Row, Col, Card, Table, InputGroup } from 'reactstrap';\nimport Select from 'react-select';\nimport { ValidationErrorBox } from './validation-error-box';\nimport { FormEnum } from 'shared';\nimport { InfoTooltip } from 'components/blocks';\n\nexport const CostDetail = ({ capitalProject, prevStep, nextStep }) => {\n const year = new Date().getFullYear();\n const years = Array.from(new Array(20), (val, index) => {\n return { val: index, label: year - index };\n });\n const months = [\n { label: 'Month', val: 0 },\n { label: 'January', val: 1 },\n { label: 'February', val: 2 },\n { label: 'March', val: 3 },\n { label: 'April', val: 4 },\n { label: 'May', val: 5 },\n { label: 'June', val: 6 },\n { label: 'July', val: 7 },\n { label: 'August', val: 8 },\n { label: 'September', val: 9 },\n { label: 'October', val: 10 },\n { label: 'November', val: 11 },\n { label: 'December', val: 12 },\n ];\n const getSelectValueFromYear = yearLabel => {\n return years.find(yearSelectVal => yearSelectVal.label === yearLabel);\n };\n const getSelectValueFromMonth = monthValue => {\n return months.find(monthSelectVal => monthSelectVal.val === monthValue);\n };\n const [userInput, setUserInput] = useReducer(\n (state, newState) => ({ ...state, ...newState }),\n {\n id: capitalProject.id,\n tabNumber: 7,\n bidYear: capitalProject.bidYear\n ? getSelectValueFromYear(capitalProject.bidYear)\n : null,\n bidMonth: capitalProject.bidMonth\n ? getSelectValueFromMonth(capitalProject.bidMonth)\n : null,\n constructionYear: capitalProject.constructionYear\n ? getSelectValueFromYear(capitalProject.constructionYear)\n : null,\n constructionMonth: capitalProject.constructionMonth\n ? getSelectValueFromMonth(capitalProject.constructionMonth)\n : null,\n occupancyYear: capitalProject.occupancyYear\n ? getSelectValueFromYear(capitalProject.occupancyYear)\n : null,\n occupancyMonth: capitalProject.occupancyMonth\n ? getSelectValueFromMonth(capitalProject.occupancyMonth)\n : null,\n costDetailNotes: capitalProject.costDetailNotes\n ? capitalProject.costDetailNotes\n : '',\n costDetails: capitalProject.costDetails ? capitalProject.costDetails : [],\n }\n );\n const [costDetailTableCategories, setCostDetailTableCategories] = useState([]);\n const [costDetailTableRows, setCostDetailTableRows] = useState([]);\n\n const handleChange = evt => {\n const name = evt.target.name;\n const newValue = evt.target.value;\n capitalProject[name] = newValue;\n setUserInput({ [name]: newValue });\n };\n\n const handleSelectChange = (valueObj, options) => {\n const name = options.name;\n capitalProject[name] = valueObj;\n setUserInput({ [name]: valueObj });\n };\n\n const handleTableChange = (event, index, inputTypeChanged) => {\n const headerValue = userInput.costDetails[index];\n headerValue[inputTypeChanged] = event.target.value ?? 0;\n capitalProject.costDetails = [...userInput.costDetails];\n setUserInput({ costDetails: [...userInput.costDetails] });\n };\n\n useEffect(() => {\n const transformArray = costDetailRowCategories => {\n return costDetailRowCategories.map(costDetialCategory => {\n const { id } = costDetialCategory;\n const savedCostDetailValue = userInput.costDetails.filter(\n costDetail => +costDetail.costTypeId === +id\n )[0];\n return savedCostDetailValue\n ? savedCostDetailValue\n : {\n costTypeId: +id,\n costBasis: '0',\n escalationFactors: '0',\n descriptionIfOther: '',\n };\n });\n };\n\n const fetchColumns = async () => {\n const costDetailTableRows = await financeService.getCostDetailTableRows();\n const getCostDetailTableUniqueCategories = costDetailTableRows.reduce(\n (accumulator, currentValue) => {\n const accumulatorHasValue = accumulator.includes(\n currentValue.category\n );\n if (!accumulatorHasValue) {\n accumulator.push(currentValue.category);\n }\n return accumulator;\n },\n [costDetailTableRows[0].category]\n );\n setCostDetailTableCategories(getCostDetailTableUniqueCategories);\n setCostDetailTableRows(costDetailTableRows);\n setUserInput({ costDetails: transformArray(costDetailTableRows) });\n return;\n };\n fetchColumns();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const sanitizeCapitalProject = () => {\n userInput.costDetails.forEach(costDetail => {\n costDetail.costBasis = +costDetail.costBasis;\n costDetail.escalationFactors = +costDetail.escalationFactors;\n });\n userInput.bidYear = userInput.bidYear?.label ?? 'Year';\n userInput.bidMonth = userInput.bidMonth?.val ?? 'Month';\n userInput.constructionYear = userInput.constructionYear?.label ?? 'Year';\n userInput.constructionMonth = userInput.constructionMonth?.val ?? 'Month';\n userInput.occupancyYear = userInput.occupancyYear?.label ?? 'Year';\n userInput.occupancyMonth = userInput.occupancyMonth?.val ?? 'Month';\n\n return userInput;\n };\n\n const renderIndividualCostRow = categoryObject => {\n const getCostDetailArray = userInput.costDetails.filter(\n costDetail => +costDetail.costTypeId === +categoryObject.id\n );\n return !getCostDetailArray\n ? null\n : getCostDetailArray.map(costObject => {\n const index = userInput.costDetails.findIndex(\n costDetail => costDetail === costObject\n );\n const costDetailToChange = userInput.costDetails[index];\n return (\n \n \n \n \n\n \n \n
    \n \n \n \n
    \n {\n handleTableChange(e, index, 'costBasis');\n }}\n />\n
    \n \n \n \n
    \n \n \n \n
    \n {\n handleTableChange(\n e,\n index,\n 'escalationFactors'\n );\n }}\n />\n
    \n \n \n $\n {+costDetailToChange.costBasis +\n +costDetailToChange.escalationFactors}\n \n \n );\n });\n };\n\n const renderCostsTable = () => {\n return costDetailTableCategories === [] ? (\n
    \n ) : (\n costDetailTableCategories.map((category, index) => {\n const filteredTableRow = costDetailTableRows.filter(\n row => row.category === category\n );\n const rows = filteredTableRow.map(categoryObject => {\n return renderIndividualCostRow(categoryObject, index);\n });\n return (\n \n \n \n {category}\n \n \n {rows}\n \n );\n })\n );\n };\n return (\n \n

    \n Cost Detail\n

    \n \n \n

    Anticipated Construction Schedule

    \n \n \n \n
    \n null,\n }}\n />\n null,\n }}\n />\n
    \n \n \n \n
    \n null,\n }}\n />\n\n null,\n }}\n />\n
    \n \n \n \n
    \n null,\n }}\n />\n null,\n }}\n />\n
    \n \n
    \n
    \n \n

    Estimated Cost for Project

    \n \n \n \n \n \n Cost Basis{' '}\n \n \n \n Escalation Factors{' '}\n \n \n \n Project Cost\n \n \n \n {renderCostsTable()}\n \n
    \n \n

    Cost Detail Notes

    \n

    \n Please state the month and year the current Cost Basis was calculated.\n Additionally, explain the reasoning for the estimated escalation\n factors.\n

    \n \n
    \n\n \n
    \n );\n};\n","import React, { useState, useReducer } from 'react';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { WizardFooter } from './wizard-footer';\nimport { capitalProjectTypeService } from 'services';\nimport { faDollarSign, faPlus } from '@fortawesome/free-solid-svg-icons';\nimport {\n Form,\n Label,\n Input,\n Row,\n Col,\n Button,\n Table,\n Card,\n CardTitle,\n InputGroup,\n UncontrolledTooltip,\n} from 'reactstrap';\nimport AsyncSelect from 'react-select/async';\nimport { fundingSource, RadioButtons, FormEnum } from 'shared';\nimport { ValidationErrorBox } from './validation-error-box';\nimport { InfoTooltip } from 'components/blocks';\n\nexport const CostSizeAndFunding = ({ capitalProject, prevStep, nextStep }) => {\n const [userInput, setUserInput] = useReducer(\n (state, newState) => ({ ...state, ...newState }),\n {\n id: capitalProject.id,\n tabNumber: 2,\n sizeGSF: capitalProject.sizeGSF ?? 0,\n sizeASF: capitalProject.sizeASF ?? 0,\n netChangeGSF: capitalProject.netChangeGSF ?? 0,\n netChangeASF: capitalProject.netChangeASF ?? 0,\n estAnnualChangeInOpsCost: capitalProject.estAnnualChangeInOpsCost ?? 0,\n estAnnualRRInvestment: capitalProject.estAnnualRRInvestment ?? 0,\n estAnnualDebtPayment: capitalProject.estAnnualDebtPayment ?? 0,\n isFundsSecured: capitalProject.isFundsSecured,\n fundingNarrative: capitalProject.fundingNarrative\n ? capitalProject.fundingNarrative\n : '',\n justificationOfCost: capitalProject.justificationOfCost\n ? capitalProject.justificationOfCost\n : '',\n fundingList: capitalProject.fundingList ? capitalProject.fundingList : [],\n totalProjectCost:\n capitalProject.sizeGSF +\n capitalProject.sizeASF +\n capitalProject.netChangeGSF +\n capitalProject.netChangeASF,\n }\n );\n const [fundingTypes] = useState(\n capitalProjectTypeService.getFundingType(capitalProject.biennium)\n );\n const handleNumberChange = evt => {\n const name = evt.target.name;\n const newValue = +evt.target.value ?? 0;\n capitalProject[name] = newValue;\n userInput.totalProjectCost =\n capitalProject.sizeGSF +\n capitalProject.sizeASF +\n capitalProject.netChangeGSF +\n capitalProject.netChangeASF;\n setUserInput({ [name]: newValue });\n };\n const handleChange = evt => {\n const name = evt.target.name;\n const newValue = evt.target.value;\n capitalProject[name] = newValue;\n setUserInput({ [name]: newValue });\n };\n const handleRadioButtonChange = evt => {\n const name = evt.target.name;\n const newValue = evt.target.value === 'true' ? true : false;\n capitalProject[name] = newValue;\n setUserInput({ [name]: newValue });\n };\n const handleFundingTypeChange = (selectedOption, details) => {\n const indexOfFundingSource = details.name;\n userInput.fundingList.forEach((fundingSource, index) => {\n if (index === indexOfFundingSource) {\n fundingSource.fundingTypeId = selectedOption;\n }\n });\n const newFundingSource = [...userInput.fundingList];\n capitalProject.fundingList = newFundingSource;\n return setUserInput({ fundingList: newFundingSource });\n };\n const addFundingSource = () => {\n userInput.fundingList.push(fundingSource());\n const newFundingDesc = [...userInput.fundingList];\n setUserInput({ fundingList: newFundingDesc });\n };\n const loadFundingTypes = () => {\n return Promise.resolve(fundingTypes).then(fundingTypes => {\n userInput.fundingList.forEach(fundingSource => {\n fundingTypes.forEach(fundingType => {\n if (+fundingType.value === fundingSource.fundingTypeId) {\n fundingSource.fundingTypeId = fundingType;\n const newFundingSource = [...userInput.fundingList];\n setUserInput({ fundingList: newFundingSource });\n }\n });\n });\n return fundingTypes;\n });\n };\n\n const sanitizeCapitalProject = () => {\n userInput.fundingList.forEach(fundingSource => {\n const changeFundingTypeId = +fundingSource.fundingTypeId.value;\n fundingSource.fundingTypeId = changeFundingTypeId;\n });\n const sanitizedFundingList = [...userInput.fundingList];\n setUserInput({ fundingList: sanitizedFundingList });\n const sanitizedUserInput = userInput;\n return sanitizedUserInput;\n };\n return (\n
    \n

    \n Cost, Size, & Funding\n

    \n \n \n \n {' '}\n

    Project Size

    \n
    \n \n \n \n \n \n
    \n GSF{' '}\n \n
    \n \n \n
    \n ASF{' '}\n \n
    \n \n ASF/GSF\n \n \n \n \n Project Size\n \n \n \n \n \n \n \n {userInput.sizeGSF === 0\n ? 0\n : +(userInput.sizeASF / userInput.sizeGSF).toFixed(2)}\n \n \n \n Net Change in Overall Campus Space\n \n \n \n \n \n \n \n {' '}\n {userInput.netChangeGSF === 0\n ? 0\n : +(\n userInput.netChangeASF / userInput.netChangeGSF\n ).toFixed(2)}\n \n \n \n \n
    \n \n \n

    Project Cost Summary

    \n
    \n \n
    \n \n
    \n
    \n \n \n \n
    \n \n
    \n
    \n
    \n \n
      \n
    • \n $10 \n
    • \n
    • \n $25 \n
    • \n
    \n
    \n
    \n
    \n \n

    \n Funding Source(s) for Project{' '}\n \n

    \n\n {userInput.fundingList.map((fundingSource, index) => {\n return (\n \n \n \n \n \n
    \n \n \n \n
    \n {\n userInput.fundingList[\n index\n ].fundingAmount = +e.target.value;\n const newFundingSource = [\n ...userInput.fundingList,\n ];\n setUserInput({\n fundingList: newFundingSource,\n });\n }}\n />\n
    \n \n \n \n null,\n }}\n />\n \n \n \n \n {\n userInput.fundingList[\n index\n ].fundingDescription = e.target.value;\n const newFundingDesc = [\n ...userInput.fundingList,\n ];\n setUserInput({\n fundingList: newFundingDesc,\n });\n }}\n />\n \n \n
    \n
    \n );\n })}\n
    \n \n \n Add Another\n \n \n
    \n
    \n\n \n

    Annual Cost

    \n \n \n \n \n
    \n \n \n \n
    \n \n
    \n \n \n \n \n
    \n \n \n \n
    \n \n
    \n \n \n \n \n
    \n \n \n \n
    \n \n
    \n \n
    \n \n
    \n \n

    Funding

    \n

    \n Provide additional narrative for the funding sources listed. If all\n funds are not secured, outline cash flow for the project. If debt is\n to be issued for the project, what is the current outstanding debt of\n the institution? What is the repayment method for the debt? What is\n the structure of the gift funds? What is the structure of the grant?\n

    \n \n
    \n \n

    Justification of Cost

    \n

    \n Provide justification for the cost per ASF/GSF for the project.\n Outline the reasons for discrepancies between this project and\n comparables. Provide additional cost metrics depending on project\n type. Provide narrative on the change in the cost of building\n operations. Will the building be included in the state's R&R formula;\n what percentage is academic and administrative? What alternatives were\n considered? Describe the site development costs.\n

    \n \n
    \n

    \n If project is a lease-purchase or lease, adjust accordingly. Note the\n total cost of the lease in the project cost, and annual payments in\n project description\n

    \n\n \n \n );\n};\n","export const fundingSource = () => {\n\treturn {\n\t\tfundingAmount: 0,\n\t\tfundingTypeId: 0,\n\t\tfundingDescription: '',\n\t\t// fundingTypeName: '',\n\t};\n}; //maybe use a class for a model? ks\n","import React, { useReducer } from 'react';\nimport { WizardFooter } from './wizard-footer';\nimport { Form, Input } from 'reactstrap';\nimport { ValidationErrorBox } from './validation-error-box';\nimport { FormEnum } from 'shared';\nexport const detailDescriptionForm = {\n detailDescriptionProject: '',\n};\n\nexport const DetailDescription = ({ capitalProject, prevStep, nextStep }) => {\n const [userInput, setUserInput] = useReducer(\n (state, newState) => ({ ...state, ...newState }),\n {\n id: capitalProject.id,\n tabNumber: 3,\n detailDescription: capitalProject.detailDescription\n ? capitalProject.detailDescription\n : '',\n }\n );\n const handleChange = evt => {\n const name = evt.target.name;\n const newValue = evt.target.value;\n capitalProject[name] = newValue;\n setUserInput({ [name]: newValue });\n };\n const sanitizeCapitalProject = () => userInput;\n return (\n
    \n

    \n Detail Description of Project\n

    \n \n

    \n Describe the general nature of the project. Include the relationship of\n the project to the long-term capital plan for the institution, any\n historical significance the project might have to the campus, alternatives\n considered by the institution, the impact the project has on future\n capital projects identified by the institution, etc. Institutions may\n include how the project is being financed or other financial related\n items. If there is a change in operational costs to the institution,\n please include how the institution will cover the costs (increase) or\n reallocate savings (decrease). Note if funds have been identified to\n support future R&R needs for the project. Include unique building\n characteristics, design features, construction materials, site development\n factors and other considerations affecting the cost estimates.\n

    \n \n \n \n );\n};\n","import React, { useState, useReducer } from 'react';\nimport { Form, FormGroup, Label, Input, Row, Col } from 'reactstrap';\nimport { WizardFooter } from './wizard-footer';\nimport { financeService } from 'services';\nimport { RadioButtons, FormEnum } from 'shared';\nimport AsyncSelect from 'react-select/async';\nimport { ValidationErrorBox } from './validation-error-box';\n\nexport const GeneralInfo = ({ capitalProject, prevStep, nextStep }) => {\n const [userInput, setUserInput] = useReducer(\n (state, newState) => ({ ...state, ...newState }),\n {\n id: capitalProject.id,\n tabNumber: 1,\n projectName: capitalProject.projectName ? capitalProject.projectName : '',\n projectTypeId: capitalProject.projectTypeId\n ? capitalProject.projectTypeId\n : 0,\n priority: capitalProject.priority ? capitalProject.priority : 0,\n budgetAgencyProjectNo: capitalProject.budgetAgencyProjectNo\n ? capitalProject.budgetAgencyProjectNo\n : '',\n isPreviouslyApprovedByGA: capitalProject.isPreviouslyApprovedByGA,\n isPreviouslyRecommendedCHE: capitalProject.isPreviouslyRecommendedCHE,\n isLongTermCapitalPlan: capitalProject.isLongTermCapitalPlan,\n }\n );\n const handleChange = evt => {\n const name = evt.target.name;\n const newValue = evt.target.value;\n capitalProject[name] = newValue;\n setUserInput({ [name]: newValue });\n };\n const handleProjectTypeChange = projectType => {\n capitalProject.projectTypeId = projectType.value;\n setUserInput({ projectTypeId: projectType });\n };\n\n const handleRadioButtonChange = evt => {\n const name = evt.target.name;\n const newValue = evt.target.value === 'true' ? true : false;\n capitalProject[name] = newValue;\n setUserInput({ [name]: newValue });\n };\n\n const [projectTypes] = useState(financeService.getAllProjectTypes);\n\n const loadProjectTypes = () => {\n return Promise.resolve(projectTypes).then(projectTypes => {\n projectTypes.forEach(projectType => {\n projectType.value = +projectType.value;\n const actuallyProjectTypeIdNotObject = userInput.projectTypeId;\n if (+projectType.value === actuallyProjectTypeIdNotObject) {\n setUserInput({ projectTypeId: projectType });\n }\n });\n return projectTypes;\n });\n };\n const sanitizeCapitalProject = () => {\n userInput.projectTypeId = +userInput.projectTypeId.value;\n userInput.priority = userInput.priority === 0 ? null : +userInput.priority;\n const sanitizedUserInput = userInput;\n return sanitizedUserInput;\n };\n return (\n
    \n

    General Project Information

    \n \n \n \n \n \n \n \n \n \n \n \n null,\n }}\n />\n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n","import React, { useReducer } from 'react';\nimport { WizardFooter } from './wizard-footer';\nimport { Form, Input } from 'reactstrap';\nimport { ValidationErrorBox } from './validation-error-box';\nimport { FormEnum } from 'shared';\n\nexport const NeedAndPurpose = ({ capitalProject, prevStep, nextStep }) => {\n const [userInput, setUserInput] = useReducer(\n (state, newState) => ({ ...state, ...newState }),\n {\n id: capitalProject.id,\n tabNumber: 4,\n needAndPurpose: capitalProject.needAndPurpose\n ? capitalProject.needAndPurpose\n : '',\n }\n );\n const handleChange = evt => {\n const name = evt.target.name;\n const newValue = evt.target.value;\n capitalProject[name] = newValue;\n setUserInput({ [name]: newValue });\n };\n const sanitizeCapitalProject = () => userInput;\n return (\n
    \n

    \n Need and Purpose of the Project\n

    \n \n

    \n Describe how the project relates to the mission and long-term strategic\n plan of the institution. Include the impact of the project on the academic\n and educational attainment of students, programmatic changes that the\n project would have to the campus, how the project might improve the\n education quality of students at the campus, etc. Identify the impact if\n the project is not approved or recommended by the state. Describe, if\n necessary, any health and safety issues that result in the need for the\n project. Describe, if applicable, any financial impact the project might\n have regarding the cost of attendance to students.\n

    \n \n \n \n );\n};\n","import React, { useState, useReducer } from 'react';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { WizardFooter } from './wizard-footer';\nimport { capitalProjectService } from 'services';\nimport { faUpload, faDownload, faTrash } from '@fortawesome/free-solid-svg-icons';\nimport { Form, Input, Card, Table } from 'reactstrap';\nimport { ConfirmActionModal, FormEnum } from 'shared';\nimport { ValidationErrorBox } from './validation-error-box';\n\nconst DownloadTable = ({ files }) => {\n const [isModalOpen, setIsModalOpen] = useState(false);\n const downloadClicked = documentId => {\n capitalProjectService.downloadCapitalProjectSupportingDocument(documentId);\n };\n\n return (\n \n \n \n Document ID\n Document Name\n Upload Date\n \n \n \n \n {!files\n ? null\n : files.map(supportingDocument => {\n const newLastUpdateDate = new Date(\n supportingDocument.uploadDate\n );\n const correctlyFormattedDateString = newLastUpdateDate.toLocaleDateString();\n return (\n \n {supportingDocument.documentId}\n {supportingDocument.documentName}\n {correctlyFormattedDateString}\n \n \n downloadClicked(\n supportingDocument.documentId\n )\n }\n className=\"action-circle\"\n >\n \n \n setIsModalOpen(true)}\n className=\"action-circle\"\n >\n \n \n setIsModalOpen(!isModalOpen)}\n header={`Confirm Delete of ${supportingDocument.documentName}`}\n message={\n 'Are you sure you want to delete this supporting document?'\n }\n acceptButtonText={'Delete'}\n acceptFunction={() =>\n capitalProjectService\n .deleteCapitalProjectSupportingDocument(\n supportingDocument.documentId\n )\n .then(window.location.reload())\n }\n acceptButtonCss=\"btn btn-danger\"\n />\n \n \n );\n })}\n \n \n );\n};\n\nexport const OtherProjectInfo = ({ capitalProject, prevStep, nextStep }) => {\n const [userInput, setUserInput] = useReducer(\n (state, newState) => ({ ...state, ...newState }),\n {\n id: capitalProject.id,\n tabNumber: 5,\n spaceUtilization: capitalProject.spaceUtilization\n ? capitalProject.spaceUtilization\n : '',\n comparableProjects: capitalProject.comparableProjects\n ? capitalProject.comparableProjects\n : '',\n backgroundMaterials: capitalProject.backgroundMaterials\n ? capitalProject.backgroundMaterials\n : '',\n }\n );\n const handleChange = evt => {\n const name = evt.target.name;\n const newValue = evt.target.value;\n capitalProject[name] = newValue;\n setUserInput({ [name]: newValue });\n };\n const [supportingDocuments] = useState(capitalProject.files);\n\n const onFileChange = event => {\n const file = event.target.files[0];\n const formData = new FormData();\n formData.append('myFile', file, file.name);\n capitalProjectService\n .uploadCapitalProjectSupportingDocument(capitalProject.id, formData)\n .then(window.location.reload());\n };\n const sanitizeCapitalProject = () => userInput;\n return (\n
    \n

    \n Other Project Info\n

    \n \n \n

    Space Utilization

    \n

    \n Describe how the project will impact the overall space of the campus.\n Include current utilization of space on campus, e.g. if a new building\n is requested, what is the utilization of similar space on campus\n (academic, auxiliary, administration, etc.), how will this new\n building impact utilization. If a new building is being requested,\n what space will be removed as a result of the project. If the project\n is a renovation of current space, explain how the new space will be\n used and note any change in space utilization. If a project is moving\n operations (vacating space) note if the vacated space will be\n terminated or used for other purposes (identify purposes).\n

    \n \n
    \n \n

    Background Materials

    \n

    \n If necessary, please include maps, floor plans, or other project\n details. Also, if the Board of Trustees have reviewed the project,\n please include the minutes from the meeting that reference the\n project. If non-state funds are being used for the project\n (institutional funds, private funds, etc.) please describe the nature\n of the funds, sources of revenue and allowable uses of the fund. Also,\n please include the balance of the fund as of 6/30/12. Institutions may\n include additional information as addendums to the project summary\n form.{' '}\n

    \n \n
    \n \n

    Comparable Projects

    \n

    \n List previous projects (can be your own institution or other\n institutions) that are similar to the project request. Note the size\n of the project, cost, and cost metrics (cost per GSF/ASF, cost per bed\n or classroom, etc). If similar projects are not available from other\n state public institutions, providing peer institutions outside of IN\n is recommended (mostly for auxiliary projects for example).\n

    \n \n
    \n \n
    \n

    Supporting Documents

    \n
    \n \n \n
    \n
    \n\n \n
    \n \n \n );\n};\n","import React, { useState, useEffect, useReducer } from 'react';\nimport { WizardFooter } from './wizard-footer';\nimport { financeService } from 'services';\nimport { Form, Input, Row, Table, Card } from 'reactstrap';\nimport { ValidationErrorBox } from './validation-error-box';\nimport { FormEnum } from 'shared';\nimport { InfoTooltip } from 'components/blocks';\n\nexport const SpaceDetail = ({ capitalProject, prevStep, nextStep }) => {\n const [userInput, setUserInput] = useReducer(\n (state, newState) => ({ ...state, ...newState }),\n {\n id: capitalProject.id,\n tabNumber: 6,\n spaceDetailNotes: capitalProject.spaceDetailNotes\n ? capitalProject.spaceDetailNotes\n : '',\n spaceDetails: capitalProject.spaceDetails ? capitalProject.spaceDetails : [],\n }\n );\n\n const [spaceDetailRowHeaders, setSpaceDetailRowHeaders] = useState([]);\n const handleChange = evt => {\n const name = evt.target.name;\n const newValue = evt.target.value;\n capitalProject[name] = newValue;\n setUserInput({ [name]: newValue });\n };\n\n const handleTableChange = (event, index, inputTypeChanged) => {\n const headerValue = userInput.spaceDetails[index];\n headerValue[inputTypeChanged] = event.target.value ?? 0;\n setChangedTotals();\n capitalProject.spaceDetails = [...userInput.spaceDetails];\n setUserInput({ spaceDetails: [...userInput.spaceDetails] });\n };\n\n const sanitizeCapitalProject = () => {\n userInput.spaceDetails.forEach(spaceDetail => {\n spaceDetail.currentUse = +spaceDetail.currentUse;\n spaceDetail.construction = +spaceDetail.construction;\n spaceDetail.plannedAndFunded = +spaceDetail.plannedAndFunded;\n spaceDetail.terminated = +spaceDetail.terminated;\n spaceDetail.newRequest = +spaceDetail.newRequest;\n });\n return userInput;\n };\n\n useEffect(() => {\n const transformArray = spaceDetailRowHeaderArray => {\n return spaceDetailRowHeaderArray.map(spaceDetialRow => {\n const { id } = spaceDetialRow;\n const savedSpaceDetailValue = userInput.spaceDetails.filter(\n spaceDetail => +spaceDetail.spaceTypeId === +id\n )[0];\n return savedSpaceDetailValue\n ? savedSpaceDetailValue\n : {\n spaceTypeId: +id,\n currentUse: '0',\n construction: '0',\n plannedAndFunded: '0',\n terminated: '0',\n newRequest: '0',\n };\n });\n };\n\n const fetchColumns = async () => {\n const res = await financeService.getSpaceDetailTableColumns();\n setSpaceDetailRowHeaders(res);\n setUserInput({ spaceDetails: transformArray(res) });\n return;\n };\n fetchColumns();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const getRowHeaderTextFromSpaceTypeId = spaceTypeId => {\n const header = spaceDetailRowHeaders.find(header => +header.id === +spaceTypeId);\n return header ? header.text : 'loading';\n };\n\n const getTotalOfColumn = key => {\n let sum = 0;\n userInput.spaceDetails.forEach(spaceDetail => {\n spaceDetail[key] ? (sum += +spaceDetail[key]) : (sum += 0);\n });\n return sum;\n };\n const [totals, setTotals] = useState([\n getTotalOfColumn('currentUse'),\n getTotalOfColumn('construction'),\n getTotalOfColumn('plannedAndFunded'),\n getTotalOfColumn('currentUse') +\n getTotalOfColumn('construction') +\n getTotalOfColumn('plannedAndFunded'),\n getTotalOfColumn('terminated'),\n getTotalOfColumn('newRequest'),\n getTotalOfColumn('terminated') + getTotalOfColumn('newRequest'),\n ]);\n\n const setChangedTotals = () => {\n setTotals(prevTotal => {\n prevTotal[0] = getTotalOfColumn('currentUse');\n prevTotal[1] = getTotalOfColumn('construction');\n prevTotal[2] = getTotalOfColumn('plannedAndFunded');\n prevTotal[3] = prevTotal[0] + prevTotal[1] + prevTotal[2];\n prevTotal[4] = getTotalOfColumn('terminated');\n prevTotal[5] = getTotalOfColumn('newRequest');\n prevTotal[6] = prevTotal[4] + prevTotal[5];\n return prevTotal;\n });\n };\n const renderTotals = () => {\n return (\n \n \n \n \n {totals[0]}\n {totals[1]}\n {totals[2]}\n {totals[3]}\n {totals[4]}\n {totals[5]}\n {totals[6]}\n \n );\n };\n\n const renderTableRows = () => {\n return userInput.spaceDetails.map((row, index) => {\n return (\n \n \n \n {getRowHeaderTextFromSpaceTypeId(row.spaceTypeId)}\n \n \n {\n handleTableChange(e, index, 'currentUse');\n }}\n />\n \n \n {\n handleTableChange(e, index, 'construction');\n }}\n />\n \n \n {\n handleTableChange(e, index, 'plannedAndFunded');\n }}\n />\n \n \n {+row.currentUse + +row.construction + +row.plannedAndFunded}\n \n \n {\n handleTableChange(e, index, 'terminated');\n }}\n />\n \n \n {\n handleTableChange(e, index, 'newRequest');\n }}\n />\n \n \n {+row.terminated + +row.newRequest}\n \n \n \n );\n });\n };\n return (\n
    \n

    \n Space Detail\n

    \n \n \n \n \n \n \n \n Current Campus Total\n \n \n Capital Request\n \n \n \n \n \n \n Space Classification{' '}\n \n \n Current Space in Use\n \n Space Under Construction{' '}\n \n \n \n Space Planned and Funded{' '}\n \n \n \n Subtotal Current and Future Space\n \n \n Space to be Terminated{' '}\n \n \n \n New Space in Capital Request\n \n Net Future Space\n \n \n \n {renderTableRows()}\n {renderTotals()}\n \n \n \n \n \n

    Space Detail Notes

    \n

    \n Please state specific facilities that are under construction,\n planned and funded and to be terminated. Do not include pending\n approval, non-submitted projects or non-funded projects\n

    \n \n
    \n
    \n\n \n \n );\n};\n","import React, { useState } from 'react';\nimport { WizardFooter } from './wizard-footer';\nimport { Form, Button } from 'reactstrap';\nimport { capitalProjectService } from 'services';\nimport {\n CapitalProjectErrorEnum,\n TabEnum,\n FormEnum,\n UrlEnum,\n ConfirmActionModal,\n ObjectFilter,\n} from 'shared';\nimport { Link } from 'react-router-dom';\n\nexport const Submit = ({\n capitalProject,\n setStep,\n prevStep,\n nextStep,\n setCapitalProject,\n}) => {\n const [isSubmitModalOpen, setIsSubmitModalOpen] = useState(false);\n const submitCapitalProject = async () => {\n const lastUpdated = await capitalProjectService\n .getCapitalProjectWithId(capitalProject.id)\n .then(capitalProject => {\n return capitalProject?.lastUpdated;\n });\n const validationErrors = await capitalProjectService.submitCapitalProject({\n id: capitalProject.id,\n clientLastUpdateTime: lastUpdated,\n });\n const isValidationErrors =\n validationErrors &&\n (Array.isArray(validationErrors) || validationErrors.length);\n if (isValidationErrors) {\n capitalProject.validationErrors = validationErrors;\n setCapitalProject({ ...capitalProject });\n } else {\n window.location.href = UrlEnum.CAPITALPROJECTSEARCH;\n }\n };\n\n const displayValidationErrors = () => {\n return capitalProject.validationErrors.map((validationError, index) => {\n const filteredMessageTextToTab = ObjectFilter(\n CapitalProjectErrorEnum,\n ([name, tab]) => tab.includes(validationError.capitalProjectField)\n );\n const tabEnumName = Object.keys(filteredMessageTextToTab)[0] ?? 'SUBMIT';\n const isValidationWarning = validationError.messageType === 2;\n return (\n
  • \n \n {isValidationWarning ? 'WARNING:' : 'ERROR:'}\n \n {validationError.messageText}{' '}\n {\n setStep(FormEnum[tabEnumName]);\n window.location.href = TabEnum[tabEnumName];\n }}\n >\n Go To\n \n
  • \n );\n });\n };\n const CapitalProjectValidationErrors = () => {\n const IsAnyValidationErrors =\n !capitalProject.validationErrors ||\n capitalProject.validationErrors.length === 0;\n return IsAnyValidationErrors ? (\n \n ) : (\n
    \n
    \n Please check the following errors/warnings:\n
      {displayValidationErrors()}
    \n
    \n
    \n );\n };\n return (\n
    \n

    Submit

    \n\n setIsSubmitModalOpen(true)}\n >\n {'Submit Project Request'}\n \n\n {CapitalProjectValidationErrors()}\n setIsSubmitModalOpen(!isSubmitModalOpen)}\n header={`Confirm Submittal of ${capitalProject.projectName}`}\n message={`Are you sure you want to submit ${capitalProject.projectName}?`}\n acceptButtonText={'Submit'}\n acceptFunction={() => submitCapitalProject()}\n acceptButtonCss=\"btn btn-success\"\n />\n\n \n \n );\n};\n","import React from 'react';\n\nimport {\n GeneralInfo,\n CostSizeAndFunding,\n DetailDescription,\n NeedAndPurpose,\n OtherProjectInfo,\n SpaceDetail,\n CostDetail,\n AnnualCostDetail,\n Submit,\n} from './capital-project-tabs';\n\nimport { FormEnum } from 'shared';\n\nexport const CapitalProjectTabSwitch = ({\n capitalProject,\n setCapitalProject,\n step,\n setStep,\n nextStep,\n prevStep,\n}) => {\n switch (step) {\n case FormEnum.GENERALINFO:\n return (\n \n );\n case FormEnum.COSTSIZEFUNDING:\n return (\n \n );\n case FormEnum.DETAILDESCRIPTION:\n return (\n \n );\n case FormEnum.NEEDSANDPURPOSE:\n return (\n \n );\n case FormEnum.OTHERPROJECTINFO:\n return (\n \n );\n case FormEnum.SPACEDETAIL:\n return (\n \n );\n case FormEnum.COSTDETAIL:\n return (\n \n );\n case FormEnum.ANNUALCOSTDETAIL:\n return (\n \n );\n case FormEnum.SUBMIT:\n return (\n \n );\n default: {\n return (\n \n );\n }\n }\n};\n","import React, { useState, useEffect } from 'react';\nimport { FormEnum, TabEnum } from 'shared';\nimport { faExclamationCircle } from '@fortawesome/free-solid-svg-icons';\nimport { PopOver, CapitalProjectErrorEnum } from 'shared';\n\nexport const CapitalProjectSingleNavTab = ({\n name,\n toggleClassName,\n step,\n activeStepEnum,\n tabIdName,\n validationErrors,\n}) => {\n const [valErrors, setValErrors] = useState({});\n useEffect(() => {\n const getValidationErrors = () => {\n let valErrors = {};\n if (validationErrors) {\n validationErrors.map(validationError => {\n const filteredMessageTextToTab = Object.filter(\n CapitalProjectErrorEnum,\n ([name, tab]) => tab.includes(validationError.capitalProjectField)\n );\n const tabEnumName = Object.keys(filteredMessageTextToTab)[0];\n valErrors[tabEnumName]\n ? valErrors[tabEnumName].push(validationError.messageText)\n : (valErrors[tabEnumName] = [validationError.messageText]);\n return valErrors;\n });\n }\n return valErrors;\n };\n setValErrors(getValidationErrors());\n }, [validationErrors]);\n const className = () => {\n const activeStep =\n step === FormEnum[activeStepEnum]\n ? 'nav-link active'\n : 'nav-link cursor-pointer';\n const isRed = valErrors[activeStepEnum] ? 'text-danger' : '';\n return activeStep + ' ' + isRed;\n };\n return (\n
  • \n {\n toggleClassName(FormEnum[activeStepEnum]);\n }}\n href={TabEnum[activeStepEnum]}\n >\n {valErrors[activeStepEnum] ? (\n \n ) : null}{' '}\n {name}\n \n
  • \n );\n};\n","import React from 'react';\nimport { CapitalProjectSingleNavTab } from './capital-project-single-nav-tab';\n\nexport const CapitalProjectWizardNav = ({ step, setStep, capitalProject }) => {\n const toggleClassName = step => {\n setStep(step);\n };\n\n return (\n
    \n
      \n \n \n \n \n \n \n \n \n \n
    \n
    \n );\n};\n","import React, { useEffect, useState } from 'react';\nimport { Card, Row } from 'reactstrap';\nimport { capitalProjectService } from 'services';\nimport { CapitalProjectTabSwitch, CapitalProjectWizardNav } from './components';\nimport { FormEnum, TabEnum, ProjectHeaderCard, getKeyByValue } from 'shared';\n\nexport const CapitalProjectRequestWizardForm = ({ projectId, stepNumber }) => {\n const [capitalProject, setCapitalProject] = useState(null);\n const [step, setStep] = useState(stepNumber);\n const nextStep = () => {\n const next = step === FormEnum.SUBMIT ? FormEnum.SUBMIT : step + 1;\n setStep(next);\n const tabEnumName = getKeyByValue(FormEnum, next);\n window.location.href = TabEnum[tabEnumName];\n };\n const prevStep = () => {\n const prev = step === FormEnum.GENERALINFO ? FormEnum.GENERALINFO : step - 1;\n setStep(prev);\n const tabEnumName = getKeyByValue(FormEnum, prev);\n window.location.href = TabEnum[tabEnumName];\n };\n const HeaderCardModel = () => {\n return {\n cardTitle: capitalProject.projectName,\n institution: capitalProject.institutionName,\n biennium: capitalProject.biennium,\n budgetAgencyProjectNo: capitalProject.budgetAgencyProjectNo,\n institutionalPriority: capitalProject.priority,\n lastUpdated: capitalProject.lastUpdated,\n };\n };\n\n useEffect(() => {\n const parseQueryParams = async () => {\n if (projectId) {\n const recievedCapitalProject = await capitalProjectService.getCapitalProjectWithId(\n projectId\n );\n setCapitalProject(recievedCapitalProject);\n }\n };\n parseQueryParams();\n }, [projectId]);\n if (capitalProject) {\n return (\n \n
    \n \n \n
    \n \n
    \n \n
    \n
    \n
    \n
    \n
    \n );\n } else {\n return null;\n }\n};\n","import React, { useEffect, useRef, useState } from 'react';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport {\n faBars,\n faSignOutAlt,\n faChevronLeft,\n faChevronRight,\n faChevronDown,\n faUser,\n faLock,\n} from '@fortawesome/free-solid-svg-icons';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { useHistory, useLocation } from 'react-router-dom';\nimport { Dropdown, DropdownMenu, DropdownToggle } from 'reactstrap';\n\nexport const Header = () => {\n const dispatch = useDispatch();\n const history = useHistory();\n const location = useLocation();\n const [menuOpen, setMenuOpen] = useState();\n const user = useSelector(state => state.user);\n const open = useSelector(state => state.menuOpen);\n const expanded = useSelector(state => state.menuExpanded);\n const openRef = useRef(open);\n const toggle = () => setMenuOpen(!menuOpen);\n const handleLogout = e => {\n e.preventDefault();\n dispatch({ type: 'LOGOUT' });\n history.replace('/login');\n };\n const handleReset = e => {\n e.preventDefault();\n history.push('/login', { reset: true });\n };\n const linkToProfile = e => {\n e.preventDefault();\n toggle();\n history.push('/profile');\n };\n useEffect(() => {\n openRef.current = open;\n }, [open]);\n useEffect(() => {\n // when the route changes we want to close the mobile menu if its open\n if (openRef.current) {\n dispatch({ type: 'TOGGLE_MENU', open: false });\n }\n }, [dispatch, location.pathname]);\n return (\n \n
    \n dispatch({ type: 'TOGGLE_MENU' })}\n >\n \n
    \n dispatch({ type: 'TOGGLE_EXPAND' })}\n >\n \n \n
    Data Submission System (CHEDSS)
    \n \n \n \n
    \n \n
    \n
    \n {user?.firstName} {user?.lastName}{' '}\n \n
    \n \n \n
    \n My Profile\n
    \n
    \n Reset Password\n
    \n
    \n Logout\n
    \n
    \n
    \n
    \n );\n};\n","import React from 'react';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { faTimes, faUser } from '@fortawesome/free-solid-svg-icons';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { Button } from 'reactstrap';\n\nimport { userManagementService } from 'services';\n\nexport const Impersonation = () => {\n const dispatch = useDispatch();\n const user = useSelector(state => state.user);\n const clearImpersonation = async () => {\n const res = await userManagementService.clearImpersonation();\n if (res?.token) {\n dispatch({\n type: 'SET_USER',\n user: {\n ...res,\n ...user.original,\n },\n merge: false,\n });\n }\n };\n return (\n
    \n
    \n \n {user?.impersonatedUser?.firstName} {user?.impersonatedUser?.lastName}\n
    \n \n (\n {user?.impersonatedUser?.roleNames?.map(role => role.roleName).join(', ')}\n )\n \n \n
    \n );\n};\n","import React, { useEffect, useState } from 'react';\n\nimport { useErrorState } from 'shared';\n\nexport const ErrorAlert = React.memo(() => {\n const [message, setMessage] = useState(null);\n const { error, clearError } = useErrorState();\n useEffect(() => {\n if (error && error.message) {\n setMessage(error.message);\n setTimeout(() => {\n clearError();\n }, 6000);\n } else if (!error && message) {\n setMessage(null);\n }\n }, [clearError, error, message]);\n return (\n \n \n CHEDSS Error {error && error.status ? `(${error.status})` : ''}\n \n
    {message}
    \n \n );\n});\n","import React, { useEffect, useState } from 'react';\n\nimport { useToastState } from 'shared';\n\nexport const ToastAlert = React.memo(() => {\n const [localMessage, setLocalMessage] = useState(null);\n const { toast, clearToast } = useToastState();\n useEffect(() => {\n if (toast) {\n setLocalMessage(toast.message);\n setTimeout(() => {\n clearToast();\n }, 6000);\n } else if (!toast && localMessage) {\n setLocalMessage(null);\n }\n }, [clearToast, localMessage, toast]);\n return (\n \n {toast?.title || 'CHEDSS Alert'}\n
    {localMessage}
    \n \n );\n});\n","import React, { useRef, ErrorBoundary } from 'react';\nimport { Link, useLocation } from 'react-router-dom';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport {\n faChevronCircleLeft,\n faChevronCircleRight,\n faHome,\n faTimes,\n} from '@fortawesome/free-solid-svg-icons';\nimport { UrlEnum, useOnScreen } from 'shared';\nimport { useSelector, useDispatch } from 'react-redux';\n\nconst StyledLink = props => {\n const { children, to, pathname } = props;\n const active = pathname === to;\n return (\n \n {children}\n \n );\n};\n\nexport const SideNav = props => {\n const ref = useRef();\n const open = useSelector(state => state.menuOpen);\n const expanded = useSelector(state => state.menuExpanded);\n const onScreen = useOnScreen(ref, { threshold: 1 });\n const style = open ? { display: 'block' } : {};\n return (\n \n
    \n \n
    \n
    \n \n
    \n \n );\n};\n\nconst NavLinks = props => {\n const { pathname } = useLocation();\n const dispatch = useDispatch();\n const { admin, dynamicViews } = props;\n return (\n \n );\n};\n\nconst HoverControlledDropdown = props => {\n //const [isOpen, updateIsOpen] = useState(false);\n const { dynamicViews, pathname } = props;\n return (\n \n {dynamicViews.includes('Academic Affairs') && (\n
  • \n \n Academic Affairs{' '}\n \n \n \n \n \n
  • \n )}\n {/* {dynamicViews.includes('Finance') && (\n
  • \n \n Finance{' '}\n \n \n \n \n \n
  • \n )} */}\n
    \n );\n};\n\nconst CheAdminDropdown = ({ pathname }) => {\n return (\n
  • \n \n CHE Admin{' '}\n \n \n \n \n \n
  • \n );\n};\n","import { useState, useEffect } from 'react';\n\nexport const useOnScreen = (ref, params = {}) => {\n const [isIntersecting, setIntersecting] = useState(false);\n useEffect(() => {\n const observer = new IntersectionObserver(([entry]) => {\n setIntersecting(entry.isIntersecting);\n }, params);\n if (ref.current) {\n observer.observe(ref.current);\n }\n return () => {\n observer.unobserve(ref.current);\n };\n }, [params, ref]);\n return isIntersecting;\n};\n","import React, { useState, useEffect, useReducer } from 'react';\nimport PropTypes from 'prop-types';\nimport { FormGroup, Label, Input, Card } from 'reactstrap';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { faSearch } from '@fortawesome/free-solid-svg-icons';\nimport AsyncSelect from 'react-select/async';\nimport Select from 'react-select';\nimport { capitalProjectService, financeService } from 'services';\n\nimport { onChangeFunction } from 'shared';\n\nexport const SearchCapitalProjectReviewForm = props => {\n const { setCapitalProjects } = props;\n const allValue = { value: 'all', label: 'All' };\n const [userInput, setUserInput] = useReducer(\n (state, newState) => ({ ...state, ...newState }),\n {\n searchProjectName: '',\n bienniumSearchValue: [],\n institutionSearchValue: [],\n submitStatusValue: allValue,\n }\n );\n\n useEffect(() => {\n const getCapitalProjects = async () => {\n const searchPostData = {\n biennium: [],\n institutions: [],\n searchText: null,\n isSubmitted: null,\n isReview: true,\n };\n const res = await capitalProjectService.searchCapitalProjects(searchPostData);\n setCapitalProjects(res || []);\n };\n getCapitalProjects();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const [bienniums] = useState(financeService.getAllBienniums);\n const [institutions] = useState(financeService.getAllInstitutions);\n\n const extractValuesFromResponse = unextractedResponseValues => {\n return unextractedResponseValues?.reduce((acc, currentValue) => {\n return acc.concat(currentValue.value);\n }, []);\n };\n\n const submitForm = () => {\n const actualBienniumValue = extractValuesFromResponse(\n userInput.bienniumSearchValue || []\n );\n const actualinstitutionValue = extractValuesFromResponse(\n userInput.institutionSearchValue || []\n );\n\n const isSubmittedHasAllValue = userInput.submitStatusValue\n ? userInput.submitStatusValue.value === allValue.value\n : null;\n const actualisSubmittedValue = isSubmittedHasAllValue\n ? null\n : userInput.submitStatusValue.value;\n\n const searchPostData = {\n biennium: actualBienniumValue.map(value => +value),\n institutions: actualinstitutionValue,\n searchText:\n userInput.searchProjectName === '' ? null : userInput.searchProjectName,\n isSubmitted: actualisSubmittedValue,\n isReview: true,\n };\n\n Promise.resolve(capitalProjectService.searchCapitalProjects(searchPostData)).then(\n postRes => {\n setCapitalProjects(postRes || []);\n return postRes;\n }\n );\n };\n\n const loadBienniums = () => Promise.resolve(bienniums);\n const loadInstitutions = () => Promise.resolve(institutions);\n\n const submitStatusValues = [\n allValue,\n { value: true, label: 'Submitted' },\n { value: false, label: 'Not Submitted' },\n ];\n\n return (\n
    \n \n

    Search Capital Project Reviews

    \n \n \n onChangeFunction.handleChange(evt, setUserInput)}\n name=\"searchProjectName\"\n value={userInput.searchProjectName}\n required\n />\n \n \n \n \n onChangeFunction.handleAsyncSelectChange(\n valueObj,\n options,\n setUserInput\n )\n }\n name=\"bienniumSearchValue\"\n value={userInput.bienniumSearchValue}\n loadOptions={loadBienniums}\n components={{\n IndicatorSeparator: () => null,\n }}\n />\n \n \n \n \n onChangeFunction.handleAsyncSelectChange(\n valueObj,\n options,\n setUserInput\n )\n }\n name=\"institutionSearchValue\"\n value={userInput.institutionSearchValue}\n loadOptions={loadInstitutions}\n components={{\n IndicatorSeparator: () => null,\n }}\n />\n \n \n \n\n \n onChangeFunction.handleSelectChange(\n valueObj,\n options,\n setUserInput\n )\n }\n options={submitStatusValues}\n placeholder=\"Year\"\n name=\"submitStatusValue\"\n value={userInput.submitStatusValue}\n components={{\n IndicatorSeparator: () => null,\n }}\n />\n \n {\n submitForm();\n }}\n >\n Search\n \n
    \n
    \n );\n};\n\nSearchCapitalProjectReviewForm.propTypes = {\n setCapitalProjects: PropTypes.func.isRequired,\n};\n","import React from 'react';\nimport { Card } from 'reactstrap';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { faFilePdf } from '@fortawesome/free-solid-svg-icons';\nimport { useHistory } from 'react-router-dom';\nimport BootstrapTable from 'react-bootstrap-table-next';\nimport paginationFactory from 'react-bootstrap-table2-paginator';\nimport PropTypes from 'prop-types';\nimport { UrlEnum } from 'shared';\n\nconst getWidthStyle = width => ({ width, minWidth: width, maxWidth: width });\n\nexport const SearchCapitalProjectsReviewTable = ({ capitalProjects }) => {\n const history = useHistory();\n\n const rowEvents = {\n onClick: (e, row, rowIndex) => {\n const projectId = row.projectID;\n\n const location = {\n pathname: UrlEnum.PROJECTREVIEW,\n state: [{ projectReviewProjectId: projectId }],\n };\n\n history.push(location);\n },\n };\n const columns = [\n {\n dataField: 'bienniumDesc',\n text: 'Biennium',\n sort: true,\n headerStyle: getWidthStyle(140),\n },\n {\n dataField: 'financeUnitName',\n text: 'Institution',\n sort: true,\n headerStyle: getWidthStyle(300),\n },\n {\n dataField: 'projectName',\n text: 'Project Name',\n sort: true,\n headerStyle: { minWidth: 250 },\n },\n {\n dataField: 'budgetAgencyProjectNumber',\n text: 'SBA Project Number',\n sort: true,\n headerStyle: getWidthStyle(140),\n },\n {\n dataField: 'institutionalPriority',\n text: 'Pri.',\n sort: true,\n headerStyle: getWidthStyle(50),\n },\n {\n dataField: 'isSubmitted',\n text: 'Sub?',\n sort: true,\n headerStyle: getWidthStyle(80),\n },\n {\n dataField: 'lastUpdatedDate',\n text: 'Last Updated',\n sort: true,\n headerStyle: getWidthStyle(140),\n },\n {\n dataField: 'lastUpdateByUser',\n text: 'Updated By',\n sort: true,\n headerStyle: getWidthStyle(200),\n },\n // {\n // \tdataField: 'action',\n // \ttext: ,\n // \tisDummyField: true,\n // },\n ];\n const options = {\n showTotal: true,\n firstPageText: 'First',\n prePageText: 'Previous',\n nextPageText: 'Next',\n lastPageText: 'Last',\n sizePerPage: 10,\n hideSizePerPage: true,\n };\n return (\n \n
    \n
    \n

    {capitalProjects?.length} Capital Project Reviews

    \n \n Capital Projects User Guide\n \n
    \n {/*
    \n \n Export As...\n \n \n \n PDF\n \n \n Excel\n \n \n Word\n \n
    \n
    */}\n \n
    \n {\n capitalProject.isSubmitted = capitalProject.isSubmitted\n ? 'yes'\n : 'no';\n const newLastUpdateDate = new Date(\n capitalProject.lastUpdatedDate\n );\n capitalProject.lastUpdatedDate = newLastUpdateDate.toLocaleDateString();\n return capitalProject;\n })}\n columns={columns}\n striped\n hover\n pagination={paginationFactory(options)}\n rowEvents={rowEvents}\n rowStyle={{ cursor: 'pointer' }}\n // defaultSorted={defaultSorted}\n />\n
    \n
    \n );\n};\n\nSearchCapitalProjectsReviewTable.propTypes = {\n capitalProjects: PropTypes.array.isRequired,\n};\n","import React, { useState, useEffect } from 'react';\nimport { FormEnum, TabEnum } from 'shared';\nimport { faExclamationCircle } from '@fortawesome/free-solid-svg-icons';\nimport { PopOver, CapitalProjectErrorEnum } from 'shared';\n\nexport const ProjectReviewSingleNavTab = ({\n name,\n toggleClassName,\n step,\n activeStepEnum,\n tabIdName,\n validationErrors,\n}) => {\n const [valErrors, setValErrors] = useState({});\n useEffect(() => {\n const getValidationErrors = () => {\n let valErrors = {};\n if (validationErrors) {\n validationErrors.map(validationError => {\n const filteredMessageTextToTab = Object.filter(\n CapitalProjectErrorEnum,\n ([name, tab]) => tab.includes(validationError.capitalProjectField)\n );\n const tabEnumName = Object.keys(filteredMessageTextToTab)[0];\n valErrors[tabEnumName]\n ? valErrors[tabEnumName].push(validationError.messageText)\n : (valErrors[tabEnumName] = [validationError.messageText]);\n return valErrors;\n });\n }\n return valErrors;\n };\n setValErrors(getValidationErrors());\n }, [validationErrors]);\n const className = () => {\n const activeStep =\n step === FormEnum[activeStepEnum]\n ? 'nav-link active'\n : 'nav-link cursor-pointer';\n const isRed = valErrors[activeStepEnum] ? 'text-danger' : '';\n return activeStep + ' ' + isRed;\n };\n return (\n
  • \n {\n toggleClassName(FormEnum[activeStepEnum]);\n }}\n href={TabEnum[activeStepEnum]}\n >\n {valErrors[activeStepEnum] ? (\n \n ) : null}{' '}\n {name}\n \n
  • \n );\n};\n","import React from 'react';\nimport { ProjectReviewSingleNavTab } from './project-review-single-nav-tab';\n\nexport const ProjectReviewWizardNav = ({ step, setStep, capitalProject }) => {\n const toggleClassName = step => {\n setStep(step);\n };\n return (\n
    \n
      \n \n \n \n \n \n \n \n \n \n
    \n
    \n );\n};\n","import { faArrowLeft, faArrowRight } from '@fortawesome/free-solid-svg-icons';\nimport React from 'react';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nexport const WizardFooter = ({ nextStep, prevStep, isGeneralInfo, isSubmit }) => {\n const previousForm = () => {\n prevStep();\n };\n const nextFormAndSave = () => {\n nextStep();\n };\n const previousButton = (\n \n Previous\n \n );\n const nextButton = (\n \n );\n const showPreviousButton = () => {\n return isGeneralInfo ? null : previousButton;\n };\n const showNextButton = () => {\n return isSubmit ? null : nextButton;\n };\n return (\n
    \n
    \n {showPreviousButton()}\n {showNextButton()}\n
    \n
    \n );\n};\n","import React, { useState, useEffect } from 'react';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { WizardFooter } from './wizard-footer';\nimport { financeService } from 'services';\nimport { faQuestionCircle } from '@fortawesome/free-solid-svg-icons';\nimport { Form, Card, Table } from 'reactstrap';\n\nexport const AnnualCostDetail = ({ capitalProject, prevStep, nextStep }) => {\n const [annualDetailRowHeaders, setAnnualDetailRowHeaders] = useState([]);\n\n useEffect(() => {\n const transformArray = annualDetailRowHeaderArray => {\n return !annualDetailRowHeaderArray\n ? null\n : annualDetailRowHeaderArray.map(annualDetialRow => {\n const { id } = annualDetialRow;\n const savedAnnualDetailValue = capitalProject.annualDetails.filter(\n annualDetail => +annualDetail.costTypeId === +id\n )[0];\n return savedAnnualDetailValue\n ? savedAnnualDetailValue\n : {\n costTypeId: +id,\n personnelServices: '0',\n suppAndExp: '0',\n };\n });\n };\n\n const fetchColumns = async () => {\n const res = await financeService.getAnnualCostDetailTableColumns();\n setAnnualDetailRowHeaders(res);\n capitalProject.annualDetails = transformArray(res);\n return;\n };\n fetchColumns();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const getRowHeaderTextFromCostTypeId = costTypeId => {\n if (!annualDetailRowHeaders) {\n return 'loading';\n }\n const header = annualDetailRowHeaders.find(header => +header.id === +costTypeId);\n return header ? header.text : 'loading';\n };\n const getTotalOfColumn = key => {\n let sum = 0;\n if (!capitalProject.annualDetails || capitalProject.annualDetails === []) {\n return 0;\n }\n capitalProject.annualDetails.forEach(annualDetail => {\n annualDetail[key] ? (sum += +annualDetail[key]) : (sum += 0);\n });\n return sum;\n };\n\n const [totals] = useState([\n getTotalOfColumn('personnelServices'),\n getTotalOfColumn('suppAndExp'),\n getTotalOfColumn('personnelServices') + getTotalOfColumn('suppAndExp'),\n getTotalOfColumn('personnelServices') + getTotalOfColumn('suppAndExp'),\n ]);\n\n const renderAnnualCostsTable = () => {\n return !capitalProject.annualDetails || capitalProject.annualDetails === [] ? (\n
    \n ) : (\n capitalProject.annualDetails.map((row, index) => {\n const annualDetailToChange = capitalProject.annualDetails[index];\n return (\n \n \n \n {getRowHeaderTextFromCostTypeId(row.costTypeId)}\n \n ${annualDetailToChange.personnelServices}\n ${annualDetailToChange.suppAndExp}\n \n $\n {+annualDetailToChange.personnelServices +\n +annualDetailToChange.suppAndExp}\n \n \n $\n {+annualDetailToChange.personnelServices +\n +annualDetailToChange.suppAndExp}\n \n \n \n );\n })\n );\n };\n return (\n
    \n

    \n Annual Operating Cost/Savings{' '}\n \n \n \n

    \n \n \n \n \n \n Personnel Services\n \n Supplies and Expenses\n \n \n Total Operating Cost\n \n \n Cost per GSF\n \n \n \n \n {renderAnnualCostsTable()}\n \n \n \n \n ${totals[0]}\n ${totals[1]}\n ${totals[2]}\n ${totals[3]}\n \n \n \n \n \n

    Annual Cost Detail Notes

    \n

    \n If annual operating costs are increasing or decreasing due to a\n renovation, please provide specific on what is causing the increase or\n decrease.\n

    \n
    \n \n

    {capitalProject.annualDetailNote}

    \n
    \n \n \n );\n};\n","import React, { useState, useEffect } from 'react';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { WizardFooter } from './wizard-footer';\nimport { financeService } from 'services';\nimport { faQuestionCircle } from '@fortawesome/free-solid-svg-icons';\nimport { Label, Row, Col, Card, Table } from 'reactstrap';\n\nexport const CostDetail = ({ capitalProject, prevStep, nextStep }) => {\n\tconst year = new Date().getFullYear();\n\tconst years = Array.from(new Array(20), (val, index) => {\n\t\treturn { val: index, label: year - index };\n\t});\n\tconst months = [\n\t\t{ label: 'Month', val: 0 },\n\t\t{ label: 'January', val: 1 },\n\t\t{ label: 'February', val: 2 },\n\t\t{ label: 'March', val: 3 },\n\t\t{ label: 'April', val: 4 },\n\t\t{ label: 'May', val: 5 },\n\t\t{ label: 'June', val: 6 },\n\t\t{ label: 'July', val: 7 },\n\t\t{ label: 'August', val: 8 },\n\t\t{ label: 'September', val: 9 },\n\t\t{ label: 'October', val: 10 },\n\t\t{ label: 'November', val: 11 },\n\t\t{ label: 'December', val: 12 },\n\t];\n\tconst getSelectValueFromYear = (yearLabel) => {\n\t\tconst toReturn = years.find(\n\t\t\t(yearSelectVal) => yearSelectVal.label === yearLabel\n\t\t).label;\n\t\treturn toReturn;\n\t};\n\tconst getSelectValueFromMonth = (monthValue) => {\n\t\tconst toReturn = months.find(\n\t\t\t(monthSelectVal) => monthSelectVal.val === monthValue\n\t\t).label;\n\t\treturn toReturn;\n\t};\n\tconst [costDetailTableCategories, setCostDetailTableCategories] = useState(\n\t\t[]\n\t);\n\tconst [costDetailTableRows, setCostDetailTableRows] = useState([]);\n\n\tuseEffect(() => {\n\t\tconst transformArray = (costDetailRowCategories) => {\n\t\t\treturn costDetailRowCategories.map((costDetialCategory) => {\n\t\t\t\tconst { id } = costDetialCategory;\n\t\t\t\tconst savedCostDetailValue = capitalProject.costDetails.filter(\n\t\t\t\t\t(costDetail) => +costDetail.costTypeId === +id\n\t\t\t\t)[0];\n\t\t\t\treturn savedCostDetailValue\n\t\t\t\t\t? savedCostDetailValue\n\t\t\t\t\t: {\n\t\t\t\t\t\t\tcostTypeId: +id,\n\t\t\t\t\t\t\tcostBasis: '0',\n\t\t\t\t\t\t\tescalationFactors: '0',\n\t\t\t\t\t\t\tdescriptionIfOther: '',\n\t\t\t\t\t };\n\t\t\t});\n\t\t};\n\n\t\tconst fetchColumns = async () => {\n\t\t\tconst costDetailTableRows = await financeService.getCostDetailTableRows();\n\t\t\tconst getCostDetailTableUniqueCategories = costDetailTableRows.reduce(\n\t\t\t\t(accumulator, currentValue) => {\n\t\t\t\t\tconst accumulatorHasValue = accumulator.includes(\n\t\t\t\t\t\tcurrentValue.category\n\t\t\t\t\t);\n\t\t\t\t\tif (!accumulatorHasValue) {\n\t\t\t\t\t\taccumulator.push(currentValue.category);\n\t\t\t\t\t}\n\t\t\t\t\treturn accumulator;\n\t\t\t\t},\n\t\t\t\t[costDetailTableRows[0].category]\n\t\t\t);\n\t\t\tsetCostDetailTableCategories(getCostDetailTableUniqueCategories);\n\t\t\tsetCostDetailTableRows(costDetailTableRows);\n\t\t\tcapitalProject.costDetails = transformArray(costDetailTableRows);\n\t\t\treturn;\n\t\t};\n\n\t\tfetchColumns();\n\t\t// eslint-disable-next-line react-hooks/exhaustive-deps\n\t}, []);\n\n\tconst renderIndividualCostRow = (categoryObject) => {\n\t\tconst getCostDetailArray = capitalProject.costDetails.filter(\n\t\t\t(costDetail) => +costDetail.costTypeId === +categoryObject.id\n\t\t);\n\t\treturn !getCostDetailArray\n\t\t\t? null\n\t\t\t: getCostDetailArray.map((costObject) => {\n\t\t\t\t\tconst index = capitalProject.costDetails.findIndex(\n\t\t\t\t\t\t(costDetail) => costDetail === costObject\n\t\t\t\t\t);\n\t\t\t\t\tconst costDetailToChange = capitalProject.costDetails[index];\n\t\t\t\t\treturn (\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t${costDetailToChange.costBasis}\n\t\t\t\t\t\t\t${costDetailToChange.escalationFactors}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t$\n\t\t\t\t\t\t\t\t{+costDetailToChange.costBasis +\n\t\t\t\t\t\t\t\t\t+costDetailToChange.escalationFactors}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t);\n\t\t\t });\n\t};\n\n\tconst renderCostsTable = () => {\n\t\treturn costDetailTableCategories === [] ? (\n\t\t\t
    \n\t\t) : (\n\t\t\tcostDetailTableCategories.map((category, index) => {\n\t\t\t\tconst filteredTableRow = costDetailTableRows.filter(\n\t\t\t\t\t(row) => row.category === category\n\t\t\t\t);\n\t\t\t\tconst rows = filteredTableRow.map((categoryObject) => {\n\t\t\t\t\treturn renderIndividualCostRow(categoryObject, index);\n\t\t\t\t});\n\t\t\t\treturn (\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{category}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t{rows}\n\t\t\t\t\t\n\t\t\t\t);\n\t\t\t})\n\t\t);\n\t};\n\treturn (\n\t\t\n\t\t\t

    \n\t\t\t\tCost Detail\n\t\t\t

    \n\t\t\t\n\t\t\t\t

    Anticipated Construction Schedule

    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t{getSelectValueFromMonth(capitalProject.bidMonth)}{' '}\n\t\t\t\t\t\t\t\t{getSelectValueFromYear(capitalProject.bidYear)}\n\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t{getSelectValueFromMonth(capitalProject.constructionMonth)}{' '}\n\t\t\t\t\t\t\t\t{getSelectValueFromYear(capitalProject.constructionYear)}\n\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t{getSelectValueFromMonth(capitalProject.occupancyMonth)}{' '}\n\t\t\t\t\t\t\t\t{getSelectValueFromYear(capitalProject.occupancyYear)}\n\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t\n\t\t\t\t

    Estimated Cost for Project

    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tCost Basis{' '}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tEscalation Factors{' '}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tProject Cost\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t{renderCostsTable()}\n\t\t\t\t\n\t\t\t
    \n\t\t\t\n\t\t\t\t

    Cost Detail Notes

    \n\t\t\t\t

    \n\t\t\t\t\tPlease state the month and year the current Cost Basis was calculated.\n\t\t\t\t\tAdditionally, explain the reasoning for the estimated escalation\n\t\t\t\t\tfactors.\n\t\t\t\t

    \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t\t

    {capitalProject.costDetailNotes}

    \n\t\t\t
    \n\n\t\t\t\n\t\t
    \n\t);\n};\n","import React from 'react';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { WizardFooter } from './wizard-footer';\nimport { Form, Row, Table, Card, CardTitle } from 'reactstrap';\nimport { PopOver } from 'shared';\nimport { faQuestionCircle } from '@fortawesome/free-solid-svg-icons';\n\nexport const CostSizeAndFunding = ({ capitalProject, prevStep, nextStep }) => {\n\treturn (\n\t\t
    \n\t\t\t

    \n\t\t\t\tCost, Size, & Funding\n\t\t\t

    \n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{' '}\n\t\t\t\t\t

    Project Size

    \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tGSF{' '}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tASF{' '}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tASF/GSF\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tProject Size\n\t\t\t\t\t\t\t{capitalProject.sizeGSF}\n\t\t\t\t\t\t\t{capitalProject.sizeASF}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{capitalProject.sizeGSF === 0\n\t\t\t\t\t\t\t\t\t? 0\n\t\t\t\t\t\t\t\t\t: +(capitalProject.sizeASF / capitalProject.sizeGSF).toFixed(\n\t\t\t\t\t\t\t\t\t\t\t2\n\t\t\t\t\t\t\t\t\t )}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tNet Change in Overall Campus Space\n\t\t\t\t\t\t\t{capitalProject.netChangeGSF}\n\t\t\t\t\t\t\t{capitalProject.netChangeASF}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{' '}\n\t\t\t\t\t\t\t\t{capitalProject.netChangeGSF === 0\n\t\t\t\t\t\t\t\t\t? 0\n\t\t\t\t\t\t\t\t\t: +(\n\t\t\t\t\t\t\t\t\t\t\tcapitalProject.netChangeASF / capitalProject.netChangeGSF\n\t\t\t\t\t\t\t\t\t ).toFixed(2)}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t\t\n\t\t\t\t\n\t\t\t\t\t

    Project Cost Summary

    \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t${capitalProject.totalProjectCost ?? 0}\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t$10 \n\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t$25 \n\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t\n\t\t\t\t

    \n\t\t\t\t\tFunding Source(s) for Project{' '}\n\t\t\t\t\t\n\t\t\t\t

    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{capitalProject.fundingList.map((fundingSource, index) => {\n\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t})}\n\t\t\t\t\t\n\t\t\t\t
    Funding AmountFunding TypeFunding Source Description
    ${+capitalProject.fundingList[index].fundingAmount}{capitalProject.fundingList[index].fundingTypeId}\n\t\t\t\t\t\t\t\t\t\t{capitalProject.fundingList[index].fundingDescription}\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\n\t\t\t\n\t\t\t\t

    Annual Cost

    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t${capitalProject.estAnnualChangeInOpsCost}\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t

    ${capitalProject.estAnnualRRInvestment}

    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t

    ${capitalProject.estAnnualDebtPayment}

    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t{capitalProject.isFundsSecured ? 'Yes' : 'No'}\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t
    \n\t\t\t
    \n\t\t\t\n\t\t\t\t

    Funding

    \n\t\t\t\t

    \n\t\t\t\t\tProvide additional narrative for the funding sources listed. If all\n\t\t\t\t\tfunds are not secured, outline cash flow for the project. If debt is\n\t\t\t\t\tto be issued for the project, what is the current outstanding debt of\n\t\t\t\t\tthe institution? What is the repayment method for the debt? What is\n\t\t\t\t\tthe structure of the gift funds? What is the structure of the grant?\n\t\t\t\t

    \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t\t

    {capitalProject.fundingNarrative}

    \n\t\t\t
    \n\t\t\t\n\t\t\t\t

    Justification of Cost

    \n\t\t\t\t

    \n\t\t\t\t\tProvide justification for the cost per ASF/GSF for the project.\n\t\t\t\t\tOutline the reasons for discrepancies between this project and\n\t\t\t\t\tcomparables. Provide additional cost metrics depending on project\n\t\t\t\t\ttype. Provide narrative on the change in the cost of building\n\t\t\t\t\toperations. Will the building be included in the state's R&R formula;\n\t\t\t\t\twhat percentage is academic and administrative? What alternatives were\n\t\t\t\t\tconsidered? Describe the site development costs.\n\t\t\t\t

    \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t\t

    {capitalProject.justificationOfCost}

    \n\t\t\t
    \n\t\t\t

    \n\t\t\t\tIf project is a lease-purchase or lease, adjust accordingly. Note the\n\t\t\t\ttotal cost of the lease in the project cost, and annual payments in\n\t\t\t\tproject description\n\t\t\t

    \n\n\t\t\t\n\t\t\n\t);\n};\n","import React from 'react';\nimport { WizardFooter } from './wizard-footer';\nimport { Form } from 'reactstrap';\n\nexport const DetailDescription = ({ capitalProject, prevStep, nextStep }) => {\n\treturn (\n\t\t
    \n\t\t\t

    \n\t\t\t\tDetail Description of Project\n\t\t\t

    \n\t\t\t

    \n\t\t\t\tDescribe the general nature of the project. Include the relationship of\n\t\t\t\tthe project to the long-term capital plan for the institution, any\n\t\t\t\thistorical significance the project might have to the campus,\n\t\t\t\talternatives considered by the institution, the impact the project has\n\t\t\t\ton future capital projects identified by the institution, etc.\n\t\t\t\tInstitutions may include how the project is being financed or other\n\t\t\t\tfinancial related items. If there is a change in operational costs to\n\t\t\t\tthe institution, please include how the institution will cover the costs\n\t\t\t\t(increase) or reallocate savings (decrease). Note if funds have been\n\t\t\t\tidentified to support future R&R needs for the project. Include unique\n\t\t\t\tbuilding characteristics, design features, construction materials, site\n\t\t\t\tdevelopment factors and other considerations affecting the cost\n\t\t\t\testimates.\n\t\t\t

    \n\t\t\t

    \n\t\t\t\tProvide additional narrative for the funding sources listed. If all\n\t\t\t\tfunds are not secured, outline cash flow for the project. If debt is to\n\t\t\t\tbe issued for the project, what is the current outstanding debt of the\n\t\t\t\tinstitution? What is the repayment method for the debt? What is the\n\t\t\t\tstructure of the gift funds? What is the structure of the grant?\n\t\t\t

    \n\t\t\t
    \n\t\t\t\n\t\t\t

    {capitalProject.detailDescription}

    \n\n\t\t\t\n\t\t\n\t);\n};\n","import React, { useState, useEffect } from 'react';\nimport { Table } from 'reactstrap';\nimport { WizardFooter } from './wizard-footer';\nimport { financeService } from 'services';\n\nexport const GeneralInfo = ({ capitalProject, prevStep, nextStep }) => {\n\tconst [projectType, setProjectType] = useState('');\n\n\tuseEffect(() => {\n\t\tconst getProjectTypesAndSetProjectType = () => {\n\t\t\tfinanceService.getAllProjectTypes().then((projectTypes) => {\n\t\t\t\tprojectTypes.forEach((projectType) => {\n\t\t\t\t\tif (+projectType.value === capitalProject.projectTypeId) {\n\t\t\t\t\t\tsetProjectType(projectType.label);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t});\n\t\t};\n\t\tgetProjectTypesAndSetProjectType();\n\t}, [capitalProject.projectTypeId]);\n\tconst isPreviouslyApprovedByGA = capitalProject.isPreviouslyApprovedByGA\n\t\t? 'Yes'\n\t\t: 'No';\n\tconst isPreviouslyRecommendedCHE = capitalProject.isPreviouslyRecommendedCHE\n\t\t? 'Yes'\n\t\t: 'No';\n\tconst isLongTermCapitalPlan = capitalProject.isLongTermCapitalPlan\n\t\t? 'Yes'\n\t\t: 'No';\n\n\treturn (\n\t\t\n\t\t\t

    \n\t\t\t\tGeneral Project Information\n\t\t\t

    \n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t{capitalProject.projectName}
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t{projectType}
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t{capitalProject.priority}
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t{capitalProject.budgetAgencyProjectNo}
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t{isPreviouslyApprovedByGA}
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t{isPreviouslyRecommendedCHE}
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t{isLongTermCapitalPlan}
    \n\t\t\t\n\t\t
    \n\t);\n};\n","import React from 'react';\nimport { WizardFooter } from './wizard-footer';\nimport { Form } from 'reactstrap';\n\nexport const NeedAndPurpose = ({ capitalProject, prevStep, nextStep }) => {\n\treturn (\n\t\t
    \n\t\t\t

    \n\t\t\t\tNeed and Purpose of the Project\n\t\t\t

    \n\t\t\t

    \n\t\t\t\tDescribe how the project relates to the mission and long-term strategic\n\t\t\t\tplan of the institution. Include the impact of the project on the\n\t\t\t\tacademic and educational attainment of students, programmatic changes\n\t\t\t\tthat the project would have to the campus, how the project might improve\n\t\t\t\tthe education quality of students at the campus, etc. Identify the\n\t\t\t\timpact if the project is not approved or recommended by the state.\n\t\t\t\tDescribe, if necessary, any health and safety issues that result in the\n\t\t\t\tneed for the project. Describe, if applicable, any financial impact the\n\t\t\t\tproject might have regarding the cost of attendance to students.\n\t\t\t

    \n\t\t\t

    \n\t\t\t\tProvide additional narrative for the funding sources listed. If all\n\t\t\t\tfunds are not secured, outline cash flow for the project. If debt is to\n\t\t\t\tbe issued for the project, what is the current outstanding debt of the\n\t\t\t\tinstitution? What is the repayment method for the debt? What is the\n\t\t\t\tstructure of the gift funds? What is the structure of the grant?\n\t\t\t

    \n\t\t\t
    \n\t\t\t\n\t\t\t

    {capitalProject.needAndPurpose}

    \n\n\t\t\t\n\t\t\n\t);\n};\n","import React, { useState } from 'react';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { WizardFooter } from './wizard-footer';\nimport { capitalProjectService } from 'services';\nimport { faDownload } from '@fortawesome/free-solid-svg-icons';\nimport { Form, Card, Table } from 'reactstrap';\n\nconst DownloadTable = ({ files }) => {\n\tconst downloadClicked = (documentId) => {\n\t\tcapitalProjectService.downloadCapitalProjectSupportingDocument(documentId);\n\t};\n\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\tDocument ID\n\t\t\t\t\tDocument Name\n\t\t\t\t\tUpload Date\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t{!files\n\t\t\t\t\t? null\n\t\t\t\t\t: files.map((supportingDocument) => {\n\t\t\t\t\t\t\tconst newLastUpdateDate = new Date(supportingDocument.uploadDate);\n\t\t\t\t\t\t\tconst correctlyFormattedDateString = newLastUpdateDate.toLocaleDateString();\n\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{supportingDocument.documentId}\n\t\t\t\t\t\t\t\t\t{supportingDocument.documentName}\n\t\t\t\t\t\t\t\t\t{correctlyFormattedDateString}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\tdownloadClicked(supportingDocument.documentId)\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\tclassName='action-circle'>\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t);\n\t\t\t\t\t })}\n\t\t\t\n\t\t\n\t);\n};\n\nexport const OtherProjectInfo = ({ capitalProject, prevStep, nextStep }) => {\n\tconst [supportingDocuments] = useState(capitalProject.files);\n\treturn (\n\t\t
    \n\t\t\t

    \n\t\t\t\tOther Project Info\n\t\t\t

    \n\t\t\t\n\t\t\t\t

    Space Utilization

    \n\t\t\t\t

    \n\t\t\t\t\tDescribe how the project will impact the overall space of the campus.\n\t\t\t\t\tInclude current utilization of space on campus, e.g. if a new building\n\t\t\t\t\tis requested, what is the utilization of similar space on campus\n\t\t\t\t\t(academic, auxiliary, administration, etc.), how will this new\n\t\t\t\t\tbuilding impact utilization. If a new building is being requested,\n\t\t\t\t\twhat space will be removed as a result of the project. If the project\n\t\t\t\t\tis a renovation of current space, explain how the new space will be\n\t\t\t\t\tused and note any change in space utilization. If a project is moving\n\t\t\t\t\toperations (vacating space) note if the vacated space will be\n\t\t\t\t\tterminated or used for other purposes (identify purposes).\n\t\t\t\t

    \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t\t

    {capitalProject.spaceUtilization}

    \n\t\t\t
    \n\t\t\t\n\t\t\t\t

    Background Materials

    \n\t\t\t\t

    \n\t\t\t\t\tIf necessary, please include maps, floor plans, or other project\n\t\t\t\t\tdetails. Also, if the Board of Trustees have reviewed the project,\n\t\t\t\t\tplease include the minutes from the meeting that reference the\n\t\t\t\t\tproject. If non-state funds are being used for the project\n\t\t\t\t\t(institutional funds, private funds, etc.) please describe the nature\n\t\t\t\t\tof the funds, sources of revenue and allowable uses of the fund. Also,\n\t\t\t\t\tplease include the balance of the fund as of 6/30/12. Institutions may\n\t\t\t\t\tinclude additional information as addendums to the project summary\n\t\t\t\t\tform.{' '}\n\t\t\t\t

    \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t\t

    {capitalProject.backgroundMaterials}

    \n\t\t\t
    \n\t\t\t\n\t\t\t\t

    Comparable Projects

    \n\t\t\t\t

    \n\t\t\t\t\tList previous projects (can be your own institution or other\n\t\t\t\t\tinstitutions) that are similar to the project request. Note the size\n\t\t\t\t\tof the project, cost, and cost metrics (cost per GSF/ASF, cost per bed\n\t\t\t\t\tor classroom, etc). If similar projects are not available from other\n\t\t\t\t\tstate public institutions, providing peer institutions outside of IN\n\t\t\t\t\tis recommended (mostly for auxiliary projects for example).\n\t\t\t\t

    \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t\t

    {capitalProject.comparableProjects}

    \n\t\t\t
    \n\t\t\t\n\t\t\t\t
    \n\t\t\t\t\t

    Supporting Documents

    \n\t\t\t\t
    \n\n\t\t\t\t\n\t\t\t
    \n\t\t\t\n\t\t\n\t);\n};\n","import React, { useState, useEffect } from 'react';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { WizardFooter } from './wizard-footer';\nimport { financeService } from 'services';\nimport {\n\tfaInfoCircle,\n\tfaQuestionCircle,\n} from '@fortawesome/free-solid-svg-icons';\nimport { Form, Row, Table, Card } from 'reactstrap';\n\nexport const SpaceDetail = ({ capitalProject, prevStep, nextStep }) => {\n\tconst [spaceDetailRowHeaders, setSpaceDetailRowHeaders] = useState([]);\n\tuseEffect(() => {\n\t\tconst transformArray = (spaceDetailRowHeaderArray) => {\n\t\t\treturn spaceDetailRowHeaderArray.map((spaceDetialRow) => {\n\t\t\t\tconst { id } = spaceDetialRow;\n\t\t\t\tconst savedSpaceDetailValue = capitalProject.spaceDetails.filter(\n\t\t\t\t\t(spaceDetail) => +spaceDetail.spaceTypeId === +id\n\t\t\t\t)[0];\n\t\t\t\treturn savedSpaceDetailValue\n\t\t\t\t\t? savedSpaceDetailValue\n\t\t\t\t\t: {\n\t\t\t\t\t\t\tspaceTypeId: +id,\n\t\t\t\t\t\t\tcurrentUse: '0',\n\t\t\t\t\t\t\tconstruction: '0',\n\t\t\t\t\t\t\tplannedAndFunded: '0',\n\t\t\t\t\t\t\tterminated: '0',\n\t\t\t\t\t\t\tnewRequest: '0',\n\t\t\t\t\t };\n\t\t\t});\n\t\t};\n\t\tconst fetchColumns = async () => {\n\t\t\tconst res = await financeService.getSpaceDetailTableColumns();\n\t\t\tsetSpaceDetailRowHeaders(res);\n\t\t\tcapitalProject.spaceDetails = transformArray(res);\n\t\t\treturn;\n\t\t};\n\n\t\tfetchColumns();\n\t\t// eslint-disable-next-line react-hooks/exhaustive-deps\n\t}, []);\n\n\tconst getRowHeaderTextFromSpaceTypeId = (spaceTypeId) => {\n\t\tconst header = spaceDetailRowHeaders.find(\n\t\t\t(header) => +header.id === +spaceTypeId\n\t\t);\n\t\treturn header ? header.text : 'loading';\n\t};\n\n\tconst getTotalOfColumn = (key) => {\n\t\tlet sum = 0;\n\t\tcapitalProject.spaceDetails.forEach((spaceDetail) => {\n\t\t\tspaceDetail[key] ? (sum += +spaceDetail[key]) : (sum += 0);\n\t\t});\n\t\treturn sum;\n\t};\n\tconst [totals] = useState([\n\t\tgetTotalOfColumn('currentUse'),\n\t\tgetTotalOfColumn('construction'),\n\t\tgetTotalOfColumn('plannedAndFunded'),\n\t\tgetTotalOfColumn('currentUse') +\n\t\t\tgetTotalOfColumn('construction') +\n\t\t\tgetTotalOfColumn('plannedAndFunded'),\n\t\tgetTotalOfColumn('terminated'),\n\t\tgetTotalOfColumn('newRequest'),\n\t\tgetTotalOfColumn('terminated') + getTotalOfColumn('newRequest'),\n\t]);\n\n\tconst renderTotals = () => {\n\t\treturn (\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t{totals[0]}\n\t\t\t\t{totals[1]}\n\t\t\t\t{totals[2]}\n\t\t\t\t{totals[3]}\n\t\t\t\t{totals[4]}\n\t\t\t\t{totals[5]}\n\t\t\t\t{totals[6]}\n\t\t\t\n\t\t);\n\t};\n\n\tconst renderTableRows = () => {\n\t\treturn capitalProject.spaceDetails.map((row, index) => {\n\t\t\treturn (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t{' '}\n\t\t\t\t\t\t\t{getRowHeaderTextFromSpaceTypeId(row.spaceTypeId)}\n\t\t\t\t\t\t\n\t\t\t\t\t\t${capitalProject.spaceDetails[index].currentUse}\n\t\t\t\t\t\t${capitalProject.spaceDetails[index].construction}\n\t\t\t\t\t\t${capitalProject.spaceDetails[index].plannedAndFunded}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{+row.currentUse + +row.construction + +row.plannedAndFunded}\n\t\t\t\t\t\t\n\t\t\t\t\t\t${capitalProject.spaceDetails[index].terminated}\n\t\t\t\t\t\t${capitalProject.spaceDetails[index].newRequest}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{+row.terminated + +row.newRequest}\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t);\n\t\t});\n\t};\n\treturn (\n\t\t
    \n\t\t\t

    \n\t\t\t\tSpace Detail\n\t\t\t

    \n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tCurrent Campus Total\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tCapital Request\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tSpace Classification{' '}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tCurrent Space in Use\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tSpace Under Construction{' '}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tSpace Planned and Funded{' '}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tSubtotal Current and Future Space\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tSpace to be Terminated{' '}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tNew Space in Capital Request\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tNet Future Space\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{renderTableRows()}\n\t\t\t\t\t\t{renderTotals()}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t

    Space Detail Notes

    \n\t\t\t\t\t

    \n\t\t\t\t\t\tPlease state specific facilities that are under construction,\n\t\t\t\t\t\tplanned and funded and to be terminated. Do not include pending\n\t\t\t\t\t\tapproval, non-submitted projects or non-funded projects\n\t\t\t\t\t

    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t

    {capitalProject.spaceDetailNotes}

    \n\t\t\t\t
    \n\t\t\t
    \n\n\t\t\t\n\t\t\n\t);\n};\n","import React, { useState } from 'react';\nimport { WizardFooter } from './wizard-footer';\nimport { Form } from 'reactstrap';\nimport { capitalProjectService } from 'services';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { faCheck, faTimes } from '@fortawesome/free-solid-svg-icons';\nimport {\n CapitalProjectErrorEnum,\n TabEnum,\n FormEnum,\n ConfirmActionModal,\n ObjectFilter,\n UrlEnum,\n} from 'shared';\nimport { Link } from 'react-router-dom';\n\nexport const Submit = ({\n capitalProject,\n setStep,\n prevStep,\n nextStep,\n setCapitalProject,\n}) => {\n const [isRejectModalOpen, setIsRejectModalOpen] = useState(false);\n const [isAcceptModalOpen, setIsAcceptModalOpen] = useState(false);\n const approveCapitalProject = async () => {\n const validationErrors = await capitalProjectService.approveCapitalProject({\n id: capitalProject.id,\n clientLastUpdateTime: capitalProject.lastUpdated,\n });\n if (Array.isArray(validationErrors) || validationErrors.length) {\n capitalProject.validationErrors = validationErrors;\n setCapitalProject({ ...capitalProject });\n } else {\n window.location.href = UrlEnum.PROJECTREVIEWSEARCH;\n }\n };\n\n const rejectCapitalProject = async () => {\n await capitalProjectService.rejectCapitalProject({\n id: capitalProject.id,\n clientLastUpdateTime: capitalProject.lastUpdated,\n });\n window.location.href = UrlEnum.PROJECTREVIEWSEARCH;\n };\n const displayValidationErrors = () => {\n return capitalProject.validationErrors.map((validationError, index) => {\n const filteredMessageTextToTab = ObjectFilter(\n CapitalProjectErrorEnum,\n ([name, tab]) => tab.includes(validationError.capitalProjectField)\n );\n const tabEnumName = Object.keys(filteredMessageTextToTab)[0] ?? 'SUBMIT';\n const isValidationWarning = validationError.messageType === 2;\n return (\n
  • \n \n {isValidationWarning ? 'WARNING:' : 'ERROR:'}\n \n {validationError.messageText}{' '}\n {\n setStep(FormEnum[tabEnumName]);\n window.location.href = TabEnum[tabEnumName];\n }}\n >\n Go To\n \n
  • \n );\n });\n };\n\n const CapitalProjectValidationErrors = () => {\n const IsAnyValidationErrors =\n !capitalProject.validationErrors ||\n capitalProject.validationErrors.length === 0;\n return IsAnyValidationErrors ? (\n \n ) : (\n
    \n
    \n Please check the following errors/warnings:\n
      {displayValidationErrors()}
    \n
    \n
    \n );\n };\n\n const CapitalProjectApprovedDisclaimer = () => {\n const projectApprovedDisclaimer = (\n
    \n This Project has been approved already\n
    \n );\n return capitalProject.isSubmitted && capitalProject.isReviewed\n ? projectApprovedDisclaimer\n : null;\n };\n\n return (\n
    \n

    \n Complete Review{' '}\n

    \n

    Please click the button below to complete your project review.

    \n setIsRejectModalOpen(true)}\n >\n {'Reject Project Review'}\n \n {'\t\t'}\n setIsAcceptModalOpen(true)}\n >\n {'Complete Project Review'}\n \n\n {CapitalProjectApprovedDisclaimer()}\n\n {CapitalProjectValidationErrors()}\n setIsAcceptModalOpen(!isAcceptModalOpen)}\n header={`Confirm Approval of ${capitalProject.projectName}`}\n message={`Are you sure you want to approve ${capitalProject.projectName}?`}\n acceptButtonText={'Approve'}\n acceptFunction={() => approveCapitalProject()}\n acceptButtonCss=\"btn btn-success\"\n />\n setIsRejectModalOpen(!isRejectModalOpen)}\n header={`Confirm Reject ${capitalProject.projectName}`}\n message={`Are you sure you want to reject ${capitalProject.projectName}?`}\n acceptButtonText={'Reject'}\n acceptFunction={() => rejectCapitalProject()}\n acceptButtonCss=\"btn btn-danger\"\n />\n\n \n \n );\n};\n","import React from 'react';\n\nimport {\n\tGeneralInfo,\n\tCostSizeAndFunding,\n\tDetailDescription,\n\tNeedAndPurpose,\n\tOtherProjectInfo,\n\tSpaceDetail,\n\tCostDetail,\n\tAnnualCostDetail,\n\tSubmit,\n} from './project-review-tabs';\n\nimport { FormEnum } from 'shared';\n\nexport const ProjectReviewTabSwitch = ({\n\tcapitalProject,\n\tsetCapitalProject,\n\tstep,\n\tsetStep,\n\tnextStep,\n\tprevStep,\n}) => {\n\tswitch (step) {\n\t\tcase FormEnum.GENERALINFO:\n\t\t\treturn (\n\t\t\t\t\n\t\t\t);\n\t\tcase FormEnum.COSTSIZEFUNDING:\n\t\t\treturn (\n\t\t\t\t\n\t\t\t);\n\t\tcase FormEnum.DETAILDESCRIPTION:\n\t\t\treturn (\n\t\t\t\t\n\t\t\t);\n\t\tcase FormEnum.NEEDSANDPURPOSE:\n\t\t\treturn (\n\t\t\t\t\n\t\t\t);\n\t\tcase FormEnum.OTHERPROJECTINFO:\n\t\t\treturn (\n\t\t\t\t\n\t\t\t);\n\t\tcase FormEnum.SPACEDETAIL:\n\t\t\treturn (\n\t\t\t\t\n\t\t\t);\n\t\tcase FormEnum.COSTDETAIL:\n\t\t\treturn (\n\t\t\t\t\n\t\t\t);\n\t\tcase FormEnum.ANNUALCOSTDETAIL:\n\t\t\treturn (\n\t\t\t\t\n\t\t\t);\n\t\tcase FormEnum.SUBMIT:\n\t\t\treturn (\n\t\t\t\t\n\t\t\t);\n\t\tdefault: {\n\t\t\treturn (\n\t\t\t\t\n\t\t\t);\n\t\t}\n\t}\n};\n","import React, { useEffect, useState } from 'react';\nimport { Card, Row } from 'reactstrap';\nimport { capitalProjectService } from 'services';\nimport { ProjectReviewTabSwitch, ProjectReviewWizardNav } from './components';\nimport { FormEnum, TabEnum, ProjectHeaderCard, getKeyByValue } from 'shared';\n\nexport const ProjectReviewWizardForm = ({ projectId, stepNumber }) => {\n const [capitalProject, setCapitalProject] = useState(null);\n const [step, setStep] = useState(stepNumber);\n const nextStep = () => {\n const next = step === FormEnum.SUBMIT ? FormEnum.SUBMIT : step + 1;\n setStep(next);\n const tabEnumName = getKeyByValue(FormEnum, next);\n window.location.href = TabEnum[tabEnumName];\n };\n const prevStep = () => {\n const prev = step === FormEnum.GENERALINFO ? FormEnum.GENERALINFO : step - 1;\n setStep(prev);\n const tabEnumName = getKeyByValue(FormEnum, prev);\n window.location.href = TabEnum[tabEnumName];\n };\n const HeaderCardModel = () => {\n return {\n cardTitle: capitalProject.projectName,\n institution: capitalProject.institutionName,\n biennium: capitalProject.biennium,\n budgetAgencyProjectNo: capitalProject.budgetAgencyProjectNo,\n institutionalPriority: capitalProject.priority,\n lastUpdated: capitalProject.lastUpdated,\n };\n };\n\n useEffect(() => {\n const parseQueryParams = async () => {\n if (projectId) {\n const recievedCapitalProject = await capitalProjectService.getCapitalProjectWithId(\n projectId\n );\n setCapitalProject(recievedCapitalProject);\n }\n };\n parseQueryParams();\n }, [projectId]);\n if (capitalProject) {\n return (\n \n
    \n \n \n
    \n \n
    \n \n
    \n
    \n
    \n
    \n
    \n );\n } else {\n return null;\n }\n};\n","import React, { useState, useEffect, useReducer, useMemo } from 'react';\nimport AsyncSelect from 'react-select/async';\nimport { useHistory } from 'react-router-dom';\nimport CreatableSelect from 'react-select/creatable';\nimport { LineItemService } from 'services';\nimport { onChangeFunction } from 'shared';\nimport { faArrowRight } from '@fortawesome/free-solid-svg-icons';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { Modal, ModalHeader, ModalBody, ModalFooter } from 'reactstrap';\nimport { UrlEnum } from 'shared';\nimport { FormSelect, Button, FormInput } from 'components/blocks';\n\nconst NEW_ID = 'new';\n\nconst reducer = (state, newState) => ({ ...state, ...newState });\nconst INITIAL_FORM = {\n biennium: null,\n institution: null,\n lineItem: null,\n name: '',\n};\n\nconst lineItemStyles = {\n option: (provided, params) => {\n if (params?.data?.budgetLineItemId === NEW_ID) {\n return {\n ...provided,\n fontWeight: 'bold',\n color: '#6da34d',\n };\n }\n return provided;\n },\n};\n\nexport const CreateLineItemModal = ({ isOpen, toggle, institutions, bienniums }) => {\n const history = useHistory();\n const [form, setForm] = useReducer(reducer, INITIAL_FORM);\n const [lineItems, setLineItems] = useState([]);\n const [loading, setLoading] = useState(false);\n const fetchNewLineItems = async () => {\n try {\n const items = await LineItemService.getLineItemsForNewModal(\n form.institution.value,\n form.biennium.id\n );\n setLineItems(\n items?.budgetLineItems?.filter(item => item.scheduleExists === false) ||\n []\n );\n } catch (error) {}\n };\n\n useEffect(() => {\n if (form.institution && form.biennium) {\n fetchNewLineItems();\n }\n }, [form.institution, form.biennium]);\n\n const closeBtn = (\n \n );\n const onSubmit = async () => {\n const { biennium, institution, lineItem, name } = form;\n setLoading(true);\n try {\n if (lineItem?.budgetLineItemId === NEW_ID) {\n const newRes = await LineItemService.createNewLineItem(\n institution.value,\n biennium.id,\n {\n name,\n }\n );\n const res = await LineItemService.createLineItem({\n biennium: biennium.id,\n budgetLineItemId: newRes.budgetLineItemId,\n });\n const location = {\n pathname: UrlEnum.LINEITEMBUDGET,\n state: {\n row: res,\n },\n };\n history.push(location);\n } else {\n const res = await LineItemService.createLineItem({\n biennium: biennium.id,\n budgetLineItemId: lineItem.budgetLineItemId,\n });\n const location = {\n pathname: UrlEnum.LINEITEMBUDGET,\n state: {\n row: res,\n },\n };\n history.push(location);\n }\n } catch (error) {}\n setLoading(false);\n };\n const isDisabled = useMemo(() => {\n if (form.lineItem?.budgetLineItemId === NEW_ID) {\n return !form.biennium || !form.institution || !form.name;\n }\n return !form.biennium || !form.institution || !form.lineItem;\n }, [form]);\n return (\n \n New Line Item Schedule\n \n d.value}\n />\n d.label}\n getOptionValue={d => d.value}\n />\n d.budgetLineItemName}\n getOptionValue={d => d.budgetLineItemId}\n />\n {form.lineItem?.budgetLineItemId === NEW_ID && (\n \n )}\n

    \n A line item must be uniquely named. The name will be used to track the\n line item from biennium to biennium and cannot be changed once it has\n been created. Please confirm line item name before pressing the\n \"Begin\" button.\n

    \n
    \n \n \n \n Begin \n \n \n
    \n );\n};\n","import React from 'react';\nimport { Button, UncontrolledPopover, PopoverBody } from 'reactstrap';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { faSearchPlus } from '@fortawesome/free-solid-svg-icons';\nimport { UrlEnum } from 'shared';\n\nconst getWidthStyle = width => ({ width, minWidth: width, maxWidth: width });\n\nconst actions = (cell, row, rowIndex, formatExtraData) => {\n const id = 'PopoverView-' + row.programID;\n return (\n
    \n {\n const location = {\n pathname: UrlEnum.LINEITEMBUDGET,\n state: {\n row,\n lineItemId: row.scheduleId,\n },\n };\n\n formatExtraData.history.push(location);\n }}\n >\n \n View\n \n \n \n
    \n );\n};\n\nexport const Columns = props => [\n {\n dataField: 'biennium',\n text: 'Biennium',\n sort: true,\n headerStyle: getWidthStyle(140),\n formatter: props.getBienniumName,\n },\n {\n dataField: 'scheduleTypeId',\n text: 'Schedule',\n sort: true,\n headerStyle: { minWidth: 140 },\n formatter: props.getScheduleName,\n },\n {\n dataField: 'scheduleDescription',\n text: 'Schedule Description',\n sort: true,\n headerStyle: { minWidth: 250 },\n },\n {\n dataField: 'cheFinanceUnitId',\n text: 'Institution',\n sort: true,\n headerStyle: getWidthStyle(300),\n formatter: props.getInstitutionName,\n },\n {\n dataField: 'lastUpdated',\n text: 'Last Updated',\n sort: true,\n headerStyle: getWidthStyle(140),\n formatter: d => {\n const date = new Date(d);\n return date.toLocaleDateString();\n },\n },\n {\n dataField: 'lastUpdatedByUser',\n text: 'Updated By',\n sort: true,\n headerStyle: getWidthStyle(200),\n },\n {\n dataField: 'action',\n text: '',\n formatter: actions,\n headerStyle: getWidthStyle(70),\n formatExtraData: props,\n },\n];\n","import React, { useCallback, useEffect, useMemo, useReducer, useState } from 'react';\nimport { Card, Container, Row } from 'reactstrap';\nimport _isEmpty from 'lodash/isEmpty';\nimport { useHistory } from 'react-router';\nimport BootstrapTable from 'react-bootstrap-table-next';\nimport paginationFactory, {\n PaginationProvider,\n PaginationListStandalone,\n PaginationTotalStandalone,\n} from 'react-bootstrap-table2-paginator';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { faSearch, faPlus } from '@fortawesome/free-solid-svg-icons';\nimport queryString from 'query-string';\nimport { LineItemService } from 'services';\nimport { Columns, CreateLineItemModal } from './components';\nimport { FormSelect, Button } from '../../blocks';\n\nconst reducer = (state, newState) => ({ ...state, ...newState });\nconst INITIAL_FORM = {\n bienniums: [],\n institutions: [],\n schedules: [],\n};\nconst pageSize = 20;\nconst getOptionLabel = d => d.value;\nconst paginationOptions = {\n showTotal: true,\n firstPageText: 'First',\n prePageText: 'Previous',\n nextPageText: 'Next',\n lastPageText: 'Last',\n sizePerPage: pageSize,\n hideSizePerPage: true,\n};\nconst convertToValue = d => ({ ...d, value: d.name });\nconst deriveKey = (array = [], key = 'key') => {\n console.log(array)\n if(array == null) return [];\n return array.map(d => d[key]);\n};\n\nexport const BudgetSchedulesSearch = () => {\n const history = useHistory();\n const [loading, setLoading] = useState(false);\n const [isModalOpen, setIsModalOpen] = useState(false);\n const [activeTab, setActiveTab] = useState(0);\n const [form, setForm] = useReducer(reducer, INITIAL_FORM);\n const [options, setOptions] = useReducer(reducer, {});\n const toggle = () => setIsModalOpen(!isModalOpen);\n const [data, setData] = useState({ page: 0, count: 0, pageSize, schedules: [] });\n useEffect(() => {\n const fetchOptions = async () => {\n try {\n const res = await Promise.all([\n LineItemService.getBienniums(),\n LineItemService.getInstitutions(),\n LineItemService.getStatuses(),\n LineItemService.getBudgetScheduleTypes(),\n ]);\n setOptions({\n bienniums: res[0].map(convertToValue),\n institutions: res[1],\n statuses: res[2].map(convertToValue),\n schedules: res[3].map(convertToValue),\n });\n } catch (error) {\n console.error(error);\n }\n setLoading(false);\n };\n fetchOptions();\n onSubmit();\n }, []);\n \n const onSubmit = useCallback(\n async page => {\n setLoading(true);\n const getFormPayload = () => {\n const payload = {\n bienniums: deriveKey(form.bienniums, 'value'),\n schedules: deriveKey(form.schedules, 'value'),\n institutions: deriveKey(form.institutions, 'value'),\n pageSize,\n page,\n };\n return queryString.stringify(payload, {\n arrayFormat: 'separator',\n skipEmptyString: true,\n });\n };\n try {\n const query = getFormPayload();\n const res = await LineItemService.searchLineItems(query);\n if (res) {\n setData(res);\n }\n } catch (error) {\n console.error(error);\n }\n setLoading(false);\n },\n [form]\n );\n const renderTabs = () => {\n return options?.statuses?.map(status => {\n const count = data?.schedules?.filter(d => d.scheduleStatusId === status.id)\n ?.length;\n return (\n
  • \n setActiveTab(status.id)}\n role=\"tab\"\n >\n {status.name} ({count})\n \n
  • \n );\n });\n };\n const getBienniumName = useCallback(\n id => {\n return options.bienniums.find(b => b.id === id)?.name;\n },\n [options.bienniums]\n );\n const getScheduleName = useCallback(\n id => {\n return options.schedules.find(sch => sch.id === id)?.name;\n },\n [options.schedules]\n );\n const getInstitutionName = useCallback(\n id => {\n return options.institutions.find(ins => ins.value === id)?.label;\n },\n [options.institutions]\n );\n const getStatusName = useCallback(\n id => {\n return options.statuses.find(st => st.id === id)?.name;\n },\n [options.statuses]\n );\n const filtered = useMemo(() => {\n return data?.schedules?.filter(d => d.scheduleStatusId === activeTab);\n }, [data?.schedules, activeTab]);\n return (\n \n \n
    \n setIsModalOpen(true)}\n >\n New Budget Schedule\n \n \n

    Search Budget Schedules

    \n
    \n {return {label: x.name, value: x.id}}) : []}\n placeholder=\"All\"\n name=\"bienniums\"\n value={form.bienniums}\n className=\"col-xl-12 col-lg\"\n />\n
    \n
    \n {return {label: x.label, value: x.value}}): []}\n placeholder=\"All\"\n name=\"institutions\"\n value={form.institutions}\n className=\"col-12\"\n />\n
    \n
    \n {return {label: x.name, value: x.id}}) : []}\n placeholder=\"All\"\n name=\"schedules\"\n value={form.schedules}\n className=\"col-xl-12 col-lg-8\"\n fieldClassName=\"mb-lg-0 mb-xl-4\"\n isMulti\n // getOptionLabel={getOptionLabel}\n />\n
    \n onSubmit(1)}\n disabled={_isEmpty(options)}\n >\n Search\n \n
    \n
    \n
    \n
    \n
    \n
    \n

    {data?.count} Budget Schedules

    \n
    \n \n
    \n
      \n {renderTabs()}\n
    \n
    \n
    \n \n
    \n {/* */}\n \n {({ paginationProps, paginationTableProps }) => (\n
    \n console.log(e)}\n classes=\"data-table table table-striped table-bordered table-hover align-middle dataTable no-footer dtr-inline\"\n keyField=\"scheduleId\"\n data={filtered || []}\n columns={Columns({\n history,\n exportFileTypes: options.exportFileTypes,\n getBienniumName,\n getScheduleName,\n getInstitutionName,\n getStatusName,\n })}\n striped\n hover\n {...paginationProps}\n {...paginationTableProps}\n />\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n )}\n \n
    \n
    \n
    \n
    \n \n
    \n );\n};\n","import React from 'react';\n\nimport { Table } from 'reactstrap';\n\nexport const DataAuditTable = ({ lineItemValues, biennium, setIsDataAudit }) => {\n return (\n \n \n \n Data Item\n Prepopulated Value\n Submitted Value\n Reason for Change\n \n \n \n {[...lineItemValues.keys()].map(key => {\n const row = lineItemValues.get(key);\n // eslint-disable-next-line array-callback-return\n return Object.entries(row).map(valueNameArr => {\n const valueName = valueNameArr[0];\n const value = valueNameArr[1];\n if (valueName === 'bminus0Val' || valueName === 'bminus1Val') {\n const dataAuditName =\n valueName === 'bminus0Val'\n ? 'bminus0DataAudit'\n : 'bminus1DataAudit';\n const prepopName =\n valueName === 'bminus0Val'\n ? 'bminus0Val_PrePop'\n : 'bminus1Val_PrePop';\n\n if (value !== row[prepopName]) {\n setIsDataAudit(true);\n const lastYear = +biennium.split('-')[0];\n const year =\n valueName === 'bminus0Val'\n ? `${lastYear - 1} - ${lastYear}`\n : `${lastYear - 2} - ${lastYear - 1}`;\n const dataItem = `${year} ${row.lineItemCategoryName} ${row.lineItemName}`;\n return (\n \n {dataItem}\n \n ${row[prepopName] ?? 0}\n \n ${row[valueName]}\n {row[dataAuditName]}\n \n );\n }\n }\n });\n })}\n \n \n );\n};\n","import React, { useEffect } from 'react';\nimport { Table, InputGroup, Input } from 'reactstrap';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { faPencilAlt, faDollarSign } from '@fortawesome/free-solid-svg-icons';\n\nconst getWidthStyle = width => ({ width, minWidth: width, maxWidth: width });\nexport const format = number =>\n number.toLocaleString('en-US', {\n style: 'currency',\n maximumFractionDigits: 0,\n currency: 'USD',\n });\n\nexport const SummaryBudgetRequestTable = ({\n biennium,\n lineItemCategories,\n lineItemValues,\n setLineItemValues,\n setModalObject,\n setIsEditPrePopulatedModalOpen,\n mapOfTotals,\n disabled,\n setMapOfTotals,\n}) => {\n const getBienniumHeaders = biennium => {\n if (biennium) {\n const bMinusZeroBienniumEndYear = biennium.split('-')[0];\n const firstYear = +bMinusZeroBienniumEndYear - 7;\n const bienniumHeaders = [];\n for (let i = 0; i < 9; i += 1) {\n const firstYearString = (firstYear + i).toString();\n const secondYearString = (firstYear + i + 1).toString();\n const secondYearShortened = secondYearString[2] + secondYearString[3];\n const bienniumHeader = firstYearString + '-' + secondYearShortened;\n bienniumHeaders.push(bienniumHeader);\n }\n return bienniumHeaders;\n } else {\n return [];\n }\n };\n const bienniumHeaders = getBienniumHeaders(biennium);\n const valueNameArray = [\n 'bminus6Val',\n 'bminus5Val',\n 'bminus4Val',\n 'bminus3Val',\n 'bminus2Val',\n 'bminus1Val',\n 'bminus0Val',\n 'bplus1Val',\n 'bplus2Val',\n ];\n const getTotalOperatingBudget = totalsMap => {\n const operatingBudgetMap = new Map();\n if (totalsMap && totalsMap.size !== 0) {\n lineItemCategories.forEach(lineItemCategory => {\n if (lineItemCategory.lineItemCategoryName !== 'Funding') {\n valueNameArray.forEach(valueName => {\n const valueNameTotal = totalsMap\n .get(lineItemCategory.lineItemCategoryName)\n .get(valueName);\n const valueToAdd = operatingBudgetMap.has(valueName)\n ? operatingBudgetMap.get(valueName)\n : 0;\n operatingBudgetMap.set(valueName, +valueToAdd + +valueNameTotal);\n });\n }\n });\n }\n return operatingBudgetMap;\n };\n\n const getTotals = () => {\n const newMapOfTotals = new Map();\n lineItemCategories.forEach(lineItemCategory => {\n const totalMap = new Map();\n lineItemCategory.lineItems.forEach(lineItem => {\n [...lineItemValues.keys()].forEach(k => {\n if (k === lineItem.lineItemName) {\n const currentLineItem = lineItemValues.get(k);\n valueNameArray.forEach(valueName => {\n const valueToAdd = totalMap.has(valueName)\n ? totalMap.get(valueName)\n : 0;\n const newTotal = +valueToAdd + +currentLineItem[valueName];\n totalMap.set(valueName, newTotal);\n });\n }\n });\n });\n newMapOfTotals.set(lineItemCategory.lineItemCategoryName, totalMap);\n });\n newMapOfTotals.set('Operating Budget', getTotalOperatingBudget(newMapOfTotals));\n return newMapOfTotals;\n };\n\n useEffect(() => {\n setMapOfTotals(getTotals());\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [lineItemValues, lineItemCategories]);\n\n const DisplayTotal = ({ nameOfTotal, categoryName }) => {\n return (\n \n \n \n \n {valueNameArray.map(valueName => {\n const mapOfOneCategory = mapOfTotals.has(categoryName)\n ? mapOfTotals.get(categoryName)\n : null;\n const valueToAdd =\n mapOfOneCategory && mapOfOneCategory.has(valueName)\n ? mapOfOneCategory.get(valueName)\n : 0;\n return (\n \n {format(valueToAdd)}\n \n );\n })}\n \n );\n };\n\n const DisplayTotalFunding = () => {\n return (\n \n \n \n \n \n \n

    Total Funding

    \n \n {valueNameArray.map(valueName => {\n const mapOfOneCategory = mapOfTotals.has('Funding')\n ? mapOfTotals.get('Funding')\n : null;\n const valueToAdd =\n mapOfOneCategory && mapOfOneCategory.has(valueName)\n ? mapOfOneCategory.get(valueName)\n : 0;\n return (\n \n

    {format(valueToAdd)}

    \n \n );\n })}\n \n
    \n );\n };\n\n const RenderTotalRow = ({ categoryName }) => {\n switch (categoryName) {\n case 'Other Operating':\n return (\n \n {\n \n }\n \n \n \n \n \n );\n case 'Funding':\n return ;\n default:\n return (\n \n \n \n \n \n \n );\n }\n };\n\n return (\n \n \n \n \n Summary of Budget Request\n {bienniumHeaders?.map((bienniumHeader, index) => {\n if (index === 5) {\n return (\n \n PROJ\n
    \n {bienniumHeader} (required)\n \n );\n } else if (index === 6) {\n return (\n \n BUDGET\n
    \n {bienniumHeader} (required)\n \n );\n } else if (index > 6) {\n return (\n \n PROP\n
    \n {bienniumHeader} (required)\n \n );\n } else {\n return (\n \n ACTUAL\n
    \n {bienniumHeader}\n \n );\n }\n })}\n \n \n \n {lineItemCategories?.map(lineItemCategory => {\n return (\n \n \n \n {lineItemCategory.lineItemCategoryName}\n \n \n\n {lineItemCategory?.lineItems?.map(lineItem => {\n return (\n \n \n \n \n {/*eslint-disable-next-line array-callback-return*/}\n {[...lineItemValues.keys()]?.map(k => {\n if (k === lineItem.lineItemName) {\n const newLineItemMap = new Map(\n lineItemValues\n );\n const value = newLineItemMap.get(k);\n return valueNameArray?.map(\n (valueName, index) => {\n const canEdit =\n [\n 'bminus0Val',\n 'bminus1Val',\n ].includes(valueName) &&\n !disabled;\n const numberForInput =\n value[valueName] ?? 0;\n return index > 6 ? (\n 6\n ? 'highlight-cell'\n : ''\n }\n >\n \n
    \n \n \n \n
    \n {\n value[\n valueName\n ] = +e\n .target\n .value;\n setLineItemValues(\n newLineItemMap\n );\n }}\n />\n
    \n \n ) : (\n {\n if (canEdit) {\n const lastYear = +biennium.split(\n '-'\n )[0];\n const year =\n valueName ===\n 'bminus0Val'\n ? `${lastYear -\n 1} - ${lastYear}`\n : `${lastYear -\n 2} - ${lastYear -\n 1}`;\n const dataItem = `${year} ${value.lineItemCategoryName} ${value.lineItemName}`;\n setModalObject(\n {\n dataItem: dataItem,\n dataAuditName:\n valueName ===\n 'bminus0Val'\n ? 'bminus0DataAudit'\n : 'bminus1DataAudit',\n prepopName:\n valueName ===\n 'bminus0Val'\n ? 'bminus0Val_PrePop'\n : 'bminus1Val_PrePop',\n value: value,\n newLineItemMap: newLineItemMap,\n valueName: valueName,\n key: k,\n }\n );\n setIsEditPrePopulatedModalOpen(\n true\n );\n }\n }}\n >\n
    \n \n {format(\n numberForInput\n )}\n \n {canEdit && (\n \n )}\n
    \n \n );\n }\n );\n }\n })}\n \n );\n })}\n \n
    \n );\n })}\n \n \n
    \n );\n};\n","import React, { useState } from 'react';\nimport { DataAuditTable } from './data-audit-table';\nimport { faCheck, faArrowLeft, faArrowRight } from '@fortawesome/free-solid-svg-icons';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { LineItemService } from 'services';\n\nimport { Table, Modal, ModalHeader, ModalBody, ModalFooter } from 'reactstrap';\nimport { format } from './summary-budget-request-table';\nimport { Button } from 'components/blocks';\n\nexport const SubmitModal = ({\n isOpen,\n toggle,\n lineItemValues,\n biennium,\n mapOfTotals,\n sanitizedInput,\n isDataAudit,\n setIsDataAudit,\n scheduleId,\n fetchBudgetSchedule,\n}) => {\n const getBienniumHeaders = biennium => {\n if (biennium) {\n const bMinusZeroBienniumEndYear = biennium.split('-')[0];\n const firstYear = +bMinusZeroBienniumEndYear - 7;\n const bienniumHeaders = [];\n for (let i = 0; i < 9; i += 1) {\n const firstYearString = (firstYear + i).toString();\n const secondYearString = (firstYear + i + 1).toString();\n const secondYearShortened = secondYearString[2] + secondYearString[3];\n const bienniumHeader = firstYearString + '-' + secondYearShortened;\n bienniumHeaders.push(bienniumHeader);\n }\n return bienniumHeaders;\n } else {\n return [];\n }\n };\n const bienniumHeaders = getBienniumHeaders(biennium);\n const closeBtn = (\n {\n toggle();\n setStep(1);\n }}\n >\n ×\n \n );\n const valueNameArray = [\n 'bminus6Val',\n 'bminus5Val',\n 'bminus4Val',\n 'bminus3Val',\n 'bminus2Val',\n 'bminus1Val',\n 'bminus0Val',\n 'bplus1Val',\n 'bplus2Val',\n ];\n const [step, setStep] = useState(1);\n const [loading, setLoading] = useState(false);\n const onSubmit = async () => {\n setLoading(true);\n try {\n const input = {\n ...sanitizedInput(),\n scheduleStatusId: 2,\n };\n await LineItemService.saveLineItem(scheduleId, input);\n fetchBudgetSchedule();\n toggle();\n setStep(1);\n } catch (error) {}\n setLoading(false);\n };\n const ModalSwitcher = ({ step }) => {\n switch (step) {\n case 1:\n return (\n \n
    \n

    \n The data entries listed below differ from pre-populated\n data. Before submission of schedule can continue please\n review your edits.\n

    \n
    \n \n
    \n );\n case 2:\n return (\n \n

    \n Review Total Funding Amounts\n

    \n \n \n \n {bienniumHeaders.map((bienniumHeader, index) => {\n return (\n \n {bienniumHeader}\n \n );\n })}\n \n \n \n \n \n
    \n
    \n );\n default:\n return (\n \n );\n }\n };\n const DisplayTotalFunding = () => {\n return (\n \n {valueNameArray.map((valueName, index) => {\n const mapOfOneCategory = mapOfTotals.has('Funding')\n ? mapOfTotals.get('Funding')\n : null;\n const valueToAdd =\n mapOfOneCategory && mapOfOneCategory.has(valueName)\n ? mapOfOneCategory.get(valueName)\n : 0;\n return (\n 6\n ? 'text-right text-strong highlight-cell'\n : 'text-right text-strong'\n }\n >\n

    {format(valueToAdd)}

    \n \n );\n })}\n \n );\n };\n return (\n \n Before you submit...\n \n {isDataAudit ? (\n \n ) : (\n \n

    \n Review Total Funding Amounts\n

    \n \n \n \n {bienniumHeaders.map((bienniumHeader, index) => {\n return (\n \n {bienniumHeader}\n \n );\n })}\n \n \n \n \n \n
    \n
    \n )}\n
    \n \n {step === 2 && isDataAudit ? (\n {\n setStep(1);\n }}\n >\n back\n \n ) : (\n \n )}\n\n {/* \n
  • 1
  • \n
  • 2
  • \n */}\n
    \n {step === 1 && isDataAudit ? (\n {\n setStep(2);\n }}\n >\n Continue \n \n ) : (\n \n Submit\n \n )}\n
    \n
    \n
    \n );\n};\n","import React, { useState } from 'react';\nimport { faCheck } from '@fortawesome/free-solid-svg-icons';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { SubmitModal } from './submit-modal';\nimport { LineItemService } from 'services';\nimport { Button } from 'components/blocks';\n\nexport const Footer = ({\n sanitizedInput,\n lineItemValues,\n biennium,\n mapOfTotals,\n isDataAudit,\n setIsDataAudit,\n scheduleId,\n fetchBudgetSchedule,\n}) => {\n const [saving, setSaving] = useState(false);\n const [isSubmitModalOpen, setIsSubmitModalOpen] = useState(false);\n const onSave = async () => {\n setSaving(true);\n try {\n const input = {\n ...sanitizedInput(),\n scheduleStatusId: 1,\n };\n await LineItemService.saveLineItem(scheduleId, input);\n await fetchBudgetSchedule();\n } catch (error) {}\n setSaving(false);\n };\n return (\n \n
    \n
    \n \n Save\n \n {\n setIsSubmitModalOpen(true);\n }}\n >\n Submit\n \n
    \n
    \n setIsSubmitModalOpen(!isSubmitModalOpen)}\n lineItemValues={lineItemValues}\n biennium={biennium}\n mapOfTotals={mapOfTotals}\n sanitizedInput={sanitizedInput}\n isDataAudit={isDataAudit}\n setIsDataAudit={setIsDataAudit}\n scheduleId={scheduleId}\n fetchBudgetSchedule={fetchBudgetSchedule}\n />\n
    \n );\n};\n","import React from 'react';\nimport format from 'date-fns/format';\n\nexport const HeaderCard = props => {\n const {\n description,\n institution,\n biennium,\n schedule,\n status,\n lastUpdated,\n lastUpdatedByUser,\n } = props;\n return (\n
    \n

    {description}

    \n
    \n
      \n
    • \n {institution}\n
    • \n
    • \n {biennium}\n
    • \n
    • \n {schedule}\n
    • \n
    • \n {status}\n
    • \n
    • \n {' '}\n {format(new Date(lastUpdated), 'M/d/y h:mm aa')}{' '}\n {lastUpdatedByUser ? 'by ' + lastUpdatedByUser : ''}\n
    • \n
    \n
    \n
    \n );\n};\n","import React, { useState, useEffect } from 'react';\n\nimport {\n Row,\n Col,\n FormGroup,\n Input,\n InputGroup,\n Button,\n Modal,\n ModalHeader,\n ModalBody,\n ModalFooter,\n} from 'reactstrap';\nimport { faDollarSign } from '@fortawesome/free-solid-svg-icons';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\n\nconst isObjectEmpty = obj => {\n return Object.keys(obj).length === 0 && obj.constructor === Object;\n};\n\nexport const EditPrepopulatedValueModal = ({\n isOpen,\n toggle,\n modalObject,\n setLineItemValues,\n setIsDataAudit,\n}) => {\n const [newValue, setNewValue] = useState(0);\n const [reasonForChange, setReasonForChange] = useState('');\n const [prepopulatedValue, setPrepopulatedValue] = useState(0);\n const closeBtn = (\n \n );\n\n useEffect(() => {\n setReasonForChange(\n !isObjectEmpty(modalObject)\n ? modalObject.value[modalObject.dataAuditName] ?? ''\n : ''\n );\n setPrepopulatedValue(\n !isObjectEmpty(modalObject)\n ? modalObject.value[modalObject.prepopName] ?? 0\n : 0\n );\n const oldValue = !isObjectEmpty(modalObject)\n ? modalObject.value[modalObject.valueName] ?? 0\n : 0;\n setNewValue(oldValue);\n }, [modalObject]);\n\n return (\n \n Edit Prepopulated Value\n \n \n \n \n

    {modalObject.dataItem}

    \n \n \n \n

    ${prepopulatedValue}

    \n \n
    \n \n \n \n
    \n \n \n \n
    \n {\n setNewValue(+e.target.value);\n }}\n />\n
    \n
    \n \n \n {\n setReasonForChange(evt.target.value);\n }}\n value={reasonForChange}\n />\n \n
    \n \n \n {\n const newLineItemMap = modalObject.newLineItemMap;\n const key = modalObject.key;\n const valueName = modalObject.valueName;\n const dataAuditName = modalObject.dataAuditName;\n newLineItemMap.get(key)[valueName] = newValue;\n newLineItemMap.get(key)[dataAuditName] = reasonForChange;\n setLineItemValues(newLineItemMap);\n setIsDataAudit(true);\n toggle();\n }}\n >\n Save\n {' '}\n \n
    \n );\n};\n","import React from 'react';\nimport { DataAuditTable } from './data-audit-table';\n\nimport { Button, Modal, ModalHeader, ModalBody, ModalFooter } from 'reactstrap';\n\nexport const DataAuditModal = ({\n isOpen,\n toggle,\n lineItemValues,\n biennium,\n isDataAudit,\n setIsDataAudit,\n}) => {\n const closeBtn = (\n \n );\n return (\n \n Data Audits\n \n \n \n \n \n \n \n );\n};\n","import React, { useEffect, useState } from 'react';\n// import PropTypes from 'prop-types';\nimport {\n Modal,\n ModalHeader,\n ModalBody,\n ModalFooter,\n FormGroup,\n Input,\n // Label,\n} from 'reactstrap';\nimport { LineItemService } from 'services';\nimport { Button } from 'components/blocks';\n\nconst radioButtonEnum = {\n TEXT: 'text',\n PDF: 'pdf',\n};\n\nexport const UpdateDescriptionModal = ({ isOpen, toggle, scheduleId }) => {\n const [radioButtonValue, setRadioButtonValue] = useState(radioButtonEnum.TEXT);\n const [description, setDescription] = useState('');\n const [error, setError] = useState(false);\n const [loading, setLoading] = useState(false);\n const [file, setFile] = useState();\n useEffect(() => {\n const fetch = async () => {\n const res = await LineItemService.getDescription(scheduleId);\n setDescription(res?.description || '');\n };\n if (isOpen) fetch();\n }, [isOpen]);\n const closeBtn = (\n \n );\n const onFileChange = event => {\n const newFile = event.target.files[0];\n setFile(newFile);\n };\n const handleChange = evt => {\n const newValue = evt.target.value;\n setDescription(newValue);\n };\n const onUpdate = async () => {\n setLoading(true);\n try {\n if (radioButtonValue === radioButtonEnum.TEXT) {\n const postBody = {\n description: description,\n };\n await LineItemService.uploadDescriptionText(scheduleId, postBody);\n } else {\n if (file) {\n const formData = new FormData();\n formData.append('myFile', file, file.name);\n LineItemService.uploadDescriptionPDF(scheduleId, formData);\n }\n }\n toggle();\n } catch (error) {\n setError(true);\n }\n setLoading(false);\n };\n return (\n \n Update Description\n \n \n {radioButtonValue === radioButtonEnum.TEXT ? (\n \n ) : (\n
    \n \n \n
    \n )}\n {error ? (\n

    There was an error

    \n ) : null}\n
    \n \n \n \n \n
    \n );\n};\n\nconst RadioButtons = ({ radioButtonValue, setRadioButtonValue }) => {\n const handleRadioButtonChange = evt => {\n const newValue =\n evt.target.value === radioButtonEnum.TEXT\n ? radioButtonEnum.TEXT\n : radioButtonEnum.PDF;\n setRadioButtonValue(newValue);\n };\n return (\n \n
    \n \n \n
    \n
    \n \n \n
    \n
    \n );\n};\n","import React from 'react';\n\nclass LoadingSpinner extends React.Component {\n\n render() {\n return(\n
    \n \"Loading...\"\n\n
    \n );\n }\n}\n\nexport { LoadingSpinner };\n","export const downloadCsv = (text, filename) => {\n let csv = 'data:text/csv;charset=utf-8,' + text;\n let data = encodeURI(csv);\n let a = document.createElement('a');\n document.body.appendChild(a);\n a.style = 'display: none';\n a.href = data;\n a.download = `${filename}.csv`;\n a.click();\n a.remove();\n};\n\nexport const downloadExcel = (data, filename) => {\n var reader = new FileReader();\n var blob = new Blob([data], {\n type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',\n });\n reader.readAsDataURL(blob);\n reader.onloadend = function(e) {\n let a = document.createElement('a');\n document.body.appendChild(a);\n a.style = 'display: none';\n a.href = reader.result;\n a.download = `${filename}.xls`;\n a.click();\n a.remove();\n };\n};\n","import React, { useState, useEffect, useReducer, useMemo } from 'react';\nimport { LineItemService } from 'services';\nimport { Container, Card, Row } from 'reactstrap';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { useLocation } from 'react-router-dom';\nimport _groupBy from 'lodash/groupBy';\nimport {\n faHistory,\n faArrowLeft,\n faDownload,\n faFileExport,\n faFilePdf,\n faPencilAlt,\n faTrashAlt,\n} from '@fortawesome/free-solid-svg-icons';\nimport {\n Footer,\n HeaderCard,\n SummaryBudgetRequestTable,\n EditPrepopulatedValueModal,\n DataAuditModal,\n UpdateDescriptionModal,\n} from './components';\nimport { DropdownButton } from 'components/blocks';\nimport { downloadExcel, downloadCsv } from 'helpers';\nimport { UrlEnum, ConfirmActionModal } from 'shared';\n\nconst reducer = (state, newState) => ({ ...state, ...newState });\nconst INITIAL_FORM = {\n bienniums: [],\n institutions: [],\n schedules: [],\n};\n\nexport const LineItemsBudget = () => {\n const location = useLocation();\n const { row } = location?.state;\n const { scheduleId, scheduleDescription, lastUpdated, lastUpdatedByUser } = row;\n const [options, setOptions] = useReducer(reducer, {\n fileTypes: [],\n bienniums: [],\n institutions: [],\n statuses: [],\n schedules: [],\n });\n const [budgetSchedule, setBudgetSchedule] = useState(null);\n const [lineItemValues, setLineItemValues] = useState([]);\n const [lineItemCategories, setLineItemCategories] = useState([]);\n const [isEditPrePopulatedModalOpen, setIsEditPrePopulatedModalOpen] = useState(false);\n const [isDataAuditModalOpen, setIsDataAuditModalOpen] = useState(false);\n const [modalObject, setModalObject] = useState({});\n const [mapOfTotals, setMapOfTotals] = useState([]);\n const [isDataAudit, setIsDataAudit] = useState(false);\n const [isUpdateModalOpen, setIsUpdateModalOpen] = useState(false);\n const [isDeleteModalOpen, setIsDeleteModalOpen] = useState(false);\n const fetchBudgetSchedule = async () => {\n if (scheduleId) {\n const res = await LineItemService.getBudgetScheduleWithId(scheduleId);\n setBudgetSchedule(res);\n const lineItemValueMap = new Map();\n res.scheduleData.forEach(detail => {\n lineItemValueMap.set(detail.lineItemName, detail);\n });\n const groups = _groupBy(res.scheduleData, 'lineItemCategoryName');\n const categories = Object.keys(groups).map(prop => {\n return {\n lineItemCategoryName: prop,\n lineItems: groups[prop],\n };\n });\n setLineItemValues(lineItemValueMap);\n setLineItemCategories(categories);\n }\n };\n useEffect(() => {\n const fetch = async () => {\n const res = await Promise.all([\n LineItemService.getExportTypes(),\n LineItemService.getBienniums(),\n LineItemService.getInstitutions(),\n LineItemService.getStatuses(),\n LineItemService.getTypes(),\n ]);\n setOptions({\n fileTypes: res[0]?.fileTypes,\n bienniums: res[1],\n institutions: res[2],\n statuses: res[3],\n schedules: res[4],\n });\n };\n fetch();\n }, []);\n useEffect(() => {\n fetchBudgetSchedule();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [scheduleId]);\n const exportAs = async type => {\n try {\n const filename = `LineItem - ${scheduleId}`;\n const res = await LineItemService.downloadLineItem(type, scheduleId);\n if (type === 'Excel') {\n downloadExcel(res, filename);\n } else if (type === 'Csv') {\n downloadCsv(res, filename);\n }\n } catch (error) {}\n };\n const sanitizeInput = () => {\n const scheduleData = [];\n // eslint-disable-next-line array-callback-return\n budgetSchedule.scheduleData.forEach(detailList => {\n scheduleData.push(lineItemValues.get(detailList.lineItemName));\n });\n return {\n ...budgetSchedule,\n scheduleData,\n };\n };\n const labels = useMemo(() => {\n if (budgetSchedule)\n return {\n biennium:\n options?.bienniums?.find(d => d.id === budgetSchedule.biennium)\n ?.name || '---',\n institution:\n options?.institutions?.find(\n d => d.value === budgetSchedule.cheFinanceUnitId\n )?.label || '---',\n schedule:\n options?.schedules?.find(d => d.id === budgetSchedule.scheduleTypeId)\n ?.name || '---',\n status:\n options?.statuses?.find(d => d.id === budgetSchedule.scheduleStatusId)\n ?.name || '---',\n };\n return {\n biennium: '---',\n institution: '---',\n schedule: '---',\n status: '---',\n };\n }, [budgetSchedule, options]);\n const disabled = budgetSchedule?.scheduleEditStatusId === 0;\n return (\n \n
    \n \n back to search\n \n
    \n \n Download\n \n ),\n onClick: () =>\n LineItemService.getDescription(scheduleId, true),\n },\n {\n label: (\n <>\n Update\n \n ),\n onClick: () => setIsUpdateModalOpen(true),\n },\n ]}\n />\n {\n return { label: type, onClick: () => exportAs(type) };\n })}\n />\n setIsDeleteModalOpen(true)}\n >\n Delete Schedule\n \n
    \n
    \n\n \n
    \n \n {isDataAudit ? (\n setIsDataAuditModalOpen(true)}\n className=\"btn btn-sm btn-outline-primary mb-3\"\n >\n View Data Audits\n \n ) : null}\n\n \n {budgetSchedule ? (\n \n \n\n {!disabled && (\n \n )}\n \n ) : null}\n \n
    \n
    \n \n setIsEditPrePopulatedModalOpen(!isEditPrePopulatedModalOpen)\n }\n setLineItemValues={setLineItemValues}\n setIsDataAudit={setIsDataAudit}\n />\n setIsDataAuditModalOpen(!isDataAuditModalOpen)}\n biennium={labels?.biennium}\n lineItemValues={lineItemValues}\n isDataAudit={isDataAudit}\n setIsDataAudit={setIsDataAudit}\n />\n setIsDeleteModalOpen(!isDeleteModalOpen)}\n header={`Confirm Delete`}\n message={'Are you sure you want to delete this line item?'}\n acceptButtonText={'Delete'}\n acceptFunction={() => {\n LineItemService.deleteLineItemWithId(scheduleId).then(\n (window.location.href = UrlEnum.LINEITEMSEARCH)\n );\n }}\n acceptButtonCss=\"btn btn-danger\"\n />\n setIsUpdateModalOpen(!isUpdateModalOpen)}\n scheduleId={scheduleId}\n />\n
    \n );\n};\n","import React from 'react';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport format from 'date-fns/format';\nimport { faFile } from '@fortawesome/free-solid-svg-icons';\nimport { TooltipWrapper } from 'components/blocks';\n\nconst getWidthStyle = width => ({ width, minWidth: width, maxWidth: width });\n\nconst link = (cell, row, rowIndex, formatExtraData) => {\n return (\n \n {\n formatExtraData.onLink({ row, duplicate: formatExtraData.duplicate });\n }}\n >\n {cell}\n \n \n );\n};\n\nconst date = (cell, row) => {\n const date = new Date(row.dateRequestRan);\n return format(date, 'MM/dd/yyyy');\n};\n\nconst number = cell => {\n return cell.toString().replace(/\\B(? [\n {\n dataField: 'linkRequestID',\n text: 'ID',\n sort: true,\n headerStyle: getWidthStyle(55),\n },\n {\n dataField: 'dataSetSource',\n text: 'Data Set Source',\n sort: true,\n headerStyle: { minWidth: 225 },\n },\n {\n dataField: 'campus',\n text: 'Data Source Name',\n sort: true,\n headerStyle: { minWidth: 225 },\n },\n {\n dataField: 'dateRequestRan',\n text: 'Data Request Ran',\n sort: true,\n formatter: date,\n headerStyle: getWidthStyle(100),\n },\n {\n dataField: 'totalRecordN',\n text: 'Total Records',\n sort: true,\n formatter: number,\n headerStyle: getWidthStyle(100),\n },\n {\n dataField: 'autoLinkN',\n text: 'Auto Link',\n sort: true,\n formatter: number,\n headerStyle: getWidthStyle(100),\n },\n {\n dataField: 'autoNonLinkN',\n text: 'Auto Non-Link',\n sort: true,\n formatter: number,\n headerStyle: getWidthStyle(100),\n },\n {\n dataField: 'possibleLinkN',\n text: 'Possible Link',\n sort: true,\n formatter: number,\n headerStyle: getWidthStyle(100),\n },\n {\n dataField: 'plNeedReviewN',\n text: 'PL Need Review',\n classes: 'text-center',\n sort: true,\n formatter: link,\n headerStyle: getWidthStyle(100),\n formatExtraData: { ...props, duplicate: false },\n },\n {\n dataField: 'nonLinkDupN',\n text: 'Non-Link Dup',\n classes: 'text-center',\n sort: true,\n formatter: link,\n headerStyle: getWidthStyle(100),\n formatExtraData: { ...props, duplicate: true },\n },\n {\n dataField: 'nldUnassignedN',\n text: 'NLD Unassigned',\n sort: true,\n headerStyle: getWidthStyle(100),\n },\n];\n","import React from 'react';\n\nconst record = (cell, row, rowIndex, formatExtraData) => {\n return (\n \n
    \n {row.firstName} {row.lastName}\n
    \n
      \n
    • \n {row.id}\n
    • \n
    • \n {row.reviewed === 'Link' && (\n <>\n Link\n \n )}\n {row.reviewed === 'Non-Link' && (\n <>\n Non-Link\n \n )}\n {row.reviewed === 'Needs Review' && (\n <>\n Needs Review\n \n )}\n
    • \n
    \n \n );\n};\n\nexport const Records = props => [\n {\n dataField: 'id',\n text: '',\n formatter: record,\n formatExtraData: props,\n classes: 'nav-item',\n },\n];\n","import { format } from 'date-fns';\nimport React from 'react';\nimport { Input } from 'reactstrap';\n\nconst getGender = (val, options) => {\n return options.find(opt => opt.genderCode === val)?.genderDesc;\n};\n\nconst getRace = (val, options) => {\n return options.find(opt => opt.raceCode === val)?.raceDesc;\n};\n\nconst checkMatch = (data, fieldName) => {\n if (data[fieldName] == 255) {\n return 'match';\n } else if (data[fieldName] == 1) {\n return 'mismatch';\n } else if (data[fieldName] != 0) {\n return 'mayMatch';\n }\n return 'noClassMatch';\n};\n\nconst getWidthStyle = width => ({ width, minWidth: width, maxWidth: width });\n\nexport const ReviewHeader = ({ duplicate }) => {\n return (\n \n \n \n
    ID
    \n \n \n
    \n Last Four SSN\n
    \n \n \n
    First Name
    \n \n \n
    Middle Name
    \n \n \n
    Last Name
    \n \n \n
    \n Alt. Last Name\n
    \n \n \n
    DOB
    \n \n \n
    Gender
    \n \n \n
    Race
    \n \n \n
    HS CEEB Code
    \n \n \n
    HS Name
    \n \n \n
    HS City
    \n \n \n
    HS Grad Yr
    \n \n \n
    Score
    \n \n \n
    \n {duplicate ? 'Dup. Group Num.' : 'Select One'}\n
    \n \n \n \n );\n};\n\nexport const ReviewRow = props => {\n const { data, races, genders } = props;\n console.log(data);\n return (\n \n {data.id}\n {data.last4SSN}\n {data.firstName}\n {data.middleName}\n {data.lastName}\n \n {data.dob ? format(new Date(data.dob), 'MM/dd/yyyy') : ''}\n {getGender(data.gender, genders)}\n {getRace(data.race, races)}\n {data.highSchoolCeebcode}\n {data.hsName}\n {data.hsCity}\n {data.highSchoolGraduationYear}\n \n \n \n );\n};\n\nexport const DuplicateRow = props => {\n const { data, races, genders, setDuplicate } = props;\n return (\n \n {data.id}\n {data.last4SSN}\n {data.firstName}\n {data.middleName}\n {data.lastName}\n \n {data.dob ? format(new Date(data.dob), 'MM/dd/yyyy') : ''}\n {getGender(data.gender, genders)}\n {getRace(data.race, races)}\n \n \n \n \n \n \n setDuplicate(e.target.value, data)}\n style={{ width: 70 }}\n />\n \n \n );\n};\n\nexport const EditRow = props => {\n const { data, races, genders, match, setActive, active } = props;\n return (\n \n {data.id}\n {data.last4SSN}\n {data.firstName}\n {data.middleName}\n {data.lastName}\n {data.altLastName}\n \n {data.dateOfBirth ? format(new Date(data.dateOfBirth), 'MM/dd/yyyy') : ''}\n \n \n {getGender(data.gender, genders)}\n \n {getRace(data.race, races)}\n \n {data.hsceebCode}\n \n {data.hsName}\n {data.hsCity}\n {data.hsGradYear}\n \n
    {data.score.toFixed(2)}
    \n \n setActive(data.id)}\n style={{ cursor: 'pointer' }}\n >\n \n \n \n );\n};\n\nexport const NoMatchRow = props => {\n const { setActive, active } = props;\n return (\n \n \n
    No Match (Non-Link)
    \n \n {\n setActive('-1');\n }}\n >\n \n \n \n );\n};\n","import React, { useEffect, useState } from 'react';\nimport { Card, Container, Row } from 'reactstrap';\nimport { useHistory } from 'react-router';\nimport BootstrapTable from 'react-bootstrap-table-next';\nimport paginationFactory from 'react-bootstrap-table2-paginator';\n\nimport { recordLinkingService } from 'services';\nimport { UrlEnum } from 'shared';\nimport { Columns } from './components';\n\nconst paginationOptions = {\n showTotal: true,\n firstPageText: 'First',\n prePageText: 'Previous',\n nextPageText: 'Next',\n lastPageText: 'Last',\n sizePerPage: 15,\n hideSizePerPage: true,\n};\n\nexport const RecordLinking = props => {\n const history = useHistory();\n const [data, setData] = useState([]);\n const [genders, setGenders] = useState([]);\n const [races, setRaces] = useState([]);\n useEffect(() => {\n const fetch = async () => {\n try {\n const res = await recordLinkingService.getRecords();\n const codes = await recordLinkingService.getRaceAndGenderCodes();\n setData(res);\n setGenders(codes?.genderList || []);\n setRaces(codes?.raceList || []);\n } catch (error) {}\n };\n fetch();\n }, []);\n const onLink = state => {\n const location = {\n pathname: UrlEnum.LINK_REVIEW,\n state: { ...state, genders, races },\n };\n history.push(location);\n };\n return (\n \n \n
    \n

    Current Active Link Requests

    \n \n
    \n \n
    \n
    \n
    \n
    \n
    \n );\n};\n","import React, { useEffect, useMemo, useState } from 'react';\nimport { Card, Container, Row } from 'reactstrap';\nimport format from 'date-fns/format';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport BootstrapTable from 'react-bootstrap-table-next';\nimport paginationFactory from 'react-bootstrap-table2-paginator';\nimport {\n faArrowLeft,\n faFile,\n faArrowRight,\n faSearch,\n} from '@fortawesome/free-solid-svg-icons';\nimport { recordLinkingService } from 'services';\nimport { UrlEnum } from 'shared';\nimport {\n Records,\n ReviewHeader,\n ReviewRow,\n EditRow,\n NoMatchRow,\n DuplicateRow,\n} from './components';\nimport { Button } from 'components/blocks';\n\nconst paginationOptions = {\n showTotal: true,\n firstPageText: 'First',\n prePageText: 'Previous',\n nextPageText: 'Next',\n lastPageText: 'Last',\n sizePerPage: 10,\n hideSizePerPage: true,\n};\n\nexport const LinkReview = props => {\n const [data, setData] = useState({});\n const [loading, setLoading] = useState(false);\n const [current, setCurrent] = useState(null);\n const [record, setRecord] = useState([]);\n const [active, setActive] = useState('-1');\n const [needReviewN, setNeedReviewN] = useState(0);\n const { duplicate, row, races, genders } = props?.location?.state || {};\n useEffect(() => {\n const fetch = async () => {\n try {\n let res;\n if (duplicate) {\n res = await recordLinkingService.getRecordDuplicate(\n row.linkRequestID\n );\n } else {\n res = await recordLinkingService.getRecordManual(row.linkRequestID);\n }\n const dataWIndex = {\n ...res,\n records: res.records.map((r, i) => ({ ...r, index: i })),\n };\n const firstNeedsReviewRecord = dataWIndex.records.find(\n record => record.reviewed === 'Needs Review'\n );\n setNeedReviewN(\n dataWIndex.records.filter(\n record => record.reviewed === 'Needs Review'\n ).length\n );\n if (firstNeedsReviewRecord) {\n setCurrent(firstNeedsReviewRecord);\n } else {\n setCurrent(duplicate ? dataWIndex.records : dataWIndex.records[0]);\n }\n setData(dataWIndex);\n } catch (error) {}\n };\n fetch();\n }, []);\n useEffect(() => {\n const fetch = async () => {\n try {\n updateNeedReview();\n } catch (error) {}\n };\n fetch();\n }, [data]);\n useEffect(() => {\n const fetchRecord = async user => {\n try {\n const val = await recordLinkingService.getReviewRecord(\n row.linkRequestID,\n user.id\n );\n const found = val.find(v => v.selected);\n setActive(found?.id || '-1');\n setRecord(val);\n } catch (error) {}\n };\n if (current && !duplicate) {\n fetchRecord(current);\n }\n }, [row, current, duplicate]);\n const submitLink = async () => {\n try {\n await recordLinkingService.submitRecordLink(\n row?.linkRequestID,\n current?.id,\n active\n );\n setData(prevData => {\n const updatedRecords = prevData.records.map(record => {\n if (record.id === current?.id) {\n return {\n ...record,\n reviewed: active === '-1' ? 'Non-Link' : 'Link',\n };\n }\n return record;\n });\n return {\n ...prevData,\n records: updatedRecords,\n };\n });\n getNextReviewRecord();\n } catch (error) {}\n };\n const skipRecord = async () => {\n try {\n getNextReviewRecord();\n } catch (error) {}\n };\n\n const getNextReviewRecord = () => {\n const nextIndex = data.records.findIndex(\n (record, index) => record.reviewed === 'Needs Review' && index > current.index\n );\n\n if (nextIndex !== -1) {\n const nextRecord = data.records[nextIndex];\n setCurrent(nextRecord);\n } else {\n console.log('No more records needing review.');\n }\n };\n const submitDuplicates = async () => {\n setLoading(true);\n try {\n const promises = current.map(record => {\n return recordLinkingService.submitDuplicate(\n row.linkRequestID,\n record.id,\n record.dupGroupNum\n );\n });\n await Promise.all(promises);\n } catch (error) {}\n setLoading(false);\n };\n const setDuplicate = (val, d) => {\n setCurrent(prev =>\n prev.map(p => {\n if (p.id === d.id) {\n return { ...p, dupGroupNum: val };\n }\n return p;\n })\n );\n };\n const rowEvents = {\n onClick: (e, row, rowIndex) => {\n e.preventDefault();\n setCurrent(row);\n },\n };\n const {\n linkRequestID,\n campus,\n dataSetSource,\n dateRequestRan,\n totalRecordN,\n plNeedReviewN,\n autoLinkN,\n autoNonLinkN,\n } = row || {};\n const { autoLinkCutoffScore, possibleLinkCutoffScore, records = [] } = data;\n const updateNeedReview = () => {\n const needRevN = data.records.filter(record => record.reviewed === 'Needs Review')\n .length;\n setNeedReviewN(needRevN);\n };\n return (\n \n \n \n
    \n \n
    \n
    \n

    \n {totalRecordN} Total\n Records\n

    \n
    \n
    \n

    \n {needReviewN} Need\n Review\n

    \n
    \n
    \n

    \n {autoLinkN}{' '}\n Links\n

    \n
    \n
    \n

    \n {' '}\n {autoNonLinkN} Non-Links\n

    \n
    \n
    \n
      \n
    • \n {linkRequestID}\n
    • \n
    • \n {campus}\n
    • \n
    • \n {' '}\n {dateRequestRan\n ? format(new Date(dateRequestRan), 'MM/dd/yyyy')\n : '---'}\n
    • \n
    • \n {' '}\n {dataSetSource}\n
    • \n
    • \n {' '}\n {autoLinkCutoffScore || '---'}\n
    • \n
    • \n {' '}\n {possibleLinkCutoffScore || '---'}\n
    • \n
    \n
    \n \n {!duplicate && (\n
    \n \n \n
    \n
    \n
    \n )}\n
    \n \n
    \n \n \n {duplicate ? (\n \n {current?.map(row => {\n return (\n \n );\n })}\n \n ) : (\n \n {current && (\n \n )}\n {record?.map(rec => (\n \n ))}\n \n \n )}\n
    \n
    \n
    \n {duplicate ? (\n
    \n \n Save Duplicate Group Numbers\n \n
    \n ) : (\n <>\n
    \n \n Save & Go to Next Record{' '}\n \n \n
    \n
    \n \n
    \n \n )}\n
    \n
    \n
    \n
    \n
    \n );\n};\n","import React, { useState, useEffect } from 'react';\nimport { Card, Button, UncontrolledPopover, PopoverBody } from 'reactstrap';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { faCopy, faSearchPlus } from '@fortawesome/free-solid-svg-icons';\nimport { useHistory } from 'react-router-dom';\nimport BootstrapTable from 'react-bootstrap-table-next';\nimport paginationFactory from 'react-bootstrap-table2-paginator';\nimport { UrlEnum } from 'shared';\nimport { budgetRunService } from 'services';\n\nconst getWidthStyle = width => ({ width, minWidth: width, maxWidth: width });\n\nexport const BudgetRunSearchTable = ({ budgetRun, searchObject }) => {\n const statusMap = new Map();\n statusMap.set(1, 'Has Not Been Run');\n statusMap.set(3, 'Run Complete');\n statusMap.set(4, 'Finalized');\n const [statusTableDataMap, setStatusTableDataMap] = useState(new Map());\n const [activeTab, setActiveTab] = useState('Has Not Been Run');\n const history = useHistory();\n\n const getStatusTableData = async () => {\n [...statusMap.keys()].forEach(async statusNumber => {\n const statusString = statusMap.get(statusNumber);\n const singleStatusSearchObject = {\n ...searchObject,\n status: statusNumber,\n };\n const singleStatusTableData = await budgetRunService.searchBudgetRuns(\n singleStatusSearchObject\n );\n if (statusNumber === 0) {\n setActiveTab(statusString);\n }\n setStatusTableDataMap(\n new Map(statusTableDataMap.set(statusString, singleStatusTableData ?? []))\n );\n });\n };\n\n useEffect(() => {\n getStatusTableData();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [searchObject]);\n\n const rowEvents = {\n // onClick: (e, row, rowIndex) => {\n // const budgetRunID = row.budgetRunID;\n // const location = {\n // pathname: UrlEnum.BUDGETRUN,\n // state: [{ budgetRunId: budgetRunID }], //can change back to 557 for testing purposes\n // };\n // history.push(location);\n // },\n };\n const actions = (cell, row, rowIndex, formatExtraData) => {\n //far fa-copy\n return (\n
    \n {activeTab === 'Finalized' ? (\n \n budgetRunService.downloadBudgetRun('excel', row.budgetRunID)\n }\n >\n \n XLS\n \n \n \n ) : null}\n\n {\n const budgetRunID = row.budgetRunID;\n\n const location = {\n pathname: UrlEnum.BUDGETRUN,\n state: [{ budgetRunId: budgetRunID }],\n };\n\n history.push(location);\n }}\n >\n \n view\n \n \n \n
    \n );\n };\n const columns = [\n {\n dataField: 'bienniumDescription',\n text: 'Biennium',\n sort: true,\n headerStyle: getWidthStyle(140),\n },\n {\n dataField: 'budgetRunTitle',\n text: 'Title',\n sort: true,\n headerStyle: { minWidth: 250 },\n },\n {\n dataField: 'lastUpdated',\n text: 'Last Updated/Run',\n sort: true,\n headerStyle: getWidthStyle(140),\n },\n {\n dataField: 'owner',\n text: 'Owned By',\n sort: true,\n headerStyle: getWidthStyle(200),\n },\n {\n dataField: 'action',\n text: 'Actions',\n formatter: actions,\n headerStyle: getWidthStyle(80),\n },\n // {\n // \tdataField: 'action',\n // \ttext: ,\n // \tisDummyField: true,\n // },\n ];\n const options = {\n showTotal: true,\n firstPageText: 'First',\n prePageText: 'Previous',\n nextPageText: 'Next',\n lastPageText: 'Last',\n sizePerPage: 10,\n hideSizePerPage: true,\n };\n\n const TableNavigator = () => {\n return (\n \n
    \n
      \n {[...statusTableDataMap.keys()].map(statusString => {\n const singleTableData = statusTableDataMap.get(statusString);\n\n return (\n
    • \n {\n setActiveTab(statusString);\n }}\n >\n {statusString}{' '}\n \n ({singleTableData.count})\n \n
    \n \n );\n })}\n \n \n
    \n );\n };\n\n const StatusTable = () => {\n if (statusTableDataMap) {\n return [...statusTableDataMap.keys()].map(key => {\n const value = statusTableDataMap.get(key);\n if (key === activeTab) {\n return value.count > 0 ? (\n {\n const newLastUpdateDate = new Date(bRun.lastUpdated);\n bRun.lastUpdated = newLastUpdateDate.toLocaleDateString();\n return bRun;\n })}\n columns={columns}\n striped\n hover\n pagination={paginationFactory(options)}\n rowEvents={rowEvents}\n // defaultSorted={defaultSorted}\n />\n ) : (\n
    No Schedules Found
    \n );\n } else {\n return null;\n }\n });\n } else {\n return
    No Schedules Found!
    ;\n }\n };\n\n return (\n \n
    \n
    \n

    Budget Runs

    \n
    \n
    \n \n \n
    \n \n
    \n
    \n
    \n );\n};\n","import React, { useState, useReducer } from 'react';\n\nimport {\n FormGroup,\n Label,\n Input,\n Button,\n Form,\n Modal,\n ModalHeader,\n ModalBody,\n ModalFooter,\n} from 'reactstrap';\nimport { useHistory } from 'react-router-dom';\nimport AsyncSelect from 'react-select/async';\nimport { budgetRunService, financeService } from 'services';\nimport { onChangeFunction } from 'shared';\n\nexport const CreateBudgetRunModal = ({ isOpen, toggle }) => {\n const history = useHistory();\n const [error, setError] = useState(false);\n const [userInput, setUserInput] = useReducer(\n (state, newState) => ({ ...state, ...newState }),\n {\n bienniumModalValue: [],\n budgetRunTitle: '',\n copyFrom: [],\n }\n );\n\n const [bienniums] = useState(financeService.getAllBienniums);\n\n const loadModalBienniums = () =>\n Promise.resolve(bienniums).then(allBienniums => {\n return allBienniums;\n });\n\n const loadCopyFrom = async () => {\n const biennium = +userInput.bienniumModalValue.value;\n if (biennium) {\n const singleStatusSearchObject = {\n bienniums: +userInput.bienniumModalValue.value,\n title: null,\n status: null,\n includeAll: true,\n };\n const searchResults = await budgetRunService.searchBudgetRuns(\n singleStatusSearchObject\n );\n const budgetRuns = searchResults.budgetRuns;\n const budgetRunTitleArray = budgetRuns.map(budgetrun => {\n return { value: budgetrun.budgetRunID, label: budgetrun.budgetRunTitle };\n });\n return new Promise(resolve => {\n resolve(budgetRunTitleArray);\n });\n } else {\n return new Promise(resolve => {\n resolve([]);\n });\n }\n };\n\n const createBudgetRun = () => {\n const postData = {\n Biennium: +userInput.bienniumModalValue.value,\n BudgetRunTitle: userInput.budgetRunTitle,\n CreateFromRunID: +userInput.copyFrom.value,\n };\n if (userInput.budgetRunTitle && userInput.budgetRunTitle !== '') {\n budgetRunService.createNewBudgetRun(postData, history);\n toggle();\n } else {\n setError(true);\n }\n };\n\n const closeBtn = (\n \n );\n\n return (\n \n Create New Budget Run\n \n
    \n \n \n {\n onChangeFunction.handleAsyncSelectChange(\n valueObj,\n options,\n setUserInput\n );\n }}\n name=\"bienniumModalValue\"\n value={userInput.bienniumModalValue}\n loadOptions={loadModalBienniums}\n components={{\n IndicatorSeparator: () => null,\n }}\n />\n \n \n \n \n onChangeFunction.handleChange(evt, setUserInput)\n }\n name=\"budgetRunTitle\"\n value={userInput.budgetRunTitle}\n required\n />\n \n {error ?

    Budget run title can not be empty

    : null}\n \n \n \n onChangeFunction.handleAsyncSelectChange(\n valueObj,\n options,\n setUserInput\n )\n }\n name=\"copyFrom\"\n value={userInput.copyFrom}\n loadOptions={loadCopyFrom}\n components={{\n IndicatorSeparator: () => null,\n }}\n />\n \n
    \n
    \n \n \n {' '}\n \n
    \n );\n};\n","import React, { useState, useEffect, useReducer } from 'react';\nimport PropTypes from 'prop-types';\n\nimport { FormGroup, Input, Button, Card } from 'reactstrap';\n\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { faSearch, faPlus } from '@fortawesome/free-solid-svg-icons';\nimport AsyncSelect from 'react-select/async';\nimport { onChangeFunction } from 'shared';\nimport { CreateBudgetRunModal } from './create-budget-run-modal';\nimport { budgetRunService, financeService } from 'services';\n\nexport const SearchBudgetRunForm = ({ setBudgetRun, searchObject, setSearchObject }) => {\n const allValue = { value: 'all', label: 'All' };\n const [isModalOpen, setIsModalOpen] = useState(false);\n const toggle = () => setIsModalOpen(!isModalOpen);\n\n const [userInput, setUserInput] = useReducer(\n (state, newState) => ({ ...state, ...newState }),\n {\n bienniumSearchValue: allValue,\n budgetRunTitle: '',\n }\n );\n const [bienniums] = useState(financeService.getAllBienniums);\n const loadBienniums = () =>\n Promise.resolve(bienniums).then(allBienniums => {\n if (!allBienniums.includes(allValue)) {\n allBienniums.unshift(allValue);\n }\n return allBienniums;\n });\n\n useEffect(() => {\n const getBudgetRuns = async () => {\n const res = await budgetRunService.searchBudgetRuns(searchObject);\n setBudgetRun(res.budgetRuns ?? []);\n };\n getBudgetRuns();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const submitForm = () => {\n const actualBienniumValue =\n userInput.bienniumSearchValue.value === allValue.value\n ? null\n : +userInput.bienniumSearchValue.value;\n\n const searchPostData = {\n ...searchObject,\n bienniums: actualBienniumValue,\n title:\n userInput.budgetRunTitle || userInput.budgetRunTitle !== ''\n ? userInput.budgetRunTitle\n : null,\n };\n setSearchObject(searchPostData);\n };\n\n return (\n
    \n setIsModalOpen(true)}\n >\n Create New Budget Run\n \n \n

    Search Budget Runs

    \n \n \n \n onChangeFunction.handleAsyncSelectChange(\n valueObj,\n options,\n setUserInput\n )\n }\n name=\"bienniumSearchValue\"\n value={userInput.bienniumSearchValue}\n loadOptions={loadBienniums}\n components={{\n IndicatorSeparator: () => null,\n }}\n />\n \n \n \n onChangeFunction.handleChange(evt, setUserInput)}\n name=\"budgetRunTitle\"\n value={userInput.budgetRunTitle}\n required\n />\n \n {\n submitForm();\n }}\n >\n Search\n \n
    \n \n
    \n );\n};\n\nSearchBudgetRunForm.propTypes = {\n setBudgetRun: PropTypes.func.isRequired,\n};\n","import { faArrowLeft, faArrowRight, faSave } from '@fortawesome/free-solid-svg-icons';\nimport React from 'react';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { budgetRunService } from '../../../../../services/finance-pages-services/budget-run.service';\n\nexport const WizardFooter = ({ nextStep, prevStep, isGeneralInfo, isSubmit, sanitizeBudgetRun, setBudgetRun }) => {\n const saveForm = async () => {\n setBudgetRun(await budgetRunService.saveBudgetRun(sanitizeBudgetRun()));\n };\n const previousForm = () => {\n prevStep();\n };\n const nextFormAndSave = () => {\n saveForm();\n nextStep();\n };\n const saveButton = (\n \n );\n const previousButton = (\n \n Previous\n \n );\n const nextButton = (\n \n );\n\n const showSaveButton = () => {\n return isSubmit ? null : saveButton;\n };\n const showPreviousButton = () => {\n return isGeneralInfo ? null : previousButton;\n };\n const showNextButton = () => {\n return isSubmit ? null : nextButton;\n };\n return (\n
    \n {showSaveButton()}\n
    \n {showPreviousButton()}\n {showNextButton()}\n
    \n
    \n );\n};\n","import React, { useReducer } from 'react';\nimport { Form, Input } from 'reactstrap';\nimport { WizardFooter } from './wizard-footer';\nimport Select from 'react-select';\n\nexport const Base = ({ budgetRun, setBudgetRun, prevStep, nextStep }) => {\n const [userInput, setUserInput] = useReducer(\n (state, newState) => ({ ...state, ...newState }),\n {\n id: budgetRun.budgetRunID,\n tabNumber: 3,\n projectName: budgetRun.budgetRunTitle ? budgetRun.budgetRunTitle : '',\n opsBase: budgetRun.opsBase,\n }\n );\n // const handleChange = evt => {\n // const name = evt.target.name;\n // const newValue = evt.target.value;\n // budgetRun[name] = newValue;\n // setUserInput({ [name]: newValue });\n // };\n // const handleRadioButtonChange = evt => {\n // const name = evt.target.name;\n // const newValue = evt.target.value === 'true' ? true : false;\n // budgetRun[name] = newValue;\n // setUserInput({ [name]: newValue });\n // };\n\n const sanitizeBudgetRun = () => {\n budgetRun.opsBase = userInput.opsBase;\n return budgetRun;\n };\n\n const handleTableChange = (event, index, inputTypeChanged) => {\n const headerValue = userInput.opsBase[index];\n const withoutCommas = event.target.value.replaceAll(',', '');\n headerValue[inputTypeChanged] = +withoutCommas ?? 0;\n //setChangedTotals();\n budgetRun.opsBase = [...userInput.opsBase];\n setUserInput({ opsBase: [...userInput.opsBase] });\n };\n\n const handleTypeSelectChange = (evt, index) => {\n const headerValue = userInput.opsBase[index];\n headerValue['fundingType'] = evt.val;\n budgetRun.opsBase = [...userInput.opsBase];\n setUserInput({ opsBase: [...userInput.opsBase] });\n };\n\n const renderFundingTypeDropdown = (type, index) => {\n if (type === 1) {\n const typeOptions = [{ label: 'PFF', value: 1 }];\n\n return (\n \n \n Choose File\n \n \n {file && (\n
    \n \n {file.name}\n
    \n )}\n \n {/*
    \n
      \n
    1. \n Create data file per file specification found{' '}\n here. Each valid data share file transmission\n will create a new data share request. A data\n share request will be accessible ONLY to the user that\n transmitted the given data share file. NOTE: A data share file\n has a maximum limit of 100,000 records per file.\n
    2. \n
    3. \n Name the file DS.csv\n
    4. \n
    5. \n (Optional Step) Create a\n zip file contatining the file created in steps 1 through 2. A\n zip file allows for compression of file for a quicker upload.\n The zip file can have any name but must have a \".zip\" file\n extension.\n
    6. \n
    7. \n Select the file created in steps 1 through 2 OR the zip file\n created in step 3. Once the file is selected press the\n \"Transmit File\" button.\n
    8. \n
    9. \n Wait for upload to complete and review results of the file\n transmission.\n
    10. \n
    \n
    \n \n \n Choose File\n \n
    \n
    */}\n \n \n \n \n Transmit File\n \n \n \n );\n};\n","import React, { useCallback, useEffect, useReducer, useState } from 'react';\nimport { Card, Container, Row, Input, Alert } from 'reactstrap';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport {\n faFileExport,\n faMagic,\n faSearch,\n faUpload,\n} from '@fortawesome/free-solid-svg-icons';\nimport BootstrapTable from 'react-bootstrap-table-next';\nimport _isEmpty from 'lodash/isEmpty';\nimport queryString from 'query-string';\nimport paginationFactory from 'react-bootstrap-table2-paginator';\n\nimport { ErrorColumns, SubmissionColumns, TransmissionModal } from './components';\nimport { Button, FormSelect } from '../blocks';\nimport { onChangeFunction, usePermissions, useToastState } from 'shared';\nimport { generateReportService, dataSubmissionService } from 'services';\nimport { downloadCsv } from 'helpers';\nimport { ToastAlert } from 'components/toast/toast';\nimport { ErrorAlert } from 'components/error/error';\n\nconst deriveKey = (array = [], key = 'key') => {\n if (array == null) return [];\n return array.map(d => d[key]);\n};\nconst getOptionLabel = d => d.value;\nconst convertToValue = d => ({ ...d, value: d.name });\nconst statusToValue = d => ({ ...d, value: d.submissionStatusDesc, id: 'submission' });\nconst transmissionToValue = d => ({\n ...d,\n value: d.transmissionStatusDesc,\n id: 'transmission',\n});\n\nconst getControlsFromInstitutionTypes = institutionTypes => {\n return Array.from(new Set(institutionTypes.map(x => x.controlCode)))\n .map(code => institutionTypes.find(obj => obj.controlCode === code))\n .reduce((controls, item) => {\n controls.push({ key: item.controlCode, value: item.controlName });\n return controls;\n }, []);\n};\nconst getLevelsFromInstitutionTypes = institutionTypes => {\n return Array.from(new Set(institutionTypes.map(x => x.levelCode)))\n .map(code => institutionTypes.find(obj => obj.levelCode === code))\n .reduce((levels, item) => {\n levels.push({ key: item.levelCode, value: item.levelName });\n return levels;\n }, []);\n};\n\nconst fileTypeToValue = d => ({ ...d, value: d.typeDesc });\nconst reducer = (state, newState) => ({ ...state, ...newState });\n\nconst paginationOptions = {\n showTotal: true,\n firstPageText: 'First',\n prePageText: 'Previous',\n nextPageText: 'Next',\n lastPageText: 'Last',\n sizePerPage: 10,\n hideSizePerPage: true,\n alwaysShowAllBtns: true,\n};\n\nexport const DataSubmissionForm = () => {\n const approvePermission = usePermissions({\n permissions: ['approve-data-from-institution'],\n });\n const setToast = useToastState().setToast;\n const [fetchingInstitutions, setFetchingInstitutions] = useState(false);\n const [sort, setSort] = useState({ dataField: 'transmissionDate', order: 'desc' });\n const [sortSub, setSortSub] = useState({\n dataField: 'lastStatusUpdate',\n order: 'desc',\n });\n const [fetchingSystems, setFetchingSystems] = useState(false);\n const [open, setOpen] = useState(false);\n const [loading, setLoading] = useState(false);\n const [exporting, setExporting] = useState(false);\n const [form, setForm] = useReducer(reducer, {\n reportingYear: '',\n institutionControls: [],\n institutionLevels: [],\n systems: [],\n campuses: [],\n statuses: [],\n fileTypes: [],\n });\n const [options, setOptions] = useReducer(reducer, {});\n const [transmissions, setTransmissions] = useState([]);\n const [submissions, setSubmissions] = useState([]);\n const fetchOptions = async () => {\n try {\n const res = await Promise.all([\n generateReportService.getInstitutionTypes(),\n generateReportService.getSystems(),\n dataSubmissionService.getFileTypes(),\n ]);\n var optionsToSet = {\n institutionControls: getControlsFromInstitutionTypes(res[0]),\n institutionLevels: getLevelsFromInstitutionTypes(res[0]),\n systems: res[1].systems.map(convertToValue),\n submissionStatus: res[2].submissionStatusList.map(statusToValue),\n transmissionStatus: res[2].transmissionStatusList.map(\n transmissionToValue\n ),\n fileTypes: res[2].typeList.map(fileTypeToValue),\n };\n setOptions(optionsToSet);\n } catch (error) {\n console.error(error);\n }\n };\n const getFilteredList = submissionFilter => {\n const submissionStatusArray = [\n 'Submission Edits Running',\n 'Submission Approved',\n 'Pending Approval',\n 'Warnings Exist',\n 'Errors Exist',\n 'Edit run failure',\n 'No Data Submitted',\n ];\n const transmissionStatusArray = [\n 'Uploading',\n 'Received',\n 'Processing',\n 'Transmittal OK',\n 'No Changes',\n 'Replaced',\n 'Validation Error',\n 'Unknown Error',\n 'Empty File',\n ];\n if (submissionFilter) {\n return form.statuses.filter(x => submissionStatusArray.includes(x.label));\n } else {\n return form.statuses.filter(x => transmissionStatusArray.includes(x.label));\n }\n };\n const getFormPayload = useCallback(() => {\n const transList = getFilteredList(false);\n const subList = getFilteredList(true);\n const payload = {\n filetypes: deriveKey(form.fileTypes, 'value'),\n submissionstatus: deriveKey(subList, 'value'),\n transmissionstatus: deriveKey(transList, 'value'),\n institutionlevels: deriveKey(form.institutionLevels, 'value'),\n institutioncontrols: deriveKey(form.institutionControls, 'value'),\n systems: deriveKey(form.systems, 'value'),\n campuses: deriveKey(form.campuses, 'value'),\n year: form.reportingYear,\n };\n return queryString.stringify(payload, {\n skipEmptyString: true,\n });\n }, [form]);\n const updateRow = useCallback(row => {\n setSubmissions(prev =>\n prev.map(submission => {\n if (submission.submissionID === row.submissionID) {\n return row;\n }\n return submission;\n })\n );\n }, []);\n const onSubmit = async e => {\n setLoading(true);\n try {\n console.log(form);\n e.preventDefault();\n const query = getFormPayload();\n console.log(query);\n const res = await dataSubmissionService.searchData(query);\n if (res) {\n setSubmissions(res.submissionRows);\n setTransmissions(res.transmissionRows);\n setSort({ ...sort });\n }\n } catch (error) {\n console.error(error);\n }\n setLoading(false);\n };\n const exportSubmissions = async () => {\n setExporting(true);\n try {\n const query = getFormPayload();\n const res = await dataSubmissionService.submissionsExport(query);\n downloadCsv(res, 'Submissions');\n } catch (error) {\n console.error(error);\n }\n setExporting(false);\n };\n useEffect(() => {\n const fetchNewInstitutions = async () => {\n setFetchingInstitutions(true);\n try {\n const query = queryString.stringify(\n {\n institutionLevels: deriveKey(form.institutionLevels, 'label'),\n institutionControls: deriveKey(form.institutionControls, 'label'),\n systems: deriveKey(form.systems, 'value'),\n },\n {\n arrayFormat: 'separator',\n skipEmptyString: true,\n }\n );\n const res = await generateReportService.getCampuses(query);\n setForm({ campuses: [] });\n setOptions({\n campuses: res.campuses.map(x => {\n return { label: x.value, value: x.key };\n }),\n });\n } catch (error) {}\n setFetchingInstitutions(false);\n };\n fetchNewInstitutions();\n }, [form.systems]);\n\n useEffect(() => {\n const fetchNewSystems = async () => {\n setFetchingSystems(true);\n try {\n const query = queryString.stringify(\n {\n institutionLevels: deriveKey(form.institutionLevels, 'label'),\n institutionControls: deriveKey(form.institutionControls, 'label'),\n },\n {\n //arrayFormat: 'separator',\n skipEmptyString: true,\n }\n );\n const res = await generateReportService.getSystems(query);\n setForm({ systems: [] });\n setOptions({\n systems: res.systems.map(convertToValue),\n });\n } catch (error) {}\n setFetchingSystems(false);\n };\n fetchNewSystems();\n }, [form.institutionControls, form.institutionLevels]);\n\n useEffect(() => {\n fetchOptions();\n }, []);\n return (\n \n \n
    \n setOpen(true)}\n >\n Transmit File\n \n \n
    \n

    Search

    \n
    \n
    \n
    \n \n \n onChangeFunction.handleChange(\n evt,\n setForm\n )\n }\n name=\"reportingYear\"\n value={form.reportingYear}\n className=\"white\"\n />\n
    \n
    \n {\n return { label: x.value, value: x.key };\n })\n : []\n }\n placeholder=\"All\"\n name=\"institutionLevels\"\n value={form.institutionLevels}\n className=\"col-xl-12 col-lg-6\"\n //getOptionLabel={getOptionLabel}\n showLoading\n isMulti\n />\n {\n return { label: x.value, value: x.key };\n })\n : []\n }\n placeholder=\"All\"\n name=\"institutionControls\"\n value={form.institutionControls}\n className=\"col-xl-12 col-lg-6\"\n // getOptionLabel={getOptionLabel}\n showLoading\n isMulti\n />\n {\n return { label: x.name, value: x.id };\n })\n : []\n }\n placeholder=\"All\"\n name=\"systems\"\n value={form.systems}\n className=\"col-xl-12 col-lg-6\"\n getOptionLabel={getOptionLabel}\n loading={fetchingSystems}\n isMulti\n />\n {\n return {\n label: x.label,\n value: x.value,\n };\n })\n : []\n }\n placeholder=\"All\"\n name=\"campuses\"\n value={form.campuses}\n className=\"col-xl-12 col-lg-6\"\n getOptionLabel={getOptionLabel}\n loading={fetchingInstitutions}\n isMulti\n />\n {\n return {\n label: x.submissionStatusDesc,\n value: x.submissionStatusCode,\n };\n })\n : [],\n },\n {\n label: 'Transmission Status',\n options: options.transmissionStatus\n ? options.transmissionStatus.map(x => {\n return {\n label: x.transmissionStatusDesc,\n value: x.transmissionStatusCode,\n };\n })\n : [],\n },\n ]}\n placeholder=\"All\"\n name=\"statuses\"\n value={form.statuses}\n className=\"col-xl-12 col-lg-6\"\n getOptionLabel={getOptionLabel}\n showLoading\n isMulti\n />\n {\n return {\n label: x.typeDesc,\n value: x.typeCode,\n };\n })\n : []\n }\n placeholder=\"All\"\n name=\"fileTypes\"\n value={form.fileTypes}\n className=\"col-xl-12 col-lg-6\"\n getOptionLabel={getOptionLabel}\n showLoading\n isMulti\n />\n
    \n \n Search /\n Refresh\n \n
    \n
    \n
    \n
    \n
    \n
    \n

    Transmissions

    \n \n
    \n {\n if (type == 'sort') {\n setSort({\n dataField: 'transmissionDate',\n order: 'desc',\n });\n }\n }}\n />\n
    \n
    \n
    \n

    Submissions

    \n \n Export as Excel File\n \n
    \n \n
    \n \n
    \n
    \n
    \n
    \n setOpen(false)}\n fileTypes={options.fileTypes}\n />\n
    \n );\n};\n","import React, { useState } from 'react';\nimport { Modal, ModalHeader, ModalBody, ModalFooter } from 'reactstrap';\nimport { Button } from 'components/blocks';\n\nexport const Alert = props => {\n const { open, close, onDelete } = props;\n const [loading, setLoading] = useState(false);\n const handleDelete = async () => {\n setLoading(true);\n await onDelete();\n setLoading(false);\n };\n return (\n
    \n \n Deactivate User?\n \n Are you sure you want to deactivate this user's account? They will no\n longer be able to sign into the CHEDSS' system.\n \n \n \n \n \n \n
    \n );\n};\n","import React, { Fragment } from 'react';\nimport {\n UncontrolledDropdown,\n DropdownToggle,\n DropdownMenu,\n DropdownItem,\n} from 'reactstrap';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport {\n faBan,\n faCheck,\n faEllipsisV,\n faKey,\n faPencilAlt,\n faUser,\n} from '@fortawesome/free-solid-svg-icons';\n\nconst getWidthStyle = width => ({ width, minWidth: width, maxWidth: width });\n\nconst nameFormatter = (cell, row) => {\n return (\n \n
    \n {row.lastName}, {row.firstName}\n
    \n {row.emailAddress}\n
    \n );\n};\n\nconst roleFormatter = (cell, row) => {\n return (\n \n {row.roleNames.map(role => (\n
    \n {role.roleName}\n
    \n ))}\n
    \n );\n};\n\nconst institutionFormatter = (cell, row) => {\n return (\n
      \n {row.institutionNames.map(inst => (\n
    • {inst.institutionName}
    • \n ))}\n
    \n );\n};\n\nconst statusFormatter = (cell, row) => {\n return {row.isDeleted ? 'Inactive' : 'Active'};\n};\n\nconst dropdownCell = (cell, row, i, data) => {\n const onEdit = e => {\n e.preventDefault();\n data.onEdit(row);\n };\n const onImpersonate = e => {\n e.preventDefault();\n data.onImpersonate(row);\n };\n const onSendEmail = e => {\n e.preventDefault();\n data.onSendEmail(row);\n };\n const onDeactivate = e => {\n e.preventDefault();\n data.onDeactivate(row);\n };\n const onActivate = e => {\n e.preventDefault();\n data.onActivate(row);\n };\n return (\n
    \n \n \n \n \n \n \n Edit\n \n {data.admin && (\n \n Impersonate\n \n )}\n \n Send Reset Password Email\n \n {row.isDeleted ? (\n \n Activate\n \n ) : (\n \n Deactivate\n \n )}\n \n \n
    \n );\n};\n\nexport const UserColumns = props => {\n return [\n {\n dataField: 'id',\n text: 'User',\n sort: true,\n headerStyle: getWidthStyle(250),\n formatter: nameFormatter,\n },\n {\n dataField: 'roles',\n text: 'Role',\n sort: true,\n headerStyle: { minWidth: 200 },\n formatter: roleFormatter,\n },\n {\n dataField: 'institutions',\n text: 'Institutions',\n sort: true,\n headerStyle: getWidthStyle(300),\n formatter: institutionFormatter,\n },\n {\n dataField: 'isDeleted',\n text: 'Status',\n sort: true,\n headerStyle: getWidthStyle(100),\n formatter: statusFormatter,\n },\n {\n dataField: '',\n text: '',\n formatter: dropdownCell,\n formatExtraData: props,\n headerStyle: getWidthStyle(60),\n },\n ];\n};\n","import React, { useState, useReducer, useEffect, useMemo } from 'react';\nimport { Modal, ModalHeader, ModalBody, ModalFooter, Input } from 'reactstrap';\nimport { onChangeFunction } from 'shared';\nimport { Button, FormInput, FormSelect } from '../../blocks';\n\nconst getInstitutionLabel = d => d.label;\nconst getInstitutionValue = d => d.value;\nconst reducer = (state, newState) => ({ ...state, ...newState });\n\nconst INITIAL_STATE = {\n firstName: '',\n lastName: '',\n emailAddress: '',\n isActive: true,\n institutions: [],\n roles: [],\n};\n\nconst deriveKey = (array = [], key = 'key') => {\n return array.map(d => d[key]);\n};\n\nconst Checkbox = props => {\n const { label, active, data, onChange, ...rest } = props;\n return (\n
    \n {\n onChange(prev => {\n return active\n ? prev.filter(d => d.roleID !== data.roleID)\n : prev.concat(data);\n });\n }}\n {...rest}\n />\n \n
    \n );\n};\n\nexport const UserModal = props => {\n const {\n open,\n close,\n options,\n onAddUser,\n onEditUser,\n cheRoles = [],\n institutionRoles = [],\n user,\n } = props;\n const [loading, setLoading] = useState(false);\n const [tab, setTab] = useState('che');\n const [roles, setRoles] = useState([]);\n const [form, setForm] = useReducer(reducer, INITIAL_STATE);\n const { firstName, lastName, emailAddress, isActive, institutions } = form;\n const getPayload = () => {\n return {\n firstName,\n lastName,\n emailAddress,\n roles: deriveKey(roles, 'roleID'),\n institutions: deriveKey(institutions, 'value'),\n isDeleted: !isActive,\n };\n };\n const clearForm = () => {\n setTab(cheRoles.length > 0 ? 'che' : 'institution');\n setRoles([]);\n setForm(INITIAL_STATE);\n };\n const addUser = async () => {\n setLoading(true);\n try {\n const payload = getPayload();\n await onAddUser(payload);\n close();\n } catch (error) {}\n setLoading(false);\n };\n const updateUser = async () => {\n setLoading(true);\n try {\n const payload = getPayload();\n await onEditUser(user.id, payload);\n close();\n } catch (error) {}\n setLoading(false);\n };\n useEffect(() => {\n if (open && user) {\n setForm({\n firstName: user.firstName,\n lastName: user.lastName,\n emailAddress: user.emailAddress,\n isActive: !user.isDeleted,\n institutions: user.institutionNames ? user.institutionNames.map(x => {return {label: x.institutionName, value: x.institutionID};}) : [],\n });\n setRoles(user.roleNames);\n }\n return () => clearForm();\n }, [open, user]);\n\n const renderItem = item => {\n const active = roles.find(p => p.roleID === item.roleID);\n return (\n \n );\n };\n const disabled = useMemo(() => {\n return !firstName || !lastName || !emailAddress;\n }, [firstName, lastName, emailAddress]);\n const error = useMemo(() => {\n if(institutions == null) return false;\n const cheRoles = roles.filter(r => r.roleName.includes('CHE '));\n return cheRoles.length > 0 && institutions.length > 0;\n }, [roles, institutions]);\n return (\n \n {user ? 'Edit User' : 'New User'}\n \n
    \n \n \n
    \n
    \n \n
    \n
    \n \n
    \n \n
    \n
    \n
    \n
    \n {return {label: x.institutionName, value: x.institutionID};}) : []}\n placeholder=\"All\"\n name=\"institutions\"\n value={institutions}\n isMulti\n getOptionLabel={getInstitutionLabel}\n getOptionValue={getInstitutionValue}\n showLoading\n />\n {error && (\n
    \n CHE roles cannot be associated with institutions\n
    \n )}\n
    \n \n \n {cheRoles.length > 0 && setTab('che')}\n className={`btn btn-outline-primary ${tab === 'che' &&\n 'active'}`}\n >\n CHE Roles\n }\n setTab('institution')}\n className={`btn btn-outline-primary ${tab === 'institution' &&\n 'active'}`}\n >\n Institution Roles\n \n \n {tab === 'che'\n ? cheRoles.map(renderItem)\n : institutionRoles.map(renderItem)}\n
    \n
    \n \n \n {user ? (\n \n Update User\n \n ) : (\n \n Add User\n \n )}\n \n
    \n );\n};\n","import React, { useCallback, useEffect, useReducer, useState, useMemo } from 'react';\nimport {\n Card,\n Container,\n Row,\n Input,\n Dropdown,\n DropdownToggle,\n DropdownMenu,\n} from 'reactstrap';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { faSearch, faPlus } from '@fortawesome/free-solid-svg-icons';\nimport BootstrapTable from 'react-bootstrap-table-next';\nimport queryString from 'query-string';\nimport _isEmpty from 'lodash/isEmpty';\nimport _pick from 'lodash/pick';\nimport { useDispatch } from 'react-redux';\nimport paginationFactory from 'react-bootstrap-table2-paginator';\n\nimport { UserColumns, UserModal, Alert } from './components';\nimport { Button, FormSelect, FormRadio } from '../blocks';\nimport { onChangeFunction, useToastState } from 'shared';\nimport { userManagementService } from 'services';\n\nconst getPermissionLabel = d => d.roleName;\nconst getPermissionValue = d => d.roleID;\nconst getInstitutionLabel = d => d.institutionName;\nconst getInstitutionValue = d => d.institutionID;\nconst reducer = (state, newState) => ({ ...state, ...newState });\n\nconst paginationOptions = {\n showTotal: true,\n firstPageText: 'First',\n prePageText: 'Previous',\n nextPageText: 'Next',\n lastPageText: 'Last',\n sizePerPage: 10,\n hideSizePerPage: true,\n};\n\nconst Filter = React.memo(props => {\n const clickHandler = e => {\n e.preventDefault();\n props.onClick(props.id);\n };\n return (\n
    \n {props.label}\n
    \n );\n});\n\nconst FILTERS = [\n {\n id: 'name',\n label: 'All',\n },\n {\n id: 'firstName',\n label: 'First Name',\n },\n {\n id: 'lastName',\n label: 'Last Name',\n },\n {\n id: 'emailAddress',\n label: 'Email',\n },\n];\n\nconst deriveKey = (array = [], key = 'key') => {\n if(array == null) return [];\n return array.map(d => d[key]);\n};\n\nconst cleanUser = user => {\n const {\n createdDate,\n id,\n tfaOverride,\n lastLoginDate,\n roleNames = [],\n institutionNames = [],\n ...rest\n } = user;\n return {\n ...rest,\n roles: deriveKey(roleNames, 'roleID'),\n institutions: deriveKey(institutionNames, 'institutionID'),\n };\n};\n\nexport const SearchUsersForm = props => {\n const dispatch = useDispatch();\n const { admin } = props;\n const [open, setOpen] = useState(false);\n const [alertOpen, setAlertOpen] = useState(false);\n const [loading, setLoading] = useState(false);\n const [searchFilter, setSearchFilter] = useState('name');\n const { setToast } = useToastState();\n const [form, setForm] = useReducer(reducer, {\n search: '',\n status: 'active',\n roles: [],\n institutions: [],\n });\n const [options, setOptions] = useReducer(reducer, {});\n const [users, setUsers] = useState([]);\n const [user, setUser] = useState(null);\n const [dropdownOpen, setDropdownOpen] = useState(false);\n const toggle = () => setDropdownOpen(prev => !prev);\n const setFilter = id => {\n setSearchFilter(id);\n setDropdownOpen(false);\n };\n const fetchOptions = async () => {\n try {\n const res = await Promise.all([\n userManagementService.getRoles(),\n userManagementService.getInstitutions(),\n ]);\n const cheRoles = [];\n const institutionRoles = [];\n res[0].forEach(d => {\n if (d.roleName.includes('CHEDSS ')) {\n institutionRoles.push(d);\n } else {\n cheRoles.push(d);\n }\n });\n setOptions({\n cheRoles,\n institutionRoles,\n institutions: res[1],\n });\n } catch (error) {\n console.error(error);\n }\n };\n\n const onSubmit = useCallback(\n async e => {\n setLoading(true);\n console.log(form)\n const getFormPayload = () => {\n let payload = {\n [searchFilter]: form.search,\n roles: deriveKey(form.roles, 'value'),\n institutions: deriveKey(form.institutions, 'value'),\n };\n if (form.status === 'active') {\n payload.isActive = true;\n } else if (form.status === 'inactive') {\n payload.isActive = false;\n }\n return queryString.stringify(payload, {\n arrayFormat: 'separator',\n skipEmptyString: true,\n });\n };\n try {\n if (e) e.preventDefault();\n const query = getFormPayload();\n const res = await userManagementService.getUsers(query);\n if (res) {\n setUsers(res);\n }\n } catch (error) {\n console.error(error);\n }\n setLoading(false);\n },\n [form, searchFilter]\n );\n const onAddUser = async body => {\n const res = await userManagementService.createUser(body);\n if (res) {\n onSubmit();\n }\n };\n const onEditUser = async (id, body) => {\n const res = await userManagementService.updateUser(id, body);\n if (res) {\n onSubmit();\n }\n };\n const onEdit = async user => {\n setUser(user);\n setOpen(true);\n };\n const onImpersonate = async user => {\n const res = await userManagementService.impersonateUser(user.id);\n if (res?.token) {\n const updatedFields = _pick(res, ['token', 'isImpersonation']);\n dispatch({\n type: 'SET_USER',\n user: { ...updatedFields, roles: user.roleNames, impersonatedUser: user },\n merge: true,\n setOriginal: true,\n });\n setToast({\n title: 'Success!',\n message: `You are now impersonating ${user.firstName} ${user.lastName}`,\n });\n }\n fetchOptions();\n };\n const onSendEmail = async user => {\n const res = await userManagementService.sendPasswordReset(user.id);\n if (res?.message) {\n setToast({\n title: 'Successly Sent Email!',\n message: res.message,\n });\n }\n };\n const onDeactivate = user => {\n setAlertOpen(user);\n };\n const onDelete = async () => {\n const res = await userManagementService.updateUser(alertOpen.id, {\n ...cleanUser(alertOpen),\n isDeleted: true,\n });\n setAlertOpen(false);\n if (res) onSubmit();\n };\n const onActivate = async user => {\n const res = await userManagementService.updateUser(user.id, {\n ...cleanUser(user),\n isDeleted: false,\n });\n if (res) onSubmit();\n };\n useEffect(() => {\n fetchOptions();\n onSubmit();\n }, []);\n const filterLabel = useMemo(() => {\n return FILTERS.find(f => f.id === searchFilter).label;\n }, [searchFilter]);\n return (\n \n \n
    \n setOpen(true)}\n >\n New user\n \n \n
    \n

    Search Users

    \n
    \n
    \n
    \n
    \n
    \n \n \n \n {filterLabel}\n \n \n \n {FILTERS.filter(\n d => d.id !== searchFilter\n ).map(d => (\n \n ))}\n \n \n
    \n \n onChangeFunction.handleChange(\n evt,\n setForm\n )\n }\n name=\"search\"\n value={form.search}\n className=\"white\"\n />\n
    \n
    \n
    \n
    \n \n
    \n {return {label: x.roleName, value: x.roleID};}) : []\n },\n {\n label: 'Institution',\n options: options.institutionRoles ? options.institutionRoles.map(x => {return {label: x.roleName, value: x.roleID};}) : []\n },\n ]}\n />\n {return {label: x.institutionName, value: x.institutionID};}) : []}\n placeholder=\"All\"\n name=\"institutions\"\n isMulti={true}\n value={form.institutions}\n className=\"col-xl-12\"\n getOptionLabel={getInstitutionLabel}\n getOptionValue={getInstitutionValue}\n showLoading\n />\n
    \n \n Search\n \n
    \n
    \n
    \n
    \n
    \n
    \n

    \n {users.length} {users.length === 1 ? 'User' : 'Users'} Found\n

    \n \n
    \n \n
    \n
    \n
    \n
    \n {\n setOpen(false);\n setUser(null);\n }}\n user={user}\n options={options.institutions}\n cheRoles={options.cheRoles}\n institutionRoles={options.institutionRoles}\n onAddUser={onAddUser}\n onEditUser={onEditUser}\n />\n {\n setAlertOpen(false);\n }}\n onDelete={onDelete}\n />\n
    \n );\n};\n","import React, { useEffect, useState, useCallback, Fragment } from 'react';\nimport { Card, Container } from 'reactstrap';\n\nimport { partitionToggleService } from 'services';\nimport { Toggle } from './components';\nimport { Button } from '../blocks';\n\nexport const PartitionToggle = () => {\n const [loading, setLoading] = useState(false);\n const [options, setOptions] = useState([]);\n const fetchOptions = async () => {\n try {\n const res = await partitionToggleService.getToggles();\n setOptions(res);\n } catch (error) {\n console.error(error);\n }\n };\n const onSubmit = useCallback(async () => {\n setLoading(true);\n try {\n const res = await partitionToggleService.postToggles(options);\n setOptions(res);\n window.location.reload();\n } catch (error) {\n console.error(error);\n }\n setLoading(false);\n }, [options]);\n const onToggleChange = (id, value) => {\n setOptions(prev => {\n return prev.map(p => {\n if (p.id === id) {\n return { ...p, isEnabled: value };\n }\n return p;\n });\n });\n };\n const renderOption = useCallback(\n (item, i) => {\n return (\n \n \n {i !== options.length - 1 &&
    }\n
    \n );\n },\n [options.length]\n );\n useEffect(() => {\n fetchOptions();\n }, []);\n return (\n \n \n
    \n

    Toggle Visibility

    \n \n Save Changes\n \n
    \n {options.map(renderOption)}\n
    \n
    \n );\n};\n","import { handleServiceRequest } from '../handle-service-request';\n\nconst baseUrl = `/api/CollectionProcessing`;\n\nexport const getActionLogs = id => {\n const getObject = {\n url: `${baseUrl}/Logs/${id}`,\n };\n return handleServiceRequest.get(getObject);\n};\n\nexport const getOptions = () => {\n const getObject = {\n url: `${baseUrl}/ActionOptions`,\n };\n return handleServiceRequest.get(getObject);\n};\n\nexport const commitAction = (actionId, reportingYear, reportingGroup) => {\n const getObject = {\n url: `${baseUrl}/Run/${actionId}/${reportingYear}/${reportingGroup}`,\n };\n return handleServiceRequest.get(getObject);\n};\n\nexport const CollectionProcessingService = {\n getActionLogs,\n commitAction,\n getOptions,\n};\n","import React, { useState, useEffect, useReducer, useCallback, useMemo } from 'react';\nimport { FormGroup, Input, Button, Card, InputGroup, Label } from 'reactstrap';\nimport _isEmpty from 'lodash/isEmpty';\nimport queryString from 'query-string';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport {\n academicProgramsService,\n capitalProjectService,\n generateReportService,\n} from '../../services';\nimport { ConfirmActionModal, onChangeFunction, UrlEnum, usePermissions } from 'shared';\nimport { Confirm, FormSelect } from '../blocks';\nimport Select from 'react-select';\nimport {\n deriveKey,\n getCipLabel,\n containsValue,\n} from '../academic-affair-report/program-criteria-form';\nimport { INITIAL_FORM } from 'components/academic-affair-report/helpers';\nimport { CollectionProcessingService } from '../../services/admin-services/collection-processing-service';\n\nconst initialValues = {\n buttonAction: [],\n reportingYear: '',\n reportingGroup: [],\n};\n\nexport const getOptionLabel = d => d.value;\n\nexport const CollectionProcessingForm = ({ setLogData }) => {\n const [isModalOpen, setIsModalOpen] = useState(false);\n const toggle = () => setIsModalOpen(!isModalOpen);\n const reducer = (state, newState) => ({ ...state, ...newState });\n\n const [userInput, setUserInput] = useReducer(reducer, initialValues);\n\n const [options, setOptions] = useReducer(reducer, []);\n\n const GetLabelFromEnum = value => {\n switch (value) {\n case 'MergeWithMSI':\n return 'Merge With MSI';\n case 'RunRecordLinking':\n return 'Run Record Linking';\n case 'MoveToDataRepository':\n return 'Move To Data Repository';\n case 'CloseFallCollectionExceptFE':\n return 'Close Collection Except FE';\n case 'CloseCollectionYearFEOnly':\n return 'Close Collection Only FE';\n case 'OpenNewCollectionYear':\n return 'Open New Collection Year';\n }\n };\n\n const ConvertToOptions = list => {\n const listreturn = list?.map((value, index) => ({\n label: GetLabelFromEnum(value),\n value: index,\n }));\n return listreturn;\n };\n\n useEffect(() => {\n const fetchOptions = async () => {\n const res = await CollectionProcessingService.getOptions();\n console.log(res);\n setOptions({\n buttonAction: ConvertToOptions(res),\n reportingGroup: [\n { value: 'ICI', label: 'ICI' },\n { value: 'IPUB', label: 'IPUB' },\n { value: 'BPE', label: 'BPE' },\n ],\n });\n };\n fetchOptions();\n }, []);\n\n useEffect(() => {\n getLogs();\n }, [userInput.buttonAction]);\n\n const getLogs = () => {\n if (userInput.buttonAction.value == null) return;\n Promise.resolve(\n CollectionProcessingService.getActionLogs(userInput.buttonAction.value)\n ).then(postRes => {\n console.log(postRes);\n setLogData(postRes || []);\n return postRes;\n });\n };\n\n const extractValuesFromResponseCSV = unextractedResponseValues => {\n return unextractedResponseValues\n .map(currentValue => {\n return currentValue.value;\n })\n .join(',');\n };\n\n return (\n \n \n

    Collection Processing Management

    \n \n \n \n {\n const name = evt.target.name;\n const newValue = evt.target.value;\n if (/^\\d{0,4}$/.test(newValue))\n setUserInput({ [name]: newValue });\n }}\n name=\"reportingYear\"\n value={userInput.reportingYear}\n />\n \n {userInput.buttonAction.label === 'Run Record Linking' && (\n \n )}\n {\n setIsModalOpen(true);\n }}\n //disabled={userInput.buttonAction?.label?.includes('Close')}\n >\n Run Action\n \n {\n getLogs();\n }}\n >\n Refresh Logs\n \n
    \n setIsModalOpen(!isModalOpen)}\n message={\n userInput.buttonAction.label === 'Run Record Linking'\n ? `Are you sure you want to ${userInput.buttonAction.label} for the RY of ${userInput.reportingYear} with Reporting Group of ${userInput.reportingGroup.label}`\n : `Are you sure you want to ${userInput.buttonAction.label} for the RY of ${userInput.reportingYear}`\n }\n title={'Confirm Action'}\n onConfirm={() => {\n CollectionProcessingService.commitAction(\n userInput.buttonAction.value,\n userInput.reportingYear,\n userInput.reportingGroup.label\n );\n setIsModalOpen(false);\n }}\n />\n
    \n );\n};\n","import React from 'react';\nimport { Card, Button, UncontrolledPopover, PopoverBody } from 'reactstrap';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { faEdit, faSearchPlus } from '@fortawesome/free-solid-svg-icons';\nimport { useHistory } from 'react-router-dom';\nimport BootstrapTable from 'react-bootstrap-table-next';\nimport paginationFactory from 'react-bootstrap-table2-paginator';\nimport { UrlEnum, usePermissions, useUserInstitutions } from '../../shared';\n\nconst getWidthStyle = width => ({\n width,\n minWidth: width,\n maxWidth: width,\n});\n\nexport const CollectionProcessingTable = ({ logData }) => {\n const history = useHistory();\n\n const columns = [\n {\n dataField: 'userName',\n text: 'User',\n sort: true,\n headerStyle: getWidthStyle(50),\n },\n {\n dataField: 'reportingYear',\n text: 'RY',\n sort: true,\n headerStyle: getWidthStyle(50),\n },\n {\n dataField: 'status',\n text: 'Status',\n sort: true,\n headerStyle: getWidthStyle(100),\n },\n /*{\n dataField: 'cipTitle',\n text: 'File Type',\n sort: true,\n headerStyle: getWidthStyle(80),\n },*/\n {\n dataField: 'timeStarted',\n text: 'Time Initiated',\n sort: true,\n formatter: cell => {\n const dateTime = new Date(cell);\n const date = dateTime.toLocaleDateString();\n const time = dateTime.toLocaleTimeString();\n return (\n
    \n {date}\n
    \n {time}\n
    \n );\n },\n headerStyle: getWidthStyle(150),\n },\n {\n dataField: 'timeCompleted',\n text: 'Time Completed',\n sort: true,\n formatter: cell => {\n console.log(cell);\n if (cell == null) return
    --
    ;\n const dateTime = new Date(cell);\n if (dateTime == 'Invalid Date') return
    --
    ;\n const date = dateTime.toLocaleDateString();\n const time = dateTime.toLocaleTimeString();\n return (\n
    \n {date}\n
    \n {time}\n
    \n );\n },\n headerStyle: getWidthStyle(150),\n },\n\n {\n dataField: 'notes',\n text: 'Notes',\n headerStyle: getWidthStyle(200),\n },\n ];\n const options = {\n showTotal: false,\n firstPageText: 'First',\n prePageText: 'Previous',\n nextPageText: 'Next',\n lastPageText: 'Last',\n sizePerPage: 20,\n hideSizePerPage: true,\n alwaysShowAllBtns: true,\n };\n return (\n \n \n
    \n {\n const newLastUpdateDate = new Date(project.approvalDate);\n project.approvalDate = newLastUpdateDate.toLocaleDateString();\n return project;\n })}\n columns={columns.map(column => ({\n ...column,\n //headerStyle: { textAlign: 'center' },\n style: { verticalAlign: 'middle' },\n }))}\n striped\n hover\n pagination={paginationFactory(options)}\n // defaultSorted={defaultSorted}\n />\n
    \n
    \n
    \n );\n};\n","import React, { useEffect, useState, useCallback, useReducer } from 'react';\nimport { Card, Container } from 'reactstrap';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { Button, FormInput } from '../blocks';\nimport { useToastState } from 'shared';\nimport { userManagementService } from 'services';\n\nconst reducer = (state, newState) => ({ ...state, ...newState });\n\nexport const Profile = () => {\n const [loading, setLoading] = useState(true);\n const user = useSelector(state => state.user);\n const dispatch = useDispatch();\n const { setToast } = useToastState();\n const [data, setData] = useState({ ...user });\n const [form, setForm] = useReducer(reducer, {\n firstName: user?.firstName,\n lastName: user?.lastName,\n emailAddress: user?.emailAddress,\n });\n const { firstName, lastName, emailAddress } = form;\n const fetchUser = async () => {\n try {\n const userRes = await userManagementService.getUser(user.id);\n setData(userRes);\n } catch (error) {}\n setLoading(false);\n };\n const onSubmit = useCallback(async () => {\n setLoading(true);\n try {\n await userManagementService.updateUser(user.id, {\n ...data,\n ...form,\n roles: data?.roleNames?.map(d => d.roleID),\n institutions: data?.institutionNames?.map(d => d.institutionID),\n });\n dispatch({\n type: 'SET_USER',\n user: { ...user, ...form },\n });\n fetchUser();\n setToast({\n title: 'Successfully Updated Your Profile!',\n message: 'Your profile settings have been updated.',\n });\n } catch (error) {\n console.error(error);\n }\n }, [form, data, user]);\n useEffect(() => {\n fetchUser();\n }, []);\n return (\n \n \n
    \n

    My Profile

    \n \n Save Changes\n \n
    \n
    \n \n \n
    \n
    \n \n
    \n
    \n
    \n );\n};\n","import React, { useEffect, useState } from 'react';\nimport { Modal, ModalHeader, ModalBody, ModalFooter } from 'reactstrap';\n\nimport { Button, FormInput } from '../../blocks';\n\nexport const AddSection = props => {\n const { open, close, onSubmit, editing } = props;\n const [name, setName] = useState('');\n const [loading, setLoading] = useState(false);\n const isEdit = Boolean(editing.name);\n const clickHandler = async e => {\n e.preventDefault();\n setLoading(true);\n await onSubmit(name, editing);\n setLoading(false);\n close();\n };\n useEffect(() => {\n if (open) {\n setName(editing.name || '');\n }\n }, [editing.name, open]);\n return (\n \n \n {isEdit ? 'Edit Section' : 'New Section'}\n \n
    \n \n setName(e.name)}\n />\n \n \n \n \n Save\n \n \n
    \n
    \n );\n};\n\nexport default AddSection;\n","import React from 'react';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { faEnvelope } from '@fortawesome/free-solid-svg-icons';\n\nexport const Contact = () => {\n return (\n \n
    \n \n
    \n
    \n
    chedss-support@che.in.gov
    \n
    \n
    \n );\n};\n\nexport default Contact;\n","import React from 'react';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport {\n faArrowDown,\n faArrowUp,\n faFilePdf,\n faPen,\n faTrashAlt,\n} from '@fortawesome/free-solid-svg-icons';\n\nimport { TooltipWrapper } from '../../blocks';\n\nexport const Document = React.memo(props => {\n const {\n id,\n title,\n description,\n onEdit,\n onDelete,\n data,\n admin,\n onDownload,\n changeIndex,\n } = props;\n return (\n
  • \n
    \n
    \n onDownload(data)}\n style={{ cursor: 'pointer' }}\n className=\"d-flex align-items-center text-primary\"\n >\n
    \n \n
    \n
    \n
    {title}
    \n

    {description}

    \n
    \n
    \n
    \n {admin && (\n
    \n \n changeIndex(-1)}\n className=\"action-circle\"\n >\n \n
    \n \n \n
    changeIndex(1)} className=\"action-circle\">\n \n
    \n \n \n
    onEdit(data)} className=\"action-circle\">\n \n
    \n \n \n
    onDelete(data)} className=\"action-circle\">\n \n
    \n
    \n \n )}\n \n
  • \n );\n});\n\nexport const Documents = props => {\n return
      {props.children}
    ;\n};\n\nexport default Document;\n","import React from 'react';\nimport { CardHeader } from 'reactstrap';\n\nexport const Header = React.memo(props => {\n return (\n \n

    {props.title}

    \n
    \n );\n});\n\nexport default Header;\n","import React, {\n useEffect,\n useState,\n useReducer,\n useCallback,\n useMemo,\n Fragment,\n} from 'react';\nimport { Modal, ModalHeader, ModalBody, ModalFooter } from 'reactstrap';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { faFile } from '@fortawesome/free-solid-svg-icons';\n\nimport { Button, FormInput, FormSelect, FormRadio } from '../../blocks';\n\nconst reducer = (state, newState) => ({ ...state, ...newState });\nconst INITIAL_STATE = {\n friendlyName: '',\n fileDescription: '',\n categoryId: '',\n isDocumentation: true,\n};\n\nconst getOptionLabel = d => d.label;\nconst getOptionValue = d => d.value;\n\nexport const Upload = props => {\n const { open, close, onSubmit, editing, sections } = props;\n const [loading, setLoading] = useState(false);\n const [loadingAdd, setLoadingAdd] = useState(false);\n const [file, setFile] = useState(null);\n const [form, setForm] = useReducer(reducer, INITIAL_STATE);\n const { friendlyName, categoryId, fileDescription, isDocumentation } = form;\n const isEdit = Boolean(editing.id);\n const onSave = async () => {\n setLoading(true);\n const formData = new FormData();\n formData.append('file', file);\n formData.append('friendlyName', friendlyName);\n formData.append('categoryId', categoryId.value);\n formData.append('fileDescription', fileDescription);\n formData.append('isDocumentation', isDocumentation);\n await onSubmit(formData);\n setLoading(false);\n close();\n };\n const onSaveAdd = async () => {\n setLoadingAdd(true);\n const formData = new FormData();\n formData.append('file', file);\n formData.append('friendlyName', friendlyName);\n formData.append('categoryId', categoryId.value);\n formData.append('fileDescription', fileDescription);\n formData.append('isDocumentation', isDocumentation);\n await onSubmit(formData);\n setForm(INITIAL_STATE);\n setFile(null);\n setLoadingAdd(false);\n };\n const onUpdate = async () => {\n setLoading(true);\n const payload = {\n id: editing.id,\n friendlyName: friendlyName,\n categoryId: categoryId.value,\n fileDescription: fileDescription,\n isDocumentation: isDocumentation,\n };\n await onSubmit(payload, editing);\n setLoading(false);\n close();\n };\n const onFileChange = useCallback(e => {\n setFile(e.target.files[0]);\n }, []);\n useEffect(() => {\n if (open) {\n const selectedSection = sections.find(s => s.id === editing.categoryId);\n const newObject = selectedSection\n ? {\n label: selectedSection.name,\n value: selectedSection.id,\n }\n : null;\n setForm({\n ...editing,\n categoryId: newObject ?? '',\n });\n console.log(editing);\n } else {\n setForm(INITIAL_STATE);\n setFile(null);\n }\n }, [editing, open, sections]);\n const disabled = useMemo(() => {\n if (isEdit) {\n return !friendlyName || !categoryId;\n }\n return !file || !friendlyName || !categoryId;\n }, [friendlyName, categoryId, file, isEdit]);\n return (\n \n \n {isEdit ? 'Edit Document' : 'Upload Document'}\n \n \n {\n return { label: x.name, value: x.id };\n })}\n placeholder=\"Choose a section...\"\n name=\"categoryId\"\n isMulti={false}\n getOptionLabel={getOptionLabel}\n getOptionValue={getOptionValue}\n />\n \n \n \n {!isEdit && (\n
    \n \n
    \n \n \n Choose File\n \n
    \n {file &&

    {file.name}

    }\n
    \n )}\n
    \n \n \n {isEdit ? (\n \n Save\n \n ) : (\n \n \n Save & Add Another\n \n \n Save\n \n \n )}\n \n
    \n );\n};\n\nexport default Upload;\n","import React, { useState } from 'react';\nimport { Collapse, Card, CardHeader } from 'reactstrap';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { faChevronDown, faPen, faTrashAlt } from '@fortawesome/free-solid-svg-icons';\n\nimport { TooltipWrapper } from '../../blocks';\n\nexport const Section = props => {\n const [open, setOpen] = useState(true);\n const { name, children, id, onEdit, onDelete, data, admin } = props;\n return (\n \n \n
    \n setOpen(!open)}\n className=\"btn btn-link btn-block text-left text-strong text-body px-1\"\n type=\"button\"\n >\n \n {name}\n \n {admin && (\n
    \n \n onEdit(data)}\n className=\"action-circle\"\n >\n \n
    \n \n \n onDelete(data)}\n className=\"action-circle\"\n >\n \n
    \n \n \n )}\n \n
    \n {children}\n
    \n );\n};\n\nexport default Section;\n","import React, { useEffect, useState, useCallback, Fragment } from 'react';\nimport { Card, Container, Row } from 'reactstrap';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { faPlus, faUpload } from '@fortawesome/free-solid-svg-icons';\nimport _ from 'lodash';\n\nimport { helpService } from 'services';\nimport {\n Contact,\n Section,\n Header,\n Document,\n Documents,\n AddSection,\n Upload,\n} from './components';\nimport { Button } from '../blocks';\n\nexport const Help = props => {\n const { admin } = props;\n const [modal, setModal] = useState(false);\n const [sections, setSections] = useState([]);\n const [files, setFiles] = useState([]);\n const [editing, setEditing] = useState({});\n const fetchSections = useCallback(async () => {\n try {\n const res = await helpService.getSections();\n const files = await helpService.getFiles();\n setSections(res || []);\n setFiles(files || []);\n } catch (error) {\n console.error(error);\n }\n }, []);\n const addNewSection = useCallback(async (name, edit) => {\n try {\n let res;\n if (edit.id) {\n res = await helpService.updateSection({ name, id: edit.id });\n } else {\n res = await helpService.addSection({ name });\n }\n if (res) setSections(res);\n } catch (error) {\n console.error(error);\n }\n }, []);\n const deleteSection = useCallback(async section => {\n helpService.deleteSection(section.id).then(res => {\n if (res) {\n console.log(res);\n setSections(res);\n }\n });\n }, []);\n const deleteFile = useCallback(async file => {\n helpService.deleteFile(file.id).then(res => setFiles(res));\n }, []);\n const onDownload = useCallback(async file => {\n helpService.getFile(file.id, file.friendlyName, file.fileExtension);\n }, []);\n const addNewFile = useCallback(async (data, edit = {}) => {\n try {\n let res;\n if (edit.id) {\n res = await helpService.updateFile(data);\n } else {\n res = await helpService.addFile(data);\n }\n if (res) setFiles(res);\n } catch (error) {\n console.error(error);\n }\n }, []);\n const renderLink = useCallback(item => {\n const id = '#' + _.kebabCase(item.name + '-' + item.id);\n return (\n
  • \n
    \n \n {item.name}\n \n
    \n
  • \n );\n }, []);\n const renderDocument = useCallback(\n item => {\n return (\n {\n console.log(d);\n setEditing(d);\n setModal('upload');\n }}\n changeIndex={indexOffset => {\n helpService\n .changeIndex(item.id, indexOffset)\n .then(r => setFiles(r));\n }}\n onDelete={deleteFile}\n onDownload={onDownload}\n admin={admin}\n />\n );\n },\n [admin, deleteFile, onDownload]\n );\n const renderOption = useCallback(\n item => {\n const id = _.kebabCase(item.name + '-' + item.id);\n const sectionFiles = files.filter(file => file.categoryId === item.id);\n const [documentation, dataLayouts] = _.partition(\n sectionFiles,\n 'isDocumentation'\n );\n return (\n
    \n {\n setEditing(d);\n setModal('section');\n }}\n onDelete={deleteSection}\n admin={admin}\n >\n {documentation.length > 0 && (\n \n
    \n {documentation.map(renderDocument)}\n \n )}\n {dataLayouts.length > 0 && (\n \n
    \n {dataLayouts.map(renderDocument)}\n \n )}\n \n
    \n );\n },\n [files, deleteSection, admin, renderDocument]\n );\n useEffect(() => {\n fetchSections();\n }, [fetchSections]);\n return (\n \n

    Help Documentation & Data Layouts

    \n \n
    \n \n \n
    \n

    Jump to section:

    \n
      {sections?.map(renderLink)}
    \n
    \n
    \n

    Contact Information

    \n \n
    \n
    \n
    \n {admin && (\n
    \n setModal('section')}\n >\n New Section\n \n \n
    \n )}\n {sections?.map(renderOption)}\n \n

    Contact Information

    \n \n
    \n
    \n
    \n {\n setModal(false);\n setEditing({});\n }}\n onSubmit={addNewSection}\n editing={editing}\n />\n {\n setModal(false);\n setEditing({});\n }}\n onSubmit={addNewFile}\n editing={editing}\n sections={sections}\n />\n
    \n );\n};\n","import React from 'react';\nimport { Button, UncontrolledPopover, PopoverBody } from 'reactstrap';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { faSearchPlus } from '@fortawesome/free-solid-svg-icons';\nimport { UrlEnum } from 'shared';\n\nconst getWidthStyle = width => ({ width, minWidth: width, maxWidth: width });\n\nconst actions = (cell, row, rowIndex, formatExtraData) => {\n const id = 'PopoverView-' + row.programID;\n console.log(row)\n const biennium = formatExtraData.getBienniumName(row.biennium);\n const institution = formatExtraData.getInstitutionName(row.cheFinanceUnitId);\n const schedule = formatExtraData.getScheduleName(row.scheduleTypeId);\n const status = formatExtraData.getStatusName(row.scheduleStatusId);\n return (\n
    \n {\n const location = {\n pathname: UrlEnum.LINEITEMPERFORMANCE,\n state: {\n row,\n labels: { biennium, institution, schedule, status },\n exportFileTypes: formatExtraData.exportFileTypes,\n },\n };\n\n formatExtraData.history.push(location);\n }}\n >\n \n View\n \n \n \n
    \n );\n};\n\nexport const Columns = props => [\n {\n dataField: 'biennium',\n text: 'Biennium',\n sort: true,\n headerStyle: getWidthStyle(140),\n formatter: props.getBienniumName,\n },\n {\n dataField: 'scheduleTypeId',\n text: 'Schedule',\n sort: true,\n headerStyle: { minWidth: 140 },\n formatter: props.getScheduleName,\n },\n {\n dataField: 'scheduleDescription',\n text: 'Schedule Description',\n sort: true,\n headerStyle: { minWidth: 250 },\n },\n {\n dataField: 'cheFinanceUnitId',\n text: 'Institution',\n sort: true,\n headerStyle: getWidthStyle(300),\n formatter: props.getInstitutionName,\n },\n {\n dataField: 'lastUpdated',\n text: 'Last Updated',\n sort: true,\n headerStyle: getWidthStyle(140),\n formatter: d => {\n const date = new Date(d);\n return date.toLocaleDateString();\n },\n },\n {\n dataField: 'lastUpdatedByUser',\n text: 'Updated By',\n sort: true,\n headerStyle: getWidthStyle(200),\n },\n {\n dataField: 'action',\n text: '',\n formatter: actions,\n headerStyle: getWidthStyle(70),\n formatExtraData: props,\n },\n];\n","import React, { useEffect, useState } from 'react';\nimport { Input } from 'reactstrap';\n\nconst getWidthStyle = width => ({ width, minWidth: width, maxWidth: width });\n\nconst numberWithCommas = x => {\n if (isNaN(x)) return '';\n return Math.round(x)\n .toString()\n .replace(/\\B(? {\n const { onChange, id, field, defaultValue } = props;\n const [value, setValue] = useState('');\n useEffect(() => {\n setValue(numberWithCommas(defaultValue));\n }, [defaultValue]);\n return (\n {\n if (isNaN(e.target.value)) return;\n setValue(e.target.value);\n }}\n onBlur={() => onChange({ id, field, value: Number(value) })}\n />\n );\n};\n\nconst average = vals => {\n if (vals.includes(null)) return { show: false };\n const sum = vals.reduce((a, b) => a + b, 0);\n const avg = Math.round(sum / vals.length || 0);\n return { show: true, value: avg };\n};\n\nexport const LineItemRow = props => {\n const {\n lineItemName,\n lrYminus0Val,\n lrYminus1Val,\n lrYminus2Val,\n lrYminus3Val,\n lrYminus4Val,\n lrYminus5Val,\n } = props?.data;\n const priorAvg = average([lrYminus3Val, lrYminus4Val, lrYminus5Val]);\n const currentAvg = average([lrYminus0Val, lrYminus1Val, lrYminus2Val]);\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {priorAvg.show ? numberWithCommas(priorAvg.value) : '---'}\n \n \n {currentAvg.show ? numberWithCommas(currentAvg.value) : '---'}\n \n \n {priorAvg.show && currentAvg.show\n ? numberWithCommas(currentAvg.value - priorAvg.value)\n : '---'}\n \n \n );\n};\n\nconst getValue = (val, offset) => {\n if (!val) return '';\n return `${val - (offset + 1)}-${val - offset}`;\n};\nconst getSumValue = (val, offset) => {\n if (!val) return '';\n return `${val - (offset + 2)}-${String(val - offset).substring(2)} 3 Year Avg`;\n};\n\nexport const LineItemHeaders = props => {\n const { biennium } = props;\n return (\n \n \n \n Summary of Budget Request\n \n \n {getValue(biennium, 7)}\n \n \n {getValue(biennium, 6)}\n \n \n {getValue(biennium, 5)}\n \n \n {getValue(biennium, 4)}\n \n \n {getValue(biennium, 3)}\n \n \n {getValue(biennium, 2)}\n \n \n {getSumValue(biennium, 5)}\n \n \n {getSumValue(biennium, 2)}\n \n \n Change in 3 Year Avg\n \n \n \n );\n};\n\nexport const SummaryRow = props => {\n const { data, total } = props;\n return (\n \n \n

    Total Overall Degrees Conferred

    \n \n {data?.map((d, i) => {\n if (i + 1 === data.length) {\n return (\n \n

    \n {numberWithCommas(d)}\n # of units\n

    \n \n );\n }\n return (\n \n

    {numberWithCommas(d)}

    \n \n );\n })}\n \n );\n};\n","import React, { useCallback, useEffect, useMemo, useReducer, useState } from 'react';\nimport { Card, Container, Row } from 'reactstrap';\nimport _isEmpty from 'lodash/isEmpty';\nimport { useHistory } from 'react-router';\nimport BootstrapTable from 'react-bootstrap-table-next';\nimport paginationFactory, {\n PaginationProvider,\n PaginationListStandalone,\n PaginationTotalStandalone,\n} from 'react-bootstrap-table2-paginator';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { faSearch } from '@fortawesome/free-solid-svg-icons';\nimport queryString from 'query-string';\nimport { performanceScheduleService } from 'services';\nimport { Columns } from './components';\nimport { FormSelect, Button } from '../blocks';\n\nconst reducer = (state, newState) => ({ ...state, ...newState });\nconst INITIAL_FORM = {\n bienniums: [],\n schedules: [],\n institutions: [],\n statuses: [],\n};\nconst pageSize = 20;\nconst getOptionLabel = d => d.value;\nconst paginationOptions = {\n showTotal: true,\n firstPageText: 'First',\n prePageText: 'Previous',\n nextPageText: 'Next',\n lastPageText: 'Last',\n sizePerPage: pageSize,\n hideSizePerPage: true,\n};\n\nconst convertToValue = d => ({ ...d, value: d.name });\nconst deriveKey = (array = [], key = 'key') => {\n return array.map(d => d[key]);\n};\n\nexport const PerformanceSchedulesSearch = () => {\n const history = useHistory();\n const [loading, setLoading] = useState(false);\n const [activeTab, setActiveTab] = useState(0);\n const [form, setForm] = useReducer(reducer, INITIAL_FORM);\n const [options, setOptions] = useReducer(reducer, {});\n const [data, setData] = useState({ page: 0, count: 0, pageSize, schedules: [] });\n useEffect(() => {\n const fetchOptions = async () => {\n try {\n const res = await Promise.all([\n performanceScheduleService.getBienniums(),\n performanceScheduleService.getTypes(),\n performanceScheduleService.getInstitutions(),\n performanceScheduleService.getStatuses(),\n performanceScheduleService.getExportFileTypes(),\n ]);\n setOptions({\n bienniums: res[0].map(convertToValue),\n schedules: res[1].map(convertToValue),\n institutions: res[2].map(convertToValue),\n statuses: res[3].map(convertToValue),\n exportFileTypes: res[4]?.fileTypes,\n });\n } catch (error) {\n console.error(error);\n }\n setLoading(false);\n };\n fetchOptions();\n onSubmit();\n }, []);\n const onSubmit = useCallback(\n async page => {\n setLoading(true);\n const getFormPayload = () => {\n const payload = {\n bienniums: deriveKey(form.bienniums, 'value'),\n schedules: deriveKey(form.schedules, 'value'),\n institutions: deriveKey(form.institutions, 'value'),\n statuses: deriveKey(form.statuses, 'value'),\n pageSize,\n page,\n };\n return queryString.stringify(payload, {\n arrayFormat: 'separator',\n skipEmptyString: true,\n });\n };\n try {\n const query = getFormPayload();\n const res = await performanceScheduleService.getSchedules(query);\n if (res) {\n setData(res);\n }\n } catch (error) {\n console.error(error);\n }\n setLoading(false);\n },\n [form]\n );\n const renderTabs = () => {\n return options?.statuses?.map(status => {\n const count = data?.schedules?.filter(d => d.scheduleStatusId === status.id)\n ?.length;\n return (\n
  • \n setActiveTab(status.id)}\n role=\"tab\"\n >\n {status.name} ({count})\n \n
  • \n );\n });\n };\n const getBienniumName = useCallback(\n id => {\n console.log(options)\n return options.bienniums.find(b => b.id === id)?.name;\n },\n [options.bienniums]\n );\n const getScheduleName = useCallback(\n id => {\n return options.schedules.find(sch => sch.id === id)?.name;\n },\n [options.schedules]\n );\n const getInstitutionName = useCallback(\n id => {\n return options.institutions.find(ins => ins.id === id)?.name;\n },\n [options.institutions]\n );\n const getStatusName = useCallback(\n id => {\n return options.statuses.find(st => st.id === id)?.name;\n },\n [options.statuses]\n );\n const filtered = useMemo(() => {\n return data?.schedules?.filter(d => d.scheduleStatusId === activeTab);\n }, [data?.schedules, activeTab]);\n return (\n \n \n
    \n \n

    Search Performance Schedules

    \n
    \n {return {label: x.name, value: x.id}}) : []}\n placeholder=\"All\"\n name=\"bienniums\"\n value={form.bienniums}\n isMulti\n className=\"col-xl-12 col-lg\"\n />\n {/* */}\n
    \n
    \n {return {label: x.name, value: x.id}}):[]}\n placeholder=\"All\"\n name=\"institutions\"\n value={form.institutions}\n className=\"col-12\"\n isMulti\n getOptionLabel={getOptionLabel}\n />\n
    \n
    \n {return {label: x.name, value: x.id}}):[]}\n placeholder=\"All\"\n name=\"schedules\"\n value={form.schedules}\n className=\"col-xl-12 col-lg-8\"\n fieldClassName=\"mb-lg-0 mb-xl-4\"\n isMulti\n getOptionLabel={getOptionLabel}\n />\n
    \n onSubmit(1)}\n disabled={_isEmpty(options)}\n >\n Search\n \n
    \n
    \n
    \n
    \n
    \n
    \n

    \n {data?.count} Performance Schedules\n

    \n
    \n \n
    \n
      \n {renderTabs()}\n
    \n
    \n
    \n \n
    \n \n {({ paginationProps, paginationTableProps }) => (\n
    \n console.log(e)}\n classes=\"data-table table table-striped table-bordered table-hover align-middle dataTable no-footer dtr-inline\"\n keyField=\"scheduleId\"\n data={filtered || []}\n columns={Columns({\n history,\n exportFileTypes: options.exportFileTypes,\n getBienniumName,\n getScheduleName,\n getInstitutionName,\n getStatusName,\n })}\n striped\n hover\n {...paginationProps}\n {...paginationTableProps}\n />\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n )}\n \n
    \n
    \n
    \n
    \n
    \n );\n};\n","import React, { useEffect, useState } from 'react';\nimport { Card, Container } from 'reactstrap';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { faArrowLeft, faCheck, faFileExport } from '@fortawesome/free-solid-svg-icons';\nimport { UrlEnum } from 'shared';\nimport { useLocation } from 'react-router-dom';\nimport { performanceScheduleService } from 'services';\nimport { Confirm, Button, DropdownButton } from 'components/blocks';\nimport { LineItemRow, LineItemHeaders, SummaryRow } from './components';\nimport format from 'date-fns/format';\nimport { useMemo } from 'react';\nimport { downloadExcel, downloadCsv } from 'helpers';\n\nconst FIELDS = [\n 'lrYminus5Val',\n 'lrYminus4Val',\n 'lrYminus3Val',\n 'lrYminus2Val',\n 'lrYminus1Val',\n 'lrYminus0Val',\n 'prior3ryAvg',\n 'current3ryAvg',\n 'diffIn3ryAvgs',\n];\n\nexport const PerformanceSchedulesLineItem = props => {\n const location = useLocation();\n const { row, labels, exportFileTypes } = location?.state;\n const { biennium, institution, schedule, status } = labels || {};\n const { scheduleId } = row || {};\n const [confirm, setConfirm] = useState(false);\n const [loading, setLoading] = useState(false);\n const [data, setData] = useState({});\n\n console.log(props)\n console.log(labels)\n useEffect(() => {\n const fetch = async () => {\n try {\n const res = await performanceScheduleService.getSchedule(scheduleId);\n setData(res);\n } catch (error) {\n console.error(error);\n }\n };\n fetch();\n }, []);\n const exportAs = async type => {\n try {\n const filename = `${schedule.replace(' ', '')}_${biennium.replace(\n '-',\n '_'\n )}_${institution.replace(' ', '')}`;\n const res = await performanceScheduleService.exportFile(\n type,\n data.scheduleId\n );\n // only excel works at the moment. Others can't be tested with the api yet\n if (type === 'Excel') {\n downloadExcel(res, filename);\n } else if (type === 'Csv') {\n downloadCsv(res, filename);\n }\n } catch (error) {}\n };\n const onChange = d => {\n setData(prev => {\n return {\n ...prev,\n scheduleData: prev.scheduleData.map(schedule => {\n if (schedule.lineItemId === d.id) {\n return {\n ...schedule,\n [d.field]: d.value,\n };\n }\n return schedule;\n }),\n };\n });\n };\n const submitForm = async () => {\n setLoading(true);\n try {\n const res = await performanceScheduleService.updateSchedule(\n data.scheduleId,\n data\n );\n setData(res);\n } catch (error) {}\n setConfirm(false);\n setLoading(false);\n };\n const renderRow = row => {\n return (\n \n );\n };\n const sums = useMemo(() => {\n let sumTotals = [];\n if (!data?.scheduleData) {\n return [];\n }\n for (let x = 0; x < FIELDS.length; x++) {\n const vals = data.scheduleData.map(d => d[FIELDS[x]] || 0);\n sumTotals[x] = vals.reduce((a, b) => a + b, 0);\n }\n return sumTotals;\n }, [data]);\n\n return (\n
    \n \n
    \n \n back to search\n \n
    \n {/* {} },\n { label: 'Update', onClick: () => {} },\n ]}\n /> */}\n {\n return { label: type, onClick: () => exportAs(type) };\n })}\n />\n {/* */}\n
    \n
    \n
    \n
    \n \n

    \n {data.scheduleDescription}\n

    \n
    \n
      \n
    • \n {' '}\n {institution || '---'}\n
    • \n
    • \n {' '}\n {biennium || '---'}\n
    • \n
    • \n {' '}\n {schedule || '---'}\n
    • \n
    • \n {status}\n
    • \n
    • \n {' '}\n {data?.lastUpdated\n ? `${format(\n new Date(data.lastUpdated),\n 'M/d/y h:mm aa'\n )} ${\n data?.lastUpdatedByUser\n ? 'by ' + data?.lastUpdatedByUser\n : ''\n }`\n : ''}\n
    • \n
    \n
    \n
    \n \n
    \n \n \n \n {data?.scheduleData?.map(renderRow)}\n \n \n \n \n \n
    \n
    \n
    \n setConfirm(true)}\n disabled={loading}\n loading={loading}\n >\n Submit\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n setConfirm(false)}\n onConfirm={submitForm}\n title=\"Confirm Changes\"\n message=\"Are you sure you want to submit these changes?\"\n />\n
    \n );\n};\n","import React from 'react';\nimport { getWidthStyle } from 'components/blocks';\n\nconst yearStyle = getWidthStyle(80);\nconst colStyle = getWidthStyle(100);\n\nexport const format = number =>\n number.toLocaleString('en-US', {\n style: 'currency',\n maximumFractionDigits: 0,\n currency: 'USD',\n });\n\nexport const Title = React.memo(() => {\n return (\n \n \n \n \n
    \n Fee Replaced Debt Service\n
    \n \n \n
    \n Non Fee Replaced Debt Service\n
    \n \n \n \n );\n});\n\nexport const SubTitle = React.memo(() => {\n return (\n \n \n \n Fiscal Year\n \n \n Principal\n \n \n Interest\n \n \n Total Debt Service\n \n \n Outstanding Debt\n \n \n Principal\n \n \n Interest\n \n \n Total Debt Service\n \n \n Outstanding Debt\n \n \n \n );\n});\n\nexport const TableRow = React.memo(props => {\n const {\n feeInterest,\n feeOutstandingDebt,\n feePrincipal,\n feeTotalDebtService,\n fiscalYear,\n nonFeeInterest,\n nonFeeOutstandingDebt,\n nonFeePrincipal,\n nonFeeTotalDebtService,\n } = props;\n return (\n \n \n {fiscalYear}\n \n \n {format(feePrincipal)}\n \n \n {format(feeInterest)}\n \n \n {format(feeTotalDebtService)}\n \n \n {format(feeOutstandingDebt)}\n \n \n {format(nonFeePrincipal)}\n \n \n {format(nonFeeInterest)}\n \n \n {format(nonFeeTotalDebtService)}\n \n \n {format(nonFeeOutstandingDebt)}\n \n \n );\n});\n\nexport const TableBody = React.memo(props => {\n return {props.children};\n});\n","import React, { useCallback, useEffect, useMemo, useReducer, useState } from 'react';\nimport { Card, Container, Row, Table } from 'reactstrap';\nimport _isEmpty from 'lodash/isEmpty';\nimport _get from 'lodash/get';\nimport queryString from 'query-string';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { faChevronRight, faChevronLeft } from '@fortawesome/free-solid-svg-icons';\nimport { budgetRunService, LineItemService, generateReportService } from 'services';\nimport { Title, SubTitle, TableBody, TableRow } from './components';\nimport { FormSelect, Button } from '../blocks';\n\nconst reducer = (state, newState) => ({ ...state, ...newState });\nconst levelOptions = [\n { label: 'Institution', value: 'institution' },\n { label: 'System', value: 'system' },\n { label: 'State', value: 'state' },\n];\nconst defaultStateOption = { value: 'state', label: 'State' };\nconst INITIAL_FORM = {\n biennium: '',\n unitType: levelOptions[0],\n units: [],\n};\nconst getOptionLabel = d => d.label;\nconst convertToValue = d => ({ ...d, value: d.id, label: d.name });\nconst deriveKey = (array = [], key = 'key') => {\n return array.map(d => d[key]);\n};\nconst paginationOptions = {\n showTotal: true,\n firstPageText: 'First',\n prePageText: 'Previous',\n nextPageText: 'Next',\n lastPageText: 'Last',\n sizePerPage: 20,\n hideSizePerPage: true,\n};\nexport const DebtService = () => {\n const [loading, setLoading] = useState(false);\n const [form, setForm] = useReducer(reducer, INITIAL_FORM);\n const [options, setOptions] = useReducer(reducer, {});\n const [data, setData] = useState([]);\n const [active, setActive] = useState(0);\n useEffect(() => {\n const fetchOptions = async () => {\n try {\n const res = await Promise.all([\n LineItemService.getBienniums(),\n generateReportService.getInstitutions('capitalProjectUnitsOnly=true'),\n generateReportService.getSystems('capitalProjectUnitsOnly=true'),\n ]);\n const opts = {\n biennium: res[0].map(convertToValue),\n institutions: res[1]?.institutions?.map(convertToValue),\n systems: res[2]?.systems?.map(convertToValue),\n };\n const today = new Date();\n const notFutureDates = opts.biennium.filter(\n b => b.id < today.getFullYear()\n );\n const lastBiennium = notFutureDates.length > 0 ? notFutureDates[0] : '';\n setForm({ biennium: lastBiennium });\n setOptions(opts);\n } catch (error) {\n console.error(error);\n }\n\n setLoading(false);\n };\n fetchOptions();\n }, []);\n useEffect(() => {\n if (form.unitType?.value === 'state') {\n setForm({ units: defaultStateOption });\n } else {\n setForm({ units: [] });\n }\n }, [form.unitType]);\n const onSubmit = useCallback(async () => {\n setLoading(true);\n const getFormPayload = () => {\n const payload = {\n biennium: form?.biennium?.value,\n unitType: form?.unitType?.value,\n units: Array.isArray(form.units)\n ? deriveKey(form.units, 'value')\n : [form.units.value],\n };\n return queryString.stringify(payload, {\n arrayFormat: 'separator',\n skipEmptyString: true,\n });\n };\n try {\n const query = getFormPayload();\n const res = await budgetRunService.debtServiceReport(query);\n if (res) {\n setData(res);\n }\n } catch (error) {\n console.error(error);\n }\n setLoading(false);\n }, [form]);\n const filterOptions = useMemo(() => {\n if (form.unitType?.value === 'institution') {\n return options.institutions;\n }\n if (form.unitType?.value === 'system') {\n return options.systems;\n }\n return [defaultStateOption];\n }, [form.unitType, options.institutions, options.systems]);\n const activeReport = _get(data, `[${active}]`, null);\n return (\n \n \n
    \n \n

    Search Budget Schedules

    \n
    \n \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n \n View Report\n \n
    \n
    \n
    \n
    \n
    \n {activeReport && (\n \n
    \n setActive(prev => prev - 1)}\n >\n \n \n
    \n {active + 1} of {data.length}\n
    \n setActive(prev => prev + 1)}\n >\n \n \n
    \n
    \n

    Debt Service on Capital Projects

    \n

    {activeReport.unitName}

    \n

    \n Summary of Debt Service for Capital Projects through\n Retirement of Debt\n

    \n
    \n
    \n \n \n <SubTitle />\n <TableBody>\n {activeReport.rows.map(row => {\n return (\n <TableRow key={row.fiscalYear} {...row} />\n );\n })}\n </TableBody>\n </Table>\n </div>\n </Card>\n )}\n </div>\n </Row>\n </Container>\n );\n};\n","import React, { useReducer } from 'react';\nimport { Form, Input } from 'reactstrap';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { faArrowRight } from '@fortawesome/free-solid-svg-icons';\n\nimport { onChangeFunction } from 'shared';\nimport { Button } from 'components/blocks';\n\nconst reducer = (state, newState) => ({ ...state, ...newState });\nconst INITIAL_STATE = {\n email: '',\n password: '',\n};\n\nexport const LoginForm = props => {\n const { loading, onSubmit, setReset } = props;\n const [form, setForm] = useReducer(reducer, INITIAL_STATE);\n const { email, password } = form;\n const submitHandler = async e => {\n e.preventDefault();\n onSubmit(form);\n };\n return (\n <Form onSubmit={loading ? null : submitHandler}>\n <Input\n type=\"email\"\n name=\"email\"\n className=\"form-control form-control-lg mb-3\"\n style={{ background: '#FFF' }}\n placeholder=\"Email Address\"\n value={email}\n onChange={evt => onChangeFunction.handleChange(evt, setForm)}\n />\n <Input\n type=\"password\"\n name=\"password\"\n className=\"form-control form-control-lg mb-4\"\n style={{ background: '#FFF' }}\n placeholder=\"Password\"\n value={password}\n onChange={evt => onChangeFunction.handleChange(evt, setForm)}\n />\n <Button\n type=\"submit\"\n color=\"primary\"\n className=\"btn-lg btn-block btn-round\"\n loading={loading}\n disabled={email.length === 0 || password.length === 0}\n >\n Login <FontAwesomeIcon icon={faArrowRight} />\n </Button>\n <div className=\"mt-5 text-center\">\n <div\n className=\"body-text-link cursor-pointer\"\n onClick={() => setReset(true)}\n >\n Forgot your password?\n </div>\n </div>\n </Form>\n );\n};\n","import React, { useReducer } from 'react';\nimport { Form, Input } from 'reactstrap';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { faArrowLeft } from '@fortawesome/free-solid-svg-icons';\n\nimport { onChangeFunction } from 'shared';\nimport { Button } from 'components/blocks';\n\nconst reducer = (state, newState) => ({ ...state, ...newState });\nconst INITIAL_STATE = {\n email: '',\n};\n\nexport const ResetForm = props => {\n const { loading, onSubmit, setReset } = props;\n const [form, setForm] = useReducer(reducer, INITIAL_STATE);\n const { email } = form;\n const submitHandler = async e => {\n e.preventDefault();\n onSubmit(form);\n };\n return (\n <Form onSubmit={loading ? null : submitHandler}>\n <h2 className=\"text-uppercase text-darkgreen mb-1\">Reset Password</h2>\n <p>\n Enter your email address below and a reset password link\n <br />\n will be sent to you.\n </p>\n <Input\n type=\"email\"\n name=\"email\"\n className=\"form-control form-control-lg mb-4\"\n style={{ background: '#FFF' }}\n placeholder=\"Email Address\"\n value={email}\n onChange={evt => onChangeFunction.handleChange(evt, setForm)}\n />\n <Button\n type=\"submit\"\n color=\"primary\"\n className=\"btn-lg btn-block btn-round\"\n loading={loading}\n disabled={email.length === 0}\n >\n Send Reset Link\n </Button>\n <div className=\"mt-5 text-center\">\n <div\n onClick={() => setReset(false)}\n className=\"body-text-link cursor-pointer\"\n >\n <FontAwesomeIcon icon={faArrowLeft} /> back to login\n </div>\n </div>\n </Form>\n );\n};\n","import React, { useReducer } from 'react';\nimport { Form, Input } from 'reactstrap';\nimport InputMask from 'react-input-mask';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { faArrowRight, faArrowLeft } from '@fortawesome/free-solid-svg-icons';\n\nimport { onChangeFunction } from 'shared';\nimport { Button } from 'components/blocks';\n\nconst reducer = (state, newState) => ({ ...state, ...newState });\nconst INITIAL_STATE = {\n phoneNumber: '',\n};\n\nexport const PhoneNumberForm = props => {\n const { loading, onSubmit, linkToLogin } = props;\n const [form, setForm] = useReducer(reducer, INITIAL_STATE);\n const { phoneNumber } = form;\n const submitHandler = async e => {\n e.preventDefault();\n onSubmit({ ...form, phoneNumber: form.phoneNumber.replace(/\\D+/g, '') });\n };\n return (\n <Form onSubmit={loading ? null : submitHandler}>\n <h2 className=\"text-uppercase text-darkgreen mb-1\">Verify Phone Number</h2>\n <p>\n In order to login in you will need to add a valid phone number. We will\n send you a text message with a verification code that you'll need to enter\n on the next screen.\n </p>\n <Input\n type=\"tel\"\n name=\"phoneNumber\"\n className=\"form-control form-control-lg mb-4\"\n style={{ background: '#FFF' }}\n placeholder=\"Phone Number\"\n value={phoneNumber}\n onChange={evt => onChangeFunction.handleChange(evt, setForm)}\n mask=\"(999) 999-9999\"\n maskChar=\" \"\n tag={InputMask}\n />\n <Button\n type=\"submit\"\n color=\"primary\"\n className=\"btn-lg btn-block btn-round\"\n loading={loading}\n disabled={phoneNumber.length === 0}\n >\n Submit <FontAwesomeIcon icon={faArrowRight} />\n </Button>\n <div className=\"mt-5 text-center\">\n <div onClick={linkToLogin} className=\"body-text-link cursor-pointer\">\n <FontAwesomeIcon icon={faArrowLeft} /> back to login\n </div>\n </div>\n </Form>\n );\n};\n","import React, { useReducer } from 'react';\nimport { Form, Input } from 'reactstrap';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { faArrowRight } from '@fortawesome/free-solid-svg-icons';\n\nimport { onChangeFunction } from 'shared';\nimport { Button } from 'components/blocks';\n\nconst reducer = (state, newState) => ({ ...state, ...newState });\nconst INITIAL_STATE = {\n code: '',\n};\n\nexport const VerifyCodeForm = props => {\n const { loading, onSubmit, resendCode } = props;\n const [form, setForm] = useReducer(reducer, INITIAL_STATE);\n const { code } = form;\n const submitHandler = async e => {\n e.preventDefault();\n onSubmit(form);\n };\n return (\n <Form onSubmit={loading ? null : submitHandler}>\n <h2 className=\"text-uppercase text-darkgreen mb-1\">\n Two-Factor Authentication\n </h2>\n <p>\n An sms verification code has been sent to your mobile phone.\n <br />\n Please enter the code below.\n </p>\n <Input\n type=\"text\"\n name=\"code\"\n className=\"form-control form-control-lg mb-4\"\n style={{ background: '#FFF' }}\n placeholder=\"Verification Code\"\n value={code}\n onChange={evt => onChangeFunction.handleChange(evt, setForm)}\n />\n <Button\n type=\"submit\"\n color=\"primary\"\n className=\"btn-lg btn-block btn-round\"\n loading={loading}\n disabled={code.length === 0}\n >\n Submit <FontAwesomeIcon icon={faArrowRight} />\n </Button>\n <div className=\"mt-5 text-center\">\n <div className=\"body-text-link cursor-pointer\" onClick={resendCode}>\n Didn't get a code? Resend it.\n </div>\n </div>\n </Form>\n );\n};\n","import React, { useState } from 'react';\nimport { useHistory } from 'react-router-dom';\nimport { useDispatch } from 'react-redux';\n\nimport { userService } from 'services';\nimport { useErrorState, useToastState } from 'shared';\nimport { LoginForm, ResetForm } from 'components/login';\n\nexport const LoginPage = props => {\n const { handleError, setError } = useErrorState();\n const locationState = props?.location?.state;\n const { setToast } = useToastState();\n const dispatch = useDispatch();\n const upcomingMaitenance = false;\n const history = useHistory();\n const [reset, setReset] = useState(locationState?.reset || false);\n const [loading, setLoading] = useState(false);\n const login = async payload => {\n setLoading(true);\n try {\n const res = await userService.login(payload.email, payload.password);\n // if the users password has expired then they will be routed to the set password page to set a new password\n dispatch({\n type: 'SET_USER',\n user: { token: res?.token },\n });\n if (res.isExpired) {\n await userService.forgotPassword(payload.email);\n setError({\n message:\n 'Your password has expired. You must create a new password before you can log back in. Please follow the email we just sent you to set your new password.',\n });\n } else if (res?.twoFactorMethodVerified === true) {\n history.push('/verify', { ...res, ...payload });\n } else if (res?.twoFactorMethodVerified === false) {\n // if the user is not verifed then we need to link them to the phone number input page\n history.push('/phone', { ...res, ...payload });\n }\n } catch (error) {\n handleError(error);\n }\n setLoading(false);\n };\n const resetPassword = async payload => {\n setLoading(true);\n try {\n const res = await userService.forgotPassword(payload.email);\n setToast({\n title: 'Successly Sent Email!',\n message: res.message,\n });\n setReset(false);\n } catch (error) {\n handleError(error);\n }\n setLoading(false);\n };\n return (\n <div className=\"login-wrap\">\n <div className=\"login-card\">\n <div className=\"logo\">\n <img src=\"/logo-chedss.png\" alt=\"CHEDSS\" />\n {!upcomingMaitenance && <h2 className=\"text-center my-5\">Data Submission System (CHEDSS)</h2>}\n {upcomingMaitenance && (\n <div style={{ color: '#FF0000', textAlign: 'center', fontFamily: 'arial', fontSize: '12px' }}>\n <b>NOTE</b>\n <div style={{ color: '#000000', textAlign: 'center', fontFamily: 'arial', fontSize: '12px' }}>\n Maintenance & enhancement work will start 7/11/24 at 11AM - 11PM 7/14/24.\n <br />\n Refrain from using the system during this time.\n <div style={{ color: '#000000', textAlign: 'center', fontFamily: 'arial', fontSize: '12px' }}>\n Last updated 7/9/24.\n </div>\n </div>\n </div>\n )}\n\n {reset ? (\n <ResetForm\n loading={loading}\n setReset={setReset}\n onSubmit={resetPassword}\n />\n ) : (\n <LoginForm\n loading={loading}\n setReset={setReset}\n onSubmit={login}\n />\n )}\n </div>\n </div>\n </div>\n );\n};\n","import React, { useState } from 'react';\nimport { useHistory } from 'react-router-dom';\nimport { useDispatch } from 'react-redux';\n\nimport { userService } from 'services';\nimport { useErrorState } from 'shared';\nimport { VerifyCodeForm } from 'components/login';\n\nexport const VerifyCodePage = props => {\n const { handleError, setError } = useErrorState();\n const { phoneNumber, email, password, ...rest } = props?.location?.state;\n const dispatch = useDispatch();\n const history = useHistory();\n const [loading, setLoading] = useState(false);\n const resendCode = async () => {\n setLoading(true);\n try {\n if (phoneNumber) {\n await userService.submitPhone({ phoneNumber });\n } else {\n // resend the login info\n await userService.login(email, password);\n }\n } catch (error) {\n handleError(error);\n }\n setLoading(false);\n };\n const verifyCode = async payload => {\n setLoading(true);\n try {\n const res = await userService.verifyPhone(payload);\n if (res.isExpired) {\n await userService.forgotPassword(email);\n setError({\n message:\n 'Your password has expired. You must create a new password before you can log back in. Please follow the email we just sent you to set your new password.',\n });\n } else {\n const user = { ...rest, ...res, emailAddress: email };\n dispatch({\n type: 'SET_USER',\n user,\n });\n const roles = await userService.getRole();\n dispatch({\n type: 'SET_USER',\n user: { ...user, roles },\n });\n history.replace('/');\n }\n } catch (error) {\n\n if(error.response && error.response.status == 500) {\n error.message = \"Too many attempts at 2-Factor Authentication. Please try again in 10 minutes\";\n if(error.response.data) {\n error.response.data.message = \"Too many attempts at 2-Factor Authentication. Please try again in 10 minutes\";\n }\n }\n \n handleError(error);\n }\n setLoading(false);\n };\n return (\n <div className=\"login-wrap\">\n <div className=\"login-card\">\n <div className=\"logo\">\n <img src=\"/logo-chedss.png\" alt=\"CHEDSS\" />\n <h2 className=\"text-center my-5\">Data Submission System (CHEDSS)</h2>\n <VerifyCodeForm\n loading={loading}\n onSubmit={verifyCode}\n resendCode={resendCode}\n />\n </div>\n </div>\n </div>\n );\n};\n","import React, { useState } from 'react';\nimport { useHistory } from 'react-router-dom';\nimport { useDispatch } from 'react-redux';\n\nimport { userService } from 'services';\nimport { useErrorState, useToastState } from 'shared';\nimport { PhoneNumberForm } from 'components/login';\n\nexport const PhoneNumberPage = props => {\n const { handleError } = useErrorState();\n const locationState = props?.location?.state;\n const history = useHistory();\n const [loading, setLoading] = useState(false);\n const linkToLogin = () => history.replace('/login');\n const verifyNumber = async payload => {\n setLoading(true);\n try {\n await userService.submitPhone(payload);\n // if the users password has expired then they will be routed to the set password page to set a new password\n history.push('/verify', { ...locationState, ...payload });\n } catch (error) {\n handleError(error);\n }\n setLoading(false);\n };\n return (\n <div className=\"login-wrap\">\n <div className=\"login-card\">\n <div className=\"logo\">\n <img src=\"/logo-chedss.png\" alt=\"CHEDSS\" />\n <h2 className=\"text-center my-5\">Data Submission System (CHEDSS)</h2>\n <PhoneNumberForm\n loading={loading}\n onSubmit={verifyNumber}\n linkToLogin={linkToLogin}\n />\n </div>\n </div>\n </div>\n );\n};\n","import React, { useReducer, useMemo } from 'react';\nimport { Form, Input, Popover, PopoverHeader, PopoverBody } from 'reactstrap';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { faArrowLeft } from '@fortawesome/free-solid-svg-icons';\n\nimport { onChangeFunction } from 'shared';\nimport { Button } from 'components/blocks';\n\nconst reducer = (state, newState) => ({ ...state, ...newState });\nconst INITIAL_STATE = {\n password: '',\n confirm: '',\n};\n\nconst VALIDATION_REGEX = {\n '(?=.*[a-z])': 'At least 1 lower-case',\n '(?=.*[A-Z])': 'At least 1 upper-case',\n '(?=.*?[0-9])': 'At least 1 number',\n '(?=.*[!,@,#,$,%,^,&,*,\\\\[,\\\\],?,_,~,-,£,(,),.,:,;,<,>,},{])':\n 'At least 1 special character (‘!@#$%^&*()_+[]{};:”,.<>/?)',\n '.{10,}': 'At least 10 characters',\n};\n\nexport const PasswordForm = props => {\n const { loading, onSubmit, linkToLogin, uid } = props;\n const [form, setForm] = useReducer(reducer, INITIAL_STATE);\n const { password, confirm } = form;\n const submitHandler = async e => {\n e.preventDefault();\n onSubmit(form);\n };\n const validation = useMemo(() => {\n if (form.password.length > 0) {\n const errors = [];\n Object.keys(VALIDATION_REGEX).forEach(key => {\n const regTest = new RegExp(key);\n if (!regTest.test(form.password)) {\n errors.push(VALIDATION_REGEX[key]);\n }\n });\n return errors;\n }\n return [];\n }, [form]);\n const isValid = validation.length === 0;\n const hasPassword = password.length > 0;\n const hasConfirm = confirm.length > 0;\n const confirmError = hasPassword && hasConfirm && password !== confirm;\n return (\n <Form onSubmit={loading ? null : submitHandler}>\n <Input\n type=\"password\"\n name=\"password\"\n className=\"form-control form-control-lg mb-3\"\n style={{ background: '#FFF' }}\n placeholder=\"Password\"\n value={password}\n onChange={evt => onChangeFunction.handleChange(evt, setForm)}\n id=\"validation_popover\"\n />\n <Popover\n placement=\"bottom-end\"\n isOpen={!isValid && hasPassword}\n target=\"validation_popover\"\n >\n <PopoverHeader>Password Validation</PopoverHeader>\n <PopoverBody>\n {validation.map((val, i) => {\n return (\n <div key={i} className=\"text-danger\">\n • {val}\n </div>\n );\n })}\n </PopoverBody>\n </Popover>\n <Input\n type=\"password\"\n name=\"confirm\"\n className={`form-control form-control-lg ${\n confirmError ? 'mb-1' : 'mb-4'\n }`}\n style={{ background: '#FFF' }}\n placeholder=\"Confirm Password\"\n value={confirm}\n onChange={evt => onChangeFunction.handleChange(evt, setForm)}\n />\n {confirmError && (\n <div className=\"text-danger mb-3\">Passwords do not match</div>\n )}\n <Button\n type=\"submit\"\n color=\"primary\"\n className=\"btn-lg btn-block btn-round\"\n loading={loading}\n disabled={password.length === 0 || confirm.length === 0 || !isValid}\n >\n {uid ? 'Reset Password' : 'Set Password'}\n </Button>\n <div className=\"mt-5 text-center\">\n <div onClick={linkToLogin} className=\"body-text-link cursor-pointer\">\n <FontAwesomeIcon icon={faArrowLeft} /> back to login\n </div>\n </div>\n </Form>\n );\n};\n","import React, { useState } from 'react';\nimport { useHistory } from 'react-router-dom';\nimport { useLocation } from 'react-router';\nimport { parse } from 'query-string';\n\nimport { userService } from 'services';\nimport { useErrorState, useToastState } from 'shared';\nimport { PasswordForm } from 'components/password';\n\nexport const SetPasswordPage = props => {\n const { handleError } = useErrorState();\n const { setToast } = useToastState();\n const history = useHistory();\n const location = useLocation();\n const { uid, id } = parse(location.search);\n const [loading, setLoading] = useState(false);\n const linkToLogin = () => history.replace('/login');\n console.log(\"setting\")\n const resetPassword = async payload => {\n setLoading(true);\n try {\n await userService.setPassword(id, uid, payload.password);\n setToast({\n title: 'Successly Reset Password!',\n message: 'You may now log in with your new password.',\n });\n linkToLogin();\n } catch (error) {\n handleError(error);\n }\n setLoading(false);\n };\n return (\n <div className=\"login-wrap\">\n <div className=\"login-card\">\n <div className=\"logo\">\n <img src=\"/logo-chedss.png\" alt=\"CHEDSS\" />\n <h2 className=\"text-center my-5\">Data Submission System (CHEDSS)</h2>\n <PasswordForm\n loading={loading}\n onSubmit={resetPassword}\n linkToLogin={linkToLogin}\n uid={uid}\n />\n </div>\n </div>\n </div>\n );\n};\n","import React, { useState } from 'react';\nimport {\n Container,\n Dropdown,\n DropdownItem,\n DropdownToggle,\n DropdownMenu,\n} from 'reactstrap';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { faArrowLeft, faFileExport, faTrashAlt } from '@fortawesome/free-solid-svg-icons';\n\nimport { capitalProjectService } from 'services';\n\nimport { CapitalProjectRequestWizardForm } from 'components';\n\nimport { TabEnum, FormEnum, UrlEnum, ConfirmActionModal } from 'shared';\n\nexport const CapitalProjectRequest = props => {\n const [stepNumber, setStepNumber] = useState(1);\n Object.filter = (obj, predicate) =>\n Object.fromEntries(Object.entries(obj).filter(predicate));\n const parseQueryParams = () => {\n const query = props.location.state;\n const persistedProjectId = sessionStorage.getItem('projectId');\n\n if (props.location.hash) {\n const filtered = Object.filter(\n TabEnum,\n ([name, tab]) => tab === props.location.hash\n );\n if (filtered) {\n const NameOfTab = Object.keys(filtered)[0];\n const newStepNumber = FormEnum[NameOfTab];\n if (newStepNumber !== stepNumber) setStepNumber(newStepNumber);\n }\n }\n if (query) {\n for (let param of query) {\n if (\n param.projectId &&\n (!persistedProjectId || param.projectId !== persistedProjectId)\n ) {\n window.sessionStorage.setItem('projectId', param.projectId);\n return param.projectId;\n } else {\n return null;\n }\n }\n }\n };\n parseQueryParams();\n const persistedProjectId = sessionStorage.getItem('projectId');\n\n return (\n <Container fluid>\n <CapitalProjectRequestHeader\n projectId={persistedProjectId}\n ></CapitalProjectRequestHeader>\n <CapitalProjectRequestWizardForm\n projectId={persistedProjectId}\n stepNumber={stepNumber}\n />\n </Container>\n );\n};\n\nconst CapitalProjectRequestHeader = ({ projectId }) => {\n const [isDeleteModalOpen, setIsDeleteModalOpen] = useState(false);\n return (\n <React.Fragment>\n <div className=\"d-md-flex align-items-center justify-content-between mb-3\">\n <a href={UrlEnum.CAPITALPROJECTSEARCH}>\n <FontAwesomeIcon icon={faArrowLeft} /> back to search\n </a>\n <div className=\"d-flex align-items-center\">\n <ExportDropdown projectId={projectId} />\n <button\n className=\"btn btn-danger btn-xs\"\n onClick={() => setIsDeleteModalOpen(true)}\n >\n <FontAwesomeIcon icon={faTrashAlt} /> Delete\n </button>\n </div>\n </div>\n <ConfirmActionModal\n isOpen={isDeleteModalOpen}\n toggle={() => setIsDeleteModalOpen(!isDeleteModalOpen)}\n header={`Confirm Delete`}\n message={'Are you sure you want to delete this capital project?'}\n acceptButtonText={'Delete'}\n acceptFunction={() =>\n capitalProjectService\n .deleteCapitalProject(projectId)\n .then((window.location.href = UrlEnum.CAPITALPROJECTSEARCH))\n }\n acceptButtonCss=\"btn btn-danger\"\n />\n </React.Fragment>\n );\n};\n\nconst ExportDropdown = ({ projectId }) => {\n const [isOpen, updateIsOpen] = useState(false);\n\n return (\n <React.Fragment>\n <Dropdown\n className=\"dropdown mr-2\"\n onMouseOver={() => updateIsOpen(true)}\n onFocus={() => updateIsOpen(true)}\n // onMouseLeave={() => updateIsOpen(false)}\n onBlur={() => updateIsOpen(false)}\n toggle={() => updateIsOpen(!isOpen)}\n isOpen={isOpen}\n direction=\"down\"\n >\n <DropdownToggle className=\"btn btn-xs btn-outline-primary dropdown-toggle\">\n <FontAwesomeIcon icon={faFileExport} />\n Export as...\n </DropdownToggle>\n <DropdownMenu>\n <DropdownItem\n onClick={() =>\n capitalProjectService.downloadCapitalProject('xls', projectId)\n }\n >\n XLS\n </DropdownItem>\n <DropdownItem\n onClick={() =>\n capitalProjectService.downloadCapitalProject('pdf', projectId)\n }\n >\n PDF\n </DropdownItem>\n </DropdownMenu>\n </Dropdown>\n </React.Fragment>\n );\n};\n","import React, { useState } from 'react';\n\nimport { Row, Col } from 'reactstrap';\nimport { SearchCapitalProjectsForm, CapitalProjectsSearchTable } from 'components';\n\nexport const CapitalProjectSearchPage = props => {\n const [capitalProjects, setCapitalProjects] = useState([]);\n return (\n <Row>\n <Col className=\"col-xl-3 col-lg-12 mb-3 mb-lg-0\">\n <SearchCapitalProjectsForm\n capitalProjects={capitalProjects}\n setCapitalProjects={setCapitalProjects}\n ></SearchCapitalProjectsForm>\n </Col>\n <Col className=\"col-xl-9 col-lg-12\">\n <CapitalProjectsSearchTable\n capitalProjects={capitalProjects}\n ></CapitalProjectsSearchTable>\n </Col>\n </Row>\n );\n};\n","import React, { useState } from 'react';\n\nimport { Row, Col } from 'reactstrap';\nimport {\n\tSearchCapitalProjectReviewForm,\n\tSearchCapitalProjectsReviewTable,\n} from 'components';\n\nexport const ProjectReviewSearchPage = (props) => {\n\tconst [capitalProjects, setCapitalProjects] = useState([]);\n\treturn (\n\t\t<Row>\n\t\t\t<Col className='col-xl-3 col-lg-12 mb-3 mb-lg-0'>\n\t\t\t\t<SearchCapitalProjectReviewForm\n\t\t\t\t\tcapitalProjects={capitalProjects}\n\t\t\t\t\tsetCapitalProjects={setCapitalProjects}\n\t\t\t\t/>\n\t\t\t</Col>\n\t\t\t<Col className='col-xl-9 col-lg-12'>\n\t\t\t\t<SearchCapitalProjectsReviewTable\n\t\t\t\t\tcapitalProjects={capitalProjects}></SearchCapitalProjectsReviewTable>\n\t\t\t</Col>\n\t\t</Row>\n\t);\n};\n","import React, { useState } from 'react';\nimport {\n Container,\n Dropdown,\n DropdownItem,\n DropdownToggle,\n DropdownMenu,\n} from 'reactstrap';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { faArrowLeft, faFileExport, faTrashAlt } from '@fortawesome/free-solid-svg-icons';\n\nimport { capitalProjectService } from 'services';\n\nimport { ProjectReviewWizardForm } from 'components';\n\nimport { TabEnum, FormEnum, UrlEnum, ConfirmActionModal } from 'shared';\n\nexport const ProjectReviewPage = props => {\n const [stepNumber, setStepNumber] = useState(1);\n Object.filter = (obj, predicate) =>\n Object.fromEntries(Object.entries(obj).filter(predicate));\n const parseQueryParams = () => {\n const query = props.location.state;\n const persistedProjectId = sessionStorage.getItem('projectReviewProjectId');\n\n if (props.location.hash) {\n const filtered = Object.filter(\n TabEnum,\n ([name, tab]) => tab === props.location.hash\n );\n if (filtered) {\n const NameOfTab = Object.keys(filtered)[0];\n const newStepNumber = FormEnum[NameOfTab];\n if (newStepNumber !== stepNumber) setStepNumber(newStepNumber);\n }\n }\n if (query) {\n for (let param of query) {\n if (\n param.projectReviewProjectId &&\n (!persistedProjectId ||\n param.projectReviewProjectId !== persistedProjectId)\n ) {\n window.sessionStorage.setItem(\n 'projectReviewProjectId',\n param.projectReviewProjectId\n );\n return param.projectReviewProjectId;\n } else {\n return null;\n }\n }\n }\n };\n parseQueryParams();\n const persistedProjectId = sessionStorage.getItem('projectReviewProjectId');\n\n return (\n <Container fluid>\n <ProjectReviewHeader projectId={persistedProjectId}></ProjectReviewHeader>\n <ProjectReviewWizardForm\n projectId={persistedProjectId}\n stepNumber={stepNumber}\n />\n </Container>\n );\n};\n\nconst ProjectReviewHeader = ({ projectId }) => {\n const [isDeleteModalOpen, setIsDeleteModalOpen] = useState(false);\n return (\n <React.Fragment>\n <div className=\"d-md-flex align-items-center justify-content-between mb-3\">\n <a href={UrlEnum.PROJECTREVIEWSEARCH}>\n <FontAwesomeIcon icon={faArrowLeft} /> back to search\n </a>\n <div className=\"d-flex align-items-center\">\n <ExportDropdown projectId={projectId} />\n <button className=\"btn btn-danger btn-xs\">\n <FontAwesomeIcon icon={faTrashAlt} /> Delete\n </button>\n </div>\n </div>\n <ConfirmActionModal\n isOpen={isDeleteModalOpen}\n toggle={() => setIsDeleteModalOpen(!isDeleteModalOpen)}\n header={`Confirm Delete`}\n message={'Are you sure you want to delete this capital project?'}\n acceptButtonText={'Delete'}\n acceptFunction={() =>\n capitalProjectService\n .deleteCapitalProject(projectId)\n .then((window.location.href = UrlEnum.PROJECTREVIEWSEARCH))\n }\n acceptButtonCss=\"btn btn-danger\"\n />\n </React.Fragment>\n );\n};\n\nconst ExportDropdown = ({ projectId }) => {\n const [isOpen, updateIsOpen] = useState(false);\n\n return (\n <React.Fragment>\n <Dropdown\n className=\"dropdown mr-2\"\n onMouseOver={() => updateIsOpen(true)}\n onFocus={() => updateIsOpen(true)}\n // onMouseLeave={() => updateIsOpen(false)}\n onBlur={() => updateIsOpen(false)}\n toggle={() => updateIsOpen(!isOpen)}\n isOpen={isOpen}\n direction=\"down\"\n >\n <DropdownToggle className=\"btn btn-xs btn-outline-primary dropdown-toggle\">\n <FontAwesomeIcon icon={faFileExport} />\n Export as...\n </DropdownToggle>\n <DropdownMenu>\n <DropdownItem\n onClick={() =>\n capitalProjectService.downloadCapitalProject('xls', projectId)\n }\n >\n XLS\n </DropdownItem>\n <DropdownItem\n onClick={() =>\n capitalProjectService.downloadCapitalProject('pdf', projectId)\n }\n >\n PDF\n </DropdownItem>\n </DropdownMenu>\n </Dropdown>\n </React.Fragment>\n );\n};\n","import React from 'react';\nimport { LineItemsBudget } from 'components';\n\nexport const LineItemBudgetPage = () => {\n return <LineItemsBudget />;\n};\n","import React from 'react';\nimport { BudgetSchedulesSearch } from 'components';\n\nexport const LineItemSearchPage = () => {\n return <BudgetSchedulesSearch />;\n};\n","import React, { useState } from 'react';\nimport { Container } from 'reactstrap';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { faArrowLeft, faLockOpen, faTrashAlt } from '@fortawesome/free-solid-svg-icons';\nimport { useHistory } from 'react-router-dom';\nimport { budgetRunService } from 'services';\nimport { BudgetRunWizardForm } from 'components';\nimport { BudgetRunTabEnum, BudgetRunFormEnum, UrlEnum, ConfirmActionModal } from 'shared';\n\nexport const BudgetRunPage = props => {\n const [stepNumber, setStepNumber] = useState(1);\n const [budgetRun, setBudgetRun] = useState(null);\n Object.filter = (obj, predicate) =>\n Object.fromEntries(Object.entries(obj).filter(predicate));\n const parseQueryParams = () => {\n const query = props.location.state;\n const persistedBudgetRunId = sessionStorage.getItem('budgetRunId');\n\n if (props.location.hash) {\n const filtered = Object.filter(\n BudgetRunTabEnum,\n ([name, tab]) => tab === props.location.hash\n );\n if (filtered) {\n const NameOfTab = Object.keys(filtered)[0];\n const newStepNumber = BudgetRunFormEnum[NameOfTab];\n if (newStepNumber !== stepNumber) setStepNumber(newStepNumber);\n }\n }\n if (query) {\n for (let param of query) {\n if (\n param.budgetRunId &&\n (!persistedBudgetRunId || param.budgetRunId !== persistedBudgetRunId)\n ) {\n window.sessionStorage.setItem('budgetRunId', param.budgetRunId);\n return param.budgetRunId;\n } else {\n return null;\n }\n }\n }\n };\n parseQueryParams();\n const persistedBudgetRunId = sessionStorage.getItem('budgetRunId');\n\n return (\n <Container fluid>\n <BudgetRunHeader\n budgetRunId={persistedBudgetRunId}\n budgetRun={budgetRun}\n setBudgetRun={setBudgetRun}\n ></BudgetRunHeader>\n <BudgetRunWizardForm\n budgetRun={budgetRun}\n setBudgetRun={setBudgetRun}\n budgetRunId={persistedBudgetRunId}\n stepNumber={stepNumber}\n />\n </Container>\n );\n};\n\nconst BudgetRunHeader = ({ budgetRunId, budgetRun, setBudgetRun }) => {\n const history = useHistory();\n const [isDeleteModalOpen, setIsDeleteModalOpen] = useState(false);\n const [isUnlockModalOpen, setIsUnlockModalOpen] = useState(false);\n return (\n <React.Fragment>\n <div className=\"d-md-flex align-items-center justify-content-between mb-3\">\n <a href={UrlEnum.BUDGETRUNSEARCH}>\n <FontAwesomeIcon icon={faArrowLeft} /> back to search\n </a>\n <div className=\"d-flex align-items-center\">\n <div\n className={`switch ${\n budgetRun\n ? budgetRun.budgetRunStatusId !== 4\n ? 'd-none'\n : ''\n : ''\n }`}\n >\n <button\n className=\"btn btn-xs btn-outline-primary mr-2\"\n onClick={() => setIsUnlockModalOpen(true)}\n >\n <FontAwesomeIcon icon={faLockOpen} /> Unlock\n </button>\n </div>\n <button\n className=\"btn btn-danger btn-xs\"\n onClick={() => setIsDeleteModalOpen(true)}\n >\n <FontAwesomeIcon icon={faTrashAlt} /> Delete\n </button>\n </div>\n </div>\n <ConfirmActionModal\n isOpen={isDeleteModalOpen}\n toggle={() => setIsDeleteModalOpen(!isDeleteModalOpen)}\n header={`Confirm Delete`}\n message={'Are you sure you want to delete this budget run?'}\n acceptButtonText={'Delete'}\n acceptFunction={() =>\n budgetRunService.deleteBudgetRun(budgetRunId, history)\n }\n acceptButtonCss=\"btn btn-danger\"\n />\n <ConfirmActionModal\n isOpen={isUnlockModalOpen}\n toggle={() => setIsUnlockModalOpen(!isUnlockModalOpen)}\n header={`Confirm Unlock`}\n message={'Are you sure you want to Unlock this budget run?'}\n acceptButtonText={'Unlock'}\n acceptFunction={async () => {\n budgetRun.budgetRunStatusId = 3;\n setBudgetRun(await budgetRunService.saveBudgetRun(budgetRun));\n }}\n acceptButtonCss=\"btn btn-danger\"\n />\n </React.Fragment>\n );\n};\n","import React, { useState } from 'react';\n\nimport { Row, Col } from 'reactstrap';\nimport { SearchBudgetRunForm, BudgetRunSearchTable } from 'components';\n\nexport const BudgetRunSearchPage = props => {\n const [budgetRun, setBudgetRun] = useState([]);\n const [searchObject, setSearchObject] = useState({\n bienniums: null,\n title: null,\n status: null,\n includeAll: true,\n // orderBy: 'LastUpdate',\n // sortDirection: 'desc',\n });\n return (\n <Row>\n <Col className=\"col-xl-3 col-lg-12 mb-3 mb-lg-0\">\n <SearchBudgetRunForm\n budgetRun={budgetRun}\n setBudgetRun={setBudgetRun}\n searchObject={searchObject}\n setSearchObject={setSearchObject}\n ></SearchBudgetRunForm>\n </Col>\n <Col className=\"col-xl-9 col-lg-12\">\n <BudgetRunSearchTable\n budgetRun={budgetRun}\n searchObject={searchObject}\n ></BudgetRunSearchTable>\n </Col>\n </Row>\n );\n};\n","import React from 'react';\nimport { PerformanceSchedulesSearch } from 'components';\n\nexport const PerformanceSchedulesPage = () => {\n return <PerformanceSchedulesSearch />;\n};\n","import React from 'react';\nimport { PerformanceSchedulesLineItem } from 'components';\n\nexport const LineItemPerformancePage = () => {\n return <PerformanceSchedulesLineItem />;\n};\n","import React from 'react';\nimport { DebtService } from 'components';\n\nexport const DebtServicePage = () => {\n return <DebtService />;\n};\n","import React, { useState, useEffect } from 'react';\nimport { Row, Col } from 'reactstrap';\nimport {\n SearchAcademicProgramsForm,\n AcademicAffairsSearchProgramsTable,\n} from '../../../components';\n\nexport const SearchAcademicProgramInventoryPage = props => {\n const academicAffairsDataFromSession = window.sessionStorage.getItem('academicAffairsData') ? JSON.parse(window.sessionStorage.getItem('academicAffairsData')) : null;\n\n const [academicAffairsData, setAcademicAffairsData] = useState(academicAffairsDataFromSession ? academicAffairsDataFromSession : []);\n const [searchObject, setSearchObject] = useState({\n bienniums: null,\n title: null,\n status: null,\n includeAll: true,\n // orderBy: 'LastUpdate',\n // sortDirection: 'desc',\n });\n\n // Before this component is unmounted, commit whatever is in academic affairs data to session storage\n useEffect(() => {\n return () => {\n window.sessionStorage.setItem('academicAffairsData', JSON.stringify(academicAffairsData));\n }\n });\n\n return (\n <Row>\n <Col className=\"col-xl-3 col-lg-12 mb-3 mb-lg-0\">\n <SearchAcademicProgramsForm\n searchObject={searchObject}\n setSearchObject={setSearchObject}\n setAcademicAffairs={setAcademicAffairsData}\n ></SearchAcademicProgramsForm>\n </Col>\n <Col className=\"col-xl-9 col-lg-12\">\n <AcademicAffairsSearchProgramsTable\n searchObject={searchObject}\n academicAffairsData={academicAffairsData}\n ></AcademicAffairsSearchProgramsTable>\n </Col>\n </Row>\n );\n};\n","import React, { useState, useEffect } from 'react';\nimport { AcademicCredential } from 'components';\nimport { academicProgramsService } from 'services';\n\nexport const AcademicCredentialPage = props => {\n const [credentialData, setCredentialData] = useState([]);\n\n const parseQueryParams = () => {\n const query = props.location.state;\n const persistedCredentialId = sessionStorage.getItem('credentialId');\n\n if (query) {\n for (let param of query) {\n if (\n param.credentialId &&\n (!persistedCredentialId || param.credentialId !== persistedCredentialId)\n ) {\n window.sessionStorage.setItem('credentialId', param.credentialId);\n return param.credentialId;\n } else {\n return null;\n }\n }\n }\n };\n\n const fetchData = async () => {\n try {\n parseQueryParams();\n const persistedCredentialId = sessionStorage.getItem('credentialId');\n const data = await academicProgramsService.getCredentialInformation(\n persistedCredentialId\n );\n setCredentialData(data || []);\n } catch (error) {}\n };\n\n useEffect(() => {\n fetchData();\n }, []);\n\n return (\n <AcademicCredential\n credentialData={credentialData}\n setCredentialData={setCredentialData}\n fetchData={fetchData}\n />\n );\n};\n","import React, { useState, useEffect } from 'react';\n\nimport { AcademicAffairProgram } from 'components';\nimport { academicProgramsService } from 'services';\nimport { academicInstitutionsService } from 'services';\n\nexport const AcademicProgramPage = props => {\n const [academicAffairsData, setAcademicAffairsData] = useState([]);\n const [degreeSelectOptions, setDegreeSelectOptions] = useState([]);\n const [distanceEdOnlineOptions, setDistanceEdOnlineOptions] = useState([]);\n const [distanceEdOptions, setDistanceEdOptions] = useState([]);\n const [locations, setLocations] = useState([]);\n const [institutionCTID, setInstitutionCTID] = useState([]);\n\n const parseQueryParams = () => {\n const query = props.location.state;\n const persistedProgramID = sessionStorage.getItem('programID');\n\n if (query) {\n for (let param of query) {\n if (\n param.programID &&\n (!persistedProgramID || param.programID !== persistedProgramID)\n ) {\n window.sessionStorage.setItem('programID', param.programID);\n return param.programID;\n } else {\n return null;\n }\n }\n }\n };\n\n const fetchData = async () => {\n try {\n parseQueryParams();\n const persistedProgramID = sessionStorage.getItem('programID');\n const data = await academicProgramsService.getAcademicProgram(\n persistedProgramID,\n 1\n );\n setAcademicAffairsData(data || []);\n // default them all with an active status\n setLocations(data?.locations || []);\n const degrees = await academicProgramsService.getDegreeLevels();\n setDegreeSelectOptions(degrees);\n\n const distanceEds = await academicProgramsService.getDistanceEds();\n setDistanceEdOptions(distanceEds);\n\n const distanceEdOnlineOptions = await academicProgramsService.getDistanceEdsOnline();\n setDistanceEdOnlineOptions(distanceEdOnlineOptions);\n } catch (error) {}\n };\n\n useEffect(() => {\n fetchData();\n }, []);\n\n return (\n <AcademicAffairProgram\n locations={locations}\n setLocations={setLocations}\n academicAffairsData={academicAffairsData}\n setAcademicAffairsData={setAcademicAffairsData}\n degreeSelectOptions={degreeSelectOptions}\n distanceEdOptions={distanceEdOptions}\n fetchData={fetchData}\n distanceEdOnlineOptions={distanceEdOnlineOptions}\n />\n );\n};\n","import React, { useState, useEffect } from 'react';\nimport { AcademicAffairProgramView } from '../../../components';\nimport { academicProgramsService } from '../../../services';\n\nexport const AcademicProgramPageView = props => {\n const [academicAffairsData, setAcademicAffairsData] = useState([]);\n const [degreeSelectOptions, setDegreeSelectOptions] = useState([]);\n\n const parseQueryParams = () => {\n const query = props.location.state;\n const persistedProgramID = sessionStorage.getItem('programID');\n\n if (query) {\n for (let param of query) {\n if (\n param.programID &&\n (!persistedProgramID || param.programID !== persistedProgramID)\n ) {\n window.sessionStorage.setItem('programID', param.programID);\n return param.programID;\n } else {\n return null;\n }\n }\n }\n };\n parseQueryParams();\n const persistedProgramID = sessionStorage.getItem('programID');\n\n useEffect(() => {\n const res = academicProgramsService.getAcademicProgram(persistedProgramID);\n Promise.resolve(res).then(data => {\n setAcademicAffairsData(data ?? []);\n });\n academicProgramsService.getDegreeLevels().then(res => {\n setDegreeSelectOptions(res);\n });\n }, [persistedProgramID]);\n\n return (\n <AcademicAffairProgramView\n programID={persistedProgramID}\n academicAffairsData={academicAffairsData}\n setAcademicAffairsData={setAcademicAffairsData}\n degreeSelectOptions={degreeSelectOptions}\n />\n );\n};\n","import React from 'react';\n\nimport { ProgramCriteriaForm } from 'components';\n\nexport const GenerateProgramReviewReportPage = () => {\n return <ProgramCriteriaForm />;\n};\n","import React from 'react';\n\nimport { ProgramReviewReport } from 'components';\n\nexport const ProgramReviewReportPage = () => {\n return <ProgramReviewReport />;\n};\n","import React from 'react';\nimport { DataSubmissionForm } from 'components';\n\nexport const DataSubmissionPage = props => {\n return <DataSubmissionForm />;\n};\n","import React from 'react';\nimport { PartitionToggle } from 'components';\n\nexport const PartitionTogglePage = () => {\n return <PartitionToggle />;\n};\n","import React from 'react';\nimport { Profile } from 'components';\n\nexport const ProfilePage = () => {\n return <Profile />;\n};\n","import React, { useState, useEffect } from 'react';\nimport { Row, Col } from 'reactstrap';\nimport {\n SearchAcademicInstitutionsForm,\n AcademicAffairsSearchInstitutionsTable,\n} from 'components';\n\nexport const SearchAcademicInstitutionInventoryPage = props => {\n const academicAffairsDataFromSession = window.sessionStorage.getItem('academicSystemsData') ? JSON.parse(window.sessionStorage.getItem('academicSystemsData')) : null;\n\n const [academicSystemsData, setAcademicSystemsData] = useState(academicAffairsDataFromSession ? academicAffairsDataFromSession : []);\n const [searchObject, setSearchObject] = useState({\n bienniums: null,\n title: null,\n status: null,\n includeAll: true,\n // orderBy: 'LastUpdate',\n // sortDirection: 'desc',\n });\n\n // Before this component is unmounted, commit whatever is in academic affairs data to session storage\n useEffect(() => {\n return () => {\n window.sessionStorage.setItem('academicSystemsData', JSON.stringify(academicSystemsData));\n }\n });\n\n return (\n <Row>\n <Col className=\"col-xl-3 col-lg-12 mb-3 mb-lg-0\">\n <SearchAcademicInstitutionsForm\n searchObject={searchObject}\n setSearchObject={setSearchObject}\n setAcademicSystemsData={setAcademicSystemsData}\n ></SearchAcademicInstitutionsForm>\n </Col>\n <Col className=\"col-xl-9 col-lg-12\">\n <AcademicAffairsSearchInstitutionsTable\n searchObject={searchObject}\n academicSystemsData={academicSystemsData}\n ></AcademicAffairsSearchInstitutionsTable>\n </Col>\n </Row>\n );\n};\n","import React, { useState, useEffect } from 'react';\nimport { AcademicAffairInstitution } from 'components';\nimport { academicInstitutionsService } from 'services';\nimport { AcademicAffairLocation } from 'components/academic-affair-institutions';\n\nexport const AcademicLocationPage = props => {\n const [academicLocationData, setAcademicLocationData] = useState([]);\n\n const parseQueryParams = () => {\n const query = props.location.state;\n const persistedLocationId = sessionStorage.getItem('locationId');\n\n if (query) {\n for (let param of query) {\n \n if (\n param.UnitId &&\n (!persistedLocationId || param.UnitId !== persistedLocationId)\n ) {\n window.sessionStorage.setItem('locationId', param.UnitId);\n return param.UnitId;\n } else {\n return null;\n }\n }\n }\n };\n\n const fetchData = async () => {\n try {\n parseQueryParams();\n const persistedLocationId = sessionStorage.getItem('locationId');\n\n const data = await academicInstitutionsService.getLocation(\n persistedLocationId\n );\n data.vwLocation.LocationShortName = data.locationShortName;\n setAcademicLocationData(data.vwLocation || []); \n } catch (error) {}\n };\n\n useEffect(() => {\n fetchData();\n }, []);\n\n return (\n <AcademicAffairLocation\n academicLocationData={academicLocationData}\n setAcademicLocationData={setAcademicLocationData}\n />\n );\n};\n","import React, { useState, useEffect } from 'react';\nimport { AcademicAffairInstitution } from 'components';\nimport { academicInstitutionsService } from 'services';\nimport { AcademicAffairCampus } from 'components/academic-affair-institutions';\n\nexport const AcademicCampusPage = props => {\n const [academicCampusData, setAcademicCampusData] = useState([]);\n const [locations, setLocations] = useState([]);\n\n const parseQueryParams = () => {\n const query = props.location.state;\n const persistedCampusId = sessionStorage.getItem('campusId');\n\n if (query) {\n for (let param of query) {\n if (\n param.UnitId &&\n (!persistedCampusId || param.UnitId !== persistedCampusId)\n ) {\n window.sessionStorage.setItem('campusId', param.UnitId);\n return param.UnitId;\n } else {\n return null;\n }\n }\n }\n };\n\n const fetchData = async () => {\n try {\n parseQueryParams();\n const persistedCampusId = sessionStorage.getItem('campusId');\n\n const data = await academicInstitutionsService.getAcademicCampus(\n persistedCampusId\n );\n data.vwCampus.CampusShortName = data.campusShortName;\n setAcademicCampusData(data.vwCampus || []);\n \n \n const locations = await academicInstitutionsService.getCampusLocations(persistedCampusId);\n setLocations(locations);\n \n } catch (error) {}\n };\n\n useEffect(() => {\n fetchData();\n }, []);\n\n return (\n <AcademicAffairCampus\n locations={locations}\n setLocations={setLocations}\n academicCampusData={academicCampusData}\n setAcademicCampusData={setAcademicCampusData}\n />\n );\n};\n","import React, { useState, useEffect } from 'react';\nimport { AcademicAffairInstitution } from 'components';\nimport { academicInstitutionsService } from 'services';\n\nexport const AcademicInstitutionPage = props => {\n const [academicInstitutionData, setacademicInstitutionData] = useState([]);\n const [sectorSelectOptions, setSectorSelectOptions] = useState([]);\n const [reportingGroupOptions, setReportingGroupOptions] = useState([]);\n const [campuses, setCampuses] = useState([]);\n\n const parseQueryParams = () => {\n const query = props.location.state;\n const persistedInstitutionID = sessionStorage.getItem('institutionID');\n\n if (query) {\n for (let param of query) {\n if (\n param.UnitId &&\n (!persistedInstitutionID || param.UnitId !== persistedInstitutionID)\n ) {\n window.sessionStorage.setItem('institutionID', param.UnitId);\n return param.UnitId;\n } else {\n return null;\n }\n }\n }\n };\n\n const fetchData = async () => {\n try {\n parseQueryParams();\n const persistedInstitutionID = sessionStorage.getItem('institutionID');\n\n const data = await academicInstitutionsService.getAcademicInstitution(\n persistedInstitutionID\n );\n setacademicInstitutionData(data || []);\n // default them all with an active status\n const sectors = await academicInstitutionsService.getInstitutionSectorOptions();\n setSectorSelectOptions(sectors);\n\n const reportingGroups = await academicInstitutionsService.getInstitutionReportingGroups();\n setReportingGroupOptions(reportingGroups);\n\n const campuses = await academicInstitutionsService.getInstitutionCampuses(persistedInstitutionID);\n setCampuses(campuses);\n } catch (error) {}\n };\n\n useEffect(() => {\n fetchData();\n }, []);\n\n return (\n <AcademicAffairInstitution\n //locations={locations}\n //setLocations={setLocations}\n academicInstitutionData={academicInstitutionData}\n setAcademicInstitutionData={setacademicInstitutionData}\n sectorSelectOptions={sectorSelectOptions}\n reportingGroupCodeOptions={reportingGroupOptions}\n fetchData={fetchData}\n campuses={campuses}\n setCampuses={setCampuses}\n />\n );\n};\n","import React, { useState, useEffect } from 'react';\nimport { academicInstitutionsService } from 'services';\nimport { AcademicAffairSystem } from '../../../components/academic-affair-institutions';\n\nexport const AcademicSystemPage = props => {\n const [academicSystemsData, setAcademicSystemsData] = useState([]);\n\n const parseQueryParams = () => {\n const query = props.location.state;\n const persistedSystemID = sessionStorage.getItem('systemID');\n if (query) {\n for (let param of query) {\n if (\n param.UnitId &&\n (!persistedSystemID || param.UnitId !== persistedSystemID)\n ) {\n window.sessionStorage.setItem('systemID', param.UnitId);\n return param.UnitId;\n } else {\n return null;\n }\n }\n }\n };\n\n const fetchData = async () => {\n try {\n parseQueryParams();\n const persistedSystemID = sessionStorage.getItem('systemID');\n const data = await academicInstitutionsService.getSystemInformation(persistedSystemID);\n setAcademicSystemsData(data || []);\n // default them all with an active status\n } catch (error) {console.log(error)}\n };\n\n useEffect(() => {\n fetchData();\n }, []);\n\n return (\n <AcademicAffairSystem\n academicSystemsData={academicSystemsData}\n setAcademicSystemsData={setAcademicSystemsData}\n fetchData={fetchData}\n />\n );\n};\n","import React, { useState, useEffect } from 'react';\nimport { AcademicAffairSystemView } from 'components';\nimport { academicInstitutionsService } from 'services';\n\nexport const AcademicSystemPageView = props => {\n const [academicSystemsData, setAcademicSystemsData] = useState([]);\n\n const parseQueryParams = () => {\n const query = props.location.state;\n const persistedSystemID = sessionStorage.getItem('systemID');\n\n if (query) {\n for (let param of query) {\n if (\n param.systemID &&\n (!persistedSystemID || param.systemID !== persistedSystemID)\n ) {\n window.sessionStorage.setItem('systemID', param.systemID);\n return param.systemID;\n } else {\n return null;\n }\n }\n }\n };\n parseQueryParams();\n const persistedSystemID = sessionStorage.getItem('systemID');\n\n useEffect(() => {\n const res = academicInstitutionsService.getSystemInformation(persistedSystemID);\n Promise.resolve(res).then(data => {\n setAcademicSystemsData(data ?? []);\n });\n }, [persistedSystemID]);\n\n return (\n <AcademicAffairSystemView\n systemID={persistedSystemID}\n academicSystemsData={academicSystemsData}\n setAcademicSystemsData={setAcademicSystemsData}\n />\n );\n};\n","import React, { useState, useEffect } from 'react';\nimport { Row, Col } from 'reactstrap';\nimport {\n SearchAcademicProgramsForm,\n AcademicAffairsSearchProgramsTable,\n} from '../../../components';\nimport {\n CollectionProcessingForm,\n CollectionProcessingTable,\n} from '../../../components/che-admin';\n\nexport const CollectionProcessingPage = props => {\n const [logData, setLogData] = useState([]);\n\n return (\n <Row>\n <Col className=\"col-xl-3 col-lg-12 mb-3 mb-lg-0\">\n <CollectionProcessingForm\n setLogData={setLogData}\n ></CollectionProcessingForm>\n </Col>\n <Col className=\"col-xl-9 col-lg-12\">\n <CollectionProcessingTable logData={logData}></CollectionProcessingTable>\n </Col>\n </Row>\n );\n};\n","import React from 'react';\nimport { Help } from 'components';\n\nexport const HelpPage = props => {\n return <Help {...props} />;\n};\n","import React from 'react';\nimport { SearchUsersForm } from 'components';\n\nexport const SearchUsersPage = props => {\n return <SearchUsersForm {...props} />;\n};\n","import React from 'react';\nimport { RecordLinking } from 'components';\n\nexport const RecordLinkingPage = props => {\n return <RecordLinking {...props} />;\n};\n","import React from 'react';\nimport { LinkReview } from 'components';\n\nexport const LinkReviewPage = props => {\n return <LinkReview {...props} />;\n};\n","import React, { Component } from 'react';\n// import { Redirect } from \"react-router-dom\";\n\n// import { userService } from 'services';\n\nclass HomePage extends Component {\n\tconstructor(props) {\n\t\tsuper(props);\n\n\t\tthis.state = {\n\t\t\tuser: {},\n\t\t\tusers: [],\n\t\t\tuserRoles: [],\n\t\t};\n\t}\n\n\tcomponentDidMount() {\n\t\tthis.setState({\n\t\t\tuser: JSON.parse(localStorage.getItem('user')),\n\t\t\tusers: { loading: true },\n\t\t\t//userRoles: JSON.parse(localStorage.getItem(\"userRoles\"))\n\t\t});\n\t\t// userService.getAll().then(users => this.setState({ users }));\n\t\t// return (<Redirect to='/login' />);\n\t}\n\n\trender() {\n\t\t// const { user } = this.state; //, userRoles\n\t\treturn (\n\t\t\t<div>\n\t\t\t\t<h1>CHE Data Submission System</h1>\n\t\t\t\t<p>Login successful</p>\n\t\t\t</div>\n\t\t);\n\t}\n}\n\nexport { HomePage };\n","import React, { Fragment } from 'react';\nimport { BrowserRouter as Router, Route, Switch, Redirect } from 'react-router-dom';\nimport { useSelector } from 'react-redux';\n\nimport {\n PrivateRoute,\n AdminRoute,\n ROLES,\n UrlEnum,\n ErrorBoundary,\n useRole,\n useDynamicViews,\n} from 'shared';\nimport {\n UserAdmin,\n Header,\n SideNav,\n ErrorAlert,\n ToastAlert,\n Impersonation,\n} from 'components';\nimport {\n ProjectReviewPage,\n ProjectReviewSearchPage,\n CapitalProjectRequest,\n CapitalProjectSearchPage,\n LineItemSearchPage,\n LineItemBudgetPage,\n LoginPage,\n VerifyCodePage,\n PhoneNumberPage,\n SetPasswordPage,\n BudgetRunPage,\n BudgetRunSearchPage,\n AcademicProgramPage,\n AcademicProgramPageView,\n SearchAcademicProgramInventoryPage,\n GenerateProgramReviewReportPage,\n ProgramReviewReportPage,\n DataSubmissionPage,\n PartitionTogglePage,\n HelpPage,\n HomePage,\n SearchUsersPage,\n PerformanceSchedulesPage,\n LineItemPerformancePage,\n RecordLinkingPage,\n LinkReviewPage,\n ProfilePage,\n DebtServicePage,\n SearchAcademicInstitutionInventoryPage,\n AcademicInstitutionPage,\n AcademicInstitutionPageView,\n AcademicCredentialPage,\n AcademicSystemPage,\n AcademicSystemPageView,\n AcademicCampusPage,\n AcademicLocationPage,\n CollectionProcessingPage,\n} from 'pages';\n\nimport './app.scss';\n\nfunction App() {\n const admin = useRole(ROLES.ADMIN);\n const views = useDynamicViews();\n const expanded = useSelector(state => state.menuExpanded);\n const user = useSelector(state => state.user);\n return (\n <div>\n <ErrorAlert />\n <ToastAlert />\n <Router>\n <link\n rel=\"stylesheet\"\n // href='/bootstrap.min.css'\n integrity=\"sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T\"\n crossOrigin=\"anonymous\"\n />\n <Switch>\n {/* THE FOLLOWING PAGES LIVE OUTSIDE OF THE NAVIGATION SIDEBAR AND HEADER */}\n <PrivateRoute\n exact\n path={UrlEnum.ACADEMIC_AFFAIRS_REPORT}\n component={ProgramReviewReportPage}\n />\n <Route exact path=\"/login\" component={LoginPage} />\n <Route exact path=\"/verify\" component={VerifyCodePage} />\n <Route exact path=\"/phone\" component={PhoneNumberPage} />\n {/* password reset links structure like so: /account/ForgotPassword/31/2c1fd8c3-4bdd-4da6-9aab-7131cc392e7f */}\n <Route exact path=\"/account/ForgotPassword/:id/:uid\">\n {props => {\n const { id, uid } = props.match.params;\n return (\n <Redirect\n to={{\n pathname: UrlEnum.SET_PASSWORD,\n search: `?uid=${uid}&id=${id}`,\n }}\n />\n );\n }}\n </Route>\n <Route exact path=\"/account/SetPassword/:id/:uid\">\n {props => {\n const { id, uid } = props.match.params;\n return (\n <Redirect\n to={{\n pathname: UrlEnum.SET_PASSWORD,\n search: `?uid=${uid}&id=${id}`,\n }}\n />\n );\n }}\n </Route>\n <Route\n exact\n path={UrlEnum.SET_PASSWORD}\n component={SetPasswordPage}\n />\n <Route\n render={() => {\n return (\n <div\n className={`page-wrap ${\n !expanded ? 'page-wrap-closed' : ''\n }`}\n >\n <SideNav\n admin={admin}\n dynamicViews={views}\n impersonating={user?.isImpersonation}\n />\n {user?.isImpersonation && <Impersonation />}\n <header\n id=\"site-header\"\n className={\n user?.isImpersonation\n ? 'site-header-impersonation'\n : ''\n }\n >\n <ErrorBoundary>\n <Header />\n </ErrorBoundary>\n </header>\n <div\n className={`page-container ${\n user?.isImpersonation\n ? 'page-container-impersonation'\n : ''\n }`}\n >\n <PrivateRoute\n exact\n path=\"/\"\n component={HomePage}\n />\n {views.includes('Manage Users') && (\n <PrivateRoute\n exact\n path={UrlEnum.MANAGE_USERS}\n component={SearchUsersPage}\n admin={admin}\n />\n )}\n {views.includes('Data Submission') && (\n <PrivateRoute\n exact\n path={UrlEnum.DATA_SUBMISSION}\n component={DataSubmissionPage}\n />\n )}\n {views.includes('Finance') && (\n <Fragment>\n {views.includes(\n 'Finance/Budget Runs'\n ) && (\n <Fragment>\n <PrivateRoute\n exact\n path={UrlEnum.BUDGETRUNSEARCH}\n component={\n BudgetRunSearchPage\n }\n />\n <PrivateRoute\n exact\n path={UrlEnum.BUDGETRUN}\n component={BudgetRunPage}\n />\n </Fragment>\n )}\n {views.includes(\n 'Finance/Budget Schedules'\n ) && (\n <Fragment>\n <PrivateRoute\n exact\n path={UrlEnum.LINEITEMSEARCH}\n component={LineItemSearchPage}\n />\n <PrivateRoute\n exact\n path={UrlEnum.LINEITEMBUDGET}\n component={LineItemBudgetPage}\n />\n <PrivateRoute\n exact\n path={\n UrlEnum.PERFORMANCESCHEDULES\n }\n component={\n PerformanceSchedulesPage\n }\n />\n <PrivateRoute\n exact\n path={\n UrlEnum.LINEITEMPERFORMANCE\n }\n component={\n LineItemPerformancePage\n }\n />\n </Fragment>\n )}\n {views.includes(\n 'Finance/Capital Projects'\n ) && (\n <Fragment>\n <PrivateRoute\n exact\n path={\n UrlEnum.CAPITALPROJECTSEARCH\n }\n component={\n CapitalProjectSearchPage\n }\n />\n <PrivateRoute\n exact\n path={\n UrlEnum.CAPITALPROJECTREQUEST\n }\n component={\n CapitalProjectRequest\n }\n />\n </Fragment>\n )}\n <PrivateRoute\n exact\n path={UrlEnum.PROJECTREVIEWSEARCH}\n component={ProjectReviewSearchPage}\n />\n <PrivateRoute\n exact\n path={UrlEnum.PROJECTREVIEW}\n component={ProjectReviewPage}\n />\n <PrivateRoute\n exact\n path={UrlEnum.DEBTSERVICE}\n component={DebtServicePage}\n />\n </Fragment>\n )}\n {views.includes('Academic Affairs') && (\n <Fragment>\n {views.includes(\n 'Academic Affairs/Programs'\n ) && (\n <PrivateRoute\n exact\n path={\n UrlEnum.SEARCH_ACADEMIC_AFFAIRS_PROGRAMS\n }\n component={\n SearchAcademicProgramInventoryPage\n }\n />\n )}\n <PrivateRoute\n exact\n path={\n UrlEnum.ACADEMIC_AFFAIRS_PROGRAMS\n }\n component={AcademicProgramPage}\n />\n\n <PrivateRoute\n exact\n path={\n UrlEnum.ACADEMIC_AFFAIRS_CREDENTIAL\n }\n component={AcademicCredentialPage}\n />\n <PrivateRoute\n exact\n path={\n UrlEnum.ACADEMIC_AFFAIRS_PROGRAMS_VIEW\n }\n component={AcademicProgramPageView}\n />\n <PrivateRoute\n exact\n path={\n UrlEnum.ACADEMIC_AFFAIRS_GENERATE_REPORT\n }\n component={\n GenerateProgramReviewReportPage\n }\n />\n </Fragment>\n )}\n {views.includes('Record Linking') && (\n <Fragment>\n <PrivateRoute\n exact\n path={UrlEnum.RECORD_LINKING}\n component={RecordLinkingPage}\n />\n <PrivateRoute\n exact\n path={UrlEnum.LINK_REVIEW}\n component={LinkReviewPage}\n />\n </Fragment>\n )}\n <PrivateRoute\n exact\n path={UrlEnum.HELP}\n component={HelpPage}\n admin={admin}\n />\n <PrivateRoute\n exact\n path={UrlEnum.PROFILE}\n component={ProfilePage}\n />\n {admin && (\n <PrivateRoute\n exact\n path={UrlEnum.PARTITION_TOGGLE}\n component={PartitionTogglePage}\n />\n )}\n\n {admin && (\n <PrivateRoute\n exact\n path={UrlEnum.COLLECTION_MANAGEMENT}\n component={CollectionProcessingPage}\n />\n )}\n\n {admin && (\n <PrivateRoute\n exact\n path={\n UrlEnum.SEARCH_ACADEMIC_AFFAIRS_INSTITUTIONS\n }\n component={\n SearchAcademicInstitutionInventoryPage\n }\n />\n )}\n\n {admin && (\n <PrivateRoute\n exact\n path={\n UrlEnum.ACADEMIC_AFFAIRS_SYSTEM_VIEW\n }\n component={AcademicSystemPageView}\n />\n )}\n\n {admin && (\n <PrivateRoute\n exact\n path={\n UrlEnum.ACADEMIC_AFFAIRS_INSTITUTION\n }\n component={AcademicInstitutionPage}\n />\n )}\n\n {admin && (\n <PrivateRoute\n exact\n path={UrlEnum.ACADEMIC_AFFAIRS_SYSTEM}\n component={AcademicSystemPage}\n />\n )}\n\n {admin && (\n <PrivateRoute\n exact\n path={UrlEnum.ACADEMIC_AFFAIRS_CAMPUS}\n component={AcademicCampusPage}\n />\n )}\n\n {admin && (\n <PrivateRoute\n exact\n path={UrlEnum.ACADEMIC_AFFAIRS_LOCATION}\n component={AcademicLocationPage}\n />\n )}\n\n <AdminRoute\n exact\n path=\"/admin/users\"\n component={UserAdmin}\n />\n </div>\n </div>\n );\n }}\n />\n </Switch>\n </Router>\n </div>\n );\n}\n\nexport default App;\n","import { useSelector } from 'react-redux';\n\nexport const useRole = roleId => {\n const roles = useSelector(state => state.user.roles) || [];\n return Boolean(roles.find(role => role.roleID === roleId));\n};\n","// This optional code is used to register a service worker.\n// register() is not called by default.\n\n// This lets the app load faster on subsequent visits in production, and gives\n// it offline capabilities. However, it also means that developers (and users)\n// will only see deployed updates on subsequent visits to a page, after all the\n// existing tabs open on the page have been closed, since previously cached\n// resources are updated in the background.\n\n// To learn more about the benefits of this model and instructions on how to\n// opt-in, read https://bit.ly/CRA-PWA\n\nconst isLocalhost = Boolean(\n window.location.hostname === 'localhost' ||\n // [::1] is the IPv6 localhost address.\n window.location.hostname === '[::1]' ||\n // 127.0.0.1/8 is considered localhost for IPv4.\n window.location.hostname.match(\n /^127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/\n )\n);\n\nexport function register(config) {\n if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {\n // The URL constructor is available in all browsers that support SW.\n const publicUrl = new URL(process.env.PUBLIC_URL, window.location.href);\n if (publicUrl.origin !== window.location.origin) {\n // Our service worker won't work if PUBLIC_URL is on a different origin\n // from what our page is served on. This might happen if a CDN is used to\n // serve assets; see https://github.com/facebook/create-react-app/issues/2374\n return;\n }\n\n window.addEventListener('load', () => {\n const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`;\n\n if (isLocalhost) {\n // This is running on localhost. Let's check if a service worker still exists or not.\n checkValidServiceWorker(swUrl, config);\n\n // Add some additional logging to localhost, pointing developers to the\n // service worker/PWA documentation.\n navigator.serviceWorker.ready.then(() => {\n console.log(\n 'This web app is being served cache-first by a service ' +\n 'worker. To learn more, visit https://bit.ly/CRA-PWA'\n );\n });\n } else {\n // Is not localhost. Just register service worker\n registerValidSW(swUrl, config);\n }\n });\n }\n}\n\nfunction registerValidSW(swUrl, config) {\n navigator.serviceWorker\n .register(swUrl)\n .then(registration => {\n registration.onupdatefound = () => {\n const installingWorker = registration.installing;\n if (installingWorker == null) {\n return;\n }\n installingWorker.onstatechange = () => {\n if (installingWorker.state === 'installed') {\n if (navigator.serviceWorker.controller) {\n // At this point, the updated precached content has been fetched,\n // but the previous service worker will still serve the older\n // content until all client tabs are closed.\n console.log(\n 'New content is available and will be used when all ' +\n 'tabs for this page are closed. See https://bit.ly/CRA-PWA.'\n );\n\n // Execute callback\n if (config && config.onUpdate) {\n config.onUpdate(registration);\n }\n } else {\n // At this point, everything has been precached.\n // It's the perfect time to display a\n // \"Content is cached for offline use.\" message.\n console.log('Content is cached for offline use.');\n\n // Execute callback\n if (config && config.onSuccess) {\n config.onSuccess(registration);\n }\n }\n }\n };\n };\n })\n .catch(error => {\n console.error('Error during service worker registration:', error);\n });\n}\n\nfunction checkValidServiceWorker(swUrl, config) {\n // Check if the service worker can be found. If it can't reload the page.\n fetch(swUrl)\n .then(response => {\n // Ensure service worker exists, and that we really are getting a JS file.\n const contentType = response.headers.get('content-type');\n if (\n response.status === 404 ||\n (contentType != null && contentType.indexOf('javascript') === -1)\n ) {\n // No service worker found. Probably a different app. Reload the page.\n navigator.serviceWorker.ready.then(registration => {\n registration.unregister().then(() => {\n window.location.reload();\n });\n });\n } else {\n // Service worker found. Proceed as normal.\n registerValidSW(swUrl, config);\n }\n })\n .catch(() => {\n console.log(\n 'No internet connection found. App is running in offline mode.'\n );\n });\n}\n\nexport function unregister() {\n if ('serviceWorker' in navigator) {\n navigator.serviceWorker.ready.then(registration => {\n registration.unregister();\n });\n }\n}\n","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport App from './App/App';\nimport { Provider } from 'react-redux';\n\nimport * as serviceWorker from './App/serviceWorker';\nimport store from 'redux/store';\n\nReactDOM.render(\n <Provider store={store}>\n <App />\n </Provider>,\n document.getElementById('root')\n);\n\n// If you want your app to work offline and load faster, you can change\n// unregister() to register() below. Note this comes with some pitfalls.\n// Learn more about service workers: https://bit.ly/CRA-PWA\nserviceWorker.unregister();\n// console.clear();\n","import _omit from 'lodash/omit';\n\nexport const setLocalStorage = state => {\n return localStorage.setItem('chedds-state', JSON.stringify(state));\n};\n\nexport const getLocalStorage = () => {\n if (global.localStorage) {\n return localStorage.getItem('chedds-state')\n ? JSON.parse(localStorage.getItem('chedds-state'))\n : {};\n }\n return {};\n};\n\nconst storedState = getLocalStorage();\n//include all keys that you wish to persist\nconst cleanState = state => _omit(state, ['toast', 'error']);\n\nconst DEFAULT_STATE = {\n user: {},\n blockedViews: [],\n toast: null,\n error: null,\n menuOpen: false,\n menuExpanded: true,\n};\n\nconst initialState = {\n ...DEFAULT_STATE,\n ...storedState,\n};\n\n\nexport default (state = initialState, action) => {\n switch (action.type) {\n case 'SET_USER': {\n const newState = {\n ...state,\n user: action.merge ? { ...state.user, ...action.user } : action.user,\n };\n if (action.setOriginal) newState.user.original = state.user;\n setLocalStorage(cleanState(newState));\n return newState;\n }\n case 'LOGOUT': {\n const newState = {\n ...state,\n user: {},\n blockedViews: [],\n };\n setLocalStorage(newState);\n return newState;\n }\n case 'FAILED_AUTH' : {\n const newState = {\n ...state,\n }\n setLocalStorage(newState);\n return newState;\n }\n case 'SET_TOAST': {\n const { type, ...rest } = action;\n return {\n ...state,\n toast: rest,\n };\n }\n case 'CLEAR_TOAST': {\n return {\n ...state,\n toast: null,\n };\n }\n case 'SET_ERROR': {\n const { type, ...rest } = action;\n return {\n ...state,\n error: rest,\n };\n }\n case 'CLEAR_ERROR': {\n return {\n ...state,\n error: null,\n };\n }\n case 'TOGGLE_MENU': {\n return {\n ...state,\n menuOpen:\n typeof action.open !== 'undefined' ? action.open : !state.menuOpen,\n };\n }\n case 'TOGGLE_EXPAND': {\n return {\n ...state,\n menuExpanded:\n typeof action.open !== 'undefined'\n ? action.open\n : !state.menuExpanded,\n };\n }\n case 'SET_BLOCKED_VIEWS': {\n const newState = {\n ...state,\n blockedViews: action.blockedViews,\n };\n setLocalStorage(cleanState(newState));\n return newState;\n }\n default:\n return state;\n }\n};\n"],"sourceRoot":""}