{"version":3,"sources":["webpack:///./src/utilities/Date/parse.js","webpack:///./src/components/inputs/DatePicker/index.vue?acb0","webpack:///./src/utilities/validate/isNumeric.js","webpack:///./src/components/inputs/DatePicker/index.vue?f395","webpack:///./node_modules/vue-dragscroll/dist/vue-dragscroll.min.js","webpack:///./src/pages/Management/units/tabs/Insurance/Main.vue?a34b","webpack:///./src/services/Units/Tabs/Insurance/store.js","webpack:///./src/pages/Management/units/tabs/Insurance/components/OwnerInsuranceActions.vue?8ce2","webpack:///src/pages/Management/units/tabs/Insurance/components/OwnerInsuranceActions.vue","webpack:///./src/pages/Management/units/tabs/Insurance/components/OwnerInsuranceActions.vue?e4f0","webpack:///./src/pages/Management/units/tabs/Insurance/components/OwnerInsuranceActions.vue","webpack:///./src/pages/Management/units/tabs/Insurance/components/Download.vue?4500","webpack:///src/pages/Management/units/tabs/Insurance/components/Download.vue","webpack:///./src/pages/Management/units/tabs/Insurance/components/Download.vue?5267","webpack:///./src/pages/Management/units/tabs/Insurance/components/Download.vue","webpack:///./src/pages/Management/units/tabs/Insurance/components/InsuranceModal/index.vue?1844","webpack:///./src/pages/Management/units/tabs/Insurance/components/InsuranceModal/keys/data.js","webpack:///./src/services/Units/Tabs/Insurance/InsuranceModal/store.js","webpack:///./src/pages/Management/units/tabs/Insurance/components/InsuranceModal/keys/methods.js","webpack:///./src/pages/Management/units/tabs/Insurance/components/uploadModal/UploadModal.vue?bd1b","webpack:///./src/services/Units/Tabs/Insurance/UploadModal/store.js","webpack:///src/pages/Management/units/tabs/Insurance/components/uploadModal/UploadModal.vue","webpack:///./src/pages/Management/units/tabs/Insurance/components/uploadModal/UploadModal.vue?0e06","webpack:///./src/pages/Management/units/tabs/Insurance/components/uploadModal/UploadModal.vue","webpack:///src/pages/Management/units/tabs/Insurance/components/InsuranceModal/index.vue","webpack:///./src/pages/Management/units/tabs/Insurance/components/InsuranceModal/index.vue?1d84","webpack:///./src/pages/Management/units/tabs/Insurance/components/InsuranceModal/index.vue","webpack:///src/pages/Management/units/tabs/Insurance/Main.vue","webpack:///./src/pages/Management/units/tabs/Insurance/Main.vue?d6c1","webpack:///./src/pages/Management/units/tabs/Insurance/Main.vue","webpack:///./src/components/inputs/DatePicker/index.vue?1e03","webpack:///./src/components/inputs/DatePicker/keys/data.js","webpack:///./src/components/inputs/DatePicker/keys/methods.js","webpack:///src/components/inputs/DatePicker/index.vue","webpack:///./src/components/inputs/DatePicker/index.vue?4f0a","webpack:///./src/components/inputs/DatePicker/index.vue","webpack:///./src/services/blobutility.js","webpack:///./src/pages/Management/units/tabs/Insurance/components/uploadModal/UploadModal.vue?905d"],"names":["parseDate","date","format","console","debug","parsed","moment","isValid","exception","message","error","isNumeric","n","isNaN","parseFloat","isFinite","e","o","module","exports","window","t","r","i","l","call","m","c","d","Object","defineProperty","enumerable","get","Symbol","toStringTag","value","__esModule","create","bind","default","prototype","hasOwnProperty","p","s","length","addEventListener","passive","removeEventListener","componentInstance","$emit","CustomEvent","detail","document","createEvent","initCustomEvent","elm","dispatchEvent","iterator","constructor","u","a","f","target","querySelector","container","active","scrollBy","scrollLeft","scrollTop","v","md","MouseEvent","pageX","touches","pageY","elementFromPoint","pageXOffset","pageYOffset","arg","modifiers","noleft","noright","nomiddle","noback","noforward","w","h","y","firstChild","g","dataset","dragscroll","noDragscroll","which","clientX","clientY","mu","mm","preventDefault","clientWidth","scrollWidth","clientHeight","scrollHeight","pass","x","body","deltaX","deltaY","readyState","inserted","update","JSON","stringify","oldValue","unbind","install","Number","version","split","Error","concat","directive","Vue","VueDragscroll","use","render","_vm","this","_h","$createElement","_c","_self","attrs","$t","region","filters","rows","columns","perPage","loading","scopedSlots","_u","key","fn","style","display","justifyContent","alignItems","marginBottom","staticClass","float","on","$event","addInsurance","selectedInsurance","_v","model","callback","$$v","radio","expression","width","height","class","show","background","border","staticStyle","proxy","toggle","ownerID","staticRenderFns","isDebug","actions","getInsuranceList","hoaID","log","kms","params","result","list","results","notifyProblem","getUnitById","unitID","deleteInsurance","dispatch","ownerInsuranceID","done","path","delete","undefined","wasDeleted","_get","notifyMessage","notifyError","Vuex","insuranceList","Store","state","mutations","getters","isDisabled","loadUpdateInsurance","insurance","confirmOwnerInsuranceDelete","name","props","Function","String","Boolean","component","documentID","downloadPdf","_s","buttonText","_e","activeStep","ref","handleSubmit","submitInsurance","formData","$set","_l","option","domProps","label","newId","marginRight","errors","leaveForm","data","ownerInsuranceCoverageTypeID","coverageAmount","insuranceCompanyName","policyNumber","expirationDate","isOpen","isFetching","openOnFocus","showWeekNumber","ownerInsuranceCoverageTypeList","ownerDropDownList","styles","datePickerContainer","datePicker","margin","getOwnerInsuranceCoverageTypeList","dropDown","map","codename","filter","unshift","updateInsurance","payload","put","details","post","insuranceStore","methods","reload","getOwnerInsuranceCoverageTypeDropDown","$refs","expirationDateComponent","selected","Date","then","open","certificateDocumentID","$","click","marginTop","directives","rawName","scale","base64pdf","pageCount","Array","page","index","zoom","file","submitFile","removeFile","uploadDocument","FormData","append","uploadedFile","upload","uploaded","loadDocument","baseSixtyFour","asBase64","isBaseSixtyFour","returned","updatePayload","isArchived","uploadStore","components","pdf","formatDateFn","mounted","loadCurrentPdf","computed","watch","closeModal","direction","amt","Math","max","min","ValidInput","ValidSelect","ValidationObserver","ValidationProvider","DatePicker","UploadModal","ownerFilterSuggestions","ownerFilterQuery","PageContentLayoutOnly","ModernTable","Modal","InsuranceModal","field","aria","sortable","searchable","created","authUser","determineRows","isArray","formatter","Intl","NumberFormat","currency","minimumFractionDigits","owner","ownerName","coverageType","insuranceCompany","policy","expirationCreated","OwnerInsuranceActions","entry","insuranceId","title","confirmText","type","hasIcon","onConfirm","certificate","Download","unit","i18n","messages","en","focused","textAlign","ariaLabel","fieldType","errorMessage","fields","borderRadius","onFocus","onBlur","ariaPrefix","month","day","year","months","monthField","assign","dayField","yearField","testValidityDate","numericMonth","isValidDate","startEmpty","onUpdate","setValue2","dayOfMonth","setValue","dateString","today","toString","updateValue","getValue","utcFormat","dateStr","ds","dszero","getTime","getDate","getMonth","utcExtended","_year","parseInt","utc","advanced","combined","join","LL","allValid","dayString","extendedValid","menu","days","push","beforeMount","base64toBlob","b64Data","contentType","sliceSize","byteCharacters","atob","byteArrays","offset","slice","byteNumbers","charCodeAt","byteArray","Uint8Array","blob","Blob","showPdf","newBlob","navigator","msSaveOrOpenBlob","URL","createObjectURL","link","createElement","download","setAttribute","href","setTimeout","revokeObjectURL","showAnyType","mimeType"],"mappings":"kHAAA,2DAQaA,EAAY,SAACC,GAAwB,IAAlBC,EAAkB,uDAAT,KACvC,GAAoB,kBAATD,EAET,OADAE,QAAQC,MAAR,+CAA8D,CAAEH,SACzDA,EAGT,IACE,IAAMI,EAASC,IAAOL,GAClBI,EAAOE,YACTN,EAAOK,IAAOL,GAAMC,OAAOA,IAE7B,MAAOM,GACHA,GAAaA,EAAUC,QACzBN,QAAQO,MAAMF,EAAUC,SAExBN,QAAQO,MAAMF,GAIlB,OAAOP,I,oCC3BT,yBAA4kB,EAAG,G,sFCA/kB,kCAIO,IAAMU,EAAY,YAAgB,IAALC,EAAK,EAALA,EAClC,IACE,OAAQC,MAAMC,WAAWF,KAAOG,SAASH,GACzC,MAAOJ,GACP,OAAO,K,oCCRX,yBAAojB,EAAG,G,wBCAtjB,SAASQ,EAAEC,GAAqDC,EAAOC,QAAQF,IAA/E,CAA8MG,QAAO,WAAY,OAAO,SAASJ,GAAG,IAAIC,EAAE,GAAG,SAASI,EAAET,GAAG,GAAGK,EAAEL,GAAG,OAAOK,EAAEL,GAAGO,QAAQ,IAAIG,EAAEL,EAAEL,GAAG,CAACW,EAAEX,EAAEY,GAAE,EAAGL,QAAQ,IAAI,OAAOH,EAAEJ,GAAGa,KAAKH,EAAEH,QAAQG,EAAEA,EAAEH,QAAQE,GAAGC,EAAEE,GAAE,EAAGF,EAAEH,QAAQ,OAAOE,EAAEK,EAAEV,EAAEK,EAAEM,EAAEV,EAAEI,EAAEO,EAAE,SAASZ,EAAEC,EAAEL,GAAGS,EAAEJ,EAAED,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AUC,iBACvCvZ,OAAOsZ,UAAUC,iBAAiBF,OAC7B,CACL,IAAMlM,EAAOnN,OAAOwZ,IAAIC,gBAAgBJ,GACpCK,EAAO1X,SAAS2X,cAAc,KAClCD,EAAKE,SAAW,eAChBF,EAAKG,aAAa,WAAY,gBAC9BH,EAAKI,KAAO3M,EACZuM,EAAKhK,QAELqK,YAAW,WACT/Z,OAAOwZ,IAAIQ,gBAAgB7M,QAQpB8M,EAAc,SAACf,EAAMgB,GAChCnb,QAAQC,MAAM,kBACd,IAAIqa,EAAU,IAAIF,KAAK,CAACD,GAAO,CAAE3E,KAAM2F,IACvC,GAAIla,OAAOsZ,WAAatZ,OAAOsZ,UAAUC,iBACvCvZ,OAAOsZ,UAAUC,iBAAiBF,OAC7B,CACL,IAAMlM,EAAOnN,OAAOwZ,IAAIC,gBAAgBJ,GACpCK,EAAO1X,SAAS2X,cAAc,KAClCD,EAAKI,KAAO3M,EAEZnN,OAAOuP,KAAKpC,EAAM,UAElB4M,YAAW,WACT/Z,OAAOwZ,IAAIQ,gBAAgB7M,S,kCC/EjC,yBAA8oB,EAAG","file":"js/unit.insurance.c2df6bf8.js","sourcesContent":["/*\r\n Example:\r\n import { parseDate } from '@/utilities/Date/parse'\r\n\r\n const parsedDate = parseDate (date, 'LL');\r\n*/\r\nimport moment from 'moment'\r\n\r\nexport const parseDate = (date, format = 'LL') => {\r\n if (typeof date !== 'string') {\r\n console.debug(`parseDate can only parse a date string. got:`, { date })\r\n return date\r\n }\r\n\r\n try {\r\n const parsed = moment(date)\r\n if (parsed.isValid()) {\r\n date = moment(date).format(format)\r\n }\r\n } catch (exception) {\r\n if (exception && exception.message) {\r\n console.error(exception.message)\r\n } else {\r\n console.error(exception)\r\n }\r\n }\r\n\r\n return date\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=1&id=7e0642de&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=1&id=7e0642de&lang=scss&scoped=true&\"","/*\r\n import { isNumeric } from '@/utilities/validate/isNumeric';\r\n*/\r\n\r\nexport const isNumeric = function({ n }) {\r\n try {\r\n return !isNaN(parseFloat(n)) && isFinite(n)\r\n } catch (exception) {\r\n return false\r\n }\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&\"","!function(e,o){\"object\"==typeof exports&&\"object\"==typeof module?module.exports=o():\"function\"==typeof define&&define.amd?define([],o):\"object\"==typeof exports?exports.VueDragScroll=o():e.VueDragScroll=o()}(window,(function(){return function(e){var o={};function t(n){if(o[n])return o[n].exports;var r=o[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,t),r.l=!0,r.exports}return t.m=e,t.c=o,t.d=function(e,o,n){t.o(e,o)||Object.defineProperty(e,o,{enumerable:!0,get:n})},t.r=function(e){\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(e,\"__esModule\",{value:!0})},t.t=function(e,o){if(1&o&&(e=t(e)),8&o)return e;if(4&o&&\"object\"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,\"default\",{enumerable:!0,value:e}),2&o&&\"string\"!=typeof e)for(var r in e)t.d(n,r,function(o){return e[o]}.bind(null,r));return n},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,\"a\",o),o},t.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},t.p=\"/dist/\",t(t.s=0)}([function(e,o,t){\"use strict\";t.r(o),t.d(o,\"dragscroll\",(function(){return d}));var n=function(e,o,t){for(var n=0,r=o.length;n=s.scrollWidth||0===s.scrollLeft,p=s.scrollTop+s.clientHeight>=s.scrollHeight||0===s.scrollTop;u=-e+(e=a?n.clientX:n.touches[0].clientX),c=-r+(r=a?n.clientY:n.touches[0].clientY),o.modifiers.pass?(s.scrollLeft-=o.modifiers.y?-0:u,s.scrollTop-=o.modifiers.x?-0:c,s===document.body&&(s.scrollLeft-=o.modifiers.y?-0:u,s.scrollTop-=o.modifiers.x?-0:c),(v||o.modifiers.y)&&m(-u,0),(p||o.modifiers.x)&&m(0,-c)):(o.modifiers.x&&(c=-0),o.modifiers.y&&(u=-0),s.scrollLeft-=u,s.scrollTop-=c,s===document.body&&(s.scrollLeft-=u,s.scrollTop-=c)),f.deltaX=-u,f.deltaY=-c,i(t,\"dragscrollmove\",f)}},n(s,u,s.md),n(window,a,s.mu),n(window,c,s.mm)};d?\"complete\"===document.readyState?v():window.addEventListener(\"load\",v):(r(s,u,s.md),r(window,a,s.mu),r(window,c,s.mm))},d={inserted:function(e,o,t){s(e,o,t)},update:function(e,o,t,n){JSON.stringify(o.value)!==JSON.stringify(o.oldValue)&&s(e,o,t)},unbind:function(e,o,t){var n=e;r(n,u,n.md),r(window,a,n.mu),r(window,c,n.mm)}},f={install:function(e,o){var t=Number(e.version.split(\".\")[0]),n=Number(e.version.split(\".\")[1]);if(t<2&&n<1)throw new Error(\"v-dragscroll supports vue version 2.1 and above. You are using Vue@\".concat(e.version,\". Please upgrade to the latest version of Vue.\"));e.directive(\"dragscroll\",d)}};\"undefined\"!=typeof window&&window.Vue&&(window.VueDragscroll=f,window.Vue.use(f));o.default=f}])}));\n//# sourceMappingURL=vue-dragscroll.min.js.map","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('PageContentLayoutOnly',{attrs:{\"aria-label\":_vm.$t('insurance.title'),\"role\":\"region\"}},[_c('ModernTable',{attrs:{\"region\":_vm.region,\"filters\":_vm.filters,\"rows\":_vm.rows,\"columns\":_vm.columns,\"pagination\":{\n perPage: 12\n },\"loading\":_vm.loading,\"headerColor\":\"#FFF\",\"condensed\":\"\"},scopedSlots:_vm._u([{key:\"header\",fn:function(){return [_c('div',{style:({\n display: 'flex',\n justifyContent: 'space-between',\n alignItems: 'center',\n marginBottom: '10px'\n })},[_c('div',[_c('button',{staticClass:\"button is-primary is-rounded\",style:({ float: 'left' }),on:{\"click\":function($event){$event.preventDefault();return _vm.addInsurance(_vm.selectedInsurance)}}},[_vm._v(\" Add Insurance \")])]),_c('div',{staticClass:\"level-right\"},[_c('b-radio',{attrs:{\"name\":\"gridFilter\",\"native-value\":\"active\"},model:{value:(_vm.radio),callback:function ($$v) {_vm.radio=$$v},expression:\"radio\"}},[_vm._v(\" Active \")]),_c('b-radio',{attrs:{\"name\":\"gridFilter\",\"native-value\":\"archived\"},model:{value:(_vm.radio),callback:function ($$v) {_vm.radio=$$v},expression:\"radio\"}},[_vm._v(\" Archived \")])],1)]),_c('div',{style:({ width: '100%', height: '60px' })},[_c('b-button',{class:'filter-button ' + (_vm.filters.show ? 'active' : ''),style:({ float: 'right', background: 'none', border: 0 }),attrs:{\"type\":\"is-ghost\"},on:{\"click\":function($event){_vm.filters.show = !_vm.filters.show}}},[_c('b-icon',{staticStyle:{\"display\":\"inline-block\"},attrs:{\"pack\":\"mdi\",\"icon\":\"filter-outline\",\"size\":\"is-small\"}}),_c('div',{staticStyle:{\"display\":\"inline-block\"}},[_vm._v(\"Filter\")])],1)],1)]},proxy:true}])}),_c('Modal',{attrs:{\"toggle\":_vm.toggle},on:{\"update:toggle\":function($event){_vm.toggle=$event}}},[_c('InsuranceModal',{attrs:{\"insurance\":_vm.selectedInsurance,\"ownerID\":_vm.ownerID}})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/*\r\n import { insuranceList } from '@/services/Units/Tabs/Insurance/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 /*\r\n const { list } = await insuranceList.dispatch ('getInsuranceList', {\r\n hoaId\r\n });\r\n */\r\n async getInsuranceList({}, { hoaID, ownerID }) {\r\n console.log('in getInsuranceList...')\r\n try {\r\n const result = await kms.get('/OwnerInsurance/OwnerInsurance/List', {\r\n params: {\r\n hoaID,\r\n ownerID\r\n }\r\n })\r\n\r\n if (isDebug == true) console.debug('getInsuranceList log=' + JSON.stringify(result))\r\n\r\n return {\r\n list: result.results\r\n }\r\n } catch (exception) {\r\n notifyProblem(`The insurance 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 getUnitById({}, { unitID }) {\r\n try {\r\n console.debug('in getUnitById...')\r\n const result = await kms.get(`/Roster/Unit/${unitID}`)\r\n\r\n if (isDebug == true) console.debug('getUnitById=' + JSON.stringify(result))\r\n\r\n return {\r\n result: result\r\n }\r\n } catch (exception) {\r\n notifyProblem(`There was a problem retrieving this unit.`)\r\n console.error(exception)\r\n }\r\n\r\n return {\r\n result: {}\r\n }\r\n },\r\n\r\n async deleteInsurance({ dispatch }, { ownerInsuranceID, done }) {\r\n try {\r\n const path = `/OwnerInsurance/OwnerInsurance/${ownerInsuranceID}?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 selected insurance.`)\r\n done()\r\n } else {\r\n notifyError('There was a problem deleting the selected insurance.')\r\n }\r\n } catch (exception) {\r\n notifyProblem(`There was a problem deleting the selected insurance.`)\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 insuranceList = new Vuex.Store({\r\n state: {},\r\n mutations: {},\r\n getters: {},\r\n actions\r\n})\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('button',{staticClass:\"button is-info is-light is-small is-outline is-rounded\",attrs:{\"hidden\":_vm.isDisabled},on:{\"click\":function($event){return _vm.loadUpdateInsurance(_vm.insurance)}}},[_vm._v(\" Edit\")]),_c('span',{staticClass:\"pr-1\"},[_vm._v(\" \")]),_c('button',{staticClass:\"button is-info is-light is-small is-outline is-rounded\",attrs:{\"hidden\":_vm.isDisabled},on:{\"click\":function($event){return _vm.confirmOwnerInsuranceDelete(_vm.name, _vm.ownerInsuranceID)}}},[_vm._v(\" Delete \")])])}\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!./OwnerInsuranceActions.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!./OwnerInsuranceActions.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./OwnerInsuranceActions.vue?vue&type=template&id=9c50e676&\"\nimport script from \"./OwnerInsuranceActions.vue?vue&type=script&lang=js&\"\nexport * from \"./OwnerInsuranceActions.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('div',[(\n (typeof _vm.ownerInsuranceID === 'string' || typeof _vm.ownerInsuranceID === 'number') &&\n _vm.documentID > 0\n )?_c('span',{staticStyle:{\"margin-left\":\"-20px\"}},[_c('button',{staticClass:\"button is-info is-light is-small is-outline is-rounded\",on:{\"click\":function($event){$event.preventDefault();return _vm.downloadPdf(_vm.ownerInsuranceID)}}},[_vm._v(\" Pdf \")])]):_c('span',[_vm._v(\"   \")])])}\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!./Download.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!./Download.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Download.vue?vue&type=template&id=7c5dac52&\"\nimport script from \"./Download.vue?vue&type=script&lang=js&\"\nexport * from \"./Download.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('div',{attrs:{\"insurance-modal\":\"\"}},[(_vm.formData)?_c('div',{staticClass:\"is-size-4\"},[_vm._v(_vm._s(_vm.buttonText)+\" Owner Insurance\")]):_vm._e(),_c('b-steps',{attrs:{\"has-navigation\":false,\"label-position\":\"right\",\"size\":\"is-small\"},model:{value:(_vm.activeStep),callback:function ($$v) {_vm.activeStep=$$v},expression:\"activeStep\"}},[_c('b-step-item',{attrs:{\"label\":\"Add Insurance\",\"icon\":\"account-key\",\"add-insurance-step\":\"\"}},[_c('ValidationObserver',{ref:\"formGroup\",scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar handleSubmit = ref.handleSubmit;\nreturn [_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\",\"appear\":\"\"}},[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return handleSubmit(_vm.submitInsurance)}}},[_c('fieldset',[_c('div',{staticClass:\"form-grid\"},[_c('div',{staticClass:\"column is-12\"},[_c('div',{staticClass:\"column is-12\"},[_c('valid-select',{attrs:{\"label\":\"Coverage Type\",\"placeholder\":\"Coverage Type\",\"vid\":\"ownerInsuranceCoverageTypeID\",\"aria-required\":\"The coverage type is required\",\"rules\":\"required\"},model:{value:(_vm.formData.ownerInsuranceCoverageTypeID),callback:function ($$v) {_vm.$set(_vm.formData, \"ownerInsuranceCoverageTypeID\", $$v)},expression:\"formData.ownerInsuranceCoverageTypeID\"}},_vm._l((_vm.ownerInsuranceCoverageTypeList),function(option){return _c('option',{key:option.value,domProps:{\"value\":option.value}},[_vm._v(_vm._s(option.label))])}),0)],1),_c('div',{staticClass:\"column is-12\"},[_c('valid-input',{attrs:{\"label\":\"Coverage Amount\",\"name\":\"coverageAmount\",\"type\":\"decimal\",\"vid\":\"coverageAmount\",\"placeholder\":\"Coverage Amount\",\"rules\":\"max:10\"},model:{value:(_vm.formData.coverageAmount),callback:function ($$v) {_vm.$set(_vm.formData, \"coverageAmount\", $$v)},expression:\"formData.coverageAmount\"}})],1),_c('div',{staticClass:\"column is-12\"},[_c('valid-input',{attrs:{\"label\":\"Insurance Company Name\",\"name\":\"insuranceCompanyName\",\"type\":\"text\",\"vid\":\"insuranceCompanyName\",\"placeholder\":\"Insurance Company Name\",\"rules\":\"required|max:100\"},model:{value:(_vm.formData.insuranceCompanyName),callback:function ($$v) {_vm.$set(_vm.formData, \"insuranceCompanyName\", $$v)},expression:\"formData.insuranceCompanyName\"}})],1),_c('div',{staticClass:\"column is-12\"},[_c('valid-input',{attrs:{\"label\":\"Policy Number\",\"name\":\"policyNumber\",\"type\":\"text\",\"vid\":\"policyNumber\",\"placeholder\":\"Policy Number\",\"rules\":\"required|max:30\"},model:{value:(_vm.formData.policyNumber),callback:function ($$v) {_vm.$set(_vm.formData, \"policyNumber\", $$v)},expression:\"formData.policyNumber\"}})],1),_c('div',{staticClass:\"column is-12\"},[_c('DatePicker',{ref:\"expirationDateComponent\",attrs:{\"ariaLabel\":\"Expiration Date\",\"label\":\"Expiration Date\"},model:{value:(_vm.formData.expirationDate),callback:function ($$v) {_vm.$set(_vm.formData, \"expirationDate\", $$v)},expression:\"formData.expirationDate\"}})],1),_c('div',{staticClass:\"pt-5\"},[(typeof _vm.newId === 'number' && _vm.newId >= 1 && _vm.buttonText == 'Add')?_c('button',{staticClass:\"button is-primary is-rounded\",style:({ float: 'right', marginRight: '18px' }),attrs:{\"type\":\"button\"},on:{\"click\":function($event){_vm.activeStep = 1}}},[_vm._v(\" Next \")]):_vm._e(),(!_vm.newId || _vm.buttonText == 'Next')?_c('button',{staticClass:\"button is-primary is-rounded float-right\",attrs:{\"type\":\"submit\",\"disabled\":_vm.loading}},[_vm._v(\" \"+_vm._s(_vm.buttonText)+\" \")]):_vm._e()])])])]),_c('fieldset',[_c('ValidationProvider',{attrs:{\"vid\":\"providerErrors\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nreturn [_c('div',{staticClass:\"field\"},[_c('span',[_vm._v(_vm._s(errors[0]))])])]}}],null,true)})],1)])])]}}])})],1),_c('b-step-item',{ref:\"uploadpdf\",attrs:{\"clickable\":_vm.newId ? true : false,\"label\":\"Upload Document\",\"icon\":\"account-key\"}},[(_vm.newId)?_c('div',{ref:\"tab2\",staticClass:\"box is-12\"},[_c('section',{staticClass:\"h-full overflow-auto mt-4 sm:p-8 w-full h-full flex flex-col\",attrs:{\"id\":\"request-doc-upload\"}},[_c('UploadModal',{attrs:{\"ownerInsuranceID\":_vm.newId}})],1),_c('b-button',{style:({ float: 'right' }),attrs:{\"type\":\"is-primary\"},on:{\"click\":function($event){return _vm.leaveForm()}}},[_vm._v(\"Finish\")])],1):_vm._e()])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export function data() {\r\n return {\r\n formData: {\r\n ownerID: 0,\r\n ownerInsuranceID: 0,\r\n ownerInsuranceCoverageTypeID: 0,\r\n coverageAmount: 0,\r\n insuranceCompanyName: '',\r\n policyNumber: '',\r\n expirationDate: null\r\n },\r\n activeStep: 0,\r\n isDebug: true,\r\n newId: null,\r\n isOpen: false,\r\n loading: true,\r\n isFetching: false,\r\n openOnFocus: true,\r\n showWeekNumber: false,\r\n ownerInsuranceCoverageTypeList: [],\r\n ownerDropDownList: [],\r\n buttonText: 'Add',\r\n styles: {\r\n datePickerContainer: { display: 'flex', alignItems: 'end' },\r\n datePicker: { margin: 0, marginRight: '12px' }\r\n }\r\n }\r\n}\r\n","/*\r\n import { insuranceStore } from '@/services/Units/Tabs/Insurance/InsuranceModal/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, 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 getOwnerInsuranceCoverageTypeList({}) {\r\n console.log('in getOwnerInsuranceCoverageTypeList...')\r\n try {\r\n const result = await kms.get('/OwnerInsuranceCoverageType/OwnerInsuranceCoverageType/List')\r\n\r\n const dropDown = result.results\r\n .map(a => ({\r\n value: _get(a, ['ownerInsuranceCoverageTypeID'], 0),\r\n\r\n label: _get(a, ['name'], ''),\r\n codename: _get(a, ['codeHandle'], '')\r\n }))\r\n .filter(f => f.label.length > 0 && f.value > 0)\r\n\r\n dropDown.unshift({\r\n value: '',\r\n label: '<-Select Coverage Type->',\r\n codename: ''\r\n })\r\n\r\n if (isDebug == true)\r\n console.debug('getOwnerInsuranceCoverageTypeList log=' + JSON.stringify(result))\r\n\r\n return {\r\n list: dropDown\r\n }\r\n } catch (exception) {\r\n notifyProblem(`The owner insurance coverage type 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 // Update Insurance\r\n async updateInsurance({ dispatch }, { payload = {}, done }) {\r\n try {\r\n const results = await kms.put(`/OwnerInsurance/OwnerInsurance`, 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.ownerInsuranceID > 0) {\r\n notifyMessage(`Successfully updated the selected insurance.`)\r\n done({ details: results })\r\n } else {\r\n notifyError('There was a problem updating the selected insurance.')\r\n }\r\n } catch (exception) {\r\n notifyProblem(`There was a problem processing the update for this insurance.`)\r\n console.error(exception)\r\n }\r\n },\r\n\r\n async addInsurance(\r\n { dispatch },\r\n {\r\n ownerID,\r\n ownerInsuranceCoverageTypeID,\r\n coverageAmount,\r\n insuranceCompanyName,\r\n policyNumber,\r\n expirationDate,\r\n done\r\n }\r\n ) {\r\n if (isDebug == true) console.debug('...in addInsurance')\r\n try {\r\n const results = await kms.post(`/OwnerInsurance/OwnerInsurance`, {\r\n ownerID,\r\n ownerInsuranceCoverageTypeID,\r\n coverageAmount,\r\n insuranceCompanyName,\r\n policyNumber,\r\n expirationDate\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.ownerInsuranceID > 0) {\r\n notifyMessage(`Successfully added the insurance.`)\r\n done({ details: results })\r\n } else {\r\n notifyError('There was a problem adding this insurance.')\r\n }\r\n } catch (exception) {\r\n notifyProblem(`There was a problem adding this insurance.`)\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 insuranceStore = new Vuex.Store({\r\n state: {},\r\n mutations: {},\r\n getters: {},\r\n actions\r\n})\r\n","import { insuranceStore } from '@/services/Units/Tabs/Insurance/InsuranceModal/store'\r\nimport $ from 'jquery'\r\nimport { notifyError } from '@/services/notify'\r\nimport _get from 'lodash/get'\r\nimport { isNumeric } from '@/utilities/validate/isNumeric'\r\nimport moment from 'moment'\r\n\r\nexport const methods = {\r\n async reload() {\r\n this.loading = true\r\n\r\n this.getOwnerInsuranceCoverageTypeDropDown()\r\n\r\n if (this.insurance && this.insurance != undefined) {\r\n //Update\r\n this.buttonText = 'Next'\r\n\r\n this.formData.ownerID = this.insurance.ownerID\r\n this.formData.ownerInsuranceID = this.insurance.ownerInsuranceID\r\n this.formData.ownerInsuranceCoverageTypeID = this.insurance.ownerInsuranceCoverageTypeID\r\n this.formData.coverageAmount = this.insurance.coverageAmount\r\n this.formData.insuranceCompanyName = this.insurance.insuranceCompanyName\r\n this.formData.policyNumber = this.insurance.policyNumber\r\n this.formData.expirationDate = null\r\n this.formData.expirationDate = this.insurance.expirationDate\r\n\r\n var expirationDate = this.insurance.expirationDate\r\n if (expirationDate) {\r\n this.$refs.expirationDateComponent.selected = new Date(this.insurance.expirationDate)\r\n }\r\n\r\n this.loading = false\r\n } else {\r\n this.buttonText = 'Add'\r\n }\r\n\r\n this.loading = false\r\n },\r\n\r\n async getOwnerInsuranceCoverageTypeDropDown() {\r\n await insuranceStore.dispatch('getOwnerInsuranceCoverageTypeList').then(({ list }) => {\r\n if (list) {\r\n this.ownerInsuranceCoverageTypeList = list\r\n if (this.isDebug == true)\r\n console.debug(\r\n 'this.ownerInsuranceCoverageTypeList=' +\r\n JSON.stringify(this.ownerInsuranceCoverageTypeList)\r\n )\r\n }\r\n })\r\n },\r\n\r\n open() {\r\n this.formData = {\r\n ownerID: 0,\r\n ownerInsuranceID: 0,\r\n ownerInsuranceCoverageTypeID: 0,\r\n coverageAmount: 0,\r\n insuranceCompanyName: '',\r\n policyNumber: '',\r\n expirationDate: null\r\n }\r\n this.isOpen = true\r\n this.loading = false\r\n },\r\n\r\n async submitInsurance() {\r\n if (this.formData && !this.formData.expirationDate) {\r\n notifyError('Please select an expiration date. The expiration date is a required field.')\r\n return\r\n }\r\n\r\n if (this.formData && this.formData != undefined) {\r\n if (this.formData.ownerInsuranceID && this.formData.ownerInsuranceID > 0) {\r\n await this.updateInsurance()\r\n } else {\r\n await this.addInsurance()\r\n }\r\n }\r\n },\r\n\r\n async addInsurance() {\r\n if (!this.formData || this.formData == undefined) {\r\n notifyError('There was a problem processing this insurance.')\r\n return\r\n }\r\n\r\n if (isNumeric({ n: this.formData.coverageAmount }) == false) {\r\n notifyError('Please enter only numbers for the coverage amount.')\r\n return\r\n }\r\n\r\n if (this.formData.coverageAmount) this.loading = true\r\n\r\n if (this.isDebug == true) console.debug('addInsurance params=' + JSON.stringify(this.formData))\r\n\r\n await insuranceStore.dispatch('addInsurance', {\r\n ownerID: this.ownerID,\r\n ownerInsuranceCoverageTypeID: _get(this.formData, 'ownerInsuranceCoverageTypeID', 0),\r\n certificateDocumentID: null,\r\n coverageAmount: _get(this.formData, 'coverageAmount', 0),\r\n insuranceCompanyName: _get(this.formData, 'insuranceCompanyName', ''),\r\n policyNumber: _get(this.formData, 'policyNumber', ''),\r\n expirationDate: this.formData.expirationDate\r\n ? moment(this.formData.expirationDate).format('YYYY-MM-DD')\r\n : null,\r\n done: ({ details }) => {\r\n if (details && details != undefined) {\r\n this.newId = details.ownerInsuranceID\r\n if (this.isDebug == true)\r\n console.debug('details newId=' + JSON.stringify(details) + ', newId=' + this.newId)\r\n this.activeStep = 1\r\n }\r\n this.loading = false\r\n }\r\n })\r\n },\r\n\r\n async updateInsurance() {\r\n if (\r\n !this.formData ||\r\n this.formData == undefined ||\r\n !this.formData.ownerInsuranceID ||\r\n this.formData.ownerInsuranceID == undefined\r\n ) {\r\n notifyError('There was a problem updating the selected insurance.')\r\n return\r\n }\r\n\r\n if (isNumeric({ n: this.formData.coverageAmount }) == false) {\r\n notifyError('Please enter only numbers for the coverage amount.')\r\n return\r\n }\r\n\r\n this.loading = true\r\n\r\n const payload = {\r\n ownerInsuranceID: this.insurance.ownerInsuranceID,\r\n ownerID: this.ownerID,\r\n ownerInsuranceCoverageTypeID: _get(this.formData, 'ownerInsuranceCoverageTypeID', 0),\r\n certificateDocumentID: null,\r\n coverageAmount: _get(this.formData, 'coverageAmount', 0),\r\n insuranceCompanyName: _get(this.formData, 'insuranceCompanyName', ''),\r\n policyNumber: _get(this.formData, 'policyNumber', ''),\r\n expirationDate: this.formData.expirationDate\r\n ? moment(this.formData.expirationDate).format('YYYY-MM-DD')\r\n : null\r\n }\r\n\r\n await insuranceStore.dispatch('updateInsurance', {\r\n payload: payload,\r\n done: ({ details }) => {\r\n //if the expiration date changed, then update the id.\r\n if (details) {\r\n this.newId = details.ownerInsuranceID\r\n this.insurance.ownerInsuranceID = details.ownerInsuranceID\r\n this.activeStep = 1\r\n }\r\n this.loading = false\r\n }\r\n })\r\n\r\n this.loading = false\r\n },\r\n\r\n leaveForm() {\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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"section\",attrs:{\"insurance-upload-modal\":\"\"}},[_c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"is-size-4\"},[_vm._v(\"Upload Document (optional)\")]),_c('div',{staticClass:\"box is-8\",style:({ marginTop: '20px' })},[(_vm.base64pdf)?_c('div',{staticClass:\"has-text-centered\"},[_c('div',{directives:[{name:\"dragscroll\",rawName:\"v-dragscroll\",value:(true),expression:\"true\"}],class:['doc-viewer', { 'zoom-active': _vm.scale > 0.9 }]},[_c('pdf',{staticStyle:{\"display\":\"none\"},attrs:{\"src\":_vm.base64pdf},on:{\"num-pages\":function($event){_vm.pageCount = new Array($event)}}}),_vm._l((_vm.pageCount),function(page,index){return _c('pdf',{key:index,style:({ margin: 'auto', width: ((100 * _vm.scale) + \"%\") }),attrs:{\"src\":_vm.base64pdf,\"page\":index + 1,\"scale\":_vm.scale,\"resize\":true}})})],2),_c('div',{staticClass:\"doc-controls has-text-center\"},[_c('b-field',{attrs:{\"position\":\"is-centered\"}},[_c('div',{staticClass:\"control\"},[_c('b-button',{on:{\"click\":function($event){return _vm.zoom(-1)}}},[_vm._v(\"-\")])],1),_c('div',{staticClass:\"control\"},[_c('b-button',{on:{\"click\":function($event){return _vm.zoom(1)}}},[_vm._v(\"+\")])],1)])],1)]):_vm._e(),_c('div',[_c('b-field',{staticClass:\"file\"},[_c('b-upload',{attrs:{\"drag-drop\":\"\",\"accept\":\"application/pdf\"},model:{value:(_vm.file),callback:function ($$v) {_vm.file=$$v},expression:\"file\"}},[_c('section',{staticClass:\"section has-width-500\"},[_c('div',{staticClass:\"content has-text-centered\"},[_c('p',[_c('b-icon',{attrs:{\"icon\":\"file-pdf\",\"size\":\"is-large\"}})],1),(_vm.file)?_c('p',[_vm._v(\" \"+_vm._s(_vm.file.name)+\" \")]):_c('p',[_vm._v(\" Drop a PDF file here, or click to select a file from your computer. \")])])])])],1),_c('span',[_c('b-button',{attrs:{\"type\":\"is-link is-light\",\"disabled\":!_vm.file},on:{\"click\":_vm.submitFile}},[_vm._v(\"Upload\")])],1),_c('span',{staticClass:\"pl-5\"},[(_vm.base64pdf)?_c('b-button',{attrs:{\"type\":\"is-link is-light\"},on:{\"click\":_vm.removeFile}},[_vm._v(\"Remove\")]):_vm._e()],1)],1)])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/*\r\n import { uploadStore } from '@/services/Units/Tabs/Insurance/UploadModal/store'\r\n*/\r\n\r\nimport Vue from 'vue'\r\nimport Vuex from 'vuex'\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 uploadDocument({}, { payload = {} }) {\r\n console.debug('in uploadDocument...' + JSON.stringify(payload))\r\n const formData = new FormData()\r\n formData.append('file', payload.file)\r\n\r\n // create container if not exists\r\n try {\r\n const path = `/OwnerInsurance/OwnerInsurance/StoreFile?ownerInsuranceID=${payload.ownerInsuranceID}`\r\n const uploadedFile = 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('uploadDocument with payload=' + JSON.stringify(uploadedFile))\r\n\r\n return {\r\n upload: uploadedFile\r\n }\r\n } catch (exception) {\r\n notifyProblem(`There was a problem uploading the file.`)\r\n console.error(exception)\r\n }\r\n\r\n return {\r\n uploaded: null\r\n }\r\n },\r\n\r\n async loadDocument({}, { payload = {} }) {\r\n try {\r\n const insurance = await kms.get(`/OwnerInsurance/OwnerInsurance/${payload.ownerInsuranceID}`)\r\n if (insurance) {\r\n if (!insurance.certificateDocumentID) {\r\n return {\r\n baseSixtyFour: null\r\n }\r\n }\r\n }\r\n\r\n const path = `/OwnerInsurance/OwnerInsurance/GetFile`\r\n const returned = await kms.get(path, {\r\n params: {\r\n ownerInsuranceID: payload.ownerInsuranceID,\r\n asBase64: payload.isBaseSixtyFour\r\n }\r\n })\r\n\r\n if (isDebug == true) console.debug('returned=' + JSON.stringify(returned))\r\n\r\n return {\r\n baseSixtyFour: returned\r\n }\r\n } catch (exception) {\r\n //notifyProblem(`There was a problem loading the file.`)\r\n console.error(exception)\r\n }\r\n\r\n return {\r\n baseSixtyFour: null\r\n }\r\n },\r\n\r\n // remove file id via an update\r\n async removeFile({ dispatch }, { payload = {}, done }) {\r\n try {\r\n const insurance = await kms.get(`/OwnerInsurance/OwnerInsurance/${payload.ownerInsuranceID}`)\r\n if (insurance) {\r\n const updatePayload = {\r\n ownerInsuranceID: insurance.ownerInsuranceID,\r\n ownerID: insurance.ownerID,\r\n ownerInsuranceCoverageTypeID: insurance.ownerInsuranceCoverageTypeID,\r\n certificateDocumentID: null,\r\n coverageAmount: insurance.coverageAmount,\r\n insuranceCompanyName: insurance.insuranceCompanyName,\r\n policyNumber: insurance.policyNumber,\r\n isArchived: insurance.isArchived,\r\n expirationDate: insurance.expirationDate\r\n }\r\n\r\n const results = await kms.put(`/OwnerInsurance/OwnerInsurance`, updatePayload)\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.ownerInsuranceID > 0) {\r\n notifyMessage(`Successfully removed the attached document.`)\r\n done()\r\n } else {\r\n notifyError('There was a problem removing the attached document.')\r\n }\r\n }\r\n } catch (exception) {\r\n notifyProblem(`There was a problem removing the attached document.`)\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 uploadStore = new Vuex.Store({\r\n state: {},\r\n mutations: {},\r\n getters: {},\r\n actions\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!./UploadModal.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!./UploadModal.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./UploadModal.vue?vue&type=template&id=a8cb9a48&\"\nimport script from \"./UploadModal.vue?vue&type=script&lang=js&\"\nexport * from \"./UploadModal.vue?vue&type=script&lang=js&\"\nimport style0 from \"./UploadModal.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","\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=0e1df664&\"\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\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!./Main.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!./Main.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Main.vue?vue&type=template&id=76c91c66&\"\nimport script from \"./Main.vue?vue&type=script&lang=js&\"\nexport * from \"./Main.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('b-field',{class:'date-picker--field' + (_vm.focused ? ' focused' : ''),style:({ display: 'inline-table', textAlign: 'left' }),attrs:{\"tabindex\":\"0\",\"aria-label\":_vm.ariaLabel,\"label\":_vm.label,\"type\":_vm.fieldType,\"message\":_vm.errorMessage}},[(_vm.fields.menu)?_c('b-datepicker',{scopedSlots:_vm._u([{key:\"trigger\",fn:function(){return [_c('b-button',{style:({\n border: 0,\n borderRadius: '6px'\n }),attrs:{\"icon-left\":\"calendar-today\",\"type\":\"is-ghost\",\"aria-hidden\":\"true\",\"aria-label\":\"visual presentation button\"},on:{\"focus\":_vm.onFocus,\"blur\":_vm.onBlur}})]},proxy:true}],null,false,3056716859),model:{value:(_vm.selected),callback:function ($$v) {_vm.selected=$$v},expression:\"selected\"}}):_vm._e(),(_vm.fields.month)?_c('b-field',{style:(_vm.styles.monthField)},[_c('b-select',{ref:\"month\",staticClass:\"date-picker--select\",attrs:{\"month\":\"\",\"placeholder\":\"Month\",\"aria-label\":_vm.ariaPrefix + ' month'},on:{\"focus\":_vm.onFocus,\"blur\":_vm.onBlur},model:{value:(_vm.month),callback:function ($$v) {_vm.month=$$v},expression:\"month\"}},_vm._l((_vm.months),function(month){return _c('option',{key:month,domProps:{\"value\":month}},[_vm._v(\" \"+_vm._s(month)+\" \")])}),0)],1):_vm._e(),(_vm.fields.dayOfMonth)?_c('b-field',{style:(_vm.styles.dayField)},[_c('b-input',{ref:\"day\",staticClass:\"date-picker--input day\",attrs:{\"day\":\"\",\"placeholder\":\"Day\",\"maxlength\":\"2\",\"aria-label\":_vm.ariaPrefix + ' day',\"has-counter\":false},on:{\"focus\":_vm.onFocus,\"blur\":_vm.onBlur},model:{value:(_vm.day),callback:function ($$v) {_vm.day=$$v},expression:\"day\"}})],1):_vm._e(),(_vm.fields.year)?_c('b-field',{style:(_vm.styles.yearField)},[_c('b-input',{ref:\"year\",staticClass:\"date-picker--input year\",attrs:{\"year\":\"\",\"placeholder\":\"Year\",\"aria-label\":_vm.ariaPrefix + ' year'},on:{\"focus\":_vm.onFocus,\"blur\":_vm.onBlur},model:{value:(_vm.year),callback:function ($$v) {_vm.year=$$v},expression:\"year\"}})],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export function data() {\r\n var field = {\r\n width: '70px',\r\n display: 'inline-block',\r\n textAlign: 'left'\r\n }\r\n\r\n return {\r\n focused: false,\r\n selected: new Date(),\r\n day: '',\r\n month: null,\r\n year: '',\r\n months: [\r\n '',\r\n 'January',\r\n 'February',\r\n 'March',\r\n 'April',\r\n 'May',\r\n 'June',\r\n 'July',\r\n 'August',\r\n 'September',\r\n 'October',\r\n 'November',\r\n 'December'\r\n ],\r\n styles: {\r\n monthField: Object.assign({}, field, {\r\n width: '127px'\r\n }),\r\n dayField: Object.assign({}, field, {\r\n width: '60px'\r\n }),\r\n yearField: field\r\n }\r\n }\r\n}\r\n","import moment from 'moment'\r\nimport { notifyError } from '@/services/notify'\r\n\r\n/*\r\n\t\r\n*/\r\nexport const methods = {\r\n onFocus: function() {\r\n this.focused = true\r\n },\r\n onBlur: function() {\r\n this.focused = false\r\n\r\n const testValidityDate = `${this.year}-${this.numericMonth}-${this.day}T05:00:00Z`\r\n\r\n if (!this.isValidDate(testValidityDate) && !this.startEmpty) {\r\n notifyError(\r\n `The date, ${this.month}-${this.day}-${this.year}, is an invalid date. Please select, or enter, a valid date.`\r\n )\r\n return\r\n }\r\n\r\n this.onUpdate({\r\n day: this.day,\r\n month: this.month,\r\n numericMonth: this.numericMonth,\r\n year: this.year\r\n })\r\n },\r\n setValue2: function({ dayOfMonth, month, year }) {\r\n this.day = dayOfMonth\r\n this.month = month\r\n // this.numericMonth = numericMonth\r\n this.year = year\r\n },\r\n setValue: function(dateString) {\r\n try {\r\n if (typeof dateString !== 'string' || dateString.length === 0) {\r\n this.day = null\r\n this.month = null\r\n this.numericMonth = null\r\n this.year = null\r\n console.debug('dateString needs to be a string of length >= 1', { dateString })\r\n\r\n if (this.startEmpty === false) {\r\n const today = moment()\r\n this.day = today.date().toString()\r\n this.month = today.format('MMMM')\r\n this.numericMonth = today.format('MM')\r\n this.year = today.year().toString()\r\n\r\n //2022-07-08T04:00:00Z\r\n dateString = `${this.year}-${today.format('MM')}-${today.format('DD')}T12:00:00Z`\r\n }\r\n }\r\n\r\n console.debug('dateString = ' + dateString)\r\n\r\n const m = moment(dateString, true)\r\n\r\n if (!m.isValid()) {\r\n console.debug(`The date string value provided \"${dateString}\" was not parseable.`)\r\n return\r\n }\r\n\r\n const year = m.year().toString()\r\n const month = m.format('MMMM')\r\n const numericMonth = m.format('MM')\r\n const date = m.date().toString()\r\n\r\n if (typeof year === 'string' && typeof month === 'string' && typeof date === 'string') {\r\n this.day = date\r\n this.month = month\r\n this.numericMonth = numericMonth\r\n this.year = year\r\n }\r\n } catch (exception) {\r\n console.debug(exception)\r\n }\r\n },\r\n updateValue: function() {\r\n const { utcFormat } = this.getValue()\r\n if (typeof utcFormat === 'string') {\r\n this.$emit('input', utcFormat)\r\n }\r\n },\r\n\r\n isValidDate(dateStr) {\r\n try {\r\n //2023-01-05T05:00:00Z\r\n var ds = dateStr.split('T')\r\n var dszero = ds[0]\r\n var s = dszero.split('-')\r\n\r\n console.debug('year s0=' + s[0])\r\n console.debug('month s1=' + s[1])\r\n console.debug('day s2=' + s[2])\r\n\r\n var d = new Date(+s[0], s[1] - 1, +s[2])\r\n if (Object.prototype.toString.call(d) === '[object Date]') {\r\n if (!isNaN(d.getTime()) && d.getDate() == s[2] && d.getMonth() == s[1] - 1) {\r\n return true\r\n }\r\n }\r\n return false\r\n } catch (x) {\r\n return false\r\n }\r\n },\r\n\r\n getValue: function() {\r\n const day = this.day\r\n const month = this.month\r\n const numericMonth = this.numericMonth\r\n let year = this.year\r\n\r\n let utcExtended = ''\r\n try {\r\n let _year = parseInt(year)\r\n\r\n if (typeof _year === 'number' && _year >= 1) {\r\n if (year.length === 1) {\r\n year = '000' + year\r\n } else if (year.length === 2) {\r\n year = '00' + year\r\n } else if (year.length === 3) {\r\n year = '0' + year\r\n } else if (year.length >= 5) {\r\n const date = moment(`${month} ${day}, 2000`, 'LL', true)\r\n const utcFormat = date.utc().format()\r\n\r\n const advanced = utcFormat.split('-')\r\n advanced[0] = year\r\n\r\n const combined = advanced.join('-')\r\n utcExtended = combined\r\n }\r\n }\r\n } catch (x) {\r\n console.error(x)\r\n }\r\n\r\n const LL = `${month} ${day}, ${year}`\r\n const date = moment(LL, 'LL', true)\r\n const allValid = date.isValid()\r\n\r\n let utcFormat = null\r\n if (allValid) {\r\n utcFormat = date.utc().format()\r\n utcExtended = utcFormat\r\n }\r\n\r\n let dayString = ''\r\n\r\n try {\r\n if (day !== null) {\r\n dayString = day.toString()\r\n if (dayString.length === 1) {\r\n dayString = '0' + dayString\r\n }\r\n }\r\n } catch (x) {\r\n console.error(x)\r\n }\r\n\r\n let extendedValid = false\r\n if (utcExtended.length >= '10') {\r\n extendedValid = true\r\n }\r\n\r\n return {\r\n utcExtended,\r\n utcFormat,\r\n allValid,\r\n extendedValid,\r\n day,\r\n dayString,\r\n month,\r\n numericMonth,\r\n year\r\n }\r\n }\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=7e0642de&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&lang=scss&\"\nimport style1 from \"./index.vue?vue&type=style&index=1&id=7e0642de&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 \"7e0642de\",\n null\n \n)\n\nexport default component.exports","/*\r\n import { base64toBlob, showPdf } from '@/services/blobutility'\r\n*/\r\n\r\nexport const base64toBlob = (b64Data, contentType) => {\r\n const sliceSize = 512\r\n const byteCharacters = atob(b64Data)\r\n const byteArrays = []\r\n\r\n for (let offset = 0; offset < byteCharacters.length; offset += sliceSize) {\r\n const slice = byteCharacters.slice(offset, offset + sliceSize)\r\n\r\n const byteNumbers = new Array(slice.length)\r\n for (let i = 0; i < slice.length; i++) {\r\n byteNumbers[i] = slice.charCodeAt(i)\r\n }\r\n\r\n const byteArray = new Uint8Array(byteNumbers)\r\n byteArrays.push(byteArray)\r\n }\r\n\r\n const blob = new Blob(byteArrays, { type: contentType })\r\n return blob\r\n}\r\n\r\nexport const showPdf = blob => {\r\n var newBlob = new Blob([blob], { type: 'application/pdf' })\r\n\r\n if (window.navigator && window.navigator.msSaveOrOpenBlob) {\r\n window.navigator.msSaveOrOpenBlob(newBlob)\r\n } else {\r\n const data = window.URL.createObjectURL(newBlob)\r\n\r\n var link = document.createElement('a')\r\n link.download = 'download.pdf'\r\n link.setAttribute('download', 'download.pdf')\r\n link.href = data\r\n\r\n window.open(link, '_blank')\r\n }\r\n\r\n return\r\n}\r\n\r\nexport const downloadPdf = blob => {\r\n var newBlob = new Blob([blob], { type: 'application/pdf' })\r\n\r\n if (window.navigator && window.navigator.msSaveOrOpenBlob) {\r\n window.navigator.msSaveOrOpenBlob(newBlob)\r\n } else {\r\n const data = window.URL.createObjectURL(newBlob)\r\n var link = document.createElement('a')\r\n link.download = 'download.pdf'\r\n link.setAttribute('download', 'download.pdf')\r\n link.href = data\r\n link.click()\r\n\r\n setTimeout(function() {\r\n window.URL.revokeObjectURL(data)\r\n 100\r\n })\r\n }\r\n\r\n return\r\n}\r\n\r\nexport const showAnyType = (blob, mimeType) => {\r\n console.debug('showAnyType...')\r\n var newBlob = new Blob([blob], { type: mimeType })\r\n if (window.navigator && window.navigator.msSaveOrOpenBlob) {\r\n window.navigator.msSaveOrOpenBlob(newBlob)\r\n } else {\r\n const data = window.URL.createObjectURL(newBlob)\r\n var link = document.createElement('a')\r\n link.href = data\r\n\r\n window.open(data, '_blank')\r\n\r\n setTimeout(function() {\r\n window.URL.revokeObjectURL(data)\r\n 100\r\n })\r\n }\r\n\r\n return\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!./UploadModal.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!./UploadModal.vue?vue&type=style&index=0&lang=scss&\""],"sourceRoot":""}