{"version":3,"sources":["webpack:///./src/components/menus/Links/index.vue?3274","webpack:///./src/pages/Management/workorder/request/index.vue?f9c1","webpack:///./src/pages/Management/workorder/request/keys/data.js","webpack:///./src/pages/Management/workorder/request/keys/methods.js","webpack:///./src/pages/Management/workorder/request/keys/watch.js","webpack:///src/pages/Management/workorder/request/index.vue","webpack:///./src/pages/Management/workorder/request/index.vue?6609","webpack:///./src/pages/Management/workorder/request/index.vue","webpack:///./src/components/Picture/Frame/index.vue?26ae","webpack:///src/components/Picture/Frame/index.vue","webpack:///./src/components/Picture/Frame/index.vue?10b3","webpack:///./src/components/Picture/Frame/index.vue","webpack:///./src/services/WorkOrderRequests/WorkOrderRequestPhoto/GetPhotoFile.js","webpack:///./src/services/WorkOrderRequests/WorkOrderRequestPhoto/procedures/GetMultiplePhotos.js","webpack:///./src/services/Hoa/store.js","webpack:///./src/components/transitions/Slide.vue?a83b","webpack:///./src/components/menus/Links/index.vue?5407","webpack:///src/components/menus/Links/index.vue","webpack:///./src/components/menus/Links/index.vue?1cc0","webpack:///./src/components/menus/Links/index.vue","webpack:///./src/pages/Management/workorder/request/index.vue?6c23","webpack:///./src/services/WorkOrderRequests/WorkOrderRequestPhoto/StorePhotoFile.js","webpack:///./src/services/WorkOrderRequests/WorkOrderRequestPhoto/procedures/StoreMultiplePhotos.js","webpack:///./src/components/icons/InfoPlain.vue?fcae","webpack:///src/components/icons/InfoPlain.vue","webpack:///./src/components/icons/InfoPlain.vue?237a","webpack:///./src/components/icons/InfoPlain.vue","webpack:///./src/components/transitions/Slide.vue?ab9d","webpack:///src/components/transitions/Slide.vue","webpack:///./src/components/transitions/Slide.vue?8d18","webpack:///./src/components/transitions/Slide.vue","webpack:///./node_modules/lodash/now.js","webpack:///./src/pages/Management/workorder/request/tabs/conversations/List.vue?9984","webpack:///./src/pages/Management/workorder/request/tabs/conversations/keys/methods.js","webpack:///./src/pages/Management/workorder/request/tabs/conversations/keys/data.js","webpack:///src/pages/Management/workorder/request/tabs/conversations/List.vue","webpack:///./src/pages/Management/workorder/request/tabs/conversations/List.vue?dca3","webpack:///./src/pages/Management/workorder/request/tabs/conversations/List.vue","webpack:///./node_modules/lodash/_trimmedEndIndex.js","webpack:///./src/pages/Management/workorder/request/tabs/details/index.vue?21aa","webpack:///./src/services/WorkOrders/WorkOrderPhoto/store.js","webpack:///./src/components/WorkOrderModal/index.vue?1a88","webpack:///./src/services/WorkOrders/store.js","webpack:///./src/services/WorkOrders/UpdateWorkOrder/store.js","webpack:///./node_modules/lodash/_baseTrim.js","webpack:///./src/components/WorkOrderModal/index.vue?bebe","webpack:///./src/components/WorkOrderModal/parts/methods.js","webpack:///./src/components/WorkOrderModal/parts/data.js","webpack:///src/components/WorkOrderModal/index.vue","webpack:///./src/components/WorkOrderModal/index.vue?9cd6","webpack:///./src/components/WorkOrderModal/index.vue","webpack:///./src/components/Fields/PhotoUploader/index.vue?b385","webpack:///src/components/Fields/PhotoUploader/index.vue","webpack:///./src/components/Fields/PhotoUploader/index.vue?0298","webpack:///./src/components/Fields/PhotoUploader/index.vue","webpack:///./node_modules/lodash/debounce.js","webpack:///./node_modules/lodash/toNumber.js","webpack:///./src/components/googlemaps/index.vue?6d16","webpack:///./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","webpack:///src/components/googlemaps/index.vue","webpack:///./src/components/googlemaps/index.vue?816c","webpack:///./src/components/googlemaps/index.vue","webpack:///./src/pages/Management/workorder/request/tabs/details/index.vue?05f7","webpack:///./src/pages/Management/workorder/request/tabs/details/components/RejectModal.vue?5473","webpack:///src/pages/Management/workorder/request/tabs/details/components/RejectModal.vue","webpack:///./src/pages/Management/workorder/request/tabs/details/components/RejectModal.vue?dc7a","webpack:///./src/pages/Management/workorder/request/tabs/details/components/RejectModal.vue","webpack:///./src/pages/Management/workorder/request/tabs/details/keys/data.js","webpack:///./src/services/WorkOrders/WorkOrderType/List.js","webpack:///./src/services/WorkOrderRequests/WorkOrderRequestPhoto/Delete.js","webpack:///./src/services/WorkOrderRequests/WorkOrderRequest/Get.js","webpack:///./src/services/WorkOrderRequests/WorkOrderRequest/Put.js","webpack:///./src/pages/Management/workorder/request/tabs/details/keys/methods.js","webpack:///src/pages/Management/workorder/request/tabs/details/index.vue","webpack:///./src/pages/Management/workorder/request/tabs/details/index.vue?e3ba","webpack:///./src/pages/Management/workorder/request/tabs/details/index.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","staticClass","_v","_s","$t","style","display","alignItems","margin","on","$event","preventDefault","returnToParent","tabs","paddingLeft","id","$route","params","overflowX","flexGrow","transitionName","staticRenderFns","data","isDebug","loading","workOrderRequestID","workOrderRequest","name","label","styles","mainContainer","minHeight","showUploadModal","methods","reload","$router","push","loadrequests","watch","hoaId","to","from","toIndex","_get","fromIndex","components","LinksMenu","SlideTransition","PageContentLayoutOnly","computed","debug","unit","mounted","i18n","messages","en","component","position","justifyContent","width","height","paddingBottom","marginBottom","overflow","borderRadius","cursor","boxShadow","clicked","top","left","transform","flexShrink","maxWidth","maxHeight","objectFit","src","length","color","_e","erase","editMode","index","details","props","type","Function","default","String","Number","Object","Boolean","getPhoto","kms","kms_","message","console","log","get","result","successful","photo","error","problems","verb","amount","GetMultiplePhotos","a","paramsList","Promise","all","map","results","photos","workOrderRequestPhotoID","actions","getHoaById","hoaID","filtered","hoas","filter","f","JSON","stringify","notifyProblem","retrieveGoogleMapSignature","dispatch","payload","done","post","encodeURIComponent","url","undefined","signature","toString","notifyError","retrieveGoogleAddress","lat","lng","address","googleAddressExistsInSystem","validatedAddress","loadDropDownAddressList","startRecord","recordCount","includeOwnerContacts","addresses","dropDownAddresses","value","addressID","addressOne","city","state","postalCode","unitID","primaryOwnerID","sort","b","unshift","list","loadVendors","vendors","vendorDropDownList","v","vendorID","loadHoasByGlobalVendorId","vendorGlobalID","hoaDropDownList","loadDropDownOwnersList","owners","dropDownOwners","primaryOwner","ownername","Vue","use","Vuex","hoaUtility","Store","mutations","getters","breakpoint","styles_","_l","tab","key","prefix","hash","assign","includes","model","callback","$$v","selectedTab","expression","_t","Array","getTabName","tabName","ownerID","x","unsubWindowStore","mType","beforeDestroy","StorePhoto","formData","FormData","append","documentId","StoreMultiplePhotos","isArray","staticStyle","root","now","Date","module","exports","parseInt","filterButton","float","marginTop","ListWorkOrderRequestConversations","reWhitespace","trimmedEndIndex","string","test","charAt","getWorkOrderPhotoList","workOrderID","getWorkOrderPhotoGetFile","returned","updateWorkOrderPhoto","put","workOrderPhotoID","remove","reomove","notifyMessage","updateWorkOrderPhotoAttachment","file","path","addWorkOrderPhoto","description","workOrderPhoto","uploadWorkOrderPhoto","existingWorkOrderPhotoID","uploadedWorkOrderPhotoFile","returnedfile","deleteWorkOrderPhoto","delete","wasDeleted","workOrderPhotoStore","getAccessToken","credentialsName","credentials","loadLocationTypes","myList","loadLocationTypesManagement","getWorkOrderList","deleteWorkOrder","cancelWorkOrder","cancelledReason","cancelledByAspNetUserID","addWorkOrder","workOrderTypeID","sourceWorkOrderRequestID","locationDescription","detailedDescription","specialInstructions","latitude","longitude","locationType","completeByDate","transmitNotification","workOrderList","getWorkOrderById","workorder","getWorkOrderTypeList","workOrderTypes","workOrderTypeDropDownList","updateWorkOrder","workOrderItem","reTrimStart","baseTrim","slice","replace","ref","scopedSlots","_u","fn","handleSubmit","onFormSubmit","locationTypeText","nativeOn","locationTypeChanged","option","domProps","indexOf","isFetching","openOnFocus","getAsyncData","selected","locationFilterQuery","vendorData","getVendorAsyncData","vendorFilterQuery","$set","showWeekNumber","status","hideMap","hideShowMap","hideShowMapText","hideShowMapFlag","accessToken","parseFloat","reloadParentImages","files","directives","rawName","previews","image","deleteDropFile","flexWrap","entry","transmit","errors","then","credentialValue","populateLocationTypes","locationTypeList","populateWorkOrderRequest","loadHoaBoundsCoords","defaultCenterLat","defaultCenterLng","addedFile","northmostLatitude","southmostLatitude","eastmostLongitude","westmostLongitude","retrievePhotos","asBase64","photosContent","counter","forEach","mimeType","match","returnedFile","dataURLtoFile","dataurl","filename","arr","split","mime","bstr","atob","n","u8arr","Uint8Array","charCodeAt","File","loadAddressDropDownList","addressDropDownList","tempAddress","sourceUnitID","i","loadVendorDropDownList","loadWorkOrderTypeList","workOrderTypeList","getPayload","vendor","$","text","validationMessages","saveAttachments","$emit","toggle","click","ValidationError","$refs","form","setErrors","fields","splice","attachments","$store","updateAttachments","URL","createObjectURL","base64pdf","debounce","toLowerCase","getVendorMoreAsyncData","getMoreAsyncData","DEFAULT_FORM_VALUES","formComplete","formatDateFn","moment","format","selectedRow","buttonText","typeData","tempWorkOrderType","newApInvoiceId","activeStep","doc","documentIds","docPreviews","hidePromoteModal","ValidInput","ValidationObserver","ValidationProvider","ValidSelect","PictureFrame","GoogleMap","InfoPlain","locationFilterSuggestions","vendorFilterSuggestions","border","padding","accept","items","update","addFile","updatePreviews","item","isObject","toNumber","FUNC_ERROR_TEXT","nativeMax","Math","max","nativeMin","min","func","wait","options","lastArgs","lastThis","maxWait","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","TypeError","invokeFunc","time","args","thisArg","apply","leadingEdge","setTimeout","timerExpired","remainingWait","timeSinceLastCall","timeSinceLastInvoke","timeWaiting","shouldInvoke","trailingEdge","cancel","clearTimeout","flush","debounced","isInvoking","arguments","isSymbol","NAN","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","other","valueOf","isBinary","rtoggle","readOnlyMap","showUpload","verticalAlign","exportStaticImage","resetPinMarker","fitBounds","_m","setPlace","infoOptions","content","myLat","myLong","zoomLevel","selectedMapStyle","boundsRestriction","infoWindowPos","infoWinOpen","m","toggleInfoWindow","updateMarker","latLng","_createForOfIteratorHelper","o","allowArrayLike","it","Symbol","iterator","unsupportedIterableToArray","F","s","e","err","normalCompletion","didErr","step","next","_e2","mapStyle","defailtLongitude","defaultLatitude","workOrderRequestId","workOrderId","reloadParent","returnMarkerAddress","allowGeocodingOnMarker","vendorHoaId","hoa","markers","currentPlace","placeAddress","pixelOffset","currentMidx","created","google","refresh","geolocate","navigator","geolocation","getCurrentPosition","coords","generateBounds","maps","mapRef","$mapPromise","bounds","$gmapDefaultResizeBus","LatLngBounds","extend","ex","marker","idx","refreshParentWorkOrderRequestDetails","completedDate","target","composing","showPhotoModal","confirmErasePhoto","confirmRejectRequest","promoteToWorkOrder","rejectRequest","photoModalOpen","modalContent","proxy","addPhotos","adderPhotosUpdated","photoModalLoading","sendReject","reason","reject","Modal","open","close","field","paddingRight","textAlign","categories","hidePromoteMap","category","adderPhotos","retrieved","amountField","getWorkOrderTypes","deleteWorkOrderRequestPhoto","getWorkOrderRequest","editWorkOrderRequest","json","categoryID","summary","resolve","rejectionReason","rejectModal","getCategories","requestId","erasePhoto","$buefy","dialog","confirm","title","confirmText","hasIcon","onConfirm","cancelRequest","_status","latitudeTemp","longitudeTemp","submitterName","submitterType","submitterAspNetUserID","getParams","unitId","getOwner","owner","exception","PhotoUploader","WorkOrderModal","RejectModal","completeToggle","workOrderRequestPromote"],"mappings":"oHAAA,yBAA4kB,EAAG,G,2CCA/kB,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,wBAAwB,CAACE,MAAM,CAAC,KAAO,SAAS,oBAAoB,KAAK,CAACF,EAAG,UAAU,CAACG,YAAY,gBAAgB,CAACH,EAAG,MAAM,CAACG,YAAY,mBAAmB,CAACH,EAAG,MAAM,CAACG,YAAY,oCAAoC,CAACP,EAAIQ,GAAGR,EAAIS,GAAGT,EAAIU,GAAG,8BAA8BN,EAAG,MAAM,CAACG,YAAY,cAAcI,MAAM,CAAGC,QAAS,OAAQC,WAAY,WAAa,CAACT,EAAG,MAAM,CAACG,YAAY,aAAaI,MAAM,CAAGG,OAAQ,IAAM,CAACV,EAAG,MAAM,CAACE,MAAM,CAAC,MAAQ,KAAK,OAAS,KAAK,MAAQ,6BAA6B,KAAO,OAAO,QAAU,YAAY,OAAS,iBAAiB,CAACF,EAAG,OAAO,CAACE,MAAM,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ACIvW,sBAAJ,OACIyW,aAAJ,OACIyJ,MAAJ,OACI4C,cAAJ,OACIC,eAAJ,OACIrM,UAAJ,OACIsM,YAAJ,GAGE1kB,KAAF,EAEE2B,SAAU,OAAZ,OAAY,CAAZ,GACA,+BACI,OAAJ,YAAM,OAAN,uBACI,MAAJ,YAAM,OAAN,uBACA,sDAIEG,QA3BF,WA4BIzD,KAAKuC,UAGPI,MAAO,CACLC,MADJ,WAEM5C,KAAKuC,UAEP+jB,eAJJ,WAKiC,GAAvBtmB,KAAKsmB,iBACa,GAAhBtmB,KAAK4B,SAAiBwE,QAAQ7C,MAAM,0BACxCvD,KAAKsmB,gBAAiB,EAClBtmB,KAAKujB,YAAuB/a,GAAdxI,KAAKujB,OACrBvjB,KAAKujB,MAAM/L,MAAM,gBAAiB,KAA5C,WAEQxX,KAAKuC,WAGTkV,OAdJ,WAeyB,GAAfzX,KAAKyX,SACPzX,KAAKuC,SACLvC,KAAKyX,QAAS,EACVzX,KAAKujB,YAAuB/a,GAAdxI,KAAKujB,OACrBvjB,KAAKujB,MAAM/L,MAAM,gBAAiB,KAA5C,cAMElV,QAAF,EAEEoB,KAAM,CACJC,SAAU,CACRC,GAAI,CACF2iB,wBAAyB,CAAjC,wCCpZ0Z,ICQtZ,G,UAAY,eACd,EACAzmB,EACA4B,GACA,EACA,KACA,KACA,OAIa,e","file":"js/workOrderRequest.522e2b45.js","sourcesContent":["import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=bac35f7c&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=bac35f7c&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('PageContentLayoutOnly',{attrs:{\"role\":\"region\",\"workorder-promote\":\"\"}},[_c('section',{staticClass:\"section card\"},[_c('div',{staticClass:\"level pl-5 pr-5\"},[_c('div',{staticClass:\"pt-5 level-left level-item title\"},[_vm._v(_vm._s(_vm.$t('workorderrequest.title')))]),_c('div',{staticClass:\"level-right\",style:({ display: 'flex', alignItems: 'center' })},[_c('div',{staticClass:\"level-item\",style:({ margin: 0 })},[_c('svg',{attrs:{\"width\":\"30\",\"height\":\"30\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M15 19l-7-7 7-7\"}})])]),_c('div',{staticClass:\"level-item\"},[_c('b-button',{attrs:{\"label\":\"Back to Work Order Requests\"},on:{\"click\":function($event){$event.preventDefault();return _vm.returnToParent()}}})],1)])]),_c('LinksMenu',{attrs:{\"aria-label\":\"account settings tabs\",\"tabs\":_vm.tabs,\"prefix\":\"workorderrequest.\",\"styles\":{\n paddingLeft: '20px'\n },\"params\":{\n id: _vm.$route.params.id\n }}},[_c('section',{style:({ overflowX: 'auto', flexGrow: 2 })},[_c('SlideTransition',{attrs:{\"name\":_vm.transitionName}},[_c('keep-alive',[_c('router-view')],1)],1)],1)])],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export const data = function() {\r\n return {\r\n isDebug: true,\r\n loading: false,\r\n workOrderRequestID: 0,\r\n workOrderRequest: null,\r\n tabs: [\r\n { name: 'workorderRequestPromote', label: 'Request Promote' },\r\n { name: 'workorderRequestConversation', label: 'Conversations' }\r\n ],\r\n styles: {\r\n mainContainer: {\r\n minHeight: '1000px'\r\n }\r\n },\r\n transitionName: 'slide-down',\r\n showUploadModal: false\r\n }\r\n}\r\n","export const methods = {\r\n async reload() {\r\n this.loading = true\r\n\r\n this.workOrderRequestID = this.$route.params.id || 0\r\n\r\n this.loading = false\r\n },\r\n\r\n returnToParent() {\r\n this.$router.push({\r\n name: 'workOrders',\r\n params: {\r\n loadrequests: true\r\n }\r\n })\r\n }\r\n}\r\n","import _get from 'lodash/get'\r\n\r\nexport const watch = {\r\n hoaId() {\r\n this.reload()\r\n },\r\n $route: function(to, from) {\r\n const toIndex = _get(to, ['params', 'index'], 1)\r\n const fromIndex = _get(from, ['params', 'index'], 1)\r\n\r\n this.transitionName = toIndex < fromIndex ? 'slide-up' : 'slide-down'\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--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=6b798862&scoped=true&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=6b798862&lang=scss&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 \"6b798862\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{style:({\n position: 'relative',\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n\n width: '100%',\n height: '0',\n paddingBottom: '100%',\n marginBottom: '6px',\n\n overflow: 'hidden',\n borderRadius: '6px',\n\n cursor: 'pointer',\n boxShadow: '0 12px 18px 0 rgba(0, 0, 0, 0.05)'\n }),on:{\"click\":_vm.clicked}},[_c('transition',{attrs:{\"name\":\"fade\"}},[_c('img',{style:({\n position: 'absolute',\n top: '50%',\n left: '50%',\n transform: 'translateX(-50%) translateY(-50%)',\n\n flexShrink: '0',\n maxWidth: '100%',\n maxHeight: '100%',\n objectFit: 'contain'\n }),attrs:{\"src\":_vm.src}})]),(typeof _vm.label === 'string' && _vm.label.length >= 1)?_c('label',{staticClass:\"absolute inset-x-0 bottom-0 bg-black bg-opacity-50 z-10 p-2\"},[_c('span',{style:({ color: 'white' })},[_vm._v(_vm._s(_vm.label))])]):_vm._e(),(typeof _vm.erase === 'function' && _vm.editMode === true)?_c('button',{staticClass:\"delete\",style:({ position: 'absolute', top: '10px', left: '10px' }),attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.erase({ index: _vm.index, details: _vm.details })}}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=b6d7ab38&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\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 example:\r\n import { getPhoto } from '@/services/WorkOrderRequests/WorkOrderRequestPhoto/GetPhotoFile';\r\n\r\n const { photo, successful, message } = await getPhoto ({\r\n params: {\r\n workOrderRequestPhotoID: \r\n\r\n // optional\r\n asBase64: true,\r\n scaleToWidth: \r\n scaleToHeight: \r\n }\r\n });\r\n if (!successful) {\r\n console.error (message);\r\n return;\r\n }\r\n*/\r\n//\r\nimport kms from '@/services/kms'\r\n//\r\nexport async function getPhoto({ params, kms: kms_ = kms } = {}) {\r\n let message = `A photo could not be retrieved.`\r\n\r\n console.log({ params })\r\n\r\n try {\r\n const result = await kms_.get(`/WorkOrderRequests/WorkOrderRequestPhoto/GetPhotoFile`, {\r\n params\r\n })\r\n\r\n return {\r\n successful: true,\r\n message: '',\r\n photo: result\r\n }\r\n } catch (exception) {\r\n console.error(exception)\r\n }\r\n\r\n return {\r\n successful: false,\r\n message,\r\n photo: null\r\n }\r\n}\r\n\r\n///////\r\n","/*\r\n example:\r\n import { GetMultiplePhotos } from '@/services/WorkOrderRequests/WorkOrderRequestPhoto/procedures/GetMultiplePhotos';\r\n\r\n const { photos, problems, message } = await GetMultiplePhotos ({\r\n paramsList: [{\r\n workOrderRequestPhotoID: \r\n\r\n // optional\r\n asBase64: true,\r\n scaleToWidth: \r\n scaleToHeight: \r\n }]\r\n });\r\n if (problems !== 0) {\r\n notifyProblem (message);\r\n return;\r\n }\r\n*/\r\n\r\n/*\r\n example response:\r\n\r\n*/\r\nimport _get from 'lodash/get'\r\n//\r\nimport { getPhoto } from '../GetPhotoFile'\r\n//\r\nlet message = ({ problems }) => {\r\n let verb = 'were'\r\n let amount = 's'\r\n if (problems === 1) {\r\n verb = 'was'\r\n amount = ''\r\n }\r\n\r\n return `${problems} photo${amount} ${verb} not retrieved successfully.`\r\n}\r\n//\r\nexport async function GetMultiplePhotos({ paramsList }) {\r\n const results = await Promise.all(\r\n paramsList.map(params => {\r\n return getPhoto({\r\n params\r\n })\r\n })\r\n )\r\n\r\n console.log({\r\n results\r\n })\r\n\r\n const photos = []\r\n let problems = 0\r\n for (let a = 0; a < results.length; a++) {\r\n const result = results[a]\r\n\r\n if (_get(result, 'successful', '') !== true) {\r\n problems++\r\n continue\r\n }\r\n\r\n photos.push({\r\n photo: _get(result, 'photo', ''),\r\n id: paramsList[a].workOrderRequestPhotoID\r\n })\r\n }\r\n\r\n return {\r\n photos,\r\n problems,\r\n message: message({\r\n problems\r\n })\r\n }\r\n}\r\n","/*\r\n import { hoaUtility } from '@/services/Hoa/store'\r\n*/\r\n\r\nimport Vue from 'vue'\r\nimport Vuex from 'vuex'\r\nimport _get from 'lodash/get'\r\nimport { notifyProblem, notifyError } from '@/services/notify'\r\nimport kms from '@/services/kms'\r\n\r\nconst isDebug = false\r\n\r\n/* eslint-disable no-empty-pattern */\r\nconst actions = {\r\n //Get by Id\r\n async getHoaById({}, { hoaID }) {\r\n try {\r\n console.debug('in getHoaById...')\r\n const results = await kms.get(`/Hoa/List`)\r\n\r\n const filtered = results.hoas.filter(f => f.hoaID === hoaID)\r\n\r\n if (isDebug == true) console.debug('getHoaById=' + JSON.stringify(filtered[0]))\r\n\r\n return {\r\n result: filtered[0]\r\n }\r\n } catch (exception) {\r\n notifyProblem(`There was a problem retrieving the hoa information.`)\r\n console.error(exception)\r\n }\r\n\r\n return {\r\n result: {}\r\n }\r\n },\r\n\r\n async retrieveGoogleMapSignature({ dispatch }, { payload, done }) {\r\n if (isDebug == true)\r\n console.debug('...in retrieveGoogleMapSignature=' + JSON.stringify(payload))\r\n try {\r\n const results = await kms.post(\r\n `/Utilities/GoogleMapUtility/GoogleMapSignUrl?url=${encodeURIComponent(\r\n payload.url\r\n )}&signatureOnly=true`\r\n )\r\n\r\n if (this.isDebug == true) console.debug('results=' + JSON.stringify(results))\r\n\r\n if (dispatch && dispatch != undefined) console.debug(dispatch)\r\n\r\n if (results) {\r\n const result = {\r\n signature: results.toString()\r\n }\r\n\r\n console.debug(`Successfully retrived google map signature. ` + JSON.stringify(result))\r\n\r\n done({ result })\r\n } else {\r\n notifyError('There was a problem retrieving the google map signature.')\r\n }\r\n } catch (exception) {\r\n notifyError(`There was a problem retrieving the google map signature.`)\r\n console.error(exception)\r\n }\r\n },\r\n\r\n async retrieveGoogleAddress({ dispatch }, { lat, lng, done }) {\r\n if (isDebug == true) console.debug('...in retrieveGoogleAddress...')\r\n try {\r\n const address = await kms.post(\r\n `/Utilities/GoogleMapUtility/GoogleMapRetrievePhysicalAddress?lat=${lat}&lng=${lng}`\r\n )\r\n\r\n //console.debug('results=' + address)\r\n\r\n if (dispatch && dispatch != undefined) console.debug(dispatch)\r\n\r\n if (address) {\r\n const result = {\r\n address\r\n }\r\n done({ result })\r\n } else {\r\n notifyError('There was a problem retrieving the google map address.')\r\n }\r\n } catch (exception) {\r\n notifyError(`There was a problem retrieving the google map address.`)\r\n console.error(exception)\r\n }\r\n },\r\n\r\n async googleAddressExistsInSystem({ dispatch }, { hoaID, address, done }) {\r\n if (isDebug == true) console.debug('in googleAddressExistInSystem...')\r\n try {\r\n const validatedAddress = await kms.get(\r\n `/Roster/Unit/CheckForMatchingUnitAddress?hoaId=${hoaID}&address=${address}`\r\n )\r\n\r\n //console.debug('results=' + validatedAddress)\r\n\r\n if (dispatch && dispatch != undefined) console.debug(dispatch)\r\n\r\n if (validatedAddress) {\r\n const result = {\r\n validatedAddress\r\n }\r\n done({ result })\r\n } else {\r\n notifyError('There was a problem validating the google map address.')\r\n }\r\n } catch (exception) {\r\n notifyError(`There was a problem validating the google map address.`)\r\n console.error(exception)\r\n }\r\n },\r\n\r\n // Address List\r\n async loadDropDownAddressList(\r\n {},\r\n { hoaID, startRecord = 1, recordCount = 10000, includeOwnerContacts = false }\r\n ) {\r\n try {\r\n const params = {\r\n hoaID: hoaID,\r\n includeOwnerContacts,\r\n startRecord,\r\n recordCount\r\n }\r\n\r\n if (isDebug == true) console.debug('params=' + JSON.stringify(params))\r\n\r\n const { results: addresses } = await kms.get('/Roster/Unit/List', { params })\r\n\r\n let dropDownAddresses = addresses\r\n .map(a => ({\r\n value: a.address ? a.address.addressID : '',\r\n label: a.address\r\n ? a.address.addressOne +\r\n ', ' +\r\n a.address.city +\r\n ' ' +\r\n a.address.state +\r\n ' ' +\r\n a.address.postalCode\r\n : '',\r\n unitID: a.unitID ? a.unitID : 0,\r\n primaryOwnerID: a.primaryOwnerID ? a.primaryOwnerID : 0\r\n }))\r\n .filter(f => f.label.length > 0 && f.value > 0)\r\n .sort((a, b) => a.label - b.label)\r\n\r\n dropDownAddresses.unshift({ value: '', label: '<-Select Address->' })\r\n\r\n if (isDebug == true)\r\n console.debug('address drop down list=' + JSON.stringify(dropDownAddresses))\r\n\r\n return {\r\n list: dropDownAddresses\r\n }\r\n } catch (exception) {\r\n notifyProblem(`The address list could not be retrieved.`)\r\n console.error(exception)\r\n }\r\n\r\n return {\r\n list: []\r\n }\r\n },\r\n\r\n // Vendors List\r\n async loadVendors({}, { hoaID }) {\r\n try {\r\n const params = {\r\n hoaID: hoaID\r\n }\r\n const { results: vendors } = await kms.get('/Vendors/Vendor/List', { params })\r\n\r\n const vendorDropDownList = vendors\r\n .map(v => ({\r\n value: v.vendorID,\r\n label: v.name ? v.name : ''\r\n }))\r\n .filter(f => f.label.length > 0 && f.value > 0)\r\n .sort((a, b) => a.label - b.label)\r\n\r\n if (isDebug == true) console.debug('loadVendors=' + JSON.stringify(vendorDropDownList))\r\n\r\n return {\r\n list: vendorDropDownList\r\n }\r\n } catch (exception) {\r\n notifyProblem(`The vendor list could not be retrieved.`)\r\n console.error(exception)\r\n }\r\n\r\n return {\r\n list: []\r\n }\r\n },\r\n\r\n // Hoa List\r\n async loadHoasByGlobalVendorId({}, { vendorGlobalID }) {\r\n try {\r\n const params = {\r\n vendorGlobalID\r\n }\r\n const { results: hoas } = await kms.get('/Vendors/Vendor/HoaListForGlobalVendor', { params })\r\n\r\n const hoaDropDownList = hoas\r\n .map(v => ({\r\n value: v.hoaID,\r\n label: v.name ? v.name : ''\r\n }))\r\n .filter(f => f.label.length > 0 && f.value > 0)\r\n .sort((a, b) => a.label - b.label)\r\n\r\n hoaDropDownList.unshift({ value: 0, label: '<-All Hoas->' })\r\n\r\n if (isDebug == true)\r\n console.debug('loadHoasByGlobalVendorId=' + JSON.stringify(hoaDropDownList))\r\n\r\n return {\r\n list: hoaDropDownList\r\n }\r\n } catch (exception) {\r\n notifyProblem(`The hoa list could not be retrieved.`)\r\n console.error(exception)\r\n }\r\n\r\n return {\r\n list: []\r\n }\r\n },\r\n\r\n // Owners List\r\n async loadDropDownOwnersList(\r\n {},\r\n { hoaID, startRecord = 1, recordCount = 10000, includeOwnerContacts = false } = {}\r\n ) {\r\n try {\r\n const { results: owners } = await kms.get('/Roster/Unit/List', {\r\n params: {\r\n hoaID: hoaID,\r\n includeOwnerContacts,\r\n startRecord,\r\n recordCount\r\n }\r\n })\r\n\r\n const dropDownOwners = owners\r\n .map(a => ({\r\n value: _get(a, ['primaryOwner', 'ownerID'], ''),\r\n\r\n label: a.primaryOwner\r\n ? `${a.primaryOwner.name} - ${\r\n a.address && a.address != undefined && a.address.addressOne\r\n ? a.address.addressOne\r\n : ''\r\n }`\r\n : '',\r\n ownername: a.primaryOwner ? a.primaryOwner.name : ''\r\n }))\r\n .filter(f => f.label.length > 0 && f.value > 0)\r\n\r\n if (isDebug == true) console.debug('owner drop down list=' + JSON.stringify(dropDownOwners))\r\n\r\n return {\r\n list: dropDownOwners\r\n }\r\n } catch (e) {\r\n notifyProblem(e)\r\n }\r\n\r\n return {\r\n list: null\r\n }\r\n }\r\n}\r\n/* eslint-enable no-empty-pattern */\r\n\r\nVue.use(Vuex)\r\nexport const hoaUtility = new Vuex.Store({\r\n state: {},\r\n mutations: {},\r\n getters: {},\r\n actions\r\n})\r\n","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Slide.vue?vue&type=style&index=0&id=308229b2&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Slide.vue?vue&type=style&index=0&id=308229b2&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{style:({ display: 'flex' }),attrs:{\"links-menu\":\"\"}},[(_vm.breakpoint === 'desktop')?_c('ul',{staticClass:\"details-menu\",style:(_vm.styles_.ul),attrs:{\"role\":\"navigation\"}},_vm._l((_vm.tabs),function(tab,index){return _c('li',{key:tab.name},[_c('router-link',{staticClass:\"h7\",attrs:{\"to\":{\n name: (\"\" + _vm.prefix + (tab.name)),\n hash: '#tab',\n params: Object.assign(\n {\n index: index\n },\n _vm.params\n )\n }}},[_vm._v(\" \"+_vm._s(tab.label)+\" \")])],1)}),0):_vm._e(),_c('div',{style:({ flexGrow: 1 })},[(['tablet', 'mobile'].includes(_vm.breakpoint))?_c('b-field',[_c('b-select',{style:({ maxWidth: '300px', width: '100%', margin: '0 auto' }),attrs:{\"rounded\":\"\"},model:{value:(_vm.selectedTab),callback:function ($$v) {_vm.selectedTab=$$v},expression:\"selectedTab\"}},_vm._l((_vm.tabs),function(key,index){return _c('option',{key:index},[_vm._v(\" \"+_vm._s(key.label)+\" \")])}),0)],1):_vm._e(),_vm._t(\"default\")],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=bac35f7c&scoped=true&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=bac35f7c&lang=scss&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 \"bac35f7c\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=6b798862&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=6b798862&lang=scss&scoped=true&\"","/*\r\n example:\r\n import { StorePhoto } from '@/services/WorkOrderRequests/WorkOrderRequestPhoto/StorePhotoFile';\r\n\r\n const { successful, documentId } = await StorePhoto ({\r\n photo,\r\n params: {\r\n workOrderRequestID\r\n }\r\n });\r\n if (!successful) {\r\n\r\n }\r\n*/\r\n\r\n/*\r\n example response:\r\n\r\n*/\r\nimport kms from '@/services/kms'\r\nimport _get from 'lodash/get'\r\n\r\nconst isDebug = false\r\n\r\nexport async function StorePhoto({ params, photo }) {\r\n if (isDebug === true) console.debug('in StorePhoto for work order requests...')\r\n const message = 'A problem occurred and the photo could not be uploaded.'\r\n\r\n try {\r\n const formData = new FormData()\r\n formData.append('file', photo)\r\n\r\n const results = await kms.post(\r\n `/WorkOrderRequests/WorkOrderRequestPhoto/StorePhotoFile?workOrderRequestID=${params.workOrderRequestID}`,\r\n formData,\r\n {\r\n 'Content-Type': 'multipart/form-data'\r\n }\r\n )\r\n\r\n if (isDebug === true) console.debug({ results })\r\n\r\n const documentId = _get(results, 'documentId', null)\r\n\r\n return {\r\n successful: true,\r\n message: '',\r\n documentId\r\n }\r\n } catch (exception) {\r\n console.error(exception)\r\n }\r\n\r\n return {\r\n successful: false,\r\n documentId: null,\r\n message\r\n }\r\n}\r\n","/*\r\n example:\r\n import { StoreMultiplePhotos } from '@/services/WorkOrderRequests/WorkOrderRequestPhoto/procedures/StoreMultiplePhotos';\r\n\r\n const { problems, message } = await StoreMultiplePhotos ({\r\n photo,\r\n params: {\r\n workOrderRequestID\r\n }\r\n });\r\n if (problems >= 1) {\r\n notifyProblem (message);\r\n }\r\n*/\r\n\r\n/*\r\n example response:\r\n\r\n*/\r\nimport _get from 'lodash/get'\r\n//\r\nimport { StorePhoto } from '../StorePhotoFile'\r\n//\r\nlet message = ({ problems }) => {\r\n let verb = 'were'\r\n let amount = 's'\r\n if (problems === 1) {\r\n verb = 'was'\r\n amount = ''\r\n }\r\n\r\n return `A problem occurred and ${problems} photo${amount} ${verb} not stored successfully.`\r\n}\r\n//\r\nexport async function StoreMultiplePhotos({ photos, params }) {\r\n if (!Array.isArray(photos) || photos.length === 0) {\r\n return {\r\n problems: 0,\r\n message: ''\r\n }\r\n }\r\n\r\n const results = await Promise.all(\r\n photos.map(photo => {\r\n return StorePhoto({\r\n params,\r\n photo\r\n })\r\n })\r\n )\r\n\r\n let problems = 0\r\n for (let a = 0; a < results.length; a++) {\r\n const result = results[a]\r\n\r\n if (_get(result, 'successful', '') !== true) {\r\n problems++\r\n continue\r\n }\r\n }\r\n\r\n return {\r\n problems,\r\n message: message({\r\n problems\r\n })\r\n }\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{staticStyle:{\"width\":\"24px\",\"height\":\"24px\"},attrs:{\"viewBox\":\"0 0 24 24\"}},[_c('path',{attrs:{\"fill\":\"#888\",\"d\":\"M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z\"}})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InfoPlain.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InfoPlain.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./InfoPlain.vue?vue&type=template&id=6645b07c&\"\nimport script from \"./InfoPlain.vue?vue&type=script&lang=js&\"\nexport * from \"./InfoPlain.vue?vue&type=script&lang=js&\"\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 render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{\"name\":_vm.name}},[_vm._t(\"default\")],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Slide.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Slide.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Slide.vue?vue&type=template&id=308229b2&scoped=true&\"\nimport script from \"./Slide.vue?vue&type=script&lang=js&\"\nexport * from \"./Slide.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Slide.vue?vue&type=style&index=0&id=308229b2&lang=scss&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 \"308229b2\",\n null\n \n)\n\nexport default component.exports","var root = require('./_root');\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nmodule.exports = now;\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('PageContentLayoutOnly',[_c('div',[_c('ListWorkOrderRequestConversations',{attrs:{\"workOrderRequestID\":parseInt(_vm.workOrderRequestID)}})],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export const methods = {\r\n async reload() {\r\n this.loading = true\r\n\r\n this.workOrderRequestID = this.$route.params.id || 0\r\n\r\n this.loading = false\r\n }\r\n}\r\n","export const data = () => ({\r\n isDebug: true,\r\n loading: false,\r\n workOrderRequestID: 0,\r\n styles: {\r\n filterButton: {\r\n float: 'right',\r\n marginTop: '4px'\r\n }\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--12-0!../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./List.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./List.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./List.vue?vue&type=template&id=26c1dd56&\"\nimport script from \"./List.vue?vue&type=script&lang=js&\"\nexport * from \"./List.vue?vue&type=script&lang=js&\"\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","/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nmodule.exports = trimmedEndIndex;\n","import mod from \"-!../../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&lang=scss&\"","/*\r\n import { workOrderPhotoStore } from '@/services/WorkOrders/WorkOrderPhoto/store'\r\n*/\r\n\r\nimport Vue from 'vue'\r\nimport Vuex from 'vuex'\r\nimport _get from 'lodash/get'\r\nimport { notifyProblem, notifyMessage, notifyError } from '@/services/notify'\r\nimport kms from '@/services/kms'\r\n\r\nconst isDebug = true\r\n\r\n/* eslint-disable no-empty-pattern */\r\nconst actions = {\r\n async getWorkOrderPhotoList({}, { workOrderID }) {\r\n console.log('in getWorkOrderPhotoList...')\r\n try {\r\n const result = await kms.get('/WorkOrders/WorkOrderPhoto/List', {\r\n params: {\r\n workOrderID\r\n }\r\n })\r\n\r\n if (isDebug == true) console.debug('getWorkOrderPhotoList log=' + JSON.stringify(result))\r\n\r\n return {\r\n list: result.results\r\n }\r\n } catch (exception) {\r\n notifyProblem(`The work order photos list could not be retrieved.`)\r\n console.error(exception)\r\n }\r\n\r\n return {\r\n list: []\r\n }\r\n },\r\n\r\n async getWorkOrderPhotoGetFile({}, { params = {} }) {\r\n try {\r\n const result = await kms.get(`/WorkOrders/WorkOrderPhoto/GetWorkOrderPhotoFile`, {\r\n params\r\n })\r\n\r\n if (isDebug == true) console.debug('getWorkOrderPhotoGetFile=' + result)\r\n\r\n return {\r\n returned: result\r\n }\r\n } catch (exception) {\r\n notifyProblem(`There was a problem retrieving the work order photo file.`)\r\n console.error(exception)\r\n }\r\n\r\n return {\r\n returned: null\r\n }\r\n },\r\n\r\n // Update Work Order Document\r\n async updateWorkOrderPhoto({ dispatch }, { payload = {}, done }) {\r\n try {\r\n const results = await kms.put(`/WorkOrders/WorkOrderPhoto`, payload)\r\n\r\n if (this.isDebug == true) console.debug('results=' + JSON.stringify(results))\r\n\r\n if (dispatch && dispatch != undefined) console.debug(dispatch)\r\n\r\n if (results.workOrderPhotoID > 0) {\r\n if (payload.remove && payload.reomove != undefined && payload.remove == true) {\r\n notifyMessage(`Successfully removed the work order photo.`)\r\n } else {\r\n notifyMessage(`Successfully updated the work order photo description.`)\r\n }\r\n done()\r\n } else {\r\n notifyError('There was a problem updating this work order photo description.')\r\n }\r\n } catch (exception) {\r\n notifyProblem('There was a problem updating this work order photo description.')\r\n console.error(exception)\r\n }\r\n },\r\n\r\n // Update Work Order Document Attachment\r\n async updateWorkOrderPhotoAttachment({}, payload = {}) {\r\n const formData = new FormData()\r\n formData.append('file', payload.file)\r\n\r\n try {\r\n const path = `/WorkOrders/WorkOrderPhoto/UpdateAttachment?workOrderPhotoID=${payload.workOrderPhotoID}`\r\n\r\n const updateWorkOrderPhoto = await kms.put(path, formData, {\r\n 'Content-Type': 'multipart/form-data'\r\n })\r\n\r\n if (this.isDebug == true) console.debug('results=' + JSON.stringify(updateWorkOrderPhoto))\r\n\r\n return {\r\n returned: updateWorkOrderPhoto\r\n }\r\n } catch (exception) {\r\n notifyProblem('There was a problem updating this work order photo attachment.')\r\n console.error(exception)\r\n }\r\n\r\n return {\r\n returned: null\r\n }\r\n },\r\n\r\n async addWorkOrderPhoto({}, { workOrderID, description }) {\r\n try {\r\n const workOrderPhoto = await kms.post(`/WorkOrders/WorkOrderPhoto`, {\r\n workOrderID,\r\n description\r\n })\r\n\r\n if (isDebug == true) console.debug('workOrderPhoto=' + JSON.stringify(workOrderPhoto))\r\n\r\n return {\r\n returned: workOrderPhoto\r\n }\r\n } catch (exception) {\r\n notifyProblem('There was a problem adding the work order photo.')\r\n console.error(exception)\r\n }\r\n\r\n return {\r\n returned: null\r\n }\r\n },\r\n\r\n async uploadWorkOrderPhoto({}, { payload }) {\r\n const formData = new FormData()\r\n formData.append('file', payload.file)\r\n\r\n try {\r\n const path = `/WorkOrders/WorkOrderPhoto/StoreWorkOrderPhotoFile?workOrderID=${payload.workOrderID}&existingWorkOrderPhotoID=${payload.existingWorkOrderPhotoID}`\r\n const uploadedWorkOrderPhotoFile = await kms.post(path, formData, {\r\n 'Content-Type': 'multipart/form-data'\r\n })\r\n\r\n if (isDebug == true)\r\n console.debug(\r\n 'uploadedWorkOrderPhotoFile with payload=' + JSON.stringify(uploadedWorkOrderPhotoFile)\r\n )\r\n\r\n return {\r\n returnedfile: uploadedWorkOrderPhotoFile\r\n }\r\n } catch (exception) {\r\n notifyProblem('There was a problem uploading the work order photo.')\r\n console.error(exception)\r\n }\r\n\r\n return {\r\n returnedfile: null\r\n }\r\n },\r\n\r\n async deleteWorkOrderPhoto({ dispatch }, { workOrderPhotoID, done }) {\r\n try {\r\n const path = `/WorkOrders/WorkOrderPhoto/${workOrderPhotoID}?forceDelete=false`\r\n\r\n const results = await kms.delete(path)\r\n\r\n if (this.isDebug == true) console.debug('results=' + JSON.stringify(results))\r\n\r\n if (dispatch && dispatch != undefined) console.debug(dispatch)\r\n\r\n const wasDeleted = _get(results, 'deleted', false)\r\n\r\n if (wasDeleted === true) {\r\n notifyMessage(`Successfully deleted the work order photo.`)\r\n done()\r\n } else {\r\n notifyError('There was a problem deleting the work order photo.')\r\n }\r\n } catch (exception) {\r\n notifyProblem(`There was a problem deleting the work order photo.`)\r\n console.error(exception)\r\n }\r\n }\r\n}\r\n/* eslint-enable no-empty-pattern */\r\n\r\nVue.use(Vuex)\r\nexport const workOrderPhotoStore = new Vuex.Store({\r\n state: {},\r\n mutations: {},\r\n getters: {},\r\n actions\r\n})\r\n","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&lang=scss&\"","/*\r\n import { workOrderList } from '@/services/WorkOrders/store'\r\n*/\r\n\r\nimport Vue from 'vue'\r\nimport Vuex from 'vuex'\r\nimport _get from 'lodash/get'\r\n\r\nimport { notifyProblem, notifyError, notifyMessage } from '@/services/notify'\r\nimport kms from '@/services/kms'\r\n\r\nconst isDebug = true\r\n\r\n/* eslint-disable no-empty-pattern */\r\nconst actions = {\r\n async getAccessToken({}, { credentialsName }) {\r\n try {\r\n console.debug('in getAccessToken...')\r\n const credentials = await kms.get(`/Support/ThirdPartyCredentials/GetCredentialsSingle`, {\r\n params: {\r\n credentialsName\r\n }\r\n })\r\n\r\n if (isDebug == true) console.debug('getAccessToken=')\r\n\r\n return {\r\n result: credentials\r\n }\r\n } catch (exception) {\r\n notifyProblem(`There was a problem retrieving the result.`)\r\n console.error(exception)\r\n }\r\n\r\n return {\r\n result: {}\r\n }\r\n },\r\n\r\n async loadLocationTypes({}) {\r\n try {\r\n const myList = [\r\n {\r\n value: 'My Property',\r\n label: 'My Property'\r\n },\r\n {\r\n value: 'Common Area',\r\n label: 'Common Area'\r\n }\r\n ]\r\n\r\n if (myList) {\r\n myList.unshift({\r\n value: '<-Select a Location Type->',\r\n label: '<-Select a Location Type->'\r\n })\r\n }\r\n\r\n return {\r\n list: myList\r\n }\r\n } catch (exception) {\r\n notifyProblem(`The Location Types could not be retrieved.`)\r\n console.error(exception)\r\n }\r\n\r\n return {\r\n list: []\r\n }\r\n },\r\n\r\n async loadLocationTypesManagement({}) {\r\n try {\r\n const myList = [\r\n {\r\n value: 'My Property',\r\n label: 'Property'\r\n },\r\n {\r\n value: 'Common Area',\r\n label: 'Common Area'\r\n }\r\n ]\r\n\r\n if (myList) {\r\n myList.unshift({\r\n value: '<-Select a Location Type->',\r\n label: '<-Select a Location Type->'\r\n })\r\n }\r\n\r\n return {\r\n list: myList\r\n }\r\n } catch (exception) {\r\n notifyProblem(`The Location Types could not be retrieved.`)\r\n console.error(exception)\r\n }\r\n\r\n return {\r\n list: []\r\n }\r\n },\r\n\r\n /*\r\n const { list } = await workOrderList.dispatch ('getWorkOrderList', {\r\n hoaId\r\n });\r\n */\r\n async getWorkOrderList({}, { hoaId, unitID }) {\r\n console.log('in getWorkOrderList...')\r\n try {\r\n const result = await kms.get('/WorkOrders/WorkOrder/ListBasic', {\r\n params: {\r\n hoaId,\r\n unitID: unitID ? unitID : null\r\n }\r\n })\r\n\r\n if (isDebug == true) console.debug('getWorkOrderList log=' + JSON.stringify(result))\r\n\r\n return {\r\n list: result.results\r\n }\r\n } catch (exception) {\r\n notifyProblem(`The work orders list could not be retrieved.`)\r\n console.error(exception)\r\n }\r\n\r\n return {\r\n list: []\r\n }\r\n },\r\n\r\n async deleteWorkOrder({ dispatch }, { workOrderID, done }) {\r\n try {\r\n const path = `/WorkOrders/WorkOrder/${workOrderID}?forceDelete=false`\r\n\r\n const results = await kms.delete(path)\r\n\r\n if (this.isDebug == true) console.debug('results=' + JSON.stringify(results))\r\n\r\n if (dispatch && dispatch != undefined) console.debug(dispatch)\r\n\r\n const wasDeleted = _get(results, 'deleted', false)\r\n\r\n if (wasDeleted === true) {\r\n notifyMessage(`Successfully deleted the work order.`)\r\n done()\r\n } else {\r\n notifyError('There was a problem deleting the work order.')\r\n }\r\n } catch (exception) {\r\n notifyProblem(`There was a problem deleting this work order.`)\r\n console.error(exception)\r\n }\r\n },\r\n\r\n async cancelWorkOrder({ dispatch }, { workOrderID, cancelledReason, done }) {\r\n try {\r\n const path = `/WorkOrders/WorkOrder/CancelWorkOrder`\r\n\r\n const results = await kms.put(path, {\r\n workOrderID,\r\n cancelledReason,\r\n cancelledByAspNetUserID: 'stub'\r\n })\r\n\r\n if (this.isDebug == true) console.debug('results=' + JSON.stringify(results))\r\n\r\n if (dispatch && dispatch != undefined) console.debug(dispatch)\r\n\r\n if (results !== undefined && results && results.workOrderID) {\r\n notifyMessage(`Successfully cancelled the work order.`)\r\n done()\r\n } else {\r\n notifyError('There was a problem cancelling the work order.')\r\n }\r\n } catch (exception) {\r\n notifyProblem(`There was a problem cancelling this work order.`)\r\n console.error(exception)\r\n }\r\n },\r\n\r\n /*\r\n \r\n */\r\n async addWorkOrder(\r\n { dispatch },\r\n {\r\n workOrderTypeID,\r\n sourceWorkOrderRequestID,\r\n vendorID,\r\n hoaID,\r\n unitID,\r\n locationDescription,\r\n description,\r\n detailedDescription,\r\n specialInstructions,\r\n latitude,\r\n longitude,\r\n locationType,\r\n completeByDate,\r\n done\r\n }\r\n ) {\r\n try {\r\n const results = await kms.post(`/WorkOrders/WorkOrder`, {\r\n workOrderTypeID,\r\n sourceWorkOrderRequestID,\r\n vendorID,\r\n hoaID,\r\n unitID,\r\n locationDescription,\r\n description,\r\n detailedDescription,\r\n specialInstructions,\r\n latitude,\r\n longitude,\r\n locationType,\r\n completeByDate\r\n })\r\n\r\n if (this.isDebug == true) console.debug('results=' + JSON.stringify(results))\r\n\r\n if (dispatch && dispatch != undefined) console.debug(dispatch)\r\n\r\n if (results.workOrderID > 0) {\r\n notifyMessage(`Successfully added work order.`)\r\n done({ details: results })\r\n return {\r\n details: results\r\n }\r\n } else {\r\n notifyError('There was a problem adding the new work order.')\r\n }\r\n } catch (exception) {\r\n notifyProblem(`There was a problem adding this work order.`)\r\n console.error(exception)\r\n }\r\n\r\n return {\r\n details: {}\r\n }\r\n },\r\n\r\n /*\r\n await workOrderList.dispatch('transmitNotification', {\r\n workOrderID: id,\r\n done: ({ details }) => {\r\n console.debug('details=' + details)\r\n this.loading = false\r\n }\r\n })\r\n */\r\n async transmitNotification({ dispatch }, { workOrderID, done }) {\r\n try {\r\n const results = await kms.post(\r\n `/WorkOrders/WorkOrder/TransmitNotificationToVendor?workOrderID=${workOrderID}`,\r\n {\r\n workOrderID\r\n }\r\n )\r\n\r\n if (this.isDebug == true) console.debug('results=' + JSON.stringify(results))\r\n\r\n if (dispatch && dispatch != undefined) console.debug(dispatch)\r\n\r\n if (results && results === true) {\r\n notifyMessage(`Successfully transmitted work order notification.`)\r\n done({ details: results })\r\n return {\r\n details: results\r\n }\r\n } else {\r\n notifyError('There was a problem transmitting the work order notification.')\r\n }\r\n } catch (exception) {\r\n notifyProblem(`There was a problem transmitting the work order notification.`)\r\n console.error(exception)\r\n }\r\n }\r\n}\r\n/* eslint-enable no-empty-pattern */\r\n\r\nVue.use(Vuex)\r\nexport const workOrderList = new Vuex.Store({\r\n state: {},\r\n mutations: {},\r\n getters: {},\r\n actions\r\n})\r\n","/*\r\n import { workOrderItem } from '@/services/WorkOrders/UpdateWorkOrder/store'\r\n*/\r\n\r\nimport Vue from 'vue'\r\nimport Vuex from 'vuex'\r\n\r\nimport { notifyProblem, notifyError, notifyMessage } from '@/services/notify'\r\nimport kms from '@/services/kms'\r\n\r\nconst isDebug = true\r\n\r\n/* eslint-disable no-empty-pattern */\r\nconst actions = {\r\n /*\r\n const { workOrder } = await workOrderItem.dispatch ('getWorkOrderById', {\r\n workOrderID\r\n });\r\n */\r\n //Work Order by Id\r\n async getWorkOrderById({}, { workOrderID }) {\r\n try {\r\n console.debug('in getWorkOrderById...')\r\n const workorder = await kms.get(`/WorkOrders/WorkOrder/${workOrderID}`)\r\n\r\n if (isDebug == true) console.debug('getWorkOrderById=' + JSON.stringify(workorder))\r\n\r\n return {\r\n workorder: workorder\r\n }\r\n } catch (exception) {\r\n notifyProblem(`There was a problem retrieving the work order.`)\r\n console.error(exception)\r\n }\r\n\r\n return {\r\n workorder: {}\r\n }\r\n },\r\n\r\n /*\r\n const { workordertypelist } = await workOrderItem.dispatch ('getWorkOrderTypeList', {\r\n hoaId\r\n });\r\n */\r\n //Work Order Type List\r\n async getWorkOrderTypeList({}, hoaID) {\r\n try {\r\n const params = {\r\n hoaID: hoaID\r\n }\r\n\r\n let { results: workOrderTypes } = await kms.get('/WorkOrders/WorkOrderType/List', { params })\r\n\r\n if (isDebug == true) console.debug('workOrderTypes=' + JSON.stringify(workOrderTypes))\r\n\r\n const workOrderTypeDropDownList = workOrderTypes\r\n .map(v => ({\r\n value: v.workOrderTypeID,\r\n label: v.name ? v.name : ''\r\n }))\r\n .filter(f => f.label.length > 0 && f.value > 0)\r\n .sort((a, b) => a.label - b.label)\r\n\r\n if (isDebug == true)\r\n console.debug('workOrderTypeDropDownList=' + JSON.stringify(workOrderTypeDropDownList))\r\n\r\n return {\r\n list: workOrderTypeDropDownList\r\n }\r\n } catch (exception) {\r\n notifyProblem(`There was a problem retrieving the work order type list.`)\r\n console.error(exception)\r\n }\r\n\r\n return {\r\n list: []\r\n }\r\n },\r\n\r\n // Update Work Order\r\n async updateWorkOrder({ dispatch }, { payload = {}, done }) {\r\n try {\r\n if (isDebug === true) console.debug('updateWorkOrder payload=' + JSON.stringify(payload))\r\n\r\n const results = await kms.put(`/WorkOrders/WorkOrder`, payload)\r\n\r\n if (this.isDebug == true) console.debug('results=' + JSON.stringify(results))\r\n\r\n if (dispatch && dispatch != undefined) console.debug(dispatch)\r\n\r\n if (results.workOrderID > 0) {\r\n notifyMessage(`Successfully updated the work order.`)\r\n done()\r\n } else {\r\n notifyError('There was a problem updating this work order.')\r\n }\r\n } catch (exception) {\r\n notifyProblem(`There was a problem processing the update for this work order.`)\r\n console.error(exception)\r\n }\r\n }\r\n}\r\n/* eslint-enable no-empty-pattern */\r\n\r\nVue.use(Vuex)\r\nexport const workOrderItem = new Vuex.Store({\r\n state: {},\r\n mutations: {},\r\n getters: {},\r\n actions\r\n})\r\n","var trimmedEndIndex = require('./_trimmedEndIndex');\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\nmodule.exports = baseTrim;\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.formData)?_c('div',{staticClass:\"is-size-4\"},[_vm._v(\"Create Work Order\")]):_vm._e(),_c('ValidationObserver',{ref:\"form\",scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar handleSubmit = ref.handleSubmit;\nreturn [_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\",\"appear\":\"\"}},[_c('form',{staticClass:\"form\",on:{\"submit\":function($event){$event.preventDefault();return handleSubmit(_vm.onFormSubmit)}}},[_c('fieldset',[_c('div',{staticClass:\"columns\"},[_c('div',{staticClass:\"column is-6\"},[_c('b-field',{attrs:{\"label\":_vm.locationTypeText}},[_c('b-select',{attrs:{\"required\":\"true\",\"placeholder\":\"Select a Location Type\"},nativeOn:{\"click\":function($event){return _vm.locationTypeChanged()}},model:{value:(_vm.locationType),callback:function ($$v) {_vm.locationType=$$v},expression:\"locationType\"}},_vm._l((_vm.locationTypeList),function(option){return _c('option',{key:option.value,domProps:{\"value\":option.value}},[_vm._v(\" \"+_vm._s(option.label)+\" \")])}),0)],1)],1)]),_c('div',{staticClass:\"columns\"},[(_vm.locationType.indexOf('Property') > -1)?_c('div',{staticClass:\"column is-6\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Select Location / Unit\")]),_c('b-autocomplete',{attrs:{\"size\":\"is-small\",\"field\":\"label\",\"icon\":\"magnify\",\"loading\":_vm.isFetching,\"placeholder\":\"e.g. Location / Unit Search\",\"data\":_vm.data,\"open-on-focus\":_vm.openOnFocus,\"required\":\"true\"},on:{\"typing\":_vm.getAsyncData,\"select\":function (option) { return (_vm.selected = option); }},model:{value:(_vm.locationFilterQuery),callback:function ($$v) {_vm.locationFilterQuery=$$v},expression:\"locationFilterQuery\"}})],1):_vm._e()]),_c('div',{staticClass:\"columns\"},[_c('div',{staticClass:\"column is-6\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Select Vendor\")]),_c('b-autocomplete',{attrs:{\"size\":\"is-small\",\"field\":\"label\",\"icon\":\"magnify\",\"loading\":_vm.isFetching,\"placeholder\":\"e.g. Vendor\",\"data\":_vm.vendorData,\"open-on-focus\":_vm.openOnFocus,\"required\":\"true\"},on:{\"typing\":_vm.getVendorAsyncData,\"select\":function (option) { return (_vm.selected = option); }},model:{value:(_vm.vendorFilterQuery),callback:function ($$v) {_vm.vendorFilterQuery=$$v},expression:\"vendorFilterQuery\"}})],1),(_vm.workOrderTypeList)?_c('div',{staticClass:\"column is-6\"},[_c('valid-select',{attrs:{\"label\":\"Work Order Type\",\"placeholder\":\"Work Order Types\",\"vid\":\"workOrderTypeID\",\"required\":\"true\",\"rules\":\"required\"},model:{value:(_vm.formData.workOrderTypeID),callback:function ($$v) {_vm.$set(_vm.formData, \"workOrderTypeID\", $$v)},expression:\"formData.workOrderTypeID\"}},_vm._l((_vm.workOrderTypeList),function(option){return _c('option',{key:option.value,domProps:{\"value\":option.value}},[_vm._v(_vm._s(option.label))])}),0)],1):_vm._e()]),_c('div',{staticClass:\"columns\"},[_c('div',{staticClass:\"column is-6\"},[_c('b-field',{attrs:{\"label\":\"Complete By Date\"}},[_c('b-datepicker',{attrs:{\"label\":\"Complete By Date\",\"show-week-number\":_vm.showWeekNumber,\"placeholder\":\"Click to select Complete By Date...\",\"icon\":\"calendar-today\",\"trap-focus\":\"\",\"editable\":\"\"},model:{value:(_vm.formData.completeByDate),callback:function ($$v) {_vm.$set(_vm.formData, \"completeByDate\", $$v)},expression:\"formData.completeByDate\"}})],1)],1)]),_c('div',{staticClass:\"is-12\"},[_c('valid-input',{staticClass:\"is-small\",staticStyle:{\"width\":\"50px !important\"},attrs:{\"name\":\"Summary\",\"label\":\"Title\",\"type\":\"text\",\"vid\":\"Summary\",\"placeholder\":\"Title\",\"spellcheck\":\"true\",\"aria-label\":\"Title\",\"rules\":\"max:100|required\",\"disabled\":_vm.formData.status &&\n (_vm.formData.status === 'cancelled' || _vm.formData.status === 'promoted')\n ? true\n : false},model:{value:(_vm.formData.description),callback:function ($$v) {_vm.$set(_vm.formData, \"description\", $$v)},expression:\"formData.description\"}})],1),_c('div',{staticClass:\"is-12 pt-5\"},[_c('valid-input',{staticClass:\"is-small\",staticStyle:{\"width\":\"50px !important\"},attrs:{\"name\":\"Description\",\"label\":\"Description\",\"type\":\"textarea\",\"vid\":\"Description\",\"placeholder\":\"Description\",\"spellcheck\":\"true\",\"aria-label\":\"Description\",\"rules\":\"required|max:8000\"},model:{value:(_vm.formData.detailedDescription),callback:function ($$v) {_vm.$set(_vm.formData, \"detailedDescription\", $$v)},expression:\"formData.detailedDescription\"}})],1),_c('div',{staticClass:\"is-12 pt-5\"},[_c('valid-input',{staticClass:\"is-small\",staticStyle:{\"width\":\"50px !important\"},attrs:{\"optional\":true,\"name\":\"LocationDescription\",\"label\":\"Location Description\",\"type\":\"textarea\",\"vid\":\"LocationDescription\",\"placeholder\":\"Location Description\",\"spellcheck\":\"true\",\"aria-label\":\"Location Description\",\"rules\":\"max:200\"},model:{value:(_vm.formData.locationDescription),callback:function ($$v) {_vm.$set(_vm.formData, \"locationDescription\", $$v)},expression:\"formData.locationDescription\"}})],1),_c('div',{staticClass:\"is-12 pt-5 pb-5\"},[_c('valid-input',{staticClass:\"is-small\",staticStyle:{\"width\":\"50px !important\"},attrs:{\"optional\":true,\"name\":\"SpecialInstructions\",\"label\":\"Special Instructions\",\"type\":\"textarea\",\"vid\":\"SpecialInstructions\",\"placeholder\":\"Special Instructions\",\"spellcheck\":\"true\",\"aria-label\":\"Special Instructions\",\"rules\":\"max:8000\"},model:{value:(_vm.formData.specialInstructions),callback:function ($$v) {_vm.$set(_vm.formData, \"specialInstructions\", $$v)},expression:\"formData.specialInstructions\"}})],1),(_vm.hideMap !== true)?_c('div',{staticClass:\"href-overflow-wrap pt-5\",staticStyle:{\"cursor\":\"pointer\"},on:{\"click\":_vm.hideShowMap}},[_vm._v(\" \"+_vm._s(_vm.hideShowMapText)+\" \"),_c('i',{staticClass:\"icon-map\",staticStyle:{\"font-size\":\"8pt\",\"vertical-align\":\"baseline !important\"}})]):_vm._e(),(_vm.hideMap !== true)?_c('div',{staticClass:\"font-bold\"},[_vm._v(\" Please drag and drop the pin to represent the location of the work order. \")]):_vm._e(),(_vm.hideShowMapFlag && (_vm.hideShowMapFlag === true || _vm.hideShowMapFlag === 'true'))?_c('div',{staticClass:\"pt-6 pb-6\"},[_c('GoogleMap',{attrs:{\"mapStyle\":\"satellite\",\"accessToken\":_vm.accessToken,\"longitude\":Number.parseFloat(_vm.longitude ? _vm.longitude : 0),\"latitude\":Number.parseFloat(_vm.latitude ? _vm.latitude : 0),\"zoomLevel\":parseInt(19),\"workOrderId\":parseInt(_vm.workOrderID),\"workOrderRequestId\":parseInt(_vm.workOrderRequestID),\"reloadParent\":_vm.reloadParentImages,\"hideMap\":_vm.hideMap}})],1):_vm._e(),_c('div',{staticClass:\"column is-12\"},[_c('section',{staticClass:\"pt-6 violation-image-upload\"},[_c('b-field',{staticClass:\"file\"},[_c('b-upload',{staticClass:\"border-dashed border-2 border-gray-400 flex flex-col justify-center items-center\",attrs:{\"multiple\":\"\",\"drag-drop\":\"\",\"accept\":\"image/png, image/jpeg, image/jpg\"},model:{value:(_vm.files),callback:function ($$v) {_vm.files=$$v},expression:\"files\"}},[_c('section',{staticClass:\"section\"},[_c('div',{staticClass:\"content has-text-centered\"},[_c('p',[_c('b-icon',{attrs:{\"icon\":\"upload\",\"size\":\"is-large\"}})],1),_c('p',[_vm._v(\"Drop your files here or click to upload\")])])])])],1),_c('ul',{staticClass:\"flex flex-1 flex-wrap -m-1\",attrs:{\"id\":\"gallery\"}},[_c('li',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.previews.length),expression:\"!previews.length\"}],staticClass:\"h-full w-full text-center flex flex-col items-center justify-center items-center\"},[_c('img',{staticClass:\"mx-auto w-32\",attrs:{\"src\":\"https://user-images.githubusercontent.com/507615/54591670-ac0a0180-4a65-11e9-846c-e55ffce0fe7b.png\",\"alt\":\"no data\"}}),_c('span',{staticClass:\"text-small text-gray-500\"},[_vm._v(\"No files selected\")])]),_vm._l((_vm.previews),function(image,index){return _c('li',{key:index,staticClass:\"p-1 flex w-1/4 h-32\"},[_c('div',{staticClass:\"align-items-center relative w-full h-full bg-cover\",style:((\"background-image: url(\" + image + \");\"))},[_c('button',{staticClass:\"delete is-small\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.deleteDropFile(index)}}}),_c('label',{staticClass:\"absolute inset-x-0 bottom-0 bg-black bg-opacity-50 z-10 p-2\"},[_c('span',{staticStyle:{\"color\":\"white\"}},[_vm._v(_vm._s(_vm.files[index].name))])])])])})],2)],1)]),_c('div',{style:({ display: 'flex', flexWrap: 'wrap' })},_vm._l((_vm.photos),function(entry,index){return _c('div',{key:index,style:({ height: '300px', width: '300px', margin: '4px' })},[_c('PictureFrame',{attrs:{\"src\":entry.photo,\"details\":entry,\"editMode\":false}})],1)}),0),_c('div',{staticClass:\"column is-12\",style:({ display: 'flex' })},[_c('b-checkbox',{model:{value:(_vm.transmit),callback:function ($$v) {_vm.transmit=$$v},expression:\"transmit\"}},[_vm._v(\"transmit notification to vendor\")]),_c('b-tooltip',{style:({\n cursor: 'pointer'\n }),attrs:{\"label\":\"Check to transmit a notification to the vendor after the work order is created.\",\"multilined\":\"\",\"triggers\":['click']}},[_c('InfoPlain')],1)],1),_c('div',{staticClass:\"column is-12\"},[_c('button',{staticClass:\"button is-primary is-rounded\",attrs:{\"type\":\"submit\",\"disabled\":_vm.loading}},[_vm._v(\" Create \")])])]),_c('fieldset',[_c('ValidationProvider',{attrs:{\"vid\":\"providerErrors\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\n var errors = ref.errors;\nreturn [_c('div',{staticClass:\"field\"},[_c('span',[_vm._v(_vm._s(errors[0]))])])]}}],null,true)})],1)])])]}}])})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import $ from 'jquery'\r\nimport debounce from 'lodash/debounce'\r\nimport _get from 'lodash/get'\r\n//\r\nimport { notifyMessage, notifyError, notifyProblem } from '@/services/notify'\r\nimport { ValidationError } from '@/services/errors'\r\nimport { workOrderItem } from '@/services/WorkOrders/UpdateWorkOrder/store'\r\nimport { workOrderList } from '@/services/WorkOrders/store'\r\nimport { hoaUtility } from '@/services/Hoa/store'\r\nimport { workOrderPhotoStore } from '@/services/WorkOrders/WorkOrderPhoto/store'\r\nimport { GetMultiplePhotos } from '@/services/WorkOrderRequests/WorkOrderRequestPhoto/procedures/GetMultiplePhotos'\r\n\r\nexport const methods = {\r\n locationTypeChanged() {\r\n if (this.locationType === 'Common Area') {\r\n console.debug('blur locationTypeChanged' + this.locationType)\r\n this.hideShowMapFlag = true\r\n\r\n if (this.hideShowMapFlag == true) {\r\n this.hideShowMapText = 'Hide Map'\r\n this.locationTypeText = 'Location Type - Place marker on map'\r\n }\r\n } else {\r\n this.hideShowMapFlag = false\r\n\r\n if (this.hideShowMapFlag == false) {\r\n this.hideShowMapText = 'Show Map'\r\n this.locationTypeText = 'Location Type'\r\n }\r\n }\r\n },\r\n hideShowMap() {\r\n console.debug('in hideShowMap...')\r\n this.hideShowMapFlag = !this.hideShowMapFlag\r\n\r\n if (this.hideShowMapFlag == true) {\r\n this.hideShowMapText = 'Hide Map'\r\n } else {\r\n this.hideShowMapText = 'Show Map'\r\n }\r\n },\r\n async getAccessToken() {\r\n await workOrderList\r\n .dispatch('getAccessToken', {\r\n credentialsName: 'google-maps-api-key'\r\n })\r\n .then(({ result }) => {\r\n if (result) {\r\n this.accessToken = result.credentialValue\r\n }\r\n })\r\n },\r\n async populateLocationTypes() {\r\n await workOrderList.dispatch('loadLocationTypesManagement').then(({ list }) => {\r\n if (list) {\r\n this.locationTypeList = list\r\n this.locationType = '<-Select a Location Type->'\r\n }\r\n })\r\n },\r\n async populateWorkOrderRequest() {\r\n if (this.workOrderRequest && this.workOrderRequest !== undefined) {\r\n if (this.isDebug == true)\r\n console.debug('populateWorkOrderRequest=' + JSON.stringify(this.workOrderRequest))\r\n\r\n this.formData.workOrderTypeID = this.workOrderRequest.workOrderTypeID\r\n this.formData.description = this.workOrderRequest.description\r\n this.formData.detailedDescription = this.workOrderRequest.detailedDescription\r\n this.locationType = this.workOrderRequest.locationType\r\n this.latitude = this.workOrderRequest.latitude\r\n this.longitude = this.workOrderRequest.longitude\r\n\r\n if (this.latitude === 0) {\r\n await this.loadHoaBoundsCoords()\r\n this.latitude = this.defaultCenterLat\r\n this.longitude = this.defaultCenterLng\r\n }\r\n }\r\n },\r\n async reloadParentImages(addedFile) {\r\n if (this.isDebug === true) console.debug('reloadParentImages...')\r\n\r\n this.files.push(addedFile)\r\n },\r\n async loadHoaBoundsCoords() {\r\n await hoaUtility\r\n .dispatch('getHoaById', {\r\n hoaID: this.hoaId\r\n })\r\n .then(({ result }) => {\r\n if (\r\n result &&\r\n result.northmostLatitude &&\r\n result.southmostLatitude &&\r\n result.eastmostLongitude &&\r\n result.westmostLongitude\r\n ) {\r\n this.defaultCenterLat = (result.northmostLatitude + result.southmostLatitude) / 2\r\n this.defaultCenterLng = (result.eastmostLongitude + result.westmostLongitude) / 2\r\n }\r\n })\r\n },\r\n async retrievePhotos({ photos }) {\r\n if (!Array.isArray(photos)) {\r\n return\r\n }\r\n\r\n const { problems, photos: photosContent, message } = await GetMultiplePhotos({\r\n paramsList: photos.map(photo => {\r\n const workOrderRequestPhotoID = _get(photo, ['workOrderRequestPhotoID'], '')\r\n\r\n return {\r\n workOrderRequestPhotoID,\r\n asBase64: true\r\n }\r\n })\r\n })\r\n if (problems !== 0) {\r\n notifyProblem(message)\r\n return\r\n }\r\n\r\n //base 64 to a file object, then inject this into the files array\r\n let counter = 1\r\n Array.from(photosContent).forEach(f => {\r\n console.log('testphotos=' + JSON.stringify(f.photo))\r\n if (f && f.photo) {\r\n const mimeType = (f.photo.match(/^data:([^;]+);/) || '')[1]\r\n const returnedFile = this.dataURLtoFile(\r\n f.photo,\r\n `request-file${counter}.${mimeType.replace('image/', '')}`\r\n )\r\n\r\n if (returnedFile) {\r\n this.files.push(returnedFile)\r\n }\r\n }\r\n\r\n counter++\r\n })\r\n },\r\n\r\n dataURLtoFile(dataurl, filename) {\r\n var arr = dataurl.split(','),\r\n mime = arr[0].match(/:(.*?);/)[1],\r\n bstr = atob(arr[1]),\r\n n = bstr.length,\r\n u8arr = new Uint8Array(n)\r\n while (n--) {\r\n u8arr[n] = bstr.charCodeAt(n)\r\n }\r\n return new File([u8arr], filename, { type: mime })\r\n },\r\n\r\n async loadAddressDropDownList() {\r\n await hoaUtility\r\n .dispatch('loadDropDownAddressList', {\r\n hoaID: this.hoaId\r\n })\r\n .then(({ list }) => {\r\n if (list) {\r\n this.addressDropDownList = list\r\n }\r\n if (this.addressDropDownList && this.addressDropDownList != undefined) {\r\n if (this.isDebug == true)\r\n console.debug('addressDropDownList=' + JSON.stringify(this.addressDropDownList))\r\n\r\n this.data = this.addressDropDownList\r\n\r\n this.tempAddress = []\r\n if (\r\n this.workOrderRequest &&\r\n this.workOrderRequest !== undefined &&\r\n this.workOrderRequest.sourceUnitID &&\r\n this.workOrderRequest.sourceUnitID !== undefined &&\r\n this.addressDropDownList\r\n ) {\r\n this.tempAddress = this.addressDropDownList.filter(\r\n i => i.unitID === this.workOrderRequest.sourceUnitID\r\n )\r\n\r\n if (this.tempAddress && this.tempAddress !== undefined && this.tempAddress[0]) {\r\n this.locationFilterQuery = this.tempAddress[0].label\r\n }\r\n }\r\n }\r\n })\r\n },\r\n async loadVendorDropDownList() {\r\n await hoaUtility\r\n .dispatch('loadVendors', {\r\n hoaID: this.hoaId\r\n })\r\n .then(({ list }) => {\r\n if (list) {\r\n this.vendorDropDownList = list\r\n }\r\n if (this.vendorDropDownList && this.vendorDropDownList != undefined) {\r\n if (this.isDebug == true)\r\n console.debug('vendorDropDownList=' + JSON.stringify(this.vendorDropDownList))\r\n\r\n this.vendorData = this.vendorDropDownList\r\n }\r\n })\r\n },\r\n async loadWorkOrderTypeList() {\r\n await workOrderItem\r\n .dispatch('getWorkOrderTypeList', {\r\n hoaId: this.hoaId\r\n })\r\n .then(({ list }) => {\r\n if (list) {\r\n this.workOrderTypeList = list\r\n this.populateWorkOrderRequest()\r\n }\r\n })\r\n },\r\n getPayload() {\r\n const address = this.addressDropDownList.filter(i => i.label.includes(this.locationFilterQuery))\r\n\r\n const vendor = this.vendorDropDownList.filter(i => i.label.includes(this.vendorFilterQuery))\r\n\r\n if (this.isDebug == true)\r\n console.debug(\r\n 'this.formData=' +\r\n JSON.stringify(this.formData) +\r\n ', address=' +\r\n JSON.stringify(address) +\r\n ', vendor=' +\r\n JSON.stringify(vendor)\r\n )\r\n\r\n const payload = {\r\n sourceWorkOrderRequestID:\r\n this.workOrderRequest && this.workOrderRequest !== undefined\r\n ? this.workOrderRequest.workOrderRequestID\r\n : null,\r\n workOrderTypeID:\r\n this.formData.workOrderTypeID && this.formData.workOrderTypeID != undefined\r\n ? this.formData.workOrderTypeID\r\n : 0,\r\n vendorID: vendor && vendor[0] && vendor[0].value ? vendor[0].value : 0,\r\n hoaID: this.hoaId,\r\n unitID: address && address[0] && address[0].unitID ? address[0].unitID : 0,\r\n latitude: $('#formLatitude').text()\r\n ? $('#formLatitude').text()\r\n : this.latitude && this.latitude !== 0\r\n ? this.latitude\r\n : null,\r\n longitude: $('#formLongitude').text()\r\n ? $('#formLongitude').text()\r\n : this.longitude && this.longitude !== 0\r\n ? this.longitude\r\n : null,\r\n locationType: this.locationType,\r\n locationDescription:\r\n this.formData.locationDescription && this.formData.locationDescription != undefined\r\n ? this.formData.locationDescription\r\n : '',\r\n description:\r\n this.formData.description && this.formData.description != undefined\r\n ? this.formData.description\r\n : '',\r\n detailedDescription:\r\n this.formData.detailedDescription && this.formData.detailedDescription != undefined\r\n ? this.formData.detailedDescription\r\n : '',\r\n specialInstructions:\r\n this.formData.specialInstructions && this.formData.specialInstructions != undefined\r\n ? this.formData.specialInstructions\r\n : '',\r\n completeByDate:\r\n this.formData.completeByDate && this.formData.completeByDate != undefined\r\n ? this.formData.completeByDate\r\n : null\r\n }\r\n\r\n if (this.isDebug == true) console.debug('payload=' + JSON.stringify(payload))\r\n\r\n return payload\r\n },\r\n\r\n async onFormSubmit() {\r\n console.debug('in onFormSubmit...')\r\n if (!this.formData || this.formData == undefined) {\r\n notifyError('There was a problem submitting your work order.')\r\n return\r\n }\r\n\r\n let workOrderID = ''\r\n\r\n try {\r\n const payload = this.getPayload()\r\n let validationMessages = ''\r\n\r\n if (payload.vendorID == 0) {\r\n validationMessages = '
Please select a valid Vendor.
'\r\n }\r\n\r\n if (payload.description == '') {\r\n validationMessages = '
Please enter a title for this work order.
'\r\n }\r\n\r\n if (payload.detailedDescription == '') {\r\n validationMessages = '
Please enter a description for this work order.
'\r\n }\r\n\r\n if (validationMessages != '') {\r\n notifyError(validationMessages)\r\n return\r\n }\r\n\r\n this.loading = true\r\n\r\n const { details } = await workOrderList.dispatch('addWorkOrder', {\r\n workOrderTypeID: payload.workOrderTypeID,\r\n sourceWorkOrderRequestID: payload.sourceWorkOrderRequestID,\r\n vendorID: payload.vendorID,\r\n hoaID: payload.hoaID,\r\n unitID: payload.unitID,\r\n locationDescription: payload.locationDescription,\r\n description: payload.description,\r\n detailedDescription: payload.detailedDescription,\r\n specialInstructions: payload.specialInstructions,\r\n latitude: payload.latitude,\r\n longitude: payload.longitude,\r\n locationType: payload.locationType,\r\n completeByDate: payload.completeByDate,\r\n done: async ({ details }) => {\r\n //save attachments\r\n if (details && details.workOrderID) {\r\n await this.saveAttachments(details.workOrderID)\r\n }\r\n\r\n // auto-close modal\r\n this.$emit('update:toggle', (this.toggle = false))\r\n $('#clickclose').click()\r\n this.loading = false\r\n }\r\n })\r\n\r\n workOrderID = _get(details, 'workOrderID', '')\r\n } catch (e) {\r\n // If this is a validation error, get the details for each field\r\n if (e instanceof ValidationError) {\r\n this.$refs.form.setErrors(e.fields)\r\n }\r\n\r\n notifyError('There was a problem saving this work order.' + e)\r\n\r\n this.loading = false\r\n return\r\n }\r\n\r\n await workOrderList.dispatch('transmitNotification', {\r\n workOrderID,\r\n done: ({ details }) => {\r\n console.debug('details=' + details)\r\n this.loading = false\r\n }\r\n })\r\n\r\n this.loading = false\r\n },\r\n\r\n async deleteDropFile(index) {\r\n this.files.splice(index, 1)\r\n\r\n const attachments = this.files\r\n\r\n const previews = this.previews\r\n this.previews.splice(index, 1)\r\n\r\n this.$store.dispatch('conversation/modify', {\r\n previews,\r\n attachments\r\n })\r\n },\r\n\r\n async updateAttachments() {\r\n console.log('updateAttachments...')\r\n const attachments = this.files\r\n if (!Array.isArray(attachments)) {\r\n notifyProblem('A problem occurred and the attachments could not be uploaded.')\r\n return\r\n }\r\n\r\n ////////////////////////////////\r\n // Store previews\r\n ////////////////////////////////\r\n\r\n this.previews = this.files.map(file => {\r\n return URL.createObjectURL(file)\r\n })\r\n\r\n console.log('updateAttachments=' + JSON.stringify(this.previews))\r\n\r\n this.$store.dispatch('conversation/modify', {\r\n previews: this.previews,\r\n attachments\r\n })\r\n },\r\n\r\n async saveAttachments(id) {\r\n //Process one or more attachments\r\n try {\r\n if (this.isDebug === true) console.debug('files=' + this.file)\r\n\r\n if (this.files && this.files.length > 0) {\r\n for (let a = 0; a < this.files.length; a++) {\r\n await workOrderPhotoStore\r\n .dispatch('addWorkOrderPhoto', {\r\n workOrderID: id,\r\n description: this.files[a].name || ''\r\n })\r\n .then(async ({ returned }) => {\r\n if (returned && returned != undefined && returned.workOrderPhotoID > 0) {\r\n const payload = {\r\n file: this.files[a],\r\n existingWorkOrderPhotoID: returned.workOrderPhotoID,\r\n workOrderID: id\r\n }\r\n\r\n await workOrderPhotoStore\r\n .dispatch('uploadWorkOrderPhoto', {\r\n payload: payload\r\n })\r\n .then(({ returnedfile }) => {\r\n this.base64pdf = ''\r\n if (returnedfile && returnedfile != undefined) {\r\n notifyMessage('Successfully created the new work order with attachments.')\r\n return\r\n } else {\r\n notifyError('There was a problem uploading your attachments.')\r\n return\r\n }\r\n })\r\n }\r\n })\r\n }\r\n } else {\r\n notifyMessage('Successfully created the new conversation message.')\r\n }\r\n } catch (e) {\r\n notifyError(e)\r\n }\r\n },\r\n\r\n getVendorAsyncData: debounce(function(name) {\r\n // String update\r\n if (this.name !== name) {\r\n this.name = name\r\n this.vendorData = []\r\n }\r\n\r\n // String cleared\r\n if (!name.length) {\r\n this.vendorData = []\r\n return\r\n }\r\n\r\n this.isFetching = true\r\n if (this.isDebug == true) console.debug('this.name=' + this.name)\r\n\r\n if (this.vendorDropDownList) {\r\n this.vendorData = this.vendorDropDownList.filter(i =>\r\n i.label.toLowerCase().includes(this.name.toLowerCase())\r\n )\r\n }\r\n this.isFetching = false\r\n }, 500),\r\n getVendorMoreAsyncData: debounce(function() {\r\n this.getVendorAsyncData(this.name)\r\n }, 250),\r\n\r\n getAsyncData: debounce(function(name) {\r\n // String update\r\n if (this.name !== name) {\r\n this.name = name\r\n this.data = []\r\n }\r\n\r\n // String cleared\r\n if (!name.length) {\r\n this.data = []\r\n return\r\n }\r\n\r\n this.isFetching = true\r\n if (this.isDebug == true) console.debug('this.name=' + this.name)\r\n\r\n if (this.addressDropDownList) {\r\n this.data = this.addressDropDownList.filter(i =>\r\n i.label.toLowerCase().includes(this.name.toLowerCase())\r\n )\r\n }\r\n this.isFetching = false\r\n }, 500),\r\n getMoreAsyncData: debounce(function() {\r\n this.getAsyncData(this.name)\r\n }, 250)\r\n}\r\n","import moment from 'moment'\r\n\r\nexport const DEFAULT_FORM_VALUES = {\r\n completeByDate: null,\r\n workOrderTypeID: 0,\r\n locationDescription: '',\r\n description: '',\r\n detailedDescription: '',\r\n specialInstructions: ''\r\n}\r\n\r\nexport function data() {\r\n return {\r\n formComplete: false,\r\n formData: {\r\n ...DEFAULT_FORM_VALUES\r\n },\r\n loading: false,\r\n formatDateFn: function(value) {\r\n return value != null ? moment(value, 'YYYY/MM/DD HH:mm:ss').format('MM-DD-YYYY') : ''\r\n },\r\n isDebug: true,\r\n selectedRow: null,\r\n buttonText: '',\r\n openOnFocus: true,\r\n locationFilterQuery: null,\r\n vendorFilterQuery: null,\r\n isFetching: false,\r\n locationType: null,\r\n latitude: 0,\r\n longitude: 0,\r\n hideMap: false,\r\n defaultCenterLat: 0,\r\n defaultCenterLng: 0,\r\n workOrderRequestID: 0,\r\n workOrderID: 0,\r\n accessToken: '',\r\n data: [],\r\n vendorData: [],\r\n typeData: [],\r\n workOrderTypeList: [],\r\n vendorDropDownList: [],\r\n addressDropDownList: [],\r\n locationTypeList: [],\r\n tempWorkOrderType: [],\r\n tempAddress: [],\r\n showWeekNumber: false,\r\n newApInvoiceId: 0,\r\n activeStep: 'create',\r\n files: [],\r\n photos: [],\r\n image: null,\r\n doc: null,\r\n documentIds: [],\r\n previews: [],\r\n docPreviews: [],\r\n hideShowMapFlag: false,\r\n hideShowMapText: 'Show Map',\r\n locationTypeText: 'Location Type',\r\n transmit: true\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--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=4a784885&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&lang=scss&\"\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 render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-field',{attrs:{\"label\":\"Photos\"}}),_c('div',{style:({ border: '1px solid rgb(226, 232, 240)', borderRadius: '4px', padding: '20px' })},[_c('b-field',{staticClass:\"file\"},[_c('b-upload',{attrs:{\"multiple\":\"\",\"drag-drop\":\"\",\"expanded\":\"\",\"accept\":_vm.accept},model:{value:(_vm.items),callback:function ($$v) {_vm.items=$$v},expression:\"items\"}},[_c('section',{staticClass:\"section\"},[_c('div',{staticClass:\"content has-text-centered\"},[_c('p',[_c('b-icon',{attrs:{\"icon\":\"upload\",\"size\":\"is-large\"}})],1),_c('p',[_vm._v(\"Drop your photos here or click to upload\")])])])])],1),_c('ul',{staticClass:\"flex flex-1 flex-wrap\",attrs:{\"id\":\"gallery\"}},[_c('li',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.previews.length === 0),expression:\"previews.length === 0\"}],staticClass:\"h-full w-full text-center flex flex-col items-center justify-center items-center\",attrs:{\"no-photos\":\"\"}},[_c('img',{staticClass:\"mx-auto w-32\",attrs:{\"src\":\"https://user-images.githubusercontent.com/507615/54591670-ac0a0180-4a65-11e9-846c-e55ffce0fe7b.png\",\"alt\":\"no data\"}}),_c('span',{staticClass:\"text-small text-gray-500\"},[_vm._v(\"No photos selected\")])]),_vm._l((_vm.previews),function(image,index){return _c('li',{key:index,staticClass:\"flex pr-2\",style:({\n position: 'relative',\n width: '23%'\n })},[_c('PictureFrame',{attrs:{\"src\":image,\"label\":_vm.items[index].name}}),_c('button',{staticClass:\"delete\",style:({ position: 'absolute', top: '10px', left: '10px' }),attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.erase(index)}}})],1)})],2)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=06c6287b&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\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 isObject = require('./isObject'),\n now = require('./now'),\n toNumber = require('./toNumber');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nmodule.exports = debounce;\n","var baseTrim = require('./_baseTrim'),\n isObject = require('./isObject'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = toNumber;\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.hideMap && (_vm.hideMap === 'true' || _vm.hideMap === true) ? false : true),expression:\"hideMap && (hideMap === 'true' || hideMap === true) ? false : true\"}]},[_c('span',[_c('div',[_c('b-radio',{attrs:{\"name\":\"satellite\",\"native-value\":\"satellite\",\"aria-label\":\"satellite\"},model:{value:(_vm.rtoggle),callback:function ($$v) {_vm.rtoggle=$$v},expression:\"rtoggle\"}},[_vm._v(\" satellite \")]),_c('b-radio',{attrs:{\"name\":\"roadmap\",\"native-value\":\"roadmap\",\"aria-label\":\"roadmap\"},model:{value:(_vm.rtoggle),callback:function ($$v) {_vm.rtoggle=$$v},expression:\"rtoggle\"}},[_vm._v(\" road map \")]),_c('b-radio',{attrs:{\"name\":\"hybrid\",\"native-value\":\"hybrid\",\"aria-label\":\"hybrid\"},model:{value:(_vm.rtoggle),callback:function ($$v) {_vm.rtoggle=$$v},expression:\"rtoggle\"}},[_vm._v(\" hybrid \")]),_c('b-radio',{attrs:{\"name\":\"terrain\",\"native-value\":\"terrain\",\"aria-label\":\"terrain\"},model:{value:(_vm.rtoggle),callback:function ($$v) {_vm.rtoggle=$$v},expression:\"rtoggle\"}},[_vm._v(\" terrain \")]),(!_vm.readOnlyMap && (!_vm.showUpload || (_vm.showUpload && _vm.showUpload === false)))?_c('button',{staticClass:\"button is-text is-small\",style:({ verticalAlign: 'super' }),attrs:{\"type\":\"button\"},on:{\"click\":function($event){$event.preventDefault();return _vm.exportStaticImage()}}},[_vm._v(\" Upload Marker Image \")]):_vm._e(),(!_vm.readOnlyMap)?_c('button',{staticClass:\"button is-text is-small\",style:({ verticalAlign: 'super' }),attrs:{\"type\":\"button\"},on:{\"click\":function($event){$event.preventDefault();return _vm.resetPinMarker()}}},[_vm._v(\" Reset Pin Marker \")]):_vm._e(),(!_vm.readOnlyMap)?_c('button',{staticClass:\"button is-text is-small\",style:({ verticalAlign: 'super' }),attrs:{\"type\":\"button\"},on:{\"click\":function($event){$event.preventDefault();return _vm.fitBounds()}}},[_vm._v(\" Fit into Boundary \")]):_vm._e()],1),_c('div',{attrs:{\"title\":\"Click save below to save your location.\",\"id\":\"map\"}}),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(false),expression:\"false\"}],staticClass:\"coordinates\",attrs:{\"id\":\"coordinates\"}}),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(true),expression:\"true\"}],staticClass:\"columns is-12 pt-5\"},[_vm._m(0),_vm._m(1)])]),_c('b-field',{attrs:{\"label\":\"Address Search\"}},[_c('GmapAutocomplete',{staticStyle:{\"width\":\"700px\"},on:{\"place_changed\":_vm.setPlace}})],1),_c('GmapMap',{ref:\"mapRef\",staticStyle:{\"width\":\"800px\",\"height\":\"400px\"},attrs:{\"title\":_vm.infoOptions.content,\"center\":{ lat: _vm.myLat, lng: _vm.myLong },\"zoom\":_vm.zoomLevel,\"maxZoom\":\"32\",\"map-type-id\":_vm.selectedMapStyle,\"restriction\":_vm.boundsRestriction}},[_c('GmapInfoWindow',{staticStyle:{\"width\":\"300px\"},attrs:{\"options\":_vm.infoOptions,\"position\":_vm.infoWindowPos,\"opened\":_vm.infoWinOpen},on:{\"closeclick\":function($event){_vm.infoWinOpen = false}}}),_vm._l((_vm.markers),function(m,index){return _c('GmapMarker',{key:index,attrs:{\"position\":m.position,\"clickable\":true,\"draggable\":true},on:{\"click\":function($event){return _vm.toggleInfoWindow(m, index)},\"drag\":function($event){return _vm.updateMarker($event.latLng)}}})})],2)],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"column is-6\"},[_c('input',{attrs:{\"type\":\"hidden\",\"id\":\"formLatitude\"}})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"column is-6\"},[_c('input',{attrs:{\"type\":\"hidden\",\"id\":\"formLongitude\"}})])}]\n\nexport { render, staticRenderFns }","import unsupportedIterableToArray from \"@babel/runtime/helpers/esm/unsupportedIterableToArray\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it;\n\n if (typeof Symbol === \"undefined\" || o[Symbol.iterator] == null) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n\n var F = function F() {};\n\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = o[Symbol.iterator]();\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=cea1ecd4&scoped=true&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\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 \"cea1ecd4\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('PageContentLayoutOnly',{attrs:{\"headerColor\":\"#fafafa\"}},[(_vm.formData)?_c('div',{staticClass:\"notification headerColor\",attrs:{\"workorderpromote\":\"\"}},[_c('div',{staticClass:\"box is-12\"},[_c('ValidationObserver',{ref:\"form\",scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar handleSubmit = ref.handleSubmit;\nreturn [_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\",\"appear\":\"\"}},[_c('form',{staticClass:\"form\",on:{\"submit\":function($event){$event.preventDefault();return handleSubmit(_vm.onFormSubmit)}}},[_c('fieldset',[_c('div',[_c('valid-input',{staticClass:\"is-small\",staticStyle:{\"width\":\"50px !important\"},attrs:{\"readonly\":\"true\",\"name\":\"Status\",\"label\":_vm.formData.status && _vm.formData.status === 'promoted'\n ? (\"Status - Completed: \" + (_vm.formatDateFn(_vm.workOrderRequest.completedDate)))\n : 'Status',\"type\":\"text\",\"vid\":\"Status\",\"placeholder\":\"Status\",\"spellcheck\":\"true\",\"aria-label\":\"Status\",\"rules\":\"max:20|required\",\"disabled\":true},model:{value:(_vm.formData.status),callback:function ($$v) {_vm.$set(_vm.formData, \"status\", $$v)},expression:\"formData.status\"}})],1),(_vm.formData.status === 'rejected')?_c('div',{staticClass:\"is-12 pt-5\"},[_c('valid-input',{staticClass:\"is-small\",staticStyle:{\"width\":\"50px !important\"},attrs:{\"type\":\"textarea\",\"disabled\":true,\"name\":\"RejectionReason\",\"label\":\"Rejection Reason\",\"vid\":\"RejectionReason\",\"spellcheck\":\"true\",\"aria-label\":\"Rejection Reason\",\"rules\":\"max:8000\"},model:{value:(_vm.formData.rejectionReason),callback:function ($$v) {_vm.$set(_vm.formData, \"rejectionReason\", $$v)},expression:\"formData.rejectionReason\"}})],1):_vm._e(),_c('div',{staticClass:\"pt-5\"},[_c('b-field',{attrs:{\"label\":_vm.locationTypeText}},[_c('b-select',{attrs:{\"disabled\":_vm.formData.status &&\n (_vm.formData.status === 'cancelled' ||\n _vm.formData.status === 'rejected' ||\n _vm.formData.status === 'promoted')\n ? true\n : false,\"required\":\"true\",\"placeholder\":\"Select a Location Type\"},nativeOn:{\"click\":function($event){return _vm.locationTypeChanged()}},model:{value:(_vm.formData.locationType),callback:function ($$v) {_vm.$set(_vm.formData, \"locationType\", $$v)},expression:\"formData.locationType\"}},_vm._l((_vm.locationTypeList),function(option){return _c('option',{key:option.value,domProps:{\"value\":option.value}},[_vm._v(\" \"+_vm._s(option.label)+\" \")])}),0)],1)],1),(_vm.categories)?_c('div',{staticClass:\"pt-5\"},[_c('valid-select',{attrs:{\"label\":\"Category\",\"placeholder\":\"Category\",\"vid\":\"category\",\"required\":\"true\",\"rules\":\"required\",\"disabled\":_vm.formData.status &&\n (_vm.formData.status === 'cancelled' ||\n _vm.formData.status === 'rejected' ||\n _vm.formData.status === 'promoted')\n ? true\n : false},model:{value:(_vm.formData.category),callback:function ($$v) {_vm.$set(_vm.formData, \"category\", $$v)},expression:\"formData.category\"}},_vm._l((_vm.categories),function(option){return _c('option',{key:option.value,domProps:{\"value\":option.value}},[_vm._v(_vm._s(option.label))])}),0)],1):_vm._e(),_c('div',{staticClass:\"is-12 pt-5\"},[_c('valid-input',{staticClass:\"is-small\",staticStyle:{\"width\":\"50px !important\"},attrs:{\"name\":\"Summary\",\"label\":\"Title\",\"type\":\"text\",\"vid\":\"Summary\",\"placeholder\":\"Title\",\"spellcheck\":\"true\",\"aria-label\":\"Title\",\"rules\":\"max:100|required\",\"disabled\":_vm.formData.status &&\n (_vm.formData.status === 'cancelled' ||\n _vm.formData.status === 'rejected' ||\n _vm.formData.status === 'promoted')\n ? true\n : false},model:{value:(_vm.formData.description),callback:function ($$v) {_vm.$set(_vm.formData, \"description\", $$v)},expression:\"formData.description\"}})],1),_c('div',{staticClass:\"is-12 pt-5\"},[_c('valid-input',{staticClass:\"is-small\",staticStyle:{\"width\":\"50px !important\"},attrs:{\"name\":\"Description\",\"label\":\"Description\",\"type\":\"textarea\",\"vid\":\"Description\",\"placeholder\":\"Description\",\"spellcheck\":\"true\",\"aria-label\":\"Description\",\"rules\":\"max:8000|required\",\"disabled\":_vm.formData.status &&\n (_vm.formData.status === 'cancelled' ||\n _vm.formData.status === 'rejected' ||\n _vm.formData.status === 'promoted')\n ? true\n : false},model:{value:(_vm.formData.detailedDescription),callback:function ($$v) {_vm.$set(_vm.formData, \"detailedDescription\", $$v)},expression:\"formData.detailedDescription\"}})],1),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(true),expression:\"true\"}],staticClass:\"columns is-12 pt-5\"},[_c('div',{staticClass:\"column is-6\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.formData.latitude),expression:\"formData.latitude\"}],attrs:{\"type\":\"hidden\"},domProps:{\"value\":(_vm.formData.latitude)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.formData, \"latitude\", $event.target.value)}}})]),_c('div',{staticClass:\"column is-6\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.formData.longitude),expression:\"formData.longitude\"}],attrs:{\"type\":\"hidden\"},domProps:{\"value\":(_vm.formData.longitude)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.formData, \"longitude\", $event.target.value)}}})])]),_c('div',{staticClass:\"href-overflow-wrap\",staticStyle:{\"cursor\":\"pointer vertical-align: middle\"},on:{\"click\":_vm.hideShowMap}},[_vm._v(\" \"+_vm._s(_vm.hideShowMapText)+\" \"),_c('i',{staticClass:\"icon-map\",staticStyle:{\"font-size\":\"8pt\",\"vertical-align\":\"baseline !important\"}})]),_c('div',{staticClass:\"font-bold\"},[_vm._v(\" Please drag and drop the pin to represent the location of the work order request. \")]),(_vm.hideShowMapFlag && (_vm.hideShowMapFlag === true || _vm.hideShowMapFlag === 'true'))?_c('div',{staticClass:\"pt-6 pb-6\"},[_c('GoogleMap',{attrs:{\"mapStyle\":\"satellite\",\"accessToken\":_vm.accessToken,\"longitude\":Number.parseFloat(_vm.formData && _vm.formData.longitude ? _vm.formData.longitude : 0),\"latitude\":Number.parseFloat(_vm.formData && _vm.formData.latitude ? _vm.formData.latitude : 0),\"defaultLongitude\":Number.parseFloat(_vm.formData && _vm.formData.longitude ? _vm.formData.longitude : 0),\"defaultLatitude\":Number.parseFloat(_vm.formData && _vm.formData.latitude ? _vm.formData.latitude : 0),\"zoomLevel\":parseInt(19),\"workOrderRequestId\":parseInt(_vm.id),\"reloadParent\":_vm.reloadParentImages}})],1):_vm._e(),_c('div',{staticClass:\"card pt-6\",style:({\n padding: '20px',\n position: 'relative',\n marginTop: '30px'\n })},[_c('b-field',{attrs:{\"label\":\"Photos\"}}),_c('div',{style:({ marginBottom: '12px' })},[_c('b-button',{attrs:{\"disabled\":_vm.formData.status &&\n (_vm.formData.status === 'cancelled' || _vm.formData.status === 'promoted')\n ? true\n : false},on:{\"click\":_vm.showPhotoModal}},[_vm._v(\"Add Photos\")])],1),_c('div',{style:({ display: 'flex', flexWrap: 'wrap' })},_vm._l((_vm.photos),function(entry,index){return _c('div',{key:index,style:({ height: '300px', width: '300px', margin: '4px' })},[_c('PictureFrame',{attrs:{\"src\":entry.photo,\"details\":entry,\"erase\":_vm.confirmErasePhoto,\"editMode\":_vm.formData.status && _vm.formData.status === 'pending' ? true : false}})],1)}),0)],1),_c('div',{style:({\n display: 'flex',\n padding: '20px 0 0',\n justifyContent: 'space-between'\n })},[_c('div',[_c('button',{staticClass:\"button is-primary is-rounded\",attrs:{\"type\":\"submit\",\"disabled\":_vm.formData.status &&\n (_vm.formData.status === 'cancelled' ||\n _vm.formData.status === 'promoted' ||\n _vm.formData.status === 'rejected')\n ? true\n : false,\"tests-id\":\"update-work-order-button\"}},[_vm._v(\" Save Changes \")])]),_c('div',[_c('button',{staticClass:\"button is-primary is-rounded\",attrs:{\"type\":\"button\",\"disabled\":_vm.formData.status &&\n (_vm.formData.status === 'cancelled' ||\n _vm.formData.status === 'promoted' ||\n _vm.formData.status === 'rejected')\n ? true\n : false},on:{\"click\":function($event){$event.preventDefault();return _vm.confirmRejectRequest()}}},[_vm._v(\" Reject Request \")]),_c('span',{staticClass:\"pl-3\"}),_c('button',{staticClass:\"button is-primary is-rounded\",attrs:{\"type\":\"button\",\"disabled\":_vm.formData.status &&\n (_vm.formData.status === 'cancelled' ||\n _vm.formData.status === 'promoted' ||\n _vm.formData.status === 'rejected')\n ? true\n : false},on:{\"click\":function($event){$event.preventDefault();return _vm.promoteToWorkOrder()}}},[_vm._v(\" Promote to Work Order \")])])])]),_c('fieldset',[_c('ValidationProvider',{attrs:{\"vid\":\"providerErrors\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\n var errors = ref.errors;\nreturn [_c('div',{staticClass:\"field\"},[_c('span',[_vm._v(_vm._s(errors[0]))])])]}}],null,true)})],1)])])]}}],null,false,539871197)})],1)]):_vm._e(),_c('RejectModal',{ref:\"rejectModal\",attrs:{\"reject\":_vm.rejectRequest}}),_c('Modal',{attrs:{\"toggle\":_vm.photoModalOpen,\"styles\":{ modalContent: { height: '900px' } }},on:{\"update:toggle\":function($event){_vm.photoModalOpen=$event}},scopedSlots:_vm._u([{key:\"header\",fn:function(){return [_vm._v(\"Photo Adder\")]},proxy:true},{key:\"footer\",fn:function(){return [_c('b-button',{style:({ float: 'right' }),attrs:{\"type\":\"is-primary\"},on:{\"click\":_vm.addPhotos}},[_vm._v(\"Add\")])]},proxy:true}])},[_c('PhotoUploader',{ref:\"photoUploader\",attrs:{\"label\":\"Photos\",\"update\":_vm.adderPhotosUpdated}}),_c('b-loading',{attrs:{\"is-full-page\":false},model:{value:(_vm.photoModalLoading),callback:function ($$v) {_vm.photoModalLoading=$$v},expression:\"photoModalLoading\"}})],1),_c('Modal',{attrs:{\"toggle\":_vm.toggle},on:{\"update:toggle\":function($event){_vm.toggle=$event}}},[_c('WorkOrderModal',{attrs:{\"workOrderRequest\":_vm.workOrderRequest,\"hidePromoteModal\":\"true\"}})],1),_c('b-loading',{attrs:{\"is-full-page\":false,\"can-cancel\":false},model:{value:(_vm.loading),callback:function ($$v) {_vm.loading=$$v},expression:\"loading\"}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Modal',{attrs:{\"toggle\":_vm.toggle,\"loading\":_vm.loading,\"styles\":{ modalContent: { minHeight: '100px' } }},on:{\"update:toggle\":function($event){_vm.toggle=$event}},scopedSlots:_vm._u([{key:\"header\",fn:function(){return [_vm._v(\"Reject Work Order Request\")]},proxy:true},{key:\"footer\",fn:function(){return [_c('div',{style:({\n display: 'flex',\n justifyContent: 'space-between'\n })},[_c('b-button',{on:{\"click\":function($event){_vm.toggle = false}}},[_vm._v(\"Close\")]),_c('b-button',{attrs:{\"type\":\"is-primary\"},on:{\"click\":_vm.sendReject}},[_vm._v(\"Reject\")])],1)]},proxy:true}])},[_c('valid-input',{staticClass:\"is-small\",staticStyle:{\"width\":\"50px !important\"},attrs:{\"placeholder\":\"Rejection Reason\",\"aria-label\":\"Rejection Reason\",\"name\":\"RejectionReason\",\"label\":\"Rejection Reason\",\"vid\":\"RejectionReason\",\"type\":\"textarea\",\"spellcheck\":\"true\",\"rules\":\"max:8000\"},model:{value:(_vm.reason),callback:function ($$v) {_vm.reason=$$v},expression:\"reason\"}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n","import mod from \"-!../../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RejectModal.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RejectModal.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./RejectModal.vue?vue&type=template&id=27c09fea&\"\nimport script from \"./RejectModal.vue?vue&type=script&lang=js&\"\nexport * from \"./RejectModal.vue?vue&type=script&lang=js&\"\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","import moment from 'moment'\r\n\r\nvar field = {\r\n width: '100px',\r\n display: 'inline-block',\r\n paddingRight: '6px',\r\n textAlign: 'left'\r\n}\r\n\r\nexport const data = () => ({\r\n accessToken: '',\r\n formComplete: false,\r\n formData: {},\r\n loading: true,\r\n isDebug: true,\r\n categories: [],\r\n hidePromoteMap: false,\r\n id: 0,\r\n toggle: false,\r\n category: 0,\r\n photoModalLoading: false,\r\n photoModalOpen: false,\r\n photos: [],\r\n adderPhotos: [],\r\n retrieved: 0,\r\n workOrderRequest: null,\r\n locationTypeList: [],\r\n hideShowMapFlag: false,\r\n hideShowMapText: 'Show Map',\r\n locationTypeText: 'Location Type',\r\n formatDateFn: function(value) {\r\n return value && value != undefined\r\n ? moment(value.toString(), 'YYYY/MM/DD HH:mm:ss')\r\n .format('MM-DD-YYYY')\r\n .toString()\r\n : ''\r\n },\r\n styles: {\r\n filterButton: {\r\n float: 'right',\r\n marginTop: '4px'\r\n },\r\n amountField: Object.assign({}, field, {\r\n width: '125px'\r\n })\r\n }\r\n})\r\n","/*\r\n example:\r\n import { getWorkOrderTypes } from '@/services/WorkOrders/WorkOrderType/List';\r\n\r\n const { list, message, successful } = await getWorkOrderTypes ();\r\n if (!successful) {\r\n console.error (message);\r\n return;\r\n }\r\n*/\r\n//\r\nimport _get from 'lodash/get'\r\n//\r\nimport kms from '@/services/kms'\r\n//\r\nexport async function getWorkOrderTypes({ kms: kms_ = kms, params = {} } = {}) {\r\n const message = 'The work order types list could not be retrieved.'\r\n\r\n try {\r\n const result = await kms_.get(`/WorkOrders/WorkOrderType/List`, {\r\n params\r\n })\r\n\r\n let list = _get(result, 'results', [])\r\n if (!Array.isArray(list)) {\r\n list = []\r\n }\r\n\r\n return {\r\n successful: true,\r\n list,\r\n message: ''\r\n }\r\n } catch (exception) {\r\n console.error(exception)\r\n }\r\n\r\n return {\r\n list: [],\r\n successful: false,\r\n message\r\n }\r\n}\r\n\r\n///////\r\n","/*\r\n example:\r\n import { deleteWorkOrderRequestPhoto } from '@/services/WorkOrderRequests/WorkOrderRequestPhoto/Delete';\r\n\r\n const { result, message, successful } = await deleteWorkOrderRequestPhoto ({\r\n id: \r\n });\r\n if (!successful) {\r\n console.error (message);\r\n return;\r\n }\r\n*/\r\n//\r\nimport kms from '@/services/kms'\r\n//\r\nexport async function deleteWorkOrderRequestPhoto({ kms: kms_ = kms, id } = {}) {\r\n const message = 'The work order request photo could not be deleted.'\r\n\r\n console.log('deleteWorkOrderRequestPhoto', { id })\r\n\r\n try {\r\n const result = await kms_.delete(`/WorkOrderRequests/WorkOrderRequestPhoto/${id}`)\r\n\r\n return {\r\n successful: true,\r\n result,\r\n message: ''\r\n }\r\n } catch (exception) {\r\n console.error(exception)\r\n }\r\n\r\n return {\r\n result: null,\r\n successful: false,\r\n message\r\n }\r\n}\r\n\r\n///////\r\n","/*\r\n example:\r\n import { getWorkOrderRequest } from '@/services/WorkOrderRequests/WorkOrderRequest/Get';\r\n\r\n const { result, message, successful } = await getWorkOrderRequest ({\r\n id: \r\n });\r\n if (!successful) {\r\n console.error (message);\r\n return;\r\n }\r\n*/\r\n//\r\nimport kms from '@/services/kms'\r\n//\r\nexport async function getWorkOrderRequest({ kms: kms_ = kms, id } = {}) {\r\n const message = 'This work order request could not be retrieved.'\r\n\r\n try {\r\n const result = await kms_.get(`/WorkOrderRequests/WorkOrderRequest/${id}`)\r\n\r\n return {\r\n successful: true,\r\n result,\r\n message: ''\r\n }\r\n } catch (exception) {\r\n console.error(exception)\r\n }\r\n\r\n return {\r\n result: null,\r\n successful: false,\r\n message\r\n }\r\n}\r\n\r\n///////\r\n","/*\r\n example:\r\n import { editWorkOrderRequest } from '@/services/WorkOrderRequests/WorkOrderRequest/Put';\r\n\r\n const { result, message, successful } = await editWorkOrderRequest ({\r\n json: {}\r\n });\r\n if (!successful) {\r\n console.error (message);\r\n return;\r\n }\r\n*/\r\n//\r\nimport kms from '@/services/kms'\r\n//\r\nexport async function editWorkOrderRequest({ kms: kms_ = kms, json } = {}) {\r\n const message = 'The work order requests could not be edited.'\r\n\r\n console.debug('editWorkOrderRequest=' + JSON.stringify(json))\r\n\r\n try {\r\n const result = await kms_.put(`/WorkOrderRequests/WorkOrderRequest`, json)\r\n\r\n return {\r\n successful: true,\r\n result,\r\n message: ''\r\n }\r\n } catch (exception) {\r\n console.error(exception)\r\n }\r\n\r\n return {\r\n result: null,\r\n successful: false,\r\n message\r\n }\r\n}\r\n\r\n///////\r\n","import { getWorkOrderTypes } from '@/services/WorkOrders/WorkOrderType/List'\r\nimport { notifyProblem, notifyError, notifyMessage } from '@/services/notify'\r\nimport { GetMultiplePhotos } from '@/services/WorkOrderRequests/WorkOrderRequestPhoto/procedures/GetMultiplePhotos'\r\nimport { StoreMultiplePhotos } from '@/services/WorkOrderRequests/WorkOrderRequestPhoto/procedures/StoreMultiplePhotos'\r\nimport { deleteWorkOrderRequestPhoto } from '@/services/WorkOrderRequests/WorkOrderRequestPhoto/Delete'\r\nimport { getWorkOrderRequest } from '@/services/WorkOrderRequests/WorkOrderRequest/Get'\r\nimport { editWorkOrderRequest } from '@/services/WorkOrderRequests/WorkOrderRequest/Put'\r\nimport { getOwner } from '@/services/Roster/Owner/getOwner'\r\nimport { workOrderList } from '@/services/WorkOrders/store'\r\n//\r\nimport $ from 'jquery'\r\nimport _get from 'lodash/get'\r\n//\r\n\r\nvar DEFAULT_FORM_VALUES = {\r\n workOrderRequestID: 0,\r\n status: '',\r\n categoryID: 0,\r\n description: '',\r\n detailedDescription: '',\r\n summary: ''\r\n}\r\n\r\nexport const methods = {\r\n async rejectRequest({ reason }) {\r\n console.log('rejectRequest', reason)\r\n\r\n // looks less glitchy with a small delay\r\n await new Promise(resolve => {\r\n setTimeout(() => {\r\n resolve()\r\n }, 1000)\r\n })\r\n\r\n await this.onFormSubmit({\r\n rejectionReason: reason,\r\n status: 'rejected'\r\n })\r\n\r\n this.$refs.rejectModal.close()\r\n },\r\n\r\n async getCategories() {\r\n if (this.isDebug === true) console.debug('in getCategories()...')\r\n if (this.categories.length >= 1) {\r\n return\r\n }\r\n\r\n const { list, message, successful } = await getWorkOrderTypes()\r\n if (!successful) {\r\n console.error(message)\r\n return\r\n }\r\n\r\n this.categories = list.map(m => ({\r\n value: m.workOrderTypeID,\r\n label: m.name\r\n }))\r\n\r\n if (this.isDebug === true)\r\n console.debug('in getCategories()...' + JSON.stringify(this.categories))\r\n },\r\n\r\n locationTypeChanged() {\r\n if (this.locationType === 'Common Area') {\r\n console.debug('blur locationTypeChanged' + this.locationType)\r\n this.hideShowMapFlag = true\r\n\r\n if (this.hideShowMapFlag == true) {\r\n this.hideShowMapText = 'Hide Map'\r\n this.locationTypeText = 'Location Type - Place marker on map'\r\n }\r\n } else {\r\n this.hideShowMapFlag = false\r\n\r\n if (this.hideShowMapFlag == false) {\r\n this.hideShowMapText = 'Show Map'\r\n this.locationTypeText = 'Location Type'\r\n }\r\n }\r\n },\r\n\r\n async reload() {\r\n this.loading = true\r\n\r\n this.id = this.$route.params.id\r\n\r\n await this.getAccessToken()\r\n\r\n if (this.isDebug == true) console.debug('workOrderRequestID=' + this.workOrderRequestID)\r\n\r\n this.formData = { ...DEFAULT_FORM_VALUES }\r\n\r\n await this.getCategories()\r\n\r\n this.populateLocationTypes()\r\n\r\n const { result, message, successful } = await getWorkOrderRequest({\r\n id: this.id\r\n })\r\n if (!successful) {\r\n this.requestId = this.id\r\n this.loading = false\r\n\r\n notifyProblem(message)\r\n return\r\n }\r\n\r\n if (this.isDebug === true) console.debug('workOrderRequest=' + JSON.stringify(result))\r\n\r\n this.workOrderRequest = result\r\n this.formData.status = _get(result, ['status'], '')\r\n this.formData.category = _get(result, ['workOrderTypeID'], 0)\r\n console.debug('workOrderTypeID=' + this.formData.category)\r\n this.formData.detailedDescription = _get(result, ['detailedDescription'], '')\r\n this.formData.description = _get(result, ['description'], '')\r\n this.formData.rejectionReason = _get(result, ['rejectionReason'], '')\r\n this.formData.locationType = _get(result, ['locationType'], '')\r\n this.formData.latitude = _get(result, ['latitude'], 0)\r\n this.formData.longitude = _get(result, ['longitude'], 0)\r\n\r\n console.log('lat=' + _get(result, ['latitude'], 0))\r\n\r\n await this.retrievePhotos({\r\n photos: _get(result, ['workOrderRequestPhotos'], [])\r\n })\r\n\r\n this.loading = false\r\n },\r\n\r\n async getAccessToken() {\r\n await workOrderList\r\n .dispatch('getAccessToken', {\r\n credentialsName: 'google-maps-api-key'\r\n })\r\n .then(({ result }) => {\r\n if (result) {\r\n this.accessToken = result.credentialValue\r\n }\r\n })\r\n },\r\n async populateLocationTypes() {\r\n await workOrderList.dispatch('loadLocationTypesManagement').then(({ list }) => {\r\n if (list) {\r\n this.locationTypeList = list\r\n this.locationType = '<-Select a Location Type->'\r\n }\r\n })\r\n },\r\n\r\n async reloadParentImages() {\r\n if (this.isDebug === true) console.debug('reloadParentImages...')\r\n await this.reload()\r\n },\r\n\r\n hideShowMap() {\r\n console.debug('in hideShowMap...')\r\n this.hideShowMapFlag = !this.hideShowMapFlag\r\n\r\n if (this.hideShowMapFlag == true) {\r\n this.hideShowMapText = 'Hide Map'\r\n } else {\r\n this.hideShowMapText = 'Show Map'\r\n }\r\n },\r\n\r\n async addPhotos() {\r\n this.photoModalLoading = true\r\n\r\n const id = _get(this, ['$route', 'params', 'id'], '')\r\n\r\n const { problems, message } = await StoreMultiplePhotos({\r\n photos: this.adderPhotos,\r\n params: {\r\n workOrderRequestID: id\r\n }\r\n })\r\n if (problems >= 1) {\r\n notifyProblem(message)\r\n }\r\n\r\n await this.reload()\r\n\r\n this.photoModalOpen = false\r\n this.photoModalLoading = false\r\n },\r\n\r\n async adderPhotosUpdated({ items }) {\r\n this.adderPhotos = items\r\n },\r\n\r\n async showPhotoModal() {\r\n this.photoModalLoading = false\r\n this.photoModalOpen = true\r\n },\r\n\r\n async erasePhoto({ details }) {\r\n this.loading = true\r\n\r\n const { message, successful } = await deleteWorkOrderRequestPhoto({\r\n id: details.id\r\n })\r\n if (!successful) {\r\n notifyProblem(message)\r\n return\r\n }\r\n\r\n for (let a = 0; a < this.photos.length; a++) {\r\n const id = _get(this, ['photos', a, 'id'], null)\r\n if (typeof id === 'number' && id === details.id) {\r\n this.photos.splice(a, 1)\r\n }\r\n }\r\n\r\n this.reload()\r\n\r\n this.loading = false\r\n },\r\n\r\n confirmErasePhoto(details) {\r\n this.$buefy.dialog.confirm({\r\n title: 'Removing Request Photo',\r\n message: `Are you sure you want to remove the work order request photo?`,\r\n confirmText: 'Remove Request Photo',\r\n type: 'is-danger',\r\n hasIcon: true,\r\n onConfirm: async () => await this.erasePhoto(details)\r\n })\r\n },\r\n\r\n confirmRejectRequest() {\r\n this.$refs.rejectModal.open()\r\n },\r\n\r\n async promoteToWorkOrder() {\r\n if (this.isDebug == true) console.debug('promoteToWorkOrder...')\r\n this.hidePromoteMap = true\r\n this.toggle = true\r\n },\r\n\r\n async retrievePhotos({ photos }) {\r\n if (!Array.isArray(photos)) {\r\n return\r\n }\r\n\r\n const { problems, photos: photosContent, message } = await GetMultiplePhotos({\r\n paramsList: photos.map(photo => {\r\n const workOrderRequestPhotoID = _get(photo, ['workOrderRequestPhotoID'], '')\r\n\r\n return {\r\n workOrderRequestPhotoID,\r\n asBase64: true\r\n }\r\n })\r\n })\r\n if (problems !== 0) {\r\n notifyProblem(message)\r\n return\r\n }\r\n\r\n this.photos = photosContent\r\n },\r\n\r\n returnToParent() {\r\n this.$router.push({\r\n name: 'workOrderRequests'\r\n })\r\n },\r\n\r\n async cancelRequest() {\r\n if (!this.formData.rejectionReason || this.formData.rejectionReason == undefined) {\r\n notifyError('The rejection reason is required when cancelling a work order request.')\r\n return\r\n }\r\n\r\n this.formData.status = 'cancelled'\r\n\r\n await this.onFormSubmit()\r\n },\r\n\r\n async onFormSubmit({ rejectionReason = '', status: _status = '' } = {}) {\r\n if (\r\n !this.formData.category ||\r\n this.formData.category == undefined ||\r\n !this.formData.detailedDescription ||\r\n this.formData.detailedDescription == undefined\r\n ) {\r\n notifyError('Please select a catgory and enter a description. Both are required fields.')\r\n return\r\n }\r\n\r\n if (!this.workOrderRequest || this.workOrderRequest == undefined) {\r\n notifyError('There was a problem processing your updates.')\r\n return\r\n }\r\n\r\n this.loading = true\r\n\r\n const detailedDescription = this.formData.detailedDescription\r\n const category = this.formData.category\r\n const locationType = this.formData.locationType\r\n const description = this.formData.description\r\n\r\n const latitudeTemp = $('#formLatitude')\r\n const longitudeTemp = $('#formLongitude')\r\n const latitude =\r\n latitudeTemp && latitudeTemp !== undefined && latitudeTemp.text() !== ''\r\n ? $('#formLatitude').text()\r\n : this.workOrderRequest.latitude\r\n const longitude =\r\n longitudeTemp && longitudeTemp !== undefined && longitudeTemp.text() !== ''\r\n ? $('#formLongitude').text()\r\n : this.workOrderRequest.longitude\r\n\r\n if (this.isDebug === true) console.debug(this.formData.latitude + ' formLatitude=' + latitude)\r\n if (this.isDebug === true)\r\n console.debug(this.formData.longitude + ' formLongitude=' + longitude)\r\n\r\n const submitterName = _get(this, ['workOrderRequest', 'submitterName'], null)\r\n const submitterType = _get(this, ['workOrderRequest', 'submitterType'], null)\r\n\r\n let status = this.formData.status\r\n if (this.formData.status !== 'cancelled') {\r\n status = _get(this, ['workOrderRequest', 'status'], null)\r\n }\r\n if (_status === 'rejected') {\r\n status = 'rejected'\r\n }\r\n\r\n const workOrderRequestID = _get(this, ['workOrderRequest', 'workOrderRequestID'], null)\r\n\r\n const { message, successful } = await editWorkOrderRequest({\r\n json: {\r\n workOrderRequestID,\r\n hoaID: this.workOrderRequest.hoaID,\r\n workOrderTypeID: category,\r\n sourceUnitID: this.workOrderRequest.sourceUnitID,\r\n detailedDescription: detailedDescription,\r\n description: description,\r\n status,\r\n rejectionReason,\r\n submitterName,\r\n submitterType,\r\n submitterAspNetUserID: 'temp',\r\n locationType,\r\n latitude,\r\n longitude\r\n }\r\n })\r\n\r\n this.category = category\r\n this.detailedDescription = detailedDescription\r\n\r\n this.editMode = false\r\n this.loading = false\r\n\r\n if (!successful) {\r\n notifyError('There was a problem updating this work order request.')\r\n console.debug(message)\r\n return\r\n } else {\r\n this.reload()\r\n notifyMessage('This work order request has been updated.')\r\n }\r\n },\r\n\r\n async getParams() {\r\n const hoaID = _get(this, ['$store', 'getters', 'user/hoaIDInteger'], null)\r\n const ownerID = _get(this, ['$store', 'state', 'user', 'authUser', 'ownerID'], null)\r\n\r\n let sourceUnitID = this.unitId\r\n\r\n if (ownerID) {\r\n const { owner, exception } = await getOwner({\r\n ownerID\r\n })\r\n if (exception) {\r\n console.debug(exception)\r\n return\r\n }\r\n\r\n sourceUnitID = _get(owner, ['unitID'], null)\r\n }\r\n\r\n return {\r\n hoaID,\r\n sourceUnitID\r\n }\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--12-0!../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=177e5857&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&lang=scss&\"\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":""}