{"version":3,"sources":["webpack:///./node_modules/core-js/modules/es.regexp.test.js","webpack:///./src/models/reservation/paxValidationError.ts","webpack:///./node_modules/core-js/modules/es.string.match.js","webpack:///./node_modules/core-js/modules/es.string.trim.js","webpack:///./node_modules/core-js/internals/array-fill.js","webpack:///./src/app/reservation/views/PaxInfo.vue","webpack:///./src/app/reservation/components/PaxForm.vue","webpack:///./src/app/reservation/components/PaxForm.vue?0aba","webpack:///./src/app/reservation/components/PaxForm.vue?de60","webpack:///./src/app/reservation/components/PaxForm.vue?9e60","webpack:///./src/app/reservation/views/PaxInfo.vue?19c8","webpack:///./src/app/reservation/views/PaxInfo.vue?57eb","webpack:///./src/app/reservation/views/PaxInfo.vue?3901","webpack:///./node_modules/core-js/internals/string-trim-forced.js","webpack:///./node_modules/core-js/modules/es.array.fill.js","webpack:///./node_modules/core-js/modules/es.array.map.js","webpack:///./src/app/common/components/DatePicker.vue","webpack:///./src/app/common/components/DatePicker.vue?0f69","webpack:///./src/app/common/components/DatePicker.vue?7bb2","webpack:///./src/app/common/components/DatePicker.vue?efa1"],"names":["$","call","isCallable","anObject","toString","DELEGATES_TO_EXEC","execCalled","re","exec","apply","this","arguments","test","nativeTest","target","proto","forced","S","R","string","result","PaxValidationError","roomIndex","p_RoomIndex","p_PaxIndex","p_PaxFormEnum","p_Value","PaxValidationErrorRoom","paxIndex","PaxValidationErrorValue","value","fixRegExpWellKnownSymbolLogic","isNullOrUndefined","toLength","requireObjectCoercible","getMethod","advanceStringIndex","regExpExec","MATCH","nativeMatch","maybeCallNative","regexp","O","matcher","undefined","RegExp","rx","res","done","global","fullUnicode","unicode","lastIndex","A","n","matchStr","$trim","trim","forcedStringTrimMethod","toObject","toAbsoluteIndex","lengthOfArrayLike","module","exports","length","argumentsLength","index","end","endPos","render","_vm","_c","_self","_setupProxy","staticClass","staticStyle","on","onClickBack","attrs","_v","_s","i18n","getRezToursLanguageEnum","previous","toUpperCase","onPaymentClick","next","$event","type","indexOf","_k","keyCode","key","_l","getRoomList","room","listPax","roomPax","roomPaxIndex","paxTitleList","msgErrorValidationByRoomPax","onCancelClick","cancel","staticRenderFns","passenger","getPax","indexRoom","indexPax","title","class","paxValidationError","getPaxFormEnum","Gender","model","gender","callback","$$v","expression","getPaxGenderList","paxGender","domProps","label","_e","lastName","directives","name","rawName","LastName","getPaxDisabled","composing","firstName","FirstName","dateOfBirth","Birthdate","birthDate","allergies","Allergies","useSameAddress","_q","sameAddress","custom","contactAndAddress","telephone","Telephone","email","Email","workPhone","telephoneWork","TelephoneWork","workPhoneExtension","telephoneWorkExt","TelephoneWorkExt","address","getOptionalAsterisk","Address","city","City","province","Province","postal","Postal","asteriskFieldMandatory","PaxForm","components","DatePicker","sexF","sexM","$tStore","state","authenticationModal","isAuth","authType","LoginTypeEnum","Pax","PaxFormEnum","reservationState","detail","listRoom","Agent","phoneNumber","cleaned","replace","match","postalCode","substr","payload","ReservationPayload","Mutations","SetReservationPaxLastName","commit","SetReservationPaxFirstName","tel1","formatPhoneNumber","getFormatPhoneNumber","SetReservationPaxTelephone","SetReservationPaxEmail","SetReservationPaxAddress","SetReservationPaxCity","SetReservationPaxProvince","SetReservationPaxPostal","SetReservationPaxGender","SetReservationPaxBirthdate","SetReservationPaxAllergies","tel2","SetReservationPaxTelephoneWork","telExt","SetReservationPaxTelephoneWorkExt","SetReservationPaxSameAddress","Vue","__decorate","Prop","Number","required","Object","Component","component","validateQuery","p_Query","code","process","VUE_APP_PAXPAGE","PaxInfo","reservCode","msgErrorValidation","eMail","regexEmail","regexPhoneNumber","errorPassengers","hasValidationError","forEach","pax","add","isRequired","moment","isValid","isAfter","isBefore","isInvalid","isValidPhoneNumber","isValidEmail","p_To","p_From","p_Next","query","RoutesEnum","Package","$router","TravelBag","$route","unshift","SetShowModalCancelReservation","validePaxInfo","payloadLanguage","SetReservationPaxLanguage","g_Language","Actions","SetPassengerReservation","dispatch","response","status","configState","setting","license","authIsRequired","payloadModal","ModalInformativePayload","DisplayModalInformative","serverErrorTitle","serverErrorMsg","Payment","Mixins","BeforeRouteEnterMixin","PROPER_FUNCTION_NAME","PROPER","fails","whitespaces","non","METHOD_NAME","fill","addToUnscopables","$map","map","arrayMethodHasSpeciesSupport","HAS_SPECIES_SUPPORT","callbackfn","inputProxy","modifiers","id","disabled","getDateFormat","isOpen","onArrowLeftClick","onTableSelectionClick","tableDisplayed","getDatePickerTableEnum","Calendar","getMonthSelected","getYearSelected","Month","Year","yearIndex","onArrowRightClick","getDaysAbbr","daysOfWeekAbbr","getCalendar","weeks","day","momentDay","format","classCss","classCssSelectedDate","onDayClick","row","col","classCssSelectedMonth","parseInt","onMonthClick","getMonthsAbbr","classCssSelectedYear","onYearClick","inputValue","DatePickerTableEnum","momentContext","momentDateSelected","dateFormat","tmpMoment","$emit","getMonthsNames","month","year","startWeek","startOf","week","endWeek","calendar","push","Array","i","DatePickerDayInformation","window","addEventListener","onClickExternDatepicker","removeEventListener","e","$el","contains","p_MomentDay","p_MonthIndex","p_Year","p_momentDay","isSame","subtract","Model","String","default","Boolean","p_MonthSelected"],"mappings":"kHAEA,EAAQ,QACR,IAAIA,EAAI,EAAQ,QACZC,EAAO,EAAQ,QACfC,EAAa,EAAQ,QACrBC,EAAW,EAAQ,QACnBC,EAAW,EAAQ,QAEnBC,EAAoB,WACtB,IAAIC,GAAa,EACbC,EAAK,OAKT,OAJAA,EAAGC,KAAO,WAER,OADAF,GAAa,EACN,IAAIE,KAAKC,MAAMC,KAAMC,aAEJ,IAAnBJ,EAAGK,KAAK,QAAmBN,EAPZ,GAUpBO,EAAa,IAAID,KAIrBZ,EAAE,CAAEc,OAAQ,SAAUC,OAAO,EAAMC,QAASX,GAAqB,CAC/DO,KAAM,SAAUK,GACd,IAAIC,EAAIf,EAASO,MACbS,EAASf,EAASa,GAClBT,EAAOU,EAAEV,KACb,IAAKN,EAAWM,GAAO,OAAOP,EAAKY,EAAYK,EAAGC,GAClD,IAAIC,EAASnB,EAAKO,EAAMU,EAAGC,GAC3B,OAAe,OAA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4B,EAAoBvB,MAEjDhS,KAAKwT,cAAgBzF,IAAO/N,KAAKwT,eAAe3F,IAAI,EAAG,KAIvD7N,KAAKkS,gBAEZ,EApN0B,CAAS5F,QAGDC,gBAAlC+I,eAAM,SAAU,CAAExQ,KAAMyQ,UAAS,4BACGhJ,gBAApCC,eAAK,CAAE1H,KAAMyQ,OAAQC,QAAS,MAAK,yBACKjJ,gBAAxCC,eAAK,CAAE1H,KAAM2Q,QAASD,SAAS,KAAQ,+BALvB9L,EAAU,gBAD9BkD,QACoBlD,OAwNhB6J,EAxNgB7J,KAwNrB,SAAK6J,GAEDA,8BACAA,wBACAA,uBAJJ,CAAKA,MAAmB,KAKvB,IAEKiB,EAAwB,gBAK1B,WAAYQ,EAAqBU,GAAuB,uBAEpD1V,KAAKyS,UAAYuC,EACbA,EAAYtC,OAAO,QAAUgD,EAE7B1V,KAAK2S,SAAW,2BAIhB3S,KAAK2S,SAAW,kCClPyY,I,YCOra9F,EAAY,eACd,EACAlJ,EACAkC,GACA,EACA,KACA,KACA,MAIa,OAAAgH,E","file":"js/chunk-03fa7b8e.73aa80d2.js","sourcesContent":["'use strict';\n// TODO: Remove from `core-js@4` since it's moved to entry points\nrequire('../modules/es.regexp.exec');\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar isCallable = require('../internals/is-callable');\nvar anObject = require('../internals/an-object');\nvar toString = require('../internals/to-string');\n\nvar DELEGATES_TO_EXEC = function () {\n var execCalled = false;\n var re = /[ac]/;\n re.exec = function () {\n execCalled = true;\n return /./.exec.apply(this, arguments);\n };\n return re.test('abc') === true && execCalled;\n}();\n\nvar nativeTest = /./.test;\n\n// `RegExp.prototype.test` method\n// https://tc39.es/ecma262/#sec-regexp.prototype.test\n$({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, {\n test: function (S) {\n var R = anObject(this);\n var string = toString(S);\n var exec = R.exec;\n if (!isCallable(exec)) return call(nativeTest, R, string);\n var result = call(exec, R, string);\n if (result === null) return false;\n anObject(result);\n return true;\n }\n});\n","import { PaxFormEnum } from \"@/apiManager/_common/enums\";\r\n\r\nclass PaxValidationError\r\n{\r\n roomIndex : { [id: number] : PaxValidationErrorRoom; } = {};\r\n add(p_RoomIndex: number, p_PaxIndex: number, p_PaxFormEnum: PaxFormEnum, p_Value: string)\r\n {\r\n if (!this.roomIndex[p_RoomIndex])\r\n {\r\n this.roomIndex[p_RoomIndex] = new PaxValidationErrorRoom();\r\n }\r\n\r\n if (!this.roomIndex[p_RoomIndex].paxIndex[p_PaxIndex])\r\n {\r\n this.roomIndex[p_RoomIndex].paxIndex[p_PaxIndex] = new PaxValidationErrorValue();\r\n }\r\n\r\n this.roomIndex[p_RoomIndex].paxIndex[p_PaxIndex].value[p_PaxFormEnum] = p_Value;\r\n }\r\n}\r\n\r\nexport class PaxValidationErrorRoom\r\n{\r\n paxIndex : { [id: number] : PaxValidationErrorValue; } = {};\r\n}\r\n\r\nexport class PaxValidationErrorValue\r\n{\r\n value : { [id in PaxFormEnum]? : string; } = {};\r\n}\r\n\r\nexport default PaxValidationError;","'use strict';\nvar call = require('../internals/function-call');\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar anObject = require('../internals/an-object');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar getMethod = require('../internals/get-method');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar regExpExec = require('../internals/regexp-exec-abstract');\n\n// @@match logic\nfixRegExpWellKnownSymbolLogic('match', function (MATCH, nativeMatch, maybeCallNative) {\n return [\n // `String.prototype.match` method\n // https://tc39.es/ecma262/#sec-string.prototype.match\n function match(regexp) {\n var O = requireObjectCoercible(this);\n var matcher = isNullOrUndefined(regexp) ? undefined : getMethod(regexp, MATCH);\n return matcher ? call(matcher, regexp, O) : new RegExp(regexp)[MATCH](toString(O));\n },\n // `RegExp.prototype[@@match]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@match\n function (string) {\n var rx = anObject(this);\n var S = toString(string);\n var res = maybeCallNative(nativeMatch, rx, S);\n\n if (res.done) return res.value;\n\n if (!rx.global) return regExpExec(rx, S);\n\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n var A = [];\n var n = 0;\n var result;\n while ((result = regExpExec(rx, S)) !== null) {\n var matchStr = toString(result[0]);\n A[n] = matchStr;\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n n++;\n }\n return n === 0 ? null : A;\n }\n ];\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $trim = require('../internals/string-trim').trim;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\n// `String.prototype.trim` method\n// https://tc39.es/ecma262/#sec-string.prototype.trim\n$({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {\n trim: function trim() {\n return $trim(this);\n }\n});\n","'use strict';\nvar toObject = require('../internals/to-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.fill` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.fill\nmodule.exports = function fill(value /* , start = 0, end = @length */) {\n var O = toObject(this);\n var length = lengthOfArrayLike(O);\n var argumentsLength = arguments.length;\n var index = toAbsoluteIndex(argumentsLength > 1 ? arguments[1] : undefined, length);\n var end = argumentsLength > 2 ? arguments[2] : undefined;\n var endPos = end === undefined ? length : toAbsoluteIndex(end, length);\n while (endPos > index) O[index++] = value;\n return O;\n};\n","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[_c('div',{staticClass:\"form-passager bg-travelBag productResume px-2 px-md-5\"},[_c('div',{staticClass:\"d-flex justify-content-center justify-content-md-end pr-md-5\",staticStyle:{\"position\":\"relative\",\"top\":\"40px\"}},[_c('button',{staticClass:\"b-secondary mr-4\",on:{\"click\":_vm.onClickBack}},[_c('pcv-icon',{staticClass:\"b-secondary__icon\",attrs:{\"icon\":['fal','arrow-circle-left']}}),_vm._v(\" \"),_c('div',{staticClass:\"b-secondary__tag\"},[_c('span',{staticClass:\"px-2\"},[_vm._v(\"\\r\\n \"+_vm._s(_vm.i18n(_vm.getRezToursLanguageEnum.previous).toUpperCase())+\"\\r\\n \")])])],1),_vm._v(\" \"),_c('button',{staticClass:\"b-primary\",on:{\"click\":_vm.onPaymentClick}},[_c('div',{staticClass:\"b-primary__tag\"},[_vm._v(\"\\r\\n \"+_vm._s(_vm.i18n(_vm.getRezToursLanguageEnum.next).toUpperCase())+\"\\r\\n \")]),_vm._v(\" \"),_c('pcv-icon',{staticClass:\"b-primary__icon\",attrs:{\"icon\":['fal','arrow-circle-right']}})],1)]),_vm._v(\" \"),_c('div',{staticClass:\"pt-5 mb-3 pt-md-0\",on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\"))return null;return _vm.onPaymentClick.apply(null, arguments)}}},_vm._l((_vm.getRoomList),function(room,roomIndex){return _c('div',{key:room.index},[_c('fieldset',[_c('legend',{staticClass:\"d-flex justify-content-center justify-content-md-start pl-md-3 pl-md-5 pt-5 pt-md-0 pb-3 m-0\"},[_c('div',{staticClass:\"d-flex justify-content-center justify-content-md-start align-items-center titleRoom\"},[_c('pcv-icon',{staticClass:\"iconbed pr-2\",attrs:{\"icon\":['fas','bed']}}),_vm._v(\" \"),_c('span',[_vm._v(_vm._s(_vm.i18n(_vm.getRezToursLanguageEnum.room))+\" \"+_vm._s(room.index))])],1)]),_vm._v(\" \"),_vm._l((room.listPax),function(roomPax,roomPaxIndex){return _c('div',{key:roomPax.index,staticClass:\"pb-4 py-3\"},[_c('pax-form',{attrs:{\"index-room\":roomIndex,\"index-pax\":roomPaxIndex,\"pax-title-list\":_vm.paxTitleList,\"pax-validation-error\":_vm.msgErrorValidationByRoomPax(roomIndex, roomPaxIndex)}})],1)})],2)])}),0)]),_vm._v(\" \"),_c('div',{staticClass:\"form-passager container px-1 px-md-5 pt-3\"},[_c('div',{staticClass:\"d-flex justify-content-center justify-content-md-between px-md-5\"},[_c('div',{staticClass:\"btn-cancel-hide\"},[_c('button',{staticClass:\"b-danger\",on:{\"click\":_vm.onCancelClick}},[_c('div',{staticClass:\"b-danger__tag\"},[_c('span',[_vm._v(_vm._s(_vm.i18n(_vm.getRezToursLanguageEnum.cancel).toUpperCase()))])]),_vm._v(\" \"),_c('pcv-icon',{staticClass:\"b-danger__icon\",attrs:{\"icon\":['fal','times-circle']}})],1)]),_vm._v(\" \"),_c('div',{staticClass:\"d-flex\"},[_c('button',{staticClass:\"b-secondary mr-4\",on:{\"click\":_vm.onClickBack}},[_c('pcv-icon',{staticClass:\"b-secondary__icon\",attrs:{\"icon\":['fal','arrow-circle-left']}}),_vm._v(\" \"),_c('div',[_c('span',{staticClass:\"b-secondary__tag\"},[_vm._v(\"\\r\\n \"+_vm._s(_vm.i18n(_vm.getRezToursLanguageEnum.previous).toUpperCase())+\"\\r\\n \")])])],1),_vm._v(\" \"),_c('button',{staticClass:\"b-primary\",on:{\"click\":_vm.onPaymentClick}},[_c('div',{staticClass:\"b-primary__tag\"},[_c('span',[_vm._v(_vm._s(_vm.i18n(_vm.getRezToursLanguageEnum.next).toUpperCase()))])]),_vm._v(\" \"),_c('pcv-icon',{staticClass:\"b-primary__icon\",attrs:{\"icon\":['fal','arrow-circle-right']}})],1)])])]),_vm._v(\" \"),_c('div',{staticClass:\"d-flex justify-content-center form-passager container px-1 px-md-5 pt-3 pb-3 pb-sm-4\"},[_c('div',{staticClass:\"btn-cancel-show\"},[_c('button',{staticClass:\"b-danger\",on:{\"click\":_vm.onCancelClick}},[_c('div',{staticClass:\"b-danger__tag\"},[_vm._v(\"\\r\\n \"+_vm._s(_vm.i18n(_vm.getRezToursLanguageEnum.cancel).toUpperCase())+\"\\r\\n \")]),_vm._v(\" \"),_c('pcv-icon',{staticClass:\"b-danger__icon\",attrs:{\"icon\":['fal','times-circle']}})],1)])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[_c('fieldset',{staticClass:\"container p-0 px-md-5 form-passager order\"},[_c('div',{staticClass:\"box-passager\"},[_c('div',{staticClass:\"d-flex passagerNumber align-items-baseline\"},[_c('div',{staticClass:\"icon\"},[_c('pcv-icon',{staticClass:\"icon\",attrs:{\"icon\":['fas','user-circle']}})],1),_vm._v(\" \"),_c('div',{staticClass:\"pl-2\"},[_c('legend',{staticClass:\"type p-0 m-0\"},[_vm._v(_vm._s(_vm.i18n(_vm.getRezToursLanguageEnum.passenger))+\" \"+_vm._s(_vm.getPax.index))])])]),_vm._v(\" \"),_c('div',{staticClass:\"form-row px-4 pt-0 pb-0\"},[_c('div',{staticClass:\"form-group col-md-2\"},[_c('label',{attrs:{\"for\":'gender-' + _vm.indexRoom + _vm.indexPax}},[_vm._v(_vm._s(_vm.i18n(_vm.getRezToursLanguageEnum.title)))]),_vm._v(\" \"),_c('b-form-select',{staticClass:\"form-control\",class:_vm.paxValidationError.value[_vm.getPaxFormEnum.Gender] ? 'error-border-red' : '',attrs:{\"id\":'title-' + _vm.indexRoom + _vm.indexPax,\"autocomplete\":\"off\"},model:{value:(_vm.gender),callback:function ($$v) {_vm.gender=$$v},expression:\"gender\"}},_vm._l((_vm.getPaxGenderList),function(paxGender){return _c('option',{key:paxGender.value,domProps:{\"value\":paxGender.value}},[_vm._v(\"\\n \"+_vm._s(paxGender.label)+\"\\n \")])}),0),_vm._v(\" \"),(_vm.paxValidationError.value[_vm.getPaxFormEnum.Gender])?_c('div',[_c('div',{staticClass:\"d-flex align-items-center pt-1 error-style-red\"},[_c('pcv-icon',{staticClass:\"icon mr-1\",attrs:{\"icon\":['far','exclamation-circle']}}),_vm._v(\"\\n \"+_vm._s(_vm.paxValidationError.value[_vm.getPaxFormEnum.Gender])+\"\\n \")],1)]):_vm._e()],1),_vm._v(\" \"),_c('div',{staticClass:\"form-group col-md\"},[_c('label',{attrs:{\"for\":'lastName-' + _vm.indexRoom + _vm.indexPax}},[_vm._v(_vm._s(_vm.i18n(_vm.getRezToursLanguageEnum.lastName))+\" *\")]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.lastName),expression:\"lastName\"}],staticClass:\"form-control\",class:_vm.paxValidationError.value[_vm.getPaxFormEnum.LastName] ? 'error-border-red' : '',attrs:{\"id\":'lastName-' + _vm.indexRoom + _vm.indexPax,\"disabled\":_vm.getPaxDisabled,\"autocomplete\":\"off\"},domProps:{\"value\":(_vm.lastName)},on:{\"input\":function($event){if($event.target.composing)return;_vm.lastName=$event.target.value}}}),_vm._v(\" \"),(_vm.paxValidationError.value[_vm.getPaxFormEnum.LastName])?_c('div',[_c('div',{staticClass:\"d-flex align-items-center pt-1 error-style-red\"},[_c('pcv-icon',{staticClass:\"icon mr-1\",attrs:{\"icon\":['far','exclamation-circle']}}),_vm._v(\"\\n \"+_vm._s(_vm.paxValidationError.value[_vm.getPaxFormEnum.LastName])+\"\\n \")],1)]):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"form-group col-md\"},[_c('label',{attrs:{\"for\":'firstName-' + _vm.indexRoom + _vm.indexPax}},[_vm._v(_vm._s(_vm.i18n(_vm.getRezToursLanguageEnum.firstName))+\" *\")]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.firstName),expression:\"firstName\"}],staticClass:\"form-control\",class:_vm.paxValidationError.value[_vm.getPaxFormEnum.FirstName] ? 'error-border-red' : '',attrs:{\"id\":'firstName-' + _vm.indexRoom + _vm.indexPax,\"disabled\":_vm.getPaxDisabled,\"autocomplete\":\"off\"},domProps:{\"value\":(_vm.firstName)},on:{\"input\":function($event){if($event.target.composing)return;_vm.firstName=$event.target.value}}}),_vm._v(\" \"),(_vm.paxValidationError.value[_vm.getPaxFormEnum.FirstName])?_c('div',[_c('div',{staticClass:\"d-flex align-items-center pt-1 error-style-red\"},[_c('pcv-icon',{staticClass:\"icon mr-1\",attrs:{\"icon\":['far','exclamation-circle']}}),_vm._v(\"\\n \"+_vm._s(_vm.paxValidationError.value[_vm.getPaxFormEnum.FirstName])+\"\\n \")],1)]):_vm._e()])]),_vm._v(\" \"),_c('div',{staticClass:\"form-row px-4 pt-0 pb-0\"},[_c('div',{staticClass:\"form-group col-md-6\"},[_c('label',{attrs:{\"for\":'birthdate-' + _vm.indexRoom + _vm.indexPax}},[_vm._v(_vm._s(_vm.i18n(_vm.getRezToursLanguageEnum.dateOfBirth))+\" *\")]),_vm._v(\" \"),_c('date-picker',{class:_vm.paxValidationError.value[_vm.getPaxFormEnum.Birthdate] ? 'error-border-red' : '',attrs:{\"id\":'birthdate-' + _vm.indexRoom + _vm.indexPax,\"autocomplete\":\"off\"},model:{value:(_vm.birthDate),callback:function ($$v) {_vm.birthDate=$$v},expression:\"birthDate\"}}),_vm._v(\" \"),(_vm.paxValidationError.value[_vm.getPaxFormEnum.Birthdate])?_c('div',[_c('div',{staticClass:\"d-flex align-items-center pt-2 error-style-red\"},[_c('pcv-icon',{staticClass:\"icon mr-1\",attrs:{\"icon\":['far','exclamation-circle']}}),_vm._v(\"\\n \"+_vm._s(_vm.paxValidationError.value[_vm.getPaxFormEnum.Birthdate])+\"\\n \")],1)]):_vm._e()],1),_vm._v(\" \"),_c('div',{staticClass:\"form-group col-md\"},[_c('label',{attrs:{\"for\":'allergies-' + _vm.indexRoom + _vm.indexPax}},[_vm._v(_vm._s(_vm.i18n(_vm.getRezToursLanguageEnum.allergies)))]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.allergies),expression:\"allergies\"}],staticClass:\"form-control\",class:_vm.paxValidationError.value[_vm.getPaxFormEnum.Allergies] ? 'error-border-red' : '',attrs:{\"id\":'allergies-' + _vm.indexRoom + _vm.indexPax,\"autocomplete\":\"off\"},domProps:{\"value\":(_vm.allergies)},on:{\"input\":function($event){if($event.target.composing)return;_vm.allergies=$event.target.value}}}),_vm._v(\" \"),(_vm.paxValidationError.value[_vm.getPaxFormEnum.Allergies])?_c('div',[_c('div',{staticClass:\"d-flex align-items-center pt-1 error-style-red\"},[_c('pcv-icon',{staticClass:\"icon mr-1\",attrs:{\"icon\":['far','exclamation-circle']}}),_vm._v(\"\\n \"+_vm._s(_vm.paxValidationError.value[_vm.getPaxFormEnum.Allergies])+\"\\n \")],1)]):_vm._e()])]),_vm._v(\" \"),(!(_vm.indexRoom === 0 && _vm.indexPax === 0))?_c('div',{staticClass:\"form-row px-1\"},[_c('div',{staticClass:\"d-flex flex-column flex-md-row px-4 px-md-4 pb-2 contact-copy w-100\"},[_c('div',{staticClass:\"d-flex align-items-center\"},[_c('div',{staticClass:\"d-flex pr-2\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.useSameAddress),expression:\"useSameAddress\"}],attrs:{\"type\":\"radio\",\"id\":_vm.indexRoom + '-' + _vm.indexPax + '-1'},domProps:{\"value\":true,\"checked\":_vm._q(_vm.useSameAddress,true)},on:{\"change\":function($event){_vm.useSameAddress=true}}})]),_vm._v(\" \"),_c('label',{staticClass:\"d-flex pt-2\",attrs:{\"for\":_vm.indexRoom + '-' + _vm.indexPax + '-1'}},[_vm._v(\"\\n \"+_vm._s(_vm.i18n(_vm.getRezToursLanguageEnum.sameAddress))+\"\\n \")])]),_vm._v(\" \"),_c('div',{staticClass:\"d-flex align-items-center pl-md-3\"},[_c('div',{staticClass:\"d-flex pr-2\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.useSameAddress),expression:\"useSameAddress\"}],attrs:{\"type\":\"radio\",\"id\":_vm.indexRoom + '-' + _vm.indexPax + '-2'},domProps:{\"value\":false,\"checked\":_vm._q(_vm.useSameAddress,false)},on:{\"change\":function($event){_vm.useSameAddress=false}}})]),_vm._v(\" \"),_c('label',{staticClass:\"d-flex pt-2\",attrs:{\"for\":_vm.indexRoom + '-' + _vm.indexPax + '-2'}},[_vm._v(\"\\n \"+_vm._s(_vm.i18n(_vm.getRezToursLanguageEnum.custom))+\"\\n \")])])])]):_vm._e(),_vm._v(\" \"),(!_vm.useSameAddress || (_vm.indexRoom === 0 && _vm.indexPax === 0))?[_c('div',{staticClass:\"contact-adress-box px-4 py-2\"},[_c('div',{staticClass:\"title pb-1\"},[_vm._v(_vm._s(_vm.i18n(_vm.getRezToursLanguageEnum.contactAndAddress))+\":\")]),_vm._v(\" \"),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"form-group col-md\"},[_c('label',{attrs:{\"for\":'telephone-' + _vm.indexRoom + _vm.indexPax}},[_vm._v(_vm._s(_vm.i18n(_vm.getRezToursLanguageEnum.telephone))+\" *\")]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.telephone),expression:\"telephone\"}],staticClass:\"form-control\",class:_vm.paxValidationError.value[_vm.getPaxFormEnum.Telephone] ? 'error-border-red' : '',attrs:{\"id\":'telephone-' + _vm.indexRoom + _vm.indexPax,\"disabled\":_vm.getPaxDisabled,\"autocomplete\":\"off\"},domProps:{\"value\":(_vm.telephone)},on:{\"input\":function($event){if($event.target.composing)return;_vm.telephone=$event.target.value}}}),_vm._v(\" \"),(_vm.paxValidationError.value[_vm.getPaxFormEnum.Telephone])?_c('div',[_c('div',{staticClass:\"d-flex align-items-center pt-1 error-style-white\"},[_c('pcv-icon',{staticClass:\"icon mr-1\",attrs:{\"icon\":['far','exclamation-circle']}}),_vm._v(\"\\n \"+_vm._s(_vm.paxValidationError.value[_vm.getPaxFormEnum.Telephone])+\"\\n \")],1)]):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"form-group col-md\"},[_c('label',{attrs:{\"for\":'email-' + _vm.indexRoom + _vm.indexPax}},[_vm._v(_vm._s(_vm.i18n(_vm.getRezToursLanguageEnum.email))+\" *\")]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.email),expression:\"email\"}],staticClass:\"form-control\",class:_vm.paxValidationError.value[_vm.getPaxFormEnum.Email] ? 'error-border-red' : '',attrs:{\"id\":'email-' + _vm.indexRoom + _vm.indexPax,\"disabled\":_vm.getPaxDisabled,\"autocomplete\":\"off\"},domProps:{\"value\":(_vm.email)},on:{\"input\":function($event){if($event.target.composing)return;_vm.email=$event.target.value}}}),_vm._v(\" \"),(_vm.paxValidationError.value[_vm.getPaxFormEnum.Email])?_c('div',[_c('div',{staticClass:\"d-flex align-items-center pt-1 error-style-white\"},[_c('pcv-icon',{staticClass:\"icon mr-1\",attrs:{\"icon\":['far','exclamation-circle']}}),_vm._v(\"\\n \"+_vm._s(_vm.paxValidationError.value[_vm.getPaxFormEnum.Email])+\"\\n \")],1)]):_vm._e()])]),_vm._v(\" \"),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"form-group col-md\"},[_c('label',{attrs:{\"for\":'telephoneWork-' + _vm.indexRoom + _vm.indexPax}},[_vm._v(_vm._s(_vm.i18n(_vm.getRezToursLanguageEnum.workPhone)))]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.telephoneWork),expression:\"telephoneWork\"}],staticClass:\"form-control\",class:_vm.paxValidationError.value[_vm.getPaxFormEnum.TelephoneWork] ? 'error-border-red' : '',attrs:{\"id\":'telephoneWork-' + _vm.indexRoom + _vm.indexPax,\"autocomplete\":\"off\"},domProps:{\"value\":(_vm.telephoneWork)},on:{\"input\":function($event){if($event.target.composing)return;_vm.telephoneWork=$event.target.value}}}),_vm._v(\" \"),(_vm.paxValidationError.value[_vm.getPaxFormEnum.TelephoneWork])?_c('div',[_c('div',{staticClass:\"d-flex align-items-center pt-1 error-style-white\"},[_c('pcv-icon',{staticClass:\"icon mr-1\",attrs:{\"icon\":['far','exclamation-circle']}}),_vm._v(\"\\n \"+_vm._s(_vm.paxValidationError.value[_vm.getPaxFormEnum.TelephoneWork])+\"\\n \")],1)]):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"form-group col-md\"},[_c('label',{attrs:{\"for\":'telephoneWorkExt-' + _vm.indexRoom + _vm.indexPax}},[_vm._v(_vm._s(_vm.i18n(_vm.getRezToursLanguageEnum.workPhoneExtension)))]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.telephoneWorkExt),expression:\"telephoneWorkExt\"}],staticClass:\"form-control\",class:_vm.paxValidationError.value[_vm.getPaxFormEnum.TelephoneWorkExt] ? 'error-border-red' : '',attrs:{\"id\":'telephoneWorkExt-' + _vm.indexRoom + _vm.indexPax,\"autocomplete\":\"off\"},domProps:{\"value\":(_vm.telephoneWorkExt)},on:{\"input\":function($event){if($event.target.composing)return;_vm.telephoneWorkExt=$event.target.value}}}),_vm._v(\" \"),(_vm.paxValidationError.value[_vm.getPaxFormEnum.TelephoneWorkExt])?_c('div',[_c('div',{staticClass:\"d-flex align-items-center pt-1 error-style-white\"},[_c('pcv-icon',{staticClass:\"icon mr-1\",attrs:{\"icon\":['far','exclamation-circle']}}),_vm._v(\"\\n \"+_vm._s(_vm.paxValidationError.value[_vm.getPaxFormEnum.TelephoneWorkExt])+\"\\n \")],1)]):_vm._e()])]),_vm._v(\" \"),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"form-group col-md-4\"},[_c('label',{attrs:{\"for\":'address-' + _vm.indexRoom + _vm.indexPax}},[_vm._v(_vm._s(_vm.i18n(_vm.getRezToursLanguageEnum.address) + _vm.getOptionalAsterisk))]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.address),expression:\"address\"}],staticClass:\"form-control\",class:_vm.paxValidationError.value[_vm.getPaxFormEnum.Address] ? 'error-border-red' : '',attrs:{\"id\":'address-' + _vm.indexRoom + _vm.indexPax,\"autocomplete\":\"off\"},domProps:{\"value\":(_vm.address)},on:{\"input\":function($event){if($event.target.composing)return;_vm.address=$event.target.value}}}),_vm._v(\" \"),(_vm.paxValidationError.value[_vm.getPaxFormEnum.Address])?_c('div',[_c('div',{staticClass:\"d-flex align-items-center pt-1 error-style-white\"},[_c('pcv-icon',{staticClass:\"icon mr-1\",attrs:{\"icon\":['far','exclamation-circle']}}),_vm._v(\"\\n \"+_vm._s(_vm.paxValidationError.value[_vm.getPaxFormEnum.Address])+\"\\n \")],1)]):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"form-group col-md\"},[_c('label',{attrs:{\"for\":'city-' + _vm.indexRoom + _vm.indexPax}},[_vm._v(_vm._s(_vm.i18n(_vm.getRezToursLanguageEnum.city) + _vm.getOptionalAsterisk))]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.city),expression:\"city\"}],staticClass:\"form-control\",class:_vm.paxValidationError.value[_vm.getPaxFormEnum.City] ? 'error-border-red' : '',attrs:{\"id\":'city-' + _vm.indexRoom + _vm.indexPax,\"autocomplete\":\"off\"},domProps:{\"value\":(_vm.city)},on:{\"input\":function($event){if($event.target.composing)return;_vm.city=$event.target.value}}}),_vm._v(\" \"),(_vm.paxValidationError.value[_vm.getPaxFormEnum.City])?_c('div',[_c('div',{staticClass:\"d-flex align-items-center pt-1 error-style-white\"},[_c('pcv-icon',{staticClass:\"icon mr-1\",attrs:{\"icon\":['far','exclamation-circle']}}),_vm._v(\"\\n \"+_vm._s(_vm.paxValidationError.value[_vm.getPaxFormEnum.City])+\"\\n \")],1)]):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"form-group col-md-3\"},[_c('label',{attrs:{\"for\":'province-' + _vm.indexRoom + _vm.indexPax}},[_vm._v(_vm._s(_vm.i18n(_vm.getRezToursLanguageEnum.province) + _vm.getOptionalAsterisk))]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.province),expression:\"province\"}],staticClass:\"form-control\",class:_vm.paxValidationError.value[_vm.getPaxFormEnum.Province] ? 'error-border-red' : '',attrs:{\"id\":'province-' + _vm.indexRoom + _vm.indexPax,\"autocomplete\":\"off\"},domProps:{\"value\":(_vm.province)},on:{\"input\":function($event){if($event.target.composing)return;_vm.province=$event.target.value}}}),_vm._v(\" \"),(_vm.paxValidationError.value[_vm.getPaxFormEnum.Province])?_c('div',[_c('div',{staticClass:\"d-flex align-items-center pt-1 error-style-white\"},[_c('pcv-icon',{staticClass:\"icon mr-1\",attrs:{\"icon\":['far','exclamation-circle']}}),_vm._v(\"\\n \"+_vm._s(_vm.paxValidationError.value[_vm.getPaxFormEnum.Province])+\"\\n \")],1)]):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"form-group col-md-2\",staticStyle:{\"min-width\":\"100px\"}},[_c('label',{attrs:{\"for\":'postal-' + _vm.indexRoom + _vm.indexPax}},[_vm._v(_vm._s(_vm.i18n(_vm.getRezToursLanguageEnum.postal)))]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.postal),expression:\"postal\"}],staticClass:\"form-control\",class:_vm.paxValidationError.value[_vm.getPaxFormEnum.Postal] ? 'error-border-red' : '',attrs:{\"id\":'postal-' + _vm.indexRoom + _vm.indexPax,\"autocomplete\":\"off\"},domProps:{\"value\":(_vm.postal)},on:{\"input\":function($event){if($event.target.composing)return;_vm.postal=$event.target.value}}}),_vm._v(\" \"),(_vm.paxValidationError.value[_vm.getPaxFormEnum.Postal])?_c('div',[_c('div',{staticClass:\"d-flex align-items-center pt-1 error-style-white\"},[_c('pcv-icon',{staticClass:\"icon mr-1\",attrs:{\"icon\":['far','exclamation-circle']}}),_vm._v(\"\\n \"+_vm._s(_vm.paxValidationError.value[_vm.getPaxFormEnum.Postal])+\"\\n \")],1)]):_vm._e()])])])]:_vm._e()],2),_vm._v(\" \"),_c('div',{staticClass:\"pl-4 py-4 mandatory-fiels\"},[_c('span',[_c('pcv-icon',{attrs:{\"icon\":['far','exclamation-circle']}}),_vm._v(\" \"),_c('i',[_vm._v(\"\\n \"+_vm._s(_vm.i18n(_vm.getRezToursLanguageEnum.asteriskFieldMandatory))+\"\\n \")])],1)])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n import { Component, Prop, PropSync, Vue } from \"vue-property-decorator\";\r\n import ReservationPayload from \"@/store/modules/reservation/models\";\r\n import { PaxValidationErrorValue } from \"@/models/reservation/paxValidationError\";\r\n import DatePicker from \"@/app/common/components/DatePicker.vue\";\r\n import { ReservationRoomPaxModel } from \"@/apiManager/reservation/reservationData\";\r\n import { LoginTypeEnum } from \"@/apiManager/login/loginData\";\r\n import { PaxFormEnum } from \"@/apiManager/_common/enums\";\r\n\r\n @Component\r\n export default class PaxForm extends Vue\r\n {\r\n @Prop({ type: Number, required: true }) private readonly indexRoom!: number;\r\n @Prop({ type: Number, required: true }) private readonly indexPax!: number;\r\n @Prop({ type: Object, required: true }) private readonly paxValidationError!: PaxValidationErrorValue;\r\n\r\n get components()\r\n {\r\n let components = {\r\n \"date-picker\": DatePicker\r\n };\r\n\r\n return components;\r\n }\r\n\r\n get getPaxGenderList() : {value: string, label: string}[]\r\n {\r\n return [\r\n {value: \"\", label: \"\"},\r\n {value: \"F\", label: this.i18n(this.getRezToursLanguageEnum.sexF)},\r\n {value: \"M\", label: this.i18n(this.getRezToursLanguageEnum.sexM)}\r\n ];\r\n }\r\n\r\n get getPaxDisabled(): boolean\r\n {\r\n return (this.indexRoom === 0) && (this.indexPax === 0) && (this.$tStore.state.authenticationModal.isAuth) && (this.$tStore.state.authenticationModal.authType === LoginTypeEnum.Pax);\r\n }\r\n\r\n get getPaxFormEnum(): typeof PaxFormEnum\r\n {\r\n return PaxFormEnum;\r\n }\r\n\r\n get getPax(): ReservationRoomPaxModel\r\n {\r\n return this.$tStore.state.reservationState.detail.listRoom[this.indexRoom].listPax[this.indexPax];\r\n }\r\n\r\n get getFirstPax(): ReservationRoomPaxModel\r\n {\r\n return this.$tStore.state.reservationState.detail.listRoom[0].listPax[0];\r\n }\r\n\r\n get getOptionalAsterisk(): string\r\n {\r\n if (this.$tStore.state.authenticationModal.authType === LoginTypeEnum.Agent)\r\n {\r\n return \"\";\r\n }\r\n else\r\n {\r\n return \" *\";\r\n }\r\n }\r\n\r\n getFormatPhoneNumber(phoneNumber: string): string\r\n {\r\n //Filter only numbers from the input\r\n let cleaned = (phoneNumber).replace(/\\D/g, \"\");\r\n\r\n //Check if the input is of correct length\r\n let match = cleaned.match(/^(\\d{3})(\\d{3})(\\d{4})$/);\r\n\r\n if (match)\r\n {\r\n return \"(\" + match[1] + \") \" + match[2] + \"-\" + match[3];\r\n }\r\n\r\n return phoneNumber;\r\n }\r\n\r\n getFormatPostalCode(postalCode: string): string\r\n {\r\n let cleaned = (postalCode).replace(/(-)|( )/g, \"\");\r\n\r\n if(cleaned.length===6)\r\n {\r\n return cleaned.substr(0, 3).toUpperCase()+\" \"+cleaned.substr(3).toUpperCase();\r\n }\r\n\r\n return postalCode;\r\n }\r\n\r\n get lastName(): string\r\n {\r\n return this.getPax.lastName;\r\n }\r\n set lastName(value: string)\r\n {\r\n let payload = new ReservationPayload.Mutations.SetReservationPaxLastName(\r\n value,\r\n this.indexRoom,\r\n this.indexPax\r\n );\r\n this.$tStore.commit(payload);\r\n }\r\n\r\n get firstName(): string\r\n {\r\n return this.getPax.firstName;\r\n }\r\n set firstName(value: string)\r\n {\r\n let payload = new ReservationPayload.Mutations.SetReservationPaxFirstName(\r\n value,\r\n this.indexRoom,\r\n this.indexPax\r\n );\r\n this.$tStore.commit(payload);\r\n }\r\n\r\n get telephone(): string\r\n {\r\n return this.getPax.tel1;\r\n }\r\n set telephone(value: string)\r\n {\r\n let formatPhoneNumber = this.getFormatPhoneNumber(value);\r\n\r\n let payload = new ReservationPayload.Mutations.SetReservationPaxTelephone(\r\n formatPhoneNumber,\r\n this.indexRoom,\r\n this.indexPax\r\n );\r\n this.$tStore.commit(payload);\r\n }\r\n\r\n get email(): string\r\n {\r\n return this.getPax.email;\r\n }\r\n set email(value: string)\r\n {\r\n let payload = new ReservationPayload.Mutations.SetReservationPaxEmail(\r\n value,\r\n this.indexRoom,\r\n this.indexPax\r\n );\r\n this.$tStore.commit(payload);\r\n }\r\n\r\n get address(): string\r\n {\r\n return this.getPax.address;\r\n }\r\n set address(value: string)\r\n {\r\n let payload = new ReservationPayload.Mutations.SetReservationPaxAddress(\r\n value,\r\n this.indexRoom,\r\n this.indexPax\r\n );\r\n this.$tStore.commit(payload);\r\n }\r\n\r\n get city(): string\r\n {\r\n return this.getPax.city;\r\n }\r\n set city(value: string)\r\n {\r\n let payload = new ReservationPayload.Mutations.SetReservationPaxCity(\r\n value,\r\n this.indexRoom,\r\n this.indexPax\r\n );\r\n this.$tStore.commit(payload);\r\n }\r\n\r\n get province(): string\r\n {\r\n return this.getPax.province;\r\n }\r\n set province(value: string)\r\n {\r\n let payload = new ReservationPayload.Mutations.SetReservationPaxProvince(\r\n value,\r\n this.indexRoom,\r\n this.indexPax\r\n );\r\n this.$tStore.commit(payload);\r\n }\r\n\r\n get postal(): string\r\n {\r\n return this.getPax.postal;\r\n }\r\n set postal(value: string)\r\n {\r\n //let formatPostalCode = this.getFormatPostalCode(value);\r\n\r\n let payload = new ReservationPayload.Mutations.SetReservationPaxPostal(\r\n value,\r\n this.indexRoom,\r\n this.indexPax\r\n );\r\n this.$tStore.commit(payload);\r\n }\r\n\r\n get gender(): string\r\n {\r\n return this.getPax.gender;\r\n }\r\n set gender(value: string)\r\n {\r\n let payload = new ReservationPayload.Mutations.SetReservationPaxGender(\r\n value,\r\n this.indexRoom,\r\n this.indexPax\r\n );\r\n this.$tStore.commit(payload);\r\n }\r\n\r\n get birthDate(): string\r\n {\r\n return this.getPax.birthDate;\r\n }\r\n set birthDate(value: string)\r\n {\r\n let payload = new ReservationPayload.Mutations.SetReservationPaxBirthdate(\r\n value,\r\n this.indexRoom,\r\n this.indexPax\r\n );\r\n this.$tStore.commit(payload);\r\n }\r\n\r\n get allergies(): string\r\n {\r\n return this.getPax.allergies;\r\n }\r\n set allergies(value: string)\r\n {\r\n let payload = new ReservationPayload.Mutations.SetReservationPaxAllergies(\r\n value,\r\n this.indexRoom,\r\n this.indexPax\r\n );\r\n this.$tStore.commit(payload);\r\n }\r\n\r\n get telephoneWork(): string\r\n {\r\n return this.getPax.tel2;\r\n }\r\n set telephoneWork(value: string)\r\n {\r\n let formatPhoneNumber = this.getFormatPhoneNumber(value);\r\n\r\n let payload = new ReservationPayload.Mutations.SetReservationPaxTelephoneWork(\r\n formatPhoneNumber,\r\n this.indexRoom,\r\n this.indexPax\r\n );\r\n this.$tStore.commit(payload);\r\n }\r\n\r\n get telephoneWorkExt(): string\r\n {\r\n return this.getPax.telExt;\r\n }\r\n set telephoneWorkExt(value: string)\r\n {\r\n let payload = new ReservationPayload.Mutations.SetReservationPaxTelephoneWorkExt(\r\n value,\r\n this.indexRoom,\r\n this.indexPax\r\n );\r\n this.$tStore.commit(payload);\r\n }\r\n\r\n get useSameAddress(): boolean\r\n {\r\n return this.getPax.useSameAddress;\r\n }\r\n set useSameAddress(value: boolean)\r\n {\r\n let payload = new ReservationPayload.Mutations.SetReservationPaxSameAddress(\r\n value,\r\n this.indexRoom,\r\n this.indexPax\r\n );\r\n this.$tStore.commit(payload);\r\n }\r\n }\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PaxForm.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PaxForm.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./PaxForm.vue?vue&type=template&id=0de871c0&\"\nimport script from \"./PaxForm.vue?vue&type=script&lang=ts&\"\nexport * from \"./PaxForm.vue?vue&type=script&lang=ts&\"\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 null,\n null\n \n)\n\nexport default component.exports","\r\n import { Component, Vue, Mixins } from \"vue-property-decorator\";\r\n import { Route, RawLocation } from \"vue-router\";\r\n import BeforeRouteEnterMixin from \"@/mixins/beforeRouteEnterMixin\";\r\n import moment from \"moment\";\r\n import PaxValidationError, { PaxValidationErrorValue } from \"@/models/reservation/paxValidationError\";\r\n import PaxForm from \"@/app/reservation/components/PaxForm.vue\";\r\n import ReservationPayload from \"@/store/modules/reservation/models\";\r\n import RoutesEnum from \"@/router/routesEnum\";\r\n import ModalInformativePayload from \"@/store/modules/modalInformative/models\";\r\n import { AxiosError } from \"axios\";\r\n import { ReservationRoomModel } from \"@/apiManager/reservation/reservationData\";\r\n import { PaxFormEnum } from \"@/apiManager/_common/enums\";\r\n import { LoginTypeEnum } from \"@/apiManager/login/loginData\";\r\n\r\n //#region validateQuery\r\n let validateQuery = (p_Query: { [key: string]: string | (string | null)[] }): boolean =>\r\n {\r\n if (!p_Query.code)\r\n {\r\n return false;\r\n }\r\n if (p_Query.code.length === 0)\r\n {\r\n return false;\r\n }\r\n if ((process.env?.VUE_APP_PAXPAGE ?? \"\") === \"CAA\")\r\n {\r\n return false;\r\n }\r\n\r\n return true;\r\n };\r\n //#endregion\r\n\r\n @Component\r\n export default class PaxInfo extends Mixins(BeforeRouteEnterMixin)\r\n {\r\n get components()\r\n {\r\n let components =\r\n {\r\n \"pax-form\": PaxForm\r\n };\r\n\r\n return components;\r\n }\r\n\r\n private reservCode: string = \"\";\r\n private msgErrorValidation: PaxValidationError = new PaxValidationError();\r\n private paxTitleList: string[] = [];\r\n\r\n get getRoomList(): ReservationRoomModel[]\r\n {\r\n return this.$tStore.state.reservationState.detail.listRoom;\r\n }\r\n\r\n msgErrorValidationByRoomPax(p_RoomIndex: number, p_PaxIndex: number): PaxValidationErrorValue\r\n {\r\n if (this.msgErrorValidation.roomIndex[p_RoomIndex] && this.msgErrorValidation.roomIndex[p_RoomIndex].paxIndex[p_PaxIndex])\r\n {\r\n return this.msgErrorValidation.roomIndex[p_RoomIndex].paxIndex[p_PaxIndex];\r\n }\r\n else\r\n {\r\n return new PaxValidationErrorValue();\r\n }\r\n }\r\n\r\n isValidEmail(eMail: string) : boolean\r\n {\r\n // Valid format:\r\n // any@any.com\r\n\r\n let regexEmail: RegExp = /^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\r\n return regexEmail.test(eMail);\r\n }\r\n\r\n isValidPhoneNumber(phoneNumber: string) : boolean\r\n {\r\n // Valid format:\r\n // (123) 456-7890\r\n // +(123) 456-7890\r\n // +(123)-456-7890\r\n // +(123) - 456-7890\r\n // +(123) - 456-78-90\r\n // 123-456-7890\r\n // 123.456.7890\r\n // 1234567890\r\n // +31636363634\r\n // 075-63546725\r\n\r\n let regexPhoneNumber: RegExp = /^[+]*[(]{0,1}[0-9]{1,3}[)]{0,1}[-\\s\\./0-9]*$/g;\r\n return regexPhoneNumber.test(phoneNumber);\r\n }\r\n\r\n isValidPostalCode(postalCode: string) : boolean\r\n {\r\n // Valid format:\r\n // h2t-1b8\r\n // h2z 1b8\r\n // H2Z1B8\r\n\r\n let regexPhoneNumber: RegExp = /^[ABCEGHJ-NPRSTVXY]\\d[ABCEGHJ-NPRSTV-Z][ -]?\\d[ABCEGHJ-NPRSTV-Z]\\d$/i;\r\n return regexPhoneNumber.test(postalCode);\r\n }\r\n\r\n validePaxInfo(): boolean\r\n {\r\n\r\n let errorPassengers : PaxValidationError = new PaxValidationError();\r\n let hasValidationError: boolean = false;\r\n\r\n this.getRoomList.forEach((room, roomIndex) =>\r\n {\r\n room.listPax.forEach((pax, paxIndex) =>\r\n {\r\n if (pax.lastName.trim().length === 0)\r\n {\r\n errorPassengers.add(roomIndex, paxIndex, PaxFormEnum.LastName, this.i18n(this.getRezToursLanguageEnum.lastName) + \" \" + this.i18n(this.getRezToursLanguageEnum.isRequired));\r\n hasValidationError = true;\r\n }\r\n\r\n if (pax.firstName.trim().length === 0)\r\n {\r\n errorPassengers.add(roomIndex, paxIndex, PaxFormEnum.FirstName, this.i18n(this.getRezToursLanguageEnum.firstName) + \" \" + this.i18n(this.getRezToursLanguageEnum.isRequired));\r\n hasValidationError = true;\r\n }\r\n\r\n if (pax.birthDate.length === 0)\r\n {\r\n errorPassengers.add(roomIndex, paxIndex, PaxFormEnum.Birthdate, this.i18n(this.getRezToursLanguageEnum.dateOfBirth) + \" \" + this.i18n(this.getRezToursLanguageEnum.isRequired));\r\n hasValidationError = true;\r\n }\r\n else if (!moment(pax.birthDate).isValid() || moment(pax.birthDate).isAfter(moment()) || moment(pax.birthDate).isBefore(\"1900-01-01\"))\r\n {\r\n errorPassengers.add(roomIndex, paxIndex, PaxFormEnum.Birthdate, this.i18n(this.getRezToursLanguageEnum.dateOfBirth) + \" \" + this.i18n(this.getRezToursLanguageEnum.isInvalid));\r\n hasValidationError = true;\r\n }\r\n\r\n if (!pax.useSameAddress)\r\n {\r\n if (pax.tel1.trim().length === 0 || !this.isValidPhoneNumber(pax.tel1))\r\n {\r\n if (pax.tel1.trim().length === 0)\r\n {\r\n errorPassengers.add(roomIndex, paxIndex, PaxFormEnum.Telephone, this.i18n(this.getRezToursLanguageEnum.telephone) + \" \" + this.i18n(this.getRezToursLanguageEnum.isRequired));\r\n }\r\n else\r\n {\r\n errorPassengers.add(roomIndex, paxIndex, PaxFormEnum.Telephone, this.i18n(this.getRezToursLanguageEnum.telephone) + \" \" + this.i18n(this.getRezToursLanguageEnum.isInvalid));\r\n }\r\n hasValidationError = true;\r\n }\r\n\r\n if (pax.email.trim().length === 0 || !this.isValidEmail(pax.email))\r\n {\r\n if(pax.email.trim().length === 0)\r\n {\r\n errorPassengers.add(roomIndex, paxIndex, PaxFormEnum.Email, this.i18n(this.getRezToursLanguageEnum.email) + \" \" + this.i18n(this.getRezToursLanguageEnum.isRequired));\r\n }\r\n else\r\n {\r\n errorPassengers.add(roomIndex, paxIndex, PaxFormEnum.Email, this.i18n(this.getRezToursLanguageEnum.lastName) + \" \" + this.i18n(this.getRezToursLanguageEnum.isInvalid));\r\n }\r\n hasValidationError = true;\r\n }\r\n\r\n if (this.$tStore.state.authenticationModal.authType !== LoginTypeEnum.Agent)\r\n {\r\n if (pax.address.trim().length === 0)\r\n {\r\n errorPassengers.add(roomIndex, paxIndex, PaxFormEnum.Address, this.i18n(this.getRezToursLanguageEnum.address) + \" \" + this.i18n(this.getRezToursLanguageEnum.isRequired));\r\n hasValidationError = true;\r\n }\r\n\r\n if (pax.city.trim().length === 0)\r\n {\r\n errorPassengers.add(roomIndex, paxIndex, PaxFormEnum.City, this.i18n(this.getRezToursLanguageEnum.city) + \" \" + this.i18n(this.getRezToursLanguageEnum.isRequired));\r\n hasValidationError = true;\r\n }\r\n\r\n if (pax.province.trim().length === 0)\r\n {\r\n errorPassengers.add(roomIndex, paxIndex, PaxFormEnum.Province, this.i18n(this.getRezToursLanguageEnum.province) + \" \" + this.i18n(this.getRezToursLanguageEnum.isRequired));\r\n hasValidationError = true;\r\n }\r\n\r\n // if (pax.postal.trim().length === 0 || !this.isValidPostalCode(pax.postal))\r\n // {\r\n // if (pax.postal.trim().length === 0)\r\n // {\r\n // errorPassengers.add(roomIndex, paxIndex, PaxFormEnum.Postal, this.i18n(this.getRezToursLanguageEnum.postal) + \" \" + this.i18n(this.getRezToursLanguageEnum.isRequired));\r\n // }\r\n // else\r\n // {\r\n // errorPassengers.add(roomIndex, paxIndex, PaxFormEnum.Postal, this.i18n(this.getRezToursLanguageEnum.postal) + \" \" + this.i18n(this.getRezToursLanguageEnum.isInvalid));\r\n // }\r\n // hasValidationError = true;\r\n // }\r\n }\r\n }\r\n });\r\n });\r\n\r\n this.msgErrorValidation = errorPassengers;\r\n return !hasValidationError;\r\n }\r\n\r\n beforeRouteEnter(p_To: Route, p_From: Route, p_Next: (to?: RawLocation | false) => void): any\r\n {\r\n if (validateQuery(p_To.query))\r\n {\r\n p_Next();\r\n }\r\n else\r\n {\r\n p_Next({ name: RoutesEnum.Package });\r\n }\r\n }\r\n\r\n beforeRouteUpdate(p_To: Route, p_From: Route, p_Next: (to?: RawLocation | false) => void): any\r\n {\r\n if (validateQuery(p_To.query))\r\n {\r\n p_Next();\r\n }\r\n else\r\n {\r\n p_Next({ name: RoutesEnum.Package });\r\n }\r\n }\r\n\r\n onClickBack()\r\n {\r\n this.$router.replace({\r\n name: RoutesEnum.TravelBag,\r\n query:\r\n {\r\n code: this.$tStore.state.reservationState.detail.code\r\n }\r\n });\r\n }\r\n\r\n async beforeMount()\r\n {\r\n this.reservCode = this.$route.query.code as string || \"\";\r\n\r\n try\r\n {\r\n this.paxTitleList.unshift(\"\");\r\n }\r\n catch\r\n {\r\n }\r\n }\r\n\r\n onCancelClick()\r\n {\r\n this.$tStore.commit(new ReservationPayload.Mutations.SetShowModalCancelReservation(true));\r\n }\r\n\r\n async onPaymentClick()\r\n {\r\n\r\n if (this.validePaxInfo())\r\n {\r\n //Set address from first contect and set language from current language\r\n let firstPax = this.getRoomList[0].listPax[0];\r\n this.getRoomList.forEach((room, indexRoom) =>\r\n {\r\n room.listPax.forEach((pax, indexPax) =>\r\n {\r\n if ( !(indexRoom === 0 && indexPax === 0) )\r\n {\r\n /*\r\n if (pax.useSameAddress)\r\n {\r\n let payloadTelephone = new ReservationPayload.Mutations.SetReservationPaxTelephone(\r\n firstPax.telephone,\r\n indexRoom,\r\n indexPax\r\n );\r\n this.$tStore.commit(payloadTelephone);\r\n\r\n let payloadEmail = new ReservationPayload.Mutations.SetReservationPaxEmail(\r\n firstPax.email,\r\n indexRoom,\r\n indexPax\r\n );\r\n this.$tStore.commit(payloadEmail);\r\n\r\n let payloadAddress = new ReservationPayload.Mutations.SetReservationPaxAddress(\r\n firstPax.address,\r\n indexRoom,\r\n indexPax\r\n );\r\n this.$tStore.commit(payloadAddress);\r\n\r\n let payloadCity = new ReservationPayload.Mutations.SetReservationPaxCity(\r\n firstPax.city,\r\n indexRoom,\r\n indexPax\r\n );\r\n this.$tStore.commit(payloadCity);\r\n\r\n let payloadProvince = new ReservationPayload.Mutations.SetReservationPaxProvince(\r\n firstPax.province,\r\n indexRoom,\r\n indexPax\r\n );\r\n this.$tStore.commit(payloadProvince);\r\n\r\n let payloadPostal = new ReservationPayload.Mutations.SetReservationPaxPostal(\r\n firstPax.postal,\r\n indexRoom,\r\n indexPax\r\n );\r\n this.$tStore.commit(payloadPostal);\r\n }\r\n */\r\n }\r\n\r\n let payloadLanguage = new ReservationPayload.Mutations.SetReservationPaxLanguage(\r\n this.g_Language,\r\n indexRoom,\r\n indexPax\r\n );\r\n this.$tStore.commit(payloadLanguage);\r\n });\r\n });\r\n\r\n try\r\n {\r\n let payload = new ReservationPayload.Actions.SetPassengerReservation();\r\n try\r\n {\r\n let response = await this.$tStore.dispatch(payload);\r\n }\r\n catch(ex)\r\n {\r\n if ((ex as AxiosError)?.response?.status === 401 && this.$tStore.state.configState.setting.license.authIsRequired)\r\n {\r\n return;\r\n }\r\n\r\n let payloadModal = new ModalInformativePayload.Mutations.DisplayModalInformative(\r\n this.i18n(this.getRezToursLanguageEnum.serverErrorTitle),\r\n this.i18n(this.getRezToursLanguageEnum.serverErrorMsg)\r\n );\r\n\r\n this.$tStore.commit(payloadModal);\r\n return;\r\n }\r\n\r\n this.$router.replace(\r\n {\r\n name: RoutesEnum.Payment,\r\n query:\r\n {\r\n code: this.$tStore.state.reservationState.detail.code\r\n }\r\n }\r\n );\r\n }\r\n catch\r\n {\r\n\r\n }\r\n\r\n }\r\n }\r\n }\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PaxInfo.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PaxInfo.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./PaxInfo.vue?vue&type=template&id=05a8f94f&\"\nimport script from \"./PaxInfo.vue?vue&type=script&lang=ts&\"\nexport * from \"./PaxInfo.vue?vue&type=script&lang=ts&\"\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 null,\n null\n \n)\n\nexport default component.exports","var PROPER_FUNCTION_NAME = require('../internals/function-name').PROPER;\nvar fails = require('../internals/fails');\nvar whitespaces = require('../internals/whitespaces');\n\nvar non = '\\u200B\\u0085\\u180E';\n\n// check that a method works with the correct list\n// of whitespaces and has a correct name\nmodule.exports = function (METHOD_NAME) {\n return fails(function () {\n return !!whitespaces[METHOD_NAME]()\n || non[METHOD_NAME]() !== non\n || (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);\n });\n};\n","var $ = require('../internals/export');\nvar fill = require('../internals/array-fill');\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// `Array.prototype.fill` method\n// https://tc39.es/ecma262/#sec-array.prototype.fill\n$({ target: 'Array', proto: true }, {\n fill: fill\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('fill');\n","'use strict';\nvar $ = require('../internals/export');\nvar $map = require('../internals/array-iteration').map;\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map');\n\n// `Array.prototype.map` method\n// https://tc39.es/ecma262/#sec-array.prototype.map\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n map: function map(callbackfn /* , thisArg */) {\n return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"date-picker calendar-style ani\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model.lazy\",value:(_vm.inputProxy),expression:\"inputProxy\",modifiers:{\"lazy\":true}}],staticClass:\"form-control\",attrs:{\"id\":_vm.id,\"disabled\":_vm.disabled,\"autocomplete\":\"off\",\"placeholder\":_vm.getDateFormat},domProps:{\"value\":(_vm.inputProxy)},on:{\"focus\":function($event){_vm.isOpen=true},\"change\":function($event){_vm.inputProxy=$event.target.value}}}),_vm._v(\" \"),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isOpen),expression:\"isOpen\"}],staticClass:\"date-picker-calendar\"},[_c('div',{staticClass:\"d-flex justify-content-between border border-bottom-0\"},[_c('div',{staticClass:\"date-picker-arrow text-center border-right ani\",on:{\"click\":_vm.onArrowLeftClick}},[_c('pcv-icon',{attrs:{\"icon\":['fas','arrow-alt-circle-left']}})],1),_vm._v(\" \"),_c('div',{staticClass:\"date-picker-header-center w-100 text-center ani\",on:{\"click\":_vm.onTableSelectionClick}},[(_vm.tableDisplayed === _vm.getDatePickerTableEnum.Calendar)?[_vm._v(\"\\n \"+_vm._s(_vm.getMonthSelected)+\" \"+_vm._s(_vm.getYearSelected)+\"\\n \")]:_vm._e(),_vm._v(\" \"),(_vm.tableDisplayed === _vm.getDatePickerTableEnum.Month)?[_vm._v(\"\\n \"+_vm._s(_vm.getYearSelected)+\"\\n \")]:_vm._e(),_vm._v(\" \"),(_vm.tableDisplayed === _vm.getDatePickerTableEnum.Year)?[_vm._v(\"\\n \"+_vm._s((_vm.getYearSelected - 5) + _vm.yearIndex * 12)+\" - \"+_vm._s((_vm.getYearSelected + 6) + _vm.yearIndex * 12)+\"\\n \")]:_vm._e()],2),_vm._v(\" \"),_c('div',{staticClass:\"date-picker-arrow text-center border-left ani\",on:{\"click\":_vm.onArrowRightClick}},[_c('pcv-icon',{attrs:{\"icon\":['fas','arrow-alt-circle-right']}})],1)]),_vm._v(\" \"),_c('table',{staticClass:\"date-picker-table table table-sm table-bordered text-center mb-0\"},[(_vm.tableDisplayed === _vm.getDatePickerTableEnum.Calendar)?[_c('thead',[_c('tr',_vm._l((_vm.getDaysAbbr),function(daysOfWeekAbbr){return _c('td',{key:daysOfWeekAbbr,staticClass:\"ani\"},[_vm._v(\"\\n \"+_vm._s(daysOfWeekAbbr)+\"\\n \")])}),0)]),_vm._v(\" \"),_c('tbody',_vm._l((_vm.getCalendar),function(weeks,index){return _c('tr',{key:index},_vm._l((weeks),function(day){return _c('td',{key:day.momentDay.format('YYYY-MM-DD'),staticClass:\"ani\",class:[day.classCss, _vm.classCssSelectedDate(day.momentDay)],on:{\"click\":function($event){return _vm.onDayClick(day.momentDay)}}},[_vm._v(\"\\n \"+_vm._s(day.momentDay.format('D'))+\"\\n \")])}),0)}),0)]:_vm._e(),_vm._v(\" \"),(_vm.tableDisplayed === _vm.getDatePickerTableEnum.Month)?_vm._l((4),function(row){return _c('tr',{key:row},_vm._l((3),function(col){return _c('td',{key:col,staticClass:\"date-picker-month ani\",class:_vm.classCssSelectedMonth((parseInt(row) - 1) * 3 + (parseInt(col) - 1)),on:{\"click\":function($event){_vm.onMonthClick((parseInt(row) - 1) * 3 + (parseInt(col) - 1))}}},[_vm._v(\"\\n \"+_vm._s(_vm.getMonthsAbbr[ (parseInt(row) - 1) * 3 + (parseInt(col) - 1) ])+\"\\n \")])}),0)}):_vm._e(),_vm._v(\" \"),(_vm.tableDisplayed === _vm.getDatePickerTableEnum.Year)?_vm._l((4),function(row){return _c('tr',{key:row},_vm._l((3),function(col){return _c('td',{key:col,staticClass:\"date-picker-year ani\",class:_vm.classCssSelectedYear((_vm.getYearSelected + (parseInt(row) - 1) * 3 + (parseInt(col) - 1) - 5) + _vm.yearIndex * 12),on:{\"click\":function($event){_vm.onYearClick((_vm.getYearSelected + (parseInt(row) - 1) * 3 + (parseInt(col) - 1) - 5) + _vm.yearIndex * 12)}}},[_vm._v(\"\\n \"+_vm._s((_vm.getYearSelected + (parseInt(row) - 1) * 3 + (parseInt(col) - 1) - 5) + _vm.yearIndex * 12)+\"\\n \")])}),0)}):_vm._e()],2),_vm._v(\" \"),_c('div')])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n import { Component, Model, Prop, Vue } from \"vue-property-decorator\";\r\n import moment, { Moment } from \"moment\";\r\n\r\n @Component\r\n export default class DatePicker extends Vue\r\n {\r\n\r\n @Model(\"change\", { type: String }) readonly model!: string\r\n @Prop({ type: String, default: \"\" }) readonly id!: string;\r\n @Prop({ type: Boolean, default: false }) readonly disabled!: boolean;\r\n\r\n isOpen: boolean = false;\r\n inputValue: string = \"\";\r\n tableDisplayed: DatePickerTableEnum = DatePickerTableEnum.Calendar;\r\n momentContext: Moment = this.momentDateSelected\r\n yearIndex: number = 0;\r\n\r\n get getDateFormat(): string\r\n {\r\n return this.$tStore?.state?.configState?.setting?.license?.dateFormat ?? \"YYYY-MM-DD\";\r\n }\r\n\r\n get momentDateSelected(): Moment\r\n {\r\n let tmpMoment: Moment = moment(this.model);\r\n if (tmpMoment.isValid())\r\n {\r\n this.inputValue = tmpMoment.format(this.getDateFormat);\r\n this.momentContext = tmpMoment;\r\n return moment(this.model);\r\n }\r\n else\r\n {\r\n return moment();\r\n }\r\n }\r\n set momentDateSelected(p_Value: Moment)\r\n {\r\n this.$emit(\"change\", p_Value.format(\"YYYY-MM-DD\"));\r\n }\r\n\r\n get getMonthSelected(): string\r\n {\r\n return this.getMonthsNames[this.momentContext.month()];\r\n }\r\n\r\n get getYearSelected(): number\r\n {\r\n return this.momentContext.year();\r\n }\r\n\r\n get getDatePickerTableEnum(): typeof DatePickerTableEnum\r\n {\r\n return DatePickerTableEnum;\r\n }\r\n\r\n get getCalendar()\r\n {\r\n const startWeek = this.momentContext.startOf(\"month\").week();\r\n const endWeek = startWeek + 5;\r\n\r\n let calendar = [];\r\n\r\n for (var week = startWeek; week <= endWeek; week++)\r\n {\r\n calendar.push(\r\n Array(7).fill(0).map((n, i) =>\r\n {\r\n return new DatePickerDayInformation(moment(this.momentContext).week(week).startOf(\"week\").add(n + i, \"day\"), this.momentContext.format(\"MM\"));\r\n })\r\n );\r\n }\r\n\r\n return calendar;\r\n\r\n }\r\n\r\n get inputProxy(): string\r\n {\r\n return this.inputValue;\r\n }\r\n\r\n set inputProxy(p_Value: string)\r\n {\r\n this.inputValue = p_Value;\r\n let tmpMoment = moment(p_Value, this.getDateFormat);\r\n if (tmpMoment.isValid())\r\n {\r\n this.momentDateSelected = moment(p_Value, this.getDateFormat);\r\n this.momentContext = tmpMoment;\r\n }\r\n else\r\n {\r\n this.$emit(\"change\", \"\");\r\n }\r\n }\r\n\r\n mounted()\r\n {\r\n window.addEventListener(\"click\", this.onClickExternDatepicker, true);\r\n }\r\n\r\n beforeDestroy()\r\n {\r\n window.removeEventListener(\"click\", this.onClickExternDatepicker, true);\r\n }\r\n\r\n onClickExternDatepicker(e: Event)\r\n {\r\n if (e.target)\r\n {\r\n if (!this.$el.contains((e.target as Node)))\r\n {\r\n this.isOpen = false;\r\n }\r\n }\r\n }\r\n\r\n onTableSelectionClick()\r\n {\r\n if (this.tableDisplayed === DatePickerTableEnum.Calendar)\r\n {\r\n this.tableDisplayed = DatePickerTableEnum.Month;\r\n }\r\n else if (this.tableDisplayed === DatePickerTableEnum.Month)\r\n {\r\n this.tableDisplayed = DatePickerTableEnum.Year;\r\n }\r\n }\r\n\r\n onDayClick(p_MomentDay: Moment)\r\n {\r\n this.momentDateSelected = p_MomentDay;\r\n this.momentContext = p_MomentDay;\r\n this.isOpen = false;\r\n }\r\n\r\n onMonthClick(p_MonthIndex: number)\r\n {\r\n this.momentContext = moment(this.momentContext).month(p_MonthIndex);\r\n this.tableDisplayed = DatePickerTableEnum.Calendar;\r\n }\r\n\r\n onYearClick(p_Year: number)\r\n {\r\n this.momentContext = moment(this.momentContext).year(p_Year);\r\n this.tableDisplayed = DatePickerTableEnum.Month;\r\n this.yearIndex = 0;\r\n }\r\n\r\n classCssSelectedDate(p_momentDay: Moment): string\r\n {\r\n if (this.momentDateSelected.isSame(p_momentDay) && this.model.length > 0)\r\n {\r\n return \"date-picker-day-selected\";\r\n }\r\n else\r\n {\r\n return \"\";\r\n }\r\n }\r\n\r\n classCssSelectedMonth(p_MonthIndex: number): string\r\n {\r\n if (this.momentDateSelected.month() === p_MonthIndex && this.momentDateSelected.year() === this.getYearSelected && this.model.length > 0)\r\n {\r\n return \"date-picker-month-selected\";\r\n }\r\n else\r\n {\r\n return \"\";\r\n }\r\n }\r\n\r\n classCssSelectedYear(p_Year: number)\r\n {\r\n if (this.momentDateSelected.year() === p_Year && this.model.length > 0)\r\n {\r\n return \"date-picker-year-selected\";\r\n }\r\n else\r\n {\r\n return \"\";\r\n }\r\n }\r\n\r\n onArrowLeftClick()\r\n {\r\n if (this.tableDisplayed === DatePickerTableEnum.Calendar)\r\n {\r\n this.momentContext = moment(this.momentContext).subtract(1, \"M\");\r\n }\r\n else if (this.tableDisplayed === DatePickerTableEnum.Month)\r\n {\r\n this.momentContext = moment(this.momentContext).subtract(1, \"y\");\r\n }\r\n else\r\n {\r\n this.yearIndex--;\r\n }\r\n }\r\n\r\n onArrowRightClick()\r\n {\r\n if (this.tableDisplayed === DatePickerTableEnum.Calendar)\r\n {\r\n this.momentContext = moment(this.momentContext).add(1, \"M\");\r\n }\r\n else if (this.tableDisplayed === DatePickerTableEnum.Month)\r\n {\r\n this.momentContext = moment(this.momentContext).add(1, \"y\");\r\n }\r\n else\r\n {\r\n this.yearIndex++;\r\n }\r\n }\r\n\r\n }\r\n\r\n enum DatePickerTableEnum\r\n {\r\n Calendar = 0,\r\n Month = 1,\r\n Year = 2\r\n }\r\n\r\n class DatePickerDayInformation\r\n {\r\n momentDay: Moment;\r\n classCss: string;\r\n\r\n constructor(p_MomentDay: Moment, p_MonthSelected: string)\r\n {\r\n this.momentDay = p_MomentDay;\r\n if (p_MomentDay.format(\"MM\") === p_MonthSelected)\r\n {\r\n this.classCss = \"date-picker-day-in-month\";\r\n }\r\n else\r\n {\r\n this.classCss = \"date-picker-day-not-in-month\";\r\n }\r\n\r\n }\r\n }\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DatePicker.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DatePicker.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DatePicker.vue?vue&type=template&id=480f4504&\"\nimport script from \"./DatePicker.vue?vue&type=script&lang=ts&\"\nexport * from \"./DatePicker.vue?vue&type=script&lang=ts&\"\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 null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}