{"version":3,"sources":["webpack:///./node_modules/core-js/modules/es.array.flat.js","webpack:///./src/assets/images/scholars/add-new-scholars/alert-circle.svg","webpack:///./src/assets/images/family-portal/timer.svg","webpack:///./src/components/familyPortal/forms/formBuilder/Container/GenerateForm/GenerateForm.less?7674","webpack:///./src/assets/images/scholars/add-new-scholars/check-circle.svg","webpack:///./src/assets/images/scholars/add-new-scholars/arrowLeft.svg","webpack:///./src/components/familyPortal/popupComponents/applicationConfirmation/ApplicationConfirmation.less?be3d","webpack:///./node_modules/core-js/modules/es.array.unscopables.flat.js","webpack:///./src/components/familyPortal/forms/formBuilder/Container/Container.vue?c74e","webpack:///./src/components/familyPortal/forms/formBuilder/Container/formData/organizationalElements.ts","webpack:///./src/components/familyPortal/forms/formBuilder/Container/formData/guardianDetails.ts","webpack:///./src/components/familyPortal/forms/formBuilder/Container/formData/emergencyContact.ts","webpack:///./src/components/familyPortal/forms/formBuilder/Container/formData/customFieldDetails.ts","webpack:///./src/components/familyPortal/forms/formBuilder/Container/Container.ts","webpack:///./src/components/familyPortal/forms/formBuilder/Container/Container.vue?2618","webpack:///./src/components/familyPortal/forms/formBuilder/Container/Container.vue?15ac","webpack:///./src/components/familyPortal/forms/formBuilder/Container/Container.vue","webpack:///./src/components/familyPortal/forms/formBuilder/Container/formData/scholarDetails.ts","webpack:///./src/components/familyPortal/forms/formBuilder/Container/GenerateForm/GenerateForm.vue?3943","webpack:///./src/components/familyPortal/forms/formBuilder/Container/GenerateForm/GenerateForm.ts","webpack:///./src/components/familyPortal/forms/formBuilder/Container/GenerateForm/GenerateForm.vue?a67e","webpack:///./src/components/familyPortal/forms/formBuilder/Container/GenerateForm/GenerateForm.vue?222f","webpack:///./src/components/familyPortal/forms/formBuilder/Container/GenerateForm/GenerateForm.vue","webpack:///./src/assets/images/scholars/add-new-scholars/arrowRight.svg","webpack:///./src/components/familyPortal/forms/Forms.vue?128e","webpack:///./src/components/familyPortal/forms/Forms.ts","webpack:///./src/components/familyPortal/forms/Forms.vue?c8b0","webpack:///./src/components/familyPortal/forms/Forms.vue?76a6","webpack:///./src/components/familyPortal/forms/Forms.vue","webpack:///./src/components/familyPortal/forms/Forms.less?f706","webpack:///./node_modules/core-js/internals/flatten-into-array.js","webpack:///./src/components/familyPortal/popupComponents/sessionTimeout/SessionTimeout.vue?2472","webpack:///./src/components/familyPortal/popupComponents/sessionTimeout/SessionTimeout.ts","webpack:///./src/components/familyPortal/popupComponents/sessionTimeout/SessionTimeout.vue?8880","webpack:///./src/components/familyPortal/popupComponents/sessionTimeout/SessionTimeout.vue?e0b7","webpack:///./src/components/familyPortal/popupComponents/sessionTimeout/SessionTimeout.vue","webpack:///./src/components/familyPortal/forms/formBuilder/Container/Container.less?6cd8","webpack:///./src/components/familyPortal/popupComponents/applicationConfirmation/ApplicationConfirmation.vue?da29","webpack:///./src/components/familyPortal/popupComponents/applicationConfirmation/ApplicationConfirmation.ts","webpack:///./src/components/familyPortal/popupComponents/applicationConfirmation/ApplicationConfirmation.vue?16ec","webpack:///./src/components/familyPortal/popupComponents/applicationConfirmation/ApplicationConfirmation.vue?666e","webpack:///./src/components/familyPortal/popupComponents/applicationConfirmation/ApplicationConfirmation.vue","webpack:///./src/assets/images/arrow-right.svg","webpack:///./src/components/familyPortal/popupComponents/sessionTimeout/SessionTimeout.less?63f1"],"names":["$","flattenIntoArray","toObject","toLength","toInteger","arraySpeciesCreate","target","proto","flat","depthArg","arguments","length","undefined","O","this","sourceLen","A","module","exports","addToUnscopables","render","_vm","_h","$createElement","_c","_self","staticClass","selectedType","attrs","class","formData","list","resetJson","_e","ref","formIndex","addNewElement","widgetFormSelect","on","$event","showLeftPanel","widgetModels","staticRenderFns","organizationalElements","getOrganizationalElements","Date","key","getTime","Math","ceil","random","group","type","name","title","dropIndex","elmType","label","leftSideTitle","options","width","defaultValue","required","dataType","pattern","placeholder","disabled","model","rules","isDrag","isEditable","guardianInformation","getScholar","states","getStatesShortFinalList","COUNTRY_ID","columns","span","maxLength","message","min","max","trigger","gutter","justify","align","dropdownStatus","multiple","clearable","showLabel","value","remote","filterable","remoteOptions","props","remoteFunc","inline","isHide","arr","state","push","guardianEmergencyInformation","getEmergencyInfo","maxlength","CustomQuestion","getCustomData","objScreenText","ScreenText","preview","previewVisible","scholarInformation","currentPartIndex","formsDetails","config","applicationParts","source","addFormDetails","formsStore","applicationsPartsData","forms","components","GenerateForm","WidgetForm","component","isOpen","data","directives","rawName","updateErrorCount","nextPreviousButtonCalled","expression","formName","intro","_v","_s","isBannerShow","noOfErrors","getScreenText","disablePrevButton","preLabel","positionofError","disableNextButton","nextLabel","isRedBannerShown","is400BannerShow","size","currentRoute","models","validationExcludedRoutes","includes","labelPosition","labelWidth","_l","item","index","guardianFields","hideAgeBool","col","colIndex","citem","i","style","APP_CONST","STYLE","COLOR","margin","isSubmitted","handleDplicateRecords","autosavePartTwo","onInputChange","clm","ind","clmRow","innerIndex","checkSingleCheckbox","callback","$$v","$set","optionIndex","staticStyle","Object","assign","getConsentAgreement","trim","autoSaveTimer","initialFormData","isPartTwoAutoSaved","userSubmitted","dropdownTypes","outsideClick","guardianFieldRules","FORM_BUILDER_FIELD_RULES","guardianErrorMessage","emergencyErrorMessage","authoriseErrorMessage","duplicateFieldsData","guardians","firstName","lastName","emergency","authorized","validationTriggerCallbackFn","validateCartApplicationForm","saveApplicationFormsCallbackFn","saveApplicationForms","onMounted","formSequence","selectedChildId","autoSave","autoValidate","getUserDetails","then","res","guardianrecord","addGuardianDatainModel","guardianResponse","firstGuardianDetails","mutateFirstGuardianData","email","primaryGaurdian","primaryGuardian","birthdate","birthDate","replace","slice","relation","phone","getFormattedPhone","phonetype","phoneType","secondaryPhone","secondaryPhoneType","addressLine1","address","address1","addressLine2","address2","city","zipCode","zip","homeLanguage","val","substring","middle","last","formTwoFetchFlag","formsList","enrollments","JSON","stringify","applicationsList","isFinalSubmit","isPartOneFetched","siteIds","parse","localStorage","all_selected_sites","guardianId","userDetail","id","scholar","scholarName","elasticEnrollmentId","scholar_selected","updatePartTwoFetchFlag","originalConsentReferences","filter","element","map","matchCounter","formWidgetList","requiredConsentVerification","formValidatedState","mutateFormValidate","attachExternalListeners","$route","generateModle","document","addEventListener","SUBMIT_FORM_TEXT","submitForm","childBirthdateWidgetIndex","widgetList","findIndex","x","FORM_INPUT_CHILD_BIRTHDATE","childBirthdateWidget","mutateSelectedWidgetItem","generateFormRef","$refs","generateForm","scholarBirthdateFormItem","fields","find","prop","startsWith","scholarBirthdateFormInput","$children","$attrs","saveCurrentBirthDate","resetField","clear","inputKeys","FORM_INPUT_CHILD_FIRSTNAME","FORM_INPUT_CHILD_LASTNAME","inputKey","widgetIndex","widget","formItem","formInput","today","getDate","getMonth","getFullYear","prototype","$eventHub","$emit","CART_APPLICATION_SCHOLAR_FN_LN_DOB_CHANGED_TRIGGER_EVENT","rule","triggerApplicationScholarFirstLastDobChangedEvent","field","CART_APPLICATION_SCHOLAR_BIRTHDATE_CHANGED_TRIGGER_EVENT","compareDates","Error","match","filteredRules","guardianEmail1","guardianEmail2","DUPLICATE_GUARDIAN_EMAIL","genList","forEach","splice","checkDuplicateRecord","setTimeout","errorElements","querySelectorAll","position","lineHeight","filterPhoneNumberRules","order","validator","validateDoubleEmailForGuardian","validateEmail","validateBirthDate","firstTimeApplicant","applicationStore","duplicateApplicationErrorType","validateIfScholarAlreadyApplied","GUARDIAN_ONE","GUARDIAN_LASTNAME","checkandupdateGurdian","keys","indexOf","defaultType","parseStringToRegExp","GUARDIAN_EMAIL","saveGuardianDetails","GUARDIAN_FIRSTNAME","forceAutoSave","isDirty","canSave","scholardob","scholarbirthdateField","scholar_birthdate","scholarElasticEnrollmentId","currentCartApplication","trimmedDOB","cartItemEnrollmentDetails","cartItemId","guardianUserId","scholarFirstName","scholar_firstname","scholarLastName","scholar_lastname","scholarDateOfBirth","$root","$on","CART_APPLICATION_VALIDATION_TRIGGER_EVENT","CART_APPLICATION_SAVE_APPLICATION_FORMS_TRIGGER_EVENT","CART_APPLICATION_RESET_SCHOLAR_BIRTHDATE_TRIGGER_EVENT","resetScholarBirthdate","CART_APPLICATION_RESET_SCHOLAR_TRIGGER_EVENT","resetScholar","$off","$nextTick","window","setInterval","APPLICATION_AUTO_SAVE_INTERVAL","fieldsList","innerObj","modelsStr","str","innerCount","elementData","elemVal","modelsList","userObj","previousRecord","currentRecord","isRecordMatched","values","latRecord","toLowerCase","elementSelected","getFieldsData","firstMatchStatus","fieldData","matchDuplicateRecord","DUPLICATE_GUARDIAN_RECORD","DUPLICATE_EMERGENCY_RECORD","DUPLICATE_AUTHORIZED_RECORD","split","validateDuplicateCheck","validateField","validateDuplicateUserNameCheck","modelsArr","isValid","pop","validateForm","valid","CART_APPLICATION_VALIDATION_RAN_EVENT","response","status","RESPONSE_200","clearInterval","scholarMapping","elasticSubmissionId","getCookie","saveFinalSubmitPartSecond","resetApplication","updateScholarData","updateCurrentFormField","isNextButton","nextPage","$router","saveFinalApplicationForms","modal","show","el","getElementById","classList","add","display","user_id","userId","commonEntry","fetchUserDetails","parseInt","result","validate","validateResult","catch","errors","INPUT_SELECTOR","isMobile","inputdoc","remove","showToastMessage","movetoFirstError","errorElement","nextElementSibling","contains","resetGuardianDetails","e","console","error","saveFormsList","valuecheked","focussedElement","getElementsByClassName","navigateToLabel","ONE","lastelement","focus","scrollBy","top","documentElement","clientWidth","getBoundingClientRect","behavior","activeElement","body","entries","parentElement","previousSibling","className","application","currentIndex","isDocumentSubmitted","updatePartIndex","submissions","APP_ROUTES","APPLICATION_UPLOAD_DOCUMENTS","path","DASHBOARD","event","innerClmElm","innerClmInd","innerListElm","resetFields","guardianFirstEmailModel","guardianFirstNameModel","guardianLastNameModel","detachExternalListeners","onDestroy","sitesList","applicationsData","formObject","getElasticEnrollmentId","getConsentAgreementMap","session","selected","sessionId","partTwoFormsFetchFlag","firstGuardianModelsList","hideAgeProp","selectedChild","currentlySelectedCartApplication","isFirstNameValid","isLastNameValid","dobValue","isDobValid","deep","GenetateFormItem","ApplicationConfirmation","isCheckout","applicationName","isMobileView","accountLogoURL","_t","applicationsPart","form","parts","color","accentColor","borderColor","previous","getChangeSite","backgroundColor","submitBtn","applicationData","builderData","localConst","guardianData","ecs","ecsOrdered","existingOrders","structureFormData","updateCurrentUpdatedField","getFormDetails","arg","parentItemName","column","listItem","DIVIDERLINE_TEXT","TEXTAREALONGQUESTION_TEXT","getUpdateFormElements","content","elemKey","hasOwnProperty","TWO","customFields","emergencyContacts","emergencyContact","emergencyPhoneNumberType","emergency_callorder","emergency_relation","documents","consents","siteDetails","scholar_Guid","accountId","applicationId","elasticApplicationId","submissionId","programId","learning","medical","programDetails","pickUps","authorizedContact","authorized_relation","authorizedPhoneNumberType","authorizedDate","scheduleDays","scholarId","applicationGuid","getItem","buildFormData","formId","provideBuilderDataForTempScholars","updateFormsStructure","tempScholarData","allSelectedChildData","formattedDOB","formatFullDateForElastic","DOB","formJSON","partElm","frmElm","frmIndex","itm","option","opt1","opt2","elem","columnName","orderIndex","groupName","items","Array","j","toString","sort","a","b","elementContent","emergency_phone","getUpdatedFormattedDetails","getFormattedDetails","defaultVal","scholar_phone","groupEmergencyContactsData","consent_Question","consent_ques","consent_Answer","consent_Label","consent_Ack","consent_response","consent_Options","consent_agreement1","consent_agreement","elasticform_Id","isArray","join","custom_Response","custom_Field","custom_Question","prepareEmergencyContactDetails","mutateCurrentPart","ZERO","resetEmergencyFields","resetFormModels","applicationDataInfo","getElasticApplicationDetails","getScholarData","getApplicationDetails","updateRelationDropdown","updateLanguageDropdown","mutateWidgetList","mutateChangeSite","$destroy","applicationsParts","currentPartNumber","changeSite","outStandingItems","currentOutstandingItem","scholarData","formValidation","isPartOneFormsFetched","Boolean","default","SessionTimeout","bind","original","start","depth","mapper","thisArg","targetIndex","sourceIndex","mapFn","TypeError","navigateToLogin","sessionTimeOutHeader","sessionTimeOutSubHeader","loginButtonText","screenText","$gtm","trackEvent","category","action","noninteraction","removeCookies","removeSpecificCookie","LOGIN","trackView","navigateToDashboard","navigateToSiteSelection","mutateChildrenDropdown","childrenDropdownObj","selectedChildData","getScholarsByGuardian","getSitesByProgramId","empty_Site_ids","setItem","siteList","removeItem"],"mappings":"sLACA,IAAIA,EAAI,EAAQ,QACZC,EAAmB,EAAQ,QAC3BC,EAAW,EAAQ,QACnBC,EAAW,EAAQ,QACnBC,EAAY,EAAQ,QACpBC,EAAqB,EAAQ,QAIjCL,EAAE,CAAEM,OAAQ,QAASC,OAAO,GAAQ,CAClCC,KAAM,WACJ,IAAIC,EAAWC,UAAUC,OAASD,UAAU,QAAKE,EAC7CC,EAAIX,EAASY,MACbC,EAAYZ,EAASU,EAAEF,QACvBK,EAAIX,EAAmBQ,EAAG,GAE9B,OADAG,EAAEL,OAASV,EAAiBe,EAAGH,EAAGA,EAAGE,EAAW,OAAgBH,IAAbH,EAAyB,EAAIL,EAAUK,IACnFO,M,gDCjBXC,EAAOC,QAAU,IAA0B,iC,uBCA3CD,EAAOC,QAAU,IAA0B,0B,oCCA3C,yBAAogB,EAAG,G,gDCAvgBD,EAAOC,QAAU,IAA0B,iC,uBCA3CD,EAAOC,QAAU,IAA0B,8B,oCCA3C,yBAAif,EAAG,G,qBCEpf,IAAIC,EAAmB,EAAQ,QAE/BA,EAAiB,S,2CCJjB,IAAIC,EAAS,WAAa,IAAIC,EAAIP,KAASQ,EAAGD,EAAIE,eAAmBC,EAAGH,EAAII,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,YAAY,CAACF,EAAG,eAAe,CAACE,YAAY,iBAAiB,CAACF,EAAG,UAAU,CAACE,YAAY,YAAY,CAACF,EAAG,eAAe,CAAuB,UAArBH,EAAIM,aAA0B,CAACH,EAAG,eAAe,CAACE,YAAY,mBAAmBE,MAAM,CAAC,UAAY,aAAa,CAACJ,EAAG,UAAU,CAACK,MAAM,CAAE,eAA4C,GAA5BR,EAAIS,SAASC,KAAKpB,SAAe,CAAGU,EAAIW,UAAmPX,EAAIY,KAA5OT,EAAG,cAAc,CAACU,IAAI,aAAaN,MAAM,C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AAiB0S,wBAd5B,GAA6C,eAAO,OAAiB,SAAxD,EAAuB,QADnC,QACY,GCwGE,QCjHyb,I,wBCQpcxgB,EAAY,eACd,EACAvG,EACAsB,GACA,EACA,KACA,WACA,MAIa,aAAAiF,E,8BCnBf1G,EAAOC,QAAU,IAA0B,gC,kCCA3C,yBAAwe,EAAG,G","file":"js/chunk-5adbf35c.3f2642aa.js","sourcesContent":["'use strict';\nvar $ = require('../internals/export');\nvar flattenIntoArray = require('../internals/flatten-into-array');\nvar toObject = require('../internals/to-object');\nvar toLength = require('../internals/to-length');\nvar toInteger = require('../internals/to-integer');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\n// `Array.prototype.flat` method\n// https://github.com/tc39/proposal-flatMap\n$({ target: 'Array', proto: true }, {\n flat: function flat(/* depthArg = 1 */) {\n var depthArg = arguments.length ? arguments[0] : undefined;\n var O = toObject(this);\n var sourceLen = toLength(O.length);\n var A = arraySpeciesCreate(O, 0);\n A.length = flattenIntoArray(A, O, O, sourceLen, 0, depthArg === undefined ? 1 : toInteger(depthArg));\n return A;\n }\n});\n","module.exports = __webpack_public_path__ + \"img/alert-circle.6cd5cad3.svg\";","module.exports = __webpack_public_path__ + \"img/timer.44d9a0e0.svg\";","import mod from \"-!../../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!./GenerateForm.less?vue&type=style&index=0&id=22263eee&lang=less&scoped=true&\"; export default mod; export * from \"-!../../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!./GenerateForm.less?vue&type=style&index=0&id=22263eee&lang=less&scoped=true&\"","module.exports = __webpack_public_path__ + \"img/check-circle.2d366982.svg\";","module.exports = __webpack_public_path__ + \"img/arrowLeft.8f846d3c.svg\";","import mod from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!./ApplicationConfirmation.less?vue&type=style&index=0&id=66b3b851&lang=less&scoped=true&\"; export default mod; export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!./ApplicationConfirmation.less?vue&type=style&index=0&id=66b3b851&lang=less&scoped=true&\"","// this method was added to unscopables after implementation\n// in popular engines, so it's moved to a separate module\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\naddToUnscopables('flat');\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"fm-style\"},[_c('el-container',{staticClass:\"fm2-container\"},[_c('el-main',{staticClass:\"fm2-main\"},[_c('el-container',[(_vm.selectedType === 'build')?[_c('el-container',{staticClass:\"center-container\",attrs:{\"direction\":\"vertical\"}},[_c('el-main',{class:{ 'widget-empty': _vm.formData.list.length == 0 }},[(!_vm.resetJson)?_c('widget-form',{ref:\"widgetForm\",attrs:{\"formIndex\":_vm.formIndex,\"addNewElement\":_vm.addNewElement,\"select\":_vm.widgetFormSelect},on:{\"update:select\":function($event){_vm.widgetFormSelect=$event},\"showPanel\":_vm.showLeftPanel}}):_vm._e()],1)],1)]:[_c('el-container',{staticClass:\"center-container\",attrs:{\"direction\":\"vertical\"}},[_c('generate-form',{ref:\"generateForm\",attrs:{\"insite\":\"true\",\"formIndex\":_vm.formIndex,\"value\":_vm.widgetModels}})],1)]],2)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export const organizationalElements = {\n getOrganizationalElements: () => {\n const date: any = new Date()\n const key = new Date().getTime() + '_' + Math.ceil(Math.random() * 99999)\n return [\n // {\n // group: \"organizationalElementDetails\",\n // type: 'sectionHeader',\n // name: 'sectionHeader',\n // title: 'Section Header',\n // elmType: 'single',\n // dropIndex: 0,\n // label: 'Type Section Name',\n // description : {\n // descriptionPlaceholder : '',\n // descriptionText : ''\n // },\n // options: {\n // width: '100%',\n // defaultValue: '',\n // required: false,\n // dataType: 'string',\n // pattern: '',\n // placeholder: '',\n // disabled: false,\n // },\n // key: key + '_sectionHeader',\n // model:\n // \"sectionHeader\" +\n // \"_\" +\n // new Date().getTime() +\n // \"_\" +\n // Math.ceil(Math.random() * 99999),\n // rules: [],\n // isDrag: true,\n // isEditable: false,\n // required: false,\n // counter: 0,\n // },\n {\n group: 'organizationalElementDetails',\n type: 'sectionHeader',\n name: 'textAreaLongQuestion',\n title: 'Type Section Name',\n dropIndex: 0,\n elmType: 'single',\n label: 'Type Section Name',\n leftSideTitle: 'Section Header',\n options: {\n width: '100%',\n defaultValue: '',\n required: false,\n dataType: 'string',\n pattern: '',\n placeholder: 'Type description here',\n disabled: false\n },\n key: key + '_textAreaLongQuestion',\n model:\n 'textAreaLongQuestion' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 99999),\n rules: [],\n isDrag: true,\n isEditable: false\n },\n {\n group: 'organizationalElementDetails',\n type: 'dividerLine',\n name: 'dividerLine',\n title: 'Divider Line',\n leftSideTitle: 'Divider Line',\n elmType: 'single',\n dropIndex: 0,\n options: {\n width: '100%',\n defaultValue: '',\n required: false,\n dataType: 'string',\n pattern: '',\n placeholder: '',\n disabled: false\n },\n key: key + '_dividerLine',\n model: 'dividerLine' + '_' + new Date().getTime() + '_' + Math.ceil(Math.random() * 99999),\n rules: [],\n isDrag: true,\n isEditable: false,\n required: false\n }\n ]\n }\n}\n","import APP_CONST from '@/constants/AppConst'\nimport APP_UTILITIES from '@/utilities/commonFunctions'\n\nexport const guardianInformation = {\n getScholar: () => {\n const date: any = new Date()\n const key = new Date().getTime() + '_' + Math.ceil(Math.random() * 99999)\n const states: any = APP_UTILITIES.getStatesShortFinalList(APP_CONST.COUNTRY_ID)\n\n return [\n {\n group: 'guardianDetails',\n type: 'guardianName',\n name: 'guardianName',\n title: 'Name',\n elmType: 'grid',\n label: 'Guardian Name',\n dropIndex: 0,\n columns: [\n {\n span: 12,\n list: [\n {\n type: 'input',\n name: 'guardian_firstname',\n title: 'First Name',\n options: {\n width: '100%',\n defaultValue: '',\n required: false,\n dataType: 'string',\n pattern: '',\n placeholder: 'First Name',\n disabled: false,\n maxLength: 50\n },\n key: key + '_guardian_firstname',\n model:\n 'guardian_firstname' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 99999),\n rules: [\n { type: 'string', message: 'First Name Invaild format' },\n {\n required: true,\n message: 'This field is required. (Es necesario llenar este espacio.)'\n },\n {\n pattern: \"/^[a-zA-Z '-]+$/\",\n message:\n 'Use only letters, hyphens, and apostrophes in the name field. Other special characters, including accents, are not supported. (Por ahora, en el campo de nombre usa solo letras, guiones y apóstrofes. No se admiten otros caracteres especiales, incluidas las tildes, las eñes (ñ), etc.)'\n },\n {\n min: 0,\n max: 50,\n message: 'Firstname must be 0 to 50 charactors',\n trigger: 'blur'\n }\n ],\n isDrag: false,\n isEditable: false\n }\n ]\n },\n {\n span: 12,\n list: [\n {\n type: 'input',\n\n name: 'guardian_lastname',\n title: 'Last Name',\n options: {\n width: '100%',\n defaultValue: '',\n required: false,\n dataType: 'string',\n pattern: '',\n placeholder: 'Last Name',\n disabled: false,\n maxLength: 50\n },\n key: key + '_guardian_lastname',\n model:\n 'guardian_lastname' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 99999),\n rules: [\n { type: 'string', message: 'Last Name Invaild format' },\n {\n required: true,\n message: 'This field is required. (Es necesario llenar este espacio.)'\n },\n {\n pattern: \"/^[a-zA-Z '-]+$/\",\n message:\n 'Use only letters, hyphens, and apostrophes in the name field. Other special characters, including accents, are not supported. (Por ahora, en el campo de nombre usa solo letras, guiones y apóstrofes. No se admiten otros caracteres especiales, incluidas las tildes, las eñes (ñ), etc.)'\n },\n {\n min: 0,\n max: 50,\n message: 'Lastname must be 0 to 50 charactors',\n trigger: 'blur'\n }\n ],\n isDrag: false,\n isEditable: false\n }\n ]\n }\n ],\n options: {\n gutter: 0,\n justify: 'start',\n align: 'top'\n },\n key: key + '_guardianName',\n model: 'guardianName' + '_' + new Date().getTime() + '_' + Math.ceil(Math.random() * 99999),\n rules: [],\n isDrag: true,\n isEditable: false,\n required: false\n },\n {\n group: 'guardianDetails',\n type: 'input',\n name: 'guardian_birthdate',\n title: 'Birth Date',\n dropIndex: 0,\n elmType: 'single',\n label: 'Guardian Birth Date',\n options: {\n width: '100%',\n defaultValue: '',\n required: false,\n dataType: 'string',\n pattern: '',\n placeholder: 'MM-DD-YYYY',\n disabled: false,\n maxLength: 14\n },\n key: key + '_guardian_birthdate',\n model:\n 'guardian_birthdate' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 99999),\n rules: [\n {\n required: true,\n message:\n 'Be sure to enter MM-DD-YYYY. (Asegúrate de escribir la fecha de nacimiento (mes, día, año) MM-DD-AAAA)'\n }\n ],\n isDrag: true,\n isEditable: false\n },\n {\n group: 'guardianDetails',\n type: 'dropdown',\n\n name: 'guardian_relation',\n title: 'Relationship to Child',\n label: 'Guardian Relationship to Child',\n elmType: 'custom',\n dropIndex: 0,\n dropdownStatus: false,\n options: {\n defaultValue: 'Select',\n multiple: false,\n disabled: false,\n clearable: false,\n placeholder: '',\n required: false,\n showLabel: false,\n width: '',\n options: [\n {\n value: 'Mother'\n },\n {\n value: 'Father'\n },\n {\n value: 'Grandparent'\n },\n {\n value: 'Other'\n }\n ],\n remote: false,\n filterable: false,\n remoteOptions: [],\n props: {\n value: 'value',\n label: 'label'\n },\n remoteFunc: ''\n },\n key: key + '_guardian_relationship',\n model:\n 'guardian_relationship' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 99999),\n rules: [\n { required: true, message: 'This field is required. (Es necesario llenar este espacio.)' }\n ],\n isDrag: true,\n isEditable: false\n },\n {\n group: 'guardianDetails',\n type: 'checkbox',\n\n name: 'guardian_primary',\n title: 'Primary Guardian',\n elmType: 'single',\n label: 'Primary Guardian',\n dropIndex: 0,\n options: {\n inline: false,\n defaultValue: false,\n showLabel: false,\n options: [\n {\n value: 'Are you the primary guardian?'\n }\n ],\n required: false,\n width: '',\n remote: false,\n remoteOptions: [],\n props: {\n value: 'value',\n label: 'label'\n },\n remoteFunc: '',\n disabled: false\n },\n key: key + '_primary_guardian',\n model:\n 'primary_guardian' + '_' + new Date().getTime() + '_' + Math.ceil(Math.random() * 99999),\n rules: [\n { required: true, message: 'This field is required. (Es necesario llenar este espacio.)' }\n ],\n isDrag: true,\n isEditable: false\n },\n {\n group: 'guardianDetails',\n type: 'input',\n\n name: 'guardian_email',\n title: 'Email',\n elmType: 'single',\n label: 'Guardian Email',\n dropIndex: 0,\n options: {\n width: '100%',\n defaultValue: '',\n required: false,\n dataType: 'string',\n pattern: '',\n placeholder: 'Email',\n disabled: false,\n maxLength: 254\n },\n key: key + '_guardian_email',\n model:\n 'guardian_email' + '_' + new Date().getTime() + '_' + Math.ceil(Math.random() * 99999),\n rules: [\n {\n type: 'email',\n message:\n 'Enter a valid email address. (Escribe una dirección válida de correo electrónico, (email).)'\n },\n {\n required: true,\n message:\n 'Enter a valid email address. (Escribe una dirección válida de correo electrónico, (email).)'\n }\n ],\n isDrag: true,\n isEditable: false\n },\n {\n group: 'guardianDetails',\n type: 'phoneNumberType',\n name: 'guardianPhoneNumberType',\n title: 'Phone Number',\n elmType: 'grid',\n label: 'Guardian Phone Number',\n dropIndex: 0,\n columns: [\n {\n span: 12,\n list: [\n {\n type: 'input',\n name: 'guardian_phone',\n title: 'Phone',\n elmType: 'single',\n label: 'Phone Number',\n dropIndex: 0,\n options: {\n width: '100%',\n defaultValue: '',\n required: false,\n dataType: 'string',\n pattern: '',\n placeholder: 'Enter Number',\n disabled: false,\n maxLength: 14\n },\n key: key + '_guardian_phonenumber',\n model:\n 'guardian_phonenumber' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 99999),\n rules: [\n {\n required: true,\n message: 'This field is required. (Es necesario llenar este espacio.)'\n },\n {\n min: 14,\n max: 14,\n message: 'Phone number must be of 10 digits',\n trigger: 'blur'\n }\n ],\n isDrag: true,\n isEditable: false\n }\n ]\n },\n {\n span: 12,\n list: [\n {\n type: 'select',\n name: 'guardian_phonetype',\n title: 'Type',\n elmType: 'single',\n dropdownStatus: false,\n options: {\n defaultValue: 'Select',\n multiple: false,\n disabled: false,\n clearable: false,\n placeholder: '',\n required: false,\n showLabel: false,\n width: '',\n options: [\n {\n value: 'Cell'\n },\n {\n value: 'Work'\n },\n {\n value: 'Home'\n }\n ],\n remote: false,\n filterable: false,\n remoteOptions: [],\n props: {\n value: 'value',\n label: 'label'\n },\n remoteFunc: ''\n },\n key: key + '_guardian_phoneNumber_type',\n model:\n 'guardian_phoneNumber_type' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 99999),\n rules: [],\n isDrag: true,\n isEditable: false\n }\n ]\n }\n ],\n options: {\n gutter: 0,\n justify: 'start',\n align: 'top'\n },\n key: key + '_guardianPhoneNumberType',\n model:\n 'guardianPhoneNumberType' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 99999),\n rules: [],\n isDrag: true,\n isEditable: false,\n required: false\n },\n {\n group: 'guardianDetails',\n type: 'phoneNumberType',\n name: 'guardianSecondaryPhoneNumberType',\n title: 'Secondary Phone',\n elmType: 'grid',\n label: 'Guardian Secondary Phone',\n dropIndex: 0,\n columns: [\n {\n span: 12,\n list: [\n {\n type: 'input',\n name: 'guardian_secondary_phone',\n title: 'Phone',\n elmType: 'single',\n label: 'Phone Number',\n dropIndex: 0,\n options: {\n width: '100%',\n defaultValue: '',\n required: false,\n dataType: 'string',\n pattern: '',\n placeholder: 'Enter Number',\n disabled: false,\n maxLength: 14\n },\n key: key + '_guardian_secondary_phonenumber',\n model:\n 'guardian_secondary_phonenumber' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 99999),\n rules: [\n {\n required: true,\n message: 'This field is required. (Es necesario llenar este espacio.)'\n },\n {\n min: 14,\n max: 14,\n message: 'Phone number must be of 10 digits',\n trigger: 'blur'\n }\n ],\n isDrag: true,\n isEditable: false\n }\n ]\n },\n {\n span: 12,\n list: [\n {\n type: 'select',\n name: 'guardian_secondarytype',\n title: 'Type',\n elmType: 'single',\n dropdownStatus: false,\n options: {\n defaultValue: 'Select',\n multiple: false,\n disabled: false,\n clearable: false,\n placeholder: '',\n required: false,\n showLabel: false,\n width: '',\n options: [\n {\n value: 'Cell'\n },\n {\n value: 'Work'\n },\n {\n value: 'Home'\n }\n ],\n remote: false,\n filterable: false,\n remoteOptions: [],\n props: {\n value: 'value',\n label: 'label'\n },\n remoteFunc: ''\n },\n key: key + '_guardian_secondary_phoneNumber_type',\n model:\n 'guardian_secondary_phoneNumber_type' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 99999),\n rules: [],\n isDrag: true,\n isEditable: false\n }\n ]\n }\n ],\n options: {\n gutter: 0,\n justify: 'start',\n align: 'top'\n },\n key: key + '_guardianSecondaryPhoneNumberType',\n model:\n 'guardianSecondaryPhoneNumberType' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 99999),\n rules: [],\n isDrag: true,\n isEditable: false,\n required: false\n },\n {\n group: 'guardianDetails',\n type: 'guardianaddressField',\n name: 'guardianaddressField',\n dropIndex: 0,\n title: 'Address',\n elmType: 'addressGrid',\n label: 'Guardian Address',\n columns: [\n {\n span: 24,\n list: [\n {\n type: 'input',\n name: 'guardian_address1',\n title: 'Address Line 1',\n elmType: 'single',\n options: {\n isHide: false,\n width: '100%',\n defaultValue: '',\n required: false,\n dataType: 'string',\n pattern: '',\n placeholder: 'Address Line 1',\n disabled: false\n },\n key: key + '_guardian_address1',\n model:\n 'guardian_address1' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 99999),\n rules: [],\n isDrag: false,\n isEditable: false\n },\n {\n type: 'input',\n name: 'guardian_address2',\n title: 'Address Line 2',\n elmType: 'single',\n options: {\n isHide: false,\n width: '100%',\n defaultValue: '',\n required: false,\n dataType: 'string',\n pattern: '',\n placeholder: 'Address Line 2',\n disabled: false\n },\n key: key + '_guardian_address2',\n model:\n 'guardian_address2' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 99999),\n rules: [],\n isDrag: false,\n isEditable: false\n },\n {\n elmType: 'grid',\n columns: [\n {\n span: 8,\n list: [\n {\n type: 'input',\n name: 'guardian_city',\n title: 'City',\n elmType: 'single',\n options: {\n isHide: false,\n width: '100%',\n defaultValue: '',\n required: false,\n dataType: 'string',\n pattern: '',\n placeholder: 'City',\n disabled: false\n },\n key: key + '_guardian_city',\n model:\n 'guardian_city' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 99999),\n rules: [],\n isDrag: false,\n isEditable: false\n }\n ]\n },\n {\n span: 8,\n list: [\n {\n type: 'select',\n\n name: 'guardian_state',\n title: 'State',\n elmType: 'single',\n dropdownStatus: false,\n options: {\n isHide: false,\n defaultValue: 'State',\n multiple: false,\n disabled: false,\n clearable: false,\n placeholder: '',\n required: false,\n showLabel: false,\n width: '',\n options: (function () {\n const arr = []\n for (const state of states) {\n arr.push({ value: state })\n }\n return arr\n })(),\n remote: false,\n filterable: false,\n remoteOptions: [],\n props: {\n value: 'value',\n label: 'label'\n },\n remoteFunc: ''\n },\n key: key + '_guardian_state',\n model:\n 'guardian_state' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 99999),\n rules: [],\n isDrag: true,\n isEditable: false\n }\n ]\n },\n {\n span: 8,\n list: [\n {\n type: 'input',\n name: 'guardian_zipcode',\n title: 'Postal Code',\n elmType: 'single',\n options: {\n isHide: false,\n width: '100%',\n defaultValue: '',\n required: false,\n dataType: 'string',\n pattern: '',\n placeholder: 'ZIP Code',\n disabled: false,\n maxLength: 5\n },\n key: key + '_guardian_zipcode',\n model:\n 'guardian_zipcode' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 99999),\n rules: [\n {\n pattern: '/^[0-9]*$/',\n message: 'Be sure to enter all 5 digits(Escribe los 5 números.)',\n trigger: 'change'\n }\n ],\n isDrag: false,\n isEditable: false\n }\n ]\n }\n ],\n options: {\n gutter: 0,\n justify: 'start',\n align: 'top'\n }\n }\n ]\n }\n ],\n options: {\n gutter: 0,\n justify: 'start',\n align: 'top'\n },\n key: key + '_guardianaddressField',\n model:\n 'guardianaddressField' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 99999),\n rules: [],\n isDrag: true,\n isEditable: false,\n required: false\n },\n {\n group: 'guardianDetails',\n type: 'dropdown',\n name: 'guardian_language',\n title: 'Language at Home',\n label: 'Guardian Language at Home',\n elmType: 'custom',\n dropIndex: 0,\n dropdownStatus: false,\n options: {\n defaultValue: 'Select',\n multiple: false,\n disabled: false,\n clearable: false,\n placeholder: '',\n required: false,\n showLabel: false,\n width: '',\n options: [\n {\n value: 'Spanish'\n },\n {\n value: 'Chinese (Mandarin)'\n },\n {\n value: 'Chinese (Cantonese)'\n },\n {\n value: 'Tagalog'\n },\n {\n value: 'Vietnamese'\n },\n {\n value: 'Arabic'\n },\n {\n value: 'French & French Creole'\n },\n {\n value: 'Korean'\n },\n {\n value: 'Russian'\n },\n {\n value: 'German'\n },\n {\n value: 'Haitian Creole'\n }\n ],\n remote: false,\n filterable: false,\n remoteOptions: [],\n props: {\n value: 'value',\n label: 'label'\n },\n remoteFunc: ''\n },\n key: key + '_guardian_language',\n model:\n 'guardian_language' + '_' + new Date().getTime() + '_' + Math.ceil(Math.random() * 99999),\n rules: [\n { required: true, message: 'This field is required. (Es necesario llenar este espacio.)' }\n ],\n isDrag: true,\n isEditable: false\n }\n ]\n }\n}\n","import APP_CONST from '@/constants/AppConst'\nimport APP_UTILITIES from '@/utilities/commonFunctions'\n\nexport const guardianEmergencyInformation = {\n getEmergencyInfo: () => {\n const date: any = new Date()\n const key = new Date().getTime() + '_' + Math.ceil(Math.random() * 88888)\n const states: any = APP_UTILITIES.getStatesShortFinalList(APP_CONST.COUNTRY_ID)\n\n return [\n {\n group: 'emergencyContactsDetails',\n type: 'emergencyContact',\n name: 'emergencyContact',\n dropIndex: 0,\n elmType: 'emergencyGrid',\n title: 'Emergency Contact',\n label: 'Emergency Contact',\n columns: [\n {\n span: 24,\n list: [\n {\n type: 'sectionHeader',\n name: 'textAreaLongQuestion',\n dropIndex: 0,\n elmType: 'single',\n options: {\n width: '100%',\n defaultValue:\n 'Emergency Contacts must be unique from Guardians. Programs will reach out to Emergency Contacts only when Guardians are unavailable.',\n required: false,\n dataType: 'string',\n pattern: '',\n placeholder: 'Type description here',\n disabled: false\n },\n key: key + '_textAreaLongQuestion',\n model:\n 'textAreaLongQuestion' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 99999),\n rules: [],\n isDrag: true,\n isEditable: false\n },\n {\n type: 'dividerLine',\n name: 'dividerLine',\n title: 'Divider Line',\n leftSideTitle: 'Divider Line',\n elmType: 'single',\n dropIndex: 0,\n options: {\n width: '100%',\n defaultValue: '',\n required: false,\n dataType: 'string',\n pattern: '',\n placeholder: '',\n disabled: false\n },\n key: key + '_dividerLine',\n model:\n 'dividerLine' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 99999),\n rules: [],\n isDrag: true,\n isEditable: false,\n required: false\n },\n {\n type: 'select',\n name: 'emergency_callorder',\n title: 'Call Order',\n label: 'Emergency Contact Call Order',\n elmType: 'single',\n dropIndex: 0,\n dropdownStatus: false,\n options: {\n defaultValue: '',\n multiple: false,\n disabled: true,\n clearable: false,\n placeholder: 'Select',\n required: false,\n showLabel: false,\n width: '',\n options: [\n {\n value: '1'\n },\n {\n value: '2'\n },\n {\n value: '3'\n },\n {\n value: '4'\n },\n {\n value: '5'\n }\n ],\n remote: false,\n filterable: false,\n remoteOptions: [],\n props: {\n value: 'value',\n label: 'label'\n },\n remoteFunc: ''\n },\n key: key + '_emergency_call_order',\n model:\n 'emergency_call_order' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 99999),\n rules: [\n {\n required: true,\n message: 'This field is required. (Es necesario llenar este espacio.)'\n }\n ],\n isDrag: false,\n isEditable: false\n },\n {\n type: 'guardianEmergencyContact',\n name: 'emergencyContactName',\n title: 'Name',\n elmType: 'grid',\n label: 'Emergency Contact Name',\n dropIndex: 0,\n columns: [\n {\n span: 12,\n list: [\n {\n type: 'input',\n name: 'emergency_firstname',\n title: 'First Name',\n options: {\n width: '100%',\n defaultValue: '',\n required: false,\n dataType: 'string',\n pattern: '',\n placeholder: 'First Name',\n disabled: false,\n maxlength: 50\n },\n key: key + '_emergency_firstname',\n model:\n 'emergency_firstname' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 88888),\n rules: [\n { type: 'string', message: 'First Name Invaild format' },\n {\n required: true,\n message: 'This field is required. (Es necesario llenar este espacio.)'\n },\n {\n pattern: \"/^[a-zA-Z '-]+$/\",\n message:\n 'Use only letters, hyphens, and apostrophes in the name field. Other special characters, including accents, are not supported. (Por ahora, en el campo de nombre usa solo letras, guiones y apóstrofes. No se admiten otros caracteres especiales, incluidas las tildes, las eñes (ñ), etc.)'\n },\n {\n min: 0,\n max: 50,\n message: 'Firstname must be 0 to 50 charactors',\n trigger: 'blur'\n }\n ],\n isDrag: false,\n isEditable: false\n }\n ]\n },\n {\n span: 12,\n list: [\n {\n type: 'input',\n name: 'emergency_lastname',\n title: 'Last Name',\n options: {\n width: '100%',\n defaultValue: '',\n required: false,\n dataType: 'string',\n pattern: '',\n placeholder: 'Last Name',\n disabled: false,\n maxlength: 50\n },\n key: key + '_emergency_lastname',\n model:\n 'emergency_lastname' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 88888),\n rules: [\n { type: 'string', message: 'Last Name Invaild format' },\n {\n required: true,\n message: 'This field is required. (Es necesario llenar este espacio.)'\n },\n {\n pattern: \"/^[a-zA-Z '-]+$/\",\n message:\n 'Use only letters, hyphens, and apostrophes in the name field. Other special characters, including accents, are not supported. (Por ahora, en el campo de nombre usa solo letras, guiones y apóstrofes. No se admiten otros caracteres especiales, incluidas las tildes, las eñes (ñ), etc.)'\n },\n {\n min: 0,\n max: 50,\n message: 'Last Name must be 0 to 50 charactors',\n trigger: 'blur'\n }\n ],\n isDrag: false,\n isEditable: false\n }\n ]\n }\n ],\n options: {\n gutter: 0,\n justify: 'start',\n align: 'top'\n },\n key: key + '_emergencyContact',\n model:\n 'emergencyContact' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 88888),\n rules: [],\n isDrag: false,\n isEditable: false,\n required: false\n },\n {\n type: 'phoneNumberType',\n name: 'emergencyPhoneNumberType',\n title: 'Phone Number',\n elmType: 'grid',\n label: 'Emergency Contact Phone Number',\n dropIndex: 0,\n columns: [\n {\n span: 12,\n list: [\n {\n type: 'input',\n name: 'emergency_phone',\n title: 'Phone',\n elmType: 'single',\n label: 'Phone Number',\n dropIndex: 0,\n options: {\n width: '100%',\n defaultValue: '',\n required: false,\n dataType: 'string',\n pattern: '',\n placeholder: 'Enter Number',\n disabled: false,\n maxLength: 14\n },\n key: key + '_emergency_phoneNumber',\n model:\n 'emergency_phoneNumber' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 99999),\n rules: [\n {\n required: true,\n message: 'This field is required. (Es necesario llenar este espacio.)'\n },\n {\n min: 14,\n max: 14,\n message: 'Phone number must be of 10 digits',\n trigger: 'blur'\n }\n ],\n isDrag: false,\n isEditable: false\n }\n ]\n },\n {\n span: 12,\n list: [\n {\n type: 'select',\n name: 'emergency_phonetype',\n title: 'Type',\n elmType: 'single',\n dropdownStatus: false,\n options: {\n defaultValue: 'Select',\n multiple: false,\n disabled: false,\n clearable: false,\n placeholder: '',\n required: false,\n showLabel: false,\n width: '100%',\n options: [\n {\n value: 'Cell'\n },\n {\n value: 'Work'\n },\n {\n value: 'Home'\n }\n ],\n remote: false,\n filterable: false,\n remoteOptions: [],\n props: {\n value: 'value',\n label: 'label'\n },\n remoteFunc: ''\n },\n key: key + '_emergency_phoneNumber_type',\n model:\n 'emergency_phoneNumber_type' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 99999),\n rules: [],\n isDrag: false,\n isEditable: false\n }\n ]\n }\n ],\n options: {\n gutter: 0,\n justify: 'start',\n align: 'top'\n },\n key: key + '_emergencyPhoneNumberType',\n model:\n 'emergencyPhoneNumberType' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 99999),\n rules: [],\n isDrag: false,\n isEditable: false,\n required: false\n },\n {\n type: 'dropdown',\n name: 'emergency_relation',\n title: 'Relationship to Child',\n label: 'Emergency Contact Relationship to Child',\n elmType: 'custom',\n dropIndex: 0,\n dropdownStatus: false,\n options: {\n defaultValue: 'Select',\n multiple: false,\n disabled: false,\n clearable: false,\n placeholder: '',\n required: false,\n showLabel: false,\n width: '',\n isHide: false,\n options: [\n {\n value: 'Mother'\n },\n {\n value: 'Father'\n },\n {\n value: 'Grandparent'\n },\n {\n value: 'Others'\n }\n ],\n remote: false,\n filterable: false,\n remoteOptions: [],\n props: {\n value: 'value',\n label: 'label'\n },\n remoteFunc: ''\n },\n key: key + '_emergency_relationship',\n model:\n 'emergency_relationship' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 99999),\n rules: [\n {\n required: true,\n message: 'This field is required. (Es necesario llenar este espacio.)'\n }\n ],\n isDrag: false,\n isEditable: false,\n required: false\n }\n ]\n }\n ],\n options: {\n gutter: 0,\n justify: 'start',\n align: 'top'\n },\n key: key + '_emergencyContactDetails',\n model:\n 'emergencyContactDetails' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 99999),\n rules: [],\n isDrag: true,\n isEditable: false,\n isHide: false\n }\n ]\n }\n}\n","export const CustomQuestion = {\n getCustomData: () => {\n const date: any = new Date()\n const key = new Date().getTime() + '_' + Math.ceil(Math.random() * 99999)\n\n return [\n {\n group: 'customFieldDetails',\n type: 'singleChoice',\n name: 'singleChoice',\n title: 'Type Your Question',\n dropIndex: 0,\n elmType: 'custom',\n label: 'Type Your Question',\n leftSideTitle: 'Single Choice',\n options: {\n inline: false,\n defaultValue: '',\n showLabel: false,\n options: [\n {\n value: 'Option 1',\n label: 'Option 1'\n },\n {\n value: 'Option 2',\n label: 'Option 2'\n },\n {\n value: 'Option 3',\n label: 'Option 3'\n }\n ],\n required: false,\n width: '',\n remote: false,\n remoteOptions: [],\n props: {\n value: 'value',\n label: 'label'\n },\n remoteFunc: '',\n disabled: false\n },\n key: key + '_singleChoice',\n model: 'singleChoice' + '_' + new Date().getTime() + '_' + Math.ceil(Math.random() * 99999),\n rules: [\n { required: true, message: 'This field is required. (Es necesario llenar este espacio.)' }\n ],\n isDrag: true,\n isEditable: false\n },\n {\n group: 'customFieldDetails',\n type: 'multipleChoice',\n name: 'multipleChoice',\n title: 'Type Your Question',\n dropIndex: 0,\n elmType: 'custom',\n label: 'Type Your Question',\n leftSideTitle: 'Multiple Choice',\n options: {\n inline: false,\n defaultValue: [],\n showLabel: false,\n options: [\n {\n value: 'Option 1'\n },\n {\n value: 'Option 2'\n },\n {\n value: 'Option 3'\n }\n ],\n required: false,\n width: '',\n remote: false,\n remoteOptions: [],\n props: {\n value: 'value',\n label: 'label'\n },\n remoteFunc: '',\n disabled: false\n },\n key: key + '_multipleChoice',\n model:\n 'multipleChoice' + '_' + new Date().getTime() + '_' + Math.ceil(Math.random() * 99999),\n rules: [\n { required: true, message: 'This field is required. (Es necesario llenar este espacio.)' }\n ],\n isDrag: true,\n isEditable: false\n },\n {\n group: 'customFieldDetails',\n type: 'textAreaQuestion',\n name: 'textAreaQuestion',\n title: 'Type Your Question',\n dropIndex: 0,\n elmType: 'custom',\n label: 'Type Your Question',\n leftSideTitle: 'Short Answer',\n options: {\n width: '100%',\n defaultValue: '',\n required: false,\n dataType: 'string',\n pattern: '',\n placeholder: '',\n disabled: false\n },\n key: key + '_textAreaQuestion',\n model:\n 'textAreaQuestion' + '_' + new Date().getTime() + '_' + Math.ceil(Math.random() * 99999),\n rules: [\n { required: true, message: 'This field is required. (Es necesario llenar este espacio.)' }\n ],\n isDrag: true,\n isEditable: false\n },\n {\n group: 'customFieldDetails',\n type: 'textAreaLongQuestion',\n name: 'textAreaLongQuestion',\n title: 'Type your question',\n dropIndex: 0,\n elmType: 'custom',\n label: 'Type your question',\n leftSideTitle: 'Long Answer',\n options: {\n width: '100%',\n defaultValue: '',\n required: false,\n dataType: 'string',\n pattern: '',\n placeholder: 'Type placeholder copy',\n disabled: false\n },\n key: key + '_textAreaLongQuestion',\n model:\n 'textAreaLongQuestion' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 99999),\n rules: [\n { required: true, message: 'This field is required. (Es necesario llenar este espacio.)' }\n ],\n isDrag: true,\n isEditable: false\n },\n {\n group: 'customFieldDetails',\n type: 'dropdown',\n name: 'dropdown',\n title: 'Type your question here',\n dropIndex: 0,\n elmType: 'custom',\n label: 'Type your question here',\n leftSideTitle: 'Dropdown',\n options: {\n inline: false,\n defaultValue: 'Select',\n showLabel: false,\n options: [\n {\n value: 'Option 1'\n },\n {\n value: 'Option 2'\n },\n {\n value: 'Option 3'\n }\n ],\n required: false,\n width: '',\n remote: false,\n remoteOptions: [],\n props: {\n value: 'value',\n label: 'label'\n },\n remoteFunc: '',\n disabled: false\n },\n key: key + '_dropdown',\n model: 'dropdown' + '_' + new Date().getTime() + '_' + Math.ceil(Math.random() * 99999),\n rules: [\n { required: true, message: 'This field is required. (Es necesario llenar este espacio.)' }\n ],\n isDrag: true,\n isEditable: false,\n dropdownStatus: false\n }\n ]\n }\n}\n","import { Vue, Component, Prop } from 'vue-property-decorator'\nimport { ScreenText } from '@/lang/ScreenText'\nimport WidgetForm from './WidgetForm/WidgetForm.vue'\nimport GenerateForm from './GenerateForm/GenerateForm.vue'\nimport { organizationalElements } from './formData/organizationalElements'\nimport { scholarInformation } from './formData/scholarDetails'\nimport { guardianInformation } from './formData/guardianDetails'\nimport { guardianEmergencyInformation } from './formData/emergencyContact'\nimport { CustomQuestion } from './formData/customFieldDetails'\nimport formsStore from '@/store/modules/forms/formsStore'\n@Component({\n name: 'fm-making-form',\n components: {\n GenerateForm,\n WidgetForm\n }\n})\nexport default class Container extends Vue {\n private objScreenText: ScreenText = new ScreenText()\n public resetJson: boolean = false\n public widgetFormSelect: any = null\n public preview: boolean = false\n public previewVisible: boolean = false\n public scholarInformation = scholarInformation\n public organizationalElements = organizationalElements\n public guardianInformation = guardianInformation\n public guardianEmergencyInformation = guardianEmergencyInformation\n public CustomQuestion = CustomQuestion\n public addNewElement: any = ''\n public widgetModels: Object = {}\n public currentPartIndex: number = 0\n public formsDetails: any = { list: [], config: {} }\n\n get formData() {\n return this.applicationParts[this.formIndex]\n ? this.applicationParts[this.formIndex].source\n : { list: [], config: {} }\n }\n\n get applicationParts() {\n return formsStore.applicationsPartsData.forms\n }\n\n @Prop()\n formIndex!: number\n\n @Prop()\n selectedType!: string\n\n addFormDetails() {\n this.formsDetails = this.applicationParts[this.formIndex]\n ? this.applicationParts[this.formIndex].source\n : { list: [], config: {} }\n }\n\n mounted() {\n this.addFormDetails()\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\nimport Container from './Container'\nexport default Container\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Container.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Container.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Container.vue?vue&type=template&id=0070958c&scoped=true&\"\nimport script from \"./Container.vue?vue&type=script&lang=ts&\"\nexport * from \"./Container.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Container.less?vue&type=style&index=0&id=0070958c&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0070958c\",\n null\n \n)\n\nexport default component.exports","import APP_CONST from '@/constants/AppConst'\nimport APP_UTILITIES from '@/utilities/commonFunctions'\n\nexport const scholarInformation = {\n getScholar: () => {\n const date: any = new Date()\n const key = new Date().getTime() + '_' + Math.ceil(Math.random() * 99999)\n const states: any = APP_UTILITIES.getStatesShortFinalList(APP_CONST.COUNTRY_ID)\n return [\n {\n group: 'scholarDetails',\n type: 'scholarName',\n\n name: 'scholarName',\n title: 'Name',\n elmType: 'grid',\n dropIndex: 0,\n label: 'Child Name',\n columns: [\n {\n span: 12,\n list: [\n {\n type: 'input',\n\n name: 'scholar_firstname',\n title: 'First Name',\n options: {\n width: '100%',\n defaultValue: '',\n required: false,\n dataType: 'string',\n pattern: '',\n placeholder: 'First Name',\n disabled: false,\n maxLength: 50\n },\n key: key + '_scholar_firstname',\n model:\n 'scholar_firstname' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 99999),\n rules: [\n { type: 'string', message: 'First Name Invaild format' },\n {\n required: true,\n message: 'This field is required. (Es necesario llenar este espacio.)'\n },\n {\n pattern: \"/^[a-zA-Z '-]+$/\",\n message:\n 'Use only letters, hyphens, and apostrophes in the name field. Other special characters, including accents, are not supported. (Por ahora, en el campo de nombre usa solo letras, guiones y apóstrofes. No se admiten otros caracteres especiales, incluidas las tildes, las eñes (ñ), etc.)'\n },\n {\n min: 0,\n max: 50,\n message: 'Firstname must be 0 to 50 charactors',\n trigger: 'blur'\n }\n ],\n isDrag: false,\n isEditable: false\n }\n ]\n },\n {\n span: 12,\n list: [\n {\n type: 'input',\n\n name: 'scholar_lastname',\n title: 'Last Name',\n options: {\n width: '100%',\n defaultValue: '',\n required: false,\n dataType: 'string',\n pattern: '',\n placeholder: 'Last Name',\n disabled: false,\n maxLength: 50\n },\n key: key + '_scholar_lastname',\n model:\n 'scholar_lastname' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 99999),\n rules: [\n { type: 'string', message: 'Last Name Invaild format' },\n {\n required: true,\n message: 'This field is required. (Es necesario llenar este espacio.)'\n },\n {\n pattern: \"/^[a-zA-Z '-]+$/\",\n message:\n 'Use only letters, hyphens, and apostrophes in the name field. Other special characters, including accents, are not supported. (Por ahora, en el campo de nombre usa solo letras, guiones y apóstrofes. No se admiten otros caracteres especiales, incluidas las tildes, las eñes (ñ), etc.)'\n },\n {\n min: 0,\n max: 50,\n message: 'Lastname must be 0 to 50 charactors',\n trigger: 'blur'\n }\n ],\n isDrag: false,\n isEditable: false\n }\n ]\n }\n ],\n options: {\n gutter: 0,\n justify: 'start',\n align: 'top'\n },\n key: key + '_scholarName',\n model: 'scholarName' + '_' + new Date().getTime() + '_' + Math.ceil(Math.random() * 99999),\n rules: [],\n isDrag: true,\n isEditable: false,\n required: false\n },\n {\n group: 'scholarDetails',\n type: 'input',\n name: 'scholar_nickname',\n title: 'Nickname',\n dropIndex: 0,\n elmType: 'single',\n label: 'Child Nickname',\n options: {\n width: '100%',\n defaultValue: '',\n required: false,\n dataType: 'string',\n pattern: '',\n placeholder: 'Nickname',\n disabled: false,\n maxLength: 50\n },\n key: key + '_scholar_nickname',\n model:\n 'scholar_nickname' + '_' + new Date().getTime() + '_' + Math.ceil(Math.random() * 99999),\n rules: [\n { type: 'string', message: 'Nickname Invaild format' },\n {\n required: true,\n message: 'This field is required. (Es necesario llenar este espacio.)'\n },\n { pattern: \"/^[a-zA-Z '-]+$/\", message: 'Nickname contains invalid characters' },\n { min: 0, max: 50, message: 'Nickname must be 0 to 50 charactors', trigger: 'blur' }\n ],\n isDrag: true,\n isEditable: false\n },\n {\n group: 'scholarDetails',\n type: 'scholaraddressField',\n name: 'scholarbirthdateField',\n dropIndex: 0,\n title: 'Birth Date / Age',\n elmType: 'addressGrid',\n label: 'Child Birth Date',\n columns: [\n {\n span: 24,\n list: [\n {\n group: 'scholarDetails',\n type: 'input',\n name: 'scholar_birthdate',\n title: 'Birth Date',\n dropIndex: 1,\n elmType: 'single',\n label: 'Child Birth Date',\n options: {\n isHide: false,\n width: '100%',\n defaultValue: '',\n required: false,\n dataType: 'string',\n pattern: '',\n placeholder: 'MM-DD-YYYY',\n disabled: false,\n maxLength: 14\n },\n key: key + '_scholar_birthdate',\n model:\n 'scholar_birthdate' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 99999),\n rules: [\n {\n required: true,\n message:\n 'Be sure to enter MM-DD-YYYY. (Asegúrate de escribir la fecha de nacimiento (mes, día, año) MM-DD-AAAA)'\n }\n ],\n isDrag: true,\n isEditable: false\n },\n {\n group: 'scholarDetails',\n type: 'input',\n name: 'scholar_age',\n title: 'Age',\n dropIndex: 1,\n elmType: 'single',\n label: 'Child Age',\n options: {\n isHide: false,\n width: '100%',\n defaultValue: '--',\n required: false,\n dataType: 'string',\n pattern: '',\n placeholder: 'Age',\n disabled: true,\n maxLength: 3\n },\n key: key + '_scholar_age',\n model:\n 'scholar_age' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 99999),\n rules: [{ required: false, message: '' }],\n isDrag: true,\n isEditable: false\n }\n ]\n }\n ],\n options: {\n gutter: 0,\n justify: 'start',\n align: 'top'\n },\n key: key + '_scholarbirthdateField',\n model:\n 'scholarbirthdateField' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 99999),\n rules: [],\n isDrag: true,\n isEditable: false,\n required: false,\n isHide: false\n },\n {\n group: 'scholarDetails',\n type: 'dropdown',\n name: 'scholar_gender',\n title: 'Gender',\n dropIndex: 0,\n label: 'Child Gender',\n elmType: 'custom',\n dropdownStatus: false,\n options: {\n defaultValue: 'Select',\n multiple: false,\n disabled: false,\n clearable: false,\n placeholder: 'Gender',\n required: false,\n showLabel: false,\n width: '',\n options: [\n {\n value: 'Female'\n },\n {\n value: 'Male'\n }\n ],\n remote: false,\n filterable: false,\n remoteOptions: [],\n props: {\n value: 'value',\n label: 'label'\n },\n remoteFunc: ''\n },\n key: key + '_scholar_gender',\n model:\n 'scholar_gender' + '_' + new Date().getTime() + '_' + Math.ceil(Math.random() * 99999),\n rules: [\n { required: true, message: 'This field is required. (Es necesario llenar este espacio.)' }\n ],\n isDrag: true,\n isEditable: false\n },\n {\n group: 'scholarDetails',\n type: 'dropdown',\n name: 'scholar_race',\n title: 'Race / Ethnicity',\n label: 'Child Race / Ethnicity',\n elmType: 'custom',\n dropIndex: 0,\n dropdownStatus: false,\n options: {\n defaultValue: 'Select',\n multiple: false,\n disabled: false,\n clearable: false,\n placeholder: 'Select',\n required: false,\n showLabel: false,\n width: '',\n options: [\n {\n value: 'Caucasian/White'\n },\n {\n value: 'African American/Black'\n },\n {\n value: 'Hispanic/Latino'\n },\n {\n value: 'Native Hawaiian'\n },\n {\n value: 'Pacific Islander'\n },\n {\n value: 'American Indian or Alaskan Native'\n },\n {\n value: 'Asian'\n },\n {\n value: 'Other'\n }\n ],\n remote: false,\n filterable: false,\n remoteOptions: [],\n props: {\n value: 'value',\n label: 'label'\n },\n remoteFunc: ''\n },\n key: key + '_scholar_race',\n model: 'scholar_race' + '_' + new Date().getTime() + '_' + Math.ceil(Math.random() * 99999),\n rules: [\n { required: true, message: 'This field is required. (Es necesario llenar este espacio.)' }\n ],\n isDrag: true,\n isEditable: false\n },\n {\n group: 'scholarDetails',\n type: 'input',\n\n name: 'scholar_email',\n title: 'Email',\n elmType: 'single',\n label: 'Child Email',\n dropIndex: 0,\n options: {\n width: '100%',\n defaultValue: '',\n required: false,\n dataType: 'string',\n pattern: '',\n placeholder: 'Email',\n disabled: false,\n maxLength: 254\n },\n key: key + '_scholar_email',\n model:\n 'scholar_email' + '_' + new Date().getTime() + '_' + Math.ceil(Math.random() * 99999),\n rules: [\n {\n required: true,\n message:\n 'Enter a valid email address. (Escribe una dirección válida de correo electrónico, (email).)'\n }\n ],\n isDrag: true,\n isEditable: false\n },\n {\n group: 'scholarDetails',\n type: 'phoneNumberType',\n name: 'scholarPhoneNumberType',\n title: 'Phone Number',\n elmType: 'grid',\n label: 'Child Phone Number',\n dropIndex: 0,\n columns: [\n {\n span: 12,\n list: [\n {\n type: 'input',\n name: 'scholar_phone',\n title: 'Phone',\n elmType: 'single',\n label: 'Phone Number',\n dropIndex: 0,\n options: {\n width: '100%',\n defaultValue: '',\n required: false,\n dataType: 'string',\n pattern: '',\n placeholder: 'Enter Number',\n disabled: false,\n maxLength: 14\n },\n key: key + '_scholar_phonenumber',\n model:\n 'scholar_phonenumber' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 99999),\n rules: [\n {\n required: true,\n message: 'This field is required. (Es necesario llenar este espacio.)'\n },\n {\n min: 14,\n max: 14,\n message: 'Phone number must be of 10 digits',\n trigger: 'blur'\n }\n ],\n isDrag: true,\n isEditable: false\n }\n ]\n },\n {\n span: 12,\n list: [\n {\n type: 'select',\n name: 'scholar_phonetype',\n title: 'Type',\n elmType: 'single',\n dropdownStatus: false,\n options: {\n defaultValue: 'Select',\n multiple: false,\n disabled: false,\n clearable: false,\n placeholder: '',\n required: false,\n showLabel: false,\n width: '',\n options: [\n {\n value: 'Cell'\n },\n {\n value: 'Work'\n },\n {\n value: 'Home'\n }\n ],\n remote: false,\n filterable: false,\n remoteOptions: [],\n props: {\n value: 'value',\n label: 'label'\n },\n remoteFunc: ''\n },\n key: key + '_scholar_phoneNumber_type',\n model:\n 'scholar_phoneNumber_type' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 99999),\n rules: [],\n isDrag: true,\n isEditable: false\n }\n ]\n }\n ],\n options: {\n gutter: 0,\n justify: 'start',\n align: 'top'\n },\n key: key + '_scholarPhoneNumberType',\n model:\n 'scholarPhoneNumberType' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 99999),\n rules: [],\n isDrag: true,\n isEditable: false,\n required: false\n },\n {\n group: 'scholarDetails',\n type: 'scholaraddressField',\n name: 'scholaraddressField',\n dropIndex: 0,\n title: 'Address',\n elmType: 'addressGrid',\n label: 'Child Address',\n columns: [\n {\n span: 24,\n list: [\n {\n type: 'input',\n name: 'scholar_address1',\n title: 'Address Line 1',\n elmType: 'single',\n options: {\n isHide: false,\n width: '100%',\n defaultValue: '',\n required: false,\n dataType: 'string',\n pattern: '',\n placeholder: 'Address Line 1',\n disabled: false,\n maxLength: 150\n },\n key: key + '_scholar_address1',\n model:\n 'scholar_address1' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 99999),\n rules: [\n {\n required: true,\n message: 'This field is required. (Es necesario llenar este espacio.)'\n }\n ],\n isDrag: false,\n isEditable: false\n },\n {\n type: 'input',\n name: 'scholar_address2',\n title: 'Address Line 2',\n elmType: 'single',\n options: {\n isHide: false,\n width: '100%',\n defaultValue: '',\n required: false,\n dataType: 'string',\n pattern: '',\n placeholder: 'Address Line 2',\n disabled: false,\n maxLength: 150\n },\n key: key + '_scholar_address2',\n model:\n 'scholar_address2' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 99999),\n rules: [\n {\n required: true,\n message: 'This field is required. (Es necesario llenar este espacio.)'\n }\n ],\n isDrag: false,\n isEditable: false\n },\n {\n elmType: 'grid',\n columns: [\n {\n span: 8,\n list: [\n {\n type: 'input',\n name: 'scholar_city',\n title: 'City',\n elmType: 'single',\n options: {\n isHide: false,\n width: '100%',\n defaultValue: '',\n required: false,\n dataType: 'string',\n pattern: '',\n placeholder: 'City',\n disabled: false\n },\n key: key + '_scholar_city',\n model:\n 'scholar_city' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 99999),\n rules: [\n {\n required: true,\n message: 'This field is required. (Es necesario llenar este espacio.)'\n }\n ],\n isDrag: false,\n isEditable: false\n }\n ]\n },\n {\n span: 8,\n list: [\n {\n type: 'select',\n\n name: 'scholar_state',\n title: 'State',\n elmType: 'single',\n dropdownStatus: false,\n options: {\n isHide: false,\n defaultValue: 'State',\n multiple: false,\n disabled: false,\n clearable: false,\n placeholder: '',\n required: false,\n showLabel: false,\n width: '',\n options: (function () {\n const arr = []\n for (const state of states) {\n arr.push({ value: state })\n }\n return arr\n })(),\n remote: false,\n filterable: false,\n remoteOptions: [],\n props: {\n value: 'value',\n label: 'label'\n },\n remoteFunc: ''\n },\n key: key + '_scholar_state',\n model:\n 'scholar_state' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 99999),\n rules: [\n {\n required: true,\n message: 'This field is required. (Es necesario llenar este espacio.)'\n }\n ],\n isDrag: true,\n isEditable: false\n }\n ]\n },\n {\n span: 8,\n list: [\n {\n type: 'input',\n name: 'scholar_zipcode',\n title: 'Postal Code',\n elmType: 'single',\n options: {\n isHide: false,\n width: '100%',\n defaultValue: '',\n required: false,\n dataType: 'string',\n pattern: '',\n placeholder: 'ZIP Code',\n disabled: false,\n maxLength: 5\n },\n key: key + '_scholar_zipcode',\n model:\n 'scholar_zipcode' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 99999),\n rules: [\n {\n required: true,\n message: 'Be sure to enter all 5 digits(Escribe los 5 números.)'\n }\n ],\n isDrag: false,\n isEditable: false\n }\n ]\n }\n ],\n options: {\n gutter: 0,\n justify: 'start',\n align: 'top'\n }\n }\n ]\n }\n ],\n options: {\n gutter: 0,\n justify: 'start',\n align: 'top'\n },\n key: key + '_scholaraddressField',\n model:\n 'scholaraddressField' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 99999),\n rules: [],\n isDrag: true,\n isEditable: false,\n required: false\n },\n {\n group: 'scholarDetails',\n type: 'input',\n name: 'scholar_schoolname',\n title: 'School Name',\n elmType: 'single',\n label: 'School Name',\n dropIndex: 0,\n options: {\n width: '100%',\n defaultValue: '',\n required: false,\n dataType: 'string',\n pattern: '',\n placeholder: 'School Name',\n disabled: false,\n maxLength: 50\n },\n key: key + '_scholar_schoolName',\n model:\n 'scholar_schoolName' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 99999),\n rules: [\n { required: true, message: 'This field is required. (Es necesario llenar este espacio.)' }\n ],\n isDrag: true,\n isEditable: false\n },\n {\n group: 'scholarDetails',\n type: 'input',\n name: 'scholar_studentid',\n title: 'School Student ID',\n elmType: 'single',\n label: 'School Student ID',\n dropIndex: 0,\n options: {\n width: '100%',\n defaultValue: '',\n required: false,\n dataType: 'string',\n pattern: '',\n placeholder: 'School Student ID',\n disabled: false,\n maxLength: 20\n },\n key: key + '_scholar_studentid',\n model:\n 'scholar_studentid' + '_' + new Date().getTime() + '_' + Math.ceil(Math.random() * 99999),\n rules: [\n { required: true, message: 'This field is required. (Es necesario llenar este espacio.)' }\n ],\n isDrag: true,\n isEditable: false\n },\n {\n group: 'scholarDetails',\n type: 'input',\n name: 'scholar_reducedmeal',\n title: 'Free or Reduced Price Meals',\n elmType: 'single',\n label: 'Free or Reduced Price Meals',\n dropIndex: 0,\n options: {\n width: '100%',\n defaultValue: '',\n required: false,\n dataType: 'string',\n pattern: '',\n placeholder: 'Free or Reduced Price Meals',\n disabled: false,\n maxLength: 10\n },\n key: key + '_scholar_free_reduced_price_meals',\n model:\n 'scholar_free_reduced_price_meals' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 99999),\n rules: [\n { required: true, message: 'This field is required. (Es necesario llenar este espacio.)' }\n ],\n isDrag: true,\n isEditable: false\n },\n {\n group: 'scholarDetails',\n type: 'dropdown',\n name: 'scholar_language',\n title: 'Language at Home',\n label: 'Child Language at Home',\n elmType: 'custom',\n dropIndex: 0,\n dropdownStatus: false,\n options: {\n defaultValue: 'Select',\n multiple: false,\n disabled: false,\n clearable: false,\n placeholder: '',\n required: false,\n showLabel: false,\n width: '',\n options: [\n {\n value: 'Spanish'\n },\n {\n value: 'Chinese (Mandarin)'\n },\n {\n value: 'Chinese (Cantonese)'\n },\n {\n value: 'Tagalog'\n },\n {\n value: 'Vietnamese'\n },\n {\n value: 'Arabic'\n },\n {\n value: 'French & French Creole'\n },\n {\n value: 'Korean'\n },\n {\n value: 'Russian'\n },\n {\n value: 'German'\n },\n {\n value: 'Haitian Creole'\n }\n ],\n remote: false,\n filterable: false,\n remoteOptions: [],\n props: {\n value: 'value',\n label: 'label'\n },\n remoteFunc: ''\n },\n key: key + '_scholar_language',\n model:\n 'scholar_language' + '_' + new Date().getTime() + '_' + Math.ceil(Math.random() * 99999),\n rules: [\n { required: true, message: 'This field is required. (Es necesario llenar este espacio.)' }\n ],\n isDrag: true,\n isEditable: false\n },\n {\n group: 'scholarDetails',\n type: 'dropdown',\n name: 'scholar_grade',\n title: 'Grade',\n elmType: 'custom',\n label: 'Grade',\n dropIndex: 0,\n dropdownStatus: false,\n options: {\n defaultValue: 'Select',\n multiple: false,\n disabled: false,\n clearable: false,\n placeholder: '',\n required: false,\n showLabel: false,\n width: '',\n options: [\n {\n value: 'Pre-K'\n },\n {\n value: 'K'\n },\n {\n value: '1'\n },\n {\n value: '2'\n },\n {\n value: '3'\n },\n {\n value: '4'\n },\n {\n value: '5'\n },\n {\n value: '6'\n },\n {\n value: '7'\n },\n {\n value: '8'\n }\n ],\n remote: false,\n filterable: false,\n remoteOptions: [],\n props: {\n value: 'value',\n label: 'label'\n },\n remoteFunc: ''\n },\n key: key + '_scholar_grade',\n model:\n 'scholar_grade' + '_' + new Date().getTime() + '_' + Math.ceil(Math.random() * 99999),\n rules: [\n { required: true, message: 'This field is required. (Es necesario llenar este espacio.)' }\n ],\n isDrag: true,\n isEditable: false\n },\n {\n group: 'scholarDetails',\n type: 'dropdown',\n name: 'scholar_tshirt',\n title: 'T-shirt Size',\n elmType: 'custom',\n dropIndex: 0,\n label: 'T-shirt Size',\n dropdownStatus: false,\n options: {\n defaultValue: 'Select',\n multiple: false,\n disabled: false,\n clearable: false,\n placeholder: '',\n required: false,\n showLabel: false,\n width: '',\n options: [\n {\n value: 'X-Small'\n },\n {\n value: 'Small'\n },\n {\n value: 'Medium'\n },\n {\n value: 'Large'\n },\n {\n value: 'X-Large'\n }\n ],\n remote: false,\n filterable: false,\n remoteOptions: [],\n props: {\n value: 'value',\n label: 'label'\n },\n remoteFunc: ''\n },\n key: key + '_scholar_tshirt',\n model:\n 'scholar_tshirt' + '_' + new Date().getTime() + '_' + Math.ceil(Math.random() * 99999),\n rules: [\n { required: true, message: 'This field is required. (Es necesario llenar este espacio.)' }\n ],\n isDrag: true,\n isEditable: false\n },\n {\n group: 'scholarMedicalDetails',\n type: 'input',\n name: 'scholar_allergies',\n title: 'Allergies',\n elmType: 'single',\n label: 'Allergies',\n dropIndex: 0,\n options: {\n width: '100%',\n defaultValue: '',\n required: false,\n dataType: 'string',\n pattern: '',\n placeholder: 'Allergies',\n disabled: false,\n maxLength: 150\n },\n key: key + '_scholar_allergies',\n model:\n 'scholar_allergies' + '_' + new Date().getTime() + '_' + Math.ceil(Math.random() * 99999),\n rules: [\n { required: true, message: 'This field is required. (Es necesario llenar este espacio.)' }\n ],\n isDrag: true,\n isEditable: false\n },\n {\n group: 'scholarMedicalDetails',\n type: 'select',\n name: 'scholar_epipen',\n title: 'EPI Pen',\n elmType: 'single',\n label: 'EPI Pen',\n dropIndex: 0,\n dropdownStatus: false,\n options: {\n defaultValue: 'Select',\n multiple: false,\n disabled: false,\n clearable: false,\n placeholder: '',\n required: false,\n showLabel: false,\n width: '',\n options: [\n {\n value: 'Yes'\n },\n {\n value: 'No'\n }\n ],\n remote: false,\n filterable: false,\n remoteOptions: [],\n props: {\n value: 'value',\n label: 'label'\n },\n remoteFunc: ''\n },\n key: key + '_scholar_epipen',\n model:\n 'scholar_epipen' + '_' + new Date().getTime() + '_' + Math.ceil(Math.random() * 99999),\n rules: [\n { required: true, message: 'This field is required. (Es necesario llenar este espacio.)' }\n ],\n isDrag: true,\n isEditable: false\n },\n {\n group: 'scholarMedicalDetails',\n type: 'select',\n name: 'scholar_asthmainhaler',\n title: 'Asthma Inhaler',\n elmType: 'single',\n label: 'Asthma Inhaler',\n dropdownStatus: false,\n dropIndex: 0,\n options: {\n defaultValue: 'Select',\n multiple: false,\n disabled: false,\n clearable: false,\n placeholder: '',\n required: false,\n showLabel: false,\n width: '',\n options: [\n {\n value: 'Yes'\n },\n {\n value: 'No'\n }\n ],\n remote: false,\n filterable: false,\n remoteOptions: [],\n props: {\n value: 'value',\n label: 'label'\n },\n remoteFunc: ''\n },\n key: key + '_scholar_asthmainhaler',\n model:\n 'scholar_asthmainhaler' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 99999),\n rules: [\n { required: true, message: 'This field is required. (Es necesario llenar este espacio.)' }\n ],\n isDrag: true,\n isEditable: false\n },\n {\n group: 'scholarMedicalDetails',\n type: 'input',\n name: 'scholar_medication',\n title: 'Medications',\n elmType: 'single',\n label: 'Medications',\n dropIndex: 0,\n options: {\n width: '100%',\n defaultValue: '',\n required: false,\n dataType: 'string',\n pattern: '',\n placeholder: 'Medication',\n disabled: false,\n maxLength: 150\n },\n key: key + '_scholar_medication',\n model:\n 'scholar_medication' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 99999),\n rules: [\n { required: true, message: 'This field is required. (Es necesario llenar este espacio.)' }\n ],\n isDrag: true,\n isEditable: false\n },\n {\n group: 'scholarMedicalDetails',\n type: 'input',\n name: 'scholar_insuranceprovider',\n title: 'Insurance Provider',\n elmType: 'single',\n label: 'Insurance Provider',\n dropIndex: 0,\n options: {\n width: '100%',\n defaultValue: '',\n required: false,\n dataType: 'string',\n pattern: '',\n placeholder: 'Insurance Provider',\n disabled: false,\n maxLength: 50\n },\n key: key + '_scholar_insurance_provider',\n model:\n 'scholar_insurance_provider' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 99999),\n rules: [\n { required: true, message: 'This field is required. (Es necesario llenar este espacio.)' }\n ],\n isDrag: true,\n isEditable: false\n },\n {\n group: 'scholarLearningDetails',\n type: 'select',\n name: 'scholar_iep',\n title: 'IEP',\n elmType: 'single',\n label: 'IEP',\n dropIndex: 0,\n dropdownStatus: false,\n options: {\n defaultValue: 'Select',\n multiple: false,\n disabled: false,\n clearable: false,\n placeholder: 'Select',\n required: false,\n showLabel: false,\n width: '',\n options: [\n {\n value: 'Yes'\n },\n {\n value: 'No'\n }\n ],\n remote: false,\n filterable: false,\n remoteOptions: [],\n props: {\n value: 'value',\n label: 'label'\n },\n remoteFunc: ''\n },\n key: key + '_scholar_iep',\n model: 'scholar_iep' + '_' + new Date().getTime() + '_' + Math.ceil(Math.random() * 99999),\n rules: [\n { required: true, message: 'This field is required. (Es necesario llenar este espacio.)' }\n ],\n isDrag: true,\n isEditable: false\n },\n {\n group: 'scholarLearningDetails',\n type: 'select',\n name: 'scholar_ell',\n title: 'ELL/LEP',\n elmType: 'single',\n label: 'ELL/LEP',\n dropIndex: 0,\n dropdownStatus: false,\n options: {\n defaultValue: 'Select',\n multiple: false,\n disabled: false,\n clearable: false,\n placeholder: 'Select',\n required: false,\n showLabel: false,\n width: '',\n options: [\n {\n value: 'Yes'\n },\n {\n value: 'No'\n }\n ],\n remote: false,\n filterable: false,\n remoteOptions: [],\n props: {\n value: 'value',\n label: 'label'\n },\n remoteFunc: ''\n },\n key: key + '_scholar_llp',\n model: 'scholar_llp' + '_' + new Date().getTime() + '_' + Math.ceil(Math.random() * 99999),\n rules: [\n { required: true, message: 'This field is required. (Es necesario llenar este espacio.)' }\n ],\n isDrag: true,\n isEditable: false\n },\n {\n group: 'scholarLearningDetails',\n type: 'input',\n name: 'scholar_specialeducation',\n title: 'Special Education Status',\n elmType: 'single',\n label: 'Special Education Status',\n dropIndex: 0,\n options: {\n width: '100%',\n defaultValue: '',\n required: false,\n dataType: 'string',\n pattern: '',\n placeholder: 'Special Education Status',\n disabled: false,\n maxLength: 50\n },\n key: key + '_scholar_specialeducation',\n model:\n 'scholar_specialeducation' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 99999),\n rules: [\n { required: true, message: 'This field is required. (Es necesario llenar este espacio.)' }\n ],\n isDrag: true,\n isEditable: false\n },\n {\n group: 'scholarDetails',\n type: 'subSection',\n name: 'scholar_customField',\n title: 'Custom Child Field',\n elmType: 'single',\n label: 'Custom Child Field',\n isOpen: false,\n data: [\n {\n group: 'customFieldDetails',\n type: 'singleChoice',\n name: 'singleChoice',\n title: 'Type Your Question',\n dropIndex: 0,\n elmType: 'custom',\n label: 'Type Your Question',\n leftSideTitle: 'Single Choice',\n options: {\n inline: false,\n defaultValue: '',\n showLabel: false,\n options: [\n {\n value: 'Option 1',\n label: 'Option 1'\n },\n {\n value: 'Option 2',\n label: 'Option 2'\n },\n {\n value: 'Option 3',\n label: 'Option 3'\n }\n ],\n required: false,\n width: '',\n remote: false,\n remoteOptions: [],\n props: {\n value: 'value',\n label: 'label'\n },\n remoteFunc: '',\n disabled: false\n },\n key: key + '_singleChoice',\n model:\n 'singleChoice' + '_' + new Date().getTime() + '_' + Math.ceil(Math.random() * 99999),\n rules: [\n {\n required: true,\n message: 'This field is required. (Es necesario llenar este espacio.)'\n }\n ],\n isDrag: true,\n isEditable: false\n },\n {\n group: 'customFieldDetails',\n type: 'multipleChoice',\n name: 'multipleChoice',\n title: 'Type Your Question',\n dropIndex: 0,\n elmType: 'custom',\n label: 'Type Your Question',\n leftSideTitle: 'Multiple Choice',\n options: {\n inline: false,\n defaultValue: [],\n showLabel: false,\n options: [\n {\n value: 'Option 1'\n },\n {\n value: 'Option 2'\n },\n {\n value: 'Option 3'\n }\n ],\n required: false,\n width: '',\n remote: false,\n remoteOptions: [],\n props: {\n value: 'value',\n label: 'label'\n },\n remoteFunc: '',\n disabled: false\n },\n key: key + '_multipleChoice',\n model:\n 'multipleChoice' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 99999),\n rules: [\n {\n required: true,\n message: 'This field is required. (Es necesario llenar este espacio.)'\n }\n ],\n isDrag: true,\n isEditable: false\n },\n {\n group: 'customFieldDetails',\n type: 'textAreaQuestion',\n name: 'textAreaQuestion',\n title: 'Type Your Question',\n dropIndex: 0,\n elmType: 'custom',\n label: 'Type Your Question',\n leftSideTitle: 'Short Answer',\n options: {\n width: '100%',\n defaultValue: '',\n required: false,\n dataType: 'string',\n pattern: '',\n placeholder: '',\n disabled: false\n },\n key: key + '_textAreaQuestion',\n model:\n 'textAreaQuestion' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 99999),\n rules: [\n {\n required: true,\n message: 'This field is required. (Es necesario llenar este espacio.)'\n }\n ],\n isDrag: true,\n isEditable: false\n },\n {\n group: 'customFieldDetails',\n type: 'textAreaLongQuestion',\n name: 'textAreaLongQuestion',\n title: 'Type your question',\n dropIndex: 0,\n elmType: 'custom',\n label: 'Type your question',\n leftSideTitle: 'Long Answer',\n options: {\n width: '100%',\n defaultValue: '',\n required: false,\n dataType: 'string',\n pattern: '',\n placeholder: 'Type placeholder copy',\n disabled: false\n },\n key: key + '_textAreaLongQuestion',\n model:\n 'textAreaLongQuestion' +\n '_' +\n new Date().getTime() +\n '_' +\n Math.ceil(Math.random() * 99999),\n rules: [\n {\n required: true,\n message: 'This field is required. (Es necesario llenar este espacio.)'\n }\n ],\n isDrag: true,\n isEditable: false\n },\n {\n group: 'customFieldDetails',\n type: 'dropdown',\n name: 'dropdown',\n title: 'Type your question here',\n dropIndex: 0,\n elmType: 'custom',\n label: 'Type your question here',\n leftSideTitle: 'Dropdown',\n options: {\n inline: false,\n defaultValue: 'Select',\n showLabel: false,\n options: [\n {\n value: 'Option 1'\n },\n {\n value: 'Option 2'\n },\n {\n value: 'Option 3'\n }\n ],\n required: false,\n width: '',\n remote: false,\n remoteOptions: [],\n props: {\n value: 'value',\n label: 'label'\n },\n remoteFunc: '',\n disabled: false\n },\n key: key + '_dropdown',\n model: 'dropdown' + '_' + new Date().getTime() + '_' + Math.ceil(Math.random() * 99999),\n rules: [\n {\n required: true,\n message: 'This field is required. (Es necesario llenar este espacio.)'\n }\n ],\n isDrag: true,\n isEditable: false,\n dropdownStatus: false\n }\n ]\n }\n ]\n }\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{directives:[{name:\"click-outside\",rawName:\"v-click-outside\",value:(\n function () {\n _vm.updateErrorCount(_vm.nextPreviousButtonCalled)\n }\n ),expression:\"\\n () => {\\n updateErrorCount(nextPreviousButtonCalled)\\n }\\n \"}],staticClass:\"fm-style widget-form-container preview-container\"},[_c('confirmation-popup'),(_vm.formData.config.formName != '' || _vm.formData.config.intro != '')?_c('div',{directives:[{name:\"click-outside\",rawName:\"v-click-outside\",value:(\n function () {\n _vm.updateErrorCount(_vm.nextPreviousButtonCalled)\n }\n ),expression:\"\\n () => {\\n updateErrorCount(nextPreviousButtonCalled)\\n }\\n \"}],staticClass:\"intro\"},[_c('p',{staticClass:\"form-name\"},[_vm._v(_vm._s(_vm.formData.config.formName))]),_c('p',{staticClass:\"introduction\"},[_vm._v(_vm._s(_vm.formData.config.intro))]),_c('hr'),(_vm.isBannerShow && _vm.noOfErrors.length)?_c('div',{staticClass:\"master-error\"},[_c('div',{staticClass:\"red-banner-message\"},[_c('img',{attrs:{\"src\":require(\"../../../../../../assets/images/scholars/add-new-scholars/alert-circle.svg\"),\"alt\":\"\"}}),_c('span',{staticClass:\"red-banner-text\"},[_vm._v(\" \"+_vm._s(_vm.getScreenText('ERROR_BANNER_MESSAGE'))+\" \")])]),_c('div',{staticClass:\"pagination\"},[_c('em',{staticClass:\"arrow arrow-left\",attrs:{\"bx-attr\":\"unresolved-button-pre\"}},[_c('img',{class:[_vm.disablePrevButton == true ? 'disable-arrow' : 'working-arrow'],attrs:{\"src\":require(\"../../../../../../assets/images/scholars/add-new-scholars/arrowLeft.svg\"),\"alt\":\"left arrow\"},on:{\"click\":_vm.preLabel}})]),_c('span',{staticClass:\"error-count\"},[_vm._v(_vm._s(_vm.positionofError)+\"/\"+_vm._s(_vm.noOfErrors.length))]),_c('em',{staticClass:\"arrow arrow-right\",attrs:{\"bx-attr\":\"unresolved-button-next\"}},[_c('img',{class:[_vm.disableNextButton == true ? 'disable-arrow' : 'working-arrow'],attrs:{\"src\":require(\"../../../../../../assets/images/scholars/add-new-scholars/arrowRight.svg\"),\"alt\":\"right arrow\"},on:{\"click\":_vm.nextLabel}})])])]):_vm._e(),(_vm.is400BannerShow)?_c('div',{staticClass:\"master-error\"},[_c('div',{staticClass:\"red-banner-message\"},[_c('img',{attrs:{\"src\":require(\"../../../../../../assets/images/scholars/add-new-scholars/alert-circle.svg\"),\"alt\":\"\"}}),_c('span',{staticClass:\"red-banner-text\"},[_vm._v(\" \"+_vm._s(_vm.getScreenText('ERROR_400_BANNER_MESSAGE'))+\" \")])])]):_vm._e(),(!_vm.noOfErrors.length && _vm.isBannerShow && _vm.isRedBannerShown && !_vm.is400BannerShow)?_c('div',{staticClass:\"banner-success\"},[_c('div',{staticClass:\"green-banner-message\"},[_c('img',{attrs:{\"src\":require(\"../../../../../../assets/images/scholars/add-new-scholars/check-circle.svg\"),\"alt\":\"\"}}),_c('span',{staticClass:\"success\"},[_vm._v(\" \"+_vm._s(_vm.getScreenText('SUCESS_BANNER_MESSAGE'))+\" \")])])]):_vm._e()]):_vm._e(),_c('el-form',{directives:[{name:\"click-outside\",rawName:\"v-click-outside\",value:(\n function () {\n _vm.updateErrorCount(_vm.nextPreviousButtonCalled)\n }\n ),expression:\"\\n () => {\\n updateErrorCount(nextPreviousButtonCalled)\\n }\\n \"}],ref:\"generateForm\",attrs:{\"label-suffix\":\":\",\"size\":_vm.formData.config.size,\"model\":_vm.currentRoute != 'Preview' ? _vm.models : {},\"rules\":!_vm.validationExcludedRoutes.includes(_vm.currentRoute) ? _vm.rules : {},\"label-position\":_vm.formData.config.labelPosition,\"label-width\":_vm.formData.config.labelWidth + 'px'}},[_vm._l((_vm.formData.list),function(item,index){return [(item.elmType == 'emergencyGrid')?[_c('div',{key:index + '-section-grid',staticClass:\"section-grid emergency-adress\",class:[\n (item.name === 'scholaraddressField' || _vm.guardianFields.includes(item.name)) &&\n (_vm.hideAgeBool === true || _vm.hideAgeBool === undefined || _vm.hideAgeBool === false)\n ? 'address'\n : '',\n item.type === 'phoneNumberType' ? 'phone-number' : '',\n _vm.hideAgeBool === undefined &&\n item.name === 'scholarbirthdateField' &&\n item.name != 'scholaraddressField' &&\n !_vm.guardianFields.includes(item.name)\n ? ''\n : ''\n ]},[_c('h4',{key:item.key + 'lable' + index},[_vm._v(\" \"+_vm._s(item.label)),(item.required || item.options.required)?_c('span',{staticClass:\"asterisk\"},[_vm._v(\"*\")]):_vm._e()]),_c('el-row',{key:item.key,attrs:{\"type\":\"flex\",\"gutter\":item.options.gutter ? item.options.gutter : 0,\"justify\":item.options.justify,\"align\":item.options.align}},_vm._l((item.columns),function(col,colIndex){return _c('el-col',{key:colIndex,attrs:{\"span\":col.span}},[_vm._l((col.list),function(citem,i){return [(citem.elmType === 'grid' && !citem.options.isHide)?_c('div',{key:citem.key + index + 'grid',staticClass:\"inner-address-container\",class:citem.columns[1].list[0].title == 'Type' && 'phone-type-number'},[_c('h4',{key:citem.key + 'lable' + i},[_vm._v(\" \"+_vm._s(citem.label)),(citem.required || citem.options.required)?_c('span',{staticClass:\"asterisk\"},[_vm._v(\"*\")]):_vm._e()]),_c('el-row',{staticClass:\"999\",attrs:{\"type\":\"flex\",\"gutter\":item.options.gutter ? item.options.gutter : 0,\"justify\":item.options.justify,\"align\":item.options.align}},_vm._l((citem.columns),function(clm,ind){return _c('el-col',{key:colIndex + i + ind,attrs:{\"span\":clm.span ? clm.span : 0}},[_vm._l((clm.list),function(clmRow){return [_c('genetate-form-item',{key:clmRow.key,attrs:{\"isSubmitted\":_vm.isSubmitted,\"models\":_vm.models,\"rules\":_vm.rules,\"widget\":clmRow,\"field\":clmRow,\"index\":index},on:{\"updateErrorCount\":function($event){return _vm.updateErrorCount(false)},\"handleDplicateRecords\":_vm.handleDplicateRecords,\"autosaveSubmission\":_vm.autosavePartTwo,\"update:models\":function($event){_vm.models=$event},\"input-change\":_vm.onInputChange}})]})],2)}),1)],1):(!citem.options.isHide)?_c('div',{key:citem.key + index + 'single'},[(citem.type === 'sectionHeader')?_c('p',{key:citem.key + 'model' + index},[_vm._v(\" \"+_vm._s(citem.options.defaultValue)+\" \")]):(citem.type === 'dividerLine')?_c('div',{key:item.key + item.type + index,staticClass:\"divider-seprator\",style:({\n 'border-top': (\"1px solid \" + (_vm.APP_CONST.STYLE.COLOR.NEUTRAL_600)),\n margin: '20px 0 30px 0'\n })}):_c('div',[_c('h4',{key:citem.key + 'lable' + i},[_vm._v(\" \"+_vm._s(citem.label)),(citem.required || citem.options.required)?_c('span',{staticClass:\"asterisk\"},[_vm._v(\"*\")]):_vm._e()]),_c('genetate-form-item',{key:citem.key,attrs:{\"isSubmitted\":_vm.isSubmitted,\"models\":_vm.models,\"rules\":_vm.rules,\"widget\":citem,\"field\":citem,\"index\":index},on:{\"updateErrorCount\":function($event){return _vm.updateErrorCount(false)},\"handleDplicateRecords\":_vm.handleDplicateRecords,\"autosaveSubmission\":_vm.autosavePartTwo,\"update:models\":function($event){_vm.models=$event},\"input-change\":_vm.onInputChange}})],1)]):_vm._e()]})],2)}),1)],1)]:(item.elmType == 'grid' || item.elmType === 'addressGrid')?[(item.type === 'consentInfo')?_c('div',{key:index + '-consent-info',staticClass:\"section-grid consent\"},[_c('el-row',{key:item.key,attrs:{\"type\":\"flex\",\"gutter\":item.options.gutter ? item.options.gutter : 0,\"justify\":item.options.justify,\"align\":item.options.align}},_vm._l((item.columns),function(col,colIndex){return _c('el-col',{key:colIndex,attrs:{\"span\":col.span}},[_vm._l((col.list),function(citem,i){return [(citem.elmType === 'grid')?_c('div',{key:citem.key + index + 'grid',staticClass:\"inner-address-container\"},[_c('el-row',{staticClass:\"999\",attrs:{\"type\":\"flex\",\"gutter\":item.options.gutter ? item.options.gutter : 0,\"justify\":item.options.justify,\"align\":item.options.align}},_vm._l((citem.columns),function(clm,ind){return _c('el-col',{key:colIndex + i + ind,attrs:{\"span\":clm.span ? clm.span : 0}},[_vm._l((clm.list),function(clmRow,innerIndex){return [_c('div',{key:innerIndex + 'consent-agreement',staticClass:\"consent-agreement\"},[_c('el-checkbox-group',{class:clmRow.type == 'consentcheckbox' ? 'consentcheckbox' : '',style:({ width: clmRow.options.width }),attrs:{\"disabled\":clmRow.options.disabled},on:{\"change\":function($event){return _vm.checkSingleCheckbox({ item: item, index: index, colIndex: colIndex, i: i, ind: ind, innerIndex: innerIndex })}},model:{value:(clmRow.options.defaultValue),callback:function ($$v) {_vm.$set(clmRow.options, \"defaultValue\", $$v)},expression:\"clmRow.options.defaultValue\"}},_vm._l((clmRow.options.options),function(item,optionIndex){return _c('li',{key:optionIndex + innerIndex},[_c('el-checkbox',{attrs:{\"label\":item.value}},[_c('span',{staticClass:\"item-value\"},[_vm._v(_vm._s(item.value))])])],1)}),0)],1),_c('div',{key:clmRow.key,staticStyle:{\"{visibility\":\"hidden\"}},[_c('genetate-form-item',{key:clmRow.key,attrs:{\"isSubmitted\":_vm.isSubmitted,\"models\":_vm.models,\"rules\":[\n {\n required: col.list[0].required,\n message:\n 'This field is required. (Es necesario llenar este espacio.)'\n }\n ],\"widget\":Object.assign({}, clmRow, {options: col.list[0].options}),\"field\":clmRow,\"index\":innerIndex},on:{\"updateErrorCount\":function($event){return _vm.updateErrorCount(false)},\"handleDplicateRecords\":_vm.handleDplicateRecords,\"autosaveSubmission\":_vm.autosavePartTwo,\"update:models\":function($event){_vm.models=$event},\"input-change\":_vm.onInputChange}})],1),_c('el-row',{key:((clmRow.key) + \"+row\")},[_c('el-col',[(\n col.list[0].required &&\n _vm.getConsentAgreement &&\n _vm.getConsentAgreement[clmRow.key].required &&\n !_vm.getConsentAgreement[clmRow.key].value &&\n ind === 0\n )?_c('div',{staticClass:\"el-form-item__error\",attrs:{\"id\":\"dropdown-error\"}},[_vm._v(\" This field is required. (Es necesario llenar este espacio.) \")]):_vm._e()])],1)]})],2)}),1)],1):_c('div',{key:i + 'consent-detail',staticClass:\"conset-detail-section\"},[_c('p',[_vm._v(_vm._s(citem.options.defaultValue))])])]})],2)}),1)],1):_c('div',{key:index + '-section-grid',staticClass:\"section-grid\",class:[\n item.name === 'scholarbirthdateField' &&\n item.name != 'scholaraddressField' &&\n !_vm.guardianFields.includes(item.name)\n ? 'birth-date'\n : '',\n item.name === 'scholaraddressField' || _vm.guardianFields.includes(item.name)\n ? 'address'\n : '',\n item.type === 'phoneNumberType' ? 'phone-number' : '',\n item.name === 'scholarbirthdateField' &&\n item.name != 'scholaraddressField' &&\n !_vm.guardianFields.includes(item.name)\n ? ''\n : ''\n ]},[_c('h4',{key:item.key + 'lable' + index},[_vm._v(\" \"+_vm._s(item.label)),(item.required || item.options.required)?_c('span',{staticClass:\"asterisk\"},[_vm._v(\"*\")]):_vm._e()]),_c('el-row',{key:item.key,attrs:{\"type\":\"flex\",\"gutter\":item.options.gutter ? item.options.gutter : 0,\"justify\":item.options.justify,\"align\":item.options.align}},_vm._l((item.columns),function(col,colIndex){return _c('el-col',{key:colIndex,attrs:{\"span\":col.span}},[_vm._l((col.list),function(citem,i){return [(citem.elmType === 'grid')?_c('div',{key:citem.key + index + 'grid',staticClass:\"inner-address-container\"},[_c('el-row',{staticClass:\"999\",attrs:{\"type\":\"flex\",\"gutter\":item.options.gutter ? item.options.gutter : 0,\"justify\":item.options.justify,\"align\":item.options.align}},_vm._l((citem.columns),function(clm,ind){return _c('el-col',{key:colIndex + i + ind,attrs:{\"span\":clm.span ? clm.span : 0}},[_vm._l((clm.list),function(clmRow){return [_c('genetate-form-item',{key:clmRow.key,attrs:{\"isSubmitted\":_vm.isSubmitted,\"models\":_vm.models,\"rules\":_vm.rules,\"widget\":clmRow,\"field\":item,\"index\":index},on:{\"updateErrorCount\":function($event){return _vm.updateErrorCount(false)},\"handleDplicateRecords\":_vm.handleDplicateRecords,\"autosaveSubmission\":_vm.autosavePartTwo,\"update:models\":function($event){_vm.models=$event},\"input-change\":_vm.onInputChange}})]})],2)}),1)],1):_c('div',{key:citem.key + index + 'single'},[(!citem.options.isHide)?_c('div',[(citem.name === 'scholar_age')?_c('h4',{key:citem.key + 'scholar_age' + index},[_vm._v(\" \"+_vm._s(citem.label)+\" \")]):_vm._e(),_c('genetate-form-item',{key:citem.key,attrs:{\"isSubmitted\":_vm.isSubmitted,\"models\":_vm.models,\"rules\":_vm.rules,\"widget\":citem,\"field\":citem,\"index\":index},on:{\"updateErrorCount\":function($event){return _vm.updateErrorCount(false)},\"handleDplicateRecords\":_vm.handleDplicateRecords,\"autosaveSubmission\":_vm.autosavePartTwo,\"update:models\":function($event){_vm.models=$event},\"input-change\":_vm.onInputChange}})],1):_vm._e()])]})],2)}),1)],1)]:(item.type === 'dividerLine')?[_c('div',{key:item.key + item.type + index,staticClass:\"divider-seprator divider-line\"})]:(item.elmType === 'custom')?[_c('div',{key:index + '-custom-section-custom',class:item.name === 'dropdown' ||\n item.type === 'textAreaLongQuestion' ||\n item.type === 'textAreaQuestion' ||\n item.type === 'multipleChoice' ||\n item.type === 'singleChoice'\n ? 'section-custom'\n : 'section-grid'},[(item.type !== 'sectionHeader')?_c('label',{key:item.key + 'lable' + index},[_vm._v(_vm._s(item.label.trim())),(item.required || item.options.required)?_c('span',{staticClass:\"asterisk\"},[_vm._v(\"*\")]):_vm._e()]):_vm._e(),(item.type !== 'sectionHeader')?_c('genetate-form-item',{key:item.key,attrs:{\"isSubmitted\":_vm.isSubmitted,\"models\":_vm.models,\"rules\":_vm.rules,\"widget\":item,\"field\":item,\"index\":index},on:{\"updateErrorCount\":function($event){return _vm.updateErrorCount(false)},\"handleDplicateRecords\":_vm.handleDplicateRecords,\"autosaveSubmission\":_vm.autosavePartTwo,\"update:models\":function($event){_vm.models=$event},\"input-change\":_vm.onInputChange}}):_vm._e()],1)]:[_c('div',{key:index + '-custom-sectionHeader-custom',class:['section-header', item.type !== 'sectionHeader' ? 'section-normal' : '']},[(item.type === 'sectionHeader')?_c('label',{key:item.key + 'lable' + index,staticClass:\"edit-label\"},[_vm._v(_vm._s(item.label))]):_vm._e(),(item.type === 'sectionHeader')?_c('p',{key:item.key + 'model' + index},[_vm._v(\" \"+_vm._s(item.options.defaultValue)+\" \")]):_vm._e(),(item.type !== 'sectionHeader')?_c('div',{staticClass:\"normal\"},[(item.type !== 'sectionHeader')?_c('label',{key:item.key + 'lable' + index,staticClass:\"normal-label\"},[_vm._v(_vm._s(item.label)),(item.required || item.options.required)?_c('span',{staticClass:\"asterisk\"},[_vm._v(\"*\")]):_vm._e()]):_vm._e(),(item.type !== 'sectionHeader')?_c('genetate-form-item',{key:item.key,attrs:{\"formIndex\":_vm.formIndex,\"isSubmitted\":_vm.isSubmitted,\"models\":_vm.models,\"rules\":_vm.rules,\"widget\":item,\"field\":item,\"index\":index},on:{\"updateErrorCount\":function($event){return _vm.updateErrorCount(false)},\"handleDplicateRecords\":_vm.handleDplicateRecords,\"autosaveSubmission\":_vm.autosavePartTwo,\"update:models\":function($event){_vm.models=$event},\"input-change\":_vm.onInputChange}}):_vm._e()],1):_vm._e()])]]})],2)],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { CartApplication, CartItemEnrollmentDetails } from '@/Model/checkout/cart/types'\nimport { guardianResponseModel } from '@/Model/model'\nimport ApplicationConfirmation from '@/components/familyPortal/popupComponents/applicationConfirmation/ApplicationConfirmation.vue'\nimport APP_CONST from '@/constants/AppConst'\nimport { ScreenText } from '@/lang/ScreenText'\nimport applicationStore from '@/store/modules/applications/applicationStore'\nimport CartStoreModule from '@/store/modules/checkout/cart/module'\nimport commonEntry from '@/store/modules/commonEntry'\nimport formsStore from '@/store/modules/forms/formsStore'\nimport APP_UTILITIES from '@/utilities/commonFunctions'\nimport { ElForm } from 'element-ui/types/form'\nimport UIkit from 'uikit'\nimport { Component, Prop, Ref, Vue, Watch } from 'vue-property-decorator'\nimport GenetateFormItem from '../GenerateFormItem/GenerateFormItem.vue'\nimport { getDecodedToken } from '@/services/common/httpClient'\nimport ToastType from '@/Model/toastTypes'\n\n@Component({\n name: 'generate-form',\n components: {\n GenetateFormItem,\n 'confirmation-popup': ApplicationConfirmation\n }\n})\nexport default class GenerateForm extends Vue {\n APP_CONST = APP_CONST\n private objScreenText: ScreenText = new ScreenText()\n public models: any = {}\n public rules: any = {}\n public currentRoute: any = ''\n public validationExcludedRoutes: string[] = ['Preview', 'Design']\n private autoSaveTimer: any = 0\n private initialFormData: any = {}\n public isPartTwoAutoSaved: boolean = false\n public userSubmitted: boolean = true\n public guardianFields: string[] = [\n 'guardianaddressField',\n 'guardianaddressField_1',\n 'guardianaddressField_2'\n ]\n public isSubmitted: boolean = false\n public isBannerShow: boolean = false\n public is400BannerShow: boolean = false\n public noOfErrors: any = []\n public positionofError: number = 0\n public disablePrevButton: boolean = false\n public disableNextButton: boolean = false\n public nextPreviousButtonCalled: boolean = false\n public dropdownTypes: string[] = ['select', 'dropdown']\n public outsideClick: boolean = false\n public guardianFieldRules: any = APP_CONST.FORM_BUILDER_FIELD_RULES\n public isRedBannerShown: boolean = false\n public guardianErrorMessage: any = ''\n public emergencyErrorMessage: any = ''\n public authoriseErrorMessage: any = ''\n public static readonly INPUT_SELECTOR = '.el-form-item__error:not([style*=\"display: none\"])'\n\n duplicateFieldsData: any = {\n guardians: {\n firstName: {},\n lastName: {}\n },\n emergency: {\n firstName: {},\n lastName: {}\n },\n authorized: {\n firstName: {},\n lastName: {}\n }\n }\n\n private validationTriggerCallbackFn = () => {\n this.validateCartApplicationForm()\n }\n\n private saveApplicationFormsCallbackFn = async () => {\n await this.saveApplicationForms(true)\n }\n\n @Prop()\n value!: any\n\n @Prop()\n insite!: any\n\n @Prop()\n formIndex!: number\n\n /* istanbul ignore next */\n get sitesList() {\n return applicationStore.sitesList\n }\n\n get applicationParts() {\n return formsStore.applicationsPartsData.forms\n }\n\n get applicationsList() {\n return formsStore.applicationsData\n }\n\n get formData() {\n const formObject = this.applicationParts[this.formIndex]\n ? this.applicationParts[this.formIndex].source\n : { list: [], config: {} }\n return formObject\n }\n\n get elasticEnrollmentId() {\n return formsStore.getElasticEnrollmentId\n }\n\n get getConsentAgreement() {\n return formsStore.getConsentAgreementMap\n }\n\n get formsList() {\n return formsStore.formsList\n }\n\n /* istanbul ignore next */\n get userDetail(): any {\n return commonEntry.userDetail\n }\n\n get siteIds() {\n const siteIds: number[] = []\n if (this.sitesList.length) {\n this.sitesList.forEach((session) => {\n if (session.selected) {\n siteIds.push(session.sessionId)\n }\n })\n }\n return siteIds\n }\n\n get isDirty() {\n return JSON.stringify(this.formsList) != JSON.stringify(this.initialFormData)\n }\n\n get formWidgetList() {\n return formsStore.formWidgetList\n }\n\n get formTwoFetchFlag() {\n return formsStore.partTwoFormsFetchFlag\n }\n\n get firstGuardianDetails() {\n return formsStore.firstGuardianModelsList\n }\n\n get guardianFirstEmailModel() {\n return this.firstGuardianDetails.email\n }\n\n get guardianFirstNameModel() {\n return this.firstGuardianDetails.firstName\n }\n\n get guardianLastNameModel() {\n return this.firstGuardianDetails.lastName\n }\n\n get hideAgeBool() {\n return formsStore.hideAgeProp\n }\n\n get selectedChildId() {\n return applicationStore.selectedChild.id\n }\n\n public getScreenText(key: string): string {\n return this.objScreenText.getScreenText(key)\n }\n\n mounted() {\n this.onMounted()\n }\n\n onMounted() {\n /* check for restricting multiple elastic calls for multiple forms */\n if (\n this.applicationParts &&\n this.formIndex >= 0 &&\n this.applicationParts[this.applicationParts.length - 1].formSequence == this.formIndex &&\n this.selectedChildId != '-1'\n ) {\n this.autoSave()\n }\n this.autoValidate()\n formsStore.getUserDetails().then((res: any) => {\n const guardianrecord: guardianResponseModel = res.data\n this.addGuardianDatainModel(guardianrecord)\n })\n }\n\n addGuardianDatainModel(guardianResponse: guardianResponseModel) {\n if (guardianResponse) {\n if (\n this.firstGuardianDetails.firstName &&\n !this.models[this.firstGuardianDetails.firstName]\n ) {\n this.models[this.firstGuardianDetails.firstName] = guardianResponse.firstName\n formsStore.mutateFirstGuardianData({\n model: this.firstGuardianDetails.firstName,\n value: guardianResponse.firstName\n })\n }\n if (this.firstGuardianDetails.lastName && !this.models[this.firstGuardianDetails.lastName]) {\n this.models[this.firstGuardianDetails.lastName] = guardianResponse.lastName\n formsStore.mutateFirstGuardianData({\n model: this.firstGuardianDetails.lastName,\n value: guardianResponse.lastName\n })\n }\n if (this.firstGuardianDetails.email && !this.models[this.firstGuardianDetails.email]) {\n this.models[this.firstGuardianDetails.email] = guardianResponse.email\n formsStore.mutateFirstGuardianData({\n model: this.firstGuardianDetails.email,\n value: guardianResponse.email\n })\n }\n if (\n this.firstGuardianDetails.primaryGaurdian &&\n !this.models[this.firstGuardianDetails.primaryGaurdian]\n ) {\n this.models[this.firstGuardianDetails.primaryGaurdian] = guardianResponse.primaryGuardian\n formsStore.mutateFirstGuardianData({\n model: this.firstGuardianDetails.primaryGaurdian,\n value: guardianResponse.primaryGuardian\n })\n }\n if (\n this.firstGuardianDetails.birthdate &&\n !this.models[this.firstGuardianDetails.birthdate] &&\n guardianResponse.birthDate\n ) {\n const birthDate: any = guardianResponse.birthDate\n this.models[this.firstGuardianDetails.birthdate] = birthDate\n .replace(/\\//gi, ' - ')\n .slice(0, 14)\n formsStore.mutateFirstGuardianData({\n model: this.firstGuardianDetails.birthdate,\n value: birthDate.replace(/\\//gi, ' - ').slice(0, 14)\n })\n }\n if (this.firstGuardianDetails.relation && guardianResponse.relation) {\n this.models[this.firstGuardianDetails.relation] = guardianResponse.relation\n formsStore.mutateFirstGuardianData({\n model: this.firstGuardianDetails.relation,\n value: guardianResponse.relation\n })\n }\n if (this.firstGuardianDetails.phone && !this.models[this.firstGuardianDetails.phone]) {\n this.models[this.firstGuardianDetails.phone] = guardianResponse.phone\n ? this.getFormattedPhone(guardianResponse.phone)\n : ''\n formsStore.mutateFirstGuardianData({\n model: this.firstGuardianDetails.phone,\n value: guardianResponse.phone ? this.getFormattedPhone(guardianResponse.phone) : ''\n })\n }\n if (this.firstGuardianDetails.phonetype) {\n this.models[this.firstGuardianDetails.phonetype] = guardianResponse.phoneType\n formsStore.mutateFirstGuardianData({\n model: this.firstGuardianDetails.phonetype,\n value: guardianResponse.phoneType\n })\n }\n if (\n this.firstGuardianDetails.secondaryPhone &&\n !this.models[this.firstGuardianDetails.secondaryPhone]\n ) {\n this.models[this.firstGuardianDetails.secondaryPhone] = guardianResponse.secondaryPhone\n ? this.getFormattedPhone(guardianResponse.secondaryPhone)\n : ''\n formsStore.mutateFirstGuardianData({\n model: this.firstGuardianDetails.secondaryPhone,\n value: guardianResponse.secondaryPhone\n ? this.getFormattedPhone(guardianResponse.secondaryPhone)\n : ''\n })\n }\n if (this.firstGuardianDetails.secondaryPhoneType) {\n this.models[this.firstGuardianDetails.secondaryPhoneType] =\n guardianResponse.secondaryPhoneType\n formsStore.mutateFirstGuardianData({\n model: this.firstGuardianDetails.secondaryPhoneType,\n value: guardianResponse.secondaryPhoneType\n })\n }\n if (\n this.firstGuardianDetails.addressLine1 &&\n guardianResponse.address &&\n !this.models[this.firstGuardianDetails.addressLine1]\n ) {\n this.models[this.firstGuardianDetails.addressLine1] = guardianResponse.address.address1\n formsStore.mutateFirstGuardianData({\n model: this.firstGuardianDetails.addressLine1,\n value: guardianResponse.address.address1\n })\n }\n if (\n this.firstGuardianDetails.addressLine2 &&\n guardianResponse.address &&\n !this.models[this.firstGuardianDetails.addressLine2]\n ) {\n this.models[this.firstGuardianDetails.addressLine2] = guardianResponse.address.address2\n formsStore.mutateFirstGuardianData({\n model: this.firstGuardianDetails.addressLine2,\n value: guardianResponse.address.address2\n })\n }\n if (\n this.firstGuardianDetails.city &&\n guardianResponse.address &&\n !this.models[this.firstGuardianDetails.city]\n ) {\n this.models[this.firstGuardianDetails.city] = guardianResponse.address.city\n formsStore.mutateFirstGuardianData({\n model: this.firstGuardianDetails.city,\n value: guardianResponse.address.city\n })\n }\n if (this.firstGuardianDetails.state && guardianResponse.address) {\n this.models[this.firstGuardianDetails.state] = guardianResponse.address.state\n formsStore.mutateFirstGuardianData({\n model: this.firstGuardianDetails.state,\n value: guardianResponse.address.state\n })\n }\n if (\n this.firstGuardianDetails.zipCode &&\n guardianResponse.address &&\n !this.models[this.firstGuardianDetails.zipCode]\n ) {\n this.models[this.firstGuardianDetails.zipCode] = guardianResponse.address.zip\n formsStore.mutateFirstGuardianData({\n model: this.firstGuardianDetails.zipCode,\n value: guardianResponse.address.zip\n })\n }\n if (this.firstGuardianDetails.homeLanguage) {\n this.models[this.firstGuardianDetails.homeLanguage] = guardianResponse.homeLanguage\n formsStore.mutateFirstGuardianData({\n model: this.firstGuardianDetails.homeLanguage,\n value: guardianResponse.homeLanguage\n })\n }\n }\n }\n\n getFormattedPhone(phone: string) {\n let val = phone\n val = val.replace(/\\D/g, '').substring(0, 10)\n const zip = val && val.substring(0, 3)\n const middle = val && val.substring(3, 6)\n const last = val && val.substring(6, 10)\n if (val.length == 0) {\n val = ''\n } else if (val.length < 4) {\n val = `(${zip}`\n } else if (val.length < 7) {\n val = `(${zip}) ${middle}`\n } else {\n val = `(${zip}) ${middle}-${last}`\n }\n return val\n }\n\n autosavePartTwo() {\n if (this.formTwoFetchFlag) {\n const formsList: any = {\n enrollments: JSON.stringify({\n formsList: this.applicationsList,\n isFinalSubmit: false,\n isPartOneFetched: true,\n siteIds: JSON.parse(localStorage.all_selected_sites),\n guardianId: this.userDetail.id,\n scholar: this.formsList.scholar.scholarName\n }),\n elasticEnrollmentId: this.elasticEnrollmentId\n }\n if (JSON.parse(localStorage.scholar_selected) == true) {\n formsList.elasticEnrollmentId = ''\n }\n formsStore.saveApplicationForms(formsList)\n formsStore.updatePartTwoFetchFlag(false)\n }\n }\n\n requiredConsentVerification(): void {\n const originalConsentReferences = this.formData.list\n .filter((element: any) => element.type.includes('consentInfo'))\n .map((element: any) => [\n element.columns[0].list[0].required,\n element.columns[0].list[0].required\n ])\n .flat()\n\n for (let i = 0, matchCounter = 0; i < this.formWidgetList.length; i++) {\n if (this.formWidgetList[i].type === 'consentcheckbox') {\n this.formWidgetList[i].options.required = originalConsentReferences[matchCounter]\n matchCounter++\n }\n }\n }\n\n autoValidate() {\n if (this.formWidgetList) {\n this.formData && this.requiredConsentVerification()\n\n for (let i = 0; i < this.formWidgetList.length; i++) {\n const formValidatedState =\n this.formWidgetList[i].options.required &&\n (!this.formWidgetList[i].options.defaultValue ||\n this.formWidgetList[i].options.defaultValue == 'Select')\n formsStore.mutateFormValidate(formValidatedState)\n if (formValidatedState) {\n break\n }\n }\n }\n }\n\n created() {\n this.attachExternalListeners()\n\n this.currentRoute = this.$route ? this.$route.name : ''\n\n this.generateModle(this.formData.list)\n\n this.initialFormData = this.formsList\n\n document.addEventListener(\n 'click',\n ($event: any) => {\n if ($event.target.id == APP_CONST.SUBMIT_FORM_TEXT && this.userSubmitted) {\n this.submitForm()\n }\n },\n false\n )\n }\n\n resetScholarBirthdate() {\n const childBirthdateWidgetIndex = formsStore.widgetList.findIndex(\n (x: any) => x.name === APP_CONST.FORM_INPUT_CHILD_BIRTHDATE\n )\n const childBirthdateWidget = formsStore.widgetList[childBirthdateWidgetIndex]\n childBirthdateWidget.options.defaultValue = ''\n formsStore.mutateSelectedWidgetItem(childBirthdateWidget, childBirthdateWidgetIndex)\n\n const generateFormRef = this.$refs.generateForm as any\n const scholarBirthdateFormItem = generateFormRef.fields.find((x: any) =>\n x.prop.startsWith(APP_CONST.FORM_INPUT_CHILD_BIRTHDATE)\n )\n const scholarBirthdateFormInput = scholarBirthdateFormItem.$children.find(\n (x: any) => x.$attrs.name === APP_CONST.FORM_INPUT_CHILD_BIRTHDATE\n )\n\n formsStore.saveCurrentBirthDate('')\n scholarBirthdateFormItem.resetField()\n scholarBirthdateFormInput.clear()\n }\n\n resetScholar() {\n const inputKeys = [\n APP_CONST.FORM_INPUT_CHILD_BIRTHDATE,\n APP_CONST.FORM_INPUT_CHILD_FIRSTNAME,\n APP_CONST.FORM_INPUT_CHILD_LASTNAME\n ]\n\n for (const inputKey of inputKeys) {\n const widgetIndex = formsStore.widgetList.findIndex((x: any) => x.name === inputKey)\n const widget = formsStore.widgetList[widgetIndex]\n widget.options.defaultValue = ''\n formsStore.mutateSelectedWidgetItem(widget, widgetIndex)\n\n const generateFormRef = this.$refs.generateForm as any\n const formItem = generateFormRef.fields.find((x: any) => x.prop.startsWith(inputKey))\n const formInput = formItem.$children.find((x: any) => x.$attrs.name === inputKey)\n\n formItem.resetField()\n formInput.clear()\n }\n\n formsStore.saveCurrentBirthDate('')\n }\n\n compareDates(today: any, birthDate: any) {\n return (\n birthDate &&\n today &&\n today.getDate() == birthDate.getDate() &&\n today.getMonth() == birthDate.getMonth() &&\n today.getFullYear() == birthDate.getFullYear()\n )\n }\n\n triggerApplicationScholarFirstLastDobChangedEvent() {\n Vue.prototype.$eventHub.$emit(\n APP_CONST.CART_APPLICATION_SCHOLAR_FN_LN_DOB_CHANGED_TRIGGER_EVENT\n )\n }\n\n // NOTE: all of these properties are required because this method is\n // bound to a validator, which requires this signature\n // ref: https://element-plus.org/en-US/component/form.html#custom-validation-rules\n validateIfScholarAlreadyApplied(rule: any, value: any, callback: any) {\n this.triggerApplicationScholarFirstLastDobChangedEvent()\n callback()\n }\n\n validateBirthDate(rule: any, birthDate: any, callback: any) {\n if (rule && rule.field && rule.field.startsWith(APP_CONST.FORM_INPUT_CHILD_BIRTHDATE)) {\n Vue.prototype.$eventHub.$emit(\n APP_CONST.CART_APPLICATION_SCHOLAR_BIRTHDATE_CHANGED_TRIGGER_EVENT,\n birthDate\n )\n }\n\n if (birthDate && birthDate.length == 14) {\n birthDate = new Date(birthDate.replace(/\\s/g, '').replace(/-/g, '/'))\n const today = new Date()\n if (birthDate > today || this.compareDates(today, birthDate)) {\n callback(\n new Error('Please enter valid birth date. (Ingrese una fecha de nacimiento válida.)')\n )\n } else {\n callback()\n }\n } else if (birthDate && birthDate.length < 14) {\n callback(\n new Error(\n 'Be sure to enter MM-DD-YYYY. (Asegúrate de escribir la fecha de nacimiento (mes, día, año) MM-DD-AAAA).'\n )\n )\n } else {\n callback()\n }\n }\n\n validateEmail(rule: any, value: string, callback: any) {\n if (value && !value.match(/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/)) {\n callback(new Error('Invalid email'))\n } else {\n callback()\n }\n }\n\n /**\n * Function for validating if a two guardians share the same email\n */\n validateDoubleEmailForGuardian(rule: any, value: string, callback: any) {\n // We filter the form data fields to use only the ones for guardian emails\n const filteredRules = this.formData.list.filter((val: { model: string }) =>\n val.model.includes('guardian_email')\n )\n\n // If more than 1 guardian is present we verify if their emails are equal, if they are we throw an error\n if (filteredRules.length > 1) {\n const guardianEmail1 = filteredRules[0].options.defaultValue\n const guardianEmail2 = filteredRules[1].options.defaultValue\n if (guardianEmail1 === guardianEmail2) {\n callback(new Error(APP_CONST.DUPLICATE_GUARDIAN_EMAIL))\n } else {\n callback()\n }\n } else {\n callback()\n }\n }\n\n filterPhoneNumberRules(genList: any) {\n genList.forEach((element: any) => {\n if (element.type == 'phoneNumberType') {\n element.columns.forEach((col: any) => {\n col.list.forEach((list: any) => {\n if (\n list.name === 'guardian_phone' ||\n list.name === 'guardian_secondary_phone' ||\n list.name === 'scholar_phone' ||\n list.name === 'authorized_phone' ||\n list.name === 'emergency_phone'\n ) {\n list.rules.splice(1, 1)\n }\n })\n })\n }\n })\n }\n\n handleDplicateRecords(handleDplicateRecords?: any) {\n this.checkDuplicateRecord(this.duplicateFieldsData.guardians, 'guardian', handleDplicateRecords)\n this.checkDuplicateRecord(\n this.duplicateFieldsData.emergency,\n 'emergency',\n handleDplicateRecords\n )\n this.checkDuplicateRecord(\n this.duplicateFieldsData.authorized,\n 'authorized',\n handleDplicateRecords\n )\n\n setTimeout(() => {\n const errorElements: any = document.querySelectorAll('.el-form-item__error')\n if (errorElements) {\n errorElements.forEach((element: any, index: number) => {\n element.style.position = 'relative'\n element.style.lineHeight = '1.2'\n })\n }\n }, 100)\n }\n\n generateModle(genList: any) {\n this.filterPhoneNumberRules(genList)\n for (let i = 0; i < genList.length; i++) {\n if (\n genList[i].name &&\n genList[i].name.includes('guardian_email') &&\n genList[i].order &&\n genList[i].order === 'guardian_2'\n ) {\n // Register validators for email and double guardian validation, only applies to the second guardian since the first guardian\n // defaults their email to the one on the account\n genList[i].rules[0] = { validator: this.validateDoubleEmailForGuardian, trigger: 'blur' }\n }\n if (genList[i].name == 'guardian_email') {\n genList[i].rules.push({ validator: this.validateEmail, trigger: 'blur' })\n }\n if (genList[i].name == 'scholar_email') {\n genList[i].rules.push({ validator: this.validateEmail, trigger: 'blur' })\n }\n if (genList[i].name == 'guardian_birthdate') {\n genList[i].rules.push({ validator: this.validateBirthDate, trigger: 'blur' })\n }\n if (genList[i].name == 'scholar_birthdate') {\n genList[i].rules.push({\n validator: (rule: any, birthDate: any, callback: any) => {\n this.triggerApplicationScholarFirstLastDobChangedEvent()\n const firstTimeApplicant = applicationStore.duplicateApplicationErrorType === null\n if (firstTimeApplicant) {\n this.validateBirthDate(rule, birthDate, callback)\n } else {\n callback()\n }\n },\n trigger: 'blur'\n })\n }\n if (['scholar_firstname', 'scholar_lastname'].includes(genList[i].name)) {\n genList[i].rules.push({ validator: this.validateIfScholarAlreadyApplied, trigger: 'blur' })\n }\n if ((genList[i].order && genList[i].order == APP_CONST.GUARDIAN_ONE) || !genList[i].order) {\n if (\n this.userDetail.lastName &&\n genList[i].order &&\n genList[i].order == APP_CONST.GUARDIAN_ONE &&\n genList[i].name == APP_CONST.GUARDIAN_LASTNAME\n ) {\n genList[i].options.defaultValue = this.userDetail.lastName\n }\n this.checkandupdateGurdian(genList[i])\n }\n\n if (genList[i].name == 'guardian_secondarytype') {\n genList[i].options.required = false\n }\n if (\n genList[i].elmType === 'grid' ||\n genList[i].elmType === 'addressGrid' ||\n genList[i].elmType === 'emergencyGrid'\n ) {\n genList[i].columns.forEach((item: any) => {\n this.generateModle(item.list)\n })\n } else {\n if (\n this.guardianFieldRules[genList[i].name] &&\n genList[i].rules &&\n (!genList[i].rules.length ||\n (genList[i].rules.length &&\n !genList[i].rules.includes(this.guardianFieldRules[genList[i].name])))\n ) {\n genList[i].rules.push(this.guardianFieldRules[genList[i].name])\n }\n if (\n this.dropdownTypes.includes(genList[i].type) &&\n genList[i].required == true &&\n genList[i].options.defaultValue == 'Select'\n ) {\n genList[i].options.defaultValue = ''\n genList[i].rules[0] = { ...genList[i].rules[0], trigger: 'change' }\n }\n if (this.value && Object.keys(this.value).indexOf(genList[i].model) >= 0) {\n this.models[genList[i].model] = this.value[genList[i].model]\n } else {\n if (genList[i].type === 'blank') {\n this.$set(\n this.models,\n genList[i].model,\n genList[i].options.defaultType === 'String'\n ? ''\n : genList[i].options.defaultType === 'Object'\n ? {}\n : []\n )\n } else {\n this.models[genList[i].model] = genList[i].options.defaultValue\n }\n }\n\n if (this.rules[genList[i].model]) {\n this.rules[genList[i].model] = [\n ...this.rules[genList[i].model],\n ...genList[i].rules.map((item: any) => {\n if (!genList[i].options.required && item.required) {\n item.required = false\n }\n if (item.pattern) {\n return {\n ...item,\n pattern: APP_UTILITIES.parseStringToRegExp(item.pattern)\n }\n } else {\n return { ...item }\n }\n })\n ]\n } else {\n if (genList[i].rules) {\n this.rules[genList[i].model] = [\n ...genList[i].rules.map((item: any) => {\n if (!genList[i].options.required && item.required) {\n item.required = false\n }\n if (item.pattern) {\n return {\n ...item,\n pattern: APP_UTILITIES.parseStringToRegExp(item.pattern)\n }\n } else {\n return { ...item }\n }\n })\n ]\n }\n }\n }\n }\n }\n\n checkandupdateGurdian(genList: any) {\n if (\n genList.model &&\n genList.model.includes(APP_CONST.GUARDIAN_EMAIL) &&\n !this.firstGuardianDetails.email\n ) {\n formsStore.saveGuardianDetails({ email: genList.model })\n genList.options.disabled = true\n }\n if (\n genList.model &&\n genList.model.includes(APP_CONST.GUARDIAN_FIRSTNAME) &&\n !this.firstGuardianDetails.firstName\n ) {\n formsStore.saveGuardianDetails({ firstName: genList.model })\n }\n if (\n genList.model &&\n genList.model.includes(APP_CONST.GUARDIAN_LASTNAME) &&\n !this.firstGuardianDetails.lastName\n ) {\n formsStore.saveGuardianDetails({ lastName: genList.model })\n }\n if (\n genList.model &&\n genList.model.includes('guardian_birthdate') &&\n !this.firstGuardianDetails.birthdate\n ) {\n formsStore.saveGuardianDetails({ birthdate: genList.model })\n }\n if (\n genList.model &&\n genList.model.includes('guardian_relation') &&\n !this.firstGuardianDetails.relation\n ) {\n formsStore.saveGuardianDetails({ relation: genList.model })\n }\n if (\n genList.model &&\n genList.model.includes('guardian_primary') &&\n !this.firstGuardianDetails.primaryGaurdian\n ) {\n formsStore.saveGuardianDetails({ primaryGaurdian: genList.model })\n }\n if (\n genList.model &&\n genList.model.includes('guardian_phone') &&\n !this.firstGuardianDetails.phone\n ) {\n formsStore.saveGuardianDetails({ phone: genList.model })\n }\n if (\n genList.model &&\n genList.model.includes('guardian_phonetype') &&\n !this.firstGuardianDetails.phonetype\n ) {\n formsStore.saveGuardianDetails({ phonetype: genList.model })\n }\n if (\n genList.model &&\n genList.model.includes('guardian_secondary_phone') &&\n !this.firstGuardianDetails.secondaryPhone\n ) {\n formsStore.saveGuardianDetails({ secondaryPhone: genList.model })\n }\n if (\n genList.model &&\n genList.model.includes('guardian_secondarytype') &&\n !this.firstGuardianDetails.secondaryPhoneType\n ) {\n formsStore.saveGuardianDetails({ secondaryPhoneType: genList.model })\n }\n if (\n genList.model &&\n genList.model.includes('guardian_address1') &&\n !this.firstGuardianDetails.addressLine1\n ) {\n formsStore.saveGuardianDetails({ addressLine1: genList.model })\n }\n if (\n genList.model &&\n genList.model.includes('guardian_address2') &&\n !this.firstGuardianDetails.addressLine2\n ) {\n formsStore.saveGuardianDetails({ addressLine2: genList.model })\n }\n if (\n genList.model &&\n genList.model.includes('guardian_city') &&\n !this.firstGuardianDetails.city\n ) {\n formsStore.saveGuardianDetails({ city: genList.model })\n }\n if (\n genList.model &&\n genList.model.includes('guardian_state') &&\n !this.firstGuardianDetails.state\n ) {\n formsStore.saveGuardianDetails({ state: genList.model })\n }\n if (\n genList.model &&\n genList.model.includes('guardian_zipcode') &&\n !this.firstGuardianDetails.zipCode\n ) {\n formsStore.saveGuardianDetails({ zipCode: genList.model })\n }\n if (\n genList.model &&\n genList.model.includes('guardian_language') &&\n !this.firstGuardianDetails.homeLanguage\n ) {\n formsStore.saveGuardianDetails({ homeLanguage: genList.model })\n }\n }\n\n get currentCartApplication(): CartApplication | null {\n return CartStoreModule.currentlySelectedCartApplication\n }\n\n get canSave(): boolean {\n const isFirstNameValid = !!this.formsList.scholar.scholarName.scholar_firstname\n const isLastNameValid = !!this.formsList.scholar.scholarName.scholar_lastname\n const dobValue = this.formsList.scholar.scholarbirthdateField.scholar_birthdate\n let isDobValid = false\n if (dobValue) {\n // Because the validation function does not return an error if the birth date is falsy\n this.validateBirthDate(null, dobValue, (error?: Error) => {\n if (!error) {\n isDobValid = true\n }\n })\n }\n return isFirstNameValid && isLastNameValid && isDobValid\n }\n\n async saveApplicationForms(forceAutoSave = false) {\n if (\n (this.isDirty || forceAutoSave) &&\n this.applicationsList != undefined &&\n Object.keys(this.applicationsList).length\n ) {\n if (!this.canSave) {\n return\n }\n let formsList: any = {\n enrollments: JSON.stringify({\n formsList: this.applicationsList,\n isFinalSubmit: false,\n siteIds: JSON.parse(\n localStorage.all_selected_sites /*site ids on single application, or total cart session ids*/\n ),\n guardianId: this.userDetail.id,\n scholar: this.formsList.scholar.scholarName,\n scholardob: this.formsList.scholar.scholarbirthdateField.scholar_birthdate\n }),\n elasticEnrollmentId: this.elasticEnrollmentId\n }\n if (JSON.parse(localStorage.scholar_selected) == true) {\n formsList.elasticEnrollmentId = formsStore.scholarElasticEnrollmentId\n ? formsStore.scholarElasticEnrollmentId\n : this.elasticEnrollmentId\n }\n if (this.currentCartApplication) {\n const trimmedDOB = this.formsList.scholar.scholarbirthdateField.scholar_birthdate\n const cartItemEnrollmentDetails: CartItemEnrollmentDetails = {\n cartItemId: this.currentCartApplication.cartItemId,\n guardianUserId: this.userDetail.id,\n scholarFirstName: this.formsList.scholar.scholarName.scholar_firstname,\n scholarLastName: this.formsList.scholar.scholarName.scholar_lastname,\n scholarDateOfBirth: trimmedDOB\n }\n formsList = { ...formsList, cartItemEnrollmentDetails }\n }\n await formsStore.saveApplicationForms(formsList)\n this.initialFormData = this.formsList\n }\n }\n\n private attachExternalListeners() {\n this.$root.$on(\n APP_CONST.CART_APPLICATION_VALIDATION_TRIGGER_EVENT,\n this.validationTriggerCallbackFn\n )\n this.$root.$on(\n APP_CONST.CART_APPLICATION_SAVE_APPLICATION_FORMS_TRIGGER_EVENT,\n this.saveApplicationFormsCallbackFn\n )\n Vue.prototype.$eventHub.$on(\n APP_CONST.CART_APPLICATION_RESET_SCHOLAR_BIRTHDATE_TRIGGER_EVENT,\n this.resetScholarBirthdate\n )\n Vue.prototype.$eventHub.$on(\n APP_CONST.CART_APPLICATION_RESET_SCHOLAR_TRIGGER_EVENT,\n this.resetScholar\n )\n }\n\n private detachExternalListeners() {\n this.$root.$off(\n APP_CONST.CART_APPLICATION_VALIDATION_TRIGGER_EVENT,\n this.validationTriggerCallbackFn\n )\n this.$root.$off(\n APP_CONST.CART_APPLICATION_SAVE_APPLICATION_FORMS_TRIGGER_EVENT,\n this.saveApplicationFormsCallbackFn\n )\n Vue.prototype.$eventHub.$off(\n APP_CONST.CART_APPLICATION_RESET_SCHOLAR_BIRTHDATE_TRIGGER_EVENT,\n this.resetScholarBirthdate\n )\n Vue.prototype.$eventHub.$off(\n APP_CONST.CART_APPLICATION_RESET_SCHOLAR_TRIGGER_EVENT,\n this.resetScholar\n )\n }\n\n autoSave() {\n this.$nextTick(function () {\n this.autoSaveTimer = window.setInterval(() => {\n this.saveApplicationForms()\n }, APP_CONST.APPLICATION_AUTO_SAVE_INTERVAL)\n })\n }\n\n validateDuplicateGuardian(rule: any, value: string, callback: any) {\n if (value && !value.match(/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/)) {\n callback(new Error('Invalid email'))\n } else {\n callback()\n }\n }\n\n validateDuplicateCheck(rule: any, value: string, callback: any) {\n if (rule.field.includes('guardian')) {\n callback(new Error(this.guardianErrorMessage))\n }\n if (rule.field.includes('emergency')) {\n callback(new Error(this.emergencyErrorMessage))\n }\n if (rule.field.includes('authorized')) {\n callback(new Error(this.authoriseErrorMessage))\n }\n }\n\n validateDuplicateUserNameCheck(rule: any, value: string, callback: any) {\n callback(new Error(' '))\n }\n\n getFieldsData(fieldsList: any) {\n const innerObj: any = {}\n const modelsStr: any = []\n const str: any = []\n let innerCount: number = 0\n for (const field in fieldsList) {\n innerCount = 0\n for (const elementData in fieldsList[field]) {\n const elemVal = fieldsList[field][elementData].value\n str[innerCount] = {\n value:\n str[innerCount] && str[innerCount].value ? str[innerCount].value + elemVal : elemVal\n }\n modelsStr[innerCount] = {\n models:\n modelsStr[innerCount] && modelsStr[innerCount].models\n ? `${modelsStr[innerCount].models}-${elementData}`\n : elementData\n }\n innerObj[innerCount] = {\n model: elementData,\n value: str[innerCount].value,\n modelsList: modelsStr[innerCount].models\n }\n innerCount++\n }\n }\n return innerObj\n }\n\n matchDuplicateRecord(userObj: any, previousRecord: any) {\n let currentRecord: any = ''\n let isRecordMatched: boolean = false\n for (const latRecord of Object.values(userObj)) {\n currentRecord = latRecord\n if (\n currentRecord.value &&\n previousRecord.value &&\n currentRecord.value.toLowerCase() == previousRecord.value.toLowerCase() &&\n currentRecord.model != previousRecord.model\n ) {\n isRecordMatched = true\n } else if (\n currentRecord.value &&\n previousRecord.value &&\n currentRecord.value.toLowerCase() != previousRecord.value.toLowerCase() &&\n currentRecord.model != previousRecord.model\n ) {\n // isRecordMatched = false\n }\n }\n return isRecordMatched\n }\n\n checkDuplicateRecord(fieldsList: any, type: string, elementSelected?: any) {\n const innerObj: any = this.getFieldsData(fieldsList)\n let firstMatchStatus: boolean = false\n if (innerObj) {\n let previousRecord: any = ''\n for (const fieldData of Object.values(innerObj)) {\n previousRecord = fieldData\n firstMatchStatus = this.matchDuplicateRecord(innerObj, previousRecord)\n\n switch (type) {\n case 'guardian':\n if (firstMatchStatus) {\n this.guardianErrorMessage = APP_CONST.DUPLICATE_GUARDIAN_RECORD\n }\n break\n case 'emergency':\n if (firstMatchStatus) {\n this.emergencyErrorMessage = APP_CONST.DUPLICATE_EMERGENCY_RECORD\n }\n break\n case 'authorized':\n if (firstMatchStatus) {\n this.authoriseErrorMessage = APP_CONST.DUPLICATE_AUTHORIZED_RECORD\n }\n break\n default:\n break\n }\n if (!firstMatchStatus) {\n const modelsArr: string[] = previousRecord.modelsList.split('-')\n modelsArr.forEach((model: string) => {\n let isValid: Boolean = false\n if (this.rules[model] && this.rules[model].length > 1 && model.includes('_phone_')) {\n isValid = true\n } else if (\n this.rules[model] &&\n this.rules[model].length > 4 &&\n (model.includes('_firstname') || model.includes('_lastname'))\n ) {\n isValid = true\n }\n if (isValid && this.rules[model]) {\n this.rules[model].pop()\n const generateFormRef = this.$refs.generateForm as any\n generateFormRef.validateField(model)\n }\n })\n } else {\n const modelsArr: string[] = previousRecord.modelsList.split('-')\n if (this.models[modelsArr[0]] && this.models[modelsArr[1]]) {\n modelsArr.forEach((model: string) => {\n const generateFormRef = this.$refs.generateForm as any\n if (\n this.rules[model] &&\n this.rules[model].length < 5 &&\n model.includes('_lastname')\n ) {\n this.rules[model].push({ validator: this.validateDuplicateCheck, trigger: 'blur' })\n generateFormRef.validateField(model)\n }\n if (\n this.rules[model] &&\n this.rules[model].length == 5 &&\n model.includes('_lastname')\n ) {\n this.rules[model][4] = { validator: this.validateDuplicateCheck, trigger: 'blur' }\n generateFormRef.validateField(model)\n } else if (\n this.rules[model] &&\n this.rules[model].length < 6 &&\n (model.includes('_firstname') || model.includes('_lastname'))\n ) {\n this.rules[model].push({\n validator: this.validateDuplicateUserNameCheck,\n trigger: 'blur'\n })\n generateFormRef.validateField(model)\n }\n })\n }\n }\n }\n }\n }\n\n @Ref('generateForm') generateFormRef!: ElForm\n\n async validateCartApplicationForm() {\n const valid = await this.validateForm()\n this.$root.$emit(APP_CONST.CART_APPLICATION_VALIDATION_RAN_EVENT, valid)\n }\n\n // This logic was existing, just lifted into its own function\n saveFormsList() {\n const formsList: any = {\n enrollments: JSON.stringify({\n formsList: this.applicationsList,\n isFinalSubmit: true,\n siteIds: JSON.parse(localStorage.all_selected_sites),\n guardianId: this.userDetail.id\n }),\n elasticEnrollmentId: this.elasticEnrollmentId\n }\n if (JSON.parse(localStorage.scholar_selected) == true) {\n formsList.elasticEnrollmentId = formsStore.scholarElasticEnrollmentId\n ? formsStore.scholarElasticEnrollmentId\n : this.elasticEnrollmentId\n }\n formsStore.saveApplicationForms(formsList).then((response: any) => {\n this.isSubmitted = false\n if (response.status == APP_CONST.RESPONSE_200) {\n window.clearInterval(this.autoSaveTimer)\n this.formsList.scholarMapping.siteIds = JSON.parse(localStorage.all_selected_sites)\n if (this.formsList.scholarMapping.elasticSubmissionId == '') {\n this.formsList.scholarMapping.elasticSubmissionId = response.data\n }\n if (APP_UTILITIES.getCookie('outStandingItems')) {\n formsStore.saveFinalSubmitPartSecond(this.formsList).then((res: any) => {\n if (res.status == APP_CONST.RESPONSE_200) {\n formsStore.resetApplication()\n formsStore.updateScholarData({})\n formsStore.saveCurrentBirthDate('')\n formsStore.updateCurrentFormField({ name: '', value: '' })\n if (this.isNextButton) {\n this.nextPage()\n } else {\n this.$router.push('/')\n }\n } else if (res.status != APP_CONST.RESPONSE_200) {\n this.userSubmitted = true\n }\n })\n } else {\n formsStore.saveFinalApplicationForms(this.formsList).then(async (res: any) => {\n if (\n res.status == APP_CONST.RESPONSE_200 &&\n UIkit &&\n UIkit.modal('#modal-application-sent')\n ) {\n formsStore.saveCurrentBirthDate('')\n formsStore.updateCurrentFormField({ name: '', value: '' })\n UIkit.modal('#modal-application-sent').show()\n const el: any = document.getElementById('modal-application-sent')\n /* istanbul ignore else */\n if (el) {\n el.classList.add('uk-flex', 'uk-open')\n el.style.display = 'block !important'\n }\n this.userSubmitted = true\n const { userId: user_id }: any = await getDecodedToken()\n /* istanbul ignore else */\n if (user_id) {\n await commonEntry.fetchUserDetails(parseInt(user_id))\n }\n } else if (res.status != APP_CONST.RESPONSE_200) {\n this.userSubmitted = true\n if (res.status === 400 && res.data === 'Validation_ResponseListGreaterThanZero') {\n this.is400BannerShow = true\n }\n }\n })\n }\n } else if (response.status != APP_CONST.RESPONSE_200) {\n this.userSubmitted = true\n }\n })\n }\n\n // This logic was existing, just lifted into its own function and cleaned up\n async validateForm(): Promise {\n this.isBannerShow = false\n this.is400BannerShow = false\n this.userSubmitted = false\n this.handleDplicateRecords()\n let valid = false\n let result = false\n await this.generateFormRef\n .validate()\n .then((validateResult) => {\n valid = validateResult\n })\n .catch(() => {\n valid = false\n })\n this.isSubmitted = true\n const errors = document.querySelectorAll(GenerateForm.INPUT_SELECTOR)\n const isMobile = APP_UTILITIES.isMobile()\n if (\n valid &&\n this.formIndex == this.applicationParts.length - 1 &&\n errors &&\n errors.length == 0\n ) {\n this.noOfErrors = []\n this.isBannerShow = isMobile ? false : true\n const inputdoc = document.querySelectorAll(GenerateForm.INPUT_SELECTOR)\n inputdoc.forEach((element) => {\n element.classList.remove('error-outlined-banner')\n })\n result = true\n } else {\n this.userSubmitted = true\n setTimeout(() => {\n const inputdoc = document.querySelectorAll(GenerateForm.INPUT_SELECTOR)\n this.noOfErrors = inputdoc\n this.isBannerShow = isMobile ? false : true\n if (isMobile) {\n APP_UTILITIES.showToastMessage(\n `${this.getScreenText('ERROR_BANNER_MESSAGE')}`,\n ToastType.Error\n )\n }\n this.movetoFirstError()\n const errorElement: any = document.getElementById('dropdown-error')\n if (\n errorElement &&\n errorElement.nextElementSibling &&\n errorElement.nextElementSibling.classList.contains('el-form-item__error')\n ) {\n errorElement.nextElementSibling.style.display = 'none'\n }\n }, 300)\n }\n formsStore.resetGuardianDetails()\n return result\n }\n\n async submitForm() {\n const valid = await this.validateForm().catch((e) => console.error(e))\n if (valid) {\n this.saveFormsList()\n }\n }\n\n preLabel() {\n this.nextPreviousButtonCalled = true\n this.disablePrevButton = false\n this.disableNextButton = false\n this.noOfErrors = document.querySelectorAll(GenerateForm.INPUT_SELECTOR)\n ? document.querySelectorAll(GenerateForm.INPUT_SELECTOR)\n : ''\n let valuecheked: boolean = false\n const focussedElement: any = document.getElementsByClassName('error-outlined-banner')\n for (let index = 0; index < this.noOfErrors.length; index++) {\n if (this.noOfErrors[index] == focussedElement[0]) {\n this.positionofError = index + 1\n valuecheked = true\n }\n }\n this.positionofError = valuecheked ? this.positionofError : this.positionofError - 1\n if (this.positionofError !== 0 && this.positionofError <= this.noOfErrors.length) {\n this.disablePrevButton = false\n this.positionofError = valuecheked ? this.positionofError - 1 : this.positionofError\n this.navigateToLabel(\n this.noOfErrors[this.positionofError - 1],\n this.noOfErrors[this.positionofError]\n )\n }\n if (this.positionofError == 1) {\n this.disablePrevButton = true\n }\n }\n\n nextLabel() {\n this.nextPreviousButtonCalled = true\n this.disableNextButton = false\n this.disablePrevButton = false\n let valuecheked: boolean = false\n this.noOfErrors = document.querySelectorAll(GenerateForm.INPUT_SELECTOR)\n ? document.querySelectorAll(GenerateForm.INPUT_SELECTOR)\n : ''\n const focussedElement: any = document.getElementsByClassName('error-outlined-banner')\n for (let index = 0; index < this.noOfErrors.length; index++) {\n if (this.noOfErrors[index] == focussedElement[0]) {\n this.positionofError = index + 1\n valuecheked = true\n }\n }\n if (this.positionofError - 1 <= this.noOfErrors.length - 1) {\n this.disableNextButton = false\n this.navigateToLabel(\n this.noOfErrors[valuecheked ? this.positionofError : this.positionofError - 1],\n this.noOfErrors[valuecheked ? this.positionofError - 1 : this.positionofError - 2]\n )\n this.positionofError = valuecheked ? this.positionofError + 1 : this.positionofError\n }\n if (this.positionofError == this.noOfErrors.length) {\n this.disableNextButton = true\n }\n }\n\n movetoFirstError() {\n this.disableNextButton = false\n this.disablePrevButton = true\n const inputdoc: any = document.querySelectorAll(GenerateForm.INPUT_SELECTOR)\n inputdoc.forEach((element: any) => {\n element.classList.remove('error-outlined-banner')\n })\n this.noOfErrors = document.querySelectorAll(GenerateForm.INPUT_SELECTOR)\n ? document.querySelectorAll(GenerateForm.INPUT_SELECTOR)\n : ''\n this.navigateToLabel(this.noOfErrors[0])\n this.positionofError = APP_CONST.ONE\n if (this.noOfErrors.length == APP_CONST.ONE) {\n this.disableNextButton = true\n }\n }\n\n navigateToLabel(element: HTMLElement, lastelement?: HTMLElement) {\n const inputdoc: any = document.querySelectorAll('.is-success .el-input__inner')\n inputdoc.forEach((element: any) => {\n element.classList.remove('error-outlined-banner')\n })\n if (element) {\n this.isRedBannerShown = true\n element.focus()\n element.classList.add('error-outlined-banner')\n window.scrollBy({\n top:\n document.documentElement.clientWidth > 992\n ? element.getBoundingClientRect().top - 210\n : document.documentElement.clientWidth > 830\n ? element.getBoundingClientRect().top - 230\n : document.documentElement.clientWidth > 768\n ? element.getBoundingClientRect().top - 250\n : document.documentElement.clientWidth > 550\n ? element.getBoundingClientRect().top - 230\n : document.documentElement.clientWidth > 465\n ? element.getBoundingClientRect().top - 250\n : document.documentElement.clientWidth > 419\n ? element.getBoundingClientRect().top - 250\n : document.documentElement.clientWidth > 390\n ? element.getBoundingClientRect().top - 260\n : element.getBoundingClientRect().top - 270,\n behavior: 'smooth'\n })\n }\n if (lastelement) {\n lastelement.classList.remove('error-outlined-banner')\n }\n }\n\n updateErrorCount(nextPreviousButtonCalled: boolean) {\n setTimeout(() => {\n if (!nextPreviousButtonCalled && this.isBannerShow) {\n this.outsideClick = false\n this.disableNextButton = false\n this.disablePrevButton = false\n this.noOfErrors = document.querySelectorAll(GenerateForm.INPUT_SELECTOR)\n ? document.querySelectorAll(GenerateForm.INPUT_SELECTOR)\n : ''\n const focussedElement: any = document.getElementsByClassName('error-outlined-banner')\n ? document.getElementsByClassName('error-outlined-banner')\n : document.getElementsByClassName(\n 'form-dropdown-title form-dropdown-name el-input__inner error-outlined-banner'\n )\n const activeElement: any = document.activeElement\n if (focussedElement[0] && focussedElement[0] != activeElement) {\n focussedElement[0].classList.remove('error-outlined-banner')\n }\n if (\n activeElement &&\n activeElement != document.body &&\n (Object.entries(this.noOfErrors).find((x) => x[1] == activeElement) ||\n Object.entries(this.noOfErrors).find(\n (x) => x[1] == activeElement.parentElement.parentElement.previousSibling\n ))\n ) {\n if (activeElement.className.indexOf('dropdown-menu') != -1) {\n activeElement.parentElement.parentElement.previousSibling.classList.add(\n 'error-outlined-banner'\n )\n window.scrollBy({\n top:\n document.documentElement.clientWidth > 992\n ? activeElement.getBoundingClientRect().top - 210\n : document.documentElement.clientWidth > 830\n ? activeElement.getBoundingClientRect().top - 230\n : document.documentElement.clientWidth > 768\n ? activeElement.getBoundingClientRect().top - 250\n : document.documentElement.clientWidth > 550\n ? activeElement.getBoundingClientRect().top - 230\n : document.documentElement.clientWidth > 465\n ? activeElement.getBoundingClientRect().top - 250\n : document.documentElement.clientWidth > 419\n ? activeElement.getBoundingClientRect().top - 250\n : document.documentElement.clientWidth > 390\n ? activeElement.getBoundingClientRect().top - 260\n : activeElement.getBoundingClientRect().top - 270,\n behavior: 'smooth'\n })\n } else if (activeElement.type == 'text') {\n activeElement.classList.add('error-outlined-banner')\n activeElement && activeElement.focus()\n window.scrollBy({\n top:\n document.documentElement.clientWidth > 992\n ? activeElement.getBoundingClientRect().top - 210\n : document.documentElement.clientWidth > 830\n ? activeElement.getBoundingClientRect().top - 230\n : document.documentElement.clientWidth > 768\n ? activeElement.getBoundingClientRect().top - 250\n : document.documentElement.clientWidth > 550\n ? activeElement.getBoundingClientRect().top - 230\n : document.documentElement.clientWidth > 465\n ? activeElement.getBoundingClientRect().top - 250\n : document.documentElement.clientWidth > 419\n ? activeElement.getBoundingClientRect().top - 250\n : document.documentElement.clientWidth > 390\n ? activeElement.getBoundingClientRect().top - 260\n : activeElement.getBoundingClientRect().top - 270,\n behavior: 'smooth'\n })\n } else {\n this.outsideClick = true\n }\n } else {\n this.outsideClick = true\n }\n\n for (let index = 0; index < this.noOfErrors.length; index++) {\n if (this.noOfErrors[index] == focussedElement[0]) {\n this.positionofError = index + 1\n }\n }\n if (\n this.outsideClick &&\n activeElement.className.indexOf('dropdown-menu') == -1 &&\n activeElement.type != 'text'\n ) {\n const element: any = this.noOfErrors[this.positionofError - 1]\n const lastelement: any = this.noOfErrors[this.positionofError - 2]\n if (element) {\n const inputdoc: any = document.querySelectorAll('.is-success .el-input__inner')\n inputdoc.forEach((element: any) => {\n element.classList.remove('error-outlined-banner')\n })\n\n element.classList.add('error-outlined-banner')\n element && element.focus()\n window.scrollBy({\n top:\n document.documentElement.clientWidth > 992\n ? element.getBoundingClientRect().top - 210\n : document.documentElement.clientWidth > 830\n ? element.getBoundingClientRect().top - 230\n : document.documentElement.clientWidth > 768\n ? element.getBoundingClientRect().top - 250\n : document.documentElement.clientWidth > 550\n ? element.getBoundingClientRect().top - 230\n : document.documentElement.clientWidth > 465\n ? element.getBoundingClientRect().top - 250\n : document.documentElement.clientWidth > 419\n ? element.getBoundingClientRect().top - 250\n : document.documentElement.clientWidth > 390\n ? element.getBoundingClientRect().top - 260\n : element.getBoundingClientRect().top - 270,\n behavior: 'smooth'\n })\n\n if (lastelement) {\n lastelement.classList.remove('error-outlined-banner')\n }\n } else if (!element && lastelement) {\n const inputdoc: any = document.querySelectorAll('.is-success .el-input__inner')\n inputdoc.forEach((element: any) => {\n element.classList.remove('error-outlined-banner')\n })\n lastelement && lastelement.classList.add('error-outlined-banner')\n lastelement && lastelement.focus()\n window.scrollBy({\n top:\n document.documentElement.clientWidth > 992\n ? lastelement.getBoundingClientRect().top - 210\n : document.documentElement.clientWidth > 830\n ? lastelement.getBoundingClientRect().top - 230\n : document.documentElement.clientWidth > 768\n ? lastelement.getBoundingClientRect().top - 250\n : document.documentElement.clientWidth > 550\n ? lastelement.getBoundingClientRect().top - 230\n : document.documentElement.clientWidth > 465\n ? lastelement.getBoundingClientRect().top - 250\n : document.documentElement.clientWidth > 419\n ? lastelement.getBoundingClientRect().top - 250\n : document.documentElement.clientWidth > 390\n ? lastelement.getBoundingClientRect().top - 260\n : lastelement.getBoundingClientRect().top - 270,\n behavior: 'smooth'\n })\n this.positionofError = this.positionofError - 1\n }\n }\n if (this.positionofError == this.noOfErrors.length) {\n this.disableNextButton = true\n }\n if (this.positionofError == APP_CONST.ONE) {\n this.disablePrevButton = true\n }\n }\n this.outsideClick = false\n this.nextPreviousButtonCalled = false\n }, 300)\n }\n\n /* istanbul ignore next */\n get isNextButton() {\n if (\n APP_UTILITIES.getCookie('outStandingItems') ||\n APP_UTILITIES.getCookie('outStandingItemIndex')\n ) {\n const application: any = JSON.parse(APP_UTILITIES.getCookie('outStandingItems') || '')\n const currentIndex: any = JSON.parse(APP_UTILITIES.getCookie('outStandingItemIndex') || '')\n if (application[currentIndex] && application[currentIndex].isDocumentSubmitted) {\n if (application.length == currentIndex + 1) {\n return false\n } else {\n return true\n }\n }\n return true\n } else {\n return false\n }\n }\n\n nextPage() {\n const application: any = JSON.parse(APP_UTILITIES.getCookie('outStandingItems') || '')\n const currentIndex: any = JSON.parse(APP_UTILITIES.getCookie('outStandingItemIndex') || '')\n if (!this.isNextButton) {\n this.$router.push(APP_CONST.APP_ROUTES.DASHBOARD.path)\n } else if (currentIndex || currentIndex == 0) {\n if (application[currentIndex + 1] && application[currentIndex + 1].isDocumentSubmitted) {\n formsStore.resetApplication()\n applicationStore.updatePartIndex({ submissions: application, index: currentIndex + 1 })\n } else {\n this.$router.push(APP_CONST.APP_ROUTES.APPLICATION_UPLOAD_DOCUMENTS.path)\n }\n }\n }\n\n checkSingleCheckbox(event: any) {\n this.$nextTick(() => {\n event.item.columns[event.colIndex].list[event.i].columns.forEach(\n (innerClmElm: any, innerClmInd: number) => {\n if (innerClmElm && innerClmElm.list) {\n innerClmElm.list.forEach((innerListElm: any, ind: number) => {\n innerListElm.options.defaultValue = false\n })\n }\n }\n )\n event.item.columns[event.colIndex].list[event.i].columns[event.ind].list[\n event.innerIndex\n ].options.defaultValue = true\n })\n }\n\n handleTest() {\n // let generateForm = this.$refs.generateForm as any;\n // this.getData().then((data : any) => {\n // this.$alert(data, '').catch(e=>{})\n // this.$refs.widgetPreview.end()\n // }).catch((e : any) => {\n // this.$refs.widgetPreview.end()\n // })\n }\n\n reset() {\n const generateFormRef = this.$refs.generateForm as any\n generateFormRef.resetFields()\n }\n\n onInputChange(value: any, field: any) {\n this.$emit('on-change', field, value, this.models)\n }\n\n @Watch('value', { deep: true })\n watchvalue(val: any) {\n this.models = { ...this.models, ...val }\n }\n\n @Watch('models', { deep: true })\n watchModels(val: any) {\n if (val) {\n for (const model in val) {\n if (model.includes('guardian_firstname')) {\n this.duplicateFieldsData.guardians.firstName = {\n ...this.duplicateFieldsData.guardians.firstName,\n [model]: { value: val[model] }\n }\n }\n if (model.includes('guardian_lastname')) {\n this.duplicateFieldsData.guardians.lastName = {\n ...this.duplicateFieldsData.guardians.lastName,\n [model]: { value: val[model] }\n }\n }\n if (model.includes('emergency_firstname')) {\n this.duplicateFieldsData.emergency.firstName = {\n ...this.duplicateFieldsData.emergency.firstName,\n [model]: { value: val[model] }\n }\n }\n if (model.includes('emergency_lastname')) {\n this.duplicateFieldsData.emergency.lastName = {\n ...this.duplicateFieldsData.emergency.lastName,\n [model]: { value: val[model] }\n }\n }\n if (model.includes('authorized_firstname')) {\n this.duplicateFieldsData.authorized.firstName = {\n ...this.duplicateFieldsData.authorized.firstName,\n [model]: { value: val[model] }\n }\n }\n if (model.includes('authorized_lastname')) {\n this.duplicateFieldsData.authorized.lastName = {\n ...this.duplicateFieldsData.authorized.lastName,\n [model]: { value: val[model] }\n }\n }\n }\n }\n }\n\n @Watch('userDetail', { deep: true })\n watchUser(val: any) {\n if (this.guardianFirstEmailModel || this.guardianFirstNameModel || this.guardianLastNameModel) {\n if (this.guardianFirstEmailModel && !this.models[this.guardianFirstEmailModel]) {\n this.models[this.guardianFirstEmailModel] = val.email\n }\n if (this.guardianFirstNameModel && !this.models[this.guardianFirstNameModel]) {\n this.models[this.guardianFirstNameModel] = val.firstName\n }\n if (this.guardianLastNameModel && !this.models[this.guardianLastNameModel]) {\n this.models[this.guardianLastNameModel] = val.lastName\n }\n }\n }\n\n onDestroy() {\n clearInterval(this.autoSaveTimer)\n this.detachExternalListeners()\n }\n\n destroyed() {\n this.onDestroy()\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\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\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\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\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\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\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\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\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\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\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\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\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\nimport GenerateForm from './GenerateForm'\nexport default GenerateForm\n","import mod from \"-!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GenerateForm.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GenerateForm.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./GenerateForm.vue?vue&type=template&id=22263eee&scoped=true&\"\nimport script from \"./GenerateForm.vue?vue&type=script&lang=ts&\"\nexport * from \"./GenerateForm.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./GenerateForm.less?vue&type=style&index=0&id=22263eee&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"22263eee\",\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"img/arrowRight.1a530593.svg\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"main-forms-container\",class:{ 'checkout-flow': _vm.isCheckout },attrs:{\"data-testid\":\"forms-container\"}},[_c('div',[_c('div',{staticClass:\"form-header\"},[_c('p',{staticClass:\"form-name\"},[_vm._v(_vm._s(_vm.applicationName))]),(!_vm.isMobileView)?_c('img',{attrs:{\"src\":_vm.accountLogoURL,\"alt\":\"logo\"}}):_vm._e()]),_vm._t(\"default\"),_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"design-preview-view\"},[_c('div',{staticClass:\"part-each\"},_vm._l((_vm.applicationsPart.forms),function(form,formIndex){return _c('div',{key:formIndex,staticClass:\"application-each\"},[_c('form-elements',{attrs:{\"formIndex\":formIndex}})],1)}),0),(!_vm.isCheckout)?_c('div',[(_vm.applicationsList && _vm.applicationsList.parts && !_vm.currentPartIndex)?_c('div',{staticClass:\"button-container\",class:[!_vm.isMobileView ? 'desktop' : '']},[_c('button',{staticClass:\"primary-filled-button button-hollow\",style:({ color: _vm.accentColor, borderColor: _vm.accentColor }),attrs:{\"type\":\"submit\"},on:{\"click\":_vm.previous}},[_c('svg',{staticClass:\"rotate180\",attrs:{\"width\":\"14\",\"height\":\"21\",\"viewBox\":\"0 0 14 21\",\"fill\":\"none\",\"xmlns\":\"http://www.w3.org/2000/svg\"}},[_c('g',{attrs:{\"clip-path\":\"url(#clip0)\"}},[_c('path',{attrs:{\"d\":\"M1.16602 10.5H12.8327\",\"stroke\":_vm.accentColor,\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\"}}),_c('path',{attrs:{\"d\":\"M7 4.66602L12.8333 10.4993L7 16.3327\",\"stroke\":_vm.accentColor,\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\"}})]),_c('defs',[_c('clipPath',{attrs:{\"id\":\"clip0\"}},[_c('rect',{attrs:{\"width\":\"13\",\"height\":\"20\",\"fill\":\"white\",\"transform\":\"translate(0.5 0.5)\"}})])])]),_vm._v(\" \"+_vm._s('Previous')+\" \")]),_c('button',{staticClass:\"primary-filled-button\",class:[_vm.getChangeSite ? 'disable' : ''],style:([!_vm.getChangeSite && { backgroundColor: _vm.accentColor }]),attrs:{\"type\":\"submit\",\"id\":\"submitForms\"},on:{\"submitBtn\":_vm.submitBtn}},[_vm._v(\" \"+_vm._s('Submit')+\" \")])]):_c('div',{staticClass:\"button-container\",class:[!_vm.isMobileView ? 'desktop' : '']},[_c('button',{staticClass:\"primary-filled-button button-hollow\",style:({ color: _vm.accentColor, borderColor: _vm.accentColor }),on:{\"click\":_vm.previous}},[_c('svg',{staticClass:\"rotate180\",attrs:{\"width\":\"14\",\"height\":\"21\",\"viewBox\":\"0 0 14 21\",\"fill\":\"none\",\"xmlns\":\"http://www.w3.org/2000/svg\"}},[_c('g',{attrs:{\"clip-path\":\"url(#clip0)\"}},[_c('path',{attrs:{\"d\":\"M1.16602 10.5H12.8327\",\"stroke\":_vm.accentColor,\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\"}}),_c('path',{attrs:{\"d\":\"M7 4.66602L12.8333 10.4993L7 16.3327\",\"stroke\":_vm.accentColor,\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\"}})]),_c('defs',[_c('clipPath',{attrs:{\"id\":\"clip0\"}},[_c('rect',{attrs:{\"width\":\"13\",\"height\":\"20\",\"fill\":\"white\",\"transform\":\"translate(0.5 0.5)\"}})])])]),_vm._v(\" \"+_vm._s('PREVIOUS')+\" \")]),_c('button',{staticClass:\"primary-filled-button\",class:[_vm.getChangeSite ? 'disable' : ''],style:([!_vm.getChangeSite && { backgroundColor: _vm.accentColor }]),attrs:{\"type\":\"button\",\"id\":\"submitForms\"}},[_vm._v(\" \"+_vm._s(_vm.isNextButton ? 'NEXT' : 'SUBMIT')+\" \"),(_vm.isNextButton)?_c('img',{attrs:{\"src\":require(\"@/assets/images/arrow-right.svg\"),\"alt\":\"Next\"}}):_vm._e()])])]):_vm._e()])])],2),_c('session-timeout')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import formBuilder from '@/components/familyPortal/forms/formBuilder/Container/Container.vue'\nimport SessionTimeout from '@/components/familyPortal/popupComponents/sessionTimeout/SessionTimeout.vue'\nimport APP_CONST from '@/constants/AppConst'\nimport AccountSettings from '@/mixins/accountSettings.mixin'\nimport applicationStore from '@/store/modules/applications/applicationStore'\nimport formsStore from '@/store/modules/forms/formsStore'\nimport APP_UTILITIES from '@/utilities/commonFunctions'\nimport UIkit from 'uikit'\nimport { Component, Mixins, Prop, Watch } from 'vue-property-decorator'\nimport { scholarInformation } from './formBuilder/Container/formData/scholarDetails'\n\n@Component({\n name: 'forms-list',\n components: {\n 'form-elements': formBuilder,\n 'session-timeout': SessionTimeout\n }\n})\nexport default class Forms extends Mixins(AccountSettings) {\n @Prop({ type: Boolean, default: false }) readonly isCheckout!: boolean\n\n applicationData: any = {}\n public builderData: any = []\n public isMobileView: boolean = true\n public localConst: any = APP_CONST\n public guardianData: any = {}\n public ecs: any = []\n public ecsOrdered: any = []\n public existingOrders: any = []\n public scholarInformation = scholarInformation\n\n /* istanbul ignore next */\n @Watch('applicationParts', { deep: true })\n watchdata(val: any) {\n this.structureFormData(val)\n }\n\n /* istanbul ignore next */\n get sitesList() {\n return applicationStore.sitesList\n }\n\n /* istanbul ignore next */\n get siteIds() {\n const siteIds: number[] = []\n if (this.sitesList.length) {\n this.sitesList.forEach((session) => {\n if (session.selected) {\n siteIds.push(session.sessionId)\n }\n })\n }\n return siteIds\n }\n\n /* istanbul ignore next */\n get applicationName() {\n return this.applicationData.name\n }\n\n /* istanbul ignore next */\n get applicationParts() {\n return formsStore.applicationsPartsData.forms\n }\n\n /* istanbul ignore next */\n get applicationsList() {\n return formsStore.applicationsData\n }\n\n /* istanbul ignore next */\n get applicationsPart() {\n return formsStore.applicationsParts\n }\n\n /* istanbul ignore next */\n get formsList() {\n return formsStore.formsList\n }\n\n /* istanbul ignore next */\n get elasticEnrollmentId() {\n return formsStore.getElasticEnrollmentId\n }\n\n get currentPartIndex() {\n return formsStore.currentPartNumber\n }\n\n get getChangeSite() {\n return applicationStore.changeSite\n }\n\n /* istanbul ignore next */\n get isNextButton() {\n if (\n APP_UTILITIES.getCookie('outStandingItems') ||\n APP_UTILITIES.getCookie('outStandingItemIndex')\n ) {\n const application: any = JSON.parse(APP_UTILITIES.getCookie('outStandingItems') || '')\n const currentIndex: any = JSON.parse(APP_UTILITIES.getCookie('outStandingItemIndex') || '')\n if (application[currentIndex] && application[currentIndex].isDocumentSubmitted) {\n if (application.length == currentIndex + 1) {\n return false\n } else {\n return true\n }\n }\n return true\n } else {\n return false\n }\n }\n\n get scholarId() {\n const currentIndex: any = APP_UTILITIES.getCookie('outStandingItemIndex')\n const outStandingItems: any = APP_UTILITIES.getCookie('outStandingItems')\n const currentOutstandingItem = JSON.parse(outStandingItems)[currentIndex]\n return this.applicationData.scholarId !== '00000000-0000-0000-0000-000000000000'\n ? this.applicationData.scholarId\n : currentOutstandingItem.scholarId\n }\n\n get scholarPartFirstDetails() {\n return formsStore.scholarData\n }\n\n get requiredFilledData() {\n return formsStore.formValidation\n }\n\n get isPartOneFecthed() {\n return formsStore.isPartOneFormsFetched\n }\n\n previous() {\n formsStore.updateCurrentUpdatedField({ name: '', value: '', order: '' })\n formsStore.saveCurrentBirthDate('')\n const application: any = APP_UTILITIES.getCookie('outStandingItems')\n if (application) {\n const currentIndex: any = JSON.parse(APP_UTILITIES.getCookie('outStandingItemIndex') || '')\n if (currentIndex == 0) {\n return\n } else if (!application[currentIndex - 1].isDocumentSubmitted) {\n formsStore.resetApplication()\n applicationStore.updatePartIndex({ submissions: application, index: currentIndex - 1 })\n this.$router.push(APP_CONST.APP_ROUTES.APPLICATION_UPLOAD_DOCUMENTS.path)\n } else {\n applicationStore.updatePartIndex({ submissions: application, index: currentIndex - 1 })\n this.getFormDetails()\n }\n } else {\n formsStore.resetApplication()\n }\n }\n\n submitBtn(arg: any) {\n formsStore.saveFinalApplicationForms(arg)\n }\n\n getUpdateFormElements(elementData: any, element: any, parentItemName?: any) {\n element.columns.forEach((column: any) => {\n /* istanbul ignore else */\n if (column.list) {\n column.list.forEach((listItem: any) => {\n if (\n listItem.name != APP_CONST.DIVIDERLINE_TEXT &&\n listItem.name != APP_CONST.TEXTAREALONGQUESTION_TEXT\n ) {\n if (listItem.columns) {\n if (element.name == 'emergencyContact' || element.name == 'authorizedInformation') {\n this.getUpdateFormElements(elementData, listItem, listItem.name)\n } else {\n this.getUpdateFormElements(elementData, listItem)\n }\n } else {\n if (listItem.type == 'consentcheckbox') {\n elementData[listItem.name] =\n listItem.options.options &&\n listItem.options.options[0] &&\n listItem.options.options[0].value\n if (listItem.options.defaultValue) {\n elementData['consent_Label'] =\n listItem.options.options &&\n listItem.options.options[0] &&\n listItem.options.options[0].value\n }\n } else {\n if (listItem.name.includes('emergency') || listItem.name.includes('authorized')) {\n if (parentItemName) {\n parentItemName =\n parentItemName == 'emergencyContactName'\n ? 'emergencyContact'\n : parentItemName == 'authorizedInformation'\n ? 'authorizedContact'\n : parentItemName\n elementData[parentItemName] = {\n ...elementData[parentItemName],\n [listItem.name]: listItem.options.defaultValue\n }\n } else {\n elementData[listItem.name] = listItem.options.defaultValue\n }\n } else {\n elementData[listItem.name] = listItem.options.defaultValue\n }\n }\n }\n }\n })\n }\n })\n return elementData\n }\n\n getUpdatedFormattedDetails(data: any, column: string, content: any) {\n /* istanbul ignore else */\n if (typeof content !== 'undefined') {\n if (Object.keys(content).length) {\n Object.keys(content).forEach((elemKey: any) => {\n if (content.hasOwnProperty(elemKey)) {\n data[elemKey].push(content[elemKey])\n }\n })\n }\n }\n return data\n }\n\n getFormattedDetails(data: any, column: string, content: any, order?: any) {\n /* istanbul ignore else */\n if (\n typeof content !== 'undefined' &&\n (column != this.localConst.DIVIDERLINE_TEXT ||\n column != this.localConst.TEXTAREALONGQUESTION_TEXT)\n ) {\n if (data[column]) {\n if (\n (column.includes('guardian') && data[column].length < 2) ||\n !column.includes('guardian')\n ) {\n if (\n order &&\n (!this.guardianData[column] ||\n (this.guardianData[column] && this.guardianData[column] != order))\n ) {\n this.guardianData = { ...this.guardianData, [column]: order }\n data[column][data[column].length] = content\n // swap if guardian 2 at index 0 and when 2 guardians are alraedy added\n if (data[column].length == 2 && column.includes('guardian') && order == 'guardian_1') {\n data[column] = [data[column][1], data[column][0]]\n }\n } else if (!column.includes('guardian')) {\n data[column][data[column].length] = content\n }\n } else if (column.includes('guardian') && data[column].length < APP_CONST.TWO) {\n data[column][data[column].length] = content\n }\n } else {\n if (column.includes('guardian') && order) {\n this.guardianData = { ...this.guardianData, [column]: order }\n }\n data = { ...data, [column]: [content] }\n }\n }\n return data\n }\n\n structureFormData(applicationParts: any) {\n this.builderData = {\n scholar: {},\n guardians: {},\n customFields: [],\n emergencyContacts: {\n emergencyContact: [],\n emergencyPhoneNumberType: [],\n emergency_callorder: [],\n emergency_relation: []\n },\n documents: [],\n consents: [],\n siteDetails: {},\n scholarMapping: {\n scholar_Guid: '',\n accountId: this.applicationData.accountId,\n applicationId: this.applicationData.elasticApplicationId,\n submissionId: 0,\n elasticSubmissionId: '',\n programId: 0,\n siteIds: []\n },\n learning: {},\n medical: {},\n programDetails: {},\n pickUps: {\n authorizedContact: [],\n authorized_relation: [],\n authorizedPhoneNumberType: [],\n authorizedDate: []\n },\n scheduleDays: []\n }\n const scholarId: any = APP_UTILITIES.getCookie('scholarId') || ''\n this.builderData.scholarMapping.scholar_Guid = scholarId ? JSON.parse(scholarId) : ''\n this.builderData.scholarMapping.applicationId = this.applicationData.applicationGuid\n ? this.applicationData.applicationGuid\n : ''\n this.builderData.scholarMapping.elasticSubmissionId = this.elasticEnrollmentId\n this.builderData.scholarMapping.siteIds = localStorage.getItem('all_selected_sites')\n this.builderData.scholarMapping.programId = this.applicationData.programId\n this.builderData.scholarMapping.accountId = this.applicationData.accountId\n this.applicationParts &&\n this.applicationParts.forEach((form: any) => {\n this.buildFormData(form.formId, form.source)\n })\n if (!applicationStore.selectedChild.id && this.currentPartIndex < 1) {\n this.provideBuilderDataForTempScholars()\n }\n\n formsStore.updateFormsStructure(JSON.stringify(this.builderData))\n }\n\n provideBuilderDataForTempScholars() {\n const tempScholarData = applicationStore.allSelectedChildData\n if (tempScholarData) {\n this.builderData.scholar.scholarName.scholar_firstname = tempScholarData.firstName\n this.builderData.scholar.scholarName.scholar_lastname = tempScholarData.lastName\n // date has to be formatted for elastic as 'MM - DD - YYYY'\n const formattedDOB = APP_UTILITIES.formatFullDateForElastic(tempScholarData.DOB as string)\n this.builderData.scholar.scholarbirthdateField.scholar_birthdate = formattedDOB\n }\n }\n\n updateRelationDropdown(formJSON: any) {\n formJSON.parts.forEach((partElm: any) => {\n if (partElm.forms && partElm.forms.length) {\n partElm.forms.forEach((frmElm: any, frmIndex: number) => {\n if (frmElm && frmElm.source && frmElm.source.list.length) {\n frmElm.source.list.forEach((item: any) => {\n if (item.name === 'emergencyContact') {\n item.columns.forEach((itm: any) => {\n itm.list.forEach((element: any) => {\n if (element.name == 'emergency_relation') {\n element.options.options.forEach((option: any) => {\n const opt1 = option && option.label && option.label.trim()\n const opt2 = option && option.value && option.value.trim()\n if (opt1 == 'Others' || opt2 == 'Others') {\n option.label = 'Other'\n option.value = 'Other'\n }\n })\n }\n })\n })\n } else if (\n item.elmType == 'custom' &&\n (item.name == 'guardian_relation' ||\n item.name == 'emergency_relation' ||\n item.name == 'authorized_relation' ||\n item.name == 'scholar_race') &&\n item.type == 'dropdown'\n ) {\n item.options.options.forEach((option: any) => {\n const opt1 = option && option.label && option.label.trim()\n const opt2 = option && option.value && option.value.trim()\n if (opt1 == 'Others' || opt2 == 'Others') {\n option.label = 'Other'\n option.value = 'Other'\n }\n })\n }\n })\n }\n })\n }\n })\n }\n\n updateLanguageDropdown(formJSON: any) {\n formJSON.parts.forEach((partElm: any) => {\n if (partElm.forms && partElm.forms.length) {\n partElm.forms.forEach((frmElm: any, frmIndex: number) => {\n if (frmElm && frmElm.source && frmElm.source.list.length) {\n frmElm.source.list.forEach((item: any) => {\n if (\n item.elmType == 'custom' &&\n (item.name == 'scholar_language' || item.name == 'guardian_language') &&\n item.type == 'dropdown'\n ) {\n item.options.options.forEach((option: any) => {\n const opt1 = option && option.value && option.value.trim()\n if (opt1 == 'Portuguese') {\n scholarInformation.getScholar().forEach((elem: any) => {\n if (\n elem.elmType == 'custom' &&\n elem.name == 'scholar_language' &&\n elem.type == 'dropdown'\n ) {\n item.options.options = elem.options.options\n }\n })\n }\n })\n }\n })\n }\n })\n }\n })\n }\n\n groupEmergencyContactsData(element: any) {\n const columnName = `${element.name}`\n let orderIndex = -1\n let groupName = ''\n if (groupName == '' && element.group != undefined && element.group != '') {\n groupName = element.group\n }\n\n if (\n columnName == 'emergency_callorder' &&\n element.options.defaultValue != undefined &&\n element.options.defaultValue != ''\n ) {\n orderIndex = parseInt(element.options.defaultValue)\n if (this.ecs[this.ecs.length - 1]) {\n this.ecs[this.ecs.length - 1].orderIndex = orderIndex\n }\n this.existingOrders.push(orderIndex)\n }\n\n if (columnName == 'emergencyContact') {\n if (this.ecs.length > 0 && this.ecs[this.ecs.length - 1].orderIndex == undefined) {\n this.ecs[this.ecs.length - 1].orderIndex = orderIndex\n }\n this.ecs.push({ orderIndex: -1, items: new Array() })\n }\n this.ecs[this.ecs.length - 1] && this.ecs[this.ecs.length - 1].items.push(element)\n }\n\n prepareEmergencyContactDetails() {\n let i: number = 0\n let j: number = 0\n\n this.ecsOrdered = JSON.parse(JSON.stringify(this.ecs))\n const leng: number = this.ecs.length\n const groupName: string = ''\n\n for (i = 0; i < this.ecs.length; i++) {\n if (this.ecs[i].orderIndex == -1) {\n for (j = 0; j < this.ecs.length; j++) {\n if (this.existingOrders.indexOf(j + 1) == -1) {\n this.ecs[i].orderIndex = j + 1\n this.ecs[i].items.push({\n options: { defaultValue: (j + 1).toString() },\n name: 'emergency_callorder',\n group: groupName == '' ? 'emergencyContactDetails' : groupName\n })\n this.existingOrders.push(j + 1)\n break\n }\n }\n }\n }\n this.ecs.sort((a: any, b: any) => (a.orderIndex > b.orderIndex ? 1 : -1))\n\n for (i = 0; i < this.ecs.length; i++) {\n for (j = 0; j < this.ecs[i].items.length; j++) {\n const element = this.ecs[i].items[j]\n const columnName = `${element.name}`\n\n if (!['dividerLine', 'sectionHeader'].includes(element.name)) {\n if (element.columns) {\n const elementData = {}\n const elementContent = this.getUpdateFormElements(elementData, element)\n switch (element.group) {\n case 'emergencyContactsDetails':\n if (\n columnName == 'emergencyPhoneNumberType' &&\n elementContent.emergency_phone &&\n elementContent.emergency_phone.includes([')', '(', ' '])\n ) {\n elementContent.emergency_phone = elementContent.emergency_phone.replace(/\\D/g, '')\n }\n this.builderData.emergencyContacts = this.getUpdatedFormattedDetails(\n this.builderData.emergencyContacts,\n element.name,\n elementContent\n )\n\n break\n case 'emergencyContactDetails':\n if (\n columnName == 'emergencyPhoneNumberType' &&\n elementContent.emergency_phone &&\n elementContent.emergency_phone.includes([')', '(', ' '])\n ) {\n elementContent.emergency_phone = elementContent.emergency_phone.replace(/\\D/g, '')\n }\n this.builderData.emergencyContacts = this.getFormattedDetails(\n this.builderData.emergencyContacts,\n columnName,\n elementContent\n )\n break\n }\n } else {\n const defaultVal = element.options.defaultValue\n switch (element.group) {\n case 'emergencyContactsDetails':\n break\n case 'emergencyContactDetails':\n if (\n (columnName === 'emergency_callorder' || columnName === 'emergency_relation') &&\n defaultVal != 'Select'\n ) {\n this.builderData.emergencyContacts = this.getFormattedDetails(\n this.builderData.emergencyContacts,\n columnName,\n defaultVal\n )\n }\n break\n }\n }\n }\n }\n }\n }\n\n buildFormData(formId: string, formData: any): void {\n /* istanbul ignore else */\n this.ecs = []\n this.ecsOrdered = []\n if (formData.list && formData.list.length > 0) {\n formData.list.forEach((element: any, index: number) => {\n const columnName: string = `${element.name}`\n /* istanbul ignore else */\n if (!['dividerLine', 'sectionHeader'].includes(element.name)) {\n if (element.columns) {\n const elementData: any = {}\n const elementContent: any = this.getUpdateFormElements(elementData, element)\n switch (element.group) {\n case 'scholarDetails':\n if (\n columnName == 'scholarPhoneNumberType' &&\n elementContent.scholar_phone &&\n elementContent.scholar_phone.includes([')', '(', ' '])\n ) {\n elementContent.scholar_phone = elementContent.scholar_phone.replace(/\\D/g, '')\n }\n this.builderData.scholar = {\n ...this.builderData.scholar,\n [columnName]: elementContent\n }\n break\n case 'guardianDetails':\n this.builderData.guardians = this.getFormattedDetails(\n this.builderData.guardians,\n columnName,\n elementContent,\n element.order\n )\n break\n case 'customFieldDetails':\n this.builderData.customFields = this.getFormattedDetails(\n this.builderData.customFields,\n columnName,\n elementContent\n )\n break\n case 'emergencyContactsDetails':\n if (\n columnName == 'emergencyPhoneNumberType' &&\n elementContent.emergency_phone &&\n elementContent.emergency_phone.includes([')', '(', ' '])\n ) {\n elementContent.emergency_phone = elementContent.emergency_phone.replace(/\\D/g, '')\n }\n this.groupEmergencyContactsData(element)\n break\n case 'emergencyContactDetails':\n if (\n columnName == 'emergencyPhoneNumberType' &&\n elementContent.emergency_phone &&\n elementContent.emergency_phone.includes([')', '(', ' '])\n ) {\n elementContent.emergency_phone = elementContent.emergency_phone.replace(/\\D/g, '')\n }\n this.groupEmergencyContactsData(element)\n break\n case 'scholarSiteDetails':\n this.builderData.siteDetails = {\n ...this.builderData.siteDetails,\n [columnName]: elementContent\n }\n break\n case 'scholarLearningDetails':\n this.builderData.learning = {\n ...this.builderData.learning,\n [columnName]: elementContent\n }\n break\n case 'scholarMedicalDetails':\n this.builderData.medical = {\n ...this.builderData.medical,\n [columnName]: elementContent\n }\n break\n case 'scholarProgramDetails':\n this.builderData.programDetails = {\n ...this.builderData.programDetails,\n [columnName]: elementContent\n }\n break\n case 'authorizedInfoDetails':\n this.builderData.pickUps = this.getUpdatedFormattedDetails(\n this.builderData.pickUps,\n columnName,\n elementContent\n )\n break\n case 'authorizedInfo':\n this.builderData.pickUps = this.getFormattedDetails(\n this.builderData.pickUps,\n columnName,\n elementContent\n )\n break\n case 'consentInfo':\n this.builderData.consents.push({\n consent_Question: elementContent.consent_ques,\n consent_Answer: elementContent.consent_Label ? elementContent.consent_Label : '',\n consent_Ack: elementContent.consent_response,\n consent_Options: `${elementContent.consent_agreement1},${elementContent.consent_agreement}`,\n elasticform_Id: formId\n })\n break\n\n default:\n break\n }\n } else {\n let defaultVal: any = element.options.defaultValue\n switch (element.group) {\n case 'scholarDetails':\n this.builderData.scholar = { ...this.builderData.scholar, [columnName]: defaultVal }\n break\n case 'guardianDetails':\n this.builderData.guardians = this.getFormattedDetails(\n this.builderData.guardians,\n columnName,\n defaultVal,\n element.order\n )\n break\n case 'customFieldDetails':\n if (Array.isArray(defaultVal) && defaultVal.length) {\n defaultVal = defaultVal.join(',')\n } else if (Array.isArray(defaultVal) && defaultVal.length < 1) {\n defaultVal = ''\n }\n this.builderData.customFields.push({\n custom_Response: defaultVal,\n custom_Field: columnName,\n custom_Question: element.label\n })\n break\n case 'emergencyContactsDetails':\n this.groupEmergencyContactsData(element)\n break\n case 'emergencyContactDetails':\n this.groupEmergencyContactsData(element)\n break\n case 'scholarSiteDetails':\n this.builderData.siteDetails = {\n ...this.builderData.siteDetails,\n [columnName]: defaultVal\n }\n break\n case 'scholarLearningDetails':\n this.builderData.learning = {\n ...this.builderData.learning,\n [columnName]: defaultVal\n }\n break\n case 'scholarMedicalDetails':\n this.builderData.medical = { ...this.builderData.medical, [columnName]: defaultVal }\n break\n case 'scholarProgramDetails':\n this.builderData.programDetails = {\n ...this.builderData.programDetails,\n [columnName]: defaultVal\n }\n break\n case 'authorizedInfoDetails':\n this.builderData.pickUps = this.getFormattedDetails(\n this.builderData.pickUps,\n columnName,\n defaultVal\n )\n break\n case 'authorizedInfo':\n this.builderData.pickUps = this.getFormattedDetails(\n this.builderData.pickUps,\n columnName,\n defaultVal\n )\n break\n default:\n break\n }\n }\n }\n })\n this.prepareEmergencyContactDetails()\n }\n }\n\n isMobile() {\n this.isMobileView = APP_UTILITIES.isMobile()\n }\n\n beforeMount() {\n if (APP_UTILITIES.getCookie('outStandingItems')) {\n formsStore.mutateCurrentPart(APP_CONST.ONE)\n } else {\n formsStore.mutateCurrentPart(APP_CONST.ZERO)\n }\n }\n\n mounted() {\n formsStore.resetGuardianDetails()\n formsStore.resetEmergencyFields()\n formsStore.resetFields()\n formsStore.resetFormModels()\n\n this.getFormDetails()\n // formsStore.getUserDetails().then((res:any)=>{debugger})\n }\n\n getFormDetails() {\n /* istanbul ignore else */\n if (applicationStore.applicationDataInfo) {\n this.applicationData = applicationStore.applicationDataInfo\n if (localStorage.scholar_selected == 'false') {\n // formsStore.resetApplication();\n if (!this.elasticEnrollmentId) {\n formsStore\n .getApplicationDetails(this.applicationData.elasticApplicationId)\n .then((data: any) => {\n this.updateRelationDropdown(data)\n this.updateLanguageDropdown(data)\n if (this.currentPartIndex > 0 && this.scholarId) {\n formsStore.getScholarData(this.scholarId)\n }\n })\n } else {\n formsStore.getElasticApplicationDetails(this.elasticEnrollmentId)\n if (this.currentPartIndex > 0 && this.scholarId) {\n formsStore.getScholarData(this.scholarId)\n }\n }\n } else {\n // formsStore.getElasticApplicationsIdDetails(localStorage.scholar_guid);\n }\n }\n this.isMobile()\n }\n\n destroyed() {\n formsStore.mutateWidgetList([])\n applicationStore.mutateChangeSite(false)\n if (UIkit.modal('#modal-application-sent')) {\n UIkit.modal('#modal-application-sent').$destroy(true)\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\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\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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Forms from './Forms'\nexport default Forms\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Forms.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Forms.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Forms.vue?vue&type=template&id=08208aa7&scoped=true&\"\nimport script from \"./Forms.vue?vue&type=script&lang=ts&\"\nexport * from \"./Forms.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Forms.less?vue&type=style&index=0&id=08208aa7&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"08208aa7\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!./Forms.less?vue&type=style&index=0&id=08208aa7&lang=less&scoped=true&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!./Forms.less?vue&type=style&index=0&id=08208aa7&lang=less&scoped=true&\"","'use strict';\nvar isArray = require('../internals/is-array');\nvar toLength = require('../internals/to-length');\nvar bind = require('../internals/bind-context');\n\n// `FlattenIntoArray` abstract operation\n// https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray\nvar flattenIntoArray = function (target, original, source, sourceLen, start, depth, mapper, thisArg) {\n var targetIndex = start;\n var sourceIndex = 0;\n var mapFn = mapper ? bind(mapper, thisArg, 3) : false;\n var element;\n\n while (sourceIndex < sourceLen) {\n if (sourceIndex in source) {\n element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex];\n\n if (depth > 0 && isArray(element)) {\n targetIndex = flattenIntoArray(target, original, element, toLength(element.length), targetIndex, depth - 1) - 1;\n } else {\n if (targetIndex >= 0x1FFFFFFFFFFFFF) throw TypeError('Exceed the acceptable array length');\n target[targetIndex] = element;\n }\n\n targetIndex++;\n }\n sourceIndex++;\n }\n return targetIndex;\n};\n\nmodule.exports = flattenIntoArray;\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"uk-flex-top popupwrapper transparent-header-popup\",attrs:{\"id\":\"modal-session-timeout\",\"uk-modal\":\"esc-close:false;bg-close:false\"}},[_c('div',{staticClass:\"uk-modal-dialog uk-margin-auto-vertical popupbox app-confirmation\"},[_c('div',{staticClass:\"mobile-close-icon uk-modal-close\",attrs:{\"bx-attr\":\"submissions-navigation-close-mobile-popup\"}},[_c('img',{staticClass:\"mobile-close-icon-image\",attrs:{\"src\":require(\"@/assets/images/icon-blue/closeIconBlue.svg\"),\"alt\":\"close-icon\"},on:{\"click\":_vm.navigateToLogin}})]),_c('div',{staticClass:\"popup-header blueTheme\"},[_c('button',{staticClass:\"cross-icon uk-modal-close\",style:([_vm.isMobile && { backgroundColor: _vm.accentColor }]),attrs:{\"type\":\"button\",\"bx-attr\":\"submissions-navigation-close-popup\"},on:{\"click\":_vm.navigateToLogin}},[_c('img',{attrs:{\"src\":require(\"@/assets/images/family-portal/dark_close_icon.svg\"),\"alt\":\"desktop-close-icon\"},on:{\"click\":_vm.navigateToLogin}})])]),_c('div',{staticClass:\"popup-context-box\"},[_c('div',{staticClass:\"image-heading\"},[_c('img',{staticClass:\"illustration-icon\",attrs:{\"src\":require(\"@/assets/images/family-portal/timer.svg\"),\"alt\":\"help\"}}),_c('h1',[_vm._v(_vm._s(_vm.sessionTimeOutHeader))])]),_c('div',{staticClass:\"popup-context-box-inner\"},[_c('div',{staticClass:\"fix\"},[_c('p',[_vm._v(\" \"+_vm._s(_vm.sessionTimeOutSubHeader)+\" \")])]),_c('div',{staticClass:\"button-wrapper\"},[_c('button',{staticClass:\"btn-primary uk-modal-close\",style:({ backgroundColor: _vm.accentColor }),attrs:{\"type\":\"button\",\"bx-attr\":\"submissions-navigation-thanks-button\"},on:{\"click\":_vm.navigateToLogin}},[_vm._v(\" \"+_vm._s(_vm.loginButtonText)+\" \")])])])])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { Component, Mixins } from 'vue-property-decorator'\nimport APP_UTILITIES from '@/utilities/commonFunctions'\nimport APP_CONST from '@/constants/AppConst'\nimport AccountSettings from '@/mixins/accountSettings.mixin'\nimport DeviceWidthCheckerMixin from '@/mixins/deviceWidthChecker.mixin'\nimport { ScreenText } from '@/lang/ScreenText'\n@Component\nexport class SessionTimeout extends Mixins(AccountSettings, DeviceWidthCheckerMixin) {\n screenText = new ScreenText()\n\n get sessionTimeOutHeader(): string {\n return this.screenText.getScreenText('SESSION_TIMEOUT_HEADER')\n }\n\n get sessionTimeOutSubHeader(): string {\n return this.screenText.getScreenText('SESSION_TIMEOUT_SUBHEADER')\n }\n\n get loginButtonText(): string {\n return this.screenText.getScreenText('BTN_LOGIN_CAPS')\n }\n\n onClick() {\n this.$gtm &&\n this.$gtm.trackEvent({\n event: null,\n category: 'Application Confirmation',\n action: 'click',\n label: 'Application Save Click Event Activated',\n value: 5000,\n noninteraction: false\n })\n }\n\n navigateToLogin() {\n APP_UTILITIES.removeCookies()\n APP_UTILITIES.removeSpecificCookie('applicationData')\n this.$router && this.$router.push(APP_CONST.APP_ROUTES.LOGIN)\n }\n\n mounted() {\n if (this.$route !== undefined && this.$gtm !== undefined) {\n this.$gtm.trackView(this.$route.name, this.$route.path)\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\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\nimport { SessionTimeout } from './SessionTimeout'\nexport default SessionTimeout\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SessionTimeout.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SessionTimeout.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SessionTimeout.vue?vue&type=template&id=7be63631&scoped=true&\"\nimport script from \"./SessionTimeout.vue?vue&type=script&lang=ts&\"\nexport * from \"./SessionTimeout.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./SessionTimeout.less?vue&type=style&index=0&id=7be63631&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7be63631\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!./Container.less?vue&type=style&index=0&id=0070958c&lang=less&scoped=true&\"; export default mod; export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!./Container.less?vue&type=style&index=0&id=0070958c&lang=less&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"uk-flex-top popupwrapper transparent-header-popup\",attrs:{\"id\":\"modal-application-sent\",\"uk-modal\":\"esc-close:false;bg-close:false\"}},[_c('div',{staticClass:\"uk-modal-dialog uk-margin-auto-vertical popupbox app-confirmation\"},[_c('div',{staticClass:\"mobile-close-icon\",attrs:{\"bx-attr\":\"submissions-navigation-close-mobile-popup\"}},[_c('img',{staticClass:\"mobile-close-icon-image\",attrs:{\"src\":require(\"@/assets/images/icon-blue/closeIconBlue.svg\"),\"alt\":\"close-icon\"},on:{\"click\":_vm.navigateToDashboard}})]),_c('div',{staticClass:\"popup-header blueTheme\"},[_c('button',{staticClass:\"cross-icon uk-modal-close\",style:([_vm.isMobile && { backgroundColor: _vm.accentColor }]),attrs:{\"type\":\"button\",\"bx-attr\":\"submissions-navigation-close-popup\"},on:{\"click\":_vm.navigateToDashboard}},[_c('img',{attrs:{\"src\":require(\"@/assets/images/family-portal/dark_close_icon.svg\"),\"alt\":\"desktop-close-icon\"}})])]),_c('div',{staticClass:\"popup-context-box\"},[_c('div',{staticClass:\"image-heading\"},[_c('svg',{staticClass:\"illustration-icon\",attrs:{\"width\":\"268\",\"height\":\"131\",\"viewBox\":\"0 0 268 131\",\"fill\":\"none\",\"xmlns\":\"http://www.w3.org/2000/svg\"}},[_c('path',{attrs:{\"d\":\"M136.316 102.777c.104.21.176.434.214.664M126.625 97.678l8.08 3.623a3.218 3.218 0 0 1 1.639 1.476M126.624 97.678l9.173-9.232-1.152-6.177-10.087 10.162a2.954 2.954 0 0 0-.967 2.62\",\"stroke\":_vm.accentColor,\"stroke-width\":\".977\",\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\"}}),_c('path',{attrs:{\"d\":\"m130.501 118.473 11.896 5.35 1.151 6.177-13.084-5.904c-2.111-.952-2.509-3.07-.878-4.715l7.121-7.21c1.631-1.646 1.24-3.764-.878-4.716l-9.239-4.132c-2.111-.945-2.509-3.07-.878-4.715l.915-.93\",\"stroke\":_vm.accentColor,\"stroke-width\":\".977\",\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\"}}),_c('path',{attrs:{\"d\":\"m134.64 106.947-6.206 6.28a2.876 2.876 0 0 0-.908 2.849M128.648 122.177l-1.136-6.095M124.745 101.227l-1.151-6.176M137.672 109.529l-1.129-6.088M205.285 24.326c.153.178.279.377.376.59M194.613 21.861l8.708 1.476a3.263 3.263 0 0 1 1.963 1.011M194.613 21.86l6.509-11.297-2.679-5.682-7.165 12.42a2.944 2.944 0 0 0-.266 2.782M203.636 40.99l12.862 2.148 2.679 5.682-14.146-2.361c-2.281-.384-3.203-2.34-2.044-4.34l5.062-8.78c1.158-2 .236-3.956-2.044-4.34l-9.999-1.668c-2.281-.383-3.203-2.339-2.044-4.346l.649-1.122\",\"stroke\":_vm.accentColor,\"stroke-width\":\".977\",\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\"}}),_c('path',{attrs:{\"d\":\"m204.722 28.783-4.428 7.653a2.878 2.878 0 0 0-.155 2.951M202.79 45.033l-2.642-5.601M193.698 25.766l-2.678-5.682M208.31 30.517l-2.642-5.601M52.855 56.153c.009-.234.05-.465.126-.686M58.936 65.253l-5.35-7.018a3.247 3.247 0 0 1-.738-2.08M58.935 65.252 46.456 69.03l-1.94 5.978 13.733-4.155a2.95 2.95 0 0 0 2.095-1.837\",\"stroke\":_vm.accentColor,\"stroke-width\":\".977\",\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\"}}),_c('path',{attrs:{\"d\":\"M65.449 45.136 57.545 34.76l1.941-5.977 8.686 11.409c1.41 1.845.738 3.896-1.476 4.568l-9.697 2.951c-2.213.672-2.885 2.724-1.475 4.568l6.124 8.036c1.403 1.838.738 3.897-1.475 4.561l-1.248.376\",\"stroke\":_vm.accentColor,\"stroke-width\":\".977\",\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\"}}),_c('path',{attrs:{\"d\":\"m56.309 53.29 8.456-2.553a2.884 2.884 0 0 0 2.155-2.08M68.845 42.768l-1.911 5.896M62.277 63.04l-1.933 5.976M54.877 49.57l-1.904 5.89M100.066 53.438l.635 7.41 7.025 2.021 6.391-5.387-.635-7.401-7.025-2.022-6.391 5.38zM267.234 32.083l-.635 7.409-7.025 2.014-6.39-5.38.634-7.4 7.025-2.023 6.391 5.38zM101.734 21.168l-.635 7.402-7.025 2.022-6.39-5.38.634-7.409 7.025-2.022 6.391 5.387zM174.577 11.354l-.642 7.401-7.025 2.022-6.39-5.387.634-7.401 7.025-2.022 6.398 5.387zM249.234 119.315l-.635 7.409-7.025 2.015-6.39-5.38.634-7.401 7.025-2.022 6.391 5.379zM197.115 79.865l-6.737 4.9-.023 7.542 6.723 2.642 6.745-4.907.015-7.542-6.723-2.635zM33.158 98.57l-6.737 4.908-.023 7.541 6.723 2.635 6.745-4.9.015-7.542-6.723-2.642z\",\"stroke\":_vm.accentColor,\"stroke-width\":\".977\",\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\"}}),_c('path',{attrs:{\"d\":\"M7.876 78.085 5.478 73.87.77 75.015l3.261-3.587-2.538-4.125 4.413 2 3.143-3.69-.538 4.812 4.479 1.844-4.745.982-.37 4.834zM115.403 13.464l-3.158-3.675-4.406 2.007 2.524-4.132-3.269-3.572 4.708 1.122L114.185 1l.391 4.826 4.745.967-4.471 1.86.553 4.81zM149.769 65.355l-4.804-.627-1.933 4.442-.886-4.76-4.826-.464 4.258-2.317-1.048-4.73 3.52 3.328 4.17-2.45-2.081 4.368 3.63 3.21zM22.473 15.693l-4.804-.627-1.934 4.442-.885-4.76-4.827-.464 4.258-2.318-1.048-4.73 3.52 3.329 4.17-2.458-2.081 4.376 3.63 3.21zM95.33 128.738l-2.037-4.391-4.79.738 3.55-3.291-2.177-4.332 4.229 2.361 3.439-3.409-.938 4.752 4.31 2.214-4.811.583-.775 4.775zM163.973 96.15l-3.336-3.513-4.302 2.236 2.31-4.258-3.454-3.402 4.768.886 2.162-4.34.634 4.805 4.79.723-4.369 2.088.797 4.775zM230.36 29.447l-2.605-4.088-4.642 1.365 3.085-3.734-2.738-4 4.509 1.779 2.952-3.837-.295 4.833 4.56 1.631-4.693 1.203-.133 4.848zM263.641 95.862l-4.775-.812-2.111 4.361-.701-4.796-4.796-.65 4.339-2.147-.856-4.767 3.38 3.468 4.272-2.295-2.25 4.288 3.498 3.35z\",\"fill\":_vm.accentColor,\"stroke\":_vm.accentColor,\"stroke-width\":\".977\",\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\"}})]),_c('h1',{staticClass:\"h1\"},[_vm._v(_vm._s('Woo-hoo! We received your application!'))])]),_c('div',{staticClass:\"popup-context-box-inner\"},[_c('div',{staticClass:\"fix\"},[_c('p',[_vm._v(\"We sent a confirmation email to \"+_vm._s(_vm.userDetail.email)+\".\")])]),_c('div',{staticClass:\"button-wrapper\"},[_c('button',{staticClass:\"btn-primary uk-modal-close\",style:({ backgroundColor: _vm.accentColor }),attrs:{\"type\":\"button\",\"bx-attr\":\"submissions-navigation-thanks-button\"},on:{\"click\":_vm.navigateToSiteSelection}},[_vm._v(\" \"+_vm._s('Submit Another Application')+\" \")])])])])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { Component, Mixins } from 'vue-property-decorator'\nimport commonEntry from '@/store/modules/commonEntry'\nimport APP_UTILITIES from '@/utilities/commonFunctions'\nimport APP_CONST from '@/constants/AppConst'\nimport applicationStore from '@/store/modules/applications/applicationStore'\nimport AccountSettings from '@/mixins/accountSettings.mixin'\nimport DeviceWidthCheckerMixin from '@/mixins/deviceWidthChecker.mixin'\nimport { getDecodedToken } from '@/services/common/httpClient'\n@Component\nexport class ApplicationConfirmation extends Mixins(AccountSettings, DeviceWidthCheckerMixin) {\n get userDetail() {\n return commonEntry.userDetail\n }\n\n get selectedChildData() {\n return applicationStore.selectedChildData\n }\n\n get siteList() {\n return applicationStore.sitesList\n }\n\n get applicationData() {\n return applicationStore.applicationDataInfo\n }\n\n onClick() {\n this.$gtm &&\n this.$gtm.trackEvent({\n event: null,\n category: 'Application Confirmation',\n action: 'click',\n label: 'Application Save Click Event Activated',\n value: 5000,\n noninteraction: false\n })\n }\n\n navigateToSiteSelection() {\n applicationStore.sitesList.forEach((element) => {\n if (element.selected) {\n element.selected = false\n }\n })\n applicationStore.mutateChildrenDropdown({\n ...applicationStore.childrenDropdownObj,\n id: 0,\n value: 'Select child'\n })\n this.selectedChildData.id = 0\n applicationStore.getScholarsByGuardian()\n applicationStore.getSitesByProgramId(this.applicationData.programId)\n const empty_Site_ids: any = []\n localStorage.setItem('all_selected_sites', JSON.stringify(empty_Site_ids))\n localStorage.setItem('scholar_selected', JSON.stringify(false))\n if (this.siteList.length == 0) {\n this.$router && this.$router.push({ name: 'Select Scholar' })\n } else {\n this.$router && this.$router.push({ name: 'Site/Session List' })\n }\n }\n\n navigateToDashboard() {\n localStorage.removeItem('all_selected_sites')\n this.$router && this.$router.push(APP_CONST.APP_ROUTES.DASHBOARD.path)\n }\n\n async mounted() {\n if (this.$route !== undefined && this.$gtm !== undefined) {\n this.$gtm.trackView(this.$route.name, this.$route.path)\n }\n const { userId: user_id }: any = await getDecodedToken()\n if (user_id) {\n await commonEntry.fetchUserDetails(parseInt(user_id))\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\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\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\nimport { ApplicationConfirmation } from './ApplicationConfirmation'\nexport default ApplicationConfirmation\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApplicationConfirmation.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApplicationConfirmation.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ApplicationConfirmation.vue?vue&type=template&id=66b3b851&scoped=true&\"\nimport script from \"./ApplicationConfirmation.vue?vue&type=script&lang=ts&\"\nexport * from \"./ApplicationConfirmation.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ApplicationConfirmation.less?vue&type=style&index=0&id=66b3b851&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"66b3b851\",\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"img/arrow-right.88fc1ae0.svg\";","import mod from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!./SessionTimeout.less?vue&type=style&index=0&id=7be63631&lang=less&scoped=true&\"; export default mod; export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!./SessionTimeout.less?vue&type=style&index=0&id=7be63631&lang=less&scoped=true&\""],"sourceRoot":""}