{"version":3,"file":"sm.portal.vm.documentList.min.js","names":["jQuery","undefined","sm","window","portal","extend","vm","DocumentListViewModel","self","this","AllTestScoreTemplate","ko","observable","AcceptAndDeclineButton","RequiredDocumentTemplate","AdmissionsAttemptGid","ExpectedEntrancePeriod","DeliveryMethod","AdmissionsType","AdmissionsStage","DisplayName","Program","EntryPoint","SubmittedStatusName","CurrentAdmissionStageHasOffer","StudentHasAcceptedOffer","StudentHasDeniedOffer","AdmissionsRecords","AdmissionsRecordID","ACTScore","observableArray","HighSchoolInformation","CollegeInformation","TranscriptGradeEvaluation","TranscriptGradeEvaluationName","TranscriptGradeEvaluationStatus","SATScore","PraxisScore","PraxisIIScore","TOEFL","GEDScore","GREScore","GMATScore","ApplicationFee","CollegeReleaseForm","Form48C","Immunizations","CodeOfConduct","I94Copy","VisaCopy","PassportCopy","AffidavitofSupport","BankStatement","TuitionForm","VisaCompliance","PermanentResidenceCard","LegalStatus","TransferForm","I20","DS2019","FormI539","FormI540","LetterfromPetitioner","LetterfromSponsor","COSFeePoP","SEVISFeePoP","Recommendations","Resume","Interview","RetentionStatement","TeachingCertificate","UGMajorContentApproval","ProgramPlanningConference","WritingAssessment","Form","GoalsObjectives","ContinuingEdForm","AdmissionsDocuments","observableDictionary","AdmissionsOffer","AdmissionOfferRichText","IsEmptyRichText","AttendanceStatuses","selectDoc","AdmissionsDocs","DocumentFile","DocumentUrl","filename","highSchoolFile","collegeFile","immunizationFile","releaseFile","form48File","conductFile","i94File","visaFile","passportFile","supportFile","bankFile","tuitionFile","complianceFile","residentFile","legalFile","transferFile","i20File","ds2019File","i539File","i540File","petitionFile","sponsorFile","cosFeeFile","sevisFeeFile","recommendationFile","resumeFile","interviewFile","retentionFile","teachingCertFile","ugMajorFile","programPlanFile","writingFile","formFile","goalsFile","edFormFile","admissionsDocFile","IsPaymentProviderEnabled","IsBackgroundProcessing","IsBackgroundProcessingError","PaymentProviderName","PaymentDetails","IsPaid","TermsAndCondition","TermsAndConditionLoaded","TemplatesLoaded","AdmissionsAdditionalInformations","ErrorHeader","custom","callCustomization","ErrorMessages","IsError","IsGeneralError","Header","Messages","ShowMessages","ShowCongratulationsID","ShowLabelID","ShowCustomField","AdmissionsProcess","HidePaymentInfoSec","RequiredDocumentsText","utility","getResourceValue","setCustomLocalizeKey","AllAdmissionsRecords","CheckAdmissionDocumentStatus","data","status","isNullOrEmpty","StatusBusinessMeaningName","CheckTranscriptStatus","GetRichTextStatus","value","richTextHTML","parseHTML","length","nodeName","innerText","LoadModel","container","customData","flag","entity","Payload","Entity","GID","currentLoaded","ID","DocumentName","Status","AdmissionsRequirementGroups","transcriptWithDefaultStatus","SetDefaultStatusTranscript","modifiedData","DataSetupTranscriptGradeEvaluation","modifiedWithRule","AssignRuleTypeMergeSubGroupToCourse","viewModel","items","each","push","RichTextField","ShowFacultyCommunication","SendCommunicationData","SendCommunicationViewModel","TermsConditions","termsModel","TermsConditionsViewModel","GetPaymentProviderName","AdmissionsStageGID","AdmissionsStageConsts_BackgroundProcessingGuid","AdmissionsStageConsts_BackgroundProcessingErrorGuid","PageReady","ui","readyPage","forEach","rec","AdmissionsRequirementSubGroup","subRec","key","StatusDictionary","hasOwnProperty","Courses","course","ValuesAssignmentToRules","consolidateSubGroups","subGrpCourse","RuleTypeDisplayName","RuleTypeBusinessMeaningName","formatString","MinPassingScore","MaxPassingScore","subGroup","subGroupWithParent","filter","sg","ParentSubGroupGID","map","sgp","sgpCourses","SubGroupName","Name","sgwp","sgwpCourses","LoadInitialData","url","_baseApiUri","AdmissionsAttemptGID","page","documentChecklist","doGet","Accept","admission","event","AcceptOrDeclineAdmissions","CanStudentAcceptOffer","computed","Completed","ShouldTermsConditionsBeDisplayed","HasAnyTestScores","Decline","adHocDocumentBtnClick","blockUI","msgSubject","currentTarget","id","newMsg","ToAddress","FromAddress","ContextID","PersonID","CurrentUserID","_currentPersonId","Html","Subject","SendMessage","accept","ExtractATO","ajax","type","dataType","JSON","stringify","contentType","headers","processData","crossDomain","xhrFields","withCredentials","success","proxy","textStatus","jqXHR","smapi","access","ApiContainerModel","ValidationTitle","ValidationMessages","HandleError","unblockUI","error","exception","title","body","responseJSON","Message","ClearUploadDocumentInit","attemptGID","fileElement","element","uploadArea","closest","uploadBox","find","fileThumb","removeClass","addClass","loadingIndicator","ClearUploadArea","target","documentID","model","TranscriptDocumentID","formData","FormData","val","successIndicator","errorThrown","messages","accepted","mapping","toJS","termsData","AdmissionsAccepted","TermsData"],"sources":["assets/js/viewmodels/admissions/sm.portal.vm.documentList.js"],"mappings":"CACA,SAAWA,EAAQC,GACf,IAAIC,EAAKC,OAAOD,GAAKC,OAAOD,IAAM,CAAC,OAIV,IAAdA,EAAGE,QACVJ,EAAOK,OAAOH,EAAI,CAAEE,OAAQ,CAAC,SAEL,IAAjBF,EAAGE,OAAOE,IACjBN,EAAOK,OAAOH,EAAGE,OAAQ,CAAEE,GAAI,CAAC,IA4rBpCN,EAAOK,QAAO,EAAMH,EAAGE,OAAOE,GAAI,CAC9BC,sBA1rBJ,WAsqBI,OAnqBAC,KAAOC,KAGPA,KAAKC,qBAAuBC,GAAGC,WAAW,IAC1CH,KAAKI,uBAAyBF,GAAGC,WAAW,IAC5CH,KAAKK,yBAA2BH,GAAGC,WAAW,IAC9CH,KAAKM,qBAAuBJ,GAAGC,aAC/BH,KAAKO,uBAAyBL,GAAGC,aACjCH,KAAKQ,eAAiBN,GAAGC,aACzBH,KAAKS,eAAiBP,GAAGC,aACzBH,KAAKU,gBAAkBR,GAAGC,aAC1BH,KAAKW,YAAcT,GAAGC,aACtBH,KAAKY,QAAUV,GAAGC,aAClBH,KAAKa,WAAaX,GAAGC,aACrBH,KAAKc,oBAAsBZ,GAAGC,aAE9BH,KAAKe,8BAAgCb,GAAGC,YAAW,GACnDH,KAAKgB,wBAA0Bd,GAAGC,YAAW,GAC7CH,KAAKiB,sBAAwBf,GAAGC,YAAW,GAE3CH,KAAKkB,kBAAoBhB,GAAGC,aAC5BH,KAAKmB,mBAAqBjB,GAAGC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,OAAOqM,GAAGiH,iBAAiBlB,EAAa9I,EAC/C,EACAsI,MAAO,SAAUR,EAAOD,EAAYoC,GAChCnT,KAAKsR,YAAYG,UACrB,GAER,EAEAxR,KAAKqR,YAAc,SAAUI,EAAO0B,GAChCnT,KAAKiI,SAAQ,GACbjI,KAAKkI,gBAAe,GACpB3I,EAAO+R,YACH6B,GACAnT,KAAKgI,cAAcmL,GAEnB1T,EAAGE,OAAOiJ,QAAQO,cAAcsI,GAChCzG,UAAUnD,YAAYpI,EAAGE,OAAOiJ,QAAQC,iBAAiB,oBAEzDmC,UAAUnD,YAAY4J,EAE9B,EAEAzR,KAAK2L,uBAAyB,WAC1B,GAAIX,UAAU7D,yBAA0B,CACpC,IAAI6G,EAAMC,YAAcxO,EAAGE,OAAOiJ,QAAQoE,aAAa,kDACvDzN,EAAO0Q,KAAK,CACRjC,IAAKA,EACLkC,KAAM,MACNC,SAAU,OACVG,YAAa,kCACbC,QAAS,CACL,gBAAiB,KAErBC,aAAa,EACbC,aAAa,EACbC,UAAW,CACPC,iBAAiB,GAErBC,QAAS,SAAU3H,GACf+B,UAAU1D,oBAAoB2B,EAClC,EACAsI,MAAO,SAAUC,GACbxG,UAAUqG,YAAYG,EAC1B,GAER,CACJ,EAGAxR,KAAKgQ,WAAa,SAAUoD,GACLlT,GAAGmT,QAAQC,KAAKtT,MAAnC,IAEIuT,EAAY,KAWhB,OAVK9T,EAAGE,OAAOiJ,QAAQO,cAAcpJ,KAAK0H,uBACtC8L,EAAYxT,KAAK0H,oBAAoBuI,cAGvB,CACd1P,qBAAsBP,KAAKO,uBAC3BkT,mBAAoBJ,EACpBK,UAAWvT,GAAGoT,KAAKC,GAI3B,EAEOxT,IACX,GAsBH,CAzsBD,CAysBGR","ignoreList":[],"sourcesContent":["\r\n(function (jQuery, undefined) {\r\n var sm = window.sm = window.sm || {};\r\n var windowProxy;\r\n var actionQueue = [];\r\n\r\n if (typeof sm.portal === \"undefined\") {\r\n jQuery.extend(sm, { portal: {} });\r\n }\r\n if (typeof sm.portal.vm === \"undefined\") {\r\n jQuery.extend(sm.portal, { vm: {} });\r\n }\r\n\r\n function DocumentListViewModel() {\r\n\r\n // Self-Identification\r\n self = this;\r\n\r\n // Checklist Form Values\r\n this.AllTestScoreTemplate = ko.observable('');\r\n this.AcceptAndDeclineButton = ko.observable('');\r\n this.RequiredDocumentTemplate = ko.observable('');\r\n this.AdmissionsAttemptGid = ko.observable();\r\n this.ExpectedEntrancePeriod = ko.observable();\r\n this.DeliveryMethod = ko.observable();\r\n this.AdmissionsType = ko.observable();\r\n this.AdmissionsStage = ko.observable();\r\n this.DisplayName = ko.observable();\r\n this.Program = ko.observable();\r\n this.EntryPoint = ko.observable();\r\n this.SubmittedStatusName = ko.observable();\r\n\r\n this.CurrentAdmissionStageHasOffer = ko.observable(false);\r\n this.StudentHasAcceptedOffer = ko.observable(false);\r\n this.StudentHasDeniedOffer = ko.observable(false);\r\n\r\n this.AdmissionsRecords = ko.observable();\r\n this.AdmissionsRecordID = ko.observable();\r\n this.ACTScore = ko.observableArray();\r\n this.HighSchoolInformation = ko.observableArray();\r\n this.CollegeInformation = ko.observableArray();\r\n this.TranscriptGradeEvaluation = ko.observableArray();\r\n this.TranscriptGradeEvaluationName = ko.observable();\r\n this.TranscriptGradeEvaluationStatus = ko.observable();\r\n this.SATScore = ko.observableArray();\r\n this.PraxisScore = ko.observableArray();\r\n this.PraxisIIScore = ko.observableArray();\r\n this.TOEFL = ko.observableArray();\r\n this.GEDScore = ko.observableArray();\r\n this.GREScore = ko.observableArray();\r\n this.GMATScore = ko.observableArray();\r\n this.ApplicationFee = ko.observableArray();\r\n this.CollegeReleaseForm = ko.observableArray();\r\n this.Form48C = ko.observableArray();\r\n this.Immunizations = ko.observableArray();\r\n this.CodeOfConduct = ko.observableArray();\r\n this.I94Copy = ko.observableArray();\r\n this.VisaCopy = ko.observableArray();\r\n this.PassportCopy = ko.observableArray();\r\n this.AffidavitofSupport = ko.observableArray();\r\n this.BankStatement = ko.observableArray();\r\n this.TuitionForm = ko.observableArray();\r\n this.VisaCompliance = ko.observableArray();\r\n this.PermanentResidenceCard = ko.observableArray();\r\n this.LegalStatus = ko.observableArray();\r\n this.TransferForm = ko.observableArray();\r\n this.I20 = ko.observableArray();\r\n this.DS2019 = ko.observableArray();\r\n this.FormI539 = ko.observableArray();\r\n this.FormI540 = ko.observableArray();\r\n this.LetterfromPetitioner = ko.observableArray();\r\n this.LetterfromSponsor = ko.observableArray();\r\n this.COSFeePoP = ko.observableArray();\r\n this.SEVISFeePoP = ko.observableArray();\r\n this.Recommendations = ko.observableArray();\r\n this.Resume = ko.observableArray();\r\n this.Interview = ko.observableArray();\r\n this.RetentionStatement = ko.observableArray();\r\n this.TeachingCertificate = ko.observableArray();\r\n this.UGMajorContentApproval = ko.observableArray();\r\n this.ProgramPlanningConference = ko.observableArray();\r\n this.WritingAssessment = ko.observableArray();\r\n this.Form = ko.observableArray();\r\n this.GoalsObjectives = ko.observableArray();\r\n this.ContinuingEdForm = ko.observableArray();\r\n this.AdmissionsDocuments = ko.observableDictionary();\r\n this.AdmissionsOffer = ko.observableDictionary();\r\n this.AdmissionOfferRichText = ko.observable('');\r\n this.IsEmptyRichText = ko.observable(true);\r\n\r\n this.AttendanceStatuses = ko.observableArray([]);\r\n this.selectDoc = ko.observable();\r\n this.AdmissionsDocs = ko.observableArray([]);\r\n\r\n this.DocumentFile = ko.observable();\r\n this.DocumentUrl = ko.observable();\r\n this.filename = ko.observable(\"\");\r\n this.highSchoolFile = ko.observable();\r\n this.collegeFile = ko.observable();\r\n this.immunizationFile = ko.observable();\r\n this.releaseFile = ko.observable();\r\n this.form48File = ko.observable();\r\n this.conductFile = ko.observable();\r\n this.i94File = ko.observable();\r\n this.visaFile = ko.observable();\r\n this.passportFile = ko.observable();\r\n this.supportFile = ko.observable();\r\n this.bankFile = ko.observable();\r\n this.tuitionFile = ko.observable();\r\n this.complianceFile = ko.observable();\r\n this.residentFile = ko.observable();\r\n this.legalFile = ko.observable();\r\n this.transferFile = ko.observable();\r\n this.i20File = ko.observable();\r\n this.ds2019File = ko.observable();\r\n this.i539File = ko.observable();\r\n this.i540File = ko.observable();\r\n this.petitionFile = ko.observable();\r\n this.sponsorFile = ko.observable();\r\n this.cosFeeFile = ko.observable();\r\n this.sevisFeeFile = ko.observable();\r\n this.recommendationFile = ko.observable();\r\n this.resumeFile = ko.observable();\r\n this.interviewFile = ko.observable();\r\n this.retentionFile = ko.observable();\r\n this.teachingCertFile = ko.observable();\r\n this.ugMajorFile = ko.observable();\r\n this.programPlanFile = ko.observable();\r\n this.writingFile = ko.observable();\r\n this.formFile = ko.observable();\r\n this.goalsFile = ko.observable();\r\n this.edFormFile = ko.observable();\r\n this.admissionsDocFile = ko.observable();\r\n this.IsPaymentProviderEnabled = ko.observable(false);\r\n this.IsBackgroundProcessing = ko.observable(false);\r\n this.IsBackgroundProcessingError = ko.observable(false);\r\n this.PaymentProviderName = ko.observable();\r\n this.PaymentDetails = ko.observable();\r\n this.IsPaid = ko.observable(false);\r\n this.TermsAndCondition = ko.observable();\r\n this.TermsAndConditionLoaded = ko.observable(false);\r\n this.TemplatesLoaded = ko.observable(false);\r\n this.AdmissionsAdditionalInformations = ko.observableArray();\r\n\r\n // Error Handling\r\n this.ErrorHeader = ko.observable();\r\n sm.portal.vm.custom.callCustomization('CustomizedErrorHeader',self);\r\n this.ErrorMessages = ko.observableArray();\r\n this.IsError = ko.observable();\r\n this.IsGeneralError = ko.observable();\r\n\r\n // Information Messages Handling\r\n this.Header = ko.observable();\r\n this.Messages = ko.observableArray();\r\n this.ShowMessages = ko.observable(false);\r\n \r\n this.ShowCongratulationsID = ko.observable('');\r\n this.ShowLabelID = ko.observable('');\r\n this.ShowCustomField = ko.observable(false);\r\n this.AdmissionsProcess = ko.observable('');\r\n this.HidePaymentInfoSec = ko.observable(true); \r\n this.RequiredDocumentsText = ko.observable(sm.portal.utility.getResourceValue('RequiredDocuments'));\r\n\r\n sm.portal.vm.custom.setCustomLocalizeKey(self);\r\n\r\n this.AllAdmissionsRecords = ko.observableArray();\r\n this.CheckAdmissionDocumentStatus = function (data) {\r\n var status = sm.portal.vm.custom.callCustomization('CheckDocumentStatus', data);\r\n if (sm.portal.utility.isNullOrEmpty(status)) {\r\n if (data.StatusBusinessMeaningName == 'ApplicationProcessStepStatus.Complete') {\r\n status = true;\r\n }\r\n else\r\n status = false;\r\n }\r\n\r\n return status;\r\n }\r\n\r\n this.CheckTranscriptStatus = function(status) {\r\n if (status == 'Complete') {\r\n return true;\r\n }\r\n else {\r\n return false;\r\n }\r\n }\r\n\r\n this.GetRichTextStatus = function(value){\r\n var richTextHTML = jQuery.parseHTML(value);\r\n if(richTextHTML.length < 2 && richTextHTML[0] && richTextHTML[0].nodeName == 'P' && !richTextHTML[0].innerText){\r\n self.IsEmptyRichText(true);\r\n }else{\r\n self.IsEmptyRichText(false);\r\n }\r\n }\r\n\r\n // Handlers\r\n this.LoadModel = function (container) {\r\n\r\n\r\n var customData = {\r\n self: self,\r\n container: container\r\n }\r\n var flag = sm.portal.vm.custom.callCustomization('DocumentListLoadModelCustom',customData);\r\n if(!sm.portal.utility.isNullOrEmpty(flag)){\r\n return;\r\n }\r\n\r\n // Set the main Entity\r\n var entity = container.Payload.Entity;\r\n\r\n if (entity) {\r\n this.AdmissionsAttemptGid = ko.observable(entity.GID);\r\n }\r\n\r\n this.ExpectedEntrancePeriod(container.Payload.ExpectedEntrancePeriod);\r\n this.DeliveryMethod(container.Payload.DeliveryMethod);\r\n this.AdmissionsType(container.Payload.AdmissionsType);\r\n this.AdmissionsStage(container.Payload.AdmissionsStage);\r\n this.AdmissionsRecords(container.Payload.AdmissionsRecords);\r\n this.SubmittedStatusName(container.Payload.SubmittedStatusName);\r\n\r\n this.CurrentAdmissionStageHasOffer(container.Payload.CurrentAdmissionStageHasOffer);\r\n this.StudentHasAcceptedOffer(container.Payload.StudentHasAcceptedOffer);\r\n this.StudentHasDeniedOffer(container.Payload.StudentHasDeniedOffer);\r\n\r\n if (currentLoaded == 0 && !sm.portal.utility.isNullOrEmpty(this.AdmissionsRecords())) {\r\n currentLoaded = this.AdmissionsRecords()[0].ID;\r\n }\r\n\r\n if (container.Payload.ACTScore)\r\n this.ACTScore(container.Payload.ACTScore);\r\n if (container.Payload.HighSchoolInformation)\r\n this.HighSchoolInformation(container.Payload.HighSchoolInformation);\r\n if (container.Payload.CollegeInformation)\r\n this.CollegeInformation(container.Payload.CollegeInformation);\r\n if (container.Payload.TranscriptGradeEvaluation) {\r\n this.TranscriptGradeEvaluationName(container.Payload.TranscriptGradeEvaluation.DocumentName);\r\n this.TranscriptGradeEvaluationStatus(container.Payload.TranscriptGradeEvaluation.Status);\r\n if (container.Payload.TranscriptGradeEvaluation.AdmissionsRequirementGroups) {\r\n const transcriptWithDefaultStatus = this.SetDefaultStatusTranscript(container.Payload.TranscriptGradeEvaluation);\r\n const modifiedData = this.DataSetupTranscriptGradeEvaluation(transcriptWithDefaultStatus);\r\n const modifiedWithRule = this.AssignRuleTypeMergeSubGroupToCourse(modifiedData);\r\n this.TranscriptGradeEvaluation(modifiedWithRule.AdmissionsRequirementGroups);\r\n }\r\n }\r\n if (container.Payload.SATScore)\r\n this.SATScore(container.Payload.SATScore);\r\n if (container.Payload.PraxisScore)\r\n this.PraxisScore(container.Payload.PraxisScore);\r\n if (container.Payload.PraxisIIScore)\r\n this.PraxisIIScore(container.Payload.PraxisIIScore);\r\n if (container.Payload.TOEFL)\r\n this.TOEFL(container.Payload.TOEFL);\r\n if (container.Payload.GEDScore)\r\n this.GEDScore(container.Payload.GEDScore);\r\n if (container.Payload.GREScore)\r\n this.GREScore(container.Payload.GREScore);\r\n if (container.Payload.GMATScore)\r\n this.GMATScore(container.Payload.GMATScore);\r\n if (container.Payload.ApplicationFee)\r\n this.ApplicationFee(container.Payload.ApplicationFee);\r\n if (container.Payload.Immunizations)\r\n this.Immunizations(container.Payload.Immunizations);\r\n if (container.Payload.I94Copy)\r\n this.I94Copy(container.Payload.I94Copy);\r\n if (container.Payload.CollegeReleaseForm)\r\n this.CollegeReleaseForm(container.Payload.CollegeReleaseForm);\r\n if (container.Payload.Form48C)\r\n this.Form48C(container.Payload.Form48C);\r\n if (container.Payload.CodeOfConduct)\r\n this.CodeOfConduct(container.Payload.CodeOfConduct);\r\n if (container.Payload.VisaCopy)\r\n this.VisaCopy(container.Payload.VisaCopy);\r\n if (container.Payload.PassportCopy)\r\n this.PassportCopy(container.Payload.PassportCopy);\r\n if (container.Payload.AffidavitofSupport)\r\n this.AffidavitofSupport(container.Payload.AffidavitofSupport);\r\n if (container.Payload.BankStatement)\r\n this.BankStatement(container.Payload.BankStatement);\r\n if (container.Payload.TuitionForm)\r\n this.TuitionForm(container.Payload.TuitionForm);\r\n if (container.Payload.VisaCompliance)\r\n this.VisaCompliance(container.Payload.VisaCompliance);\r\n if (container.Payload.PermanentResidenceCard)\r\n this.PermanentResidenceCard(container.Payload.PermanentResidenceCard);\r\n if (container.Payload.LegalStatus)\r\n this.LegalStatus(container.Payload.LegalStatus);\r\n if (container.Payload.TransferForm)\r\n this.TransferForm(container.Payload.TransferForm);\r\n if (container.Payload.I20)\r\n this.I20(container.Payload.I20);\r\n if (container.Payload.DS2019)\r\n this.DS2019(container.Payload.DS2019);\r\n if (container.Payload.FormI539)\r\n this.FormI539(container.Payload.FormI539);\r\n if (container.Payload.FormI540)\r\n this.FormI540(container.Payload.FormI540);\r\n if (container.Payload.LetterfromPetitioner)\r\n this.LetterfromPetitioner(container.Payload.LetterfromPetitioner);\r\n if (container.Payload.LetterfromSponsor)\r\n this.LetterfromSponsor(container.Payload.LetterfromSponsor);\r\n if (container.Payload.COSFeePoP)\r\n this.COSFeePoP(container.Payload.COSFeePoP);\r\n if (container.Payload.SEVISFeePoP)\r\n this.SEVISFeePoP(container.Payload.SEVISFeePoP);\r\n if (container.Payload.Recommendations)\r\n this.Recommendations(container.Payload.Recommendations);\r\n if (container.Payload.Resume)\r\n this.Resume(container.Payload.Resume);\r\n if (container.Payload.Interview)\r\n this.Interview(container.Payload.Interview);\r\n if (container.Payload.RetentionStatement)\r\n this.RetentionStatement(container.Payload.RetentionStatement);\r\n if (container.Payload.TeachingCertificate)\r\n this.TeachingCertificate(container.Payload.TeachingCertificate);\r\n if (container.Payload.UGMajorContentApproval)\r\n this.UGMajorContentApproval(container.Payload.UGMajorContentApproval);\r\n if (container.Payload.ProgramPlanningConference)\r\n this.ProgramPlanningConference(container.Payload.ProgramPlanningConference);\r\n if (container.Payload.WritingAssessment)\r\n this.WritingAssessment(container.Payload.WritingAssessment);\r\n if (container.Payload.Form)\r\n this.Form(container.Payload.Form);\r\n if (container.Payload.GoalsObjectives)\r\n this.GoalsObjectives(container.Payload.GoalsObjectives);\r\n if (container.Payload.ContinuingEdForm)\r\n this.ContinuingEdForm(container.Payload.ContinuingEdForm);\r\n if (container.Payload.DisplayName)\r\n this.DisplayName(container.Payload.DisplayName);\r\n if (container.Payload.Program)\r\n this.Program(container.Payload.Program);\r\n this.EntryPoint(container.Payload.EntryPoint);\r\n if (container.Payload.AdmissionsDocuments) {\r\n viewModel.AdmissionsDocuments.items([]);\r\n jQuery.each(container.Payload.AdmissionsDocuments, function () {\r\n sm.portal.vm.custom.callCustomization('AdmissionsDocumentsCustom',this[0])\r\n viewModel.AdmissionsDocuments.push(this[0].DocumentName, this);\r\n });\r\n }\r\n if (container.Payload.AdmissionsOffer && container.Payload.AdmissionsOffer.AdmissionsOffer) {\r\n this.GetRichTextStatus(container.Payload.AdmissionsOffer.RichTextField);\r\n if(!self.IsEmptyRichText()){\r\n this.AdmissionOfferRichText(container.Payload.AdmissionsOffer.RichTextField);\r\n }\r\n this.AdmissionsOffer.items([]);\r\n this.AdmissionsOffer.push('Admissions Offer', container.Payload.AdmissionsOffer.AdmissionsOffer);\r\n }\r\n this.ShowFacultyCommunication = ko.observable(false);\r\n this.SendCommunicationData = ko.observable(new sm.portal.vm.SendCommunicationViewModel());\r\n\r\n if (container.Payload.TermsConditions) {\r\n var termsModel = new sm.portal.vm.TermsConditionsViewModel('AfterTerms', container, null);\r\n termsModel.LoadModel(container);\r\n this.TermsAndCondition(termsModel);\r\n this.TermsAndConditionLoaded(true);\r\n };\r\n\r\n if (container.Payload.IsPaymentProviderEnabled !== undefined)\r\n {\r\n this.GetPaymentProviderName();\r\n self.IsPaymentProviderEnabled(container.Payload.IsPaymentProviderEnabled);\r\n }\r\n if (container.Payload.AdmissionsAdditionalInformations)\r\n this.AdmissionsAdditionalInformations(container.Payload.AdmissionsAdditionalInformations);\r\n\r\n this.IsBackgroundProcessing(container.Payload.AdmissionsStageGID === container.Payload.AdmissionsStageConsts_BackgroundProcessingGuid);\r\n this.IsBackgroundProcessingError(container.Payload.AdmissionsStageGID === container.Payload.AdmissionsStageConsts_BackgroundProcessingErrorGuid);\r\n };\r\n\r\n this.PageReady = function () {\r\n sm.portal.ui.readyPage();\r\n };\r\n\r\n this.SetDefaultStatusTranscript = function(data) {\r\n if (data && data.AdmissionsRequirementGroups && data.AdmissionsRequirementGroups.length > 0) {\r\n data.AdmissionsRequirementGroups.forEach(rec => {\r\n rec.Status = 'Evaluated';\r\n if (rec.AdmissionsRequirementSubGroup && rec.AdmissionsRequirementSubGroup.length > 0) {\r\n rec.AdmissionsRequirementSubGroup.forEach(subRec => {\r\n subRec.Status = 'Evaluated';\r\n });\r\n } \r\n });\r\n }\r\n return data;\r\n }\r\n\r\n this.DataSetupTranscriptGradeEvaluation = function(data) {\r\n if (data && data.AdmissionsRequirementGroups && data.AdmissionsRequirementGroups.length > 0) {\r\n for (const key in data.StatusDictionary) {\r\n if(data.StatusDictionary.hasOwnProperty(key)) {\r\n data.AdmissionsRequirementGroups.forEach(rec => {\r\n if (rec.GID == key) {\r\n rec.Status = data.StatusDictionary[key];\r\n } else if (rec.AdmissionsRequirementSubGroup && rec.AdmissionsRequirementSubGroup.length > 0) {\r\n rec.AdmissionsRequirementSubGroup.forEach(subRec => {\r\n if (subRec.GID == key) {\r\n subRec.Status = data.StatusDictionary[key];\r\n }\r\n });\r\n } \r\n });\r\n }\r\n }\r\n }\r\n return data;\r\n }\r\n\r\n this.AssignRuleTypeMergeSubGroupToCourse = function(data) {\r\n if (data && data.AdmissionsRequirementGroups && data.AdmissionsRequirementGroups.length > 0) {\r\n data.AdmissionsRequirementGroups.forEach(rec => {\r\n if (rec.Courses && rec.Courses.length > 0) {\r\n rec.Courses.forEach(course => {\r\n this.ValuesAssignmentToRules(course);\r\n });\r\n }\r\n if (rec.AdmissionsRequirementSubGroup && rec.AdmissionsRequirementSubGroup.length > 0) {\r\n rec.AdmissionsRequirementSubGroup = this.consolidateSubGroups(rec.AdmissionsRequirementSubGroup);\r\n rec.AdmissionsRequirementSubGroup.forEach(subRec => {\r\n if (subRec.Courses && subRec.Courses.length > 0) {\r\n subRec.Courses.forEach(subGrpCourse => {\r\n this.ValuesAssignmentToRules(subGrpCourse);\r\n });\r\n }\r\n });\r\n } \r\n });\r\n }\r\n return data;\r\n }\r\n\r\n this.ValuesAssignmentToRules = function(course) {\r\n if (course && course.RuleTypeDisplayName && course.RuleTypeBusinessMeaningName) {\r\n if (course.RuleTypeBusinessMeaningName === 'AdmissionsRequirementRuleType.MinNumericGrade' || course.RuleTypeBusinessMeaningName === 'AdmissionsRequirementRuleType.MinPercentageGrade') {\r\n course.RuleTypeDisplayName = sm.portal.utility.formatString(course.RuleTypeDisplayName, course.MinPassingScore); // >={0}\r\n } else if (course.RuleTypeBusinessMeaningName === 'AdmissionsRequirementRuleType.NumericGradeRange') {\r\n course.RuleTypeDisplayName = sm.portal.utility.formatString(course.RuleTypeDisplayName, course.MinPassingScore, course.MaxPassingScore); // >={0} & <={1}\r\n }\r\n }\r\n }\r\n\r\n this.consolidateSubGroups = function(subGroup) {\r\n const subGroupWithParent = subGroup.filter(sg => sg.ParentSubGroupGID).map(sgp => {\r\n const sgpCourses = sgp.Courses.map(course => {\r\n return {...course, SubGroupName: sgp.Name};\r\n });\r\n sgp.Courses = sgpCourses;\r\n return sgp;\r\n });\r\n subGroup = subGroup.filter(sg => !sg.hasOwnProperty('ParentSubGroupGID')).map(sgwp => {\r\n const sgwpCourses = sgwp.Courses.map(course => {\r\n return {...course, SubGroupName: sgwp.Name};\r\n });\r\n sgwp.Courses = sgwpCourses;\r\n return sgwp;\r\n });\r\n if (subGroupWithParent && subGroupWithParent.length > 0) {\r\n subGroup.forEach(sg => {\r\n subGroupWithParent.forEach(sgp => {\r\n if (sg.GID === sgp.ParentSubGroupGID) { \r\n sg.Courses = [...sg.Courses, ...sgp.Courses]\r\n }\r\n });\r\n })\r\n }\r\n return subGroup;\r\n }\r\n \r\n this.LoadInitialData = function () {\r\n var url = _baseApiUri + 'api/studentdocumentchecklist/get/?gid=' + AdmissionsAttemptGID + '&recordid=0'; // RB - Moved to global variable, loaded from WordPress 43376;\r\n sm.portal.page.documentChecklist.doGet(url);\r\n this.AllTestScoreTemplate('AllTestScoreTemplate');\r\n this.AcceptAndDeclineButton('AcceptAndDeclineButton');\r\n this.RequiredDocumentTemplate('RequiredDocumentTemplate');\r\n };\r\n\r\n this.Accept = function (admission, event) {\r\n self.AcceptOrDeclineAdmissions(admission, event, true);\r\n };\r\n\r\n this.CanStudentAcceptOffer = ko.computed(function () {\r\n\r\n if (this.StudentHasAcceptedOffer()) {\r\n return false;\r\n };\r\n\r\n if (this.TermsAndConditionLoaded() && !this.TermsAndCondition().Completed()) {\r\n return false;\r\n };\r\n\r\n return true;\r\n }, this);\r\n\r\n this.ShouldTermsConditionsBeDisplayed = ko.computed(function () {\r\n if (this.TermsAndConditionLoaded() && this.CurrentAdmissionStageHasOffer()) {\r\n return true;\r\n }\r\n return false;\r\n }, this);\r\n\r\n this.HasAnyTestScores = ko.computed(function () {\r\n return this.ACTScore().length > 0\r\n || this.SATScore().length > 0\r\n || this.PraxisScore().length > 0\r\n || this.PraxisIIScore().length > 0\r\n || this.GEDScore().length > 0\r\n || this.GREScore().length > 0\r\n || this.GMATScore().length > 0\r\n || this.TOEFL().length > 0;\r\n }, this);\r\n\r\n this.Decline = function (admission, event) {\r\n self.AcceptOrDeclineAdmissions(admission, event, false);\r\n };\r\n\r\n this.adHocDocumentBtnClick = function () {\r\n\r\n jQuery.blockUI();\r\n\r\n var msgSubject = sm.portal.utility.formatString(sm.portal.utility.getResourceValue('Person0RequestsReUploadOf1'), self.DisplayName(), event.currentTarget.id);\r\n var newMsg = new sm.portal.vm.SendCommunicationViewModel();\r\n newMsg.DisplayName(viewModel.DisplayName());\r\n newMsg.ToAddress(\"U4SM.imap@unit4.com\"); // Needs to be reworked to be from the app settings\r\n newMsg.FromAddress(\"TEMP\");\r\n newMsg.ContextID(viewModel.PersonID);\r\n newMsg.CurrentUserID(_currentPersonId);\r\n newMsg.Html(\"\");\r\n newMsg.Subject(msgSubject);\r\n\r\n viewModel.SendCommunicationData(newMsg);\r\n newMsg.SendMessage();\r\n };\r\n\r\n this.AcceptOrDeclineAdmissions = function (admission, event, accept) {\r\n jQuery.blockUI();\r\n var data = this.ExtractATO(accept);\r\n url = _baseApiUri + 'api/studentdocumentchecklist/AcceptOrDeclineOffer/';\r\n jQuery.ajax({\r\n url: url,\r\n type: 'POST',\r\n dataType: 'json',\r\n data: JSON.stringify(data),\r\n contentType: 'application/json; charset=utf-8',\r\n headers: {\r\n \"x-api-version\": '1' //,\r\n },\r\n processData: false,\r\n crossDomain: true,\r\n\r\n xhrFields: {\r\n withCredentials: true\r\n },\r\n success: jQuery.proxy(function (data, textStatus, jqXHR) {\r\n var container = new smapi.access.ApiContainerModel(data.Status, data.Payload, data.ValidationTitle, data.ValidationMessages);\r\n if (data.Status == 'success') {\r\n this.AdmissionsStage(container.Payload.AdmissionsStage);\r\n this.CurrentAdmissionStageHasOffer(container.Payload.CurrentAdmissionStageHasOffer);\r\n this.StudentHasAcceptedOffer(container.Payload.StudentHasAcceptedOffer);\r\n this.StudentHasDeniedOffer(container.Payload.StudentHasDeniedOffer);\r\n this.AdmissionsAdditionalInformations(container.Payload.AdmissionsAdditionalInformations);\r\n } else if (data.Status === 'validationerror') {\r\n viewModel.HandleError(container.ValidationTitle, container.ValidationMessages);\r\n // TODO: Identify and highlight the associated fields (if possible)\r\n\r\n } else if (data.Status === 'error') {\r\n\r\n viewModel.HandleError(container.ValidationTitle, container.ValidationMessages);\r\n }\r\n jQuery.unblockUI();\r\n sm.portal.ui.readyPage();\r\n }, admission),\r\n error: function (jqXHR, exception) {\r\n if (jqXHR.status === 401) {\r\n var title = sm.portal.utility.getResourceValue('UnAuthorized');\r\n var body = sm.portal.utility.getResourceValue('NotAuthorizedToViewPage');\r\n viewModel.HandleError(title, [body]);\r\n } else if (jqXHR.status === 400) {\r\n viewModel.HandleError(exception + jqXHR.responseJSON.Message);\r\n }\r\n else {\r\n viewModel.HandleError(exception);\r\n }\r\n jQuery.unblockUI();\r\n }\r\n });\r\n };\r\n\r\n this.ClearUploadDocumentInit = function (attemptGID, data, event) {\r\n\r\n var fileElement = ClearUploadArea(event.target);\r\n var documentID = 0;\r\n\r\n if (data.model.TranscriptDocumentID !== undefined) {\r\n documentID = data.model.TranscriptDocumentID;\r\n }\r\n else {\r\n documentID = data.model.ID;\r\n }\r\n\r\n var url = _baseApiUri + \"api/studentdocumentchecklist/ClearDocumentFile?documentID=\" + documentID + \"&attemptGID=\" + attemptGID;\r\n var formData = new FormData();\r\n\r\n jQuery.ajax({\r\n type: \"POST\",\r\n url: url,\r\n contentType: false,\r\n processData: false,\r\n crossDomain: true,\r\n data: formData,\r\n headers: {\r\n \"x-api-version\": '1'\r\n },\r\n xhrFields: {\r\n withCredentials: true\r\n },\r\n success: function (data) { \r\n jQuery(\"#CurrentUploadID\").val(\"\");\r\n\r\n var container = new smapi.access.ApiContainerModel(data.Status, data.Payload, data.ValidationTitle, data.ValidationMessages);\r\n self.LoadModel(container);\r\n\r\n sm.portal.ui.readyPage();\r\n sm.portal.ui.successIndicator(fileElement, data);\r\n },\r\n error: function (jqXHR, textStatus, errorThrown) {\r\n self.HandleError(exception);\r\n }\r\n });\r\n };\r\n\r\n this.HandleError = function (title, messages) {\r\n this.IsError(true);\r\n this.IsGeneralError(true);\r\n jQuery.unblockUI();\r\n if (messages) {\r\n this.ErrorMessages(messages);\r\n }\r\n if (sm.portal.utility.isNullOrEmpty(title)) {\r\n viewModel.ErrorHeader(sm.portal.utility.getResourceValue('ThereWasAnError'));\r\n } else {\r\n viewModel.ErrorHeader(title);\r\n }\r\n };\r\n\r\n this.GetPaymentProviderName = function () {\r\n if (viewModel.IsPaymentProviderEnabled) {\r\n var url = _baseApiUri + sm.portal.utility.formatString('api/portalstudentledger/GetPaymentProviderName');\r\n jQuery.ajax({\r\n url: url,\r\n type: 'GET',\r\n dataType: 'json',\r\n contentType: 'application/json; charset=utf-8',\r\n headers: {\r\n \"x-api-version\": '1'\r\n },\r\n processData: false,\r\n crossDomain: true,\r\n xhrFields: {\r\n withCredentials: true\r\n },\r\n success: function (data) {\r\n viewModel.PaymentProviderName(data);\r\n },\r\n error: function (exception) {\r\n viewModel.HandleError(exception);\r\n }\r\n });\r\n }\r\n };\r\n\r\n // Extraction Method\r\n this.ExtractATO = function (accepted) {\r\n var submitObject = ko.mapping.toJS(this);\r\n\r\n var termsData = null;\r\n if (!sm.portal.utility.isNullOrEmpty(self.TermsAndCondition())) {\r\n termsData = self.TermsAndCondition().ExtractATO();\r\n }\r\n\r\n var submitModel = {\r\n AdmissionsAttemptGid: self.AdmissionsAttemptGid(),\r\n AdmissionsAccepted: accepted,\r\n TermsData: ko.toJS(termsData)\r\n };\r\n\r\n return submitModel;\r\n };\r\n\r\n return self;\r\n }\r\n\r\n function ClearUploadArea(element) {\r\n\r\n var uploadArea = jQuery(element).closest('.uploadArea');\r\n var uploadBox = uploadArea.find('.uploadBox');\r\n var fileElement = uploadBox.find('input[type=\"file\"]');\r\n var fileThumb = uploadArea.find('div.fileThumb');\r\n\r\n fileThumb.removeClass('active');\r\n fileThumb.addClass('hidden');\r\n uploadBox.removeClass('hidden');\r\n\r\n sm.portal.ui.loadingIndicator(fileElement);\r\n\r\n return fileElement;\r\n }\r\n\r\n jQuery.extend(true, sm.portal.vm, {\r\n DocumentListViewModel: DocumentListViewModel,\r\n });\r\n\r\n})(jQuery);"]}